bugstash 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,24 +1,22 @@
1
- "use strict";var It=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var hs=Object.getOwnPropertyNames;var vs=Object.prototype.hasOwnProperty;var xs=(e,t)=>{for(var n in t)It(e,n,{get:t[n],enumerable:!0})},ys=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of hs(t))!vs.call(e,r)&&r!==n&&It(e,r,{get:()=>t[r],enumerable:!(s=fs(t,r))||s.enumerable});return e};var ws=e=>ys(It({},"__esModule",{value:!0}),e);var dr={};xs(dr,{BugStash:()=>ds,default:()=>cr});module.exports=ws(dr);var Ie=[],rn=50,He=null,Re=null,Be=null,Ne=null;function et(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase(),n=e.className&&typeof e.className=="string"?"."+e.className.trim().split(/\s+/).slice(0,2).join("."):"",s=(e.textContent||"").trim().slice(0,30),r=s?` "${s}"`:"";return`${t}${n}${r}`}function _(e){Ie.push(e),Ie.length>rn&&Ie.shift()}function on(e){e&&(rn=e),He=n=>{let s=n.target;!s||!s.tagName||_({type:"click",category:"ui",message:`Clicked ${et(s)}`,timestamp:Date.now(),data:{x:n.clientX,y:n.clientY,selector:et(s)}})},document.addEventListener("click",He,!0);let t=new WeakMap;Re=n=>{let s=n.target;if(!s||!s.tagName)return;let r=s.tagName.toLowerCase();if(r!=="input"&&r!=="textarea"&&r!=="select")return;let a=t.get(s);a&&clearTimeout(a),t.set(s,window.setTimeout(()=>{let l=s instanceof HTMLInputElement&&s.type==="password";_({type:"input",category:"ui",message:`Input ${et(s)}`,timestamp:Date.now(),data:{selector:et(s),value:l?"[redacted]":void 0}})},300))},document.addEventListener("input",Re,!0),Be=()=>{_({type:"navigation",category:"navigation",message:`Navigated to ${window.location.pathname}`,timestamp:Date.now(),data:{url:window.location.href}})},window.addEventListener("popstate",Be),Ne=()=>{_({type:"navigation",category:"navigation",message:`Hash changed to ${window.location.hash}`,timestamp:Date.now(),data:{url:window.location.href}})},window.addEventListener("hashchange",Ne),_({type:"navigation",category:"navigation",message:`Page loaded: ${window.location.pathname}`,timestamp:Date.now(),data:{url:window.location.href}})}function he(){return[...Ie]}function an(){Ie=[]}function ln(){He&&document.removeEventListener("click",He,!0),Re&&document.removeEventListener("input",Re,!0),Be&&window.removeEventListener("popstate",Be),Ne&&window.removeEventListener("hashchange",Ne),He=null,Re=null,Be=null,Ne=null}var Ht="[REDACTED]",ks=[[/\b(?:\d[ -]*?){13,19}\b/g,"[CC_REDACTED]"],[/\b\d{3}-\d{2}-\d{4}\b/g,"[SSN_REDACTED]"],[/Bearer\s+[A-Za-z0-9\-._~+/]+=*/g,"Bearer [TOKEN_REDACTED]"],[/eyJ[A-Za-z0-9_-]+\.eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,"[JWT_REDACTED]"],[/(?:api[_-]?key|apikey|secret|token|password|passwd|authorization)['":\s=]+['"]?([A-Za-z0-9\-._~+/]{20,})['"]?/gi,e=>{let t=e.search(/[=:]/);return e.slice(0,t+1)+" "+Ht}],[/AKIA[0-9A-Z]{16}/g,"[AWS_KEY_REDACTED]"],[/"(?:password|passwd|secret|token|access_token|refresh_token|api_key|apiKey|private_key)":\s*"[^"]*"/gi,e=>{let t=e.indexOf(":");return e.slice(0,t+1)+' "'+Ht+'"'}]];function ve(e){let t=e;for(let[n,s]of ks)t=t.replace(n,s);return t}function cn(e){return e.map(ve)}function tt(e){if(typeof e=="string")return ve(e);if(Array.isArray(e))return e.map(tt);if(e&&typeof e=="object"){let t={};for(let[n,s]of Object.entries(e)){let r=n.toLowerCase();r.includes("password")||r.includes("secret")||r.includes("token")||r.includes("apikey")||r.includes("api_key")||r.includes("private")?t[n]=Ht:t[n]=tt(s)}return t}return e}var nt={log:console.log,warn:console.warn,error:console.error,debug:console.debug,info:console.info},De=[],dn=50;function Es(e){return e.map(t=>{if(t instanceof Error)return`${t.name}: ${t.message}
2
- ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{return String(t)}return String(t)})}function Ls(e,t){let n={level:e,args:cn(Es(t)),timestamp:Date.now()};e==="error"&&(n.stack=new Error().stack?.split(`
1
+ "use strict";var ln=Object.defineProperty;var Ti=Object.getOwnPropertyDescriptor;var Di=Object.getOwnPropertyNames;var ki=Object.prototype.hasOwnProperty;var Mi=(A,e)=>{for(var t in e)ln(A,t,{get:e[t],enumerable:!0})},Oi=(A,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Di(e))!ki.call(A,n)&&n!==t&&ln(A,n,{get:()=>e[n],enumerable:!(r=Ti(e,n))||r.enumerable});return A};var Ri=A=>Oi(ln({},"__esModule",{value:!0}),A);var ef={};Mi(ef,{BugStash:()=>Ii,default:()=>Af});module.exports=Ri(ef);var At=[],ms=50,et=null,tt=null,rt=null,nt=null;function Xt(A){if(A.id)return`#${A.id}`;let e=A.tagName.toLowerCase(),t=A.className&&typeof A.className=="string"?"."+A.className.trim().split(/\s+/).slice(0,2).join("."):"",r=(A.textContent||"").trim().slice(0,30),n=r?` "${r}"`:"";return`${e}${t}${n}`}function vA(A){At.push(A),At.length>ms&&At.shift()}function vs(A){A&&(ms=A),et=t=>{let r=t.target;!r||!r.tagName||vA({type:"click",category:"ui",message:`Clicked ${Xt(r)}`,timestamp:Date.now(),data:{x:t.clientX,y:t.clientY,selector:Xt(r)}})},document.addEventListener("click",et,!0);let e=new WeakMap;tt=t=>{let r=t.target;if(!r||!r.tagName)return;let n=r.tagName.toLowerCase();if(n!=="input"&&n!=="textarea"&&n!=="select")return;let s=e.get(r);s&&clearTimeout(s),e.set(r,window.setTimeout(()=>{let a=r instanceof HTMLInputElement&&r.type==="password";vA({type:"input",category:"ui",message:`Input ${Xt(r)}`,timestamp:Date.now(),data:{selector:Xt(r),value:a?"[redacted]":void 0}})},300))},document.addEventListener("input",tt,!0),rt=()=>{vA({type:"navigation",category:"navigation",message:`Navigated to ${window.location.pathname}`,timestamp:Date.now(),data:{url:window.location.href}})},window.addEventListener("popstate",rt),nt=()=>{vA({type:"navigation",category:"navigation",message:`Hash changed to ${window.location.hash}`,timestamp:Date.now(),data:{url:window.location.href}})},window.addEventListener("hashchange",nt),vA({type:"navigation",category:"navigation",message:`Page loaded: ${window.location.pathname}`,timestamp:Date.now(),data:{url:window.location.href}})}function He(){return[...At]}function Fs(){At=[]}function ys(){et&&document.removeEventListener("click",et,!0),tt&&document.removeEventListener("input",tt,!0),rt&&window.removeEventListener("popstate",rt),nt&&window.removeEventListener("hashchange",nt),et=null,tt=null,rt=null,nt=null}var cn="[REDACTED]",Ni=[[/\b(?:\d[ -]*?){13,19}\b/g,"[CC_REDACTED]"],[/\b\d{3}-\d{2}-\d{4}\b/g,"[SSN_REDACTED]"],[/Bearer\s+[A-Za-z0-9\-._~+/]+=*/g,"Bearer [TOKEN_REDACTED]"],[/eyJ[A-Za-z0-9_-]+\.eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,"[JWT_REDACTED]"],[/(?:api[_-]?key|apikey|secret|token|password|passwd|authorization)['":\s=]+['"]?([A-Za-z0-9\-._~+/]{20,})['"]?/gi,A=>{let e=A.search(/[=:]/);return A.slice(0,e+1)+" "+cn}],[/AKIA[0-9A-Z]{16}/g,"[AWS_KEY_REDACTED]"],[/"(?:password|passwd|secret|token|access_token|refresh_token|api_key|apiKey|private_key)":\s*"[^"]*"/gi,A=>{let e=A.indexOf(":");return A.slice(0,e+1)+' "'+cn+'"'}]];function Ie(A){let e=A;for(let[t,r]of Ni)e=e.replace(t,r);return e}function Es(A){return A.map(Ie)}function Jt(A){if(typeof A=="string")return Ie(A);if(Array.isArray(A))return A.map(Jt);if(A&&typeof A=="object"){let e={};for(let[t,r]of Object.entries(A)){let n=t.toLowerCase();n.includes("password")||n.includes("secret")||n.includes("token")||n.includes("apikey")||n.includes("api_key")||n.includes("private")?e[t]=cn:e[t]=Jt(r)}return e}return A}var Wt={log:console.log,warn:console.warn,error:console.error,debug:console.debug,info:console.info},st=[],xs=50;function Gi(A){return A.map(e=>{if(e instanceof Error)return`${e.name}: ${e.message}
2
+ ${e.stack??""}`;if(typeof e=="object")try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)})}function Pi(A,e){let t={level:A,args:Es(Gi(e)),timestamp:Date.now()};A==="error"&&(t.stack=new Error().stack?.split(`
3
3
  `).slice(2).join(`
4
- `)),De.push(n),De.length>dn&&De.shift(),_({type:"console",category:`console.${e}`,message:n.args.join(" ").slice(0,200),timestamp:n.timestamp})}function pn(e){e&&(dn=e);for(let t of Object.keys(nt))console[t]=function(...n){Ls(t,n),nt[t].apply(console,n)}}function te(){return[...De]}function bn(){De=[]}function un(){for(let e of Object.keys(nt))console[e]=nt[e]}var xe=[],mn=50,st,rt,ot;function Rt(e){xe.push(e),xe.length>mn&&xe.shift(),_({type:"network",category:e.failed?"network.error":"network.ok",message:`${e.method} ${e.url} \u2192 ${e.status} (${e.duration}ms)`,timestamp:e.timestamp,data:{status:e.status,duration:e.duration}})}function gn(e){try{let t=new URL(e,window.location.origin),n=new URLSearchParams(t.search);for(let r of n.keys()){let a=r.toLowerCase();(a.includes("token")||a.includes("key")||a.includes("secret")||a.includes("password")||a.includes("auth"))&&n.set(r,"[REDACTED]")}let s=n.toString();return t.pathname+(s?"?"+s:"")}catch{return ve(e)}}function Ss(){st=window.fetch,window.fetch=async function(e,t){let n=t?.method?.toUpperCase()??"GET",s=typeof e=="string"?e:e instanceof URL?e.href:e.url,r=gn(s),a=Date.now();try{let l=await st.call(window,e,t);return Rt({method:n,url:r,status:l.status,statusText:l.statusText,duration:Date.now()-a,responseType:l.headers.get("content-type")??void 0,timestamp:a,failed:l.status>=400}),l}catch(l){throw Rt({method:n,url:r,status:0,statusText:"Network Error",duration:Date.now()-a,timestamp:a,failed:!0}),l}}}function Cs(){rt=XMLHttpRequest.prototype.open,ot=XMLHttpRequest.prototype.send,XMLHttpRequest.prototype.open=function(e,t,...n){return this.__bs_method=e.toUpperCase(),this.__bs_url=gn(typeof t=="string"?t:t.href),rt.apply(this,[e,t,...n])},XMLHttpRequest.prototype.send=function(e){let t=Date.now();return this.addEventListener("loadend",function(){Rt({method:this.__bs_method??"GET",url:this.__bs_url??"",status:this.status,statusText:this.statusText,duration:Date.now()-t,responseType:this.getResponseHeader("content-type")??void 0,timestamp:t,failed:this.status>=400||this.status===0})}),ot.call(this,e)}}function fn(e){e&&(mn=e),Ss(),Cs()}function ye(){return[...xe]}function le(){return xe.filter(e=>e.failed)}function hn(){xe=[]}function vn(){st&&(window.fetch=st),rt&&(XMLHttpRequest.prototype.open=rt),ot&&(XMLHttpRequest.prototype.send=ot)}var at=[],je=null,Oe=null;function xn(){je=e=>{let t={message:e.message||"Unknown error",source:e.filename,lineno:e.lineno,colno:e.colno,stack:e.error?.stack,type:"error",timestamp:Date.now()};at.push(t),_({type:"error",category:"exception",message:t.message,timestamp:t.timestamp,data:{source:t.source,lineno:t.lineno}})},Oe=e=>{let t=e.reason,n=t instanceof Error?t.message:typeof t=="string"?t:"Unhandled promise rejection",s={message:n,stack:t instanceof Error?t.stack:void 0,type:"unhandledrejection",timestamp:Date.now()};at.push(s),_({type:"error",category:"promise",message:n,timestamp:s.timestamp})},window.addEventListener("error",je),window.addEventListener("unhandledrejection",Oe)}function ne(){return[...at]}function yn(){at=[]}function wn(){je&&window.removeEventListener("error",je),Oe&&window.removeEventListener("unhandledrejection",Oe),je=null,Oe=null}var $=null,it=null,lt=null,ct=null;function kn(){if($={timestamp:Date.now()},performance.getEntriesByType){let e=()=>{let[t]=performance.getEntriesByType("navigation");t&&$&&($.pageLoadTime=Math.round(t.loadEventEnd-t.startTime),$.domContentLoaded=Math.round(t.domContentLoadedEventEnd-t.startTime));let n=performance.getEntriesByType("paint");for(let r of n)r.name==="first-paint"&&$&&($.firstPaint=Math.round(r.startTime)),r.name==="first-contentful-paint"&&$&&($.firstContentfulPaint=Math.round(r.startTime));$&&($.resourceCount=performance.getEntriesByType("resource").length);let s=performance.memory;s&&$&&($.memoryUsage={usedJSHeapSize:s.usedJSHeapSize,totalJSHeapSize:s.totalJSHeapSize})};document.readyState==="complete"?setTimeout(e,0):window.addEventListener("load",()=>setTimeout(e,100))}if(typeof PerformanceObserver<"u"){try{it=new PerformanceObserver(e=>{let t=e.getEntries(),n=t[t.length-1];n&&$&&($.largestContentfulPaint=Math.round(n.startTime))}),it.observe({type:"largest-contentful-paint",buffered:!0})}catch{}try{let e=0;lt=new PerformanceObserver(t=>{for(let n of t.getEntries())n.hadRecentInput||(e+=n.value);$&&($.cumulativeLayoutShift=Math.round(e*1e3)/1e3)}),lt.observe({type:"layout-shift",buffered:!0})}catch{}try{ct=new PerformanceObserver(e=>{let[t]=e.getEntries();t&&$&&($.firstInputDelay=Math.round(t.processingStart-t.startTime))}),ct.observe({type:"first-input",buffered:!0})}catch{}}}function we(){return $&&($.timestamp=Date.now()),$?{...$}:null}function En(){it?.disconnect(),lt?.disconnect(),ct?.disconnect(),it=null,lt=null,ct=null,$=null}function Ts(){let e=document.createElement("div");if(e.style.cssText=`
4
+ `)),st.push(t),st.length>xs&&st.shift(),vA({type:"console",category:`console.${A}`,message:t.args.join(" ").slice(0,200),timestamp:t.timestamp})}function Hs(A){A&&(xs=A);for(let e of Object.keys(Wt))console[e]=function(...t){Pi(e,t),Wt[e].apply(console,t)}}function jA(){return[...st]}function Is(){st=[]}function Ls(){for(let A of Object.keys(Wt))console[A]=Wt[A]}var Le=[],Ks=50,Yt,zt,$t;function Bn(A){Le.push(A),Le.length>Ks&&Le.shift(),vA({type:"network",category:A.failed?"network.error":"network.ok",message:`${A.method} ${A.url} \u2192 ${A.status} (${A.duration}ms)`,timestamp:A.timestamp,data:{status:A.status,duration:A.duration}})}function Ss(A){try{let e=new URL(A,window.location.origin),t=new URLSearchParams(e.search);for(let n of t.keys()){let s=n.toLowerCase();(s.includes("token")||s.includes("key")||s.includes("secret")||s.includes("password")||s.includes("auth"))&&t.set(n,"[REDACTED]")}let r=t.toString();return e.pathname+(r?"?"+r:"")}catch{return Ie(A)}}function Vi(){Yt=window.fetch,window.fetch=async function(A,e){let t=e?.method?.toUpperCase()??"GET",r=typeof A=="string"?A:A instanceof URL?A.href:A.url,n=Ss(r),s=Date.now();try{let a=await Yt.call(window,A,e);return Bn({method:t,url:n,status:a.status,statusText:a.statusText,duration:Date.now()-s,responseType:a.headers.get("content-type")??void 0,timestamp:s,failed:a.status>=400}),a}catch(a){throw Bn({method:t,url:n,status:0,statusText:"Network Error",duration:Date.now()-s,timestamp:s,failed:!0}),a}}}function _i(){zt=XMLHttpRequest.prototype.open,$t=XMLHttpRequest.prototype.send,XMLHttpRequest.prototype.open=function(A,e,...t){return this.__bs_method=A.toUpperCase(),this.__bs_url=Ss(typeof e=="string"?e:e.href),zt.apply(this,[A,e,...t])},XMLHttpRequest.prototype.send=function(A){let e=Date.now();return this.addEventListener("loadend",function(){Bn({method:this.__bs_method??"GET",url:this.__bs_url??"",status:this.status,statusText:this.statusText,duration:Date.now()-e,responseType:this.getResponseHeader("content-type")??void 0,timestamp:e,failed:this.status>=400||this.status===0})}),$t.call(this,A)}}function Ts(A){A&&(Ks=A),Vi(),_i()}function Ke(){return[...Le]}function ie(){return Le.filter(A=>A.failed)}function Ds(){Le=[]}function ks(){Yt&&(window.fetch=Yt),zt&&(XMLHttpRequest.prototype.open=zt),$t&&(XMLHttpRequest.prototype.send=$t)}var Zt=[],at=null,ot=null;function Ms(){at=A=>{let e={message:A.message||"Unknown error",source:A.filename,lineno:A.lineno,colno:A.colno,stack:A.error?.stack,type:"error",timestamp:Date.now()};Zt.push(e),vA({type:"error",category:"exception",message:e.message,timestamp:e.timestamp,data:{source:e.source,lineno:e.lineno}})},ot=A=>{let e=A.reason,t=e instanceof Error?e.message:typeof e=="string"?e:"Unhandled promise rejection",r={message:t,stack:e instanceof Error?e.stack:void 0,type:"unhandledrejection",timestamp:Date.now()};Zt.push(r),vA({type:"error",category:"promise",message:t,timestamp:r.timestamp})},window.addEventListener("error",at),window.addEventListener("unhandledrejection",ot)}function qA(){return[...Zt]}function Os(){Zt=[]}function Rs(){at&&window.removeEventListener("error",at),ot&&window.removeEventListener("unhandledrejection",ot),at=null,ot=null}var W=null,jt=null,qt=null,Ar=null;function Ns(){if(W={timestamp:Date.now()},performance.getEntriesByType){let A=()=>{let[e]=performance.getEntriesByType("navigation");e&&W&&(W.pageLoadTime=Math.round(e.loadEventEnd-e.startTime),W.domContentLoaded=Math.round(e.domContentLoadedEventEnd-e.startTime));let t=performance.getEntriesByType("paint");for(let n of t)n.name==="first-paint"&&W&&(W.firstPaint=Math.round(n.startTime)),n.name==="first-contentful-paint"&&W&&(W.firstContentfulPaint=Math.round(n.startTime));W&&(W.resourceCount=performance.getEntriesByType("resource").length);let r=performance.memory;r&&W&&(W.memoryUsage={usedJSHeapSize:r.usedJSHeapSize,totalJSHeapSize:r.totalJSHeapSize})};document.readyState==="complete"?setTimeout(A,0):window.addEventListener("load",()=>setTimeout(A,100))}if(typeof PerformanceObserver<"u"){try{jt=new PerformanceObserver(A=>{let e=A.getEntries(),t=e[e.length-1];t&&W&&(W.largestContentfulPaint=Math.round(t.startTime))}),jt.observe({type:"largest-contentful-paint",buffered:!0})}catch{}try{let A=0;qt=new PerformanceObserver(e=>{for(let t of e.getEntries())t.hadRecentInput||(A+=t.value);W&&(W.cumulativeLayoutShift=Math.round(A*1e3)/1e3)}),qt.observe({type:"layout-shift",buffered:!0})}catch{}try{Ar=new PerformanceObserver(A=>{let[e]=A.getEntries();e&&W&&(W.firstInputDelay=Math.round(e.processingStart-e.startTime))}),Ar.observe({type:"first-input",buffered:!0})}catch{}}}function Se(){return W&&(W.timestamp=Date.now()),W?{...W}:null}function Gs(){jt?.disconnect(),qt?.disconnect(),Ar?.disconnect(),jt=null,qt=null,Ar=null,W=null}var Sn=function(A,e){return Sn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Sn(A,e)};function PA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Sn(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Tn=function(){return Tn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Tn.apply(this,arguments)};function bA(A,e,t,r){function n(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function i(c){try{l(r.next(c))}catch(B){a(B)}}function o(c){try{l(r.throw(c))}catch(B){a(B)}}function l(c){c.done?s(c.value):n(c.value).then(i,o)}l((r=r.apply(A,e||[])).next())})}function pA(A,e){var t={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,n,s,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(l){return function(c){return o([l,c])}}function o(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(s=l[0]&2?n.return:l[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,l[1])).done)return s;switch(n=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(s=t.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){t.label=l[1];break}if(l[0]===6&&t.label<s[1]){t.label=s[1],s=l;break}if(s&&t.label<s[2]){t.label=s[2],t.ops.push(l);break}s[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(c){l=[6,c],n=0}finally{r=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function er(A,e,t){if(t||arguments.length===2)for(var r=0,n=e.length,s;r<n;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return A.concat(s||e)}var re=(function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),Sr=function(A,e){return re.fromClientRect(A,e.getBoundingClientRect())},Xi=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new re(0,0,r,n)},Tr=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var s=A.charCodeAt(t++);(s&64512)===56320?e.push(((n&1023)<<10)+(s&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},Z=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,s="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Ps="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ji=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(it=0;it<Ps.length;it++)Ji[Ps.charCodeAt(it)]=it;var it,Vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(lt=0;lt<Vs.length;lt++)wt[Vs.charCodeAt(lt)]=lt;var lt,Wi=function(A){var e=A.length*.75,t=A.length,r,n=0,s,a,i,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)s=wt[A.charCodeAt(r)],a=wt[A.charCodeAt(r+1)],i=wt[A.charCodeAt(r+2)],o=wt[A.charCodeAt(r+3)],c[n++]=s<<2|a>>4,c[n++]=(a&15)<<4|i>>2,c[n++]=(i&3)<<6|o&63;return l},Yi=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},zi=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ve=5,ts=11,un=2,$i=ts-ve,Ga=65536>>ve,Zi=1<<ve,gn=Zi-1,ji=1024>>ve,qi=Ga+ji,Al=qi,el=32,tl=Al+el,rl=65536>>ts,nl=1<<$i,sl=nl-1,_s=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},al=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},ol=function(A,e){var t=Wi(A),r=Array.isArray(t)?zi(t):new Uint32Array(t),n=Array.isArray(t)?Yi(t):new Uint16Array(t),s=24,a=_s(n,s/2,r[4]/2),i=r[5]===2?_s(n,(s+r[4])/2):al(r,Math.ceil((s+r[4])/4));return new il(r[0],r[1],r[2],r[3],a,i)},il=(function(){function A(e,t,r,n,s,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=s,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ve],t=(t<<un)+(e&gn),this.data[t];if(e<=65535)return t=this.index[Ga+(e-55296>>ve)],t=(t<<un)+(e&gn),this.data[t];if(e<this.highStart)return t=tl-rl+(e>>ts),t=this.index[t],t+=e>>ve&sl,t=this.index[t],t=(t<<un)+(e&gn),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),Xs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ll=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(ct=0;ct<Xs.length;ct++)ll[Xs.charCodeAt(ct)]=ct;var ct,cl="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3g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LAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLA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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3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AcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAG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AEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAe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B4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVw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QABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4A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AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Js=50,Bl=1,Pa=2,Va=3,ul=4,gl=5,Ws=7,_a=8,Ys=9,ue=10,Dn=11,zs=12,kn=13,dl=14,ht=15,Mn=16,tr=17,Bt=18,fl=19,$s=20,On=21,ut=22,dn=23,Te=24,LA=25,bt=26,Qt=27,De=28,pl=29,Ue=30,wl=31,rr=32,nr=33,Rn=34,Nn=35,Gn=36,Ht=37,Pn=38,br=39,Qr=40,fn=41,Xa=42,hl=43,bl=[9001,65288],Ja="!",M="\xD7",sr="\xF7",Vn=ol(cl),Ae=[Ue,Gn],_n=[Bl,Pa,Va,gl],Wa=[ue,_a],Zs=[Qt,bt],Ql=_n.concat(Wa),js=[Pn,br,Qr,Rn,Nn],Cl=[ht,kn],Ul=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(s,a){var i=Vn.get(s);if(i>Js?(n.push(!0),i-=Js):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return r.push(a),t.push(Mn);if(i===ul||i===Dn){if(a===0)return r.push(a),t.push(Ue);var o=t[a-1];return Ql.indexOf(o)===-1?(r.push(r[a-1]),t.push(o)):(r.push(a),t.push(Ue))}if(r.push(a),i===wl)return t.push(e==="strict"?On:Ht);if(i===Xa||i===pl)return t.push(Ue);if(i===hl)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(Ht):t.push(Ue);t.push(i)}),[r,t,n]},pn=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var s=t;s<=r.length;){s++;var a=r[s];if(a===e)return!0;if(a!==ue)break}if(n===ue)for(var s=t;s>0;){s--;var i=r[s];if(Array.isArray(A)?A.indexOf(i)!==-1:A===i)for(var o=t;o<=r.length;){o++;var a=r[o];if(a===e)return!0;if(a!==ue)break}if(i!==ue)break}return!1},qs=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===ue)t--;else return r}return 0},ml=function(A,e,t,r,n){if(t[r]===0)return M;var s=r-1;if(Array.isArray(n)&&n[s]===!0)return M;var a=s-1,i=s+1,o=e[s],l=a>=0?e[a]:0,c=e[i];if(o===Pa&&c===Va)return M;if(_n.indexOf(o)!==-1)return Ja;if(_n.indexOf(c)!==-1||Wa.indexOf(c)!==-1)return M;if(qs(s,e)===_a)return sr;if(Vn.get(A[s])===Dn||(o===rr||o===nr)&&Vn.get(A[i])===Dn||o===Ws||c===Ws||o===Ys||[ue,kn,ht].indexOf(o)===-1&&c===Ys||[tr,Bt,fl,Te,De].indexOf(c)!==-1||qs(s,e)===ut||pn(dn,ut,s,e)||pn([tr,Bt],On,s,e)||pn(zs,zs,s,e))return M;if(o===ue)return sr;if(o===dn||c===dn)return M;if(c===Mn||o===Mn)return sr;if([kn,ht,On].indexOf(c)!==-1||o===dl||l===Gn&&Cl.indexOf(o)!==-1||o===De&&c===Gn||c===$s||Ae.indexOf(c)!==-1&&o===LA||Ae.indexOf(o)!==-1&&c===LA||o===Qt&&[Ht,rr,nr].indexOf(c)!==-1||[Ht,rr,nr].indexOf(o)!==-1&&c===bt||Ae.indexOf(o)!==-1&&Zs.indexOf(c)!==-1||Zs.indexOf(o)!==-1&&Ae.indexOf(c)!==-1||[Qt,bt].indexOf(o)!==-1&&(c===LA||[ut,ht].indexOf(c)!==-1&&e[i+1]===LA)||[ut,ht].indexOf(o)!==-1&&c===LA||o===LA&&[LA,De,Te].indexOf(c)!==-1)return M;if([LA,De,Te,tr,Bt].indexOf(c)!==-1)for(var B=s;B>=0;){var g=e[B];if(g===LA)return M;if([De,Te].indexOf(g)!==-1)B--;else break}if([Qt,bt].indexOf(c)!==-1)for(var B=[tr,Bt].indexOf(o)!==-1?a:s;B>=0;){var g=e[B];if(g===LA)return M;if([De,Te].indexOf(g)!==-1)B--;else break}if(Pn===o&&[Pn,br,Rn,Nn].indexOf(c)!==-1||[br,Rn].indexOf(o)!==-1&&[br,Qr].indexOf(c)!==-1||[Qr,Nn].indexOf(o)!==-1&&c===Qr||js.indexOf(o)!==-1&&[$s,bt].indexOf(c)!==-1||js.indexOf(c)!==-1&&o===Qt||Ae.indexOf(o)!==-1&&Ae.indexOf(c)!==-1||o===Te&&Ae.indexOf(c)!==-1||Ae.concat(LA).indexOf(o)!==-1&&c===ut&&bl.indexOf(A[i])===-1||Ae.concat(LA).indexOf(c)!==-1&&o===Bt)return M;if(o===fn&&c===fn){for(var p=t[s],f=1;p>0&&(p--,e[p]===fn);)f++;if(f%2!==0)return M}return o===rr&&c===nr?M:sr},vl=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=Ul(A,e.lineBreak),r=t[0],n=t[1],s=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(i){return[LA,Ue,Xa].indexOf(i)!==-1?Ht:i}));var a=e.wordBreak==="keep-all"?s.map(function(i,o){return i&&A[o]>=19968&&A[o]<=40959}):void 0;return[r,n,a]},Fl=(function(){function A(e,t,r,n){this.codePoints=e,this.required=t===Ja,this.start=r,this.end=n}return A.prototype.slice=function(){return Z.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),yl=function(A,e){var t=Tr(A),r=vl(t,e),n=r[0],s=r[1],a=r[2],i=t.length,o=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var c=M;l<i&&(c=ml(t,s,n,++l,a))===M;);if(c!==M||l===i){var B=new Fl(t,c,o,l);return o=l,{value:B,done:!1}}return{done:!0,value:null}}}},El=1,xl=2,Kt=4,Aa=8,mr=10,ea=47,vt=92,Hl=9,Il=32,ar=34,gt=61,Ll=35,Kl=36,Sl=37,or=39,ir=40,dt=41,Tl=95,FA=45,Dl=33,kl=60,Ml=62,Ol=64,Rl=91,Nl=93,Gl=61,Pl=123,lr=63,Vl=125,ta=124,_l=126,Xl=128,ra=65533,wn=42,me=43,Jl=44,Wl=58,Yl=59,It=46,zl=0,$l=8,Zl=11,jl=14,ql=31,Ac=127,JA=-1,Ya=48,za=97,$a=101,ec=102,tc=117,rc=122,Za=65,ja=69,qa=70,nc=85,sc=90,wA=function(A){return A>=Ya&&A<=57},ac=function(A){return A>=55296&&A<=57343},ke=function(A){return wA(A)||A>=Za&&A<=qa||A>=za&&A<=ec},oc=function(A){return A>=za&&A<=rc},ic=function(A){return A>=Za&&A<=sc},lc=function(A){return oc(A)||ic(A)},cc=function(A){return A>=Xl},cr=function(A){return A===mr||A===Hl||A===Il},vr=function(A){return lc(A)||cc(A)||A===Tl},na=function(A){return vr(A)||wA(A)||A===FA},Bc=function(A){return A>=zl&&A<=$l||A===Zl||A>=jl&&A<=ql||A===Ac},Be=function(A,e){return A!==vt?!1:e!==mr},Br=function(A,e,t){return A===FA?vr(e)||Be(e,t):vr(A)?!0:!!(A===vt&&Be(A,e))},hn=function(A,e,t){return A===me||A===FA?wA(e)?!0:e===It&&wA(t):wA(A===It?e:A)},uc=function(A){var e=0,t=1;(A[e]===me||A[e]===FA)&&(A[e]===FA&&(t=-1),e++);for(var r=[];wA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(Z.apply(void 0,r),10):0;A[e]===It&&e++;for(var s=[];wA(A[e]);)s.push(A[e++]);var a=s.length,i=a?parseInt(Z.apply(void 0,s),10):0;(A[e]===ja||A[e]===$a)&&e++;var o=1;(A[e]===me||A[e]===FA)&&(A[e]===FA&&(o=-1),e++);for(var l=[];wA(A[e]);)l.push(A[e++]);var c=l.length?parseInt(Z.apply(void 0,l),10):0;return t*(n+i*Math.pow(10,-a))*Math.pow(10,o*c)},gc={type:2},dc={type:3},fc={type:4},pc={type:13},wc={type:8},hc={type:21},bc={type:9},Qc={type:10},Cc={type:11},Uc={type:12},mc={type:14},ur={type:23},vc={type:1},Fc={type:25},yc={type:24},Ec={type:26},xc={type:27},Hc={type:28},Ic={type:29},Lc={type:31},Xn={type:32},Ao=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Tr(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Xn;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case ar:return this.consumeStringToken(ar);case Ll:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(na(t)||Be(r,n)){var s=Br(t,r,n)?xl:El,a=this.consumeName();return{type:5,value:a,flags:s}}break;case Kl:if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),pc;break;case or:return this.consumeStringToken(or);case ir:return gc;case dt:return dc;case wn:if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),mc;break;case me:if(hn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Jl:return fc;case FA:var i=e,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(hn(i,o,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Br(i,o,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(o===FA&&l===Ml)return this.consumeCodePoint(),this.consumeCodePoint(),yc;break;case It:if(hn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case ea:if(this.peekCodePoint(0)===wn)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===wn&&(c=this.consumeCodePoint(),c===ea))return this.consumeToken();if(c===JA)return this.consumeToken()}break;case Wl:return Ec;case Yl:return xc;case kl:if(this.peekCodePoint(0)===Dl&&this.peekCodePoint(1)===FA&&this.peekCodePoint(2)===FA)return this.consumeCodePoint(),this.consumeCodePoint(),Fc;break;case Ol:var B=this.peekCodePoint(0),g=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Br(B,g,p)){var a=this.consumeName();return{type:7,value:a}}break;case Rl:return Hc;case vt:if(Be(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Nl:return Ic;case Gl:if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),wc;break;case Pl:return Cc;case Vl:return Uc;case tc:case nc:var f=this.peekCodePoint(0),h=this.peekCodePoint(1);return f===me&&(ke(h)||h===lr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case ta:if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),bc;if(this.peekCodePoint(0)===ta)return this.consumeCodePoint(),hc;break;case _l:if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),Qc;break;case JA:return Xn}return cr(e)?(this.consumeWhiteSpace(),Lc):wA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):vr(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:Z(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();ke(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===lr&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(Z.apply(void 0,e.map(function(o){return o===lr?Ya:o})),16),s=parseInt(Z.apply(void 0,e.map(function(o){return o===lr?qa:o})),16);return{type:30,start:n,end:s}}var a=parseInt(Z.apply(void 0,e),16);if(this.peekCodePoint(0)===FA&&ke(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];ke(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();var s=parseInt(Z.apply(void 0,i),16);return{type:30,start:a,end:s}}else return{type:30,start:a,end:a}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===ir?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ir?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===JA)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===or||t===ar){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===JA||this.peekCodePoint(0)===dt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),ur)}for(;;){var n=this.consumeCodePoint();if(n===JA||n===dt)return{type:22,value:Z.apply(void 0,e)};if(cr(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===JA||this.peekCodePoint(0)===dt?(this.consumeCodePoint(),{type:22,value:Z.apply(void 0,e)}):(this.consumeBadUrlRemnants(),ur);if(n===ar||n===or||n===ir||Bc(n))return this.consumeBadUrlRemnants(),ur;if(n===vt)if(Be(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ur;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;cr(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===dt||e===JA)return;Be(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=Z.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===JA||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===mr)return this._value.splice(0,r),vc;if(n===vt){var s=this._value[r+1];s!==JA&&s!==void 0&&(s===mr?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Be(n,s)&&(t+=this.consumeStringSlice(r),t+=Z(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Kt,r=this.peekCodePoint(0);for((r===me||r===FA)&&e.push(this.consumeCodePoint());wA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===It&&wA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Aa;wA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((r===ja||r===$a)&&((n===me||n===FA)&&wA(s)||wA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Aa;wA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[uc(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),a=this.peekCodePoint(2);if(Br(n,s,a)){var i=this.consumeName();return{type:15,number:t,flags:r,unit:i}}return n===Sl?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ke(e)){for(var t=Z(e);ke(this.peekCodePoint(0))&&t.length<6;)t+=Z(this.consumeCodePoint());cr(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||ac(r)||r>1114111?ra:r}return e===JA?ra:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(na(t))e+=Z(t);else if(Be(t,this.peekCodePoint(0)))e+=Z(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),eo=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Ao;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||Sc(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Xn:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),St=function(A){return A.type===15},Xe=function(A){return A.type===17},N=function(A){return A.type===20},Kc=function(A){return A.type===0},Jn=function(A,e){return N(A)&&A.value===e},to=function(A){return A.type!==31},_e=function(A){return A.type!==31&&A.type!==4},WA=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},Sc=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},we=function(A){return A.type===17||A.type===15},q=function(A){return A.type===16||we(A)},ro=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},gA={type:17,number:0,flags:Kt},rs={type:16,number:50,flags:Kt},ge={type:16,number:100,flags:Kt},Ct=function(A,e,t){var r=A[0],n=A[1];return[V(r,e),V(typeof n<"u"?n:r,t)]},V=function(A,e){if(A.type===16)return A.number/100*e;if(St(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},no="deg",so="grad",ao="rad",oo="turn",Dr={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case no:return Math.PI*e.number/180;case so:return Math.PI/200*e.number;case ao:return e.number;case oo:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},io=function(A){return A.type===15&&(A.unit===no||A.unit===so||A.unit===ao||A.unit===oo)},lo=function(A){var e=A.filter(N).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[gA,gA];case"to top":case"bottom":return DA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[gA,ge];case"to right":case"left":return DA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ge,ge];case"to bottom":case"top":return DA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ge,gA];case"to left":case"right":return DA(270)}return 0},DA=function(A){return Math.PI*A/180},fe={name:"color",parse:function(A,e){if(e.type===18){var t=Tc[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3);return de(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3),a=e.value.substring(3,4);return de(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(a+a,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6);return de(parseInt(r,16),parseInt(n,16),parseInt(s,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6),a=e.value.substring(6,8);return de(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(a,16)/255)}}if(e.type===20){var i=te[e.value.toUpperCase()];if(typeof i<"u")return i}return te.TRANSPARENT}},pe=function(A){return(255&A)===0},oA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},de=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},sa=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},aa=function(A,e){var t=e.filter(_e);if(t.length===3){var r=t.map(sa),n=r[0],s=r[1],a=r[2];return de(n,s,a,1)}if(t.length===4){var i=t.map(sa),n=i[0],s=i[1],a=i[2],o=i[3];return de(n,s,a,o)}return 0};function bn(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var oa=function(A,e){var t=e.filter(_e),r=t[0],n=t[1],s=t[2],a=t[3],i=(r.type===17?DA(r.number):Dr.parse(A,r))/(Math.PI*2),o=q(n)?n.number/100:0,l=q(s)?s.number/100:0,c=typeof a<"u"&&q(a)?V(a,1):1;if(o===0)return de(l*255,l*255,l*255,1);var B=l<=.5?l*(o+1):l+o-l*o,g=l*2-B,p=bn(g,B,i+1/3),f=bn(g,B,i),h=bn(g,B,i-1/3);return de(p*255,f*255,h*255,c)},Tc={hsl:oa,hsla:oa,rgb:aa,rgba:aa},Ft=function(A,e){return fe.parse(A,eo.create(e).parseComponentValue())},te={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},Dc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(N(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},kc={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},kr=function(A,e){var t=fe.parse(A,e[0]),r=e[1];return r&&q(r)?{color:t,stop:r}:{color:t,stop:null}},ia=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=gA),r.stop===null&&(r.stop=ge);for(var n=[],s=0,a=0;a<A.length;a++){var i=A[a].stop;if(i!==null){var o=V(i,e);o>s?n.push(o):n.push(s),s=o}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var c=n[a];if(c===null)l===null&&(l=a);else if(l!==null){for(var B=a-l,g=n[l-1],p=(c-g)/(B+1),f=1;f<=B;f++)n[l+f-1]=p*f;l=null}}return A.map(function(h,y){var b=h.color;return{color:b,stop:Math.max(Math.min(1,n[y]/e),0)}})},Mc=function(A,e,t){var r=e/2,n=t/2,s=V(A[0],e)-r,a=n-V(A[1],t);return(Math.atan2(a,s)+Math.PI*2)%(Math.PI*2)},Oc=function(A,e,t){var r=typeof A=="number"?A:Mc(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),s=e/2,a=t/2,i=n/2,o=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[n,s-l,s+l,a-o,a+o]},GA=function(A,e){return Math.sqrt(A*A+e*e)},la=function(A,e,t,r,n){var s=[[0,0],[0,e],[A,0],[A,e]];return s.reduce(function(a,i){var o=i[0],l=i[1],c=GA(t-o,r-l);return(n?c<a.optimumDistance:c>a.optimumDistance)?{optimumCorner:i,optimumDistance:c}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Rc=function(A,e,t,r,n){var s=0,a=0;switch(A.size){case 0:A.shape===0?s=a=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.min(Math.abs(e),Math.abs(e-r)),a=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)s=a=Math.min(GA(e,t),GA(e,t-n),GA(e-r,t),GA(e-r,t-n));else if(A.shape===1){var i=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),o=la(r,n,e,t,!0),l=o[0],c=o[1];s=GA(l-e,(c-t)/i),a=i*s}break;case 1:A.shape===0?s=a=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.max(Math.abs(e),Math.abs(e-r)),a=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)s=a=Math.max(GA(e,t),GA(e,t-n),GA(e-r,t),GA(e-r,t-n));else if(A.shape===1){var i=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),B=la(r,n,e,t,!1),l=B[0],c=B[1];s=GA(l-e,(c-t)/i),a=i*s}break}return Array.isArray(A.size)&&(s=V(A.size[0],r),a=A.size.length===2?V(A.size[1],n):s),[s,a]},Nc=function(A,e){var t=DA(180),r=[];return WA(e).forEach(function(n,s){if(s===0){var a=n[0];if(a.type===20&&a.value==="to"){t=lo(n);return}else if(io(a)){t=Dr.parse(A,a);return}}var i=kr(A,n);r.push(i)}),{angle:t,stops:r,type:1}},gr=function(A,e){var t=DA(180),r=[];return WA(e).forEach(function(n,s){if(s===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){t=lo(n);return}else if(io(a)){t=(Dr.parse(A,a)+DA(270))%DA(360);return}}var i=kr(A,n);r.push(i)}),{angle:t,stops:r,type:1}},Gc=function(A,e){var t=DA(180),r=[],n=1,s=0,a=3,i=[];return WA(e).forEach(function(o,l){var c=o[0];if(l===0){if(N(c)&&c.value==="linear"){n=1;return}else if(N(c)&&c.value==="radial"){n=2;return}}if(c.type===18){if(c.name==="from"){var B=fe.parse(A,c.values[0]);r.push({stop:gA,color:B})}else if(c.name==="to"){var B=fe.parse(A,c.values[0]);r.push({stop:ge,color:B})}else if(c.name==="color-stop"){var g=c.values.filter(_e);if(g.length===2){var B=fe.parse(A,g[1]),p=g[0];Xe(p)&&r.push({stop:{type:16,number:p.number*100,flags:p.flags},color:B})}}}}),n===1?{angle:(t+DA(180))%DA(360),stops:r,type:n}:{size:a,shape:s,stops:r,position:i,type:n}},co="closest-side",Bo="farthest-side",uo="closest-corner",go="farthest-corner",fo="circle",po="ellipse",wo="cover",ho="contain",Pc=function(A,e){var t=0,r=3,n=[],s=[];return WA(e).forEach(function(a,i){var o=!0;if(i===0){var l=!1;o=a.reduce(function(B,g){if(l)if(N(g))switch(g.value){case"center":return s.push(rs),B;case"top":case"left":return s.push(gA),B;case"right":case"bottom":return s.push(ge),B}else(q(g)||we(g))&&s.push(g);else if(N(g))switch(g.value){case fo:return t=0,!1;case po:return t=1,!1;case"at":return l=!0,!1;case co:return r=0,!1;case wo:case Bo:return r=1,!1;case ho:case uo:return r=2,!1;case go:return r=3,!1}else if(we(g)||q(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return B},o)}if(o){var c=kr(A,a);n.push(c)}}),{size:r,shape:t,stops:n,position:s,type:2}},dr=function(A,e){var t=0,r=3,n=[],s=[];return WA(e).forEach(function(a,i){var o=!0;if(i===0?o=a.reduce(function(c,B){if(N(B))switch(B.value){case"center":return s.push(rs),!1;case"top":case"left":return s.push(gA),!1;case"right":case"bottom":return s.push(ge),!1}else if(q(B)||we(B))return s.push(B),!1;return c},o):i===1&&(o=a.reduce(function(c,B){if(N(B))switch(B.value){case fo:return t=0,!1;case po:return t=1,!1;case ho:case co:return r=0,!1;case Bo:return r=1,!1;case uo:return r=2,!1;case wo:case go:return r=3,!1}else if(we(B)||q(B))return Array.isArray(r)||(r=[]),r.push(B),!1;return c},o)),o){var l=kr(A,a);n.push(l)}}),{size:r,shape:t,stops:n,position:s,type:2}},Vc=function(A){return A.type===1},_c=function(A){return A.type===2},ns={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=bo[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function Xc(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!bo[A.name])}var bo={"linear-gradient":Nc,"-moz-linear-gradient":gr,"-ms-linear-gradient":gr,"-o-linear-gradient":gr,"-webkit-linear-gradient":gr,"radial-gradient":Pc,"-moz-radial-gradient":dr,"-ms-radial-gradient":dr,"-o-radial-gradient":dr,"-webkit-radial-gradient":dr,"-webkit-gradient":Gc},Jc={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return _e(r)&&Xc(r)}).map(function(r){return ns.parse(A,r)})}},Wc={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(N(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Yc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return WA(e).map(function(t){return t.filter(q)}).map(ro)}},zc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return WA(e).map(function(t){return t.filter(N).map(function(r){return r.value}).join(" ")}).map($c)}},$c=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Ve;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Ve||(Ve={}));var Zc={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return WA(e).map(function(t){return t.filter(jc)})}},jc=function(A){return N(A)||q(A)},Mr=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},qc=Mr("top"),AB=Mr("right"),eB=Mr("bottom"),tB=Mr("left"),Or=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return ro(t.filter(q))}}},rB=Or("top-left"),nB=Or("top-right"),sB=Or("bottom-right"),aB=Or("bottom-left"),Rr=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},oB=Rr("top"),iB=Rr("right"),lB=Rr("bottom"),cB=Rr("left"),Nr=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return St(t)?t.number:0}}},BB=Nr("top"),uB=Nr("right"),gB=Nr("bottom"),dB=Nr("left"),fB={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pB={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return e==="rtl"?1:0}},wB={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(N).reduce(function(t,r){return t|hB(r.value)},0)}},hB=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 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},bB={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},QB={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Fr;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Fr||(Fr={}));var CB={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="strict"?Fr.STRICT:Fr.NORMAL}},UB={name:"line-height",initialValue:"normal",prefix:!1,type:4},ca=function(A,e){return N(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:q(A)?V(A,e):e},mB={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:ns.parse(A,e)}},vB={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return e==="inside"?0:1}},Wn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Gr=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},FB=Gr("top"),yB=Gr("right"),EB=Gr("bottom"),xB=Gr("left"),HB={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(N).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},IB={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return e==="break-word"?"break-word":"normal"}},Pr=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},LB=Pr("top"),KB=Pr("right"),SB=Pr("bottom"),TB=Pr("left"),DB={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},kB={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},MB={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Jn(e[0],"none")?[]:WA(e).map(function(t){for(var r={color:te.TRANSPARENT,offsetX:gA,offsetY:gA,blur:gA},n=0,s=0;s<t.length;s++){var a=t[s];we(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=fe.parse(A,a)}return r})}},OB={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},RB={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=PB[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},NB=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},GB=function(A){var e=A.filter(function(o){return o.type===17}).map(function(o){return o.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],i=e[13];return e[14],e[15],e.length===16?[t,r,n,s,a,i]:null},PB={matrix:NB,matrix3d:GB},Ba={type:16,number:50,flags:Kt},VB=[Ba,Ba],_B={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(q);return t.length!==2?VB:[t[0],t[1]]}},XB={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},yt;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(yt||(yt={}));var JB={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return yt.BREAK_ALL;case"keep-all":return yt.KEEP_ALL;default:return yt.NORMAL}}},WB={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Xe(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Qo={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},YB={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Xe(e)?e.number:1}},zB={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$B={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(N).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},ZB={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},jB={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},qB={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return Xe(e)?e.number:N(e)&&e.value==="bold"?700:400}},Au={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(N).map(function(t){return t.value})}},eu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},rA=function(A,e){return(A&e)!==0},tu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},ru={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(to),s=0;s<n.length;s++){var a=n[s],i=n[s+1];if(a.type===20){var o=i&&Xe(i)?i.number:1;r.push({counter:a.value,increment:o})}}return r}},nu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(to),n=0;n<r.length;n++){var s=r[n],a=r[n+1];if(N(s)&&s.value!=="none"){var i=a&&Xe(a)?a.number:0;t.push({counter:s.value,reset:i})}}return t}},su={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(St).map(function(t){return Qo.parse(A,t)})}},au={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(Kc);if(n.length%2!==0)return null;for(var s=0;s<n.length;s+=2){var a=n[s].value,i=n[s+1].value;r.push({open:a,close:i})}return r}},ua=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},ou={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Jn(e[0],"none")?[]:WA(e).map(function(t){for(var r={color:255,offsetX:gA,offsetY:gA,blur:gA,spread:gA,inset:!1},n=0,s=0;s<t.length;s++){var a=t[s];Jn(a,"inset")?r.inset=!0:we(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=fe.parse(A,a)}return r})}},iu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(N).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},lu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},cu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return St(e)?e.number:0}},Bu=(function(){function A(e,t){var r,n;this.animationDuration=m(e,su,t.animationDuration),this.backgroundClip=m(e,Dc,t.backgroundClip),this.backgroundColor=m(e,kc,t.backgroundColor),this.backgroundImage=m(e,Jc,t.backgroundImage),this.backgroundOrigin=m(e,Wc,t.backgroundOrigin),this.backgroundPosition=m(e,Yc,t.backgroundPosition),this.backgroundRepeat=m(e,zc,t.backgroundRepeat),this.backgroundSize=m(e,Zc,t.backgroundSize),this.borderTopColor=m(e,qc,t.borderTopColor),this.borderRightColor=m(e,AB,t.borderRightColor),this.borderBottomColor=m(e,eB,t.borderBottomColor),this.borderLeftColor=m(e,tB,t.borderLeftColor),this.borderTopLeftRadius=m(e,rB,t.borderTopLeftRadius),this.borderTopRightRadius=m(e,nB,t.borderTopRightRadius),this.borderBottomRightRadius=m(e,sB,t.borderBottomRightRadius),this.borderBottomLeftRadius=m(e,aB,t.borderBottomLeftRadius),this.borderTopStyle=m(e,oB,t.borderTopStyle),this.borderRightStyle=m(e,iB,t.borderRightStyle),this.borderBottomStyle=m(e,lB,t.borderBottomStyle),this.borderLeftStyle=m(e,cB,t.borderLeftStyle),this.borderTopWidth=m(e,BB,t.borderTopWidth),this.borderRightWidth=m(e,uB,t.borderRightWidth),this.borderBottomWidth=m(e,gB,t.borderBottomWidth),this.borderLeftWidth=m(e,dB,t.borderLeftWidth),this.boxShadow=m(e,ou,t.boxShadow),this.color=m(e,fB,t.color),this.direction=m(e,pB,t.direction),this.display=m(e,wB,t.display),this.float=m(e,bB,t.cssFloat),this.fontFamily=m(e,ZB,t.fontFamily),this.fontSize=m(e,jB,t.fontSize),this.fontStyle=m(e,eu,t.fontStyle),this.fontVariant=m(e,Au,t.fontVariant),this.fontWeight=m(e,qB,t.fontWeight),this.letterSpacing=m(e,QB,t.letterSpacing),this.lineBreak=m(e,CB,t.lineBreak),this.lineHeight=m(e,UB,t.lineHeight),this.listStyleImage=m(e,mB,t.listStyleImage),this.listStylePosition=m(e,vB,t.listStylePosition),this.listStyleType=m(e,Wn,t.listStyleType),this.marginTop=m(e,FB,t.marginTop),this.marginRight=m(e,yB,t.marginRight),this.marginBottom=m(e,EB,t.marginBottom),this.marginLeft=m(e,xB,t.marginLeft),this.opacity=m(e,YB,t.opacity);var s=m(e,HB,t.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=m(e,IB,t.overflowWrap),this.paddingTop=m(e,LB,t.paddingTop),this.paddingRight=m(e,KB,t.paddingRight),this.paddingBottom=m(e,SB,t.paddingBottom),this.paddingLeft=m(e,TB,t.paddingLeft),this.paintOrder=m(e,iu,t.paintOrder),this.position=m(e,kB,t.position),this.textAlign=m(e,DB,t.textAlign),this.textDecorationColor=m(e,zB,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=m(e,$B,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=m(e,MB,t.textShadow),this.textTransform=m(e,OB,t.textTransform),this.transform=m(e,RB,t.transform),this.transformOrigin=m(e,_B,t.transformOrigin),this.visibility=m(e,XB,t.visibility),this.webkitTextStrokeColor=m(e,lu,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=m(e,cu,t.webkitTextStrokeWidth),this.wordBreak=m(e,JB,t.wordBreak),this.zIndex=m(e,WB,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return pe(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return rA(this.display,4)||rA(this.display,33554432)||rA(this.display,268435456)||rA(this.display,536870912)||rA(this.display,67108864)||rA(this.display,134217728)},A})(),uu=(function(){function A(e,t){this.content=m(e,tu,t.content),this.quotes=m(e,au,t.quotes)}return A})(),ga=(function(){function A(e,t){this.counterIncrement=m(e,ru,t.counterIncrement),this.counterReset=m(e,nu,t.counterReset)}return A})(),m=function(A,e,t){var r=new Ao,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var s=new eo(r.read());switch(e.type){case 2:var a=s.parseComponentValue();return e.parse(A,N(a)?a.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return Dr.parse(A,s.parseComponentValue());case"color":return fe.parse(A,s.parseComponentValue());case"image":return ns.parse(A,s.parseComponentValue());case"length":var i=s.parseComponentValue();return we(i)?i:gA;case"length-percentage":var o=s.parseComponentValue();return q(o)?o:gA;case"time":return Qo.parse(A,s.parseComponentValue())}break}},gu="data-html2canvas-debug",du=function(A){var e=A.getAttribute(gu);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Yn=function(A,e){var t=du(A);return t===1||e===t},YA=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Yn(t,3))debugger;this.styles=new Bu(e,window.getComputedStyle(t,null)),Zn(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Sr(this.context,t),Yn(t,4)&&(this.flags|=16)}return A})(),fu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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OQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAI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QGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYI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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ut=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(ft=0;ft<da.length;ft++)Ut[da.charCodeAt(ft)]=ft;var ft,pu=function(A){var e=A.length*.75,t=A.length,r,n=0,s,a,i,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),c=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)s=Ut[A.charCodeAt(r)],a=Ut[A.charCodeAt(r+1)],i=Ut[A.charCodeAt(r+2)],o=Ut[A.charCodeAt(r+3)],c[n++]=s<<2|a>>4,c[n++]=(a&15)<<4|i>>2,c[n++]=(i&3)<<6|o&63;return l},wu=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},hu=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},Fe=5,ss=11,Qn=2,bu=ss-Fe,Co=65536>>Fe,Qu=1<<Fe,Cn=Qu-1,Cu=1024>>Fe,Uu=Co+Cu,mu=Uu,vu=32,Fu=mu+vu,yu=65536>>ss,Eu=1<<bu,xu=Eu-1,fa=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Hu=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Iu=function(A,e){var t=pu(A),r=Array.isArray(t)?hu(t):new Uint32Array(t),n=Array.isArray(t)?wu(t):new Uint16Array(t),s=24,a=fa(n,s/2,r[4]/2),i=r[5]===2?fa(n,(s+r[4])/2):Hu(r,Math.ceil((s+r[4])/4));return new Lu(r[0],r[1],r[2],r[3],a,i)},Lu=(function(){function A(e,t,r,n,s,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=s,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Fe],t=(t<<Qn)+(e&Cn),this.data[t];if(e<=65535)return t=this.index[Co+(e-55296>>Fe)],t=(t<<Qn)+(e&Cn),this.data[t];if(e<this.highStart)return t=Fu-yu+(e>>ss),t=this.index[t],t+=e>>Fe&xu,t=this.index[t],t=(t<<Qn)+(e&Cn),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ku=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(pt=0;pt<pa.length;pt++)Ku[pa.charCodeAt(pt)]=pt;var pt,Su=1,Un=2,mn=3,wa=4,ha=5,Tu=7,ba=8,vn=9,Fn=10,Qa=11,Ca=12,Ua=13,ma=14,yn=15,Du=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var s=A.charCodeAt(t++);(s&64512)===56320?e.push(((n&1023)<<10)+(s&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},ku=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,s="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Mu=Iu(fu),SA="\xD7",En="\xF7",Ou=function(A){return Mu.get(A)},Ru=function(A,e,t){var r=t-2,n=e[r],s=e[t-1],a=e[t];if(s===Un&&a===mn)return SA;if(s===Un||s===mn||s===wa||a===Un||a===mn||a===wa)return En;if(s===ba&&[ba,vn,Qa,Ca].indexOf(a)!==-1||(s===Qa||s===vn)&&(a===vn||a===Fn)||(s===Ca||s===Fn)&&a===Fn||a===Ua||a===ha||a===Tu||s===Su)return SA;if(s===Ua&&a===ma){for(;n===ha;)n=e[--r];if(n===ma)return SA}if(s===yn&&a===yn){for(var i=0;n===yn;)i++,n=e[--r];if(i%2===0)return SA}return En},Nu=function(A){var e=Du(A),t=e.length,r=0,n=0,s=e.map(Ou);return{next:function(){if(r>=t)return{done:!0,value:null};for(var a=SA;r<t&&(a=Ru(e,s,++r))===SA;);if(a!==SA||r===t){var i=ku.apply(null,e.slice(n,r));return n=r,{value:i,done:!1}}return{done:!0,value:null}}}},Gu=function(A){for(var e=Nu(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},Pu=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),s=Math.round(n.height);if(A.body.removeChild(r),s===e)return!0}}return!1},Vu=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Tr(r.data).map(function(o){return Z(o)}),s=0,a={},i=n.every(function(o,l){t.setStart(r,s),t.setEnd(r,s+o.length);var c=t.getBoundingClientRect();s+=o.length;var B=c.x>a.x||c.y>a.y;return a=c,l===0?!0:B});return A.body.removeChild(e),i},_u=function(){return typeof new Image().crossOrigin<"u"},Xu=function(){return typeof new XMLHttpRequest().responseType=="string"},Ju=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},va=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},Wu=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,s=e.toDataURL();n.src=s;var a=zn(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Fa(a).then(function(i){r.drawImage(i,0,0);var o=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+s+")",l.style.height=t+"px",va(o)?Fa(zn(t,t,0,0,l)):Promise.reject(!1)}).then(function(i){return r.drawImage(i,0,0),va(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},zn=function(A,e,t,r,n){var s="http://www.w3.org/2000/svg",a=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",e.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(i),i.appendChild(n),a},Fa=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},uA={get SUPPORT_RANGE_BOUNDS(){var A=Pu(document);return Object.defineProperty(uA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=uA.SUPPORT_RANGE_BOUNDS&&Vu(document);return Object.defineProperty(uA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Ju(document);return Object.defineProperty(uA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?Wu(document):Promise.resolve(!1);return Object.defineProperty(uA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=_u();return Object.defineProperty(uA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Xu();return Object.defineProperty(uA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(uA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(uA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Et=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),Yu=function(A,e,t,r){var n=Zu(e,t),s=[],a=0;return n.forEach(function(i){if(t.textDecorationLine.length||i.trim().length>0)if(uA.SUPPORT_RANGE_BOUNDS){var o=ya(r,a,i.length).getClientRects();if(o.length>1){var l=as(i),c=0;l.forEach(function(g){s.push(new Et(g,re.fromDOMRectList(A,ya(r,c+a,g.length).getClientRects()))),c+=g.length})}else s.push(new Et(i,re.fromDOMRectList(A,o)))}else{var B=r.splitText(i.length);s.push(new Et(i,zu(A,r))),r=B}else uA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));a+=i.length}),s},zu=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var s=Sr(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return re.EMPTY},ya=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},as=function(A){if(uA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return Gu(A)},$u=function(A,e){if(uA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return qu(A,e)},Zu=function(A,e){return e.letterSpacing!==0?as(A):$u(A,e)},ju=[32,160,4961,65792,65793,4153,4241],qu=function(A,e){for(var t=yl(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,s=function(){if(n.value){var a=n.value.slice(),i=Tr(a),o="";i.forEach(function(l){ju.indexOf(l)===-1?o+=Z(l):(o.length&&r.push(o),r.push(Z(l)),o="")}),o.length&&r.push(o)}};!(n=t.next()).done;)s();return r},Ag=(function(){function A(e,t,r){this.text=eg(t.data,r.textTransform),this.textBounds=Yu(e,this.text,r,t)}return A})(),eg=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(tg,rg);case 2:return A.toUpperCase();default:return A}},tg=/(^|\s|:|-|\(|\))([a-z])/g,rg=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Uo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e})(YA),mo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e})(YA),vo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this,s=new XMLSerializer,a=Sr(t,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e})(YA),Fo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(YA),$n=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e})(YA),ng=[{type:15,flags:0,unit:"px",number:3}],sg=[{type:16,flags:0,number:50}],ag=function(A){return A.width>A.height?new re(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new re(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},og=function(A){var e=A.type===ig?new Array(A.value.length+1).join("\u2022"):A.value;return e.length===0?A.placeholder||"":e},yr="checkbox",Er="radio",ig="password",Ea=707406591,os=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=og(r),(n.type===yr||n.type===Er)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=ag(n.bounds)),n.type){case yr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=ng;break;case Er:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=sg;break}return n}return e})(YA),yo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this,s=r.options[r.selectedIndex||0];return n.value=s&&s.text||"",n}return e})(YA),Eo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(YA),xo=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Io(t,r.contentWindow.document.documentElement);var s=r.contentWindow.document.documentElement?Ft(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):te.TRANSPARENT,a=r.contentWindow.document.body?Ft(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):te.TRANSPARENT;n.backgroundColor=pe(s)?pe(a)?n.styles.backgroundColor:a:s}}catch{}return n}return e})(YA),lg=["OL","UL","MENU"],Cr=function(A,e,t,r){for(var n=e.firstChild,s=void 0;n;n=s)if(s=n.nextSibling,Lo(n)&&n.data.trim().length>0)t.textNodes.push(new Ag(A,n,t.styles));else if(Pe(n))if(Do(n)&&n.assignedNodes)n.assignedNodes().forEach(function(i){return Cr(A,i,t,r)});else{var a=Ho(A,n);a.styles.isVisible()&&(cg(n,a,r)?a.flags|=4:Bg(a.styles)&&(a.flags|=2),lg.indexOf(n.tagName)!==-1&&(a.flags|=8),t.elements.push(a),n.slot,n.shadowRoot?Cr(A,n.shadowRoot,a,r):!xr(n)&&!Ko(n)&&!Hr(n)&&Cr(A,n,a,r))}},Ho=function(A,e){return jn(e)?new Uo(A,e):So(e)?new mo(A,e):Ko(e)?new vo(A,e):ug(e)?new Fo(A,e):gg(e)?new $n(A,e):dg(e)?new os(A,e):Hr(e)?new yo(A,e):xr(e)?new Eo(A,e):To(e)?new xo(A,e):new YA(A,e)},Io=function(A,e){var t=Ho(A,e);return t.flags|=4,Cr(A,e,t,t),t},cg=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||is(A)&&t.styles.isTransparent()},Bg=function(A){return A.isPositioned()||A.isFloating()},Lo=function(A){return A.nodeType===Node.TEXT_NODE},Pe=function(A){return A.nodeType===Node.ELEMENT_NODE},Zn=function(A){return Pe(A)&&typeof A.style<"u"&&!Ur(A)},Ur=function(A){return typeof A.className=="object"},ug=function(A){return A.tagName==="LI"},gg=function(A){return A.tagName==="OL"},dg=function(A){return A.tagName==="INPUT"},fg=function(A){return A.tagName==="HTML"},Ko=function(A){return A.tagName==="svg"},is=function(A){return A.tagName==="BODY"},So=function(A){return A.tagName==="CANVAS"},xa=function(A){return A.tagName==="VIDEO"},jn=function(A){return A.tagName==="IMG"},To=function(A){return A.tagName==="IFRAME"},Ha=function(A){return A.tagName==="STYLE"},pg=function(A){return A.tagName==="SCRIPT"},xr=function(A){return A.tagName==="TEXTAREA"},Hr=function(A){return A.tagName==="SELECT"},Do=function(A){return A.tagName==="SLOT"},Ia=function(A){return A.tagName.indexOf("-")>0},wg=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,s=!0;r!==null&&r.forEach(function(i){var o=t.counters[i.counter];o&&i.increment!==0&&(s=!1,o.length||o.push(1),o[Math.max(0,o.length-1)]+=i.increment)});var a=[];return s&&n.forEach(function(i){var o=t.counters[i.counter];a.push(i.counter),o||(o=t.counters[i.counter]=[]),o.push(i.reset)}),a},A})(),La={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"]},Ka={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},hg={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},bg={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Me=function(A,e,t,r,n,s){return A<e||A>t?Lt(A,n,s.length>0):r.integers.reduce(function(a,i,o){for(;A>=i;)A-=i,a+=r.values[o];return a},"")+s},ko=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},$=function(A,e,t,r,n){var s=t-e+1;return(A<0?"-":"")+(ko(Math.abs(A),s,r,function(a){return Z(Math.floor(a%s)+e)})+n)},Ce=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return ko(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Ne=1,le=2,ce=4,mt=8,ee=function(A,e,t,r,n,s){if(A<-9999||A>9999)return Lt(A,4,n.length>0);var a=Math.abs(A),i=n;if(a===0)return e[0]+i;for(var o=0;a>0&&o<=4;o++){var l=a%10;l===0&&rA(s,Ne)&&i!==""?i=e[l]+i:l>1||l===1&&o===0||l===1&&o===1&&rA(s,le)||l===1&&o===1&&rA(s,ce)&&A>100||l===1&&o>1&&rA(s,mt)?i=e[l]+(o>0?t[o-1]:"")+i:l===1&&o>0&&(i=t[o-1]+i),a=Math.floor(a/10)}return(A<0?r:"")+i},Sa="\u5341\u767E\u5343\u842C",Ta="\u62FE\u4F70\u4EDF\u842C",Da="\u30DE\u30A4\u30CA\u30B9",xn="\uB9C8\uC774\uB108\uC2A4",Lt=function(A,e,t){var r=t?". ":"",n=t?"\u3001":"",s=t?", ":"",a=t?" ":"";switch(e){case 0:return"\u2022"+a;case 1:return"\u25E6"+a;case 2:return"\u25FE"+a;case 5:var i=$(A,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return Ce(A,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",n);case 6:return Me(A,1,3999,La,3,r).toLowerCase();case 7:return Me(A,1,3999,La,3,r);case 8:return $(A,945,969,!1,r);case 9:return $(A,97,122,!1,r);case 10:return $(A,65,90,!1,r);case 11:return $(A,1632,1641,!0,r);case 12:case 49:return Me(A,1,9999,Ka,3,r);case 35:return Me(A,1,9999,Ka,3,r).toLowerCase();case 13:return $(A,2534,2543,!0,r);case 14:case 30:return $(A,6112,6121,!0,r);case 15:return Ce(A,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",n);case 16:return Ce(A,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",n);case 17:case 48:return ee(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sa,"\u8CA0",n,le|ce|mt);case 47:return ee(A,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Ta,"\u8CA0",n,Ne|le|ce|mt);case 42:return ee(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sa,"\u8D1F",n,le|ce|mt);case 41:return ee(A,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Ta,"\u8D1F",n,Ne|le|ce|mt);case 26:return ee(A,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Da,n,0);case 25:return ee(A,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Da,n,Ne|le|ce);case 31:return ee(A,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",xn,s,Ne|le|ce);case 33:return ee(A,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",xn,s,0);case 32:return ee(A,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",xn,s,Ne|le|ce);case 18:return $(A,2406,2415,!0,r);case 20:return Me(A,1,19999,bg,3,r);case 21:return $(A,2790,2799,!0,r);case 22:return $(A,2662,2671,!0,r);case 22:return Me(A,1,10999,hg,3,r);case 23:return Ce(A,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Ce(A,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return $(A,3302,3311,!0,r);case 28:return Ce(A,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",n);case 29:return Ce(A,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",n);case 34:return $(A,3792,3801,!0,r);case 37:return $(A,6160,6169,!0,r);case 38:return $(A,4160,4169,!0,r);case 39:return $(A,2918,2927,!0,r);case 40:return $(A,1776,1785,!0,r);case 43:return $(A,3046,3055,!0,r);case 44:return $(A,3174,3183,!0,r);case 45:return $(A,3664,3673,!0,r);case 46:return $(A,3872,3881,!0,r);default:return $(A,48,57,!0,r)}},Mo="data-html2canvas-ignore",ka=(function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new wg,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=Qg(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,i=n.contentWindow,o=i.document,l=mg(n).then(function(){return bA(r,void 0,void 0,function(){var c,B;return pA(this,function(g){switch(g.label){case 0:return this.scrolledElements.forEach(Eg),i&&(i.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==t.top||i.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-t.left,i.scrollY-t.top,0,0))),c=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:g.sent(),g.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ug(o)]:[3,4];case 3:g.sent(),g.label=4;case 4:return typeof c=="function"?[2,Promise.resolve().then(function(){return c(o,B)}).then(function(){return n})]:[2,n]}})})});return o.open(),o.write(Fg(document.doctype)+"<html></html>"),yg(this.referenceElement.ownerDocument,s,a),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),l},A.prototype.createElementClone=function(e){if(Yn(e,2))debugger;if(So(e))return this.createCanvasClone(e);if(xa(e))return this.createVideoClone(e);if(Ha(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return jn(t)&&(jn(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Ia(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Hn(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(s,a){return a&&typeof a.cssText=="string"?s+a.cssText:s},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var s=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&s)a.putImageData(s.getImageData(0,0,e.width,e.height),0,0);else{var i=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(i){var o=i.getContextAttributes();o?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Pe(t)||!pg(t)&&!t.hasAttribute(Mo)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Pe(t)||!Ha(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,s=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;s;s=s.nextSibling)if(Pe(s)&&Do(s)&&typeof s.assignedNodes=="function"){var a=s.assignedNodes();a.length&&a.forEach(function(i){return n.appendChildNode(t,i,r)})}else this.appendChildNode(t,s,r)},A.prototype.cloneNode=function(e,t){if(Lo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Pe(e)&&(Zn(e)||Ur(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var s=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),i=r.getComputedStyle(e,":after");this.referenceElement===e&&Zn(n)&&(this.clonedReferenceElement=n),is(n)&&Ig(n);var o=this.counters.parse(new ga(this.context,s)),l=this.resolvePseudoContent(e,n,a,xt.BEFORE);Ia(e)&&(t=!0),xa(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var c=this.resolvePseudoContent(e,n,i,xt.AFTER);return c&&n.appendChild(c),this.counters.pop(o),(s&&(this.options.copyStyles||Ur(e))&&!To(e)||t)&&Hn(s,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(xr(e)||Hr(e))&&(xr(n)||Hr(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var s=this;if(r){var a=r.content,i=t.ownerDocument;if(!(!i||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new ga(this.context,r));var o=new uu(this.context,r),l=i.createElement("html2canvaspseudoelement");Hn(r,l),o.content.forEach(function(B){if(B.type===0)l.appendChild(i.createTextNode(B.value));else if(B.type===22){var g=i.createElement("img");g.src=B.value,g.style.opacity="1",l.appendChild(g)}else if(B.type===18){if(B.name==="attr"){var p=B.values.filter(N);p.length&&l.appendChild(i.createTextNode(e.getAttribute(p[0].value)||""))}else if(B.name==="counter"){var f=B.values.filter(_e),h=f[0],y=f[1];if(h&&N(h)){var b=s.counters.getCounterValue(h.value),w=y&&N(y)?Wn.parse(s.context,y.value):3;l.appendChild(i.createTextNode(Lt(b,w,!1)))}}else if(B.name==="counters"){var L=B.values.filter(_e),h=L[0],K=L[1],y=L[2];if(h&&N(h)){var I=s.counters.getCounterValues(h.value),Q=y&&N(y)?Wn.parse(s.context,y.value):3,C=K&&K.type===0?K.value:"",T=I.map(function(aA){return Lt(aA,Q,!1)}).join(C);l.appendChild(i.createTextNode(T))}}}else if(B.type===20)switch(B.value){case"open-quote":l.appendChild(i.createTextNode(ua(o.quotes,s.quoteDepth++,!0)));break;case"close-quote":l.appendChild(i.createTextNode(ua(o.quotes,--s.quoteDepth,!1)));break;default:l.appendChild(i.createTextNode(B.value))}}),l.className=qn+" "+As;var c=n===xt.BEFORE?" "+qn:" "+As;return Ur(t)?t.className.baseValue+=c:t.className+=c,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),xt;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(xt||(xt={}));var Qg=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Mo,"true"),A.body.appendChild(t),t},Cg=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},Ug=function(A){return Promise.all([].slice.call(A.images,0).map(Cg))},mg=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var s=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(s),e(A))},50)}})},vg=["all","d","content"],Hn=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);vg.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},Fg=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},yg=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Eg=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},xg=":before",Hg=":after",qn="___html2canvas___pseudoelement_before",As="___html2canvas___pseudoelement_after",Ma=`{
5
+ content: "" !important;
6
+ display: none !important;
7
+ }`,Ig=function(A){Lg(A,"."+qn+xg+Ma+`
8
+ .`+As+Hg+Ma)},Lg=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Oo=(function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A})(),Kg=(function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Ln(e)||kg(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return bA(this,void 0,void 0,function(){var t,r,n,s,a=this;return pA(this,function(i){switch(i.label){case 0:return t=Oo.isSameOrigin(e),r=!In(e)&&this._options.useCORS===!0&&uA.SUPPORT_CORS_IMAGES&&!t,n=!In(e)&&!t&&!Ln(e)&&typeof this._options.proxy=="string"&&uA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!In(e)&&!Ln(e)&&!n&&!r?[2]:(s=e,n?[4,this.proxy(s)]:[3,2]);case 1:s=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(o,l){var c=new Image;c.onload=function(){return o(c)},c.onerror=l,(Mg(s)||r)&&(c.crossOrigin="anonymous"),c.src=s,c.complete===!0&&setTimeout(function(){return o(c)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(s,a){var i=uA.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(o.status===200)if(i==="text")s(o.response);else{var B=new FileReader;B.addEventListener("load",function(){return s(B.result)},!1),B.addEventListener("error",function(g){return a(g)},!1),B.readAsDataURL(o.response)}else a("Failed to proxy resource "+n+" with status code "+o.status)},o.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(o.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+i),i!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=i),t._options.imageTimeout){var c=t._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return a("Timed out ("+c+"ms) proxying "+n)}}o.send()})},A})(),Sg=/^data:image\/svg\+xml/i,Tg=/^data:image\/.*;base64,/i,Dg=/^data:image\/.*/i,kg=function(A){return uA.SUPPORT_SVG_DRAWING||!Og(A)},In=function(A){return Dg.test(A)},Mg=function(A){return Tg.test(A)},Ln=function(A){return A.substr(0,4)==="blob"},Og=function(A){return A.substr(-3).toLowerCase()==="svg"||Sg.test(A)},U=(function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A})(),Oe=function(A,e,t){return new U(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},fr=(function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Oe(this.start,this.startControl,e),n=Oe(this.startControl,this.endControl,e),s=Oe(this.endControl,this.end,e),a=Oe(r,n,e),i=Oe(n,s,e),o=Oe(a,i,e);return t?new A(this.start,r,a,o):new A(o,i,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A})(),TA=function(A){return A.type===1},Rg=(function(){function A(e){var t=e.styles,r=e.bounds,n=Ct(t.borderTopLeftRadius,r.width,r.height),s=n[0],a=n[1],i=Ct(t.borderTopRightRadius,r.width,r.height),o=i[0],l=i[1],c=Ct(t.borderBottomRightRadius,r.width,r.height),B=c[0],g=c[1],p=Ct(t.borderBottomLeftRadius,r.width,r.height),f=p[0],h=p[1],y=[];y.push((s+o)/r.width),y.push((f+B)/r.width),y.push((a+h)/r.height),y.push((l+g)/r.height);var b=Math.max.apply(Math,y);b>1&&(s/=b,a/=b,o/=b,l/=b,B/=b,g/=b,f/=b,h/=b);var w=r.width-o,L=r.height-g,K=r.width-B,I=r.height-h,Q=t.borderTopWidth,C=t.borderRightWidth,T=t.borderBottomWidth,S=t.borderLeftWidth,Y=V(t.paddingTop,e.bounds.width),aA=V(t.paddingRight,e.bounds.width),hA=V(t.paddingBottom,e.bounds.width),k=V(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||a>0?_(r.left+S/3,r.top+Q/3,s-S/3,a-Q/3,O.TOP_LEFT):new U(r.left+S/3,r.top+Q/3),this.topRightBorderDoubleOuterBox=s>0||a>0?_(r.left+w,r.top+Q/3,o-C/3,l-Q/3,O.TOP_RIGHT):new U(r.left+r.width-C/3,r.top+Q/3),this.bottomRightBorderDoubleOuterBox=B>0||g>0?_(r.left+K,r.top+L,B-C/3,g-T/3,O.BOTTOM_RIGHT):new U(r.left+r.width-C/3,r.top+r.height-T/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?_(r.left+S/3,r.top+I,f-S/3,h-T/3,O.BOTTOM_LEFT):new U(r.left+S/3,r.top+r.height-T/3),this.topLeftBorderDoubleInnerBox=s>0||a>0?_(r.left+S*2/3,r.top+Q*2/3,s-S*2/3,a-Q*2/3,O.TOP_LEFT):new U(r.left+S*2/3,r.top+Q*2/3),this.topRightBorderDoubleInnerBox=s>0||a>0?_(r.left+w,r.top+Q*2/3,o-C*2/3,l-Q*2/3,O.TOP_RIGHT):new U(r.left+r.width-C*2/3,r.top+Q*2/3),this.bottomRightBorderDoubleInnerBox=B>0||g>0?_(r.left+K,r.top+L,B-C*2/3,g-T*2/3,O.BOTTOM_RIGHT):new U(r.left+r.width-C*2/3,r.top+r.height-T*2/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?_(r.left+S*2/3,r.top+I,f-S*2/3,h-T*2/3,O.BOTTOM_LEFT):new U(r.left+S*2/3,r.top+r.height-T*2/3),this.topLeftBorderStroke=s>0||a>0?_(r.left+S/2,r.top+Q/2,s-S/2,a-Q/2,O.TOP_LEFT):new U(r.left+S/2,r.top+Q/2),this.topRightBorderStroke=s>0||a>0?_(r.left+w,r.top+Q/2,o-C/2,l-Q/2,O.TOP_RIGHT):new U(r.left+r.width-C/2,r.top+Q/2),this.bottomRightBorderStroke=B>0||g>0?_(r.left+K,r.top+L,B-C/2,g-T/2,O.BOTTOM_RIGHT):new U(r.left+r.width-C/2,r.top+r.height-T/2),this.bottomLeftBorderStroke=f>0||h>0?_(r.left+S/2,r.top+I,f-S/2,h-T/2,O.BOTTOM_LEFT):new U(r.left+S/2,r.top+r.height-T/2),this.topLeftBorderBox=s>0||a>0?_(r.left,r.top,s,a,O.TOP_LEFT):new U(r.left,r.top),this.topRightBorderBox=o>0||l>0?_(r.left+w,r.top,o,l,O.TOP_RIGHT):new U(r.left+r.width,r.top),this.bottomRightBorderBox=B>0||g>0?_(r.left+K,r.top+L,B,g,O.BOTTOM_RIGHT):new U(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=f>0||h>0?_(r.left,r.top+I,f,h,O.BOTTOM_LEFT):new U(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||a>0?_(r.left+S,r.top+Q,Math.max(0,s-S),Math.max(0,a-Q),O.TOP_LEFT):new U(r.left+S,r.top+Q),this.topRightPaddingBox=o>0||l>0?_(r.left+Math.min(w,r.width-C),r.top+Q,w>r.width+C?0:Math.max(0,o-C),Math.max(0,l-Q),O.TOP_RIGHT):new U(r.left+r.width-C,r.top+Q),this.bottomRightPaddingBox=B>0||g>0?_(r.left+Math.min(K,r.width-S),r.top+Math.min(L,r.height-T),Math.max(0,B-C),Math.max(0,g-T),O.BOTTOM_RIGHT):new U(r.left+r.width-C,r.top+r.height-T),this.bottomLeftPaddingBox=f>0||h>0?_(r.left+S,r.top+Math.min(I,r.height-T),Math.max(0,f-S),Math.max(0,h-T),O.BOTTOM_LEFT):new U(r.left+S,r.top+r.height-T),this.topLeftContentBox=s>0||a>0?_(r.left+S+k,r.top+Q+Y,Math.max(0,s-(S+k)),Math.max(0,a-(Q+Y)),O.TOP_LEFT):new U(r.left+S+k,r.top+Q+Y),this.topRightContentBox=o>0||l>0?_(r.left+Math.min(w,r.width+S+k),r.top+Q+Y,w>r.width+S+k?0:o-S+k,l-(Q+Y),O.TOP_RIGHT):new U(r.left+r.width-(C+aA),r.top+Q+Y),this.bottomRightContentBox=B>0||g>0?_(r.left+Math.min(K,r.width-(S+k)),r.top+Math.min(L,r.height+Q+Y),Math.max(0,B-(C+aA)),g-(T+hA),O.BOTTOM_RIGHT):new U(r.left+r.width-(C+aA),r.top+r.height-(T+hA)),this.bottomLeftContentBox=f>0||h>0?_(r.left+S+k,r.top+I,Math.max(0,f-(S+k)),h-(T+hA),O.BOTTOM_LEFT):new U(r.left+S+k,r.top+r.height-(T+hA))}return A})(),O;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(O||(O={}));var _=function(A,e,t,r,n){var s=4*((Math.sqrt(2)-1)/3),a=t*s,i=r*s,o=A+t,l=e+r;switch(n){case O.TOP_LEFT:return new fr(new U(A,l),new U(A,l-i),new U(o-a,e),new U(o,e));case O.TOP_RIGHT:return new fr(new U(A,e),new U(A+a,e),new U(o,l-i),new U(o,l));case O.BOTTOM_RIGHT:return new fr(new U(o,e),new U(o,e+i),new U(A+a,l),new U(A,l));case O.BOTTOM_LEFT:default:return new fr(new U(o,l),new U(o-a,l),new U(A,e+i),new U(A,e))}},Ir=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Ng=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Lr=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Gg=(function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A})(),pr=(function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A})(),Pg=(function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A})(),Vg=function(A){return A.type===0},Ro=function(A){return A.type===1},_g=function(A){return A.type===2},Oa=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},Xg=function(A,e,t,r,n){return A.map(function(s,a){switch(a){case 0:return s.add(e,t);case 1:return s.add(e+r,t);case 2:return s.add(e+r,t+n);case 3:return s.add(e,t+n)}return s})},No=(function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A})(),Go=(function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Rg(this.container),this.container.styles.opacity<1&&this.effects.push(new Pg(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new Gg(r,n,s))}if(this.container.styles.overflowX!==0){var a=Ir(this.curves),i=Lr(this.curves);Oa(a,i)?this.effects.push(new pr(a,6)):(this.effects.push(new pr(a,2)),this.effects.push(new pr(i,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var s=r.effects.filter(function(o){return!Ro(o)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,s),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=Ir(r.curves),i=Lr(r.curves);Oa(a,i)||n.unshift(new pr(i,6))}}else n.unshift.apply(n,s);r=r.parent}return n.filter(function(o){return rA(o.target,e)})},A})(),es=function(A,e,t,r){A.container.elements.forEach(function(n){var s=rA(n.flags,4),a=rA(n.flags,2),i=new Go(n,A);rA(n.styles.display,2048)&&r.push(i);var o=rA(n.flags,8)?[]:r;if(s||a){var l=s||n.styles.isPositioned()?t:e,c=new No(i);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var g=0;l.negativeZIndex.some(function(f,h){return B>f.element.container.styles.zIndex.order?(g=h,!1):g>0}),l.negativeZIndex.splice(g,0,c)}else if(B>0){var p=0;l.positiveZIndex.some(function(f,h){return B>=f.element.container.styles.zIndex.order?(p=h+1,!1):p>0}),l.positiveZIndex.splice(p,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);es(i,c,s?c:t,o)}else n.styles.isInlineLevel()?e.inlineLevel.push(i):e.nonInlineLevel.push(i),es(i,e,t,o);rA(n.flags,8)&&Po(n,o)})},Po=function(A,e){for(var t=A instanceof $n?A.start:1,r=A instanceof $n?A.reversed:!1,n=0;n<e.length;n++){var s=e[n];s.container instanceof Fo&&typeof s.container.value=="number"&&s.container.value!==0&&(t=s.container.value),s.listValue=Lt(t,s.container.styles.listStyleType,!0),t+=r?-1:1}},Jg=function(A){var e=new Go(A,null),t=new No(e),r=[];return es(e,t,t,r),Po(e.container,r),t},Ra=function(A,e){switch(e){case 0:return kA(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return kA(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return kA(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return kA(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Wg=function(A,e){switch(e){case 0:return kA(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return kA(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return kA(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return kA(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},Yg=function(A,e){switch(e){case 0:return kA(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return kA(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return kA(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return kA(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},zg=function(A,e){switch(e){case 0:return wr(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return wr(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return wr(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return wr(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},wr=function(A,e){var t=[];return TA(A)?t.push(A.subdivide(.5,!1)):t.push(A),TA(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},kA=function(A,e,t,r){var n=[];return TA(A)?n.push(A.subdivide(.5,!1)):n.push(A),TA(t)?n.push(t.subdivide(.5,!0)):n.push(t),TA(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),TA(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},Vo=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},Kr=function(A){var e=A.styles,t=A.bounds,r=V(e.paddingLeft,t.width),n=V(e.paddingRight,t.width),s=V(e.paddingTop,t.width),a=V(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,s+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+s+a))},$g=function(A,e){return A===0?e.bounds:A===2?Kr(e):Vo(e)},Zg=function(A,e){return A===0?e.bounds:A===2?Kr(e):Vo(e)},Kn=function(A,e,t){var r=$g(Ge(A.styles.backgroundOrigin,e),A),n=Zg(Ge(A.styles.backgroundClip,e),A),s=jg(Ge(A.styles.backgroundSize,e),t,r),a=s[0],i=s[1],o=Ct(Ge(A.styles.backgroundPosition,e),r.width-a,r.height-i),l=qg(Ge(A.styles.backgroundRepeat,e),o,s,r,n),c=Math.round(r.left+o[0]),B=Math.round(r.top+o[1]);return[l,c,B,a,i]},Re=function(A){return N(A)&&A.value===Ve.AUTO},hr=function(A){return typeof A=="number"},jg=function(A,e,t){var r=e[0],n=e[1],s=e[2],a=A[0],i=A[1];if(!a)return[0,0];if(q(a)&&i&&q(i))return[V(a,t.width),V(i,t.height)];var o=hr(s);if(N(a)&&(a.value===Ve.CONTAIN||a.value===Ve.COVER)){if(hr(s)){var l=t.width/t.height;return l<s!=(a.value===Ve.COVER)?[t.width,t.width/s]:[t.height*s,t.height]}return[t.width,t.height]}var c=hr(r),B=hr(n),g=c||B;if(Re(a)&&(!i||Re(i))){if(c&&B)return[r,n];if(!o&&!g)return[t.width,t.height];if(g&&o){var p=c?r:n*s,f=B?n:r/s;return[p,f]}var h=c?r:t.width,y=B?n:t.height;return[h,y]}if(o){var b=0,w=0;return q(a)?b=V(a,t.width):q(i)&&(w=V(i,t.height)),Re(a)?b=w*s:(!i||Re(i))&&(w=b/s),[b,w]}var L=null,K=null;if(q(a)?L=V(a,t.width):i&&q(i)&&(K=V(i,t.height)),L!==null&&(!i||Re(i))&&(K=c&&B?L/r*n:t.height),K!==null&&Re(a)&&(L=c&&B?K/n*r:t.width),L!==null&&K!==null)return[L,K];throw new Error("Unable to calculate background-size for element")},Ge=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},qg=function(A,e,t,r,n){var s=e[0],a=e[1],i=t[0],o=t[1];switch(A){case 2:return[new U(Math.round(r.left),Math.round(r.top+a)),new U(Math.round(r.left+r.width),Math.round(r.top+a)),new U(Math.round(r.left+r.width),Math.round(o+r.top+a)),new U(Math.round(r.left),Math.round(o+r.top+a))];case 3:return[new U(Math.round(r.left+s),Math.round(r.top)),new U(Math.round(r.left+s+i),Math.round(r.top)),new U(Math.round(r.left+s+i),Math.round(r.height+r.top)),new U(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new U(Math.round(r.left+s),Math.round(r.top+a)),new U(Math.round(r.left+s+i),Math.round(r.top+a)),new U(Math.round(r.left+s+i),Math.round(r.top+a+o)),new U(Math.round(r.left+s),Math.round(r.top+a+o))];default:return[new U(Math.round(n.left),Math.round(n.top)),new U(Math.round(n.left+n.width),Math.round(n.top)),new U(Math.round(n.left+n.width),Math.round(n.height+n.top)),new U(Math.round(n.left),Math.round(n.height+n.top))]}},Ad="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Na="Hidden Text",ed=(function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=Ad,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(Na)),r.appendChild(s),r.appendChild(n);var i=n.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode(Na)),r.style.lineHeight="normal",n.style.verticalAlign="super";var o=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:i,middle:o}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A})(),_o=(function(){function A(e,t){this.context=e,this.options=t}return A})(),td=1e4,rd=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new ed(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),_g(t)&&(this.ctx.globalAlpha=t.opacity),Vg(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Ro(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return bA(this,void 0,void 0,function(){var r;return pA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return bA(this,void 0,void 0,function(){return pA(this,function(r){switch(r.label){case 0:if(rA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var s=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var a=as(t.text);a.reduce(function(i,o){return s.ctx.fillText(o,i,t.bounds.top+n),i+s.ctx.measureText(o).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=id(t.fontFamily).join(", "),s=St(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,s,n].join(" "),n,s]},e.prototype.renderTextNode=function(t,r){return bA(this,void 0,void 0,function(){var n,s,a,i,o,l,c,B,g=this;return pA(this,function(p){return n=this.createFontStyle(r),s=n[0],a=n[1],i=n[2],this.ctx.font=s,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(a,i),l=o.baseline,c=o.middle,B=r.paintOrder,t.textBounds.forEach(function(f){B.forEach(function(h){switch(h){case 0:g.ctx.fillStyle=oA(r.color),g.renderTextWithLetterSpacing(f,r.letterSpacing,l);var y=r.textShadow;y.length&&f.text.trim().length&&(y.slice(0).reverse().forEach(function(b){g.ctx.shadowColor=oA(b.color),g.ctx.shadowOffsetX=b.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=b.offsetY.number*g.options.scale,g.ctx.shadowBlur=b.blur.number,g.renderTextWithLetterSpacing(f,r.letterSpacing,l)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),r.textDecorationLine.length&&(g.ctx.fillStyle=oA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(b){switch(b){case 1:g.ctx.fillRect(f.bounds.left,Math.round(f.bounds.top+l),f.bounds.width,1);break;case 2:g.ctx.fillRect(f.bounds.left,Math.round(f.bounds.top),f.bounds.width,1);break;case 3:g.ctx.fillRect(f.bounds.left,Math.ceil(f.bounds.top+c),f.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&f.text.trim().length&&(g.ctx.strokeStyle=oA(r.webkitTextStrokeColor),g.ctx.lineWidth=r.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(f.text,f.bounds.left,f.bounds.top+l)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=Kr(t),a=Lr(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return bA(this,void 0,void 0,function(){var r,n,s,a,i,o,w,w,l,c,B,g,K,p,f,I,h,y,b,w,L,K,I;return pA(this,function(Q){switch(Q.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,s=r.styles,a=0,i=r.textNodes,Q.label=1;case 1:return a<i.length?(o=i[a],[4,this.renderTextNode(o,s)]):[3,4];case 2:Q.sent(),Q.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof Uo))return[3,8];Q.label=5;case 5:return Q.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return w=Q.sent(),this.renderReplacedElement(r,n,w),[3,8];case 7:return Q.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof mo&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof vo))return[3,12];Q.label=9;case 9:return Q.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return w=Q.sent(),this.renderReplacedElement(r,n,w),[3,12];case 11:return Q.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof xo&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:c=Q.sent(),r.width&&r.height&&this.ctx.drawImage(c,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),Q.label=14;case 14:if(r instanceof os&&(B=Math.min(r.bounds.width,r.bounds.height),r.type===yr?r.checked&&(this.ctx.save(),this.path([new U(r.bounds.left+B*.39363,r.bounds.top+B*.79),new U(r.bounds.left+B*.16,r.bounds.top+B*.5549),new U(r.bounds.left+B*.27347,r.bounds.top+B*.44071),new U(r.bounds.left+B*.39694,r.bounds.top+B*.5649),new U(r.bounds.left+B*.72983,r.bounds.top+B*.23),new U(r.bounds.left+B*.84,r.bounds.top+B*.34085),new U(r.bounds.left+B*.39363,r.bounds.top+B*.79)]),this.ctx.fillStyle=oA(Ea),this.ctx.fill(),this.ctx.restore()):r.type===Er&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+B/2,r.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=oA(Ea),this.ctx.fill(),this.ctx.restore())),nd(r)&&r.value.length){switch(g=this.createFontStyle(s),K=g[0],p=g[1],f=this.fontMetrics.getMetrics(K,p).baseline,this.ctx.font=K,this.ctx.fillStyle=oA(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ad(r.styles.textAlign),I=Kr(r),h=0,r.styles.textAlign){case 1:h+=I.width/2;break;case 2:h+=I.width;break}y=I.add(h,0,0,-I.height/2+1),this.ctx.save(),this.path([new U(I.left,I.top),new U(I.left+I.width,I.top),new U(I.left+I.width,I.top+I.height),new U(I.left,I.top+I.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Et(r.value,y),s.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!rA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(b=r.styles.listStyleImage,b.type!==0)return[3,18];w=void 0,L=b.url,Q.label=15;case 15:return Q.trys.push([15,17,,18]),[4,this.context.cache.match(L)];case 16:return w=Q.sent(),this.ctx.drawImage(w,r.bounds.left-(w.width+10),r.bounds.top),[3,18];case 17:return Q.sent(),this.context.logger.error("Error loading list-style-image "+L),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(K=this.createFontStyle(s)[0],this.ctx.font=K,this.ctx.fillStyle=oA(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",I=new re(r.bounds.left,r.bounds.top+V(r.styles.paddingTop,r.bounds.width),r.bounds.width,ca(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Et(t.listValue,I),s.letterSpacing,ca(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Q.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return bA(this,void 0,void 0,function(){var r,n,b,s,a,b,i,o,b,l,c,b,B,g,b,p,f,b,h,y,b;return pA(this,function(w){switch(w.label){case 0:if(rA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:w.sent(),r=0,n=t.negativeZIndex,w.label=2;case 2:return r<n.length?(b=n[r],[4,this.renderStack(b)]):[3,5];case 3:w.sent(),w.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:w.sent(),s=0,a=t.nonInlineLevel,w.label=7;case 7:return s<a.length?(b=a[s],[4,this.renderNode(b)]):[3,10];case 8:w.sent(),w.label=9;case 9:return s++,[3,7];case 10:i=0,o=t.nonPositionedFloats,w.label=11;case 11:return i<o.length?(b=o[i],[4,this.renderStack(b)]):[3,14];case 12:w.sent(),w.label=13;case 13:return i++,[3,11];case 14:l=0,c=t.nonPositionedInlineLevel,w.label=15;case 15:return l<c.length?(b=c[l],[4,this.renderStack(b)]):[3,18];case 16:w.sent(),w.label=17;case 17:return l++,[3,15];case 18:B=0,g=t.inlineLevel,w.label=19;case 19:return B<g.length?(b=g[B],[4,this.renderNode(b)]):[3,22];case 20:w.sent(),w.label=21;case 21:return B++,[3,19];case 22:p=0,f=t.zeroOrAutoZIndexOrTransformedOrOpacity,w.label=23;case 23:return p<f.length?(b=f[p],[4,this.renderStack(b)]):[3,26];case 24:w.sent(),w.label=25;case 25:return p++,[3,23];case 26:h=0,y=t.positiveZIndex,w.label=27;case 27:return h<y.length?(b=y[h],[4,this.renderStack(b)]):[3,30];case 28:w.sent(),w.label=29;case 29:return h++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,s){var a=TA(n)?n.start:n;s===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),TA(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,s){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,s),this.ctx.fill(),this.ctx.translate(-n,-s)},e.prototype.resizeImage=function(t,r,n){var s;if(t.width===r&&t.height===n)return t;var a=(s=this.canvas.ownerDocument)!==null&&s!==void 0?s:document,i=a.createElement("canvas");i.width=Math.max(1,r),i.height=Math.max(1,n);var o=i.getContext("2d");return o.drawImage(t,0,0,t.width,t.height,0,0,r,n),i},e.prototype.renderBackgroundImage=function(t){return bA(this,void 0,void 0,function(){var r,n,s,a,i,o;return pA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(c){var B,g,p,Y,lA,cA,k,z,T,f,Y,lA,cA,k,z,h,y,b,w,L,K,I,Q,C,T,S,Y,aA,hA,k,z,HA,lA,cA,_A,IA,RA,XA,NA,CA,UA,mA;return pA(this,function(d){switch(d.label){case 0:if(c.type!==0)return[3,5];B=void 0,g=c.url,d.label=1;case 1:return d.trys.push([1,3,,4]),[4,s.context.cache.match(g)];case 2:return B=d.sent(),[3,4];case 3:return d.sent(),s.context.logger.error("Error loading background-image "+g),[3,4];case 4:return B&&(p=Kn(t,r,[B.width,B.height,B.width/B.height]),Y=p[0],lA=p[1],cA=p[2],k=p[3],z=p[4],T=s.ctx.createPattern(s.resizeImage(B,k,z),"repeat"),s.renderRepeat(Y,T,lA,cA)),[3,6];case 5:Vc(c)?(f=Kn(t,r,[null,null,null]),Y=f[0],lA=f[1],cA=f[2],k=f[3],z=f[4],h=Oc(c.angle,k,z),y=h[0],b=h[1],w=h[2],L=h[3],K=h[4],I=document.createElement("canvas"),I.width=k,I.height=z,Q=I.getContext("2d"),C=Q.createLinearGradient(b,L,w,K),ia(c.stops,y).forEach(function(ZA){return C.addColorStop(ZA.stop,oA(ZA.color))}),Q.fillStyle=C,Q.fillRect(0,0,k,z),k>0&&z>0&&(T=s.ctx.createPattern(I,"repeat"),s.renderRepeat(Y,T,lA,cA))):_c(c)&&(S=Kn(t,r,[null,null,null]),Y=S[0],aA=S[1],hA=S[2],k=S[3],z=S[4],HA=c.position.length===0?[rs]:c.position,lA=V(HA[0],k),cA=V(HA[HA.length-1],z),_A=Rc(c,lA,cA,k,z),IA=_A[0],RA=_A[1],IA>0&&RA>0&&(XA=s.ctx.createRadialGradient(aA+lA,hA+cA,0,aA+lA,hA+cA,IA),ia(c.stops,IA*2).forEach(function(ZA){return XA.addColorStop(ZA.stop,oA(ZA.color))}),s.path(Y),s.ctx.fillStyle=XA,IA!==RA?(NA=t.bounds.left+.5*t.bounds.width,CA=t.bounds.top+.5*t.bounds.height,UA=RA/IA,mA=1/UA,s.ctx.save(),s.ctx.translate(NA,CA),s.ctx.transform(1,0,0,UA,0,0),s.ctx.translate(-NA,-CA),s.ctx.fillRect(aA,mA*(hA-CA)+CA,k,z*mA),s.ctx.restore()):s.ctx.fill())),d.label=6;case 6:return r--,[2]}})},s=this,a=0,i=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<i.length?(o=i[a],[5,n(o)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return bA(this,void 0,void 0,function(){return pA(this,function(s){return this.path(Ra(n,r)),this.ctx.fillStyle=oA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,s){return bA(this,void 0,void 0,function(){var a,i;return pA(this,function(o){switch(o.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,s)]:[3,2];case 1:return o.sent(),[2];case 2:return a=Wg(s,n),this.path(a),this.ctx.fillStyle=oA(t),this.ctx.fill(),i=Yg(s,n),this.path(i),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return bA(this,void 0,void 0,function(){var r,n,s,a,i,o,l,c,B=this;return pA(this,function(g){switch(g.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!pe(r.backgroundColor)||r.backgroundImage.length,s=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=sd(Ge(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),pe(r.backgroundColor)||(this.ctx.fillStyle=oA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:g.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(p){B.ctx.save();var f=Ir(t.curves),h=p.inset?0:td,y=Xg(f,-h+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(B.path(f),B.ctx.clip(),B.mask(y)):(B.mask(f),B.ctx.clip(),B.path(y)),B.ctx.shadowOffsetX=p.offsetX.number+h,B.ctx.shadowOffsetY=p.offsetY.number,B.ctx.shadowColor=oA(p.color),B.ctx.shadowBlur=p.blur.number,B.ctx.fillStyle=p.inset?oA(p.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),g.label=2;case 2:i=0,o=0,l=s,g.label=3;case 3:return o<l.length?(c=l[o],c.style!==0&&!pe(c.color)&&c.width>0?c.style!==2?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,i,t.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return c.style!==3?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,i,t.curves,3)];case 6:return g.sent(),[3,11];case 7:return c.style!==4?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,i,t.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,i,t.curves)];case 10:g.sent(),g.label=11;case 11:i++,g.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,s,a){return bA(this,void 0,void 0,function(){var i,o,l,c,B,g,p,f,h,y,b,w,L,K,I,Q,I,Q;return pA(this,function(C){return this.ctx.save(),i=zg(s,n),o=Ra(s,n),a===2&&(this.path(o),this.ctx.clip()),TA(o[0])?(l=o[0].start.x,c=o[0].start.y):(l=o[0].x,c=o[0].y),TA(o[1])?(B=o[1].end.x,g=o[1].end.y):(B=o[1].x,g=o[1].y),n===0||n===2?p=Math.abs(l-B):p=Math.abs(c-g),this.ctx.beginPath(),a===3?this.formatPath(i):this.formatPath(o.slice(0,2)),f=r<3?r*3:r*2,h=r<3?r*2:r,a===3&&(f=r,h=r),y=!0,p<=f*2?y=!1:p<=f*2+h?(b=p/(2*f+h),f*=b,h*=b):(w=Math.floor((p+h)/(f+h)),L=(p-w*f)/(w-1),K=(p-(w+1)*f)/w,h=K<=0||Math.abs(h-L)<Math.abs(h-K)?L:K),y&&(a===3?this.ctx.setLineDash([0,f+h]):this.ctx.setLineDash([f,h])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=oA(t),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(TA(o[0])&&(I=o[3],Q=o[0],this.ctx.beginPath(),this.formatPath([new U(I.end.x,I.end.y),new U(Q.start.x,Q.start.y)]),this.ctx.stroke()),TA(o[1])&&(I=o[1],Q=o[2],this.ctx.beginPath(),this.formatPath([new U(I.end.x,I.end.y),new U(Q.start.x,Q.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return bA(this,void 0,void 0,function(){var r;return pA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=oA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=Jg(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e})(_o),nd=function(A){return A instanceof Eo||A instanceof yo?!0:A instanceof os&&A.type!==Er&&A.type!==yr},sd=function(A,e){switch(A){case 0:return Ir(e);case 2:return Ng(e);default:return Lr(e)}},ad=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},od=["-apple-system","system-ui"],id=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return od.indexOf(e)===-1}):A},ld=(function(A){PA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return bA(this,void 0,void 0,function(){var r,n;return pA(this,function(s){switch(s.label){case 0:return r=zn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,cd(r)];case 1:return n=s.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=oA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e})(_o),cd=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Bd=(function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,er([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,er([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,er([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,er([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A})(),ud=(function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Bd({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new Kg(this,e)}return A.instanceCount=1,A})(),gd=function(A,e){return e===void 0&&(e={}),dd(A,e)};typeof window<"u"&&Oo.setContext(window);var dd=function(A,e){return bA(void 0,void 0,void 0,function(){var t,r,n,s,a,i,o,l,c,B,g,p,f,h,y,b,w,L,K,I,C,Q,C,T,S,Y,aA,hA,k,z,HA,lA,cA,_A,IA,RA,XA,NA,CA,UA;return pA(this,function(mA){switch(mA.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(T=e.allowTaint)!==null&&T!==void 0?T:!1,imageTimeout:(S=e.imageTimeout)!==null&&S!==void 0?S:15e3,proxy:e.proxy,useCORS:(Y=e.useCORS)!==null&&Y!==void 0?Y:!1},s=Tn({logging:(aA=e.logging)!==null&&aA!==void 0?aA:!0,cache:e.cache},n),a={windowWidth:(hA=e.windowWidth)!==null&&hA!==void 0?hA:r.innerWidth,windowHeight:(k=e.windowHeight)!==null&&k!==void 0?k:r.innerHeight,scrollX:(z=e.scrollX)!==null&&z!==void 0?z:r.pageXOffset,scrollY:(HA=e.scrollY)!==null&&HA!==void 0?HA:r.pageYOffset},i=new re(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),o=new ud(s,i),l=(lA=e.foreignObjectRendering)!==null&&lA!==void 0?lA:!1,c={allowTaint:(cA=e.allowTaint)!==null&&cA!==void 0?cA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},o.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),B=new ka(o,A,c),g=B.clonedReferenceElement,g?[4,B.toIFrame(t,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=mA.sent(),f=is(g)||fg(g)?Xi(g.ownerDocument):Sr(o,g),h=f.width,y=f.height,b=f.left,w=f.top,L=fd(o,g,e.backgroundColor),K={canvas:e.canvas,backgroundColor:L,scale:(IA=(_A=e.scale)!==null&&_A!==void 0?_A:r.devicePixelRatio)!==null&&IA!==void 0?IA:1,x:((RA=e.x)!==null&&RA!==void 0?RA:0)+b,y:((XA=e.y)!==null&&XA!==void 0?XA:0)+w,width:(NA=e.width)!==null&&NA!==void 0?NA:Math.ceil(h),height:(CA=e.height)!==null&&CA!==void 0?CA:Math.ceil(y)},l?(o.logger.debug("Document cloned, using foreign object rendering"),C=new ld(o,K),[4,C.render(g)]):[3,3];case 2:return I=mA.sent(),[3,5];case 3:return o.logger.debug("Document cloned, element located at "+b+","+w+" with size "+h+"x"+y+" using computed rendering"),o.logger.debug("Starting DOM parsing"),Q=Io(o,g),L===Q.styles.backgroundColor&&(Q.styles.backgroundColor=te.TRANSPARENT),o.logger.debug("Starting renderer for element at "+K.x+","+K.y+" with size "+K.width+"x"+K.height),C=new rd(o,K),[4,C.render(Q)];case 4:I=mA.sent(),mA.label=5;case 5:return(!((UA=e.removeContainer)!==null&&UA!==void 0)||UA)&&(ka.destroy(p)||o.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),o.logger.debug("Finished rendering"),[2,I]}})})},fd=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Ft(A,getComputedStyle(r.documentElement).backgroundColor):te.TRANSPARENT,s=r.body?Ft(A,getComputedStyle(r.body).backgroundColor):te.TRANSPARENT,a=typeof t=="string"?Ft(A,t):t===null?te.TRANSPARENT:4294967295;return e===r.documentElement?pe(n)?pe(s)?a:s:n:a},Xo=gd;function pd(){let A=document.createElement("div");if(A.style.cssText=`
5
9
  position: fixed; inset: 0; z-index: 2147483647;
6
10
  background: white; opacity: 0;
7
11
  pointer-events: none;
8
12
  animation: bs-flash 0.4s ease-out forwards;
9
- `,!document.getElementById("bs-flash-style")){let t=document.createElement("style");t.id="bs-flash-style",t.textContent=`
13
+ `,!document.getElementById("bs-flash-style")){let e=document.createElement("style");e.id="bs-flash-style",e.textContent=`
10
14
  @keyframes bs-flash {
11
15
  0% { opacity: 0; }
12
16
  15% { opacity: 0.7; }
13
17
  100% { opacity: 0; }
14
18
  }
15
- `,document.head.appendChild(t)}document.body.appendChild(e),e.addEventListener("animationend",()=>e.remove())}async function qe(){Ts();try{let e=await $s();if(e)return e}catch{}return null}async function $s(){let e=window.innerWidth,t=window.innerHeight,n=document.documentElement.cloneNode(!0),s=document.documentElement.querySelectorAll("*"),r=n.querySelectorAll("*");for(let b=0;b<s.length&&b<r.length;b++){let h=window.getComputedStyle(s[b]),y=r[b];if(y.style){let M=["background","background-color","background-image","color","font","font-size","font-family","font-weight","border","border-radius","padding","margin","display","flex-direction","align-items","justify-content","gap","width","height","max-width","max-height","overflow","position","top","left","right","bottom","box-shadow","text-shadow","opacity","transform","text-align","line-height","letter-spacing","text-decoration","visibility","z-index","grid-template-columns","grid-template-rows","box-sizing"];for(let ae of M)try{y.style.setProperty(ae,h.getPropertyValue(ae))}catch{}}}n.querySelectorAll("script, [data-bugstash], .bs-fab, .bs-toolbar, .bs-modal, .bs-backdrop").forEach(b=>b.remove()),n.querySelectorAll('[style*="bs-flash"]').forEach(b=>b.remove()),n.querySelectorAll("img").forEach(b=>{try{let h=b.getAttribute("src")||"";h&&!h.startsWith("data:")&&!h.startsWith(window.location.origin)&&(b.removeAttribute("src"),b.style.backgroundColor="#e5e7eb")}catch{}});let l=new XMLSerializer().serializeToString(n),d=`
16
- <svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${t}">
17
- <foreignObject width="100%" height="100%">
18
- ${l}
19
- </foreignObject>
20
- </svg>
21
- `,c=new Blob([d],{type:"image/svg+xml;charset=utf-8"}),v=URL.createObjectURL(c);return new Promise(b=>{let h=new Image;h.crossOrigin="anonymous",h.onload=()=>{let y=document.createElement("canvas");y.width=e*.5,y.height=t*.5;let M=y.getContext("2d");if(!M){URL.revokeObjectURL(v),b(null);return}M.scale(.5,.5),M.drawImage(h,0,0),URL.revokeObjectURL(v);try{b(y.toDataURL("image/jpeg",.6))}catch{b(null)}},h.onerror=()=>{URL.revokeObjectURL(v),b(null)},h.src=v})}var Ms="https://bugstash-backend.vercel.app",Ln="https://bugstash-backend.vercel.app",F=Ms,Bt=!1;function Sn(e){F=e.replace(/\/$/,""),Bt=!1}function Cn(){return F}async function V(e,t){try{return await fetch(e,t)}catch(n){if(Bt)throw n;Bt=!0;let s=F;F=Ln;let r=e.replace(s,Ln);return fetch(r,t)}}var Nt="bugstash_auth";function Dt(){try{let e=localStorage.getItem(Nt);if(!e)return null;let t=JSON.parse(e);return t.tokens.expiresAt<Date.now(),t}catch{return null}}function Tn(e){localStorage.setItem(Nt,JSON.stringify(e))}function Ps(){localStorage.removeItem(Nt)}function Q(){return Dt()?.user||null}function $n(){return Dt()?.tokens.accessToken||null}async function ce(){let e=Dt();if(!e)return{"Content-Type":"application/json"};if(e.tokens.expiresAt<Date.now()+6e4)try{let t=await V(`${F}/api/auth/refresh`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:e.tokens.refreshToken})});if(t.ok){let n=await t.json();n.success&&(e.tokens=n.data,Tn(e))}}catch{}return{"Content-Type":"application/json",Authorization:`Bearer ${e.tokens.accessToken}`}}async function dt(e,t,n){try{let r=await(await V(`${F}/api/auth/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,password:t,projectId:n})})).json();return r.success&&Tn({user:r.data.user,tokens:r.data.tokens}),r}catch{return{success:!1,error:"Network error"}}}async function pt(){Ps()}async function jt(e){try{let t=await ce();return await(await V(`${F}/api/reports`,{method:"POST",headers:t,body:JSON.stringify(e)})).json()}catch{return{success:!1,error:"Network error - could not reach BugStash"}}}async function Mn(e,t){try{let n=await ce();return await(await V(`${F}/api/pins/by-page?projectId=${e}&pathname=${encodeURIComponent(t)}`,{headers:n})).json()}catch{return{success:!1,error:"Network error"}}}async function Ot(e){try{let t=await ce();return await(await V(`${F}/api/pins`,{method:"POST",headers:t,body:JSON.stringify(e)})).json()}catch{return{success:!1,error:"Network error"}}}async function bt(e,t){try{let n=await ce();return await(await V(`${F}/api/pins/${e}`,{method:"PUT",headers:n,body:JSON.stringify(t)})).json()}catch{return{success:!1,error:"Network error"}}}async function Pn(e){try{let t=await ce();return await(await V(`${F}/api/pins/${e}`,{method:"DELETE",headers:t})).json()}catch{return{success:!1,error:"Network error"}}}async function zn(e){try{let t=await ce();return await(await V(`${F}/api/pins/${e}/comments`,{headers:t})).json()}catch{return{success:!1,error:"Network error"}}}async function qt(e,t,n=[]){try{let s=await ce();return await(await V(`${F}/api/pins/${e}/comments`,{method:"POST",headers:s,body:JSON.stringify({body:t,mentions:n})})).json()}catch{return{success:!1,error:"Network error"}}}async function An(e){try{let t=await ce();return await(await V(`${F}/api/members/for-project/${e}`,{headers:t})).json()}catch{return{success:!1,error:"Network error"}}}var Ut="bugstash_offline_queue";function _t(e){let t=In();t.push({...e,id:Math.random().toString(36).slice(2),timestamp:Date.now()}),localStorage.setItem(Ut,JSON.stringify(t))}function In(){try{return JSON.parse(localStorage.getItem(Ut)||"[]")}catch{return[]}}async function zs(){let e=In();if(e.length===0)return 0;let t=0,n=[];for(let s of e)try{let r;switch(s.type){case"create_pin":r=await Ot(s.data);break;case"create_comment":r=await qt(s.data.pinId,s.data.body,s.data.mentions);break;case"update_pin":r=await bt(s.data.pinId,s.data.updates);break;case"submit_report":r=await jt(s.data);break;default:r={success:!1,error:"Unknown action"}}r.success?t++:n.push(s)}catch{n.push(s)}return localStorage.setItem(Ut,JSON.stringify(n)),t}typeof window<"u"&&window.addEventListener("online",()=>{zs().catch(()=>{})});var Ft=[{id:"slate",name:"Slate",preview:["#0f1117","#6E9ED0"],vars:{"--bs-bg":"#0f1117","--bs-bg2":"#1a1d27","--bs-bg3":"#2a2d37","--bs-text":"#e8eaed","--bs-muted":"#9ca3af","--bs-border":"#2a2d37","--bs-accent":"#6E9ED0","--bs-accent2":"#C3CAD6","--bs-fab1":"#6E9ED0","--bs-fab2":"#4a7ba8","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#ef4444","--bs-green":"#22c55e","--bs-orange":"#f97316","--bs-yellow":"#eab308"}},{id:"black",name:"Dark",preview:["#0a0a0a","#ffffff"],vars:{"--bs-bg":"#0a0a0a","--bs-bg2":"#141414","--bs-bg3":"#1e1e1e","--bs-text":"#f5f5f5","--bs-muted":"#737373","--bs-border":"#262626","--bs-accent":"#f5f5f5","--bs-accent2":"#d4d4d4","--bs-fab1":"#262626","--bs-fab2":"#171717","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#ef4444","--bs-green":"#22c55e","--bs-orange":"#f97316","--bs-yellow":"#eab308"}},{id:"white",name:"Light",preview:["#ffffff","#0a0a0a"],vars:{"--bs-bg":"#ffffff","--bs-bg2":"#f5f5f5","--bs-bg3":"#e5e5e5","--bs-text":"#0a0a0a","--bs-muted":"#737373","--bs-border":"#e5e5e5","--bs-accent":"#0a0a0a","--bs-accent2":"#404040","--bs-fab1":"#0a0a0a","--bs-fab2":"#262626","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#dc2626","--bs-green":"#16a34a","--bs-orange":"#ea580c","--bs-yellow":"#ca8a04"}}];function ut(){return Ft}function mt(e){return Ft.find(t=>t.id===e)}function Hn(){return Ft[0]}var Wt=[{id:"classic",name:"Center",description:"Centered modal",tabPosition:"top"},{id:"drawer-right",name:"Right Drawer",description:"Slides from right",tabPosition:"top"},{id:"bottom-sheet",name:"Bottom Sheet",description:"Slides from bottom",tabPosition:"top"},{id:"sidebar-tabs",name:"Sidebar",description:"Side navigation",tabPosition:"left"}];function gt(){return Wt}function Ue(e){return Wt.find(t=>t.id===e)}function Rn(){return Wt[0]}var Bn=`
19
+ `,document.head.appendChild(e)}document.body.appendChild(A),A.addEventListener("animationend",()=>A.remove())}async function Tt(){pd();try{let A=await wd();if(A)return A}catch{}try{let A=await hd();if(A)return A}catch{}return null}async function wd(){let A=await Xo(document.body,{scale:.5,useCORS:!0,allowTaint:!0,logging:!1,backgroundColor:null,ignoreElements:e=>e.classList?.contains("bs-fab")||e.classList?.contains("bs-toolbar")||e.classList?.contains("bs-modal")||e.classList?.contains("bs-backdrop")||e.id==="bs-flash-style"});try{return A.toDataURL("image/jpeg",.6)}catch{return null}}async function hd(){let A=window.innerWidth,e=window.innerHeight,t=document.documentElement.cloneNode(!0),r=document.documentElement.querySelectorAll("*"),n=t.querySelectorAll("*");for(let c=0;c<r.length&&c<n.length;c++){let B=window.getComputedStyle(r[c]),g=n[c];if(g.style){let p=["background","background-color","background-image","color","font","font-size","font-family","font-weight","border","border-radius","padding","margin","display","flex-direction","align-items","justify-content","gap","width","height","max-width","max-height","overflow","position","top","left","right","bottom","box-shadow","text-shadow","opacity","transform","text-align","line-height","letter-spacing","text-decoration","visibility","z-index","grid-template-columns","grid-template-rows","box-sizing"];for(let f of p)try{g.style.setProperty(f,B.getPropertyValue(f))}catch{}}}t.querySelectorAll('script, [data-bugstash], .bs-fab, .bs-toolbar, .bs-modal, .bs-backdrop, [id="bs-flash-style"]').forEach(c=>c.remove()),t.querySelectorAll("img").forEach(c=>{try{let B=c.getAttribute("src")||"";B&&!B.startsWith("data:")&&!B.startsWith(window.location.origin)&&(c.removeAttribute("src"),c.style.backgroundColor="#e5e7eb")}catch{}}),t.querySelectorAll("iframe, canvas, video, audio").forEach(c=>c.remove());let a=new XMLSerializer().serializeToString(t),i=`<svg xmlns="http://www.w3.org/2000/svg" width="${A}" height="${e}"><foreignObject width="100%" height="100%">${a}</foreignObject></svg>`,o=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),l=URL.createObjectURL(o);return new Promise(c=>{let B=new Image;B.crossOrigin="anonymous",B.onload=()=>{let g=document.createElement("canvas");g.width=A*.5,g.height=e*.5;let p=g.getContext("2d");if(!p){URL.revokeObjectURL(l),c(null);return}p.scale(.5,.5),p.drawImage(B,0,0),URL.revokeObjectURL(l);try{c(g.toDataURL("image/jpeg",.6))}catch{c(null)}},B.onerror=()=>{URL.revokeObjectURL(l),c(null)},B.src=l})}var bd="https://bugstash-backend.vercel.app",Jo="https://bugstash-backend.vercel.app",yA=bd,ls=!1;function Wo(A){yA=A.replace(/\/$/,""),ls=!1}function Yo(){return yA}async function zA(A,e){try{return await fetch(A,e)}catch(t){if(ls)throw t;ls=!0;let r=yA;yA=Jo;let n=A.replace(r,Jo);return fetch(n,e)}}var cs="bugstash_auth";function Bs(){try{let A=localStorage.getItem(cs);if(!A)return null;let e=JSON.parse(A);return e.tokens.expiresAt<Date.now(),e}catch{return null}}function zo(A){localStorage.setItem(cs,JSON.stringify(A))}function Qd(){localStorage.removeItem(cs)}function VA(){return Bs()?.user||null}function $o(){return Bs()?.tokens.accessToken||null}async function he(){let A=Bs();if(!A)return{"Content-Type":"application/json"};if(A.tokens.expiresAt<Date.now()+6e4)try{let e=await zA(`${yA}/api/auth/refresh`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:A.tokens.refreshToken})});if(e.ok){let t=await e.json();t.success&&(A.tokens=t.data,zo(A))}}catch{}return{"Content-Type":"application/json",Authorization:`Bearer ${A.tokens.accessToken}`}}async function Vr(A,e,t){try{let n=await(await zA(`${yA}/api/auth/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:A,password:e,projectId:t})})).json();return n.success&&zo({user:n.data.user,tokens:n.data.tokens}),n}catch{return{success:!1,error:"Network error"}}}async function _r(){Qd()}async function us(A){try{let e=await he();return await(await zA(`${yA}/api/reports`,{method:"POST",headers:e,body:JSON.stringify(A)})).json()}catch{return{success:!1,error:"Network error - could not reach BugStash"}}}async function Zo(A,e){try{let t=await he();return await(await zA(`${yA}/api/pins/by-page?projectId=${A}&pathname=${encodeURIComponent(e)}`,{headers:t})).json()}catch{return{success:!1,error:"Network error"}}}async function gs(A){try{let e=await he();return await(await zA(`${yA}/api/pins`,{method:"POST",headers:e,body:JSON.stringify(A)})).json()}catch{return{success:!1,error:"Network error"}}}async function Xr(A,e){try{let t=await he();return await(await zA(`${yA}/api/pins/${A}`,{method:"PUT",headers:t,body:JSON.stringify(e)})).json()}catch{return{success:!1,error:"Network error"}}}async function jo(A){try{let e=await he();return await(await zA(`${yA}/api/pins/${A}`,{method:"DELETE",headers:e})).json()}catch{return{success:!1,error:"Network error"}}}async function qo(A){try{let e=await he();return await(await zA(`${yA}/api/pins/${A}/comments`,{headers:e})).json()}catch{return{success:!1,error:"Network error"}}}async function ds(A,e,t=[]){try{let r=await he();return await(await zA(`${yA}/api/pins/${A}/comments`,{method:"POST",headers:r,body:JSON.stringify({body:e,mentions:t})})).json()}catch{return{success:!1,error:"Network error"}}}async function Ai(A){try{let e=await he();return await(await zA(`${yA}/api/members/for-project/${A}`,{headers:e})).json()}catch{return{success:!1,error:"Network error"}}}var fs="bugstash_offline_queue";function ps(A){let e=ei();e.push({...A,id:Math.random().toString(36).slice(2),timestamp:Date.now()}),localStorage.setItem(fs,JSON.stringify(e))}function ei(){try{return JSON.parse(localStorage.getItem(fs)||"[]")}catch{return[]}}async function Cd(){let A=ei();if(A.length===0)return 0;let e=0,t=[];for(let r of A)try{let n;switch(r.type){case"create_pin":n=await gs(r.data);break;case"create_comment":n=await ds(r.data.pinId,r.data.body,r.data.mentions);break;case"update_pin":n=await Xr(r.data.pinId,r.data.updates);break;case"submit_report":n=await us(r.data);break;default:n={success:!1,error:"Unknown action"}}n.success?e++:t.push(r)}catch{t.push(r)}return localStorage.setItem(fs,JSON.stringify(t)),e}typeof window<"u"&&window.addEventListener("online",()=>{Cd().catch(()=>{})});var ws=[{id:"slate",name:"Slate",preview:["#0f1117","#6E9ED0"],vars:{"--bs-bg":"#0f1117","--bs-bg2":"#1a1d27","--bs-bg3":"#2a2d37","--bs-text":"#e8eaed","--bs-muted":"#9ca3af","--bs-border":"#2a2d37","--bs-accent":"#6E9ED0","--bs-accent2":"#C3CAD6","--bs-fab1":"#6E9ED0","--bs-fab2":"#4a7ba8","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#ef4444","--bs-green":"#22c55e","--bs-orange":"#f97316","--bs-yellow":"#eab308"}},{id:"black",name:"Dark",preview:["#0a0a0a","#ffffff"],vars:{"--bs-bg":"#0a0a0a","--bs-bg2":"#141414","--bs-bg3":"#1e1e1e","--bs-text":"#f5f5f5","--bs-muted":"#737373","--bs-border":"#262626","--bs-accent":"#f5f5f5","--bs-accent2":"#d4d4d4","--bs-fab1":"#262626","--bs-fab2":"#171717","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#ef4444","--bs-green":"#22c55e","--bs-orange":"#f97316","--bs-yellow":"#eab308"}},{id:"white",name:"Light",preview:["#ffffff","#0a0a0a"],vars:{"--bs-bg":"#ffffff","--bs-bg2":"#f5f5f5","--bs-bg3":"#e5e5e5","--bs-text":"#0a0a0a","--bs-muted":"#737373","--bs-border":"#e5e5e5","--bs-accent":"#0a0a0a","--bs-accent2":"#404040","--bs-fab1":"#0a0a0a","--bs-fab2":"#262626","--bs-radius":"12px","--bs-radius-sm":"8px","--bs-red":"#dc2626","--bs-green":"#16a34a","--bs-orange":"#ea580c","--bs-yellow":"#ca8a04"}}];function Jr(){return ws}function Wr(A){return ws.find(e=>e.id===A)}function ti(){return ws[0]}var hs=[{id:"classic",name:"Center",description:"Centered modal",tabPosition:"top"},{id:"drawer-right",name:"Right Drawer",description:"Slides from right",tabPosition:"top"},{id:"bottom-sheet",name:"Bottom Sheet",description:"Slides from bottom",tabPosition:"top"},{id:"sidebar-tabs",name:"Sidebar",description:"Side navigation",tabPosition:"left"}];function Yr(){return hs}function Dt(A){return hs.find(e=>e.id===A)}function ri(){return hs[0]}var ni=`
22
20
  /* \u2500\u2500 1. Classic (default \u2014 no overrides) \u2500\u2500 */
23
21
 
24
22
  /* \u2500\u2500 2. Drawer Right \u2500\u2500 */
@@ -78,312 +76,394 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
78
76
  }
79
77
  .bs-ly-sidebar-tabs .bs-tab-divider { display: none; }
80
78
  .bs-ly-sidebar-tabs .bs-scroll { flex: 1; }
81
- `;var Le=null,ft=0,As=5e3,ke=new Map,Ee=null,ht=new Set;function vt(e){Ee=e,ft=Date.now(),Is()}function Is(){Le||(Le=setInterval(Hs,As))}async function Hs(){if(!Ee)return;let e=$n();if(e)try{let t=Cn(),n=window.location.pathname,s=await fetch(`${t}/api/pins/poll?projectId=${Ee}&pathname=${encodeURIComponent(n)}&since=${ft}`,{headers:{Authorization:`Bearer ${e}`}});if(!s.ok)return;let r=await s.json();if(!r.success)return;let{pins:a,serverTime:l}=r.data;ft=l;for(let d of a)ht.has(d.id)?Nn("pin:updated",{type:"pin:updated",projectId:Ee,data:d,userId:"",timestamp:Date.now()}):(ht.add(d.id),Nn("pin:created",{type:"pin:created",projectId:Ee,data:d,userId:"",timestamp:Date.now()}))}catch{}}function Dn(){Le&&(clearInterval(Le),Le=null),Ee=null,ht.clear(),ft=0}function _e(e,t){return ke.has(e)||ke.set(e,new Set),ke.get(e).add(t),()=>{ke.get(e)?.delete(t)}}function Nn(e,t){ke.get(e)?.forEach(n=>n(t)),ke.get("*")?.forEach(n=>n(t))}function jn(e){ht=new Set(e)}function On(){return Le!==null}var xt,A=null,U=[],Fn=[],Se=!1,Fe=null,Rs="",qn={open:"#f97316",in_progress:"#3b82f6",resolved:"#22c55e",closed:"#6b7280"};function yt(e){xt=e,Rs=window.location.pathname,Bs(),Yn(),Ns(),qs(),Us()}function Wn(){A&&(A.remove(),A=null),U=[]}function We(e){return Se=e!==void 0?e:!Se,A&&A.classList.toggle("bs-pin-mode",Se),Se}function wt(){return Se}function Bs(){if(A)return;A=document.createElement("div"),A.id="bugstash-live-pins";let e=document.createElement("style");e.textContent=`
79
+ `;var Ye=null,zr=0,Ud=5e3,Je=new Map,We=null,$r=new Set;function kt(A){We=A,zr=Date.now(),md()}function md(){Ye||(Ye=setInterval(vd,Ud))}async function vd(){if(!We)return;let A=$o();if(A)try{let e=Yo(),t=window.location.pathname,r=await fetch(`${e}/api/pins/poll?projectId=${We}&pathname=${encodeURIComponent(t)}&since=${zr}`,{headers:{Authorization:`Bearer ${A}`}});if(!r.ok)return;let n=await r.json();if(!n.success)return;let{pins:s,serverTime:a}=n.data;zr=a;for(let i of s)$r.has(i.id)?si("pin:updated",{type:"pin:updated",projectId:We,data:i,userId:"",timestamp:Date.now()}):($r.add(i.id),si("pin:created",{type:"pin:created",projectId:We,data:i,userId:"",timestamp:Date.now()}))}catch{}}function ai(){Ye&&(clearInterval(Ye),Ye=null),We=null,$r.clear(),zr=0}function Mt(A,e){return Je.has(A)||Je.set(A,new Set),Je.get(A).add(e),()=>{Je.get(A)?.delete(e)}}function si(A,e){Je.get(A)?.forEach(t=>t(e)),Je.get("*")?.forEach(t=>t(e))}function oi(A){$r=new Set(A)}function ii(){return Ye!==null}var jr,AA=null,QA=[],ci=[],ze=!1,Ot=null,Fd="",Zr={open:"#f97316",in_progress:"#3b82f6",resolved:"#22c55e",closed:"#6b7280"},yd='<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C8.13 2 5 5.13 5 9c0 4.17 4.42 9.92 6.24 12.11.4.48 1.12.48 1.52 0C14.58 18.92 19 13.17 19 9c0-3.87-3.13-7-7-7z" fill="currentColor"/><circle cx="12" cy="9" r="3" fill="#fff" opacity="0.9"/></svg>';function Rt(A){jr=A,Fd=window.location.pathname,Ed(),ui(),xd(),Kd(),Sd()}function Bi(){AA&&(AA.remove(),AA=null),QA=[]}function Nt(A){return ze=A!==void 0?A:!ze,AA&&AA.classList.toggle("bs-pin-mode",ze),ze}function qr(){return ze}function Ed(){if(AA)return;AA=document.createElement("div"),AA.id="bugstash-live-pins";let A=document.createElement("style");A.textContent=`
82
80
  #bugstash-live-pins {
83
- position: fixed;
84
- inset: 0;
81
+ position: absolute;
82
+ top: 0;
83
+ left: 0;
84
+ width: 100%;
85
+ min-height: 100%;
85
86
  z-index: 2147483640;
86
87
  pointer-events: none;
87
88
  }
88
89
  #bugstash-live-pins.bs-pin-mode {
89
90
  pointer-events: auto;
90
91
  cursor: crosshair;
92
+ position: fixed;
93
+ inset: 0;
94
+ width: auto;
95
+ min-height: auto;
96
+ background: rgba(0,0,0,0.05);
91
97
  }
98
+
99
+ /* \u2500\u2500 Pin Marker \u2500\u2500 */
92
100
  .bs-lp {
93
101
  position: absolute;
94
102
  pointer-events: auto;
95
103
  cursor: pointer;
96
- transition: transform 0.15s ease;
104
+ z-index: 1;
105
+ filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
106
+ transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), filter 0.2s;
97
107
  }
