@solomei-ai/intent 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,5 +8,5 @@
8
8
  * Copyright (c) 2024-present yorickshan and html2canvas-pro contributors
9
9
  * Released under MIT License
10
10
  */var t=class A{constructor(A={}){const t=A.window||("undefined"!=typeof window?window:void 0);if(!t)throw new Error("Window object is required but not available");this.window=t,this.cspNonce=A.cspNonce,this.cache=A.cache}static fromElement(t,e={}){const r=t.ownerDocument;if(!r)throw new Error("Element is not attached to a document");const n=r.defaultView;if(!n)throw new Error("Document is not attached to a window");return new A({window:n,...e})}clone(t={}){return new A({window:t.window||this.window,cspNonce:t.cspNonce??this.cspNonce,cache:t.cache??this.cache})}},e=class{constructor(A={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...A}}validateUrl(A,t="general"){if(!A||"string"!=typeof A)return{valid:!1,error:"URL must be a non-empty string"};if(A.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:A}:{valid:!1,error:"Data URLs are not allowed"};if(A.startsWith("blob:"))return{valid:!0,sanitized:A};try{const e=new URL(A);if(!["http:","https:"].includes(e.protocol))return{valid:!1,error:`Protocol ${e.protocol} is not allowed. Only http and https are permitted.`};if("proxy"===t&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const A=e.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(t=>{const e=t.toLowerCase();return A===e||A.endsWith("."+e)}))return{valid:!1,error:`Proxy domain ${e.hostname} is not in the allowed list`}}if("proxy"===t){if(!this.config.allowLocalhostProxy){const A=e.hostname.toLowerCase();if("localhost"===A||"127.0.0.1"===A||"::1"===A)return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(A))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(A.startsWith("169.254.")||A.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:A,requiresRuntimeCheck:!0}}return{valid:!0,sanitized:A}}catch(A){return{valid:!1,error:`Invalid URL format: ${A instanceof Error?A.message:"Unknown error"}`}}}isPrivateIP(A){return!![/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(t=>t.test(A))||!!A.includes(":")&&this.isPrivateIPv6(A)}isPrivateIPv6(A){const t=A.toLowerCase().trim().replace(/^\[|\]$/g,"").split("%")[0];if(/^(0:){7}1$/.test(t)||"::1"===t)return!0;if(/^(0:){7}0$/.test(t)||"::"===t)return!0;const e=this.expandIPv6(t);if(!e)return this.isPrivateIPv6Prefix(t);const r=parseInt(e.substring(0,2),16);if(r>=252&&r<=253)return!0;if(254===r){const A=parseInt(e.substring(2,4),16);if(A>=128&&A<=191)return!0}return 255===r}expandIPv6(A){try{if(A.includes("::")){const t=A.split("::");if(t.length>2)return null;const e=t[0]?t[0].split(":"):[],r=t[1]?t[1].split(":"):[],n=8-e.length-r.length;if(n<0)return null;const s=Array(n).fill("0000");return[...e,...s,...r].map(A=>A.padStart(4,"0")).join(":")}{const t=A.split(":");return 8!==t.length?null:t.map(A=>A.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(A){return!!(/^fc[0-9a-f]{0,2}:?/i.test(A)||/^fd[0-9a-f]{0,2}:?/i.test(A)||/^fe[89ab][0-9a-f]:?/i.test(A)||/^ff[0-9a-f]{0,2}:?/i.test(A))}validateCspNonce(A){return A&&"string"==typeof A?A.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(A)?{valid:!0,sanitized:A}:{valid:!1,error:"CSP nonce contains invalid characters"}:{valid:!1,error:"CSP nonce must be a non-empty string"}}validateImageTimeout(A){return"number"!=typeof A||isNaN(A)?{valid:!1,error:"Image timeout must be a number"}:A<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&A>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${A}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:A}}validateDimensions(A,t){if("number"!=typeof A||"number"!=typeof t)return{valid:!1,error:"Dimensions must be numbers"};if(isNaN(A)||isNaN(t))return{valid:!1,error:"Dimensions cannot be NaN"};if(A<=0||t<=0)return{valid:!1,error:"Dimensions must be positive"};return A>32767||t>32767?{valid:!1,error:"Dimensions exceed maximum allowed (32767px)"}:{valid:!0,sanitized:{width:A,height:t}}}validateScale(A){return"number"!=typeof A||isNaN(A)?{valid:!1,error:"Scale must be a number"}:A<=0?{valid:!1,error:"Scale must be positive"}:A>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:A}}validateElement(A){return A?"object"!=typeof A?{valid:!1,error:"Element must be an object"}:"undefined"!=typeof HTMLElement&&A instanceof HTMLElement?A.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:A.ownerDocument?A.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}:{valid:!1,error:"Element is required"}}validateOptions(A){const t=[],e=A.proxy;if(null!=e&&"string"==typeof e&&e.length>0){const A=this.validateUrl(e,"proxy");A.valid||t.push(`Proxy: ${A.error}`)}if(void 0!==A.imageTimeout){const e=this.validateImageTimeout(A.imageTimeout);e.valid||t.push(`Image timeout: ${e.error}`)}if(void 0!==A.width||void 0!==A.height){const e=this.validateDimensions(A.width??800,A.height??600);e.valid||t.push(`Dimensions: ${e.error}`)}if(void 0!==A.scale){const e=this.validateScale(A.scale);e.valid||t.push(`Scale: ${e.error}`)}if(void 0!==A.cspNonce){const e=this.validateCspNonce(A.cspNonce);e.valid||t.push(`CSP nonce: ${e.error}`)}if(this.config.customValidator){const e=this.config.customValidator(A,"options");e.valid||t.push(`Custom validation: ${e.error}`)}return t.length>0?{valid:!1,error:t.join("; ")}:{valid:!0}}},r=class{constructor(A,t=!0){this.context=A,this.activeMetrics=new Map,this.completedMetrics=[],this.enabled=t,this.getTime="undefined"!=typeof performance&&"function"==typeof performance.now?()=>performance.now():()=>Date.now()}start(A,t){this.enabled&&(this.activeMetrics.has(A)&&this.context?.logger.warn(`Performance metric '${A}' already started. Overwriting.`),this.activeMetrics.set(A,{name:A,startTime:this.getTime(),metadata:t}))}end(A){if(!this.enabled)return;const t=this.activeMetrics.get(A);if(t)return t.endTime=this.getTime(),t.duration=t.endTime-t.startTime,this.completedMetrics.push(t),this.activeMetrics.delete(A),this.context?.logger.debug(`⏱️ ${A}: ${t.duration.toFixed(2)}ms`,t.metadata),t;this.context?.logger.warn(`Performance metric '${A}' not found. Was start() called?`)}measure(A,t,e){this.start(A,e);try{const e=t();return this.end(A),e}catch(t){throw this.end(A),t}}async measureAsync(A,t,e){this.start(A,e);try{const e=await t();return this.end(A),e}catch(t){throw this.end(A),t}}getMetrics(){return[...this.completedMetrics]}getMetric(A){return this.completedMetrics.find(t=>t.name===A)}getSummary(){const A=this.completedMetrics.reduce((A,t)=>A+(t.duration||0),0),t=this.completedMetrics.map(t=>({name:t.name,duration:t.duration||0,percentage:A>0?((t.duration||0)/A*100).toFixed(1)+"%":"0%"}));return{totalDuration:A,metrics:this.getMetrics(),breakdown:t}}logSummary(){if(!this.enabled||0===this.completedMetrics.length||!this.context)return;const A=this.getSummary();this.context.logger.info(`\n📊 Performance Summary (Total: ${A.totalDuration.toFixed(2)}ms):`),A.breakdown.sort((A,t)=>t.duration-A.duration).forEach(A=>{this.context.logger.info(` ${A.name.padEnd(20)} ${A.duration.toFixed(2).padStart(8)}ms ${A.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},n=class A{constructor(A,t,e,r){this.left=A,this.top=t,this.width=e,this.height=r}add(t,e,r,n){return new A(this.left+t,this.top+e,this.width+r,this.height+n)}static fromClientRect(t,e){return new A(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height)}static fromDOMRectList(t,e){const r=Array.from(e);let n=r.find(A=>0!==A.width);return n||(n=r.find(A=>0!==A.height)),!n&&r.length>0&&(n=r[0]),n?new A(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height):A.EMPTY}static{this.EMPTY=new A(0,0,0,0)}};const s=(A,t)=>n.fromClientRect(A,t.getBoundingClientRect());for(var o=A=>{for(var t=[],e=0,r=A.length;e<r;){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var s=A.charCodeAt(e++);56320==(64512&s)?t.push(((1023&n)<<10)+(1023&s)+65536):(t.push(n),e--)}else t.push(n)}return t},i=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";for(var r=[],n=-1,s="";++n<e;){var o=A[n];o<=65535?r.push(o):r.push(55296+((o-=65536)>>10),o%1024+56320),(n+1===e||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},a="undefined"==typeof Uint8Array?[]:new Uint8Array(256),c=0;c<64;c++)a["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(c)]=c;for(var B="undefined"==typeof Uint8Array?[]:new Uint8Array(256),l=0;l<64;l++)B["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(l)]=l;for(var g=(A,t,e)=>A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e)),d=function(){function A(A,t,e,r,n,s){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return t=this.index[t=2080+(A>>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),w=0;w<64;w++)h["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(w)]=w;var u,Q,C,U,p,F,f,m,y=10,H=13,E=15,b=17,I=18,x=19,v=20,L=21,K=22,S=24,D=25,M=26,T=27,k=28,O=30,N=32,R=33,V=34,G=35,P=37,X=38,J=39,W=40,Y=42,Z=[9001,65288],$="×",_="÷",z=(U=(A=>{var t,e,r,n,s,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),l=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<i;t+=4)e=B[A.charCodeAt(t)],r=B[A.charCodeAt(t+1)],n=B[A.charCodeAt(t+2)],s=B[A.charCodeAt(t+3)],l[a++]=e<<2|r>>4,l[a++]=(15&r)<<4|n>>2,l[a++]=(3&n)<<6|63&s;return c})("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4AT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AcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4Q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AMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM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AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAe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AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQ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AB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFA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KwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAl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QAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),p=Array.isArray(U)?(A=>{for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e})(U):new Uint32Array(U),F=Array.isArray(U)?(A=>{for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e})(U):new Uint16Array(U),f=g(F,12,p[4]/2),m=2===p[5]?g(F,(24+p[4])/2):(u=p,Q=Math.ceil((24+p[4])/4),u.slice?u.slice(Q,C):new Uint32Array(Array.prototype.slice.call(u,Q,C))),new d(p[0],p[1],p[2],p[3],f,m)),j=[O,36],q=[1,2,3,5],AA=[y,8],tA=[T,M],eA=q.concat(AA),rA=[X,J,W,V,G],nA=[E,H],sA=(A,t,e,r)=>{var n=r[e];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var s=e;s<=r.length;){if((a=r[++s])===t)return!0;if(a!==y)break}if(n===y)for(s=e;s>0;){var o=r[--s];if(Array.isArray(A)?-1!==A.indexOf(o):A===o)for(var i=e;i<=r.length;){var a;if((a=r[++i])===t)return!0;if(a!==y)break}if(o!==y)break}return!1},oA=(A,t)=>{for(var e=A;e>=0;){var r=t[e];if(r!==y)return r;e--}return 0},iA=(A,t,e,r,n)=>{if(0===e[r])return $;var s=r-1;if(Array.isArray(n)&&!0===n[s])return $;var o=s-1,i=s+1,a=t[s],c=o>=0?t[o]:0,B=t[i];if(2===a&&3===B)return $;if(-1!==q.indexOf(a))return"!";if(-1!==q.indexOf(B))return $;if(-1!==AA.indexOf(B))return $;if(8===oA(s,t))return _;if(11===z.get(A[s]))return $;if((a===N||a===R)&&11===z.get(A[i]))return $;if(7===a||7===B)return $;if(9===a)return $;if(-1===[y,H,E].indexOf(a)&&9===B)return $;if(-1!==[b,I,x,S,k].indexOf(B))return $;if(oA(s,t)===K)return $;if(sA(23,K,s,t))return $;if(sA([b,I],L,s,t))return $;if(sA(12,12,s,t))return $;if(a===y)return _;if(23===a||23===B)return $;if(16===B||16===a)return _;if(-1!==[H,E,L].indexOf(B)||14===a)return $;if(36===c&&-1!==nA.indexOf(a))return $;if(a===k&&36===B)return $;if(B===v)return $;if(-1!==j.indexOf(B)&&a===D||-1!==j.indexOf(a)&&B===D)return $;if(a===T&&-1!==[P,N,R].indexOf(B)||-1!==[P,N,R].indexOf(a)&&B===M)return $;if(-1!==j.indexOf(a)&&-1!==tA.indexOf(B)||-1!==tA.indexOf(a)&&-1!==j.indexOf(B))return $;if(-1!==[T,M].indexOf(a)&&(B===D||-1!==[K,E].indexOf(B)&&t[i+1]===D)||-1!==[K,E].indexOf(a)&&B===D||a===D&&-1!==[D,k,S].indexOf(B))return $;if(-1!==[D,k,S,b,I].indexOf(B))for(var l=s;l>=0;){if((g=t[l])===D)return $;if(-1===[k,S].indexOf(g))break;l--}if(-1!==[T,M].indexOf(B))for(l=-1!==[b,I].indexOf(a)?o:s;l>=0;){var g;if((g=t[l])===D)return $;if(-1===[k,S].indexOf(g))break;l--}if(X===a&&-1!==[X,J,V,G].indexOf(B)||-1!==[J,V].indexOf(a)&&-1!==[J,W].indexOf(B)||-1!==[W,G].indexOf(a)&&B===W)return $;if(-1!==rA.indexOf(a)&&-1!==[v,M].indexOf(B)||-1!==rA.indexOf(B)&&a===T)return $;if(-1!==j.indexOf(a)&&-1!==j.indexOf(B))return $;if(a===S&&-1!==j.indexOf(B))return $;if(-1!==j.concat(D).indexOf(a)&&B===K&&-1===Z.indexOf(A[i])||-1!==j.concat(D).indexOf(B)&&a===I)return $;if(41===a&&41===B){for(var d=e[s],h=1;d>0&&41===t[--d];)h++;if(h%2!=0)return $}return a===N&&B===R?$:_},aA=function(){function A(A,t,e,r){this.codePoints=A,this.required="!"===t,this.start=e,this.end=r}return A.prototype.slice=function(){return i.apply(void 0,this.codePoints.slice(this.start,this.end))},A}();const cA=A=>A>=48&&A<=57,BA=A=>cA(A)||A>=65&&A<=70||A>=97&&A<=102,lA=A=>10===A||9===A||32===A,gA=A=>(A=>(A=>A>=97&&A<=122)(A)||(A=>A>=65&&A<=90)(A))(A)||(A=>A>=128)(A)||95===A,dA=A=>gA(A)||cA(A)||45===A,hA=A=>A>=0&&A<=8||11===A||A>=14&&A<=31||127===A,wA=(A,t)=>92===A&&10!==t,uA=(A,t,e)=>45===A?gA(t)||wA(t,e):!!gA(A)||!(92!==A||!wA(A,t)),QA=(A,t,e)=>43===A||45===A?!!cA(t)||46===t&&cA(e):cA(46===A?t:A),CA=A=>{let t=0,e=1;43!==A[t]&&45!==A[t]||(45===A[t]&&(e=-1),t++);const r=[];for(;cA(A[t]);)r.push(A[t++]);const n=r.length?parseInt(i(...r),10):0;46===A[t]&&t++;const s=[];for(;cA(A[t]);)s.push(A[t++]);const o=s.length,a=o?parseInt(i(...s),10):0;69!==A[t]&&101!==A[t]||t++;let c=1;43!==A[t]&&45!==A[t]||(45===A[t]&&(c=-1),t++);const B=[];for(;cA(A[t]);)B.push(A[t++]);const l=B.length?parseInt(i(...B),10):0;return e*(n+a*Math.pow(10,-o))*Math.pow(10,c*l)},UA={type:2},pA={type:3},FA={type:4},fA={type:13},mA={type:8},yA={type:21},HA={type:9},EA={type:10},bA={type:11},IA={type:12},xA={type:14},vA={type:23},LA={type:1},KA={type:25},SA={type:24},DA={type:26},MA={type:27},TA={type:28},kA={type:29},OA={type:31},NA={type:32};var RA=class A{static{this._pool=[]}static{this.MAX_POOL_SIZE=40}static get(){return A._pool.pop()||new A}static release(t){A._pool.length<A.MAX_POOL_SIZE&&(t._reset(),A._pool.push(t))}constructor(){this._value=[]}_reset(){this._value=[]}write(A){this._value=this._value.concat(o(A))}read(){const A=[];let t=this.consumeToken();for(;t!==NA;)A.push(t),t=this.consumeToken();return A}consumeToken(){const A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:{const A=this.peekCodePoint(0),t=this.peekCodePoint(1),e=this.peekCodePoint(2);if(dA(A)||wA(t,e)){const r=uA(A,t,e)?2:1;return{type:5,value:this.consumeName(),flags:r}}break}case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),fA;break;case 39:return this.consumeStringToken(39);case 40:return UA;case 41:return pA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xA;break;case 43:if(QA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return FA;case 45:{const t=A,e=this.peekCodePoint(0),r=this.peekCodePoint(1);if(QA(t,e,r))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(uA(t,e,r))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===e&&62===r)return this.consumeCodePoint(),this.consumeCodePoint(),SA;break}case 46:if(QA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){let A=this.consumeCodePoint();if(42===A&&(A=this.consumeCodePoint(),47===A))return this.consumeToken();if(-1===A)return this.consumeToken()}break;case 58:return DA;case 59:return MA;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),KA;break;case 64:if(uA(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2)))return{type:7,value:this.consumeName()};break;case 91:return TA;case 92:if(wA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return kA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),mA;break;case 123:return bA;case 125:return IA;case 117:case 85:{const t=this.peekCodePoint(0),e=this.peekCodePoint(1);return 43!==t||!BA(e)&&63!==e||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken()}case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),HA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),yA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),EA;break;case-1:return NA}return lA(A)?(this.consumeWhiteSpace(),OA):cA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):gA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:i(A)}}consumeCodePoint(){const A=this._value.shift();return void 0===A?-1:A}reconsumeCodePoint(A){this._value.unshift(A)}peekCodePoint(A){return A>=this._value.length?-1:this._value[A]}consumeUnicodeRangeToken(){const A=[];let t=this.consumeCodePoint();for(;BA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();let e=!1;for(;63===t&&A.length<6;)A.push(t),t=this.consumeCodePoint(),e=!0;if(e)return{type:30,start:parseInt(i(...A.map(A=>63===A?48:A)),16),end:parseInt(i(...A.map(A=>63===A?70:A)),16)};const r=parseInt(i(...A),16);if(45===this.peekCodePoint(0)&&BA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();const A=[];for(;BA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(i(...A),16)}}return{type:30,start:r,end:r}}consumeIdentLikeToken(){const 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}}consumeUrlToken(){const A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};const t=this.peekCodePoint(0);if(39===t||34===t){const A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),vA)}for(;;){const t=this.consumeCodePoint();if(-1===t||41===t)return{type:22,value:i(...A)};if(lA(t))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:i(...A)}):(this.consumeBadUrlRemnants(),vA);if(34===t||39===t||40===t||hA(t))return this.consumeBadUrlRemnants(),vA;if(92===t){if(!wA(t,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),vA;A.push(this.consumeEscapedCodePoint())}else A.push(t)}}consumeWhiteSpace(){for(;lA(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const A=this.consumeCodePoint();if(41===A||-1===A)return;wA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(A){let t="";for(;A>0;){const e=Math.min(5e4,A);t+=i(...this._value.splice(0,e)),A-=e}return this._value.shift(),t}consumeStringToken(A){let t="",e=0;for(;;){const r=this._value[e];if(-1===r||void 0===r||r===A)return t+=this.consumeStringSlice(e),{type:0,value:t};if(10===r)return this._value.splice(0,e),LA;if(92===r){const A=this._value[e+1];-1!==A&&void 0!==A&&(10===A?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):wA(r,A)&&(t+=this.consumeStringSlice(e),t+=i(this.consumeEscapedCodePoint()),e=-1))}e++}}consumeNumber(){const A=[];let t=4,e=this.peekCodePoint(0);for(43!==e&&45!==e||A.push(this.consumeCodePoint());cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0);let r=this.peekCodePoint(1);if(46===e&&cA(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0),r=this.peekCodePoint(1);const n=this.peekCodePoint(2);if((69===e||101===e)&&((43===r||45===r)&&cA(n)||cA(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;cA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[CA(A),t]}consumeNumericToken(){const[A,t]=this.consumeNumber(),e=this.peekCodePoint(0);return uA(e,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:A,flags:t,unit:this.consumeName()}:37===e?(this.consumeCodePoint(),{type:16,number:A,flags:t}):{type:17,number:A,flags:t}}consumeEscapedCodePoint(){const A=this.consumeCodePoint();if(BA(A)){let t=i(A);for(;BA(this.peekCodePoint(0))&&t.length<6;)t+=i(this.consumeCodePoint());lA(this.peekCodePoint(0))&&this.consumeCodePoint();const e=parseInt(t,16);return 0===e||(A=>A>=55296&&A<=57343)(e)||e>1114111?65533:e}return-1===A?65533:A}consumeName(){let A="";for(;;){const t=this.consumeCodePoint();if(dA(t))A+=i(t);else{if(!wA(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=i(this.consumeEscapedCodePoint())}}}},VA=class A{constructor(A){this._tokens=A}static create(t){const e=new RA;return e.write(t),new A(e.read())}static parseValue(t){return A.create(t).parseComponentValue()}static parseValues(t){return A.create(t).parseComponentValues()}parseComponentValue(){let A=this.consumeToken();for(;31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);const t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const A=[];for(;;){const t=this.consumeComponentValue();if(32===t.type)return A;A.push(t)}}consumeComponentValue(){const A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A}consumeSimpleBlock(A){const t={type:A,values:[]};let e=this.consumeToken();for(;;){if(32===e.type||_A(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}}consumeFunction(A){const t={name:A.value,values:[],type:18};for(;;){const A=this.consumeToken();if(32===A.type||3===A.type)return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue())}}consumeToken(){const A=this._tokens.shift();return void 0===A?NA:A}reconsumeToken(A){this._tokens.unshift(A)}};const GA=A=>15===A.type,PA=A=>17===A.type,XA=A=>20===A.type,JA=A=>0===A.type,WA=(A,t)=>XA(A)&&A.value===t,YA=A=>31!==A.type,ZA=A=>31!==A.type&&4!==A.type,$A=A=>{const t=[];let e=[];return A.forEach(A=>{4!==A.type?31!==A.type&&e.push(A):e.length&&(t.push(e),e=[])}),e.length&&t.push(e),t},_A=(A,t)=>11===t&&12===A.type||28===t&&29===A.type||2===t&&3===A.type,zA=/(\d+(?:\.\d+)?|[+\-*/()])/g,jA=A=>{const t=A.match(zA);if(!t)return NaN;const e=[],r=[],n={"+":1,"-":1,"*":2,"/":2};for(const A of t)if(/^\d+(?:\.\d+)?$/.test(A))e.push(parseFloat(A));else if("("===A)r.push(A);else if(")"===A){for(;r.length&&"("!==r[r.length-1];)e.push(r.pop());if(!r.length)return NaN;r.pop()}else{for(;r.length&&n[r[r.length-1]]>=n[A];)e.push(r.pop());r.push(A)}for(;r.length;){const A=r.pop();if("("===A)return NaN;e.push(A)}const s=[];for(const A of e)if("number"==typeof A)s.push(A);else{const t=s.pop(),e=s.pop();if(void 0===e||void 0===t)return NaN;switch(A){case"+":s.push(e+t);break;case"-":s.push(e-t);break;case"*":s.push(e*t);break;case"/":s.push(0===t?NaN:e/t);break;default:return NaN}}return 1===s.length?s[0]:NaN},qA=(A,t,e)=>Math.min(Math.max(A,t),e),At=(A,t)=>[A[0]*t[0]+A[1]*t[1]+A[2]*t[2],A[3]*t[0]+A[4]*t[1]+A[5]*t[2],A[6]*t[0]+A[7]*t[1]+A[8]*t[2]],tt=A=>At([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],A),et=A=>At([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],A),rt=A=>A.map(A=>{const t=A<0?-1:1,e=Math.abs(A);return e>.0031308?t*(1.055*e**(1/2.4)-.055):12.92*A}),nt=A=>A.map(A=>{const t=A<0?-1:1,e=Math.abs(A);return e<=.04045?A/12.92:t*((e+.055)/1.055)**2.4}),st=A=>17===A.type||15===A.type,ot=A=>16===A.type||st(A)||it(A),it=A=>17===A.type&&void 0!==A._calcPercentage,at=A=>{return 18===(t=A).type&&"calc"===t.name?(A=>{const t=ct(A,0);if(!t)return null;const e=ct(A,100);if(!e)return null;const r=t.number,n=e.number-r;return 0===n?t:{type:17,number:r,flags:4,_calcPercentage:n,_calcPixelOffset:r}})(A):ot(A)?A:null;var t},ct=(A,t=0)=>{const e=A=>{let r="";for(const n of A)if(31!==n.type)if(18===n.type){if("calc"!==n.name)return null;{const A=e(n.values);if(null===A)return null;r+=`(${A})`}}else if(17===n.type)r+=n.number.toString();else if(15===n.type)r+="px"===n.unit?n.number.toString():"rem"===n.unit||"em"===n.unit?(16*n.number).toString():n.number.toString();else if(16===n.type)r+=(n.number/100*t).toString();else if(6===n.type){const A=n.value;"+"===A||"-"===A||"*"===A||"/"===A?r+=` ${A} `:"("===A?r+="(":")"===A&&(r+=")")}return r};try{const t=e(A.values);if(null===t||""===t.trim())return null;const r=jA(t);if("number"==typeof r&&!isNaN(r))return{type:17,number:r,flags:4}}catch(A){return null}return null},Bt=A=>A.length>1?[A[0],A[1]]:[A[0]],lt={type:17,number:0,flags:4},gt={type:16,number:50,flags:4},dt={type:16,number:100,flags:4},ht=(A,t,e)=>{const[r,n]=A;return[wt(r,t),wt(void 0!==n?n:r,e)]},wt=(A,t)=>{if(it(A))return A._calcPercentage/100*t+A._calcPixelOffset;if(16===A.type)return A.number/100*t;if(GA(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},ut="grad",Qt="turn",Ct=(A,t)=>{if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case ut:return Math.PI/200*t.number;case"rad":return t.number;case Qt:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},Ut=A=>15===A.type&&("deg"===A.unit||A.unit===ut||"rad"===A.unit||A.unit===Qt),pt=A=>{switch(A.filter(XA).map(A=>A.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[lt,lt];case"to top":case"bottom":return Ft(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[lt,dt];case"to right":case"left":return Ft(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[dt,dt];case"to bottom":case"top":return Ft(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[dt,lt];case"to left":case"right":return Ft(270)}return 0},Ft=A=>Math.PI*A/180,ft=A=>!(255&A),mt=A=>{const t=255&A,e=255&A>>8,r=255&A>>16,n=255&A>>24;return t<255?`rgba(${n},${r},${e},${t/255})`:`rgb(${n},${r},${e})`},yt=(A,t,e,r)=>(A<<24|t<<16|e<<8|Math.round(255*r))>>>0,Ht=(A,t)=>{if(17===A.type)return A.number;if(16===A.type){const e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},Et=A=>"from"===(20===A[0].type?A[0].value:"unknown"),bt=([A,t,e,r])=>{const n=rt([A,t,e]);return yt(qA(Math.round(255*n[0]),0,255),qA(Math.round(255*n[1]),0,255),qA(Math.round(255*n[2]),0,255),r)},It=A=>{const t=tt([A[0],A[1],A[2]]);return bt([t[0],t[1],t[2],A[3]])},xt=(A,t)=>{const[e,r,n,s]=t.filter(ZA);return[(17===e.type?Ft(e.number):Ct(0,e))/(2*Math.PI),ot(r)?r.number/100:0,ot(n)?n.number/100:0,void 0!==s&&ot(s)?wt(s,1):1]},vt=(A,t)=>{if(Et(t))throw new Error("Relative color not supported for hsl()");const[e,r,n,s]=xt(0,t),o=kt([e,r,n]);return yt(255*o[0],255*o[1],255*o[2],0===r?1:s)},Lt=A=>{const t=A.filter(ZA);return[ot(t[0])?t[0].number:0,ot(t[1])?t[1].number:0,PA(t[2])||GA(t[2])?t[2].number:0,void 0!==t[4]&&ot(t[4])?wt(t[4],1):1]},Kt=A=>{const t=A.filter(ZA);return[16===t[0].type?t[0].number/100:PA(t[0])?t[0].number:0,16===t[1].type?t[1].number/100:PA(t[1])?t[1].number:0,PA(t[2])||GA(t[2])?t[2].number:0,void 0!==t[4]&&ot(t[4])?wt(t[4],1):1]},St=A=>{const t=A.filter(ZA);return[16===t[0].type?t[0].number/100:PA(t[0])?t[0].number:0,16===t[1].type?t[1].number/100:PA(t[1])?t[1].number:0,PA(t[2])||GA(t[2])?t[2].number:0,void 0!==t[4]&&ot(t[4])?wt(t[4],1):1]},Dt=A=>At([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],A),Mt=A=>At([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],A),Tt=(A,t,e)=>(e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A),kt=([A,t,e])=>{if(0===t)return[255*e,255*e,255*e];const r=e<=.5?e*(t+1):e+t-e*t,n=2*e-r;return[Tt(n,r,A+1/3),Tt(n,r,A),Tt(n,r,A-1/3)]},Ot=([A,t,e])=>(t<0&&(t=0),isNaN(e)&&(e=0),[A,t*Math.cos(e*Math.PI/180),t*Math.sin(e*Math.PI/180)]),Nt=A=>At([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],At([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],A).map(A=>A**3)),Rt=A=>{const t=(A[0]+16)/116,e=A[1]/500+t,r=t-A[2]/200,n=24389/27,s=24/116,o=[.3457*(e>s?e**3:(116*e-16)/n)/.3585,A[0]>8?t**3:A[0]/n,.2958*(r>s?r**3:(116*r-16)/n)/.3585];return Mt([o[0],o[1],o[2]])},Vt=A=>A,Gt=A=>It([A[0],A[1],A[2],A[3]]),Pt=1.09929682680944,Xt=.018053968510807,Jt=(A,t)=>{if(18===t.type){const e=zt[t.name];if(void 0===e)throw new Error(`Attempting to parse an unsupported color function "${t.name}"`);return e(A,t.values)}if(5===t.type){const[A,e,r,n]=Wt(t);return yt(A,e,r,n)}if(20===t.type){const A=qt[t.value.toUpperCase()];if(void 0!==A)return A}return qt.TRANSPARENT},Wt=A=>{if(3===A.value.length){const t=A.value.substring(0,1),e=A.value.substring(1,2),r=A.value.substring(2,3);return[parseInt(t+t,16),parseInt(e+e,16),parseInt(r+r,16),1]}if(4===A.value.length){const t=A.value.substring(0,1),e=A.value.substring(1,2),r=A.value.substring(2,3),n=A.value.substring(3,4);return[parseInt(t+t,16),parseInt(e+e,16),parseInt(r+r,16),parseInt(n+n,16)/255]}if(6===A.value.length){const t=A.value.substring(0,2),e=A.value.substring(2,4),r=A.value.substring(4,6);return[parseInt(t,16),parseInt(e,16),parseInt(r,16),1]}if(8===A.value.length){const t=A.value.substring(0,2),e=A.value.substring(2,4),r=A.value.substring(4,6),n=A.value.substring(6,8);return[parseInt(t,16),parseInt(e,16),parseInt(r,16),parseInt(n,16)/255]}return[0,0,0,1]},Yt=(A,t)=>{const e=t.filter(ZA);if(Et(e))throw new Error("Relative color not supported for rgb()");if(3===e.length){const[A,t,r]=e.map(Ht);return yt(A,t,r,1)}if(4===e.length){const[A,t,r,n]=e.map(Ht);return yt(A,t,r,n)}return 5===e.length&&6===e[3].type&&"/"===e[3].value?yt(Ht(e[0],0),Ht(e[1],1),Ht(e[2],2),Ht(e[4],3)):0},Zt={srgb:A=>yt(qA(Math.round(255*A[0]),0,255),qA(Math.round(255*A[1]),0,255),qA(Math.round(255*A[2]),0,255),qA(A[3],0,1)),"srgb-linear":bt,"display-p3":A=>{const t=(A=>{const t=[A[0],A[1],A[2]].map(A=>{const t=A<0?-1:1;return A*t<=.04045?A/12.92:t*((A+.055)/1.055)**2.4||0});return At([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],[t[0],t[1],t[2]])})([A[0],A[1],A[2]]);return It([t[0],t[1],t[2],A[3]])},"a98-rgb":A=>{const t=tt((e=(A=>{const t=A.map(A=>(A<0?-1:1)*Math.abs(A)**(563/256));return[t[0],t[1],t[2]]})([A[0],A[1],A[2]]),At([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],e)));var e;return bt([t[0],t[1],t[2],A[3]])},"prophoto-rgb":A=>{const t=(A=>{const t=[A[0],A[1],A[2]].map(A=>A<16/512?A/16:A**1.8);return Mt(At([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],[t[0],t[1],t[2]]))})([A[0],A[1],A[2]]);return It([t[0],t[1],t[2],A[3]])},xyz:Gt,"xyz-d50":A=>{const t=(A=>Mt([A[0],A[1],A[2]]))([A[0],A[1],A[2]]);return It([t[0],t[1],t[2],A[3]])},"xyz-d65":Gt,rec2020:A=>{const t=(A=>{const t=(A=>A.map(A=>A<4.5*Xt?A/4.5:Math.pow((A+Pt-1)/Pt,1/.45)))([A[0],A[1],A[2]]);return At([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],[t[0],t[1],t[2]])})([A[0],A[1],A[2]]);return It([t[0],t[1],t[2],A[3]])}},$t={rgb:(A,t)=>{const e=t.filter(ZA);if(3===e.length){const[A,t,r]=e.map(Ht),n=nt([A/255,t/255,r/255]),[s,o,i]=et([n[0],n[1],n[2]]);return[s,o,i,1]}if(4===e.length){const[A,t,r,n]=e.map(Ht),s=nt([A/255,t/255,r/255]),[o,i,a]=et([s[0],s[1],s[2]]);return[o,i,a,n]}return[0,0,0,1]},hsl:(A,t)=>{const[e,r,n,s]=xt(0,t),o=nt(kt([e,r,n])),[i,a,c]=et([o[0],o[1],o[2]]);return[i,a,c,s]},lab:(A,t)=>{const[e,r,n,s]=Kt(t),[o,i,a]=Rt([e,r,n]);return[o,i,a,s]},lch:(A,t)=>{const[e,r,n,s]=Lt(t),[o,i,a]=Rt(Ot([e,r,n]));return[o,i,a,s]},oklab:(A,t)=>{const[e,r,n,s]=Kt(t),[o,i,a]=Nt([e,r,n]);return[o,i,a,s]},oklch:(A,t)=>{const[e,r,n,s]=St(t),[o,i,a]=Nt(Ot([e,r,n]));return[o,i,a,s]}},_t={srgb:A=>{const[t,e,r]=rt(tt([A[0],A[1],A[2]]));return[t,e,r,A[3]]},"srgb-linear":A=>{const[t,e,r]=tt([A[0],A[1],A[2]]);return[qA(Math.round(255*t),0,255),qA(Math.round(255*e),0,255),qA(Math.round(255*r),0,255),A[3]]},"display-p3":A=>{const[t,e,r]=(n=At([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],[A[0],A[1],A[2]]),rt(n));var n;return[t,e,r,A[3]]},"a98-rgb":A=>{const[t,e,r]=(A=>{const t=A.map(A=>(A<0?-1:1)*Math.abs(A)**(256/563));return[t[0],t[1],t[2]]})(At([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],[A[0],A[1],A[2]]));return[t,e,r,A[3]]},"prophoto-rgb":A=>{const[t,e,r]=(n=Dt([A[0],A[1],A[2]]),At([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],n).map(A=>A>1/512?A**(1/1.8):16*A));var n;return[t,e,r,A[3]]},xyz:Vt,"xyz-d50":A=>{const[t,e,r]=Dt([A[0],A[2],A[3]]);return[t,e,r,A[3]]},"xyz-d65":Vt,rec2020:A=>{const[t,e,r]=(A=>A.map(A=>A>=Xt?Pt*Math.pow(A,.45)-(Pt-1):4.5*A))(At([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],[A[0],A[1],A[2]]));return[t,e,r,A[3]]}},zt={hsl:vt,hsla:vt,rgb:Yt,rgba:Yt,lch:(A,t)=>{if(Et(t.filter(ZA)))throw new Error("Relative color not supported for lch()");const[e,r,n,s]=Lt(t),o=rt(tt(Rt(Ot([e,r,n]))));return yt(qA(Math.round(255*o[0]),0,255),qA(Math.round(255*o[1]),0,255),qA(Math.round(255*o[2]),0,255),s)},oklch:(A,t)=>{if(Et(t.filter(ZA)))throw new Error("Relative color not supported for oklch()");const[e,r,n,s]=St(t),o=rt(tt(Nt(Ot([e,r,n]))));return yt(qA(Math.round(255*o[0]),0,255),qA(Math.round(255*o[1]),0,255),qA(Math.round(255*o[2]),0,255),s)},oklab:(A,t)=>{if(Et(t.filter(ZA)))throw new Error("Relative color not supported for oklab()");const[e,r,n,s]=Kt(t),o=rt(tt(Nt([e,r,n])));return yt(qA(Math.round(255*o[0]),0,255),qA(Math.round(255*o[1]),0,255),qA(Math.round(255*o[2]),0,255),s)},lab:(A,t)=>{if(Et(t.filter(ZA)))throw new Error("Relative color not supported for lab()");const[e,r,n,s]=Kt(t),o=rt(tt(Rt([e,r,n])));return yt(qA(Math.round(255*o[0]),0,255),qA(Math.round(255*o[1]),0,255),qA(Math.round(255*o[2]),0,255),s)},color:(A,t)=>{const e=t.filter(ZA),r=20===e[0].type?e[0].value:"unknown";if(Et(e)){const t=(A,t)=>{if(PA(t))return t.number;if(XA(t))return A[e=t.value,"r"===e||"x"===e?0:"g"===e||"y"===e?1:2];var e;const r=A=>{const t=A.filter(ZA);let e="(";for(const A of t)e+=18===A.type&&"calc"===A.name?r(A.values):PA(A)?A.number:6===A.type||XA(A)?A.value:"";return e+=")",e};if(18===t.type){const e=t.values.filter(ZA);if("calc"===t.name)return jA(r(e).replace(/r|x/,A[0].toString()).replace(/g|y/,A[1].toString()).replace(/b|z/,A[2].toString()))}return null},r=18===e[1].type?e[1].name:XA(e[1])||5===e[1].type?"rgb":"unknown",n=XA(e[2])?e[2].value:"unknown";let s=18===e[1].type?e[1].values:XA(e[1])?[e[1]]:[];if(XA(e[1])){if(void 0===qt[e[1].value.toUpperCase()])throw new Error("Attempting to use unknown color in relative color 'from'");{const t=jt(A,e[1].value),r=255&t;s=[{type:17,number:255&t>>24,flags:1},{type:17,number:255&t>>16,flags:1},{type:17,number:255&t>>8,flags:1},{type:17,number:r>1?r/255:r,flags:1}]}}else if(5===e[1].type){const[A,t,r,n]=Wt(e[1]);s=[{type:17,number:A,flags:1},{type:17,number:t,flags:1},{type:17,number:r,flags:1},{type:17,number:n>1?n/255:n,flags:1}]}if(0===s.length)throw new Error("Attempting to use unknown color in relative color 'from'");if("unknown"===n)throw new Error("Attempting to use unknown colorspace in relative color 'to'");const o=$t[r],i=_t[n],a=Zt[n];if(void 0===o)throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);if(void 0===i)throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);const c=i(o(A,s)),B=t(c,e[3]),l=t(c,e[4]),g=t(c,e[5]),d=e.length>6&&6===e[6].type&&"/"===e[6].value&&PA(e[7])?e[7].number:1;if(null===B||null===l||null===g)throw new Error("Invalid relative color in color() function");return a([B,l,g,d])}{const A=Zt[r];if(void 0===A)throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);return A([PA(e[1])?e[1].number:0,PA(e[2])?e[2].number:0,PA(e[3])?e[3].number:0,e.length>4&&6===e[4].type&&"/"===e[4].value&&PA(e[5])?e[5].number:1])}}},jt=(A,t)=>Jt(A,VA.create(t).parseComponentValue()),qt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ae=A=>A.nodeType===Node.ELEMENT_NODE,te=A=>A.nodeType===Node.TEXT_NODE,ee=A=>"object"==typeof A.className,re=A=>Ae(A)&&void 0!==A.style&&!ee(A),ne=A=>"svg"===A.tagName,se=A=>"BODY"===A.tagName,oe=A=>"CANVAS"===A.tagName,ie=A=>"VIDEO"===A.tagName,ae=A=>"IMG"===A.tagName,ce=A=>"IFRAME"===A.tagName,Be=A=>"STYLE"===A.tagName,le=A=>"TEXTAREA"===A.tagName,ge=A=>"SELECT"===A.tagName,de=A=>"SLOT"===A.tagName,he=A=>!ee(A)&&A.tagName.indexOf("-")>0,we=new Set(["IMG","VIDEO","AUDIO","CANVAS","IFRAME","INPUT","TEXTAREA","SELECT","BR","HR","META","LINK","BASE","COL","SOURCE","TRACK","WBR","AREA","PARAM","EMBED","OBJECT"]),ue={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Qe=(A,t)=>0!==(A&t);var Ce=class{constructor(){this.counters={}}getCounterValue(A){const t=this.counters[A];return t&&t.length?t[t.length-1]:1}getCounterValues(A){return this.counters[A]||[]}pop(A){A.forEach(A=>this.counters[A].pop())}parse(A){const t=A.counterIncrement,e=A.counterReset;let r=!0;null!==t&&t.forEach(A=>{const t=this.counters[A.counter];t&&0!==A.increment&&(r=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)});const n=[];return r&&e.forEach(A=>{let t=this.counters[A.counter];n.push(A.counter),t||(t=this.counters[A.counter]=[]),t.push(A.reset)}),n}};const Ue={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"]},pe={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Fe={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},fe={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},me=(A,t,e,r,n,s)=>A<t||A>e?Ke(A,n,s.length>0):r.integers.reduce((t,e,n)=>{for(;A>=e;)A-=e,t+=r.values[n];return t},"")+s,ye=(A,t,e,r)=>{let n="";do{e||A--,n=r(A)+n,A/=t}while(A*t>=t);return n},He=(A,t,e,r,n)=>{const s=e-t+1;return(A<0?"-":"")+(ye(Math.abs(A),s,r,A=>i(Math.floor(A%s)+t))+n)},Ee=(A,t,e=". ")=>{const r=t.length;return ye(Math.abs(A),r,!1,A=>t[Math.floor(A%r)])+e},be=(A,t,e,r,n,s)=>{if(A<-9999||A>9999)return Ke(A,4,n.length>0);let o=Math.abs(A),i=n;if(0===o)return t[0]+i;for(let r=0;o>0&&r<=4;r++){const n=o%10;0===n&&Qe(s,1)&&""!==i?i=t[n]+i:n>1||1===n&&0===r||1===n&&1===r&&Qe(s,2)||1===n&&1===r&&Qe(s,4)&&A>100||1===n&&r>1&&Qe(s,8)?i=t[n]+(r>0?e[r-1]:"")+i:1===n&&r>0&&(i=e[r-1]+i),o=Math.floor(o/10)}return(A<0?r:"")+i},Ie="十百千萬",xe="拾佰仟萬",ve="マイナス",Le="마이너스",Ke=(A,t,e)=>{const r=e?". ":"",n=e?"、":"",s=e?", ":"",o=e?" ":"";switch(t){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:const t=He(A,48,57,!0,r);return t.length<4?`0${t}`:t;case 4:return Ee(A,"〇一二三四五六七八九",n);case 6:return me(A,1,3999,Ue,3,r).toLowerCase();case 7:return me(A,1,3999,Ue,3,r);case 8:return He(A,945,969,!1,r);case 9:return He(A,97,122,!1,r);case 10:return He(A,65,90,!1,r);case 11:return He(A,1632,1641,!0,r);case 12:case 49:return me(A,1,9999,pe,3,r);case 35:return me(A,1,9999,pe,3,r).toLowerCase();case 13:return He(A,2534,2543,!0,r);case 14:case 30:return He(A,6112,6121,!0,r);case 15:return Ee(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ee(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return be(A,"零一二三四五六七八九",Ie,"負",n,14);case 47:return be(A,"零壹貳參肆伍陸柒捌玖",xe,"負",n,15);case 42:return be(A,"零一二三四五六七八九",Ie,"负",n,14);case 41:return be(A,"零壹贰叁肆伍陆柒捌玖",xe,"负",n,15);case 26:return be(A,"〇一二三四五六七八九","十百千万",ve,n,0);case 25:return be(A,"零壱弐参四伍六七八九","拾百千万",ve,n,7);case 31:return be(A,"영일이삼사오육칠팔구","십백천만",Le,s,7);case 33:return be(A,"零一二三四五六七八九","十百千萬",Le,s,0);case 32:return be(A,"零壹貳參四五六七八九","拾百千",Le,s,7);case 18:return He(A,2406,2415,!0,r);case 20:return me(A,1,19999,fe,3,r);case 21:return He(A,2790,2799,!0,r);case 22:return He(A,2662,2671,!0,r);case 52:return me(A,1,10999,Fe,3,r);case 23:return Ee(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ee(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return He(A,3302,3311,!0,r);case 28:return Ee(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ee(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return He(A,3792,3801,!0,r);case 37:return He(A,6160,6169,!0,r);case 38:return He(A,4160,4169,!0,r);case 39:return He(A,2918,2927,!0,r);case 40:return He(A,1776,1785,!0,r);case 43:return He(A,3046,3055,!0,r);case 44:return He(A,3174,3183,!0,r);case 45:return He(A,3664,3673,!0,r);case 46:return He(A,3872,3881,!0,r);default:return He(A,48,57,!0,r)}},Se={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(A,t)=>t.map(A=>{if(XA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2;case"text":return 3}return 0})},De={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Me=(A,t)=>{const e=Jt(A,t[0]),r=t[1];return r&&ot(r)?{color:e,stop:r}:{color:e,stop:null}},Te=(A,t)=>{const e=A[0],r=A[A.length-1];null===e.stop&&(e.stop=lt),null===r.stop&&(r.stop=dt);const n=[];let s=0;for(let e=0;e<A.length;e++){const r=A[e].stop;if(null!==r){const A=wt(r,t);n.push(A>s?A:s),s=A}else n.push(null)}let o=null;for(let A=0;A<n.length;A++){const t=n[A];if(null===t)null===o&&(o=A);else if(null!==o){const e=A-o,r=(t-n[o-1])/(e+1);for(let A=1;A<=e;A++)n[o+A-1]=r*A;o=null}}return A.map(({color:A},e)=>({color:A,stop:Math.max(Math.min(1,n[e]/t),0)}))},ke=(A,t,e)=>{const r="number"==typeof A?A:((A,t,e)=>{const r=t/2,n=e/2,s=wt(A[0],t)-r,o=n-wt(A[1],e);return(Math.atan2(o,s)+2*Math.PI)%(2*Math.PI)})(A,t,e),n=Math.abs(t*Math.sin(r))+Math.abs(e*Math.cos(r)),s=t/2,o=e/2,i=n/2,a=Math.sin(r-Math.PI/2)*i,c=Math.cos(r-Math.PI/2)*i;return[n,s-c,s+c,o-a,o+a]},Oe=(A,t)=>Math.sqrt(A*A+t*t),Ne=(A,t,e,r,n)=>[[0,0],[0,t],[A,0],[A,t]].reduce((A,t)=>{const[s,o]=t,i=Oe(e-s,r-o);return(n?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:t,optimumDistance:i}:A},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner,Re=(A,t)=>{let e=Ft(180);const r=[];return $A(t).forEach((t,n)=>{if(0===n){const A=t[0];if(20===A.type&&"to"===A.value)return void(e=pt(t));if(Ut(A))return void(e=Ct(0,A))}const s=Me(A,t);r.push(s)}),{angle:e,stops:r,type:1}},Ve=(A,t)=>{let e=Ft(180);const r=[];return $A(t).forEach((t,n)=>{if(0===n){const A=t[0];if(20===A.type&&-1!==["top","left","right","bottom"].indexOf(A.value))return void(e=pt(t));if(Ut(A))return void(e=(Ct(0,A)+Ft(270))%Ft(360))}const s=Me(A,t);r.push(s)}),{angle:e,stops:r,type:1}},Ge="closest-side",Pe="farthest-side",Xe="closest-corner",Je="farthest-corner",We="circle",Ye="ellipse",Ze="cover",$e="contain",_e=(A,t)=>{let e=0,r=3;const n=[],s=[];return $A(t).forEach((t,o)=>{let i=!0;if(0===o?i=t.reduce((A,t)=>{if(XA(t))switch(t.value){case"center":return s.push(gt),!1;case"top":case"left":return s.push(lt),!1;case"right":case"bottom":return s.push(dt),!1}else if(ot(t)||st(t))return s.push(t),!1;return A},i):1===o&&(i=t.reduce((A,t)=>{if(XA(t))switch(t.value){case We:return e=0,!1;case Ye:return e=1,!1;case $e:case Ge:return r=0,!1;case Pe:return r=1,!1;case Xe:return r=2,!1;case Ze:case Je:return r=3,!1}else if(st(t)||ot(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A},i)),i){const e=Me(A,t);n.push(e)}}),{size:r,shape:e,stops:n,position:s,type:2}},ze=(A,t)=>({...Re(A,t),type:3}),je=A=>1===A.type,qe=A=>2===A.type,Ar=A=>3===A.type,tr=(A,t)=>{if(22===t.type){const e={url:t.value,type:0};return A.cache.addImage(t.value),e}if(18===t.type){const e=rr[t.name];if(void 0===e)throw new Error(`Attempting to parse an unsupported image function "${t.name}"`);return e(A,t.values)}throw new Error(`Unsupported image type ${t.type}`)};function er(A){return!(20===A.type&&"none"===A.value||18===A.type&&!rr[A.name])}const rr={"linear-gradient":Re,"-moz-linear-gradient":Ve,"-ms-linear-gradient":Ve,"-o-linear-gradient":Ve,"-webkit-linear-gradient":Ve,"radial-gradient":(A,t)=>{let e=0,r=3;const n=[],s=[];return $A(t).forEach((t,o)=>{let i=!0;if(0===o){let A=!1;i=t.reduce((t,n)=>{if(A)if(XA(n))switch(n.value){case"center":return s.push(gt),t;case"top":case"left":return s.push(lt),t;case"right":case"bottom":return s.push(dt),t}else(ot(n)||st(n))&&s.push(n);else if(XA(n))switch(n.value){case We:return e=0,!1;case Ye:return e=1,!1;case"at":return A=!0,!1;case Ge:return r=0,!1;case Ze:case Pe:return r=1,!1;case $e:case Xe:return r=2,!1;case Je:return r=3,!1}else if(st(n)||ot(n))return Array.isArray(r)||(r=[]),r.push(n),!1;return t},i)}if(i){const e=Me(A,t);n.push(e)}}),{size:r,shape:e,stops:n,position:s,type:2}},"-moz-radial-gradient":_e,"-ms-radial-gradient":_e,"-o-radial-gradient":_e,"-webkit-radial-gradient":_e,"-webkit-gradient":(A,t)=>{const e=Ft(180),r=[];let n=1;return $A(t).forEach((t,e)=>{const s=t[0];if(0===e){if(XA(s)&&"linear"===s.value)return void(n=1);if(XA(s)&&"radial"===s.value)return void(n=2)}if(18===s.type)if("from"===s.name){const t=Jt(A,s.values[0]);r.push({stop:lt,color:t})}else if("to"===s.name){const t=Jt(A,s.values[0]);r.push({stop:dt,color:t})}else if("color-stop"===s.name){const t=s.values.filter(ZA);if(2===t.length){const e=Jt(A,t[1]),n=t[0];PA(n)&&r.push({stop:{type:16,number:100*n.number,flags:n.flags},color:e})}}}),1===n?{angle:(e+Ft(180))%Ft(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}},"repeating-linear-gradient":ze,"-webkit-repeating-linear-gradient":ze,"-moz-repeating-linear-gradient":ze,"-ms-repeating-linear-gradient":ze,"-o-repeating-linear-gradient":ze},nr={name:"background-image",initialValue:"none",type:1,prefix:!1,skipCache:!0,parse:(A,t)=>{if(0===t.length)return[];const e=t[0];return 20===e.type&&"none"===e.value?[]:t.filter(A=>ZA(A)&&er(A)).map(t=>tr(A,t))}},sr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(A,t)=>t.map(A=>{if(XA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})},or={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(A,t)=>$A(t).map(A=>A.map(at).filter(A=>null!==A)).map(Bt)},ir={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(A,t)=>$A(t).map(A=>A.filter(XA).map(A=>A.value).join(" ")).map(ar)},ar=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}},cr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(A,t)=>$A(t).map(A=>A.map(A=>Br(A)?A:at(A)).filter(A=>null!==A))},Br=A=>XA(A)||ot(A),lr=A=>({name:`border-${A}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),gr=lr("top"),dr=lr("right"),hr=lr("bottom"),wr=lr("left"),ur=A=>({name:`border-${A}-radius`,initialValue:"0 0",prefix:!1,type:1,parse:(A,t)=>Bt(t.filter(ot))}),Qr=ur("top-left"),Cr=ur("top-right"),Ur=ur("bottom-right"),pr=ur("bottom-left"),Fr=A=>({name:`border-${A}-style`,initialValue:"solid",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),fr=Fr("top"),mr=Fr("right"),yr=Fr("bottom"),Hr=Fr("left"),Er=A=>({name:`border-${A}-width`,initialValue:"0",type:0,prefix:!1,parse:(A,t)=>GA(t)?t.number:0}),br=Er("top"),Ir=Er("right"),xr=Er("bottom"),vr=Er("left"),Lr={type:0},Kr=A=>{const[t]=A;return t?XA(t)?"farthest-side"===t.value?"farthest-side":"closest-side":ot(t)?t:"closest-side":"closest-side"},Sr=A=>{let t=null,e=null;for(const r of A)if(XA(r))switch(r.value){case"left":t=lt;break;case"right":t=dt;break;case"top":e=lt;break;case"bottom":e=dt;break;case"center":null===t?t=gt:null===e&&(e=gt)}else ot(r)&&(null===t?t=r:null===e&&(e=r));return{cx:t??gt,cy:e??gt}},Dr={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(A,t)=>{if(XA(t)&&"none"===t.value)return Lr;if(18===t.type)switch(t.name){case"inset":return(A=>{const t=[];for(const e of A)if(31!==e.type){if(XA(e)&&"round"===e.value)break;ot(e)&&t.push(e)}const e=t[0]??lt,r=t[1]??e;return{type:1,top:e,right:r,bottom:t[2]??e,left:t[3]??r}})(t.values);case"circle":return(A=>{const t=A.filter(YA),e=t.findIndex(A=>WA(A,"at")),r=-1===e?t:t.slice(0,e),n=-1===e?[]:t.slice(e+1);return{type:2,radius:Kr(r),...Sr(n)}})(t.values);case"ellipse":return(A=>{const t=A.filter(YA),e=t.findIndex(A=>WA(A,"at")),r=-1===e?t:t.slice(0,e),n=-1===e?[]:t.slice(e+1);return{type:3,rx:Kr(r.slice(0,1)),ry:Kr(r.slice(1,2)),...Sr(n)}})(t.values);case"polygon":return(A=>{const t=$A(A),e=[];for(const A of t){if(1===A.length&&XA(A[0]))continue;const t=A.filter(ot);t.length>=2&&e.push([t[0],t[1]])}return{type:4,points:e}})(t.values);case"path":return(A=>{const t=A.find(A=>0===A.type);return t?{type:5,d:t.value}:Lr})(t.values)}return Lr}},Mr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Tr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(A,t)=>"rtl"===t?1:0},kr={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(A,t)=>t.filter(XA).reduce((A,t)=>A|Or(t.value),0)},Or=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 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Nr={name:"float",initialValue:"none",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Rr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(A,t)=>20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0},Vr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>"strict"===t?"strict":"normal"},Gr={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pr=(A,t)=>XA(A)&&"normal"===A.value?1.2*t:17===A.type?t*A.number:ot(A)?wt(A,t):t,Xr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,skipCache:!0,parse:(A,t)=>20===t.type&&"none"===t.value?null:tr(A,t)},Jr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(A,t)=>"inside"===t?0:1},Wr=A=>({name:`margin-${A}`,initialValue:"0",prefix:!1,type:4}),Yr=Wr("top"),Zr=Wr("right"),$r=Wr("bottom"),_r=Wr("left"),zr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(A,t)=>t.filter(XA).map(A=>{switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},jr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>"break-word"===t?"break-word":"normal"},qr=A=>({name:`padding-${A}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),An=qr("top"),tn=qr("right"),en=qr("bottom"),rn=qr("left"),nn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},sn={name:"position",initialValue:"static",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},on={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,t)=>1===t.length&&WA(t[0],"none")?[]:$A(t).map(t=>{const e={color:qt.TRANSPARENT,offsetX:lt,offsetY:lt,blur:lt};let r=0;for(let n=0;n<t.length;n++){const s=t[n];st(s)?(0===r?e.offsetX=s:1===r?e.offsetY=s:e.blur=s,r++):e.color=Jt(A,s)}return e})},an={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},cn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(A,t)=>{if(20===t.type&&"none"===t.value)return null;if(18===t.type){const e=Bn[t.name];if(void 0===e)throw new Error(`Attempting to parse an unsupported transform function "${t.name}"`);return e(A,t.values)}return null}},Bn={matrix:(A,t)=>{const e=t.filter(A=>17===A.type).map(A=>A.number);return 6===e.length?e:null},matrix3d:(A,t)=>{const e=t.filter(A=>17===A.type).map(A=>A.number),[r,n,{},{},s,o,{},{},{},{},{},{},i,a]=e;return 16===e.length?[r,n,s,o,i,a]:null},rotate:(A,t)=>{if(1!==t.length)return null;const e=t[0];let r=0;if(17===e.type&&0===e.number)r=0;else{if(15!==e.type)return null;r=Ct(0,e)}const n=Math.cos(r),s=Math.sin(r);return[n,s,-s,n,0,0]}},ln={type:16,number:50,flags:4},gn=[ln,ln],dn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(A,t)=>{const e=t.filter(ot);return 2!==e.length?gn:[e[0],e[1]]}},hn={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(A,t)=>20===t.type&&"none"===t.value?null:17===t.type&&0===t.number?0:15===t.type?180*Ct(0,t)/Math.PI:null},wn={name:"visibility",initialValue:"none",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}},un={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"break-all":return"break-all";case"keep-all":return"keep-all";default:return"normal"}}},Qn={name:"white-space",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"pre":return"pre";case"nowrap":return"nowrap";case"pre-wrap":return"pre-wrap";case"pre-line":return"pre-line";default:return"normal"}}},Cn=A=>0!==A,Un=A=>3===A||4===A,pn={name:"writing-mode",initialValue:"horizontal-tb",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"vertical-rl":return 1;case"vertical-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4;default:return 0}}},Fn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(A,t)=>{if(20===t.type)return{auto:!0,order:0};if(PA(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},fn=(A,t)=>{if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")},mn={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(A,t)=>PA(t)?t.number:1},yn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Hn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(A,t)=>t.filter(XA).map(A=>{switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(A=>0!==A)},En={name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},bn={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(A,t)=>{if(XA(t))switch(t.value){case"auto":return"auto";case"from-font":return"from-font"}return GA(t)?t.number:"auto"}},In={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(A,t)=>XA(t)&&"auto"===t.value?"auto":GA(t)?t.number:"auto"},xn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:(A,t)=>{const e=[],r=[];return t.forEach(A=>{switch(A.type){case 20:case 0:e.push(A.value);break;case 17:e.push(A.number.toString());break;case 4:r.push(e.join(" ")),e.length=0}}),e.length&&r.push(e.join(" ")),r.map(A=>-1===A.indexOf(" ")?A:`'${A}'`)}},vn={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ln={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(A,t)=>PA(t)?t.number:XA(t)&&"bold"===t.value?700:400},Kn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(A,t)=>t.filter(XA).map(A=>A.value)},Sn={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},Dn={name:"content",initialValue:"none",type:1,prefix:!1,parse:(A,t)=>{if(0===t.length)return[];const e=t[0];return 20===e.type&&"none"===e.value?[]:t}},Mn=(A,t)=>{const e=[],r=A.filter(YA);for(let A=0;A<r.length;A++){const n=r[A],s=r[A+1];if(20===n.type){const A=s&&PA(s)?s.number:t;e.push([n.value,A])}}return e},Tn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(A,t)=>{if(0===t.length)return null;const e=t[0];return 20===e.type&&"none"===e.value?null:Mn(t,1).map(([A,t])=>({counter:A,increment:t}))}},kn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(A,t)=>0===t.length?[]:Mn(t,0).filter(([A])=>"none"!==A).map(([A,t])=>({counter:A,reset:t}))},On={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(A,t)=>t.filter(GA).map(A=>fn(0,A))},Nn={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(A,t)=>{if(0===t.length)return null;const e=t[0];if(20===e.type&&"none"===e.value)return null;const r=[],n=t.filter(JA);if(n.length%2!=0)return null;for(let A=0;A<n.length;A+=2)r.push({open:n[A].value,close:n[A+1].value});return r}},Rn=(A,t,e)=>{if(!A)return"";const r=A[Math.min(t,A.length-1)];return r?e?r.open:r.close:""},Vn={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(A,t)=>1===t.length&&WA(t[0],"none")?[]:$A(t).map(t=>{const e={color:255,offsetX:lt,offsetY:lt,blur:lt,spread:lt,inset:!1};let r=0;for(let n=0;n<t.length;n++){const s=t[n];WA(s,"inset")?e.inset=!0:st(s)?(0===r?e.offsetX=s:1===r?e.offsetY=s:2===r?e.blur=s:e.spread=s,r++):e.color=Jt(A,s)}return e})},Gn={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(A,t)=>{const e=[];return t.filter(XA).forEach(A=>{switch(A.value){case"stroke":e.push(1);break;case"fill":e.push(0);break;case"markers":e.push(2)}}),[0,1,2].forEach(A=>{-1===e.indexOf(A)&&e.push(A)}),e}},Pn={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Xn={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(A,t)=>GA(t)?t.number:0},Jn={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(A,t)=>20===t.type&&"none"===t.value?0:17===t.type?Math.max(0,Math.floor(t.number)):0},Wn={name:"object-fit",initialValue:"fill",prefix:!1,type:1,parse:(A,t)=>t.filter(XA).reduce((A,t)=>A|Yn(t.value),0)},Yn=A=>{switch(A){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},Zn={name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(A,t)=>"ellipsis"===t?1:0},$n={name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(A,t)=>{switch(t.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return 1;case"pixelated":case"-webkit-optimize-contrast":return 2;case"smooth":case"high-quality":return 3;default:return 0}}},_n={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"},zn=new Set(Object.values(_n)),jn={name:"mix-blend-mode",initialValue:"normal",type:2,prefix:!1,parse:(A,t)=>zn.has(t)?t:_n.NORMAL},qn={name:"filter",initialValue:"none",prefix:!1,type:1,parse:(A,t)=>{if(1===t.length&&20===t[0].type&&"none"===t[0].value)return null;const e=[];for(const A of t)if(18===A.type){const t=A,r=As(t.values);switch(t.name){case"blur":e.push(`blur(${r}px)`);break;case"brightness":case"contrast":case"invert":case"opacity":case"saturate":case"sepia":e.push(`${t.name}(${r})`);break;case"grayscale":e.push(`grayscale(${r})`);break;case"hue-rotate":e.push(`hue-rotate(${r}deg)`);break;case"drop-shadow":e.push(`drop-shadow(${r})`)}}return e.length>0?e.join(" "):null}},As=A=>{const t=[];for(const e of A)31!==e.type&&(15===e.type?t.push(`${e.number}${e.unit}`):17===e.type?t.push(`${e.number}`):16===e.type?t.push(`${e.number}%`):20===e.type?t.push(e.value):5===e.type&&t.push(`#${e.value}`));return t.join(" ")},ts={name:"font-variant-ligatures",initialValue:"normal",prefix:!1,type:2,parse:(A,t)=>{switch(t){case"none":return 1;case"common-ligatures":return 2;case"no-common-ligatures":return 3;case"discretionary-ligatures":return 4;case"no-discretionary-ligatures":return 5;case"historical-ligatures":return 6;case"no-historical-ligatures":return 7;case"contextual":return 8;case"no-contextual":return 9;default:return 0}}},es={name:"zoom",initialValue:"1",type:0,prefix:!1,parse:(A,t)=>16===t.type?Math.max(0,t.number/100):17===t.type?Math.max(0,t.number):1},rs={name:"object-position",initialValue:"50% 50%",prefix:!1,type:1,parse:(A,t)=>{const e=[];let r=0;for(;r<t.length&&e.length<2;){const A=t[r];if(XA(A))switch(A.value){case"left":case"top":e.push(lt);break;case"center":e.push(gt);break;case"right":case"bottom":e.push(dt)}else ot(A)&&e.push(A);r++}for(;e.length<2;)e.push(gt);return[e[0],e[1]]}},ns=new Set(Object.values({NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"})),ss={name:"background-blend-mode",initialValue:"normal",prefix:!1,type:1,parse:(A,t)=>{const e=[],r=t.filter(ZA);for(const A of r)XA(A)&&ns.has(A.value)&&e.push(A.value);return e.length>0?e:["normal"]}},os={name:"border-image-source",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:(A,t)=>{if(0===t.length)return null;const e=t.filter(A=>ZA(A)&&er(A));return 0===e.length?null:tr(A,e[0])}},is={name:"border-image-slice",initialValue:"100%",prefix:!1,type:1,parse:(A,t)=>{const e=t.filter(YA),r=[];let n=!1,s="percent";for(const A of e)XA(A)&&"fill"===A.value?n=!0:17===A.type?(r.push(A.number),s="number"):16===A.type&&(r.push(A.number),s="percent");const[o,i,a,c]=(A=>{const t=[...A];return 1===t.length?t.push(t[0],t[0],t[0]):2===t.length?t.push(t[0],t[1]):3===t.length&&t.push(t[1]),t.slice(0,4)})(r.length>0?r:[100]);return{top:o,right:i,bottom:a,left:c,fill:n,unit:s}}},as=A=>{switch(A){case"repeat":return 1;case"round":return 2;case"space":return 3;default:return 0}},cs={name:"border-image-repeat",initialValue:"stretch",prefix:!1,type:1,parse:(A,t)=>{const e=t.filter(YA),r=[];for(const A of e)XA(A)&&r.push(as(A.value));const n=r[0]??0;return{horizontal:n,vertical:r[1]??n}}},Bs={name:"box-decoration-break",initialValue:"slice",prefix:!1,type:2,parse:(A,t)=>"clone"===t?1:0};var ls=class{constructor(A){this.styles=A}get topColor(){return this.styles.borderTopColor}get rightColor(){return this.styles.borderRightColor}get bottomColor(){return this.styles.borderBottomColor}get leftColor(){return this.styles.borderLeftColor}get topStyle(){return this.styles.borderTopStyle}get rightStyle(){return this.styles.borderRightStyle}get bottomStyle(){return this.styles.borderBottomStyle}get leftStyle(){return this.styles.borderLeftStyle}get topWidth(){return this.styles.borderTopWidth}get rightWidth(){return this.styles.borderRightWidth}get bottomWidth(){return this.styles.borderBottomWidth}get leftWidth(){return this.styles.borderLeftWidth}get topLeftRadius(){return this.styles.borderTopLeftRadius}get topRightRadius(){return this.styles.borderTopRightRadius}get bottomRightRadius(){return this.styles.borderBottomRightRadius}get bottomLeftRadius(){return this.styles.borderBottomLeftRadius}get imageSource(){return this.styles.borderImageSource}get imageSlice(){return this.styles.borderImageSlice}get imageRepeat(){return this.styles.borderImageRepeat}get boxShadow(){return this.styles.boxShadow}},gs=class{constructor(A){this.styles=A}get color(){return this.styles.backgroundColor}get image(){return this.styles.backgroundImage}get clip(){return this.styles.backgroundClip}get origin(){return this.styles.backgroundOrigin}get position(){return this.styles.backgroundPosition}get repeat(){return this.styles.backgroundRepeat}get size(){return this.styles.backgroundSize}get blendMode(){return this.styles.backgroundBlendMode}},ds=class{constructor(A){this.styles=A}get family(){return this.styles.fontFamily}get size(){return this.styles.fontSize}get style(){return this.styles.fontStyle}get variant(){return this.styles.fontVariant}get weight(){return this.styles.fontWeight}get ligatures(){return this.styles.fontVariantLigatures}get color(){return this.styles.color}get letterSpacing(){return this.styles.letterSpacing}get lineHeight(){return this.styles.lineHeight}get textAlign(){return this.styles.textAlign}get textTransform(){return this.styles.textTransform}get textOverflow(){return this.styles.textOverflow}get textShadow(){return this.styles.textShadow}get textDecorationColor(){return this.styles.textDecorationColor}get textDecorationLine(){return this.styles.textDecorationLine}get textDecorationStyle(){return this.styles.textDecorationStyle}get textDecorationThickness(){return this.styles.textDecorationThickness}get textUnderlineOffset(){return this.styles.textUnderlineOffset}get wordBreak(){return this.styles.wordBreak}get lineBreak(){return this.styles.lineBreak}get overflowWrap(){return this.styles.overflowWrap}get writingMode(){return this.styles.writingMode}get direction(){return this.styles.direction}get webkitTextStrokeColor(){return this.styles.webkitTextStrokeColor}get webkitTextStrokeWidth(){return this.styles.webkitTextStrokeWidth}get webkitLineClamp(){return this.styles.webkitLineClamp}get paintOrder(){return this.styles.paintOrder}},hs=class{constructor(A){this.styles=A}get display(){return this.styles.display}get position(){return this.styles.position}get float(){return this.styles.float}get zIndex(){return this.styles.zIndex}get marginTop(){return this.styles.marginTop}get marginRight(){return this.styles.marginRight}get marginBottom(){return this.styles.marginBottom}get marginLeft(){return this.styles.marginLeft}get paddingTop(){return this.styles.paddingTop}get paddingRight(){return this.styles.paddingRight}get paddingBottom(){return this.styles.paddingBottom}get paddingLeft(){return this.styles.paddingLeft}get overflowX(){return this.styles.overflowX}get overflowY(){return this.styles.overflowY}get opacity(){return this.styles.opacity}get visibility(){return this.styles.visibility}get transform(){return this.styles.transform}get transformOrigin(){return this.styles.transformOrigin}get rotate(){return this.styles.rotate}get zoom(){return this.styles.zoom}get clipPath(){return this.styles.clipPath}get mixBlendMode(){return this.styles.mixBlendMode}get filter(){return this.styles.filter}get imageRendering(){return this.styles.imageRendering}get objectFit(){return this.styles.objectFit}get objectPosition(){return this.styles.objectPosition}get boxDecorationBreak(){return this.styles.boxDecorationBreak}get listStyleImage(){return this.styles.listStyleImage}get listStylePosition(){return this.styles.listStylePosition}get listStyleType(){return this.styles.listStyleType}get animationDuration(){return this.styles.animationDuration}isVisible(){return this.styles.isVisible()}isTransparent(){return this.styles.isTransparent()}isTransformed(){return this.styles.isTransformed()}isPositioned(){return this.styles.isPositioned()}isPositionedWithZIndex(){return this.styles.isPositionedWithZIndex()}isFloating(){return this.styles.isFloating()}isInlineLevel(){return this.styles.isInlineLevel()}},ws=class A{get border(){return this._border??(this._border=new ls(this))}get background(){return this._background??(this._background=new gs(this))}get font(){return this._font??(this._font=new ds(this))}get layout(){return this._layout??(this._layout=new hs(this))}static{this.standardProps=[["animationDuration",On,"animationDuration"],["backgroundClip",Se,"backgroundClip"],["backgroundColor",De,"backgroundColor"],["backgroundImage",nr,"backgroundImage"],["backgroundOrigin",sr,"backgroundOrigin"],["backgroundPosition",or,"backgroundPosition"],["backgroundRepeat",ir,"backgroundRepeat"],["backgroundSize",cr,"backgroundSize"],["borderTopColor",gr,"borderTopColor"],["borderRightColor",dr,"borderRightColor"],["borderBottomColor",hr,"borderBottomColor"],["borderLeftColor",wr,"borderLeftColor"],["borderTopLeftRadius",Qr,"borderTopLeftRadius"],["borderTopRightRadius",Cr,"borderTopRightRadius"],["borderBottomRightRadius",Ur,"borderBottomRightRadius"],["borderBottomLeftRadius",pr,"borderBottomLeftRadius"],["borderTopStyle",fr,"borderTopStyle"],["borderRightStyle",mr,"borderRightStyle"],["borderBottomStyle",yr,"borderBottomStyle"],["borderLeftStyle",Hr,"borderLeftStyle"],["borderTopWidth",br,"borderTopWidth"],["borderRightWidth",Ir,"borderRightWidth"],["borderBottomWidth",xr,"borderBottomWidth"],["borderLeftWidth",vr,"borderLeftWidth"],["boxShadow",Vn,"boxShadow"],["clipPath",Dr,"clipPath"],["color",Mr,"color"],["direction",Tr,"direction"],["display",kr,"display"],["fontFamily",xn,"fontFamily"],["fontSize",vn,"fontSize"],["fontStyle",Sn,"fontStyle"],["fontVariant",Kn,"fontVariant"],["fontWeight",Ln,"fontWeight"],["letterSpacing",Rr,"letterSpacing"],["lineBreak",Vr,"lineBreak"],["lineHeight",Gr,"lineHeight"],["listStyleImage",Xr,"listStyleImage"],["listStylePosition",Jr,"listStylePosition"],["listStyleType",ue,"listStyleType"],["marginTop",Yr,"marginTop"],["marginRight",Zr,"marginRight"],["marginBottom",$r,"marginBottom"],["marginLeft",_r,"marginLeft"],["opacity",mn,"opacity"],["overflowWrap",jr,"overflowWrap"],["paddingTop",An,"paddingTop"],["paddingRight",tn,"paddingRight"],["paddingBottom",en,"paddingBottom"],["paddingLeft",rn,"paddingLeft"],["paintOrder",Gn,"paintOrder"],["position",sn,"position"],["textAlign",nn,"textAlign"],["textDecorationStyle",En,"textDecorationStyle"],["textDecorationThickness",bn,"textDecorationThickness"],["textUnderlineOffset",In,"textUnderlineOffset"],["textShadow",on,"textShadow"],["textTransform",an,"textTransform"],["textOverflow",Zn,"textOverflow"],["transform",cn,"transform"],["transformOrigin",dn,"transformOrigin"],["rotate",hn,"rotate"],["visibility",wn,"visibility"],["webkitTextStrokeColor",Pn,"webkitTextStrokeColor"],["webkitTextStrokeWidth",Xn,"webkitTextStrokeWidth"],["webkitLineClamp",Jn,"webkitLineClamp"],["wordBreak",un,"wordBreak"],["whiteSpace",Qn,"whiteSpace"],["writingMode",pn,"writingMode"],["zIndex",Fn,"zIndex"],["objectFit",Wn,"objectFit"],["imageRendering",$n,"imageRendering"],["mixBlendMode",jn,"mixBlendMode"],["filter",qn,"filter"],["fontVariantLigatures",ts,"fontVariantLigatures"],["zoom",es,"zoom"],["objectPosition",rs,"objectPosition"],["backgroundBlendMode",ss,"backgroundBlendMode"],["borderImageSource",os,"borderImageSource"],["borderImageSlice",is,"borderImageSlice"],["borderImageRepeat",cs,"borderImageRepeat"],["boxDecorationBreak",Bs,"boxDecorationBreak"]]}constructor(t,e){const r=A.standardProps;if("none"===e.display){this.display=0;for(const[A,e]of r)"display"!==A&&(this[A]=Us(t,e,void 0));this.float=Us(t,Nr,void 0),this.textDecorationColor=Us(t,yn,void 0),this.textDecorationLine=Us(t,Hn,void 0);const A=Us(t,zr,void 0);return this.overflowX=A[0],void(this.overflowY=A[A.length>1?1:0])}for(const[A,n,s]of r)this[A]=Us(t,n,e[s]);this.float=Us(t,Nr,e.cssFloat),this.textDecorationColor=Us(t,yn,e.textDecorationColor??e.color),this.textDecorationLine=Us(t,Hn,e.textDecorationLine??e.textDecoration);const n=Us(t,zr,e.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0]}isVisible(){return this.display>0&&this.opacity>0&&0===this.visibility}isTransparent(){return ft(this.backgroundColor)}isTransformed(){return null!==this.transform||null!==this.rotate}isPositioned(){return 0!==this.position}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return 0!==this.float}isInlineLevel(){return Qe(this.display,4)||Qe(this.display,33554432)||Qe(this.display,268435456)||Qe(this.display,536870912)||Qe(this.display,67108864)||Qe(this.display,134217728)}},us=class{constructor(A,t){this.content=Us(A,Dn,t.content),this.quotes=Us(A,Nn,t.quotes)}},Qs=class{constructor(A,t){this.counterIncrement=Us(A,Tn,t.counterIncrement),this.counterReset=Us(A,kn,t.counterReset)}};const Cs=new Map,Us=(A,t,e)=>{let r=null!=e?e.toString():t.initialValue;""===r.trim()&&(r=t.initialValue);let n=Cs.get(t);if(n){const A=n.get(r);if(void 0!==A)return n.delete(r),n.set(r,A),A}const s=RA.get();s.write(r);const o=new VA(s.read());RA.release(s);const i=(()=>{switch(t.type){case 2:{const e=o.parseComponentValue();return t.parse(A,XA(e)?e.value:t.initialValue)}case 0:return t.parse(A,o.parseComponentValue());case 1:return t.parse(A,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return Ct(0,o.parseComponentValue());case"color":return Jt(A,o.parseComponentValue());case"image":return tr(A,o.parseComponentValue());case"length":{const A=o.parseComponentValue();return st(A)?A:lt}case"length-percentage":{const A=o.parseComponentValue();return ot(A)?A:lt}case"time":return fn(0,o.parseComponentValue())}}})();if(n||(n=new Map,Cs.set(t,n)),!(t.skipCache||3===t.type&&"image"===t.format)){if(n.size>=200){const A=n.keys().next().value;n.delete(A)}n.set(r,i)}return i},ps=(A,t)=>{const e=(A=>{if("function"!=typeof A.getAttribute)return 0;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}})(A);return 1===e||t===e};var Fs=class{constructor(A,t,e){this.cloneNodeFn=A,this.options=t,this.context=e}appendChildNode(A,t,e){this.safeAppendClonedChild(A,t,e)}cloneChildNodes(A,t,e){A.shadowRoot&&t.shadowRoot?(this.cloneShadowDOMChildren(A.shadowRoot,t.shadowRoot,e),this.cloneLightDOMChildren(A,t,e)):A.shadowRoot&&!t.shadowRoot?this.cloneShadowDOMAsLightDOM(A.shadowRoot,t,e):this.cloneLightDOMChildren(A,t,e)}shouldCloneChild(A){return!(Ae(A)&&(t=A,"SCRIPT"===t.tagName||A.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(A)));var t}shouldCloneStyleElement(A){return!this.options.copyStyles||!Ae(A)||!Be(A)}safeAppendClonedChild(A,t,e){this.shouldCloneChild(t)&&this.shouldCloneStyleElement(t)&&A.appendChild(this.cloneNodeFn(t,e))}cloneAssignedNodes(A,t,e){A.forEach(A=>{this.safeAppendClonedChild(t,A,e)})}cloneSlotFallbackContent(A,t,e){for(let r=A.firstChild;r;r=r.nextSibling)this.safeAppendClonedChild(t,r,e)}cloneSlotElement(A,t,e){if(!de(A))return;const r=A;if("function"!=typeof r.assignedNodes)return this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",A),void this.cloneSlotFallbackContent(A,t,e);const n=r.assignedNodes();if(!n||!Array.isArray(n))return this.context.logger.warn("assignedNodes() did not return a valid array",A),void this.cloneSlotFallbackContent(A,t,e);n.length>0?this.cloneAssignedNodes(n,t,e):this.cloneSlotFallbackContent(A,t,e)}cloneShadowDOMChildren(A,t,e){for(let r=A.firstChild;r;r=r.nextSibling)Ae(r)&&de(r)?this.cloneSlotElement(r,t,e):this.safeAppendClonedChild(t,r,e)}cloneLightDOMChildren(A,t,e){for(let r=A.firstChild;r;r=r.nextSibling)this.appendChildNode(t,r,e)}cloneSlotElementAsLightDOM(A,t,e){if(!de(A))return;const r=A;if("function"!=typeof r.assignedNodes){for(let r=A.firstChild;r;r=r.nextSibling)this.appendChildNode(t,r,e);return}const n=r.assignedNodes();if(n&&Array.isArray(n)&&n.length>0)n.forEach(A=>this.appendChildNode(t,A,e));else for(let r=A.firstChild;r;r=r.nextSibling)this.appendChildNode(t,r,e)}cloneShadowDOMAsLightDOM(A,t,e){for(let r=A.firstChild;r;r=r.nextSibling)Ae(r)&&de(r)?this.cloneSlotElementAsLightDOM(r,t,e):this.appendChildNode(t,r,e)}},fs=class{constructor(A,t,e){if(this.context=A,this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ce,this.quoteDepth=0,this.slotCloner=new Fs((A,t)=>this.cloneNode(A,t),{ignoreElements:e.ignoreElements,copyStyles:e.copyStyles??!0},A),!t.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const A=(A=>{let t=A;for(;t;){if(t.parentNode&&t.parentNode.host)return t.parentNode;const A=t.getRootNode();if(A&&A!==t.ownerDocument&&A.host)return A;t=t.parentNode}return null})(t);A&&(this.options.iframeContainer=A)}this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}toIFrame(A,t){const e=ms(A,t,this.options.iframeContainer);if(!e.contentWindow)throw new Error("Unable to find iframe window");const r=A.defaultView.pageXOffset,n=A.defaultView.pageYOffset,s=e.contentWindow,o=s.document,i=Es(e).then(async()=>{this.scrolledElements.forEach(Ls),s&&(s.scrollTo(t.left,t.top),!/AppleWebKit/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0)));const A=this.options.onclone,r=this.clonedReferenceElement;if(void 0===r)throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);return o.fonts&&o.fonts.ready&&await o.fonts.ready,/(AppleWebKit)/g.test(navigator.userAgent)&&await Hs(o),"function"==typeof A?Promise.resolve().then(()=>A(o,r)).then(()=>e):e}),a=A.baseURI;o.open();const c=xs(document.doctype)+"<html></html>";try{const A=this.referenceElement.ownerDocument?.defaultView,t=A&&A.trustedTypes;let e=t?.getPolicy?.("html2canvas-pro");!e&&t&&(e=t.createPolicy("html2canvas-pro",{createHTML:A=>A}));const r=e?e.createHTML(c):c;o.write(r)}catch(A){o.write(c)}vs(this.referenceElement.ownerDocument,r,n),o.close();const B=o.adoptNode(this.documentElement);return ks(B,a),o.replaceChild(B,o.documentElement),i}createElementClone(A){if(ps(A,2),oe(A))return this.createCanvasClone(A);if(ie(A))return this.createVideoClone(A);if(Be(A))return this.createStyleClone(A);const t=A.cloneNode(!1);return ae(t)&&(ae(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),he(t)&&!ee(t)?this.createCustomElementClone(A,t):t}createCustomElementClone(A,t){const e=document.createElement("div");e.className=t.className,Is(t.style,e);const r=t.attributes;for(let A=0;A<r.length;A++){const t=r[A];"class"!==t.name&&"style"!==t.name&&e.setAttribute(t.name,t.value)}if(A.shadowRoot)try{e.attachShadow({mode:"open"})}catch(A){this.context.logger.error("Failed to attach shadow root to custom element clone:",A)}return e}createStyleClone(A){try{const t=A.sheet;if(t&&t.cssRules){const e=[].slice.call(t.cssRules,0).reduce((A,t)=>t&&"string"==typeof t.cssText?A+t.cssText:A,""),r=A.cloneNode(!1);return r.textContent=e,this.options.cspNonce&&(r.nonce=this.options.cspNonce),r}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}const t=A.cloneNode(!1);return this.options.cspNonce&&(t.nonce=this.options.cspNonce),t}createCanvasClone(A){if(this.options.inlineImages&&A.ownerDocument){const t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}const t=A.cloneNode(!1);try{t.width=A.width,t.height=A.height;const e=A.getContext("2d"),r=t.getContext("2d",{willReadFrequently:!0});if(r)if(!this.options.allowTaint&&e)r.putImageData(e.getImageData(0,0,A.width,A.height),0,0);else{const t=A.getContext("webgl2")??A.getContext("webgl");t&&!1===t.getContextAttributes()?.preserveDrawingBuffer&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A),r.drawImage(A,0,0)}return t}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return t}createVideoClone(A){const t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;const e=t.getContext("2d");try{return e&&(e.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||e.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",A)}const r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r}appendChildNode(A,t,e){this.slotCloner.appendChildNode(A,t,e)}cloneChildNodes(A,t,e){this.slotCloner.cloneChildNodes(A,t,e)}cloneNode(A,t){if(te(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);const e=A.ownerDocument.defaultView;if(e&&Ae(A)&&(re(A)||ee(A))){const n=this.createElementClone(A);n.style.transitionProperty="none";const s=e.getComputedStyle(A),o=!ee(r=A)&&!we.has(r.tagName);this.referenceElement===A&&re(n)&&(this.clonedReferenceElement=n),se(n)&&Ms(n,this.options.cspNonce);const i=this.counters.parse(new Qs(this.context,s));if(o){const t=e.getComputedStyle(A,":before"),r=this.resolvePseudoContent(A,n,t,0);r&&n.insertBefore(r,n.firstChild);const s=e.getComputedStyle(A,":after"),o=this.resolvePseudoContent(A,n,s,1);o&&n.appendChild(o)}return he(A)&&(t=!0),ie(A)||this.cloneChildNodes(A,n,t),this.counters.pop(i),(s&&(this.options.copyStyles||ee(A))&&!ce(A)||t)&&Is(s,n),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(le(A)||ge(A))&&(le(n)||ge(n))&&(n.value=A.value),n}var r;return A.cloneNode(!1)}resolvePseudoContent(A,t,e,r){if(!e)return;const n=e.content,s=t.ownerDocument;if(!s||!n||"none"===n||"-moz-alt-content"===n||"none"===e.display)return;this.counters.parse(new Qs(this.context,e));const o=new us(this.context,e),i=s.createElement("html2canvaspseudoelement");Is(e,i),o.content.forEach(t=>{if(0===t.type)i.appendChild(s.createTextNode(t.value));else if(22===t.type){const A=s.createElement("img");A.src=t.value,A.style.opacity="1",i.appendChild(A)}else if(18===t.type){if("attr"===t.name){const e=t.values.filter(XA);e.length&&i.appendChild(s.createTextNode(A.getAttribute(e[0].value)||""))}else if("counter"===t.name){const[A,e]=t.values.filter(ZA);if(A&&XA(A)){const t=this.counters.getCounterValue(A.value),r=e&&XA(e)?ue.parse(this.context,e.value):3;i.appendChild(s.createTextNode(Ke(t,r,!1)))}}else if("counters"===t.name){const[A,e,r]=t.values.filter(ZA);if(A&&XA(A)){const t=this.counters.getCounterValues(A.value),n=r&&XA(r)?ue.parse(this.context,r.value):3,o=e&&0===e.type?e.value:"",a=t.map(A=>Ke(A,n,!1)).join(o);i.appendChild(s.createTextNode(a))}}}else if(20===t.type)switch(t.value){case"open-quote":i.appendChild(s.createTextNode(Rn(o.quotes,this.quoteDepth++,!0)));break;case"close-quote":i.appendChild(s.createTextNode(Rn(o.quotes,--this.quoteDepth,!1)));break;default:i.appendChild(s.createTextNode(t.value))}}),i.className=`${Ks} ${Ss}`;const a=0===r?` ${Ks}`:` ${Ss}`;return ee(t)?t.className.baseValue+=a:t.className+=a,i}static destroy(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)}};const ms=(A,t,e)=>{const r=A.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute("data-html2canvas-ignore","true"),(e||A.body).appendChild(r),r},ys=A=>new Promise(t=>{A.complete?t():A.src?(A.onload=t,A.onerror=t):t()}),Hs=A=>Promise.all([].slice.call(A.images,0).map(ys)),Es=A=>new Promise((t,e)=>{const r=A.contentWindow;if(!r)return e("No window assigned for iframe");const n=r.document;r.onload=A.onload=()=>{r.onload=A.onload=null;let e=0;const s=setInterval(()=>{e++,(n.body.childNodes.length>0&&"complete"===n.readyState||e>=600)&&(clearInterval(s),t(A))},50)}}),bs=["all","d","content"],Is=(A,t)=>{const e=[];for(let t=A.length-1;t>=0;t--){const r=A.item(t);if(-1===bs.indexOf(r)&&!r.startsWith("--")){const t=A.getPropertyValue(r);if(t){const n=A.getPropertyPriority(r);e.push(n?`${r}:${t} !${n}`:`${r}:${t}`)}}}return e.length>0&&(t.style.cssText=e.join(";")+";"),t},xs=A=>{let t="";return A&&(t+="<!DOCTYPE ",A.name&&(t+=A.name),A.internalSubset&&(t+=" "+A.internalSubset.replace(/"/g,"&quot;").replace(/>/g,"&gt;")),A.publicId?(t+=' PUBLIC "'+A.publicId.replace(/"/g,"&quot;")+'"',A.systemId&&(t+=' "'+A.systemId.replace(/"/g,"&quot;")+'"')):A.systemId&&(t+=' SYSTEM "'+A.systemId.replace(/"/g,"&quot;")+'"'),t+=">"),t},vs=(A,t,e)=>{A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Ls=([A,t,e])=>{A.scrollLeft=t,A.scrollTop=e},Ks="___html2canvas___pseudoelement_before",Ss="___html2canvas___pseudoelement_after",Ds='{\n content: "" !important;\n display: none !important;\n}',Ms=(A,t)=>{Ts(A,`.${Ks}:before${Ds}\n .${Ss}:after${Ds}`,t)},Ts=(A,t,e)=>{const r=A.ownerDocument;if(r){const n=r.createElement("style");n.textContent=t,e&&(n.nonce=e),A.appendChild(n)}},ks=(A,t)=>{const e=A.ownerDocument.createElement("base");e.href=t;const r=A.getElementsByTagName("head").item(0);r?.insertBefore(e,r?.firstChild??null)};for(var Os=class{static normalizeElement(A,t){const e={};return re(A)?(t.animationDuration.some(A=>A>0)&&(e.animationDuration=A.style.animationDuration,A.style.animationDuration="0s"),null!==t.transform&&(e.transform=A.style.transform,A.style.transform="translate(0, 0)"),null!==t.rotate&&(e.rotate=A.style.rotate,A.style.rotate="0deg",void 0===e.transform&&(e.transform=A.style.transform,A.style.transform="translate(0, 0)")),e):e}static restoreElement(A,t){re(A)&&(void 0!==t.animationDuration&&(A.style.animationDuration=t.animationDuration),void 0!==t.transform&&(A.style.transform=t.transform),void 0!==t.rotate&&(A.style.rotate=t.rotate))}},Ns=class{constructor(A,t,e={}){if(this.context=A,this.textNodes=[],this.elements=[],this.createsStackingContext=!1,this.createsRealStackingContext=!1,this.isListOwner=!1,this.debugRender=!1,ps(t,3),this.styles=new ws(A,A.config.window.getComputedStyle(t,null)),!1!==e.normalizeDom&&re(t)&&(this.originalStyles=Os.normalizeElement(t,this.styles),this.originalElement=t),this.bounds=s(this.context,t),"FIELDSET"===t.tagName){const A=t.querySelector(":scope > legend");if(A){const t=s(this.context,A);this.legendBounds=t;const e=t.top+t.height/2-this.styles.borderTopWidth/2;this.bounds=new n(this.bounds.left,e,this.bounds.width,this.bounds.height-(e-this.bounds.top))}}ps(t,4)&&(this.debugRender=!0)}restore(){this.originalStyles&&this.originalElement&&(Os.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const A of this.elements)A.restoreTree()}},Rs="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Vs=0;Vs<64;Vs++)Rs["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Vs)]=Vs;for(var Gs=(A,t,e)=>A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e)),Ps=function(){function A(A,t,e,r,n,s){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[t=((t=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[t=((t=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return t=this.index[t=2080+(A>>11)],this.data[t=((t=this.index[t+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Xs="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Js=0;Js<64;Js++)Xs["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Js)]=Js;var Ws=8,Ys=9,Zs=11,$s=12,_s=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";for(var r=[],n=-1,s="";++n<e;){var o=A[n];o<=65535?r.push(o):r.push(55296+((o-=65536)>>10),o%1024+56320),(n+1===e||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},zs=(()=>{var A,t,e,r=(A=>{var t,e,r,n,s,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),B=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<i;t+=4)e=Rs[A.charCodeAt(t)],r=Rs[A.charCodeAt(t+1)],n=Rs[A.charCodeAt(t+2)],s=Rs[A.charCodeAt(t+3)],B[a++]=e<<2|r>>4,B[a++]=(15&r)<<4|n>>2,B[a++]=(3&n)<<6|63&s;return c})("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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OgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFig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AAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),n=Array.isArray(r)?(A=>{for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e})(r):new Uint32Array(r),s=Array.isArray(r)?(A=>{for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e})(r):new Uint16Array(r),o=Gs(s,12,n[4]/2),i=2===n[5]?Gs(s,(24+n[4])/2):(A=n,t=Math.ceil((24+n[4])/4),A.slice?A.slice(t,e):new Uint32Array(Array.prototype.slice.call(A,t,e)));return new Ps(n[0],n[1],n[2],n[3],o,i)})(),js="×",qs=A=>zs.get(A),Ao=(A,t,e)=>{var r=e-2,n=t[r],s=t[e-1],o=t[e];if(2===s&&3===o)return js;if(2===s||3===s||4===s)return"÷";if(2===o||3===o||4===o)return"÷";if(s===Ws&&-1!==[Ws,Ys,Zs,$s].indexOf(o))return js;if(!(s!==Zs&&s!==Ys||o!==Ys&&10!==o))return js;if((s===$s||10===s)&&10===o)return js;if(13===o||5===o)return js;if(7===o)return js;if(1===s)return js;if(13===s&&14===o){for(;5===n;)n=t[--r];if(14===n)return js}if(15===s&&15===o){for(var i=0;15===n;)i++,n=t[--r];if(i%2==0)return js}return"÷"};const to=A=>0===A[0]&&255===A[1]&&0===A[2]&&255===A[3],eo=(A,t,e,r,n)=>{const s="http://www.w3.org/2000/svg",o=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return o.setAttributeNS(null,"width",A.toString()),o.setAttributeNS(null,"height",t.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(n),o},ro=A=>new Promise((t,e)=>{const r=new Image;r.onload=()=>t(r),r.onerror=e,r.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent((new XMLSerializer).serializeToString(A))}`}),no={get SUPPORT_RANGE_BOUNDS(){const A=(A=>{if(A.createRange){const t=A.createRange();if(t.getBoundingClientRect){const e=A.createElement("boundtest");e.style.height="123px",e.style.display="block",A.body.appendChild(e),t.selectNode(e);const r=t.getBoundingClientRect(),n=Math.round(r.height);if(A.body.removeChild(e),123===n)return!0}}return!1})(document);return Object.defineProperty(no,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){const A=no.SUPPORT_RANGE_BOUNDS&&(A=>{const t=A.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",A.body.appendChild(t);const e=A.createRange();t.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";const r=t.firstChild,n=o(r.data).map(A=>i(A));let s=0,a={};const c=n.every((A,t)=>{e.setStart(r,s),e.setEnd(r,s+A.length);const n=e.getBoundingClientRect();s+=A.length;const o=n.x>a.x||n.y>a.y;return a=n,0===t||o});return A.body.removeChild(t),c})(document);return Object.defineProperty(no,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){const A=(A=>{const t=new Image,e=A.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0})(document);return Object.defineProperty(no,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){const A="function"==typeof Array.from&&"function"==typeof window.fetch?(A=>{const t=A.createElement("canvas"),e=100;t.width=e,t.height=e;const r=t.getContext("2d");if(!r)return Promise.reject(new Error("Failed to get 2D rendering context"));r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);const n=new Image,s=t.toDataURL();n.src=s;const o=eo(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),ro(o).then(t=>{r.drawImage(t,0,0);const n=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);const o=A.createElement("div");return o.style.backgroundImage=`url(${s})`,o.style.height="100px",to(n)?ro(eo(e,e,0,0,o)):Promise.reject(new Error("ForeignObject rendering not supported"))}).then(A=>(r.drawImage(A,0,0),to(r.getImageData(0,0,e,e).data))).catch(()=>!1)})(document):Promise.resolve(!1);return Object.defineProperty(no,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){const A=void 0!==(new Image).crossOrigin;return Object.defineProperty(no,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){const A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(no,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){const A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(no,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){const A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(no,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}};var so=class{constructor(A,t){this.text=A,this.bounds=t}};const oo=(A,t,e)=>{const r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");const n=r.createRange();return n.setStart(A,t),n.setEnd(A,t+e),n},io=A=>{if(no.SUPPORT_NATIVE_TEXT_SEGMENTATION){const t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(A)).map(A=>A.segment)}return(A=>{for(var t,e=(A=>{var t=(A=>{for(var t=[],e=0,r=A.length;e<r;){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var s=A.charCodeAt(e++);56320==(64512&s)?t.push(((1023&n)<<10)+(1023&s)+65536):(t.push(n),e--)}else t.push(n)}return t})(A),e=t.length,r=0,n=0,s=t.map(qs);return{next:()=>{if(r>=e)return{done:!0,value:null};for(var A=js;r<e&&(A=Ao(0,s,++r))===js;);if(A!==js||r===e){var o=_s.apply(null,t.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}})(A),r=[];!(t=e.next()).done;)t.value&&r.push(t.value.slice());return r})(A)},ao=[32,160,4961,65792,65793,4153,4241],co=(A,t)=>{const e=((A,t)=>{var e=o(A),r=((A,t)=>{t||(t={lineBreak:"normal",wordBreak:"normal"});var e=((A,t)=>{void 0===t&&(t="strict");var e=[],r=[],n=[];return A.forEach((A,s)=>{var o=z.get(A);if(o>50?(n.push(!0),o-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(s),e.push(16);if(4===o||11===o){if(0===s)return r.push(s),e.push(O);var i=e[s-1];return-1===eA.indexOf(i)?(r.push(r[s-1]),e.push(i)):(r.push(s),e.push(O))}return r.push(s),31===o?e.push("strict"===t?L:P):o===Y||29===o?e.push(O):43===o?e.push(A>=131072&&A<=196605||A>=196608&&A<=262141?P:O):void e.push(o)}),[r,e,n]})(A,t.lineBreak),r=e[0],n=e[1],s=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map(A=>-1!==[D,O,Y].indexOf(A)?P:A));var o="keep-all"===t.wordBreak?s.map((t,e)=>t&&A[e]>=19968&&A[e]<=40959):void 0;return[r,n,o]})(e,t),n=r[0],s=r[1],i=r[2],a=e.length,c=0,B=0;return{next:()=>{if(B>=a)return{done:!0,value:null};for(var A=$;B<a&&(A=iA(e,s,n,++B,i))===$;);if(A!==$||B===a){var t=new aA(e,A,c,B);return c=B,{value:t,done:!1}}return{done:!0,value:null}}}})(A,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),r=[];let n;for(;!(n=e.next()).done;)if(n.value){const A=o(n.value.slice());let t="";A.forEach(A=>{-1===ao.indexOf(A)?t+=i(A):(t.length&&r.push(t),r.push(i(A)),t="")}),t.length&&r.push(t)}return r};var Bo=class{constructor(A,t,e){this.text=lo(t.data,e.textTransform),this.text.length!==t.data.length&&(t.data=this.text),this.textBounds=((A,t,e,r)=>{const o=((A,t)=>Cn(t.writingMode)||0!==t.letterSpacing?io(A):((A,t)=>{if(no.SUPPORT_NATIVE_TEXT_SEGMENTATION){const t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(A=>A.segment)}return co(A,t)})(A,t))(this.text,e),i=[];let a=0;return o.forEach(t=>{if(e.textDecorationLine.length||t.trim().length>0)if(no.SUPPORT_RANGE_BOUNDS){const e=oo(r,a,t.length).getClientRects();if(e.length>1){const e=io(t);let s=0;e.forEach(t=>{i.push(new so(t,n.fromDOMRectList(A,oo(r,s+a,t.length).getClientRects()))),s+=t.length})}else i.push(new so(t,n.fromDOMRectList(A,e)))}else{const e=r.splitText(t.length);i.push(new so(t,((A,t)=>{const e=t.ownerDocument;if(e){const r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));const n=t.parentNode;if(n){n.replaceChild(r,t);const e=s(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),e}}return n.EMPTY})(A,r))),r=e}else no.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));a+=t.length}),i})(A,0,e,t)}};const lo=(A,t)=>{switch(t){case 1:return A.toLowerCase();case 3:return A.replace(go,ho);case 2:return A.toUpperCase();default:return A}},go=/(^|\s|:|-|\(|\))([a-z])/g,ho=(A,t,e)=>A.length>0?t+e.toUpperCase():A;var wo=class extends Ns{constructor(A,t){super(A,t),this.src=t.currentSrc||t.src,this.intrinsicWidth=t.naturalWidth,this.intrinsicHeight=t.naturalHeight,this.context.cache.addImage(this.src)}},uo=class extends Ns{constructor(A,t){super(A,t),this.canvas=t,this.intrinsicWidth=t.width,this.intrinsicHeight=t.height}},Qo=class extends Ns{constructor(A,t){super(A,t);const e=new XMLSerializer,r=s(A,t);t.setAttribute("width",`${r.width}px`),t.setAttribute("height",`${r.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(e.serializeToString(t))}`,this.intrinsicWidth=t.width.baseVal.value,this.intrinsicHeight=t.height.baseVal.value,this.context.cache.addImage(this.svg)}},Co=class extends Ns{constructor(A,t){super(A,t),this.value=t.value}},Uo=class extends Ns{constructor(A,t){super(A,t),this.start=t.start,this.reversed="boolean"==typeof t.reversed&&!0===t.reversed}};const po=[{type:15,flags:0,unit:"px",number:3}],Fo=[{type:16,flags:0,number:50}],fo=707406591;var mo=class extends Ns{constructor(A,t){var e,r;switch(super(A,t),this.type=t.type.toLowerCase(),this.checked=t.checked,this.value=(A=>{const t="password"===A.type?new Array(A.value.length+1).join("•"):A.value;return 0===t.length?A.placeholder||"":t})(t),this.isPlaceholder=0===(e=t).value.length&&!!e.placeholder,"checkbox"!==this.type&&"radio"!==this.type||(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=(r=this.bounds).width>r.height?new n(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new n(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),this.type){case"checkbox":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=po;break;case"radio":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Fo}}},yo=class extends Ns{constructor(A,t){super(A,t);const e=t.options[t.selectedIndex||0];this.value=e&&e.text||""}},Ho=class extends Ns{constructor(A,t){super(A,t),this.value=t.value}},Eo=class extends Ns{constructor(A,t,e){super(A,t),this.src=t.src,this.width=parseInt(t.width,10)||0,this.height=parseInt(t.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=e;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(A,t.contentWindow.document.documentElement);const e=t.contentWindow.document.documentElement?jt(A,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):qt.TRANSPARENT,r=t.contentWindow.document.body?jt(A,getComputedStyle(t.contentWindow.document.body).backgroundColor):qt.TRANSPARENT;this.backgroundColor=ft(e)?ft(r)?this.styles.backgroundColor:r:e}}catch(A){}}};const bo=["OL","UL","MENU"],Io=(A,t,e,r)=>{for(let n,s=t.firstChild;s;s=n)n=s.nextSibling,xo(A,s,e,r)},xo=(A,t,e,r)=>{if(te(t)&&t.data.length>0)e.textNodes.push(new Bo(A,t,e.styles));else if(Ae(t))if(de(t)&&t.assignedNodes)t.assignedNodes().forEach(t=>xo(A,t,e,r));else{const n=vo(A,t);n.styles.isVisible()&&(Ko(t,n,r)?n.createsRealStackingContext=!0:So(n.styles)&&(n.createsStackingContext=!0),-1!==bo.indexOf(t.tagName)&&(n.isListOwner=!0),e.elements.push(n),t.shadowRoot?Io(A,t.shadowRoot,n,r):le(t)||ne(t)||ge(t)||Io(A,t,n,r))}},vo=(A,t)=>ae(t)?new wo(A,t):oe(t)?new uo(A,t):ne(t)?new Qo(A,t):"LI"===t.tagName?new Co(A,t):"OL"===t.tagName?new Uo(A,t):(A=>"INPUT"===A.tagName)(t)?new mo(A,t):ge(t)?new yo(A,t):le(t)?new Ho(A,t):ce(t)?new Eo(A,t,Lo):new Ns(A,t),Lo=(A,t)=>{const e=vo(A,t);return e.createsRealStackingContext=!0,Io(A,t,e,e),e},Ko=(A,t,e)=>t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||se(A)&&e.styles.isTransparent(),So=A=>!(!A.isPositioned()&&!A.isFloating())||Qe(A.display,268435456)||Qe(A.display,33554432)||Qe(A.display,536870912)||Qe(A.display,134217728),Do=(A,t)=>A.length===t.length&&A.some((A,e)=>A===t[e]);var Mo=class A{constructor(A,t){this.type=0,this.x=A,this.y=t}add(t,e){return new A(this.x+t,this.y+e)}};const To=(A,t,e)=>new Mo(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e);var ko=class A{constructor(A,t,e,r){this.type=1,this.start=A,this.startControl=t,this.endControl=e,this.end=r}subdivide(t,e){const r=To(this.start,this.startControl,t),n=To(this.startControl,this.endControl,t),s=To(this.endControl,this.end,t),o=To(r,n,t),i=To(n,s,t),a=To(o,i,t);return e?new A(this.start,r,o,a):new A(a,i,s,this.end)}add(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))}reverse(){return new A(this.end,this.endControl,this.startControl,this.start)}};const Oo=A=>1===A.type;var No=class{constructor(A){const t=A.styles,e=A.bounds;let[r,n]=ht(t.borderTopLeftRadius,e.width,e.height),[s,o]=ht(t.borderTopRightRadius,e.width,e.height),[i,a]=ht(t.borderBottomRightRadius,e.width,e.height),[c,B]=ht(t.borderBottomLeftRadius,e.width,e.height);const l=[];l.push((r+s)/e.width),l.push((c+i)/e.width),l.push((n+B)/e.height),l.push((o+a)/e.height);const g=Math.max(...l);g>1&&(r/=g,n/=g,s/=g,o/=g,i/=g,a/=g,c/=g,B/=g);const d=e.width-s,h=e.height-a,w=e.width-i,u=e.height-B,Q=t.borderTopWidth,C=t.borderRightWidth,U=t.borderBottomWidth,p=t.borderLeftWidth,F=wt(t.paddingTop,A.bounds.width),f=wt(t.paddingRight,A.bounds.width),m=wt(t.paddingBottom,A.bounds.width),y=wt(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||n>0?Ro(e.left+p/3,e.top+Q/3,r-p/3,n-Q/3,0):new Mo(e.left+p/3,e.top+Q/3),this.topRightBorderDoubleOuterBox=r>0||n>0?Ro(e.left+d,e.top+Q/3,s-C/3,o-Q/3,1):new Mo(e.left+e.width-C/3,e.top+Q/3),this.bottomRightBorderDoubleOuterBox=i>0||a>0?Ro(e.left+w,e.top+h,i-C/3,a-U/3,2):new Mo(e.left+e.width-C/3,e.top+e.height-U/3),this.bottomLeftBorderDoubleOuterBox=c>0||B>0?Ro(e.left+p/3,e.top+u,c-p/3,B-U/3,3):new Mo(e.left+p/3,e.top+e.height-U/3),this.topLeftBorderDoubleInnerBox=r>0||n>0?Ro(e.left+2*p/3,e.top+2*Q/3,r-2*p/3,n-2*Q/3,0):new Mo(e.left+2*p/3,e.top+2*Q/3),this.topRightBorderDoubleInnerBox=r>0||n>0?Ro(e.left+d,e.top+2*Q/3,s-2*C/3,o-2*Q/3,1):new Mo(e.left+e.width-2*C/3,e.top+2*Q/3),this.bottomRightBorderDoubleInnerBox=i>0||a>0?Ro(e.left+w,e.top+h,i-2*C/3,a-2*U/3,2):new Mo(e.left+e.width-2*C/3,e.top+e.height-2*U/3),this.bottomLeftBorderDoubleInnerBox=c>0||B>0?Ro(e.left+2*p/3,e.top+u,c-2*p/3,B-2*U/3,3):new Mo(e.left+2*p/3,e.top+e.height-2*U/3),this.topLeftBorderStroke=r>0||n>0?Ro(e.left+p/2,e.top+Q/2,r-p/2,n-Q/2,0):new Mo(e.left+p/2,e.top+Q/2),this.topRightBorderStroke=r>0||n>0?Ro(e.left+d,e.top+Q/2,s-C/2,o-Q/2,1):new Mo(e.left+e.width-C/2,e.top+Q/2),this.bottomRightBorderStroke=i>0||a>0?Ro(e.left+w,e.top+h,i-C/2,a-U/2,2):new Mo(e.left+e.width-C/2,e.top+e.height-U/2),this.bottomLeftBorderStroke=c>0||B>0?Ro(e.left+p/2,e.top+u,c-p/2,B-U/2,3):new Mo(e.left+p/2,e.top+e.height-U/2),this.topLeftBorderBox=r>0||n>0?Ro(e.left,e.top,r,n,0):new Mo(e.left,e.top),this.topRightBorderBox=s>0||o>0?Ro(e.left+d,e.top,s,o,1):new Mo(e.left+e.width,e.top),this.bottomRightBorderBox=i>0||a>0?Ro(e.left+w,e.top+h,i,a,2):new Mo(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=c>0||B>0?Ro(e.left,e.top+u,c,B,3):new Mo(e.left,e.top+e.height),this.topLeftPaddingBox=r>0||n>0?Ro(e.left+p,e.top+Q,Math.max(0,r-p),Math.max(0,n-Q),0):new Mo(e.left+p,e.top+Q),this.topRightPaddingBox=s>0||o>0?Ro(e.left+Math.min(d,e.width-C),e.top+Q,d>e.width+C?0:Math.max(0,s-C),Math.max(0,o-Q),1):new Mo(e.left+e.width-C,e.top+Q),this.bottomRightPaddingBox=i>0||a>0?Ro(e.left+Math.min(w,e.width-p),e.top+Math.min(h,e.height-U),Math.max(0,i-C),Math.max(0,a-U),2):new Mo(e.left+e.width-C,e.top+e.height-U),this.bottomLeftPaddingBox=c>0||B>0?Ro(e.left+p,e.top+Math.min(u,e.height-U),Math.max(0,c-p),Math.max(0,B-U),3):new Mo(e.left+p,e.top+e.height-U),this.topLeftContentBox=r>0||n>0?Ro(e.left+p+y,e.top+Q+F,Math.max(0,r-(p+y)),Math.max(0,n-(Q+F)),0):new Mo(e.left+p+y,e.top+Q+F),this.topRightContentBox=s>0||o>0?Ro(e.left+Math.min(d,e.width+p+y),e.top+Q+F,d>e.width+p+y?0:s-p+y,o-(Q+F),1):new Mo(e.left+e.width-(C+f),e.top+Q+F),this.bottomRightContentBox=i>0||a>0?Ro(e.left+Math.min(w,e.width-(p+y)),e.top+Math.min(h,e.height+Q+F),Math.max(0,i-(C+f)),a-(U+m),2):new Mo(e.left+e.width-(C+f),e.top+e.height-(U+m)),this.bottomLeftContentBox=c>0||B>0?Ro(e.left+p+y,e.top+u,Math.max(0,c-(p+y)),B-(U+m),3):new Mo(e.left+p+y,e.top+e.height-(U+m))}};const Ro=(A,t,e,r,n)=>{const s=(Math.sqrt(2)-1)/3*4,o=e*s,i=r*s,a=A+e,c=t+r;switch(n){case 0:return new ko(new Mo(A,c),new Mo(A,c-i),new Mo(a-o,t),new Mo(a,t));case 1:return new ko(new Mo(A,t),new Mo(A+o,t),new Mo(a,c-i),new Mo(a,c));case 2:return new ko(new Mo(a,t),new Mo(a,t+i),new Mo(A+o,c),new Mo(A,c));default:return new ko(new Mo(a,c),new Mo(a-o,c),new Mo(A,t+i),new Mo(A,t))}},Vo=A=>[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox],Go=A=>[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox];var Po=class{constructor(A,t,e){this.offsetX=A,this.offsetY=t,this.matrix=e,this.type=0,this.target=6}},Xo=class{constructor(A,t){this.path=A,this.target=t,this.type=1}},Jo=class{constructor(A){this.opacity=A,this.type=2,this.target=6}},Wo=class{constructor(A){this.applyClip=A,this.type=3,this.target=6}};const Yo={[_n.NORMAL]:"source-over",[_n.MULTIPLY]:"multiply",[_n.SCREEN]:"screen",[_n.OVERLAY]:"overlay",[_n.DARKEN]:"darken",[_n.LIGHTEN]:"lighten",[_n.COLOR_DODGE]:"color-dodge",[_n.COLOR_BURN]:"color-burn",[_n.HARD_LIGHT]:"hard-light",[_n.SOFT_LIGHT]:"soft-light",[_n.DIFFERENCE]:"difference",[_n.EXCLUSION]:"exclusion",[_n.HUE]:"hue",[_n.SATURATION]:"saturation",[_n.COLOR]:"color",[_n.LUMINOSITY]:"luminosity"};var Zo=class{constructor(A){this.mixBlendMode=A,this.type=4,this.target=6,this.compositeOperation=Yo[A]}},$o=class A{constructor(t){this.type=5,this.target=6;const e=A.parseDropShadow(t);this.shadow=e.shadow,this.safeFilterString=e.safeFilterString}static parseDropShadow(t){if(!t)return{safeFilterString:""};const e=A.findDropShadows(t);if(0===e.length)return{safeFilterString:t};const r=A.parseDropShadowBody(e[0].body);let n="",s=0;for(const A of e)n+=t.slice(s,A.start),s=A.end;return n+=t.slice(s),{shadow:r,safeFilterString:n.replace(/\s+/g," ").trim()}}static findDropShadows(A){const t=[],e=/drop-shadow\(/gi;let r;for(;null!==(r=e.exec(A));){const e=r.index+12-1,n=r.index;let s=1,o=e+1;for(;o<A.length&&s>0;){const t=A[o];"("===t?s++:")"===t&&s--,o++}if(0!==s)break;const i=A.slice(e+1,o-1);t.push({body:i,start:n,end:o})}return t}static parseDropShadowBody(t){const e=A.tokenizeFilterArgs(t.trim()),r=[];let n;for(const t of e)A.isCSSLength(t)?r.push(parseFloat(t)):t&&(n=t);if(!(r.length<2||r.length>3))return{offsetX:r[0],offsetY:r[1],blur:r[2]??0,color:n??"rgba(0,0,0,1)"}}static tokenizeFilterArgs(A){const t=[];let e="",r=0;for(let n=0;n<A.length;n++){const s=A[n];"("===s?(r++,e+=s):")"===s?(r--,e+=s):/\s/.test(s)?r>0?e+=s:e&&(t.push(e),e=""):e+=s}return e&&t.push(e),t}static isCSSLength(A){return/^-?[\d.]+(px|em|rem|pt|cm|mm|in|pc|ex|ch|vw|vh|vmin|vmax|%)?$/i.test(A)}};const _o=A=>0===A.type,zo=A=>1===A.type,jo=A=>3===A.type;var qo=class{constructor(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}},Ai=class{constructor(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new No(this.container),this.container.styles.opacity<1&&this.effects.push(new Jo(this.container.styles.opacity)),null!==this.container.styles.rotate){const A=this.container.styles.transformOrigin,t=this.container.bounds.left+wt(A[0],this.container.bounds.width),e=this.container.bounds.top+wt(A[1],this.container.bounds.height),r=this.container.styles.rotate*Math.PI/180,n=Math.cos(r),s=Math.sin(r);this.effects.push(new Po(t,e,[n,s,-s,n,0,0]))}if(null!==this.container.styles.transform){const A=this.container.styles.transformOrigin,t=this.container.bounds.left+wt(A[0],this.container.bounds.width),e=this.container.bounds.top+wt(A[1],this.container.bounds.height);this.effects.push(new Po(t,e,this.container.styles.transform))}if(ti(this.container.styles)){const A=Vo(this.curves),t=Go(this.curves);Do(A,t)?this.effects.push(new Xo(A,6)):(this.effects.push(new Xo(A,2)),this.effects.push(new Xo(t,4)))}if(0!==this.container.styles.clipPath.type){const A=ri(this.container.styles.clipPath,this.container.bounds);A&&this.effects.push(A)}if(this.container.styles.mixBlendMode!==_n.NORMAL&&this.effects.push(new Zo(this.container.styles.mixBlendMode)),null!==this.container.styles.filter&&this.effects.push(new $o(this.container.styles.filter)),1!==this.container.styles.zoom){const A=this.container.styles.transformOrigin,t=this.container.bounds.left+wt(A[0],this.container.bounds.width),e=this.container.bounds.top+wt(A[1],this.container.bounds.height),r=this.container.styles.zoom;this.effects.push(new Po(t,e,[r,0,0,r,0,0]))}}getEffects(A){let t=-1===[2,3].indexOf(this.container.styles.position),e=this.parent;const r=this.effects.slice(0);for(;e;){const A=e.effects.filter(A=>!zo(A));if(t||0!==e.container.styles.position||!e.parent){if(t=-1===[2,3].indexOf(e.container.styles.position),ti(e.container.styles)){const A=Vo(e.curves),t=Go(e.curves);Do(A,t)||r.unshift(new Xo(t,6))}r.unshift(...A)}else r.unshift(...A);e=e.parent}return r.filter(t=>Qe(t.target,A))}};const ti=A=>0!==A.overflowX||0!==A.overflowY,ei=(A,t,e,r,n)=>"closest-side"===A?Math.min(t-e,r-t):"farthest-side"===A?Math.max(t-e,r-t):wt(A,n),ri=(A,t)=>{const{left:e,top:r,width:n,height:s}=t;switch(A.type){case 1:{const t=wt(A.left,n),o=wt(A.top,s),i=e+t,a=r+o,c=Math.max(0,n-t-wt(A.right,n)),B=Math.max(0,s-o-wt(A.bottom,s));return new Wo(A=>{A.beginPath(),A.rect(i,a,c,B),A.clip()})}case 2:{const t=e+wt(A.cx,n),o=r+wt(A.cy,s);let i;return i="closest-side"===A.radius?Math.min(t-e,o-r,e+n-t,r+s-o):"farthest-side"===A.radius?Math.max(t-e,o-r,e+n-t,r+s-o):wt(A.radius,Math.sqrt(n*n+s*s)/Math.SQRT2),new Wo(A=>{A.beginPath(),A.arc(t,o,Math.max(0,i),0,2*Math.PI),A.clip()})}case 3:{const t=e+wt(A.cx,n),o=r+wt(A.cy,s),i=ei(A.rx,t,e,e+n,n),a=ei(A.ry,o,r,r+s,s);return new Wo(A=>{A.beginPath(),A.ellipse(t,o,Math.max(0,i),Math.max(0,a),0,0,2*Math.PI),A.clip()})}case 4:{const t=A.points.map(([A,t])=>[e+wt(A,n),r+wt(t,s)]);return new Wo(A=>{if(A.beginPath(),t.length>0){A.moveTo(t[0][0],t[0][1]);for(let e=1;e<t.length;e++)A.lineTo(t[e][0],t[e][1]);A.closePath()}A.clip()})}case 5:{const{d:t}=A;let n=null;return new Wo(A=>{try{n||(n=new Path2D(t));const s=A.getTransform();A.translate(e,r),A.clip(n),A.setTransform(s)}catch(A){}})}default:return null}},ni=(A,t,e,r)=>{A.container.elements.forEach(n=>{const s=n.createsRealStackingContext,o=n.createsStackingContext,i=new Ai(n,A);Qe(n.styles.display,2048)&&r.push(i);const a=n.isListOwner?[]:r;if(s||o){const A=s||n.styles.isPositioned()?e:t,r=new qo(i);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){const t=n.styles.zIndex.order;if(t<0){let e=0;A.negativeZIndex.some((A,r)=>t>A.element.container.styles.zIndex.order?(e=r,!1):e>0),A.negativeZIndex.splice(e,0,r)}else if(t>0){let e=0;A.positiveZIndex.some((A,r)=>t>=A.element.container.styles.zIndex.order?(e=r+1,!1):e>0),A.positiveZIndex.splice(e,0,r)}else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(r)}else n.styles.isFloating()?A.nonPositionedFloats.push(r):A.nonPositionedInlineLevel.push(r);ni(i,r,s?r:e,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(i):t.nonInlineLevel.push(i),ni(i,t,e,a);n.isListOwner&&si(n,a)})},si=(A,t)=>{let e=A instanceof Uo?A.start:1;const r=A instanceof Uo&&A.reversed;for(let A=0;A<t.length;A++){const n=t[A];n.container instanceof Co&&"number"==typeof n.container.value&&0!==n.container.value&&(e=n.container.value),n.listValue=Ke(e,n.container.styles.listStyleType,!0),e+=r?-1:1}},oi=A=>{const t=A.styles;return A.bounds.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ii=A=>{const t=A.styles,e=A.bounds,r=wt(t.paddingLeft,e.width),n=wt(t.paddingRight,e.width),s=wt(t.paddingTop,e.width),o=wt(t.paddingBottom,e.width);return e.add(r+t.borderLeftWidth,s+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+n),-(t.borderTopWidth+t.borderBottomWidth+s+o))},ai=(A,t,e)=>{const r=((A,t)=>0===A?t.bounds:2===A?ii(t):oi(t))(gi(A.styles.backgroundOrigin,t),A),n=((A,t)=>0===A?t.bounds:2===A?ii(t):oi(t))(gi(A.styles.backgroundClip,t),A),s=li(gi(A.styles.backgroundSize,t),e,r);let[o,i]=s;const a=ht(gi(A.styles.backgroundPosition,t),r.width-o,r.height-i),c=di(gi(A.styles.backgroundRepeat,t),a,s,r,n),B=Math.round(r.left+a[0]),l=Math.round(r.top+a[1]);return o=Math.max(1,o),i=Math.max(1,i),[c,B,l,o,i]},ci=A=>XA(A)&&"auto"===A.value,Bi=A=>"number"==typeof A,li=(A,[t,e,r],n)=>{const[s,o]=A;if(!s)return[0,0];if(ot(s)&&o&&ot(o))return[wt(s,n.width),wt(o,n.height)];const i=Bi(r);if(XA(s)&&("contain"===s.value||"cover"===s.value))return Bi(r)?n.width/n.height<r!=("cover"===s.value)?[n.width,n.width/r]:[n.height*r,n.height]:[n.width,n.height];const a=Bi(t),c=Bi(e),B=a||c;if(ci(s)&&(!o||ci(o)))return a&&c?[t,e]:i||B?B&&i?[a?t:e*r,c?e:t/r]:[a?t:n.width,c?e:n.height]:[n.width,n.height];if(i){let A=0,t=0;return ot(s)?A=wt(s,n.width):ot(o)&&(t=wt(o,n.height)),ci(s)?A=t*r:o&&!ci(o)||(t=A/r),[A,t]}let l=null,g=null;if(ot(s)?l=wt(s,n.width):o&&ot(o)&&(g=wt(o,n.height)),null===l||o&&!ci(o)||(g=a&&c?l/t*e:n.height),null!==g&&ci(s)&&(l=a&&c?g/e*t:n.width),null!==l&&null!==g)return[l,g];throw new Error("Unable to calculate background-size for element")},gi=(A,t)=>{const e=A[t];return void 0===e?A[0]:e},di=(A,[t,e],[r,n],s,o)=>{switch(A){case 2:return[new Mo(Math.round(s.left),Math.round(s.top+e)),new Mo(Math.round(s.left+s.width),Math.round(s.top+e)),new Mo(Math.round(s.left+s.width),Math.round(n+s.top+e)),new Mo(Math.round(s.left),Math.round(n+s.top+e))];case 3:return[new Mo(Math.round(s.left+t),Math.round(s.top)),new Mo(Math.round(s.left+t+r),Math.round(s.top)),new Mo(Math.round(s.left+t+r),Math.round(s.height+s.top)),new Mo(Math.round(s.left+t),Math.round(s.height+s.top))];case 1:return[new Mo(Math.round(s.left+t),Math.round(s.top+e)),new Mo(Math.round(s.left+t+r),Math.round(s.top+e)),new Mo(Math.round(s.left+t+r),Math.round(s.top+e+n)),new Mo(Math.round(s.left+t),Math.round(s.top+e+n))];default:return[new Mo(Math.round(o.left),Math.round(o.top)),new Mo(Math.round(o.left+o.width),Math.round(o.top)),new Mo(Math.round(o.left+o.width),Math.round(o.height+o.top)),new Mo(Math.round(o.left),Math.round(o.height+o.top))]}};var hi=class{constructor(A){this.ctx=A}render(A,t){this.ctx.fillStyle=mt(t.textDecorationColor||t.color);let e=1;"number"==typeof t.textDecorationThickness?e=t.textDecorationThickness:"from-font"===t.textDecorationThickness&&(e=Math.max(1,Math.floor(.05*t.fontSize.number)));let r=0;"number"==typeof t.textUnderlineOffset&&(r=t.textUnderlineOffset);const n=t.textDecorationStyle;t.textDecorationLine.forEach(t=>{let s=0;switch(t){case 1:s=A.top+A.height-e+r;break;case 2:s=A.top;break;case 3:s=A.top+(A.height/2-e/2);break;default:return}this.draw(A.left,s,A.width,e,n)})}draw(A,t,e,r,n){switch(n){case 0:default:this.ctx.fillRect(A,t,e,r);break;case 1:{const n=Math.max(1,r);this.ctx.fillRect(A,t,e,r),this.ctx.fillRect(A,t+r+n,e,r);break}case 2:this.drawPattern(A,t,e,r,[r,2*r]);break;case 3:this.drawPattern(A,t,e,r,[3*r,2*r]);break;case 4:this.drawWavy(A,t,e,r)}}drawPattern(A,t,e,r,n){this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash(n),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(A,t+r/2),this.ctx.lineTo(A+e,t+r/2),this.ctx.stroke(),this.ctx.restore()}drawWavy(A,t,e,r){this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=r,this.ctx.strokeStyle=this.ctx.fillStyle;const n=2*r,s=4*r;let o=A;for(this.ctx.moveTo(o,t+r/2);o<A+e;){const i=Math.min(o+s/2,A+e);if(this.ctx.quadraticCurveTo(o+s/4,t+r/2-n,i,t+r/2),o=i,o<A+e){const i=Math.min(o+s/2,A+e);this.ctx.quadraticCurveTo(o+s/4,t+r/2+n,i,t+r/2),o=i}}this.ctx.stroke(),this.ctx.restore()}};const wi=(A,t)=>{const e=A.measureText("Mg"),r=e.fontBoundingBoxAscent,n=void 0===r||Number.isNaN(r)?e.actualBoundingBoxAscent:r;return void 0===n||Number.isNaN(n)?t:n},ui=["-apple-system","system-ui"],Qi=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,Ci=A=>Qi.test(A);var Ui=class{constructor(A){this.glyphWidthCache=null,this.ctx=A.ctx,this.options=A.options,this.decorationRenderer=new hi(A.ctx)}cachedMeasureText(A,t){let e=this.glyphWidthCache;e||(e=new Map,this.glyphWidthCache=e);const r=A+t;let n=e.get(r);return void 0===n&&(n=this.ctx.measureText(A).width,e.set(r,n)),n}iterateLettersWithLetterSpacing(A,t,e,r,n){if(Cn(r))return void this.iterateVerticalGlyphs(A,t,e,r,n);const s=io(A.text),o=A.bounds.top+e,i=this.ctx.font;let a=A.bounds.left;for(const A of s){if(Ci(A)){const t=this.ctx.textBaseline;this.ctx.textBaseline="ideographic",n(A,a,o),this.ctx.textBaseline=t}else n(A,a,o);a+=this.cachedMeasureText(A,i)+t}}iterateVerticalGlyphs(A,t,e,r,n){const s=io(A.text),o=this.ctx.font,i=4===r?-Math.PI/2:Math.PI/2;let a=A.bounds.top;for(let c=0;c<s.length;){const B=s[c];if(!(Un(r)||!Ci(B)&&B.trim().length>0)){const r=this.ctx.textBaseline;Ci(B)&&(this.ctx.textBaseline="ideographic"),n(B,A.bounds.left,a+e),this.ctx.textBaseline=r,a+=this.cachedMeasureText(B,o)+t,c++;continue}const l=c;for(;c<s.length;){const A=s[c];if(!Un(r)&&!Ci(A)&&0===A.trim().length)break;if(!(Un(r)||!Ci(A)&&A.trim().length>0))break;c++}this.ctx.save(),this.ctx.translate(A.bounds.left+e,a),this.ctx.rotate(i);let g=0;for(let A=l;A<c;A++)n(s[A],0,g),g+=this.cachedMeasureText(s[A],o)+t;this.ctx.restore(),a+=g}}renderTextWithLetterSpacing(A,t,e,r=0){this.renderFillText(A,t,e,r)}canRenderWholeText(A,t){return 0===A&&!Cn(t)}renderFillText(A,t,e,r){this.canRenderWholeText(t,r)?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+e):this.iterateLettersWithLetterSpacing(A,t,e,r,(A,t,e)=>{this.ctx.fillText(A,t,e)})}renderStrokeText(A,t,e,r){this.canRenderWholeText(t,r)?this.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+e):this.iterateLettersWithLetterSpacing(A,t,e,r,(A,t,e)=>{this.ctx.strokeText(A,t,e)})}renderTextStrokeWithStyle(A,t,e){t.webkitTextStrokeWidth&&A.text.trim().length&&(this.ctx.strokeStyle=mt(t.webkitTextStrokeColor),this.ctx.lineWidth=t.webkitTextStrokeWidth,this.ctx.lineJoin=("undefined"!=typeof window?window:void 0)?.chrome?"miter":"round",this.renderStrokeText(A,t.letterSpacing,e,t.writingMode),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter")}renderTextFillWithShadows(A,t,e){this.ctx.fillStyle=mt(t.color),this.renderTextWithLetterSpacing(A,t.letterSpacing,e,t.writingMode);const r=t.textShadow;r.length&&A.text.trim().length&&(r.slice(0).reverse().forEach(r=>{this.ctx.shadowColor=mt(r.color),this.ctx.shadowOffsetX=r.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=r.offsetY.number*this.options.scale,this.ctx.shadowBlur=r.blur.number,this.renderTextWithLetterSpacing(A,t.letterSpacing,e,t.writingMode)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0)}renderTextBoundWithPaintOrder(A,t,e,r){e.forEach(e=>{switch(e){case 0:this.ctx.fillStyle=mt(t.color),this.renderTextWithLetterSpacing(A,t.letterSpacing,r,t.writingMode);break;case 1:this.renderTextStrokeWithStyle(A,t,r)}})}renderTextDecoration(A,t){this.decorationRenderer.render(A,t)}truncateTextWithEllipsis(A,t,e){const r=this.ctx.measureText("…").width,n=io(A);if(0===e){const A=A=>this.ctx.measureText(n.slice(0,A).join("")).width+r<=t;let e=0,s=n.length;for(;e<s;){const t=e+s+1>>1;A(t)?e=t:s=t-1}return n.slice(0,e).join("")+"…"}{const A=this.ctx.font;let s=r;const o=[];for(const r of n){const n=this.cachedMeasureText(r,A);if(s+n>t)break;o.push(r),s+=n+e}return o.join("")+"…"}}createFontStyle(A){const t=A.fontVariant.filter(A=>"normal"===A||"small-caps"===A).join(""),e=(A=>{const t=(()=>{if("undefined"==typeof navigator)return null;const A=navigator.userAgent,t=/iPhone|iPad|iPod/.test(A),e=/Macintosh/.test(A)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1;if(!t&&!e)return null;for(const t of[/(?:iPhone|CPU(?:\siPhone)?)\sOS\s(\d+)[\._](\d+)/,/Version\/(\d+)\.(\d+)/]){const e=A.match(t);if(e&&e[1])return parseInt(e[1],10)}return null})();return null!==t&&t>=15&&t<17?A.map(A=>-1!==ui.indexOf(A)?'-apple-system, "Helvetica Neue", Arial, sans-serif':A):A})(A.fontFamily).join(", "),r=GA(A.fontSize)?`${A.fontSize.number}${A.fontSize.unit}`:`${A.fontSize.number}px`;return[[A.fontStyle,t,A.fontWeight,r,e].join(" "),e,r]}renderLineClampedText(A,t,e,r,n){const s=1.5*t.fontSize.number,o=[];let i=[],a=A.textBounds[0].bounds.top;A.textBounds.forEach(A=>{Math.abs(A.bounds.top-a)>=.5*s?(i.length>0&&o.push(i),i=[A],a=A.bounds.top):i.push(A)}),i.length>0&&o.push(i);const c=t.webkitLineClamp;if(o.length<=c)return!1;for(let A=0;A<c-1;A++)o[A].forEach(A=>this.renderTextBoundWithPaintOrder(A,t,e,r));const B=o[c-1];if(B?.length&&n){const A=B.map(A=>A.text).join(""),s=B[0],o=new so(this.truncateTextWithEllipsis(A,n.width-(s.bounds.left-n.left),t.letterSpacing),s.bounds);for(const A of e)0===A?(this.ctx.fillStyle=mt(t.color),this.renderTextWithLetterSpacing(o,t.letterSpacing,r,t.writingMode)):1===A&&this.renderTextStrokeWithStyle(o,t,r)}return!0}renderEllipsisText(A,t,e,r,n){const s=1.5*t.fontSize.number,o=A.textBounds[0].bounds.top;if(!A.textBounds.every(A=>Math.abs(A.bounds.top-o)<.5*s))return!1;let i=A.textBounds.map(A=>A.text).join("").replace(/\s+/g," ").trim();if(this.ctx.measureText(i).width<=n.width+1)return!1;const a=new so(this.truncateTextWithEllipsis(i,n.width,t.letterSpacing),A.textBounds[0].bounds);for(const A of e)0===A?this.renderTextFillWithShadows(a,t,r):1===A&&this.renderTextStrokeWithStyle(a,t,r);return!0}async renderTextNode(A,t,e){this.glyphWidthCache=null;const[r]=this.createFontStyle(t);this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const n=t.paintOrder,s=wi(this.ctx,t.fontSize.number);t.webkitLineClamp>0&&2&t.display&&1===t.overflowY&&A.textBounds.length>0&&this.renderLineClampedText(A,t,n,s,e)||1===t.textOverflow&&e&&1===t.overflowX&&A.textBounds.length>0&&this.renderEllipsisText(A,t,n,s,e)||A.textBounds.forEach(A=>{n.forEach(e=>{0===e?(this.renderTextFillWithShadows(A,t,s),t.textDecorationLine.length&&this.renderTextDecoration(A.bounds,t)):1===e&&this.renderTextStrokeWithStyle(A,t,s)})})}};const pi=(A,t)=>{t.forEach((t,e)=>{const r=Oo(t)?t.start:t;0===e?A.moveTo(r.x,r.y):A.lineTo(r.x,r.y),Oo(t)&&A.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)})},Fi=(A,t)=>{A.beginPath(),pi(A,t),A.closePath()};var fi=class{constructor(A){this.maxSize=A,this._map=new Map}get(A){if(!this._map.has(A))return;const t=this._map.get(A);return this._map.delete(A),this._map.set(A,t),t}set(A,t){if(this._map.has(A))this._map.delete(A);else if(this._map.size>=this.maxSize){const A=this._map.keys().next().value;void 0!==A&&this._map.delete(A)}this._map.set(A,t)}get size(){return this._map.size}clear(){this._map.clear()}},mi=class{constructor(A){this.patternCache=new fi(50),this.ctx=A.ctx,this.context=A.context,this.canvas=A.canvas}async renderBackgroundImage(A){let t=A.styles.backgroundImage.length-1;const e=A.styles.backgroundBlendMode;let r=0;for(const n of A.styles.backgroundImage.slice(0).reverse()){if(r>0){const A=e[r]??e[0]??"normal";"normal"!==A&&(this.ctx.save(),this.ctx.globalCompositeOperation=A)}0===n.type?await this.renderBackgroundURLImage(A,n,t):je(n)?this.renderLinearGradient(A,n,t):Ar(n)?this.renderRepeatingLinearGradient(A,n,t):qe(n)&&this.renderRadialGradient(A,n,t),r>0&&"normal"!==(e[r]??e[0]??"normal")&&this.ctx.restore(),t--,r++}}async renderBackgroundURLImage(A,t,e){let r;const n=t.url;try{r=await this.context.cache.match(n)}catch(A){this.context.logger.error(`Error loading background-image ${n}`),this.context.onError?.(A instanceof Error?A:new Error(String(A)))}if(r){const t=isNaN(r.width)||0===r.width?1:r.width,s=isNaN(r.height)||0===r.height?1:r.height,[o,i,a,c,B]=ai(A,e,[t,s,t/s]),l=gi(A.styles.backgroundRepeat,e),g=1===l?"no-repeat":2===l?"repeat-x":3===l?"repeat-y":"repeat",d=`${n}|${Math.round(c)}x${Math.round(B)}|${A.styles.imageRendering}|${g}`;let h=this.patternCache.get(d);if(!h){const t=this.resizeImage(r,c,B,A.styles.imageRendering);h=this.ctx.createPattern(t,g),this.patternCache.set(d,h)}this.renderRepeat(o,h,i,a)}}renderRepeatingLinearGradient(A,t,e){const[r,n,s,o,i]=ai(A,e,[null,null,null]),[a,c,B,l,g]=ke(t.angle,o,i),d=Te(t.stops,a||1),h=d[0],w=d[d.length-1].stop-h.stop;if(w<=0)return void this.renderLinearGradient(A,t,e);const u=B-c,Q=g-l,C=w/(Math.sqrt(u*u+Q*Q)||1),U=c,p=l,F=c+u*C,f=l+Q*C,m=this.canvas.ownerDocument??document,y=`rlg|${t.angle}|${Math.round(w)}|${JSON.stringify(t.stops)}`;let H=this.patternCache.get(y);if(!H){const A=m.createElement("canvas"),t=Math.max(1,Math.ceil(w));A.width=t,A.height=t;const e=A.getContext("2d");if(!e)return;const r=e.createLinearGradient(U-n,p-s,F-n,f-s);d.forEach(A=>{r.addColorStop((A.stop-h.stop)/w,mt(A.color))}),e.fillStyle=r,e.fillRect(0,0,t,t),t>0&&(H=this.ctx.createPattern(A,"repeat"),this.patternCache.set(y,H))}H&&this.renderRepeat(r,H,n,s)}renderLinearGradient(A,t,e){const[r,n,s,o,i]=ai(A,e,[null,null,null]),[a,c,B,l,g]=ke(t.angle,o,i),d=`lg|${t.angle}|${Math.round(o)}x${Math.round(i)}|${JSON.stringify(t.stops)}`;let h=this.patternCache.get(d);if(!h){const A=(this.canvas.ownerDocument??document).createElement("canvas");A.width=o,A.height=i;const e=A.getContext("2d");if(!e)return;const r=e.createLinearGradient(c,l,B,g);Te(t.stops,a||1).forEach(A=>r.addColorStop(A.stop,mt(A.color))),e.fillStyle=r,e.fillRect(0,0,o,i),o>0&&i>0&&(h=this.ctx.createPattern(A,"repeat"),this.patternCache.set(d,h))}h&&this.renderRepeat(r,h,n,s)}renderRadialGradient(A,t,e){const[r,n,s,o,i]=ai(A,e,[null,null,null]),a=0===t.position.length?[gt]:t.position,c=wt(a[0],o),B=wt(a[a.length-1],i);let[l,g]=((A,t,e,r,n)=>{let s=0,o=0;switch(A.size){case 0:0===A.shape?s=o=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(s=Math.min(Math.abs(t),Math.abs(t-r)),o=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(0===A.shape)s=o=Math.min(Oe(t,e),Oe(t,e-n),Oe(t-r,e),Oe(t-r,e-n));else if(1===A.shape){const A=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(t),Math.abs(t-r)),[i,a]=Ne(r,n,t,e,!0);s=Oe(i-t,(a-e)/A),o=A*s}break;case 1:0===A.shape?s=o=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(s=Math.max(Math.abs(t),Math.abs(t-r)),o=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(0===A.shape)s=o=Math.max(Oe(t,e),Oe(t,e-n),Oe(t-r,e),Oe(t-r,e-n));else if(1===A.shape){const A=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(t),Math.abs(t-r)),[i,a]=Ne(r,n,t,e,!1);s=Oe(i-t,(a-e)/A),o=A*s}}return Array.isArray(A.size)&&(s=wt(A.size[0],r),o=2===A.size.length?wt(A.size[1],n):s),[s,o]})(t,c,B,o,i);if(0!==l&&0!==g||(l=Math.max(l,.01),g=Math.max(g,.01)),l>0&&g>0){const A=`rg|${Math.round(c)}x${Math.round(B)}|${Math.round(l)}x${Math.round(g)}|${JSON.stringify(t.stops)}`;let e=this.patternCache.get(A);if(!e){const r=this.canvas.ownerDocument??document,n=Math.ceil(2*Math.max(l,g)),s=r.createElement("canvas");s.width=n,s.height=n;const o=s.getContext("2d");if(o){const r=Math.max(l,g),n=o.createRadialGradient(r,r,0,r,r,r);Te(t.stops,2*r).forEach(A=>n.addColorStop(A.stop,mt(A.color))),o.fillStyle=n,l!==g&&o.scale(1,g/l),o.fillRect(0,0,2*r,2*r),e=this.ctx.createPattern(s,"no-repeat"),this.patternCache.set(A,e)}}e&&(this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.translate(n+c-Math.max(l,g),s+B-Math.max(l,g)),this.ctx.fillStyle=e,this.ctx.fillRect(0,0,2*Math.max(l,g),2*Math.max(l,g)),this.ctx.restore())}}renderRepeat(A,t,e,r){this.path(A),this.ctx.fillStyle=t,this.ctx.translate(e,r),this.ctx.fill(),this.ctx.translate(-e,-r)}resizeImage(A,t,e,r){const n=(this.canvas.ownerDocument??document).createElement("canvas");n.width=Math.max(1,t),n.height=Math.max(1,e);const s=n.getContext("2d");return s?(2===r||1===r?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),s.imageSmoothingEnabled=!1):3===r?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),s.imageSmoothingEnabled=!0):s.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(s.imageSmoothingQuality=this.ctx.imageSmoothingQuality),s.drawImage(A,0,0,A.width,A.height,0,0,t,e),n):A}path(A){Fi(this.ctx,A)}};const yi=(A,t)=>{switch(t){case 0:return Ei(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return Ei(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return Ei(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return Ei(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Hi=(A,t)=>{const e=[];return Oo(A)?e.push(A.subdivide(.5,!1)):e.push(A),Oo(t)?e.push(t.subdivide(.5,!0)):e.push(t),e},Ei=(A,t,e,r)=>{const n=[];return Oo(A)?n.push(A.subdivide(.5,!1)):n.push(A),Oo(e)?n.push(e.subdivide(.5,!0)):n.push(e),Oo(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Oo(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n};var bi=class{constructor(A,t){this.ctx=A.ctx,this.pathCallbacks=t}async renderSolidBorder(A,t,e){this.pathCallbacks.path(yi(e,t)),this.ctx.fillStyle=mt(A),this.ctx.fill()}async renderDoubleBorder(A,t,e,r){if(t<3)return void await this.renderSolidBorder(A,e,r);const n=((A,t)=>{switch(t){case 0:return Ei(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return Ei(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return Ei(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return Ei(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}})(r,e);this.pathCallbacks.path(n),this.ctx.fillStyle=mt(A),this.ctx.fill();const s=((A,t)=>{switch(t){case 0:return Ei(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return Ei(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return Ei(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return Ei(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}})(r,e);this.pathCallbacks.path(s),this.ctx.fill()}async renderDashedDottedBorder(A,t,e,r,n){this.ctx.save();const s=((A,t)=>{switch(t){case 0:return Hi(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Hi(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Hi(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Hi(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}})(r,e),o=yi(r,e);let i,a,c,B,l;2===n&&(this.pathCallbacks.path(o),this.ctx.clip()),Oo(o[0])?(i=o[0].start.x,a=o[0].start.y):(i=o[0].x,a=o[0].y),Oo(o[1])?(c=o[1].end.x,B=o[1].end.y):(c=o[1].x,B=o[1].y),l=0===e||2===e?Math.abs(i-c):Math.abs(a-B),this.ctx.beginPath(),this.pathCallbacks.formatPath(3===n?s:o.slice(0,2));let g=t<3?3*t:2*t,d=t<3?2*t:t;3===n&&(g=t,d=t);let h=!0;if(l<=2*g)h=!1;else if(l<=2*g+d){const A=l/(2*g+d);g*=A,d*=A}else{const A=Math.floor((l+d)/(g+d)),t=(l-A*g)/(A-1),e=(l-(A+1)*g)/A;d=e<=0||Math.abs(d-t)<Math.abs(d-e)?t:e}if(h&&this.ctx.setLineDash(3===n?[0,g+d]:[g,d]),3===n?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=mt(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===n){if(Oo(o[0])){const A=o[3],t=o[0];this.ctx.beginPath(),this.pathCallbacks.formatPath([new Mo(A.end.x,A.end.y),new Mo(t.start.x,t.start.y)]),this.ctx.stroke()}if(Oo(o[1])){const A=o[1],t=o[2];this.ctx.beginPath(),this.pathCallbacks.formatPath([new Mo(A.end.x,A.end.y),new Mo(t.start.x,t.start.y)]),this.ctx.stroke()}}this.ctx.restore()}},Ii=class{constructor(A){this.ctx=A}renderBorderImage(A,t,e,r,n,s,o,i){const a=t.naturalWidth||t.width,c=t.naturalHeight||t.height;if(a<=0||c<=0)return;const B=Math.min("percent"===e.unit?e.top/100*c:Math.min(e.top,c),c),l=Math.min("percent"===e.unit?e.right/100*a:Math.min(e.right,a),a),g=Math.min("percent"===e.unit?e.bottom/100*c:Math.min(e.bottom,c),c),d=Math.min("percent"===e.unit?e.left/100*a:Math.min(e.left,a),a),{left:h,top:w,width:u,height:Q}=A;if(u<=0||Q<=0)return;const C=Math.min(n,Q),U=Math.min(s,u),p=Math.min(o,Q-C),F=Math.min(i,u-U);this.drawRegion(t,0,0,d,B,h,w,F,C),this.drawRegion(t,a-l,0,l,B,h+u-U,w,U,C),this.drawRegion(t,a-l,c-g,l,g,h+u-U,w+Q-p,U,p),this.drawRegion(t,0,c-g,d,g,h,w+Q-p,F,p);const f=[{sx:d,sy:0,sw:a-d-l,sh:B,dx:h+F,dy:w,dw:u-F-U,dh:C,repeat:r.horizontal},{sx:a-l,sy:B,sw:l,sh:c-B-g,dx:h+u-U,dy:w+C,dw:U,dh:Q-C-p,repeat:r.vertical},{sx:d,sy:c-g,sw:a-d-l,sh:g,dx:h+F,dy:w+Q-p,dw:u-F-U,dh:p,repeat:r.horizontal},{sx:0,sy:B,sw:d,sh:c-B-g,dx:h,dy:w+C,dw:F,dh:Q-C-p,repeat:r.vertical}];for(const A of f){if(A.sw<=0||A.sh<=0||A.dw<=0||A.dh<=0)continue;const e=A.dw>=A.dh;0===A.repeat?this.ctx.drawImage(t,A.sx,A.sy,A.sw,A.sh,A.dx,A.dy,A.dw,A.dh):1!==A.repeat&&2!==A.repeat||this.drawRepeatedEdge(t,A,e,2===A.repeat)}e.fill&&this.drawRegion(t,d,B,a-d-l,c-B-g,h+F,w+C,u-F-U,Q-C-p)}drawRegion(A,t,e,r,n,s,o,i,a){r>0&&n>0&&i>0&&a>0&&this.ctx.drawImage(A,t,e,r,n,s,o,i,a)}drawRepeatedEdge(A,t,e,r){const n=e?t.sw:t.sh,s=e?t.dw:t.dh;if(n<=0||s<=0)return;let o,i;r?(i=Math.max(1,Math.round(s/n)),o=s/i):(o=n,i=Math.ceil(s/o)),this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(t.dx,t.dy,t.dw,t.dh),this.ctx.clip();for(let r=0;r<i;r++){const n=r*o,i=Math.min(o,s-n);if(i<=0)break;e?this.ctx.drawImage(A,t.sx,t.sy,t.sw,t.sh,t.dx+n,t.dy,i,t.dh):this.ctx.drawImage(A,t.sx,t.sy,t.sw,t.sh,t.dx,t.dy+n,t.dw,i)}this.ctx.restore()}},xi=class{constructor(A,t){this.activeEffects=[],this.didSave=!1,this.saveAtDepth=-1,this.ctx=A.ctx,this.pathCallback=t}applyEffects(A){for(;this.activeEffects.length;)this.popEffect();this.didSave=!1,this.saveAtDepth=-1;const t=A=>_o(A)||zo(A)||jo(A),e=A.reduceRight((A,e,r)=>-1!==A?A:t(e)?r:-1,-1);for(let r=0;r<A.length;r++){const n=A[r];t(n)&&(this.didSave||(this.ctx.save(),this.didSave=!0),r===e&&(this.saveAtDepth=this.activeEffects.length)),this.applyEffect(n)}}applyEffect(A){_o(A)?(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)):zo(A)?(this.pathCallback.path(A.path),this.ctx.clip()):jo(A)?A.applyClip(this.ctx):(A=>2===A.type)(A)?this.ctx.globalAlpha*=A.opacity:(A=>4===A.type)(A)?this.ctx.globalCompositeOperation=A.compositeOperation:(A=>5===A.type)(A)&&(this.ctx.filter=A.safeFilterString||"none",A.shadow&&(this.ctx.shadowOffsetX=A.shadow.offsetX,this.ctx.shadowOffsetY=A.shadow.offsetY,this.ctx.shadowBlur=A.shadow.blur,this.ctx.shadowColor=A.shadow.color)),this.activeEffects.push(A)}popEffect(){0!==this.activeEffects.length&&(this.didSave&&this.activeEffects.length-1===this.saveAtDepth&&(this.ctx.restore(),this.didSave=!1,this.saveAtDepth=-1),this.activeEffects.pop(),this.didSave||0!==this.activeEffects.length||(this.ctx.globalAlpha=1,this.ctx.globalCompositeOperation="source-over",this.ctx.filter="none",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0,this.ctx.shadowColor="rgba(0, 0, 0, 0)"))}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}};var vi=class A{constructor(A,t){this.context=A,this.options=t,this.canvas=t.canvas?t.canvas:document.createElement("canvas");const e=this.canvas.getContext("2d");if(!e)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=e,t.canvas||(this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=`${t.width}px`,this.canvas.style.height=`${t.height}px`),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x,-t.y),this.ctx.textBaseline="bottom",void 0!==t.imageSmoothing&&(this.ctx.imageSmoothingEnabled=t.imageSmoothing),t.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=t.imageSmoothingQuality),this.backgroundRenderer=new mi({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:t.width,height:t.height,scale:t.scale}}),this.borderRenderer=new bi({ctx:this.ctx},{path:A=>this.path(A),formatPath:A=>this.formatPath(A)}),this.borderImageRenderer=new Ii(this.ctx),this.effectsRenderer=new xi({ctx:this.ctx},{path:A=>this.path(A)}),this.textRenderer=new Ui({ctx:this.ctx,options:{scale:t.scale}}),this.context.logger.debug(`Canvas renderer initialized (${t.width}x${t.height}) with scale ${t.scale}`)}async renderStack(A){A.element.container.styles.isVisible()&&await this.renderStackContent(A)}async renderNode(A){A.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(A),await this.renderNodeContent(A))}renderReplacedElement(A,t,e){const r=e.naturalWidth||A.intrinsicWidth,n=e.naturalHeight||A.intrinsicHeight;if(e&&r>0&&n>0){const s=ii(A),o=Go(t);this.path(o),this.ctx.save(),this.ctx.clip();const{sx:i,sy:a,sw:c,sh:B,dx:l,dy:g,dw:d,dh:h}=((A,t,e,r,n)=>{let s=0,o=0,i=A,a=t,c=e.left,B=e.top,l=e.width,g=e.height;const d=l/g,h=i/a,w=n?wt(n[0],1):.5,u=n?wt(n[1],1):.5;return 2===r?h>d?(g=l/h,B+=(e.height-g)*u):(l=g*h,c+=(e.width-l)*w):4===r?h>d?(i=a*d,s+=(A-i)*w):(a=i/d,o+=(t-a)*u):8===r?(i>l?(s+=(i-l)*w,i=l):(c+=(l-i)*w,l=i),a>g?(o+=(a-g)*u,a=g):(B+=(g-a)*u,g=a)):16===r&&((h>d?l:g*h)<(i>l?i:l)?h>d?(g=l/h,B+=(e.height-g)*u):(l=g*h,c+=(e.width-l)*w):(i>l?(s+=(i-l)*w,i=l):(c+=(l-i)*w,l=i),a>g?(o+=(a-g)*u,a=g):(B+=(g-a)*u,g=a))),{sx:s,sy:o,sw:i,sh:a,dx:c,dy:B,dw:l,dh:g}})(r,n,s,A.styles.objectFit,A.styles.objectPosition);this.ctx.drawImage(e,i,a,c,B,l,g,d,h),this.ctx.restore()}}async renderNodeContent(t){this.effectsRenderer.applyEffects(t.getEffects(4));const e=t.container,r=t.curves,s=e.styles,o=ii(e);for(const A of e.textNodes)await this.textRenderer.renderTextNode(A,s,o);await(async(t,e,r,n,s,o,i,a)=>{if(s instanceof wo)try{const A=await e.cache.match(s.src),r=t.imageSmoothingEnabled;2===i.imageRendering||1===i.imageRendering?t.imageSmoothingEnabled=!1:3===i.imageRendering&&(t.imageSmoothingEnabled=!0),a(s,o,A),t.imageSmoothingEnabled=r}catch(A){e.logger.error(`Error loading image ${s.src}`),e.onError?.(A instanceof Error?A:new Error(String(A)))}if(s instanceof uo&&a(s,o,s.canvas),s instanceof Qo)try{a(s,o,await e.cache.match(s.svg))}catch(A){e.logger.error(`Error loading svg ${s.svg.substring(0,255)}`),e.onError?.(A instanceof Error?A:new Error(String(A)))}if(s instanceof Eo&&s.tree){const n=await((t,e)=>new A(t,e))(e,{scale:r.scale,backgroundColor:s.backgroundColor,x:0,y:0,width:s.width,height:s.height}).render(s.tree);s.width&&s.height&&t.drawImage(n,0,0,s.width,s.height,s.bounds.left,s.bounds.top,s.bounds.width,s.bounds.height)}})(this.ctx,this.context,{scale:this.options.scale,backgroundColor:this.options.backgroundColor,x:this.options.x,y:this.options.y,width:this.options.width,height:this.options.height},0,e,r,s,(A,t,e)=>this.renderReplacedElement(A,t,e)),((A,t,e,r,s)=>{if(r instanceof mo){const t=Math.min(r.bounds.width,r.bounds.height);"checkbox"===r.type&&r.checked?(A.save(),e([new Mo(r.bounds.left+.39363*t,r.bounds.top+.79*t),new Mo(r.bounds.left+.16*t,r.bounds.top+.5549*t),new Mo(r.bounds.left+.27347*t,r.bounds.top+.44071*t),new Mo(r.bounds.left+.39694*t,r.bounds.top+.5649*t),new Mo(r.bounds.left+.72983*t,r.bounds.top+.23*t),new Mo(r.bounds.left+.84*t,r.bounds.top+.34085*t),new Mo(r.bounds.left+.39363*t,r.bounds.top+.79*t)]),A.fillStyle=mt(fo),A.fill(),A.restore()):"radio"===r.type&&r.checked&&(A.save(),A.beginPath(),A.arc(r.bounds.left+t/2,r.bounds.top+t/2,t/4,0,2*Math.PI,!0),A.fillStyle=mt(fo),A.fill(),A.restore())}if((A=>A instanceof Ho||A instanceof yo||A instanceof mo&&"radio"!==A.type&&"checkbox"!==A.type)(r)&&r.value.length){const[o]=t.createFontStyle(s);A.font=o;const i=wi(A,wt(s.fontSize,0));A.fillStyle=mt(r instanceof mo&&r.isPlaceholder?1970632191:s.color),A.textBaseline="alphabetic",A.textAlign=(A=>{switch(A){case 1:return"center";case 2:return"right";default:return"left"}})(r.styles.textAlign);const a=ii(r);let c=0;switch(r.styles.textAlign){case 1:c+=a.width/2;break;case 2:c+=a.width}let B=0;if(r instanceof mo){const A=wt(s.fontSize,0);B=(a.height-A)/2}const l=a.add(c,B,0,0);A.save(),e([new Mo(a.left,a.top),new Mo(a.left+a.width,a.top),new Mo(a.left+a.width,a.top+a.height),new Mo(a.left,a.top+a.height)]),A.clip();const g=((A,t,e,r)=>{const n=[],s=t.split("\n");for(const t of s){if(r){n.push(t);continue}const s=t.split(/(\s+)/);let o="";for(const t of s){const r=o+t;A.measureText(r).width<=e||""===o?o=r:(n.push(o),o=t)}n.push(o)}return n})(A,r.value,a.width,"pre"===s.whiteSpace||"nowrap"===s.whiteSpace),d=wt(s.fontSize,0),h=Pr(s.lineHeight,d);g.forEach((e,r)=>{let o=l.left;const c=A.measureText(e).width;switch(s.textAlign){case 1:o+=(a.width-c)/2;break;case 2:o+=a.width-c}const B=new n(o,l.top+r*h,0,0);t.renderTextWithLetterSpacing(new so(e,B),s.letterSpacing,i,s.writingMode)}),A.restore(),A.textBaseline="alphabetic",A.textAlign="left"}})(this.ctx,this.textRenderer,this.path.bind(this),e,s),await(async(A,t,e,r,s,o)=>{if(Qe(s.styles.display,2048))if(null!==s.styles.listStyleImage){const e=s.styles.listStyleImage;if(0===e.type){const r=e.url;try{const e=await t.cache.match(r);A.drawImage(e,s.bounds.left-(e.width+10),s.bounds.top)}catch(A){t.logger.error(`Error loading list-style-image ${r}`),t.onError?.(A instanceof Error?A:new Error(String(A)))}}}else if(r.listValue&&-1!==s.styles.listStyleType){const[t]=e.createFontStyle(o);A.font=t,A.fillStyle=mt(o.color),A.textBaseline="middle",A.textAlign="right";const i=new n(s.bounds.left,s.bounds.top+wt(s.styles.paddingTop,s.bounds.width),s.bounds.width,Pr(o.lineHeight,o.fontSize.number)/2+1);e.renderTextWithLetterSpacing(new so(r.listValue,i),o.letterSpacing,Pr(o.lineHeight,o.fontSize.number)/2+2,o.writingMode),A.textBaseline="bottom",A.textAlign="left"}})(this.ctx,this.context,this.textRenderer,t,e,s)}async renderStackContent(A){const t=this.options.signal;await this.renderNodeBackgroundAndBorders(A.element);for(const e of A.negativeZIndex){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(e)}if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderNodeContent(A.element);for(const t of A.nonInlineLevel)await this.renderNode(t);for(const e of A.nonPositionedFloats){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(e)}for(const e of A.nonPositionedInlineLevel){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(e)}for(const t of A.inlineLevel)await this.renderNode(t);for(const e of A.zeroOrAutoZIndexOrTransformedOrOpacity){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(e)}for(const e of A.positiveZIndex){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(e)}}mask(A){this.ctx.beginPath();const t=this.options.x,e=this.options.y;this.ctx.moveTo(t,e),this.ctx.lineTo(t+this.options.width,e),this.ctx.lineTo(t+this.options.width,e+this.options.height),this.ctx.lineTo(t,e+this.options.height),this.ctx.lineTo(t,e),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()}path(A){Fi(this.ctx,A)}formatPath(A){pi(this.ctx,A)}async renderNodeBackgroundAndBorders(A){this.effectsRenderer.applyEffects(A.getEffects(2));const t=A.container.styles,e=!ft(t.backgroundColor)||t.backgroundImage.length,r=Ki(t),n=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=gi(t.backgroundClip,0),o=Li(s,A.curves);if((e||t.boxShadow.length)&&(r&&A.container.textNodes.length>0?await this.renderTextClippedBackground(A):(this.ctx.save(),this.path(o),this.ctx.clip(),ft(t.backgroundColor)||(this.ctx.fillStyle=mt(t.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(A.container),this.ctx.restore()),t.boxShadow.slice(0).reverse().forEach(t=>{this.ctx.save();const e=Vo(A.curves),r=t.inset?0:1e4,n=(s=(t.inset?1:-1)*t.spread.number-r,o=(t.inset?1:-1)*t.spread.number,i=t.spread.number*(t.inset?-2:2),a=t.spread.number*(t.inset?-2:2),e.map((A,t)=>{switch(t){case 0:return A.add(s,o);case 1:return A.add(s+i,o);case 2:return A.add(s+i,o+a);case 3:return A.add(s,o+a)}return A}));var s,o,i,a;t.inset?(this.path(e),this.ctx.clip(),this.mask(n)):(this.mask(e),this.ctx.clip(),this.path(n)),this.ctx.shadowOffsetX=t.offsetX.number+r,this.ctx.shadowOffsetY=t.offsetY.number,this.ctx.shadowColor=mt(t.color),this.ctx.shadowBlur=t.blur.number,this.ctx.fillStyle=t.inset?mt(t.color):"rgba(0,0,0,1)",this.ctx.fill(),this.ctx.restore()})),t.borderImageSource){const e=t.borderImageSource;if(0===e.type){const r=e.url;try{const e=await this.context.cache.match(r);e&&this.borderImageRenderer.renderBorderImage(A.container.bounds,e,t.borderImageSlice,t.borderImageRepeat,Math.max(0,t.borderTopWidth),Math.max(0,t.borderRightWidth),Math.max(0,t.borderBottomWidth),Math.max(0,t.borderLeftWidth))}catch(A){this.context.logger.error(`Error loading border-image ${r}`)}}return}let i=0;for(const t of n){if(0!==t.style&&!ft(t.color)&&t.width>0){const e=async()=>{2===t.style?await this.borderRenderer.renderDashedDottedBorder(t.color,t.width,i,A.curves,2):3===t.style?await this.borderRenderer.renderDashedDottedBorder(t.color,t.width,i,A.curves,3):4===t.style?await this.borderRenderer.renderDoubleBorder(t.color,t.width,i,A.curves):await this.borderRenderer.renderSolidBorder(t.color,i,A.curves)},r=A.container.legendBounds;if(0===i&&r){const t=A.container.bounds,n=r.left-t.left,s=r.left+r.width-t.left;n>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(t.left,t.top,n,t.height),this.ctx.clip(),await e(),this.ctx.restore());const o=t.left+s,i=t.width-s;i>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(o,t.top,i,t.height),this.ctx.clip(),await e(),this.ctx.restore())}else await e()}i++}}async render(A){this.options.backgroundColor&&(this.ctx.fillStyle=mt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const t=(A=>{const t=new Ai(A,null),e=new qo(t),r=[];return ni(t,e,e,r),si(t.container,r),e})(A);return await this.renderStack(t),this.effectsRenderer.applyEffects([]),this.canvas}async renderTextClippedBackground(A){const t=A.container,e=t.styles,r=t.bounds;if(r.width<=0||r.height<=0)return;const n=(this.canvas.ownerDocument??document).createElement("canvas"),s=Math.ceil(r.width),o=Math.ceil(r.height);n.width=s,n.height=o;const i=n.getContext("2d");if(!i)return;const[a]=this.textRenderer.createFontStyle(e);i.font=a,i.textBaseline="alphabetic",i.textAlign="left",i.direction=1===e.direction?"rtl":"ltr";const c=wi(i,e.fontSize.number),B=new mi({ctx:i,context:this.context,canvas:n,options:{width:s,height:o,scale:1}});ft(e.backgroundColor)||(i.fillStyle=mt(e.backgroundColor),i.fillRect(0,0,s,o)),i.save(),i.translate(-r.left,-r.top),await B.renderBackgroundImage(t),i.restore(),i.globalCompositeOperation="destination-in",i.fillStyle="#000";const l=e.writingMode,g=e.letterSpacing;for(const A of t.textNodes)for(const t of A.textBounds){const A=t.bounds.left-r.left,e=t.bounds.top-r.top+c;g>0?this.renderTextMaskWithLetterSpacing(i,t,g,A,e,l):i.fillText(t.text,A,e)}this.ctx.drawImage(n,r.left,r.top)}renderTextMaskWithLetterSpacing(A,t,e,r,n,s){const o=io(t.text);let i=r;for(const a of o){if(Cn(s))return void A.fillText(t.text,r,n);A.fillText(a,i,n),i+=A.measureText(a).width+e}}};const Li=(A,t)=>{switch(A){case 0:return Vo(t);case 2:return(A=>[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox])(t);default:return Go(t)}},Ki=A=>A.backgroundClip.some(A=>3===A);var Si=class{constructor(A,t){this.context=A,this.options=t,this.canvas=t.canvas?t.canvas:document.createElement("canvas");const e=this.canvas.getContext("2d");if(!e)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=e,this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=`${t.width}px`,this.canvas.style.height=`${t.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x,-t.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${t.width}x${t.height} at ${t.x},${t.y}) with scale ${t.scale}`)}async render(A){if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");const t=await ro(eo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A));return this.options.backgroundColor&&(this.ctx.fillStyle=mt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),this.canvas}},Di=class{static{this.instances={}}constructor({id:A,enabled:t}){this.id=A,this.enabled=t,this.start=Date.now()}debug(...A){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug(this.id,`${this.getTime()}ms`,...A):this.info(...A))}getTime(){return Date.now()-this.start}info(...A){this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info(this.id,`${this.getTime()}ms`,...A)}warn(...A){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn(this.id,`${this.getTime()}ms`,...A):this.info(...A))}error(...A){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error(this.id,`${this.getTime()}ms`,...A):this.info(...A))}},Mi=class{constructor(A,t){if(this.context=A,this._options=t,this._cache=new Map,this._pendingOperations=new Map,this._deferMode=!1,this._collectedUrls=new Set,this.maxSize=t.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}startDefer(){this._deferMode=!0}async preloadAll(A=10){this._deferMode=!1;const t=Array.from(this._collectedUrls);if(this._collectedUrls.clear(),0===t.length)return;const e=Math.max(1,Math.min(A,100));this.context.logger.debug(`Preloading ${t.length} image(s) with concurrency ${e}`);for(let A=0;A<t.length;A+=e){const r=t.slice(A,A+e).map(A=>this._addImageWithPending(A));await Promise.allSettled(r)}}addImage(A){if(this._deferMode)return this.has(A)||!Gi(A)&&!Ni(A)||this._collectedUrls.add(A),Promise.resolve();const t=this._pendingOperations.get(A);if(t)return t;if(this.has(A)){const t=this._cache.get(A);return this._cache.delete(A),this._cache.set(A,t),Promise.resolve()}return Gi(A)||Ni(A)?this._addImageWithPending(A):Promise.resolve()}_addImageWithPending(A){const t=this._pendingOperations.get(A);if(t)return t;const e=this._addImageInternal(A);return this._pendingOperations.set(A,e),e.finally(()=>{this._pendingOperations.delete(A)}),e}async _addImageInternal(A){const t=this._options.imageTimeout??15e3,e=this.withTimeout(this.loadImage(A),t,`Timed out (${t}ms) loading image`);e.catch(t=>{this.context.logger.error(`Failed to load image ${A}: ${t instanceof Error?t.message:"Unknown error"}`)}),this.set(A,e)}withTimeout(A,t,e){if(t<=0)return A;let r;const n=new Promise((A,n)=>{r=setTimeout(()=>n(new Error(e)),t)});return Promise.race([A,n]).finally(()=>{void 0!==r&&clearTimeout(r)})}match(A){const t=this._cache.get(A);if(t)return this._cache.delete(A),this._cache.set(A,t),t.value}set(A,t){if(this._cache.has(A))this._cache.delete(A);else if(this._cache.size>=this.maxSize){const A=this._cache.keys().next().value;void 0!==A&&(this._cache.delete(A),this.context.logger.debug(`Cache: Evicted LRU entry: ${A}`))}this._cache.set(A,{value:t})}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(A){const t=this.context.originChecker,e=A=>t.isSameOrigin(A),r="function"==typeof this._options.customIsSameOrigin?await this._options.customIsSameOrigin(A,e):e(A),n=!r&&!1===this._options.allowTaint&&!Ri(A)&&!Gi(A)&&"string"!=typeof this._options.proxy,s=!Ri(A)&&(!0===this._options.useCORS||n)&&no.SUPPORT_CORS_IMAGES&&!r,o=!Ri(A)&&!r&&!Gi(A)&&"string"==typeof this._options.proxy&&no.SUPPORT_CORS_XHR&&!s;if(!(r||!1!==this._options.allowTaint||Ri(A)||Gi(A)||o||s))return;let i=A;return o&&(i=await this.proxy(i)),this.context.logger.debug(`Added image ${A.substring(0,256)}`),await new Promise((A,t)=>{const e=new Image;e.onload=()=>A(e),e.onerror=t,(Vi(i)||s)&&(e.crossOrigin="anonymous"),e.src=i,!0===e.complete&&setTimeout(()=>A(e),500)})}has(A){return this._cache.has(A)}keys(){return Promise.resolve(Array.from(this._cache.keys()))}proxy(A){const t=this._options.proxy;if(!t)throw new Error("No proxy defined");const e=A.substring(0,256);return new Promise((r,n)=>{const s=no.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=()=>{if(200===o.status)if("text"===s)r(o.response);else{const A=new FileReader;A.addEventListener("load",()=>r(A.result),!1),A.addEventListener("error",A=>n(A),!1),A.readAsDataURL(o.response)}else n(`Failed to proxy resource ${e} with status code ${o.status}`)},o.onerror=n;const i=t.indexOf("?")>-1?"&":"?";if(o.open("GET",`${t}${i}url=${encodeURIComponent(A)}&responseType=${s}`),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),this._options.imageTimeout){const A=this._options.imageTimeout;o.timeout=A,o.ontimeout=()=>n(`Timed out (${A}ms) proxying ${e}`)}o.send()})}};const Ti=/^data:image\/svg\+xml/i,ki=/^data:image\/.*;base64,/i,Oi=/^data:image\/.*/i,Ni=A=>no.SUPPORT_SVG_DRAWING||!Pi(A),Ri=A=>Oi.test(A),Vi=A=>ki.test(A),Gi=A=>"blob"===A.substring(0,4),Pi=A=>"svg"===A.slice(-3).toLowerCase()||Ti.test(A);var Xi=class{constructor(A){if(!A||!A.document)throw new Error("Valid window object required for OriginChecker");if(!A.location||!A.location.href)throw new Error("Window object must have valid location");this.link=A.document.createElement("a"),this.origin=this.getOrigin(A.location.href)}getOrigin(A){return this.link.href=A,this.link.href=this.link.href,this.link.protocol+this.link.hostname+this.link.port}isSameOrigin(A){return this.getOrigin(A)===this.origin}getContextOrigin(){return this.origin}},Ji=class A{static{this.instanceCount=1}constructor(t,e,r){this.windowBounds=e,this.instanceName="#"+A.instanceCount++,this.config=r,this.logger=new Di({id:this.instanceName,enabled:t.logging}),this.originChecker=new Xi(r.window),this.cache=t.cache??r.cache??new Mi(this,t),this.onError=t.onError}};const Wi=A=>{if(A?.aborted)throw new DOMException("The operation was aborted.","AbortError")};async function Yi(){const A=(new Intl.DateTimeFormat).resolvedOptions().timeZone,t=(A=>{const t=A<=0?"+":"-",e=Math.abs(A);return`${t}${String(Math.floor(e/60)).padStart(2,"0")}:${String(e%60).padStart(2,"0")}`})((new Date).getTimezoneOffset()),e=[];e.push(`Language: ${navigator.language}`),navigator.languages?.length&&e.push(`Languages: ${navigator.languages.join(", ")}`),e.push(`User agent: ${navigator.userAgent}`);const r=(()=>{if(!("userAgentData"in(A=navigator))||void 0===A.userAgentData)return;var A;const t=navigator.userAgentData,e=Array.isArray(t.brands)?t.brands.map(A=>`${A.brand} ${A.version}`).join(", "):void 0,r=t.platform?`${t.platform}${t.mobile?" (mobile)":""}`:void 0;return[e&&`UA brands: ${e}`,r&&`Platform: ${r}`].filter(Boolean).join(" | ")||void 0})();r&&e.push(r),e.push(`Timezone: ${A} (UTC${t})`),e.push(`Local time: ${(new Date).toString()}`);const n=window.devicePixelRatio||1;e.push(`Screen: ${screen.width}x${screen.height} @${n}x (avail ${screen.availWidth}x${screen.availHeight}, ${screen.colorDepth}-bit)`);const s=screen.orientation&&"type"in screen.orientation?screen.orientation.type:void 0;e.push(`Viewport: ${window.innerWidth}x${window.innerHeight}${s?`, orientation ${s}`:""}`),e.push(`CPU: ${navigator.hardwareConcurrency} cores`);const o=await async function(){const A=[];let t="browser API";if("connection"in(e=navigator)&&void 0!==e.connection){const t=navigator.connection;t?.effectiveType&&A.push(t.effectiveType),"number"==typeof t?.downlink&&A.push(`~${t.downlink} Mbps`),"number"==typeof t?.rtt&&A.push(`${t.rtt} ms`),t?.saveData&&A.push("saveData")}else{const e=((A=20)=>{const t=performance.getEntriesByType("navigation").find(A=>"navigation"===A.entryType),e=t?Math.max(0,t.responseStart-t.requestStart):void 0,r=performance.getEntriesByType("resource").filter(A=>"resource"===A.entryType);let n=0,s=0;for(const t of r.slice(0,Math.max(0,A))){const A=t.encodedBodySize>0?t.encodedBodySize:t.transferSize>0?t.transferSize:0,e=t.duration;A>0&&e>0&&Number.isFinite(e)&&(n+=A,s+=e)}const o=s>0?8*n/s:void 0;return{downlinkMbps:"number"==typeof o?o/1e3:void 0,rttMs:e}})();"number"==typeof e.downlinkMbps&&A.push(`~${e.downlinkMbps.toFixed(1)} Mbps`),"number"==typeof e.rttMs&&A.push(`TTFB ~${Math.round(e.rttMs)} ms`),t="inferred"}var e;const r=performance.getEntriesByType("navigation").find(A=>"navigation"===A.entryType);if(r){const t=Math.max(0,r.responseStart-r.requestStart);A.some(A=>A.startsWith("TTFB"))||A.push(`TTFB ~${Math.round(t)} ms`)}return A.length?`Network: ${A.join(", ")} (${t})`:void 0}();o&&e.push(o),e.push((()=>{const A="function"==typeof matchMedia&&matchMedia("(pointer: coarse)").matches,t="function"==typeof matchMedia&&matchMedia("(pointer: fine)").matches;return`Pointer/Touch: ${A?"coarse":t?"fine":"unknown"}, maxTouchPoints ${navigator.maxTouchPoints}`})());const i=await(async()=>{var A;if("getBattery"in(A=navigator)&&"function"==typeof A.getBattery)try{const A=await navigator.getBattery(),t=Math.round(100*A.level);return`Battery: ${[`${Number.isFinite(t)?t:0}%`,A.charging?"charging":"not charging"].join(", ")}`}catch{}})();i&&e.push(i),e.push(`CookiesEnabled: ${navigator.cookieEnabled?"yes":"no"}; DNT: ${navigator.doNotTrack??"n/a"}`),e.push("Online: "+(navigator.onLine?"yes":"no")),document.referrer&&e.push(`Referrer: ${document.referrer}`),e.push((()=>{const A="function"==typeof matchMedia&&matchMedia("(display-mode: standalone)").matches;return`PWA: ${Boolean(navigator.serviceWorker?.controller)?"SW-controlled":"no SW"}, display-mode standalone: ${A?"yes":"no"}`})());const a=await async function(A=400){if("DeviceOrientationEvent"in window&&window.isSecureContext)return new Promise(t=>{let e=!1;const r=A=>{const n="number"==typeof A.beta?A.beta:void 0,s="number"==typeof A.gamma?A.gamma:void 0;if(void 0===n||void 0===s)return;if(e)return;e=!0,window.removeEventListener("deviceorientation",r);const o=((A,t)=>{const e=Math.abs(A),r=Math.abs(t);return e<15&&r<15?"flat":e>=60?"upright":"reclined"})(n,s);t(`Tilt: ${o} (β ${Math.round(n)}°, γ ${Math.round(s)}°)`)};window.setTimeout(()=>{e||(e=!0,window.removeEventListener("deviceorientation",r),t(void 0))},A),window.addEventListener("deviceorientation",r,{passive:!0})})}();a&&e.push(a);const c="enabled"===localStorage.getItem("intent:geo");return e.push(c?"Device geolocation: enabled":"Device geolocation: disabled"),e.join(" | ")}const Zi="intent:consent",$i="intent:geo",_i="intent:debug",zi="intent:debug-panel",ji="intent:data-client-id",qi="intent:data-base-url",Aa="https://intent.callimacus.ai",ta=2166136261,ea=16777619;function ra(A,t){let e=A;for(let A=0;A<t.length;A++)e^=t.charCodeAt(A),e=Math.imul(e,ea);return e>>>0}function na(A,t){return Math.imul(A^t,ea)>>>0}const sa=[{seed:2166136261,prime:16777619},{seed:2654435761,prime:2246822507},{seed:3266489909,prime:668265263},{seed:374761393,prime:3266489955}];function oa(A,t){let e=0;return(...r)=>{const n=Date.now();n-e>=t&&(e=n,A(...r))}}function ia(...A){try{"undefined"!=typeof localStorage&&"enabled"===localStorage.getItem(_i)&&console.log(...A)}catch{}}const aa=Object.freeze(new Set(["textbox","combobox","searchbox"])),ca=["input","textarea","select","[contenteditable]",...[...aa].map(A=>`[role="${A}"]`)].join(", ");function Ba(A){const t=A.tagName;return"INPUT"===t||"TEXTAREA"===t||"SELECT"===t}function la(A){if(Ba(A))return!0;const t=A.getAttribute("contenteditable");if(""===t||"true"===t||"plaintext-only"===t)return!0;const e=A.getAttribute("role")?.toLowerCase();return!(!e||!aa.has(e))}function ga(A){const t=A.parentElement;if(t)return t;const{parentNode:e}=A;return e instanceof ShadowRoot&&e.host instanceof Element?e.host:void 0}function da(A){if(Ba(A))return A.value;const t=A.innerText;return"string"==typeof t?t:A.textContent??""}function ha(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}Object.freeze(new Set(["searchbox","search"]));const wa=new Map([["name","Name"],["given-name","First name"],["family-name","Last name"],["additional-name","Middle name"],["nickname","Nickname"],["username","Username"],["name-given","First name"],["name-family","Last name"],["name-middle","Middle name"],["name-middle-initial","Middle initial"],["name-prefix","Name prefix"],["name-suffix","Name suffix"],["honorific-prefix","Name prefix"],["honorific-suffix","Name suffix"],["username-new","Username"],["password","Password"],["password-new","Password"],["current-password","Password"],["new-password","Password"],["one-time-code","One-time code"],["sms-otp","One-time code"],["webauthn","WebAuthn"],["email","Email"],["tel","Phone"],["tel-country-code","Phone country code"],["tel-national","Phone"],["tel-device","Phone"],["street-address","Street address"],["address-line1","Address line 1"],["address-line2","Address line 2"],["address-line3","Address line 3"],["address-level1","State/Province"],["address-level2","City"],["address-level3","District"],["address-level4","Neighborhood"],["postal-code","Postal code"],["country","Country code"],["country-name","Country name"],["postal-address","Street address"],["postal-address-country","Country name"],["postal-address-extended","Address line 2"],["postal-address-extended-postal-code","Postal code"],["postal-address-locality","City"],["postal-address-region","State/Province"],["cc-name","Cardholder name"],["cc-given-name","Cardholder first name"],["cc-family-name","Cardholder last name"],["cc-additional-name","Cardholder middle name"],["cc-middle-name","Cardholder middle name"],["cc-number","Card number"],["cc-exp","Expiration date"],["cc-exp-day","Expiration day"],["cc-exp-month","Expiration month"],["cc-exp-year","Expiration year"],["cc-csc","Security code"],["cc-type","Card type"],["bday","Birthday"],["bday-day","Birth day"],["bday-month","Birth month"],["bday-year","Birth year"],["birthdate-full","Birthday"],["birthdate-day","Birth day"],["birthdate-month","Birth month"],["birthdate-year","Birth year"],["organization","Organization"],["organization-title","Job title"],["sex","Sex"],["gender","Sex"]]),ua=Object.freeze(new Set(wa.keys()));function Qa(A){return A?A.toLowerCase().trim().split(/\s+/).filter(Boolean):[]}function Ca(A){return A.some(A=>ua.has(A))}function Ua(A){for(const t of A){const A=wa.get(t);if(A)return A}}const pa="data-intent-redact";function Fa(A){return t=(A=>{const t=(A.getAttribute?.("data-intent-redact-label")??"").trim();if(t)return t;const e=la(A)?Qa(A.getAttribute?.("autocomplete")):[];if("INPUT"===A.tagName&&"password"===A.type)return"Password";const r=Ua(e);if(r)return r;const n="INPUT"===A.tagName?La.get(A.type):void 0,s=n?Ua([n]):void 0;if(s)return s;const o=A.getAttribute?.(pa)?.toLowerCase();return"mask"===o?"Redacted":"Sensitive"})(A),`<${t}>`;var t}function fa(A){return A.hasAttribute("data-html2canvas-ignore")||"ignore"===A.getAttribute(pa)?.toLowerCase()}const ma=new Set;function ya(A){const t=A.getAttribute(pa);if(null===t)return!1;const e=t.toLowerCase();return"ignore"!==e&&(""!==t&&"mask"!==e&&(A=>{if(ma.has(A))return;ma.add(A);const t=`[intent] Unsupported data-intent-redact value ${JSON.stringify(A)}. Supported values are "" or "mask" (redact), "ignore" (exclude from capture). Treating as "mask" to prevent data leaks.`;try{console.warn(t)}catch{}})(t),!0)}function Ha(A){let t=A;for(;t&&t!==document.body;){if(fa(t))return!0;t=ga(t)}return!1}function Ea(A){let t=A;for(;t&&t!==document.body;){if(ya(t))return t;t=ga(t)}}function ba(A){return void 0!==Ea(A)}function Ia(A){return ya(A)||Ka(A)?Fa(A):Fa(Ea(A)??A)}function xa(A){return!Ha(A)&&(ba(A)||Ka(A))}const va=Object.freeze(new Set(["searchbox"])),La=new Map([["email","email"],["tel","tel"]]);function Ka(A){const t=A.tagName,e=A.getAttribute("role")?.toLowerCase();if("INPUT"===t){const t=A;return"password"===t.type||!("search"===t.type||e&&va.has(e))&&(!!La.has(t.type)||Ca(Qa(t.autocomplete)))}return"TEXTAREA"===t||"SELECT"===t?Ca(Qa(A.autocomplete)):!(!la(A)||Ba(A))&&(!e||!va.has(e))&&Ca(Qa(A.getAttribute("autocomplete")))}function Sa(A){return!(fa(A)||!ya(A)&&!Ka(A))}function Da(A){if(!Ha(A))if(Ba(A)){if(Sa(A)){if("INPUT"===A.tagName){const t=A;["date","datetime-local","month","time","week"].includes(t.type)&&(t.type="text")}const t=Fa(A);A.value=t,A.setAttribute("value",t)}}else la(A)?Sa(A)&&(A.textContent=Fa(A)):A.hasAttribute(pa)&&ya(A)&&(A.textContent=Fa(A))}function Ma(A,t){const e=[],r=[A];for(A instanceof Element&&A.shadowRoot&&r.push(A.shadowRoot);r.length>0;){const A=r.pop().querySelectorAll("*");for(const n of A)n.matches(t)&&e.push(n),n.shadowRoot&&r.push(n.shadowRoot)}return e}function Ta(A,t=new Set){const e=A instanceof Document?A:A.ownerDocument;if(e){if(t.has(e))return;t.add(e)}A instanceof Element&&Da(A);for(const t of Ma(A,ca))Da(t);for(const t of Ma(A,`[${pa}]`))Da(t);for(const e of Ma(A,"iframe"))if("IFRAME"===e.tagName)try{const A=e.contentDocument;A&&Ta(A,t)}catch{}}
11
- /*! js-cookie v3.0.8 | MIT */function ka(A){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)"__proto__"!==r&&(A[r]=e[r])}return A}var Oa=function A(t,e){function r(A,r,n){if("undefined"!=typeof document){"number"==typeof(n=ka({},e,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),A=encodeURIComponent(A).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in n)n[o]&&(s+="; "+o,!0!==n[o]&&(s+="="+n[o].split(";")[0]));return document.cookie=A+"="+t.write(r,A)+s}}return Object.create({set:r,get:function(A){if("undefined"!=typeof document&&(!arguments.length||A)){for(var e=document.cookie?document.cookie.split("; "):[],r={},n=0;n<e.length;n++){var s=e[n].split("="),o=s.slice(1).join("=");try{var i=decodeURIComponent(s[0]);if(i in r||(r[i]=t.read(o,i)),A===i)break}catch(A){}}return A?r[A]:r}},remove:(A,t)=>{r(A,"",ka({},t,{expires:-1}))},withAttributes:function(t){return A(this.converter,ka({},this.attributes,t))},withConverter:function(t){return A(ka({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}({read:A=>('"'===A[0]&&(A=A.slice(1,-1)),A.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),write:A=>encodeURIComponent(A).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)},{path:"/"});let Na="";function Ra(){return Na}function Va(A){return Oa.get(A)}function Ga(A,t){const e=localStorage.getItem("intent:data-sid-max-age"),r=null===e?void 0:Number(e),n="number"==typeof t&&Number.isFinite(t)?t:"number"==typeof r&&Number.isFinite(r)?r:2592e3,s="https:"===window.location.protocol;Oa.set("intent_sid",A,{expires:n/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function Pa(){Oa.remove("intent_sid",{path:"/"})}function Xa(){const A=Va("intent_sid");if("granted"!==localStorage.getItem(Zi))return A&&Pa(),void(Na="");A?Na=A:(Na=crypto.randomUUID(),Ga(Na))}let Ja,Wa=!1,Ya=!1,Za=!1,$a=!1,_a=!1;function za(){return"enabled"===localStorage.getItem($i)}function ja(){Wa=!1,Za=!1,_a=!1}function qa(){return!Wa&&za()&&!$a&&_a}let Ac=[],tc=!1;function ec(){try{return"enabled"===localStorage.getItem(zi)}catch{return!1}}function rc(A){try{localStorage.setItem(zi,A?"enabled":"disabled"),A?sc():Ja&&(Ja.style.display="none")}catch{}}function nc(){if(!Ja)return;const A=Ja.querySelector("#intent-debug-events"),t=Ja.querySelector("#intent-debug-count");if(!A||!t)return;if(0===Ac.length)return A.innerHTML='\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',void(t.textContent="0 events");const e=[...Ac].reverse();A.innerHTML=e.map(A=>(A=>{const t=new Date(A.timestamp).toLocaleTimeString(),e=A.img&&A.img.length>0,r=e?Math.round(.75*A.img.length/1024):0,n=ha(A.event),s=ha(JSON.stringify(A.props,null,2)),o=ha(A.html),i=ha(JSON.stringify(A.bbox,null,2));return`\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">${n}</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">${t}</div>\n\t\t\t</div>\n\t\t\t${e?`\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="${A.img}" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~${r} KB)</div>\n\t\t\t\t</div>\n\t\t\t`:""}\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">${s}</pre>\n\t\t\t\t\t${A.html?`\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">${o}</pre>\n\t\t\t\t\t`:""}\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">${i}</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t`})(A)).join(""),t.textContent=`${Ac.length} event${1===Ac.length?"":"s"}`}function sc(){if(Ja)return void(Ja.style.display="flex");const A=document.createElement("div");A.innerHTML='\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',Ja=A.firstElementChild,document.body.appendChild(Ja);const t=Ja.querySelector("#intent-debug-close"),e=Ja.querySelector("#intent-debug-minimize"),r=Ja.querySelector("#intent-debug-clear");t?.addEventListener("click",()=>{rc(!1)}),e?.addEventListener("click",()=>{(()=>{if(!Ja)return;const A=Ja.querySelector("#intent-debug-content"),t=Ja.querySelector("#intent-debug-minimize");A&&t&&(tc=!tc,tc?(A.style.display="none",Ja.style.width="200px",t.textContent="+"):(A.style.display="flex",Ja.style.width="400px",t.textContent="−"))})()}),r?.addEventListener("click",()=>{Ac=[],nc()}),(()=>{if(!Ja)return;const A=Ja.querySelector("#intent-debug-header");if(!A)return;let t=!1,e=0,r=0,n=0,s=0;A.addEventListener("mousedown",A=>{if("BUTTON"===A.target.tagName)return;t=!0;const e=Ja.getBoundingClientRect();n=A.clientX-e.left,s=A.clientY-e.top}),document.addEventListener("mousemove",A=>{if(!t||!Ja)return;A.preventDefault(),e=A.clientX-n,r=A.clientY-s;const o=window.innerWidth-Ja.offsetWidth,i=window.innerHeight-Ja.offsetHeight;e=Math.max(0,Math.min(e,o)),r=Math.max(0,Math.min(r,i)),Ja.style.left=`${e}px`,Ja.style.top=`${r}px`,Ja.style.right="auto"}),document.addEventListener("mouseup",()=>{t=!1})})(),Ja.addEventListener("click",A=>{const t=A.target;if(t.classList.contains("intent-debug-screenshot")){const A=t;A.src&&A.src.startsWith("data:image/")&&(A=>{const t=document.createElement("div");t.id="intent-debug-fullscreen-modal",t.setAttribute("data-intent-redact","ignore"),t.style.cssText="\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t";const e=document.createElement("div");e.style.cssText="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document.createElement("img");r.src=A,r.style.cssText="\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t";const n=document.createElement("div");n.style.cssText="\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t";const s=document.createElement("button");s.textContent="✕ Close",s.style.cssText="\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t";const o=document.createElement("div");o.textContent="Click anywhere or press ESC to close",o.style.cssText="\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",n.appendChild(s),n.appendChild(o),e.appendChild(r),e.appendChild(n),t.appendChild(e);const i=()=>{t.remove(),document.removeEventListener("keydown",a)};t.addEventListener("click",i),s.addEventListener("click",A=>{A.stopPropagation(),i()}),r.addEventListener("click",A=>{A.stopPropagation()});const a=A=>{"Escape"===A.key&&i()};document.addEventListener("keydown",a),document.body.appendChild(t)})(A.src)}}),nc()}"undefined"!=typeof window&&ec()&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{sc()}):sc());const oc={x:0,y:0,w:0,h:0},ic={maxSegments:300,maxDepth:24,maxTextLength:1200,maxHeadings:1,maxInteractives:8,minTextLength:12,minDescentCoverage:.67};const ac=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE","HEAD","META","LINK","TITLE","BR","HR","IFRAME","CANVAS","svg"]),cc=new Set(["ARTICLE","SECTION","LI","FIGURE","BLOCKQUOTE","TR","DD","DETAILS"]),Bc=new Set(["article","listitem","option","row","gridcell","tab","treeitem","card"]),lc=new Set(["H1","H2","H3","H4","H5","H6"]),gc=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA","SUMMARY","LABEL","VIDEO","AUDIO"]),dc=new Set(["button","link","option","tab","checkbox","radio","switch","menuitem","textbox","combobox","searchbox","slider"]),hc=["aria-label","aria-labelledby","title","role"],wc=["type","autocomplete"],uc={children:A=>A.children,parent:A=>A.parentElement??void 0,ownText(A){let t="";for(const e of A.childNodes)if(3===e.nodeType){const A=(e.textContent??"").trim();A&&(t+=A)}return t},kind:A=>A.tagName,isSkipped:A=>!!ac.has(A.tagName)||A.hasAttribute("hidden")||"true"===A.getAttribute("aria-hidden"),isUnit(A){if(cc.has(A.tagName))return!0;const t=A.getAttribute("role")?.toLowerCase();return Boolean(t&&Bc.has(t))},isHeading:A=>lc.has(A.tagName),isInteractive(A){if(gc.has(A.tagName))return!0;const t=A.getAttribute("role")?.toLowerCase();return!(!t||!dc.has(t))||A.hasAttribute("onclick")||A.hasAttribute("href")},isMarked:A=>A.hasAttribute("data-intent-item"),signature(A){const t=Array.from(A.classList).sort().join(".");return`${A.tagName}#${t}`},mixDigestAttributes(A,t){let e=A;const r=t.tagName;for(const A of hc){const r=t.getAttribute(A);r&&(e=ra(e,`${A}:${r}`))}const n=t.getAttribute("data-intent-redact");if(null!==n){e=ra(e,`redact:${n}`);const A=t.getAttribute("data-intent-redact-label");A&&(e=ra(e,A))}t.hasAttribute("data-html2canvas-ignore")&&(e=ra(e,"redact:ignore-legacy"));const s=t.getAttribute("contenteditable");if(null!==s&&(e=ra(e,`contenteditable:${s}`)),"INPUT"===r||"TEXTAREA"===r||"SELECT"===r)for(const A of wc){const r=t.getAttribute(A);null!==r&&(e=ra(e,`${A}:${r}`))}if("A"===r||"AREA"===r){const A=t.getAttribute("href");A&&(e=ra(e,A))}else if("IMG"===r){const A=t.getAttribute("alt");A&&(e=ra(e,A));const r=t.currentSrc||t.getAttribute("src");r&&(e=r.startsWith("data:")?na(e,r.length):ra(e,r))}return e}},Qc=80;function Cc(A,t){return A?A.replace(/\s+/g," ").trim().slice(0,t):""}function Uc(...A){let t="";for(const e of A)t+=`${e.length}:${e}`;return t}function pc(A,t,e,r,n){const s=Uc(...r.map(A=>Uc(A.label,A.role??"",A.href??""))),o=Uc(...n.map(A=>Uc(A.alt??"",A.src??"")));return(A=>{let t="";for(const{seed:e,prime:r}of sa){let n=e>>>0;for(let t=0;t<A.length;t++){const e=A.charCodeAt(t);n=Math.imul(n^255&e,r)>>>0,n=Math.imul(n^e>>>8,r)>>>0}t+=n.toString(36).padStart(7,"0")}return t})(Uc(A,t,e,s,o))}const Fc='h1, h2, h3, h4, h5, h6, [role="heading"]',fc='a[href], button, [role="button"], [role="link"], [role="option"], [role="tab"], input[type="submit"], input[type="button"]';function mc(A,t=400){if(Ha(A))return"";if(ba(A))return Cc(Ia(A),t);const e=[];let r=t;const n=A=>{e.at(-1)!==A&&(e.push(A),r-=A.length)},s=A=>{if(!(r<=0||fa(A))){if(la(A)){const t=Cc(Sa(A)?Fa(A):da(A),r);return void(t&&(e.push(t),r-=t.length))}if(ya(A)){const t=Cc(Fa(A),r);return void(t&&(e.push(t),r-=t.length))}for(const t of A.childNodes){if(r<=0)return;if(t.nodeType===Node.TEXT_NODE){const A=Cc(t.textContent,r);A&&n(A)}else t.nodeType===Node.ELEMENT_NODE&&s(t)}}};return s(A),e.join(" ").slice(0,t)}const yc=new Set(["submit","button","reset","image","hidden","file"]);function Hc(A){const t=A.cloneNode(!0);for(const A of t.querySelectorAll("input, textarea, select, button, option"))A.remove();return Cc(t.textContent,Qc)}function Ec(A){const t=Cc(A.getAttribute("aria-label"),Qc);if(t)return t;const e=A.labels?.[0];if(e){const A=Hc(e);if(A)return A}const r=A.closest("label");if(r){const A=Hc(r);if(A)return A}return Cc(A.getAttribute("placeholder"),Qc)}function bc(A,t){if(xa(A))return Ia(A);if("checkbox"===t||"radio"===t)return A.checked?"checked":"unchecked";if("SELECT"===A.tagName){const t=A;return t.selectedOptions?.[0]?.textContent??t.value}return da(A)}function Ic(A){if(Ha(A))return"";if(ba(A))return Ia(A);const t=Cc(A.getAttribute("aria-label"),Qc);if(t)return t;const e=A.getAttribute("aria-labelledby");if(e){const t=e.split(/\s+/).map(t=>A.ownerDocument.getElementById(t)).filter(Boolean).map(A=>mc(A,Qc)).join(" ");if(t.trim())return Cc(t,Qc)}const r=Cc(A.getAttribute("title"),Qc);if(r)return r;const n=mc(A,Qc);if(n)return n;const s=A.querySelector("img[alt]");return Cc(s?.getAttribute("alt"),Qc)}function xc(A){const t=A.currentSrc||A.src||"";if(t&&!t.startsWith("data:")&&!t.startsWith("blob:"))return t.length>512?void 0:t}function vc(A){const t=A.getAttribute("role")?.toLowerCase();return t||("A"===A.tagName?"link":"BUTTON"===A.tagName||"INPUT"===A.tagName?"button":A.tagName.toLowerCase())}let Lc;function Kc(){if(!Lc)throw new Error("[intent] No platform host installed. Import @solomei-ai/intent (web) or @solomei-ai/intent/native before use.");return Lc}let Sc=!1;const Dc={get(A){try{return localStorage.getItem(A)??void 0}catch{return}},set(A,t){try{localStorage.setItem(A,t)}catch{}},remove(A){try{localStorage.removeItem(A)}catch{}}},Mc={platform:"web",now:()=>performance.now(),wallClock:()=>Date.now(),storage:Dc,send:async(A,t,{beacon:e,byteLength:r})=>{if(e)return((A,t)=>{if("function"!=typeof navigator.sendBeacon)return!1;try{return navigator.sendBeacon(A,new Blob([t],{type:"application/json"}))}catch{return!1}})(A,t);const n=await(async A=>{const t=globalThis.CompressionStream;if(Sc&&"function"==typeof t)try{const e=new Blob([A]).stream().pipeThrough(new t("gzip"));return await new Response(e).blob()}catch{return}})(t),s={"Content-Type":"application/json"},o=Dc.get(ji);o&&(s["x-sl-access-token"]=o);const i=Ra();i&&(s["x-intent-sid"]=i),n&&(s["Content-Encoding"]="gzip");const a=await fetch(A,{method:"POST",headers:s,body:n??t,keepalive:r<=6e4,credentials:"omit"});return a.ok||Mc.log(`[Transport] batch rejected with ${a.status}`),a.ok},scheduleIdle:async()=>{const{scheduler:A}=globalThis;if(A&&"function"==typeof A.postTask)try{return void await A.postTask(()=>{},{priority:"background"})}catch{}"function"!=typeof requestIdleCallback?await new Promise(A=>{setTimeout(A,0)}):await new Promise(A=>{requestIdleCallback(()=>{A()},{timeout:200})})},log(...A){try{"undefined"!=typeof localStorage&&"enabled"===localStorage.getItem(_i)&&console.log(...A)}catch{}}};function Tc(){void 0===Lc&&(Lc=Mc)}const kc={visibilityIntervalMs:500,resegmentDebounceMs:700,resegmentMaxDelayMs:1500,segmentOptions:{}},Oc=new class{options;entries=new Map;pendingRegistrations=[];generation=0;constructor(A){this.options=A}get size(){return this.entries.size}get(A){return this.entries.get(A)}values(){return this.entries.values()}reconcile(A,t){const e=new Set,r=[],n=[];for(const{node:t,kind:n,fingerprint:s}of A){e.add(t);const A=this.entries.get(t);A?A.fingerprint!==s&&(A.fingerprint=s,A.kind=n,A.registered=!1,A.digest=void 0):(this.entries.set(t,{node:t,kind:n,intersecting:!1,visible:!1,ratio:0,rect:{...oc},dwellMs:0,registered:!1,fingerprint:s}),r.push(t))}for(const[A,r]of this.entries)e.has(A)&&(t?.(A)??1)||(this.closeDwell(r),this.entries.delete(A),n.push(A));return this.options.log?.(`[Ledger] ${this.entries.size} segments tracked`),{added:r,removed:n}}setGeometry(A,t){const e=this.entries.get(A);e&&(e.intersecting=t.intersecting,e.ratio=t.ratio,e.rect=t.rect)}refreshVisibility(A){const t=this.options.now();for(const e of this.entries.values()){if(!e.intersecting){this.closeDwell(e,t),e.visible=!1;continue}const r=A?.(e.node)??!0;r&&void 0===e.visibleSince?e.visibleSince=t:r||this.closeDwell(e,t),e.visible=r}}async registerVisible(){const A=this.generation,t=[];for(const A of this.entries.values())A.visible&&!A.registered&&t.push(A);if(0===t.length)return;for(const A of t)A.registered=!0;let e,r=0;for(const n of t)try{if(await this.options.scheduleIdle(),A!==this.generation)return void this.options.log?.("[Ledger] abandoned an extraction pass the ledger was cleared under");const t=this.options.extract(n.node,n.kind);t&&(n.digest=t,this.pendingRegistrations.push(t))}catch(A){n.registered=!1,r++,e=A}r>0&&this.options.log?.(`[Ledger] extraction failed for ${r}/${t.length} segments: ${String(e)}`)}getOnScreen(){const A=this.options.now(),t=new Map;for(const e of this.entries.values()){if(!e.visible||!e.digest)continue;const r=void 0===e.visibleSince?0:A-e.visibleSince,n={ref:e.digest.ref,ratio:Math.round(100*e.ratio)/100,dwellMs:Math.round(e.dwellMs+r),rect:e.rect},s=t.get(n.ref);(!s||n.dwellMs>s.dwellMs)&&t.set(n.ref,n)}return[...t.values()]}drainRegistrations(){const A=new Set;for(const t of this.entries.values())t.digest&&A.add(t.digest.ref);const t=new Set,e=[];let r=0;for(const n of this.pendingRegistrations)t.has(n.ref)||(A.has(n.ref)?(t.add(n.ref),e.push(n)):r++);return this.pendingRegistrations=[],r>0&&this.options.log?.(`[Ledger] dropped ${r} registrations the ledger no longer describes`),e}getCoverage(){let A=0,t=0;for(const e of this.entries.values())e.visible&&A++,e.digest&&t++;return{segments:this.entries.size,onScreen:A,registered:t}}clear(){this.entries.clear(),this.pendingRegistrations=[],this.generation++}closeDwell(A,t=this.options.now()){void 0!==A.visibleSince&&(A.dwellMs+=t-A.visibleSince,A.visibleSince=void 0)}}({now:()=>performance.now(),extract:(A,t)=>function(A,t){if(Ha(A))return;const e=ba(A)?void 0:A.matches(Fc)?A:[...A.querySelectorAll(Fc)].find(A=>!Ha(A)&&!ba(A)),r=e?Cc(mc(e,120),120):"",n=[],s=A.matches(fc)?[A]:[...A.querySelectorAll(fc)];for(const A of s){if(n.length>=12)break;if(Ha(A))continue;if(ba(A)){n.push({label:Ia(A),role:vc(A)});continue}const t=Ic(A);if(!t)continue;const e=A.getAttribute("href")??void 0;n.push({label:t,role:vc(A),...e?{href:e}:{}})}const o=[];for(const t of A.querySelectorAll("img")){if(o.length>=6)break;if(Ha(t)||ba(t))continue;const A=Cc(t.getAttribute("alt"),Qc),e=xc(t);(A||e)&&o.push({...A?{alt:A}:{},...e?{src:e}:{}})}return(A=>{const t=Cc(A.heading,120),e=Cc(A.text,400),r=[];for(const t of A.actions??[]){if(r.length>=12)break;const A=Cc(t.label,Qc);A&&r.push({label:A,role:t.role,...t.href?{href:t.href}:{}})}const n=[];for(const t of A.images??[]){if(n.length>=6)break;const A=Cc(t.alt,Qc),{src:e}=t;(A||e)&&n.push({...A?{alt:A}:{},...e?{src:e}:{}})}if(e||t||0!==r.length||0!==n.length)return{ref:pc(A.kind,t,e,r,n),kind:A.kind,...t?{heading:t}:{},text:e,actions:r,images:n}})({kind:t,heading:r,text:mc(A),actions:n,images:o})}(A,t),scheduleIdle:()=>Mc.scheduleIdle(),log:A=>{Mc.log(A)}});let Nc,Rc,Vc,Gc,Pc,Xc,Jc,Wc=kc,Yc=!1;function Zc(){Xc?.(),Xc=void 0}async function $c(A=2e3){Jc&&await Promise.race([Jc,new Promise(t=>{setTimeout(t,A)})])}function _c(){const A="function"==typeof Element.prototype.checkVisibility;Oc.refreshVisibility(t=>!A||t.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0}))}function zc(){_c(),Oc.registerVisible().then(Zc)}function jc(A){for(const t of A){const{x:A,y:e,width:r,height:n}=t.boundingClientRect;Oc.setGeometry(t.target,{intersecting:t.isIntersecting,ratio:t.intersectionRatio,rect:{x:Math.round(A),y:Math.round(e),w:Math.round(r),h:Math.round(n)}})}zc()}function qc(){if(!Nc)return;const A=((A,t={})=>function(A,t,e={}){const r={...ic,...e},n=((A,t)=>{const e=new Map,r=A=>{const n=t.ownText(A),s={textLength:n.length,headings:t.isHeading(A)?1:0,interactives:t.isInteractive(A)?1:0,contentHash:t.mixDigestAttributes(ra(ra(ta,n),t.kind(A)),A)};for(const e of t.children(A)){if(t.isSkipped(e))continue;const A=r(e);s.textLength+=A.textLength,s.headings+=A.headings,s.interactives+=A.interactives,s.contentHash=na(s.contentHash,A.contentHash)}return e.set(A,s),s};return r(A),e})(A,t),s=[],o=A=>n.get(A)??{textLength:0,headings:0,interactives:0,contentHash:ta},i=(A,t)=>{const e=o(A);s.push({node:A,reason:t,textLength:e.textLength,interactives:e.interactives,headings:e.headings,contentHash:e.contentHash})},a=A=>{const t=o(A);return t.interactives>0||t.textLength>=r.minTextLength},c=(A,e)=>{if(s.length>=r.maxSegments||t.isSkipped(A))return!1;if(t.isMarked(A))return i(A,"marked"),!0;const n=o(A);if(e>=r.maxDepth)return!!a(A)&&(i(A,"depth"),!0);if(n.textLength<=r.maxTextLength&&n.headings<=r.maxHeadings&&n.interactives<=r.maxInteractives&&a(A)){if(t.isUnit(A))return i(A,"unit"),!0;if(((A,t)=>{const e=t.parent(A);if(void 0===e)return!1;const r=t.signature(A);let n=0;for(const A of t.children(e))if(t.signature(A)===r&&(n++,n>=3))return!0;return!1})(A,t))return i(A,"repeated"),!0;if(n.headings>0)return i(A,"heading"),!0}const B=s.length;let l=!1;for(const r of t.children(A))l=c(r,e+1)||l;return!l&&a(A)?(i(A,"leaf"),!0):l&&n.textLength>0&&s.slice(B).reduce((A,t)=>A+t.textLength,0)/n.textLength<r.minDescentCoverage&&a(A)?(s.length=B,i(A,"unit"),!0):l};for(const e of t.children(A))c(e,0);return s}(A,uc,t))(document.body,Wc.segmentOptions),{added:t,removed:e}=Oc.reconcile(A.map(({node:A,reason:t,contentHash:e})=>({node:A,kind:t,fingerprint:e})),A=>A.isConnected);for(const A of t)Nc.observe(A);for(const A of e)Nc.unobserve(A)}function AB(){return void 0!==Gc&&(clearTimeout(Gc),Gc=void 0),Pc=void 0,Mc.scheduleIdle().then(qc)}function tB(){const A=performance.now();Pc??=A,A-Pc>=Wc.resegmentMaxDelayMs?AB():(void 0!==Gc&&clearTimeout(Gc),Gc=setTimeout(AB,Wc.resegmentDebounceMs))}function eB(){return Yc&&void 0!==Pc?AB():Promise.resolve()}function rB(A={}){Yc||"undefined"==typeof IntersectionObserver||(document.body?(Yc=!0,Tc(),Wc={...kc,...A},Jc=new Promise(A=>{Xc=A}),Nc=new IntersectionObserver(jc,{threshold:[0,.25,.75]}),Mc.scheduleIdle().then(qc),Rc=new MutationObserver(tB),Rc.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["href","src","srcset","sizes","alt","aria-label","aria-labelledby","title","role","data-intent-redact","data-intent-redact-label","data-html2canvas-ignore","type","autocomplete","contenteditable"],characterData:!0}),window.addEventListener("resize",tB,{passive:!0}),Vc=setInterval(zc,Wc.visibilityIntervalMs)):document.addEventListener("DOMContentLoaded",()=>{rB(A)},{once:!0}))}function nB(){return Oc.getOnScreen()}const sB=()=>Oc.drainRegistrations();function oB(){return Oc.getCoverage()}const iB={batchSize:20,flushIntervalMs:5e3,maxBuffered:200},aB=Object.freeze(new Set(["click","input-submit","form-submit"]));function cB(A){let t=0;for(let e=0;e<A.length;e++){const r=A.charCodeAt(e);r<128?t+=1:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,e++):t+=3}return t}class BB{options;flushOn;buffer=[];extras={};cancelTimer;generation=0;inFlight=new Map;stats={sent:0,failed:0,dropped:0};constructor(A){this.options=A,this.flushOn=A.flushOn??aB}getStats(){return{...this.stats,buffered:this.buffer.length}}start(){this.cancelTimer??=this.options.schedule(()=>{this.flush()},this.options.flushIntervalMs)}stop(){this.cancelTimer?.(),this.cancelTimer=void 0,this.buffer=[],this.extras={},this.generation++}discard(){this.buffer=[],this.extras={},this.generation++}enqueue(A){if(this.buffer.push(A),this.buffer.length>this.options.maxBuffered){const A=this.buffer.length-this.options.maxBuffered;this.buffer.splice(0,A),this.stats.dropped+=A,Kc().log(`[Transport] buffer full, dropped ${A} oldest events`)}(this.buffer.length>=this.options.batchSize||this.flushOn.has(A.event))&&this.flush()}attach(A,t){0!==t.length&&(this.extras[A]=[...this.extras[A]??[],...t])}async flush({beacon:A=!1}={}){if(A&&this.persistInFlight(),0===this.buffer.length&&0===Object.keys(this.extras).length)return;const t=Kc(),e=this.buffer,r=this.extras,n=this.generation;let s;try{s=JSON.stringify({...this.options.context(),sentAt:t.wallClock(),events:e,...r})}catch(A){return this.buffer=[],this.extras={},this.stats.failed+=e.length,void t.log(`[Transport] ${e.length} events dropped, batch could not be serialised`,A)}this.buffer=[],this.extras={};const o=cB(s);this.inFlight.set(s,{generation:n,...A?{release:this.options.onTeardownBatch?.(s)}:{}});let i=!1;try{i=await t.send(this.options.endpoint(),s,{beacon:A,byteLength:o})}catch(A){t.log(`[Transport] ${e.length} events failed to send`,A)}const a=this.inFlight.get(s)?.release;return this.inFlight.delete(s),i?(this.stats.sent+=e.length,void a?.()):(this.stats.failed+=e.length,t.log(`[Transport] ${e.length} events undelivered (${o} bytes, beacon=${A})`),n!==this.generation?(t.log("[Transport] dropped an in-flight batch discarded mid-request"),void a?.()):void(A||this.restore(e,r)))}persistInFlight(){if(this.options.onTeardownBatch)for(const[A,t]of this.inFlight)t.release||t.generation!==this.generation||(t.release=this.options.onTeardownBatch(A),Kc().log("[Transport] took custody of a batch still in flight at teardown"))}restore(A,t){for(const[A,e]of Object.entries(t))this.extras[A]=[...e,...this.extras[A]??[]];this.buffer=[...A,...this.buffer];const e=this.buffer.length-this.options.maxBuffered;e>0&&(this.buffer.splice(0,e),this.stats.dropped+=e,Kc().log(`[Transport] buffer full after retry, dropped ${e} oldest events`))}async replay(A){const t=Kc();try{return await t.send(this.options.endpoint(),A,{beacon:!1,byteLength:cB(A)})}catch(A){return t.log("[Transport] replay failed",A),!1}}}const lB={...iB,compress:!1};function gB(){return`${Mc.storage.get(qi)??Aa}/v2/events`}function dB(){return{clientId:Mc.storage.get(ji),sid:Ra(),platform:"web"}}function hB(A,t){const e=setInterval(A,t);return()=>{clearInterval(e)}}let wB,uB,QB=!1;function CB(){return Tc(),wB??=new BB({...iB,endpoint:gB,context:dB,schedule:hB}),wB}async function UB(A={}){return CB().flush(A)}function pB(A){CB().enqueue(A)}function FB(A,t){CB().attach(A,t)}function fB(){"hidden"===document.visibilityState&&UB({beacon:!0})}function mB(){UB({beacon:!0})}let yB,HB=0,EB=0;function bB(A){try{return new Blob([A]).size}catch{return A.length}}let IB=!1;const xB="__intent__sdk__initialized__",vB=["button","a[href]","a",'input[type="submit"]','input[type="button"]','[role="button"]','[role="link"]',"[onclick]"].join(",");function LB(){return"granted"===localStorage.getItem(Zi)}function KB(){return Xa(),LB()&&Boolean(Ra())&&Boolean(localStorage.getItem(ji)?.trim().length)}function SB(){return!KB()||Ya}async function DB(A){for(;yB;)await yB;return yB=(async()=>{try{const o=performance.now(),i=performance.now(),a=(A=>{if(fa(A))return"";const t=A.cloneNode(!1);return Array.from(A.attributes).forEach(({name:A,value:e})=>{t.setAttribute(A,e)}),Ba(A)?Ba(t)&&(t.value=A.value):la(A)?t.innerHTML=A.innerHTML:t.textContent=A.textContent,Ta(t),Ba(t)&&t.setAttribute("value",t.value),t.outerHTML})(A);ia(`[Timing] serialize: ${(performance.now()-i).toFixed(2)}ms`);const c=A.getBoundingClientRect(),B=performance.now(),l={left:window.scrollX,top:window.scrollY,right:window.scrollX+window.innerWidth,bottom:window.scrollY+window.innerHeight},g=await((A,o={})=>(async(A,t,o)=>{if((A=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(t=>{const e=A[t];if(null!=e&&"number"!=typeof e){const r=Number(e);Number.isNaN(r)||(A[t]=r)}})})(t),!t.skipValidation){const r=t.validator||((A={})=>new e({allowDataUrls:!0,maxImageTimeout:3e5,...A}))(),n=r.validateElement(A);if(!n.valid)throw new Error(n.error);const s=r.validateOptions(t);if(!s.valid)throw new Error(`Invalid options: ${s.error}`)}if(!A||"object"!=typeof A)throw new Error("Invalid element provided as first argument");const i=A.ownerDocument;if(!i)throw new Error("Element is not attached to a Document");const a=i.defaultView;if(!a)throw new Error("Document is not attached to a Window");const c=((A,t,e)=>({logging:A.logging??!0,cache:A.cache??t.cache,...e}))(t,o,(A=>({allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin,maxCacheSize:A.maxCacheSize}))(t)),B=((A,t)=>({windowWidth:A.windowWidth??t.innerWidth??800,windowHeight:A.windowHeight??t.innerHeight??600,scrollX:A.scrollX??t.pageXOffset??0,scrollY:A.scrollY??t.pageYOffset??0}))(t,a),l=new n(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),g=new Ji(c,l,o),d=t.enablePerformanceMonitoring??t.logging??!1,h=new r(g,d);h.start("total",{width:B.windowWidth,height:B.windowHeight});const w=t.signal;Wi(w);const u=t.foreignObjectRendering??!1,Q=((A,t,e)=>({allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:e,copyStyles:e,cspNonce:A.cspNonce??t.cspNonce}))(t,o,u);g.logger.debug(`Starting document clone with size ${l.width}x${l.height} scrolled to ${-l.left},${-l.top}`),h.start("clone");const C=new fs(g,A,Q),U=C.clonedReferenceElement;if(!U)throw new Error("Unable to find element in cloned iframe");const p=await C.toIFrame(i,l);h.end("clone"),w?.aborted&&((t.removeContainer??1)&&fs.destroy(p),Wi(w));const{width:F,height:f,left:m,top:y}=se(U)||"HTML"===U.tagName?(A=>{const t=A.body,e=A.documentElement;if(!t||!e)throw new Error("Unable to get document size");return new n(0,0,Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight)))})(U.ownerDocument):s(g,U),H=((A,t,e)=>{const r=t.ownerDocument,n=r.documentElement?jt(A,getComputedStyle(r.documentElement).backgroundColor):qt.TRANSPARENT,s=r.body?jt(A,getComputedStyle(r.body).backgroundColor):qt.TRANSPARENT,o="string"==typeof e?jt(A,e):null===e?qt.TRANSPARENT:4294967295;return t===r.documentElement?ft(n)?ft(s)?o:s:n:o})(g,U,t.backgroundColor),E=((A,t,e,r,n,s,o)=>({canvas:A.canvas,backgroundColor:t,signal:A.signal,scale:A.scale??o??1,x:(A.x??0)+e,y:(A.y??0)+r,width:A.width??Math.ceil(n),height:A.height??Math.ceil(s),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality}))(t,H,m,y,F,f,a.devicePixelRatio??1);let b,I;try{return u?(g.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),b=await new Si(g,E).render(U),h.end("render-foreignobject")):(g.logger.debug(`Document cloned, element located at ${m},${y} with size ${F}x${f} using computed rendering`),g.logger.debug("Starting DOM parsing"),h.start("parse"),Wi(w),g.cache.startDefer(),I=Lo(g,U),h.end("parse"),h.start("preload"),await g.cache.preloadAll(),h.end("preload"),H===I.styles.backgroundColor&&(I.styles.backgroundColor=qt.TRANSPARENT),g.logger.debug(`Starting renderer for element at ${E.x},${E.y} with size ${E.width}x${E.height}`),h.start("render"),Wi(w),b=await new vi(g,E).render(I),h.end("render")),h.start("cleanup"),(t.removeContainer??1)&&(fs.destroy(p)||g.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),g.logger.debug("Finished rendering"),d&&h.logSummary(),b}finally{I&&I.restoreTree()}})(A,o,t.fromElement(A,{cspNonce:o.cspNonce,cache:o.cache})))(document.body,{useCORS:!0,x:window.scrollX,y:window.scrollY,width:window.innerWidth,height:window.innerHeight,scale:.6,logging:!1,onclone(A){Ta(A)},ignoreElements(A){if(!(A instanceof Element))return!1;if(Ha(A))return!0;const t=A.getBoundingClientRect(),e=t.left+window.scrollX,r=t.top+window.scrollY,n=t.right+window.scrollX,s=t.bottom+window.scrollY,o=100,i=r>l.bottom+o;if(!(n<l.left-o||e>l.right+o||s<l.top-o||i))return!1;const{position:a}=window.getComputedStyle(A);let c;if("fixed"===a||"absolute"===a){const A=500;c=n<l.left-A||e>l.right+A||s<l.top-A||r>l.bottom+A}else c=i;return!!c&&!("INPUT"===A.tagName||"TEXTAREA"===A.tagName||"SELECT"===A.tagName||A.hasAttribute("data-intent-redact")||A.querySelector("input, textarea, select, [data-intent-redact]"))}});ia(`[Timing] html2canvas-pro: ${(performance.now()-B).toFixed(2)}ms`);const d=performance.now(),h=g.toDataURL("image/jpeg",.8);ia(`[Timing] jpeg-encoding: ${(performance.now()-d).toFixed(2)}ms`);return ia(`[Timing] capture-total: ${(performance.now()-o).toFixed(2)}ms`),{html:a,bbox:{x:c.x,y:c.y,w:c.width,h:c.height},img:h,fullCanvas:g}}finally{yB=void 0}})(),yB}function MB(){const A=localStorage.getItem(ji),t={"Content-Type":"application/json"};A&&(t["x-sl-access-token"]=A);const e=Ra();return e&&(t["x-intent-sid"]=e),t}function TB(){return"screenshot"!==localStorage.getItem("intent:data-capture-mode")}const kB={w:0,h:0,scrollY:0,docH:0};function OB(){kB.w=window.innerWidth,kB.h=window.innerHeight,kB.scrollY=Math.round(window.scrollY),kB.docH=document.documentElement.scrollHeight}function NB(){return{...kB}}function RB(A,t,e){if(!KB())return;const r=nB(),n=e instanceof HTMLFormElement?function(A){if(Ha(A))return;const t=[];for(const e of Array.from(A.elements)){if(!la(e)||e.disabled)continue;const A="TEXTAREA"===e.tagName||"SELECT"===e.tagName?e.tagName.toLowerCase():(e.getAttribute("type")??"text").toLowerCase();yc.has(A)||Ha(e)||t.push({name:e.getAttribute("name")??e.id,label:Ec(e),type:A,value:bc(e,A)})}return((A,t)=>{const e=[];let r=!1;for(const A of t){if(e.length>=30){r=!0;break}const t=Cc(A.name,Qc),n=Cc(A.label,Qc),s=t||n;s&&e.push({name:s,...n&&n!==s?{label:n}:{},...A.type?{type:A.type}:{},value:Cc(A.value,300)})}if(0===e.length)return;const n=Cc(A,Qc);return{...n?{name:n}:{},fields:e,...r?{truncated:!0}:{}}})(A.getAttribute("name")??A.getAttribute("aria-label")??(A.id||void 0)??void 0,t)}(e):void 0;let s;if(e!==document.body&&e!==document.documentElement&&!Ha(e)){const A=(A=>{let t=A;for(;t;){const A=Oc.get(t);if(A)return A;t=t.parentElement??void 0}})(e);s={tag:e.tagName,label:e instanceof HTMLFormElement?n?.name??"":Ic(e),role:e.getAttribute("role")??void 0,ref:A?.digest?.ref},la(e)&&(s.value=xa(e)?Ia(e):da(e))}ia(`[Digest] ${A} — ${r.length} segments on screen`),FB("segments",sB()),eB(),pB({ts:Date.now(),event:A,url:window.location.href,props:{...t,localTime:(new Date).toISOString()},...s?{chosen:s}:{},...n?{form:n}:{},onScreen:r,viewport:NB(),coverage:oB()}),aB.has(A)&&((A,t,e)=>{void 0!==PB&&clearTimeout(PB);const r=new Set(e.map(A=>A.ref)),n=e=>{PB=void 0,(async()=>{if(!KB())return;await(async()=>{Yc&&(await eB(),_c(),await Oc.registerVisible())})();const s=nB().filter(A=>!r.has(A.ref));if(0===s.length)return 0===e?void(PB=setTimeout(()=>n(1),GB)):void ia(`[Digest] settled after ${A} — nothing new on screen`);ia(`[Digest] settled after ${A} — ${s.length} newly on screen`),FB("segments",sB()),pB({ts:Date.now(),event:"settled",url:window.location.href,props:{after:A,label:t,localTime:(new Date).toISOString()},onScreen:s,viewport:NB(),coverage:oB()})})()};PB=setTimeout(()=>n(0),Wc.resegmentMaxDelayMs+VB)})(A,s?.label,r)}const VB=400,GB=900;let PB;function XB(A,t,e,r){TB()?RB(A,t,e):JB(A,t,e,r)}async function JB(A,t,e,r){if(!KB())return;const n={...t,localTime:(new Date).toISOString()};la(e)&&!Ha(e)&&(n.value=xa(e)?Ia(e):da(e));let s="",o={x:0,y:0,w:0,h:0},i="";const a=!("scroll"===A||"page-blur"===A||"page-focus"===A),c=Date.now();let B=r;a&&(("click"===A||"input-submit"===A||"pageview"===A)&&!B||!B&&c-HB>=300)&&(B=await DB(e),HB=c),B&&(s=B.html,o=B.bbox,i=B.img);const l="page-blur"===A||"page-focus"===A||"pageview"===A,g={ts:Date.now(),event:A,url:window.location.href,props:n,html:l?"":s,bbox:o,img:i};(function(A,t,e,r,n){((A,t,e,r,n)=>{if(!ec())return;const s={id:"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`,timestamp:Date.now(),event:A,props:t,html:e,bbox:r,img:n};Ac.push(s),Ac.length>50&&Ac.shift(),nc()})(A,t,e,r,n)})(A,n,l?"":s,o,i),await async function(A){const t=`${localStorage.getItem(qi)??Aa}/events`,e=localStorage.getItem(ji)??void 0,r=JSON.stringify({...A,clientId:e}),n=bB(r);let s;try{const A=await fetch(t,{method:"POST",headers:MB(),body:r,keepalive:n<=6e4,credentials:"omit"});if(A.ok)return;s=new Error(`events endpoint returned ${A.status}`)}catch(A){s=A}ia(`[Transmit] ${A.event} (${n} bytes) failed on /events, trying /p.gif`,s);try{await(async A=>{const t=`${localStorage.getItem(qi)??Aa}/p.gif`,e=JSON.stringify(A),r=await fetch(t,{method:"POST",headers:MB(),body:e,keepalive:bB(e)<=6e4,credentials:"omit",cache:"no-store"});if(!r.ok)throw new Error(`pixel body fallback failed with ${r.status}`)})(A)}catch(t){EB++,ia(`[Transmit] DROPPED ${A.event} (${n} bytes), ${EB} total`,t)}}(g)}Xa();let WB=!1;function YB(){WB&&TB()&&LB()&&(function(A={}){if(QB)return;QB=!0,Tc();const{compress:t,...e}={...lB,...A};Sc=t,wB=new BB({...e,endpoint:gB,context:dB,schedule:hB}),wB.start(),window.addEventListener("pagehide",mB),document.addEventListener("visibilitychange",fB)}(),rB())}let ZB=!1;function $B(){!ZB&&KB()&&(ZB=!0,XB("pageview",{url:window.location.href,title:document.title,ref:document.referrer},document.body))}function _B(){void 0!==PB&&(clearTimeout(PB),PB=void 0),ZB=!1,Xa(),Nc?.disconnect(),Rc?.disconnect(),window.removeEventListener("resize",tB),void 0!==Vc&&clearInterval(Vc),void 0!==Gc&&clearTimeout(Gc),Nc=void 0,Rc=void 0,Vc=void 0,Gc=void 0,Pc=void 0,Oc.clear(),Zc(),Jc=void 0,Yc=!1,wB?.discard()}function zB(){Xa(),YB(),TB()?$c().then($B):$B()}async function jB(A={}){if(!KB())return;const t="number"==typeof A.lat&&"number"==typeof A.lon;if(t&&Wa)return;if(!t&&IB)return;const e=localStorage.getItem("intent:data-ip"),r={context:await Yi()};e&&(r.ip=e);for(const[t,e]of Object.entries(A))r[t]=e;await JB("context",r,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),t||(IB=!0)}async function qB(){await(async(A,t)=>{const e=t(),r=za();if(!e||!r||Wa)return;if(!("geolocation"in navigator))return;if($a)return;$a=!0,Ya=!0;const n={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator.permissions?.query({name:"geolocation"}))}catch(A){}await new Promise(A=>{let t=!1;const e=async(e,r,n)=>{t||(t=!0,Number.isFinite(e)&&Number.isFinite(r)&&(await(async(A,t,e)=>{await jB({lat:A,lon:t,source:"device",...e})})(e,r,n),Wa=!0),$a=!1,Ya=!1,_a=!0,A())};navigator.geolocation.getCurrentPosition(A=>{const t=A.coords;e(t.latitude,t.longitude,{accuracy:t.accuracy,altitude:"number"==typeof t.altitude?t.altitude:void 0,altitudeAccuracy:"number"==typeof t.altitudeAccuracy?t.altitudeAccuracy:void 0,heading:"number"==typeof t.heading?t.heading:void 0,speed:"number"==typeof t.speed?t.speed:void 0,timestamp:A.timestamp,visibility:document.visibilityState,focused:document.hasFocus()})},A=>{const t=A?.code,r={error:{code:t,name:1===t?"PERMISSION_DENIED":2===t?"POSITION_UNAVAILABLE":3===t?"TIMEOUT":"UNKNOWN",message:A?.message??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window.isSecureContext,proto:location.protocol,host:location.hostname};e(void 0,void 0,r)},n)})})(0,KB)}function Al(){(A=>{if(Za||!za()||Wa)return;Za=!0;const t=()=>{window.removeEventListener("pointerdown",t,!0),window.removeEventListener("keydown",t,!0),A()};window.addEventListener("pointerdown",t,!0),window.addEventListener("keydown",t,!0)})(qB)}let tl=!document.hidden&&document.hasFocus(),el=document.hasFocus();function rl(){if(SB())return;const A=!document.hidden&&document.hasFocus();A&&(el=!0),el||A?A!==tl&&(tl=A,XB(A?"page-focus":"page-blur",{},document.body)):tl=A}function nl(A){let t=!1;const e=()=>{t||(t=!0,A())};"complete"!==document.readyState?window.addEventListener("load",e,{once:!0}):e()}function sl(){(()=>{const A=globalThis;return!A[xB]&&(Object.defineProperty(A,xB,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(OB(),window.addEventListener("resize",oa(OB,200),{passive:!0}),window.addEventListener("scroll",oa(OB,100),{passive:!0}),TB()&&(function(){const A=()=>`${window.location.pathname}${window.location.search}`;let t=A();const e=()=>{A()===t||SB()||(t=A(),OB(),ZB=!0,XB("pageview",{url:window.location.href,title:document.title,ref:document.referrer,spa:!0},document.body))};for(const A of["pushState","replaceState"]){const t=history[A];history[A]=function(...A){const r=t.apply(this,A);return e(),r}}window.addEventListener("popstate",e)}(),WB=!0,YB()),nl(()=>{KB()&&(jB(),(window.isSecureContext||"localhost"===location.hostname)&&(za()&&Al(),window.addEventListener("focus",()=>{qa()&&qB()}),document.addEventListener("visibilitychange",()=>{!document.hidden&&qa()&&qB()})))}),window.addEventListener("storage",A=>{A.key===Zi&&("granted"===localStorage.getItem(Zi)?(IB=!1,zB(),jB(),za()&&Al()):(IB=!1,ja(),_B())),A.key===$i&&(za()?Al():ja())}),nl(()=>{TB()?$c().then($B):$B()}),addEventListener("pointerdown",oa(A=>{if(TB()||SB())return;const t=A.target instanceof Element?A.target.closest(vB):null;if(!(t instanceof HTMLElement))return;const e=Date.now();e-HB<300?uB=void 0:(HB=e,uB=DB(t))},50),{capture:!0,passive:!0}),addEventListener("click",async A=>{if(SB())return;if(!(A.target instanceof Element))return;const t=A.target.closest(vB);if(!(t instanceof HTMLElement))return;const e=Ha(r=t)?"":ba(r)?Ia(r):(A=>{const t=A.getAttribute("aria-label")?.trim();if(t)return t;const e=A.title.trim();if(e)return e;const r=A.textContent?.trim();return r||"<no visible label>"})(r);var r;TB()?XB("click",{tag:t.tagName,label:e},t):(async()=>{const A=uB?await uB:void 0;uB=void 0,XB("click",{tag:t.tagName,label:e},t,A)})()},!0),addEventListener("keydown",A=>{if(!SB()&&"Enter"===A.key){const t=A.target;if(!(t instanceof HTMLElement))return;const e=t.tagName,r=Ha(t);if("INPUT"===e||"TEXTAREA"===e){const A=t instanceof HTMLInputElement?t.name:void 0;XB("input-submit",{tag:e,name:r?void 0:A??(t.id||void 0)},t)}else if(la(t)){const A=(A=>{let t=A;for(;t&&t!==document.body;){const A=t.getAttribute("contenteditable");if("true"===A||""===A||"plaintext-only"===A)return t;t=t.parentElement}return null})(t)??t;if("newline"===A.dataset.intentEnter)return;const e=A.getAttribute("role")?.toLowerCase(),r=A.id||void 0,n=A.getAttribute("name")||A.getAttribute("aria-label")||r;XB("input-submit",{tag:"CONTENTEDITABLE",role:e??"contenteditable",name:Ha(A)?void 0:n},A)}}},{capture:!0}),addEventListener("submit",A=>{!SB()&&TB()&&A.target instanceof HTMLFormElement&&XB("form-submit",{},A.target)},{capture:!0}),["focus","blur"].forEach(A=>{window.addEventListener(A,rl)}),document.addEventListener("visibilitychange",rl),window.addEventListener("scroll",(()=>{let A;return(...t)=>{void 0!==A&&window.clearTimeout(A),A=window.setTimeout(()=>{A=void 0,(()=>{SB()||XB("scroll",{scrollX:window.scrollX,scrollY:window.scrollY},document.body)})(...t)},250)}})(),{passive:!0}),window.intent??={send(A,t){KB()&&XB(A,t,document.body)}})}function ol(A,t){try{if(void 0===t)return;localStorage.setItem(A,t?"intent:consent"===A?"granted":"enabled":"disabled")}catch{}}function il(A){A&&"undefined"!=typeof console&&console.warn&&console.warn("[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. It exposes internal SDK behavior and should only be used during development."),(A=>{rc(A)})(A)}A.clearIntentSessionId=()=>{Pa()},A.ensureIntentSessionId=()=>{Xa()},A.getIntentSessionId=()=>Va("intent_sid"),A.initIntent=(A={})=>{localStorage.setItem("intent:data-client-id",A.clientId??""),localStorage.setItem("intent:data-ip",A.ip??""),localStorage.setItem("intent:data-base-url",A.baseUrl??"https://intent.callimacus.ai"),"number"==typeof A.sidMaxAgeSeconds&&localStorage.setItem("intent:data-sid-max-age",String(A.sidMaxAgeSeconds)),ol("intent:consent",A.consent),ol("intent:geo",A.geo),ol("intent:debug",A.debug),void 0!==A.debugPanel&&il(A.debugPanel),A.consent&&(Va("intent_sid")||Ga("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`,A.sidMaxAgeSeconds)),sl()},A.setConsent=A=>{ol("intent:consent",A),A?zB():_B()},A.setDebug=A=>{ol("intent:debug",A)},A.setDebugPanel=il,A.setGeo=A=>{ol("intent:geo",A)},A.setIntentSessionMaxAge=A=>{Number.isFinite(A)&&localStorage.setItem("intent:data-sid-max-age",String(A));const t=Va("intent_sid");t&&Ga(t,A)},Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});
11
+ /*! js-cookie v3.0.8 | MIT */function ka(A){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)"__proto__"!==r&&(A[r]=e[r])}return A}var Oa=function A(t,e){function r(A,r,n){if("undefined"!=typeof document){"number"==typeof(n=ka({},e,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),A=encodeURIComponent(A).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var o in n)n[o]&&(s+="; "+o,!0!==n[o]&&(s+="="+n[o].split(";")[0]));return document.cookie=A+"="+t.write(r,A)+s}}return Object.create({set:r,get:function(A){if("undefined"!=typeof document&&(!arguments.length||A)){for(var e=document.cookie?document.cookie.split("; "):[],r={},n=0;n<e.length;n++){var s=e[n].split("="),o=s.slice(1).join("=");try{var i=decodeURIComponent(s[0]);if(i in r||(r[i]=t.read(o,i)),A===i)break}catch(A){}}return A?r[A]:r}},remove:(A,t)=>{r(A,"",ka({},t,{expires:-1}))},withAttributes:function(t){return A(this.converter,ka({},this.attributes,t))},withConverter:function(t){return A(ka({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}({read:A=>('"'===A[0]&&(A=A.slice(1,-1)),A.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),write:A=>encodeURIComponent(A).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)},{path:"/"});let Na="";function Ra(){return Na}function Va(A){return Oa.get(A)}function Ga(A,t){const e=localStorage.getItem("intent:data-sid-max-age"),r=null===e?void 0:Number(e),n="number"==typeof t&&Number.isFinite(t)?t:"number"==typeof r&&Number.isFinite(r)?r:2592e3,s="https:"===window.location.protocol;Oa.set("intent_sid",A,{expires:n/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function Pa(){Oa.remove("intent_sid",{path:"/"})}function Xa(){const A=Va("intent_sid");if("granted"!==localStorage.getItem(Zi))return A&&Pa(),void(Na="");A?Na=A:(Na=crypto.randomUUID(),Ga(Na))}let Ja,Wa=!1,Ya=!1,Za=!1,$a=!1,_a=!1;function za(){return"enabled"===localStorage.getItem($i)}function ja(){Wa=!1,Za=!1,_a=!1}function qa(){return!Wa&&za()&&!$a&&_a}let Ac=[],tc=!1;function ec(){try{return"enabled"===localStorage.getItem(zi)}catch{return!1}}function rc(A){try{localStorage.setItem(zi,A?"enabled":"disabled"),A?sc():Ja&&(Ja.style.display="none")}catch{}}function nc(){if(!Ja)return;const A=Ja.querySelector("#intent-debug-events"),t=Ja.querySelector("#intent-debug-count");if(!A||!t)return;if(0===Ac.length)return A.innerHTML='\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',void(t.textContent="0 events");const e=[...Ac].reverse();A.innerHTML=e.map(A=>(A=>{const t=new Date(A.timestamp).toLocaleTimeString(),e=A.img&&A.img.length>0,r=e?Math.round(.75*A.img.length/1024):0,n=ha(A.event),s=ha(JSON.stringify(A.props,null,2)),o=ha(A.html),i=ha(JSON.stringify(A.bbox,null,2));return`\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">${n}</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">${t}</div>\n\t\t\t</div>\n\t\t\t${e?`\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="${A.img}" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~${r} KB)</div>\n\t\t\t\t</div>\n\t\t\t`:""}\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">${s}</pre>\n\t\t\t\t\t${A.html?`\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">${o}</pre>\n\t\t\t\t\t`:""}\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">${i}</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t`})(A)).join(""),t.textContent=`${Ac.length} event${1===Ac.length?"":"s"}`}function sc(){if(Ja)return void(Ja.style.display="flex");const A=document.createElement("div");A.innerHTML='\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',Ja=A.firstElementChild,document.body.appendChild(Ja);const t=Ja.querySelector("#intent-debug-close"),e=Ja.querySelector("#intent-debug-minimize"),r=Ja.querySelector("#intent-debug-clear");t?.addEventListener("click",()=>{rc(!1)}),e?.addEventListener("click",()=>{(()=>{if(!Ja)return;const A=Ja.querySelector("#intent-debug-content"),t=Ja.querySelector("#intent-debug-minimize");A&&t&&(tc=!tc,tc?(A.style.display="none",Ja.style.width="200px",t.textContent="+"):(A.style.display="flex",Ja.style.width="400px",t.textContent="−"))})()}),r?.addEventListener("click",()=>{Ac=[],nc()}),(()=>{if(!Ja)return;const A=Ja.querySelector("#intent-debug-header");if(!A)return;let t=!1,e=0,r=0,n=0,s=0;A.addEventListener("mousedown",A=>{if("BUTTON"===A.target.tagName)return;t=!0;const e=Ja.getBoundingClientRect();n=A.clientX-e.left,s=A.clientY-e.top}),document.addEventListener("mousemove",A=>{if(!t||!Ja)return;A.preventDefault(),e=A.clientX-n,r=A.clientY-s;const o=window.innerWidth-Ja.offsetWidth,i=window.innerHeight-Ja.offsetHeight;e=Math.max(0,Math.min(e,o)),r=Math.max(0,Math.min(r,i)),Ja.style.left=`${e}px`,Ja.style.top=`${r}px`,Ja.style.right="auto"}),document.addEventListener("mouseup",()=>{t=!1})})(),Ja.addEventListener("click",A=>{const t=A.target;if(t.classList.contains("intent-debug-screenshot")){const A=t;A.src&&A.src.startsWith("data:image/")&&(A=>{const t=document.createElement("div");t.id="intent-debug-fullscreen-modal",t.setAttribute("data-intent-redact","ignore"),t.style.cssText="\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t";const e=document.createElement("div");e.style.cssText="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document.createElement("img");r.src=A,r.style.cssText="\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t";const n=document.createElement("div");n.style.cssText="\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t";const s=document.createElement("button");s.textContent="✕ Close",s.style.cssText="\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t";const o=document.createElement("div");o.textContent="Click anywhere or press ESC to close",o.style.cssText="\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",n.appendChild(s),n.appendChild(o),e.appendChild(r),e.appendChild(n),t.appendChild(e);const i=()=>{t.remove(),document.removeEventListener("keydown",a)};t.addEventListener("click",i),s.addEventListener("click",A=>{A.stopPropagation(),i()}),r.addEventListener("click",A=>{A.stopPropagation()});const a=A=>{"Escape"===A.key&&i()};document.addEventListener("keydown",a),document.body.appendChild(t)})(A.src)}}),nc()}"undefined"!=typeof window&&ec()&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{sc()}):sc());const oc={x:0,y:0,w:0,h:0},ic={maxSegments:300,maxDepth:24,maxTextLength:1200,maxHeadings:1,maxInteractives:8,minTextLength:12,minDescentCoverage:.67};const ac=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE","HEAD","META","LINK","TITLE","BR","HR","IFRAME","CANVAS","svg"]),cc=new Set(["ARTICLE","SECTION","LI","FIGURE","BLOCKQUOTE","TR","DD","DETAILS"]),Bc=new Set(["article","listitem","option","row","gridcell","tab","treeitem","card"]),lc=new Set(["H1","H2","H3","H4","H5","H6"]),gc=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA","SUMMARY","LABEL","VIDEO","AUDIO"]),dc=new Set(["button","link","option","tab","checkbox","radio","switch","menuitem","textbox","combobox","searchbox","slider"]),hc=["aria-label","aria-labelledby","title","role"],wc=["type","autocomplete"],uc={children:A=>A.children,parent:A=>A.parentElement??void 0,ownText(A){let t="";for(const e of A.childNodes)if(3===e.nodeType){const A=(e.textContent??"").trim();A&&(t+=A)}return t},kind:A=>A.tagName,isSkipped:A=>!!ac.has(A.tagName)||A.hasAttribute("hidden")||"true"===A.getAttribute("aria-hidden"),isUnit(A){if(cc.has(A.tagName))return!0;const t=A.getAttribute("role")?.toLowerCase();return Boolean(t&&Bc.has(t))},isHeading:A=>lc.has(A.tagName),isInteractive(A){if(gc.has(A.tagName))return!0;const t=A.getAttribute("role")?.toLowerCase();return!(!t||!dc.has(t))||A.hasAttribute("onclick")||A.hasAttribute("href")},isMarked:A=>A.hasAttribute("data-intent-item"),signature(A){const t=Array.from(A.classList).sort().join(".");return`${A.tagName}#${t}`},mixDigestAttributes(A,t){let e=A;const r=t.tagName;for(const A of hc){const r=t.getAttribute(A);r&&(e=ra(e,`${A}:${r}`))}const n=t.getAttribute("data-intent-redact");if(null!==n){e=ra(e,`redact:${n}`);const A=t.getAttribute("data-intent-redact-label");A&&(e=ra(e,A))}t.hasAttribute("data-html2canvas-ignore")&&(e=ra(e,"redact:ignore-legacy"));const s=t.getAttribute("contenteditable");if(null!==s&&(e=ra(e,`contenteditable:${s}`)),"INPUT"===r||"TEXTAREA"===r||"SELECT"===r)for(const A of wc){const r=t.getAttribute(A);null!==r&&(e=ra(e,`${A}:${r}`))}if("A"===r||"AREA"===r){const A=t.getAttribute("href");A&&(e=ra(e,A))}else if("IMG"===r){const A=t.getAttribute("alt");A&&(e=ra(e,A));const r=t.currentSrc||t.getAttribute("src");r&&(e=r.startsWith("data:")?na(e,r.length):ra(e,r))}return e}},Qc=80;function Cc(A,t){return A?A.replace(/\s+/g," ").trim().slice(0,t):""}function Uc(...A){let t="";for(const e of A)t+=`${e.length}:${e}`;return t}const pc=["javascript:","vbscript:","data:","about:"];function Fc(A){if(!A)return;const t=A.replace(/[\t\n\r]/g,"").replace(/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,"");if(!t||"#"===t)return;const e=t.toLowerCase();return pc.some(A=>e.startsWith(A))?void 0:A}function fc(A,t,e,r,n){const s=Uc(...r.map(A=>Uc(A.label,A.role??"",A.href??""))),o=Uc(...n.map(A=>Uc(A.alt??"",A.src??"")));return(A=>{let t="";for(const{seed:e,prime:r}of sa){let n=e>>>0;for(let t=0;t<A.length;t++){const e=A.charCodeAt(t);n=Math.imul(n^255&e,r)>>>0,n=Math.imul(n^e>>>8,r)>>>0}t+=n.toString(36).padStart(7,"0")}return t})(Uc(A,t,e,s,o))}const mc='h1, h2, h3, h4, h5, h6, [role="heading"]',yc='a[href], button, [role="button"], [role="link"], [role="option"], [role="tab"], input[type="submit"], input[type="button"]';function Hc(A,t=400){if(Ha(A))return"";if(ba(A))return Cc(Ia(A),t);const e=[];let r=t;const n=A=>{e.at(-1)!==A&&(e.push(A),r-=A.length)},s=A=>{if(!(r<=0||fa(A))){if(la(A)){const t=Cc(Sa(A)?Fa(A):da(A),r);return void(t&&(e.push(t),r-=t.length))}if(ya(A)){const t=Cc(Fa(A),r);return void(t&&(e.push(t),r-=t.length))}for(const t of A.childNodes){if(r<=0)return;if(t.nodeType===Node.TEXT_NODE){const A=Cc(t.textContent,r);A&&n(A)}else t.nodeType===Node.ELEMENT_NODE&&s(t)}}};return s(A),e.join(" ").slice(0,t)}const Ec=new Set(["submit","button","reset","image","hidden","file"]);function bc(A){const t=A.cloneNode(!0);for(const A of t.querySelectorAll("input, textarea, select, button, option"))A.remove();return Cc(t.textContent,Qc)}function Ic(A){const t=Cc(A.getAttribute("aria-label"),Qc);if(t)return t;const e=A.labels?.[0];if(e){const A=bc(e);if(A)return A}const r=A.closest("label");if(r){const A=bc(r);if(A)return A}return Cc(A.getAttribute("placeholder"),Qc)}function xc(A,t){if(xa(A))return Ia(A);if("checkbox"===t||"radio"===t)return A.checked?"checked":"unchecked";if("SELECT"===A.tagName){const t=A;return t.selectedOptions?.[0]?.textContent??t.value}return da(A)}function vc(A){if(Ha(A))return"";if(ba(A))return Ia(A);const t=Cc(A.getAttribute("aria-label"),Qc);if(t)return t;const e=A.getAttribute("aria-labelledby");if(e){const t=e.split(/\s+/).map(t=>A.ownerDocument.getElementById(t)).filter(Boolean).map(A=>Hc(A,Qc)).join(" ");if(t.trim())return Cc(t,Qc)}const r=Cc(A.getAttribute("title"),Qc);if(r)return r;const n=Hc(A,Qc);if(n)return n;const s=A.querySelector("img[alt]");return Cc(s?.getAttribute("alt"),Qc)}function Lc(A){const t=A.currentSrc||A.src||"";if(t&&!t.startsWith("data:")&&!t.startsWith("blob:"))return t.length>512?void 0:t}function Kc(A){const t=A.getAttribute("role")?.toLowerCase();return t||("A"===A.tagName?"link":"BUTTON"===A.tagName||"INPUT"===A.tagName?"button":A.tagName.toLowerCase())}let Sc;function Dc(){if(!Sc)throw new Error("[intent] No platform host installed. Import @solomei-ai/intent (web) or @solomei-ai/intent/native before use.");return Sc}let Mc=!1;const Tc={get(A){try{return localStorage.getItem(A)??void 0}catch{return}},set(A,t){try{localStorage.setItem(A,t)}catch{}},remove(A){try{localStorage.removeItem(A)}catch{}}},kc={platform:"web",now:()=>performance.now(),wallClock:()=>Date.now(),storage:Tc,send:async(A,t,{beacon:e,byteLength:r})=>{if(e)return((A,t)=>{if("function"!=typeof navigator.sendBeacon)return!1;try{return navigator.sendBeacon(A,new Blob([t],{type:"application/json"}))}catch{return!1}})(A,t);const n=await(async A=>{const t=globalThis.CompressionStream;if(Mc&&"function"==typeof t)try{const e=new Blob([A]).stream().pipeThrough(new t("gzip"));return await new Response(e).blob()}catch{return}})(t),s={"Content-Type":"application/json"},o=Tc.get(ji);o&&(s["x-sl-access-token"]=o);const i=Ra();i&&(s["x-intent-sid"]=i),n&&(s["Content-Encoding"]="gzip");const a=await fetch(A,{method:"POST",headers:s,body:n??t,keepalive:r<=6e4,credentials:"omit"});return a.ok||kc.log(`[Transport] batch rejected with ${a.status}`),a.ok},scheduleIdle:async()=>{const{scheduler:A}=globalThis;if(A&&"function"==typeof A.postTask)try{return void await A.postTask(()=>{},{priority:"background"})}catch{}"function"!=typeof requestIdleCallback?await new Promise(A=>{setTimeout(A,0)}):await new Promise(A=>{requestIdleCallback(()=>{A()},{timeout:200})})},log(...A){try{"undefined"!=typeof localStorage&&"enabled"===localStorage.getItem(_i)&&console.log(...A)}catch{}}};function Oc(){void 0===Sc&&(Sc=kc)}const Nc={visibilityIntervalMs:500,resegmentDebounceMs:700,resegmentMaxDelayMs:1500,segmentOptions:{}},Rc=new class{options;entries=new Map;pendingRegistrations=[];generation=0;constructor(A){this.options=A}get size(){return this.entries.size}get(A){return this.entries.get(A)}values(){return this.entries.values()}reconcile(A,t){const e=new Set,r=[],n=[];for(const{node:t,kind:n,fingerprint:s}of A){e.add(t);const A=this.entries.get(t);A?A.fingerprint!==s&&(A.fingerprint=s,A.kind=n,A.registered=!1,A.digest=void 0):(this.entries.set(t,{node:t,kind:n,intersecting:!1,visible:!1,ratio:0,rect:{...oc},dwellMs:0,registered:!1,fingerprint:s}),r.push(t))}for(const[A,r]of this.entries)e.has(A)&&(t?.(A)??1)||(this.closeDwell(r),this.entries.delete(A),n.push(A));return this.options.log?.(`[Ledger] ${this.entries.size} segments tracked`),{added:r,removed:n}}setGeometry(A,t){const e=this.entries.get(A);e&&(e.intersecting=t.intersecting,e.ratio=t.ratio,e.rect=t.rect)}refreshVisibility(A){const t=this.options.now();for(const e of this.entries.values()){if(!e.intersecting){this.closeDwell(e,t),e.visible=!1;continue}const r=A?.(e.node)??!0;r&&void 0===e.visibleSince?e.visibleSince=t:r||this.closeDwell(e,t),e.visible=r}}async registerVisible(){const A=this.generation,t=[];for(const A of this.entries.values())A.visible&&!A.registered&&t.push(A);if(0===t.length)return;for(const A of t)A.registered=!0;let e,r=0;for(const n of t)try{if(await this.options.scheduleIdle(),A!==this.generation)return void this.options.log?.("[Ledger] abandoned an extraction pass the ledger was cleared under");const t=this.options.extract(n.node,n.kind);t&&(n.digest=t,this.pendingRegistrations.push(t))}catch(A){n.registered=!1,r++,e=A}r>0&&this.options.log?.(`[Ledger] extraction failed for ${r}/${t.length} segments: ${String(e)}`)}getOnScreen(){const A=this.options.now(),t=new Map;for(const e of this.entries.values()){if(!e.visible||!e.digest)continue;const r=void 0===e.visibleSince?0:A-e.visibleSince,n={ref:e.digest.ref,ratio:Math.round(100*e.ratio)/100,dwellMs:Math.round(e.dwellMs+r),rect:e.rect},s=t.get(n.ref);(!s||n.dwellMs>s.dwellMs)&&t.set(n.ref,n)}return[...t.values()]}drainRegistrations(){const A=new Set;for(const t of this.entries.values())t.digest&&A.add(t.digest.ref);const t=new Set,e=[];let r=0;for(const n of this.pendingRegistrations)t.has(n.ref)||(A.has(n.ref)?(t.add(n.ref),e.push(n)):r++);return this.pendingRegistrations=[],r>0&&this.options.log?.(`[Ledger] dropped ${r} registrations the ledger no longer describes`),e}getCoverage(){let A=0,t=0;for(const e of this.entries.values())e.visible&&A++,e.digest&&t++;return{segments:this.entries.size,onScreen:A,registered:t}}clear(){this.entries.clear(),this.pendingRegistrations=[],this.generation++}closeDwell(A,t=this.options.now()){void 0!==A.visibleSince&&(A.dwellMs+=t-A.visibleSince,A.visibleSince=void 0)}}({now:()=>performance.now(),extract:(A,t)=>function(A,t){if(Ha(A))return;const e=ba(A)?void 0:A.matches(mc)?A:[...A.querySelectorAll(mc)].find(A=>!Ha(A)&&!ba(A)),r=e?Cc(Hc(e,120),120):"",n=[],s=A.matches(yc)?[A]:[...A.querySelectorAll(yc)];for(const A of s){if(n.length>=12)break;if(Ha(A))continue;if(ba(A)){n.push({label:Ia(A),role:Kc(A)});continue}const t=vc(A);if(!t)continue;const e=A.getAttribute("href")??void 0;n.push({label:t,role:Kc(A),...e?{href:e}:{}})}const o=[];for(const t of A.querySelectorAll("img")){if(o.length>=6)break;if(Ha(t)||ba(t))continue;const A=Cc(t.getAttribute("alt"),Qc),e=Lc(t);(A||e)&&o.push({...A?{alt:A}:{},...e?{src:e}:{}})}return(A=>{const t=Cc(A.heading,120),e=Cc(A.text,400),r=[];for(const t of A.actions??[]){if(r.length>=12)break;const A=Cc(t.label,Qc);if(!A)continue;const e=Fc(t.href);r.push({label:A,role:t.role,...e?{href:e}:{}})}const n=[];for(const t of A.images??[]){if(n.length>=6)break;const A=Cc(t.alt,Qc),{src:e}=t;(A||e)&&n.push({...A?{alt:A}:{},...e?{src:e}:{}})}if(e||t||0!==r.length||0!==n.length)return{ref:fc(A.kind,t,e,r,n),kind:A.kind,...t?{heading:t}:{},text:e,actions:r,images:n}})({kind:t,heading:r,text:Hc(A),actions:n,images:o})}(A,t),scheduleIdle:()=>kc.scheduleIdle(),log:A=>{kc.log(A)}});let Vc,Gc,Pc,Xc,Jc,Wc,Yc,Zc=Nc,$c=!1;function _c(){Wc?.(),Wc=void 0}async function zc(A=2e3){Yc&&await Promise.race([Yc,new Promise(t=>{setTimeout(t,A)})])}function jc(){const A="function"==typeof Element.prototype.checkVisibility;Rc.refreshVisibility(t=>!A||t.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0}))}function qc(){jc(),Rc.registerVisible().then(_c)}function AB(A){for(const t of A){const{x:A,y:e,width:r,height:n}=t.boundingClientRect;Rc.setGeometry(t.target,{intersecting:t.isIntersecting,ratio:t.intersectionRatio,rect:{x:Math.round(A),y:Math.round(e),w:Math.round(r),h:Math.round(n)}})}qc()}function tB(){if(!Vc)return;const A=((A,t={})=>function(A,t,e={}){const r={...ic,...e},n=((A,t)=>{const e=new Map,r=A=>{const n=t.ownText(A),s={textLength:n.length,headings:t.isHeading(A)?1:0,interactives:t.isInteractive(A)?1:0,contentHash:t.mixDigestAttributes(ra(ra(ta,n),t.kind(A)),A)};for(const e of t.children(A)){if(t.isSkipped(e))continue;const A=r(e);s.textLength+=A.textLength,s.headings+=A.headings,s.interactives+=A.interactives,s.contentHash=na(s.contentHash,A.contentHash)}return e.set(A,s),s};return r(A),e})(A,t),s=[],o=A=>n.get(A)??{textLength:0,headings:0,interactives:0,contentHash:ta},i=(A,t)=>{const e=o(A);s.push({node:A,reason:t,textLength:e.textLength,interactives:e.interactives,headings:e.headings,contentHash:e.contentHash})},a=A=>{const t=o(A);return t.interactives>0||t.textLength>=r.minTextLength},c=(A,e)=>{if(s.length>=r.maxSegments||t.isSkipped(A))return!1;if(t.isMarked(A))return i(A,"marked"),!0;const n=o(A);if(e>=r.maxDepth)return!!a(A)&&(i(A,"depth"),!0);if(n.textLength<=r.maxTextLength&&n.headings<=r.maxHeadings&&n.interactives<=r.maxInteractives&&a(A)){if(t.isUnit(A))return i(A,"unit"),!0;if(((A,t)=>{const e=t.parent(A);if(void 0===e)return!1;const r=t.signature(A);let n=0;for(const A of t.children(e))if(t.signature(A)===r&&(n++,n>=3))return!0;return!1})(A,t))return i(A,"repeated"),!0;if(n.headings>0)return i(A,"heading"),!0}const B=s.length;let l=!1;for(const r of t.children(A))l=c(r,e+1)||l;return!l&&a(A)?(i(A,"leaf"),!0):l&&n.textLength>0&&s.slice(B).reduce((A,t)=>A+t.textLength,0)/n.textLength<r.minDescentCoverage&&a(A)?(s.length=B,i(A,"unit"),!0):l};for(const e of t.children(A))c(e,0);return s}(A,uc,t))(document.body,Zc.segmentOptions),{added:t,removed:e}=Rc.reconcile(A.map(({node:A,reason:t,contentHash:e})=>({node:A,kind:t,fingerprint:e})),A=>A.isConnected);for(const A of t)Vc.observe(A);for(const A of e)Vc.unobserve(A)}function eB(){return void 0!==Xc&&(clearTimeout(Xc),Xc=void 0),Jc=void 0,kc.scheduleIdle().then(tB)}function rB(){const A=performance.now();Jc??=A,A-Jc>=Zc.resegmentMaxDelayMs?eB():(void 0!==Xc&&clearTimeout(Xc),Xc=setTimeout(eB,Zc.resegmentDebounceMs))}function nB(){return $c&&void 0!==Jc?eB():Promise.resolve()}function sB(A={}){$c||"undefined"==typeof IntersectionObserver||(document.body?($c=!0,Oc(),Zc={...Nc,...A},Yc=new Promise(A=>{Wc=A}),Vc=new IntersectionObserver(AB,{threshold:[0,.25,.75]}),kc.scheduleIdle().then(tB),Gc=new MutationObserver(rB),Gc.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["href","src","srcset","sizes","alt","aria-label","aria-labelledby","title","role","data-intent-redact","data-intent-redact-label","data-html2canvas-ignore","type","autocomplete","contenteditable"],characterData:!0}),window.addEventListener("resize",rB,{passive:!0}),Pc=setInterval(qc,Zc.visibilityIntervalMs)):document.addEventListener("DOMContentLoaded",()=>{sB(A)},{once:!0}))}function oB(){return Rc.getOnScreen()}const iB=()=>Rc.drainRegistrations();function aB(){return Rc.getCoverage()}const cB={batchSize:20,flushIntervalMs:5e3,maxBuffered:200},BB=Object.freeze(new Set(["click","input-submit","form-submit"]));function lB(A){let t=0;for(let e=0;e<A.length;e++){const r=A.charCodeAt(e);r<128?t+=1:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,e++):t+=3}return t}class gB{options;flushOn;buffer=[];extras={};cancelTimer;generation=0;inFlight=new Map;stats={sent:0,failed:0,dropped:0};constructor(A){this.options=A,this.flushOn=A.flushOn??BB}getStats(){return{...this.stats,buffered:this.buffer.length}}start(){this.cancelTimer??=this.options.schedule(()=>{this.flush()},this.options.flushIntervalMs)}stop(){this.cancelTimer?.(),this.cancelTimer=void 0,this.buffer=[],this.extras={},this.generation++}discard(){this.buffer=[],this.extras={},this.generation++}enqueue(A){if(this.buffer.push(A),this.buffer.length>this.options.maxBuffered){const A=this.buffer.length-this.options.maxBuffered;this.buffer.splice(0,A),this.stats.dropped+=A,Dc().log(`[Transport] buffer full, dropped ${A} oldest events`)}(this.buffer.length>=this.options.batchSize||this.flushOn.has(A.event))&&this.flush()}attach(A,t){0!==t.length&&(this.extras[A]=[...this.extras[A]??[],...t])}async flush({beacon:A=!1}={}){if(A&&this.persistInFlight(),0===this.buffer.length&&0===Object.keys(this.extras).length)return;const t=Dc(),e=this.buffer,r=this.extras,n=this.generation;let s;try{s=JSON.stringify({...this.options.context(),sentAt:t.wallClock(),events:e,...r})}catch(A){return this.buffer=[],this.extras={},this.stats.failed+=e.length,void t.log(`[Transport] ${e.length} events dropped, batch could not be serialised`,A)}this.buffer=[],this.extras={};const o=lB(s);this.inFlight.set(s,{generation:n,...A?{release:this.options.onTeardownBatch?.(s)}:{}});let i=!1;try{i=await t.send(this.options.endpoint(),s,{beacon:A,byteLength:o})}catch(A){t.log(`[Transport] ${e.length} events failed to send`,A)}const a=this.inFlight.get(s)?.release;return this.inFlight.delete(s),i?(this.stats.sent+=e.length,void a?.()):(this.stats.failed+=e.length,t.log(`[Transport] ${e.length} events undelivered (${o} bytes, beacon=${A})`),n!==this.generation?(t.log("[Transport] dropped an in-flight batch discarded mid-request"),void a?.()):void(A||this.restore(e,r)))}persistInFlight(){if(this.options.onTeardownBatch)for(const[A,t]of this.inFlight)t.release||t.generation!==this.generation||(t.release=this.options.onTeardownBatch(A),Dc().log("[Transport] took custody of a batch still in flight at teardown"))}restore(A,t){for(const[A,e]of Object.entries(t))this.extras[A]=[...e,...this.extras[A]??[]];this.buffer=[...A,...this.buffer];const e=this.buffer.length-this.options.maxBuffered;e>0&&(this.buffer.splice(0,e),this.stats.dropped+=e,Dc().log(`[Transport] buffer full after retry, dropped ${e} oldest events`))}async replay(A){const t=Dc();try{return await t.send(this.options.endpoint(),A,{beacon:!1,byteLength:lB(A)})}catch(A){return t.log("[Transport] replay failed",A),!1}}}const dB={...cB,compress:!1};function hB(){return`${kc.storage.get(qi)??Aa}/v2/events`}function wB(){return{clientId:kc.storage.get(ji),sid:Ra(),platform:"web"}}function uB(A,t){const e=setInterval(A,t);return()=>{clearInterval(e)}}let QB,CB,UB=!1;function pB(){return Oc(),QB??=new gB({...cB,endpoint:hB,context:wB,schedule:uB}),QB}async function FB(A={}){return pB().flush(A)}function fB(A){pB().enqueue(A)}function mB(A,t){pB().attach(A,t)}function yB(){"hidden"===document.visibilityState&&FB({beacon:!0})}function HB(){FB({beacon:!0})}let EB,bB=0,IB=0;function xB(A){try{return new Blob([A]).size}catch{return A.length}}let vB=!1;const LB="__intent__sdk__initialized__",KB=["button","a[href]","a",'input[type="submit"]','input[type="button"]','[role="button"]','[role="link"]',"[onclick]"].join(",");function SB(){return"granted"===localStorage.getItem(Zi)}function DB(){return Xa(),SB()&&Boolean(Ra())&&Boolean(localStorage.getItem(ji)?.trim().length)}function MB(){return!DB()||Ya}async function TB(A){for(;EB;)await EB;return EB=(async()=>{try{const o=performance.now(),i=performance.now(),a=(A=>{if(fa(A))return"";const t=A.cloneNode(!1);return Array.from(A.attributes).forEach(({name:A,value:e})=>{t.setAttribute(A,e)}),Ba(A)?Ba(t)&&(t.value=A.value):la(A)?t.innerHTML=A.innerHTML:t.textContent=A.textContent,Ta(t),Ba(t)&&t.setAttribute("value",t.value),t.outerHTML})(A);ia(`[Timing] serialize: ${(performance.now()-i).toFixed(2)}ms`);const c=A.getBoundingClientRect(),B=performance.now(),l={left:window.scrollX,top:window.scrollY,right:window.scrollX+window.innerWidth,bottom:window.scrollY+window.innerHeight},g=await((A,o={})=>(async(A,t,o)=>{if((A=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(t=>{const e=A[t];if(null!=e&&"number"!=typeof e){const r=Number(e);Number.isNaN(r)||(A[t]=r)}})})(t),!t.skipValidation){const r=t.validator||((A={})=>new e({allowDataUrls:!0,maxImageTimeout:3e5,...A}))(),n=r.validateElement(A);if(!n.valid)throw new Error(n.error);const s=r.validateOptions(t);if(!s.valid)throw new Error(`Invalid options: ${s.error}`)}if(!A||"object"!=typeof A)throw new Error("Invalid element provided as first argument");const i=A.ownerDocument;if(!i)throw new Error("Element is not attached to a Document");const a=i.defaultView;if(!a)throw new Error("Document is not attached to a Window");const c=((A,t,e)=>({logging:A.logging??!0,cache:A.cache??t.cache,...e}))(t,o,(A=>({allowTaint:A.allowTaint??!1,imageTimeout:A.imageTimeout??15e3,proxy:A.proxy,useCORS:A.useCORS??!1,customIsSameOrigin:A.customIsSameOrigin,maxCacheSize:A.maxCacheSize}))(t)),B=((A,t)=>({windowWidth:A.windowWidth??t.innerWidth??800,windowHeight:A.windowHeight??t.innerHeight??600,scrollX:A.scrollX??t.pageXOffset??0,scrollY:A.scrollY??t.pageYOffset??0}))(t,a),l=new n(B.scrollX,B.scrollY,B.windowWidth,B.windowHeight),g=new Ji(c,l,o),d=t.enablePerformanceMonitoring??t.logging??!1,h=new r(g,d);h.start("total",{width:B.windowWidth,height:B.windowHeight});const w=t.signal;Wi(w);const u=t.foreignObjectRendering??!1,Q=((A,t,e)=>({allowTaint:A.allowTaint??!1,onclone:A.onclone,ignoreElements:A.ignoreElements,iframeContainer:A.iframeContainer,inlineImages:e,copyStyles:e,cspNonce:A.cspNonce??t.cspNonce}))(t,o,u);g.logger.debug(`Starting document clone with size ${l.width}x${l.height} scrolled to ${-l.left},${-l.top}`),h.start("clone");const C=new fs(g,A,Q),U=C.clonedReferenceElement;if(!U)throw new Error("Unable to find element in cloned iframe");const p=await C.toIFrame(i,l);h.end("clone"),w?.aborted&&((t.removeContainer??1)&&fs.destroy(p),Wi(w));const{width:F,height:f,left:m,top:y}=se(U)||"HTML"===U.tagName?(A=>{const t=A.body,e=A.documentElement;if(!t||!e)throw new Error("Unable to get document size");return new n(0,0,Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight)))})(U.ownerDocument):s(g,U),H=((A,t,e)=>{const r=t.ownerDocument,n=r.documentElement?jt(A,getComputedStyle(r.documentElement).backgroundColor):qt.TRANSPARENT,s=r.body?jt(A,getComputedStyle(r.body).backgroundColor):qt.TRANSPARENT,o="string"==typeof e?jt(A,e):null===e?qt.TRANSPARENT:4294967295;return t===r.documentElement?ft(n)?ft(s)?o:s:n:o})(g,U,t.backgroundColor),E=((A,t,e,r,n,s,o)=>({canvas:A.canvas,backgroundColor:t,signal:A.signal,scale:A.scale??o??1,x:(A.x??0)+e,y:(A.y??0)+r,width:A.width??Math.ceil(n),height:A.height??Math.ceil(s),imageSmoothing:A.imageSmoothing,imageSmoothingQuality:A.imageSmoothingQuality}))(t,H,m,y,F,f,a.devicePixelRatio??1);let b,I;try{return u?(g.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),b=await new Si(g,E).render(U),h.end("render-foreignobject")):(g.logger.debug(`Document cloned, element located at ${m},${y} with size ${F}x${f} using computed rendering`),g.logger.debug("Starting DOM parsing"),h.start("parse"),Wi(w),g.cache.startDefer(),I=Lo(g,U),h.end("parse"),h.start("preload"),await g.cache.preloadAll(),h.end("preload"),H===I.styles.backgroundColor&&(I.styles.backgroundColor=qt.TRANSPARENT),g.logger.debug(`Starting renderer for element at ${E.x},${E.y} with size ${E.width}x${E.height}`),h.start("render"),Wi(w),b=await new vi(g,E).render(I),h.end("render")),h.start("cleanup"),(t.removeContainer??1)&&(fs.destroy(p)||g.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.end("cleanup"),h.end("total"),g.logger.debug("Finished rendering"),d&&h.logSummary(),b}finally{I&&I.restoreTree()}})(A,o,t.fromElement(A,{cspNonce:o.cspNonce,cache:o.cache})))(document.body,{useCORS:!0,x:window.scrollX,y:window.scrollY,width:window.innerWidth,height:window.innerHeight,scale:.6,logging:!1,onclone(A){Ta(A)},ignoreElements(A){if(!(A instanceof Element))return!1;if(Ha(A))return!0;const t=A.getBoundingClientRect(),e=t.left+window.scrollX,r=t.top+window.scrollY,n=t.right+window.scrollX,s=t.bottom+window.scrollY,o=100,i=r>l.bottom+o;if(!(n<l.left-o||e>l.right+o||s<l.top-o||i))return!1;const{position:a}=window.getComputedStyle(A);let c;if("fixed"===a||"absolute"===a){const A=500;c=n<l.left-A||e>l.right+A||s<l.top-A||r>l.bottom+A}else c=i;return!!c&&!("INPUT"===A.tagName||"TEXTAREA"===A.tagName||"SELECT"===A.tagName||A.hasAttribute("data-intent-redact")||A.querySelector("input, textarea, select, [data-intent-redact]"))}});ia(`[Timing] html2canvas-pro: ${(performance.now()-B).toFixed(2)}ms`);const d=performance.now(),h=g.toDataURL("image/jpeg",.8);ia(`[Timing] jpeg-encoding: ${(performance.now()-d).toFixed(2)}ms`);return ia(`[Timing] capture-total: ${(performance.now()-o).toFixed(2)}ms`),{html:a,bbox:{x:c.x,y:c.y,w:c.width,h:c.height},img:h,fullCanvas:g}}finally{EB=void 0}})(),EB}function kB(){const A=localStorage.getItem(ji),t={"Content-Type":"application/json"};A&&(t["x-sl-access-token"]=A);const e=Ra();return e&&(t["x-intent-sid"]=e),t}function OB(){return"screenshot"!==localStorage.getItem("intent:data-capture-mode")}const NB={w:0,h:0,scrollY:0,docH:0};function RB(){NB.w=window.innerWidth,NB.h=window.innerHeight,NB.scrollY=Math.round(window.scrollY),NB.docH=document.documentElement.scrollHeight}function VB(){return{...NB}}function GB(A,t,e){if(!DB())return;const r=oB(),n=e instanceof HTMLFormElement?function(A){if(Ha(A))return;const t=[];for(const e of Array.from(A.elements)){if(!la(e)||e.disabled)continue;const A="TEXTAREA"===e.tagName||"SELECT"===e.tagName?e.tagName.toLowerCase():(e.getAttribute("type")??"text").toLowerCase();Ec.has(A)||Ha(e)||t.push({name:e.getAttribute("name")??e.id,label:Ic(e),type:A,value:xc(e,A)})}return((A,t)=>{const e=[];let r=!1;for(const A of t){if(e.length>=30){r=!0;break}const t=Cc(A.name,Qc),n=Cc(A.label,Qc),s=t||n;s&&e.push({name:s,...n&&n!==s?{label:n}:{},...A.type?{type:A.type}:{},value:Cc(A.value,300)})}if(0===e.length)return;const n=Cc(A,Qc);return{...n?{name:n}:{},fields:e,...r?{truncated:!0}:{}}})(A.getAttribute("name")??A.getAttribute("aria-label")??(A.id||void 0)??void 0,t)}(e):void 0;let s;if(e!==document.body&&e!==document.documentElement&&!Ha(e)){const A=(A=>{let t=A;for(;t;){const A=Rc.get(t);if(A)return A;t=t.parentElement??void 0}})(e);s={tag:e.tagName,label:e instanceof HTMLFormElement?n?.name??"":vc(e),role:e.getAttribute("role")??void 0,ref:A?.digest?.ref},la(e)&&(s.value=xa(e)?Ia(e):da(e))}ia(`[Digest] ${A} — ${r.length} segments on screen`),mB("segments",iB()),nB(),fB({ts:Date.now(),event:A,url:window.location.href,props:{...t,localTime:(new Date).toISOString()},...s?{chosen:s}:{},...n?{form:n}:{},onScreen:r,viewport:VB(),coverage:aB()}),BB.has(A)&&((A,t,e)=>{void 0!==JB&&clearTimeout(JB);const r=new Set(e.map(A=>A.ref)),n=e=>{JB=void 0,(async()=>{if(!DB())return;await(async()=>{$c&&(await nB(),jc(),await Rc.registerVisible())})();const s=oB().filter(A=>!r.has(A.ref));if(0===s.length)return 0===e?void(JB=setTimeout(()=>n(1),XB)):void ia(`[Digest] settled after ${A} — nothing new on screen`);ia(`[Digest] settled after ${A} — ${s.length} newly on screen`),mB("segments",iB()),fB({ts:Date.now(),event:"settled",url:window.location.href,props:{after:A,label:t,localTime:(new Date).toISOString()},onScreen:s,viewport:VB(),coverage:aB()})})()};JB=setTimeout(()=>n(0),Zc.resegmentMaxDelayMs+PB)})(A,s?.label,r)}const PB=400,XB=900;let JB;function WB(A,t,e,r){OB()?GB(A,t,e):YB(A,t,e,r)}async function YB(A,t,e,r){if(!DB())return;const n={...t,localTime:(new Date).toISOString()};la(e)&&!Ha(e)&&(n.value=xa(e)?Ia(e):da(e));let s="",o={x:0,y:0,w:0,h:0},i="";const a=!("scroll"===A||"page-blur"===A||"page-focus"===A),c=Date.now();let B=r;a&&(("click"===A||"input-submit"===A||"pageview"===A)&&!B||!B&&c-bB>=300)&&(B=await TB(e),bB=c),B&&(s=B.html,o=B.bbox,i=B.img);const l="page-blur"===A||"page-focus"===A||"pageview"===A,g={ts:Date.now(),event:A,url:window.location.href,props:n,html:l?"":s,bbox:o,img:i};(function(A,t,e,r,n){((A,t,e,r,n)=>{if(!ec())return;const s={id:"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`,timestamp:Date.now(),event:A,props:t,html:e,bbox:r,img:n};Ac.push(s),Ac.length>50&&Ac.shift(),nc()})(A,t,e,r,n)})(A,n,l?"":s,o,i),await async function(A){const t=`${localStorage.getItem(qi)??Aa}/events`,e=localStorage.getItem(ji)??void 0,r=JSON.stringify({...A,clientId:e}),n=xB(r);let s;try{const A=await fetch(t,{method:"POST",headers:kB(),body:r,keepalive:n<=6e4,credentials:"omit"});if(A.ok)return;s=new Error(`events endpoint returned ${A.status}`)}catch(A){s=A}ia(`[Transmit] ${A.event} (${n} bytes) failed on /events, trying /p.gif`,s);try{await(async A=>{const t=`${localStorage.getItem(qi)??Aa}/p.gif`,e=JSON.stringify(A),r=await fetch(t,{method:"POST",headers:kB(),body:e,keepalive:xB(e)<=6e4,credentials:"omit",cache:"no-store"});if(!r.ok)throw new Error(`pixel body fallback failed with ${r.status}`)})(A)}catch(t){IB++,ia(`[Transmit] DROPPED ${A.event} (${n} bytes), ${IB} total`,t)}}(g)}Xa();let ZB=!1;function $B(){ZB&&OB()&&SB()&&(function(A={}){if(UB)return;UB=!0,Oc();const{compress:t,...e}={...dB,...A};Mc=t,QB=new gB({...e,endpoint:hB,context:wB,schedule:uB}),QB.start(),window.addEventListener("pagehide",HB),document.addEventListener("visibilitychange",yB)}(),sB())}let _B=!1;function zB(){!_B&&DB()&&(_B=!0,WB("pageview",{url:window.location.href,title:document.title,ref:document.referrer},document.body))}function jB(){void 0!==JB&&(clearTimeout(JB),JB=void 0),_B=!1,Xa(),Vc?.disconnect(),Gc?.disconnect(),window.removeEventListener("resize",rB),void 0!==Pc&&clearInterval(Pc),void 0!==Xc&&clearTimeout(Xc),Vc=void 0,Gc=void 0,Pc=void 0,Xc=void 0,Jc=void 0,Rc.clear(),_c(),Yc=void 0,$c=!1,QB?.discard()}function qB(){Xa(),$B(),OB()?zc().then(zB):zB()}async function Al(A={}){if(!DB())return;const t="number"==typeof A.lat&&"number"==typeof A.lon;if(t&&Wa)return;if(!t&&vB)return;const e=localStorage.getItem("intent:data-ip"),r={context:await Yi()};e&&(r.ip=e);for(const[t,e]of Object.entries(A))r[t]=e;await YB("context",r,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),t||(vB=!0)}async function tl(){await(async(A,t)=>{const e=t(),r=za();if(!e||!r||Wa)return;if(!("geolocation"in navigator))return;if($a)return;$a=!0,Ya=!0;const n={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator.permissions?.query({name:"geolocation"}))}catch(A){}await new Promise(A=>{let t=!1;const e=async(e,r,n)=>{t||(t=!0,Number.isFinite(e)&&Number.isFinite(r)&&(await(async(A,t,e)=>{await Al({lat:A,lon:t,source:"device",...e})})(e,r,n),Wa=!0),$a=!1,Ya=!1,_a=!0,A())};navigator.geolocation.getCurrentPosition(A=>{const t=A.coords;e(t.latitude,t.longitude,{accuracy:t.accuracy,altitude:"number"==typeof t.altitude?t.altitude:void 0,altitudeAccuracy:"number"==typeof t.altitudeAccuracy?t.altitudeAccuracy:void 0,heading:"number"==typeof t.heading?t.heading:void 0,speed:"number"==typeof t.speed?t.speed:void 0,timestamp:A.timestamp,visibility:document.visibilityState,focused:document.hasFocus()})},A=>{const t=A?.code,r={error:{code:t,name:1===t?"PERMISSION_DENIED":2===t?"POSITION_UNAVAILABLE":3===t?"TIMEOUT":"UNKNOWN",message:A?.message??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window.isSecureContext,proto:location.protocol,host:location.hostname};e(void 0,void 0,r)},n)})})(0,DB)}function el(){(A=>{if(Za||!za()||Wa)return;Za=!0;const t=()=>{window.removeEventListener("pointerdown",t,!0),window.removeEventListener("keydown",t,!0),A()};window.addEventListener("pointerdown",t,!0),window.addEventListener("keydown",t,!0)})(tl)}let rl=!document.hidden&&document.hasFocus(),nl=document.hasFocus();function sl(){if(MB())return;const A=!document.hidden&&document.hasFocus();A&&(nl=!0),nl||A?A!==rl&&(rl=A,WB(A?"page-focus":"page-blur",{},document.body)):rl=A}function ol(A){let t=!1;const e=()=>{t||(t=!0,A())};"complete"!==document.readyState?window.addEventListener("load",e,{once:!0}):e()}function il(){(()=>{const A=globalThis;return!A[LB]&&(Object.defineProperty(A,LB,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(RB(),window.addEventListener("resize",oa(RB,200),{passive:!0}),window.addEventListener("scroll",oa(RB,100),{passive:!0}),OB()&&(function(){const A=()=>`${window.location.pathname}${window.location.search}`;let t=A();const e=()=>{A()===t||MB()||(t=A(),RB(),_B=!0,WB("pageview",{url:window.location.href,title:document.title,ref:document.referrer,spa:!0},document.body))};for(const A of["pushState","replaceState"]){const t=history[A];history[A]=function(...A){const r=t.apply(this,A);return e(),r}}window.addEventListener("popstate",e)}(),ZB=!0,$B()),ol(()=>{DB()&&(Al(),(window.isSecureContext||"localhost"===location.hostname)&&(za()&&el(),window.addEventListener("focus",()=>{qa()&&tl()}),document.addEventListener("visibilitychange",()=>{!document.hidden&&qa()&&tl()})))}),window.addEventListener("storage",A=>{A.key===Zi&&("granted"===localStorage.getItem(Zi)?(vB=!1,qB(),Al(),za()&&el()):(vB=!1,ja(),jB())),A.key===$i&&(za()?el():ja())}),ol(()=>{OB()?zc().then(zB):zB()}),addEventListener("pointerdown",oa(A=>{if(OB()||MB())return;const t=A.target instanceof Element?A.target.closest(KB):null;if(!(t instanceof HTMLElement))return;const e=Date.now();e-bB<300?CB=void 0:(bB=e,CB=TB(t))},50),{capture:!0,passive:!0}),addEventListener("click",async A=>{if(MB())return;if(!(A.target instanceof Element))return;const t=A.target.closest(KB);if(!(t instanceof HTMLElement))return;const e=Ha(r=t)?"":ba(r)?Ia(r):(A=>{const t=A.getAttribute("aria-label")?.trim();if(t)return t;const e=A.title.trim();if(e)return e;const r=A.textContent?.trim();return r||"<no visible label>"})(r);var r;OB()?WB("click",{tag:t.tagName,label:e},t):(async()=>{const A=CB?await CB:void 0;CB=void 0,WB("click",{tag:t.tagName,label:e},t,A)})()},!0),addEventListener("keydown",A=>{if(!MB()&&"Enter"===A.key){const t=A.target;if(!(t instanceof HTMLElement))return;const e=t.tagName,r=Ha(t);if("INPUT"===e||"TEXTAREA"===e){const A=t instanceof HTMLInputElement?t.name:void 0;WB("input-submit",{tag:e,name:r?void 0:A??(t.id||void 0)},t)}else if(la(t)){const A=(A=>{let t=A;for(;t&&t!==document.body;){const A=t.getAttribute("contenteditable");if("true"===A||""===A||"plaintext-only"===A)return t;t=t.parentElement}return null})(t)??t;if("newline"===A.dataset.intentEnter)return;const e=A.getAttribute("role")?.toLowerCase(),r=A.id||void 0,n=A.getAttribute("name")||A.getAttribute("aria-label")||r;WB("input-submit",{tag:"CONTENTEDITABLE",role:e??"contenteditable",name:Ha(A)?void 0:n},A)}}},{capture:!0}),addEventListener("submit",A=>{!MB()&&OB()&&A.target instanceof HTMLFormElement&&WB("form-submit",{},A.target)},{capture:!0}),["focus","blur"].forEach(A=>{window.addEventListener(A,sl)}),document.addEventListener("visibilitychange",sl),window.addEventListener("scroll",(()=>{let A;return(...t)=>{void 0!==A&&window.clearTimeout(A),A=window.setTimeout(()=>{A=void 0,(()=>{MB()||WB("scroll",{scrollX:window.scrollX,scrollY:window.scrollY},document.body)})(...t)},250)}})(),{passive:!0}),window.intent??={send(A,t){DB()&&WB(A,t,document.body)}})}function al(A,t){try{if(void 0===t)return;localStorage.setItem(A,t?"intent:consent"===A?"granted":"enabled":"disabled")}catch{}}function cl(A){A&&"undefined"!=typeof console&&console.warn&&console.warn("[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. It exposes internal SDK behavior and should only be used during development."),(A=>{rc(A)})(A)}A.clearIntentSessionId=()=>{Pa()},A.ensureIntentSessionId=()=>{Xa()},A.getIntentSessionId=()=>Va("intent_sid"),A.initIntent=(A={})=>{localStorage.setItem("intent:data-client-id",A.clientId??""),localStorage.setItem("intent:data-ip",A.ip??""),localStorage.setItem("intent:data-base-url",A.baseUrl??"https://intent.callimacus.ai"),"number"==typeof A.sidMaxAgeSeconds&&localStorage.setItem("intent:data-sid-max-age",String(A.sidMaxAgeSeconds)),al("intent:consent",A.consent),al("intent:geo",A.geo),al("intent:debug",A.debug),void 0!==A.debugPanel&&cl(A.debugPanel),A.consent&&(Va("intent_sid")||Ga("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`,A.sidMaxAgeSeconds)),il()},A.setConsent=A=>{al("intent:consent",A),A?qB():jB()},A.setDebug=A=>{al("intent:debug",A)},A.setDebugPanel=cl,A.setGeo=A=>{al("intent:geo",A)},A.setIntentSessionMaxAge=A=>{Number.isFinite(A)&&localStorage.setItem("intent:data-sid-max-age",String(A));const t=Va("intent_sid");t&&Ga(t,A)},Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});
12
12
  //# sourceMappingURL=intent.debug.umd.min.js.map