module.exports=[254,a=>{"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=function(a,b){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])})(a,b)};function y(a,b){if("function"!=typeof b&&null!==b)throw TypeError("Class extends value "+String(b)+" is not a constructor or null");function c(){this.constructor=a}x(a,b),a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}var z=function(){return(z=Object.assign||function(a){for(var b,c=1,d=arguments.length;c0&&e[e.length-1])&&(6===i[0]||2===i[0])){g=0;continue}if(3===i[0]&&(!e||i[1]>e[0]&&i[1]=55296&&e<=56319&&c>10)+55296,g%1024+56320)),(e+1===c||d.length>16384)&&(f+=String.fromCharCode.apply(String,d),d.length=0)}return f},H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I="undefined"==typeof Uint8Array?[]:new Uint8Array(256),J=0;J=0){if(a<55296||a>56319&&a<=65535)return b=((b=this.index[a>>5])<<2)+(31&a),this.data[b];if(a<=65535)return b=((b=this.index[2048+(a-55296>>5)])<<2)+(31&a),this.data[b];if(a>11),b=this.index[b]+(a>>5&63),b=((b=this.index[b])<<2)+(31&a),this.data[b];if(a<=1114111)return this.data[this.highValueIndex]}return this.errorValue},a}(),Q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R="undefined"==typeof Uint8Array?[]:new Uint8Array(256),S=0;S>4,k[i++]=(15&d)<<4|e>>2,k[i++]=(3&e)<<6|63&f;return j}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="))?function(a){for(var b=a.length,c=[],d=0;d50?(e.push(!0),g-=50):e.push(!1),-1!==["normal","auto","loose"].indexOf(b)&&-1!==[8208,8211,12316,12448].indexOf(a))return d.push(f),c.push(16);if(4===g||11===g){if(0===f)return d.push(f),c.push(30);var h=c[f-1];return -1===Z.indexOf(h)?(d.push(d[f-1]),c.push(h)):(d.push(f),c.push(30))}if(d.push(f),31===g)return c.push("strict"===b?21:37);if(42===g||29===g)return c.push(30);if(43===g)if(a>=131072&&a<=196605||a>=196608&&a<=262141)return c.push(37);else return c.push(30);c.push(g)}),[d,c,e]},ab=function(a,b,c,d){var e=d[c];if(Array.isArray(a)?-1!==a.indexOf(e):a===e)for(var f=c;f<=d.length;){var g=d[++f];if(g===b)return!0;if(10!==g)break}if(10===e)for(var f=c;f>0;){var h=d[--f];if(Array.isArray(a)?-1!==a.indexOf(h):a===h)for(var i=c;i<=d.length;){var g=d[++i];if(g===b)return!0;if(10!==g)break}if(10!==h)break}return!1},ac=function(a,b){for(var c=a;c>=0;){var d=b[c];if(10!==d)return d;c--}return 0},ad=function(a,b,c,d,e){if(0===c[d])return"×";var f=d-1;if(Array.isArray(e)&&!0===e[f])return"×";var g=f-1,h=f+1,i=b[f],j=g>=0?b[g]:0,k=b[h];if(2===i&&3===k)return"×";if(-1!==W.indexOf(i))return"!";if(-1!==W.indexOf(k)||-1!==X.indexOf(k))return"×";if(8===ac(f,b))return"÷";if(11===U.get(a[f])||(32===i||33===i)&&11===U.get(a[h])||7===i||7===k||9===i||-1===[10,13,15].indexOf(i)&&9===k||-1!==[17,18,19,24,28].indexOf(k)||22===ac(f,b)||ab(23,22,f,b)||ab([17,18],21,f,b)||ab(12,12,f,b))return"×";if(10===i)return"÷";if(23===i||23===k)return"×";if(16===k||16===i)return"÷";if(-1!==[13,15,21].indexOf(k)||14===i||36===j&&-1!==_.indexOf(i)||28===i&&36===k||20===k||-1!==V.indexOf(k)&&25===i||-1!==V.indexOf(i)&&25===k||27===i&&-1!==[37,32,33].indexOf(k)||-1!==[37,32,33].indexOf(i)&&26===k||-1!==V.indexOf(i)&&-1!==Y.indexOf(k)||-1!==Y.indexOf(i)&&-1!==V.indexOf(k)||-1!==[27,26].indexOf(i)&&(25===k||-1!==[22,15].indexOf(k)&&25===b[h+1])||-1!==[22,15].indexOf(i)&&25===k||25===i&&-1!==[25,28,24].indexOf(k))return"×";if(-1!==[25,28,24,17,18].indexOf(k))for(var l=f;l>=0;){var m=b[l];if(25===m)return"×";if(-1!==[28,24].indexOf(m))l--;else break}if(-1!==[27,26].indexOf(k))for(var l=-1!==[17,18].indexOf(i)?g:f;l>=0;){var m=b[l];if(25===m)return"×";if(-1!==[28,24].indexOf(m))l--;else break}if(38===i&&-1!==[38,39,34,35].indexOf(k)||-1!==[39,34].indexOf(i)&&-1!==[39,40].indexOf(k)||-1!==[40,35].indexOf(i)&&40===k||-1!==$.indexOf(i)&&-1!==[20,26].indexOf(k)||-1!==$.indexOf(k)&&27===i||-1!==V.indexOf(i)&&-1!==V.indexOf(k)||24===i&&-1!==V.indexOf(k)||-1!==V.concat(25).indexOf(i)&&22===k&&-1===T.indexOf(a[h])||-1!==V.concat(25).indexOf(k)&&18===i)return"×";if(41===i&&41===k){for(var n=c[f],o=1;n>0;)if(41===b[--n])o++;else break;if(o%2!=0)return"×"}return 32===i&&33===k?"×":"÷"},ae=function(a,b){b||(b={lineBreak:"normal",wordBreak:"normal"});var c=aa(a,b.lineBreak),d=c[0],e=c[1],f=c[2];return("break-all"===b.wordBreak||"break-word"===b.wordBreak)&&(e=e.map(function(a){return -1!==[25,30,42].indexOf(a)?37:a})),[d,e,"keep-all"===b.wordBreak?f.map(function(b,c){return b&&a[c]>=19968&&a[c]<=40959}):void 0]},af=function(){function a(a,b,c,d){this.codePoints=a,this.required="!"===b,this.start=c,this.end=d}return a.prototype.slice=function(){return G.apply(void 0,this.codePoints.slice(this.start,this.end))},a}(),ag=function(a,b){var c=F(a),d=ae(c,b),e=d[0],f=d[1],g=d[2],h=c.length,i=0,j=0;return{next:function(){if(j>=h)return{done:!0,value:null};for(var a="×";j=48&&a<=57},ai=function(a){return ah(a)||a>=65&&a<=70||a>=97&&a<=102},aj=function(a){return a>=97&&a<=122||a>=65&&a<=90},ak=function(a){return 10===a||9===a||32===a},al=function(a){return aj(a)||a>=128||95===a},am=function(a){return al(a)||ah(a)||45===a},an=function(a,b){return 92===a&&10!==b},ao=function(a,b,c){return 45===a?al(b)||an(b,c):!!(al(a)||92===a&&an(a,b))||!1},ap=function(a,b,c){return 43===a||45===a?!!ah(b)||46===b&&ah(c):46===a?ah(b):ah(a)},aq=function(a){var b=0,c=1;(43===a[0]||45===a[b])&&(45===a[b]&&(c=-1),b++);for(var d=[];ah(a[b]);)d.push(a[b++]);var e=d.length?parseInt(G.apply(void 0,d),10):0;46===a[b]&&b++;for(var f=[];ah(a[b]);)f.push(a[b++]);var g=f.length,h=g?parseInt(G.apply(void 0,f),10):0;(69===a[b]||101===a[b])&&b++;var i=1;(43===a[b]||45===a[b])&&(45===a[b]&&(i=-1),b++);for(var j=[];ah(a[b]);)j.push(a[b++]);return c*(e+h*Math.pow(10,-g))*Math.pow(10,i*(j.length?parseInt(G.apply(void 0,j),10):0))},ar={type:2},as={type:3},at={type:4},au={type:13},av={type:8},aw={type:21},ax={type:9},ay={type:10},az={type:11},aA={type:12},aB={type:14},aC={type:23},aD={type:1},aE={type:25},aF={type:24},aG={type:26},aH={type:27},aI={type:28},aJ={type:29},aK={type:31},aL={type:32},aM=function(){function a(){this._value=[]}return a.prototype.write=function(a){this._value=this._value.concat(F(a))},a.prototype.read=function(){for(var a=[],b=this.consumeToken();b!==aL;)a.push(b),b=this.consumeToken();return a},a.prototype.consumeToken=function(){var a=this.consumeCodePoint();switch(a){case 34:return this.consumeStringToken(34);case 35:var b=this.peekCodePoint(0),c=this.peekCodePoint(1),d=this.peekCodePoint(2);if(am(b)||an(c,d)){var e=ao(b,c,d)?2:1,f=this.consumeName();return{type:5,value:f,flags:e}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),au;break;case 39:return this.consumeStringToken(39);case 40:return ar;case 41:return as;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),aB;break;case 43:case 46:if(ap(a,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(a),this.consumeNumericToken();break;case 44:return at;case 45:var g=this.peekCodePoint(0),h=this.peekCodePoint(1);if(ap(a,g,h))return this.reconsumeCodePoint(a),this.consumeNumericToken();if(ao(a,g,h))return this.reconsumeCodePoint(a),this.consumeIdentLikeToken();if(45===g&&62===h)return this.consumeCodePoint(),this.consumeCodePoint(),aF;break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var i=this.consumeCodePoint();if(42===i&&47===(i=this.consumeCodePoint())||-1===i)return this.consumeToken()}break;case 58:return aG;case 59:return aH;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),aE;break;case 64:if(ao(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2))){var f=this.consumeName();return{type:7,value:f}}break;case 91:return aI;case 92:if(an(a,this.peekCodePoint(0)))return this.reconsumeCodePoint(a),this.consumeIdentLikeToken();break;case 93:return aJ;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),av;break;case 123:return az;case 125:return aA;case 117:case 85:var j=this.peekCodePoint(0),k=this.peekCodePoint(1);return 43===j&&(ai(k)||63===k)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(a),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ax;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),aw;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ay;break;case -1:return aL}return ak(a)?(this.consumeWhiteSpace(),aK):ah(a)?(this.reconsumeCodePoint(a),this.consumeNumericToken()):al(a)?(this.reconsumeCodePoint(a),this.consumeIdentLikeToken()):{type:6,value:G(a)}},a.prototype.consumeCodePoint=function(){var a=this._value.shift();return void 0===a?-1:a},a.prototype.reconsumeCodePoint=function(a){this._value.unshift(a)},a.prototype.peekCodePoint=function(a){return a>=this._value.length?-1:this._value[a]},a.prototype.consumeUnicodeRangeToken=function(){for(var a=[],b=this.consumeCodePoint();ai(b)&&a.length<6;)a.push(b),b=this.consumeCodePoint();for(var c=!1;63===b&&a.length<6;)a.push(b),b=this.consumeCodePoint(),c=!0;if(c){var d=parseInt(G.apply(void 0,a.map(function(a){return 63===a?48:a})),16),e=parseInt(G.apply(void 0,a.map(function(a){return 63===a?70:a})),16);return{type:30,start:d,end:e}}var f=parseInt(G.apply(void 0,a),16);if(!(45===this.peekCodePoint(0)&&ai(this.peekCodePoint(1))))return{type:30,start:f,end:f};this.consumeCodePoint(),b=this.consumeCodePoint();for(var g=[];ai(b)&&g.length<6;)g.push(b),b=this.consumeCodePoint();var e=parseInt(G.apply(void 0,g),16);return{type:30,start:f,end:e}},a.prototype.consumeIdentLikeToken=function(){var a=this.consumeName();return"url"===a.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:a}):{type:20,value:a}},a.prototype.consumeUrlToken=function(){var a=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var b=this.peekCodePoint(0);if(39===b||34===b){var c=this.consumeStringToken(this.consumeCodePoint());return 0===c.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:c.value}):(this.consumeBadUrlRemnants(),aC)}for(;;){var d,e=this.consumeCodePoint();if(-1===e||41===e)return{type:22,value:G.apply(void 0,a)};if(ak(e)){if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))return this.consumeCodePoint(),{type:22,value:G.apply(void 0,a)};return this.consumeBadUrlRemnants(),aC}if(34===e||39===e||40===e||(d=e)>=0&&d<=8||11===d||d>=14&&d<=31||127===d)return this.consumeBadUrlRemnants(),aC;if(92===e)if(!an(e,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),aC;else a.push(this.consumeEscapedCodePoint());else a.push(e)}},a.prototype.consumeWhiteSpace=function(){for(;ak(this.peekCodePoint(0));)this.consumeCodePoint()},a.prototype.consumeBadUrlRemnants=function(){for(;;){var a=this.consumeCodePoint();if(41===a||-1===a)return;an(a,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},a.prototype.consumeStringSlice=function(a){for(var b="";a>0;){var c=Math.min(5e4,a);b+=G.apply(void 0,this._value.splice(0,c)),a-=c}return this._value.shift(),b},a.prototype.consumeStringToken=function(a){for(var b="",c=0;;){var d=this._value[c];if(-1===d||void 0===d||d===a)return{type:0,value:b+=this.consumeStringSlice(c)};if(10===d)return this._value.splice(0,c),aD;if(92===d){var e=this._value[c+1];-1!==e&&void 0!==e&&(10===e?(b+=this.consumeStringSlice(c),c=-1,this._value.shift()):an(d,e)&&(b+=this.consumeStringSlice(c),b+=G(this.consumeEscapedCodePoint()),c=-1))}c++}},a.prototype.consumeNumber=function(){var a=[],b=4,c=this.peekCodePoint(0);for((43===c||45===c)&&a.push(this.consumeCodePoint());ah(this.peekCodePoint(0));)a.push(this.consumeCodePoint());c=this.peekCodePoint(0);var d=this.peekCodePoint(1);if(46===c&&ah(d))for(a.push(this.consumeCodePoint(),this.consumeCodePoint()),b=8;ah(this.peekCodePoint(0));)a.push(this.consumeCodePoint());c=this.peekCodePoint(0),d=this.peekCodePoint(1);var e=this.peekCodePoint(2);if((69===c||101===c)&&((43===d||45===d)&&ah(e)||ah(d)))for(a.push(this.consumeCodePoint(),this.consumeCodePoint()),b=8;ah(this.peekCodePoint(0));)a.push(this.consumeCodePoint());return[aq(a),b]},a.prototype.consumeNumericToken=function(){var a=this.consumeNumber(),b=a[0],c=a[1],d=this.peekCodePoint(0);return ao(d,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:b,flags:c,unit:this.consumeName()}:37===d?(this.consumeCodePoint(),{type:16,number:b,flags:c}):{type:17,number:b,flags:c}},a.prototype.consumeEscapedCodePoint=function(){var a=this.consumeCodePoint();if(ai(a)){for(var b=G(a);ai(this.peekCodePoint(0))&&b.length<6;)b+=G(this.consumeCodePoint());ak(this.peekCodePoint(0))&&this.consumeCodePoint();var c=parseInt(b,16);return 0===c||c>=55296&&c<=57343||c>1114111?65533:c}return -1===a?65533:a},a.prototype.consumeName=function(){for(var a="";;){var b=this.consumeCodePoint();if(am(b))a+=G(b);else{if(!an(b,this.peekCodePoint(0)))return this.reconsumeCodePoint(b),a;a+=G(this.consumeEscapedCodePoint())}}},a}(),aN=function(){function a(a){this._tokens=a}return a.create=function(b){var c=new aM;return c.write(b),new a(c.read())},a.parseValue=function(b){return a.create(b).parseComponentValue()},a.parseValues=function(b){return a.create(b).parseComponentValues()},a.prototype.parseComponentValue=function(){for(var a=this.consumeToken();31===a.type;)a=this.consumeToken();if(32===a.type)throw SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(a);var b=this.consumeComponentValue();do a=this.consumeToken();while(31===a.type)if(32===a.type)return b;throw SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},a.prototype.parseComponentValues=function(){for(var a=[];;){var b=this.consumeComponentValue();if(32===b.type)return a;a.push(b),a.push()}},a.prototype.consumeComponentValue=function(){var a=this.consumeToken();switch(a.type){case 11:case 28:case 2:return this.consumeSimpleBlock(a.type);case 19:return this.consumeFunction(a)}return a},a.prototype.consumeSimpleBlock=function(a){for(var b={type:a,values:[]},c=this.consumeToken();;){if(32===c.type||aW(c,a))return b;this.reconsumeToken(c),b.values.push(this.consumeComponentValue()),c=this.consumeToken()}},a.prototype.consumeFunction=function(a){for(var b={name:a.value,values:[],type:18};;){var c=this.consumeToken();if(32===c.type||3===c.type)return b;this.reconsumeToken(c),b.values.push(this.consumeComponentValue())}},a.prototype.consumeToken=function(){var a=this._tokens.shift();return void 0===a?aL:a},a.prototype.reconsumeToken=function(a){this._tokens.unshift(a)},a}(),aO=function(a){return 15===a.type},aP=function(a){return 17===a.type},aQ=function(a){return 20===a.type},aR=function(a){return 0===a.type},aS=function(a,b){return aQ(a)&&a.value===b},aT=function(a){return 31!==a.type},aU=function(a){return 31!==a.type&&4!==a.type},aV=function(a){var b=[],c=[];return a.forEach(function(a){if(4===a.type){if(0===c.length)throw Error("Error parsing function args, zero tokens for arg");b.push(c),c=[];return}31!==a.type&&c.push(a)}),c.length&&b.push(c),b},aW=function(a,b){return 11===b&&12===a.type||28===b&&29===a.type||2===b&&3===a.type},aX=function(a){return 17===a.type||15===a.type},aY=function(a){return 16===a.type||aX(a)},aZ=function(a){return a.length>1?[a[0],a[1]]:[a[0]]},a$={type:17,number:0,flags:4},a_={type:16,number:50,flags:4},a0={type:16,number:100,flags:4},a1=function(a,b,c){var d=a[0],e=a[1];return[a2(d,b),a2(void 0!==e?e:d,c)]},a2=function(a,b){if(16===a.type)return a.number/100*b;if(aO(a))switch(a.unit){case"rem":case"em":return 16*a.number}return a.number},a3="grad",a4="turn",a5=function(a,b){if(15===b.type)switch(b.unit){case"deg":return Math.PI*b.number/180;case a3:return Math.PI/200*b.number;case"rad":return b.number;case a4:return 2*Math.PI*b.number}throw Error("Unsupported angle type")},a6=function(a){return 15===a.type&&("deg"===a.unit||a.unit===a3||"rad"===a.unit||a.unit===a4)},a7=function(a){switch(a.filter(aQ).map(function(a){return a.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[a$,a$];case"to top":case"bottom":return a8(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[a$,a0];case"to right":case"left":return a8(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[a0,a0];case"to bottom":case"top":return a8(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[a0,a$];case"to left":case"right":return a8(270)}return 0},a8=function(a){return Math.PI*a/180},a9=function(a,b){if(18===b.type){var c=bh[b.name];if(void 0===c)throw Error('Attempting to parse an unsupported color function "'+b.name+'"');return c(a,b.values)}if(5===b.type){if(3===b.value.length){var d=b.value.substring(0,1),e=b.value.substring(1,2),f=b.value.substring(2,3);return bc(parseInt(d+d,16),parseInt(e+e,16),parseInt(f+f,16),1)}if(4===b.value.length){var d=b.value.substring(0,1),e=b.value.substring(1,2),f=b.value.substring(2,3),g=b.value.substring(3,4);return bc(parseInt(d+d,16),parseInt(e+e,16),parseInt(f+f,16),parseInt(g+g,16)/255)}if(6===b.value.length){var d=b.value.substring(0,2),e=b.value.substring(2,4),f=b.value.substring(4,6);return bc(parseInt(d,16),parseInt(e,16),parseInt(f,16),1)}if(8===b.value.length){var d=b.value.substring(0,2),e=b.value.substring(2,4),f=b.value.substring(4,6),g=b.value.substring(6,8);return bc(parseInt(d,16),parseInt(e,16),parseInt(f,16),parseInt(g,16)/255)}}if(20===b.type){var h=bj[b.value.toUpperCase()];if(void 0!==h)return h}return bj.TRANSPARENT},ba=function(a){return(255&a)==0},bb=function(a){var b=255&a,c=255&a>>8,d=255&a>>16,e=255&a>>24;return b<255?"rgba("+e+","+d+","+c+","+b/255+")":"rgb("+e+","+d+","+c+")"},bc=function(a,b,c,d){return(a<<24|b<<16|c<<8|(0|Math.round(255*d)))>>>0},bd=function(a,b){if(17===a.type)return a.number;if(16===a.type){var c=3===b?1:255;return 3===b?a.number/100*c:Math.round(a.number/100*c)}return 0},be=function(a,b){var c=b.filter(aU);if(3===c.length){var d=c.map(bd),e=d[0],f=d[1],g=d[2];return bc(e,f,g,1)}if(4===c.length){var h=c.map(bd),e=h[0],f=h[1],g=h[2];return bc(e,f,g,h[3])}return 0};function bf(a,b,c){return(c<0&&(c+=1),c>=1&&(c-=1),c<1/6)?(b-a)*c*6+a:c<.5?b:c<2/3?(b-a)*6*(2/3-c)+a:a}var bg=function(a,b){var c=b.filter(aU),d=c[0],e=c[1],f=c[2],g=c[3],h=(17===d.type?a8(d.number):a5(a,d))/(2*Math.PI),i=aY(e)?e.number/100:0,j=aY(f)?f.number/100:0,k=void 0!==g&&aY(g)?a2(g,1):1;if(0===i)return bc(255*j,255*j,255*j,1);var l=j<=.5?j*(i+1):j+i-j*i,m=2*j-l;return bc(255*bf(m,l,h+1/3),255*bf(m,l,h),255*bf(m,l,h-1/3),k)},bh={hsl:bg,hsla:bg,rgb:be,rgba:be},bi=function(a,b){return a9(a,aN.create(b).parseComponentValue())},bj={ALICEBLUE:0xf0f8ffff,ANTIQUEWHITE:0xfaebd7ff,AQUA:0xffffff,AQUAMARINE:0x7fffd4ff,AZURE:0xf0ffffff,BEIGE:0xf5f5dcff,BISQUE:0xffe4c4ff,BLACK:255,BLANCHEDALMOND:0xffebcdff,BLUE:65535,BLUEVIOLET:0x8a2be2ff,BROWN:0xa52a2aff,BURLYWOOD:0xdeb887ff,CADETBLUE:0x5f9ea0ff,CHARTREUSE:0x7fff00ff,CHOCOLATE:0xd2691eff,CORAL:0xff7f50ff,CORNFLOWERBLUE:0x6495edff,CORNSILK:0xfff8dcff,CRIMSON:0xdc143cff,CYAN:0xffffff,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:0xb886bbff,DARKGRAY:0xa9a9a9ff,DARKGREEN:6553855,DARKGREY:0xa9a9a9ff,DARKKHAKI:0xbdb76bff,DARKMAGENTA:0x8b008bff,DARKOLIVEGREEN:0x556b2fff,DARKORANGE:0xff8c00ff,DARKORCHID:0x9932ccff,DARKRED:0x8b0000ff,DARKSALMON:0xe9967aff,DARKSEAGREEN:0x8fbc8fff,DARKSLATEBLUE:0x483d8bff,DARKSLATEGRAY:0x2f4f4fff,DARKSLATEGREY:0x2f4f4fff,DARKTURQUOISE:0xced1ff,DARKVIOLET:0x9400d3ff,DEEPPINK:0xff1493ff,DEEPSKYBLUE:0xbfffff,DIMGRAY:0x696969ff,DIMGREY:0x696969ff,DODGERBLUE:0x1e90ffff,FIREBRICK:0xb22222ff,FLORALWHITE:0xfffaf0ff,FORESTGREEN:0x228b22ff,FUCHSIA:0xff00ffff,GAINSBORO:0xdcdcdcff,GHOSTWHITE:0xf8f8ffff,GOLD:0xffd700ff,GOLDENROD:0xdaa520ff,GRAY:0x808080ff,GREEN:8388863,GREENYELLOW:0xadff2fff,GREY:0x808080ff,HONEYDEW:0xf0fff0ff,HOTPINK:0xff69b4ff,INDIANRED:0xcd5c5cff,INDIGO:0x4b0082ff,IVORY:0xfffff0ff,KHAKI:0xf0e68cff,LAVENDER:0xe6e6faff,LAVENDERBLUSH:0xfff0f5ff,LAWNGREEN:0x7cfc00ff,LEMONCHIFFON:0xfffacdff,LIGHTBLUE:0xadd8e6ff,LIGHTCORAL:0xf08080ff,LIGHTCYAN:0xe0ffffff,LIGHTGOLDENRODYELLOW:0xfafad2ff,LIGHTGRAY:0xd3d3d3ff,LIGHTGREEN:0x90ee90ff,LIGHTGREY:0xd3d3d3ff,LIGHTPINK:0xffb6c1ff,LIGHTSALMON:0xffa07aff,LIGHTSEAGREEN:0x20b2aaff,LIGHTSKYBLUE:0x87cefaff,LIGHTSLATEGRAY:0x778899ff,LIGHTSLATEGREY:0x778899ff,LIGHTSTEELBLUE:0xb0c4deff,LIGHTYELLOW:0xffffe0ff,LIME:0xff00ff,LIMEGREEN:0x32cd32ff,LINEN:0xfaf0e6ff,MAGENTA:0xff00ffff,MAROON:0x800000ff,MEDIUMAQUAMARINE:0x66cdaaff,MEDIUMBLUE:52735,MEDIUMORCHID:0xba55d3ff,MEDIUMPURPLE:0x9370dbff,MEDIUMSEAGREEN:0x3cb371ff,MEDIUMSLATEBLUE:0x7b68eeff,MEDIUMSPRINGGREEN:0xfa9aff,MEDIUMTURQUOISE:0x48d1ccff,MEDIUMVIOLETRED:0xc71585ff,MIDNIGHTBLUE:0x191970ff,MINTCREAM:0xf5fffaff,MISTYROSE:0xffe4e1ff,MOCCASIN:0xffe4b5ff,NAVAJOWHITE:0xffdeadff,NAVY:33023,OLDLACE:0xfdf5e6ff,OLIVE:0x808000ff,OLIVEDRAB:0x6b8e23ff,ORANGE:0xffa500ff,ORANGERED:0xff4500ff,ORCHID:0xda70d6ff,PALEGOLDENROD:0xeee8aaff,PALEGREEN:0x98fb98ff,PALETURQUOISE:0xafeeeeff,PALEVIOLETRED:0xdb7093ff,PAPAYAWHIP:0xffefd5ff,PEACHPUFF:0xffdab9ff,PERU:0xcd853fff,PINK:0xffc0cbff,PLUM:0xdda0ddff,POWDERBLUE:0xb0e0e6ff,PURPLE:0x800080ff,REBECCAPURPLE:0x663399ff,RED:0xff0000ff,ROSYBROWN:0xbc8f8fff,ROYALBLUE:0x4169e1ff,SADDLEBROWN:0x8b4513ff,SALMON:0xfa8072ff,SANDYBROWN:0xf4a460ff,SEAGREEN:0x2e8b57ff,SEASHELL:0xfff5eeff,SIENNA:0xa0522dff,SILVER:0xc0c0c0ff,SKYBLUE:0x87ceebff,SLATEBLUE:0x6a5acdff,SLATEGRAY:0x708090ff,SLATEGREY:0x708090ff,SNOW:0xfffafaff,SPRINGGREEN:0xff7fff,STEELBLUE:0x4682b4ff,TAN:0xd2b48cff,TEAL:8421631,THISTLE:0xd8bfd8ff,TOMATO:0xff6347ff,TRANSPARENT:0,TURQUOISE:0x40e0d0ff,VIOLET:0xee82eeff,WHEAT:0xf5deb3ff,WHITE:0xffffffff,WHITESMOKE:0xf5f5f5ff,YELLOW:0xffff00ff,YELLOWGREEN:0x9acd32ff},bk={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(a,b){return b.map(function(a){if(aQ(a))switch(a.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},bl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bm=function(a,b){var c=a9(a,b[0]),d=b[1];return d&&aY(d)?{color:c,stop:d}:{color:c,stop:null}},bn=function(a,b){var c=a[0],d=a[a.length-1];null===c.stop&&(c.stop=a$),null===d.stop&&(d.stop=a0);for(var e=[],f=0,g=0;gf?e.push(i):e.push(f),f=i}else e.push(null)}for(var j=null,g=0;ga.optimumDistance)?{optimumCorner:b,optimumDistance:f}:a},{optimumDistance:e?1/0:-1/0,optimumCorner:null}).optimumCorner},bs=function(a,b,c,d,e){var f=0,g=0;switch(a.size){case 0:0===a.shape?f=g=Math.min(Math.abs(b),Math.abs(b-d),Math.abs(c),Math.abs(c-e)):1===a.shape&&(f=Math.min(Math.abs(b),Math.abs(b-d)),g=Math.min(Math.abs(c),Math.abs(c-e)));break;case 2:if(0===a.shape)f=g=Math.min(bq(b,c),bq(b,c-e),bq(b-d,c),bq(b-d,c-e));else if(1===a.shape){var h=Math.min(Math.abs(c),Math.abs(c-e))/Math.min(Math.abs(b),Math.abs(b-d)),i=br(d,e,b,c,!0),j=i[0],k=i[1];f=bq(j-b,(k-c)/h),g=h*f}break;case 1:0===a.shape?f=g=Math.max(Math.abs(b),Math.abs(b-d),Math.abs(c),Math.abs(c-e)):1===a.shape&&(f=Math.max(Math.abs(b),Math.abs(b-d)),g=Math.max(Math.abs(c),Math.abs(c-e)));break;case 3:if(0===a.shape)f=g=Math.max(bq(b,c),bq(b,c-e),bq(b-d,c),bq(b-d,c-e));else if(1===a.shape){var h=Math.max(Math.abs(c),Math.abs(c-e))/Math.max(Math.abs(b),Math.abs(b-d)),l=br(d,e,b,c,!1),j=l[0],k=l[1];f=bq(j-b,(k-c)/h),g=h*f}}return Array.isArray(a.size)&&(f=a2(a.size[0],d),g=2===a.size.length?a2(a.size[1],e):f),[f,g]},bt=function(a,b){var c=a8(180),d=[];return aV(b).forEach(function(b,e){if(0===e){var f=b[0];if(20===f.type&&-1!==["top","left","right","bottom"].indexOf(f.value)){c=a7(b);return}if(a6(f)){c=(a5(a,f)+a8(270))%a8(360);return}}var g=bm(a,b);d.push(g)}),{angle:c,stops:d,type:1}},bu="closest-side",bv="farthest-side",bw="closest-corner",bx="farthest-corner",by="circle",bz="ellipse",bA="cover",bB="contain",bC=function(a,b){var c=0,d=3,e=[],f=[];return aV(b).forEach(function(b,g){var h=!0;if(0===g?h=b.reduce(function(a,b){if(aQ(b))switch(b.value){case"center":return f.push(a_),!1;case"top":case"left":return f.push(a$),!1;case"right":case"bottom":return f.push(a0),!1}else if(aY(b)||aX(b))return f.push(b),!1;return a},h):1===g&&(h=b.reduce(function(a,b){if(aQ(b))switch(b.value){case by:return c=0,!1;case bz:return c=1,!1;case bB:case bu:return d=0,!1;case bv:return d=1,!1;case bw:return d=2,!1;case bA:case bx:return d=3,!1}else if(aX(b)||aY(b))return Array.isArray(d)||(d=[]),d.push(b),!1;return a},h)),h){var i=bm(a,b);e.push(i)}}),{size:d,shape:c,stops:e,position:f,type:2}},bD=function(a,b){if(22===b.type){var c={url:b.value,type:0};return a.cache.addImage(b.value),c}if(18===b.type){var d=bE[b.name];if(void 0===d)throw Error('Attempting to parse an unsupported image function "'+b.name+'"');return d(a,b.values)}throw Error("Unsupported image type "+b.type)},bE={"linear-gradient":function(a,b){var c=a8(180),d=[];return aV(b).forEach(function(b,e){if(0===e){var f=b[0];if(20===f.type&&"to"===f.value){c=a7(b);return}if(a6(f)){c=a5(a,f);return}}var g=bm(a,b);d.push(g)}),{angle:c,stops:d,type:1}},"-moz-linear-gradient":bt,"-ms-linear-gradient":bt,"-o-linear-gradient":bt,"-webkit-linear-gradient":bt,"radial-gradient":function(a,b){var c=0,d=3,e=[],f=[];return aV(b).forEach(function(b,g){var h=!0;if(0===g){var i=!1;h=b.reduce(function(a,b){if(i)if(aQ(b))switch(b.value){case"center":f.push(a_);break;case"top":case"left":f.push(a$);break;case"right":case"bottom":f.push(a0)}else(aY(b)||aX(b))&&f.push(b);else if(aQ(b))switch(b.value){case by:return c=0,!1;case bz:return c=1,!1;case"at":return i=!0,!1;case bu:return d=0,!1;case bA:case bv:return d=1,!1;case bB:case bw:return d=2,!1;case bx:return d=3,!1}else if(aX(b)||aY(b))return Array.isArray(d)||(d=[]),d.push(b),!1;return a},h)}if(h){var j=bm(a,b);e.push(j)}}),{size:d,shape:c,stops:e,position:f,type:2}},"-moz-radial-gradient":bC,"-ms-radial-gradient":bC,"-o-radial-gradient":bC,"-webkit-radial-gradient":bC,"-webkit-gradient":function(a,b){var c=a8(180),d=[],e=1;return aV(b).forEach(function(b,c){var f=b[0];if(0===c){if(aQ(f)&&"linear"===f.value){e=1;return}else if(aQ(f)&&"radial"===f.value){e=2;return}}if(18===f.type){if("from"===f.name){var g=a9(a,f.values[0]);d.push({stop:a$,color:g})}else if("to"===f.name){var g=a9(a,f.values[0]);d.push({stop:a0,color:g})}else if("color-stop"===f.name){var h=f.values.filter(aU);if(2===h.length){var g=a9(a,h[1]),i=h[0];aP(i)&&d.push({stop:{type:16,number:100*i.number,flags:i.flags},color:g})}}}}),1===e?{angle:(c+a8(180))%a8(360),stops:d,type:e}:{size:3,shape:0,stops:d,position:[],type:e}}},bF={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(a,b){if(0===b.length)return[];var c=b[0];return 20===c.type&&"none"===c.value?[]:b.filter(function(a){var b;return aU(a)&&(20!==(b=a).type||"none"!==b.value)&&(18!==b.type||!!bE[b.name])}).map(function(b){return bD(a,b)})}},bG={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(a,b){return b.map(function(a){if(aQ(a))switch(a.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},bH={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(a,b){return aV(b).map(function(a){return a.filter(aY)}).map(aZ)}},bI={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(a,b){return aV(b).map(function(a){return a.filter(aQ).map(function(a){return a.value}).join(" ")}).map(bJ)}},bJ=function(a){switch(a){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}};(h=s||(s={})).AUTO="auto",h.CONTAIN="contain",h.COVER="cover";var bK={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(a,b){return aV(b).map(function(a){return a.filter(bL)})}},bL=function(a){return aQ(a)||aY(a)},bM=function(a){return{name:"border-"+a+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},bN=bM("top"),bO=bM("right"),bP=bM("bottom"),bQ=bM("left"),bR=function(a){return{name:"border-radius-"+a,initialValue:"0 0",prefix:!1,type:1,parse:function(a,b){return aZ(b.filter(aY))}}},bS=bR("top-left"),bT=bR("top-right"),bU=bR("bottom-right"),bV=bR("bottom-left"),bW=function(a){return{name:"border-"+a+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(a,b){switch(b){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},bX=bW("top"),bY=bW("right"),bZ=bW("bottom"),b$=bW("left"),b_=function(a){return{name:"border-"+a+"-width",initialValue:"0",type:0,prefix:!1,parse:function(a,b){return aO(b)?b.number:0}}},b0=b_("top"),b1=b_("right"),b2=b_("bottom"),b3=b_("left"),b4={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},b5={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(a,b){return+("rtl"===b)}},b6={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(a,b){return b.filter(aQ).reduce(function(a,b){return a|b7(b.value)},0)}},b7=function(a){switch(a){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 0x1000000;case"inline-block":return 0x2000000;case"inline-list-item":return 0x4000000;case"inline-table":return 0x8000000;case"inline-flex":return 0x10000000;case"inline-grid":return 0x20000000}return 0},b8={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(a,b){switch(b){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},b9={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(a,b){return 20===b.type&&"normal"===b.value?0:17===b.type||15===b.type?b.number:0}};(i=t||(t={})).NORMAL="normal",i.STRICT="strict";var ca={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(a,b){return"strict"===b?t.STRICT:t.NORMAL}},cb={name:"line-height",initialValue:"normal",prefix:!1,type:4},cc=function(a,b){return aQ(a)&&"normal"===a.value?1.2*b:17===a.type?b*a.number:aY(a)?a2(a,b):b},cd={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(a,b){return 20===b.type&&"none"===b.value?null:bD(a,b)}},ce={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(a,b){return+("inside"!==b)}},cf={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(a,b){switch(b){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return -1}}},cg=function(a){return{name:"margin-"+a,initialValue:"0",prefix:!1,type:4}},ch=cg("top"),ci=cg("right"),cj=cg("bottom"),ck=cg("left"),cl={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(a,b){return b.filter(aQ).map(function(a){switch(a.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},cm={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(a,b){return"break-word"===b?"break-word":"normal"}},cn=function(a){return{name:"padding-"+a,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},co=cn("top"),cp=cn("right"),cq=cn("bottom"),cr=cn("left"),cs={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(a,b){switch(b){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},ct={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(a,b){switch(b){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},cu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(a,b){return 1===b.length&&aS(b[0],"none")?[]:aV(b).map(function(b){for(var c={color:bj.TRANSPARENT,offsetX:a$,offsetY:a$,blur:a$},d=0,e=0;e1)],this.overflowWrap=c_(a,cm,b.overflowWrap),this.paddingTop=c_(a,co,b.paddingTop),this.paddingRight=c_(a,cp,b.paddingRight),this.paddingBottom=c_(a,cq,b.paddingBottom),this.paddingLeft=c_(a,cr,b.paddingLeft),this.paintOrder=c_(a,cV,b.paintOrder),this.position=c_(a,ct,b.position),this.textAlign=c_(a,cs,b.textAlign),this.textDecorationColor=c_(a,cG,null!=(c=b.textDecorationColor)?c:b.color),this.textDecorationLine=c_(a,cH,null!=(d=b.textDecorationLine)?d:b.textDecoration),this.textShadow=c_(a,cu,b.textShadow),this.textTransform=c_(a,cv,b.textTransform),this.transform=c_(a,cw,b.transform),this.transformOrigin=c_(a,cA,b.transformOrigin),this.visibility=c_(a,cB,b.visibility),this.webkitTextStrokeColor=c_(a,cW,b.webkitTextStrokeColor),this.webkitTextStrokeWidth=c_(a,cX,b.webkitTextStrokeWidth),this.wordBreak=c_(a,cC,b.wordBreak),this.zIndex=c_(a,cD,b.zIndex)}return a.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},a.prototype.isTransparent=function(){return ba(this.backgroundColor)},a.prototype.isTransformed=function(){return null!==this.transform},a.prototype.isPositioned=function(){return 0!==this.position},a.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},a.prototype.isFloating=function(){return 0!==this.float},a.prototype.isInlineLevel=function(){return cN(this.display,4)||cN(this.display,0x2000000)||cN(this.display,0x10000000)||cN(this.display,0x20000000)||cN(this.display,0x4000000)||cN(this.display,0x8000000)},a}(),cZ=function(a,b){this.content=c_(a,cO,b.content),this.quotes=c_(a,cS,b.quotes)},c$=function(a,b){this.counterIncrement=c_(a,cP,b.counterIncrement),this.counterReset=c_(a,cQ,b.counterReset)},c_=function(a,b,c){var d=new aM,e=null!=c?c.toString():b.initialValue;d.write(e);var f=new aN(d.read());switch(b.type){case 2:var g=f.parseComponentValue();return b.parse(a,aQ(g)?g.value:b.initialValue);case 0:return b.parse(a,f.parseComponentValue());case 1:return b.parse(a,f.parseComponentValues());case 4:return f.parseComponentValue();case 3:switch(b.format){case"angle":return a5(a,f.parseComponentValue());case"color":return a9(a,f.parseComponentValue());case"image":return bD(a,f.parseComponentValue());case"length":var h=f.parseComponentValue();return aX(h)?h:a$;case"length-percentage":var i=f.parseComponentValue();return aY(i)?i:a$;case"time":return cE(a,f.parseComponentValue())}}},c0=function(a){switch(a.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},c1=function(a,b){var c=c0(a);return 1===c||b===c},c2=function(a,b){this.context=a,this.textNodes=[],this.elements=[],this.flags=0,c1(b,3),this.styles=new cY(a,window.getComputedStyle(b,null)),d7(b)&&(this.styles.animationDuration.some(function(a){return a>0})&&(b.style.animationDuration="0s"),null!==this.styles.transform&&(b.style.transform="none")),this.bounds=D(this.context,b),c1(b,4)&&(this.flags|=16)},c3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c4="undefined"==typeof Uint8Array?[]:new Uint8Array(256),c5=0;c5=0){if(a<55296||a>56319&&a<=65535)return b=((b=this.index[a>>5])<<2)+(31&a),this.data[b];if(a<=65535)return b=((b=this.index[2048+(a-55296>>5)])<<2)+(31&a),this.data[b];if(a>11),b=this.index[b]+(a>>5&63),b=((b=this.index[b])<<2)+(31&a),this.data[b];if(a<=1114111)return this.data[this.highValueIndex]}return this.errorValue},a}(),c9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",da="undefined"==typeof Uint8Array?[]:new Uint8Array(256),db=0;db=55296&&e<=56319&&c>10)+55296,g%1024+56320)),(e+1===c||d.length>16384)&&(f+=String.fromCharCode.apply(String,d),d.length=0)}return f},de=(l=Array.isArray(k=function(a){var b,c,d,e,f,g=.75*a.length,h=a.length,i=0;"="===a[a.length-1]&&(g--,"="===a[a.length-2]&&g--);var j="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(g):Array(g),k=Array.isArray(j)?j:new Uint8Array(j);for(b=0;b>4,k[i++]=(15&d)<<4|e>>2,k[i++]=(3&e)<<6|63&f;return j}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="))?function(a){for(var b=a.length,c=[],d=0;d=c)return{done:!0,value:null};for(var a="×";dg.x||e.y>g.y;return g=e,0===b||h});return a.body.removeChild(b),h},dl=function(a){var b=new Image,c=a.createElement("canvas"),d=c.getContext("2d");if(!d)return!1;b.src="data:image/svg+xml,";try{d.drawImage(b,0,0),c.toDataURL()}catch(a){return!1}return!0},dm=function(a){return 0===a[0]&&255===a[1]&&0===a[2]&&255===a[3]},dn=function(a){var b=a.createElement("canvas");b.width=100,b.height=100;var c=b.getContext("2d");if(!c)return Promise.reject(!1);c.fillStyle="rgb(0, 255, 0)",c.fillRect(0,0,100,100);var d=new Image,e=b.toDataURL();d.src=e;var f=dp(100,100,0,0,d);return c.fillStyle="red",c.fillRect(0,0,100,100),dq(f).then(function(b){c.drawImage(b,0,0);var d=c.getImageData(0,0,100,100).data;c.fillStyle="red",c.fillRect(0,0,100,100);var f=a.createElement("div");return f.style.backgroundImage="url("+e+")",f.style.height="100px",dm(d)?dq(dp(100,100,0,0,f)):Promise.reject(!1)}).then(function(a){return c.drawImage(a,0,0),dm(c.getImageData(0,0,100,100).data)}).catch(function(){return!1})},dp=function(a,b,c,d,e){var f="http://www.w3.org/2000/svg",g=document.createElementNS(f,"svg"),h=document.createElementNS(f,"foreignObject");return g.setAttributeNS(null,"width",a.toString()),g.setAttributeNS(null,"height",b.toString()),h.setAttributeNS(null,"width","100%"),h.setAttributeNS(null,"height","100%"),h.setAttributeNS(null,"x",c.toString()),h.setAttributeNS(null,"y",d.toString()),h.setAttributeNS(null,"externalResourcesRequired","true"),g.appendChild(h),h.appendChild(e),g},dq=function(a){return new Promise(function(b,c){var d=new Image;d.onload=function(){return b(d)},d.onerror=c,d.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(a))})},dr={get SUPPORT_RANGE_BOUNDS(){var ds=dj(document);return Object.defineProperty(dr,"SUPPORT_RANGE_BOUNDS",{value:ds}),ds},get SUPPORT_WORD_BREAKING(){var dt=dr.SUPPORT_RANGE_BOUNDS&&dk(document);return Object.defineProperty(dr,"SUPPORT_WORD_BREAKING",{value:dt}),dt},get SUPPORT_SVG_DRAWING(){var du=dl(document);return Object.defineProperty(dr,"SUPPORT_SVG_DRAWING",{value:du}),du},get SUPPORT_FOREIGNOBJECT_DRAWING(){var dv="function"==typeof Array.from&&"function"==typeof window.fetch?dn(document):Promise.resolve(!1);return Object.defineProperty(dr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:dv}),dv},get SUPPORT_CORS_IMAGES(){var dw=void 0!==new Image().crossOrigin;return Object.defineProperty(dr,"SUPPORT_CORS_IMAGES",{value:dw}),dw},get SUPPORT_RESPONSE_TYPE(){var dx="string"==typeof new XMLHttpRequest().responseType;return Object.defineProperty(dr,"SUPPORT_RESPONSE_TYPE",{value:dx}),dx},get SUPPORT_CORS_XHR(){var dy="withCredentials"in new XMLHttpRequest;return Object.defineProperty(dr,"SUPPORT_CORS_XHR",{value:dy}),dy},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var dz=!!("undefined"!=typeof Intl&&Intl.Segmenter);return Object.defineProperty(dr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:dz}),dz}},dA=function(a,b){this.text=a,this.bounds=b},dB=function(a,b,c,d){var e=dF(b,c),f=[],g=0;return e.forEach(function(b){if(c.textDecorationLine.length||b.trim().length>0)if(dr.SUPPORT_RANGE_BOUNDS){var e=dD(d,g,b.length).getClientRects();if(e.length>1){var h=dE(b),i=0;h.forEach(function(b){f.push(new dA(b,C.fromDOMRectList(a,dD(d,i+g,b.length).getClientRects()))),i+=b.length})}else f.push(new dA(b,C.fromDOMRectList(a,e)))}else{var j=d.splitText(b.length);f.push(new dA(b,dC(a,d))),d=j}else dr.SUPPORT_RANGE_BOUNDS||(d=d.splitText(b.length));g+=b.length}),f},dC=function(a,b){var c=b.ownerDocument;if(c){var d=c.createElement("html2canvaswrapper");d.appendChild(b.cloneNode(!0));var e=b.parentNode;if(e){e.replaceChild(d,b);var f=D(a,d);return d.firstChild&&e.replaceChild(d.firstChild,d),f}}return C.EMPTY},dD=function(a,b,c){var d=a.ownerDocument;if(!d)throw Error("Node has no owner document");var e=d.createRange();return e.setStart(a,b),e.setEnd(a,b+c),e},dE=function(a){return dr.SUPPORT_NATIVE_TEXT_SEGMENTATION?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(a)).map(function(a){return a.segment}):di(a)},dF=function(a,b){return 0!==b.letterSpacing?dE(a):dr.SUPPORT_NATIVE_TEXT_SEGMENTATION?Array.from(new Intl.Segmenter(void 0,{granularity:"word"}).segment(a)).map(function(a){return a.segment}):dH(a,b)},dG=[32,160,4961,65792,65793,4153,4241],dH=function(a,b){for(var c,d=ag(a,{lineBreak:b.lineBreak,wordBreak:"break-word"===b.overflowWrap?"break-word":b.wordBreak}),e=[];!(c=d.next()).done;)!function(){if(c.value){var a=F(c.value.slice()),b="";a.forEach(function(a){-1===dG.indexOf(a)?b+=G(a):(b.length&&e.push(b),e.push(G(a)),b="")}),b.length&&e.push(b)}}();return e},dI=function(a,b,c){this.text=dJ(b.data,c.textTransform),this.textBounds=dB(a,this.text,c,b)},dJ=function(a,b){switch(b){case 1:return a.toLowerCase();case 3:return a.replace(dK,dL);case 2:return a.toUpperCase();default:return a}},dK=/(^|\s|:|-|\(|\))([a-z])/g,dL=function(a,b,c){return a.length>0?b+c.toUpperCase():a},dM=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.src=c.currentSrc||c.src,d.intrinsicWidth=c.naturalWidth,d.intrinsicHeight=c.naturalHeight,d.context.cache.addImage(d.src),d}return y(b,a),b}(c2),dN=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.canvas=c,d.intrinsicWidth=c.width,d.intrinsicHeight=c.height,d}return y(b,a),b}(c2),dO=function(a){function b(b,c){var d=a.call(this,b,c)||this,e=new XMLSerializer,f=D(b,c);return c.setAttribute("width",f.width+"px"),c.setAttribute("height",f.height+"px"),d.svg="data:image/svg+xml,"+encodeURIComponent(e.serializeToString(c)),d.intrinsicWidth=c.width.baseVal.value,d.intrinsicHeight=c.height.baseVal.value,d.context.cache.addImage(d.svg),d}return y(b,a),b}(c2),dP=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.value=c.value,d}return y(b,a),b}(c2),dQ=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.start=c.start,d.reversed="boolean"==typeof c.reversed&&!0===c.reversed,d}return y(b,a),b}(c2),dR=[{type:15,flags:0,unit:"px",number:3}],dS=[{type:16,flags:0,number:50}],dT=function(a){var b=a.type===dW?Array(a.value.length+1).join("•"):a.value;return 0===b.length?a.placeholder||"":b},dU="checkbox",dV="radio",dW="password",dX=function(a){function b(b,c){var d,e=a.call(this,b,c)||this;switch(e.type=c.type.toLowerCase(),e.checked=c.checked,e.value=dT(c),(e.type===dU||e.type===dV)&&(e.styles.backgroundColor=0xdededeff,e.styles.borderTopColor=e.styles.borderRightColor=e.styles.borderBottomColor=e.styles.borderLeftColor=0xa5a5a5ff,e.styles.borderTopWidth=e.styles.borderRightWidth=e.styles.borderBottomWidth=e.styles.borderLeftWidth=1,e.styles.borderTopStyle=e.styles.borderRightStyle=e.styles.borderBottomStyle=e.styles.borderLeftStyle=1,e.styles.backgroundClip=[0],e.styles.backgroundOrigin=[0],e.bounds=(d=e.bounds).width>d.height?new C(d.left+(d.width-d.height)/2,d.top,d.height,d.height):d.width0)c.textNodes.push(new dI(a,e,c.styles));else if(d6(e))if(el(e)&&e.assignedNodes)e.assignedNodes().forEach(function(b){return d0(a,b,c,d)});else{var g=d1(a,e);g.styles.isVisible()&&(d3(e,g,d)?g.flags|=4:d4(g.styles)&&(g.flags|=2),-1!==d_.indexOf(e.tagName)&&(g.flags|=8),c.elements.push(g),e.slot,e.shadowRoot?d0(a,e.shadowRoot,g,d):ej(e)||ec(e)||ek(e)||d0(a,e,g,d))}},d1=function(a,b){return eg(b)?new dM(a,b):ee(b)?new dN(a,b):ec(b)?new dO(a,b):d9(b)?new dP(a,b):ea(b)?new dQ(a,b):eb(b)?new dX(a,b):ek(b)?new dY(a,b):ej(b)?new dZ(a,b):eh(b)?new d$(a,b):new c2(a,b)},d2=function(a,b){var c=d1(a,b);return c.flags|=4,d0(a,b,c,c),c},d3=function(a,b,c){return b.styles.isPositionedWithZIndex()||b.styles.opacity<1||b.styles.isTransformed()||ed(a)&&c.styles.isTransparent()},d4=function(a){return a.isPositioned()||a.isFloating()},d5=function(a){return a.nodeType===Node.TEXT_NODE},d6=function(a){return a.nodeType===Node.ELEMENT_NODE},d7=function(a){return d6(a)&&void 0!==a.style&&!d8(a)},d8=function(a){return"object"==typeof a.className},d9=function(a){return"LI"===a.tagName},ea=function(a){return"OL"===a.tagName},eb=function(a){return"INPUT"===a.tagName},ec=function(a){return"svg"===a.tagName},ed=function(a){return"BODY"===a.tagName},ee=function(a){return"CANVAS"===a.tagName},ef=function(a){return"VIDEO"===a.tagName},eg=function(a){return"IMG"===a.tagName},eh=function(a){return"IFRAME"===a.tagName},ei=function(a){return"STYLE"===a.tagName},ej=function(a){return"TEXTAREA"===a.tagName},ek=function(a){return"SELECT"===a.tagName},el=function(a){return"SLOT"===a.tagName},em=function(a){return a.tagName.indexOf("-")>0},en=function(){function a(){this.counters={}}return a.prototype.getCounterValue=function(a){var b=this.counters[a];return b&&b.length?b[b.length-1]:1},a.prototype.getCounterValues=function(a){return this.counters[a]||[]},a.prototype.pop=function(a){var b=this;a.forEach(function(a){return b.counters[a].pop()})},a.prototype.parse=function(a){var b=this,c=a.counterIncrement,d=a.counterReset,e=!0;null!==c&&c.forEach(function(a){var c=b.counters[a.counter];c&&0!==a.increment&&(e=!1,c.length||c.push(1),c[Math.max(0,c.length-1)]+=a.increment)});var f=[];return e&&d.forEach(function(a){var c=b.counters[a.counter];f.push(a.counter),c||(c=b.counters[a.counter]=[]),c.push(a.reset)}),f},a}(),eo={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"]},ep={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},eq={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},er={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},es=function(a,b,c,d,e,f){return ac?eB(a,e,f.length>0):d.integers.reduce(function(b,c,e){for(;a>=c;)a-=c,b+=d.values[e];return b},"")+f},et=function(a,b,c,d){var e="";do!c&&a--,e=d(a)+e,a/=b;while(a*b>=b)return e},eu=function(a,b,c,d,e){var f=c-b+1;return(a<0?"-":"")+(et(Math.abs(a),f,d,function(a){return G(Math.floor(a%f)+b)})+e)},ev=function(a,b,c){void 0===c&&(c=". ");var d=b.length;return et(Math.abs(a),d,!1,function(a){return b[Math.floor(a%d)]})+c},ew=function(a,b,c,d,e,f){if(a<-9999||a>9999)return eB(a,4,e.length>0);var g=Math.abs(a),h=e;if(0===g)return b[0]+h;for(var i=0;g>0&&i<=4;i++){var j=g%10;0===j&&cN(f,1)&&""!==h?h=b[j]+h:j>1||1===j&&0===i||1===j&&1===i&&cN(f,2)||1===j&&1===i&&cN(f,4)&&a>100||1===j&&i>1&&cN(f,8)?h=b[j]+(i>0?c[i-1]:"")+h:1===j&&i>0&&(h=c[i-1]+h),g=Math.floor(g/10)}return(a<0?d:"")+h},ex="十百千萬",ey="拾佰仟萬",ez="マイナス",eA="마이너스",eB=function(a,b,c){var d=c?". ":"",e=c?"、":"",f=c?", ":"",g=c?" ":"";switch(b){case 0:return"•"+g;case 1:return"◦"+g;case 2:return"◾"+g;case 5:var h=eu(a,48,57,!0,d);return h.length<4?"0"+h:h;case 4:return ev(a,"〇一二三四五六七八九",e);case 6:return es(a,1,3999,eo,3,d).toLowerCase();case 7:return es(a,1,3999,eo,3,d);case 8:return eu(a,945,969,!1,d);case 9:return eu(a,97,122,!1,d);case 10:return eu(a,65,90,!1,d);case 11:return eu(a,1632,1641,!0,d);case 12:case 49:return es(a,1,9999,ep,3,d);case 35:return es(a,1,9999,ep,3,d).toLowerCase();case 13:return eu(a,2534,2543,!0,d);case 14:case 30:return eu(a,6112,6121,!0,d);case 15:return ev(a,"子丑寅卯辰巳午未申酉戌亥",e);case 16:return ev(a,"甲乙丙丁戊己庚辛壬癸",e);case 17:case 48:return ew(a,"零一二三四五六七八九",ex,"負",e,14);case 47:return ew(a,"零壹貳參肆伍陸柒捌玖",ey,"負",e,15);case 42:return ew(a,"零一二三四五六七八九",ex,"负",e,14);case 41:return ew(a,"零壹贰叁肆伍陆柒捌玖",ey,"负",e,15);case 26:return ew(a,"〇一二三四五六七八九","十百千万",ez,e,0);case 25:return ew(a,"零壱弐参四伍六七八九","拾百千万",ez,e,7);case 31:return ew(a,"영일이삼사오육칠팔구","십백천만",eA,f,7);case 33:return ew(a,"零一二三四五六七八九","十百千萬",eA,f,0);case 32:return ew(a,"零壹貳參四五六七八九","拾百千",eA,f,7);case 18:return eu(a,2406,2415,!0,d);case 20:return es(a,1,19999,er,3,d);case 21:return eu(a,2790,2799,!0,d);case 22:return eu(a,2662,2671,!0,d);case 22:return es(a,1,10999,eq,3,d);case 23:return ev(a,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ev(a,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return eu(a,3302,3311,!0,d);case 28:return ev(a,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",e);case 29:return ev(a,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",e);case 34:return eu(a,3792,3801,!0,d);case 37:return eu(a,6160,6169,!0,d);case 38:return eu(a,4160,4169,!0,d);case 39:return eu(a,2918,2927,!0,d);case 40:return eu(a,1776,1785,!0,d);case 43:return eu(a,3046,3055,!0,d);case 44:return eu(a,3174,3183,!0,d);case 45:return eu(a,3664,3673,!0,d);case 46:return eu(a,3872,3881,!0,d);default:return eu(a,48,57,!0,d)}},eC="data-html2canvas-ignore",eD=function(){function a(a,b,c){if(this.context=a,this.options=c,this.scrolledElements=[],this.referenceElement=b,this.counters=new en,this.quoteDepth=0,!b.ownerDocument)throw Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(b.ownerDocument.documentElement,!1)}return a.prototype.toIFrame=function(a,b){var c=this,d=eE(a,b);if(!d.contentWindow)return Promise.reject("Unable to find iframe window");var e=a.defaultView.pageXOffset,f=a.defaultView.pageYOffset,g=d.contentWindow,h=g.document,i=eH(d).then(function(){return A(c,void 0,void 0,function(){var a,c;return B(this,function(e){switch(e.label){case 0:if(this.scrolledElements.forEach(eM),g&&(g.scrollTo(b.left,b.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(g.scrollY!==b.top||g.scrollX!==b.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(g.scrollX-b.left,g.scrollY-b.top,0,0))),a=this.options.onclone,void 0===(c=this.clonedReferenceElement))return[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")];if(!(h.fonts&&h.fonts.ready))return[3,2];return[4,h.fonts.ready];case 1:e.sent(),e.label=2;case 2:if(!/(AppleWebKit)/g.test(navigator.userAgent))return[3,4];return[4,eG(h)];case 3:e.sent(),e.label=4;case 4:if("function"==typeof a)return[2,Promise.resolve().then(function(){return a(h,c)}).then(function(){return d})];return[2,d]}})})});return h.open(),h.write(eK(document.doctype)+""),eL(this.referenceElement.ownerDocument,e,f),h.replaceChild(h.adoptNode(this.documentElement),h.documentElement),h.close(),i},a.prototype.createElementClone=function(a){if(c1(a,2),ee(a))return this.createCanvasClone(a);if(ef(a))return this.createVideoClone(a);if(ei(a))return this.createStyleClone(a);var b=a.cloneNode(!1);return(eg(b)&&(eg(a)&&a.currentSrc&&a.currentSrc!==a.src&&(b.src=a.currentSrc,b.srcset=""),"lazy"===b.loading&&(b.loading="eager")),em(b))?this.createCustomElementClone(b):b},a.prototype.createCustomElementClone=function(a){var b=document.createElement("html2canvascustomelement");return eJ(a.style,b),b},a.prototype.createStyleClone=function(a){try{var b=a.sheet;if(b&&b.cssRules){var c=[].slice.call(b.cssRules,0).reduce(function(a,b){return b&&"string"==typeof b.cssText?a+b.cssText:a},""),d=a.cloneNode(!1);return d.textContent=c,d}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),"SecurityError"!==a.name)throw a}return a.cloneNode(!1)},a.prototype.createCanvasClone=function(a){if(this.options.inlineImages&&a.ownerDocument){var b,c=a.ownerDocument.createElement("img");try{return c.src=a.toDataURL(),c}catch(b){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",a)}}var d=a.cloneNode(!1);try{d.width=a.width,d.height=a.height;var e=a.getContext("2d"),f=d.getContext("2d");if(f)if(!this.options.allowTaint&&e)f.putImageData(e.getImageData(0,0,a.width,a.height),0,0);else{var g=null!=(b=a.getContext("webgl2"))?b:a.getContext("webgl");if(g){var h=g.getContextAttributes();(null==h?void 0:h.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",a)}f.drawImage(a,0,0)}}catch(b){this.context.logger.info("Unable to clone canvas as it is tainted",a)}return d},a.prototype.createVideoClone=function(a){var b=a.ownerDocument.createElement("canvas");b.width=a.offsetWidth,b.height=a.offsetHeight;var c=b.getContext("2d");try{return c&&(c.drawImage(a,0,0,b.width,b.height),this.options.allowTaint||c.getImageData(0,0,b.width,b.height)),b}catch(b){this.context.logger.info("Unable to clone video as it is tainted",a)}var d=a.ownerDocument.createElement("canvas");return d.width=a.offsetWidth,d.height=a.offsetHeight,d},a.prototype.appendChildNode=function(a,b,c){d6(b)&&("SCRIPT"===b.tagName||b.hasAttribute(eC)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(b))||this.options.copyStyles&&d6(b)&&ei(b)||a.appendChild(this.cloneNode(b,c))},a.prototype.cloneChildNodes=function(a,b,c){for(var d=this,e=a.shadowRoot?a.shadowRoot.firstChild:a.firstChild;e;e=e.nextSibling)if(d6(e)&&el(e)&&"function"==typeof e.assignedNodes){var f=e.assignedNodes();f.length&&f.forEach(function(a){return d.appendChildNode(b,a,c)})}else this.appendChildNode(b,e,c)},a.prototype.cloneNode=function(a,b){if(d5(a))return document.createTextNode(a.data);if(!a.ownerDocument)return a.cloneNode(!1);var c=a.ownerDocument.defaultView;if(c&&d6(a)&&(d7(a)||d8(a))){var d=this.createElementClone(a);d.style.transitionProperty="none";var e=c.getComputedStyle(a),f=c.getComputedStyle(a,":before"),g=c.getComputedStyle(a,":after");this.referenceElement===a&&d7(d)&&(this.clonedReferenceElement=d),ed(d)&&eQ(d);var h=this.counters.parse(new c$(this.context,e)),i=this.resolvePseudoContent(a,d,f,v.BEFORE);em(a)&&(b=!0),ef(a)||this.cloneChildNodes(a,d,b),i&&d.insertBefore(i,d.firstChild);var j=this.resolvePseudoContent(a,d,g,v.AFTER);return j&&d.appendChild(j),this.counters.pop(h),(e&&(this.options.copyStyles||d8(a))&&!eh(a)||b)&&eJ(e,d),(0!==a.scrollTop||0!==a.scrollLeft)&&this.scrolledElements.push([d,a.scrollLeft,a.scrollTop]),(ej(a)||ek(a))&&(ej(d)||ek(d))&&(d.value=a.value),d}return a.cloneNode(!1)},a.prototype.resolvePseudoContent=function(a,b,c,d){var e=this;if(c){var f=c.content,g=b.ownerDocument;if(g&&f&&"none"!==f&&"-moz-alt-content"!==f&&"none"!==c.display){this.counters.parse(new c$(this.context,c));var h=new cZ(this.context,c),i=g.createElement("html2canvaspseudoelement");eJ(c,i),h.content.forEach(function(b){if(0===b.type)i.appendChild(g.createTextNode(b.value));else if(22===b.type){var c=g.createElement("img");c.src=b.value,c.style.opacity="1",i.appendChild(c)}else if(18===b.type){if("attr"===b.name){var d=b.values.filter(aQ);d.length&&i.appendChild(g.createTextNode(a.getAttribute(d[0].value)||""))}else if("counter"===b.name){var f=b.values.filter(aU),j=f[0],k=f[1];if(j&&aQ(j)){var l=e.counters.getCounterValue(j.value),m=k&&aQ(k)?cf.parse(e.context,k.value):3;i.appendChild(g.createTextNode(eB(l,m,!1)))}}else if("counters"===b.name){var n=b.values.filter(aU),j=n[0],o=n[1],k=n[2];if(j&&aQ(j)){var p=e.counters.getCounterValues(j.value),q=k&&aQ(k)?cf.parse(e.context,k.value):3,r=o&&0===o.type?o.value:"",s=p.map(function(a){return eB(a,q,!1)}).join(r);i.appendChild(g.createTextNode(s))}}}else if(20===b.type)switch(b.value){case"open-quote":i.appendChild(g.createTextNode(cT(h.quotes,e.quoteDepth++,!0)));break;case"close-quote":i.appendChild(g.createTextNode(cT(h.quotes,--e.quoteDepth,!1)));break;default:i.appendChild(g.createTextNode(b.value))}}),i.className=eN+" "+eO;var j=d===v.BEFORE?" "+eN:" "+eO;return d8(b)?b.className.baseValue+=j:b.className+=j,i}}},a.destroy=function(a){return!!a.parentNode&&(a.parentNode.removeChild(a),!0)},a}();(q=v||(v={}))[q.BEFORE=0]="BEFORE",q[q.AFTER=1]="AFTER";var eE=function(a,b){var c=a.createElement("iframe");return c.className="html2canvas-container",c.style.visibility="hidden",c.style.position="fixed",c.style.left="-10000px",c.style.top="0px",c.style.border="0",c.width=b.width.toString(),c.height=b.height.toString(),c.scrolling="no",c.setAttribute(eC,"true"),a.body.appendChild(c),c},eF=function(a){return new Promise(function(b){a.complete||!a.src?b():(a.onload=b,a.onerror=b)})},eG=function(a){return Promise.all([].slice.call(a.images,0).map(eF))},eH=function(a){return new Promise(function(b,c){var d=a.contentWindow;if(!d)return c("No window assigned for iframe");var e=d.document;d.onload=a.onload=function(){d.onload=a.onload=null;var c=setInterval(function(){e.body.childNodes.length>0&&"complete"===e.readyState&&(clearInterval(c),b(a))},50)}})},eI=["all","d","content"],eJ=function(a,b){for(var c=a.length-1;c>=0;c--){var d=a.item(c);-1===eI.indexOf(d)&&b.style.setProperty(d,a.getPropertyValue(d))}return b},eK=function(a){var b="";return a&&(b+=""),b},eL=function(a,b,c){a&&a.defaultView&&(b!==a.defaultView.pageXOffset||c!==a.defaultView.pageYOffset)&&a.defaultView.scrollTo(b,c)},eM=function(a){var b=a[0],c=a[1],d=a[2];b.scrollLeft=c,b.scrollTop=d},eN="___html2canvas___pseudoelement_before",eO="___html2canvas___pseudoelement_after",eP='{\n content: "" !important;\n display: none !important;\n}',eQ=function(a){eR(a,"."+eN+":before"+eP+"\n ."+eO+":after"+eP)},eR=function(a,b){var c=a.ownerDocument;if(c){var d=c.createElement("style");d.textContent=b,a.appendChild(d)}},eS=function(){function a(){}return a.getOrigin=function(b){var c=a._link;return c?(c.href=b,c.href=c.href,c.protocol+c.hostname+c.port):"about:blank"},a.isSameOrigin=function(b){return a.getOrigin(b)===a._origin},a.setContext=function(b){a._link=b.document.createElement("a"),a._origin=a.getOrigin(b.location.href)},a._origin="about:blank",a}(),eT=function(){function a(a,b){this.context=a,this._options=b,this._cache={}}return a.prototype.addImage=function(a){var b=Promise.resolve();return this.has(a)||(e$(a)||eX(a))&&(this._cache[a]=this.loadImage(a)).catch(function(){}),b},a.prototype.match=function(a){return this._cache[a]},a.prototype.loadImage=function(a){return A(this,void 0,void 0,function(){var b,c,d,e,f=this;return B(this,function(g){switch(g.label){case 0:if(b=eS.isSameOrigin(a),c=!eY(a)&&!0===this._options.useCORS&&dr.SUPPORT_CORS_IMAGES&&!b,d=!eY(a)&&!b&&!e$(a)&&"string"==typeof this._options.proxy&&dr.SUPPORT_CORS_XHR&&!c,!b&&!1===this._options.allowTaint&&!eY(a)&&!e$(a)&&!d&&!c)return[2];if(e=a,!d)return[3,2];return[4,this.proxy(e)];case 1:e=g.sent(),g.label=2;case 2:return this.context.logger.debug("Added image "+a.substring(0,256)),[4,new Promise(function(a,b){var d=new Image;d.onload=function(){return a(d)},d.onerror=b,(eZ(e)||c)&&(d.crossOrigin="anonymous"),d.src=e,!0===d.complete&&setTimeout(function(){return a(d)},500),f._options.imageTimeout>0&&setTimeout(function(){return b("Timed out ("+f._options.imageTimeout+"ms) loading image")},f._options.imageTimeout)})];case 3:return[2,g.sent()]}})})},a.prototype.has=function(a){return void 0!==this._cache[a]},a.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},a.prototype.proxy=function(a){var b=this,c=this._options.proxy;if(!c)throw Error("No proxy defined");var d=a.substring(0,256);return new Promise(function(e,f){var g=dr.SUPPORT_RESPONSE_TYPE?"blob":"text",h=new XMLHttpRequest;h.onload=function(){if(200===h.status)if("text"===g)e(h.response);else{var a=new FileReader;a.addEventListener("load",function(){return e(a.result)},!1),a.addEventListener("error",function(a){return f(a)},!1),a.readAsDataURL(h.response)}else f("Failed to proxy resource "+d+" with status code "+h.status)},h.onerror=f;var i=c.indexOf("?")>-1?"&":"?";if(h.open("GET",""+c+i+"url="+encodeURIComponent(a)+"&responseType="+g),"text"!==g&&h instanceof XMLHttpRequest&&(h.responseType=g),b._options.imageTimeout){var j=b._options.imageTimeout;h.timeout=j,h.ontimeout=function(){return f("Timed out ("+j+"ms) proxying "+d)}}h.send()})},a}(),eU=/^data:image\/svg\+xml/i,eV=/^data:image\/.*;base64,/i,eW=/^data:image\/.*/i,eX=function(a){return dr.SUPPORT_SVG_DRAWING||!e_(a)},eY=function(a){return eW.test(a)},eZ=function(a){return eV.test(a)},e$=function(a){return"blob"===a.substr(0,4)},e_=function(a){return"svg"===a.substr(-3).toLowerCase()||eU.test(a)},e0=function(){function a(a,b){this.type=0,this.x=a,this.y=b}return a.prototype.add=function(b,c){return new a(this.x+b,this.y+c)},a}(),e1=function(a,b,c){return new e0(a.x+(b.x-a.x)*c,a.y+(b.y-a.y)*c)},e2=function(){function a(a,b,c,d){this.type=1,this.start=a,this.startControl=b,this.endControl=c,this.end=d}return a.prototype.subdivide=function(b,c){var d=e1(this.start,this.startControl,b),e=e1(this.startControl,this.endControl,b),f=e1(this.endControl,this.end,b),g=e1(d,e,b),h=e1(e,f,b),i=e1(g,h,b);return c?new a(this.start,d,g,i):new a(i,h,f,this.end)},a.prototype.add=function(b,c){return new a(this.start.add(b,c),this.startControl.add(b,c),this.endControl.add(b,c),this.end.add(b,c))},a.prototype.reverse=function(){return new a(this.end,this.endControl,this.startControl,this.start)},a}(),e3=function(a){return 1===a.type},e4=function(a){var b=a.styles,c=a.bounds,d=a1(b.borderTopLeftRadius,c.width,c.height),e=d[0],f=d[1],g=a1(b.borderTopRightRadius,c.width,c.height),h=g[0],i=g[1],j=a1(b.borderBottomRightRadius,c.width,c.height),k=j[0],l=j[1],m=a1(b.borderBottomLeftRadius,c.width,c.height),n=m[0],o=m[1],p=[];p.push((e+h)/c.width),p.push((n+k)/c.width),p.push((f+o)/c.height),p.push((i+l)/c.height);var q=Math.max.apply(Math,p);q>1&&(e/=q,f/=q,h/=q,i/=q,k/=q,l/=q,n/=q,o/=q);var r=c.width-h,s=c.height-l,t=c.width-k,u=c.height-o,v=b.borderTopWidth,x=b.borderRightWidth,y=b.borderBottomWidth,z=b.borderLeftWidth,A=a2(b.paddingTop,a.bounds.width),B=a2(b.paddingRight,a.bounds.width),C=a2(b.paddingBottom,a.bounds.width),D=a2(b.paddingLeft,a.bounds.width);this.topLeftBorderDoubleOuterBox=e>0||f>0?e5(c.left+z/3,c.top+v/3,e-z/3,f-v/3,w.TOP_LEFT):new e0(c.left+z/3,c.top+v/3),this.topRightBorderDoubleOuterBox=e>0||f>0?e5(c.left+r,c.top+v/3,h-x/3,i-v/3,w.TOP_RIGHT):new e0(c.left+c.width-x/3,c.top+v/3),this.bottomRightBorderDoubleOuterBox=k>0||l>0?e5(c.left+t,c.top+s,k-x/3,l-y/3,w.BOTTOM_RIGHT):new e0(c.left+c.width-x/3,c.top+c.height-y/3),this.bottomLeftBorderDoubleOuterBox=n>0||o>0?e5(c.left+z/3,c.top+u,n-z/3,o-y/3,w.BOTTOM_LEFT):new e0(c.left+z/3,c.top+c.height-y/3),this.topLeftBorderDoubleInnerBox=e>0||f>0?e5(c.left+2*z/3,c.top+2*v/3,e-2*z/3,f-2*v/3,w.TOP_LEFT):new e0(c.left+2*z/3,c.top+2*v/3),this.topRightBorderDoubleInnerBox=e>0||f>0?e5(c.left+r,c.top+2*v/3,h-2*x/3,i-2*v/3,w.TOP_RIGHT):new e0(c.left+c.width-2*x/3,c.top+2*v/3),this.bottomRightBorderDoubleInnerBox=k>0||l>0?e5(c.left+t,c.top+s,k-2*x/3,l-2*y/3,w.BOTTOM_RIGHT):new e0(c.left+c.width-2*x/3,c.top+c.height-2*y/3),this.bottomLeftBorderDoubleInnerBox=n>0||o>0?e5(c.left+2*z/3,c.top+u,n-2*z/3,o-2*y/3,w.BOTTOM_LEFT):new e0(c.left+2*z/3,c.top+c.height-2*y/3),this.topLeftBorderStroke=e>0||f>0?e5(c.left+z/2,c.top+v/2,e-z/2,f-v/2,w.TOP_LEFT):new e0(c.left+z/2,c.top+v/2),this.topRightBorderStroke=e>0||f>0?e5(c.left+r,c.top+v/2,h-x/2,i-v/2,w.TOP_RIGHT):new e0(c.left+c.width-x/2,c.top+v/2),this.bottomRightBorderStroke=k>0||l>0?e5(c.left+t,c.top+s,k-x/2,l-y/2,w.BOTTOM_RIGHT):new e0(c.left+c.width-x/2,c.top+c.height-y/2),this.bottomLeftBorderStroke=n>0||o>0?e5(c.left+z/2,c.top+u,n-z/2,o-y/2,w.BOTTOM_LEFT):new e0(c.left+z/2,c.top+c.height-y/2),this.topLeftBorderBox=e>0||f>0?e5(c.left,c.top,e,f,w.TOP_LEFT):new e0(c.left,c.top),this.topRightBorderBox=h>0||i>0?e5(c.left+r,c.top,h,i,w.TOP_RIGHT):new e0(c.left+c.width,c.top),this.bottomRightBorderBox=k>0||l>0?e5(c.left+t,c.top+s,k,l,w.BOTTOM_RIGHT):new e0(c.left+c.width,c.top+c.height),this.bottomLeftBorderBox=n>0||o>0?e5(c.left,c.top+u,n,o,w.BOTTOM_LEFT):new e0(c.left,c.top+c.height),this.topLeftPaddingBox=e>0||f>0?e5(c.left+z,c.top+v,Math.max(0,e-z),Math.max(0,f-v),w.TOP_LEFT):new e0(c.left+z,c.top+v),this.topRightPaddingBox=h>0||i>0?e5(c.left+Math.min(r,c.width-x),c.top+v,r>c.width+x?0:Math.max(0,h-x),Math.max(0,i-v),w.TOP_RIGHT):new e0(c.left+c.width-x,c.top+v),this.bottomRightPaddingBox=k>0||l>0?e5(c.left+Math.min(t,c.width-z),c.top+Math.min(s,c.height-y),Math.max(0,k-x),Math.max(0,l-y),w.BOTTOM_RIGHT):new e0(c.left+c.width-x,c.top+c.height-y),this.bottomLeftPaddingBox=n>0||o>0?e5(c.left+z,c.top+Math.min(u,c.height-y),Math.max(0,n-z),Math.max(0,o-y),w.BOTTOM_LEFT):new e0(c.left+z,c.top+c.height-y),this.topLeftContentBox=e>0||f>0?e5(c.left+z+D,c.top+v+A,Math.max(0,e-(z+D)),Math.max(0,f-(v+A)),w.TOP_LEFT):new e0(c.left+z+D,c.top+v+A),this.topRightContentBox=h>0||i>0?e5(c.left+Math.min(r,c.width+z+D),c.top+v+A,r>c.width+z+D?0:h-z+D,i-(v+A),w.TOP_RIGHT):new e0(c.left+c.width-(x+B),c.top+v+A),this.bottomRightContentBox=k>0||l>0?e5(c.left+Math.min(t,c.width-(z+D)),c.top+Math.min(s,c.height+v+A),Math.max(0,k-(x+B)),l-(y+C),w.BOTTOM_RIGHT):new e0(c.left+c.width-(x+B),c.top+c.height-(y+C)),this.bottomLeftContentBox=n>0||o>0?e5(c.left+z+D,c.top+u,Math.max(0,n-(z+D)),o-(y+C),w.BOTTOM_LEFT):new e0(c.left+z+D,c.top+c.height-(y+C))};(r=w||(w={}))[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT";var e5=function(a,b,c,d,e){var f=(Math.sqrt(2)-1)/3*4,g=c*f,h=d*f,i=a+c,j=b+d;switch(e){case w.TOP_LEFT:return new e2(new e0(a,j),new e0(a,j-h),new e0(i-g,b),new e0(i,b));case w.TOP_RIGHT:return new e2(new e0(a,b),new e0(a+g,b),new e0(i,j-h),new e0(i,j));case w.BOTTOM_RIGHT:return new e2(new e0(i,b),new e0(i,b+h),new e0(a+g,j),new e0(a,j));case w.BOTTOM_LEFT:default:return new e2(new e0(i,j),new e0(i-g,j),new e0(a,b+h),new e0(a,b))}},e6=function(a){return[a.topLeftBorderBox,a.topRightBorderBox,a.bottomRightBorderBox,a.bottomLeftBorderBox]},e7=function(a){return[a.topLeftPaddingBox,a.topRightPaddingBox,a.bottomRightPaddingBox,a.bottomLeftPaddingBox]},e8=function(a,b,c){this.offsetX=a,this.offsetY=b,this.matrix=c,this.type=0,this.target=6},e9=function(a,b){this.path=a,this.target=b,this.type=1},fa=function(a){this.opacity=a,this.type=2,this.target=6},fb=function(a){return 1===a.type},fc=function(a,b){return a.length===b.length&&a.some(function(a,c){return a===b[c]})},fd=function(a){this.element=a,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},fe=function(){function a(a,b){if(this.container=a,this.parent=b,this.effects=[],this.curves=new e4(this.container),this.container.styles.opacity<1&&this.effects.push(new fa(this.container.styles.opacity)),null!==this.container.styles.transform){var c=this.container.bounds.left+this.container.styles.transformOrigin[0].number,d=this.container.bounds.top+this.container.styles.transformOrigin[1].number,e=this.container.styles.transform;this.effects.push(new e8(c,d,e))}if(0!==this.container.styles.overflowX){var f=e6(this.curves),g=e7(this.curves);fc(f,g)?this.effects.push(new e9(f,6)):(this.effects.push(new e9(f,2)),this.effects.push(new e9(g,4)))}}return a.prototype.getEffects=function(a){for(var b=-1===[2,3].indexOf(this.container.styles.position),c=this.parent,d=this.effects.slice(0);c;){var e=c.effects.filter(function(a){return!fb(a)});if(b||0!==c.container.styles.position||!c.parent){if(d.unshift.apply(d,e),b=-1===[2,3].indexOf(c.container.styles.position),0!==c.container.styles.overflowX){var f=e6(c.curves),g=e7(c.curves);fc(f,g)||d.unshift(new e9(g,6))}}else d.unshift.apply(d,e);c=c.parent}return d.filter(function(b){return cN(b.target,a)})},a}(),ff=function(a,b,c,d){a.container.elements.forEach(function(e){var f=cN(e.flags,4),g=cN(e.flags,2),h=new fe(e,a);cN(e.styles.display,2048)&&d.push(h);var i=cN(e.flags,8)?[]:d;if(f||g){var j=f||e.styles.isPositioned()?c:b,k=new fd(h);if(e.styles.isPositioned()||e.styles.opacity<1||e.styles.isTransformed()){var l=e.styles.zIndex.order;if(l<0){var m=0;j.negativeZIndex.some(function(a,b){if(l>a.element.container.styles.zIndex.order)m=b;else if(m>0)return!0;return!1}),j.negativeZIndex.splice(m,0,k)}else if(l>0){var n=0;j.positiveZIndex.some(function(a,b){if(l>=a.element.container.styles.zIndex.order)n=b+1;else if(n>0)return!0;return!1}),j.positiveZIndex.splice(n,0,k)}else j.zeroOrAutoZIndexOrTransformedOrOpacity.push(k)}else e.styles.isFloating()?j.nonPositionedFloats.push(k):j.nonPositionedInlineLevel.push(k);ff(h,k,f?k:c,i)}else e.styles.isInlineLevel()?b.inlineLevel.push(h):b.nonInlineLevel.push(h),ff(h,b,c,i);cN(e.flags,8)&&fg(e,i)})},fg=function(a,b){for(var c=a instanceof dQ?a.start:1,d=a instanceof dQ&&a.reversed,e=0;e0&&a.intrinsicHeight>0){var d=fp(a),e=e7(b);this.path(e),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(c,0,0,a.intrinsicWidth,a.intrinsicHeight,d.left,d.top,d.width,d.height),this.ctx.restore()}},b.prototype.renderNodeContent=function(a){return A(this,void 0,void 0,function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return B(this,function(u){switch(u.label){case 0:this.applyEffects(a.getEffects(4)),c=a.container,d=a.curves,e=c.styles,f=0,g=c.textNodes,u.label=1;case 1:if(!(f0&&l>0&&(m=d.ctx.createPattern(u,"repeat"),d.renderRepeat(h,m,i,j))):2===c.type&&(h=(x=fq(a,b,[null,null,null]))[0],y=x[1],z=x[2],k=x[3],l=x[4],i=a2((A=0===c.position.length?[a_]:c.position)[0],k),j=a2(A[A.length-1],l),D=(C=bs(c,i,j,k,l))[0],E=C[1],D>0&&E>0&&(F=d.ctx.createRadialGradient(y+i,z+j,0,y+i,z+j,D),bn(c.stops,2*D).forEach(function(a){return F.addColorStop(a.stop,bb(a.color))}),d.path(h),d.ctx.fillStyle=F,D!==E?(G=a.bounds.left+.5*a.bounds.width,H=a.bounds.top+.5*a.bounds.height,J=1/(I=E/D),d.ctx.save(),d.ctx.translate(G,H),d.ctx.transform(1,0,0,I,0,0),d.ctx.translate(-G,-H),d.ctx.fillRect(y,J*(z-H)+H,k,l*J),d.ctx.restore()):d.ctx.fill())),B.label=6;case 6:return b--,[2]}})},d=this,e=0,f=a.styles.backgroundImage.slice(0).reverse(),h.label=1;case 1:if(!(e0))return[3,11];if(2!==i.style)return[3,5];return[4,this.renderDashedDottedBorder(i.color,i.width,f,a.curves,2)];case 4:case 6:case 8:return k.sent(),[3,11];case 5:if(3!==i.style)return[3,7];return[4,this.renderDashedDottedBorder(i.color,i.width,f,a.curves,3)];case 7:if(4!==i.style)return[3,9];return[4,this.renderDoubleBorder(i.color,i.width,f,a.curves)];case 9:return[4,this.renderSolidBorder(i.color,f,a.curves)];case 10:k.sent(),k.label=11;case 11:f++,k.label=12;case 12:return g++,[3,3];case 13:return[2]}})})},b.prototype.renderDashedDottedBorder=function(a,b,c,d,e){return A(this,void 0,void 0,function(){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return B(this,function(v){return this.ctx.save(),f=fl(d,c),g=fi(d,c),2===e&&(this.path(g),this.ctx.clip()),e3(g[0])?(h=g[0].start.x,i=g[0].start.y):(h=g[0].x,i=g[0].y),e3(g[1])?(j=g[1].end.x,k=g[1].end.y):(j=g[1].x,k=g[1].y),l=0===c||2===c?Math.abs(h-j):Math.abs(i-k),this.ctx.beginPath(),3===e?this.formatPath(f):this.formatPath(g.slice(0,2)),m=b<3?3*b:2*b,n=b<3?2*b:b,3===e&&(m=b,n=b),o=!0,l<=2*m?o=!1:l<=2*m+n?(p=l/(2*m+n),m*=p,n*=p):(q=Math.floor((l+n)/(m+n)),r=(l-q*m)/(q-1),n=(s=(l-(q+1)*m)/q)<=0||Math.abs(n-r){"use strict";let{entries:d,setPrototypeOf:e,isFrozen:f,getPrototypeOf:g,getOwnPropertyDescriptor:h}=Object,{freeze:i,seal:j,create:k}=Object,{apply:l,construct:m}="undefined"!=typeof Reflect&&Reflect;i||(i=function(a){return a}),j||(j=function(a){return a}),l||(l=function(a,b){for(var c=arguments.length,d=Array(c>2?c-2:0),e=2;e1?b-1:0),d=1;d1?c-1:0),e=1;e2&&void 0!==arguments[2]?arguments[2]:s;e&&e(a,null);let d=b.length;for(;d--;){let e=b[d];if("string"==typeof e){let a=c(e);a!==e&&(f(b)||(b[d]=a),e=a)}a[e]=!0}return a}function D(a){let b=k(null);for(let[c,e]of d(a))y(a,c)&&(Array.isArray(e)?b[c]=function(a){for(let b=0;b/gm),S=j(/\$\{[\w\W]*/gm),T=j(/^data-[\-\w.\u00B7-\uFFFF]+$/),U=j(/^aria-[\-\w]+$/),V=j(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=j(/^(?:\w+script|data):/i),X=j(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=j(/^html$/i);var Z,$=Object.freeze({__proto__:null,ARIA_ATTR:U,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:j(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:T,DOCTYPE_NAME:Y,ERB_EXPR:R,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:W,MUSTACHE_EXPR:Q,TMPLIT_EXPR:S});let _=function(a,b){if("object"!=typeof a||"function"!=typeof a.createPolicy)return null;let c=null,d="data-tt-policy-suffix";b&&b.hasAttribute(d)&&(c=b.getAttribute(d));let e="dompurify"+(c?"#"+c:"");try{return a.createPolicy(e,{createHTML:a=>a,createScriptURL:a=>a})}catch(a){return console.warn("TrustedTypes policy "+e+" could not be created."),null}},aa=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};b.exports=function a(){let b,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=b=>a(b);if(e.version="3.3.0",e.removed=[],!c||!c.document||9!==c.document.nodeType||!c.Element)return e.isSupported=!1,e;let{document:f}=c,g=f,h=g.currentScript,{DocumentFragment:j,HTMLTemplateElement:l,Node:m,Element:B,NodeFilter:Q,NamedNodeMap:R=c.NamedNodeMap||c.MozNamedAttrMap,HTMLFormElement:S,DOMParser:T,trustedTypes:U}=c,W=B.prototype,X=E(W,"cloneNode"),Z=E(W,"remove"),ab=E(W,"nextSibling"),ac=E(W,"childNodes"),ad=E(W,"parentNode");if("function"==typeof l){let a=f.createElement("template");a.content&&a.content.ownerDocument&&(f=a.content.ownerDocument)}let ae="",{implementation:af,createNodeIterator:ag,createDocumentFragment:ah,getElementsByTagName:ai}=f,{importNode:aj}=g,ak=aa();e.isSupported="function"==typeof d&&"function"==typeof ad&&af&&void 0!==af.createHTMLDocument;let{MUSTACHE_EXPR:al,ERB_EXPR:am,TMPLIT_EXPR:an,DATA_ATTR:ao,ARIA_ATTR:ap,IS_SCRIPT_OR_DATA:aq,ATTR_WHITESPACE:ar,CUSTOM_ELEMENT:as}=$,{IS_ALLOWED_URI:at}=$,au=null,av=C({},[...F,...G,...H,...J,...L]),aw=null,ax=C({},[...M,...N,...O,...P]),ay=Object.seal(k(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),az=null,aA=null,aB=Object.seal(k(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),aC=!0,aD=!0,aE=!1,aF=!0,aG=!1,aH=!0,aI=!1,aJ=!1,aK=!1,aL=!1,aM=!1,aN=!1,aO=!0,aP=!1,aQ=!0,aR=!1,aS={},aT=null,aU=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),aV=null,aW=C({},["audio","video","img","source","image","track"]),aX=null,aY=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),aZ="http://www.w3.org/1998/Math/MathML",a$="http://www.w3.org/2000/svg",a_="http://www.w3.org/1999/xhtml",a0=a_,a1=!1,a2=null,a3=C({},[aZ,a$,a_],t),a4=C({},["mi","mo","mn","ms","mtext"]),a5=C({},["annotation-xml"]),a6=C({},["title","style","font","a","script"]),a7=null,a8=["application/xhtml+xml","text/html"],a9=null,ba=null,bb=f.createElement("form"),bc=function(a){return a instanceof RegExp||a instanceof Function},bd=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ba||ba!==a){if(a&&"object"==typeof a||(a={}),a=D(a),a9="application/xhtml+xml"===(a7=-1===a8.indexOf(a.PARSER_MEDIA_TYPE)?"text/html":a.PARSER_MEDIA_TYPE)?t:s,au=y(a,"ALLOWED_TAGS")?C({},a.ALLOWED_TAGS,a9):av,aw=y(a,"ALLOWED_ATTR")?C({},a.ALLOWED_ATTR,a9):ax,a2=y(a,"ALLOWED_NAMESPACES")?C({},a.ALLOWED_NAMESPACES,t):a3,aX=y(a,"ADD_URI_SAFE_ATTR")?C(D(aY),a.ADD_URI_SAFE_ATTR,a9):aY,aV=y(a,"ADD_DATA_URI_TAGS")?C(D(aW),a.ADD_DATA_URI_TAGS,a9):aW,aT=y(a,"FORBID_CONTENTS")?C({},a.FORBID_CONTENTS,a9):aU,az=y(a,"FORBID_TAGS")?C({},a.FORBID_TAGS,a9):D({}),aA=y(a,"FORBID_ATTR")?C({},a.FORBID_ATTR,a9):D({}),aS=!!y(a,"USE_PROFILES")&&a.USE_PROFILES,aC=!1!==a.ALLOW_ARIA_ATTR,aD=!1!==a.ALLOW_DATA_ATTR,aE=a.ALLOW_UNKNOWN_PROTOCOLS||!1,aF=!1!==a.ALLOW_SELF_CLOSE_IN_ATTR,aG=a.SAFE_FOR_TEMPLATES||!1,aH=!1!==a.SAFE_FOR_XML,aI=a.WHOLE_DOCUMENT||!1,aL=a.RETURN_DOM||!1,aM=a.RETURN_DOM_FRAGMENT||!1,aN=a.RETURN_TRUSTED_TYPE||!1,aK=a.FORCE_BODY||!1,aO=!1!==a.SANITIZE_DOM,aP=a.SANITIZE_NAMED_PROPS||!1,aQ=!1!==a.KEEP_CONTENT,aR=a.IN_PLACE||!1,at=a.ALLOWED_URI_REGEXP||V,a0=a.NAMESPACE||a_,a4=a.MATHML_TEXT_INTEGRATION_POINTS||a4,a5=a.HTML_INTEGRATION_POINTS||a5,ay=a.CUSTOM_ELEMENT_HANDLING||{},a.CUSTOM_ELEMENT_HANDLING&&bc(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ay.tagNameCheck=a.CUSTOM_ELEMENT_HANDLING.tagNameCheck),a.CUSTOM_ELEMENT_HANDLING&&bc(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ay.attributeNameCheck=a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),a.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ay.allowCustomizedBuiltInElements=a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),aG&&(aD=!1),aM&&(aL=!0),aS&&(au=C({},L),aw=[],!0===aS.html&&(C(au,F),C(aw,M)),!0===aS.svg&&(C(au,G),C(aw,N),C(aw,P)),!0===aS.svgFilters&&(C(au,H),C(aw,N),C(aw,P)),!0===aS.mathMl&&(C(au,J),C(aw,O),C(aw,P))),a.ADD_TAGS&&("function"==typeof a.ADD_TAGS?aB.tagCheck=a.ADD_TAGS:(au===av&&(au=D(au)),C(au,a.ADD_TAGS,a9))),a.ADD_ATTR&&("function"==typeof a.ADD_ATTR?aB.attributeCheck=a.ADD_ATTR:(aw===ax&&(aw=D(aw)),C(aw,a.ADD_ATTR,a9))),a.ADD_URI_SAFE_ATTR&&C(aX,a.ADD_URI_SAFE_ATTR,a9),a.FORBID_CONTENTS&&(aT===aU&&(aT=D(aT)),C(aT,a.FORBID_CONTENTS,a9)),aQ&&(au["#text"]=!0),aI&&C(au,["html","head","body"]),au.table&&(C(au,["tbody"]),delete az.tbody),a.TRUSTED_TYPES_POLICY){if("function"!=typeof a.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof a.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ae=(b=a.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===b&&(b=_(U,h)),null!==b&&"string"==typeof ae&&(ae=b.createHTML(""));i&&i(a),ba=a}},be=C({},[...G,...H,...I]),bf=C({},[...J,...K]),bg=function(a){let b=ad(a);b&&b.tagName||(b={namespaceURI:a0,tagName:"template"});let c=s(a.tagName),d=s(b.tagName);return!!a2[a.namespaceURI]&&(a.namespaceURI===a$?b.namespaceURI===a_?"svg"===c:b.namespaceURI===aZ?"svg"===c&&("annotation-xml"===d||a4[d]):!!be[c]:a.namespaceURI===aZ?b.namespaceURI===a_?"math"===c:b.namespaceURI===a$?"math"===c&&a5[d]:!!bf[c]:a.namespaceURI===a_?(b.namespaceURI!==a$||!!a5[d])&&(b.namespaceURI!==aZ||!!a4[d])&&!bf[c]&&(a6[c]||!be[c]):"application/xhtml+xml"===a7&&!!a2[a.namespaceURI])},bh=function(a){q(e.removed,{element:a});try{ad(a).removeChild(a)}catch(b){Z(a)}},bi=function(a,b){try{q(e.removed,{attribute:b.getAttributeNode(a),from:b})}catch(a){q(e.removed,{attribute:null,from:b})}if(b.removeAttribute(a),"is"===a)if(aL||aM)try{bh(b)}catch(a){}else try{b.setAttribute(a,"")}catch(a){}},bj=function(a){let c=null,d=null;if(aK)a=""+a;else{let b=u(a,/^[\r\n\t ]+/);d=b&&b[0]}"application/xhtml+xml"===a7&&a0===a_&&(a=''+a+"");let e=b?b.createHTML(a):a;if(a0===a_)try{c=new T().parseFromString(e,a7)}catch(a){}if(!c||!c.documentElement){c=af.createDocument(a0,"template",null);try{c.documentElement.innerHTML=a1?ae:e}catch(a){}}let g=c.body||c.documentElement;return(a&&d&&g.insertBefore(f.createTextNode(d),g.childNodes[0]||null),a0===a_)?ai.call(c,aI?"html":"body")[0]:aI?c.documentElement:g},bk=function(a){return ag.call(a.ownerDocument||a,a,Q.SHOW_ELEMENT|Q.SHOW_COMMENT|Q.SHOW_TEXT|Q.SHOW_PROCESSING_INSTRUCTION|Q.SHOW_CDATA_SECTION,null)},bl=function(a){return a instanceof S&&("string"!=typeof a.nodeName||"string"!=typeof a.textContent||"function"!=typeof a.removeChild||!(a.attributes instanceof R)||"function"!=typeof a.removeAttribute||"function"!=typeof a.setAttribute||"string"!=typeof a.namespaceURI||"function"!=typeof a.insertBefore||"function"!=typeof a.hasChildNodes)},bm=function(a){return"function"==typeof m&&a instanceof m};function bn(a,b,c){n(a,a=>{a.call(e,b,c,ba)})}let bo=function(a){let b=null;if(bn(ak.beforeSanitizeElements,a,null),bl(a))return bh(a),!0;let c=a9(a.nodeName);if(bn(ak.uponSanitizeElement,a,{tagName:c,allowedTags:au}),aH&&a.hasChildNodes()&&!bm(a.firstElementChild)&&z(/<[/\w!]/g,a.innerHTML)&&z(/<[/\w!]/g,a.textContent)||7===a.nodeType||aH&&8===a.nodeType&&z(/<[/\w]/g,a.data))return bh(a),!0;if(!(aB.tagCheck instanceof Function&&aB.tagCheck(c))&&(!au[c]||az[c])){if(!az[c]&&bq(c)&&(ay.tagNameCheck instanceof RegExp&&z(ay.tagNameCheck,c)||ay.tagNameCheck instanceof Function&&ay.tagNameCheck(c)))return!1;if(aQ&&!aT[c]){let b=ad(a)||a.parentNode,c=ac(a)||a.childNodes;if(c&&b){let d=c.length;for(let e=d-1;e>=0;--e){let d=X(c[e],!0);d.__removalCount=(a.__removalCount||0)+1,b.insertBefore(d,ab(a))}}}return bh(a),!0}return a instanceof B&&!bg(a)||("noscript"===c||"noembed"===c||"noframes"===c)&&z(/<\/no(script|embed|frames)/i,a.innerHTML)?(bh(a),!0):(aG&&3===a.nodeType&&(b=a.textContent,n([al,am,an],a=>{b=v(b,a," ")}),a.textContent!==b&&(q(e.removed,{element:a.cloneNode()}),a.textContent=b)),bn(ak.afterSanitizeElements,a,null),!1)},bp=function(a,b,c){if(aO&&("id"===b||"name"===b)&&(c in f||c in bb))return!1;if(aD&&!aA[b]&&z(ao,b));else if(aC&&z(ap,b));else if(aB.attributeCheck instanceof Function&&aB.attributeCheck(b,a));else if(!aw[b]||aA[b]){if(!(bq(a)&&(ay.tagNameCheck instanceof RegExp&&z(ay.tagNameCheck,a)||ay.tagNameCheck instanceof Function&&ay.tagNameCheck(a))&&(ay.attributeNameCheck instanceof RegExp&&z(ay.attributeNameCheck,b)||ay.attributeNameCheck instanceof Function&&ay.attributeNameCheck(b,a))||"is"===b&&ay.allowCustomizedBuiltInElements&&(ay.tagNameCheck instanceof RegExp&&z(ay.tagNameCheck,c)||ay.tagNameCheck instanceof Function&&ay.tagNameCheck(c))))return!1}else if(aX[b]);else if(z(at,v(c,ar,"")));else if(("src"===b||"xlink:href"===b||"href"===b)&&"script"!==a&&0===w(c,"data:")&&aV[a]);else if(aE&&!z(aq,v(c,ar,"")));else if(c)return!1;return!0},bq=function(a){return"annotation-xml"!==a&&u(a,as)},br=function(a){bn(ak.beforeSanitizeAttributes,a,null);let{attributes:c}=a;if(!c||bl(a))return;let d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:aw,forceKeepAttr:void 0},f=c.length;for(;f--;){let{name:g,namespaceURI:h,value:i}=c[f],j=a9(g),k="value"===g?i:x(i);if(d.attrName=j,d.attrValue=k,d.keepAttr=!0,d.forceKeepAttr=void 0,bn(ak.uponSanitizeAttribute,a,d),k=d.attrValue,aP&&("id"===j||"name"===j)&&(bi(g,a),k="user-content-"+k),aH&&z(/((--!?|])>)|<\/(style|title|textarea)/i,k)||"attributename"===j&&u(k,"href")){bi(g,a);continue}if(d.forceKeepAttr)continue;if(!d.keepAttr||!aF&&z(/\/>/i,k)){bi(g,a);continue}aG&&n([al,am,an],a=>{k=v(k,a," ")});let l=a9(a.nodeName);if(!bp(l,j,k)){bi(g,a);continue}if(b&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(h);else switch(U.getAttributeType(l,j)){case"TrustedHTML":k=b.createHTML(k);break;case"TrustedScriptURL":k=b.createScriptURL(k)}if(k!==i)try{h?a.setAttributeNS(h,g,k):a.setAttribute(g,k),bl(a)?bh(a):p(e.removed)}catch(b){bi(g,a)}}bn(ak.afterSanitizeAttributes,a,null)},bs=function a(b){let c=null,d=bk(b);for(bn(ak.beforeSanitizeShadowDOM,b,null);c=d.nextNode();)bn(ak.uponSanitizeShadowNode,c,null),bo(c),br(c),c.content instanceof j&&a(c.content);bn(ak.afterSanitizeShadowDOM,b,null)};return e.sanitize=function(a){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=null,f=null,h=null,i=null;if((a1=!a)&&(a=""),"string"!=typeof a&&!bm(a))if("function"==typeof a.toString){if("string"!=typeof(a=a.toString()))throw A("dirty is not a string, aborting")}else throw A("toString is not a function");if(!e.isSupported)return a;if(aJ||bd(c),e.removed=[],"string"==typeof a&&(aR=!1),aR){if(a.nodeName){let b=a9(a.nodeName);if(!au[b]||az[b])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(a instanceof m)1===(f=(d=bj("")).ownerDocument.importNode(a,!0)).nodeType&&"BODY"===f.nodeName||"HTML"===f.nodeName?d=f:d.appendChild(f);else{if(!aL&&!aG&&!aI&&-1===a.indexOf("<"))return b&&aN?b.createHTML(a):a;if(!(d=bj(a)))return aL?null:aN?ae:""}d&&aK&&bh(d.firstChild);let k=bk(aR?a:d);for(;h=k.nextNode();)bo(h),br(h),h.content instanceof j&&bs(h.content);if(aR)return a;if(aL){if(aM)for(i=ah.call(d.ownerDocument);d.firstChild;)i.appendChild(d.firstChild);else i=d;return(aw.shadowroot||aw.shadowrootmode)&&(i=aj.call(g,i,!0)),i}let l=aI?d.outerHTML:d.innerHTML;return aI&&au["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&z(Y,d.ownerDocument.doctype.name)&&(l="\n"+l),aG&&n([al,am,an],a=>{l=v(l,a," ")}),b&&aN?b.createHTML(l):l},e.setConfig=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bd(a),aJ=!0},e.clearConfig=function(){ba=null,aJ=!1},e.isValidAttribute=function(a,b,c){return ba||bd({}),bp(a9(a),a9(b),c)},e.addHook=function(a,b){"function"==typeof b&&q(ak[a],b)},e.removeHook=function(a,b){if(void 0!==b){let c=o(ak[a],b);return -1===c?void 0:r(ak[a],c,1)[0]}return p(ak[a])},e.removeHooks=function(a){ak[a]=[]},e.removeAllHooks=function(){ak=aa()},e}()},78265,(a,b,c)=>{"use strict";var d=function(a){return a&&a.Math===Math&&a};b.exports=d("object"==typeof globalThis&&globalThis)||d(!1)||d("object"==typeof self&&self)||d(a.g)||d("object"==typeof a.e&&a.e)||function(){return this}()||Function("return this")()},53033,(a,b,c)=>{"use strict";b.exports=!1},31457,(a,b,c)=>{"use strict";var d=a.r(78265),e=Object.defineProperty;b.exports=function(a,b){try{e(d,a,{value:b,configurable:!0,writable:!0})}catch(c){d[a]=b}return b}},65301,(a,b,c)=>{"use strict";var d=a.r(53033),e=a.r(78265),f=a.r(31457),g="__core-js_shared__",h=b.exports=e[g]||f(g,{});(h.versions||(h.versions=[])).push({version:"3.47.0",mode:d?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},42401,(a,b,c)=>{"use strict";var d=a.r(65301);b.exports=function(a,b){return d[a]||(d[a]=b||{})}},63756,(a,b,c)=>{"use strict";b.exports=function(a){try{return!!a()}catch(a){return!0}}},3521,(a,b,c)=>{"use strict";b.exports=!a.r(63756)(function(){var a=(function(){}).bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},97822,(a,b,c)=>{"use strict";var d=a.r(3521),e=Function.prototype,f=e.call,g=d&&e.bind.bind(f,f);b.exports=d?g:function(a){return function(){return f.apply(a,arguments)}}},96783,(a,b,c)=>{"use strict";b.exports=function(a){return null==a}},33651,(a,b,c)=>{"use strict";var d=a.r(96783),e=TypeError;b.exports=function(a){if(d(a))throw new e("Can't call method on "+a);return a}},33541,(a,b,c)=>{"use strict";var d=a.r(33651),e=Object;b.exports=function(a){return e(d(a))}},67580,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(33541),f=d({}.hasOwnProperty);b.exports=Object.hasOwn||function(a,b){return f(e(a),b)}},24628,(a,b,c)=>{"use strict";var d=a.r(97822),e=0,f=Math.random(),g=d(1.1.toString);b.exports=function(a){return"Symbol("+(void 0===a?"":a)+")_"+g(++e+f,36)}},48711,(a,b,c)=>{"use strict";var d=a.r(78265).navigator,e=d&&d.userAgent;b.exports=e?String(e):""},46940,(a,b,c)=>{"use strict";var d,e,f=a.r(78265),g=a.r(48711),h=f.process,i=f.Deno,j=h&&h.versions||i&&i.version,k=j&&j.v8;k&&(e=(d=k.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!e&&g&&(!(d=g.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=g.match(/Chrome\/(\d+)/))&&(e=+d[1]),b.exports=e},97518,(a,b,c)=>{"use strict";var d=a.r(46940),e=a.r(63756),f=a.r(78265).String;b.exports=!!Object.getOwnPropertySymbols&&!e(function(){var a=Symbol("symbol detection");return!f(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&d&&d<41})},92606,(a,b,c)=>{"use strict";b.exports=a.r(97518)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83387,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(42401),f=a.r(67580),g=a.r(24628),h=a.r(97518),i=a.r(92606),j=d.Symbol,k=e("wks"),l=i?j.for||j:j&&j.withoutSetter||g;b.exports=function(a){return f(k,a)||(k[a]=h&&f(j,a)?j[a]:l("Symbol."+a)),k[a]}},65701,(a,b,c)=>{"use strict";var d=a.r(83387)("toStringTag"),e={};e[d]="z",b.exports="[object z]"===String(e)},25817,(a,b,c)=>{"use strict";var d="object"==typeof document&&document.all;b.exports=void 0===d&&void 0!==d?function(a){return"function"==typeof a||a===d}:function(a){return"function"==typeof a}},67948,(a,b,c)=>{"use strict";b.exports=!a.r(63756)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},56148,(a,b,c)=>{"use strict";var d=a.r(25817);b.exports=function(a){return"object"==typeof a?null!==a:d(a)}},49412,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(56148),f=d.document,g=e(f)&&e(f.createElement);b.exports=function(a){return g?f.createElement(a):{}}},54833,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(63756),f=a.r(49412);b.exports=!d&&!e(function(){return 7!==Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})},71913,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(63756);b.exports=d&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},52083,(a,b,c)=>{"use strict";var d=a.r(56148),e=String,f=TypeError;b.exports=function(a){if(d(a))return a;throw new f(e(a)+" is not an object")}},39600,(a,b,c)=>{"use strict";var d=a.r(3521),e=Function.prototype.call;b.exports=d?e.bind(e):function(){return e.apply(e,arguments)}},51032,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(25817);b.exports=function(a,b){var c;return arguments.length<2?e(c=d[a])?c:void 0:d[a]&&d[a][b]}},56533,(a,b,c)=>{"use strict";b.exports=a.r(97822)({}.isPrototypeOf)},39033,(a,b,c)=>{"use strict";var d=a.r(51032),e=a.r(25817),f=a.r(56533),g=a.r(92606),h=Object;b.exports=g?function(a){return"symbol"==typeof a}:function(a){var b=d("Symbol");return e(b)&&f(b.prototype,h(a))}},99779,(a,b,c)=>{"use strict";var d=String;b.exports=function(a){try{return d(a)}catch(a){return"Object"}}},55203,(a,b,c)=>{"use strict";var d=a.r(25817),e=a.r(99779),f=TypeError;b.exports=function(a){if(d(a))return a;throw new f(e(a)+" is not a function")}},86500,(a,b,c)=>{"use strict";var d=a.r(55203),e=a.r(96783);b.exports=function(a,b){var c=a[b];return e(c)?void 0:d(c)}},55206,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(25817),f=a.r(56148),g=TypeError;b.exports=function(a,b){var c,h;if("string"===b&&e(c=a.toString)&&!f(h=d(c,a))||e(c=a.valueOf)&&!f(h=d(c,a))||"string"!==b&&e(c=a.toString)&&!f(h=d(c,a)))return h;throw new g("Can't convert object to primitive value")}},51682,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(56148),f=a.r(39033),g=a.r(86500),h=a.r(55206),i=a.r(83387),j=TypeError,k=i("toPrimitive");b.exports=function(a,b){if(!e(a)||f(a))return a;var c,i=g(a,k);if(i){if(void 0===b&&(b="default"),!e(c=d(i,a,b))||f(c))return c;throw new j("Can't convert object to primitive value")}return void 0===b&&(b="number"),h(a,b)}},93518,(a,b,c)=>{"use strict";var d=a.r(51682),e=a.r(39033);b.exports=function(a){var b=d(a,"string");return e(b)?b:b+""}},88483,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(54833),f=a.r(71913),g=a.r(52083),h=a.r(93518),i=TypeError,j=Object.defineProperty,k=Object.getOwnPropertyDescriptor,l="enumerable",m="configurable",n="writable";c.f=d?f?function(a,b,c){if(g(a),b=h(b),g(c),"function"==typeof a&&"prototype"===b&&"value"in c&&n in c&&!c[n]){var d=k(a,b);d&&d[n]&&(a[b]=c.value,c={configurable:m in c?c[m]:d[m],enumerable:l in c?c[l]:d[l],writable:!1})}return j(a,b,c)}:j:function(a,b,c){if(g(a),b=h(b),g(c),e)try{return j(a,b,c)}catch(a){}if("get"in c||"set"in c)throw new i("Accessors not supported");return"value"in c&&(a[b]=c.value),a}},23645,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(67580),f=Function.prototype,g=d&&Object.getOwnPropertyDescriptor,h=e(f,"name"),i=h&&(!d||d&&g(f,"name").configurable);b.exports={EXISTS:h,PROPER:h&&"something"===(function(){}).name,CONFIGURABLE:i}},84356,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(25817),f=a.r(65301),g=d(Function.toString);e(f.inspectSource)||(f.inspectSource=function(a){return g(a)}),b.exports=f.inspectSource},30965,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(25817),f=d.WeakMap;b.exports=e(f)&&/native code/.test(String(f))},20181,(a,b,c)=>{"use strict";b.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},48641,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(88483),f=a.r(20181);b.exports=d?function(a,b,c){return e.f(a,b,f(1,c))}:function(a,b,c){return a[b]=c,a}},24773,(a,b,c)=>{"use strict";var d=a.r(42401),e=a.r(24628),f=d("keys");b.exports=function(a){return f[a]||(f[a]=e(a))}},39490,(a,b,c)=>{"use strict";b.exports={}},5564,(a,b,c)=>{"use strict";var d,e,f,g=a.r(30965),h=a.r(78265),i=a.r(56148),j=a.r(48641),k=a.r(67580),l=a.r(65301),m=a.r(24773),n=a.r(39490),o="Object already initialized",p=h.TypeError,q=h.WeakMap;if(g||l.state){var r=l.state||(l.state=new q);r.get=r.get,r.has=r.has,r.set=r.set,d=function(a,b){if(r.has(a))throw new p(o);return b.facade=a,r.set(a,b),b},e=function(a){return r.get(a)||{}},f=function(a){return r.has(a)}}else{var s=m("state");n[s]=!0,d=function(a,b){if(k(a,s))throw new p(o);return b.facade=a,j(a,s,b),b},e=function(a){return k(a,s)?a[s]:{}},f=function(a){return k(a,s)}}b.exports={set:d,get:e,has:f,enforce:function(a){return f(a)?e(a):d(a,{})},getterFor:function(a){return function(b){var c;if(!i(b)||(c=e(b)).type!==a)throw new p("Incompatible receiver, "+a+" required");return c}}}},62935,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(63756),f=a.r(25817),g=a.r(67580),h=a.r(67948),i=a.r(23645).CONFIGURABLE,j=a.r(84356),k=a.r(5564),l=k.enforce,m=k.get,n=String,o=Object.defineProperty,p=d("".slice),q=d("".replace),r=d([].join),s=h&&!e(function(){return 8!==o(function(){},"length",{value:8}).length}),t=String(String).split("String"),u=b.exports=function(a,b,c){"Symbol("===p(n(b),0,7)&&(b="["+q(n(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),c&&c.getter&&(b="get "+b),c&&c.setter&&(b="set "+b),(!g(a,"name")||i&&a.name!==b)&&(h?o(a,"name",{value:b,configurable:!0}):a.name=b),s&&c&&g(c,"arity")&&a.length!==c.arity&&o(a,"length",{value:c.arity});try{c&&g(c,"constructor")&&c.constructor?h&&o(a,"prototype",{writable:!1}):a.prototype&&(a.prototype=void 0)}catch(a){}var d=l(a);return g(d,"source")||(d.source=r(t,"string"==typeof b?b:"")),a};Function.prototype.toString=u(function(){return f(this)&&m(this).source||j(this)},"toString")},58939,(a,b,c)=>{"use strict";var d=a.r(25817),e=a.r(88483),f=a.r(62935),g=a.r(31457);b.exports=function(a,b,c,h){h||(h={});var i=h.enumerable,j=void 0!==h.name?h.name:b;if(d(c)&&f(c,j,h),h.global)i?a[b]=c:g(b,c);else{try{h.unsafe?a[b]&&(i=!0):delete a[b]}catch(a){}i?a[b]=c:e.f(a,b,{value:c,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return a}},24142,(a,b,c)=>{"use strict";var d=a.r(97822),e=d({}.toString),f=d("".slice);b.exports=function(a){return f(e(a),8,-1)}},55433,(a,b,c)=>{"use strict";var d=a.r(65701),e=a.r(25817),f=a.r(24142),g=a.r(83387)("toStringTag"),h=Object,i="Arguments"===f(function(){return arguments}()),j=function(a,b){try{return a[b]}catch(a){}};b.exports=d?f:function(a){var b,c,d;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=j(b=h(a),g))?c:i?f(b):"Object"===(d=f(b))&&e(b.callee)?"Arguments":d}},37886,(a,b,c)=>{"use strict";var d=a.r(65701),e=a.r(55433);b.exports=d?({}).toString:function(){return"[object "+e(this)+"]"}},34833,(a,b,c)=>{"use strict";var d=a.r(65701),e=a.r(58939),f=a.r(37886);d||e(Object.prototype,"toString",f,{unsafe:!0})},55614,(a,b,c)=>{"use strict";var d={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor;c.f=e&&!d.call({1:2},1)?function(a){var b=e(this,a);return!!b&&b.enumerable}:d},42369,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(63756),f=a.r(24142),g=Object,h=d("".split);b.exports=e(function(){return!g("z").propertyIsEnumerable(0)})?function(a){return"String"===f(a)?h(a,""):g(a)}:g},88174,(a,b,c)=>{"use strict";var d=a.r(42369),e=a.r(33651);b.exports=function(a){return d(e(a))}},78534,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(39600),f=a.r(55614),g=a.r(20181),h=a.r(88174),i=a.r(93518),j=a.r(67580),k=a.r(54833),l=Object.getOwnPropertyDescriptor;c.f=d?l:function(a,b){if(a=h(a),b=i(b),k)try{return l(a,b)}catch(a){}if(j(a,b))return g(!e(f.f,a,b),a[b])}},88013,(a,b,c)=>{"use strict";var d=Math.ceil,e=Math.floor;b.exports=Math.trunc||function(a){var b=+a;return(b>0?e:d)(b)}},10021,(a,b,c)=>{"use strict";var d=a.r(88013);b.exports=function(a){var b=+a;return b!=b||0===b?0:d(b)}},34045,(a,b,c)=>{"use strict";var d=a.r(10021),e=Math.max,f=Math.min;b.exports=function(a,b){var c=d(a);return c<0?e(c+b,0):f(c,b)}},55894,(a,b,c)=>{"use strict";var d=a.r(10021),e=Math.min;b.exports=function(a){var b=d(a);return b>0?e(b,0x1fffffffffffff):0}},35264,(a,b,c)=>{"use strict";var d=a.r(55894);b.exports=function(a){return d(a.length)}},51318,(a,b,c)=>{"use strict";var d=a.r(88174),e=a.r(34045),f=a.r(35264),g=function(a){return function(b,c,g){var h,i=d(b),j=f(i);if(0===j)return!a&&-1;var k=e(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}};b.exports={includes:g(!0),indexOf:g(!1)}},92804,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(67580),f=a.r(88174),g=a.r(51318).indexOf,h=a.r(39490),i=d([].push);b.exports=function(a,b){var c,d=f(a),j=0,k=[];for(c in d)!e(h,c)&&e(d,c)&&i(k,c);for(;b.length>j;)e(d,c=b[j++])&&(~g(k,c)||i(k,c));return k}},1379,(a,b,c)=>{"use strict";b.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},85780,(a,b,c)=>{"use strict";var d=a.r(92804),e=a.r(1379).concat("length","prototype");c.f=Object.getOwnPropertyNames||function(a){return d(a,e)}},15775,(a,b,c)=>{"use strict";c.f=Object.getOwnPropertySymbols},76405,(a,b,c)=>{"use strict";var d=a.r(51032),e=a.r(97822),f=a.r(85780),g=a.r(15775),h=a.r(52083),i=e([].concat);b.exports=d("Reflect","ownKeys")||function(a){var b=f.f(h(a)),c=g.f;return c?i(b,c(a)):b}},35864,(a,b,c)=>{"use strict";var d=a.r(67580),e=a.r(76405),f=a.r(78534),g=a.r(88483);b.exports=function(a,b,c){for(var h=e(b),i=g.f,j=f.f,k=0;k{"use strict";var d=a.r(63756),e=a.r(25817),f=/#|\.prototype\./,g=function(a,b){var c=i[h(a)];return c===k||c!==j&&(e(b)?d(b):!!b)},h=g.normalize=function(a){return String(a).replace(f,".").toLowerCase()},i=g.data={},j=g.NATIVE="N",k=g.POLYFILL="P";b.exports=g},41846,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(78534).f,f=a.r(48641),g=a.r(58939),h=a.r(31457),i=a.r(35864),j=a.r(37362);b.exports=function(a,b){var c,k,l,m,n,o=a.target,p=a.global,q=a.stat;if(c=p?d:q?d[o]||h(o,{}):d[o]&&d[o].prototype)for(k in b){if(m=b[k],l=a.dontCallGetSet?(n=e(c,k))&&n.value:c[k],!j(p?k:o+(q?".":"#")+k,a.forced)&&void 0!==l){if(typeof m==typeof l)continue;i(m,l)}(a.sham||l&&l.sham)&&f(m,"sham",!0),g(c,k,m,a)}}},3134,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(48711),f=a.r(24142),g=function(a){return e.slice(0,a.length)===a};b.exports=g("Bun/")?"BUN":g("Cloudflare-Workers")?"CLOUDFLARE":g("Deno/")?"DENO":g("Node.js/")?"NODE":d.Bun&&"string"==typeof Bun.version?"BUN":d.Deno&&"object"==typeof Deno.version?"DENO":"process"===f(d.process)?"NODE":d.window&&d.document?"BROWSER":"REST"},87915,(a,b,c)=>{"use strict";b.exports="NODE"===a.r(3134)},68490,(a,b,c)=>{"use strict";b.exports=a.r(78265)},59439,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(55203);b.exports=function(a,b,c){try{return d(e(Object.getOwnPropertyDescriptor(a,b)[c]))}catch(a){}}},82986,(a,b,c)=>{"use strict";var d=a.r(56148);b.exports=function(a){return d(a)||null===a}},86787,(a,b,c)=>{"use strict";var d=a.r(82986),e=String,f=TypeError;b.exports=function(a){if(d(a))return a;throw new f("Can't set "+e(a)+" as a prototype")}},4437,(a,b,c)=>{"use strict";var d=a.r(59439),e=a.r(56148),f=a.r(33651),g=a.r(86787);b.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a,b=!1,c={};try{(a=d(Object.prototype,"__proto__","set"))(c,[]),b=c instanceof Array}catch(a){}return function(c,d){return f(c),g(d),e(c)&&(b?a(c,d):c.__proto__=d),c}}():void 0)},83065,(a,b,c)=>{"use strict";var d=a.r(88483).f,e=a.r(67580),f=a.r(83387)("toStringTag");b.exports=function(a,b,c){a&&!c&&(a=a.prototype),a&&!e(a,f)&&d(a,f,{configurable:!0,value:b})}},65197,(a,b,c)=>{"use strict";var d=a.r(62935),e=a.r(88483);b.exports=function(a,b,c){return c.get&&d(c.get,b,{getter:!0}),c.set&&d(c.set,b,{setter:!0}),e.f(a,b,c)}},4733,(a,b,c)=>{"use strict";var d=a.r(51032),e=a.r(65197),f=a.r(83387),g=a.r(67948),h=f("species");b.exports=function(a){var b=d(a);g&&b&&!b[h]&&e(b,h,{configurable:!0,get:function(){return this}})}},21919,(a,b,c)=>{"use strict";var d=a.r(56533),e=TypeError;b.exports=function(a,b){if(d(b,a))return a;throw new e("Incorrect invocation")}},76964,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(63756),f=a.r(25817),g=a.r(55433),h=a.r(51032),i=a.r(84356),j=function(){},k=h("Reflect","construct"),l=/^\s*(?:class|function)\b/,m=d(l.exec),n=!l.test(j),o=function(a){if(!f(a))return!1;try{return k(j,[],a),!0}catch(a){return!1}},p=function(a){if(!f(a))return!1;switch(g(a)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return n||!!m(l,i(a))}catch(a){return!0}};p.sham=!0,b.exports=!k||e(function(){var a;return o(o.call)||!o(Object)||!o(function(){a=!0})||a})?p:o},58699,(a,b,c)=>{"use strict";var d=a.r(76964),e=a.r(99779),f=TypeError;b.exports=function(a){if(d(a))return a;throw new f(e(a)+" is not a constructor")}},79971,(a,b,c)=>{"use strict";var d=a.r(52083),e=a.r(58699),f=a.r(96783),g=a.r(83387)("species");b.exports=function(a,b){var c,h=d(a).constructor;return void 0===h||f(c=d(h)[g])?b:e(c)}},3548,(a,b,c)=>{"use strict";var d=a.r(3521),e=Function.prototype,f=e.apply,g=e.call;b.exports="object"==typeof Reflect&&Reflect.apply||(d?g.bind(f):function(){return g.apply(f,arguments)})},36524,(a,b,c)=>{"use strict";var d=a.r(24142),e=a.r(97822);b.exports=function(a){if("Function"===d(a))return e(a)}},2896,(a,b,c)=>{"use strict";var d=a.r(36524),e=a.r(55203),f=a.r(3521),g=d(d.bind);b.exports=function(a,b){return e(a),void 0===b?a:f?g(a,b):function(){return a.apply(b,arguments)}}},87468,(a,b,c)=>{"use strict";b.exports=a.r(51032)("document","documentElement")},15918,(a,b,c)=>{"use strict";b.exports=a.r(97822)([].slice)},55191,(a,b,c)=>{"use strict";var d=TypeError;b.exports=function(a,b){if(a{"use strict";var d=a.r(48711);b.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(d)},21970,(a,b,c)=>{"use strict";var d,e,f,g,h=a.r(78265),i=a.r(3548),j=a.r(2896),k=a.r(25817),l=a.r(67580),m=a.r(63756),n=a.r(87468),o=a.r(15918),p=a.r(49412),q=a.r(55191),r=a.r(37411),s=a.r(87915),t=h.setImmediate,u=h.clearImmediate,v=h.process,w=h.Dispatch,x=h.Function,y=h.MessageChannel,z=h.String,A=0,B={},C="onreadystatechange";m(function(){d=h.location});var D=function(a){if(l(B,a)){var b=B[a];delete B[a],b()}},E=function(a){return function(){D(a)}},F=function(a){D(a.data)},G=function(a){h.postMessage(z(a),d.protocol+"//"+d.host)};t&&u||(t=function(a){q(arguments.length,1);var b=k(a)?a:x(a),c=o(arguments,1);return B[++A]=function(){i(b,void 0,c)},e(A),A},u=function(a){delete B[a]},s?e=function(a){v.nextTick(E(a))}:w&&w.now?e=function(a){w.now(E(a))}:y&&!r?(g=(f=new y).port2,f.port1.onmessage=F,e=j(g.postMessage,g)):h.addEventListener&&k(h.postMessage)&&!h.importScripts&&d&&"file:"!==d.protocol&&!m(G)?(e=G,h.addEventListener("message",F,!1)):e=C in p("script")?function(a){n.appendChild(p("script"))[C]=function(){n.removeChild(this),D(a)}}:function(a){setTimeout(E(a),0)}),b.exports={set:t,clear:u}},33463,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(67948),f=Object.getOwnPropertyDescriptor;b.exports=function(a){if(!e)return d[a];var b=f(d,a);return b&&b.value}},60724,(a,b,c)=>{"use strict";var d=function(){this.head=null,this.tail=null};d.prototype={add:function(a){var b={item:a,next:null},c=this.tail;c?c.next=b:this.head=b,this.tail=b},get:function(){var a=this.head;if(a)return null===(this.head=a.next)&&(this.tail=null),a.item}},b.exports=d},64769,(a,b,c)=>{"use strict";var d=a.r(48711);b.exports=/ipad|iphone|ipod/i.test(d)&&"undefined"!=typeof Pebble},86047,(a,b,c)=>{"use strict";var d=a.r(48711);b.exports=/web0s(?!.*chrome)/i.test(d)},57281,(a,b,c)=>{"use strict";var d,e,f,g,h,i=a.r(78265),j=a.r(33463),k=a.r(2896),l=a.r(21970).set,m=a.r(60724),n=a.r(37411),o=a.r(64769),p=a.r(86047),q=a.r(87915),r=i.MutationObserver||i.WebKitMutationObserver,s=i.document,t=i.process,u=i.Promise,v=j("queueMicrotask");if(!v){var w=new m,x=function(){var a,b;for(q&&(a=t.domain)&&a.exit();b=w.get();)try{b()}catch(a){throw w.head&&d(),a}a&&a.enter()};n||q||p||!r||!s?!o&&u&&u.resolve?((g=u.resolve(void 0)).constructor=u,h=k(g.then,g),d=function(){h(x)}):q?d=function(){t.nextTick(x)}:(l=k(l,i),d=function(){l(x)}):(e=!0,f=s.createTextNode(""),new r(x).observe(f,{characterData:!0}),d=function(){f.data=e=!e}),v=function(a){w.head||d(),w.add(a)}}b.exports=v},56608,(a,b,c)=>{"use strict";b.exports=function(a,b){try{1==arguments.length?console.error(a):console.error(a,b)}catch(a){}}},93896,(a,b,c)=>{"use strict";b.exports=function(a){try{return{error:!1,value:a()}}catch(a){return{error:!0,value:a}}}},57035,(a,b,c)=>{"use strict";b.exports=a.r(78265).Promise},5802,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(57035),f=a.r(25817),g=a.r(37362),h=a.r(84356),i=a.r(83387),j=a.r(3134),k=a.r(53033),l=a.r(46940),m=e&&e.prototype,n=i("species"),o=!1,p=f(d.PromiseRejectionEvent);b.exports={CONSTRUCTOR:g("Promise",function(){var a=h(e),b=a!==String(e);if(!b&&66===l||k&&!(m.catch&&m.finally))return!0;if(!l||l<51||!/native code/.test(a)){var c=new e(function(a){a(1)}),d=function(a){a(function(){},function(){})};if((c.constructor={})[n]=d,!(o=c.then(function(){})instanceof d))return!0}return!b&&("BROWSER"===j||"DENO"===j)&&!p}),REJECTION_EVENT:p,SUBCLASSING:o}},97524,(a,b,c)=>{"use strict";var d=a.r(55203),e=TypeError,f=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw new e("Bad Promise constructor");b=a,c=d}),this.resolve=d(b),this.reject=d(c)};b.exports.f=function(a){return new f(a)}},69943,(a,b,c)=>{"use strict";var d,e,f,g,h=a.r(41846),i=a.r(53033),j=a.r(87915),k=a.r(78265),l=a.r(68490),m=a.r(39600),n=a.r(58939),o=a.r(4437),p=a.r(83065),q=a.r(4733),r=a.r(55203),s=a.r(25817),t=a.r(56148),u=a.r(21919),v=a.r(79971),w=a.r(21970).set,x=a.r(57281),y=a.r(56608),z=a.r(93896),A=a.r(60724),B=a.r(5564),C=a.r(57035),D=a.r(5802),E=a.r(97524),F="Promise",G=D.CONSTRUCTOR,H=D.REJECTION_EVENT,I=D.SUBCLASSING,J=B.getterFor(F),K=B.set,L=C&&C.prototype,M=C,N=L,O=k.TypeError,P=k.document,Q=k.process,R=E.f,S=R,T=!!(P&&P.createEvent&&k.dispatchEvent),U="unhandledrejection",V=function(a){var b;return!!(t(a)&&s(b=a.then))&&b},W=function(a,b){var c,d,e,f=b.value,g=1===b.state,h=g?a.ok:a.fail,i=a.resolve,j=a.reject,k=a.domain;try{h?(g||(2===b.rejection&&_(b),b.rejection=1),!0===h?c=f:(k&&k.enter(),c=h(f),k&&(k.exit(),e=!0)),c===a.promise?j(new O("Promise-chain cycle")):(d=V(c))?m(d,c,i,j):i(c)):j(f)}catch(a){k&&!e&&k.exit(),j(a)}},X=function(a,b){a.notified||(a.notified=!0,x(function(){for(var c,d=a.reactions;c=d.get();)W(c,a);a.notified=!1,b&&!a.rejection&&Z(a)}))},Y=function(a,b,c){var d,e;T?((d=P.createEvent("Event")).promise=b,d.reason=c,d.initEvent(a,!1,!0),k.dispatchEvent(d)):d={promise:b,reason:c},!H&&(e=k["on"+a])?e(d):a===U&&y("Unhandled promise rejection",c)},Z=function(a){m(w,k,function(){var b,c=a.facade,d=a.value;if($(a)&&(b=z(function(){j?Q.emit("unhandledRejection",d,c):Y(U,c,d)}),a.rejection=j||$(a)?2:1,b.error))throw b.value})},$=function(a){return 1!==a.rejection&&!a.parent},_=function(a){m(w,k,function(){var b=a.facade;j?Q.emit("rejectionHandled",b):Y("rejectionhandled",b,a.value)})},aa=function(a,b,c){return function(d){a(b,d,c)}},ab=function(a,b,c){a.done||(a.done=!0,c&&(a=c),a.value=b,a.state=2,X(a,!0))},ac=function(a,b,c){if(!a.done){a.done=!0,c&&(a=c);try{if(a.facade===b)throw new O("Promise can't be resolved itself");var d=V(b);d?x(function(){var c={done:!1};try{m(d,b,aa(ac,c,a),aa(ab,c,a))}catch(b){ab(c,b,a)}}):(a.value=b,a.state=1,X(a,!1))}catch(b){ab({done:!1},b,a)}}};if(G&&(N=(M=function(a){u(this,N),r(a),m(d,this);var b=J(this);try{a(aa(ac,b),aa(ab,b))}catch(a){ab(b,a)}}).prototype,(d=function(a){K(this,{type:F,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:0,value:null})}).prototype=n(N,"then",function(a,b){var c=J(this),d=R(v(this,M));return c.parent=!0,d.ok=!s(a)||a,d.fail=s(b)&&b,d.domain=j?Q.domain:void 0,0===c.state?c.reactions.add(d):x(function(){W(d,c)}),d.promise}),e=function(){var a=new d,b=J(a);this.promise=a,this.resolve=aa(ac,b),this.reject=aa(ab,b)},E.f=R=function(a){return a===M||a===f?new e(a):S(a)},!i&&s(C)&&L!==Object.prototype)){g=L.then,I||n(L,"then",function(a,b){var c=this;return new M(function(a,b){m(g,c,a,b)}).then(a,b)},{unsafe:!0});try{delete L.constructor}catch(a){}o&&o(L,N)}h({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:M}),f=l.Promise,p(M,F,!1,!0),q(F)},24554,(a,b,c)=>{"use strict";b.exports={}},36335,(a,b,c)=>{"use strict";var d=a.r(83387),e=a.r(24554),f=d("iterator"),g=Array.prototype;b.exports=function(a){return void 0!==a&&(e.Array===a||g[f]===a)}},25231,(a,b,c)=>{"use strict";var d=a.r(55433),e=a.r(86500),f=a.r(96783),g=a.r(24554),h=a.r(83387)("iterator");b.exports=function(a){if(!f(a))return e(a,h)||e(a,"@@iterator")||g[d(a)]}},22337,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(55203),f=a.r(52083),g=a.r(99779),h=a.r(25231),i=TypeError;b.exports=function(a,b){var c=arguments.length<2?h(a):b;if(e(c))return f(d(c,a));throw new i(g(a)+" is not iterable")}},72908,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(52083),f=a.r(86500);b.exports=function(a,b,c){var g,h;e(a);try{if(!(g=f(a,"return"))){if("throw"===b)throw c;return c}g=d(g,a)}catch(a){h=!0,g=a}if("throw"===b)throw c;if(h)throw g;return e(g),c}},98851,(a,b,c)=>{"use strict";var d=a.r(2896),e=a.r(39600),f=a.r(52083),g=a.r(99779),h=a.r(36335),i=a.r(35264),j=a.r(56533),k=a.r(22337),l=a.r(25231),m=a.r(72908),n=TypeError,o=function(a,b){this.stopped=a,this.result=b},p=o.prototype;b.exports=function(a,b,c){var q,r,s,t,u,v,w,x=c&&c.that,y=!!(c&&c.AS_ENTRIES),z=!!(c&&c.IS_RECORD),A=!!(c&&c.IS_ITERATOR),B=!!(c&&c.INTERRUPTED),C=d(b,x),D=function(a){return q&&m(q,"normal"),new o(!0,a)},E=function(a){return y?(f(a),B?C(a[0],a[1],D):C(a[0],a[1])):B?C(a,D):C(a)};if(z)q=a.iterator;else if(A)q=a;else{if(!(r=l(a)))throw new n(g(a)+" is not iterable");if(h(r)){for(s=0,t=i(a);t>s;s++)if((u=E(a[s]))&&j(p,u))return u;return new o(!1)}q=k(a,r)}for(v=z?a.next:q.next;!(w=e(v,q)).done;){try{u=E(w.value)}catch(a){m(q,"throw",a)}if("object"==typeof u&&u&&j(p,u))return u}return new o(!1)}},54610,(a,b,c)=>{"use strict";var d=a.r(83387)("iterator"),e=!1;try{var f=0,g={next:function(){return{done:!!f++}},return:function(){e=!0}};g[d]=function(){return this},Array.from(g,function(){throw 2})}catch(a){}b.exports=function(a,b){try{if(!b&&!e)return!1}catch(a){return!1}var c=!1;try{var f={};f[d]=function(){return{next:function(){return{done:c=!0}}}},a(f)}catch(a){}return c}},91743,(a,b,c)=>{"use strict";var d=a.r(57035),e=a.r(54610);b.exports=a.r(5802).CONSTRUCTOR||!e(function(a){d.all(a).then(void 0,function(){})})},18444,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(39600),f=a.r(55203),g=a.r(97524),h=a.r(93896),i=a.r(98851);d({target:"Promise",stat:!0,forced:a.r(91743)},{all:function(a){var b=this,c=g.f(b),d=c.resolve,j=c.reject,k=h(function(){var c=f(b.resolve),g=[],h=0,k=1;i(a,function(a){var f=h++,i=!1;k++,e(c,b,a).then(function(a){!i&&(i=!0,g[f]=a,--k||d(g))},j)}),--k||d(g)});return k.error&&j(k.value),c.promise}})},42537,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(53033),f=a.r(5802).CONSTRUCTOR,g=a.r(57035),h=a.r(51032),i=a.r(25817),j=a.r(58939),k=g&&g.prototype;if(d({target:"Promise",proto:!0,forced:f,real:!0},{catch:function(a){return this.then(void 0,a)}}),!e&&i(g)){var l=h("Promise").prototype.catch;k.catch!==l&&j(k,"catch",l,{unsafe:!0})}},44947,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(39600),f=a.r(55203),g=a.r(97524),h=a.r(93896),i=a.r(98851);d({target:"Promise",stat:!0,forced:a.r(91743)},{race:function(a){var b=this,c=g.f(b),d=c.reject,j=h(function(){var g=f(b.resolve);i(a,function(a){e(g,b,a).then(c.resolve,d)})});return j.error&&d(j.value),c.promise}})},58023,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(97524);d({target:"Promise",stat:!0,forced:a.r(5802).CONSTRUCTOR},{reject:function(a){var b=e.f(this);return(0,b.reject)(a),b.promise}})},32885,(a,b,c)=>{"use strict";var d=a.r(52083),e=a.r(56148),f=a.r(97524);b.exports=function(a,b){if(d(a),e(b)&&b.constructor===a)return b;var c=f.f(a);return(0,c.resolve)(b),c.promise}},96025,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(51032),f=a.r(53033),g=a.r(57035),h=a.r(5802).CONSTRUCTOR,i=a.r(32885),j=e("Promise"),k=f&&!h;d({target:"Promise",stat:!0,forced:f||h},{resolve:function(a){return i(k&&this===j?g:this,a)}})},35229,(a,b,c)=>{"use strict";a.r(69943),a.r(18444),a.r(42537),a.r(44947),a.r(58023),a.r(96025)},3847,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(52083),f=a.r(78534).f;d({target:"Reflect",stat:!0},{deleteProperty:function(a,b){var c=f(e(a),b);return(!c||!!c.configurable)&&delete a[b]}})},84909,(a,b,c)=>{"use strict";var d=a.r(24142);b.exports=Array.isArray||function(a){return"Array"===d(a)}},43605,(a,b,c)=>{"use strict";var d=a.r(84909),e=a.r(76964),f=a.r(56148),g=a.r(83387)("species"),h=Array;b.exports=function(a){var b;return d(a)&&(e(b=a.constructor)&&(b===h||d(b.prototype))?b=void 0:f(b)&&null===(b=b[g])&&(b=void 0)),void 0===b?h:b}},85517,(a,b,c)=>{"use strict";var d=a.r(43605);b.exports=function(a,b){return new(d(a))(0===b?0:b)}},15480,(a,b,c)=>{"use strict";var d=a.r(2896),e=a.r(97822),f=a.r(42369),g=a.r(33541),h=a.r(35264),i=a.r(85517),j=e([].push),k=function(a){var b=1===a,c=2===a,e=3===a,k=4===a,l=6===a,m=7===a,n=5===a||l;return function(o,p,q,r){for(var s,t,u=g(o),v=f(u),w=h(v),x=d(p,q),y=0,z=r||i,A=b?z(o,w):c||m?z(o,0):void 0;w>y;y++)if((n||y in v)&&(t=x(s=v[y],y,u),a))if(b)A[y]=t;else if(t)switch(a){case 3:return!0;case 5:return s;case 6:return y;case 2:j(A,s)}else switch(a){case 4:return!1;case 7:j(A,s)}return l?-1:e||k?k:A}};b.exports={forEach:k(0),map:k(1),filter:k(2),some:k(3),every:k(4),find:k(5),findIndex:k(6),filterReject:k(7)}},99080,(a,b,c)=>{"use strict";var d=a.r(63756),e=a.r(83387),f=a.r(46940),g=e("species");b.exports=function(a){return f>=51||!d(function(){var b=[];return(b.constructor={})[g]=function(){return{foo:1}},1!==b[a](Boolean).foo})}},1592,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(15480).map;d({target:"Array",proto:!0,forced:!a.r(99080)("map")},{map:function(a){return e(this,a,arguments.length>1?arguments[1]:void 0)}})},33220,(a,b,c)=>{"use strict";var d=a.r(55433),e=String;b.exports=function(a){if("Symbol"===d(a))throw TypeError("Cannot convert a Symbol value to a string");return e(a)}},53139,(a,b,c)=>{"use strict";b.exports=" \n\v\f\r                 \u2028\u2029\uFEFF"},68171,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(33651),f=a.r(33220),g=a.r(53139),h=d("".replace),i=RegExp("^["+g+"]+"),j=RegExp("(^|[^"+g+"])["+g+"]+$"),k=function(a){return function(b){var c=f(e(b));return 1&a&&(c=h(c,i,"")),2&a&&(c=h(c,j,"$1")),c}};b.exports={start:k(1),end:k(2),trim:k(3)}},26003,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(63756),f=a.r(97822),g=a.r(33220),h=a.r(68171).trim,i=a.r(53139),j=f("".charAt),k=d.parseFloat,l=d.Symbol,m=l&&l.iterator;b.exports=1/k(i+"-0")!=-1/0||m&&!e(function(){k(Object(m))})?function(a){var b=h(g(a)),c=k(b);return 0===c&&"-"===j(b,0)?-0:c}:k},69670,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(26003);d({global:!0,forced:parseFloat!==e},{parseFloat:e})},77848,(a,b,c)=>{"use strict";var d=a.r(52083);b.exports=function(){var a=d(this),b="";return a.hasIndices&&(b+="d"),a.global&&(b+="g"),a.ignoreCase&&(b+="i"),a.multiline&&(b+="m"),a.dotAll&&(b+="s"),a.unicode&&(b+="u"),a.unicodeSets&&(b+="v"),a.sticky&&(b+="y"),b}},51102,(a,b,c)=>{"use strict";var d=a.r(63756),e=a.r(78265).RegExp,f=d(function(){var a=e("a","y");return a.lastIndex=2,null!==a.exec("abcd")}),g=f||d(function(){return!e("a","y").sticky});b.exports={BROKEN_CARET:f||d(function(){var a=e("^r","gy");return a.lastIndex=2,null!==a.exec("str")}),MISSED_STICKY:g,UNSUPPORTED_Y:f}},90236,(a,b,c)=>{"use strict";var d=a.r(92804),e=a.r(1379);b.exports=Object.keys||function(a){return d(a,e)}},71629,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(71913),f=a.r(88483),g=a.r(52083),h=a.r(88174),i=a.r(90236);c.f=d&&!e?Object.defineProperties:function(a,b){g(a);for(var c,d=h(b),e=i(b),j=e.length,k=0;j>k;)f.f(a,c=e[k++],d[c]);return a}},59007,(a,b,c)=>{"use strict";var d,e=a.r(52083),f=a.r(71629),g=a.r(1379),h=a.r(39490),i=a.r(87468),j=a.r(49412),k=a.r(24773),l="prototype",m="script",n=k("IE_PROTO"),o=function(){},p=function(a){return"<"+m+">"+a+""},q=function(a){a.write(p("")),a.close();var b=a.parentWindow.Object;return a=null,b},r=function(){var a,b=j("iframe");return b.style.display="none",i.appendChild(b),b.src=String("java"+m+":"),(a=b.contentWindow.document).open(),a.write(p("document.F=Object")),a.close(),a.F},s=function(){try{d=new ActiveXObject("htmlfile")}catch(a){}s="undefined"!=typeof document?document.domain&&d?q(d):r():q(d);for(var a=g.length;a--;)delete s[l][g[a]];return s()};h[n]=!0,b.exports=Object.create||function(a,b){var c;return null!==a?(o[l]=e(a),c=new o,o[l]=null,c[n]=a):c=s(),void 0===b?c:f.f(c,b)}},13019,(a,b,c)=>{"use strict";var d=a.r(63756),e=a.r(78265).RegExp;b.exports=d(function(){var a=e(".","s");return!(a.dotAll&&a.test("\n")&&"s"===a.flags)})},98277,(a,b,c)=>{"use strict";var d=a.r(63756),e=a.r(78265).RegExp;b.exports=d(function(){var a=e("(?b)","g");return"b"!==a.exec("b").groups.a||"bc"!=="b".replace(a,"$c")})},25881,(a,b,c)=>{"use strict";var d,e,f=a.r(39600),g=a.r(97822),h=a.r(33220),i=a.r(77848),j=a.r(51102),k=a.r(42401),l=a.r(59007),m=a.r(5564).get,n=a.r(13019),o=a.r(98277),p=k("native-string-replace",String.prototype.replace),q=RegExp.prototype.exec,r=q,s=g("".charAt),t=g("".indexOf),u=g("".replace),v=g("".slice),w=(e=/b*/g,f(q,d=/a/,"a"),f(q,e,"a"),0!==d.lastIndex||0!==e.lastIndex),x=j.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(w||y||x||n||o)&&(r=function(a){var b,c,d,e,g,j,k,n=m(this),o=h(a),z=n.raw;if(z)return z.lastIndex=this.lastIndex,b=f(r,z,o),this.lastIndex=z.lastIndex,b;var A=n.groups,B=x&&this.sticky,C=f(i,this),D=this.source,E=0,F=o;if(B&&(-1===t(C=u(C,"y",""),"g")&&(C+="g"),F=v(o,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==s(o,this.lastIndex-1))&&(D="(?: "+D+")",F=" "+F,E++),c=RegExp("^(?:"+D+")",C)),y&&(c=RegExp("^"+D+"$(?!\\s)",C)),w&&(d=this.lastIndex),e=f(q,B?c:this,F),B?e?(e.input=v(e.input,E),e[0]=v(e[0],E),e.index=this.lastIndex,this.lastIndex+=e[0].length):this.lastIndex=0:w&&e&&(this.lastIndex=this.global?e.index+e[0].length:d),y&&e&&e.length>1&&f(p,e[0],c,function(){for(g=1;g{"use strict";var d=a.r(41846),e=a.r(25881);d({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},63403,(a,b,c)=>{"use strict";a.r(77423);var d=a.r(39600),e=a.r(58939),f=a.r(25881),g=a.r(63756),h=a.r(83387),i=a.r(48641),j=h("species"),k=RegExp.prototype;b.exports=function(a,b,c,l){var m=h(a),n=!g(function(){var b={};return b[m]=function(){return 7},7!==""[a](b)}),o=n&&!g(function(){var b=!1,c=/a/;if("split"===a){var d={};d[j]=function(){return c},(c={constructor:d,flags:""})[m]=/./[m]}return c.exec=function(){return b=!0,null},c[m](""),!b});if(!n||!o||c){var p=/./[m],q=b(m,""[a],function(a,b,c,e,g){var h=b.exec;return h===f||h===k.exec?n&&!g?{done:!0,value:d(p,b,c,e)}:{done:!0,value:d(a,c,b,e)}:{done:!1}});e(String.prototype,a,q[0]),e(k,m,q[1])}l&&i(k[m],"sham",!0)}},12999,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(10021),f=a.r(33220),g=a.r(33651),h=d("".charAt),i=d("".charCodeAt),j=d("".slice),k=function(a){return function(b,c){var d,k,l=f(g(b)),m=e(c),n=l.length;return m<0||m>=n?a?"":void 0:(d=i(l,m))<55296||d>56319||m+1===n||(k=i(l,m+1))<56320||k>57343?a?h(l,m):d:a?j(l,m,m+2):(d-55296<<10)+(k-56320)+65536}};b.exports={codeAt:k(!1),charAt:k(!0)}},99710,(a,b,c)=>{"use strict";var d=a.r(12999).charAt;b.exports=function(a,b,c){return b+(c?d(a,b).length:1)}},29753,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(63756),f=d.RegExp;b.exports={correct:!e(function(){var a=!0;try{f(".","d")}catch(b){a=!1}var b={},c="",d=a?"dgimsy":"gimsy",e=function(a,d){Object.defineProperty(b,a,{get:function(){return c+=d,!0}})},g={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var h in a&&(g.hasIndices="d"),g)e(h,g[h]);return Object.getOwnPropertyDescriptor(f.prototype,"flags").get.call(b)!==d||c!==d})}},34174,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(67580),f=a.r(56533),g=a.r(29753),h=a.r(77848),i=RegExp.prototype;b.exports=g.correct?function(a){return a.flags}:function(a){return!g.correct&&f(i,a)&&!e(a,"flags")?d(h,a):a.flags}},33650,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(52083),f=a.r(25817),g=a.r(24142),h=a.r(25881),i=TypeError;b.exports=function(a,b){var c=a.exec;if(f(c)){var j=d(c,a,b);return null!==j&&e(j),j}if("RegExp"===g(a))return d(h,a,b);throw new i("RegExp#exec called on incompatible receiver")}},13430,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(97822),f=a.r(63403),g=a.r(52083),h=a.r(56148),i=a.r(55894),j=a.r(33220),k=a.r(33651),l=a.r(86500),m=a.r(99710),n=a.r(34174),o=a.r(33650),p=e("".indexOf);f("match",function(a,b,c){return[function(b){var c=k(this),e=h(b)?l(b,a):void 0;return e?d(e,b,c):new RegExp(b)[a](j(c))},function(a){var d,e=g(this),f=j(a),h=c(b,e,f);if(h.done)return h.value;var k=j(n(e));if(-1===p(k,"g"))return o(e,f);var l=-1!==p(k,"u");e.lastIndex=0;for(var q=[],r=0;null!==(d=o(e,f));){var s=j(d[0]);q[r]=s,""===s&&(e.lastIndex=m(f,i(e.lastIndex),l)),r++}return 0===r?null:q}]})},33836,(a,b,c)=>{"use strict";var d=a.r(97822),e=a.r(33541),f=Math.floor,g=d("".charAt),h=d("".replace),i=d("".slice),j=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,k=/\$([$&'`]|\d{1,2})/g;b.exports=function(a,b,c,d,l,m){var n=c+a.length,o=d.length,p=k;return void 0!==l&&(l=e(l),p=j),h(m,p,function(e,h){var j;switch(g(h,0)){case"$":return"$";case"&":return a;case"`":return i(b,0,c);case"'":return i(b,n);case"<":j=l[i(h,1,-1)];break;default:var k=+h;if(0===k)return e;if(k>o){var m=f(k/10);if(0===m)return e;if(m<=o)return void 0===d[m-1]?g(h,1):d[m-1]+g(h,1);return e}j=d[k-1]}return void 0===j?"":j})}},63865,(a,b,c)=>{"use strict";var d=a.r(3548),e=a.r(39600),f=a.r(97822),g=a.r(63403),h=a.r(63756),i=a.r(52083),j=a.r(25817),k=a.r(56148),l=a.r(10021),m=a.r(55894),n=a.r(33220),o=a.r(33651),p=a.r(99710),q=a.r(86500),r=a.r(33836),s=a.r(34174),t=a.r(33650),u=a.r(83387)("replace"),v=Math.max,w=Math.min,x=f([].concat),y=f([].push),z=f("".indexOf),A=f("".slice),B="$0"==="a".replace(/./,"$0"),C=!!/./[u]&&""===/./[u]("a","$0");g("replace",function(a,b,c){var f=C?"$":"$0";return[function(a,c){var d=o(this),f=k(a)?q(a,u):void 0;return f?e(f,a,d,c):e(b,n(d),a,c)},function(a,e){var g=i(this),h=n(a);if("string"==typeof e&&-1===z(e,f)&&-1===z(e,"$<")){var k=c(b,g,h,e);if(k.done)return k.value}var o=j(e);o||(e=n(e));var q=n(s(g)),u=-1!==z(q,"g");u&&(G=-1!==z(q,"u"),g.lastIndex=0);for(var B=[];null!==(I=t(g,h))&&(y(B,I),u);){;""===n(I[0])&&(g.lastIndex=p(h,m(g.lastIndex),G))}for(var C="",D=0,E=0;E=D&&(C+=A(h,D,K)+H,D=K+J.length)}return C+A(h,D)}]},!!h(function(){var a=/./;return a.exec=function(){var a=[];return a.groups={a:"7"},a},"7"!=="".replace(a,"$")})||!B||C)},81298,(a,b,c)=>{"use strict";var d=a.r(56148),e=a.r(24142),f=a.r(83387)("match");b.exports=function(a){var b;return d(a)&&(void 0!==(b=a[f])?!!b:"RegExp"===e(a))}},81054,(a,b,c)=>{"use strict";var d=a.r(81298),e=TypeError;b.exports=function(a){if(d(a))throw new e("The method doesn't accept regular expressions");return a}},20208,(a,b,c)=>{"use strict";var d=a.r(83387)("match");b.exports=function(a){var b=/./;try{"/./"[a](b)}catch(c){try{return b[d]=!1,"/./"[a](b)}catch(a){}}return!1}},51234,(a,b,c)=>{"use strict";var d,e=a.r(41846),f=a.r(36524),g=a.r(78534).f,h=a.r(55894),i=a.r(33220),j=a.r(81054),k=a.r(33651),l=a.r(20208),m=a.r(53033),n=f("".slice),o=Math.min,p=l("startsWith");e({target:"String",proto:!0,forced:!(!m&&!p&&(d=g(String.prototype,"startsWith"))&&!d.writable)&&!p},{startsWith:function(a){var b=i(k(this));j(a);var c=h(o(arguments.length>1?arguments[1]:void 0,b.length)),d=i(a);return n(b,c,c+d.length)===d}})},32956,(a,b,c)=>{"use strict";var d=a.r(63756);b.exports=function(a,b){var c=[][a];return!!c&&d(function(){c.call(null,b||function(){return 1},1)})}},60874,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(97822),f=a.r(42369),g=a.r(88174),h=a.r(32956),i=e([].join);d({target:"Array",proto:!0,forced:f!==Object||!h("join",",")},{join:function(a){return i(g(this),void 0===a?",":a)}})},24700,(a,b,c)=>{"use strict";var d=TypeError;b.exports=function(a){if(a>0x1fffffffffffff)throw d("Maximum allowed index exceeded");return a}},72696,(a,b,c)=>{"use strict";var d=a.r(67948),e=a.r(88483),f=a.r(20181);b.exports=function(a,b,c){d?e.f(a,b,f(0,c)):a[b]=c}},21077,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(63756),f=a.r(84909),g=a.r(56148),h=a.r(33541),i=a.r(35264),j=a.r(24700),k=a.r(72696),l=a.r(85517),m=a.r(99080),n=a.r(83387),o=a.r(46940),p=n("isConcatSpreadable"),q=o>=51||!e(function(){var a=[];return a[p]=!1,a.concat()[0]!==a}),r=function(a){if(!g(a))return!1;var b=a[p];return void 0!==b?!!b:f(a)};d({target:"Array",proto:!0,arity:1,forced:!q||!m("concat")},{concat:function(a){var b,c,d,e,f,g=h(this),m=l(g,0),n=0;for(b=-1,d=arguments.length;b{"use strict";var d=a.r(41846),e=a.r(15480).every;d({target:"Array",proto:!0,forced:!a.r(32956)("every")},{every:function(a){return e(this,a,arguments.length>1?arguments[1]:void 0)}})},91975,(a,b,c)=>{"use strict";var d=a.r(55203),e=a.r(33541),f=a.r(42369),g=a.r(35264),h=TypeError,i="Reduce of empty array with no initial value",j=function(a){return function(b,c,j,k){var l=e(b),m=f(l),n=g(l);if(d(c),0===n&&j<2)throw new h(i);var o=a?n-1:0,p=a?-1:1;if(j<2)for(;;){if(o in m){k=m[o],o+=p;break}if(o+=p,a?o<0:n<=o)throw new h(i)}for(;a?o>=0:n>o;o+=p)o in m&&(k=c(k,m[o],o,l));return k}};b.exports={left:j(!1),right:j(!0)}},81326,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(91975).left,f=a.r(32956),g=a.r(46940);d({target:"Array",proto:!0,forced:!a.r(87915)&&g>79&&g<83||!f("reduce")},{reduce:function(a){var b=arguments.length;return e(this,a,b,b>1?arguments[1]:void 0)}})},19979,(a,b,c)=>{"use strict";var d,e=a.r(41846),f=a.r(36524),g=a.r(78534).f,h=a.r(55894),i=a.r(33220),j=a.r(81054),k=a.r(33651),l=a.r(20208),m=a.r(53033),n=f("".slice),o=Math.min,p=l("endsWith");e({target:"String",proto:!0,forced:!(!m&&!p&&(d=g(String.prototype,"endsWith"))&&!d.writable)&&!p},{endsWith:function(a){var b=i(k(this));j(a);var c=arguments.length>1?arguments[1]:void 0,d=b.length,e=void 0===c?d:o(h(c),d),f=i(a);return n(b,e-f.length,e)===f}})},89274,(a,b,c)=>{"use strict";var d=a.r(39600),e=a.r(97822),f=a.r(63403),g=a.r(52083),h=a.r(56148),i=a.r(33651),j=a.r(79971),k=a.r(99710),l=a.r(55894),m=a.r(33220),n=a.r(86500),o=a.r(33650),p=a.r(51102),q=a.r(63756),r=p.UNSUPPORTED_Y,s=Math.min,t=e([].push),u=e("".slice),v=!q(function(){var a=/(?:)/,b=a.exec;a.exec=function(){return b.apply(this,arguments)};var c="ab".split(a);return 2!==c.length||"a"!==c[0]||"b"!==c[1]}),w="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;f("split",function(a,b,c){var e="0".split(void 0,0).length?function(a,c){return void 0===a&&0===c?[]:d(b,this,a,c)}:b;return[function(b,c){var f=i(this),g=h(b)?n(b,a):void 0;return g?d(g,b,f,c):d(e,m(f),b,c)},function(a,d){var f=g(this),h=m(a);if(!w){var i=c(e,f,h,d,e!==b);if(i.done)return i.value}var n=j(f,RegExp),p=f.unicode,q=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(r?"g":"y"),v=new n(r?"^(?:"+f.source+")":f,q),x=void 0===d?0xffffffff:d>>>0;if(0===x)return[];if(0===h.length)return null===o(v,h)?[h]:[];for(var y=0,z=0,A=[];z{(function(){var a,c,d,e;"undefined"!=typeof performance&&null!==performance&&performance.now?b.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(b.exports=function(){return(a()-e)/1e6},c=process.hrtime,e=(a=function(){var a;return 1e9*(a=c())[0]+a[1]})()-1e9*process.uptime()):Date.now?(b.exports=function(){return Date.now()-d},d=Date.now()):(b.exports=function(){return new Date().getTime()-d},d=new Date().getTime())}).call(a.e)},52072,(a,b,c)=>{for(var d=a.r(8987),e=a.g,f=["moz","webkit"],g="AnimationFrame",h=e["request"+g],i=e["cancel"+g]||e["cancelRequest"+g],j=0;!h&&j{"use strict";var d=a.r(67948),e=a.r(23645).EXISTS,f=a.r(97822),g=a.r(65197),h=Function.prototype,i=f(h.toString),j=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,k=f(j.exec);d&&!e&&g(h,"name",{configurable:!0,get:function(){try{return k(j,i(this))[1]}catch(a){return""}}})},93661,(a,b,c)=>{"use strict";var d=a.r(23645).PROPER,e=a.r(63756),f=a.r(53139),g="​…᠎";b.exports=function(a){return e(function(){return!!f[a]()||g[a]()!==g||d&&f[a].name!==a})}},46945,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(68171).trim;d({target:"String",proto:!0,forced:a.r(93661)("trim")},{trim:function(){return e(this)}})},79506,(a,b,c)=>{b.exports=function(a){this.ok=!1,this.alpha=1,"#"==a.charAt(0)&&(a=a.substr(1,6));var b={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};a=b[a=(a=a.replace(/ /g,"")).toLowerCase()]||a;for(var c=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3]),parseFloat(a[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{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)]}}],d=0;d3&&(this.alpha=h[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var a=this.r.toString(16),b=this.g.toString(16),c=this.b.toString(16);return 1==a.length&&(a="0"+a),1==b.length&&(b="0"+b),1==c.length&&(c="0"+c),"#"+a+b+c},this.getHelpXML=function(){for(var a=[],d=0;d "+j.toRGB()+" -> "+j.toHex());i.appendChild(k),i.appendChild(l),h.appendChild(i)}catch(a){}return h}}},21143,(a,b,c)=>{"use strict";var d=a.r(15480).forEach;b.exports=a.r(32956)("forEach")?[].forEach:function(a){return d(this,a,arguments.length>1?arguments[1]:void 0)}},64508,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(21143);d({target:"Array",proto:!0,forced:[].forEach!==e},{forEach:e})},55131,(a,b,c)=>{"use strict";b.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3863,(a,b,c)=>{"use strict";var d=a.r(49412)("span").classList,e=d&&d.constructor&&d.constructor.prototype;b.exports=e===Object.prototype?void 0:e},31074,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(55131),f=a.r(3863),g=a.r(21143),h=a.r(48641),i=function(a){if(a&&a.forEach!==g)try{h(a,"forEach",g)}catch(b){a.forEach=g}};for(var j in e)e[j]&&i(d[j]&&d[j].prototype);i(f)},47814,(a,b,c)=>{"use strict";var d=a.r(52083),e=a.r(72908);b.exports=function(a,b,c,f){try{return f?b(d(c)[0],c[1]):b(c)}catch(b){e(a,"throw",b)}}},54670,(a,b,c)=>{"use strict";var d=a.r(2896),e=a.r(39600),f=a.r(33541),g=a.r(47814),h=a.r(36335),i=a.r(76964),j=a.r(35264),k=a.r(72696),l=a.r(22337),m=a.r(25231),n=Array;b.exports=function(a){var b,c,o,p,q,r,s=f(a),t=i(this),u=arguments.length,v=u>1?arguments[1]:void 0,w=void 0!==v;w&&(v=d(v,u>2?arguments[2]:void 0));var x=m(s),y=0;if(x&&!(this===n&&h(x)))for(c=t?new this:[],q=(p=l(s,x)).next;!(o=e(q,p)).done;y++)r=w?g(p,v,[o.value,y],!0):o.value,k(c,y,r);else for(b=j(s),c=t?new this(b):n(b);b>y;y++)r=w?v(s[y],y):s[y],k(c,y,r);return c.length=y,c}},17105,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(54670);d({target:"Array",stat:!0,forced:!a.r(54610)(function(a){Array.from(a)})},{from:e})},58764,(a,b,c)=>{"use strict";var d=a.r(83387),e=a.r(59007),f=a.r(88483).f,g=d("unscopables"),h=Array.prototype;void 0===h[g]&&f(h,g,{configurable:!0,value:e(null)}),b.exports=function(a){h[g][a]=!0}},64238,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(51318).includes,f=a.r(63756),g=a.r(58764);d({target:"Array",proto:!0,forced:f(function(){return![,].includes()})},{includes:function(a){return e(this,a,arguments.length>1?arguments[1]:void 0)}}),g("includes")},22475,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(36524),f=a.r(51318).indexOf,g=a.r(32956),h=e([].indexOf),i=!!h&&1/h([1],1,-0)<0;d({target:"Array",proto:!0,forced:i||!g("indexOf")},{indexOf:function(a){var b=arguments.length>1?arguments[1]:void 0;return i?h(this,a,b)||0:f(this,a,b)}})},57450,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(15480).some;d({target:"Array",proto:!0,forced:!a.r(32956)("some")},{some:function(a){return e(this,a,arguments.length>1?arguments[1]:void 0)}})},26983,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(97822),f=a.r(81054),g=a.r(33651),h=a.r(33220),i=a.r(20208),j=e("".indexOf);d({target:"String",proto:!0,forced:!i("includes")},{includes:function(a){return!!~j(h(g(this)),h(f(a)),arguments.length>1?arguments[1]:void 0)}})},44865,(a,b,c)=>{"use strict";b.exports=!a.r(63756)(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},29104,(a,b,c)=>{"use strict";var d=a.r(67580),e=a.r(25817),f=a.r(33541),g=a.r(24773),h=a.r(44865),i=g("IE_PROTO"),j=Object,k=j.prototype;b.exports=h?j.getPrototypeOf:function(a){var b=f(a);if(d(b,i))return b[i];var c=b.constructor;return e(c)&&b instanceof c?c.prototype:b instanceof j?k:null}},65554,(a,b,c)=>{"use strict";var d,e,f,g=a.r(63756),h=a.r(25817),i=a.r(56148),j=a.r(59007),k=a.r(29104),l=a.r(58939),m=a.r(83387),n=a.r(53033),o=m("iterator"),p=!1;[].keys&&("next"in(f=[].keys())?(e=k(k(f)))!==Object.prototype&&(d=e):p=!0),!i(d)||g(function(){var a={};return d[o].call(a)!==a})?d={}:n&&(d=j(d)),h(d[o])||l(d,o,function(){return this}),b.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:p}},25826,(a,b,c)=>{"use strict";var d=a.r(65554).IteratorPrototype,e=a.r(59007),f=a.r(20181),g=a.r(83065),h=a.r(24554),i=function(){return this};b.exports=function(a,b,c,j){var k=b+" Iterator";return a.prototype=e(d,{next:f(+!j,c)}),g(a,k,!1,!0),h[k]=i,a}},61566,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(39600),f=a.r(53033),g=a.r(23645),h=a.r(25817),i=a.r(25826),j=a.r(29104),k=a.r(4437),l=a.r(83065),m=a.r(48641),n=a.r(58939),o=a.r(83387),p=a.r(24554),q=a.r(65554),r=g.PROPER,s=g.CONFIGURABLE,t=q.IteratorPrototype,u=q.BUGGY_SAFARI_ITERATORS,v=o("iterator"),w="keys",x="values",y="entries",z=function(){return this};b.exports=function(a,b,c,g,o,q,A){i(c,b,g);var B,C,D,E=function(a){if(a===o&&J)return J;if(!u&&a&&a in H)return H[a];switch(a){case w:case x:case y:return function(){return new c(this,a)}}return function(){return new c(this)}},F=b+" Iterator",G=!1,H=a.prototype,I=H[v]||H["@@iterator"]||o&&H[o],J=!u&&I||E(o),K="Array"===b&&H.entries||I;if(K&&(B=j(K.call(new a)))!==Object.prototype&&B.next&&(!f&&j(B)!==t&&(k?k(B,t):h(B[v])||n(B,v,z)),l(B,F,!0,!0),f&&(p[F]=z)),r&&o===x&&I&&I.name!==x&&(!f&&s?m(H,"name",x):(G=!0,J=function(){return e(I,this)})),o)if(C={values:E(x),keys:q?J:E(w),entries:E(y)},A)for(D in C)!u&&!G&&D in H||n(H,D,C[D]);else d({target:b,proto:!0,forced:u||G},C);return(!f||A)&&H[v]!==J&&n(H,v,J,{name:o}),p[b]=J,C}},43851,(a,b,c)=>{"use strict";b.exports=function(a,b){return{value:a,done:b}}},46469,(a,b,c)=>{"use strict";var d=a.r(12999).charAt,e=a.r(33220),f=a.r(5564),g=a.r(61566),h=a.r(43851),i="String Iterator",j=f.set,k=f.getterFor(i);g(String,"String",function(a){j(this,{type:i,string:e(a),index:0})},function(){var a,b=k(this),c=b.string,e=b.index;return e>=c.length?h(void 0,!0):(a=d(c,e),b.index+=a.length,h(a,!1))})},21436,(a,b,c)=>{var d=a.r(69161);b.exports=function(a){if(Array.isArray(a))return d(a)},b.exports.__esModule=!0,b.exports.default=b.exports},90868,(a,b,c)=>{b.exports=function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)},b.exports.__esModule=!0,b.exports.default=b.exports},48334,(a,b,c)=>{b.exports=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},b.exports.__esModule=!0,b.exports.default=b.exports},46395,(a,b,c)=>{var d=a.r(21436),e=a.r(90868),f=a.r(41999),g=a.r(48334);b.exports=function(a){return d(a)||e(a)||f(a)||g()},b.exports.__esModule=!0,b.exports.default=b.exports},66211,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(97822),f=a.r(84909),g=e([].reverse),h=[1,2];d({target:"Array",proto:!0,forced:String(h)===String(h.reverse())},{reverse:function(){return f(this)&&(this.length=this.length),g(this)}})},75198,(a,b,c)=>{"use strict";var d=a.r(25817),e=a.r(56148),f=a.r(4437);b.exports=function(a,b,c){var g,h;return f&&d(g=b.constructor)&&g!==c&&e(h=g.prototype)&&h!==c.prototype&&f(a,h),a}},19989,(a,b,c)=>{"use strict";b.exports=a.r(97822)(1.1.valueOf)},47418,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(53033),f=a.r(67948),g=a.r(78265),h=a.r(68490),i=a.r(97822),j=a.r(37362),k=a.r(67580),l=a.r(75198),m=a.r(56533),n=a.r(39033),o=a.r(51682),p=a.r(63756),q=a.r(85780).f,r=a.r(78534).f,s=a.r(88483).f,t=a.r(19989),u=a.r(68171).trim,v="Number",w=g[v],x=h[v],y=w.prototype,z=g.TypeError,A=i("".slice),B=i("".charCodeAt),C=function(a){var b=o(a,"number");return"bigint"==typeof b?b:D(b)},D=function(a){var b,c,d,e,f,g,h,i,j=o(a,"number");if(n(j))throw new z("Cannot convert a Symbol value to a number");if("string"==typeof j&&j.length>2){if(43===(b=B(j=u(j),0))||45===b){if(88===(c=B(j,2))||120===c)return NaN}else if(48===b){switch(B(j,1)){case 66:case 98:d=2,e=49;break;case 79:case 111:d=8,e=55;break;default:return+j}for(h=0,g=(f=A(j,2)).length;he)return NaN;return parseInt(f,d)}}return+j},E=j(v,!w(" 0o1")||!w("0b1")||w("+0x1")),F=function(a){var b,c=arguments.length<1?0:w(C(a));return(b=this,m(y,b)&&p(function(){t(b)}))?l(Object(c),this,F):c};F.prototype=y,E&&!e&&(y.constructor=F),d({global:!0,constructor:!0,wrap:!0,forced:E},{Number:F});var G=function(a,b){for(var c,d=f?q(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),e=0;d.length>e;e++)k(b,c=d[e])&&!k(a,c)&&s(a,c,r(b,c))};e&&x&&G(h[v],x),(E||e)&&G(h[v],w)},43766,(a,b,c)=>{var d=a.r(40670);b.exports=function(a,b){for(;!({}).hasOwnProperty.call(a,b)&&null!==(a=d(a)););return a},b.exports.__esModule=!0,b.exports.default=b.exports},26150,(a,b,c)=>{var d=a.r(43766);function e(){return b.exports=e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(a,b,c){var e=d(a,b);if(e){var f=Object.getOwnPropertyDescriptor(e,b);return f.get?f.get.call(arguments.length<3?a:c):f.value}},b.exports.__esModule=!0,b.exports.default=b.exports,e.apply(null,arguments)}b.exports=e,b.exports.__esModule=!0,b.exports.default=b.exports},74330,(a,b,c)=>{"use strict";var d=a.r(33541),e=a.r(34045),f=a.r(35264);b.exports=function(a){for(var b=d(this),c=f(b),g=arguments.length,h=e(g>1?arguments[1]:void 0,c),i=g>2?arguments[2]:void 0,j=void 0===i?c:e(i,c);j>h;)b[h++]=a;return b}},19215,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(74330),f=a.r(58764);d({target:"Array",proto:!0},{fill:e}),f("fill")},30785,(a,b,c)=>{a.e,function(a){"use strict";var b=function(a,c){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])})(a,c)};function c(a,c){if("function"!=typeof c&&null!==c)throw TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=a}b(a,c),a.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}function d(a){var b="";Array.isArray(a)||(a=[a]);for(var c=0;ca.phi1&&(a.phi2-=2*g),1===a.sweepFlag&&a.phi2d)return[];if(0===d)return[[a*c/(a*a+b*b),b*c/(a*a+b*b)]];var e=Math.sqrt(d);return[[(a*c+b*e)/(a*a+b*b),(b*c-a*e)/(a*a+b*b)],[(a*c-b*e)/(a*a+b*b),(b*c+a*e)/(a*a+b*b)]]}var j=Math.PI/180;function k(a,b,c,d){return a+Math.cos(d/180*g)*b+Math.sin(d/180*g)*c}function l(a,b,c,d){var e=b-a,f=c-b,g=3*e+3*(d-c)-6*f,h=6*(f-e),i=3*e;return 1e-6>Math.abs(g)?[-i/h]:function(a,b,c){void 0===c&&(c=1e-6);var d=a*a/4-b;if(d<-c)return[];if(d<=c)return[-a/2];var e=Math.sqrt(d);return[-a/2-e,-a/2+e]}(h/g,i/g,1e-6)}function m(a,b,c,d,e){var f=1-e;return f*f*f*a+3*f*f*e*b+3*f*e*e*c+e*e*e*d}a.SVGPathDataTransformer=void 0,function(a){function b(){return g(function(a,b,c){return a.relative&&(void 0!==a.x1&&(a.x1+=b),void 0!==a.y1&&(a.y1+=c),void 0!==a.x2&&(a.x2+=b),void 0!==a.y2&&(a.y2+=c),void 0!==a.x&&(a.x+=b),void 0!==a.y&&(a.y+=c),a.relative=!1),a})}function c(){var a=NaN,b=NaN,c=NaN,d=NaN;return g(function(e,f,g){return e.type&r.SMOOTH_CURVE_TO&&(e.type=r.CURVE_TO,a=isNaN(a)?f:a,b=isNaN(b)?g:b,e.x1=e.relative?f-a:2*f-a,e.y1=e.relative?g-b:2*g-b),e.type&r.CURVE_TO?(a=e.relative?f+e.x2:e.x2,b=e.relative?g+e.y2:e.y2):(a=NaN,b=NaN),e.type&r.SMOOTH_QUAD_TO&&(e.type=r.QUAD_TO,c=isNaN(c)?f:c,d=isNaN(d)?g:d,e.x1=e.relative?f-c:2*f-c,e.y1=e.relative?g-d:2*g-d),e.type&r.QUAD_TO?(c=e.relative?f+e.x1:e.x1,d=e.relative?g+e.y1:e.y1):(c=NaN,d=NaN),e})}function d(){var a=NaN,b=NaN;return g(function(c,d,e){if(c.type&r.SMOOTH_QUAD_TO&&(c.type=r.QUAD_TO,a=isNaN(a)?d:a,b=isNaN(b)?e:b,c.x1=c.relative?d-a:2*d-a,c.y1=c.relative?e-b:2*e-b),c.type&r.QUAD_TO){a=c.relative?d+c.x1:c.x1,b=c.relative?e+c.y1:c.y1;var f=c.x1,g=c.y1;c.type=r.CURVE_TO,c.x1=((c.relative?0:d)+2*f)/3,c.y1=((c.relative?0:e)+2*g)/3,c.x2=(c.x+2*f)/3,c.y2=(c.y+2*g)/3}else a=NaN,b=NaN;return c})}function g(a){var b=0,c=0,d=NaN,e=NaN;return function(f){if(isNaN(d)&&!(f.type&r.MOVE_TO))throw Error("path must start with moveto");var g=a(f,b,c,d,e);return f.type&r.CLOSE_PATH&&(b=d,c=e),void 0!==f.x&&(b=f.relative?b+f.x:f.x),void 0!==f.y&&(c=f.relative?c+f.y:f.y),f.type&r.MOVE_TO&&(d=b,e=c),g}}function n(a,b,c,d,e,h){return f(a,b,c,d,e,h),g(function(f,g,i,j){var k=f.x1,l=f.x2,m=f.relative&&!isNaN(j),n=void 0!==f.x?f.x:m?0:g,o=void 0!==f.y?f.y:m?0:i;f.type&r.HORIZ_LINE_TO&&0!==b&&(f.type=r.LINE_TO,f.y=f.relative?0:i),f.type&r.VERT_LINE_TO&&0!==c&&(f.type=r.LINE_TO,f.x=f.relative?0:g),void 0!==f.x&&(f.x=f.x*a+o*c+(m?0:e)),void 0!==f.y&&(f.y=n*b+f.y*d+(m?0:h)),void 0!==f.x1&&(f.x1=f.x1*a+f.y1*c+(m?0:e)),void 0!==f.y1&&(f.y1=k*b+f.y1*d+(m?0:h)),void 0!==f.x2&&(f.x2=f.x2*a+f.y2*c+(m?0:e)),void 0!==f.y2&&(f.y2=l*b+f.y2*d+(m?0:h));var p=a*d-b*c;if(void 0!==f.xRot&&(1!==a||0!==b||0!==c||1!==d))if(0===p)delete f.rX,delete f.rY,delete f.xRot,delete f.lArcFlag,delete f.sweepFlag,f.type=r.LINE_TO;else{var q,s,t=f.xRot*Math.PI/180,u=Math.sin(t),v=Math.cos(t),w=1/((q=f.rX)*q),x=1/((s=f.rY)*s),y=v*v*w+u*u*x,z=2*u*v*(w-x),A=u*u*w+v*v*x,B=y*d*d-z*b*d+A*b*b,C=z*(a*d+b*c)-2*(y*c*d+A*a*b),D=y*c*c-z*a*c+A*a*a,E=(Math.atan2(C,B-D)+Math.PI)%Math.PI/2,F=Math.sin(E),G=Math.cos(E);f.rX=Math.abs(p)/Math.sqrt(G*G*B+C*F*G+F*F*D),f.rY=Math.abs(p)/Math.sqrt(F*F*B-C*F*G+G*G*D),f.xRot=180*E/Math.PI}return void 0!==f.sweepFlag&&0>p&&(f.sweepFlag=+!f.sweepFlag),f})}a.ROUND=function(a){function b(b){return Math.round(b*a)/a}return void 0===a&&(a=1e13),f(a),function(a){return void 0!==a.x1&&(a.x1=b(a.x1)),void 0!==a.y1&&(a.y1=b(a.y1)),void 0!==a.x2&&(a.x2=b(a.x2)),void 0!==a.y2&&(a.y2=b(a.y2)),void 0!==a.x&&(a.x=b(a.x)),void 0!==a.y&&(a.y=b(a.y)),void 0!==a.rX&&(a.rX=b(a.rX)),void 0!==a.rY&&(a.rY=b(a.rY)),a}},a.TO_ABS=b,a.TO_REL=function(){return g(function(a,b,c){return a.relative||(void 0!==a.x1&&(a.x1-=b),void 0!==a.y1&&(a.y1-=c),void 0!==a.x2&&(a.x2-=b),void 0!==a.y2&&(a.y2-=c),void 0!==a.x&&(a.x-=b),void 0!==a.y&&(a.y-=c),a.relative=!0),a})},a.NORMALIZE_HVZ=function(a,b,c){return void 0===a&&(a=!0),void 0===b&&(b=!0),void 0===c&&(c=!0),g(function(d,e,f,g,h){if(isNaN(g)&&!(d.type&r.MOVE_TO))throw Error("path must start with moveto");return b&&d.type&r.HORIZ_LINE_TO&&(d.type=r.LINE_TO,d.y=d.relative?0:f),c&&d.type&r.VERT_LINE_TO&&(d.type=r.LINE_TO,d.x=d.relative?0:e),a&&d.type&r.CLOSE_PATH&&(d.type=r.LINE_TO,d.x=d.relative?g-e:g,d.y=d.relative?h-f:h),d.type&r.ARC&&(0===d.rX||0===d.rY)&&(d.type=r.LINE_TO,delete d.rX,delete d.rY,delete d.xRot,delete d.lArcFlag,delete d.sweepFlag),d})},a.NORMALIZE_ST=c,a.QT_TO_C=d,a.INFO=g,a.SANITIZE=function(a){void 0===a&&(a=0),f(a);var b=NaN,c=NaN,d=NaN,e=NaN;return g(function(f,g,h,i,j){var k=Math.abs,l=!1,m=0,n=0;if(f.type&r.SMOOTH_CURVE_TO&&(m=isNaN(b)?0:g-b,n=isNaN(c)?0:h-c),f.type&(r.CURVE_TO|r.SMOOTH_CURVE_TO)?(b=f.relative?g+f.x2:f.x2,c=f.relative?h+f.y2:f.y2):(b=NaN,c=NaN),f.type&r.SMOOTH_QUAD_TO?(d=isNaN(d)?g:2*g-d,e=isNaN(e)?h:2*h-e):f.type&r.QUAD_TO?(d=f.relative?g+f.x1:f.x1,e=f.relative?h+f.y1:f.y2):(d=NaN,e=NaN),f.type&r.LINE_COMMANDS||f.type&r.ARC&&(0===f.rX||0===f.rY||!f.lArcFlag)||f.type&r.CURVE_TO||f.type&r.SMOOTH_CURVE_TO||f.type&r.QUAD_TO||f.type&r.SMOOTH_QUAD_TO){var o=void 0===f.x?0:f.relative?f.x:f.x-g,p=void 0===f.y?0:f.relative?f.y:f.y-h;m=isNaN(d)?void 0===f.x1?m:f.relative?f.x:f.x1-g:d-g,n=isNaN(e)?void 0===f.y1?n:f.relative?f.y:f.y1-h:e-h;var q=void 0===f.x2?0:f.relative?f.x:f.x2-g,s=void 0===f.y2?0:f.relative?f.y:f.y2-h;k(o)<=a&&k(p)<=a&&k(m)<=a&&k(n)<=a&&k(q)<=a&&k(s)<=a&&(l=!0)}return f.type&r.CLOSE_PATH&&k(g-i)<=a&&k(h-j)<=a&&(l=!0),l?[]:f})},a.MATRIX=n,a.ROTATE=function(a,b,c){void 0===b&&(b=0),void 0===c&&(c=0),f(a,b,c);var d=Math.sin(a),e=Math.cos(a);return n(e,d,-d,e,b-b*e+c*d,c-b*d-c*e)},a.TRANSLATE=function(a,b){return void 0===b&&(b=0),f(a,b),n(1,0,0,1,a,b)},a.SCALE=function(a,b){return void 0===b&&(b=a),f(a,b),n(a,0,0,b,0,0)},a.SKEW_X=function(a){return f(a),n(1,0,Math.atan(a),1,0,0)},a.SKEW_Y=function(a){return f(a),n(1,Math.atan(a),0,1,0,0)},a.X_AXIS_SYMMETRY=function(a){return void 0===a&&(a=0),f(a),n(-1,0,0,1,a,0)},a.Y_AXIS_SYMMETRY=function(a){return void 0===a&&(a=0),f(a),n(1,0,0,-1,0,a)},a.A_TO_C=function(){return g(function(a,b,c){return r.ARC===a.type?function(a,b,c){var d,f,g,i;a.cX||h(a,b,c);for(var k=Math.min(a.phi1,a.phi2),l=Math.max(a.phi1,a.phi2)-k,m=Math.ceil(l/90),n=Array(m),o=b,p=c,q=0;qn.maxX&&(n.maxX=a),an.maxY&&(n.maxY=a),av&&o(m(c,g.x1,g.x2,g.x,v));for(var t=0,u=l(d,g.y1,g.y2,g.y);tv&&p(m(d,g.y1,g.y2,g.y,v))}if(g.type&r.ARC){o(g.x),p(g.y),h(g,c,d);for(var v,w=g.xRot/180*Math.PI,x=Math.cos(w)*g.rX,y=Math.sin(w)*g.rX,z=-Math.sin(w)*g.rY,A=Math.cos(w)*g.rY,B=g.phi1g.phi2?[g.phi2+360,g.phi1+360]:[g.phi2,g.phi1],C=B[0],D=B[1],E=function(a){var b=a[0],c=180*Math.atan2(a[1],b)/Math.PI;return cC&&vC&&v=a.charCodeAt(0)},q=function(a){function b(){var b=a.call(this)||this;return b.curNumber="",b.curCommandType=-1,b.curCommandRelative=!1,b.canParseCommandOrComma=!0,b.curNumberHasExp=!1,b.curNumberHasExpDigits=!1,b.curNumberHasDecimal=!1,b.curArgs=[],b}return c(b,a),b.prototype.finish=function(a){if(void 0===a&&(a=[]),this.parse(" ",a),0!==this.curArgs.length||!this.canParseCommandOrComma)throw SyntaxError("Unterminated command at the path end.");return a},b.prototype.parse=function(a,b){var c=this;void 0===b&&(b=[]);for(var d=function(a){b.push(a),c.curArgs.length=0,c.canParseCommandOrComma=!0},e=0;ei)throw SyntaxError('Expected positive number, got "'+i+'" at index "'+e+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+e+'"')}this.curArgs.push(i),this.curArgs.length===s[this.curCommandType]&&(r.HORIZ_LINE_TO===this.curCommandType?d({type:r.HORIZ_LINE_TO,relative:this.curCommandRelative,x:i}):r.VERT_LINE_TO===this.curCommandType?d({type:r.VERT_LINE_TO,relative:this.curCommandRelative,y:i}):this.curCommandType===r.MOVE_TO||this.curCommandType===r.LINE_TO||this.curCommandType===r.SMOOTH_QUAD_TO?(d({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),r.MOVE_TO===this.curCommandType&&(this.curCommandType=r.LINE_TO)):this.curCommandType===r.CURVE_TO?d({type:r.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===r.SMOOTH_CURVE_TO?d({type:r.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===r.QUAD_TO?d({type:r.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===r.ARC&&d({type:r.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(" "!==f&&" "!==f&&"\r"!==f&&"\n"!==f)if(","===f&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==f&&"-"!==f&&"."!==f)if(h)this.curNumber=f,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw SyntaxError("Unterminated command at index "+e+".");if(!this.canParseCommandOrComma)throw SyntaxError('Unexpected character "'+f+'" at index '+e+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==f&&"Z"!==f)if("h"===f||"H"===f)this.curCommandType=r.HORIZ_LINE_TO,this.curCommandRelative="h"===f;else if("v"===f||"V"===f)this.curCommandType=r.VERT_LINE_TO,this.curCommandRelative="v"===f;else if("m"===f||"M"===f)this.curCommandType=r.MOVE_TO,this.curCommandRelative="m"===f;else if("l"===f||"L"===f)this.curCommandType=r.LINE_TO,this.curCommandRelative="l"===f;else if("c"===f||"C"===f)this.curCommandType=r.CURVE_TO,this.curCommandRelative="c"===f;else if("s"===f||"S"===f)this.curCommandType=r.SMOOTH_CURVE_TO,this.curCommandRelative="s"===f;else if("q"===f||"Q"===f)this.curCommandType=r.QUAD_TO,this.curCommandRelative="q"===f;else if("t"===f||"T"===f)this.curCommandType=r.SMOOTH_QUAD_TO,this.curCommandRelative="t"===f;else{if("a"!==f&&"A"!==f)throw SyntaxError('Unexpected character "'+f+'" at index '+e+".");this.curCommandType=r.ARC,this.curCommandRelative="a"===f}else b.push({type:r.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=f,this.curNumberHasDecimal="."===f}else this.curNumber+=f,this.curNumberHasDecimal=!0;else this.curNumber+=f;else this.curNumber+=f,this.curNumberHasExp=!0;else this.curNumber+=f,this.curNumberHasExpDigits=this.curNumberHasExp}return b},b.prototype.transform=function(a){return Object.create(this,{parse:{value:function(b,c){void 0===c&&(c=[]);for(var d=0,e=Object.getPrototypeOf(this).parse.call(this,b);d{"use strict";var d=a.r(23645).PROPER,e=a.r(58939),f=a.r(52083),g=a.r(33220),h=a.r(63756),i=a.r(34174),j="toString",k=RegExp.prototype,l=k[j],m=h(function(){return"/a/b"!==l.call({source:"a",flags:"b"})}),n=d&&l.name!==j;(m||n)&&e(k,j,function(){var a=f(this);return"/"+g(a.source)+"/"+g(i(a))},{unsafe:!0})},76387,(a,b,c)=>{"use strict";var d=a.r(88174),e=a.r(58764),f=a.r(24554),g=a.r(5564),h=a.r(88483).f,i=a.r(61566),j=a.r(43851),k=a.r(53033),l=a.r(67948),m="Array Iterator",n=g.set,o=g.getterFor(m);b.exports=i(Array,"Array",function(a,b){n(this,{type:m,target:d(a),index:0,kind:b})},function(){var a=o(this),b=a.target,c=a.index++;if(!b||c>=b.length)return a.target=null,j(void 0,!0);switch(a.kind){case"keys":return j(c,!1);case"values":return j(b[c],!1)}return j([c,b[c]],!1)},"values");var p=f.Arguments=f.Array;if(e("keys"),e("values"),e("entries"),!k&&l&&"values"!==p.name)try{h(p,"name",{value:"values"})}catch(a){}},99481,(a,b,c)=>{"use strict";var d=a.r(78265),e=a.r(55131),f=a.r(3863),g=a.r(76387),h=a.r(48641),i=a.r(83065),j=a.r(83387)("iterator"),k=g.values,l=function(a,b){if(a){if(a[j]!==k)try{h(a,j,k)}catch(b){a[j]=k}if(i(a,b,!0),e[b]){for(var c in g)if(a[c]!==g[c])try{h(a,c,g[c])}catch(b){a[c]=g[c]}}}};for(var m in e)l(d[m]&&d[m].prototype,m);l(f,"DOMTokenList")},18745,(a,b,c)=>{"use strict";var d=a.r(24142),e=a.r(88174),f=a.r(85780).f,g=a.r(15918),h=[],i=function(a){try{return f(a)}catch(a){return g(h)}};b.exports.f=function(a){return h&&"Window"===d(a)?i(a):f(e(a))}},89406,(a,b,c)=>{"use strict";b.exports=a.r(63756)(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},46004,(a,b,c)=>{"use strict";var d=a.r(63756),e=a.r(56148),f=a.r(24142),g=a.r(89406),h=Object.isExtensible;b.exports=d(function(){h(1)})||g?function(a){return!!e(a)&&(!g||"ArrayBuffer"!==f(a))&&(!h||h(a))}:h},81193,(a,b,c)=>{"use strict";b.exports=!a.r(63756)(function(){return Object.isExtensible(Object.preventExtensions({}))})},44855,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(97822),f=a.r(39490),g=a.r(56148),h=a.r(67580),i=a.r(88483).f,j=a.r(85780),k=a.r(18745),l=a.r(46004),m=a.r(24628),n=a.r(81193),o=!1,p=m("meta"),q=0,r=function(a){i(a,p,{value:{objectID:"O"+q++,weakData:{}}})},s=b.exports={enable:function(){s.enable=function(){},o=!0;var a=j.f,b=e([].splice),c={};c[p]=1,a(c).length&&(j.f=function(c){for(var d=a(c),e=0,f=d.length;e{"use strict";var d=a.r(41846),e=a.r(78265),f=a.r(97822),g=a.r(37362),h=a.r(58939),i=a.r(44855),j=a.r(98851),k=a.r(21919),l=a.r(25817),m=a.r(96783),n=a.r(56148),o=a.r(63756),p=a.r(54610),q=a.r(83065),r=a.r(75198);b.exports=function(a,b,c){var s=-1!==a.indexOf("Map"),t=-1!==a.indexOf("Weak"),u=s?"set":"add",v=e[a],w=v&&v.prototype,x=v,y={},z=function(a){var b=f(w[a]);h(w,a,"add"===a?function(a){return b(this,0===a?0:a),this}:"delete"===a?function(a){return(!t||!!n(a))&&b(this,0===a?0:a)}:"get"===a?function(a){return t&&!n(a)?void 0:b(this,0===a?0:a)}:"has"===a?function(a){return(!t||!!n(a))&&b(this,0===a?0:a)}:function(a,c){return b(this,0===a?0:a,c),this})};if(g(a,!l(v)||!(t||w.forEach&&!o(function(){new v().entries().next()}))))x=c.getConstructor(b,a,s,u),i.enable();else if(g(a,!0)){var A=new x,B=A[u](t?{}:-0,1)!==A,C=o(function(){A.has(1)}),D=p(function(a){new v(a)}),E=!t&&o(function(){for(var a=new v,b=5;b--;)a[u](b,b);return!a.has(-0)});D||((x=b(function(a,b){k(a,w);var c=r(new v,a,x);return m(b)||j(b,c[u],{that:c,AS_ENTRIES:s}),c})).prototype=w,w.constructor=x),(C||E)&&(z("delete"),z("has"),s&&z("get")),(E||B)&&z(u),t&&w.clear&&delete w.clear}return y[a]=x,d({global:!0,constructor:!0,forced:x!==v},y),q(x,a),t||c.setStrong(x,a,s),x}},16109,(a,b,c)=>{"use strict";var d=a.r(58939);b.exports=function(a,b,c){for(var e in b)d(a,e,b[e],c);return a}},16668,(a,b,c)=>{"use strict";var d=a.r(59007),e=a.r(65197),f=a.r(16109),g=a.r(2896),h=a.r(21919),i=a.r(96783),j=a.r(98851),k=a.r(61566),l=a.r(43851),m=a.r(4733),n=a.r(67948),o=a.r(44855).fastKey,p=a.r(5564),q=p.set,r=p.getterFor;b.exports={getConstructor:function(a,b,c,k){var l=a(function(a,e){h(a,m),q(a,{type:b,index:d(null),first:null,last:null,size:0}),n||(a.size=0),i(e)||j(e,a[k],{that:a,AS_ENTRIES:c})}),m=l.prototype,p=r(b),s=function(a,b,c){var d,e,f=p(a),g=t(a,b);return g?g.value=c:(f.last=g={index:e=o(b,!0),key:b,value:c,previous:d=f.last,next:null,removed:!1},f.first||(f.first=g),d&&(d.next=g),n?f.size++:a.size++,"F"!==e&&(f.index[e]=g)),a},t=function(a,b){var c,d=p(a),e=o(b);if("F"!==e)return d.index[e];for(c=d.first;c;c=c.next)if(c.key===b)return c};return f(m,{clear:function(){for(var a=p(this),b=a.first;b;)b.removed=!0,b.previous&&(b.previous=b.previous.next=null),b=b.next;a.first=a.last=null,a.index=d(null),n?a.size=0:this.size=0},delete:function(a){var b=p(this),c=t(this,a);if(c){var d=c.next,e=c.previous;delete b.index[c.index],c.removed=!0,e&&(e.next=d),d&&(d.previous=e),b.first===c&&(b.first=d),b.last===c&&(b.last=e),n?b.size--:this.size--}return!!c},forEach:function(a){for(var b,c=p(this),d=g(a,arguments.length>1?arguments[1]:void 0);b=b?b.next:c.first;)for(d(b.value,b.key,this);b&&b.removed;)b=b.previous},has:function(a){return!!t(this,a)}}),f(m,c?{get:function(a){var b=t(this,a);return b&&b.value},set:function(a,b){return s(this,0===a?0:a,b)}}:{add:function(a){return s(this,a=0===a?0:a,a)}}),n&&e(m,"size",{configurable:!0,get:function(){return p(this).size}}),l},setStrong:function(a,b,c){var d=b+" Iterator",e=r(b),f=r(d);k(a,b,function(a,b){q(this,{type:d,target:a,state:e(a),kind:b,last:null})},function(){for(var a=f(this),b=a.kind,c=a.last;c&&c.removed;)c=c.previous;return a.target&&(a.last=c=c?c.next:a.state.first)?"keys"===b?l(c.key,!1):"values"===b?l(c.value,!1):l([c.key,c.value],!1):(a.target=null,l(void 0,!0))},c?"entries":"values",!c,!0),m(b)}}},44956,(a,b,c)=>{"use strict";a.r(72371)("Map",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},a.r(16668))},71529,(a,b,c)=>{"use strict";a.r(44956)},24953,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(3548),f=a.r(55203),g=a.r(52083);d({target:"Reflect",stat:!0,forced:!a.r(63756)(function(){Reflect.apply(function(){})})},{apply:function(a,b,c){return e(f(a),b,g(c))}})},51375,(a,b,c)=>{"use strict";var d=a.r(41846),e=a.r(52083),f=a.r(29104);d({target:"Reflect",stat:!0,sham:!a.r(44865)},{getPrototypeOf:function(a){return f(e(a))}})},75190,a=>{"use strict";function b(a){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}var c=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],d=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function e(a,b,c,d,e,f){if("string"==typeof a&&(a=document.getElementById(a)),a&&("HTMLImageElement"!==Object.prototype.toString.call(a).slice(8,-1)||"naturalWidth"in a)){var h=e?"offset":"natural",j=a[h+"Width"],k=a[h+"Height"];if("ImageBitmap"===Object.prototype.toString.call(a).slice(8,-1)&&(j=a.width,k=a.height),"string"==typeof b&&(b=document.getElementById(b)),b&&"getContext"in b){f||(b.style.width=j+"px",b.style.height=k+"px"),b.width=j,b.height=k;var l=b.getContext("2d");l.clearRect(0,0,j,k),l.drawImage(a,0,0,a.naturalWidth,a.naturalHeight,0,0,j,k),isNaN(c)||c<1||(d?g(b,0,0,j,k,c):i(b,0,0,j,k,c))}}}function f(a,c,d,e,f){if("string"==typeof a&&(a=document.getElementById(a)),!a||"object"!==b(a)||!("getContext"in a))throw TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var g=a.getContext("2d");try{return g.getImageData(c,d,e,f)}catch(a){throw Error("unable to access image data: "+a)}}function g(a,b,c,d,e,g){if(!isNaN(g)&&!(g<1)){g|=0;var i=f(a,b,c,d,e);i=h(i,b,c,d,e,g),a.getContext("2d").putImageData(i,b,c)}}function h(a,b,e,f,g,h){for(var i,j=a.data,l=2*h+1,m=f-1,n=g-1,o=h+1,p=o*(o+1)/2,q=new k,r=q,s=1;s>>y;if(j[w+3]=Z,0!==Z){var $=255/Z;j[w]=(N*x>>>y)*$,j[w+1]=(O*x>>>y)*$,j[w+2]=(P*x>>>y)*$}else j[w]=j[w+1]=j[w+2]=0;N-=J,O-=K,P-=L,Q-=M,J-=t.r,K-=t.g,L-=t.b,M-=t.a;var _=Y+h+1;_=v+(_>>y,aj>0?(aj=255/aj,j[aB]=(ao*x>>>y)*aj,j[aB+1]=(ap*x>>>y)*aj,j[aB+2]=(aq*x>>>y)*aj):j[aB]=j[aB+1]=j[aB+2]=0,ao-=ak,ap-=al,aq-=am,ar-=an,ak-=t.r,al-=t.g,am-=t.b,an-=t.a,aB=af+((aB=aA+o)>>y,m[A+1]=J*x>>>y,m[A+2]=K*x>>>y,I-=F,J-=G,K-=H,F-=v.r,G-=v.g,H-=v.b,j=z+((j=Q+h+1)>>y,m[j+1]=Z*x>>>y,m[j+2]=$*x>>>y,Y-=V,Z-=W,$-=X,V-=v.r,W-=v.g,X-=v.b,j=R+((j=af+q)k,"canvasRGB",()=>i,"canvasRGBA",()=>g,"image",()=>e,"imageDataRGB",()=>j,"imageDataRGBA",()=>h])},11132,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),a.r(34833),a.r(35229),a.r(3847);var d=a.r(84545),e=a.r(63939);a.r(1592),a.r(69670),a.r(77423),a.r(13430),a.r(63865),a.r(51234),a.r(60874);var f=a.r(23436),g=a.r(57385),h=a.r(63551),i=a.r(7008);a.r(21077),a.r(72599),a.r(81326),a.r(19979),a.r(89274);var j=a.r(52072);a.r(99240),a.r(46945);var k=a.r(79506);a.r(64508),a.r(31074);var l=a.r(95782),m=a.r(89122),n=a.r(40670);a.r(17105),a.r(64238),a.r(22475),a.r(57450),a.r(26983),a.r(46469);var o=a.r(46395);a.r(66211),a.r(47418);var p=a.r(26150);a.r(19215);var q=a.r(30785);a.r(80276);var r=a.r(61775);a.r(76387),a.r(99481),a.r(71529),a.r(24953),a.r(51375);var s=a.r(75190);function t(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var u=t(d),v=t(e),w=t(f),x=t(g),y=t(h),z=t(i),A=t(j),B=t(k),C=t(l),D=t(m),E=t(n),F=t(o),G=t(p),H=t(r),I=Object.freeze({__proto__:null,offscreen:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=a.DOMParser,c={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:b,createCanvas:function(a,b){return new OffscreenCanvas(a,b)},createImage:function(a){return v.default(u.default.mark(function b(){var c,d,e;return u.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,fetch(a);case 2:return c=b.sent,b.next=5,c.blob();case 5:return d=b.sent,b.next=8,createImageBitmap(d);case 8:return e=b.sent,b.abrupt("return",e);case 10:case"end":return b.stop()}},b)}))()}};return("undefined"!=typeof DOMParser||void 0===b)&&Reflect.deleteProperty(c,"DOMParser"),c},node:function(a){var b=a.DOMParser,c=a.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:b,fetch:a.fetch,createCanvas:c.createCanvas,createImage:c.loadImage}}});function J(a){return a.replace(/(?!\u3000)\s+/gm," ")}function K(a){return a.replace(/^[\n \t]+/,"")}function L(a){return a.replace(/[\n \t]+$/,"")}function M(a){return((a||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var N=/^[A-Z-]+$/;function O(a){return N.test(a)?a.toLowerCase():a}function P(a){var b=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(a)||[];return b[2]||b[3]||b[4]}function Q(a){if(!a.startsWith("rgb"))return a;var b=3;return a.replace(/\d+(\.\d+)?/g,function(a,c){return b--&&c?String(Math.round(parseFloat(a))):a})}var R=/(\[[^\]]+\])/g,S=/(#[^\s+>~.[:]+)/g,T=/(\.[^\s+>~.[:]+)/g,U=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,V=/(:[\w-]+\([^)]*\))/gi,W=/(:[^\s+>~.[:]+)/g,X=/([^\s+>~.[:]+)/g;function Y(a,b){var c=b.exec(a);return c?[a.replace(b," "),c.length]:[a,0]}function Z(a){var b=[0,0,0],c=a.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),d=0,e=Y(c,R),f=w.default(e,2);c=f[0],d=f[1],b[1]+=d;var g=Y(c,S),h=w.default(g,2);c=h[0],d=h[1],b[0]+=d;var i=Y(c,T),j=w.default(i,2);c=j[0],d=j[1],b[1]+=d;var k=Y(c,U),l=w.default(k,2);c=l[0],d=l[1],b[2]+=d;var m=Y(c,V),n=w.default(m,2);c=n[0],d=n[1],b[1]+=d;var o=Y(c,W),p=w.default(o,2);c=p[0],d=p[1],b[1]+=d;var q=Y(c=c.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),X),r=w.default(q,2);return c=r[0],d=r[1],b[2]+=d,b.join("")}function $(a){return Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))}function _(a,b){return(a[0]*b[0]+a[1]*b[1])/($(a)*$(b))}function aa(a,b){return(a[0]*b[1]0&&void 0!==arguments[0]?arguments[0]:" ",c=this.document,d=this.name;return J(this.getString()).trim().split(b).map(function(b){return new a(c,d,b)})}},{key:"hasValue",value:function(a){var b=this.value;return null!==b&&""!==b&&(a||0!==b)&&void 0!==b}},{key:"isString",value:function(a){var b=this.value,c="string"==typeof b;return c&&a?a.test(b):c}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var a=this.getString();switch(!0){case a.endsWith("px"):case/^[0-9]+$/.test(a):return!0;default:return!1}}},{key:"setValue",value:function(a){return this.value=a,this}},{key:"getValue",value:function(a){return void 0===a||this.hasValue()?this.value:a}},{key:"getNumber",value:function(a){if(!this.hasValue())return void 0===a?0:parseFloat(a);var b=parseFloat(this.value);return this.isString(/%$/)&&(b/=100),b}},{key:"getString",value:function(a){return void 0===a||this.hasValue()?void 0===this.value?"":String(this.value):String(a)}},{key:"getColor",value:function(a){var b=this.getString(a);return this.isNormalizedColor||(this.isNormalizedColor=!0,b=Q(b),this.value=b),b}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9.-]/g,"")}},{key:"getPixels",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var c=w.default("boolean"==typeof a?[void 0,a]:[a],2),d=c[0],e=c[1],f=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(f.computeSize("x"),f.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(f.computeSize("x"),f.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*f.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*f.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&e:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*f.computeSize(d);default:var g=this.getNumber();if(b&&g<1)return g*f.computeSize(d);return g}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var a=this.getString(),b=/#([^)'"]+)/.exec(a);return b&&(b=b[1]),b||(b=a),this.document.definitions[b]}},{key:"getFillStyleDefinition",value:function(a,b){var c=this.getDefinition();if(!c)return null;if("function"==typeof c.createGradient)return c.createGradient(this.document.ctx,a,b);if("function"==typeof c.createPattern){if(c.getHrefAttribute().hasValue()){var d=c.getAttribute("patternTransform");c=c.getHrefAttribute().getDefinition(),d.hasValue()&&c.getAttribute("patternTransform",!0).setValue(d.value)}return c.createPattern(this.document.ctx,a,b)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?a.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(b){for(var c=this.getColor(),d=c.length,e=0,f=0;f1&&void 0!==arguments[1]?arguments[1]:0,d=M(b),e=w.default(d,2),f=e[0],g=void 0===f?c:f,h=e[1];return new a(g,void 0===h?c:h)}},{key:"parseScale",value:function(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,d=M(b),e=w.default(d,2),f=e[0],g=void 0===f?c:f,h=e[1],i=void 0===h?g:h;return new a(g,i)}},{key:"parsePath",value:function(b){for(var c=M(b),d=c.length,e=[],f=0;f0}},{key:"runEvents",value:function(){if(this.working){var a=this.screen,b=this.events,c=this.eventElements,d=a.ctx.canvas.style;d&&(d.cursor=""),b.forEach(function(a,b){for(var d=a.run,e=c[b];e;)d(e),e=e.parent}),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(a,b){if(this.working&&b){var c=this.events,d=this.eventElements;c.forEach(function(c,e){var f=c.x,g=c.y;!d[e]&&b.isPointInPath&&b.isPointInPath(f,g)&&(d[e]=a)})}}},{key:"checkBoundingBox",value:function(a,b){if(this.working&&b){var c=this.events,d=this.eventElements;c.forEach(function(c,e){var f=c.x,g=c.y;!d[e]&&b.isPointInBox(f,g)&&(d[e]=a)})}}},{key:"mapXY",value:function(a,b){for(var c=this.screen,d=c.window,e=c.ctx,f=new aj(a,b),g=e.canvas;g;)f.x-=g.offsetLeft,f.y-=g.offsetTop,g=g.offsetParent;return d.scrollX&&(f.x+=d.scrollX),d.scrollY&&(f.y+=d.scrollY),f}},{key:"onClick",value:function(a){var b=this.mapXY(a.clientX,a.clientY),c=b.x,d=b.y;this.events.push({type:"onclick",x:c,y:d,run:function(a){a.onClick&&a.onClick()}})}},{key:"onMouseMove",value:function(a){var b=this.mapXY(a.clientX,a.clientY),c=b.x,d=b.y;this.events.push({type:"onmousemove",x:c,y:d,run:function(a){a.onMouseMove&&a.onMouseMove()}})}}]),a}(),al="undefined"!=typeof fetch?fetch.bind(void 0):null,am=function(){function a(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=c.fetch,e=c.window;y.default(this,a),this.ctx=b,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new ai,this.mouse=new ak(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=void 0===e?null:e,this.fetch=void 0===d?al:d}return z.default(a,[{key:"wait",value:function(a){this.waits.push(a)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var a=this.waits.every(function(a){return a()});return a&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=a,a}},{key:"setDefaults",value:function(a){a.strokeStyle="rgba(0,0,0,0)",a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4}},{key:"setViewBox",value:function(a){var b=a.document,c=a.ctx,d=a.aspectRatio,e=a.width,f=a.desiredWidth,g=a.height,h=a.desiredHeight,i=a.minX,j=a.minY,k=a.refX,l=a.refY,m=a.clip,n=a.clipX,o=a.clipY,p=J(d).replace(/^defer\s/,"").split(" "),q=w.default(p,2),r=q[0],s=q[1],t=r||"xMidYMid",u=s||"meet",v=e/f,x=g/h,y=Math.min(v,x),z=Math.max(v,x),A=f,B=h;"meet"===u&&(A*=y,B*=y),"slice"===u&&(A*=z,B*=z);var C=new ah(b,"refX",k),D=new ah(b,"refY",l),E=C.hasValue()&&D.hasValue();if(E&&c.translate(-y*C.getPixels("x"),-y*D.getPixels("y")),void 0!==m&&m){var F=y*(void 0===n?0:n),G=y*(void 0===o?0:o);c.beginPath(),c.moveTo(F,G),c.lineTo(e,G),c.lineTo(e,g),c.lineTo(F,g),c.closePath(),c.clip()}if(!E){var H="meet"===u&&y===x,I="slice"===u&&z===x,K="meet"===u&&y===v,L="slice"===u&&z===v;t.startsWith("xMid")&&(H||I)&&c.translate(e/2-A/2,0),t.endsWith("YMid")&&(K||L)&&c.translate(0,g/2-B/2),t.startsWith("xMax")&&(H||I)&&c.translate(e-A,0),t.endsWith("YMax")&&(K||L)&&c.translate(0,g-B)}switch(!0){case"none"===t:c.scale(v,x);break;case"meet"===u:c.scale(y,y);break;case"slice"===u:c.scale(z,z)}c.translate(-(void 0===i?0:i),-(void 0===j?0:j))}},{key:"start",value:function(a){var b=this,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=c.enableRedraw,e=c.ignoreMouse,f=c.ignoreAnimation,g=void 0!==f&&f,h=c.ignoreDimensions,i=void 0!==h&&h,j=c.ignoreClear,k=void 0!==j&&j,l=c.forceRedraw,m=c.scaleWidth,n=c.scaleHeight,o=c.offsetX,p=c.offsetY,q=this.FRAMERATE,r=this.mouse,s=1e3/q;if(this.frameDuration=s,this.readyPromise=new Promise(function(a){b.resolveReady=a}),this.isReady()&&this.render(a,i,k,m,n,o,p),void 0!==d&&d){var t=Date.now(),u=t,v=0;void 0!==e&&e||r.start(),this.intervalId=A.default(function c(){(v=(t=Date.now())-u)>=s&&(u=t-v%s,b.shouldUpdate(g,l)&&(b.render(a,i,k,m,n,o,p),r.runEvents())),b.intervalId=A.default(c)})}}},{key:"stop",value:function(){this.intervalId&&(A.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(a,b){if(!a){var c=this.frameDuration;if(this.animations.reduce(function(a,b){return b.update(c)||a},!1))return!0}return!!("function"==typeof b&&b()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}},{key:"render",value:function(a,b,c,d,e,f,g){var h=this.CLIENT_WIDTH,i=this.CLIENT_HEIGHT,j=this.viewPort,k=this.ctx,l=this.isFirstRender,m=k.canvas;j.clear(),m.width&&m.height?j.setCurrent(m.width,m.height):j.setCurrent(h,i);var n=a.getStyle("width"),o=a.getStyle("height");!b&&(l||"number"!=typeof d&&"number"!=typeof e)&&(n.hasValue()&&(m.width=n.getPixels("x"),m.style&&(m.style.width="".concat(m.width,"px"))),o.hasValue()&&(m.height=o.getPixels("y"),m.style&&(m.style.height="".concat(m.height,"px"))));var p=m.clientWidth||m.width,q=m.clientHeight||m.height;if(b&&n.hasValue()&&o.hasValue()&&(p=n.getPixels("x"),q=o.getPixels("y")),j.setCurrent(p,q),"number"==typeof f&&a.getAttribute("x",!0).setValue(f),"number"==typeof g&&a.getAttribute("y",!0).setValue(g),"number"==typeof d||"number"==typeof e){var r=M(a.getAttribute("viewBox").getString()),s=0,t=0;if("number"==typeof d){var u=a.getStyle("width");u.hasValue()?s=u.getPixels("x")/d:isNaN(r[2])||(s=r[2]/d)}if("number"==typeof e){var v=a.getStyle("height");v.hasValue()?t=v.getPixels("y")/e:isNaN(r[3])||(t=r[3]/e)}s||(s=t),t||(t=s),a.getAttribute("width",!0).setValue(d),a.getAttribute("height",!0).setValue(e);var w=a.getStyle("transform",!0,!0);w.setValue("".concat(w.getString()," scale(").concat(1/s,", ").concat(1/t,")"))}c||k.clearRect(0,0,p,q),a.render(k),l&&(this.isFirstRender=!1)}}]),a}();am.defaultWindow=null,am.defaultFetch=al;var an=am.defaultFetch,ao="undefined"!=typeof DOMParser?DOMParser:null,ap=function(){var a,b;function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=a.fetch,d=a.DOMParser;y.default(this,c),this.fetch=void 0===b?an:b,this.DOMParser=void 0===d?ao:d}return z.default(c,[{key:"parse",value:(a=v.default(u.default.mark(function a(b){return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!b.startsWith("<")){a.next=2;break}return a.abrupt("return",this.parseFromString(b));case 2:return a.abrupt("return",this.load(b));case 3:case"end":return a.stop()}},a,this)})),function(b){return a.apply(this,arguments)})},{key:"parseFromString",value:function(a){var b=new this.DOMParser;try{return this.checkDocument(b.parseFromString(a,"image/svg+xml"))}catch(c){return this.checkDocument(b.parseFromString(a,"text/xml"))}}},{key:"checkDocument",value:function(a){var b=a.getElementsByTagName("parsererror")[0];if(b)throw Error(b.textContent);return a}},{key:"load",value:(b=v.default(u.default.mark(function a(b){var c,d;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,this.fetch(b);case 2:return c=a.sent,a.next=5,c.text();case 5:return d=a.sent,a.abrupt("return",this.parseFromString(d));case 7:case"end":return a.stop()}},a,this)})),function(a){return b.apply(this,arguments)})}]),c}(),aq=function(){function a(b,c){y.default(this,a),this.type="translate",this.point=null,this.point=aj.parse(c)}return z.default(a,[{key:"apply",value:function(a){var b=this.point,c=b.x,d=b.y;a.translate(c||0,d||0)}},{key:"unapply",value:function(a){var b=this.point,c=b.x,d=b.y;a.translate(-1*c||0,-1*d||0)}},{key:"applyToPoint",value:function(a){var b=this.point,c=b.x,d=b.y;a.applyTransform([1,0,0,1,c||0,d||0])}}]),a}(),ar=function(){function a(b,c,d){y.default(this,a),this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=M(c);this.angle=new ah(b,"angle",e[0]),this.originX=d[0],this.originY=d[1],this.cx=e[1]||0,this.cy=e[2]||0}return z.default(a,[{key:"apply",value:function(a){var b=this.cx,c=this.cy,d=this.originX,e=this.originY,f=this.angle,g=b+d.getPixels("x"),h=c+e.getPixels("y");a.translate(g,h),a.rotate(f.getRadians()),a.translate(-g,-h)}},{key:"unapply",value:function(a){var b=this.cx,c=this.cy,d=this.originX,e=this.originY,f=this.angle,g=b+d.getPixels("x"),h=c+e.getPixels("y");a.translate(g,h),a.rotate(-1*f.getRadians()),a.translate(-g,-h)}},{key:"applyToPoint",value:function(a){var b=this.cx,c=this.cy,d=this.angle.getRadians();a.applyTransform([1,0,0,1,b||0,c||0]),a.applyTransform([Math.cos(d),Math.sin(d),-Math.sin(d),Math.cos(d),0,0]),a.applyTransform([1,0,0,1,-b||0,-c||0])}}]),a}(),as=function(){function a(b,c,d){y.default(this,a),this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=aj.parseScale(c);(0===e.x||0===e.y)&&(e.x=1e-8,e.y=1e-8),this.scale=e,this.originX=d[0],this.originY=d[1]}return z.default(a,[{key:"apply",value:function(a){var b=this.scale,c=b.x,d=b.y,e=this.originX,f=this.originY,g=e.getPixels("x"),h=f.getPixels("y");a.translate(g,h),a.scale(c,d||c),a.translate(-g,-h)}},{key:"unapply",value:function(a){var b=this.scale,c=b.x,d=b.y,e=this.originX,f=this.originY,g=e.getPixels("x"),h=f.getPixels("y");a.translate(g,h),a.scale(1/c,1/d||c),a.translate(-g,-h)}},{key:"applyToPoint",value:function(a){var b=this.scale,c=b.x,d=b.y;a.applyTransform([c||0,0,0,d||0,0,0])}}]),a}(),at=function(){function a(b,c,d){y.default(this,a),this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=M(c),this.originX=d[0],this.originY=d[1]}return z.default(a,[{key:"apply",value:function(a){var b=this.originX,c=this.originY,d=this.matrix,e=b.getPixels("x"),f=c.getPixels("y");a.translate(e,f),a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),a.translate(-e,-f)}},{key:"unapply",value:function(a){var b=this.originX,c=this.originY,d=this.matrix,e=d[0],f=d[2],g=d[4],h=d[1],i=d[3],j=d[5],k=1/(e*(i-0*j)-f*(h-0*j)+g*(0*h-0*i)),l=b.getPixels("x"),m=c.getPixels("y");a.translate(l,m),a.transform(k*(i-0*j),k*(0*j-h),k*(0*g-f),k*(e-0*g),k*(f*j-g*i),k*(g*h-e*j)),a.translate(-l,-m)}},{key:"applyToPoint",value:function(a){a.applyTransform(this.matrix)}}]),a}(),au=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="skew",f.angle=null,f.angle=new ah(a,"angle",b),f}return d}(at),av=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="skewX",f.matrix=[1,0,Math.tan(f.angle.getRadians()),1,0,0],f}return d}(au),aw=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="skewY",f.matrix=[1,Math.tan(f.angle.getRadians()),0,1,0,0],f}return d}(au),ax=function(){function a(b,c,d){var e=this;y.default(this,a),this.document=b,this.transforms=[],J(c).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/).forEach(function(b){if("none"!==b){var c,f,g,h,i=(c=b.split("("),g=(f=w.default(c,2))[0],h=f[1],[g.trim(),h.trim().replace(")","")]),j=w.default(i,2),k=j[0],l=j[1],m=a.transformTypes[k];void 0!==m&&e.transforms.push(new m(e.document,l,d))}})}return z.default(a,[{key:"apply",value:function(a){for(var b=this.transforms,c=b.length,d=0;d=0;d--)b[d].unapply(a)}},{key:"applyToPoint",value:function(a){for(var b=this.transforms,c=b.length,d=0;d2&&void 0!==arguments[2]&&arguments[2];if(y.default(this,a),this.document=b,this.node=c,this.captureTextNodes=e,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],c&&1===c.nodeType){Array.from(c.attributes).forEach(function(a){var c=O(a.nodeName);d.attributes[c]=new ah(b,c,a.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(function(a){return a.trim()}).forEach(function(a){if(a){var c=a.split(":").map(function(a){return a.trim()}),e=w.default(c,2),f=e[0],g=e[1];d.styles[f]=new ah(b,f,g)}});var f=b.definitions,g=this.getAttribute("id");g.hasValue()&&!f[g.getString()]&&(f[g.getString()]=this),Array.from(c.childNodes).forEach(function(a){if(1===a.nodeType)d.addChild(a);else if(e&&(3===a.nodeType||4===a.nodeType)){var c=b.createTextNode(a);c.getText().length>0&&d.addChild(c)}})}}return z.default(a,[{key:"getAttribute",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.attributes[a];if(!c&&b){var d=new ah(this.document,a,"");return this.attributes[a]=d,d}return c||ah.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var a in this.attributes)if("href"===a||a.endsWith(":href"))return this.attributes[a];return ah.empty(this.document)}},{key:"getStyle",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],d=this.styles[a];if(d)return d;var e=this.getAttribute(a);if(null!=e&&e.hasValue())return this.styles[a]=e,e;if(!c){var f=this.parent;if(f){var g=f.getStyle(a);if(null!=g&&g.hasValue())return g}}if(b){var h=new ah(this.document,a,"");return this.styles[a]=h,h}return d||ah.empty(this.document)}},{key:"render",value:function(a){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(a.save(),this.getStyle("mask").hasValue()){var b=this.getStyle("mask").getDefinition();b&&(this.applyEffects(a),b.apply(a,this))}else if("none"!==this.getStyle("filter").getValue("none")){var c=this.getStyle("filter").getDefinition();c&&(this.applyEffects(a),c.apply(a,this))}else this.setContext(a),this.renderChildren(a),this.clearContext(a);a.restore()}}},{key:"setContext",value:function(a){}},{key:"applyEffects",value:function(a){var b=ax.fromElement(this.document,this);b&&b.apply(a);var c=this.getStyle("clip-path",!1,!0);if(c.hasValue()){var d=c.getDefinition();d&&d.apply(a)}}},{key:"clearContext",value:function(a){}},{key:"renderChildren",value:function(a){this.children.forEach(function(b){b.render(a)})}},{key:"addChild",value:function(b){var c=b instanceof a?b:this.document.createElement(b);c.parent=this,a.ignoreChildTypes.includes(c.type)||this.children.push(c)}},{key:"matchesSelector",value:function(a){var b,c=this.node;if("function"==typeof c.matches)return c.matches(a);var d=null==(b=c.getAttribute)?void 0:b.call(c,"class");return!!d&&""!==d&&d.split(" ").some(function(b){return".".concat(b)===a})}},{key:"addStylesFromStyleDefinition",value:function(){var a=this.document,b=a.styles,c=a.stylesSpecificity;for(var d in b)if(!d.startsWith("@")&&this.matchesSelector(d)){var e=b[d],f=c[d];if(e)for(var g in e){var h=this.stylesSpecificity[g];void 0===h&&(h="000"),f>=h&&(this.styles[g]=e[g],this.stylesSpecificity[g]=f)}}}},{key:"removeStyles",value:function(a,b){return b.reduce(function(b,c){var d=a.getStyle(c);if(!d.hasValue())return b;var e=d.getString();return d.setValue(""),[].concat(F.default(b),[[c,e]])},[])}},{key:"restoreStyles",value:function(a,b){b.forEach(function(b){var c=w.default(b,2),d=c[0],e=c[1];a.getStyle(d,!0).setValue(e)})}},{key:"isFirstChild",value:function(){var a;return(null==(a=this.parent)?void 0:a.children.indexOf(this))===0}}]),a}();ay.ignoreChildTypes=["title"];var az=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){return y.default(this,d),c.call(this,a,b,e)}return d}(ay);function aA(a){var b=a.trim();return/^('|")/.test(b)?b:'"'.concat(b,'"')}var aB=function(){function a(b,c,d,e,f,g){y.default(this,a);var h=g?"string"==typeof g?a.parse(g):g:{};this.fontFamily=f||h.fontFamily,this.fontSize=e||h.fontSize,this.fontStyle=b||h.fontStyle,this.fontWeight=d||h.fontWeight,this.fontVariant=c||h.fontVariant}return z.default(a,[{key:"toString",value:function(){var a;return[function(a){if(!a)return"";var b=a.trim().toLowerCase();switch(b){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return b;default:if(/^oblique\s+(-|)\d+deg$/.test(b))return b;return""}}(this.fontStyle),this.fontVariant,function(a){if(!a)return"";var b=a.trim().toLowerCase();switch(b){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return b;default:if(/^[\d.]+$/.test(b))return b;return""}}(this.fontWeight),this.fontSize,(a=this.fontFamily,"undefined"==typeof process?a:a.trim().split(",").map(aA).join(","))].join(" ").trim()}}],[{key:"parse",value:function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,d="",e="",f="",g="",h="",i=J(b).trim().split(" "),j={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return i.forEach(function(b){switch(!0){case!j.fontStyle&&a.styles.includes(b):"inherit"!==b&&(d=b),j.fontStyle=!0;break;case!j.fontVariant&&a.variants.includes(b):"inherit"!==b&&(e=b),j.fontStyle=!0,j.fontVariant=!0;break;case!j.fontWeight&&a.weights.includes(b):"inherit"!==b&&(f=b),j.fontStyle=!0,j.fontVariant=!0,j.fontWeight=!0;break;case!j.fontSize:if("inherit"!==b){var c=b.split("/");g=w.default(c,1)[0]}j.fontStyle=!0,j.fontVariant=!0,j.fontWeight=!0,j.fontSize=!0;break;default:"inherit"!==b&&(h+=b)}}),new a(d,e,f,g,h,c)}}]),a}();aB.styles="normal|italic|oblique|inherit",aB.variants="normal|small-caps|inherit",aB.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var aC=function(){function a(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NaN,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:NaN,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:NaN;y.default(this,a),this.x1=b,this.y1=c,this.x2=d,this.y2=e,this.addPoint(b,c),this.addPoint(d,e)}return z.default(a,[{key:"addPoint",value:function(a,b){void 0!==a&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=a,this.x2=a),athis.x2&&(this.x2=a)),void 0!==b&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=b,this.y2=b),bthis.y2&&(this.y2=b))}},{key:"addX",value:function(a){this.addPoint(a,null)}},{key:"addY",value:function(a){this.addPoint(null,a)}},{key:"addBoundingBox",value:function(a){if(a){var b=a.x1,c=a.y1,d=a.x2,e=a.y2;this.addPoint(b,c),this.addPoint(d,e)}}},{key:"sumCubic",value:function(a,b,c,d,e){return Math.pow(1-a,3)*b+3*Math.pow(1-a,2)*a*c+3*(1-a)*Math.pow(a,2)*d+Math.pow(a,3)*e}},{key:"bezierCurveAdd",value:function(a,b,c,d,e){var f=6*b-12*c+6*d,g=-3*b+9*c-9*d+3*e,h=3*c-3*b;if(0===g){if(0===f)return;var i=-h/f;0=this.commands.length-1}},{key:"next",value:function(){var a=this.commands[++this.i];return this.previousCommand=this.command,this.command=a,a}},{key:"getPoint",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",c=new aj(this.command[a],this.command[b]);return this.makeAbsolute(c)}},{key:"getAsControlPoint",value:function(a,b){var c=this.getPoint(a,b);return this.control=c,c}},{key:"getAsCurrentPoint",value:function(a,b){var c=this.getPoint(a,b);return this.current=c,c}},{key:"getReflectedControlPoint",value:function(){var a=this.previousCommand.type;if(a!==q.SVGPathData.CURVE_TO&&a!==q.SVGPathData.SMOOTH_CURVE_TO&&a!==q.SVGPathData.QUAD_TO&&a!==q.SVGPathData.SMOOTH_QUAD_TO)return this.current;var b=this.current,c=b.x,d=b.y,e=this.control;return new aj(2*c-e.x,2*d-e.y)}},{key:"makeAbsolute",value:function(a){if(this.command.relative){var b=this.current,c=b.x,d=b.y;a.x+=c,a.y+=d}return a}},{key:"addMarker",value:function(a,b,c){var d=this.points,e=this.angles;c&&e.length>0&&!e[e.length-1]&&(e[e.length-1]=d[d.length-1].angleTo(c)),this.addMarkerAngle(a,b?b.angleTo(a):null)}},{key:"addMarkerAngle",value:function(a,b){this.points.push(a),this.angles.push(b)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var a=this.angles,b=a.length,c=0;c1&&void 0!==arguments[1]&&arguments[1];if(!b){var c=this.getStyle("fill"),d=this.getStyle("fill-opacity"),e=this.getStyle("stroke"),f=this.getStyle("stroke-opacity");if(c.isUrlDefinition()){var g=c.getFillStyleDefinition(this,d);g&&(a.fillStyle=g)}else if(c.hasValue()){"currentColor"===c.getString()&&c.setValue(this.getStyle("color").getColor());var h=c.getColor();"inherit"!==h&&(a.fillStyle="none"===h?"rgba(0,0,0,0)":h)}if(d.hasValue()){var i=new ah(this.document,"fill",a.fillStyle).addOpacity(d).getColor();a.fillStyle=i}if(e.isUrlDefinition()){var j=e.getFillStyleDefinition(this,f);j&&(a.strokeStyle=j)}else if(e.hasValue()){"currentColor"===e.getString()&&e.setValue(this.getStyle("color").getColor());var k=e.getString();"inherit"!==k&&(a.strokeStyle="none"===k?"rgba(0,0,0,0)":k)}if(f.hasValue()){var l=new ah(this.document,"stroke",a.strokeStyle).addOpacity(f).getString();a.strokeStyle=l}var m=this.getStyle("stroke-width");m.hasValue()&&(a.lineWidth=m.getPixels()||1e-8);var n=this.getStyle("stroke-linecap"),o=this.getStyle("stroke-linejoin"),p=this.getStyle("stroke-miterlimit"),q=this.getStyle("stroke-dasharray"),r=this.getStyle("stroke-dashoffset");if(n.hasValue()&&(a.lineCap=n.getString()),o.hasValue()&&(a.lineJoin=o.getString()),p.hasValue()&&(a.miterLimit=p.getNumber()),q.hasValue()&&"none"!==q.getString()){var s=M(q.getString());void 0!==a.setLineDash?a.setLineDash(s):void 0!==a.webkitLineDash?a.webkitLineDash=s:void 0!==a.mozDash&&(1!==s.length||0!==s[0])&&(a.mozDash=s);var t=r.getPixels();void 0!==a.lineDashOffset?a.lineDashOffset=t:void 0!==a.webkitLineDashOffset?a.webkitLineDashOffset=t:void 0!==a.mozDashOffset&&(a.mozDashOffset=t)}}if(this.modifiedEmSizeStack=!1,void 0!==a.font){var u=this.getStyle("font"),v=this.getStyle("font-style"),w=this.getStyle("font-variant"),x=this.getStyle("font-weight"),y=this.getStyle("font-size"),z=this.getStyle("font-family"),A=new aB(v.getString(),w.getString(),x.getString(),y.hasValue()?"".concat(y.getPixels(!0),"px"):"",z.getString(),aB.parse(u.getString(),a.font));v.setValue(A.fontStyle),w.setValue(A.fontVariant),x.setValue(A.fontWeight),y.setValue(A.fontSize),z.setValue(A.fontFamily),a.font=A.toString(),y.isPixels()&&(this.document.emSize=y.getPixels(),this.modifiedEmSizeStack=!0)}b||(this.applyEffects(a),a.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(a){G.default(E.default(d.prototype),"clearContext",this).call(this,a),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),d}(ay),aF=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="path",f.pathParser=null,f.pathParser=new aD(f.getAttribute("d").getString()),f}return z.default(d,[{key:"path",value:function(a){var b=this.pathParser,c=new aC;for(b.reset(),a&&a.beginPath();!b.isEnd();)switch(b.next().type){case aD.MOVE_TO:this.pathM(a,c);break;case aD.LINE_TO:this.pathL(a,c);break;case aD.HORIZ_LINE_TO:this.pathH(a,c);break;case aD.VERT_LINE_TO:this.pathV(a,c);break;case aD.CURVE_TO:this.pathC(a,c);break;case aD.SMOOTH_CURVE_TO:this.pathS(a,c);break;case aD.QUAD_TO:this.pathQ(a,c);break;case aD.SMOOTH_QUAD_TO:this.pathT(a,c);break;case aD.ARC:this.pathA(a,c);break;case aD.CLOSE_PATH:this.pathZ(a,c)}return c}},{key:"getBoundingBox",value:function(a){return this.path()}},{key:"getMarkers",value:function(){var a=this.pathParser,b=a.getMarkerPoints(),c=a.getMarkerAngles();return b.map(function(a,b){return[a,c[b]]})}},{key:"renderChildren",value:function(a){this.path(a),this.document.screen.mouse.checkPath(this,a);var b=this.getStyle("fill-rule");""!==a.fillStyle&&("inherit"!==b.getString("inherit")?a.fill(b.getString()):a.fill()),""!==a.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(a.save(),a.setTransform(1,0,0,1,0,0),a.stroke(),a.restore()):a.stroke());var c=this.getMarkers();if(c){var d=c.length-1,e=this.getStyle("marker-start"),f=this.getStyle("marker-mid"),g=this.getStyle("marker-end");if(e.isUrlDefinition()){var h=e.getDefinition(),i=w.default(c[0],2),j=i[0],k=i[1];h.render(a,j,k)}if(f.isUrlDefinition())for(var l=f.getDefinition(),m=1;mh?1:g/h,r=g>h?h/g:1;a.translate(k.x,k.y),a.rotate(j),a.scale(q,r),a.arc(0,0,g>h?g:h,l,l+m,!!(1-i)),a.scale(1/q,1/r),a.rotate(-j),a.translate(-k.x,-k.y)}}},{key:"pathZ",value:function(a,b){d.pathZ(this.pathParser),a&&b.x1!==b.x2&&b.y1!==b.y2&&a.closePath()}}],[{key:"pathM",value:function(a){var b=a.getAsCurrentPoint();return a.start=a.current,{point:b}}},{key:"pathL",value:function(a){return{current:a.current,point:a.getAsCurrentPoint()}}},{key:"pathH",value:function(a){var b=a.current,c=a.command,d=new aj((c.relative?b.x:0)+c.x,b.y);return a.current=d,{current:b,point:d}}},{key:"pathV",value:function(a){var b=a.current,c=a.command,d=new aj(b.x,(c.relative?b.y:0)+c.y);return a.current=d,{current:b,point:d}}},{key:"pathC",value:function(a){return{current:a.current,point:a.getPoint("x1","y1"),controlPoint:a.getAsControlPoint("x2","y2"),currentPoint:a.getAsCurrentPoint()}}},{key:"pathS",value:function(a){return{current:a.current,point:a.getReflectedControlPoint(),controlPoint:a.getAsControlPoint("x2","y2"),currentPoint:a.getAsCurrentPoint()}}},{key:"pathQ",value:function(a){return{current:a.current,controlPoint:a.getAsControlPoint("x1","y1"),currentPoint:a.getAsCurrentPoint()}}},{key:"pathT",value:function(a){var b=a.current,c=a.getReflectedControlPoint();return a.control=c,{current:b,controlPoint:c,currentPoint:a.getAsCurrentPoint()}}},{key:"pathA",value:function(a){var b=a.current,c=a.command,d=c.rX,e=c.rY,f=c.xRot,g=c.lArcFlag,h=c.sweepFlag,i=Math.PI/180*f,j=a.getAsCurrentPoint(),k=new aj(Math.cos(i)*(b.x-j.x)/2+Math.sin(i)*(b.y-j.y)/2,-Math.sin(i)*(b.x-j.x)/2+Math.cos(i)*(b.y-j.y)/2),l=Math.pow(k.x,2)/Math.pow(d,2)+Math.pow(k.y,2)/Math.pow(e,2);l>1&&(d*=Math.sqrt(l),e*=Math.sqrt(l));var m=(g===h?-1:1)*Math.sqrt((Math.pow(d,2)*Math.pow(e,2)-Math.pow(d,2)*Math.pow(k.y,2)-Math.pow(e,2)*Math.pow(k.x,2))/(Math.pow(d,2)*Math.pow(k.y,2)+Math.pow(e,2)*Math.pow(k.x,2)));isNaN(m)&&(m=0);var n=new aj(m*d*k.y/e,-(m*e)*k.x/d),o=new aj((b.x+j.x)/2+Math.cos(i)*n.x-Math.sin(i)*n.y,(b.y+j.y)/2+Math.sin(i)*n.x+Math.cos(i)*n.y),p=aa([1,0],[(k.x-n.x)/d,(k.y-n.y)/e]),q=[(k.x-n.x)/d,(k.y-n.y)/e],r=[(-k.x-n.x)/d,(-k.y-n.y)/e],s=aa(q,r);return -1>=_(q,r)&&(s=Math.PI),_(q,r)>=1&&(s=0),{currentPoint:j,rX:d,rY:e,sweepFlag:h,xAxisRotation:i,centp:o,a1:p,ad:s}}},{key:"pathZ",value:function(a){a.current=a.start}}]),d}(aE),aG=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="glyph",f.horizAdvX=f.getAttribute("horiz-adv-x").getNumber(),f.unicode=f.getAttribute("unicode").getString(),f.arabicForm=f.getAttribute("arabic-form").getString(),f}return d}(aF),aH=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,(this instanceof d?this.constructor:void 0)===d||e)).type="text",f.x=0,f.y=0,f.measureCache=-1,f}return z.default(d,[{key:"setContext",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1];G.default(E.default(d.prototype),"setContext",this).call(this,a,b);var c=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();c&&(a.textBaseline=c)}},{key:"initializeCoordinates",value:function(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=1/0,this.maxX=-1/0}},{key:"getBoundingBox",value:function(a){var b=this;if("text"!==this.type)return this.getTElementBoundingBox(a);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(a);var c=null;return this.children.forEach(function(d,e){var f=b.getChildBoundingBox(a,b,b,e);c?c.addBoundingBox(f):c=f}),c}},{key:"getFontSize",value:function(){var a=this.document,b=this.parent,c=aB.parse(a.ctx.font).fontSize;return b.getStyle("font-size").getNumber(c)}},{key:"getTElementBoundingBox",value:function(a){var b=this.getFontSize();return new aC(this.x,this.y-b,this.x+this.measureText(a),this.y)}},{key:"getGlyph",value:function(a,b,c){var d=b[c],e=null;if(a.isArabic){var f=b.length,g=b[c-1],h=b[c+1],i="isolated";if((0===c||" "===g)&&c0&&" "!==g&&c0&&" "!==g&&(c===f-1||" "===h)&&(i="initial"),void 0!==a.glyphs[d]){var j=a.glyphs[d];e=j instanceof aG?j:j[i]}}else e=a.glyphs[d];return e||(e=a.missingGlyph),e}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(a){var b=a||this.node,c=Array.from(b.parentNode.childNodes),d=c.indexOf(b),e=c.length-1,f=J(b.textContent||"");return 0===d&&(f=K(f)),d===e&&(f=L(f)),f}},{key:"renderChildren",value:function(a){var b=this;if("text"!==this.type)return void this.renderTElementChildren(a);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(a),this.children.forEach(function(c,d){b.renderChild(a,b,b,d)});var c=this.document.screen.mouse;c.isWorking()&&c.checkBoundingBox(this,this.getBoundingBox(a))}},{key:"renderTElementChildren",value:function(a){var b=this.document,c=this.parent,d=this.getText(),e=c.getStyle("font-family").getDefinition();if(e){for(var f=e.fontFace.unitsPerEm,g=aB.parse(b.ctx.font),h=c.getStyle("font-size").getNumber(g.fontSize),i=c.getStyle("font-style").getString(g.fontStyle),j=h/f,k=e.isRTL?d.split("").reverse().join(""):d,l=M(c.getAttribute("dx").getString()),m=k.length,n=0;n=this.leafTexts.length)){var a=this.leafTexts[this.textChunkStart],b=a.getStyle("text-anchor").getString("start"),c=0;c="start"===b?a.x-this.minX:"end"===b?a.x-this.maxX:a.x-(this.minX+this.maxX)/2;for(var d=this.textChunkStart;d0?e.children.forEach(function(c,d){b.adjustChildCoordinatesRecursiveCore(a,b,e,d)}):this.adjustChildCoordinates(a,b,c,d)}},{key:"adjustChildCoordinates",value:function(a,b,c,d){var e=c.children[d];if("function"!=typeof e.measureText)return e;a.save(),e.setContext(a,!0);var f=e.getAttribute("x"),g=e.getAttribute("y"),h=e.getAttribute("dx"),i=e.getAttribute("dy"),j=e.getStyle("font-family").getDefinition(),k=!!j&&j.isRTL;0===d&&(f.hasValue()||f.setValue(e.getInheritedAttribute("x")),g.hasValue()||g.setValue(e.getInheritedAttribute("y")),h.hasValue()||h.setValue(e.getInheritedAttribute("dx")),i.hasValue()||i.setValue(e.getInheritedAttribute("dy")));var l=e.measureText(a);return k&&(b.x-=l),f.hasValue()?(b.applyAnchoring(),e.x=f.getPixels("x"),h.hasValue()&&(e.x+=h.getPixels("x"))):(h.hasValue()&&(b.x+=h.getPixels("x")),e.x=b.x),b.x=e.x,k||(b.x+=l),g.hasValue()?(e.y=g.getPixels("y"),i.hasValue()&&(e.y+=i.getPixels("y"))):(i.hasValue()&&(b.y+=i.getPixels("y")),e.y=b.y),b.y=e.y,b.leafTexts.push(e),b.minX=Math.min(b.minX,e.x,e.x+l),b.maxX=Math.max(b.maxX,e.x,e.x+l),e.clearContext(a),a.restore(),e}},{key:"getChildBoundingBox",value:function(a,b,c,d){var e=c.children[d];if("function"!=typeof e.getBoundingBox)return null;var f=e.getBoundingBox(a);return f?(e.children.forEach(function(c,d){var g=b.getChildBoundingBox(a,b,e,d);f.addBoundingBox(g)}),f):null}},{key:"renderChild",value:function(a,b,c,d){var e=c.children[d];e.render(a),e.children.forEach(function(c,d){b.renderChild(a,b,e,d)})}},{key:"measureText",value:function(a){var b=this.measureCache;if(~b)return b;var c=this.getText(),d=this.measureTargetText(a,c);return this.measureCache=d,d}},{key:"measureTargetText",value:function(a,b){if(!b.length)return 0;var c=this.parent,d=c.getStyle("font-family").getDefinition();if(d){for(var e=this.getFontSize(),f=d.isRTL?b.split("").reverse().join(""):b,g=M(c.getAttribute("dx").getString()),h=f.length,i=0,j=0;j0?"":f.getTextFromNode(),f}return z.default(d,[{key:"getText",value:function(){return this.text}}]),d}(aH),aJ=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="textNode",a}return d}(aI),aK=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="svg",a.root=!1,a}return z.default(d,[{key:"setContext",value:function(a){var b,c=this.document,e=c.screen,f=c.window,g=a.canvas;if(e.setDefaults(a),g.style&&void 0!==a.font&&f&&void 0!==f.getComputedStyle){a.font=f.getComputedStyle(g).getPropertyValue("font");var h=new ah(c,"fontSize",aB.parse(a.font).fontSize);h.hasValue()&&(c.rootEmSize=h.getPixels("y"),c.emSize=c.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var i=e.viewPort,j=i.width,k=i.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var l=this.getAttribute("refX"),m=this.getAttribute("refY"),n=this.getAttribute("viewBox"),o=n.hasValue()?M(n.getString()):null,p=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),q=0,r=0,s=0,t=0;o&&(q=o[0],r=o[1]),this.root||(j=this.getStyle("width").getPixels("x"),k=this.getStyle("height").getPixels("y"),"marker"===this.type&&(s=q,t=r,q=0,r=0)),e.viewPort.setCurrent(j,k),this.node&&(!this.parent||(null==(b=this.node.parentNode)?void 0:b.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),G.default(E.default(d.prototype),"setContext",this).call(this,a),a.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),o&&(j=o[2],k=o[3]),c.setViewBox({ctx:a,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:e.viewPort.width,desiredWidth:j,height:e.viewPort.height,desiredHeight:k,minX:q,minY:r,refX:l.getValue(),refY:m.getValue(),clip:p,clipX:s,clipY:t}),o&&(e.viewPort.removeCurrent(),e.viewPort.setCurrent(j,k))}},{key:"clearContext",value:function(a){G.default(E.default(d.prototype),"clearContext",this).call(this,a),this.document.screen.viewPort.removeCurrent()}},{key:"resize",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],d=this.getAttribute("width",!0),e=this.getAttribute("height",!0),f=this.getAttribute("viewBox"),g=this.getAttribute("style"),h=d.getNumber(0),i=e.getNumber(0);if(c)if("string"==typeof c)this.getAttribute("preserveAspectRatio",!0).setValue(c);else{var j=this.getAttribute("preserveAspectRatio");j.hasValue()&&j.setValue(j.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(d.setValue(a),e.setValue(b),f.hasValue()||f.setValue("0 0 ".concat(h||a," ").concat(i||b)),g.hasValue()){var k=this.getStyle("width"),l=this.getStyle("height");k.hasValue()&&k.setValue("".concat(a,"px")),l.hasValue()&&l.setValue("".concat(b,"px"))}}}]),d}(aE),aL=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="rect",a}return z.default(d,[{key:"path",value:function(a){var b=this.getAttribute("x").getPixels("x"),c=this.getAttribute("y").getPixels("y"),d=this.getStyle("width",!1,!0).getPixels("x"),e=this.getStyle("height",!1,!0).getPixels("y"),f=this.getAttribute("rx"),g=this.getAttribute("ry"),h=f.getPixels("x"),i=g.getPixels("y");if(f.hasValue()&&!g.hasValue()&&(i=h),g.hasValue()&&!f.hasValue()&&(h=i),h=Math.min(h,d/2),i=Math.min(i,e/2),a){var j=(Math.sqrt(2)-1)/3*4;a.beginPath(),e>0&&d>0&&(a.moveTo(b+h,c),a.lineTo(b+d-h,c),a.bezierCurveTo(b+d-h+j*h,c,b+d,c+i-j*i,b+d,c+i),a.lineTo(b+d,c+e-i),a.bezierCurveTo(b+d,c+e-i+j*i,b+d-h+j*h,c+e,b+d-h,c+e),a.lineTo(b+h,c+e),a.bezierCurveTo(b+h-j*h,c+e,b,c+e-i+j*i,b,c+e-i),a.lineTo(b,c+i),a.bezierCurveTo(b,c+i-j*i,b+h-j*h,c,b+h,c),a.closePath())}return new aC(b,c,b+d,c+e)}},{key:"getMarkers",value:function(){return null}}]),d}(aF),aM=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="circle",a}return z.default(d,[{key:"path",value:function(a){var b=this.getAttribute("cx").getPixels("x"),c=this.getAttribute("cy").getPixels("y"),d=this.getAttribute("r").getPixels();return a&&d>0&&(a.beginPath(),a.arc(b,c,d,0,2*Math.PI,!1),a.closePath()),new aC(b-d,c-d,b+d,c+d)}},{key:"getMarkers",value:function(){return null}}]),d}(aF),aN=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="ellipse",a}return z.default(d,[{key:"path",value:function(a){var b=(Math.sqrt(2)-1)/3*4,c=this.getAttribute("rx").getPixels("x"),d=this.getAttribute("ry").getPixels("y"),e=this.getAttribute("cx").getPixels("x"),f=this.getAttribute("cy").getPixels("y");return a&&c>0&&d>0&&(a.beginPath(),a.moveTo(e+c,f),a.bezierCurveTo(e+c,f+b*d,e+b*c,f+d,e,f+d),a.bezierCurveTo(e-b*c,f+d,e-c,f+b*d,e-c,f),a.bezierCurveTo(e-c,f-b*d,e-b*c,f-d,e,f-d),a.bezierCurveTo(e+b*c,f-d,e+c,f-b*d,e+c,f),a.closePath()),new aC(e-c,f-d,e+c,f+d)}},{key:"getMarkers",value:function(){return null}}]),d}(aF),aO=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="line",a}return z.default(d,[{key:"getPoints",value:function(){return[new aj(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new aj(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(a){var b=this.getPoints(),c=w.default(b,2),d=c[0],e=d.x,f=d.y,g=c[1],h=g.x,i=g.y;return a&&(a.beginPath(),a.moveTo(e,f),a.lineTo(h,i)),new aC(e,f,h,i)}},{key:"getMarkers",value:function(){var a=this.getPoints(),b=w.default(a,2),c=b[0],d=b[1],e=c.angleTo(d);return[[c,e],[d,e]]}}]),d}(aF),aP=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="polyline",f.points=[],f.points=aj.parsePath(f.getAttribute("points").getString()),f}return z.default(d,[{key:"path",value:function(a){var b=this.points,c=w.default(b,1)[0],d=c.x,e=c.y,f=new aC(d,e);return a&&(a.beginPath(),a.moveTo(d,e)),b.forEach(function(b){var c=b.x,d=b.y;f.addPoint(c,d),a&&a.lineTo(c,d)}),f}},{key:"getMarkers",value:function(){var a=this.points,b=a.length-1,c=[];return a.forEach(function(d,e){e!==b&&c.push([d,d.angleTo(a[e+1])])}),c.length>0&&c.push([a[a.length-1],c[c.length-1][1]]),c}}]),d}(aF),aQ=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="polygon",a}return z.default(d,[{key:"path",value:function(a){var b=G.default(E.default(d.prototype),"path",this).call(this,a),c=w.default(this.points,1)[0],e=c.x,f=c.y;return a&&(a.lineTo(e,f),a.closePath()),b}}]),d}(aP),aR=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="pattern",a}return z.default(d,[{key:"createPattern",value:function(a,b,c){var d=this.getStyle("width").getPixels("x",!0),e=this.getStyle("height").getPixels("y",!0),f=new aK(this.document,null);f.attributes.viewBox=new ah(this.document,"viewBox",this.getAttribute("viewBox").getValue()),f.attributes.width=new ah(this.document,"width","".concat(d,"px")),f.attributes.height=new ah(this.document,"height","".concat(e,"px")),f.attributes.transform=new ah(this.document,"transform",this.getAttribute("patternTransform").getValue()),f.children=this.children;var g=this.document.createCanvas(d,e),h=g.getContext("2d"),i=this.getAttribute("x"),j=this.getAttribute("y");i.hasValue()&&j.hasValue()&&h.translate(i.getPixels("x",!0),j.getPixels("y",!0)),c.hasValue()?this.styles["fill-opacity"]=c:Reflect.deleteProperty(this.styles,"fill-opacity");for(var k=-1;k<=1;k++)for(var l=-1;l<=1;l++)h.save(),f.attributes.x=new ah(this.document,"x",k*g.width),f.attributes.y=new ah(this.document,"y",l*g.height),f.render(h),h.restore();return a.createPattern(g,"repeat")}}]),d}(ay),aS=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="marker",a}return z.default(d,[{key:"render",value:function(a,b,c){if(b){var d=b.x,e=b.y,f=this.getAttribute("orient").getString("auto"),g=this.getAttribute("markerUnits").getString("strokeWidth");a.translate(d,e),"auto"===f&&a.rotate(c),"strokeWidth"===g&&a.scale(a.lineWidth,a.lineWidth),a.save();var h=new aK(this.document,null);h.type=this.type,h.attributes.viewBox=new ah(this.document,"viewBox",this.getAttribute("viewBox").getValue()),h.attributes.refX=new ah(this.document,"refX",this.getAttribute("refX").getValue()),h.attributes.refY=new ah(this.document,"refY",this.getAttribute("refY").getValue()),h.attributes.width=new ah(this.document,"width",this.getAttribute("markerWidth").getValue()),h.attributes.height=new ah(this.document,"height",this.getAttribute("markerHeight").getValue()),h.attributes.overflow=new ah(this.document,"overflow",this.getAttribute("overflow").getValue()),h.attributes.fill=new ah(this.document,"fill",this.getAttribute("fill").getColor("black")),h.attributes.stroke=new ah(this.document,"stroke",this.getAttribute("stroke").getValue("none")),h.children=this.children,h.render(a),a.restore(),"strokeWidth"===g&&a.scale(1/a.lineWidth,1/a.lineWidth),"auto"===f&&a.rotate(-c),a.translate(-d,-e)}}}]),d}(ay),aT=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="defs",a}return z.default(d,[{key:"render",value:function(){}}]),d}(ay),aU=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="g",a}return z.default(d,[{key:"getBoundingBox",value:function(a){var b=new aC;return this.children.forEach(function(c){b.addBoundingBox(c.getBoundingBox(a))}),b}}]),d}(aE),aV=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){y.default(this,d),(f=c.call(this,a,b,e)).attributesToInherit=["gradientUnits"],f.stops=[];var f,g=H.default(f),h=g.stops;return g.children.forEach(function(a){"stop"===a.type&&h.push(a)}),f}return z.default(d,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(a,b,c){var d=this,e=this;this.getHrefAttribute().hasValue()&&(e=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(e));var f=e.stops,g=this.getGradient(a,b);if(!g)return this.addParentOpacity(c,f[f.length-1].color);if(f.forEach(function(a){g.addColorStop(a.offset,d.addParentOpacity(c,a.color))}),this.getAttribute("gradientTransform").hasValue()){var h=this.document,i=h.screen,j=i.MAX_VIRTUAL_PIXELS,k=i.viewPort,l=w.default(k.viewPorts,1)[0],m=new aL(h,null);m.attributes.x=new ah(h,"x",-j/3),m.attributes.y=new ah(h,"y",-j/3),m.attributes.width=new ah(h,"width",j),m.attributes.height=new ah(h,"height",j);var n=new aU(h,null);n.attributes.transform=new ah(h,"transform",this.getAttribute("gradientTransform").getValue()),n.children=[m];var o=new aK(h,null);o.attributes.x=new ah(h,"x",0),o.attributes.y=new ah(h,"y",0),o.attributes.width=new ah(h,"width",l.width),o.attributes.height=new ah(h,"height",l.height),o.children=[n];var p=h.createCanvas(l.width,l.height),q=p.getContext("2d");return q.fillStyle=g,o.render(q),q.createPattern(p,"no-repeat")}return g}},{key:"inheritStopContainer",value:function(a){var b=this;this.attributesToInherit.forEach(function(c){!b.getAttribute(c).hasValue()&&a.getAttribute(c).hasValue()&&b.getAttribute(c,!0).setValue(a.getAttribute(c).getValue())})}},{key:"addParentOpacity",value:function(a,b){return a.hasValue()?new ah(this.document,"color",b).addOpacity(a).getColor():b}}]),d}(ay),aW=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="linearGradient",f.attributesToInherit.push("x1","y1","x2","y2"),f}return z.default(d,[{key:"getGradient",value:function(a,b){var c="objectBoundingBox"===this.getGradientUnits(),d=c?b.getBoundingBox(a):null;if(c&&!d)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var e=c?d.x+d.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),f=c?d.y+d.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),g=c?d.x+d.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),h=c?d.y+d.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return e===g&&f===h?null:a.createLinearGradient(e,f,g,h)}}]),d}(aV),aX=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="radialGradient",f.attributesToInherit.push("cx","cy","r","fx","fy","fr"),f}return z.default(d,[{key:"getGradient",value:function(a,b){var c="objectBoundingBox"===this.getGradientUnits(),d=b.getBoundingBox(a);if(c&&!d)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var e=c?d.x+d.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),f=c?d.y+d.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),g=e,h=f;this.getAttribute("fx").hasValue()&&(g=c?d.x+d.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(h=c?d.y+d.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var i=c?(d.width+d.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),j=this.getAttribute("fr").getPixels();return a.createRadialGradient(g,h,j,e,f,i)}}]),d}(aV),aY=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){y.default(this,d),(f=c.call(this,a,b,e)).type="stop";var f,g=Math.max(0,Math.min(1,f.getAttribute("offset").getNumber())),h=f.getStyle("stop-opacity"),i=f.getStyle("stop-color",!0);return""===i.getString()&&i.setValue("#000"),h.hasValue()&&(i=i.addOpacity(h)),f.offset=g,f.color=i.getColor(),f}return d}(ay),aZ=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){y.default(this,d),(f=c.call(this,a,b,e)).type="animate",f.duration=0,f.initialValue=null,f.initialUnits="",f.removed=!1,f.frozen=!1,a.screen.animations.push(H.default(f)),f.begin=f.getAttribute("begin").getMilliseconds(),f.maxDuration=f.begin+f.getAttribute("dur").getMilliseconds(),f.from=f.getAttribute("from"),f.to=f.getAttribute("to"),f.values=new ah(a,"values",null);var f,g=f.getAttribute("values");return g.hasValue()&&f.values.setValue(g.getString().split(";")),f}return z.default(d,[{key:"getProperty",value:function(){var a=this.getAttribute("attributeType").getString(),b=this.getAttribute("attributeName").getString();return"CSS"===a?this.parent.getStyle(b,!0):this.parent.getAttribute(b,!0)}},{key:"calcValue",value:function(){var a=this.initialUnits,b=this.getProgress(),c=b.progress,d=b.from,e=b.to,f=d.getNumber()+(e.getNumber()-d.getNumber())*c;return"%"===a&&(f*=100),"".concat(f).concat(a)}},{key:"update",value:function(a){var b=this.parent,c=this.getProperty();if(this.initialValue||(this.initialValue=c.getString(),this.initialUnits=c.getUnits()),this.duration>this.maxDuration){var d=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==d||this.frozen){if("remove"===d&&!this.removed)return this.removed=!0,c.setValue(b.animationFrozen?b.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,b.animationFrozen=!0,b.animationFrozenValue=c.getString();return!1}this.duration+=a;var e=!1;if(this.begina.length)&&(b=a.length);for(var c=0,d=Array(b);c=a.length?{done:!0}:{done:!1,value:a[d++]}},e:function(a){throw a},f:e}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f,g=!0,h=!1;return{s:function(){c=c.call(a)},n:function(){var a=c.next();return g=a.done,a},e:function(a){h=!0,f=a},f:function(){try{g||null==c.return||c.return()}finally{if(h)throw f}}}}(H.default(f).children);try{for(i.s();!(g=i.n()).done;){var j=g.value;switch(j.type){case"font-face":f.fontFace=j;var k=j.getStyle("font-family");k.hasValue()&&(h[k.getString()]=H.default(f));break;case"missing-glyph":f.missingGlyph=j;break;case"glyph":j.arabicForm?(f.isRTL=!0,f.isArabic=!0,void 0===f.glyphs[j.unicode]&&(f.glyphs[j.unicode]=Object.create(null)),f.glyphs[j.unicode][j.arabicForm]=j):f.glyphs[j.unicode]=j}}}catch(a){i.e(a)}finally{i.f()}return f}return z.default(d,[{key:"render",value:function(){}}]),d}(ay),a2=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="font-face",f.ascent=f.getAttribute("ascent").getNumber(),f.descent=f.getAttribute("descent").getNumber(),f.unitsPerEm=f.getAttribute("units-per-em").getNumber(),f}return d}(ay),a3=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="missing-glyph",a.horizAdvX=0,a}return d}(aF),a4=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="tref",a}return z.default(d,[{key:"getText",value:function(){var a=this.getHrefAttribute().getDefinition();if(a){var b=a.children[0];if(b)return b.getText()}return""}}]),d}(aH),a5=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){y.default(this,d),(f=c.call(this,a,b,e)).type="a";var f,g=b.childNodes,h=g[0],i=g.length>0&&Array.from(g).every(function(a){return 3===a.nodeType});return f.hasText=i,f.text=i?f.getTextFromNode(h):"",f}return z.default(d,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(a){if(this.hasText){G.default(E.default(d.prototype),"renderChildren",this).call(this,a);var b=this.document,c=this.x,e=this.y,f=b.screen.mouse,g=new ah(b,"fontSize",aB.parse(b.ctx.font).fontSize);f.isWorking()&&f.checkBoundingBox(this,new aC(c,e-g.getPixels("y"),c+this.measureText(a),e))}else if(this.children.length>0){var h=new aU(this.document,null);h.children=this.children,h.parent=this,h.render(a)}}},{key:"onClick",value:function(){var a=this.document.window;a&&a.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),d}(aH);function a6(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);ci?1:h/i,o=h>i?i/h:1;a&&(a.translate(f,g),a.rotate(l),a.scale(n,o),a.arc(0,0,h>i?h:i,j,j+k,!!(1-m)),a.scale(1/n,1/o),a.rotate(-l),a.translate(-f,-g));break;case aD.CLOSE_PATH:a&&a.closePath()}})}},{key:"renderChildren",value:function(a){this.setTextData(a),a.save();var b=this.parent.getStyle("text-decoration").getString(),c=this.getFontSize(),d=this.glyphInfo,e=a.fillStyle;"underline"===b&&a.beginPath(),d.forEach(function(d,e){var f=d.p0,g=d.p1,h=d.rotation,i=d.text;a.save(),a.translate(f.x,f.y),a.rotate(h),a.fillStyle&&a.fillText(i,0,0),a.strokeStyle&&a.strokeText(i,0,0),a.restore(),"underline"===b&&(0===e&&a.moveTo(f.x,f.y+c/8),a.lineTo(g.x,g.y+c/5))}),"underline"===b&&(a.lineWidth=c/20,a.strokeStyle=e,a.stroke(),a.closePath()),a.restore()}},{key:"getLetterSpacingAt",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[a]||0}},{key:"findSegmentToFitChar",value:function(a,b,c,d,e,f,g,h,i){var j=f,k=this.measureText(a,h);" "===h&&"justify"===b&&c-1&&(j+=this.getLetterSpacingAt(i));var l=this.textHeight/20,m=this.getEquidistantPointOnPath(j,l,0),n=this.getEquidistantPointOnPath(j+k,l,0),o={p0:m,p1:n},p=m&&n?Math.atan2(n.y-m.y,n.x-m.x):0;if(g){var q=Math.cos(Math.PI/2+p)*g,r=Math.cos(-p)*g;o.p0=a8(a8({},m),{},{x:m.x+q,y:m.y+r}),o.p1=a8(a8({},n),{},{x:n.x+q,y:n.y+r})}return{offset:j+=k,segment:o,rotation:p}}},{key:"measureText",value:function(a,b){var c=this.measuresCache,d=b||this.getText();if(c.has(d))return c.get(d);var e=this.measureTargetText(a,d);return c.set(d,e),e}},{key:"setTextData",value:function(a){var b=this;if(!this.glyphInfo){var c=this.getText(),d=c.split(""),e=c.split(" ").length-1,f=this.parent.getAttribute("dx").split().map(function(a){return a.getPixels("x")}),g=this.parent.getAttribute("dy").getPixels("y"),h=this.parent.getStyle("text-anchor").getString("start"),i=this.getStyle("letter-spacing"),j=this.parent.getStyle("letter-spacing"),k=0;i.hasValue()&&"inherit"!==i.getValue()?i.hasValue()&&"initial"!==i.getValue()&&"unset"!==i.getValue()&&(k=i.getPixels()):k=j.getPixels();var l=[],m=c.length;this.letterSpacingCache=l;for(var n=0;n0&&(i-=2*Math.PI),1===e&&i<0&&(i+=2*Math.PI),[g.x,g.y,c,d,h,i,f,e]}},{key:"calcLength",value:function(a,b,c,d){var e=0,f=null,g=null,h=0;switch(c){case aD.LINE_TO:return this.getLineLength(a,b,d[0],d[1]);case aD.CURVE_TO:for(h=.01,e=0,f=this.getPointOnCubicBezier(0,a,b,d[0],d[1],d[2],d[3],d[4],d[5]);h<=1;h+=.01)g=this.getPointOnCubicBezier(h,a,b,d[0],d[1],d[2],d[3],d[4],d[5]),e+=this.getLineLength(f.x,f.y,g.x,g.y),f=g;return e;case aD.QUAD_TO:for(h=.01,e=0,f=this.getPointOnQuadraticBezier(0,a,b,d[0],d[1],d[2],d[3]);h<=1;h+=.01)g=this.getPointOnQuadraticBezier(h,a,b,d[0],d[1],d[2],d[3]),e+=this.getLineLength(f.x,f.y,g.x,g.y),f=g;return e;case aD.ARC:e=0;var i=d[4],j=d[5],k=d[4]+j,l=Math.PI/180;if(Math.abs(i-k)k;h-=l)g=this.getPointOnEllipticalArc(d[0],d[1],d[2],d[3],h,0),e+=this.getLineLength(f.x,f.y,g.x,g.y),f=g;else for(h=i+l;h5&&void 0!==arguments[5]?arguments[5]:b,g=arguments.length>6&&void 0!==arguments[6]?arguments[6]:c,h=(e-c)/(d-b+1e-8),i=Math.sqrt(a*a/(1+h*h));db)return null;var e,f=function(a,b){var c="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!c){if(Array.isArray(a)||(c=function(a,b){if(a){if("string"==typeof a)return a6(a,void 0);var c=Object.prototype.toString.call(a).slice(8,-1);if("Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c)return Array.from(a);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return a6(a,void 0)}}(a))){c&&(a=c);var d=0,e=function(){};return{s:e,n:function(){return d>=a.length?{done:!0}:{done:!1,value:a[d++]}},e:function(a){throw a},f:e}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f,g=!0,h=!1;return{s:function(){c=c.call(a)},n:function(){var a=c.next();return g=a.done,a},e:function(a){h=!0,f=a},f:function(){try{g||null==c.return||c.return()}finally{if(h)throw f}}}}(this.dataArray);try{for(f.s();!(e=f.n()).done;){var g=e.value;if(g&&(g.pathLength<5e-5||c+g.pathLength+5e-5=0&&i>l)break;d=this.getPointOnEllipticalArc(g.points[0],g.points[1],g.points[2],g.points[3],i,g.points[6]);break;case aD.CURVE_TO:(i=h/g.pathLength)>1&&(i=1),d=this.getPointOnCubicBezier(i,g.start.x,g.start.y,g.points[0],g.points[1],g.points[2],g.points[3],g.points[4],g.points[5]);break;case aD.QUAD_TO:(i=h/g.pathLength)>1&&(i=1),d=this.getPointOnQuadraticBezier(i,g.start.x,g.start.y,g.points[0],g.points[1],g.points[2],g.points[3])}if(d)return d;break}}catch(a){f.e(a)}finally{f.f()}return null}},{key:"getLineLength",value:function(a,b,c,d){return Math.sqrt((c-a)*(c-a)+(d-b)*(d-b))}},{key:"getPathLength",value:function(){return -1===this.pathLength&&(this.pathLength=this.dataArray.reduce(function(a,b){return b.pathLength>0?a+b.pathLength:a},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(a,b,c,d,e,f,g,h,i){return{x:h*ab(a)+f*ac(a)+d*ad(a)+b*ae(a),y:i*ab(a)+g*ac(a)+e*ad(a)+c*ae(a)}}},{key:"getPointOnQuadraticBezier",value:function(a,b,c,d,e,f,g){return{x:a*a*f+d*af(a)+b*ag(a),y:a*a*g+e*af(a)+c*ag(a)}}},{key:"getPointOnEllipticalArc",value:function(a,b,c,d,e,f){var g=Math.cos(f),h=Math.sin(f),i={x:c*Math.cos(e),y:d*Math.sin(e)};return{x:a+(i.x*g-i.y*h),y:b+(i.x*h+i.y*g)}}},{key:"buildEquidistantCache",value:function(a,b){var c=this.getPathLength(),d=b||.25,e=a||c/100;if(!this.equidistantCache||this.equidistantCache.step!==e||this.equidistantCache.precision!==d){this.equidistantCache={step:e,precision:d,points:[]};for(var f=0,g=0;g<=c;g+=d){var h=this.getPointOnPath(g),i=this.getPointOnPath(g+d);h&&i&&(f+=this.getLineLength(h.x,h.y,i.x,i.y))>=e&&(this.equidistantCache.points.push({x:h.x,y:h.y,distance:g}),f-=e)}}}},{key:"getEquidistantPointOnPath",value:function(a,b,c){if(this.buildEquidistantCache(b,c),a<0||a-this.getPathLength()>5e-5)return null;var d=Math.round(a/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[d]||null}}]),d}(aH),ba=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,bb=function(a){C.default(f,a);var b,c,d,e=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(f);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function f(a,b,c){y.default(this,f),(d=e.call(this,a,b,c)).type="image",d.loaded=!1;var d,g=d.getHrefAttribute().getString();if(!g)return D.default(d);var h=g.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(g);return a.images.push(H.default(d)),h?d.loadSvg(g):d.loadImage(g),d.isSvg=h,d}return z.default(f,[{key:"loadImage",value:(c=v.default(u.default.mark(function a(b){var c;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,this.document.createImage(b);case 3:c=a.sent,this.image=c,a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),console.error('Error while loading image "'.concat(b,'":'),a.t0);case 10:this.loaded=!0;case 11:case"end":return a.stop()}},a,this,[[0,7]])})),function(a){return c.apply(this,arguments)})},{key:"loadSvg",value:(d=v.default(u.default.mark(function a(b){var c,d,e,f;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!(c=ba.exec(b))){a.next=6;break}d=c[5],"base64"===c[4]?this.image=atob(d):this.image=decodeURIComponent(d),a.next=19;break;case 6:return a.prev=6,a.next=9,this.document.fetch(b);case 9:return e=a.sent,a.next=12,e.text();case 12:f=a.sent,this.image=f,a.next=19;break;case 16:a.prev=16,a.t0=a.catch(6),console.error('Error while loading image "'.concat(b,'":'),a.t0);case 19:this.loaded=!0;case 20:case"end":return a.stop()}},a,this,[[6,16]])})),function(a){return d.apply(this,arguments)})},{key:"renderChildren",value:function(a){var b=this.document,c=this.image,d=this.loaded,e=this.getAttribute("x").getPixels("x"),f=this.getAttribute("y").getPixels("y"),g=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y");if(d&&c&&g&&h){if(a.save(),a.translate(e,f),this.isSvg){var i=b.canvg.forkString(a,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:g,scaleHeight:h});i.document.documentElement.parent=this,i.render()}else{var j=this.image;b.setViewBox({ctx:a,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:g,desiredWidth:j.width,height:h,desiredHeight:j.height}),this.loaded&&(void 0===j.complete||j.complete)&&a.drawImage(j,0,0)}a.restore()}}},{key:"getBoundingBox",value:function(){var a=this.getAttribute("x").getPixels("x"),b=this.getAttribute("y").getPixels("y");return new aC(a,b,a+this.getStyle("width").getPixels("x"),b+this.getStyle("height").getPixels("y"))}}]),f}(aE),bc=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="symbol",a}return z.default(d,[{key:"render",value:function(a){}}]),d}(aE),bd=function(){var a;function b(a){y.default(this,b),this.document=a,this.loaded=!1,a.fonts.push(this)}return z.default(b,[{key:"load",value:(a=v.default(u.default.mark(function a(b,c){var d;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,d=this.document,a.next=4,d.canvg.parser.load(c);case 4:Array.from(a.sent.getElementsByTagName("font")).forEach(function(a){var c=d.createElement(a);d.definitions[b]=c}),a.next=12;break;case 9:a.prev=9,a.t0=a.catch(0),console.error('Error while loading font "'.concat(c,'":'),a.t0);case 12:this.loaded=!0;case 13:case"end":return a.stop()}},a,this,[[0,9]])})),function(b,c){return a.apply(this,arguments)})}]),b}(),be=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){var f;return y.default(this,d),(f=c.call(this,a,b,e)).type="style",J(Array.from(b.childNodes).map(function(a){return a.textContent}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(function(b){var c=b.trim();if(c){var d=c.split("{"),e=d[0].split(","),f=d[1].split(";");e.forEach(function(b){var c=b.trim();if(c){var d=a.styles[c]||{};if(f.forEach(function(b){var c=b.indexOf(":"),e=b.substr(0,c).trim(),f=b.substr(c+1,b.length-c).trim();e&&f&&(d[e]=new ah(a,e,f))}),a.styles[c]=d,a.stylesSpecificity[c]=Z(c),"@font-face"===c){var e=d["font-family"].getString().replace(/"|'/g,"");d.src.getString().split(",").forEach(function(b){if(b.indexOf('format("svg")')>0){var c=P(b);c&&new bd(a).load(e,c)}})}}})}}),f}return d}(ay);be.parseExternalUrl=P;var bf=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(){var a;return y.default(this,d),a=c.apply(this,arguments),a.type="use",a}return z.default(d,[{key:"setContext",value:function(a){G.default(E.default(d.prototype),"setContext",this).call(this,a);var b=this.getAttribute("x"),c=this.getAttribute("y");b.hasValue()&&a.translate(b.getPixels("x"),0),c.hasValue()&&a.translate(0,c.getPixels("y"))}},{key:"path",value:function(a){var b=this.element;b&&b.path(a)}},{key:"renderChildren",value:function(a){var b=this.document,c=this.element;if(c){var d=c;if("symbol"===c.type&&((d=new aK(b,null)).attributes.viewBox=new ah(b,"viewBox",c.getAttribute("viewBox").getString()),d.attributes.preserveAspectRatio=new ah(b,"preserveAspectRatio",c.getAttribute("preserveAspectRatio").getString()),d.attributes.overflow=new ah(b,"overflow",c.getAttribute("overflow").getString()),d.children=c.children,c.styles.opacity=new ah(b,"opacity",this.calculateOpacity())),"svg"===d.type){var e=this.getStyle("width",!1,!0),f=this.getStyle("height",!1,!0);e.hasValue()&&(d.attributes.width=new ah(b,"width",e.getString())),f.hasValue()&&(d.attributes.height=new ah(b,"height",f.getString()))}var g=d.parent;d.parent=this,d.render(a),d.parent=g}}},{key:"getBoundingBox",value:function(a){var b=this.element;return b?b.getBoundingBox(a):null}},{key:"elementTransform",value:function(){var a=this.document,b=this.element;return ax.fromElement(a,b)}},{key:"element",get:function(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}]),d}(aE);function bg(a,b,c,d){return b+Math.cos(a)*c+Math.sin(a)*d}var bh=function(a){C.default(d,a);var b,c=(b=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}(),function(){var a,c=E.default(d);return a=b?Reflect.construct(c,arguments,E.default(this).constructor):c.apply(this,arguments),D.default(this,a)});function d(a,b,e){y.default(this,d),(f=c.call(this,a,b,e)).type="feColorMatrix";var f,g=M(f.getAttribute("values").getString());switch(f.getAttribute("type").getString("matrix")){case"saturate":var h=g[0];g=[.213+.787*h,.715-.715*h,.072-.072*h,0,0,.213-.213*h,.715+.285*h,.072-.072*h,0,0,.213-.213*h,.715-.715*h,.072+.928*h,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var i=g[0]*Math.PI/180;g=[bg(i,.213,.787,-.213),bg(i,.715,-.715,-.715),bg(i,.072,-.072,.928),0,0,bg(i,.213,-.213,.143),bg(i,.715,.285,.14),bg(i,.072,-.072,-.283),0,0,bg(i,.213,-.213,-.787),bg(i,.715,-.715,.715),bg(i,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return f.matrix=g,f.includeOpacity=f.getAttribute("includeOpacity").hasValue(),f}return z.default(d,[{key:"apply",value:function(a,b,c,d,e){for(var f=this.includeOpacity,g=this.matrix,h=a.getImageData(0,0,d,e),i=0;i1&&void 0!==e[1]&&e[1],d=document.createElement("img"),c&&(d.crossOrigin="Anonymous"),a.abrupt("return",new Promise(function(a,c){d.onload=function(){a(d)},d.onerror=function(a,b,d,e,f){c(f)},d.src=b}));case 4:case"end":return a.stop()}},a)}))).apply(this,arguments)}var bu=function(){function a(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=c.rootEmSize,e=c.emSize,f=c.createCanvas,g=void 0===f?a.createCanvas:f,h=c.createImage,i=void 0===h?a.createImage:h,j=c.anonymousCrossOrigin;y.default(this,a),this.canvg=b,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=b.screen,this.rootEmSize=void 0===d?12:d,this.emSize=void 0===e?12:e,this.createCanvas=g,this.createImage=this.bindCreateImage(i,j),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return z.default(a,[{key:"bindCreateImage",value:function(a,b){return"boolean"==typeof b?function(c,d){return a(c,"boolean"==typeof d?d:b)}:a}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(a){return a.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(a){return a.loaded})}},{key:"createDocumentElement",value:function(a){var b=this.createElement(a.documentElement);return b.root=!0,b.addStylesFromStyleDefinition(),this.documentElement=b,b}},{key:"createElement",value:function(b){var c=b.nodeName.replace(/^[^:]+:/,""),d=a.elementTypes[c];return void 0!==d?new d(this,b):new az(this,b)}},{key:"createTextNode",value:function(a){return new aJ(this,a)}},{key:"setViewBox",value:function(a){this.screen.setViewBox(function(a){for(var b=1;b2&&void 0!==arguments[2]?arguments[2]:{};y.default(this,c),this.parser=new ap(d),this.screen=new am(a,d),this.options=d;var e=new bu(this,d),f=e.createDocumentElement(b);this.document=e,this.documentElement=f}return z.default(c,[{key:"fork",value:function(a,b){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.from(a,b,bw(bw({},this.options),d))}},{key:"forkString",value:function(a,b){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.fromString(a,b,bw(bw({},this.options),d))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(a=v.default(u.default.mark(function a(){var b,c=arguments;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return b=c.length>0&&void 0!==c[0]?c[0]:{},this.start(bw({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},b)),a.next=4,this.ready();case 4:this.stop();case 5:case"end":return a.stop()}},a,this)})),function(){return a.apply(this,arguments)})},{key:"start",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=this.documentElement,c=this.screen,d=this.options;c.start(b,bw(bw({enableRedraw:!0},d),a))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(a,b,c)}}],[{key:"from",value:(b=v.default(u.default.mark(function a(b,d){var e,f,g,h=arguments;return u.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return f=new ap(e=h.length>2&&void 0!==h[2]?h[2]:{}),a.next=4,f.parse(d);case 4:return g=a.sent,a.abrupt("return",new c(b,g,e));case 6:case"end":return a.stop()}},a)})),function(a,c){return b.apply(this,arguments)})},{key:"fromString",value:function(a,b){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new c(a,new ap(d).parseFromString(b),d)}}]),c}();c.AElement=a5,c.AnimateColorElement=a$,c.AnimateElement=aZ,c.AnimateTransformElement=a_,c.BoundingBox=aC,c.CB1=ab,c.CB2=ac,c.CB3=ad,c.CB4=ae,c.Canvg=bx,c.CircleElement=aM,c.ClipPathElement=bk,c.DefsElement=aT,c.DescElement=br,c.Document=bu,c.Element=ay,c.EllipseElement=aN,c.FeColorMatrixElement=bh,c.FeCompositeElement=bo,c.FeDropShadowElement=bm,c.FeGaussianBlurElement=bp,c.FeMorphologyElement=bn,c.FilterElement=bl,c.Font=aB,c.FontElement=a1,c.FontFaceElement=a2,c.GElement=aU,c.GlyphElement=aG,c.GradientElement=aV,c.ImageElement=bb,c.LineElement=aO,c.LinearGradientElement=aW,c.MarkerElement=aS,c.MaskElement=bi,c.Matrix=at,c.MissingGlyphElement=a3,c.Mouse=ak,c.PSEUDO_ZERO=1e-8,c.Parser=ap,c.PathElement=aF,c.PathParser=aD,c.PatternElement=aR,c.Point=aj,c.PolygonElement=aQ,c.PolylineElement=aP,c.Property=ah,c.QB1=function(a){return a*a},c.QB2=af,c.QB3=ag,c.RadialGradientElement=aX,c.RectElement=aL,c.RenderedElement=aE,c.Rotate=ar,c.SVGElement=aK,c.SVGFontLoader=bd,c.Scale=as,c.Screen=am,c.Skew=au,c.SkewX=av,c.SkewY=aw,c.StopElement=aY,c.StyleElement=be,c.SymbolElement=bc,c.TRefElement=a4,c.TSpanElement=aI,c.TextElement=aH,c.TextPathElement=a9,c.TitleElement=bq,c.Transform=ax,c.Translate=aq,c.UnknownElement=az,c.UseElement=bf,c.ViewPort=ai,c.compressSpaces=J,c.default=bx,c.getSelectorSpecificity=Z,c.normalizeAttributeName=O,c.normalizeColor=Q,c.parseExternalUrl=P,c.presets=I,c.toNumbers=M,c.trimLeft=K,c.trimRight=L,c.vectorMagnitude=$,c.vectorsAngle=aa,c.vectorsRatio=_},37702,(a,b,c)=>{b.exports=a.x("worker_threads",()=>require("worker_threads"))},52031,(a,b,c)=>{"use strict";try{d=a.r(37702).Worker}catch(a){}var d,e={};e.default=d?function(a,b,c,e,f){var g=!1,h=new d(a+";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",{eval:!0}).on("error",function(a){return f(a,null)}).on("message",function(a){return f(null,a)}).on("exit",function(a){a&&!g&&f(Error("exited with code "+a),null)});return h.postMessage(c,e),h.terminate=function(){return g=!0,d.prototype.terminate.call(h)},h}:function(a,b,c,d,e){setImmediate(function(){return e(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var f=function(){};return{terminate:f,postMessage:f}};var f=Uint8Array,g=Uint16Array,h=Int32Array,i=new f([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]),j=new f([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]),k=new f([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(a,b){for(var c=new g(31),d=0;d<31;++d)c[d]=b+=1<>1|(21845&t)<<1;u=(61680&(u=(52428&u)>>2|(13107&u)<<2))>>4|(3855&u)<<4,s[t]=((65280&u)>>8|(255&u)<<8)>>1}for(var v=function(a,b,c){for(var d,e=a.length,f=0,h=new g(b);f>j]=k}else for(f=0,d=new g(e);f>15-a[f]);return d},w=new f(288),t=0;t<144;++t)w[t]=8;for(var t=144;t<256;++t)w[t]=9;for(var t=256;t<280;++t)w[t]=7;for(var t=280;t<288;++t)w[t]=8;for(var x=new f(32),t=0;t<32;++t)x[t]=5;var y=v(w,9,0),z=v(w,9,1),A=v(x,5,0),B=v(x,5,1),C=function(a){for(var b=a[0],c=1;cb&&(b=a[c]);return b},D=function(a,b,c){var d=b/8|0;return(a[d]|a[d+1]<<8)>>(7&b)&c},E=function(a,b){var c=b/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(7&b)},F=function(a){return(a+7)/8|0},G=function(a,b,c){return(null==b||b<0)&&(b=0),(null==c||c>a.length)&&(c=a.length),new f(a.subarray(b,c))};c.FlateErrorCode={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14};var H=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],I=function(a,b,c){var d=Error(b||H[a]);if(d.code=a,Error.captureStackTrace&&Error.captureStackTrace(d,I),!c)throw d;return d},J=function(a,b,c,d){var e=a.length,g=d?d.length:0;if(!e||b.f&&!b.l)return c||new f(0);var h=!c,l=h||2!=b.i,m=b.i;h&&(c=new f(3*e));var o=function(a){var b=c.length;if(a>b){var d=new f(Math.max(2*b,a));d.set(c),c=d}},p=b.f||0,r=b.p||0,s=b.b||0,t=b.l,u=b.d,w=b.m,x=b.n,y=8*e;do{if(!t){p=D(a,r,1);var A=D(a,r+1,3);if(r+=3,A)if(1==A)t=z,u=B,w=9,x=5;else if(2==A){var H=D(a,r,31)+257,J=D(a,r+10,15)+4,K=H+D(a,r+5,31)+1;r+=14;for(var L=new f(K),M=new f(19),N=0;N>4;if(S<16)L[N++]=S;else{var T=0,U=0;for(16==S?(U=3+D(a,r,3),r+=2,T=L[N-1]):17==S?(U=3+D(a,r,7),r+=3):18==S&&(U=11+D(a,r,127),r+=7);U--;)L[N++]=T}}var V=L.subarray(0,H),W=L.subarray(H);w=C(V),x=C(W),t=v(V,w,1),u=v(W,x,1)}else I(1);else{var S=F(r)+4,X=a[S-4]|a[S-3]<<8,Y=S+X;if(Y>e){m&&I(0);break}l&&o(s+X),c.set(a.subarray(S,Y),s),b.b=s+=X,b.p=r=8*Y,b.f=p;continue}if(r>y){m&&I(0);break}}l&&o(s+131072);for(var Z=(1<>4;if((r+=15&T)>y){m&&I(0);break}if(T||I(2),aa<256)c[s++]=aa;else if(256==aa){_=r,t=null;break}else{var ab=aa-254;if(aa>264){var N=aa-257,ac=i[N];ab=D(a,r,(1<>4;ad||I(3),r+=15&ad;var W=q[ae];if(ae>3){var ac=j[ae];W+=E(a,r)&(1<y){m&&I(0);break}l&&o(s+131072);var af=s+ab;if(s>8},L=function(a,b,c){c<<=7&b;var d=b/8|0;a[d]|=c,a[d+1]|=c>>8,a[d+2]|=c>>16},M=function(a,b){for(var c=[],d=0;do&&(o=h[d].s);var p=new g(o+1),q=N(c[m-1],p,0);if(q>b){var d=0,r=0,s=q-b,t=1<b)r+=t-(1<>=s;r>0;){var v=h[d].s;p[v]=0&&r;--d){var w=h[d].s;p[w]==b&&(--p[w],++r)}q=b}return{t:new f(p),l:q}},N=function(a,b,c){return -1==a.s?Math.max(N(a.l,b,c+1),N(a.r,b,c+1)):b[a.s]=c},O=function(a){for(var b=a.length;b&&!a[--b];);for(var c=new g(++b),d=0,e=a[0],f=1,h=function(a){c[d++]=a},i=1;i<=b;++i)if(a[i]==e&&i!=b)++f;else{if(!e&&f>2){for(;f>138;f-=138)h(32754);f>2&&(h(f>10?f-11<<5|28690:f-3<<5|12305),f=0)}else if(f>3){for(h(e),--f;f>6;f-=6)h(8304);f>2&&(h(f-3<<5|8208),f=0)}for(;f--;)h(e);f=1,e=a[i]}return{c:c.subarray(0,d),n:b}},P=function(a,b){for(var c=0,d=0;d>8,a[e+2]=255^a[e],a[e+3]=255^a[e+1];for(var f=0;f4&&!T[k[V-1]];--V);var W=n+5<<3,X=P(e,w)+P(f,x)+h,Y=P(e,u)+P(f,C)+h+14+3*V+P(N,T)+2*N[16]+3*N[17]+7*N[18];if(m>=0&&W<=X&&W<=Y)return Q(b,o,a.subarray(m,m+n));if(K(b,o,1+(Y15&&(K(b,o,aa[R]>>5&127),o+=aa[R]>>12)}}else p=y,q=w,r=A,s=x;for(var R=0;R255){var ab=ac>>18&31;L(b,o,p[ab+257]),o+=q[ab+257],ab>7&&(K(b,o,ac>>23&31),o+=i[ab]);var ad=31∾L(b,o,r[ad]),o+=s[ad],ad>3&&(L(b,o,ac>>5&8191),o+=j[ad])}else L(b,o,p[ac]),o+=q[ac]}return L(b,o,p[256]),o+q[256]},S=new h([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),T=new f(0),U=function(a,b,c,d,e,k){var l=k.z||a.length,m=new f(d+l+5*(1+Math.ceil(l/7e3))+e),n=m.subarray(d,m.length-e),p=k.l,q=7&(k.r||0);if(b){q&&(n[0]=k.r>>3);for(var s=S[b-1],t=s>>13,u=8191&s,v=(1<7e3||J>24576)&&(P>423||!p)){q=R(a,n,0,B,C,D,H,J,L,I-L,q),J=E=H=0,L=I;for(var T=0;T<286;++T)C[T]=0;for(var T=0;T<30;++T)D[T]=0}var U=2,V=0,W=u,X=N-O&32767;if(P>2&&M==A(I-X))for(var Y=Math.min(t,P)-1,Z=Math.min(32767,I),$=Math.min(258,P);X<=Z&&--W&&N!=O;){if(a[I+U]==a[I+U-X]){for(var _=0;_<$&&a[I+_]==a[I+_-X];++_);if(_>U){if(U=_,V=X,_>Y)break;for(var aa=Math.min(X,_-2),ab=0,T=0;Tab&&(ab=ae,O=ac)}}}O=w[N=O],X+=N-O&32767}if(V){B[J++]=0x10000000|o[U]<<18|r[V];var af=31&o[U],ag=31&r[V];H+=i[af]+j[ag],++C[257+af],++D[ag],K=I+U,++E}else B[J++]=a[I],++C[a[I]]}}for(I=Math.max(I,K);I=l&&(n[q/8|0]=p,ah=l),q=Q(n,q+1,a.subarray(I,ah))}k.i=l}return G(m,0,d+F(q)+e)},V=function(){for(var a=new Int32Array(256),b=0;b<256;++b){for(var c=b,d=9;--d;)c=(1&c&&-0x12477ce0)^c>>>1;a[b]=c}return a}(),W=function(){var a=-1;return{p:function(b){for(var c=a,d=0;d>>8;a=c},d:function(){return~a}}},X=function(){var a=1,b=0;return{p:function(c){for(var d=a,e=b,f=0|c.length,g=0;g!=f;){for(var h=Math.min(g+2655,f);g>16),e=(65535&e)+15*(e>>16)}a=d,b=e},d:function(){return a%=65521,b%=65521,(255&a)<<24|(65280&a)<<8|(255&b)<<8|b>>8}}},Y=function(a,b,c,d,e){if(!e&&(e={l:1},b.dictionary)){var g=b.dictionary.subarray(-32768),h=new f(g.length+a.length);h.set(g),h.set(a,g.length),a=h,e.w=g.length}return U(a,null==b.level?6:b.level,null==b.mem?e.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):20:12+b.mem,c,d,e)},Z=function(a,b){var c={};for(var d in a)c[d]=a[d];for(var d in b)c[d]=b[d];return c},$=function(a,b,c){for(var d=a(),e=a.toString(),f=e.slice(e.indexOf("[")+1,e.lastIndexOf("]")).replace(/\s+/g,"").split(","),g=0;g>>0},ap=function(a,b){return ao(a,b)+0x100000000*ao(a,b+4)},aq=function(a,b,c){for(;c;++b)a[b]=c,c>>>=8},ar=function(a,b){var c=b.filename;if(a[0]=31,a[1]=139,a[2]=8,a[8]=b.level<2?4:2*(9==b.level),a[9]=3,0!=b.mtime&&aq(a,4,Math.floor(new Date(b.mtime||Date.now())/1e3)),c){a[3]=8;for(var d=0;d<=c.length;++d)a[d+10]=c.charCodeAt(d)}},as=function(a){(31!=a[0]||139!=a[1]||8!=a[2])&&I(6,"invalid gzip data");var b=a[3],c=10;4&b&&(c+=(a[10]|a[11]<<8)+2);for(var d=(b>>3&1)+(b>>4&1);d>0;d-=!a[c++]);return c+(2&b)},at=function(a){var b=a.length;return(a[b-4]|a[b-3]<<8|a[b-2]<<16|a[b-1]<<24)>>>0},au=function(a){return 10+(a.filename?a.filename.length+1:0)},av=function(a,b){var c=b.level;if(a[0]=120,a[1]=(0==c?0:c<6?1:9==c?3:2)<<6|(b.dictionary&&32),a[1]|=31-(a[0]<<8|a[1])%31,b.dictionary){var d=X();d.p(b.dictionary),aq(a,2,d.d())}},aw=function(a,b){return((15&a[0])!=8||a[0]>>4>7||(a[0]<<8|a[1])%31)&&I(6,"invalid zlib data"),(a[1]>>5&1)==+!b&&I(6,"invalid zlib data: "+(32&a[1]?"need":"unexpected")+" dictionary"),(a[1]>>3&4)+2};function ax(a,b){return"function"==typeof a&&(b=a,a={}),this.ondata=b,a}var ay=function(){function a(a,b){if("function"==typeof a&&(b=a,a={}),this.ondata=b,this.o=a||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new f(98304),this.o.dictionary){var c=this.o.dictionary.subarray(-32768);this.b.set(c,32768-c.length),this.s.i=32768-c.length}}return a.prototype.p=function(a,b){this.ondata(Y(a,this.o,0,0,this.s),b)},a.prototype.push=function(a,b){this.ondata||I(5),this.s.l&&I(4);var c=a.length+this.s.z;if(c>this.b.length){if(c>2*this.b.length-32768){var d=new f(-32768&c);d.set(this.b.subarray(0,this.s.z)),this.b=d}var e=this.b.length-this.s.z;this.b.set(a.subarray(0,e),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(a.subarray(e),32768),this.s.z=a.length-e+32768,this.s.i=32766,this.s.w=32768}else this.b.set(a,this.s.z),this.s.z+=a.length;this.s.l=1&b,(this.s.z>this.s.w+8191||b)&&(this.p(this.b,b||!1),this.s.w=this.s.i,this.s.i-=2)},a.prototype.flush=function(){this.ondata||I(5),this.s.l&&I(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},a}();c.Deflate=ay;var az=function(a,b){am([ad,function(){return[al,ay]}],this,ax.call(this,a,b),function(a){onmessage=al(new ay(a.data))},6,1)};function aA(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ad],function(a){return ai(aB(a.data[0],a.data[1]))},0,c)}function aB(a,b){return Y(a,b||{},0,0)}c.AsyncDeflate=az,c.deflate=aA,c.deflateSync=aB;var aC=function(){function a(a,b){"function"==typeof a&&(b=a,a={}),this.ondata=b;var c=a&&a.dictionary&&a.dictionary.subarray(-32768);this.s={i:0,b:c?c.length:0},this.o=new f(32768),this.p=new f(0),c&&this.o.set(c)}return a.prototype.e=function(a){if(this.ondata||I(5),this.d&&I(4),this.p.length){if(a.length){var b=new f(this.p.length+a.length);b.set(this.p),b.set(a,this.p.length),this.p=b}}else this.p=a},a.prototype.c=function(a){this.s.i=+(this.d=a||!1);var b=this.s.b,c=J(this.p,this.s,this.o);this.ondata(G(c,b,this.s.b),this.d),this.o=G(c,this.s.b-32768),this.s.b=this.o.length,this.p=G(this.p,this.s.p/8|0),this.s.p&=7},a.prototype.push=function(a,b){this.e(a),this.c(b)},a}();c.Inflate=aC;var aD=function(a,b){am([ac,function(){return[al,aC]}],this,ax.call(this,a,b),function(a){onmessage=al(new aC(a.data))},7,0)};function aE(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ac],function(a){return ai(aF(a.data[0],aj(a.data[1])))},1,c)}function aF(a,b){return J(a,{i:2},b&&b.out,b&&b.dictionary)}c.AsyncInflate=aD,c.inflate=aE,c.inflateSync=aF;var aG=function(){function a(a,b){this.c=W(),this.l=0,this.v=1,ay.call(this,a,b)}return a.prototype.push=function(a,b){this.c.p(a),this.l+=a.length,ay.prototype.push.call(this,a,b)},a.prototype.p=function(a,b){var c=Y(a,this.o,this.v&&au(this.o),b&&8,this.s);this.v&&(ar(c,this.o),this.v=0),b&&(aq(c,c.length-8,this.c.d()),aq(c,c.length-4,this.l)),this.ondata(c,b)},a.prototype.flush=function(){ay.prototype.flush.call(this)},a}();c.Gzip=aG,c.Compress=aG;var aH=function(a,b){am([ad,ae,function(){return[al,ay,aG]}],this,ax.call(this,a,b),function(a){onmessage=al(new aG(a.data))},8,1)};function aI(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ad,ae,function(){return[aJ]}],function(a){return ai(aJ(a.data[0],a.data[1]))},2,c)}function aJ(a,b){b||(b={});var c=W(),d=a.length;c.p(a);var e=Y(a,b,au(b),8),f=e.length;return ar(e,b),aq(e,f-8,c.d()),aq(e,f-4,d),e}c.AsyncGzip=aH,c.AsyncCompress=aH,c.gzip=aI,c.compress=aI,c.gzipSync=aJ,c.compressSync=aJ;var aK=function(){function a(a,b){this.v=1,this.r=0,aC.call(this,a,b)}return a.prototype.push=function(a,b){if(aC.prototype.e.call(this,a),this.r+=a.length,this.v){var c=this.p.subarray(this.v-1),d=c.length>3?as(c):4;if(d>c.length){if(!b)return}else this.v>1&&this.onmember&&this.onmember(this.r-c.length);this.p=c.subarray(d),this.v=0}aC.prototype.c.call(this,b),!this.s.f||this.s.l||b||(this.v=F(this.s.p)+9,this.s={i:0},this.o=new f(0),this.push(new f(0),b))},a}();c.Gunzip=aK;var aL=function(a,b){var c=this;am([ac,af,function(){return[al,aC,aK]}],this,ax.call(this,a,b),function(a){var b=new aK(a.data);b.onmember=function(a){return postMessage(a)},onmessage=al(b)},9,0,function(a){return c.onmember&&c.onmember(a)})};function aM(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ac,af,function(){return[aN]}],function(a){return ai(aN(a.data[0],a.data[1]))},3,c)}function aN(a,b){var c=as(a);return c+8>a.length&&I(6,"invalid gzip data"),J(a.subarray(c,-8),{i:2},b&&b.out||new f(at(a)),b&&b.dictionary)}c.AsyncGunzip=aL,c.gunzip=aM,c.gunzipSync=aN;var aO=function(){function a(a,b){this.c=X(),this.v=1,ay.call(this,a,b)}return a.prototype.push=function(a,b){this.c.p(a),ay.prototype.push.call(this,a,b)},a.prototype.p=function(a,b){var c=Y(a,this.o,this.v&&(this.o.dictionary?6:2),b&&4,this.s);this.v&&(av(c,this.o),this.v=0),b&&aq(c,c.length-4,this.c.d()),this.ondata(c,b)},a.prototype.flush=function(){ay.prototype.flush.call(this)},a}();function aP(a,b){b||(b={});var c=X();c.p(a);var d=Y(a,b,b.dictionary?6:2,4);return av(d,b),aq(d,d.length-4,c.d()),d}c.Zlib=aO,c.AsyncZlib=function(a,b){am([ad,ag,function(){return[al,ay,aO]}],this,ax.call(this,a,b),function(a){onmessage=al(new aO(a.data))},10,1)},c.zlib=function(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ad,ag,function(){return[aP]}],function(a){return ai(aP(a.data[0],a.data[1]))},4,c)},c.zlibSync=aP;var aQ=function(){function a(a,b){aC.call(this,a,b),this.v=a&&a.dictionary?2:1}return a.prototype.push=function(a,b){if(aC.prototype.e.call(this,a),this.v){if(this.p.length<6&&!b)return;this.p=this.p.subarray(aw(this.p,this.v-1)),this.v=0}b&&(this.p.length<4&&I(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),aC.prototype.c.call(this,b)},a}();c.Unzlib=aQ;var aR=function(a,b){am([ac,ah,function(){return[al,aC,aQ]}],this,ax.call(this,a,b),function(a){onmessage=al(new aQ(a.data))},11,0)};function aS(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),ak(a,b,[ac,ah,function(){return[aT]}],function(a){return ai(aT(a.data[0],aj(a.data[1])))},5,c)}function aT(a,b){return J(a.subarray(aw(a,b&&b.dictionary),-4),{i:2},b&&b.out,b&&b.dictionary)}c.AsyncUnzlib=aR,c.unzlib=aS,c.unzlibSync=aT;var aU=function(){function a(a,b){this.o=ax.call(this,a,b)||{},this.G=aK,this.I=aC,this.Z=aQ}return a.prototype.i=function(){var a=this;this.s.ondata=function(b,c){a.ondata(b,c)}},a.prototype.push=function(a,b){if(this.ondata||I(5),this.s)this.s.push(a,b);else{if(this.p&&this.p.length){var c=new f(this.p.length+a.length);c.set(this.p),c.set(a,this.p.length)}else this.p=a;this.p.length>2&&(this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(this.o):(15&this.p[0])!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,b),this.p=null)}},a}();c.Decompress=aU,c.AsyncDecompress=function(){function a(a,b){aU.call(this,a,b),this.queuedSize=0,this.G=aL,this.I=aD,this.Z=aR}return a.prototype.i=function(){var a=this;this.s.ondata=function(b,c,d){a.ondata(b,c,d)},this.s.ondrain=function(b){a.queuedSize-=b,a.ondrain&&a.ondrain(b)}},a.prototype.push=function(a,b){this.queuedSize+=a.length,aU.prototype.push.call(this,a,b)},a}(),c.decompress=function(a,b,c){return c||(c=b,b={}),"function"!=typeof c&&I(7),31==a[0]&&139==a[1]&&8==a[2]?aM(a,b,c):(15&a[0])!=8||a[0]>>4>7||(a[0]<<8|a[1])%31?aE(a,b,c):aS(a,b,c)},c.decompressSync=function(a,b){return 31==a[0]&&139==a[1]&&8==a[2]?aN(a,b):(15&a[0])!=8||a[0]>>4>7||(a[0]<<8|a[1])%31?aF(a,b):aT(a,b)};var aV=function(a,b,c,d){for(var e in a){var g=a[e],h=b+e,i=d;Array.isArray(g)&&(i=Z(d,g[1]),g=g[0]),g instanceof f?c[h]=[g,i]:(c[h+="/"]=[new f(0),i],aV(g,h,c,d))}},aW="undefined"!=typeof TextEncoder&&new TextEncoder,aX="undefined"!=typeof TextDecoder&&new TextDecoder,aY=0;try{aX.decode(T,{stream:!0}),aY=1}catch(a){}var aZ=function(a){for(var b="",c=0;;){var d=a[c++],e=(d>127)+(d>223)+(d>239);if(c+e>a.length)return{s:b,r:G(a,c-1)};e?3==e?b+=String.fromCharCode(55296|(d=((15&d)<<18|(63&a[c++])<<12|(63&a[c++])<<6|63&a[c++])-65536)>>10,56320|1023&d):1&e?b+=String.fromCharCode((31&d)<<6|63&a[c++]):b+=String.fromCharCode((15&d)<<12|(63&a[c++])<<6|63&a[c++]):b+=String.fromCharCode(d)}};function a$(a,b){if(b){for(var c=new f(a.length),d=0;d>1)),h=0,i=function(a){g[h++]=a},d=0;dg.length){var j=new f(h+8+(e-d<<1));j.set(g),g=j}var k=a.charCodeAt(d);k<128||b?i(k):(k<2048?i(192|k>>6):(k>55295&&k<57344?(i(240|(k=65536+(1047552&k)|1023&a.charCodeAt(++d))>>18),i(128|k>>12&63)):i(224|k>>12),i(128|k>>6&63)),i(128|63&k))}return G(g,0,h)}function a_(a,b){if(b){for(var c="",d=0;d65535&&I(9),b+=d+4}return b},a5=function(a,b,c,d,e,f,g,h){var i=d.length,j=c.extra,k=h&&h.length,l=a4(j);aq(a,b,null!=g?0x2014b50:0x4034b50),b+=4,null!=g&&(a[b++]=20,a[b++]=c.os),a[b]=20,b+=2,a[b++]=c.flag<<1|(f<0&&8),a[b++]=e&&8,a[b++]=255&c.compression,a[b++]=c.compression>>8;var m=new Date(null==c.mtime?Date.now():c.mtime),n=m.getFullYear()-1980;if((n<0||n>119)&&I(10),aq(a,b,n<<25|m.getMonth()+1<<21|m.getDate()<<16|m.getHours()<<11|m.getMinutes()<<5|m.getSeconds()>>1),b+=4,-1!=f&&(aq(a,b,c.crc),aq(a,b+4,f<0?-f-2:f),aq(a,b+8,c.size)),aq(a,b+12,i),aq(a,b+14,l),b+=16,null!=g&&(aq(a,b,k),aq(a,b+6,c.attrs),aq(a,b+10,g),b+=14),a.set(d,b),b+=i,l)for(var o in j){var p=j[o],q=p.length;aq(a,b,+o),aq(a,b+2,q),a.set(p,b+4),b+=4+q}return k&&(a.set(h,b),b+=k),b},a6=function(a,b,c,d,e){aq(a,b,0x6054b50),aq(a,b+8,c),aq(a,b+10,c),aq(a,b+12,d),aq(a,b+16,e)},a7=function(){function a(a){this.filename=a,this.c=W(),this.size=0,this.compression=0}return a.prototype.process=function(a,b){this.ondata(null,a,b)},a.prototype.push=function(a,b){this.ondata||I(5),this.c.p(a),this.size+=a.length,b&&(this.crc=this.c.d()),this.process(a,b||!1)},a}();c.ZipPassThrough=a7,c.ZipDeflate=function(){function a(a,b){var c=this;b||(b={}),a7.call(this,a),this.d=new ay(b,function(a,b){c.ondata(null,a,b)}),this.compression=8,this.flag=a0(b.level)}return a.prototype.process=function(a,b){try{this.d.push(a,b)}catch(a){this.ondata(a,null,b)}},a.prototype.push=function(a,b){a7.prototype.push.call(this,a,b)},a}(),c.AsyncZipDeflate=function(){function a(a,b){var c=this;b||(b={}),a7.call(this,a),this.d=new az(b,function(a,b,d){c.ondata(a,b,d)}),this.compression=8,this.flag=a0(b.level),this.terminate=this.d.terminate}return a.prototype.process=function(a,b){this.d.push(a,b)},a.prototype.push=function(a,b){a7.prototype.push.call(this,a,b)},a}(),c.Zip=function(){function a(a){this.ondata=a,this.u=[],this.d=1}return a.prototype.add=function(a){var b=this;if(this.ondata||I(5),2&this.d)this.ondata(I(4+(1&this.d)*8,0,1),null,!1);else{var c=a$(a.filename),d=c.length,e=a.comment,g=e&&a$(e),h=d!=a.filename.length||g&&e.length!=g.length,i=d+a4(a.extra)+30;d>65535&&this.ondata(I(11,0,1),null,!1);var j=new f(i);a5(j,0,a,c,h,-1);var k=[j],l=function(){for(var a=0,c=k;a65535&&y(I(11,0,1),null),x)if(q<16e4)try{y(null,aB(f,j))}catch(a){y(a,null)}else l.push(aA(f,j,y));else y(null,f)},q=0;q65535&&I(11);var s=l?aB(j,k):j,t=s.length,u=W();u.p(j),d.push(Z(k,{size:j.length,crc:u.d(),c:s,f:m,m:p,u:n!=h.length||p&&o.length!=q,o:e,compression:l})),e+=30+n+r+t,g+=76+2*(n+r)+(q||0)+t}for(var v=new f(g+22),w=e,x=g-e,y=0;y0){var d=Math.min(this.c,a.length),e=a.subarray(0,d);if(this.c-=d,this.d?this.d.push(e,!this.c):this.k[0].push(e),(a=a.subarray(d)).length)return this.push(a,b)}else{var g=0,h=0,i=void 0,j=void 0;this.p.length?a.length?((j=new f(this.p.length+a.length)).set(this.p),j.set(a,this.p.length)):j=this.p:j=a;for(var k=j.length,l=this.c,m=l&&this.d,n=this;hh+30+f+m){var o,p,q=[];n.k.unshift(q),g=2;var r=ao(j,h+18),s=ao(j,h+22),t=a_(j.subarray(h+30,h+=30+f),!(2048&b));0xffffffff==r?(r=(o=e?[-2]:a3(j,h))[0],s=o[1]):e&&(r=-1),h+=m,n.c=r;var u={name:t,compression:d,start:function(){if(u.ondata||I(5),r){var a=c.o[d];a||u.ondata(I(14,"unknown compression type "+d,1),null,!1),(p=r<0?new a(t):new a(t,r,s)).ondata=function(a,b,c){u.ondata(a,b,c)};for(var b=0;b=0&&(u.size=r,u.originalSize=s),n.onfile(u)}return"break"}if(l){if(0x8074b50==a)return i=h+=12+(-2==l&&8),g=3,n.c=0,"break";else if(0x2014b50==a)return i=h-=4,g=3,n.c=0,"break"}}();++h);if(this.p=T,l<0){var o=g?j.subarray(0,i-12-(-2==l&&8)-(0x8074b50==ao(j,i-16)&&4)):j.subarray(0,h);m?m.push(o,!!g):this.k[+(2==g)].push(o)}if(2&g)return this.push(j.subarray(h),b);this.p=j.subarray(h)}b&&(this.c&&I(13),this.p=null)},a.prototype.register=function(a){this.o[a.compression]=a},a}();var a9="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(a){a()};c.unzip=function(a,b,c){c||(c=b,b={}),"function"!=typeof c&&I(7);var d=[],e=function(){for(var a=0;a65558)return h(I(13,0,1),null),e;var j=an(a,i+8);if(j){var k=j,l=ao(a,i+16),m=0xffffffff==l||65535==k;if(m){var n=ao(a,i-12);(m=0x6064b50==ao(a,n))&&(k=j=ao(a,n+32),l=ao(a,n+48))}for(var o=b&&b.filter,p=0;p.8*n)try{s(null,aF(t,{out:new f(n)}))}catch(a){s(a,null)}else d.push(aE(t,{size:n},s))}else s(I(14,"unknown compression type "+i,1),null);else s(null,G(a,r,r+k));else s(null,null)}(0)}else h(null,{});return e},c.unzipSync=function(a,b){for(var c={},d=a.length-22;0x6054b50!=ao(a,d);--d)(!d||a.length-d>65558)&&I(13);var e=an(a,d+8);if(!e)return{};var g=ao(a,d+16),h=0xffffffff==g||65535==e;if(h){var i=ao(a,d-12);(h=0x6064b50==ao(a,i))&&(e=ao(a,i+32),g=ao(a,i+48))}for(var j=b&&b.filter,k=0;k{"use strict";let b,c,d,e,f,g;function h(a,b="utf8"){return new TextDecoder(b).decode(a)}let i=new TextEncoder,j=!((new Uint32Array((g=new Uint8Array(4)).buffer)[0]=1)&g[0]),k={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 l{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(a=8192,b={}){let c=!1;"number"==typeof a?a=new ArrayBuffer(a):(c=!0,this.lastWrittenByte=a.byteLength);const d=b.offset?b.offset>>>0:0,e=a.byteLength-d;let f=d;(ArrayBuffer.isView(a)||a instanceof l)&&(a.byteLength!==a.buffer.byteLength&&(f=a.byteOffset+d),a=a.buffer),c?this.lastWrittenByte=e:this.lastWrittenByte=0,this.buffer=a,this.length=e,this.byteLength=e,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,e),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(){let a=this._marks.pop();if(void 0===a)throw Error("Mark stack empty");return this.seek(a),this}rewind(){return this.offset=0,this}ensureAvailable(a=1){if(!this.available(a)){let b=2*(this.offset+a),c=new Uint8Array(b);c.set(new Uint8Array(this.buffer)),this.buffer=c.buffer,this.length=b,this.byteLength=b,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(a=1){return this.readArray(a,"uint8")}readArray(a,b){let c=k[b].BYTES_PER_ELEMENT*a,d=this.byteOffset+this.offset,e=this.buffer.slice(d,d+c);if(this.littleEndian===j&&"uint8"!==b&&"int8"!==b){let a=new Uint8Array(this.buffer.slice(d,d+c));a.reverse();let e=new k[b](a.buffer);return this.offset+=c,e.reverse(),e}let f=new k[b](e);return this.offset+=c,f}readInt16(){let a=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,a}readUint16(){let a=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,a}readInt32(){let a=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,a}readUint32(){let a=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,a}readFloat32(){let a=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,a}readFloat64(){let a=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,a}readBigInt64(){let a=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,a}readBigUint64(){let a=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,a}readChar(){return String.fromCharCode(this.readInt8())}readChars(a=1){let b="";for(let c=0;cthis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function m(a){let b=a.length;for(;--b>=0;)a[b]=0}let n=573,o=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),p=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),q=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),r=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);m(s);let t=Array(60);m(t);let u=Array(512);m(u);let v=Array(256);m(v);let w=Array(29);m(w);let x=Array(30);function y(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length}function z(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b}m(x);let A=a=>a<256?u[a]:u[256+(a>>>7)],B=(a,b)=>{a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255},C=(a,b,c)=>{a.bi_valid>16-c?(a.bi_buf|=b<>16-a.bi_valid,a.bi_valid+=c-16):(a.bi_buf|=b<{C(a,c[2*b],c[2*b+1])},E=(a,b)=>{let c=0;do c|=1&a,a>>>=1,c<<=1;while(--b>0)return c>>>1},F=(a,b,c)=>{let d,e,f=Array(16),g=0;for(d=1;d<=15;d++)g=g+c[d-1]<<1,f[d]=g;for(e=0;e<=b;e++){let b=a[2*e+1];0!==b&&(a[2*e]=E(f[b]++,b))}},G=a=>{let b;for(b=0;b<286;b++)a.dyn_ltree[2*b]=0;for(b=0;b<30;b++)a.dyn_dtree[2*b]=0;for(b=0;b<19;b++)a.bl_tree[2*b]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.sym_next=a.matches=0},H=a=>{a.bi_valid>8?B(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0},I=(a,b,c,d)=>{let e=2*b,f=2*c;return a[e]{let d=a.heap[c],e=c<<1;for(;e<=a.heap_len&&(e{let d,e,f,g,h=0;if(0!==a.sym_next)do d=(255&a.pending_buf[a.sym_buf+h++])+((255&a.pending_buf[a.sym_buf+h++])<<8),e=a.pending_buf[a.sym_buf+h++],0===d?D(a,e,b):(D(a,(f=v[e])+256+1,b),0!==(g=o[f])&&C(a,e-=w[f],g),D(a,f=A(--d),c),0!==(g=p[f])&&C(a,d-=x[f],g));while(h{let c,d,e,f=b.dyn_tree,g=b.stat_desc.static_tree,h=b.stat_desc.has_stree,i=b.stat_desc.elems,j=-1;for(c=0,a.heap_len=0,a.heap_max=n;c>1;c>=1;c--)J(a,f,c);e=i;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],J(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,J(a,f,1);while(a.heap_len>=2)a.heap[--a.heap_max]=a.heap[1],((a,b)=>{let c,d,e,f,g,h,i=b.dyn_tree,j=b.max_code,k=b.stat_desc.static_tree,l=b.stat_desc.has_stree,m=b.stat_desc.extra_bits,o=b.stat_desc.extra_base,p=b.stat_desc.max_length,q=0;for(f=0;f<=15;f++)a.bl_count[f]=0;for(i[2*a.heap[a.heap_max]+1]=0,c=a.heap_max+1;cp&&(f=p,q++),i[2*d+1]=f,!(d>j)&&(a.bl_count[f]++,g=0,d>=o&&(g=m[d-o]),h=i[2*d],a.opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==q){do{for(f=p-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[p]--,q-=2}while(q>0)for(f=p;0!==f;f--)for(d=a.bl_count[f];0!==d;)!((e=a.heap[--c])>j)&&(i[2*e+1]!==f&&(a.opt_len+=(f-i[2*e+1])*i[2*e],i[2*e+1]=f),d--)}})(a,b),F(f,j,a.bl_count)},M=(a,b,c)=>{let d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[(c+1)*2+1]=65535,d=0;d<=c;d++)e=g,g=b[(d+1)*2+1],++h{let d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),d=0;d<=c;d++)if(e=g,g=b[(d+1)*2+1],!(++h{C(a,0+ +!!d,3),H(a),B(a,c),B(a,~c),c&&a.pending_buf.set(a.window.subarray(b,b+c),a.pending),a.pending+=c};var Q,R,S={_tr_init:a=>{O||((()=>{let a,e,f,g,h,i=Array(16);for(g=0,f=0;g<28;g++)for(a=0,w[g]=f;a<1<>=7;g<30;g++)for(a=0,x[g]=h<<7;a<1<{let e,f,g=0;a.level>0?(2===a.strm.data_type&&(a.strm.data_type=(a=>{let b,c=0xf3ffc07f;for(b=0;b<=31;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return 0;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return 1;for(b=32;b<256;b++)if(0!==a.dyn_ltree[2*b])return 1;return 0})(a)),L(a,a.l_desc),L(a,a.d_desc),g=(a=>{let b;for(M(a,a.dyn_ltree,a.l_desc.max_code),M(a,a.dyn_dtree,a.d_desc.max_code),L(a,a.bl_desc),b=18;b>=3&&0===a.bl_tree[2*r[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b})(a),e=a.opt_len+3+7>>>3,(f=a.static_len+3+7>>>3)<=e&&(e=f)):e=f=c+5,c+4<=e&&-1!==b?P(a,b,c,d):4===a.strategy||f===e?(C(a,2+ +!!d,3),K(a,s,t)):(C(a,4+ +!!d,3),((a,b,c,d)=>{let e;for(C(a,b-257,5),C(a,c-1,5),C(a,d-4,4),e=0;e(a.pending_buf[a.sym_buf+a.sym_next++]=b,a.pending_buf[a.sym_buf+a.sym_next++]=b>>8,a.pending_buf[a.sym_buf+a.sym_next++]=c,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[(v[c]+256+1)*2]++,a.dyn_dtree[2*A(b)]++),a.sym_next===a.sym_end),_tr_align:a=>{C(a,2,3),D(a,256,s),16===a.bi_valid?(B(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}},T=(a,b,c,d)=>{let e=65535&a,f=a>>>16&65535,g=0;for(;0!==c;){g=c>2e3?2e3:c,c-=g;do f=f+(e=e+b[d++]|0)|0;while(--g)e%=65521,f%=65521}return e|f<<16};let U=new Uint32Array((()=>{let a,b=[];for(var c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?0xedb88320^a>>>1:a>>>1;b[c]=a}return b})());var V=(a,b,c,d)=>{let e=d+c;a^=-1;for(let c=d;c>>8^U[(a^b[c])&255];return -1^a},W={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"},X={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};let{_tr_init:Y,_tr_stored_block:Z,_tr_flush_block:$,_tr_tally:_,_tr_align:aa}=S,{Z_NO_FLUSH:ab,Z_PARTIAL_FLUSH:ac,Z_FULL_FLUSH:ad,Z_FINISH:ae,Z_BLOCK:af,Z_OK:ag,Z_STREAM_END:ah,Z_STREAM_ERROR:ai,Z_DATA_ERROR:aj,Z_BUF_ERROR:ak,Z_DEFAULT_COMPRESSION:al,Z_FILTERED:am,Z_HUFFMAN_ONLY:an,Z_RLE:ao,Z_FIXED:ap,Z_DEFAULT_STRATEGY:aq,Z_UNKNOWN:ar,Z_DEFLATED:as}=X,at=573,au=(a,b)=>(a.msg=W[b],b),av=a=>2*a-9*(a>4),aw=a=>{let b=a.length;for(;--b>=0;)a[b]=0},ax=a=>{let b,c,d,e=a.w_size;d=b=a.hash_size;do c=a.head[--d],a.head[d]=c>=e?c-e:0;while(--b)d=b=e;do c=a.prev[--d],a.prev[d]=c>=e?c-e:0;while(--b)},ay=(a,b,c)=>(b<{let b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(a.output.set(b.pending_buf.subarray(b.pending_out,b.pending_out+c),a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))},aA=(a,b)=>{$(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,az(a.strm)},aB=(a,b)=>{a.pending_buf[a.pending++]=b},aC=(a,b)=>{a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b},aD=(a,b,c,d)=>{let e=a.avail_in;return(e>d&&(e=d),0===e)?0:(a.avail_in-=e,b.set(a.input.subarray(a.next_in,a.next_in+e),c),1===a.state.wrap?a.adler=T(a.adler,b,e,c):2===a.state.wrap&&(a.adler=V(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)},aE=(a,b)=>{let c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-262?a.strstart-(a.w_size-262):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+258,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do{if(j[(c=b)+g]!==o||j[c+g-1]!==n||j[c]!==j[f]||j[++c]!==j[f+1])continue;f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&fg){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!=--e)return g<=a.lookahead?g:a.lookahead},aF=a=>{let b,c,d,e=a.w_size;do{if(c=a.window_size-a.lookahead-a.strstart,a.strstart>=e+(e-262)&&(a.window.set(a.window.subarray(e,e+e-c),0),a.match_start-=e,a.strstart-=e,a.block_start-=e,a.insert>a.strstart&&(a.insert=a.strstart),ax(a),c+=e),0===a.strm.avail_in)break;if(b=aD(a.strm,a.window,a.strstart+a.lookahead,c),a.lookahead+=b,a.lookahead+a.insert>=3)for(d=a.strstart-a.insert,a.ins_h=a.window[d],a.ins_h=ay(a,a.ins_h,a.window[d+1]);a.insert&&(a.ins_h=ay(a,a.ins_h,a.window[d+3-1]),a.prev[d&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=d,d++,a.insert--,!(a.lookahead+a.insert<3)););}while(a.lookahead<262&&0!==a.strm.avail_in)},aG=(a,b)=>{let c=a.pending_buf_size-5>a.w_size?a.w_size:a.pending_buf_size-5,d,e,f,g=0,h=a.strm.avail_in;do{if(d=65535,f=a.bi_valid+42>>3,a.strm.avail_out(e=a.strstart-a.block_start)+a.strm.avail_in&&(d=e+a.strm.avail_in),d>f&&(d=f),d>8,a.pending_buf[a.pending-2]=~d,a.pending_buf[a.pending-1]=~d>>8,az(a.strm),e&&(e>d&&(e=d),a.strm.output.set(a.window.subarray(a.block_start,a.block_start+e),a.strm.next_out),a.strm.next_out+=e,a.strm.avail_out-=e,a.strm.total_out+=e,a.block_start+=e,d-=e),d&&(aD(a.strm,a.strm.output,a.strm.next_out,d),a.strm.next_out+=d,a.strm.avail_out-=d,a.strm.total_out+=d)}while(0===g)return((h-=a.strm.avail_in)&&(h>=a.w_size?(a.matches=2,a.window.set(a.strm.input.subarray(a.strm.next_in-a.w_size,a.strm.next_in),0),a.strstart=a.w_size,a.insert=a.strstart):(a.window_size-a.strstart<=h&&(a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,a.insert>a.strstart&&(a.insert=a.strstart)),a.window.set(a.strm.input.subarray(a.strm.next_in-h,a.strm.next_in),a.strstart),a.strstart+=h,a.insert+=h>a.w_size-a.insert?a.w_size-a.insert:h),a.block_start=a.strstart),a.high_waterf&&a.block_start>=a.w_size&&(a.block_start-=a.w_size,a.strstart-=a.w_size,a.window.set(a.window.subarray(a.w_size,a.w_size+a.strstart),0),a.matches<2&&a.matches++,f+=a.w_size,a.insert>a.strstart&&(a.insert=a.strstart)),f>a.strm.avail_in&&(f=a.strm.avail_in),f&&(aD(a.strm,a.window,a.strstart,f),a.strstart+=f,a.insert+=f>a.w_size-a.insert?a.w_size-a.insert:f),a.high_water>3,c=(f=a.pending_buf_size-f>65535?65535:a.pending_buf_size-f)>a.w_size?a.w_size:f,((e=a.strstart-a.block_start)>=c||(e||b===ae)&&b!==ab&&0===a.strm.avail_in&&e<=f)&&(d=e>f?f:e,g=+(b===ae&&0===a.strm.avail_in&&d===e),Z(a,a.block_start,d,g),a.block_start+=d,az(a.strm)),g?3:1)},aH=(a,b)=>{let c,d;for(;;){if(a.lookahead<262){if(aF(a),a.lookahead<262&&b===ab)return 1;if(0===a.lookahead)break}if(c=0,a.lookahead>=3&&(a.ins_h=ay(a,a.ins_h,a.window[a.strstart+3-1]),c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==c&&a.strstart-c<=a.w_size-262&&(a.match_length=aE(a,c)),a.match_length>=3)if(d=_(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=ay(a,a.ins_h,a.window[a.strstart+3-1]),c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(0!=--a.match_length)a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=ay(a,a.ins_h,a.window[a.strstart+1]);else d=_(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(aA(a,!1),0===a.strm.avail_out))return 1}return(a.insert=a.strstart<2?a.strstart:2,b===ae)?(aA(a,!0),0===a.strm.avail_out)?3:4:a.sym_next&&(aA(a,!1),0===a.strm.avail_out)?1:2},aI=(a,b)=>{let c,d,e;for(;;){if(a.lookahead<262){if(aF(a),a.lookahead<262&&b===ab)return 1;if(0===a.lookahead)break}if(c=0,a.lookahead>=3&&(a.ins_h=ay(a,a.ins_h,a.window[a.strstart+3-1]),c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=2,0!==c&&a.prev_length4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-3,d=_(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=ay(a,a.ins_h,a.window[a.strstart+3-1]),c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(0!=--a.prev_length)if(a.match_available=0,a.match_length=2,a.strstart++,d&&(aA(a,!1),0===a.strm.avail_out))return 1}else if(a.match_available){if((d=_(a,0,a.window[a.strstart-1]))&&aA(a,!1),a.strstart++,a.lookahead--,0===a.strm.avail_out)return 1}else a.match_available=1,a.strstart++,a.lookahead--}return(a.match_available&&(d=_(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<2?a.strstart:2,b===ae)?(aA(a,!0),0===a.strm.avail_out)?3:4:a.sym_next&&(aA(a,!1),0===a.strm.avail_out)?1:2};function aJ(a,b,c,d,e){this.good_length=a,this.max_lazy=b,this.nice_length=c,this.max_chain=d,this.func=e}let aK=[new aJ(0,0,0,0,aG),new aJ(4,4,8,4,aH),new aJ(4,5,16,8,aH),new aJ(4,6,32,32,aH),new aJ(4,4,16,16,aI),new aJ(8,16,32,32,aI),new aJ(8,16,128,128,aI),new aJ(8,32,128,256,aI),new aJ(32,128,258,1024,aI),new aJ(32,258,258,4096,aI)];function aL(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=as,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*at),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),aw(this.dyn_ltree),aw(this.dyn_dtree),aw(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),aw(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),aw(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}let aM=a=>{if(!a)return 1;let b=a.state;return b&&b.strm===a&&(42===b.status||57===b.status||69===b.status||73===b.status||91===b.status||103===b.status||113===b.status||666===b.status)?0:1};var aN=(a,b)=>{if(aM(a)||b>af||b<0)return a?au(a,ai):ai;let c=a.state;if(!a.output||0!==a.avail_in&&!a.input||666===c.status&&b!==ae)return au(a,0===a.avail_out?ak:ai);let d=c.last_flush;if(c.last_flush=b,0!==c.pending){if(az(a),0===a.avail_out)return c.last_flush=-1,ag}else if(0===a.avail_in&&av(b)<=av(d)&&b!==ae)return au(a,ak);if(666===c.status&&0!==a.avail_in)return au(a,ak);if(42===c.status&&0===c.wrap&&(c.status=113),42===c.status){let b=as+(c.w_bits-8<<4)<<8;if(b|=(c.strategy>=an||c.level<2?0:c.level<6?1:6===c.level?2:3)<<6,0!==c.strstart&&(b|=32),aC(c,b+=31-b%31),0!==c.strstart&&(aC(c,a.adler>>>16),aC(c,65535&a.adler)),a.adler=1,c.status=113,az(a),0!==c.pending)return c.last_flush=-1,ag}if(57===c.status){if(a.adler=0,aB(c,31),aB(c,139),aB(c,8),c.gzhead)aB(c,+!!c.gzhead.text+2*!!c.gzhead.hcrc+4*!!c.gzhead.extra+8*!!c.gzhead.name+16*!!c.gzhead.comment),aB(c,255&c.gzhead.time),aB(c,c.gzhead.time>>8&255),aB(c,c.gzhead.time>>16&255),aB(c,c.gzhead.time>>24&255),aB(c,9===c.level?2:4*(c.strategy>=an||c.level<2)),aB(c,255&c.gzhead.os),c.gzhead.extra&&c.gzhead.extra.length&&(aB(c,255&c.gzhead.extra.length),aB(c,c.gzhead.extra.length>>8&255)),c.gzhead.hcrc&&(a.adler=V(a.adler,c.pending_buf,c.pending,0)),c.gzindex=0,c.status=69;else if(aB(c,0),aB(c,0),aB(c,0),aB(c,0),aB(c,0),aB(c,9===c.level?2:4*(c.strategy>=an||c.level<2)),aB(c,3),c.status=113,az(a),0!==c.pending)return c.last_flush=-1,ag}if(69===c.status){if(c.gzhead.extra){let b=c.pending,d=(65535&c.gzhead.extra.length)-c.gzindex;for(;c.pending+d>c.pending_buf_size;){let e=c.pending_buf_size-c.pending;if(c.pending_buf.set(c.gzhead.extra.subarray(c.gzindex,c.gzindex+e),c.pending),c.pending=c.pending_buf_size,c.gzhead.hcrc&&c.pending>b&&(a.adler=V(a.adler,c.pending_buf,c.pending-b,b)),c.gzindex+=e,az(a),0!==c.pending)return c.last_flush=-1,ag;b=0,d-=e}let e=new Uint8Array(c.gzhead.extra);c.pending_buf.set(e.subarray(c.gzindex,c.gzindex+d),c.pending),c.pending+=d,c.gzhead.hcrc&&c.pending>b&&(a.adler=V(a.adler,c.pending_buf,c.pending-b,b)),c.gzindex=0}c.status=73}if(73===c.status){if(c.gzhead.name){let b,d=c.pending;do{if(c.pending===c.pending_buf_size){if(c.gzhead.hcrc&&c.pending>d&&(a.adler=V(a.adler,c.pending_buf,c.pending-d,d)),az(a),0!==c.pending)return c.last_flush=-1,ag;d=0}b=c.gzindexd&&(a.adler=V(a.adler,c.pending_buf,c.pending-d,d)),c.gzindex=0}c.status=91}if(91===c.status){if(c.gzhead.comment){let b,d=c.pending;do{if(c.pending===c.pending_buf_size){if(c.gzhead.hcrc&&c.pending>d&&(a.adler=V(a.adler,c.pending_buf,c.pending-d,d)),az(a),0!==c.pending)return c.last_flush=-1,ag;d=0}b=c.gzindexd&&(a.adler=V(a.adler,c.pending_buf,c.pending-d,d))}c.status=103}if(103===c.status){if(c.gzhead.hcrc){if(c.pending+2>c.pending_buf_size&&(az(a),0!==c.pending))return c.last_flush=-1,ag;aB(c,255&a.adler),aB(c,a.adler>>8&255),a.adler=0}if(c.status=113,az(a),0!==c.pending)return c.last_flush=-1,ag}if(0!==a.avail_in||0!==c.lookahead||b!==ab&&666!==c.status){let d=0===c.level?aG(c,b):c.strategy===an?((a,b)=>{let c;for(;;){if(0===a.lookahead&&(aF(a),0===a.lookahead)){if(b===ab)return 1;break}if(a.match_length=0,c=_(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(aA(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,b===ae)?(aA(a,!0),0===a.strm.avail_out)?3:4:a.sym_next&&(aA(a,!1),0===a.strm.avail_out)?1:2})(c,b):c.strategy===ao?((a,b)=>{let c,d,e,f,g=a.window;for(;;){if(a.lookahead<=258){if(aF(a),a.lookahead<=258&&b===ab)return 1;if(0===a.lookahead)break}if(a.match_length=0,a.lookahead>=3&&a.strstart>0&&(d=g[e=a.strstart-1])===g[++e]&&d===g[++e]&&d===g[++e]){f=a.strstart+258;do;while(d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&ea.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=3?(c=_(a,1,a.match_length-3),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=_(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(aA(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,b===ae)?(aA(a,!0),0===a.strm.avail_out)?3:4:a.sym_next&&(aA(a,!1),0===a.strm.avail_out)?1:2})(c,b):aK[c.level].func(c,b);if((3===d||4===d)&&(c.status=666),1===d||3===d)return 0===a.avail_out&&(c.last_flush=-1),ag;if(2===d&&(b===ac?aa(c):b!==af&&(Z(c,0,0,!1),b===ad&&(aw(c.head),0===c.lookahead&&(c.strstart=0,c.block_start=0,c.insert=0))),az(a),0===a.avail_out))return c.last_flush=-1,ag}return b!==ae?ag:c.wrap<=0?ah:(2===c.wrap?(aB(c,255&a.adler),aB(c,a.adler>>8&255),aB(c,a.adler>>16&255),aB(c,a.adler>>24&255),aB(c,255&a.total_in),aB(c,a.total_in>>8&255),aB(c,a.total_in>>16&255),aB(c,a.total_in>>24&255)):(aC(c,a.adler>>>16),aC(c,65535&a.adler)),az(a),c.wrap>0&&(c.wrap=-c.wrap),0!==c.pending?ag:ah)},aO=a=>{if(aM(a))return ai;let b=a.state.status;return a.state=null,113===b?au(a,aj):ag};let aP=(a,b)=>Object.prototype.hasOwnProperty.call(a,b);var aQ=function(a){let b=Array.prototype.slice.call(arguments,1);for(;b.length;){let c=b.shift();if(c){if("object"!=typeof c)throw TypeError(c+"must be non-object");for(let b in c)aP(c,b)&&(a[b]=c[b])}}return a},aR=a=>{let b=0;for(let c=0,d=a.length;c=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;aT[254]=aT[254]=1;var aU=a=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(a);let b,c,d,e,f,g=a.length,h=0;for(e=0;e>>6:(c<65536?b[f++]=224|c>>>12:(b[f++]=240|c>>>18,b[f++]=128|c>>>12&63),b[f++]=128|c>>>6&63),b[f++]=128|63&c);return b},aV=(a,b)=>{let c,d,e=b||a.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return new TextDecoder().decode(a.subarray(0,b));let f=Array(2*e);for(d=0,c=0;c4){f[d++]=65533,c+=g-1;continue}for(b&=2===g?31:3===g?15:7;g>1&&c1){f[d++]=65533;continue}b<65536?f[d++]=b:(b-=65536,f[d++]=55296|b>>10&1023,f[d++]=56320|1023&b)}var g=d;if(g<65534&&f.subarray&&aS)return String.fromCharCode.apply(null,f.length===g?f:f.subarray(0,g));let h="";for(let a=0;a{(b=b||a.length)>a.length&&(b=a.length);let c=b-1;for(;c>=0&&(192&a[c])==128;)c--;return c<0||0===c?b:c+aT[a[c]]>b?c:b},aX=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};let aY=Object.prototype.toString,{Z_NO_FLUSH:aZ,Z_SYNC_FLUSH:a$,Z_FULL_FLUSH:a_,Z_FINISH:a0,Z_OK:a1,Z_STREAM_END:a2,Z_DEFAULT_COMPRESSION:a3,Z_DEFAULT_STRATEGY:a4,Z_DEFLATED:a5}=X;function a6(a){let b,c;this.options=aQ({level:a3,method:a5,chunkSize:16384,windowBits:15,memLevel:8,strategy:a4},a||{});let d=this.options;d.raw&&d.windowBits>0?d.windowBits=-d.windowBits:d.gzip&&d.windowBits>0&&d.windowBits<16&&(d.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new aX,this.strm.avail_out=0;let e=((a,b,c,d,e,f)=>{var g,h;let i;if(!a)return ai;let j=1;if(b===al&&(b=6),d<0?(j=0,d=-d):d>15&&(j=2,d-=16),e<1||e>9||c!==as||d<8||d>15||b<0||b>9||f<0||f>ap||8===d&&1!==j)return au(a,ai);8===d&&(d=9);let k=new aL;return a.state=k,k.strm=a,k.status=42,k.wrap=j,k.gzhead=null,k.w_bits=d,k.w_size=1<{if(aM(a))return au(a,ai);a.total_in=a.total_out=0,a.data_type=ar;let b=a.state;return b.pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=2===b.wrap?57:b.wrap?42:113,a.adler=+(2!==b.wrap),b.last_flush=-2,Y(b),ag})(g=a))===ag&&((h=g.state).window_size=2*h.w_size,aw(h.head),h.max_lazy_match=aK[h.level].max_lazy,h.good_match=aK[h.level].good_length,h.nice_match=aK[h.level].nice_length,h.max_chain_length=aK[h.level].max_chain,h.strstart=0,h.block_start=0,h.lookahead=0,h.insert=0,h.match_length=h.prev_length=2,h.match_available=0,h.ins_h=0),i})(this.strm,d.level,d.method,d.windowBits,d.memLevel,d.strategy);if(e!==a1)throw Error(W[e]);if(d.header&&(b=this.strm,c=d.header,aM(b)||2!==b.state.wrap||(b.state.gzhead=c)),d.dictionary){let a;if(a="string"==typeof d.dictionary?aU(d.dictionary):"[object ArrayBuffer]"===aY.call(d.dictionary)?new Uint8Array(d.dictionary):d.dictionary,(e=((a,b)=>{let c=b.length;if(aM(a))return ai;let d=a.state,e=d.wrap;if(2===e||1===e&&42!==d.status||d.lookahead)return ai;if(1===e&&(a.adler=T(a.adler,b,c,0)),d.wrap=0,c>=d.w_size){0===e&&(aw(d.head),d.strstart=0,d.block_start=0,d.insert=0);let a=new Uint8Array(d.w_size);a.set(b.subarray(c-d.w_size,c),0),b=a,c=d.w_size}let f=a.avail_in,g=a.next_in,h=a.input;for(a.avail_in=c,a.next_in=0,a.input=b,aF(d);d.lookahead>=3;){let a=d.strstart,b=d.lookahead-2;do d.ins_h=ay(d,d.ins_h,d.window[a+3-1]),d.prev[a&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=a,a++;while(--b)d.strstart=a,d.lookahead=2,aF(d)}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=2,d.match_available=0,a.next_in=g,a.input=h,a.avail_in=f,d.wrap=e,ag})(this.strm,a))!==a1)throw Error(W[e]);this._dict_set=!0}}function a7(a,b){let c=new a6(b);if(c.push(a,!0),c.err)throw c.msg||W[c.err];return c.result}a6.prototype.push=function(a,b){let c,d,e=this.strm,f=this.options.chunkSize;if(this.ended)return!1;for(d=b===~~b?b:!0===b?a0:aZ,"string"==typeof a?e.input=aU(a):"[object ArrayBuffer]"===aY.call(a)?e.input=new Uint8Array(a):e.input=a,e.next_in=0,e.avail_in=e.input.length;;){if(0===e.avail_out&&(e.output=new Uint8Array(f),e.next_out=0,e.avail_out=f),(d===a$||d===a_)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if((c=aN(e,d))===a2)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),c=aO(this.strm),this.onEnd(c),this.ended=!0,c===a1;if(0===e.avail_out){this.onData(e.output);continue}if(d>0&&e.next_out>0){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(0===e.avail_in)break}return!0},a6.prototype.onData=function(a){this.chunks.push(a)},a6.prototype.onEnd=function(a){a===a1&&(this.result=aR(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg};var a8=function(a,b){let c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=a.state;c=a.next_in,y=a.input,d=c+(a.avail_in-5),e=a.next_out,z=a.output,f=e-(b-a.avail_out),g=e+(a.avail_out-257),h=A.dmax,i=A.wsize,j=A.whave,k=A.wnext,l=A.window,m=A.hold,n=A.bits,o=A.lencode,p=A.distcode,q=(1<>>=t=s>>>24,n-=t,0==(t=s>>>16&255))z[e++]=65535&s;else if(16&t)for(u=65535&s,(t&=15)&&(n>>=t,n-=t),n<15&&(m+=y[c++]<>>=t=s>>>24,n-=t,16&(t=s>>>16&255)){if(v=65535&s,n<(t&=15)&&(m+=y[c++]<h){a.msg="invalid distance too far back",A.mode=16209;break a}if(m>>>=t,n-=t,v>(t=e-f)){if((t=v-t)>j&&A.sane){a.msg="invalid distance too far back",A.mode=16209;break a}if(w=0,x=l,0===k){if(w+=i-t,t2;)z[e++]=x[w++],z[e++]=x[w++],z[e++]=x[w++],u-=3;u&&(z[e++]=x[w++],u>1&&(z[e++]=x[w++]))}else{w=e-v;do z[e++]=z[w++],z[e++]=z[w++],z[e++]=z[w++],u-=3;while(u>2)u&&(z[e++]=z[w++],u>1&&(z[e++]=z[w++]))}}else if((64&t)==0){s=p[(65535&s)+(m&(1<>3,n-=u<<3,m&=(1<{let i,j,k,l,m,n,o,p,q,r=h.bits,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=null,D=new Uint16Array(16),E=new Uint16Array(16),F=null;for(s=0;s<=15;s++)D[s]=0;for(t=0;t=1&&0===D[v];v--);if(w>v&&(w=v),0===v)return e[f++]=0x1400000,e[f++]=0x1400000,h.bits=1,0;for(u=1;u0&&(0===a||1!==v))return -1;for(s=1,E[1]=0;s<15;s++)E[s+1]=E[s]+D[s];for(t=0;t852||2===a&&A>592)return 1;for(;;){o=s-y,g[t]+1=n?(p=F[g[t]-n],q=C[g[t]-n]):(p=96,q=0),i=1<>y)+(j-=i)]=o<<24|p<<16|q;while(0!==j)for(i=1<>=1;if(0!==i?(B&=i-1,B+=i):B=0,t++,0==--D[s]){if(s===v)break;s=b[c+g[t]]}if(s>w&&(B&l)!==k){for(0===y&&(y=w),m+=u,z=1<<(x=s-y);x+y852||2===a&&A>592)return 1;e[k=B&l]=w<<24|x<<16|m-f}}return 0!==B&&(e[m+B]=s-y<<24|4194304),h.bits=w,0};let{Z_FINISH:be,Z_BLOCK:bf,Z_TREES:bg,Z_OK:bh,Z_STREAM_END:bi,Z_NEED_DICT:bj,Z_STREAM_ERROR:bk,Z_DATA_ERROR:bl,Z_MEM_ERROR:bm,Z_BUF_ERROR:bn,Z_DEFLATED:bo}=X,bp=a=>(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24);function bq(){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}let br=a=>{if(!a)return 1;let b=a.state;return+(!b||b.strm!==a||b.mode<16180||b.mode>16211)},bs=a=>{if(br(a))return bk;let b=a.state;return b.wsize=0,b.whave=0,b.wnext=0,(a=>{if(br(a))return bk;let b=a.state;return a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=16180,b.last=0,b.havedict=0,b.flags=-1,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new Int32Array(852),b.distcode=b.distdyn=new Int32Array(592),b.sane=1,b.back=-1,bh})(a)},bt=!0,bu=a=>{if(bt){e=new Int32Array(512),f=new Int32Array(32);let b=0;for(;b<144;)a.lens[b++]=8;for(;b<256;)a.lens[b++]=9;for(;b<280;)a.lens[b++]=7;for(;b<288;)a.lens[b++]=8;for(bd(1,a.lens,0,288,e,0,a.work,{bits:9}),b=0;b<32;)a.lens[b++]=5;bd(2,a.lens,0,32,f,0,a.work,{bits:5}),bt=!1}a.lencode=e,a.lenbits=9,a.distcode=f,a.distbits=5},bv=(a,b,c,d)=>{let e,f=a.state;return null===f.window&&(f.wsize=1<=f.wsize?(f.window.set(b.subarray(c-f.wsize,c),0),f.wnext=0,f.whave=f.wsize):((e=f.wsize-f.wnext)>d&&(e=d),f.window.set(b.subarray(c-d,c-d+e),f.wnext),(d-=e)?(f.window.set(b.subarray(c-d,c),0),f.wnext=d,f.whave=f.wsize):(f.wnext+=e,f.wnext===f.wsize&&(f.wnext=0),f.whave{let c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=0,B=new Uint8Array(4),C=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(br(a)||!a.output||!a.input&&0!==a.avail_in)return bk;16191===(c=a.state).mode&&(c.mode=16192),g=a.next_out,e=a.output,i=a.avail_out,f=a.next_in,d=a.input,h=a.avail_in,j=c.hold,k=c.bits,l=h,m=i,x=bh;b:for(;;)switch(c.mode){case 16180:if(0===c.wrap){c.mode=16192;break}for(;k<16;){if(0===h)break b;h--,j+=d[f++]<>>8&255,c.check=V(c.check,B,2,0),j=0,k=0,c.mode=16181;break}if(c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&j)<<8)+(j>>8))%31){a.msg="incorrect header check",c.mode=16209;break}if((15&j)!==bo){a.msg="unknown compression method",c.mode=16209;break}if(j>>>=4,k-=4,w=(15&j)+8,0===c.wbits&&(c.wbits=w),w>15||w>c.wbits){a.msg="invalid window size",c.mode=16209;break}c.dmax=1<>8&1),512&c.flags&&4&c.wrap&&(B[0]=255&j,B[1]=j>>>8&255,c.check=V(c.check,B,2,0)),j=0,k=0,c.mode=16182;case 16182:for(;k<32;){if(0===h)break b;h--,j+=d[f++]<>>8&255,B[2]=j>>>16&255,B[3]=j>>>24&255,c.check=V(c.check,B,4,0)),j=0,k=0,c.mode=16183;case 16183:for(;k<16;){if(0===h)break b;h--,j+=d[f++]<>8),512&c.flags&&4&c.wrap&&(B[0]=255&j,B[1]=j>>>8&255,c.check=V(c.check,B,2,0)),j=0,k=0,c.mode=16184;case 16184:if(1024&c.flags){for(;k<16;){if(0===h)break b;h--,j+=d[f++]<>>8&255,c.check=V(c.check,B,2,0)),j=0,k=0}else c.head&&(c.head.extra=null);c.mode=16185;case 16185:if(1024&c.flags&&((n=c.length)>h&&(n=h),n&&(c.head&&(w=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Uint8Array(c.head.extra_len)),c.head.extra.set(d.subarray(f,f+n),w)),512&c.flags&&4&c.wrap&&(c.check=V(c.check,d,n,f)),h-=n,f+=n,c.length-=n),c.length))break b;c.length=0,c.mode=16186;case 16186:if(2048&c.flags){if(0===h)break b;n=0;do w=d[f+n++],c.head&&w&&c.length<65536&&(c.head.name+=String.fromCharCode(w));while(w&&n>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=16191;break;case 16189:for(;k<32;){if(0===h)break b;h--,j+=d[f++]<>>=7&k,k-=7&k,c.mode=16206;break}for(;k<3;){if(0===h)break b;h--,j+=d[f++]<>>=1)){case 0:c.mode=16193;break;case 1:if(bu(c),c.mode=16199,b===bg){j>>>=2,k-=2;break b}break;case 2:c.mode=16196;break;case 3:a.msg="invalid block type",c.mode=16209}j>>>=2,k-=2;break;case 16193:for(j>>>=7&k,k-=7&k;k<32;){if(0===h)break b;h--,j+=d[f++]<>>16^65535)){a.msg="invalid stored block lengths",c.mode=16209;break}if(c.length=65535&j,j=0,k=0,c.mode=16194,b===bg)break b;case 16194:c.mode=16195;case 16195:if(n=c.length){if(n>h&&(n=h),n>i&&(n=i),0===n)break b;e.set(d.subarray(f,f+n),g),h-=n,f+=n,i-=n,g+=n,c.length-=n;break}c.mode=16191;break;case 16196:for(;k<14;){if(0===h)break b;h--,j+=d[f++]<>>=5))+1,k-=5,c.ncode=(15&(j>>>=5))+4,j>>>=4,k-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=16209;break}c.have=0,c.mode=16197;case 16197:for(;c.have>>=3,k-=3}for(;c.have<19;)c.lens[C[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,y={bits:c.lenbits},x=bd(0,c.lens,0,19,c.lencode,0,c.work,y),c.lenbits=y.bits,x){a.msg="invalid code lengths set",c.mode=16209;break}c.have=0,c.mode=16198;case 16198:for(;c.have>>24,r=A>>>16&255,s=65535&A,!(q<=k);){if(0===h)break b;h--,j+=d[f++]<>>=q,k-=q,c.lens[c.have++]=s;else{if(16===s){for(z=q+2;k>>=q,k-=q,0===c.have){a.msg="invalid bit length repeat",c.mode=16209;break}w=c.lens[c.have-1],n=3+(3&j),j>>>=2,k-=2}else if(17===s){for(z=q+3;k>>=q,k-=q,w=0,n=3+(7&j),j>>>=3,k-=3}else{for(z=q+7;k>>=q,k-=q,w=0,n=11+(127&j),j>>>=7,k-=7}if(c.have+n>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=16209;break}for(;n--;)c.lens[c.have++]=w}}if(16209===c.mode)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=16209;break}if(c.lenbits=9,y={bits:c.lenbits},x=bd(1,c.lens,0,c.nlen,c.lencode,0,c.work,y),c.lenbits=y.bits,x){a.msg="invalid literal/lengths set",c.mode=16209;break}if(c.distbits=6,c.distcode=c.distdyn,y={bits:c.distbits},x=bd(2,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,y),c.distbits=y.bits,x){a.msg="invalid distances set",c.mode=16209;break}if(c.mode=16199,b===bg)break b;case 16199:c.mode=16200;case 16200:if(h>=6&&i>=258){a.next_out=g,a.avail_out=i,a.next_in=f,a.avail_in=h,c.hold=j,c.bits=k,a8(a,m),g=a.next_out,e=a.output,i=a.avail_out,f=a.next_in,d=a.input,h=a.avail_in,j=c.hold,k=c.bits,16191===c.mode&&(c.back=-1);break}for(c.back=0;q=(A=c.lencode[j&(1<>>24,r=A>>>16&255,s=65535&A,!(q<=k);){if(0===h)break b;h--,j+=d[f++]<>t)])>>>24,r=A>>>16&255,s=65535&A,!(t+q<=k);){if(0===h)break b;h--,j+=d[f++]<>>=t,k-=t,c.back+=t}if(j>>>=q,k-=q,c.back+=q,c.length=s,0===r){c.mode=16205;break}if(32&r){c.back=-1,c.mode=16191;break}if(64&r){a.msg="invalid literal/length code",c.mode=16209;break}c.extra=15&r,c.mode=16201;case 16201:if(c.extra){for(z=c.extra;k>>=c.extra,k-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=16202;case 16202:for(;q=(A=c.distcode[j&(1<>>24,r=A>>>16&255,s=65535&A,!(q<=k);){if(0===h)break b;h--,j+=d[f++]<>t)])>>>24,r=A>>>16&255,s=65535&A,!(t+q<=k);){if(0===h)break b;h--,j+=d[f++]<>>=t,k-=t,c.back+=t}if(j>>>=q,k-=q,c.back+=q,64&r){a.msg="invalid distance code",c.mode=16209;break}c.offset=s,c.extra=15&r,c.mode=16203;case 16203:if(c.extra){for(z=c.extra;k>>=c.extra,k-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=16209;break}c.mode=16204;case 16204:if(0===i)break b;if(n=m-i,c.offset>n){if((n=c.offset-n)>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=16209;break}n>c.wnext?(n-=c.wnext,o=c.wsize-n):o=c.wnext-n,n>c.length&&(n=c.length),p=c.window}else p=e,o=g-c.offset,n=c.length;n>i&&(n=i),i-=n,c.length-=n;do e[g++]=p[o++];while(--n)0===c.length&&(c.mode=16200);break;case 16205:if(0===i)break b;e[g++]=c.length,i--,c.mode=16200;break;case 16206:if(c.wrap){for(;k<32;){if(0===h)break b;h--,j|=d[f++]<{if(br(a))return bk;let b=a.state;return b.window&&(b.window=null),a.state=null,bh},by=(a,b)=>{let c,d=b.length;return br(a)||0!==(c=a.state).wrap&&16190!==c.mode?bk:16190===c.mode&&T(1,b,d,0)!==c.check?bl:bv(a,b,d,d)?(c.mode=16210,bm):(c.havedict=1,bh)},bz=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};let bA=Object.prototype.toString,{Z_NO_FLUSH:bB,Z_FINISH:bC,Z_OK:bD,Z_STREAM_END:bE,Z_NEED_DICT:bF,Z_STREAM_ERROR:bG,Z_DATA_ERROR:bH,Z_MEM_ERROR:bI}=X;function bJ(a){this.options=aQ({chunkSize:65536,windowBits:15,to:""},a||{});let b=this.options;b.raw&&b.windowBits>=0&&b.windowBits<16&&(b.windowBits=-b.windowBits,0===b.windowBits&&(b.windowBits=-15)),b.windowBits>=0&&b.windowBits<16&&!(a&&a.windowBits)&&(b.windowBits+=32),b.windowBits>15&&b.windowBits<48&&(15&b.windowBits)==0&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new aX,this.strm.avail_out=0;let c=((a,b)=>{if(!a)return bk;let c=new bq;a.state=c,c.strm=a,c.window=null,c.mode=16180;let d=((a,b)=>{let c;if(br(a))return bk;let d=a.state;return(b<0?(c=0,b=-b):(c=(b>>4)+5,b<48&&(b&=15)),b&&(b<8||b>15))?bk:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,bs(a))})(a,b);return d!==bh&&(a.state=null),d})(this.strm,b.windowBits);if(c!==bD||(this.header=new bz,((a,b)=>{if(br(a))return;let c=a.state;return(2&c.wrap)==0||(c.head=b,b.done=!1)})(this.strm,this.header),b.dictionary&&("string"==typeof b.dictionary?b.dictionary=aU(b.dictionary):"[object ArrayBuffer]"===bA.call(b.dictionary)&&(b.dictionary=new Uint8Array(b.dictionary)),b.raw)&&(c=by(this.strm,b.dictionary))!==bD))throw Error(W[c])}function bK(a,b){let c=new bJ(b);if(c.push(a),c.err)throw c.msg||W[c.err];return c.result}bJ.prototype.push=function(a,b){let c,d,e,f=this.strm,g=this.options.chunkSize,h=this.options.dictionary;if(this.ended)return!1;for(d=b===~~b?b:!0===b?bC:bB,"[object ArrayBuffer]"===bA.call(a)?f.input=new Uint8Array(a):f.input=a,f.next_in=0,f.avail_in=f.input.length;;){for(0===f.avail_out&&(f.output=new Uint8Array(g),f.next_out=0,f.avail_out=g),(c=bw(f,d))===bF&&h&&((c=by(f,h))===bD?c=bw(f,d):c===bH&&(c=bF));f.avail_in>0&&c===bE&&f.state.wrap>0&&0!==a[f.next_in];)bs(f),c=bw(f,d);switch(c){case bG:case bH:case bF:case bI:return this.onEnd(c),this.ended=!0,!1}if(e=f.avail_out,f.next_out&&(0===f.avail_out||c===bE))if("string"===this.options.to){let a=aW(f.output,f.next_out),b=f.next_out-a,c=aV(f.output,a);f.next_out=b,f.avail_out=g-b,b&&f.output.set(f.output.subarray(a,a+b),0),this.onData(c)}else this.onData(f.output.length===f.next_out?f.output:f.output.subarray(0,f.next_out));if(c!==bD||0!==e){if(c===bE)return c=bx(this.strm),this.onEnd(c),this.ended=!0,!0;if(0===f.avail_in)break}}return!0},bJ.prototype.onData=function(a){this.chunks.push(a)},bJ.prototype.onEnd=function(a){a===bD&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=aR(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg};let{Deflate:bL,deflate:bM,deflateRaw:bN,gzip:bO}={Deflate:a6,deflate:a7,deflateRaw:function(a,b){return(b=b||{}).raw=!0,a7(a,b)},gzip:function(a,b){return(b=b||{}).gzip=!0,a7(a,b)},constants:X},{Inflate:bP,inflate:bQ,inflateRaw:bR,ungzip:bS}={Inflate:bJ,inflate:bK,inflateRaw:function(a,b){return(b=b||{}).raw=!0,bK(a,b)},ungzip:bK,constants:X},bT=[];for(let a=0;a<256;a++){let b=a;for(let a=0;a<8;a++)1&b?b=0xedb88320^b>>>1:b>>>=1;bT[a]=b}function bU(a,b){return(0xffffffff^function(a,b,c){let d=0xffffffff;for(let a=0;a>>8;return d}(0,a,b))>>>0}function bV(a,b,c){let d=a.readUint32(),e=bU(new Uint8Array(a.buffer,a.byteOffset+a.offset-b-4,b),b);if(e!==d)throw Error(`CRC mismatch for chunk ${c}. Expected ${d}, found ${e}`)}function bW(a,b){a.writeUint32(bU(new Uint8Array(a.buffer,a.byteOffset+a.offset-b,b),b))}function bX(a,b,c){for(let d=0;d>1)&255}else{for(;f>1)&255;for(;f>1)&255}}function b_(a,b,c,d,e){let f=0;if(0===c.length){for(;f>8&255}return a}}let b4=Uint8Array.of(137,80,78,71,13,10,26,10);function b5(a){if(!b6(a.readBytes(b4.length)))throw Error("wrong PNG signature")}function b6(a){if(a.length79)throw Error("keyword length must be between 1 and 79")}let ca=/^[\u0000-\u00FF]*$/;function cb(a){if(!ca.test(a))throw Error("invalid latin1 text")}function cc(a){for(a.mark();0!==a.readByte(););let b=a.offset;a.reset();let c=b8.decode(a.readBytes(b-a.offset-1));return a.skip(1),b9(c),c}class cd extends l{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(a,b={}){super(a);const{checkCrc:c=!1}=b;this._checkCrc=c,this._inflator=new bP,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=-1,this._filterMethod=-1,this._interlaceMethod=-1,this._colorType=-1,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(b5(this);!this._end;){let a=this.readUint32(),b=this.readChars(4);this.decodeChunk(a,b)}return this.decodeImage(),this._png}decodeApng(){for(b5(this);!this._end;){let a=this.readUint32(),b=this.readChars(4);this.decodeApngChunk(a,b)}return this.decodeApngImage(),this._apng}decodeChunk(a,b){let c=this.offset;switch(b){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(a);break;case"IDAT":this.decodeIDAT(a);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(a);break;case"iCCP":this.decodeiCCP(a);break;case b7:var d,e,f;let g;d=this._png.text,d[g=cc(this)]=(e=this,f=a-g.length-1,b8.decode(e.readBytes(f)));break;case"pHYs":this.decodepHYs();break;default:this.skip(a)}if(this.offset-c!==a)throw Error(`Length mismatch while decoding chunk ${b}`);this._checkCrc?bV(this,a+4,b):this.skip(4)}decodeApngChunk(a,b){let c=this.offset;switch("fdAT"!==b&&"IDAT"!==b&&this._writingDataChunks&&this.pushDataToFrame(),b){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(a);break;default:this.decodeChunk(a,b),this.offset=c+a}if(this.offset-c!==a)throw Error(`Length mismatch while decoding chunk ${b}`);this._checkCrc?bV(this,a+4,b):this.skip(4)}decodeIHDR(){let a,b=this._png;b.width=this.readUint32(),b.height=this.readUint32(),b.depth=function(a){if(1!==a&&2!==a&&4!==a&&8!==a&&16!==a)throw Error(`invalid bit depth: ${a}`);return a}(this.readUint8());let c=this.readUint8();switch(this._colorType=c,c){case 0:case 3:a=1;break;case 2:a=3;break;case 4:a=2;break;case 6:a=4;break;default:throw Error(`Unknown color type: ${c}`)}if(this._png.channels=a,this._compressionMethod=this.readUint8(),0!==this._compressionMethod)throw 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(){let a={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(a)}decodePLTE(a){if(a%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${a}`);let b=a/3;this._hasPalette=!0;let c=[];this._palette=c;for(let a=0;athis._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${a/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(a/2);for(let b=0;bthis._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${a} vs ${this._palette.length})`);let b=0;for(;b({index:((a+b.yOffset)*this._png.width+b.xOffset+c)*this._png.channels,frameIndex:(a*b.width+c)*this._png.channels});switch(b.blendOp){case 0:for(let c=0;c=c)&&!(g>=d))for(let a=0;a>8&255}return a}}({data:a,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let a=this._inflator.result,b=this._frames.at(-1);b?b.data=a:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:0,blendOp:0,data:a}),this._inflator=new bP,this._writingDataChunks=!1}}let ce={level:3};class cf extends l{_png;_zlibOptions;_colorType;_interlaceMethod;constructor(a,b={}){super(),this._colorType=-1,this._zlibOptions={...ce,...b.zlib},this._png=this._checkData(a),this._interlaceMethod=(1*("Adam7"===b.interlace))??0,this.setBigEndian()}encode(){if(this.writeBytes(b4),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),4===this._png.palette[0].length&&this.encodeTRNS()),this.encodeData(),this._png.text)for(let[a,b]of Object.entries(this._png.text))!function(a,b,c){b9(b),cb(c);let d=b.length+1+c.length;a.writeUint32(d),a.writeChars(b7),a.writeChars(b),a.writeByte(0),a.writeChars(c),bW(a,d+4)}(this,a,b);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(0),this.writeByte(0),this.writeByte(this._interlaceMethod),bW(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),bW(this,4)}encodePLTE(){let a=this._png.palette?.length*3;for(let b of(this.writeUint32(a),this.writeChars("PLTE"),this._png.palette))this.writeByte(b[0]),this.writeByte(b[1]),this.writeByte(b[2]);bW(this,4+a)}encodeTRNS(){let a=this._png.palette.filter(a=>255!==a.at(-1));for(let b of(this.writeUint32(a.length),this.writeChars("tRNS"),a))this.writeByte(b.at(-1));bW(this,4+a.length)}encodeIDAT(a){this.writeUint32(a.length),this.writeChars("IDAT"),this.writeBytes(a),bW(this,a.length+4)}encodeData(){let{width:a,height:b,channels:c,depth:d,data:e}=this._png,f=d<=8?Math.ceil(a*d/8)*c:Math.ceil(a*d/8*c/2),g=new l().setBigEndian(),h=0;if(0===this._interlaceMethod)for(let a=0;a>8&255),c.writeByte(255&a)}}return d}(this._png,e,g,h));let i=bM(g.toArray(),this._zlibOptions);this.encodeIDAT(i)}_checkData(a){let{colorType:b,channels:c,depth:d}=function(a,b){let{channels:c=4,depth:d=8}=a;if(4!==c&&3!==c&&2!==c&&1!==c)throw RangeError(`unsupported number of channels: ${c}`);let e={channels:c,depth:d,colorType:-1};switch(c){case 4:e.colorType=6;break;case 3:e.colorType=2;break;case 1:b?e.colorType=3:e.colorType=0;break;case 2:e.colorType=4;break;default:throw Error("unsupported number of channels")}return e}(a,a.palette),e={width:cg(a.width,"width"),height:cg(a.height,"height"),channels:c,data:a.data,depth:d,text:a.text,palette:a.palette};this._colorType=b;let f=d<8?Math.ceil(e.width*d/8)*e.height*c:e.width*e.height*c;if(e.data.length!==f)throw RangeError(`wrong data size. Found ${e.data.length}, expected ${f}`);return e}}function cg(a,b){if(Number.isInteger(a)&&a>0)return a;throw TypeError(`${b} must be a positive integer`)}function ch(a){let b=a.palette,c=a.depth;if(!b)throw Error("Color palette is undefined.");var d=a;let e=d.depth<8?Math.ceil(d.width*d.depth/8)*d.height*d.channels:d.width*d.height*d.channels;if(d.data.length!==e)throw RangeError(`wrong data size. Found ${d.data.length}, expected ${e}`);let f=a.width*a.height,g=new Uint8Array(f*b[0].length),h=0,i=0,j=new Uint8Array(f),k=255;switch(c){case 1:k=128;break;case 2:k=192;break;case 4:k=240;break;case 8:k=255;break;default:throw Error("Incorrect depth value")}for(let b of a.data){let d=k,e=8;for(;d&&(e-=c,j[h++]=(b&d)>>e,d>>=c,h%a.width!=0););}if(a.palette)for(let b of j){let c=a.palette.at(b);if(!c)throw Error("Incorrect index of palette color");g.set(c,i),i+=c.length}return g}function ci(a,b){return new cd(a,b).decode()}function cj(a,b){return new cf(a,b).encode()}function ck(a,b){return new cd(a,b).decodeApng()}(R=Q||(Q={}))[R.UNKNOWN=0]="UNKNOWN",R[R.METRE=1]="METRE",a.s(["ResolutionUnitSpecifier",()=>Q],88158),a.s(["decode",()=>ci,"decodeApng",()=>ck,"encode",()=>cj],5991),a.i(5991),a.i(88158),a.s(["ResolutionUnitSpecifier",()=>Q,"convertIndexedToRgb",()=>ch,"decode",()=>ci,"decodeApng",()=>ck,"encode",()=>cj,"hasPngSignature",()=>b6],80755)},14411,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d=a.r(52031),e=a.r(80755),f=a.g;function g(a){var b;a=a||"",this.ok=!1,"#"==a.charAt(0)&&(a=a.substr(1,6)),a=({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",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"})[a=(a=a.replace(/ /g,"")).toLowerCase()]||a;for(var c=[{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)]}}],d=0;d255?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),b=this.g.toString(16),c=this.b.toString(16);return 1==a.length&&(a="0"+a),1==b.length&&(b="0"+b),1==c.length&&(c="0"+c),"#"+a+b+c}}let h=f.atob.bind(f),i=f.btoa.bind(f);function j(){f.console&&"function"==typeof f.console.log&&f.console.log.apply(f.console,arguments)}var k=function(a){f.console&&("function"==typeof f.console.warn?f.console.warn.apply(f.console,arguments):j.call(null,arguments))},l=function(a){f.console&&("function"==typeof f.console.error?f.console.error.apply(f.console,arguments):j(a))};function m(a,b){var c=a[0],d=a[1],e=a[2],f=a[3];c=o(c,d,e,f,b[0],7,-0x28955b88),f=o(f,c,d,e,b[1],12,-0x173848aa),e=o(e,f,c,d,b[2],17,0x242070db),d=o(d,e,f,c,b[3],22,-0x3e423112),c=o(c,d,e,f,b[4],7,-0xa83f051),f=o(f,c,d,e,b[5],12,0x4787c62a),e=o(e,f,c,d,b[6],17,-0x57cfb9ed),d=o(d,e,f,c,b[7],22,-0x2b96aff),c=o(c,d,e,f,b[8],7,0x698098d8),f=o(f,c,d,e,b[9],12,-0x74bb0851),e=o(e,f,c,d,b[10],17,-42063),d=o(d,e,f,c,b[11],22,-0x76a32842),c=o(c,d,e,f,b[12],7,0x6b901122),f=o(f,c,d,e,b[13],12,-0x2678e6d),e=o(e,f,c,d,b[14],17,-0x5986bc72),c=p(c,d=o(d,e,f,c,b[15],22,0x49b40821),e,f,b[1],5,-0x9e1da9e),f=p(f,c,d,e,b[6],9,-0x3fbf4cc0),e=p(e,f,c,d,b[11],14,0x265e5a51),d=p(d,e,f,c,b[0],20,-0x16493856),c=p(c,d,e,f,b[5],5,-0x29d0efa3),f=p(f,c,d,e,b[10],9,0x2441453),e=p(e,f,c,d,b[15],14,-0x275e197f),d=p(d,e,f,c,b[4],20,-0x182c0438),c=p(c,d,e,f,b[9],5,0x21e1cde6),f=p(f,c,d,e,b[14],9,-0x3cc8f82a),e=p(e,f,c,d,b[3],14,-0xb2af279),d=p(d,e,f,c,b[8],20,0x455a14ed),c=p(c,d,e,f,b[13],5,-0x561c16fb),f=p(f,c,d,e,b[2],9,-0x3105c08),e=p(e,f,c,d,b[7],14,0x676f02d9),c=q(c,d=p(d,e,f,c,b[12],20,-0x72d5b376),e,f,b[5],4,-378558),f=q(f,c,d,e,b[8],11,-0x788e097f),e=q(e,f,c,d,b[11],16,0x6d9d6122),d=q(d,e,f,c,b[14],23,-0x21ac7f4),c=q(c,d,e,f,b[1],4,-0x5b4115bc),f=q(f,c,d,e,b[4],11,0x4bdecfa9),e=q(e,f,c,d,b[7],16,-0x944b4a0),d=q(d,e,f,c,b[10],23,-0x41404390),c=q(c,d,e,f,b[13],4,0x289b7ec6),f=q(f,c,d,e,b[0],11,-0x155ed806),e=q(e,f,c,d,b[3],16,-0x2b10cf7b),d=q(d,e,f,c,b[6],23,0x4881d05),c=q(c,d,e,f,b[9],4,-0x262b2fc7),f=q(f,c,d,e,b[12],11,-0x1924661b),e=q(e,f,c,d,b[15],16,0x1fa27cf8),c=r(c,d=q(d,e,f,c,b[2],23,-0x3b53a99b),e,f,b[0],6,-0xbd6ddbc),f=r(f,c,d,e,b[7],10,0x432aff97),e=r(e,f,c,d,b[14],15,-0x546bdc59),d=r(d,e,f,c,b[5],21,-0x36c5fc7),c=r(c,d,e,f,b[12],6,0x655b59c3),f=r(f,c,d,e,b[3],10,-0x70f3336e),e=r(e,f,c,d,b[10],15,-1051523),d=r(d,e,f,c,b[1],21,-0x7a7ba22f),c=r(c,d,e,f,b[8],6,0x6fa87e4f),f=r(f,c,d,e,b[15],10,-0x1d31920),e=r(e,f,c,d,b[6],15,-0x5cfebcec),d=r(d,e,f,c,b[13],21,0x4e0811a1),c=r(c,d,e,f,b[4],6,-0x8ac817e),f=r(f,c,d,e,b[11],10,-0x42c50dcb),e=r(e,f,c,d,b[2],15,0x2ad7d2bb),d=r(d,e,f,c,b[9],21,-0x14792c6f),a[0]=x(c,a[0]),a[1]=x(d,a[1]),a[2]=x(e,a[2]),a[3]=x(f,a[3])}function n(a,b,c,d,e,f){return b=x(x(b,a),x(d,f)),x(b<>>32-e,c)}function o(a,b,c,d,e,f,g){return n(b&c|~b&d,a,b,e,f,g)}function p(a,b,c,d,e,f,g){return n(b&d|c&~d,a,b,e,f,g)}function q(a,b,c,d,e,f,g){return n(b^c^d,a,b,e,f,g)}function r(a,b,c,d,e,f,g){return n(c^(b|~d),a,b,e,f,g)}function s(a){var b,c=a.length,d=[0x67452301,-0x10325477,-0x67452302,0x10325476];for(b=64;b<=a.length;b+=64)m(d,function(a){var b,c=[];for(b=0;b<64;b+=4)c[b>>2]=a.charCodeAt(b)+(a.charCodeAt(b+1)<<8)+(a.charCodeAt(b+2)<<16)+(a.charCodeAt(b+3)<<24);return c}(a.substring(b-64,b)));a=a.substring(b-64);var e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(b=0;b>2]|=a.charCodeAt(b)<<(b%4<<3);if(e[b>>2]|=128<<(b%4<<3),b>55)for(m(d,e),b=0;b<16;b++)e[b]=0;return e[14]=8*c,m(d,e),d}var t="0123456789abcdef".split("");function u(a){return String.fromCharCode(255&a,(65280&a)>>8,(0xff0000&a)>>16,(0xff000000&a)>>24)}function v(a){return s(a).map(u).join("")}var w="5d41402abc4b2a76b9719d911017c592"!=function(a){for(var b=0;b>8*c+4&15]+t[a>>8*c&15];return b}(a[b]);return a.join("")}(s("hello"));function x(a,b){if(w){var c=(65535&a)+(65535&b);return(a>>16)+(b>>16)+(c>>16)<<16|65535&c}return a+b|0}function y(a,b){if(a!==c){for(var c,d,e=Array(1+(256/a.length|0)+1).join(a),f=[],g=0;g<256;g++)f[g]=g;var h=0;for(g=0;g<256;g++){var i=f[g];h=(h+i+e.charCodeAt(g))%256,f[g]=f[h],f[h]=i}c=a,d=f}else f=d;var j=b.length,k=0,l=0,m="";for(g=0;g€/\f©þdSiz";let f=(b+this.padding).substr(0,32),g=(c+this.padding).substr(0,32);this.O=this.processOwnerPassword(f,g),this.P=-(1+(255^e)),this.encryptionKey=v(f+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(d)).substr(0,5),this.U=y(this.encryptionKey,this.padding)}function B(a){if(/[^\u0000-\u00ff]/.test(a))throw Error("Invalid PDF Name Object: "+a+", Only accept ASCII characters.");for(var b="",c=a.length,d=0;d126?"#"+("0"+e.toString(16)).slice(-2):a[d]}return b}function C(a){if("object"!=typeof a)throw Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var b={};this.subscribe=function(a,c,d){if(d=d||!1,"string"!=typeof a||"function"!=typeof c||"boolean"!=typeof d)throw Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");b.hasOwnProperty(a)||(b[a]={});var e=Math.random().toString(35);return b[a][e]=[c,!!d],e},this.unsubscribe=function(a){for(var c in b)if(b[c][a])return delete b[c][a],0===Object.keys(b[c]).length&&delete b[c],!0;return!1},this.publish=function(c){if(b.hasOwnProperty(c)){var d=Array.prototype.slice.call(arguments,1),e=[];for(var g in b[c]){var h=b[c][g];try{h[0].apply(a,d)}catch(a){f.console&&l("jsPDF PubSub Error",a.message,a)}h[1]&&e.push(g)}e.length&&e.forEach(this.unsubscribe)}},this.getTopics=function(){return b}}function D(a){if(!(this instanceof D))return new D(a);var b="opacity,stroke-opacity".split(",");for(var c in a)a.hasOwnProperty(c)&&b.indexOf(c)>=0&&(this[c]=a[c]);this.id="",this.objectNumber=-1}function E(a,b){this.gState=a,this.matrix=b,this.id="",this.objectNumber=-1}function F(a,b,c,d,e){if(!(this instanceof F))return new F(a,b,c,d,e);this.type="axial"===a?2:3,this.coords=b,this.colors=c,E.call(this,d,e)}function G(a,b,c,d,e){if(!(this instanceof G))return new G(a,b,c,d,e);this.boundingBox=a,this.xStep=b,this.yStep=c,this.stream="",this.cloneIndex=0,E.call(this,d,e)}function H(b){var c,d="string"==typeof arguments[0]?arguments[0]:"p",e=arguments[1],h=arguments[2],j=arguments[3],l=[],m=1,n=16,o="S",p=null;"object"==typeof(b=b||{})&&(d=b.orientation,e=b.unit||e,h=b.format||h,j=b.compress||b.compressPdf||j,null!==(p=b.encryption||null)&&(p.userPassword=p.userPassword||"",p.ownerPassword=p.ownerPassword||"",p.userPermissions=p.userPermissions||[]),m="number"==typeof b.userUnit?Math.abs(b.userUnit):1,void 0!==b.precision&&(c=b.precision),void 0!==b.floatPrecision&&(n=b.floatPrecision),o=b.defaultPathOperation||"S"),l=b.filters||(!0===j?["FlateEncode"]:l),e=e||"mm",d=(""+(d||"P")).toLowerCase();var q=b.putOnlyUsedFonts||!1,r={},s={internal:{},__private__:{}};s.__private__.PubSub=C;var t="1.3",u=s.__private__.getPdfVersion=function(){return t};s.__private__.setPdfVersion=function(a){t=a};var v={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]};s.__private__.getPageFormats=function(){return v};var w=s.__private__.getPageFormat=function(a){return v[a]};h=h||"a4";var x="compat",y="advanced",z=x;function E(){this.saveGraphicsState(),aj(new aR(ay,0,0,-ay,0,ce()*ay).toString()+" cm"),this.setFontSize(this.getFontSize()/ay),o="n",z=y}function I(){this.restoreGraphicsState(),o="S",z=x}var J=s.__private__.combineFontStyleAndFontWeight=function(a,b){if("bold"==a&&"normal"==b||"bold"==a&&400==b||"normal"==a&&"italic"==b||"bold"==a&&"italic"==b)throw Error("Invalid Combination of fontweight and fontstyle");return b&&(a=400==b||"normal"===b?"italic"===a?"italic":"normal":700!=b&&"bold"!==b||"normal"!==a?(700==b?"bold":b)+""+a:"bold"),a};s.advancedAPI=function(a){var b=z===x;return b&&E.call(this),"function"!=typeof a||(a(this),b&&I.call(this)),this},s.compatAPI=function(a){var b=z===y;return b&&I.call(this),"function"!=typeof a||(a(this),b&&E.call(this)),this},s.isAdvancedAPI=function(){return z===y};var K,L=function(a){if(z!==y)throw Error(a+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},M=s.roundToPrecision=s.__private__.roundToPrecision=function(a,b){var d=c||b;if(isNaN(a)||isNaN(d))throw Error("Invalid argument passed to jsPDF.roundToPrecision");return a.toFixed(d).replace(/0+$/,"")};K=s.hpf=s.__private__.hpf="number"==typeof n?function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.hpf");return M(a,n)}:"smart"===n?function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.hpf");return M(a,a>-1&&a<1?16:5)}:function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.hpf");return M(a,16)};var N=s.f2=s.__private__.f2=function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.f2");return M(a,2)},O=s.__private__.f3=function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.f3");return M(a,3)},P=s.scale=s.__private__.scale=function(a){if(isNaN(a))throw Error("Invalid argument passed to jsPDF.scale");return z===x?a*ay:z===y?a:void 0},Q=function(a){return P(z===x?ce()-a:z===y?a:void 0)};s.__private__.setPrecision=s.setPrecision=function(a){"number"==typeof parseInt(a,10)&&(c=parseInt(a,10))};var R,S="00000000000000000000000000000000",T=s.__private__.getFileId=function(){return S},U=s.__private__.setFileId=function(a){return S=void 0!==a&&/^[a-fA-F0-9]{32}$/.test(a)?a.toUpperCase():S.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==p&&(bu=new A(p.userPermissions,p.userPassword,p.ownerPassword,S)),S};s.setFileId=function(a){return U(a),this},s.getFileId=function(){return T()};var V=s.__private__.convertDateToPDFDate=function(a){var b=a.getTimezoneOffset(),c=Math.floor(Math.abs(b/60)),d=Math.abs(b%60),e=(b<0?"+":"-")+$(c)+"'"+$(d)+"'";return"D:"+a.getFullYear()+$(a.getMonth()+1)+$(a.getDate())+$(a.getHours())+$(a.getMinutes())+$(a.getSeconds())+e},W=s.__private__.convertPDFDateToDate=function(a){return new Date(parseInt(a.substr(2,4),10),parseInt(a.substr(6,2),10)-1,parseInt(a.substr(8,2),10),parseInt(a.substr(10,2),10),parseInt(a.substr(12,2),10),parseInt(a.substr(14,2),10),0)},X=s.__private__.setCreationDate=function(a){var b;if(void 0===a&&(a=new Date),a instanceof Date)b=V(a);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(a))throw Error("Invalid argument passed to jsPDF.setCreationDate");b=a}return R=b},Y=s.__private__.getCreationDate=function(a){var b=R;return"jsDate"===a&&(b=W(R)),b};s.setCreationDate=function(a){return X(a),this},s.getCreationDate=function(a){return Y(a)};var Z,$=s.__private__.padd2=function(a){return("0"+parseInt(a)).slice(-2)},_=s.__private__.padd2Hex=function(a){return("00"+(a=a.toString())).substr(a.length)},aa=0,ab=[],ac=[],ad=0,ae=[],af=[],ag=!1,ah=ac;s.__private__.setCustomOutputDestination=function(a){ag=!0,ah=a};var ai=function(a){ag||(ah=a)};s.__private__.resetCustomOutputDestination=function(){ag=!1,ah=ac};var aj=s.__private__.out=function(a){return a=a.toString(),ad+=a.length+1,ah.push(a),ah},ak=s.__private__.write=function(a){return aj(1==arguments.length?a.toString():Array.prototype.join.call(arguments," "))},al=s.__private__.getArrayBuffer=function(a){for(var b=a.length,c=new ArrayBuffer(b),d=new Uint8Array(c);b--;)d[b]=a.charCodeAt(b);return c},am=[["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]];s.__private__.getStandardFonts=function(){return am};var an=b.fontSize||16;s.__private__.setFontSize=s.setFontSize=function(a){return an=z===y?a/ay:a,this};var ao,ap=s.__private__.getFontSize=s.getFontSize=function(){return z===x?an:an*ay},aq=b.R2L||!1;s.__private__.setR2L=s.setR2L=function(a){return aq=a,this},s.__private__.getR2L=s.getR2L=function(){return aq};var ar,as=s.__private__.setZoomMode=function(a){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(a))ao=a;else if(isNaN(a)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(a))throw Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+a+'" is not recognized.');ao=a}else ao=parseInt(a,10)};s.__private__.getZoomMode=function(){return ao};var at,au=s.__private__.setPageMode=function(a){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(a))throw Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+a+'" is not recognized.');ar=a};s.__private__.getPageMode=function(){return ar};var av=s.__private__.setLayoutMode=function(a){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(a))throw Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+a+'" is not recognized.');at=a};s.__private__.getLayoutMode=function(){return at},s.__private__.setDisplayMode=s.setDisplayMode=function(a,b,c){return as(a),av(b),au(c),this};var aw={title:"",subject:"",author:"",keywords:"",creator:""};s.__private__.getDocumentProperty=function(a){if(-1===Object.keys(aw).indexOf(a))throw Error("Invalid argument passed to jsPDF.getDocumentProperty");return aw[a]},s.__private__.getDocumentProperties=function(){return aw},s.__private__.setDocumentProperties=s.setProperties=s.setDocumentProperties=function(a){for(var b in aw)aw.hasOwnProperty(b)&&a[b]&&(aw[b]=a[b]);return this},s.__private__.setDocumentProperty=function(a,b){if(-1===Object.keys(aw).indexOf(a))throw Error("Invalid arguments passed to jsPDF.setDocumentProperty");return aw[a]=b};var ax,ay,az,aA,aB,aC={},aD={},aE=[],aF={},aG={},aH={},aI={},aJ=null,aK=0,aL=[],aM=new C(s),aN=b.hotfixes||[],aO={},aP={},aQ=[],aR=function(a,b,c,d,e,f){if(!(this instanceof aR))return new aR(a,b,c,d,e,f);isNaN(a)&&(a=1),isNaN(b)&&(b=0),isNaN(c)&&(c=0),isNaN(d)&&(d=1),isNaN(e)&&(e=0),isNaN(f)&&(f=0),this._matrix=[a,b,c,d,e,f]};Object.defineProperty(aR.prototype,"sx",{get:function(){return this._matrix[0]},set:function(a){this._matrix[0]=a}}),Object.defineProperty(aR.prototype,"shy",{get:function(){return this._matrix[1]},set:function(a){this._matrix[1]=a}}),Object.defineProperty(aR.prototype,"shx",{get:function(){return this._matrix[2]},set:function(a){this._matrix[2]=a}}),Object.defineProperty(aR.prototype,"sy",{get:function(){return this._matrix[3]},set:function(a){this._matrix[3]=a}}),Object.defineProperty(aR.prototype,"tx",{get:function(){return this._matrix[4]},set:function(a){this._matrix[4]=a}}),Object.defineProperty(aR.prototype,"ty",{get:function(){return this._matrix[5]},set:function(a){this._matrix[5]=a}}),Object.defineProperty(aR.prototype,"a",{get:function(){return this._matrix[0]},set:function(a){this._matrix[0]=a}}),Object.defineProperty(aR.prototype,"b",{get:function(){return this._matrix[1]},set:function(a){this._matrix[1]=a}}),Object.defineProperty(aR.prototype,"c",{get:function(){return this._matrix[2]},set:function(a){this._matrix[2]=a}}),Object.defineProperty(aR.prototype,"d",{get:function(){return this._matrix[3]},set:function(a){this._matrix[3]=a}}),Object.defineProperty(aR.prototype,"e",{get:function(){return this._matrix[4]},set:function(a){this._matrix[4]=a}}),Object.defineProperty(aR.prototype,"f",{get:function(){return this._matrix[5]},set:function(a){this._matrix[5]=a}}),Object.defineProperty(aR.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(aR.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(aR.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(aR.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),aR.prototype.join=function(a){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(K).join(a)},aR.prototype.multiply=function(a){return new aR(a.sx*this.sx+a.shy*this.shx,a.sx*this.shy+a.shy*this.sy,a.shx*this.sx+a.sy*this.shx,a.shx*this.shy+a.sy*this.sy,a.tx*this.sx+a.ty*this.shx+this.tx,a.tx*this.shy+a.ty*this.sy+this.ty)},aR.prototype.decompose=function(){var a=this.sx,b=this.shy,c=this.shx,d=this.sy,e=this.tx,f=this.ty,g=Math.sqrt(a*a+b*b),h=(a/=g)*c+(b/=g)*d,i=Math.sqrt((c-=a*h)*c+(d-=b*h)*d);return h/=i,a*(d/=i)>16&255,d=j>>8&255,e=255&j}if(void 0===d||void 0===f&&c===d&&d===e)b="string"==typeof c?c+" "+h[0]:2===a.precision?N(c/255)+" "+h[0]:O(c/255)+" "+h[0];else if(void 0===f||"object"==typeof f){if(f&&!isNaN(f.a)&&0===f.a)return["1. 1. 1.",h[1]].join(" ");b="string"==typeof c?[c,d,e,h[1]].join(" "):2===a.precision?[N(c/255),N(d/255),N(e/255),h[1]].join(" "):[O(c/255),O(d/255),O(e/255),h[1]].join(" ")}else b="string"==typeof c?[c,d,e,f,h[2]].join(" "):2===a.precision?[N(c),N(d),N(e),N(f),h[2]].join(" "):[O(c),O(d),O(e),O(f),h[2]].join(" ");return b},a2=s.__private__.getFilters=function(){return l},a3=s.__private__.putStream=function(a){var b=(a=a||{}).data||"",c=a.filters||a2(),d=a.alreadyAppliedFilters||[],e=a.addLength1||!1,f=b.length,g=a.objectId,h=function(a){return a};if(null!==p&&void 0===g)throw Error("ObjectId must be passed to putStream for file encryption");null!==p&&(h=bu.encryptor(g,0));var i={};!0===c&&(c=["FlateEncode"]);var j=a.additionalKeyValues||[],k=(i=void 0!==H.API.processDataByFilters?H.API.processDataByFilters(b,c):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(d)?d.join(" "):d.toString());if(0!==i.data.length&&(j.push({key:"Length",value:i.data.length}),!0===e&&j.push({key:"Length1",value:f})),0!=k.length)if(k.split("/").length-1==1)j.push({key:"Filter",value:k});else{j.push({key:"Filter",value:"["+k+"]"});for(var l=0;l>"),0!==i.data.length&&(aj("stream"),aj(h(i.data)),aj("endstream"))},a4=s.__private__.putPage=function(a){var b=a.number,c=a.data,d=a.objId,e=a.contentsObjId;aY(d,!0),aj("<>"),aj("endobj");var f=c.join("\n");return z===y&&(f+="\nQ"),aY(e,!0),a3({data:f,filters:a2(),objectId:e}),aj("endobj"),d},a5=s.__private__.putPages=function(){var a,b,c=[];for(a=1;a<=aK;a++)aL[a].objId=aX(),aL[a].contentsObjId=aX();for(a=1;a<=aK;a++)c.push(a4({number:a,data:af[a],objId:aL[a].objId,contentsObjId:aL[a].contentsObjId,mediaBox:aL[a].mediaBox,cropBox:aL[a].cropBox,bleedBox:aL[a].bleedBox,trimBox:aL[a].trimBox,artBox:aL[a].artBox,userUnit:aL[a].userUnit,rootDictionaryObjId:a$,resourceDictionaryObjId:a_}));aY(a$,!0),aj("<>"),aj("endobj"),aM.publish("postPutPages")},a6=function(a){aM.publish("putFont",{font:a,out:aj,newObject:aW,putStream:a3}),!0!==a.isAlreadyPutted&&(a.objectNumber=aW(),aj("<<"),aj("/Type /Font"),aj("/BaseFont /"+B(a.postScriptName)),aj("/Subtype /Type1"),"string"==typeof a.encoding&&aj("/Encoding /"+a.encoding),aj("/FirstChar 32"),aj("/LastChar 255"),aj(">>"),aj("endobj"))},a7=function(a){a.objectNumber=aW();var b=[];b.push({key:"Type",value:"/XObject"}),b.push({key:"Subtype",value:"/Form"}),b.push({key:"BBox",value:"["+[K(a.x),K(a.y),K(a.x+a.width),K(a.y+a.height)].join(" ")+"]"}),b.push({key:"Matrix",value:"["+a.matrix.toString()+"]"}),a3({data:a.pages[1].join("\n"),additionalKeyValues:b,objectId:a.objectNumber}),aj("endobj")},a8=function(a,b){b||(b=21);var c=aW(),d=function(a,b){var c,d=[],e=1/(b-1);for(c=0;c<1;c+=e)d.push(c);if(d.push(1),0!=a[0].offset){var f={offset:0,color:a[0].color};a.unshift(f)}if(1!=a[a.length-1].offset){var g={offset:1,color:a[a.length-1].color};a.push(g)}for(var h="",i=0,j=0;ja[i+1].offset;)i++;var k=a[i].offset,l=(c-k)/(a[i+1].offset-k),m=a[i].color,n=a[i+1].color;h+=_(Math.round((1-l)*m[0]+l*n[0]).toString(16))+_(Math.round((1-l)*m[1]+l*n[1]).toString(16))+_(Math.round((1-l)*m[2]+l*n[2]).toString(16))}return h.trim()}(a.colors,b),e=[];e.push({key:"FunctionType",value:"0"}),e.push({key:"Domain",value:"[0.0 1.0]"}),e.push({key:"Size",value:"["+b+"]"}),e.push({key:"BitsPerSample",value:"8"}),e.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),e.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a3({data:d,additionalKeyValues:e,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:c}),aj("endobj"),a.objectNumber=aW(),aj("<< /ShadingType "+a.type),aj("/ColorSpace /DeviceRGB");var f="/Coords ["+K(parseFloat(a.coords[0]))+" "+K(parseFloat(a.coords[1]))+" ";2===a.type?f+=K(parseFloat(a.coords[2]))+" "+K(parseFloat(a.coords[3])):f+=K(parseFloat(a.coords[2]))+" "+K(parseFloat(a.coords[3]))+" "+K(parseFloat(a.coords[4]))+" "+K(parseFloat(a.coords[5])),aj(f+="]"),a.matrix&&aj("/Matrix ["+a.matrix.toString()+"]"),aj("/Function "+c+" 0 R"),aj("/Extend [true true]"),aj(">>"),aj("endobj")},a9=function(a,b){var c=aX(),d=aW();b.push({resourcesOid:c,objectOid:d}),a.objectNumber=d;var e=[];e.push({key:"Type",value:"/Pattern"}),e.push({key:"PatternType",value:"1"}),e.push({key:"PaintType",value:"1"}),e.push({key:"TilingType",value:"1"}),e.push({key:"BBox",value:"["+a.boundingBox.map(K).join(" ")+"]"}),e.push({key:"XStep",value:K(a.xStep)}),e.push({key:"YStep",value:K(a.yStep)}),e.push({key:"Resources",value:c+" 0 R"}),a.matrix&&e.push({key:"Matrix",value:"["+a.matrix.toString()+"]"}),a3({data:a.stream,additionalKeyValues:e,objectId:a.objectNumber}),aj("endobj")},ba=function(a){for(var b in a.objectNumber=aW(),aj("<<"),a)switch(b){case"opacity":aj("/ca "+N(a[b]));break;case"stroke-opacity":aj("/CA "+N(a[b]))}aj(">>"),aj("endobj")},bb=function(a){aY(a.resourcesOid,!0),aj("<<"),aj("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var a in aj("/Font <<"),aC)aC.hasOwnProperty(a)&&(!1===q||!0===q&&r.hasOwnProperty(a))&&aj("/"+a+" "+aC[a].objectNumber+" 0 R");aj(">>")}(),function(){if(Object.keys(aF).length>0){for(var a in aj("/Shading <<"),aF)aF.hasOwnProperty(a)&&aF[a]instanceof F&&aF[a].objectNumber>=0&&aj("/"+a+" "+aF[a].objectNumber+" 0 R");aM.publish("putShadingPatternDict"),aj(">>")}}(),function(a){if(Object.keys(aF).length>0){for(var b in aj("/Pattern <<"),aF)aF.hasOwnProperty(b)&&aF[b]instanceof s.TilingPattern&&aF[b].objectNumber>=0&&aF[b].objectNumber>")}}(a.objectOid),function(){if(Object.keys(aH).length>0){var a;for(a in aj("/ExtGState <<"),aH)aH.hasOwnProperty(a)&&aH[a].objectNumber>=0&&aj("/"+a+" "+aH[a].objectNumber+" 0 R");aM.publish("putGStateDict"),aj(">>")}}(),function(){for(var a in aj("/XObject <<"),aO)aO.hasOwnProperty(a)&&aO[a].objectNumber>=0&&aj("/"+a+" "+aO[a].objectNumber+" 0 R");aM.publish("putXobjectDict"),aj(">>")}(),aj(">>"),aj("endobj")},bc=function(a){aD[a.fontName]=aD[a.fontName]||{},aD[a.fontName][a.fontStyle]=a.id},bd=function(a,b,c,d,e){var f={id:"F"+(Object.keys(aC).length+1).toString(10),postScriptName:a,fontName:b,fontStyle:c,encoding:d,isStandardFont:e||!1,metadata:{}};return aM.publish("addFont",{font:f,instance:this}),aC[f.id]=f,bc(f),f.id},be=s.__private__.pdfEscape=s.pdfEscape=function(a,b){return(function(a,b){var c,d,e,f,g,h,i,j,k;if(e=(b=b||{}).sourceEncoding||"Unicode",g=b.outputEncoding,(b.autoencode||g)&&aC[ax].metadata&&aC[ax].metadata[e]&&aC[ax].metadata[e].encoding&&(f=aC[ax].metadata[e].encoding,!g&&aC[ax].encoding&&(g=aC[ax].encoding),!g&&f.codePages&&(g=f.codePages[0]),"string"==typeof g&&(g=f[g]),g)){for(i=!1,h=[],c=0,d=a.length;c>8&&(i=!0);a=h.join("")}for(c=a.length;void 0===i&&0!==c;)a.charCodeAt(c-1)>>8&&(i=!0),c--;if(!i)return a;for(h=b.noBOM?[]:[254,255],c=0,d=a.length;c>8)>>8)throw Error("Character at position "+c+" of string '"+a+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");h.push(k),h.push(j-(k<<8))}return String.fromCharCode.apply(void 0,h)})(a,b).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},bf=s.__private__.beginPage=function(a){af[++aK]=[],aL[aK]={objId:0,contentsObjId:0,userUnit:Number(m),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(a[0]),topRightY:Number(a[1])}},bi(aK),ai(af[Z])},bg=function(a,b){var c,e,f;switch(d=b||d,"string"==typeof a&&Array.isArray(c=w(a.toLowerCase()))&&(e=c[0],f=c[1]),Array.isArray(a)&&(e=a[0]*ay,f=a[1]*ay),isNaN(e)&&(e=h[0],f=h[1]),(e>14400||f>14400)&&(k("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),e=Math.min(14400,e),f=Math.min(14400,f)),h=[e,f],d.substr(0,1)){case"l":f>e&&(h=[f,e]);break;case"p":e>f&&(h=[f,e])}bf(h),bO(bM),aj(bW),0!==b0&&aj(b0+" J"),0!==b1&&aj(b1+" j"),aM.publish("addPage",{pageNumber:aK})},bh=function(a){a>0&&a<=aK&&(af.splice(a,1),aL.splice(a,1),aK--,Z>aK&&(Z=aK),this.setPage(Z))},bi=function(a){a>0&&a<=aK&&(Z=a)},bj=s.__private__.getNumberOfPages=s.getNumberOfPages=function(){return af.length-1},bk=function(a,b,c){var d,e=void 0;return c=c||{},a=void 0!==a?a:aC[ax].fontName,b=void 0!==b?b:aC[ax].fontStyle,void 0!==aD[d=a.toLowerCase()]&&void 0!==aD[d][b]?e=aD[d][b]:void 0!==aD[a]&&void 0!==aD[a][b]?e=aD[a][b]:!1===c.disableWarning&&k("Unable to look up font label for font '"+a+"', '"+b+"'. Refer to getFontList() for available fonts."),e||c.noFallback||null==(e=aD.times[b])&&(e=aD.times.normal),e},bl=s.__private__.putInfo=function(){var a=aW(),b=function(a){return a};for(var c in null!==p&&(b=bu.encryptor(a,0)),aj("<<"),aj("/Producer ("+be(b("jsPDF "+H.version))+")"),aw)aw.hasOwnProperty(c)&&aw[c]&&aj("/"+c.substr(0,1).toUpperCase()+c.substr(1)+" ("+be(b(aw[c]))+")");aj("/CreationDate ("+be(b(R))+")"),aj(">>"),aj("endobj")},bm=s.__private__.putCatalog=function(a){var b=(a=a||{}).rootDictionaryObjId||a$;switch(aW(),aj("<<"),aj("/Type /Catalog"),aj("/Pages "+b+" 0 R"),ao||(ao="fullwidth"),ao){case"fullwidth":aj("/OpenAction [3 0 R /FitH null]");break;case"fullheight":aj("/OpenAction [3 0 R /FitV null]");break;case"fullpage":aj("/OpenAction [3 0 R /Fit]");break;case"original":aj("/OpenAction [3 0 R /XYZ null null 1]");break;default:var c=""+ao;"%"===c.substr(c.length-1)&&(ao=parseInt(ao)/100),"number"==typeof ao&&aj("/OpenAction [3 0 R /XYZ null null "+N(ao)+"]")}switch(at||(at="continuous"),at){case"continuous":aj("/PageLayout /OneColumn");break;case"single":aj("/PageLayout /SinglePage");break;case"two":case"twoleft":aj("/PageLayout /TwoColumnLeft");break;case"tworight":aj("/PageLayout /TwoColumnRight")}ar&&aj("/PageMode /"+ar),aM.publish("putCatalog"),aj(">>"),aj("endobj")},bn=s.__private__.putTrailer=function(){aj("trailer"),aj("<<"),aj("/Size "+(aa+1)),aj("/Root "+aa+" 0 R"),aj("/Info "+(aa-1)+" 0 R"),null!==p&&aj("/Encrypt "+bu.oid+" 0 R"),aj("/ID [ <"+S+"> <"+S+"> ]"),aj(">>")},bo=s.__private__.putHeader=function(){aj("%PDF-"+t),aj("%ºß¬à")},bp=s.__private__.putXRef=function(){var a="0000000000";aj("xref"),aj("0 "+(aa+1)),aj("0000000000 65535 f ");for(var b=1;b<=aa;b++)"function"==typeof ab[b]?aj((a+ab[b]()).slice(-10)+" 00000 n "):void 0!==ab[b]?aj((a+ab[b]).slice(-10)+" 00000 n "):aj("0000000000 00000 n ")},bq=s.__private__.buildDocument=function(){aa=0,ad=0,ac=[],ab=[],ae=[],a$=aX(),a_=aX(),ai(ac),aM.publish("buildDocument"),bo(),a5(),function(){aM.publish("putAdditionalObjects");for(var a=0;a"),aj("/O <"+bu.toHexString(bu.O)+">"),aj("/P "+bu.P),aj(">>"),aj("endobj")),bl(),bm();var a,b=ad;return bp(),bn(),aj("startxref"),aj(""+b),aj("%%EOF"),ai(af[Z]),ac.join("\n")},br=s.__private__.getBlob=function(a){return new Blob([al(a)],{type:"application/pdf"})},bs=s.output=s.__private__.output=((aV=function(a,b){switch("string"==typeof(b=b||{})?b={filename:b}:b.filename=b.filename||"generated.pdf",a){case void 0:return bq();case"save":s.save(b.filename);break;case"arraybuffer":return al(bq());case"blob":return br(bq());case"bloburi":case"bloburl":if(void 0!==f.URL&&"function"==typeof f.URL.createObjectURL)return f.URL&&f.URL.createObjectURL(br(bq()))||void 0;k("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var c="",d=bq();try{c=i(d)}catch(a){c=i(unescape(encodeURIComponent(d)))}return"data:application/pdf;filename="+b.filename+";base64,"+c;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(f)){var e="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",g=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';b.pdfObjectUrl&&(e=b.pdfObjectUrl,g="");var h='",j=f.open();return null!==j&&j.document.write(h),j}throw Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(f)){var l='',p=f.open();if(null!==p&&(p.document.write(o),p.document.title=b.filename),p||"undefined"==typeof safari)return p;break;case"datauri":case"dataurl":return f.document.location.href=this.output("datauristring",b);default:return null}}).foo=function(){try{return aV.apply(this,arguments)}catch(c){var a=c.stack||"";~a.indexOf(" at ")&&(a=a.split(" at ")[1]);var b="Error in function "+a.split("\n")[0].split("<")[0]+": "+c.message;if(!f.console)throw Error(b);f.console.error(b,c),f.alert&&alert(b)}},aV.foo.bar=aV,aV.foo),bt=function(a){return!0===Array.isArray(aN)&&aN.indexOf(a)>-1};switch(e){case"pt":ay=1;break;case"mm":ay=72/25.4;break;case"cm":ay=72/2.54;break;case"in":ay=72;break;case"px":ay=1==bt("px_scaling")?.75:96/72;break;case"pc":case"em":ay=12;break;case"ex":ay=6;break;default:if("number"!=typeof e)throw Error("Invalid unit: "+e);ay=e}var bu=null;X(),U();var bv=s.__private__.getPageInfo=s.getPageInfo=function(a){if(isNaN(a)||a%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:aL[a].objId,pageNumber:a,pageContext:aL[a]}},bw=s.__private__.getPageInfoByObjId=function(a){if(isNaN(a)||a%1!=0)throw Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var b in aL)if(aL[b].objId===a)break;return bv(b)},bx=s.__private__.getCurrentPageInfo=s.getCurrentPageInfo=function(){return{objId:aL[Z].objId,pageNumber:Z,pageContext:aL[Z]}};s.addPage=function(){return bg.apply(this,arguments),this},s.setPage=function(){return bi.apply(this,arguments),ai.call(this,af[Z]),this},s.insertPage=function(a){return this.addPage(),this.movePage(Z,a),this},s.movePage=function(a,b){var c,d;if(a>b){c=af[a],d=aL[a];for(var e=a;e>b;e--)af[e]=af[e-1],aL[e]=aL[e-1];af[b]=c,aL[b]=d,this.setPage(b)}else if(a0&&("string"==typeof a?a=o.splitTextToSize(a,k):"[object Array]"===Object.prototype.toString.call(a)&&(a=a.reduce(function(a,b){return a.concat(o.splitTextToSize(b,k))},[]))),f={text:a,x:b,y:c,options:d,mutex:{pdfEscape:be,activeFontKey:ax,fonts:aC,activeFontSize:an}},aM.publish("preProcessText",f),a=f.text,h=(d=f.options).angle,n instanceof aR==0&&h&&"number"==typeof h){h*=Math.PI/180,0===d.rotationDirection&&(h=-h),z===y&&(h=-h);var G=Math.cos(h),H=Math.sin(h);n=new aR(G,H,-H,G,0,0)}else h&&h instanceof aR&&(n=h);z!==y||n||(n=aT),void 0!==(j=d.charSpace||b$)&&(s+=K(P(j))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(m=d.horizontalScale)&&(s+=K(100*m)+" Tz\n"),d.lang;var I=-1,J=void 0!==d.renderingMode?d.renderingMode:d.stroke,M=o.internal.getCurrentPageInfo().pageContext;switch(J){case 0:case!1:case"fill":I=0;break;case 1:case!0:case"stroke":I=1;break;case 2:case"fillThenStroke":I=2;break;case 3:case"invisible":I=3;break;case 4:case"fillAndAddForClipping":I=4;break;case 5:case"strokeAndAddPathForClipping":I=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":I=6;break;case 7:case"addToPathForClipping":I=7}var N=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==I?s+=I+" Tr\n":-1!==N&&(s+="0 Tr\n"),-1!==I&&(M.usedRenderingMode=I),i=d.align||"left";var O,Q=an*t,R=o.internal.pageSize.getWidth(),S=aC[ax];j=d.charSpace||b$,k=d.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},d.flags);var T=[],U=function(a){return o.getStringUnitWidth(a,{font:S,charSpace:j,fontSize:an,doKerning:!1})*an/u};if("[object Array]"===Object.prototype.toString.call(a)){g=v(a),"left"!==i&&(O=g.map(U));var V,W,X=0;if("right"===i){b-=O[0],a=[],D=g.length;for(var Y=0;Y0?(k-O[_])/d:0;_":")"),ab=parseFloat(g[ah][1]),ac=parseFloat(g[ah][2]);break;case 0:ad=(q?"<":"(")+g[ah]+(q?">":")"),ab=bS(b),ac=bT(c)}void 0!==T&&void 0!==T[ah]&&(af=T[ah]+" Tw\n"),0===ah?a.push(af+ag(ab,ac,n)+ad):0===ae?a.push(af+ad):1===ae&&a.push(af+ag(ab,ac,n)+ad)}a=(0===ae?a.join(" Tj\nT* "):a.join(" Tj\n"))+" Tj\n";var ai="BT\n/";return ai+=ax+" "+an+" Tf\n",ai+=K(an*t)+" TL\n",ai+=bY+"\n",ai+=s,ai+=a,aj(ai+="ET"),r[ax]=!0,o};var by=s.__private__.clip=s.clip=function(a){return aj("evenodd"===a?"W*":"W"),this};s.clipEvenOdd=function(){return by("evenodd")},s.__private__.discardPath=s.discardPath=function(){return aj("n"),this};var bz=s.__private__.isValidStyle=function(a){var b=!1;return -1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(a)&&(b=!0),b};s.__private__.setDefaultPathOperation=s.setDefaultPathOperation=function(a){return bz(a)&&(o=a),this};var bA=s.__private__.getStyle=s.getStyle=function(a){var b=o;switch(a){case"D":case"S":b="S";break;case"F":b="f";break;case"FD":case"DF":b="B";break;case"f":case"f*":case"B":case"B*":b=a}return b},bB=s.close=function(){return aj("h"),this};s.stroke=function(){return aj("S"),this},s.fill=function(a){return bC("f",a),this},s.fillEvenOdd=function(a){return bC("f*",a),this},s.fillStroke=function(a){return bC("B",a),this},s.fillStrokeEvenOdd=function(a){return bC("B*",a),this};var bC=function(a,b){"object"==typeof b?bF(b,a):aj(a)},bD=function(a){null===a||z===y&&void 0===a||aj(a=bA(a))};function bE(a,b,c,d,e){var f=new G(b||this.boundingBox,c||this.xStep,d||this.yStep,this.gState,e||this.matrix);return f.stream=this.stream,aU(a+"$$"+this.cloneIndex+++"$$",f),f}var bF=function(a,b){var c=aG[a.key],d=aF[c];if(d instanceof F)aj("q"),aj(bG(b)),d.gState&&s.setGState(d.gState),aj(a.matrix.toString()+" cm"),aj("/"+c+" sh"),aj("Q");else if(d instanceof G){var e=new aR(1,0,0,-1,0,ce());a.matrix&&(e=e.multiply(a.matrix||aT),c=bE.call(d,a.key,a.boundingBox,a.xStep,a.yStep,e).id),aj("q"),aj("/Pattern cs"),aj("/"+c+" scn"),d.gState&&s.setGState(d.gState),aj(b),aj("Q")}},bG=function(a){switch(a){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"}},bH=s.moveTo=function(a,b){return aj(K(P(a))+" "+K(Q(b))+" m"),this},bI=s.lineTo=function(a,b){return aj(K(P(a))+" "+K(Q(b))+" l"),this},bJ=s.curveTo=function(a,b,c,d,e,f){return aj([K(P(a)),K(Q(b)),K(P(c)),K(Q(d)),K(P(e)),K(Q(f)),"c"].join(" ")),this};s.__private__.line=s.line=function(a,b,c,d,e){if(isNaN(a)||isNaN(b)||isNaN(c)||isNaN(d)||!bz(e))throw Error("Invalid arguments passed to jsPDF.line");return z===x?this.lines([[c-a,d-b]],a,b,[1,1],e||"S"):this.lines([[c-a,d-b]],a,b,[1,1]).stroke()},s.__private__.lines=s.lines=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r;if("number"==typeof a&&(r=c,c=b,b=a,a=r),d=d||[1,1],f=f||!1,isNaN(b)||isNaN(c)||!Array.isArray(a)||!Array.isArray(d)||!bz(e)||"boolean"!=typeof f)throw Error("Invalid arguments passed to jsPDF.lines");for(bH(b,c),g=d[0],h=d[1],j=a.length,p=b,q=c,i=0;i>8&255,a>>16&255,a>>24&255)},A.prototype.toHexString=function(a){return a.split("").map(function(a){return("0"+(255&a.charCodeAt(0)).toString(16)).slice(-2)}).join("")},A.prototype.hexToBytes=function(a){for(var b=[],c=0;c>8&255,a>>16&255,255&b,b>>8&255)).substr(0,10);return function(a){return y(c,a)}},D.prototype.equals=function(a){var b,c="id,objectNumber,equals";if(!a||typeof a!=typeof this)return!1;var d=0;for(b in this)if(!(c.indexOf(b)>=0)){if(this.hasOwnProperty(b)&&!a.hasOwnProperty(b)||this[b]!==a[b])return!1;d++}for(b in a)a.hasOwnProperty(b)&&0>c.indexOf(b)&&d--;return 0===d},H.API={events:[]},H.version="3.0.4";var I=H.API,J=1,K=function(a){return a.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},L=function(a){return a.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},M=function(a){return a.toFixed(2)},N=function(a){return a.toFixed(5)};I.__acroform__={};var O=function(a,b){a.prototype=Object.create(b.prototype),a.prototype.constructor=a},P=function(a){return a*J},Q=function(a){var b=new ae,c=as.internal.getHeight(a)||0;return b.BBox=[0,0,Number(M(as.internal.getWidth(a)||0)),Number(M(c))],b},R=I.__acroform__.setBit=function(a,b){if(b=b||0,isNaN(a=a||0)||isNaN(b))throw Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return a|1<a.split("\n")):e.map(a=>[a]);var f=c,g=as.internal.getHeight(a)||0;g=g<0?-g:g;var h=as.internal.getWidth(a)||0;h=h<0?-h:h,f++;c:for(;f>0;){b="";var i,j,k=$("3",a,--f).height,l=a.multiline?g-f:(g-k)/2,m=l+=2,n=0,o=0,p=0;if(f<=0){b="(...) Tj\n",b+="% Width of Text: "+$(b,a,f=12).width+", FieldWidth:"+h+"\n";break}for(var q="",r=0,s=0;sg)continue c;q+=e[s][p],c=!0,o=s,s--}else{q=" "==(q+=e[s][p]+" ").substr(q.length-1)?q.substr(0,q.length-1):q;var t,u,v=parseInt(s),w=(t=q,u=f,v+1=e.length-1;if(w&&!x){q+=" ",p=0;continue}if(w||x){if(x)o=v;else if(a.multiline&&(k+2)*(r+2)+2>g)continue c}else{if(!a.multiline||(k+2)*(r+2)+2>g)continue c;o=v}}for(var y="",z=n;z<=o;z++){var A=e[z];if(a.multiline){if(z===o){y+=A[p]+" ",p=(p+1)%A.length;continue}if(z===n){y+=A[A.length-1]+" ";continue}}y+=A[0]+" "}switch(j=$(y=" "==y.substr(y.length-1)?y.substr(0,y.length-1):y,a,f).width,a.textAlign){case"right":i=h-j-2;break;case"center":i=(h-j)/2;break;default:i=2}b+=M(i)+" "+M(m)+" Td\n",b+="("+K(y)+") Tj\n",b+=-M(i)+" 0 Td\n",m=-(f+2),j=0,n=c?o:o+1,r++,q="";continue}break}return d.text=b,d.fontSize=f,d},$=function(a,b,c){var d=b.scope.internal.getFont(b.fontName,b.fontStyle),e=b.scope.getStringUnitWidth(a,{font:d,fontSize:parseFloat(c),charSpace:0})*parseFloat(c);return{height:b.scope.getStringUnitWidth("3",{font:d,fontSize:parseFloat(c),charSpace:0})*parseFloat(c)*1.5,width:e}},_={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},aa=function(a,b){var c={type:"reference",object:a};void 0===b.internal.getPageInfo(a.page).pageContext.annotations.find(function(a){return a.type===c.type&&a.object===c.object})&&b.internal.getPageInfo(a.page).pageContext.annotations.push(c)},ab=I.__acroform__.arrayToPdfArray=function(a,b,c){var d=function(a){return a};if(Array.isArray(a)){for(var e="[",f=0;f0?b:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return b}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(a){var b=function(a){return a};return this.scope&&(b=this.scope.internal.getEncryptor(this.objId)),"("+K(b(a))+")"}},set:function(b){a=b}})};O(af,ad);var ag=function(){ad.call(this);var a=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return a},set:function(b){if(isNaN(b))throw Error('Invalid value "'+b+'" for attribute F supplied.');a=b}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!U(a,3)},set:function(b){!0==!!b?this.F=V(a,3):this.F=W(a,3)}});var b=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return b},set:function(a){if(isNaN(a))throw Error('Invalid value "'+a+'" for attribute Ff supplied.');b=a}});var c=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==c.length)return c},set:function(a){c=void 0!==a?a:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[0])?0:c[0]},set:function(a){c[0]=a}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[1])?0:c[1]},set:function(a){c[1]=a}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[2])?0:c[2]},set:function(a){c[2]=a}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[3])?0:c[3]},set:function(a){c[3]=a}});var d="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return d},set:function(a){switch(a){case"/Btn":case"/Tx":case"/Ch":case"/Sig":d=a;break;default:throw Error('Invalid value "'+a+'" for attribute FT supplied.')}}});var e=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!e||e.length<1){if(this instanceof ao)return;e="FieldObject"+ag.FieldNum++}var a=function(a){return a};return this.scope&&(a=this.scope.internal.getEncryptor(this.objId)),"("+K(a(e))+")"},set:function(a){e=a.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return e},set:function(a){e=a}});var f="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return f},set:function(a){f=a}});var g="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return g},set:function(a){g=a}});var h=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return h},set:function(a){h=a}});var i=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===i?50/J:i},set:function(a){i=a}});var j="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return j},set:function(a){j=a}});var k="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!k||this instanceof ao||this instanceof aq))return ac(k,this.objId,this.scope)},set:function(a){k=a.toString()}});var l=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(l)return this instanceof al==0?ac(l,this.objId,this.scope):l},set:function(a){a=a.toString(),l=this instanceof al==0?"("===a.substr(0,1)?L(a.substr(1,a.length-2)):L(a):a}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof al==1?L(l.substr(1,l.length-1)):l},set:function(a){a=a.toString(),l=this instanceof al==1?"/"+a:a}});var m=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(m)return m},set:function(a){this.V=a}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(m)return this instanceof al==0?ac(m,this.objId,this.scope):m},set:function(a){a=a.toString(),m=this instanceof al==0?"("===a.substr(0,1)?L(a.substr(1,a.length-2)):L(a):a}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof al==1?L(m.substr(1,m.length-1)):m},set:function(a){a=a.toString(),m=this instanceof al==1?"/"+a:a}}),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 n,o=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return o},set:function(a){o=!!a}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(n)return n},set:function(a){n=a}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,1)},set:function(a){!0==!!a?this.Ff=V(this.Ff,1):this.Ff=W(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,2)},set:function(a){!0==!!a?this.Ff=V(this.Ff,2):this.Ff=W(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,3)},set:function(a){!0==!!a?this.Ff=V(this.Ff,3):this.Ff=W(this.Ff,3)}});var p=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==p)return p},set:function(a){if(-1===[0,1,2].indexOf(a))throw Error('Invalid value "'+a+'" for attribute Q supplied.');p=a}}),Object.defineProperty(this,"textAlign",{get:function(){var a;switch(p){case 0:default:a="left";break;case 1:a="center";break;case 2:a="right"}return a},configurable:!0,enumerable:!0,set:function(a){switch(a){case"right":case 2:p=2;break;case"center":case 1:p=1;break;default:p=0}}})};O(ag,ad);var ah=function(){ag.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var a=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return a},set:function(b){a=b}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return a},set:function(b){a=b}});var b=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ab(b,this.objId,this.scope)},set:function(a){var c;c=[],"string"==typeof a&&(c=function(a,b,c){c||(c=1);for(var d,e=[];d=b.exec(a);)e.push(d[c]);return e}(a,/\((.*?)\)/g)),b=c}}),this.getOptions=function(){return b},this.setOptions=function(a){b=a,this.sort&&b.sort()},this.addOption=function(a){a=(a=a||"").toString(),b.push(a),this.sort&&b.sort()},this.removeOption=function(a,c){for(c=c||!1,a=(a=a||"").toString();-1!==b.indexOf(a)&&(b.splice(b.indexOf(a),1),!1!==c););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,18)},set:function(a){!0==!!a?this.Ff=V(this.Ff,18):this.Ff=W(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,19)},set:function(a){!0===this.combo&&(!0==!!a?this.Ff=V(this.Ff,19):this.Ff=W(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,20)},set:function(a){!0==!!a?(this.Ff=V(this.Ff,20),b.sort()):this.Ff=W(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,22)},set:function(a){!0==!!a?this.Ff=V(this.Ff,22):this.Ff=W(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,23)},set:function(a){!0==!!a?this.Ff=V(this.Ff,23):this.Ff=W(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,27)},set:function(a){!0==!!a?this.Ff=V(this.Ff,27):this.Ff=W(this.Ff,27)}}),this.hasAppearanceStream=!1};O(ah,ag);var ai=function(){ah.call(this),this.fontName="helvetica",this.combo=!1};O(ai,ah);var aj=function(){ai.call(this),this.combo=!0};O(aj,ai);var ak=function(){aj.call(this),this.edit=!0};O(ak,aj);var al=function(){ag.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,15)},set:function(a){!0==!!a?this.Ff=V(this.Ff,15):this.Ff=W(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,16)},set:function(a){!0==!!a?this.Ff=V(this.Ff,16):this.Ff=W(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,17)},set:function(a){!0==!!a?this.Ff=V(this.Ff,17):this.Ff=W(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,26)},set:function(a){!0==!!a?this.Ff=V(this.Ff,26):this.Ff=W(this.Ff,26)}});var a,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var a=function(a){return a};if(this.scope&&(a=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(b).length){var c,d=[];for(c in d.push("<<"),b)d.push("/"+c+" ("+K(a(b[c]))+")");return d.push(">>"),d.join("\n")}},set:function(a){"object"==typeof a&&(b=a)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function(a){"string"==typeof a&&(b.CA=a)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return a},set:function(b){a=b}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return a.substr(1,a.length-1)},set:function(b){a="/"+b}})};O(al,ag);var am=function(){al.call(this),this.pushButton=!0};O(am,al);var an=function(){al.call(this),this.radio=!0,this.pushButton=!1;var a=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return a},set:function(b){a=void 0!==b?b:[]}})};O(an,al);var ao=function(){ag.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return a},set:function(b){a=b}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return b},set:function(a){b=a}});var a,b,c,d={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var a=function(a){return a};this.scope&&(a=this.scope.internal.getEncryptor(this.objId));var b,c=[];for(b in c.push("<<"),d)c.push("/"+b+" ("+K(a(d[b]))+")");return c.push(">>"),c.join("\n")},set:function(a){"object"==typeof a&&(d=a)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return d.CA||""},set:function(a){"string"==typeof a&&(d.CA=a)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return c},set:function(a){c=a}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return c.substr(1,c.length-1)},set:function(a){c="/"+a}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=as.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};O(ao,ag),an.prototype.setAppearance=function(a){if(!("createAppearanceStream"in a)||!("getCA"in a))throw Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var b in this.Kids)if(this.Kids.hasOwnProperty(b)){var c=this.Kids[b];c.appearanceStreamContent=a.createAppearanceStream(c.optionName),c.caption=a.getCA()}},an.prototype.createOption=function(a){var b=new ao;return b.Parent=this,b.optionName=a,this.Kids.push(b),at.call(this.scope,b),b};var ap=function(){al.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=as.CheckBox.createAppearanceStream()};O(ap,al);var aq=function(){ag.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,13)},set:function(a){!0==!!a?this.Ff=V(this.Ff,13):this.Ff=W(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,21)},set:function(a){!0==!!a?this.Ff=V(this.Ff,21):this.Ff=W(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,23)},set:function(a){!0==!!a?this.Ff=V(this.Ff,23):this.Ff=W(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,24)},set:function(a){!0==!!a?this.Ff=V(this.Ff,24):this.Ff=W(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,25)},set:function(a){!0==!!a?this.Ff=V(this.Ff,25):this.Ff=W(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,26)},set:function(a){!0==!!a?this.Ff=V(this.Ff,26):this.Ff=W(this.Ff,26)}});var a=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return a},set:function(b){a=b}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return a},set:function(b){Number.isInteger(b)&&(a=b)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};O(aq,ag);var ar=function(){aq.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!U(this.Ff,14)},set:function(a){!0==!!a?this.Ff=V(this.Ff,14):this.Ff=W(this.Ff,14)}}),this.password=!0};O(ar,aq);var as={CheckBox:{createAppearanceStream:function(){return{N:{On:as.CheckBox.YesNormal},D:{On:as.CheckBox.YesPushDown,Off:as.CheckBox.OffPushDown}}},YesPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=[],d=a.scope.internal.getFont(a.fontName,a.fontStyle).id,e=a.scope.__private__.encodeColorString(a.color),f=Z(a,a.caption);return c.push("0.749023 g"),c.push("0 0 "+M(as.internal.getWidth(a))+" "+M(as.internal.getHeight(a))+" re"),c.push("f"),c.push("BMC"),c.push("q"),c.push("0 0 1 rg"),c.push("/"+d+" "+M(f.fontSize)+" Tf "+e),c.push("BT"),c.push(f.text),c.push("ET"),c.push("Q"),c.push("EMC"),b.stream=c.join("\n"),b},YesNormal:function(a){var b=Q(a);b.scope=a.scope;var c=a.scope.internal.getFont(a.fontName,a.fontStyle).id,d=a.scope.__private__.encodeColorString(a.color),e=[],f=as.internal.getHeight(a),g=as.internal.getWidth(a),h=Z(a,a.caption);return e.push("1 g"),e.push("0 0 "+M(g)+" "+M(f)+" re"),e.push("f"),e.push("q"),e.push("0 0 1 rg"),e.push("0 0 "+M(g-1)+" "+M(f-1)+" re"),e.push("W"),e.push("n"),e.push("0 g"),e.push("BT"),e.push("/"+c+" "+M(h.fontSize)+" Tf "+d),e.push(h.text),e.push("ET"),e.push("Q"),b.stream=e.join("\n"),b},OffPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=[];return c.push("0.749023 g"),c.push("0 0 "+M(as.internal.getWidth(a))+" "+M(as.internal.getHeight(a))+" re"),c.push("f"),b.stream=c.join("\n"),b}},RadioButton:{Circle:{createAppearanceStream:function(a){var b={D:{Off:as.RadioButton.Circle.OffPushDown},N:{}};return b.N[a]=as.RadioButton.Circle.YesNormal,b.D[a]=as.RadioButton.Circle.YesPushDown,b},getCA:function(){return"l"},YesNormal:function(a){var b=Q(a);b.scope=a.scope;var c=[],d=as.internal.getWidth(a)<=as.internal.getHeight(a)?as.internal.getWidth(a)/4:as.internal.getHeight(a)/4,e=Number(((d=Number((.9*d).toFixed(5)))*as.internal.Bezier_C).toFixed(5));return c.push("q"),c.push("1 0 0 1 "+N(as.internal.getWidth(a)/2)+" "+N(as.internal.getHeight(a)/2)+" cm"),c.push(d+" 0 m"),c.push(d+" "+e+" "+e+" "+d+" 0 "+d+" c"),c.push("-"+e+" "+d+" -"+d+" "+e+" -"+d+" 0 c"),c.push("-"+d+" -"+e+" -"+e+" -"+d+" 0 -"+d+" c"),c.push(e+" -"+d+" "+d+" -"+e+" "+d+" 0 c"),c.push("f"),c.push("Q"),b.stream=c.join("\n"),b},YesPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=[],d=as.internal.getWidth(a)<=as.internal.getHeight(a)?as.internal.getWidth(a)/4:as.internal.getHeight(a)/4,e=Number((2*(d=Number((.9*d).toFixed(5)))).toFixed(5)),f=Number((e*as.internal.Bezier_C).toFixed(5)),g=Number((d*as.internal.Bezier_C).toFixed(5));return c.push("0.749023 g"),c.push("q"),c.push("1 0 0 1 "+N(as.internal.getWidth(a)/2)+" "+N(as.internal.getHeight(a)/2)+" cm"),c.push(e+" 0 m"),c.push(e+" "+f+" "+f+" "+e+" 0 "+e+" c"),c.push("-"+f+" "+e+" -"+e+" "+f+" -"+e+" 0 c"),c.push("-"+e+" -"+f+" -"+f+" -"+e+" 0 -"+e+" c"),c.push(f+" -"+e+" "+e+" -"+f+" "+e+" 0 c"),c.push("f"),c.push("Q"),c.push("0 g"),c.push("q"),c.push("1 0 0 1 "+N(as.internal.getWidth(a)/2)+" "+N(as.internal.getHeight(a)/2)+" cm"),c.push(d+" 0 m"),c.push(d+" "+g+" "+g+" "+d+" 0 "+d+" c"),c.push("-"+g+" "+d+" -"+d+" "+g+" -"+d+" 0 c"),c.push("-"+d+" -"+g+" -"+g+" -"+d+" 0 -"+d+" c"),c.push(g+" -"+d+" "+d+" -"+g+" "+d+" 0 c"),c.push("f"),c.push("Q"),b.stream=c.join("\n"),b},OffPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=[],d=as.internal.getWidth(a)<=as.internal.getHeight(a)?as.internal.getWidth(a)/4:as.internal.getHeight(a)/4,e=Number((2*(d=Number((.9*d).toFixed(5)))).toFixed(5)),f=Number((e*as.internal.Bezier_C).toFixed(5));return c.push("0.749023 g"),c.push("q"),c.push("1 0 0 1 "+N(as.internal.getWidth(a)/2)+" "+N(as.internal.getHeight(a)/2)+" cm"),c.push(e+" 0 m"),c.push(e+" "+f+" "+f+" "+e+" 0 "+e+" c"),c.push("-"+f+" "+e+" -"+e+" "+f+" -"+e+" 0 c"),c.push("-"+e+" -"+f+" -"+f+" -"+e+" 0 -"+e+" c"),c.push(f+" -"+e+" "+e+" -"+f+" "+e+" 0 c"),c.push("f"),c.push("Q"),b.stream=c.join("\n"),b}},Cross:{createAppearanceStream:function(a){var b={D:{Off:as.RadioButton.Cross.OffPushDown},N:{}};return b.N[a]=as.RadioButton.Cross.YesNormal,b.D[a]=as.RadioButton.Cross.YesPushDown,b},getCA:function(){return"8"},YesNormal:function(a){var b=Q(a);b.scope=a.scope;var c=[],d=as.internal.calculateCross(a);return c.push("q"),c.push("1 1 "+M(as.internal.getWidth(a)-2)+" "+M(as.internal.getHeight(a)-2)+" re"),c.push("W"),c.push("n"),c.push(M(d.x1.x)+" "+M(d.x1.y)+" m"),c.push(M(d.x2.x)+" "+M(d.x2.y)+" l"),c.push(M(d.x4.x)+" "+M(d.x4.y)+" m"),c.push(M(d.x3.x)+" "+M(d.x3.y)+" l"),c.push("s"),c.push("Q"),b.stream=c.join("\n"),b},YesPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=as.internal.calculateCross(a),d=[];return d.push("0.749023 g"),d.push("0 0 "+M(as.internal.getWidth(a))+" "+M(as.internal.getHeight(a))+" re"),d.push("f"),d.push("q"),d.push("1 1 "+M(as.internal.getWidth(a)-2)+" "+M(as.internal.getHeight(a)-2)+" re"),d.push("W"),d.push("n"),d.push(M(c.x1.x)+" "+M(c.x1.y)+" m"),d.push(M(c.x2.x)+" "+M(c.x2.y)+" l"),d.push(M(c.x4.x)+" "+M(c.x4.y)+" m"),d.push(M(c.x3.x)+" "+M(c.x3.y)+" l"),d.push("s"),d.push("Q"),b.stream=d.join("\n"),b},OffPushDown:function(a){var b=Q(a);b.scope=a.scope;var c=[];return c.push("0.749023 g"),c.push("0 0 "+M(as.internal.getWidth(a))+" "+M(as.internal.getHeight(a))+" re"),c.push("f"),b.stream=c.join("\n"),b}}},createDefaultAppearanceStream:function(a){var b=a.scope.internal.getFont(a.fontName,a.fontStyle).id,c=a.scope.__private__.encodeColorString(a.color);return"/"+b+" "+a.fontSize+" Tf "+c}};as.internal={Bezier_C:.551915024494,calculateCross:function(a){var b=as.internal.getWidth(a),c=as.internal.getHeight(a),d=Math.min(b,c);return{x1:{x:(b-d)/2,y:(c-d)/2+d},x2:{x:(b-d)/2+d,y:(c-d)/2},x3:{x:(b-d)/2,y:(c-d)/2},x4:{x:(b-d)/2+d,y:(c-d)/2+d}}}},as.internal.getWidth=function(a){var b=0;return"object"==typeof a&&(b=P(a.Rect[2])),b},as.internal.getHeight=function(a){var b=0;return"object"==typeof a&&(b=P(a.Rect[3])),b};var at=I.addField=function(a){if(function(a,b){if(b.scope=a,void 0!==a.internal&&(void 0===a.internal.acroformPlugin||!1===a.internal.acroformPlugin.isInitialized)){if(ag.FieldNum=0,a.internal.acroformPlugin=JSON.parse(JSON.stringify(_)),a.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("Exception while creating AcroformDictionary");J=a.internal.scaleFactor,a.internal.acroformPlugin.acroFormDictionaryRoot=new af,a.internal.acroformPlugin.acroFormDictionaryRoot.scope=a,a.internal.acroformPlugin.acroFormDictionaryRoot._eventID=a.internal.events.subscribe("postPutResources",function(){a.internal.events.unsubscribe(a.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete a.internal.acroformPlugin.acroFormDictionaryRoot._eventID,a.internal.acroformPlugin.printedOut=!0}),a.internal.events.subscribe("buildDocument",function(){a.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var b=a.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];d.objId=void 0,d.hasAnnotation&&aa(d,a)}}),a.internal.events.subscribe("putCatalog",function(){if(void 0===a.internal.acroformPlugin.acroFormDictionaryRoot)throw Error("putCatalogCallback: Root missing.");a.internal.write("/AcroForm "+a.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}),a.internal.events.subscribe("postPutPages",function(b){!function(a,b){var c=!a;for(var d in a||(b.internal.newObjectDeferredBegin(b.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),b.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),a=a||b.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(a.hasOwnProperty(d)){var e=a[d],f=[],g=e.Rect;if(e.Rect&&(e.Rect=X(e.Rect,b)),b.internal.newObjectDeferredBegin(e.objId,!0),e.DA=as.createDefaultAppearanceStream(e),"object"==typeof e&&"function"==typeof e.getKeyValueListForStream&&(f=e.getKeyValueListForStream()),e.Rect=g,e.hasAppearanceStream&&!e.appearanceStreamContent){var h=Y(e);f.push({key:"AP",value:"<>"}),b.internal.acroformPlugin.xForms.push(h)}if(e.appearanceStreamContent){var i="";for(var j in e.appearanceStreamContent)if(e.appearanceStreamContent.hasOwnProperty(j)){var k=e.appearanceStreamContent[j];if(i+="/"+j+" <<",Object.keys(k).length>=1||Array.isArray(k)){for(var d in k)if(k.hasOwnProperty(d)){var l=k[d];"function"==typeof l&&(l=l.call(b,e)),i+="/"+d+" "+l+" ",b.internal.acroformPlugin.xForms.indexOf(l)>=0||b.internal.acroformPlugin.xForms.push(l)}}else"function"==typeof(l=k)&&(l=l.call(b,e)),i+="/"+d+" "+l,b.internal.acroformPlugin.xForms.indexOf(l)>=0||b.internal.acroformPlugin.xForms.push(l);i+=">>"}f.push({key:"AP",value:"<<\n"+i+">>"})}b.internal.putStream({additionalKeyValues:f,objectId:e.objId}),b.internal.out("endobj")}c&&function(a,b){for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];b.internal.newObjectDeferredBegin(d.objId,!0),"object"==typeof d&&"function"==typeof d.putStream&&d.putStream(),delete a[c]}}(b.internal.acroformPlugin.xForms,b)}(b,a)}),a.internal.acroformPlugin.isInitialized=!0}}(this,a),!(a instanceof ag))throw Error("Invalid argument passed to jsPDF.addField.");return a.scope.internal.acroformPlugin.printedOut&&(a.scope.internal.acroformPlugin.printedOut=!1,a.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),a.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(a),a.page=a.scope.internal.getCurrentPageInfo().pageNumber,this};I.AcroFormChoiceField=ah,I.AcroFormListBox=ai,I.AcroFormComboBox=aj,I.AcroFormEditBox=ak,I.AcroFormButton=al,I.AcroFormPushButton=am,I.AcroFormRadioButton=an,I.AcroFormCheckBox=ap,I.AcroFormTextField=aq,I.AcroFormPasswordField=ar,I.AcroFormAppearance=as,I.AcroForm={ChoiceField:ah,ListBox:ai,ComboBox:aj,EditBox:ak,Button:al,PushButton:am,RadioButton:an,CheckBox:ap,TextField:aq,PasswordField:ar,Appearance:as},H.AcroForm={ChoiceField:ah,ListBox:ai,ComboBox:aj,EditBox:ak,Button:al,PushButton:am,RadioButton:an,CheckBox:ap,TextField:aq,PasswordField:ar,Appearance:as};var au=H.AcroForm;function av(a){return a.reduce(function(a,b,c){return a[b]=c,a},{})}aH=H.API,aI="addImage_",aH.__addimage__={},aJ="UNKNOWN",aK={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]]},aL=aH.__addimage__.getImageFileTypeByImageData=function(a,b){var c,d,e,f,g,h=aJ;if("RGBA"===(b=b||aJ)||void 0!==a.data&&a.data instanceof Uint8ClampedArray&&"height"in a&&"width"in a)return"RGBA";if(a1(a))for(g in aK)for(e=aK[g],c=0;c>"}),"transparency"in a&&Array.isArray(a.transparency)&&a.transparency.length>0){for(var f="",g=0,h=a.transparency.length;g>";var r=n.objId+" 0 R";d="<>",this.internal.write(n.objId,"0 R",o.objId,"0 R");break;case"freetext":c="/Rect ["+e(b.bounds.x)+" "+f(b.bounds.y)+" "+e(b.bounds.x+b.bounds.w)+" "+f(b.bounds.y+b.bounds.h)+"] ";var s=b.color||"#000000";d="<>",this.internal.write(d);break;case"link":if(b.options.name){var t=this.annotations._nameMap[b.options.name];b.options.pageNumber=t.page,b.options.top=t.y}else b.options.top||(b.options.top=0);if(c="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",d="",b.options.url)d="<>";else if(b.options.pageNumber)switch(d="<>",this.internal.write(d))}}this.internal.write("]")}}]),a6.createAnnotation=function(a){var b=this.internal.getCurrentPageInfo();switch(a.type){case"link":this.link(a.bounds.x,a.bounds.y,a.bounds.w,a.bounds.h,a);break;case"text":case"freetext":b.pageContext.annotations.push(a)}},a6.link=function(a,b,c,d,e){var f=this.internal.getCurrentPageInfo(),g=this.internal.getCoordinateString,h=this.internal.getVerticalCoordinateString;f.pageContext.annotations.push({finalBounds:{x:g(a),y:h(b),w:g(a+c),h:h(b+d)},options:e,type:"link"})},a6.textWithLink=function(a,b,c,d){var e,f,g=this.getTextWidth(a),h=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==d.maxWidth){var{maxWidth:i}=d;f=i,e=Math.ceil(h*this.splitTextToSize(a,f).length)}else f=g,e=h;return this.text(a,b,c,d),c+=.2*h,"center"===d.align&&(b-=g/2),"right"===d.align&&(b-=g),this.link(b,c-h,f,e,d),g},a6.getTextWidth=function(a){var b=this.internal.getFontSize();return this.getStringUnitWidth(a)*b/this.internal.scaleFactor},a8=H.API,a9={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]},ba={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}},bb={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},bc=[1570,1571,1573,1575],a8.__arabicParser__={},bd=a8.__arabicParser__.isInArabicSubstitutionA=function(a){return void 0!==a9[a.charCodeAt(0)]},be=a8.__arabicParser__.isArabicLetter=function(a){return"string"==typeof a&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(a)},bf=a8.__arabicParser__.isArabicEndLetter=function(a){return be(a)&&bd(a)&&a9[a.charCodeAt(0)].length<=2},bg=a8.__arabicParser__.isArabicAlfLetter=function(a){return be(a)&&bc.indexOf(a.charCodeAt(0))>=0},a8.__arabicParser__.arabicLetterHasIsolatedForm=function(a){return be(a)&&bd(a)&&a9[a.charCodeAt(0)].length>=1},bh=a8.__arabicParser__.arabicLetterHasFinalForm=function(a){return be(a)&&bd(a)&&a9[a.charCodeAt(0)].length>=2},a8.__arabicParser__.arabicLetterHasInitialForm=function(a){return be(a)&&bd(a)&&a9[a.charCodeAt(0)].length>=3},bi=a8.__arabicParser__.arabicLetterHasMedialForm=function(a){return be(a)&&bd(a)&&4==a9[a.charCodeAt(0)].length},bj=a8.__arabicParser__.resolveLigatures=function(a){var b=0,c=ba,d="",e=0;for(b=0;b>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+b+" 0 R")})),this},bn=H.API,(bo=function(){var a=void 0;Object.defineProperty(this,"pdf",{get:function(){return a},set:function(b){a=b}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(a){b=isNaN(a)||!1===Number.isInteger(a)||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var c=300;Object.defineProperty(this,"height",{get:function(){return c},set:function(a){c=isNaN(a)||!1===Number.isInteger(a)||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=c+1)}});var d=[];Object.defineProperty(this,"childNodes",{get:function(){return d},set:function(a){d=a}});var e={};Object.defineProperty(this,"style",{get:function(){return e},set:function(a){e=a}}),Object.defineProperty(this,"parentNode",{})}).prototype.getContext=function(a,b){var c;if("2d"!==(a=a||"2d"))return null;for(c in b)this.pdf.context2d.hasOwnProperty(c)&&(this.pdf.context2d[c]=b[c]);return this.pdf.context2d._canvas=this,this.pdf.context2d},bo.prototype.toDataURL=function(){throw Error("toDataURL is not implemented.")},bn.events.push(["initialized",function(){this.canvas=new bo,this.canvas.pdf=this}]),bp=H.API,bq={left:0,top:0,bottom:0,right:0},br=!1,bs=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},bq),this.internal.__cell__.margins.width=this.getPageWidth(),bt.call(this))},bt=function(){this.internal.__cell__.lastCell=new bu,this.internal.__cell__.pages=1},(bu=function(){var a=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return a},set:function(b){a=b}});var b=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return b},set:function(a){b=a}});var c=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return c},set:function(a){c=a}});var d=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return d},set:function(a){d=a}});var e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return e},set:function(a){e=a}});var f=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return f},set:function(a){f=a}});var g=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return g},set:function(a){g=a}}),this}).prototype.clone=function(){return new bu(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},bu.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},bp.setHeaderFunction=function(a){return bs.call(this),this.internal.__cell__.headerFunction="function"==typeof a?a:void 0,this},bp.getTextDimensions=function(a,b){bs.call(this);var c=(b=b||{}).fontSize||this.getFontSize(),d=b.font||this.getFont(),e=b.scaleFactor||this.internal.scaleFactor,f=0,g=0,h=0,i=this;if(!Array.isArray(a)&&"string"!=typeof a){if("number"!=typeof a)throw Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");a=String(a)}let j=b.maxWidth;j>0?"string"==typeof a?a=this.splitTextToSize(a,j):"[object Array]"===Object.prototype.toString.call(a)&&(a=a.reduce(function(a,b){return a.concat(i.splitTextToSize(b,j))},[])):a=Array.isArray(a)?a:[a];for(var k=0;kthis.getPageHeight()?(this.cellAddPage(),a.y=d.top,f&&e&&(this.printHeaderRow(a.lineNumber,!0),a.y+=e[0].height)):a.y=b.y+b.height||a.y),void 0!==a.text[0]&&(this.rect(a.x,a.y,a.width,a.height,!0===br?"FD":void 0),"right"===a.align?this.text(a.text,a.x+a.width-c,a.y+c,{align:"right",baseline:"top"}):"center"===a.align?this.text(a.text,a.x+a.width/2,a.y+c,{align:"center",baseline:"top",maxWidth:a.width-c-c}):this.text(a.text,a.x+c,a.y+c,{align:"left",baseline:"top",maxWidth:a.width-c-c})),this.internal.__cell__.lastCell=a,this},bp.table=function(a,b,c,d,e){if(bs.call(this),!c)throw Error("No data for PDF table.");var f,g,h,i,j=[],k=[],l=[],m={},n={},o=[],p=[],q=(e=e||{}).autoSize||!1,r=!1!==e.printHeaders,s=e.css&&void 0!==e.css["font-size"]?16*e.css["font-size"]:e.fontSize||12,t=e.margins||Object.assign({width:this.getPageWidth()},bq),u="number"==typeof e.padding?e.padding:3,v=e.headerBackgroundColor||"#c8c8c8",w=e.headerTextColor||"#000";if(bt.call(this),this.internal.__cell__.printHeaders=r,this.internal.__cell__.margins=t,this.internal.__cell__.table_font_size=s,this.internal.__cell__.padding=u,this.internal.__cell__.headerBackgroundColor=v,this.internal.__cell__.headerTextColor=w,this.setFontSize(s),null==d)k=j=Object.keys(c[0]),l=j.map(function(){return"left"});else if(Array.isArray(d)&&"object"==typeof d[0])for(j=d.map(function(a){return a.name}),k=d.map(function(a){return a.prompt||a.name||""}),l=d.map(function(a){return a.align||"left"}),f=0;f0&&this.setTableHeaderRow(e),this.setFont(void 0,"normal"),br=!1};var aw={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},ax=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ay=av(ax),az=[100,200,300,400,500,600,700,800,900],aA=av(az);function aB(a){var b,c,d,e=a.family.replace(/"|'/g,"").toLowerCase(),f=aw[b=(b=a.style)||"normal"]?b:"normal",g=(c=a.weight)?"number"==typeof c?c>=100&&c<=900&&c%100==0?c:400:/^\d00$/.test(c)?parseInt(c):"bold"===c?700:400:400,h="number"==typeof ay[d=(d=a.stretch)||"normal"]?d:"normal";return{family:e,style:f,weight:g,stretch:h,src:a.src||[],ref:a.ref||{name:e,style:[h,f,g].join(" ")}}}function aC(a,b,c,d){var e;for(e=c;e>=0&&e=0&&e>>1)&255}return e}function bK(a,b,c){let d=a.length,e=[];e[0]=4;for(let f=0;f>f&(1<>8&255)}(a,f,bN(a,f)&~(h<>7&&(g=b,h=f,b+=3*f);var i=!0,j=[],k=0,l=null,m=0,n=null;for(this.width=c,this.height=d;i&&b=0))throw Error("Invalid block size");if(0===p)break;b+=p}break;case 249:if(4!==a[b++]||0!==a[b+4])throw Error("Invalid graphics extension block.");var o=a[b++];k=a[b++]|a[b++]<<8,l=a[b++],1&o||(l=null),m=o>>2&7,b++;break;case 254:for(;;){if(!((p=a[b++])>=0))throw Error("Invalid block size");if(0===p)break;b+=p}break;default:throw Error("Unknown graphic control label: 0x"+a[b-1].toString(16))}break;case 44:var p,q=a[b++]|a[b++]<<8,r=a[b++]|a[b++]<<8,s=a[b++]|a[b++]<<8,t=a[b++]|a[b++]<<8,u=a[b++],v=u>>6&1,w=1<<1+(7&u),x=g,y=h,z=!1;u>>7&&(z=!0,x=b,y=w,b+=3*w);var A=b;for(b++;;){if(!((p=a[b++])>=0))throw Error("Invalid block size");if(0===p)break;b+=p}j.push({x:q,y:r,width:s,height:t,has_local_palette:z,palette_offset:x,palette_size:y,data_offset:A,data_length:b-A,transparent_index:l,interlaced:!!v,delay:k,disposal:m});break;case 59:i=!1;break;default:throw Error("Unknown gif block: 0x"+a[b-1].toString(16))}this.numFrames=function(){return j.length},this.loopCount=function(){return n},this.frameInfo=function(a){if(a<0||a>=j.length)throw Error("Frame index out of range.");return j[a]},this.decodeAndBlitFrameBGRA=function(b,d){var e=this.frameInfo(b),f=e.width*e.height,g=new Uint8Array(f);bP(a,e.data_offset,g,f);var h=e.palette_offset,i=e.transparent_index;null===i&&(i=256);var j=e.width,k=c-j,l=j,m=4*(e.y*c+e.x),n=4*((e.y+e.height)*c+e.x),o=m,p=4*k;!0===e.interlaced&&(p+=4*c*7);for(var q=8,r=0,s=g.length;r=n&&(p=4*k+4*c*(q-1),o=m+(j+k)*(q<<1),q>>=1)),t===i)o+=4;else{var u=a[h+3*t],v=a[h+3*t+1],w=a[h+3*t+2];d[o++]=w,d[o++]=v,d[o++]=u,d[o++]=255}--l}},this.decodeAndBlitFrameRGBA=function(b,d){var e=this.frameInfo(b),f=e.width*e.height,g=new Uint8Array(f);bP(a,e.data_offset,g,f);var h=e.palette_offset,i=e.transparent_index;null===i&&(i=256);var j=e.width,k=c-j,l=j,m=4*(e.y*c+e.x),n=4*((e.y+e.height)*c+e.x),o=m,p=4*k;!0===e.interlaced&&(p+=4*c*7);for(var q=8,r=0,s=g.length;r=n&&(p=4*k+4*c*(q-1),o=m+(j+k)*(q<<1),q>>=1)),t===i)o+=4;else{var u=a[h+3*t],v=a[h+3*t+1],w=a[h+3*t+2];d[o++]=u,d[o++]=v,d[o++]=w,d[o++]=255}--l}}}function bP(a,b,c,d){for(var e=a[b++],f=1<>=i,l-=i,r!==f){if(r===g)break;for(var s=rf;)u=p[u]>>8,++t;var v=u;if(n+t+ +(s!==r)>d)return void j("Warning, gif stream longer than expected.");c[n++]=v;var w=n+=t;for(s!==r&&(c[n++]=v),u=s;t--;)u=p[u],c[--w]=255&u,u>>=8;null!==q&&h<4096&&(p[h++]=q<<8|v,h>=k+1&&i<12&&(++i,k=k<<1|1)),q=r}else h=g+1,k=(1<<(i=e+1))-1,q=null}return n!==d&&j("Warning, gif stream shorter than expected."),c}function bQ(a){var b,c,d,e,f,g=Math.floor,h=Array(64),i=Array(64),j=Array(64),k=Array(64),l=Array(65535),m=Array(65535),n=Array(64),o=Array(64),p=[],q=0,r=7,s=Array(64),t=Array(64),u=Array(64),v=Array(256),w=Array(2048),x=[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],y=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],z=[0,1,2,3,4,5,6,7,8,9,10,11],A=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],B=[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],C=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],D=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],F=[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 G(a,b){for(var c=0,d=0,e=[],f=1;f<=16;f++){for(var g=1;g<=a[f];g++)e[b[d]]=[],e[b[d]][0]=c,e[b[d]][1]=f,d++,c++;c*=2}return e}function H(a){for(var b=a[0],c=a[1]-1;c>=0;)b&1<>8&255),I(255&a)}function K(a,b,c,d,e){for(var f,g=e[0],h=e[240],i=function(a,b){var c,d,e,f,g,h,i,j,k,l,m=0;for(k=0;k<8;++k){c=a[m],d=a[m+1],e=a[m+2],f=a[m+3],g=a[m+4],h=a[m+5],i=a[m+6];var o=c+(j=a[m+7]),p=c-j,q=d+i,r=d-i,s=e+h,t=e-h,u=f+g,v=f-g,w=o+u,x=o-u,y=q+s,z=q-s;a[m]=w+y,a[m+4]=w-y;var A=.707106781*(z+x);a[m+2]=x+A,a[m+6]=x-A;var B=.382683433*((w=v+t)-(z=r+p)),C=.5411961*w+B,D=1.306562965*z+B,E=.707106781*(y=t+r),F=p+E,G=p-E;a[m+5]=G+C,a[m+3]=G-C,a[m+1]=F+D,a[m+7]=F-D,m+=8}for(m=0,k=0;k<8;++k){c=a[m],d=a[m+8],e=a[m+16],f=a[m+24],g=a[m+32],h=a[m+40],i=a[m+48];var H=c+(j=a[m+56]),I=c-j,J=d+i,K=d-i,L=e+h,M=e-h,N=f+g,O=f-g,P=H+N,Q=H-N,R=J+L,S=J-L;a[m]=P+R,a[m+32]=P-R;var T=.707106781*(S+Q);a[m+16]=Q+T,a[m+48]=Q-T;var U=.382683433*((P=O+M)-(S=K+I)),V=.5411961*P+U,W=1.306562965*S+U,X=.707106781*(R=M+K),Y=I+X,Z=I-X;a[m+40]=Z+V,a[m+24]=Z-V,a[m+8]=Y+W,a[m+56]=Y-W,m++}for(k=0;k<64;++k)l=a[k]*b[k],n[k]=l>0?l+.5|0:l-.5|0;return n}(a,b),j=0;j<64;++j)o[x[j]]=i[j];var k=o[0]-c;c=o[0],0==k?H(d[0]):(H(d[m[f=32767+k]]),H(l[f]));for(var p=63;p>0&&0==o[p];)p--;if(0==p)return H(g),c;for(var q,r=1;r<=p;){for(var s=r;0==o[r]&&r<=p;)++r;var t=r-s;if(t>=16){q=t>>4;for(var u=1;u<=q;++u)H(h);t&=15}H(e[(t<<4)+m[f=32767+o[r]]]),H(l[f]),r++}return 63!=p&&H(g),c}function L(a){f!=(a=Math.min(Math.max(a,1),100))&&(function(a){for(var b=[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],c=0;c<64;c++){var d=g((b[c]*a+50)/100);d=Math.min(Math.max(d,1),255),h[x[c]]=d}for(var e=[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],f=0;f<64;f++){var l=g((e[f]*a+50)/100);l=Math.min(Math.max(l,1),255),i[x[f]]=l}for(var m=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],n=0,o=0;o<8;o++)for(var p=0;p<8;p++)j[n]=1/(h[x[n]]*m[o]*m[p]*8),k[n]=1/(i[x[n]]*m[o]*m[p]*8),n++}(a<50?Math.floor(5e3/a):Math.floor(200-2*a)),f=a)}this.encode=function(a,f){f&&L(f),p=[],q=0,r=7,J(65496),J(65504),J(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),J(1),J(1),I(0),I(0),function(){J(65499),J(132),I(0);for(var a=0;a<64;a++)I(h[a]);I(1);for(var b=0;b<64;b++)I(i[b])}(),n=a.width,o=a.height,J(65472),J(17),I(8),J(o),J(n),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1),function(){J(65476),J(418),I(0);for(var a=0;a<16;a++)I(y[a+1]);for(var b=0;b<=11;b++)I(z[b]);I(16);for(var c=0;c<16;c++)I(A[c+1]);for(var d=0;d<=161;d++)I(B[d]);I(1);for(var e=0;e<16;e++)I(C[e+1]);for(var f=0;f<=11;f++)I(D[f]);I(17);for(var g=0;g<16;g++)I(E[g+1]);for(var h=0;h<=161;h++)I(F[h])}(),J(65498),J(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var g=0,l=0,m=0;q=0,r=7,this.encode.displayName="_encode_";for(var n,o,v,x,G,M,N,O,P,Q,R,S=a.data,T=a.width,U=a.height,V=4*T,W=0;W>3)*V+(P=4*(7&R)),W+Q>=U&&(O-=V*(W+1+Q-U)),v+P>=V&&(O-=v+P-V+4),x=S[O++],G=S[O++],M=S[O++],s[R]=(w[x]+w[G+256|0]+w[M+512|0]>>16)-128,t[R]=(w[x+768|0]+w[G+1024|0]+w[M+1280|0]>>16)-128,u[R]=(w[x+1280|0]+w[G+1536|0]+w[M+1792|0]>>16)-128;g=K(s,j,g,b,d),l=K(t,k,l,c,e),m=K(u,k,m,c,e),v+=32}W+=8}if(r>=0){var X=[];X[1]=r+1,X[0]=(1<d;d++)if(a[b+d]!=c.charCodeAt(d))return!0;return!1}function d(a,b,c,d,e){for(var f=0;fd+1?[]:new b),!(e.length>>0;a&c;)c>>>=1;return c?(a&c-1)+c:a}function j(a,c,d,e,f){b(!(e%d));do a[c+(e-=d)]=f;while(0=g),512>=g)var h=f(512);else if(null==(h=f(g)))return 0;return function(a,c,d,e,g,h){var k,m,n=c,o=1<k;++k){if(p[k]>1<(w-=p[k]))return 0;for(;0=k;++k,g<<=1){if(v+=w<<=1,0>(w-=p[k]))return 0;for(;0s&&!(0>=(r-=p[s]));)++s,r<<=1;o+=x=1<<(r=s-d),a[c+(s=u&t)].g=r+d,a[c+s].value=n-c-s}e.g=k-d,e.value=h[m++],j(a,n+(u>>d),g,x,e),u=i(u,k)}}return v!=2*q[15]-1?0:o}(a,c,d,e,g,h)}function l(){this.value=this.g=0}function m(){this.value=this.g=0}function n(){this.G=g(5,l),this.H=f(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=g(cq,m)}function o(a,c,d,e){b(null!=a),b(null!=c),b(0x80000000>e),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=c,a.pa=d,a.Jd=c,a.Yc=d+e,a.Zc=4<=e?d+e-4+1:d,A(a)}function p(a,b){for(var c=0;0e),a.Sb=e,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;x(a)&&(a.h=1,a.u=0)}function t(a,c){if(b(0<=c),!a.h&&c<=cs){var d=w(a)&cr[c];return a.u+=c,s(a),d}return a.h=1,a.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 v(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(a){return a.Ra>>>(a.u&ct-1)>>>0}function x(a){return b(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>ct}function y(a,b){a.u=b,a.h=x(a)}function z(a){a.u>=cu&&(b(a.u>=cu),s(a))}function A(a){b(null!=a&&null!=a.oa),a.pa>>0,a.b+=8):(b(null!=a&&null!=a.oa),a.paa.b&&A(a);var d=a.b,e=c*b>>>8,f=(a.I>>>d>e)+0;for(f?(c-=e,a.I-=e+1<>>0):c=e+1,d=c,e=0;256<=d;)e+=8,d>>=8;return d=7^e+cv[d],a.b-=d,a.Ca=(c<>24&255,a[b+1]=c>>16&255,a[b+2]=c>>8&255,a[b+3]=255&c}function E(a,b){return a[b+0]|a[b+1]<<8}function F(a,b){return E(a,b)|a[b+2]<<16}function G(a,b){return E(a,b)|E(a,b+2)<<16}function H(a,c){return b(null!=a),b(0=f||0>=g?0:(d[0]=f,e[0]=g,1)}function L(a,b){return a+(1<>>b}function M(a,b){return((0xff00ff00&a)+(0xff00ff00&b)>>>0&0xff00ff00)+((0xff00ff&a)+(0xff00ff&b)>>>0&0xff00ff)>>>0}function N(b,c){a[c]=function(c,d,e,f,g,h,i){var j;for(j=0;j>>1)+(a&b)>>>0}function Q(a){return 0<=a&&256>a?a:0>a?0:255>1))}function S(a,b,c){return Math.abs(b-c)-Math.abs(a-c)}function T(a,b,c,d,e,f,g){for(d=f[g-1],c=0;c>8&255,i=0xff00ff&(i=(i=0xff00ff&g)+((h<<16)+h));d[e+f]=(0xff00ff00&g)+i>>>0}}function V(a,b){b.jd=255&a,b.hd=a>>8&255,b.ud=a>>16&255}function W(a,b,c,d,e,f){var g;for(g=0;g>>8,j=h,k=255&(k=(k=h>>>16)+((a.jd<<24>>24)*(i<<24>>24)>>>5));j=255&(j=(j+=(a.hd<<24>>24)*(i<<24>>24)>>>5)+((a.ud<<24>>24)*(k<<24>>24)>>>5)),e[f+g]=(0xff00ff00&h)+(k<<16)+j}}function X(b,c,d,e,f){a[c]=function(a,b,c,d,g,h,i,j,k){for(d=i;d>b.b,m=b.Ea,n=b.K[0],o=b.w;if(8>l)for(b=(1<>=l}else a["VP8LMapColor"+d](h,i,n,o,j,k,c,g,m)}}function Y(a,b,c,d,e){for(c=b+c;b>16&255,d[e++]=f>>8&255,d[e++]=255&f}}function Z(a,b,c,d,e){for(c=b+c;b>16&255,d[e++]=f>>8&255,d[e++]=255&f,d[e++]=f>>24&255}}function $(a,b,c,d,e){for(c=b+c;b>16&240|g>>12&15,g=240&g|g>>28&15;d[e++]=f,d[e++]=g}}function _(a,b,c,d,e){for(c=b+c;b>16&248|g>>13&7,g=g>>5&224|g>>3&31;d[e++]=f,d[e++]=g}}function aa(a,b,c,d,e){for(c=b+c;b>8&255,d[e++]=f>>16&255}}function ab(a,b,c,e,f,g){if(0==g)for(c=b+c;b>24|g[1]>>8&65280|g[2]<<8&0xff0000|g[3]<<24)>>>0),f+=32;else d(e,f,a,b,c)}function ac(b,c){a[c][0]=a[b+"0"],a[c][1]=a[b+"1"],a[c][2]=a[b+"2"],a[c][3]=a[b+"3"],a[c][4]=a[b+"4"],a[c][5]=a[b+"5"],a[c][6]=a[b+"6"],a[c][7]=a[b+"7"],a[c][8]=a[b+"8"],a[c][9]=a[b+"9"],a[c][10]=a[b+"10"],a[c][11]=a[b+"11"],a[c][12]=a[b+"12"],a[c][13]=a[b+"13"],a[c][14]=a[b+"0"],a[c][15]=a[b+"0"]}function ad(a){return a==dk||a==dl||a==dm||a==dn}function ae(){this.eb=[],this.size=this.A=this.fb=0}function af(){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 ag(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new af,this.sd=null}function ah(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ai(){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 aj(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function ak(a,b){var c=a.T,e=b.ba.f.RGBA,f=e.eb,g=e.fb+a.ka*e.A,h=dN[b.ba.S],i=a.y,j=a.O,k=a.f,l=a.N,m=a.ea,n=a.W,o=b.cc,p=b.dc,q=b.Mc,r=b.Nc,s=a.ka,t=a.ka+a.T,u=a.U,v=u+1>>1;for(0==s?h(i,j,null,null,k,l,m,n,k,l,m,n,f,g,null,null,u):(h(b.ec,b.fc,i,j,o,p,q,r,k,l,m,n,f,g-e.A,f,g,u),++c);s+2c,e=c==de||c==dg||c==dh||c==di||12==c||ad(c);if(b.memory=null,b.Ib=null,b.Jb=null,b.Nd=null,!cn(b.Oa,a,e?11:12))return 0;if(e&&ad(c)&&b6(),a.da)alert("todo:use_scaling");else{if(d){if(b.Ib=aj,a.Kb){if(c=a.U+1>>1,b.memory=f(a.U+2*c),null==b.memory)return 0;b.ec=b.memory,b.fc=0,b.cc=b.ec,b.dc=b.fc+a.U,b.Mc=b.cc,b.Nc=b.dc+c,b.Ib=ak,b6()}}else alert("todo:EmitYUV");e&&(b.Jb=al,d&&b4())}if(d&&!d_){for(a=0;256>a;++a)d0[a]=89858*(a-128)+dW>>dV,d3[a]=-22014*(a-128)+dW,d2[a]=-45773*(a-128),d1[a]=113618*(a-128)+dW>>dV;for(a=dX;a>dV,d4[a-dX]=aT(b,255),d5[a-dX]=aT(b+8>>4,15);d_=1}return 1}function an(a){var c=a.ma,d=a.U,e=a.T;return b(!(1&a.ka)),0>=d||0>=e?0:(d=c.Ib(a,c),null!=c.Jb&&c.Jb(a,c,d),c.Dc+=d,1)}function ao(a){a.ma.memory=null}function ap(a,b,c,d){return 47!=t(a,8)?0:(b[0]=t(a,14)+1,c[0]=t(a,14)+1,d[0]=t(a,1),0!=t(a,3)?0:!a.h)}function aq(a,b){if(4>a)return a+1;var c=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&c)))?c:1}function as(a,b,c){var d=w(c),e=a[b+=255&d].g-8;return 0>>0,b(8>=d.g),a.g}function au(a,c,d){var e=a.xc;return b((c=0==e?0:a.vc[a.md*(d>>e)+(c>>e)])>A.b)*y;rv&&(E=v),(0,cD[B[C++]>>8&15])(o,p+ +D,t,u+D-v,E-D,t,u+D),D=E}p+=v,u+=v,++r&x||(A+=y)}n!=l.nc&&d(k,j-q,k,j+(n-m-1)*q,q);break;case 1:for(q=o,s=p,v=(o=l.Ea)-(u=o&~(t=(p=1<>l.b)*r;m=f),0g.o&&(e=g.o),d=e?d=0:(f[0]+=4*g.v,g.ka=d-g.j,g.U=g.va-g.v,g.T=e-d,d=1),d){if(i=i[0],11>(d=a.ca).S){var l=d.f.RGBA,m=(e=d.S,f=g.U,g=g.T,k=l.eb,l.A),n=g;for(l=l.fb+a.Ma*l.A;0e){var f=a.l.width,g=d.ca,h=d.tb+f*e,i=a.V,j=a.Ba+a.c*e,k=a.gc;b(1==a.ab),b(3==k[0].hc),cB(k[0],e,c,i,j,g,h),ay(d,e,c,g,h,f)}a.C=a.Ma=c}function aA(a,c,d,e,f,g,h){var i=a.$/e,j=a.$%e,k=a.m,l=a.s,m=d+a.$,n=m;f=d+e*f;var o=d+e*g,p=280+l.ua,q=a.Pb?i:0x1000000,r=0=q){var A=m-d;b((q=a).Pb),q.wd=q.m,q.xd=A,0C.g?(y(v,v.u+C.g),A[B]=C.value,v=0):(y(v,v.u+C.g-256),b(256<=C.value),v=C.value),0==v&&(u=!0)}else v=as(t.G[0],t.H[0],k);if(k.h)break;if(u||256>v){if(!u)if(t.nd)c[m]=(t.qb|v<<8)>>>0;else{if(z(k),u=as(t.G[1],t.H[1],k),z(k),A=as(t.G[2],t.H[2],k),B=as(t.G[3],t.H[3],k),k.h)break;c[m]=(B<<24|u<<16|v<<8|A)>>>0}if(u=!1,++m,++j>=e&&(j=0,++i,null!=h&&i<=g&&!(i%16)&&h(a,i),null!=r))for(;n>>r.Mb]=v}else if(280>v){if(v=aq(v-256,k),A=as(t.G[4],t.H[4],k),z(k),A=ar(e,A=aq(A,k)),k.h)break;if(m-d=e;)j-=e,++i,null!=h&&i<=g&&!(i%16)&&h(a,i);if(b(m<=f),j&s&&(t=au(l,j,i)),null!=r)for(;n>>r.Mb]=v}else{if(!(v>>r.Mb]=v;v=m,b(!(u>>>(A=r).Xa)),c[v]=A.X[u],u=!0}u||b(k.h==x(k))}if(a.Pb&&k.h&&mg?g:i),a.a=0,a.$=m-d}return 1}return a.a=3,0}function aB(a){b(null!=a),a.vc=null,a.yc=null,a.Ya=null;var c=a.Wa;null!=c&&(c.X=null),a.vb=null,b(null!=a)}function aC(){var b=new bX;return null==b?null:(b.a=0,b.xb=dL,ac("Predictor","VP8LPredictors"),ac("Predictor","VP8LPredictors_C"),ac("PredictorAdd","VP8LPredictorsAdd"),ac("PredictorAdd","VP8LPredictorsAdd_C"),cy=U,cE=W,cF=Y,cG=Z,cH=$,cI=_,cJ=aa,a.VP8LMapColor32b=cA,a.VP8LMapColor8b=cC,b)}function aD(a,c,d,h,i){for(var j=1,m=[a],o=[c],p=h.m,q=h.s,r=null,s=0;;){if(d)for(;j&&t(p,1);){var u=m,v=o,x=1,A=h.m,B=h.gc[h.ab],C=t(A,2);if(h.Oc&1<=h.ab),C){case 0:case 1:B.b=t(A,3)+2,x=aD(L(B.Ea,B.b),L(B.nc,B.b),0,h,B.K),B.K=B.K[0];break;case 3:var D,E=t(A,8)+1,F=16>B.b),J=f(I);if(null==J)D=0;else{var K=B.K[0],N=B.w;for(J[0]=B.K[0][0],G=1;G<+E;++G)J[G]=M(K[N+G],J[G-1]);for(;G<4*I;++G)J[G]=0;B.K[0]=null,B.K[0]=J,D=1}}x=D;break;case 2:break;default:b(0)}j=x}}if(m=m[0],o=o[0],j&&t(p,1)&&!(j=1<=(s=t(p,4))&&11>=s)){h.a=3;break}if(O=j)d:{var O,P,Q,R,S=m,T=o,U=s,V=h.m,W=h.s,X=[null],Y=1,Z=0,$=dv[U];e:for(;;){if(d&&t(V,1)){var _=t(V,3)+2,aa=L(S,_),ab=L(T,_),ac=aa*ab;if(!aD(aa,ab,0,h,X))break;for(X=X[0],W.xc=_,P=0;P>8&65535;X[P]=ad,ad>=Y&&(Y=ad+1)}}if(V.h)break;for(Q=0;5>Q;++Q){var ae=dr[Q];!Q&&0=ag),ai=ah;var aj=f(Z);if(null==ai||null==aj||null==af){h.a=1;break}for(P=R=0;PQ;++Q){ae=dr[Q],am[Q]=af,an[Q]=R,!Q&&0as)break}else aI=as;for(aJ=0;aJaQ)aj[aJ++]=aQ,0!=aQ&&(aM=aQ);else{var aR=16==aQ,aS=aQ-16,aT=dq[aS],aU=t(aL,dp[aS])+aT;if(aJ+aU>as)break g;for(var aV=aR?aM:0;0=Q){var aW,aX=aj[0];for(aW=1;aWaX&&(aX=aj[aW]);aq+=aX}}if(al.nd=ap,al.Qb=0,ap&&(al.qb=(am[3][an[3]+0].value<<24|am[1][an[1]+0].value<<16|am[2][an[2]+0].value)>>>0,0==ao&&256>am[0][an[0]+0].value&&(al.Qb=1,al.qb+=am[0][an[0]+0].value<<8)),al.jc=!al.Qb&&6>aq,al.jc)for(ak=0;ak>=at(a$,8,aZ),aY>>=at(al.G[1][al.H[1]+aY],16,aZ),aY>>=at(al.G[2][al.H[2]+aY],0,aZ),at(al.G[3][al.H[3]+aY],24,aZ))}}W.vc=X,W.Wb=Y,W.Ya=ai,W.yc=af,O=1;break d}O=0}if(!(j=O)){h.a=3;break}if(0c+1?[]:0),!(d.lengtha?0:a>b?b:a}function aU(){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 aV(){var a=new aS;return null!=a&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,dz||(dz=aZ)),a}function aW(a,b,c){return 0==a.a&&(a.a=b,a.sc=c,a.cb=0),0}function aX(a,b,c){return 3<=c&&157==a[b+0]&&1==a[b+1]&&42==a[b+2]}function aY(a,c){if(null==a)return 0;if(a.a=0,a.sc="OK",null==c)return aW(a,2,"null VP8Io passed to VP8GetHeaders()");var d=c.data,f=c.w,g=c.ha;if(4>g)return aW(a,7,"Truncated header.");var h=d[f+0]|d[f+1]<<8|d[f+2]<<16,i=a.Od;if(i.Rb=!(1&h),i.td=h>>1&7,i.yd=h>>4&1,i.ub=h>>5,3g)return aW(a,7,"cannot parse picture header");if(!aX(d,f,g))return aW(a,3,"Bad code word");j.c=16383&(d[f+4]<<8|d[f+3]),j.Td=d[f+4]>>6,j.i=16383&(d[f+6]<<8|d[f+5]),j.Ud=d[f+6]>>6,f+=7,g-=7,a.za=j.c+15>>4,a.Ub=j.i+15>>4,c.width=j.c,c.height=j.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,e((h=a.Pa).jb,0,255,h.jb.length),b(null!=(h=a.Qa)),h.Cb=0,h.Bb=0,h.Fb=1,e(h.Zb,0,0,h.Zb.length),e(h.Lb,0,0,h.Lb)}if(i.ub>g)return aW(a,7,"bad partition length");o(h=a.m,d,f,i.ub),f+=i.ub,g-=i.ub,i.Rb&&(j.Ld=B(h),j.Kd=B(h)),j=a.Qa;var k,l=a.Pa;if(b(null!=h),b(null!=j),j.Cb=B(h),j.Cb){if(j.Bb=B(h),B(h)){for(j.Fb=B(h),k=0;4>k;++k)j.Zb[k]=B(h)?q(h,7):0;for(k=0;4>k;++k)j.Lb[k]=B(h)?q(h,6):0}if(j.Bb)for(k=0;3>k;++k)l.jb[k]=B(h)?p(h,8):255}else j.Bb=0;if(h.Ka)return aW(a,3,"cannot parse segment header");if((j=a.ed).zd=B(h),j.Tb=p(h,6),j.wb=p(h,3),j.Pc=B(h),j.Pc&&B(h)){for(l=0;4>l;++l)B(h)&&(j.vd[l]=q(h,6));for(l=0;4>l;++l)B(h)&&(j.od[l]=q(h,6))}if(a.L=0==j.Tb?0:j.zd?1:2,h.Ka)return aW(a,3,"cannot parse filter header");var m=g;if(g=k=f,f=k+m,j=m,a.Xb=(1<j&&(n=j),o(a.Jc[+m],d,k,n),k+=n,j-=n,g+=3}o(a.Jc[+l],d,k,j),d=kn;++n){if(m.Cb){var r=m.Zb[n];m.Fb||(r+=d)}else{if(0>16,8>s.Eb[1]&&(s.Eb[1]=8),s.Qc[0]=dx[aT(r+l,117)],s.Qc[1]=dy[aT(r+k,127)],s.lc=r+k}if(!i.Rb)return aW(a,4,"Not a key frame.");for(B(h),i=a.Pa,d=0;4>d;++d){for(g=0;8>g;++g)for(f=0;3>f;++f)for(j=0;11>j;++j)l=C(h,dF[d][g][f][j])?p(h,8):dD[d][g][f][j],i.Wc[d][g].Yb[f][j]=l;for(g=0;17>g;++g)i.Xc[d][g]=i.Wc[d][dG[g]]}return a.kc=B(h),a.kc&&(a.Bd=p(h,8)),a.cb=1}function aZ(a,b,c,d,e,f,g){var h=b[e].Yb[c];for(c=0;16>e;++e){if(!C(a,h[c+0]))return e;for(;!C(a,h[c+1]);)if(h=b[++e].Yb[0],c=0,16==e)return 16;var i=b[e+1].Yb;if(C(a,h[c+2])){var j=a,k=0;if(C(j,(m=h)[(l=c)+3]))if(C(j,m[l+6])){for(h=0,l=2*(k=C(j,m[l+8]))+(m=C(j,m[l+9+k])),k=0,m=dA[l];m[h];++h)k+=k+C(j,m[h]);k+=3+(8<(j=a).b&&A(j);var l,m=j.b,n=(l=j.Ca>>1)-(j.I>>m)>>31;--j.b,j.Ca+=n,j.Ca|=1,j.I-=(l+1&n)<>3),a[b+c+32*d]=-256&e?0>e?0:255:e}function a0(a,b,c,d,e,f){a_(a,b,0,c,d+e),a_(a,b,1,c,d+f),a_(a,b,2,c,d-f),a_(a,b,3,c,d-e)}function a1(a){return(20091*a>>16)+a}function a2(a,b,c,d){var e,g=0,h=f(16);for(e=0;4>e;++e){var i=a[b+0]+a[b+8],j=a[b+0]-a[b+8],k=(35468*a[b+4]>>16)-a1(a[b+12]),l=a1(a[b+4])+(35468*a[b+12]>>16);h[g+0]=i+l,h[g+1]=j+k,h[g+2]=j-k,h[g+3]=i-l,g+=4,b++}for(e=g=0;4>e;++e)i=(a=h[g+0]+4)+h[g+8],j=a-h[g+8],k=(35468*h[g+4]>>16)-a1(h[g+12]),a_(c,d,0,0,i+(l=a1(h[g+4])+(35468*h[g+12]>>16))),a_(c,d,1,0,j+k),a_(c,d,2,0,j-k),a_(c,d,3,0,i-l),g++,d+=32}function a3(a,b,c,d){var e=a[b+0]+4,f=35468*a[b+4]>>16,g=a1(a[b+4]),h=35468*a[b+1]>>16;a0(c,d,0,e+g,a=a1(a[b+1]),h),a0(c,d,1,e+f,a,h),a0(c,d,2,e-f,a,h),a0(c,d,3,e-g,a,h)}function a4(a,b,c,d,e){a2(a,b,c,d),e&&a2(a,b+16,c,d+4)}function a5(a,b,c,d){cL(a,b+0,c,d,1),cL(a,b+32,c,d+128,1)}function a6(a,b,c,d){var e;for(a=a[b+0]+4,e=0;4>e;++e)for(b=0;4>b;++b)a_(c,d,b,e,a)}function a7(a,b,c,d){a[b+0]&&cO(a,b+0,c,d),a[b+16]&&cO(a,b+16,c,d+4),a[b+32]&&cO(a,b+32,c,d+128),a[b+48]&&cO(a,b+48,c,d+128+4)}function a8(a,b,c,d){var e,g=f(16);for(e=0;4>e;++e){var h=a[b+0+e]+a[b+12+e],i=a[b+4+e]+a[b+8+e],j=a[b+4+e]-a[b+8+e],k=a[b+0+e]-a[b+12+e];g[0+e]=h+i,g[8+e]=h-i,g[4+e]=k+j,g[12+e]=k-j}for(e=0;4>e;++e)h=(a=g[0+4*e]+3)+g[3+4*e],i=g[1+4*e]+g[2+4*e],j=g[1+4*e]-g[2+4*e],k=a-g[3+4*e],c[d+0]=h+i>>3,c[d+16]=k+j>>3,c[d+32]=h-i>>3,c[d+48]=k-j>>3,d+=64}function a9(a,b,c){var d,e=b-32,f=255-a[e-1];for(d=0;dc;++c)d(a,b+32*c,a,b-32,16)}function be(a,b){var c;for(c=16;0d;++d)e(b,c+32*d,a,16)}function bg(a,b){var c,d=16;for(c=0;16>c;++c)d+=a[b-1+32*c]+a[b+c-32];bf(d>>5,a,b)}function bh(a,b){var c,d=8;for(c=0;16>c;++c)d+=a[b-1+32*c];bf(d>>4,a,b)}function bi(a,b){var c,d=8;for(c=0;16>c;++c)d+=a[b+c-32];bf(d>>4,a,b)}function bj(a,b){bf(128,a,b)}function bk(a,b,c){return a+2*b+c+2>>2}function bl(a,b){var c,e=b-32;for(e=new Uint8Array([bk(a[e-1],a[e+0],a[e+1]),bk(a[e+0],a[e+1],a[e+2]),bk(a[e+1],a[e+2],a[e+3]),bk(a[e+2],a[e+3],a[e+4])]),c=0;4>c;++c)d(a,b+32*c,e,0,e.length)}function bm(a,b){var c=a[b-1],d=a[b-1+32],e=a[b-1+64],f=a[b-1+96];D(a,b+0,0x1010101*bk(a[b-1-32],c,d)),D(a,b+32,0x1010101*bk(c,d,e)),D(a,b+64,0x1010101*bk(d,e,f)),D(a,b+96,0x1010101*bk(e,f,f))}function bn(a,b){var c,d=4;for(c=0;4>c;++c)d+=a[b+c-32]+a[b-1+32*c];for(d>>=3,c=0;4>c;++c)e(a,b+32*c,d,4)}function bo(a,b){var c=a[b-1+0],d=a[b-1+32],e=a[b-1+64],f=a[b-1-32],g=a[b+0-32],h=a[b+1-32],i=a[b+2-32],j=a[b+3-32];a[b+0+96]=bk(d,e,a[b-1+96]),a[b+1+96]=a[b+0+64]=bk(c,d,e),a[b+2+96]=a[b+1+64]=a[b+0+32]=bk(f,c,d),a[b+3+96]=a[b+2+64]=a[b+1+32]=a[b+0+0]=bk(g,f,c),a[b+3+64]=a[b+2+32]=a[b+1+0]=bk(h,g,f),a[b+3+32]=a[b+2+0]=bk(i,h,g),a[b+3+0]=bk(j,i,h)}function bp(a,b){var c=a[b+1-32],d=a[b+2-32],e=a[b+3-32],f=a[b+4-32],g=a[b+5-32],h=a[b+6-32],i=a[b+7-32];a[b+0+0]=bk(a[b+0-32],c,d),a[b+1+0]=a[b+0+32]=bk(c,d,e),a[b+2+0]=a[b+1+32]=a[b+0+64]=bk(d,e,f),a[b+3+0]=a[b+2+32]=a[b+1+64]=a[b+0+96]=bk(e,f,g),a[b+3+32]=a[b+2+64]=a[b+1+96]=bk(f,g,h),a[b+3+64]=a[b+2+96]=bk(g,h,i),a[b+3+96]=bk(h,i,i)}function bq(a,b){var c=a[b-1+0],d=a[b-1+32],e=a[b-1+64],f=a[b-1-32],g=a[b+0-32],h=a[b+1-32],i=a[b+2-32],j=a[b+3-32];a[b+0+0]=a[b+1+64]=f+g+1>>1,a[b+1+0]=a[b+2+64]=g+h+1>>1,a[b+2+0]=a[b+3+64]=h+i+1>>1,a[b+3+0]=i+j+1>>1,a[b+0+96]=bk(e,d,c),a[b+0+64]=bk(d,c,f),a[b+0+32]=a[b+1+96]=bk(c,f,g),a[b+1+32]=a[b+2+96]=bk(f,g,h),a[b+2+32]=a[b+3+96]=bk(g,h,i),a[b+3+32]=bk(h,i,j)}function br(a,b){var c=a[b+0-32],d=a[b+1-32],e=a[b+2-32],f=a[b+3-32],g=a[b+4-32],h=a[b+5-32],i=a[b+6-32],j=a[b+7-32];a[b+0+0]=c+d+1>>1,a[b+1+0]=a[b+0+64]=d+e+1>>1,a[b+2+0]=a[b+1+64]=e+f+1>>1,a[b+3+0]=a[b+2+64]=f+g+1>>1,a[b+0+32]=bk(c,d,e),a[b+1+32]=a[b+0+96]=bk(d,e,f),a[b+2+32]=a[b+1+96]=bk(e,f,g),a[b+3+32]=a[b+2+96]=bk(f,g,h),a[b+3+64]=bk(g,h,i),a[b+3+96]=bk(h,i,j)}function bs(a,b){var c=a[b-1+0],d=a[b-1+32],e=a[b-1+64],f=a[b-1+96];a[b+0+0]=c+d+1>>1,a[b+2+0]=a[b+0+32]=d+e+1>>1,a[b+2+32]=a[b+0+64]=e+f+1>>1,a[b+1+0]=bk(c,d,e),a[b+3+0]=a[b+1+32]=bk(d,e,f),a[b+3+32]=a[b+1+64]=bk(e,f,f),a[b+3+64]=a[b+2+64]=a[b+0+96]=a[b+1+96]=a[b+2+96]=a[b+3+96]=f}function bt(a,b){var c=a[b-1+0],d=a[b-1+32],e=a[b-1+64],f=a[b-1+96],g=a[b-1-32],h=a[b+0-32],i=a[b+1-32],j=a[b+2-32];a[b+0+0]=a[b+2+32]=c+g+1>>1,a[b+0+32]=a[b+2+64]=d+c+1>>1,a[b+0+64]=a[b+2+96]=e+d+1>>1,a[b+0+96]=f+e+1>>1,a[b+3+0]=bk(h,i,j),a[b+2+0]=bk(g,h,i),a[b+1+0]=a[b+3+32]=bk(c,g,h),a[b+1+32]=a[b+3+64]=bk(d,c,g),a[b+1+64]=a[b+3+96]=bk(e,d,c),a[b+1+96]=bk(f,e,d)}function bu(a,b){var c;for(c=0;8>c;++c)d(a,b+32*c,a,b-32,8)}function bv(a,b){var c;for(c=0;8>c;++c)e(a,b,a[b-1],8),b+=32}function bw(a,b,c){var d;for(d=0;8>d;++d)e(b,c+32*d,a,8)}function bx(a,b){var c,d=8;for(c=0;8>c;++c)d+=a[b+c-32]+a[b-1+32*c];bw(d>>4,a,b)}function by(a,b){var c,d=4;for(c=0;8>c;++c)d+=a[b+c-32];bw(d>>3,a,b)}function bz(a,b){var c,d=4;for(c=0;8>c;++c)d+=a[b-1+32*c];bw(d>>3,a,b)}function bA(a,b){bw(128,a,b)}function bB(a,b,c){var d=a[b-c],e=a[b+0],f=3*(e-d)+c9[1020+a[b-2*c]-a[b+c]],g=da[112+(f+4>>3)];a[b-c]=db[255+d+da[112+(f+3>>3)]],a[b+0]=db[255+e-g]}function bC(a,b,c,d){var e=a[b+0],f=a[b+c];return dc[255+a[b-2*c]-a[b-c]]>d||dc[255+f-e]>d}function bD(a,b,c,d){return 4*dc[255+a[b-c]-a[b+0]]+dc[255+a[b-2*c]-a[b+c]]<=d}function bE(a,b,c,d,e){var f=a[b-3*c],g=a[b-2*c],h=a[b-c],i=a[b+0],j=a[b+c],k=a[b+2*c],l=a[b+3*c];return 4*dc[255+h-i]+dc[255+g-j]>d?0:dc[255+a[b-4*c]-f]<=e&&dc[255+f-g]<=e&&dc[255+g-h]<=e&&dc[255+l-k]<=e&&dc[255+k-j]<=e&&dc[255+j-i]<=e}function bF(a,b,c,d){var e=2*d+1;for(d=0;16>d;++d)bD(a,b+d,c,e)&&bB(a,b+d,c)}function bG(a,b,c,d){var e=2*d+1;for(d=0;16>d;++d)bD(a,b+d*c,1,e)&&bB(a,b+d*c,1)}function bH(a,b,c,d){var e;for(e=3;0>7,p=18*q+63>>7,q=9*q+63>>7;a[i-3*c]=db[255+a[i-3*c]+q],a[i-2*c]=db[255+j+p],a[i-c]=db[255+k+o],a[i+0]=db[255+l-o],a[i+c]=db[255+m-p],a[i+2*c]=db[255+n-q]}b+=d}}function bK(a,b,c,d,e,f,g,h){for(f=2*f+1;0>3)],n=da[112+(n+3>>3)],o=m+1>>1;a[i-2*c]=db[255+a[i-2*c]+o],a[i-c]=db[255+j+n],a[i+0]=db[255+k-m],a[i+c]=db[255+l-o]}b+=d}}function bL(a,b,c,d,e,f){bJ(a,b,c,1,16,d,e,f)}function bM(a,b,c,d,e,f){bJ(a,b,1,c,16,d,e,f)}function bN(a,b,c,d,e,f){var g;for(g=3;0j?0:255:j)&255,j=i,e[f+h]=k}}function b0(a,b,c,d,e,f){for(;0>23,a[h+4*g+1]=a[h+4*g+1]*j>>23,a[h+4*g+2]=a[h+4*g+2]*j>>23)}b+=f}}function b1(a,b,c,d,e){for(;0>4)*i>>16;a[b+2*f+0]=(240&g|g>>4)*i>>16&240|(15&g|g<<4)*i>>16>>4&15,a[b+2*f+1]=240&j|h}b+=e}}function b2(a,b,c,d,e,f,g,h){var i,j,k=255;for(j=0;j>8}function b4(){c0=b0,c1=b1,c2=b2,c3=b3}function b5(c,d,e){a[c]=function(a,c,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){var u,v=t-1>>1,w=h[i+0]|j[k+0]<<16,x=l[m+0]|n[o+0]<<16;b(null!=a);var y=3*w+x+131074>>2;for(d(a[c+0],255&y,y>>16,p,q),null!=f&&(y=3*x+w+131074>>2,d(f[g+0],255&y,y>>16,r,s)),u=1;u<=v;++u){var z=h[i+u]|j[k+u]<<16,A=l[m+u]|n[o+u]<<16,B=w+z+x+A+524296,C=B+2*(z+x)>>3;y=C+w>>1,w=(B=B+2*(w+A)>>3)+z>>1,d(a[c+2*u-1],255&y,y>>16,p,q+(2*u-1)*e),d(a[c+2*u-0],255&w,w>>16,p,q+(2*u-0)*e),null!=f&&(y=B+x>>1,w=C+A>>1,d(f[g+2*u-1],255&y,y>>16,r,s+(2*u-1)*e),d(f[g+2*u+0],255&w,w>>16,r,s+(2*u+0)*e)),w=z,x=A}1&t||(y=3*w+x+131074>>2,d(a[c+t-1],255&y,y>>16,p,q+(t-1)*e),null!=f&&(y=3*x+w+131074>>2,d(f[g+t-1],255&y,y>>16,r,s+(t-1)*e)))}}function b6(){dN[dd]=dO,dN[de]=dQ,dN[df]=dP,dN[dg]=dR,dN[dh]=dS,dN[di]=dT,dN[dj]=dU,dN[dk]=dQ,dN[dl]=dR,dN[dm]=dS,dN[dn]=dT}function b7(a){return a&~d$?0>a?0:255:a>>dZ}function b8(a,b){return b7((19077*a>>8)+(26149*b>>8)-14234)}function b9(a,b,c){return b7((19077*a>>8)-(6419*b>>8)-(13320*c>>8)+8708)}function ca(a,b){return b7((19077*a>>8)+(33050*b>>8)-17685)}function cb(a,b,c,d,e){d[e+0]=b8(a,c),d[e+1]=b9(a,b,c),d[e+2]=ca(a,b)}function cc(a,b,c,d,e){d[e+0]=ca(a,b),d[e+1]=b9(a,b,c),d[e+2]=b8(a,c)}function cd(a,b,c,d,e){var f=b9(a,b,c);b=f<<3&224|ca(a,b)>>3,d[e+0]=248&b8(a,c)|f>>5,d[e+1]=b}function ce(a,b,c,d,e){var f=240&ca(a,b)|15;d[e+0]=240&b8(a,c)|b9(a,b,c)>>4,d[e+1]=f}function cf(a,b,c,d,e){d[e+0]=255,cb(a,b,c,d,e+1)}function cg(a,b,c,d,e){cc(a,b,c,d,e),d[e+3]=255}function ch(a,b,c,d,e){cb(a,b,c,d,e),d[e+3]=255}function ci(b,c,d){a[b]=function(a,b,e,f,g,h,i,j,k){for(var l=j+(-2&k)*d;j!=l;)c(a[b+0],e[f+0],g[h+0],i,j),c(a[b+1],e[f+0],g[h+0],i,j+d),b+=2,++f,++h,j+=2*d;1&k&&c(a[b+0],e[f+0],g[h+0],i,j)}}function cj(a,b,c){return 0==c?0==a?0==b?6:5:4*(0==b):c}function ck(a,b,c,d,e){switch(a>>>30){case 3:cL(b,c,d,e,0);break;case 2:cM(b,c,d,e);break;case 1:cO(b,c,d,e)}}function cl(a,b){var c,f,g=b.M,h=b.Nb,i=a.oc,j=a.pc+40,k=a.oc,l=a.pc+584,m=a.oc,n=a.pc+600;for(c=0;16>c;++c)i[j+32*c-1]=129;for(c=0;8>c;++c)k[l+32*c-1]=129,m[n+32*c-1]=129;for(0c;++c)d(i,j+32*c-4,i,j+32*c+12,4);for(c=-1;8>c;++c)d(k,l+32*c-4,k,l+32*c+4,4),d(m,n+32*c-4,m,n+32*c+4,4)}var p=a.Gd,q=a.Hd+f,r=o.ad,s=o.Hc;if(0=a.za-1?e(t,u,p[q].y[15],4):d(t,u,p[q+1].y,0,4)),c=0;4>c;c++)t[u+128+c]=t[u+256+c]=t[u+384+c]=t[u+0+c];for(c=0;16>c;++c,s<<=2)t=i,u=j+d6[c],dI[o.Ob[c]](t,u),ck(s,r,16*c,t,u)}else if(dH[t=cj(f,g,o.Ob[0])](i,j),0!=s)for(c=0;16>c;++c,s<<=2)ck(s,r,16*c,i,j+d6[c]);for(c=o.Gc,dJ[t=cj(f,g,o.Dd)](k,l),dJ[t](m,n),s=r,t=k,u=l,255&(o=0|c)&&(170&o?cN(s,256,t,u):cP(s,256,t,u)),o=m,s=n,255&(c>>=8)&&(170&c?cN(r,320,o,s):cP(r,320,o,s)),gc;++c)d(p,q+c*a.R,i,j+32*c,16);for(c=0;8>c;++c)d(r,o+c*a.B,k,l+32*c,8),d(s,t+c*a.B,m,n+32*c,8)}}function cm(a,d,e,f,g,h,i,j,k){var l=[0],m=[0],n=0,o=null!=k?k.kd:0,p=null!=k?k:new bU;if(null==a||12>e)return 7;p.data=a,p.w=d,p.ha=e,d=[d],e=[e],p.gb=[p.gb];c:{var q=d,s=e,t=p.gb;if(b(null!=a),b(null!=s),b(null!=t),t[0]=0,12<=s[0]&&!c(a,q[0],"RIFF")){if(c(a,q[0]+8,"WEBP")){t=3;break c}var u=G(a,q[0]+4);if(12>u||0xfffffff6s[0]-8){t=7;break c}t[0]=u,q[0]+=12,s[0]-=12}t=0}if(0!=t)return t;for(u=0t[0])t=7;else{if(!c(w,s[0],"VP8X")){if(10!=G(w,s[0]+4)){t=3;break c}if(18>t[0]){t=7;break c}var A=G(w,s[0]+8),B=1+F(w,s[0]+12);if(0x80000000<=B*(w=1+F(w,s[0]+15))){t=3;break c}null!=z&&(z[0]=A),null!=x&&(x[0]=B),null!=y&&(y[0]=w),s[0]+=18,t[0]-=18,C[0]=1}t=0}}if(n=n[0],q=q[0],0!=t)return t;if(s=!!(2&q),!u&&n)return 3;if(null!=h&&(h[0]=!!(16&q)),null!=i&&(i[0]=s),null!=j&&(j[0]=0),i=l[0],q=m[0],n&&s&&null==k){t=0;break}if(4>e){t=7;break}if(u&&n||!u&&!n&&!c(a,d[0],"ALPH")){e=[e],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];c:{A=a,t=d,u=e;var C=p.gb;x=p.na,y=p.P,z=p.Sa,B=22,b(null!=A),b(null!=u),w=t[0];var D=u[0];for(b(null!=x),b(null!=z),x[0]=null,y[0]=null,z[0]=0;;){if(t[0]=w,u[0]=D,8>D){t=7;break c}var E=G(A,w+4);if(0xfffffff6C){t=3;break c}if(!c(A,w,"VP8 ")||!c(A,w,"VP8L")){t=0;break c}if(D[0]u[0])t=7;else{if(w||B){if(C=G(C,A+4),12<=x&&C>x-12){t=3;break c}if(o&&C>u[0]-8){t=7;break c}y[0]=C,t[0]+=8,u[0]-=8,z[0]=B}else z[0]=5<=u[0]&&47==C[A+0]&&!(C[A+4]>>5),y[0]=u[0];t=0}if(e=e[0],p.Ja=p.Ja[0],p.xa=p.xa[0],d=d[0],0!=t)break;if(0xfffffff6e){t=7;break}j=i,o=q,s=h,null==a||5>e?a=0:5<=e&&47==a[d+0]&&!(a[d+4]>>5)?(u=[0],C=[0],x=[0],r(y=new v,a,d,e),ap(y,u,C,x)?(null!=j&&(j[0]=u[0]),null!=o&&(o[0]=C[0]),null!=s&&(s[0]=x[0]),a=1):a=0):a=0}else{if(10>e){t=7;break}j=q,null==a||10>e||!aX(a,d+3,e-3)?a=0:(o=a[d+0]|a[d+1]<<8|a[d+2]<<16,s=16383&(a[d+7]<<8|a[d+6]),a=16383&(a[d+9]<<8|a[d+8]),1&o||3<(o>>1&7)||!(o>>4&1)||o>>5>=p.Ja||!s||!a?a=0:(i&&(i[0]=s),j&&(j[0]=a),a=1))}if(!a||(i=i[0],q=q[0],n&&(l[0]!=i||m[0]!=q)))return 3;null!=k&&(k[0]=p,k.offset=d-k.w,b(0xfffffff6>d-k.w),b(k.offset==k.ha-e));break}return 0==t||7==t&&n&&null==k?(null!=h&&(h[0]|=null!=p.na&&0c||(f&=-2,g&=-2),0>f||0>g||0>=h||0>=i||f+h>d||g+i>e))return 0;if(b.v=f,b.j=g,b.va=f+h,b.o=g+i,b.U=h,b.T=i,b.da=null!=a&&0a.S){var b=a.f.RGBA;b.fb+=(a.height-1)*b.A,b.A=-b.A}else b=a.f.kb,a=a.height,b.O+=(a-1)*b.fa,b.fa=-b.fa,b.N+=(a-1>>1)*b.Ab,b.Ab=-b.Ab,b.W+=(a-1>>1)*b.Db,b.Db=-b.Db,null!=b.F&&(b.J+=(a-1)*b.lb,b.lb=-b.lb);return 0}function cp(a,b,c,d){if(null==d||0>=a||0>=b)return 2;if(null!=c){if(c.Da){var e=c.cd,g=c.bd,h=-2&c.v,i=-2&c.j;if(0>h||0>i||0>=e||0>=g||h+e>a||i+g>b)return 2;a=e,b=g}if(c.da){if(!K(a,b,e=[c.ib],g=[c.hb]))return 2;a=e[0],b=g[0]}}d.width=a,d.height=b;c:{var j=d.width,k=d.height;if(a=d.S,0>=j||0>=k||!(a>=dd&&13>a))a=2;else{if(0>=d.Rd&&null==d.sd){h=g=e=b=0;var l=(i=j*d9[a])*k;if(11>a||(g=(k+1)/2*(b=(j+1)/2),12==a&&(h=(e=j)*k)),null==(k=f(l+2*g+h))){a=1;break c}d.sd=k,11>a?((j=d.f.RGBA).eb=k,j.fb=0,j.A=i,j.size=l):((j=d.f.kb).y=k,j.O=0,j.fa=i,j.Fd=l,j.f=k,j.N=0+l,j.Ab=b,j.Cd=g,j.ea=k,j.W=0+l+g,j.Db=b,j.Ed=g,12==a&&(j.F=k,j.J=0+l+2*g),j.Tc=h,j.lb=e)}if(b=1,e=d.S,g=d.width,h=d.height,e>=dd&&13>e)if(11>e)b&=(i=Math.abs((a=d.f.RGBA).A))*(h-1)+g<=a.size,b&=i>=g*d9[e],b&=null!=a.eb;else{a=d.f.kb,i=(g+1)/2,l=(h+1)/2,j=Math.abs(a.fa),k=Math.abs(a.Ab);var m=Math.abs(a.Db),n=Math.abs(a.lb),o=n*(h-1)+g;b&=j*(h-1)+g<=a.Fd,b&=k*(l-1)+i<=a.Cd,b=(b&=m*(l-1)+i<=a.Ed)&j>=g&k>=i&m>=i&null!=a.y&null!=a.f&null!=a.ea,12==e&&(b&=n>=g,b&=o<=a.Tc,b&=null!=a.F)}else b=0;a=2*!b}}return 0!=a||null!=c&&c.fd&&(a=co(d)),a}var cq=64,cr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,0xffffff],cs=24,ct=32,cu=8,cv=[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];N("Predictor0","PredictorAdd0"),a.Predictor0=function(){return 0xff000000},a.Predictor1=function(a){return a},a.Predictor2=function(a,b,c){return b[c+0]},a.Predictor3=function(a,b,c){return b[c+1]},a.Predictor4=function(a,b,c){return b[c-1]},a.Predictor5=function(a,b,c){return P(P(a,b[c+1]),b[c+0])},a.Predictor6=function(a,b,c){return P(a,b[c-1])},a.Predictor7=function(a,b,c){return P(a,b[c+0])},a.Predictor8=function(a,b,c){return P(b[c-1],b[c+0])},a.Predictor9=function(a,b,c){return P(b[c+0],b[c+1])},a.Predictor10=function(a,b,c){return P(P(a,b[c-1]),P(b[c+0],b[c+1]))},a.Predictor11=function(a,b,c){var d=b[c+0];return 0>=S(d>>24&255,a>>24&255,(b=b[c-1])>>24&255)+S(d>>16&255,a>>16&255,b>>16&255)+S(d>>8&255,a>>8&255,b>>8&255)+S(255&d,255&a,255&b)?d:a},a.Predictor12=function(a,b,c){var d=b[c+0];return(Q((a>>24&255)+(d>>24&255)-((b=b[c-1])>>24&255))<<24|Q((a>>16&255)+(d>>16&255)-(b>>16&255))<<16|Q((a>>8&255)+(d>>8&255)-(b>>8&255))<<8|Q((255&a)+(255&d)-(255&b)))>>>0},a.Predictor13=function(a,b,c){var d=b[c-1];return(R((a=P(a,b[c+0]))>>24&255,d>>24&255)<<24|R(a>>16&255,d>>16&255)<<16|R(a>>8&255,d>>8&255)<<8|R(255&a,255&d))>>>0};var cw=a.PredictorAdd0;a.PredictorAdd1=T,N("Predictor2","PredictorAdd2"),N("Predictor3","PredictorAdd3"),N("Predictor4","PredictorAdd4"),N("Predictor5","PredictorAdd5"),N("Predictor6","PredictorAdd6"),N("Predictor7","PredictorAdd7"),N("Predictor8","PredictorAdd8"),N("Predictor9","PredictorAdd9"),N("Predictor10","PredictorAdd10"),N("Predictor11","PredictorAdd11"),N("Predictor12","PredictorAdd12"),N("Predictor13","PredictorAdd13");var cx=a.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var cy,cz=a.ColorIndexInverseTransform,cA=a.MapARGB,cB=a.VP8LColorIndexInverseTransformAlpha,cC=a.MapAlpha,cD=a.VP8LPredictorsAdd=[];cD.length=16,(a.VP8LPredictors=[]).length=16,(a.VP8LPredictorsAdd_C=[]).length=16,(a.VP8LPredictors_C=[]).length=16;var cE,cF,cG,cH,cI,cJ,cK,cL,cM,cN,cO,cP,cQ,cR,cS,cT,cU,cV,cW,cX,cY,cZ,c$,c_,c0,c1,c2,c3,c4=f(511),c5=f(2041),c6=f(225),c7=f(767),c8=0,c9=c5,da=c6,db=c7,dc=c4,dd=0,de=1,df=2,dg=3,dh=4,di=5,dj=6,dk=7,dl=8,dm=9,dn=10,dp=[2,3,7],dq=[3,3,11],dr=[280,256,256,256,40],ds=[0,1,1,1,0],dt=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],du=[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],dv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],dw=8,dx=[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],dy=[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],dz=null,dA=[[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]],dB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dC=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],dD=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],dE=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],dF=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dG=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],dH=[],dI=[],dJ=[],dK=1,dL=2,dM=[],dN=[];b5("UpsampleRgbLinePair",cb,3),b5("UpsampleBgrLinePair",cc,3),b5("UpsampleRgbaLinePair",ch,4),b5("UpsampleBgraLinePair",cg,4),b5("UpsampleArgbLinePair",cf,4),b5("UpsampleRgba4444LinePair",ce,2),b5("UpsampleRgb565LinePair",cd,2);var dO=a.UpsampleRgbLinePair,dP=a.UpsampleBgrLinePair,dQ=a.UpsampleRgbaLinePair,dR=a.UpsampleBgraLinePair,dS=a.UpsampleArgbLinePair,dT=a.UpsampleRgba4444LinePair,dU=a.UpsampleRgb565LinePair,dV=16,dW=32768,dX=-227,dY=482,dZ=6,d$=16383,d_=0,d0=f(256),d1=f(256),d2=f(256),d3=f(256),d4=f(dY-dX),d5=f(dY-dX);ci("YuvToRgbRow",cb,3),ci("YuvToBgrRow",cc,3),ci("YuvToRgbaRow",ch,4),ci("YuvToBgraRow",cg,4),ci("YuvToArgbRow",cf,4),ci("YuvToRgba4444Row",ce,2),ci("YuvToRgb565Row",cd,2);var d6=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],d7=[0,2,8],d8=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(a,c,h,i,j){var k=de,l=new bT,m=new ag;l.ba=m,m.S=k,m.width=[m.width],m.height=[m.height];var n=m.width,o=m.height,p=new ah;if(null==p||null==a)var q=2;else b(null!=p),q=cm(a,c,h,p.width,p.height,p.Pd,p.Qd,p.format,null);if(0!=q?n=0:(null!=n&&(n[0]=p.width[0]),null!=o&&(o[0]=p.height[0]),n=1),n){m.width=m.width[0],m.height=m.height[0],null!=i&&(i[0]=m.width),null!=j&&(j[0]=m.height);c:{if(i=new aU,(j=new bU).data=a,j.w=c,j.ha=h,j.kd=1,c=[0],b(null!=j),(0==(a=cm(j.data,j.w,j.ha,null,null,null,c,null,j))||7==a)&&c[0]&&(a=4),0==(c=a)){if(b(null!=l),i.data=j.data,i.w=j.w+j.offset,i.ha=j.ha-j.offset,i.put=an,i.ac=am,i.bc=ao,i.ma=l,j.xa){if(null==(a=aC())){l=1;break c}if(function(a,c){for(var d=[0],e=[0],f=[0];;){if(null==a)return 0;if(null==c)return a.a=2,0;if(a.l=c,a.a=0,r(a.m,c.data,c.w,c.ha),!ap(a.m,d,e,f)){a.a=3;break}if(a.xb=dL,c.width=d[0],c.height=e[0],!aD(d[0],e[0],1,a,null))break;return 1}return b(0!=a.a),0}(a,i)){if(i=0==(c=cp(i.width,i.height,l.Oa,l.ba))){d:{for(i=a;;){if(null==i){i=0;break d}if(b(null!=i.s.yc),b(null!=i.s.Ya),b(0i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&b4()),i.Pb&&0(n=h.Md)?0:100o;++o)12>(q=j.pb[o]).lc&&(q.ia=n*d8[0>q.lc?0:q.lc]>>3),p|=q.ia;p&&(alert("todo:VP8InitRandom"),j.ia=1)}j.Ga=h.Id,100j.Ga&&(j.Ga=0)}(function(a,c){if(null==a)return 0;if(null==c)return aW(a,2,"NULL VP8Io parameter in VP8Decode().");if(!a.cb&&!aY(a,c))return 0;if(b(a.cb),null==c.ac||c.ac(c)){c.ob&&(a.L=0);var h=d7[a.L];if(2==a.L?(a.yb=0,a.zb=0):(a.yb=c.v-h>>4,a.zb=c.j-h>>4,0>a.yb&&(a.yb=0),0>a.zb&&(a.zb=0)),a.Va=c.o+15+h>>4,a.Hb=c.va+15+h>>4,a.Hb>a.za&&(a.Hb=a.za),a.Va>a.Ub&&(a.Va=a.Ub),0h;++h){if(a.Qa.Cb){var k=a.Qa.Lb[h];a.Qa.Fb||(k+=j.Tb)}else k=j.Tb;for(i=0;1>=i;++i){var l=a.gd[h][i],m=k;if(j.Pc&&(m+=j.vd[0],i&&(m+=j.od[0])),0<(m=0>m?0:63>2:n>>1)>9-j.wb&&(n=9-j.wb),1>n&&(n=1),l.dd=n,l.tc=2*m+n,l.ld=40<=m?2:+(15<=m)}else l.tc=0;l.La=i}}}h=0}else aW(a,6,"Frame setup failed"),h=a.a;if(h=0==h){if(h){a.$c=0,0a.Vb){if(a.Vb=0,a.Ec=f(l),a.Fc=0,null==a.Ec){h=aW(a,1,"no memory during frame initialization.");break d}a.Vb=l}l=a.Ec,m=a.Fc,a.Ac=l,a.Bc=m,m+=j,a.Gd=g(o,aR),a.Hd=0,a.rb=g(p+1,aN),a.sb=1,a.wa=q?g(q,aM):null,a.Y=0,a.D.Nb=0,a.D.wa=a.wa,a.D.Y=a.Y,0=h;++h)c4[255+h]=0>h?-h:h;for(h=-1020;1020>=h;++h)c5[1020+h]=-128>h?-128:127=h;++h)c6[112+h]=-16>h?-16:15=h;++h)c7[255+h]=0>h?0:255l;++l){var t,u=o[0+l];for(t=0;4>t;++t){u=dE[m[n+t]][u];for(var v=dC[C(k,u[0])];0>3;for(v=0;256>v;v+=16)l[q+v]=E}A=1,B=n[0]}var F=15&k.la,G=15&s.la;for(v=0;4>v;++v){var H=1&G;for(E=y=0;4>E;++E)F=F>>1|(H=(D=dz(m,B,D=H+(1&F),p.Sc,A,l,q))>A)<<7,y=y<<2|(3>=4,G=G>>1|H<<7,t=(t<<8|y)>>>0}for(B=F,A=G>>4,w=0;4>w;w+=2){for(y=0,F=k.la>>4+w,G=s.la>>4+w,v=0;2>v;++v){for(H=1&G,E=0;2>E;++E)D=H+(1&F),F=F>>1|(H=0<(D=dz(m,n[2],D,p.Qc,0,l,q)))<<3,y=y<<2|(3>=2,G=G>>1|H<<5}u|=y<<4*w,B|=F<<4<=h.zb&&h.M<=h.Va,0==h.Aa)d:{if(g.M=h.M,g.uc=k,cl(h,g),j=1,g=(y=h.D).Nb,k=(u=d7[h.L])*h.R,m=u/2*h.B,v=16*g*h.R,E=8*g*h.B,n=h.sa,o=h.ta-k+v,p=h.qa,l=h.ra-m+E,q=h.Ha,s=h.Ia-m+E,G=0==(F=y.M),t=F>=h.Va-1,2==h.Aa&&cl(h,y),y.uc)for(H=(D=h).D.M,b(D.D.uc),y=D.yb;yi.o&&(F=i.o),i.F=null,i.J=null,null!=h.Fa&&0e||0>=g||e+g>i)return null;if(!a.Cc){if(null==a.ga){if(a.ga=new bY,(A=null==a.ga)||(A=c.width*c.o,b(0==a.Gb.length),a.Gb=f(A),a.Uc=0,null==a.Gb?A=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,A=1),A=!A),!A){A=a.ga;var j=a.Fa,k=a.P,l=a.qc,m=a.mb,n=a.nb,o=k+1,p=l-1,q=A.l;if(b(null!=j&&null!=m&&null!=c),dM[0]=null,dM[1]=bZ,dM[2]=b$,dM[3]=b_,A.ca=m,A.tb=n,A.c=c.width,A.i=c.height,b(0=l)c=0;else if(A.$a=3&j[k+0],A.Z=j[k+0]>>2&3,A.Lc=j[k+0]>>4&3,k=j[k+0]>>6&3,0>A.$a||1=A.c*A.i;A=!c}if(A)return null;1!=a.ga.Lc?a.Ga=0:g=i-e}b(null!=a.ga),b(e+g<=i);c:{if(c=(j=a.ga).c,i=j.l.o,0==j.$a){if(o=a.rc,p=a.Vc,q=a.Fa,k=a.P+1+e*c,l=a.mb,m=a.nb+e*c,b(k<=a.P+a.qc),0!=j.Z)for(b(null!=dM[j.Z]),A=0;A=c)c=1;else if(j.ic||b4(),j.ic){j=A.V,o=A.Ba,p=A.c;var s=A.i,t=(q=1,k=A.$/p,l=A.$%p,m=A.m,n=A.s,A.$),u=p*s,v=p*c,w=n.wc,y=t(s=as(y.G[0],y.H[0],m)))j[o+t]=s,++t,++l>=p&&(l=0,++k<=c&&!(k%16)&&az(A,k));else{if(!(280>s)){q=0;break d}s=aq(s-256,m);var A,B,C=as(y.G[4],y.H[4],m);if(z(m),!(t>=(C=ar(p,C=aq(C,m)))&&u-t>=s)){q=0;break d}for(B=0;B=p;)l-=p,++k<=c&&!(k%16)&&az(A,k);tc?c:k);break}!q||m.h&&t=i&&(a.Cc=1),g=1}if(!g)return null;if(a.Cc&&(null!=(g=a.ga)&&(g.mc=null),a.ga=null,0>1),i.W+=h.B*(u>>1),null!=i.F&&(i.J+=i.width*u)),y>1,i.W+=i.v>>1,null!=i.F&&(i.J+=i.v),i.ka=y-i.j,i.U=i.va-i.v,i.T=F-y,j=i.put(i))}g+1!=h.Ic||t||(d(h.sa,h.ta-k,n,o+16*h.R,k),d(h.qa,h.ra-m,p,l+8*h.B,m),d(h.Ha,h.Ia-m,q,s+8*h.B,m))}if(!j)return aW(a,6,"Output aborted.")}return 1}(a,c)),null!=c.bc&&c.bc(c),h&=1}return h?(a.cb=0,h):0})(a,i)||(c=a.a)}}else c=a.a;0==c&&null!=l.Oa&&l.Oa.fd&&(c=co(l.ba))}l=c}k=0!=l?null:11>k?m.f.RGBA.eb:m.f.kb.y}else k=null;return k};var d9=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function j(a,b){return(a[b+0]|a[b+1]<<8|a[b+2]<<16)>>>0}function k(a,b){return(a[b+0]|a[b+1]<<8|a[b+2]<<16|a[b+3]<<24)>>>0}new i;var l=[0],m=[0],n=[],o=new i,p=function(a,b){var c={},d=0,e=!1,f=0,g=0;if(c.frames=[],!function(a,b){for(var c=0;c<4;c++)if(a[b+c]!="RIFF".charCodeAt(c))return!0;return!1}(a,b)){for(k(a,b+=4),b+=8;b>1&1}"ANMF"!=m&&(b+=o)}return c}}(a,0);p.response=a,p.rgbaoutput=!0,p.dataurl=!1;var q=p.header?p.header:null,r=p.frames?p.frames:null;if(q){q.loop_counter=q.loop_count,l=[q.canvas_height],m=[q.canvas_width];for(var s=0;s=2?a[1]:b[0],b[2]=a.length>=3?a[2]:b[0],b[3]=a.length>=4?a[3]:b[1]),b0.margin=b}});var f=!1;Object.defineProperty(this,"autoPaging",{get:function(){return f},set:function(a){f=a}});var g=0;Object.defineProperty(this,"lastBreak",{get:function(){return g},set:function(a){g=a}});var h=[];Object.defineProperty(this,"pageBreaks",{get:function(){return h},set:function(a){h=a}}),Object.defineProperty(this,"ctx",{get:function(){return b0},set:function(a){a instanceof b1&&(b0=a)}}),Object.defineProperty(this,"path",{get:function(){return b0.path},set:function(a){b0.path=a}});var i=[];Object.defineProperty(this,"ctxStack",{get:function(){return i},set:function(a){i=a}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(a){var b;b=b3(a),this.ctx.fillStyle=b.style,this.ctx.isFillTransparent=0===b.a,this.ctx.fillOpacity=b.a,this.pdf.setFillColor(b.r,b.g,b.b,{a:b.a}),this.pdf.setTextColor(b.r,b.g,b.b,{a:b.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(a){var b=b3(a);this.ctx.strokeStyle=b.style,this.ctx.isStrokeTransparent=0===b.a,this.ctx.strokeOpacity=b.a,0===b.a?this.pdf.setDrawColor(255,255,255):(b.a,this.pdf.setDrawColor(b.r,b.g,b.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(a){-1!==["butt","round","square"].indexOf(a)&&(this.ctx.lineCap=a,this.pdf.setLineCap(a))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(a){isNaN(a)||(this.ctx.lineWidth=a,this.pdf.setLineWidth(a))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(a){-1!==["bevel","round","miter"].indexOf(a)&&(this.ctx.lineJoin=a,this.pdf.setLineJoin(a))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(a){isNaN(a)||(this.ctx.miterLimit=a,this.pdf.setMiterLimit(a))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(a){this.ctx.textBaseline=a}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(a){-1!==["right","end","center","left","start"].indexOf(a)&&(this.ctx.textAlign=a)}});var j=null,k=null,l=null;Object.defineProperty(this,"fontFaces",{get:function(){return l},set:function(a){j=null,k=null,l=a}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(a){var b;if(this.ctx.font=a,null!==(b=/^\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(a))){var c=b[1];b[2];var d=b[3],e=b[4];b[5];var f=b[6],g=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(e)[2];e="px"===g?Math.floor(parseFloat(e)*this.pdf.internal.scaleFactor):"em"===g?Math.floor(parseFloat(e)*this.pdf.getFontSize()):Math.floor(parseFloat(e)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(e);var h=function(a){var b,c,d=[],e=a.trim();if(""===e)return bF;if(e in aE)return[aE[e]];for(;""!==e;){switch(c=null,b=(e=aG(e)).charAt(0)){case'"':case"'":c=function(a,b){for(var c=0;c=700||"bold"===c)&&(l="bold"),"italic"===c&&(l+="italic"),0===l.length&&(l="normal");for(var m="",n={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"},o=0;o=2*Math.PI&&(d=0,e=2*Math.PI),this.path.push({type:"arc",x:a,y:b,radius:c,startAngle:d,endAngle:e,counterclockwise:f})},b2.prototype.arcTo=function(a,b,c,d,e){throw Error("arcTo not implemented.")},b2.prototype.rect=function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c)||isNaN(d))throw l("jsPDF.context2d.rect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(a,b),this.lineTo(a+c,b),this.lineTo(a+c,b+d),this.lineTo(a,b+d),this.lineTo(a,b),this.lineTo(a+c,b),this.lineTo(a,b)},b2.prototype.fillRect=function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c)||isNaN(d))throw l("jsPDF.context2d.fillRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!b4.call(this)){var e={};"butt"!==this.lineCap&&(e.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(e.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(a,b,c,d),this.fill(),e.hasOwnProperty("lineCap")&&(this.lineCap=e.lineCap),e.hasOwnProperty("lineJoin")&&(this.lineJoin=e.lineJoin)}},b2.prototype.strokeRect=function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c)||isNaN(d))throw l("jsPDF.context2d.strokeRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b5.call(this)||(this.beginPath(),this.rect(a,b,c,d),this.stroke())},b2.prototype.clearRect=function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c)||isNaN(d))throw l("jsPDF.context2d.clearRect: Invalid arguments",arguments),Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(a,b,c,d))},b2.prototype.save=function(a){a="boolean"!=typeof a||a;for(var b=this.pdf.internal.getCurrentPageInfo().pageNumber,c=0;c0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0},b2.prototype.drawImage=function(a,b,c,d,e,f,g,h,i){var j=this.pdf.getImageProperties(a),k=1,l=1,m=1,n=1;void 0!==d&&void 0!==h&&(m=h/d,n=i/e,k=j.width/d*h/d,l=j.height/e*i/e),void 0===f&&(f=b,g=c,b=0,c=0),void 0!==d&&void 0===h&&(h=d,i=e),void 0===d&&void 0===h&&(h=j.width,i=j.height);var o=this.ctx.transform.decompose(),p=cp(o.rotate.shx),q=new b_,r=(q=(q=(q=q.multiply(o.translate)).multiply(o.skew)).multiply(o.scale)).applyToRectangle(new b$(f-b*m,g-c*n,d*k,e*l));if(this.autoPaging){for(var s,t=b7.call(this,r),u=[],v=0;vw||yr||t0)){for(;i>=0;i--)if(!0!==e[i-1].close&&!0!==e[i-1].begin){e[i-1].deltas.push(c),e[i-1].abs.push(h);break}}break;case"bct":c=[h.x1-f[g-1].x,h.y1-f[g-1].y,h.x2-f[g-1].x,h.y2-f[g-1].y,h.x-f[g-1].x,h.y-f[g-1].y],e[e.length-1].deltas.push(c);break;case"qct":var j=f[g-1].x+2/3*(h.x1-f[g-1].x),k=f[g-1].y+2/3*(h.y1-f[g-1].y),l=h.x+2/3*(h.x1-h.x),m=h.y+2/3*(h.y1-h.y),n=h.x,o=h.y;c=[j-f[g-1].x,k-f[g-1].y,l-f[g-1].x,m-f[g-1].y,n-f[g-1].x,o-f[g-1].y],e[e.length-1].deltas.push(c);break;case"arc":e.push({deltas:[],abs:[],arc:!0}),Array.isArray(e[e.length-1].abs)&&e[e.length-1].abs.push(h)}}d=b?null:"stroke"===a?"stroke":"fill";for(var p=!1,q=0;q=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*a.scale),e=this.lineWidth,this.lineWidth=e*a.scale);var C="text"!==this.autoPaging;if(C||B.y+B.h<=v){if(C||B.y>=t&&B.x<=x){var D=C?a.text:this.pdf.splitTextToSize(a.text,a.maxWidth||x-B.x)[0],E=b9([JSON.parse(JSON.stringify(l))],this.posX+this.margin[3],-z+t+this.ctx.prevPageLastElemOffset)[0];let c=C&&(s>q||s=.01&&(this.pdf.setFontSize(d),this.lineWidth=e)}}else a.scale>=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*a.scale),e=this.lineWidth,this.lineWidth=e*a.scale),this.pdf.text(a.text,i.x+this.posX,i.y+this.posY,{angle:a.angle,align:b,renderingMode:a.renderingMode,maxWidth:a.maxWidth}),a.scale>=.01&&(this.pdf.setFontSize(d),this.lineWidth=e)},ck=function(a,b,c,d){c=c||0,d=d||0,this.pdf.internal.out(bV(a+c)+" "+bW(b+d)+" l")},cl=function(a,b,c){return this.pdf.lines(a,b,c,null,null)},cm=function(a,b,c,d,e,f,g,h){this.pdf.internal.out([bU(bX(c+a)),bU(bY(d+b)),bU(bX(e+a)),bU(bY(f+b)),bU(bX(g+a)),bU(bY(h+b)),"c"].join(" "))},cn=function(a,b,c,d){for(var e=2*Math.PI,f=Math.PI/2;b>c;)b-=e;var g=Math.abs(c-b);g1e-5;){var k=j+i*Math.min(g,f);h.push(co.call(this,a,j,k)),g-=Math.abs(k-j),j=k}return h},co=function(a,b,c){var d=(c-b)/2,e=a*Math.cos(d),f=a*Math.sin(d),g=-f,h=e*e+g*g,i=h+e*e+g*f,j=4/3*(Math.sqrt(2*h*i)-i)/(e*f-g*e),k=e-j*g,l=g+j*e,m=-l,n=d+b,o=Math.cos(n),p=Math.sin(n);return{x1:a*Math.cos(b),y1:a*Math.sin(b),x2:k*o-l*p,y2:k*p+l*o,x3:k*o-m*p,y3:k*p+m*o,x4:a*Math.cos(c),y4:a*Math.sin(c)}},cp=function(a){return 180*a/Math.PI},cq=function(a,b,c,d,e,f){var g=a+.5*(c-a),h=b+.5*(d-b),i=e+.5*(c-e),j=f+.5*(d-f),k=Math.min(a,e,g,i),l=Math.min(b,f,h,j);return new b$(k,l,Math.max(a,e,g,i)-k,Math.max(b,f,h,j)-l)},cr=function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=c-a,x=d-b,y=e-c,z=f-d,A=g-e,B=h-f;for(j=0;j<41;j++)q=(o=(k=a+(i=j/40)*w)+i*((m=c+i*y)-k))+i*(m+i*(e+i*A-m)-o),r=(p=(l=b+i*x)+i*((n=d+i*z)-l))+i*(n+i*(f+i*B-n)-p),0==j?(s=q,t=r,u=q,v=r):(s=Math.min(s,q),t=Math.min(t,r),u=Math.max(u,q),v=Math.max(v,r));return new b$(Math.round(s),Math.round(t),Math.round(u-s),Math.round(v-t))},cs=function(){if(!this.prevLineDash&&!this.ctx.lineDash.length&&!this.ctx.lineDashOffset)return;let a=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==a&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=a)},ct=H.API,cu=function(a){var b,c,d,e,f,g,h,i,j,k;for(/[^\x00-\xFF]/.test(a),c=[],d=0,e=(a+=b="\0\0\0\0".slice(a.length%4||4)).length;e>d;d+=4)0!==(f=(a.charCodeAt(d)<<24)+(a.charCodeAt(d+1)<<16)+(a.charCodeAt(d+2)<<8)+a.charCodeAt(d+3))?(g=(f=((f=((f=((f=(f-(k=f%85))/85)-(j=f%85))/85)-(i=f%85))/85)-(h=f%85))/85)%85,c.push(g+33,h+33,i+33,j+33,k+33)):c.push(122);return function(a,b){for(var c=b;c>0;c--)a.pop()}(c,b.length),String.fromCharCode.apply(String,c)+"~>"},cv=function(a){var b,c,d,e,f,g=String,h="length",i="charCodeAt",j="slice",k="replace";for(a[j](-2),a=a[j](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),d=[],e=0,f=(a+=b="uuuuu"[j](a[h]%5||5))[h];f>e;e+=5)c=0x31c84b1*(a[i](e)-33)+614125*(a[i](e+1)-33)+7225*(a[i](e+2)-33)+85*(a[i](e+3)-33)+(a[i](e+4)-33),d.push(255&c>>24,255&c>>16,255&c>>8,255&c);return function(a,b){for(var c=b;c>0;c--)a.pop()}(d,b[h]),g.fromCharCode.apply(g,d)},cw=function(a){var b=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(a=a.replace(/\s/g,"")).indexOf(">")&&(a=a.substr(0,a.indexOf(">"))),a.length%2&&(a+="0"),!1===b.test(a))return"";for(var c="",d=0;d",e.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":d=cx(d),e.push("/FlateDecode");break;default:throw Error('The filter: "'+b[c]+'" is not implemented')}return{data:d,reverseChain:e.reverse().join(" ")}},(cy=H.API).loadFile=function(b,c,d){var e=b,f=c;f=!1!==f;var g=void 0,h=a.r(22734);if(e=a.r(14747).resolve(e),f)try{g=h.readFileSync(e,{encoding:"latin1"})}catch(a){return}else h.readFile(e,{encoding:"latin1"},function(a,b){d&&(a&&d(void 0),d(b))});return g},cy.loadImageFile=cy.loadFile,function(b){function c(){return(f.html2canvas?Promise.resolve(f.html2canvas):new Promise(function(b,c){try{b(a.r(254))}catch(a){c(a)}})).catch(function(a){return Promise.reject(Error("Could not load html2canvas: "+a))}).then(function(a){return a.default?a.default:a})}function d(){return(f.DOMPurify?Promise.resolve(f.DOMPurify):new Promise(function(b,c){try{b(a.r(60729))}catch(a){c(a)}})).catch(function(a){return Promise.reject(Error("Could not load dompurify: "+a))}).then(function(a){return a.default?a.default:a})}var e=function(a){var b=typeof a;return"undefined"===b?"undefined":"string"===b||a instanceof String?"string":"number"===b||a instanceof Number?"number":"function"===b||a instanceof Function?"function":a&&a.constructor===Array?"array":a&&1===a.nodeType?"element":"object"===b?"object":"unknown"},g=function(a,b){var c=document.createElement(a);for(var d in b.className&&(c.className=b.className),b.innerHTML&&b.dompurify&&(c.innerHTML=b.dompurify.sanitize(b.innerHTML)),b.style)c.style[d]=b.style[d];return c},h=function(a,b){for(var c=3===a.nodeType?document.createTextNode(a.nodeValue):a.cloneNode(!1),d=a.firstChild;d;d=d.nextSibling)!0!==b&&1===d.nodeType&&"SCRIPT"===d.nodeName||c.appendChild(h(d,b));return 1===a.nodeType&&("CANVAS"===a.nodeName?(c.width=a.width,c.height=a.height,c.getContext("2d").drawImage(a,0,0)):"TEXTAREA"!==a.nodeName&&"SELECT"!==a.nodeName||(c.value=a.value),c.addEventListener("load",function(){c.scrollTop=a.scrollTop,c.scrollLeft=a.scrollLeft},!0)),c},i=function a(b){var c=Object.assign(a.convert(Promise.resolve()),JSON.parse(JSON.stringify(a.template))),d=a.convert(Promise.resolve(),c);return(d=d.setProgress(1,a,1,[a])).set(b)};(i.prototype=Object.create(Promise.prototype)).constructor=i,i.convert=function(a,b){return a.__proto__=b||i.prototype,a},i.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},i.prototype.from=function(a,b){return this.then(function(){switch(b=b||function(a){switch(e(a)){case"string":return"string";case"element":return"canvas"===a.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(a)){case"string":return this.then(d).then(function(b){return this.set({src:g("div",{innerHTML:a,dompurify:b})})});case"element":return this.set({src:a});case"canvas":return this.set({canvas:a});case"img":return this.set({img:a});default:return this.error("Unknown source type.")}})},i.prototype.to=function(a){switch(a){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},i.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var a={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},b=h(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===b.tagName&&(a.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=g("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=g("div",{className:"html2pdf__container",style:a}),this.prop.container.appendChild(b),this.prop.container.firstChild.appendChild(g("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},i.prototype.toCanvas=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(c).then(function(a){var b=Object.assign({},this.opt.html2canvas);return delete b.onrendered,a(this.prop.container,b)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},i.prototype.toContext2d=function(){var a=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(a).then(c).then(function(a){var b=this.opt.jsPDF,c=this.opt.fontFaces,d=Object.assign({async:!0,allowTaint:!0,scale:"number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete d.onrendered,b.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,b.context2d.posX=this.opt.x,b.context2d.posY=this.opt.y,b.context2d.margin=this.opt.margin,b.context2d.fontFaces=c,c)for(var e=0;ei&&(h=j,j=i,i=h);else{if("l"!==a&&"landscape"!==a)throw"Invalid orientation: "+a;a="l",i>j&&(h=j,j=i,i=h)}return{width:j,height:i,unit:b,k:e,orientation:a}},b.html=function(a,b){(b=b||{}).callback=b.callback||function(){},b.html2canvas=b.html2canvas||{},b.html2canvas.canvas=b.html2canvas.canvas||this.canvas,b.jsPDF=b.jsPDF||this,b.fontFaces=b.fontFaces?b.fontFaces.map(aB):null;var c=new i(b);return b.worker?c:c.from(a).doCallback()}}(H.API),H.API.addJS=function(a){return bz=a,this.internal.events.subscribe("postPutResources",function(){bx=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(bx+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),by=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+bz+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==bx&&void 0!==by&&this.internal.out("/Names <>")}),this},(cz=H.API).events.push(["postPutResources",function(){var a=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var b=this.outline.render().split(/\r\n/),c=0;c> endobj")}var k=this.internal.newObject();for(this.internal.write("<< /Names [ "),c=0;c>","endobj"),cA=this.internal.newObject(),this.internal.write("<< /Dests "+k+" 0 R"),this.internal.write(">>","endobj")}}]),cz.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+cA+" 0 R"))}]),cz.events.push(["initialized",function(){var a=this;a.outline={createNamedDestinations:!1,root:{children:[]}},a.outline.add=function(a,b,c){var d={title:b,options:c,children:[]};return null==a&&(a=this.root),a.children.push(d),d},a.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=a,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},a.outline.genIds_r=function(b){b.id=a.internal.newObjectDeferred();for(var c=0;c0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1]))),this.line("/Count "+this.count_r({count:0},a)),this.objEnd()},a.outline.renderItems=function(b){for(var c=this.ctx.pdf.internal.getVerticalCoordinateString,d=0;d0&&this.line("/Prev "+this.makeRef(b.children[d-1])),d0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1])));var f=this.count=this.count_r({count:0},e);if(f>0&&this.line("/Count "+f),e.options&&e.options.pageNumber){var g=a.internal.getPageInfo(e.options.pageNumber);this.line("/Dest ["+g.objId+" 0 R /XYZ 0 "+c(0)+" 0]")}this.objEnd()}for(var h=0;h> \r\nendobj\r\n"},a.outline.count_r=function(a,b){for(var c=0;c1){h=!0,j=void 0;let a=b*c;g=new Uint8Array(a);let i=new DataView(d.buffer);for(let b=0;b=0;a--){for(var d=this.bottom_up?a:this.height-1-a,e=0;e>7-h&1];this.data[g+4*h]=i.blue,this.data[g+4*h+1]=i.green,this.data[g+4*h+2]=i.red,this.data[g+4*h+3]=255}0!==c&&(this.pos+=4-c)}},bR.prototype.bit4=function(){for(var a=Math.ceil(this.width/2),b=a%4,c=this.height-1;c>=0;c--){for(var d=this.bottom_up?c:this.height-1-c,e=0;e>4,i=15&f,j=this.palette[h];if(this.data[g]=j.blue,this.data[g+1]=j.green,this.data[g+2]=j.red,this.data[g+3]=255,2*e+1>=this.width)break;j=this.palette[i],this.data[g+4]=j.blue,this.data[g+4+1]=j.green,this.data[g+4+2]=j.red,this.data[g+4+3]=255}0!==b&&(this.pos+=4-b)}},bR.prototype.bit8=function(){for(var a=this.width%4,b=this.height-1;b>=0;b--){for(var c=this.bottom_up?b:this.height-1-b,d=0;d=0;c--){for(var d=this.bottom_up?c:this.height-1-c,e=0;e>5&b)/b*255|0,i=(f>>10&b)/b*255|0,j=f>>15?255:0,k=d*this.width*4+4*e;this.data[k]=i,this.data[k+1]=h,this.data[k+2]=g,this.data[k+3]=j}this.pos+=a}},bR.prototype.bit16=function(){for(var a=this.width%3,b=parseInt("11111",2),c=parseInt("111111",2),d=this.height-1;d>=0;d--){for(var e=this.bottom_up?d:this.height-1-d,f=0;f>5&c)/c*255|0,j=(g>>11)/b*255|0,k=e*this.width*4+4*f;this.data[k]=j,this.data[k+1]=i,this.data[k+2]=h,this.data[k+3]=255}this.pos+=a}},bR.prototype.bit24=function(){for(var a=this.height-1;a>=0;a--){for(var b=this.bottom_up?a:this.height-1-a,c=0;c=0;a--)for(var b=this.bottom_up?a:this.height-1-a,c=0;cd&&(e.push(a.slice(i,f)),h=0,i=f),h+=b[f],f++;return i!==f&&e.push(a.slice(i,f)),e},bE=function(a,b,c){c||(c={});var d,e,f,g,h,i,j,k=[],l=[k],m=c.textIndent||0,n=0,o=0,p=a.split(" "),q=bB.apply(this,[" ",c])[0];if(i=-1===c.lineIndent?p[0].length+2:c.lineIndent||0){var r=Array(i).join(" "),s=[];p.map(function(a){(a=a.split(/\s*\n/)).length>1?s=s.concat(a.map(function(a,b){return(b&&a.length?"\n":"")+a})):s.push(a[0])}),p=s,i=bC.apply(this,[r,c])}for(f=0,g=p.length;fb||t){if(o>b){for(h=bD.apply(this,[d,e,b-(m+n),b]),k.push(h.shift()),k=[h.pop()];h.length;)l.push([h.shift()]);o=e.slice(d.length-(k[0]?k[0].length:0)).reduce(function(a,b){return a+b},0)}else k=[d];l.push(k),m=o+i,n=q}else k.push(d),m+=n+o,n=q}return j=i?function(a,b){return(b?r:"")+a.join(" ")}:function(a){return a.join(" ")},l.map(j)},bA.splitTextToSize=function(a,b,c){var d,e=(c=c||{}).fontSize||this.internal.getFontSize(),f=(function(a){if(a.widths&&a.kerning)return{widths:a.widths,kerning:a.kerning};var b=this.internal.getFont(a.fontName,a.fontStyle),c="Unicode";return b.metadata[c]?{widths:b.metadata[c].widths||{0:1},kerning:b.metadata[c].kerning||{}}:{font:b.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,c);d=Array.isArray(a)?a:String(a).split(/\r?\n/);var g=this.internal.scaleFactor*b/e;f.textIndent=c.textIndent?c.textIndent*this.internal.scaleFactor/e:0,f.lineIndent=c.lineIndent;var h,i,j=[];for(h=0,i=d.length;hparseInt(this.internal.getFont().id.substr(1),10)?(b=RegExp(a,"g"),c=this.internal.getNumberOfPages()):(b=RegExp(this.pdfEscape16(a,this.internal.getFont()),"g"),c=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var d=1;d<=this.internal.getNumberOfPages();d++)for(var e=0;e1){for(k=0;k>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=c,this},cH=H.API,cI=function(){var a='',b=unescape(encodeURIComponent('')),c=unescape(encodeURIComponent(a)),d=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),e=unescape(encodeURIComponent("")),f=unescape(encodeURIComponent("")),g=c.length+d.length+e.length+b.length+f.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+g+" >>"),this.internal.write("stream"),this.internal.write(b+c+d+e+f),this.internal.write("endstream"),this.internal.write("endobj")},cJ=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")},cH.addMetadata=function(a,b){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:a,namespaceuri:b||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",cJ),this.internal.events.subscribe("postPutResources",cI)),this},cL=(cK=H.API).pdfEscape16=function(a,b){for(var c,d=b.metadata.Unicode.widths,e=["","0","00","000","0000"],f=[""],g=0,h=a.length;g=100&&(f+="\n"+d.length+" beginbfchar\n"+d.join("\n")+"\nendbfchar",d=[]),void 0!==a[b]&&null!==a[b]&&"function"==typeof a[b].toString&&(e=("0000"+a[b].toString(16)).slice(-4),b=("0000"+(+b).toString(16)).slice(-4),d.push("<"+b+"><"+e+">"));return d.length&&(f+="\n"+d.length+" beginbfchar\n"+d.join("\n")+"\nendbfchar\n"),f+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},cK.events.push(["putFont",function(a){!function(a){var b=a.font,c=a.out,d=a.newObject,e=a.putStream;if(b.metadata instanceof H.API.TTFFont&&"Identity-H"===b.encoding){for(var f=b.metadata.Unicode.widths,g=b.metadata.subset.encode(b.metadata.glyIdsUsed,1),h="",i=0;i>"),c("endobj");var m=d();c("<<"),c("/Type /Font"),c("/BaseFont /"+B(b.fontName)),c("/FontDescriptor "+l+" 0 R"),c("/W "+H.API.PDFObject.convert(f)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+b.encoding+")"),c(">>"),c(">>"),c("endobj"),b.objectNumber=d(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+k+" 0 R"),c("/BaseFont /"+B(b.fontName)),c("/Encoding /"+b.encoding),c("/DescendantFonts ["+m+" 0 R]"),c(">>"),c("endobj"),b.isAlreadyPutted=!0}}(a)}]),cK.events.push(["putFont",function(a){!function(a){var b=a.font,c=a.out,d=a.newObject,e=a.putStream;if(b.metadata instanceof H.API.TTFFont&&"WinAnsiEncoding"===b.encoding){for(var f=b.metadata.rawData,g="",h=0;h>"),c("endobj"),b.objectNumber=d();for(var l=0;l>"),c("endobj"),b.isAlreadyPutted=!0}}(a)}]),cN=function(a){var b,c=a.text||"",d=a.x,e=a.y,f=a.options||{},g=a.mutex||{},h=g.pdfEscape,i=g.activeFontKey,j=g.fonts,k=i,l="",m=0,n="",o=j[k].encoding;if("Identity-H"!==j[k].encoding)return{text:c,x:d,y:e,options:f,mutex:g};for(n=c,k=i,Array.isArray(c)&&(n=c[0]),m=0;mn[m].charCodeAt(0)&&j[k].metadata.hasOwnProperty("Unicode")?l+=n[m]:l+="";var p="";return 14>parseInt(k.slice(1))||"WinAnsiEncoding"===o?p=h(l,k).split("").map(function(a){return a.charCodeAt(0).toString(16)}).join(""):"Identity-H"===o&&(p=cL(l,j[k])),g.isHex=!0,{text:p,x:d,y:e,options:f,mutex:g}},cK.events.push(["postProcessText",function(a){var b=a.text||"",c=[],d={text:b,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(b)){var e=0;for(e=0;e","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],n=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)$/),o=!1,p=0;this.__bidiEngine__={};var q=function(a){var b=a.charCodeAt(),c=b>>8,d=l[c];return void 0!==d?cQ[256*d+(255&b)]:252===c||253===c?"AL":n.test(c)?"L":8===c?"R":"N"},r=function(a){for(var b,c=0;c=f.length||"EN"!==(i=g[h-1])&&"AN"!==i||"EN"!==(j=f[h+1])&&"AN"!==j?m="N":o&&(j="AN"),m=j===i?j:"N";break;case"ES":m="EN"===(i=h>0?g[h-1]:"B")&&h+10&&"EN"===g[h-1]){m="EN";break}if(o){m="N";break}for(k=h+1,l=f.length;k=1425&&n<=2303||64286===n)&&("R"===i||"AL"===i)){m="R";break}}}m=h<1||"B"===(i=f[h-1])?"N":g[h-1];break;case"B":o=!1,b=!0,m=p;break;case"S":c=!0,m="N"}return m},t=function(a,b,c){var d=a.split("");return c&&u(d,c,{hiLevel:p}),d.reverse(),b&&b.reverse(),d.join("")},u=function(a,d,e){var f,g,h,l,m,n=-1,r=a.length,t=0,u=[],v=p?j:i,w=[];for(o=!1,b=!1,c=!1,g=0;g0)if(16===f){for(g=n;g-1){for(g=n;g=0&&"WS"===a[e];e--)b[e]=p}}(w,d,r)},v=function(a,c,d,e,f){if(!(f.hiLevel=a){for(i=l+1;i=a;)i++;for(j=l,h=i-1;j=0&&(a[e]=m[d+1])}(d,c,e),v(2,d,b,c,e),v(1,d,b,c,e),d.join("")};return this.__bidiEngine__.doBidiReorder=function(a,b,c){if(function(a,b){if(b)for(var c=0;c>16)&&(b=-(1+(65535^b))),this.italicAngle=+(b+"."+c)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(e=this.familyClass)||2===e||3===e||4===e||5===e||7===e,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw Error("No unicode cmap for font")},a.prototype.characterToGlyph=function(a){var b;return(null!=(b=this.cmap.unicode)?b.codeMap[a]:void 0)||0},a.prototype.widthOfGlyph=function(a){var b;return b=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(a).advance*b},a.prototype.widthOfString=function(a,b,c){var d,e,f,g;for(f=0,e=0,g=(a=""+a).length;0<=g?eg;e=0<=g?++e:--e)d=a.charCodeAt(e),f+=this.widthOfGlyph(this.characterToGlyph(d))+1e3/b*c||0;return b/1e3*f},a.prototype.lineHeight=function(a,b){var c;return null==b&&(b=!1),c=b?this.lineGap:0,(this.ascender+c-this.decender)/1e3*a},a}();var bT,bU,bV,bW,bX,bY,bZ,b$,b_,b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,cA,cB,cC,cD,cE,cF,cG,cH,cI,cJ,cK,cL,cM,cN,cO,cP,cQ,cR,cS,cT=function(){function a(a){this.data=null!=a?a:[],this.pos=0,this.length=this.data.length}return a.prototype.readByte=function(){return this.data[this.pos++]},a.prototype.writeByte=function(a){return this.data[this.pos++]=a},a.prototype.readUInt32=function(){return 0x1000000*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},a.prototype.writeUInt32=function(a){return this.writeByte(a>>>24&255),this.writeByte(a>>16&255),this.writeByte(a>>8&255),this.writeByte(255&a)},a.prototype.readInt32=function(){var a;return(a=this.readUInt32())>=0x80000000?a-0x100000000:a},a.prototype.writeInt32=function(a){return a<0&&(a+=0x100000000),this.writeUInt32(a)},a.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},a.prototype.writeUInt16=function(a){return this.writeByte(a>>8&255),this.writeByte(255&a)},a.prototype.readInt16=function(){var a;return(a=this.readUInt16())>=32768?a-65536:a},a.prototype.writeInt16=function(a){return a<0&&(a+=65536),this.writeUInt16(a)},a.prototype.readString=function(a){var b,c;for(c=[],b=0;0<=a?ba;b=0<=a?++b:--b)c[b]=String.fromCharCode(this.readByte());return c.join("")},a.prototype.writeString=function(a){var b,c,d;for(d=[],b=0,c=a.length;0<=c?bc;b=0<=c?++b:--b)d.push(this.writeByte(a.charCodeAt(b)));return d},a.prototype.readShort=function(){return this.readInt16()},a.prototype.writeShort=function(a){return this.writeInt16(a)},a.prototype.readLongLong=function(){var a,b,c,d,e,f,g,h;return a=this.readByte(),b=this.readByte(),c=this.readByte(),d=this.readByte(),e=this.readByte(),f=this.readByte(),g=this.readByte(),h=this.readByte(),128&a?-1*(0x100000000000000*(255^a)+0x1000000000000*(255^b)+0x10000000000*(255^c)+0x100000000*(255^d)+0x1000000*(255^e)+65536*(255^f)+256*(255^g)+(255^h)+1):0x100000000000000*a+0x1000000000000*b+0x10000000000*c+0x100000000*d+0x1000000*e+65536*f+256*g+h},a.prototype.writeLongLong=function(a){var b,c;return b=Math.floor(a/0x100000000),c=0|a,this.writeByte(b>>24&255),this.writeByte(b>>16&255),this.writeByte(b>>8&255),this.writeByte(255&b),this.writeByte(c>>24&255),this.writeByte(c>>16&255),this.writeByte(c>>8&255),this.writeByte(255&c)},a.prototype.readInt=function(){return this.readInt32()},a.prototype.writeInt=function(a){return this.writeInt32(a)},a.prototype.read=function(a){var b,c;for(b=[],c=0;0<=a?ca;c=0<=a?++c:--c)b.push(this.readByte());return b},a.prototype.write=function(a){var b,c,d,e;for(e=[],c=0,d=a.length;cd;c=0<=d?++c:--c)b={tag:a.readString(4),checksum:a.readInt(),offset:a.readInt(),length:a.readInt()},this.tables[b.tag]=b}return b.prototype.encode=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o;for(o in f=Math.floor((k=16*Math.floor(Math.log(m=Object.keys(b).length)/(h=Math.log(2))))/h),j=16*m-k,(d=new cT).writeInt(this.scalarType),d.writeShort(m),d.writeShort(k),d.writeShort(f),d.writeShort(j),e=16*m,i=d.pos+e,g=null,n=[],b)for(l=b[o],d.writeString(o),d.writeInt(a(l)),d.writeInt(i),d.writeInt(l.length),n=n.concat(l),"head"===o&&(g=i),i+=l.length;i%4;)n.push(0),i++;return d.write(n),c=0xb1b0afba-a(d.data),d.pos=g+8,d.writeUInt32(c),d.data},a=function(a){var b,c,d,e;for(a=c5.call(a);a.length%4;)a.push(0);for(d=new cT(a),c=0,b=0,e=a.length;bl;h=0<=l?++b:--b)c.push(a.readUInt16());return c}(),a.pos+=2,n=function(){var b,c;for(c=[],h=b=0;0<=l?bl;h=0<=l?++b:--b)c.push(a.readUInt16());return c}(),i=function(){var b,c;for(c=[],h=b=0;0<=l?bl;h=0<=l?++b:--b)c.push(a.readUInt16());return c}(),j=function(){var b,c;for(c=[],h=b=0;0<=l?bl;h=0<=l?++b:--b)c.push(a.readUInt16());return c}(),d=(this.length-a.pos+this.offset)/2,g=function(){var b,c;for(c=[],h=b=0;0<=d?bd;h=0<=d?++b:--b)c.push(a.readUInt16());return c}(),h=p=0,r=e.length;p=o;c=m<=o?++q:--q)0===j[h]?f=c+i[h]:0!==(f=g[j[h]/2+(c-m)-(l-h)]||0)&&(f+=i[h]),this.codeMap[c]=65535&f}a.pos=k}return a.encode=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V;switch(D=new cT,f=Object.keys(a).sort(function(a,b){return a-b}),b){case"macroman":for(o=0,p=function(){var a=[];for(n=0;n<256;++n)a.push(0);return a}(),r={0:0},e={},E=0,I=f.length;E=32768)for(h.push(0),v.push(2*(m.length+y-n)),d=H=A;A<=j?H<=j:H>=j;d=A<=j?++H:--H)m.push(c[d].new);else h.push(C-A),v.push(0)}for(D.writeUInt16(3),D.writeUInt16(1),D.writeUInt32(12),D.writeUInt16(4),D.writeUInt16(16+8*y+2*m.length),D.writeUInt16(0),D.writeUInt16(z),D.writeUInt16(x),D.writeUInt16(l),D.writeUInt16(w),Q=0,L=k.length;Qd;c=0<=d?++c:--c)b=new cY(a,this.offset),this.tables.push(b),b.isUnicode&&null==this.unicode&&(this.unicode=b);return!0},a.encode=function(a,b){var c,d;return null==b&&(b="macroman"),c=cY.encode(a,b),(d=new cT).writeUInt16(0),d.writeUInt16(1),c.table=d.data.concat(c.subtable),c},a}(),c$=function(){function a(){return a.__super__.constructor.apply(this,arguments)}return cW(a,cS),a.prototype.tag="hhea",a.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()},a}(),c_=function(){function a(){return a.__super__.constructor.apply(this,arguments)}return cW(a,cS),a.prototype.tag="OS/2",a.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 b,c;for(c=[],b=0;b<10;++b)c.push(a.readByte());return c}(),this.charRange=function(){var b,c;for(c=[],b=0;b<4;++b)c.push(a.readInt());return c}(),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 b,c;for(c=[],b=0;b<2;b=++b)c.push(a.readInt());return c}(),this.version>1))return this.xHeight=a.readShort(),this.capHeight=a.readShort(),this.defaultChar=a.readShort(),this.breakChar=a.readShort(),this.maxContext=a.readShort()},a}(),c0=function(){function a(){return a.__super__.constructor.apply(this,arguments)}return cW(a,cS),a.prototype.tag="post",a.prototype.parse=function(a){var b,c,d,e;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:for(c=a.readUInt16(),this.glyphNameIndex=[],e=0;0<=c?ec;e=0<=c?++e:--e)this.glyphNameIndex.push(a.readUInt16());for(this.names=[],d=[];a.posc;e=0<=c?++b:--b)d.push(a.readUInt32());return d}).call(this)}},a}(),c1=function(a,b){this.raw=a,this.length=a.length,this.platformID=b.platformID,this.encodingID=b.encodingID,this.languageID=b.languageID},c2=function(){function a(){return a.__super__.constructor.apply(this,arguments)}return cW(a,cS),a.prototype.tag="name",a.prototype.parse=function(a){var b,c,d,e,f,g,h,i,j,k;for(a.pos=this.offset,a.readShort(),b=a.readShort(),g=a.readShort(),c=[],e=0;0<=b?eb;e=0<=b?++e:--e)c.push({platformID:a.readShort(),encodingID:a.readShort(),languageID:a.readShort(),nameID:a.readShort(),length:a.readShort(),offset:this.offset+g+a.readShort()});for(h={},e=i=0,j=c.length;ig;b=0<=g?++b:--b)this.metrics.push({advance:a.readUInt16(),lsb:a.readInt16()});for(d=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var c,e;for(e=[],b=c=0;0<=d?cd;b=0<=d?++c:--c)e.push(a.readInt16());return e}(),this.widths=(function(){var a,b,c,d;for(d=[],a=0,b=(c=this.metrics).length;ad;b=0<=d?++f:--f)h.push(this.widths.push(c));return h},a.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]}},a}(),c5=[].slice,c6=function(){function a(){return a.__super__.constructor.apply(this,arguments)}return cW(a,cS),a.prototype.tag="glyf",a.prototype.parse=function(){return this.cache={}},a.prototype.glyphFor=function(a){var b,c,d,e,f,g,h,i,j,k;return a in this.cache?this.cache[a]:(e=this.file.loca,b=this.file.contents,c=e.indexOf(a),0===(d=e.lengthOf(a))?this.cache[a]=null:(b.pos=this.offset+c,f=(g=new cT(b.read(d))).readShort(),i=g.readShort(),k=g.readShort(),h=g.readShort(),j=g.readShort(),this.cache[a]=-1===f?new c8(g,i,k,h,j):new c7(g,f,i,k,h,j),this.cache[a]))},a.prototype.encode=function(a,b,c){var d,e,f,g,h;for(f=[],e=[],g=0,h=b.length;g0&&(d+=h)}for(var i=Array(4*c.length),j=0;j>8,i[4*j+1]=(0xff0000&c[j])>>16,i[4*j]=(0xff000000&c[j])>>24;return i},a}(),da=function(){function a(a){this.font=a,this.subset={},this.unicodes={},this.next=33}return a.prototype.generateCmap=function(){var a,b,c,d,e;for(b in d=this.font.cmap.tables[0].codeMap,a={},e=this.subset)c=e[b],a[b]=d[c];return a},a.prototype.glyphsFor=function(a){var b,c,d,e,f,g,h;for(d={},f=0,g=a.length;f0)for(e in h=this.glyphsFor(b))c=h[e],d[e]=c;return d},a.prototype.encode=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;for(d in c=cZ.encode(this.generateCmap(),"unicode"),f=this.glyphsFor(a),m={0:0},q=c.charMap)m[(h=q[d]).old]=h.new;for(n in l=c.maxGlyphID,f)n in m||(m[n]=l++);return k=Object.keys(j=function(a){var b,c;for(b in c={},a)c[a[b]]=b;return c}(m)).sort(function(a,b){return a-b}),o=function(){var a,b,c;for(c=[],a=0,b=k.length;a>"),f.join("\n")}return""+c},b}(),c.AcroForm=au,c.AcroFormAppearance=as,c.AcroFormButton=al,c.AcroFormCheckBox=ap,c.AcroFormChoiceField=ah,c.AcroFormComboBox=aj,c.AcroFormEditBox=ak,c.AcroFormListBox=ai,c.AcroFormPasswordField=ar,c.AcroFormPushButton=am,c.AcroFormRadioButton=an,c.AcroFormTextField=aq,c.GState=D,c.ShadingPattern=F,c.TilingPattern=G,c.default=H,c.jsPDF=H},73201,a=>{"use strict";var b,c=a.i(6155),d=a.i(74719),e=a.i(12348),f=a.i(54297),g=a.i(36636);let h=new Map;var i=a.i(21254),j=a.i(22772),k=a.i(37111);let l=(0,k.default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);function m(a){return a?a.split("-")[0]:""}function n({member:a,isRoot:b,isSpouse:d,onSelect:k,isHighlighted:l,relationMode:n,isSelected:o}){let{avatarUrl:p}=function(a){let[b,c]=(0,f.useState)(a?h.get(a):void 0),[d,e]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{if(!a)return void c(void 0);let b=h.get(a);if(b)return void c(b);let d=!0;return e(!0),g.db.images.get(a).then(b=>{if(b&&d){let d=URL.createObjectURL(b.blob);h.set(a,d),c(d)}}).catch(a=>{console.error("Failed to load avatar:",a)}).finally(()=>{d&&e(!1)}),()=>{d=!1}},[a]),{avatarUrl:b,isLoading:d}}(a?.avatarImageId),q=m(a.birthDate),r=m(a.deathDate),s=function(a,b){if(!a)return null;let c=new Date(a),d=b?new Date(b):new Date,e=d.getFullYear()-c.getFullYear(),f=d.getMonth()-c.getMonth();return(f<0||0===f&&d.getDate()k?.(a),children:[(0,c.jsxs)("div",{className:"absolute -top-3 bg-background border border-border px-2 py-0.5 rounded-full text-[10px] text-muted-foreground font-mono",children:[a.generation,"世"]}),(0,c.jsx)("div",{className:"h-12 w-12 rounded-full bg-muted flex items-center justify-center text-muted-foreground overflow-hidden border border-border/50",children:p?(0,c.jsx)("img",{src:p,alt:a.fullName,className:"h-full w-full object-cover"}):"FEMALE"===a.gender?(0,c.jsx)(j.CircleUserRound,{className:"h-8 w-8 text-pink-400"}):(0,c.jsx)(i.CircleUser,{className:"h-8 w-8 text-blue-400"})}),(0,c.jsxs)("div",{className:"text-center w-full",children:[(0,c.jsxs)("div",{className:"font-serif font-bold text-foreground leading-tight",children:[a.surname," ",a.givenName]}),a.courtesyName&&(0,c.jsxs)("div",{className:"text-[10px] text-muted-foreground mt-0.5",children:["字 ",a.courtesyName]}),t&&(0,c.jsx)("div",{className:"text-[9px] text-muted-foreground/70 mt-1 font-mono",children:t}),u&&(0,c.jsx)("div",{className:"text-[9px] text-muted-foreground/60 font-mono",children:u}),a.phone&&(0,c.jsxs)("div",{className:"text-[9px] text-muted-foreground/60 font-mono truncate",children:["📱 ",a.phone]})]}),a.deathDate&&(0,c.jsx)("div",{className:"absolute -top-1 -right-1 h-2 w-2 rounded-full bg-neutral-400 ring-2 ring-background"})]})}function o({member:a,spouse:b,spouses:d,isRoot:e,onSelect:f,isHighlighted:g,relationMode:h,isSelected:i}){let j=d||(b?[b]:[]);return 0===j.length?(0,c.jsx)(n,{member:a,isRoot:e,onSelect:f,isHighlighted:g,relationMode:h,isSelected:i}):(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)(n,{member:a,isRoot:e,onSelect:f,isHighlighted:g,relationMode:h,isSelected:i}),j.map((a,b)=>(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)(l,{className:"h-4 w-4 text-red-400 flex-shrink-0"}),(0,c.jsx)(n,{member:a,isSpouse:!0,onSelect:f,relationMode:h})]},a.id))]})}var p=a.i(43181),q=a.i(14672);function r({rootId:a,onSelectMember:b,relationMode:d=!1,selectedMembers:e=[],onMemberClick:g}){let{getMember:h,treeData:i,highlightedMemberId:j}=(0,p.useFamily)(),k=h(a),l=(0,q.useRouter)(),m=(0,f.useRef)(null),[n,r]=(0,f.useState)([]),s=(0,f.useRef)(new Map),t=(0,f.useCallback)(a=>{if(d&&g)g(a.id);else{let b=new URLSearchParams(window.location.search);l.push(`/members/${a.id}?${b.toString()}`)}},[d,g,l]),u=(0,f.useCallback)(()=>{let a=[],b=m.current?.getBoundingClientRect();b&&0!==s.current.size&&(s.current.forEach((c,d)=>{let e=h(d);if(!e||!e.childrenIds||0===e.childrenIds.length)return;let f=c.getBoundingClientRect(),g=f.left+f.width/2-b.left,i=f.bottom-b.top,j=i+24;a.push({from:{x:g,y:i},to:{x:g,y:j},type:"vertical"});let k=e.childrenIds.map(a=>{let c=s.current.get(a);if(!c)return null;let d=c.getBoundingClientRect();return{id:a,centerX:d.left+d.width/2-b.left,topY:d.top-b.top}}).filter(Boolean);if(0!==k.length){if(k.length>1){let b=Math.min(...k.map(a=>a.centerX)),c=Math.max(...k.map(a=>a.centerX));a.push({from:{x:b,y:j},to:{x:c,y:j},type:"horizontal"})}k.forEach(b=>{a.push({from:{x:b.centerX,y:j},to:{x:b.centerX,y:b.topY},type:"vertical"})})}}),r(a))},[h]);if((0,f.useEffect)(()=>{let a=[];return a.push(setTimeout(u,50)),a.push(setTimeout(u,150)),a.push(setTimeout(u,300)),a.push(setTimeout(u,500)),window.addEventListener("resize",u),()=>{a.forEach(a=>clearTimeout(a)),window.removeEventListener("resize",u)}},[u,i]),!k)return null;let v=({memberId:a,isRoot:b=!1})=>{let f=h(a);if(!f)return null;let g=f.childrenIds&&f.childrenIds.length>0,i=f.spouseIds&&f.spouseIds.length>0?f.spouseIds.map(a=>h(a)).filter(Boolean):[];return(0,c.jsxs)("div",{className:"flex flex-col items-center",children:[(0,c.jsx)("div",{ref:b=>{b?s.current.set(a,b):s.current.delete(a)},className:"relative z-10",children:(0,c.jsx)(o,{member:f,spouses:i,onSelect:t,isRoot:b,isHighlighted:f.id===j,relationMode:d,isSelected:e.includes(f.id)})}),g&&(0,c.jsx)("div",{className:"flex items-start relative",style:{marginTop:"48px",gap:"32px"},children:[...f.childrenIds].sort((a,b)=>{let c=h(a),d=h(b);if(!c||!d)return 0;let e=c.tags?.includes("始祖")||1===c.generation,f=d.tags?.includes("始祖")||1===d.generation;return e&&!f?-1:!e&&f?1:(c.birthDate||"").localeCompare(d.birthDate||"")}).map(a=>(0,c.jsx)(v,{memberId:a},a))})]})};return(0,c.jsx)("div",{className:"relative",children:(0,c.jsxs)("div",{ref:m,className:"p-12 min-w-fit relative",style:{minHeight:"100%"},children:[(0,c.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{zIndex:1},children:n.map((a,b)=>{let d="horizontal"===a.type,e=d?Math.abs(a.to.x-a.from.x):1,f=d?1:Math.abs(a.to.y-a.from.y),g=Math.min(a.from.x,a.to.x),h=Math.min(a.from.y,a.to.y);return e<=0||f<=0?null:(0,c.jsx)("div",{className:"absolute bg-black",style:{left:`${g}px`,top:`${h}px`,width:`${e}px`,height:`${f}px`,transform:d?"scaleY(0.5)":"scaleX(0.5)",transformOrigin:"top left"}},b)})}),(0,c.jsx)("div",{className:"relative",style:{zIndex:10},children:(0,c.jsx)(v,{memberId:a,isRoot:!0})})]})})}var s={value:()=>{}};function t(){for(var a,b=0,c=arguments.length,d={};b=0&&(b=a.slice(c+1),a=a.slice(0,c)),a&&!d.hasOwnProperty(a))throw Error("unknown type: "+a);return{type:a,name:b}}),f=-1,g=e.length;if(arguments.length<2){for(;++f0)for(var c,d,e=Array(c),f=0;fb?1:a>=b?0:NaN}H.prototype={constructor:H,appendChild:function(a){return this._parent.insertBefore(a,this._next)},insertBefore:function(a,b){return this._parent.insertBefore(a,b)},querySelector:function(a){return this._parent.querySelector(a)},querySelectorAll:function(a){return this._parent.querySelectorAll(a)}};var M="http://www.w3.org/1999/xhtml";let N={svg:"http://www.w3.org/2000/svg",xhtml:M,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function O(a){var b=a+="",c=b.indexOf(":");return c>=0&&"xmlns"!==(b=a.slice(0,c))&&(a=a.slice(c+1)),N.hasOwnProperty(b)?{space:N[b],local:a}:a}function P(a){return a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView}function Q(a,b){return a.style.getPropertyValue(b)||P(a).getComputedStyle(a,null).getPropertyValue(b)}function R(a){return a.trim().split(/^|\s+/)}function S(a){return a.classList||new T(a)}function T(a){this._node=a,this._names=R(a.getAttribute("class")||"")}function U(a,b){for(var c=S(a),d=-1,e=b.length;++dthis._names.indexOf(a)&&(this._names.push(a),this._node.setAttribute("class",this._names.join(" ")))},remove:function(a){var b=this._names.indexOf(a);b>=0&&(this._names.splice(b,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(a){return this._names.indexOf(a)>=0}};var ag=[null];function ah(a,b){this._groups=a,this._parents=b}function ai(){return new ah([[document.documentElement]],ag)}function aj(a){return"string"==typeof a?new ah([[document.querySelector(a)]],[document.documentElement]):new ah([[a]],ag)}ah.prototype=ai.prototype={constructor:ah,select:function(a){"function"!=typeof a&&(a=x(a));for(var b=this._groups,c=b.length,d=Array(c),e=0;e=w&&(w=v+1);!(u=q[w])&&++w=0;)(d=e[f])&&(g&&4^d.compareDocumentPosition(g)&&g.parentNode.insertBefore(d,g),g=d);return this},sort:function(a){function b(b,c){return b&&c?a(b.__data__,c.__data__):!b-!c}a||(a=L);for(var c=this._groups,d=c.length,e=Array(d),f=0;f1?this.each((null==b?function(a){return function(){this.style.removeProperty(a)}}:"function"==typeof b?function(a,b,c){return function(){var d=b.apply(this,arguments);null==d?this.style.removeProperty(a):this.style.setProperty(a,d,c)}}:function(a,b,c){return function(){this.style.setProperty(a,b,c)}})(a,b,null==c?"":c)):Q(this.node(),a)},property:function(a,b){return arguments.length>1?this.each((null==b?function(a){return function(){delete this[a]}}:"function"==typeof b?function(a,b){return function(){var c=b.apply(this,arguments);null==c?delete this[a]:this[a]=c}}:function(a,b){return function(){this[a]=b}})(a,b)):this.node()[a]},classed:function(a,b){var c=R(a+"");if(arguments.length<2){for(var d=S(this.node()),e=-1,f=c.length;++e=0&&(b=a.slice(c+1),a=a.slice(0,c)),{type:a,name:b}}),g=f.length;if(arguments.length<2){var h=this.node().__on;if(h){for(var i,j=0,k=h.length;j>8&15|b>>4&240,b>>4&15|240&b,(15&b)<<4|15&b,1):8===c?aE(b>>24&255,b>>16&255,b>>8&255,(255&b)/255):4===c?aE(b>>12&15|b>>8&240,b>>8&15|b>>4&240,b>>4&15|240&b,((15&b)<<4|15&b)/255):null):(b=at.exec(a))?new aG(b[1],b[2],b[3],1):(b=au.exec(a))?new aG(255*b[1]/100,255*b[2]/100,255*b[3]/100,1):(b=av.exec(a))?aE(b[1],b[2],b[3],b[4]):(b=aw.exec(a))?aE(255*b[1]/100,255*b[2]/100,255*b[3]/100,b[4]):(b=ax.exec(a))?aM(b[1],b[2]/100,b[3]/100,1):(b=ay.exec(a))?aM(b[1],b[2]/100,b[3]/100,b[4]):az.hasOwnProperty(a)?aD(az[a]):"transparent"===a?new aG(NaN,NaN,NaN,0):null}function aD(a){return new aG(a>>16&255,a>>8&255,255&a,1)}function aE(a,b,c,d){return d<=0&&(a=b=c=NaN),new aG(a,b,c,d)}function aF(a,b,c,d){var e;return 1==arguments.length?((e=a)instanceof ao||(e=aC(e)),e)?new aG((e=e.rgb()).r,e.g,e.b,e.opacity):new aG:new aG(a,b,c,null==d?1:d)}function aG(a,b,c,d){this.r=+a,this.g=+b,this.b=+c,this.opacity=+d}function aH(){return`#${aL(this.r)}${aL(this.g)}${aL(this.b)}`}function aI(){let a=aJ(this.opacity);return`${1===a?"rgb(":"rgba("}${aK(this.r)}, ${aK(this.g)}, ${aK(this.b)}${1===a?")":`, ${a})`}`}function aJ(a){return isNaN(a)?1:Math.max(0,Math.min(1,a))}function aK(a){return Math.max(0,Math.min(255,Math.round(a)||0))}function aL(a){return((a=aK(a))<16?"0":"")+a.toString(16)}function aM(a,b,c,d){return d<=0?a=b=c=NaN:c<=0||c>=1?a=b=NaN:b<=0&&(a=NaN),new aO(a,b,c,d)}function aN(a){if(a instanceof aO)return new aO(a.h,a.s,a.l,a.opacity);if(a instanceof ao||(a=aC(a)),!a)return new aO;if(a instanceof aO)return a;var b=(a=a.rgb()).r/255,c=a.g/255,d=a.b/255,e=Math.min(b,c,d),f=Math.max(b,c,d),g=NaN,h=f-e,i=(f+e)/2;return h?(g=b===f?(c-d)/h+(c0&&i<1?0:g,new aO(g,h,i,a.opacity)}function aO(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}function aP(a){return(a=(a||0)%360)<0?a+360:a}function aQ(a){return Math.max(0,Math.min(1,a||0))}function aR(a,b,c){return(a<60?b+(c-b)*a/60:a<180?c:a<240?b+(c-b)*(240-a)/60:b)*255}function aS(a,b,c,d,e){var f=a*a,g=f*a;return((1-3*a+3*f-g)*b+(4-6*f+3*g)*c+(1+3*a+3*f-3*g)*d+g*e)/6}am(ao,aC,{copy(a){return Object.assign(new this.constructor,this,a)},displayable(){return this.rgb().displayable()},hex:aA,formatHex:aA,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return aN(this).formatHsl()},formatRgb:aB,toString:aB}),am(aG,aF,an(ao,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new aG(this.r*a,this.g*a,this.b*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new aG(this.r*a,this.g*a,this.b*a,this.opacity)},rgb(){return this},clamp(){return new aG(aK(this.r),aK(this.g),aK(this.b),aJ(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:aH,formatHex:aH,formatHex8:function(){return`#${aL(this.r)}${aL(this.g)}${aL(this.b)}${aL((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:aI,toString:aI})),am(aO,function(a,b,c,d){return 1==arguments.length?aN(a):new aO(a,b,c,null==d?1:d)},an(ao,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new aO(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new aO(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=this.h%360+(this.h<0)*360,b=isNaN(a)||isNaN(this.s)?0:this.s,c=this.l,d=c+(c<.5?c:1-c)*b,e=2*c-d;return new aG(aR(a>=240?a-240:a+120,e,d),aR(a,e,d),aR(a<120?a+240:a-120,e,d),this.opacity)},clamp(){return new aO(aP(this.h),aQ(this.s),aQ(this.l),aJ(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let a=aJ(this.opacity);return`${1===a?"hsl(":"hsla("}${aP(this.h)}, ${100*aQ(this.s)}%, ${100*aQ(this.l)}%${1===a?")":`, ${a})`}`}}));let aT=a=>()=>a;function aU(a,b){var c=b-a;return c?function(b){return a+b*c}:aT(isNaN(a)?b:a)}let aV=function a(b){var c,d=1==(c=+b)?aU:function(a,b){var d,e,f;return b-a?(d=a,e=b,d=Math.pow(d,f=c),e=Math.pow(e,f)-d,f=1/f,function(a){return Math.pow(d+a*e,f)}):aT(isNaN(a)?b:a)};function e(a,b){var c=d((a=aF(a)).r,(b=aF(b)).r),e=d(a.g,b.g),f=d(a.b,b.b),g=aU(a.opacity,b.opacity);return function(b){return a.r=c(b),a.g=e(b),a.b=f(b),a.opacity=g(b),a+""}}return e.gamma=a,e}(1);function aW(a){return function(b){var c,d,e=b.length,f=Array(e),g=Array(e),h=Array(e);for(c=0;c=1?(c=1,b-1):Math.floor(c*b),e=a[d],f=a[d+1],g=d>0?a[d-1]:2*e-f,h=d=0&&b._call.call(void 0,a),b=b._next;--a1}finally{a1=0,function(){for(var a,b,c=a_,d=1/0;c;)c._call?(d>c._time&&(d=c._time),a=c,c=c._next):(b=c._next,c._next=null,c=a?a._next=b:a_=b);a0=a,bf(d)}(),a5=0}}function be(){var a=a7.now(),b=a-a4;b>1e3&&(a6-=b,a4=a)}function bf(a){!a1&&(a2&&(a2=clearTimeout(a2)),a-a5>24?(a<1/0&&(a2=setTimeout(bd,a-a7.now()-a6)),a3&&(a3=clearInterval(a3))):(a3||(a4=a7.now(),a3=setInterval(be,1e3)),a1=1,a8(bd)))}function bg(a,b,c){var d=new bb;return b=null==b?0:+b,d.restart(c=>{d.stop(),a(c+b)},b,c),d}bb.prototype=bc.prototype={constructor:bb,restart:function(a,b,c){if("function"!=typeof a)throw TypeError("callback is not a function");c=(null==c?a9():+c)+(null==b?0:+b),this._next||a0===this||(a0?a0._next=this:a_=this,a0=this),this._call=a,this._time=c,bf()},stop:function(){this._call&&(this._call=null,this._time=1/0,bf())}};var bh=t("start","end","cancel","interrupt"),bi=[];function bj(a,b,c,d,e,f){var g=a.__transition;if(g){if(c in g)return}else a.__transition={};!function(a,b,c){var d,e=a.__transition;function f(i){var j,k,l,m;if(1!==c.state)return h();for(j in e)if((m=e[j]).name===c.name){if(3===m.state)return bg(f);4===m.state?(m.state=6,m.timer.stop(),m.on.call("interrupt",a,a.__data__,m.index,m.group),delete e[j]):+j0)throw Error("too late; already scheduled");return c}function bl(a,b){var c=bm(a,b);if(c.state>3)throw Error("too late; already running");return c}function bm(a,b){var c=a.__transition;if(!c||!(c=c[b]))throw Error("transition not found");return c}function bn(a,b){var c,d,e,f=a.__transition,g=!0;if(f){for(e in b=null==b?null:b+"",f){if((c=f[e]).name!==b){g=!1;continue}d=c.state>2&&c.state<5,c.state=6,c.timer.stop(),c.on.call(d?"interrupt":"cancel",a,a.__data__,c.index,c.group),delete f[e]}g&&delete a.__transition}}var bo=180/Math.PI,bp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function bq(a,b,c,d,e,f){var g,h,i;return(g=Math.sqrt(a*a+b*b))&&(a/=g,b/=g),(i=a*c+b*d)&&(c-=a*i,d-=b*i),(h=Math.sqrt(c*c+d*d))&&(c/=h,d/=h,i/=h),a*d180?i+=360:i-h>180&&(h+=360),m.push({i:l.push(e(l)+"rotate(",null,d)-2,x:aX(h,i)})):i&&l.push(e(l)+"rotate("+i+d),j=f.skewX,k=g.skewX,j!==k?m.push({i:l.push(e(l)+"skewX(",null,d)-2,x:aX(j,k)}):k&&l.push(e(l)+"skewX("+k+d),!function(a,b,c,d,f,g){if(a!==c||b!==d){var h=f.push(e(f)+"scale(",null,",",null,")");g.push({i:h-4,x:aX(a,c)},{i:h-2,x:aX(b,d)})}else(1!==c||1!==d)&&f.push(e(f)+"scale("+c+","+d+")")}(f.scaleX,f.scaleY,g.scaleX,g.scaleY,l,m),f=g=null,function(a){for(var b,c=-1,d=m.length;++ch&&(g=b.slice(h,g),j[i]?j[i]+=g:j[++i]=g),(e=e[0])===(f=f[0])?j[i]?j[i]+=f:j[++i]=f:(j[++i]=null,k.push({i:i,x:aX(e,f)})),h=aZ.lastIndex;return h=0&&(a=a.slice(0,b)),!a||"start"===a})?bk:bl,function(){var a=h(this,c),b=a.on;b!==f&&(g=(f=b).copy()).on(d,e),a.on=g}))},attr:function(a,b){var c=O(a),d="transform"===c?bt:bv;return this.attrTween(a,"function"==typeof b?(c.local?function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttributeNS(a.space,a.local):(g=this.getAttributeNS(a.space,a.local))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}}:function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttribute(a):(g=this.getAttribute(a))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}})(c,d,bu(this,"attr."+a,b)):null==b?(c.local?function(a){return function(){this.removeAttributeNS(a.space,a.local)}}:function(a){return function(){this.removeAttribute(a)}})(c):(c.local?function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttributeNS(a.space,a.local);return g===f?null:g===d?e:e=b(d=g,c)}}:function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttribute(a);return g===f?null:g===d?e:e=b(d=g,c)}})(c,d,b))},attrTween:function(a,b){var c="attr."+a;if(arguments.length<2)return(c=this.tween(c))&&c._value;if(null==b)return this.tween(c,null);if("function"!=typeof b)throw Error();var d=O(a);return this.tween(c,(d.local?function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttributeNS(a.space,a.local,e.call(this,b))}),c}return e._value=b,e}:function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttribute(a,e.call(this,b))}),c}return e._value=b,e})(d,b))},style:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y="transform"==(a+="")?bs:bv;return null==b?this.styleTween(a,(d=a,function(){var a=Q(this,d),b=(this.style.removeProperty(d),Q(this,d));return a===b?null:a===e&&b===f?g:g=y(e=a,f=b)})).on("end.style."+a,bx(a)):"function"==typeof b?this.styleTween(a,(h=a,i=bu(this,"style."+a,b),function(){var a=Q(this,h),b=i(this),c=b+"";return null==b&&(this.style.removeProperty(h),c=b=Q(this,h)),a===c?null:a===j&&c===k?l:(k=c,l=y(j=a,b))})).each((m=this._id,t="end."+(s="style."+(n=a)),function(){var a=bl(this,m),b=a.on,c=null==a.value[s]?r||(r=bx(n)):void 0;(b!==o||q!==c)&&(p=(o=b).copy()).on(t,q=c),a.on=p})):this.styleTween(a,(u=a,x=b+"",function(){var a=Q(this,u);return a===x?null:a===v?w:w=y(v=a,b)}),c).on("end.style."+a,null)},styleTween:function(a,b,c){var d="style."+(a+="");if(arguments.length<2)return(d=this.tween(d))&&d._value;if(null==b)return this.tween(d,null);if("function"!=typeof b)throw Error();return this.tween(d,function(a,b,c){var d,e;function f(){var f=b.apply(this,arguments);return f!==e&&(d=(e=f)&&function(b){this.style.setProperty(a,f.call(this,b),c)}),d}return f._value=b,f}(a,b,null==c?"":c))},text:function(a){var b,c;return this.tween("text","function"==typeof a?(b=bu(this,"text",a),function(){var a=b(this);this.textContent=null==a?"":a}):(c=null==a?"":a+"",function(){this.textContent=c}))},textTween:function(a){var b="text";if(arguments.length<1)return(b=this.tween(b))&&b._value;if(null==a)return this.tween(b,null);if("function"!=typeof a)throw Error();return this.tween(b,function(a){var b,c;function d(){var d=a.apply(this,arguments);return d!==c&&(b=(c=d)&&function(a){this.textContent=d.call(this,a)}),b}return d._value=a,d}(a))},remove:function(){var a;return this.on("end.remove",(a=this._id,function(){var b=this.parentNode;for(var c in this.__transition)if(+c!==a)return;b&&b.removeChild(this)}))},tween:function(a,b){var c=this._id;if(a+="",arguments.length<2){for(var d,e=bm(this.node(),c).tween,f=0,g=e.length;f()=>a;function bJ(a,{sourceEvent:b,target:c,transform:d,dispatch:e}){Object.defineProperties(this,{type:{value:a,enumerable:!0,configurable:!0},sourceEvent:{value:b,enumerable:!0,configurable:!0},target:{value:c,enumerable:!0,configurable:!0},transform:{value:d,enumerable:!0,configurable:!0},_:{value:e}})}function bK(a,b,c){this.k=a,this.x=b,this.y=c}bK.prototype={constructor:bK,scale:function(a){return 1===a?this:new bK(this.k*a,this.x,this.y)},translate:function(a,b){return 0===a&0===b?this:new bK(this.k,this.x+this.k*a,this.y+this.k*b)},apply:function(a){return[a[0]*this.k+this.x,a[1]*this.k+this.y]},applyX:function(a){return a*this.k+this.x},applyY:function(a){return a*this.k+this.y},invert:function(a){return[(a[0]-this.x)/this.k,(a[1]-this.y)/this.k]},invertX:function(a){return(a-this.x)/this.k},invertY:function(a){return(a-this.y)/this.k},rescaleX:function(a){return a.copy().domain(a.range().map(this.invertX,this).map(a.invert,a))},rescaleY:function(a){return a.copy().domain(a.range().map(this.invertY,this).map(a.invert,a))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var bL=new bK(1,0,0);function bM(a){a.stopImmediatePropagation()}function bN(a){a.preventDefault(),a.stopImmediatePropagation()}function bO(a){return(!a.ctrlKey||"wheel"===a.type)&&!a.button}function bP(){var a=this;return a instanceof SVGElement?(a=a.ownerSVGElement||a).hasAttribute("viewBox")?[[(a=a.viewBox.baseVal).x,a.y],[a.x+a.width,a.y+a.height]]:[[0,0],[a.width.baseVal.value,a.height.baseVal.value]]:[[0,0],[a.clientWidth,a.clientHeight]]}function bQ(){return this.__zoom||bL}function bR(a){return-a.deltaY*(1===a.deltaMode?.05:a.deltaMode?1:.002)*(a.ctrlKey?10:1)}function bS(){return navigator.maxTouchPoints||"ontouchstart"in this}function bT(a,b,c){var d=a.invertX(b[0][0])-c[0][0],e=a.invertX(b[1][0])-c[1][0],f=a.invertY(b[0][1])-c[0][1],g=a.invertY(b[1][1])-c[1][1];return a.translate(e>d?(d+e)/2:Math.min(0,d)||Math.max(0,e),g>f?(f+g)/2:Math.min(0,f)||Math.max(0,g))}function bU(a){var b=0,c=a.children,d=c&&c.length;if(d)for(;--d>=0;)b+=c[d].value;else b=1;a.value=b}function bV(a,b){a instanceof Map?(a=[void 0,a],void 0===b&&(b=bX)):void 0===b&&(b=bW);for(var c,d,e,f,g,h=new b$(a),i=[h];c=i.pop();)if((e=b(c.data))&&(g=(e=Array.from(e)).length))for(c.children=e,f=g-1;f>=0;--f)i.push(d=e[f]=new b$(e[f])),d.parent=c,d.depth=c.depth+1;return h.eachBefore(bZ)}function bW(a){return a.children}function bX(a){return Array.isArray(a)?a[1]:null}function bY(a){void 0!==a.data.value&&(a.value=a.data.value),a.data=a.data.data}function bZ(a){var b=0;do a.height=b;while((a=a.parent)&&a.height<++b)}function b$(a){this.data=a,this.depth=this.height=0,this.parent=null}function b_(a,b){this._=a,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=b}function b0(a){return null==a?null:function(a){if("function"!=typeof a)throw Error();return a}(a)}bK.prototype,b$.prototype=bV.prototype={constructor:b$,count:function(){return this.eachAfter(bU)},each:function(a,b){let c=-1;for(let d of this)a.call(b,d,++c,this);return this},eachAfter:function(a,b){for(var c,d,e,f=this,g=[f],h=[],i=-1;f=g.pop();)if(h.push(f),c=f.children)for(d=0,e=c.length;d=0;--d)f.push(c[d]);return this},find:function(a,b){let c=-1;for(let d of this)if(a.call(b,d,++c,this))return d},sum:function(a){return this.eachAfter(function(b){for(var c=+a(b.data)||0,d=b.children,e=d&&d.length;--e>=0;)c+=d[e].value;b.value=c})},sort:function(a){return this.eachBefore(function(b){b.children&&b.children.sort(a)})},path:function(a){for(var b=this,c=function(a,b){if(a===b)return a;var c=a.ancestors(),d=b.ancestors(),e=null;for(a=c.pop(),b=d.pop();a===b;)e=a,a=c.pop(),b=d.pop();return e}(b,a),d=[b];b!==c;)d.push(b=b.parent);for(var e=d.length;a!==c;)d.splice(e,0,a),a=a.parent;return d},ancestors:function(){for(var a=this,b=[a];a=a.parent;)b.push(a);return b},descendants:function(){return Array.from(this)},leaves:function(){var a=[];return this.eachBefore(function(b){b.children||a.push(b)}),a},links:function(){var a=this,b=[];return a.each(function(c){c!==a&&b.push({source:c.parent,target:c})}),b},copy:function(){return bV(this).eachBefore(bY)},[Symbol.iterator]:function*(){var a,b,c,d,e=this,f=[e];do for(a=f.reverse(),f=[];e=a.pop();)if(yield e,b=e.children)for(c=0,d=b.length;c1&&!b7(a,b););return a.slice(0,b)}function b7(a,b){if("/"===a[b]){let c=0;for(;b>0&&"\\"===a[--b];)++c;if((1&c)==0)return!0}return!1}function b8(a){var b=0,c=a.children,d=c&&c.length;if(d)for(;--d>=0;)b+=c[d].value;else b=1;a.value=b}function b9(a,b){var c,d,e,f,g,h=new cd(a),i=+a.value&&(h.value=a.value),j=[h];for(null==b&&(b=ca);c=j.pop();)if(i&&(c.value=+c.data.value),(e=b(c.data))&&(g=e.length))for(c.children=Array(g),f=g-1;f>=0;--f)j.push(d=c.children[f]=new cd(e[f])),d.parent=c,d.depth=c.depth+1;return h.eachBefore(cc)}function ca(a){return a.children}function cb(a){a.data=a.data.data}function cc(a){var b=0;do a.height=b;while((a=a.parent)&&a.height<++b)}function cd(a){this.data=a,this.depth=this.height=0,this.parent=null}cd.prototype=b9.prototype={constructor:cd,count:function(){return this.eachAfter(b8)},each:function(a){var b,c,d,e,f=this,g=[f];do for(b=g.reverse(),g=[];f=b.pop();)if(a(f),c=f.children)for(d=0,e=c.length;d=0;--c)e.push(b[c]);return this},sum:function(a){return this.eachAfter(function(b){for(var c=+a(b.data)||0,d=b.children,e=d&&d.length;--e>=0;)c+=d[e].value;b.value=c})},sort:function(a){return this.eachBefore(function(b){b.children&&b.children.sort(a)})},path:function(a){for(var b=this,c=function(a,b){if(a===b)return a;var c=a.ancestors(),d=b.ancestors(),e=null;for(a=c.pop(),b=d.pop();a===b;)e=a,a=c.pop(),b=d.pop();return e}(b,a),d=[b];b!==c;)d.push(b=b.parent);for(var e=d.length;a!==c;)d.splice(e,0,a),a=a.parent;return d},ancestors:function(){for(var a=this,b=[a];a=a.parent;)b.push(a);return b},descendants:function(){var a=[];return this.each(function(b){a.push(b)}),a},leaves:function(){var a=[];return this.eachBefore(function(b){b.children||a.push(b)}),a},links:function(){var a=this,b=[];return a.each(function(c){c!==a&&b.push({source:c.parent,target:c})}),b},copy:function(){return b9(this).eachBefore(cb)}};let{version:ce}=a.i(5938).default,cf=Object.freeze({children:a=>a.children,nodeSize:a=>a.data.size,spacing:0});function cg(a){let b=Object.assign({},cf,a);function c(a){let c=b[a];return"function"==typeof c?c:()=>c}function d(a){let b,d,g,h=f((b=e(),d=c("nodeSize"),g=c("spacing"),class extends b{constructor(a){super(a),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return d(this.data)}spacing(a){return g(this.data,a.data)}get x(){return this.data.x}set x(a){this.data.x=a}get y(){return this.data.y}set y(a){this.data.y=a}update(){return ch(this),ci(this),this}}),a,a=>a.children);return h.update(),h.data}function e(){let a=c("nodeSize"),b=c("spacing");return class c extends b9.prototype.constructor{constructor(a){super(a)}copy(){let a=f(this.constructor,this,a=>a.children);return a.each(a=>a.data=a.data.data),a}get size(){return a(this)}spacing(a){return b(this,a)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){let a=this.ancestors();return a[a.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((a,b)=>c.maxExtents(a,b.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(a,b){return{top:Math.min(a.top,b.top),bottom:Math.max(a.bottom,b.bottom),left:Math.min(a.left,b.left),right:Math.max(a.right,b.right)}}}}function f(a,b,c){let d=(b,e)=>{let f=new a(b);Object.assign(f,{parent:e,depth:null===e?0:e.depth+1,height:0,length:1});let g=c(b)||[];return f.children=0===g.length?null:g.map(a=>d(a,f)),f.children&&Object.assign(f,f.children.reduce((a,b)=>({height:Math.max(a.height,b.height+1),length:a.length+b.length}),f)),f};return d(b,null)}return Object.assign(d,{nodeSize(a){return arguments.length?(b.nodeSize=a,d):b.nodeSize},spacing(a){return arguments.length?(b.spacing=a,d):b.spacing},children(a){return arguments.length?(b.children=a,d):b.children},hierarchy(a,c){let d=void 0===c?b.children:c;return f(e(),a,d)},dump(a){let b=c("nodeSize"),d=a=>c=>{let e=a+" ",f=a+" ",{x:g,y:h}=c,i=b(c),j=c.children||[],k=0===j.length?" ":`,${e}children: [${f}${j.map(d(f)).join(f)}${e}],${a}`;return`{ size: [${i.join(", ")}],${e}x: ${g}, y: ${h}${k}},`};return d("\n")(a)}}),d}cg.version=ce;let ch=(a,b=0)=>(a.y=b,(a.children||[]).reduce((b,c)=>{let[d,e]=b;ch(c,a.y+a.ySize);let f=(0===d?c.lExt:c.rExt).bottom;0!==d&&ck(a,d,e);let g=cs(f,d,e);return[d+1,g]},[0,null]),cj(a),cr(a),a),ci=(a,b,c)=>{void 0===b&&(b=-a.relX-a.prelim,c=0);let d=b+a.relX;return a.relX=d+a.prelim-c,a.prelim=0,a.x=c+a.relX,(a.children||[]).forEach(b=>ci(b,d,a.x)),a},cj=a=>{(a.children||[]).reduce((a,b)=>{let[c,d]=a,e=c+b.shift,f=d+e+b.change;return b.relX+=f,[e,f]},[0,0])},ck=(a,b,c)=>{let d=a.children[b-1],e=a.children[b],f=d,g=d.relX,h=e,i=e.relX,j=!0;for(;f&&h;){f.bottom>c.lowY&&(c=c.next);let d=g+f.prelim-(i+h.prelim)+f.xSize/2+h.xSize/2+f.spacing(h);(d>0||d<0&&j)&&(i+=d,cl(e,d),cm(a,b,c.index,d)),j=!1;let k=f.bottom,l=h.bottom;k<=l&&(f=co(f))&&(g+=f.relX),k>=l&&(h=cn(h))&&(i+=h.relX)}!f&&h?cp(a,b,h,i):f&&!h&&cq(a,b,f,g)},cl=(a,b)=>{a.relX+=b,a.lExtRelX+=b,a.rExtRelX+=b},cm=(a,b,c,d)=>{let e=a.children[b],f=b-c;if(f>1){let b=d/f;a.children[c+1].shift+=b,e.shift-=b,e.change-=d-b}},cn=a=>a.hasChildren?a.firstChild:a.lThr,co=a=>a.hasChildren?a.lastChild:a.rThr,cp=(a,b,c,d)=>{let e=a.firstChild,f=e.lExt,g=a.children[b];f.lThr=c;let h=d-c.relX-e.lExtRelX;f.relX+=h,f.prelim-=h,e.lExt=g.lExt,e.lExtRelX=g.lExtRelX},cq=(a,b,c,d)=>{let e=a.children[b],f=e.rExt,g=a.children[b-1];f.rThr=c;let h=d-c.relX-e.rExtRelX;f.relX+=h,f.prelim-=h,e.rExt=g.rExt,e.rExtRelX=g.rExtRelX},cr=a=>{if(a.hasChildren){let b=a.firstChild,c=a.lastChild;Object.assign(a,{prelim:(b.prelim+b.relX-b.xSize/2+c.relX+c.prelim+c.xSize/2)/2,lExt:b.lExt,lExtRelX:b.lExtRelX,rExt:c.rExt,rExtRelX:c.rExtRelX})}},cs=(a,b,c)=>{for(;null!==c&&a>=c.lowY;)c=c.next;return{lowY:a,index:b,next:c}};var ct=Array.prototype.slice;function cu(a){return function(){return a}}class cv{constructor(a,b){this._context=a,this._x=b}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,b,a,b):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+b)/2,a,this._y0,a,b)}this._x0=a,this._y0=b}}function cw(a){return new cv(a,!0)}let cx=Math.PI,cy=2*cx,cz=cy-1e-6;function cA(a){this._+=a[0];for(let b=1,c=a.length;b=0))throw Error(`invalid digits: ${a}`);if(b>15)return cA;let c=10**b;return function(a){this._+=a[0];for(let b=1,d=a.length;b1e-6)if(Math.abs(k*h-i*j)>1e-6&&e){let m=c-f,n=d-g,o=h*h+i*i,p=Math.sqrt(o),q=Math.sqrt(l),r=e*Math.tan((cx-Math.acos((o+l-(m*m+n*n))/(2*p*q)))/2),s=r/q,t=r/p;Math.abs(s-1)>1e-6&&this._append`L${a+s*j},${b+s*k}`,this._append`A${e},${e},0,0,${+(k*m>j*n)},${this._x1=a+t*h},${this._y1=b+t*i}`}else this._append`L${this._x1=a},${this._y1=b}`}arc(a,b,c,d,e,f){if(a*=1,b*=1,c*=1,f=!!f,c<0)throw Error(`negative radius: ${c}`);let g=c*Math.cos(d),h=c*Math.sin(d),i=a+g,j=b+h,k=1^f,l=f?d-e:e-d;null===this._x1?this._append`M${i},${j}`:(Math.abs(this._x1-i)>1e-6||Math.abs(this._y1-j)>1e-6)&&this._append`L${i},${j}`,c&&(l<0&&(l=l%cy+cy),l>cz?this._append`A${c},${c},0,1,${k},${a-g},${b-h}A${c},${c},0,1,${k},${this._x1=i},${this._y1=j}`:l>1e-6&&this._append`A${c},${c},0,${+(l>=cx)},${k},${this._x1=a+c*Math.cos(e)},${this._y1=b+c*Math.sin(e)}`)}rect(a,b,c,d){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+b}h${c*=1}v${+d}h${-c}Z`}toString(){return this._}}function cC(a){return a[0]}function cD(a){return a[1]}function cE(a){return a.source}function cF(a){return a.target}cB.prototype;let cG=function(a,b){let c;if(void 0===b)for(let b of a)null!=b&&(c=b)&&(c=b);else{let d=-1;for(let e of a)null!=(e=b(e,++d,a))&&(c=e)&&(c=e)}return c},cH=function(a,b){let c;if(void 0===b)for(let b of a)null!=b&&(c>b||void 0===c&&b>=b)&&(c=b);else{let d=-1;for(let e of a)null!=(e=b(e,++d,a))&&(c>e||void 0===c&&e>=e)&&(c=e)}return c},cI=function(a,b){let c=0;if(void 0===b)for(let b of a)(b*=1)&&(c+=b);else{let d=-1;for(let e of a)(e=+b(e,++d,a))&&(c+=e)}return c},cJ=function(a,b){var c=0,d=0;return Float64Array.from(a,void 0===b?a=>c+=+a||0:e=>c+=+b(e,d++,a)||0)},cK=function(){var a,b=b4,c=b5;function d(d){var e,f,g,h,i,j,k,l,m=Array.from(d),n=b,o=c,p=new Map;if(null!=a){let b=m.map((b,c)=>{var e;let f;return e=a(b,c,d),f=(e=`${e}`).length,b7(e,f-1)&&!b7(e,f-2)&&(e=e.slice(0,-1)),"/"===e[0]?e:`/${e}`}),c=b.map(b6),e=new Set(b).add("");for(let a of c)e.has(a)||(e.add(a),b.push(a),c.push(b6(a)),m.push(b3));n=(a,c)=>b[c],o=(a,b)=>c[b]}for(g=0,e=m.length;g=0&&(j=m[a]).data===b3;--a)j.data=null}if(h.parent=b1,h.eachBefore(function(a){a.depth=a.parent.depth+1,--e}).eachBefore(bZ),h.parent=null,e>0)throw Error("cycle");return h}return d.id=function(a){return arguments.length?(b=b0(a),d):b},d.parentId=function(a){return arguments.length?(c=b0(a),d):c},d.path=function(b){return arguments.length?(a=b0(b),d):a},d},cL=function(){var a,b,c,d=bO,e=bP,f=bT,g=bR,h=bS,i=[0,1/0],j=[[-1/0,-1/0],[1/0,1/0]],k=250,l=bH,m=t("start","zoom","end"),n=0,o=10;function p(a){a.property("__zoom",bQ).on("wheel.zoom",x,{passive:!1}).on("mousedown.zoom",y).on("dblclick.zoom",z).filter(h).on("touchstart.zoom",A).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function q(a,b){return(b=Math.max(i[0],Math.min(i[1],b)))===a.k?a:new bK(b,a.x,a.y)}function r(a,b,c){var d=b[0]-c[0]*a.k,e=b[1]-c[1]*a.k;return d===a.x&&e===a.y?a:new bK(a.k,d,e)}function s(a){return[(+a[0][0]+ +a[1][0])/2,(+a[0][1]+ +a[1][1])/2]}function u(a,b,c,d){a.on("start.zoom",function(){v(this,arguments).event(d).start()}).on("interrupt.zoom end.zoom",function(){v(this,arguments).event(d).end()}).tween("zoom",function(){var a=arguments,f=v(this,a).event(d),g=e.apply(this,a),h=null==c?s(g):"function"==typeof c?c.apply(this,a):c,i=Math.max(g[1][0]-g[0][0],g[1][1]-g[0][1]),j=this.__zoom,k="function"==typeof b?b.apply(this,a):b,m=l(j.invert(h).concat(i/j.k),k.invert(h).concat(i/k.k));return function(a){if(1===a)a=k;else{var b=m(a),c=i/b[2];a=new bK(c,h[0]-b[0]*c,h[1]-b[1]*c)}f.zoom(null,a)}})}function v(a,b,c){return!c&&a.__zooming||new w(a,b)}function w(a,b){this.that=a,this.args=b,this.active=0,this.sourceEvent=null,this.extent=e.apply(a,b),this.taps=0}function x(a,...b){if(d.apply(this,arguments)){var c=v(this,b).event(a),e=this.__zoom,h=Math.max(i[0],Math.min(i[1],e.k*Math.pow(2,g.apply(this,arguments)))),k=a$(a);if(c.wheel)(c.mouse[0][0]!==k[0]||c.mouse[0][1]!==k[1])&&(c.mouse[1]=e.invert(c.mouse[0]=k)),clearTimeout(c.wheel);else{if(e.k===h)return;c.mouse=[k,e.invert(k)],bn(this),c.start()}bN(a),c.wheel=setTimeout(function(){c.wheel=null,c.end()},150),c.zoom("mouse",f(r(q(e,h),c.mouse[0],c.mouse[1]),c.extent,j))}}function y(a,...b){if(!c&&d.apply(this,arguments)){var e,g,h,i=a.currentTarget,k=v(this,b,!0).event(a),l=aj(a.view).on("mousemove.zoom",function(a){if(bN(a),!k.moved){var b=a.clientX-o,c=a.clientY-p;k.moved=b*b+c*c>n}k.event(a).zoom("mouse",f(r(k.that.__zoom,k.mouse[0]=a$(a,i),k.mouse[1]),k.extent,j))},!0).on("mouseup.zoom",function(a){var b,c,d,e;l.on("mousemove.zoom mouseup.zoom",null),b=a.view,c=k.moved,d=b.document.documentElement,e=aj(b).on("dragstart.drag",null),c&&(e.on("click.drag",al,ak),setTimeout(function(){e.on("click.drag",null)},0)),"onselectstart"in d?e.on("selectstart.drag",null):(d.style.MozUserSelect=d.__noselect,delete d.__noselect),bN(a),k.event(a).end()},!0),m=a$(a,i),o=a.clientX,p=a.clientY;g=(e=a.view).document.documentElement,h=aj(e).on("dragstart.drag",al,ak),"onselectstart"in g?h.on("selectstart.drag",al,ak):(g.__noselect=g.style.MozUserSelect,g.style.MozUserSelect="none"),bM(a),k.mouse=[m,this.__zoom.invert(m)],bn(this),k.start()}}function z(a,...b){if(d.apply(this,arguments)){var c=this.__zoom,g=a$(a.changedTouches?a.changedTouches[0]:a,this),h=c.invert(g),i=c.k*(a.shiftKey?.5:2),l=f(r(q(c,i),g,h),e.apply(this,b),j);bN(a),k>0?aj(this).transition().duration(k).call(u,l,g,a):aj(this).call(p.transform,l,g,a)}}function A(c,...e){if(d.apply(this,arguments)){var f,g,h,i,j=c.touches,k=j.length,l=v(this,e,c.changedTouches.length===k).event(c);for(bM(c),g=0;ga.nodeId||a.id,parentNodeId:a=>a.parentNodeId||a.parentId,rootMargin:40,nodeWidth:a=>250,nodeHeight:a=>150,neighbourMargin:(a,b)=>80,siblingsMargin:a=>20,childrenMargin:a=>60,compactMarginPair:a=>100,compactMarginBetween:a=>20,nodeButtonWidth:a=>40,nodeButtonHeight:a=>40,nodeButtonX:a=>-20,nodeButtonY:a=>-20,linkYOffset:30,pagingStep:a=>5,minPagingVisibleNodes:a=>2e3,scaleExtent:[.001,20],duration:400,imageName:"Chart",setActiveNodeCentered:!0,layout:"top",compact:!0,createZoom:a=>cL(),onZoomStart:a=>{},onZoom:a=>{},onZoomEnd:a=>{},onNodeClick:a=>a,onExpandOrCollapse:a=>a,nodeContent:a=>``,buttonContent:({node:a,state:b})=>`
${({left:b=>b?`
${a.data._directSubordinatesPaging}
`:`
${a.data._directSubordinatesPaging}
`,bottom:b=>b?`
${a.data._directSubordinatesPaging}
`:`
${a.data._directSubordinatesPaging}
`,right:b=>b?`
${a.data._directSubordinatesPaging}
`:`
${a.data._directSubordinatesPaging}
`,top:b=>b?`
${a.data._directSubordinatesPaging}
`:`
${a.data._directSubordinatesPaging}
`})[b.layout](a.children)}
`,pagingButton:(a,b,c,d)=>{let e=d.pagingStep(a.parent),f=a.parent.data._pagingStep,g=Math.min(a.parent.data._directSubordinatesPaging-f,e);return`
Show next ${g} nodes
`},nodeUpdate:function(a,b,c){aj(this).select(".node-rect").attr("stroke",a=>a.data._highlighted||a.data._upToTheRootHighlighted?"#E27396":"none").attr("stroke-width",a.data._highlighted||a.data._upToTheRootHighlighted?10:1)},nodeEnter:a=>a,nodeExit:a=>a,linkUpdate:function(a,b,c){aj(this).attr("stroke",a=>a.data._upToTheRootHighlighted?"#E27396":"#E4E2E9").attr("stroke-width",a=>a.data._upToTheRootHighlighted?5:1),a.data._upToTheRootHighlighted&&aj(this).raise()},hdiagonal:function(a,b,c){let d=a.x,e=a.y,f=b.x,g=b.y,h=c&&null!=c.x?c.x:d,i=c&&null!=c.y?c.y:e,j=f-d<0?-1:1,k=g-e<0?-1:1,l=Math.abs(f-d)/2<35?Math.abs(f-d)/2:35,m=Math.abs(f-d)/2-(l=Math.abs(g-e)/2 ${b.map(b=>{let c=this.getTextWidth(b.label,{ctx:a.ctx,fontSize:2,defaultFont:a.defaultFont});return` ${b.label||""} `}).join("")} `},connectionsUpdate:function(a,b,c){aj(this).attr("stroke",a=>"#E27396").attr("stroke-linecap","round").attr("stroke-width",a=>"5").attr("pointer-events","none").attr("marker-start",a=>`url(#${a.from+"_"+a.to})`).attr("marker-end",a=>`url(#arrow-${a.from+"_"+a.to})`)},linkGroupArc:(function(a){let b,c=cE,d=cF,e=cC,f=cD,g=null,h=null,i=(b=3,j.digits=function(a){if(!arguments.length)return b;if(null==a)b=null;else{let c=Math.floor(a);if(!(c>=0))throw RangeError(`invalid digits: ${a}`);b=c}return j},()=>new cB(b));function j(){let b,j=ct.call(arguments),k=c.apply(this,j),l=d.apply(this,j);if(null==g&&(h=a(b=i())),h.lineStart(),j[0]=k,h.point(+e.apply(this,j),+f.apply(this,j)),j[0]=l,h.point(+e.apply(this,j),+f.apply(this,j)),h.lineEnd(),b)return h=null,b+""||null}return j.source=function(a){return arguments.length?(c=a,j):c},j.target=function(a){return arguments.length?(d=a,j):d},j.x=function(a){return arguments.length?(e="function"==typeof a?a:cu(+a),j):e},j.y=function(a){return arguments.length?(f="function"==typeof a?a:cu(+a),j):f},j.context=function(b){return arguments.length?(null==b?g=h=null:h=a(g=b),j):g},j})(cw).x(a=>a.x).y(a=>a.y),layoutBindings:{left:{nodeLeftX:a=>0,nodeRightX:a=>a.width,nodeTopY:a=>-a.height/2,nodeBottomY:a=>a.height/2,nodeJoinX:a=>a.x+a.width,nodeJoinY:a=>a.y-a.height/2,linkJoinX:a=>a.x+a.width,linkJoinY:a=>a.y,linkX:a=>a.x,linkY:a=>a.y,linkCompactXStart:a=>a.x+a.width/2,linkCompactYStart:a=>a.y+(a.compactEven?a.height/2:-a.height/2),compactLinkMidX:(a,b)=>a.firstCompactNode.x,compactLinkMidY:(a,b)=>a.firstCompactNode.y+a.firstCompactNode.flexCompactDim[0]/4+b.compactMarginPair(a)/4,linkParentX:a=>a.parent.x+a.parent.width,linkParentY:a=>a.parent.y,buttonX:a=>a.width,buttonY:a=>a.height/2,centerTransform:({root:a,rootMargin:b,centerY:c,scale:d,centerX:e})=>`translate(${b},${c}) scale(${d})`,compactDimension:{sizeColumn:a=>a.height,sizeRow:a=>a.width,reverse:a=>a.slice().reverse()},nodeFlexSize:({height:a,width:b,siblingsMargin:c,childrenMargin:d,state:e,node:f})=>e.compact&&f.flexCompactDim?[f.flexCompactDim[0],f.flexCompactDim[1]]:[a+c,b+d],zoomTransform:({centerY:a,scale:b})=>`translate(0,${a}) scale(${b})`,diagonal:this.hdiagonal.bind(this),swap:a=>{let b=a.x;a.x=a.y,a.y=b},nodeUpdateTransform:({x:a,y:b,width:c,height:d})=>`translate(${a},${b-d/2})`},top:{nodeLeftX:a=>-a.width/2,nodeRightX:a=>a.width/2,nodeTopY:a=>0,nodeBottomY:a=>a.height,nodeJoinX:a=>a.x-a.width/2,nodeJoinY:a=>a.y+a.height,linkJoinX:a=>a.x,linkJoinY:a=>a.y+a.height,linkCompactXStart:a=>a.x+(a.compactEven?a.width/2:-a.width/2),linkCompactYStart:a=>a.y+a.height/2,compactLinkMidX:(a,b)=>a.firstCompactNode.x+a.firstCompactNode.flexCompactDim[0]/4+b.compactMarginPair(a)/4,compactLinkMidY:a=>a.firstCompactNode.y,compactDimension:{sizeColumn:a=>a.width,sizeRow:a=>a.height,reverse:a=>a},linkX:a=>a.x,linkY:a=>a.y,linkParentX:a=>a.parent.x,linkParentY:a=>a.parent.y+a.parent.height,buttonX:a=>a.width/2,buttonY:a=>a.height,centerTransform:({root:a,rootMargin:b,centerY:c,scale:d,centerX:e})=>`translate(${e},${b}) scale(${d})`,nodeFlexSize:({height:a,width:b,siblingsMargin:c,childrenMargin:d,state:e,node:f,compactViewIndex:g})=>e.compact&&f.flexCompactDim?[f.flexCompactDim[0],f.flexCompactDim[1]]:[b+c,a+d],zoomTransform:({centerX:a,scale:b})=>`translate(${a},0}) scale(${b})`,diagonal:this.diagonal.bind(this),swap:a=>{},nodeUpdateTransform:({x:a,y:b,width:c,height:d})=>`translate(${a-c/2},${b})`},bottom:{nodeLeftX:a=>-a.width/2,nodeRightX:a=>a.width/2,nodeTopY:a=>-a.height,nodeBottomY:a=>0,nodeJoinX:a=>a.x-a.width/2,nodeJoinY:a=>a.y-a.height-a.height,linkJoinX:a=>a.x,linkJoinY:a=>a.y-a.height,linkCompactXStart:a=>a.x+(a.compactEven?a.width/2:-a.width/2),linkCompactYStart:a=>a.y-a.height/2,compactLinkMidX:(a,b)=>a.firstCompactNode.x+a.firstCompactNode.flexCompactDim[0]/4+b.compactMarginPair(a)/4,compactLinkMidY:a=>a.firstCompactNode.y,linkX:a=>a.x,linkY:a=>a.y,compactDimension:{sizeColumn:a=>a.width,sizeRow:a=>a.height,reverse:a=>a},linkParentX:a=>a.parent.x,linkParentY:a=>a.parent.y-a.parent.height,buttonX:a=>a.width/2,buttonY:a=>0,centerTransform:({root:a,rootMargin:b,centerY:c,scale:d,centerX:e,chartHeight:f})=>`translate(${e},${f-b}) scale(${d})`,nodeFlexSize:({height:a,width:b,siblingsMargin:c,childrenMargin:d,state:e,node:f})=>e.compact&&f.flexCompactDim?[f.flexCompactDim[0],f.flexCompactDim[1]]:[b+c,a+d],zoomTransform:({centerX:a,scale:b})=>`translate(${a},0}) scale(${b})`,diagonal:this.diagonal.bind(this),swap:a=>{a.y=-a.y},nodeUpdateTransform:({x:a,y:b,width:c,height:d})=>`translate(${a-c/2},${b-d})`},right:{nodeLeftX:a=>-a.width,nodeRightX:a=>0,nodeTopY:a=>-a.height/2,nodeBottomY:a=>a.height/2,nodeJoinX:a=>a.x-a.width-a.width,nodeJoinY:a=>a.y-a.height/2,linkJoinX:a=>a.x-a.width,linkJoinY:a=>a.y,linkX:a=>a.x,linkY:a=>a.y,linkParentX:a=>a.parent.x-a.parent.width,linkParentY:a=>a.parent.y,buttonX:a=>0,buttonY:a=>a.height/2,linkCompactXStart:a=>a.x-a.width/2,linkCompactYStart:a=>a.y+(a.compactEven?a.height/2:-a.height/2),compactLinkMidX:(a,b)=>a.firstCompactNode.x,compactLinkMidY:(a,b)=>a.firstCompactNode.y+a.firstCompactNode.flexCompactDim[0]/4+b.compactMarginPair(a)/4,centerTransform:({root:a,rootMargin:b,centerY:c,scale:d,centerX:e,chartWidth:f})=>`translate(${f-b},${c}) scale(${d})`,nodeFlexSize:({height:a,width:b,siblingsMargin:c,childrenMargin:d,state:e,node:f})=>e.compact&&f.flexCompactDim?[f.flexCompactDim[0],f.flexCompactDim[1]]:[a+c,b+d],compactDimension:{sizeColumn:a=>a.height,sizeRow:a=>a.width,reverse:a=>a.slice().reverse()},zoomTransform:({centerY:a,scale:b})=>`translate(0,${a}) scale(${b})`,diagonal:this.hdiagonal.bind(this),swap:a=>{let b=a.x;a.x=-a.y,a.y=b},nodeUpdateTransform:({x:a,y:b,width:c,height:d})=>`translate(${a-c},${b-d/2})`}}};this.getChartState=()=>a,Object.keys(a).forEach(b=>{this[b]=function(c){return arguments.length?(a[b]=c,this):a[b]}}),this.initializeEnterExitUpdatePattern()}initializeEnterExitUpdatePattern(){ai.prototype.patternify=function(a){var b=a.selector,c=a.tag,d=a.data||[b],e=this.selectAll("."+b).data(d,(a,b)=>"object"==typeof a&&a.id?a.id:b);return e.exit().remove(),(e=e.enter().append(c).merge(e)).attr("class",b),e}}getNodeChildren({data:a,children:b,_children:c},d){return d.push(a),b&&b.forEach(a=>{this.getNodeChildren(a,d)}),c&&c.forEach(a=>{this.getNodeChildren(a,d)}),d}initialZoom(a){return this.getChartState().lastTransform.k=a,this}render(){let a=this.getChartState();if(!a.data||0==a.data.length)return console.log("ORG CHART - Data is empty"),a.container&&(aj(a.container).select(".nodes-wrapper").remove(),aj(a.container).select(".links-wrapper").remove(),aj(a.container).select(".connections-wrapper").remove()),this;let b=aj(a.container),c=b.node().getBoundingClientRect();c.width>0&&(a.svgWidth=c.width);let d={id:`ID${Math.floor(1e6*Math.random())}`,chartWidth:a.svgWidth,chartHeight:a.svgHeight};if(a.calc=d,d.centerX=d.chartWidth/2,d.centerY=d.chartHeight/2,a.firstDraw){let b={zoom:null};b.zoom=a.createZoom().clickDistance(10).on("start",(b,c)=>a.onZoomStart(b)).on("end",(b,c)=>a.onZoomEnd(b)).on("zoom",(b,c)=>{a.onZoom(b),this.zoomed(b,c)}).scaleExtent(a.scaleExtent),a.zoomBehavior=b.zoom}a.flexTreeLayout=cg({nodeSize:b=>{let c=a.nodeWidth(b),d=a.nodeHeight(b),e=a.siblingsMargin(b),f=a.childrenMargin(b);return a.layoutBindings[a.layout].nodeFlexSize({state:a,node:b,width:c,height:d,siblingsMargin:e,childrenMargin:f})}}).spacing((b,c)=>b.parent==c.parent?0:a.neighbourMargin(b,c)),this.setLayouts({expandNodesFirst:!1});let e=b.patternify({tag:"svg",selector:"svg-chart-container"}).attr("width",a.svgWidth).attr("height",a.svgHeight).attr("font-family",a.defaultFont);a.firstDraw&&e.call(a.zoomBehavior).on("dblclick.zoom",null).attr("cursor","move"),a.svg=e;let f=e.patternify({tag:"g",selector:"chart"});return a.centerG=f.patternify({tag:"g",selector:"center-group"}),a.linksWrapper=a.centerG.patternify({tag:"g",selector:"links-wrapper"}),a.nodesWrapper=a.centerG.patternify({tag:"g",selector:"nodes-wrapper"}),a.connectionsWrapper=a.centerG.patternify({tag:"g",selector:"connections-wrapper"}),a.defsWrapper=e.patternify({tag:"g",selector:"defs-wrapper"}),a.firstDraw&&a.centerG.attr("transform",()=>a.layoutBindings[a.layout].centerTransform({centerX:d.centerX,centerY:d.centerY,scale:a.lastTransform.k,rootMargin:a.rootMargin,root:a.root,chartHeight:d.chartHeight,chartWidth:d.chartWidth})),a.chart=f,this.update(a.root),aj(window).on(`resize.${a.id}`,()=>{let b=aj(a.container).node().getBoundingClientRect();a.svg.attr("width",b.width)}),a.firstDraw&&(a.firstDraw=!1),this}addNode(a){let b=this.getChartState();if(a&&(null==b.parentNodeId(a)||b.parentNodeId(a)==b.nodeId(a))&&0==b.data.length)return b.data.push(a),this.render(),this;let c=b.generateRoot(b.data).descendants(),d=c.filter(({data:c})=>b.nodeId(c).toString()===b.nodeId(a).toString())[0];return(c.filter(({data:c})=>b.nodeId(c).toString()===b.parentNodeId(a).toString())[0],d)?console.log(`ORG CHART - ADD - Node with id "${b.nodeId(a)}" already exists in tree`):(a._centered&&!a._expanded&&(a._expanded=!0),b.data.push(a),this.updateNodesState()),this}removeNode(a){let b=this.getChartState(),c=b.generateRoot(b.data).descendants().filter(({data:c})=>b.nodeId(c)==a)[0];return c?(c.descendants().forEach(a=>a.data._filteredOut=!0),b.data=b.data.filter(a=>!a._filteredOut),0==b.data.length?this.render():this.updateNodesState.bind(this)()):console.log(`ORG CHART - REMOVE - Node with id "${a}" not found in the tree`),this}groupBy(a,b,c){let d={};return a.forEach(a=>{let c=b(a);d[c]||(d[c]=[]),d[c].push(a)}),Object.keys(d).forEach(a=>{d[a]=c(d[a])}),Object.entries(d)}calculateCompactFlexDimensions(a){let b=this.getChartState();a.eachBefore(a=>{a.firstCompact=null,a.compactEven=null,a.flexCompactDim=null,a.firstCompactNode=null}),a.eachBefore(a=>{if(a.children&&a.children.length>1){let c=a.children.filter(a=>!a.children);if(c.length<2)return;c.forEach((a,b)=>{b||(a.firstCompact=!0),b%2?a.compactEven=!1:a.compactEven=!0,a.row=Math.floor(b/2)});let d=2*Math.max(cG(c.filter(a=>a.compactEven),b.layoutBindings[b.layout].compactDimension.sizeColumn),cG(c.filter(a=>!a.compactEven),b.layoutBindings[b.layout].compactDimension.sizeColumn)),e=cI(this.groupBy(c,a=>a.row,a=>cG(a,a=>b.layoutBindings[b.layout].compactDimension.sizeRow(a)+b.compactMarginBetween(a))).map(a=>a[1]));c.forEach(a=>{a.firstCompactNode=c[0],a.firstCompact?a.flexCompactDim=[d+b.compactMarginPair(a),e-b.compactMarginBetween(a)]:a.flexCompactDim=[0,0]}),a.flexCompactDim=null}})}calculateCompactFlexPositions(a){let b=this.getChartState();a.eachBefore(a=>{if(a.children){let c=a.children.filter(a=>a.flexCompactDim),d=c[0];if(!d)return;c.forEach((a,c,e)=>{0==c&&(d.x-=d.flexCompactDim[0]/2),c&c%2-1?a.x=d.x+.25*d.flexCompactDim[0]-b.compactMarginPair(a)/4:c&&(a.x=d.x+.75*d.flexCompactDim[0]+b.compactMarginPair(a)/4)});let e=d.x+.5*d.flexCompactDim[0];d.x=d.x+.25*d.flexCompactDim[0]-b.compactMarginPair(d)/4;let f=a.x-e;10>Math.abs(f)&&c.forEach(a=>a.x+=f);let g=cJ(this.groupBy(c,a=>a.row,a=>cG(a,a=>b.layoutBindings[b.layout].compactDimension.sizeRow(a))).map(a=>a[1]+b.compactMarginBetween(a)));c.forEach((a,b)=>{a.row?a.y=d.y+g[a.row-1]:a.y=d.y})}})}update({x0:a,y0:b,x:c=0,y:d=0,width:e,height:f}){let g=this.getChartState();g.calc,g.compact&&this.calculateCompactFlexDimensions(g.root);let h=g.flexTreeLayout(g.root);g.compact&&this.calculateCompactFlexPositions(g.root);let i=h.descendants(),j=h.descendants().slice(1);i.forEach(g.layoutBindings[g.layout].swap);let k=g.connections,l={};g.allNodes.forEach(a=>l[g.nodeId(a.data)]=a);let m={};i.forEach(a=>m[g.nodeId(a.data)]=a),k.forEach(a=>{let b=l[a.from],c=l[a.to];a._source=b,a._target=c});let n=k.filter(a=>m[a.from]&&m[a.to]),o=g.defs.bind(this)(g,n);o!==g.defsWrapper.html()&&g.defsWrapper.html(o);let p=g.linksWrapper.selectAll("path.link").data(j,a=>g.nodeId(a.data)),q=p.enter().insert("path","g").attr("class","link").attr("d",c=>{let d={x:g.layoutBindings[g.layout].linkJoinX({x:a,y:b,width:e,height:f}),y:g.layoutBindings[g.layout].linkJoinY({x:a,y:b,width:e,height:f})};return g.layoutBindings[g.layout].diagonal(d,d,d)}).merge(p);q.attr("fill","none"),this.isEdge()?q.style("display",a=>a.data._pagingButton?"none":"auto"):q.attr("display",a=>a.data._pagingButton?"none":"auto"),q.each(g.linkUpdate),q.transition().duration(g.duration).attr("d",a=>{let b=g.compact&&a.flexCompactDim?{x:g.layoutBindings[g.layout].compactLinkMidX(a,g),y:g.layoutBindings[g.layout].compactLinkMidY(a,g)}:{x:g.layoutBindings[g.layout].linkX(a),y:g.layoutBindings[g.layout].linkY(a)},c={x:g.layoutBindings[g.layout].linkParentX(a),y:g.layoutBindings[g.layout].linkParentY(a)},d=g.compact&&a.flexCompactDim?{x:g.layoutBindings[g.layout].linkCompactXStart(a),y:g.layoutBindings[g.layout].linkCompactYStart(a)}:b;return g.layoutBindings[g.layout].diagonal(b,c,d,{sy:g.linkYOffset})}),p.exit().transition().duration(g.duration).attr("d",a=>{let b={x:g.layoutBindings[g.layout].linkJoinX({x:c,y:d,width:e,height:f}),y:g.layoutBindings[g.layout].linkJoinY({x:c,y:d,width:e,height:f})};return g.layoutBindings[g.layout].diagonal(b,b,null,{sy:g.linkYOffset})}).remove();let r=g.connectionsWrapper.selectAll("path.connection").data(n),s=r.enter().insert("path","g").attr("class","connection").attr("d",c=>{let d={x:g.layoutBindings[g.layout].linkJoinX({x:a,y:b,width:e,height:f}),y:g.layoutBindings[g.layout].linkJoinY({x:a,y:b,width:e,height:f})};return g.layoutBindings[g.layout].diagonal(d,d,null,{sy:g.linkYOffset})}).merge(r);s.attr("fill","none"),s.transition().duration(g.duration).attr("d",a=>{let b=g.layoutBindings[g.layout].linkX({x:a._source.x,y:a._source.y,width:a._source.width,height:a._source.height}),c=g.layoutBindings[g.layout].linkY({x:a._source.x,y:a._source.y,width:a._source.width,height:a._source.height}),d=g.layoutBindings[g.layout].linkJoinX({x:a._target.x,y:a._target.y,width:a._target.width,height:a._target.height}),e=g.layoutBindings[g.layout].linkJoinY({x:a._target.x,y:a._target.y,width:a._target.width,height:a._target.height});return g.linkGroupArc({source:{x:b,y:c},target:{x:d,y:e}})}),s.each(g.connectionsUpdate),r.exit().transition().duration(g.duration).attr("opacity",0).remove();let t=g.nodesWrapper.selectAll("g.node").data(i,({data:a})=>g.nodeId(a)),u=t.enter().append("g").attr("class","node").attr("transform",c=>{if(c==g.root)return`translate(${a},${b})`;let d=g.layoutBindings[g.layout].nodeJoinX({x:a,y:b,width:e,height:f}),h=g.layoutBindings[g.layout].nodeJoinY({x:a,y:b,width:e,height:f});return`translate(${d},${h})`}).attr("cursor","pointer").on("click.node",(a,b)=>{let{data:c}=b;if(![...a.srcElement.classList].includes("node-button-foreign-object")){if([...a.srcElement.classList].includes("paging-button-wrapper"))return void this.loadPagingNodes(b);if(!c._pagingButton)return void g.onNodeClick(b);console.log("event fired, no handlers")}}).on("keydown.node",(a,b)=>{let{data:c}=b;if("Enter"===a.key||" "===a.key||"Spacebar"===a.key){if([...a.srcElement.classList].includes("node-button-foreign-object"))return;if([...a.srcElement.classList].includes("paging-button-wrapper"))return void this.loadPagingNodes(b);("Enter"===a.key||" "===a.key||"Spacebar"===a.key)&&this.onButtonClick(a,b)}});u.each(g.nodeEnter),u.patternify({tag:"rect",selector:"node-rect",data:a=>[a]});let v=u.merge(t).style("font","12px sans-serif");v.patternify({tag:"foreignObject",selector:"node-foreign-object",data:a=>[a]}).style("overflow","visible").patternify({tag:"xhtml:div",selector:"node-foreign-object-div",data:a=>[a]}),this.restyleForeignObjectElements();let w=u.patternify({tag:"g",selector:"node-button-g",data:a=>[a]}).on("click",(a,b)=>this.onButtonClick(a,b)).on("keydown",(a,b)=>{("Enter"===a.key||" "===a.key||"Spacebar"===a.key)&&this.onButtonClick(a,b)});w.patternify({tag:"rect",selector:"node-button-rect",data:a=>[a]}).attr("opacity",0).attr("pointer-events","all").attr("width",a=>g.nodeButtonWidth(a)).attr("height",a=>g.nodeButtonHeight(a)).attr("x",a=>g.nodeButtonX(a)).attr("y",a=>g.nodeButtonY(a)),w.patternify({tag:"foreignObject",selector:"node-button-foreign-object",data:a=>[a]}).attr("width",a=>g.nodeButtonWidth(a)).attr("height",a=>g.nodeButtonHeight(a)).attr("x",a=>g.nodeButtonX(a)).attr("y",a=>g.nodeButtonY(a)).style("overflow","visible").patternify({tag:"xhtml:div",selector:"node-button-div",data:a=>[a]}).style("pointer-events","none").style("display","flex").style("width","100%").style("height","100%"),v.transition().attr("opacity",0).duration(g.duration).attr("transform",({x:a,y:b,width:c,height:d})=>g.layoutBindings[g.layout].nodeUpdateTransform({x:a,y:b,width:c,height:d})).attr("opacity",1),v.select(".node-rect").attr("width",({width:a})=>a).attr("height",({height:a})=>a).attr("x",({width:a})=>0).attr("y",({height:a})=>0).attr("cursor","pointer").attr("rx",3).attr("fill",g.nodeDefaultBackground),v.select(".node-button-g").attr("transform",({data:a,width:b,height:c})=>{let d=g.layoutBindings[g.layout].buttonX({width:b,height:c}),e=g.layoutBindings[g.layout].buttonY({width:b,height:c});return`translate(${d},${e})`}).attr("display",({data:a})=>a._directSubordinates>0?null:"none").attr("opacity",({data:a,children:b,_children:c})=>a._pagingButton?0:b||c?1:0),v.select(".node-button-foreign-object .node-button-div").html(a=>g.buttonContent({node:a,state:g})),v.select(".node-button-text").attr("text-anchor","middle").attr("alignment-baseline","middle").attr("font-size",({children:a})=>a?40:26).text(({children:a})=>a?"-":"+").attr("y",10*!!this.isEdge()),v.each(g.nodeUpdate);let x=t.exit();x.each(g.nodeExit);let y=x.data().reduce((a,b)=>a.depth{let{x:b,y:c,width:d,height:e}=y.parent||{},f=g.layoutBindings[g.layout].nodeJoinX({x:b,y:c,width:d,height:e}),h=g.layoutBindings[g.layout].nodeJoinY({x:b,y:c,width:d,height:e});return`translate(${f},${h})`}).on("end",function(){aj(this).remove()}).attr("opacity",0),i.forEach(a=>{a.x0=a.x,a.y0=a.y});let z=g.allNodes.filter(a=>a.data._centered)[0];if(z){let a=[z];z.data._centeredWithDescendants&&(a=g.compact?z.descendants().filter((a,b)=>b<7):z.descendants().filter((a,b,c)=>{let d=Math.round(c.length/2);return c.length%2?b>d-2&&bd-2&&ba).attr("height",({height:a})=>a).attr("x",({width:a})=>0).attr("y",({height:a})=>0),a.svg.selectAll(".node-foreign-object-div").style("width",({width:a})=>`${a}px`).style("height",({height:a})=>`${a}px`).html(function(b,c,d){return b.data._pagingButton?`
${a.pagingButton(b,c,d,a)}
`:a.nodeContent.bind(this)(b,c,d,a)})}onButtonClick(a,b){let c=this.getChartState();b.data._pagingButton||(c.setActiveNodeCentered&&(b.data._centered=!0,b.data._centeredWithDescendants=!0),b.children?(b._children=b.children,b.children=null,this.setExpansionFlagToChildren(b,!1)):(b.children=b._children,b._children=null,b.children&&b.children.forEach(({data:a})=>a._expanded=!0)),this.update(b),a.stopPropagation(),c.onExpandOrCollapse(b))}setExpansionFlagToChildren({data:a,children:b,_children:c},d){a._expanded=d,b&&b.forEach(a=>{this.setExpansionFlagToChildren(a,d)}),c&&c.forEach(a=>{this.setExpansionFlagToChildren(a,d)})}expandSomeNodes(a){if(a.data._expanded){let b=a.parent;for(;b&&b._children;)b.children=b._children,b._children=null,b=b.parent}a._children&&a._children.forEach(a=>this.expandSomeNodes(a)),a.children&&a.children.forEach(a=>this.expandSomeNodes(a))}updateNodesState(){let a=this.getChartState();this.setLayouts({expandNodesFirst:!0}),this.update(a.root)}setLayouts({expandNodesFirst:a=!0}){let b=this.getChartState();b.generateRoot=cK().id(a=>b.nodeId(a)).parentId(a=>b.parentNodeId(a)),b.root=b.generateRoot(b.data);let c=b.root.descendants();b.initialExpandLevel>1&&c.length>0&&(c.forEach(a=>{a.depth<=b.initialExpandLevel&&(a.data._expanded=!0)}),b.initialExpandLevel=1);let d={};b.root.descendants().filter(a=>a.children).filter(a=>!a.data._pagingStep).forEach(a=>{a.data._pagingStep=b.minPagingVisibleNodes(a)}),b.root.eachBefore((a,b)=>{a.data._directSubordinatesPaging=a.children?a.children.length:0,a.children&&a.children.forEach((b,c)=>{if(b.data._pagingButton=!1,c>a.data._pagingStep&&(d[b.id]=!0),c===a.data._pagingStep&&a.children.length-1>a.data._pagingStep&&(b.data._pagingButton=!0),d[b.parent.id]&&(d[b.id]=!0),b.data._expanded||b.data._centered||b.data._highlighted||b.data._upToTheRootHighlighted){let a=b;for(;a&&(d[a.id]||a.data._pagingButton);)d[a.id]=!1,a.data._pagingButton&&(a.data._pagingButton=!1,a.parent.children.forEach(a=>{a.data._expanded=!0,d[a.id]=!1})),a=a.parent}})}),b.root=cK().id(a=>b.nodeId(a)).parentId(a=>b.parentNodeId(a))(b.data.filter(a=>!0!==d[a.id])),b.root.each((a,c,d)=>{let e=a._hierarchyHeight||a.height,f=b.nodeWidth(a),g=b.nodeHeight(a);Object.assign(a,{width:f,height:g,_hierarchyHeight:e})}),b.root.x0=0,b.root.y0=0,b.allNodes=b.root.descendants(),b.allNodes.forEach(a=>{Object.assign(a.data,{_directSubordinates:a.children?a.children.length:0,_totalSubordinates:a.descendants().length-1})}),b.root.children&&(a&&b.root.children.forEach(this.expand),b.root.children.forEach(a=>this.collapse(a)),0==b.initialExpandLevel&&(b.root._children=b.root.children,b.root.children=null),[b.root].forEach(a=>this.expandSomeNodes(a)))}collapse(a){a.children&&(a._children=a.children,a._children.forEach(a=>this.collapse(a)),a.children=null)}expand(a){a._children&&(a.children=a._children,a.children.forEach(a=>this.expand(a)),a._children=null)}zoomed(a,b){let c=this.getChartState(),d=c.chart,e=a.transform;c.lastTransform=e,d.attr("transform",e),this.isEdge()&&this.restyleForeignObjectElements()}zoomTreeBounds({x0:a,x1:b,y0:c,y1:d,params:e={animate:!0,scale:!0,onCompleted:()=>{}}}){let{centerG:f,svgWidth:g,svgHeight:h,svg:i,zoomBehavior:j,duration:k,lastTransform:l}=this.getChartState(),m=Math.min(8,.9/Math.max((b-a)/g,(d-c)/h)),n=bL.translate(g/2,h/2);n=(n=n.scale(e.scale?m:l.k)).translate(-(a+b)/2,-(c+d)/2),i.transition().duration(e.animate?k:0).call(j.transform,n),f.transition().duration(e.animate?k:0).attr("transform","translate(0,0)").on("end",function(){e.onCompleted&&e.onCompleted()})}fit({animate:a=!0,nodes:b,scale:c=!0,onCompleted:d=()=>{}}={}){let e=this.getChartState(),{root:f}=e,g=b||f.descendants(),h=cH(g,a=>a.x+e.layoutBindings[e.layout].nodeLeftX(a)),i=cG(g,a=>a.x+e.layoutBindings[e.layout].nodeRightX(a)),j=cH(g,a=>a.y+e.layoutBindings[e.layout].nodeTopY(a)),k=cG(g,a=>a.y+e.layoutBindings[e.layout].nodeBottomY(a));return this.zoomTreeBounds({params:{animate:a,scale:c,onCompleted:d},x0:h-50,x1:i+50,y0:j-50,y1:k+50}),this}loadPagingNodes(a){let b=this.getChartState();a.data._pagingButton=!1;let c=a.parent.data._pagingStep,d=b.pagingStep(a.parent);a.parent.data._pagingStep=c+d,this.updateNodesState()}setExpanded(a,b=!0){let c=this.getChartState(),d=c.allNodes.filter(({data:b})=>c.nodeId(b)==a)[0];if(!d)return console.log(`ORG CHART - ${b?"EXPAND":"COLLAPSE"} - Node with id (${a}) not found in the tree`),this;if(d.data._expanded=b,!1==b){let a=d.parent||{descendants:()=>[]};a.descendants().filter(b=>b!=a).forEach(a=>a.data._expanded=!1)}return this}setCentered(a){let b=this.getChartState(),c=b.generateRoot(b.data).descendants().filter(({data:c})=>b.nodeId(c).toString()==a.toString())[0];return c?(c.ancestors().forEach(a=>a.data._expanded=!0),c.data._centered=!0,c.data._expanded=!0):console.log(`ORG CHART - CENTER - Node with id (${a}) not found in the tree`),this}setHighlighted(a){let b=this.getChartState(),c=b.generateRoot(b.data).descendants().filter(c=>b.nodeId(c.data).toString()===a.toString())[0];return c?(c.ancestors().forEach(a=>a.data._expanded=!0),c.data._highlighted=!0,c.data._expanded=!0,c.data._centered=!0):console.log(`ORG CHART - HIGHLIGHT - Node with id (${a}) not found in the tree`),this}setUpToTheRootHighlighted(a){let b=this.getChartState(),c=b.generateRoot(b.data).descendants().filter(c=>b.nodeId(c.data).toString()===a.toString())[0];return c?(c.ancestors().forEach(a=>a.data._expanded=!0),c.data._upToTheRootHighlighted=!0,c.data._expanded=!0,c.ancestors().forEach(a=>a.data._upToTheRootHighlighted=!0)):console.log(`ORG CHART - HIGHLIGHTROOT - Node with id (${a}) not found in the tree`),this}clearHighlighting(){let a=this.getChartState();return a.allNodes.forEach(a=>{a.data._highlighted=!1,a.data._upToTheRootHighlighted=!1}),this.update(a.root),this}fullscreen(a){let b=this.getChartState(),c=aj(a||b.container).node();aj(document).on("fullscreenchange."+b.id,function(a){(document.fullscreenElement||document.mozFullscreenElement||document.webkitFullscreenElement)==c?setTimeout(a=>{b.svg.attr("height",window.innerHeight-40)},500):b.svg.attr("height",b.svgHeight)}),c.requestFullscreen?c.requestFullscreen():c.mozRequestFullScreen?c.mozRequestFullScreen():c.webkitRequestFullscreen?c.webkitRequestFullscreen():c.msRequestFullscreen&&c.msRequestFullscreen()}zoomIn(){let{svg:a,zoomBehavior:b}=this.getChartState();a.transition().call(b.scaleBy,1.3)}zoomOut(){let{svg:a,zoomBehavior:b}=this.getChartState();a.transition().call(b.scaleBy,.78)}toDataURL(a,b){var c=new XMLHttpRequest;c.onload=function(){var a=new FileReader;a.onloadend=function(){b(a.result)},a.readAsDataURL(c.response)},c.open("GET",a),c.responseType="blob",c.send()}exportImg({full:a=!1,scale:b=3,onLoad:c=a=>a,save:d=!0,backgroundColor:e="#FAFAFA"}={}){let f=this,g=this.getChartState(),{svg:h,root:i}=g,j=0,k=h.selectAll("img"),l=k.size(),m=()=>{JSON.parse(JSON.stringify(f.lastTransform()));let h=f.duration();a&&f.fit();let{svg:j}=f.getChartState();setTimeout(a=>{f.downloadImage({node:j.node(),scale:b,isSvg:!1,backgroundColor:e,onAlreadySerialized:a=>{f.update(i)},imageName:g.imageName,onLoad:c,save:d})},a?h+10:0)};l>0?k.each(function(){f.toDataURL(this.src,a=>{this.src=a,++j==l&&m()})}):m()}exportSvg(){let{svg:a,imageName:b}=this.getChartState();return this.downloadImage({imageName:b,node:a.node(),scale:3,isSvg:!0}),this}expandAll(){let{allNodes:a,root:b,data:c}=this.getChartState();return c.forEach(a=>a._expanded=!0),this.render(),this}collapseAll(){let{allNodes:a,root:b}=this.getChartState();return a.forEach(a=>a.data._expanded=!1),this.initialExpandLevel(0),this.render(),this}downloadImage({node:a,scale:b=2,imageName:c="graph",isSvg:d=!1,save:e=!0,backgroundColor:f="#FAFAFA",onAlreadySerialized:g=a=>{},onLoad:h=a=>{}}){function i(a,b){var c=document.createElement("a");"string"==typeof c.download?(document.body.appendChild(c),c.download=b,c.href=a,c.click(),document.body.removeChild(c)):location.replace(a)}function j(a){let b="http://www.w3.org/2000/xmlns/";a=a.cloneNode(!0);let c=window.location.href+"#",d=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(;d.nextNode();)for(let a of d.currentNode.attributes)a.value.includes(c)&&(a.value=a.value.replace(c,"#"));return a.setAttributeNS(b,"xmlns","http://www.w3.org/2000/svg"),a.setAttributeNS(b,"xmlns:xlink","http://www.w3.org/1999/xlink"),new XMLSerializer().serializeToString(a)}if(d){let b=j(a);var k="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(b='\r\n'+b);i(k,c+".svg"),g();return}let l=document.createElement("img");l.onload=function(){let d=document.createElement("canvas"),g=a.getBoundingClientRect();d.width=g.width*b,d.height=g.height*b;let j=d.getContext("2d");j.fillStyle=f,j.fillRect(0,0,g.width*b,g.height*b),j.drawImage(l,0,0,g.width*b,g.height*b);let k=d.toDataURL("image/png");h&&h(k),e&&i(k,c+".png")};var k="data:image/svg+xml; charset=utf8, "+encodeURIComponent(j(a));g(),l.src=k}getTextWidth(a,{fontSize:b=14,fontWeight:c=400,defaultFont:d="Helvetice",ctx:e}={}){return e.font=`${c||""} ${b}px ${d} `,e.measureText(a).width}clear(){let a=this.getChartState();aj(window).on(`resize.${a.id}`,null),a.svg&&a.svg.selectAll("*").remove()}}var cN=a.i(14411);let cO=(0,f.forwardRef)(({members:a,rootId:b,onMemberClick:d,onExport:e,relationMode:h=!1,selectedMembers:i=[]},j)=>{console.log("D3OrgChartFlow render, selectedMembers:",i,"relationMode:",h);let k=(0,f.useRef)(null),l=(0,f.useRef)(null),[m,n]=(0,f.useState)(!1),[o,p]=(0,f.useState)(new Map);(0,f.useEffect)(()=>((async()=>{let b=new Map;for(let c of Object.values(a))if(c.avatarImageId)try{let a=await g.db.images.get(c.avatarImageId);if(a){let d=URL.createObjectURL(a.blob);b.set(c.avatarImageId,d)}}catch(a){console.error(`Failed to load avatar for ${c.fullName}:`,a)}p(b)})(),()=>{o.forEach(a=>URL.revokeObjectURL(a))}),[a]),(0,f.useEffect)(()=>{if(!k.current||!b)return;k.current&&(k.current.innerHTML="");let c=(()=>{let c=[];if(!a[b])return[];let d=new Set,e=[b];for(;e.length>0;){let f=e.shift();if(d.has(f))continue;d.add(f);let g=a[f];if(!g)continue;let h=g.spouseIds?.map(b=>a[b]).filter(Boolean)||[],i=null;if(f!==b){let b=g.fatherId?a[g.fatherId]:null,c=g.motherId?a[g.motherId]:null,d=b&&g.surname===b.surname,e=c&&g.surname===c.surname;d?i=g.fatherId||null:e?i=g.motherId||null:b?i=g.fatherId||null:c&&(i=g.motherId||null)}let j=function(a,b){if(!a)return null;let c=new Date(a),d=b?new Date(b):new Date,e=d.getFullYear()-c.getFullYear(),f=d.getMonth()-c.getMonth();return(f<0||0===f&&d.getDate()0?h.map(a=>a.fullName).join(", "):"",spouseId:h.length>0?h[0].id:null,hasChildren:Object.values(a).some(a=>a.fatherId===g.id||a.motherId===g.id),ageText:k}),Object.values(a).forEach(a=>{a.fatherId!==f&&a.motherId!==f||d.has(a.id)||e.push(a.id)})}return c})(),e=new cM().container(k.current).data(c).nodeWidth(()=>160).nodeHeight(()=>120).childrenMargin(()=>50).compactMarginBetween(()=>35).compactMarginPair(()=>35).neighbourMargin(()=>35).siblingsMargin(()=>35).linkUpdate(function(a,b,c){aj(c[b]).attr("stroke","#475569").attr("stroke-width",2.5)}).buttonContent(({node:a})=>`
${a.children?'':''} ${a.data._directSubordinates||0}
`).nodeContent(a=>{let b=a.data,c="男"===b.gender?"#3b82f6":"#ec4899",d="男"===b.gender?"#dbeafe":"#fce7f3",e=b.avatarImageId?o.get(b.avatarImageId):null,f=i.includes(b.id);return`
${e?`${b.name}`:(b.gender,'')}
${b.name} ${f?'':""}
${b.generation}
${b.birthYear?`
${b.birthYear}${b.deathYear?` - ${b.deathYear}`:""} ${b.ageText?`${b.ageText}`:""}
`:""} ${b.birthPlace?`
${b.birthPlace}
`:""}
${b.spouseName&&b.spouseId?`
配偶: ${b.spouseName}
`:""} ${b.deathYear?`
`:""}
`}).onNodeClick(a=>{if(d&&a){let b="string"==typeof a?a:a.data?.id||a.id;b&&d(b)}}).render().expandAll();return setTimeout(()=>{let a=k.current?.querySelectorAll(".spouse-area");a?.forEach(a=>{a.addEventListener("click",b=>{b.stopPropagation();let c=a.getAttribute("data-spouse-id");c&&d&&d(c)})})},100),l.current=e,n(!0),()=>{k.current&&(k.current.innerHTML="")}},[a,b,d,o]);let q=()=>{l.current&&l.current.exportImg({save:!0,full:!0,onLoad:()=>{e?.()}})},r=()=>{l.current&&l.current.exportImg({save:!1,full:!0,onLoad:a=>{let b=new cN.default({orientation:"landscape",unit:"px",format:"a4"}),c=new Image;c.src=a,c.onload=function(){let a=c.width,d=c.height,f=b.internal.pageSize.getWidth(),g=b.internal.pageSize.getHeight(),h=Math.min(f/a,g/d),i=a*h,j=d*h;b.addImage(c,"PNG",(f-i)/2,(g-j)/2,i,j),b.save(`家谱图-${new Date().toISOString().split("T")[0]}.pdf`),e?.()}}})},s=()=>{l.current&&l.current.expandAll()},t=()=>{l.current&&l.current.collapseAll()},u=()=>{l.current&&l.current.fit()};return(0,f.useImperativeHandle)(j,()=>({exportPNG:q,exportPDF:r,expandAll:s,collapseAll:t,fitView:u})),(0,c.jsx)("div",{className:"w-full h-full bg-background rounded-lg border relative",children:(0,c.jsx)("div",{ref:k,className:"w-full h-full",style:{overflow:"hidden"}})},`d3-chart-${b}`)});cO.displayName="D3OrgChartFlow";let cP=(0,f.memo)(cO,(a,b)=>a.rootId===b.rootId&&a.members===b.members);var cQ=a.i(13866),cR=a.i(8895),cS=a.i(66129),cT=a.i(87240),cU=a.i(82953),cV=a.i(76715);let cW=(0,k.default)("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),cX=(0,k.default)("Move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]]);var cY=a.i(38689);let cZ=(0,k.default)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);var c$=a.i(46128),c_=a.i(18951),c0=a.i(79551);function c1(){let{treeData:b}=(0,p.useFamily)(),{calculateRelationship:e}=(0,cQ.useRelationship)(),g=(0,q.useRouter)(),h=(0,q.useSearchParams)(),[i,j]=(0,f.useState)("traditional"),[k,l]=(0,f.useState)(!1),[m,n]=(0,f.useState)([]),[o,s]=(0,f.useState)(null),[t,u]=(0,f.useState)(!1),v=(0,f.useRef)(k),w=(0,f.useRef)(m);(0,f.useEffect)(()=>{v.current=k,w.current=m},[k,m]),(0,f.useEffect)(()=>{let a=h.get("view");("d3-org-chart"===a||"traditional"===a)&&j(a)},[h]);let[x,y]=(0,f.useState)(1),[z,A]=(0,f.useState)({x:0,y:0}),[B,C]=(0,f.useState)(!1),[D,E]=(0,f.useState)({x:0,y:0}),[F,G]=(0,f.useState)({x:0,y:0}),H=(0,f.useRef)(null),I=(0,f.useRef)(null),J=()=>{C(!1)},K=(0,f.useCallback)(a=>{if(console.log("D3 onMemberClick triggered:",a,"relationMode:",v.current),v.current){console.log("Calling handleMemberClick");let c=(a,b)=>{let c=document.querySelector(".w-full.h-full.bg-background.rounded-lg.border"),d=c?.querySelector("svg");d&&d.querySelectorAll("foreignObject").forEach(c=>{let d=c.parentNode?.__data__?.data;if(d?.id===a){let a=c.querySelector('div[style*="font-size: 13px"]');if(a)if(b)a.querySelector("svg")||(a.style.display="flex",a.style.alignItems="center",a.insertAdjacentHTML("beforeend",''));else{let b=a.querySelector("svg");b&&b.remove()}}})};if(0===w.current.length)c(a,!0),n([a]);else if(1===w.current.length){let[d]=w.current;if(d===a){c(a,!1),n([]);return}c(a,!0);let f=e(d,a);s({from:b.members[d],to:b.members[a],relationship:f}),u(!0),n([]),l(!1)}}else{console.log("Navigating to member detail");let b=new URLSearchParams(window.location.search);g.push(`/members/${a}?${b.toString()}`)}},[g,e,b.members]),L=async()=>{if(H.current)try{let b={...z};A({x:0,y:0}),y(1),await new Promise(a=>setTimeout(a,800));let c=H.current.querySelector('div[style*="transform"]');if(!c)throw Error("找不到族谱容器");let d=c.querySelectorAll("div"),e=[];d.forEach(a=>{String(a.className||"").includes("bg-foreground")&&e.push(a)});let f=c.cloneNode(!0),g=f.querySelectorAll("div"),h=0;g.forEach(a=>{if(String(a.className||"").includes("bg-foreground")&&e[h]){let b=e[h],c=window.getComputedStyle(b);a.style.backgroundColor=c.backgroundColor,a.style.width=c.width,a.style.height=c.height,a.style.position="absolute",a.style.left=c.left,a.style.top=c.top,h++}}),f.querySelectorAll("*").forEach(a=>{let b=String(a.className||"");b.includes("bg-foreground")||b.includes("pointer-events-none")||(a.style.border="none",a.style.outline="none")}),f.style.position="fixed",f.style.left="-9999px",f.style.top="0",document.body.appendChild(f),await new Promise(a=>setTimeout(a,200));let i=await a.A(7256),j=await i.default.toBlob(f,{quality:.95,bgcolor:"#ffffff"});document.body.removeChild(f),A(b),y(x);let k=URL.createObjectURL(j),l=document.createElement("a");l.download=`family-tree-${new Date().toISOString().split("T")[0]}.png`,l.href=k,l.click(),setTimeout(()=>URL.revokeObjectURL(k),100)}catch(a){console.error("导出图片失败:",a)}};return b.rootId?(0,c.jsxs)("div",{className:"h-screen flex flex-col bg-muted/30 overflow-hidden",children:[(0,c.jsx)(d.SiteHeader,{}),(0,c.jsxs)("div",{className:"absolute top-20 right-4 z-30 flex gap-2",children:[(0,c.jsxs)(cR.Button,{variant:k?"default":"outline",className:"gap-2 shadow-lg",onClick:()=>{l(!k),n([]),s(null)},children:[(0,c.jsx)(c_.Users,{className:"h-4 w-4"}),k?0===m.length?"选择第一个成员":"选择第二个成员":"关系查询"]}),(0,c.jsxs)(cS.DropdownMenu,{children:[(0,c.jsx)(cS.DropdownMenuTrigger,{asChild:!0,children:(0,c.jsxs)(cR.Button,{variant:"outline",className:"gap-2 shadow-lg",children:[(0,c.jsx)(cZ,{className:"h-4 w-4"}),"traditional"===i?"传统视图":"D3家谱图",(0,c.jsx)(c$.ChevronDown,{className:"h-3 w-3"})]})}),(0,c.jsxs)(cS.DropdownMenuContent,{align:"end",className:"w-48",children:[(0,c.jsx)(cS.DropdownMenuItem,{onClick:()=>{let a=new URLSearchParams(h.toString());a.set("view","traditional"),g.push(`/tree?${a.toString()}`)},className:"traditional"===i?"bg-accent":"",children:(0,c.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,c.jsx)("span",{children:"传统家谱视图"}),"traditional"===i&&(0,c.jsx)("span",{className:"text-primary",children:"✓"})]})}),(0,c.jsx)(cS.DropdownMenuItem,{onClick:()=>{let a=new URLSearchParams(h.toString());a.set("view","d3-org-chart"),g.push(`/tree?${a.toString()}`)},className:"d3-org-chart"===i?"bg-accent":"",children:(0,c.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,c.jsx)("span",{children:"D3 家谱图"}),"d3-org-chart"===i&&(0,c.jsx)("span",{className:"text-primary",children:"✓"})]})})]})]})]}),"traditional"===i?(0,c.jsxs)("div",{className:"flex-1 relative",children:[(0,c.jsxs)("div",{className:"absolute top-4 left-4 z-20 flex flex-col gap-2 bg-background/80 backdrop-blur p-2 rounded-lg border shadow-sm",children:[(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>y(a=>Math.min(a+.1,2)),children:(0,c.jsx)(cV.ZoomIn,{className:"h-4 w-4"})}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>y(a=>Math.max(a-.1,.1)),children:(0,c.jsx)(cW,{className:"h-4 w-4"})}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>A({x:0,y:0}),children:(0,c.jsx)(cX,{className:"h-4 w-4"})}),(0,c.jsx)("div",{className:"h-px bg-border my-1"}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:L,title:"导出为图片",children:(0,c.jsx)(cY.Download,{className:"h-4 w-4"})})]}),(0,c.jsx)("div",{ref:H,className:"w-full h-full overflow-hidden cursor-move relative touch-none bg-[url('https://www.transparenttextures.com/patterns/rice-paper.png')] bg-repeat select-none",onMouseDown:a=>{a.target.closest(".family-node-card")||(C(!0),E({x:a.clientX-z.x,y:a.clientY-z.y}),G({x:a.clientX,y:a.clientY}))},onMouseMove:a=>{if(!B)return;let b=Math.abs(a.clientX-F.x),c=Math.abs(a.clientY-F.y);b<5&&c<5||A({x:a.clientX-D.x,y:a.clientY-D.y})},onMouseUp:J,onMouseLeave:J,children:(0,c.jsx)("div",{style:{transform:`translate(${z.x}px, ${z.y}px) scale(${x})`,transformOrigin:"top center",transition:B?"none":"transform 0.1s ease-out"},className:"absolute min-w-full min-h-full flex justify-center pt-20 pb-20",children:(0,c.jsx)(r,{rootId:b.rootId,relationMode:k,selectedMembers:m,onMemberClick:a=>{if(0===m.length)n([a]);else if(1===m.length){let[c]=m;if(c===a)return void n([]);let d=e(c,a);s({from:b.members[c],to:b.members[a],relationship:d}),u(!0),n([]),l(!1)}}})})})]}):(0,c.jsxs)("div",{className:"flex-1 relative",children:[(0,c.jsxs)("div",{className:"absolute top-4 left-4 z-20 flex flex-col gap-2 bg-background/80 backdrop-blur p-2 rounded-lg border shadow-sm",children:[(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>I.current?.expandAll(),title:"展开全部",children:(0,c.jsx)(cV.ZoomIn,{className:"h-4 w-4"})}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>I.current?.collapseAll(),title:"折叠全部",children:(0,c.jsx)(cW,{className:"h-4 w-4"})}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>I.current?.fitView(),title:"适应视图",children:(0,c.jsx)(cX,{className:"h-4 w-4"})}),(0,c.jsx)("div",{className:"h-px bg-border my-1"}),(0,c.jsx)(cR.Button,{variant:"outline",size:"icon",onClick:()=>I.current?.exportPNG(),title:"导出PNG",children:(0,c.jsx)(cY.Download,{className:"h-4 w-4"})})]}),(0,c.jsx)("div",{className:"w-full h-full p-4",children:(0,c.jsx)(cP,{ref:I,members:b.members,rootId:b.rootId,relationMode:k,selectedMembers:m,onMemberClick:K})})]}),(0,c.jsx)(cT.Dialog,{open:t,onOpenChange:a=>{if(u(a),!a&&o){let a=a=>{let b=document.querySelector(".w-full.h-full.bg-background.rounded-lg.border"),c=b?.querySelector("svg");c&&c.querySelectorAll("foreignObject").forEach(b=>{let c=b.parentNode?.__data__?.data;if(c?.id===a){let a=b.querySelector('div[style*="font-size: 13px"]');if(a){let b=a.querySelector("svg");b&&b.remove()}}})};a(o.from.id),a(o.to.id)}},children:(0,c.jsxs)(cT.DialogContent,{className:"max-w-2xl","aria-describedby":"relation-description",children:[(0,c.jsx)(cT.DialogHeader,{children:(0,c.jsx)(cT.DialogTitle,{children:"关系查询结果"})}),o&&(0,c.jsxs)("div",{className:"space-y-4",children:[(0,c.jsxs)("div",{className:"flex items-center justify-center gap-4 p-6 bg-muted rounded-lg",children:[(0,c.jsxs)("div",{className:"text-center",children:[(0,c.jsx)("div",{className:"text-2xl font-bold font-serif mb-1",children:o.from.fullName}),(0,c.jsxs)("div",{className:"text-sm text-muted-foreground",children:["第",o.from.generation,"世"]})]}),(0,c.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,c.jsx)(cU.Badge,{variant:"default",className:"text-lg px-4 py-2",children:o.relationship.term})}),(0,c.jsxs)("div",{className:"text-center",children:[(0,c.jsx)("div",{className:"text-2xl font-bold font-serif mb-1",children:o.to.fullName}),(0,c.jsxs)("div",{className:"text-sm text-muted-foreground",children:["第",o.to.generation,"世"]})]})]}),(0,c.jsxs)("div",{id:"relation-description",className:"p-4 bg-blue-50 dark:bg-blue-950 rounded-lg",children:[(0,c.jsx)("div",{className:"text-sm font-medium mb-1",children:"关系说明:"}),(0,c.jsxs)("div",{className:"text-muted-foreground",children:[(0,c.jsx)("strong",{children:o.from.fullName})," 是 ",(0,c.jsx)("strong",{children:o.to.fullName})," 的 ",(0,c.jsx)("strong",{className:"text-primary",children:o.relationship.term})]})]}),o.relationship.path&&(0,c.jsxs)("div",{className:"p-4 bg-muted rounded-lg",children:[(0,c.jsx)("div",{className:"text-sm font-medium mb-2",children:"关系路径:"}),(0,c.jsx)("div",{className:"text-xs text-muted-foreground break-all",children:o.relationship.path})]})]})]})})]}):(0,c.jsxs)("div",{className:"min-h-screen bg-background flex flex-col",children:[(0,c.jsx)(d.SiteHeader,{}),(0,c.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,c.jsxs)("div",{className:"text-center space-y-4",children:[(0,c.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 text-primary/80",children:(0,c.jsx)(c0.Network,{className:"h-16 w-16",strokeWidth:1})}),(0,c.jsx)("p",{className:"text-base text-foreground font-light tracking-wide",children:"谱系待续"})]})})]})}a.s(["default",()=>c1],73201)}]; //# sourceMappingURL=%5Broot-of-the-server%5D__f0844149._.js.map