98
- .bs-lp:hover { transform: scale(1.15); }
99
- .bs-lp-dot {
100
- width: 28px;
101
- height: 28px;
102
- border-radius: 50% 50% 50% 0;
103
- transform: rotate(-45deg);
108
+ .bs-lp:hover {
109
+ z-index: 5;
110
+ transform: scale(1.15);
111
+ filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
112
+ }
113
+ .bs-lp-marker {
114
+ position: relative;
115
+ color: var(--bs-pin-color, #f97316);
104
116
  display: flex;
105
117
  align-items: center;
106
118
  justify-content: center;
107
- box-shadow: 0 2px 8px rgba(0,0,0,0.3);
108
- border: 2px solid #fff;
109
- font-size: 11px;
110
- font-weight: 700;
111
- color: #fff;
112
119
  }
113
- .bs-lp-dot span {
114
- transform: rotate(45deg);
120
+ .bs-lp-marker svg {
115
121
  display: block;
116
122
  }
123
+ .bs-lp-num {
124
+ position: absolute;
125
+ top: 5px;
126
+ left: 50%;
127
+ transform: translateX(-50%);
128
+ font-size: 9px;
129
+ font-weight: 800;
130
+ font-family: -apple-system, system-ui, sans-serif;
131
+ color: var(--bs-pin-color, #f97316);
132
+ line-height: 1;
133
+ pointer-events: none;
134
+ }
135
+ .bs-lp-pulse {
136
+ position: absolute;
137
+ top: 2px;
138
+ left: 50%;
139
+ transform: translateX(-50%);
140
+ width: 12px;
141
+ height: 12px;
142
+ border-radius: 50%;
143
+ background: var(--bs-pin-color, #f97316);
144
+ opacity: 0;
145
+ animation: bs-lp-ping 2.5s ease-out infinite;
146
+ }
147
+ @keyframes bs-lp-ping {
148
+ 0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
149
+ 100% { opacity: 0; transform: translateX(-50%) scale(3); }
150
+ }
151
+
152
+ /* \u2500\u2500 Popup \u2500\u2500 */
117
153
  .bs-lp-popup {
118
154
  position: absolute;
119
- left: 36px;
155
+ left: 34px;
120
156
  top: -8px;
121
157
  width: 320px;
122
- background: #1a1d2e;
123
- border: 1px solid #333754;
158
+ background: #111318;
159
+ border: 1px solid rgba(255,255,255,0.08);
124
160
  border-radius: 12px;
125
- box-shadow: 0 8px 32px rgba(0,0,0,0.4);
161
+ box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
126
162
  z-index: 10;
127
163
  pointer-events: auto;
128
164
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
129
- color: #e2e5ed;
165
+ color: #e8eaed;
130
166
  overflow: hidden;
167
+ animation: bs-lp-pop-in 0.2s cubic-bezier(0.34,1.56,0.64,1);
131
168
  }
132
- .bs-lp-popup-header {
133
- padding: 12px 14px;
134
- border-bottom: 1px solid #333754;
169
+ @keyframes bs-lp-pop-in {
170
+ from { opacity: 0; transform: scale(0.95) translateX(-4px); }
171
+ to { opacity: 1; transform: scale(1) translateX(0); }
172
+ }
173
+ .bs-lp-popup-hdr {
174
+ padding: 12px 14px 10px;
135
175
  display: flex;
136
- align-items: center;
137
- justify-content: space-between;
176
+ align-items: flex-start;
138
177
  gap: 8px;
139
178
  }
140
179
  .bs-lp-popup-title {
141
- font-size: 14px;
142
- font-weight: 600;
180
+ font-size: 13px;
181
+ font-weight: 700;
143
182
  flex: 1;
144
- overflow: hidden;
145
- text-overflow: ellipsis;
146
- white-space: nowrap;
183
+ line-height: 1.3;
147
184
  }
148
- .bs-lp-popup-status {
149
- font-size: 10px;
150
- padding: 2px 8px;
151
- border-radius: 4px;
152
- font-weight: 600;
185
+ .bs-lp-popup-badge {
186
+ font-size: 9px;
187
+ padding: 3px 8px;
188
+ border-radius: 99px;
189
+ font-weight: 700;
153
190
  text-transform: uppercase;
191
+ letter-spacing: 0.4px;
192
+ white-space: nowrap;
193
+ flex-shrink: 0;
154
194
  }
155
- .bs-lp-popup-body {
156
- padding: 12px 14px;
157
- font-size: 13px;
158
- line-height: 1.5;
159
- color: #a0a4b8;
160
- max-height: 120px;
161
- overflow-y: auto;
195
+ .bs-lp-popup-close {
196
+ all: unset;
197
+ color: #4b5563;
198
+ font-size: 18px;
199
+ cursor: pointer;
200
+ line-height: 1;
201
+ padding: 0 2px;
202
+ flex-shrink: 0;
203
+ }
204
+ .bs-lp-popup-close:hover { color: #e8eaed; }
205
+ .bs-lp-popup-desc {
206
+ padding: 0 14px 10px;
207
+ font-size: 12px;
208
+ line-height: 1.55;
209
+ color: #9ca3af;
162
210
  }
163
- .bs-lp-popup-meta {
211
+ .bs-lp-popup-info {
164
212
  padding: 8px 14px;
165
- font-size: 11px;
166
- color: #7c82a0;
167
- border-top: 1px solid #2a2e42;
213
+ font-size: 10px;
214
+ color: #6b7280;
215
+ background: rgba(255,255,255,0.02);
216
+ border-top: 1px solid rgba(255,255,255,0.05);
168
217
  display: flex;
169
218
  justify-content: space-between;
170
219
  }
171
- .bs-lp-comments {
220
+
221
+ /* Comments */
222
+ .bs-lp-cmts {
172
223
  max-height: 200px;
173
224
  overflow-y: auto;
174
- border-top: 1px solid #2a2e42;
225
+ border-top: 1px solid rgba(255,255,255,0.05);
175
226
  }
176
- .bs-lp-comment {
177
- padding: 8px 14px;
178
- border-bottom: 1px solid #222639;
179
- font-size: 12px;
227
+ .bs-lp-cmts::-webkit-scrollbar { width: 4px; }
228
+ .bs-lp-cmts::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
229
+ .bs-lp-cmt {
230
+ padding: 10px 14px;
231
+ border-bottom: 1px solid rgba(255,255,255,0.03);
180
232
  }
181
- .bs-lp-comment-author {
182
- font-weight: 600;
183
- color: #e2e5ed;
184
- margin-bottom: 2px;
233
+ .bs-lp-cmt:last-child { border-bottom: none; }
234
+ .bs-lp-cmt-top {
235
+ display: flex;
236
+ align-items: center;
237
+ justify-content: space-between;
238
+ margin-bottom: 3px;
185
239
  }
186
- .bs-lp-comment-body {
187
- color: #a0a4b8;
188
- line-height: 1.4;
240
+ .bs-lp-cmt-author {
241
+ font-weight: 600;
242
+ color: #e8eaed;
243
+ font-size: 11px;
189
244
  }
190
- .bs-lp-comment-time {
245
+ .bs-lp-cmt-time {
191
246
  font-size: 10px;
192
- color: #7c82a0;
193
- margin-top: 2px;
247
+ color: #4b5563;
248
+ }
249
+ .bs-lp-cmt-body {
250
+ color: #9ca3af;
251
+ font-size: 12px;
252
+ line-height: 1.4;
194
253
  }
195
- .bs-lp-input-row {
254
+
255
+ /* Comment input */
256
+ .bs-lp-input {
196
257
  display: flex;
197
- border-top: 1px solid #333754;
258
+ border-top: 1px solid rgba(255,255,255,0.06);
198
259
  }
199
- .bs-lp-input-row input {
260
+ .bs-lp-input input {
261
+ all: unset;
200
262
  flex: 1;
201
- background: transparent;
202
- border: none;
203
263
  padding: 10px 14px;
204
- color: #e2e5ed;
205
- font-size: 13px;
206
- outline: none;
207
- }
208
- .bs-lp-input-row input::placeholder { color: #555; }
209
- .bs-lp-input-row button {
210
- background: linear-gradient(135deg, #6E9ED0, #8FAFD6);
211
- border: none;
212
- color: #fff;
213
- padding: 0 16px;
264
+ color: #e8eaed;
214
265
  font-size: 12px;
215
- font-weight: 600;
266
+ }
267
+ .bs-lp-input input::placeholder { color: #4b5563; }
268
+ .bs-lp-input button {
269
+ all: unset;
270
+ padding: 0 14px;
271
+ color: #6E9ED0;
272
+ font-size: 11px;
273
+ font-weight: 700;
216
274
  cursor: pointer;
217
275
  }
218
- .bs-lp-input-row button:hover { opacity: 0.9; }
219
- .bs-lp-actions {
276
+ .bs-lp-input button:hover { color: #93bdea; }
277
+
278
+ /* Actions */
279
+ .bs-lp-acts {
220
280
  padding: 8px 14px;
221
281
  display: flex;
222
282
  gap: 6px;
223
- border-top: 1px solid #2a2e42;
283
+ border-top: 1px solid rgba(255,255,255,0.05);
224
284
  }
225
- .bs-lp-btn {
226
- padding: 4px 10px;
285
+ .bs-lp-act {
286
+ all: unset;
287
+ padding: 5px 12px;
227
288
  border-radius: 6px;
228
- border: 1px solid #333754;
229
- background: #222639;
230
- color: #a0a4b8;
289
+ border: 1px solid rgba(255,255,255,0.08);
290
+ background: rgba(255,255,255,0.03);
291
+ color: #9ca3af;
231
292
  font-size: 11px;
293
+ font-weight: 600;
232
294
  cursor: pointer;
295
+ transition: all 0.15s;
233
296
  }
234
- .bs-lp-btn:hover { background: #2a2e42; color: #e2e5ed; }
235
- .bs-lp-btn.resolve { border-color: #22c55e44; color: #4ade80; }
236
- .bs-lp-btn.resolve:hover { background: #22c55e22; }
237
- .bs-lp-btn.delete { border-color: #ef444444; color: #f87171; }
238
- .bs-lp-btn.delete:hover { background: #ef444422; }
239
- .bs-lp-close {
240
- background: none;
241
- border: none;
242
- color: #7c82a0;
243
- font-size: 18px;
244
- cursor: pointer;
245
- padding: 0 4px;
246
- line-height: 1;
247
- }
248
- .bs-lp-close:hover { color: #e2e5ed; }
297
+ .bs-lp-act:hover { background: rgba(255,255,255,0.06); color: #e8eaed; }
298
+ .bs-lp-act.resolve { color: #4ade80; border-color: rgba(34,197,94,0.2); }
299
+ .bs-lp-act.resolve:hover { background: rgba(34,197,94,0.1); }
300
+ .bs-lp-act.delete { color: #f87171; border-color: rgba(239,68,68,0.2); }
301
+ .bs-lp-act.delete:hover { background: rgba(239,68,68,0.1); }
249
302
 
250
- /* New pin form */
251
- .bs-lp-newform {
303
+ /* \u2500\u2500 New Pin Form \u2500\u2500 */
304
+ .bs-lp-form {
252
305
  position: absolute;
253
- width: 320px;
254
- background: #1a1d2e;
255
- border: 1px solid #333754;
306
+ width: 300px;
307
+ background: #111318;
308
+ border: 1px solid rgba(255,255,255,0.08);
256
309
  border-radius: 12px;
257
- box-shadow: 0 8px 32px rgba(0,0,0,0.4);
310
+ box-shadow: 0 20px 60px rgba(0,0,0,0.6);
258
311
  z-index: 2147483645;
259
312
  pointer-events: auto;
260
313
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
261
- color: #e2e5ed;
314
+ color: #e8eaed;
262
315
  padding: 14px;
316
+ animation: bs-lp-pop-in 0.2s cubic-bezier(0.34,1.56,0.64,1);
263
317
  }
264
- .bs-lp-newform label {
318
+ .bs-lp-form-label {
265
319
  display: block;
266
- font-size: 11px;
267
- color: #7c82a0;
320
+ font-size: 10px;
321
+ color: #6b7280;
268
322
  margin-bottom: 4px;
269
323
  margin-top: 10px;
270
- font-weight: 600;
324
+ font-weight: 700;
325
+ text-transform: uppercase;
326
+ letter-spacing: 0.5px;
271
327
  }
272
- .bs-lp-newform label:first-child { margin-top: 0; }
273
- .bs-lp-newform input, .bs-lp-newform textarea, .bs-lp-newform select {
328
+ .bs-lp-form-label:first-child { margin-top: 0; }
329
+ .bs-lp-form input,
330
+ .bs-lp-form textarea,
331
+ .bs-lp-form select {
332
+ all: unset;
333
+ display: block;
274
334
  width: 100%;
275
- background: #222639;
276
- border: 1px solid #333754;
335
+ background: rgba(255,255,255,0.04);
336
+ border: 1px solid rgba(255,255,255,0.08);
277
337
  border-radius: 8px;
278
338
  padding: 8px 10px;
279
- color: #e2e5ed;
339
+ color: #e8eaed;
280
340
  font-size: 13px;
281
- outline: none;
282
341
  font-family: inherit;
283
342
  box-sizing: border-box;
343
+ transition: border-color 0.15s;
344
+ }
345
+ .bs-lp-form textarea {
346
+ resize: vertical;
347
+ min-height: 48px;
348
+ white-space: pre-wrap;
284
349
  }
285
- .bs-lp-newform textarea { resize: vertical; min-height: 60px; }
286
- .bs-lp-newform input:focus, .bs-lp-newform textarea:focus, .bs-lp-newform select:focus {
350
+ .bs-lp-form input:focus,
351
+ .bs-lp-form textarea:focus,
352
+ .bs-lp-form select:focus {
287
353
  border-color: #6E9ED0;
288
354
  }
289
- .bs-lp-newform-actions {
355
+ .bs-lp-form input::placeholder,
356
+ .bs-lp-form textarea::placeholder { color: #4b5563; }
357
+ .bs-lp-form-btns {
290
358
  display: flex;
291
359
  gap: 8px;
292
360
  margin-top: 12px;
293
361
  }
294
- .bs-lp-newform-actions button {
362
+ .bs-lp-form-btns button {
363
+ all: unset;
295
364
  flex: 1;
296
- padding: 8px;
365
+ padding: 9px;
297
366
  border-radius: 8px;
298
- border: none;
299
- font-size: 13px;
300
- font-weight: 600;
367
+ font-size: 12px;
368
+ font-weight: 700;
301
369
  cursor: pointer;
370
+ text-align: center;
371
+ transition: opacity 0.15s;
302
372
  }
303
- .bs-lp-newform-submit {
304
- background: linear-gradient(135deg, #6E9ED0, #8FAFD6);
373
+ .bs-lp-form-submit {
374
+ background: #6E9ED0;
305
375
  color: #fff;
306
376
  }
307
- .bs-lp-newform-cancel {
308
- background: #333754;
309
- color: #a0a4b8;
377
+ .bs-lp-form-submit:hover { opacity: 0.85; }
378
+ .bs-lp-form-cancel {
379
+ background: rgba(255,255,255,0.06);
380
+ color: #9ca3af;
310
381
  }
311
- `,A.appendChild(e),document.body.appendChild(A),A.addEventListener("click",t=>{if(!Se||t.target.closest(".bs-lp, .bs-lp-popup, .bs-lp-newform"))return;let n=t.clientX+window.scrollX,s=t.clientY+window.scrollY;A.style.pointerEvents="none";let r=document.elementFromPoint(t.clientX,t.clientY);A.style.pointerEvents="",Os(n,s,r)})}async function Yn(){let e=await Mn(xt,window.location.pathname);e.success&&e.data&&(U=e.data,jn(U.map(t=>t.id)),re())}async function Ns(){let e=await An(xt);e.success&&e.data&&(Fn=e.data)}function re(){A&&(A.querySelectorAll(".bs-lp").forEach(e=>e.remove()),U.forEach((e,t)=>{let n=document.createElement("div");n.className="bs-lp",n.style.left=`${e.pageX}px`,n.style.top=`${e.pageY}px`,n.dataset.pinId=e.id;let s=qn[e.status]||qn.open;n.innerHTML=`
312
- <div class="bs-lp-dot" style="background:${s}">
313
- <span>${t+1}</span>
382
+ .bs-lp-form-cancel:hover { background: rgba(255,255,255,0.1); }
383
+ `,AA.appendChild(A),document.body.appendChild(AA),AA.addEventListener("click",e=>{if(!ze||e.target.closest(".bs-lp, .bs-lp-popup, .bs-lp-form"))return;let t=e.clientX+window.scrollX,r=e.clientY+window.scrollY;AA.style.pointerEvents="none";let n=document.elementFromPoint(e.clientX,e.clientY);AA.style.pointerEvents="",Ld(t,r,n)})}async function ui(){let A=await Zo(jr,window.location.pathname);A.success&&A.data&&(QA=A.data,oi(QA.map(e=>e.id)),se())}async function xd(){let A=await Ai(jr);A.success&&A.data&&(ci=A.data)}function se(){AA&&(AA.querySelectorAll(".bs-lp").forEach(A=>A.remove()),QA.forEach((A,e)=>{let t=document.createElement("div");t.className="bs-lp",t.style.left=`${A.pageX}px`,t.style.top=`${A.pageY-28}px`,t.dataset.pinId=A.id;let r=Zr[A.status]||Zr.open;t.innerHTML=`
384
+ <div class="bs-lp-marker" style="--bs-pin-color:${r}">
385
+ ${yd}
386
+ <span class="bs-lp-num">${e+1}</span>
387
+ <span class="bs-lp-pulse"></span>
314
388
  </div>
315
- `,n.addEventListener("click",r=>{r.stopPropagation(),Ds(e,n)}),A.appendChild(n)}))}function Un(e){let t=Date.now()-e,n=Math.floor(t/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;let s=Math.floor(n/60);return s<24?`${s}h ago`:`${Math.floor(s/24)}d ago`}function _n(e){return{open:"#f97316",in_progress:"#3b82f6",resolved:"#22c55e",closed:"#6b7280"}[e]||"#6b7280"}async function Ds(e,t){ue();let n=document.createElement("div");n.className="bs-lp-popup";let s=await zn(e.id),r=s.success&&s.data?s.data:[],a=Q(),l=a&&(a.role==="owner"||a.role==="admin"||a.id===e.createdBy);n.innerHTML=`
316
- <div class="bs-lp-popup-header">
317
- <div class="bs-lp-popup-title">${se(e.title)}</div>
318
- <span class="bs-lp-popup-status" style="background:${_n(e.status)}22;color:${_n(e.status)}">${e.status.replace("_"," ")}</span>
319
- <button class="bs-lp-close">&times;</button>
389
+ `,t.addEventListener("click",n=>{n.stopPropagation(),Hd(A,t)}),AA.appendChild(t)}))}function li(A){let e=Date.now()-A,t=Math.floor(e/6e4);if(t<1)return"just now";if(t<60)return`${t}m ago`;let r=Math.floor(t/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}async function Hd(A,e){ye();let t=document.createElement("div");t.className="bs-lp-popup";let r=VA(),n=r&&(r.role==="owner"||r.role==="admin"||r.id===A.createdBy),s=Zr[A.status]||Zr.open;t.innerHTML=`
390
+ <div class="bs-lp-popup-hdr">
391
+ <div class="bs-lp-popup-title">${ne(A.title)}</div>
392
+ <span class="bs-lp-popup-badge" style="background:${s}18;color:${s}">${A.status.replace("_"," ")}</span>
393
+ <button class="bs-lp-popup-close">&times;</button>
320
394
  </div>
321
- ${e.description?`<div class="bs-lp-popup-body">${se(e.description)}</div>`:""}
322
- <div class="bs-lp-popup-meta">
323
- <span>${e.creatorName||"Unknown"} &middot; ${Un(e.createdAt)}</span>
324
- <span>${e.assigneeName?`Assigned: ${e.assigneeName}`:"Unassigned"}</span>
395
+ ${A.description?`<div class="bs-lp-popup-desc">${ne(A.description)}</div>`:""}
396
+ <div class="bs-lp-popup-info">
397
+ <span>${A.creatorName||"Unknown"} &middot; ${li(A.createdAt)}</span>
398
+ <span>${A.assigneeName?`\u2192 ${A.assigneeName}`:"Unassigned"}</span>
325
399
  </div>
326
- <div class="bs-lp-comments" id="bs-lp-comments">
327
- ${r.map(c=>`
328
- <div class="bs-lp-comment">
329
- <div class="bs-lp-comment-author">${se(c.author?.name||c.authorName||"Unknown")}</div>
330
- <div class="bs-lp-comment-body">${se(c.body)}</div>
331
- <div class="bs-lp-comment-time">${Un(new Date(c.createdAt).getTime())}</div>
332
- </div>
333
- `).join("")}
400
+ <div class="bs-lp-cmts" id="bs-lp-cmts">
401
+ <div class="bs-lp-cmt" style="text-align:center;color:#4b5563;padding:12px">Loading comments...</div>
334
402
  </div>
335
- <div class="bs-lp-input-row">
336
- <input type="text" placeholder="Add a comment..." id="bs-lp-comment-input" />
337
- <button id="bs-lp-comment-send">Send</button>
403
+ <div class="bs-lp-input">
404
+ <input type="text" placeholder="Add a comment..." id="bs-lp-cmt-in" name="pin-comment" />
405
+ <button id="bs-lp-cmt-send">Send</button>
338
406
  </div>
339
- <div class="bs-lp-actions">
340
- ${e.status!=="resolved"?'<button class="bs-lp-btn resolve" id="bs-lp-resolve">Resolve</button>':'<button class="bs-lp-btn" id="bs-lp-reopen">Reopen</button>'}
341
- ${l?'<button class="bs-lp-btn delete" id="bs-lp-delete">Delete</button>':""}
407
+ <div class="bs-lp-acts">
408
+ ${A.status!=="resolved"?'<button class="bs-lp-act resolve" id="bs-lp-resolve">Resolve</button>':'<button class="bs-lp-act" id="bs-lp-reopen">Reopen</button>'}
409
+ ${n?'<button class="bs-lp-act delete" id="bs-lp-delete">Delete</button>':""}
342
410
  </div>
343
- `,t.appendChild(n),Fe=n,n.querySelector(".bs-lp-close").addEventListener("click",c=>{c.stopPropagation(),ue()}),n.querySelector("#bs-lp-comment-send")?.addEventListener("click",async()=>{let c=n.querySelector("#bs-lp-comment-input"),v=c.value.trim();if(v)if(c.value="",navigator.onLine){let b=await qt(e.id,v);if(b.success&&b.data){let h=n.querySelector("#bs-lp-comments"),y=b.data;h.innerHTML+=`
344
- <div class="bs-lp-comment">
345
- <div class="bs-lp-comment-author">${se(y.authorName||a?.name||"You")}</div>
346
- <div class="bs-lp-comment-body">${se(y.body)}</div>
347
- <div class="bs-lp-comment-time">just now</div>
411
+ `,e.appendChild(t),Ot=t,qo(A.id).then(a=>{let i=t.querySelector("#bs-lp-cmts");if(!i)return;let o=a.success&&a.data?a.data:[];i.innerHTML=o.length?o.map(l=>`
412
+ <div class="bs-lp-cmt">
413
+ <div class="bs-lp-cmt-top">
414
+ <span class="bs-lp-cmt-author">${ne(l.author?.name||l.authorName||"Unknown")}</span>
415
+ <span class="bs-lp-cmt-time">${li(new Date(l.createdAt).getTime())}</span>
416
+ </div>
417
+ <div class="bs-lp-cmt-body">${ne(l.body)}</div>
418
+ </div>
419
+ `).join(""):""}),requestAnimationFrame(()=>{let a=t.getBoundingClientRect();a.right>window.innerWidth-16&&(t.style.left="auto",t.style.right="34px"),a.bottom>window.innerHeight-16&&(t.style.top="auto",t.style.bottom="0")}),t.querySelector(".bs-lp-popup-close").addEventListener("click",a=>{a.stopPropagation(),ye()}),t.querySelector("#bs-lp-cmt-send")?.addEventListener("click",async()=>{let a=t.querySelector("#bs-lp-cmt-in"),i=a.value.trim();if(i)if(a.value="",navigator.onLine){let o=await ds(A.id,i);if(o.success&&o.data){let l=t.querySelector("#bs-lp-cmts"),c=o.data;l.innerHTML+=`
420
+ <div class="bs-lp-cmt">
421
+ <div class="bs-lp-cmt-top">
422
+ <span class="bs-lp-cmt-author">${ne(c.authorName||r?.name||"You")}</span>
423
+ <span class="bs-lp-cmt-time">just now</span>
424
+ </div>
425
+ <div class="bs-lp-cmt-body">${ne(c.body)}</div>
348
426
  </div>
349
- `,h.scrollTop=h.scrollHeight}}else _t({type:"create_comment",data:{pinId:e.id,body:v}})}),n.querySelector("#bs-lp-comment-input")?.addEventListener("keydown",c=>{c.key==="Enter"&&n.querySelector("#bs-lp-comment-send")?.dispatchEvent(new Event("click"))}),n.querySelector("#bs-lp-resolve")?.addEventListener("click",async()=>{await bt(e.id,{status:"resolved"}),e.status="resolved",ue(),re()}),n.querySelector("#bs-lp-reopen")?.addEventListener("click",async()=>{await bt(e.id,{status:"open"}),e.status="open",ue(),re()}),n.querySelector("#bs-lp-delete")?.addEventListener("click",async()=>{confirm("Delete this pin?")&&(await Pn(e.id),U=U.filter(c=>c.id!==e.id),ue(),re())}),n.addEventListener("click",c=>c.stopPropagation())}function ue(){Fe?.remove(),Fe=null}function Xn(e){if(!e||e===document.body||e===document.documentElement)return"body";if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase();if(e.className&&typeof e.className=="string"){let s=e.className.trim().split(/\s+/).filter(r=>!r.startsWith("bs-")).slice(0,3);s.length&&(t+="."+s.join("."))}let n=e.parentElement;if(n&&n!==document.body){let s=Array.from(n.children).filter(r=>r.tagName===e.tagName);if(s.length>1){let r=s.indexOf(e);t+=`:nth-child(${r+1})`}return Xn(n)+" > "+t}return t}function js(e){if(!e)return"";let t=[],n=e;for(;n&&n!==document.body;){let s=1,r=n.previousElementSibling;for(;r;)r.tagName===n.tagName&&s++,r=r.previousElementSibling;t.unshift(`${n.tagName.toLowerCase()}[${s}]`),n=n.parentElement}return"/body/"+t.join("/")}function Os(e,t,n){ue(),A?.querySelectorAll(".bs-lp-newform").forEach(a=>a.remove());let s=document.createElement("div");s.className="bs-lp-newform",s.style.left=`${e+16}px`,s.style.top=`${t-8}px`,requestAnimationFrame(()=>{let a=s.getBoundingClientRect();a.right>window.innerWidth-16&&(s.style.left=`${e-336}px`),a.bottom>window.innerHeight-16&&(s.style.top=`${t-a.height}px`)});let r=Fn.filter(a=>a.userId!==Q()?.id).map(a=>`<option value="${a.userId}">${se(a.name)}</option>`).join("");s.innerHTML=`
350
- <label>Title *</label>
351
- <input type="text" id="bs-np-title" placeholder="What's the issue?" autofocus />
352
- <label>Description</label>
353
- <textarea id="bs-np-desc" placeholder="Describe the problem..."></textarea>
354
- <label>Priority</label>
355
- <select id="bs-np-priority">
427
+ `,l.scrollTop=l.scrollHeight}}else ps({type:"create_comment",data:{pinId:A.id,body:i}})}),t.querySelector("#bs-lp-cmt-in")?.addEventListener("keydown",a=>{a.key==="Enter"&&t.querySelector("#bs-lp-cmt-send")?.dispatchEvent(new Event("click"))}),t.querySelector("#bs-lp-resolve")?.addEventListener("click",async()=>{await Xr(A.id,{status:"resolved"}),A.status="resolved",ye(),se()}),t.querySelector("#bs-lp-reopen")?.addEventListener("click",async()=>{await Xr(A.id,{status:"open"}),A.status="open",ye(),se()}),t.querySelector("#bs-lp-delete")?.addEventListener("click",async()=>{confirm("Delete this pin?")&&(await jo(A.id),QA=QA.filter(a=>a.id!==A.id),ye(),se())}),t.addEventListener("click",a=>a.stopPropagation())}function ye(){Ot?.remove(),Ot=null}function gi(A){if(!A||A===document.body||A===document.documentElement)return"body";if(A.id)return`#${A.id}`;let e=A.tagName.toLowerCase();if(A.className&&typeof A.className=="string"){let r=A.className.trim().split(/\s+/).filter(n=>!n.startsWith("bs-")).slice(0,3);r.length&&(e+="."+r.join("."))}let t=A.parentElement;if(t&&t!==document.body){let r=Array.from(t.children).filter(n=>n.tagName===A.tagName);if(r.length>1){let n=r.indexOf(A);e+=`:nth-child(${n+1})`}return gi(t)+" > "+e}return e}function Id(A){if(!A)return"";let e=[],t=A;for(;t&&t!==document.body;){let r=1,n=t.previousElementSibling;for(;n;)n.tagName===t.tagName&&r++,n=n.previousElementSibling;e.unshift(`${t.tagName.toLowerCase()}[${r}]`),t=t.parentElement}return"/body/"+e.join("/")}function Ld(A,e,t){ye(),AA?.querySelectorAll(".bs-lp-form").forEach(s=>s.remove());let r=document.createElement("div");r.className="bs-lp-form",r.style.left=`${A+16}px`,r.style.top=`${e-8}px`,requestAnimationFrame(()=>{let s=r.getBoundingClientRect();s.right>window.innerWidth-16&&(r.style.left=`${A-316}px`),s.bottom>window.innerHeight-16&&(r.style.top=`${e-s.height}px`)});let n=ci.filter(s=>s.userId!==VA()?.id).map(s=>`<option value="${s.userId}">${ne(s.name)}</option>`).join("");r.innerHTML=`
428
+ <label class="bs-lp-form-label">Title *</label>
429
+ <input type="text" id="bs-np-title" name="pin-title" placeholder="What's the issue?" autofocus />
430
+ <label class="bs-lp-form-label">Description</label>
431
+ <textarea id="bs-np-desc" name="pin-desc" placeholder="Describe the problem..."></textarea>
432
+ <label class="bs-lp-form-label">Priority</label>
433
+ <select id="bs-np-priority" name="pin-priority">
356
434
  <option value="low">Low</option>
357
435
  <option value="medium" selected>Medium</option>
358
436
  <option value="high">High</option>
359
437
  <option value="critical">Critical</option>
360
438
  </select>
361
- <label>Category</label>
362
- <select id="bs-np-category">
439
+ <label class="bs-lp-form-label">Category</label>
440
+ <select id="bs-np-category" name="pin-category">
363
441
  <option value="ui">UI</option>
364
442
  <option value="functionality">Functionality</option>
365
443
  <option value="performance">Performance</option>
366
444
  <option value="content">Content</option>
367
445
  <option value="other" selected>Other</option>
368
446
  </select>
369
- ${r?`
370
- <label>Assign to</label>
371
- <select id="bs-np-assignee">
447
+ ${n?`
448
+ <label class="bs-lp-form-label">Assign to</label>
449
+ <select id="bs-np-assignee" name="pin-assignee">
372
450
  <option value="">Unassigned</option>
373
- ${r}
451
+ ${n}
374
452
  </select>
375
453
  `:""}
376
- <div class="bs-lp-newform-actions">
377
- <button class="bs-lp-newform-cancel" id="bs-np-cancel">Cancel</button>
378
- <button class="bs-lp-newform-submit" id="bs-np-submit">Create Pin</button>
454
+ <div class="bs-lp-form-btns">
455
+ <button class="bs-lp-form-cancel" id="bs-np-cancel">Cancel</button>
456
+ <button class="bs-lp-form-submit" id="bs-np-submit">Create Pin</button>
379
457
  </div>
380
- `,A.appendChild(s),s.addEventListener("click",a=>a.stopPropagation()),s.querySelector("#bs-np-cancel").addEventListener("click",()=>s.remove()),s.querySelector("#bs-np-submit").addEventListener("click",async()=>{let a=s.querySelector("#bs-np-title").value.trim();if(!a){s.querySelector("#bs-np-title").style.borderColor="#ef4444";return}let l=s.querySelector("#bs-np-desc").value.trim(),d=s.querySelector("#bs-np-priority").value,c=s.querySelector("#bs-np-category").value,b=s.querySelector("#bs-np-assignee")?.value||void 0,h=Xn(n),y=js(n),M=te().slice(-20).map(k=>`[${k.level}] ${k.args.join(" ")}`),ae=ne().slice(-10).map(k=>`${k.message} at ${k.source}:${k.lineno}`),Me=le().slice(-10).map(k=>`${k.method} ${k.url} \u2192 ${k.status}`),R;try{s.style.display="none",A.style.display="none",R=await qe()??void 0,A.style.display="",s.style.display=""}catch{}let P={projectId:xt,pageUrl:window.location.href,pathname:window.location.pathname,elementSelector:h,elementXPath:y,xPercent:0,yPercent:0,pageX:e,pageY:t,title:a,description:l,screenshot:R,priority:d,category:c,assigneeId:b,browserInfo:navigator.userAgent,screenSize:`${screen.width}x${screen.height}`,viewportSize:`${window.innerWidth}x${window.innerHeight}`,devicePixelRatio:window.devicePixelRatio,consoleLogs:M,networkErrors:Me,jsErrors:ae};if(s.remove(),navigator.onLine){let k=await Ot(P);k.success&&k.data&&(U.push(k.data),re())}else _t({type:"create_pin",data:P}),U.push({...P,id:"local-"+Date.now(),orgId:"",status:"open",tags:[],createdById:Q()?.id||"",creatorName:Q()?.name||"",commentCount:0,createdAt:Date.now(),updatedAt:Date.now()}),re()}),setTimeout(()=>s.querySelector("#bs-np-title")?.focus(),50)}function qs(){_e("pin:created",e=>{let t=e.data;t.pathname===window.location.pathname&&(U.find(n=>n.id===t.id)||(U.push(t),re()))}),_e("pin:updated",e=>{let t=e.data,n=U.findIndex(s=>s.id===t.id);n>=0&&(U[n]={...U[n],...t},re())}),_e("pin:deleted",e=>{let{id:t}=e.data;U=U.filter(n=>n.id!==t),ue(),re()}),_e("comment:created",e=>{let t=e.data;if(Fe){let n=Fe.querySelector("#bs-lp-comments");n&&(n.innerHTML+=`
381
- <div class="bs-lp-comment">
382
- <div class="bs-lp-comment-author">${se(t.author?.name||"Someone")}</div>
383
- <div class="bs-lp-comment-body">${se(t.body)}</div>
384
- <div class="bs-lp-comment-time">just now</div>
458
+ `,AA.appendChild(r),r.addEventListener("click",s=>s.stopPropagation()),r.querySelector("#bs-np-cancel").addEventListener("click",()=>r.remove()),r.querySelector("#bs-np-submit").addEventListener("click",async()=>{let s=r.querySelector("#bs-np-title").value.trim();if(!s){r.querySelector("#bs-np-title").style.borderColor="#ef4444";return}let a=r.querySelector("#bs-np-submit");a.textContent="Creating...",a.style.opacity="0.6";let i=r.querySelector("#bs-np-desc").value.trim(),o=r.querySelector("#bs-np-priority").value,l=r.querySelector("#bs-np-category").value,B=r.querySelector("#bs-np-assignee")?.value||void 0,g=gi(t),p=Id(t),f=jA().slice(-20).map(L=>`[${L.level}] ${L.args.join(" ")}`),h=qA().slice(-10).map(L=>`${L.message} at ${L.source}:${L.lineno}`),y=ie().slice(-10).map(L=>`${L.method} ${L.url} \u2192 ${L.status}`),b;try{r.style.display="none",AA.style.display="none",b=await Tt()??void 0,AA.style.display="",r.style.display=""}catch{}let w={projectId:jr,pageUrl:window.location.href,pathname:window.location.pathname,elementSelector:g,elementXPath:p,xPercent:0,yPercent:0,pageX:A,pageY:e,title:s,description:i,screenshot:b,priority:o,category:l,assigneeId:B,browserInfo:navigator.userAgent,screenSize:`${screen.width}x${screen.height}`,viewportSize:`${window.innerWidth}x${window.innerHeight}`,devicePixelRatio:window.devicePixelRatio,consoleLogs:f,networkErrors:y,jsErrors:h};if(r.remove(),navigator.onLine){let L=await gs(w);L.success&&L.data&&(QA.push(L.data),se())}else ps({type:"create_pin",data:w}),QA.push({...w,id:"local-"+Date.now(),orgId:"",status:"open",tags:[],createdById:VA()?.id||"",creatorName:VA()?.name||"",commentCount:0,createdAt:Date.now(),updatedAt:Date.now()}),se()}),setTimeout(()=>r.querySelector("#bs-np-title")?.focus(),50)}function Kd(){Mt("pin:created",A=>{let e=A.data;e.pathname===window.location.pathname&&(QA.find(t=>t.id===e.id)||(QA.push(e),se()))}),Mt("pin:updated",A=>{let e=A.data,t=QA.findIndex(r=>r.id===e.id);t>=0&&(QA[t]={...QA[t],...e},se())}),Mt("pin:deleted",A=>{let{id:e}=A.data;QA=QA.filter(t=>t.id!==e),ye(),se()}),Mt("comment:created",A=>{let e=A.data;if(Ot){let t=Ot.querySelector("#bs-lp-cmts");t&&(t.innerHTML+=`
459
+ <div class="bs-lp-cmt">
460
+ <div class="bs-lp-cmt-top">
461
+ <span class="bs-lp-cmt-author">${ne(e.author?.name||"Someone")}</span>
462
+ <span class="bs-lp-cmt-time">just now</span>
463
+ </div>
464
+ <div class="bs-lp-cmt-body">${ne(e.body)}</div>
385
465
  </div>
386
- `,n.scrollTop=n.scrollHeight)}})}function Us(){let e=window.location.pathname,t=()=>{window.location.pathname!==e&&(e=window.location.pathname,window.location.href,Yn())},n=history.pushState,s=history.replaceState;history.pushState=function(...r){n.apply(this,r),t()},history.replaceState=function(...r){s.apply(this,r),t()},window.addEventListener("popstate",t)}function se(e){let t=document.createElement("div");return t.textContent=e,t.innerHTML}var X,D=null,B=null,f=null,Y=null,Ye=null,Xe=null,K=!1,Et=!1,Ce="report";var de=Hn(),me=Rn(),N={bug:'<svg width="28" height="28" viewBox="55 38 60 105" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M95.8 44h-29c-3 0-5.4 2.4-5.4 5.4v29c0 3 2.4 5.4 5.4 5.4h19.5c13 0 23.5-10.5 23.5-23.5v-2.8c0-7.5-6-13.5-13.5-13.5h-.5zm-6.2 28.2H74.8V57.4h14.8c5.8 0 10.4 4.7 10.4 10.4s-4.7 10.4-10.4 10.4z" fill="rgba(255,255,255,0.85)"/><path d="M100.4 96h-33.6c-3 0-5.4 2.4-5.4 5.4v33.6c0 3 2.4 5.4 5.4 5.4h22c15 0 27-12 27-27v-3.9c0-7.5-6-13.5-13.5-13.5h-1.9zm-7.8 32.2H74.8v-20h17.8c6.7 0 12.2 5.5 12.2 12.2 0 4.3-3.5 7.8-7.8 7.8h-4.6z" fill="rgba(255,255,255,1)"/></svg>',x:'<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>',cam:'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>',check:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>',report:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg>',console:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>',network:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>',ctx:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>',settings:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="21" x2="4" y2="14"/><line x1="4" y1="10" x2="4" y2="3"/><line x1="12" y1="21" x2="12" y2="12"/><line x1="12" y1="8" x2="12" y2="3"/><line x1="20" y1="21" x2="20" y2="16"/><line x1="20" y1="12" x2="20" y2="3"/><line x1="1" y1="14" x2="7" y2="14"/><line x1="9" y1="8" x2="15" y2="8"/><line x1="17" y1="16" x2="23" y2="16"/></svg>',history:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>',pin:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>',sun:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>',moon:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>',keyboard:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><rect x="2" y="4" width="20" height="16" rx="2"/><line x1="6" y1="8" x2="6" y2="8"/><line x1="10" y1="8" x2="10" y2="8"/><line x1="14" y1="8" x2="14" y2="8"/><line x1="18" y1="8" x2="18" y2="8"/><line x1="8" y1="12" x2="16" y2="12"/><line x1="6" y1="16" x2="18" y2="16"/></svg>'},_s=`
466
+ `,t.scrollTop=t.scrollHeight)}})}function Sd(){let A=window.location.pathname,e=()=>{window.location.pathname!==A&&(A=window.location.pathname,window.location.href,ui())},t=history.pushState,r=history.replaceState;history.pushState=function(...n){t.apply(this,n),e()},history.replaceState=function(...n){r.apply(this,n),e()},window.addEventListener("popstate",e)}function ne(A){let e=document.createElement("div");return e.textContent=A,e.innerHTML}var EA,iA=null,nA=null,H=null,KA=null,Gt=null,Pt=null,MA=!1,en=!1,$e="report";var be=ti(),Ee=ri(),sA={bug:'<svg width="28" height="28" viewBox="55 38 60 105" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M95.8 44h-29c-3 0-5.4 2.4-5.4 5.4v29c0 3 2.4 5.4 5.4 5.4h19.5c13 0 23.5-10.5 23.5-23.5v-2.8c0-7.5-6-13.5-13.5-13.5h-.5zm-6.2 28.2H74.8V57.4h14.8c5.8 0 10.4 4.7 10.4 10.4s-4.7 10.4-10.4 10.4z" fill="rgba(255,255,255,0.85)"/><path d="M100.4 96h-33.6c-3 0-5.4 2.4-5.4 5.4v33.6c0 3 2.4 5.4 5.4 5.4h22c15 0 27-12 27-27v-3.9c0-7.5-6-13.5-13.5-13.5h-1.9zm-7.8 32.2H74.8v-20h17.8c6.7 0 12.2 5.5 12.2 12.2 0 4.3-3.5 7.8-7.8 7.8h-4.6z" fill="rgba(255,255,255,1)"/></svg>',x:'<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>',cam:'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>',check:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"><polyline points="20 6 9 17 4 12"/></svg>',report:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg>',console:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>',network:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>',ctx:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>',settings:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="21" x2="4" y2="14"/><line x1="4" y1="10" x2="4" y2="3"/><line x1="12" y1="21" x2="12" y2="12"/><line x1="12" y1="8" x2="12" y2="3"/><line x1="20" y1="21" x2="20" y2="16"/><line x1="20" y1="12" x2="20" y2="3"/><line x1="1" y1="14" x2="7" y2="14"/><line x1="9" y1="8" x2="15" y2="8"/><line x1="17" y1="16" x2="23" y2="16"/></svg>',history:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>',pin:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>',sun:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>',moon:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>',keyboard:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><rect x="2" y="4" width="20" height="16" rx="2"/><line x1="6" y1="8" x2="6" y2="8"/><line x1="10" y1="8" x2="10" y2="8"/><line x1="14" y1="8" x2="14" y2="8"/><line x1="18" y1="8" x2="18" y2="8"/><line x1="8" y1="12" x2="16" y2="12"/><line x1="6" y1="16" x2="18" y2="16"/></svg>'},Td=`
387
467
  @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
388
468
 
389
469
  /* \u2500\u2500 FAB \u2500\u2500 */
@@ -978,13 +1058,6 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
978
1058
  font-weight: 600;
979
1059
  padding: 14px !important;
980
1060
  }
981
- .bs-report-row {
982
- display: flex;
983
- gap: 16px;
984
- margin-bottom: 16px;
985
- }
986
- .bs-report-col { flex: 1; }
987
- .bs-cat-icon { margin-right: 2px; }
988
1061
 
989
1062
  .bs-auto-step-n {
990
1063
  width: 20px;
@@ -1026,18 +1099,16 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1026
1099
  .bs-submit-btn:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.3); transform: translateY(-1px); }
1027
1100
  .bs-submit-btn:active { transform: translateY(0) scale(0.98); }
1028
1101
  .bs-submit-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
1029
-
1030
- .bs-msg {
1031
- text-align: center;
1032
- padding: 12px;
1033
- border-radius: var(--bs-radius-sm);
1102
+ .bs-submit-btn.bs-submit-ok {
1103
+ background: var(--bs-green) !important;
1104
+ opacity: 1 !important;
1105
+ display: flex; align-items: center; justify-content: center; gap: 6px;
1106
+ }
1107
+ .bs-submit-btn.bs-submit-err {
1108
+ background: var(--bs-red) !important;
1109
+ opacity: 1 !important;
1034
1110
  font-size: 13px;
1035
- font-weight: 600;
1036
- margin-top: 12px;
1037
- animation: bs-slideUp 0.3s ease;
1038
1111
  }
1039
- .bs-msg-ok { background: color-mix(in srgb, var(--bs-green) 10%, transparent); color: var(--bs-green); border: 1px solid color-mix(in srgb, var(--bs-green) 15%, transparent); }
1040
- .bs-msg-err { background: color-mix(in srgb, var(--bs-red) 10%, transparent); color: var(--bs-red); border: 1px solid color-mix(in srgb, var(--bs-red) 15%, transparent); }
1041
1112
 
1042
1113
  /* \u2500\u2500 Console \u2500\u2500 */
1043
1114
  .bs-log {
@@ -1444,7 +1515,7 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1444
1515
  .bs-set-ly.bs-picked { border-color: var(--bs-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bs-accent) 25%, transparent); }
1445
1516
  .bs-set-ly-name { font-size: 12px; font-weight: 600; color: var(--bs-text); margin-bottom: 2px; }
1446
1517
  .bs-set-ly-desc { font-size: 10px; color: var(--bs-muted); }
1447
- `;function Fs(){return`
1518
+ `;function Dd(){return`
1448
1519
  <div class="bs-login-form">
1449
1520
  <div class="bs-login-logo">BugStash</div>
1450
1521
  <div class="bs-login-subtitle">Sign in to report bugs & collaborate</div>
@@ -1454,11 +1525,11 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1454
1525
  <button class="bs-login-btn" id="bs-login-submit">Sign In</button>
1455
1526
  <div style="font-size:11px;color:var(--bs-muted);margin-top:4px">Contact your admin for an account</div>
1456
1527
  </div>
1457
- `}function I(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function Ws(e){let t=Math.floor((Date.now()-e)/1e3);return t<5?"now":t<60?`${t}s ago`:t<3600?`${Math.floor(t/60)}m ago`:new Date(e).toLocaleTimeString()}function Kn(e){return new Date(e).toLocaleTimeString("en",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}var Vn="bugstash_history";function Te(){try{return JSON.parse(localStorage.getItem(Vn)||"[]")}catch{return[]}}function Xt(e){try{localStorage.setItem(Vn,JSON.stringify(e))}catch{}}function Ys(e){let t=Te(),n=Date.now();t.unshift({...e,id:n}),t.length>50&&(t.length=50),Xt(t)}function Xs(e){let t=Te().filter(n=>n.id!==e);Xt(t)}function Js(e,t){let n=Te(),s=n.findIndex(r=>r.id===e);s>=0&&(n[s]={...n[s],...t},Xt(n))}function Qn(){return{url:window.location.href,userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookiesEnabled:navigator.cookieEnabled,online:navigator.onLine,screenWidth:screen.width,screenHeight:screen.height,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,devicePixelRatio:window.devicePixelRatio,timestamp:Date.now(),environment:X.environment??"development",commitHash:X.commitHash,user:X.user}}function Zn(){let e=ne(),t=te(),n=ye(),s=le(),r=he(),a=we(),l=t.filter(v=>v.level==="error"),d="low";e.length>=3||s.length>=3?d="critical":e.length>=1||s.length>=2?d="high":(l.length>0||s.length>=1)&&(d="medium");let c=[];return e.length&&c.push("has-errors"),s.length&&c.push("network-failures"),l.length&&c.push("console-errors"),a?.pageLoadTime&&a.pageLoadTime>3e3&&c.push("slow-load"),a?.cumulativeLayoutShift&&a.cumulativeLayoutShift>.25&&c.push("layout-shift"),navigator.onLine||c.push("offline"),window.innerWidth<768&&c.push("mobile"),{severity:d,tags:c,counts:{logs:t.length,network:n.length,failedNet:s.length,errors:e.length,crumbs:r.length}}}function Gn(){let e=Zn(),t=[{id:"ui",label:"UI",icon:"\u{1F3A8}"},{id:"functionality",label:"Feature",icon:"\u2699\uFE0F"},{id:"performance",label:"Speed",icon:"\u26A1"},{id:"crash",label:"Crash",icon:"\u{1F4A5}"},{id:"security",label:"Security",icon:"\u{1F512}"},{id:"other",label:"Other",icon:"\u{1F4CC}"}],n=e.counts.errors>0||e.counts.failedNet>0;return`<div class="bs-view">
1528
+ `}function eA(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function kd(A){let e=Math.floor((Date.now()-A)/1e3);return e<5?"now":e<60?`${e}s ago`:e<3600?`${Math.floor(e/60)}m ago`:new Date(A).toLocaleTimeString()}function fi(A){return new Date(A).toLocaleTimeString("en",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}var pi="bugstash_history";function Ze(){try{return JSON.parse(localStorage.getItem(pi)||"[]")}catch{return[]}}function Qs(A){try{localStorage.setItem(pi,JSON.stringify(A))}catch{}}function Md(A){let e=Ze(),t=Date.now();e.unshift({...A,id:t}),e.length>50&&(e.length=50),Qs(e)}function Od(A){let e=Ze().filter(t=>t.id!==A);Qs(e)}function Rd(A,e){let t=Ze(),r=t.findIndex(n=>n.id===A);r>=0&&(t[r]={...t[r],...e},Qs(t))}function wi(){return{url:window.location.href,userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookiesEnabled:navigator.cookieEnabled,online:navigator.onLine,screenWidth:screen.width,screenHeight:screen.height,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,devicePixelRatio:window.devicePixelRatio,timestamp:Date.now(),environment:EA.environment??"development",commitHash:EA.commitHash,user:EA.user}}function hi(){let A=qA(),e=jA(),t=Ke(),r=ie(),n=He(),s=Se(),a=e.filter(l=>l.level==="error"),i="low";A.length>=3||r.length>=3?i="critical":A.length>=1||r.length>=2?i="high":(a.length>0||r.length>=1)&&(i="medium");let o=[];return A.length&&o.push("has-errors"),r.length&&o.push("network-failures"),a.length&&o.push("console-errors"),s?.pageLoadTime&&s.pageLoadTime>3e3&&o.push("slow-load"),s?.cumulativeLayoutShift&&s.cumulativeLayoutShift>.25&&o.push("layout-shift"),navigator.onLine||o.push("offline"),window.innerWidth<768&&o.push("mobile"),{severity:i,tags:o,counts:{logs:e.length,network:t.length,failedNet:r.length,errors:A.length,crumbs:n.length}}}function bi(){let A=hi(),e=[{id:"ui",label:"UI"},{id:"functionality",label:"Feature"},{id:"performance",label:"Speed"},{id:"crash",label:"Crash"},{id:"security",label:"Security"},{id:"other",label:"Other"}],t=A.counts.errors>0||A.counts.failedNet>0;return`<div class="bs-view">
1458
1529
  <form data-bs-form>
1459
- <div class="bs-report-summary${n?" bs-alert":e.counts.logs>0?" bs-has":""}">
1530
+ <div class="bs-report-summary${t?" bs-alert":A.counts.logs>0?" bs-has":""}">
1460
1531
  <div class="bs-report-summary-left">
1461
- ${n?`<div class="bs-report-summary-icon bs-warn">!</div><span>${e.counts.errors} error${e.counts.errors!==1?"s":""}, ${e.counts.failedNet} failed request${e.counts.failedNet!==1?"s":""} detected</span>`:`<div class="bs-report-summary-icon">${N.check}</div><span>Auto-collecting ${e.counts.logs} logs, ${e.counts.network} requests, ${e.counts.crumbs} actions</span>`}
1532
+ ${t?`<div class="bs-report-summary-icon bs-warn">!</div><span>${A.counts.errors} error${A.counts.errors!==1?"s":""}, ${A.counts.failedNet} failed request${A.counts.failedNet!==1?"s":""} detected</span>`:`<div class="bs-report-summary-icon">${sA.check}</div><span>Auto-collecting ${A.counts.logs} logs, ${A.counts.network} requests, ${A.counts.crumbs} actions</span>`}
1462
1533
  </div>
1463
1534
  </div>
1464
1535
  <div class="bs-field">
@@ -1467,27 +1538,25 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1467
1538
  <div class="bs-field">
1468
1539
  <textarea class="bs-textarea" name="description" placeholder="Steps to reproduce or extra details (optional)"></textarea>
1469
1540
  </div>
1470
- <div class="bs-report-row">
1471
- <div class="bs-report-col">
1472
- <div class="bs-field-label">Category</div>
1473
- <input type="hidden" name="category" value="functionality" />
1474
- <div class="bs-cat-row">
1475
- ${t.map(r=>`<button type="button" class="bs-cat-btn${r.id==="functionality"?" bs-picked":""}" data-cat="${r.id}"><span class="bs-cat-icon">${r.icon}</span>${r.label}</button>`).join("")}
1476
- </div>
1541
+ <div class="bs-field">
1542
+ <div class="bs-field-label">Category</div>
1543
+ <input type="hidden" name="category" value="functionality" />
1544
+ <div class="bs-cat-row">
1545
+ ${e.map(n=>`<button type="button" class="bs-cat-btn${n.id==="functionality"?" bs-picked":""}" data-cat="${n.id}">${n.label}</button>`).join("")}
1477
1546
  </div>
1478
- <div class="bs-report-col">
1479
- <div class="bs-field-label">Severity</div>
1480
- <input type="hidden" name="severity" value="${e.severity}" />
1481
- <div class="bs-sev-row">
1482
- <button type="button" class="bs-sev-btn bs-sev-low${e.severity==="low"?" bs-picked":""}" data-sev="low">Low</button>
1483
- <button type="button" class="bs-sev-btn bs-sev-medium${e.severity==="medium"?" bs-picked":""}" data-sev="medium">Med</button>
1484
- <button type="button" class="bs-sev-btn bs-sev-high${e.severity==="high"?" bs-picked":""}" data-sev="high">High</button>
1485
- <button type="button" class="bs-sev-btn bs-sev-critical${e.severity==="critical"?" bs-picked":""}" data-sev="critical">Critical</button>
1486
- </div>
1547
+ </div>
1548
+ <div class="bs-field">
1549
+ <div class="bs-field-label">Severity</div>
1550
+ <input type="hidden" name="severity" value="${A.severity}" />
1551
+ <div class="bs-sev-row">
1552
+ <button type="button" class="bs-sev-btn bs-sev-low${A.severity==="low"?" bs-picked":""}" data-sev="low">Low</button>
1553
+ <button type="button" class="bs-sev-btn bs-sev-medium${A.severity==="medium"?" bs-picked":""}" data-sev="medium">Med</button>
1554
+ <button type="button" class="bs-sev-btn bs-sev-high${A.severity==="high"?" bs-picked":""}" data-sev="high">High</button>
1555
+ <button type="button" class="bs-sev-btn bs-sev-critical${A.severity==="critical"?" bs-picked":""}" data-sev="critical">Critical</button>
1487
1556
  </div>
1488
1557
  </div>
1489
1558
  <div class="bs-shot-area" data-bs-screenshot>
1490
- <div class="bs-shot-icon">${N.cam}</div>
1559
+ <div class="bs-shot-icon">${sA.cam}</div>
1491
1560
  <div class="bs-shot-text">
1492
1561
  <div class="bs-shot-title" data-bs-shot-title>Attach screenshot</div>
1493
1562
  <div class="bs-shot-sub" data-bs-shot-sub>Capture & annotate the current view</div>
@@ -1495,99 +1564,98 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1495
1564
  </div>
1496
1565
  <div data-bs-annotate></div>
1497
1566
  <button type="submit" class="bs-submit-btn">Submit Report</button>
1498
- <div data-bs-msg></div>
1499
1567
  </form>
1500
- </div>`}function Ks(){let e=te(),t={error:"bs-le",warn:"bs-lw",log:"bs-ll",info:"bs-li",debug:"bs-ld"};return e.length?`<div class="bs-view">${e.slice().reverse().map(n=>`<div class="bs-log"><span class="bs-log-lv ${t[n.level]||"bs-ll"}">${n.level}</span><span class="bs-log-m">${I(n.args.join(" ")).slice(0,500)}</span><span class="bs-log-t">${Kn(n.timestamp)}</span></div>`).join("")}</div>`:'<div class="bs-view"><div class="bs-empty"><p>No console logs captured yet.<br>Use the app \u2014 logs will appear here automatically.</p></div></div>'}function Vs(){let e=ye();return e.length?`<div class="bs-view">${e.slice().reverse().map(t=>`<div class="bs-net"><span class="bs-net-m">${t.method}</span><span class="bs-net-s ${t.failed?"bs-fail":"bs-ok"}">${t.status||"ERR"}</span><span class="bs-net-u" title="${I(t.url)}">${I(t.url)}</span><span class="bs-net-d">${t.duration}ms</span></div>`).join("")}</div>`:'<div class="bs-view"><div class="bs-empty"><p>No network requests captured yet.<br>API calls will show up here automatically.</p></div></div>'}function Qs(){let e='<div class="bs-view">',t=ne();t.length&&(e+=`<div class="bs-sec">Errors <span class="bs-sec-n">${t.length}</span></div>`,e+=t.slice().reverse().map(a=>`<div class="bs-err-card"><div class="bs-err-m">${I(a.message)}</div>${a.stack?`<div class="bs-err-stack">${I(a.stack)}</div>`:""}<div class="bs-err-meta">${a.type} &middot; ${Kn(a.timestamp)}${a.source?` &middot; ${I(a.source)}:${a.lineno}`:""}</div></div>`).join(""));let n=we();if(n){e+='<div class="bs-sec">Performance</div>';let a=[["Page Load",n.pageLoadTime,5e3],["DOM Ready",n.domContentLoaded,3e3],["First Paint",n.firstPaint,2e3],["FCP",n.firstContentfulPaint,2500],["LCP",n.largestContentfulPaint,4e3],["FID",n.firstInputDelay,300]];for(let[l,d,c]of a){if(d===void 0)continue;let v=Math.min(100,d/c*100);e+=`<div class="bs-pf"><span class="bs-pf-l">${l}</span><div class="bs-pf-tr"><div class="bs-pf-fl${v>75?" bs-slow":""}" style="width:${v}%"></div></div><span class="bs-pf-v">${d}ms</span></div>`}if(n.cumulativeLayoutShift!==void 0){let l=Math.min(100,n.cumulativeLayoutShift*400);e+=`<div class="bs-pf"><span class="bs-pf-l">CLS</span><div class="bs-pf-tr"><div class="bs-pf-fl${l>40?" bs-slow":""}" style="width:${l}%"></div></div><span class="bs-pf-v">${n.cumulativeLayoutShift}</span></div>`}}let s=he();s.length&&(e+=`<div class="bs-sec">Your activity trail <span class="bs-sec-n">${s.length}</span></div>`,e+=s.slice().reverse().map(a=>`<div class="bs-bc"><span class="bs-bc-t bs-t-${a.type}">${a.type}</span><span class="bs-bc-m">${I(a.message).slice(0,120)}</span><span class="bs-bc-time">${Ws(a.timestamp)}</span></div>`).join(""));let r=Qn();return e+='<div class="bs-sec">Environment</div>',e+=`<div class="bs-kv">
1501
- <span class="bs-kv-k">URL</span><span class="bs-kv-v">${I(r.url)}</span>
1502
- <span class="bs-kv-k">Viewport</span><span class="bs-kv-v">${r.viewportWidth}&times;${r.viewportHeight} @${r.devicePixelRatio}x</span>
1503
- <span class="bs-kv-k">Screen</span><span class="bs-kv-v">${r.screenWidth}&times;${r.screenHeight}</span>
1504
- <span class="bs-kv-k">Platform</span><span class="bs-kv-v">${I(r.platform)}</span>
1505
- <span class="bs-kv-k">Language</span><span class="bs-kv-v">${r.language}</span>
1506
- ${X.commitHash?`<span class="bs-kv-k">Commit</span><span class="bs-kv-v">${I(X.commitHash)}</span>`:""}
1507
- ${X.user?.email?`<span class="bs-kv-k">User</span><span class="bs-kv-v">${I(X.user.email)}</span>`:""}
1508
- </div>`,e+="</div>",e}function Zs(){let e=Te();if(!e.length)return'<div class="bs-view"><div class="bs-empty"><p>No reports yet.<br>Submitted bugs will appear here.</p></div></div>';let t={ui:"UI",functionality:"Feature",performance:"Perf",crash:"Crash",security:"Security",other:"Other"},n=r=>{let a=new Date(r),d=new Date().getTime()-a.getTime(),c=Math.floor(d/6e4);if(c<1)return"Just now";if(c<60)return`${c}m ago`;let v=Math.floor(c/60);if(v<24)return`${v}h ago`;let b=Math.floor(v/24);return b<7?`${b}d ago`:a.toLocaleDateString("en",{month:"short",day:"numeric"})},s='<div class="bs-view">';for(let r of e){let a=r.pins?.length?`<div class="bs-hist-pins">${r.pins.slice(0,5).map(l=>`<div class="bs-hist-pin-dot" style="background:${["#ef4444","#3b82f6","#f59e0b","#10b981","#8b5cf6"][l.number%5]}">${l.number}</div>`).join("")}${r.pins.length>5?`<span>+${r.pins.length-5}</span>`:""}</div>`:"";s+=`<div class="bs-hist-card" data-hist-id="${r.id}">
1568
+ </div>`}function Nd(){let A=jA(),e={error:"bs-le",warn:"bs-lw",log:"bs-ll",info:"bs-li",debug:"bs-ld"};return A.length?`<div class="bs-view">${A.slice().reverse().map(t=>`<div class="bs-log"><span class="bs-log-lv ${e[t.level]||"bs-ll"}">${t.level}</span><span class="bs-log-m">${eA(t.args.join(" ")).slice(0,500)}</span><span class="bs-log-t">${fi(t.timestamp)}</span></div>`).join("")}</div>`:'<div class="bs-view"><div class="bs-empty"><p>No console logs captured yet.<br>Use the app \u2014 logs will appear here automatically.</p></div></div>'}function Gd(){let A=Ke();return A.length?`<div class="bs-view">${A.slice().reverse().map(e=>`<div class="bs-net"><span class="bs-net-m">${e.method}</span><span class="bs-net-s ${e.failed?"bs-fail":"bs-ok"}">${e.status||"ERR"}</span><span class="bs-net-u" title="${eA(e.url)}">${eA(e.url)}</span><span class="bs-net-d">${e.duration}ms</span></div>`).join("")}</div>`:'<div class="bs-view"><div class="bs-empty"><p>No network requests captured yet.<br>API calls will show up here automatically.</p></div></div>'}function Pd(){let A='<div class="bs-view">',e=qA();e.length&&(A+=`<div class="bs-sec">Errors <span class="bs-sec-n">${e.length}</span></div>`,A+=e.slice().reverse().map(s=>`<div class="bs-err-card"><div class="bs-err-m">${eA(s.message)}</div>${s.stack?`<div class="bs-err-stack">${eA(s.stack)}</div>`:""}<div class="bs-err-meta">${s.type} &middot; ${fi(s.timestamp)}${s.source?` &middot; ${eA(s.source)}:${s.lineno}`:""}</div></div>`).join(""));let t=Se();if(t){A+='<div class="bs-sec">Performance</div>';let s=[["Page Load",t.pageLoadTime,5e3],["DOM Ready",t.domContentLoaded,3e3],["First Paint",t.firstPaint,2e3],["FCP",t.firstContentfulPaint,2500],["LCP",t.largestContentfulPaint,4e3],["FID",t.firstInputDelay,300]];for(let[a,i,o]of s){if(i===void 0)continue;let l=Math.min(100,i/o*100);A+=`<div class="bs-pf"><span class="bs-pf-l">${a}</span><div class="bs-pf-tr"><div class="bs-pf-fl${l>75?" bs-slow":""}" style="width:${l}%"></div></div><span class="bs-pf-v">${i}ms</span></div>`}if(t.cumulativeLayoutShift!==void 0){let a=Math.min(100,t.cumulativeLayoutShift*400);A+=`<div class="bs-pf"><span class="bs-pf-l">CLS</span><div class="bs-pf-tr"><div class="bs-pf-fl${a>40?" bs-slow":""}" style="width:${a}%"></div></div><span class="bs-pf-v">${t.cumulativeLayoutShift}</span></div>`}}let r=He();r.length&&(A+=`<div class="bs-sec">Your activity trail <span class="bs-sec-n">${r.length}</span></div>`,A+=r.slice().reverse().map(s=>`<div class="bs-bc"><span class="bs-bc-t bs-t-${s.type}">${s.type}</span><span class="bs-bc-m">${eA(s.message).slice(0,120)}</span><span class="bs-bc-time">${kd(s.timestamp)}</span></div>`).join(""));let n=wi();return A+='<div class="bs-sec">Environment</div>',A+=`<div class="bs-kv">
1569
+ <span class="bs-kv-k">URL</span><span class="bs-kv-v">${eA(n.url)}</span>
1570
+ <span class="bs-kv-k">Viewport</span><span class="bs-kv-v">${n.viewportWidth}&times;${n.viewportHeight} @${n.devicePixelRatio}x</span>
1571
+ <span class="bs-kv-k">Screen</span><span class="bs-kv-v">${n.screenWidth}&times;${n.screenHeight}</span>
1572
+ <span class="bs-kv-k">Platform</span><span class="bs-kv-v">${eA(n.platform)}</span>
1573
+ <span class="bs-kv-k">Language</span><span class="bs-kv-v">${n.language}</span>
1574
+ ${EA.commitHash?`<span class="bs-kv-k">Commit</span><span class="bs-kv-v">${eA(EA.commitHash)}</span>`:""}
1575
+ ${EA.user?.email?`<span class="bs-kv-k">User</span><span class="bs-kv-v">${eA(EA.user.email)}</span>`:""}
1576
+ </div>`,A+="</div>",A}function Vd(){let A=Ze();if(!A.length)return'<div class="bs-view"><div class="bs-empty"><p>No reports yet.<br>Submitted bugs will appear here.</p></div></div>';let e={ui:"UI",functionality:"Feature",performance:"Perf",crash:"Crash",security:"Security",other:"Other"},t=n=>{let s=new Date(n),i=new Date().getTime()-s.getTime(),o=Math.floor(i/6e4);if(o<1)return"Just now";if(o<60)return`${o}m ago`;let l=Math.floor(o/60);if(l<24)return`${l}h ago`;let c=Math.floor(l/24);return c<7?`${c}d ago`:s.toLocaleDateString("en",{month:"short",day:"numeric"})},r='<div class="bs-view">';for(let n of A){let s=n.pins?.length?`<div class="bs-hist-pins">${n.pins.slice(0,5).map(a=>`<div class="bs-hist-pin-dot" style="background:${["#ef4444","#3b82f6","#f59e0b","#10b981","#8b5cf6"][a.number%5]}">${a.number}</div>`).join("")}${n.pins.length>5?`<span>+${n.pins.length-5}</span>`:""}</div>`:"";r+=`<div class="bs-hist-card" data-hist-id="${n.id}">
1509
1577
  <div class="bs-hist-top">
1510
- <div class="bs-hist-title">${I(r.title)}</div>
1511
- ${r.screenshot?`<img class="bs-hist-thumb" src="${r.screenshot}" alt=""/>`:""}
1578
+ <div class="bs-hist-title">${eA(n.title)}</div>
1579
+ ${n.screenshot?`<img class="bs-hist-thumb" src="${n.screenshot}" alt=""/>`:""}
1512
1580
  <div class="bs-hist-actions">
1513
- <button class="bs-hist-btn" data-hist-edit="${r.id}" title="Edit"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg></button>
1514
- <button class="bs-hist-btn bs-del" data-hist-del="${r.id}" title="Delete"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><polyline points="3 6 5 6 21 6"/><path d="M19 6l-1 14a2 2 0 01-2 2H8a2 2 0 01-2-2L5 6"/><path d="M10 11v6"/><path d="M14 11v6"/></svg></button>
1581
+ <button class="bs-hist-btn" data-hist-edit="${n.id}" title="Edit"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg></button>
1582
+ <button class="bs-hist-btn bs-del" data-hist-del="${n.id}" title="Delete"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><polyline points="3 6 5 6 21 6"/><path d="M19 6l-1 14a2 2 0 01-2 2H8a2 2 0 01-2-2L5 6"/><path d="M10 11v6"/><path d="M14 11v6"/></svg></button>
1515
1583
  </div>
1516
1584
  </div>
1517
1585
  <div class="bs-hist-meta">
1518
- <span class="bs-hist-badge bs-cat">${t[r.category]||r.category}</span>
1519
- <span class="bs-hist-badge bs-sev-${r.severity}">${r.severity}</span>
1520
- <span class="bs-hist-badge bs-status-${r.status}">${r.status}</span>
1586
+ <span class="bs-hist-badge bs-cat">${e[n.category]||n.category}</span>
1587
+ <span class="bs-hist-badge bs-sev-${n.severity}">${n.severity}</span>
1588
+ <span class="bs-hist-badge bs-status-${n.status}">${n.status}</span>
1521
1589
  </div>
1522
- ${r.description?`<div class="bs-hist-desc">${I(r.description)}</div>`:""}
1590
+ ${n.description?`<div class="bs-hist-desc">${eA(n.description)}</div>`:""}
1523
1591
  <div class="bs-hist-foot">
1524
- <span>${n(r.createdAt)} &middot; ${I(r.url.replace(/^https?:\/\//,"").slice(0,40))}</span>
1525
- ${a}
1592
+ <span>${t(n.createdAt)} &middot; ${eA(n.url.replace(/^https?:\/\//,"").slice(0,40))}</span>
1593
+ ${s}
1526
1594
  </div>
1527
- </div>`}return s+="</div>",s}function Gs(){let e=ut(),t=gt(),n='<div class="bs-view">';n+='<div class="bs-set-sec">Layout</div>',n+='<div class="bs-set-ly-grid">';for(let s of t)n+=`<button class="bs-set-ly${s.id===me.id?" bs-picked":""}" data-set-layout="${s.id}"><div class="bs-set-ly-name">${I(s.name)}</div><div class="bs-set-ly-desc">${I(s.description)}</div></button>`;n+="</div>",n+='<div class="bs-set-sec">Theme</div>',n+='<div class="bs-set-grid">';for(let s of e)n+=`<button class="bs-set-card${s.id===de.id?" bs-picked":""}" data-set-theme="${s.id}"><div class="bs-set-preview" style="background:${s.preview[0]}"><div class="bs-set-dot" style="background:${s.preview[1]}"></div><div class="bs-set-dot" style="background:${s.vars["--bs-accent2"]||s.preview[1]};opacity:0.6"></div></div><div class="bs-set-name">${I(s.name)}</div></button>`;return n+="</div>",n+="</div>",n}function er(e,t){let n=["#f87171","#3b82f6","#fb923c","#4ade80","#a78bfa","#facc15"],s=n[0],r="draw",a=4,l=1,d=!1,c=[],v=[],b=-1,h=-1,y=!1,M=!1,ae=0,Me=0,R=0,P=0,k=[],Kt=["#ef4444","#3b82f6","#f59e0b","#10b981","#8b5cf6","#ec4899"],ie=new Image;ie.src=t;let Pe=document.createElement("div");Pe.className="bs-ann-wrap";let ze=document.createElement("div");ze.className="bs-ann-viewport";let w=document.createElement("canvas");w.className="bs-ann-canvas bs-draw";let G=document.createElement("div");G.className="bs-ann-toolbar";let Vt={select:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/><path d="M13 13l6 6"/></svg>',draw:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M12 19l7-7 3 3-7 7-3-3z"/><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"/><path d="M2 2l7.586 7.586"/></svg>',arrow:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>',rect:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2"/></svg>',circle:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/></svg>',text:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="4 7 4 4 20 4 20 7"/><line x1="9.5" y1="20" x2="14.5" y2="20"/><line x1="12" y1="4" x2="12" y2="20"/></svg>',highlight:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M9 11l-6 6v3h9l3-3"/><path d="M22 12l-4.6 4.6a2 2 0 01-2.8 0l-5.2-5.2a2 2 0 010-2.8L14 4"/></svg>',pin:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"/><circle cx="12" cy="10" r="3"/></svg>'},ps={select:"Select & Move",draw:"Draw",arrow:"Arrow",rect:"Rectangle",circle:"Circle",text:"Text",highlight:"Highlight",pin:"Pin Issue"},Pt=[],bs=o=>{r=o,b=-1,w.className=`bs-ann-canvas bs-${o}`,Pt.forEach(m=>m.classList.remove("bs-sel")),Pt.find(m=>m.dataset.tool===o)?.classList.add("bs-sel")};Object.keys(Vt).forEach(o=>{let m=document.createElement("button");m.type="button",m.dataset.tool=o,m.className=`bs-ann-btn${o===r?" bs-sel":""}`,m.title=ps[o],m.innerHTML=Vt[o],m.addEventListener("click",()=>bs(o)),Pt.push(m),G.appendChild(m)}),G.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"})),n.forEach((o,m)=>{let g=document.createElement("button");g.type="button",g.className=`bs-ann-dot${m===0?" bs-sel":""}`,g.style.background=o,g.addEventListener("click",()=>{s=o,G.querySelectorAll(".bs-ann-dot").forEach(C=>C.classList.remove("bs-sel")),g.classList.add("bs-sel")}),G.appendChild(g)}),G.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"}));let ee=document.createElement("input");ee.type="range",ee.min="1",ee.max="12",ee.value="4",ee.className="bs-ann-size",ee.title="Brush size",ee.addEventListener("input",()=>{a=parseInt(ee.value)}),G.appendChild(ee);let Ke=document.createElement("div");Ke.className="bs-ann-right";let Ve=(o,m)=>{let g=document.createElement("button");return g.type="button",g.className="bs-ann-btn",g.title=o,g.innerHTML=m,g},Qt=Ve("Zoom out",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></svg>'),Zt=Object.assign(document.createElement("span"),{className:"bs-ann-zoom-label",textContent:"100%"}),Gt=Ve("Zoom in",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></svg>'),en=Ve("Fit",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M15 3h6v6"/><path d="M9 21H3v-6"/><path d="M21 3l-7 7"/><path d="M3 21l7-7"/></svg>'),tn=Ve("Undo",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 105.42-8.49L1 10"/></svg>'),nn=Object.assign(document.createElement("button"),{type:"button",className:"bs-ann-clr-btn",textContent:"Clear"}),zt=()=>{w.style.transform=`scale(${l})`,Zt.textContent=`${Math.round(l*100)}%`};Gt.addEventListener("click",()=>{l<3&&(l=Math.min(3,l+.25),zt())}),Qt.addEventListener("click",()=>{l>.5&&(l=Math.max(.5,l-.25),zt())}),en.addEventListener("click",()=>{l=1,zt()}),Ke.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"})),[Qt,Zt,Gt,en,tn,nn].forEach(o=>Ke.appendChild(o)),G.appendChild(Ke);let Qe=document.createElement("div");Qe.className="bs-ann-pins";let fe=document.createElement("div");fe.className="bs-ann-pin-list",fe.style.display="none",ze.appendChild(w),ze.appendChild(Qe),Pe.appendChild(ze),Pe.appendChild(G),Pe.appendChild(fe),e.innerHTML="",e.appendChild(Pe);let Ze=()=>{Qe.innerHTML="",fe.innerHTML="",fe.style.display=v.length?"":"none",v.forEach((o,m)=>{let g=document.createElement("div");g.className="bs-ann-pin",g.style.background=o.color,g.style.color=o.color;let C=o.x/(w.width||1)*100,u=o.y/(w.height||1)*100;g.style.left=`${C}%`,g.style.top=`${u}%`,g.innerHTML=`<span class="bs-ann-pin-n">${m+1}</span><span class="bs-ann-pin-pulse"></span>`,g.title=`#${m+1}: ${o.note}`;let T=!1;g.addEventListener("mousedown",z=>{z.stopPropagation(),T=!0,g.classList.add("bs-dragging");let p=L=>{if(!T)return;let S=ze.getBoundingClientRect();o.x=(L.clientX-S.left)/S.width*w.width,o.y=(L.clientY-S.top)/S.height*w.height,g.style.left=`${(L.clientX-S.left)/S.width*100}%`,g.style.top=`${(L.clientY-S.top)/S.height*100}%`},x=()=>{T=!1,g.classList.remove("bs-dragging"),document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",x),Ze()};document.addEventListener("mousemove",p),document.addEventListener("mouseup",x)}),Qe.appendChild(g);let j=document.createElement("div");j.className="bs-ann-pin-item",j.innerHTML=`
1528
- <div class="bs-ann-pin-num" style="background:${o.color}">${m+1}</div>
1595
+ </div>`}return r+="</div>",r}function _d(){let A=Jr(),e=Yr(),t='<div class="bs-view">';t+='<div class="bs-set-sec">Layout</div>',t+='<div class="bs-set-ly-grid">';for(let r of e)t+=`<button class="bs-set-ly${r.id===Ee.id?" bs-picked":""}" data-set-layout="${r.id}"><div class="bs-set-ly-name">${eA(r.name)}</div><div class="bs-set-ly-desc">${eA(r.description)}</div></button>`;t+="</div>",t+='<div class="bs-set-sec">Theme</div>',t+='<div class="bs-set-grid">';for(let r of A)t+=`<button class="bs-set-card${r.id===be.id?" bs-picked":""}" data-set-theme="${r.id}"><div class="bs-set-preview" style="background:${r.preview[0]}"><div class="bs-set-dot" style="background:${r.preview[1]}"></div><div class="bs-set-dot" style="background:${r.vars["--bs-accent2"]||r.preview[1]};opacity:0.6"></div></div><div class="bs-set-name">${eA(r.name)}</div></button>`;return t+="</div>",t+="</div>",t}function Xd(A,e){let t=["#f87171","#3b82f6","#fb923c","#4ade80","#a78bfa","#facc15"],r=t[0],n="draw",s=4,a=1,i=!1,o=[],l=[],c=-1,B=-1,g=!1,p=!1,f=0,h=0,y=0,b=0,w=[],L=["#ef4444","#3b82f6","#f59e0b","#10b981","#8b5cf6","#ec4899"],K=new Image;K.src=e;let I=document.createElement("div");I.className="bs-ann-wrap";let Q=document.createElement("div");Q.className="bs-ann-viewport";let C=document.createElement("canvas");C.className="bs-ann-canvas bs-draw";let T=document.createElement("div");T.className="bs-ann-toolbar";let S={select:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/><path d="M13 13l6 6"/></svg>',draw:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M12 19l7-7 3 3-7 7-3-3z"/><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"/><path d="M2 2l7.586 7.586"/></svg>',arrow:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>',rect:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2"/></svg>',circle:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/></svg>',text:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="4 7 4 4 20 4 20 7"/><line x1="9.5" y1="20" x2="14.5" y2="20"/><line x1="12" y1="4" x2="12" y2="20"/></svg>',highlight:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M9 11l-6 6v3h9l3-3"/><path d="M22 12l-4.6 4.6a2 2 0 01-2.8 0l-5.2-5.2a2 2 0 010-2.8L14 4"/></svg>',pin:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"/><circle cx="12" cy="10" r="3"/></svg>'},Y={select:"Select & Move",draw:"Draw",arrow:"Arrow",rect:"Rectangle",circle:"Circle",text:"Text",highlight:"Highlight",pin:"Pin Issue"},aA=[],hA=u=>{n=u,c=-1,C.className=`bs-ann-canvas bs-${u}`,aA.forEach(E=>E.classList.remove("bs-sel")),aA.find(E=>E.dataset.tool===u)?.classList.add("bs-sel")};Object.keys(S).forEach(u=>{let E=document.createElement("button");E.type="button",E.dataset.tool=u,E.className=`bs-ann-btn${u===n?" bs-sel":""}`,E.title=Y[u],E.innerHTML=S[u],E.addEventListener("click",()=>hA(u)),aA.push(E),T.appendChild(E)}),T.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"})),t.forEach((u,E)=>{let x=document.createElement("button");x.type="button",x.className=`bs-ann-dot${E===0?" bs-sel":""}`,x.style.background=u,x.addEventListener("click",()=>{r=u,T.querySelectorAll(".bs-ann-dot").forEach(X=>X.classList.remove("bs-sel")),x.classList.add("bs-sel")}),T.appendChild(x)}),T.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"}));let k=document.createElement("input");k.type="range",k.min="1",k.max="12",k.value="4",k.className="bs-ann-size",k.title="Brush size",k.addEventListener("input",()=>{s=parseInt(k.value)}),T.appendChild(k);let z=document.createElement("div");z.className="bs-ann-right";let HA=(u,E)=>{let x=document.createElement("button");return x.type="button",x.className="bs-ann-btn",x.title=u,x.innerHTML=E,x},lA=HA("Zoom out",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></svg>'),cA=Object.assign(document.createElement("span"),{className:"bs-ann-zoom-label",textContent:"100%"}),_A=HA("Zoom in",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></svg>'),IA=HA("Fit",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M15 3h6v6"/><path d="M9 21H3v-6"/><path d="M21 3l-7 7"/><path d="M3 21l7-7"/></svg>'),RA=HA("Undo",'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="1 4 1 10 7 10"/><path d="M3.51 15a9 9 0 105.42-8.49L1 10"/></svg>'),XA=Object.assign(document.createElement("button"),{type:"button",className:"bs-ann-clr-btn",textContent:"Clear"}),NA=()=>{C.style.transform=`scale(${a})`,cA.textContent=`${Math.round(a*100)}%`};_A.addEventListener("click",()=>{a<3&&(a=Math.min(3,a+.25),NA())}),lA.addEventListener("click",()=>{a>.5&&(a=Math.max(.5,a-.25),NA())}),IA.addEventListener("click",()=>{a=1,NA()}),z.appendChild(Object.assign(document.createElement("div"),{className:"bs-ann-sep"})),[lA,cA,_A,IA,RA,XA].forEach(u=>z.appendChild(u)),T.appendChild(z);let CA=document.createElement("div");CA.className="bs-ann-pins";let UA=document.createElement("div");UA.className="bs-ann-pin-list",UA.style.display="none",Q.appendChild(C),Q.appendChild(CA),I.appendChild(Q),I.appendChild(T),I.appendChild(UA),A.innerHTML="",A.appendChild(I);let mA=()=>{CA.innerHTML="",UA.innerHTML="",UA.style.display=l.length?"":"none",l.forEach((u,E)=>{let x=document.createElement("div");x.className="bs-ann-pin",x.style.background=u.color,x.style.color=u.color;let X=u.x/(C.width||1)*100,F=u.y/(C.height||1)*100;x.style.left=`${X}%`,x.style.top=`${F}%`,x.innerHTML=`<span class="bs-ann-pin-n">${E+1}</span><span class="bs-ann-pin-pulse"></span>`,x.title=`#${E+1}: ${u.note}`;let J=!1;x.addEventListener("mousedown",j=>{j.stopPropagation(),J=!0,x.classList.add("bs-dragging");let v=G=>{if(!J)return;let P=Q.getBoundingClientRect();u.x=(G.clientX-P.left)/P.width*C.width,u.y=(G.clientY-P.top)/P.height*C.height,x.style.left=`${(G.clientX-P.left)/P.width*100}%`,x.style.top=`${(G.clientY-P.top)/P.height*100}%`},D=()=>{J=!1,x.classList.remove("bs-dragging"),document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",D),mA()};document.addEventListener("mousemove",v),document.addEventListener("mouseup",D)}),CA.appendChild(x);let BA=document.createElement("div");BA.className="bs-ann-pin-item",BA.innerHTML=`
1596
+ <div class="bs-ann-pin-num" style="background:${u.color}">${E+1}</div>
1529
1597
  <div class="bs-ann-pin-body">
1530
- <div class="bs-ann-pin-note">${I(o.note)}</div>
1531
- <div class="bs-ann-pin-loc">${Math.round(C)}% \xD7 ${Math.round(u)}%</div>
1532
- </div>`;let q=document.createElement("button");q.type="button",q.className="bs-ann-pin-del",q.innerHTML="&times;",q.title="Remove pin",q.addEventListener("click",()=>{v.splice(m,1),Ze()}),j.appendChild(q),fe.appendChild(j)})},i,At=()=>d?"rgba(255,255,255,0.5)":"rgba(0,0,0,0.35)",be=(o,m)=>{i.save(),i.strokeStyle=At(),i.lineWidth=m+3,i.lineCap="round",i.lineJoin="round",i.globalAlpha=.5,o(),i.restore()},us=(o,m=!1)=>{if(o.type==="draw"||o.type==="highlight"){if(o.points.length<2)return;let u=o.type==="highlight"?.25:1,T=o.type==="highlight"?o.size*4+10:o.size,j=()=>{i.beginPath(),i.moveTo(o.points[0].x,o.points[0].y);for(let q=1;q<o.points.length;q++)i.lineTo(o.points[q].x,o.points[q].y);i.stroke()};o.type!=="highlight"&&be(j,T),i.strokeStyle=o.color,i.lineWidth=T,i.lineCap="round",i.lineJoin="round",i.globalAlpha=u,j(),i.globalAlpha=1}else if(o.type==="rect"){let u=()=>i.strokeRect(o.x,o.y,o.w,o.h);be(u,o.size),i.strokeStyle=o.color,i.lineWidth=o.size,i.lineCap="round",i.lineJoin="round",u()}else if(o.type==="circle"){let u=()=>{i.beginPath(),i.ellipse(o.cx,o.cy,Math.abs(o.rx),Math.abs(o.ry),0,0,Math.PI*2),i.stroke()};be(u,o.size),i.strokeStyle=o.color,i.lineWidth=o.size,u()}else if(o.type==="arrow"){let u=Math.atan2(o.y2-o.y1,o.x2-o.x1),T=12+o.size*2,j=()=>{i.beginPath(),i.moveTo(o.x1,o.y1),i.lineTo(o.x2,o.y2),i.stroke(),i.beginPath(),i.moveTo(o.x2,o.y2),i.lineTo(o.x2-T*Math.cos(u-.45),o.y2-T*Math.sin(u-.45)),i.moveTo(o.x2,o.y2),i.lineTo(o.x2-T*Math.cos(u+.45),o.y2-T*Math.sin(u+.45)),i.stroke()};be(j,o.size),i.strokeStyle=o.color,i.lineWidth=o.size,i.lineCap="round",i.lineJoin="round",j()}else if(o.type==="text"){let u=o.size*5+12;i.font=`bold ${u}px Inter, -apple-system, sans-serif`,i.fillStyle=At(),i.globalAlpha=.6,i.fillText(o.text,o.x+1,o.y+1),i.globalAlpha=1,i.fillStyle=o.color,i.fillText(o.text,o.x,o.y)}let g=!m&&b>=0&&c[b]===o,C=!m&&!g&&h>=0&&c[h]===o;if(g||C){let u=Ae(o);if(i.save(),i.setLineDash([6,4]),i.strokeStyle=d?"#fff":"#000",i.lineWidth=g?1.5:1,i.globalAlpha=g?.7:.45,i.strokeRect(u.x-4,u.y-4,u.w+8,u.h+8),o.type==="rect"||o.type==="circle"){i.setLineDash([]),i.globalAlpha=g?.9:.6;let j=o.type==="rect"?[[u.x,u.y],[u.x+u.w,u.y],[u.x,u.y+u.h],[u.x+u.w,u.y+u.h]]:[[u.x+u.w/2,u.y],[u.x+u.w,u.y+u.h/2],[u.x+u.w/2,u.y+u.h],[u.x,u.y+u.h/2]];for(let[q,z]of j)i.fillStyle="#fff",i.fillRect(q-5,z-5,10,10),i.strokeStyle=d?"#aaa":"#333",i.lineWidth=1.2,i.strokeRect(q-5,z-5,10,10)}i.restore()}},O=()=>{i.clearRect(0,0,w.width,w.height),i.drawImage(ie,0,0);for(let o of c)us(o)},Ae=o=>{if(o.type==="rect")return{x:Math.min(o.x,o.x+o.w),y:Math.min(o.y,o.y+o.h),w:Math.abs(o.w),h:Math.abs(o.h)};if(o.type==="circle")return{x:o.cx-Math.abs(o.rx),y:o.cy-Math.abs(o.ry),w:Math.abs(o.rx)*2,h:Math.abs(o.ry)*2};if(o.type==="arrow"){let T=Math.min(o.x1,o.x2),j=Math.min(o.y1,o.y2);return{x:T,y:j,w:Math.abs(o.x2-o.x1)||20,h:Math.abs(o.y2-o.y1)||20}}if(o.type==="text")return{x:o.x,y:o.y-(o.size*5+12),w:o.text.length*(o.size*3+8),h:o.size*5+16};if(o.points.length===0)return{x:0,y:0,w:0,h:0};let m=1/0,g=1/0,C=-1/0,u=-1/0;for(let T of o.points)m=Math.min(m,T.x),g=Math.min(g,T.y),C=Math.max(C,T.x),u=Math.max(u,T.y);return{x:m,y:g,w:C-m||10,h:u-g||10}},Ge=(o,m)=>{for(let g=c.length-1;g>=0;g--){let C=Ae(c[g]),u=8;if(o>=C.x-u&&o<=C.x+C.w+u&&m>=C.y-u&&m<=C.y+C.h+u)return g}return-1},ms=(o,m,g)=>{if(o.type==="draw"||o.type==="highlight")for(let C of o.points)C.x+=m,C.y+=g;else o.type==="rect"?(o.x+=m,o.y+=g):o.type==="circle"?(o.cx+=m,o.cy+=g):o.type==="arrow"?(o.x1+=m,o.y1+=g,o.x2+=m,o.y2+=g):o.type==="text"&&(o.x+=m,o.y+=g)};ie.onload=()=>{let m=(e.clientWidth||450)/ie.width;w.width=ie.width,w.height=ie.height,w.style.height=`${ie.height*m}px`,i=w.getContext("2d"),i.drawImage(ie,0,0);let g=[[10,10],[w.width-10,10],[10,w.height-10],[w.width-10,w.height-10],[w.width/2,w.height/2]],C=0;for(let[z,p]of g){let x=i.getImageData(z,p,1,1).data;C+=(x[0]*299+x[1]*587+x[2]*114)/1e3}d=C/g.length<128;let u=z=>{let p=w.getBoundingClientRect();return{x:(z.clientX-p.left)*(w.width/p.width),y:(z.clientY-p.top)*(w.height/p.height)}},T=!1;w.addEventListener("mousedown",z=>{let p=u(z);if(r==="select"){let x=Ge(p.x,p.y);if(x>=0){b=x,y=!0;let L=Ae(c[x]);ae=p.x-L.x,Me=p.y-L.y,w.classList.add("bs-grabbing"),w.classList.remove("bs-grab"),O()}else b=-1,O();return}if(r!=="pin"&&r!=="text"){let x=Ge(p.x,p.y);if(x>=0){b=x,y=!0,T=!0;let L=Ae(c[x]);ae=p.x-L.x,Me=p.y-L.y,w.classList.add("bs-grabbing"),O();return}}if(M=!0,R=p.x,P=p.y,r==="pin"){M=!1;let x=prompt("Describe the issue at this spot:");if(x){let L=Kt[v.length%Kt.length];v.push({x:p.x,y:p.y,note:x,color:L}),Ze()}return}if(r==="text"){M=!1;let x=prompt("Enter text:");x&&(c.push({type:"text",color:s,size:a,x:p.x,y:p.y,text:x}),O());return}(r==="draw"||r==="highlight")&&(k=[{x:p.x,y:p.y}])}),w.addEventListener("mousemove",z=>{let p=u(z);if(y&&b>=0){let x=Ae(c[b]),L=p.x-ae-x.x,S=p.y-Me-x.y;ms(c[b],L,S),O();return}if(r==="select"){let x=Ge(p.x,p.y);w.classList.toggle("bs-grab",x>=0),h!==x&&(h=x,O());return}if(r!=="pin"&&r!=="text"&&!M){let x=Ge(p.x,p.y);w.classList.toggle("bs-grab",x>=0),h!==x&&(h=x,O())}if(M){if(r==="draw"||r==="highlight"){k.push({x:p.x,y:p.y}),O();let x=r==="highlight"?.25:1,L=r==="highlight"?a*4+10:a;if(r!=="highlight"){i.save(),i.strokeStyle=At(),i.lineWidth=L+3,i.lineCap="round",i.lineJoin="round",i.globalAlpha=.5,i.beginPath(),i.moveTo(k[0].x,k[0].y);for(let S=1;S<k.length;S++)i.lineTo(k[S].x,k[S].y);i.stroke(),i.restore()}i.strokeStyle=s,i.lineWidth=L,i.lineCap="round",i.lineJoin="round",i.globalAlpha=x,i.beginPath(),i.moveTo(k[0].x,k[0].y);for(let S=1;S<k.length;S++)i.lineTo(k[S].x,k[S].y);i.stroke(),i.globalAlpha=1}else if(O(),i.strokeStyle=s,i.lineWidth=a,i.lineCap="round",i.lineJoin="round",r==="rect")be(()=>i.strokeRect(R,P,p.x-R,p.y-P),a),i.strokeStyle=s,i.lineWidth=a,i.strokeRect(R,P,p.x-R,p.y-P);else if(r==="circle"){let x=Math.abs(p.x-R)/2,L=Math.abs(p.y-P)/2,S=R+(p.x-R)/2,sn=P+(p.y-P)/2;be(()=>{i.beginPath(),i.ellipse(S,sn,x,L,0,0,Math.PI*2),i.stroke()},a),i.strokeStyle=s,i.lineWidth=a,i.beginPath(),i.ellipse(S,sn,x,L,0,0,Math.PI*2),i.stroke()}else if(r==="arrow"){let x=Math.atan2(p.y-P,p.x-R),L=12+a*2,S=()=>{i.beginPath(),i.moveTo(R,P),i.lineTo(p.x,p.y),i.stroke(),i.beginPath(),i.moveTo(p.x,p.y),i.lineTo(p.x-L*Math.cos(x-.45),p.y-L*Math.sin(x-.45)),i.moveTo(p.x,p.y),i.lineTo(p.x-L*Math.cos(x+.45),p.y-L*Math.sin(x+.45)),i.stroke()};be(S,a),i.strokeStyle=s,i.lineWidth=a,i.lineCap="round",i.lineJoin="round",S()}}});let j=z=>{if(y)return y=!1,T=!1,b=-1,w.classList.remove("bs-grabbing"),w.classList.remove("bs-grab"),O(),void 0;if(!M)return;M=!1;let p=u(z);if(r==="draw"||r==="highlight")k.length>1&&c.push({type:r,color:s,size:a,alpha:r==="highlight"?.25:1,points:[...k]}),k=[];else if(r==="rect")c.push({type:"rect",color:s,size:a,x:R,y:P,w:p.x-R,h:p.y-P});else if(r==="circle"){let x=Math.abs(p.x-R)/2,L=Math.abs(p.y-P)/2;c.push({type:"circle",color:s,size:a,cx:R+(p.x-R)/2,cy:P+(p.y-P)/2,rx:x,ry:L})}else r==="arrow"&&c.push({type:"arrow",color:s,size:a,x1:R,y1:P,x2:p.x,y2:p.y});O()};w.addEventListener("mouseup",j),w.addEventListener("mouseleave",z=>{y?(y=!1,T=!1,w.classList.remove("bs-grabbing"),w.classList.remove("bs-grab"),O()):M&&j(z)});let q=z=>{b>=0&&(z.key==="Delete"||z.key==="Backspace")&&(c.splice(b,1),b=-1,O())};document.addEventListener("keydown",q),tn.addEventListener("click",()=>{c.length&&(c.pop(),b=-1,O())}),nn.addEventListener("click",()=>{c.length=0,v.length=0,b=-1,O(),Ze()})};let gs=()=>{for(let o=0;o<v.length;o++){let m=v[o],g=16;i.beginPath(),i.arc(m.x,m.y-g,g,0,Math.PI*2),i.fillStyle=m.color,i.fill(),i.strokeStyle="#fff",i.lineWidth=2,i.stroke(),i.beginPath(),i.moveTo(m.x-8,m.y-6),i.lineTo(m.x,m.y+4),i.lineTo(m.x+8,m.y-6),i.fillStyle=m.color,i.fill(),i.fillStyle="#fff",i.font="bold 14px Inter, sans-serif",i.textAlign="center",i.textBaseline="middle",i.fillText(`${o+1}`,m.x,m.y-g),i.textAlign="start",i.textBaseline="alphabetic"}};return{getAnnotation:()=>{try{return b=-1,O(),gs(),w.toDataURL("image/jpeg",.7)}catch{return null}},getPins:()=>v.map((o,m)=>({number:m+1,x:Math.round(o.x),y:Math.round(o.y),note:o.note}))}}function kt(e){if(!f)return;Ce=e,f.querySelectorAll(".bs-tab").forEach(s=>{s.classList.toggle("bs-active",s.dataset.tab===e)});let t=f.querySelector(".bs-scroll"),n={report:Gn,console:Ks,network:Vs,context:Qs,history:Zs,settings:Gs};t.innerHTML=n[e](),t.scrollTop=0,es()}function es(){if(!f)return;if(Ce==="history"){f.querySelectorAll("[data-hist-del]").forEach(n=>{n.addEventListener("click",()=>{let s=parseInt(n.dataset.histDel),r=f.querySelector(`[data-hist-id="${s}"]`);if(!r)return;let a=r.querySelector(".bs-hist-confirm");if(a){a.remove();return}let l=document.createElement("div");l.className="bs-hist-confirm",l.innerHTML="<span>Delete this report?</span>";let d=document.createElement("button");d.type="button",d.className="bs-hist-confirm-yes",d.textContent="Delete";let c=document.createElement("button");c.type="button",c.className="bs-hist-confirm-no",c.textContent="Cancel",d.addEventListener("click",()=>{Xs(s),kt("history")}),c.addEventListener("click",()=>l.remove()),l.appendChild(d),l.appendChild(c),r.appendChild(l)})}),f.querySelectorAll("[data-hist-edit]").forEach(n=>{n.addEventListener("click",()=>{let s=parseInt(n.dataset.histEdit),r=f.querySelector(`[data-hist-id="${s}"]`);if(!r)return;let a=r.querySelector(".bs-hist-edit-wrap");if(a){a.remove();return}r.querySelector(".bs-hist-confirm")?.remove();let l=Te().find(y=>y.id===s);if(!l)return;let d=document.createElement("div");d.className="bs-hist-edit-wrap",d.innerHTML=`
1598
+ <div class="bs-ann-pin-note">${eA(u.note)}</div>
1599
+ <div class="bs-ann-pin-loc">${Math.round(X)}% \xD7 ${Math.round(F)}%</div>
1600
+ </div>`;let fA=document.createElement("button");fA.type="button",fA.className="bs-ann-pin-del",fA.innerHTML="&times;",fA.title="Remove pin",fA.addEventListener("click",()=>{l.splice(E,1),mA()}),BA.appendChild(fA),UA.appendChild(BA)})},d,ZA=()=>i?"rgba(255,255,255,0.5)":"rgba(0,0,0,0.35)",Qe=(u,E)=>{d.save(),d.strokeStyle=ZA(),d.lineWidth=E+3,d.lineCap="round",d.lineJoin="round",d.globalAlpha=.5,u(),d.restore()},Li=(u,E=!1)=>{if(u.type==="draw"||u.type==="highlight"){if(u.points.length<2)return;let F=u.type==="highlight"?.25:1,J=u.type==="highlight"?u.size*4+10:u.size,BA=()=>{d.beginPath(),d.moveTo(u.points[0].x,u.points[0].y);for(let fA=1;fA<u.points.length;fA++)d.lineTo(u.points[fA].x,u.points[fA].y);d.stroke()};u.type!=="highlight"&&Qe(BA,J),d.strokeStyle=u.color,d.lineWidth=J,d.lineCap="round",d.lineJoin="round",d.globalAlpha=F,BA(),d.globalAlpha=1}else if(u.type==="rect"){let F=()=>d.strokeRect(u.x,u.y,u.w,u.h);Qe(F,u.size),d.strokeStyle=u.color,d.lineWidth=u.size,d.lineCap="round",d.lineJoin="round",F()}else if(u.type==="circle"){let F=()=>{d.beginPath(),d.ellipse(u.cx,u.cy,Math.abs(u.rx),Math.abs(u.ry),0,0,Math.PI*2),d.stroke()};Qe(F,u.size),d.strokeStyle=u.color,d.lineWidth=u.size,F()}else if(u.type==="arrow"){let F=Math.atan2(u.y2-u.y1,u.x2-u.x1),J=12+u.size*2,BA=()=>{d.beginPath(),d.moveTo(u.x1,u.y1),d.lineTo(u.x2,u.y2),d.stroke(),d.beginPath(),d.moveTo(u.x2,u.y2),d.lineTo(u.x2-J*Math.cos(F-.45),u.y2-J*Math.sin(F-.45)),d.moveTo(u.x2,u.y2),d.lineTo(u.x2-J*Math.cos(F+.45),u.y2-J*Math.sin(F+.45)),d.stroke()};Qe(BA,u.size),d.strokeStyle=u.color,d.lineWidth=u.size,d.lineCap="round",d.lineJoin="round",BA()}else if(u.type==="text"){let F=u.size*5+12;d.font=`bold ${F}px Inter, -apple-system, sans-serif`,d.fillStyle=ZA(),d.globalAlpha=.6,d.fillText(u.text,u.x+1,u.y+1),d.globalAlpha=1,d.fillStyle=u.color,d.fillText(u.text,u.x,u.y)}let x=!E&&c>=0&&o[c]===u,X=!E&&!x&&B>=0&&o[B]===u;if(x||X){let F=qe(u);if(d.save(),d.setLineDash([6,4]),d.strokeStyle=i?"#fff":"#000",d.lineWidth=x?1.5:1,d.globalAlpha=x?.7:.45,d.strokeRect(F.x-4,F.y-4,F.w+8,F.h+8),u.type==="rect"||u.type==="circle"){d.setLineDash([]),d.globalAlpha=x?.9:.6;let BA=u.type==="rect"?[[F.x,F.y],[F.x+F.w,F.y],[F.x,F.y+F.h],[F.x+F.w,F.y+F.h]]:[[F.x+F.w/2,F.y],[F.x+F.w,F.y+F.h/2],[F.x+F.w/2,F.y+F.h],[F.x,F.y+F.h/2]];for(let[fA,j]of BA)d.fillStyle="#fff",d.fillRect(fA-5,j-5,10,10),d.strokeStyle=i?"#aaa":"#333",d.lineWidth=1.2,d.strokeRect(fA-5,j-5,10,10)}d.restore()}},dA=()=>{d.clearRect(0,0,C.width,C.height),d.drawImage(K,0,0);for(let u of o)Li(u)},qe=u=>{if(u.type==="rect")return{x:Math.min(u.x,u.x+u.w),y:Math.min(u.y,u.y+u.h),w:Math.abs(u.w),h:Math.abs(u.h)};if(u.type==="circle")return{x:u.cx-Math.abs(u.rx),y:u.cy-Math.abs(u.ry),w:Math.abs(u.rx)*2,h:Math.abs(u.ry)*2};if(u.type==="arrow"){let J=Math.min(u.x1,u.x2),BA=Math.min(u.y1,u.y2);return{x:J,y:BA,w:Math.abs(u.x2-u.x1)||20,h:Math.abs(u.y2-u.y1)||20}}if(u.type==="text")return{x:u.x,y:u.y-(u.size*5+12),w:u.text.length*(u.size*3+8),h:u.size*5+16};if(u.points.length===0)return{x:0,y:0,w:0,h:0};let E=1/0,x=1/0,X=-1/0,F=-1/0;for(let J of u.points)E=Math.min(E,J.x),x=Math.min(x,J.y),X=Math.max(X,J.x),F=Math.max(F,J.y);return{x:E,y:x,w:X-E||10,h:F-x||10}},_t=(u,E)=>{for(let x=o.length-1;x>=0;x--){let X=qe(o[x]),F=8;if(u>=X.x-F&&u<=X.x+X.w+F&&E>=X.y-F&&E<=X.y+X.h+F)return x}return-1},Ki=(u,E,x)=>{if(u.type==="draw"||u.type==="highlight")for(let X of u.points)X.x+=E,X.y+=x;else u.type==="rect"?(u.x+=E,u.y+=x):u.type==="circle"?(u.cx+=E,u.cy+=x):u.type==="arrow"?(u.x1+=E,u.y1+=x,u.x2+=E,u.y2+=x):u.type==="text"&&(u.x+=E,u.y+=x)};K.onload=()=>{let E=(A.clientWidth||450)/K.width;C.width=K.width,C.height=K.height,C.style.height=`${K.height*E}px`,d=C.getContext("2d"),d.drawImage(K,0,0);let x=[[10,10],[C.width-10,10],[10,C.height-10],[C.width-10,C.height-10],[C.width/2,C.height/2]],X=0;for(let[j,v]of x){let D=d.getImageData(j,v,1,1).data;X+=(D[0]*299+D[1]*587+D[2]*114)/1e3}i=X/x.length<128;let F=j=>{let v=C.getBoundingClientRect();return{x:(j.clientX-v.left)*(C.width/v.width),y:(j.clientY-v.top)*(C.height/v.height)}},J=!1;C.addEventListener("mousedown",j=>{let v=F(j);if(n==="select"){let D=_t(v.x,v.y);if(D>=0){c=D,g=!0;let G=qe(o[D]);f=v.x-G.x,h=v.y-G.y,C.classList.add("bs-grabbing"),C.classList.remove("bs-grab"),dA()}else c=-1,dA();return}if(n!=="pin"&&n!=="text"){let D=_t(v.x,v.y);if(D>=0){c=D,g=!0,J=!0;let G=qe(o[D]);f=v.x-G.x,h=v.y-G.y,C.classList.add("bs-grabbing"),dA();return}}if(p=!0,y=v.x,b=v.y,n==="pin"){p=!1;let D=prompt("Describe the issue at this spot:");if(D){let G=L[l.length%L.length];l.push({x:v.x,y:v.y,note:D,color:G}),mA()}return}if(n==="text"){p=!1;let D=prompt("Enter text:");D&&(o.push({type:"text",color:r,size:s,x:v.x,y:v.y,text:D}),dA());return}(n==="draw"||n==="highlight")&&(w=[{x:v.x,y:v.y}])}),C.addEventListener("mousemove",j=>{let v=F(j);if(g&&c>=0){let D=qe(o[c]),G=v.x-f-D.x,P=v.y-h-D.y;Ki(o[c],G,P),dA();return}if(n==="select"){let D=_t(v.x,v.y);C.classList.toggle("bs-grab",D>=0),B!==D&&(B=D,dA());return}if(n!=="pin"&&n!=="text"&&!p){let D=_t(v.x,v.y);C.classList.toggle("bs-grab",D>=0),B!==D&&(B=D,dA())}if(p){if(n==="draw"||n==="highlight"){w.push({x:v.x,y:v.y}),dA();let D=n==="highlight"?.25:1,G=n==="highlight"?s*4+10:s;if(n!=="highlight"){d.save(),d.strokeStyle=ZA(),d.lineWidth=G+3,d.lineCap="round",d.lineJoin="round",d.globalAlpha=.5,d.beginPath(),d.moveTo(w[0].x,w[0].y);for(let P=1;P<w.length;P++)d.lineTo(w[P].x,w[P].y);d.stroke(),d.restore()}d.strokeStyle=r,d.lineWidth=G,d.lineCap="round",d.lineJoin="round",d.globalAlpha=D,d.beginPath(),d.moveTo(w[0].x,w[0].y);for(let P=1;P<w.length;P++)d.lineTo(w[P].x,w[P].y);d.stroke(),d.globalAlpha=1}else if(dA(),d.strokeStyle=r,d.lineWidth=s,d.lineCap="round",d.lineJoin="round",n==="rect")Qe(()=>d.strokeRect(y,b,v.x-y,v.y-b),s),d.strokeStyle=r,d.lineWidth=s,d.strokeRect(y,b,v.x-y,v.y-b);else if(n==="circle"){let D=Math.abs(v.x-y)/2,G=Math.abs(v.y-b)/2,P=y+(v.x-y)/2,Us=b+(v.y-b)/2;Qe(()=>{d.beginPath(),d.ellipse(P,Us,D,G,0,0,Math.PI*2),d.stroke()},s),d.strokeStyle=r,d.lineWidth=s,d.beginPath(),d.ellipse(P,Us,D,G,0,0,Math.PI*2),d.stroke()}else if(n==="arrow"){let D=Math.atan2(v.y-b,v.x-y),G=12+s*2,P=()=>{d.beginPath(),d.moveTo(y,b),d.lineTo(v.x,v.y),d.stroke(),d.beginPath(),d.moveTo(v.x,v.y),d.lineTo(v.x-G*Math.cos(D-.45),v.y-G*Math.sin(D-.45)),d.moveTo(v.x,v.y),d.lineTo(v.x-G*Math.cos(D+.45),v.y-G*Math.sin(D+.45)),d.stroke()};Qe(P,s),d.strokeStyle=r,d.lineWidth=s,d.lineCap="round",d.lineJoin="round",P()}}});let BA=j=>{if(g)return g=!1,J=!1,c=-1,C.classList.remove("bs-grabbing"),C.classList.remove("bs-grab"),dA(),void 0;if(!p)return;p=!1;let v=F(j);if(n==="draw"||n==="highlight")w.length>1&&o.push({type:n,color:r,size:s,alpha:n==="highlight"?.25:1,points:[...w]}),w=[];else if(n==="rect")o.push({type:"rect",color:r,size:s,x:y,y:b,w:v.x-y,h:v.y-b});else if(n==="circle"){let D=Math.abs(v.x-y)/2,G=Math.abs(v.y-b)/2;o.push({type:"circle",color:r,size:s,cx:y+(v.x-y)/2,cy:b+(v.y-b)/2,rx:D,ry:G})}else n==="arrow"&&o.push({type:"arrow",color:r,size:s,x1:y,y1:b,x2:v.x,y2:v.y});dA()};C.addEventListener("mouseup",BA),C.addEventListener("mouseleave",j=>{g?(g=!1,J=!1,C.classList.remove("bs-grabbing"),C.classList.remove("bs-grab"),dA()):p&&BA(j)});let fA=j=>{c>=0&&(j.key==="Delete"||j.key==="Backspace")&&(o.splice(c,1),c=-1,dA())};document.addEventListener("keydown",fA),RA.addEventListener("click",()=>{o.length&&(o.pop(),c=-1,dA())}),XA.addEventListener("click",()=>{o.length=0,l.length=0,c=-1,dA(),mA()})};let Si=()=>{for(let u=0;u<l.length;u++){let E=l[u],x=16;d.beginPath(),d.arc(E.x,E.y-x,x,0,Math.PI*2),d.fillStyle=E.color,d.fill(),d.strokeStyle="#fff",d.lineWidth=2,d.stroke(),d.beginPath(),d.moveTo(E.x-8,E.y-6),d.lineTo(E.x,E.y+4),d.lineTo(E.x+8,E.y-6),d.fillStyle=E.color,d.fill(),d.fillStyle="#fff",d.font="bold 14px Inter, sans-serif",d.textAlign="center",d.textBaseline="middle",d.fillText(`${u+1}`,E.x,E.y-x),d.textAlign="start",d.textBaseline="alphabetic"}};return{getAnnotation:()=>{try{return c=-1,dA(),Si(),C.toDataURL("image/jpeg",.7)}catch{return null}},getPins:()=>l.map((u,E)=>({number:E+1,x:Math.round(u.x),y:Math.round(u.y),note:u.note}))}}function An(A){if(!H)return;$e=A,H.querySelectorAll(".bs-tab").forEach(r=>{r.classList.toggle("bs-active",r.dataset.tab===A)});let e=H.querySelector(".bs-scroll"),t={report:bi,console:Nd,network:Gd,context:Pd,history:Vd,settings:_d};e.innerHTML=t[A](),e.scrollTop=0,Qi()}function Qi(){if(!H)return;if($e==="history"){H.querySelectorAll("[data-hist-del]").forEach(t=>{t.addEventListener("click",()=>{let r=parseInt(t.dataset.histDel),n=H.querySelector(`[data-hist-id="${r}"]`);if(!n)return;let s=n.querySelector(".bs-hist-confirm");if(s){s.remove();return}let a=document.createElement("div");a.className="bs-hist-confirm",a.innerHTML="<span>Delete this report?</span>";let i=document.createElement("button");i.type="button",i.className="bs-hist-confirm-yes",i.textContent="Delete";let o=document.createElement("button");o.type="button",o.className="bs-hist-confirm-no",o.textContent="Cancel",i.addEventListener("click",()=>{Od(r),An("history")}),o.addEventListener("click",()=>a.remove()),a.appendChild(i),a.appendChild(o),n.appendChild(a)})}),H.querySelectorAll("[data-hist-edit]").forEach(t=>{t.addEventListener("click",()=>{let r=parseInt(t.dataset.histEdit),n=H.querySelector(`[data-hist-id="${r}"]`);if(!n)return;let s=n.querySelector(".bs-hist-edit-wrap");if(s){s.remove();return}n.querySelector(".bs-hist-confirm")?.remove();let a=Ze().find(g=>g.id===r);if(!a)return;let i=document.createElement("div");i.className="bs-hist-edit-wrap",i.innerHTML=`
1533
1601
  <div class="bs-field" style="margin-bottom:8px">
1534
- <input class="bs-input" data-edit-title value="${I(l.title)}" />
1602
+ <input class="bs-input" data-edit-title value="${eA(a.title)}" />
1535
1603
  </div>
1536
1604
  <div class="bs-field" style="margin-bottom:8px">
1537
- <textarea class="bs-textarea" data-edit-desc style="min-height:56px">${I(l.description)}</textarea>
1605
+ <textarea class="bs-textarea" data-edit-desc style="min-height:56px">${eA(a.description)}</textarea>
1538
1606
  </div>
1539
1607
  <div class="bs-field" style="margin-bottom:8px">
1540
1608
  <div class="bs-sev-row">
1541
- <button type="button" class="bs-sev-btn bs-sev-low${l.severity==="low"?" bs-picked":""}" data-edit-sev="low">Low</button>
1542
- <button type="button" class="bs-sev-btn bs-sev-medium${l.severity==="medium"?" bs-picked":""}" data-edit-sev="medium">Medium</button>
1543
- <button type="button" class="bs-sev-btn bs-sev-high${l.severity==="high"?" bs-picked":""}" data-edit-sev="high">High</button>
1544
- <button type="button" class="bs-sev-btn bs-sev-critical${l.severity==="critical"?" bs-picked":""}" data-edit-sev="critical">Critical</button>
1609
+ <button type="button" class="bs-sev-btn bs-sev-low${a.severity==="low"?" bs-picked":""}" data-edit-sev="low">Low</button>
1610
+ <button type="button" class="bs-sev-btn bs-sev-medium${a.severity==="medium"?" bs-picked":""}" data-edit-sev="medium">Medium</button>
1611
+ <button type="button" class="bs-sev-btn bs-sev-high${a.severity==="high"?" bs-picked":""}" data-edit-sev="high">High</button>
1612
+ <button type="button" class="bs-sev-btn bs-sev-critical${a.severity==="critical"?" bs-picked":""}" data-edit-sev="critical">Critical</button>
1545
1613
  </div>
1546
1614
  </div>
1547
- <div class="bs-hist-edit-row"></div>`;let c=l.severity;r.appendChild(d),d.querySelectorAll("[data-edit-sev]").forEach(y=>{y.addEventListener("click",()=>{c=y.dataset.editSev,d.querySelectorAll(".bs-sev-btn").forEach(M=>M.classList.remove("bs-picked")),y.classList.add("bs-picked")})});let v=d.querySelector(".bs-hist-edit-row"),b=document.createElement("button");b.type="button",b.className="bs-hist-save",b.textContent="Save";let h=document.createElement("button");h.type="button",h.className="bs-hist-cancel",h.textContent="Cancel",b.addEventListener("click",()=>{let y=d.querySelector("[data-edit-title]").value.trim(),M=d.querySelector("[data-edit-desc]").value.trim();y&&(Js(s,{title:y,description:M,severity:c}),kt("history"))}),h.addEventListener("click",()=>d.remove()),v.appendChild(b),v.appendChild(h)})});return}if(Ce==="settings"){f.querySelectorAll("[data-set-theme]").forEach(n=>{n.addEventListener("click",()=>{let s=n.dataset.setTheme;Lt(s),f.querySelectorAll("[data-set-theme]").forEach(r=>r.classList.remove("bs-picked")),n.classList.add("bs-picked")})}),f.querySelectorAll("[data-set-layout]").forEach(n=>{n.addEventListener("click",()=>{let s=n.dataset.setLayout,r=Ue(s);r&&(me=r,J(),setTimeout(()=>{Ce="settings",pe(),setTimeout(()=>kt("settings"),50)},400))})});return}if(Ce!=="report")return;f.querySelectorAll(".bs-cat-btn").forEach(n=>{n.addEventListener("click",()=>{let s=n.dataset.cat;f.querySelector('input[name="category"]').value=s,f.querySelectorAll(".bs-cat-btn").forEach(r=>r.classList.remove("bs-picked")),n.classList.add("bs-picked")})}),f.querySelectorAll(".bs-sev-btn").forEach(n=>{n.addEventListener("click",()=>{let s=n.dataset.sev;f.querySelector('input[name="severity"]').value=s,f.querySelectorAll(".bs-sev-btn").forEach(r=>r.classList.remove("bs-picked")),n.classList.add("bs-picked")})});let e=null,t=null;f.querySelector("[data-bs-screenshot]")?.addEventListener("click",async()=>{let n=f?.querySelector("[data-bs-shot-title]"),s=f?.querySelector("[data-bs-shot-sub]"),r=f?.querySelector("[data-bs-screenshot]");if(n&&(n.textContent="Capturing..."),f&&(f.style.visibility="hidden"),Y&&(Y.style.visibility="hidden"),await new Promise(a=>setTimeout(a,200)),e=await qe(),f&&(f.style.visibility=""),Y&&(Y.style.visibility=""),e){n&&(n.textContent="Screenshot captured!"),s&&(s.textContent="Draw on the image below to highlight the issue"),r?.classList.add("bs-captured");let a=f?.querySelector("[data-bs-annotate]");a&&(t=er(a,e))}else n&&(n.textContent="Screenshot unavailable"),s&&(s.textContent="Could not capture screenshot on this page")}),f.querySelector("[data-bs-form]")?.addEventListener("submit",async n=>{n.preventDefault();let s=n.target,r=s.querySelector(".bs-submit-btn"),a=s.querySelector("[data-bs-msg]"),l=s.elements.namedItem("title").value.trim(),d=s.elements.namedItem("description").value.trim(),c=s.elements.namedItem("severity").value,v=s.elements.namedItem("category").value;if(!l)return;r.disabled=!0,r.textContent="Sending...";let b=Zn(),h={projectId:X.projectId,title:l,description:d,category:v,severity:c,tags:b.tags.length?b.tags:void 0,context:Qn(),consoleLogs:te(),errors:ne(),networkCaptures:le(),breadcrumbs:he(),performance:we()??void 0,screenshot:e??void 0,annotation:t?.getAnnotation()??void 0,pins:t?.getPins().length?t.getPins():void 0,createdAt:Date.now()},y=await jt(h);Ys({title:h.title,description:h.description,category:h.category,severity:h.severity,tags:h.tags,screenshot:h.screenshot,pins:h.pins,url:window.location.href,createdAt:h.createdAt,status:y.success?"sent":"draft"}),y.success?(a.className="bs-msg bs-msg-ok",a.innerHTML=`${N.check} Bug reported \u2014 thank you!`,setTimeout(J,1200)):(a.className="bs-msg bs-msg-err",a.textContent=y.error??"Could not send. Saved as draft.",r.disabled=!1,r.textContent="Submit Report")})}function pe(){if(K)return;K=!0,Ce="report",Yt(),Y=document.createElement("div"),Y.className="bs-backdrop",document.body.appendChild(Y);let e=le().length,t=ne().length;f=document.createElement("div"),f.className=`bs-modal bs-ly-${me.id}`,ge(f);let n=`
1615
+ <div class="bs-hist-edit-row"></div>`;let o=a.severity;n.appendChild(i),i.querySelectorAll("[data-edit-sev]").forEach(g=>{g.addEventListener("click",()=>{o=g.dataset.editSev,i.querySelectorAll(".bs-sev-btn").forEach(p=>p.classList.remove("bs-picked")),g.classList.add("bs-picked")})});let l=i.querySelector(".bs-hist-edit-row"),c=document.createElement("button");c.type="button",c.className="bs-hist-save",c.textContent="Save";let B=document.createElement("button");B.type="button",B.className="bs-hist-cancel",B.textContent="Cancel",c.addEventListener("click",()=>{let g=i.querySelector("[data-edit-title]").value.trim(),p=i.querySelector("[data-edit-desc]").value.trim();g&&(Rd(r,{title:g,description:p,severity:o}),An("history"))}),B.addEventListener("click",()=>i.remove()),l.appendChild(c),l.appendChild(B)})});return}if($e==="settings"){H.querySelectorAll("[data-set-theme]").forEach(t=>{t.addEventListener("click",()=>{let r=t.dataset.setTheme;tn(r),H.querySelectorAll("[data-set-theme]").forEach(n=>n.classList.remove("bs-picked")),t.classList.add("bs-picked")})}),H.querySelectorAll("[data-set-layout]").forEach(t=>{t.addEventListener("click",()=>{let r=t.dataset.setLayout,n=Dt(r);n&&(Ee=n,OA(),setTimeout(()=>{$e="settings",ae(),setTimeout(()=>An("settings"),50)},400))})});return}if($e!=="report")return;H.querySelectorAll(".bs-cat-btn").forEach(t=>{t.addEventListener("click",()=>{let r=t.dataset.cat;H.querySelector('input[name="category"]').value=r,H.querySelectorAll(".bs-cat-btn").forEach(n=>n.classList.remove("bs-picked")),t.classList.add("bs-picked")})}),H.querySelectorAll(".bs-sev-btn").forEach(t=>{t.addEventListener("click",()=>{let r=t.dataset.sev;H.querySelector('input[name="severity"]').value=r,H.querySelectorAll(".bs-sev-btn").forEach(n=>n.classList.remove("bs-picked")),t.classList.add("bs-picked")})});let A=null,e=null;H.querySelector("[data-bs-screenshot]")?.addEventListener("click",async()=>{let t=H?.querySelector("[data-bs-shot-title]"),r=H?.querySelector("[data-bs-shot-sub]"),n=H?.querySelector("[data-bs-screenshot]");if(t&&(t.textContent="Capturing..."),H&&(H.style.visibility="hidden"),KA&&(KA.style.visibility="hidden"),await new Promise(s=>setTimeout(s,200)),A=await Tt(),H&&(H.style.visibility=""),KA&&(KA.style.visibility=""),A){t&&(t.textContent="Screenshot captured!"),r&&(r.textContent="Draw on the image below to highlight the issue"),n?.classList.add("bs-captured");let s=H?.querySelector("[data-bs-annotate]");s&&(e=Xd(s,A))}else t&&(t.textContent="Screenshot unavailable"),r&&(r.textContent="Could not capture screenshot on this page")}),H.querySelector("[data-bs-form]")?.addEventListener("submit",async t=>{t.preventDefault();let r=t.target,n=r.querySelector(".bs-submit-btn"),s=r.elements.namedItem("title").value.trim(),a=r.elements.namedItem("description").value.trim(),i=r.elements.namedItem("severity").value,o=r.elements.namedItem("category").value;if(!s)return;n.disabled=!0,n.textContent="Sending...";let l=hi(),c={projectId:EA.projectId,title:s,description:a,category:o,severity:i,tags:l.tags.length?l.tags:void 0,context:wi(),consoleLogs:jA(),errors:qA(),networkCaptures:ie(),breadcrumbs:He(),performance:Se()??void 0,screenshot:A??void 0,annotation:e?.getAnnotation()??void 0,pins:e?.getPins().length?e.getPins():void 0,createdAt:Date.now()},B=await us(c);Md({title:c.title,description:c.description,category:c.category,severity:c.severity,tags:c.tags,screenshot:c.screenshot,pins:c.pins,url:window.location.href,createdAt:c.createdAt,status:B.success?"sent":"draft"}),B.success?(n.innerHTML=`${sA.check} Bug reported!`,n.classList.add("bs-submit-ok"),setTimeout(OA,1200)):(n.textContent=B.error??"Failed \u2014 saved as draft",n.classList.add("bs-submit-err"),setTimeout(()=>{n.disabled=!1,n.textContent="Submit Report",n.classList.remove("bs-submit-err")},2500))})}function ae(){if(MA)return;MA=!0,$e="report",bs(),KA=document.createElement("div"),KA.className="bs-backdrop",document.body.appendChild(KA);let A=ie().length,e=qA().length;H=document.createElement("div"),H.className=`bs-modal bs-ly-${Ee.id}`,xe(H);let t=`
1548
1616
  <div class="bs-tabs">
1549
- <button class="bs-tab bs-active" data-tab="report">${N.report} Report</button>
1550
- <button class="bs-tab" data-tab="console">${N.console} Console <span class="bs-tab-badge">${te().length}</span></button>
1551
- <button class="bs-tab" data-tab="network">${N.network} Network ${e?`<span class="bs-tab-badge bs-warn">${e}</span>`:`<span class="bs-tab-badge">${ye().length}</span>`}</button>
1552
- <button class="bs-tab" data-tab="context">${N.ctx} Context ${t?`<span class="bs-tab-badge bs-warn">${t}</span>`:""}</button>
1553
- <button class="bs-tab" data-tab="history">${N.history} History <span class="bs-tab-badge">${Te().length}</span></button>
1554
- <button class="bs-tab" data-tab="settings" style="margin-left:auto">${N.settings}</button>
1555
- </div>`,s=Q(),r=s?s.name.split(" ").map(h=>h[0]).join("").toUpperCase().slice(0,2):"",a=wt(),l=s?`
1617
+ <button class="bs-tab bs-active" data-tab="report">${sA.report} Report</button>
1618
+ <button class="bs-tab" data-tab="console">${sA.console} Console <span class="bs-tab-badge">${jA().length}</span></button>
1619
+ <button class="bs-tab" data-tab="network">${sA.network} Network ${A?`<span class="bs-tab-badge bs-warn">${A}</span>`:`<span class="bs-tab-badge">${Ke().length}</span>`}</button>
1620
+ <button class="bs-tab" data-tab="context">${sA.ctx} Context ${e?`<span class="bs-tab-badge bs-warn">${e}</span>`:""}</button>
1621
+ <button class="bs-tab" data-tab="history">${sA.history} History <span class="bs-tab-badge">${Ze().length}</span></button>
1622
+ <button class="bs-tab" data-tab="settings" style="margin-left:auto">${sA.settings}</button>
1623
+ </div>`,r=VA(),n=r?r.name.split(" ").map(B=>B[0]).join("").toUpperCase().slice(0,2):"",s=qr(),a=r?`
1556
1624
  <div class="bs-hdr">
1557
1625
  <div class="bs-logo">BugStash</div>
1558
1626
  <div class="bs-hdr-right">
1559
- <button class="bs-pin-toggle${a?" active":""}" data-bs-pin-toggle title="Toggle pin mode">
1627
+ <button class="bs-pin-toggle${s?" active":""}" data-bs-pin-toggle title="Toggle pin mode">
1560
1628
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
1561
- Pins ${a?"ON":"OFF"}
1629
+ Pins ${s?"ON":"OFF"}
1562
1630
  </button>
1563
1631
  <div class="bs-user-badge">
1564
- <div class="bs-user-avatar">${r}</div>
1565
- <span>${s.name.split(" ")[0]}</span>
1632
+ <div class="bs-user-avatar">${n}</div>
1633
+ <span>${r.name.split(" ")[0]}</span>
1566
1634
  </div>
1567
1635
  <button class="bs-login-logout" data-bs-logout title="Sign out">Logout</button>
1568
- <button class="bs-close-btn" data-bs-close title="Close">${N.x}</button>
1636
+ <button class="bs-close-btn" data-bs-close title="Close">${sA.x}</button>
1569
1637
  </div>
1570
1638
  </div>`:`
1571
1639
  <div class="bs-hdr" style="justify-content:flex-end">
1572
- <button class="bs-close-btn" data-bs-close title="Close">${N.x}</button>
1573
- </div>`,d=me.tabPosition==="left",c=me.tabPosition==="bottom",v=s?Gn():Fs();d?f.innerHTML=`
1574
- ${l}
1640
+ <button class="bs-close-btn" data-bs-close title="Close">${sA.x}</button>
1641
+ </div>`,i=Ee.tabPosition==="left",o=Ee.tabPosition==="bottom",l=r?bi():Dd();i?H.innerHTML=`
1642
+ ${a}
1575
1643
  <div class="bs-body-wrap">
1576
- ${s?n:""}
1577
- <div class="bs-scroll">${v}</div>
1578
- </div>`:c?f.innerHTML=`
1579
- ${l}
1580
- <div class="bs-scroll">${v}</div>
1581
- ${s?`<div class="bs-tab-divider"></div>${n}`:""}`:f.innerHTML=`
1582
- ${l}
1583
- ${s?`${n}<div class="bs-tab-divider"></div>`:""}
1584
- <div class="bs-scroll">${v}</div>`,document.body.appendChild(f),D&&D.classList.add("bs-open"),requestAnimationFrame(()=>{Y?.classList.add("bs-in"),f?.classList.add("bs-in")}),f.querySelectorAll(".bs-tab").forEach(h=>{h.addEventListener("click",()=>kt(h.dataset.tab))}),f.querySelector("[data-bs-close]")?.addEventListener("click",J),Y.addEventListener("click",J),f.querySelector("[data-bs-pin-toggle]")?.addEventListener("click",()=>{let h=We(),y=f?.querySelector("[data-bs-pin-toggle]");y&&(y.classList.toggle("active",h),y.innerHTML=`
1644
+ ${r?t:""}
1645
+ <div class="bs-scroll">${l}</div>
1646
+ </div>`:o?H.innerHTML=`
1647
+ ${a}
1648
+ <div class="bs-scroll">${l}</div>
1649
+ ${r?`<div class="bs-tab-divider"></div>${t}`:""}`:H.innerHTML=`
1650
+ ${a}
1651
+ ${r?`${t}<div class="bs-tab-divider"></div>`:""}
1652
+ <div class="bs-scroll">${l}</div>`,document.body.appendChild(H),iA&&iA.classList.add("bs-open"),requestAnimationFrame(()=>{KA?.classList.add("bs-in"),H?.classList.add("bs-in")}),H.querySelectorAll(".bs-tab").forEach(B=>{B.addEventListener("click",()=>An(B.dataset.tab))}),H.querySelector("[data-bs-close]")?.addEventListener("click",OA),KA.addEventListener("click",OA),H.querySelector("[data-bs-pin-toggle]")?.addEventListener("click",()=>{let B=Nt(),g=H?.querySelector("[data-bs-pin-toggle]");g&&(g.classList.toggle("active",B),g.innerHTML=`
1585
1653
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
1586
- Pins ${h?"ON":"OFF"}
1587
- `)}),f.querySelector("[data-bs-logout]")?.addEventListener("click",()=>{pt(),J(),setTimeout(()=>pe(),300)}),s?es():tr();let b=h=>{h.key==="Escape"&&(J(),document.removeEventListener("keydown",b))};document.addEventListener("keydown",b)}function tr(){if(!f)return;let e=f.querySelector("#bs-login-submit"),t=f.querySelector("#bs-login-email"),n=f.querySelector("#bs-login-pass"),s=f.querySelector("#bs-login-error");if(!e||!t||!n)return;let r=async()=>{let a=t.value.trim(),l=n.value;if(!a||!l){s.textContent="Please enter email and password",s.style.display="block";return}e.setAttribute("disabled","true"),e.textContent="Signing in...",s.style.display="none";let d=await dt(a,l,X.projectId);d.success?(yt(X.projectId),vt(X.projectId),J(),setTimeout(()=>pe(),300)):(s.textContent=d.error||"Invalid credentials",s.style.display="block",e.removeAttribute("disabled"),e.textContent="Sign In")};e.addEventListener("click",r),n.addEventListener("keydown",a=>{a.key==="Enter"&&r()}),t.addEventListener("keydown",a=>{a.key==="Enter"&&n.focus()}),setTimeout(()=>t.focus(),100)}function J(){K&&(D&&D.classList.remove("bs-open"),f&&(f.classList.remove("bs-in"),f.classList.add("bs-out")),Y&&Y.classList.remove("bs-in"),setTimeout(()=>{f?.remove(),Y?.remove(),f=null,Y=null,K=!1},350))}function ge(e){for(let[t,n]of Object.entries(de.vars))e.style.setProperty(t,n)}function Lt(e){let t=mt(e);t&&(de=t,f&&ge(f),D&&ge(D),B&&ge(B))}function ts(){return de.id}function ns(e){let t=Ue(e);t&&(me=t,K&&(J(),setTimeout(pe,400)))}function ss(){return me.id}function rs(e){X=e,Ye=document.createElement("style"),Ye.textContent=_s+Bn,document.head.appendChild(Ye);let t=e.panelPosition==="bottom-left"?"left":"right";D=document.createElement("button"),D.className="bs-fab",ge(D),D.innerHTML=`${N.bug}<span class="bs-fab-label">Report a bug</span>`,D.style[t]="24px",D.addEventListener("click",()=>K?J():pe()),document.body.appendChild(D),B=document.createElement("div"),B.className="bs-toolbar",B.style[t]="32px",ge(B);let s=navigator.platform.toUpperCase().includes("MAC")?"\u2318":"Ctrl",r=[{icon:N.cam,tip:"Screenshot",kbd:`${s}+Shift+S`,action:async()=>{let a=await qe();a&&(K||pe(),setTimeout(()=>{let l=f?.querySelector("[data-bs-screenshot]");if(l){l.__screenshot=a,l.classList.add("bs-captured");let d=l.querySelector("[data-bs-shot-title]"),c=l.querySelector("[data-bs-shot-sub]");d&&(d.textContent="Screenshot captured!"),c&&(c.textContent="Click to retake or annotate"),l.click()}},400))}},{icon:N.pin,tip:"Toggle Pins",kbd:`${s}+Shift+P`,id:"bs-tb-pin",action:()=>{let a=We(),l=B?.querySelector("#bs-tb-pin");l&&l.classList.toggle("bs-active",a);let d=f?.querySelector("[data-bs-pin-toggle]");d&&(d.classList.toggle("active",a),d.innerHTML=`
1654
+ Pins ${B?"ON":"OFF"}
1655
+ `)}),H.querySelector("[data-bs-logout]")?.addEventListener("click",()=>{_r(),OA(),setTimeout(()=>ae(),300)}),r?Qi():Jd();let c=B=>{B.key==="Escape"&&(OA(),document.removeEventListener("keydown",c))};document.addEventListener("keydown",c)}function Jd(){if(!H)return;let A=H.querySelector("#bs-login-submit"),e=H.querySelector("#bs-login-email"),t=H.querySelector("#bs-login-pass"),r=H.querySelector("#bs-login-error");if(!A||!e||!t)return;let n=async()=>{let s=e.value.trim(),a=t.value;if(!s||!a){r.textContent="Please enter email and password",r.style.display="block";return}A.setAttribute("disabled","true"),A.textContent="Signing in...",r.style.display="none";let i=await Vr(s,a,EA.projectId);i.success?(Rt(EA.projectId),kt(EA.projectId),OA(),setTimeout(()=>ae(),300)):(r.textContent=i.error||"Invalid credentials",r.style.display="block",A.removeAttribute("disabled"),A.textContent="Sign In")};A.addEventListener("click",n),t.addEventListener("keydown",s=>{s.key==="Enter"&&n()}),e.addEventListener("keydown",s=>{s.key==="Enter"&&t.focus()}),setTimeout(()=>e.focus(),100)}function OA(){MA&&(iA&&iA.classList.remove("bs-open"),H&&(H.classList.remove("bs-in"),H.classList.add("bs-out")),KA&&KA.classList.remove("bs-in"),setTimeout(()=>{H?.remove(),KA?.remove(),H=null,KA=null,MA=!1},350))}function xe(A){for(let[e,t]of Object.entries(be.vars))A.style.setProperty(e,t)}function tn(A){let e=Wr(A);e&&(be=e,H&&xe(H),iA&&xe(iA),nA&&xe(nA))}function Ci(){return be.id}function Ui(A){let e=Dt(A);e&&(Ee=e,MA&&(OA(),setTimeout(ae,400)))}function mi(){return Ee.id}function vi(A){EA=A,Gt=document.createElement("style"),Gt.textContent=Td+ni,document.head.appendChild(Gt);let e=A.panelPosition==="bottom-left"?"left":"right";iA=document.createElement("button"),iA.className="bs-fab",xe(iA),iA.innerHTML=`${sA.bug}<span class="bs-fab-label">Report a bug</span>`,iA.style[e]="24px",iA.addEventListener("click",()=>MA?OA():ae()),document.body.appendChild(iA),nA=document.createElement("div"),nA.className="bs-toolbar",nA.style[e]="32px",xe(nA);let r=navigator.platform.toUpperCase().includes("MAC")?"\u2318":"Ctrl",n=[{icon:sA.cam,tip:"Screenshot",kbd:`${r}+Shift+S`,action:async()=>{let s=await Tt();s&&(MA||ae(),setTimeout(()=>{let a=H?.querySelector("[data-bs-screenshot]");if(a){a.__screenshot=s,a.classList.add("bs-captured");let i=a.querySelector("[data-bs-shot-title]"),o=a.querySelector("[data-bs-shot-sub]");i&&(i.textContent="Screenshot captured!"),o&&(o.textContent="Click to retake or annotate"),a.click()}},400))}},{icon:sA.pin,tip:"Toggle Pins",kbd:`${r}+Shift+P`,id:"bs-tb-pin",action:()=>{if(!VA()){MA||ae();return}document.getElementById("bugstash-live-pins")||(Rt(EA.projectId),kt(EA.projectId));let a=Nt(),i=nA?.querySelector("#bs-tb-pin");i&&i.classList.toggle("bs-active",a);let o=H?.querySelector("[data-bs-pin-toggle]");o&&(o.classList.toggle("active",a),o.innerHTML=`
1588
1656
  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
1589
1657
  Pins ${a?"ON":"OFF"}
1590
- `)}},{icon:de.id==="black"?N.sun:N.moon,tip:"Toggle Theme",kbd:`${s}+Shift+T`,id:"bs-tb-theme",action:()=>{let a=de.id==="black"?"white":"black";Lt(a),B&&ge(B);let l=B?.querySelector("#bs-tb-theme");l&&(l.innerHTML=`${de.id==="black"?N.sun:N.moon}<span class="bs-toolbar-tip">${de.id==="black"?"Light":"Dark"} Mode<span class="bs-toolbar-kbd">${s}+Shift+T</span></span>`)}},{icon:N.report,tip:"Open Panel",kbd:`${s}+Shift+B`,action:()=>{K?J():pe()}}];for(let a of r){let l=document.createElement("button");l.className="bs-toolbar-btn",a.id&&(l.id=a.id),l.innerHTML=`${a.icon}<span class="bs-toolbar-tip">${a.tip}<span class="bs-toolbar-kbd">${a.kbd}</span></span>`,l.addEventListener("click",d=>{d.stopPropagation(),a.action()}),B.appendChild(l)}document.body.appendChild(B),D.addEventListener("mouseenter",()=>{K||Jn()}),D.addEventListener("mouseleave",a=>{let l=a.relatedTarget;B?.contains(l)||Yt()}),B.addEventListener("mouseenter",()=>Jn()),B.addEventListener("mouseleave",a=>{let l=a.relatedTarget;D?.contains(l)||Yt()}),Xe=a=>{(a.ctrlKey||a.metaKey)&&a.shiftKey&&(a.key==="B"||a.key==="b"?(a.preventDefault(),K?J():pe()):a.key==="S"||a.key==="s"?(a.preventDefault(),r[0].action()):a.key==="P"||a.key==="p"?(a.preventDefault(),r[1].action()):(a.key==="T"||a.key==="t")&&(a.preventDefault(),r[2].action()))},document.addEventListener("keydown",Xe)}function Jn(){Et||K||(Et=!0,B?.classList.add("bs-show"))}function Yt(){Et=!1,B?.classList.remove("bs-show")}function os(){J(),D?.remove(),D=null,B?.remove(),B=null,Et=!1,Ye?.remove(),Ye=null,Xe&&document.removeEventListener("keydown",Xe),Xe=null}var Z=null,H=null,E=null,oe=null,St="freehand",Ct="#ef4444",nr=3,$e=[],W=null,Je=!1,Tt=null,sr=[{id:"freehand",label:"Draw",icon:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z"},{id:"rectangle",label:"Rect",icon:"M3 3h18v18H3V3zm2 2v14h14V5H5z"},{id:"circle",label:"Circle",icon:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},{id:"arrow",label:"Arrow",icon:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}],rr=["#ef4444","#f97316","#eab308","#22c55e","#3b82f6","#8b5cf6","#ffffff","#000000"];function ls(e){return new Promise(t=>{Tt=t,$e=[],W=null,St="freehand",Ct="#ef4444",or(e)})}function or(e){Z&&Z.remove(),Z=document.createElement("div"),Z.id="bs-annotation-overlay";let t=document.createElement("style");t.textContent=`
1658
+ `)}},{icon:be.id==="black"?sA.sun:sA.moon,tip:"Toggle Theme",kbd:`${r}+Shift+T`,id:"bs-tb-theme",action:()=>{let s=be.id==="black"?"white":"black";tn(s),nA&&xe(nA);let a=nA?.querySelector("#bs-tb-theme");a&&(a.innerHTML=`${be.id==="black"?sA.sun:sA.moon}<span class="bs-toolbar-tip">${be.id==="black"?"Light":"Dark"} Mode<span class="bs-toolbar-kbd">${r}+Shift+T</span></span>`)}},{icon:sA.report,tip:"Open Panel",kbd:`${r}+Shift+B`,action:()=>{MA?OA():ae()}}];for(let s of n){let a=document.createElement("button");a.className="bs-toolbar-btn",s.id&&(a.id=s.id),a.innerHTML=`${s.icon}<span class="bs-toolbar-tip">${s.tip}<span class="bs-toolbar-kbd">${s.kbd}</span></span>`,a.addEventListener("click",i=>{i.stopPropagation(),s.action()}),nA.appendChild(a)}document.body.appendChild(nA),iA.addEventListener("mouseenter",()=>{MA||di()}),iA.addEventListener("mouseleave",s=>{let a=s.relatedTarget;nA?.contains(a)||bs()}),nA.addEventListener("mouseenter",()=>di()),nA.addEventListener("mouseleave",s=>{let a=s.relatedTarget;iA?.contains(a)||bs()}),Pt=s=>{(s.ctrlKey||s.metaKey)&&s.shiftKey&&(s.key==="B"||s.key==="b"?(s.preventDefault(),MA?OA():ae()):s.key==="S"||s.key==="s"?(s.preventDefault(),n[0].action()):s.key==="P"||s.key==="p"?(s.preventDefault(),n[1].action()):(s.key==="T"||s.key==="t")&&(s.preventDefault(),n[2].action()))},document.addEventListener("keydown",Pt)}function di(){en||MA||(en=!0,nA?.classList.add("bs-show"))}function bs(){en=!1,nA?.classList.remove("bs-show")}function Fi(){OA(),iA?.remove(),iA=null,nA?.remove(),nA=null,en=!1,Gt?.remove(),Gt=null,Pt&&document.removeEventListener("keydown",Pt),Pt=null}var $A=null,tA=null,R=null,oe=null,rn="freehand",nn="#ef4444",Wd=3,je=[],xA=null,Vt=!1,sn=null,Yd=[{id:"freehand",label:"Draw",icon:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z"},{id:"rectangle",label:"Rect",icon:"M3 3h18v18H3V3zm2 2v14h14V5H5z"},{id:"circle",label:"Circle",icon:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},{id:"arrow",label:"Arrow",icon:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}],zd=["#ef4444","#f97316","#eab308","#22c55e","#3b82f6","#8b5cf6","#ffffff","#000000"];function xi(A){return new Promise(e=>{sn=e,je=[],xA=null,rn="freehand",nn="#ef4444",$d(A)})}function $d(A){$A&&$A.remove(),$A=document.createElement("div"),$A.id="bs-annotation-overlay";let e=document.createElement("style");e.textContent=`
1591
1659
  #bs-annotation-overlay {
1592
1660
  position: fixed; inset: 0; z-index: 2147483647;
1593
1661
  background: rgba(0,0,0,0.85);
@@ -1632,5 +1700,28 @@ ${t.stack??""}`;if(typeof t=="object")try{return JSON.stringify(t,null,2)}catch{
1632
1700
  overflow: hidden; padding: 16px;
1633
1701
  }
1634
1702
  .bs-ann-canvas-wrap canvas { cursor: crosshair; border-radius: 4px; }
1635
- `,Z.appendChild(t);let n=document.createElement("div");n.className="bs-ann-toolbar";for(let d of sr){let c=document.createElement("button");c.className=`bs-ann-tool${d.id===St?" active":""}`,c.title=d.label,c.innerHTML=`<svg viewBox="0 0 24 24"><path d="${d.icon}"/></svg>`,c.addEventListener("click",()=>{St=d.id,n.querySelectorAll(".bs-ann-tool").forEach(v=>v.classList.remove("active")),c.classList.add("active")}),n.appendChild(c)}n.appendChild(as());for(let d of rr){let c=document.createElement("button");c.className=`bs-ann-color${d===Ct?" active":""}`,c.style.background=d,c.addEventListener("click",()=>{Ct=d,n.querySelectorAll(".bs-ann-color").forEach(v=>v.classList.remove("active")),c.classList.add("active")}),n.appendChild(c)}n.appendChild(as());let s=document.createElement("button");s.className="bs-ann-btn bs-ann-undo",s.textContent="Undo",s.addEventListener("click",()=>{$e.pop(),$t()}),n.appendChild(s);let r=document.createElement("button");r.className="bs-ann-btn bs-ann-save",r.textContent="Save",r.addEventListener("click",ir);let a=document.createElement("button");a.className="bs-ann-btn bs-ann-cancel",a.textContent="Cancel",a.addEventListener("click",()=>{Jt(),Tt?.(null)}),n.appendChild(r),n.appendChild(a),Z.appendChild(n);let l=document.createElement("div");l.className="bs-ann-canvas-wrap",H=document.createElement("canvas"),E=H.getContext("2d"),l.appendChild(H),Z.appendChild(l),document.body.appendChild(Z),oe=new Image,oe.onload=()=>{if(!H||!E||!oe)return;let d=window.innerWidth-32,c=window.innerHeight-100,v=oe.width,b=oe.height,h=Math.min(1,d/v,c/b);v=Math.round(v*h),b=Math.round(b*h),H.width=v,H.height=b,$t(),ar()},oe.src=e}function as(){let e=document.createElement("div");return e.className="bs-ann-sep",e}function ar(){if(!H)return;H.addEventListener("mousedown",t=>{Je=!0;let{x:n,y:s}=is(t);W={type:St,color:Ct,lineWidth:nr,points:[{x:n,y:s}],x:n,y:s,width:0,height:0}}),H.addEventListener("mousemove",t=>{if(!Je||!W)return;let{x:n,y:s}=is(t);W.type==="freehand"?W.points.push({x:n,y:s}):(W.width=n-W.x,W.height=s-W.y),$t(),cs(W)});let e=()=>{Je&&W&&($e.push(W),W=null),Je=!1,$t()};H.addEventListener("mouseup",e),H.addEventListener("mouseleave",e)}function is(e){let t=H.getBoundingClientRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}function $t(){if(!(!E||!H||!oe)){E.clearRect(0,0,H.width,H.height),E.drawImage(oe,0,0,H.width,H.height);for(let e of $e)cs(e)}}function cs(e){if(E)switch(E.strokeStyle=e.color,E.fillStyle=e.color,E.lineWidth=e.lineWidth,E.lineCap="round",E.lineJoin="round",e.type){case"freehand":{if(!e.points||e.points.length<2)return;E.beginPath(),E.moveTo(e.points[0].x,e.points[0].y);for(let t=1;t<e.points.length;t++)E.lineTo(e.points[t].x,e.points[t].y);E.stroke();break}case"rectangle":{E.strokeRect(e.x,e.y,e.width,e.height);break}case"circle":{let t=e.x+e.width/2,n=e.y+e.height/2,s=Math.abs(e.width)/2,r=Math.abs(e.height)/2;E.beginPath(),E.ellipse(t,n,s,r,0,0,Math.PI*2),E.stroke();break}case"arrow":{let t=e.x,n=e.y,s=e.x+e.width,r=e.y+e.height,a=14,l=Math.atan2(r-n,s-t);E.beginPath(),E.moveTo(t,n),E.lineTo(s,r),E.stroke(),E.beginPath(),E.moveTo(s,r),E.lineTo(s-a*Math.cos(l-Math.PI/6),r-a*Math.sin(l-Math.PI/6)),E.lineTo(s-a*Math.cos(l+Math.PI/6),r-a*Math.sin(l+Math.PI/6)),E.closePath(),E.fill();break}}}function ir(){if(!H){Jt(),Tt?.(null);return}let t={dataUrl:H.toDataURL("image/png"),annotations:$e};Jt(),Tt?.(t)}function Jt(){Z?.remove(),Z=null,H=null,E=null,oe=null,$e=[],W=null,Je=!1}var Mt=!1;function lr(){if(typeof window>"u")return"production";let e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"||e==="0.0.0.0"||e.endsWith(".local")||/^192\.168\./.test(e)||/^10\./.test(e)||/^172\.(1[6-9]|2\d|3[01])\./.test(e)?"development":e.includes("staging")||e.includes("stage")||e.includes("preview")||e.includes("preprod")||e.includes("pre-prod")||e.includes("qa.")||e.includes(".qa")||e.includes("test.")||e.includes(".dev.")||e.includes("vercel.app")||e.includes("netlify.app")||e.includes("pages.dev")||e.includes("ngrok.io")||e.includes("ngrok-free.app")||e.includes("localhost.run")||e.includes("loca.lt")?"staging":"production"}var ds={init(e){Mt||typeof window>"u"||(e.environment??lr())==="production"||(Mt=!0,e.endpoint&&Sn(e.endpoint),on(e.maxBreadcrumbs),pn(e.maxLogs),fn(e.maxNetworkCaptures),xn(),e.enablePerformance!==!1&&kn(),rs(e),e.enableLivePins!==!1&&Q()&&(yt(e.projectId),vt(e.projectId)))},destroy(){Mt&&(os(),Wn(),Dn(),un(),vn(),wn(),ln(),En(),Mt=!1)},getLogs:te,clearLogs:bn,getNetworkCaptures:ye,getFailedNetworkCaptures:le,clearNetworkCaptures:hn,getErrors:ne,clearErrors:yn,getBreadcrumbs:he,clearBreadcrumbs:an,getPerformanceMetrics:we,addBreadcrumb:_,getThemes:ut,getThemeById:mt,setTheme:Lt,getCurrentThemeId:ts,getLayouts:gt,getLayoutById:Ue,setLayout:ns,getCurrentLayoutId:ss,getCurrentUser:Q,login:dt,logout:pt,togglePinMode:We,isPinModeActive:wt,isConnected:On,openAnnotationEditor:ls,redactString:ve,redactObject:tt},cr=ds;0&&(module.exports={BugStash});
1703
+ `,$A.appendChild(e);let t=document.createElement("div");t.className="bs-ann-toolbar";for(let i of Yd){let o=document.createElement("button");o.className=`bs-ann-tool${i.id===rn?" active":""}`,o.title=i.label,o.innerHTML=`<svg viewBox="0 0 24 24"><path d="${i.icon}"/></svg>`,o.addEventListener("click",()=>{rn=i.id,t.querySelectorAll(".bs-ann-tool").forEach(l=>l.classList.remove("active")),o.classList.add("active")}),t.appendChild(o)}t.appendChild(yi());for(let i of zd){let o=document.createElement("button");o.className=`bs-ann-color${i===nn?" active":""}`,o.style.background=i,o.addEventListener("click",()=>{nn=i,t.querySelectorAll(".bs-ann-color").forEach(l=>l.classList.remove("active")),o.classList.add("active")}),t.appendChild(o)}t.appendChild(yi());let r=document.createElement("button");r.className="bs-ann-btn bs-ann-undo",r.textContent="Undo",r.addEventListener("click",()=>{je.pop(),an()}),t.appendChild(r);let n=document.createElement("button");n.className="bs-ann-btn bs-ann-save",n.textContent="Save",n.addEventListener("click",jd);let s=document.createElement("button");s.className="bs-ann-btn bs-ann-cancel",s.textContent="Cancel",s.addEventListener("click",()=>{Cs(),sn?.(null)}),t.appendChild(n),t.appendChild(s),$A.appendChild(t);let a=document.createElement("div");a.className="bs-ann-canvas-wrap",tA=document.createElement("canvas"),R=tA.getContext("2d"),a.appendChild(tA),$A.appendChild(a),document.body.appendChild($A),oe=new Image,oe.onload=()=>{if(!tA||!R||!oe)return;let i=window.innerWidth-32,o=window.innerHeight-100,l=oe.width,c=oe.height,B=Math.min(1,i/l,o/c);l=Math.round(l*B),c=Math.round(c*B),tA.width=l,tA.height=c,an(),Zd()},oe.src=A}function yi(){let A=document.createElement("div");return A.className="bs-ann-sep",A}function Zd(){if(!tA)return;tA.addEventListener("mousedown",e=>{Vt=!0;let{x:t,y:r}=Ei(e);xA={type:rn,color:nn,lineWidth:Wd,points:[{x:t,y:r}],x:t,y:r,width:0,height:0}}),tA.addEventListener("mousemove",e=>{if(!Vt||!xA)return;let{x:t,y:r}=Ei(e);xA.type==="freehand"?xA.points.push({x:t,y:r}):(xA.width=t-xA.x,xA.height=r-xA.y),an(),Hi(xA)});let A=()=>{Vt&&xA&&(je.push(xA),xA=null),Vt=!1,an()};tA.addEventListener("mouseup",A),tA.addEventListener("mouseleave",A)}function Ei(A){let e=tA.getBoundingClientRect();return{x:A.clientX-e.left,y:A.clientY-e.top}}function an(){if(!(!R||!tA||!oe)){R.clearRect(0,0,tA.width,tA.height),R.drawImage(oe,0,0,tA.width,tA.height);for(let A of je)Hi(A)}}function Hi(A){if(R)switch(R.strokeStyle=A.color,R.fillStyle=A.color,R.lineWidth=A.lineWidth,R.lineCap="round",R.lineJoin="round",A.type){case"freehand":{if(!A.points||A.points.length<2)return;R.beginPath(),R.moveTo(A.points[0].x,A.points[0].y);for(let e=1;e<A.points.length;e++)R.lineTo(A.points[e].x,A.points[e].y);R.stroke();break}case"rectangle":{R.strokeRect(A.x,A.y,A.width,A.height);break}case"circle":{let e=A.x+A.width/2,t=A.y+A.height/2,r=Math.abs(A.width)/2,n=Math.abs(A.height)/2;R.beginPath(),R.ellipse(e,t,r,n,0,0,Math.PI*2),R.stroke();break}case"arrow":{let e=A.x,t=A.y,r=A.x+A.width,n=A.y+A.height,s=14,a=Math.atan2(n-t,r-e);R.beginPath(),R.moveTo(e,t),R.lineTo(r,n),R.stroke(),R.beginPath(),R.moveTo(r,n),R.lineTo(r-s*Math.cos(a-Math.PI/6),n-s*Math.sin(a-Math.PI/6)),R.lineTo(r-s*Math.cos(a+Math.PI/6),n-s*Math.sin(a+Math.PI/6)),R.closePath(),R.fill();break}}}function jd(){if(!tA){Cs(),sn?.(null);return}let e={dataUrl:tA.toDataURL("image/png"),annotations:je};Cs(),sn?.(e)}function Cs(){$A?.remove(),$A=null,tA=null,R=null,oe=null,je=[],xA=null,Vt=!1}var on=!1;function qd(){if(typeof window>"u")return"production";let A=window.location.hostname;return A==="localhost"||A==="127.0.0.1"||A==="0.0.0.0"||A.endsWith(".local")||/^192\.168\./.test(A)||/^10\./.test(A)||/^172\.(1[6-9]|2\d|3[01])\./.test(A)?"development":A.includes("staging")||A.includes("stage")||A.includes("preview")||A.includes("preprod")||A.includes("pre-prod")||A.includes("qa.")||A.includes(".qa")||A.includes("test.")||A.includes(".dev.")||A.includes("vercel.app")||A.includes("netlify.app")||A.includes("pages.dev")||A.includes("ngrok.io")||A.includes("ngrok-free.app")||A.includes("localhost.run")||A.includes("loca.lt")?"staging":"production"}var Ii={init(A){on||typeof window>"u"||(A.environment??qd())==="production"||(on=!0,A.endpoint&&Wo(A.endpoint),vs(A.maxBreadcrumbs),Hs(A.maxLogs),Ts(A.maxNetworkCaptures),Ms(),A.enablePerformance!==!1&&Ns(),vi(A),A.enableLivePins!==!1&&VA()&&(Rt(A.projectId),kt(A.projectId)))},destroy(){on&&(Fi(),Bi(),ai(),Ls(),ks(),Rs(),ys(),Gs(),on=!1)},getLogs:jA,clearLogs:Is,getNetworkCaptures:Ke,getFailedNetworkCaptures:ie,clearNetworkCaptures:Ds,getErrors:qA,clearErrors:Os,getBreadcrumbs:He,clearBreadcrumbs:Fs,getPerformanceMetrics:Se,addBreadcrumb:vA,getThemes:Jr,getThemeById:Wr,setTheme:tn,getCurrentThemeId:Ci,getLayouts:Yr,getLayoutById:Dt,setLayout:Ui,getCurrentLayoutId:mi,getCurrentUser:VA,login:Vr,logout:_r,togglePinMode:Nt,isPinModeActive:qr,isConnected:ii,openAnnotationEditor:xi,redactString:Ie,redactObject:Jt},Af=Ii;0&&(module.exports={BugStash});
1704
+ /*! Bundled license information:
1705
+
1706
+ html2canvas/dist/html2canvas.esm.js:
1707
+ (*!
1708
+ * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
1709
+ * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
1710
+ * Released under MIT License
1711
+ *)
1712
+ (*! *****************************************************************************
1713
+ Copyright (c) Microsoft Corporation.
1714
+
1715
+ Permission to use, copy, modify, and/or distribute this software for any
1716
+ purpose with or without fee is hereby granted.
1717
+
1718
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1719
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1720
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1721
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1722
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1723
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1724
+ PERFORMANCE OF THIS SOFTWARE.
1725
+ ***************************************************************************** *)
1726
+ */
1636
1727
  //# sourceMappingURL=index.cjs.map