PageSourceSearch

https://app.talkin.com.br/assets/pdfExport-BG_4E50i.js

js talkin.com.br collected 2026-10-02 00:47:12 UTC 644,920 bytes, 219 lines download raw bytes

vendor: 4,266 bytes, lines 1-6
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-KuxyM94N.js","assets/vendor-B6RxQbDu.js","assets/defineProperty-UKRwzc7s.js","assets/typeof-GOBLPwXK.js"])))=>i.map(i=>d[i]);
2var y0=Object.defineProperty;var F0=(t,A,e)=>A in t?y0(t,A,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[A]=e;var Ut=(t,A,e)=>F0(t,typeof A!="symbol"?A+"":A,e);import{bt as Gc}from"./index-A4v5tJex.js";import{t as St}from"./typeof-GOBLPwXK.js";import{_ as uu}from"./slicedToArray-BBqY7g9t.js";import"./vendor-B6RxQbDu.js";/*!
3* html2canvas-pro 2.4.0 <https://yorickshan.github.io/html2canvas-pro/>
4* Copyright (c) 2024-present yorickshan and html2canvas-pro contributors
5* Released under MIT License
6*/var Hd=class Hl{constructor(A={}){const e=A.window||(typeof window<"u"?window:void 0);if(!e)throw new Error("Window object is required but not available");this.window=e,this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(A,e={}){const r=A.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const n=r.defaultView;if(!n)throw new Error("Document is not attached to a window");return new Hl({window:n,...e})}clone(A={}){return new Hl({window:A.window||this.window,cspNonce:A.cspNonce??this.cspNonce,cache:A.cache??this.cache})}},_d=class{constructor(t={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...t}}validateUrl(t,A="general"){if(!t||typeof t!="string")return{valid:!1,error:"URL must be a non-empty string"};if(t.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:t}:{valid:!1,error:"Data URLs are not allowed"};if(t.startsWith("blob:"))return{valid:!0,sanitized:t};try{const e=new URL(t);if(!["http:","https:"].includes(e.protocol))return{valid:!1,error:`Protocol ${e.protocol} is not allowed. Only http and https are permitted.`};if(A==="proxy"&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const r=e.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(n=>{const i=n.toLowerCase();return r===i||r.endsWith("."+i)}))return{valid:!1,error:`Proxy domain ${e.hostname} is not in the allowed list`}}if(A==="proxy"){if(!this.config.allowLocalhostProxy){const r=e.hostname.toLowerCase();if(r==="localhost"||r==="127.0.0.1"||r==="::1")return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(r))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(r.startsWith("169.254.")||r.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:t,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:t}}catch(e){return{valid:!1,error:`Invalid URL format: ${e instanceof Error?e.message:"Unknown error"}`}}}isPrivateIP(t){return[/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(A=>A.test(t))?!0:t.includes(":")?this.isPrivateIPv6(t):!1}isPrivateIPv6(t){const A=t.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(A)||A==="::1"||/^(0:){7}0$/.test(A)||A==="::")return!0;const e=this.expandIPv6(A);if(!e)return this.isPrivateIPv6Prefix(A);const r=parseInt(e.substring(0,2),16);if(r>=252&&r<=253)return!0;if(r===254){const n=parseInt(e.substring(2,4),16);if(n>=128&&n<=191)return!0}return r===255}expandIPv6(t){try{if(t.includes("::")){const A=t.split("::");if(A.length>2)return null;const e=A[0]?A[0].split(":"):[],r=A[1]?A[1].split(":"):[],n=8-e.length-r.length;if(n<0)return null;const i=Array(n).fill("0000");return[...e,...i,...r].map(s=>s.padStart(4,"0")).join(":")}else{const A=t.split(":");return A.length!==8?null:A.map(e=>e.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(t){return!!(/^fc[0-9a-f]{0,2}:?/i.test(t)||/^fd[0-9a-f]{0,2}:?/i.test(t)||/^fe[89ab][0-9a-f]:?/i.test(t)||/^ff[0-9a-f]{0,2}:?/i.test(t))}validateCspNonce(t){return!t||typeof t!="string"?{valid:!1,error:"CSP nonce must be a non-empty string"}:t.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(t)?{valid:!0,sanitized:t}
6:{valid:!1,error:"CSP nonce contains invalid characters"}}validateImageTimeout(t){return typeof t!="number"||isNaN(t)?{valid:!1,error:"Image timeout must be a number"}:t<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&t>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${t}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:t}}validateDimensions(t,A){if(typeof t!="number"||typeof A!="number")return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(t)||isNaN(A))return{valid:!1,error:"Dimensions cannot be NaN"};if(t<=0||A<=0)return{valid:!1,error:"Dimensions must be positive"};const e=32767;return t>e||A>e?{valid:!1,error:`Dimensions exceed maximum allowed (${e}px)`}:{valid:!0,sanitized:{width:t,height:A}}}validateScale(t){return typeof t!="number"||isNaN(t)?{valid:!1,error:"Scale must be a number"}:t<=0?{valid:!1,error:"Scale must be positive"}:t>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:t}}validateElement(t){if(!t)return{valid:!1,error:"Element is required"};if(typeof t!="object")return{valid:!1,error:"Element must be an object"};const A=t;return typeof HTMLElement<"u"&&t instanceof HTMLElement?t.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}}validateOptions(t){const A=[],e=t.proxy;if(e!=null&&typeof e=="string"&&e.length>0){const r=this.validateUrl(e,"proxy");r.valid||A.push(`Proxy: ${r.error}`)}if(t.imageTimeout!==void 0){const r=this.validateImageTimeout(t.imageTimeout);r.valid||A.push(`Image timeout: ${r.error}`)}if(t.width!==void 0||t.height!==void 0){const r=t.width??800,n=t.height??600,i=this.validateDimensions(r,n);i.valid||A.push(`Dimensions: ${i.error}`)}if(t.scale!==void 0){const r=this.validateScale(t.scale);r.valid||A.push(`Scale: ${r.error}`)}if(t.cspNonce!==void 0){const r=this.validateCspNonce(t.cspNonce);r.valid||A.push(`CSP nonce: ${r.error}`)}if(this.config.customValidator){const r=this.config.customValidator(t,"options");r.valid||A.push(`Custom validation: ${r.error}`)}return A.length>0?{valid:!1,error:A.join("; ")}:{valid:!0}}};function Dd(t={}){return new _d({allowDataUrls:!0,maxImageTimeout:3e5,...t})}var kd=class{constructor(t,A=!0){this.context=t,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=A,this.getTime=typeof performance<"u"&&typeof performance.now=="function"?()=>performance.now():()=>Date.now()}start(t,A){var e;this.enabled&&(this.activeMetrics.has(t)&&((e=this.context)==null||e.logger.warn(`Performance metric '${t}' already started. Overwriting.`)),this.activeMetrics.set(t,{name:t,startTime:this.getTime(),metadata:A}))}end(t){var e,r;if(!this.enabled)return;const A=this.activeMetrics.get(t);if(!A){(e=this.context)==null||e.logger.warn(`Performance metric '${t}' not found. Was start() called?`);return}return A.endTime=this.getTime(),A.duration=A.endTime-A.startTime,this.completedMetrics.push(A),this.activeMetrics.delete(t),(r=this.context)==null||r.logger.debug(`⏱️  ${t}: ${A.duration.toFixed(2)}ms`,A.metadata),A}measure(t,A,e){this.start(t,e);try{const r=A();return this.end(t),r}catch(r){throw this.end(t),r}}async measureAsync(t,A,e){this.start(t,e);try{const r=await A();return this.end(t),r}catch(r){throw this.end(t),r}}getMetrics(){return[...this.completedMetrics]}getMetric(t){return this.completedMetrics.find(A=>A.name===t)}getSummary(){const t=this.completedMetrics.reduce((e,r)=>e+(r.duration||0),0),A=this.completedMetrics.map(e=>({name:e.name,duration:e.duration||0,percentage:t>0?((e.duration||0)/t*100).toFixed(1)+"%":"0%"}));return{totalDuration:t,metrics:this.getMetrics(),breakdown:A}}logSummary(){if(!this.enabled||this.completedMetrics.length===0||!this.context)return;const t=this.getSummary();this.context.logger.info(`
7📊 Performance Summary (Total: ${t.totalDuration.toFixed(2)}ms):`),t.breakdown.sort((A,e)=>
vendor: 4,157 bytes, line 7
7e.duration-A.duration).forEach(A=>{this.context.logger.info(`  ${A.name.padEnd(20)} ${A.duration.toFixed(2).padStart(8)}ms  ${A.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},Ur,gr=(Ur=class{constructor(A,e,r,n){this.left=A,this.top=e,this.width=r,this.height=n}add(A,e,r,n){return new Ur(this.left+A,this.top+e,this.width+r,this.height+n)}static fromClientRect(A,e){return new Ur(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)}static fromDOMRectList(A,e){const r=Array.from(e);let n=r.find(i=>i.width!==0);return n||(n=r.find(i=>i.height!==0)),!n&&r.length>0&&(n=r[0]),n?new Ur(n.left+A.windowBounds.left,n.top+A.windowBounds.top,n.width,n.height):Ur.EMPTY}},Ur.EMPTY=new Ur(0,0,0,0),Ur);const ao=(t,A)=>gr.fromClientRect(t,A.getBoundingClientRect()),Q0=t=>{const A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");return new gr(0,0,Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight)))};var Xa=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},ee=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},fu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v0=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $o=0;$o<fu.length;$o++)v0[fu.charCodeAt($o)]=$o;var du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Aa=0;Aa<du.length;Aa++)Zs[du.charCodeAt(Aa)]=Aa;var U0=function(t){var A=t.length*.75,e=t.length,r,n=0,i,s,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var h=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),u=Array.isArray(h)?h:new Uint8Array(h);for(r=0;r<e;r+=4)i=Zs[t.charCodeAt(r)],s=Zs[t.charCodeAt(r+1)],a=Zs[t.charCodeAt(r+2)],c=Zs[t.charCodeAt(r+3)],u[n++]=i<<2|s>>4,u[n++]=(s&15)<<4|a>>2,u[n++]=(a&3)<<6|c&63;return h},E0=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},L0=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},gi=5,Ch=11,jc=2,x0=Ch-gi,Md=65536>>gi,qc=(1<<gi)-1,I0=Md+(1024>>gi)+32,S0=65536>>Ch,N0=(1<<x0)-1,gu=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},H0=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},_0=function(t,A){var e=U0(t),r=Array.isArray(e)?L0(e):new Uint32Array(e),n=Array.isArray(e)?E0(e):new Uint16Array(e),i=24,s=gu(n,i/2,r[4]/2),a=r[5]===2?gu(n,(i+r[4])/2):H0(r,Math.ceil((i+r[4])/4));return new D0(r[0],r[1],r[2],r[3],s,a)},D0=function(){function t(A,e,r,n,i,s){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>gi],e=(e<<jc)+(A&qc),this.data[e];if(A<=65535)return e=this.index[Md+(A-55296>>gi)],e=(e<<jc)+(A&qc),this.data[e];if(A<this.highStart)return e=I0-S0+(A>>Ch),e=this.index[e],e+=A>>gi&N0,e=this.index[e],e=(e<<jc)+(A&qc),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k0=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ta=0;ta<Bu.length;ta++)k0[Bu.charCodeAt(ta)]=ta;var M0="
vendor: 5,502 bytes, line 7
7KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCI
vendor: 47,388 bytes, line 7
7IIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,546 bytes, line 7
7pu=50,T0=1,Td=2,Od=3,O0=4,P0=5,wu=7,Pd=8,mu=9,Mn=10,_l=11,Cu=12,Dl=13,R0=14,$s=15,kl=16,ea=17,Gs=18,K0=19,bu=20,Ml=21,js=22,Wc=23,Yi=24,tr=25,Ao=26,to=27,Zi=28,V0=29,li=30,G0=31,ra=32,na=33,Tl=34,Ol=35,Pl=36,co=37,Rl=38,La=39,xa=40,Xc=41,Rd=42,j0=43,q0=[9001,65288],Kd="!",dt="×",ia="÷",Kl=_0(M0),un=[li,Pl],Vl=[T0,Td,Od,P0],Vd=[Mn,Pd],yu=[to,Ao],W0=Vl.concat(Vd),Fu=[Rl,La,xa,Tl,Ol],X0=[$s,Dl],z0=function(t,A){A===void 0&&(A="strict");var e=[],r=[],n=[];return t.forEach(function(i,s){var a=Kl.get(i);if(a>pu?(n.push(!0),a-=pu):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),e.push(kl);if(a===O0||a===_l){if(s===0)return r.push(s),e.push(li);var c=e[s-1];return W0.indexOf(c)===-1?(r.push(r[s-1]),e.push(c)):(r.push(s),e.push(li))}if(r.push(s),a===G0)return e.push(A==="strict"?Ml:co);if(a===Rd||a===V0)return e.push(li);if(a===j0)return i>=131072&&i<=196605||i>=196608&&i<=262141?e.push(co):e.push(li);e.push(a)}),[r,e,n]},zc=function(t,A,e,r){var n=r[e];if(Array.isArray(t)?t.indexOf(n)!==-1:t===n)for(var i=e;i<=r.length;){i++;var s=r[i];if(s===A)return!0;if(s!==Mn)break}if(n===Mn)for(var i=e;i>0;){i--;var a=r[i];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var c=e;c<=r.length;){c++;var s=r[c];if(s===A)return!0;if(s!==Mn)break}if(a!==Mn)break}return!1},Qu=function(t,A){for(var e=t;e>=0;){var r=A[e];if(r===Mn)e--;else return r}return 0},J0=function(t,A,e,r,n){if(e[r]===0)return dt;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return dt;var s=i-1,a=i+1,c=A[i],h=s>=0?A[s]:0,u=A[a];if(c===Td&&u===Od)return dt;if(Vl.indexOf(c)!==-1)return Kd;if(Vl.indexOf(u)!==-1||Vd.indexOf(u)!==-1)return dt;if(Qu(i,A)===Pd)return ia;if(Kl.get(t[i])===_l||(c===ra||c===na)&&Kl.get(t[a])===_l||c===wu||u===wu||c===mu||[Mn,Dl,$s].indexOf(c)===-1&&u===mu||[ea,Gs,K0,Yi,Zi].indexOf(u)!==-1||Qu(i,A)===js||zc(Wc,js,i,A)||zc([ea,Gs],Ml,i,A)||zc(Cu,Cu,i,A))return dt;if(c===Mn)return ia;if(c===Wc||u===Wc)return dt;if(u===kl||c===kl)return ia;if([Dl,$s,Ml].indexOf(u)!==-1||c===R0||h===Pl&&X0.indexOf(c)!==-1||c===Zi&&u===Pl||u===bu||un.indexOf(u)!==-1&&c===tr||un.indexOf(c)!==-1&&u===tr||c===to&&[co,ra,na].indexOf(u)!==-1||[co,ra,na].indexOf(c)!==-1&&u===Ao||un.indexOf(c)!==-1&&yu.indexOf(u)!==-1||yu.indexOf(c)!==-1&&un.indexOf(u)!==-1||[to,Ao].indexOf(c)!==-1&&(u===tr||[js,$s].indexOf(u)!==-1&&A[a+1]===tr)||[js,$s].indexOf(c)!==-1&&u===tr||c===tr&&[tr,Zi,Yi].indexOf(u)!==-1)return dt;if([tr,Zi,Yi,ea,Gs].indexOf(u)!==-1)for(var p=i;p>=0;){var w=A[p];if(w===tr)return dt;if([Zi,Yi].indexOf(w)!==-1)p--;else break}if([to,Ao].indexOf(u)!==-1)for(var p=[ea,Gs].indexOf(c)!==-1?s:i;p>=0;){var w=A[p];if(w===tr)return dt;if([Zi,Yi].indexOf(w)!==-1)p--;else break}if(Rl===c&&[Rl,La,Tl,Ol].indexOf(u)!==-1||[La,Tl].indexOf(c)!==-1&&[La,xa].indexOf(u)!==-1||[xa,Ol].indexOf(c)!==-1&&u===xa||Fu.indexOf(c)!==-1&&[bu,Ao].indexOf(u)!==-1||Fu.indexOf(u)!==-1&&c===to||un.indexOf(c)!==-1&&un.indexOf(u)!==-1||c===Yi&&un.indexOf(u)!==-1||un.concat(tr).indexOf(c)!==-1&&u===js&&q0.indexOf(t[a])===-1||un.concat(tr).indexOf(u)!==-1&&c===Gs)return dt;if(c===Xc&&u===Xc){for(var d=e[i],v=1;d>0&&(d--,A[d]===Xc);)v++;if(v%2!==0)return dt}return c===ra&&u===na?dt:ia},Y0=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=z0(t,A.lineBreak),r=e[0],n=e[1],i=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(a){return[tr,li,Rd].indexOf(a)!==-1?co:a}));var s=A.wordBreak==="keep-all"?i.map(function(a,c){return a&&t[c]>=19968&&t[c]<=40959}):void 0;return[r,n,s]}
vendor: 4,554 bytes, line 7
7,Z0=function(){function t(A,e,r,n){this.codePoints=A,this.required=e===Kd,this.start=r,this.end=n}return t.prototype.slice=function(){return ee.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),$0=function(t,A){var e=Xa(t),r=Y0(e,A),n=r[0],i=r[1],s=r[2],a=e.length,c=0,h=0;return{next:function(){if(h>=a)return{done:!0,value:null};for(var u=dt;h<a&&(u=J0(e,i,n,++h,s))===dt;);if(u!==dt||h===a){var p=new Z0(e,u,c,h);return c=h,{value:p,done:!1}}return{done:!0,value:null}}}};const vu=65533,De=t=>t>=48&&t<=57,AB=t=>t>=55296&&t<=57343,$i=t=>De(t)||t>=65&&t<=70||t>=97&&t<=102,tB=t=>t>=97&&t<=122,eB=t=>t>=65&&t<=90,rB=t=>tB(t)||eB(t),nB=t=>t>=128,sa=t=>t===10||t===9||t===32,Ma=t=>rB(t)||nB(t)||t===95,Uu=t=>Ma(t)||De(t)||t===45,iB=t=>t>=0&&t<=8||t===11||t>=14&&t<=31||t===127,Dn=(t,A)=>t!==92?!1:A!==10,oa=(t,A,e)=>t===45?Ma(A)||Dn(A,e):Ma(t)?!0:!!(t===92&&Dn(t,A)),Jc=(t,A,e)=>t===43||t===45?De(A)?!0:A===46&&De(e):De(t===46?A:t),sB=t=>{let A=0,e=1;(t[A]===43||t[A]===45)&&(t[A]===45&&(e=-1),A++);const r=[];for(;De(t[A]);)r.push(t[A++]);const n=r.length?parseInt(ee(...r),10):0;t[A]===46&&A++;const i=[];for(;De(t[A]);)i.push(t[A++]);const s=i.length,a=s?parseInt(ee(...i),10):0;(t[A]===69||t[A]===101)&&A++;let c=1;(t[A]===43||t[A]===45)&&(t[A]===45&&(c=-1),A++);const h=[];for(;De(t[A]);)h.push(t[A++]);const u=h.length?parseInt(ee(...h),10):0;return e*(n+a*Math.pow(10,-s))*Math.pow(10,c*u)},oB={type:2},aB={type:3},cB={type:4},lB={type:13},hB={type:8},uB={type:21},fB={type:9},dB={type:10},gB={type:11},BB={type:12},pB={type:14},aa={type:23},wB={type:1},mB={type:25},CB={type:24},bB={type:26},yB={type:27},FB={type:28},QB={type:29},vB={type:31},Gl={type:32};var hr,jl=(hr=class{static get(){return hr._pool.pop()||new hr}static release(A){hr._pool.length<hr.MAX_POOL_SIZE&&(A._reset(),hr._pool.push(A))}constructor(){this._value=[]}_reset(){this._value=[]}write(A){this._value=this._value.concat(Xa(A))}read(){const A=[];let e=this.consumeToken();for(;e!==Gl;)A.push(e),e=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:{const e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Uu(e)||Dn(r,n)){const i=oa(e,r,n)?2:1;return{type:5,value:this.consumeName(),flags:i}}break}case 36:if(this.peekCodePoint(0)===61)return this.consumeCodePoint(),lB;break;case 39:return this.consumeStringToken(39);case 40:return oB;case 41:return aB;case 42:if(this.peekCodePoint(0)===61)return this.consumeCodePoint(),pB;break;case 43:if(Jc(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return cB;case 45:{const e=A,r=this.peekCodePoint(0),n=this.peekCodePoint(1);if(Jc(e,r,n))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(oa(e,r,n))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(r===45&&n===62)return this.consumeCodePoint(),this.consumeCodePoint(),CB;break}case 46:if(Jc(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(this.peekCodePoint(0)===42)for(this.consumeCodePoint();;){let e=this.consumeCodePoint();if(e===42&&(e=this.consumeCodePoint(),e===47))return this.consumeToken();if(e===-1)return this.consumeToken()}break;case 58:return bB;case 59:return yB;case 60:if(this.peekCodePoint(0)===33&&this.peekCodePoint(1)===45&&this.peekCodePoint(2)===45)return this.consumeCodePoint(),this.consumeCodePoint(),mB;break;case 64:if(oa(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2)))return{type:7,value:this.consumeName()};break;case 91:return FB;case 92:if(Dn(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return QB;case 61:if(this.peekCodePoint(0)===61)return this.consumeCodePoint(),hB;break;case 123:return gB;case 125:return BB;case 117:case 85:{const e=this.peekCodePoint(0),r=this.peekCodePoint(1);return e===43&&($i(r)||r===63)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken()}case 124:if(this.peekCodePoint(0)===61)return this.consumeCodePoint(),fB;if(this.peekCodePoint(0)===124)return this.consumeCodePoint(),uB;break;case 126:if(this.peekCodePoint(0)===61)return this.consumeCodePoint(),dB;break;case-1:return Gl}return sa(A)?(this.consumeWhiteSpace(),vB):De(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ma(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:ee(A)}}
7consumeCodePoint(){const A=this._value.shift();return typeof A>"u"?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let e=this.consumeCodePoint();for(;$i(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();let r=!1;for(;e===63&&A.length<6;)A.push(e),e=this.consumeCodePoint(),r=!0;if(r)return{type:30,start:parseInt(ee(...A.map(i=>i===63?48:i)),16),end:parseInt(ee(...A.map(i=>i===63?70:i)),16)};const n=parseInt(ee(...A),16);if(this.peekCodePoint(0)===45&&$i(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();const i=[];for(;$i(e)&&i.length<6;)i.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(ee(...i),16)}}else return{type:30,start:n,end:n}}consumeIdentLikeToken(){const A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===40?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===40?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===-1)return{type:22,value:""};const e=this.peekCodePoint(0);if(e===39||e===34){const r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===-1||this.peekCodePoint(0)===41)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),aa)}for(;;){const r=this.consumeCodePoint();if(r===-1||r===41)return{type:22,value:ee(...A)};if(sa(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===-1||this.peekCodePoint(0)===41?(this.consumeCodePoint(),{type:22,value:ee(...A)}):(this.consumeBadUrlRemnants(),aa);if(r===34||r===39||r===40||iB(r))return this.consumeBadUrlRemnants(),aa;if(r===92)if(Dn(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),aa;else A.push(r)}}consumeWhiteSpace(){for(;sa(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(A===41||A===-1)return;Dn(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let r="";for(;A>0;){const n=Math.min(5e4,A);r+=ee(...this._value.splice(0,n)),A-=n}return this._value.shift(),r}consumeStringToken(A){let e="",r=0;do{const n=this._value[r];if(n===-1||n===void 0||n===A)return e+=this.consumeStringSlice(r),{type:0,value:e};if(n===10)return this._value.splice(0,r),wB;if(n===92){const i=this._value[r+1];i!==-1&&i!==void 0&&(i===10?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):Dn(n,i)&&(e+=this.consumeStringSlice(r),e+=ee(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)}consumeNumber(){const A=[];let e=4,r=this.peekCodePoint(0);for((r===43||r===45)&&A.push(this.consumeCodePoint());De(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);let n=this.peekCodePoint(1);if(r===46&&De(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;De(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);const i=this.peekCodePoint(2);if((r===69||r===101)&&((n===43||n===45)&&De(i)||De(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;De(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[sB(A),e]}consumeNumericToken(){const[A,e]=this.consumeNumber(),r=this.peekCodePoint(0);return oa(r,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:A,flags:e,unit:this.consumeName()}:r===37?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if($i(A)){let e=ee(A);for(;$i(this.peekCodePoint(0))&&e.length<6;)e+=ee(this.consumeCodePoint());sa(this.peekCodePoint(0))&&this.consumeCodePoint();const r=parseInt(e,16);return r===0||AB(r)||r>1114111?vu:r}return A===-1?vu:A}consumeName(){let A="";for(;;){const e=this.consumeCodePoint();if(Uu(e))A+=ee(e);else if(Dn(e,this.peekCodePoint(0)))A+=ee(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}}},hr._pool=[],hr.MAX_POOL_SIZE=40,hr),Gd=class Ia{constructor(A){this._tokens=A}static create(A){const e=new jl;return e.write(A),new Ia(e.read())}static parseValue(A){return Ia.create(A).parseComponentValue()}static parseValues(A){return Ia.create(A).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const e=this.consumeComponentValue();if(e.type===32)return A;A.push(e)}}
7consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const e={type:A,values:[]};let r=this.consumeToken();for(;;){if(r.type===32||EB(r,A))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}}consumeFunction(A){const e={name:A.value,values:[],type:18};for(;;){const r=this.consumeToken();if(r.type===32||r.type===3)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return typeof A>"u"?Gl:A}reconsumeToken(A){this._tokens.unshift(A)}};const Xr=t=>t.type===15,ge=t=>t.type===17,$A=t=>t.type===20,UB=t=>t.type===0,lo=(t,A)=>$A(t)&&t.value===A,Bo=t=>t.type!==31,Be=t=>t.type!==31&&t.type!==4,Ir=t=>{const A=[];let e=[];return t.forEach(r=>{if(r.type===4){e.length&&(A.push(e),e=[]);return}r.type!==31&&e.push(r)}),e.length&&A.push(e),A},EB=(t,A)=>A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3,LB=/(\d+(?:\.\d+)?|[+\-*/()])/g,jd=t=>{const A=t.match(LB);if(!A)return NaN;const e=[],r=[],n={"+":1,"-":1,"*":2,"/":2};for(const s of A)if(/^\d+(?:\.\d+)?$/.test(s))e.push(parseFloat(s));else if(s==="(")r.push(s);else if(s===")"){for(;r.length&&r[r.length-1]!=="(";)e.push(r.pop());if(!r.length)return NaN;r.pop()}else{for(;r.length&&n[r[r.length-1]]>=n[s];)e.push(r.pop());r.push(s)}for(;r.length;){const s=r.pop();if(s==="(")return NaN;e.push(s)}const i=[];for(const s of e)if(typeof s=="number")i.push(s);else{const a=i.pop(),c=i.pop();if(c===void 0||a===void 0)return NaN;switch(s){case"+":i.push(c+a);break;case"-":i.push(c-a);break;case"*":i.push(c*a);break;case"/":i.push(a===0?NaN:c/a);break;default:return NaN}}return i.length===1?i[0]:NaN},Jt=(t,A,e)=>Math.min(Math.max(t,A),e),je=(t,A)=>[t[0]*A[0]+t[1]*A[1]+t[2]*A[2],t[3]*A[0]+t[4]*A[1]+t[5]*A[2],t[6]*A[0]+t[7]*A[1]+t[8]*A[2]],Kn=t=>je([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],t),ql=t=>je([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],t),vi=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r>.0031308?e*(1.055*r**(1/2.4)-.055):12.92*A}),Wl=t=>t.map(A=>{const e=A<0?-1:1,r=Math.abs(A);return r<=.04045?A/12.92:e*((r+.055)/1.055)**2.4}),xB=t=>{const[A,e,r]=vi(Kn([t[0],t[1],t[2]]));return[A,e,r,t[3]]},IB=t=>{const[A,e,r]=Kn([t[0],t[1],t[2]]);return[Jt(Math.round(A*255),0,255),Jt(Math.round(e*255),0,255),Jt(Math.round(r*255),0,255),t[3]]},Pn=t=>t.type===17||t.type===15,Ft=t=>t.type===16||Pn(t)||qd(t),qd=t=>t.type===17&&t._calcPercentage!==void 0,SB=t=>t.type===18&&t.name==="calc",NB=t=>{const A=Eu(t,0);if(!A)return null;const e=Eu(t,100);if(!e)return null;const r=A.number,n=e.number-r;return n===0?A:{type:17,number:r,flags:4,_calcPercentage:n,_calcPixelOffset:r}},Wd=t=>SB(t)?NB(t):Ft(t)?t:null,Eu=(t,A=0)=>{const e=r=>{let n="";for(const i of r)if(i.type!==31){if(i.type===18)if(i.name==="calc"){const s=e(i.values);if(s===null)return null;n+=`(${s})`}else return null;else if(i.type===17)n+=i.number.toString();else if(i.type===15)i.unit==="px"?n+=i.number.toString():i.unit==="rem"||i.unit==="em"?n+=(i.number*16).toString():n+=i.number.toString();else if(i.type===16)n+=(i.number/100*A).toString();else if(i.type===6){const s=i.value;s==="+"||s==="-"||s==="*"||s==="/"?n+=` ${s} `:s==="("?n+="(":s===")"&&(n+=")")}}return n};try{const r=e(t.values);if(r===null||r.trim()==="")return null;const n=jd(r);if(typeof n=="number"&&!isNaN(n))return{type:17,number:n,flags:4}}catch{return null}return null},Xd=t=>t.length>1?[t[0],t[1]]:[t[0]],se={type:17,number:0,flags:4},Bn={type:16,number:50,flags:4},Er={type:16,number:100,flags:4},eo=(t,A,e)=>{const[r,n]=t;return[XA(r,A),XA(typeof n<"u"?n:r,e)]},XA=(t,A)=>{if(qd(t))return t._calcPercentage/100*A+t._calcPixelOffset;if(t.type===16)return t.number/100*A;if(Xr(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},zd="deg",Jd="grad",Yd="rad",Zd="turn",ms={name:"angle",parse:(t,A)=>{if(A.type===15)switch(A.unit){case zd:return Math.PI*A.number/180;case Jd:return Math.PI/200*A.number;case Yd:return A.number;case Zd:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},$d=t=>t.type===15&&(t.unit===zd||t.unit===Jd||t.unit===Yd||t.unit===Zd),A1=t=>{switch(t.filter($A).map(A=>A.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left"
vendor: 4,344 bytes, line 7
7:return[se,se];case"to top":case"bottom":return ur(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[se,Er];case"to right":case"left":return ur(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Er,Er];case"to bottom":case"top":return ur(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Er,se];case"to left":case"right":return ur(270)}return 0},ur=t=>Math.PI*t/180,pn=t=>(255&t)===0,jt=t=>{const A=255&t,e=255&t>>8,r=255&t>>16,n=255&t>>24;return A<255?`rgba(${n},${r},${e},${A/255})`:`rgb(${n},${r},${e})`},Lr=(t,A,e,r)=>(t<<24|A<<16|e<<8|Math.round(r*255)<<0)>>>0,kn=(t,A)=>{if(t.type===17)return t.number;if(t.type===16){const e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},Ui=t=>(t[0].type===20?t[0].value:"unknown")==="from",HB=t=>Lr(Jt(Math.round(t[0]*255),0,255),Jt(Math.round(t[1]*255),0,255),Jt(Math.round(t[2]*255),0,255),Jt(t[3],0,1)),bh=([t,A,e,r])=>{const n=vi([t,A,e]);return Lr(Jt(Math.round(n[0]*255),0,255),Jt(Math.round(n[1]*255),0,255),Jt(Math.round(n[2]*255),0,255),r)},po=t=>{const A=Kn([t[0],t[1],t[2]]);return bh([A[0],A[1],A[2],t[3]])},_B=(t,A)=>{if(Ui(A.filter(Be)))throw new Error("Relative color not supported for lab()");const[e,r,n,i]=za(A),s=vi(Kn(Za([e,r,n])));return Lr(Jt(Math.round(s[0]*255),0,255),Jt(Math.round(s[1]*255),0,255),Jt(Math.round(s[2]*255),0,255),i)},DB=(t,A)=>{if(Ui(A.filter(Be)))throw new Error("Relative color not supported for oklab()");const[e,r,n,i]=za(A),s=vi(Kn(Ya([e,r,n])));return Lr(Jt(Math.round(s[0]*255),0,255),Jt(Math.round(s[1]*255),0,255),Jt(Math.round(s[2]*255),0,255),i)},kB=(t,A)=>{if(Ui(A.filter(Be)))throw new Error("Relative color not supported for oklch()");const[e,r,n,i]=r1(A),s=vi(Kn(Ya(Ja([e,r,n]))));return Lr(Jt(Math.round(s[0]*255),0,255),Jt(Math.round(s[1]*255),0,255),Jt(Math.round(s[2]*255),0,255),i)},MB=(t,A)=>{if(Ui(A.filter(Be)))throw new Error("Relative color not supported for lch()");const[e,r,n,i]=e1(A),s=vi(Kn(Za(Ja([e,r,n]))));return Lr(Jt(Math.round(s[0]*255),0,255),Jt(Math.round(s[1]*255),0,255),Jt(Math.round(s[2]*255),0,255),i)},t1=(t,A)=>{const[e,r,n,i]=A.filter(Be);return[(e.type===17?ur(e.number):ms.parse(t,e))/(Math.PI*2),Ft(r)?r.number/100:0,Ft(n)?n.number/100:0,typeof i<"u"&&Ft(i)?XA(i,1):1]},Lu=(t,A)=>{if(Ui(A))throw new Error("Relative color not supported for hsl()");const[e,r,n,i]=t1(t,A),s=i1([e,r,n]);return Lr(s[0]*255,s[1]*255,s[2]*255,r===0?1:i)},e1=t=>{const A=t.filter(Be);return[Ft(A[0])?A[0].number:0,Ft(A[1])?A[1].number:0,ge(A[2])||Xr(A[2])?A[2].number:0,typeof A[4]<"u"&&Ft(A[4])?XA(A[4],1):1]},za=t=>{const A=t.filter(Be);return[A[0].type===16?A[0].number/100:ge(A[0])?A[0].number:0,A[1].type===16?A[1].number/100:ge(A[1])?A[1].number:0,ge(A[2])||Xr(A[2])?A[2].number:0,typeof A[4]<"u"&&Ft(A[4])?XA(A[4],1):1]},r1=t=>{const A=t.filter(Be);return[A[0].type===16?A[0].number/100:ge(A[0])?A[0].number:0,A[1].type===16?A[1].number/100:ge(A[1])?A[1].number:0,ge(A[2])||Xr(A[2])?A[2].number:0,typeof A[4]<"u"&&Ft(A[4])?XA(A[4],1):1]},n1=t=>je([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],t),yh=t=>je([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],t),Yc=(t,A,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t),i1=([t,A,e])=>{if(A===0)return[e*255,e*255,e*255];const r=e<=.5?e*(A+1):e+A-e*A,n=e*2-r;return[Yc(n,r,t+1/3),Yc(n,r,t),Yc(n,r,t-1/3)]},Ja=([t,A,e])=>(A<0&&(A=0),isNaN(e)&&(e=0),[t,A*Math.cos(e*Math.PI/180),A*Math.sin(e*Math.PI/180)]),Ya=t=>je([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],je([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],t).map(A=>A**3)),Za=t=>{const A=(t[0]+16)/116,e=t[1]/500+A,r=A-t[2]/200,n=24389/27,i=24/116,s=[(e>i?e**3:(116*e-16)/n)*.3457/.3585,t[0]>8?A**3:t[0]/n,(r>i?r**3:(116*r-16)/n)*.2958/.3585];return yh([s[0],s[1],s[2]])},TB=(t,A)=>{const e=A.filter(Be);
vendor: 4,588 bytes, line 7
7if(e.length===3){const[r,n,i]=e.map(kn),s=Wl([r/255,n/255,i/255]),[a,c,h]=ql([s[0],s[1],s[2]]);return[a,c,h,1]}if(e.length===4){const[r,n,i,s]=e.map(kn),a=Wl([r/255,n/255,i/255]),[c,h,u]=ql([a[0],a[1],a[2]]);return[c,h,u,s]}return[0,0,0,1]},OB=(t,A)=>{const[e,r,n,i]=t1(t,A),s=Wl(i1([e,r,n])),[a,c,h]=ql([s[0],s[1],s[2]]);return[a,c,h,i]},PB=(t,A)=>{const[e,r,n,i]=za(A),[s,a,c]=Za([e,r,n]);return[s,a,c,i]},RB=(t,A)=>{const[e,r,n,i]=e1(A),[s,a,c]=Za(Ja([e,r,n]));return[s,a,c,i]},KB=(t,A)=>{const[e,r,n,i]=r1(A),[s,a,c]=Ya(Ja([e,r,n]));return[s,a,c,i]},VB=(t,A)=>{const[e,r,n,i]=za(A),[s,a,c]=Ya([e,r,n]);return[s,a,c,i]},GB=t=>yh([t[0],t[1],t[2]]),xu=t=>t,jB=t=>{const[A,e,r]=n1([t[0],t[2],t[3]]);return[A,e,r,t[3]]},Iu=t=>po([t[0],t[1],t[2],t[3]]),qB=t=>{const A=GB([t[0],t[1],t[2]]);return po([A[0],A[1],A[2],t[3]])},WB=t=>je([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],t),XB=t=>je([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],t),zB=t=>t.map(A=>{const e=A<0?-1:1;return A*e<=.04045?A/12.92:e*((A+.055)/1.055)**2.4||0}),JB=t=>vi(t),YB=t=>{const A=zB([t[0],t[1],t[2]]);return WB([A[0],A[1],A[2]])},ZB=t=>{const[A,e,r]=JB(XB([t[0],t[1],t[2]]));return[A,e,r,t[3]]},$B=t=>{const A=YB([t[0],t[1],t[2]]);return po([A[0],A[1],A[2],t[3]])},Ap=t=>je([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],t),tp=t=>je([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],t),ep=t=>{const A=t.map(e=>(e<0?-1:1)*Math.abs(e)**2.19921875);return[A[0],A[1],A[2]]},rp=t=>{const A=t.map(e=>(e<0?-1:1)*Math.abs(e)**.4547069271758437);return[A[0],A[1],A[2]]},np=t=>{const[A,e,r]=rp(Ap([t[0],t[1],t[2]]));return[A,e,r,t[3]]},ip=t=>{const A=Kn(tp(ep([t[0],t[1],t[2]])));return bh([A[0],A[1],A[2],t[3]])},sp=t=>je([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],t),op=t=>je([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],t),ap=t=>t.map(A=>A<16/512?A/16:A**1.8),cp=t=>t.map(A=>A>1/512?A**(1/1.8):A*16),lp=t=>{const A=ap([t[0],t[1],t[2]]);return yh(sp([A[0],A[1],A[2]]))},hp=t=>{const[A,e,r]=cp(op(n1([t[0],t[1],t[2]])));return[A,e,r,t[3]]},up=t=>{const A=lp([t[0],t[1],t[2]]);return po([A[0],A[1],A[2],t[3]])},Ta=1.09929682680944,s1=.018053968510807,fp=t=>t.map(function(A){return A<s1*4.5?A/4.5:Math.pow((A+Ta-1)/Ta,1/.45)}),dp=t=>t.map(function(A){return A>=s1?Ta*Math.pow(A,.45)-(Ta-1):4.5*A}),gp=t=>je([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],t),Bp=t=>je([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],t),pp=t=>{const A=fp([t[0],t[1],t[2]]);return gp([A[0],A[1],A[2]])},wp=t=>{const[A,e,r]=dp(Bp([t[0],t[1],t[2]]));return[A,e,r,t[3]]},mp=t=>{const A=pp([t[0],t[1],t[2]]);return po([A[0],A[1],A[2],t[3]])},On={name:"color",parse:(t,A)=>{if(A.type===18){const e=Fp[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported color function "${A.name}"`);return e(t,A.values)}if(A.type===5){const[e,r,n,i]=o1(A);return Lr(e,r,n,i)}if(A.type===20){const e=Wr[A.value.toUpperCase()];if(typeof e<"u")return e}return Wr.TRANSPARENT}},o1=t=>{if(t.value.length===3){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(t.value.length===4){const A=t.value.substring(0,1),e=t.value.substring(1,2),r=t.value.substring(2,3),n=t.value.substring(3,4);return[parseInt(A+A,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(n+n,16)/255]}if(t.value.length===6){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),1]}if(t.value.length===8){const A=t.value.substring(0,2),e=t.value.substring(2,4),r=t.value.substring(4,6),n=t.value.substring(6,8);return[parseInt(A,16),parseInt(e,16),parseInt(r,16),parseInt(n,16)/255]}return[0,0,0,1]},Su=(t,A)=>{const e=A.filter(Be);
7if(Ui(e))throw new Error("Relative color not supported for rgb()");if(e.length===3){const[r,n,i]=e.map(kn);return Lr(r,n,i,1)}if(e.length===4){const[r,n,i,s]=e.map(kn);return Lr(r,n,i,s)}return e.length===5&&e[3].type===6&&e[3].value==="/"?Lr(kn(e[0],0),kn(e[1],1),kn(e[2],2),kn(e[4],3)):0},Cp=(t,A)=>{const e=A.filter(Be),r=e[0].type===20?e[0].value:"unknown";if(Ui(e)){const n=(L,b)=>{if(ge(b))return b.number;const M=S=>S==="r"||S==="x"?0:S==="g"||S==="y"?1:2;if($A(b))return L[M(b.value)];const T=S=>{const AA=S.filter(Be);let sA="(";for(const Z of AA)sA+=Z.type===18&&Z.name==="calc"?T(Z.values):ge(Z)?Z.number:Z.type===6||$A(Z)?Z.value:"";return sA+=")",sA};if(b.type===18){const S=b.values.filter(Be);if(b.name==="calc")return jd(T(S).replace(/r|x/,L[0].toString()).replace(/g|y/,L[1].toString()).replace(/b|z/,L[2].toString()))}return null},i=e[1].type===18?e[1].name:$A(e[1])||e[1].type===5?"rgb":"unknown",s=$A(e[2])?e[2].value:"unknown";let a=e[1].type===18?e[1].values:$A(e[1])?[e[1]]:[];if($A(e[1])){if(typeof Wr[e[1].value.toUpperCase()]>"u")throw new Error("Attempting to use unknown color in relative color 'from'");{const L=us(t,e[1].value),b=255&L,M=255&L>>8,T=255&L>>16;a=[{type:17,number:255&L>>24,flags:1},{type:17,number:T,flags:1},{type:17,number:M,flags:1},{type:17,number:b>1?b/255:b,flags:1}]}}else if(e[1].type===5){const[L,b,M,T]=o1(e[1]);a=[{type:17,number:L,flags:1},{type:17,number:b,flags:1},{type:17,number:M,flags:1},{type:17,number:T>1?T/255:T,flags:1}]}if(a.length===0)throw new Error("Attempting to use unknown color in relative color 'from'");if(s==="unknown")throw new Error("Attempting to use unknown colorspace in relative color 'to'");const c=bp[i],h=yp[s],u=Nu[s];if(typeof c>"u")throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);if(typeof h>"u")throw new Error(`Attempting to parse an unsupported color space "${s}" for color() function`);const p=h(c(t,a)),w=n(p,e[3]),d=n(p,e[4]),v=n(p,e[5]),F=e.length>6&&e[6].type===6&&e[6].value==="/"&&ge(e[7])?e[7].number:1;if(w===null||d===null||v===null)throw new Error("Invalid relative color in color() function");return u([w,d,v,F])}else{const n=r,i=Nu[n];if(typeof i>"u")throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);return i([ge(e[1])?e[1].number:0,ge(e[2])?e[2].number:0,ge(e[3])?e[3].number:0,e.length>4&&e[4].type===6&&e[4].value==="/"&&ge(e[5])?e[5].number:1])}},Nu={srgb:HB,"srgb-linear":bh,"display-p3":$B,"a98-rgb":ip,"prophoto-rgb":up,xyz:Iu,"xyz-d50":qB,"xyz-d65":Iu,rec2020:mp},bp={rgb:TB,hsl:OB,lab:PB,lch:RB,oklab:VB,oklch:KB},yp={srgb:xB,"srgb-linear":IB,"display-p3":ZB,"a98-rgb":np,"prophoto-rgb":hp,xyz:xu,"xyz-d50":jB,"xyz-d65":xu,rec2020:wp},Fp={hsl:Lu,hsla:Lu,rgb:Su,rgba:Su,lch:MB,oklch:kB,oklab:DB,lab:_B,color:Cp},us=(t,A)=>On.parse(t,Gd.create(A).parseComponentValue()),Wr={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:404164
71215,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},fi=t=>t.nodeType===Node.ELEMENT_NODE,a1=t=>t.nodeType===Node.TEXT_NODE,di=t=>typeof t.className=="object",ho=t=>fi(t)&&typeof t.style<"u"&&!di(t),Qp=t=>t.tagName==="INPUT",vp=t=>t.tagName==="HTML",c1=t=>t.tagName==="svg",Fh=t=>t.tagName==="BODY",l1=t=>t.tagName==="CANVAS",Hu=t=>t.tagName==="VIDEO",Xl=t=>t.tagName==="IMG",h1=t=>t.tagName==="IFRAME",u1=t=>t.tagName==="STYLE",Up=t=>t.tagName==="SCRIPT",Oa=t=>t.tagName==="TEXTAREA",Pa=t=>t.tagName==="SELECT",ro=t=>t.tagName==="SLOT",Ep=t=>t.tagName==="LI",Lp=t=>t.tagName==="OL",_u=t=>!di(t)&&t.tagName.indexOf("-")>0,xp=new Set(["IMG","VIDEO","AUDIO","CANVAS","IFRAME","INPUT","TEXTAREA","SELECT","BR","HR","META","LINK","BASE","COL","SOURCE","TRACK","WBR","AREA","PARAM","EMBED","OBJECT"]),Ip=t=>!di(t)&&!xp.has(t.tagName),zl={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},ve=(t,A)=>(t&A)!==0;var Sp=class{constructor(){this.counters={}}getCounterValue(t){const A=this.counters[t];return A&&A.length?A[A.length-1]:1}getCounterValues(t){const A=this.counters[t];return A||[]}pop(t){t.forEach(A=>this.counters[A].pop())}parse(t){const A=t.counterIncrement,e=t.counterReset;let r=!0;A!==null&&A.forEach(i=>
vendor: 18,996 bytes, line 7
7{const s=this.counters[i.counter];s&&i.increment!==0&&(r=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=i.increment)});const n=[];return r&&e.forEach(i=>{let s=this.counters[i.counter];n.push(i.counter),s||(s=this.counters[i.counter]=[]),s.push(i.reset)}),n}};const Du={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"]},ku={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Np={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Hp={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},As=(t,A,e,r,n,i)=>t<A||t>e?uo(t,n,i.length>0):r.integers.reduce((s,a,c)=>{for(;t>=a;)t-=a,s+=r.values[c];return s},"")+i,f1=(t,A,e,r)=>{let n="";do e||t--,n=r(t)+n,t/=A;while(t*A>=A);return n},te=(t,A,e,r,n)=>{const i=e-A+1;return(t<0?"-":"")+(f1(Math.abs(t),i,r,s=>ee(Math.floor(s%i)+A))+n)},ai=(t,A,e=". ")=>{const r=A.length;return f1(Math.abs(t),r,!1,n=>A[Math.floor(n%r)])+e},_p=1,Dp=2,kp=4,Mp=8,fn=(t,A,e,r,n,i)=>{if(t<-9999||t>9999)return uo(t,4,n.length>0);let s=Math.abs(t),a=n;if(s===0)return A[0]+a;for(let c=0;s>0&&c<=4;c++){const h=s%10;h===0&&ve(i,_p)&&a!==""?a=A[h]+a:h>1||h===1&&c===0||h===1&&c===1&&ve(i,Dp)||h===1&&c===1&&ve(i,kp)&&t>100||h===1&&c>1&&ve(i,Mp)?a=A[h]+(c>0?e[c-1]:"")+a:h===1&&c>0&&(a=e[c-1]+a),s=Math.floor(s/10)}return(t<0?r:"")+a},Mu="十百千萬",Tu="拾佰仟萬",Ou="マイナス",Zc="마이너스",uo=(t,A,e)=>{const r=e?". ":"",n=e?"、":"",i=e?", ":"",s=e?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:const a=te(t,48,57,!0,r);return a.length<4?`0${a}`:a;case 4:return ai(t,"〇一二三四五六七八九",n);case 6:return As(t,1,3999,Du,3,r).toLowerCase();case 7:return As(t,1,3999,Du,3,r);case 8:return te(t,945,969,!1,r);case 9:return te(t,97,122,!1,r);case 10:return te(t,65,90,!1,r);case 11:return te(t,1632,1641,!0,r);case 12:case 49:return As(t,1,9999,ku,3,r);case 35:return As(t,1,9999,ku,3,r).toLowerCase();case 13:return te(t,2534,2543,!0,r);case 14:case 30:return te(t,6112,6121,!0,r);case 15:return ai(t,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ai(t,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return fn(t,"零一二三四五六七八九",Mu,"負",n,14);case 47:return fn(t,"零壹貳參肆伍陸柒捌玖",Tu,"負",n,15);case 42:return fn(t,"零一二三四五六七八九",Mu,"负",n,14);case 41:return fn(t,"零壹贰叁肆伍陆柒捌玖",Tu,"负",n,15);case 26:return fn(t,"〇一二三四五六七八九","十百千万",Ou,n,0);case 25:return fn(t,"零壱弐参四伍六七八九","拾百千万",Ou,n,7);case 31:return fn(t,"영일이삼사오육칠팔구","십백천만",Zc,i,7);case 33:return fn(t,"零一二三四五六七八九","十百千萬",Zc,i,0);case 32:return fn(t,"零壹貳參四五六七八九","拾百千",Zc,i,7);case 18:return te(t,2406,2415,!0,r);case 20:return As(t,1,19999,Hp,3,r);case 21:return te(t,2790,2799,!0,r);case 22:return te(t,2662,2671,!0,r);case 52:return As(t,1,10999,Np,3,r);case 23:return ai(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ai(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return te(t,3302,3311,!0,r);case 28:return ai(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ai(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return te(t,3792,3801,!0,r);case 37:return te(t,6160,6169,!0,r);case 38:return te(t,4160,4169,!0,r);case 39:return te(t,2918,2927,!0,r);case 40:return te(t,1776,1785,!0,r);case 43:return te(t,3046,3055,!0,r);case 44:return te(t,3174,3183,!0,r);case 45:return te(t,3664,3673,!0,r);case 46:return te(t,3872,3881,!0,r);default:return te(t,48,57,!0,r)}},Tp={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if($A(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2;case"text":return 3}return 0})},Op={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$a=(t,A)=>{const e=On.parse(t,A[0]),r=A[1];return r&&Ft(r)?{color:e,stop:r}:{color:e,stop:null}},$c=(t,A)=>{const e=t[0],r=t[t.length-1];e.stop===null&&(e.stop=se),r.stop===null&&(r.stop=Er);const n=[];let i=0;for(let a=0;a<t.length;a++){const c=t[a].stop;if(c!==null){const h=XA(c,A);h>i?n.push(h):n.push(i),i=h}else n.push(null)}let s=null;for(let a=0;a<n.length;a++){const c=n[a];if(c===null)s===null&&(s=a);else if(s!==null){const h=a-s,u=(c-n[s-1])/(h+1);for(let p=1;p<=h;p++)n[s+p-1]=u*p;s=null}}return t.map(({color:a},c)=>({color:a,stop:Math.max(Math.min(1,n[c]/A),0)}))},Pp=(t,A,e)=>{const r=A/2,n=e/2,i=XA(t[0],A)-r,s=n-XA(t[1],e);return(Math.atan2(s,i)+Math.PI*2)%(Math.PI*2)},Pu=(t,A,e)=>{const r=typeof t=="number"?t:Pp(t,A,e),n=Math.abs(A*Math.sin(r))+Math.abs(e*Math.cos(r)),i=A/2,s=e/2,a=n/2,c=Math.sin(r-Math.PI/2)*a,h=Math.cos(r-Math.PI/2)*a;return[n,i-h,i+h,s-c,s+c]},vr=(t,A)=>Math.sqrt(t*t+A*A),Ru=(t,A,e,r,n)=>[[0,0],[0,A],[t,0],[t,A]].reduce((i,s)=>{const[a,c]=s,h=vr(e-a,r-c);return(n?h<i.optimumDistance:h>i.optimumDistance)?{optimumCorner:s,optimumDistance:h}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner,Rp=(t,A,e,r,n)=>{let i=0,s=0;switch(t.size){case 0:t.shape===0?i=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(t.shape===0)i=s=Math.min(vr(A,e),vr(A,e-n),vr(A-r,e),vr(A-r,e-n));else if(t.shape===1){const a=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(A),Math.abs(A-r)),[c,h]=Ru(r,n,A,e,!0);i=vr(c-A,(h-e)/a),s=a*i}break;case 1:t.shape===0?i=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(e),Math.abs(e-n)):t.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(t.shape===0)i=s=Math.max(vr(A,e),vr(A,e-n),vr(A-r,e),vr(A-r,e-n));else if(t.shape===1){const a=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(A),Math.abs(A-r)),[c,h]=Ru(r,n,A,e,!1);i=vr(c-A,(h-e)/a),s=a*i}break}return Array.isArray(t.size)&&(i=XA(t.size[0],r),s=t.size.length===2?XA(t.size[1],n):i),[i,s]},d1=(t,A)=>{let e=ur(180);const r=[];return Ir(A).forEach((n,i)=>{if(i===0){const a=n[0];if(a.type===20&&a.value==="to"){e=A1(n);return}else if($d(a)){e=ms.parse(t,a);return}}const s=$a(t,n);r.push(s)}),{angle:e,stops:r,type:1}},ca=(t,A)=>{let e=ur(180);const r=[];return Ir(A).forEach((n,i)=>{if(i===0){const a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){e=A1(n);return}else if($d(a)){e=(ms.parse(t,a)+ur(270))%ur(360);return}}const s=$a(t,n);r.push(s)}),{angle:e,stops:r,type:1}},Kp=(t,A)=>{const e=ur(180),r=[];let n=1;const i=0,s=3,a=[];return Ir(A).forEach((c,h)=>{const u=c[0];if(h===0){if($A(u)&&u.value==="linear"){n=1;return}else if($A(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){const p=On.parse(t,u.values[0]);r.push({stop:se,color:p})}else if(u.name==="to"){const p=On.parse(t,u.values[0]);r.push({stop:Er,color:p})}else if(u.name==="color-stop"){const p=u.values.filter(Be);if(p.length===2){const w=On.parse(t,p[1]),d=p[0];ge(d)&&r.push({stop:{type:16,number:d.number*100,flags:d.flags},color:w})}}}}),n===1?{angle:(e+ur(180))%ur(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:a,type:n}},g1="closest-side",B1="farthest-side",p1="closest-corner",w1="farthest-corner",m1="circle",C1="ellipse",b1="cover",y1="contain",Vp=(t,A)=>{let e=0,r=3;const n=[],i=[];return Ir(A).forEach((s,a)=>{let c=!0;if(a===0){let h=!1;c=s.reduce((u,p)=>{if(h)if($A(p))switch(p.value){case"center":return i.push(Bn),u;case"top":case"left":return i.push(se),u;case"right":case"bottom":return i.push(Er),u}else(Ft(p)||Pn(p))&&i.push(p);else if($A(p))switch(p.value){case m1:return e=0,!1;case C1:return e=1,!1;case"at":return h=!0,!1;case g1:return r=0,!1;case b1:case B1:return r=1,!1;case y1:case p1:return r=2,!1;case w1:return r=3,!1}else if(Pn(p)||Ft(p))return Array.isArray(r)||(r=[]),r.push(p),!1;return u},c)}if(c){const h=$a(t,s);n.push(h)}}),{size:r,shape:e,stops:n,position:i,type:2}},la=(t,A)=>{let e=0,r=3;const n=[],i=[];return Ir(A).forEach((s,a)=>{let c=!0;if(a===0?c=s.reduce((h,u)=>{if($A(u))switch(u.value){case"center":return i.push(Bn),!1;case"top":case"left":return i.push(se),!1;case"right":case"bottom":return i.push(Er),!1}else if(Ft(u)||Pn(u))return i.push(u),!1;return h},c):a===1&&(c=s.reduce((h,u)=>{if($A(u))switch(u.value){case m1:return e=0,!1;case C1:return e=1,!1;case y1:case g1:return r=0,!1;case B1:return r=1,!1;case p1:return r=2,!1;case b1:case w1:return r=3,!1}else if(Pn(u)||Ft(u))return Array.isArray(r)||(r=[]),r.push(u),!1;return h},c)),c){const h=$a(t,s);n.push(h)}}),{size:r,shape:e,stops:n,position:i,type:2}},qs=(t,A)=>({...d1(t,A),type:3}),Gp=t=>t.type===1,jp=t=>t.type===2,qp=t=>t.type===3,Ac={name:"image",parse:(t,A)=>{if(A.type===22){const e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){const e=Q1[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported image function "${A.name}"`);return e(t,A.values)}throw new Error(`Unsupported image type ${A.type}`)}};function F1(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Q1[t.name])}const Q1={"linear-gradient":d1,"-moz-linear-gradient":ca,"-ms-linear-gradient":ca,"-o-linear-gradient":ca,"-webkit-linear-gradient":ca,"radial-gradient":Vp,"-moz-radial-gradient":la,"-ms-radial-gradient":la,"-o-radial-gradient":la,"-webkit-radial-gradient":la,"-webkit-gradient":Kp,"repeating-linear-gradient":qs,"-webkit-repeating-linear-gradient":qs,"-moz-repeating-linear-gradient":qs,"-ms-repeating-linear-gradient":qs,"-o-repeating-linear-gradient":qs},Wp={name:"background-image",initialValue:"none",type:1,prefix:!1,skipCache:!0,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(r=>Be(r)&&F1(r)).map(r=>Ac.parse(t,r))}},Xp={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(t,A)=>A.map(e=>{if($A(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},zp={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(t,A)=>Ir(A).map(e=>e.map(Wd).filter(r=>r!==null)).map(Xd)},Jp={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(t,A)=>Ir(A).map(e=>e.filter($A).map(r=>r.value).join(" ")).map(Yp)},Yp=t=>{switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Zp={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(t,A)=>Ir(A).map(e=>e.map(r=>$p(r)?r:Wd(r)).filter(r=>r!==null))},$p=t=>$A(t)||Ft(t),tc=t=>({name:`border-${t}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),A2=tc("top"),t2=tc("right"),e2=tc("bottom"),r2=tc("left"),ec=t=>({name:`border-${t}-radius`,initialValue:"0 0",prefix:!1,type:1,parse:(A,e)=>Xd(e.filter(Ft))}),n2=ec("top-left"),i2=ec("top-right"),s2=ec("bottom-right"),o2=ec("bottom-left"),rc=t=>({name:`border-${t}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,e)=>{switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),a2=rc("top"),c2=rc("right"),l2=rc("bottom"),h2=rc("left"),nc=t=>({name:`border-${t}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,e)=>Xr(e)?e.number:0}),u2=nc("top"),f2=nc("right"),d2=nc("bottom"),g2=nc("left"),Jl={type:0},Yl=t=>{const[A]=t;return A?$A(A)?A.value==="farthest-side"?"farthest-side":"closest-side":Ft(A)?A:"closest-side":"closest-side"},v1=t=>{let A=null,e=null;for(const r of t)if($A(r))switch(r.value){case"left":A=se;break;case"right":A=Er;break;case"top":e=se;break;case"bottom":e=Er;break;case"center":A===null?A=Bn:e===null&&(e=Bn);break}else Ft(r)&&(A===null?A=r:e===null&&(e=r));return{cx:A??Bn,cy:e??Bn}},B2=t=>{const A=[];for(const n of t)if(n.type!==31){if($A(n)&&n.value==="round")break;Ft(n)&&A.push(n)}const e=A[0]??se,r=A[1]??e;return{type:1,top:e,right:r,bottom:A[2]??e,left:A[3]??r}},p2=t=>{const A=t.filter(Bo),e=A.findIndex(i=>lo(i,"at")),r=e===-1?A:A.slice(0,e),n=e===-1?[]:A.slice(e+1);return{type:2,radius:Yl(r),...v1(n)}},w2=t=>{const A=t.filter(Bo),e=A.findIndex(i=>lo(i,"at")),r=e===-1?A:A.slice(0,e),n=e===-1?[]:A.slice(e+1);return{type:3,rx:Yl(r.slice(0,1)),ry:Yl(r.slice(1,2)),...v1(n)}},m2=t=>{const A=Ir(t),e=[];for(const r of A){if(r.length===1&&$A(r[0]))continue;const n=r.filter(Ft);n.length>=2&&e.push([n[0],n[1]])}return{type:4,points:e}},C2=t=>{const A=t.find(e=>e.type===0);return A?{type:5,d:A.value}:Jl},b2={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>{if($A(A)&&A.value==="none")return Jl;if(A.type===18)switch(A.name){case"inset":return B2(A.values);case"circle":return p2(A.values);case"ellipse":return w2(A.values);case"polygon":return m2(A.values);case"path":return C2(A.values)}return Jl}},y2={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},F2={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"rtl":return 1;default:return 0}}},Q2={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(t,A)=>A.filter($A).reduce((e,r)=>e|v2(r.value),0)},v2=t=>{switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ku={name:"float",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},U2={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0},E2={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"strict":return"strict";default:return"normal"}}},L2={name:"line-height",initialValue:"normal",prefix:!1,type:4},Zl=(t,A)=>$A(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:Ft(t)?XA(t,A):A,x2={name:"list-style-image",initialValue:"none",type:0,prefix:!1,skipCache:!0,parse:(t,A)=>A.type===20&&A.value==="none"?null:Ac.parse(t,A)},I2={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"inside":return 0;default:return 1}}},ic=t=>({name:`margin-${t}`,initialValue:"0",prefix:!1,type:4}),S2=ic("top"),N2=ic("right"),H2=ic("bottom"),_2=ic("left"),Vu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(t,A)=>A.filter($A).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},D2={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-word":return"break-word";default:return"normal"}}},sc=t=>({name:`padding-${t}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),k2=sc("top"),M2=sc("right"),T2=sc("bottom"),O2=sc("left"),P2={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},R2={name:"position",initialValue:"static",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},K2={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&lo(A[0],"none")?[]:Ir(A).map(e=>{const r={color:Wr.TRANSPARENT,offsetX:se,offsetY:se,blur:se};let n=0;for(let i=0;i<e.length;i++){const s=e[i];Pn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=On.parse(t,s)}return r})},V2={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},G2={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>{if(A.type===20&&A.value==="none")return null;if(A.type===18){const e=X2[A.name];if(typeof e>"u")throw new Error(`Attempting to parse an unsupported transform function "${A.name}"`);return e(t,A.values)}return null}},j2=(t,A)=>{const e=A.filter(r=>r.type===17).map(r=>r.number);return e.length===6?e:null},q2=(t,A)=>{const e=A.filter(h=>h.type===17).map(h=>h.number),[r,n,{},{},i,s,{},{},{},{},{},{},a,c]=e;return e.length===16?[r,n,i,s,a,c]:null},W2=(t,A)=>{if(A.length!==1)return null;const e=A[0];let r=0;if(e.type===17&&e.number===0)r=0;else if(e.type===15)r=ms.parse(t,e);else return null;const n=Math.cos(r),i=Math.sin(r);return[n,i,-i,n,0,0]},X2={matrix:j2,matrix3d:q2,rotate:W2},Gu={type:16,number:50,flags:4},z2=[Gu,Gu],J2={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(t,A)=>{const e=A.filter(Ft);return e.length!==2?z2:[e[0],e[1]]}},Y2={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?null:A.type===17&&A.number===0?0:A.type===15?ms.parse(t,A)*180/Math.PI:null},Z2={name:"visibility",initialValue:"none",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}}
7,$2={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"break-all":return"break-all";case"keep-all":return"keep-all";default:return"normal"}}},Aw={name:"white-space",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"pre":return"pre";case"nowrap":return"nowrap";case"pre-wrap":return"pre-wrap";case"pre-line":return"pre-line";default:return"normal"}}},Ra=t=>t!==0,Al=t=>t===3||t===4,tw={name:"writing-mode",initialValue:"horizontal-tb",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"vertical-rl":return 1;case"vertical-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4;default:return 0}}},ew={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if(A.type===20)return{auto:!0,order:0};if(ge(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},U1={name:"time",parse:(t,A)=>{if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},rw={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>ge(A)?A.number:1},ju={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},qu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>A.filter($A).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>e!==0)},nw={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},iw={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>{if($A(A))switch(A.value){case"auto":return"auto";case"from-font":return"from-font"}return Xr(A)?A.number:"auto"}},sw={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(t,A)=>$A(A)&&A.value==="auto"?"auto":Xr(A)?A.number:"auto"},ow={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=[];return A.forEach(n=>{switch(n.type){case 20:case 0:e.push(n.value);break;case 17:e.push(n.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}}),e.length&&r.push(e.join(" ")),r.map(n=>n.indexOf(" ")===-1?n:`'${n}'`)}},aw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},cw={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(t,A)=>{if(ge(A))return A.number;if($A(A))switch(A.value){case"bold":return 700;default:return 400}return 400}},lw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.filter($A).map(e=>e.value)},hw={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},uw={name:"content",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>{if(A.length===0)return[];const e=A[0];return e.type===20&&e.value==="none"?[]:A}},E1=(t,A)=>{const e=[],r=t.filter(Bo);for(let n=0;n<r.length;n++){const i=r[n],s=r[n+1];if(i.type===20){const a=s&&ge(s)?s.number:A;e.push([i.value,a])}}return e},fw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];return e.type===20&&e.value==="none"?null:E1(A,1).map(([r,n])=>({counter:r,increment:n}))}},dw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>A.length===0?[]:E1(A,0).filter(([e])=>e!=="none").map(([e,r])=>({counter:e,reset:r}))},gw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(t,A)=>A.filter(Xr).map(e=>U1.parse(t,e))},Bw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(t,A)=>{if(A.length===0)return null;const e=A[0];if(e.type===20&&e.value==="none")return null;const r=[],n=A.filter(UB);if(n.length%2!==0)return null;for(let i=0;i<n.length;i+=2){const s=n[i].value,a=n[i+1].value;r.push({open:s,close:a})}return r}},Wu=(t,A,e)=>{if(!t)return"";const r=t[Math.min(A,t.length-1)];return r?e?r.open:r.close:""},pw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(t,A)=>A.length===1&&lo(A[0],"none")?[]:Ir(A).map(e=>{const r={color:255,offsetX:se,offsetY:se,blur:se,spread:se,inset:!1};let n=0;for(let i=0;i<e.length;i++){const s=e[i];lo(s,"inset")?r.inset=!0:Pn(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=On.parse(t,s)}return r})},ww={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[0,1,2],r=[];return A.filter($A).forEach(n=>{switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),e.forEach(n=>{r.indexOf(n)===-1&&r.push(n)}),r}},mw={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Cw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(t,A)=>Xr(A)?A.number:0},bw={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(t,A)=>A.type===20&&A.value==="none"?0:A.type===17?Math.max(0,Math.floor(A.number)):0},yw={name:"object-fit",initialValue:"fill",prefix:!1,type:1,parse:(t,A)=>A.filter($A).reduce((e,r)=>e|Fw(r.value),0)},Fw=t=>{switch(t){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Qw={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"ellipsis":return 1;default:return 0}}},vw={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(t,A)=>{switch(A.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return 1;case"pixelated":case"-webkit-optimize-contrast":return 2;case"smooth":case"high-quality":return 3;default:return 0}}},de={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"},Uw=new Set(Object.values(de)),Ew={name:"mix-blend-mode",initialValue:"normal",type:2,prefix:!1,parse:(t,A)=>Uw.has(A)?A:de.NORMAL},Lw={name:"filter",initialValue:"none",prefix:!1,type:1,parse:(t,A)=>{if(A.length===1&&A[0].type===20&&A[0].value==="none")return null;const e=[];for(const r of A)if(r.type===18){const n=r,i=xw(n.values);switch(n.name){case"blur":e.push(`blur(${i}px)`);break;case"brightness":case"contrast":case"invert":case"opacity":case"saturate":case"sepia":e.push(`${n.name}(${i})`);break;case"grayscale":e.push(`grayscale(${i})`);break;case"hue-rotate":e.push(`hue-rotate(${i}deg)`);break;case"drop-shadow":e.push(`drop-shadow(${i})`);break}}return e.length>0?e.join(" "):null}},xw=t=>{const A=[];for(const e of t)e.type!==31&&(e.type===15?A.push(`${e.number}${e.unit}`):e.type===17?A.push(`${e.number}`):e.type===16?A.push(`${e.number}%`):e.type===20?A.push(e.value):e.type===5&&A.push(`#${e.value}`));return A.join(" ")},Iw={name:"font-variant-ligatures",initialValue:"normal",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"none":return 1;case"common-ligatures":return 2;case"no-common-ligatures":return 3;case"discretionary-ligatures":return 4;case"no-discretionary-ligatures":return 5;case"historical-ligatures":return 6;case"no-historical-ligatures":return 7;case"contextual":return 8;case"no-contextual":return 9;default:return 0}}},Sw={name:"zoom",initialValue:"1",type:0,prefix:!1,parse:(t,A)=>A.type===16?Math.max(0,A.number/100):A.type===17?Math.max(0,A.number):1},Nw={name:"object-position",initialValue:"50% 50%",prefix:!1,type:1,parse:(t,A)=>{const e=[];let r=0;for(;r<A.length&&e.length<2;){const n=A[r];
7if($A(n))switch(n.value){case"left":case"top":e.push(se);break;case"center":e.push(Bn);break;case"right":case"bottom":e.push(Er);break}else Ft(n)&&e.push(n);r++}for(;e.length<2;)e.push(Bn);return[e[0],e[1]]}},Hw=new Set(Object.values({NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"})),_w={name:"background-blend-mode",initialValue:"normal",prefix:!1,type:1,parse:(t,A)=>{const e=[],r=A.filter(Be);for(const n of r)$A(n)&&Hw.has(n.value)&&e.push(n.value);return e.length>0?e:["normal"]}},Dw={name:"border-image-source",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:(t,A)=>{if(A.length===0)return null;const e=A.filter(r=>Be(r)&&F1(r));return e.length===0?null:Ac.parse(t,e[0])}},kw=t=>{const A=[...t];return A.length===1?A.push(A[0],A[0],A[0]):A.length===2?A.push(A[0],A[1]):A.length===3&&A.push(A[1]),A.slice(0,4)},Mw={name:"border-image-slice",initialValue:"100%",prefix:!1,type:1,parse:(t,A)=>{const e=A.filter(Bo),r=[];let n=!1,i="percent";for(const u of e){if($A(u)&&u.value==="fill"){n=!0;continue}u.type===17?(r.push(u.number),i="number"):u.type===16&&(r.push(u.number),i="percent")}const[s,a,c,h]=kw(r.length>0?r:[100]);return{top:s,right:a,bottom:c,left:h,fill:n,unit:i}}},Tw=t=>{switch(t){case"repeat":return 1;case"round":return 2;case"space":return 3;default:return 0}},Ow={name:"border-image-repeat",initialValue:"stretch",prefix:!1,type:1,parse:(t,A)=>{const e=A.filter(Bo),r=[];for(const i of e)$A(i)&&r.push(Tw(i.value));const n=r[0]??0;return{horizontal:n,vertical:r[1]??n}}},Pw={name:"box-decoration-break",initialValue:"slice",prefix:!1,type:2,parse:(t,A)=>{switch(A){case"clone":return 1;default:return 0}}},Rw=1e4;var Kw=class{constructor(t){this.styles=t}get topColor(){return this.styles.borderTopColor}get rightColor(){return this.styles.borderRightColor}get bottomColor(){return this.styles.borderBottomColor}get leftColor(){return this.styles.borderLeftColor}get topStyle(){return this.styles.borderTopStyle}get rightStyle(){return this.styles.borderRightStyle}get bottomStyle(){return this.styles.borderBottomStyle}get leftStyle(){return this.styles.borderLeftStyle}get topWidth(){return this.styles.borderTopWidth}get rightWidth(){return this.styles.borderRightWidth}get bottomWidth(){return this.styles.borderBottomWidth}get leftWidth(){return this.styles.borderLeftWidth}get topLeftRadius(){return this.styles.borderTopLeftRadius}get topRightRadius(){return this.styles.borderTopRightRadius}get bottomRightRadius(){return this.styles.borderBottomRightRadius}get bottomLeftRadius(){return this.styles.borderBottomLeftRadius}get imageSource(){return this.styles.borderImageSource}get imageSlice(){return this.styles.borderImageSlice}get imageRepeat(){return this.styles.borderImageRepeat}get boxShadow(){return this.styles.boxShadow}},Vw=class{constructor(t){this.styles=t}get color(){return this.styles.backgroundColor}get image(){return this.styles.backgroundImage}get clip(){return this.styles.backgroundClip}get origin(){return this.styles.backgroundOrigin}get position(){return this.styles.backgroundPosition}get repeat(){return this.styles.backgroundRepeat}get size(){return this.styles.backgroundSize}get blendMode(){return this.styles.backgroundBlendMode}},Gw=class{constructor(t){this.styles=t}get family(){return this.styles.fontFamily}get size(){return this.styles.fontSize}get style(){return this.styles.fontStyle}get variant(){return this.styles.fontVariant}get weight(){return this.styles.fontWeight}get ligatures(){return this.styles.fontVariantLigatures}get color(){return this.styles.color}get letterSpacing(){return this.styles.letterSpacing}get lineHeight(){return this.styles.lineHeight}get textAlign(){return this.styles.textAlign}get textTransform(){return this.styles.textTransform}get textOverflow(){return this.styles.textOverflow}get textShadow(){return this.styles.textShadow}get textDecorationColor(){return this.styles.textDecorationColor}get textDecorationLine(){return this.styles.textDecorationLine}get textDecorationStyle(){return this.styles.textDecorationStyle}get textDecorationThickness(){return this.styles.textDecorationThickness}get textUnderlineOffset(){return this.styles.textUnderlineOffset}get wordBreak(){return this.styles.wordBreak}get lineBreak(){return this.styles.lineBreak}get overflowWrap(){return this.styles.overflowWrap}get writingMode(){return this.styles.writingMode}get direction(){return this.styles.direction}get webkitTextStrokeColor(){return this.styles.webkitTextStrokeColor}get webkitTextStrokeWidth(){return this.styles.webkitTextStrokeWidth}get webkitLineClamp(){return this.styles.webkitLineClamp}get paintOrder(){return this.styles.paintOrder}},jw=class{constructor(t){this.styles=t}get display(){return this.styles.display}get position(){return this.styles.position}get float(){return this.styles.float}get zIndex(){return this.styles.zIndex}get marginTop(){return this.styles.marginTop}get marginRight(){return this.styles.marginRight}get marginBottom(){return this.styles.marginBottom}get marginLeft(){return this.styles.marginLeft}get paddingTop(){return this.styles.paddingTop}get paddingRight(){return this.styles.paddingRight}get paddingBottom(){return this.styles.paddingBottom}get paddingLeft(){return this.styles.paddingLeft}get overflowX(){return this.styles.overflowX}get overflowY(){return this.styles.overflowY}get opacity(){return this.styles.opacity}get visibility(){return this.styles.visibility}get transform(){return this.styles.transform}get transformOrigin(){return this.styles.transformOrigin}get rotate(){return this.styles.rotate}get zoom(){return this.styles.zoom}get clipPath(){return this.styles.clipPath}get mixBlendMode(){return this.styles.mixBlendMode}get filter(){return this.styles.filter}get imageRendering(){return this.styles.imageRendering}get objectFit(){return this.styles.objectFit}get objectPosition(){return this.styles.objectPosition}get boxDecorationBreak(){return this.styles.boxDecorationBreak}get listStyleImage(){return this.styles.listStyleImage}get listStylePosition(){return this.styles.listStylePosition}get listStyleType(){return this.styles.listStyleType}get animationDuration(){return this.styles.animationDuration}isVisible(){return this.styles.isVisible()}
7isTransparent(){return this.styles.isTransparent()}isTransformed(){return this.styles.isTransformed()}isPositioned(){return this.styles.isPositioned()}isPositionedWithZIndex(){return this.styles.isPositionedWithZIndex()}isFloating(){return this.styles.isFloating()}isInlineLevel(){return this.styles.isInlineLevel()}},Ci,qw=(Ci=class{get border(){return this._border??(this._border=new Kw(this))}get background(){return this._background??(this._background=new Vw(this))}get font(){return this._font??(this._font=new Gw(this))}get layout(){return this._layout??(this._layout=new jw(this))}constructor(A,e){const r=Ci.standardProps;if(e.display==="none"){this.display=0;for(const[s,a]of r)s!=="display"&&(this[s]=Ge(A,a,void 0));this.float=Ge(A,Ku,void 0),this.textDecorationColor=Ge(A,ju,void 0),this.textDecorationLine=Ge(A,qu,void 0);const i=Ge(A,Vu,void 0);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0];return}for(const[i,s,a]of r)this[i]=Ge(A,s,e[a]);this.float=Ge(A,Ku,e.cssFloat),this.textDecorationColor=Ge(A,ju,e.textDecorationColor??e.color),this.textDecorationLine=Ge(A,qu,e.textDecorationLine??e.textDecoration);const n=Ge(A,Vu,e.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0]}isVisible(){return this.display>0&&this.opacity>0&&this.visibility===0}isTransparent(){return pn(this.backgroundColor)}isTransformed(){return this.transform!==null||this.rotate!==null}isPositioned(){return this.position!==0}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return this.float!==0}isInlineLevel(){return ve(this.display,4)||ve(this.display,33554432)||ve(this.display,268435456)||ve(this.display,536870912)||ve(this.display,67108864)||ve(this.display,134217728)}},Ci.standardProps=[["animationDuration",gw,"animationDuration"],["backgroundClip",Tp,"backgroundClip"],["backgroundColor",Op,"backgroundColor"],["backgroundImage",Wp,"backgroundImage"],["backgroundOrigin",Xp,"backgroundOrigin"],["backgroundPosition",zp,"backgroundPosition"],["backgroundRepeat",Jp,"backgroundRepeat"],["backgroundSize",Zp,"backgroundSize"],["borderTopColor",A2,"borderTopColor"],["borderRightColor",t2,"borderRightColor"],["borderBottomColor",e2,"borderBottomColor"],["borderLeftColor",r2,"borderLeftColor"],["borderTopLeftRadius",n2,"borderTopLeftRadius"],["borderTopRightRadius",i2,"borderTopRightRadius"],["borderBottomRightRadius",s2,"borderBottomRightRadius"],["borderBottomLeftRadius",o2,"borderBottomLeftRadius"],["borderTopStyle",a2,"borderTopStyle"],["borderRightStyle",c2,"borderRightStyle"],["borderBottomStyle",l2,"borderBottomStyle"],["borderLeftStyle",h2,"borderLeftStyle"],["borderTopWidth",u2,"borderTopWidth"],["borderRightWidth",f2,"borderRightWidth"],["borderBottomWidth",d2,"borderBottomWidth"],["borderLeftWidth",g2,"borderLeftWidth"],["boxShadow",pw,"boxShadow"],["clipPath",b2,"clipPath"],["color",y2,"color"],["direction",F2,"direction"],["display",Q2,"display"],["fontFamily",ow,"fontFamily"],["fontSize",aw,"fontSize"],["fontStyle",hw,"fontStyle"],["fontVariant",lw,"fontVariant"],["fontWeight",cw,"fontWeight"],["letterSpacing",U2,"letterSpacing"],["lineBreak",E2,"lineBreak"],["lineHeight",L2,"lineHeight"],["listStyleImage",x2,"listStyleImage"],["listStylePosition",I2,"listStylePosition"],["listStyleType",zl,"listStyleType"],["marginTop",S2,"marginTop"],["marginRight",N2,"marginRight"],["marginBottom",H2,"marginBottom"],["marginLeft",_2,"marginLeft"],["opacity",rw,"opacity"],["overflowWrap",D2,"overflowWrap"],["paddingTop",k2,"paddingTop"],["paddingRight",M2,"paddingRight"],["paddingBottom",T2,"paddingBottom"],["paddingLeft",O2,"paddingLeft"],["paintOrder",ww,"paintOrder"],["position",R2,"position"],["textAlign",P2,"textAlign"],["textDecorationStyle",nw,"textDecorationStyle"],["textDecorationThickness",iw,"textDecorationThickness"],["textUnderlineOffset",sw,"textUnderlineOffset"],["textShadow",K2,"textShadow"],["textTransform",V2,"textTransform"],["textOverflow",Qw,"textOverflow"],["transform",G2,"transform"],["transformOrigin",J2,"transformOrigin"],["rotate",Y2,"rotate"],["visibility",Z2,"visibility"],["webkitTextStrokeColor",mw,"webkitTextStrokeColor"],["
7webkitTextStrokeWidth",Cw,"webkitTextStrokeWidth"],["webkitLineClamp",bw,"webkitLineClamp"],["wordBreak",$2,"wordBreak"],["whiteSpace",Aw,"whiteSpace"],["writingMode",tw,"writingMode"],["zIndex",ew,"zIndex"],["objectFit",yw,"objectFit"],["imageRendering",vw,"imageRendering"],["mixBlendMode",Ew,"mixBlendMode"],["filter",Lw,"filter"],["fontVariantLigatures",Iw,"fontVariantLigatures"],["zoom",Sw,"zoom"],["objectPosition",Nw,"objectPosition"],["backgroundBlendMode",_w,"backgroundBlendMode"],["borderImageSource",Dw,"borderImageSource"],["borderImageSlice",Mw,"borderImageSlice"],["borderImageRepeat",Ow,"borderImageRepeat"],["boxDecorationBreak",Pw,"boxDecorationBreak"]],Ci),Ww=class{constructor(t,A){this.content=Ge(t,uw,A.content),this.quotes=Ge(t,Bw,A.quotes)}},Xu=class{constructor(t,A){this.counterIncrement=Ge(t,fw,A.counterIncrement),this.counterReset=Ge(t,dw,A.counterReset)}};const zu=new Map,Ge=(t,A,e)=>{let r=e!==null&&typeof e<"u"?e.toString():A.initialValue;r.trim()===""&&(r=A.initialValue);let n=zu.get(A);if(n){const c=n.get(r);if(c!==void 0)return n.delete(r),n.set(r,c),c}const i=jl.get();i.write(r);const s=new Gd(i.read());jl.release(i);const a=(()=>{switch(A.type){case 2:{const c=s.parseComponentValue();return A.parse(t,$A(c)?c.value:A.initialValue)}case 0:return A.parse(t,s.parseComponentValue());case 1:return A.parse(t,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(A.format){case"angle":return ms.parse(t,s.parseComponentValue());case"color":return On.parse(t,s.parseComponentValue());case"image":return Ac.parse(t,s.parseComponentValue());case"length":{const c=s.parseComponentValue();return Pn(c)?c:se}case"length-percentage":{const c=s.parseComponentValue();return Ft(c)?c:se}case"time":return U1.parse(t,s.parseComponentValue())}}})();
7if(n||(n=new Map,zu.set(A,n)),!(A.skipCache||A.type===3&&A.format==="image")){if(n.size>=200){const c=n.keys().next().value;n.delete(c)}n.set(r,a)}return a},Xw="data-html2canvas-debug",zw=t=>{if(typeof t.getAttribute!="function")return 0;switch(t.getAttribute(Xw)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$l=(t,A)=>{const e=zw(t);return e===1||A===e},Jw="data-html2canvas-ignore";var Yw=class{constructor(t,A,e){this.cloneNodeFn=t,this.options=A,this.context=e}appendChildNode(t,A,e){this.safeAppendClonedChild(t,A,e)}cloneChildNodes(t,A,e){t.shadowRoot&&A.shadowRoot?(this.cloneShadowDOMChildren(t.shadowRoot,A.shadowRoot,e),this.cloneLightDOMChildren(t,A,e)):t.shadowRoot&&!A.shadowRoot?this.cloneShadowDOMAsLightDOM(t.shadowRoot,A,e):this.cloneLightDOMChildren(t,A,e)}shouldCloneChild(t){return!fi(t)||!Up(t)&&!t.hasAttribute("data-html2canvas-ignore")&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t))}shouldCloneStyleElement(t){return!this.options.copyStyles||!fi(t)||!u1(t)}safeAppendClonedChild(t,A,e){this.shouldCloneChild(A)&&this.shouldCloneStyleElement(A)&&t.appendChild(this.cloneNodeFn(A,e))}cloneAssignedNodes(t,A,e){t.forEach(r=>{this.safeAppendClonedChild(A,r,e)})}cloneSlotFallbackContent(t,A,e){for(let r=t.firstChild;r;r=r.nextSibling)this.safeAppendClonedChild(A,r,e)}cloneSlotElement(t,A,e){if(!ro(t))return;const r=t;if(typeof r.assignedNodes!="function"){this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",t),this.cloneSlotFallbackContent(t,A,e);return}const n=r.assignedNodes();if(!n||!Array.isArray(n)){this.context.logger.warn("assignedNodes() did not return a valid array",t),this.cloneSlotFallbackContent(t,A,e);return}n.length>0?this.cloneAssignedNodes(n,A,e):this.cloneSlotFallbackContent(t,A,e)}cloneShadowDOMChildren(t,A,e){for(let r=t.firstChild;r;r=r.nextSibling)fi(r)&&ro(r)?this.cloneSlotElement(r,A,e):this.safeAppendClonedChild(A,r,e)}cloneLightDOMChildren(t,A,e){for(let r=t.firstChild;r;r=r.nextSibling)this.appendChildNode(A,r,e)}cloneSlotElementAsLightDOM(t,A,e){if(!ro(t))return;const r=t;if(typeof r.assignedNodes!="function"){for(let i=t.firstChild;i;i=i.nextSibling)this.appendChildNode(A,i,e);return}const n=r.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(i=>this.appendChildNode(A,i,e));else for(let i=t.firstChild;i;i=i.nextSibling)this.appendChildNode(A,i,e)}cloneShadowDOMAsLightDOM(t,A,e){for(let r=t.firstChild;r;r=r.nextSibling)fi(r)&&ro(r)?this.cloneSlotElementAsLightDOM(r,A,e):this.appendChildNode(A,r,e)}};const Zw=t=>{let A=t;for(;A;){if(A.parentNode&&A.parentNode.host)return A.parentNode;const e=A.getRootNode();if(e&&e!==A.ownerDocument&&e.host)return e;A=A.parentNode}return null};var tl=class{constructor(t,A,e){if(this.context=t,this.options=e,this.scrolledElements=[],this.referenceElement=A,this.counters=new Sp,this.quoteDepth=0,this.slotCloner=new Yw((r,n)=>this.cloneNode(r,n),{ignoreElements:e.ignoreElements,copyStyles:e.copyStyles??!0},t),!A.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const r=Zw(A);r&&(this.options.iframeContainer=r)}this.documentElement=this.cloneNode(A.ownerDocument.documentElement,!1)}toIFrame(t,A){var p,w;const e=$w(t,A,this.options.iframeContainer);if(!e.contentWindow)throw new Error("Unable to find iframe window");const r=t.defaultView.pageXOffset,n=t.defaultView.pageYOffset,i=e.contentWindow,s=i.document,a=e5(e).then(async()=>{this.scrolledElements.forEach(s5),i&&i.scrollTo(A.left,A.top);const d=this.options.onclone,v=this.clonedReferenceElement;if(typeof v>"u")throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return s.fonts&&s.fonts.ready&&await s.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await t5(s),typeof d=="function"&&await Promise.resolve().then(()=>d(s,v)),i.scrollTo(A.left,A.top),/AppleWebKit/g.test(navigator.userAgent)&&(i.scrollY!==A.top||i.scrollX!==A.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-A.left,i.scrollY-A.top,0,0)),e}),c=t.baseURI;s.open();const h=n5(document.doctype)+"<html></html>";
7try{const d=(p=this.referenceElement.ownerDocument)==null?void 0:p.defaultView,v=d&&d.trustedTypes;let F=(w=v==null?void 0:v.getPolicy)==null?void 0:w.call(v,"html2canvas-pro");!F&&v&&(F=v.createPolicy("html2canvas-pro",{createHTML:b=>b}));const L=F?F.createHTML(h):h;s.write(L)}catch{s.write(h)}i5(this.referenceElement.ownerDocument,r,n),s.close();const u=s.adoptNode(this.documentElement);return h5(u,c),s.replaceChild(u,s.documentElement),a}createElementClone(t){if($l(t,2))debugger;if(l1(t))return this.createCanvasClone(t);if(Hu(t))return this.createVideoClone(t);if(u1(t))return this.createStyleClone(t);const A=t.cloneNode(!1);return Xl(A)&&(Xl(t)&&t.currentSrc&&t.currentSrc!==t.src&&(A.src=t.currentSrc,A.srcset=""),A.loading==="lazy"&&(A.loading="eager")),_u(A)&&!di(A)?this.createCustomElementClone(t,A):A}createCustomElementClone(t,A){const e=document.createElement("div");e.className=A.className,el(A.style,e);const r=A.attributes;for(let n=0;n<r.length;n++){const i=r[n];i.name!=="class"&&i.name!=="style"&&e.setAttribute(i.name,i.value)}if(t.shadowRoot)try{e.attachShadow({mode:"open"})}catch(n){this.context.logger.error("Failed to attach shadow root to custom element clone:",n)}return e}createStyleClone(t){try{const e=t.sheet;if(e&&e.cssRules){const r=[].slice.call(e.cssRules,0).reduce((i,s)=>s&&typeof s.cssText=="string"?i+s.cssText:i,""),n=t.cloneNode(!1);return n.textContent=r,this.options.cspNonce&&(n.nonce=this.options.cspNonce),n}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),e.name!=="SecurityError")throw e}const A=t.cloneNode(!1);return this.options.cspNonce&&(A.nonce=this.options.cspNonce),A}createCanvasClone(t){var e;if(this.options.inlineImages&&t.ownerDocument){const r=t.ownerDocument.createElement("img");try{return r.src=t.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}const A=t.cloneNode(!1);try{A.width=t.width,A.height=t.height;const r=t.getContext("2d"),n=A.getContext("2d",{willReadFrequently:!0});if(n)if(!this.options.allowTaint&&r)n.putImageData(r.getImageData(0,0,t.width,t.height),0,0);else{const i=t.getContext("webgl2")??t.getContext("webgl");i&&((e=i.getContextAttributes())==null?void 0:e.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t),n.drawImage(t,0,0)}return A}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return A}createVideoClone(t){const A=t.ownerDocument.createElement("canvas");A.width=t.offsetWidth,A.height=t.offsetHeight;const e=A.getContext("2d");try{return e&&(e.drawImage(t,0,0,A.width,A.height),this.options.allowTaint||e.getImageData(0,0,A.width,A.height)),A}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}const r=t.ownerDocument.createElement("canvas");return r.width=t.offsetWidth,r.height=t.offsetHeight,r}appendChildNode(t,A,e){this.slotCloner.appendChildNode(t,A,e)}cloneChildNodes(t,A,e){this.slotCloner.cloneChildNodes(t,A,e)}cloneNode(t,A){if(a1(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);const e=t.ownerDocument.defaultView;if(e&&fi(t)&&(ho(t)||di(t))){const r=this.createElementClone(t);r.style.transitionProperty="none";const n=e.getComputedStyle(t),i=Ip(t);this.referenceElement===t&&ho(r)&&(this.clonedReferenceElement=r),Fh(r)&&c5(r,this.options.cspNonce);const s=this.counters.parse(new Xu(this.context,n));if(i){const a=e.getComputedStyle(t,":before"),c=this.resolvePseudoContent(t,r,a,0);c&&r.insertBefore(c,r.firstChild);const h=e.getComputedStyle(t,":after"),u=this.resolvePseudoContent(t,r,h,1);u&&r.appendChild(u)}return _u(t)&&(A=!0),Hu(t)||this.cloneChildNodes(t,r,A),this.counters.pop(s),(n&&(this.options.copyStyles||di(t))&&!h1(t)||A)&&el(n,r),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([r,t.scrollLeft,t.scrollTop]),(Oa(t)||Pa(t))&&(Oa(r)||Pa(r))&&(r.value=t.value),r}return t.cloneNode(!1)}resolvePseudoContent(t,A,e,r){if(!e)return;const n=e.content,i=A.ownerDocument;if(!i||!n||n==="none"||n==="-moz-alt-content"||e.display==="none")return;this.counters.parse(new Xu(this.context,e));const s=new Ww(this.context,e),a=i.createElement("html2canvaspseudoelement");el(e,a),s.content.forEach(h=>{if(h.type===0)a.appendChild(i.createTextNode(h.value));else if(h.type===22){const u=i.createElement("img");u.src=h.value,u.style.opacity="1",a.appendChild(u)}else if(h.type===18){if(h.name==="attr"){const u=h.values.filter($A);u.length&&a.appendChild(i.createTextNode(t.getAttribute(u[0].value)||""))}
7else if(h.name==="counter"){const[u,p]=h.values.filter(Be);if(u&&$A(u)){const w=this.counters.getCounterValue(u.value),d=p&&$A(p)?zl.parse(this.context,p.value):3;a.appendChild(i.createTextNode(uo(w,d,!1)))}}else if(h.name==="counters"){const[u,p,w]=h.values.filter(Be);if(u&&$A(u)){const d=this.counters.getCounterValues(u.value),v=w&&$A(w)?zl.parse(this.context,w.value):3,F=p&&p.type===0?p.value:"",L=d.map(b=>uo(b,v,!1)).join(F);a.appendChild(i.createTextNode(L))}}}else if(h.type===20)switch(h.value){case"open-quote":a.appendChild(i.createTextNode(Wu(s.quotes,this.quoteDepth++,!0)));break;case"close-quote":a.appendChild(i.createTextNode(Wu(s.quotes,--this.quoteDepth,!1)));break;default:a.appendChild(i.createTextNode(h.value))}}),a.className=`${Ah} ${th}`;const c=r===0?` ${Ah}`:` ${th}`;return di(A)?A.className.baseValue+=c:A.className+=c,a}static destroy(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1}};const $w=(t,A,e)=>{const r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(Jw,"true"),(e||t.body).appendChild(r),r},A5=t=>new Promise(A=>{if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A}),t5=t=>Promise.all([].slice.call(t.images,0).map(A5)),e5=t=>new Promise((A,e)=>{const r=t.contentWindow;if(!r)return e("No window assigned for iframe");const n=r.document;r.onload=t.onload=()=>{r.onload=t.onload=null;const i=600;let s=0;const a=setInterval(()=>{s++,(n.body.childNodes.length>0&&n.readyState==="complete"||s>=i)&&(clearInterval(a),A(t))},50)}}),r5=["all","d","content"],el=(t,A)=>{const e=[];for(let r=t.length-1;r>=0;r--){const n=t.item(r);if(r5.indexOf(n)===-1&&!n.startsWith("--")){const i=t.getPropertyValue(n);if(i){const s=t.getPropertyPriority(n);e.push(s?`${n}:${i} !${s}`:`${n}:${i}`)}}}return e.length>0&&(A.style.cssText=e.join(";")+";"),A},n5=t=>{let A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=" "+t.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),t.publicId?(A+=' PUBLIC "'+t.publicId.replace(/"/g,"&quot;")+'"',t.systemId&&(A+=' "'+t.systemId.replace(/"/g,"&quot;")+'"')):t.systemId&&(A+=' SYSTEM "'+t.systemId.replace(/"/g,"&quot;")+'"'),A+=">"),A},i5=(t,A,e)=>{t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},s5=([t,A,e])=>{t.scrollLeft=A,t.scrollTop=e},o5=":before",a5=":after",Ah="___html2canvas___pseudoelement_before",th="___html2canvas___pseudoelement_after",Ju=`{
8    content: "" !important;
9    display: none !important;
10}`,c5=(t,A)=>{l5(t,`.${Ah}${o5}${Ju}
11         .${th}${a5}${Ju}`,A)},l5=(t,A,e)=>{const r=t.ownerDocument;if(r){const n=r.createElement("style");n.textContent=A,e&&(n.nonce=e),t.appendChild(n)}},h5=(t,A)=>{const e=t.ownerDocument.createElement("base");e.href=A;const r=t.getElementsByTagName("head").item(0);r==null||r.insertBefore(e,(r==null?void 0:r.firstChild)??null)};var Yu=class{static normalizeElement(t,A){const e={};return ho(t)&&(A.animationDuration.some(r=>r>0)&&(e.animationDuration=t.style.animationDuration,t.style.animationDuration="0s"),A.transform!==null&&(e.transform=t.style.transform,t.style.transform="translate(0, 0)"),A.rotate!==null&&(e.rotate=t.style.rotate,t.style.rotate="0deg",e.transform===void 0&&(e.transform=t.style.transform,t.style.transform="translate(0, 0)"))),e}static restoreElement(t,A){ho(t)&&(A.animationDuration!==void 0&&(t.style.animationDuration=A.animationDuration),A.transform!==void 0&&(t.style.transform=A.transform),A.rotate!==void 0&&(t.style.rotate=A.rotate))}},zr=class{constructor(t,A,e={}){if(this.context=t,this.textNodes=[],this.elements=[],this.createsStackingContext=!1,this.createsRealStackingContext=!1,this.isListOwner=!1,this.debugRender=!1,$l(A,3))debugger;if(this.styles=new qw(t,t.config.window.getComputedStyle(A,null)),e.normalizeDom!==!1&&ho(A)&&(this.originalStyles=Yu.normalizeElement(A,this.styles),this.originalElement=A),this.bounds=ao(this.context,A),A.tagName==="FIELDSET"){const r=A.querySelector(":scope > legend");if(r){const n=ao(this.context,r);this.legendBounds=n;const i=n.top+n.height/2-this.styles.borderTopWidth/2;this.bounds=new gr(this.bounds.left,i,this.bounds.width,this.bounds.height-(i-this.bounds.top))}}$l(A,4)&&(this.debugRender=!0)}restore(){this.originalStyles&&this.originalElement&&(Yu.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}
11restoreTree(){this.restore();for(const t of this.elements)t.restoreTree()}},u5=
vendor: 26,159 bytes, line 11
11"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
11Zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 10,866 bytes, line 11
11+/",no=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ha=0;ha<Zu.length;ha++)no[Zu.charCodeAt(ha)]=ha;var f5=function(t){var A=t.length*.75,e=t.length,r,n=0,i,s,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var h=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),u=Array.isArray(h)?h:new Uint8Array(h);for(r=0;r<e;r+=4)i=no[t.charCodeAt(r)],s=no[t.charCodeAt(r+1)],a=no[t.charCodeAt(r+2)],c=no[t.charCodeAt(r+3)],u[n++]=i<<2|s>>4,u[n++]=(s&15)<<4|a>>2,u[n++]=(a&3)<<6|c&63;return h},d5=function(t){for(var A=t.length,e=[],r=0;r<A;r+=2)e.push(t[r+1]<<8|t[r]);return e},g5=function(t){for(var A=t.length,e=[],r=0;r<A;r+=4)e.push(t[r+3]<<24|t[r+2]<<16|t[r+1]<<8|t[r]);return e},Bi=5,Qh=11,rl=2,B5=Qh-Bi,L1=65536>>Bi,nl=(1<<Bi)-1,p5=L1+(1024>>Bi)+32,w5=65536>>Qh,m5=(1<<B5)-1,$u=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},C5=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},b5=function(t,A){var e=f5(t),r=Array.isArray(e)?g5(e):new Uint32Array(e),n=Array.isArray(e)?d5(e):new Uint16Array(e),i=24,s=$u(n,i/2,r[4]/2),a=r[5]===2?$u(n,(i+r[4])/2):C5(r,Math.ceil((i+r[4])/4));return new y5(r[0],r[1],r[2],r[3],s,a)},y5=function(){function t(A,e,r,n,i,s){this.initialValue=A,this.errorValue=e,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Bi],e=(e<<rl)+(A&nl),this.data[e];if(A<=65535)return e=this.index[L1+(A-55296>>Bi)],e=(e<<rl)+(A&nl),this.data[e];if(A<this.highStart)return e=p5-w5+(A>>Qh),e=this.index[e],e+=A>>Bi&m5,e=this.index[e],e=(e<<rl)+(A&nl),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Af="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",F5=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ua=0;ua<Af.length;ua++)F5[Af.charCodeAt(ua)]=ua;var Q5=1,il=2,sl=3,tf=4,ef=5,v5=7,rf=8,ol=9,al=10,nf=11,sf=12,of=13,af=14,cl=15,U5=function(t){for(var A=[],e=0,r=t.length;e<r;){var n=t.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),e--)}else A.push(n)}return A},E5=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=t[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},L5=b5(u5),lr="×",ll="÷",x5=function(t){return L5.get(t)},I5=function(t,A,e){var r=e-2,n=A[r],i=A[e-1],s=A[e];if(i===il&&s===sl)return lr;if(i===il||i===sl||i===tf||s===il||s===sl||s===tf)return ll;if(i===rf&&[rf,ol,nf,sf].indexOf(s)!==-1||(i===nf||i===ol)&&(s===ol||s===al)||(i===sf||i===al)&&s===al||s===of||s===ef||s===v5||i===Q5)return lr;if(i===of&&s===af){for(;n===ef;)n=A[--r];if(n===af)return lr}if(i===cl&&s===cl){for(var a=0;n===cl;)a++,n=A[--r];if(a%2===0)return lr}return ll},S5=function(t){var A=U5(t),e=A.length,r=0,n=0,i=A.map(x5);return{next:function(){if(r>=e)return{done:!0,value:null};for(var s=lr;r<e&&(s=I5(A,i,++r))===lr;);if(s!==lr||r===e){var a=E5.apply(null,A.slice(n,r));return n=r,{value:a,done:!1}}return{done:!0,value:null}}}},N5=function(t){for(var A=S5(t),e=[],r;!(r=A.next()).done;)r.value&&e.push(r.value.slice());return e};const H5=t=>{if(t.createRange){const e=t.createRange();if(e.getBoundingClientRect){const r=t.createElement("boundtest");r.style.height="123px",r.style.display="block",t.body.appendChild(r),e.selectNode(r);const n=e.getBoundingClientRect(),i=Math.round(n.height);if(t.body.removeChild(r),i===123)return!0}}return!1},_5=t=>{const A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);const e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";const r=A.firstChild,n=Xa(r.data).map(c=>ee(c));let i=0,s={};const a=n.every((c,h)=>{e.setStart(r,i),e.setEnd(r,i+c.length);const u=e.getBoundingClientRect();i+=c.length;const p=u.x>s.x||u.y>s.y;return s=u,h===0?!0:p});return t.body.removeChild(A),a},D5=()=>typeof new Image().crossOrigin<"u",k5=()=>typeof new XMLHttpRequest().responseType=="string",M5=t=>{const A=new Image,e=t.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},cf=t=>t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255,T5=t=>{const A=t.createElement("canvas"),e=100;A.width=e,A.height=e;const r=A.getContext("2d");if(!r)return Promise.reject(new Error("Failed to get 2D rendering context"));r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const n=new Image,i=A.toDataURL();n.src=i;const s=eh(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),rh(s).then(a=>{r.drawImage(a,0,0);const c=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const h=t.createElement("div");return h.style.backgroundImage=`url(${i})`,h.style.height=`${e}px`,cf(c)?rh(eh(e,e,0,0,h)):Promise.reject(new Error("ForeignObject rendering not supported"))}).then(a=>(r.drawImage(a,0,0),cf(r.getImageData(0,0,e,e).data))).catch(()=>!1)},eh=(t,A,e,r,n)=>{const i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(n),s},rh=t=>new Promise((A,e)=>{const r=new Image;r.onload=()=>A(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}),Qe={get SUPPORT_RANGE_BOUNDS(){const t=H5(document);return Object.defineProperty(Qe,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){const t=Qe.SUPPORT_RANGE_BOUNDS&&_5(document);return Object.defineProperty(Qe,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){const t=M5(document);return Object.defineProperty(Qe,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){const t=typeof Array.from=="function"&&typeof window.fetch=="function"?T5(document):Promise.resolve(!1);return Object.defineProperty(Qe,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){const t=D5();return Object.defineProperty(Qe,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){const t=k5();return Object.defineProperty(Qe,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){const t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Qe,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Qe,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}};var pi=class{constructor(t,A){this.text=t,this.bounds=A}};const O5=(t,A,e,r)=>{const n=K5(A,e),i=[];let s=0;return n.forEach(a=>{if(e.textDecorationLine.length||a.trim().length>0)if(Qe.SUPPORT_RANGE_BOUNDS){const c=lf(r,s,a.length).getClientRects();if(c.length>1){const h=wi(a);let u=0;h.forEach(p=>{i.push(new pi(p,gr.fromDOMRectList(t,lf(r,u+s,p.length).getClientRects()))),u+=p.length})}else i.push(new pi(a,gr.fromDOMRectList(t,c)))}else{const c=r.splitText(a.length);i.push(new pi(a,P5(t,r))),r=c}else Qe.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));s+=a.length}),i},P5=(t,A)=>{const e=A.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));const n=A.parentNode;if(n){n.replaceChild(r,A);const i=ao(t,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return gr.EMPTY},lf=(t,A,e)=>{const r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");const n=r.createRange();return n.setStart(t,A),n.setEnd(t,A+e),n},wi=t=>{if(Qe.SUPPORT_NATIVE_TEXT_SEGMENTATION){const A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(e=>e.segment)}return N5(t)},R5=(t,A)=>{if(Qe.SUPPORT_NATIVE_TEXT_SEGMENTATION){const e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(r=>r.segment)}return G5(t,A)},K5=(t,A)=>Ra(A.writingMode)||A.letterSpacing!==0?wi(t):R5(t,A),V5=[32,160,4961,65792,65793,4153,4241],G5=(t,A)=>{const e=$0(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[];let n;for(;!(n=e.next()).done;)if(n.value){const i=Xa(n.value.slice());let s="";i.forEach(a=>{V5.indexOf(a)===-1?s+=ee(a):(s.length&&r.push(s),r.push(ee(a)),s="")}),s.length&&r.push(s)}return r};var j5=class{constructor(t,A,e){this.text=q5(A.data,e.textTransform),this.text.length!==A.data.length&&(A.data=this.text),this.textBounds=O5(t,this.text,e,A)}};const q5=(t,A)=>{switch(A){case 1:return t.toLowerCase();case 3:return t.replace(W5,X5);case 2:return t.toUpperCase();default:return t}},W5=/(^|\s|:|-|\(|\))([a-z])/g,X5=(t,A,e)=>t.length>0?A+e.toUpperCase():t;var x1=class extends zr{constructor(t,A){super(t,A),this.src=A.currentSrc||A.src,this.intrinsicWidth=A.naturalWidth,this.intrinsicHeight=A.naturalHeight,this.context.cache.addImage(this.src)}},I1=class extends zr{constructor(t,A){super(t,A),this.canvas=A,this.intrinsicWidth=A.width,this.intrinsicHeight=A.height}},S1=class extends zr{constructor(t,A){super(t,A);const e=new XMLSerializer,r=ao(t,A);A.setAttribute("width",`${r.width}px`),A.setAttribute("height",`${r.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(e.serializeToString(A))}`,this.intrinsicWidth=A.width.baseVal.value,this.intrinsicHeight=A.height.baseVal.value,this.context.cache.addImage(this.svg)}},N1=class extends zr{constructor(t,A){super(t,A),this.value=A.value}},nh=class extends zr{constructor(t,A){super(t,A),this.start=A.start,this.reversed=typeof A.reversed=="boolean"&&A.reversed===!0}};const z5=[{type:15,flags:0,unit:"px",number:3}],J5=[{type:16,flags:0,number:50}],Y5=t=>t.width>t.height?new gr(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new gr(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t,Z5=t=>{const A=t.type==="password"?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},$5=t=>t.value.length===0&&!!t.placeholder,Am="checkbox",tm="radio",hf=707406591,em=1970632191;var ls=class extends zr{constructor(t,A){switch(super(t,A),this.type=A.type.toLowerCase(),this.checked=A.checked,this.value=Z5(A),this.isPlaceholder=$5(A),(this.t
11ype==="checkbox"||this.type==="radio")&&(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=Y5(this.bounds)),this.type){case Am:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=z5;break;case tm:this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=J5;break}}},H1=class extends zr{constructor(t,A){super(t,A);const e=A.options[A.selectedIndex||0];this.value=e&&e.text||""}},_1=class extends zr{constructor(t,A){super(t,A),this.value=A.value}},D1=class extends zr{constructor(t,A,e){super(t,A),this.src=A.src,this.width=parseInt(A.width,10)||0,this.height=parseInt(A.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=e;try{if(A.contentWindow&&A.contentWindow.document&&A.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(t,A.contentWindow.document.documentElement);const r=A.contentWindow.document.documentElement?us(t,getComputedStyle(A.contentWindow.document.documentElement).backgroundColor):Wr.TRANSPARENT,n=A.contentWindow.document.body?us(t,getComputedStyle(A.contentWindow.document.body).backgroundColor):Wr.TRANSPARENT;this.backgroundColor=pn(r)?pn(n)?this.styles.backgroundColor:n:r}}catch{}}};const rm=["OL","UL","MENU"],ih=(t,A,e,r)=>{for(let n=A.firstChild,i;n;n=i)i=n.nextSibling,k1(t,n,e,r)},k1=(t,A,e,r)=>{if(a1(A)&&A.data.length>0)e.textNodes.push(new j5(t,A,e.styles));else if(fi(A))if(ro(A)&&A.assignedNodes)A.assignedNodes().forEach(n=>k1(t,n,e,r));else{const n=M1(t,A);n.styles.isVisible()&&(nm(A,n,r)?n.createsRealStackingContext=!0:im(n.styles)&&(n.createsStackingContext=!0),rm.indexOf(A.tagName)!==-1&&(n.isListOwner=!0),e.elements.push(n),A.shadowRoot?ih(t,A.shadowRoot,n,r):!Oa(A)&&!c1(A)&&!Pa(A)&&ih(t,A,n,r))}},M1=(t,A)=>Xl(A)?new x1(t,A):l1(A)?new I1(t,A):c1(A)?new S1(t,A):Ep(A)?new N1(t,A):Lp(A)?new nh(t,A):Qp(A)?new ls(t,A):Pa(A)?new H1(t,A):Oa(A)?new _1(t,A):h1(A)?new D1(t,A,T1):new zr(t,A),T1=(t,A)=>{const e=M1(t,A);return e.createsRealStackingContext=!0,ih(t,A,e,e),e},nm=(t,A,e)=>A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Fh(t)&&e.styles.isTransparent(),im=t=>t.isPositioned()||t.isFloating()?!0:ve(t.display,268435456)||ve(t.display,33554432)||ve(t.display,536870912)||ve(t.display,134217728),uf=(t,A)=>t.length===A.length?t.some((e,r)=>e===A[r]):!1,sm=(t,A,e,r,n)=>t.map((i,s)=>{switch(s){case 0:return i.add(A,e);case 1:return i.add(A+r,e);case 2:return i.add(A+r,e+n);case 3:return i.add(A,e+n)}return i});var EA=class O1{constructor(A,e){this.type=0,this.x=A,this.y=e}add(A,e){return new O1(this.x+A,this.y+e)}};const ts=(t,A,e)=>new EA(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e);var fa=class io{constructor(A,e,r,n){this.type=1,this.start=A,this.startControl=e,this.endControl=r,this.end=n}subdivide(A,e){const r=ts(this.start,this.startControl,A),n=ts(this.startControl,this.endControl,A),i=ts(this.endControl,this.end,A),s=ts(r,n,A),a=ts(n,i,A),c=ts(s,a,A);return e?new io(this.start,r,s,c):new io(c,a,i,this.end)}add(A,e){return new io(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))}reverse(){return new io(this.end,this.endControl,this.startControl,this.start)}};const fr=t=>t.type===1;var om=class{constructor(t){const A=t.styles,e=t.bounds;let[r,n]=eo(A.borderTopLeftRadius,e.width,e.height),[i,s]=eo(A.borderTopRightRadius,e.width,e.height),[a,c]=eo(A.borderBottomRightRadius,e.width,e.height),[h,u]=eo(A.borderBottomLeftRadius,e.width,e.height);const p=[];p.push((r+i)/e.width),p.push((h+a)/e.width),p.push((n+u)/e.height),p.push((s+c)/e.height);const w=Math.max(...p);w>1&&(r/=w,n/=w,i/=w,s/=w,a/=w,c/=w,h/=w,u/=w);const d=e.width-i,v=e.height-c,F=e.width-a,L=e.height-u,b=A.borderTopWidth,M=A.borderRightWidth,T=A.borderBottomWidth,S=A.borderLeftWidth,AA=XA(A.paddingTop,t.bounds.width),sA=XA(A.paddingRight,t.bounds.width),Z=XA(A.paddingBottom,t.bounds.width),j=XA(A.paddingLeft,t.bounds.width);
11this.topLeftBorderDoubleOuterBox=r>0||n>0?Rt(e.left+S/3,e.top+b/3,r-S/3,n-b/3,0):new EA(e.left+S/3,e.top+b/3),this.topRightBorderDoubleOuterBox=r>0||n>0?Rt(e.left+d,e.top+b/3,i-M/3,s-b/3,1):new EA(e.left+e.width-M/3,e.top+b/3),this.bottomRightBorderDoubleOuterBox=a>0||c>0?Rt(e.left+F,e.top+v,a-M/3,c-T/3,2):new EA(e.left+e.width-M/3,e.top+e.height-T/3),this.bottomLeftBorderDoubleOuterBox=h>0||u>0?Rt(e.left+S/3,e.top+L,h-S/3,u-T/3,3):new EA(e.left+S/3,e.top+e.height-T/3),this.topLeftBorderDoubleInnerBox=r>0||n>0?Rt(e.left+S*2/3,e.top+b*2/3,r-S*2/3,n-b*2/3,0):new EA(e.left+S*2/3,e.top+b*2/3),this.topRightBorderDoubleInnerBox=r>0||n>0?Rt(e.left+d,e.top+b*2/3,i-M*2/3,s-b*2/3,1):new EA(e.left+e.width-M*2/3,e.top+b*2/3),this.bottomRightBorderDoubleInnerBox=a>0||c>0?Rt(e.left+F,e.top+v,a-M*2/3,c-T*2/3,2):new EA(e.left+e.width-M*2/3,e.top+e.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=h>0||u>0?Rt(e.left+S*2/3,e.top+L,h-S*2/3,u-T*2/3,3):new EA(e.left+S*2/3,e.top+e.height-T*2/3),this.topLeftBorderStroke=r>0||n>0?Rt(e.left+S/2,e.top+b/2,r-S/2,n-b/2,0):new EA(e.left+S/2,e.top+b/2),this.topRightBorderStroke=r>0||n>0?Rt(e.left+d,e.top+b/2,i-M/2,s-b/2,1):new EA(e.left+e.width-M/2,e.top+b/2),this.bottomRightBorderStroke=a>0||c>0?Rt(e.left+F,e.top+v,a-M/2,c-T/2,2):new EA(e.left+e.width-M/2,e.top+e.height-T/2),this.bottomLeftBorderStroke=h>0||u>0?Rt(e.left+S/2,e.top+L,h-S/2,u-T/2,3):new EA(e.left+S/2,e.top+e.height-T/2),this.topLeftBorderBox=r>0||n>0?Rt(e.left,e.top,r,n,0):new EA(e.left,e.top),this.topRightBorderBox=i>0||s>0?Rt(e.left+d,e.top,i,s,1):new EA(e.left+e.width,e.top),this.bottomRightBorderBox=a>0||c>0?Rt(e.left+F,e.top+v,a,c,2):new EA(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=h>0||u>0?Rt(e.left,e.top+L,h,u,3):new EA(e.left,e.top+e.height),this.topLeftPaddingBox=r>0||n>0?Rt(e.left+S,e.top+b,Math.max(0,r-S),Math.max(0,n-b),0):new EA(e.left+S,e.top+b),this.topRightPaddingBox=i>0||s>0?Rt(e.left+Math.min(d,e.width-M),e.top+b,d>e.width+M?0:Math.max(0,i-M),Math.max(0,s-b),1):new EA(e.left+e.width-M,e.top+b),this.bottomRightPaddingBox=a>0||c>0?Rt(e.left+Math.min(F,e.width-S),e.top+Math.min(v,e.height-T),Math.max(0,a-M),Math.max(0,c-T),2):new EA(e.left+e.width-M,e.top+e.height-T),this.bottomLeftPaddingBox=h>0||u>0?Rt(e.left+S,e.top+Math.min(L,e.height-T),Math.max(0,h-S),Math.max(0,u-T),3):new EA(e.left+S,e.top+e.height-T),this.topLeftContentBox=r>0||n>0?Rt(e.left+S+j,e.top+b+AA,Math.max(0,r-(S+j)),Math.max(0,n-(b+AA)),0):new EA(e.left+S+j,e.top+b+AA),this.topRightContentBox=i>0||s>0?Rt(e.left+Math.min(d,e.width+S+j),e.top+b+AA,d>e.width+S+j?0:i-S+j,s-(b+AA),1):new EA(e.left+e.width-(M+sA),e.top+b+AA),this.bottomRightContentBox=a>0||c>0?Rt(e.left+Math.min(F,e.width-(S+j)),e.top+Math.min(v,e.height+b+AA),Math.max(0,a-(M+sA)),c-(T+Z),2):new EA(e.left+e.width-(M+sA),e.top+e.height-(T+Z)),this.bottomLeftContentBox=h>0||u>0?Rt(e.left+S+j,e.top+L,Math.max(0,h-(S+j)),u-(T+Z),3):new EA(e.left+S+j,e.top+e.height-(T+Z))}};const Rt=(t,A,e,r,n)=>{const i=4*((Math.sqrt(2)-1)/3),s=e*i,a=r*i,c=t+e,h=A+r;switch(n){case 0:return new fa(new EA(t,h),new EA(t,h-a),new EA(c-s,A),new EA(c,A));case 1:return new fa(new EA(t,A),new EA(t+s,A),new EA(c,h-a),new EA(c,h));case 2:return new fa(new EA(c,A),new EA(c,A+a),new EA(t+s,h),new EA(t,h));default:return new fa(new EA(c,h),new EA(c-s,h),new EA(t,A+a),new EA(t,A))}},Ka=t=>[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox],am=t=>[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox],Va=t=>[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox];var hl=class{constructor(t,A,e){this.offsetX=t,this.offsetY=A,this.matrix=e,this.type=0,this.target=6}},da=class{constructor(t,A){this.path=t,this.target=A,this.type=1}},cm=class{constructor(t){this.opacity=t,this.type=2,this.target=6}},Ws=class{constructor(t){this.applyClip=t,this.type=3,this.target=6}};const lm={[de.NORMAL]:"source-over",[de.MULTIPLY]:"multiply",[de.SCREEN]:"screen",[de.OVERLAY]:"overlay",[de.DARKEN]:"darken",[de.LIGHTEN]:"lighten",[de.COLOR_DODGE]:"color-dodge",[de.COLOR_BURN]:"color-burn",[de.HARD_LIGHT]:"hard-light",[de.SOFT_LIGHT]:"soft-light",[de.DIFFERENCE]:"difference",[de.EXCLUSION]:"exclusion",[de.HUE]:"hue",[de.SATURATION]:"saturation",[de.COLOR]:"color",[de.LUMINOSITY]:"luminosity"};var hm=class{constructor(t){this.mixBlendMode=t,this.type=4,this.target=6,this.compositeOperation=lm[t]}},um=class os{constructor(A){this.type=5,this.target=6;const e=os.parseDropShadow(A);this.shadow=e.shadow,this.safeFilterString=e.safeFilterString}static parseDropShadow(A){if(!A)return{safeFilterString:""};const e=os.findDropShadows(A);if(e.length===0)return{safeFilterString:A};const r=os.parseDropShadowBody(e[0].body);let n="",i=0;for(const s of e)n+=A.slice(i,s.start),i=s.end;return n+=A.slice(i),{shadow:r,safeFilterString:n.replace(/\s+/g," ").trim()}}static findDropShadows(A){const e=[],r=/drop-shadow\(/gi;let n;for(;(n=r.exec(A))!==null;){const i=n.index+12-1,s=n.index;let a=1,c=i+1;for(;c<A.length&&a>0;){const u=A[c];u==="("?a++:u===")"&&a--,c++}if(a!==0)break;const h=A.slice(i+1,c-1);e.push({body:h,start:s,end:c})}return e}static parseDropShadowBody(A){const e=os.tokenizeFilterArgs(A.trim()),r=[];let n;for(const i of e)os.isCSSLength(i)?r.push(parseFloat(i)):i&&(n=i);if(!(r.length<2||r.length>3))return{offsetX:r[0],offsetY:r[1],blur:r[2]??0,color:n??"rgba(0,0,0,1)"}}static tokenizeFilterArgs(A){const e=[];let r="",n=0;for(let i=0;i<A.length;i++){const s=A[i];s==="("?(n++,r+=s):s===")"?(n--,r+=s):/\s/.test(s)?n>0?r+=s:r&&(e.push(r),r=""):r+=s}return r&&e.push(r),e}static isCSSLength(A){return/^-?[\d.]+(px|em|rem|pt|cm|mm|in|pc|ex|ch|vw|vh|vmin|vmax|%)?$/i.test(A)}};const ff=t=>t.type===0,sh=t=>t.type===1,fm=t=>t.type===2,df=t=>t.type===3,dm=t=>t.type===4,gm=t=>t.type===5;var P1=class{constructor(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}},R1=class{constructor(t,A){if(this.container=t,this.parent=A,this.effects=[],this.curves=new om(this.container),this.container.styles.opacity<1&&this.effects.push(new cm(this.container.styles.opacity)),this.container.styles.rotate!==null){const e=this.container.styles.transformOrigin,r=this.container.bounds.left+XA(e[0],this.container.bounds.width),n=this.container.bounds.top+XA(e[1],this.container.bounds.height),i=this.container.styles.rotate*Math.PI/180,s=Math.cos(i),a=Math.sin(i),c=[s,a,-a,s,0,0];this.effects.push(new hl(r,n,c))}if(this.container.styles.transform!==null){const e=this.container.styles.transformOrigin,r=this.container.bounds.left+XA(e[0],this.container.bounds.width),n=this.container.bounds.top+XA(e[1],this.container.bounds.height),i=this.container.styles.transform;this.effects.push(new hl(r,n,i))}if(gf(this.container.styles)){const e=Ka(this.curves),r=Va(this.curves);uf(e,r)?this.effects.push(new da(e,6)):(this.effects.push(new da(e,2)),this.effects.push(new da(r,4)))}if(this.container.styles.clipPath.type!==0){const e=Bm(this.container.styles.clipPath,this.container.bounds);e&&this.effects.push(e)}if(this.container.styles.mixBlendMode!==de.NORMAL&&this.effects.push(new hm(this.container.styles.mixBlendMode)),this.container.styles.filter!==null&&this.effects.push(new um(this.container.styles.filter)),this.container.styles.zoom!==1){const e=this.container.styles.transformOrigin,r=this.container.bounds.left+XA(e[0],this.container.bounds.width),n=this.container.bounds.top+XA(e[1],this.container.bounds.height),i=this.container.styles.zoom,s=[i,0,0,i,0,0];this.effects.push(new hl(r,n,s))}}getEffects(t){let A=[2,3].indexOf(this.container.styles.position)===-1,e=this.parent;const r=this.effects.slice(0);for(;e;){const n=e.effects.filter(i=>!sh(i));if(A||e.container.styles.position!==0||!e.parent){if(A=[2,3].indexOf(e.container.styles.position)===-1,gf(e.container.styles)){const i=Ka(e.curves),s=Va(e.curves);uf(i,s)||r.unshift(new da(s,6))}r.unshift(...n)}else r.unshift(...n);e=e.parent}return r.filter(n=>ve(n.target,t))}};const gf=t=>t.overflowX!==0||t.overflowY!==0,Bf=(t,A,e,r,n)=>t==="closest-side"?Math.min(A-e,r-A):t==="farthest-side"?Math.max(A-e,r-A):XA(t,n),Bm=(t,A)=>{const{left:e,top:r,width:n,height:i}=A;switch(t.type){case 1:{const s=XA(t.left,n),a=XA(t.top,i),c=e+s,h=r+a,u=Math.max(0,n-s-XA(t.right,n)),p=Math.max(0,i-a-XA(t.bottom,i));return new Ws(w=>{w.beginPath(),w.rect(c,h,u,p),w.clip()})}case 2:{const s=e+XA(t.cx,n),a=r+XA(t.cy,i);let c;return t.radius==="closest-side"?c=Math.min(s-e,a-r,e+n-s,r+i-a):t.radius==="farthest-side"?c=Math.max(s-e,a-r,e+n-s,r+i-a):c=XA(t.radius,Math.sqrt(n*n+i*i)/Math.SQRT2),new Ws(h=>{h.beginPath(),h.arc(s,a,Math.max(0,c),0,Math.PI*2),h.clip()})}case 3:{const s=e+XA(t.cx,n),a=r+XA(t.cy,i),c=Bf(t.rx,s,e,e+n,n),h=Bf(t.ry,a,r,r+i,i);return new Ws(u=>{u.beginPath(),u.ellipse(s,a,Math.max(0,c),Math.max(0,h),0,0,Math.PI*2),u.clip()})}case 4:{const s=t.points.map(([a,c])=>[e+XA(a,n),r+XA(c,i)]);return new Ws(a=>{if(a.beginPath(),s.length>0){a.moveTo(s[0][0],s[0][1]);for(let c=1;c<s.length;c++)a.lineTo(s[c][0],s[c][1]);a.closePath()}a.clip()})}case 5:{const{d:s}=t;let a=null;return new Ws(c=>{try{a||(a=new Path2D(s));const h=c.getTransform();c.translate(e,r),c.clip(a),c.setTransform(h)}catch{}})}case 0:return null;default:return null}},oh=(t,A,e,r)=>
vendor: 2,793 bytes, line 11
11{t.container.elements.forEach(n=>{const i=n.createsRealStackingContext,s=n.createsStackingContext,a=new R1(n,t);ve(n.styles.display,2048)&&r.push(a);const c=n.isListOwner?[]:r;if(i||s){const h=i||n.styles.isPositioned()?e:A,u=new P1(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){const p=n.styles.zIndex.order;if(p<0){let w=0;h.negativeZIndex.some((d,v)=>p>d.element.container.styles.zIndex.order?(w=v,!1):w>0),h.negativeZIndex.splice(w,0,u)}else if(p>0){let w=0;h.positiveZIndex.some((d,v)=>p>=d.element.container.styles.zIndex.order?(w=v+1,!1):w>0),h.positiveZIndex.splice(w,0,u)}else h.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?h.nonPositionedFloats.push(u):h.nonPositionedInlineLevel.push(u);oh(a,u,i?u:e,c)}else n.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),oh(a,A,e,c);n.isListOwner&&K1(n,c)})},K1=(t,A)=>{let e=t instanceof nh?t.start:1;const r=t instanceof nh?t.reversed:!1;for(let n=0;n<A.length;n++){const i=A[n];i.container instanceof N1&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=uo(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},pm=t=>{const A=new R1(t,null),e=new P1(A),r=[];return oh(A,e,e,r),K1(A.container,r),e},vh=t=>{const A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},fo=t=>{const A=t.styles,e=t.bounds,r=XA(A.paddingLeft,e.width),n=XA(A.paddingRight,e.width),i=XA(A.paddingTop,e.width),s=XA(A.paddingBottom,e.width);return e.add(r+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+n),-(A.borderTopWidth+A.borderBottomWidth+i+s))},wm=(t,A)=>t===0?A.bounds:t===2?fo(A):vh(A),mm=(t,A)=>t===0?A.bounds:t===2?fo(A):vh(A),ga=(t,A,e)=>{const r=wm(hi(t.styles.backgroundOrigin,A),t),n=mm(hi(t.styles.backgroundClip,A),t),i=Cm(hi(t.styles.backgroundSize,A),e,r);let[s,a]=i;const c=eo(hi(t.styles.backgroundPosition,A),r.width-s,r.height-a),h=bm(hi(t.styles.backgroundRepeat,A),c,i,r,n),u=Math.round(r.left+c[0]),p=Math.round(r.top+c[1]);return s=Math.max(1,s),a=Math.max(1,a),[h,u,p,s,a]},es=t=>$A(t)&&t.value==="auto",Ba=t=>typeof t=="number",Cm=(t,[A,e,r],n)=>{const[i,s]=t;if(!i)return[0,0];if(Ft(i)&&s&&Ft(s))return[XA(i,n.width),XA(s,n.height)];const a=Ba(r);if($A(i)&&(i.value==="contain"||i.value==="cover"))return Ba(r)?n.width/n.height<r!=(i.value==="cover")?[n.width,n.width/r]:[n.height*r,n.height]:[n.width,n.height];const c=Ba(A),h=Ba(e),u=c||h;if(es(i)&&(!s||es(s)))return c&&h?[A,e]:!a&&!u?[n.width,n.height]:u&&a?[c?A:e*r,h?e:A/r]:[c?A:n.width,h?e:n.height];if(a){let d=0,v=0;return Ft(i)?d=XA(i,n.width):Ft(s)&&(v=XA(s,n.height)),es(i)?d=v*r:(!s||es(s))&&(v=d/r),[d,v]}let p=null,w=null;
11if(Ft(i)?p=XA(i,n.width):s&&Ft(s)&&(w=XA(s,n.height)),p!==null&&(!s||es(s))&&(w=c&&h?p/A*e:n.height),w!==null&&es(i)&&(p=c&&h?w/e*A:n.width),p!==null&&w!==null)return[p,w];throw new Error("Unable to calculate background-size for element")},hi=(t,A)=>{const e=t[A];return typeof e>"u"?t[0]:e},bm=(t,[A,e],[r,n],i,s)=>{switch(t){case 2:return[new EA(Math.round(i.left),Math.round(i.top+e)),new EA(Math.round(i.left+i.width),Math.round(i.top+e)),new EA(Math.round(i.left+i.width),Math.round(n+i.top+e)),new EA(Math.round(i.left),Math.round(n+i.top+e))];case 3:return[new EA(Math.round(i.left+A),Math.round(i.top)),new EA(Math.round(i.left+A+r),Math.round(i.top)),new EA(Math.round(i.left+A+r),Math.round(i.height+i.top)),new EA(Math.round(i.left+A),Math.round(i.height+i.top))];case 1:return[new EA(Math.round(i.left+A),Math.round(i.top+e)),new EA(Math.round(i.left+A+r),Math.round(i.top+e)),new EA(Math.round(i.left+A+r),Math.round(i.top+e+n)),new EA(Math.round(i.left+A),Math.round(i.top+e+n))];default:return[new EA(Math.round(s.left),Math.round(s.top)),new EA(Math.round(s.left+s.width),Math.round(s.top)),new EA(Math.round(s.left+s.width),Math.round(s.height+s.top)),new EA(Math.round(s.left),Math.round(s.height+s.top))]}};var ym=class{constructor(t){this.ctx=t}render(t,A){this.ctx.fillStyle=jt(A.textDecorationColor||A.color);let e=1;typeof A.textDecorationThickness=="number"?e=A.textDecorationThickness:A.textDecorationThickness==="from-font"&&(e=Math.max(1,Math.floor(A.fontSize.number*.05)));let r=0;typeof A.textUnderlineOffset=="number"&&(r=A.textUnderlineOffset);const n=A.textDecorationStyle;A.textDecorationLine.forEach(i=>{let s=0;switch(i){case 1:s=t.top+t.height-e+r;break;case 2:s=t.top;break;case 3:s=t.top+(t.height/2-e/2);break;default:return}this.draw(t.left,s,t.width,e,n)})}draw(t,A,e,r,n){switch(n){case 0:this.ctx.fillRect(t,A,e,r);break;case 1:{const i=Math.max(1,r);this.ctx.fillRect(t,A,e,r),this.ctx.fillRect(t,A+r+i,e,r);break}case 2:this.drawPattern(t,A,e,r,[r,r*2]);break;case 3:this.drawPattern(t,A,e,r,[r*3,r*2]);break;case 4:this.drawWavy(t,A,e,r);break;default:this.ctx.fillRect(t,A,e,r)}}drawPattern(t,A,e,r,n){this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash(n),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(t,A+r/2),this.ctx.lineTo(t+e,A+r/2),this.ctx.stroke(),this.ctx.restore()}drawWavy(t,A,e,r){this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle;const n=r*2,i=r*4;let s=t;for(this.ctx.moveTo(s,A+r/2);s<t+e;){const a=Math.min(s+i/2,t+e);if(this.ctx.quadraticCurveTo(s+i/4,A+r/2-n,a,A+r/2),s=a,s<t+e){const c=Math.min(s+i/2,t+e);this.ctx.quadraticCurveTo(s+i/4,A+r/2+n,c,A+r/2),s=c}}this.ctx.stroke(),this.ctx.restore()}};const Fm="Mg",rs=t=>t!==void 0&&!Number.isNaN(t),V1=(t,A)=>{const e=t.measureText(Fm),r=e;return{baseline:rs(r.fontBoundingBoxAscent)?r.fontBoundingBoxAscent:rs(e.actualBoundingBoxAscent)?e.actualBoundingBoxAscent:A,height:rs(r.fontBoundingBoxAscent)&&rs(r.fontBoundingBoxDescent)?r.fontBoundingBoxAscent+r.fontBoundingBoxDescent:rs(e.actualBoundingBoxAscent)&&rs(e.actualBoundingBoxDescent)?e.actualBoundingBoxAscent+e.actualBoundingBoxDescent:A}},G1=(t,A)=>V1(t,A).baseline,Qm=["-apple-system","system-ui"],vm=1,Um=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Xs=t=>Um.test(t),Em=()=>{if(typeof navigator>"u")return null;const t=navigator.userAgent,A=/iPhone|iPad|iPod/.test(t),e=/Macintosh/.test(t)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!A&&!e)return null;for(const r of[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/]){const n=t.match(r);if(n&&n[1])return parseInt(n[1],10)}return null},Lm=t=>{const A=Em();return A!==null&&A>=15&&A<17?t.map(e=>Qm.indexOf(e)!==-1?'-apple-system, "Helvetica Neue", Arial, sans-serif':e):t},xm=()=>{var t;return(t=typeof window<"u"?window:void 0)!=null&&t.chrome?"miter":"round"};var Im=class{constructor(t){this.glyphWidthCache=null,this.ctx=t.ctx,this.options=t.options,this.decorationRenderer=new ym(t.ctx)}cachedMeasureText(t,A){let e=this.glyphWidthCache;e||(e=new Map,this.glyphWidthCache=e);const r=t+A;let n=e.get(r);return n===void 0&&(n=this.ctx.measureText(t).width,e.set(r,n)),n}iterateLettersWithLetterSpacing(t,A,e,r,n){if(Ra(r)){this.iterateVerticalGlyphs(t,A,e,r,n);return}const i=wi(t.text),s=t.bounds.top+e,a=this.ctx.font;
11let c=t.bounds.left;for(const h of i){if(Xs(h)){const u=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",n(h,c,s),this.ctx.textBaseline=u}else n(h,c,s);c+=this.cachedMeasureText(h,a)+A}}iterateVerticalGlyphs(t,A,e,r,n){const i=wi(t.text),s=this.ctx.font,a=r===4?-Math.PI/2:Math.PI/2;let c=t.bounds.top;for(let h=0;h<i.length;){const u=i[h];if(!(Al(r)||!Xs(u)&&u.trim().length>0)){const d=this.ctx.textBaseline;Xs(u)&&(this.ctx.textBaseline="ideographic"),n(u,t.bounds.left,c+e),this.ctx.textBaseline=d,c+=this.cachedMeasureText(u,s)+A,h++;continue}const p=h;for(;h<i.length;){const d=i[h];if(!Al(r)&&!Xs(d)&&d.trim().length===0)break;if(Al(r)||!Xs(d)&&d.trim().length>0)h++;else break}this.ctx.save(),this.ctx.translate(t.bounds.left+e,c),this.ctx.rotate(a);let w=0;for(let d=p;d<h;d++)n(i[d],0,w),w+=this.cachedMeasureText(i[d],s)+A;this.ctx.restore(),c+=w}}renderTextWithLetterSpacing(t,A,e,r=0){this.renderFillText(t,A,e,r)}canRenderWholeText(t,A){return t===0&&!Ra(A)}renderFillText(t,A,e,r){this.canRenderWholeText(A,r)?this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+e):this.iterateLettersWithLetterSpacing(t,A,e,r,(n,i,s)=>{this.ctx.fillText(n,i,s)})}renderStrokeText(t,A,e,r){this.canRenderWholeText(A,r)?this.ctx.strokeText(t.text,t.bounds.left,t.bounds.top+e):this.iterateLettersWithLetterSpacing(t,A,e,r,(n,i,s)=>{this.ctx.strokeText(n,i,s)})}renderTextStrokeWithStyle(t,A,e){!A.webkitTextStrokeWidth||!t.text.trim().length||(this.ctx.strokeStyle=jt(A.webkitTextStrokeColor),this.ctx.lineWidth=A.webkitTextStrokeWidth,this.ctx.lineJoin=xm(),this.renderStrokeText(t,A.letterSpacing,e,A.writingMode),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter")}renderTextFillWithShadows(t,A,e){this.ctx.fillStyle=jt(A.color),this.renderTextWithLetterSpacing(t,A.letterSpacing,e,A.writingMode);const r=A.textShadow;r.length&&t.text.trim().length&&(r.slice(0).reverse().forEach(n=>{this.ctx.shadowColor=jt(n.color),this.ctx.shadowOffsetX=n.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=n.offsetY.number*this.options.scale,this.ctx.shadowBlur=n.blur.number,this.renderTextWithLetterSpacing(t,A.letterSpacing,e,A.writingMode)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0)}renderTextBoundWithPaintOrder(t,A,e,r){e.forEach(n=>{switch(n){case 0:this.ctx.fillStyle=jt(A.color),this.renderTextWithLetterSpacing(t,A.letterSpacing,r,A.writingMode);break;case 1:this.renderTextStrokeWithStyle(t,A,r);break}})}renderTextDecoration(t,A){this.decorationRenderer.render(t,A)}truncateTextWithEllipsis(t,A,e){const r="…",n=this.ctx.measureText(r).width,i=wi(t);if(e===0){const s=h=>this.ctx.measureText(i.slice(0,h).join("")).width+n<=A;let a=0,c=i.length;for(;a<c;){const h=a+c+1>>1;s(h)?a=h:c=h-1}return i.slice(0,a).join("")+r}else{const s=this.ctx.font;let a=n;const c=[];for(const h of i){const u=this.cachedMeasureText(h,s);if(a+u>A)break;c.push(h),a+=u+e}return c.join("")+r}}createFontStyle(t){const A=t.fontVariant.filter(n=>n==="normal"||n==="small-caps").join(""),e=Lm(t.fontFamily).join(", "),r=Xr(t.fontSize)?`${t.fontSize.number}${t.fontSize.unit}`:`${t.fontSize.number}px`;return[[t.fontStyle,A,t.fontWeight,r,e].join(" "),e,r]}renderLineClampedText(t,A,e,r,n){const i=A.fontSize.number*1.5,s=[];let a=[],c=t.textBounds[0].bounds.top;t.textBounds.forEach(p=>{Math.abs(p.bounds.top-c)>=i*.5?(a.length>0&&s.push(a),a=[p],c=p.bounds.top):a.push(p)}),a.length>0&&s.push(a);const h=A.webkitLineClamp;if(s.length<=h)return!1;for(let p=0;p<h-1;p++)s[p].forEach(w=>this.renderTextBoundWithPaintOrder(w,A,e,r));const u=s[h-1];if(u!=null&&u.length&&n){const p=u.map(F=>F.text).join(""),w=u[0],d=n.width-(w.bounds.left-n.left),v=new pi(this.truncateTextWithEllipsis(p,d,A.letterSpacing),w.bounds);for(const F of e)F===0?(this.ctx.fillStyle=jt(A.color),this.renderTextWithLetterSpacing(v,A.letterSpacing,r,A.writingMode)):F===1&&this.renderTextStrokeWithStyle(v,A,r)}return!0}renderEllipsisText(t,A,e,r,n){const i=A.fontSize.number*1.5,s=t.textBounds[0].bounds.top;if(!t.textBounds.every(h=>Math.abs(h.bounds.top-s)<i*.5))return!1;let a=t.textBounds.map(h=>h.text).join("").replace(/\s+/g," ").trim();if(this.ctx.measureText(a).width<=n.width+vm)return!1;const c=new pi(this.truncateTextWithEllipsis(a,n.width,A.letterSpacing),t.textBounds[0].bounds);for(const h of e)h===0?this.renderTextFillWithShadows(c,A,r):h===1&&this.renderTextStrokeWithStyle(c,A,r);return!0}async renderTextNode(t,A,e){this.glyphWidthCache=null;const[r]=this.createFontStyle(A);this.ctx.font=r,this.ctx.direction=A.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=A.paintOrder,i=G1(this.ctx,A.fontSize.number);A.webkitLineClamp>0&&A.display&2&&A.overflowY===1&&t.textBounds.length>0&&this.renderLineClampedText(t,A,n,i,e)||A.textOverflow===1&&e&&A.overflowX===1&&t.textBounds.length>0&&this.renderEllipsisText(t,A,n,i,e)||t.textBounds.forEach(s=>
11{n.forEach(a=>{a===0?(this.renderTextFillWithShadows(s,A,i),A.textDecorationLine.length&&this.renderTextDecoration(s.bounds,A)):a===1&&this.renderTextStrokeWithStyle(s,A,i)})})}};const j1=(t,A)=>{A.forEach((e,r)=>{const n=fr(e)?e.start:e;r===0?t.moveTo(n.x,n.y):t.lineTo(n.x,n.y),fr(e)&&t.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},q1=(t,A)=>{t.beginPath(),j1(t,A),t.closePath()};var Sm=class{constructor(t){this.maxSize=t,this._map=new Map}get(t){if(!this._map.has(t))return;const A=this._map.get(t);return this._map.delete(t),this._map.set(t,A),A}set(t,A){if(this._map.has(t))this._map.delete(t);else if(this._map.size>=this.maxSize){const e=this._map.keys().next().value;e!==void 0&&this._map.delete(e)}this._map.set(t,A)}get size(){return this._map.size}clear(){this._map.clear()}},pf=class{constructor(t){this.patternCache=new Sm(50),this.ctx=t.ctx,this.context=t.context,this.canvas=t.canvas}async renderBackgroundImage(t){let A=t.styles.backgroundImage.length-1;const e=t.styles.backgroundBlendMode;let r=0;for(const n of t.styles.backgroundImage.slice(0).reverse()){if(r>0){const i=e[r]??e[0]??"normal";i!=="normal"&&(this.ctx.save(),this.ctx.globalCompositeOperation=i)}n.type===0?await this.renderBackgroundURLImage(t,n,A):Gp(n)?this.renderLinearGradient(t,n,A):qp(n)?this.renderRepeatingLinearGradient(t,n,A):jp(n)&&this.renderRadialGradient(t,n,A),r>0&&(e[r]??e[0]??"normal")!=="normal"&&this.ctx.restore(),A--,r++}}async renderBackgroundURLImage(t,A,e){var i,s;let r;const n=A.url;try{r=await this.context.cache.match(n)}catch(a){this.context.logger.error(`Error loading background-image ${n}`),(s=(i=this.context).onError)==null||s.call(i,a instanceof Error?a:new Error(String(a)))}if(r){const a=isNaN(r.width)||r.width===0?1:r.width,c=isNaN(r.height)||r.height===0?1:r.height,[h,u,p,w,d]=ga(t,e,[a,c,a/c]),v=hi(t.styles.backgroundRepeat,e),F=v===1?"no-repeat":v===2?"repeat-x":v===3?"repeat-y":"repeat",L=`${n}|${Math.round(w)}x${Math.round(d)}|${t.styles.imageRendering}|${F}`;let b=this.patternCache.get(L);if(!b){const M=this.resizeImage(r,w,d,t.styles.imageRendering);b=this.ctx.createPattern(M,F),this.patternCache.set(L,b)}this.renderRepeat(h,b,u,p)}}renderRepeatingLinearGradient(t,A,e){const[r,n,i,s,a]=ga(t,e,[null,null,null]),[c,h,u,p,w]=Pu(A.angle,s,a),d=$c(A.stops,c||1),v=d[d.length-1],F=d[0],L=v.stop-F.stop;if(L<=0){this.renderLinearGradient(t,A,e);return}const b=u-h,M=w-p,T=L/(Math.sqrt(b*b+M*M)||1),S=h,AA=p,sA=h+b*T,Z=p+M*T,j=this.canvas.ownerDocument??document,P=`rlg|${A.angle}|${Math.round(L)}|${JSON.stringify(A.stops)}`;let Y=this.patternCache.get(P);if(!Y){const E=j.createElement("canvas"),N=Math.max(1,Math.ceil(L));E.width=N,E.height=N;const G=E.getContext("2d");if(!G)return;const K=G.createLinearGradient(S-n,AA-i,sA-n,Z-i);d.forEach(iA=>{K.addColorStop((iA.stop-F.stop)/L,jt(iA.color))}),G.fillStyle=K,G.fillRect(0,0,N,N),N>0&&(Y=this.ctx.createPattern(E,"repeat"),this.patternCache.set(P,Y))}Y&&this.renderRepeat(r,Y,n,i)}renderLinearGradient(t,A,e){const[r,n,i,s,a]=ga(t,e,[null,null,null]),[c,h,u,p,w]=Pu(A.angle,s,a),d=`lg|${A.angle}|${Math.round(s)}x${Math.round(a)}|${JSON.stringify(A.stops)}`;let v=this.patternCache.get(d);if(!v){const F=(this.canvas.ownerDocument??document).createElement("canvas");F.width=s,F.height=a;const L=F.getContext("2d");if(!L)return;const b=L.createLinearGradient(h,p,u,w);$c(A.stops,c||1).forEach(M=>b.addColorStop(M.stop,jt(M.color))),L.fillStyle=b,L.fillRect(0,0,s,a),s>0&&a>0&&(v=this.ctx.createPattern(F,"repeat"),this.patternCache.set(d,v))}v&&this.renderRepeat(r,v,n,i)}renderRadialGradient(t,A,e){const[r,n,i,s,a]=ga(t,e,[null,null,null]),c=A.position.length===0?[Bn]:A.position,h=XA(c[0],s),u=XA(c[c.length-1],a);let[p,w]=Rp(A,h,u,s,a);if((p===0||w===0)&&(p=Math.max(p,.01),w=Math.max(w,.01)),p>0&&w>0){const d=`rg|${Math.round(h)}x${Math.round(u)}|${Math.round(p)}x${Math.round(w)}|${JSON.stringify(A.stops)}`;let v=this.patternCache.get(d);if(!v){const F=this.canvas.ownerDocument??document,L=Math.ceil(Math.max(p,w)*2),b=F.createElement("canvas");b.width=L,b.height=L;const M=b.getContext("2d");
11if(M){const T=Math.max(p,w),S=M.createRadialGradient(T,T,0,T,T,T);$c(A.stops,T*2).forEach(AA=>S.addColorStop(AA.stop,jt(AA.color))),M.fillStyle=S,p!==w&&M.scale(1,w/p),M.fillRect(0,0,T*2,T*2),v=this.ctx.createPattern(b,"no-repeat"),this.patternCache.set(d,v)}}v&&(this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.translate(n+h-Math.max(p,w),i+u-Math.max(p,w)),this.ctx.fillStyle=v,this.ctx.fillRect(0,0,Math.max(p,w)*2,Math.max(p,w)*2),this.ctx.restore())}}renderRepeat(t,A,e,r){this.path(t),this.ctx.fillStyle=A,this.ctx.translate(e,r),this.ctx.fill(),this.ctx.translate(-e,-r)}resizeImage(t,A,e,r){const n=(this.canvas.ownerDocument??document).createElement("canvas");n.width=Math.max(1,A),n.height=Math.max(1,e);const i=n.getContext("2d");return i?(r===2||r===1?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):r===3?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(t,0,0,t.width,t.height,0,0,A,e),n):t}path(t){q1(this.ctx,t)}};const wf=(t,A)=>{switch(A){case 0:return dr(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return dr(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return dr(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);default:return dr(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Nm=(t,A)=>{switch(A){case 0:return dr(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return dr(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return dr(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);default:return dr(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},Hm=(t,A)=>{switch(A){case 0:return dr(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return dr(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return dr(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);default:return dr(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},_m=(t,A)=>{switch(A){case 0:return pa(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return pa(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return pa(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);default:return pa(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},pa=(t,A)=>{const e=[];return fr(t)?e.push(t.subdivide(.5,!1)):e.push(t),fr(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},dr=(t,A,e,r)=>{const n=[];return fr(t)?n.push(t.subdivide(.5,!1)):n.push(t),fr(e)?n.push(e.subdivide(.5,!0)):n.push(e),fr(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),fr(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n};var Dm=class{constructor(t,A){this.ctx=t.ctx,this.pathCallbacks=A}async renderSolidBorder(t,A,e){this.pathCallbacks.path(wf(e,A)),this.ctx.fillStyle=jt(t),this.ctx.fill()}async renderDoubleBorder(t,A,e,r){if(A<3){await this.renderSolidBorder(t,e,r);return}const n=Nm(r,e);this.pathCallbacks.path(n),this.ctx.fillStyle=jt(t),this.ctx.fill();const i=Hm(r,e);this.pathCallbacks.path(i),this.ctx.fill()}async renderDashedDottedBorder(t,A,e,r,n){this.ctx.save();const i=_m(r,e),s=wf(r,e);n===2&&(this.pathCallbacks.path(s),this.ctx.clip());let a,c,h,u;fr(s[0])?(a=s[0].start.x,c=s[0].start.y):(a=s[0].x,c=s[0].y),fr(s[1])?(h=s[1].end.x,u=s[1].end.y):(h=s[1].x,u=s[1].y);let p;e===0||e===2?p=Math.abs(a-h):p=Math.abs(c-u),this.ctx.beginPath(),n===3?this.pathCallbacks.formatPath(i):this.pathCallbacks.formatPath(s.slice(0,2));let w=A<3?A*3:A*2,d=A<3?A*2:A;n===3&&(w=A,d=A);let v=!0;if(p<=w*2)v=!1;else if(p<=w*2+d){const F=p/(2*w+d);w*=F,d*=F}else{const F=Math.floor((p+d)/(w+d)),L=(p-F*w)/(F-1),b=(p-(F+1)*w)/F;d=b<=0||Math.abs(d-L)<Math.abs(d-b)?L:b}if(v&&(n===3?this.ctx.setLineDash([0,w+d]):this.ctx.setLineDash([w,d])),n===3?(this.ctx.lineCap="round",this.ctx.lineWidth=A):this.ctx.lineWidth=A*2+1.1,this.ctx.strokeStyle=jt(t),this.ctx.stroke(),this.ctx.setLineDash([]),n===2){if(fr(s[0])){const F=s[3],L=s[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new EA(F.end.x,F.end.y),new EA(L.start.x,L.start.y)]),this.ctx.stroke()}if(fr(s[1])){const F=s[1],L=s[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new EA(F.end.x,F.end.y),new EA(L.start.x,L.start.y)]),this.ctx.stroke()}}
11this.ctx.restore()}},km=class{constructor(t){this.ctx=t}renderBorderImage(t,A,e,r,n,i,s,a){const c=A.naturalWidth||A.width,h=A.naturalHeight||A.height;if(c<=0||h<=0)return;const u=Math.min(e.unit==="percent"?e.top/100*h:Math.min(e.top,h),h),p=Math.min(e.unit==="percent"?e.right/100*c:Math.min(e.right,c),c),w=Math.min(e.unit==="percent"?e.bottom/100*h:Math.min(e.bottom,h),h),d=Math.min(e.unit==="percent"?e.left/100*c:Math.min(e.left,c),c),{left:v,top:F,width:L,height:b}=t;if(L<=0||b<=0)return;const M=Math.min(n,b),T=Math.min(i,L),S=Math.min(s,b-M),AA=Math.min(a,L-T);this.drawRegion(A,0,0,d,u,v,F,AA,M),this.drawRegion(A,c-p,0,p,u,v+L-T,F,T,M),this.drawRegion(A,c-p,h-w,p,w,v+L-T,F+b-S,T,S),this.drawRegion(A,0,h-w,d,w,v,F+b-S,AA,S);const sA=[{sx:d,sy:0,sw:c-d-p,sh:u,dx:v+AA,dy:F,dw:L-AA-T,dh:M,repeat:r.horizontal},{sx:c-p,sy:u,sw:p,sh:h-u-w,dx:v+L-T,dy:F+M,dw:T,dh:b-M-S,repeat:r.vertical},{sx:d,sy:h-w,sw:c-d-p,sh:w,dx:v+AA,dy:F+b-S,dw:L-AA-T,dh:S,repeat:r.horizontal},{sx:0,sy:u,sw:d,sh:h-u-w,dx:v,dy:F+M,dw:AA,dh:b-M-S,repeat:r.vertical}];for(const Z of sA){if(Z.sw<=0||Z.sh<=0||Z.dw<=0||Z.dh<=0)continue;const j=Z.dw>=Z.dh;Z.repeat===0?this.ctx.drawImage(A,Z.sx,Z.sy,Z.sw,Z.sh,Z.dx,Z.dy,Z.dw,Z.dh):(Z.repeat===1||Z.repeat===2)&&this.drawRepeatedEdge(A,Z,j,Z.repeat===2)}if(e.fill){const Z=d,j=u,P=c-d-p,Y=h-u-w,E=v+AA,N=F+M,G=L-AA-T,K=b-M-S;this.drawRegion(A,Z,j,P,Y,E,N,G,K)}}drawRegion(t,A,e,r,n,i,s,a,c){r>0&&n>0&&a>0&&c>0&&this.ctx.drawImage(t,A,e,r,n,i,s,a,c)}drawRepeatedEdge(t,A,e,r){const n=e?A.sw:A.sh,i=e?A.dw:A.dh;if(n<=0||i<=0)return;let s,a;r?(a=Math.max(1,Math.round(i/n)),s=i/a):(s=n,a=Math.ceil(i/s)),this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(A.dx,A.dy,A.dw,A.dh),this.ctx.clip();for(let c=0;c<a;c++){const h=c*s,u=i-h,p=Math.min(s,u);if(p<=0)break;e?this.ctx.drawImage(t,A.sx,A.sy,A.sw,A.sh,A.dx+h,A.dy,p,A.dh):this.ctx.drawImage(t,A.sx,A.sy,A.sw,A.sh,A.dx,A.dy+h,A.dw,p)}this.ctx.restore()}},Mm=class{constructor(t,A){this.activeEffects=[],this.didSave=!1,this.saveAtDepth=-1,this.ctx=t.ctx,this.pathCallback=A}applyEffects(t){for(;this.activeEffects.length;)this.popEffect();this.didSave=!1,this.saveAtDepth=-1;const A=r=>ff(r)||sh(r)||df(r),e=t.reduceRight((r,n,i)=>r!==-1?r:A(n)?i:-1,-1);for(let r=0;r<t.length;r++){const n=t[r];A(n)&&(this.didSave||(this.ctx.save(),this.didSave=!0),r===e&&(this.saveAtDepth=this.activeEffects.length)),this.applyEffect(n)}}applyEffect(t){ff(t)?(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)):sh(t)?(this.pathCallback.path(t.path),this.ctx.clip()):df(t)?t.applyClip(this.ctx):fm(t)?this.ctx.globalAlpha*=t.opacity:dm(t)?this.ctx.globalCompositeOperation=t.compositeOperation:gm(t)&&(this.ctx.filter=t.safeFilterString||"none",t.shadow&&(this.ctx.shadowOffsetX=t.shadow.offsetX,this.ctx.shadowOffsetY=t.shadow.offsetY,this.ctx.shadowBlur=t.shadow.blur,this.ctx.shadowColor=t.shadow.color)),this.activeEffects.push(t)}popEffect(){this.activeEffects.length!==0&&(this.didSave&&this.activeEffects.length-1===this.saveAtDepth&&(this.ctx.restore(),this.didSave=!1,this.saveAtDepth=-1),this.activeEffects.pop(),!this.didSave&&this.activeEffects.length===0&&(this.ctx.globalAlpha=1,this.ctx.globalCompositeOperation="source-over",this.ctx.filter="none",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0,this.ctx.shadowColor="rgba(0, 0, 0, 0)"))}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}};const Tm=(t,A,e,r,n)=>{let i=0,s=0,a=t,c=A,h=e.left,u=e.top,p=e.width,w=e.height;const d=p/w,v=a/c,F=n?XA(n[0],1):.5,L=n?XA(n[1],1):.5;return r===2?v>d?(w=p/v,u+=(e.height-w)*L):(p=w*v,h+=(e.width-p)*F):r===4?v>d?(a=c*d,i+=(t-a)*F):(c=a/d,s+=(A-c)*L):r===8?(a>p?(i+=(a-p)*F,a=p):(h+=(p-a)*F,p=a),c>w?(s+=(c-w)*L,c=w):(u+=(w-c)*L,w=c)):r===16&&((v>d?p:w*v)<(a>p?a:p)?v>d?(w=p/v,u+=(e.height-w)*L):(p=w*v,h+=(e.width-p)*F):(a>p?(i+=(a-p)*F,a=p):(h+=(p-a)*F,p=a),c>w?(s+=(c-w)*L,c=w):(u+=(w-c)*L,w=c))),{sx:i,sy:s,sw:a,sh:c,dx:h,dy:u,dw:
11p,dh:w}};async function Om(t,A,e,r,n,i,s,a){var c,h;if(n instanceof x1)try{const u=await A.cache.match(n.src),p=t.imageSmoothingEnabled;s.imageRendering===2||s.imageRendering===1?t.imageSmoothingEnabled=!1:s.imageRendering===3&&(t.imageSmoothingEnabled=!0),a(n,i,u),t.imageSmoothingEnabled=p}catch(u){A.logger.error(`Error loading image ${n.src}`),(c=A.onError)==null||c.call(A,u instanceof Error?u:new Error(String(u)))}if(n instanceof I1&&a(n,i,n.canvas),n instanceof S1)try{a(n,i,await A.cache.match(n.svg))}catch(u){A.logger.error(`Error loading svg ${n.svg.substring(0,255)}`),(h=A.onError)==null||h.call(A,u instanceof Error?u:new Error(String(u)))}if(n instanceof D1&&n.tree){const u=await r(A,{scale:e.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree);n.width&&n.height&&t.drawImage(u,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height)}}function Pm(t,A,e,r,n){if(r instanceof ls){const i=Math.min(r.bounds.width,r.bounds.height);r.type==="checkbox"&&r.checked?(t.save(),e([new EA(r.bounds.left+i*.39363,r.bounds.top+i*.79),new EA(r.bounds.left+i*.16,r.bounds.top+i*.5549),new EA(r.bounds.left+i*.27347,r.bounds.top+i*.44071),new EA(r.bounds.left+i*.39694,r.bounds.top+i*.5649),new EA(r.bounds.left+i*.72983,r.bounds.top+i*.23),new EA(r.bounds.left+i*.84,r.bounds.top+i*.34085),new EA(r.bounds.left+i*.39363,r.bounds.top+i*.79)]),t.fillStyle=jt(hf),t.fill(),t.restore()):r.type==="radio"&&r.checked&&(t.save(),t.beginPath(),t.arc(r.bounds.left+i/2,r.bounds.top+i/2,i/4,0,Math.PI*2,!0),t.fillStyle=jt(hf),t.fill(),t.restore())}if(Gm(r)&&r.value.length){const[i]=A.createFontStyle(n);t.font=i;const s=XA(n.fontSize,0),{baseline:a,height:c}=V1(t,s);t.fillStyle=r instanceof ls&&r.isPlaceholder?jt(em):jt(n.color),t.textBaseline="alphabetic",t.textAlign=jm(r.styles.textAlign);const h=fo(r),u=r instanceof ls?Rm(h,vh(r),c):h;let p=0;switch(r.styles.textAlign){case 1:p+=h.width/2;break;case 2:p+=h.width;break}let w=0;r instanceof ls&&(w=(h.height-c)/2);const d=h.add(p,w,0,0);t.save(),e([new EA(u.left,u.top),new EA(u.left+u.width,u.top),new EA(u.left+u.width,u.top+u.height),new EA(u.left,u.top+u.height)]),t.clip();const v=Km(t,r.value,h.width,n.whiteSpace==="pre"||n.whiteSpace==="nowrap"),F=Zl(n.lineHeight,s);v.forEach((L,b)=>{let M=d.left;const T=t.measureText(L).width;switch(n.textAlign){case 1:M+=(h.width-T)/2;break;case 2:M+=h.width-T;break}const S=new gr(M,d.top+b*F,0,0);A.renderTextWithLetterSpacing(new pi(L,S),n.letterSpacing,a,n.writingMode)}),t.restore(),t.textBaseline="alphabetic",t.textAlign="left"}}const Rm=(t,A,e)=>t.height<e?new gr(t.left,A.top,t.width,A.height):t,Km=(t,A,e,r)=>{const n=[],i=A.split(`
12`);for(const s of i){if(r){n.push(s);continue}const a=s.split(/(\s+)/);let c="";for(const h of a){const u=c+h;t.measureText(u).width<=e||c===""?c=u:(n.push(c),c=h)}n.push(c)}return n};async function Vm(t,A,e,r,n,i){var s;if(ve(n.styles.display,2048)){if(n.styles.listStyleImage!==null){const a=n.styles.listStyleImage;if(a.type===0){const c=a.url;try{const h=await A.cache.match(c);t.drawImage(h,n.bounds.left-(h.width+10),n.bounds.top)}catch(h){A.logger.error(`Error loading list-style-image ${c}`),(s=A.onError)==null||s.call(A,h instanceof Error?h:new Error(String(h)))}}}else if(r.listValue&&n.styles.listStyleType!==-1){const[a]=e.createFontStyle(i);t.font=a,t.fillStyle=jt(i.color),t.textBaseline="middle",t.textAlign="right";const c=new gr(n.bounds.left,n.bounds.top+XA(n.styles.paddingTop,n.bounds.width),n.bounds.width,Zl(i.lineHeight,i.fontSize.number)/2+1);e.renderTextWithLetterSpacing(new pi(r.listValue,c),i.letterSpacing,Zl(i.lineHeight,i.fontSize.number)/2+2,i.writingMode),t.textBaseline="bottom",t.textAlign="left"}}}const Gm=t=>t instanceof _1||t instanceof H1?!0:t instanceof ls&&t.type!=="radio"&&t.type!=="checkbox",jm=t=>{switch(t){case 1:return"center";case 2:return"right";default:return"left"}};var qm=class W1{constructor(A,e){this.context=A,this.options=e,this.canvas=e.canvas?e.canvas:document.createElement("canvas");const r=this.canvas.getContext("2d");if(!r)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=r,e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=`${e.width}px`,this.canvas.style.height=`${e.height}px`),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x,-e.y),this.ctx.textBaseline="bottom",e.imageSmoothing!==void 0&&(this.ctx.imageSmoothingEnabled=e.imageSmoothing),e.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=e.imageSmoothingQuality),this.backgroundRenderer=new pf({ctx:this.ctx,
12context:this.context,canvas:this.canvas,options:{width:e.width,height:e.height,scale:e.scale}}),this.borderRenderer=new Dm({ctx:this.ctx},{path:n=>this.path(n),formatPath:n=>this.formatPath(n)}),this.borderImageRenderer=new km(this.ctx),this.effectsRenderer=new Mm({ctx:this.ctx},{path:n=>this.path(n)}),this.textRenderer=new Im({ctx:this.ctx,options:{scale:e.scale}}),this.context.logger.debug(`Canvas renderer initialized (${e.width}x${e.height}) with scale ${e.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){if(A.container.debugRender)debugger;A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,e,r){const n=r.naturalWidth||A.intrinsicWidth,i=r.naturalHeight||A.intrinsicHeight;if(r&&n>0&&i>0){const s=fo(A),a=Va(e);this.path(a),this.ctx.save(),this.ctx.clip();const{sx:c,sy:h,sw:u,sh:p,dx:w,dy:d,dw:v,dh:F}=Tm(n,i,s,A.styles.objectFit,A.styles.objectPosition);this.ctx.drawImage(r,c,h,u,p,w,d,v,F),this.ctx.restore()}}async renderNodeContent(A){this.effectsRenderer.applyEffects(A.getEffects(4));const e=A.container,r=A.curves,n=e.styles,i=fo(e);for(const s of e.textNodes)await this.textRenderer.renderTextNode(s,n,i);await Om(this.ctx,this.context,{scale:this.options.scale,backgroundColor:this.options.backgroundColor,x:this.options.x,y:this.options.y,width:this.options.width,height:this.options.height},(s,a)=>new W1(s,a),e,r,n,(s,a,c)=>this.renderReplacedElement(s,a,c)),Pm(this.ctx,this.textRenderer,this.path.bind(this),e,n),await Vm(this.ctx,this.context,this.textRenderer,A,e,n)}async renderStackContent(A){if(A.element.container.debugRender)debugger;const e=this.options.signal;await this.renderNodeBackgroundAndBorders(A.element);for(const r of A.negativeZIndex){if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(r)}if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderNodeContent(A.element);for(const r of A.nonInlineLevel)await this.renderNode(r);for(const r of A.nonPositionedFloats){if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(r)}for(const r of A.nonPositionedInlineLevel){if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(r)}for(const r of A.inlineLevel)await this.renderNode(r);for(const r of A.zeroOrAutoZIndexOrTransformedOrOpacity){if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(r)}for(const r of A.positiveZIndex){if(e!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(r)}}mask(A){this.ctx.beginPath();const e=this.options.x,r=this.options.y;this.ctx.moveTo(e,r),this.ctx.lineTo(e+this.options.width,r),this.ctx.lineTo(e+this.options.width,r+this.options.height),this.ctx.lineTo(e,r+this.options.height),this.ctx.lineTo(e,r),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){q1(this.ctx,A)}formatPath(A){j1(this.ctx,A)}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const e=A.container.styles,r=!pn(e.backgroundColor)||e.backgroundImage.length,n=Xm(e),i=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],s=hi(e.backgroundClip,0),a=Wm(s,A.curves);if((r||e.boxShadow.length)&&(n&&A.container.textNodes.length>0?await this.renderTextClippedBackground(A):(this.ctx.save(),this.path(a),this.ctx.clip(),pn(e.backgroundColor)||(this.ctx.fillStyle=jt(e.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore()),e.boxShadow.slice(0).reverse().forEach(h=>{this.ctx.save();const u=Ka(A.curves),p=h.inset?0:Rw,w=sm(u,-p+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(this.path(u),this.ctx.clip(),this.mask(w)):(this.mask(u),this.ctx.clip(),this.path(w)),this.ctx.shadowOffsetX=h.offsetX.number+p,this.ctx.shadowOffsetY=h.offsetY.number,this.ctx.shadowColor=jt(h.color),this.ctx.shadowBlur=h.blur.number,this.ctx.fillStyle=h.inset?jt(h.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore(
12)})),e.borderImageSource){const h=e.borderImageSource;if(h.type===0){const u=h.url;try{const p=await this.context.cache.match(u);if(p){const w=A.container.bounds;this.borderImageRenderer.renderBorderImage(w,p,e.borderImageSlice,e.borderImageRepeat,Math.max(0,e.borderTopWidth),Math.max(0,e.borderRightWidth),Math.max(0,e.borderBottomWidth),Math.max(0,e.borderLeftWidth))}}catch{this.context.logger.error(`Error loading border-image ${u}`)}}return}let c=0;for(const h of i){if(h.style!==0&&!pn(h.color)&&h.width>0){const u=async()=>{h.style===2?await this.borderRenderer.renderDashedDottedBorder(h.color,h.width,c,A.curves,2):h.style===3?await this.borderRenderer.renderDashedDottedBorder(h.color,h.width,c,A.curves,3):h.style===4?await this.borderRenderer.renderDoubleBorder(h.color,h.width,c,A.curves):await this.borderRenderer.renderSolidBorder(h.color,c,A.curves)},p=A.container.legendBounds;if(c===0&&p){const w=A.container.bounds,d=p.left-w.left,v=p.left+p.width-w.left;d>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(w.left,w.top,d,w.height),this.ctx.clip(),await u(),this.ctx.restore());const F=w.left+v,L=w.width-v;L>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(F,w.top,L,w.height),this.ctx.clip(),await u(),this.ctx.restore())}else await u()}c++}}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=jt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const e=pm(A);return await this.renderStack(e),this.effectsRenderer.applyEffects([]),this.canvas}async renderTextClippedBackground(A){const e=A.container,r=e.styles,n=e.bounds;if(n.width<=0||n.height<=0)return;const i=(this.canvas.ownerDocument??document).createElement("canvas"),s=Math.ceil(n.width),a=Math.ceil(n.height);i.width=s,i.height=a;const c=i.getContext("2d");if(!c)return;const[h]=this.textRenderer.createFontStyle(r);c.font=h,c.textBaseline="alphabetic",c.textAlign="left",c.direction=r.direction===1?"rtl":"ltr";const u=G1(c,r.fontSize.number),p=new pf({ctx:c,context:this.context,canvas:i,options:{width:s,height:a,scale:1}});pn(r.backgroundColor)||(c.fillStyle=jt(r.backgroundColor),c.fillRect(0,0,s,a)),c.save(),c.translate(-n.left,-n.top),await p.renderBackgroundImage(e),c.restore(),c.globalCompositeOperation="destination-in",c.fillStyle="#000";const w=r.writingMode,d=r.letterSpacing;for(const v of e.textNodes)for(const F of v.textBounds){const L=F.bounds.left-n.left,b=F.bounds.top-n.top+u;d>0?this.renderTextMaskWithLetterSpacing(c,F,d,L,b,w):c.fillText(F.text,L,b)}this.ctx.drawImage(i,n.left,n.top)}renderTextMaskWithLetterSpacing(A,e,r,n,i,s){const a=wi(e.text);let c=n;for(const h of a){if(Ra(s)){A.fillText(e.text,n,i);return}A.fillText(h,c,i),c+=A.measureText(h).width+r}}};const Wm=(t,A)=>{switch(t){case 0:return Ka(A);case 2:return am(A);default:return Va(A)}},Xm=t=>t.backgroundClip.some(A=>A===3);var zm=class{constructor(t,A){this.context=t,this.options=A,this.canvas=A.canvas?A.canvas:document.createElement("canvas");const e=this.canvas.getContext("2d");if(!e)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=e,this.canvas.width=Math.floor(A.width*A.scale),this.canvas.height=Math.floor(A.height*A.scale),this.canvas.style.width=`${A.width}px`,this.canvas.style.height=`${A.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-A.x,-A.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${A.width}x${A.height} at ${A.x},${A.y}) with scale ${A.scale}`)}async render(t){var e;if((e=this.options.signal)!=null&&e.aborted)throw new DOMException("The operation was aborted.","AbortError");const A=await rh(eh(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t));return this.options.backgroundColor&&(this.ctx.fillStyle=jt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(A,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}},ws,Jm=(ws=class{constructor({id:A,enabled:e}){this.id=A,this.enabled=e,this.start=Date.now()}debug(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}},ws.instances={},ws),Ym=class{constructor(t,A){if(this.context=t,this._options=A,this._cache=new Map,this._pendingOperations=new Map,this._deferMode=!1,this._collectedUrls=new Set,this.maxSize=A.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}startDefer(){this._deferMode=!0}async preloadAll(t=10){this._deferMode=!1;const A=Array.from(this._collectedUrls);if(this._collectedUrls.clear(),A.length===0)return;const e=Math.max(1,Math.min(t,100));this.context.logger.debug(`Preloading ${A.length} image(s) with concurrency ${e}`);for(let r=0;r<A.length;r+=e){const n=A.slice(r,r+e).map(i=>this._addImageWithPending(i));await Promise.allSettled(n)}}addImage(t){if(this._deferMode)return!this.has(t)&&(zs(t)||mf(t))&&this._collectedUrls.add(t),Promise.resolve();
12const A=this._pendingOperations.get(t);if(A)return A;if(this.has(t)){const e=this._cache.get(t);return this._cache.delete(t),this._cache.set(t,e),Promise.resolve()}return zs(t)||mf(t)?this._addImageWithPending(t):Promise.resolve()}_addImageWithPending(t){const A=this._pendingOperations.get(t);if(A)return A;const e=this._addImageInternal(t);return this._pendingOperations.set(t,e),e.finally(()=>{this._pendingOperations.delete(t)}),e}async _addImageInternal(t){const A=this._options.imageTimeout??15e3,e=this.withTimeout(this.loadImage(t),A,`Timed out (${A}ms) loading image`);e.catch(r=>{this.context.logger.error(`Failed to load image ${t}: ${r instanceof Error?r.message:"Unknown error"}`)}),this.set(t,e)}withTimeout(t,A,e){if(A<=0)return t;let r;const n=new Promise((i,s)=>{r=setTimeout(()=>s(new Error(e)),A)});return Promise.race([t,n]).finally(()=>{r!==void 0&&clearTimeout(r)})}match(t){const A=this._cache.get(t);if(A)return this._cache.delete(t),this._cache.set(t,A),A.value}set(t,A){if(this._cache.has(t))this._cache.delete(t);else if(this._cache.size>=this.maxSize){const e=this._cache.keys().next().value;e!==void 0&&(this._cache.delete(e),this.context.logger.debug(`Cache: Evicted LRU entry: ${e}`))}this._cache.set(t,{value:A})}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(t){const A=this.context.originChecker,e=c=>A.isSameOrigin(c),r=typeof this._options.customIsSameOrigin=="function"?await this._options.customIsSameOrigin(t,e):e(t),n=!r&&this._options.allowTaint===!1&&!wa(t)&&!zs(t)&&typeof this._options.proxy!="string",i=!wa(t)&&(this._options.useCORS===!0||n)&&Qe.SUPPORT_CORS_IMAGES&&!r,s=!wa(t)&&!r&&!zs(t)&&typeof this._options.proxy=="string"&&Qe.SUPPORT_CORS_XHR&&!i;if(!r&&this._options.allowTaint===!1&&!wa(t)&&!zs(t)&&!s&&!i)return;let a=t;return s&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${t.substring(0,256)}`),await new Promise((c,h)=>{const u=new Image;u.onload=()=>c(u),u.onerror=h,(tC(a)||i)&&(u.crossOrigin="anonymous"),u.src=a,u.complete===!0&&setTimeout(()=>c(u),500)})}has(t){return this._cache.has(t)}keys(){return Promise.resolve(Array.from(this._cache.keys()))}proxy(t){const A=this._options.proxy;if(!A)throw new Error("No proxy defined");const e=t.substring(0,256);return new Promise((r,n)=>{const i=Qe.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=()=>{if(s.status===200)if(i==="text")r(s.response);else{const c=new FileReader;c.addEventListener("load",()=>r(c.result),!1),c.addEventListener("error",h=>n(h),!1),c.readAsDataURL(s.response)}else n(`Failed to proxy resource ${e} with status code ${s.status}`)},s.onerror=n;const a=A.indexOf("?")>-1?"&":"?";if(s.open("GET",`${A}${a}url=${encodeURIComponent(t)}&responseType=${i}`),i!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=i),this._options.imageTimeout){const c=this._options.imageTimeout;s.timeout=c,s.ontimeout=()=>n(`Timed out (${c}ms) proxying ${e}`)}s.send()})}};const Zm=/^data:image\/svg\+xml/i,$m=/^data:image\/.*;base64,/i,AC=/^data:image\/.*/i,mf=t=>Qe.SUPPORT_SVG_DRAWING||!eC(t),wa=t=>AC.test(t),tC=t=>$m.test(t),zs=t=>t.substring(0,4)==="blob",eC=t=>t.slice(-3).toLowerCase()==="svg"||Zm.test(t);var rC=class{constructor(t){if(!t||!t.document)throw new Error("Valid window object required for OriginChecker");if(!t.location||!t.location.href)throw new Error("Window object must have valid location");this.link=t.document.createElement("a"),this.origin=this.getOrigin(t.location.href)}getOrigin(t){return this.link.href=t,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(t){return this.getOrigin(t)===this.origin}getContextOrigin(){return this.origin}},bi,nC=(bi=class{constructor(A,e,r){this.windowBounds=e,this.instanceName=`#${bi.instanceCount++}`,this.config=r,this.logger=new Jm({id:this.instanceName,enabled:A.logging}),this.originChecker=new rC(r.window),this.cache=A.cache??r.cache??new Ym(this,A),this.onError=A.onError}},bi.instanceCount=1,bi);const ma=t=>{if(t!=null&&t.aborted)throw new DOMException("The operation was aborted.","AbortError")},iC=t=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(A=>{const e=t[A];if(e!=null&&typeof e!="number"){const r=Number(e);Number.isNaN(r)||(t[A]=r)}})},sC=t=>({allowTaint:t.allowTaint??!1,imageTimeout:t.imageTimeout??15e3,proxy:t.proxy,useCORS:t.useCORS??!1,customIsSameOrigin:t.customIsSameOrigin,maxCacheSize:t.maxCacheSize}),oC=(t,A,e)=>({logging:t.logging??!0,cache:t.cache??A.cache,...e}),aC=800,cC=600,Cf=0,lC=(t,A)=>{const e=A;return{windowWidth:t.windowWidth??e.innerWidth??aC,windowHeight:t.windowHeight??e.innerHe
12ight??cC,scrollX:t.scrollX??e.pageXOffset??Cf,scrollY:t.scrollY??e.pageYOffset??Cf}},hC=(t,A,e)=>({allowTaint:t.allowTaint??!1,onclone:t.onclone,ignoreElements:t.ignoreElements,iframeContainer:t.iframeContainer,inlineImages:e,copyStyles:e,cspNonce:t.cspNonce??A.cspNonce}),uC=(t,A,e,r,n,i,s)=>({canvas:t.canvas,backgroundColor:A,signal:t.signal,scale:t.scale??s??1,x:(t.x??0)+e,y:(t.y??0)+r,width:t.width??Math.ceil(n),height:t.height??Math.ceil(i),imageSmoothing:t.imageSmoothing,imageSmoothingQuality:t.imageSmoothingQuality}),fC=(t,A,e)=>{const r=A.ownerDocument,n=r.documentElement?us(t,getComputedStyle(r.documentElement).backgroundColor):Wr.TRANSPARENT,i=r.body?us(t,getComputedStyle(r.body).backgroundColor):Wr.TRANSPARENT,s=typeof e=="string"?us(t,e):e===null?Wr.TRANSPARENT:4294967295;return A===r.documentElement?pn(n)?pn(i)?s:i:n:s},dC=async(t,A,e)=>{if(iC(A),!A.skipValidation){const P=A.validator||Dd(),Y=P.validateElement(t);if(!Y.valid)throw new Error(Y.error);const E=P.validateOptions(A);if(!E.valid)throw new Error(`Invalid options: ${E.error}`)}if(!t||typeof t!="object")throw new Error("Invalid element provided as first argument");const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a Document");const n=r.defaultView;if(!n)throw new Error("Document is not attached to a Window");const i=oC(A,e,sC(A)),s=lC(A,n),a=new gr(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),c=new nC(i,a,e),h=A.enablePerformanceMonitoring??A.logging??!1,u=new kd(c,h);u.start("total",{width:s.windowWidth,height:s.windowHeight});const p=A.signal;ma(p);const w=A.foreignObjectRendering??!1,d=hC(A,e,w);c.logger.debug(`Starting document clone with size ${a.width}x${a.height} scrolled to ${-a.left},${-a.top}`),u.start("clone");const v=new tl(c,t,d),F=v.clonedReferenceElement;if(!F)throw new Error("Unable to find element in cloned iframe");const L=await v.toIFrame(r,a);u.end("clone"),p!=null&&p.aborted&&((A.removeContainer??!0)&&tl.destroy(L),ma(p));const{width:b,height:M,left:T,top:S}=Fh(F)||vp(F)?Q0(F.ownerDocument):ao(c,F),AA=fC(c,F,A.backgroundColor),sA=uC(A,AA,T,S,b,M,n.devicePixelRatio??1);let Z,j;try{return w?(c.logger.debug("Document cloned, using foreign object rendering"),u.start("render-foreignobject"),Z=await new zm(c,sA).render(F),u.end("render-foreignobject")):(c.logger.debug(`Document cloned, element located at ${T},${S} with size ${b}x${M} using computed rendering`),c.logger.debug("Starting DOM parsing"),u.start("parse"),ma(p),c.cache.startDefer(),j=T1(c,F),u.end("parse"),u.start("preload"),await c.cache.preloadAll(),u.end("preload"),AA===j.styles.backgroundColor&&(j.styles.backgroundColor=Wr.TRANSPARENT),c.logger.debug(`Starting renderer for element at ${sA.x},${sA.y} with size ${sA.width}x${sA.height}`),u.start("render"),ma(p),Z=await new qm(c,sA).render(j),u.end("render")),u.start("cleanup"),(A.removeContainer??!0)&&(tl.destroy(L)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.end("cleanup"),u.end("total"),c.logger.debug("Finished rendering"),h&&u.logSummary(),Z}finally{j&&j.restoreTree()}},ah=(t,A={},e)=>dC(t,A,e||Hd.fromElement(t,{cspNonce:A.cspNonce,cache:A.cache})),gC=Object.freeze(Object.defineProperty({__proto__:null,Html2CanvasConfig:Hd,PerformanceMonitor:kd,Validator:_d,createDefaultValidator:Dd,default:ah,html2canvas:ah},Symbol.toStringTag,{value:"Module"}));var xr=Uint8Array,er=Uint16Array,Uh=Int32Array,Eh=new xr([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]),Lh=new xr([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]),bf=new xr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),X1=function(t,A){for(var e=new er(31),r=0;r<31;++r)e[r]=A+=1<<t[r-1];for(var n=new Uh(e[30]),r=1;r<30;++r)for(var i=e[r];i<e[r+1];++i)n[i]=i-e[r]<<5|r;return{b:e,r:n}},z1=X1(Eh,2),BC=z1.b,ch=z1.r;BC[28]=258,ch[258]=28;var pC=X1(Lh,0),yf=pC.r,lh=new er(32768);for(var Tt=0;Tt<32768;++Tt){var Hn=(Tt&43690)>>1|(Tt&21845)<<1;Hn=(Hn&52428)>>2|(Hn&13107)<<2,Hn=(Hn&61680)>>4|(Hn&3855)<<4,lh[Tt]=((Hn&65280)>>8|(Hn&255)<<8)>>1}var so=function(t,A,e){for(var r=t.length,n=0,i=new er(A);n<r;++n)t[n]&&++i[t[n]-1];var s=new er(A);for(n=1;n<A;++n)s[n]=s[n-1]+i[n-1]<<1;var a;if(e){a=new er(1<<A);var c=15-A;for(n=0;n<r;++n)if(t[n])for(var h=n<<4|t[n],u=A-t[n],p=s[t[n]-1]++<<u,w=p|(1<<u)-1;p<=w;++p)a[lh[p]>>c]=h}else for(a=new er(r),n=0;n<r;++n)t[n]&&(a[n]=lh[s[t[n]-1]++]>>15-t[n]);return a},yi=new xr(288);for(var Tt=0;Tt<144;++Tt)yi[Tt]=8;for(var Tt=144;Tt<256;++Tt)yi[Tt]=9;for(var Tt=256;Tt<280;++Tt)yi[Tt]=7;for(var Tt=280;Tt<288;++Tt)yi[Tt]=8;var Ga=new xr(32);for(var Tt=0;Tt<32;++Tt)Ga[Tt]=5;var wC=so(yi,9,0),mC=so(Ga,5,0),J1=function(t){return(t+7)/8|0},CC=function(t,A,e){return(e==null||e>t.length)&&(e=t.length),new xr(t.subarray(A,e))},dn=function(t,A,e){e<<=A&7;var r=A/8|0;
vendor: 3,333 bytes, line 12
12t[r]|=e,t[r+1]|=e>>8},Js=function(t,A,e){e<<=A&7;var r=A/8|0;t[r]|=e,t[r+1]|=e>>8,t[r+2]|=e>>16},ul=function(t,A){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var n=e.length,i=e.slice();if(!n)return{t:Z1,l:0};if(n==1){var s=new xr(e[0].s+1);return s[e[0].s]=1,{t:s,l:1}}e.sort(function(AA,sA){return AA.f-sA.f}),e.push({s:-1,f:25001});var a=e[0],c=e[1],h=0,u=1,p=2;for(e[0]={s:-1,f:a.f+c.f,l:a,r:c};u!=n-1;)a=e[e[h].f<e[p].f?h++:p++],c=e[h!=u&&e[h].f<e[p].f?h++:p++],e[u++]={s:-1,f:a.f+c.f,l:a,r:c};for(var w=i[0].s,r=1;r<n;++r)i[r].s>w&&(w=i[r].s);var d=new er(w+1),v=hh(e[u-1],d,0);if(v>A){var r=0,F=0,L=v-A,b=1<<L;for(i.sort(function(sA,Z){return d[Z.s]-d[sA.s]||sA.f-Z.f});r<n;++r){var M=i[r].s;if(d[M]>A)F+=b-(1<<v-d[M]),d[M]=A;else break}for(F>>=L;F>0;){var T=i[r].s;d[T]<A?F-=1<<A-d[T]++-1:++r}for(;r>=0&&F;--r){var S=i[r].s;d[S]==A&&(--d[S],++F)}v=A}return{t:new xr(d),l:v}},hh=function(t,A,e){return t.s==-1?Math.max(hh(t.l,A,e+1),hh(t.r,A,e+1)):A[t.s]=e},Ff=function(t){for(var A=t.length;A&&!t[--A];);for(var e=new er(++A),r=0,n=t[0],i=1,s=function(c){e[r++]=c},a=1;a<=A;++a)if(t[a]==n&&a!=A)++i;else{if(!n&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(n),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(n);i=1,n=t[a]}return{c:e.subarray(0,r),n:A}},Ys=function(t,A){for(var e=0,r=0;r<A.length;++r)e+=t[r]*A[r];return e},Y1=function(t,A,e){var r=e.length,n=J1(A+2);t[n]=r&255,t[n+1]=r>>8,t[n+2]=t[n]^255,t[n+3]=t[n+1]^255;for(var i=0;i<r;++i)t[n+i+4]=e[i];return(n+4+r)*8},Qf=function(t,A,e,r,n,i,s,a,c,h,u){dn(A,u++,e),++n[256];for(var p=ul(n,15),w=p.t,d=p.l,v=ul(i,15),F=v.t,L=v.l,b=Ff(w),M=b.c,T=b.n,S=Ff(F),AA=S.c,sA=S.n,Z=new er(19),j=0;j<M.length;++j)++Z[M[j]&31];for(var j=0;j<AA.length;++j)++Z[AA[j]&31];for(var P=ul(Z,7),Y=P.t,E=P.l,N=19;N>4&&!Y[bf[N-1]];--N);var G=h+5<<3,K=Ys(n,yi)+Ys(i,Ga)+s,iA=Ys(n,w)+Ys(i,F)+s+14+3*N+Ys(Z,Y)+2*Z[16]+3*Z[17]+7*Z[18];if(c>=0&&G<=K&&G<=iA)return Y1(A,u,t.subarray(c,c+h));var cA,uA,nA,dA;if(dn(A,u,1+(iA<K)),u+=2,iA<K){cA=so(w,d,0),uA=w,nA=so(F,L,0),dA=F;var FA=so(Y,E,0);dn(A,u,T-257),dn(A,u+5,sA-1),dn(A,u+10,N-4),u+=14;for(var j=0;j<N;++j)dn(A,u+3*j,Y[bf[j]]);u+=3*N;for(var mA=[M,AA],U=0;U<2;++U)for(var O=mA[U],j=0;j<O.length;++j){var R=O[j]&31;dn(A,u,FA[R]),u+=Y[R],R>15&&(dn(A,u,O[j]>>5&127),u+=O[j]>>12)}}else cA=wC,uA=yi,nA=mC,dA=Ga;for(var j=0;j<a;++j){var q=r[j];if(q>255){var R=q>>18&31;Js(A,u,cA[R+257]),u+=uA[R+257],R>7&&(dn(A,u,q>>23&31),u+=Eh[R]);var z=q&31;Js(A,u,nA[z]),u+=dA[z],z>3&&(Js(A,u,q>>5&8191),u+=Lh[z])}else Js(A,u,cA[q]),u+=uA[q]}return Js(A,u,cA[256]),u+uA[256]},bC=new Uh([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Z1=new xr(0),yC=function(t,A,e,r,n,i){var s=i.z||t.length,a=new xr(r+s+5*(1+Math.ceil(s/7e3))+n),c=a.subarray(r,a.length-n),h=i.l,u=(i.r||0)&7;if(A){u&&(c[0]=i.r>>3);for(var p=bC[A-1],w=p>>13,d=p&8191,v=(1<<e)-1,F=i.p||new er(32768),L=i.h||new er(v+1),b=Math.ceil(e/3),M=2*b,T=function(PA){return(t[PA]^t[PA+1]<<b^t[PA+2]<<M)&v},S=new Uh(25e3),AA=new er(288),sA=new er(32),Z=0,j=0,P=i.i||0,Y=0,E=i.w||0,N=0;P+2<s;++P){var G=T(P),K=P&32767,iA=L[G];if(F[K]=iA,L[G]=K,E<=P){var cA=s-P;if((Z>7e3||Y>24576)&&(cA>423||!h)){u=Qf(t,c,0,S,AA,sA,j,Y,N,P-N,u),Y=Z=j=0,N=P;for(var uA=0;uA<286;++uA)AA[uA]=0;for(var uA=0;uA<30;++uA)sA[uA]=0}
vendor: 8,680 bytes, line 12
12var nA=2,dA=0,FA=d,mA=K-iA&32767;if(cA>2&&G==T(P-mA))for(var U=Math.min(w,cA)-1,O=Math.min(32767,P),R=Math.min(258,cA);mA<=O&&--FA&&K!=iA;){if(t[P+nA]==t[P+nA-mA]){for(var q=0;q<R&&t[P+q]==t[P+q-mA];++q);if(q>nA){if(nA=q,dA=mA,q>U)break;for(var z=Math.min(mA,q-2),tA=0,uA=0;uA<z;++uA){var oA=P-mA+uA&32767,aA=F[oA],BA=oA-aA&32767;BA>tA&&(tA=BA,iA=oA)}}}K=iA,iA=F[K],mA+=K-iA&32767}if(dA){S[Y++]=268435456|ch[nA]<<18|yf[dA];var yA=ch[nA]&31,LA=yf[dA]&31;j+=Eh[yA]+Lh[LA],++AA[257+yA],++sA[LA],E=P+nA,++Z}else S[Y++]=t[P],++AA[t[P]]}}for(P=Math.max(P,E);P<s;++P)S[Y++]=t[P],++AA[t[P]];u=Qf(t,c,h,S,AA,sA,j,Y,N,P-N,u),h||(i.r=u&7|c[u/8|0]<<3,u-=7,i.h=L,i.p=F,i.i=P,i.w=E)}else{for(var P=i.w||0;P<s+h;P+=65535){var UA=P+65535;UA>=s&&(c[u/8|0]=h,UA=s),u=Y1(c,u+1,t.subarray(P,UA))}i.i=s}return CC(a,0,r+J1(u)+n)},$1=function(){var t=1,A=0;return{p:function(e){for(var r=t,n=A,i=e.length|0,s=0;s!=i;){for(var a=Math.min(s+2655,i);s<a;++s)n+=r+=e[s];r=(r&65535)+15*(r>>16),n=(n&65535)+15*(n>>16)}t=r,A=n},d:function(){return t%=65521,A%=65521,(t&255)<<24|(t&65280)<<8|(A&255)<<8|A>>8}}},FC=function(t,A,e,r,n){if(!n&&(n={l:1},A.dictionary)){var i=A.dictionary.subarray(-32768),s=new xr(i.length+t.length);s.set(i),s.set(t,i.length),t=s,n.w=i.length}return yC(t,A.level==null?6:A.level,A.mem==null?n.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+A.mem,e,r,n)},Ag=function(t,A,e){for(;e;++A)t[A]=e,e>>>=8},QC=function(t,A){var e=A.level,r=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=r<<6|(A.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,A.dictionary){var n=$1();n.p(A.dictionary),Ag(t,2,n.d())}};function uh(t,A){A||(A={});var e=$1();e.p(t);var r=FC(t,A,A.dictionary?6:2,4);return QC(r,A),Ag(r,r.length-4,e.d()),r}var vC=typeof TextDecoder<"u"&&new TextDecoder,UC=0;try{vC.decode(Z1,{stream:!0}),UC=1}catch{}function vf(t,A="utf8"){return new TextDecoder(A).decode(t)}const EC=new TextEncoder;function LC(t){return EC.encode(t)}const xC=1024*8,IC=(()=>{const t=new Uint8Array(4),A=new Uint32Array(t.buffer);return!((A[0]=1)&t[0])})(),fl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class xh{constructor(A=xC,e={}){Ut(this,"buffer");Ut(this,"byteLength");Ut(this,"byteOffset");Ut(this,"length");Ut(this,"offset");Ut(this,"lastWrittenByte");Ut(this,"littleEndian");Ut(this,"_data");Ut(this,"_mark");Ut(this,"_marks");let r=!1;typeof A=="number"?A=new ArrayBuffer(A):(r=!0,this.lastWrittenByte=A.byteLength);const n=e.offset?e.offset>>>0:0,i=A.byteLength-n;let s=n;(ArrayBuffer.isView(A)||A instanceof xh)&&(A.byteLength!==A.buffer.byteLength&&(s=A.byteOffset+n),A=A.buffer),r?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=A,this.length=i,this.byteLength=i,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,i),this._mark=0,this._marks=[]}available(A=1){return this.offset+A<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(A=1){return this.offset+=A,this}back(A=1){return this.offset-=A,this}seek(A){return this.offset=A,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const A=this._marks.pop();if(A===void 0)throw new Error("Mark stack empty");return this.seek(A),this}rewind(){return this.offset=0,this}ensureAvailable(A=1){if(!this.available(A)){const r=(this.offset+A)*2,n=new Uint8Array(r);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(A=1){return this.readArray(A,"uint8")}readArray(A,e){const r=fl[e].BYTES_PER_ELEMENT*A,n=this.byteOffset+this.offset,i=this.buffer.slice(n,n+r);if(this.littleEndian===IC&&e!=="uint8"&&e!=="int8"){const a=new Uint8Array(this.buffer.slice(n,n+r));a.reverse();const c=new fl[e](a.buffer);return this.offset+=r,c.reverse(),c}const s=new fl[e](i);return this.offset+=r,s}readInt16(){const A=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,A}readUint16(){const A=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,A}readInt32(){const A=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,A}readUint32(){const A=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat32(){const A=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat64(){const A=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,A}readBigInt64(){const A=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,A}readBigUint64(){const A=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,A}readChar(){return String.fromCharCode(this.readInt8())}readChars(A=1){let e="";for(let r=0;r<A;r++)e+=this.readChar();return e}readUtf8(A=1){return vf(this.readBytes(A))}decodeText(A=1,e="utf8"){return vf(this.readBytes(A),e)}writeBoolean(A){return this.writeUint8(A?255:0),this}writeInt8(A){return this.ensureAvailable(1),this._data.setInt8(this.offset++,A),this._updateLastWrittenByte(),this}writeUint8(A){return this.ensureAvailable(1),this._data.setUint8(this.offset++,A),this._updateLastWrittenByte(),this}writeByte(A){return this.writeUint8(A)}writeBytes(A){this.ensureAvailable(A.length);for(let e=0;e<A.length;e++)this._data.setUint8(this.offset++,A[e]);return this._updateLastWrittenByte(),this}writeInt16(A){return this.ensureAvailable(2),this._data.setInt16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(A){return this.ensureAvailable(2),this._data.setUint16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(A){return this.ensureAvailable(4),this._data.setInt32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(A){return this.ensureAvailable(4),this._data.setUint32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(A){return this.ensureAvailable(4),this._data.setFloat32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(A){return this.ensureAvailable(8),this._data.setFloat64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(A){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(A){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(A){return this.writeUint8(A.charCodeAt(0))}writeChars(A){for(let e=0;e<A.length;e++)this.writeUint8(A.charCodeAt(e));return this}writeUtf8(A){return this.writeBytes(LC(A))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}/*! pako 2.2.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */function Cs(t){let A=t.length;for(;--A>=0;)t[A]=0}const SC=3,NC=258,tg=29,HC=256,_C=HC+1+tg,eg=30,DC=512,kC=new Array((_C+2)*2);Cs(kC);const MC=new Array(eg*2);Cs(MC);const TC=new Array(DC);Cs(TC);const OC=new Array(NC-SC+1);Cs(OC);const PC=new Array(tg);Cs(PC);const RC=new Array(eg);Cs(RC);const KC=(t,A,e,r)=>{let n=t&65535|0,i=t>>>16&65535|0,s=0;for(;e!==0;){s=e>2e3?2e3:e,e-=s;do n=n+A[r++]|0,i=i+n|0;while(--s);n%=65521,i%=65521}return n|i<<16|0};var fh=KC;const VC=()=>{let t,A=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=t&1?3988292384^t>>>1:t>>>1;A[e]=t}return A},GC=new Uint32Array(VC()),jC=(t,A,e,r)=>{const n=GC,i=r+e;t^=-1;for(let s=r;s<i;s++)t=t>>>8^n[(t^A[s])&255];return t^-1};var Vr=jC,dh={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},rg={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ER
vendor: 16,213 bytes, line 12
12ROR:-5,Z_DEFLATED:8};const qC=(t,A)=>Object.prototype.hasOwnProperty.call(t,A);var WC=function(t){const A=Array.prototype.slice.call(arguments,1);for(;A.length;){const e=A.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const r in e)qC(e,r)&&(t[r]=e[r])}}return t},XC=t=>{let A=0;for(let r=0,n=t.length;r<n;r++)A+=t[r].length;const e=new Uint8Array(A);for(let r=0,n=0,i=t.length;r<i;r++){let s=t[r];e.set(s,n),n+=s.length}return e},ng={assign:WC,flattenChunks:XC};let ig=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{ig=!1}const go=new Uint8Array(256);for(let t=0;t<256;t++)go[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;go[254]=go[255]=1;var zC=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let A,e,r,n,i,s=t.length,a=0;for(n=0;n<s;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<s&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),a+=e<128?1:e<2048?2:e<65536?3:4;for(A=new Uint8Array(a),i=0,n=0;i<a;n++)e=t.charCodeAt(n),(e&64512)===55296&&n+1<s&&(r=t.charCodeAt(n+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),n++)),e<128?A[i++]=e:e<2048?(A[i++]=192|e>>>6,A[i++]=128|e&63):e<65536?(A[i++]=224|e>>>12,A[i++]=128|e>>>6&63,A[i++]=128|e&63):(A[i++]=240|e>>>18,A[i++]=128|e>>>12&63,A[i++]=128|e>>>6&63,A[i++]=128|e&63);return A};const JC=(t,A)=>{if(A<65534&&t.subarray&&ig)return String.fromCharCode.apply(null,t.length===A?t:t.subarray(0,A));let e="";for(let r=0;r<A;r++)e+=String.fromCharCode(t[r]);return e};var YC=(t,A)=>{const e=A||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,A));let r,n;const i=new Array(e*2);for(n=0,r=0;r<e;){let s=t[r++];if(s<128){i[n++]=s;continue}let a=go[s];if(a>4){i[n++]=65533,r+=a-1;continue}for(s&=a===2?31:a===3?15:7;a>1&&r<e;)s=s<<6|t[r++]&63,a--;if(a>1){i[n++]=65533;continue}s<65536?i[n++]=s:(s-=65536,i[n++]=55296|s>>10&1023,i[n++]=56320|s&1023)}return JC(i,n)},ZC=(t,A)=>{A=A||t.length,A>t.length&&(A=t.length);let e=A-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?A:e+go[t[e]]>A?e:A},gh={string2buf:zC,buf2string:YC,utf8border:ZC};function $C(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Ab=$C;const Ca=16209,tb=16191;var eb=function(A,e){let r,n,i,s,a,c,h,u,p,w,d,v,F,L,b,M,T,S,AA,sA,Z,j,P,Y;const E=A.state;r=A.next_in,P=A.input,n=r+(A.avail_in-5),i=A.next_out,Y=A.output,s=i-(e-A.avail_out),a=i+(A.avail_out-257),c=E.dmax,h=E.wsize,u=E.whave,p=E.wnext,w=E.window,d=E.hold,v=E.bits,F=E.lencode,L=E.distcode,b=(1<<E.lenbits)-1,M=(1<<E.distbits)-1;A:do{v<15&&(d+=P[r++]<<v,v+=8,d+=P[r++]<<v,v+=8),T=F[d&b];t:for(;;){if(S=T>>>24,d>>>=S,v-=S,S=T>>>16&255,S===0)Y[i++]=T&65535;else if(S&16){AA=T&65535,S&=15,S&&(v<S&&(d+=P[r++]<<v,v+=8),AA+=d&(1<<S)-1,d>>>=S,v-=S),v<15&&(d+=P[r++]<<v,v+=8,d+=P[r++]<<v,v+=8),T=L[d&M];e:for(;;){if(S=T>>>24,d>>>=S,v-=S,S=T>>>16&255,S&16){if(sA=T&65535,S&=15,v<S&&(d+=P[r++]<<v,v+=8,v<S&&(d+=P[r++]<<v,v+=8)),sA+=d&(1<<S)-1,sA>c){A.msg="invalid distance too far back",E.mode=Ca;break A}if(d>>>=S,v-=S,S=i-s,sA>S){if(S=sA-S,S>u&&E.sane){A.msg="invalid distance too far back",E.mode=Ca;break A}if(Z=0,j=w,p===0){if(Z+=h-S,S<AA){AA-=S;do Y[i++]=w[Z++];while(--S);Z=i-sA,j=Y}}else if(p<S){if(Z+=h+p-S,S-=p,S<AA){AA-=S;do Y[i++]=w[Z++];while(--S);if(Z=0,p<AA){S=p,AA-=S;do Y[i++]=w[Z++];while(--S);Z=i-sA,j=Y}}}else if(Z+=p-S,S<AA){AA-=S;do Y[i++]=w[Z++];while(--S);Z=i-sA,j=Y}for(;AA>2;)Y[i++]=j[Z++],Y[i++]=j[Z++],Y[i++]=j[Z++],AA-=3;AA&&(Y[i++]=j[Z++],AA>1&&(Y[i++]=j[Z++]))}else{Z=i-sA;do Y[i++]=Y[Z++],Y[i++]=Y[Z++],Y[i++]=Y[Z++],AA-=3;while(AA>2);AA&&(Y[i++]=Y[Z++],AA>1&&(Y[i++]=Y[Z++]))}}else if(S&64){A.msg="invalid distance code",E.mode=Ca;break A}else{T=L[(T&65535)+(d&(1<<S)-1)];continue e}break}}else if(S&64)if(S&32){E.mode=tb;break A}else{A.msg="invalid literal/length code",E.mode=Ca;break A}else{T=F[(T&65535)+(d&(1<<S)-1)];continue t}break}}while(r<n&&i<a);AA=v>>3,r-=AA,v-=AA<<3,d&=(1<<v)-1,A.next_in=r,A.next_out=i,A.avail_in=r<n?5+(n-r):5-(r-n),A.avail_out=i<a?257+(a-i):257-(i-a),E.hold=d,E.bits=v};const ns=15,Uf=852,Ef=592,Lf=0,dl=1,xf=2,rb=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),nb=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),ib=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),sb=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),ob=(t,A,e,r,n,i,s,a)=>{const c=a.bits;let h=0,u=0,p=0,w=0,d=0,v=0,F=0,L=0,b=0,M=0,T,S,AA,sA,Z,j=null,P;const Y=new Uint16Array(ns+1),E=new Uint16Array(ns+1);let N=null,G,K,iA;for(h=0;h<=ns;h++)Y[h]=0;for(u=0;u<r;u++)Y[A[e+u]]++;for(d=c,w=ns;w>=1&&Y[w]===0;w--);if(d>w&&(d=w),w===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,a.bits=1,0;for(p=1;p<w&&Y[p]===0;p++);for(d<p&&(d=p),L=1,h=1;h<=ns;h++)if(L<<=1,L-=Y[h],L<0)return-1;if(L>0&&(t===Lf||w!==1))return-1;for(E[1]=0,h=1;h<ns;h++)E[h+1]=E[h]+Y[h];for(u=0;u<r;u++)A[e+u]!==0&&(s[E[A[e+u]]++]=u);if(t===Lf?(j=N=s,P=20):t===dl?(j=rb,N=nb,P=257):(j=ib,N=sb,P=0),M=0,u=0,h=p,Z=i,v=d,F=0,AA=-1,b=1<<d,sA=b-1,t===dl&&b>Uf||t===xf&&b>Ef)return 1;for(;;){G=h-F,s[u]+1<P?(K=0,iA=s[u]):s[u]>=P?(K=N[s[u]-P],iA=j[s[u]-P]):(K=96,iA=0),T=1<<h-F,S=1<<v,p=S;do S-=T,n[Z+(M>>F)+S]=G<<24|K<<16|iA|0;while(S!==0);for(T=1<<h-1;M&T;)T>>=1;if(T!==0?(M&=T-1,M+=T):M=0,u++,--Y[h]===0){if(h===w)break;h=A[e+s[u]]}if(h>d&&(M&sA)!==AA){for(F===0&&(F=d),Z+=p,v=h-F,L=1<<v;v+F<w&&(L-=Y[v+F],!(L<=0));)v++,L<<=1;if(b+=1<<v,t===dl&&b>Uf||t===xf&&b>Ef)return 1;AA=M&sA,n[AA]=d<<24|v<<16|Z-i|0}}return M!==0&&(n[Z+M]=h-F<<24|64<<16|0),a.bits=d,0};var oo=ob;const ab=0,sg=1,og=2,{Z_FINISH:If,Z_BLOCK:cb,Z_TREES:ba,Z_OK:Fi,Z_STREAM_END:lb,Z_NEED_DICT:hb,Z_STREAM_ERROR:Br,Z_DATA_ERROR:ag,Z_MEM_ERROR:cg,Z_BUF_ERROR:ub,Z_DEFLATED:Sf}=rg,oc=16180,Nf=16181,Hf=16182,_f=16183,Df=16184,kf=16185,Mf=16186,Tf=16187,Of=16188,Pf=16189,ja=16190,gn=16191,gl=16192,Rf=16193,Bl=16194,Kf=16195,Vf=16196,Gf=16197,jf=16198,ya=16199,Fa=16200,qf=16201,Wf=16202,Xf=16203,zf=16204,Jf=16205,pl=16206,Yf=16207,Zf=16208,Kt=16209,lg=16210,hg=16211,fb=852,db=592,gb=15,Bb=gb,$f=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function pb(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Ei=t=>{if(!t)return 1;const A=t.state;return!A||A.strm!==t||A.mode<oc||A.mode>hg?1:0},ug=t=>{if(Ei(t))return Br;const A=t.state;return t.total_in=t.total_out=A.total=0,t.msg="",A.wrap&&(t.adler=A.wrap&1),A.mode=oc,A.last=0,A.havedict=0,A.flags=-1,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new Int32Array(fb),A.distcode=A.distdyn=new Int32Array(db),A.sane=1,A.back=-1,Fi},fg=t=>{if(Ei(t))return Br;const A=t.state;return A.wsize=0,A.whave=0,A.wnext=0,ug(t)},dg=(t,A)=>{let e;if(Ei(t))return Br;const r=t.state;return A<0?(e=0,A=-A):(e=(A>>4)+5,A<48&&(A&=15)),A&&(A<8||A>15)?Br:(r.window!==null&&r.wbits!==A&&(r.window=null),r.wrap=e,r.wbits=A,fg(t))},gg=(t,A)=>{if(!t)return Br;const e=new pb;t.state=e,e.strm=t,e.window=null,e.mode=oc;const r=dg(t,A);return r!==Fi&&(t.state=null),r},wb=t=>gg(t,Bb);let Ad=!0,wl,ml;const mb=t=>{if(Ad){wl=new Int32Array(512),ml=new Int32Array(32);let A=0;for(;A<144;)t.lens[A++]=8;for(;A<256;)t.lens[A++]=9;for(;A<280;)t.lens[A++]=7;for(;A<288;)t.lens[A++]=8;for(oo(sg,t.lens,0,288,wl,0,t.work,{bits:9}),A=0;A<32;)t.lens[A++]=5;oo(og,t.lens,0,32,ml,0,t.work,{bits:5}),Ad=!1}t.lencode=wl,t.lenbits=9,t.distcode=ml,t.distbits=5},Bg=(t,A,e,r)=>{let n;const i=t.state;return i.window===null&&(i.window=new Uint8Array(1<<i.wbits)),i.wsize===0&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0),r>=i.wsize?(i.window.set(A.subarray(e-i.wsize,e),0),i.wnext=0,i.whave=i.wsize):(n=i.wsize-i.wnext,n>r&&(n=r),i.window.set(A.subarray(e-r,e-r+n),i.wnext),r-=n,r?(i.window.set(A.subarray(e-r,e),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0},Cb=(t,A)=>{let e,r,n,i,s,a,c,h,u,p,w,d,v,F,L=0,b,M,T,S,AA,sA,Z,j;const P=new Uint8Array(4);let Y,E;const N=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ei(t)||!t.output||!t.input&&t.avail_in!==0)return Br;e=t.state,e.mode===gn&&(e.mode=gl),s=t.next_out,n=t.output,c=t.avail_out,i=t.next_in,r=t.input,a=t.avail_in,h=e.hold,u=e.bits,p=a,w=c,j=Fi;A:for(;;)switch(e.mode){case oc:if(e.wrap===0){e.mode=gl;break}for(;u<16;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(e.wrap&2&&h===35615){e.wbits===0&&(e.wbits=15),e.check=0,P[0]=h&255,P[1]=h>>>8&255,e.check=Vr(e.check,P,2,0),h=0,u=0,e.mode=Nf;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((h&255)<<8)+(h>>8))%31){t.msg="incorrect header check",e.mode=Kt;break}if((h&15)!==Sf){t.msg="unknown compression method",e.mode=Kt;break}if(h>>>=4,u-=4,Z=(h&15)+8,e.wbits===0&&(e.wbits=Z),Z>15||Z>e.wbits){t.msg="invalid window size",e.mode=Kt;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=h&512?Pf:gn,h=0,u=0;break;case Nf:for(;u<16;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(e.flags=h,(e.flags&255)!==Sf){t.msg="unknown compression method",e.mode=Kt;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=Kt;break}e.head&&(e.head.text=h>>8&1),e.flags&512&&e.wrap&4&&(P[0]=h&255,P[1]=h>>>8&255,e.check=Vr(e.check,P,2,0)),h=0,u=0,e.mode=Hf;case Hf:for(;u<32;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.head&&(e.head.time=h),e.flags&512&&e.wrap&4&&(P[0]=h&255,P[1]=h>>>8&255,P[2]=h>>>16&255,P[3]=h>>>24&255,e.check=Vr(e.check,P,4,0)),h=0,u=0,e.mode=_f;case _f:for(;u<16;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.head&&(e.head.xflags=h&255,e.head.os=h>>8),e.flags&512&&e.wrap&4&&(P[0]=h&255,P[1]=h>>>8&255,e.check=Vr(e.check,P,2,0)),h=0,u=0,e.mode=Df;case Df:if(e.flags&1024){for(;u<16;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.length=h,e.head&&(e.head.extra_len=h),e.flags&512&&e.wrap&4&&(P[0]=h&255,P[1]=h>>>8&255,e.check=Vr(e.check,P,2,0)),h=0,u=0}else e.head&&(e.head.extra=null);e.mode=kf;case kf:if(e.flags&1024&&(d=e.length,d>a&&(d=a),d&&(e.head&&(Z=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(i,i+d),Z)),e.flags&512&&e.wrap&4&&(e.check=Vr(e.check,r,d,i)),a-=d,i+=d,e.length-=d),e.length))break A;e.length=0,e.mode=Mf;case Mf:if(e.flags&2048){if(a===0)break A;d=0;do Z=r[i+d++],e.head&&Z&&e.length<65536&&(e.head.name+=String.fromCharCode(Z));while(Z&&d<a);if(e.flags&512&&e.wrap&4&&(e.check=Vr(e.check,r,d,i)),a-=d,i+=d,Z)break A}else e.head&&(e.head.name=null);e.length=0,e.mode=Tf;case Tf:if(e.flags&4096){if(a===0)break A;d=0;do Z=r[i+d++],e.head&&Z&&e.length<65536&&(e.head.comment+=String.fromCharCode(Z));while(Z&&d<a);if(e.flags&512&&e.wrap&4&&(e.check=Vr(e.check,r,d,i)),a-=d,i+=d,Z)break A}else e.head&&(e.head.comment=null);e.mode=Of;case Of:if(e.flags&512){for(;u<16;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(e.wrap&4&&h!==(e.check&65535)){t.msg="header crc mismatch",e.mode=Kt;break}h=0,u=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=gn;break;case Pf:for(;u<32;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}t.adler=e.check=$f(h),h=0,u=0,e.mode=ja;case ja:if(e.havedict===0)return t.next_out=s,t.avail_out=c,t.next_in=i,t.avail_in=a,e.hold=h,e.bits=u,hb;t.adler=e.check=1,e.mode=gn;case gn:if(A===cb||A===ba)break A;case gl:if(e.last){h>>>=u&7,u-=u&7,e.mode=pl;break}for(;u<3;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}switch(e.last=h&1,h>>>=1,u-=1,h&3){case 0:e.mode=Rf;break;case 1:if(mb(e),e.mode=ya,A===ba){h>>>=2,u-=2;break A}break;case 2:e.mode=Vf;break;case 3:t.msg="invalid block type",e.mode=Kt}h>>>=2,u-=2;break;case Rf:for(h>>>=u&7,u-=u&7;u<32;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if((h&65535)!==(h>>>16^65535)){t.msg="invalid stored block lengths",e.mode=Kt;break}if(e.length=h&65535,h=0,u=0,e.mode=Bl,A===ba)break A;case Bl:e.mode=Kf;case Kf:if(d=e.length,d){if(d>a&&(d=a),d>c&&(d=c),d===0)break A;n.set(r.subarray(i,i+d),s),a-=d,i+=d,c-=d,s+=d,e.length-=d;break}e.mode=gn;break;case Vf:for(;u<14;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(e.nlen=(h&31)+257,h>>>=5,u-=5,e.ndist=(h&31)+1,h>>>=5,u-=5,e.ncode=(h&15)+4,h>>>=4,u-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=Kt;break}e.have=0,e.mode=Gf;case Gf:for(;e.have<e.ncode;){for(;u<3;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.lens[N[e.have++]]=h&7,h>>>=3,u-=3}for(;e.have<19;)e.lens[N[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,Y={bits:e.lenbits},j=oo(ab,e.lens,0,19,e.lencode,0,e.work,Y),e.lenbits=Y.bits,j){t.msg="invalid code lengths set",e.mode=Kt;break}e.have=0,e.mode=jf;case jf:for(;e.have<e.nlen+e.ndist;){for(;L=e.lencode[h&(1<<e.lenbits)-1],b=L>>>24,M=L>>>16&255,T=L&65535,!(b<=u);){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(T<16)h>>>=b,u-=b,e.lens[e.have++]=T;else{if(T===16){for(E=b+2;u<E;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(h>>>=b,u-=b,e.have===0){t.msg="invalid bit length repeat",e.mode=Kt;break}Z=e.lens[e.have-1],d=3+(h&3),h>>>=2,u-=2}else if(T===17){for(E=b+3;u<E;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}h>>>=b,u-=b,Z=0,d=3+(h&7),h>>>=3,u-=3}else{for(E=b+7;u<E;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}h>>>=b,u-=b,Z=0,d=11+(h&127),h>>>=7,u-=7}if(e.have+d>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=Kt;break}for(;d--;)e.lens[e.have++]=Z}}if(e.mode===Kt)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Kt;break}if(e.lenbits=9,Y={bits:e.lenbits},j=oo(sg,e.lens,0,e.nlen,e.lencode,0,e.work,Y),e.lenbits=Y.bits,j){t.msg="invalid literal/lengths set",e.mode=Kt;break}if(e.distbits=6,e.distcode=e.distdyn,Y={bits:e.distbits},j=oo(og,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,Y),e.distbits=Y.bits,j){t.msg="invalid distances set",e.mode=Kt;break}if(e.mode=ya,A===ba)break A;case ya:e.mode=Fa;case Fa:if(a>=6&&c>=258){t.next_out=s,t.avail_out=c,t.next_in=i,t.avail_in=a,e.hold=h,e.bits=u,eb(t,w),s=t.next_out,n=t.output,c=t.avail_out,i=t.next_in,r=t.input,a=t.avail_in,h=e.hold,u=e.bits,e.mode===gn&&(e.back=-1);break}for(e.back=0;L=e.lencode[h&(1<<e.lenbits)-1],b=L>>>24,M=L>>>16&255,T=L&65535,!(b<=u);){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(M&&!(M&240)){for(S=b,AA=M,sA=T;L=e.lencode[sA+((h&(1<<S+AA)-1)>>S)],b=L>>>24,M=L>>>16&255,T=L&65535,!(S+b<=u);){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}h>>>=S,u-=S,e.back+=S}if(h>>>=b,u-=b,e.back+=b,e.length=T,M===0){e.mode=Jf;break}if(M&32){e.back=-1,e.mode=gn;break}if(M&64){t.msg="invalid literal/length code",e.mode=Kt;break}e.extra=M&15,e.mode=qf;case qf:if(e.extra){for(E=e.extra;u<E;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.length+=h&(1<<e.extra)-1,h>>>=e.extra,u-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Wf;case Wf:for(;L=e.distcode[h&(1<<e.distbits)-1],b=L>>>24,M=L>>>16&255,T=L&65535,!(b<=u);){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(!(M&240)){for(S=b,AA=M,sA=T;L=e.distcode[sA+((h&(1<<S+AA)-1)>>S)],b=L>>>24,M=L>>>16&255,T=L&65535,!(S+b<=u);){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}h>>>=S,u-=S,e.back+=S}if(h>>>=b,u-=b,e.back+=b,M&64){t.msg="invalid distance code",e.mode=Kt;break}e.offset=T,e.extra=M&15,e.mode=Xf;case Xf:if(e.extra){for(E=e.extra;u<E;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}e.offset+=h&(1<<e.extra)-1,h>>>=e.extra,u-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=Kt;break}e.mode=zf;case zf:if(c===0)break A;if(d=w-c,e.offset>d){if(d=e.offset-d,d>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Kt;break}d>e.wnext?(d-=e.wnext,v=e.wsize-d):v=e.wnext-d,d>e.length&&(d=e.length),F=e.window}
vendor: 13,064 bytes, line 12
12else F=n,v=s-e.offset,d=e.length;d>c&&(d=c),c-=d,e.length-=d;do n[s++]=F[v++];while(--d);e.length===0&&(e.mode=Fa);break;case Jf:if(c===0)break A;n[s++]=e.length,c--,e.mode=Fa;break;case pl:if(e.wrap){for(;u<32;){if(a===0)break A;a--,h|=r[i++]<<u,u+=8}if(w-=c,t.total_out+=w,e.total+=w,e.wrap&4&&w&&(t.adler=e.check=e.flags?Vr(e.check,n,w,s-w):fh(e.check,n,w,s-w)),w=c,e.wrap&4&&(e.flags?h:$f(h))!==e.check){t.msg="incorrect data check",e.mode=Kt;break}h=0,u=0}e.mode=Yf;case Yf:if(e.wrap&&e.flags){for(;u<32;){if(a===0)break A;a--,h+=r[i++]<<u,u+=8}if(e.wrap&4&&h!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=Kt;break}h=0,u=0}e.mode=Zf;case Zf:j=lb;break A;case Kt:j=ag;break A;case lg:return cg;case hg:default:return Br}return t.next_out=s,t.avail_out=c,t.next_in=i,t.avail_in=a,e.hold=h,e.bits=u,(e.wsize||w!==t.avail_out&&e.mode<Kt&&(e.mode<pl||A!==If))&&Bg(t,t.output,t.next_out,w-t.avail_out),p-=t.avail_in,w-=t.avail_out,t.total_in+=p,t.total_out+=w,e.total+=w,e.wrap&4&&w&&(t.adler=e.check=e.flags?Vr(e.check,n,w,t.next_out-w):fh(e.check,n,w,t.next_out-w)),t.data_type=e.bits+(e.last?64:0)+(e.mode===gn?128:0)+(e.mode===ya||e.mode===Bl?256:0),(p===0&&w===0||A===If)&&j===Fi&&(j=ub),j},bb=t=>{if(Ei(t))return Br;let A=t.state;return A.window&&(A.window=null),t.state=null,Fi},yb=(t,A)=>{if(Ei(t))return Br;const e=t.state;return e.wrap&2?(e.head=A,A.done=!1,Fi):Br},Fb=(t,A)=>{const e=A.length;let r,n,i;return Ei(t)||(r=t.state,r.wrap!==0&&r.mode!==ja)?Br:r.mode===ja&&(n=1,n=fh(n,A,e,0),n!==r.check)?ag:(i=Bg(t,A,e,e),i?(r.mode=lg,cg):(r.havedict=1,Fi))};var Qb=fg,vb=dg,Ub=ug,Eb=wb,Lb=gg,xb=Cb,Ib=bb,Sb=yb,Nb=Fb,Hb="pako inflate (from Nodeca project)",jr={inflateReset:Qb,inflateReset2:vb,inflateResetKeep:Ub,inflateInit:Eb,inflateInit2:Lb,inflate:xb,inflateEnd:Ib,inflateGetHeader:Sb,inflateSetDictionary:Nb,inflateInfo:Hb};function _b(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Db=_b;const pg=Object.prototype.toString,{Z_NO_FLUSH:kb,Z_FINISH:td,Z_OK:fs,Z_STREAM_END:Cl,Z_NEED_DICT:bl,Z_STREAM_ERROR:Mb,Z_DATA_ERROR:ed,Z_MEM_ERROR:Tb,Z_BUF_ERROR:rd}=rg,Ob={chunkSize:1024*64,windowBits:15,to:""};function wo(t){this.options=ng.assign({},Ob,t||{});const A=this.options;A.raw&&A.windowBits>=0&&A.windowBits<16&&(A.windowBits=-A.windowBits,A.windowBits===0&&(A.windowBits=-15)),A.windowBits>=0&&A.windowBits<16&&!(t&&t.windowBits)&&(A.windowBits+=32),A.windowBits>15&&A.windowBits<48&&(A.windowBits&15||(A.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ab,this.strm.avail_out=0;let e=jr.inflateInit2(this.strm,A.windowBits);if(e!==fs)throw new Error(dh[e]);if(this.header=new Db,jr.inflateGetHeader(this.strm,this.header),A.dictionary&&(typeof A.dictionary=="string"?A.dictionary=gh.string2buf(A.dictionary):pg.call(A.dictionary)==="[object ArrayBuffer]"&&(A.dictionary=new Uint8Array(A.dictionary)),A.raw&&(e=jr.inflateSetDictionary(this.strm,A.dictionary),e!==fs)))throw new Error(dh[e])}wo.prototype.push=function(t,A){const e=this.strm,r=this.options.chunkSize,n=this.options.dictionary;let i,s,a;if(this.ended)return!1;for(A===~~A?s=A:s=A===!0?td:kb,pg.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),i=jr.inflate(e,s),i===bl&&n&&(i=jr.inflateSetDictionary(e,n),i===fs?i=jr.inflate(e,s):i===ed&&(i=bl));e.avail_in>0&&i===Cl&&e.state.wrap&2&&e.state.flags!==0&&e.input[e.next_in]!==0;)jr.inflateReset(e),i=jr.inflate(e,s);switch(i){case Mb:case ed:case bl:case Tb:return this.onEnd(i),this.ended=!0,!1}if(a=e.avail_out,e.next_out&&(e.avail_out===0||i===Cl||s>0))if(this.options.to==="string"){let c=gh.utf8border(e.output,e.next_out),h=e.next_out-c,u=gh.buf2string(e.output,c);e.next_out=h,e.avail_out=r-h,h&&e.output.set(e.output.subarray(c,c+h),0),this.onData(u)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out)),e.avail_out=0,e.next_out=0;if(!((i===fs||i===rd)&&a===0)){if(i===Cl)return i=jr.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(e.avail_in===0){if(s===td)return i=jr.inflateEnd(this.strm),this.onEnd(i===fs?rd:i),this.ended=!0,!1;break}}}return!0};wo.prototype.onData=function(t){this.chunks.push(t)};wo.prototype.onEnd=function(t){t===fs&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ng.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Pb(t,A){const e=new wo(A);if(e.push(t,!0),e.err)throw e.msg||dh[e.err];return e.result}var Rb=wo,Kb=Pb,Vb={Inflate:Rb,inflate:Kb};const{Inflate:Gb,inflate:jb}=Vb;var nd=Gb,qb=jb;const wg=[];for(let t=0;t<256;t++){let A=t;for(let e=0;e<8;e++)A&1?A=3988292384^A>>>1:A=A>>>1;wg[t]=A}const id=4294967295;function Wb(t,A,e){let r=t;for(let n=0;n<e;n++)r=wg[(r^A[n])&255]^r>>>8;return r}function Xb(t,A){return(Wb(id,t,A)^id)>>>0}function sd(t,A,e){const r=t.readUint32(),n=Xb(new Uint8Array(t.buffer,t.byteOffset+t.offset-A-4,A),A);if(n!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${n}`)}function mg(t,A,e){for(let r=0;r<e;r++)A[r]=t[r]}function Cg(t,A,e,r){let n=0;for(;n<r;n++)A[n]=t[n];for(;n<e;n++)A[n]=t[n]+A[n-r]&255}function bg(t,A,e,r){let n=0;if(e.length===0)for(;n<r;n++)A[n]=t[n];else for(;n<r;n++)A[n]=t[n]+e[n]&255}function yg(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+(A[i-n]>>1)&255}else{for(;i<n;i++)A[i]=t[i]+(e[i]>>1)&255;for(;i<r;i++)A[i]=t[i]+(A[i-n]+e[i]>>1)&255}}function Fg(t,A,e,r,n){let i=0;if(e.length===0){for(;i<n;i++)A[i]=t[i];for(;i<r;i++)A[i]=t[i]+A[i-n]&255}else{for(;i<n;i++)A[i]=t[i]+e[i]&255;for(;i<r;i++)A[i]=t[i]+zb(A[i-n],e[i],e[i-n])&255}}function zb(t,A,e){const r=t+A-e,n=Math.abs(r-t),i=Math.abs(r-A),s=Math.abs(r-e);return n<=i&&n<=s?t:i<=s?A:e}function Jb(t,A,e,r,n,i){switch(t){case 0:mg(A,e,n);break;case 1:Cg(A,e,n,i);break;case 2:bg(A,e,r,n);break;case 3:yg(A,e,r,n,i);break;case 4:Fg(A,e,r,n,i);break;default:throw new Error(`Unsupported filter: ${t}`)}}const Yb=new Uint16Array([255]),Zb=new Uint8Array(Yb.buffer),$b=Zb[0]===255;function Ay(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],a=Math.ceil(i/8)*n,c=new Uint8Array(r*e*a);let h=0;for(let u=0;u<7;u++){const p=s[u],w=Math.ceil((e-p.x)/p.xStep),d=Math.ceil((r-p.y)/p.yStep);if(w<=0||d<=0)continue;const v=w*a,F=new Uint8Array(v);for(let L=0;L<d;L++){const b=A[h++],M=A.subarray(h,h+v);h+=v;const T=new Uint8Array(v);Jb(b,M,T,F,v,a),F.set(T);for(let S=0;S<w;S++){const AA=p.x+S*p.xStep,sA=p.y+L*p.yStep;if(!(AA>=e||sA>=r))for(let Z=0;Z<a;Z++)c[(sA*e+AA)*a+Z]=T[S*a+Z]}}}if(i===16){const u=new Uint16Array(c.buffer);if($b)for(let p=0;p<u.length;p++)u[p]=ty(u[p]);return u}else return c}function ty(t){return(t&255)<<8|t>>8&255}const ey=new Uint16Array([255]),ry=new Uint8Array(ey.buffer),ny=ry[0]===255,iy=new Uint8Array(0);function od(t){const{data:A,width:e,height:r,channels:n,depth:i}=t,s=Math.ceil(i/8)*n,a=Math.ceil(i/8*n*e),c=new Uint8Array(r*a);let h=iy,u=0,p,w;for(let d=0;d<r;d++){switch(p=A.subarray(u+1,u+1+a),w=c.subarray(d*a,(d+1)*a),A[u]){case 0:mg(p,w,a);break;case 1:Cg(p,w,a,s);break;case 2:bg(p,w,h,a);break;case 3:yg(p,w,h,a,s);break;case 4:Fg(p,w,h,a,s);break;default:throw new Error(`Unsupported filter: ${A[u]}`)}h=w,u+=a+1}if(i===16){const d=new Uint16Array(c.buffer);if(ny)for(let v=0;v<d.length;v++)d[v]=sy(d[v]);return d}else return c}function sy(t){return(t&255)<<8|t>>8&255}const Sa=Uint8Array.of(137,80,78,71,13,10,26,10);function ad(t){if(!oy(t.readBytes(Sa.length)))throw new Error("wrong PNG signature")}function oy(t){if(t.length<Sa.length)return!1;for(let A=0;A<Sa.length;A++)if(t[A]!==Sa[A])return!1;return!0}const ay="tEXt",cy=0,Qg=new TextDecoder("latin1");function ly(t){if(uy(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const hy=/^[\u0000-\u00FF]*$/;function uy(t){if(!hy.test(t))throw new Error("invalid latin1 text")}function fy(t,A,e){const r=vg(A);t[r]=dy(A,e-r.length-1)}function vg(t){for(t.mark();t.readByte()!==cy;);const A=t.offset;t.reset();const e=Qg.decode(t.readBytes(A-t.offset-1));return t.skip(1),ly(e),e}function dy(t,A){return Qg.decode(t.readBytes(A))}const Ar={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},yl={UNKNOWN:-1,DEFLATE:0},cd={UNKNOWN:-1,ADAPTIVE:0},Fl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Qa={NONE:0,BACKGROUND:1,PREVIOUS:2},Ql={SOURCE:0,OVER:1};class gy extends xh{constructor(e,r={}){super(e);Ut(this,"_checkCrc");Ut(this,"_inflator");Ut(this,"_png");Ut(this,"_apng");Ut(this,"_end");Ut(this,"_hasPalette");Ut(this,"_palette");Ut(this,"_hasTransparency");Ut(this,"_transparency");Ut(this,"_compressionMethod");Ut(this,"_filterMethod");Ut(this,"_interlaceMethod");Ut(this,"_colorType");Ut(this,"_isAnimated");Ut(this,"_numberOfFrames");Ut(this,"_numberOfPlays");Ut(this,"_frames");Ut(this,"_writingDataChunks");const{checkCrc:n=!1}=r;this._checkCrc=n,this._inflator=new nd,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=yl.UNKNOWN,this._filterMethod=cd.UNKNOWN,this._interlaceMethod=Fl.UNKNOWN,this._colorType=Ar.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(ad(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeChunk(e,r)}return this.decodeImage(),this._png}decodeApng(){for(ad(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(e,r)}return this.decodeApngImage(),this._apng}decodeChunk(e,r){const n=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case ay:fy(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?sd(this,e+4,r):this.skip(4)}decodeApngChunk(e,r){const n=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,r),this.offset=n+e;break}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?sd(this,e+4,r):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=By(this.readUint8());const r=this.readUint8();this._colorType=r;let n;switch(r){case Ar.GREYSCALE:n=1;break;case Ar.TRUECOLOUR:n=3;break;case Ar.INDEXED_COLOUR:n=1;break;case Ar.GREYSCALE_ALPHA:n=2;break;case Ar.TRUECOLOUR_ALPHA:n=4;break;case Ar.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==yl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const r=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let i=0;i<r;i++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const r=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let r=e,n=this.offset+this.byteOffset;if(n+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,n,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case Ar.GREYSCALE:case Ar.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alph
vendor: 5,373 bytes, line 12
12a values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let r=0;r<e/2;r++)this._transparency[r]=this.readUint16();break}case Ar.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let r=0;for(;r<e;r++){const n=this.readByte();this._palette[r].push(n)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case Ar.UNKNOWN:case Ar.GREYSCALE_ALPHA:case Ar.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const r=vg(this),n=this.readUint8();if(n!==yl.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${n}`);const i=this.readBytes(e-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:qb(i)}}decodepHYs(){const e=this.readUint32(),r=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:r,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const r={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=od({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),e===0||n.xOffset===0&&n.yOffset===0&&n.width===this._png.width&&n.height===this._png.height)r.data=n.data;else{const i=this._apng.frames.at(e-1);this.disposeFrame(n,i,r),this.addFrameDataToCanvas(r,n)}this._apng.frames.push(r)}}return this._apng}disposeFrame(e,r,n){switch(e.disposeOp){case Qa.NONE:break;case Qa.BACKGROUND:for(let i=0;i<this._png.height;i++)for(let s=0;s<this._png.width;s++){const a=(i*e.width+s)*this._png.channels;for(let c=0;c<this._png.channels;c++)n.data[a+c]=0}break;case Qa.PREVIOUS:n.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,r){const n=1<<this._png.depth,i=(s,a)=>{const c=((s+r.yOffset)*this._png.width+r.xOffset+a)*this._png.channels,h=(s*r.width+a)*this._png.channels;return{index:c,frameIndex:h}};switch(r.blendOp){case Ql.SOURCE:for(let s=0;s<r.height;s++)for(let a=0;a<r.width;a++){const{index:c,frameIndex:h}=i(s,a);for(let u=0;u<this._png.channels;u++)e.data[c+u]=r.data[h+u]}break;case Ql.OVER:for(let s=0;s<r.height;s++)for(let a=0;a<r.width;a++){const{index:c,frameIndex:h}=i(s,a);for(let u=0;u<this._png.channels;u++){const p=r.data[h+this._png.channels-1]/n,w=u%(this._png.channels-1)===0?1:r.data[h+u],d=Math.floor(p*w+(1-p)*e.data[c+u]);e.data[c+u]+=d}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var r;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?((r=this._frames)==null?void 0:r.at(0)).data:this._inflator.result;if(this._filterMethod!==cd.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Fl.NO_INTERLACE)this._png.data=od({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Fl.ADAM7)this._png.data=Ay({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,r=this._frames.at(-1);r?r.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Qa.NONE,blendOp:Ql.SOURCE,data:e}),this._inflator=new nd,this._writingDataChunks=!1}}function By(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var ld;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(ld||(ld={}));function py(t,A){return new gy(t,A).decode()}var YA=function(){return typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:this}();function vl(){YA.console&&typeof YA.console.log=="function"&&YA.console.log.apply(YA.console,arguments)}var It={log:vl,warn:function(t){YA.console&&(typeof YA.console.warn=="function"?YA.console.warn.apply(YA.console,arguments):vl.call(null,arguments))},error:function(t){YA.console&&(typeof YA.console.error=="function"?YA.console.error.apply(YA.console,arguments):vl(t))}};function Ul(t,A,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){ci(r.response,A,e)},r.onerror=function(){It.error("could not download file")},r.send()}function hd(t){var A=new XMLHttpRequest;A.open("HEAD",t,!1);try{A.send()}catch{}
vendor: 3,551 bytes, lines 12-17
12return A.status>=200&&A.status<=299}function va(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(A)}}var ci=YA.saveAs||((typeof window>"u"?"undefined":St(window))!=="object"||window!==YA?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,A,e){var r=YA.URL||YA.webkitURL,n=document.createElement("a");A=A||t.name||"download",n.download=A,n.rel="noopener",typeof t=="string"?(n.href=t,n.origin!==location.origin?hd(n.href)?Ul(t,A,e):va(n,n.target="_blank"):va(n)):(n.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){va(n)},0))}:"msSaveOrOpenBlob"in navigator?function(t,A,e){if(A=A||t.name||"download",typeof t=="string")if(hd(t))Ul(t,A,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){va(r)})}else navigator.msSaveOrOpenBlob(function(n,i){return i===void 0?i={autoBom:!1}:St(i)!=="object"&&(It.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}(t,e),A)}:function(t,A,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return Ul(t,A,e);var n=t.type==="application/octet-stream",i=/constructor/i.test(YA.HTMLElement)||YA.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||n&&i)&&(typeof FileReader>"u"?"undefined":St(FileReader))==="object"){var a=new FileReader;a.onloadend=function(){var u=a.result;u=s?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=u:location=u,r=null},a.readAsDataURL(t)}else{var c=YA.URL||YA.webkitURL,h=c.createObjectURL(t);r?r.location=h:location.href=h,r=null,setTimeout(function(){c.revokeObjectURL(h)},4e4)}});/**
13 * A class to parse color values
14 * @author Stoyan Stefanov <[email protected]>
15 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
16 * @license Use it if you like it
17 */function Ug(t){var A;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
170",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,s=n.exec(t);
vendor: 10,423 bytes, lines 17-42
17s&&(A=i(s),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 a=this.r.toString(16),c=this.g.toString(16),h=this.b.toString(16);return a.length==1&&(a="0"+a),c.length==1&&(c="0"+c),h.length==1&&(h="0"+h),"#"+a+c+h}}var Na=YA.atob.bind(YA),ud=YA.btoa.bind(YA);/**
18 * @license
19 * Joseph Myers does not specify a particular license for his work.
20 *
21 * Author: Joseph Myers
22 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
23 *
24 * Modified by: Owen Leong
25 */function El(t,A){var e=t[0],r=t[1],n=t[2],i=t[3];e=Se(e,r,n,i,A[0],7,-680876936),i=Se(i,e,r,n,A[1],12,-389564586),n=Se(n,i,e,r,A[2],17,606105819),r=Se(r,n,i,e,A[3],22,-1044525330),e=Se(e,r,n,i,A[4],7,-176418897),i=Se(i,e,r,n,A[5],12,1200080426),n=Se(n,i,e,r,A[6],17,-1473231341),r=Se(r,n,i,e,A[7],22,-45705983),e=Se(e,r,n,i,A[8],7,1770035416),i=Se(i,e,r,n,A[9],12,-1958414417),n=Se(n,i,e,r,A[10],17,-42063),r=Se(r,n,i,e,A[11],22,-1990404162),e=Se(e,r,n,i,A[12],7,1804603682),i=Se(i,e,r,n,A[13],12,-40341101),n=Se(n,i,e,r,A[14],17,-1502002290),e=Ne(e,r=Se(r,n,i,e,A[15],22,1236535329),n,i,A[1],5,-165796510),i=Ne(i,e,r,n,A[6],9,-1069501632),n=Ne(n,i,e,r,A[11],14,643717713),r=Ne(r,n,i,e,A[0],20,-373897302),e=Ne(e,r,n,i,A[5],5,-701558691),i=Ne(i,e,r,n,A[10],9,38016083),n=Ne(n,i,e,r,A[15],14,-660478335),r=Ne(r,n,i,e,A[4],20,-405537848),e=Ne(e,r,n,i,A[9],5,568446438),i=Ne(i,e,r,n,A[14],9,-1019803690),n=Ne(n,i,e,r,A[3],14,-187363961),r=Ne(r,n,i,e,A[8],20,1163531501),e=Ne(e,r,n,i,A[13],5,-1444681467),i=Ne(i,e,r,n,A[2],9,-51403784),n=Ne(n,i,e,r,A[7],14,1735328473),e=He(e,r=Ne(r,n,i,e,A[12],20,-1926607734),n,i,A[5],4,-378558),i=He(i,e,r,n,A[8],11,-2022574463),n=He(n,i,e,r,A[11],16,1839030562),r=He(r,n,i,e,A[14],23,-35309556),e=He(e,r,n,i,A[1],4,-1530992060),i=He(i,e,r,n,A[4],11,1272893353),n=He(n,i,e,r,A[7],16,-155497632),r=He(r,n,i,e,A[10],23,-1094730640),e=He(e,r,n,i,A[13],4,681279174),i=He(i,e,r,n,A[0],11,-358537222),n=He(n,i,e,r,A[3],16,-722521979),r=He(r,n,i,e,A[6],23,76029189),e=He(e,r,n,i,A[9],4,-640364487),i=He(i,e,r,n,A[12],11,-421815835),n=He(n,i,e,r,A[15],16,530742520),e=_e(e,r=He(r,n,i,e,A[2],23,-995338651),n,i,A[0],6,-198630844),i=_e(i,e,r,n,A[7],10,1126891415),n=_e(n,i,e,r,A[14],15,-1416354905),r=_e(r,n,i,e,A[5],21,-57434055),e=_e(e,r,n,i,A[12],6,1700485571),i=_e(i,e,r,n,A[3],10,-1894986606),n=_e(n,i,e,r,A[10],15,-1051523),r=_e(r,n,i,e,A[1],21,-2054922799),e=_e(e,r,n,i,A[8],6,1873313359),i=_e(i,e,r,n,A[15],10,-30611744),n=_e(n,i,e,r,A[6],15,-1560198380),r=_e(r,n,i,e,A[13],21,1309151649),e=_e(e,r,n,i,A[4],6,-145523070),i=_e(i,e,r,n,A[11],10,-1120210379),n=_e(n,i,e,r,A[2],15,718787259),r=_e(r,n,i,e,A[9],21,-343485551),t[0]=Tn(e,t[0]),t[1]=Tn(r,t[1]),t[2]=Tn(n,t[2]),t[3]=Tn(i,t[3])}function ac(t,A,e,r,n,i){return A=Tn(Tn(A,t),Tn(r,i)),Tn(A<<n|A>>>32-n,e)}function Se(t,A,e,r,n,i,s){return ac(A&e|~A&r,t,A,n,i,s)}function Ne(t,A,e,r,n,i,s){return ac(A&r|e&~r,t,A,n,i,s)}function He(t,A,e,r,n,i,s){return ac(A^e^r,t,A,n,i,s)}function _e(t,A,e,r,n,i,s){return ac(e^(A|~r),t,A,n,i,s)}function Eg(t){var A,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(A=64;A<=t.length;A+=64)El(r,wy(t.substring(A-64,A)));t=t.substring(A-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(A=0;A<t.length;A++)n[A>>2]|=t.charCodeAt(A)<<(A%4<<3);if(n[A>>2]|=128<<(A%4<<3),A>55)for(El(r,n),A=0;A<16;A++)n[A]=0;return n[14]=8*e,El(r,n),r}function wy(t){var A,e=[];for(A=0;A<64;A+=4)e[A>>2]=t.charCodeAt(A)+(t.charCodeAt(A+1)<<8)+(t.charCodeAt(A+2)<<16)+(t.charCodeAt(A+3)<<24);return e}var fd="0123456789abcdef".split("");function my(t){for(var A="",e=0;e<4;e++)A+=fd[t>>8*e+4&15]+fd[t>>8*e&15];return A}function Cy(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Bh(t){return Eg(t).map(Cy).join("")}var by=function(t){for(var A=0;A<t.length;A++)t[A]=my(t[A]);return t.join("")}(Eg("hello"))!="5d41402abc4b2a76b9719d911017c592";function Tn(t,A){if(by){var e=(65535&t)+(65535&A);return(t>>16)+(A>>16)+(e>>16)<<16|65535&e}return t+A&4294967295}/**
26 * @license
27 * FPDF is released under a permissive license: there is no usage restriction.
28 * You may embed it freely in your application (commercial or not), with or
29 * without modifications.
30 *
31 * Reference: http://www.fpdf.org/en/script/script37.php
32 */function ph(t,A){var e,r,n,i;if(t!==e){for(var s=(n=t,i=1+(256/t.length|0),new Array(i+1).join(n)),a=[],c=0;c<256;c++)a[c]=c;var h=0;for(c=0;c<256;c++){var u=a[c];h=(h+u+s.charCodeAt(c))%256,a[c]=a[h],a[h]=u}e=t,r=a}else a=r;var p=A.length,w=0,d=0,v="";for(c=0;c<p;c++)d=(d+(u=a[w=(w+1)%256]))%256,a[w]=a[d],a[d]=u,s=a[(a[w]+a[d])%256],v+=String.fromCharCode(A.charCodeAt(c)^s);return v}/**
33 * @license
34 * Licensed under the MIT License.
35 * http://opensource.org/licenses/mit-license
36 * Author: Owen Leong (@owenl131)
37 * Date: 15 Oct 2020
38 * References:
39 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
40 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
41 * http://www.fpdf.org/en/script/script37.php
42 */var dd={print:4,modify:8,copy:16,"annot-forms":32};function as(t,A,e,r){this.v=1,this.r=2;var n=192;t.forEach(function(a){if(dd.perm!==void 0)throw new Error("Invalid permission: "+a);n+=dd[a]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var i=(A+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=Bh(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=ph(this.encryptionKey,this.padding)}function cs(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var A="",e=t.length,r=0;r<e;r++){var n=t.charCodeAt(r);A+=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?"#"+("0"+n.toString(16)).slice(-2):t[r]}return A}function gd(t){if(St(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var A={};this.subscribe=function(e,r,n){if(n=n||!1,typeof e!="string"||typeof r!="function"||typeof n!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");A.hasOwnProperty(e)||(A[e]={});var i=Math.random().toString(35);return A[e][i]=[r,!!n],i},this.unsubscribe=function(e){for(var r in A)if(A[r][e])return delete A[r][e],Object.keys(A[r]).length===0&&delete A[r],!0;return!1},this.publish=function(e){if(A.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in A[e]){var s=A[e][i];try{s[0].apply(t,r)}catch(a){YA.console&&It.error("jsPDF PubSub Error",a.message,a)}s[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return A}}function qa(t){if(!(this instanceof qa))return new qa(t);var A="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&A.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function Lg(t,A){this.gState=t,this.matrix=A,this.id="",this.objectNumber=-1}function ui(t,A,e,r,n){if(!(this instanceof ui))return new ui(t,A,e,r,n);this.type=t==="axial"?2:3,this.coords=A,this.colors=e,Lg.call(this,r,n)}function hs(t,A,e,r,n){if(!(this instanceof hs))return new hs(t,A,e,r,n);this.boundingBox=t,this.xStep=A,this.yStep=e,this.stream="",this.cloneIndex=0,Lg.call(this,r,n)}function TA(t){var A,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],n=arguments[2],i=arguments[3],s=[],a=1,c=16,h="S",u=null;St(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,n=t.format||n,i=t.compress||t.compressPdf||i,(u=t.encryption||null)!==null&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),a=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(A=t.precision),t.floatPrecision!==void 0&&(c=t.floatPrecision),h=t.defaultPathOperation||"S"),s=t.filters||(i===!0?["FlateEncode"]:s),r=r||"mm",e=(""+(e||"P")).toLowerCase();var p=t.putOnlyUsedFonts||!1,w={},d={internal:{},__private__:{}};d.__private__.PubSub=gd;var v="1.3",F=d.__private__.getPdfVersion=function(){return v};d.__private__.setPdfVersion=function(f){v=f};var L={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]};d.__private__.getPageFormats=function(){return L};var b=d.__private__.getPageFormat=function(f){return L[f]};n=n||"a4";var M="compat",T="advanced",S=M;function AA(){this.saveGraphicsState(),H(new WA(it,0,0,-it,0,zn()*it).toString()+" cm"),this.setFontSize(this.getFontSize()/it),h="n",S=T}function sA(){this.restoreGraphicsState(),h="S",S=M}var Z=d.__private__.combineFontStyleAndFontWeight=function(f,m){if(f=="bold"&&m=="normal"||f=="bold"&&m==400||f=="normal"&&m=="italic"||f=="bold"&&m=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return m&&(f=m==400||m==="normal"?f==="italic"?"italic":"normal":m!=700&&m!=="bold"||f!=="normal"?(m==700?"bold":m)+""+f:"bold"),f};d.advancedAPI=function(f){var m=S===M;return m&&AA.call(this),typeof f!="function"||(f(this),m&&sA.call(this)),this},d.compatAPI=function(f){var m=S===T;return m&&sA.call(this),typeof f!="function"||(f(this),m&&AA.call(this)),this},d.isAdvancedAPI=function(){return S===T};var j,P=function(f){if(S!==T)throw new Error(f+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Y=d.roundToPrecision=d.__private__.roundToPrecision=function(f,m){var _=A||m;if(isNaN(f)||isNaN(_))throw new Error("Invalid argument passed to 
42jsPDF.roundToPrecision");return f.toFixed(_).replace(/0+$/,"")};j=d.hpf=d.__private__.hpf=typeof c=="number"?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return Y(f,c)}:c==="smart"?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return Y(f,f>-1&&f<1?16:5)}:function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return Y(f,16)};var E=d.f2=d.__private__.f2=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f2");return Y(f,2)},N=d.__private__.f3=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f3");return Y(f,3)},G=d.scale=d.__private__.scale=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.scale");return S===M?f*it:S===T?f:void 0},K=function(f){return G(function(m){return S===M?zn()-m:S===T?m:void 0}(f))};d.__private__.setPrecision=d.setPrecision=function(f){typeof parseInt(f,10)=="number"&&(A=parseInt(f,10))};var iA,cA="00000000000000000000000000000000",uA=d.__private__.getFileId=function(){return cA},nA=d.__private__.setFileId=function(f){return cA=f!==void 0&&/^[a-fA-F0-9]{32}$/.test(f)?f.toUpperCase():cA.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),u!==null&&(Ce=new as(u.userPermissions,u.userPassword,u.ownerPassword,cA)),cA};d.setFileId=function(f){return nA(f),this},d.getFileId=function(){return uA()};var dA=d.__private__.convertDateToPDFDate=function(f){var m=f.getTimezoneOffset(),_=m<0?"+":"-",V=Math.floor(Math.abs(m/60)),J=Math.abs(m%60),lA=[_,R(V),"'",R(J),"'"].join("");return["D:",f.getFullYear(),R(f.getMonth()+1),R(f.getDate()),R(f.getHours()),R(f.getMinutes()),R(f.getSeconds()),lA].join("")},FA=d.__private__.convertPDFDateToDate=function(f){var m=parseInt(f.substr(2,4),10),_=parseInt(f.substr(6,2),10)-1,V=parseInt(f.substr(8,2),10),J=parseInt(f.substr(10,2),10),lA=parseInt(f.substr(12,2),10),pA=parseInt(f.substr(14,2),10);return new Date(m,_,V,J,lA,pA,0)},mA=d.__private__.setCreationDate=function(f){var m;if(f===void 0&&(f=new Date),f instanceof Date)m=dA(f);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(f))throw new Error("Invalid argument passed to jsPDF.setCreationDate");m=f}return iA=m},U=d.__private__.getCreationDate=function(f){var m=iA;return f==="jsDate"&&(m=FA(iA)),m};d.setCreationDate=function(f){return mA(f),this},d.getCreationDate=function(f){return U(f)};var O,R=d.__private__.padd2=function(f){return("0"+parseInt(f)).slice(-2)},q=d.__private__.padd2Hex=function(f){return("00"+(f=f.toString())).substr(f.length)},z=0,tA=[],oA=[],aA=0,BA=[],yA=[],LA=!1,UA=oA;d.__private__.setCustomOutputDestination=function(f){LA=!0,UA=f};var PA=function(f){LA||(UA=f)};d.__private__.resetCustomOutputDestination=function(){LA=!1,UA=oA};var H=d.__private__.out=function(f){return f=f.toString(),aA+=f.length+1,UA.push(f),UA},vA=d.__private__.write=function(f){return H(arguments.length===1?f.toString():Array.prototype.join.call(arguments," "))},at=d.__private__.getArrayBuffer=function(f){for(var m=f.length,_=new ArrayBuffer(m),V=new Uint8Array(_);m--;)V[m]=f.charCodeAt(m);return _},GA=[["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]];d.__private__.getStandardFonts=function(){return GA};var CA=t.fontSize||16;d.__private__.setFontSize=d.setFontSize=function(f){return CA=S===T?f/it:f,this};var jA,IA=d.__private__.getFontSize=d.getFontSize=function(){return S===M?CA:CA*it},VA=t.R2L||!1;d.__private__.setR2L=d.setR2L=function(f){return VA=f,this},d.__private__.getR2L=d.getR2L=function(){return VA};var RA,bt=d.__private__.setZoomMode=function(f){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(f))jA=f;else if(isNaN(f)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(f)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+f+'" is not recognized.');jA=f}else jA=parseInt(f,10)};d.__private__.getZoomMode=function(){return jA};var ut,tt=d.__private__.setPageMode=function(f){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(f)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+f+'" is not recognized.');RA=f};d.__private__.getPageMode=function(){return RA};var gt=d.__private__.setLayoutMode=function(f){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(f)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+f+'" is not recognized.');ut=f};d.__private__.getLayoutMode=function(){return ut},d.__private__.setDisplayMode=d.setDisplayMode=function(f,m,_){return bt(f),gt(m),tt(_),this};var ft={title:"",subject:"",author:"",keywords:"",creator:""};d.__private__.getDocumentProperty=function(f){if(Object.keys(ft).indexOf(f)===-1)throw new Error("Invalid argument passed to 
42jsPDF.getDocumentProperty");return ft[f]},d.__private__.getDocumentProperties=function(){return ft},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(f){for(var m in ft)ft.hasOwnProperty(m)&&f[m]&&(ft[m]=f[m]);return this},d.__private__.setDocumentProperty=function(f,m){if(Object.keys(ft).indexOf(f)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ft[f]=m};var kA,it,OA,Yt,mt,ct={},lt={},Ot=[],KA={},Nt={},zA={},et={},Pt=null,ht=0,qA=[],yt=new gd(d),Vn=t.hotfixes||[],Ue={},Yr={},Hr=[],WA=function f(m,_,V,J,lA,pA){if(!(this instanceof f))return new f(m,_,V,J,lA,pA);isNaN(m)&&(m=1),isNaN(_)&&(_=0),isNaN(V)&&(V=0),isNaN(J)&&(J=1),isNaN(lA)&&(lA=0),isNaN(pA)&&(pA=0),this._matrix=[m,_,V,J,lA,pA]};Object.defineProperty(WA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(WA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(WA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(WA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(WA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(WA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(WA.prototype,"a",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(WA.prototype,"b",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(WA.prototype,"c",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(WA.prototype,"d",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(WA.prototype,"e",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(WA.prototype,"f",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(WA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(WA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(WA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(WA.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),WA.prototype.join=function(f){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(j).join(f)},WA.prototype.multiply=function(f){var m=f.sx*this.sx+f.shy*this.shx,_=f.sx*this.shy+f.shy*this.sy,V=f.shx*this.sx+f.sy*this.shx,J=f.shx*this.shy+f.sy*this.sy,lA=f.tx*this.sx+f.ty*this.shx+this.tx,pA=f.tx*this.shy+f.ty*this.sy+this.ty;return new WA(m,_,V,J,lA,pA)},WA.prototype.decompose=function(){var f=this.sx,m=this.shy,_=this.shx,V=this.sy,J=this.tx,lA=this.ty,pA=Math.sqrt(f*f+m*m),HA=(f/=pA)*_+(m/=pA)*V;
vendor: 13,131 bytes, lines 42-46
42_-=f*HA,V-=m*HA;var NA=Math.sqrt(_*_+V*V);return HA/=NA,f*(V/=NA)<m*(_/=NA)&&(f=-f,m=-m,HA=-HA,pA=-pA),{scale:new WA(pA,0,0,NA,0,0),translate:new WA(1,0,0,1,J,lA),rotate:new WA(f,m,-m,f,0,0),skew:new WA(1,0,HA,1,0,0)}},WA.prototype.toString=function(f){return this.join(" ")},WA.prototype.inversed=function(){var f=this.sx,m=this.shy,_=this.shx,V=this.sy,J=this.tx,lA=this.ty,pA=1/(f*V-m*_),HA=V*pA,NA=-m*pA,ZA=-_*pA,rt=f*pA;return new WA(HA,NA,ZA,rt,-HA*J-ZA*lA,-NA*J-rt*lA)},WA.prototype.applyToPoint=function(f){var m=f.x*this.sx+f.y*this.shx+this.tx,_=f.x*this.shy+f.y*this.sy+this.ty;return new Xn(m,_)},WA.prototype.applyToRectangle=function(f){var m=this.applyToPoint(f),_=this.applyToPoint(new Xn(f.x+f.w,f.y+f.h));return new xs(m.x,m.y,_.x-m.x,_.y-m.y)},WA.prototype.clone=function(){var f=this.sx,m=this.shy,_=this.shx,V=this.sy,J=this.tx,lA=this.ty;return new WA(f,m,_,V,J,lA)},d.Matrix=WA;var Zr=d.matrixMult=function(f,m){return m.multiply(f)},$r=new WA(1,0,0,1,0,0);d.unitMatrix=d.identityMatrix=$r;var rr=function(f,m){if(!Nt[f]){var _=(m instanceof ui?"Sh":"P")+(Object.keys(KA).length+1).toString(10);m.id=_,Nt[f]=_,KA[_]=m,yt.publish("addPattern",m)}};d.ShadingPattern=ui,d.TilingPattern=hs,d.addShadingPattern=function(f,m){return P("addShadingPattern()"),rr(f,m),this},d.beginTilingPattern=function(f){P("beginTilingPattern()"),Is(f.boundingBox[0],f.boundingBox[1],f.boundingBox[2]-f.boundingBox[0],f.boundingBox[3]-f.boundingBox[1],f.matrix)},d.endTilingPattern=function(f,m){P("endTilingPattern()"),m.stream=yA[O].join(`
43`),rr(f,m),yt.publish("endTilingPattern",m),Hr.pop().restore()};var nr,qt=d.__private__.newObject=function(){var f=pe();return me(f,!0),f},pe=d.__private__.newObjectDeferred=function(){return z++,tA[z]=function(){return aA},z},me=function(f,m){return m=typeof m=="boolean"&&m,tA[f]=aA,m&&H(f+" 0 obj"),f},Gn=d.__private__.newAdditionalObject=function(){var f={objId:pe(),content:""};return BA.push(f),f},wn=pe(),pr=pe(),_r=d.__private__.decodeColorString=function(f){var m=f.split(" ");if(m.length!==2||m[1]!=="g"&&m[1]!=="G")m.length!==5||m[4]!=="k"&&m[4]!=="K"||(m=[(1-m[0])*(1-m[3]),(1-m[1])*(1-m[3]),(1-m[2])*(1-m[3]),"r"]);else{var _=parseFloat(m[0]);m=[_,_,_,"r"]}for(var V="#",J=0;J<3;J++)V+=("0"+Math.floor(255*parseFloat(m[J])).toString(16)).slice(-2);return V},wr=d.__private__.encodeColorString=function(f){var m;typeof f=="string"&&(f={ch1:f});var _=f.ch1,V=f.ch2,J=f.ch3,lA=f.ch4,pA=f.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof _=="string"&&_.charAt(0)!=="#"){var HA=new Ug(_);if(HA.ok)_=HA.toHex();else if(!/^\d*\.?\d*$/.test(_))throw new Error('Invalid color "'+_+'" passed to jsPDF.encodeColorString.')}if(typeof _=="string"&&/^#[0-9A-Fa-f]{3}$/.test(_)&&(_="#"+_[1]+_[1]+_[2]+_[2]+_[3]+_[3]),typeof _=="string"&&/^#[0-9A-Fa-f]{6}$/.test(_)){var NA=parseInt(_.substr(1),16);_=NA>>16&255,V=NA>>8&255,J=255&NA}if(V===void 0||lA===void 0&&_===V&&V===J)m=typeof _=="string"?_+" "+pA[0]:f.precision===2?E(_/255)+" "+pA[0]:N(_/255)+" "+pA[0];else if(lA===void 0||St(lA)==="object"){if(lA&&!isNaN(lA.a)&&lA.a===0)return["1.","1.","1.",pA[1]].join(" ");m=typeof _=="string"?[_,V,J,pA[1]].join(" "):f.precision===2?[E(_/255),E(V/255),E(J/255),pA[1]].join(" "):[N(_/255),N(V/255),N(J/255),pA[1]].join(" ")}else m=typeof _=="string"?[_,V,J,lA,pA[2]].join(" "):f.precision===2?[E(_),E(V),E(J),E(lA),pA[2]].join(" "):[N(_),N(V),N(J),N(lA),pA[2]].join(" ");return m},mr=d.__private__.getFilters=function(){return s},ir=d.__private__.putStream=function(f){var m=(f=f||{}).data||"",_=f.filters||mr(),V=f.alreadyAppliedFilters||[],J=f.addLength1||!1,lA=m.length,pA=f.objectId,HA=function(kt){return kt};if(u!==null&&pA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");u!==null&&(HA=Ce.encryptor(pA,0));var NA={};_===!0&&(_=["FlateEncode"]);var ZA=f.additionalKeyValues||[],rt=(NA=TA.API.processDataByFilters!==void 0?TA.API.processDataByFilters(m,_):{data:m,reverseChain:[]}).reverseChain+(Array.isArray(V)?V.join(" "):V.toString());if(NA.data.length!==0&&(ZA.push({key:"Length",value:NA.data.length}),J===!0&&ZA.push({key:"Length1",value:lA})),rt.length!=0)if(rt.split("/").length-1==1)ZA.push({key:"Filter",value:rt});else{ZA.push({key:"Filter",value:"["+rt+"]"});for(var pt=0;pt<ZA.length;pt+=1)if(ZA[pt].key==="DecodeParms"){for(var ae=[],Lt=0;Lt<NA.reverseChain.split("/").length-1;Lt+=1)ae.push("null");ae.push(ZA[pt].value),ZA[pt].value="["+ae.join(" ")+"]"}}H("<<");for(var Et=0;Et<ZA.length;Et++)H("/"+ZA[Et].key+" "+ZA[Et].value);H(">>"),NA.data.length!==0&&(H("stream"),H(HA(NA.data)),H("endstream"))},jn=d.__private__.putPage=function(f){var m=f.number,_=f.data,V=f.objId,J=f.contentsObjId;me(V,!0),H("<</Type /Page"),H("/Parent "+f.rootDictionaryObjId+" 0 R"),H("/Resources "+f.resourceDictionaryObjId+" 0 R"),H("/MediaBox ["+parseFloat(j(f.mediaBox.bottomLeftX))+" "+parseFloat(j(f.mediaBox.bottomLeftY))+" "+j(f.mediaBox.topRightX)+" "+j(f.mediaBox.topRightY)+"]"),f.cropBox!==null&&H("/CropBox ["+j(f.cropBox.bottomLeftX)+" "+j(f.cropBox.bottomLeftY)+" "+j(f.cropBox.topRightX)+" "+j(f.cropBox.topRightY)+"]"),f.bleedBox!==null&&H("/BleedBox ["+j(f.bleedBox.bottomLeftX)+" "+j(f.bleedBox.bottomLeftY)+" "+j(f.bleedBox.topRightX)+" "+j(f.bleedBox.topRightY)+"]"),f.trimBox!==null&&H("/TrimBox ["+j(f.trimBox.bottomLeftX)+" "+j(f.trimBox.bottomLeftY)+" "+j(f.trimBox.topRightX)+" "+j(f.trimBox.topRightY)+"]"),f.artBox!==null&&H("/ArtBox ["+j(f.artBox.bottomLeftX)+" "+j(f.artBox.bottomLeftY)+" "+j(f.artBox.topRightX)+" "+j(f.artBox.topRightY)+"]"),typeof f.userUnit=="number"&&f.userUnit!==1&&H("/UserUnit "+f.userUnit),yt.publish("putPage",{objId:V,pageContext:qA[m],pageNumber:m,page:_}),H("/Contents "+J+" 0 R"),H(">>"),H("endobj");var lA=_.join(`
44`);return S===T&&(lA+=`
45Q`),me(J,!0),ir({data:lA,filters:mr(),objectId:J}),H("endobj"),V},Dr=d.__private__.putPages=function(){var f,m,_=[];for(f=1;f<=ht;f++)qA[f].objId=pe(),qA[f].contentsObjId=pe();for(f=1;f<=ht;f++)_.push(jn({number:f,data:yA[f],objId:qA[f].objId,contentsObjId:qA[f].contentsObjId,mediaBox:qA[f].mediaBox,cropBox:qA[f].cropBox,bleedBox:qA[f].bleedBox,trimBox:qA[f].trimBox,artBox:qA[f].artBox,userUnit:qA[f].userUnit,rootDictionaryObjId:wn,resourceDictionaryObjId:pr}));me(wn,!0),H("<</Type /Pages");var V="/Kids [";for(m=0;m<ht;m++)V+=_[m]+" 0 R ";H(V+"]"),H("/Count "+ht),H(">>"),H("endobj"),yt.publish("postPutPages")},qn=function(f){yt.publish("putFont",{font:f,out:H,newObject:qt,putStream:ir}),f.isAlreadyPutted!==!0&&(f.objectNumber=qt(),H("<<"),H("/Type /Font"),H("/BaseFont /"+cs(f.postScriptName)),H("/Subtype /Type1"),typeof f.encoding=="string"&&H("/Encoding /"+f.encoding),H("/FirstChar 32"),H("/LastChar 255"),H(">>"),H("endobj"))},xi=function(f){f.objectNumber=qt();var m=[];m.push({key:"Type",value:"/XObject"}),m.push({key:"Subtype",value:"/Form"}),m.push({key:"BBox",value:"["+[j(f.x),j(f.y),j(f.x+f.width),j(f.y+f.height)].join(" ")+"]"}),m.push({key:"Matrix",value:"["+f.matrix.toString()+"]"});var _=f.pages[1].join(`
46`);ir({data:_,additionalKeyValues:m,objectId:f.objectNumber}),H("endobj")},Ii=function(f,m){m||(m=21);var _=qt(),V=function(pA,HA){var NA,ZA=[],rt=1/(HA-1);for(NA=0;NA<1;NA+=rt)ZA.push(NA);if(ZA.push(1),pA[0].offset!=0){var pt={offset:0,color:pA[0].color};pA.unshift(pt)}if(pA[pA.length-1].offset!=1){var ae={offset:1,color:pA[pA.length-1].color};pA.push(ae)}for(var Lt="",Et=0,kt=0;kt<ZA.length;kt++){for(NA=ZA[kt];NA>pA[Et+1].offset;)Et++;var Vt=pA[Et].offset,Gt=(NA-Vt)/(pA[Et+1].offset-Vt),Ee=pA[Et].color,sn=pA[Et+1].color;Lt+=q(Math.round((1-Gt)*Ee[0]+Gt*sn[0]).toString(16))+q(Math.round((1-Gt)*Ee[1]+Gt*sn[1]).toString(16))+q(Math.round((1-Gt)*Ee[2]+Gt*sn[2]).toString(16))}return Lt.trim()}(f.colors,m),J=[];J.push({key:"FunctionType",value:"0"}),J.push({key:"Domain",value:"[0.0 1.0]"}),J.push({key:"Size",value:"["+m+"]"}),J.push({key:"BitsPerSample",value:"8"}),J.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),J.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ir({data:V,additionalKeyValues:J,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:_}),H("endobj"),f.objectNumber=qt(),H("<< /ShadingType "+f.type),H("/ColorSpace /DeviceRGB");var lA="/Coords ["+j(parseFloat(f.coords[0]))+" "+j(parseFloat(f.coords[1]))+" ";f.type===2?lA+=j(parseFloat(f.coords[2]))+" "+j(parseFloat(f.coords[3])):lA+=j(parseFloat(f.coords[2]))+" "+j(parseFloat(f.coords[3]))+" "+j(parseFloat(f.coords[4]))+" "+j(parseFloat(f.coords[5])),H(lA+="]"),f.matrix&&H("/Matrix ["+f.matrix.toString()+"]"),H("/Function "+_+" 0 R"),H("/Extend [true true]"),H(">>"),H("endobj")},Si=function(f,m){var _=pe(),V=qt();m.push({resourcesOid:_,objectOid:V}),f.objectNumber=V;var J=[];J.push({key:"Type",value:"/Pattern"}),J.push({key:"PatternType",value:"1"}),J.push({key:"PaintType",value:"1"}),J.push({key:"TilingType",value:"1"}),J.push({key:"BBox",value:"["+f.boundingBox.map(j).join(" ")+"]"}),J.push({key:"XStep",value:j(f.xStep)}),J.push({key:"YStep",value:j(f.yStep)}),J.push({key:"Resources",value:_+" 0 R"}),f.matrix&&J.push({key:"Matrix",value:"["+f.matrix.toString()+"]"}),ir({data:f.stream,additionalKeyValues:J,objectId:f.objectNumber}),H("endobj")},cc=function(f){for(var m in f.objectNumber=qt(),H("<<"),f)switch(m){case"opacity":H("/ca "+E(f[m]));break;case"stroke-opacity":H("/CA "+E(f[m]))}H(">>"),H("endobj")},bs=function(f){me(f.resourcesOid,!0),H("<<"),H("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var m in H("/Font <<"),ct)ct.hasOwnProperty(m)&&(p===!1||p===!0&&w.hasOwnProperty(m))&&H("/"+m+" "+ct[m].objectNumber+" 0 R");H(">>")}(),function(){if(Object.keys(KA).length>0){for(var m in H("/Shading <<"),KA)KA.hasOwnProperty(m)&&KA[m]instanceof ui&&KA[m].objectNumber>=0&&H("/"+m+" "+KA[m].objectNumber+" 0 R");yt.publish("putShadingPatternDict"),H(">>")}}(),function(m){if(Object.keys(KA).length>0){for(var _ in H("/Pattern <<"),KA)KA.hasOwnProperty(_)&&KA[_]instanceof d.TilingPattern&&KA[_].objectNumber>=0&&KA[_].objectNumber<m&&H("/"+_+" "+KA[_].objectNumber+" 0 R");yt.publish("putTilingPatternDict"),H(">>")}}(f.objectOid),function(){if(Object.keys(zA).length>0){var m;for(m in H("/ExtGState <<"),zA)zA.hasOwnProperty(m)&&zA[m].objectNumber>=0&&H("/"+m+" "+zA[m].objectNumber+" 0 R");yt.publish("putGStateDict"),H(">>")}}(),function(){for(var m in H("/XObject <<"),Ue)Ue.hasOwnProperty(m)&&Ue[m].objectNumber>=0&&H("/"+m+" "+Ue[m].objectNumber+" 0 R");yt.publish("putXobjectDict"),H(">>")}(),H(">>"),H("endobj")},mo=function(f){lt[f.fontName]=lt[f.fontName]||{},lt[f.fontName][f.fontStyle]=f.id},Co=function(f,m,_,V,J){var lA={id:"F"+(Object.keys(ct).length+1).toString(10),postScriptName:f,fontName:m,fontStyle:_,encoding:V,isStandardFont:J||!1,metadata:{}};return yt.publish("addFont",{font:lA,instance:this}),ct[lA.id]=lA,mo(lA),lA.id},sr=d.__private__.pdfEscape=d.pdfEscape=function(f,m){return function(_,V){var J,lA,pA,HA,NA,ZA,rt,pt,ae;if(pA=(V=V||{}).sourceEncoding||"Unicode",NA=V.outputEncoding,(V.autoencode||NA)&&ct[kA].metadata&&ct[kA].metadata[pA]&&ct[kA].metadata[pA].encoding&&(HA=ct[kA].metadata[pA].encoding,!NA&&ct[kA].encoding&&(NA=ct[kA].encoding),!NA&&HA.codePages&&(NA=HA.codePages[0]),typeof NA=="string"&&(NA=HA[NA]),NA)){for(rt=!1,ZA=[],J=0,lA=_.length;J<lA;J++)(pt=NA[_.charCodeAt(J)])?ZA.push(String.fromCharCode(pt)):ZA.push(_[J]),ZA[J].charCodeAt(0)>>8&&(rt=!0);_=ZA.join("")}for(J=_.length;rt===void 0&&J!==0;)_.charCodeAt(J-1)>>8&&(rt=!0),J--;if(!rt)return _;for(ZA=V.noBOM?[]:[254,255],J=0,lA=_.length;J<lA;J++){if((ae=(pt=_.charCodeAt(J))>>8)>>8)throw new Error("Character at position "+J+" of string '"+_+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ZA.push(ae),ZA.push(pt-(ae<<8))}return String.fromCharCode.apply(void 0,ZA)}(f,m).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ys=d.__private__.beginPage=function(f){yA[++ht]=[],qA[ht]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(f[0]),topRightY:Number(f[1])}},yo(ht),PA(yA[O])},bo=function(f,m){var _,V,J;switch(e=m||e,typeof f=="string"&&(_=b(f.toLowerCase()),Array.isArray(_)&&(V=_[0],J=_[1])),Array.isArray(f)&&(V=f[0]*it,J=f[1]*it),isNaN(V)&&(V=n[0],J=n[1]),(V>14400||J>14400)&&(It.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),V=Math.min(14400,V),J=Math.min(14400,J)),n=[V,J],e.substr(0,1)){case"l":J>V&&(n=[J,V]);break;case"p":V>J&&(n=[J,V])}ys(n),mc(JA),H(Mi),Es!==0&&H(Es+" J"),bn!==0&&H(bn+" j"),yt.publish("addPage",{pageNumber:ht})},Fs=function(f){f>0&&f<=ht&&(yA.splice(f,1),qA.splice(f,1),ht--,O>ht&&(O=ht),this.setPage(O))},yo=function(f){f>0&&f<=ht&&(O=f)},Fo=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return yA.length-1},Qo=function(f,m,_){var V,J=void 0;return _=_||{},f=f!==void 0?f:ct[kA].fontName,m=m!==void 0?m:ct[kA].fontStyle,V=f.toLowerCase(),lt[V]!==void 0&&lt[V][m]!==void 0?J=lt[V][m]:lt[f]!==void 0&&lt[f][m]!==void 0?J=lt[f][m]:_.disableWarning===!1&&It.warn("Unable to look up font label for font '"+f+"', '"+m+"'. Refer to getFontList(
46) for available fonts."),J||_.noFallback||(J=lt.times[m])==null&&(J=lt.times.normal),J},kr=d.__private__.putInfo=function(){var f=qt(),m=function(V){return V};for(var _ in u!==null&&(m=Ce.encryptor(f,0)),H("<<"),H("/Producer ("+sr(m("jsPDF "+TA.version))+")"),ft)ft.hasOwnProperty(_)&&ft[_]&&H("/"+_.substr(0,1).toUpperCase()+_.substr(1)+" ("+sr(m(ft[_]))+")");H("/CreationDate ("+sr(m(iA))+")"),H(">>"),H("endobj")},Ni=d.__private__.putCatalog=function(f){var m=(f=f||{}).rootDictionaryObjId||wn;switch(qt(),H("<<"),H("/Type /Catalog"),H("/Pages "+m+" 0 R"),jA||(jA="fullwidth"),jA){case"fullwidth":H("/OpenAction [3 0 R /FitH null]");break;case"fullheight":H("/OpenAction [3 0 R /FitV null]");break;case"fullpage":H("/OpenAction [3 0 R /Fit]");break;case"original":H("/OpenAction [3 0 R /XYZ null null 1]");break;default:var _=""+jA;_.substr(_.length-1)==="%"&&(jA=parseInt(jA)/100),typeof jA=="number"&&H("/OpenAction [3 0 R /XYZ null null "+E(jA)+"]")}switch(ut||(ut="continuous"),ut){case"continuous":H("/PageLayout /OneColumn");break;case"single":H("/PageLayout /SinglePage");break;case"two":case"twoleft":H("/PageLayout /TwoColumnLeft");break;case"tworight":H("/PageLayout /TwoColumnRight")}RA&&H("/PageMode /"+RA),yt.publish("putCatalog"),H(">>"),H("endobj")},lc=d.__private__.putTrailer=function(){H("trailer"),H("<<"),H("/Size "+(z+1)),H("/Root "+z+" 0 R"),H("/Info "+(z-1)+" 0 R"),u!==null&&H("/Encrypt "+Ce.oid+" 0 R"),H("/ID [ <"+cA+"> <"+cA+"> ]"),H(">>")},oe=d.__private__.putHeader=function(){H("%PDF-"+v),H("%ºß¬à")},vo=d.__private__.putXRef=function(){var f="0000000000";H("xref"),H("0 "+(z+1)),H("0000000000 65535 f ");for(var m=1;m<=z;m++)typeof tA[m]=="function"?H((f+tA[m]()).slice(-10)+" 00000 n "):tA[m]!==void 0?H((f+tA[m]).slice(-10)+" 00000 n "):H("0000000000 00000 n ")},Mr=d.__private__.buildDocument=function(){var f;z=0,aA=0,oA=[],tA=[],BA=[],wn=pe(),pr=pe(),PA(oA),yt.publish("buildDocument"),oe(),Dr(),function(){yt.publish("putAdditionalObjects");for(var _=0;_<BA.length;_++){var V=BA[_];me(V.objId,!0),H(V.content),H("endobj")}yt.publish("postPutAdditionalObjects")}(),f=[],function(){for(var _ in ct)ct.hasOwnProperty(_)&&(p===!1||p===!0&&w.hasOwnProperty(_))&&qn(ct[_])}(),function(){var _;for(_ in zA)zA.hasOwnProperty(_)&&cc(zA[_])}(),function(){for(var _ in Ue)Ue.hasOwnProperty(_)&&xi(Ue[_])}(),function(_){var V;for(V in KA)KA.hasOwnProperty(V)&&(KA[V]instanceof ui?Ii(KA[V]):KA[V]instanceof hs&&Si(KA[V],_))}(f),yt.publish("putResources"),f.forEach(bs),bs({resourcesOid:pr,objectOid:Number.MAX_SAFE_INTEGER}),yt.publish("postPutResources"),u!==null&&(Ce.oid=qt(),H("<<"),H("/Filter /Standard"),H("/V "+Ce.v),H("/R "+Ce.r),H("/U <"+Ce.toHexString(Ce.U)+">"),H("/O <"+Ce.toHexString(Ce.O)+">"),H("/P "+Ce.P),H(">>"),H("endobj")),kr(),Ni();var m=aA;return vo(),lc(),H("startxref"),H(""+m),H("%%EOF"),PA(yA[O]),oA.join(`
47`)},Hi=d.__private__.getBlob=function(f){return new Blob([at(f)],{type:"application/pdf"})},Qs=function(f){for(;f.firstChild;)f.removeChild(f.firstChild)},We=function(f){var m,_=f.document,V=_.documentElement,J=_.head,lA=_.body;return J||(J=_.createElement("head"),V.appendChild(J)),lA||(lA=_.createElement("body"),V.appendChild(lA)),Qs(J),Qs(lA),(m=_.createElement("style")).appendChild(_.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),J.appendChild(m),{document:_,body:lA}},_i=d.output=d.__private__.output=(nr=function(f,m){switch(typeof(m=m||{})=="string"?m={filename:m}:m.filename=m.filename||"generated.pdf",f){case void 0:return Mr();case"save":d.save(m.filename);break;case"arraybuffer":return at(Mr());case"blob":return Hi(Mr());case"bloburi":case"bloburl":if(YA.URL!==void 0&&typeof YA.URL.createObjectURL=="function")return YA.URL&&YA.URL.createObjectURL(Hi(Mr()))||void 0;It.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var _="",V=Mr();try{_=ud(V)}catch{_=ud(unescape(encodeURIComponent(V)))}return"data:application/pdf;filename="+encodeURIComponent(m.filename)+";base64,"+_;case"pdfobjectnewwindow":if(Object.prototype.toString.call(YA)==="[object Window]"){var J="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",lA=!m.pdfObjectUrl;lA||(J=m.pdfObjectUrl);var pA=YA.open();if(pA!==null){var HA=We(pA),NA=HA.document.createElement("script"),ZA=this;NA.src=J,lA&&(NA.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",NA.crossOrigin="anonymous"),NA.onload=function(){pA.PDFObject.embed(ZA.output("dataurlstring"),m)},HA.body.appendChild(NA)}return pA}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(YA)==="[object Window]"){var rt=m.pdfJsUrl||"examples/PDF.js/web/viewer.html",pt=YA.open();if(pt!==null){var ae=We(pt),Lt=ae.document.createElement("iframe"),Et=rt.indexOf("?")===-1?"?":"&";ZA=this,Lt.id="pdfViewer",Lt.width="500px",Lt.height="400px",Lt.src=rt+Et+"file=&downloadName="+encodeURIComponent(m.filename),Lt.onload=function(){pt.document.title=m.filename,Lt.contentWindow.PDFViewerApplication.open(ZA.output("bloburl"))},ae.body.appendChild(Lt)}return pt}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(YA)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var kt=YA.open();if(kt!==null){var Vt=We(kt),Gt=Vt.document.createElement("iframe");Gt.src=this.output("datauristring",m),Vt.body.appendChild(Gt),kt.document.title=m.filename}if(kt||typeof safari>"u")return kt;break;case"datauri":case"dataurl":return YA.document.location.href=this.output("datauristring",m);default:return null}},nr.foo=function(){try{return nr.apply(this,arguments)}catch(_){var f=_.stack||"";~f.indexOf(" at ")&&(f=f.split(" at ")[1]);var m="Error in function "+f.split(`
48`)[0].split("<")[0]+": "+_.message;if(!YA.console)throw new Error(m);YA.console.error(m,_),YA.alert&&alert(m)}},nr.foo.bar=nr,nr.foo),An=function(f){return Array.isArray(Vn)===!0&&Vn.indexOf(f)>-1};switch(r){case"pt":it=1;break;case"mm":it=72/25.4;break;case"cm":it=72/2.54;break;case"in":it=72;break;case"px":it=An("px_scaling")==1?.75:96/72;break;case"pc":case"em":it=12;break;case"ex":it=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);it=r}var Ce=null;mA(),nA();var Uo=d.__private__.getPageInfo=d.getPageInfo=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to 
48jsPDF.getPageInfo");return{objId:qA[f].objId,pageNumber:f,pageContext:qA[f]}},hc=d.__private__.getPageInfoByObjId=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var m in qA)if(qA[m].objId===f)break;return Uo(m)},uc=d.__private__.getCurrentPageInfo=d.getCurrentPageInfo=function(){return{objId:qA[O].objId,pageNumber:O,pageContext:qA[O]}};d.addPage=function(){return bo.apply(this,arguments),this},d.setPage=function(){return yo.apply(this,arguments),PA.call(this,yA[O]),this},d.insertPage=function(f){return this.addPage(),this.movePage(O,f),this},d.movePage=function(f,m){var _,V;if(f>m){_=yA[f],V=qA[f];for(var J=f;J>m;J--)yA[J]=yA[J-1],qA[J]=qA[J-1];yA[m]=_,qA[m]=V,this.setPage(m)}else if(f<m){_=yA[f],V=qA[f];for(var lA=f;lA<m;lA++)yA[lA]=yA[lA+1],qA[lA]=qA[lA+1];yA[m]=_,qA[m]=V,this.setPage(m)}return this},d.deletePage=function(){return Fs.apply(this,arguments),this},d.__private__.text=d.text=function(f,m,_,V,J){var lA,pA,HA,NA,ZA,rt,pt,ae,Lt,Et=(V=V||{}).scope||this;if(typeof f=="number"&&typeof m=="number"&&(typeof _=="string"||Array.isArray(_))){var kt=_;_=m,m=f,f=kt}if(arguments[3]instanceof WA==0?(HA=arguments[4],NA=arguments[5],St(pt=arguments[3])==="object"&&pt!==null||(typeof HA=="string"&&(NA=HA,HA=null),typeof pt=="string"&&(NA=pt,pt=null),typeof pt=="number"&&(HA=pt,pt=null),V={flags:pt,angle:HA,align:NA})):(P("The transform parameter of text() with a Matrix value"),Lt=J),isNaN(m)||isNaN(_)||f==null)throw new Error("Invalid arguments passed to jsPDF.text");if(f.length===0)return Et;var Vt,Gt="",Ee=typeof V.lineHeightFactor=="number"?V.lineHeightFactor:Wn,sn=Et.internal.scaleFactor;function Ss(Ht){return Ht=Ht.split("	").join(Array(V.TabLen||9).join(" ")),sr(Ht,pt)}function Jn(Ht){for(var _t,Zt=Ht.concat(),le=[],an=Zt.length;an--;)typeof(_t=Zt.shift())=="string"?le.push(_t):Array.isArray(Ht)&&(_t.length===1||_t[1]===void 0&&_t[2]===void 0)?le.push(_t[0]):le.push([_t[0],_t[1],_t[2]]);return le}function Yn(Ht,_t){var Zt;if(typeof Ht=="string")Zt=_t(Ht)[0];else if(Array.isArray(Ht)){for(var le,an,Ms=Ht.concat(),zi=[],ko=Ms.length;ko--;)typeof(le=Ms.shift())=="string"?zi.push(_t(le)[0]):Array.isArray(le)&&typeof le[0]=="string"&&(an=_t(le[0],le[1],le[2]),zi.push([an[0],an[1],an[2]]));Zt=zi}return Zt}var yn=!1,Zn=!0;if(typeof f=="string")yn=!0;else if(Array.isArray(f)){var Ri=f.concat();pA=[];for(var Ki,Le=Ri.length;Le--;)(typeof(Ki=Ri.shift())!="string"||Array.isArray(Ki)&&typeof Ki[0]!="string")&&(Zn=!1);yn=Zn}if(yn===!1)throw new Error('Type of text must be string or Array. "'+f+'" is not recognized.');typeof f=="string"&&(f=f.match(/[\r?\n]/)?f.split(/\r\n|\r|\n/g):[f]);var $n=CA/Et.internal.scaleFactor,Ai=$n*(Ee-1);switch(V.baseline){case"bottom":_-=Ai;break;case"top":_+=$n-Ai;break;case"hanging":_+=$n-2*Ai;break;case"middle":_+=$n/2-Ai}if((rt=V.maxWidth||0)>0&&(typeof f=="string"?f=Et.splitTextToSize(f,rt):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(Ht,_t){return Ht.concat(Et.splitTextToSize(_t,rt))},[]))),lA={text:f,x:m,y:_,options:V,mutex:{pdfEscape:sr,activeFontKey:kA,fonts:ct,activeFontSize:CA}},yt.publish("preProcessText",lA),f=lA.text,HA=(V=lA.options).angle,Lt instanceof WA==0&&HA&&typeof HA=="number"){HA*=Math.PI/180,V.rotationDirection===0&&(HA=-HA),S===T&&(HA=-HA);var Ns=Math.cos(HA),Pr=Math.sin(HA);Lt=new WA(Ns,Pr,-Pr,Ns,0,0)}else HA&&HA instanceof WA&&(Lt=HA);S!==T||Lt||(Lt=$r),(ZA=V.charSpace||Ti)!==void 0&&(Gt+=j(G(ZA))+` Tc
49`,this.setCharSpace(this.getCharSpace()||0)),(ae=V.horizontalScale)!==void 0&&(Gt+=j(100*ae)+` Tz
50`),V.lang;var ke=-1,_o=V.renderingMode!==void 0?V.renderingMode:V.stroke,Vi=Et.internal.getCurrentPageInfo().pageContext;switch(_o){case 0:case!1:case"fill":ke=0;break;case 1:case!0:case"stroke":ke=1;break;case 2:case"fillThenStroke":ke=2;break;case 3:case"invisible":ke=3;break;case 4:case"fillAndAddForClipping":ke=4;break;case 5:case"strokeAndAddPathForClipping":ke=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ke=6;break;case 7:case"addToPathForClipping":ke=7}var Do=Vi.usedRenderingMode!==void 0?Vi.usedRenderingMode:-1;ke!==-1?Gt+=ke+` Tr
51`:Do!==-1&&(Gt+=`0 Tr
52`),ke!==-1&&(Vi.usedRenderingMode=ke),NA=V.align||"left";var or,ti=CA*Ee,Hs=Et.internal.pageSize.getWidth(),Gi=ct[kA];ZA=V.charSpace||Ti,rt=V.maxWidth||0,pt=Object.assign({autoencode:!0,noBOM:!0},V.flags);var ei=[],_s=function(Ht){return Et.getStringUnitWidth(Ht,{font:Gi,charSpace:ZA,fontSize:CA,doKerning:!1})*CA/sn};if(Object.prototype.toString.call(f)==="[object Array]"){var Me;pA=Jn(f),NA!=="left"&&(or=pA.map(_s));var Re,ji=0;if(NA==="right"){m-=or[0],f=[],Le=pA.length;for(var Fn=0;Fn<Le;Fn++)Fn===0?(Re=tn(m),Me=en(_)):(Re=G(ji-or[Fn]),Me=-ti),f.push([pA[Fn],Re,Me]),ji=or[Fn]}else if(NA==="center"){m-=or[0]/2,f=[],Le=pA.length;for(var Qn=0;Qn<Le;Qn++)Qn===0?(Re=tn(m),Me=en(_)):(Re=G((ji-or[Qn])/2),Me=-ti),f.push([pA[Qn],Re,Me]),ji=or[Qn]}else if(NA==="left"){f=[],Le=pA.length;for(var qi=0;qi<Le;qi++)f.push(pA[qi])}else if(NA==="justify"&&Gi.encoding==="Identity-H"){f=[],Le=pA.length,rt=rt!==0?rt:Hs;for(var ri=0,ce=0;ce<Le;
vendor: 4,449 bytes, lines 52-62
52ce++)if(Me=ce===0?en(_):-ti,Re=ce===0?tn(m):ri,ce<Le-1){var Ec=G((rt-or[ce])/(pA[ce].split(" ").length-1)),Rr=pA[ce].split(" ");f.push([Rr[0]+" ",Re,Me]),ri=0;for(var Cr=1;Cr<Rr.length;Cr++){var ni=(_s(Rr[Cr-1]+" "+Rr[Cr])-_s(Rr[Cr]))*sn+Ec;Cr==Rr.length-1?f.push([Rr[Cr],ni,0]):f.push([Rr[Cr]+" ",ni,0]),ri-=ni}}else f.push([pA[ce],Re,Me]);f.push(["",ri,0])}else{if(NA!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(f=[],Le=pA.length,rt=rt!==0?rt:Hs,ce=0;ce<Le;ce++){Me=ce===0?en(_):-ti,Re=ce===0?tn(m):0;var Ds=pA[ce].split(" ").length-1,ks=Ds>0?(rt-or[ce])/Ds:0;ce<Le-1?ei.push(j(G(ks))):ei.push(0),f.push([pA[ce],Re,Me])}}}(typeof V.R2L=="boolean"?V.R2L:VA)===!0&&(f=Yn(f,function(Ht,_t,Zt){return[Ht.split("").reverse().join(""),_t,Zt]})),lA={text:f,x:m,y:_,options:V,mutex:{pdfEscape:sr,activeFontKey:kA,fonts:ct,activeFontSize:CA}},yt.publish("postProcessText",lA),f=lA.text,Vt=lA.mutex.isHex||!1;var Wi=ct[kA].encoding;Wi!=="WinAnsiEncoding"&&Wi!=="StandardEncoding"||(f=Yn(f,function(Ht,_t,Zt){return[Ss(Ht),_t,Zt]})),pA=Jn(f),f=[];for(var ii,si,vn,on=Array.isArray(pA[0])?1:0,Un="",Xi=function(Ht,_t,Zt){var le="";return Zt instanceof WA?(Zt=typeof V.angle=="number"?Zr(Zt,new WA(1,0,0,1,Ht,_t)):Zr(new WA(1,0,0,1,Ht,_t),Zt),S===T&&(Zt=Zr(new WA(1,0,0,-1,0,0),Zt)),le=Zt.join(" ")+` Tm
53`):le=j(Ht)+" "+j(_t)+` Td
54`,le},xe=0;xe<pA.length;xe++){switch(Un="",on){case 1:vn=(Vt?"<":"(")+pA[xe][0]+(Vt?">":")"),ii=parseFloat(pA[xe][1]),si=parseFloat(pA[xe][2]);break;case 0:vn=(Vt?"<":"(")+pA[xe]+(Vt?">":")"),ii=tn(m),si=en(_)}ei!==void 0&&ei[xe]!==void 0&&(Un=ei[xe]+` Tw
55`),xe===0?f.push(Un+Xi(ii,si,Lt)+vn):on===0?f.push(Un+vn):on===1&&f.push(Un+Xi(ii,si,Lt)+vn)}f=on===0?f.join(` Tj
56T* `):f.join(` Tj
57`),f+=` Tj
58`;var Kr=`BT
59/`;return Kr+=kA+" "+CA+` Tf
60`,Kr+=j(CA*Ee)+` TL
61`,Kr+=Or+`
62`,Kr+=Gt,Kr+=f,H(Kr+="ET"),w[kA]=!0,Et};var fc=d.__private__.clip=d.clip=function(f){return H(f==="evenodd"?"W*":"W"),this};d.clipEvenOdd=function(){return fc("evenodd")},d.__private__.discardPath=d.discardPath=function(){return H("n"),this};var Tr=d.__private__.isValidStyle=function(f){var m=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(f)!==-1&&(m=!0),m};d.__private__.setDefaultPathOperation=d.setDefaultPathOperation=function(f){return Tr(f)&&(h=f),this};var Eo=d.__private__.getStyle=d.getStyle=function(f){var m=h;switch(f){case"D":case"S":m="S";break;case"F":m="f";break;case"FD":case"DF":m="B";break;case"f":case"f*":case"B":case"B*":m=f}return m},Di=d.close=function(){return H("h"),this};d.stroke=function(){return H("S"),this},d.fill=function(f){return ki("f",f),this},d.fillEvenOdd=function(f){return ki("f*",f),this},d.fillStroke=function(f){return ki("B",f),this},d.fillStrokeEvenOdd=function(f){return ki("B*",f),this};var ki=function(f,m){St(m)==="object"?gc(m,f):H(f)},vs=function(f){f===null||S===T&&f===void 0||(f=Eo(f),H(f))};function dc(f,m,_,V,J){var lA=new hs(m||this.boundingBox,_||this.xStep,V||this.yStep,this.gState,J||this.matrix);lA.stream=this.stream;var pA=f+"$$"+this.cloneIndex+++"$$";return rr(pA,lA),lA}var gc=function(f,m){var _=Nt[f.key],V=KA[_];if(V instanceof ui)H("q"),H(Bc(m)),V.gState&&d.setGState(V.gState),H(f.matrix.toString()+" cm"),H("/"+_+" sh"),H("Q");else if(V instanceof hs){var J=new WA(1,0,0,-1,0,zn());f.matrix&&(J=J.multiply(f.matrix||$r),_=dc.call(V,f.key,f.boundingBox,f.xStep,f.yStep,J).id),H("q"),H("/Pattern cs"),H("/"+_+" scn"),V.gState&&d.setGState(V.gState),H(m),H("Q")}},Bc=function(f){switch(f){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},mn=d.moveTo=function(f,m){return H(j(G(f))+" "+j(K(m))+" m"),this},Lo=d.lineTo=function(f,m){return H(j(G(f))+" "+j(K(m))+" l"),this},Cn=d.curveTo=function(f,m,_,V,J,lA){return H([j(G(f)),j(K(m)),j(G(_)),j(K(V)),j(G(J)),j(K(lA)),"c"].join(" ")),this};d.__private__.line=d.line=function(f,m,_,V,J){if(isNaN(f)||isNaN(m)||isNaN(_)||isNaN(V)||!Tr(J))throw new Error("Invalid arguments passed to jsPDF.line");return S===M?this.lines([[_-f,V-m]],f,m,[1,1],J||"S"):this.lines([[_-f,V-m]],f,m,[1,1]).stroke()},d.__private__.lines=d.lines=function(f,m,_,V,J,lA){var pA,HA,NA,ZA,rt,pt,ae,Lt,Et,kt,Vt,Gt;if(typeof f=="number"&&(Gt=_,_=m,m=f,f=Gt),V=V||[1,1],lA=lA||!1,isNaN(m)||isNaN(_)||!Array.isArray(f)||!Array.isArray(V)||!Tr(J)||typeof lA!="boolean")throw new Error("Invalid arguments passed to 
62jsPDF.lines");for(mn(m,_),pA=V[0],HA=V[1],ZA=f.length,kt=m,Vt=_,NA=0;NA<ZA;NA++)(rt=f[NA]).length===2?(kt=rt[0]*pA+kt,Vt=rt[1]*HA+Vt,Lo(kt,Vt)):(pt=rt[0]*pA+kt,ae=rt[1]*HA+Vt,Lt=rt[2]*pA+kt,Et=rt[3]*HA+Vt,kt=rt[4]*pA+kt,Vt=rt[5]*HA+Vt,Cn(pt,ae,Lt,Et,kt,Vt));return lA&&Di(),vs(J),this},d.path=function(f){for(var m=0;m<f.length;m++){var _=f[m],V=_.c;switch(_.op){case"m":mn(V[0],V[1]);break;case"l":Lo(V[0],V[1]);break;case"c":Cn.apply(this,V);break;case"h":Di()}}return this},d.__private__.rect=d.rect=function(f,m,_,V,J){if(isNaN(f)||isNaN(m)||isNaN(_)||isNaN(V)||!Tr(J))throw new Error("Invalid arguments passed to jsPDF.rect");return S===M&&(V=-V),H([j(G(f)),j(K(m)),j(G(_)),j(G(V)),"re"].join(" ")),vs(J),this},d.__private__.triangle=d.triangle=function(f,m,_,V,J,lA,pA){if(isNaN(f)||isNaN(m)||isNaN(_)||isNaN(V)||isNaN(J)||isNaN(lA)||!Tr(pA))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[_-f,V-m],[J-_,lA-V],[f-J,m-lA]],f,m,[1,1],pA,!0),this},d.__private__.roundedRect=d.roundedRect=function(f,m,_,V,J,lA,pA){if(isNaN(f)||isNaN(m)||isNaN(_)||isNaN(V)||isNaN(J)||isNaN(lA)||!Tr(pA))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var HA=4/3*(Math.SQRT2-1);return J=Math.min(J,.5*_),lA=Math.min(lA,.5*V),this.lines([[_-2*J,0],[J*HA,0,J,lA-lA*HA,J,lA],[0,V-2*lA],[0,lA*HA,-J*HA,lA,-J,lA],[2*J-_,0],[-J*HA,0,-J,-lA*HA,-J,-lA],[0,2*lA-V],[0,-lA*HA,J*HA,-lA,J,-lA]],f+J,m,[1,1],pA,!0),this},d.__private__.ellipse=d.ellipse=function(f,m,_,V,J){if(isNaN(f)||isNaN(m)||isNaN(_)||isNaN(V)||!Tr(J))throw new Error("Invalid arguments passed to jsPDF.ellipse");var lA=4/3*(Math.SQRT2-1)*_,pA=4/3*(Math.SQRT2-1)*V;return mn(f+_,m),Cn(f+_,m-pA,f+lA,m-V,f,m-V),Cn(f-lA,m-V,f-_,m-pA,f-_,m),Cn(f-_,m+pA,f-lA,m+V,f,m+V),Cn(f+lA,m+V,f+_,m+pA,f+_,m),vs(J),this},d.__private__.circle=d.circle=function(f,m,_,V){if(isNaN(f)||isNaN(m)||isNaN(_)||!Tr(V))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(f,m,_,_,V)},d.setFont=function(f,m,_){return _&&(m=Z(m,_)),kA=Qo(f,m,{disableWarning:!1}),this};var pc=d.__private__.getFont=d.getFont=function(){return ct[Qo.apply(d,arguments)]};d.__private__.getFontList=d.getFontList=function(){var f,m,_={};for(f in lt)if(lt.hasOwnProperty(f))for(m in _[f]=[],lt[f])lt[f].hasOwnProperty(m)&&_[f].push(m);return _},d.addFont=function(f,m,_,V,J){var lA=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&lA.indexOf(arguments[3])!==-1?J=arguments[3]:arguments[3]&&lA.indexOf(arguments[3])==-1&&(_=Z(_,V)),Co.call(this,f,m,_,J=J||"Identity-H")};var Wn,JA=t.lineWidth||.200025,wc=d.__private__.getLineWidth=d.getLineWidth=function(){return JA},mc=d.__private__.setLineWidth=d.setLineWidth=function(f){return JA=f,H(j(G(f))+" w"),this};d.__private__.setLineDash=TA.API.setLineDash=TA.API.setLineDashPattern=function(f,m){if(f=f||[],m=m||0,isNaN(m)||!Array.isArray(f))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return f=f.map(function(_){return j(G(_))}).join(" "),m=j(G(m)),H("["+f+"] "+m+" d"),this};var Cc=d.__private__.getLineHeight=d.getLineHeight=function(){return CA*Wn};d.__private__.getLineHeight=d.getLineHeight=function(){return CA*Wn};var bc=d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(f){return typeof(f=f||1.15)=="number"&&(Wn=f),this},yc=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return Wn};bc(t.lineHeight);var tn=d.__private__.getHorizontalCoordinate=function(f){return G(f)},en=d.__private__.getVerticalCoordinate=function(f){return S===T?f:qA[O].mediaBox.topRightY-qA[O].mediaBox.bottomLeftY-G(f)},Fc=d.__private__.getHorizontalCoordinateString=d.getHorizontalCoordinateString=function(f){return j(tn(f))},Qc=d.__private__.getVerticalCoordinateString=d.getVerticalCoordinateString=function(f){return j(en(f))},Mi=t.strokeColor||"0 G";d.__private__.getStrokeColor=d.getDrawColor=function(){return _r(Mi)},d.__private__.setStrokeColor=d.setDrawColor=function(f,m,_,V){return Mi=wr({ch1:f,ch2:m,ch3:_,ch4:V,pdfColorType:"draw",precision:2}),H(Mi),this};var Us=t.fillColor||"0 g";d.__private__.getFillColor=d.getFillColor=function(){return _r(Us)},d.__private__.setFillColor=d.setFillColor=function(f,m,_,V){return Us=wr({ch1:f,ch2:m,ch3:_,ch4:V,pdfColorType:"fill",precision:2}),H(Us),this};var Or=t.textColor||"0 g",vc=d.__private__.getTextColor=d.getTextColor=function(){return _r(Or)};d.__private__.setTextColor=d.setTextColor=function(f,m,_,V){return Or=wr({ch1:f,ch2:m,ch3:_,ch4:V,pdfColorType:"text",precision:3}),this};var Ti=t.charSpace,Uc=d.__private__.getCharSpace=d.getCharSpace=function(){return parseFloat(Ti||0)};d.__private__.setCharSpace=d.setCharSpace=function(f){if(isNaN(f))throw new Error("Invalid argument passed to 
62jsPDF.setCharSpace");return Ti=f,this};var Es=0;d.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},d.__private__.setLineCap=d.setLineCap=function(f){var m=d.CapJoinStyles[f];if(m===void 0)throw new Error("Line cap style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Es=m,H(m+" J"),this};var bn=0;d.__private__.setLineJoin=d.setLineJoin=function(f){var m=d.CapJoinStyles[f];if(m===void 0)throw new Error("Line join style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return bn=m,H(m+" j"),this},d.__private__.setLineMiterLimit=d.__private__.setMiterLimit=d.setLineMiterLimit=d.setMiterLimit=function(f){if(f=f||0,isNaN(f))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return H(j(G(f))+" M"),this},d.GState=qa,d.setGState=function(f){(f=typeof f=="string"?zA[et[f]]:Ls(null,f)).equals(Pt)||(H("/"+f.id+" gs"),Pt=f)};var Ls=function(f,m){if(!f||!et[f]){var _=!1;for(var V in zA)if(zA.hasOwnProperty(V)&&zA[V].equals(m)){_=!0;break}if(_)m=zA[V];else{var J="GS"+(Object.keys(zA).length+1).toString(10);zA[J]=m,m.id=J}return f&&(et[f]=m.id),yt.publish("addGState",m),m}};d.addGState=function(f,m){return Ls(f,m),this},d.saveGraphicsState=function(){return H("q"),Ot.push({key:kA,size:CA,color:Or}),this},d.restoreGraphicsState=function(){H("Q");var f=Ot.pop();return kA=f.key,CA=f.size,Or=f.color,Pt=null,this},d.setCurrentTransformationMatrix=function(f){return H(f.toString()+" cm"),this},d.comment=function(f){return H("#"+f),this};var Xn=function(f,m){var _=f||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return _},set:function(lA){isNaN(lA)||(_=parseFloat(lA))}});var V=m||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return V},set:function(lA){isNaN(lA)||(V=parseFloat(lA))}});var J="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return J},set:function(lA){J=lA.toString()}}),this},xs=function(f,m,_,V){Xn.call(this,f,m),this.type="rect";var J=_||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return J},set:function(pA){isNaN(pA)||(J=parseFloat(pA))}});var lA=V||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return lA},set:function(pA){isNaN(pA)||(lA=parseFloat(pA))}}),this},Oi=function(){this.page=ht,this.currentPage=O,this.pages=yA.slice(0),this.pagesContext=qA.slice(0),this.x=OA,this.y=Yt,this.matrix=mt,this.width=xo(O),this.height=nn(O),this.outputDestination=UA,this.id="",this.objectNumber=-1};Oi.prototype.restore=function(){ht=this.page,O=this.currentPage,qA=this.pagesContext,yA=this.pages,OA=this.x,Yt=this.y,mt=this.matrix,rn(O,this.width),Io(O,this.height),UA=this.outputDestination};var Is=function(f,m,_,V,J){Hr.push(new Oi),ht=O=0,yA=[],OA=f,Yt=m,mt=J,ys([_,V])};for(var Pi in d.beginFormObject=function(f,m,_,V,J){return Is(f,m,_,V,J),this},d.endFormObject=function(f){return function(m){if(Yr[m])Hr.pop().restore();else{var _=new Oi,V="Xo"+(Object.keys(Ue).length+1).toString(10);_.id=V,Yr[m]=V,Ue[V]=_,yt.publish("addFormObject",_),Hr.pop().restore()}}(f),this},d.doFormObject=function(f,m){var _=Ue[Yr[f]];return H("q"),H(m.toString()+" cm"),H("/"+_.id+" Do"),H("Q"),this},d.getFormObject=function(f){var m=Ue[Yr[f]];return{x:m.x,y:m.y,width:m.width,height:m.height,matrix:m.matrix}},d.save=function(f,m){return f=f||"generated.pdf",(m=m||{}).returnPromise=m.returnPromise||!1,m.returnPromise===!1?(ci(Hi(Mr()),f),typeof ci.unload=="function"&&YA.setTimeout&&setTimeout(ci.unload,911),this):new Promise(function(_,V){try{var J=ci(Hi(Mr()),f);typeof ci.unload=="function"&&YA.setTimeout&&setTimeout(ci.unload,911),_(J)}catch(lA){V(lA.message)}})},TA.API)TA.API.hasOwnProperty(Pi)&&(Pi==="events"&&TA.API.events.length?function(f,m){var _,V,J;for(J=m.length-1;J!==-1;J--)_=m[J][0],V=m[J][1],f.subscribe.apply(f,[_].concat(typeof V=="function"?[V]:V))}(yt,TA.API.events):d[Pi]=TA.API[Pi]);function xo(f){return qA[f].mediaBox.topRightX-qA[f].mediaBox.bottomLeftX}function rn(f,m){qA[f].mediaBox.topRightX=m+qA[f].mediaBox.bottomLeftX}function nn(f){return qA[f].mediaBox.topRightY-qA[f].mediaBox.bottomLeftY}function Io(f,m){qA[f].mediaBox.topRightY=m+qA[f].mediaBox.bottomLeftY}var So=d.getPageWidth=function(f){return xo(f=f||O)/it},No=d.setPageWidth=function(f,m){rn(f,m*it)},zn=d.getPageHeight=function(f){return nn(f=f||O)/it},Ho=d.setPageHeight=function(f,m){Io(f,m*it)};return d.internal={pdfEscape:sr,getStyle:Eo,getFont:pc,getFontSize:IA,getCharSpace:Uc,getTextColor:vc,getLineHeight:Cc,getLineHeightFactor:yc,getLineWidth:wc,write:vA,getHorizontalCoordinate:tn,getVerticalCoordinate:en,getCoordinateString:Fc,getVerticalCoordinateString:Qc,collections:{},newObject:qt,newAdditionalObject:Gn,newObjectDeferred:pe,newObjectDeferredBegin:me,getFilters:mr,putStream:ir,events:yt,
vendor: 5,148 bytes, lines 62-64
62scaleFactor:it,pageSize:{getWidth:function(){return So(O)},setWidth:function(f){No(O,f)},getHeight:function(){return zn(O)},setHeight:function(f){Ho(O,f)}},encryptionOptions:u,encryption:Ce,getEncryptor:function(f){return u!==null?Ce.encryptor(f,0):function(m){return m}},output:_i,getNumberOfPages:Fo,get pages(){return yA},out:H,f2:E,f3:N,getPageInfo:Uo,getPageInfoByObjId:hc,getCurrentPageInfo:uc,getPDFVersion:F,Point:Xn,Rectangle:xs,Matrix:WA,hasHotfix:An},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return So(O)},set:function(f){No(O,f)},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return zn(O)},set:function(f){Ho(O,f)},enumerable:!0,configurable:!0}),(function(f){for(var m=0,_=GA.length;m<_;m++){var V=Co.call(this,f[m][0],f[m][1],f[m][2],GA[m][3],!0);p===!1&&(w[V]=!0);var J=f[m][0].split("-");mo({id:V,fontName:J[0],fontStyle:J[1]||""})}yt.publish("addFonts",{fonts:ct,dictionary:lt})}).call(d,GA),kA="F1",bo(n,e),yt.publish("initialized"),d}as.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},as.prototype.toHexString=function(t){return t.split("").map(function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)}).join("")},as.prototype.hexToBytes=function(t){for(var A=[],e=0;e<t.length;e+=2)A.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return A.join("")},as.prototype.processOwnerPassword=function(t,A){return ph(Bh(A).substr(0,5),t)},as.prototype.encryptor=function(t,A){var e=Bh(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&A,A>>8&255)).substr(0,10);return function(r){return ph(e,r)}},qa.prototype.equals=function(t){var A,e="id,objectNumber,equals";if(!t||St(t)!==St(this))return!1;var r=0;for(A in this)if(!(e.indexOf(A)>=0)){if(this.hasOwnProperty(A)&&!t.hasOwnProperty(A)||this[A]!==t[A])return!1;r++}for(A in t)t.hasOwnProperty(A)&&e.indexOf(A)<0&&r--;return r===0},TA.API={events:[]},TA.version="4.2.1";var zt=TA.API,Ih=1,Li=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},is=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Qi=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(A){var e=A.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},At=function(t){return t.toFixed(2)},_n=function(t){return t.toFixed(5)};zt.__acroform__={};var qe=function(t,A){t.prototype=Object.create(A.prototype),t.prototype.constructor=t},Bd=function(t){return t*Ih},Gr=function(t){var A=new Ig,e=SA.internal.getHeight(t)||0,r=SA.internal.getWidth(t)||0;return A.BBox=[0,0,Number(At(r)),Number(At(e))],A},yy=zt.__acroform__.setBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<A},Fy=zt.__acroform__.clearBit=function(t,A){if(t=t||0,A=A||0,isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<A)},Qy=zt.__acroform__.getBit=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<A?1:0},re=zt.__acroform__.getBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Qy(t,A-1)},ne=zt.__acroform__.setBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return yy(t,A-1)},ie=zt.__acroform__.clearBitForPdf=function(t,A){if(isNaN(t)||isNaN(A))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Fy(t,A-1)},vy=zt.__acroform__.calculateCoordinates=function(t,A){var e=A.internal.getHorizontalCoordinate,r=A.internal.getVerticalCoordinate,n=t[0],i=t[1],s=t[2],a=t[3],c={};return c.lowerLeft_X=e(n)||0,c.lowerLeft_Y=r(i+a)||0,c.upperRight_X=e(n+s)||0,c.upperRight_Y=r(i)||0,[Number(At(c.lowerLeft_X)),Number(At(c.lowerLeft_Y)),Number(At(c.upperRight_X)),Number(At(c.upperRight_Y))]},Uy=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var A=[],e=t._V||t.DV,r=wh(t,e),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;A.push("/Tx BMC"),A.push("q"),A.push("BT"),A.push(t.scope.__private__.encodeColorString(t.color)),A.push("/"+n+" "+At(r.fontSize)+" Tf"),A.push("1 0 0 1 0 0 Tm"),A.push(r.text),A.push("ET"),A.push("Q"),A.push("EMC");var i=Gr(t);return i.scope=t.scope,i.stream=A.join(`
63`),i}},wh=function(t,A){var e=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},n=(A=(A=A.substr(0,1)=="("?A.substr(1):A).substr(A.length-1)==")"?A.substr(0,A.length-1):A).split(" ");n=t.multiline?n.map(function(E){return E.split(`
64`)}):n.map(function(E){return[E]});var i=e,s=SA.internal.getHeight(t)||0;s=s<0?-s:s;var a=SA.internal.getWidth(t)||0;a=a<0?-a:a;var c=function(E,N,G){if(E+1<n.length){var K=N+" "+n[E+1][0];return Ua(K,t,G).width<=a-4}return!1};i++;A:for(;i>0;){A="",i--;var h,u,p=Ua("3",t,i).height,w=t.multiline?s-i:(s-p)/2,d=w+=2,v=0,F=0,L=0;if(i<=0){A=`(...) Tj
65`,A+="% Width of Text: "+Ua(A,t,i=12).width+", FieldWidth:"+a+`
66`;break}for(var b="",M=0,T=0;T<n.length;T++)if(n.hasOwnProperty(T)){var S=!1;if(n[T].length!==1&&L!==n[T].length-1){if((p+2)*(M+2)+2>s)continue A;b+=n[T][L],S=!0,F=T,T--}else{b=(b+=n[T][L]+" ").substr(b.length-1)==" "?b.substr(0,b.length-1):b;var AA=parseInt(T),sA=c(AA,b,i),Z=T>=n.length-1;if(sA&&!Z){b+=" ",L=0;continue}if(sA||Z){if(Z)F=AA;else if(t.multiline&&(p+2)*(M+2)+2>s)continue A}else{if(!t.multiline||(p+2)*(M+2)+2>s)continue A;F=AA}}for(var j="",P=v;P<=F;P++){var Y=n[P];if(t.multiline){if(P===F){j+=Y[L]+" ",L=(L+1)%Y.length;continue}if(P===v){j+=Y[Y.length-1]+" ";continue}}j+=Y[0]+" "}switch(j=j.substr(j.length-1)==" "?j.substr(0,j.length-1):j,u=Ua(j,t,i).width,t.textAlign){case"right":h=a-u-2;break;case"center":h=(a-u)/2;break;default:h=2}A+=At(h)+" "+At(d)+` Td
67`,A+="("+Li(j)+`) Tj
68`,A+=-At(h)+` 0 Td
69`,d=-(i+2),u=0,v=S?F:F+1,M++,b=""}break}return r.text=A,r.fontSize=i,r},Ua=function(t,A,e){var r=A.scope.internal.getFont(A.fontName,A.fontStyle),n=A.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:A.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},Ey={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ly=function(t,A){var e={type:"reference",object:t};A.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&A.internal.getPageInfo(t.page).pageContext.annotations.push(e)},xy=function(t,A){if(A.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(Sr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(Ey)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Ih=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new Sg,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];i.objId=void 0,i.hasAnnotation&&Ly(i,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(r,n){var i=!r;for(var s in r||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(s)){var a=r[s],c=[],h=a.Rect;if(a.Rect&&(a.Rect=vy(a.Rect,n)),n.internal.newObjectDeferredBegin(a.objId,!0),a.DA=SA.createDefaultAppearanceStream(a),St(a)==="object"&&typeof a.getKeyValueListForStream=="function"&&(c=a.getKeyValueListForStream()),a.Rect=h,a.hasAppearanceStream&&!a.appearanceStreamContent){var u=Uy(a);c.push({key:"AP",value:"<</N "+u+">>"}),n.internal.acroformPlugin.xForms.push(u)}if(a.appearanceStreamContent){var p="";for(var w in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(w)){var d=a.appearanceStreamContent[w];if(p+="/"+w+" ",p+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var s in d)if(d.hasOwnProperty(s)){var v=d[s];typeof v=="function"&&(v=v.call(n,a)),p+="/"+s+" "+v+" ",n.internal.acroformPlugin.xForms.indexOf(v)>=0||n.internal.acroformPlugin.xForms.push(v)}}else typeof(v=d)=="function"&&(v=v.call(n,a)),p+="/"+s+" "+v,n.internal.acroformPlugin.xForms.indexOf(v)>=0||n.internal.acroformPlugin.xForms.push(v);p+=">>"}c.push({key:"AP",value:`<<
70`+p+">>"})}n.internal.putStream({additionalKeyValues:c,objectId:a.objId}),n.internal.out("endobj")}i&&function(F,L){for(var b in F)if(F.hasOwnProperty(b)){var M=b,T=F[b];L.internal.newObjectDeferredBegin(T.objId,!0),St(T)==="object"&&typeof T.putStream=="function"&&T.putStream(),delete F[M]}}(n.internal.acroformPlugin.xForms,n)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},xg=zt.__acroform__.arrayToPdfArray=function(t,A,e){var r=function(s){return s};if(Array.isArray(t)){for(var n="[",i=0;i<t.length;i++)switch(i!==0&&(n+=" "),St(t[i])){case"boolean":case"number":case"object":n+=t[i].toString();break;case"string":t[i].substr(0,1)==="/"?n+="/"+Qi(t[i].substr(1)):(A!==void 0&&e&&(r=e.internal.getEncryptor(A)),n+="("+Li(r(t[i].toString()))+")")}return n+"]"}
vendor: 109,883 bytes, lines 70-118
70throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ll=function(t,A,e){var r=function(n){return n};return A!==void 0&&e&&(r=e.internal.getEncryptor(A)),(t=t||"").toString(),"("+Li(r(t))+")"},qr=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};qr.prototype.toString=function(){return this.objId+" 0 R"},qr.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},qr.prototype.getKeyValueListForStream=function(){var t=[],A=Object.getOwnPropertyNames(this).filter(function(i){return i!="content"&&i!="appearanceStreamContent"&&i!="scope"&&i!="objId"&&i.substring(0,1)!="_"});for(var e in A)if(Object.getOwnPropertyDescriptor(this,A[e]).configurable===!1){var r=A[e],n=this[r];n&&(Array.isArray(n)?t.push({key:r,value:xg(n,this.objId,this.scope)}):n instanceof qr?(n.scope=this.scope,t.push({key:r,value:n.objId+" 0 R"})):typeof n!="function"&&t.push({key:r,value:n}))}return t};var Ig=function(){qr.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,A=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};qe(Ig,qr);var Sg=function(){qr.call(this);var t,A=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return A.length>0?A:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return A}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Li(e(t))+")"}},set:function(e){t=e}})};qe(Sg,qr);var Sr=function t(){qr.call(this);var A=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return A},set:function(b){if(isNaN(b))throw new Error('Invalid value "'+b+'" for attribute F supplied.');A=b}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!re(A,3)},set:function(b){b?this.F=ne(A,3):this.F=ie(A,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(b){if(isNaN(b))throw new Error('Invalid value "'+b+'" for attribute Ff supplied.');e=b}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(b){r=b!==void 0?b:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(b){r[0]=b}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(b){r[1]=b}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(b){r[2]=b}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(b){r[3]=b}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(b){switch(b){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=b;break;default:throw new Error('Invalid value "'+b+'" 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 Wa)return;i="FieldObject"+t.FieldNum++}var b=function(M){return M};return this.scope&&(b=this.scope.internal.getEncryptor(this.objId)),"("+Li(b(i))+")"},set:function(b){i=b.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(b){i=b}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(b){s=b}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(b){a=b}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(b){c=b}});var h=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return h===void 0?50/Ih:h},set:function(b){h=b}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(b){u=b}});var p="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!p||this instanceof Wa||this instanceof mi))return Ll(p,this.objId,this.scope)},set:function(b){b=b.toString(),p=b}});var w=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof we==0?Ll(w,this.objId,this.scope):w},set:function(b){b=b.toString(),w=this instanceof we==0?b.substr(0,1)==="("?is(b.substr(1,b.length-2)):is(b):b}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof we==1?is(w.substr(1,w.length-1)):w},set:function(b){b=b.toString(),w=this instanceof we==1?"/"+Qi(b):b}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(b){this.V=b}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof we==0?Ll(d,this.objId,this.scope):d},set:function(b){b=b.toString(),d=this instanceof we==0?b.substr(0,1)==="("?is(b.substr(1,b.length-2)):is(b):b}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof we==1?is(d.substr(1,d.length-1)):d},set:function(b){b=b.toString(),d=this instanceof we==1?"/"+Qi(b):b}}),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 v,F=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return F},set:function(b){b=!!b,F=b}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(v)return v},set:function(b){v=b}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,1)},set:function(b){b?this.Ff=ne(this.Ff,1):this.Ff=ie(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,2)},set:function(b){b?this.Ff=ne(this.Ff,2):this.Ff=ie(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,3)},set:function(b){b?this.Ff=ne(this.Ff,3):this.Ff=ie(this.Ff,3)}});var L=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(L!==null)return L},set:function(b){if([0,1,2].indexOf(b)===-1)throw new Error('Invalid value "'+b+'" for attribute Q supplied.');L=b}}),Object.defineProperty(this,"textAlign",{get:function(){var b;switch(L){case 0:default:b="left";break;case 1:b="center";break;case 2:b="right"}return b},configurable:!0,enumerable:!0,set:function(b){switch(b){case"right":case 2:L=2;break;case"center":case 1:L=1;break;default:L=0}}})};qe(Sr,qr);var ds=function(){Sr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var A=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return xg(A,this.objId,this.scope)},set:function(e){var r,n;n=[],typeof(r=e)=="string"&&(n=function(i,s,a){a||(a=1);for(var c,h=[];c=s.exec(i);)h.push(c[a]);return h}(r,/\((.*?)\)/g)),A=n}}),this.getOptions=function(){return A},this.setOptions=function(e){A=e,this.sort&&A.sort()},this.addOption=function(e){e=(e=e||"").toString(),A.push(e),this.sort&&A.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();A.indexOf(e)!==-1&&(A.splice(A.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,18)},set:function(e){e?this.Ff=ne(this.Ff,18):this.Ff=ie(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=ne(this.Ff,19):this.Ff=ie(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,20)},set:function(e){e?(this.Ff=ne(this.Ff,20),A.sort()):this.Ff=ie(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,22)},set:function(e){e?this.Ff=ne(this.Ff,22):this.Ff=ie(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,23)},set:function(e){e?this.Ff=ne(this.Ff,23):this.Ff=ie(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,27)},set:function(e){e?this.Ff=ne(this.Ff,27):this.Ff=ie(this.Ff,27)}}),this.hasAppearanceStream=!1};qe(ds,Sr);var gs=function(){ds.call(this),this.fontName="helvetica",this.combo=!1};qe(gs,ds);var Bs=function(){gs.call(this),this.combo=!0};qe(Bs,gs);var Ha=function(){Bs.call(this),this.edit=!0};qe(Ha,Bs);var we=function(){Sr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,15)},set:function(e){e?this.Ff=ne(this.Ff,15):this.Ff=ie(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,16)},set:function(e){e?this.Ff=ne(this.Ff,16):this.Ff=ie(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,17)},set:function(e){e?this.Ff=ne(this.Ff,17):this.Ff=ie(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,26)},set:function(e){e?this.Ff=ne(this.Ff,26):this.Ff=ie(this.Ff,26)}});var t,A={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(i){return i};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(A).length!==0){var r,n=[];for(r in n.push("<<"),A)n.push("/"+r+" ("+Li(e(A[r]))+")");return n.push(">>"),n.join(`
71`)}},set:function(e){St(e)==="object"&&(A=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return A.CA||""},set:function(e){typeof e=="string"&&(A.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){var r=e==null?"":e.toString();r.substr(0,1)==="/"&&(r=r.substr(1)),t="/"+Qi(r)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+Qi(e)}})};qe(we,Sr);var _a=function(){we.call(this),this.pushButton=!0};qe(_a,we);var ps=function(){we.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A!==void 0?A:[]}})};qe(ps,we);var Wa=function(){var t,A;Sr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(n){A=n}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(a){return a};this.scope&&(n=this.scope.internal.getEncryptor(this.objId));var i,s=[];for(i in s.push("<<"),r)s.push("/"+i+" ("+Li(n(r[i]))+")");return s.push(">>"),s.join(`
72`)},set:function(n){St(n)==="object"&&(r=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(n){typeof n=="string"&&(r.CA=n)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(n){var i=n==null?"":n.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),e="/"+Qi(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(n){var i=n==null?"":n.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),e="/"+Qi(i)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=SA.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};qe(Wa,Sr),ps.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var A in this.Kids)if(this.Kids.hasOwnProperty(A)){var e=this.Kids[A];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},ps.prototype.createOption=function(t){var A=new Wa;return A.Parent=this,A.optionName=t,this.Kids.push(A),Iy.call(this.scope,A),A};var Da=function(){we.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=SA.CheckBox.createAppearanceStream()};qe(Da,we);var mi=function(){Sr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,13)},set:function(A){A?this.Ff=ne(this.Ff,13):this.Ff=ie(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,21)},set:function(A){A?this.Ff=ne(this.Ff,21):this.Ff=ie(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,23)},set:function(A){A?this.Ff=ne(this.Ff,23):this.Ff=ie(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,24)},set:function(A){A?this.Ff=ne(this.Ff,24):this.Ff=ie(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,25)},set:function(A){A?this.Ff=ne(this.Ff,25):this.Ff=ie(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,26)},set:function(A){A?this.Ff=ne(this.Ff,26):this.Ff=ie(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(A){Number.isInteger(A)&&(t=A)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};qe(mi,Sr);var ka=function(){mi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!re(this.Ff,14)},set:function(t){t?this.Ff=ne(this.Ff,14):this.Ff=ie(this.Ff,14)}}),this.password=!0};qe(ka,mi);var SA={CheckBox:{createAppearanceStream:function(){return{N:{On:SA.CheckBox.YesNormal},D:{On:SA.CheckBox.YesPushDown,Off:SA.CheckBox.OffPushDown}}},YesPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=wh(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+At(SA.internal.getWidth(t))+" "+At(SA.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+At(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),A.stream=e.join(`
73`),A},YesNormal:function(t){var A=Gr(t);A.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),n=[],i=SA.internal.getHeight(t),s=SA.internal.getWidth(t),a=wh(t,t.caption);return n.push("1 g"),n.push("0 0 "+At(s)+" "+At(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+At(s-1)+" "+At(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+At(a.fontSize)+" Tf "+r),n.push(a.text),n.push("ET"),n.push("Q"),A.stream=n.join(`
74`),A},OffPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+At(SA.internal.getWidth(t))+" "+At(SA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
75`),A}},RadioButton:{Circle:{createAppearanceStream:function(t){var A={D:{Off:SA.RadioButton.Circle.OffPushDown},N:{}};return A.N[t]=SA.RadioButton.Circle.YesNormal,A.D[t]=SA.RadioButton.Circle.YesPushDown,A},getCA:function(){return"l"},YesNormal:function(t){var A=Gr(t);A.scope=t.scope;var e=[],r=SA.internal.getWidth(t)<=SA.internal.getHeight(t)?SA.internal.getWidth(t)/4:SA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=SA.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+_n(SA.internal.getWidth(t)/2)+" "+_n(SA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
76`),A},YesPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=[],r=SA.internal.getWidth(t)<=SA.internal.getHeight(t)?SA.internal.getWidth(t)/4:SA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*SA.internal.Bezier_C).toFixed(5)),s=Number((r*SA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+_n(SA.internal.getWidth(t)/2)+" "+_n(SA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+_n(SA.internal.getWidth(t)/2)+" "+_n(SA.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),e.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),e.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),e.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
77`),A},OffPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=[],r=SA.internal.getWidth(t)<=SA.internal.getHeight(t)?SA.internal.getWidth(t)/4:SA.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*SA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+_n(SA.internal.getWidth(t)/2)+" "+_n(SA.internal.getHeight(t)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),A.stream=e.join(`
78`),A}},Cross:{createAppearanceStream:function(t){var A={D:{Off:SA.RadioButton.Cross.OffPushDown},N:{}};return A.N[t]=SA.RadioButton.Cross.YesNormal,A.D[t]=SA.RadioButton.Cross.YesPushDown,A},getCA:function(){return"8"},YesNormal:function(t){var A=Gr(t);A.scope=t.scope;var e=[],r=SA.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+At(SA.internal.getWidth(t)-2)+" "+At(SA.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(At(r.x1.x)+" "+At(r.x1.y)+" m"),e.push(At(r.x2.x)+" "+At(r.x2.y)+" l"),e.push(At(r.x4.x)+" "+At(r.x4.y)+" m"),e.push(At(r.x3.x)+" "+At(r.x3.y)+" l"),e.push("s"),e.push("Q"),A.stream=e.join(`
79`),A},YesPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=SA.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+At(SA.internal.getWidth(t))+" "+At(SA.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+At(SA.internal.getWidth(t)-2)+" "+At(SA.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(At(e.x1.x)+" "+At(e.x1.y)+" m"),r.push(At(e.x2.x)+" "+At(e.x2.y)+" l"),r.push(At(e.x4.x)+" "+At(e.x4.y)+" m"),r.push(At(e.x3.x)+" "+At(e.x3.y)+" l"),r.push("s"),r.push("Q"),A.stream=r.join(`
80`),A},OffPushDown:function(t){var A=Gr(t);A.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+At(SA.internal.getWidth(t))+" "+At(SA.internal.getHeight(t))+" re"),e.push("f"),A.stream=e.join(`
81`),A}}},createDefaultAppearanceStream:function(t){var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+A+" "+t.fontSize+" Tf "+e}};SA.internal={Bezier_C:.551915024494,calculateCross:function(t){var A=SA.internal.getWidth(t),e=SA.internal.getHeight(t),r=Math.min(A,e);return{x1:{x:(A-r)/2,y:(e-r)/2+r},x2:{x:(A-r)/2+r,y:(e-r)/2},x3:{x:(A-r)/2,y:(e-r)/2},x4:{x:(A-r)/2+r,y:(e-r)/2+r}}}},SA.internal.getWidth=function(t){var A=0;return St(t)==="object"&&(A=Bd(t.Rect[2])),A},SA.internal.getHeight=function(t){var A=0;return St(t)==="object"&&(A=Bd(t.Rect[3])),A};var Iy=zt.addField=function(t){if(xy(this,t),!(t instanceof Sr))throw new Error("Invalid argument passed to jsPDF.addField.");var A;return(A=t).scope.internal.acroformPlugin.printedOut&&(A.scope.internal.acroformPlugin.printedOut=!1,A.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),A.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(A),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};zt.AcroFormChoiceField=ds,zt.AcroFormListBox=gs,zt.AcroFormComboBox=Bs,zt.AcroFormEditBox=Ha,zt.AcroFormButton=we,zt.AcroFormPushButton=_a,zt.AcroFormRadioButton=ps,zt.AcroFormCheckBox=Da,zt.AcroFormTextField=mi,zt.AcroFormPasswordField=ka,zt.AcroFormAppearance=SA,zt.AcroForm={ChoiceField:ds,ListBox:gs,ComboBox:Bs,EditBox:Ha,Button:we,PushButton:_a,RadioButton:ps,CheckBox:Da,TextField:mi,PasswordField:ka,Appearance:SA},TA.AcroForm={ChoiceField:ds,ListBox:gs,ComboBox:Bs,EditBox:Ha,Button:we,PushButton:_a,RadioButton:ps,CheckBox:Da,TextField:mi,PasswordField:ka,Appearance:SA};TA.AcroForm;function Ng(t){return t.reduce(function(A,e,r){return A[e]=r,A},{})}(function(t){var A="addImage_";t.__addimage__={};var e="UNKNOWN",r={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]]},n=t.__addimage__.getImageFileTypeByImageData=function(E,N){var G,K,iA,cA,uA,nA=e;if((N=N||e)==="RGBA"||E.data!==void 0&&E.data instanceof Uint8ClampedArray&&"height"in E&&"width"in E)return"RGBA";if(sA(E))for(uA in r)for(iA=r[uA],G=0;G<iA.length;G+=1){for(cA=!0,K=0;K<iA[G].length;K+=1)if(iA[G][K]!==void 0&&iA[G][K]!==E[K]){cA=!1;break}if(cA===!0){nA=uA;break}}else for(uA in r)for(iA=r[uA],G=0;G<iA.length;G+=1){for(cA=!0,K=0;K<iA[G].length;K+=1)if(iA[G][K]!==void 0&&iA[G][K]!==E.charCodeAt(K)){cA=!1;break}if(cA===!0){nA=uA;break}}return nA===e&&N!==e&&(nA=N),nA},i=function E(N){for(var G=this.internal.write,K=this.internal.putStream,iA=(0,this.internal.getFilters)();iA.indexOf("FlateEncode")!==-1;)iA.splice(iA.indexOf("FlateEncode"),1);N.objectId=this.internal.newObject();var cA=[];if(cA.push({key:"Type",value:"/XObject"}),cA.push({key:"Subtype",value:"/Image"}),cA.push({key:"Width",value:N.width}),cA.push({key:"Height",value:N.height}),N.colorSpace===b.INDEXED?cA.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(N.palette.length/3-1)+" "+("sMask"in N&&N.sMask!==void 0?N.objectId+2:N.objectId+1)+" 0 R]"}):(cA.push({key:"ColorSpace",value:"/"+N.colorSpace}),N.colorSpace===b.DEVICE_CMYK&&cA.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),cA.push({key:"BitsPerComponent",value:N.bitsPerComponent}),"decodeParameters"in N&&N.decodeParameters!==void 0&&cA.push({key:"DecodeParms",value:"<<"+N.decodeParameters+">>"}),"transparency"in N&&Array.isArray(N.transparency)&&N.transparency.length>0){for(var uA="",nA=0,dA=N.transparency.length;nA<dA;nA++)uA+=N.transparency[nA]+" "+N.transparency[nA]+" ";cA.push({key:"Mask",value:"["+uA+"]"})}N.sMask!==void 0&&cA.push({key:"SMask",value:N.objectId+1+" 0 R"});var FA=N.filter!==void 0?["/"+N.filter]:void 0;if(K({data:N.data,additionalKeyValues:cA,alreadyAppliedFilters:FA,objectId:N.objectId}),G("endobj"),"sMask"in N&&N.sMask!==void 0){var mA,U=(mA=N.sMaskBitsPerComponent)!==null&&mA!==void 0?mA:N.bitsPerComponent,O={width:N.width,height:N.height,colorSpace:"DeviceGray",bitsPerComponent:U,data:N.sMask};"filter"in N&&(O.decodeParameters="/Predictor ".concat(N.predictor," /Colors 1 /BitsPerComponent ").concat(U," /Columns ").concat(N.width),O.filter=N.filter),E.call(this,O)}if(N.colorSpace===b.INDEXED){var R=this.internal.newObject();K({data:j(new Uint8Array(N.palette)),objectId:R}),G("endobj")}},s=function(){var E=this.internal.collections[A+"images"];for(var N in E)i.call(this,E[N])},a=function(){var E,N=this.internal.collections[A+"images"],G=this.internal.write;for(var K in N)G("/I"+(E=N[K]).index,E.objectId,"0","R")},c=function(){this.internal.collections[A+"images"]||(this.internal.collections[A+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",a))},h=function(){var E=this.internal.collections[A+"images"];return c.call(this),E},u=function(){return Object.keys(this.internal.collections[A+"images"]).length},p=function(E){return typeof t["process"+E.toUpperCase()]=="function"},w=function(E){return St(E)==="object"&&E.nodeType===1},d=function(E,N){if(E.nodeName==="IMG"&&E.hasAttribute("src")){var G=""+E.getAttribute("src");if(G.indexOf("data:image/")===0)return Na(unescape(G).split("base64,").pop());var K=t.loadFile(G,!0);if(K!==void 0)return K}if(E.nodeName==="CANVAS"){if(E.width===0||E.height===0)throw new Error("Given canvas must have data. Canvas width: "+E.width+", height: "+E.height);var iA;switch(N){case"PNG":iA="image/png";break;case"WEBP":iA="image/webp";break;default:iA="image/jpeg"}return Na(E.toDataURL(iA,1).split("base64,").pop())}},v=function(E){var N=this.internal.collections[A+"images"];if(N){for(var G in N)if(E===N[G].alias)return N[G]}},F=function(E,N,G){return E||N||(E=-96,N=-96),E<0&&(E=-1*G.width*72/E/this.internal.scaleFactor),N<0&&(N=-1*G.height*72/N/this.internal.scaleFactor),E===0&&(E=N*G.width/G.height),N===0&&(N=E*G.height/G.width),[E,N]},L=function(E,N,G,K,iA,cA){var uA=F.call(this,G,K,iA),nA=this.internal.getCoordinateString,dA=this.internal.getVerticalCoordinateString,FA=h.call(this);if(G=uA[0],K=uA[1],FA[iA.index]=iA,cA){cA*=Math.PI/180;var mA=Math.cos(cA),U=Math.sin(cA),O=function(q){return q.toFixed(4)},R=[O(mA),O(U),O(-1*U),O(mA),0,0,"cm"]}this.internal.write("q"),cA?(this.internal.write([1,"0","0",1,nA(E),dA(N+K),"cm"].join(" ")),this.internal.write(R.join(" ")),this.internal.write([nA(G),"0","0",nA(K),"0","0","cm"].join(" "))):this.internal.write([nA(G),"0","0",nA(K),nA(E),dA(N+K),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+iA.index+" Do"),this.internal.write("Q")},b=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var M=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},T=t.__addimage__.sHashCode=function(E){var N,G,K=0;if(typeof E=="string")for(G=E.length,N=0;N<G;N++)K=(K<<5)-K+E.charCodeAt(N),K|=0;else if(sA(E))for(G=E.byteLength/2,N=0;N<G;N++)K=(K<<5)-K+E[N],K|=0;return K},S=t.__addimage__.validateStringAsBase64=function(E){(E=E||"").toString().trim();var N=!0;return E.length===0&&(N=!1),E.length%4!=0&&(N=!1),/^[A-Za-z0-9+/]+$/.test(E.substr(0,E.length-2))===!1&&(N=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(E.substr(-2))===!1&&(N=!1),N},AA=t.__addimage__.extractImageFromDataUrl=function(E){if(E==null||!(E=E.trim()).startsWith("data:"))return null;var N=E.indexOf(",");return N<0?null:E.substring(0,N).trim().endsWith("base64")?E.substring(N+1):null};t.__addimage__.isArrayBuffer=function(E){return E instanceof ArrayBuffer};var sA=t.__addimage__.isArrayBufferView=function(E){return E instanceof Int8Array||E instanceof Uint8Array||E instanceof Uint8ClampedArray||E instanceof Int16Array||E instanceof Uint16Array||E instanceof Int32Array||E instanceof Uint32Array||E instanceof Float32Array||E instanceof Float64Array},Z=t.__addimage__.binaryStringToUint8Array=function(E){for(var N=E.length,G=new Uint8Array(N),K=0;K<N;K++)G[K]=E.charCodeAt(K);return G},j=t.__addimage__.arrayBufferToBinaryString=function(E){for(var N="",G=sA(E)?E:new Uint8Array(E),K=0;K<G.length;K+=8192)N+=String.fromCharCode.apply(null,G.subarray(K,K+8192));return N};t.addImage=function(){var E,N,G,K,iA,cA,uA,nA,dA;if(typeof arguments[1]=="number"?(N=e,G=arguments[1],K=arguments[2],iA=arguments[3],cA=arguments[4],uA=arguments[5],nA=arguments[6],dA=arguments[7]):(N=arguments[1],G=arguments[2],K=arguments[3],iA=arguments[4],cA=arguments[5],uA=arguments[6],nA=arguments[7],dA=arguments[8]),St(E=arguments[0])==="object"&&!w(E)&&"imageData"in E){var FA=E;E=FA.imageData,N=FA.format||N||e,G=FA.x||G||0,K=FA.y||K||0,iA=FA.w||FA.width||iA,cA=FA.h||FA.height||cA,uA=FA.alias||uA,nA=FA.compression||nA,dA=FA.rotation||FA.angle||dA}var mA=this.internal.getFilters();if(nA===void 0&&mA.indexOf("FlateEncode")!==-1&&(nA="SLOW"),isNaN(G)||isNaN(K))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var U=P.call(this,E,N,uA,nA);return L.call(this,G,K,iA,cA,U,dA),this};var P=function(E,N,G,K){var iA,cA,uA;if(typeof E=="string"&&n(E)===e){E=unescape(E);var nA=Y(E,!1);(nA!==""||(nA=t.loadFile(E,!0))!==void 0)&&(E=nA)}if(w(E)&&(E=d(E,N)),N=n(E,N),!p(N))throw new Error("addImage does not support files of type '"+N+"', please ensure that a plugin for '"+N+"' support is added.");if(((uA=G)==null||uA.length===0)&&(G=function(dA){return typeof dA=="string"||sA(dA)?T(dA):sA(dA.data)?T(dA.data):null}(E)),(iA=v.call(this,G))||(E instanceof Uint8Array||N==="RGBA"||(cA=E,E=Z(E)),iA=this["process"+N.toUpperCase()](E,u.call(this),G,function(dA){return dA&&typeof dA=="string"&&(dA=dA.toUpperCase()),dA in t.image_compression?dA:M.NONE}(K),cA)),!iA)throw new Error("An unknown error occurred whilst processing the image.");return iA},Y=t.__addimage__.convertBase64ToBinaryString=function(E,N){N=typeof N!="boolean"||N;var G,K="";if(typeof E=="string"){var iA;G=(iA=AA(E))!==null&&iA!==void 0?iA:E;try{K=Na(G)}catch(cA){if(N)throw S(G)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+cA.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return K};t.getImageProperties=function(E){var N,G,K="";if(w(E)&&(E=d(E)),typeof E=="string"&&n(E)===e&&((K=Y(E,!1))===""&&(K=t.loadFile(E)||""),E=K),G=n(E),!p(G))throw new Error("addImage does not support files of type '"+G+"', please ensure that a plugin for '"+G+"' support is added.");if(E instanceof Uint8Array||(E=Z(E)),!(N=this["process"+G.toUpperCase()](E)))throw new Error("An unknown error occurred whilst processing the image");return N.fileType=G,N}})(TA.API),function(t){var A=function(e){if(e!==void 0&&e!="")return!0};TA.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,n,i,s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(e.objId),h=e.pageContext.annotations,u=!1,p=0;p<h.length&&!u;p++)switch((r=h[p]).type){case"link":(A(r.options.url)||A(r.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(u!=0){this.internal.write("/Annots [");for(var w=0;w<h.length;w++){r=h[w];var d=this.internal.pdfEscape,v=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var F=this.internal.newAdditionalObject(),L=this.internal.newAdditionalObject(),b=this.internal.getEncryptor(F.objId),M=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+d(b(r.contents))+")",i+=" /Popup "+L.objId+" 0 R",i+=" /P "+c.objId+" 0 R",i+=" /T ("+d(b(M))+") >>",F.content=i;var T=F.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+s(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+T,r.open&&(i+=" /Open true"),i+=" >>",L.content=i,this.internal.write(F.objId,"0 R",L.objId,"0 R");break;case"freetext":n="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var S="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(r.color||"#000000");i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+d(v(r.contents))+")",i+=" /DS("+d(v(S))+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var AA=this.annotations._nameMap[r.options.name];r.options.pageNumber=AA.page,r.options.top=AA.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+d(v(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;default:var sA=a(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+sA+" "+r.options.zoom+"]"}i!=""&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,n,i,s){var a=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,h=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:c(e),y:h(r),w:c(e+n),h:h(r+i)},options:s,type:"link"})},t.textWithLink=function(e,r,n,i){var s,a,c=this.getTextWidth(e),h=this.internal.getLineHeight()/this.internal.scaleFactor;if(i.maxWidth!==void 0){a=i.maxWidth;var u=this.splitTextToSize(e,a).length;s=Math.ceil(h*u)}else a=c,s=h;return this.text(e,r,n,i),n+=.2*h,i.align==="center"&&(r-=c/2),i.align==="right"&&(r-=c),this.link(r,n-h,a,s,i),c},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}}(TA.API),function(t){var A={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(F){return A[F.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(F){return typeof F=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(F)},a=t.__arabicParser__.isArabicEndLetter=function(F){return s(F)&&i(F)&&A[F.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(F){return s(F)&&n.indexOf(F.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(F){return s(F)&&i(F)&&A[F.charCodeAt(0)].length>=1};var h=t.__arabicParser__.arabicLetterHasFinalForm=function(F){return s(F)&&i(F)&&A[F.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(F){return s(F)&&i(F)&&A[F.charCodeAt(0)].length>=3};var u=t.__arabicParser__.arabicLetterHasMedialForm=function(F){return s(F)&&i(F)&&A[F.charCodeAt(0)].length==4},p=t.__arabicParser__.resolveLigatures=function(F){var L=0,b=e,M="",T=0;for(L=0;L<F.length;L+=1)b[F.charCodeAt(L)]!==void 0?(T++,typeof(b=b[F.charCodeAt(L)])=="number"&&(M+=String.fromCharCode(b),b=e,T=0),L===F.length-1&&(b=e,M+=F.charAt(L-(T-1)),L-=T-1,T=0)):(b=e,M+=F.charAt(L-T),L-=T,T=0);return M};t.__arabicParser__.isArabicDiacritic=function(F){return F!==void 0&&r[F.charCodeAt(0)]!==void 0};var w=t.__arabicParser__.getCorrectForm=function(F,L,b){return s(F)?i(F)===!1?-1:!h(F)||!s(L)&&!s(b)||!s(b)&&a(L)||a(F)&&!s(L)||a(F)&&c(L)||a(F)&&a(L)?0:u(F)&&s(L)&&!a(L)&&s(b)&&h(b)?3:a(F)||!s(b)?1:2:-1},d=function(F){var L=0,b=0,M=0,T="",S="",AA="",sA=(F=F||"").split("\\s+"),Z=[];for(L=0;L<sA.length;L+=1){for(Z.push(""),b=0;b<sA[L].length;b+=1)T=sA[L][b],S=sA[L][b-1],AA=sA[L][b+1],s(T)?(M=w(T,S,AA),Z[L]+=M!==-1?String.fromCharCode(A[T.charCodeAt(0)][M]):T):Z[L]+=T;Z[L]=p(Z[L])}return Z.join(" ")},v=t.__arabicParser__.processArabic=t.processArabic=function(){var F,L=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,b=[];if(Array.isArray(L)){var M=0;for(b=[],M=0;M<L.length;M+=1)Array.isArray(L[M])?b.push([d(L[M][0]),L[M][1],L[M][2]]):b.push([d(L[M])]);F=b}else F=d(L);return typeof arguments[0]=="string"?F:(arguments[0].text=F,arguments[0])};t.events.push(["preProcessText",v])}(TA.API),TA.API.autoPrint=function(t){var A;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(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")})),this},function(t){var A=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(a){e=a}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(a){r=isNaN(a)||Number.isInteger(a)===!1||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(a){n=isNaN(a)||Number.isInteger(a)===!1||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(a){i=a}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(a){s=a}}),Object.defineProperty(this,"parentNode",{})};A.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},A.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new A,this.canvas.pdf=this}])}(TA.API),function(t){var A={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},A),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(F){c=F}});var h=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return h},set:function(F){h=F}});var u=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return u},set:function(F){u=F}});var p=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return p},set:function(F){p=F}});var w=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return w},set:function(F){w=F}});var d=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return d},set:function(F){d=F}});var v=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return v},set:function(F){v=F}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(c){return r.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},t.getTextDimensions=function(c,h){r.call(this);var u=(h=h||{}).fontSize||this.getFontSize(),p=h.font||this.getFont(),w=h.scaleFactor||this.internal.scaleFactor,d=0,v=0,F=0,L=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 b=h.maxWidth;b>0?typeof c=="string"?c=this.splitTextToSize(c,b):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(T,S){return T.concat(L.splitTextToSize(S,b))},[])):c=Array.isArray(c)?c:[c];for(var M=0;M<c.length;M++)d<(F=this.getStringUnitWidth(c[M],{font:p})*u)&&(d=F);return d!==0&&(v=c.length),{w:d/=w,h:Math.max((v*u*this.getLineHeightFactor()-u*(this.getLineHeightFactor()-1))/w,0)}},t.cellAddPage=function(){r.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 s=t.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],arguments[6]),r.call(this);var h=this.internal.__cell__.lastCell,u=this.internal.__cell__.padding,p=this.internal.__cell__.margins||A,w=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return h.lineNumber!==void 0&&(h.lineNumber===c.lineNumber?(c.x=(h.x||0)+(h.width||0),c.y=h.y||0):h.y+h.height+c.height+p.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=p.top,d&&w&&(this.printHeaderRow(c.lineNumber,!0),c.y+=w[0].height)):c.y=h.y+h.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-u,c.y+u,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+u,{align:"center",baseline:"top",maxWidth:c.width-u-u}):this.text(c.text,c.x+u,c.y+u,{align:"left",baseline:"top",maxWidth:c.width-u-u})),this.internal.__cell__.lastCell=c,this};t.table=function(c,h,u,p,w){if(r.call(this),!u)throw new Error("No data for PDF table.");var d,v,F,L,b=[],M=[],T=[],S={},AA={},sA=[],Z=[],j=(w=w||{}).autoSize||!1,P=w.printHeaders!==!1,Y=w.css&&w.css["font-size"]!==void 0?16*w.css["font-size"]:w.fontSize||12,E=w.margins||Object.assign({width:this.getPageWidth()},A),N=typeof w.padding=="number"?w.padding:3,G=w.headerBackgroundColor||"#c8c8c8",K=w.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=P,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=Y,this.internal.__cell__.padding=N,this.internal.__cell__.headerBackgroundColor=G,this.internal.__cell__.headerTextColor=K,this.setFontSize(Y),p==null)M=b=Object.keys(u[0]),T=b.map(function(){return"left"});else if(Array.isArray(p)&&St(p[0])==="object")for(b=p.map(function(FA){return FA.name}),M=p.map(function(FA){return FA.prompt||FA.name||""}),T=p.map(function(FA){return FA.align||"left"}),d=0;d<p.length;d+=1)AA[p[d].name]=.7499990551181103*p[d].width;else Array.isArray(p)&&typeof p[0]=="string"&&(M=b=p,T=b.map(function(){return"left"}));if(j||Array.isArray(p)&&typeof p[0]=="string")for(d=0;d<b.length;d+=1){for(S[L=b[d]]=u.map(function(FA){return FA[L]}),this.setFont(void 0,"bold"),sA.push(this.getTextDimensions(M[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),v=S[L],this.setFont(void 0,"normal"),F=0;F<v.length;F+=1)sA.push(this.getTextDimensions(v[F],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);AA[L]=Math.max.apply(null,sA)+N+N,sA=[]}if(P){var iA={};for(d=0;d<b.length;d+=1)iA[b[d]]={},iA[b[d]].text=M[d],iA[b[d]].align=T[d];var cA=a.call(this,iA,AA);Z=b.map(function(FA){return new i(c,h,AA[FA],cA,iA[FA].text,void 0,iA[FA].align)}),this.setTableHeaderRow(Z),this.printHeaderRow(1,!1)}var uA=p.reduce(function(FA,mA){return FA[mA.name]=mA.align,FA},{});for(d=0;d<u.length;d+=1){"rowStart"in w&&w.rowStart instanceof Function&&w.rowStart({row:d,data:u[d]},this);var nA=a.call(this,u[d],AA);for(F=0;F<b.length;F+=1){var dA=u[d][b[F]];"cellStart"in w&&w.cellStart instanceof Function&&w.cellStart({row:d,col:F,data:dA},this),s.call(this,new i(c,h,AA[b[F]],nA,dA,d+2,uA[b[F]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=h,this};var a=function(c,h){var u=this.internal.__cell__.padding,p=this.internal.__cell__.table_font_size,w=this.internal.scaleFactor;return Object.keys(c).map(function(d){var v=c[d];return this.splitTextToSize(v.hasOwnProperty("text")?v.text:v,h[d]-u-u)},this).map(function(d){return this.getLineHeightFactor()*d.length*p/w+u+u},this).reduce(function(d,v){return Math.max(d,v)},0)};t.setTableHeaderRow=function(c){r.call(this),this.internal.__cell__.tableHeaderRow=c},t.printHeaderRow=function(c,h){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var u;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var p=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(p[0],p[1],p[2],p[3],void 0,-1)}this.setFont(void 0,"bold");for(var w=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){u=this.internal.__cell__.tableHeaderRow[d].clone(),h&&(u.y=this.internal.__cell__.margins.top||0,w.push(u)),u.lineNumber=c;var v=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,u),this.setTextColor(v)}w.length>0&&this.setTableHeaderRow(w),this.setFont(void 0,"normal"),e=!1}}(TA.API);var Hg={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},_g=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],mh=Ng(_g),Dg=[100,200,300,400,500,600,700,800,900],Sy=Ng(Dg);function xl(t){var A=t.family.replace(/"|'/g,"").toLowerCase(),e=function(i){return Hg[i=i||"normal"]?i:"normal"}(t.style),r=function(i){return i?typeof i=="number"?i>=100&&i<=900&&i%100==0?i:400:/^\d00$/.test(i)?parseInt(i):i==="bold"?700:400:400}(t.weight),n=function(i){return typeof mh[i=i||"normal"]=="number"?i:"normal"}(t.stretch);return{family:A,style:e,weight:r,stretch:n,src:t.src||[],ref:t.ref||{name:A,style:[n,e,r].join(" ")}}}function pd(t,A,e,r){var n;for(n=e;n>=0&&n<A.length;n+=r)if(t[A[n]])return t[A[n]];for(n=e;n>=0&&n<A.length;n-=r)if(t[A[n]])return t[A[n]]}var Ny={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},wd={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function md(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Cd(t){return t.trimLeft()}function Hy(t,A){for(var e=0;e<t.length;){if(t.charAt(e)===A)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function _y(t){var A=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return A===null?null:[A[0],t.substring(A[0].length)]}var ss,Ea,bd,yd,Fd,Il=["times"];function Qd(t,A,e,r,n){var i=4,s=Ud;switch(n){case TA.API.image_compression.FAST:i=1,s=vd;break;case TA.API.image_compression.MEDIUM:i=6,s=Ed;break;case TA.API.image_compression.SLOW:i=9,s=Ld}t=function(c,h,u,p){for(var w,d=c.length/h,v=new Uint8Array(c.length+d),F=[Dy,vd,Ud,Ed,Ld],L=0;L<d;L+=1){var b=L*h,M=c.subarray(b,b+h);if(p)v.set(p(M,u,w),b+L);else{for(var T=F.length,S=[],AA=0;AA<T;AA+=1)S[AA]=F[AA](M,u,w);var sA=My(S.concat());v.set(S[sA],b+L)}w=M}return v}(t,A,Math.ceil(e*r/8),s);var a=uh(t,{level:i});return TA.API.__addimage__.arrayBufferToBinaryString(a)}function Dy(t){var A=Array.apply([],t);return A.unshift(0),A}function vd(t,A){var e=t.length,r=[];r[0]=1;for(var n=0;n<e;n+=1){var i=t[n-A]||0;r[n+1]=t[n]-i+256&255}return r}function Ud(t,A,e){var r=t.length,n=[];n[0]=2;for(var i=0;i<r;i+=1){var s=e&&e[i]||0;n[i+1]=t[i]-s+256&255}return n}function Ed(t,A,e){var r=t.length,n=[];n[0]=3;for(var i=0;i<r;i+=1){var s=t[i-A]||0,a=e&&e[i]||0;n[i+1]=t[i]+256-(s+a>>>1)&255}return n}function Ld(t,A,e){var r=t.length,n=[];n[0]=4;for(var i=0;i<r;i+=1){var s=ky(t[i-A]||0,e&&e[i]||0,e&&e[i-A]||0);n[i+1]=t[i]-s+256&255}return n}function ky(t,A,e){if(t===A&&A===e)return t;var r=Math.abs(A-e),n=Math.abs(t-e),i=Math.abs(t+A-e-e);return r<=n&&r<=i?t:n<=i?A:e}function My(t){var A=t.map(function(e){return e.reduce(function(r,n){return r+Math.abs(n)},0)});return A.indexOf(Math.min.apply(null,A))}function Sl(t,A,e){var r=A*e,n=Math.floor(r/8),i=16-(r-8*n+e),s=(1<<e)-1;return kg(t,n)>>i&s}function xd(t,A,e,r){var n=e*r,i=Math.floor(n/8),s=16-(n-8*i+r),a=(1<<r)-1,c=(A&a)<<s;(function(h,u,p){if(u+1<h.byteLength)h.setUint16(u,p,!1);else{var w=p>>8&255;h.setUint8(u,w)}})(t,i,kg(t,i)&~(a<<s)&65535|c)}function kg(t,A){return A+1<t.byteLength?t.getUint16(A,!1):t.getUint8(A)<<8}function Ty(t){var A=0;if(t[A++]!==71||t[A++]!==73||t[A++]!==70||t[A++]!==56||(t[A++]+1&253)!=56||t[A++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[A++]|t[A++]<<8,r=t[A++]|t[A++]<<8,n=t[A++],i=n>>7,s=1<<1+(7&n);t[A++],t[A++];var a=null,c=null;i&&(a=A,c=s,A+=3*s);var h=!0,u=[],p=0,w=null,d=0,v=null;for(this.width=e,this.height=r;h&&A<t.length;)switch(t[A++]){case 33:switch(t[A++]){case 255:if(t[A]!==11||t[A+1]==78&&t[A+2]==69&&t[A+3]==84&&t[A+4]==83&&t[A+5]==67&&t[A+6]==65&&t[A+7]==80&&t[A+8]==69&&t[A+9]==50&&t[A+10]==46&&t[A+11]==48&&t[A+12]==3&&t[A+13]==1&&t[A+16]==0)A+=14,v=t[A++]|t[A++]<<8,A++;else for(A+=12;;){if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}break;case 249:if(t[A++]!==4||t[A+4]!==0)throw new Error("Invalid graphics extension block.");var F=t[A++];p=t[A++]|t[A++]<<8,w=t[A++],1&F||(w=null),d=F>>2&7,A++;break;case 254:for(;;){if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}break;default:throw new Error("Unknown graphic control label: 0x"+t[A-1].toString(16))}break;case 44:var L=t[A++]|t[A++]<<8,b=t[A++]|t[A++]<<8,M=t[A++]|t[A++]<<8,T=t[A++]|t[A++]<<8,S=t[A++],AA=S>>6&1,sA=1<<1+(7&S),Z=a,j=c,P=!1;S>>7&&(P=!0,Z=A,j=sA,A+=3*sA);var Y=A;for(A++;;){var E;if(!((E=t[A++])>=0))throw Error("Invalid block size");if(E===0)break;A+=E}u.push({x:L,y:b,width:M,height:T,has_local_palette:P,palette_offset:Z,palette_size:j,data_offset:Y,data_length:A-Y,transparent_index:w,interlaced:!!AA,delay:p,disposal:d});break;case 59:h=!1;break;default:throw new Error("Unknown gif block: 0x"+t[A-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return v},this.frameInfo=function(N){if(N<0||N>=u.length)throw new Error("Frame index out of range.");return u[N]},this.decodeAndBlitFrameBGRA=function(N,G){var K=this.frameInfo(N),iA=K.width*K.height;if(iA>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var cA=new Uint8Array(iA);Id(t,K.data_offset,cA,iA);var uA=K.palette_offset,nA=K.transparent_index;nA===null&&(nA=256);var dA=K.width,FA=e-dA,mA=dA,U=4*(K.y*e+K.x),O=4*((K.y+K.height)*e+K.x),R=U,q=4*FA;K.interlaced===!0&&(q+=4*e*7);for(var z=8,tA=0,oA=cA.length;tA<oA;++tA){var aA=cA[tA];if(mA===0&&(mA=dA,(R+=q)>=O&&(q=4*FA+4*e*(z-1),R=U+(dA+FA)*(z<<1),z>>=1)),aA===nA)R+=4;else{var BA=t[uA+3*aA],yA=t[uA+3*aA+1],LA=t[uA+3*aA+2];G[R++]=LA,G[R++]=yA,G[R++]=BA,G[R++]=255}--mA}},this.decodeAndBlitFrameRGBA=function(N,G){var K=this.frameInfo(N),iA=K.width*K.height;if(iA>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var cA=new Uint8Array(iA);Id(t,K.data_offset,cA,iA);var uA=K.palette_offset,nA=K.transparent_index;nA===null&&(nA=256);var dA=K.width,FA=e-dA,mA=dA,U=4*(K.y*e+K.x),O=4*((K.y+K.height)*e+K.x),R=U,q=4*FA;K.interlaced===!0&&(q+=4*e*7);for(var z=8,tA=0,oA=cA.length;tA<oA;++tA){var aA=cA[tA];if(mA===0&&(mA=dA,(R+=q)>=O&&(q=4*FA+4*e*(z-1),R=U+(dA+FA)*(z<<1),z>>=1)),aA===nA)R+=4;else{var BA=t[uA+3*aA],yA=t[uA+3*aA+1],LA=t[uA+3*aA+2];G[R++]=BA,G[R++]=yA,G[R++]=LA,G[R++]=255}--mA}}}function Id(t,A,e,r){for(var n=t[A++],i=1<<n,s=i+1,a=s+1,c=n+1,h=(1<<c)-1,u=0,p=0,w=0,d=t[A++],v=new Int32Array(4096),F=null;;){for(;u<16&&d!==0;)p|=t[A++]<<u,u+=8,d===1?d=t[A++]:--d;if(u<c)break;var L=p&h;if(p>>=c,u-=c,L!==i){if(L===s)break;for(var b=L<a?L:F,M=0,T=b;T>i;)T=v[T]>>8,++M;var S=T;if(w+M+(b!==L?1:0)>r)return void It.log("Warning, gif stream longer than expected.");e[w++]=S;var AA=w+=M;for(b!==L&&(e[w++]=S),T=b;M--;)T=v[T],e[--AA]=255&T,T>>=8;F!==null&&a<4096&&(v[a++]=F<<8|S,a>=h+1&&c<12&&(++c,h=h<<1|1)),F=L}else a=s+1,h=(1<<(c=n+1))-1,F=null}return w!==r&&It.log("Warning, gif stream shorter than expected."),e}/**
82 * @license
83  Copyright (c) 2008, Adobe Systems Incorporated
84  All rights reserved.
85
86  Redistribution and use in source and binary forms, with or without 
87  modification, are permitted provided that the following conditions are
88  met:
89
90  * Redistributions of source code must retain the above copyright notice, 
91    this list of conditions and the following disclaimer.
92  
93  * Redistributions in binary form must reproduce the above copyright
94    notice, this list of conditions and the following disclaimer in the 
95    documentation and/or other materials provided with the distribution.
96  
97  * Neither the name of Adobe Systems Incorporated nor the names of its 
98    contributors may be used to endorse or promote products derived from 
99    this software without specific prior written permission.
100
101  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
102  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
103  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
104  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
105  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
106  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
107  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
108  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
109  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
110  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
111  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
112*/function Nl(t){var A,e,r,n,i,s=Math.floor,a=new Array(64),c=new Array(64),h=new Array(64),u=new Array(64),p=new Array(65535),w=new Array(65535),d=new Array(64),v=new Array(64),F=[],L=0,b=7,M=new Array(64),T=new Array(64),S=new Array(64),AA=new Array(256),sA=new Array(2048),Z=[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],j=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],P=[0,1,2,3,4,5,6,7,8,9,10,11],Y=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],E=[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],N=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],G=[0,1,2,3,4,5,6,7,8,9,10,11],K=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],iA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function cA(U,O){for(var R=0,q=0,z=new Array,tA=1;tA<=16;tA++){for(var oA=1;oA<=U[tA];oA++)z[O[q]]=[],z[O[q]][0]=R,z[O[q]][1]=tA,q++,R++;R*=2}return z}function uA(U){for(var O=U[0],R=U[1]-1;R>=0;)O&1<<R&&(L|=1<<b),R--,--b<0&&(L==255?(nA(255),nA(0)):nA(L),b=7,L=0)}function nA(U){F.push(U)}function dA(U){nA(U>>8&255),nA(255&U)}function FA(U,O,R,q,z){for(var tA,oA=z[0],aA=z[240],BA=function(CA,jA){var IA,VA,RA,bt,ut,tt,gt,ft,kA,it,OA=0;for(kA=0;kA<8;++kA){IA=CA[OA],VA=CA[OA+1],RA=CA[OA+2],bt=CA[OA+3],ut=CA[OA+4],tt=CA[OA+5],gt=CA[OA+6];var Yt=IA+(ft=CA[OA+7]),mt=IA-ft,ct=VA+gt,lt=VA-gt,Ot=RA+tt,KA=RA-tt,Nt=bt+ut,zA=bt-ut,et=Yt+Nt,Pt=Yt-Nt,ht=ct+Ot,qA=ct-Ot;CA[OA]=et+ht,CA[OA+4]=et-ht;var yt=.707106781*(qA+Pt);CA[OA+2]=Pt+yt,CA[OA+6]=Pt-yt;var Vn=.382683433*((et=zA+KA)-(qA=lt+mt)),Ue=.5411961*et+Vn,Yr=1.306562965*qA+Vn,Hr=.707106781*(ht=KA+lt),WA=mt+Hr,Zr=mt-Hr;CA[OA+5]=Zr+Ue,CA[OA+3]=Zr-Ue,CA[OA+1]=WA+Yr,CA[OA+7]=WA-Yr,OA+=8}for(OA=0,kA=0;kA<8;++kA){IA=CA[OA],VA=CA[OA+8],RA=CA[OA+16],bt=CA[OA+24],ut=CA[OA+32],tt=CA[OA+40],gt=CA[OA+48];var $r=IA+(ft=CA[OA+56]),rr=IA-ft,nr=VA+gt,qt=VA-gt,pe=RA+tt,me=RA-tt,Gn=bt+ut,wn=bt-ut,pr=$r+Gn,_r=$r-Gn,wr=nr+pe,mr=nr-pe;CA[OA]=pr+wr,CA[OA+32]=pr-wr;var ir=.707106781*(mr+_r);CA[OA+16]=_r+ir,CA[OA+48]=_r-ir;var jn=.382683433*((pr=wn+me)-(mr=qt+rr)),Dr=.5411961*pr+jn,qn=1.306562965*mr+jn,xi=.707106781*(wr=me+qt),Ii=rr+xi,Si=rr-xi;CA[OA+40]=Si+Dr,CA[OA+24]=Si-Dr,CA[OA+8]=Ii+qn,CA[OA+56]=Ii-qn,OA++}for(kA=0;kA<64;++kA)it=CA[kA]*jA[kA],d[kA]=it>0?it+.5|0:it-.5|0;return d}(U,O),yA=0;yA<64;++yA)v[Z[yA]]=BA[yA];var LA=v[0]-R;R=v[0],LA==0?uA(q[0]):(uA(q[w[tA=32767+LA]]),uA(p[tA]));for(var UA=63;UA>0&&v[UA]==0;)UA--;if(UA==0)return uA(oA),R;for(var PA,H=1;H<=UA;){for(var vA=H;v[H]==0&&H<=UA;)++H;var at=H-vA;if(at>=16){PA=at>>4;for(var GA=1;GA<=PA;++GA)uA(aA);at&=15}tA=32767+v[H],uA(z[(at<<4)+w[tA]]),uA(p[tA]),H++}return UA!=63&&uA(oA),R}function mA(U){U=Math.min(Math.max(U,1),100),i!=U&&(function(O){for(var R=[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],q=0;q<64;q++){var z=s((R[q]*O+50)/100);z=Math.min(Math.max(z,1),255),a[Z[q]]=z}for(var tA=[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],oA=0;oA<64;oA++){var aA=s((tA[oA]*O+50)/100);aA=Math.min(Math.max(aA,1),255),c[Z[oA]]=aA}for(var BA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yA=0,LA=0;LA<8;LA++)for(var UA=0;UA<8;UA++)h[yA]=1/(a[Z[yA]]*BA[LA]*BA[UA]*8),u[yA]=1/(c[Z[yA]]*BA[LA]*BA[UA]*8),yA++}(U<50?Math.floor(5e3/U):Math.floor(200-2*U)),i=U)}this.encode=function(U,O){O&&mA(O),F=new Array,L=0,b=7,dA(65496),dA(65504),dA(16),nA(74),nA(70),nA(73),nA(70),nA(0),nA(1),nA(1),nA(0),dA(1),dA(1),nA(0),nA(0),function(){dA(65499),dA(132),nA(0);for(var VA=0;VA<64;VA++)nA(a[VA]);nA(1);for(var RA=0;RA<64;RA++)nA(c[RA])}(),function(VA,RA){dA(65472),dA(17),nA(8),dA(RA),dA(VA),nA(3),nA(1),nA(17),nA(0),nA(2),nA(17),nA(1),nA(3),nA(17),nA(1)}(U.width,U.height),function(){dA(65476),dA(418),nA(0);for(var VA=0;VA<16;VA++)nA(j[VA+1]);for(var RA=0;RA<=11;RA++)nA(P[RA]);nA(16);for(var bt=0;bt<16;bt++)nA(Y[bt+1]);for(var ut=0;ut<=161;ut++)nA(E[ut]);nA(1);for(var tt=0;tt<16;tt++)nA(N[tt+1]);for(var gt=0;gt<=11;gt++)nA(G[gt]);nA(17);for(var ft=0;ft<16;ft++)nA(K[ft+1]);for(var kA=0;kA<=161;kA++)nA(iA[kA])}(),dA(65498),dA(12),nA(3),nA(1),nA(0),nA(2),nA(17),nA(3),nA(17),nA(0),nA(63),nA(0);var R=0,q=0,z=0;L=0,b=7,this.encode.displayName="_encode_";for(var tA,oA,aA,BA,yA,LA,UA,PA,H,vA=U.data,at=U.width,GA=U.height,CA=4*at,jA=0;jA<GA;){for(tA=0;tA<CA;){for(yA=CA*jA+tA,UA=-1,PA=0,H=0;H<64;H++)LA=yA+(PA=H>>3)*CA+(UA=4*(7&H)),jA+PA>=GA&&(LA-=CA*(jA+1+PA-GA)),tA+UA>=CA&&(LA-=tA+UA-CA+4),oA=vA[LA++],aA=vA[LA++],BA=vA[LA++],M[H]=(sA[oA]+sA[aA+256|0]+sA[BA+512|0]>>16)-128,T[H]=(sA[oA+768|0]+sA[aA+1024|0]+sA[BA+1280|0]>>16)-128,S[H]=(sA[oA+1280|0]+sA[aA+1536|0]+sA[BA+1792|0]>>16)-128;R=FA(M,h,R,A,r),q=FA(T,u,q,e,n),z=FA(S,u,z,e,n),tA+=32}jA+=8}if(b>=0){var IA=[];IA[1]=b+1,IA[0]=(1<<b+1)-1,uA(IA)}return dA(65497),new Uint8Array(F)},t=t||50,function(){for(var U=String.fromCharCode,O=0;O<256;O++)AA[O]=U(O)}(),A=cA(j,P),e=cA(N,G),r=cA(Y,E),n=cA(K,iA),function(){for(var U=1,O=2,R=1;R<=15;R++){for(var q=U;q<O;q++)w[32767+q]=R,p[32767+q]=[],p[32767+q][1]=R,p[32767+q][0]=q;for(var z=-(O-1);z<=-U;z++)w[32767+z]=R,p[32767+z]=[],p[32767+z][1]=R,p[32767+z][0]=O-1+z;U<<=1,O<<=1}}(),function(){for(var U=0;U<256;U++)sA[U]=19595*U,sA[U+256|0]=38470*U,sA[U+512|0]=7471*U+32768,sA[U+768|0]=-11059*U,sA[U+1024|0]=-21709*U,sA[U+1280|0]=32768*U+8421375,sA[U+1536|0]=-27439*U,sA[U+1792|0]=-5329*U}(),mA(t)}/**
113 * @license
114 * Copyright (c) 2017 Aras Abbasi
115 *
116 * Licensed under the MIT License.
117 * http://opensource.org/licenses/mit-license
118 */function Qr(t,A){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!A,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Sd(t){function A(P){if(!P)throw Error("assert :P")}function e(P,Y,E){for(var N=0;4>N;N++)if(P[Y+N]!=E.charCodeAt(N))return!0;return!1}function r(P,Y,E,N,G){for(var K=0;K<G;K++)P[Y+K]=E[N+K]}function n(P,Y,E,N){for(var G=0;G<N;G++)P[Y+G]=E}function i(P){return new Int32Array(P)}function s(P,Y){for(var E=[],N=0;N<P;N++)E.push(new Y);return E}function a(P,Y){var E=[];return function N(G,K,iA){for(var cA=iA[K],uA=0;uA<cA&&(G.push(iA.length>K+1?[]:new Y),!(iA.length<K+1));uA++)N(G[uA],K+1,iA)}(E,0,P),E}var c=function(){var P=this;function Y(o,l){for(var g=1<<l-1>>>0;o&g;)g>>>=1;return g?(o&g-1)+g:o}function E(o,l,g,B,C){A(!(B%g));do o[l+(B-=g)]=C;while(0<B)}function N(o,l,g,B,C){if(A(2328>=C),512>=C)var y=i(512);else if((y=i(C))==null)return 0;return function(Q,x,I,D,W,rA){var k,X,$=x,hA=1<<I,eA=i(16),fA=i(16);for(A(W!=0),A(D!=null),A(Q!=null),A(0<I),X=0;X<W;++X){if(15<D[X])return 0;++eA[D[X]]}if(eA[0]==W)return 0;for(fA[1]=0,k=1;15>k;++k){if(eA[k]>1<<k)return 0;fA[k+1]=fA[k]+eA[k]}for(X=0;X<W;++X)k=D[X],0<D[X]&&(rA[fA[k]++]=X);if(fA[15]==1)return(D=new G).g=0,D.value=rA[0],E(Q,$,1,hA,D),hA;var gA,bA=-1,wA=hA-1,MA=0,xA=1,st=1,_A=1<<I;for(X=0,k=1,W=2;k<=I;++k,W<<=1){if(xA+=st<<=1,0>(st-=eA[k]))return 0;for(;0<eA[k];--eA[k])(D=new G).g=k,D.value=rA[X++],E(Q,$+MA,W,_A,D),MA=Y(MA,k)}for(k=I+1,W=2;15>=k;++k,W<<=1){if(xA+=st<<=1,0>(st-=eA[k]))return 0;for(;0<eA[k];--eA[k]){if(D=new G,(MA&wA)!=bA){for($+=_A,gA=1<<(bA=k)-I;15>bA&&!(0>=(gA-=eA[bA]));)++bA,gA<<=1;hA+=_A=1<<(gA=bA-I),Q[x+(bA=MA&wA)].g=gA+I,Q[x+bA].value=$-x-bA}D.g=k-I,D.value=rA[X++],E(Q,$+(MA>>I),W,_A,D),MA=Y(MA,k)}}return xA!=2*fA[15]-1?0:hA}(o,l,g,B,C,y)}function G(){this.value=this.g=0}function K(){this.value=this.g=0}function iA(){this.G=s(5,G),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(Gi,K)}function cA(o,l,g,B){A(o!=null),A(l!=null),A(2147483648>B),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=l,o.pa=g,o.Jd=l,o.Yc=g+B,o.Zc=4<=B?g+B-4+1:g,oA(o)}function uA(o,l){for(var g=0;0<l--;)g|=BA(o,128)<<l;return g}function nA(o,l){var g=uA(o,l);return aA(o)?-g:g}function dA(o,l,g,B){var C,y=0;for(A(o!=null),A(l!=null),A(4294967288>B),o.Sb=B,o.Ra=0,o.u=0,o.h=0,4<B&&(B=4),C=0;C<B;++C)y+=l[g+C]<<8*C;o.Ra=y,o.bb=B,o.oa=l,o.pa=g}function FA(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<Me-8>>>0,++o.bb,o.u-=8;q(o)&&(o.h=1,o.u=0)}function mA(o,l){if(A(0<=l),!o.h&&l<=_s){var g=R(o)&ei[l];return o.u+=l,FA(o),g}return o.h=1,o.u=0}function U(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function O(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function R(o){return o.Ra>>>(o.u&Me-1)>>>0}function q(o){return A(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>Me}function z(o,l){o.u=l,o.h=q(o)}function tA(o){o.u>=Re&&(A(o.u>=Re),FA(o))}function oA(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 aA(o){return uA(o,1)}function BA(o,l){var g=o.Ca;0>o.b&&oA(o);var B=o.b,C=g*l>>>8,y=(o.I>>>B>C)+0;for(y?(g-=C,o.I-=C+1<<B>>>0):g=C+1,B=g,C=0;256<=B;)C+=8,B>>=8;return B=7^C+ji[B],o.b-=B,o.Ca=(g<<B)-1,y}function yA(o,l,g){o[l+0]=g>>24&255,o[l+1]=g>>16&255,o[l+2]=g>>8&255,o[l+3]=255&g}function LA(o,l){return o[l+0]|o[l+1]<<8}function UA(o,l){return LA(o,l)|o[l+2]<<16}function PA(o,l){return LA(o,l)|LA(o,l+2)<<16}function H(o,l){var g=1<<l;return A(o!=null),A(0<l),o.X=i(g),o.X==null?0:(o.Mb=32-l,o.Xa=l,1)}function vA(o,l){A(o!=null),A(l!=null),A(o.Xa==l.Xa),r(l.X,0,o.X,0,1<<l.Xa)}function at(){this.X=[],this.Xa=this.Mb=0}function GA(o,l,g,B){A(g!=null),A(B!=null);var C=g[0],y=B[0];return C==0&&(C=(o*y+l/2)/l),y==0&&(y=(l*C+o/2)/o),0>=C||0>=y?0:(g[0]=C,B[0]=y,1)}function CA(o,l){return o+(1<<l)-1>>>l}function jA(o,l){return((4278255360&o)+(4278255360&l)>>>0&4278255360)+((16711935&o)+(16711935&l)>>>0&16711935)>>>0}function IA(o,l){P[l]=function(g,B,C,y,Q,x,I){var D;for(D=0;D<Q;++D){var W=P[o](x[I+D-1],C,y+D);x[I+D]=jA(g[B+D],W)}}}function VA(){this.ud=this.hd=this.jd=0}function RA(o,l){return((4278124286&(o^l))>>>1)+(o&l)>>>0}function bt(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function ut(o,l){return bt(o+(o-l+.5>>1))}function tt(o,l,g){return Math.abs(l-g)-Math.abs(o-g)}function gt(o,l,g,B,C,y,Q){for(B=y[Q-1],g=0;g<C;++g)y[Q+g]=B=jA(o[l+g],B)}function ft(o,l,g,B,C){var y;for(y=0;y<g;++y){var Q=o[l+y],x=Q>>8&255,I=16711935&(I=(I=16711935&Q)+((x<<16)+x));B[C+y]=(4278255360&Q)+I>>>0}}function kA(o,l){l.jd=255&o,l.hd=o>>8&255,l.ud=o>>16&255}function it(o,l,g,B,C,y){var Q;for(Q=0;Q<B;++Q){var x=l[g+Q],I=x>>>8,D=x,W=255&(W=(W=x>>>16)+((o.jd<<24>>24)*(I<<24>>24)>>>5));D=255&(D=(D+=(o.hd<<24>>24)*(I<<24>>24)>>>5)+((o.ud<<24>>24)*(W<<24>>24)>>>5)),C[y+Q]=(4278255360&x)+(W<<16)+D}}function OA(o,l,g,B,C){P[l]=function(y,Q,x,I,D,W,rA,k,X){for(I=rA;I<k;++I)for(rA=0;rA<X;++rA)D[W++]=C(x[B(y[Q++])])},P[o]=function(y,Q,x,I,D,W,rA){var k=8>>y.b,X=y.Ea,$=y.K[0],hA=y.w;if(8>k)for(y=(1<<y.b)-1,hA=(1<<k)-1;Q<x;++Q){var eA,fA=0;for(eA=0;eA<X;++eA)eA&y||(fA=B(I[D++])),W[rA++]=C($[fA&hA]),fA>>=k}else P["VP8LMapColor"+g](I,D,$,hA,W,rA,Q,x,X)}}function Yt(o,l,g,B,C){for(g=l+g;l<g;){var y=o[l++];B[C++]=y>>16&255,B[C++]=y>>8&255,B[C++]=255&y}}function mt(o,l,g,B,C){for(g=l+g;l<g;){var y=o[l++];B[C++]=y>>16&255,B[C++]=y>>8&255,B[C++]=255&y,B[C++]=y>>24&255}}function ct(o,l,g,B,C){for(g=l+g;l<g;){var y=(Q=o[l++])>>16&240|Q>>12&15,Q=240&Q|Q>>28&15;B[C++]=y,B[C++]=Q}}function lt(o,l,g,B,C){for(g=l+g;l<g;){var y=(Q=o[l++])>>16&248|Q>>13&7,Q=Q>>5&224|Q>>3&31;B[C++]=y,B[C++]=Q}}function Ot(o,l,g,B,C){for(g=l+g;l<g;){var y=o[l++];B[C++]=255&y,B[C++]=y>>8&255,B[C++]=y>>16&255}}function KA(o,l,g,B,C,y){if(y==0)for(g=l+g;l<g;)yA(B,((y=o[l++])[0]>>24|y[1]>>8&65280|y[2]<<8&16711680|y[3]<<24)>>>0),C+=32;else r(B,C,o,l,g)}function Nt(o,l){P[l][0]=P[o+"0"],P[l][1]=P[o+"1"],P[l][2]=P[o+"2"],P[l][3]=P[o+"3"],P[l][4]=P[o+"4"],P[l][5]=P[o+"5"],P[l][6]=P[o+"6"],P[l][7]=P[o+"7"],P[l][8]=P[o+"8"],P[l][9]=P[o+"9"],P[l][10]=P[o+"10"],P[l][11]=P[o+"11"],P[l][12]=P[o+"12"],P[l][13]=P[o+"13"],P[l][14]=P[o+"0"],P[l][15]=P[o+"0"]}function zA(o){return o==Ic||o==Sc||o==Ko||o==Nc}function et(){this.eb=[],this.size=this.A=this.fb=0}function Pt(){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 ht(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new et,this.f.kb=new Pt,this.sd=null}function qA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function yt(){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 Vn(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function Ue(o,l){var g=o.T,B=l.ba.f.RGBA,C=B.eb,y=B.fb+o.ka*B.A,Q=cr[l.ba.S],x=o.y,I=o.O,D=o.f,W=o.N,rA=o.ea,k=o.W,X=l.cc,$=l.dc,hA=l.Mc,eA=l.Nc,fA=o.ka,gA=o.ka+o.T,bA=o.U,wA=bA+1>>1;for(fA==0?Q(x,I,null,null,D,W,rA,k,D,W,rA,k,C,y,null,null,bA):(Q(l.ec,l.fc,x,I,X,$,hA,eA,D,W,rA,k,C,y-B.A,C,y,bA),++g);fA+2<gA;fA+=2)X=D,$=W,hA=rA,eA=k,W+=o.Rc,k+=o.Rc,y+=2*B.A,Q(x,(I+=2*o.fa)-o.fa,x,I,X,$,hA,eA,D,W,rA,k,C,y-B.A,C,y,bA);return I+=o.fa,o.j+gA<o.o?(r(l.ec,l.fc,x,I,bA),r(l.cc,l.dc,D,W,wA),r(l.Mc,l.Nc,rA,k,wA),g--):1&gA||Q(x,I,null,null,D,W,rA,k,D,W,rA,k,C,y+B.A,null,null,bA),g}function Yr(o,l,g){var B=o.F,C=[o.J];if(B!=null){var y=o.U,Q=l.ba.S,x=Q==Ro||Q==Ko;l=l.ba.f.RGBA;var I=[0],D=o.ka;I[0]=o.T,o.Kb&&(D==0?--I[0]:(--D,C[0]-=o.width),o.j+o.ka+o.T==o.o&&(I[0]=o.o-o.j-D));var W=l.eb;D=l.fb+D*l.A,o=kh(B,C[0],o.width,y,I,W,D+(x?0:3),l.A),A(g==I),o&&zA(Q)&&Ts(W,D,x,y,I,l.A)}return 0}function Hr(o){var l=o.ma,g=l.ba.S,B=11>g,C=g==Oo||g==Po||g==Ro||g==xc||g==12||zA(g);if(l.memory=null,l.Ib=null,l.Jb=null,l.Nd=null,!or(l.Oa,o,C?11:12))return 0;if(C&&zA(g)&&sn(),o.da)alert("todo:use_scaling");else{if(B){if(l.Ib=Vn,o.Kb){if(g=o.U+1>>1,l.memory=i(o.U+2*g),l.memory==null)return 0;l.ec=l.memory,l.fc=0,l.cc=l.ec,l.dc=l.fc+o.U,l.Mc=l.cc,l.Nc=l.dc+g,l.Ib=Ue,sn()}}else alert("todo:EmitYUV");C&&(l.Jb=Yr,B&&Gt())}if(B&&!Zh){for(o=0;256>o;++o)r0[o]=89858*(o-128)+Go>>Vo,s0[o]=-22014*(o-128)+Go,i0[o]=-45773*(o-128),n0[o]=113618*(o-128)+Go>>Vo;for(o=Ps;o<Dc;++o)l=76283*(o-16)+Go>>Vo,o0[o-Ps]=kr(l,255),a0[o-Ps]=kr(l+8>>4,15);Zh=1}return 1}function WA(o){var l=o.ma,g=o.U,B=o.T;return A(!(1&o.ka)),0>=g||0>=B?0:(g=l.Ib(o,l),l.Jb!=null&&l.Jb(o,l,g),l.Dc+=g,1)}function Zr(o){o.ma.memory=null}function $r(o,l,g,B){return mA(o,8)!=47?0:(l[0]=mA(o,14)+1,g[0]=mA(o,14)+1,B[0]=mA(o,1),mA(o,3)!=0?0:!o.h)}function rr(o,l){if(4>o)return o+1;var g=o-2>>1;return(2+(1&o)<<g)+mA(l,g)+1}function nr(o,l){return 120<l?l-120:1<=(g=((g=Vg[l-1])>>4)*o+(8-(15&g)))?g:1;var g}function qt(o,l,g){var B=R(g),C=o[l+=255&B].g-8;return 0<C&&(z(g,g.u+8),B=R(g),l+=o[l].value,l+=B&(1<<C)-1),z(g,g.u+o[l].g),o[l].value}function pe(o,l,g){return g.g+=o.g,g.value+=o.value<<l>>>0,A(8>=g.g),o.g}function me(o,l,g){var B=o.xc;return A((l=B==0?0:o.vc[o.md*(g>>B)+(l>>B)])<o.Wb),o.Ya[l]}function Gn(o,l,g,B){var C=o.ab,y=o.c*l,Q=o.C;l=Q+l;var x=g,I=B;for(B=o.Ta,g=o.Ua;0<C--;){var D=o.gc[C],W=Q,rA=l,k=x,X=I,$=(I=B,x=g,D.Ea);switch(A(W<rA),A(rA<=D.nc),D.hc){case 2:qi(k,X,(rA-W)*$,I,x);break;case 0:var hA=W,eA=rA,fA=I,gA=x,bA=(_A=D).Ea;hA==0&&(Fn(k,X,null,null,1,fA,gA),gt(k,X+1,0,0,bA-1,fA,gA+1),X+=bA,gA+=bA,++hA);for(var wA=1<<_A.b,MA=wA-1,xA=CA(bA,_A.b),st=_A.K,_A=_A.w+(hA>>_A.b)*xA;hA<eA;){var Bt=st,he=_A,ot=1;for(Qn(k,X,fA,gA-bA,1,fA,gA);ot<bA;){var DA=(ot&~MA)+wA;DA>bA&&(DA=bA),(0,Cr[Bt[he++]>>8&15])(k,X+ +ot,fA,gA+ot-bA,DA-ot,fA,gA+ot),ot=DA}X+=bA,gA+=bA,++hA&MA||(_A+=xA)}rA!=D.nc&&r(I,x-$,I,x+(rA-W-1)*$,$);break;case 1:for($=k,eA=X,bA=(k=D.Ea)-(gA=k&~(fA=(X=1<<D.b)-1)),hA=CA(k,D.b),wA=D.K,D=D.w+(W>>D.b)*hA;W<rA;){for(MA=wA,xA=D,st=new VA,_A=eA+gA,Bt=eA+k;eA<_A;)kA(MA[xA++],st),ni(st,$,eA,X,I,x),eA+=X,x+=X;eA<Bt&&(kA(MA[xA++],st),ni(st,$,eA,bA,I,x),eA+=bA,x+=bA),++W&fA||(D+=hA)}break;case 3:if(k==I&&X==x&&0<D.b){for(eA=I,k=$=x+(rA-W)*$-(gA=(rA-W)*CA(D.Ea,D.b)),X=I,fA=x,hA=[],gA=(bA=gA)-1;0<=gA;--gA)hA[gA]=X[fA+gA];for(gA=bA-1;0<=gA;--gA)eA[k+gA]=hA[gA];ri(D,W,rA,I,$,I,x)}else ri(D,W,rA,k,X,I,x)}x=B,I=g}I!=g&&r(B,g,x,I,y)}function wn(o,l){var g=o.V,B=o.Ba+o.c*o.C,C=l-o.C;if(A(l<=o.l.o),A(16>=C),0<C){var y=o.l,Q=o.Ta,x=o.Ua,I=y.width;if(Gn(o,C,g,B),C=x=[x],A((g=o.C)<(B=l)),A(y.v<y.va),B>y.o&&(B=y.o),g<y.j){var D=y.j-g;g=y.j,C[0]+=D*I}if(g>=B?g=0:(C[0]+=4*y.v,y.ka=g-y.j,y.U=y.va-y.v,y.T=B-g,g=1),g){if(x=x[0],11>(g=o.ca).S){var W=g.f.RGBA,rA=(B=g.S,C=y.U,y=y.T,D=W.eb,W.A),k=y;for(W=W.fb+o.Ma*W.A;0<k--;){var X=Q,$=x,hA=C,eA=D,fA=W;switch(B){case To:Ds(X,$,hA,eA,fA);break;case Oo:ks(X,$,hA,eA,fA);break;case Ic:ks(X,$,hA,eA,fA),Ts(eA,fA,0,hA,1,0);break;case Vh:si(X,$,hA,eA,fA);break;case Po:KA(X,$,hA,eA,fA,1);break;case Sc:KA(X,$,hA,eA,fA,1),Ts(eA,fA,0,hA,1,0);break;case Ro:KA(X,$,hA,eA,fA,0);break;case Ko:KA(X,$,hA,eA,fA,0),Ts(eA,fA,1,hA,1,0);break;case xc:Wi(X,$,hA,eA,fA);break;case Nc:Wi(X,$,hA,eA,fA),Dh(eA,fA,hA,1,0);break;case Gh:ii(X,$,hA,eA,fA);break;default:A(0)}x+=I,W+=rA}o.Ma+=y}else alert("todo:EmitRescaledRowsYUVA");A(o.Ma<=g.height)}}o.C=l,A(o.C<=o.i)}function pr(o){var l;if(0<o.ua)return 0;for(l=0;l<o.Wb;++l){var g=o.Ya[l].G,B=o.Ya[l].H;if(0<g[1][B[1]+0].g||0<g[2][B[2]+0].g||0<g[3][B[3]+0].g)return 0}return 1}function _r(o,l,g,B,C,y){if(o.Z!=0){var Q=o.qd,x=o.rd;for(A(Ln[o.Z]!=null);l<g;++l)Ln[o.Z](Q,x,B,C,B,C,y),Q=B,x=C,C+=y;o.qd=Q,o.rd=x}}function wr(o,l){var g=o.l.ma,B=g.Z==0||g.Z==1?o.l.j:o.C;if(B=o.C<B?B:o.C,A(l<=o.l.o),l>B){var C=o.l.width,y=g.ca,Q=g.tb+C*B,x=o.V,I=o.Ba+o.c*B,D=o.gc;A(o.ab==1),A(D[0].hc==3),Ec(D[0],B,l,x,I,y,Q),_r(g,B,l,y,Q,C)}o.C=o.Ma=l}function mr(o,l,g,B,C,y,Q){var x=o.$/B,I=o.$%B,D=o.m,W=o.s,rA=g+o.$,k=rA;C=g+B*C;var X=g+B*y,$=280+W.ua,hA=o.Pb?x:16777216,eA=0<W.ua?W.Wa:null,fA=W.wc,gA=rA<X?me(W,I,x):null;A(o.C<y),A(X<=C);var bA=!1;A:for(;;){for(;bA||rA<X;){var wA=0;if(x>=hA){var MA=rA-g;A((hA=o).Pb),hA.wd=hA.m,hA.xd=MA,0<hA.s.ua&&vA(hA.s.Wa,hA.s.vb),hA=x+jg}if(I&fA||(gA=me(W,I,x)),A(gA!=null),gA.Qb&&(l[rA]=gA.qb,bA=!0),!bA)if(tA(D),gA.jc){wA=D,MA=l;var xA=rA,st=gA.pd[R(wA)&Gi-1];A(gA.jc),256>st.g?(z(wA,wA.u+st.g),MA[xA]=st.value,wA=0):(z(wA,wA.u+st.g-256),A(256<=st.value),wA=st.value),wA==0&&(bA=!0)}else wA=qt(gA.G[0],gA.H[0],D);if(D.h)break;if(bA||256>wA){if(!bA)if(gA.nd)l[rA]=(gA.qb|wA<<8)>>>0;else{if(tA(D),bA=qt(gA.G[1],gA.H[1],D),tA(D),MA=qt(gA.G[2],gA.H[2],D),xA=qt(gA.G[3],gA.H[3],D),D.h)break;l[rA]=(xA<<24|bA<<16|wA<<8|MA)>>>0}if(bA=!1,++rA,++I>=B&&(I=0,++x,Q!=null&&x<=y&&!(x%16)&&Q(o,x),eA!=null))for(;k<rA;)wA=l[k++],eA.X[(506832829*wA&4294967295)>>>eA.Mb]=wA}else if(280>wA){if(wA=rr(wA-256,D),MA=qt(gA.G[4],gA.H[4],D),tA(D),MA=nr(B,MA=rr(MA,D)),D.h)break;if(rA-g<MA||C-rA<wA)break A;for(xA=0;xA<wA;++xA)l[rA+xA]=l[rA+xA-MA];for(rA+=wA,I+=wA;I>=B;)I-=B,++x,Q!=null&&x<=y&&!(x%16)&&Q(o,x);if(A(rA<=C),I&fA&&(gA=me(W,I,x)),eA!=null)for(;k<rA;)wA=l[k++],eA.X[(506832829*wA&4294967295)>>>eA.Mb]=wA}else{if(!(wA<$))break A;for(bA=wA-280,A(eA!=null);k<rA;)wA=l[k++],eA.X[(506832829*wA&4294967295)>>>eA.Mb]=wA;wA=rA,A(!(bA>>>(MA=eA).Xa)),l[wA]=MA.X[bA],bA=!0}bA||A(D.h==q(D))}if(o.Pb&&D.h&&rA<C)A(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&vA(o.s.vb,o.s.Wa);else{if(D.h)break A;Q!=null&&Q(o,x>y?y:x),o.a=0,o.$=rA-g}return 1}return o.a=3,0}function ir(o){A(o!=null),o.vc=null,o.yc=null,o.Ya=null;var l=o.Wa;l!=null&&(l.X=null),o.vb=null,A(o!=null)}function jn(){var o=new HA;return o==null?null:(o.a=0,o.xb=Wh,Nt("Predictor","VP8LPredictors"),Nt("Predictor","VP8LPredictors_C"),Nt("PredictorAdd","VP8LPredictorsAdd"),Nt("PredictorAdd","VP8LPredictorsAdd_C"),qi=ft,ni=it,Ds=Yt,ks=mt,Wi=ct,ii=lt,si=Ot,P.VP8LMapColor32b=ce,P.VP8LMapColor8b=Rr,o)}function Dr(o,l,g,B,C){var y=1,Q=[o],x=[l],I=B.m,D=B.s,W=null,rA=0;A:for(;;){if(g)for(;y&&mA(I,1);){var k=Q,X=x,$=B,hA=1,eA=$.m,fA=$.gc[$.ab],gA=mA(eA,2);if($.Oc&1<<gA)y=0;else{switch($.Oc|=1<<gA,fA.hc=gA,fA.Ea=k[0],fA.nc=X[0],fA.K=[null],++$.ab,A(4>=$.ab),gA){case 0:case 1:fA.b=mA(eA,3)+2,hA=Dr(CA(fA.Ea,fA.b),CA(fA.nc,fA.b),0,$,fA.K),fA.K=fA.K[0];break;case 3:var bA,wA=mA(eA,8)+1,MA=16<wA?0:4<wA?1:2<wA?2:3;if(k[0]=CA(fA.Ea,MA),fA.b=MA,bA=hA=Dr(wA,1,0,$,fA.K)){var xA,st=wA,_A=fA,Bt=1<<(8>>_A.b),he=i(Bt);if(he==null)bA=0;else{var ot=_A.K[0],DA=_A.w;for(he[0]=_A.K[0][0],xA=1;xA<1*st;++xA)he[xA]=jA(ot[DA+xA],he[xA-1]);for(;xA<4*Bt;++xA)he[xA]=0;_A.K[0]=null,_A.K[0]=he,bA=1}}hA=bA;break;case 2:break;default:A(0)}y=hA}}if(Q=Q[0],x=x[0],y&&mA(I,1)&&!(y=1<=(rA=mA(I,4))&&11>=rA)){B.a=3;break A}var QA;if(QA=y)t:{var $t,nt,wt,Mt=B,be=Q,Te=x,Wt=rA,Ie=g,Oe=Mt.m,ue=Mt.s,Ct=[null],Qt=1,Xt=0,vt=Gg[Wt];e:for(;;){if(Ie&&mA(Oe,1)){var ye=mA(Oe,3)+2,yr=CA(be,ye),Ae=CA(Te,ye),Ke=yr*Ae;if(!Dr(yr,Ae,0,Mt,Ct))break e;for(Ct=Ct[0],ue.xc=ye,$t=0;$t<Ke;++$t){var xt=Ct[$t]>>8&65535;Ct[$t]=xt,xt>=Qt&&(Qt=xt+1)}}if(Oe.h)break e;for(nt=0;5>nt;++nt){var fe=jh[nt];!nt&&0<Wt&&(fe+=1<<Wt),Xt<fe&&(Xt=fe)}var ze=s(Qt*vt,G),Pe=Qt,Je=s(Pe,iA);if(Je==null)var Ye=null;else A(65536>=Pe),Ye=Je;var Ve=i(Xt);if(Ye==null||Ve==null||ze==null){Mt.a=1;break e}var Ze=ze;for($t=wt=0;$t<Qt;++$t){var Dt=Ye[$t],$e=Dt.G,Fr=Dt.H,oi=0,ln=1,Fe=0;for(nt=0;5>nt;++nt){fe=jh[nt],$e[nt]=Ze,Fr[nt]=wt,!nt&&0<Wt&&(fe+=1<<Wt);n:{var qo,kc=fe,Wo=Mt,Rs=Ve,h0=Ze,u0=wt,Mc=0,xn=Wo.m,f0=mA(xn,1);if(n(Rs,0,0,kc),f0){var d0=mA(xn,1)+1,g0=mA(xn,1),tu=mA(xn,g0==0?1:8);Rs[tu]=1,d0==2&&(Rs[tu=mA(xn,8)]=1);var Xo=1}else{var eu=i(19),ru=mA(xn,4)+4;if(19<ru){Wo.a=3;var zo=0;break n}for(qo=0;qo<ru;++qo)eu[Kg[qo]]=mA(xn,3);var Tc=void 0,Ks=void 0,nu=Wo,B0=eu,Jo=kc,iu=Rs,Oc=0,In=nu.m,su=8,ou=s(128,G);r:for(;N(ou,0,7,B0,19);){if(mA(In,1)){var p0=2+2*mA(In,3);if((Tc=2+mA(In,p0))>Jo)break r}else Tc=Jo;for(Ks=0;Ks<Jo&&Tc--;){tA(In);var au=ou[0+(127&R(In))];z(In,In.u+au.g);var Ji=au.value;if(16>Ji)iu[Ks++]=Ji,Ji!=0&&(su=Ji);else{var w0=Ji==16,cu=Ji-16,m0=Pg[cu],lu=mA(In,Og[cu])+m0;if(Ks+lu>Jo)break r;for(var C0=w0?su:0;0<lu--;)iu[Ks++]=C0}}Oc=1;break r}Oc||(nu.a=3),Xo=Oc}(Xo=Xo&&!xn.h)&&(Mc=N(h0,u0,8,Rs,kc)),Xo&&Mc!=0?zo=Mc:(Wo.a=3,zo=0)}if(zo==0)break e;if(ln&&Rg[nt]==1&&(ln=Ze[wt].g==0),oi+=Ze[wt].g,wt+=zo,3>=nt){var Vs,Pc=Ve[0];for(Vs=1;Vs<fe;++Vs)Ve[Vs]>Pc&&(Pc=Ve[Vs]);Fe+=Pc}}if(Dt.nd=ln,Dt.Qb=0,ln&&(Dt.qb=($e[3][Fr[3]+0].value<<24|$e[1][Fr[1]+0].value<<16|$e[2][Fr[2]+0].value)>>>0,oi==0&&256>$e[0][Fr[0]+0].value&&(Dt.Qb=1,Dt.qb+=$e[0][Fr[0]+0].value<<8)),Dt.jc=!Dt.Qb&&6>Fe,Dt.jc){var Yo,hn=Dt;for(Yo=0;Yo<Gi;++Yo){var Sn=Yo,Nn=hn.pd[Sn],Zo=hn.G[0][hn.H[0]+Sn];256<=Zo.value?(Nn.g=Zo.g+256,Nn.value=Zo.value):(Nn.g=0,Nn.value=0,Sn>>=pe(Zo,8,Nn),Sn>>=pe(hn.G[1][hn.H[1]+Sn],16,Nn),Sn>>=pe(hn.G[2][hn.H[2]+Sn],0,Nn),pe(hn.G[3][hn.H[3]+Sn],24,Nn))}}}ue.vc=Ct,ue.Wb=Qt,ue.Ya=Ye,ue.yc=ze,QA=1;break t}QA=0}if(!(y=QA)){B.a=3;break A}if(0<rA){if(D.ua=1<<rA,!H(D.Wa,rA)){B.a=1,y=0;break A}}else D.ua=0;var Rc=B,hu=Q,b0=x,Kc=Rc.s,Vc=Kc.xc;if(Rc.c=hu,Rc.i=b0,Kc.md=CA(hu,Vc),Kc.wc=Vc==0?-1:(1<<Vc)-1,g){B.xb=Zg;break A}if((W=i(Q*x))==null){B.a=1,y=0;break A}y=(y=mr(B,W,0,Q,x,x,null))&&!I.h;break A}return y?(C!=null?C[0]=W:(A(W==null),A(g)),B.$=0,g||ir(D)):ir(D),y}function qn(o,l){var g=o.c*o.i,B=g+l+16*l;return A(o.c<=l),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+g+l,1)}function xi(o,l){var g=o.C,B=l-g,C=o.V,y=o.Ba+o.c*g;for(A(l<=o.l.o);0<B;){var Q=16<B?16:B,x=o.l.ma,I=o.l.width,D=I*Q,W=x.ca,rA=x.tb+I*g,k=o.Ta,X=o.Ua;Gn(o,Q,C,y),Mh(k,X,W,rA,D),_r(x,g,g+Q,W,rA,I),B-=Q,C+=Q*o.c,g+=Q}A(g==l),o.C=o.Ma=l}function Ii(){this.ub=this.yd=this.td=this.Rb=0}function Si(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function cc(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function bs(){this.Yb=function(){var o=[];return function l(g,B,C){for(var y=C[B],Q=0;Q<y&&(g.push(C.length>B+1?[]:0),!(C.length<B+1));Q++)l(g[Q],B+1,C)}(o,0,[3,11]),o}()}function mo(){this.jb=i(3),this.Wc=a([4,8],bs),this.Xc=a([4,17],bs)}function Co(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function sr(){this.ld=this.La=this.dd=this.tc=0}function ys(){this.Na=this.la=0}function bo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Fs(){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 yo(){this.uc=this.M=this.Nb=0,this.wa=Array(new sr),this.Y=0,this.ya=Array(new Fs),this.aa=0,this.l=new Ni}function Fo(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Qo(){this.cb=this.a=0,this.sc="",this.m=new U,this.Od=new Ii,this.Kc=new Si,this.ed=new Co,this.Qa=new cc,this.Ic=this.$c=this.Aa=0,this.D=new yo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,U),this.ia=0,this.pb=s(4,bo),this.Pa=new mo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Fo),this.Hd=0,this.rb=Array(new ys),this.sb=0,this.wa=Array(new sr),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 Fs),this.L=this.aa=0,this.gd=a([4,2],sr),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 kr(o,l){return 0>o?0:o>l?l:o}function Ni(){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 lc(){var o=new Qo;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,Os||(Os=Hi)),o}function oe(o,l,g){return o.a==0&&(o.a=l,o.sc=g,o.cb=0),0}function vo(o,l,g){return 3<=g&&o[l+0]==157&&o[l+1]==1&&o[l+2]==42}function Mr(o,l){if(o==null)return 0;if(o.a=0,o.sc="OK",l==null)return oe(o,2,"null VP8Io passed to VP8GetHeaders()");var g=l.data,B=l.w,C=l.ha;if(4>C)return oe(o,7,"Truncated header.");var y=g[B+0]|g[B+1]<<8|g[B+2]<<16,Q=o.Od;if(Q.Rb=!(1&y),Q.td=y>>1&7,Q.yd=y>>4&1,Q.ub=y>>5,3<Q.td)return oe(o,3,"Incorrect keyframe parameters.");if(!Q.yd)return oe(o,4,"Frame not displayable.");B+=3,C-=3;var x=o.Kc;if(Q.Rb){if(7>C)return oe(o,7,"cannot parse picture header");if(!vo(g,B,C))return oe(o,3,"Bad code word");x.c=16383&(g[B+4]<<8|g[B+3]),x.Td=g[B+4]>>6,x.i=16383&(g[B+6]<<8|g[B+5]),x.Ud=g[B+6]>>6,B+=7,C-=7,o.za=x.c+15>>4,o.Ub=x.i+15>>4,l.width=x.c,l.height=x.i,l.Da=0,l.j=0,l.v=0,l.va=l.width,l.o=l.height,l.da=0,l.ib=l.width,l.hb=l.height,l.U=l.width,l.T=l.height,n((y=o.Pa).jb,0,255,y.jb.length),A((y=o.Qa)!=null),y.Cb=0,y.Bb=0,y.Fb=1,n(y.Zb,0,0,y.Zb.length),n(y.Lb,0,0,y.Lb)}if(Q.ub>C)return oe(o,7,"bad partition length");cA(y=o.m,g,B,Q.ub),B+=Q.ub,C-=Q.ub,Q.Rb&&(x.Ld=aA(y),x.Kd=aA(y)),x=o.Qa;var I,D=o.Pa;if(A(y!=null),A(x!=null),x.Cb=aA(y),x.Cb){if(x.Bb=aA(y),aA(y)){for(x.Fb=aA(y),I=0;4>I;++I)x.Zb[I]=aA(y)?nA(y,7):0;for(I=0;4>I;++I)x.Lb[I]=aA(y)?nA(y,6):0}if(x.Bb)for(I=0;3>I;++I)D.jb[I]=aA(y)?uA(y,8):255}else x.Bb=0;if(y.Ka)return oe(o,3,"cannot parse segment header");if((x=o.ed).zd=aA(y),x.Tb=uA(y,6),x.wb=uA(y,3),x.Pc=aA(y),x.Pc&&aA(y)){for(D=0;4>D;++D)aA(y)&&(x.vd[D]=nA(y,6));for(D=0;4>D;++D)aA(y)&&(x.od[D]=nA(y,6))}if(o.L=x.Tb==0?0:x.zd?1:2,y.Ka)return oe(o,3,"cannot parse filter header");var W=C;if(C=I=B,B=I+W,x=W,o.Xb=(1<<uA(o.m,2))-1,W<3*(D=o.Xb))g=7;else{for(I+=3*D,x-=3*D,W=0;W<D;++W){var rA=g[C+0]|g[C+1]<<8|g[C+2]<<16;rA>x&&(rA=x),cA(o.Jc[+W],g,I,rA),I+=rA,x-=rA,C+=3}cA(o.Jc[+D],g,I,x),g=I<B?0:5}if(g!=0)return oe(o,g,"cannot parse partitions");for(g=uA(I=o.m,7),C=aA(I)?nA(I,4):0,B=aA(I)?nA(I,4):0,x=aA(I)?nA(I,4):0,D=aA(I)?nA(I,4):0,I=aA(I)?nA(I,4):0,W=o.Qa,rA=0;4>rA;++rA){if(W.Cb){var k=W.Zb[rA];W.Fb||(k+=g)}else{if(0<rA){o.pb[rA]=o.pb[0];continue}k=g}var X=o.pb[rA];X.Sc[0]=Hc[kr(k+C,127)],X.Sc[1]=_c[kr(k+0,127)],X.Eb[0]=2*Hc[kr(k+B,127)],X.Eb[1]=101581*_c[kr(k+x,127)]>>16,8>X.Eb[1]&&(X.Eb[1]=8),X.Qc[0]=Hc[kr(k+D,117)],X.Qc[1]=_c[kr(k+I,127)],X.lc=k+I}if(!Q.Rb)return oe(o,4,"Not a key frame.");for(aA(y),Q=o.Pa,g=0;4>g;++g){for(C=0;8>C;++C)for(B=0;3>B;++B)for(x=0;11>x;++x)D=BA(y,Jg[g][C][B][x])?uA(y,8):Xg[g][C][B][x],Q.Wc[g][C].Yb[B][x]=D;for(C=0;17>C;++C)Q.Xc[g][C]=Q.Wc[g][Yg[C]]}return o.kc=aA(y),o.kc&&(o.Bd=uA(y,8)),o.cb=1}function Hi(o,l,g,B,C,y,Q){var x=l[C].Yb[g];for(g=0;16>C;++C){if(!BA(o,x[g+0]))return C;for(;!BA(o,x[g+1]);)if(x=l[++C].Yb[0],g=0,C==16)return 16;var I=l[C+1].Yb;if(BA(o,x[g+2])){var D=o,W=0;if(BA(D,(k=x)[(rA=g)+3]))if(BA(D,k[rA+6])){for(x=0,rA=2*(W=BA(D,k[rA+8]))+(k=BA(D,k[rA+9+W])),W=0,k=qg[rA];k[x];++x)W+=W+BA(D,k[x]);W+=3+(8<<rA)}else BA(D,k[rA+7])?(W=7+2*BA(D,165),W+=BA(D,145)):W=5+BA(D,159);else W=BA(D,k[rA+4])?3+BA(D,k[rA+5]):2;x=I[2]}else W=1,x=I[1];I=Q+Wg[C],0>(D=o).b&&oA(D);var rA,k=D.b,X=(rA=D.Ca>>1)-(D.I>>k)>>31;--D.b,D.Ca+=X,D.Ca|=1,D.I-=(rA+1&X)<<k,y[I]=((W^X)-X)*B[(0<C)+0]}return 16}function Qs(o){var l=o.rb[o.sb-1];l.la=0,l.Na=0,n(o.zc,0,0,o.zc.length),o.ja=0}function We(o,l,g,B,C){C=o[l+g+32*B]+(C>>3),o[l+g+32*B]=-256&C?0>C?0:255:C}function _i(o,l,g,B,C,y){We(o,l,0,g,B+C),We(o,l,1,g,B+y),We(o,l,2,g,B-y),We(o,l,3,g,B-C)}function An(o){return(20091*o>>16)+o}function Ce(o,l,g,B){var C,y=0,Q=i(16);for(C=0;4>C;++C){var x=o[l+0]+o[l+8],I=o[l+0]-o[l+8],D=(35468*o[l+4]>>16)-An(o[l+12]),W=An(o[l+4])+(35468*o[l+12]>>16);Q[y+0]=x+W,Q[y+1]=I+D,Q[y+2]=I-D,Q[y+3]=x-W,y+=4,l++}for(C=y=0;4>C;++C)x=(o=Q[y+0]+4)+Q[y+8],I=o-Q[y+8],D=(35468*Q[y+4]>>16)-An(Q[y+12]),We(g,B,0,0,x+(W=An(Q[y+4])+(35468*Q[y+12]>>16))),We(g,B,1,0,I+D),We(g,B,2,0,I-D),We(g,B,3,0,x-W),y++,B+=32}function Uo(o,l,g,B){var C=o[l+0]+4,y=35468*o[l+4]>>16,Q=An(o[l+4]),x=35468*o[l+1]>>16;_i(g,B,0,C+Q,o=An(o[l+1]),x),_i(g,B,1,C+y,o,x),_i(g,B,2,C-y,o,x),_i(g,B,3,C-Q,o,x)}function hc(o,l,g,B,C){Ce(o,l,g,B),C&&Ce(o,l+16,g,B+4)}function uc(o,l,g,B){on(o,l+0,g,B,1),on(o,l+32,g,B+128,1)}function fc(o,l,g,B){var C;for(o=o[l+0]+4,C=0;4>C;++C)for(l=0;4>l;++l)We(g,B,l,C,o)}function Tr(o,l,g,B){o[l+0]&&xe(o,l+0,g,B),o[l+16]&&xe(o,l+16,g,B+4),o[l+32]&&xe(o,l+32,g,B+128),o[l+48]&&xe(o,l+48,g,B+128+4)}function Eo(o,l,g,B){var C,y=i(16);for(C=0;4>C;++C){var Q=o[l+0+C]+o[l+12+C],x=o[l+4+C]+o[l+8+C],I=o[l+4+C]-o[l+8+C],D=o[l+0+C]-o[l+12+C];y[0+C]=Q+x,y[8+C]=Q-x,y[4+C]=D+I,y[12+C]=D-I}for(C=0;4>C;++C)Q=(o=y[0+4*C]+3)+y[3+4*C],x=y[1+4*C]+y[2+4*C],I=y[1+4*C]-y[2+4*C],D=o-y[3+4*C],g[B+0]=Q+x>>3,g[B+16]=D+I>>3,g[B+32]=Q-x>>3,g[B+48]=D-I>>3,B+=64}function Di(o,l,g){var B,C=l-32,y=Xe,Q=255-o[C-1];for(B=0;B<g;++B){var x,I=y,D=Q+o[l-1];for(x=0;x<g;++x)o[l+x]=I[D+o[C+x]];l+=32}}function ki(o,l){Di(o,l,4)}function vs(o,l){Di(o,l,8)}function dc(o,l){Di(o,l,16)}function gc(o,l){var g;for(g=0;16>g;++g)r(o,l+32*g,o,l-32,16)}function Bc(o,l){var g;for(g=16;0<g;--g)n(o,l,o[l-1],16),l+=32}function mn(o,l,g){var B;for(B=0;16>B;++B)n(l,g+32*B,o,16)}function Lo(o,l){var g,B=16;for(g=0;16>g;++g)B+=o[l-1+32*g]+o[l+g-32];mn(B>>5,o,l)}function Cn(o,l){var g,B=8;for(g=0;16>g;++g)B+=o[l-1+32*g];mn(B>>4,o,l)}function pc(o,l){var g,B=8;for(g=0;16>g;++g)B+=o[l+g-32];mn(B>>4,o,l)}function Wn(o,l){mn(128,o,l)}function JA(o,l,g){return o+2*l+g+2>>2}function wc(o,l){var g,B=l-32;for(B=new Uint8Array([JA(o[B-1],o[B+0],o[B+1]),JA(o[B+0],o[B+1],o[B+2]),JA(o[B+1],o[B+2],o[B+3]),JA(o[B+2],o[B+3],o[B+4])]),g=0;4>g;++g)r(o,l+32*g,B,0,B.length)}function mc(o,l){var g=o[l-1],B=o[l-1+32],C=o[l-1+64],y=o[l-1+96];yA(o,l+0,16843009*JA(o[l-1-32],g,B)),yA(o,l+32,16843009*JA(g,B,C)),yA(o,l+64,16843009*JA(B,C,y)),yA(o,l+96,16843009*JA(C,y,y))}function Cc(o,l){var g,B=4;for(g=0;4>g;++g)B+=o[l+g-32]+o[l-1+32*g];for(B>>=3,g=0;4>g;++g)n(o,l+32*g,B,4)}function bc(o,l){var g=o[l-1+0],B=o[l-1+32],C=o[l-1+64],y=o[l-1-32],Q=o[l+0-32],x=o[l+1-32],I=o[l+2-32],D=o[l+3-32];o[l+0+96]=JA(B,C,o[l-1+96]),o[l+1+96]=o[l+0+64]=JA(g,B,C),o[l+2+96]=o[l+1+64]=o[l+0+32]=JA(y,g,B),o[l+3+96]=o[l+2+64]=o[l+1+32]=o[l+0+0]=JA(Q,y,g),o[l+3+64]=o[l+2+32]=o[l+1+0]=JA(x,Q,y),o[l+3+32]=o[l+2+0]=JA(I,x,Q),o[l+3+0]=JA(D,I,x)}function yc(o,l){var g=o[l+1-32],B=o[l+2-32],C=o[l+3-32],y=o[l+4-32],Q=o[l+5-32],x=o[l+6-32],I=o[l+7-32];o[l+0+0]=JA(o[l+0-32],g,B),o[l+1+0]=o[l+0+32]=JA(g,B,C),o[l+2+0]=o[l+1+32]=o[l+0+64]=JA(B,C,y),o[l+3+0]=o[l+2+32]=o[l+1+64]=o[l+0+96]=JA(C,y,Q),o[l+3+32]=o[l+2+64]=o[l+1+96]=JA(y,Q,x),o[l+3+64]=o[l+2+96]=JA(Q,x,I),o[l+3+96]=JA(x,I,I)}function tn(o,l){var g=o[l-1+0],B=o[l-1+32],C=o[l-1+64],y=o[l-1-32],Q=o[l+0-32],x=o[l+1-32],I=o[l+2-32],D=o[l+3-32];o[l+0+0]=o[l+1+64]=y+Q+1>>1,o[l+1+0]=o[l+2+64]=Q+x+1>>1,o[l+2+0]=o[l+3+64]=x+I+1>>1,o[l+3+0]=I+D+1>>1,o[l+0+96]=JA(C,B,g),o[l+0+64]=JA(B,g,y),o[l+0+32]=o[l+1+96]=JA(g,y,Q),o[l+1+32]=o[l+2+96]=JA(y,Q,x),o[l+2+32]=o[l+3+96]=JA(Q,x,I),o[l+3+32]=JA(x,I,D)}function en(o,l){var g=o[l+0-32],B=o[l+1-32],C=o[l+2-32],y=o[l+3-32],Q=o[l+4-32],x=o[l+5-32],I=o[l+6-32],D=o[l+7-32];o[l+0+0]=g+B+1>>1,o[l+1+0]=o[l+0+64]=B+C+1>>1,o[l+2+0]=o[l+1+64]=C+y+1>>1,o[l+3+0]=o[l+2+64]=y+Q+1>>1,o[l+0+32]=JA(g,B,C),o[l+1+32]=o[l+0+96]=JA(B,C,y),o[l+2+32]=o[l+1+96]=JA(C,y,Q),o[l+3+32]=o[l+2+96]=JA(y,Q,x),o[l+3+64]=JA(Q,x,I),o[l+3+96]=JA(x,I,D)}function Fc(o,l){var g=o[l-1+0],B=o[l-1+32],C=o[l-1+64],y=o[l-1+96];o[l+0+0]=g+B+1>>1,o[l+2+0]=o[l+0+32]=B+C+1>>1,o[l+2+32]=o[l+0+64]=C+y+1>>1,o[l+1+0]=JA(g,B,C),o[l+3+0]=o[l+1+32]=JA(B,C,y),o[l+3+32]=o[l+1+64]=JA(C,y,y),o[l+3+64]=o[l+2+64]=o[l+0+96]=o[l+1+96]=o[l+2+96]=o[l+3+96]=y}function Qc(o,l){var g=o[l-1+0],B=o[l-1+32],C=o[l-1+64],y=o[l-1+96],Q=o[l-1-32],x=o[l+0-32],I=o[l+1-32],D=o[l+2-32];o[l+0+0]=o[l+2+32]=g+Q+1>>1,o[l+0+32]=o[l+2+64]=B+g+1>>1,o[l+0+64]=o[l+2+96]=C+B+1>>1,o[l+0+96]=y+C+1>>1,o[l+3+0]=JA(x,I,D),o[l+2+0]=JA(Q,x,I),o[l+1+0]=o[l+3+32]=JA(g,Q,x),o[l+1+32]=o[l+3+64]=JA(B,g,Q),o[l+1+64]=o[l+3+96]=JA(C,B,g),o[l+1+96]=JA(y,C,B)}function Mi(o,l){var g;for(g=0;8>g;++g)r(o,l+32*g,o,l-32,8)}function Us(o,l){var g;for(g=0;8>g;++g)n(o,l,o[l-1],8),l+=32}function Or(o,l,g){var B;for(B=0;8>B;++B)n(l,g+32*B,o,8)}function vc(o,l){var g,B=8;for(g=0;8>g;++g)B+=o[l+g-32]+o[l-1+32*g];Or(B>>4,o,l)}function Ti(o,l){var g,B=4;for(g=0;8>g;++g)B+=o[l+g-32];Or(B>>3,o,l)}function Uc(o,l){var g,B=4;for(g=0;8>g;++g)B+=o[l-1+32*g];Or(B>>3,o,l)}function Es(o,l){Or(128,o,l)}function bn(o,l,g){var B=o[l-g],C=o[l+0],y=3*(C-B)+Lc[1020+o[l-2*g]-o[l+g]],Q=Mo[112+(y+4>>3)];o[l-g]=Xe[255+B+Mo[112+(y+3>>3)]],o[l+0]=Xe[255+C-Q]}function Ls(o,l,g,B){var C=o[l+0],y=o[l+g];return ar[255+o[l-2*g]-o[l-g]]>B||ar[255+y-C]>B}function Xn(o,l,g,B){return 4*ar[255+o[l-g]-o[l+0]]+ar[255+o[l-2*g]-o[l+g]]<=B}function xs(o,l,g,B,C){var y=o[l-3*g],Q=o[l-2*g],x=o[l-g],I=o[l+0],D=o[l+g],W=o[l+2*g],rA=o[l+3*g];return 4*ar[255+x-I]+ar[255+Q-D]>B?0:ar[255+o[l-4*g]-y]<=C&&ar[255+y-Q]<=C&&ar[255+Q-x]<=C&&ar[255+rA-W]<=C&&ar[255+W-D]<=C&&ar[255+D-I]<=C}function Oi(o,l,g,B){var C=2*B+1;for(B=0;16>B;++B)Xn(o,l+B,g,C)&&bn(o,l+B,g)}function Is(o,l,g,B){var C=2*B+1;for(B=0;16>B;++B)Xn(o,l+B*g,1,C)&&bn(o,l+B*g,1)}function Pi(o,l,g,B){var C;for(C=3;0<C;--C)Oi(o,l+=4*g,g,B)}function xo(o,l,g,B){var C;for(C=3;0<C;--C)Is(o,l+=4,g,B)}function rn(o,l,g,B,C,y,Q,x){for(y=2*y+1;0<C--;){if(xs(o,l,g,y,Q))if(Ls(o,l,g,x))bn(o,l,g);else{var I=o,D=l,W=g,rA=I[D-2*W],k=I[D-W],X=I[D+0],$=I[D+W],hA=I[D+2*W],eA=27*(gA=Lc[1020+3*(X-k)+Lc[1020+rA-$]])+63>>7,fA=18*gA+63>>7,gA=9*gA+63>>7;I[D-3*W]=Xe[255+I[D-3*W]+gA],I[D-2*W]=Xe[255+rA+fA],I[D-W]=Xe[255+k+eA],I[D+0]=Xe[255+X-eA],I[D+W]=Xe[255+$-fA],I[D+2*W]=Xe[255+hA-gA]}l+=B}}function nn(o,l,g,B,C,y,Q,x){for(y=2*y+1;0<C--;){if(xs(o,l,g,y,Q))if(Ls(o,l,g,x))bn(o,l,g);else{var I=o,D=l,W=g,rA=I[D-W],k=I[D+0],X=I[D+W],$=Mo[112+(4+(hA=3*(k-rA))>>3)],hA=Mo[112+(hA+3>>3)],eA=$+1>>1;I[D-2*W]=Xe[255+I[D-2*W]+eA],I[D-W]=Xe[255+rA+hA],I[D+0]=Xe[255+k-$],I[D+W]=Xe[255+X-eA]}l+=B}}function Io(o,l,g,B,C,y){rn(o,l,g,1,16,B,C,y)}function So(o,l,g,B,C,y){rn(o,l,1,g,16,B,C,y)}function No(o,l,g,B,C,y){var Q;for(Q=3;0<Q;--Q)nn(o,l+=4*g,g,1,16,B,C,y)}function zn(o,l,g,B,C,y){var Q;for(Q=3;0<Q;--Q)nn(o,l+=4,1,g,16,B,C,y)}function Ho(o,l,g,B,C,y,Q,x){rn(o,l,C,1,8,y,Q,x),rn(g,B,C,1,8,y,Q,x)}function f(o,l,g,B,C,y,Q,x){rn(o,l,1,C,8,y,Q,x),rn(g,B,1,C,8,y,Q,x)}function m(o,l,g,B,C,y,Q,x){nn(o,l+4*C,C,1,8,y,Q,x),nn(g,B+4*C,C,1,8,y,Q,x)}function _(o,l,g,B,C,y,Q,x){nn(o,l+4,1,C,8,y,Q,x),nn(g,B+4,1,C,8,y,Q,x)}function V(){this.ba=new ht,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new yt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function J(){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 lA(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function pA(){this.ua=0,this.Wa=new at,this.vb=new at,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new iA,this.yc=new G}function HA(){this.xb=this.a=0,this.l=new Ni,this.ca=new ht,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new O,this.Pb=0,this.wd=new O,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new pA,this.ab=0,this.gc=s(4,lA),this.Oc=0}function NA(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ni,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ZA(o,l,g,B,C,y,Q){for(o=o==null?0:o[l+0],l=0;l<Q;++l)C[y+l]=o+g[B+l]&255,o=C[y+l]}function rt(o,l,g,B,C,y,Q){var x;if(o==null)ZA(null,null,g,B,C,y,Q);else for(x=0;x<Q;++x)C[y+x]=o[l+x]+g[B+x]&255}function pt(o,l,g,B,C,y,Q){if(o==null)ZA(null,null,g,B,C,y,Q);else{var x,I=o[l+0],D=I,W=I;for(x=0;x<Q;++x)D=W+(I=o[l+x])-D,W=g[B+x]+(-256&D?0>D?0:255:D)&255,D=I,C[y+x]=W}}function ae(o,l,g,B){var C=l.width,y=l.o;if(A(o!=null&&l!=null),0>g||0>=B||g+B>y)return null;if(!o.Cc){if(o.ga==null){var Q;if(o.ga=new NA,(Q=o.ga==null)||(Q=l.width*l.o,A(o.Gb.length==0),o.Gb=i(Q),o.Uc=0,o.Gb==null?Q=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,Q=1),Q=!Q),!Q){Q=o.ga;var x=o.Fa,I=o.P,D=o.qc,W=o.mb,rA=o.nb,k=I+1,X=D-1,$=Q.l;if(A(x!=null&&W!=null&&l!=null),Ln[0]=null,Ln[1]=ZA,Ln[2]=rt,Ln[3]=pt,Q.ca=W,Q.tb=rA,Q.c=l.width,Q.i=l.height,A(0<Q.c&&0<Q.i),1>=D)l=0;else if(Q.$a=3&x[I+0],Q.Z=x[I+0]>>2&3,Q.Lc=x[I+0]>>4&3,I=x[I+0]>>6&3,0>Q.$a||1<Q.$a||4<=Q.Z||1<Q.Lc||I)l=0;else if($.put=WA,$.ac=Hr,$.bc=Zr,$.ma=Q,$.width=l.width,$.height=l.height,$.Da=l.Da,$.v=l.v,$.va=l.va,$.j=l.j,$.o=l.o,Q.$a)A:{A(Q.$a==1),l=jn();t:for(;;){if(l==null){l=0;break A}if(A(Q!=null),Q.mc=l,l.c=Q.c,l.i=Q.i,l.l=Q.l,l.l.ma=Q,l.l.width=Q.c,l.l.height=Q.i,l.a=0,dA(l.m,x,k,X),!Dr(Q.c,Q.i,1,l,null)||(l.ab==1&&l.gc[0].hc==3&&pr(l.s)?(Q.ic=1,x=l.c*l.i,l.Ta=null,l.Ua=0,l.V=i(x),l.Ba=0,l.V==null?(l.a=1,l=0):l=1):(Q.ic=0,l=qn(l,Q.c)),!l))break t;l=1;break A}Q.mc=null,l=0}else l=X>=Q.c*Q.i;Q=!l}if(Q)return null;o.ga.Lc!=1?o.Ga=0:B=y-g}A(o.ga!=null),A(g+B<=y);A:{if(l=(x=o.ga).c,y=x.l.o,x.$a==0){if(k=o.rc,X=o.Vc,$=o.Fa,I=o.P+1+g*l,D=o.mb,W=o.nb+g*l,A(I<=o.P+o.qc),x.Z!=0)for(A(Ln[x.Z]!=null),Q=0;Q<B;++Q)Ln[x.Z](k,X,$,I,D,W,l),k=D,X=W,W+=l,I+=l;else for(Q=0;Q<B;++Q)r(D,W,$,I,l),k=D,X=W,W+=l,I+=l;o.rc=k,o.Vc=X}else{if(A(x.mc!=null),l=g+B,A((Q=x.mc)!=null),A(l<=Q.i),Q.C>=l)l=1;else if(x.ic||Gt(),x.ic){x=Q.V,k=Q.Ba,X=Q.c;var hA=Q.i,eA=($=1,I=Q.$/X,D=Q.$%X,W=Q.m,rA=Q.s,Q.$),fA=X*hA,gA=X*l,bA=rA.wc,wA=eA<gA?me(rA,D,I):null;A(eA<=fA),A(l<=hA),A(pr(rA));t:for(;;){for(;!W.h&&eA<gA;){if(D&bA||(wA=me(rA,D,I)),A(wA!=null),tA(W),256>(hA=qt(wA.G[0],wA.H[0],W)))x[k+eA]=hA,++eA,++D>=X&&(D=0,++I<=l&&!(I%16)&&wr(Q,I));else{if(!(280>hA)){$=0;break t}hA=rr(hA-256,W);var MA,xA=qt(wA.G[4],wA.H[4],W);if(tA(W),!(eA>=(xA=nr(X,xA=rr(xA,W)))&&fA-eA>=hA)){$=0;break t}for(MA=0;MA<hA;++MA)x[k+eA+MA]=x[k+eA+MA-xA];for(eA+=hA,D+=hA;D>=X;)D-=X,++I<=l&&!(I%16)&&wr(Q,I);eA<gA&&D&bA&&(wA=me(rA,D,I))}A(W.h==q(W))}wr(Q,I>l?l:I);break t}!$||W.h&&eA<fA?($=0,Q.a=W.h?5:3):Q.$=eA,l=$}else l=mr(Q,Q.V,Q.Ba,Q.c,Q.i,l,xi);if(!l){B=0;break A}}g+B>=y&&(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+g*C}function Lt(o,l,g,B,C,y){for(;0<C--;){var Q,x=o,I=l+(g?1:0),D=o,W=l+(g?0:3);for(Q=0;Q<B;++Q){var rA=D[W+4*Q];rA!=255&&(rA*=32897,x[I+4*Q+0]=x[I+4*Q+0]*rA>>23,x[I+4*Q+1]=x[I+4*Q+1]*rA>>23,x[I+4*Q+2]=x[I+4*Q+2]*rA>>23)}l+=y}}function Et(o,l,g,B,C){for(;0<B--;){var y;for(y=0;y<g;++y){var Q=o[l+2*y+0],x=15&(D=o[l+2*y+1]),I=4369*x,D=(240&D|D>>4)*I>>16;o[l+2*y+0]=(240&Q|Q>>4)*I>>16&240|(15&Q|Q<<4)*I>>16>>4&15,o[l+2*y+1]=240&D|x}l+=C}}function kt(o,l,g,B,C,y,Q,x){var I,D,W=255;for(D=0;D<C;++D){for(I=0;I<B;++I){var rA=o[l+I];y[Q+4*I]=rA,W&=rA}l+=g,Q+=x}return W!=255}function Vt(o,l,g,B,C){var y;for(y=0;y<C;++y)g[B+y]=o[l+y]>>8}function Gt(){Ts=Lt,Dh=Et,kh=kt,Mh=Vt}function Ee(o,l,g){P[o]=function(B,C,y,Q,x,I,D,W,rA,k,X,$,hA,eA,fA,gA,bA){var wA,MA=bA-1>>1,xA=x[I+0]|D[W+0]<<16,st=rA[k+0]|X[$+0]<<16;A(B!=null);var _A=3*xA+st+131074>>2;for(l(B[C+0],255&_A,_A>>16,hA,eA),y!=null&&(_A=3*st+xA+131074>>2,l(y[Q+0],255&_A,_A>>16,fA,gA)),wA=1;wA<=MA;++wA){var Bt=x[I+wA]|D[W+wA]<<16,he=rA[k+wA]|X[$+wA]<<16,ot=xA+Bt+st+he+524296,DA=ot+2*(Bt+st)>>3;_A=DA+xA>>1,xA=(ot=ot+2*(xA+he)>>3)+Bt>>1,l(B[C+2*wA-1],255&_A,_A>>16,hA,eA+(2*wA-1)*g),l(B[C+2*wA-0],255&xA,xA>>16,hA,eA+(2*wA-0)*g),y!=null&&(_A=ot+st>>1,xA=DA+he>>1,l(y[Q+2*wA-1],255&_A,_A>>16,fA,gA+(2*wA-1)*g),l(y[Q+2*wA+0],255&xA,xA>>16,fA,gA+(2*wA+0)*g)),xA=Bt,st=he}1&bA||(_A=3*xA+st+131074>>2,l(B[C+bA-1],255&_A,_A>>16,hA,eA+(bA-1)*g),y!=null&&(_A=3*st+xA+131074>>2,l(y[Q+bA-1],255&_A,_A>>16,fA,gA+(bA-1)*g)))}}function sn(){cr[To]=$g,cr[Oo]=Xh,cr[Vh]=A0,cr[Po]=zh,cr[Ro]=Jh,cr[xc]=Yh,cr[Gh]=t0,cr[Ic]=Xh,cr[Sc]=zh,cr[Ko]=Jh,cr[Nc]=Yh}function Ss(o){return o&-16384?0>o?0:255:o>>e0}function Jn(o,l){return Ss((19077*o>>8)+(26149*l>>8)-14234)}function Yn(o,l,g){return Ss((19077*o>>8)-(6419*l>>8)-(13320*g>>8)+8708)}function yn(o,l){return Ss((19077*o>>8)+(33050*l>>8)-17685)}function Zn(o,l,g,B,C){B[C+0]=Jn(o,g),B[C+1]=Yn(o,l,g),B[C+2]=yn(o,l)}function Ri(o,l,g,B,C){B[C+0]=yn(o,l),B[C+1]=Yn(o,l,g),B[C+2]=Jn(o,g)}function Ki(o,l,g,B,C){var y=Yn(o,l,g);l=y<<3&224|yn(o,l)>>3,B[C+0]=248&Jn(o,g)|y>>5,B[C+1]=l}function Le(o,l,g,B,C){var y=240&yn(o,l)|15;B[C+0]=240&Jn(o,g)|Yn(o,l,g)>>4,B[C+1]=y}function $n(o,l,g,B,C){B[C+0]=255,Zn(o,l,g,B,C+1)}function Ai(o,l,g,B,C){Ri(o,l,g,B,C),B[C+3]=255}function Ns(o,l,g,B,C){Zn(o,l,g,B,C),B[C+3]=255}function Pr(o,l,g){P[o]=function(B,C,y,Q,x,I,D,W,rA){for(var k=W+(-2&rA)*g;W!=k;)l(B[C+0],y[Q+0],x[I+0],D,W),l(B[C+1],y[Q+0],x[I+0],D,W+g),C+=2,++Q,++I,W+=2*g;1&rA&&l(B[C+0],y[Q+0],x[I+0],D,W)}}function ke(o,l,g){return g==0?o==0?l==0?6:5:l==0?4:0:g}function _o(o,l,g,B,C){switch(o>>>30){case 3:on(l,g,B,C,0);break;case 2:Un(l,g,B,C);break;case 1:xe(l,g,B,C)}}function Vi(o,l){var g,B,C=l.M,y=l.Nb,Q=o.oc,x=o.pc+40,I=o.oc,D=o.pc+584,W=o.oc,rA=o.pc+600;for(g=0;16>g;++g)Q[x+32*g-1]=129;for(g=0;8>g;++g)I[D+32*g-1]=129,W[rA+32*g-1]=129;for(0<C?Q[x-1-32]=I[D-1-32]=W[rA-1-32]=129:(n(Q,x-32-1,127,21),n(I,D-32-1,127,9),n(W,rA-32-1,127,9)),B=0;B<o.za;++B){var k=l.ya[l.aa+B];if(0<B){for(g=-1;16>g;++g)r(Q,x+32*g-4,Q,x+32*g+12,4);for(g=-1;8>g;++g)r(I,D+32*g-4,I,D+32*g+4,4),r(W,rA+32*g-4,W,rA+32*g+4,4)}var X=o.Gd,$=o.Hd+B,hA=k.ad,eA=k.Hc;if(0<C&&(r(Q,x-32,X[$].y,0,16),r(I,D-32,X[$].f,0,8),r(W,rA-32,X[$].ea,0,8)),k.Za){var fA=Q,gA=x-32+16;for(0<C&&(B>=o.za-1?n(fA,gA,X[$].y[15],4):r(fA,gA,X[$+1].y,0,4)),g=0;4>g;g++)fA[gA+128+g]=fA[gA+256+g]=fA[gA+384+g]=fA[gA+0+g];for(g=0;16>g;++g,eA<<=2)fA=Q,gA=x+$h[g],br[k.Ob[g]](fA,gA),_o(eA,hA,16*+g,fA,gA)}else if(fA=ke(B,C,k.Ob[0]),En[fA](Q,x),eA!=0)for(g=0;16>g;++g,eA<<=2)_o(eA,hA,16*+g,Q,x+$h[g]);for(g=k.Gc,fA=ke(B,C,k.Dd),cn[fA](I,D),cn[fA](W,rA),eA=hA,fA=I,gA=D,255&(k=0|g)&&(170&k?Xi(eA,256,fA,gA):Kr(eA,256,fA,gA)),k=W,eA=rA,255&(g>>=8)&&(170&g?Xi(hA,320,k,eA):Kr(hA,320,k,eA)),C<o.Ub-1&&(r(X[$].y,0,Q,x+480,16),r(X[$].f,0,I,D+224,8),r(X[$].ea,0,W,rA+224,8)),g=8*y*o.B,X=o.sa,$=o.ta+16*B+16*y*o.R,hA=o.qa,k=o.ra+8*B+g,eA=o.Ha,fA=o.Ia+8*B+g,g=0;16>g;++g)r(X,$+g*o.R,Q,x+32*g,16);for(g=0;8>g;++g)r(hA,k+g*o.B,I,D+32*g,8),r(eA,fA+g*o.B,W,rA+32*g,8)}}function Do(o,l,g,B,C,y,Q,x,I){var D=[0],W=[0],rA=0,k=I!=null?I.kd:0,X=I??new J;if(o==null||12>g)return 7;X.data=o,X.w=l,X.ha=g,l=[l],g=[g],X.gb=[X.gb];A:{var $=l,hA=g,eA=X.gb;if(A(o!=null),A(hA!=null),A(eA!=null),eA[0]=0,12<=hA[0]&&!e(o,$[0],"RIFF")){if(e(o,$[0]+8,"WEBP")){eA=3;break A}var fA=PA(o,$[0]+4);if(12>fA||4294967286<fA){eA=3;break A}if(k&&fA>hA[0]-8){eA=7;break A}eA[0]=fA,$[0]+=12,hA[0]-=12}eA=0}if(eA!=0)return eA;for(fA=0<X.gb[0],g=g[0];;){A:{var gA=o;hA=l,eA=g;var bA=D,wA=W,MA=$=[0];if((_A=rA=[rA])[0]=0,8>eA[0])eA=7;else{if(!e(gA,hA[0],"VP8X")){if(PA(gA,hA[0]+4)!=10){eA=3;break A}if(18>eA[0]){eA=7;break A}var xA=PA(gA,hA[0]+8),st=1+UA(gA,hA[0]+12);if(2147483648<=st*(gA=1+UA(gA,hA[0]+15))){eA=3;break A}MA!=null&&(MA[0]=xA),bA!=null&&(bA[0]=st),wA!=null&&(wA[0]=gA),hA[0]+=18,eA[0]-=18,_A[0]=1}eA=0}}if(rA=rA[0],$=$[0],eA!=0)return eA;if(hA=!!(2&$),!fA&&rA)return 3;if(y!=null&&(y[0]=!!(16&$)),Q!=null&&(Q[0]=hA),x!=null&&(x[0]=0),Q=D[0],$=W[0],rA&&hA&&I==null){eA=0;break}if(4>g){eA=7;break}if(fA&&rA||!fA&&!rA&&!e(o,l[0],"ALPH")){g=[g],X.na=[X.na],X.P=[X.P],X.Sa=[X.Sa];A:{xA=o,eA=l,fA=g;var _A=X.gb;bA=X.na,wA=X.P,MA=X.Sa,st=22,A(xA!=null),A(fA!=null),gA=eA[0];var Bt=fA[0];for(A(bA!=null),A(MA!=null),bA[0]=null,wA[0]=null,MA[0]=0;;){if(eA[0]=gA,fA[0]=Bt,8>Bt){eA=7;break A}var he=PA(xA,gA+4);if(4294967286<he){eA=3;break A}var ot=8+he+1&-2;if(st+=ot,0<_A&&st>_A){eA=3;break A}if(!e(xA,gA,"VP8 ")||!e(xA,gA,"VP8L")){eA=0;break A}if(Bt[0]<ot){eA=7;break A}e(xA,gA,"ALPH")||(bA[0]=xA,wA[0]=gA+8,MA[0]=he),gA+=ot,Bt-=ot}}if(g=g[0],X.na=X.na[0],X.P=X.P[0],X.Sa=X.Sa[0],eA!=0)break}g=[g],X.Ja=[X.Ja],X.xa=[X.xa];A:if(_A=o,eA=l,fA=g,bA=X.gb[0],wA=X.Ja,MA=X.xa,xA=eA[0],gA=!e(_A,xA,"VP8 "),st=!e(_A,xA,"VP8L"),A(_A!=null),A(fA!=null),A(wA!=null),A(MA!=null),8>fA[0])eA=7;else{if(gA||st){if(_A=PA(_A,xA+4),12<=bA&&_A>bA-12){eA=3;break A}if(k&&_A>fA[0]-8){eA=7;break A}wA[0]=_A,eA[0]+=8,fA[0]-=8,MA[0]=st}else MA[0]=5<=fA[0]&&_A[xA+0]==47&&!(_A[xA+4]>>5),wA[0]=fA[0];eA=0}if(g=g[0],X.Ja=X.Ja[0],X.xa=X.xa[0],l=l[0],eA!=0)break;if(4294967286<X.Ja)return 3;if(x==null||hA||(x[0]=X.xa?2:1),Q=[Q],$=[$],X.xa){if(5>g){eA=7;break}x=Q,k=$,hA=y,o==null||5>g?o=0:5<=g&&o[l+0]==47&&!(o[l+4]>>5)?(fA=[0],_A=[0],bA=[0],dA(wA=new O,o,l,g),$r(wA,fA,_A,bA)?(x!=null&&(x[0]=fA[0]),k!=null&&(k[0]=_A[0]),hA!=null&&(hA[0]=bA[0]),o=1):o=0):o=0}else{if(10>g){eA=7;break}x=$,o==null||10>g||!vo(o,l+3,g-3)?o=0:(k=o[l+0]|o[l+1]<<8|o[l+2]<<16,hA=16383&(o[l+7]<<8|o[l+6]),o=16383&(o[l+9]<<8|o[l+8]),1&k||3<(k>>1&7)||!(k>>4&1)||k>>5>=X.Ja||!hA||!o?o=0:(Q&&(Q[0]=hA),x&&(x[0]=o),o=1))}if(!o||(Q=Q[0],$=$[0],rA&&(D[0]!=Q||W[0]!=$)))return 3;I!=null&&(I[0]=X,I.offset=l-I.w,A(4294967286>l-I.w),A(I.offset==I.ha-g));break}return eA==0||eA==7&&rA&&I==null?(y!=null&&(y[0]|=X.na!=null&&0<X.na.length),B!=null&&(B[0]=Q),C!=null&&(C[0]=$),0):eA}function or(o,l,g){var B=l.width,C=l.height,y=0,Q=0,x=B,I=C;if(l.Da=o!=null&&0<o.Da,l.Da&&(x=o.cd,I=o.bd,y=o.v,Q=o.j,11>g||(y&=-2,Q&=-2),0>y||0>Q||0>=x||0>=I||y+x>B||Q+I>C))return 0;if(l.v=y,l.j=Q,l.va=y+x,l.o=Q+I,l.U=x,l.T=I,l.da=o!=null&&0<o.da,l.da){if(!GA(x,I,g=[o.ib],y=[o.hb]))return 0;l.ib=g[0],l.hb=y[0]}return l.ob=o!=null&&o.ob,l.Kb=o==null||!o.Sd,l.da&&(l.ob=l.ib<3*B/4&&l.hb<3*C/4,l.Kb=0),1}function ti(o){if(o==null)return 2;if(11>o.S){var l=o.f.RGBA;l.fb+=(o.height-1)*l.A,l.A=-l.A}else l=o.f.kb,o=o.height,l.O+=(o-1)*l.fa,l.fa=-l.fa,l.N+=(o-1>>1)*l.Ab,l.Ab=-l.Ab,l.W+=(o-1>>1)*l.Db,l.Db=-l.Db,l.F!=null&&(l.J+=(o-1)*l.lb,l.lb=-l.lb);return 0}function Hs(o,l,g,B){if(B==null||0>=o||0>=l)return 2;if(g!=null){if(g.Da){var C=g.cd,y=g.bd,Q=-2&g.v,x=-2&g.j;if(0>Q||0>x||0>=C||0>=y||Q+C>o||x+y>l)return 2;o=C,l=y}if(g.da){if(!GA(o,l,C=[g.ib],y=[g.hb]))return 2;o=C[0],l=y[0]}}B.width=o,B.height=l;A:{var I=B.width,D=B.height;if(o=B.S,0>=I||0>=D||!(o>=To&&13>o))o=2;else{if(0>=B.Rd&&B.sd==null){Q=y=C=l=0;var W=(x=I*Au[o])*D;if(11>o||(y=(D+1)/2*(l=(I+1)/2),o==12&&(Q=(C=I)*D)),(D=i(W+2*y+Q))==null){o=1;break A}B.sd=D,11>o?((I=B.f.RGBA).eb=D,I.fb=0,I.A=x,I.size=W):((I=B.f.kb).y=D,I.O=0,I.fa=x,I.Fd=W,I.f=D,I.N=0+W,I.Ab=l,I.Cd=y,I.ea=D,I.W=0+W+y,I.Db=l,I.Ed=y,o==12&&(I.F=D,I.J=0+W+2*y),I.Tc=Q,I.lb=C)}if(l=1,C=B.S,y=B.width,Q=B.height,C>=To&&13>C)if(11>C)o=B.f.RGBA,l&=(x=Math.abs(o.A))*(Q-1)+y<=o.size,l&=x>=y*Au[C],l&=o.eb!=null;else{o=B.f.kb,x=(y+1)/2,W=(Q+1)/2,I=Math.abs(o.fa),D=Math.abs(o.Ab);var rA=Math.abs(o.Db),k=Math.abs(o.lb),X=k*(Q-1)+y;l&=I*(Q-1)+y<=o.Fd,l&=D*(W-1)+x<=o.Cd,l=(l&=rA*(W-1)+x<=o.Ed)&I>=y&D>=x&rA>=x,l&=o.y!=null,l&=o.f!=null,l&=o.ea!=null,C==12&&(l&=k>=y,l&=X<=o.Tc,l&=o.F!=null)}else l=0;o=l?0:2}}return o!=0||g!=null&&g.fd&&(o=ti(B)),o}var Gi=64,ei=[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],_s=24,Me=32,Re=8,ji=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];IA("Predictor0","PredictorAdd0"),P.Predictor0=function(){return 4278190080},P.Predictor1=function(o){return o},P.Predictor2=function(o,l,g){return l[g+0]},P.Predictor3=function(o,l,g){return l[g+1]},P.Predictor4=function(o,l,g){return l[g-1]},P.Predictor5=function(o,l,g){return RA(RA(o,l[g+1]),l[g+0])},P.Predictor6=function(o,l,g){return RA(o,l[g-1])},P.Predictor7=function(o,l,g){return RA(o,l[g+0])},P.Predictor8=function(o,l,g){return RA(l[g-1],l[g+0])},P.Predictor9=function(o,l,g){return RA(l[g+0],l[g+1])},P.Predictor10=function(o,l,g){return RA(RA(o,l[g-1]),RA(l[g+0],l[g+1]))},P.Predictor11=function(o,l,g){var B=l[g+0];return 0>=tt(B>>24&255,o>>24&255,(l=l[g-1])>>24&255)+tt(B>>16&255,o>>16&255,l>>16&255)+tt(B>>8&255,o>>8&255,l>>8&255)+tt(255&B,255&o,255&l)?B:o},P.Predictor12=function(o,l,g){var B=l[g+0];return(bt((o>>24&255)+(B>>24&255)-((l=l[g-1])>>24&255))<<24|bt((o>>16&255)+(B>>16&255)-(l>>16&255))<<16|bt((o>>8&255)+(B>>8&255)-(l>>8&255))<<8|bt((255&o)+(255&B)-(255&l)))>>>0},P.Predictor13=function(o,l,g){var B=l[g-1];return(ut((o=RA(o,l[g+0]))>>24&255,B>>24&255)<<24|ut(o>>16&255,B>>16&255)<<16|ut(o>>8&255,B>>8&255)<<8|ut(255&o,255&B))>>>0};var Fn=P.PredictorAdd0;P.PredictorAdd1=gt,IA("Predictor2","PredictorAdd2"),IA("Predictor3","PredictorAdd3"),IA("Predictor4","PredictorAdd4"),IA("Predictor5","PredictorAdd5"),IA("Predictor6","PredictorAdd6"),IA("Predictor7","PredictorAdd7"),IA("Predictor8","PredictorAdd8"),IA("Predictor9","PredictorAdd9"),IA("Predictor10","PredictorAdd10"),IA("Predictor11","PredictorAdd11"),IA("Predictor12","PredictorAdd12"),IA("Predictor13","PredictorAdd13");var Qn=P.PredictorAdd2;OA("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}
vendor: 5,171 bytes, line 118
118),OA("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var qi,ri=P.ColorIndexInverseTransform,ce=P.MapARGB,Ec=P.VP8LColorIndexInverseTransformAlpha,Rr=P.MapAlpha,Cr=P.VP8LPredictorsAdd=[];Cr.length=16,(P.VP8LPredictors=[]).length=16,(P.VP8LPredictorsAdd_C=[]).length=16,(P.VP8LPredictors_C=[]).length=16;var ni,Ds,ks,Wi,ii,si,vn,on,Un,Xi,xe,Kr,Ht,_t,Zt,le,an,Ms,zi,ko,Sh,Nh,Hh,_h,Ts,Dh,kh,Mh,Th=i(511),Oh=i(2041),Ph=i(225),Rh=i(767),Kh=0,Lc=Oh,Mo=Ph,Xe=Rh,ar=Th,To=0,Oo=1,Vh=2,Po=3,Ro=4,xc=5,Gh=6,Ic=7,Sc=8,Ko=9,Nc=10,Og=[2,3,7],Pg=[3,3,11],jh=[280,256,256,256,40],Rg=[0,1,1,1,0],Kg=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Vg=[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],Gg=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],jg=8,Hc=[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],_c=[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],Os=null,qg=[[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]],Wg=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],qh=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Xg=[[[[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,25
1185,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]]]],zg=[[[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,
1181,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]]],Jg=[[[[255,255,255,255,255,255,255,255,255,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,25
vendor: 26,680 bytes, lines 118-142
1185,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]]]],Yg=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],En=[],br=[],cn=[],Zg=1,Wh=2,Ln=[],cr=[];Ee("UpsampleRgbLinePair",Zn,3),Ee("UpsampleBgrLinePair",Ri,3),Ee("UpsampleRgbaLinePair",Ns,4),Ee("UpsampleBgraLinePair",Ai,4),Ee("UpsampleArgbLinePair",$n,4),Ee("UpsampleRgba4444LinePair",Le,2),Ee("UpsampleRgb565LinePair",Ki,2);var $g=P.UpsampleRgbLinePair,A0=P.UpsampleBgrLinePair,Xh=P.UpsampleRgbaLinePair,zh=P.UpsampleBgraLinePair,Jh=P.UpsampleArgbLinePair,Yh=P.UpsampleRgba4444LinePair,t0=P.UpsampleRgb565LinePair,Vo=16,Go=1<<Vo-1,Ps=-227,Dc=482,e0=6,Zh=0,r0=i(256),n0=i(256),i0=i(256),s0=i(256),o0=i(Dc-Ps),a0=i(Dc-Ps);Pr("YuvToRgbRow",Zn,3),Pr("YuvToBgrRow",Ri,3),Pr("YuvToRgbaRow",Ns,4),Pr("YuvToBgraRow",Ai,4),Pr("YuvToArgbRow",$n,4),Pr("YuvToRgba4444Row",Le,2),Pr("YuvToRgb565Row",Ki,2);var $h=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],jo=[0,2,8],c0=[8,7,6,4,4,2,2,2,1,1,1,1],l0=1;this.WebPDecodeRGBA=function(o,l,g,B,C){var y=Oo,Q=new V,x=new ht;Q.ba=x,x.S=y,x.width=[x.width],x.height=[x.height];var I=x.width,D=x.height,W=new qA;if(W==null||o==null)var rA=2;else A(W!=null),rA=Do(o,l,g,W.width,W.height,W.Pd,W.Qd,W.format,null);if(rA!=0?I=0:(I!=null&&(I[0]=W.width[0]),D!=null&&(D[0]=W.height[0]),I=1),I){x.width=x.width[0],x.height=x.height[0],B!=null&&(B[0]=x.width),C!=null&&(C[0]=x.height);A:{if(B=new Ni,(C=new J).data=o,C.w=l,C.ha=g,C.kd=1,l=[0],A(C!=null),((o=Do(C.data,C.w,C.ha,null,null,null,l,null,C))==0||o==7)&&l[0]&&(o=4),(l=o)==0){if(A(Q!=null),B.data=C.data,B.w=C.w+C.offset,B.ha=C.ha-C.offset,B.put=WA,B.ac=Hr,B.bc=Zr,B.ma=Q,C.xa){if((o=jn())==null){Q=1;break A}if(function(k,X){var $=[0],hA=[0],eA=[0];t:for(;;){if(k==null)return 0;if(X==null)return k.a=2,0;if(k.l=X,k.a=0,dA(k.m,X.data,X.w,X.ha),!$r(k.m,$,hA,eA)){k.a=3;break t}if(k.xb=Wh,X.width=$[0],X.height=hA[0],!Dr($[0],hA[0],1,k,null))break t;return 1}return A(k.a!=0),0}(o,B)){if(B=(l=Hs(B.width,B.height,Q.Oa,Q.ba))==0){t:{B=o;e:for(;;){if(B==null){B=0;break t}if(A(B.s.yc!=null),A(B.s.Ya!=null),A(0<B.s.Wb),A((g=B.l)!=null),A((C=g.ma)!=null),B.xb!=0){if(B.ca=C.ba,B.tb=C.tb,A(B.ca!=null),!or(C.Oa,g,Po)){B.a=2;break e}if(!qn(B,g.width)||g.da)break e;if((g.da||zA(B.ca.S))&&Gt(),11>B.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),B.ca.f.kb.F!=null&&Gt()),B.Pb&&0<B.s.ua&&B.s.vb.X==null&&!H(B.s.vb,B.s.Wa.Xa)){B.a=1;break e}B.xb=0}if(!mr(B,B.V,B.Ba,B.c,B.i,g.o,wn))break e;C.Dc=B.Ma,B=1;break t}A(B.a!=0),B=0}B=!B}B&&(l=o.a)}else l=o.a}else{if((o=new lc)==null){Q=1;break A}if(o.Fa=C.na,o.P=C.P,o.qc=C.Sa,Mr(o,B)){if((l=Hs(B.width,B.height,Q.Oa,Q.ba))==0){if(o.Aa=0,g=Q.Oa,A((C=o)!=null),g!=null){if(0<(I=0>(I=g.Md)?0:100<I?255:255*I/100)){for(D=W=0;4>D;++D)12>(rA=C.pb[D]).lc&&(rA.ia=I*c0[0>rA.lc?0:rA.lc]>>3),W|=rA.ia;W&&(alert("todo:VP8InitRandom"),C.ia=1)}C.Ga=g.Id,100<C.Ga?C.Ga=100:0>C.Ga&&(C.Ga=0)}(function(k,X){if(k==null)return 0;if(X==null)return oe(k,2,"NULL VP8Io parameter in VP8Decode().");if(!k.cb&&!Mr(k,X))return 0;if(A(k.cb),X.ac==null||X.ac(X)){X.ob&&(k.L=0);var $=jo[k.L];if(k.L==2?(k.yb=0,k.zb=0):(k.yb=X.v-$>>4,k.zb=X.j-$>>4,0>k.yb&&(k.yb=0),0>k.zb&&(k.zb=0)),k.Va=X.o+15+$>>4,k.Hb=X.va+15+$>>4,k.Hb>k.za&&(k.Hb=k.za),k.Va>k.Ub&&(k.Va=k.Ub),0<k.L){var hA=k.ed;for($=0;4>$;++$){var eA;if(k.Qa.Cb){var fA=k.Qa.Lb[$];k.Qa.Fb||(fA+=hA.Tb)}else fA=hA.Tb;for(eA=0;1>=eA;++eA){var gA=k.gd[$][eA],bA=fA;if(hA.Pc&&(bA+=hA.vd[0],eA&&(bA+=hA.od[0])),0<(bA=0>bA?0:63<bA?63:bA)){var wA=bA;0<hA.wb&&(wA=4<hA.wb?wA>>2:wA>>1)>9-hA.wb&&(wA=9-hA.wb),1>wA&&(wA=1),gA.dd=wA,gA.tc=2*bA+wA,gA.ld=40<=bA?2:15<=bA?1:0}else gA.tc=0;gA.La=eA}}}$=0}else oe(k,6,"Frame setup failed"),$=k.a;if($=$==0){if($){k.$c=0,0<k.Aa||(k.Ic=l0);t:{$=k.Ic,hA=4*(wA=k.za);var MA=32*wA,xA=wA+1,st=0<k.L?wA*(0<k.Aa?2:1):0,_A=(k.Aa==2?2:1)*wA;if((gA=hA+832+(eA=3*(16*$+jo[k.L])/2*MA)+(fA=k.Fa!=null&&0<k.Fa.length?k.Kc.c*k.Kc.i:0))!=gA)$=0;else{if(gA>k.Vb){if(k.Vb=0,k.Ec=i(gA),k.Fc=0,k.Ec==null){$=oe(k,1,"no memory during frame initialization.");break t}k.Vb=gA}gA=k.Ec,bA=k.Fc,k.Ac=gA,k.Bc=bA,bA+=hA,k.Gd=s(MA,Fo),k.Hd=0,k.rb=s(xA+1,ys),k.sb=1,k.wa=st?s(st,sr):null,k.Y=0,k.D.Nb=0,k.D.wa=k.wa,k.D.Y=k.Y,0<k.Aa&&(k.D.Y+=wA),A(!0),k.oc=gA,k.pc=bA,bA+=832,k.ya=s(_A,Fs),k.aa=0,k.D.ya=k.ya,k.D.aa=k.aa,k.Aa==2&&(k.D.aa+=wA),k.R=16*wA,k.B=8*wA,wA=(MA=jo[k.L])*k.R,MA=MA/2*k.B,k.sa=gA,k.ta=bA+wA,k.qa=k.sa,k.ra=k.ta+16*$*k.R+MA,k.Ha=k.qa,k.Ia=k.ra+8*$*k.B+MA,k.$c=0,bA+=eA,k.mb=fA?gA:null,k.nb=fA?bA:null,A(bA+fA<=k.Fc+k.Vb),Qs(k),n(k.Ac,k.Bc,0,hA),$=1}}if($){if(X.ka=0,X.y=k.sa,X.O=k.ta,X.f=k.qa,X.N=k.ra,X.ea=k.Ha,X.Vd=k.Ia,X.fa=k.R,X.Rc=k.B,X.F=null,X.J=0,!Kh){for($=-255;255>=$;++$)Th[255+$]=0>$?-$:$;for($=-1020;1020>=$;++$)Oh[1020+$]=-128>$?-128:127<$?127:$;for($=-112;112>=$;++$)Ph[112+$]=-16>$?-16:15<$?15:$;for($=-255;510>=$;++$)Rh[255+$]=0>$?0:255<$?255:$;Kh=1}vn=Eo,on=hc,Xi=uc,xe=fc,Kr=Tr,Un=Uo,Ht=Io,_t=So,Zt=Ho,le=f,an=No,Ms=zn,zi=m,ko=_,Sh=Oi,Nh=Is,Hh=Pi,_h=xo,br[0]=Cc,br[1]=ki,br[2]=wc,br[3]=mc,br[4]=bc,br[5]=tn,br[6]=yc,br[7]=en,br[8]=Qc,br[9]=Fc,En[0]=Lo,En[1]=dc,En[2]=gc,En[3]=Bc,En[4]=Cn,En[5]=pc,En[6]=Wn,cn[0]=vc,cn[1]=vs,cn[2]=Mi,cn[3]=Us,cn[4]=Uc,cn[5]=Ti,cn[6]=Es,$=1}else $=0}$&&($=function(Bt,he){for(Bt.M=0;Bt.M<Bt.Va;++Bt.M){var ot,DA=Bt.Jc[Bt.M&Bt.Xb],QA=Bt.m,$t=Bt;for(ot=0;ot<$t.za;++ot){var nt=QA,wt=$t,Mt=wt.Ac,be=wt.Bc+4*ot,Te=wt.zc,Wt=wt.ya[wt.aa+ot];if(wt.Qa.Bb?Wt.$b=BA(nt,wt.Pa.jb[0])?2+BA(nt,wt.Pa.jb[2]):BA(nt,wt.Pa.jb[1]):Wt.$b=0,wt.kc&&(Wt.Ad=BA(nt,wt.Bd)),Wt.Za=!BA(nt,145)+0,Wt.Za){var Ie=Wt.Ob,Oe=0;for(wt=0;4>wt;++wt){var ue,Ct=Te[0+wt];for(ue=0;4>ue;++ue){Ct=zg[Mt[be+ue]][Ct];for(var Qt=qh[BA(nt,Ct[0])];0<Qt;)Qt=qh[2*Qt+BA(nt,Ct[Qt])];Ct=-Qt,Mt[be+ue]=Ct}r(Ie,Oe,Mt,be,4),Oe+=4,Te[0+wt]=Ct}}else Ct=BA(nt,156)?BA(nt,128)?1:3:BA(nt,163)?2:0,Wt.Ob[0]=Ct,n(Mt,be,Ct,4),n(Te,0,Ct,4);Wt.Dd=BA(nt,142)?BA(nt,114)?BA(nt,183)?1:3:2:0}if($t.m.Ka)return oe(Bt,7,"Premature end-of-partition0 encountered.");for(;Bt.ja<Bt.za;++Bt.ja){if($t=DA,nt=(QA=Bt).rb[QA.sb-1],Mt=QA.rb[QA.sb+QA.ja],ot=QA.ya[QA.aa+QA.ja],be=QA.kc?ot.Ad:0)nt.la=Mt.la=0,ot.Za||(nt.Na=Mt.Na=0),ot.Hc=0,ot.Gc=0,ot.ia=0;else{var Xt,vt;if(nt=Mt,Mt=$t,be=QA.Pa.Xc,Te=QA.ya[QA.aa+QA.ja],Wt=QA.pb[Te.$b],wt=Te.ad,Ie=0,Oe=QA.rb[QA.sb-1],Ct=ue=0,n(wt,Ie,0,384),Te.Za)var ye=0,yr=be[3];else{Qt=i(16);var Ae=nt.Na+Oe.Na;if(Ae=Os(Mt,be[1],Ae,Wt.Eb,0,Qt,0),nt.Na=Oe.Na=(0<Ae)+0,1<Ae)vn(Qt,0,wt,Ie);else{var Ke=Qt[0]+3>>3;for(Qt=0;256>Qt;Qt+=16)wt[Ie+Qt]=Ke}ye=1,yr=be[0]}var xt=15&nt.la,fe=15&Oe.la;for(Qt=0;4>Qt;++Qt){var ze=1&fe;for(Ke=vt=0;4>Ke;++Ke)xt=xt>>1|(ze=(Ae=Os(Mt,yr,Ae=ze+(1&xt),Wt.Sc,ye,wt,Ie))>ye)<<7,vt=vt<<2|(3<Ae?3:1<Ae?2:wt[Ie+0]!=0),Ie+=16;xt>>=4,fe=fe>>1|ze<<7,ue=(ue<<8|vt)>>>0}for(yr=xt,ye=fe>>4,Xt=0;4>Xt;Xt+=2){for(vt=0,xt=nt.la>>4+Xt,fe=Oe.la>>4+Xt,Qt=0;2>Qt;++Qt){for(ze=1&fe,Ke=0;2>Ke;++Ke)Ae=ze+(1&xt),xt=xt>>1|(ze=0<(Ae=Os(Mt,be[2],Ae,Wt.Qc,0,wt,Ie)))<<3,vt=vt<<2|(3<Ae?3:1<Ae?2:wt[Ie+0]!=0),Ie+=16;xt>>=2,fe=fe>>1|ze<<5}Ct|=vt<<4*Xt,yr|=xt<<4<<Xt,ye|=(240&fe)<<Xt}nt.la=yr,Oe.la=ye,Te.Hc=ue,Te.Gc=Ct,Te.ia=43690&Ct?0:Wt.ia,be=!(ue|Ct)}if(0<QA.L&&(QA.wa[QA.Y+QA.ja]=QA.gd[ot.$b][ot.Za],QA.wa[QA.Y+QA.ja].La|=!be),$t.Ka)return oe(Bt,7,"Premature end-of-file encountered.")}if(Qs(Bt),QA=he,$t=1,ot=(DA=Bt).D,nt=0<DA.L&&DA.M>=DA.zb&&DA.M<=DA.Va,DA.Aa==0)t:{if(ot.M=DA.M,ot.uc=nt,Vi(DA,ot),$t=1,ot=(vt=DA.D).Nb,nt=(Ct=jo[DA.L])*DA.R,Mt=Ct/2*DA.B,Qt=16*ot*DA.R,Ke=8*ot*DA.B,be=DA.sa,Te=DA.ta-nt+Qt,Wt=DA.qa,wt=DA.ra-Mt+Ke,Ie=DA.Ha,Oe=DA.Ia-Mt+Ke,fe=(xt=vt.M)==0,ue=xt>=DA.Va-1,DA.Aa==2&&Vi(DA,vt),vt.uc)for(ze=(Ae=DA).D.M,A(Ae.D.uc),vt=Ae.yb;vt<Ae.Hb;++vt){ye=vt,yr=ze;var Pe=(Je=(Fe=Ae).D).Nb;Xt=Fe.R;var Je=Je.wa[Je.Y+ye],Ye=Fe.sa,Ve=Fe.ta+16*Pe*Xt+16*ye,Ze=Je.dd,Dt=Je.tc;if(Dt!=0)if(A(3<=Dt),Fe.L==1)0<ye&&Nh(Ye,Ve,Xt,Dt+4),Je.La&&_h(Ye,Ve,Xt,Dt),0<yr&&Sh(Ye,Ve,Xt,Dt+4),Je.La&&Hh(Ye,Ve,Xt,Dt);else{var $e=Fe.B,Fr=Fe.qa,oi=Fe.ra+8*Pe*$e+8*ye,ln=Fe.Ha,Fe=Fe.Ia+8*Pe*$e+8*ye;Pe=Je.ld,0<ye&&(_t(Ye,Ve,Xt,Dt+4,Ze,Pe),le(Fr,oi,ln,Fe,$e,Dt+4,Ze,Pe)),Je.La&&(Ms(Ye,Ve,Xt,Dt,Ze,Pe),ko(Fr,oi,ln,Fe,$e,Dt,Ze,Pe)),0<yr&&(Ht(Ye,Ve,Xt,Dt+4,Ze,Pe),Zt(Fr,oi,ln,Fe,$e,Dt+4,Ze,Pe)),Je.La&&(an(Ye,Ve,Xt,Dt,Ze,Pe),zi(Fr,oi,ln,Fe,$e,Dt,Ze,Pe))}}if(DA.ia&&alert("todo:DitherRow"),QA.put!=null){if(vt=16*xt,xt=16*(xt+1),fe?(QA.y=DA.sa,QA.O=DA.ta+Qt,QA.f=DA.qa,QA.N=DA.ra+Ke,QA.ea=DA.Ha,QA.W=DA.Ia+Ke):(vt-=Ct,QA.y=be,QA.O=Te,QA.f=Wt,QA.N=wt,QA.ea=Ie,QA.W=Oe),ue||(xt-=Ct),xt>QA.o&&(xt=QA.o),QA.F=null,QA.J=null,DA.Fa!=null&&0<DA.Fa.length&&vt<xt&&(QA.J=ae(DA,QA,vt,xt-vt),QA.F=DA.mb,QA.F==null&&QA.F.length==0)){$t=oe(DA,3,"Could not decode alpha data.");break t}vt<QA.j&&(Ct=QA.j-vt,vt=QA.j,A(!(1&Ct)),QA.O+=DA.R*Ct,QA.N+=DA.B*(Ct>>1),QA.W+=DA.B*(Ct>>1),QA.F!=null&&(QA.J+=QA.width*Ct)),vt<xt&&(QA.O+=QA.v,QA.N+=QA.v>>1,QA.W+=QA.v>>1,QA.F!=null&&(QA.J+=QA.v),QA.ka=vt-QA.j,QA.U=QA.va-QA.v,QA.T=xt-vt,$t=QA.put(QA))}ot+1!=DA.Ic||ue||(r(DA.sa,DA.ta-nt,be,Te+16*DA.R,nt),r(DA.qa,DA.ra-Mt,Wt,wt+8*DA.B,Mt),r(DA.Ha,DA.Ia-Mt,Ie,Oe+8*DA.B,Mt))}if(!$t)return oe(Bt,6,"Output aborted.")}return 1}(k,X)),X.bc!=null&&X.bc(X),$&=1}return $?(k.cb=0,$):0})(o,B)||(l=o.a)}}else l=o.a}l==0&&Q.Oa!=null&&Q.Oa.fd&&(l=ti(Q.ba))}Q=l}y=Q!=0?null:11>y?x.f.RGBA.eb:x.f.kb.y}else y=null;return y};var Au=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function h(P,Y){for(var E="",N=0;N<4;N++)E+=String.fromCharCode(P[Y++]);return E}function u(P,Y){return P[Y+0]|P[Y+1]<<8}function p(P,Y){return(P[Y+0]|P[Y+1]<<8|P[Y+2]<<16)>>>0}function w(P,Y){return(P[Y+0]|P[Y+1]<<8|P[Y+2]<<16|P[Y+3]<<24)>>>0}new c;var d=[0],v=[0],F=[],L=new c,b=t,M=function(P,Y){var E={},N=0,G=!1,K=0,iA=0;if(E.frames=[],!function(U,O){for(var R=0;R<4;R++)if(U[O+R]!="RIFF".charCodeAt(R))return!0;return!1}(P,Y)){for(w(P,Y+=4),Y+=8;Y<P.length;){var cA=h(P,Y),uA=w(P,Y+=4);Y+=4;var nA=uA+(1&uA);switch(cA){case"VP8 ":case"VP8L":E.frames[N]===void 0&&(E.frames[N]={}),(mA=E.frames[N]).src_off=G?iA:Y-8,mA.src_size=K+uA+8,N++,G&&(G=!1,K=0,iA=0);break;case"VP8X":(mA=E.header={}).feature_flags=P[Y];var dA=Y+4;mA.canvas_width=1+p(P,dA),dA+=3,mA.canvas_height=1+p(P,dA),dA+=3;break;case"ALPH":G=!0,K=nA+8,iA=Y-8;break;case"ANIM":(mA=E.header).bgcolor=w(P,Y),dA=Y+4,mA.loop_count=u(P,dA),dA+=2;break;case"ANMF":var FA,mA;(mA=E.frames[N]={}).offset_x=2*p(P,Y),Y+=3,mA.offset_y=2*p(P,Y),Y+=3,mA.width=1+p(P,Y),Y+=3,mA.height=1+p(P,Y),Y+=3,mA.duration=p(P,Y),Y+=3,FA=P[Y++],mA.dispose=1&FA,mA.blend=FA>>1&1}cA!="ANMF"&&(Y+=nA)}return E}}(b,0);M.response=b,M.rgbaoutput=!0,M.dataurl=!1;var T=M.header?M.header:null,S=M.frames?M.frames:null;if(T){T.loop_counter=T.loop_count,d=[T.canvas_height],v=[T.canvas_width];for(var AA=0;AA<S.length&&S[AA].blend!=0;AA++);}var sA=S[0],Z=L.WebPDecodeRGBA(b,sA.src_off,sA.src_size,v,d);sA.rgba=Z,sA.imgwidth=v[0],sA.imgheight=d[0];for(var j=0;j<v[0]*d[0]*4;j++)F[j]=Z[j];return this.width=v,this.height=d,this.data=F,this}/** ====================================================================
119 * @license
120 * jsPDF XMP metadata plugin
121 * Copyright (c) 2016 Jussi Utunen, [email protected]
122 *
123 * Permission is hereby granted, free of charge, to any person obtaining
124 * a copy of this software and associated documentation files (the
125 * "Software"), to deal in the Software without restriction, including
126 * without limitation the rights to use, copy, modify, merge, publish,
127 * distribute, sublicense, and/or sell copies of the Software, and to
128 * permit persons to whom the Software is furnished to do so, subject to
129 * the following conditions:
130 *
131 * The above copyright notice and this permission notice shall be
132 * included in all copies or substantial portions of the Software.
133 *
134 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
135 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
136 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
137 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
138 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
139 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
140 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
141 * ====================================================================
142 */function Oy(){var t,A=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(A));t=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><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>'+e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function Py(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var A,e,r,n,i,s,a,c,h,u=function(U){return U=U||{},this.isStrokeTransparent=U.isStrokeTransparent||!1,this.strokeOpacity=U.strokeOpacity||1,this.strokeStyle=U.strokeStyle||"#000000",this.fillStyle=U.fillStyle||"#000000",this.isFillTransparent=U.isFillTransparent||!1,this.fillOpacity=U.fillOpacity||1,this.font=U.font||"10px sans-serif",this.textBaseline=U.textBaseline||"alphabetic",this.textAlign=U.textAlign||"left",this.lineWidth=U.lineWidth||1,this.lineJoin=U.lineJoin||"miter",this.lineCap=U.lineCap||"butt",this.path=U.path||[],this.transform=U.transform!==void 0?U.transform.clone():new c,this.globalCompositeOperation=U.globalCompositeOperation||"normal",this.globalAlpha=U.globalAlpha||1,this.clip_path=U.clip_path||[],this.currentPoint=U.currentPoint||new s,this.miterLimit=U.miterLimit||10,this.lastPoint=U.lastPoint||new s,this.lineDashOffset=U.lineDashOffset||0,this.lineDash=U.lineDash||[],this.margin=U.margin||[0,0,0,0],this.prevPageLastElemOffset=U.prevPageLastElemOffset||0,this.ignoreClearRect=typeof U.ignoreClearRect!="boolean"||U.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new p(this),A=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,c=this.internal.Matrix,h=new u}]);var p=function(U){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var O=U;Object.defineProperty(this,"pdf",{get:function(){return O}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(H){R=!!H}});var q=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return q},set:function(H){q=!!H}});var z=0;Object.defineProperty(this,"posX",{get:function(){return z},set:function(H){isNaN(H)||(z=H)}});var tA=0;Object.defineProperty(this,"posY",{get:function(){return tA},set:function(H){isNaN(H)||(tA=H)}}),Object.defineProperty(this,"margin",{get:function(){return h.margin},set:function(H){var vA;typeof H=="number"?vA=[H,H,H,H]:((vA=new Array(4))[0]=H[0],vA[1]=H.length>=2?H[1]:vA[0],vA[2]=H.length>=3?H[2]:vA[0],vA[3]=H.length>=4?H[3]:vA[1]),h.margin=vA}});var oA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return oA},set:function(H){oA=H}});var aA=0;Object.defineProperty(this,"lastBreak",{get:function(){return aA},set:function(H){aA=H}});var BA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return BA},set:function(H){BA=H}}),Object.defineProperty(this,"ctx",{get:function(){return h},set:function(H){H instanceof u&&(h=H)}}),Object.defineProperty(this,"path",{get:function(){return h.path},set:function(H){h.path=H}});var yA=[];Object.defineProperty(this,"ctxStack",{get:function(){return yA},set:function(H){yA=H}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(H){var vA;vA=w(H),this.ctx.fillStyle=vA.style,this.ctx.isFillTransparent=vA.a===0,this.ctx.fillOpacity=vA.a,this.pdf.setFillColor(vA.r,vA.g,vA.b,{a:vA.a}),this.pdf.setTextColor(vA.r,vA.g,vA.b,{a:vA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(H){var vA=w(H);this.ctx.strokeStyle=vA.style,this.ctx.isStrokeTransparent=vA.a===0,this.ctx.strokeOpacity=vA.a,vA.a===0?this.pdf.setDrawColor(255,255,255):(vA.a,this.pdf.setDrawColor(vA.r,vA.g,vA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(H){["butt","round","square"].indexOf(H)!==-1&&(this.ctx.lineCap=H,this.pdf.setLineCap(H))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(H){isNaN(H)||(this.ctx.lineWidth=H,this.pdf.setLineWidth(H))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(H){["bevel","round","miter"].indexOf(H)!==-1&&(this.ctx.lineJoin=H,this.pdf.setLineJoin(H))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(H){isNaN(H)||(this.ctx.miterLimit=H,this.pdf.setMiterLimit(H))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(H){this.ctx.textBaseline=H}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(H){["right","end","center","left","start"].indexOf(H)!==-1&&(this.ctx.textAlign=H)}});var LA=null,UA=null,PA=null;Object.defineProperty(this,"fontFaces",{get:function(){return PA},set:function(H){LA=null,UA=null,PA=H}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(H){var vA;if(this.ctx.font=H,(vA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(H))!==null){var at=vA[1];vA[2];var GA=vA[3],CA=vA[4];vA[5];var jA=vA[6],IA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(CA)[2];CA=Math.floor(IA==="px"?parseFloat(CA)*this.pdf.internal.scaleFactor:IA==="em"?parseFloat(CA)*this.pdf.getFontSize():parseFloat(CA)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(CA);var VA=function(OA){var Yt,mt,ct=[],lt=OA.trim();if(lt==="")return Il;if(lt in wd)return[wd[lt]];for(;lt!=="";){switch(mt=null,Yt=(lt=Cd(lt)).charAt(0)){case'"':case"'":mt=Hy(lt.substring(1),Yt);break;default:mt=_y(lt)}if(mt===null||(ct.push(mt[0]),(lt=Cd(mt[1]))!==""&&lt.charAt(0)!==","))return Il;lt=lt.replace(/^,/,"")}return ct}(jA);if(this.fontFaces){var RA=function(OA,Yt){var mt=OA.getFontList(),ct=JSON.stringify(mt);if(LA===null||UA!==ct){var lt=function(Ot){var KA=[];return Object.keys(Ot).forEach(function(Nt){Ot[Nt].forEach(function(zA){var et=null;switch(zA){case"bold":et={family:Nt,weight:"bold"};break;case"italic":et={family:Nt,style:"italic"};break;case"bolditalic":et={family:Nt,weight:"bold",style:"italic"};break;case"":case"normal":et={family:Nt}}et!==null&&(et.ref={name:Nt,style:zA},KA.push(et))})}),KA}(mt);LA=function(Ot){for(var KA={},Nt=0;Nt<Ot.length;++Nt){var zA=xl(Ot[Nt]),et=zA.family,Pt=zA.stretch,ht=zA.style,qA=zA.weight;KA[et]=KA[et]||{},KA[et][Pt]=KA[et][Pt]||{},KA[et][Pt][ht]=KA[et][Pt][ht]||{},KA[et][Pt][ht][qA]=zA}return KA}(lt.concat(Yt)),UA=ct}return LA}(this.pdf,this.fontFaces),bt=VA.map(function(OA){return{family:OA,stretch:"normal",weight:GA,style:at}}),ut=function(OA,Yt,mt){for(var ct=(mt=mt||{}).defaultFontFamily||"times",lt=Object.assign({},Ny,mt.genericFontFamilies||{}),Ot=null,KA=null,Nt=0;Nt<Yt.length;++Nt)if(lt[(Ot=xl(Yt[Nt])).family]&&(Ot.family=lt[Ot.family]),OA.hasOwnProperty(Ot.family)){KA=OA[Ot.family];break}if(!(KA=KA||OA[ct]))throw new Error("Could not find a font-family for the rule '"+md(Ot)+"' and default family '"+ct+"'.");if(KA=function(zA,et){if(et[zA])return et[zA];var Pt=mh[zA],ht=Pt<=mh.normal?-1:1,qA=pd(et,_g,Pt,ht);if(!qA)throw new Error("Could not find a matching font-stretch value for "+zA);return qA}(Ot.stretch,KA),KA=function(zA,et){if(et[zA])return et[zA];for(var Pt=Hg[zA],ht=0;ht<Pt.length;++ht)if(et[Pt[ht]])return et[Pt[ht]];throw new Error("Could not find a matching font-style for "+zA)}(Ot.style,KA),!(KA=function(zA,et){if(et[zA])return et[zA];if(zA===400&&et[500])return et[500];if(zA===500&&et[400])return et[400];var Pt=Sy[zA],ht=pd(et,Dg,Pt,zA<400?-1:1);if(!ht)throw new Error("Could not find a matching font-weight for value "+zA);return ht}(Ot.weight,KA)))throw new Error("Failed to resolve a font for the rule '"+md(Ot)+"'.");return KA}(RA,bt);this.pdf.setFont(ut.ref.name,ut.ref.style)}else{var tt="";(GA==="bold"||parseInt(GA,10)>=700||at==="bold")&&(tt="bold"),at==="italic"&&(tt+="italic"),tt.length===0&&(tt="normal");for(var gt="",ft={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"},kA=0;kA<VA.length;kA++){if(this.pdf.internal.getFont(VA[kA],tt,{noFallback:!0,disableWarning:!0})!==void 0){gt=VA[kA];break}if(tt==="bolditalic"&&this.pdf.internal.getFont(VA[kA],"bold",{noFallback:!0,disableWarning:!0})!==void 0)gt=VA[kA],tt="bold";else if(this.pdf.internal.getFont(VA[kA],"normal",{noFallback:!0,disableWarning:!0})!==void 0){gt=VA[kA],tt="normal";break}}if(gt===""){for(var it=0;it<VA.length;it++)if(ft[VA[it]]){gt=ft[VA[it]];break}}gt=gt===""?"Times":gt,this.pdf.setFont(gt,tt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(H){this.ctx.globalCompositeOperation=H}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(H){this.ctx.globalAlpha=H}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(H){this.ctx.lineDashOffset=H,mA.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(H){this.ctx.lineDash=H,mA.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(H){this.ctx.ignoreClearRect=!!H}})};p.prototype.setLineDash=function(U){this.lineDash=U},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){S.call(this,"fill",!1)},p.prototype.stroke=function(){S.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(U,O){if(isNaN(U)||isNaN(O))throw It.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var R=this.ctx.transform.applyToPoint(new s(U,O));this.path.push({type:"mt",x:R.x,y:R.y}),this.ctx.lastPoint=new s(U,O)},p.prototype.closePath=function(){var U=new s(0,0),O=0;for(O=this.path.length-1;O!==-1;O--)if(this.path[O].type==="begin"&&St(this.path[O+1])==="object"&&typeof this.path[O+1].x=="number"){U=new s(this.path[O+1].x,this.path[O+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(U.x,U.y)},p.prototype.lineTo=function(U,O){if(isNaN(U)||isNaN(O))throw It.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var R=this.ctx.transform.applyToPoint(new s(U,O));this.path.push({type:"lt",x:R.x,y:R.y}),this.ctx.lastPoint=new s(R.x,R.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},p.prototype.quadraticCurveTo=function(U,O,R,q){if(isNaN(R)||isNaN(q)||isNaN(U)||isNaN(O))throw It.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var z=this.ctx.transform.applyToPoint(new s(R,q)),tA=this.ctx.transform.applyToPoint(new s(U,O));this.path.push({type:"qct",x1:tA.x,y1:tA.y,x:z.x,y:z.y}),this.ctx.lastPoint=new s(z.x,z.y)},p.prototype.bezierCurveTo=function(U,O,R,q,z,tA){if(isNaN(z)||isNaN(tA)||isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q))throw It.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var oA=this.ctx.transform.applyToPoint(new s(z,tA)),aA=this.ctx.transform.applyToPoint(new s(U,O)),BA=this.ctx.transform.applyToPoint(new s(R,q));this.path.push({type:"bct",x1:aA.x,y1:aA.y,x2:BA.x,y2:BA.y,x:oA.x,y:oA.y}),this.ctx.lastPoint=new s(oA.x,oA.y)},p.prototype.arc=function(U,O,R,q,z,tA){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q)||isNaN(z))throw It.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(tA=!!tA,!this.ctx.transform.isIdentity){var oA=this.ctx.transform.applyToPoint(new s(U,O));U=oA.x,O=oA.y;var aA=this.ctx.transform.applyToPoint(new s(0,R)),BA=this.ctx.transform.applyToPoint(new s(0,0));R=Math.sqrt(Math.pow(aA.x-BA.x,2)+Math.pow(aA.y-BA.y,2))}Math.abs(z-q)>=2*Math.PI&&(q=0,z=2*Math.PI),this.path.push({type:"arc",x:U,y:O,radius:R,startAngle:q,endAngle:z,counterclockwise:tA})},p.prototype.arcTo=function(U,O,R,q,z){throw new Error("arcTo not implemented.")},p.prototype.rect=function(U,O,R,q){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q))throw It.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(U,O),this.lineTo(U+R,O),this.lineTo(U+R,O+q),this.lineTo(U,O+q),this.lineTo(U,O),this.lineTo(U+R,O),this.lineTo(U,O)},p.prototype.fillRect=function(U,O,R,q){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q))throw It.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to 
142jsPDF.context2d.fillRect");if(!d.call(this)){var z={};this.lineCap!=="butt"&&(z.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(z.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(U,O,R,q),this.fill(),z.hasOwnProperty("lineCap")&&(this.lineCap=z.lineCap),z.hasOwnProperty("lineJoin")&&(this.lineJoin=z.lineJoin)}},p.prototype.strokeRect=function(U,O,R,q){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q))throw It.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(U,O,R,q),this.stroke())},p.prototype.clearRect=function(U,O,R,q){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q))throw It.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(U,O,R,q))},p.prototype.save=function(U){U=typeof U!="boolean"||U;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("q");if(this.pdf.setPage(O),U){this.ctx.fontSize=this.pdf.internal.getFontSize();var q=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=q}},p.prototype.restore=function(U){U=typeof U!="boolean"||U;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("Q");this.pdf.setPage(O),U&&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)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var w=function(U){var O,R,q,z;if(U.isCanvasGradient===!0&&(U=U.getColor()),!U)return{r:0,g:0,b:0,a:0,style:U};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(U))O=0,R=0,q=0,z=0;else{var tA=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(U);if(tA!==null)O=parseInt(tA[1]),R=parseInt(tA[2]),q=parseInt(tA[3]),z=1;else if((tA=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(U))!==null)O=parseInt(tA[1]),R=parseInt(tA[2]),q=parseInt(tA[3]),z=parseFloat(tA[4]);else{if(z=1,typeof U=="string"&&U.charAt(0)!=="#"){var oA=new Ug(U);U=oA.ok?oA.toHex():"#000000"}U.length===4?(O=U.substring(1,2),O+=O,R=U.substring(2,3),R+=R,q=U.substring(3,4),q+=q):(O=U.substring(1,3),R=U.substring(3,5),q=U.substring(5,7)),O=parseInt(O,16),R=parseInt(R,16),q=parseInt(q,16)}}return{r:O,g:R,b:q,a:z,style:U}},d=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},v=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(U,O,R,q){if(isNaN(O)||isNaN(R)||typeof U!="string")throw It.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(q=isNaN(q)?void 0:q,!d.call(this)){var z=nA(this.ctx.transform.rotation),tA=this.ctx.transform.scaleX;N.call(this,{text:U,x:O,y:R,scale:tA,angle:z,align:this.textAlign,maxWidth:q})}},p.prototype.strokeText=function(U,O,R,q){if(isNaN(O)||isNaN(R)||typeof U!="string")throw It.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){q=isNaN(q)?void 0:q;var z=nA(this.ctx.transform.rotation),tA=this.ctx.transform.scaleX;N.call(this,{text:U,x:O,y:R,scale:tA,renderingMode:"stroke",angle:z,align:this.textAlign,maxWidth:q})}},p.prototype.measureText=function(U){if(typeof U!="string")throw It.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var O=this.pdf,R=this.pdf.internal.scaleFactor,q=O.internal.getFontSize(),z=O.getStringUnitWidth(U)*q/O.internal.scaleFactor;return new function(tA){var oA=(tA=tA||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return oA}}),this}({width:z*=Math.round(96*R/72*1e4)/1e4})},p.prototype.scale=function(U,O){if(isNaN(U)||isNaN(O))throw It.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to 
142jsPDF.context2d.scale");var R=new c(U,0,0,O,0,0);this.ctx.transform=this.ctx.transform.multiply(R)},p.prototype.rotate=function(U){if(isNaN(U))throw It.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var O=new c(Math.cos(U),Math.sin(U),-Math.sin(U),Math.cos(U),0,0);this.ctx.transform=this.ctx.transform.multiply(O)},p.prototype.translate=function(U,O){if(isNaN(U)||isNaN(O))throw It.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var R=new c(1,0,0,1,U,O);this.ctx.transform=this.ctx.transform.multiply(R)},p.prototype.transform=function(U,O,R,q,z,tA){if(isNaN(U)||isNaN(O)||isNaN(R)||isNaN(q)||isNaN(z)||isNaN(tA))throw It.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var oA=new c(U,O,R,q,z,tA);this.ctx.transform=this.ctx.transform.multiply(oA)},p.prototype.setTransform=function(U,O,R,q,z,tA){U=isNaN(U)?1:U,O=isNaN(O)?0:O,R=isNaN(R)?0:R,q=isNaN(q)?1:q,z=isNaN(z)?0:z,tA=isNaN(tA)?0:tA,this.ctx.transform=new c(U,O,R,q,z,tA)};var F=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(U,O,R,q,z,tA,oA,aA,BA){var yA=this.pdf.getImageProperties(U),LA=1,UA=1,PA=1,H=1;q!==void 0&&aA!==void 0&&(PA=aA/q,H=BA/z,LA=yA.width/q*aA/q,UA=yA.height/z*BA/z),tA===void 0&&(tA=O,oA=R,O=0,R=0),q!==void 0&&aA===void 0&&(aA=q,BA=z),q===void 0&&aA===void 0&&(aA=yA.width,BA=yA.height);var vA=this.ctx.transform.decompose(),at=nA(vA.rotate.shx),GA=new c,CA=(GA=(GA=(GA=GA.multiply(vA.translate)).multiply(vA.skew)).multiply(vA.scale)).applyToRectangle(new a(tA-O*PA,oA-R*H,q*LA,z*UA));if(this.autoPaging){for(var jA,IA=L.call(this,CA),VA=[],RA=0;RA<IA.length;RA+=1)VA.indexOf(IA[RA])===-1&&VA.push(IA[RA]);T(VA);for(var bt=VA[0],ut=VA[VA.length-1],tt=bt;tt<ut+1;tt++){this.pdf.setPage(tt);var gt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ft=tt===1?this.posY+this.margin[0]:this.margin[0],kA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],it=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],OA=tt===1?0:kA+(tt-2)*it;if(this.ctx.clip_path.length!==0){var Yt=this.path;jA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=M(jA,this.posX+this.margin[3],-OA+ft+this.ctx.prevPageLastElemOffset),AA.call(this,"fill",!0),this.path=Yt}var mt=JSON.parse(JSON.stringify(CA));mt=M([mt],this.posX+this.margin[3],-OA+ft+this.ctx.prevPageLastElemOffset)[0];var ct=(tt>bt||tt<ut)&&F.call(this);ct&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],gt,it,null).clip().discardPath()),this.pdf.addImage(U,"JPEG",mt.x,mt.y,mt.w,mt.h,null,null,at),ct&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(U,"JPEG",CA.x,CA.y,CA.w,CA.h,null,null,at)};var L=function(U,O,R){var q=[];O=O||this.pdf.internal.pageSize.width,R=R||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var z=this.posY+this.ctx.prevPageLastElemOffset;switch(U.type){default:case"mt":case"lt":q.push(Math.floor((U.y+z)/R)+1);break;case"arc":q.push(Math.floor((U.y+z-U.radius)/R)+1),q.push(Math.floor((U.y+z+U.radius)/R)+1);break;case"qct":var tA=dA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,U.x1,U.y1,U.x,U.y);q.push(Math.floor((tA.y+z)/R)+1),q.push(Math.floor((tA.y+tA.h+z)/R)+1);break;case"bct":var oA=FA(this.ctx.lastPoint.x,this.ctx.lastPoint.y,U.x1,U.y1,U.x2,U.y2,U.x,U.y);q.push(Math.floor((oA.y+z)/R)+1),q.push(Math.floor((oA.y+oA.h+z)/R)+1);break;case"rect":q.push(Math.floor((U.y+z)/R)+1),q.push(Math.floor((U.y+U.h+z)/R)+1)}for(var aA=0;aA<q.length;aA+=1)for(;this.pdf.internal.getNumberOfPages()<q[aA];)b.call(this);return q},b=function(){var U=this.fillStyle,O=this.strokeStyle,R=this.font,q=this.lineCap,z=this.lineWidth,tA=this.lineJoin;this.pdf.addPage(),this.fillStyle=U,this.strokeStyle=O,this.font=R,this.lineCap=q,this.lineWidth=z,this.lineJoin=tA},M=function(U,O,R){for(var q=0;q<U.length;q++)switch(U[q].type){case"bct":U[q].x2+=O,U[q].y2+=R;case"qct":U[q].x1+=O,U[q].y1+=R;default:U[q].x+=O,U[q].y+=R}return U},T=function(U){return U.sort(function(O,R){return O-R})},S=function(U,O){var R=this.fillStyle,q=this.strokeStyle,z=this.lineCap,tA=this.lineWidth,oA=Math.abs(tA*this.ctx.transform.scaleX),aA=this.lineJoin;if(this.autoPaging){for(var BA,yA,LA=JSON.parse(JSON.stringify(this.path)),UA=JSON.parse(JSON.stringify(this.path)),PA=[],H=0;H<UA.length;H++)if(UA[H].x!==void 0)for(var vA=L.call(this,UA[H]),at=0;at<vA.length;at+=1)PA.indexOf(vA[at])===-1&&PA.push(vA[at]);for(var GA=0;GA<PA.length;GA++)for(;this.pdf.internal.getNumberOfPages()<PA[GA];)b.call(this);T(PA);for(var CA=PA[0],jA=PA[PA.length-1],IA=CA;IA<jA+1;IA++){this.pdf.setPage(IA),this.fillStyle=R,this.strokeStyle=q,this.lineCap=z,this.lineWidth=oA,this.lineJoin=aA;var VA=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],RA=IA===1?this.posY+this.margin[0]:this.margin[0],bt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ut=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],tt=IA===1?0:bt+(IA-2)*ut;if(this.ctx.clip_path.length!==0){var gt=this.path;BA=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=M(BA,this.posX+this.margin[3],-tt+RA+this.ctx.prevPageLastElemOffset),AA.call(this,U,!0),this.path=gt}if(yA=JSON.parse(JSON.stringify(LA)),this.path=M(yA,this.posX+this.margin[3],-tt+RA+this.ctx.prevPageLastElemOffset),O===!1||IA===0){var ft=(IA>CA||IA<jA)&&F.call(this);ft&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],VA,ut,null).clip().discardPath()),AA.call(this,U,O),ft&&this.pdf.restoreGraphicsState()}this.lineWidth=tA}this.path=LA}else this.lineWidth=oA,AA.call(this,U,O),this.lineWidth=tA},AA=function(U,O){if((U!=="stroke"||O||!v.call(this))&&(U==="stroke"||O||!d.c
vendor: 43,977 bytes, lines 142-150
142all(this))){for(var R,q,z=[],tA=this.path,oA=0;oA<tA.length;oA++){var aA=tA[oA];switch(aA.type){case"begin":z.push({begin:!0});break;case"close":z.push({close:!0});break;case"mt":z.push({start:aA,deltas:[],abs:[]});break;case"lt":var BA=z.length;if(tA[oA-1]&&!isNaN(tA[oA-1].x)&&(R=[aA.x-tA[oA-1].x,aA.y-tA[oA-1].y],BA>0)){for(;BA>=0;BA--)if(z[BA-1].close!==!0&&z[BA-1].begin!==!0){z[BA-1].deltas.push(R),z[BA-1].abs.push(aA);break}}break;case"bct":R=[aA.x1-tA[oA-1].x,aA.y1-tA[oA-1].y,aA.x2-tA[oA-1].x,aA.y2-tA[oA-1].y,aA.x-tA[oA-1].x,aA.y-tA[oA-1].y],z[z.length-1].deltas.push(R);break;case"qct":var yA=tA[oA-1].x+2/3*(aA.x1-tA[oA-1].x),LA=tA[oA-1].y+2/3*(aA.y1-tA[oA-1].y),UA=aA.x+2/3*(aA.x1-aA.x),PA=aA.y+2/3*(aA.y1-aA.y),H=aA.x,vA=aA.y;R=[yA-tA[oA-1].x,LA-tA[oA-1].y,UA-tA[oA-1].x,PA-tA[oA-1].y,H-tA[oA-1].x,vA-tA[oA-1].y],z[z.length-1].deltas.push(R);break;case"arc":z.push({deltas:[],abs:[],arc:!0}),Array.isArray(z[z.length-1].abs)&&z[z.length-1].abs.push(aA)}}q=O?null:U==="stroke"?"stroke":"fill";for(var at=!1,GA=0;GA<z.length;GA++)if(z[GA].arc)for(var CA=z[GA].abs,jA=0;jA<CA.length;jA++){var IA=CA[jA];IA.type==="arc"?j.call(this,IA.x,IA.y,IA.radius,IA.startAngle,IA.endAngle,IA.counterclockwise,void 0,O,!at):G.call(this,IA.x,IA.y),at=!0}else if(z[GA].close===!0)this.pdf.internal.out("h"),at=!1;else if(z[GA].begin!==!0){var VA=z[GA].start.x,RA=z[GA].start.y;K.call(this,z[GA].deltas,VA,RA),at=!0}q&&P.call(this,q),O&&Y.call(this)}},sA=function(U){var O=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,R=O*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return U-R;case"top":return U+O-R;case"hanging":return U+O-2*R;case"middle":return U+O/2-R;default:return U}},Z=function(U){return U+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var U=function(){};return U.colorStops=[],U.addColorStop=function(O,R){this.colorStops.push([O,R])},U.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},U.isCanvasGradient=!0,U},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var j=function(U,O,R,q,z,tA,oA,aA,BA){for(var yA=cA.call(this,R,q,z,tA),LA=0;LA<yA.length;LA++){var UA=yA[LA];LA===0&&(BA?E.call(this,UA.x1+U,UA.y1+O):G.call(this,UA.x1+U,UA.y1+O)),iA.call(this,U,O,UA.x2,UA.y2,UA.x3,UA.y3,UA.x4,UA.y4)}aA?Y.call(this):P.call(this,oA)},P=function(U){switch(U){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Y=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(U,O){this.pdf.internal.out(e(U)+" "+r(O)+" m")},N=function(U){var O;switch(U.align){case"right":case"end":O="right";break;case"center":O="center";break;default:O="left"}var R,q,z,tA=this.pdf.getTextDimensions(U.text),oA=sA.call(this,U.y),aA=Z.call(this,oA)-tA.h,BA=this.ctx.transform.applyToPoint(new s(U.x,oA));if(this.autoPaging){var yA=this.ctx.transform.decompose(),LA=new c;LA=(LA=(LA=LA.multiply(yA.translate)).multiply(yA.skew)).multiply(yA.scale);for(var UA=this.ctx.transform.applyToRectangle(new a(U.x,oA,tA.w,tA.h)),PA=LA.applyToRectangle(new a(U.x,aA,tA.w,tA.h)),H=L.call(this,PA),vA=[],at=0;at<H.length;at+=1)vA.indexOf(H[at])===-1&&vA.push(H[at]);T(vA);for(var GA=vA[0],CA=vA[vA.length-1],jA=GA;jA<CA+1;jA++){this.pdf.setPage(jA);var IA=jA===1?this.posY+this.margin[0]:this.margin[0],VA=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],RA=this.pdf.internal.pageSize.height-this.margin[2],bt=RA-this.margin[0],ut=this.pdf.internal.pageSize.width-this.margin[1],tt=ut-this.margin[3],gt=jA===1?0:VA+(jA-2)*bt;if(this.ctx.clip_path.length!==0){var ft=this.path;R=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=M(R,this.posX+this.margin[3],-1*gt+IA),AA.call(this,"fill",!0),this.path=ft}var kA=M([JSON.parse(JSON.stringify(PA))],this.posX+this.margin[3],-gt+IA+this.ctx.prevPageLastElemOffset)[0];U.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*U.scale),z=this.lineWidth,this.lineWidth=z*U.scale);var it=this.autoPaging!=="text";if(it||kA.y+kA.h<=RA){if(it||kA.y>=IA&&kA.x<=ut){var OA=it?U.text:this.pdf.splitTextToSize(U.text,U.maxWidth||ut-kA.x)[0],Yt=M([JSON.parse(JSON.stringify(UA))],this.posX+this.margin[3],-gt+IA+this.ctx.prevPageLastElemOffset)[0],mt=it&&(jA>GA||jA<CA)&&F.call(this);mt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],tt,bt,null).clip().discardPath()),this.pdf.text(OA,Yt.x,Yt.y,{angle:U.angle,align:O,renderingMode:U.renderingMode}),mt&&this.pdf.restoreGraphicsState()}}else kA.y<RA&&(this.ctx.prevPageLastElemOffset+=RA-kA.y);U.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=z)}}else U.scale>=.01&&(q=this.pdf.internal.getFontSize(),this.pdf.setFontSize(q*U.scale),z=this.lineWidth,this.lineWidth=z*U.scale),this.pdf.text(U.text,BA.x+this.posX,BA.y+this.posY,{angle:U.angle,align:O,renderingMode:U.renderingMode,maxWidth:U.maxWidth}),U.scale>=.01&&(this.pdf.setFontSize(q),this.lineWidth=z)},G=function(U,O,R,q){R=R||0,q=q||0,this.pdf.internal.out(e(U+R)+" "+r(O+q)+" l")},K=function(U,O,R){return this.pdf.lines(U,O,R,null,null)},iA=function(U,O,R,q,z,tA,oA,aA){this.pdf.internal.out([A(n(R+U)),A(i(q+O)),A(n(z+U)),A(i(tA+O)),A(n(oA+U)),A(i(aA+O)),"c"].join(" "))},cA=function(U,O,R,q){for(var z=2*Math.PI,tA=Math.PI/2;O>R;)O-=z;var oA=Math.abs(R-O);oA<z&&q&&(oA=z-oA);for(var aA=[],BA=q?-1:1,yA=O;oA>1e-5;){var LA=yA+BA*Math.min(oA,tA);aA.push(uA.call(this,U,yA,LA)),oA-=Math.abs(LA-yA),yA=LA}return aA},uA=function(U,O,R){var q=(R-O)/2,z=U*Math.cos(q),tA=U*Math.sin(q),oA=z,aA=-tA,BA=oA*oA+aA*aA,yA=BA+oA*z+aA*tA,LA=4/3*(Math.sqrt(2*BA*yA)-yA)/(oA*tA-aA*z),UA=oA-LA*aA,PA=aA+LA*oA,H=UA,vA=-PA,at=q+O,GA=Math.cos(at),CA=Math.sin(at);return{x1:U*Math.cos(O),y1:U*Math.sin(O),x2:UA*GA-PA*CA,y2:UA*CA+PA*GA,x3:H*GA-vA*CA,y3:H*CA+vA*GA,x4:U*Math.cos(R),y4:U*Math.sin(R)}},nA=function(U){return 180*U/Math.PI},dA=function(U,O,R,q,z,tA){var oA=U+.5*(R-U),aA=O+.5*(q-O),BA=z+.5*(R-z),yA=tA+.5*(q-tA),LA=Math.min(U,z,oA,BA),UA=Math.max(U,z,oA,BA),PA=Math.min(O,tA,aA,yA),H=Math.max(O,tA,aA,yA);return new a(LA,PA,UA-LA,H-PA)},FA=function(U,O,R,q,z,tA,oA,aA){var BA,yA,LA,UA,PA,H,vA,at,GA,CA,jA,IA,VA,RA,bt=R-U,ut=q-O,tt=z-R,gt=tA-q,ft=oA-z,kA=aA-tA;for(yA=0;yA<41;yA++)GA=(vA=(LA=U+(BA=yA/40)*bt)+BA*((PA=R+BA*tt)-LA))+BA*(PA+BA*(z+BA*ft-PA)-vA),CA=(at=(UA=O+BA*ut)+BA*((H=q+BA*gt)-UA))+BA*(H+BA*(tA+BA*kA-H)-at),yA==0?(jA=GA,IA=CA,VA=GA,RA=CA):(jA=Math.min(jA,GA),IA=Math.min(IA,CA),VA=Math.max(VA,GA),RA=Math.max(RA,CA));return new a(Math.round(jA),Math.round(IA),Math.round(VA-jA),Math.round(RA-IA))},mA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var U,O,R=(U=this.ctx.lineDash,O=this.ctx.lineDashOffset,JSON.stringify({lineDash:U,lineDashOffset:O}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(TA.API),function(t){var A=function(s){var a,c,h,u,p,w,d,v,F,L;for(c=[],h=0,u=(s+=a="\0\0\0\0".slice(s.length%4||4)).length;u>h;h+=4)(p=(s.charCodeAt(h)<<24)+(s.charCodeAt(h+1)<<16)+(s.charCodeAt(h+2)<<8)+s.charCodeAt(h+3))!==0?(w=(p=((p=((p=((p=(p-(L=p%85))/85)-(F=p%85))/85)-(v=p%85))/85)-(d=p%85))/85)%85,c.push(w+33,d+33,v+33,F+33,L+33)):c.push(122);return function(b,M){for(var T=M;T>0;T--)b.pop()}(c,a.length),String.fromCharCode.apply(String,c)+"~>"},e=function(s){var a,c,h,u,p,w=String,d="length",v=255,F="charCodeAt",L="slice",b="replace";for(s[L](-2),s=s[L](0,-2)[b](/\s/g,"")[b]("z","!!!!!"),h=[],u=0,p=(s+=a="uuuuu"[L](s[d]%5||5))[d];p>u;u+=5)c=52200625*(s[F](u)-33)+614125*(s[F](u+1)-33)+7225*(s[F](u+2)-33)+85*(s[F](u+3)-33)+(s[F](u+4)-33),h.push(v&c>>24,v&c>>16,v&c>>8,v&c);return function(M,T){for(var S=T;S>0;S--)M.pop()}(h,a[d]),w.fromCharCode.apply(w,h)},r=function(s){return s.split("").map(function(a){return("0"+a.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(s){var a=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((s=s.replace(/\s/g,"")).indexOf(">")!==-1&&(s=s.substr(0,s.indexOf(">"))),s.length%2&&(s+="0"),a.test(s)===!1)return"";for(var c="",h=0;h<s.length;h+=2)c+=String.fromCharCode("0x"+(s[h]+s[h+1]));return c},i=function(s){for(var a=new Uint8Array(s.length),c=s.length;c--;)a[c]=s.charCodeAt(c);return(a=uh(a)).reduce(function(h,u){return h+String.fromCharCode(u)},"")};t.processDataByFilters=function(s,a){var c=0,h=s||"",u=[];for(typeof(a=a||[])=="string"&&(a=[a]),c=0;c<a.length;c+=1)switch(a[c]){case"ASCII85Decode":case"/ASCII85Decode":h=e(h),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":h=A(h),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":h=n(h),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":h=r(h),u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":h=i(h),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[c]+'" is not implemented')}return{data:h,reverseChain:u.reverse().join(" ")}}}(TA.API),function(t){t.loadFile=function(A,e,r){return function(n,i,s){i=i!==!1,s=typeof s=="function"?s:function(){};var a=void 0;try{a=function(c,h,u){var p=new XMLHttpRequest,w=0,d=function(v){var F=v.length,L=[],b=String.fromCharCode;for(w=0;w<F;w+=1)L.push(b(255&v.charCodeAt(w)));return L.join("")};if(p.open("GET",c,!h),p.overrideMimeType("text/plain; charset=x-user-defined"),h===!1&&(p.onload=function(){p.status===200?u(d(this.responseText)):u(void 0)}),p.send(null),h&&p.status===200)return d(p.responseText)}(n,i,s)}catch{}return a}(A,e,r)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile}(TA.API),function(t){function A(){return(YA.html2canvas?Promise.resolve(YA.html2canvas):Gc(()=>Promise.resolve().then(()=>gC),void 0)).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(YA.DOMPurify?Promise.resolve(YA.DOMPurify):Gc(()=>import("./purify.es-BnINGy_Y.js"),[])).catch(function(a){return Promise.reject(new Error("Could not load dompurify: "+a))}).then(function(a){return a.default?a.default:a})}var r=function(a){var c=St(a);return c==="undefined"?"undefined":c==="string"||a instanceof String?"string":c==="number"||a instanceof Number?"number":c==="function"||a instanceof Function?"function":a&&a.constructor===Array?"array":a&&a.nodeType===1?"element":c==="object"?"object":"unknown"},n=function(a,c){var h=document.createElement(a);for(var u in c.className&&(h.className=c.className),c.innerHTML&&c.dompurify&&(h.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)h.style[u]=c.style[u];return h},i=function a(c,h){for(var u=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),p=c.firstChild;p;p=p.nextSibling)h!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||u.appendChild(a(p,h));return c.nodeType===1&&(c.nodeName==="CANVAS"?(u.width=c.width,u.height=c.height,u.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(u.value=c.value),u.addEventListener("load",function(){u.scrollTop=c.scrollTop,u.scrollLeft=c.scrollLeft},!0)),u},s=function a(c){var h=Object.assign(a.convert(Promise.resolve()),JSON.parse(JSON.stringify(a.template))),u=a.convert(Promise.resolve(),h);return(u=u.setProgress(1,a,1,[a])).set(c)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(a,c){return a.__proto__=c||s.prototype,a},s.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"}},s.prototype.from=function(a,c){return this.then(function(){switch(c=c||function(h){switch(r(h)){case"string":return"string";case"element":return h.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(a),c){case"string":return this.then(e).then(function(h){return this.set({src:n("div",{innerHTML:a,dompurify:h})})});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.")}})},s.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.")}},s.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},c=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.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(c),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"})},s.prototype.toCanvas=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(c){var h=Object.assign({},this.opt.html2canvas);return delete h.onrendered,c(this.prop.container,h)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(A).then(function(c){var h=this.opt.jsPDF,u=this.opt.fontFaces,p=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,w=Object.assign({async:!0,allowTaint:!0,scale:p,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 w.onrendered,h.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,h.context2d.posX=this.opt.x,h.context2d.posY=this.opt.y,h.context2d.margin=this.opt.margin,h.context2d.fontFaces=u,u)for(var d=0;d<u.length;++d){var v=u[d],F=v.src.find(function(L){return L.format==="truetype"});F&&h.addFont(F.url,v.ref.name,v.ref.style)}return w.windowHeight=w.windowHeight||0,w.windowHeight=w.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):w.windowHeight,h.context2d.save(!0),c(this.prop.container,w)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},s.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})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(a,c,h){return(h=h||"pdf").toLowerCase()==="img"||h.toLowerCase()==="image"?this.outputImg(a,c):this.outputPdf(a,c)},s.prototype.outputPdf=function(a,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(a,c)})},s.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.'}})},s.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)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(a){if(r(a)!=="object")return this;var c=Object.keys(a||{}).map(function(h){if(h in s.template.prop)return function(){this.prop[h]=a[h]};switch(h){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[h]=a[h]}}},this);return this.then(function(){return this.thenList(c)})},s.prototype.get=function(a,c){return this.then(function(){var h=a in s.template.prop?this.prop[a]:this.opt[a];return c?c(h):h})},s.prototype.setMargin=function(a){return this.then(function(){switch(r(a)){case"number":a=[a,a,a,a];case"array":if(a.length===2&&(a=[a[0],a[1],a[0],a[1]]),a.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=a}).then(this.setPageSize)},s.prototype.setPageSize=function(a){function c(h,u){return Math.floor(h*u/72*96)}return this.then(function(){(a=a||TA.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:c(a.inner.width,a.k),height:c(a.inner.height,a.k)},a.inner.ratio=a.inner.height/a.inner.width),this.prop.pageSize=a})},s.prototype.setProgress=function(a,c,h,u){return a!=null&&(this.progress.val=a),c!=null&&(this.progress.state=c),h!=null&&(this.progress.n=h),u!=null&&(this.progress.stack=u),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(a,c,h,u){return this.setProgress(a?this.progress.val+a:null,c||null,h?this.progress.n+h:null,u?this.progress.stack.concat(u):null)},s.prototype.then=function(a,c){var h=this;return this.thenCore(a,c,function(u,p){return h.updateProgress(null,null,1,[u]),Promise.prototype.then.call(this,function(w){return h.updateProgress(null,u),w}).then(u,p).then(function(w){return h.updateProgress(1),w})})},s.prototype.thenCore=function(a,c,h){h=h||Promise.prototype.then;var u=this;a&&(a=a.bind(u)),c&&(c=c.bind(u));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?u:s.convert(Object.assign({},u),Promise.prototype),w=h.call(p,a,c);return s.convert(w,u.__proto__)},s.prototype.thenExternal=function(a,c){return Promise.prototype.then.call(this,a,c)},s.prototype.thenList=function(a){var c=this;return a.forEach(function(h){c=c.thenCore(h)}),c},s.prototype.catch=function(a){a&&(a=a.bind(this));var c=Promise.prototype.catch.call(this,a);return s.convert(c,this)},s.prototype.catchExternal=function(a){return Promise.prototype.catch.call(this,a)},s.prototype.error=function(a){return this.then(function(){throw new Error(a)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,TA.getPageSize=function(a,c,h){if(St(a)==="object"){var u=a;a=u.orientation,c=u.unit||c,h=u.format||h}c=c||"mm",h=h||"a4",a=(""+(a||"P")).toLowerCase();var p,w=(""+h).toLowerCase(),d={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(c){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+c}var v,F=0,L=0;if(d.hasOwnProperty(w))F=d[w][1]/p,L=d[w][0]/p;else try{F=h[1],L=h[0]}catch{throw new Error("Invalid format: "+h)}if(a==="p"||a==="portrait")a="p",L>F&&(v=L,L=F,F=v);else{if(a!=="l"&&a!=="landscape")throw"Invalid orientation: "+a;a="l",F>L&&(v=L,L=F,F=v)}return{width:L,height:F,unit:c,k:p,orientation:a}},t.html=function(a,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(xl):null;var h=new s(c);return c.worker?h:h.from(a).doCallback()}}(TA.API),TA.API.addJS=function(t){var A,e,r=function(n){for(var i="",s=0;s<n.length;s++){var a=n[s];if(a==="("||a===")"){for(var c=0,h=s-1;h>=0&&n[h]==="\\";h--)c++;i+=c%2==0?"\\"+a:a}else i+=a}return i}(t);return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(A+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){A!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+A+" 0 R>>")}),this},function(t){var A;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var s=n[i],a=r.exec(s);if(a!=null){var c=a[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(s)}if(this.outline.createNamedDestinations){var h=this.internal.pages.length,u=[];for(i=0;i<h;i++){var p=e.internal.newObject();u.push(p);var w=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+w.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<u.length;i++)e.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");e.internal.write(" ] >>","endobj"),A=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+A+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,i){var s={title:n,options:i,children:[]};return r==null&&(r=this.root),r.children.push(s),s},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n<r.children.length;n++)this.genIds_r(r.children[n])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<r.children.length;i++){var s=r.children[i];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(r)),i>0&&this.line("/Prev "+this.makeRef(r.children[i-1])),i<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[i+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var a=this.count=this.count_r({count:0},s);if(a>0&&this.line("/Count "+a),s.options&&s.options.pageNumber){var c=e.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var h=0;h<r.children.length;h++)this.renderItems(r.children[h])},e.outline.line=function(r){this.ctx.val+=r+`\r
143`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
144`+r.id+` 0 obj\r
145<<\r
146`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
147endobj\r
148`},e.outline.count_r=function(r,n){for(var i=0;i<n.children.length;i++)r.count++,this.count_r(r,n.children[i]);return r.count}}])}(TA.API),function(t){var A=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,n,i,s,a){var c,h=this.decode.DCT_DECODE,u=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=s||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,c=function(p){for(var w,d=256*p.charCodeAt(4)+p.charCodeAt(5),v=p.length,F={width:0,height:0,numcomponents:1},L=4;L<v;L+=2){if(L+=d,A.indexOf(p.charCodeAt(L+1))!==-1){w=256*p.charCodeAt(L+5)+p.charCodeAt(L+6),F={width:256*p.charCodeAt(L+7)+p.charCodeAt(L+8),height:w,numcomponents:p.charCodeAt(L+9)};break}d=256*p.charCodeAt(L+2)+p.charCodeAt(L+3)}return F}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),c.numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}u={data:e,width:c.width,height:c.height,colorSpace:a,bitsPerComponent:8,filter:h,index:r,alias:n}}return u}}(TA.API),TA.API.processPNG=function(t,A,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var n,i=py(t,{checkCrc:!0}),s=i.width,a=i.height,c=i.channels,h=i.palette,u=i.depth;n=h&&c===1?function(j){for(var P=j.width,Y=j.height,E=j.data,N=j.palette,G=j.depth,K=!1,iA=[],cA=[],uA=void 0,nA=!1,dA=0,FA=0;FA<N.length;FA++){var mA=uu(N[FA],4),U=mA[0],O=mA[1],R=mA[2],q=mA[3];iA.push(U,O,R),q!=null&&(q===0?(dA++,cA.length<1&&cA.push(FA)):q<255&&(nA=!0))}if(nA||dA>1){K=!0,cA=void 0;var z=P*Y;uA=new Uint8Array(z);for(var tA=new DataView(E.buffer),oA=0;oA<z;oA++){var aA=Sl(tA,oA,G),BA=uu(N[aA],4)[3];uA[oA]=BA}}else dA===0&&(cA=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:K?8:void 0,colorBytes:E,alphaBytes:uA,needSMask:K,palette:iA,mask:cA}}(i):c===2||c===4?function(j){for(var P=j.data,Y=j.width,E=j.height,N=j.channels,G=j.depth,K=N===2?"DeviceGray":"DeviceRGB",iA=N-1,cA=Y*E,uA=iA,nA=cA*uA,dA=1*cA,FA=Math.ceil(nA*G/8),mA=Math.ceil(dA*G/8),U=new Uint8Array(FA),O=new Uint8Array(mA),R=new DataView(P.buffer),q=new DataView(U.buffer),z=new DataView(O.buffer),tA=!1,oA=0;oA<cA;oA++){for(var aA=oA*N,BA=0;BA<uA;BA++)xd(q,Sl(R,aA+BA,G),oA*uA+BA,G);var yA=Sl(R,aA+uA,G);yA<(1<<G)-1&&(tA=!0),xd(z,yA,1*oA,G)}return{colorSpace:K,colorsPerPixel:iA,sMaskBitsPerComponent:tA?G:void 0,colorBytes:U,alphaBytes:O,needSMask:tA}}(i):function(j){var P=j.data,Y=j.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Y,colorsPerPixel:Y==="DeviceGray"?1:3,colorBytes:P instanceof Uint16Array?function(E){for(var N=E.length,G=new Uint8Array(2*N),K=new DataView(G.buffer,G.byteOffset,G.byteLength),iA=0;iA<N;iA++)K.setUint16(2*iA,E[iA],!1);return G}(P):P,needSMask:!1}}(i);var p,w,d,v=n,F=v.colorSpace,L=v.colorsPerPixel,b=v.sMaskBitsPerComponent,M=v.colorBytes,T=v.alphaBytes,S=v.needSMask,AA=v.palette,sA=v.mask,Z=null;return r!==TA.API.image_compression.NONE&&typeof uh=="function"?(Z=function(j){var P;switch(j){case TA.API.image_compression.FAST:P=11;break;case TA.API.image_compression.MEDIUM:P=13;break;case TA.API.image_compression.SLOW:P=14;break;default:P=12}return P}(r),p=this.decode.FLATE_DECODE,w="/Predictor ".concat(Z," /Colors ").concat(L," /BitsPerComponent ").concat(u," /Columns ").concat(s),t=Qd(M,Math.ceil(s*L*u/8),L,u,r),S&&(d=Qd(T,Math.ceil(s*b/8),1,b,r))):(p=void 0,w=void 0,t=M,S&&(d=T)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:e,data:t,index:A,filter:p,decodeParameters:w,transparency:sA,palette:AA,sMask:d,predictor:Z,width:s,height:a,bitsPerComponent:u,sMaskBitsPerComponent:b,colorSpace:F}}},function(t){t.processGIF89A=function(A,e,r,n){var i=new Ty(A),s=i.width,a=i.height,c=[];i.decodeAndBlitFrameRGBA(0,c);var h={data:c,width:s,height:a},u=new Nl(100).encode(h,100);return t.processJPEG.call(this,u,e,r,n)},t.processGIF87A=t.processGIF89A}(TA.API),Qr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var A=0;A<t;A++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[A]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Qr.prototype.parseBGR=function(){this.pos=this.offset;var t="bit"+this.bitPP,A=this.width*this.height*4;if(A>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(A);try{this[t]()}catch(e){It.log("bit decode error:"+e)}},Qr.prototype.bit1=function(){var t,A=Math.ceil(this.width/8),e=A%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<A;n++)for(var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*n*4,a=0;a<8&&8*n+a<this.width;a++){var c=this.palette[i>>7-a&1];this.data[s+4*a]=c.blue,this.data[s+4*a+1]=c.green,this.data[s+4*a+2]=c.red,this.data[s+4*a+3]=255}e!==0&&(this.pos+=4-e)}},Qr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),A=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<t;n++){var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*n*4,a=i>>4,c=15&i,h=this.palette[a];if(this.data[s]=h.blue,this.data[s+1]=h.green,this.data[s+2]=h.red,this.data[s+3]=255,2*n+1>=this.width)break;h=this.palette[c],this.data[s+4]=h.blue,this.data[s+4+1]=h.green,this.data[s+4+2]=h.red,this.data[s+4+3]=255}A!==0&&(this.pos+=4-A)}},Qr.prototype.bit8=function(){for(var t=this.width%4,A=this.height-1;A>=0;A--){for(var e=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var s=this.palette[n];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}t!==0&&(this.pos+=4-t)}},Qr.prototype.bit15=function(){for(var t=this.width%3,A=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&A)/A*255|0,a=(i>>5&A)/A*255|0,c=(i>>10&A)/A*255|0,h=i>>15?255:0,u=r*this.width*4+4*n;this.data[u]=c,this.data[u+1]=a,this.data[u+2]=s,this.data[u+3]=h}this.pos+=t}},Qr.prototype.bit16=function(){for(var t=this.width%3,A=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&A)/A*255|0,c=(s>>5&e)/e*255|0,h=(s>>11)/A*255|0,u=n*this.width*4+4*i;this.data[u]=h,this.data[u+1]=c,this.data[u+2]=a,this.data[u+3]=255}this.pos+=t}},Qr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=A*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},Qr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var A=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=A*this.width*4+4*e;this.data[a]=i,this.data[a+1]=n,this.data[a+2]=r,this.data[a+3]=s}},Qr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(A,e,r,n){var i=new Qr(A,!1),s=i.width,a=i.height,c={data:i.getData(),width:s,height:a},h=new Nl(100).encode(c,100);return t.processJPEG.call(this,h,e,r,n)}}(TA.API),Sd.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(A,e,r,n){var i=new Sd(A),s=i.width,a=i.height,c={data:i.getData(),width:s,height:a},h=new Nl(100).encode(c,100);return t.processJPEG.call(this,h,e,r,n)}}(TA.API),TA.API.processRGBA=function(t,A,e){for(var r=t.data,n=r.length,i=new Uint8Array(n/4*3),s=new Uint8Array(n/4),a=0,c=0,h=0;h<n;h+=4){var u=r[h],p=r[h+1],w=r[h+2],d=r[h+3];i[a++]=u,i[a++]=p,i[a++]=w,s[c++]=d}var v=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:v,index:A,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},TA.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ss=TA.API,Ea=ss.getCharWidthsArray=function(t,A){var e,r,n=(A=A||{}).font||this.internal.getFont(),i=A.fontSize||this.internal.getFontSize(),s=A.charSpace||this.internal.getCharSpace(),a=A.widths?A.widths:n.metadata.Unicode.widths,c=a.fof?a.fof:1,h=A.kerning?A.kerning:n.metadata.Unicode.kerning,u=h.fof?h.fof:1,p=A.doKerning!==!1,w=0,d=t.length,v=0,F=a[0]||c,L=[];for(e=0;e<d;e++)r=t.charCodeAt(e),typeof n.metadata.widthOfString=="function"?L.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+s*(1e3/i)||0)/1e3):(w=p&&St(h[r])==="object"&&!isNaN(parseInt(h[r][v],10))?h[r][v]/u:0,L.push((a[r]||F)/c+w)),v=r;return L},bd=ss.getStringUnitWidth=function(t,A){var e=(A=A||{}).fontSize||this.internal.getFontSize(),r=A.font||this.internal.getFont(),n=A.charSpace||this.internal.getCharSpace();return ss.processArabic&&(t=ss.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,n)/e:Ea.apply(this,arguments).reduce(function(i,s){return i+s},0)},yd=function(t,A,e,r){for(var n=[],i=0,s=t.length,a=0;i!==s&&a+A[i]<e;)a+=A[i],i++;n.push(t.slice(0,i));var c=i;for(a=0;i!==s;)a+A[i]>r&&(n.push(t.slice(c,i)),a=0,c=i),a+=A[i],i++;return c!==i&&n.push(t.slice(c,i)),n},Fd=function(t,A,e){e||(e={});var r,n,i,s,a,c,h,u=[],p=[u],w=e.textIndent||0,d=0,v=0,F=t.split(" "),L=Ea.apply(this,[" ",e])[0];if(c=e.lineIndent===-1?F[0].length+2:e.lineIndent||0){var b=Array(c).join(" "),M=[];F.map(function(S){(S=S.split(/\s*\n/)).length>1?M=M.concat(S.map(function(AA,sA){return(sA&&AA.length?`
149`:"")+AA})):M.push(S[0])}),F=M,c=bd.apply(this,[b,e])}for(i=0,s=F.length;i<s;i++){var T=0;if(r=F[i],c&&r[0]==`
150`&&(r=r.substr(1),T=1),w+d+(v=(n=Ea.apply(this,[r,e])).reduce(function(S,AA){return S+AA},0))>A||T){if(v>A){for(a=yd.apply(this,[r,n,A-(w+d),A]),u.push(a.shift()),u=[a.pop()];a.length;)p.push([a.shift()]);v=n.slice(r.length-(u[0]?u[0].length:0)).reduce(function(S,AA){return S+AA},0)}else u=[r];p.push(u),w=v+c,d=L}else u.push(r),w+=d+v,d=L}return h=c?function(S,AA){return(AA?b:"")+S.join(" ")}:function(S){return S.join(" ")},p.map(h)},ss.splitTextToSize=function(t,A,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=(function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var p=this.internal.getFont(u.fontName,u.fontStyle),w="Unicode";return p.metadata[w]?{widths:p.metadata[w].widths||{0:1},kerning:p.metadata[w].kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*A/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var a,c,h=[];for(a=0,c=r.length;a<c;a++)h=h.concat(Fd.apply(this,[r[a],s,i]));return h},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var A="0123456789abcdef",e="klmnopqrstuvwxyz",r={},n={},i=0;i<16;i++)r[e[i]]=A[i],n[A[i]]=e[i];var s=function(w){return"0x"+parseInt(w,10).toString(16)},a=t.__fontmetrics__.compress=function(w){var d,v,F,L,b=["{"];for(var M in w){if(d=w[M],isNaN(parseInt(M,10))?v="'"+M+"'":(M=parseInt(M,10),v=(v=s(M).slice(2)).slice(0,-1)+n[v.slice(-1)]),typeof d=="number")d<0?(F=s(d).slice(3),L="-"):(F=s(d).slice(2),L=""),F=L+F.slice(0,-1)+n[F.slice(-1)];else{if(St(d)!=="object")throw new Error("Don't know what to do with value type "+St(d)+".");F=a(d)}b.push(v+F)}return b.push("}"),b.join("")},c=t.__fontmetrics__.uncompress=function(w){if(typeof w!="string")throw new Error("Invalid argument passed to uncompress.");for(var d,v,F,L,b={},M=1,T=b,S=[],AA="",sA="",Z=w.length-1,j=1;j<Z;j+=1)(L=w[j])=="'"?d?(F=d.join(""),d=void 0):d=[]:d?d.push(L):L=="{"?(S.push([T,F]),T={},F=void 0):L=="}"?((v=S.pop())[0][v[1]]=T,F=void 0,T=v[0]):L=="-"?M=-1:F===void 0?r.hasOwnProperty(L)?(AA+=r[L],F=parseInt(AA,16)*M,M=1,AA=""):AA+=L:r.hasOwnProperty(L)?(sA+=r[L],T[F]=parseInt(sA,16)*M,M=1,F=void 0,sA=""):sA+=L;return b},h={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:h,"Courier-Bold":h,"Courier-BoldOblique":h,"Courier-Oblique":h,Helvetica:h,"Helvetica-Bold":h,"Helvetica-BoldOblique":h,"Helvetica-Oblique":h,"Times-Roman":h,"Times-Bold":h,"Times-BoldItalic":h,"Times-Italic":h}},p
vendor: 14,693 bytes, line 150
150={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'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":c("{'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:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'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:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'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":c("{'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:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'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":c("{'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":c("{'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}}}")}};
vendor: 45,102 bytes, lines 150-178
150t.events.push(["addFont",function(w){var d=w.font,v=p.Unicode[d.postScriptName];v&&(d.metadata.Unicode={},d.metadata.Unicode.widths=v.widths,d.metadata.Unicode.kerning=v.kerning);var F=u.Unicode[d.postScriptName];F&&(d.metadata.Unicode.encoding=F,d.encoding=F.codePages[0])}])}(TA.API),function(t){var A=function(e){for(var r=e.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=e.charCodeAt(i);return n};t.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(i===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if(typeof(r=i.existsFileInVFS(n.postScriptName)===!1?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");(function(s,a){a=/^\x00\x01\x00\x00/.test(a)?A(a):A(Na(a)),s.metadata=t.API.TTFFont.open(a),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(n,r)}}])}(TA),TA.API.addSvgAsImage=function(t,A,e,r,n,i,s,a){if(isNaN(A)||isNaN(e))throw It.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(n))throw It.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=r,c.height=n;var h=c.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,c.width,c.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return(YA.canvg?Promise.resolve(YA.canvg):Gc(()=>import("./index.es-KuxyM94N.js"),__vite__mapDeps([0,1,2,3]))).catch(function(w){return Promise.reject(new Error("Could not load canvg: "+w))}).then(function(w){return w.default?w.default:w}).then(function(w){return w.fromString(h,t,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(w){return w.render(u)}).then(function(){p.addImage(c.toDataURL("image/jpeg",1),A,e,r,n,s,a)})},TA.API.putTotalPages=function(t){var A,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(A=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(A=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(A,e);return this},TA.API.viewerPreferences=function(t,A){var e;t=t||{},A=A||!1;var r,n,i,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(s),c=[],h=0,u=0,p=0;function w(v,F){var L,b=!1;for(L=0;L<v.length;L+=1)v[L]===F&&(b=!0);return b}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||A===!0){var d=a.length;for(p=0;p<d;p+=1)e[a[p]].value=e[a[p]].defaultValue,e[a[p]].explicitSet=!1}if(St(t)==="object"){for(n in t)if(i=t[n],w(a,n)&&i!==void 0){if(e[n].type==="boolean"&&typeof i=="boolean")e[n].value=i;else if(e[n].type==="name"&&w(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(h=0;h<i.length;h+=1)if(r=!0,i[h].length===1&&typeof i[h][0]=="number")c.push(String(i[h]-1));else if(i[h].length>1){for(u=0;u<i[h].length;u+=1)typeof i[h][u]!="number"&&(r=!1);r===!0&&c.push([i[h][0]-1,i[h][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 v,F=[];for(v in e)e[v].explicitSet===!0&&(e[v].type==="name"?F.push("/"+v+" /"+e[v].value):F.push("/"+v+" "+e[v].value));F.length!==0&&this.internal.write(`/ViewerPreferences
151<<
152`+F.join(`
153`)+`
154>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},TA.API.addMetadata=function(t,A){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceUri:A??"http://jspdf.default.namespaceuri/",rawXml:typeof A=="boolean"&&A},this.internal.events.subscribe("putCatalog",Py),this.internal.events.subscribe("postPutResources",Oy)),this},function(t){var A=t.API,e=A.pdfEscape16=function(i,s){for(var a,c=s.metadata.Unicode.widths,h=["","0","00","000","0000"],u=[""],p=0,w=i.length;p<w;++p){if(a=s.metadata.characterToGlyph(i.charCodeAt(p)),s.metadata.glyIdsUsed.push(a),s.metadata.toUnicode[a]=i.charCodeAt(p),c.indexOf(a)==-1&&(c.push(a),c.push([parseInt(s.metadata.widthOfGlyph(a),10)])),a=="0")return u.join("");a=a.toString(16),u.push(h[4-a.length],a)}return u.join("")},r=function(i){var s,a,c,h,u,p,w;for(u=`/CIDInit /ProcSet findresource begin
15512 dict begin
156begincmap
157/CIDSystemInfo <<
158  /Registry (Adobe)
159  /Ordering (UCS)
160  /Supplement 0
161>> def
162/CMapName /Adobe-Identity-UCS def
163/CMapType 2 def
1641 begincodespacerange
165<0000><ffff>
166endcodespacerange`,c=[],p=0,w=(a=Object.keys(i).sort(function(d,v){return d-v})).length;p<w;p++)s=a[p],c.length>=100&&(u+=`
167`+c.length+` beginbfchar
168`+c.join(`
169`)+`
170endbfchar`,c=[]),i[s]!==void 0&&i[s]!==null&&typeof i[s].toString=="function"&&(h=("0000"+i[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),c.push("<"+s+"><"+h+">"));return c.length&&(u+=`
171`+c.length+` beginbfchar
172`+c.join(`
173`)+`
174endbfchar
175`),u+`endcmap
176CMapName currentdict /CMap defineresource pop
177end
178end`};A.events.push(["putFont",function(i){(function(s){var a=s.font,c=s.out,h=s.newObject,u=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="Identity-H"){for(var p=a.metadata.Unicode.widths,w=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),d="",v=0;v<w.length;v++)d+=String.fromCharCode(w[v]);var F=h();u({data:d,addLength1:!0,objectId:F}),c("endobj");var L=h();u({data:r(a.metadata.toUnicode),addLength1:!0,objectId:L}),c("endobj");var b=h();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+cs(a.fontName)),c("/FontFile2 "+F+" 0 R"),c("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),c("/Flags "+a.metadata.flags),c("/StemV "+a.metadata.stemV),c("/ItalicAngle "+a.metadata.italicAngle),c("/Ascent "+a.metadata.ascender),c("/Descent "+a.metadata.decender),c("/CapHeight "+a.metadata.capHeight),c(">>"),c("endobj");var M=h();c("<<"),c("/Type /Font"),c("/BaseFont /"+cs(a.fontName)),c("/FontDescriptor "+b+" 0 R"),c("/W "+t.API.PDFObject.convert(p)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+a.encoding+")"),c(">>"),c(">>"),c("endobj"),a.objectNumber=h(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+L+" 0 R"),c("/BaseFont /"+cs(a.fontName)),c("/Encoding /"+a.encoding),c("/DescendantFonts ["+M+" 0 R]"),c(">>"),c("endobj"),a.isAlreadyPutted=!0}})(i)}]),A.events.push(["putFont",function(i){(function(s){var a=s.font,c=s.out,h=s.newObject,u=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="WinAnsiEncoding"){for(var p=a.metadata.rawData,w="",d=0;d<p.length;d++)w+=String.fromCharCode(p[d]);var v=h();u({data:w,addLength1:!0,objectId:v}),c("endobj");var F=h();u({data:r(a.metadata.toUnicode),addLength1:!0,objectId:F}),c("endobj");var L=h();c("<<"),c("/Descent "+a.metadata.decender),c("/CapHeight "+a.metadata.capHeight),c("/StemV "+a.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+v+" 0 R"),c("/Flags 96"),c("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),c("/FontName /"+cs(a.fontName)),c("/ItalicAngle "+a.metadata.italicAngle),c("/Ascent "+a.metadata.ascender),c(">>"),c("endobj"),a.objectNumber=h();for(var b=0;b<a.metadata.hmtx.widths.length;b++)a.metadata.hmtx.widths[b]=parseInt(a.metadata.hmtx.widths[b]*(1e3/a.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+F+" 0 R/BaseFont/"+cs(a.fontName)+"/FontDescriptor "+L+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),c("endobj"),a.isAlreadyPutted=!0}})(i)}]);var n=function(i){var s,a=i.text||"",c=i.x,h=i.y,u=i.options||{},p=i.mutex||{},w=p.pdfEscape,d=p.activeFontKey,v=p.fonts,F=d,L="",b=0,M="",T=v[F].encoding;if(v[F].encoding!=="Identity-H")return{text:a,x:c,y:h,options:u,mutex:p};for(M=a,F=d,Array.isArray(a)&&(M=a[0]),b=0;b<M.length;b+=1)v[F].metadata.hasOwnProperty("cmap")&&(s=v[F].metadata.cmap.unicode.codeMap[M[b].charCodeAt(0)]),s||M[b].charCodeAt(0)<256&&v[F].metadata.hasOwnProperty("Unicode")?L+=M[b]:L+="";var S="";return parseInt(F.slice(1))<14||T==="WinAnsiEncoding"?S=w(L,F).split("").map(function(AA){return AA.charCodeAt(0).toString(16)}).join(""):T==="Identity-H"&&(S=e(L,v[F])),p.isHex=!0,{text:S,x:c,y:h,options:u,mutex:p}};A.events.push(["postProcessText",function(i){var s=i.text||"",a=[],c={text:s,x:i.x,y:i.y,options:i.options,mutex:i.mutex};if(Array.isArray(s)){var h=0;for(h=0;h<s.length;h+=1)Array.isArray(s[h])&&s[h].length===3?a.push([n(Object.assign({},c,{text:s[h][0]})).text,s[h][1],s[h][2]]):a.push(n(Object.assign({},c,{text:s[h]})).text);i.text=a}else i.text=n(Object.assign({},c,{text:s})).text}])}(TA),function(t){var A=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,r){return A.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return A.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}}(TA.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var n,i,s,a,c,h,u,p=A,w=[[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]],d=[[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]],v={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},F={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},L=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],b=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)$/),M=!1,T=0;this.__bidiEngine__={};var S=function(E){var N=E.charCodeAt(),G=N>>8,K=F[G];return K!==void 0?p[256*K+(255&N)]:G===252||G===253?"AL":b.test(G)?"L":G===8?"R":"N"},AA=function(E){for(var N,G=0;G<E.length;G++){if((N=S(E.charAt(G)))==="L")return!1;if(N==="R")return!0}return!1},sA=function(E,N,G,K){var iA,cA,uA,nA,dA=N[K];switch(dA){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":M=!1;break;case"N":case"AN":break;case"EN":M&&(dA="AN");break;case"AL":M=!0,dA="R";break;case"WS":case"BN":dA="N";break;case"CS":K<1||K+1>=N.length||(iA=G[K-1])!=="EN"&&iA!=="AN"||(cA=N[K+1])!=="EN"&&cA!=="AN"?dA="N":M&&(cA="AN"),dA=cA===iA?cA:"N";break;case"ES":dA=(iA=K>0?G[K-1]:"B")==="EN"&&K+1<N.length&&N[K+1]==="EN"?"EN":"N";break;case"ET":if(K>0&&G[K-1]==="EN"){dA="EN";break}if(M){dA="N";break}for(uA=K+1,nA=N.length;uA<nA&&N[uA]==="ET";)uA++;dA=uA<nA&&N[uA]==="EN"?"EN":"N";break;case"NSM":if(s&&!a){for(nA=N.length,uA=K+1;uA<nA&&N[uA]==="NSM";)uA++;if(uA<nA){var FA=E[K],mA=FA>=1425&&FA<=2303||FA===64286;if(iA=N[uA],mA&&(iA==="R"||iA==="AL")){dA="R";break}}}dA=K<1||(iA=N[K-1])==="B"?"N":G[K-1];break;case"B":M=!1,n=!0,dA=T;break;case"S":i=!0,dA="N"}return dA},Z=function(E,N,G){var K=E.split("");return G&&j(K,G,{hiLevel:T}),K.reverse(),N&&N.reverse(),K.join("")},j=function(E,N,G){var K,iA,cA,uA,nA,dA=-1,FA=E.length,mA=0,U=[],O=T?d:w,R=[];for(M=!1,n=!1,i=!1,iA=0;iA<FA;iA++)R[iA]=S(E[iA]);for(cA=0;cA<FA;cA++){if(nA=mA,U[cA]=sA(E,R,U,cA),K=240&(mA=O[nA][v[U[cA]]]),mA&=15,N[cA]=uA=O[mA][5],K>0)if(K===16){for(iA=dA;iA<cA;iA++)N[iA]=1;dA=-1}else dA=-1;if(O[mA][6])dA===-1&&(dA=cA);else if(dA>-1){for(iA=dA;iA<cA;iA++)N[iA]=uA;dA=-1}R[cA]==="B"&&(N[cA]=0),G.hiLevel|=uA}i&&function(q,z,tA){for(var oA=0;oA<tA;oA++)if(q[oA]==="S"){z[oA]=T;for(var aA=oA-1;aA>=0&&q[aA]==="WS";aA--)z[aA]=T}}(R,N,FA)},P=function(E,N,G,K,iA){if(!(iA.hiLevel<E)){if(E===1&&T===1&&!n)return N.reverse(),void(G&&G.reverse());for(var cA,uA,nA,dA,FA=N.length,mA=0;mA<FA;){if(K[mA]>=E){for(nA=mA+1;nA<FA&&K[nA]>=E;)nA++;for(dA=mA,uA=nA-1;dA<uA;dA++,uA--)cA=N[dA],N[dA]=N[uA],N[uA]=cA,G&&(cA=G[dA],G[dA]=G[uA],G[uA]=cA);mA=nA}mA++}}},Y=function(E,N,G){var K=E.split(""),iA={hiLevel:T};return G||(G=[]),j(K,G,iA),function(cA,uA,nA){if(nA.hiLevel!==0&&u)for(var dA,FA=0;FA<cA.length;FA++)uA[FA]===1&&(dA=L.indexOf(cA[FA]))>=0&&(cA[FA]=L[dA+1])}(K,G,iA),P(2,K,N,G,iA),P(1,K,N,G,iA),K.join("")};return this.__bidiEngine__.doBidiReorder=function(E,N,G){if(function(iA,cA){if(cA)for(var uA=0;uA<iA.length;uA++)cA[uA]=uA;a===void 0&&(a=AA(iA)),h===void 0&&(h=AA(iA))}(E,N),s||!c||h)if(s&&c&&a^h)T=a?1:0,E=Z(E,N,G);else if(!s&&c&&h)T=a?1:0,E=Y(E,N,G),E=Z(E,N);else if(!s||a||c||h){if(s&&!c&&a^h)E=Z(E,N),a?(T=0,E=Y(E,N,G)):(T=1,E=Y(E,N,G),E=Z(E,N));else if(s&&a&&!c&&h)T=1,E=Y(E,N,G),E=Z(E,N);else if(!s&&!c&&a^h){var K=u;a?(T=1,E=Y(E,N,G),T=0,u=!1,E=Y(E,N,G),u=K):(T=0,E=Y(E,N,G),E=Z(E,N),T=1,u=!1,E=Y(E,N,G),u=K,E=Z(E,N))}}else T=0,E=Y(E,N,G);else T=a?1:0,E=Y(E,N,G);return E},this.__bidiEngine__.setOptions=function(E){E&&(s=E.isInputVisual,c=E.isOutputVisual,a=E.isInputRtl,h=E.isOutputRtl,u=E.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var A=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var n=r.text;r.x,r.y;var i=r.options||{};r.mutex,i.lang;var s=[];if(i.isInputVisual=typeof i.isInputVisual!="boolean"||i.isInputVisual,e.setOptions(i),Object.prototype.toString.call(n)==="[object Array]"){var a=0;for(s=[],a=0;a<n.length;a+=1)Object.prototype.toString.call(n[a])==="[object Array]"?s.push([e.doBidiReorder(n[a][0]),n[a][1],n[a][2]]):s.push([e.doBidiReorder(n[a])]);r.text=s}else r.text=e.doBidiReorder(n);e.setOptions({isInputVisual:!0})}])}(TA),TA.API.TTFFont=function(){function t(A){var e;if(this.rawData=A,e=this.contents=new Rn(A),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new tF(this),this.registerTTF()}return t.open=function(A){return new t(A)},t.prototype.parse=function(){return this.directory=new Ry(this.contents),this.head=new Vy(this),this.name=new Xy(this),this.cmap=new Mg(this),this.toUnicode={},this.hhea=new Gy(this),this.maxp=new zy(this),this.hmtx=new Jy(this),this.post=new qy(this),this.os2=new jy(this),this.loca=new AF(this),this.glyf=new Yy(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var A,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,a,c,h;for(h=[],s=0,a=(c=this.bbox).length;s<a;s++)A=c[s],h.push(Math.round(A*this.scaleFactor));return h}).call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(e=n>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(i=this.familyClass)===1||i===2||i===3||i===4||i===5||i===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(A){var e;return((e=this.cmap.unicode)!=null?e.codeMap[A]:void 0)||0},t.prototype.widthOfGlyph=function(A){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*e},t.prototype.widthOfString=function(A,e,r){var n,i,s,a;for(s=0,i=0,a=(A=""+A).length;0<=a?i<a:i>a;i=0<=a?++i:--i)n=A.charCodeAt(i),s+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return s*(e/1e3)},t.prototype.lineHeight=function(A,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*A},t}();var Nr,Rn=function(){function t(A){this.data=A??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(A){return this.data[this.pos++]=A},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},t.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},t.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},t.prototype.readString=function(A){var e,r;for(r=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(A){var e,r,n;for(n=[],e=0,r=A.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(A.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(A){return this.writeInt16(A)},t.prototype.readLongLong=function(){var A,e,r,n,i,s,a,c;return A=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),s=this.readByte(),a=this.readByte(),c=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^s)+256*(255^a)+(255^c)+1):72057594037927940*A+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*s+256*a+c},t.prototype.writeLongLong=function(A){var e,r;return e=Math.floor(A/4294967296),r=4294967295&A,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(A){return this.writeInt32(A)},t.prototype.read=function(A){var e,r;for(e=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(A){var e,r,n,i;for(i=[],r=0,n=A.length;r<n;r++)e=A[r],i.push(this.writeByte(e));return i},t}(),Ry=function(){var t;function A(e){var r,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return A.prototype.encode=function(e){var r,n,i,s,a,c,h,u,p,w,d,v,F;for(F in d=Object.keys(e).length,c=Math.log(2),p=16*Math.floor(Math.log(d)/c),s=Math.floor(p/c),u=16*d-p,(n=new Rn).writeInt(this.scalarType),n.writeShort(d),n.writeShort(p),n.writeShort(s),n.writeShort(u),i=16*d,h=n.pos+i,a=null,v=[],e)for(w=e[F],n.writeString(F),n.writeInt(t(w)),n.writeInt(h),n.writeInt(w.length),v=v.concat(w),F==="head"&&(a=h),h+=w.length;h%4;)v.push(0),h++;return n.write(v),r=2981146554-t(n.data),n.pos=a+8,n.writeUInt32(r),n.data},t=function(e){var r,n,i,s;for(e=Tg.call(e);e.length%4;)e.push(0);for(i=new Rn(e),n=0,r=0,s=e.length;r<s;r=r+=4)n+=i.readUInt32();return 4294967295&n},A}(),Ky={}.hasOwnProperty,Jr=function(t,A){for(var e in A)Ky.call(A,e)&&(t[e]=A[e]);function r(){this.constructor=t}return r.prototype=A.prototype,t.prototype=new r,t.__super__=A.prototype,t};Nr=function(){function t(A){var e;this.file=A,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var Vy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="head",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},t.prototype.encode=function(A){var e;return(e=new Rn).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(A),e.writeShort(this.glyphDataFormat),e.data},t}(),Nd=function(){function t(A,e){var r,n,i,s,a,c,h,u,p,w,d,v,F,L,b,M,T;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=e+A.readInt(),p=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(d=A.readUInt16(),w=d/2,A.pos+=6,i=function(){var S,AA;for(AA=[],c=S=0;0<=w?S<w:S>w;c=0<=w?++S:--S)AA.push(A.readUInt16());return AA}(),A.pos+=2,F=function(){var S,AA;for(AA=[],c=S=0;0<=w?S<w:S>w;c=0<=w?++S:--S)AA.push(A.readUInt16());return AA}(),h=function(){var S,AA;for(AA=[],c=S=0;0<=w?S<w:S>w;c=0<=w?++S:--S)AA.push(A.readUInt16());return AA}(),u=function(){var S,AA;for(AA=[],c=S=0;0<=w?S<w:S>w;c=0<=w?++S:--S)AA.push(A.readUInt16());return AA}(),n=(this.length-A.pos+this.offset)/2,a=function(){var S,AA;for(AA=[],c=S=0;0<=n?S<n:S>n;c=0<=n?++S:--S)AA.push(A.readUInt16());return AA}(),c=b=0,T=i.length;b<T;c=++b)for(L=i[c],r=M=v=F[c];v<=L?M<=L:M>=L;r=v<=L?++M:--M)u[c]===0?s=r+h[c]:(s=a[u[c]/2+(r-v)-(w-c)]||0)!==0&&(s+=h[c]),this.codeMap[r]=65535&s}A.pos=p}return t.encode=function(A,e){var r,n,i,s,a,c,h,u,p,w,d,v,F,L,b,M,T,S,AA,sA,Z,j,P,Y,E,N,G,K,iA,cA,uA,nA,dA,FA,mA,U,O,R,q,z,tA,oA,aA,BA,yA,LA;switch(K=new Rn,s=Object.keys(A).sort(function(UA,PA){return UA-PA}),e){case"macroman":for(F=0,L=function(){var UA=[];for(v=0;v<256;++v)UA.push(0);return UA}(),M={0:0},i={},iA=0,dA=s.length;iA<dA;iA++)M[aA=A[n=s[iA]]]==null&&(M[aA]=++F),i[n]={old:A[n],new:M[A[n]]},L[n]=M[A[n]];return K.writeUInt16(1),K.writeUInt16(0),K.writeUInt32(12),K.writeUInt16(0),K.writeUInt16(262),K.writeUInt16(0),K.write(L),{charMap:i,subtable:K.data,maxGlyphID:F+1};case"unicode":for(N=[],p=[],T=0,M={},r={},b=h=null,cA=0,FA=s.length;cA<FA;cA++)M[AA=A[n=s[cA]]]==null&&(M[AA]=++T),r[n]={old:AA,new:M[AA]},a=M[AA]-n,b!=null&&a===h||(b&&p.push(b),N.push(n),h=a),b=n;for(b&&p.push(b),p.push(65535),N.push(65535),Y=2*(P=N.length),j=2*Math.pow(Math.log(P)/Math.LN2,2),w=Math.log(j/2)/Math.LN2,Z=2*P-j,c=[],sA=[],d=[],v=uA=0,mA=N.length;uA<mA;v=++uA){if(E=N[v],u=p[v],E===65535){c.push(0),sA.push(0);break}if(E-(G=r[E].new)>=32768)for(c.push(0),sA.push(2*(d.length+P-v)),n=nA=E;E<=u?nA<=u:nA>=u;n=E<=u?++nA:--nA)d.push(r[n].new);else c.push(G-E),sA.push(0)}for(K.writeUInt16(3),K.writeUInt16(1),K.writeUInt32(12),K.writeUInt16(4),K.writeUInt16(16+8*P+2*d.length),K.writeUInt16(0),K.writeUInt16(Y),K.writeUInt16(j),K.writeUInt16(w),K.writeUInt16(Z),tA=0,U=p.length;tA<U;tA++)n=p[tA],K.writeUInt16(n);for(K.writeUInt16(0),oA=0,O=N.length;oA<O;oA++)n=N[oA],K.writeUInt16(n);for(BA=0,R=c.length;BA<R;BA++)a=c[BA],K.writeUInt16(a);for(yA=0,q=sA.length;yA<q;yA++)S=sA[yA],K.writeUInt16(S);for(LA=0,z=d.length;LA<z;LA++)F=d[LA],K.writeUInt16(F);return{charMap:r,subtable:K.data,maxGlyphID:T+1}}},t}(),Mg=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="cmap",t.prototype.parse=function(A){var e,r,n;for(A.pos=this.offset,this.version=A.readUInt16(),n=A.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new Nd(A,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(A,e){var r,n;return e==null&&(e="macroman"),r=Nd.encode(A,e),(n=new Rn).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(),Gy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="hhea",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},t}(),jy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="OS/2",t.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(A.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(A.readInt());return r}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(A.readInt());return r}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},t}(),qy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="post",t.prototype.parse=function(A){var e,r,n;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(r=A.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],n=[];A.pos<this.offset+this.length;)e=A.readByte(),n.push(this.names.push(A.readString(e)));return n;case 151552:return r=A.readUInt16(),this.offsets=A.read(r);case 262144:return this.map=(function(){var s,a,c;for(c=[],i=s=0,a=this.file.maxp.numGlyphs;0<=a?s<a:s>a;i=0<=a?++s:--s)c.push(A.readUInt32());return c}).call(this)}},t}(),Wy=function(t,A){this.raw=t,this.length=t.length,this.platformID=A.platformID,this.encodingID=A.encodingID,this.languageID=A.languageID},Xy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="name",t.prototype.parse=function(A){var e,r,n,i,s,a,c,h,u,p,w;for(A.pos=this.offset,A.readShort(),e=A.readShort(),a=A.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+a+A.readShort()});for(c={},i=u=0,p=r.length;u<p;i=++u)n=r[i],A.pos=n.offset,h=A.readString(n.length),s=new Wy(h,n),c[w=n.nameID]==null&&(c[w]=[]),c[n.nameID].push(s);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfamily=c[2],this.uniqueSubfamily=c[3],this.fontName=c[4],this.version=c[5];try{this.postscriptName=c[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=c[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=c[7],this.manufacturer=c[8],this.designer=c[9],this.description=c[10],this.vendorUrl=c[11],this.designerUrl=c[12],this.license=c[13],this.licenseUrl=c[14],this.preferredFamily=c[15],this.preferredSubfamily=c[17],this.compatibleFull=c[18],this.sampleText=c[19]},t}(),zy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="maxp",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},t}(),Jy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="hmtx",t.prototype.parse=function(A){var e,r,n,i,s,a,c;for(A.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var h,u;for(u=[],e=h=0;0<=n?h<n:h>n;e=0<=n?++h:--h)u.push(A.readInt16());return u}(),this.widths=(function(){var h,u,p,w;for(w=[],h=0,u=(p=this.metrics).length;h<u;h++)i=p[h],w.push(i.advance);return w}).call(this),r=this.widths[this.widths.length-1],c=[],e=s=0;0<=n?s<n:s>n;e=0<=n?++s:--s)c.push(this.widths.push(r));return c},t.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},t}(),Tg=[].slice,Yy=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(A){var e,r,n,i,s,a,c,h,u,p;return A in this.cache?this.cache[A]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(A),(n=i.lengthOf(A))===0?this.cache[A]=null:(e.pos=this.offset+r,s=(a=new Rn(e.read(n))).readShort(),h=a.readShort(),p=a.readShort(),c=a.readShort(),u=a.readShort(),this.cache[A]=s===-1?new $y(a,h,p,c,u):new Zy(a,s,h,p,c,u),this.cache[A]))},t.prototype.encode=function(A,e,r){var n,i,s,a,c;for(s=[],i=[],a=0,c=e.length;a<c;a++)n=A[e[a]],i.push(s.length),n&&(s=s.concat(n.encode(r)));return i.push(s.length),{table:s,offsets:i}},t}(),Zy=function(){function t(A,e,r,n,i,s){this.raw=A,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),$y=function(){function t(A,e,r,n,i){var s,a;for(this.raw=A,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;a=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&a;)s.pos+=1&a?4:2,128&a?s.pos+=8:64&a?s.pos+=4:8&a&&(s.pos+=2)}return t.prototype.encode=function(){var A,e,r;for(e=new Rn(Tg.call(this.raw.data)),A=0,r=this.glyphIDs.length;A<r;++A)e.pos=this.glyphOffsets[A];return e.data},t}(),AF=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Jr(t,Nr),t.prototype.tag="loca",t.prototype.parse=function(A){var e,r;return A.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?(function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=2)i.push(2*A.readUInt16());return i}).call(this):(function(){var n,i;for(i=[],r=0,n=this.length;r<n;r+=4)i.push(A.readUInt32());return i}).call(this)},t.prototype.indexOf=function(A){return this.offsets[A]},t.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]}
178,t.prototype.encode=function(A,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,s=0;s<r.length;++s)if(r[s]=n,i<e.length&&e[i]==s){++i,r[s]=n;var a=this.offsets[s],c=this.offsets[s+1]-a;c>0&&(n+=c)}for(var h=new Array(4*r.length),u=0;u<r.length;++u)h[4*u+3]=255&r[u],h[4*u+2]=(65280&r[u])>>8,h[4*u+1]=(16711680&r[u])>>16,h[4*u]=(4278190080&r[u])>>24;return h},t}(),tF=function(){function t(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var A,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,A={},i=this.subset)r=i[e],A[e]=n[r];return A},t.prototype.glyphsFor=function(A){var e,r,n,i,s,a,c;for(n={},s=0,a=A.length;s<a;s++)n[i=A[s]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(r=n[i])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in c=this.glyphsFor(e))r=c[i],n[i]=r;return n},t.prototype.encode=function(A,e){var r,n,i,s,a,c,h,u,p,w,d,v,F,L,b;for(n in r=Mg.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(A),d={0:0},b=r.charMap)d[(c=b[n]).old]=c.new;for(v in w=r.maxGlyphID,s)v in d||(d[v]=w++);return u=function(M){var T,S;for(T in S={},M)S[M[T]]=T;return S}(d),p=Object.keys(u).sort(function(M,T){return M-T}),F=function(){var M,T,S;for(S=[],M=0,T=p.length;M<T;M++)a=p[M],S.push(u[a]);return S}(),i=this.font.glyf.encode(s,F,d),h=this.font.loca.encode(i.offsets,F),L={cmap:this.font.cmap.raw(),glyf:i.table,loca:h,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&&(L["OS/2"]=this.font.os2.raw()),this.font.directory.encode(L)},t}();TA.API.PDFObject=function(){var t;function A(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},A.convert=function(e){var r,n,i,s;if(Array.isArray(e))return"["+function(){var a,c,h;for(h=[],a=0,c=e.length;a<c;a++)r=e[a],h.push(A.convert(r));return h}().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e!=null&&e.isString)return"("+e+")";if(e instanceof Date)return"(D:"+t(e.getUTCFullYear(),4)+t(e.getUTCMonth(),2)+t(e.getUTCDate(),2)+t(e.getUTCHours(),2)+t(e.getUTCMinutes(),2)+t(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(n in i=["<<"],e)s=e[n],i.push("/"+n+" "+A.convert(s));return i.push(">>"),i.join(`
179`)}return""+e},A}();const eF=t=>{t.documentElement.classList.remove("dark"),t.body.classList.remove("dark"),t.querySelectorAll(".dark").forEach(e=>e.classList.remove("dark")),t.documentElement&&t.documentElement.style.setProperty("background-color","#ffffff","important"),t.body&&t.body.style.setProperty("background-color","#ffffff","important");const A=t.createElement("style");A.innerHTML=`
180    :root, .dark, *, ::before, ::after {
181      --background: #ffffff !important;
182      --foreground: #0f172a !important;
183      --card: #ffffff !important;
184      --card-foreground: #0f172a !important;
185      --popover: #ffffff !important;
186      --popover-foreground: #0f172a !important;
187      --primary: #0f172a !important;
188      --primary-foreground: #f8fafc !important;
189      --secondary: #f1f5f9 !important;
190      --secondary-foreground: #0f172a !important;
191      --muted: #f1f5f9 !important;
192      --muted-foreground: #64748b !important;
193      --accent: #f1f5f9 !important;
194      --accent-foreground: #0f172a !important;
195      --destructive: #ef4444 !important;
196      --destructive-foreground: #f8fafc !important;
197      --border: #e2e8f0 !important;
198      --input: #e2e8f0 !important;
199      --ring: #0f172a !important;
200      
201      --surface-1: #f8fafc !important;
202      --surface-2: #f1f5f9 !important;
203      --surface-3: #e2e8f0 !important;
204      --text-tertiary: #94a3b8 !important;
205      --brand-primary: #10b981 !important;
206      --brand-text: #059669 !important;
207      --success: #10b981 !important;
208      --success-foreground: #ffffff !important;
209      
210      --chart-1: #3b82f6 !important;
211      --chart-2: #ef4444 !important;
212      --chart-3: #10b981 !important;
213      --chart-4: #f59e0b !important;
214      
215      border-color: #e2e8f0;
216      outline-color: transparent;
217      text-decoration-color: transparent;
218    }
219  `,t.head.appendChild(A)};async function rF(t,A={}){const{filename:e="documento.pdf",margin:r=[10,10,10,10],scale:n=2,quality:i=.98,format:s="a4",orientation:a="portrait",forceLightMode:c=!0,onclone:h}=A,[u,p,w,d]=Array.isArray(r)?r:[r,r,r,r],v=a==="landscape"?297:210,F=a==="landscape"?210:297,L=v-d-p,b=F-u-w,M=await ah(t,{scale:n,useCORS:!0,logging:!1,backgroundColor:"#ffffff",onclone:sA=>{c&&eF(sA),h&&h(sA)}}),T=new TA({orientation:a,unit:"mm",format:s}
219),S=M.width/L,AA=Math.floor(b*S);if(M.height<=AA){const sA=M.toDataURL("image/jpeg",i),Z=M.height*L/M.width;T.addImage(sA,"JPEG",d,u,L,Z)}else{const sA=document.createElement("canvas");sA.width=M.width;const Z=sA.getContext("2d");let j=0,P=0;for(;j<M.height;){const Y=Math.min(AA,M.height-j);sA.height=Y,Z&&(Z.fillStyle="#ffffff",Z.fillRect(0,0,sA.width,sA.height),Z.drawImage(M,0,j,M.width,Y,0,0,M.width,Y));const E=sA.toDataURL("image/jpeg",i),N=Y*L/M.width;P>0&&T.addPage(s,a),T.addImage(E,"JPEG",d,u,L,N),j+=Y,P++}}T.save(e)}function cF(){let t=null,A={};const e={set(r){return A={...A,...r},e},from(r){return t=r,e},async save(r){var u,p,w,d;if(!t)throw new Error("Nenhum elemento fornecido para exportação de PDF.");const n=r||A.filename||"documento.pdf",i=A.margin??[10,10,10,10],s=((u=A.html2canvas)==null?void 0:u.scale)??2,a=(p=A.html2canvas)==null?void 0:p.onclone,c=((w=A.jsPDF)==null?void 0:w.format)??"a4",h=((d=A.jsPDF)==null?void 0:d.orientation)??"portrait";return rF(t,{filename:n,margin:i,scale:s,format:c,orientation:h,onclone:a})}};return e}export{rF as default,rF as exportHtmlToPdf,cF as html2pdf};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.