@codewithdan/zingit 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2974 @@
1
+ !function(A){"use strict";const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),s=new WeakMap;let r=class{constructor(A,e,t){if(this._$cssResult$=!0,t!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=A,this.t=e}get styleSheet(){let A=this.o;const e=this.t;if(t&&void 0===A){const t=void 0!==e&&1===e.length;t&&(A=s.get(e)),void 0===A&&((this.o=A=new CSSStyleSheet).replaceSync(this.cssText),t&&s.set(e,A))}return A}toString(){return this.cssText}};const o=(A,...e)=>{const t=1===A.length?A[0]:e.reduce((e,t,n)=>e+(A=>{if(!0===A._$cssResult$)return A.cssText;if("number"==typeof A)return A;throw Error("Value passed to 'css' function must be a 'css' function result: "+A+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(t)+A[n+1],A[0]);return new r(t,A,n)},i=t?A=>A:A=>A instanceof CSSStyleSheet?(A=>{let e="";for(const t of A.cssRules)e+=t.cssText;return(A=>new r("string"==typeof A?A:A+"",void 0,n))(e)})(A):A,{is:a,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:B,getOwnPropertySymbols:h,getPrototypeOf:g}=Object,d=globalThis,u=d.trustedTypes,p=u?u.emptyScript:"",w=d.reactiveElementPolyfillSupport,Q=(A,e)=>A,C={toAttribute(A,e){switch(e){case Boolean:A=A?p:null;break;case Object:case Array:A=null==A?A:JSON.stringify(A)}return A},fromAttribute(A,e){let t=A;switch(e){case Boolean:t=null!==A;break;case Number:t=null===A?null:Number(A);break;case Object:case Array:try{t=JSON.parse(A)}catch(n){t=null}}return t}},f=(A,e)=>!a(A,e),U={attribute:!0,type:String,converter:C,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let F=class extends HTMLElement{static addInitializer(A){this._$Ei(),(this.l??=[]).push(A)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(A,e=U){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(A)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(A,e),!e.noAccessor){const t=Symbol(),n=this.getPropertyDescriptor(A,t,e);void 0!==n&&c(this.prototype,A,n)}}static getPropertyDescriptor(A,e,t){const{get:n,set:s}=l(this.prototype,A)??{get(){return this[e]},set(A){this[e]=A}};return{get:n,set(e){const r=n?.call(this);s?.call(this,e),this.requestUpdate(A,r,t)},configurable:!0,enumerable:!0}}static getPropertyOptions(A){return this.elementProperties.get(A)??U}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;const A=g(this);A.finalize(),void 0!==A.l&&(this.l=[...A.l]),this.elementProperties=new Map(A.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){const A=this.properties,e=[...B(A),...h(A)];for(const t of e)this.createProperty(t,A[t])}const A=this[Symbol.metadata];if(null!==A){const e=litPropertyMetadata.get(A);if(void 0!==e)for(const[A,t]of e)this.elementProperties.set(A,t)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const A=this._$Eu(e,t);void 0!==A&&this._$Eh.set(A,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(A){const e=[];if(Array.isArray(A)){const t=new Set(A.flat(1/0).reverse());for(const A of t)e.unshift(i(A))}else void 0!==A&&e.push(i(A));return e}static _$Eu(A,e){const t=e.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof A?A.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(A=>this.enableUpdating=A),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(A=>A(this))}addController(A){(this._$EO??=new Set).add(A),void 0!==this.renderRoot&&this.isConnected&&A.hostConnected?.()}removeController(A){this._$EO?.delete(A)}_$E_(){const A=new Map,e=this.constructor.elementProperties;for(const t of e.keys())this.hasOwnProperty(t)&&(A.set(t,this[t]),delete this[t]);A.size>0&&(this._$Ep=A)}createRenderRoot(){const A=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((A,n)=>{if(t)A.adoptedStyleSheets=n.map(A=>A instanceof CSSStyleSheet?A:A.styleSheet);else for(const t of n){const n=document.createElement("style"),s=e.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=t.cssText,A.appendChild(n)}})(A,this.constructor.elementStyles),A}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(A=>A.hostConnected?.())}enableUpdating(A){}disconnectedCallback(){this._$EO?.forEach(A=>A.hostDisconnected?.())}attributeChangedCallback(A,e,t){this._$AK(A,t)}_$ET(A,e){const t=this.constructor.elementProperties.get(A),n=this.constructor._$Eu(A,t);if(void 0!==n&&!0===t.reflect){const s=(void 0!==t.converter?.toAttribute?t.converter:C).toAttribute(e,t.type);this._$Em=A,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(A,e){const t=this.constructor,n=t._$Eh.get(A);if(void 0!==n&&this._$Em!==n){const A=t.getPropertyOptions(n),s="function"==typeof A.converter?{fromAttribute:A.converter}:void 0!==A.converter?.fromAttribute?A.converter:C;this._$Em=n;const r=s.fromAttribute(e,A.type);this[n]=r??this._$Ej?.get(n)??r,this._$Em=null}}requestUpdate(A,e,t,n=!1,s){if(void 0!==A){const r=this.constructor;if(!1===n&&(s=this[A]),t??=r.getPropertyOptions(A),!((t.hasChanged??f)(s,e)||t.useDefault&&t.reflect&&s===this._$Ej?.get(A)&&!this.hasAttribute(r._$Eu(A,t))))return;this.C(A,e,t)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(A,e,{useDefault:t,reflect:n,wrapped:s},r){t&&!(this._$Ej??=new Map).has(A)&&(this._$Ej.set(A,r??e??this[A]),!0!==s||void 0!==r)||(this._$AL.has(A)||(this.hasUpdated||t||(e=void 0),this._$AL.set(A,e)),!0===n&&this._$Em!==A&&(this._$Eq??=new Set).add(A))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const A=this.scheduleUpdate();return null!=A&&await A,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[A,e]of this._$Ep)this[A]=e;this._$Ep=void 0}const A=this.constructor.elementProperties;if(A.size>0)for(const[e,t]of A){const{wrapped:A}=t,n=this[e];!0!==A||this._$AL.has(e)||void 0===n||this.C(e,void 0,t,n)}}let A=!1;const e=this._$AL;try{A=this.shouldUpdate(e),A?(this.willUpdate(e),this._$EO?.forEach(A=>A.hostUpdate?.()),this.update(e)):this._$EM()}catch(t){throw A=!1,this._$EM(),t}A&&this._$AE(e)}willUpdate(A){}_$AE(A){this._$EO?.forEach(A=>A.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(A)),this.updated(A)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(A){return!0}update(A){this._$Eq&&=this._$Eq.forEach(A=>this._$ET(A,this[A])),this._$EM()}updated(A){}firstUpdated(A){}};F.elementStyles=[],F.shadowRootOptions={mode:"open"},F[Q("elementProperties")]=new Map,F[Q("finalized")]=new Map,w?.({ReactiveElement:F}),(d.reactiveElementVersions??=[]).push("2.1.2");const m=globalThis,y=A=>A,b=m.trustedTypes,v=b?b.createPolicy("lit-html",{createHTML:A=>A}):void 0,H="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,x="?"+E,I=`<${x}>`,K=document,k=()=>K.createComment(""),S=A=>null===A||"object"!=typeof A&&"function"!=typeof A,L=Array.isArray,D="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,T=/>/g,P=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,G=/"/g,V=/^(?:script|style|textarea|title)$/i,$=(W=1,(A,...e)=>({_$litType$:W,strings:A,values:e})),N=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),X=new WeakMap,J=K.createTreeWalker(K,129);var W;function Y(A,e){if(!L(A)||!A.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==v?v.createHTML(e):e}class Z{constructor({strings:A,_$litType$:e},t){let n;this.parts=[];let s=0,r=0;const o=A.length-1,i=this.parts,[a,c]=((A,e)=>{const t=A.length-1,n=[];let s,r=2===e?"<svg>":3===e?"<math>":"",o=M;for(let i=0;i<t;i++){const e=A[i];let t,a,c=-1,l=0;for(;l<e.length&&(o.lastIndex=l,a=o.exec(e),null!==a);)l=o.lastIndex,o===M?"!--"===a[1]?o=O:void 0!==a[1]?o=T:void 0!==a[2]?(V.test(a[2])&&(s=RegExp("</"+a[2],"g")),o=P):void 0!==a[3]&&(o=P):o===P?">"===a[0]?(o=s??M,c=-1):void 0===a[1]?c=-2:(c=o.lastIndex-a[2].length,t=a[1],o=void 0===a[3]?P:'"'===a[3]?G:R):o===G||o===R?o=P:o===O||o===T?o=M:(o=P,s=void 0);const B=o===P&&A[i+1].startsWith("/>")?" ":"";r+=o===M?e+I:c>=0?(n.push(t),e.slice(0,c)+H+e.slice(c)+E+B):e+E+(-2===c?i:B)}return[Y(A,r+(A[t]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]})(A,e);if(this.el=Z.createElement(a,t),J.currentNode=this.el.content,2===e||3===e){const A=this.el.content.firstChild;A.replaceWith(...A.childNodes)}for(;null!==(n=J.nextNode())&&i.length<o;){if(1===n.nodeType){if(n.hasAttributes())for(const A of n.getAttributeNames())if(A.endsWith(H)){const e=c[r++],t=n.getAttribute(A).split(E),o=/([.?@])?(.*)/.exec(e);i.push({type:1,index:s,name:o[2],strings:t,ctor:"."===o[1]?eA:"?"===o[1]?tA:"@"===o[1]?nA:AA}),n.removeAttribute(A)}else A.startsWith(E)&&(i.push({type:6,index:s}),n.removeAttribute(A));if(V.test(n.tagName)){const A=n.textContent.split(E),e=A.length-1;if(e>0){n.textContent=b?b.emptyScript:"";for(let t=0;t<e;t++)n.append(A[t],k()),J.nextNode(),i.push({type:2,index:++s});n.append(A[e],k())}}}else if(8===n.nodeType)if(n.data===x)i.push({type:2,index:s});else{let A=-1;for(;-1!==(A=n.data.indexOf(E,A+1));)i.push({type:7,index:s}),A+=E.length-1}s++}}static createElement(A,e){const t=K.createElement("template");return t.innerHTML=A,t}}function z(A,e,t=A,n){if(e===N)return e;let s=void 0!==n?t._$Co?.[n]:t._$Cl;const r=S(e)?void 0:e._$litDirective$;return s?.constructor!==r&&(s?._$AO?.(!1),void 0===r?s=void 0:(s=new r(A),s._$AT(A,t,n)),void 0!==n?(t._$Co??=[])[n]=s:t._$Cl=s),void 0!==s&&(e=z(A,s._$AS(A,e.values),s,n)),e}class j{constructor(A,e){this._$AV=[],this._$AN=void 0,this._$AD=A,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(A){const{el:{content:e},parts:t}=this._$AD,n=(A?.creationScope??K).importNode(e,!0);J.currentNode=n;let s=J.nextNode(),r=0,o=0,i=t[0];for(;void 0!==i;){if(r===i.index){let e;2===i.type?e=new q(s,s.nextSibling,this,A):1===i.type?e=new i.ctor(s,i.name,i.strings,this,A):6===i.type&&(e=new sA(s,this,A)),this._$AV.push(e),i=t[++o]}r!==i?.index&&(s=J.nextNode(),r++)}return J.currentNode=K,n}p(A){let e=0;for(const t of this._$AV)void 0!==t&&(void 0!==t.strings?(t._$AI(A,t,e),e+=t.strings.length-2):t._$AI(A[e])),e++}}class q{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(A,e,t,n){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=A,this._$AB=e,this._$AM=t,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let A=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===A?.nodeType&&(A=e.parentNode),A}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(A,e=this){A=z(this,A,e),S(A)?A===_||null==A||""===A?(this._$AH!==_&&this._$AR(),this._$AH=_):A!==this._$AH&&A!==N&&this._(A):void 0!==A._$litType$?this.$(A):void 0!==A.nodeType?this.T(A):(A=>L(A)||"function"==typeof A?.[Symbol.iterator])(A)?this.k(A):this._(A)}O(A){return this._$AA.parentNode.insertBefore(A,this._$AB)}T(A){this._$AH!==A&&(this._$AR(),this._$AH=this.O(A))}_(A){this._$AH!==_&&S(this._$AH)?this._$AA.nextSibling.data=A:this.T(K.createTextNode(A)),this._$AH=A}$(A){const{values:e,_$litType$:t}=A,n="number"==typeof t?this._$AC(A):(void 0===t.el&&(t.el=Z.createElement(Y(t.h,t.h[0]),this.options)),t);if(this._$AH?._$AD===n)this._$AH.p(e);else{const A=new j(n,this),t=A.u(this.options);A.p(e),this.T(t),this._$AH=A}}_$AC(A){let e=X.get(A.strings);return void 0===e&&X.set(A.strings,e=new Z(A)),e}k(A){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let t,n=0;for(const s of A)n===e.length?e.push(t=new q(this.O(k()),this.O(k()),this,this.options)):t=e[n],t._$AI(s),n++;n<e.length&&(this._$AR(t&&t._$AB.nextSibling,n),e.length=n)}_$AR(A=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);A!==this._$AB;){const e=y(A).nextSibling;y(A).remove(),A=e}}setConnected(A){void 0===this._$AM&&(this._$Cv=A,this._$AP?.(A))}}class AA{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(A,e,t,n,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=A,this.name=e,this._$AM=n,this.options=s,t.length>2||""!==t[0]||""!==t[1]?(this._$AH=Array(t.length-1).fill(new String),this.strings=t):this._$AH=_}_$AI(A,e=this,t,n){const s=this.strings;let r=!1;if(void 0===s)A=z(this,A,e,0),r=!S(A)||A!==this._$AH&&A!==N,r&&(this._$AH=A);else{const n=A;let o,i;for(A=s[0],o=0;o<s.length-1;o++)i=z(this,n[t+o],e,o),i===N&&(i=this._$AH[o]),r||=!S(i)||i!==this._$AH[o],i===_?A=_:A!==_&&(A+=(i??"")+s[o+1]),this._$AH[o]=i}r&&!n&&this.j(A)}j(A){A===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,A??"")}}class eA extends AA{constructor(){super(...arguments),this.type=3}j(A){this.element[this.name]=A===_?void 0:A}}let tA=class extends AA{constructor(){super(...arguments),this.type=4}j(A){this.element.toggleAttribute(this.name,!!A&&A!==_)}},nA=class extends AA{constructor(A,e,t,n,s){super(A,e,t,n,s),this.type=5}_$AI(A,e=this){if((A=z(this,A,e,0)??_)===N)return;const t=this._$AH,n=A===_&&t!==_||A.capture!==t.capture||A.once!==t.once||A.passive!==t.passive,s=A!==_&&(t===_||n);n&&this.element.removeEventListener(this.name,this,t),s&&this.element.addEventListener(this.name,this,A),this._$AH=A}handleEvent(A){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,A):this._$AH.handleEvent(A)}},sA=class{constructor(A,e,t){this.element=A,this.type=6,this._$AN=void 0,this._$AM=e,this.options=t}get _$AU(){return this._$AM._$AU}_$AI(A){z(this,A)}};const rA=m.litHtmlPolyfillSupport;rA?.(Z,q),(m.litHtmlVersions??=[]).push("3.3.2");const oA=globalThis;let iA=class extends F{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const A=super.createRenderRoot();return this.renderOptions.renderBefore??=A.firstChild,A}update(A){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(A),this._$Do=((A,e,t)=>{const n=t?.renderBefore??e;let s=n._$litPart$;if(void 0===s){const A=t?.renderBefore??null;n._$litPart$=s=new q(e.insertBefore(k(),A),A,void 0,t??{})}return s._$AI(A),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return N}};iA._$litElement$=!0,iA.finalized=!0,oA.litElementHydrateSupport?.({LitElement:iA});const aA=oA.litElementPolyfillSupport;aA?.({LitElement:iA}),(oA.litElementVersions??=[]).push("4.2.2");const cA=A=>(e,t)=>{void 0!==t?t.addInitializer(()=>{customElements.define(A,e)}):customElements.define(A,e)},lA={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:f},BA=(A=lA,e,t)=>{const{kind:n,metadata:s}=t;let r=globalThis.litPropertyMetadata.get(s);if(void 0===r&&globalThis.litPropertyMetadata.set(s,r=new Map),"setter"===n&&((A=Object.create(A)).wrapped=!0),r.set(t.name,A),"accessor"===n){const{name:n}=t;return{set(t){const s=e.get.call(this);e.set.call(this,t),this.requestUpdate(n,s,A,!0,t)},init(e){return void 0!==e&&this.C(n,void 0,A,e),e}}}if("setter"===n){const{name:n}=t;return function(t){const s=this[n];e.call(this,t),this.requestUpdate(n,s,A,!0,t)}}throw Error("Unsupported decorator location: "+n)};function hA(A){return(e,t)=>"object"==typeof t?BA(A,e,t):((A,e,t)=>{const n=e.hasOwnProperty(t);return e.constructor.createProperty(t,A),n?Object.getOwnPropertyDescriptor(e,t):void 0})(A,e,t)}function gA(A){return hA({...A,state:!0,attribute:!1})}function dA(A,e){return(e,t,n)=>((A,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(A,e,t),t))(e,t,{get(){return(e=>e.renderRoot?.querySelector(A)??null)(this)}})}var uA=function(A,e){return(uA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])})(A,e)};function pA(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=A}uA(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var wA=function(){return wA=Object.assign||function(A){for(var e,t=1,n=arguments.length;t<n;t++)for(var s in e=arguments[t])Object.prototype.hasOwnProperty.call(e,s)&&(A[s]=e[s]);return A},wA.apply(this,arguments)};function QA(A,e,t,n){return new(t||(t=Promise))(function(e,s){function r(A){try{i(n.next(A))}catch(e){s(e)}}function o(A){try{i(n.throw(A))}catch(e){s(e)}}function i(A){var n;A.done?e(A.value):(n=A.value,n instanceof t?n:new t(function(A){A(n)})).then(r,o)}i((n=n.apply(A,[])).next())})}function CA(A,e){var t,n,s,r,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return r={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function i(r){return function(i){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(s=2&r[0]?n.return:r[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;switch(n=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(s=o.trys,(s=s.length>0&&s[s.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){o.label=r[1];break}if(6===r[0]&&o.label<s[1]){o.label=s[1],s=r;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(r);break}s[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(A,o)}catch(i){r=[6,i],n=0}finally{t=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,i])}}}function fA(A,e,t){if(2===arguments.length)for(var n,s=0,r=e.length;s<r;s++)!n&&s in e||(n||(n=Array.prototype.slice.call(e,0,s)),n[s]=e[s]);return A.concat(n||e)}for(var UA=function(){function A(A,e,t,n){this.left=A,this.top=e,this.width=t,this.height=n}return A.prototype.add=function(e,t,n,s){return new A(this.left+e,this.top+t,this.width+n,this.height+s)},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 n=Array.from(t).find(function(A){return 0!==A.width});return n?new A(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),FA=function(A,e){return UA.fromClientRect(A,e.getBoundingClientRect())},mA=function(A){for(var e=[],t=0,n=A.length;t<n;){var s=A.charCodeAt(t++);if(s>=55296&&s<=56319&&t<n){var r=A.charCodeAt(t++);56320==(64512&r)?e.push(((1023&s)<<10)+(1023&r)+65536):(e.push(s),t--)}else e.push(s)}return e},yA=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 n=[],s=-1,r="";++s<t;){var o=A[s];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(s+1===t||n.length>16384)&&(r+=String.fromCharCode.apply(String,n),n.length=0)}return r},bA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),HA=0;HA<64;HA++)vA[bA.charCodeAt(HA)]=HA;for(var EA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),IA=0;IA<64;IA++)xA[EA.charCodeAt(IA)]=IA;for(var KA=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},kA=function(){function A(A,e,t,n,s,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=s,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),SA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",LA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),DA=0;DA<64;DA++)LA[SA.charCodeAt(DA)]=DA;var MA,OA,TA,PA,RA,GA,VA,$A,NA=10,_A=13,XA=15,JA=17,WA=18,YA=19,ZA=20,zA=21,jA=22,qA=24,Ae=25,ee=26,te=27,ne=28,se=30,re=32,oe=33,ie=34,ae=35,ce=37,le=38,Be=39,he=40,ge=42,de=[9001,65288],ue="×",pe="÷",we=(PA=function(A){var e,t,n,s,r,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),l=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<i;e+=4)t=xA[A.charCodeAt(e)],n=xA[A.charCodeAt(e+1)],s=xA[A.charCodeAt(e+2)],r=xA[A.charCodeAt(e+3)],l[a++]=t<<2|n>>4,l[a++]=(15&n)<<4|s>>2,l[a++]=(3&s)<<6|63&r;return c}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAA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dAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywH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ZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9c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AMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nD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KwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQ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AQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUA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KwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHg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gACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),RA=Array.isArray(PA)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(PA):new Uint32Array(PA),GA=Array.isArray(PA)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(PA):new Uint16Array(PA),VA=KA(GA,12,RA[4]/2),$A=2===RA[5]?KA(GA,(24+RA[4])/2):(MA=RA,OA=Math.ceil((24+RA[4])/4),MA.slice?MA.slice(OA,TA):new Uint32Array(Array.prototype.slice.call(MA,OA,TA))),new kA(RA[0],RA[1],RA[2],RA[3],VA,$A)),Qe=[se,36],Ce=[1,2,3,5],fe=[NA,8],Ue=[te,ee],Fe=Ce.concat(fe),me=[le,Be,he,ie,ae],ye=[XA,_A],be=function(A,e,t,n){var s=n[t];if(Array.isArray(A)?-1!==A.indexOf(s):A===s)for(var r=t;r<=n.length;){if((a=n[++r])===e)return!0;if(a!==NA)break}if(s===NA)for(r=t;r>0;){var o=n[--r];if(Array.isArray(A)?-1!==A.indexOf(o):A===o)for(var i=t;i<=n.length;){var a;if((a=n[++i])===e)return!0;if(a!==NA)break}if(o!==NA)break}return!1},ve=function(A,e){for(var t=A;t>=0;){var n=e[t];if(n!==NA)return n;t--}return 0},He=function(A,e,t,n,s){if(0===t[n])return ue;var r=n-1;if(Array.isArray(s)&&!0===s[r])return ue;var o=r-1,i=r+1,a=e[r],c=o>=0?e[o]:0,l=e[i];if(2===a&&3===l)return ue;if(-1!==Ce.indexOf(a))return"!";if(-1!==Ce.indexOf(l))return ue;if(-1!==fe.indexOf(l))return ue;if(8===ve(r,e))return pe;if(11===we.get(A[r]))return ue;if((a===re||a===oe)&&11===we.get(A[i]))return ue;if(7===a||7===l)return ue;if(9===a)return ue;if(-1===[NA,_A,XA].indexOf(a)&&9===l)return ue;if(-1!==[JA,WA,YA,qA,ne].indexOf(l))return ue;if(ve(r,e)===jA)return ue;if(be(23,jA,r,e))return ue;if(be([JA,WA],zA,r,e))return ue;if(be(12,12,r,e))return ue;if(a===NA)return pe;if(23===a||23===l)return ue;if(16===l||16===a)return pe;if(-1!==[_A,XA,zA].indexOf(l)||14===a)return ue;if(36===c&&-1!==ye.indexOf(a))return ue;if(a===ne&&36===l)return ue;if(l===ZA)return ue;if(-1!==Qe.indexOf(l)&&a===Ae||-1!==Qe.indexOf(a)&&l===Ae)return ue;if(a===te&&-1!==[ce,re,oe].indexOf(l)||-1!==[ce,re,oe].indexOf(a)&&l===ee)return ue;if(-1!==Qe.indexOf(a)&&-1!==Ue.indexOf(l)||-1!==Ue.indexOf(a)&&-1!==Qe.indexOf(l))return ue;if(-1!==[te,ee].indexOf(a)&&(l===Ae||-1!==[jA,XA].indexOf(l)&&e[i+1]===Ae)||-1!==[jA,XA].indexOf(a)&&l===Ae||a===Ae&&-1!==[Ae,ne,qA].indexOf(l))return ue;if(-1!==[Ae,ne,qA,JA,WA].indexOf(l))for(var B=r;B>=0;){if((h=e[B])===Ae)return ue;if(-1===[ne,qA].indexOf(h))break;B--}if(-1!==[te,ee].indexOf(l))for(B=-1!==[JA,WA].indexOf(a)?o:r;B>=0;){var h;if((h=e[B])===Ae)return ue;if(-1===[ne,qA].indexOf(h))break;B--}if(le===a&&-1!==[le,Be,ie,ae].indexOf(l)||-1!==[Be,ie].indexOf(a)&&-1!==[Be,he].indexOf(l)||-1!==[he,ae].indexOf(a)&&l===he)return ue;if(-1!==me.indexOf(a)&&-1!==[ZA,ee].indexOf(l)||-1!==me.indexOf(l)&&a===te)return ue;if(-1!==Qe.indexOf(a)&&-1!==Qe.indexOf(l))return ue;if(a===qA&&-1!==Qe.indexOf(l))return ue;if(-1!==Qe.concat(Ae).indexOf(a)&&l===jA&&-1===de.indexOf(A[i])||-1!==Qe.concat(Ae).indexOf(l)&&a===WA)return ue;if(41===a&&41===l){for(var g=t[r],d=1;g>0&&41===e[--g];)d++;if(d%2!=0)return ue}return a===re&&l===oe?ue:pe},Ee=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],n=[],s=[];return A.forEach(function(A,r){var o=we.get(A);if(o>50?(s.push(!0),o-=50):s.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(r),t.push(16);if(4===o||11===o){if(0===r)return n.push(r),t.push(se);var i=t[r-1];return-1===Fe.indexOf(i)?(n.push(n[r-1]),t.push(i)):(n.push(r),t.push(se))}return n.push(r),31===o?t.push("strict"===e?zA:ce):o===ge||29===o?t.push(se):43===o?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(ce):t.push(se):void t.push(o)}),[n,t,s]}(A,e.lineBreak),n=t[0],s=t[1],r=t[2];return"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(s=s.map(function(A){return-1!==[Ae,se,ge].indexOf(A)?ce:A})),[n,s,"keep-all"===e.wordBreak?r.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0]},xe=function(){function A(A,e,t,n){this.codePoints=A,this.required="!"===e,this.start=t,this.end=n}return A.prototype.slice=function(){return yA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),Ie=45,Ke=43,ke=-1,Se=function(A){return A>=48&&A<=57},Le=function(A){return Se(A)||A>=65&&A<=70||A>=97&&A<=102},De=function(A){return 10===A||9===A||32===A},Me=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},Oe=function(A){return Me(A)||Se(A)||A===Ie},Te=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},Pe=function(A,e){return 92===A&&10!==e},Re=function(A,e,t){return A===Ie?Me(e)||Pe(e,t):!!Me(A)||!(92!==A||!Pe(A,e))},Ge=function(A,e,t){return A===Ke||A===Ie?!!Se(e)||46===e&&Se(t):Se(46===A?e:A)},Ve=function(A){var e=0,t=1;A[e]!==Ke&&A[e]!==Ie||(A[e]===Ie&&(t=-1),e++);for(var n=[];Se(A[e]);)n.push(A[e++]);var s=n.length?parseInt(yA.apply(void 0,n),10):0;46===A[e]&&e++;for(var r=[];Se(A[e]);)r.push(A[e++]);var o=r.length,i=o?parseInt(yA.apply(void 0,r),10):0;69!==A[e]&&101!==A[e]||e++;var a=1;A[e]!==Ke&&A[e]!==Ie||(A[e]===Ie&&(a=-1),e++);for(var c=[];Se(A[e]);)c.push(A[e++]);var l=c.length?parseInt(yA.apply(void 0,c),10):0;return t*(s+i*Math.pow(10,-o))*Math.pow(10,a*l)},$e={type:2},Ne={type:3},_e={type:4},Xe={type:13},Je={type:8},We={type:21},Ye={type:9},Ze={type:10},ze={type:11},je={type:12},qe={type:14},At={type:23},et={type:1},tt={type:25},nt={type:24},st={type:26},rt={type:27},ot={type:28},it={type:29},at={type:31},ct={type:32},lt=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(mA(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==ct;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Oe(e)||Pe(t,n)){var s=Re(e,t,n)?2:1;return{type:5,value:this.consumeName(),flags:s}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Xe;break;case 39:return this.consumeStringToken(39);case 40:return $e;case 41:return Ne;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),qe;break;case Ke:if(Ge(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return _e;case Ie:var r=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(Ge(r,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Re(r,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===Ie&&62===i)return this.consumeCodePoint(),this.consumeCodePoint(),nt;break;case 46:if(Ge(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(a===ke)return this.consumeToken()}break;case 58:return st;case 59:return rt;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===Ie&&this.peekCodePoint(2)===Ie)return this.consumeCodePoint(),this.consumeCodePoint(),tt;break;case 64:var c=this.peekCodePoint(0),l=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Re(c,l,B))return{type:7,value:this.consumeName()};break;case 91:return ot;case 92:if(Pe(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return it;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Je;break;case 123:return ze;case 125:return je;case 117:case 85:var h=this.peekCodePoint(0),g=this.peekCodePoint(1);return h!==Ke||!Le(g)&&63!==g||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ye;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),We;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ze;break;case ke:return ct}return De(A)?(this.consumeWhiteSpace(),at):Se(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Me(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:yA(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();Le(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(yA.apply(void 0,A.map(function(A){return 63===A?48:A})),16),end:parseInt(yA.apply(void 0,A.map(function(A){return 63===A?70:A})),16)};var n=parseInt(yA.apply(void 0,A),16);if(this.peekCodePoint(0)===Ie&&Le(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var s=[];Le(e)&&s.length<6;)s.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(yA.apply(void 0,s),16)}}return{type:30,start:n,end:n}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke)return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),At)}for(;;){var n=this.consumeCodePoint();if(n===ke||41===n)return{type:22,value:yA.apply(void 0,A)};if(De(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:yA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),At);if(34===n||39===n||40===n||Te(n))return this.consumeBadUrlRemnants(),At;if(92===n){if(!Pe(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),At;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;De(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===ke)return;Pe(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=yA.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var n=this._value[t];if(n===ke||void 0===n||n===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===n)return this._value.splice(0,t),et;if(92===n){var s=this._value[t+1];s!==ke&&void 0!==s&&(10===s?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):Pe(n,s)&&(e+=this.consumeStringSlice(t),e+=yA(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for(t!==Ke&&t!==Ie||A.push(this.consumeCodePoint());Se(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(46===t&&Se(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Se(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((69===t||101===t)&&((n===Ke||n===Ie)&&Se(s)||Se(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Se(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ve(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),r=this.peekCodePoint(2);return Re(n,s,r)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===n?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Le(A)){for(var e=yA(A);Le(this.peekCodePoint(0))&&e.length<6;)e+=yA(this.consumeCodePoint());De(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return A===ke?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(Oe(e))A+=yA(e);else{if(!Pe(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=yA(this.consumeEscapedCodePoint())}}},A}(),Bt=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new lt;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 A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||ft(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?ct:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),ht=function(A){return 15===A.type},gt=function(A){return 17===A.type},dt=function(A){return 20===A.type},ut=function(A){return 0===A.type},pt=function(A,e){return dt(A)&&A.value===e},wt=function(A){return 31!==A.type},Qt=function(A){return 31!==A.type&&4!==A.type},Ct=function(A){var e=[],t=[];return A.forEach(function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)}),t.length&&e.push(t),e},ft=function(A,e){return 11===e&&12===A.type||(28===e&&29===A.type||2===e&&3===A.type)},Ut=function(A){return 17===A.type||15===A.type},Ft=function(A){return 16===A.type||Ut(A)},mt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},yt={type:17,number:0,flags:4},bt={type:16,number:50,flags:4},vt={type:16,number:100,flags:4},Ht=function(A,e,t){var n=A[0],s=A[1];return[Et(n,e),Et(void 0!==s?s:n,t)]},Et=function(A,e){if(16===A.type)return A.number/100*e;if(ht(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},xt="grad",It="turn",Kt=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case xt:return Math.PI/200*e.number;case"rad":return e.number;case It:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},kt=function(A){return 15===A.type&&("deg"===A.unit||A.unit===xt||"rad"===A.unit||A.unit===It)},St=function(A){switch(A.filter(dt).map(function(A){return A.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[yt,yt];case"to top":case"bottom":return Lt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[yt,vt];case"to right":case"left":return Lt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[vt,vt];case"to bottom":case"top":return Lt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[vt,yt];case"to left":case"right":return Lt(270)}return 0},Lt=function(A){return Math.PI*A/180},Dt=function(A,e){if(18===e.type){var t=$t[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),s=e.value.substring(1,2),r=e.value.substring(2,3);return Tt(parseInt(n+n,16),parseInt(s+s,16),parseInt(r+r,16),1)}if(4===e.value.length){n=e.value.substring(0,1),s=e.value.substring(1,2),r=e.value.substring(2,3);var o=e.value.substring(3,4);return Tt(parseInt(n+n,16),parseInt(s+s,16),parseInt(r+r,16),parseInt(o+o,16)/255)}if(6===e.value.length){n=e.value.substring(0,2),s=e.value.substring(2,4),r=e.value.substring(4,6);return Tt(parseInt(n,16),parseInt(s,16),parseInt(r,16),1)}if(8===e.value.length){n=e.value.substring(0,2),s=e.value.substring(2,4),r=e.value.substring(4,6),o=e.value.substring(6,8);return Tt(parseInt(n,16),parseInt(s,16),parseInt(r,16),parseInt(o,16)/255)}}if(20===e.type){var i=_t[e.value.toUpperCase()];if(void 0!==i)return i}return _t.TRANSPARENT},Mt=function(A){return!(255&A)},Ot=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,s=255&A>>24;return e<255?"rgba("+s+","+n+","+t+","+e/255+")":"rgb("+s+","+n+","+t+")"},Tt=function(A,e,t,n){return(A<<24|e<<16|t<<8|Math.round(255*n))>>>0},Pt=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},Rt=function(A,e){var t=e.filter(Qt);if(3===t.length){var n=t.map(Pt),s=n[0],r=n[1],o=n[2];return Tt(s,r,o,1)}if(4===t.length){var i=t.map(Pt),a=(s=i[0],r=i[1],o=i[2],i[3]);return Tt(s,r,o,a)}return 0};function Gt(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var Vt=function(A,e){var t=e.filter(Qt),n=t[0],s=t[1],r=t[2],o=t[3],i=(17===n.type?Lt(n.number):Kt(A,n))/(2*Math.PI),a=Ft(s)?s.number/100:0,c=Ft(r)?r.number/100:0,l=void 0!==o&&Ft(o)?Et(o,1):1;if(0===a)return Tt(255*c,255*c,255*c,1);var B=c<=.5?c*(a+1):c+a-c*a,h=2*c-B,g=Gt(h,B,i+1/3),d=Gt(h,B,i),u=Gt(h,B,i-1/3);return Tt(255*g,255*d,255*u,l)},$t={hsl:Vt,hsla:Vt,rgb:Rt,rgba:Rt},Nt=function(A,e){return Dt(A,Bt.create(e).parseComponentValue())},_t={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},Xt={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(dt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Jt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Wt=function(A,e){var t=Dt(A,e[0]),n=e[1];return n&&Ft(n)?{color:t,stop:n}:{color:t,stop:null}},Yt=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=yt),null===n.stop&&(n.stop=vt);for(var s=[],r=0,o=0;o<A.length;o++){var i=A[o].stop;if(null!==i){var a=Et(i,e);a>r?s.push(a):s.push(r),r=a}else s.push(null)}var c=null;for(o=0;o<s.length;o++){var l=s[o];if(null===l)null===c&&(c=o);else if(null!==c){for(var B=o-c,h=(l-s[c-1])/(B+1),g=1;g<=B;g++)s[c+g-1]=h*g;c=null}}return A.map(function(A,t){return{color:A.color,stop:Math.max(Math.min(1,s[t]/e),0)}})},Zt=function(A,e,t){var n="number"==typeof A?A:function(A,e,t){var n=e/2,s=t/2,r=Et(A[0],e)-n,o=s-Et(A[1],t);return(Math.atan2(o,r)+2*Math.PI)%(2*Math.PI)}(A,e,t),s=Math.abs(e*Math.sin(n))+Math.abs(t*Math.cos(n)),r=e/2,o=t/2,i=s/2,a=Math.sin(n-Math.PI/2)*i,c=Math.cos(n-Math.PI/2)*i;return[s,r-c,r+c,o-a,o+a]},zt=function(A,e){return Math.sqrt(A*A+e*e)},jt=function(A,e,t,n,s){return[[0,0],[0,e],[A,0],[A,e]].reduce(function(A,e){var r=e[0],o=e[1],i=zt(t-r,n-o);return(s?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:e,optimumDistance:i}:A},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},qt=function(A,e){var t=Lt(180),n=[];return Ct(e).forEach(function(e,s){if(0===s){var r=e[0];if(20===r.type&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(t=St(e));if(kt(r))return void(t=(Kt(A,r)+Lt(270))%Lt(360))}var o=Wt(A,e);n.push(o)}),{angle:t,stops:n,type:1}},An="closest-side",en="farthest-side",tn="closest-corner",nn="farthest-corner",sn="circle",rn="ellipse",on="cover",an="contain",cn=function(A,e){var t=0,n=3,s=[],r=[];return Ct(e).forEach(function(e,o){var i=!0;if(0===o?i=e.reduce(function(A,e){if(dt(e))switch(e.value){case"center":return r.push(bt),!1;case"top":case"left":return r.push(yt),!1;case"right":case"bottom":return r.push(vt),!1}else if(Ft(e)||Ut(e))return r.push(e),!1;return A},i):1===o&&(i=e.reduce(function(A,e){if(dt(e))switch(e.value){case sn:return t=0,!1;case rn:return t=1,!1;case an:case An:return n=0,!1;case en:return n=1,!1;case tn:return n=2,!1;case on:case nn:return n=3,!1}else if(Ut(e)||Ft(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},i)),i){var a=Wt(A,e);s.push(a)}}),{size:n,shape:t,stops:s,position:r,type:2}},ln=function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=gn[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw new Error("Unsupported image type "+e.type)};var Bn,hn,gn={"linear-gradient":function(A,e){var t=Lt(180),n=[];return Ct(e).forEach(function(e,s){if(0===s){var r=e[0];if(20===r.type&&"to"===r.value)return void(t=St(e));if(kt(r))return void(t=Kt(A,r))}var o=Wt(A,e);n.push(o)}),{angle:t,stops:n,type:1}},"-moz-linear-gradient":qt,"-ms-linear-gradient":qt,"-o-linear-gradient":qt,"-webkit-linear-gradient":qt,"radial-gradient":function(A,e){var t=0,n=3,s=[],r=[];return Ct(e).forEach(function(e,o){var i=!0;if(0===o){var a=!1;i=e.reduce(function(A,e){if(a)if(dt(e))switch(e.value){case"center":return r.push(bt),A;case"top":case"left":return r.push(yt),A;case"right":case"bottom":return r.push(vt),A}else(Ft(e)||Ut(e))&&r.push(e);else if(dt(e))switch(e.value){case sn:return t=0,!1;case rn:return t=1,!1;case"at":return a=!0,!1;case An:return n=0,!1;case on:case en:return n=1,!1;case an:case tn:return n=2,!1;case nn:return n=3,!1}else if(Ut(e)||Ft(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},i)}if(i){var c=Wt(A,e);s.push(c)}}),{size:n,shape:t,stops:s,position:r,type:2}},"-moz-radial-gradient":cn,"-ms-radial-gradient":cn,"-o-radial-gradient":cn,"-webkit-radial-gradient":cn,"-webkit-gradient":function(A,e){var t=Lt(180),n=[],s=1;return Ct(e).forEach(function(e,t){var r=e[0];if(0===t){if(dt(r)&&"linear"===r.value)return void(s=1);if(dt(r)&&"radial"===r.value)return void(s=2)}if(18===r.type)if("from"===r.name){var o=Dt(A,r.values[0]);n.push({stop:yt,color:o})}else if("to"===r.name){o=Dt(A,r.values[0]);n.push({stop:vt,color:o})}else if("color-stop"===r.name){var i=r.values.filter(Qt);if(2===i.length){o=Dt(A,i[1]);var a=i[0];gt(a)&&n.push({stop:{type:16,number:100*a.number,flags:a.flags},color:o})}}}),1===s?{angle:(t+Lt(180))%Lt(360),stops:n,type:s}:{size:3,shape:0,stops:n,position:[],type:s}}},dn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(function(A){return Qt(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!gn[A.name])}(A)}).map(function(e){return ln(A,e)})}},un={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(dt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},pn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Ct(e).map(function(A){return A.filter(Ft)}).map(mt)}},wn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Ct(e).map(function(A){return A.filter(dt).map(function(A){return A.value}).join(" ")}).map(Qn)}},Qn=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}};(hn=Bn||(Bn={})).AUTO="auto",hn.CONTAIN="contain",hn.COVER="cover";var Cn,fn,Un={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Ct(e).map(function(A){return A.filter(Fn)})}},Fn=function(A){return dt(A)||Ft(A)},mn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},yn=mn("top"),bn=mn("right"),vn=mn("bottom"),Hn=mn("left"),En=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return mt(e.filter(Ft))}}},xn=En("top-left"),In=En("top-right"),Kn=En("bottom-right"),kn=En("bottom-left"),Sn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ln=Sn("top"),Dn=Sn("right"),Mn=Sn("bottom"),On=Sn("left"),Tn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return ht(e)?e.number:0}}},Pn=Tn("top"),Rn=Tn("right"),Gn=Tn("bottom"),Vn=Tn("left"),$n={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Nn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},_n={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(dt).reduce(function(A,e){return A|Xn(e.value)},0)}},Xn=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},Jn={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}},Wn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};(fn=Cn||(Cn={})).NORMAL="normal",fn.STRICT="strict";var Yn,Zn,zn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?Cn.STRICT:Cn.NORMAL}},jn={name:"line-height",initialValue:"normal",prefix:!1,type:4},qn=function(A,e){return dt(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:Ft(A)?Et(A,e):e},As={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:ln(A,e)}},es={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},ts={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":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}}},ns=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},ss=ns("top"),rs=ns("right"),os=ns("bottom"),is=ns("left"),as={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(dt).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},cs={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},ls=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Bs=ls("top"),hs=ls("right"),gs=ls("bottom"),ds=ls("left"),us={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}}},ps={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}},ws={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&pt(e[0],"none")?[]:Ct(e).map(function(e){for(var t={color:_t.TRANSPARENT,offsetX:yt,offsetY:yt,blur:yt},n=0,s=0;s<e.length;s++){var r=e[s];Ut(r)?(0===n?t.offsetX=r:1===n?t.offsetY=r:t.blur=r,n++):t.color=Dt(A,r)}return t})}},Qs={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}},Cs={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=fs[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},fs={matrix:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number});return 6===e.length?e:null},matrix3d:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number}),t=e[0],n=e[1];e[2],e[3];var s=e[4],r=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],i=e[13];return e[14],e[15],16===e.length?[t,n,s,r,o,i]:null}},Us={type:16,number:50,flags:4},Fs=[Us,Us],ms={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Ft);return 2!==t.length?Fs:[t[0],t[1]]}},ys={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}}};(Zn=Yn||(Yn={})).NORMAL="normal",Zn.BREAK_ALL="break-all",Zn.KEEP_ALL="keep-all";for(var bs={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Yn.BREAK_ALL;case"keep-all":return Yn.KEEP_ALL;default:return Yn.NORMAL}}},vs={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(gt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Hs=function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")},Es={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return gt(e)?e.number:1}},xs={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Is={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(dt).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return 0!==A})}},Ks={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],n=[];return e.forEach(function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:n.push(t.join(" ")),t.length=0}}),t.length&&n.push(t.join(" ")),n.map(function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"})}},ks={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ss={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return gt(e)?e.number:dt(e)&&"bold"===e.value?700:400}},Ls={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(dt).map(function(A){return A.value})}},Ds={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"}}},Ms=function(A,e){return 0!==(A&e)},Os={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},Ts={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var n=[],s=e.filter(wt),r=0;r<s.length;r++){var o=s[r],i=s[r+1];if(20===o.type){var a=i&&gt(i)?i.number:1;n.push({counter:o.value,increment:a})}}return n}},Ps={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],n=e.filter(wt),s=0;s<n.length;s++){var r=n[s],o=n[s+1];if(dt(r)&&"none"!==r.value){var i=o&&gt(o)?o.number:0;t.push({counter:r.value,reset:i})}}return t}},Rs={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(ht).map(function(e){return Hs(A,e)})}},Gs={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var n=[],s=e.filter(ut);if(s.length%2!=0)return null;for(var r=0;r<s.length;r+=2){var o=s[r].value,i=s[r+1].value;n.push({open:o,close:i})}return n}},Vs=function(A,e,t){if(!A)return"";var n=A[Math.min(e,A.length-1)];return n?t?n.open:n.close:""},$s={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&pt(e[0],"none")?[]:Ct(e).map(function(e){for(var t={color:255,offsetX:yt,offsetY:yt,blur:yt,spread:yt,inset:!1},n=0,s=0;s<e.length;s++){var r=e[s];pt(r,"inset")?t.inset=!0:Ut(r)?(0===n?t.offsetX=r:1===n?t.offsetY=r:2===n?t.blur=r:t.spread=r,n++):t.color=Dt(A,r)}return t})}},Ns={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[];return e.filter(dt).forEach(function(A){switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(function(A){-1===t.indexOf(A)&&t.push(A)}),t}},_s={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Xs={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return ht(e)?e.number:0}},Js=function(){function A(A,e){var t,n;this.animationDuration=Zs(A,Rs,e.animationDuration),this.backgroundClip=Zs(A,Xt,e.backgroundClip),this.backgroundColor=Zs(A,Jt,e.backgroundColor),this.backgroundImage=Zs(A,dn,e.backgroundImage),this.backgroundOrigin=Zs(A,un,e.backgroundOrigin),this.backgroundPosition=Zs(A,pn,e.backgroundPosition),this.backgroundRepeat=Zs(A,wn,e.backgroundRepeat),this.backgroundSize=Zs(A,Un,e.backgroundSize),this.borderTopColor=Zs(A,yn,e.borderTopColor),this.borderRightColor=Zs(A,bn,e.borderRightColor),this.borderBottomColor=Zs(A,vn,e.borderBottomColor),this.borderLeftColor=Zs(A,Hn,e.borderLeftColor),this.borderTopLeftRadius=Zs(A,xn,e.borderTopLeftRadius),this.borderTopRightRadius=Zs(A,In,e.borderTopRightRadius),this.borderBottomRightRadius=Zs(A,Kn,e.borderBottomRightRadius),this.borderBottomLeftRadius=Zs(A,kn,e.borderBottomLeftRadius),this.borderTopStyle=Zs(A,Ln,e.borderTopStyle),this.borderRightStyle=Zs(A,Dn,e.borderRightStyle),this.borderBottomStyle=Zs(A,Mn,e.borderBottomStyle),this.borderLeftStyle=Zs(A,On,e.borderLeftStyle),this.borderTopWidth=Zs(A,Pn,e.borderTopWidth),this.borderRightWidth=Zs(A,Rn,e.borderRightWidth),this.borderBottomWidth=Zs(A,Gn,e.borderBottomWidth),this.borderLeftWidth=Zs(A,Vn,e.borderLeftWidth),this.boxShadow=Zs(A,$s,e.boxShadow),this.color=Zs(A,$n,e.color),this.direction=Zs(A,Nn,e.direction),this.display=Zs(A,_n,e.display),this.float=Zs(A,Jn,e.cssFloat),this.fontFamily=Zs(A,Ks,e.fontFamily),this.fontSize=Zs(A,ks,e.fontSize),this.fontStyle=Zs(A,Ds,e.fontStyle),this.fontVariant=Zs(A,Ls,e.fontVariant),this.fontWeight=Zs(A,Ss,e.fontWeight),this.letterSpacing=Zs(A,Wn,e.letterSpacing),this.lineBreak=Zs(A,zn,e.lineBreak),this.lineHeight=Zs(A,jn,e.lineHeight),this.listStyleImage=Zs(A,As,e.listStyleImage),this.listStylePosition=Zs(A,es,e.listStylePosition),this.listStyleType=Zs(A,ts,e.listStyleType),this.marginTop=Zs(A,ss,e.marginTop),this.marginRight=Zs(A,rs,e.marginRight),this.marginBottom=Zs(A,os,e.marginBottom),this.marginLeft=Zs(A,is,e.marginLeft),this.opacity=Zs(A,Es,e.opacity);var s=Zs(A,as,e.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=Zs(A,cs,e.overflowWrap),this.paddingTop=Zs(A,Bs,e.paddingTop),this.paddingRight=Zs(A,hs,e.paddingRight),this.paddingBottom=Zs(A,gs,e.paddingBottom),this.paddingLeft=Zs(A,ds,e.paddingLeft),this.paintOrder=Zs(A,Ns,e.paintOrder),this.position=Zs(A,ps,e.position),this.textAlign=Zs(A,us,e.textAlign),this.textDecorationColor=Zs(A,xs,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=Zs(A,Is,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=Zs(A,ws,e.textShadow),this.textTransform=Zs(A,Qs,e.textTransform),this.transform=Zs(A,Cs,e.transform),this.transformOrigin=Zs(A,ms,e.transformOrigin),this.visibility=Zs(A,ys,e.visibility),this.webkitTextStrokeColor=Zs(A,_s,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Zs(A,Xs,e.webkitTextStrokeWidth),this.wordBreak=Zs(A,bs,e.wordBreak),this.zIndex=Zs(A,vs,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return Mt(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return Ms(this.display,4)||Ms(this.display,33554432)||Ms(this.display,268435456)||Ms(this.display,536870912)||Ms(this.display,67108864)||Ms(this.display,134217728)},A}(),Ws=function(){return function(A,e){this.content=Zs(A,Os,e.content),this.quotes=Zs(A,Gs,e.quotes)}}(),Ys=function(){return function(A,e){this.counterIncrement=Zs(A,Ts,e.counterIncrement),this.counterReset=Zs(A,Ps,e.counterReset)}}(),Zs=function(A,e,t){var n=new lt,s=null!=t?t.toString():e.initialValue;n.write(s);var r=new Bt(n.read());switch(e.type){case 2:var o=r.parseComponentValue();return e.parse(A,dt(o)?o.value:e.initialValue);case 0:return e.parse(A,r.parseComponentValue());case 1:return e.parse(A,r.parseComponentValues());case 4:return r.parseComponentValue();case 3:switch(e.format){case"angle":return Kt(A,r.parseComponentValue());case"color":return Dt(A,r.parseComponentValue());case"image":return ln(A,r.parseComponentValue());case"length":var i=r.parseComponentValue();return Ut(i)?i:yt;case"length-percentage":var a=r.parseComponentValue();return Ft(a)?a:yt;case"time":return Hs(A,r.parseComponentValue())}}},zs=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},js=function(){return function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,zs(e,3),this.styles=new Js(A,window.getComputedStyle(e,null)),no(e)&&(this.styles.animationDuration.some(function(A){return A>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=FA(this.context,e),zs(e,4)&&(this.flags|=16)}}(),qs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ar="undefined"==typeof Uint8Array?[]:new Uint8Array(256),er=0;er<64;er++)Ar[qs.charCodeAt(er)]=er;for(var tr=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},nr=function(){function A(A,e,t,n,s,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=s,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),sr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),or=0;or<64;or++)rr[sr.charCodeAt(or)]=or;var ir,ar,cr=8,lr=9,Br=11,hr=12,gr=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 n=[],s=-1,r="";++s<t;){var o=A[s];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(s+1===t||n.length>16384)&&(r+=String.fromCharCode.apply(String,n),n.length=0)}return r},dr=function(A){var e=function(A){var e,t,n,s,r,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),l=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<i;e+=4)t=Ar[A.charCodeAt(e)],n=Ar[A.charCodeAt(e+1)],s=Ar[A.charCodeAt(e+2)],r=Ar[A.charCodeAt(e+3)],l[a++]=t<<2|n>>4,l[a++]=(15&n)<<4|s>>2,l[a++]=(3&s)<<6|63&r;return c}(A),t=Array.isArray(e)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(e):new Uint32Array(e),n=Array.isArray(e)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(e):new Uint16Array(e),s=tr(n,12,t[4]/2),r=2===t[5]?tr(n,(24+t[4])/2):function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(t,Math.ceil((24+t[4])/4));return new nr(t[0],t[1],t[2],t[3],s,r)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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AU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVA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AuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAA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A)},wr=function(A,e,t){var n=t-2,s=e[n],r=e[t-1],o=e[t];if(2===r&&3===o)return ur;if(2===r||3===r||4===r)return"÷";if(2===o||3===o||4===o)return"÷";if(r===cr&&-1!==[cr,lr,Br,hr].indexOf(o))return ur;if(!(r!==Br&&r!==lr||o!==lr&&10!==o))return ur;if((r===hr||10===r)&&10===o)return ur;if(13===o||5===o)return ur;if(7===o)return ur;if(1===r)return ur;if(13===r&&14===o){for(;5===s;)s=e[--n];if(14===s)return ur}if(15===r&&15===o){for(var i=0;15===s;)i++,s=e[--n];if(i%2==0)return ur}return"÷"},Qr=function(A){var e=function(A){for(var e=[],t=0,n=A.length;t<n;){var s=A.charCodeAt(t++);if(s>=55296&&s<=56319&&t<n){var r=A.charCodeAt(t++);56320==(64512&r)?e.push(((1023&s)<<10)+(1023&r)+65536):(e.push(s),t--)}else e.push(s)}return e}(A),t=e.length,n=0,s=0,r=e.map(pr);return{next:function(){if(n>=t)return{done:!0,value:null};for(var A=ur;n<t&&(A=wr(0,r,++n))===ur;);if(A!==ur||n===t){var o=gr.apply(null,e.slice(s,n));return s=n,{value:o,done:!1}}return{done:!0,value:null}}}},Cr=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},fr=function(A,e,t,n,s){var r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttributeNS(null,"width",A.toString()),o.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",n.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(s),o},Ur=function(A){return new Promise(function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},Fr={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var n=e.getBoundingClientRect(),s=Math.round(n.height);if(A.body.removeChild(t),123===s)return!0}}return!1}(document);return Object.defineProperty(Fr,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Fr.SUPPORT_RANGE_BOUNDS&&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="function"==typeof"".repeat?"&#128104;".repeat(10):"";var n=e.firstChild,s=mA(n.data).map(function(A){return yA(A)}),r=0,o={},i=s.every(function(A,e){t.setStart(n,r),t.setEnd(n,r+A.length);var s=t.getBoundingClientRect();r+=A.length;var i=s.x>o.x||s.y>o.y;return o=s,0===e||i});return A.body.removeChild(e),i}(document);return Object.defineProperty(Fr,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),t.toDataURL()}catch(s){return!1}return!0}(document);return Object.defineProperty(Fr,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,t,t);var s=new Image,r=e.toDataURL();s.src=r;var o=fr(t,t,0,0,s);return n.fillStyle="red",n.fillRect(0,0,t,t),Ur(o).then(function(e){n.drawImage(e,0,0);var s=n.getImageData(0,0,t,t).data;n.fillStyle="red",n.fillRect(0,0,t,t);var o=A.createElement("div");return o.style.backgroundImage="url("+r+")",o.style.height=t+"px",Cr(s)?Ur(fr(t,t,0,0,o)):Promise.reject(!1)}).then(function(A){return n.drawImage(A,0,0),Cr(n.getImageData(0,0,t,t).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Fr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(Fr,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Fr,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Fr,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Fr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},mr=function(){return function(A,e){this.text=A,this.bounds=e}}(),yr=function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var s=e.parentNode;if(s){s.replaceChild(n,e);var r=FA(A,n);return n.firstChild&&s.replaceChild(n.firstChild,n),r}}return UA.EMPTY},br=function(A,e,t){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var s=n.createRange();return s.setStart(A,e),s.setEnd(A,e+t),s},vr=function(A){if(Fr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(A){return A.segment})}return function(A){for(var e,t=Qr(A),n=[];!(e=t.next()).done;)e.value&&n.push(e.value.slice());return n}(A)},Hr=function(A,e){return 0!==e.letterSpacing?vr(A):function(A,e){if(Fr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(A){return A.segment})}return xr(A,e)}(A,e)},Er=[32,160,4961,65792,65793,4153,4241],xr=function(A,e){for(var t,n=function(A,e){var t=mA(A),n=Ee(t,e),s=n[0],r=n[1],o=n[2],i=t.length,a=0,c=0;return{next:function(){if(c>=i)return{done:!0,value:null};for(var A=ue;c<i&&(A=He(t,r,s,++c,o))===ue;);if(A!==ue||c===i){var e=new xe(t,A,a,c);return a=c,{value:e,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),s=[],r=function(){if(t.value){var A=t.value.slice(),e=mA(A),n="";e.forEach(function(A){-1===Er.indexOf(A)?n+=yA(A):(n.length&&s.push(n),s.push(yA(A)),n="")}),n.length&&s.push(n)}};!(t=n.next()).done;)r();return s},Ir=function(){return function(A,e,t){this.text=Kr(e.data,t.textTransform),this.textBounds=function(A,e,t,n){var s=Hr(e,t),r=[],o=0;return s.forEach(function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Fr.SUPPORT_RANGE_BOUNDS){var s=br(n,o,e.length).getClientRects();if(s.length>1){var i=vr(e),a=0;i.forEach(function(e){r.push(new mr(e,UA.fromDOMRectList(A,br(n,a+o,e.length).getClientRects()))),a+=e.length})}else r.push(new mr(e,UA.fromDOMRectList(A,s)))}else{var c=n.splitText(e.length);r.push(new mr(e,yr(A,n))),n=c}else Fr.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));o+=e.length}),r}(A,this.text,t,e)}}(),Kr=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(kr,Sr);case 2:return A.toUpperCase();default:return A}},kr=/(^|\s|:|-|\(|\))([a-z])/g,Sr=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Lr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return pA(e,A),e}(js),Dr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return pA(e,A),e}(js),Mr=function(A){function e(e,t){var n=A.call(this,e,t)||this,s=new XMLSerializer,r=FA(e,t);return t.setAttribute("width",r.width+"px"),t.setAttribute("height",r.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return pA(e,A),e}(js),Or=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return pA(e,A),e}(js),Tr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"==typeof t.reversed&&!0===t.reversed,n}return pA(e,A),e}(js),Pr=[{type:15,flags:0,unit:"px",number:3}],Rr=[{type:16,flags:0,number:50}],Gr="checkbox",Vr="radio",$r="password",Nr=707406591,_r=function(A){function e(e,t){var n,s,r,o=A.call(this,e,t)||this;switch(o.type=t.type.toLowerCase(),o.checked=t.checked,o.value=0===(s=(n=t).type===$r?new Array(n.value.length+1).join("•"):n.value).length?n.placeholder||"":s,o.type!==Gr&&o.type!==Vr||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=(r=o.bounds).width>r.height?new UA(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new UA(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),o.type){case Gr:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Pr;break;case Vr:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Rr}return o}return pA(e,A),e}(js),Xr=function(A){function e(e,t){var n=A.call(this,e,t)||this,s=t.options[t.selectedIndex||0];return n.value=s&&s.text||"",n}return pA(e,A),e}(js),Jr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return pA(e,A),e}(js),Wr=function(A){function e(e,t){var n=A.call(this,e,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=jr(e,t.contentWindow.document.documentElement);var s=t.contentWindow.document.documentElement?Nt(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):_t.TRANSPARENT,r=t.contentWindow.document.body?Nt(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):_t.TRANSPARENT;n.backgroundColor=Mt(s)?Mt(r)?n.styles.backgroundColor:r:s}}catch(o){}return n}return pA(e,A),e}(js),Yr=["OL","UL","MENU"],Zr=function(A,e,t,n){for(var s=e.firstChild,r=void 0;s;s=r)if(r=s.nextSibling,eo(s)&&s.data.trim().length>0)t.textNodes.push(new Ir(A,s,t.styles));else if(to(s))if(Qo(s)&&s.assignedNodes)s.assignedNodes().forEach(function(e){return Zr(A,e,t,n)});else{var o=zr(A,s);o.styles.isVisible()&&(qr(s,o,n)?o.flags|=4:Ao(o.styles)&&(o.flags|=2),-1!==Yr.indexOf(s.tagName)&&(o.flags|=8),t.elements.push(o),s.slot,s.shadowRoot?Zr(A,s.shadowRoot,o,n):po(s)||ao(s)||wo(s)||Zr(A,s,o,n))}},zr=function(A,e){return ho(e)?new Lr(A,e):lo(e)?new Dr(A,e):ao(e)?new Mr(A,e):ro(e)?new Or(A,e):oo(e)?new Tr(A,e):io(e)?new _r(A,e):wo(e)?new Xr(A,e):po(e)?new Jr(A,e):go(e)?new Wr(A,e):new js(A,e)},jr=function(A,e){var t=zr(A,e);return t.flags|=4,Zr(A,e,t,t),t},qr=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||co(A)&&t.styles.isTransparent()},Ao=function(A){return A.isPositioned()||A.isFloating()},eo=function(A){return A.nodeType===Node.TEXT_NODE},to=function(A){return A.nodeType===Node.ELEMENT_NODE},no=function(A){return to(A)&&void 0!==A.style&&!so(A)},so=function(A){return"object"==typeof A.className},ro=function(A){return"LI"===A.tagName},oo=function(A){return"OL"===A.tagName},io=function(A){return"INPUT"===A.tagName},ao=function(A){return"svg"===A.tagName},co=function(A){return"BODY"===A.tagName},lo=function(A){return"CANVAS"===A.tagName},Bo=function(A){return"VIDEO"===A.tagName},ho=function(A){return"IMG"===A.tagName},go=function(A){return"IFRAME"===A.tagName},uo=function(A){return"STYLE"===A.tagName},po=function(A){return"TEXTAREA"===A.tagName},wo=function(A){return"SELECT"===A.tagName},Qo=function(A){return"SLOT"===A.tagName},Co=function(A){return A.tagName.indexOf("-")>0},fo=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach(function(A){return e.counters[A].pop()})},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,s=!0;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(s=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)});var r=[];return s&&n.forEach(function(A){var t=e.counters[A.counter];r.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),r},A}(),Uo={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"]},Fo={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},mo={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},yo={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},bo=function(A,e,t,n,s,r){return A<e||A>t?Lo(A,s,r.length>0):n.integers.reduce(function(e,t,s){for(;A>=t;)A-=t,e+=n.values[s];return e},"")+r},vo=function(A,e,t,n){var s="";do{t||A--,s=n(A)+s,A/=e}while(A*e>=e);return s},Ho=function(A,e,t,n,s){var r=t-e+1;return(A<0?"-":"")+(vo(Math.abs(A),r,n,function(A){return yA(Math.floor(A%r)+e)})+s)},Eo=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return vo(Math.abs(A),n,!1,function(A){return e[Math.floor(A%n)]})+t},xo=function(A,e,t,n,s,r){if(A<-9999||A>9999)return Lo(A,4,s.length>0);var o=Math.abs(A),i=s;if(0===o)return e[0]+i;for(var a=0;o>0&&a<=4;a++){var c=o%10;0===c&&Ms(r,1)&&""!==i?i=e[c]+i:c>1||1===c&&0===a||1===c&&1===a&&Ms(r,2)||1===c&&1===a&&Ms(r,4)&&A>100||1===c&&a>1&&Ms(r,8)?i=e[c]+(a>0?t[a-1]:"")+i:1===c&&a>0&&(i=t[a-1]+i),o=Math.floor(o/10)}return(A<0?n:"")+i},Io="十百千萬",Ko="拾佰仟萬",ko="マイナス",So="마이너스",Lo=function(A,e,t){var n=t?". ":"",s=t?"、":"",r=t?", ":"",o=t?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var i=Ho(A,48,57,!0,n);return i.length<4?"0"+i:i;case 4:return Eo(A,"〇一二三四五六七八九",s);case 6:return bo(A,1,3999,Uo,3,n).toLowerCase();case 7:return bo(A,1,3999,Uo,3,n);case 8:return Ho(A,945,969,!1,n);case 9:return Ho(A,97,122,!1,n);case 10:return Ho(A,65,90,!1,n);case 11:return Ho(A,1632,1641,!0,n);case 12:case 49:return bo(A,1,9999,Fo,3,n);case 35:return bo(A,1,9999,Fo,3,n).toLowerCase();case 13:return Ho(A,2534,2543,!0,n);case 14:case 30:return Ho(A,6112,6121,!0,n);case 15:return Eo(A,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return Eo(A,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return xo(A,"零一二三四五六七八九",Io,"負",s,14);case 47:return xo(A,"零壹貳參肆伍陸柒捌玖",Ko,"負",s,15);case 42:return xo(A,"零一二三四五六七八九",Io,"负",s,14);case 41:return xo(A,"零壹贰叁肆伍陆柒捌玖",Ko,"负",s,15);case 26:return xo(A,"〇一二三四五六七八九","十百千万",ko,s,0);case 25:return xo(A,"零壱弐参四伍六七八九","拾百千万",ko,s,7);case 31:return xo(A,"영일이삼사오육칠팔구","십백천만",So,r,7);case 33:return xo(A,"零一二三四五六七八九","十百千萬",So,r,0);case 32:return xo(A,"零壹貳參四五六七八九","拾百千",So,r,7);case 18:return Ho(A,2406,2415,!0,n);case 20:return bo(A,1,19999,yo,3,n);case 21:return Ho(A,2790,2799,!0,n);case 22:return Ho(A,2662,2671,!0,n);case 22:return bo(A,1,10999,mo,3,n);case 23:return Eo(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Eo(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Ho(A,3302,3311,!0,n);case 28:return Eo(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return Eo(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return Ho(A,3792,3801,!0,n);case 37:return Ho(A,6160,6169,!0,n);case 38:return Ho(A,4160,4169,!0,n);case 39:return Ho(A,2918,2927,!0,n);case 40:return Ho(A,1776,1785,!0,n);case 43:return Ho(A,3046,3055,!0,n);case 44:return Ho(A,3174,3183,!0,n);case 45:return Ho(A,3664,3673,!0,n);case 46:return Ho(A,3872,3881,!0,n);default:return Ho(A,48,57,!0,n)}},Do="data-html2canvas-ignore",Mo=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new fo,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,n=Po(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,r=A.defaultView.pageYOffset,o=n.contentWindow,i=o.document,a=Vo(n).then(function(){return QA(t,0,void 0,function(){var A,t;return CA(this,function(s){switch(s.label){case 0:return this.scrolledElements.forEach(Jo),o&&(o.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||o.scrollY===e.top&&o.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:i.fonts&&i.fonts.ready?[4,i.fonts.ready]:[3,2];case 1:s.sent(),s.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Go(i)]:[3,4];case 3:s.sent(),s.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then(function(){return A(i,t)}).then(function(){return n})]:[2,n]}})})});return i.open(),i.write(_o(document.doctype)+"<html></html>"),Xo(this.referenceElement.ownerDocument,s,r),i.replaceChild(i.adoptNode(this.documentElement),i.documentElement),i.close(),a},A.prototype.createElementClone=function(A){if(zs(A,2),lo(A))return this.createCanvasClone(A);if(Bo(A))return this.createVideoClone(A);if(uo(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return ho(e)&&(ho(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Co(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return No(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce(function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),"SecurityError"!==s.name)throw s}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(a){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var s=A.getContext("2d"),r=n.getContext("2d");if(r)if(!this.options.allowTaint&&s)r.putImageData(s.getImageData(0,0,A.width,A.height),0,0);else{var o=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(o){var i=o.getContextAttributes();!1===(null==i?void 0:i.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}r.drawImage(A,0,0)}return n}catch(a){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(s){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){to(e)&&("SCRIPT"===e.tagName||e.hasAttribute(Do)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&to(e)&&uo(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,s=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;s;s=s.nextSibling)if(to(s)&&Qo(s)&&"function"==typeof s.assignedNodes){var r=s.assignedNodes();r.length&&r.forEach(function(A){return n.appendChildNode(e,A,t)})}else this.appendChildNode(e,s,t)},A.prototype.cloneNode=function(A,e){if(eo(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&to(A)&&(no(A)||so(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var s=t.getComputedStyle(A),r=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&no(n)&&(this.clonedReferenceElement=n),co(n)&&zo(n);var i=this.counters.parse(new Ys(this.context,s)),a=this.resolvePseudoContent(A,n,r,ir.BEFORE);Co(A)&&(e=!0),Bo(A)||this.cloneChildNodes(A,n,e),a&&n.insertBefore(a,n.firstChild);var c=this.resolvePseudoContent(A,n,o,ir.AFTER);return c&&n.appendChild(c),this.counters.pop(i),(s&&(this.options.copyStyles||so(A))&&!go(A)||e)&&No(s,n),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(po(A)||wo(A))&&(po(n)||wo(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var s=this;if(t){var r=t.content,o=e.ownerDocument;if(o&&r&&"none"!==r&&"-moz-alt-content"!==r&&"none"!==t.display){this.counters.parse(new Ys(this.context,t));var i=new Ws(this.context,t),a=o.createElement("html2canvaspseudoelement");No(t,a),i.content.forEach(function(e){if(0===e.type)a.appendChild(o.createTextNode(e.value));else if(22===e.type){var t=o.createElement("img");t.src=e.value,t.style.opacity="1",a.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(dt);n.length&&a.appendChild(o.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var r=e.values.filter(Qt),c=r[0],l=r[1];if(c&&dt(c)){var B=s.counters.getCounterValue(c.value),h=l&&dt(l)?ts.parse(s.context,l.value):3;a.appendChild(o.createTextNode(Lo(B,h,!1)))}}else if("counters"===e.name){var g=e.values.filter(Qt),d=(c=g[0],g[1]);l=g[2];if(c&&dt(c)){var u=s.counters.getCounterValues(c.value),p=l&&dt(l)?ts.parse(s.context,l.value):3,w=d&&0===d.type?d.value:"",Q=u.map(function(A){return Lo(A,p,!1)}).join(w);a.appendChild(o.createTextNode(Q))}}}else if(20===e.type)switch(e.value){case"open-quote":a.appendChild(o.createTextNode(Vs(i.quotes,s.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(Vs(i.quotes,--s.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(e.value))}}),a.className=Wo+" "+Yo;var c=n===ir.BEFORE?" "+Wo:" "+Yo;return so(e)?e.className.baseValue+=c:e.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(ar=ir||(ir={}))[ar.BEFORE=0]="BEFORE",ar[ar.AFTER=1]="AFTER";var Oo,To,Po=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(Do,"true"),A.body.appendChild(t),t},Ro=function(A){return new Promise(function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()})},Go=function(A){return Promise.all([].slice.call(A.images,0).map(Ro))},Vo=function(A){return new Promise(function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var s=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval(function(){s.body.childNodes.length>0&&"complete"===s.readyState&&(clearInterval(t),e(A))},50)}})},$o=["all","d","content"],No=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===$o.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},_o=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},Xo=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Jo=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},Wo="___html2canvas___pseudoelement_before",Yo="___html2canvas___pseudoelement_after",Zo='{\n content: "" !important;\n display: none !important;\n}',zo=function(A){jo(A,"."+Wo+":before"+Zo+"\n ."+Yo+":after"+Zo)},jo=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},qo=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}(),Ai=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:ii(A)||si(A)?((this._cache[A]=this.loadImage(A)).catch(function(){}),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return QA(this,0,void 0,function(){var e,t,n,s,r=this;return CA(this,function(o){switch(o.label){case 0:return e=qo.isSameOrigin(A),t=!ri(A)&&!0===this._options.useCORS&&Fr.SUPPORT_CORS_IMAGES&&!e,n=!ri(A)&&!e&&!ii(A)&&"string"==typeof this._options.proxy&&Fr.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||ri(A)||ii(A)||n||t?(s=A,n?[4,this.proxy(s)]:[3,2]):[2];case 1:s=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(oi(s)||t)&&(n.crossOrigin="anonymous"),n.src=s,!0===n.complete&&setTimeout(function(){return A(n)},500),r._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+r._options.imageTimeout+"ms) loading image")},r._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(s,r){var o=Fr.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=function(){if(200===i.status)if("text"===o)s(i.response);else{var A=new FileReader;A.addEventListener("load",function(){return s(A.result)},!1),A.addEventListener("error",function(A){return r(A)},!1),A.readAsDataURL(i.response)}else r("Failed to proxy resource "+n+" with status code "+i.status)},i.onerror=r;var a=t.indexOf("?")>-1?"&":"?";if(i.open("GET",""+t+a+"url="+encodeURIComponent(A)+"&responseType="+o),"text"!==o&&i instanceof XMLHttpRequest&&(i.responseType=o),e._options.imageTimeout){var c=e._options.imageTimeout;i.timeout=c,i.ontimeout=function(){return r("Timed out ("+c+"ms) proxying "+n)}}i.send()})},A}(),ei=/^data:image\/svg\+xml/i,ti=/^data:image\/.*;base64,/i,ni=/^data:image\/.*/i,si=function(A){return Fr.SUPPORT_SVG_DRAWING||!ai(A)},ri=function(A){return ni.test(A)},oi=function(A){return ti.test(A)},ii=function(A){return"blob"===A.substr(0,4)},ai=function(A){return"svg"===A.substr(-3).toLowerCase()||ei.test(A)},ci=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),li=function(A,e,t){return new ci(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Bi=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=li(this.start,this.startControl,e),s=li(this.startControl,this.endControl,e),r=li(this.endControl,this.end,e),o=li(n,s,e),i=li(s,r,e),a=li(o,i,e);return t?new A(this.start,n,o,a):new A(a,i,r,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}(),hi=function(A){return 1===A.type},gi=function(){return function(A){var e=A.styles,t=A.bounds,n=Ht(e.borderTopLeftRadius,t.width,t.height),s=n[0],r=n[1],o=Ht(e.borderTopRightRadius,t.width,t.height),i=o[0],a=o[1],c=Ht(e.borderBottomRightRadius,t.width,t.height),l=c[0],B=c[1],h=Ht(e.borderBottomLeftRadius,t.width,t.height),g=h[0],d=h[1],u=[];u.push((s+i)/t.width),u.push((g+l)/t.width),u.push((r+d)/t.height),u.push((a+B)/t.height);var p=Math.max.apply(Math,u);p>1&&(s/=p,r/=p,i/=p,a/=p,l/=p,B/=p,g/=p,d/=p);var w=t.width-i,Q=t.height-B,C=t.width-l,f=t.height-d,U=e.borderTopWidth,F=e.borderRightWidth,m=e.borderBottomWidth,y=e.borderLeftWidth,b=Et(e.paddingTop,A.bounds.width),v=Et(e.paddingRight,A.bounds.width),H=Et(e.paddingBottom,A.bounds.width),E=Et(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||r>0?di(t.left+y/3,t.top+U/3,s-y/3,r-U/3,Oo.TOP_LEFT):new ci(t.left+y/3,t.top+U/3),this.topRightBorderDoubleOuterBox=s>0||r>0?di(t.left+w,t.top+U/3,i-F/3,a-U/3,Oo.TOP_RIGHT):new ci(t.left+t.width-F/3,t.top+U/3),this.bottomRightBorderDoubleOuterBox=l>0||B>0?di(t.left+C,t.top+Q,l-F/3,B-m/3,Oo.BOTTOM_RIGHT):new ci(t.left+t.width-F/3,t.top+t.height-m/3),this.bottomLeftBorderDoubleOuterBox=g>0||d>0?di(t.left+y/3,t.top+f,g-y/3,d-m/3,Oo.BOTTOM_LEFT):new ci(t.left+y/3,t.top+t.height-m/3),this.topLeftBorderDoubleInnerBox=s>0||r>0?di(t.left+2*y/3,t.top+2*U/3,s-2*y/3,r-2*U/3,Oo.TOP_LEFT):new ci(t.left+2*y/3,t.top+2*U/3),this.topRightBorderDoubleInnerBox=s>0||r>0?di(t.left+w,t.top+2*U/3,i-2*F/3,a-2*U/3,Oo.TOP_RIGHT):new ci(t.left+t.width-2*F/3,t.top+2*U/3),this.bottomRightBorderDoubleInnerBox=l>0||B>0?di(t.left+C,t.top+Q,l-2*F/3,B-2*m/3,Oo.BOTTOM_RIGHT):new ci(t.left+t.width-2*F/3,t.top+t.height-2*m/3),this.bottomLeftBorderDoubleInnerBox=g>0||d>0?di(t.left+2*y/3,t.top+f,g-2*y/3,d-2*m/3,Oo.BOTTOM_LEFT):new ci(t.left+2*y/3,t.top+t.height-2*m/3),this.topLeftBorderStroke=s>0||r>0?di(t.left+y/2,t.top+U/2,s-y/2,r-U/2,Oo.TOP_LEFT):new ci(t.left+y/2,t.top+U/2),this.topRightBorderStroke=s>0||r>0?di(t.left+w,t.top+U/2,i-F/2,a-U/2,Oo.TOP_RIGHT):new ci(t.left+t.width-F/2,t.top+U/2),this.bottomRightBorderStroke=l>0||B>0?di(t.left+C,t.top+Q,l-F/2,B-m/2,Oo.BOTTOM_RIGHT):new ci(t.left+t.width-F/2,t.top+t.height-m/2),this.bottomLeftBorderStroke=g>0||d>0?di(t.left+y/2,t.top+f,g-y/2,d-m/2,Oo.BOTTOM_LEFT):new ci(t.left+y/2,t.top+t.height-m/2),this.topLeftBorderBox=s>0||r>0?di(t.left,t.top,s,r,Oo.TOP_LEFT):new ci(t.left,t.top),this.topRightBorderBox=i>0||a>0?di(t.left+w,t.top,i,a,Oo.TOP_RIGHT):new ci(t.left+t.width,t.top),this.bottomRightBorderBox=l>0||B>0?di(t.left+C,t.top+Q,l,B,Oo.BOTTOM_RIGHT):new ci(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=g>0||d>0?di(t.left,t.top+f,g,d,Oo.BOTTOM_LEFT):new ci(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||r>0?di(t.left+y,t.top+U,Math.max(0,s-y),Math.max(0,r-U),Oo.TOP_LEFT):new ci(t.left+y,t.top+U),this.topRightPaddingBox=i>0||a>0?di(t.left+Math.min(w,t.width-F),t.top+U,w>t.width+F?0:Math.max(0,i-F),Math.max(0,a-U),Oo.TOP_RIGHT):new ci(t.left+t.width-F,t.top+U),this.bottomRightPaddingBox=l>0||B>0?di(t.left+Math.min(C,t.width-y),t.top+Math.min(Q,t.height-m),Math.max(0,l-F),Math.max(0,B-m),Oo.BOTTOM_RIGHT):new ci(t.left+t.width-F,t.top+t.height-m),this.bottomLeftPaddingBox=g>0||d>0?di(t.left+y,t.top+Math.min(f,t.height-m),Math.max(0,g-y),Math.max(0,d-m),Oo.BOTTOM_LEFT):new ci(t.left+y,t.top+t.height-m),this.topLeftContentBox=s>0||r>0?di(t.left+y+E,t.top+U+b,Math.max(0,s-(y+E)),Math.max(0,r-(U+b)),Oo.TOP_LEFT):new ci(t.left+y+E,t.top+U+b),this.topRightContentBox=i>0||a>0?di(t.left+Math.min(w,t.width+y+E),t.top+U+b,w>t.width+y+E?0:i-y+E,a-(U+b),Oo.TOP_RIGHT):new ci(t.left+t.width-(F+v),t.top+U+b),this.bottomRightContentBox=l>0||B>0?di(t.left+Math.min(C,t.width-(y+E)),t.top+Math.min(Q,t.height+U+b),Math.max(0,l-(F+v)),B-(m+H),Oo.BOTTOM_RIGHT):new ci(t.left+t.width-(F+v),t.top+t.height-(m+H)),this.bottomLeftContentBox=g>0||d>0?di(t.left+y+E,t.top+f,Math.max(0,g-(y+E)),d-(m+H),Oo.BOTTOM_LEFT):new ci(t.left+y+E,t.top+t.height-(m+H))}}();(To=Oo||(Oo={}))[To.TOP_LEFT=0]="TOP_LEFT",To[To.TOP_RIGHT=1]="TOP_RIGHT",To[To.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",To[To.BOTTOM_LEFT=3]="BOTTOM_LEFT";var di=function(A,e,t,n,s){var r=(Math.sqrt(2)-1)/3*4,o=t*r,i=n*r,a=A+t,c=e+n;switch(s){case Oo.TOP_LEFT:return new Bi(new ci(A,c),new ci(A,c-i),new ci(a-o,e),new ci(a,e));case Oo.TOP_RIGHT:return new Bi(new ci(A,e),new ci(A+o,e),new ci(a,c-i),new ci(a,c));case Oo.BOTTOM_RIGHT:return new Bi(new ci(a,e),new ci(a,e+i),new ci(A+o,c),new ci(A,c));case Oo.BOTTOM_LEFT:default:return new Bi(new ci(a,c),new ci(a-o,c),new ci(A,e+i),new ci(A,e))}},ui=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},pi=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},wi=function(){return function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}}(),Qi=function(){return function(A,e){this.path=A,this.target=e,this.type=1}}(),Ci=function(){return function(A){this.opacity=A,this.type=2,this.target=6}}(),fi=function(A){return 1===A.type},Ui=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},Fi=function(){return function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),mi=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new gi(this.container),this.container.styles.opacity<1&&this.effects.push(new Ci(this.container.styles.opacity)),null!==this.container.styles.transform){var t=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 wi(t,n,s))}if(0!==this.container.styles.overflowX){var r=ui(this.curves),o=pi(this.curves);Ui(r,o)?this.effects.push(new Qi(r,6)):(this.effects.push(new Qi(r,2)),this.effects.push(new Qi(o,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);t;){var s=t.effects.filter(function(A){return!fi(A)});if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,s),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var r=ui(t.curves),o=pi(t.curves);Ui(r,o)||n.unshift(new Qi(o,6))}}else n.unshift.apply(n,s);t=t.parent}return n.filter(function(e){return Ms(e.target,A)})},A}(),yi=function(A,e,t,n){A.container.elements.forEach(function(s){var r=Ms(s.flags,4),o=Ms(s.flags,2),i=new mi(s,A);Ms(s.styles.display,2048)&&n.push(i);var a=Ms(s.flags,8)?[]:n;if(r||o){var c=r||s.styles.isPositioned()?t:e,l=new Fi(i);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){var B=s.styles.zIndex.order;if(B<0){var h=0;c.negativeZIndex.some(function(A,e){return B>A.element.container.styles.zIndex.order?(h=e,!1):h>0}),c.negativeZIndex.splice(h,0,l)}else if(B>0){var g=0;c.positiveZIndex.some(function(A,e){return B>=A.element.container.styles.zIndex.order?(g=e+1,!1):g>0}),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else s.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);yi(i,l,r?l:t,a)}else s.styles.isInlineLevel()?e.inlineLevel.push(i):e.nonInlineLevel.push(i),yi(i,e,t,a);Ms(s.flags,8)&&bi(s,a)})},bi=function(A,e){for(var t=A instanceof Tr?A.start:1,n=A instanceof Tr&&A.reversed,s=0;s<e.length;s++){var r=e[s];r.container instanceof Or&&"number"==typeof r.container.value&&0!==r.container.value&&(t=r.container.value),r.listValue=Lo(t,r.container.styles.listStyleType,!0),t+=n?-1:1}},vi=function(A,e){switch(e){case 0:return Ei(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return Ei(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return Ei(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return Ei(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Hi=function(A,e){var t=[];return hi(A)?t.push(A.subdivide(.5,!1)):t.push(A),hi(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},Ei=function(A,e,t,n){var s=[];return hi(A)?s.push(A.subdivide(.5,!1)):s.push(A),hi(t)?s.push(t.subdivide(.5,!0)):s.push(t),hi(n)?s.push(n.subdivide(.5,!0).reverse()):s.push(n),hi(e)?s.push(e.subdivide(.5,!1).reverse()):s.push(e),s},xi=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},Ii=function(A){var e=A.styles,t=A.bounds,n=Et(e.paddingLeft,t.width),s=Et(e.paddingRight,t.width),r=Et(e.paddingTop,t.width),o=Et(e.paddingBottom,t.width);return t.add(n+e.borderLeftWidth,r+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+s),-(e.borderTopWidth+e.borderBottomWidth+r+o))},Ki=function(A,e,t){var n,s,r=(n=Di(A.styles.backgroundOrigin,e),s=A,0===n?s.bounds:2===n?Ii(s):xi(s)),o=function(A,e){return 0===A?e.bounds:2===A?Ii(e):xi(e)}(Di(A.styles.backgroundClip,e),A),i=Li(Di(A.styles.backgroundSize,e),t,r),a=i[0],c=i[1],l=Ht(Di(A.styles.backgroundPosition,e),r.width-a,r.height-c);return[Mi(Di(A.styles.backgroundRepeat,e),l,i,r,o),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,c]},ki=function(A){return dt(A)&&A.value===Bn.AUTO},Si=function(A){return"number"==typeof A},Li=function(A,e,t){var n=e[0],s=e[1],r=e[2],o=A[0],i=A[1];if(!o)return[0,0];if(Ft(o)&&i&&Ft(i))return[Et(o,t.width),Et(i,t.height)];var a=Si(r);if(dt(o)&&(o.value===Bn.CONTAIN||o.value===Bn.COVER))return Si(r)?t.width/t.height<r!=(o.value===Bn.COVER)?[t.width,t.width/r]:[t.height*r,t.height]:[t.width,t.height];var c=Si(n),l=Si(s),B=c||l;if(ki(o)&&(!i||ki(i)))return c&&l?[n,s]:a||B?B&&a?[c?n:s*r,l?s:n/r]:[c?n:t.width,l?s:t.height]:[t.width,t.height];if(a){var h=0,g=0;return Ft(o)?h=Et(o,t.width):Ft(i)&&(g=Et(i,t.height)),ki(o)?h=g*r:i&&!ki(i)||(g=h/r),[h,g]}var d=null,u=null;if(Ft(o)?d=Et(o,t.width):i&&Ft(i)&&(u=Et(i,t.height)),null===d||i&&!ki(i)||(u=c&&l?d/n*s:t.height),null!==u&&ki(o)&&(d=c&&l?u/s*n:t.width),null!==d&&null!==u)return[d,u];throw new Error("Unable to calculate background-size for element")},Di=function(A,e){var t=A[e];return void 0===t?A[0]:t},Mi=function(A,e,t,n,s){var r=e[0],o=e[1],i=t[0],a=t[1];switch(A){case 2:return[new ci(Math.round(n.left),Math.round(n.top+o)),new ci(Math.round(n.left+n.width),Math.round(n.top+o)),new ci(Math.round(n.left+n.width),Math.round(a+n.top+o)),new ci(Math.round(n.left),Math.round(a+n.top+o))];case 3:return[new ci(Math.round(n.left+r),Math.round(n.top)),new ci(Math.round(n.left+r+i),Math.round(n.top)),new ci(Math.round(n.left+r+i),Math.round(n.height+n.top)),new ci(Math.round(n.left+r),Math.round(n.height+n.top))];case 1:return[new ci(Math.round(n.left+r),Math.round(n.top+o)),new ci(Math.round(n.left+r+i),Math.round(n.top+o)),new ci(Math.round(n.left+r+i),Math.round(n.top+o+a)),new ci(Math.round(n.left+r),Math.round(n.top+o+a))];default:return[new ci(Math.round(s.left),Math.round(s.top)),new ci(Math.round(s.left+s.width),Math.round(s.top)),new ci(Math.round(s.left+s.width),Math.round(s.height+s.top)),new ci(Math.round(s.left),Math.round(s.height+s.top))]}},Oi="Hidden Text",Ti=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),r=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",r.appendChild(t),n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=A,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(Oi)),t.appendChild(s),t.appendChild(n);var o=n.offsetTop-s.offsetTop+2;t.removeChild(s),t.appendChild(this._document.createTextNode(Oi)),t.style.lineHeight="normal",n.style.verticalAlign="super";var i=n.offsetTop-t.offsetTop+2;return r.removeChild(t),{baseline:o,middle:i}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return void 0===this._data[t]&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),Pi=function(){return function(A,e){this.context=A,this.options=e}}(),Ri=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new Ti(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return pA(e,A),e.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach(function(A){return e.applyEffect(A)})},e.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),fi(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return QA(this,0,void 0,function(){return CA(this,function(e){switch(e.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(A){return QA(this,0,void 0,function(){return CA(this,function(e){switch(e.label){case 0:return Ms(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(A,e,t){var n=this;0===e?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):vr(A.text).reduce(function(e,s){return n.ctx.fillText(s,e,A.bounds.top+t),e+n.ctx.measureText(s).width},A.bounds.left)},e.prototype.createFontStyle=function(A){var e=A.fontVariant.filter(function(A){return"normal"===A||"small-caps"===A}).join(""),t=_i(A.fontFamily).join(", "),n=ht(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,n,t].join(" "),t,n]},e.prototype.renderTextNode=function(A,e){return QA(this,0,void 0,function(){var t,n,s,r,o,i,a,c,l=this;return CA(this,function(B){return t=this.createFontStyle(e),n=t[0],s=t[1],r=t[2],this.ctx.font=n,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(s,r),i=o.baseline,a=o.middle,c=e.paintOrder,A.textBounds.forEach(function(A){c.forEach(function(t){switch(t){case 0:l.ctx.fillStyle=Ot(e.color),l.renderTextWithLetterSpacing(A,e.letterSpacing,i);var n=e.textShadow;n.length&&A.text.trim().length&&(n.slice(0).reverse().forEach(function(t){l.ctx.shadowColor=Ot(t.color),l.ctx.shadowOffsetX=t.offsetX.number*l.options.scale,l.ctx.shadowOffsetY=t.offsetY.number*l.options.scale,l.ctx.shadowBlur=t.blur.number,l.renderTextWithLetterSpacing(A,e.letterSpacing,i)}),l.ctx.shadowColor="",l.ctx.shadowOffsetX=0,l.ctx.shadowOffsetY=0,l.ctx.shadowBlur=0),e.textDecorationLine.length&&(l.ctx.fillStyle=Ot(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(e){switch(e){case 1:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+i),A.bounds.width,1);break;case 2:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:l.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+a),A.bounds.width,1)}}));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(l.ctx.strokeStyle=Ot(e.webkitTextStrokeColor),l.ctx.lineWidth=e.webkitTextStrokeWidth,l.ctx.lineJoin=window.chrome?"miter":"round",l.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+i)),l.ctx.strokeStyle="",l.ctx.lineWidth=0,l.ctx.lineJoin="miter"}})}),[2]})})},e.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var n=Ii(A),s=pi(e);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return QA(this,0,void 0,function(){var t,n,s,r,o,i,a,c,l,B,h,g,d,u,p,w,Q,C;return CA(this,function(f){switch(f.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,n=A.curves,s=t.styles,r=0,o=t.textNodes,f.label=1;case 1:return r<o.length?(i=o[r],[4,this.renderTextNode(i,s)]):[3,4];case 2:f.sent(),f.label=3;case 3:return r++,[3,1];case 4:if(!(t instanceof Lr))return[3,8];f.label=5;case 5:return f.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return p=f.sent(),this.renderReplacedElement(t,n,p),[3,8];case 7:return f.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Dr&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof Mr))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return p=f.sent(),this.renderReplacedElement(t,n,p),[3,12];case 11:return f.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Wr&&t.tree?[4,new e(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:a=f.sent(),t.width&&t.height&&this.ctx.drawImage(a,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),f.label=14;case 14:if(t instanceof _r&&(c=Math.min(t.bounds.width,t.bounds.height),t.type===Gr?t.checked&&(this.ctx.save(),this.path([new ci(t.bounds.left+.39363*c,t.bounds.top+.79*c),new ci(t.bounds.left+.16*c,t.bounds.top+.5549*c),new ci(t.bounds.left+.27347*c,t.bounds.top+.44071*c),new ci(t.bounds.left+.39694*c,t.bounds.top+.5649*c),new ci(t.bounds.left+.72983*c,t.bounds.top+.23*c),new ci(t.bounds.left+.84*c,t.bounds.top+.34085*c),new ci(t.bounds.left+.39363*c,t.bounds.top+.79*c)]),this.ctx.fillStyle=Ot(Nr),this.ctx.fill(),this.ctx.restore()):t.type===Vr&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+c/2,t.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=Ot(Nr),this.ctx.fill(),this.ctx.restore())),Gi(t)&&t.value.length){switch(l=this.createFontStyle(s),Q=l[0],B=l[1],h=this.fontMetrics.getMetrics(Q,B).baseline,this.ctx.font=Q,this.ctx.fillStyle=Ot(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=$i(t.styles.textAlign),C=Ii(t),g=0,t.styles.textAlign){case 1:g+=C.width/2;break;case 2:g+=C.width}d=C.add(g,0,0,-C.height/2+1),this.ctx.save(),this.path([new ci(C.left,C.top),new ci(C.left+C.width,C.top),new ci(C.left+C.width,C.top+C.height),new ci(C.left,C.top+C.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new mr(t.value,d),s.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ms(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(u=t.styles.listStyleImage).type)return[3,18];p=void 0,w=u.url,f.label=15;case 15:return f.trys.push([15,17,,18]),[4,this.context.cache.match(w)];case 16:return p=f.sent(),this.ctx.drawImage(p,t.bounds.left-(p.width+10),t.bounds.top),[3,18];case 17:return f.sent(),this.context.logger.error("Error loading list-style-image "+w),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(Q=this.createFontStyle(s)[0],this.ctx.font=Q,this.ctx.fillStyle=Ot(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",C=new UA(t.bounds.left,t.bounds.top+Et(t.styles.paddingTop,t.bounds.width),t.bounds.width,qn(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new mr(A.listValue,C),s.letterSpacing,qn(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),f.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(A){return QA(this,0,void 0,function(){var e,t,n,s,r,o,i,a,c,l,B,h,g,d,u;return CA(this,function(p){switch(p.label){case 0:return Ms(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:p.sent(),e=0,t=A.negativeZIndex,p.label=2;case 2:return e<t.length?(u=t[e],[4,this.renderStack(u)]):[3,5];case 3:p.sent(),p.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:p.sent(),n=0,s=A.nonInlineLevel,p.label=7;case 7:return n<s.length?(u=s[n],[4,this.renderNode(u)]):[3,10];case 8:p.sent(),p.label=9;case 9:return n++,[3,7];case 10:r=0,o=A.nonPositionedFloats,p.label=11;case 11:return r<o.length?(u=o[r],[4,this.renderStack(u)]):[3,14];case 12:p.sent(),p.label=13;case 13:return r++,[3,11];case 14:i=0,a=A.nonPositionedInlineLevel,p.label=15;case 15:return i<a.length?(u=a[i],[4,this.renderStack(u)]):[3,18];case 16:p.sent(),p.label=17;case 17:return i++,[3,15];case 18:c=0,l=A.inlineLevel,p.label=19;case 19:return c<l.length?(u=l[c],[4,this.renderNode(u)]):[3,22];case 20:p.sent(),p.label=21;case 21:return c++,[3,19];case 22:B=0,h=A.zeroOrAutoZIndexOrTransformedOrOpacity,p.label=23;case 23:return B<h.length?(u=h[B],[4,this.renderStack(u)]):[3,26];case 24:p.sent(),p.label=25;case 25:return B++,[3,23];case 26:g=0,d=A.positiveZIndex,p.label=27;case 27:return g<d.length?(u=d[g],[4,this.renderStack(u)]):[3,30];case 28:p.sent(),p.label=29;case 29:return g++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(A){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(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var e=this;A.forEach(function(A,t){var n=hi(A)?A.start:A;0===t?e.ctx.moveTo(n.x,n.y):e.ctx.lineTo(n.x,n.y),hi(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)})},e.prototype.renderRepeat=function(A,e,t,n){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,n),this.ctx.fill(),this.ctx.translate(-t,-n)},e.prototype.resizeImage=function(A,e,t){var n;if(A.width===e&&A.height===t)return A;var s=(null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document).createElement("canvas");return s.width=Math.max(1,e),s.height=Math.max(1,t),s.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,e,t),s},e.prototype.renderBackgroundImage=function(A){return QA(this,0,void 0,function(){var e,t,n,s,r,o;return CA(this,function(i){switch(i.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var s,r,o,i,a,c,l,B,h,g,d,u,p,w,Q,C,f,U,F,m,y,b,v,H,E,x,I,K,k,S,L;return CA(this,function(D){switch(D.label){case 0:if(0!==t.type)return[3,5];s=void 0,r=t.url,D.label=1;case 1:return D.trys.push([1,3,,4]),[4,n.context.cache.match(r)];case 2:return s=D.sent(),[3,4];case 3:return D.sent(),n.context.logger.error("Error loading background-image "+r),[3,4];case 4:return s&&(o=Ki(A,e,[s.width,s.height,s.width/s.height]),C=o[0],b=o[1],v=o[2],F=o[3],m=o[4],w=n.ctx.createPattern(n.resizeImage(s,F,m),"repeat"),n.renderRepeat(C,w,b,v)),[3,6];case 5:1===t.type?(i=Ki(A,e,[null,null,null]),C=i[0],b=i[1],v=i[2],F=i[3],m=i[4],a=Zt(t.angle,F,m),c=a[0],l=a[1],B=a[2],h=a[3],g=a[4],(d=document.createElement("canvas")).width=F,d.height=m,u=d.getContext("2d"),p=u.createLinearGradient(l,h,B,g),Yt(t.stops,c).forEach(function(A){return p.addColorStop(A.stop,Ot(A.color))}),u.fillStyle=p,u.fillRect(0,0,F,m),F>0&&m>0&&(w=n.ctx.createPattern(d,"repeat"),n.renderRepeat(C,w,b,v))):function(A){return 2===A.type}(t)&&(Q=Ki(A,e,[null,null,null]),C=Q[0],f=Q[1],U=Q[2],F=Q[3],m=Q[4],y=0===t.position.length?[bt]:t.position,b=Et(y[0],F),v=Et(y[y.length-1],m),H=function(A,e,t,n,s){var r=0,o=0;switch(A.size){case 0:0===A.shape?r=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-s)):1===A.shape&&(r=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(t),Math.abs(t-s)));break;case 2:if(0===A.shape)r=o=Math.min(zt(e,t),zt(e,t-s),zt(e-n,t),zt(e-n,t-s));else if(1===A.shape){var i=Math.min(Math.abs(t),Math.abs(t-s))/Math.min(Math.abs(e),Math.abs(e-n)),a=jt(n,s,e,t,!0),c=a[0],l=a[1];o=i*(r=zt(c-e,(l-t)/i))}break;case 1:0===A.shape?r=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-s)):1===A.shape&&(r=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(t),Math.abs(t-s)));break;case 3:if(0===A.shape)r=o=Math.max(zt(e,t),zt(e,t-s),zt(e-n,t),zt(e-n,t-s));else if(1===A.shape){i=Math.max(Math.abs(t),Math.abs(t-s))/Math.max(Math.abs(e),Math.abs(e-n));var B=jt(n,s,e,t,!1);c=B[0],l=B[1],o=i*(r=zt(c-e,(l-t)/i))}}return Array.isArray(A.size)&&(r=Et(A.size[0],n),o=2===A.size.length?Et(A.size[1],s):r),[r,o]}(t,b,v,F,m),E=H[0],x=H[1],E>0&&x>0&&(I=n.ctx.createRadialGradient(f+b,U+v,0,f+b,U+v,E),Yt(t.stops,2*E).forEach(function(A){return I.addColorStop(A.stop,Ot(A.color))}),n.path(C),n.ctx.fillStyle=I,E!==x?(K=A.bounds.left+.5*A.bounds.width,k=A.bounds.top+.5*A.bounds.height,L=1/(S=x/E),n.ctx.save(),n.ctx.translate(K,k),n.ctx.transform(1,0,0,S,0,0),n.ctx.translate(-K,-k),n.ctx.fillRect(f,L*(U-k)+k,F,m*L),n.ctx.restore()):n.ctx.fill())),D.label=6;case 6:return e--,[2]}})},n=this,s=0,r=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return s<r.length?(o=r[s],[5,t(o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(A,e,t){return QA(this,0,void 0,function(){return CA(this,function(n){return this.path(vi(t,e)),this.ctx.fillStyle=Ot(A),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(A,e,t,n){return QA(this,0,void 0,function(){var s,r;return CA(this,function(o){switch(o.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,n)]:[3,2];case 1:return o.sent(),[2];case 2:return s=function(A,e){switch(e){case 0:return Ei(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return Ei(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return Ei(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return Ei(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(n,t),this.path(s),this.ctx.fillStyle=Ot(A),this.ctx.fill(),r=function(A,e){switch(e){case 0:return Ei(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return Ei(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return Ei(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return Ei(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(n,t),this.path(r),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(A){return QA(this,0,void 0,function(){var e,t,n,s,r,o,i,a,c=this;return CA(this,function(l){switch(l.label){case 0:return this.applyEffects(A.getEffects(2)),e=A.container.styles,t=!Mt(e.backgroundColor)||e.backgroundImage.length,n=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],s=Vi(Di(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),Mt(e.backgroundColor)||(this.ctx.fillStyle=Ot(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:l.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(function(e){c.ctx.save();var t,n,s,r,o,i=ui(A.curves),a=e.inset?0:1e4,l=(t=i,n=-a+(e.inset?1:-1)*e.spread.number,s=(e.inset?1:-1)*e.spread.number,r=e.spread.number*(e.inset?-2:2),o=e.spread.number*(e.inset?-2:2),t.map(function(A,e){switch(e){case 0:return A.add(n,s);case 1:return A.add(n+r,s);case 2:return A.add(n+r,s+o);case 3:return A.add(n,s+o)}return A}));e.inset?(c.path(i),c.ctx.clip(),c.mask(l)):(c.mask(i),c.ctx.clip(),c.path(l)),c.ctx.shadowOffsetX=e.offsetX.number+a,c.ctx.shadowOffsetY=e.offsetY.number,c.ctx.shadowColor=Ot(e.color),c.ctx.shadowBlur=e.blur.number,c.ctx.fillStyle=e.inset?Ot(e.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),l.label=2;case 2:r=0,o=0,i=n,l.label=3;case 3:return o<i.length?0!==(a=i[o]).style&&!Mt(a.color)&&a.width>0?2!==a.style?[3,5]:[4,this.renderDashedDottedBorder(a.color,a.width,r,A.curves,2)]:[3,11]:[3,13];case 4:return l.sent(),[3,11];case 5:return 3!==a.style?[3,7]:[4,this.renderDashedDottedBorder(a.color,a.width,r,A.curves,3)];case 6:return l.sent(),[3,11];case 7:return 4!==a.style?[3,9]:[4,this.renderDoubleBorder(a.color,a.width,r,A.curves)];case 8:return l.sent(),[3,11];case 9:return[4,this.renderSolidBorder(a.color,r,A.curves)];case 10:l.sent(),l.label=11;case 11:r++,l.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,e,t,n,s){return QA(this,0,void 0,function(){var r,o,i,a,c,l,B,h,g,d,u,p,w,Q,C,f;return CA(this,function(U){return this.ctx.save(),r=function(A,e){switch(e){case 0:return Hi(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Hi(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Hi(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Hi(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(n,t),o=vi(n,t),2===s&&(this.path(o),this.ctx.clip()),hi(o[0])?(i=o[0].start.x,a=o[0].start.y):(i=o[0].x,a=o[0].y),hi(o[1])?(c=o[1].end.x,l=o[1].end.y):(c=o[1].x,l=o[1].y),B=0===t||2===t?Math.abs(i-c):Math.abs(a-l),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(o.slice(0,2)),h=e<3?3*e:2*e,g=e<3?2*e:e,3===s&&(h=e,g=e),d=!0,B<=2*h?d=!1:B<=2*h+g?(h*=u=B/(2*h+g),g*=u):(p=Math.floor((B+g)/(h+g)),w=(B-p*h)/(p-1),g=(Q=(B-(p+1)*h)/p)<=0||Math.abs(g-w)<Math.abs(g-Q)?w:Q),d&&(3===s?this.ctx.setLineDash([0,h+g]):this.ctx.setLineDash([h,g])),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=Ot(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(hi(o[0])&&(C=o[3],f=o[0],this.ctx.beginPath(),this.formatPath([new ci(C.end.x,C.end.y),new ci(f.start.x,f.start.y)]),this.ctx.stroke()),hi(o[1])&&(C=o[1],f=o[2],this.ctx.beginPath(),this.formatPath([new ci(C.end.x,C.end.y),new ci(f.start.x,f.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(A){return QA(this,0,void 0,function(){var e;return CA(this,function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Ot(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=new mi(A,null),s=new Fi(n),yi(n,s,s,r=[]),bi(n.container,r),e=s,[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}var n,s,r})})},e}(Pi),Gi=function(A){return A instanceof Jr||(A instanceof Xr||A instanceof _r&&A.type!==Vr&&A.type!==Gr)},Vi=function(A,e){switch(A){case 0:return ui(e);case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(e);default:return pi(e)}},$i=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},Ni=["-apple-system","system-ui"],_i=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(A){return-1===Ni.indexOf(A)}):A},Xi=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return pA(e,A),e.prototype.render=function(A){return QA(this,0,void 0,function(){var e,t;return CA(this,function(n){switch(n.label){case 0:return e=fr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,Ji(e)];case 1:return t=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Ot(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(Pi),Ji=function(A){return new Promise(function(e,t){var n=new Image;n.onload=function(){e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},Wi=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,fA([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,fA([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,fA([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,fA([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),Yi=function(){function A(e,t){var n;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Wi({id:this.instanceName,enabled:e.logging}),this.cache=null!==(n=e.cache)&&void 0!==n?n:new Ai(this,e)}return A.instanceCount=1,A}();"undefined"!=typeof window&&qo.setContext(window);var Zi=function(A,e){return QA(void 0,0,void 0,function(){var t,n,s,r,o,i,a,c,l,B,h,g,d,u,p,w,Q,C,f,U,F,m,y,b,v,H,E,x,I,K,k,S,L,D,M,O,T,P;return CA(this,function(R){switch(R.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(t=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(n=t.defaultView))throw new Error("Document is not attached to a Window");return s={allowTaint:null!==(m=e.allowTaint)&&void 0!==m&&m,imageTimeout:null!==(y=e.imageTimeout)&&void 0!==y?y:15e3,proxy:e.proxy,useCORS:null!==(b=e.useCORS)&&void 0!==b&&b},r=wA({logging:null===(v=e.logging)||void 0===v||v,cache:e.cache},s),o={windowWidth:null!==(H=e.windowWidth)&&void 0!==H?H:n.innerWidth,windowHeight:null!==(E=e.windowHeight)&&void 0!==E?E:n.innerHeight,scrollX:null!==(x=e.scrollX)&&void 0!==x?x:n.pageXOffset,scrollY:null!==(I=e.scrollY)&&void 0!==I?I:n.pageYOffset},i=new UA(o.scrollX,o.scrollY,o.windowWidth,o.windowHeight),a=new Yi(r,i),c=null!==(K=e.foreignObjectRendering)&&void 0!==K&&K,l={allowTaint:null!==(k=e.allowTaint)&&void 0!==k&&k,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:c,copyStyles:c},a.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),B=new Mo(a,A,l),(h=B.clonedReferenceElement)?[4,B.toIFrame(t,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=R.sent(),d=co(h)||"HTML"===h.tagName?function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),s=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new UA(0,0,n,s)}(h.ownerDocument):FA(a,h),u=d.width,p=d.height,w=d.left,Q=d.top,C=zi(a,h,e.backgroundColor),f={canvas:e.canvas,backgroundColor:C,scale:null!==(L=null!==(S=e.scale)&&void 0!==S?S:n.devicePixelRatio)&&void 0!==L?L:1,x:(null!==(D=e.x)&&void 0!==D?D:0)+w,y:(null!==(M=e.y)&&void 0!==M?M:0)+Q,width:null!==(O=e.width)&&void 0!==O?O:Math.ceil(u),height:null!==(T=e.height)&&void 0!==T?T:Math.ceil(p)},c?(a.logger.debug("Document cloned, using foreign object rendering"),[4,new Xi(a,f).render(h)]):[3,3];case 2:return U=R.sent(),[3,5];case 3:return a.logger.debug("Document cloned, element located at "+w+","+Q+" with size "+u+"x"+p+" using computed rendering"),a.logger.debug("Starting DOM parsing"),F=jr(a,h),C===F.styles.backgroundColor&&(F.styles.backgroundColor=_t.TRANSPARENT),a.logger.debug("Starting renderer for element at "+f.x+","+f.y+" with size "+f.width+"x"+f.height),[4,new Ri(a,f).render(F)];case 4:U=R.sent(),R.label=5;case 5:return(null===(P=e.removeContainer)||void 0===P||P)&&(Mo.destroy(g)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,U]}})})},zi=function(A,e,t){var n=e.ownerDocument,s=n.documentElement?Nt(A,getComputedStyle(n.documentElement).backgroundColor):_t.TRANSPARENT,r=n.body?Nt(A,getComputedStyle(n.body).backgroundColor):_t.TRANSPARENT,o="string"==typeof t?Nt(A,t):null===t?_t.TRANSPARENT:4294967295;return e===n.documentElement?Mt(s)?Mt(r)?o:r:s:o};class ji{constructor(A){this.ws=null,this.handlers=new Map,this.reconnectAttempts=0,this.maxReconnectAttempts=10,this.reconnectTimer=null,this.maxAttemptsReached=!1,this.messageQueue=[],this.maxQueueSize=10,this.url=A}connect(){if(this.ws?.readyState!==WebSocket.OPEN)try{this.ws=new WebSocket(this.url),this.ws.onopen=()=>{this.reconnectAttempts=0,this.maxAttemptsReached=!1,this.emit("open"),this.flushMessageQueue()},this.ws.onclose=()=>{this.emit("close"),this.scheduleReconnect()},this.ws.onerror=()=>{this.emit("error")},this.ws.onmessage=A=>{try{const e=JSON.parse(A.data);this.emit("message",e)}catch{console.warn("ZingIt: Invalid WebSocket message")}}}catch(A){console.error("ZingIt: WebSocket connection failed",A),this.scheduleReconnect()}}scheduleReconnect(){if(null!==this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.maxAttemptsReached)return;if(this.reconnectAttempts>=this.maxReconnectAttempts)return this.maxAttemptsReached=!0,void this.emit("max_attempts");const A=Math.min(1e3*Math.pow(2,this.reconnectAttempts),3e4);this.reconnectAttempts++,console.log(`ZingIt: Reconnecting in ${A/1e3}s (attempt ${this.reconnectAttempts}/${this.maxReconnectAttempts})`),this.reconnectTimer=window.setTimeout(()=>{this.connect()},A)}forceReconnect(){this.reconnectAttempts=0,this.maxAttemptsReached=!1,this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.connect()}disconnect(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.maxAttemptsReached=!0;for(const A of this.messageQueue)A.onFail?.();this.messageQueue=[],this.ws&&(this.ws.close(),this.ws=null)}send(A,e){if(this.ws?.readyState!==WebSocket.OPEN)return console.warn("ZingIt: WebSocket not connected"),e?.retry&&this.queueMessage(A,e.maxRetries??3,e.onFail),!1;try{return this.ws.send(JSON.stringify(A)),!0}catch(t){return console.warn("ZingIt: Failed to send message",t),e?.retry&&this.queueMessage(A,e.maxRetries??3,e.onFail),!1}}queueMessage(A,e,t){if(this.messageQueue.length>=this.maxQueueSize){const A=this.messageQueue.shift();A?.onFail?.(),console.warn("ZingIt: Message queue full, dropped oldest message")}this.messageQueue.push({message:A,retries:0,maxRetries:e,onFail:t})}flushMessageQueue(){const A=[...this.messageQueue];this.messageQueue=[];for(const e of A)if(this.ws?.readyState===WebSocket.OPEN)try{this.ws.send(JSON.stringify(e.message))}catch{e.retries++,e.retries<e.maxRetries?this.messageQueue.push(e):(e.onFail?.(),console.warn("ZingIt: Message dropped after max retries"))}else e.retries++,e.retries<e.maxRetries?this.messageQueue.push(e):e.onFail?.()}sendBatch(A,e,t,n){const s={type:"batch",data:e?{...A,projectDir:e}:A};return t&&(s.agent=t),this.send(s,{retry:!0,maxRetries:3,onFail:n})}sendMessage(A){this.send({type:"message",content:A})}sendReset(){this.send({type:"reset"})}sendStop(){this.send({type:"stop"})}requestAgents(){this.send({type:"get_agents"})}selectAgent(A){this.send({type:"select_agent",agent:A})}on(A,e){this.handlers.has(A)||this.handlers.set(A,new Set),this.handlers.get(A).add(e)}off(A,e){this.handlers.get(A)?.delete(e)}emit(A,e){this.handlers.get(A)?.forEach(A=>A(e))}get isConnected(){return this.ws?.readyState===WebSocket.OPEN}get isMaxAttemptsReached(){return this.maxAttemptsReached}setUrl(A){this.url=A}}function qi(A){if(A.parentElement)return A.parentElement;const e=A.getRootNode();return e instanceof ShadowRoot?e.host:null}function Aa(A){const e=A.getRootNode();return e instanceof ShadowRoot?e.host:null}function ea(A){const e=Aa(A);if(e){return`${ea(e)} >>> ${ta(A,e.shadowRoot)}`}return A.id?`#${CSS.escape(A.id)}`:ta(A,document)}function ta(A,e){if(A.id)return`#${CSS.escape(A.id)}`;const t=[];let n=A;const s=e instanceof Document?document.documentElement:e.host;for(;n&&n!==s;){let s=n.tagName.toLowerCase();if(n.classList.length>0){s+=Array.from(n.classList).filter(A=>!A.startsWith("zing-")).slice(0,2).map(A=>`.${CSS.escape(A)}`).join("")}const r=n.parentElement;if(r){const A=n.tagName,e=Array.from(r.children).filter(e=>e.tagName===A);if(e.length>1){s+=`:nth-of-type(${e.indexOf(n)+1})`}}t.unshift(s);const o=t.join(" > ");try{const t=e.querySelectorAll(o);if(1===t.length&&t[0]===A)return o}catch{}n=n.parentElement}return t.join(" > ")}function na(A){const e=A.tagName.toLowerCase(),t=Aa(A),n=t?`${t.tagName.toLowerCase()} > `:"";if(A.id)return`${n}#${A.id}`;const s=Array.from(A.classList).filter(A=>!A.startsWith("zing-")).find(A=>A.length>2&&!A.match(/^[a-z]{1,2}$/));if(s)return`${n}.${s}`;const r=A.textContent?.trim().slice(0,20);return r?`${n}${e}: "${r}${r.length>=20?"...":""}"`:`${n}${e}`}function sa(A,e=2){const t=[];let n=qi(A);for(let s=0;s<e&&n&&n!==document.body;s++){const A=n.tagName.toLowerCase(),e=n.id?`#${n.id}`:"",s=Array.from(n.classList).filter(A=>!A.startsWith("zing-")).slice(0,2).map(A=>`.${A}`).join(""),r=null!==n.shadowRoot?" (shadow-host)":"";t.push(`${A}${e}${s}${r}`),n=qi(n)}return t.join(" > ")}function ra(A){const e=A.parentElement;if(!e)return"";const t=Array.from(e.children),n=t.indexOf(A),s=t.length;if(1===s)return"Only child element";const r=t.map((A,e)=>{const t=A.tagName.toLowerCase(),s=A.textContent?.trim()||"";return` ${e+1}. <${t}>${s.slice(0,30)}${s.length>30?"...":""}</${t}>${e===n?" ← THIS ONE":""}`}).join("\n");return`Position ${n+1} of ${s} in parent:\n${r}`}function oa(A,e=1e3){try{const t=A.parentElement;if(!t||t===document.body)return"";const n=t.cloneNode(!0),s=Array.from(t.children).indexOf(A),r=Array.from(n.children);if(s>=0&&s<r.length){r[s].setAttribute("data-zingit-target","true")}n.querySelectorAll("script").forEach(A=>A.remove());let o=n.outerHTML;return o.length>e&&(o=o.slice(0,e)+"\n\x3c!-- ... truncated ... --\x3e"),o}catch{return""}}function ia(A,e=200){const t=A.textContent?.trim()||"";return t.length<=e?t:t.slice(0,e)+"..."}function aa(A,e=500){const t=A.cloneNode(!0);t.querySelectorAll("script").forEach(A=>A.remove());let n=t.outerHTML;if(n.length>e){const A=n.match(/^<[^>]+>/)?.[0]||"",t=n.match(/<\/[^>]+>$/)?.[0]||"",s=n.slice(A.length,n.length-t.length);s.length>e-A.length-t.length-10&&(n=A+s.slice(0,e-A.length-t.length-10)+"..."+t)}return n}const ca="zingit_annotations",la="zingit_settings",Ba="zingit_active",ha="zingit_toolbar_position",ga="zingit_response_state";function da(A){try{const e={url:window.location.href,annotations:A,timestamp:Date.now()};localStorage.setItem(ca,JSON.stringify(e))}catch(e){console.warn("ZingIt: Failed to save annotations",e)}}const ua={wsUrl:"ws://localhost:3000",highlightColor:"#fbbf24",markerColor:"#3b82f6",processingColor:"#ef4444",completedColor:"#22c55e",projectDir:"",playSoundOnComplete:!0,selectedAgent:"",autoRefresh:!1,showUndoBar:!0,undoBarTimeout:1e4};function pa(A){try{localStorage.setItem(la,JSON.stringify(A))}catch(e){console.warn("ZingIt: Failed to save settings",e)}}function wa(){try{const A=localStorage.getItem(la);if(!A)return ua;const e=JSON.parse(A);return{...ua,...e}}catch{return ua}}function Qa(A){const e=A.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height,bottom:e.bottom,right:e.right}}var Ca=Object.defineProperty,fa=Object.getOwnPropertyDescriptor,Ua=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?fa(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Ca(e,t,r),r};let Fa=class extends iA{constructor(){super(...arguments),this.active=!0,this.connected=!1,this.processing=!1,this.maxAttemptsReached=!1,this.annotationCount=0,this.canUndo=!1,this.agent="",this.model="",this.responseOpen=!1,this.historyOpen=!1}render(){const A=this.maxAttemptsReached?"error":this.processing?"processing":this.connected?"connected":"",e=this.maxAttemptsReached?"Disconnected":this.processing?"Processing...":this.connected?`${this.agent||"Agent"}`:"Connecting...";return $`
2
+ <div class="toolbar">
3
+ <div class="drag-handle" title="Drag to move (double-click to reset)" @mousedown=${this.handleDragStart} @dblclick=${this.handleDragReset}>
4
+ <svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor">
5
+ <circle cx="3" cy="3" r="1.5"/>
6
+ <circle cx="9" cy="3" r="1.5"/>
7
+ <circle cx="3" cy="8" r="1.5"/>
8
+ <circle cx="9" cy="8" r="1.5"/>
9
+ <circle cx="3" cy="13" r="1.5"/>
10
+ <circle cx="9" cy="13" r="1.5"/>
11
+ </svg>
12
+ </div>
13
+
14
+ <button
15
+ class="btn-toggle ${this.active?"":"inactive"}"
16
+ title="${this.active?"Pause annotation mode":"Resume annotation mode"}"
17
+ @click=${this.handleToggle}
18
+ >
19
+ ${this.active?"ON":"OFF"}
20
+ </button>
21
+
22
+ <div class="divider"></div>
23
+
24
+ <div
25
+ class="status ${this.connected&&this.agent?"clickable":""}"
26
+ title="${this.connected&&this.agent?"Change AI agent":""}"
27
+ @click=${this.handleAgentClick}
28
+ >
29
+ <span class="status-dot ${A}"></span>
30
+ <span>${e}</span>
31
+ </div>
32
+
33
+ <div class="divider"></div>
34
+
35
+ <div class="count">
36
+ ${this.annotationCount} annotation${1!==this.annotationCount?"s":""}
37
+ </div>
38
+
39
+ <div class="divider"></div>
40
+
41
+ ${this.maxAttemptsReached?$`
42
+ <button
43
+ class="btn-reconnect"
44
+ @click=${this.handleReconnect}
45
+ >
46
+ Reconnect
47
+ </button>
48
+ `:$`
49
+ <button
50
+ class="btn-icon ${this.responseOpen?"active":""}"
51
+ ?disabled=${!this.connected}
52
+ title="${this.annotationCount>0&&!this.processing?`Send to ${this.agent?this.agent.charAt(0).toUpperCase()+this.agent.slice(1):"Agent"}`:this.responseOpen?"Hide agent panel":"Show agent panel"}"
53
+ @click=${this.handleAgentButton}
54
+ >
55
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
56
+ <!-- Robot head -->
57
+ <rect x="5" y="8" width="14" height="12" rx="2"/>
58
+ <!-- Eyes -->
59
+ <circle cx="9" cy="13" r="1.5" fill="currentColor" stroke="none"/>
60
+ <circle cx="15" cy="13" r="1.5" fill="currentColor" stroke="none"/>
61
+ <!-- Antenna -->
62
+ <line x1="12" y1="8" x2="12" y2="4"/>
63
+ <circle cx="12" cy="3" r="1"/>
64
+ <!-- Mouth -->
65
+ <line x1="9" y1="17" x2="15" y2="17"/>
66
+ </svg>
67
+ </button>
68
+ `}
69
+
70
+ <div class="divider"></div>
71
+
72
+ <button
73
+ class="btn-icon"
74
+ ?disabled=${!this.canUndo}
75
+ title="Undo (Ctrl+Z)"
76
+ @click=${this.handleUndo}
77
+ >
78
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
79
+ <path d="M3 7v6h6"/>
80
+ <path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6.36 2.64L3 13"/>
81
+ </svg>
82
+ </button>
83
+
84
+ <button
85
+ class="btn-icon ${this.historyOpen?"active":""}"
86
+ title="Change History"
87
+ @click=${this.handleHistory}
88
+ >
89
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
90
+ <circle cx="12" cy="12" r="10"/>
91
+ <polyline points="12 6 12 12 16 14"/>
92
+ </svg>
93
+ </button>
94
+
95
+ <button
96
+ class="btn-icon"
97
+ ?disabled=${0===this.annotationCount}
98
+ title="Copy annotations as Markdown"
99
+ @click=${this.handleExport}
100
+ >
101
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
102
+ <rect x="8" y="8" width="12" height="14" rx="2"/>
103
+ <path d="M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h2"/>
104
+ </svg>
105
+ </button>
106
+
107
+ <button
108
+ class="btn-icon"
109
+ ?disabled=${0===this.annotationCount}
110
+ title="Clear all annotations"
111
+ @click=${this.handleClear}
112
+ >
113
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
114
+ <path d="M5 21h14"/>
115
+ <path d="M12 17V3"/>
116
+ <path d="M8 21c0-4 1.5-7 4-7s4 3 4 7"/>
117
+ <path d="M6 21c0-5 2-9 6-9s6 4 6 9"/>
118
+ </svg>
119
+ </button>
120
+
121
+ <div class="divider"></div>
122
+
123
+ <button
124
+ class="btn-icon"
125
+ title="Help"
126
+ @click=${this.handleHelp}
127
+ >
128
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
129
+ <circle cx="12" cy="12" r="10"/>
130
+ <path d="M9.5 9a2.5 2.5 0 1 1 3 2.4 1.5 1.5 0 0 0-.5 1.1v.5"/>
131
+ <circle cx="12" cy="17" r=".5" fill="currentColor"/>
132
+ </svg>
133
+ </button>
134
+
135
+ <button
136
+ class="btn-icon"
137
+ title="Settings"
138
+ @click=${this.handleSettings}
139
+ >
140
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
141
+ <circle cx="12" cy="12" r="3"/>
142
+ <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 .33-1.82 1.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 1.82.33H9a1.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-.33 1.82V9a1.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"/>
143
+ </svg>
144
+ </button>
145
+
146
+ <button
147
+ class="btn-icon"
148
+ title="Close ZingIt"
149
+ @click=${this.handleClose}
150
+ >
151
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
152
+ <line x1="18" y1="6" x2="6" y2="18"/>
153
+ <line x1="6" y1="6" x2="18" y2="18"/>
154
+ </svg>
155
+ </button>
156
+ </div>
157
+ `}handleAgentButton(){this.annotationCount>0&&!this.processing?this.dispatchEvent(new CustomEvent("send",{bubbles:!0,composed:!0})):this.dispatchEvent(new CustomEvent("toggle-response",{bubbles:!0,composed:!0}))}handleExport(){this.dispatchEvent(new CustomEvent("export",{bubbles:!0,composed:!0}))}handleClear(){this.dispatchEvent(new CustomEvent("clear",{bubbles:!0,composed:!0}))}handleHelp(){this.dispatchEvent(new CustomEvent("help",{bubbles:!0,composed:!0}))}handleSettings(){this.dispatchEvent(new CustomEvent("settings",{bubbles:!0,composed:!0}))}handleClose(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleReconnect(){this.dispatchEvent(new CustomEvent("reconnect",{bubbles:!0,composed:!0}))}handleToggle(){this.dispatchEvent(new CustomEvent("toggle",{bubbles:!0,composed:!0}))}handleUndo(){this.dispatchEvent(new CustomEvent("undo",{bubbles:!0,composed:!0}))}handleHistory(){this.dispatchEvent(new CustomEvent("toggle-history",{bubbles:!0,composed:!0}))}handleAgentClick(){this.connected&&this.agent&&this.dispatchEvent(new CustomEvent("change-agent",{bubbles:!0,composed:!0}))}handleDragStart(A){A.preventDefault(),this.dispatchEvent(new CustomEvent("drag-start",{bubbles:!0,composed:!0,detail:{clientX:A.clientX,clientY:A.clientY}}))}handleDragReset(A){A.preventDefault(),A.stopPropagation(),this.dispatchEvent(new CustomEvent("drag-reset",{bubbles:!0,composed:!0}))}};Fa.styles=o`
158
+ :host {
159
+ display: block;
160
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
161
+ }
162
+
163
+ .toolbar {
164
+ display: flex;
165
+ align-items: center;
166
+ gap: 8px;
167
+ padding: 8px 12px;
168
+ background: #1f2937;
169
+ border-radius: 8px;
170
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
171
+ }
172
+
173
+ .status {
174
+ display: flex;
175
+ align-items: center;
176
+ gap: 6px;
177
+ font-size: 12px;
178
+ color: #9ca3af;
179
+ }
180
+
181
+ .status.clickable {
182
+ cursor: pointer;
183
+ padding: 4px 8px;
184
+ margin: -4px -8px;
185
+ border-radius: 4px;
186
+ transition: background 0.15s ease;
187
+ }
188
+
189
+ .status.clickable:hover {
190
+ background: #374151;
191
+ color: #d1d5db;
192
+ }
193
+
194
+ .status-dot {
195
+ width: 8px;
196
+ height: 8px;
197
+ border-radius: 50%;
198
+ background: #6b7280;
199
+ }
200
+
201
+ .status-dot.connected {
202
+ background: #22c55e;
203
+ }
204
+
205
+ .status-dot.processing {
206
+ background: #fbbf24;
207
+ animation: pulse 1s ease-in-out infinite;
208
+ }
209
+
210
+ .status-dot.error {
211
+ background: #ef4444;
212
+ }
213
+
214
+ @keyframes pulse {
215
+ 0%, 100% { opacity: 1; }
216
+ 50% { opacity: 0.5; }
217
+ }
218
+
219
+ .divider {
220
+ width: 1px;
221
+ height: 20px;
222
+ background: #374151;
223
+ }
224
+
225
+ .count {
226
+ font-size: 12px;
227
+ color: #d1d5db;
228
+ min-width: 80px;
229
+ }
230
+
231
+ button {
232
+ padding: 6px 12px;
233
+ font-size: 12px;
234
+ font-weight: 500;
235
+ border: none;
236
+ border-radius: 4px;
237
+ cursor: pointer;
238
+ transition: all 0.15s ease;
239
+ }
240
+
241
+ button:disabled {
242
+ opacity: 0.5;
243
+ cursor: not-allowed;
244
+ }
245
+
246
+ .btn-primary {
247
+ background: #3b82f6;
248
+ color: white;
249
+ }
250
+
251
+ .btn-primary:hover:not(:disabled) {
252
+ background: #2563eb;
253
+ }
254
+
255
+ .btn-secondary {
256
+ background: #374151;
257
+ color: #d1d5db;
258
+ }
259
+
260
+ .btn-secondary:hover:not(:disabled) {
261
+ background: #4b5563;
262
+ }
263
+
264
+ .btn-danger {
265
+ background: #dc2626;
266
+ color: white;
267
+ }
268
+
269
+ .btn-danger:hover:not(:disabled) {
270
+ background: #b91c1c;
271
+ }
272
+
273
+ .btn-reconnect {
274
+ background: #f59e0b;
275
+ color: white;
276
+ }
277
+
278
+ .btn-reconnect:hover:not(:disabled) {
279
+ background: #d97706;
280
+ }
281
+
282
+ .btn-icon {
283
+ padding: 6px;
284
+ background: transparent;
285
+ color: #9ca3af;
286
+ }
287
+
288
+ .btn-icon:hover {
289
+ color: white;
290
+ background: #374151;
291
+ }
292
+
293
+ .btn-icon.active {
294
+ color: #3b82f6;
295
+ background: #1e3a5f;
296
+ }
297
+
298
+ .btn-toggle {
299
+ padding: 6px 10px;
300
+ background: #22c55e;
301
+ color: white;
302
+ display: flex;
303
+ align-items: center;
304
+ gap: 6px;
305
+ }
306
+
307
+ .btn-toggle:hover {
308
+ background: #16a34a;
309
+ }
310
+
311
+ .btn-toggle.inactive {
312
+ background: #6b7280;
313
+ }
314
+
315
+ .btn-toggle.inactive:hover {
316
+ background: #4b5563;
317
+ }
318
+
319
+ .drag-handle {
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: center;
323
+ padding: 4px 2px;
324
+ cursor: grab;
325
+ color: #6b7280;
326
+ transition: color 0.15s ease;
327
+ }
328
+
329
+ .drag-handle:hover {
330
+ color: #9ca3af;
331
+ }
332
+
333
+ .drag-handle:active {
334
+ cursor: grabbing;
335
+ }
336
+ `,Ua([hA({type:Boolean})],Fa.prototype,"active",2),Ua([hA({type:Boolean})],Fa.prototype,"connected",2),Ua([hA({type:Boolean})],Fa.prototype,"processing",2),Ua([hA({type:Boolean})],Fa.prototype,"maxAttemptsReached",2),Ua([hA({type:Number})],Fa.prototype,"annotationCount",2),Ua([hA({type:Boolean})],Fa.prototype,"canUndo",2),Ua([hA({type:String})],Fa.prototype,"agent",2),Ua([hA({type:String})],Fa.prototype,"model",2),Ua([hA({type:Boolean})],Fa.prototype,"responseOpen",2),Ua([hA({type:Boolean})],Fa.prototype,"historyOpen",2),Fa=Ua([cA("zing-toolbar")],Fa);var ma=Object.defineProperty,ya=Object.getOwnPropertyDescriptor,ba=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?ya(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&ma(e,t,r),r};let va=class extends iA{constructor(){super(...arguments),this.top=0,this.left=0,this.width=0,this.height=0,this.label="",this.visible=!1}get labelAlignment(){const A=this.left+this.width,e=window.innerWidth;return A>e-220||this.left>e-250?"align-right":"align-left"}render(){return this.visible?$`
337
+ <div
338
+ class="highlight"
339
+ style="top: ${this.top}px; left: ${this.left}px; width: ${this.width}px; height: ${this.height}px;"
340
+ >
341
+ ${this.label?$`<span class="label ${this.labelAlignment}">${this.label}</span>`:""}
342
+ </div>
343
+ `:$``}};va.styles=o`
344
+ :host {
345
+ display: block;
346
+ position: absolute;
347
+ pointer-events: none;
348
+ z-index: 2147483645;
349
+ }
350
+
351
+ .highlight {
352
+ position: absolute;
353
+ border: 2px dashed var(--highlight-color, #fbbf24);
354
+ background: rgba(251, 191, 36, 0.1);
355
+ border-radius: 4px;
356
+ transition: all 0.1s ease;
357
+ }
358
+
359
+ .label {
360
+ position: absolute;
361
+ top: -24px;
362
+ padding: 2px 8px;
363
+ background: var(--highlight-color, #fbbf24);
364
+ color: #1f2937;
365
+ font-size: 11px;
366
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
367
+ font-weight: 500;
368
+ border-radius: 4px 4px 0 0;
369
+ white-space: nowrap;
370
+ max-width: 200px;
371
+ overflow: hidden;
372
+ text-overflow: ellipsis;
373
+ }
374
+
375
+ /* Default: label on the left */
376
+ .label.align-left {
377
+ left: 0;
378
+ right: auto;
379
+ }
380
+
381
+ /* When near right edge: label on the right */
382
+ .label.align-right {
383
+ left: auto;
384
+ right: 0;
385
+ }
386
+ `,ba([hA({type:Number})],va.prototype,"top",2),ba([hA({type:Number})],va.prototype,"left",2),ba([hA({type:Number})],va.prototype,"width",2),ba([hA({type:Number})],va.prototype,"height",2),ba([hA({type:String})],va.prototype,"label",2),ba([hA({type:Boolean})],va.prototype,"visible",2),va=ba([cA("zing-highlight")],va);var Ha=Object.defineProperty,Ea=Object.getOwnPropertyDescriptor,xa=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?Ea(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Ha(e,t,r),r};let Ia=class extends iA{constructor(){super(),this.annotations=[],this.positions=[],this.scrollHandler=this.updatePositions.bind(this),this.resizeHandler=this.updatePositions.bind(this)}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.scrollHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("resize",this.resizeHandler)}updated(A){A.has("annotations")&&this.updatePositions()}updatePositions(){const A={top:window.scrollY,left:window.scrollX,width:window.innerWidth,height:window.innerHeight,bottom:window.scrollY+window.innerHeight,right:window.scrollX+window.innerWidth};this.positions=this.annotations.map((e,t)=>{const n=document.querySelector(e.selector);if(!n)return{id:e.id,number:t+1,top:0,left:0,visible:!1,status:e.status||"pending"};const s=Qa(n),r=function(A,e){let t=A.top-12,n=A.left-12;return e&&(n<4?n=4:n+24>e.width-4&&(n=e.width-24-4),t<4?t=4:t+24>e.height-4&&(t=e.height-24-4)),{top:t,left:n}}(s,{width:A.width,height:A.height}),o=s.bottom>0&&s.top<A.height&&s.right>0&&s.left<A.width;return{id:e.id,number:t+1,top:r.top,left:r.left,visible:o,status:e.status||"pending"}})}render(){return $`
387
+ ${this.positions.filter(A=>A.visible).map(A=>$`
388
+ <div
389
+ class="marker ${A.status}"
390
+ style="top: ${A.top}px; left: ${A.left}px;"
391
+ @click=${()=>this.handleMarkerClick(A.id)}
392
+ >
393
+ ${A.number}
394
+ <button
395
+ class="delete-btn"
396
+ title="Delete annotation"
397
+ @click=${e=>this.handleDelete(e,A.id)}
398
+ >×</button>
399
+ </div>
400
+ `)}
401
+ `}handleMarkerClick(A){this.dispatchEvent(new CustomEvent("marker-click",{detail:{id:A},bubbles:!0,composed:!0}))}handleDelete(A,e){A.stopPropagation(),this.dispatchEvent(new CustomEvent("marker-delete",{detail:{id:e},bubbles:!0,composed:!0}))}};Ia.styles=o`
402
+ :host {
403
+ display: block;
404
+ position: absolute;
405
+ top: 0;
406
+ left: 0;
407
+ pointer-events: none;
408
+ z-index: 2147483644;
409
+ }
410
+
411
+ .marker {
412
+ position: absolute;
413
+ width: 24px;
414
+ height: 24px;
415
+ display: flex;
416
+ align-items: center;
417
+ justify-content: center;
418
+ background: var(--marker-color, #3b82f6);
419
+ color: white;
420
+ font-size: 12px;
421
+ font-weight: 600;
422
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
423
+ border-radius: 50%;
424
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
425
+ pointer-events: auto;
426
+ cursor: pointer;
427
+ transition: transform 0.15s ease, background 0.3s ease;
428
+ }
429
+
430
+ .marker:hover {
431
+ transform: scale(1.2);
432
+ }
433
+
434
+ /* Pause animation on hover for processing markers */
435
+ .marker.processing:hover {
436
+ animation-play-state: paused;
437
+ }
438
+
439
+ /* Status-based colors - use CSS variables for customization */
440
+ .marker.pending {
441
+ background: var(--marker-color, #3b82f6);
442
+ }
443
+
444
+ .marker.processing {
445
+ background: var(--processing-color, #ef4444);
446
+ animation: pulse 1.5s ease-in-out infinite;
447
+ }
448
+
449
+ @keyframes pulse {
450
+ 0%, 100% {
451
+ transform: scale(1);
452
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
453
+ }
454
+ 50% {
455
+ transform: scale(1.15);
456
+ box-shadow: 0 0 12px var(--processing-color, #ef4444);
457
+ }
458
+ }
459
+
460
+ .marker.completed {
461
+ background: var(--completed-color, #22c55e);
462
+ }
463
+
464
+ .delete-btn {
465
+ position: absolute;
466
+ top: -6px;
467
+ right: -6px;
468
+ width: 16px;
469
+ height: 16px;
470
+ display: none;
471
+ align-items: center;
472
+ justify-content: center;
473
+ background: #ef4444;
474
+ color: white;
475
+ font-size: 10px;
476
+ font-weight: bold;
477
+ border-radius: 50%;
478
+ border: none;
479
+ cursor: pointer;
480
+ line-height: 1;
481
+ padding: 0;
482
+ }
483
+
484
+ .marker:hover .delete-btn {
485
+ display: flex;
486
+ }
487
+
488
+ .delete-btn:hover {
489
+ background: #dc2626;
490
+ }
491
+ `,xa([hA({type:Array})],Ia.prototype,"annotations",2),xa([gA()],Ia.prototype,"positions",2),Ia=xa([cA("zing-markers")],Ia);var Ka=Object.defineProperty,ka=Object.getOwnPropertyDescriptor,Sa=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?ka(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Ka(e,t,r),r};let La=class extends iA{constructor(){super(...arguments),this.open=!1,this.editMode=!1,this.annotationId="",this.selector="",this.identifier="",this.selectedText="",this.notes="",this.captureScreenshot=!1,this.screenshotPreview="",this.screenshotLoading=!1,this.showConfirmation=!1,this.handleKeydown=A=>{"Escape"===A.key?this.handleCancel():(A.metaKey||A.ctrlKey)&&"Enter"===A.key&&this.handleSave()}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleKeydown)}updated(A){A.has("open")&&this.open&&(this.showConfirmation=!1,requestAnimationFrame(()=>{this.textarea?.focus()}))}render(){return this.open?$`
492
+ <div class="overlay" @click=${this.handleOverlayClick}>
493
+ <div class="modal" @click=${A=>A.stopPropagation()}>
494
+ <div class="header">
495
+ <h2 class="title">${this.editMode?"Edit Annotation":"Add Annotation"}</h2>
496
+ <button class="close-btn" @click=${this.handleCancel}>
497
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
498
+ <line x1="18" y1="6" x2="6" y2="18"/>
499
+ <line x1="6" y1="6" x2="18" y2="18"/>
500
+ </svg>
501
+ </button>
502
+ </div>
503
+
504
+ <div class="body">
505
+ <div class="field">
506
+ <label>Element</label>
507
+ <div class="selector-display">${this.identifier}</div>
508
+ </div>
509
+
510
+ ${this.selectedText?$`
511
+ <div class="field">
512
+ <label>Selected Text</label>
513
+ <div class="selected-text">"${this.selectedText}"</div>
514
+ </div>
515
+ `:""}
516
+
517
+ <div class="field">
518
+ <label for="notes">Notes</label>
519
+ <textarea
520
+ id="notes"
521
+ .value=${this.notes}
522
+ @input=${this.handleNotesInput}
523
+ placeholder="Describe the issue or change you want to make..."
524
+ ></textarea>
525
+ </div>
526
+
527
+ <div class="checkbox-field">
528
+ <input
529
+ type="checkbox"
530
+ id="captureScreenshot"
531
+ .checked=${this.captureScreenshot}
532
+ @change=${this.handleScreenshotChange}
533
+ />
534
+ <label for="captureScreenshot">Capture screenshot of element</label>
535
+ </div>
536
+
537
+ ${this.captureScreenshot?$`
538
+ <div class="screenshot-preview">
539
+ <label>Screenshot Preview</label>
540
+ ${this.screenshotLoading?$`
541
+ <div class="screenshot-loading">
542
+ <div class="spinner"></div>
543
+ <span>Capturing...</span>
544
+ </div>
545
+ `:this.screenshotPreview?$`
546
+ <img src="${this.screenshotPreview}" alt="Element screenshot" />
547
+ `:$`
548
+ <div class="screenshot-loading">
549
+ <span>No preview available</span>
550
+ </div>
551
+ `}
552
+ </div>
553
+ `:""}
554
+ </div>
555
+
556
+ <div class="footer">
557
+ <button class="btn-cancel" @click=${this.handleCancel}>
558
+ Cancel
559
+ </button>
560
+ <button class="btn-save" @click=${this.handleSave}>
561
+ ${this.editMode?"Update":"Save"}
562
+ </button>
563
+ </div>
564
+
565
+ ${this.showConfirmation?$`
566
+ <div class="confirmation-overlay" @click=${A=>A.stopPropagation()}>
567
+ <div class="confirmation-dialog">
568
+ <svg class="confirmation-icon" viewBox="0 0 24 24" fill="currentColor">
569
+ <path d="M12 2L1 21h22L12 2zm0 3.83L19.53 19H4.47L12 5.83zM11 16h2v2h-2v-2zm0-6h2v4h-2v-4z"/>
570
+ </svg>
571
+ <h3 class="confirmation-title">Empty Annotation?</h3>
572
+ <p class="confirmation-message">
573
+ You haven't added any notes. The AI agent won't have instructions on what to change. Are you sure you want to continue?
574
+ </p>
575
+ <div class="confirmation-actions">
576
+ <button class="btn-cancel" @click=${this.handleConfirmCancel}>
577
+ Cancel
578
+ </button>
579
+ <button class="btn-save" @click=${this.handleConfirmProceed}>
580
+ Continue Anyway
581
+ </button>
582
+ </div>
583
+ </div>
584
+ </div>
585
+ `:""}
586
+ </div>
587
+ </div>
588
+ `:$``}handleOverlayClick(){this.handleCancel()}handleNotesInput(A){const e=A.target;this.notes=e.value}handleScreenshotChange(A){const e=A.target;this.captureScreenshot=e.checked,this.dispatchEvent(new CustomEvent("screenshot-toggle",{bubbles:!0,composed:!0,detail:{enabled:this.captureScreenshot}}))}handleCancel(){this.dispatchEvent(new CustomEvent("cancel",{bubbles:!0,composed:!0}))}handleSave(){this.notes.trim()||this.showConfirmation?this.proceedWithSave():this.showConfirmation=!0}handleConfirmCancel(){this.showConfirmation=!1,requestAnimationFrame(()=>{this.textarea?.focus()})}handleConfirmProceed(){this.showConfirmation=!1,this.proceedWithSave()}proceedWithSave(){this.dispatchEvent(new CustomEvent("save",{bubbles:!0,composed:!0,detail:{notes:this.notes,editMode:this.editMode,annotationId:this.annotationId,captureScreenshot:this.captureScreenshot}}))}};La.styles=o`
589
+ :host {
590
+ display: block;
591
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
592
+ }
593
+
594
+ .overlay {
595
+ position: fixed;
596
+ inset: 0;
597
+ background: rgba(0, 0, 0, 0.5);
598
+ display: flex;
599
+ align-items: center;
600
+ justify-content: center;
601
+ z-index: 2147483647;
602
+ pointer-events: auto;
603
+ }
604
+
605
+ .modal {
606
+ background: #1f2937;
607
+ border-radius: 12px;
608
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
609
+ width: 100%;
610
+ max-width: 480px;
611
+ margin: 16px;
612
+ }
613
+
614
+ .header {
615
+ display: flex;
616
+ align-items: center;
617
+ justify-content: space-between;
618
+ padding: 16px 20px;
619
+ border-bottom: 1px solid #374151;
620
+ }
621
+
622
+ .title {
623
+ font-size: 16px;
624
+ font-weight: 600;
625
+ color: white;
626
+ margin: 0;
627
+ }
628
+
629
+ .close-btn {
630
+ background: none;
631
+ border: none;
632
+ padding: 4px;
633
+ cursor: pointer;
634
+ color: #9ca3af;
635
+ display: flex;
636
+ align-items: center;
637
+ justify-content: center;
638
+ border-radius: 4px;
639
+ }
640
+
641
+ .close-btn:hover {
642
+ background: #374151;
643
+ color: white;
644
+ }
645
+
646
+ .body {
647
+ padding: 20px;
648
+ }
649
+
650
+ .field {
651
+ margin-bottom: 16px;
652
+ }
653
+
654
+ label {
655
+ display: block;
656
+ font-size: 13px;
657
+ font-weight: 500;
658
+ color: #d1d5db;
659
+ margin-bottom: 6px;
660
+ }
661
+
662
+ .selector-display {
663
+ font-size: 12px;
664
+ color: #9ca3af;
665
+ background: #111827;
666
+ padding: 8px 12px;
667
+ border-radius: 6px;
668
+ font-family: 'SF Mono', Monaco, monospace;
669
+ word-break: break-all;
670
+ }
671
+
672
+ .selected-text {
673
+ font-size: 13px;
674
+ color: #fbbf24;
675
+ background: rgba(251, 191, 36, 0.1);
676
+ padding: 8px 12px;
677
+ border-radius: 6px;
678
+ border-left: 3px solid #fbbf24;
679
+ }
680
+
681
+ textarea {
682
+ width: 100%;
683
+ min-height: 100px;
684
+ padding: 12px;
685
+ font-size: 14px;
686
+ font-family: inherit;
687
+ background: #111827;
688
+ border: 1px solid #374151;
689
+ border-radius: 6px;
690
+ color: white;
691
+ resize: vertical;
692
+ box-sizing: border-box;
693
+ }
694
+
695
+ textarea:focus {
696
+ outline: none;
697
+ border-color: #3b82f6;
698
+ }
699
+
700
+ textarea::placeholder {
701
+ color: #6b7280;
702
+ }
703
+
704
+ .checkbox-field {
705
+ display: flex;
706
+ align-items: center;
707
+ gap: 8px;
708
+ margin-top: 8px;
709
+ }
710
+
711
+ .checkbox-field input[type="checkbox"] {
712
+ width: 16px;
713
+ height: 16px;
714
+ accent-color: #3b82f6;
715
+ cursor: pointer;
716
+ }
717
+
718
+ .checkbox-field label {
719
+ display: inline;
720
+ margin-bottom: 0;
721
+ cursor: pointer;
722
+ user-select: none;
723
+ }
724
+
725
+ .screenshot-preview {
726
+ margin-top: 12px;
727
+ padding: 12px;
728
+ background: #111827;
729
+ border-radius: 6px;
730
+ border: 1px solid #374151;
731
+ }
732
+
733
+ .screenshot-preview label {
734
+ display: block;
735
+ font-size: 12px;
736
+ color: #9ca3af;
737
+ margin-bottom: 8px;
738
+ }
739
+
740
+ .screenshot-preview img {
741
+ max-width: 100%;
742
+ max-height: 200px;
743
+ border-radius: 4px;
744
+ display: block;
745
+ }
746
+
747
+ .screenshot-loading {
748
+ display: flex;
749
+ align-items: center;
750
+ gap: 8px;
751
+ color: #9ca3af;
752
+ font-size: 12px;
753
+ }
754
+
755
+ .screenshot-loading .spinner {
756
+ width: 14px;
757
+ height: 14px;
758
+ border: 2px solid #374151;
759
+ border-top-color: #3b82f6;
760
+ border-radius: 50%;
761
+ animation: spin 0.8s linear infinite;
762
+ }
763
+
764
+ @keyframes spin {
765
+ to { transform: rotate(360deg); }
766
+ }
767
+
768
+ .footer {
769
+ display: flex;
770
+ justify-content: flex-end;
771
+ gap: 8px;
772
+ padding: 16px 20px;
773
+ border-top: 1px solid #374151;
774
+ }
775
+
776
+ button {
777
+ padding: 8px 16px;
778
+ font-size: 14px;
779
+ font-weight: 500;
780
+ border: none;
781
+ border-radius: 6px;
782
+ cursor: pointer;
783
+ transition: all 0.15s ease;
784
+ }
785
+
786
+ .btn-cancel {
787
+ background: #374151;
788
+ color: #d1d5db;
789
+ }
790
+
791
+ .btn-cancel:hover {
792
+ background: #4b5563;
793
+ }
794
+
795
+ .btn-save {
796
+ background: #3b82f6;
797
+ color: white;
798
+ }
799
+
800
+ .btn-save:hover {
801
+ background: #2563eb;
802
+ }
803
+
804
+ .confirmation-overlay {
805
+ position: absolute;
806
+ inset: 0;
807
+ background: rgba(0, 0, 0, 0.6);
808
+ display: flex;
809
+ align-items: center;
810
+ justify-content: center;
811
+ border-radius: 12px;
812
+ z-index: 10;
813
+ }
814
+
815
+ .confirmation-dialog {
816
+ background: #1f2937;
817
+ border: 2px solid #fbbf24;
818
+ border-radius: 8px;
819
+ padding: 20px;
820
+ max-width: 320px;
821
+ margin: 16px;
822
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
823
+ text-align: center;
824
+ }
825
+
826
+ .confirmation-icon {
827
+ width: 48px;
828
+ height: 48px;
829
+ margin: 0 auto 16px;
830
+ color: #fbbf24;
831
+ display: block;
832
+ }
833
+
834
+ .confirmation-title {
835
+ font-size: 16px;
836
+ font-weight: 600;
837
+ color: white;
838
+ margin: 0 0 8px 0;
839
+ text-align: center;
840
+ }
841
+
842
+ .confirmation-message {
843
+ font-size: 14px;
844
+ color: #d1d5db;
845
+ margin: 0 0 20px 0;
846
+ text-align: center;
847
+ line-height: 1.5;
848
+ }
849
+
850
+ .confirmation-actions {
851
+ display: flex;
852
+ gap: 8px;
853
+ justify-content: center;
854
+ }
855
+ `,Sa([hA({type:Boolean})],La.prototype,"open",2),Sa([hA({type:Boolean})],La.prototype,"editMode",2),Sa([hA({type:String})],La.prototype,"annotationId",2),Sa([hA({type:String})],La.prototype,"selector",2),Sa([hA({type:String})],La.prototype,"identifier",2),Sa([hA({type:String})],La.prototype,"selectedText",2),Sa([hA({type:String})],La.prototype,"notes",2),Sa([hA({type:Boolean})],La.prototype,"captureScreenshot",2),Sa([hA({type:String})],La.prototype,"screenshotPreview",2),Sa([hA({type:Boolean})],La.prototype,"screenshotLoading",2),Sa([gA()],La.prototype,"showConfirmation",2),Sa([dA("textarea")],La.prototype,"textarea",2),La=Sa([cA("zing-modal")],La);var Da=Object.defineProperty,Ma=Object.getOwnPropertyDescriptor,Oa=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?Ma(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Da(e,t,r),r};let Ta=class extends iA{constructor(){super(...arguments),this.open=!1,this.serverProjectDir="",this.agents=[],this.settings={wsUrl:"ws://localhost:3000",highlightColor:"#fbbf24",markerColor:"#3b82f6",processingColor:"#ef4444",completedColor:"#22c55e",projectDir:"",playSoundOnComplete:!0,selectedAgent:"",autoRefresh:!1,showUndoBar:!0,undoBarTimeout:1e4},this.localSettings={...this.settings}}updated(A){A.has("settings")&&(this.localSettings={...this.settings})}render(){return this.open?$`
856
+ <div class="overlay" @click=${this.handleClose}>
857
+ <div class="panel" @click=${A=>A.stopPropagation()}>
858
+ <div class="header">
859
+ <h2 class="title">Settings</h2>
860
+ <button class="close-btn" @click=${this.handleClose}>
861
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
862
+ <line x1="18" y1="6" x2="6" y2="18"/>
863
+ <line x1="6" y1="6" x2="18" y2="18"/>
864
+ </svg>
865
+ </button>
866
+ </div>
867
+
868
+ <div class="body">
869
+ <div class="field">
870
+ <label for="wsUrl">WebSocket URL</label>
871
+ <input
872
+ type="url"
873
+ id="wsUrl"
874
+ .value=${this.localSettings.wsUrl}
875
+ @input=${A=>this.updateSetting("wsUrl",A.target.value)}
876
+ placeholder="ws://localhost:3000"
877
+ />
878
+ </div>
879
+
880
+ <div class="field">
881
+ <label for="agent">AI Agent</label>
882
+ <select
883
+ id="agent"
884
+ @change=${A=>this.handleAgentChange(A.target.value)}
885
+ >
886
+ ${0===this.agents.length?$`
887
+ <option value="">Connect to server to see agents</option>
888
+ `:$`
889
+ ${this.agents.map(A=>$`
890
+ <option
891
+ value=${A.name}
892
+ ?disabled=${!A.available}
893
+ ?selected=${A.name===this.localSettings.selectedAgent}
894
+ >
895
+ ${A.displayName}${A.available?"":" (not available)"}
896
+ </option>
897
+ `)}
898
+ `}
899
+ </select>
900
+ </div>
901
+
902
+ <div class="field">
903
+ <label for="projectDir">Project Directory</label>
904
+ <input
905
+ type="text"
906
+ id="projectDir"
907
+ .value=${this.localSettings.projectDir||this.serverProjectDir}
908
+ @input=${A=>this.updateSetting("projectDir",A.target.value)}
909
+ placeholder="Enter project directory path"
910
+ />
911
+ </div>
912
+
913
+ <div class="field">
914
+ <label>Colors</label>
915
+ <div class="colors-grid">
916
+ <div class="color-item">
917
+ <label>Highlight</label>
918
+ <div class="color-field">
919
+ <input
920
+ type="color"
921
+ .value=${this.localSettings.highlightColor}
922
+ @input=${A=>this.updateSetting("highlightColor",A.target.value)}
923
+ />
924
+ <span class="color-value">${this.localSettings.highlightColor}</span>
925
+ </div>
926
+ </div>
927
+ <div class="color-item">
928
+ <label>Pending</label>
929
+ <div class="color-field">
930
+ <input
931
+ type="color"
932
+ .value=${this.localSettings.markerColor}
933
+ @input=${A=>this.updateSetting("markerColor",A.target.value)}
934
+ />
935
+ <span class="color-value">${this.localSettings.markerColor}</span>
936
+ </div>
937
+ </div>
938
+ <div class="color-item">
939
+ <label>Processing</label>
940
+ <div class="color-field">
941
+ <input
942
+ type="color"
943
+ .value=${this.localSettings.processingColor}
944
+ @input=${A=>this.updateSetting("processingColor",A.target.value)}
945
+ />
946
+ <span class="color-value">${this.localSettings.processingColor}</span>
947
+ </div>
948
+ </div>
949
+ <div class="color-item">
950
+ <label>Completed</label>
951
+ <div class="color-field">
952
+ <input
953
+ type="color"
954
+ .value=${this.localSettings.completedColor}
955
+ @input=${A=>this.updateSetting("completedColor",A.target.value)}
956
+ />
957
+ <span class="color-value">${this.localSettings.completedColor}</span>
958
+ </div>
959
+ </div>
960
+ </div>
961
+ </div>
962
+
963
+ <div class="field">
964
+ <div class="checkbox-field">
965
+ <input
966
+ type="checkbox"
967
+ id="playSoundOnComplete"
968
+ .checked=${this.localSettings.playSoundOnComplete}
969
+ @change=${A=>this.updateSetting("playSoundOnComplete",A.target.checked)}
970
+ />
971
+ <label class="checkbox-label" for="playSoundOnComplete">Play sound when agent completes</label>
972
+ </div>
973
+ </div>
974
+
975
+ <div class="field">
976
+ <div class="checkbox-field">
977
+ <input
978
+ type="checkbox"
979
+ id="autoRefresh"
980
+ .checked=${this.localSettings.autoRefresh}
981
+ @change=${A=>this.updateSetting("autoRefresh",A.target.checked)}
982
+ />
983
+ <label class="checkbox-label" for="autoRefresh">Auto refresh page when agent completes</label>
984
+ </div>
985
+ </div>
986
+
987
+ <div class="field">
988
+ <div class="checkbox-field">
989
+ <input
990
+ type="checkbox"
991
+ id="showUndoBar"
992
+ .checked=${this.localSettings.showUndoBar}
993
+ @change=${A=>this.updateSetting("showUndoBar",A.target.checked)}
994
+ />
995
+ <label class="checkbox-label" for="showUndoBar">Show undo bar after changes</label>
996
+ </div>
997
+ </div>
998
+ </div>
999
+
1000
+ <div class="footer">
1001
+ <button class="btn-cancel" @click=${this.handleClose}>
1002
+ Cancel
1003
+ </button>
1004
+ <button class="btn-save" @click=${this.handleSave}>
1005
+ Save
1006
+ </button>
1007
+ </div>
1008
+ </div>
1009
+ </div>
1010
+ `:$``}updateSetting(A,e){this.localSettings={...this.localSettings,[A]:e},this.requestUpdate()}handleAgentChange(A){this.updateSetting("selectedAgent",A),this.dispatchEvent(new CustomEvent("agent-change",{bubbles:!0,composed:!0,detail:{agent:A}}))}handleClose(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleSave(){this.dispatchEvent(new CustomEvent("save",{bubbles:!0,composed:!0,detail:{settings:this.localSettings}}))}};Ta.styles=o`
1011
+ :host {
1012
+ display: block;
1013
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1014
+ }
1015
+
1016
+ .overlay {
1017
+ position: fixed;
1018
+ inset: 0;
1019
+ background: rgba(0, 0, 0, 0.5);
1020
+ display: flex;
1021
+ align-items: center;
1022
+ justify-content: center;
1023
+ z-index: 2147483647;
1024
+ pointer-events: auto;
1025
+ }
1026
+
1027
+ .panel {
1028
+ background: #1f2937;
1029
+ border-radius: 12px;
1030
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
1031
+ width: 100%;
1032
+ max-width: 400px;
1033
+ margin: 16px;
1034
+ }
1035
+
1036
+ .header {
1037
+ display: flex;
1038
+ align-items: center;
1039
+ justify-content: space-between;
1040
+ padding: 16px 20px;
1041
+ border-bottom: 1px solid #374151;
1042
+ }
1043
+
1044
+ .title {
1045
+ font-size: 16px;
1046
+ font-weight: 600;
1047
+ color: white;
1048
+ margin: 0;
1049
+ }
1050
+
1051
+ .close-btn {
1052
+ background: none;
1053
+ border: none;
1054
+ padding: 4px;
1055
+ cursor: pointer;
1056
+ color: #9ca3af;
1057
+ display: flex;
1058
+ align-items: center;
1059
+ justify-content: center;
1060
+ border-radius: 4px;
1061
+ }
1062
+
1063
+ .close-btn:hover {
1064
+ background: #374151;
1065
+ color: white;
1066
+ }
1067
+
1068
+ .body {
1069
+ padding: 20px;
1070
+ }
1071
+
1072
+ .field {
1073
+ margin-bottom: 16px;
1074
+ }
1075
+
1076
+ .field:last-child {
1077
+ margin-bottom: 0;
1078
+ }
1079
+
1080
+ label {
1081
+ display: block;
1082
+ font-size: 13px;
1083
+ font-weight: 500;
1084
+ color: #d1d5db;
1085
+ margin-bottom: 6px;
1086
+ }
1087
+
1088
+ input[type="text"],
1089
+ input[type="url"],
1090
+ select {
1091
+ width: 100%;
1092
+ padding: 10px 12px;
1093
+ font-size: 14px;
1094
+ font-family: inherit;
1095
+ background: #111827;
1096
+ border: 1px solid #374151;
1097
+ border-radius: 6px;
1098
+ color: white;
1099
+ box-sizing: border-box;
1100
+ }
1101
+
1102
+ select {
1103
+ cursor: pointer;
1104
+ appearance: none;
1105
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
1106
+ background-repeat: no-repeat;
1107
+ background-position: right 12px center;
1108
+ padding-right: 36px;
1109
+ }
1110
+
1111
+ select option {
1112
+ background: #111827;
1113
+ color: white;
1114
+ }
1115
+
1116
+ input:focus,
1117
+ select:focus {
1118
+ outline: none;
1119
+ border-color: #3b82f6;
1120
+ }
1121
+
1122
+ input::placeholder {
1123
+ color: #6b7280;
1124
+ }
1125
+
1126
+ .colors-grid {
1127
+ display: grid;
1128
+ grid-template-columns: 1fr 1fr;
1129
+ gap: 12px;
1130
+ }
1131
+
1132
+ .color-item {
1133
+ display: flex;
1134
+ flex-direction: column;
1135
+ gap: 4px;
1136
+ }
1137
+
1138
+ .color-item label {
1139
+ font-size: 11px;
1140
+ margin-bottom: 0;
1141
+ }
1142
+
1143
+ .color-field {
1144
+ display: flex;
1145
+ align-items: center;
1146
+ gap: 8px;
1147
+ }
1148
+
1149
+ input[type="color"] {
1150
+ width: 32px;
1151
+ height: 32px;
1152
+ padding: 0;
1153
+ border: none;
1154
+ border-radius: 4px;
1155
+ cursor: pointer;
1156
+ background: none;
1157
+ }
1158
+
1159
+ input[type="color"]::-webkit-color-swatch-wrapper {
1160
+ padding: 0;
1161
+ }
1162
+
1163
+ input[type="color"]::-webkit-color-swatch {
1164
+ border: none;
1165
+ border-radius: 4px;
1166
+ }
1167
+
1168
+ .color-value {
1169
+ font-size: 11px;
1170
+ color: #9ca3af;
1171
+ font-family: 'SF Mono', Monaco, monospace;
1172
+ }
1173
+
1174
+ .checkbox-field {
1175
+ display: flex;
1176
+ align-items: center;
1177
+ gap: 10px;
1178
+ }
1179
+
1180
+ input[type="checkbox"] {
1181
+ width: 18px;
1182
+ height: 18px;
1183
+ accent-color: #3b82f6;
1184
+ cursor: pointer;
1185
+ }
1186
+
1187
+ .checkbox-label {
1188
+ font-size: 14px;
1189
+ color: #d1d5db;
1190
+ cursor: pointer;
1191
+ }
1192
+
1193
+ .footer {
1194
+ display: flex;
1195
+ justify-content: flex-end;
1196
+ gap: 8px;
1197
+ padding: 16px 20px;
1198
+ border-top: 1px solid #374151;
1199
+ }
1200
+
1201
+ button {
1202
+ padding: 8px 16px;
1203
+ font-size: 14px;
1204
+ font-weight: 500;
1205
+ border: none;
1206
+ border-radius: 6px;
1207
+ cursor: pointer;
1208
+ transition: all 0.15s ease;
1209
+ }
1210
+
1211
+ .btn-cancel {
1212
+ background: #374151;
1213
+ color: #d1d5db;
1214
+ }
1215
+
1216
+ .btn-cancel:hover {
1217
+ background: #4b5563;
1218
+ }
1219
+
1220
+ .btn-save {
1221
+ background: #3b82f6;
1222
+ color: white;
1223
+ }
1224
+
1225
+ .btn-save:hover {
1226
+ background: #2563eb;
1227
+ }
1228
+ `,Oa([hA({type:Boolean})],Ta.prototype,"open",2),Oa([hA({type:String})],Ta.prototype,"serverProjectDir",2),Oa([hA({type:Array})],Ta.prototype,"agents",2),Oa([hA({type:Object})],Ta.prototype,"settings",2),Ta=Oa([cA("zing-settings")],Ta);var Pa=Object.defineProperty,Ra=Object.getOwnPropertyDescriptor,Ga=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?Ra(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Pa(e,t,r),r};let Va=class extends iA{constructor(){super(...arguments),this.isOpen=!1,this.processing=!1,this.autoRefresh=!1,this.content="",this.toolStatus="",this.error="",this.screenshotCount=0,this.followUpMessage=""}updated(A){A.has("content")&&this.contentEl&&(this.contentEl.scrollTop=this.contentEl.scrollHeight)}render(){return $`
1229
+ <div class="panel ${this.isOpen?"open":""}" @click=${this._stopPropagation} @mousedown=${this._stopPropagation} @pointerdown=${this._stopPropagation}>
1230
+ <div class="header">
1231
+ <h3>
1232
+ <svg class="header-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1233
+ <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
1234
+ </svg>
1235
+ Agent Response
1236
+ </h3>
1237
+ <div class="header-actions">
1238
+ ${this.processing?$`
1239
+ <button class="stop-btn" @click=${this._handleStop}>
1240
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor">
1241
+ <rect x="4" y="4" width="16" height="16" rx="2"/>
1242
+ </svg>
1243
+ Stop
1244
+ </button>
1245
+ `:this.content&&!this.autoRefresh?$`
1246
+ <button class="refresh-btn" @click=${this._handleRefresh}>
1247
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
1248
+ <path d="M23 4v6h-6"/>
1249
+ <path d="M1 20v-6h6"/>
1250
+ <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/>
1251
+ </svg>
1252
+ Refresh
1253
+ </button>
1254
+ `:""}
1255
+ <button class="close-btn" @click=${this._handleClose} title="Close">
1256
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1257
+ <line x1="18" y1="6" x2="6" y2="18"/>
1258
+ <line x1="6" y1="6" x2="18" y2="18"/>
1259
+ </svg>
1260
+ </button>
1261
+ </div>
1262
+ </div>
1263
+
1264
+ <div class="content">
1265
+ ${this.screenshotCount>0?$`
1266
+ <div class="screenshot-badge">
1267
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1268
+ <rect x="3" y="3" width="18" height="18" rx="2" ry="2"/>
1269
+ <circle cx="8.5" cy="8.5" r="1.5"/>
1270
+ <polyline points="21 15 16 10 5 21"/>
1271
+ </svg>
1272
+ <span>${this.screenshotCount} screenshot${this.screenshotCount>1?"s":""} included</span>
1273
+ </div>
1274
+ `:""}
1275
+
1276
+ ${this.toolStatus?$`
1277
+ <div class="tool-status">
1278
+ <div class="spinner"></div>
1279
+ <span>${this.toolStatus}</span>
1280
+ </div>
1281
+ `:""}
1282
+
1283
+ ${this.error?$`
1284
+ <div class="error">${this.error}</div>
1285
+ `:""}
1286
+
1287
+ ${this._renderContent()}
1288
+ </div>
1289
+
1290
+ <div class="footer">
1291
+ <div class="input-row">
1292
+ <input
1293
+ type="text"
1294
+ placeholder="Follow-up message..."
1295
+ .value=${this.followUpMessage}
1296
+ @input=${this._handleInputChange}
1297
+ @keydown=${this._handleInputKeydown}
1298
+ ?disabled=${this.processing}
1299
+ />
1300
+ <button
1301
+ class="send-btn"
1302
+ @click=${this._handleSendFollowUp}
1303
+ ?disabled=${this.processing||!this.followUpMessage.trim()}
1304
+ >
1305
+ Send
1306
+ </button>
1307
+ </div>
1308
+ </div>
1309
+ </div>
1310
+ `}_parseContent(A){const e=[],t=/```(\w*)\n?([\s\S]*?)```/g;let n,s=0;for(;null!==(n=t.exec(A));){if(n.index>s){const t=A.slice(s,n.index);t.trim()&&e.push({type:"text",content:t})}e.push({type:"code",language:n[1]||void 0,content:n[2]}),s=n.index+n[0].length}if(s<A.length){const t=A.slice(s);t.trim()&&e.push({type:"text",content:t})}return e}_renderContent(){if(!this.content)return this.processing?$`<div class="text-block">Waiting for response...</div>`:$`<div class="text-block" style="color: #6b7280;">Add annotations and click the agent button to send them.</div>`;return this._parseContent(this.content).map(A=>"code"===A.type?$`<div class="code-block">${A.content}</div>`:this._renderTextAsSteps(A.content))}_renderTextAsSteps(A){const e=/\d+\.\s+\*\*|^[-*]\s+/m.test(A),t=/`[^`]+`/.test(A),n=A.trim().endsWith("?"),s=/\n\s*\n/.test(A);if(e||t||n||s)return $`<div class="text-block">${A}</div>`;const r=A.split(/(?<=\.)\s+(?=[A-Z][a-z])/).map(A=>A.trim()).filter(A=>A.length>0);return r.length<=1?$`<div class="text-block">${A}</div>`:r.map(A=>{const e=this._classifyStep(A);return $`<div class="action-step ${e}">${A}</div>`})}_classifyStep(A){const e=A.toLowerCase();return e.startsWith("let me check")||e.startsWith("let me look")||e.startsWith("let me run")||e.startsWith("let me also")||e.startsWith("looking at")||e.startsWith("checking")?"check":e.startsWith("added")||e.startsWith("updated")||e.startsWith("created")||e.startsWith("removed")||e.startsWith("fixed")||e.startsWith("changed")?"result":e.startsWith("i don't see")||e.startsWith("i can see")||e.startsWith("there's no")||e.startsWith("there is no")||e.startsWith("the ")||e.startsWith("it's possible")||e.startsWith("perhaps")||e.startsWith("however")?"observation":""}_stopPropagation(A){A.stopPropagation()}_handleClose(A){A.preventDefault(),A.stopPropagation(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_handleStop(A){A.preventDefault(),A.stopPropagation(),this.dispatchEvent(new CustomEvent("stop",{bubbles:!0,composed:!0}))}_handleRefresh(){window.location.reload()}_handleInputChange(A){this.followUpMessage=A.target.value}_handleInputKeydown(A){"Enter"!==A.key||A.shiftKey||(A.preventDefault(),this._handleSendFollowUp())}_handleSendFollowUp(){this.followUpMessage.trim()&&!this.processing&&(this.dispatchEvent(new CustomEvent("followup",{bubbles:!0,composed:!0,detail:{message:this.followUpMessage}})),this.followUpMessage="")}};Va.styles=o`
1311
+ :host {
1312
+ display: block;
1313
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1314
+ pointer-events: auto;
1315
+ }
1316
+
1317
+ .panel {
1318
+ position: fixed;
1319
+ right: 0;
1320
+ top: 0;
1321
+ width: 400px;
1322
+ height: 100vh;
1323
+ background: #1f2937;
1324
+ border-left: 1px solid #374151;
1325
+ transform: translateX(100%);
1326
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
1327
+ z-index: 2147483645;
1328
+ display: flex;
1329
+ flex-direction: column;
1330
+ pointer-events: auto;
1331
+ }
1332
+
1333
+ .panel.open {
1334
+ transform: translateX(0);
1335
+ box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
1336
+ }
1337
+
1338
+ .header {
1339
+ display: flex;
1340
+ align-items: center;
1341
+ justify-content: space-between;
1342
+ padding: 16px;
1343
+ border-bottom: 1px solid #374151;
1344
+ background: #111827;
1345
+ }
1346
+
1347
+ .header h3 {
1348
+ margin: 0;
1349
+ color: #f3f4f6;
1350
+ font-size: 14px;
1351
+ font-weight: 600;
1352
+ display: flex;
1353
+ align-items: center;
1354
+ gap: 8px;
1355
+ }
1356
+
1357
+ .header-icon {
1358
+ width: 18px;
1359
+ height: 18px;
1360
+ color: #9ca3af;
1361
+ }
1362
+
1363
+ .header-actions {
1364
+ display: flex;
1365
+ align-items: center;
1366
+ gap: 8px;
1367
+ }
1368
+
1369
+ .close-btn {
1370
+ background: none;
1371
+ border: none;
1372
+ color: #9ca3af;
1373
+ cursor: pointer;
1374
+ padding: 4px;
1375
+ display: flex;
1376
+ align-items: center;
1377
+ justify-content: center;
1378
+ border-radius: 4px;
1379
+ transition: all 0.15s ease;
1380
+ }
1381
+
1382
+ .close-btn:hover {
1383
+ background: #374151;
1384
+ color: #f3f4f6;
1385
+ }
1386
+
1387
+ .stop-btn {
1388
+ background: #ef4444;
1389
+ border: none;
1390
+ padding: 4px 10px;
1391
+ cursor: pointer;
1392
+ color: white;
1393
+ font-size: 12px;
1394
+ font-weight: 500;
1395
+ border-radius: 4px;
1396
+ display: flex;
1397
+ align-items: center;
1398
+ gap: 4px;
1399
+ transition: all 0.15s ease;
1400
+ }
1401
+
1402
+ .stop-btn:hover {
1403
+ background: #dc2626;
1404
+ }
1405
+
1406
+ .refresh-btn {
1407
+ background: #22c55e;
1408
+ border: none;
1409
+ padding: 4px 10px;
1410
+ cursor: pointer;
1411
+ color: white;
1412
+ font-size: 12px;
1413
+ font-weight: 500;
1414
+ border-radius: 4px;
1415
+ display: flex;
1416
+ align-items: center;
1417
+ gap: 4px;
1418
+ transition: all 0.15s ease;
1419
+ }
1420
+
1421
+ .refresh-btn:hover {
1422
+ background: #16a34a;
1423
+ }
1424
+
1425
+ .content {
1426
+ flex: 1;
1427
+ overflow-y: auto;
1428
+ padding: 16px;
1429
+ font-size: 14px;
1430
+ line-height: 1.6;
1431
+ color: #d1d5db;
1432
+ }
1433
+
1434
+ .content::-webkit-scrollbar {
1435
+ width: 6px;
1436
+ }
1437
+
1438
+ .content::-webkit-scrollbar-track {
1439
+ background: transparent;
1440
+ }
1441
+
1442
+ .content::-webkit-scrollbar-thumb {
1443
+ background: #4b5563;
1444
+ border-radius: 3px;
1445
+ }
1446
+
1447
+ .tool-status {
1448
+ padding: 8px 12px;
1449
+ background: #111827;
1450
+ border-radius: 6px;
1451
+ font-size: 12px;
1452
+ color: #9ca3af;
1453
+ margin-bottom: 12px;
1454
+ display: flex;
1455
+ align-items: center;
1456
+ gap: 8px;
1457
+ }
1458
+
1459
+ .tool-status .spinner {
1460
+ width: 12px;
1461
+ height: 12px;
1462
+ border: 2px solid #374151;
1463
+ border-top-color: #3b82f6;
1464
+ border-radius: 50%;
1465
+ animation: spin 1s linear infinite;
1466
+ }
1467
+
1468
+ @keyframes spin {
1469
+ to { transform: rotate(360deg); }
1470
+ }
1471
+
1472
+ .code-block {
1473
+ background: #111827;
1474
+ border-radius: 6px;
1475
+ padding: 12px;
1476
+ margin: 8px 0;
1477
+ overflow-x: auto;
1478
+ font-family: 'SF Mono', Monaco, 'Consolas', monospace;
1479
+ font-size: 13px;
1480
+ color: #e5e7eb;
1481
+ white-space: pre-wrap;
1482
+ word-break: break-word;
1483
+ }
1484
+
1485
+ .text-block {
1486
+ margin: 8px 0;
1487
+ white-space: pre-wrap;
1488
+ word-break: break-word;
1489
+ }
1490
+
1491
+ .action-step {
1492
+ padding: 10px 12px;
1493
+ background: rgba(59, 130, 246, 0.1);
1494
+ border-left: 3px solid #3b82f6;
1495
+ border-radius: 0 6px 6px 0;
1496
+ margin: 8px 0;
1497
+ font-size: 13px;
1498
+ line-height: 1.5;
1499
+ }
1500
+
1501
+ .action-step.check {
1502
+ background: rgba(251, 191, 36, 0.1);
1503
+ border-left-color: #fbbf24;
1504
+ }
1505
+
1506
+ .action-step.result {
1507
+ background: rgba(34, 197, 94, 0.1);
1508
+ border-left-color: #22c55e;
1509
+ }
1510
+
1511
+ .action-step.observation {
1512
+ background: rgba(156, 163, 175, 0.1);
1513
+ border-left-color: #9ca3af;
1514
+ }
1515
+
1516
+ .error {
1517
+ color: #f87171;
1518
+ background: rgba(248, 113, 113, 0.1);
1519
+ padding: 8px 12px;
1520
+ border-radius: 6px;
1521
+ border-left: 3px solid #f87171;
1522
+ }
1523
+
1524
+ .footer {
1525
+ padding: 12px 16px;
1526
+ border-top: 1px solid #374151;
1527
+ background: #111827;
1528
+ }
1529
+
1530
+ .input-row {
1531
+ display: flex;
1532
+ gap: 8px;
1533
+ }
1534
+
1535
+ input {
1536
+ flex: 1;
1537
+ padding: 8px 12px;
1538
+ font-size: 14px;
1539
+ font-family: inherit;
1540
+ background: #111827;
1541
+ border: 1px solid #374151;
1542
+ border-radius: 6px;
1543
+ color: white;
1544
+ }
1545
+
1546
+ input:focus {
1547
+ outline: none;
1548
+ border-color: #3b82f6;
1549
+ }
1550
+
1551
+ input::placeholder {
1552
+ color: #6b7280;
1553
+ }
1554
+
1555
+ .send-btn {
1556
+ padding: 8px 16px;
1557
+ font-size: 14px;
1558
+ font-weight: 500;
1559
+ border: none;
1560
+ border-radius: 6px;
1561
+ cursor: pointer;
1562
+ background: #3b82f6;
1563
+ color: white;
1564
+ transition: all 0.15s ease;
1565
+ }
1566
+
1567
+ .send-btn:hover {
1568
+ background: #2563eb;
1569
+ }
1570
+
1571
+ .send-btn:disabled {
1572
+ opacity: 0.5;
1573
+ cursor: not-allowed;
1574
+ }
1575
+
1576
+ .screenshot-badge {
1577
+ display: inline-flex;
1578
+ align-items: center;
1579
+ gap: 6px;
1580
+ padding: 6px 10px;
1581
+ background: rgba(59, 130, 246, 0.15);
1582
+ border: 1px solid rgba(59, 130, 246, 0.3);
1583
+ border-radius: 6px;
1584
+ font-size: 12px;
1585
+ color: #60a5fa;
1586
+ margin-bottom: 12px;
1587
+ }
1588
+
1589
+ .screenshot-badge svg {
1590
+ flex-shrink: 0;
1591
+ }
1592
+ `,Ga([hA({type:Boolean})],Va.prototype,"isOpen",2),Ga([hA({type:Boolean})],Va.prototype,"processing",2),Ga([hA({type:Boolean})],Va.prototype,"autoRefresh",2),Ga([hA({type:String})],Va.prototype,"content",2),Ga([hA({type:String})],Va.prototype,"toolStatus",2),Ga([hA({type:String})],Va.prototype,"error",2),Ga([hA({type:Number})],Va.prototype,"screenshotCount",2),Ga([gA()],Va.prototype,"followUpMessage",2),Ga([dA(".content")],Va.prototype,"contentEl",2),Va=Ga([cA("zing-agent-response-panel")],Va);var $a=Object.defineProperty,Na=Object.getOwnPropertyDescriptor,_a=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?Na(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&$a(e,t,r),r};let Xa=class extends iA{constructor(){super(...arguments),this.toasts=[],this.exitingIds=new Set}show(A,e="info",t=3e3,n){const s=crypto.randomUUID(),r={id:s,message:A,type:e,duration:t,action:n};return this.toasts=[...this.toasts,r],t>0&&setTimeout(()=>this.dismiss(s),t),s}success(A,e=3e3){return this.show(A,"success",e)}error(A,e=5e3){return this.show(A,"error",e)}info(A,e=3e3,t){return this.show(A,"info",e,t)}dismiss(A){this.exitingIds.add(A),this.requestUpdate(),setTimeout(()=>{this.exitingIds.delete(A),this.toasts=this.toasts.filter(e=>e.id!==A)},200)}render(){return 0===this.toasts.length?$``:$`
1593
+ <div class="toast-container">
1594
+ ${this.toasts.map(A=>$`
1595
+ <div class="toast ${A.type} ${this.exitingIds.has(A.id)?"exiting":""}">
1596
+ <div class="toast-content">
1597
+ <span>${A.message}</span>
1598
+ ${A.action?$`
1599
+ <button class="toast-action" @click=${()=>this.handleAction(A)}>
1600
+ ${A.action.label}
1601
+ </button>
1602
+ `:""}
1603
+ </div>
1604
+ </div>
1605
+ `)}
1606
+ </div>
1607
+ `}handleAction(A){A.action&&(A.action.callback(),this.dismiss(A.id))}};Xa.styles=o`
1608
+ :host {
1609
+ display: block;
1610
+ position: fixed;
1611
+ bottom: 80px;
1612
+ left: 50%;
1613
+ transform: translateX(-50%);
1614
+ z-index: 2147483647;
1615
+ pointer-events: none;
1616
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1617
+ }
1618
+
1619
+ .toast-container {
1620
+ display: flex;
1621
+ flex-direction: column;
1622
+ gap: 8px;
1623
+ align-items: center;
1624
+ }
1625
+
1626
+ .toast {
1627
+ padding: 10px 16px;
1628
+ border-radius: 8px;
1629
+ font-size: 13px;
1630
+ font-weight: 500;
1631
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
1632
+ animation: slideUp 0.2s ease-out;
1633
+ pointer-events: auto;
1634
+ max-width: 300px;
1635
+ text-align: center;
1636
+ }
1637
+
1638
+ .toast.success {
1639
+ background: #059669;
1640
+ color: white;
1641
+ }
1642
+
1643
+ .toast.error {
1644
+ background: #dc2626;
1645
+ color: white;
1646
+ }
1647
+
1648
+ .toast.info {
1649
+ background: #1f2937;
1650
+ color: white;
1651
+ border: 1px solid #374151;
1652
+ }
1653
+
1654
+ .toast.exiting {
1655
+ animation: slideDown 0.2s ease-in forwards;
1656
+ }
1657
+
1658
+ .toast-content {
1659
+ display: flex;
1660
+ align-items: center;
1661
+ gap: 12px;
1662
+ }
1663
+
1664
+ .toast-action {
1665
+ background: rgba(255, 255, 255, 0.2);
1666
+ border: none;
1667
+ padding: 4px 10px;
1668
+ border-radius: 4px;
1669
+ color: white;
1670
+ font-size: 12px;
1671
+ font-weight: 600;
1672
+ cursor: pointer;
1673
+ transition: background 0.15s ease;
1674
+ }
1675
+
1676
+ .toast-action:hover {
1677
+ background: rgba(255, 255, 255, 0.3);
1678
+ }
1679
+
1680
+ @keyframes slideUp {
1681
+ from {
1682
+ opacity: 0;
1683
+ transform: translateY(10px);
1684
+ }
1685
+ to {
1686
+ opacity: 1;
1687
+ transform: translateY(0);
1688
+ }
1689
+ }
1690
+
1691
+ @keyframes slideDown {
1692
+ from {
1693
+ opacity: 1;
1694
+ transform: translateY(0);
1695
+ }
1696
+ to {
1697
+ opacity: 0;
1698
+ transform: translateY(10px);
1699
+ }
1700
+ }
1701
+ `,_a([gA()],Xa.prototype,"toasts",2),Xa=_a([cA("zing-toast")],Xa);var Ja=Object.defineProperty,Wa=Object.getOwnPropertyDescriptor,Ya=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?Wa(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&Ja(e,t,r),r};let Za=class extends iA{constructor(){super(...arguments),this.open=!1}render(){return this.open?$`
1702
+ <div class="overlay" @click=${this.handleOverlayClick}>
1703
+ <div class="panel" @click=${A=>A.stopPropagation()}>
1704
+ <div class="header">
1705
+ <h2>Keyboard Shortcuts</h2>
1706
+ <button class="close-btn" @click=${this.handleClose}>
1707
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1708
+ <line x1="18" y1="6" x2="6" y2="18"/>
1709
+ <line x1="6" y1="6" x2="18" y2="18"/>
1710
+ </svg>
1711
+ </button>
1712
+ </div>
1713
+
1714
+ <div class="section-title">Annotation Mode</div>
1715
+ <div class="shortcuts">
1716
+ <div class="shortcut">
1717
+ <span class="shortcut-desc">Toggle annotation mode</span>
1718
+ <div class="shortcut-keys"><kbd>Z</kbd></div>
1719
+ </div>
1720
+ <div class="shortcut">
1721
+ <span class="shortcut-desc">Undo last annotation</span>
1722
+ <div class="shortcut-keys"><kbd>Ctrl</kbd><kbd>Z</kbd></div>
1723
+ </div>
1724
+ </div>
1725
+
1726
+ <div class="divider"></div>
1727
+
1728
+ <div class="section-title">Panels</div>
1729
+ <div class="shortcuts">
1730
+ <div class="shortcut">
1731
+ <span class="shortcut-desc">Toggle ZingIt visibility</span>
1732
+ <div class="shortcut-keys"><kbd>\`</kbd></div>
1733
+ </div>
1734
+ <div class="shortcut">
1735
+ <span class="shortcut-desc">Close panel/modal</span>
1736
+ <div class="shortcut-keys"><kbd>Esc</kbd></div>
1737
+ </div>
1738
+ <div class="shortcut">
1739
+ <span class="shortcut-desc">Show this help</span>
1740
+ <div class="shortcut-keys"><kbd>?</kbd></div>
1741
+ </div>
1742
+ </div>
1743
+
1744
+ <div class="divider"></div>
1745
+
1746
+ <div class="section-title">In Modal</div>
1747
+ <div class="shortcuts">
1748
+ <div class="shortcut">
1749
+ <span class="shortcut-desc">Save annotation</span>
1750
+ <div class="shortcut-keys"><kbd>Ctrl</kbd><kbd>Enter</kbd></div>
1751
+ </div>
1752
+ </div>
1753
+ </div>
1754
+ </div>
1755
+ `:null}handleOverlayClick(){this.handleClose()}handleClose(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}};Za.styles=o`
1756
+ :host {
1757
+ display: block;
1758
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1759
+ }
1760
+
1761
+ .overlay {
1762
+ position: fixed;
1763
+ top: 0;
1764
+ left: 0;
1765
+ right: 0;
1766
+ bottom: 0;
1767
+ background: rgba(0, 0, 0, 0.6);
1768
+ display: flex;
1769
+ align-items: center;
1770
+ justify-content: center;
1771
+ z-index: 2147483647;
1772
+ pointer-events: auto;
1773
+ }
1774
+
1775
+ .panel {
1776
+ background: #1f2937;
1777
+ border-radius: 12px;
1778
+ padding: 24px;
1779
+ max-width: 400px;
1780
+ width: 90%;
1781
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
1782
+ }
1783
+
1784
+ .header {
1785
+ display: flex;
1786
+ justify-content: space-between;
1787
+ align-items: center;
1788
+ margin-bottom: 20px;
1789
+ }
1790
+
1791
+ h2 {
1792
+ margin: 0;
1793
+ font-size: 18px;
1794
+ font-weight: 600;
1795
+ color: #f9fafb;
1796
+ }
1797
+
1798
+ .close-btn {
1799
+ background: transparent;
1800
+ border: none;
1801
+ color: #9ca3af;
1802
+ cursor: pointer;
1803
+ padding: 4px;
1804
+ display: flex;
1805
+ align-items: center;
1806
+ justify-content: center;
1807
+ }
1808
+
1809
+ .close-btn:hover {
1810
+ color: white;
1811
+ }
1812
+
1813
+ .shortcuts {
1814
+ display: flex;
1815
+ flex-direction: column;
1816
+ gap: 12px;
1817
+ }
1818
+
1819
+ .shortcut {
1820
+ display: flex;
1821
+ justify-content: space-between;
1822
+ align-items: center;
1823
+ }
1824
+
1825
+ .shortcut-desc {
1826
+ color: #d1d5db;
1827
+ font-size: 14px;
1828
+ }
1829
+
1830
+ .shortcut-keys {
1831
+ display: flex;
1832
+ gap: 4px;
1833
+ }
1834
+
1835
+ kbd {
1836
+ background: #374151;
1837
+ color: #f9fafb;
1838
+ padding: 4px 8px;
1839
+ border-radius: 4px;
1840
+ font-size: 12px;
1841
+ font-family: inherit;
1842
+ border: 1px solid #4b5563;
1843
+ }
1844
+
1845
+ .divider {
1846
+ height: 1px;
1847
+ background: #374151;
1848
+ margin: 16px 0;
1849
+ }
1850
+
1851
+ .section-title {
1852
+ font-size: 12px;
1853
+ font-weight: 600;
1854
+ color: #9ca3af;
1855
+ text-transform: uppercase;
1856
+ letter-spacing: 0.5px;
1857
+ margin-bottom: 12px;
1858
+ }
1859
+ `,Ya([hA({type:Boolean})],Za.prototype,"open",2),Za=Ya([cA("zing-help")],Za);var za=Object.defineProperty,ja=Object.getOwnPropertyDescriptor,qa=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?ja(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&za(e,t,r),r};let Ac=class extends iA{constructor(){super(...arguments),this.agents=[],this.loading=!1,this.error="",this.currentAgent="",this.selectedAgent=""}connectedCallback(){super.connectedCallback(),this.currentAgent&&(this.selectedAgent=this.currentAgent),this.handleKeyDown=this.handleKeyDown.bind(this),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleKeyDown)}handleKeyDown(A){"Escape"===A.key&&this.dispatchEvent(new CustomEvent("close"))}selectAgent(A){A.available&&(this.selectedAgent=A.name)}confirm(){this.selectedAgent&&this.dispatchEvent(new CustomEvent("select",{detail:{agent:this.selectedAgent}}))}render(){return $`
1860
+ <div class="dialog" @click=${A=>A.stopPropagation()}>
1861
+ <h2>Choose Your AI Agent</h2>
1862
+ <p class="subtitle">Select which AI assistant will help you make UI changes</p>
1863
+
1864
+ ${this.error?$`<div class="error">${this.error}</div>`:""}
1865
+
1866
+ ${this.loading?$`
1867
+ <div class="loading">
1868
+ <div class="spinner"></div>
1869
+ <div>Loading available agents...</div>
1870
+ </div>
1871
+ `:$`
1872
+ <div class="agents">
1873
+ ${this.agents.map(A=>$`
1874
+ <div
1875
+ class="agent-card ${A.available?"":"unavailable"} ${this.selectedAgent===A.name?"selected":""}"
1876
+ @click=${()=>this.selectAgent(A)}
1877
+ >
1878
+ <div class="agent-name">${A.displayName}</div>
1879
+ ${A.version?$`<div class="agent-version">${A.version}</div>`:""}
1880
+ <span class="agent-status ${A.available?"available":"unavailable"}">
1881
+ ${A.available?"Available":"Not Available"}
1882
+ </span>
1883
+ ${!A.available&&A.reason?$`
1884
+ <div class="agent-reason">${A.reason}</div>
1885
+ <code class="install-cmd">${A.installCommand}</code>
1886
+ `:""}
1887
+ </div>
1888
+ `)}
1889
+ </div>
1890
+
1891
+ <div class="actions">
1892
+ <button class="secondary" @click=${()=>this.dispatchEvent(new CustomEvent("close"))}>
1893
+ Cancel
1894
+ </button>
1895
+ <button
1896
+ class="primary"
1897
+ ?disabled=${!this.selectedAgent}
1898
+ @click=${this.confirm}
1899
+ >
1900
+ Continue with ${this.agents.find(A=>A.name===this.selectedAgent)?.displayName||"Agent"}
1901
+ </button>
1902
+ </div>
1903
+ `}
1904
+ </div>
1905
+ `}};Ac.styles=o`
1906
+ :host {
1907
+ position: fixed;
1908
+ top: 0;
1909
+ left: 0;
1910
+ right: 0;
1911
+ bottom: 0;
1912
+ width: 100vw;
1913
+ height: 100vh;
1914
+ display: flex;
1915
+ align-items: center;
1916
+ justify-content: center;
1917
+ background: rgba(0, 0, 0, 0.6);
1918
+ z-index: 2147483647;
1919
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1920
+ pointer-events: auto;
1921
+ }
1922
+
1923
+ .dialog {
1924
+ background: #1e1e1e;
1925
+ border-radius: 16px;
1926
+ padding: 32px;
1927
+ max-width: 600px;
1928
+ width: 90%;
1929
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
1930
+ animation: slideIn 0.2s ease-out;
1931
+ }
1932
+
1933
+ @keyframes slideIn {
1934
+ from {
1935
+ opacity: 0;
1936
+ transform: translateY(-20px);
1937
+ }
1938
+ to {
1939
+ opacity: 1;
1940
+ transform: translateY(0);
1941
+ }
1942
+ }
1943
+
1944
+ h2 {
1945
+ margin: 0 0 8px 0;
1946
+ color: #fff;
1947
+ font-size: 24px;
1948
+ font-weight: 600;
1949
+ }
1950
+
1951
+ .subtitle {
1952
+ color: #888;
1953
+ margin: 0 0 24px 0;
1954
+ font-size: 14px;
1955
+ }
1956
+
1957
+ .agents {
1958
+ display: grid;
1959
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
1960
+ gap: 16px;
1961
+ margin-bottom: 24px;
1962
+ }
1963
+
1964
+ .agent-card {
1965
+ background: #2a2a2a;
1966
+ border: 2px solid #3a3a3a;
1967
+ border-radius: 12px;
1968
+ padding: 20px;
1969
+ cursor: pointer;
1970
+ transition: all 0.15s ease;
1971
+ text-align: center;
1972
+ }
1973
+
1974
+ .agent-card:hover:not(.unavailable):not(.selected) {
1975
+ border-color: #4a4a4a;
1976
+ background: #333;
1977
+ }
1978
+
1979
+ .agent-card.selected {
1980
+ border-color: #3b82f6;
1981
+ background: #1e3a5f;
1982
+ }
1983
+
1984
+ .agent-card.selected:hover {
1985
+ border-color: #60a5fa;
1986
+ background: #2451a1;
1987
+ }
1988
+
1989
+ .agent-card.unavailable {
1990
+ opacity: 0.5;
1991
+ cursor: not-allowed;
1992
+ }
1993
+
1994
+ .agent-name {
1995
+ font-weight: 600;
1996
+ color: #fff;
1997
+ margin-bottom: 4px;
1998
+ font-size: 16px;
1999
+ }
2000
+
2001
+ .agent-version {
2002
+ font-size: 12px;
2003
+ color: #888;
2004
+ margin-bottom: 8px;
2005
+ }
2006
+
2007
+ .agent-status {
2008
+ font-size: 11px;
2009
+ padding: 4px 8px;
2010
+ border-radius: 4px;
2011
+ display: inline-block;
2012
+ }
2013
+
2014
+ .agent-status.available {
2015
+ background: rgba(34, 197, 94, 0.2);
2016
+ color: #22c55e;
2017
+ }
2018
+
2019
+ .agent-status.unavailable {
2020
+ background: rgba(239, 68, 68, 0.2);
2021
+ color: #ef4444;
2022
+ }
2023
+
2024
+ .agent-reason {
2025
+ font-size: 11px;
2026
+ color: #888;
2027
+ margin-top: 8px;
2028
+ word-break: break-word;
2029
+ }
2030
+
2031
+ .install-cmd {
2032
+ font-size: 10px;
2033
+ font-family: monospace;
2034
+ background: #1a1a1a;
2035
+ padding: 4px 8px;
2036
+ border-radius: 4px;
2037
+ margin-top: 8px;
2038
+ color: #888;
2039
+ display: block;
2040
+ }
2041
+
2042
+ .actions {
2043
+ display: flex;
2044
+ justify-content: flex-end;
2045
+ gap: 12px;
2046
+ }
2047
+
2048
+ button {
2049
+ padding: 10px 20px;
2050
+ border-radius: 8px;
2051
+ font-size: 14px;
2052
+ font-weight: 500;
2053
+ cursor: pointer;
2054
+ transition: all 0.15s ease;
2055
+ border: none;
2056
+ }
2057
+
2058
+ button.primary {
2059
+ background: #3b82f6;
2060
+ color: #fff;
2061
+ }
2062
+
2063
+ button.primary:hover:not(:disabled) {
2064
+ background: #2563eb;
2065
+ }
2066
+
2067
+ button.primary:disabled {
2068
+ opacity: 0.5;
2069
+ cursor: not-allowed;
2070
+ }
2071
+
2072
+ button.secondary {
2073
+ background: #3a3a3a;
2074
+ color: #fff;
2075
+ }
2076
+
2077
+ button.secondary:hover {
2078
+ background: #4a4a4a;
2079
+ }
2080
+
2081
+ .error {
2082
+ background: rgba(239, 68, 68, 0.1);
2083
+ border: 1px solid #ef4444;
2084
+ border-radius: 8px;
2085
+ padding: 12px;
2086
+ margin-bottom: 16px;
2087
+ color: #ef4444;
2088
+ font-size: 13px;
2089
+ }
2090
+
2091
+ .loading {
2092
+ text-align: center;
2093
+ color: #888;
2094
+ padding: 40px;
2095
+ }
2096
+
2097
+ .spinner {
2098
+ width: 32px;
2099
+ height: 32px;
2100
+ border: 3px solid #3a3a3a;
2101
+ border-top-color: #3b82f6;
2102
+ border-radius: 50%;
2103
+ animation: spin 1s linear infinite;
2104
+ margin: 0 auto 16px;
2105
+ }
2106
+
2107
+ @keyframes spin {
2108
+ to { transform: rotate(360deg); }
2109
+ }
2110
+ `,qa([hA({type:Array})],Ac.prototype,"agents",2),qa([hA({type:Boolean})],Ac.prototype,"loading",2),qa([hA({type:String})],Ac.prototype,"error",2),qa([hA({type:String})],Ac.prototype,"currentAgent",2),qa([gA()],Ac.prototype,"selectedAgent",2),Ac=qa([cA("zing-agent-picker")],Ac);var ec=Object.defineProperty,tc=Object.getOwnPropertyDescriptor,nc=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?tc(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&ec(e,t,r),r};let sc=class extends iA{constructor(){super(...arguments),this.checkpoints=[],this.isOpen=!1,this.isLoading=!1,this.isUndoing=!1}render(){const A=this.checkpoints.some(A=>A.canUndo);return $`
2111
+ <div class="panel ${this.isOpen?"open":""}" @click=${this._stopPropagation} @mousedown=${this._stopPropagation} @pointerdown=${this._stopPropagation}>
2112
+ <div class="header">
2113
+ <h3>
2114
+ <svg class="header-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2115
+ <circle cx="12" cy="12" r="10"/>
2116
+ <polyline points="12 6 12 12 16 14"/>
2117
+ </svg>
2118
+ Change History
2119
+ </h3>
2120
+ <button class="close-btn" @click=${this._handleClose} title="Close">
2121
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2122
+ <line x1="18" y1="6" x2="6" y2="18"/>
2123
+ <line x1="6" y1="6" x2="18" y2="18"/>
2124
+ </svg>
2125
+ </button>
2126
+ </div>
2127
+
2128
+ <div class="checkpoints">
2129
+ ${this.isLoading?$`<div class="loading"><div class="spinner"></div></div>`:0===this.checkpoints.length?this._renderEmptyState():this._renderGroupedCheckpoints()}
2130
+ </div>
2131
+
2132
+ <div class="actions">
2133
+ <button
2134
+ class="undo-btn"
2135
+ ?disabled=${!A||this.isUndoing}
2136
+ @click=${this._handleUndo}
2137
+ >
2138
+ ${this.isUndoing?$`<div class="spinner" style="width: 16px; height: 16px; border-width: 2px;"></div>`:$`
2139
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2140
+ <path d="M3 7v6h6"/>
2141
+ <path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6.36 2.64L3 13"/>
2142
+ </svg>
2143
+ `}
2144
+ ${this.isUndoing?"Undoing...":"Undo Last Change"}
2145
+ </button>
2146
+ ${this.checkpoints.length>0?$`
2147
+ <button class="clear-btn" @click=${this._handleClearHistory}>
2148
+ Clear History
2149
+ </button>
2150
+ `:""}
2151
+ </div>
2152
+ </div>
2153
+ `}_groupCheckpointsByPage(){const A=new Map,e=this.checkpoints.slice().reverse();for(const t of e){const e=t.pageUrl||"Unknown Page";A.has(e)||A.set(e,[]),A.get(e).push(t)}return A}_formatPageUrl(A){if(!A||"Unknown Page"===A)return"Unknown Page";try{const e=new URL(A),t=e.pathname;if("/"===t)return e.hostname;if(t.length>40){return".../"+t.split("/").filter(Boolean).slice(-2).join("/")}return t}catch{return A.length>40?A.substring(0,37)+"...":A}}_renderGroupedCheckpoints(){const A=this._groupCheckpointsByPage();return Array.from(A.entries()).map(([A,e])=>$`
2154
+ <div class="page-group">
2155
+ <div class="page-header">
2156
+ <svg class="page-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2157
+ <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
2158
+ <polyline points="14 2 14 8 20 8"/>
2159
+ <line x1="16" y1="13" x2="8" y2="13"/>
2160
+ <line x1="16" y1="17" x2="8" y2="17"/>
2161
+ </svg>
2162
+ <span class="page-url" title="${A}">${this._formatPageUrl(A)}</span>
2163
+ <span class="page-count">${e.length}</span>
2164
+ </div>
2165
+ ${e.map(A=>this._renderCheckpoint(A))}
2166
+ </div>
2167
+ `)}_renderEmptyState(){return $`
2168
+ <div class="empty-state">
2169
+ <svg class="empty-state-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
2170
+ <circle cx="12" cy="12" r="10"/>
2171
+ <polyline points="12 6 12 12 16 14"/>
2172
+ </svg>
2173
+ <div>No changes recorded yet</div>
2174
+ <div style="margin-top: 8px; font-size: 12px;">
2175
+ Changes made by AI agents will appear here
2176
+ </div>
2177
+ </div>
2178
+ `}_renderCheckpoint(A){const e=A.canUndo,t="reverted"===A.status;return $`
2179
+ <div
2180
+ class="checkpoint ${e?"current":""} ${t?"reverted":""}"
2181
+ @click=${e=>this._handleRevertTo(e,A)}
2182
+ title="${t?"This change was reverted":e?"Current state":"Click to revert to this point"}"
2183
+ >
2184
+ <div class="checkpoint-header">
2185
+ <span class="checkpoint-time">
2186
+ ${this._formatTime(A.timestamp)}
2187
+ </span>
2188
+ <span class="checkpoint-status ${"pending"===A.status?"live":A.status}">
2189
+ ${"applied"===A.status&&e?"Current":"pending"===A.status?"Live":"applied"===A.status?"Applied":"Reverted"}
2190
+ </span>
2191
+ </div>
2192
+ <div class="checkpoint-annotations">
2193
+ ${A.annotations.map(A=>A.identifier).join(", ")||"No annotations"}
2194
+ </div>
2195
+ <div class="checkpoint-stats">
2196
+ <span class="stat">
2197
+ <svg class="stat-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2198
+ <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
2199
+ <polyline points="14 2 14 8 20 8"/>
2200
+ </svg>
2201
+ ${A.filesModified} files
2202
+ </span>
2203
+ <span class="stat">
2204
+ <svg class="stat-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2205
+ <path d="M12 20V10"/>
2206
+ <path d="M18 20V4"/>
2207
+ <path d="M6 20v-4"/>
2208
+ </svg>
2209
+ ${A.linesChanged} lines
2210
+ </span>
2211
+ <span class="stat">
2212
+ <svg class="stat-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2213
+ <rect x="3" y="3" width="18" height="18" rx="2"/>
2214
+ <path d="M9 9h6v6H9z"/>
2215
+ </svg>
2216
+ ${A.agentName}
2217
+ </span>
2218
+ </div>
2219
+ </div>
2220
+ `}_formatTime(A){const e=new Date(A),t=(new Date).getTime()-e.getTime(),n=Math.floor(t/6e4),s=Math.floor(t/36e5),r=Math.floor(t/864e5);return n<1?"Just now":n<60?`${n}m ago`:s<24?`${s}h ago`:r<7?`${r}d ago`:e.toLocaleDateString()}_stopPropagation(A){A.stopPropagation()}_handleClose(A){A.preventDefault(),A.stopPropagation(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_handleUndo(A){A.preventDefault(),A.stopPropagation(),this.isUndoing=!0,this.dispatchEvent(new CustomEvent("undo",{bubbles:!0,composed:!0})),setTimeout(()=>{this.isUndoing=!1},5e3)}_handleRevertTo(A,e){A.preventDefault(),A.stopPropagation(),"reverted"===e.status||e.canUndo||confirm(`Revert to this checkpoint?\n\nAll changes after "${e.annotations.map(A=>A.identifier).join(", ")}" will be undone.`)&&this.dispatchEvent(new CustomEvent("revert-to",{detail:{checkpointId:e.id},bubbles:!0,composed:!0}))}_handleClearHistory(A){A.preventDefault(),A.stopPropagation(),confirm("Clear all history?\n\nThis will remove all checkpoint records but will not undo any changes.")&&this.dispatchEvent(new CustomEvent("clear-history",{bubbles:!0,composed:!0}))}undoComplete(){this.isUndoing=!1}};sc.styles=o`
2221
+ :host {
2222
+ display: block;
2223
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
2224
+ pointer-events: auto;
2225
+ }
2226
+
2227
+ .panel {
2228
+ position: fixed;
2229
+ left: 0;
2230
+ top: 0;
2231
+ width: 320px;
2232
+ height: 100vh;
2233
+ background: #1f2937;
2234
+ border-right: 1px solid #374151;
2235
+ transform: translateX(-100%);
2236
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
2237
+ z-index: 2147483645;
2238
+ display: flex;
2239
+ flex-direction: column;
2240
+ pointer-events: auto;
2241
+ }
2242
+
2243
+ .panel.open {
2244
+ transform: translateX(0);
2245
+ box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
2246
+ }
2247
+
2248
+ .header {
2249
+ padding: 16px;
2250
+ border-bottom: 1px solid #374151;
2251
+ display: flex;
2252
+ justify-content: space-between;
2253
+ align-items: center;
2254
+ background: #111827;
2255
+ }
2256
+
2257
+ .header h3 {
2258
+ margin: 0;
2259
+ color: #f3f4f6;
2260
+ font-size: 14px;
2261
+ font-weight: 600;
2262
+ display: flex;
2263
+ align-items: center;
2264
+ gap: 8px;
2265
+ }
2266
+
2267
+ .header-icon {
2268
+ width: 18px;
2269
+ height: 18px;
2270
+ color: #9ca3af;
2271
+ }
2272
+
2273
+ .close-btn {
2274
+ background: none;
2275
+ border: none;
2276
+ color: #9ca3af;
2277
+ cursor: pointer;
2278
+ padding: 4px;
2279
+ display: flex;
2280
+ align-items: center;
2281
+ justify-content: center;
2282
+ border-radius: 4px;
2283
+ transition: all 0.15s ease;
2284
+ }
2285
+
2286
+ .close-btn:hover {
2287
+ background: #374151;
2288
+ color: #f3f4f6;
2289
+ }
2290
+
2291
+ .checkpoints {
2292
+ flex: 1;
2293
+ overflow-y: auto;
2294
+ padding: 12px;
2295
+ }
2296
+
2297
+ .checkpoint {
2298
+ background: #111827;
2299
+ border-radius: 8px;
2300
+ padding: 12px;
2301
+ margin-bottom: 8px;
2302
+ cursor: pointer;
2303
+ border: 2px solid transparent;
2304
+ transition: all 0.15s ease;
2305
+ }
2306
+
2307
+ .checkpoint:hover {
2308
+ border-color: #3b82f6;
2309
+ }
2310
+
2311
+ .checkpoint.current {
2312
+ border-color: #22c55e;
2313
+ background: #0f1f13;
2314
+ }
2315
+
2316
+ .checkpoint.reverted {
2317
+ opacity: 0.5;
2318
+ }
2319
+
2320
+ .checkpoint.reverted:hover {
2321
+ opacity: 0.7;
2322
+ }
2323
+
2324
+ .checkpoint-header {
2325
+ display: flex;
2326
+ justify-content: space-between;
2327
+ align-items: flex-start;
2328
+ margin-bottom: 8px;
2329
+ }
2330
+
2331
+ .checkpoint-time {
2332
+ color: #9ca3af;
2333
+ font-size: 11px;
2334
+ }
2335
+
2336
+ .checkpoint-status {
2337
+ font-size: 10px;
2338
+ padding: 2px 6px;
2339
+ border-radius: 4px;
2340
+ font-weight: 500;
2341
+ }
2342
+
2343
+ .checkpoint-status.live {
2344
+ background: #fbbf24;
2345
+ color: #1f2937;
2346
+ }
2347
+
2348
+ .checkpoint-status.applied {
2349
+ background: #22c55e;
2350
+ color: #fff;
2351
+ }
2352
+
2353
+ .checkpoint-status.reverted {
2354
+ background: #6b7280;
2355
+ color: #fff;
2356
+ }
2357
+
2358
+ .checkpoint-annotations {
2359
+ color: #f3f4f6;
2360
+ font-size: 13px;
2361
+ margin-bottom: 8px;
2362
+ line-height: 1.4;
2363
+ }
2364
+
2365
+ .checkpoint-stats {
2366
+ display: flex;
2367
+ gap: 12px;
2368
+ font-size: 11px;
2369
+ color: #9ca3af;
2370
+ }
2371
+
2372
+ .stat {
2373
+ display: flex;
2374
+ align-items: center;
2375
+ gap: 4px;
2376
+ }
2377
+
2378
+ .stat-icon {
2379
+ width: 12px;
2380
+ height: 12px;
2381
+ }
2382
+
2383
+ .stat.added {
2384
+ color: #22c55e;
2385
+ }
2386
+
2387
+ .stat.removed {
2388
+ color: #ef4444;
2389
+ }
2390
+
2391
+ .actions {
2392
+ padding: 16px;
2393
+ border-top: 1px solid #374151;
2394
+ background: #111827;
2395
+ }
2396
+
2397
+ .undo-btn {
2398
+ width: 100%;
2399
+ padding: 10px 16px;
2400
+ background: #ef4444;
2401
+ color: white;
2402
+ border: none;
2403
+ border-radius: 6px;
2404
+ cursor: pointer;
2405
+ font-size: 13px;
2406
+ font-weight: 500;
2407
+ display: flex;
2408
+ align-items: center;
2409
+ justify-content: center;
2410
+ gap: 8px;
2411
+ transition: all 0.15s ease;
2412
+ }
2413
+
2414
+ .undo-btn:hover:not(:disabled) {
2415
+ background: #dc2626;
2416
+ }
2417
+
2418
+ .undo-btn:disabled {
2419
+ background: #4b5563;
2420
+ cursor: not-allowed;
2421
+ }
2422
+
2423
+ .empty-state {
2424
+ text-align: center;
2425
+ color: #6b7280;
2426
+ padding: 40px 20px;
2427
+ font-size: 13px;
2428
+ }
2429
+
2430
+ .empty-state-icon {
2431
+ width: 48px;
2432
+ height: 48px;
2433
+ margin: 0 auto 16px;
2434
+ color: #4b5563;
2435
+ }
2436
+
2437
+ .loading {
2438
+ display: flex;
2439
+ align-items: center;
2440
+ justify-content: center;
2441
+ padding: 40px;
2442
+ color: #9ca3af;
2443
+ }
2444
+
2445
+ .spinner {
2446
+ width: 24px;
2447
+ height: 24px;
2448
+ border: 2px solid #374151;
2449
+ border-top-color: #3b82f6;
2450
+ border-radius: 50%;
2451
+ animation: spin 0.8s linear infinite;
2452
+ }
2453
+
2454
+ @keyframes spin {
2455
+ to { transform: rotate(360deg); }
2456
+ }
2457
+
2458
+ .clear-btn {
2459
+ width: 100%;
2460
+ padding: 8px 16px;
2461
+ background: transparent;
2462
+ color: #9ca3af;
2463
+ border: 1px solid #374151;
2464
+ border-radius: 6px;
2465
+ cursor: pointer;
2466
+ font-size: 12px;
2467
+ margin-top: 8px;
2468
+ transition: all 0.15s ease;
2469
+ }
2470
+
2471
+ .clear-btn:hover {
2472
+ background: #374151;
2473
+ color: #f3f4f6;
2474
+ }
2475
+
2476
+ /* Page grouping styles */
2477
+ .page-group {
2478
+ margin-bottom: 16px;
2479
+ }
2480
+
2481
+ .page-group:last-child {
2482
+ margin-bottom: 0;
2483
+ }
2484
+
2485
+ .page-header {
2486
+ display: flex;
2487
+ align-items: center;
2488
+ gap: 8px;
2489
+ padding: 8px 12px;
2490
+ background: #374151;
2491
+ border-radius: 6px;
2492
+ margin-bottom: 8px;
2493
+ cursor: default;
2494
+ }
2495
+
2496
+ .page-icon {
2497
+ width: 14px;
2498
+ height: 14px;
2499
+ color: #9ca3af;
2500
+ flex-shrink: 0;
2501
+ }
2502
+
2503
+ .page-url {
2504
+ font-size: 12px;
2505
+ color: #d1d5db;
2506
+ white-space: nowrap;
2507
+ overflow: hidden;
2508
+ text-overflow: ellipsis;
2509
+ flex: 1;
2510
+ }
2511
+
2512
+ .page-count {
2513
+ font-size: 11px;
2514
+ color: #6b7280;
2515
+ background: #1f2937;
2516
+ padding: 2px 6px;
2517
+ border-radius: 10px;
2518
+ flex-shrink: 0;
2519
+ }
2520
+ `,nc([hA({type:Array})],sc.prototype,"checkpoints",2),nc([hA({type:Boolean})],sc.prototype,"isOpen",2),nc([hA({type:Boolean})],sc.prototype,"isLoading",2),nc([gA()],sc.prototype,"isUndoing",2),sc=nc([cA("zing-history-panel")],sc);var rc=Object.defineProperty,oc=Object.getOwnPropertyDescriptor,ic=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?oc(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&rc(e,t,r),r};let ac=class extends iA{constructor(){super(...arguments),this.visible=!1,this.message="Changes applied",this.filesModified=0,this.timeout=1e4,this.remainingTime=0,this._startTime=0}updated(A){A.has("visible")&&(this.visible?this._startTimeout():this._clearTimers())}disconnectedCallback(){super.disconnectedCallback(),this._clearTimers()}_startTimeout(){this._clearTimers(),this._startTime=Date.now(),this.remainingTime=this.timeout,this._intervalId=window.setInterval(()=>{this.remainingTime=Math.max(0,this.timeout-(Date.now()-this._startTime)),this.remainingTime<=0&&this._handleDismiss()},50),this._timeoutId=window.setTimeout(()=>{this._handleDismiss()},this.timeout+100)}_clearTimers(){this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=void 0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0)}render(){const A=this.remainingTime/this.timeout*100;return $`
2521
+ <div class="bar ${this.visible?"visible":""}">
2522
+ <div class="content">
2523
+ <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2524
+ <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/>
2525
+ <polyline points="22 4 12 14.01 9 11.01"/>
2526
+ </svg>
2527
+ <span class="message">
2528
+ <strong>${this.filesModified} file${1!==this.filesModified?"s":""}</strong> modified
2529
+ </span>
2530
+ </div>
2531
+
2532
+ <div class="actions">
2533
+ <button class="undo-btn" @click=${this._handleUndo}>
2534
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2535
+ <path d="M3 7v6h6"/>
2536
+ <path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6.36 2.64L3 13"/>
2537
+ </svg>
2538
+ Undo
2539
+ </button>
2540
+ <span class="keyboard-hint">
2541
+ <kbd>Ctrl</kbd>+<kbd>Z</kbd>
2542
+ </span>
2543
+ <button class="dismiss-btn" @click=${this._handleDismiss} title="Dismiss">
2544
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
2545
+ <line x1="18" y1="6" x2="6" y2="18"/>
2546
+ <line x1="6" y1="6" x2="18" y2="18"/>
2547
+ </svg>
2548
+ </button>
2549
+ </div>
2550
+
2551
+ <div class="progress" style="width: ${A}%"></div>
2552
+ </div>
2553
+ `}_handleUndo(){this._clearTimers(),this.dispatchEvent(new CustomEvent("undo",{bubbles:!0,composed:!0}))}_handleDismiss(){this._clearTimers(),this.dispatchEvent(new CustomEvent("dismiss",{bubbles:!0,composed:!0}))}dismiss(){this._handleDismiss()}};ac.styles=o`
2554
+ :host {
2555
+ display: block;
2556
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
2557
+ }
2558
+
2559
+ .bar {
2560
+ position: fixed;
2561
+ bottom: 24px;
2562
+ left: 50%;
2563
+ transform: translateX(-50%) translateY(100px);
2564
+ background: #1f2937;
2565
+ color: #f3f4f6;
2566
+ padding: 12px 16px;
2567
+ border-radius: 8px;
2568
+ display: flex;
2569
+ align-items: center;
2570
+ gap: 16px;
2571
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
2572
+ transition: transform 0.3s ease;
2573
+ z-index: 2147483646;
2574
+ border: 1px solid #374151;
2575
+ }
2576
+
2577
+ .bar.visible {
2578
+ transform: translateX(-50%) translateY(0);
2579
+ }
2580
+
2581
+ .content {
2582
+ display: flex;
2583
+ align-items: center;
2584
+ gap: 12px;
2585
+ }
2586
+
2587
+ .icon {
2588
+ width: 20px;
2589
+ height: 20px;
2590
+ color: #22c55e;
2591
+ }
2592
+
2593
+ .message {
2594
+ font-size: 13px;
2595
+ max-width: 300px;
2596
+ }
2597
+
2598
+ .message strong {
2599
+ color: #fff;
2600
+ }
2601
+
2602
+ .actions {
2603
+ display: flex;
2604
+ align-items: center;
2605
+ gap: 8px;
2606
+ }
2607
+
2608
+ .undo-btn {
2609
+ background: #3b82f6;
2610
+ color: white;
2611
+ border: none;
2612
+ padding: 8px 16px;
2613
+ border-radius: 6px;
2614
+ cursor: pointer;
2615
+ font-size: 13px;
2616
+ font-weight: 500;
2617
+ transition: all 0.15s ease;
2618
+ display: flex;
2619
+ align-items: center;
2620
+ gap: 6px;
2621
+ }
2622
+
2623
+ .undo-btn:hover {
2624
+ background: #2563eb;
2625
+ }
2626
+
2627
+ .dismiss-btn {
2628
+ background: none;
2629
+ border: none;
2630
+ color: #9ca3af;
2631
+ cursor: pointer;
2632
+ padding: 4px;
2633
+ display: flex;
2634
+ align-items: center;
2635
+ justify-content: center;
2636
+ border-radius: 4px;
2637
+ transition: all 0.15s ease;
2638
+ }
2639
+
2640
+ .dismiss-btn:hover {
2641
+ background: #374151;
2642
+ color: #f3f4f6;
2643
+ }
2644
+
2645
+ .progress {
2646
+ position: absolute;
2647
+ bottom: 0;
2648
+ left: 0;
2649
+ height: 3px;
2650
+ background: #3b82f6;
2651
+ border-radius: 0 0 8px 8px;
2652
+ transition: width linear;
2653
+ }
2654
+
2655
+ .keyboard-hint {
2656
+ font-size: 11px;
2657
+ color: #6b7280;
2658
+ margin-left: 4px;
2659
+ }
2660
+
2661
+ kbd {
2662
+ background: #374151;
2663
+ border-radius: 3px;
2664
+ padding: 2px 5px;
2665
+ font-size: 10px;
2666
+ font-family: inherit;
2667
+ border: 1px solid #4b5563;
2668
+ }
2669
+ `,ic([hA({type:Boolean})],ac.prototype,"visible",2),ic([hA({type:String})],ac.prototype,"message",2),ic([hA({type:Number})],ac.prototype,"filesModified",2),ic([hA({type:Number})],ac.prototype,"timeout",2),ic([gA()],ac.prototype,"remainingTime",2),ac=ic([cA("zing-undo-bar")],ac);var cc=Object.defineProperty,lc=Object.getOwnPropertyDescriptor,Bc=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?lc(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&cc(e,t,r),r};let hc=class extends iA{constructor(){super(),this.annotations=[],this.settings=wa(),this.wsConnected=!1,this.wsMaxAttemptsReached=!1,this.processing=!1,this.agentName="",this.agentModel="",this.serverProjectDir="",this.annotationActive=function(){try{const A=localStorage.getItem(Ba);return null===A||JSON.parse(A)}catch{return!0}}(),this.availableAgents=[],this.agentPickerOpen=!1,this.agentPickerLoading=!1,this.agentPickerError="",this.highlightVisible=!1,this.highlightRect={top:0,left:0,width:0,height:0},this.highlightLabel="",this.modalOpen=!1,this.modalEditMode=!1,this.modalAnnotationId="",this.modalSelector="",this.modalIdentifier="",this.modalSelectedText="",this.modalNotes="",this.pendingElement=null,this.modalCaptureScreenshot=!1,this.modalScreenshotPreview="",this.modalScreenshotLoading=!1,this.settingsOpen=!1,this.helpOpen=!1,this.isHidden=!1,this.responseOpen=!1,this.responseContent="",this.responseToolStatus="",this.responseError="",this.responseScreenshotCount=0,this.undoStack=[],this.historyOpen=!1,this.historyCheckpoints=[],this.historyLoading=!1,this.undoBarVisible=!1,this.undoBarFilesModified=0,this.pendingAnnotationRemovals=new Set,this.undoInProgress=!1,this.recentlyDeletedAnnotation=null,this.deleteUndoTimeout=null,this.toolbarPosition=function(){try{const A=localStorage.getItem(ha);return A?JSON.parse(A):null}catch{return null}}(),this.isDragging=!1,this.dragOffset={x:0,y:0},this.ws=null,this.clickHandler=this.handleDocumentClick.bind(this),this.mouseMoveHandler=this.handleDocumentMouseMove.bind(this),this.keydownHandler=this.handleDocumentKeydown.bind(this),this.dragMoveHandler=this.handleDragMove.bind(this),this.dragEndHandler=this.handleDragEnd.bind(this)}connectedCallback(){super.connectedCallback(),this.annotations=function(){try{const A=localStorage.getItem(ca);if(!A)return[];const e=JSON.parse(A);return e.url!==window.location.href?[]:Array.isArray(e.annotations)?e.annotations:[]}catch{return[]}}();try{const A=this.annotations.filter(A=>{try{return null!==document.querySelector(A.selector)}catch{return!1}});if(A.length<this.annotations.length){const e=this.annotations.length-A.length;console.log(`[ZingIt] Removed ${e} orphaned annotation(s) - elements no longer exist`),this.annotations=A,da(this.annotations),this.updateComplete.then(()=>{this.toast?.info(`Removed ${e} stale annotation${e>1?"s":""}`)})}}catch(e){console.warn("[ZingIt] Error cleaning up orphaned annotations:",e)}const A=function(){try{const A=sessionStorage.getItem(ga);return A?JSON.parse(A):null}catch{return null}}();A&&A.content&&(this.responseOpen=!0,this.responseContent=A.content,this.responseError=A.error,this.responseScreenshotCount=A.screenshotCount,function(){try{sessionStorage.removeItem(ga)}catch(e){console.warn("ZingIt: Failed to clear response state",e)}}(),this.requestUpdate()),this.initWebSocket(),document.addEventListener("click",this.clickHandler,!0),document.addEventListener("mousemove",this.mouseMoveHandler,!0),document.addEventListener("keydown",this.keydownHandler)}disconnectedCallback(){super.disconnectedCallback(),this.ws&&(this.ws.disconnect(),this.ws=null),this.deleteUndoTimeout&&(clearTimeout(this.deleteUndoTimeout),this.deleteUndoTimeout=null),document.removeEventListener("click",this.clickHandler,!0),document.removeEventListener("mousemove",this.mouseMoveHandler,!0),document.removeEventListener("keydown",this.keydownHandler)}initWebSocket(){this.ws=new ji(this.settings.wsUrl),this.ws.on("open",()=>{this.wsConnected=!0,this.wsMaxAttemptsReached=!1;this.annotations.some(A=>"processing"===A.status)?(console.log("[ZingIt] Reconnected with processing annotations - marking as completed"),this.annotations=this.annotations.map(A=>"processing"===A.status?{...A,status:"completed"}:A),da(this.annotations),this.toast.success("Connected - changes completed")):this.toast.success("Connected to server"),this.ws?.requestAgents()}),this.ws.on("close",()=>{this.wsConnected=!1}),this.ws.on("max_attempts",()=>{this.wsMaxAttemptsReached=!0,this.toast.error("Connection failed - click Reconnect to retry")}),this.ws.on("message",A=>{this.handleWSMessage(A)}),this.ws.connect()}handleWSMessage(A){switch(A.type){case"connected":this.agentName=A.agent||"",this.agentModel=A.model||"",this.serverProjectDir=A.projectDir||"";break;case"processing":this.processing=!0,this.responseOpen=!0,this.responseContent="",this.responseError="";break;case"delta":this.responseContent+=A.content||"",this.settings.autoRefresh&&this.responseContent&&this.saveCurrentResponseState();break;case"tool_start":this.responseToolStatus=A.tool||"";break;case"tool_end":this.responseToolStatus="";break;case"idle":this.processing=!1,this.responseToolStatus="",this.updateAnnotationStatuses("processing","completed"),this.settings.playSoundOnComplete&&this.playCompletionSound(),setTimeout(()=>{this.ws&&this.wsConnected&&this.ws.send({type:"get_history"})},500),this.settings.autoRefresh&&(this.saveCurrentResponseState(),this.toast.info("Refreshing page..."),setTimeout(()=>window.location.reload(),1e3));break;case"error":this.responseError=A.message||"Unknown error",this.processing=!1,this.responseToolStatus="",this.undoInProgress=!1,this.pendingAnnotationRemovals.clear(),this.updateAnnotationStatuses("processing","pending"),this.toast.error(A.message||"An error occurred");break;case"reset_complete":this.responseContent="",this.responseError="";break;case"agents":if(this.availableAgents=A.agents||[],this.agentPickerLoading=!1,this.agentPickerError="",!this.agentName&&this.availableAgents.length>0)if(this.settings.selectedAgent){const A=this.availableAgents.find(A=>A.name===this.settings.selectedAgent);A?.available?this.ws?.selectAgent(this.settings.selectedAgent):this.agentPickerOpen=!0}else this.agentPickerOpen=!0;break;case"agent_selected":this.agentName=A.agent||"",this.agentModel=A.model||"",this.agentPickerOpen=!1,this.settings={...this.settings,selectedAgent:this.agentName},pa(this.settings),this.toast.success(`Using ${A.agent||"agent"}`);break;case"agent_error":this.agentPickerError=A.message||"Failed to select agent",this.toast.error(A.message||"Failed to select agent");break;case"checkpoint_created":if(A.checkpoint){const e=this.historyCheckpoints.findIndex(e=>e.id===A.checkpoint.id);this.historyCheckpoints=e>=0?[...this.historyCheckpoints.slice(0,e),A.checkpoint,...this.historyCheckpoints.slice(e+1)]:[...this.historyCheckpoints,A.checkpoint],"applied"===A.checkpoint.status&&A.checkpoint.filesModified>0&&this.settings.showUndoBar&&(this.undoBarFilesModified=A.checkpoint.filesModified,this.undoBarVisible=!0)}break;case"history":this.historyCheckpoints=A.checkpoints||[],this.historyLoading=!1;break;case"undo_complete":this.handleCheckpointRestored("Change undone");break;case"revert_complete":this.handleCheckpointRestored("Reverted to checkpoint");break;case"history_cleared":this.historyCheckpoints=[],this.toast.info("History cleared")}}handleDocumentClick(A){if(!this.annotationActive)return;if(!this.agentName)return;if(this.modalOpen||this.settingsOpen||this.agentPickerOpen||this.historyOpen)return;const e=this.getTargetElement(A);if(!e)return;A.preventDefault(),A.stopPropagation(),this.pendingElement=e,this.modalEditMode=!1,this.modalAnnotationId="",this.modalSelector=ea(e),this.modalIdentifier=na(e),this.modalNotes="",this.modalCaptureScreenshot=!1,this.modalScreenshotPreview="";const t=window.getSelection();this.modalSelectedText=t?.toString().trim()||"",this.modalOpen=!0}handleDocumentMouseMove(A){if(!this.annotationActive)return void(this.highlightVisible=!1);if(!this.agentName)return void(this.highlightVisible=!1);if(this.modalOpen||this.settingsOpen||this.agentPickerOpen)return void(this.highlightVisible=!1);const e=this.getTargetElement(A);if(!e)return void(this.highlightVisible=!1);const t=Qa(e);this.highlightRect=t,this.highlightLabel=na(e),this.highlightVisible=!0}isEditableTarget(A){const e=A.composedPath();for(const t of e)if(t instanceof HTMLElement){const A=t.tagName?.toLowerCase();if("input"===A||"textarea"===A||t.isContentEditable)return!0}return!1}handleDocumentKeydown(A){if("Escape"===A.key&&(this.helpOpen?this.helpOpen=!1:this.modalOpen?this.modalOpen=!1:this.settingsOpen?this.settingsOpen=!1:this.historyOpen?this.historyOpen=!1:this.responseOpen?this.responseOpen=!1:this.undoBarVisible&&(this.undoBarVisible=!1)),this.isEditableTarget(A))return;const e=this.historyCheckpoints.some(A=>A.canUndo);(A.metaKey||A.ctrlKey)&&"z"===A.key&&!A.shiftKey&&(this.undoStack.length>0||e)&&(A.preventDefault(),this.handleUndo()),"z"!==A.key&&"Z"!==A.key||this.handleToggle(),"?"===A.key&&(this.helpOpen=!this.helpOpen),"`"===A.key&&(this.isHidden=!this.isHidden,this.isHidden||this.toast.info("ZingIt visible"))}isOwnElement(A){let e=A;for(;e;){if(e instanceof Element&&e.tagName?.toLowerCase().startsWith("zing-"))return!0;if(e instanceof Element&&e.parentElement)e=e.parentElement;else{const A=e.getRootNode();e=A instanceof ShadowRoot?A.host:null}}return!1}isEventFromOwnElement(A){const e=A.composedPath();for(const t of e)if(t instanceof Element&&t.tagName?.toLowerCase().startsWith("zing-"))return!0;return!1}getTargetElement(A){if(this.isEventFromOwnElement(A))return null;const e=A.composedPath();for(const n of e){if(!(n instanceof Element))continue;const A=n.tagName.toLowerCase();if("body"===A||"html"===A)break;if(!this.isOwnElement(n))return n}const t=document.elementsFromPoint(A.clientX,A.clientY);for(const n of t){const A=n.tagName.toLowerCase();if("body"!==A&&"html"!==A&&!this.isOwnElement(n))return n}return null}render(){return this.isHidden?$`<zing-toast></zing-toast>`:$`
2670
+ <zing-highlight
2671
+ .top=${this.highlightRect.top}
2672
+ .left=${this.highlightRect.left}
2673
+ .width=${this.highlightRect.width}
2674
+ .height=${this.highlightRect.height}
2675
+ .label=${this.highlightLabel}
2676
+ .visible=${this.highlightVisible}
2677
+ style="--highlight-color: ${this.settings.highlightColor}"
2678
+ ></zing-highlight>
2679
+
2680
+ <zing-markers
2681
+ .annotations=${this.annotations}
2682
+ style="--marker-color: ${this.settings.markerColor}; --processing-color: ${this.settings.processingColor}; --completed-color: ${this.settings.completedColor}"
2683
+ @marker-click=${this.handleMarkerClick}
2684
+ @marker-delete=${this.handleMarkerDelete}
2685
+ ></zing-markers>
2686
+
2687
+ <div
2688
+ class="toolbar-container ${this.toolbarPosition?"custom-position":"default-position"} ${this.isDragging?"dragging":""}"
2689
+ style="${this.toolbarPosition?`left: ${this.toolbarPosition.x}px; top: ${this.toolbarPosition.y}px;`:""}"
2690
+ >
2691
+ <zing-toolbar
2692
+ .active=${this.annotationActive}
2693
+ .connected=${this.wsConnected}
2694
+ .processing=${this.processing}
2695
+ .maxAttemptsReached=${this.wsMaxAttemptsReached}
2696
+ .annotationCount=${this.annotations.length}
2697
+ .canUndo=${this.undoStack.length>0||this.historyCheckpoints.some(A=>A.canUndo)}
2698
+ .agent=${this.agentName}
2699
+ .model=${this.agentModel}
2700
+ .responseOpen=${this.responseOpen}
2701
+ .historyOpen=${this.historyOpen}
2702
+ @toggle=${this.handleToggle}
2703
+ @send=${this.handleSend}
2704
+ @undo=${this.handleUndo}
2705
+ @export=${this.handleExport}
2706
+ @clear=${this.handleClear}
2707
+ @help=${()=>this.helpOpen=!0}
2708
+ @settings=${()=>this.settingsOpen=!0}
2709
+ @close=${this.handleClose}
2710
+ @reconnect=${this.handleReconnect}
2711
+ @toggle-response=${()=>this.responseOpen=!this.responseOpen}
2712
+ @toggle-history=${this.handleToggleHistory}
2713
+ @change-agent=${()=>this.agentPickerOpen=!0}
2714
+ @drag-start=${this.handleToolbarDragStart}
2715
+ @drag-reset=${this.handleToolbarDragReset}
2716
+ ></zing-toolbar>
2717
+ </div>
2718
+
2719
+ <zing-modal
2720
+ .open=${this.modalOpen}
2721
+ .editMode=${this.modalEditMode}
2722
+ .annotationId=${this.modalAnnotationId}
2723
+ .selector=${this.modalSelector}
2724
+ .identifier=${this.modalIdentifier}
2725
+ .selectedText=${this.modalSelectedText}
2726
+ .notes=${this.modalNotes}
2727
+ .captureScreenshot=${this.modalCaptureScreenshot}
2728
+ .screenshotPreview=${this.modalScreenshotPreview}
2729
+ .screenshotLoading=${this.modalScreenshotLoading}
2730
+ @cancel=${this.handleModalCancel}
2731
+ @save=${this.handleModalSave}
2732
+ @screenshot-toggle=${this.handleScreenshotToggle}
2733
+ ></zing-modal>
2734
+
2735
+ <zing-settings
2736
+ .open=${this.settingsOpen}
2737
+ .settings=${this.settings}
2738
+ .serverProjectDir=${this.serverProjectDir}
2739
+ .agents=${this.availableAgents}
2740
+ @close=${()=>this.settingsOpen=!1}
2741
+ @save=${this.handleSettingsSave}
2742
+ @agent-change=${this.handleAgentChange}
2743
+ ></zing-settings>
2744
+
2745
+ ${this.agentPickerOpen?$`
2746
+ <zing-agent-picker
2747
+ .agents=${this.availableAgents}
2748
+ .loading=${this.agentPickerLoading}
2749
+ .error=${this.agentPickerError}
2750
+ .currentAgent=${this.agentName}
2751
+ @select=${this.handleAgentPickerSelect}
2752
+ @close=${()=>this.agentPickerOpen=!1}
2753
+ ></zing-agent-picker>
2754
+ `:""}
2755
+
2756
+ <zing-agent-response-panel
2757
+ .isOpen=${this.responseOpen}
2758
+ .processing=${this.processing}
2759
+ .autoRefresh=${this.settings.autoRefresh}
2760
+ .content=${this.responseContent}
2761
+ .toolStatus=${this.responseToolStatus}
2762
+ .error=${this.responseError}
2763
+ .screenshotCount=${this.responseScreenshotCount}
2764
+ @close=${()=>this.responseOpen=!1}
2765
+ @stop=${this.handleStop}
2766
+ @followup=${this.handleFollowUp}
2767
+ ></zing-agent-response-panel>
2768
+
2769
+ <zing-help
2770
+ .open=${this.helpOpen}
2771
+ @close=${()=>this.helpOpen=!1}
2772
+ ></zing-help>
2773
+
2774
+ <zing-history-panel
2775
+ .isOpen=${this.historyOpen}
2776
+ .checkpoints=${this.historyCheckpoints}
2777
+ .isLoading=${this.historyLoading}
2778
+ @close=${()=>this.historyOpen=!1}
2779
+ @undo=${this.handleGitUndo}
2780
+ @revert-to=${this.handleRevertTo}
2781
+ @clear-history=${this.handleClearHistory}
2782
+ ></zing-history-panel>
2783
+
2784
+ <zing-undo-bar
2785
+ .visible=${this.undoBarVisible}
2786
+ .filesModified=${this.undoBarFilesModified}
2787
+ .timeout=${this.settings.undoBarTimeout}
2788
+ @undo=${this.handleGitUndo}
2789
+ @dismiss=${()=>this.undoBarVisible=!1}
2790
+ ></zing-undo-bar>
2791
+
2792
+ <zing-toast></zing-toast>
2793
+ `}handleModalCancel(){this.modalOpen=!1,this.pendingElement=null,this.modalCaptureScreenshot=!1,this.modalScreenshotPreview="",this.modalScreenshotLoading=!1}compressScreenshot(A){const e=[1,.9,.8,.6,.4];for(const s of e){const e=A.toDataURL("image/jpeg",s),t=e.split(",")[1]?.length||0;if(t<=48e5)return console.log(`ZingIt: Screenshot compressed to ${Math.round(t/1e3)}KB (quality: ${s})`),e}console.warn("ZingIt: Screenshot still too large, resizing...");const t=document.createElement("canvas");t.width=.7*A.width,t.height=.7*A.height;const n=t.getContext("2d");if(n){n.drawImage(A,0,0,t.width,t.height);const e=t.toDataURL("image/jpeg",.6),s=e.split(",")[1]?.length||0;return console.log(`ZingIt: Screenshot resized and compressed to ${Math.round(s/1e3)}KB`),e}return A.toDataURL("image/jpeg",.3)}async handleScreenshotToggle(A){if(this.modalCaptureScreenshot=A.detail.enabled,A.detail.enabled&&this.pendingElement){this.modalScreenshotLoading=!0;try{const A=await(e=this.pendingElement,t={logging:!1,useCORS:!0,allowTaint:!0,backgroundColor:null,scale:1},void 0===t&&(t={}),Zi(e,t));this.modalScreenshotPreview=this.compressScreenshot(A)}catch(n){console.warn("ZingIt: Failed to capture screenshot preview",n),this.modalScreenshotPreview=""}this.modalScreenshotLoading=!1}else A.detail.enabled||(this.modalScreenshotPreview="");var e,t}handleModalSave(A){try{const{notes:e,editMode:t,annotationId:n,captureScreenshot:s}=A.detail;if(t){const A=s&&this.modalScreenshotPreview?this.modalScreenshotPreview:void 0;this.annotations=this.annotations.map(t=>{if(t.id===n){const n={...t,notes:e,status:"pending"};return A?n.screenshot=A:delete n.screenshot,n}return t}),da(this.annotations),this.undoStack=this.undoStack.map(t=>{if(t.id===n){const n={...t,notes:e,status:"pending"};return A?n.screenshot=A:delete n.screenshot,n}return t}),this.handleModalCancel(),this.toast.success("Annotation updated")}else{if(!this.pendingElement)return;const A=s&&this.modalScreenshotPreview?this.modalScreenshotPreview:void 0,t={id:crypto.randomUUID(),selector:this.modalSelector,identifier:this.modalIdentifier,html:aa(this.pendingElement),notes:e,parentContext:sa(this.pendingElement),textContent:ia(this.pendingElement),siblingContext:ra(this.pendingElement),parentHtml:oa(this.pendingElement),status:"pending",...this.modalSelectedText?{selectedText:this.modalSelectedText}:{},...A?{screenshot:A}:{}};this.annotations=[...this.annotations,t],da(this.annotations),this.undoStack=[...this.undoStack,t],this.handleModalCancel(),this.toast.success(A?"Annotation saved with screenshot":"Annotation saved")}}catch(e){console.error("ZingIt: Error saving annotation",e),this.toast.error("Failed to save annotation")}}handleMarkerClick(A){try{const e=this.annotations.find(e=>e.id===A.detail.id);e&&(this.modalEditMode=!0,this.modalAnnotationId=e.id,this.modalSelector=e.selector,this.modalIdentifier=e.identifier,this.modalSelectedText=e.selectedText||"",this.modalNotes=e.notes,this.modalCaptureScreenshot=!!e.screenshot,this.modalScreenshotPreview=e.screenshot||"",this.pendingElement=document.querySelector(e.selector),this.pendingElement||this.toast.info("Element no longer exists on page"),this.modalOpen=!0)}catch(e){console.error("ZingIt: Error handling marker click",e),this.toast.error("Failed to open annotation")}}handleMarkerDelete(A){const e=A.detail.id,t=this.annotations.find(A=>A.id===e);t&&(this.deleteUndoTimeout&&(clearTimeout(this.deleteUndoTimeout),this.deleteUndoTimeout=null),this.recentlyDeletedAnnotation=t,this.annotations=this.annotations.filter(A=>A.id!==e),this.undoStack=this.undoStack.filter(A=>A.id!==e),da(this.annotations),this.toast.info("Annotation deleted",5e3,{label:"Undo",callback:()=>this.undoDelete()}),this.deleteUndoTimeout=setTimeout(()=>{this.recentlyDeletedAnnotation=null,this.deleteUndoTimeout=null},5e3))}undoDelete(){this.recentlyDeletedAnnotation&&this.isConnected&&(this.annotations=[...this.annotations,this.recentlyDeletedAnnotation],this.undoStack=[...this.undoStack,this.recentlyDeletedAnnotation],da(this.annotations),this.recentlyDeletedAnnotation=null,this.deleteUndoTimeout&&(clearTimeout(this.deleteUndoTimeout),this.deleteUndoTimeout=null),this.toast?.success("Annotation restored"))}handleSend(){if(this.responseOpen=!0,!this.ws||!this.wsConnected||0===this.annotations.length)return;const A=this.settings.projectDir||void 0;if(0===this.annotations.filter(A=>"completed"!==A.status).length)return;this.updateAnnotationStatuses("pending","processing");const e=this.annotations.filter(A=>"processing"===A.status),t=e.filter(A=>A.screenshot).length;this.responseScreenshotCount=t;if(this.ws.sendBatch({pageUrl:window.location.href,pageTitle:document.title,annotations:e},A,void 0,()=>{this.updateAnnotationStatuses("processing","pending"),this.toast.error("Failed to send annotations - will retry on reconnection")})){let A=`Sent ${e.length} annotation${e.length>1?"s":""}`;t>0&&(A+=` (${t} with screenshot${t>1?"s":""})`),A+=" to agent",this.toast.info(A)}else this.toast.info("Connection lost - annotations queued for retry")}handleExport(){const A=function(A,e,t){let n="# UI Annotations\n\n";return n+=`**Page:** ${t}\n`,n+=`**URL:** ${e}\n`,n+=`**Date:** ${(new Date).toISOString()}\n\n`,n+="---\n\n",A.forEach((A,e)=>{n+=`## ${e+1}. ${A.identifier}\n\n`,n+=`**Selector:** \`${A.selector}\`\n\n`,n+=`**Notes:** ${A.notes}\n\n`,A.selectedText&&(n+=`**Selected Text:** "${A.selectedText}"\n\n`),n+=`**HTML:**\n\`\`\`html\n${A.html}\n\`\`\`\n\n`,n+="---\n\n"}),n}(this.annotations,window.location.href,document.title);var e;(e=A,navigator.clipboard?navigator.clipboard.writeText(e):new Promise((A,t)=>{const n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.opacity="0",document.body.appendChild(n),n.select();try{document.execCommand("copy"),A()}catch(s){t(s)}finally{document.body.removeChild(n)}})).then(()=>{this.toast.success("Copied to clipboard")}).catch(()=>{this.toast.error("Failed to copy to clipboard")})}handleUndo(){if(this.historyCheckpoints.some(A=>A.canUndo))return void this.handleGitUndo();if(0===this.undoStack.length)return;const A=this.undoStack[this.undoStack.length-1];this.undoStack=this.undoStack.slice(0,-1),this.annotations=this.annotations.filter(e=>e.id!==A.id),da(this.annotations),this.toast.info("Annotation removed")}handleGitUndo(){if(!this.ws||!this.wsConnected)return void this.toast.error("Not connected to server");if(this.undoInProgress)return void this.toast.info("Undo already in progress...");const A=this.historyCheckpoints.find(A=>A.canUndo);A&&(this.pendingAnnotationRemovals=new Set(A.annotations.map(A=>A.id))),this.undoInProgress=!0,this.ws.send({type:"undo"}),this.undoBarVisible=!1}handleRevertTo(A){if(!this.ws||!this.wsConnected)return void this.toast.error("Not connected to server");if(this.undoInProgress)return void this.toast.info("Revert already in progress...");const e=this.historyCheckpoints.findIndex(e=>e.id===A.detail.checkpointId);if(e>=0){const A=this.historyCheckpoints.slice(0,e);this.pendingAnnotationRemovals=new Set(A.flatMap(A=>A.annotations.map(A=>A.id)))}this.undoInProgress=!0,this.ws.send({type:"revert_to",checkpointId:A.detail.checkpointId})}handleClearHistory(){this.ws&&this.wsConnected?this.ws.send({type:"clear_history"}):this.toast.error("Not connected to server")}handleToggleHistory(){this.historyOpen=!this.historyOpen,this.historyOpen&&this.ws&&this.wsConnected&&(this.historyLoading=!0,this.ws.send({type:"get_history"}))}handleClear(){this.annotations=[],this.undoStack=[],function(){try{localStorage.removeItem(ca)}catch(A){console.warn("ZingIt: Failed to clear annotations",A)}}(),this.ws?.sendReset(),this.toast.info("Annotations cleared")}handleClose(){this.isHidden=!0,this.toast.info("Press ` to show ZingIt")}handleReconnect(){this.ws?.forceReconnect()}handleToggle(){this.annotationActive=!this.annotationActive,function(A){try{localStorage.setItem(Ba,JSON.stringify(A))}catch(e){console.warn("ZingIt: Failed to save active state",e)}}(this.annotationActive),this.annotationActive||(this.highlightVisible=!1)}handleSettingsSave(A){this.settings=A.detail.settings,pa(this.settings),this.settingsOpen=!1,this.ws&&(this.ws.setUrl(this.settings.wsUrl),this.ws.forceReconnect())}handleAgentPickerSelect(A){const e=A.detail.agent;this.ws&&this.wsConnected&&this.ws.selectAgent(e)}handleAgentChange(A){const e=A.detail.agent;this.ws&&this.wsConnected&&e!==this.agentName&&this.ws.selectAgent(e)}handleFollowUp(A){this.ws&&this.wsConnected&&(this.processing=!0,this.responseContent+=`\n\n---\n**You:** ${A.detail.message}\n\n`,this.responseError="",this.responseToolStatus="",this.ws.sendMessage(A.detail.message))}handleStop(){this.ws&&this.wsConnected&&(this.ws.sendStop(),this.processing=!1,this.responseToolStatus="",this.updateAnnotationStatuses("processing","pending"),this.toast.info("Agent stopped"))}playCompletionSound(){try{const A=new(window.AudioContext||window.webkitAudioContext),e=(e,t,n)=>{const s=A.createOscillator(),r=A.createGain();s.connect(r),r.connect(A.destination),s.frequency.value=e,s.type="sine",r.gain.setValueAtTime(0,t),r.gain.linearRampToValueAtTime(.3,t+.01),r.gain.exponentialRampToValueAtTime(.01,t+n),s.start(t),s.stop(t+n)},t=A.currentTime;e(1047,t,.15),e(1319,t+.1,.2),setTimeout(()=>A.close(),500)}catch(A){console.warn("ZingIt: Could not play completion sound",A)}}saveCurrentResponseState(){!function(A){try{sessionStorage.setItem(ga,JSON.stringify(A))}catch(e){console.warn("ZingIt: Failed to save response state",e)}}({open:this.responseOpen,content:this.responseContent,error:this.responseError,screenshotCount:this.responseScreenshotCount})}updateAnnotationStatuses(A,e){this.annotations=this.annotations.map(t=>t.status===A?{...t,status:e}:t),da(this.annotations)}handleCheckpointRestored(A){this.historyPanel?.undoComplete(),this.undoBarVisible=!1,this.undoInProgress=!1,this.pendingAnnotationRemovals.size>0&&(this.annotations=this.annotations.filter(A=>!this.pendingAnnotationRemovals.has(A.id)),this.undoStack=this.undoStack.filter(A=>!this.pendingAnnotationRemovals.has(A.id)),da(this.annotations),this.pendingAnnotationRemovals.clear()),this.toast.success(A),this.ws?.send({type:"get_history"}),this.settings.autoRefresh&&setTimeout(()=>window.location.reload(),500)}handleToolbarDragStart(A){const{clientX:e,clientY:t}=A.detail,n=this.shadowRoot?.querySelector(".toolbar-container");if(!n)return;const s=n.getBoundingClientRect();this.dragOffset={x:e-s.left,y:t-s.top},this.isDragging=!0,document.addEventListener("mousemove",this.dragMoveHandler),document.addEventListener("mouseup",this.dragEndHandler)}handleDragMove(A){if(!this.isDragging)return;const e=A.clientX-this.dragOffset.x,t=A.clientY-this.dragOffset.y,n=this.shadowRoot?.querySelector(".toolbar-container");if(!n)return;const s=n.getBoundingClientRect(),r=window.innerWidth-s.width,o=window.innerHeight-s.height;this.toolbarPosition={x:Math.max(0,Math.min(e,r)),y:Math.max(0,Math.min(t,o))}}handleDragEnd(){this.isDragging&&(this.isDragging=!1,document.removeEventListener("mousemove",this.dragMoveHandler),document.removeEventListener("mouseup",this.dragEndHandler),this.toolbarPosition&&function(A){try{localStorage.setItem(ha,JSON.stringify(A))}catch(e){console.warn("ZingIt: Failed to save toolbar position",e)}}(this.toolbarPosition))}handleToolbarDragReset(){this.toolbarPosition=null,function(){try{localStorage.removeItem(ha)}catch(A){console.warn("ZingIt: Failed to clear toolbar position",A)}}(),this.toast.info("Toolbar position reset")}};hc.styles=o`
2794
+ :host {
2795
+ display: block;
2796
+ position: fixed;
2797
+ top: 0;
2798
+ left: 0;
2799
+ width: 100%;
2800
+ height: 100%;
2801
+ pointer-events: none;
2802
+ z-index: 2147483640;
2803
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
2804
+ }
2805
+
2806
+ .toolbar-container {
2807
+ position: fixed;
2808
+ pointer-events: auto;
2809
+ z-index: 2147483646;
2810
+ }
2811
+
2812
+ .toolbar-container.default-position {
2813
+ bottom: 20px;
2814
+ left: 50%;
2815
+ transform: translateX(-50%);
2816
+ }
2817
+
2818
+ .toolbar-container.custom-position {
2819
+ transform: none;
2820
+ }
2821
+
2822
+ .toolbar-container.dragging {
2823
+ user-select: none;
2824
+ }
2825
+ `,Bc([gA()],hc.prototype,"annotations",2),Bc([gA()],hc.prototype,"settings",2),Bc([gA()],hc.prototype,"wsConnected",2),Bc([gA()],hc.prototype,"wsMaxAttemptsReached",2),Bc([gA()],hc.prototype,"processing",2),Bc([gA()],hc.prototype,"agentName",2),Bc([gA()],hc.prototype,"agentModel",2),Bc([gA()],hc.prototype,"serverProjectDir",2),Bc([gA()],hc.prototype,"annotationActive",2),Bc([gA()],hc.prototype,"availableAgents",2),Bc([gA()],hc.prototype,"agentPickerOpen",2),Bc([gA()],hc.prototype,"agentPickerLoading",2),Bc([gA()],hc.prototype,"agentPickerError",2),Bc([dA("zing-toast")],hc.prototype,"toast",2),Bc([dA("zing-history-panel")],hc.prototype,"historyPanel",2),Bc([gA()],hc.prototype,"highlightVisible",2),Bc([gA()],hc.prototype,"highlightRect",2),Bc([gA()],hc.prototype,"highlightLabel",2),Bc([gA()],hc.prototype,"modalOpen",2),Bc([gA()],hc.prototype,"modalEditMode",2),Bc([gA()],hc.prototype,"modalAnnotationId",2),Bc([gA()],hc.prototype,"modalSelector",2),Bc([gA()],hc.prototype,"modalIdentifier",2),Bc([gA()],hc.prototype,"modalSelectedText",2),Bc([gA()],hc.prototype,"modalNotes",2),Bc([gA()],hc.prototype,"pendingElement",2),Bc([gA()],hc.prototype,"modalCaptureScreenshot",2),Bc([gA()],hc.prototype,"modalScreenshotPreview",2),Bc([gA()],hc.prototype,"modalScreenshotLoading",2),Bc([gA()],hc.prototype,"settingsOpen",2),Bc([gA()],hc.prototype,"helpOpen",2),Bc([gA()],hc.prototype,"isHidden",2),Bc([gA()],hc.prototype,"responseOpen",2),Bc([gA()],hc.prototype,"responseContent",2),Bc([gA()],hc.prototype,"responseToolStatus",2),Bc([gA()],hc.prototype,"responseError",2),Bc([gA()],hc.prototype,"responseScreenshotCount",2),Bc([gA()],hc.prototype,"historyOpen",2),Bc([gA()],hc.prototype,"historyCheckpoints",2),Bc([gA()],hc.prototype,"historyLoading",2),Bc([gA()],hc.prototype,"undoBarVisible",2),Bc([gA()],hc.prototype,"undoBarFilesModified",2),Bc([gA()],hc.prototype,"toolbarPosition",2),Bc([gA()],hc.prototype,"isDragging",2),hc=Bc([cA("zing-ui")],hc);var gc=Object.defineProperty,dc=Object.getOwnPropertyDescriptor,uc=(A,e,t,n)=>{for(var s,r=n>1?void 0:n?dc(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=(n?s(e,t,r):s(r))||r);return n&&r&&gc(e,t,r),r};let pc=class extends iA{constructor(){super(...arguments),this.activePage=""}render(){return $`
2826
+ <nav class="site-nav">
2827
+ <a href="/" class="brand">
2828
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
2829
+ <polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" fill="#fbbf24" stroke="none"/>
2830
+ </svg>
2831
+ ZingIt
2832
+ </a>
2833
+ <div class="nav-links">
2834
+ <a href="/demo.html" class=${"demo"===this.activePage?"active":""}>Demo</a>
2835
+ <a href="/about.html" class=${"about"===this.activePage?"active":""}>About</a>
2836
+ <a href="/contact.html" class=${"contact"===this.activePage?"active":""}>Contribute</a>
2837
+ </div>
2838
+ <div class="nav-actions">
2839
+ <a href="https://github.com/danwahlin/zingit" target="_blank" title="GitHub">
2840
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
2841
+ <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
2842
+ </svg>
2843
+ </a>
2844
+ </div>
2845
+ </nav>
2846
+ `}};pc.styles=o`
2847
+ :host {
2848
+ display: block;
2849
+ }
2850
+
2851
+ .site-nav {
2852
+ display: flex;
2853
+ align-items: center;
2854
+ justify-content: space-between;
2855
+ padding: 16px 24px;
2856
+ background: #fff;
2857
+ color: white;
2858
+ position: relative;
2859
+ }
2860
+
2861
+ .brand {
2862
+ display: flex;
2863
+ align-items: center;
2864
+ gap: 10px;
2865
+ font-size: 20px;
2866
+ font-weight: 700;
2867
+ text-decoration: none;
2868
+ color: black;
2869
+ }
2870
+
2871
+ .brand svg {
2872
+ width: 28px;
2873
+ height: 28px;
2874
+ }
2875
+
2876
+ .nav-links {
2877
+ display: flex;
2878
+ align-items: center;
2879
+ gap: 24px;
2880
+ margin-left: auto;
2881
+ margin-right: 16px;
2882
+ }
2883
+
2884
+ .nav-links a {
2885
+ color: black;
2886
+ text-decoration: none;
2887
+ font-size: 14px;
2888
+ font-weight: 500;
2889
+ transition: color 0.15s ease;
2890
+ }
2891
+
2892
+ .nav-links a:hover,
2893
+ .nav-links a.active {
2894
+ color: black;
2895
+ }
2896
+
2897
+ .nav-actions {
2898
+ display: flex;
2899
+ align-items: center;
2900
+ gap: 16px;
2901
+ }
2902
+
2903
+ .nav-actions a {
2904
+ display: flex;
2905
+ align-items: center;
2906
+ color: black;
2907
+ transition: color 0.15s ease;
2908
+ }
2909
+
2910
+ .nav-actions a:hover {
2911
+ color: black;
2912
+ }
2913
+ `,uc([hA({type:String})],pc.prototype,"activePage",2),pc=uc([cA("site-header")],pc);var wc=Object.getOwnPropertyDescriptor;let Qc=class extends iA{render(){return $`
2914
+ <footer class="site-footer">
2915
+ <div class="footer-content">
2916
+ <div>&copy; 2026 ZingIt</div>
2917
+ </div>
2918
+ </footer>
2919
+ `}};Qc.styles=o`
2920
+ :host {
2921
+ display: block;
2922
+ border-radius: 0 !important;
2923
+ border-bottom-left-radius: 0 !important;
2924
+ border-bottom-right-radius: 0 !important;
2925
+ overflow: visible;
2926
+ }
2927
+
2928
+ .site-footer {
2929
+ background: #0f172a;
2930
+ color: #9ca3af;
2931
+ padding: 32px 24px;
2932
+ border-radius: 0 !important;
2933
+ border-bottom-left-radius: 0 !important;
2934
+ border-bottom-right-radius: 0 !important;
2935
+ overflow: visible;
2936
+ }
2937
+
2938
+ .footer-content {
2939
+ display: flex;
2940
+ justify-content: flex-start;
2941
+ align-items: center;
2942
+ flex-wrap: wrap;
2943
+ gap: 16px;
2944
+ }
2945
+
2946
+ .footer-links {
2947
+ display: flex;
2948
+ gap: 24px;
2949
+ }
2950
+
2951
+ .footer-links a {
2952
+ color: #9ca3af;
2953
+ text-decoration: none;
2954
+ font-size: 14px;
2955
+ }
2956
+
2957
+ .footer-links a:hover {
2958
+ color: white;
2959
+ }
2960
+
2961
+ .footer-social {
2962
+ display: flex;
2963
+ gap: 16px;
2964
+ }
2965
+
2966
+ .footer-social a {
2967
+ color: #9ca3af;
2968
+ transition: color 0.15s ease;
2969
+ }
2970
+
2971
+ .footer-social a:hover {
2972
+ color: white;
2973
+ }
2974
+ `,Qc=((A,e,t,n)=>{for(var s,r=n>1?void 0:n?wc(e,t):e,o=A.length-1;o>=0;o--)(s=A[o])&&(r=s(r)||r);return r})([cA("site-footer")],Qc);let Cc=null;function fc(A){if(Cc&&(Cc.remove(),Cc=null),A){pa({...wa(),...A})}Cc=document.createElement("zing-ui"),document.body.appendChild(Cc)}function Uc(A){fc({wsUrl:A})}function Fc(){Cc&&(Cc.remove(),Cc=null)}function mc(){return null!==Cc&&document.body.contains(Cc)}const yc={init:fc,connect:Uc,destroy:Fc,isActive:mc};"undefined"!=typeof window&&(window.ZingIt=yc);("true"===document.currentScript?.getAttribute("data-auto-init")||new URLSearchParams(window.location.search).has("zingit"))&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>fc()):fc()),A.connect=Uc,A.default=yc,A.destroy=Fc,A.init=fc,A.isActive=mc,Object.defineProperties(A,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(this.ZingIt=this.ZingIt||{});