@creaditor/web-starterkit 1.0.55 → 1.0.58

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.
@@ -657,7 +657,7 @@
657
657
  };
658
658
  }
659
659
  </style>
660
- </custom-style>`;r.setAttribute("style","display: none;"),document.head.appendChild(r.content)},77976(t,e,n){"use strict";n.d(e,{$:()=>c});n(97695);var r=n(78803),o=n(12822);let i={},a={};function s(t,e){i[t]=a[t.toLowerCase()]=e}function l(t){return i[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let n=l(t);return n&&e?n.querySelector(e):n}return null}attributeChangedCallback(t,e,n,r){e!==n&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,r.O2)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,r.rG)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.yu&&void 0!==l(t))throw s(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,s(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=i,customElements.define("dom-module",c)},94794(t,e,n){"use strict";n.d(e,{r:()=>kt});var r=n(82775);class o{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function i(t){return a(function(t){let e=new o;e.start=0,e.end=t.length;let n=e;for(let r=0,i=t.length;r<i;r++)if(t[r]===c){n.rules||(n.rules=[]);let t=n,e=t.rules[t.rules.length-1]||null;n=new o,n.start=r+1,n.parent=t,n.previous=e,t.rules.push(n)}else t[r]===d&&(n.end=r+1,n=n.parent||e);return e}(t=t.replace(p.comments,"").replace(p.port,"")),t)}function a(t,e){let n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent){let r=t.previous?t.previous.end:t.parent.start;n=e.substring(r,t.start-1),n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let t=arguments[1],e=6-t.length;for(;e--;)t="0"+t;return"\\"+t})}(n),n=n.replace(p.multipleSpaces," "),n=n.substring(n.lastIndexOf(";")+1);let o=t.parsedSelector=t.selector=n.trim();t.atRule=0===o.indexOf(f),t.atRule?0===o.indexOf(u)?t.type=l.MEDIA_RULE:o.match(p.keyframesRule)&&(t.type=l.KEYFRAMES_RULE,t.keyframesName=t.selector.split(p.multipleSpaces).pop()):0===o.indexOf(h)?t.type=l.MIXIN_RULE:t.type=l.STYLE_RULE}let r=t.rules;if(r)for(let t,n=0,o=r.length;n<o&&(t=r[n]);n++)a(t,e);return t}function s(t,e,n=""){let r="";if(t.cssText||t.rules){let n=t.rules;if(n&&!function(t){let e=t[0];return Boolean(e)&&Boolean(e.selector)&&0===e.selector.indexOf(h)}(n))for(let t,o=0,i=n.length;o<i&&(t=n[o]);o++)r=s(t,e,r);else r=e?t.cssText:function(t){return t=function(t){return t.replace(p.customProp,"").replace(p.mixinProp,"")}(t),function(t){return t.replace(p.mixinApply,"").replace(p.varApply,"")}(t)}(t.cssText),r=r.trim(),r&&(r=" "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" "+c+"\n"),n+=r,t.selector&&(n+=d+"\n\n")),n}const l={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},c="{",d="}",p={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},h="--",u="@media",f="@";var m=n(76209);const g=new Set;function b(t){const e=t.textContent;if(!g.has(e)){g.add(e);const t=document.createElement("style");t.setAttribute("shady-unscoped",""),t.textContent=e,document.head.appendChild(t)}}function y(t){return t.hasAttribute("shady-unscoped")}function w(t,e){return t?("string"==typeof t&&(t=i(t)),e&&x(t,e),s(t,r.Us)):""}function _(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=i(t.textContent)),t.__cssRules||null}function x(t,e,n,r){if(!t)return;let o=!1,i=t.type;if(r&&i===l.MEDIA_RULE){let e=t.selector.match(m.tU);e&&(window.matchMedia(e[1]).matches||(o=!0))}i===l.STYLE_RULE?e(t):n&&i===l.KEYFRAMES_RULE?n(t):i===l.MIXIN_RULE&&(o=!0);let a=t.rules;if(a&&!o)for(let t,o=0,i=a.length;o<i&&(t=a[o]);o++)x(t,e,n,r)}function A(t,e){let n=0;for(let r=e,o=t.length;r<o;r++)if("("===t[r])n++;else if(")"===t[r]&&0===--n)return r;return-1}function v(t,e){let n=t.indexOf("var(");if(-1===n)return e(t,"","","");let r=A(t,n+3),o=t.substring(n+4,r),i=t.substring(0,n),a=v(t.substring(r+1),e),s=o.indexOf(",");return-1===s?e(i,o.trim(),"",a):e(i,o.substring(0,s).trim(),o.substring(s+1).trim(),a)}window.ShadyDOM&&window.ShadyDOM.wrap;const k="css-build";function C(t){if(void 0!==r.gp)return r.gp;if(void 0===t.__cssBuild){const e=t.getAttribute(k);if(e)t.__cssBuild=e;else{const e=function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;if(e instanceof Comment){const t=e.textContent.trim().split(":");if(t[0]===k)return t[1]}return""}(t);""!==e&&function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;e.parentNode.removeChild(e)}(t),t.__cssBuild=e}}return t.__cssBuild||""}function E(t){return""!==C(t)}var S=n(39999);const M=/;\s*/m,T=/^\s*(initial)|(inherit)\s*$/,L=/\s*!important/,B="_-_";class I{constructor(){this._map={}}set(t,e){t=t.trim(),this._map[t]={properties:e,dependants:{}}}get(t){return t=t.trim(),this._map[t]||null}}let O=null;class N{constructor(){this._currentElement=null,this._measureElement=null,this._map=new I}detectMixin(t){return(0,S.Rf)(t)}gatherStyles(t){const e=function(t){const e=[],n=t.querySelectorAll("style");for(let t=0;t<n.length;t++){const o=n[t];y(o)?r.Eu||(b(o),o.parentNode.removeChild(o)):(e.push(o.textContent),o.parentNode.removeChild(o))}return e.join("").trim()}(t.content);if(e){const n=document.createElement("style");return n.textContent=e,t.content.insertBefore(n,t.content.firstChild),n}return null}transformTemplate(t,e){void 0===t._gatheredStyle&&(t._gatheredStyle=this.gatherStyles(t));const n=t._gatheredStyle;return n?this.transformStyle(n,e):null}transformStyle(t,e=""){let n=_(t);return this.transformRules(n,e),t.textContent=w(n),n}transformCustomStyle(t){let e=_(t);return x(e,t=>{":root"===t.selector&&(t.selector="html"),this.transformRule(t)}),t.textContent=w(e),e}transformRules(t,e){this._currentElement=e,x(t,t=>{this.transformRule(t)}),this._currentElement=null}transformRule(t){t.cssText=this.transformCssText(t.parsedCssText,t),":root"===t.selector&&(t.selector=":host > *")}transformCssText(t,e){return t=t.replace(m.u$,(t,n,r,o)=>this._produceCssProperties(t,n,r,o,e)),this._consumeCssProperties(t,e)}_getInitialValueForProperty(t){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(t)}_fallbacksFromPreviousRules(t){let e=t;for(;e.parent;)e=e.parent;const n={};let r=!1;return x(e,e=>{r=r||e===t,r||e.selector===t.selector&&Object.assign(n,this._cssTextToMap(e.parsedCssText))}),n}_consumeCssProperties(t,e){let n=null;for(;n=m.w3.exec(t);){let r=n[0],o=n[1],i=n.index,a=i+r.indexOf("@apply"),s=i+r.length,l=t.slice(0,a),c=t.slice(s),d=e?this._fallbacksFromPreviousRules(e):{};Object.assign(d,this._cssTextToMap(l));let p=this._atApplyToCssProperties(o,d);t=`${l}${p}${c}`,m.w3.lastIndex=i+p.length}return t}_atApplyToCssProperties(t,e){t=t.replace(M,"");let n=[],r=this._map.get(t);if(r||(this._map.set(t,{}),r=this._map.get(t)),r){let o,i,a;this._currentElement&&(r.dependants[this._currentElement]=!0);const s=r.properties;for(o in s)a=e&&e[o],i=[o,": var(",t,B,o],a&&i.push(",",a.replace(L,"")),i.push(")"),L.test(s[o])&&i.push(" !important"),n.push(i.join(""))}return n.join("; ")}_replaceInitialOrInherit(t,e){let n=T.exec(e);return n&&(e=n[1]?this._getInitialValueForProperty(t):"apply-shim-inherit"),e}_cssTextToMap(t,e=!1){let n,r,o=t.split(";"),i={};for(let t,a,s=0;s<o.length;s++)t=o[s],t&&(a=t.split(":"),a.length>1&&(n=a[0].trim(),r=a.slice(1).join(":"),e&&(r=this._replaceInitialOrInherit(n,r)),i[n]=r));return i}_invalidateMixinEntry(t){if(O)for(let e in t.dependants)e!==this._currentElement&&O(e)}_produceCssProperties(t,e,n,r,o){if(n&&v(n,(t,e)=>{e&&this._map.get(e)&&(r=`@apply ${e};`)}),!r)return t;let i=this._consumeCssProperties(""+r,o),a=t.slice(0,t.indexOf("--")),s=this._cssTextToMap(i,!0),l=s,c=this._map.get(e),d=c&&c.properties;d?l=Object.assign(Object.create(d),s):this._map.set(e,l);let p,h,u=[],f=!1;for(p in l)h=s[p],void 0===h&&(h="initial"),d&&!(p in d)&&(f=!0),u.push(`${e}${B}${p}: ${h}`);return f&&this._invalidateMixinEntry(c),c&&(c.properties=l),n&&(a=`${t};${a}`),`${a}${u.join("; ")};`}}N.prototype.detectMixin=N.prototype.detectMixin,N.prototype.transformStyle=N.prototype.transformStyle,N.prototype.transformCustomStyle=N.prototype.transformCustomStyle,N.prototype.transformRules=N.prototype.transformRules,N.prototype.transformRule=N.prototype.transformRule,N.prototype.transformTemplate=N.prototype.transformTemplate,N.prototype._separator=B,Object.defineProperty(N.prototype,"invalidCallback",{get:()=>O,set(t){O=t}});const H=N,z={};const R="_applyShimCurrentVersion",$="_applyShimNextVersion",P="_applyShimValidatingVersion",D=Promise.resolve();function j(t){let e=z[t];e&&function(t){t[R]=t[R]||0,t[P]=t[P]||0,t[$]=(t[$]||0)+1}(e)}function F(t){return t[R]===t[$]}function U(t){return!F(t)&&t[P]===t[$]}function q(t){t[P]=t[$],t._validating||(t._validating=!0,D.then(function(){t[R]=t[$],t._validating=!1}))}n(26778);const W=new H;class V{constructor(){this.customStyleInterface=null,W.invalidCallback=j}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=t=>{W.transformCustomStyle(t)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()})})}prepareTemplate(t,e){if(this.ensure(),E(t))return;z[e]=t;let n=W.transformTemplate(t,e);t._styleAst=n}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let t=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let e=0;e<t.length;e++){let n=t[e],r=this.customStyleInterface.getStyleForCustomStyle(n);r&&W.transformCustomStyle(r)}this.customStyleInterface.enqueued=!1}}styleSubtree(t,e){if(this.ensure(),e&&(0,S.U_)(t,e),t.shadowRoot){this.styleElement(t);let e=t.shadowRoot.children||t.shadowRoot.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}else{let e=t.children||t.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}}styleElement(t){this.ensure();let{is:e}=function(t){let e=t.localName,n="",r="";return e?e.indexOf("-")>-1?n=e:(r=e,n=t.getAttribute&&t.getAttribute("is")||""):(n=t.is,r=t.extends),{is:n,typeExtension:r}}(t),n=z[e];if((!n||!E(n))&&n&&!F(n)){U(n)||(this.prepareTemplate(n,e),q(n));let r=t.shadowRoot;if(r){let t=r.querySelector("style");t&&(t.__cssRules=n._styleAst,t.textContent=w(n._styleAst))}}}styleDocument(t){this.ensure(),this.styleSubtree(document.body,t)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const t=new V;let e=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(e,n,r){t.flushCustomStyles(),t.prepareTemplate(e,n)},prepareTemplateStyles(t,e,n){window.ShadyCSS.prepareTemplate(t,e,n)},prepareTemplateDom(t,e){},styleSubtree(e,n){t.flushCustomStyles(),t.styleSubtree(e,n)},styleElement(e){t.flushCustomStyles(),t.styleElement(e)},styleDocument(e){t.flushCustomStyles(),t.styleDocument(e)},getComputedStyleValue:(t,e)=>(0,S.yd)(t,e),flushCustomStyles(){t.flushCustomStyles()},nativeCss:r.Us,nativeShadow:r.Eu,cssBuild:r.gp,disableRuntime:r.hS},e&&(window.ShadyCSS.CustomStyleInterface=e)}window.ShadyCSS.ApplyShim=W;var Y=n(29970),X=n(26102),K=n(22390),G=n(29786);const Z=/:host\(:dir\((ltr|rtl)\)\)/g,J=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Q=/:dir\((?:ltr|rtl)\)/,tt=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),et=[];let nt=null,rt="";function ot(){rt=document.documentElement.getAttribute("dir")}function it(t){if(!t.__autoDirOptOut){t.setAttribute("dir",rt)}}function at(){ot(),rt=document.documentElement.getAttribute("dir");for(let t=0;t<et.length;t++)it(et[t])}const st=(0,G.y)(t=>{tt||nt||(ot(),nt=new MutationObserver(at),nt.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const e=(0,K.W)(t);class n extends e{static _processStyleText(t,n){return t=e._processStyleText.call(this,t,n),!tt&&Q.test(t)&&(t=this._replaceDirInCssText(t),this.__activateDir=!0),t}static _replaceDirInCssText(t){let e=t;return e=e.replace(Z,':host([dir="$1"])'),e=e.replace(J,':host([dir="$2"]) $1'),e}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){e.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(nt&&nt.takeRecords().length&&at(),et.push(this),it(this))}disconnectedCallback(){if(e.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const t=et.indexOf(this);t>-1&&et.splice(t,1)}}}return n.__activateDir=!1,n});n(77410);function lt(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?lt():window.addEventListener("DOMContentLoaded",lt);var ct=n(53874),dt=n(15055),pt=n(74632),ht=n(90347),ut=n(86956),ft=n(13107);n(97695);const mt=window.ShadyDOM,gt=window.ShadyCSS;function bt(t,e){return(0,ft.L)(t).getRootNode()===e}var yt=n(12822);const wt="disable-upgrade",_t=t=>{for(;t;){const e=Object.getOwnPropertyDescriptor(t,"observedAttributes");if(e)return e.get;t=Object.getPrototypeOf(t.prototype).constructor}return()=>[]};(0,G.y)(t=>{const e=(0,Y.q2)(t);let n=_t(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return n.call(this).concat(wt)}_initializeProperties(){this.hasAttribute(wt)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}attributeChangedCallback(t,e,n,r){t==wt?this.__isUpgradeDisabled&&null==n&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,(0,ft.L)(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(t,e,n,r)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}});var xt=n(52428);const At="disable-upgrade";let vt=window.ShadyCSS;const kt=(0,G.y)(t=>{const e=(0,X.b)((0,Y.q2)(t)),n=Y.IS?e:st(e),r=_t(n),o={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class i extends n{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(t,e,n){(this.__dataAttributes&&this.__dataAttributes[t]||t===At)&&this.attributeChangedCallback(t,e,n,null)}setAttribute(t,e){if(yt.CE&&!this._legacyForceObservedAttributes){const n=this.getAttribute(t);super.setAttribute(t,e),this.__attributeReaction(t,n,String(e))}else super.setAttribute(t,e)}removeAttribute(t){if(yt.CE&&!this._legacyForceObservedAttributes){const e=this.getAttribute(t);super.removeAttribute(t),this.__attributeReaction(t,e,null)}else super.removeAttribute(t)}static get observedAttributes(){return yt.CE&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],(0,xt.kz)(this.prototype)),this.__observedAttributes):r.call(this).concat(At)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(t,e,n,r){e!==n&&(t==At?this.__isUpgradeDisabled&&null==n&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,(0,ft.L)(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(t,e,n,r),this.attributeChanged(t,e,n)))}attributeChanged(t,e,n){}_initializeProperties(){if(yt.IP&&this.hasAttribute(At))this.__isUpgradeDisabled=!0;else{let t=Object.getPrototypeOf(this);t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))||(this._registered(),t.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),yt.CE&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const t=this.attributes;for(let e=0,n=t.length;e<n;e++){const n=t[e];this.__attributeReaction(n.name,null,n.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(t){return this._serializeValue(t)}deserialize(t,e){return this._deserializeValue(t,e)}reflectPropertyToAttribute(t,e,n){this._propertyToAttribute(t,e,n)}serializeValueToAttribute(t,e,n){this._valueToNodeAttribute(n||this,t,e)}extend(t,e){if(!t||!e)return t||e;let n=Object.getOwnPropertyNames(e);for(let r,o=0;o<n.length&&(r=n[o]);o++){let n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n)}return t}mixin(t,e){for(let n in e)t[n]=e[n];return t}chainObject(t,e){return t&&e&&t!==e&&(t.__proto__=e),t}instanceTemplate(t){let e=this.constructor._contentForTemplate(t);return document.importNode(e,!0)}fire(t,e,n){n=n||{},e=null==e?{}:e;let r=new Event(t,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});r.detail=e;let o=n.node||this;return(0,ft.L)(o).dispatchEvent(r),r}listen(t,e,n){t=t||this;let r=this.__boundListeners||(this.__boundListeners=new WeakMap),o=r.get(t);o||(o={},r.set(t,o));let i=e+n;o[i]||(o[i]=this._addMethodEventListenerToNode(t,e,n,this))}unlisten(t,e,n){t=t||this;let r=this.__boundListeners&&this.__boundListeners.get(t),o=e+n,i=r&&r[o];i&&(this._removeEventListenerFromNode(t,e,i),r[o]=null)}setScrollDirection(t,e){(0,dt.wB)(e||this,o[t]||"auto")}$$(t){return this.root.querySelector(t)}get domHost(){let t=(0,ft.L)(this).getRootNode();return t instanceof DocumentFragment?t.host:t}distributeContent(){const t=(0,ct.tT)(this);window.ShadyDOM&&t.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return(0,ct.tT)(this).getEffectiveChildNodes()}queryDistributedElements(t){return(0,ct.tT)(this).queryDistributedElements(t)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter(function(t){return t.nodeType===Node.ELEMENT_NODE})}getEffectiveTextContent(){let t=this.getEffectiveChildNodes(),e=[];for(let n,r=0;n=t[r];r++)n.nodeType!==Node.COMMENT_NODE&&e.push(n.textContent);return e.join("")}queryEffectiveChildren(t){let e=this.queryDistributedElements(t);return e&&e[0]}queryAllEffectiveChildren(t){return this.queryDistributedElements(t)}getContentChildNodes(t){let e=this.root.querySelector(t||"slot");return e?(0,ct.tT)(e).getDistributedNodes():[]}getContentChildren(t){return this.getContentChildNodes(t).filter(function(t){return t.nodeType===Node.ELEMENT_NODE})}isLightDescendant(t){const e=this;return e!==t&&(0,ft.L)(e).contains(t)&&(0,ft.L)(e).getRootNode()===(0,ft.L)(t).getRootNode()}isLocalDescendant(t){return this.root===(0,ft.L)(t).getRootNode()}scopeSubtree(t,e=!1){return function(t,e=!1){if(!mt||!gt)return null;if(!mt.handlesDynamicScoping)return null;const n=gt.ScopingShim;if(!n)return null;const r=n.scopeForNode(t),o=(0,ft.L)(t).getRootNode(),i=t=>{if(!bt(t,o))return;const e=Array.from(mt.nativeMethods.querySelectorAll.call(t,"*"));e.push(t);for(let t=0;t<e.length;t++){const i=e[t];if(!bt(i,o))continue;const a=n.currentScopeForNode(i);a!==r&&(""!==a&&n.unscopeNode(i,a),n.scopeNode(i,r))}};if(i(t),e){const e=new MutationObserver(t=>{for(let e=0;e<t.length;e++){const n=t[e];for(let t=0;t<n.addedNodes.length;t++){const e=n.addedNodes[t];e.nodeType===Node.ELEMENT_NODE&&i(e)}}});return e.observe(t,{childList:!0,subtree:!0}),e}return null}(t,e)}getComputedStyleValue(t){return vt.getComputedStyleValue(this,t)}debounce(t,e,n){return this._debouncers=this._debouncers||{},this._debouncers[t]=pt.aq.debounce(this._debouncers[t],n>0?ht.EV.after(n):ht._3,e.bind(this))}isDebouncerActive(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];return!(!e||!e.isActive())}flushDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.flush()}cancelDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.cancel()}async(t,e){return e>0?ht.EV.run(t.bind(this),e):~ht._3.run(t.bind(this))}cancelAsync(t){t<0?ht._3.cancel(~t):ht.EV.cancel(t)}create(t,e){let n=document.createElement(t);if(e)if(n.setProperties)n.setProperties(e);else for(let t in e)n[t]=e[t];return n}elementMatches(t,e){return(0,ct.B5)(e||this,t)}toggleAttribute(t,e){let n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(e=!n.hasAttribute(t)),e?((0,ft.L)(n).setAttribute(t,""),!0):((0,ft.L)(n).removeAttribute(t),!1)}toggleClass(t,e,n){n=n||this,1==arguments.length&&(e=!n.classList.contains(t)),e?n.classList.add(t):n.classList.remove(t)}transform(t,e){(e=e||this).style.webkitTransform=t,e.style.transform=t}translate3d(t,e,n,r){r=r||this,this.transform("translate3d("+t+","+e+","+n+")",r)}arrayDelete(t,e){let n;if(Array.isArray(t)){if(n=t.indexOf(e),n>=0)return t.splice(n,1)}else{if(n=(0,ut.Jt)(this,t).indexOf(e),n>=0)return this.splice(t,n,1)}return null}_logger(t,e){switch(Array.isArray(e)&&1===e.length&&Array.isArray(e[0])&&(e=e[0]),t){case"log":case"warn":case"error":console[t](...e)}}_log(...t){this._logger("log",t)}_warn(...t){this._logger("warn",t)}_error(...t){this._logger("error",t)}_logf(t,...e){return["[%s::%s]",this.is,t,...e]}}return i.prototype.is="",i})},95586(t,e,n){"use strict";n.d(e,{b:()=>u});var r=n(94794),o=n(12822);const i={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},a={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},s=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},a);function l(t,e,n,r){!function(t,e,n){const r=t._noAccessors,o=Object.getOwnPropertyNames(t);for(let i=0;i<o.length;i++){let a=o[i];if(!(a in n))if(r)e[a]=t[a];else{let n=Object.getOwnPropertyDescriptor(t,a);n&&(n.configurable=!0,Object.defineProperty(e,a,n))}}}(e,t,r);for(let t in i)e[t]&&(n[t]=n[t]||[],n[t].push(e[t]))}function c(t,e,n){e=e||[];for(let r=t.length-1;r>=0;r--){let o=t[r];o?Array.isArray(o)?c(o,e):e.indexOf(o)<0&&(!n||n.indexOf(o)<0)&&e.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return e}function d(t,e){for(const n in e){const r=t[n],o=e[n];t[n]=!("value"in o)&&r&&"value"in r?Object.assign({value:r.value},o):o}}const p=(0,r.r)(HTMLElement);function h(t,e,n){let r;const i={};class p extends e{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(r)for(let t,e=0;e<r.length;e++)t=r[e],t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties);t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties),this._prepareTemplate()}else e._finalizeClass.call(this)}static get properties(){const e={};if(r)for(let t=0;t<r.length;t++)d(e,r[t].properties);return d(e,t.properties),e}static get observers(){let e=[];if(r)for(let t,n=0;n<r.length;n++)t=r[n],t.observers&&(e=e.concat(t.observers));return t.observers&&(e=e.concat(t.observers)),e}created(){super.created();const t=i.created;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}_registered(){const t=p.prototype;if(!t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))){t.__hasRegisterFinished=!0,super._registered(),o.IP&&h(t);const e=Object.getPrototypeOf(this);let n=i.beforeRegister;if(n)for(let t=0;t<n.length;t++)n[t].call(e);if(n=i.registered,n)for(let t=0;t<n.length;t++)n[t].call(e)}}_applyListeners(){super._applyListeners();const t=i.listeners;if(t)for(let e=0;e<t.length;e++){const n=t[e];if(n)for(let t in n)this._addMethodEventListenerToNode(this,t,n[t])}}_ensureAttributes(){const t=i.hostAttributes;if(t)for(let e=t.length-1;e>=0;e--){const n=t[e];for(let t in n)this._ensureAttribute(t,n[t])}super._ensureAttributes()}ready(){super.ready();let t=i.ready;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attached(){super.attached();let t=i.attached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}detached(){super.detached();let t=i.detached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attributeChanged(t,e,n){super.attributeChanged();let r=i.attributeChanged;if(r)for(let o=0;o<r.length;o++)r[o].call(this,t,e,n)}}if(n){Array.isArray(n)||(n=[n]);let t=e.prototype.behaviors;r=c(n,null,t),p.prototype.behaviors=t?t.concat(n):r}const h=e=>{r&&function(t,e,n){for(let r=0;r<e.length;r++)l(t,e[r],n,s)}(e,r,i),l(e,t,i,a)};return o.IP||h(p.prototype),p.generatedFrom=t,p}n(97695);const u=function(t){let e;return e="function"==typeof t?t:u.Class(t),t._legacyForceObservedAttributes&&(e.prototype._legacyForceObservedAttributes=t._legacyForceObservedAttributes),customElements.define(e.is,e),e};u.Class=function(t,e){t||console.warn("Polymer.Class requires `info` argument");let n=e?e(p):p;return n=h(t,n,t.behaviors),n.is=n.prototype.is=t.is,n}},53874(t,e,n){"use strict";n.d(e,{tT:()=>m,B5:()=>d});n(97695);var r=n(13107),o=(n(12822),n(70087)),i=n(90347);function a(t){return"slot"===t.localName}let s=class{static getFlattenedNodes(t){const e=(0,r.L)(t);if(a(t))return e.assignedNodes({flatten:!0});{const t=[];for(let n=0;n<e.childNodes.length;n++){const o=e.childNodes[n];if(a(o)){const e=o;t.push(...(0,r.L)(e).assignedNodes({flatten:!0}))}else t.push(o)}return t}}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){a(this._target)?this._listenSlots([this._target]):(0,r.L)(this._target).children&&(this._listenSlots((0,r.L)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,t=>{this._processMutations(t)}):(this._nativeChildrenObserver=new MutationObserver(t=>{this._processMutations(t)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){a(this._target)?this._unlistenSlots([this._target]):(0,r.L)(this._target).children&&(this._unlistenSlots((0,r.L)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i._3.run(()=>this.flush()))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let n=t[e];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),n=(0,o.k)(e,this._effectiveNodes);for(let e,r=0;r<n.length&&(e=n[r]);r++)for(let n,r=0;r<e.removed.length&&(n=e.removed[r]);r++)t.removedNodes.push(n);for(let r,o=0;o<n.length&&(r=n[o]);o++)for(let n=r.index;n<r.index+r.addedCount;n++)t.addedNodes.push(e[n]);this._effectiveNodes=e;let r=!1;return(t.addedNodes.length||t.removedNodes.length)&&(r=!0,this.callback.call(this._target,t)),r}_listenSlots(t){for(let e=0;e<t.length;e++){let n=t[e];a(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let n=t[e];a(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}};n(34641),n(74632);const l=Element.prototype,c=l.matches||l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector,d=function(t,e){return c.call(t,e)};class p{constructor(t){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(t),this.node=t}observeNodes(t){return new s(this.node,t)}unobserveNodes(t){t.disconnect()}notifyObserver(){}deepContains(t){if((0,r.L)(this.node).contains(t))return!0;let e=t,n=t.ownerDocument;for(;e&&e!==n&&e!==this.node;)e=(0,r.L)(e).parentNode||(0,r.L)(e).host;return e===this.node}getOwnerRoot(){return(0,r.L)(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?(0,r.L)(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let t=[],e=(0,r.L)(this.node).assignedSlot;for(;e;)t.push(e),e=(0,r.L)(e).assignedSlot;return t}importNode(t,e){let n=this.node instanceof Document?this.node:this.node.ownerDocument;return(0,r.L)(n).importNode(t,e)}getEffectiveChildNodes(){return s.getFlattenedNodes(this.node)}queryDistributedElements(t){let e=this.getEffectiveChildNodes(),n=[];for(let r,o=0,i=e.length;o<i&&(r=e[o]);o++)r.nodeType===Node.ELEMENT_NODE&&d(r,t)&&n.push(r);return n}get activeElement(){let t=this.node;return void 0!==t._activeElement?t._activeElement:t.activeElement}}function h(t,e){for(let n=0;n<e.length;n++){let r=e[n];Object.defineProperty(t,r,{get:function(){return this.node[r]},configurable:!0})}}class u{constructor(t){this.event=t}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}p.prototype.cloneNode,p.prototype.appendChild,p.prototype.insertBefore,p.prototype.removeChild,p.prototype.replaceChild,p.prototype.setAttribute,p.prototype.removeAttribute,p.prototype.querySelector,p.prototype.querySelectorAll,p.prototype.parentNode,p.prototype.firstChild,p.prototype.lastChild,p.prototype.nextSibling,p.prototype.previousSibling,p.prototype.firstElementChild,p.prototype.lastElementChild,p.prototype.nextElementSibling,p.prototype.previousElementSibling,p.prototype.childNodes,p.prototype.children,p.prototype.classList,p.prototype.textContent,p.prototype.innerHTML;let f=p;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class t extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(p.prototype).forEach(e=>{"activeElement"!=e&&(t.prototype[e]=p.prototype[e])}),h(t.prototype,["classList"]),f=t,Object.defineProperties(u.prototype,{localTarget:{get(){const t=this.event.currentTarget,e=t&&m(t).getOwnerRoot(),n=this.path;for(let t=0;t<n.length;t++){const r=n[t];if(m(r).getOwnerRoot()===e)return r}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else!function(t,e){for(let n=0;n<e.length;n++){let r=e[n];t[r]=function(){return this.node[r].apply(this.node,arguments)}}}(p.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"]),h(p.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]),function(t,e){for(let n=0;n<e.length;n++){let r=e[n];Object.defineProperty(t,r,{get:function(){return this.node[r]},set:function(t){this.node[r]=t},configurable:!0})}}(p.prototype,["textContent","innerHTML","className"]);const m=function(t){if((t=t||document)instanceof f)return t;if(t instanceof u)return t;let e=t.__domApi;return e||(e=t instanceof Event?new u(t):new f(t),t.__domApi=e),e}},29970(t,e,n){"use strict";n.d(e,{q2:()=>f,IS:()=>u});n(97695);var r=n(12822),o=n(29786),i=n(87684),a=n(78803),s=n(77976),l=n(91865),c=n(52428),d=n(65698);const p=(0,o.y)(t=>{const e=(0,d.e)(t);function n(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof o?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const n=t.properties;n&&(e=function(t){const e={};for(let n in t){const r=t[n];e[n]="function"==typeof r?{type:r}:r}return e}(n))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){(0,c.kz)(this.prototype);const t=this._properties;this.__observedAttributes=t?Object.keys(t).map(t=>this.prototype._addPropertyToAttributeMap(t)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=n(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=n(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){(0,c.cn)(),this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o});var h=n(13107);const u=window.ShadyCSS&&window.ShadyCSS.cssBuild,f=(0,o.y)(t=>{const e=p((0,l.s)(t));function n(t,e,n,r){n.computed&&(n.readOnly=!0),n.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,n.computed,r)),n.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!n.computed):!1===n.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),n.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===n.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),n.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===n.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),n.observer&&t._createPropertyObserver(e,n.observer,r[n.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((n=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",n))||(n.__ownObservers=n.hasOwnProperty(JSCompiler_renameProperty("observers",n))?n.observers:null),n.__ownObservers);var n;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):r.IP||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)n(this.prototype,e,t[e],t)}static createObservers(t,e){const n=this.prototype;for(let r=0;r<t.length;r++)n._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!r.yu||r.ek)&&(e=s.$.import(t,"template"),r.yu&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,a.rG)(t.url);else{const t=s.$.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=r.wA,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let n in e){let r=e[n];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[n]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let n=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,a.c0)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const n=this.importPath;!function(t,e,n,o){if(!u){const r=e.content.querySelectorAll("style"),a=(0,i.nX)(e),s=(0,i.Ho)(n),l=e.content.firstElementChild;for(let n=0;n<s.length;n++){let r=s[n];r.textContent=t._processStyleText(r.textContent,o),e.content.insertBefore(r,l)}let c=0;for(let e=0;e<a.length;e++){let n=a[e],i=r[c];i!==n?(n=n.cloneNode(!0),i.parentNode.insertBefore(n,i)):c++,n.textContent=t._processStyleText(n.textContent,o)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,n),r.vK&&u&&r.qM){const n=e.content.querySelectorAll("style");if(n){let e="";Array.from(n).forEach(t=>{e+=t.textContent,t.parentNode.removeChild(t)}),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}(this,e,t,n?(0,a.O2)(n):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,h.L)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),r.Kp&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,a.O2)(this.importPath)),(0,a.O2)(t,e)}static _parseTemplateContent(t,n,r){return n.dynamicFns=n.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,n,r)}static _addTemplatePropertyEffect(t,n,o){return!r.F3||n in this._properties||o.info.part.signature&&o.info.part.signature.static||o.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,n,o)}}})},26102(t,e,n){"use strict";n.d(e,{b:()=>i});n(97695);var r=n(29786),o=n(15055);const i=(0,r.y)(t=>class extends t{_addEventListenerToNode(t,e,n){(0,o.ch)(t,e,n)||super._addEventListenerToNode(t,e,n)}_removeEventListenerFromNode(t,e,n){(0,o.pQ)(t,e,n)||super._removeEventListenerFromNode(t,e,n)}})},65698(t,e,n){"use strict";n.d(e,{e:()=>s});n(97695);var r=n(29786),o=n(90347),i=n(13107);const a=o._3,s=(0,r.y)(t=>class extends t{static createProperties(t){const e=this.prototype;for(let n in t)n in e||e._createPropertyAccessor(n)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,n){let r=this.__data[t],o=this._shouldPropertyChange(t,e,r);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),o}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,a.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(t,e,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,n)),this.__dataCounter--}_shouldPropertiesChange(t,e,n){return Boolean(e)}_propertiesChanged(t,e,n){}_shouldPropertyChange(t,e,n){return n!==e&&(n==n||e==e)}attributeChangedCallback(t,e,n,r){e!==n&&this._attributeToProperty(t,n),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,n,r)}_attributeToProperty(t,e,n){if(!this.__serializing){const r=this.__dataAttributes,o=r&&r[t]||t;this[o]=this._deserializeValue(e,n||this.constructor.typeForProperty(o))}}_propertyToAttribute(t,e,n){this.__serializing=!0,n=arguments.length<3?this[t]:n,this._valueToNodeAttribute(this,n,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,n){const r=this._serializeValue(e);"class"!==n&&"name"!==n&&"slot"!==n||(t=(0,i.L)(t)),void 0===r?t.removeAttribute(n):t.setAttribute(n,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})},22390(t,e,n){"use strict";n.d(e,{W:()=>c});n(97695);var r=n(29786),o=n(10848),i=n(65698);const a={};let s=HTMLElement.prototype;for(;s;){let t=Object.getOwnPropertyNames(s);for(let e=0;e<t.length;e++)a[t[e]]=!0;s=Object.getPrototypeOf(s)}const l=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1;const c=(0,r.y)(t=>{const e=(0,i.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor((0,o.I)(t[e]))}static attributeNameForProperty(t){return(0,o.e)(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){const n=this;n.hasAttribute(t)||this._valueToNodeAttribute(n,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(l(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let n;switch(e){case Object:try{n=JSON.parse(t)}catch(e){n=t}break;case Array:try{n=JSON.parse(t)}catch(e){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:n=isNaN(t)?String(t):Number(t),n=new Date(n);break;default:n=super._deserializeValue(t,e)}return n}_definePropertyAccessor(t,e){!function(t,e){if(!a[e]){let n=t[e];void 0!==n&&(t.__data?t._setPendingProperty(e,n):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=n))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})},91865(t,e,n){"use strict";n.d(e,{s:()=>et});n(97695);var r=n(13107),o=n(29786),i=n(86956),a=n(10848),s=n(22390);const l={"dom-if":!0,"dom-repeat":!0};let c=!1,d=!1;function p(t){(function(){if(!c){c=!0;const t=document.createElement("textarea");t.placeholder="a",d=t.placeholder===t.textContent}return d})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}const h=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,n,r)=>{const o=n.getAttribute(r);t&&r.startsWith("on-")?e.setAttribute(r,t.createScript(o,r)):e.setAttribute(r,o)}})();function u(t){let e=t.getAttribute("is");if(e&&l[e]){let n=t;for(n.removeAttribute("is"),t=n.ownerDocument.createElement(e),n.parentNode.replaceChild(t,n),t.appendChild(n);n.attributes.length;){const{name:e}=n.attributes[0];h(t,n,e),n.removeAttribute(e)}}return t}function f(t,e){let n=e.parentInfo&&f(t,e.parentInfo);if(!n)return t;for(let t=n.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function m(t,e,n,r){r.id&&(e[r.id]=n)}function g(t,e,n){if(n.events&&n.events.length)for(let r,o=0,i=n.events;o<i.length&&(r=i[o]);o++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function b(t,e,n,r){n.templateInfo&&(e._templateInfo=n.templateInfo,e._parentTemplateInfo=r)}const y=(0,o.y)(t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let n=t._templateInfo={};n.nodeInfoList=[],n.nestedTemplate=Boolean(e),n.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,n,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,n){return this._parseTemplateNode(t.content,e,n)}static _parseTemplateNode(t,e,n){let r=!1,o=t;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(o,e,n)||r,p(o),o.firstChild&&this._parseTemplateChildNodes(o,e,n),o.hasAttributes&&o.hasAttributes()&&(r=this._parseTemplateNodeAttributes(o,e,n)||r),r||n.noted}static _parseTemplateChildNodes(t,e,n){if("script"!==t.localName&&"style"!==t.localName)for(let r,o=t.firstChild,i=0;o;o=r){if("template"==o.localName&&(o=u(o)),r=o.nextSibling,o.nodeType===Node.TEXT_NODE){let n=r;for(;n&&n.nodeType===Node.TEXT_NODE;)o.textContent+=n.textContent,r=n.nextSibling,t.removeChild(n),n=r;if(e.stripWhiteSpace&&!o.textContent.trim()){t.removeChild(o);continue}}let a={parentIndex:i,parentInfo:n};this._parseTemplateNode(o,e,a)&&(a.infoIndex=e.nodeInfoList.push(a)-1),o.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,n){let r=t,o=this._parseTemplate(r,e);return(o.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),n.templateInfo=o,!0}static _parseTemplateNodeAttributes(t,e,n){let r=!1,o=Array.from(t.attributes);for(let i,a=o.length-1;i=o[a];a--)r=this._parseTemplateNodeAttribute(t,e,n,i.name,i.value)||r;return r}static _parseTemplateNodeAttribute(t,e,n,r,o){return"on-"===r.slice(0,3)?(t.removeAttribute(r),n.events=n.events||[],n.events.push({name:r.slice(3),value:o}),!0):"id"===r&&(n.id=o,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let n=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,o=document.importNode(r,!0);o.__noInsertionPoint=!e.hasInsertionPoint;let i=o.nodeList=new Array(n.length);o.$={};for(let t,r=0,a=n.length;r<a&&(t=n[r]);r++){let n=i[r]=f(o,t);m(0,o.$,n,t),b(0,n,t,e),g(this,n,t)}return o}_addMethodEventListenerToNode(t,e,n,r){let o=function(t,e,n){return t=t._methodHost||t,function(e){t[n]?t[n](e,e.detail):console.warn("listener method `"+n+"` not defined")}}(r=r||t,0,n);return this._addEventListenerToNode(t,e,o),o}_addEventListenerToNode(t,e,n){t.addEventListener(e,n)}_removeEventListenerFromNode(t,e,n){t.removeEventListener(e,n)}});var w=n(12822);let _=0;const x=[],A={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},v="__computeInfo",k=/[A-Z]/;function C(t,e,n){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),n))for(let t in r){let e=r[t],n=r[t]=Array(e.length);for(let t=0;t<e.length;t++)n[t]=e[t]}}else r=t[e]={};return r}function E(t,e,n,r,o,a){if(e){let s=!1;const l=_++;for(let c in n){let d=e[o?(0,i.zr)(c):c];if(d)for(let e,i=0,p=d.length;i<p&&(e=d[i]);i++)e.info&&e.info.lastRun===l||o&&!M(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,n,r,e.info,o,a),s=!0)}return s}return!1}function S(t,e,n,r,o,a,s,l){let c=!1,d=e[s?(0,i.zr)(r):r];if(d)for(let e,i=0,p=d.length;i<p&&(e=d[i]);i++)e.info&&e.info.lastRun===n||s&&!M(r,e.trigger)||(e.info&&(e.info.lastRun=n),e.fn(t,r,o,a,e.info,s,l),c=!0);return c}function M(t,e){if(e){let n=e.name;return n==t||!(!e.structured||!(0,i.QX)(n,t))||!(!e.wildcard||!(0,i.K9)(n,t))}return!0}function T(t,e,n,r,o){let i="string"==typeof o.method?t[o.method]:o.method,a=o.property;i?i.call(t,t.__data[a],r[a]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function L(t,e,n){let r=(0,i.zr)(e);if(r!==e){return B(t,(0,a.e)(r)+"-changed",n[e],e),!0}return!1}function B(t,e,n,o){let i={value:n,queueProperty:!0};o&&(i.path=o),(0,r.L)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function I(t,e,n,r,o,a){let s=(a?(0,i.zr)(e):e)!=e?e:null,l=s?(0,i.Jt)(t,s):t.__data[e];s&&void 0===l&&(l=n[e]),B(t,o.eventName,l,s)}function O(t,e,n,r,o){let i=t.__data[e];w.dV&&(i=(0,w.dV)(i,o.attrName,"attribute",t)),t._propertyToAttribute(e,o.attrName,i)}function N(t,e,n,r){let o=t[A.COMPUTE];if(o)if(w.Xj){_++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const n=t[A.COMPUTE];let r,{counts:o,ready:i,total:a}=function(t){const e=t[v],n={},r=t[A.COMPUTE],o=[];let i=0;for(let t in e){const r=e[t];i+=n[t]=r.args.filter(t=>!t.literal).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||o.push(t);return{counts:n,ready:o,total:i}}(t);for(;r=i.shift();){e.set(r,e.size);const t=n[r];t&&t.forEach(t=>{const e=t.info.methodInfo;--a,0===--o[e]&&i.push(e)})}if(0!==a){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),a=[];for(let t in e)z(t,o,a,i,r);let s;for(;s=a.shift();)R(t,"",e,n,s)&&z(s.methodInfo,o,a,i,r);Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;E(t,o,i,n,r);)Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}const H=(t,e,n)=>{let r=0,o=e.length-1,i=-1;for(;r<=o;){const a=r+o>>1,s=n.get(e[a].methodInfo)-n.get(t.methodInfo);if(s<0)r=a+1;else{if(!(s>0)){i=a;break}o=a-1}}i<0&&(i=o+1),e.splice(i,0,t)},z=(t,e,n,r,o)=>{const a=e[o?(0,i.zr)(t):t];if(a)for(let e=0;e<a.length;e++){const i=a[e];i.info.lastRun===_||o&&!M(t,i.trigger)||(i.info.lastRun=_,H(i.info,n,r))}};function R(t,e,n,r,o){let i=q(t,e,n,r,o);if(i===x)return!1;let a=o.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[a]?t._setPendingProperty(a,i,!0):(t[a]=i,!1)}function $(t,e,n,r,o,i,s){n.bindings=n.bindings||[];let l={kind:r,target:o,parts:i,literal:s,isCompound:1!==i.length};if(n.bindings.push(l),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(l)){let{event:t,negate:e}=l.parts[0];l.listenerEvent=t||(0,a.e)(o)+"-changed",l.listenerNegate=e}let c=e.nodeInfoList.length;for(let n=0;n<l.parts.length;n++){let r=l.parts[n];r.compoundIndex=n,P(t,e,l,r,c)}}function P(t,e,n,r,o){if(!r.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let i=r.dependencies,a={index:o,binding:n,part:r,evaluator:t};for(let n=0;n<i.length;n++){let r=i[n];"string"==typeof r&&(r=Z(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:D,info:a,trigger:r})}}}function D(t,e,n,r,o,a,s){let l=s[o.index],c=o.binding,d=o.part;if(a&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let r=n[e];e=(0,i.Tl)(d.source,c.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let i=o.evaluator._evaluateBinding(t,d,e,n,r,a);i!==x&&function(t,e,n,r,o){o=function(t,e,n,r){if(n.isCompound){let o=t.__dataCompoundStorage[n.target];o[r.compoundIndex]=e,e=o.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,o,n,r),w.dV&&(o=(0,w.dV)(o,n.target,n.kind,e));if("attribute"==n.kind)t._valueToNodeAttribute(e,o,n.target);else{let r=n.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[A.READ_ONLY]&&e[A.READ_ONLY][r]||e._setPendingProperty(r,o)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,o)}}(t,l,c,d,i)}}function j(t,e){if(e.isCompound){let n=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),o=e.parts,i=new Array(o.length);for(let t=0;t<o.length;t++)i[t]=o[t].literal;let a=e.target;n[a]=i,e.literal&&"property"==e.kind&&("className"===a&&(t=(0,r.L)(t)),t[a]=e.literal)}}function F(t,e,n){if(n.listenerEvent){let r=n.parts[0];t.addEventListener(n.listenerEvent,function(t){!function(t,e,n,r,o){let a,s=t.detail,l=s&&s.path;l?(r=(0,i.Tl)(n,r,l),a=s&&s.value):a=t.currentTarget[n],a=o?!a:a,e[A.READ_ONLY]&&e[A.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,a,!0,Boolean(l))||s&&s.queueProperty||e._invalidateProperties()}(t,e,n.target,r.source,r.negate)})}}function U(t,e,n,r,o,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let a={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:i};for(let o,i=0;i<e.args.length&&(o=e.args[i]);i++)o.literal||t._addPropertyEffect(o.rootProperty,n,{fn:r,info:a,trigger:o});return i&&t._addPropertyEffect(e.methodName,n,{fn:r,info:a}),a}function q(t,e,n,r,o){let i=t._methodHost||t,a=i[o.methodName];if(a){let r=t._marshalArgs(o.args,e,n);return r===x?x:a.apply(i,r)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const W=[],V="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Y="(?:("+V+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",X=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+V+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+Y+"(?:,\\s*"+Y+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");function K(t){let e="";for(let n=0;n<t.length;n++){e+=t[n].literal||""}return e}function G(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:W};if(e[2].trim()){return function(t,e){return e.args=t.map(function(t){let n=Z(t);return n.literal||(e.static=!1),n},this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function Z(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=e.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(e),n.literal=!0}return n.literal||(n.rootProperty=(0,i.zr)(e),n.structured=(0,i.uf)(e),n.structured&&(n.wildcard=".*"==e.slice(-2),n.wildcard&&(n.name=e.slice(0,-2)))),n}function J(t,e,n){let r=(0,i.Jt)(t,n);return void 0===r&&(r=e[n]),r}function Q(t,e,n,r){const o={indexSplices:r};w.oO&&!t._overrideLegacyUndefined&&(e.splices=o),t.notifyPath(n+".splices",o),t.notifyPath(n+".length",e.length),w.oO&&!t._overrideLegacyUndefined&&(o.indexSplices=[])}function tt(t,e,n,r,o,i){Q(t,e,n,[{index:r,addedCount:o,removed:i,object:e,type:"splice"}])}const et=(0,o.y)(t=>{const e=y((0,s.W)(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return A}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(nt.length){let t=nt[nt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[A.READ_ONLY];for(let n in t)e&&e[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=t[n])}_addPropertyEffect(t,e,n){this._createPropertyAccessor(t,e==A.READ_ONLY);let r=C(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(n)}_removePropertyEffect(t,e,n){let r=C(this,e,!0)[t],o=r.indexOf(n);o>=0&&r.splice(o,1)}_hasPropertyEffect(t,e){let n=this[e];return Boolean(n&&n[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,A.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,A.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,A.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,A.COMPUTE)}_setPendingPropertyOrPath(t,e,n,r){if(r||(0,i.zr)(Array.isArray(t)?t[0]:t)!==t){if(!r){let n=(0,i.Jt)(this,t);if(!(t=(0,i.hZ)(this,t,e))||!super._shouldPropertyChange(t,e,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,n))return function(t,e,n){let r=t.__dataLinkedPaths;if(r){let o;for(let a in r){let s=r[a];(0,i.K9)(a,e)?(o=(0,i.Tl)(a,s,e),t._setPendingPropertyOrPath(o,n,!0,!0)):(0,i.K9)(s,e)&&(o=(0,i.Tl)(s,a,e),t._setPendingPropertyOrPath(o,n,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,n);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,n){n===t[e]&&"object"!=typeof n||("className"===e&&(t=(0,r.L)(t)),t[e]=n)}_setPendingProperty(t,e,n){let r=this.__dataHasPaths&&(0,i.uf)(t),o=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,o[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[A.NOTIFY]&&this[A.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=n),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let n=t[e];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let n in t)!e&&this[A.READ_ONLY]&&this[A.READ_ONLY][n]||this._setPendingPropertyOrPath(n,t[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,n){let r,o=this.__dataHasPaths;this.__dataHasPaths=!1,N(this,e,n,o),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,n,o),this._flushClients(),E(this,this[A.REFLECT],e,n,o),E(this,this[A.OBSERVE],e,n,o),r&&function(t,e,n,r,o){let i,a,s=t[A.NOTIFY],l=_++;for(let a in e)e[a]&&(s&&S(t,s,l,a,n,r,o)||o&&L(t,a,n))&&(i=!0);i&&(a=t.__dataHost)&&a._invalidateProperties&&a._invalidateProperties()}(this,r,e,n,o),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,n){this[A.PROPAGATE]&&E(this,this[A.PROPAGATE],t,e,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,n)}_runEffectsForTemplate(t,e,n,r){const o=(e,r)=>{E(this,t.propertyEffects,e,n,r,t.nodeList);for(let o=t.firstChild;o;o=o.nextSibling)this._runEffectsForTemplate(o,e,n,r)};t.runEffects?t.runEffects(o,e,r):o(e,r)}linkPaths(t,e){t=(0,i.S8)(t),e=(0,i.S8)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.S8)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let n={path:""};Q(this,(0,i.Jt)(this,t,n),n.path,e)}get(t,e){return(0,i.Jt)(e||this,t)}set(t,e,n){n?(0,i.hZ)(n,t,e):this[A.READ_ONLY]&&this[A.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let n={path:""},r=(0,i.Jt)(this,t,n),o=r.length,a=r.push(...e);return e.length&&tt(this,r,n.path,o,e.length,[]),a}pop(t){let e={path:""},n=(0,i.Jt)(this,t,e),r=Boolean(n.length),o=n.pop();return r&&tt(this,n,e.path,n.length,0,[o]),o}splice(t,e,n,...r){let o,a={path:""},s=(0,i.Jt)(this,t,a);return e<0?e=s.length-Math.floor(-e):e&&(e=Math.floor(e)),o=2===arguments.length?s.splice(e):s.splice(e,n,...r),(r.length||o.length)&&tt(this,s,a.path,e,r.length,o),o}shift(t){let e={path:""},n=(0,i.Jt)(this,t,e),r=Boolean(n.length),o=n.shift();return r&&tt(this,n,e.path,0,0,[o]),o}unshift(t,...e){let n={path:""},r=(0,i.Jt)(this,t,n),o=r.unshift(...e);return e.length&&tt(this,r,n.path,0,e.length,[]),o}notifyPath(t,e){let n;if(1==arguments.length){let r={path:""};e=(0,i.Jt)(this,t,r),n=r.path}else n=Array.isArray(t)?(0,i.S8)(t):t;this._setPendingPropertyOrPath(n,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var n;this._addPropertyEffect(t,A.READ_ONLY),e&&(this["_set"+(n=t,n[0].toUpperCase()+n.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,n){let r={property:t,method:e,dynamicFn:Boolean(n)};this._addPropertyEffect(t,A.OBSERVE,{fn:T,info:r,trigger:{name:t}}),n&&this._addPropertyEffect(e,A.OBSERVE,{fn:T,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let n=G(t);if(!n)throw new Error("Malformed observer expression '"+t+"'");U(this,n,A.OBSERVE,q,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,A.NOTIFY,{fn:I,info:{eventName:(0,a.e)(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,A.REFLECT,{fn:O,info:{attrName:e}})}_createComputedProperty(t,e,n){let r=G(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const o=U(this,r,A.COMPUTE,R,t,n);C(this,v)[t]=o}_marshalArgs(t,e,n){const r=this.__data,o=[];for(let a=0,s=t.length;a<s;a++){let{name:s,structured:l,wildcard:c,value:d,literal:p}=t[a];if(!p)if(c){const t=(0,i.K9)(s,e),o=J(r,n,t?e:s);d={path:t?e:s,value:o,base:t?(0,i.Jt)(r,s):o}}else d=l?J(r,n,s):r[s];if(w.oO&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return x;o[a]=d}return o}static addPropertyEffect(t,e,n){this.prototype._addPropertyEffect(t,e,n)}static createPropertyObserver(t,e,n){this.prototype._createPropertyObserver(t,e,n)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,n){this.prototype._createComputedProperty(t,e,n)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let n=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==n;if(!r)for(let t in n.propertyEffects)this._createPropertyAccessor(t);if(e)if(n=Object.create(n),n.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;n.parent=e,e.lastChild=n,n.previousSibling=r,r?r.nextSibling=n:e.firstChild=n}else this.__templateInfo=n;else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(t,e,n){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(n)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),nt.push(this);let n=super._stampTemplate(t,e);if(nt.pop(),e.nodeList=n.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=n.firstChild;e;e=e.nextSibling)t.push(e)}return n.templateInfo=e,function(t,e){let{nodeList:n,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let o=r[e],i=n[e],a=o.bindings;if(a)for(let e=0;e<a.length;e++){let n=a[e];j(i,n),F(i,t,n)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:n,nextSibling:o,parent:i}=e;n?n.nextSibling=o:i&&(i.firstChild=o),o?o.previousSibling=n:i&&(i.lastChild=n),e.nextSibling=e.previousSibling=null;let a=e.childNodes;for(let t=0;t<a.length;t++){let e=a[t];(0,r.L)((0,r.L)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,n,r){let o=e._parseTemplateNode.call(this,t,n,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,n);e&&(t.textContent=K(e)||" ",$(this,n,r,"text","textContent",e),o=!0)}return o}static _parseTemplateNodeAttribute(t,n,r,o,i){let s=this._parseBindings(i,n);if(s){let e=o,i="property";k.test(o)?i="attribute":"$"==o[o.length-1]&&(o=o.slice(0,-1),i="attribute");let l=K(s);return l&&"attribute"==i&&("class"==o&&t.hasAttribute("class")&&(l+=" "+t.getAttribute(o)),t.setAttribute(o,l)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(o,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(o=(0,a.I)(o)),$(this,n,r,i,o,s,l),!0}return e._parseTemplateNodeAttribute.call(this,t,n,r,o,i)}static _parseTemplateNestedTemplate(t,n,r){let o=e._parseTemplateNestedTemplate.call(this,t,n,r);const i=t.parentNode,a=r.templateInfo,s="dom-if"===i.localName,l="dom-repeat"===i.localName;w.fF&&(s||l)&&(i.removeChild(t),(r=r.parentInfo).templateInfo=a,r.noted=!0,o=!1);let c=a.hostProps;if(w.s&&s)c&&(n.hostProps=Object.assign(n.hostProps||{},c),w.fF||(r.parentInfo.noted=!0));else{let t="{";for(let e in c){$(this,n,r,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return o}static _parseBindings(t,e){let n,r=[],o=0;for(;null!==(n=X.exec(t));){n.index>o&&r.push({literal:t.slice(o,n.index)});let i=n[1][0],a=Boolean(n[2]),s=n[3].trim(),l=!1,c="",d=-1;"{"==i&&(d=s.indexOf("::"))>0&&(c=s.substring(d+2),s=s.substring(0,d),l=!0);let p=G(s),h=[];if(p){let{args:t,methodName:n}=p;for(let e=0;e<t.length;e++){let n=t[e];n.literal||h.push(n)}let r=e.dynamicFns;(r&&r[n]||p.static)&&(h.push(n),p.dynamicFn=!0)}else h.push(s);r.push({source:s,mode:i,negate:a,customEvent:l,signature:p,dependencies:h,event:c}),o=X.lastIndex}if(o&&o<t.length){let e=t.substring(o);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,n,r,o,a){let s;return s=e.signature?q(t,n,r,0,e.signature):n!=e.source?(0,i.Jt)(t,e.source):a&&(0,i.uf)(n)?(0,i.Jt)(t,n):t.__data[n],e.negate&&(s=!s),s}}}),nt=[]},70087(t,e,n){"use strict";n.d(e,{k:()=>i});n(97695);function r(t,e,n){return{index:t,removed:e,addedCount:n}}function o(t,e,n,o,i,s){let l,c=0,d=0,p=Math.min(n-e,s-i);if(0==e&&0==i&&(c=function(t,e,n){for(let r=0;r<n;r++)if(!a(t[r],e[r]))return r;return n}(t,o,p)),n==t.length&&s==o.length&&(d=function(t,e,n){let r=t.length,o=e.length,i=0;for(;i<n&&a(t[--r],e[--o]);)i++;return i}(t,o,p-c)),i+=c,s-=d,(n-=d)-(e+=c)==0&&s-i==0)return[];if(e==n){for(l=r(e,[],0);i<s;)l.removed.push(o[i++]);return[l]}if(i==s)return[r(e,[],n-e)];let h=function(t){let e=t.length-1,n=t[0].length-1,r=t[e][n],o=[];for(;e>0||n>0;){if(0==e){o.push(2),n--;continue}if(0==n){o.push(3),e--;continue}let i,a=t[e-1][n-1],s=t[e-1][n],l=t[e][n-1];i=s<l?s<a?s:a:l<a?l:a,i==a?(a==r?o.push(0):(o.push(1),r=a),e--,n--):i==s?(o.push(3),e--,r=s):(o.push(2),n--,r=l)}return o.reverse(),o}(function(t,e,n,r,o,i){let s=i-o+1,l=n-e+1,c=new Array(s);for(let t=0;t<s;t++)c[t]=new Array(l),c[t][0]=t;for(let t=0;t<l;t++)c[0][t]=t;for(let n=1;n<s;n++)for(let i=1;i<l;i++)if(a(t[e+i-1],r[o+n-1]))c[n][i]=c[n-1][i-1];else{let t=c[n-1][i]+1,e=c[n][i-1]+1;c[n][i]=t<e?t:e}return c}(t,e,n,o,i,s));l=void 0;let u=[],f=e,m=i;for(let t=0;t<h.length;t++)switch(h[t]){case 0:l&&(u.push(l),l=void 0),f++,m++;break;case 1:l||(l=r(f,[],0)),l.addedCount++,f++,l.removed.push(o[m]),m++;break;case 2:l||(l=r(f,[],0)),l.addedCount++,f++;break;case 3:l||(l=r(f,[],0)),l.removed.push(o[m]),m++}return l&&u.push(l),u}function i(t,e){return o(t,0,t.length,e,0,e.length)}function a(t,e){return t===e}},90347(t,e,n){"use strict";n.d(e,{EV:()=>c,_3:()=>d});n(97695);let r=0,o=0,i=[],a=0,s=!1,l=document.createTextNode("");new window.MutationObserver(function(){s=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout(()=>{throw t})}}i.splice(0,t),o+=t}).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},d={run:t=>(s||(s=!0,l.textContent=a++),i.push(t),r++),cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},97695(){"use strict";window.JSCompiler_renameProperty=function(t,e){return t}},10848(t,e,n){"use strict";n.d(e,{I:()=>a,e:()=>s});n(97695);const r={},o=/-[a-z]/g,i=/([A-Z])/g;function a(t){return r[t]||(r[t]=t.indexOf("-")<0?t:t.replace(o,t=>t[1].toUpperCase()))}function s(t){return r[t]||(r[t]=t.replace(i,"-$1").toLowerCase())}},74632(t,e,n){"use strict";n.d(e,{Oy:()=>i,aq:()=>r,pg:()=>a});n(97695),n(29786),n(90347);class r{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,o.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(t,e,n){return t instanceof r?t._cancelAsync():t=new r,t.setConfig(e,n),t}}let o=new Set;const i=function(t){o.add(t)},a=function(){const t=Boolean(o.size);return o.forEach(t=>{try{t.flush()}catch(t){setTimeout(()=>{throw t})}}),t}},34641(t,e,n){"use strict";n.d(e,{O:()=>r.Oy,b:()=>o});n(97695);var r=n(74632);const o=function(){let t,e;do{t=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),e=(0,r.pg)()}while(t||e)}},15055(t,e,n){"use strict";n.d(e,{Ix:()=>q,ch:()=>N,pQ:()=>H,wB:()=>R});n(97695);var r=n(90347),o=n(74632),i=n(12822),a=n(13107);let s="string"==typeof document.head.style.touchAction,l="__polymerGestures",c="__polymerGesturesHandled",d="__polymerGesturesTouchAction",p=["mousedown","mousemove","mouseup","click"],h=[0,1,4,2],u=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function f(t){return p.indexOf(t)>-1}let m=!1;function g(t){if(!f(t)&&"touchend"!==t)return s&&m&&i.Hp?{passive:!0}:void 0}!function(){try{let t=Object.defineProperty({},"passive",{get(){m=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();let b=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const y=[],w={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},_={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function x(t){return w[t.localName]||!1}function A(t){let e=Array.prototype.slice.call(t.labels||[]);if(!e.length){e=[];try{let n=t.getRootNode();if(t.id){let r=n.querySelectorAll(`label[for = '${t.id}']`);for(let t=0;t<r.length;t++)e.push(r[t])}}catch(t){}}return e}let v=function(t){let e=t.sourceCapabilities;if((!e||e.firesTouchEvents)&&(t[c]={skip:!0},"click"===t.type)){let e=!1,n=T(t);for(let t=0;t<n.length;t++){if(n[t].nodeType===Node.ELEMENT_NODE)if("label"===n[t].localName)y.push(n[t]);else if(x(n[t])){let r=A(n[t]);for(let t=0;t<r.length;t++)e=e||y.indexOf(r[t])>-1}if(n[t]===E.mouse.target)return}if(e)return;t.preventDefault(),t.stopPropagation()}};function k(t){let e=b?["click"]:p;for(let n,r=0;r<e.length;r++)n=e[r],t?(y.length=0,document.addEventListener(n,v,!0)):document.removeEventListener(n,v,!0)}function C(t){let e=t.type;if(!f(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!u&&(e=h[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}let E={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function S(t,e,n){t.movefn=e,t.upfn=n,document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)}function M(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}i.bK&&document.addEventListener("touchend",function(t){if(!i.bK)return;E.mouse.mouseIgnoreJob||k(!0),E.mouse.target=T(t)[0],E.mouse.mouseIgnoreJob=o.aq.debounce(E.mouse.mouseIgnoreJob,r.EV.after(2500),function(){k(),E.mouse.target=null,E.mouse.mouseIgnoreJob=null})},!!m&&{passive:!0});const T=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],L={},B=[];function I(t){const e=T(t);return e.length>0?e[0]:t.target}function O(t){let e,n=t.type,r=t.currentTarget[l];if(!r)return;let o=r[n];if(o){if(!t[c]&&(t[c]={},"touch"===n.slice(0,5))){let e=t.changedTouches[0];if("touchstart"===n&&1===t.touches.length&&(E.touch.id=e.identifier),E.touch.id!==e.identifier)return;s||"touchstart"!==n&&"touchmove"!==n||function(t){let e=t.changedTouches[0],n=t.type;if("touchstart"===n)E.touch.x=e.clientX,E.touch.y=e.clientY,E.touch.scrollDecided=!1;else if("touchmove"===n){if(E.touch.scrollDecided)return;E.touch.scrollDecided=!0;let n=function(t){let e="auto",n=T(t);for(let t,r=0;r<n.length;r++)if(t=n[r],t[d]){e=t[d];break}return e}(t),r=!1,o=Math.abs(E.touch.x-e.clientX),i=Math.abs(E.touch.y-e.clientY);t.cancelable&&("none"===n?r=!0:"pan-x"===n?r=i>o:"pan-y"===n&&(r=o>i)),r?t.preventDefault():P("track")}}(t)}if(e=t[c],!e.skip){for(let n,r=0;r<B.length;r++)n=B[r],o[n.name]&&!e[n.name]&&n.flow&&n.flow.start.indexOf(t.type)>-1&&n.reset&&n.reset();for(let r,i=0;i<B.length;i++)r=B[i],o[r.name]&&!e[r.name]&&(e[r.name]=!0,r[n](t))}}}function N(t,e,n){return!!L[e]&&(function(t,e,n){let r=L[e],o=r.deps,i=r.name,a=t[l];a||(t[l]=a={});for(let e,n,r=0;r<o.length;r++)e=o[r],b&&f(e)&&"click"!==e||(n=a[e],n||(a[e]=n={_count:0}),0===n._count&&t.addEventListener(e,O,g(e)),n[i]=(n[i]||0)+1,n._count=(n._count||0)+1);t.addEventListener(e,n),r.touchAction&&R(t,r.touchAction)}(t,e,n),!0)}function H(t,e,n){return!!L[e]&&(function(t,e,n){let r=L[e],o=r.deps,i=r.name,a=t[l];if(a)for(let e,n,r=0;r<o.length;r++)e=o[r],n=a[e],n&&n[i]&&(n[i]=(n[i]||1)-1,n._count=(n._count||1)-1,0===n._count&&t.removeEventListener(e,O,g(e)));t.removeEventListener(e,n)}(t,e,n),!0)}function z(t){B.push(t);for(let e=0;e<t.emits.length;e++)L[t.emits[e]]=t}function R(t,e){s&&t instanceof HTMLElement&&r._3.run(()=>{t.style.touchAction=e}),t[d]=e}function $(t,e,n){let r=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=n,(0,a.L)(t).dispatchEvent(r),r.defaultPrevented){let t=n.preventer||n.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function P(t){let e=function(t){for(let e,n=0;n<B.length;n++){e=B[n];for(let n,r=0;r<e.emits.length;r++)if(n=e.emits[r],n===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function D(t,e,n,r){e&&$(e,t,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(t){return P(t)}})}function j(t,e,n){if(t.prevent)return!1;if(t.started)return!0;let r=Math.abs(t.x-e),o=Math.abs(t.y-n);return r>=5||o>=5}function F(t,e,n){if(!e)return;let r,o=t.moves[t.moves.length-2],i=t.moves[t.moves.length-1],a=i.x-t.x,s=i.y-t.y,l=0;o&&(r=i.x-o.x,l=i.y-o.y),$(e,"track",{state:t.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:l,sourceEvent:n,hover:function(){return function(t,e){let n=document.elementFromPoint(t,e),r=n;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let o=r;if(r=r.shadowRoot.elementFromPoint(t,e),o===r)break;r&&(n=r)}return n}(n.clientX,n.clientY)}})}function U(t,e,n){let r=Math.abs(e.clientX-t.x),o=Math.abs(e.clientY-t.y),i=I(n||e);!i||_[i.localName]&&i.hasAttribute("disabled")||(isNaN(r)||isNaN(o)||r<=25&&o<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;let e=I(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;let n=e.getBoundingClientRect(),r=t.pageX,o=t.pageY;return!(r>=n.left&&r<=n.right&&o>=n.top&&o<=n.bottom)}return!1}(e))&&(t.prevent||$(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:n}))}z({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){M(this.info)},mousedown:function(t){if(!C(t))return;let e=I(t),n=this;S(this.info,function(t){C(t)||(D("up",e,t),M(n.info))},function(t){C(t)&&D("up",e,t),M(n.info)}),D("down",e,t)},touchstart:function(t){D("down",I(t),t.changedTouches[0],t)},touchend:function(t){D("up",I(t),t.changedTouches[0],t)}}),z({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,M(this.info)},mousedown:function(t){if(!C(t))return;let e=I(t),n=this,r=function(t){let r=t.clientX,o=t.clientY;j(n.info,r,o)&&(n.info.state=n.info.started?"mouseup"===t.type?"end":"track":"start","start"===n.info.state&&P("tap"),n.info.addMove({x:r,y:o}),C(t)||(n.info.state="end",M(n.info)),e&&F(n.info,e,t),n.info.started=!0)};S(this.info,r,function(t){n.info.started&&r(t),M(n.info)}),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){let e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){let e=I(t),n=t.changedTouches[0],r=n.clientX,o=n.clientY;j(this.info,r,o)&&("start"===this.info.state&&P("tap"),this.info.addMove({x:r,y:o}),F(this.info,e,n),this.info.state="track",this.info.started=!0)},touchend:function(t){let e=I(t),n=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),F(this.info,e,n))}}),z({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(t){C(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click:function(t){C(t)&&U(this.info,t)},touchstart:function(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend:function(t){U(this.info,t.changedTouches[0],t)}});const q=I},47351(t,e,n){"use strict";n.d(e,{q:()=>a});n(97695);const r=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class o{constructor(t,e){s(t,e);const n=e.reduce((e,n,r)=>e+i(n)+t[r+1],t[0]);this.value=n.toString()}toString(){return this.value}}function i(t){if(t instanceof o)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const a=function(t,...e){s(t,e);const n=document.createElement("template");let a=e.reduce((e,n,r)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof o)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(n)+t[r+1],t[0]);return r&&(a=r.createHTML(a)),n.innerHTML=a,n},s=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},29786(t,e,n){"use strict";n.d(e,{y:()=>i});n(97695);let r=0;function o(){}o.prototype.__mixinApplications,o.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let n=r++;return function(r){let o=r.__mixinSet;if(o&&o[n])return r;let i=e,a=i.get(r);if(!a){a=t(r),i.set(r,a);let e=Object.create(a.__mixinSet||o||null);e[n]=!0,a.__mixinSet=e}return a}}},86956(t,e,n){"use strict";n.d(e,{Jt:()=>p,K9:()=>a,QX:()=>i,S8:()=>c,Tl:()=>s,cK:()=>l,hZ:()=>h,uf:()=>r,zr:()=>o});n(97695);function r(t){return t.indexOf(".")>=0}function o(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function a(t,e){return 0===e.indexOf(t+".")}function s(t,e,n){return e+n.slice(t.length)}function l(t,e){return t===e||i(t,e)||a(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let n=0;n<t.length;n++){let r=t[n].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function d(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function p(t,e,n){let r=t,o=d(e);for(let t=0;t<o.length;t++){if(!r)return;r=r[o[t]]}return n&&(n.path=o.join(".")),r}function h(t,e,n){let r=t,o=d(e),i=o[o.length-1];if(o.length>1){for(let t=0;t<o.length-1;t++){if(r=r[o[t]],!r)return}r[i]=n}else r[e]=n;return o.join(".")}},77410(t,e,n){"use strict";n.d(e,{m:()=>c});n(97695);let r=!1,o=[],i=[];function a(){r=!0,requestAnimationFrame(function(){r=!1,s(o),setTimeout(function(){!function(t){for(let e=0,n=t.length;e<n;e++)l(t.shift())}(i)})})}function s(t){for(;t.length;)l(t.shift())}function l(t){const e=t[0],n=t[1],r=t[2];try{n.apply(e,r)}catch(t){setTimeout(()=>{throw t})}}function c(t,e,n){r||a(),i.push([t,e,n])}},78803(t,e,n){"use strict";n.d(e,{O2:()=>s,c0:()=>l,rG:()=>c});n(97695);let r,o,i=/(url\()([^)]*)(\))/g,a=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function s(t,e){if(t&&a.test(t))return t;if("//"===t)return t;if(void 0===r){r=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",r="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),r)try{return new URL(t,e).href}catch(e){return t}return o||(o=document.implementation.createHTMLDocument("temp"),o.base=o.createElement("base"),o.head.appendChild(o.base),o.anchor=o.createElement("a"),o.body.appendChild(o.anchor)),o.base.href=e,o.anchor.href=t,o.anchor.href||t}function l(t,e){return t.replace(i,function(t,n,r,o){return n+"'"+s(r.replace(/["']/g,""),e)+"'"+o})}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},12822(t,e,n){"use strict";n.d(e,{CE:()=>_,F3:()=>h,Hp:()=>l,IP:()=>p,Kp:()=>u,Xj:()=>m,bK:()=>g,dV:()=>s,ek:()=>d,fF:()=>b,oO:()=>f,qM:()=>i,s:()=>y,sv:()=>o,vK:()=>x,w9:()=>w,wA:()=>a,yu:()=>c});n(97695);var r=n(78803);const o=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,o&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let a=window.Polymer&&window.Polymer.rootPath||(0,r.rG)(document.baseURI||window.location.href);let s=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;let l=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;let c=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;let d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;let p=window.Polymer&&window.Polymer.legacyOptimizations||!1;let h=window.Polymer&&window.Polymer.legacyWarnings||!1;let u=window.Polymer&&window.Polymer.syncInitialRender||!1;let f=window.Polymer&&window.Polymer.legacyUndefined||!1;let m=window.Polymer&&window.Polymer.orderedComputed||!1;let g=!0;let b=window.Polymer&&window.Polymer.removeNestedTemplates||!1;let y=window.Polymer&&window.Polymer.fastDomIf||!1;let w=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;let _=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;let x=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},87684(t,e,n){"use strict";n.d(e,{Ho:()=>p,Vg:()=>u,nX:()=>d});var r=n(77976),o=n(78803);const i="shady-unscoped";function a(t){return r.$.import(t)}function s(t){let e=t.body?t.body:t;const n=(0,o.c0)(e.textContent,t.baseURI),r=document.createElement("style");return r.textContent=n,r}function l(t){const e=t.trim().split(/\s+/),n=[];for(let t=0;t<e.length;t++)n.push(...c(e[t]));return n}function c(t){const e=a(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...h(e));const n=e.querySelector("template");n&&t.push(...d(n,e.assetpath)),e._styles=t}return e._styles}function d(t,e){if(!t._styles){const n=[],r=t.content.querySelectorAll("style");for(let t=0;t<r.length;t++){let i=r[t],a=i.getAttribute("include");a&&n.push(...l(a).filter(function(t,e,n){return n.indexOf(t)===e})),e&&(i.textContent=(0,o.c0)(i.textContent,e)),n.push(i)}t._styles=n}return t._styles}function p(t){let e=a(t);return e?h(e):[]}function h(t){const e=[],n=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<n.length;t++){let r=n[t];if(r.import){const t=r.import,n=r.hasAttribute(i);if(n&&!t._unscopedStyle){const e=s(t);e.setAttribute(i,""),t._unscopedStyle=e}else t._style||(t._style=s(t));e.push(n?t._unscopedStyle:t._style)}}return e}function u(t){let e=t.trim().split(/\s+/),n="";for(let t=0;t<e.length;t++)n+=f(e[t]);return n}function f(t){let e=a(t);if(e&&void 0===e._cssText){let t=m(e),n=e.querySelector("template");n&&(t+=function(t,e){let n="";const r=d(t,e);for(let t=0;t<r.length;t++){let e=r[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}(n,e.assetpath)),e._cssText=t||null}return e||console.warn("Could not find style data in module named",t),e&&e._cssText||""}function m(t){let e="",n=h(t);for(let t=0;t<n.length;t++)e+=n[t].textContent;return e}},52428(t,e,n){"use strict";n.d(e,{cn:()=>r,kz:()=>i});function r(){0}const o=[];function i(t){o.push(t)}},13107(t,e,n){"use strict";n.d(e,{L:()=>r});const r=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},71226(t,e,n){"use strict";n.d(e,{Pu:()=>o});var r=n(29970);n(47351);const o=(0,r.q2)(HTMLElement)},69130(t,e,n){"use strict";n.d(e,{C6:()=>tt,qy:()=>Q.q});var r=n(94794),o=(n(95586),n(97695),n(91865)),i=n(29786);function a(t,e,n,r,o){let i;o&&(i="object"==typeof n&&null!==n,i&&(r=t.__dataTemp[e]));let a=r!==n&&(r==r||n==n);return i&&a&&(t.__dataTemp[e]=n),a}const s=(0,i.y)(t=>class extends t{_shouldPropertyChange(t,e,n){return a(this,t,e,n,!0)}}),l=(0,i.y)(t=>class extends t{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(t,e,n){return a(this,t,e,n,this.mutableData)}});s._mutablePropertyChange=a;var c=n(12822),d=n(13107);let p=null;function h(){return p}h.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:h,writable:!0}});const u=(0,o.s)(h),f=s(u);const m=(0,o.s)(class{});function g(t,e){for(let n=0;n<e.length;n++){let r=e[n];if(Boolean(t)!=Boolean(r.__hideTemplateChildren__))if(r.nodeType===Node.TEXT_NODE)t?(r.__polymerTextContent__=r.textContent,r.textContent=""):r.textContent=r.__polymerTextContent__;else if("slot"===r.localName)if(t)r.__polymerReplaced__=document.createComment("hidden-slot"),(0,d.L)((0,d.L)(r).parentNode).replaceChild(r.__polymerReplaced__,r);else{const t=r.__polymerReplaced__;t&&(0,d.L)((0,d.L)(t).parentNode).replaceChild(r,t)}else r.style&&(t?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r.__polymerDisplay__);r.__hideTemplateChildren__=t,r._showHideChildren&&r._showHideChildren(t)}}class b extends m{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let t=this.root.firstChild;t;t=t.nextSibling)e.push(t),t.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let n=this.__templatizeOptions;(t&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(let e in t)this._setPendingProperty(e,t[e])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,n){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,t=>{t.model=this,n(t)});else{let r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(t,e,n)}}_showHideChildren(t){g(t,this.children)}_setUnmanagedPropertyToNode(t,e,n){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&"textContent"==e?t.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(t,e,n)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do{t=t.__dataHost.__dataHost}while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}b.prototype.__dataHost,b.prototype.__templatizeOptions,b.prototype._methodHost,b.prototype.__templatizeOwner,b.prototype.__hostProps;const y=s(b);function w(t){let e=t.__dataHost;return e&&e._methodHost||e}function _(t,e,n){let r=n.mutableData?y:b;C.mixin&&(r=C.mixin(r));let o=class extends r{};return o.prototype.__templatizeOptions=n,o.prototype._bindTemplate(t),function(t,e,n,r){let o=n.hostProps||{};for(let e in r.instanceProps){delete o[e];let n=r.notifyInstanceProp;n&&t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:v(e,n)})}if(r.forwardHostProp&&e.__dataHost)for(let e in o)n.hasHostProps||(n.hasHostProps=!0),t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:k()})}(o,t,e,n),o}function x(t,e,n,r){let o=n.forwardHostProp;if(o&&e.hasHostProps){const s="template"==t.localName;let l=e.templatizeTemplateClass;if(!l){if(s){let t=n.mutableData?f:u;class r extends t{}l=e.templatizeTemplateClass=r}else{const n=t.constructor;class r extends n{}l=e.templatizeTemplateClass=r}let i=e.hostProps;for(let t in i)l.prototype._addPropertyEffect("_host_"+t,l.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:A(t,o)}),l.prototype._createNotifyingProperty("_host_"+t);c.F3&&r&&function(t,e,n){const r=n.constructor._properties,{propertyEffects:o}=t,{instanceProps:i}=e;for(let t in o)if(!(r[t]||i&&i[t])){const e=o[t];for(let n=0;n<e.length;n++){const{part:r}=e[n].info;if(!r.signature||!r.signature.static){console.warn(`Property '${t}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}(e,n,r)}if(t.__dataProto&&Object.assign(t.__data,t.__dataProto),s)a=l,p=i=t,Object.setPrototypeOf(i,a.prototype),new a,p=null,t.__dataTemp={},t.__dataPending=null,t.__dataOld=null,t._enableProperties();else{Object.setPrototypeOf(t,l.prototype);const n=e.hostProps;for(let e in n)if(e="_host_"+e,e in t){const n=t[e];delete t[e],t.__data[e]=n}}}var i,a}function A(t,e){return function(t,n,r){e.call(t.__templatizeOwner,n.substring(6),r[n])}}function v(t,e){return function(t,n,r){e.call(t.__templatizeOwner,t,n,r[n])}}function k(){return function(t,e,n){t.__dataHost._setPendingPropertyOrPath("_host_"+e,n[e],!0,!0)}}function C(t,e,n){if(c.yu&&!w(t))throw new Error("strictTemplatePolicy: template owner not trusted");if(n=n||{},t.__templatizeOwner)throw new Error("A <template> can only be templatized once");t.__templatizeOwner=e;let r=(e?e.constructor:b)._parseTemplate(t),o=r.templatizeInstanceClass;o||(o=_(t,r,n),r.templatizeInstanceClass=o);const i=w(t);x(t,r,n,i);let a=class extends o{};return a.prototype._methodHost=i,a.prototype.__dataHost=t,a.prototype.__templatizeOwner=e,a.prototype.__hostProps=r.hostProps,a}function E(t,e){let n;for(;e;)if(n=e.__dataHost?e:e.__templatizeInstance){if(n.__dataHost==t)return n;e=n.__dataHost}else e=(0,d.L)(e).parentNode;return null}var S=n(26102);let M=!1;function T(){if(c.IP&&!c.sv){if(!M){M=!0;const t=document.createElement("style");t.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(t)}return!0}return!1}const L=(0,S.b)(l((0,o.s)(HTMLElement)));customElements.define("dom-bind",class extends L{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),c.yu)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(t,e,n,r){this.mutableData=!0}connectedCallback(){T()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){(0,d.L)((0,d.L)(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let t=0;t<this.__children.length;t++)this.root.appendChild(this.__children[t])}render(){let t;if(!this.__children){if(t=t||this.querySelector("template"),!t){let e=new MutationObserver(()=>{if(t=this.querySelector("template"),!t)throw new Error("dom-bind requires a <template> child");e.disconnect(),this.render()});return void e.observe(this,{childList:!0})}this.root=this._stampTemplate(t),this.$=this.root.$,this.__children=[];for(let t=this.root.firstChild;t;t=t.nextSibling)this.__children[this.__children.length]=t;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});var B=n(71226),I=n(74632),O=n(34641),N=n(86956),H=n(90347);const z=l(B.Pu);class R extends z{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!c.w9,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),T()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=(0,d.L)((0,d.L)(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let t=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");t.disconnect(),this.__render()});return t.observe(this,{childList:!0}),!1}let n={};n[this.as]=!0,n[this.indexAs]=!0,n[this.itemsIndexAs]=!0,this.__ctor=C(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:n,forwardHostProp:function(t,e){let n=this.__instances;for(let r,o=0;o<n.length&&(r=n[o]);o++)r.forwardHostProp(t,e)},notifyInstanceProp:function(t,e,n){if((0,N.cK)(this.as,e)){let r=t[this.itemsIndexAs];e==this.as&&(this.items[r]=n);let o=(0,N.Tl)(this.as,`${JSCompiler_renameProperty("items",this)}.${r}`,e);this.notifyPath(o,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if("string"==typeof t){let e=t,n=this.__getMethodHost();return function(){return n[e].apply(n,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn)if(t){if(this.__observePaths){let e=this.__observePaths;for(let n=0;n<e.length;n++)0===t.indexOf(e[n])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||("items"===t.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=I.aq.debounce(this.__renderDebouncer,e>0?H.EV.after(e):H._3,t.bind(this)),(0,O.O)(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),(0,O.b)()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),n=this.__calculateLimit(e.length);this.__updateInstances(t,n,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),c.w9&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let n=0;n<t.length;n++)e[n]=n;return this.__filterFn&&(e=e.filter((e,n,r)=>this.__filterFn(t[e],n,r))),this.__sortFn&&e.sort((e,n)=>this.__sortFn(t[e],t[n])),e}__calculateLimit(t){let e=t;const n=this.__instances.length;if(this.initialCount){let r;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),r=Math.max(e-n,0),this.__chunkCount=r||1):(r=Math.min(Math.max(t-n,0),this.__chunkCount),e=Math.min(n+r,t)),this.__shouldMeasureChunk=r===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,n){const r=this.__itemsIdxToInstIdx={};let o;for(o=0;o<e;o++){let e=this.__instances[o],i=n[o],a=t[i];r[i]=o,e?(e._setPendingProperty(this.as,a),e._setPendingProperty(this.indexAs,o),e._setPendingProperty(this.itemsIndexAs,i),e._flushProperties()):this.__insertInstance(a,o,i)}for(let t=this.__instances.length-1;t>=o;t--)this.__detachAndRemoveInstance(t)}__detachInstance(t){let e=this.__instances[t];const n=(0,d.L)(e.root);for(let t=0;t<e.children.length;t++){let r=e.children[t];n.appendChild(r)}return e}__attachInstance(t,e){let n=this.__instances[t];e.insertBefore(n.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,n){let r={};return r[this.as]=t,r[this.indexAs]=e,r[this.itemsIndexAs]=n,new this.__ctor(r)}__insertInstance(t,e,n){const r=this.__stampInstance(t,e,n);let o=this.__instances[e+1],i=o?o.children[0]:this;return(0,d.L)((0,d.L)(this).parentNode).insertBefore(r.root,i),this.__instances[e]=r,r}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let n=t.slice(6),r=n.indexOf("."),o=r<0?n:n.substring(0,r);if(o==parseInt(o,10)){let t=r<0?"":n.substring(r+1);this.__handleObservedPaths(t);let i=this.__itemsIdxToInstIdx[o],a=this.__instances[i];if(a){let n=this.as+(t?"."+t:"");a._setPendingPropertyOrPath(n,e,!1,!0),a._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return E(this.template,t)}}customElements.define(R.is,R);class $ extends B.Pu{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=I.aq.debounce(this.__renderDebouncer,H._3,()=>this.__render()),(0,O.O)(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();const t=(0,d.L)(this).parentNode;t&&(t.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||(0,d.L)(t).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),T()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){const t=this;let e=t._templateInfo?t:(0,d.L)(t).querySelector("template");if(!e){let t=new MutationObserver(()=>{if(!(0,d.L)(this).querySelector("template"))throw new Error("dom-if requires a <template> child");t.disconnect(),this.__render()});return t.observe(this,{childList:!0}),!1}this.__template=e}return!0}__ensureInstance(){let t=(0,d.L)(this).parentNode;if(this.__hasInstance()){let e=this.__getInstanceNodes();if(e&&e.length){if((0,d.L)(this).previousSibling!==e[e.length-1])for(let n,r=0;r<e.length&&(n=e[r]);r++)(0,d.L)(t).insertBefore(n,this)}}else{if(!t)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(t)}return!0}render(){(0,O.b)()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),c.w9&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(t){}__teardownInstance(){}_showHideChildren(){}}const P=c.s?class extends ${constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(t){const e=this.__dataHost||this;if(c.yu&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");const n=e._bindTemplate(this.__template,!0);n.runEffects=(t,e,n)=>{let r=this.__syncInfo;if(this.if)r&&(this.__syncInfo=null,this._showHideChildren(),e=Object.assign(r.changedProps,e)),t(e,n);else if(this.__instance)if(r||(r=this.__syncInfo={runEffects:t,changedProps:{}}),n)for(const t in e){const e=(0,N.zr)(t);r.changedProps[e]=this.__dataHost[e]}else Object.assign(r.changedProps,e)},this.__instance=e._stampTemplate(this.__template,n),(0,d.L)(t).insertBefore(this.__instance,this)}__syncHostProperties(){const t=this.__syncInfo;t&&(this.__syncInfo=null,t.runEffects(t.changedProps,!1))}__teardownInstance(){const t=this.__dataHost||this;this.__instance&&(t._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,g(t,this.__instance.templateInfo.childNodes)),t||this.__syncHostProperties()}}:class extends ${constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(t){this.__ctor||(this.__ctor=C(this.__template,this,{mutableData:!0,forwardHostProp:function(t,e){this.__instance&&(this.if?this.__instance.forwardHostProp(t,e):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[(0,N.zr)(t)]=!0))}})),this.__instance=new this.__ctor,(0,d.L)(t).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){let t=this.__instance.children;if(t&&t.length){let e=(0,d.L)(t[0]).parentNode;if(e){e=(0,d.L)(e);for(let n,r=0;r<t.length&&(n=t[r]);r++)e.removeChild(n)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){let t=this.__invalidProps;if(t){this.__invalidProps=null;for(let e in t)this.__instance._setPendingProperty(e,this.__dataHost[e]);this.__instance._flushProperties()}}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,this.__instance._showHideChildren(t)),t||this.__syncHostProperties()}};customElements.define(P.is,P);var D=n(70087),j=n(29970);let F=(0,i.y)(t=>{let e=(0,j.q2)(t);return class extends e{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(t,e){let n=e.path;if(n==JSCompiler_renameProperty("items",this)){let n=e.base||[],r=this.__lastItems;if(t!==this.__lastMulti&&this.clearSelection(),r){let t=(0,D.k)(n,r);this.__applySplices(t)}this.__lastItems=n,this.__lastMulti=t}else if(e.path==`${JSCompiler_renameProperty("items",this)}.splices`)this.__applySplices(e.value.indexSplices);else{let t=n.slice(`${JSCompiler_renameProperty("items",this)}.`.length),e=parseInt(t,10);t.indexOf(".")<0&&t==e&&this.__deselectChangedIdx(e)}}__applySplices(t){let e=this.__selectedMap;for(let n=0;n<t.length;n++){let r=t[n];e.forEach((t,n)=>{t<r.index||(t>=r.index+r.removed.length?e.set(n,t+r.addedCount-r.removed.length):e.set(n,-1))});for(let t=0;t<r.addedCount;t++){let n=r.index+t;e.has(this.items[n])&&e.set(this.items[n],n)}}this.__updateLinks();let n=0;e.forEach((t,r)=>{t<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null,e.delete(r)):n++})}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let t=0;this.__selectedMap.forEach(e=>{e>=0&&this.linkPaths(`${JSCompiler_renameProperty("items",this)}.${e}`,`${JSCompiler_renameProperty("selected",this)}.${t++}`)})}else this.__selectedMap.forEach(t=>{this.linkPaths(JSCompiler_renameProperty("selected",this),`${JSCompiler_renameProperty("items",this)}.${t}`),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),`${JSCompiler_renameProperty("items",this)}.${t}`)})}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(t){return this.__selectedMap.has(t)}isIndexSelected(t){return this.isSelected(this.items[t])}__deselectChangedIdx(t){let e=this.__selectedIndexForItemIndex(t);if(e>=0){let t=0;this.__selectedMap.forEach((n,r)=>{e==t++&&this.deselect(r)})}}__selectedIndexForItemIndex(t){let e=this.__dataLinkedPaths[`${JSCompiler_renameProperty("items",this)}.${t}`];if(e)return parseInt(e.slice(`${JSCompiler_renameProperty("selected",this)}.`.length),10)}deselect(t){let e=this.__selectedMap.get(t);if(e>=0){let n;this.__selectedMap.delete(t),this.multi&&(n=this.__selectedIndexForItemIndex(e)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null}}deselectIndex(t){this.deselect(this.items[t])}select(t){this.selectIndex(this.items.indexOf(t))}selectIndex(t){let e=this.items[t];this.isSelected(e)?this.toggle&&this.deselectIndex(t):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(e,t),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),e):this.selected=this.selectedItem=e)}}})(B.Pu);class U extends F{static get is(){return"array-selector"}static get template(){return null}}customElements.define(U.is,U);var q=n(26778),W=n(39999),V=n(82775);const Y=new q.Ay;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(t,e,n){},prepareTemplateDom(t,e){},prepareTemplateStyles(t,e,n){},styleSubtree(t,e){Y.processStyles(),(0,W.U_)(t,e)},styleElement(t){Y.processStyles()},styleDocument(t){Y.processStyles(),(0,W.U_)(document.body,t)},getComputedStyleValue:(t,e)=>(0,W.yd)(t,e),flushCustomStyles(){},nativeCss:V.Us,nativeShadow:V.Eu,cssBuild:V.gp,disableRuntime:V.hS}),window.ShadyCSS.CustomStyleInterface=Y;var X=n(87684);const K="include",G=window.ShadyCSS.CustomStyleInterface;class Z extends HTMLElement{constructor(){super(),this._style=null,G.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const t=this.querySelector("style");if(!t)return null;this._style=t;const e=t.getAttribute(K);return e&&(t.removeAttribute(K),t.textContent=(0,X.Vg)(e)+t.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}let J;window.customElements.define("custom-style",Z),J=s._mutablePropertyChange;Boolean;var Q=n(47351);const tt=(0,r.r)(HTMLElement).prototype},76209(t,e,n){"use strict";n.d(e,{tU:()=>i,u$:()=>r,w3:()=>o});const r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/@media\s(.*)/},39999(t,e,n){"use strict";n.d(e,{Rf:()=>a,U_:()=>o,yd:()=>i});var r=n(76209);function o(t,e){for(let n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function i(t,e){const n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function a(t){const e=r.w3.test(t)||r.u$.test(t);return r.w3.lastIndex=0,r.u$.lastIndex=0,e}},26778(t,e,n){"use strict";n.d(e,{Ay:()=>p});let r,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(t){requestAnimationFrame(function(){i?i(t):(o||(o=new Promise(t=>{r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()})),o.then(function(){t&&t()}))})}const s="__seenByShadyCSS",l="__shadyCSSCachedStyle";let c=null,d=null;class p{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&d&&(this.enqueued=!0,a(d))}addCustomStyle(t){t[s]||(t[s]=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){if(t[l])return t[l];let e;return e=t.getStyle?t.getStyle():t,e}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const n=t[e];if(n[l])continue;const r=this.getStyleForCustomStyle(n);if(r){const t=r.__appliedElement||r;c&&c(t),n[l]=t}}return t}}p.prototype.addCustomStyle=p.prototype.addCustomStyle,p.prototype.getStyleForCustomStyle=p.prototype.getStyleForCustomStyle,p.prototype.processStyles=p.prototype.processStyles,Object.defineProperties(p.prototype,{transformCallback:{get:()=>c,set(t){c=t}},validateCallback:{get:()=>d,set(t){let e=!1;d||(e=!0),d=t,e&&this.enqueueDocumentValidation()}}})},82775(t,e,n){"use strict";n.d(e,{Eu:()=>r,Us:()=>l,gp:()=>i,hS:()=>s});const r=!(window.ShadyDOM&&window.ShadyDOM.inUse);let o,i;function a(t){o=(!t||!t.shimcssproperties)&&(r||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);const s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?o=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);const l=o},27300(t,e,n){"use strict";var r=n(14607)("ArrayBuffer.prototype.byteLength",!0),o=n(56227);t.exports=function(t){return o(t)?r?r(t):t.byteLength:NaN}},13929(t,e,n){const{parse:r,toHtml:o,walk:i,indexByKey:a,introspect:s,ingest:l,build:c,isDangerousUrl:d,sanitize:p,TAG_LABELS:h,parseStyle:u}=n(85274);const f=new Set(["div","main","article","form"]),m=new Set(["script","style","template","noscript"]),g=t=>String(t&&t.name||"").toLowerCase();function b(t){return(Array.isArray(t)?t:[]).filter(t=>t&&"tag"===t.type&&!m.has(g(t)))}function y(t){let e="";const n=t=>{if(t)if("text"!==t.type){if("tag"===t.type&&!m.has(g(t)))for(const e of t.children||[])n(e)}else e+=" "+String(t.data||"")};return n(t),e.replace(/\s+/g," ").trim()}function w(t,e){let n=0;const r=t=>{if(t&&"tag"===t.type){g(t)===e&&(n+=1);for(const e of t.children||[])r(e)}};return r(t),n}function _(t){let e="";const n=t=>{if(!e&&t&&"tag"===t.type&&!m.has(g(t))){if(/^h[1-6]$/.test(g(t))){const n=y(t);if(n)return void(e=n)}for(const e of t.children||[])n(e)}};return n(t),e}function x(t){return y(t).length>0||w(t,"img")>0}function A(t){let e=b(t.children).filter(x);for(let t=0;t<8&&(1===e.length&&f.has(g(e[0])));t+=1){const t=b(e[0].children).filter(x);if(0===t.length)break;e=t}return e}function v(t){const e=t.reduce((t,e)=>t+y(e).length,0);if(0===e)return t;const n=[];let r=!1;for(const o of t){const t=g(o);if(r){n.push(o);continue}const i=A(o),a=y(o).length>=.5*e&&i.length>=3;("main"===t?i.length>=2:f.has(t)&&a)?(n.push(...i),r=!0):n.push(o)}return r?n:t}const k=new Set(["sr-only","visually-hidden","screen-reader-text","visuallyhidden"]);function C(t,e){let n=null;return i(t,t=>{n||String(t.name||"").toLowerCase()!==e||(n=t)}),n}function E(t,e){const n=r(t),i=String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;"),a=C(n,"head");if(a){if(C([a],"base"))return t;const e=r(`<base href="${i}">`)[0];return e.parent=a,a.children=[e,...a.children||[]],o(n)}return o([...r(`<head><base href="${i}"></head>`),...n])}function S(t,e){const n=Array.isArray(e)?e:[];return 0===n.length?t:{...t,edits:[...t.edits,...n]}}function M(t,e){const n=t&&"generated"===t.origin&&!(!e||!e.scripts),r=t.edits||[],o=t&&"object"==typeof t?T.get(t):null,i=n?"rich":"plain";if(o&&o.html===t.html&&o.edits===r&&o.len===r.length&&null!=o[i])return o[i];const a=c({html:t.html,edits:r},{allowRich:n}).html;if(t&&"object"==typeof t){const e=o&&o.html===t.html&&o.edits===r&&o.len===r.length?o:{html:t.html,edits:r,len:r.length};e[i]=a,T.set(t,e)}return a}const T=new WeakMap;function L(t,e){for(const n of t||[]){"style"===String(n.name||"").toLowerCase()&&e(n),L(n.children||[],e)}}function B(t){const e=[];return L(t,t=>{e.push((t.children||[]).map(t=>t.data||"").join(""))}),i(t,t=>{const n=t.attribs&&t.attribs.style;n&&e.push(n.endsWith(";")?n:`${n};`)}),e.join("\n")}function I(t,e,n){const r=new Map;let o;for(;null!==(o=e.exec(t));){const t=o[1].trim();t&&r.set(t,(r.get(t)||0)+1)}return[...r.entries()].sort((t,e)=>e[1]-t[1]).slice(0,n).map(t=>t[0])}function O(t,e,n){const r=t=>function(t){return Math.max(0,Math.min(255,Math.round(t)))}(t).toString(16).padStart(2,"0");return`#${r(t)}${r(e)}${r(n)}`}function N(t){const e=String(t).trim();let n=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.exec(e);if(n)return`#${(r=n[1],r.length<=4?r.split("").map(t=>t+t).join(""):r).slice(0,6).toLowerCase()}`;var r;if(n=/^rgba?\(\s*([\d.]+%?)\s*,\s*([\d.]+%?)\s*,\s*([\d.]+%?)\s*(?:,\s*[\d.]+%?\s*)?\)$/i.exec(e),n){const t=t=>t.endsWith("%")?255*parseFloat(t)/100:parseFloat(t);return O(t(n[1]),t(n[2]),t(n[3]))}return n=/^hsla?\(\s*([\d.]+)(?:deg)?\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*(?:,\s*[\d.]+%?\s*)?\)$/i.exec(e),n?O(...function(t,e,n){const r=(t%360+360)%360,o=Math.max(0,Math.min(100,e))/100,i=Math.max(0,Math.min(100,n))/100,a=(1-Math.abs(2*i-1))*o,s=a*(1-Math.abs(r/60%2-1)),l=i-a/2;let[c,d,p]=[0,0,0];return[c,d,p]=r<60?[a,s,0]:r<120?[s,a,0]:r<180?[0,a,s]:r<240?[0,s,a]:r<300?[s,0,a]:[a,0,s],[255*(c+l),255*(d+l),255*(p+l)]}(parseFloat(n[1]),parseFloat(n[2]),parseFloat(n[3]))):null}function H(t){const e=parseInt(t.slice(1),16);return[e>>16&255,e>>8&255,255&e]}function z(t,e){const[n,r,o]=H(t),[i,a,s]=H(e);return Math.abs(n-i)<=24&&Math.abs(r-a)<=24&&Math.abs(o-s)<=24}function R(t,e){const n=/(?:^|[^-\w])(#[0-9a-fA-F]{3,8}\b|rgba?\([^)]*\)|hsla?\([^)]*\))/gi,r=new Map;let o;for(;null!==(o=n.exec(t));){const t=N(o[1]);t&&r.set(t,(r.get(t)||0)+1)}return function(t,e){const n=[],r=[...t.entries()].sort((t,e)=>e[1]-t[1]);for(const[t,e]of r){const r=n.find(e=>z(e.rep,t));r?(r.total+=e,e>r.repCount&&(r.rep=t,r.repCount=e)):n.push({rep:t,repCount:e,total:e})}return n.sort((t,e)=>e.total-t.total).slice(0,e).map(t=>t.rep)}(r,e)}const $={px:1,rem:16,em:16,pt:4/3,"%":.16};function P(t){let e=String(t).trim();const n=/^clamp\((.*)\)$/i.exec(e);if(n){const t=function(t,e){const n=[];let r=0,o="";for(const i of t)"("===i&&r++,")"===i&&r--,i===e&&0===r?(n.push(o),o=""):o+=i;return n.push(o),n}(n[1],",");e=(t[t.length-1]||"").trim()}const r=/^(-?[\d.]+)(px|rem|em|pt|%)?$/i.exec(e);if(!r)return null;const o=$[(r[2]||"px").toLowerCase()],i=parseFloat(r[1]);return null==o||Number.isNaN(i)?null:i*o}const D=new Set(["dup","remove","move"]),j=new Set(["html","head","body"]);const F=new Set(["html","head","body","title","meta","link","style","script","base"]);function U(t,e){if(!t||!e||"string"!=typeof e)return null;const n=r(M(t)),{byKey:o}=a(n),i=o.get(e);return!i||F.has(String(i.node.name||"").toLowerCase())?null:{node:i.node,dom:n}}t.exports={createAiDoc:function(t,e){const n=e&&"generated"===e.origin?"generated":"imported",{html:r}=l("string"==typeof t?t:"",{allowRich:"generated"===n}),o=e&&"string"==typeof e.baseHref?e.baseHref.trim():"";return!o||d(o)?{html:r,edits:[],origin:n}:{html:E(r,o),edits:[],origin:n}},appendAiEdits:S,renderAiDoc:M,selectionContext:function(t,e){if(!e||"string"!=typeof e)return null;const{byKey:n}=a(r(M(t))),i=n.get(e);if(!i)return null;const l=i.node,c=s(l)||{};return{key:e,role:c.role,label:h[c.tag]||c.tag||"element",tag:c.tag||"",classes:c.classes||[],text:c.text||"",editable:c.content,html:o([l]).slice(0,2e3)}},demoteAiDoc:function(t){if(!t||"object"!=typeof t||"string"!=typeof t.html)return t;if("imported"===t.origin)return t;const e=r(t.html);return p(e),{...t,html:o(e),origin:"imported"}},flattenAiDoc:function(t){if(!t)return t;if(!t.edits||0===t.edits.length)return t;const e="generated"===t.origin;return{html:c({html:t.html,edits:t.edits},{allowRich:e}).html,edits:[],origin:t.origin||"imported"}},styleDigest:function(t){const e=B(r(M(t))),n=function(t){return[...t].sort((t,e)=>{const n=P(t),r=P(e);return null==n&&null==r?0:null==n?1:null==r?-1:r-n})}(I(e,/font-size\s*:\s*([^;}]+)/gi,6)),o=I(e,/max-width\s*:\s*([^;}]+)/gi,3).filter(t=>{const e=P(t);return null!=e&&e>=600});return{fonts:I(e,/font-family\s*:\s*([^;}]+)/gi,3),sizes:n,colors:R(e,12),radii:I(e,/border-radius\s*:\s*([^;}]+)/gi,3),maxWidth:o[0]||null}},clearAiDocBody:function(t){if(!t)return t;const e=r(M(t)),n=C(e,"body"),o=(n?n.children:e)||[],i=[];for(const t of o){if(!t||"tag"!==t.type)continue;const e=t.attribs&&t.attribs["data-k"];e&&i.push({op:"remove",k:e})}return S(t,i)},sectionsOf:function(t){if(!t)return[];const e=r(M(t)),n=C(e,"body");let o=b(n?n.children:e);for(let t=0;t<8;t+=1){const t=o.filter(x);if(1!==t.length)break;const e=t[0];if(!f.has(g(e)))break;const n=b(e.children);if(0===n.length)break;o=n}return function(t){let e=t;for(let t=0;t<8;t+=1){const t=v(e);if(t===e)break;e=t}return e}(o).map(t=>{const e=g(t),n=y(t);return{key:t.attribs&&t.attribs["data-k"]||"",tag:e,label:_(t)||n.slice(0,60)||h[e]||e,chars:n.length,images:w(t,"img"),links:w(t,"a")}})},contentMap:function(t,e){if(!t||!e)return null;const{byKey:n}=a(r(M(t))),o=n.get(e);if(!o)return null;const i=o.node,s=[],l=[],c=[],d=(t,e)=>{if(!t||"tag"!==t.type)return;const n=g(t);if(m.has(n))return;const r=t.attribs&&t.attribs["data-k"]||"",o=e||function(t){const e=t.attribs||{};if("hidden"in e)return!0;if("true"===String(e["aria-hidden"]||"").toLowerCase())return!0;if(/(^|;)\s*display\s*:\s*none/i.test(String(e.style||"")))return!0;return String(e.class||"").split(/\s+/).some(t=>k.has(t))}(t);if("img"===n)return void(r&&l.length<120&&l.push({k:r,src:String(t.attribs&&t.attribs.src||""),alt:String(t.attribs&&t.attribs.alt||"")}));const i=function(t){return(t&&t.children||[]).filter(t=>t&&"text"===t.type).map(t=>String(t.data||"")).join(" ").replace(/\s+/g," ").trim()}(t);if("a"===n&&r&&c.length<120&&c.push({k:r,href:String(t.attribs&&t.attribs.href||""),text:y(t).slice(0,240)}),i&&r&&"a"!==n&&s.length<120){const t={k:r,tag:n,text:i.slice(0,240)};o&&(t.hidden=!0),s.push(t)}for(const e of t.children||[])d(e,o)};return d(i,!1),{key:e,tag:g(i),text:s,images:l,links:c}},SINGLE_WRAPPER_TAGS:f,patchesFor:function(t,e){if(!t||!e||t===e)return t&&e?[]:null;if(t.html!==e.html||(t.origin||"")!==(e.origin||""))return null;const n=t.edits||[],i=e.edits||[],s=(t,e)=>t===e||JSON.stringify(t)===JSON.stringify(e);let l=0;for(;l<n.length&&l<i.length&&s(n[l],i[l]);)l++;const c=[...n.slice(l),...i.slice(l)];if(0===c.length)return[];const d=M(t),p=M(e),h=a(r(d)).byKey,u=a(r(p)).byKey,f=t=>t&&t.attribs&&t.attribs["data-k"]||null,m=new Set,g=/<style data-k="cdtr-ai-css">[^<]*<\/style>/;let b=null;for(const t of c){if(!t||!t.k)return null;if("css"===t.op){const e=d.match(g),n=p.match(g);if(!e||!n)return null;b={k:t.k,html:n[0]};continue}const e=h.get(t.k)||u.get(t.k);if(!e)continue;let n=e.node;for((D.has(t.op)||"insert"===t.op&&"append"!==t.pos)&&(n=e.parent);n&&(!h.has(f(n))||!u.has(f(n)));)n=n.parent;const r=f(n);if(!r||j.has(String(n.name).toLowerCase()))return null;m.add(r)}const y=(t,e)=>{for(let n=t.get(e).parent;n;n=n.parent)if(m.has(f(n)))return!0;return!1},w=[];let _=0;for(const t of m){const e=y(u,t);if(e!==y(h,t))return null;if(e)continue;const n=o([u.get(t).node]);_+=n.length,w.push({k:t,html:n})}b&&(_+=b.html.length,w.push(b));const x=e.html.length;return x>0&&_>x/2?null:w},imageSwapOps:function(t,e,n){if(!t||!e||"string"!=typeof e)return null;const o=String(n||"").trim();if(!/^https?:\/\//i.test(o)||d(o))return null;const{byKey:s}=a(r(M(t))),l=s.get(e);if(!l)return null;const c=l.node,p=(t,e)=>{const n=t.attribs["data-k"],r=[{op:"attr",k:n,name:"src",value:o}];for(const e of["srcset","sizes","data-src","data-srcset","data-lazy-src"])null!=t.attribs[e]&&r.push({op:"attr",k:n,name:e,value:null});if(e&&"picture"===String(e.name||"").toLowerCase())for(const t of e.children||[])"source"===String(t.name||"").toLowerCase()&&t.attribs&&t.attribs["data-k"]&&r.push({op:"remove",k:t.attribs["data-k"]});return r};if("img"===String(c.name||"").toLowerCase())return p(c,l.parent);const h=u(c.attribs&&c.attribs.style||"");if(/url\(/i.test(String(h["background-image"]||""))||/url\(/i.test(String(h.background||"")))return[{op:"style",k:e,value:{"background-image":`url("${o.replace(/"/g,"%22")}")`}}];const f=[];return i(c.children||[],(t,e)=>{"img"===String(t.name||"").toLowerCase()&&f.push({n:t,p:e||c})}),1===f.length?p(f[0].n,f[0].p):null},removeElementOps:function(t,e){return U(t,e)?[{op:"remove",k:e}]:null},duplicateElementOps:function(t,e){const n=U(t,e);if(!n)return null;const r=new Set;i(n.dom,t=>{const e=t.attribs&&t.attribs["data-k"];e&&r.add(e)});const o=[];i([n.node],t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.push(e)});let a=1;for(;o.some(t=>r.has(`${t}#${a}`));)a++;return[{op:"dup",k:e,as:`#${a}`}]}}},63706(t,e,n){const{parse:r,indexByKey:o,isDangerousUrl:i}=n(85274),{renderAiDoc:a}=n(13929),s={notify:"data-cdtr-notify",lists:"data-cdtr-lists",thanks:"data-cdtr-thanks",redirect:"data-cdtr-redirect",redirectParams:"data-cdtr-redirect-params",webhook:"data-cdtr-webhook"},l=/^[^\s@,<>"']+@[^\s@,<>"']+\.[^\s@,<>"']+$/;function c(t){const e=String(null==t?"":t).trim();return!e||e.length>1024||!/^https?:\/\//i.test(e)||i(e)?"":e}function d(t){const e=t||{},n=t=>{return(Array.isArray(t)?t:(e=t,String(null==e?"":e).split(",").map(t=>t.trim()).filter(Boolean))).map(t=>String(t).trim());var e},r=[...new Set(n(e.notify).filter(t=>l.test(t)))].slice(0,10),o=[...new Set(n(e.lists).filter(t=>/^[\w-]{1,64}$/.test(t)))],i=String(null==e.thanks?"":e.thanks).replace(/\s+/g," ").trim().slice(0,300),a=c(e.redirect);return{notify:r,lists:o,thanks:i,redirect:a,redirectParams:!!a&&(!0===e.redirectParams||"true"===e.redirectParams),webhook:c(e.webhook)}}function p(t){const e=t||{};return d({notify:e[s.notify],lists:e[s.lists],thanks:e[s.thanks],redirect:e[s.redirect],redirectParams:e[s.redirectParams],webhook:e[s.webhook]})}t.exports={FORM_ATTRS:s,normalizeFormSettings:d,formSettingsFromAttribs:p,formOf:function(t,e){if(!t||!e||"string"!=typeof e)return null;const{byKey:n}=o(r(a(t))),i=n.get(e);if(!i)return null;const s=t=>t&&"tag"===t.type&&"form"===String(t.name||"").toLowerCase(),l=t=>t.attribs&&t.attribs["data-k"]?{key:t.attribs["data-k"],settings:p(t.attribs)}:null;for(let t=i.node;t;t=t.parent)if(s(t))return l(t);const c=[],d=t=>{for(const e of t.children||[])s(e)?c.push(e):d(e)};return d(i.node),1===c.length?l(c[0]):null},formSettingsOps:function(t,e){if(!t||"string"!=typeof t)return[];const n=d(e),r={notify:n.notify.join(",")||null,lists:n.lists.join(",")||null,thanks:n.thanks||null,redirect:n.redirect||null,redirectParams:n.redirectParams?"true":null,webhook:n.webhook||null};return Object.keys(s).map(e=>({op:"attr",k:t,name:s[e],value:r[e]}))},formAutomations:function(t){const e=d(t),n={};return e.lists.length&&(n.add={to:{mailingLists:e.lists.map(t=>({key:t}))}}),e.notify.length&&(n.sendMail={to:e.notify,html:"",text:"",subject:"",from:""}),e.redirect&&(n.redirect={url:e.redirect,forward_params:e.redirectParams}),e.webhook&&(n.sendParams={method:"post",url:e.webhook,type:"http"}),Object.keys(n).length?{when:{submitted:{then:n}}}:null}}},82207(t,e,n){const{TAG_LABELS:r}=n(85274),o=Object.freeze({selected:"cdtr-kit-selected",cleared:"cdtr-kit-cleared",ready:"cdtr-kit-ready",patch:"cdtr-kit-patch",patchFailed:"cdtr-kit-patch-failed",busy:"cdtr-kit-busy",focus:"cdtr-kit-focus",imageAction:"cdtr-kit-image-action",elementAction:"cdtr-kit-element-action",scrolled:"cdtr-kit-scrolled",scrollTo:"cdtr-kit-scroll-to",history:"cdtr-kit-history"}),i=Object.freeze(["replace","crop"]),a=Object.freeze(["remove"]);function s(t){return JSON.stringify(String(null==t?"":t)).replace(/<\//g,"<\\/")}t.exports={FRAME_MESSAGE_TYPES:o,IMAGE_ACTIONS:i,ELEMENT_ACTIONS:a,frameInspectorScript:function(){let{accent:t="#6366f1",origin:e,labels:n={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e||"string"!=typeof e)throw new Error("frameInspectorScript: an explicit parent origin is required");return`\n(function() {\n if (window.__cdtrInspectorActive) return;\n window.__cdtrInspectorActive = true;\n\n var ACCENT = ${s(t)};\n var ORIGIN = ${s(e)};\n var TYPES = ${s(JSON.stringify(o))};\n var NAMES = ${s(JSON.stringify(r))};\n var ELEMENT_ACTION_NAMES = JSON.parse(${s(JSON.stringify(a))});\n var REPLACE_LABEL = ${s(n.replace||"Replace image")};\n var CROP_LABEL = ${s(n.crop||"Crop")};\n var REMOVE_LABEL = ${s(n.remove||"Delete")};\n TYPES = JSON.parse(TYPES);\n NAMES = JSON.parse(NAMES);\n\n var Z = 2147483000;\n function box(extra) {\n var el = document.createElement('div');\n el.style.cssText = 'position:fixed;pointer-events:none;z-index:' + Z + ';display:none;border-radius:3px;' + extra;\n document.body.appendChild(el);\n return el;\n }\n function chip(extra) {\n var el = document.createElement('div');\n el.style.cssText = 'position:fixed;pointer-events:none;z-index:' + (Z + 1) + ';display:none;' +\n 'font:500 11px/1.5 system-ui,sans-serif;color:#fff;padding:2px 7px;border-radius:4px;' +\n 'white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.18);' + extra;\n document.body.appendChild(el);\n return el;\n }\n\n var hoverBox = box('border:1.5px solid ' + ACCENT + '88;background:' + ACCENT + '14;');\n var hoverChip = chip('background:' + ACCENT + 'cc;');\n var lockBox = box('border:2px solid ' + ACCENT + ';box-shadow:0 0 0 3px ' + ACCENT + '33;');\n var lockChip = chip('background:' + ACCENT + ';font-weight:600;');\n var MINE = [hoverBox, hoverChip, lockBox, lockChip];\n\n // ── The element toolbar ──────────────────────────────────────────────\n // Delete on any locked element, so removing a block never needs an AI\n // turn. No duplicate: without a way to move the copy it can only land\n // beside the original, so copying stays with the AI for now. A locked photo also gets replace (the gallery) and crop:\n // an <img> or an element painting a background-image url, the two shapes\n // kit-core's imageSwapOps can rewrite. Built from DOM calls, never markup\n // strings, and the labels come in through jsLiteral.\n var SVGNS0 = 'http://www.w3.org/2000/svg';\n function icon(paths) {\n var svg = document.createElementNS(SVGNS0, 'svg');\n svg.setAttribute('viewBox', '0 0 24 24');\n svg.setAttribute('width', '15');\n svg.setAttribute('height', '15');\n svg.setAttribute('fill', 'none');\n svg.setAttribute('stroke', 'currentColor');\n svg.setAttribute('stroke-width', '2');\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n for (var i = 0; i < paths.length; i++) {\n var p = document.createElementNS(SVGNS0, 'path');\n p.setAttribute('d', paths[i]);\n svg.appendChild(p);\n }\n return svg;\n }\n var tools = document.createElement('div');\n tools.style.cssText = 'position:fixed;z-index:' + (Z + 1) + ';display:none;align-items:center;gap:2px;padding:2px;' +\n 'direction:ltr;background:#18181b;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.28);';\n function toolButton(action, label, paths, hoverColor) {\n var hover = hoverColor || ACCENT;\n var b = document.createElement('button');\n b.type = 'button';\n b.setAttribute('data-action', action);\n b.setAttribute('title', label);\n b.setAttribute('aria-label', label);\n b.style.cssText = 'all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;' +\n 'width:28px;height:28px;border-radius:6px;color:#e4e4e7;cursor:pointer;transition:background .12s,color .12s;';\n b.addEventListener('mouseenter', function() { b.style.background = hover; b.style.color = '#fff'; });\n b.addEventListener('mouseleave', function() { b.style.background = 'transparent'; b.style.color = '#e4e4e7'; });\n b.appendChild(icon(paths));\n tools.appendChild(b);\n return b;\n }\n // A picture with a swap arrow, and the two crop marks.\n var photoButtons = [];\n photoButtons.push(toolButton('replace', REPLACE_LABEL, [\n 'M21 12V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7',\n 'M3 16l5-5 4 4',\n 'M16 19h6', 'M19 16l3 3-3 3',\n 'M15.5 8.5a1.5 1.5 0 1 0 0-.01',\n ]));\n photoButtons.push(toolButton('crop', CROP_LABEL, ['M6 2v14a2 2 0 0 0 2 2h14', 'M18 22V8a2 2 0 0 0-2-2H2']));\n // A thin rule between the photo pair and the element pair.\n var toolRule = document.createElement('span');\n toolRule.style.cssText = 'width:1px;height:16px;margin:0 3px;background:rgba(255,255,255,.18);';\n tools.appendChild(toolRule);\n photoButtons.push(toolRule);\n // A bin.\n toolButton('remove', REMOVE_LABEL, [\n 'M3 6h18', 'M8 6V4h8v2', 'M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6', 'M10 11v6', 'M14 11v6',\n ], '#dc2626');\n document.body.appendChild(tools);\n MINE.push(tools);\n\n function showsPhoto(el) {\n if (!el) return false;\n if (el.tagName === 'IMG') return true;\n var bg = '';\n try { bg = getComputedStyle(el).backgroundImage || ''; } catch (err) { bg = ''; }\n return bg.toLowerCase().indexOf('url(') !== -1;\n }\n function placeTools(el) {\n if (!el || busy) { tools.style.display = 'none'; return; }\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) { tools.style.display = 'none'; return; }\n // The photo pair only where a swap can land, and only on a photo big\n // enough to hold the bar inside it.\n var photo = showsPhoto(el) && r.width >= 48 && r.height >= 36;\n for (var i = 0; i < photoButtons.length; i++) photoButtons[i].style.display = photo ? '' : 'none';\n tools.style.display = 'flex';\n // Above the element's right end, on the same line as the label chip\n // (which place() always puts at the left end, in RTL pages too), so it\n // never covers what is being picked, a photo included. Inside only with\n // no room above.\n var w = tools.offsetWidth || 70;\n var h = tools.offsetHeight || 36;\n var above = r.top - h - 3;\n var top = above < 4 ? Math.max(4, r.top + 6) : above;\n var left = r.right - w;\n tools.style.top = top + 'px';\n tools.style.left = Math.max(4, left) + 'px';\n }\n function hideTools() { tools.style.display = 'none'; }\n\n var lockedKey = null;\n var lockEl = null;\n var hoverEl = null;\n\n /** The nearest ancestor carrying a key. An unkeyed node has no address, so it is not selectable. */\n function keyedFrom(el) {\n while (el && el !== document.body) {\n if (MINE.indexOf(el) !== -1) return null;\n if (el.getAttribute && el.getAttribute('data-k')) return el;\n el = el.parentElement;\n }\n return null;\n }\n\n function labelFor(el) {\n var tag = el.tagName.toLowerCase();\n return NAMES[tag] || tag;\n }\n\n function place(boxEl, chipEl, el) {\n var r = el.getBoundingClientRect();\n // Called every frame while tracking: skip the writes when nothing moved.\n var sig = r.top + ',' + r.left + ',' + r.width + ',' + r.height;\n if (boxEl.__sig === sig && boxEl.style.display === 'block') return;\n boxEl.__sig = sig;\n boxEl.style.display = 'block';\n boxEl.style.top = r.top + 'px';\n boxEl.style.left = r.left + 'px';\n boxEl.style.width = r.width + 'px';\n boxEl.style.height = r.height + 'px';\n chipEl.textContent = labelFor(el);\n chipEl.style.display = 'block';\n chipEl.style.top = Math.max(0, r.top - 20) + 'px';\n chipEl.style.left = r.left + 'px';\n }\n\n function hide(boxEl, chipEl) {\n boxEl.__sig = null;\n boxEl.style.display = 'none';\n chipEl.style.display = 'none';\n }\n\n function post(type, key) {\n window.parent.postMessage({ type: type, key: key || null }, ORIGIN);\n }\n\n function relock() {\n if (!lockedKey) { lockEl = null; hide(lockBox, lockChip); hideTools(); return; }\n // A patch replaces the node, so re-find it by key once it is detached.\n if (!lockEl || !lockEl.isConnected) lockEl = byKey(lockedKey);\n if (lockEl) { place(lockBox, lockChip, lockEl); placeTools(lockEl); }\n else { hide(lockBox, lockChip); hideTools(); }\n }\n\n // Elements move without any event the inspector hears: animations,\n // carousels, images loading and shifting the layout, sticky headers,\n // reveal-on-scroll. Re-place the boxes every frame, but only while one is\n // showing, so an idle page costs nothing.\n var raf = 0;\n function track() {\n raf = 0;\n relock();\n if (hoverEl && hoverEl.isConnected) place(hoverBox, hoverChip, hoverEl);\n else { hoverEl = null; hide(hoverBox, hoverChip); }\n if (lockedKey || hoverEl) raf = requestAnimationFrame(track);\n }\n function startTracking() {\n if (!raf) raf = requestAnimationFrame(track);\n }\n\n document.addEventListener('mouseover', function(e) {\n if (busy) return;\n hoverEl = keyedFrom(e.target);\n if (hoverEl) { place(hoverBox, hoverChip, hoverEl); startTracking(); }\n else hide(hoverBox, hoverChip);\n }, true);\n\n document.addEventListener('mouseout', function() { hoverEl = null; hide(hoverBox, hoverChip); }, true);\n\n document.addEventListener('click', function(e) {\n // The photo toolbar first: keyedFrom ignores it, so its clicks would\n // otherwise read as a click on nothing and drop the selection.\n if (tools.contains(e.target)) {\n e.preventDefault();\n e.stopPropagation();\n if (busy || !lockedKey) return;\n var btn = e.target.closest ? e.target.closest('[data-action]') : null;\n var action = btn && btn.getAttribute('data-action');\n if (!action) return;\n var type = ELEMENT_ACTION_NAMES.indexOf(action) !== -1 ? TYPES.elementAction : TYPES.imageAction;\n window.parent.postMessage({ type: type, key: lockedKey, action: action }, ORIGIN);\n return;\n }\n var el = keyedFrom(e.target);\n e.preventDefault();\n e.stopPropagation();\n if (busy) return;\n if (!el) { lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null); return; }\n var k = el.getAttribute('data-k');\n if (k === lockedKey) { lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null); return; }\n lockedKey = k;\n lockEl = el;\n place(lockBox, lockChip, el);\n placeTools(el);\n startTracking();\n post(TYPES.selected, k);\n }, true);\n\n // Delete or Backspace removes the locked element, as in any design tool.\n // Never while the AI works, and never from a field the page itself owns\n // (a form input in the page takes the key as typing).\n document.addEventListener('keydown', function(e) {\n if (e.key !== 'Delete' && e.key !== 'Backspace') return;\n if (busy || !lockedKey) return;\n var t = e.target;\n var tag = t && t.tagName ? t.tagName.toLowerCase() : '';\n if (tag === 'input' || tag === 'textarea' || tag === 'select' || (t && t.isContentEditable)) return;\n e.preventDefault();\n window.parent.postMessage({ type: TYPES.elementAction, key: lockedKey, action: 'remove' }, ORIGIN);\n }, true);\n\n // Undo and redo belong to the editor; the page has no history of its own.\n // A field in the page keeps its typing undo.\n document.addEventListener('keydown', function(e) {\n if (!(e.ctrlKey || e.metaKey)) return;\n var key = (e.key || '').toLowerCase();\n if (key !== 'z' && key !== 'y') return;\n var t = e.target;\n var tag = t && t.tagName ? t.tagName.toLowerCase() : '';\n if (tag === 'input' || tag === 'textarea' || tag === 'select' || (t && t.isContentEditable)) return;\n e.preventDefault();\n window.parent.postMessage({ type: TYPES.history, action: key === 'y' || e.shiftKey ? 'redo' : 'undo' }, ORIGIN);\n }, true);\n\n function dropLock() {\n lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null);\n }\n\n\n // ── The AI is working ────────────────────────────────────────────────\n // A veil dims the page and a slow light sweeps it; the elements the AI is\n // reading or changing are cut out of the veil and outlined, so the user\n // sees where it is looking. While it is on the page takes no clicks: a\n // selection made mid-turn would not be the one the AI was sent.\n var busy = false;\n var focusKeys = [];\n var focusEls = {};\n var focusMode = 'read';\n var focusLabel = '';\n var css = document.createElement('style');\n css.textContent =\n '@keyframes cdtrAiSweep{0%{transform:translateY(-40vh)}100%{transform:translateY(140vh)}}' +\n '@keyframes cdtrAiPulse{0%,100%{box-shadow:0 0 0 2px ' + ACCENT + ',0 0 18px 2px ' + ACCENT + '66}50%{box-shadow:0 0 0 2px ' + ACCENT + ',0 0 34px 8px ' + ACCENT + 'aa}}' +\n '@keyframes cdtrAiShimmer{0%{background-position:-150% 0}100%{background-position:250% 0}}' +\n '@keyframes cdtrAiFlash{0%{opacity:1}100%{opacity:0}}' +\n '@media (prefers-reduced-motion:reduce){[data-cdtr-ai]{animation:none!important}}';\n document.head ? document.head.appendChild(css) : document.body.appendChild(css);\n\n var SVGNS = 'http://www.w3.org/2000/svg';\n var veil = document.createElementNS(SVGNS, 'svg');\n veil.setAttribute('data-cdtr-ai', '');\n veil.style.cssText = 'position:fixed;inset:0;width:100vw;height:100vh;z-index:' + (Z - 2) + ';opacity:0;transition:opacity .45s ease;pointer-events:none;';\n var veilPath = document.createElementNS(SVGNS, 'path');\n veilPath.setAttribute('fill-rule', 'evenodd');\n veilPath.setAttribute('fill', 'rgba(20,14,40,.38)');\n veil.appendChild(veilPath);\n document.body.appendChild(veil);\n\n var sweep = document.createElement('div');\n sweep.setAttribute('data-cdtr-ai', '');\n sweep.style.cssText = 'position:fixed;left:0;right:0;top:0;height:28vh;z-index:' + (Z - 1) + ';pointer-events:none;display:none;' +\n 'background:linear-gradient(180deg,transparent,' + ACCENT + '22 45%,rgba(255,255,255,.28) 50%,' + ACCENT + '22 55%,transparent);' +\n 'animation:cdtrAiSweep 2.6s cubic-bezier(.45,0,.55,1) infinite;';\n document.body.appendChild(sweep);\n\n // Swallows clicks and hovers while busy. Wheel still scrolls the page.\n var shield = document.createElement('div');\n shield.style.cssText = 'position:fixed;inset:0;z-index:' + (Z + 2) + ';display:none;cursor:progress;background:transparent;';\n document.body.appendChild(shield);\n\n var focusBoxes = [];\n function focusBox(i) {\n if (focusBoxes[i]) return focusBoxes[i];\n var b = box('border-radius:6px;' +\n 'background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);background-size:200% 100%;');\n b.setAttribute('data-cdtr-ai', '');\n focusBoxes[i] = b;\n return b;\n }\n var focusChip = chip('background:' + ACCENT + ';font-weight:600;');\n MINE.push(veil, sweep, shield, focusChip);\n\n function setFocusStyle(b) {\n b.style.animation = focusMode === 'edit'\n ? 'cdtrAiPulse 1.1s ease-in-out infinite, cdtrAiShimmer 1.4s linear infinite'\n : 'cdtrAiPulse 2.2s ease-in-out infinite';\n if (focusMode !== 'edit') b.style.backgroundImage = 'none';\n else b.style.backgroundImage = 'linear-gradient(100deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%)';\n }\n\n var busyRaf = 0;\n function drawBusy() {\n busyRaf = 0;\n if (!busy) return;\n var W = window.innerWidth, H = window.innerHeight;\n var d = 'M0 0H' + W + 'V' + H + 'H0Z';\n var shown = 0;\n for (var i = 0; i < focusKeys.length; i++) {\n var el = focusEls[focusKeys[i]];\n if (!el || !el.isConnected) el = focusEls[focusKeys[i]] = byKey(focusKeys[i]);\n if (!el) continue;\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) continue;\n var pad = 4;\n var x = r.left - pad, y = r.top - pad, w = r.width + pad * 2, h = r.height + pad * 2;\n d += 'M' + x + ' ' + y + 'V' + (y + h) + 'H' + (x + w) + 'V' + y + 'Z';\n var b = focusBox(shown);\n b.style.display = 'block';\n b.style.top = y + 'px'; b.style.left = x + 'px'; b.style.width = w + 'px'; b.style.height = h + 'px';\n if (shown === 0 && focusLabel) {\n focusChip.textContent = focusLabel;\n focusChip.style.display = 'block';\n focusChip.style.top = Math.max(0, y - 22) + 'px';\n focusChip.style.left = x + 'px';\n }\n shown++;\n }\n for (var j = shown; j < focusBoxes.length; j++) focusBoxes[j].style.display = 'none';\n if (shown === 0) focusChip.style.display = 'none';\n veilPath.setAttribute('d', d);\n // Focused: a firm dim around the spotlight. Thinking with no target yet:\n // a lighter veil and the sweeping light, so it reads as scanning.\n veil.style.opacity = shown > 0 ? '1' : '.45';\n sweep.style.display = shown > 0 ? 'none' : 'block';\n busyRaf = requestAnimationFrame(drawBusy);\n }\n\n function setBusy(on) {\n busy = !!on;\n shield.style.display = busy ? 'block' : 'none';\n if (busy) {\n hoverEl = null; hide(hoverBox, hoverChip); hideTools();\n if (!busyRaf) busyRaf = requestAnimationFrame(drawBusy);\n return;\n }\n focusKeys = [];\n focusEls = {};\n veil.style.opacity = '0';\n sweep.style.display = 'none';\n focusChip.style.display = 'none';\n for (var i = 0; i < focusBoxes.length; i++) focusBoxes[i].style.display = 'none';\n }\n\n function setFocus(keys, mode, label) {\n focusKeys = Array.isArray(keys) ? keys.map(String).slice(0, 12) : [];\n focusEls = {};\n focusMode = mode === 'edit' ? 'edit' : 'read';\n focusLabel = typeof label === 'string' ? label.slice(0, 60) : '';\n for (var i = 0; i < focusBoxes.length; i++) setFocusStyle(focusBoxes[i]);\n for (var k = focusBoxes.length; k < focusKeys.length; k++) setFocusStyle(focusBox(k));\n // Scroll the first one into view when it is off screen, gently.\n var first = focusKeys.length ? byKey(focusKeys[0]) : null;\n if (first && busy) {\n var r = first.getBoundingClientRect();\n if (r.bottom < 0 || r.top > window.innerHeight) first.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n }\n\n // What just changed glows once and fades, so an edit is seen landing.\n function flash(el) {\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) return;\n var f = box('border-radius:6px;background:' + ACCENT + '33;box-shadow:0 0 0 2px ' + ACCENT + ',0 0 30px 6px ' + ACCENT + '88;' +\n 'animation:cdtrAiFlash 1.1s ease-out forwards;');\n f.setAttribute('data-cdtr-ai', '');\n f.style.display = 'block';\n f.style.top = r.top + 'px'; f.style.left = r.left + 'px'; f.style.width = r.width + 'px'; f.style.height = r.height + 'px';\n setTimeout(function() { f.remove(); }, 1200);\n }\n\n window.addEventListener('scroll', relock, true);\n var scrollPosted = 0;\n window.addEventListener('scroll', function() {\n if (scrollPosted) return;\n scrollPosted = setTimeout(function() {\n scrollPosted = 0;\n window.parent.postMessage({ type: TYPES.scrolled, key: null, y: window.scrollY }, ORIGIN);\n }, 150);\n });\n window.addEventListener('resize', relock);\n\n // Edits arrive as patches: the changed elements' new outer HTML, by key.\n // Swapping them keeps the scroll position, the loaded fonts and images and\n // the lock, which a new srcdoc (a navigation) threw away on every edit.\n //\n // Only from the parent window. The page's own script (a generated page\n // runs some in preview, never here, but defence costs one comparison) must\n // not be able to rewrite what the editor shows. Markup parsed through a\n // <template> is inert: a script inside a patch does not run.\n // Compared, not built into a selector: a key is data, and quoting it into\n // CSS is one escaping bug away from a selector that throws.\n function byKey(k) {\n var all = document.querySelectorAll('[data-k]');\n for (var j = 0; j < all.length; j++) if (all[j].getAttribute('data-k') === k) return all[j];\n return null;\n }\n\n window.addEventListener('message', function(e) {\n if (e.source !== window.parent) return;\n var data = e.data || {};\n if (data.type === TYPES.busy) { setBusy(data.on); return; }\n if (data.type === TYPES.focus) { setFocus(data.keys, data.mode, data.label); return; }\n if (data.type === TYPES.scrollTo) {\n var y = Number(data.y) || 0;\n window.scrollTo(0, y);\n // Images still loading can leave the page too short to reach y yet.\n if (document.readyState !== 'complete') window.addEventListener('load', function() { window.scrollTo(0, y); }, { once: true });\n return;\n }\n if (data.type !== TYPES.patch || !Array.isArray(data.patches)) return;\n var missing = [];\n for (var i = 0; i < data.patches.length; i++) {\n var p = data.patches[i] || {};\n var el = byKey(String(p.k));\n if (!el) { missing.push(p.k); continue; }\n if (p.html == null) { el.remove(); continue; }\n var t = document.createElement('template');\n t.innerHTML = p.html;\n var fresh = t.content.firstElementChild;\n el.replaceWith(t.content);\n if (busy && fresh && fresh.isConnected) flash(fresh);\n }\n hoverEl = null;\n hide(hoverBox, hoverChip);\n // The locked element was deleted: let go of it, here and in the parent,\n // or the panels keep editing a node that is no longer on the page.\n if (lockedKey && !byKey(lockedKey)) dropLock();\n relock();\n if (missing.length) {\n window.parent.postMessage({ type: TYPES.patchFailed, key: null, missing: missing }, ORIGIN);\n }\n });\n\n post(TYPES.ready, null);\n})();\n`},injectInspector:function(t,e){const n=`<script>${e}<\/script>`,r=String(t).lastIndexOf("</body>");return-1===r?String(t)+n:String(t).slice(0,r)+n+String(t).slice(r)}}},85274(t,e,n){const{parseDOM:r,DomUtils:o}=n(15482),i=n(5193),{decodeHTML:a}=n(72305),s=i.default||i,l=/^on/i,c=["href","src","action","formaction","xlink:href"],d=/^\s*(javascript|data:text\/html|vbscript)/i,p=new Set(["script","iframe","object","embed","link","meta","base"]);function h(t){const e=String(null==t?"":t),n=a(e).replace(/[\x00-\x20\x7f]+/g,"");return d.test(n)}const u=new Set(["h1","h2","h3","h4","h5","h6","p","span","a","li","blockquote","figcaption","label","strong","em","small","button","td","th","div"]),f=t=>t&&"tag"===t.type,m=t=>(t.children||[]).filter(f);function g(t){return r(String(null==t?"":t),{lowerCaseTags:!1})}function b(t){return s(t,{decodeEntities:!1})}const y=t=>t&&("tag"===t.type||"script"===t.type||"style"===t.type);function w(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(const r of t||[])y(r)&&(e(r,n),w(r.children||[],e,r))}function _(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(const r of t||[])f(r)&&(e(r,n),_(r.children||[],e,r))}const x=["www.youtube-nocookie.com","www.youtube.com","youtube.com","player.vimeo.com","fast.wistia.net"];function A(t,e){const n=!(!e||!e.allowRich),r=[],i=[];w(t,t=>{const e=String(t.name||"").toLowerCase();if(p.has(e)&&"link"!==e&&"meta"!==e&&"base"!==e){if(!(n&&("script"===e||"iframe"===e&&function(t){try{const e=new URL(String(t));return"https:"===e.protocol&&x.includes(e.host)}catch(t){return!1}}(t.attribs&&t.attribs.src))))return i.push(t),void r.push(e);if("iframe"===e)for(const e of["srcdoc","sandbox","allow"])t.attribs&&e in t.attribs&&(delete t.attribs[e],r.push(e))}for(const e of Object.keys(t.attribs||{}))l.test(e)?(delete t.attribs[e],r.push(e)):c.includes(e.toLowerCase())&&h(t.attribs[e])&&(delete t.attribs[e],r.push(e+" (unsafe url)"))});for(const e of i){const n=Array.isArray(t)?t.indexOf(e):-1;-1!==n&&t.splice(n,1),o.removeElement(e)}return r}function v(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"k",n=0;return _(t,t=>{t.attribs=t.attribs||{},t.attribs["data-k"]||(t.attribs["data-k"]=e+n.toString(36)),n++}),n}function k(t,e){const n=String(t.attribs&&t.attribs.class||"").trim().split(/\s+/).filter(Boolean).sort().join("."),r=(e?m(e):[]).filter(e=>e.name===t.name&&String(e.attribs&&e.attribs.class||"").trim()===String(t.attribs&&t.attribs.class||"").trim());return[t.name,n,Math.max(0,r.indexOf(t))].join("|")}function C(t){const e=new Map,n=new Map;return _(t,(t,r)=>{const o=t.attribs&&t.attribs["data-k"];o&&e.set(o,{node:t,parent:r});const i=k(t,r);n.has(i)||n.set(i,{node:t,parent:r})}),{byKey:e,byPrint:n}}function E(t){const e={};let n=0,r="";const o=()=>{const t=r.indexOf(":");t>0&&(e[r.slice(0,t).trim()]=r.slice(t+1).trim()),r=""};for(const e of String(t||""))"("===e&&n++,")"===e&&n--,";"===e&&0===n?o():r+=e;return o(),e}function S(t){const e=String(t);return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function M(t){const e={};for(const[n,r]of Object.entries(t||{}))e[S(n)]=r;return e}function T(t){return Object.entries(M(t)).filter(t=>{let[,e]=t;return""!==e&&null!=e}).map(t=>{let[e,n]=t;return`${e}:${n}`}).join(";")}function L(t,e){const n=JSON.parse(JSON.stringify(B(t))),r=(t,n)=>{t.parent=n||null,t.prev=t.next=null,t.attribs&&t.attribs["data-k"]&&(t.attribs["data-k"]=t.attribs["data-k"]+e),(t.children||[]).forEach(e=>r(e,t));for(let e=0;e<(t.children||[]).length;e++)t.children[e].prev=t.children[e-1]||null,t.children[e].next=t.children[e+1]||null};return r(n,null),n}function B(t){const e={...t,parent:void 0,prev:void 0,next:void 0};return e.children=(t.children||[]).map(B),e}const I=["text","attr","style","class","dup","remove","move","insert","replace","css"];function O(t,e){for(let n=0;n<t.length;n++)t[n].parent=e,t[n].prev=t[n-1]||null,t[n].next=t[n+1]||null}function N(t){let e=-1;const n=t=>{Number.isFinite(t)&&(e=Math.max(e,t))};return w(t,t=>{const e=t.attribs;if(e){const t=e["data-k"];if(t){const e=/^g(\d+)-/.exec(String(t));e&&n(parseInt(e[1],10))}const r=e.class;if(r)for(const t of String(r).matchAll(/cdtr-g(\d+)-/g))n(parseInt(t[1],10))}if("style"===String(t.name||"").toLowerCase()){const e=(t.children||[]).map(t=>t.data||"").join("");for(const t of e.matchAll(/cdtr-g(\d+)-/g))n(parseInt(t[1],10))}}),`g${e+1}-`}function H(t,e){const n=`cdtr-${String(e)}`.replace(/[^a-zA-Z0-9_-]/g,"-");for(const e of t){if(!f(e))continue;e.attribs=e.attribs||{};const t=String(e.attribs.class||"").split(/\s+/).filter(Boolean);t.includes(n)||t.push(n),e.attribs.class=t.join(" ")}const r=[];w(t,t=>{"style"===String(t.name||"").toLowerCase()&&r.push(t)});for(const t of r){const e=X((t.children||[]).map(t=>t.data||"").join(""),`.${n}`,{container:!1,self:!0});t.children=[{type:"text",data:e,parent:t,prev:null,next:null}]}}const z="cdtr-ai-css";function R(t,e){const n=String(null==e.css?"":e.css).replace(/</g,"\\3C ");if(!n.trim())return;let r=null;if(w(t,t=>{!r&&t.attribs&&t.attribs["data-k"]===z&&(r=t)}),r){const t=(r.children||[]).map(t=>t.data||"").join("");return void(r.children=[{type:"text",data:`${t}\n${n}`,parent:r,prev:null,next:null}])}let o=null;_(t,t=>{o||"body"!==String(t.name||"").toLowerCase()||(o=t)});const i=o?o.children||(o.children=[]):t,a={type:"style",name:"style",attribs:{"data-k":z},children:[],parent:o,prev:null,next:null};a.children=[{type:"text",data:n,parent:a,prev:null,next:null}],i.push(a),O(i,o)}const $=new Set(["append","prepend","before","after"]);function P(t,e,n){const r=[];let o=null,i=null;const a=()=>o||(o=function(t){const e=new Map;return _(t,(t,n)=>{const r=t.attribs&&t.attribs["data-k"];r&&e.set(r,{node:t,parent:n})}),e}(t));for(const s of e||[]){if("css"===s.op){R(t,s),o=null,i=null;continue}let e=s.k?a().get(s.k):null;if(!e&&s.fp&&(i||(i=C(t).byPrint),e=i.get(s.fp)),!e){r.push(`dropped ${s.op} for missing ${s.k||s.fp}`);continue}const{node:l,parent:d}=e,p=l.attribs=l.attribs||{};switch(s.op){case"text":{const t=g(s.value);A(t,n),t.forEach(t=>{t.parent=l});for(let e=0;e<t.length;e++)t[e].prev=t[e-1]||null,t[e].next=t[e+1]||null;o&&(_(l.children||[],t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.get(e)&&o.get(e).node===t&&o.delete(e)},l),_(t,(t,e)=>{const n=t.attribs&&t.attribs["data-k"];n&&o.set(n,{node:t,parent:e})},l)),l.children=t,i=null;break}case"attr":c.includes(String(s.name).toLowerCase())&&h(s.value)?r.push(`refused unsafe ${s.name}`):null==s.value?delete p[s.name]:p[s.name]=String(s.value);break;case"style":p.style=T({...E(p.style),...M(s.value)});break;case"class":{const t=new Set(String(p.class||"").split(/\s+/).filter(Boolean));(s.remove||[]).forEach(e=>t.delete(e)),(s.add||[]).forEach(e=>t.add(e)),p.class=[...t].join(" "),p.class||delete p.class;break}case"dup":{const e=L(l,s.as||"#1"),n=d?d.children:t;n.splice(n.indexOf(l)+1,0,e),e.parent=d||null;break}case"remove":{const e=d?d.children:t,n=Array.isArray(e)?e.indexOf(l):-1;-1!==n&&e.splice(n,1),l.prev&&(l.prev.next=l.next),l.next&&(l.next.prev=l.prev),l.prev=l.next=null,l.parent=null;break}case"move":{const e=d?d.children:t,n=e.indexOf(l),r=Math.max(0,Math.min(e.length-1,n+(s.dir||0)));n!==r&&(e.splice(n,1),e.splice(r,0,l));break}case"insert":{const e=g(String(null==s.html?"":s.html));if(A(e,n),0===e.length){r.push(`insert for ${s.k||s.fp} had no usable markup`);break}const o=new Set;_(t,t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.add(e)}),_(e,t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.has(e)&&delete t.attribs["data-k"]}),e.some(t=>f(t))||r.push(`insert for ${s.k||s.fp} has no element, so its css cannot apply`);const i=N(t);v(e,i),H(e,i);const a=s.pos||"append";if($.has(a)||r.push(`insert for ${s.k||s.fp} had unknown pos "${s.pos}", placed after`),"append"===a||"prepend"===a){const t=l.children||(l.children=[]);e.forEach(t=>{t.parent=l}),"append"===a?t.push(...e):t.unshift(...e),O(t,l)}else{const n=d?d.children:t,r=n.indexOf(l)+("before"===a?0:1);e.forEach(t=>{t.parent=d||null}),n.splice(r,0,...e),O(n,d||null)}break}case"replace":{const e=g(String(null==s.html?"":s.html));A(e,n);const o=e.filter(t=>f(t));if(1!==o.length){r.push(`replace for ${s.k} needs exactly one root element, got ${o.length}`);break}const i=o[0],a=new Set;_([l],t=>{const e=t.attribs&&t.attribs["data-k"];e&&a.add(e)});const c=new Set;_(t,t=>{const e=t.attribs&&t.attribs["data-k"];e&&!a.has(e)&&c.add(e)}),_([i],t=>{const e=t.attribs&&t.attribs["data-k"];e&&(c.has(e)||e===s.k)&&delete t.attribs["data-k"]}),i.attribs=i.attribs||{},i.attribs["data-k"]=s.k,v([i],N(t));const p=d?d.children:t,h=p.indexOf(l);if(-1===h)break;i.parent=d||null,p.splice(h,1,i),O(p,d||null),l.parent=l.prev=l.next=null;break}default:r.push(`unknown op ${s.op}`)}D.has(s.op)||"attr"===s.op&&"data-k"===s.name?(o=null,i=null):"class"===s.op&&(i=null)}return r}const D=new Set(["dup","remove","move","insert","replace","css"]);function j(t){if(!f(t))return null;const e=String(t.name||"").toLowerCase(),n=String((t.attribs||{}).class||"").toLowerCase();return"img"===e||"picture"===e||"figure"===e?"image":"svg"===e||"i"===e?"icon":"button"===e||"a"===e&&/\b(btn|button|cta)\b/.test(n)?"button":"a"===e?"link":/^h[1-6]$/.test(e)?"heading":"ul"===e||"ol"===e?"list":"li"===e?"listItem":"section"===e||"header"===e||"footer"===e||"main"===e?"section":"p"===e||"span"===e||"strong"===e||"em"===e||"small"===e||"blockquote"===e||"label"===e||"figcaption"===e?"text":m(t).length>0?"group":"text"}function F(t){if(!t)return"";const e=String(t),n=/(^|[^A-Za-z0-9_-])(\d*\.?\d+)(vw|dvw|svw|lvw)\b/g,r=t=>t.replace(n,(t,e,n)=>`${e}${n}cqw`);let o="",i="",a=0;for(;a<e.length;){const t=e[a];let n=-1;if('"'===t||"'"===t)n=U(e,a);else if(("u"===t||"U"===t)&&/^url\(/i.test(e.slice(a,a+4))){const t=e.indexOf(")",a);n=-1===t?e.length:t+1}-1!==n?(o+=r(i)+e.slice(a,n),i="",a=n):(i+=t,a++)}return o+r(i)}function U(t,e){const n=t[e];let r=e+1;for(;r<t.length;)if("\\"!==t[r]){if(t[r]===n)return r+1;r++}else r+=2;return t.length}t.exports={normalizeIncomingOps:function(t){const e=[],n=[];if(!Array.isArray(t))return{ops:e,dropped:n};for(const r of t)r&&"object"==typeof r?I.includes(r.op)?r.k||r.fp?e.push(r):n.push(`op "${r.op}" has no key`):n.push(`unknown op "${r.op}"`):n.push(`not an object: ${JSON.stringify(r)}`);return{ops:e,dropped:n}},parse:g,toHtml:b,walk:_,sanitize:A,stampIds:v,fingerprint:k,indexByKey:C,parseStyle:E,writeStyle:T,cssProp:S,kebabStyle:M,applyEdits:P,introspect:function(t){if(!f(t))return null;const e=String(t.name||"").toLowerCase(),n=m(t),r=o.textContent(t).trim(),i=1===n.length?n[0]:null,a=!!i&&["p","div","span"].includes(String(i.name||"").toLowerCase())&&0===m(i).length,s=(0===n.length||a)&&r.length>0&&u.has(e);return{tag:e,role:j(t),key:(t.attribs||{})["data-k"]||null,content:"img"===e?"image":"a"===e?"link":s?"richtext":null,container:n.length>0,classes:String((t.attribs||{}).class||"").split(/\s+/).filter(Boolean),attrs:{...t.attribs||{}},style:E((t.attribs||{}).style),text:s?r:null}},ingest:function(t,e){const n=g(t),r=A(n,e),o=v(n);return{html:b(n),removed:r,count:o}},build:function(t,e){let{html:n,edits:r}=t;const o=g(n),i=P(o,r,e);return i.push(...A(o,e).map(t=>`stripped ${t}`)),{html:b(o),warnings:i}},cloneNode:L,roleOf:j,isDangerousUrl:h,TAG_LABELS:{div:"Container",section:"Section",h1:"Heading",h2:"Heading",h3:"Heading",h4:"Heading",h5:"Heading",h6:"Heading",p:"Text",span:"Text",a:"Link",button:"Button",img:"Image",video:"Video",nav:"Navigation",header:"Header",footer:"Footer",form:"Form",input:"Input",textarea:"Text Field",select:"Dropdown",ul:"List",ol:"List",li:"List Item",table:"Table",svg:"Icon",main:"Main Content",aside:"Sidebar",article:"Article",figure:"Figure",figcaption:"Caption",label:"Label",blockquote:"Quote"}};const q=/\b(prefers-[a-z-]+|hover|any-hover|pointer|any-pointer|orientation|resolution|min-resolution|max-resolution|aspect-ratio|min-aspect-ratio|max-aspect-ratio|color-gamut|display-mode|forced-colors|scripting|update|overflow-block|overflow-inline|device-width|device-height|min-device-width|max-device-width|monochrome|color-index|grid)\b/i,W=/^(all|screen|print|speech|tv|projection|handheld)$/i;function V(t){if(!t)return t;const e=String(t).trim();if(!/^@media\b/i.test(e))return e;const n=e.replace(/^@media\s*/i,"").trim();if(!n)return e;if(/^(not|only)\b/i.test(n))return e;if(q.test(n))return e;if(n.includes(","))return e;const r=n.split(/\s+and\s+/i).map(t=>t.trim()).filter(Boolean),o=[];for(const t of r)if(!W.test(t)){if(!/^\(/.test(t))return e;if(!/\b(min-width|max-width|width)\b/i.test(t))return e;o.push(t)}return o.length?`@container ${o.join(" and ")}`:e}function Y(t,e){let n=0,r=null,o=t.length;for(let e=0;e<t.length;e++){const i=t[e];if(r)i===r&&(r=null);else if('"'===i||"'"===i)r=i;else if("["===i||"("===i)n++;else if("]"===i||")"===i)n--;else if(0===n&&/[\s>+~]/.test(i)){o=e;break}}const i=t.slice(0,o),a=i.search(/::|:(before|after|first-line|first-letter)\b/i),s=-1===a?i.length:a;return t.slice(0,s)+e+t.slice(s)}function X(t,e,n){if(!t)return"";const r=!n||!1!==n.container;r&&(t=F(t));const o=/^(html|body|:root|\*|html\s*,\s*body)$/i,i=[];let a=0;const s=[],l=(()=>{const e=String(t);let n="",r=0;const o=/@(import|charset|namespace)\b/gi;let i;for(;i=o.exec(e);){if(i.index<r)continue;n+=e.slice(r,i.index);let t=0,a=i.index;for(;a<e.length;a++){const n=e[a];if("("===n)t++;else if(")"===n)t--;else{if(";"===n&&0===t)break;if("{"===n&&0===t)break}}";"===e[a]?(s.push(e.slice(i.index,a+1)),r=a+1,o.lastIndex=r):(n+=e.slice(i.index,a),r=a,o.lastIndex=r)}return n+=e.slice(r),n})();i.push(...s);const c=t=>{let e=0,n=t;for(;n<l.length;n++)if("{"===l[n])e++;else if("}"===l[n]&&(e--,0===e))return n;return l.length-1};for(;a<l.length;){const t=l.indexOf("{",a);if(-1===t)break;const s=l.slice(a,t).trim(),d=c(t),p=l.slice(t+1,d);if(/^@(media|supports|container|layer)/i.test(s)){const t=r?V(s):s;i.push(`${t}{${X(p,e,n)}}`)}else if(/^@(keyframes|-webkit-keyframes|font-face|import|charset|page)/i.test(s))i.push(`${s}{${p}}`);else if(s.startsWith("@"))i.push(`${s}{${p}}`);else{const t=s.split(",").map(t=>t.trim()).filter(Boolean).flatMap(t=>o.test(t)?[e]:n&&n.self?[`${e} ${t}`,Y(t,e)]:[`${e} ${t}`]).join(",");i.push(`${t}{${p}}`)}a=d+1}return i.join("\n")}t.exports.scopeCss=X,t.exports.AI_CSS_KEY=z,t.exports.rootCompound=Y,t.exports.vwToCqw=F,t.exports.mediaToContainer=V,Object.assign(t.exports,n(13929),n(82207),n(63706))},86959(t,e,n){"use strict";function r(){return window.___cdtr_isConsoleLogged||console.log("%cWe run on production, if you want to point to dev server, please add ?dev=1 at the url","color:green"),window.___cdtr_isConsoleLogged=!0,!1}n.d(e,{Ay:()=>r,XW:()=>a}),window.___cdtr_isConsoleLogged=window.___cdtr_isConsoleLogged||!1;let o=r()?"http://localhost:3000":"https://api.creaditor.ai";const i=o+"/static/scripts",a={endPoint:o,ws_url:r()?"ws://127.0.0.1:9999":"wss://gateway.creaditor.ai",render_url:r()?"http://localhost:3001/r/":"https://render.creaditor.ai/r/",render_build_url:r()?"http://localhost:3001/render-site":"https://render.creaditor.ai/render-site",agent_url:r()?"http://localhost:8000/api/v1/":"https://agent.creaditor.ai/api/v1/",studio_url:r()?"http://127.0.0.1:8000":"https://studio.creaditor.ai",static_path:i,api_url:o+"/v1/",domain:o,access_db:"access_v1"}},73095(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var r=n(59929),o=n(21421),i=n(69600);class a extends r.WF{constructor(){super(),this.contentRef=(0,o._)(),this.toggle=this.toggle.bind(this),this.onEnter=this.onEnter.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.scheduleCalc=this.scheduleCalc.bind(this),this._calcScheduled=!1,this._resizeObserver=null,this.overflow=!0,this.maxHeight=300,this.left=0,this.top=0,this.custom=!1,this.opened=!1}close(){this.toggle()}onBouncing(t){this.searchText=t.target.value;const e=new UIEvent("search",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}render(){return r.qy`
660
+ </custom-style>`;r.setAttribute("style","display: none;"),document.head.appendChild(r.content)},77976(t,e,n){"use strict";n.d(e,{$:()=>c});n(97695);var r=n(78803),o=n(12822);let i={},a={};function s(t,e){i[t]=a[t.toLowerCase()]=e}function l(t){return i[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let n=l(t);return n&&e?n.querySelector(e):n}return null}attributeChangedCallback(t,e,n,r){e!==n&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,r.O2)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,r.rG)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.yu&&void 0!==l(t))throw s(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,s(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=i,customElements.define("dom-module",c)},94794(t,e,n){"use strict";n.d(e,{r:()=>kt});var r=n(82775);class o{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function i(t){return a(function(t){let e=new o;e.start=0,e.end=t.length;let n=e;for(let r=0,i=t.length;r<i;r++)if(t[r]===c){n.rules||(n.rules=[]);let t=n,e=t.rules[t.rules.length-1]||null;n=new o,n.start=r+1,n.parent=t,n.previous=e,t.rules.push(n)}else t[r]===d&&(n.end=r+1,n=n.parent||e);return e}(t=t.replace(p.comments,"").replace(p.port,"")),t)}function a(t,e){let n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent){let r=t.previous?t.previous.end:t.parent.start;n=e.substring(r,t.start-1),n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let t=arguments[1],e=6-t.length;for(;e--;)t="0"+t;return"\\"+t})}(n),n=n.replace(p.multipleSpaces," "),n=n.substring(n.lastIndexOf(";")+1);let o=t.parsedSelector=t.selector=n.trim();t.atRule=0===o.indexOf(f),t.atRule?0===o.indexOf(u)?t.type=l.MEDIA_RULE:o.match(p.keyframesRule)&&(t.type=l.KEYFRAMES_RULE,t.keyframesName=t.selector.split(p.multipleSpaces).pop()):0===o.indexOf(h)?t.type=l.MIXIN_RULE:t.type=l.STYLE_RULE}let r=t.rules;if(r)for(let t,n=0,o=r.length;n<o&&(t=r[n]);n++)a(t,e);return t}function s(t,e,n=""){let r="";if(t.cssText||t.rules){let n=t.rules;if(n&&!function(t){let e=t[0];return Boolean(e)&&Boolean(e.selector)&&0===e.selector.indexOf(h)}(n))for(let t,o=0,i=n.length;o<i&&(t=n[o]);o++)r=s(t,e,r);else r=e?t.cssText:function(t){return t=function(t){return t.replace(p.customProp,"").replace(p.mixinProp,"")}(t),function(t){return t.replace(p.mixinApply,"").replace(p.varApply,"")}(t)}(t.cssText),r=r.trim(),r&&(r=" "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" "+c+"\n"),n+=r,t.selector&&(n+=d+"\n\n")),n}const l={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},c="{",d="}",p={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},h="--",u="@media",f="@";var m=n(76209);const g=new Set;function b(t){const e=t.textContent;if(!g.has(e)){g.add(e);const t=document.createElement("style");t.setAttribute("shady-unscoped",""),t.textContent=e,document.head.appendChild(t)}}function y(t){return t.hasAttribute("shady-unscoped")}function w(t,e){return t?("string"==typeof t&&(t=i(t)),e&&x(t,e),s(t,r.Us)):""}function _(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=i(t.textContent)),t.__cssRules||null}function x(t,e,n,r){if(!t)return;let o=!1,i=t.type;if(r&&i===l.MEDIA_RULE){let e=t.selector.match(m.tU);e&&(window.matchMedia(e[1]).matches||(o=!0))}i===l.STYLE_RULE?e(t):n&&i===l.KEYFRAMES_RULE?n(t):i===l.MIXIN_RULE&&(o=!0);let a=t.rules;if(a&&!o)for(let t,o=0,i=a.length;o<i&&(t=a[o]);o++)x(t,e,n,r)}function A(t,e){let n=0;for(let r=e,o=t.length;r<o;r++)if("("===t[r])n++;else if(")"===t[r]&&0===--n)return r;return-1}function v(t,e){let n=t.indexOf("var(");if(-1===n)return e(t,"","","");let r=A(t,n+3),o=t.substring(n+4,r),i=t.substring(0,n),a=v(t.substring(r+1),e),s=o.indexOf(",");return-1===s?e(i,o.trim(),"",a):e(i,o.substring(0,s).trim(),o.substring(s+1).trim(),a)}window.ShadyDOM&&window.ShadyDOM.wrap;const k="css-build";function C(t){if(void 0!==r.gp)return r.gp;if(void 0===t.__cssBuild){const e=t.getAttribute(k);if(e)t.__cssBuild=e;else{const e=function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;if(e instanceof Comment){const t=e.textContent.trim().split(":");if(t[0]===k)return t[1]}return""}(t);""!==e&&function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;e.parentNode.removeChild(e)}(t),t.__cssBuild=e}}return t.__cssBuild||""}function E(t){return""!==C(t)}var S=n(39999);const M=/;\s*/m,T=/^\s*(initial)|(inherit)\s*$/,L=/\s*!important/,B="_-_";class I{constructor(){this._map={}}set(t,e){t=t.trim(),this._map[t]={properties:e,dependants:{}}}get(t){return t=t.trim(),this._map[t]||null}}let O=null;class N{constructor(){this._currentElement=null,this._measureElement=null,this._map=new I}detectMixin(t){return(0,S.Rf)(t)}gatherStyles(t){const e=function(t){const e=[],n=t.querySelectorAll("style");for(let t=0;t<n.length;t++){const o=n[t];y(o)?r.Eu||(b(o),o.parentNode.removeChild(o)):(e.push(o.textContent),o.parentNode.removeChild(o))}return e.join("").trim()}(t.content);if(e){const n=document.createElement("style");return n.textContent=e,t.content.insertBefore(n,t.content.firstChild),n}return null}transformTemplate(t,e){void 0===t._gatheredStyle&&(t._gatheredStyle=this.gatherStyles(t));const n=t._gatheredStyle;return n?this.transformStyle(n,e):null}transformStyle(t,e=""){let n=_(t);return this.transformRules(n,e),t.textContent=w(n),n}transformCustomStyle(t){let e=_(t);return x(e,t=>{":root"===t.selector&&(t.selector="html"),this.transformRule(t)}),t.textContent=w(e),e}transformRules(t,e){this._currentElement=e,x(t,t=>{this.transformRule(t)}),this._currentElement=null}transformRule(t){t.cssText=this.transformCssText(t.parsedCssText,t),":root"===t.selector&&(t.selector=":host > *")}transformCssText(t,e){return t=t.replace(m.u$,(t,n,r,o)=>this._produceCssProperties(t,n,r,o,e)),this._consumeCssProperties(t,e)}_getInitialValueForProperty(t){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(t)}_fallbacksFromPreviousRules(t){let e=t;for(;e.parent;)e=e.parent;const n={};let r=!1;return x(e,e=>{r=r||e===t,r||e.selector===t.selector&&Object.assign(n,this._cssTextToMap(e.parsedCssText))}),n}_consumeCssProperties(t,e){let n=null;for(;n=m.w3.exec(t);){let r=n[0],o=n[1],i=n.index,a=i+r.indexOf("@apply"),s=i+r.length,l=t.slice(0,a),c=t.slice(s),d=e?this._fallbacksFromPreviousRules(e):{};Object.assign(d,this._cssTextToMap(l));let p=this._atApplyToCssProperties(o,d);t=`${l}${p}${c}`,m.w3.lastIndex=i+p.length}return t}_atApplyToCssProperties(t,e){t=t.replace(M,"");let n=[],r=this._map.get(t);if(r||(this._map.set(t,{}),r=this._map.get(t)),r){let o,i,a;this._currentElement&&(r.dependants[this._currentElement]=!0);const s=r.properties;for(o in s)a=e&&e[o],i=[o,": var(",t,B,o],a&&i.push(",",a.replace(L,"")),i.push(")"),L.test(s[o])&&i.push(" !important"),n.push(i.join(""))}return n.join("; ")}_replaceInitialOrInherit(t,e){let n=T.exec(e);return n&&(e=n[1]?this._getInitialValueForProperty(t):"apply-shim-inherit"),e}_cssTextToMap(t,e=!1){let n,r,o=t.split(";"),i={};for(let t,a,s=0;s<o.length;s++)t=o[s],t&&(a=t.split(":"),a.length>1&&(n=a[0].trim(),r=a.slice(1).join(":"),e&&(r=this._replaceInitialOrInherit(n,r)),i[n]=r));return i}_invalidateMixinEntry(t){if(O)for(let e in t.dependants)e!==this._currentElement&&O(e)}_produceCssProperties(t,e,n,r,o){if(n&&v(n,(t,e)=>{e&&this._map.get(e)&&(r=`@apply ${e};`)}),!r)return t;let i=this._consumeCssProperties(""+r,o),a=t.slice(0,t.indexOf("--")),s=this._cssTextToMap(i,!0),l=s,c=this._map.get(e),d=c&&c.properties;d?l=Object.assign(Object.create(d),s):this._map.set(e,l);let p,h,u=[],f=!1;for(p in l)h=s[p],void 0===h&&(h="initial"),d&&!(p in d)&&(f=!0),u.push(`${e}${B}${p}: ${h}`);return f&&this._invalidateMixinEntry(c),c&&(c.properties=l),n&&(a=`${t};${a}`),`${a}${u.join("; ")};`}}N.prototype.detectMixin=N.prototype.detectMixin,N.prototype.transformStyle=N.prototype.transformStyle,N.prototype.transformCustomStyle=N.prototype.transformCustomStyle,N.prototype.transformRules=N.prototype.transformRules,N.prototype.transformRule=N.prototype.transformRule,N.prototype.transformTemplate=N.prototype.transformTemplate,N.prototype._separator=B,Object.defineProperty(N.prototype,"invalidCallback",{get:()=>O,set(t){O=t}});const H=N,z={};const R="_applyShimCurrentVersion",$="_applyShimNextVersion",P="_applyShimValidatingVersion",D=Promise.resolve();function j(t){let e=z[t];e&&function(t){t[R]=t[R]||0,t[P]=t[P]||0,t[$]=(t[$]||0)+1}(e)}function F(t){return t[R]===t[$]}function U(t){return!F(t)&&t[P]===t[$]}function q(t){t[P]=t[$],t._validating||(t._validating=!0,D.then(function(){t[R]=t[$],t._validating=!1}))}n(26778);const W=new H;class V{constructor(){this.customStyleInterface=null,W.invalidCallback=j}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=t=>{W.transformCustomStyle(t)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()})})}prepareTemplate(t,e){if(this.ensure(),E(t))return;z[e]=t;let n=W.transformTemplate(t,e);t._styleAst=n}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let t=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let e=0;e<t.length;e++){let n=t[e],r=this.customStyleInterface.getStyleForCustomStyle(n);r&&W.transformCustomStyle(r)}this.customStyleInterface.enqueued=!1}}styleSubtree(t,e){if(this.ensure(),e&&(0,S.U_)(t,e),t.shadowRoot){this.styleElement(t);let e=t.shadowRoot.children||t.shadowRoot.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}else{let e=t.children||t.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}}styleElement(t){this.ensure();let{is:e}=function(t){let e=t.localName,n="",r="";return e?e.indexOf("-")>-1?n=e:(r=e,n=t.getAttribute&&t.getAttribute("is")||""):(n=t.is,r=t.extends),{is:n,typeExtension:r}}(t),n=z[e];if((!n||!E(n))&&n&&!F(n)){U(n)||(this.prepareTemplate(n,e),q(n));let r=t.shadowRoot;if(r){let t=r.querySelector("style");t&&(t.__cssRules=n._styleAst,t.textContent=w(n._styleAst))}}}styleDocument(t){this.ensure(),this.styleSubtree(document.body,t)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const t=new V;let e=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(e,n,r){t.flushCustomStyles(),t.prepareTemplate(e,n)},prepareTemplateStyles(t,e,n){window.ShadyCSS.prepareTemplate(t,e,n)},prepareTemplateDom(t,e){},styleSubtree(e,n){t.flushCustomStyles(),t.styleSubtree(e,n)},styleElement(e){t.flushCustomStyles(),t.styleElement(e)},styleDocument(e){t.flushCustomStyles(),t.styleDocument(e)},getComputedStyleValue:(t,e)=>(0,S.yd)(t,e),flushCustomStyles(){t.flushCustomStyles()},nativeCss:r.Us,nativeShadow:r.Eu,cssBuild:r.gp,disableRuntime:r.hS},e&&(window.ShadyCSS.CustomStyleInterface=e)}window.ShadyCSS.ApplyShim=W;var Y=n(29970),X=n(26102),K=n(22390),G=n(29786);const Z=/:host\(:dir\((ltr|rtl)\)\)/g,J=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Q=/:dir\((?:ltr|rtl)\)/,tt=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),et=[];let nt=null,rt="";function ot(){rt=document.documentElement.getAttribute("dir")}function it(t){if(!t.__autoDirOptOut){t.setAttribute("dir",rt)}}function at(){ot(),rt=document.documentElement.getAttribute("dir");for(let t=0;t<et.length;t++)it(et[t])}const st=(0,G.y)(t=>{tt||nt||(ot(),nt=new MutationObserver(at),nt.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const e=(0,K.W)(t);class n extends e{static _processStyleText(t,n){return t=e._processStyleText.call(this,t,n),!tt&&Q.test(t)&&(t=this._replaceDirInCssText(t),this.__activateDir=!0),t}static _replaceDirInCssText(t){let e=t;return e=e.replace(Z,':host([dir="$1"])'),e=e.replace(J,':host([dir="$2"]) $1'),e}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){e.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(nt&&nt.takeRecords().length&&at(),et.push(this),it(this))}disconnectedCallback(){if(e.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const t=et.indexOf(this);t>-1&&et.splice(t,1)}}}return n.__activateDir=!1,n});n(77410);function lt(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?lt():window.addEventListener("DOMContentLoaded",lt);var ct=n(53874),dt=n(15055),pt=n(74632),ht=n(90347),ut=n(86956),ft=n(13107);n(97695);const mt=window.ShadyDOM,gt=window.ShadyCSS;function bt(t,e){return(0,ft.L)(t).getRootNode()===e}var yt=n(12822);const wt="disable-upgrade",_t=t=>{for(;t;){const e=Object.getOwnPropertyDescriptor(t,"observedAttributes");if(e)return e.get;t=Object.getPrototypeOf(t.prototype).constructor}return()=>[]};(0,G.y)(t=>{const e=(0,Y.q2)(t);let n=_t(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return n.call(this).concat(wt)}_initializeProperties(){this.hasAttribute(wt)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}attributeChangedCallback(t,e,n,r){t==wt?this.__isUpgradeDisabled&&null==n&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,(0,ft.L)(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(t,e,n,r)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}});var xt=n(52428);const At="disable-upgrade";let vt=window.ShadyCSS;const kt=(0,G.y)(t=>{const e=(0,X.b)((0,Y.q2)(t)),n=Y.IS?e:st(e),r=_t(n),o={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class i extends n{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(t,e,n){(this.__dataAttributes&&this.__dataAttributes[t]||t===At)&&this.attributeChangedCallback(t,e,n,null)}setAttribute(t,e){if(yt.CE&&!this._legacyForceObservedAttributes){const n=this.getAttribute(t);super.setAttribute(t,e),this.__attributeReaction(t,n,String(e))}else super.setAttribute(t,e)}removeAttribute(t){if(yt.CE&&!this._legacyForceObservedAttributes){const e=this.getAttribute(t);super.removeAttribute(t),this.__attributeReaction(t,e,null)}else super.removeAttribute(t)}static get observedAttributes(){return yt.CE&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],(0,xt.kz)(this.prototype)),this.__observedAttributes):r.call(this).concat(At)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(t,e,n,r){e!==n&&(t==At?this.__isUpgradeDisabled&&null==n&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,(0,ft.L)(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(t,e,n,r),this.attributeChanged(t,e,n)))}attributeChanged(t,e,n){}_initializeProperties(){if(yt.IP&&this.hasAttribute(At))this.__isUpgradeDisabled=!0;else{let t=Object.getPrototypeOf(this);t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))||(this._registered(),t.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),yt.CE&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const t=this.attributes;for(let e=0,n=t.length;e<n;e++){const n=t[e];this.__attributeReaction(n.name,null,n.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(t){return this._serializeValue(t)}deserialize(t,e){return this._deserializeValue(t,e)}reflectPropertyToAttribute(t,e,n){this._propertyToAttribute(t,e,n)}serializeValueToAttribute(t,e,n){this._valueToNodeAttribute(n||this,t,e)}extend(t,e){if(!t||!e)return t||e;let n=Object.getOwnPropertyNames(e);for(let r,o=0;o<n.length&&(r=n[o]);o++){let n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n)}return t}mixin(t,e){for(let n in e)t[n]=e[n];return t}chainObject(t,e){return t&&e&&t!==e&&(t.__proto__=e),t}instanceTemplate(t){let e=this.constructor._contentForTemplate(t);return document.importNode(e,!0)}fire(t,e,n){n=n||{},e=null==e?{}:e;let r=new Event(t,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});r.detail=e;let o=n.node||this;return(0,ft.L)(o).dispatchEvent(r),r}listen(t,e,n){t=t||this;let r=this.__boundListeners||(this.__boundListeners=new WeakMap),o=r.get(t);o||(o={},r.set(t,o));let i=e+n;o[i]||(o[i]=this._addMethodEventListenerToNode(t,e,n,this))}unlisten(t,e,n){t=t||this;let r=this.__boundListeners&&this.__boundListeners.get(t),o=e+n,i=r&&r[o];i&&(this._removeEventListenerFromNode(t,e,i),r[o]=null)}setScrollDirection(t,e){(0,dt.wB)(e||this,o[t]||"auto")}$$(t){return this.root.querySelector(t)}get domHost(){let t=(0,ft.L)(this).getRootNode();return t instanceof DocumentFragment?t.host:t}distributeContent(){const t=(0,ct.tT)(this);window.ShadyDOM&&t.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return(0,ct.tT)(this).getEffectiveChildNodes()}queryDistributedElements(t){return(0,ct.tT)(this).queryDistributedElements(t)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter(function(t){return t.nodeType===Node.ELEMENT_NODE})}getEffectiveTextContent(){let t=this.getEffectiveChildNodes(),e=[];for(let n,r=0;n=t[r];r++)n.nodeType!==Node.COMMENT_NODE&&e.push(n.textContent);return e.join("")}queryEffectiveChildren(t){let e=this.queryDistributedElements(t);return e&&e[0]}queryAllEffectiveChildren(t){return this.queryDistributedElements(t)}getContentChildNodes(t){let e=this.root.querySelector(t||"slot");return e?(0,ct.tT)(e).getDistributedNodes():[]}getContentChildren(t){return this.getContentChildNodes(t).filter(function(t){return t.nodeType===Node.ELEMENT_NODE})}isLightDescendant(t){const e=this;return e!==t&&(0,ft.L)(e).contains(t)&&(0,ft.L)(e).getRootNode()===(0,ft.L)(t).getRootNode()}isLocalDescendant(t){return this.root===(0,ft.L)(t).getRootNode()}scopeSubtree(t,e=!1){return function(t,e=!1){if(!mt||!gt)return null;if(!mt.handlesDynamicScoping)return null;const n=gt.ScopingShim;if(!n)return null;const r=n.scopeForNode(t),o=(0,ft.L)(t).getRootNode(),i=t=>{if(!bt(t,o))return;const e=Array.from(mt.nativeMethods.querySelectorAll.call(t,"*"));e.push(t);for(let t=0;t<e.length;t++){const i=e[t];if(!bt(i,o))continue;const a=n.currentScopeForNode(i);a!==r&&(""!==a&&n.unscopeNode(i,a),n.scopeNode(i,r))}};if(i(t),e){const e=new MutationObserver(t=>{for(let e=0;e<t.length;e++){const n=t[e];for(let t=0;t<n.addedNodes.length;t++){const e=n.addedNodes[t];e.nodeType===Node.ELEMENT_NODE&&i(e)}}});return e.observe(t,{childList:!0,subtree:!0}),e}return null}(t,e)}getComputedStyleValue(t){return vt.getComputedStyleValue(this,t)}debounce(t,e,n){return this._debouncers=this._debouncers||{},this._debouncers[t]=pt.aq.debounce(this._debouncers[t],n>0?ht.EV.after(n):ht._3,e.bind(this))}isDebouncerActive(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];return!(!e||!e.isActive())}flushDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.flush()}cancelDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.cancel()}async(t,e){return e>0?ht.EV.run(t.bind(this),e):~ht._3.run(t.bind(this))}cancelAsync(t){t<0?ht._3.cancel(~t):ht.EV.cancel(t)}create(t,e){let n=document.createElement(t);if(e)if(n.setProperties)n.setProperties(e);else for(let t in e)n[t]=e[t];return n}elementMatches(t,e){return(0,ct.B5)(e||this,t)}toggleAttribute(t,e){let n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(e=!n.hasAttribute(t)),e?((0,ft.L)(n).setAttribute(t,""),!0):((0,ft.L)(n).removeAttribute(t),!1)}toggleClass(t,e,n){n=n||this,1==arguments.length&&(e=!n.classList.contains(t)),e?n.classList.add(t):n.classList.remove(t)}transform(t,e){(e=e||this).style.webkitTransform=t,e.style.transform=t}translate3d(t,e,n,r){r=r||this,this.transform("translate3d("+t+","+e+","+n+")",r)}arrayDelete(t,e){let n;if(Array.isArray(t)){if(n=t.indexOf(e),n>=0)return t.splice(n,1)}else{if(n=(0,ut.Jt)(this,t).indexOf(e),n>=0)return this.splice(t,n,1)}return null}_logger(t,e){switch(Array.isArray(e)&&1===e.length&&Array.isArray(e[0])&&(e=e[0]),t){case"log":case"warn":case"error":console[t](...e)}}_log(...t){this._logger("log",t)}_warn(...t){this._logger("warn",t)}_error(...t){this._logger("error",t)}_logf(t,...e){return["[%s::%s]",this.is,t,...e]}}return i.prototype.is="",i})},95586(t,e,n){"use strict";n.d(e,{b:()=>u});var r=n(94794),o=n(12822);const i={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},a={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},s=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},a);function l(t,e,n,r){!function(t,e,n){const r=t._noAccessors,o=Object.getOwnPropertyNames(t);for(let i=0;i<o.length;i++){let a=o[i];if(!(a in n))if(r)e[a]=t[a];else{let n=Object.getOwnPropertyDescriptor(t,a);n&&(n.configurable=!0,Object.defineProperty(e,a,n))}}}(e,t,r);for(let t in i)e[t]&&(n[t]=n[t]||[],n[t].push(e[t]))}function c(t,e,n){e=e||[];for(let r=t.length-1;r>=0;r--){let o=t[r];o?Array.isArray(o)?c(o,e):e.indexOf(o)<0&&(!n||n.indexOf(o)<0)&&e.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return e}function d(t,e){for(const n in e){const r=t[n],o=e[n];t[n]=!("value"in o)&&r&&"value"in r?Object.assign({value:r.value},o):o}}const p=(0,r.r)(HTMLElement);function h(t,e,n){let r;const i={};class p extends e{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(r)for(let t,e=0;e<r.length;e++)t=r[e],t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties);t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties),this._prepareTemplate()}else e._finalizeClass.call(this)}static get properties(){const e={};if(r)for(let t=0;t<r.length;t++)d(e,r[t].properties);return d(e,t.properties),e}static get observers(){let e=[];if(r)for(let t,n=0;n<r.length;n++)t=r[n],t.observers&&(e=e.concat(t.observers));return t.observers&&(e=e.concat(t.observers)),e}created(){super.created();const t=i.created;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}_registered(){const t=p.prototype;if(!t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))){t.__hasRegisterFinished=!0,super._registered(),o.IP&&h(t);const e=Object.getPrototypeOf(this);let n=i.beforeRegister;if(n)for(let t=0;t<n.length;t++)n[t].call(e);if(n=i.registered,n)for(let t=0;t<n.length;t++)n[t].call(e)}}_applyListeners(){super._applyListeners();const t=i.listeners;if(t)for(let e=0;e<t.length;e++){const n=t[e];if(n)for(let t in n)this._addMethodEventListenerToNode(this,t,n[t])}}_ensureAttributes(){const t=i.hostAttributes;if(t)for(let e=t.length-1;e>=0;e--){const n=t[e];for(let t in n)this._ensureAttribute(t,n[t])}super._ensureAttributes()}ready(){super.ready();let t=i.ready;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attached(){super.attached();let t=i.attached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}detached(){super.detached();let t=i.detached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attributeChanged(t,e,n){super.attributeChanged();let r=i.attributeChanged;if(r)for(let o=0;o<r.length;o++)r[o].call(this,t,e,n)}}if(n){Array.isArray(n)||(n=[n]);let t=e.prototype.behaviors;r=c(n,null,t),p.prototype.behaviors=t?t.concat(n):r}const h=e=>{r&&function(t,e,n){for(let r=0;r<e.length;r++)l(t,e[r],n,s)}(e,r,i),l(e,t,i,a)};return o.IP||h(p.prototype),p.generatedFrom=t,p}n(97695);const u=function(t){let e;return e="function"==typeof t?t:u.Class(t),t._legacyForceObservedAttributes&&(e.prototype._legacyForceObservedAttributes=t._legacyForceObservedAttributes),customElements.define(e.is,e),e};u.Class=function(t,e){t||console.warn("Polymer.Class requires `info` argument");let n=e?e(p):p;return n=h(t,n,t.behaviors),n.is=n.prototype.is=t.is,n}},53874(t,e,n){"use strict";n.d(e,{tT:()=>m,B5:()=>d});n(97695);var r=n(13107),o=(n(12822),n(70087)),i=n(90347);function a(t){return"slot"===t.localName}let s=class{static getFlattenedNodes(t){const e=(0,r.L)(t);if(a(t))return e.assignedNodes({flatten:!0});{const t=[];for(let n=0;n<e.childNodes.length;n++){const o=e.childNodes[n];if(a(o)){const e=o;t.push(...(0,r.L)(e).assignedNodes({flatten:!0}))}else t.push(o)}return t}}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){a(this._target)?this._listenSlots([this._target]):(0,r.L)(this._target).children&&(this._listenSlots((0,r.L)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,t=>{this._processMutations(t)}):(this._nativeChildrenObserver=new MutationObserver(t=>{this._processMutations(t)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){a(this._target)?this._unlistenSlots([this._target]):(0,r.L)(this._target).children&&(this._unlistenSlots((0,r.L)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i._3.run(()=>this.flush()))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let n=t[e];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),n=(0,o.k)(e,this._effectiveNodes);for(let e,r=0;r<n.length&&(e=n[r]);r++)for(let n,r=0;r<e.removed.length&&(n=e.removed[r]);r++)t.removedNodes.push(n);for(let r,o=0;o<n.length&&(r=n[o]);o++)for(let n=r.index;n<r.index+r.addedCount;n++)t.addedNodes.push(e[n]);this._effectiveNodes=e;let r=!1;return(t.addedNodes.length||t.removedNodes.length)&&(r=!0,this.callback.call(this._target,t)),r}_listenSlots(t){for(let e=0;e<t.length;e++){let n=t[e];a(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let n=t[e];a(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}};n(34641),n(74632);const l=Element.prototype,c=l.matches||l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector,d=function(t,e){return c.call(t,e)};class p{constructor(t){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(t),this.node=t}observeNodes(t){return new s(this.node,t)}unobserveNodes(t){t.disconnect()}notifyObserver(){}deepContains(t){if((0,r.L)(this.node).contains(t))return!0;let e=t,n=t.ownerDocument;for(;e&&e!==n&&e!==this.node;)e=(0,r.L)(e).parentNode||(0,r.L)(e).host;return e===this.node}getOwnerRoot(){return(0,r.L)(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?(0,r.L)(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let t=[],e=(0,r.L)(this.node).assignedSlot;for(;e;)t.push(e),e=(0,r.L)(e).assignedSlot;return t}importNode(t,e){let n=this.node instanceof Document?this.node:this.node.ownerDocument;return(0,r.L)(n).importNode(t,e)}getEffectiveChildNodes(){return s.getFlattenedNodes(this.node)}queryDistributedElements(t){let e=this.getEffectiveChildNodes(),n=[];for(let r,o=0,i=e.length;o<i&&(r=e[o]);o++)r.nodeType===Node.ELEMENT_NODE&&d(r,t)&&n.push(r);return n}get activeElement(){let t=this.node;return void 0!==t._activeElement?t._activeElement:t.activeElement}}function h(t,e){for(let n=0;n<e.length;n++){let r=e[n];Object.defineProperty(t,r,{get:function(){return this.node[r]},configurable:!0})}}class u{constructor(t){this.event=t}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}p.prototype.cloneNode,p.prototype.appendChild,p.prototype.insertBefore,p.prototype.removeChild,p.prototype.replaceChild,p.prototype.setAttribute,p.prototype.removeAttribute,p.prototype.querySelector,p.prototype.querySelectorAll,p.prototype.parentNode,p.prototype.firstChild,p.prototype.lastChild,p.prototype.nextSibling,p.prototype.previousSibling,p.prototype.firstElementChild,p.prototype.lastElementChild,p.prototype.nextElementSibling,p.prototype.previousElementSibling,p.prototype.childNodes,p.prototype.children,p.prototype.classList,p.prototype.textContent,p.prototype.innerHTML;let f=p;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class t extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(p.prototype).forEach(e=>{"activeElement"!=e&&(t.prototype[e]=p.prototype[e])}),h(t.prototype,["classList"]),f=t,Object.defineProperties(u.prototype,{localTarget:{get(){const t=this.event.currentTarget,e=t&&m(t).getOwnerRoot(),n=this.path;for(let t=0;t<n.length;t++){const r=n[t];if(m(r).getOwnerRoot()===e)return r}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else!function(t,e){for(let n=0;n<e.length;n++){let r=e[n];t[r]=function(){return this.node[r].apply(this.node,arguments)}}}(p.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"]),h(p.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]),function(t,e){for(let n=0;n<e.length;n++){let r=e[n];Object.defineProperty(t,r,{get:function(){return this.node[r]},set:function(t){this.node[r]=t},configurable:!0})}}(p.prototype,["textContent","innerHTML","className"]);const m=function(t){if((t=t||document)instanceof f)return t;if(t instanceof u)return t;let e=t.__domApi;return e||(e=t instanceof Event?new u(t):new f(t),t.__domApi=e),e}},29970(t,e,n){"use strict";n.d(e,{q2:()=>f,IS:()=>u});n(97695);var r=n(12822),o=n(29786),i=n(87684),a=n(78803),s=n(77976),l=n(91865),c=n(52428),d=n(65698);const p=(0,o.y)(t=>{const e=(0,d.e)(t);function n(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof o?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const n=t.properties;n&&(e=function(t){const e={};for(let n in t){const r=t[n];e[n]="function"==typeof r?{type:r}:r}return e}(n))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){(0,c.kz)(this.prototype);const t=this._properties;this.__observedAttributes=t?Object.keys(t).map(t=>this.prototype._addPropertyToAttributeMap(t)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=n(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=n(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){(0,c.cn)(),this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o});var h=n(13107);const u=window.ShadyCSS&&window.ShadyCSS.cssBuild,f=(0,o.y)(t=>{const e=p((0,l.s)(t));function n(t,e,n,r){n.computed&&(n.readOnly=!0),n.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,n.computed,r)),n.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!n.computed):!1===n.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),n.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===n.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),n.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===n.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),n.observer&&t._createPropertyObserver(e,n.observer,r[n.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((n=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",n))||(n.__ownObservers=n.hasOwnProperty(JSCompiler_renameProperty("observers",n))?n.observers:null),n.__ownObservers);var n;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):r.IP||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)n(this.prototype,e,t[e],t)}static createObservers(t,e){const n=this.prototype;for(let r=0;r<t.length;r++)n._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!r.yu||r.ek)&&(e=s.$.import(t,"template"),r.yu&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,a.rG)(t.url);else{const t=s.$.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=r.wA,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let n in e){let r=e[n];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[n]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let n=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,a.c0)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const n=this.importPath;!function(t,e,n,o){if(!u){const r=e.content.querySelectorAll("style"),a=(0,i.nX)(e),s=(0,i.Ho)(n),l=e.content.firstElementChild;for(let n=0;n<s.length;n++){let r=s[n];r.textContent=t._processStyleText(r.textContent,o),e.content.insertBefore(r,l)}let c=0;for(let e=0;e<a.length;e++){let n=a[e],i=r[c];i!==n?(n=n.cloneNode(!0),i.parentNode.insertBefore(n,i)):c++,n.textContent=t._processStyleText(n.textContent,o)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,n),r.vK&&u&&r.qM){const n=e.content.querySelectorAll("style");if(n){let e="";Array.from(n).forEach(t=>{e+=t.textContent,t.parentNode.removeChild(t)}),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}(this,e,t,n?(0,a.O2)(n):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,h.L)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),r.Kp&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,a.O2)(this.importPath)),(0,a.O2)(t,e)}static _parseTemplateContent(t,n,r){return n.dynamicFns=n.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,n,r)}static _addTemplatePropertyEffect(t,n,o){return!r.F3||n in this._properties||o.info.part.signature&&o.info.part.signature.static||o.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,n,o)}}})},26102(t,e,n){"use strict";n.d(e,{b:()=>i});n(97695);var r=n(29786),o=n(15055);const i=(0,r.y)(t=>class extends t{_addEventListenerToNode(t,e,n){(0,o.ch)(t,e,n)||super._addEventListenerToNode(t,e,n)}_removeEventListenerFromNode(t,e,n){(0,o.pQ)(t,e,n)||super._removeEventListenerFromNode(t,e,n)}})},65698(t,e,n){"use strict";n.d(e,{e:()=>s});n(97695);var r=n(29786),o=n(90347),i=n(13107);const a=o._3,s=(0,r.y)(t=>class extends t{static createProperties(t){const e=this.prototype;for(let n in t)n in e||e._createPropertyAccessor(n)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,n){let r=this.__data[t],o=this._shouldPropertyChange(t,e,r);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),o}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,a.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(t,e,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,n)),this.__dataCounter--}_shouldPropertiesChange(t,e,n){return Boolean(e)}_propertiesChanged(t,e,n){}_shouldPropertyChange(t,e,n){return n!==e&&(n==n||e==e)}attributeChangedCallback(t,e,n,r){e!==n&&this._attributeToProperty(t,n),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,n,r)}_attributeToProperty(t,e,n){if(!this.__serializing){const r=this.__dataAttributes,o=r&&r[t]||t;this[o]=this._deserializeValue(e,n||this.constructor.typeForProperty(o))}}_propertyToAttribute(t,e,n){this.__serializing=!0,n=arguments.length<3?this[t]:n,this._valueToNodeAttribute(this,n,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,n){const r=this._serializeValue(e);"class"!==n&&"name"!==n&&"slot"!==n||(t=(0,i.L)(t)),void 0===r?t.removeAttribute(n):t.setAttribute(n,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})},22390(t,e,n){"use strict";n.d(e,{W:()=>c});n(97695);var r=n(29786),o=n(10848),i=n(65698);const a={};let s=HTMLElement.prototype;for(;s;){let t=Object.getOwnPropertyNames(s);for(let e=0;e<t.length;e++)a[t[e]]=!0;s=Object.getPrototypeOf(s)}const l=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1;const c=(0,r.y)(t=>{const e=(0,i.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor((0,o.I)(t[e]))}static attributeNameForProperty(t){return(0,o.e)(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){const n=this;n.hasAttribute(t)||this._valueToNodeAttribute(n,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(l(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let n;switch(e){case Object:try{n=JSON.parse(t)}catch(e){n=t}break;case Array:try{n=JSON.parse(t)}catch(e){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:n=isNaN(t)?String(t):Number(t),n=new Date(n);break;default:n=super._deserializeValue(t,e)}return n}_definePropertyAccessor(t,e){!function(t,e){if(!a[e]){let n=t[e];void 0!==n&&(t.__data?t._setPendingProperty(e,n):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=n))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})},91865(t,e,n){"use strict";n.d(e,{s:()=>et});n(97695);var r=n(13107),o=n(29786),i=n(86956),a=n(10848),s=n(22390);const l={"dom-if":!0,"dom-repeat":!0};let c=!1,d=!1;function p(t){(function(){if(!c){c=!0;const t=document.createElement("textarea");t.placeholder="a",d=t.placeholder===t.textContent}return d})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}const h=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,n,r)=>{const o=n.getAttribute(r);t&&r.startsWith("on-")?e.setAttribute(r,t.createScript(o,r)):e.setAttribute(r,o)}})();function u(t){let e=t.getAttribute("is");if(e&&l[e]){let n=t;for(n.removeAttribute("is"),t=n.ownerDocument.createElement(e),n.parentNode.replaceChild(t,n),t.appendChild(n);n.attributes.length;){const{name:e}=n.attributes[0];h(t,n,e),n.removeAttribute(e)}}return t}function f(t,e){let n=e.parentInfo&&f(t,e.parentInfo);if(!n)return t;for(let t=n.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function m(t,e,n,r){r.id&&(e[r.id]=n)}function g(t,e,n){if(n.events&&n.events.length)for(let r,o=0,i=n.events;o<i.length&&(r=i[o]);o++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function b(t,e,n,r){n.templateInfo&&(e._templateInfo=n.templateInfo,e._parentTemplateInfo=r)}const y=(0,o.y)(t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let n=t._templateInfo={};n.nodeInfoList=[],n.nestedTemplate=Boolean(e),n.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,n,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,n){return this._parseTemplateNode(t.content,e,n)}static _parseTemplateNode(t,e,n){let r=!1,o=t;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(o,e,n)||r,p(o),o.firstChild&&this._parseTemplateChildNodes(o,e,n),o.hasAttributes&&o.hasAttributes()&&(r=this._parseTemplateNodeAttributes(o,e,n)||r),r||n.noted}static _parseTemplateChildNodes(t,e,n){if("script"!==t.localName&&"style"!==t.localName)for(let r,o=t.firstChild,i=0;o;o=r){if("template"==o.localName&&(o=u(o)),r=o.nextSibling,o.nodeType===Node.TEXT_NODE){let n=r;for(;n&&n.nodeType===Node.TEXT_NODE;)o.textContent+=n.textContent,r=n.nextSibling,t.removeChild(n),n=r;if(e.stripWhiteSpace&&!o.textContent.trim()){t.removeChild(o);continue}}let a={parentIndex:i,parentInfo:n};this._parseTemplateNode(o,e,a)&&(a.infoIndex=e.nodeInfoList.push(a)-1),o.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,n){let r=t,o=this._parseTemplate(r,e);return(o.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),n.templateInfo=o,!0}static _parseTemplateNodeAttributes(t,e,n){let r=!1,o=Array.from(t.attributes);for(let i,a=o.length-1;i=o[a];a--)r=this._parseTemplateNodeAttribute(t,e,n,i.name,i.value)||r;return r}static _parseTemplateNodeAttribute(t,e,n,r,o){return"on-"===r.slice(0,3)?(t.removeAttribute(r),n.events=n.events||[],n.events.push({name:r.slice(3),value:o}),!0):"id"===r&&(n.id=o,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let n=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,o=document.importNode(r,!0);o.__noInsertionPoint=!e.hasInsertionPoint;let i=o.nodeList=new Array(n.length);o.$={};for(let t,r=0,a=n.length;r<a&&(t=n[r]);r++){let n=i[r]=f(o,t);m(0,o.$,n,t),b(0,n,t,e),g(this,n,t)}return o}_addMethodEventListenerToNode(t,e,n,r){let o=function(t,e,n){return t=t._methodHost||t,function(e){t[n]?t[n](e,e.detail):console.warn("listener method `"+n+"` not defined")}}(r=r||t,0,n);return this._addEventListenerToNode(t,e,o),o}_addEventListenerToNode(t,e,n){t.addEventListener(e,n)}_removeEventListenerFromNode(t,e,n){t.removeEventListener(e,n)}});var w=n(12822);let _=0;const x=[],A={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},v="__computeInfo",k=/[A-Z]/;function C(t,e,n){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),n))for(let t in r){let e=r[t],n=r[t]=Array(e.length);for(let t=0;t<e.length;t++)n[t]=e[t]}}else r=t[e]={};return r}function E(t,e,n,r,o,a){if(e){let s=!1;const l=_++;for(let c in n){let d=e[o?(0,i.zr)(c):c];if(d)for(let e,i=0,p=d.length;i<p&&(e=d[i]);i++)e.info&&e.info.lastRun===l||o&&!M(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,n,r,e.info,o,a),s=!0)}return s}return!1}function S(t,e,n,r,o,a,s,l){let c=!1,d=e[s?(0,i.zr)(r):r];if(d)for(let e,i=0,p=d.length;i<p&&(e=d[i]);i++)e.info&&e.info.lastRun===n||s&&!M(r,e.trigger)||(e.info&&(e.info.lastRun=n),e.fn(t,r,o,a,e.info,s,l),c=!0);return c}function M(t,e){if(e){let n=e.name;return n==t||!(!e.structured||!(0,i.QX)(n,t))||!(!e.wildcard||!(0,i.K9)(n,t))}return!0}function T(t,e,n,r,o){let i="string"==typeof o.method?t[o.method]:o.method,a=o.property;i?i.call(t,t.__data[a],r[a]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function L(t,e,n){let r=(0,i.zr)(e);if(r!==e){return B(t,(0,a.e)(r)+"-changed",n[e],e),!0}return!1}function B(t,e,n,o){let i={value:n,queueProperty:!0};o&&(i.path=o),(0,r.L)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function I(t,e,n,r,o,a){let s=(a?(0,i.zr)(e):e)!=e?e:null,l=s?(0,i.Jt)(t,s):t.__data[e];s&&void 0===l&&(l=n[e]),B(t,o.eventName,l,s)}function O(t,e,n,r,o){let i=t.__data[e];w.dV&&(i=(0,w.dV)(i,o.attrName,"attribute",t)),t._propertyToAttribute(e,o.attrName,i)}function N(t,e,n,r){let o=t[A.COMPUTE];if(o)if(w.Xj){_++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const n=t[A.COMPUTE];let r,{counts:o,ready:i,total:a}=function(t){const e=t[v],n={},r=t[A.COMPUTE],o=[];let i=0;for(let t in e){const r=e[t];i+=n[t]=r.args.filter(t=>!t.literal).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||o.push(t);return{counts:n,ready:o,total:i}}(t);for(;r=i.shift();){e.set(r,e.size);const t=n[r];t&&t.forEach(t=>{const e=t.info.methodInfo;--a,0===--o[e]&&i.push(e)})}if(0!==a){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),a=[];for(let t in e)z(t,o,a,i,r);let s;for(;s=a.shift();)R(t,"",e,n,s)&&z(s.methodInfo,o,a,i,r);Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;E(t,o,i,n,r);)Object.assign(n,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}const H=(t,e,n)=>{let r=0,o=e.length-1,i=-1;for(;r<=o;){const a=r+o>>1,s=n.get(e[a].methodInfo)-n.get(t.methodInfo);if(s<0)r=a+1;else{if(!(s>0)){i=a;break}o=a-1}}i<0&&(i=o+1),e.splice(i,0,t)},z=(t,e,n,r,o)=>{const a=e[o?(0,i.zr)(t):t];if(a)for(let e=0;e<a.length;e++){const i=a[e];i.info.lastRun===_||o&&!M(t,i.trigger)||(i.info.lastRun=_,H(i.info,n,r))}};function R(t,e,n,r,o){let i=q(t,e,n,r,o);if(i===x)return!1;let a=o.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[a]?t._setPendingProperty(a,i,!0):(t[a]=i,!1)}function $(t,e,n,r,o,i,s){n.bindings=n.bindings||[];let l={kind:r,target:o,parts:i,literal:s,isCompound:1!==i.length};if(n.bindings.push(l),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(l)){let{event:t,negate:e}=l.parts[0];l.listenerEvent=t||(0,a.e)(o)+"-changed",l.listenerNegate=e}let c=e.nodeInfoList.length;for(let n=0;n<l.parts.length;n++){let r=l.parts[n];r.compoundIndex=n,P(t,e,l,r,c)}}function P(t,e,n,r,o){if(!r.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let i=r.dependencies,a={index:o,binding:n,part:r,evaluator:t};for(let n=0;n<i.length;n++){let r=i[n];"string"==typeof r&&(r=Z(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:D,info:a,trigger:r})}}}function D(t,e,n,r,o,a,s){let l=s[o.index],c=o.binding,d=o.part;if(a&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let r=n[e];e=(0,i.Tl)(d.source,c.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let i=o.evaluator._evaluateBinding(t,d,e,n,r,a);i!==x&&function(t,e,n,r,o){o=function(t,e,n,r){if(n.isCompound){let o=t.__dataCompoundStorage[n.target];o[r.compoundIndex]=e,e=o.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,o,n,r),w.dV&&(o=(0,w.dV)(o,n.target,n.kind,e));if("attribute"==n.kind)t._valueToNodeAttribute(e,o,n.target);else{let r=n.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[A.READ_ONLY]&&e[A.READ_ONLY][r]||e._setPendingProperty(r,o)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,o)}}(t,l,c,d,i)}}function j(t,e){if(e.isCompound){let n=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),o=e.parts,i=new Array(o.length);for(let t=0;t<o.length;t++)i[t]=o[t].literal;let a=e.target;n[a]=i,e.literal&&"property"==e.kind&&("className"===a&&(t=(0,r.L)(t)),t[a]=e.literal)}}function F(t,e,n){if(n.listenerEvent){let r=n.parts[0];t.addEventListener(n.listenerEvent,function(t){!function(t,e,n,r,o){let a,s=t.detail,l=s&&s.path;l?(r=(0,i.Tl)(n,r,l),a=s&&s.value):a=t.currentTarget[n],a=o?!a:a,e[A.READ_ONLY]&&e[A.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,a,!0,Boolean(l))||s&&s.queueProperty||e._invalidateProperties()}(t,e,n.target,r.source,r.negate)})}}function U(t,e,n,r,o,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let a={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:i};for(let o,i=0;i<e.args.length&&(o=e.args[i]);i++)o.literal||t._addPropertyEffect(o.rootProperty,n,{fn:r,info:a,trigger:o});return i&&t._addPropertyEffect(e.methodName,n,{fn:r,info:a}),a}function q(t,e,n,r,o){let i=t._methodHost||t,a=i[o.methodName];if(a){let r=t._marshalArgs(o.args,e,n);return r===x?x:a.apply(i,r)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const W=[],V="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Y="(?:("+V+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",X=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+V+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+Y+"(?:,\\s*"+Y+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");function K(t){let e="";for(let n=0;n<t.length;n++){e+=t[n].literal||""}return e}function G(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:W};if(e[2].trim()){return function(t,e){return e.args=t.map(function(t){let n=Z(t);return n.literal||(e.static=!1),n},this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function Z(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=e.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(e),n.literal=!0}return n.literal||(n.rootProperty=(0,i.zr)(e),n.structured=(0,i.uf)(e),n.structured&&(n.wildcard=".*"==e.slice(-2),n.wildcard&&(n.name=e.slice(0,-2)))),n}function J(t,e,n){let r=(0,i.Jt)(t,n);return void 0===r&&(r=e[n]),r}function Q(t,e,n,r){const o={indexSplices:r};w.oO&&!t._overrideLegacyUndefined&&(e.splices=o),t.notifyPath(n+".splices",o),t.notifyPath(n+".length",e.length),w.oO&&!t._overrideLegacyUndefined&&(o.indexSplices=[])}function tt(t,e,n,r,o,i){Q(t,e,n,[{index:r,addedCount:o,removed:i,object:e,type:"splice"}])}const et=(0,o.y)(t=>{const e=y((0,s.W)(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return A}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(nt.length){let t=nt[nt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[A.READ_ONLY];for(let n in t)e&&e[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=t[n])}_addPropertyEffect(t,e,n){this._createPropertyAccessor(t,e==A.READ_ONLY);let r=C(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(n)}_removePropertyEffect(t,e,n){let r=C(this,e,!0)[t],o=r.indexOf(n);o>=0&&r.splice(o,1)}_hasPropertyEffect(t,e){let n=this[e];return Boolean(n&&n[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,A.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,A.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,A.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,A.COMPUTE)}_setPendingPropertyOrPath(t,e,n,r){if(r||(0,i.zr)(Array.isArray(t)?t[0]:t)!==t){if(!r){let n=(0,i.Jt)(this,t);if(!(t=(0,i.hZ)(this,t,e))||!super._shouldPropertyChange(t,e,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,n))return function(t,e,n){let r=t.__dataLinkedPaths;if(r){let o;for(let a in r){let s=r[a];(0,i.K9)(a,e)?(o=(0,i.Tl)(a,s,e),t._setPendingPropertyOrPath(o,n,!0,!0)):(0,i.K9)(s,e)&&(o=(0,i.Tl)(s,a,e),t._setPendingPropertyOrPath(o,n,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,n);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,n){n===t[e]&&"object"!=typeof n||("className"===e&&(t=(0,r.L)(t)),t[e]=n)}_setPendingProperty(t,e,n){let r=this.__dataHasPaths&&(0,i.uf)(t),o=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,o[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[A.NOTIFY]&&this[A.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=n),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let n=t[e];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let n in t)!e&&this[A.READ_ONLY]&&this[A.READ_ONLY][n]||this._setPendingPropertyOrPath(n,t[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,n){let r,o=this.__dataHasPaths;this.__dataHasPaths=!1,N(this,e,n,o),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,n,o),this._flushClients(),E(this,this[A.REFLECT],e,n,o),E(this,this[A.OBSERVE],e,n,o),r&&function(t,e,n,r,o){let i,a,s=t[A.NOTIFY],l=_++;for(let a in e)e[a]&&(s&&S(t,s,l,a,n,r,o)||o&&L(t,a,n))&&(i=!0);i&&(a=t.__dataHost)&&a._invalidateProperties&&a._invalidateProperties()}(this,r,e,n,o),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,n){this[A.PROPAGATE]&&E(this,this[A.PROPAGATE],t,e,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,n)}_runEffectsForTemplate(t,e,n,r){const o=(e,r)=>{E(this,t.propertyEffects,e,n,r,t.nodeList);for(let o=t.firstChild;o;o=o.nextSibling)this._runEffectsForTemplate(o,e,n,r)};t.runEffects?t.runEffects(o,e,r):o(e,r)}linkPaths(t,e){t=(0,i.S8)(t),e=(0,i.S8)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.S8)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let n={path:""};Q(this,(0,i.Jt)(this,t,n),n.path,e)}get(t,e){return(0,i.Jt)(e||this,t)}set(t,e,n){n?(0,i.hZ)(n,t,e):this[A.READ_ONLY]&&this[A.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let n={path:""},r=(0,i.Jt)(this,t,n),o=r.length,a=r.push(...e);return e.length&&tt(this,r,n.path,o,e.length,[]),a}pop(t){let e={path:""},n=(0,i.Jt)(this,t,e),r=Boolean(n.length),o=n.pop();return r&&tt(this,n,e.path,n.length,0,[o]),o}splice(t,e,n,...r){let o,a={path:""},s=(0,i.Jt)(this,t,a);return e<0?e=s.length-Math.floor(-e):e&&(e=Math.floor(e)),o=2===arguments.length?s.splice(e):s.splice(e,n,...r),(r.length||o.length)&&tt(this,s,a.path,e,r.length,o),o}shift(t){let e={path:""},n=(0,i.Jt)(this,t,e),r=Boolean(n.length),o=n.shift();return r&&tt(this,n,e.path,0,0,[o]),o}unshift(t,...e){let n={path:""},r=(0,i.Jt)(this,t,n),o=r.unshift(...e);return e.length&&tt(this,r,n.path,0,e.length,[]),o}notifyPath(t,e){let n;if(1==arguments.length){let r={path:""};e=(0,i.Jt)(this,t,r),n=r.path}else n=Array.isArray(t)?(0,i.S8)(t):t;this._setPendingPropertyOrPath(n,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var n;this._addPropertyEffect(t,A.READ_ONLY),e&&(this["_set"+(n=t,n[0].toUpperCase()+n.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,n){let r={property:t,method:e,dynamicFn:Boolean(n)};this._addPropertyEffect(t,A.OBSERVE,{fn:T,info:r,trigger:{name:t}}),n&&this._addPropertyEffect(e,A.OBSERVE,{fn:T,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let n=G(t);if(!n)throw new Error("Malformed observer expression '"+t+"'");U(this,n,A.OBSERVE,q,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,A.NOTIFY,{fn:I,info:{eventName:(0,a.e)(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,A.REFLECT,{fn:O,info:{attrName:e}})}_createComputedProperty(t,e,n){let r=G(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const o=U(this,r,A.COMPUTE,R,t,n);C(this,v)[t]=o}_marshalArgs(t,e,n){const r=this.__data,o=[];for(let a=0,s=t.length;a<s;a++){let{name:s,structured:l,wildcard:c,value:d,literal:p}=t[a];if(!p)if(c){const t=(0,i.K9)(s,e),o=J(r,n,t?e:s);d={path:t?e:s,value:o,base:t?(0,i.Jt)(r,s):o}}else d=l?J(r,n,s):r[s];if(w.oO&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return x;o[a]=d}return o}static addPropertyEffect(t,e,n){this.prototype._addPropertyEffect(t,e,n)}static createPropertyObserver(t,e,n){this.prototype._createPropertyObserver(t,e,n)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,n){this.prototype._createComputedProperty(t,e,n)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let n=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==n;if(!r)for(let t in n.propertyEffects)this._createPropertyAccessor(t);if(e)if(n=Object.create(n),n.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;n.parent=e,e.lastChild=n,n.previousSibling=r,r?r.nextSibling=n:e.firstChild=n}else this.__templateInfo=n;else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(t,e,n){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(n)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),nt.push(this);let n=super._stampTemplate(t,e);if(nt.pop(),e.nodeList=n.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=n.firstChild;e;e=e.nextSibling)t.push(e)}return n.templateInfo=e,function(t,e){let{nodeList:n,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let o=r[e],i=n[e],a=o.bindings;if(a)for(let e=0;e<a.length;e++){let n=a[e];j(i,n),F(i,t,n)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:n,nextSibling:o,parent:i}=e;n?n.nextSibling=o:i&&(i.firstChild=o),o?o.previousSibling=n:i&&(i.lastChild=n),e.nextSibling=e.previousSibling=null;let a=e.childNodes;for(let t=0;t<a.length;t++){let e=a[t];(0,r.L)((0,r.L)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,n,r){let o=e._parseTemplateNode.call(this,t,n,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,n);e&&(t.textContent=K(e)||" ",$(this,n,r,"text","textContent",e),o=!0)}return o}static _parseTemplateNodeAttribute(t,n,r,o,i){let s=this._parseBindings(i,n);if(s){let e=o,i="property";k.test(o)?i="attribute":"$"==o[o.length-1]&&(o=o.slice(0,-1),i="attribute");let l=K(s);return l&&"attribute"==i&&("class"==o&&t.hasAttribute("class")&&(l+=" "+t.getAttribute(o)),t.setAttribute(o,l)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(o,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(o=(0,a.I)(o)),$(this,n,r,i,o,s,l),!0}return e._parseTemplateNodeAttribute.call(this,t,n,r,o,i)}static _parseTemplateNestedTemplate(t,n,r){let o=e._parseTemplateNestedTemplate.call(this,t,n,r);const i=t.parentNode,a=r.templateInfo,s="dom-if"===i.localName,l="dom-repeat"===i.localName;w.fF&&(s||l)&&(i.removeChild(t),(r=r.parentInfo).templateInfo=a,r.noted=!0,o=!1);let c=a.hostProps;if(w.s&&s)c&&(n.hostProps=Object.assign(n.hostProps||{},c),w.fF||(r.parentInfo.noted=!0));else{let t="{";for(let e in c){$(this,n,r,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return o}static _parseBindings(t,e){let n,r=[],o=0;for(;null!==(n=X.exec(t));){n.index>o&&r.push({literal:t.slice(o,n.index)});let i=n[1][0],a=Boolean(n[2]),s=n[3].trim(),l=!1,c="",d=-1;"{"==i&&(d=s.indexOf("::"))>0&&(c=s.substring(d+2),s=s.substring(0,d),l=!0);let p=G(s),h=[];if(p){let{args:t,methodName:n}=p;for(let e=0;e<t.length;e++){let n=t[e];n.literal||h.push(n)}let r=e.dynamicFns;(r&&r[n]||p.static)&&(h.push(n),p.dynamicFn=!0)}else h.push(s);r.push({source:s,mode:i,negate:a,customEvent:l,signature:p,dependencies:h,event:c}),o=X.lastIndex}if(o&&o<t.length){let e=t.substring(o);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,n,r,o,a){let s;return s=e.signature?q(t,n,r,0,e.signature):n!=e.source?(0,i.Jt)(t,e.source):a&&(0,i.uf)(n)?(0,i.Jt)(t,n):t.__data[n],e.negate&&(s=!s),s}}}),nt=[]},70087(t,e,n){"use strict";n.d(e,{k:()=>i});n(97695);function r(t,e,n){return{index:t,removed:e,addedCount:n}}function o(t,e,n,o,i,s){let l,c=0,d=0,p=Math.min(n-e,s-i);if(0==e&&0==i&&(c=function(t,e,n){for(let r=0;r<n;r++)if(!a(t[r],e[r]))return r;return n}(t,o,p)),n==t.length&&s==o.length&&(d=function(t,e,n){let r=t.length,o=e.length,i=0;for(;i<n&&a(t[--r],e[--o]);)i++;return i}(t,o,p-c)),i+=c,s-=d,(n-=d)-(e+=c)==0&&s-i==0)return[];if(e==n){for(l=r(e,[],0);i<s;)l.removed.push(o[i++]);return[l]}if(i==s)return[r(e,[],n-e)];let h=function(t){let e=t.length-1,n=t[0].length-1,r=t[e][n],o=[];for(;e>0||n>0;){if(0==e){o.push(2),n--;continue}if(0==n){o.push(3),e--;continue}let i,a=t[e-1][n-1],s=t[e-1][n],l=t[e][n-1];i=s<l?s<a?s:a:l<a?l:a,i==a?(a==r?o.push(0):(o.push(1),r=a),e--,n--):i==s?(o.push(3),e--,r=s):(o.push(2),n--,r=l)}return o.reverse(),o}(function(t,e,n,r,o,i){let s=i-o+1,l=n-e+1,c=new Array(s);for(let t=0;t<s;t++)c[t]=new Array(l),c[t][0]=t;for(let t=0;t<l;t++)c[0][t]=t;for(let n=1;n<s;n++)for(let i=1;i<l;i++)if(a(t[e+i-1],r[o+n-1]))c[n][i]=c[n-1][i-1];else{let t=c[n-1][i]+1,e=c[n][i-1]+1;c[n][i]=t<e?t:e}return c}(t,e,n,o,i,s));l=void 0;let u=[],f=e,m=i;for(let t=0;t<h.length;t++)switch(h[t]){case 0:l&&(u.push(l),l=void 0),f++,m++;break;case 1:l||(l=r(f,[],0)),l.addedCount++,f++,l.removed.push(o[m]),m++;break;case 2:l||(l=r(f,[],0)),l.addedCount++,f++;break;case 3:l||(l=r(f,[],0)),l.removed.push(o[m]),m++}return l&&u.push(l),u}function i(t,e){return o(t,0,t.length,e,0,e.length)}function a(t,e){return t===e}},90347(t,e,n){"use strict";n.d(e,{EV:()=>c,_3:()=>d});n(97695);let r=0,o=0,i=[],a=0,s=!1,l=document.createTextNode("");new window.MutationObserver(function(){s=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout(()=>{throw t})}}i.splice(0,t),o+=t}).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},d={run:t=>(s||(s=!0,l.textContent=a++),i.push(t),r++),cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},97695(){"use strict";window.JSCompiler_renameProperty=function(t,e){return t}},10848(t,e,n){"use strict";n.d(e,{I:()=>a,e:()=>s});n(97695);const r={},o=/-[a-z]/g,i=/([A-Z])/g;function a(t){return r[t]||(r[t]=t.indexOf("-")<0?t:t.replace(o,t=>t[1].toUpperCase()))}function s(t){return r[t]||(r[t]=t.replace(i,"-$1").toLowerCase())}},74632(t,e,n){"use strict";n.d(e,{Oy:()=>i,aq:()=>r,pg:()=>a});n(97695),n(29786),n(90347);class r{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,o.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(t,e,n){return t instanceof r?t._cancelAsync():t=new r,t.setConfig(e,n),t}}let o=new Set;const i=function(t){o.add(t)},a=function(){const t=Boolean(o.size);return o.forEach(t=>{try{t.flush()}catch(t){setTimeout(()=>{throw t})}}),t}},34641(t,e,n){"use strict";n.d(e,{O:()=>r.Oy,b:()=>o});n(97695);var r=n(74632);const o=function(){let t,e;do{t=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),e=(0,r.pg)()}while(t||e)}},15055(t,e,n){"use strict";n.d(e,{Ix:()=>q,ch:()=>N,pQ:()=>H,wB:()=>R});n(97695);var r=n(90347),o=n(74632),i=n(12822),a=n(13107);let s="string"==typeof document.head.style.touchAction,l="__polymerGestures",c="__polymerGesturesHandled",d="__polymerGesturesTouchAction",p=["mousedown","mousemove","mouseup","click"],h=[0,1,4,2],u=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function f(t){return p.indexOf(t)>-1}let m=!1;function g(t){if(!f(t)&&"touchend"!==t)return s&&m&&i.Hp?{passive:!0}:void 0}!function(){try{let t=Object.defineProperty({},"passive",{get(){m=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();let b=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const y=[],w={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},_={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function x(t){return w[t.localName]||!1}function A(t){let e=Array.prototype.slice.call(t.labels||[]);if(!e.length){e=[];try{let n=t.getRootNode();if(t.id){let r=n.querySelectorAll(`label[for = '${t.id}']`);for(let t=0;t<r.length;t++)e.push(r[t])}}catch(t){}}return e}let v=function(t){let e=t.sourceCapabilities;if((!e||e.firesTouchEvents)&&(t[c]={skip:!0},"click"===t.type)){let e=!1,n=T(t);for(let t=0;t<n.length;t++){if(n[t].nodeType===Node.ELEMENT_NODE)if("label"===n[t].localName)y.push(n[t]);else if(x(n[t])){let r=A(n[t]);for(let t=0;t<r.length;t++)e=e||y.indexOf(r[t])>-1}if(n[t]===E.mouse.target)return}if(e)return;t.preventDefault(),t.stopPropagation()}};function k(t){let e=b?["click"]:p;for(let n,r=0;r<e.length;r++)n=e[r],t?(y.length=0,document.addEventListener(n,v,!0)):document.removeEventListener(n,v,!0)}function C(t){let e=t.type;if(!f(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!u&&(e=h[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}let E={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function S(t,e,n){t.movefn=e,t.upfn=n,document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)}function M(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}i.bK&&document.addEventListener("touchend",function(t){if(!i.bK)return;E.mouse.mouseIgnoreJob||k(!0),E.mouse.target=T(t)[0],E.mouse.mouseIgnoreJob=o.aq.debounce(E.mouse.mouseIgnoreJob,r.EV.after(2500),function(){k(),E.mouse.target=null,E.mouse.mouseIgnoreJob=null})},!!m&&{passive:!0});const T=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],L={},B=[];function I(t){const e=T(t);return e.length>0?e[0]:t.target}function O(t){let e,n=t.type,r=t.currentTarget[l];if(!r)return;let o=r[n];if(o){if(!t[c]&&(t[c]={},"touch"===n.slice(0,5))){let e=t.changedTouches[0];if("touchstart"===n&&1===t.touches.length&&(E.touch.id=e.identifier),E.touch.id!==e.identifier)return;s||"touchstart"!==n&&"touchmove"!==n||function(t){let e=t.changedTouches[0],n=t.type;if("touchstart"===n)E.touch.x=e.clientX,E.touch.y=e.clientY,E.touch.scrollDecided=!1;else if("touchmove"===n){if(E.touch.scrollDecided)return;E.touch.scrollDecided=!0;let n=function(t){let e="auto",n=T(t);for(let t,r=0;r<n.length;r++)if(t=n[r],t[d]){e=t[d];break}return e}(t),r=!1,o=Math.abs(E.touch.x-e.clientX),i=Math.abs(E.touch.y-e.clientY);t.cancelable&&("none"===n?r=!0:"pan-x"===n?r=i>o:"pan-y"===n&&(r=o>i)),r?t.preventDefault():P("track")}}(t)}if(e=t[c],!e.skip){for(let n,r=0;r<B.length;r++)n=B[r],o[n.name]&&!e[n.name]&&n.flow&&n.flow.start.indexOf(t.type)>-1&&n.reset&&n.reset();for(let r,i=0;i<B.length;i++)r=B[i],o[r.name]&&!e[r.name]&&(e[r.name]=!0,r[n](t))}}}function N(t,e,n){return!!L[e]&&(function(t,e,n){let r=L[e],o=r.deps,i=r.name,a=t[l];a||(t[l]=a={});for(let e,n,r=0;r<o.length;r++)e=o[r],b&&f(e)&&"click"!==e||(n=a[e],n||(a[e]=n={_count:0}),0===n._count&&t.addEventListener(e,O,g(e)),n[i]=(n[i]||0)+1,n._count=(n._count||0)+1);t.addEventListener(e,n),r.touchAction&&R(t,r.touchAction)}(t,e,n),!0)}function H(t,e,n){return!!L[e]&&(function(t,e,n){let r=L[e],o=r.deps,i=r.name,a=t[l];if(a)for(let e,n,r=0;r<o.length;r++)e=o[r],n=a[e],n&&n[i]&&(n[i]=(n[i]||1)-1,n._count=(n._count||1)-1,0===n._count&&t.removeEventListener(e,O,g(e)));t.removeEventListener(e,n)}(t,e,n),!0)}function z(t){B.push(t);for(let e=0;e<t.emits.length;e++)L[t.emits[e]]=t}function R(t,e){s&&t instanceof HTMLElement&&r._3.run(()=>{t.style.touchAction=e}),t[d]=e}function $(t,e,n){let r=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=n,(0,a.L)(t).dispatchEvent(r),r.defaultPrevented){let t=n.preventer||n.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function P(t){let e=function(t){for(let e,n=0;n<B.length;n++){e=B[n];for(let n,r=0;r<e.emits.length;r++)if(n=e.emits[r],n===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function D(t,e,n,r){e&&$(e,t,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(t){return P(t)}})}function j(t,e,n){if(t.prevent)return!1;if(t.started)return!0;let r=Math.abs(t.x-e),o=Math.abs(t.y-n);return r>=5||o>=5}function F(t,e,n){if(!e)return;let r,o=t.moves[t.moves.length-2],i=t.moves[t.moves.length-1],a=i.x-t.x,s=i.y-t.y,l=0;o&&(r=i.x-o.x,l=i.y-o.y),$(e,"track",{state:t.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:l,sourceEvent:n,hover:function(){return function(t,e){let n=document.elementFromPoint(t,e),r=n;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let o=r;if(r=r.shadowRoot.elementFromPoint(t,e),o===r)break;r&&(n=r)}return n}(n.clientX,n.clientY)}})}function U(t,e,n){let r=Math.abs(e.clientX-t.x),o=Math.abs(e.clientY-t.y),i=I(n||e);!i||_[i.localName]&&i.hasAttribute("disabled")||(isNaN(r)||isNaN(o)||r<=25&&o<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;let e=I(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;let n=e.getBoundingClientRect(),r=t.pageX,o=t.pageY;return!(r>=n.left&&r<=n.right&&o>=n.top&&o<=n.bottom)}return!1}(e))&&(t.prevent||$(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:n}))}z({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){M(this.info)},mousedown:function(t){if(!C(t))return;let e=I(t),n=this;S(this.info,function(t){C(t)||(D("up",e,t),M(n.info))},function(t){C(t)&&D("up",e,t),M(n.info)}),D("down",e,t)},touchstart:function(t){D("down",I(t),t.changedTouches[0],t)},touchend:function(t){D("up",I(t),t.changedTouches[0],t)}}),z({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,M(this.info)},mousedown:function(t){if(!C(t))return;let e=I(t),n=this,r=function(t){let r=t.clientX,o=t.clientY;j(n.info,r,o)&&(n.info.state=n.info.started?"mouseup"===t.type?"end":"track":"start","start"===n.info.state&&P("tap"),n.info.addMove({x:r,y:o}),C(t)||(n.info.state="end",M(n.info)),e&&F(n.info,e,t),n.info.started=!0)};S(this.info,r,function(t){n.info.started&&r(t),M(n.info)}),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){let e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){let e=I(t),n=t.changedTouches[0],r=n.clientX,o=n.clientY;j(this.info,r,o)&&("start"===this.info.state&&P("tap"),this.info.addMove({x:r,y:o}),F(this.info,e,n),this.info.state="track",this.info.started=!0)},touchend:function(t){let e=I(t),n=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),F(this.info,e,n))}}),z({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(t){C(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click:function(t){C(t)&&U(this.info,t)},touchstart:function(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend:function(t){U(this.info,t.changedTouches[0],t)}});const q=I},47351(t,e,n){"use strict";n.d(e,{q:()=>a});n(97695);const r=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class o{constructor(t,e){s(t,e);const n=e.reduce((e,n,r)=>e+i(n)+t[r+1],t[0]);this.value=n.toString()}toString(){return this.value}}function i(t){if(t instanceof o)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const a=function(t,...e){s(t,e);const n=document.createElement("template");let a=e.reduce((e,n,r)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof o)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(n)+t[r+1],t[0]);return r&&(a=r.createHTML(a)),n.innerHTML=a,n},s=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},29786(t,e,n){"use strict";n.d(e,{y:()=>i});n(97695);let r=0;function o(){}o.prototype.__mixinApplications,o.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let n=r++;return function(r){let o=r.__mixinSet;if(o&&o[n])return r;let i=e,a=i.get(r);if(!a){a=t(r),i.set(r,a);let e=Object.create(a.__mixinSet||o||null);e[n]=!0,a.__mixinSet=e}return a}}},86956(t,e,n){"use strict";n.d(e,{Jt:()=>p,K9:()=>a,QX:()=>i,S8:()=>c,Tl:()=>s,cK:()=>l,hZ:()=>h,uf:()=>r,zr:()=>o});n(97695);function r(t){return t.indexOf(".")>=0}function o(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function a(t,e){return 0===e.indexOf(t+".")}function s(t,e,n){return e+n.slice(t.length)}function l(t,e){return t===e||i(t,e)||a(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let n=0;n<t.length;n++){let r=t[n].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function d(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function p(t,e,n){let r=t,o=d(e);for(let t=0;t<o.length;t++){if(!r)return;r=r[o[t]]}return n&&(n.path=o.join(".")),r}function h(t,e,n){let r=t,o=d(e),i=o[o.length-1];if(o.length>1){for(let t=0;t<o.length-1;t++){if(r=r[o[t]],!r)return}r[i]=n}else r[e]=n;return o.join(".")}},77410(t,e,n){"use strict";n.d(e,{m:()=>c});n(97695);let r=!1,o=[],i=[];function a(){r=!0,requestAnimationFrame(function(){r=!1,s(o),setTimeout(function(){!function(t){for(let e=0,n=t.length;e<n;e++)l(t.shift())}(i)})})}function s(t){for(;t.length;)l(t.shift())}function l(t){const e=t[0],n=t[1],r=t[2];try{n.apply(e,r)}catch(t){setTimeout(()=>{throw t})}}function c(t,e,n){r||a(),i.push([t,e,n])}},78803(t,e,n){"use strict";n.d(e,{O2:()=>s,c0:()=>l,rG:()=>c});n(97695);let r,o,i=/(url\()([^)]*)(\))/g,a=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function s(t,e){if(t&&a.test(t))return t;if("//"===t)return t;if(void 0===r){r=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",r="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),r)try{return new URL(t,e).href}catch(e){return t}return o||(o=document.implementation.createHTMLDocument("temp"),o.base=o.createElement("base"),o.head.appendChild(o.base),o.anchor=o.createElement("a"),o.body.appendChild(o.anchor)),o.base.href=e,o.anchor.href=t,o.anchor.href||t}function l(t,e){return t.replace(i,function(t,n,r,o){return n+"'"+s(r.replace(/["']/g,""),e)+"'"+o})}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},12822(t,e,n){"use strict";n.d(e,{CE:()=>_,F3:()=>h,Hp:()=>l,IP:()=>p,Kp:()=>u,Xj:()=>m,bK:()=>g,dV:()=>s,ek:()=>d,fF:()=>b,oO:()=>f,qM:()=>i,s:()=>y,sv:()=>o,vK:()=>x,w9:()=>w,wA:()=>a,yu:()=>c});n(97695);var r=n(78803);const o=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,o&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let a=window.Polymer&&window.Polymer.rootPath||(0,r.rG)(document.baseURI||window.location.href);let s=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;let l=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;let c=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;let d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;let p=window.Polymer&&window.Polymer.legacyOptimizations||!1;let h=window.Polymer&&window.Polymer.legacyWarnings||!1;let u=window.Polymer&&window.Polymer.syncInitialRender||!1;let f=window.Polymer&&window.Polymer.legacyUndefined||!1;let m=window.Polymer&&window.Polymer.orderedComputed||!1;let g=!0;let b=window.Polymer&&window.Polymer.removeNestedTemplates||!1;let y=window.Polymer&&window.Polymer.fastDomIf||!1;let w=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;let _=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;let x=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},87684(t,e,n){"use strict";n.d(e,{Ho:()=>p,Vg:()=>u,nX:()=>d});var r=n(77976),o=n(78803);const i="shady-unscoped";function a(t){return r.$.import(t)}function s(t){let e=t.body?t.body:t;const n=(0,o.c0)(e.textContent,t.baseURI),r=document.createElement("style");return r.textContent=n,r}function l(t){const e=t.trim().split(/\s+/),n=[];for(let t=0;t<e.length;t++)n.push(...c(e[t]));return n}function c(t){const e=a(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...h(e));const n=e.querySelector("template");n&&t.push(...d(n,e.assetpath)),e._styles=t}return e._styles}function d(t,e){if(!t._styles){const n=[],r=t.content.querySelectorAll("style");for(let t=0;t<r.length;t++){let i=r[t],a=i.getAttribute("include");a&&n.push(...l(a).filter(function(t,e,n){return n.indexOf(t)===e})),e&&(i.textContent=(0,o.c0)(i.textContent,e)),n.push(i)}t._styles=n}return t._styles}function p(t){let e=a(t);return e?h(e):[]}function h(t){const e=[],n=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<n.length;t++){let r=n[t];if(r.import){const t=r.import,n=r.hasAttribute(i);if(n&&!t._unscopedStyle){const e=s(t);e.setAttribute(i,""),t._unscopedStyle=e}else t._style||(t._style=s(t));e.push(n?t._unscopedStyle:t._style)}}return e}function u(t){let e=t.trim().split(/\s+/),n="";for(let t=0;t<e.length;t++)n+=f(e[t]);return n}function f(t){let e=a(t);if(e&&void 0===e._cssText){let t=m(e),n=e.querySelector("template");n&&(t+=function(t,e){let n="";const r=d(t,e);for(let t=0;t<r.length;t++){let e=r[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}(n,e.assetpath)),e._cssText=t||null}return e||console.warn("Could not find style data in module named",t),e&&e._cssText||""}function m(t){let e="",n=h(t);for(let t=0;t<n.length;t++)e+=n[t].textContent;return e}},52428(t,e,n){"use strict";n.d(e,{cn:()=>r,kz:()=>i});function r(){0}const o=[];function i(t){o.push(t)}},13107(t,e,n){"use strict";n.d(e,{L:()=>r});const r=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},71226(t,e,n){"use strict";n.d(e,{Pu:()=>o});var r=n(29970);n(47351);const o=(0,r.q2)(HTMLElement)},69130(t,e,n){"use strict";n.d(e,{C6:()=>tt,qy:()=>Q.q});var r=n(94794),o=(n(95586),n(97695),n(91865)),i=n(29786);function a(t,e,n,r,o){let i;o&&(i="object"==typeof n&&null!==n,i&&(r=t.__dataTemp[e]));let a=r!==n&&(r==r||n==n);return i&&a&&(t.__dataTemp[e]=n),a}const s=(0,i.y)(t=>class extends t{_shouldPropertyChange(t,e,n){return a(this,t,e,n,!0)}}),l=(0,i.y)(t=>class extends t{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(t,e,n){return a(this,t,e,n,this.mutableData)}});s._mutablePropertyChange=a;var c=n(12822),d=n(13107);let p=null;function h(){return p}h.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:h,writable:!0}});const u=(0,o.s)(h),f=s(u);const m=(0,o.s)(class{});function g(t,e){for(let n=0;n<e.length;n++){let r=e[n];if(Boolean(t)!=Boolean(r.__hideTemplateChildren__))if(r.nodeType===Node.TEXT_NODE)t?(r.__polymerTextContent__=r.textContent,r.textContent=""):r.textContent=r.__polymerTextContent__;else if("slot"===r.localName)if(t)r.__polymerReplaced__=document.createComment("hidden-slot"),(0,d.L)((0,d.L)(r).parentNode).replaceChild(r.__polymerReplaced__,r);else{const t=r.__polymerReplaced__;t&&(0,d.L)((0,d.L)(t).parentNode).replaceChild(r,t)}else r.style&&(t?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r.__polymerDisplay__);r.__hideTemplateChildren__=t,r._showHideChildren&&r._showHideChildren(t)}}class b extends m{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let t=this.root.firstChild;t;t=t.nextSibling)e.push(t),t.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let n=this.__templatizeOptions;(t&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(let e in t)this._setPendingProperty(e,t[e])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,n){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,t=>{t.model=this,n(t)});else{let r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(t,e,n)}}_showHideChildren(t){g(t,this.children)}_setUnmanagedPropertyToNode(t,e,n){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&"textContent"==e?t.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(t,e,n)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do{t=t.__dataHost.__dataHost}while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}b.prototype.__dataHost,b.prototype.__templatizeOptions,b.prototype._methodHost,b.prototype.__templatizeOwner,b.prototype.__hostProps;const y=s(b);function w(t){let e=t.__dataHost;return e&&e._methodHost||e}function _(t,e,n){let r=n.mutableData?y:b;C.mixin&&(r=C.mixin(r));let o=class extends r{};return o.prototype.__templatizeOptions=n,o.prototype._bindTemplate(t),function(t,e,n,r){let o=n.hostProps||{};for(let e in r.instanceProps){delete o[e];let n=r.notifyInstanceProp;n&&t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:v(e,n)})}if(r.forwardHostProp&&e.__dataHost)for(let e in o)n.hasHostProps||(n.hasHostProps=!0),t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:k()})}(o,t,e,n),o}function x(t,e,n,r){let o=n.forwardHostProp;if(o&&e.hasHostProps){const s="template"==t.localName;let l=e.templatizeTemplateClass;if(!l){if(s){let t=n.mutableData?f:u;class r extends t{}l=e.templatizeTemplateClass=r}else{const n=t.constructor;class r extends n{}l=e.templatizeTemplateClass=r}let i=e.hostProps;for(let t in i)l.prototype._addPropertyEffect("_host_"+t,l.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:A(t,o)}),l.prototype._createNotifyingProperty("_host_"+t);c.F3&&r&&function(t,e,n){const r=n.constructor._properties,{propertyEffects:o}=t,{instanceProps:i}=e;for(let t in o)if(!(r[t]||i&&i[t])){const e=o[t];for(let n=0;n<e.length;n++){const{part:r}=e[n].info;if(!r.signature||!r.signature.static){console.warn(`Property '${t}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}(e,n,r)}if(t.__dataProto&&Object.assign(t.__data,t.__dataProto),s)a=l,p=i=t,Object.setPrototypeOf(i,a.prototype),new a,p=null,t.__dataTemp={},t.__dataPending=null,t.__dataOld=null,t._enableProperties();else{Object.setPrototypeOf(t,l.prototype);const n=e.hostProps;for(let e in n)if(e="_host_"+e,e in t){const n=t[e];delete t[e],t.__data[e]=n}}}var i,a}function A(t,e){return function(t,n,r){e.call(t.__templatizeOwner,n.substring(6),r[n])}}function v(t,e){return function(t,n,r){e.call(t.__templatizeOwner,t,n,r[n])}}function k(){return function(t,e,n){t.__dataHost._setPendingPropertyOrPath("_host_"+e,n[e],!0,!0)}}function C(t,e,n){if(c.yu&&!w(t))throw new Error("strictTemplatePolicy: template owner not trusted");if(n=n||{},t.__templatizeOwner)throw new Error("A <template> can only be templatized once");t.__templatizeOwner=e;let r=(e?e.constructor:b)._parseTemplate(t),o=r.templatizeInstanceClass;o||(o=_(t,r,n),r.templatizeInstanceClass=o);const i=w(t);x(t,r,n,i);let a=class extends o{};return a.prototype._methodHost=i,a.prototype.__dataHost=t,a.prototype.__templatizeOwner=e,a.prototype.__hostProps=r.hostProps,a}function E(t,e){let n;for(;e;)if(n=e.__dataHost?e:e.__templatizeInstance){if(n.__dataHost==t)return n;e=n.__dataHost}else e=(0,d.L)(e).parentNode;return null}var S=n(26102);let M=!1;function T(){if(c.IP&&!c.sv){if(!M){M=!0;const t=document.createElement("style");t.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(t)}return!0}return!1}const L=(0,S.b)(l((0,o.s)(HTMLElement)));customElements.define("dom-bind",class extends L{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),c.yu)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(t,e,n,r){this.mutableData=!0}connectedCallback(){T()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){(0,d.L)((0,d.L)(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let t=0;t<this.__children.length;t++)this.root.appendChild(this.__children[t])}render(){let t;if(!this.__children){if(t=t||this.querySelector("template"),!t){let e=new MutationObserver(()=>{if(t=this.querySelector("template"),!t)throw new Error("dom-bind requires a <template> child");e.disconnect(),this.render()});return void e.observe(this,{childList:!0})}this.root=this._stampTemplate(t),this.$=this.root.$,this.__children=[];for(let t=this.root.firstChild;t;t=t.nextSibling)this.__children[this.__children.length]=t;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});var B=n(71226),I=n(74632),O=n(34641),N=n(86956),H=n(90347);const z=l(B.Pu);class R extends z{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!c.w9,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),T()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=(0,d.L)((0,d.L)(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let t=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");t.disconnect(),this.__render()});return t.observe(this,{childList:!0}),!1}let n={};n[this.as]=!0,n[this.indexAs]=!0,n[this.itemsIndexAs]=!0,this.__ctor=C(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:n,forwardHostProp:function(t,e){let n=this.__instances;for(let r,o=0;o<n.length&&(r=n[o]);o++)r.forwardHostProp(t,e)},notifyInstanceProp:function(t,e,n){if((0,N.cK)(this.as,e)){let r=t[this.itemsIndexAs];e==this.as&&(this.items[r]=n);let o=(0,N.Tl)(this.as,`${JSCompiler_renameProperty("items",this)}.${r}`,e);this.notifyPath(o,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if("string"==typeof t){let e=t,n=this.__getMethodHost();return function(){return n[e].apply(n,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn)if(t){if(this.__observePaths){let e=this.__observePaths;for(let n=0;n<e.length;n++)0===t.indexOf(e[n])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||("items"===t.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=I.aq.debounce(this.__renderDebouncer,e>0?H.EV.after(e):H._3,t.bind(this)),(0,O.O)(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),(0,O.b)()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),n=this.__calculateLimit(e.length);this.__updateInstances(t,n,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),c.w9&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let n=0;n<t.length;n++)e[n]=n;return this.__filterFn&&(e=e.filter((e,n,r)=>this.__filterFn(t[e],n,r))),this.__sortFn&&e.sort((e,n)=>this.__sortFn(t[e],t[n])),e}__calculateLimit(t){let e=t;const n=this.__instances.length;if(this.initialCount){let r;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),r=Math.max(e-n,0),this.__chunkCount=r||1):(r=Math.min(Math.max(t-n,0),this.__chunkCount),e=Math.min(n+r,t)),this.__shouldMeasureChunk=r===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,n){const r=this.__itemsIdxToInstIdx={};let o;for(o=0;o<e;o++){let e=this.__instances[o],i=n[o],a=t[i];r[i]=o,e?(e._setPendingProperty(this.as,a),e._setPendingProperty(this.indexAs,o),e._setPendingProperty(this.itemsIndexAs,i),e._flushProperties()):this.__insertInstance(a,o,i)}for(let t=this.__instances.length-1;t>=o;t--)this.__detachAndRemoveInstance(t)}__detachInstance(t){let e=this.__instances[t];const n=(0,d.L)(e.root);for(let t=0;t<e.children.length;t++){let r=e.children[t];n.appendChild(r)}return e}__attachInstance(t,e){let n=this.__instances[t];e.insertBefore(n.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,n){let r={};return r[this.as]=t,r[this.indexAs]=e,r[this.itemsIndexAs]=n,new this.__ctor(r)}__insertInstance(t,e,n){const r=this.__stampInstance(t,e,n);let o=this.__instances[e+1],i=o?o.children[0]:this;return(0,d.L)((0,d.L)(this).parentNode).insertBefore(r.root,i),this.__instances[e]=r,r}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let n=t.slice(6),r=n.indexOf("."),o=r<0?n:n.substring(0,r);if(o==parseInt(o,10)){let t=r<0?"":n.substring(r+1);this.__handleObservedPaths(t);let i=this.__itemsIdxToInstIdx[o],a=this.__instances[i];if(a){let n=this.as+(t?"."+t:"");a._setPendingPropertyOrPath(n,e,!1,!0),a._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return E(this.template,t)}}customElements.define(R.is,R);class $ extends B.Pu{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=I.aq.debounce(this.__renderDebouncer,H._3,()=>this.__render()),(0,O.O)(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();const t=(0,d.L)(this).parentNode;t&&(t.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||(0,d.L)(t).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),T()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){const t=this;let e=t._templateInfo?t:(0,d.L)(t).querySelector("template");if(!e){let t=new MutationObserver(()=>{if(!(0,d.L)(this).querySelector("template"))throw new Error("dom-if requires a <template> child");t.disconnect(),this.__render()});return t.observe(this,{childList:!0}),!1}this.__template=e}return!0}__ensureInstance(){let t=(0,d.L)(this).parentNode;if(this.__hasInstance()){let e=this.__getInstanceNodes();if(e&&e.length){if((0,d.L)(this).previousSibling!==e[e.length-1])for(let n,r=0;r<e.length&&(n=e[r]);r++)(0,d.L)(t).insertBefore(n,this)}}else{if(!t)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(t)}return!0}render(){(0,O.b)()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),c.w9&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(t){}__teardownInstance(){}_showHideChildren(){}}const P=c.s?class extends ${constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(t){const e=this.__dataHost||this;if(c.yu&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");const n=e._bindTemplate(this.__template,!0);n.runEffects=(t,e,n)=>{let r=this.__syncInfo;if(this.if)r&&(this.__syncInfo=null,this._showHideChildren(),e=Object.assign(r.changedProps,e)),t(e,n);else if(this.__instance)if(r||(r=this.__syncInfo={runEffects:t,changedProps:{}}),n)for(const t in e){const e=(0,N.zr)(t);r.changedProps[e]=this.__dataHost[e]}else Object.assign(r.changedProps,e)},this.__instance=e._stampTemplate(this.__template,n),(0,d.L)(t).insertBefore(this.__instance,this)}__syncHostProperties(){const t=this.__syncInfo;t&&(this.__syncInfo=null,t.runEffects(t.changedProps,!1))}__teardownInstance(){const t=this.__dataHost||this;this.__instance&&(t._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,g(t,this.__instance.templateInfo.childNodes)),t||this.__syncHostProperties()}}:class extends ${constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(t){this.__ctor||(this.__ctor=C(this.__template,this,{mutableData:!0,forwardHostProp:function(t,e){this.__instance&&(this.if?this.__instance.forwardHostProp(t,e):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[(0,N.zr)(t)]=!0))}})),this.__instance=new this.__ctor,(0,d.L)(t).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){let t=this.__instance.children;if(t&&t.length){let e=(0,d.L)(t[0]).parentNode;if(e){e=(0,d.L)(e);for(let n,r=0;r<t.length&&(n=t[r]);r++)e.removeChild(n)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){let t=this.__invalidProps;if(t){this.__invalidProps=null;for(let e in t)this.__instance._setPendingProperty(e,this.__dataHost[e]);this.__instance._flushProperties()}}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,this.__instance._showHideChildren(t)),t||this.__syncHostProperties()}};customElements.define(P.is,P);var D=n(70087),j=n(29970);let F=(0,i.y)(t=>{let e=(0,j.q2)(t);return class extends e{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(t,e){let n=e.path;if(n==JSCompiler_renameProperty("items",this)){let n=e.base||[],r=this.__lastItems;if(t!==this.__lastMulti&&this.clearSelection(),r){let t=(0,D.k)(n,r);this.__applySplices(t)}this.__lastItems=n,this.__lastMulti=t}else if(e.path==`${JSCompiler_renameProperty("items",this)}.splices`)this.__applySplices(e.value.indexSplices);else{let t=n.slice(`${JSCompiler_renameProperty("items",this)}.`.length),e=parseInt(t,10);t.indexOf(".")<0&&t==e&&this.__deselectChangedIdx(e)}}__applySplices(t){let e=this.__selectedMap;for(let n=0;n<t.length;n++){let r=t[n];e.forEach((t,n)=>{t<r.index||(t>=r.index+r.removed.length?e.set(n,t+r.addedCount-r.removed.length):e.set(n,-1))});for(let t=0;t<r.addedCount;t++){let n=r.index+t;e.has(this.items[n])&&e.set(this.items[n],n)}}this.__updateLinks();let n=0;e.forEach((t,r)=>{t<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null,e.delete(r)):n++})}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let t=0;this.__selectedMap.forEach(e=>{e>=0&&this.linkPaths(`${JSCompiler_renameProperty("items",this)}.${e}`,`${JSCompiler_renameProperty("selected",this)}.${t++}`)})}else this.__selectedMap.forEach(t=>{this.linkPaths(JSCompiler_renameProperty("selected",this),`${JSCompiler_renameProperty("items",this)}.${t}`),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),`${JSCompiler_renameProperty("items",this)}.${t}`)})}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(t){return this.__selectedMap.has(t)}isIndexSelected(t){return this.isSelected(this.items[t])}__deselectChangedIdx(t){let e=this.__selectedIndexForItemIndex(t);if(e>=0){let t=0;this.__selectedMap.forEach((n,r)=>{e==t++&&this.deselect(r)})}}__selectedIndexForItemIndex(t){let e=this.__dataLinkedPaths[`${JSCompiler_renameProperty("items",this)}.${t}`];if(e)return parseInt(e.slice(`${JSCompiler_renameProperty("selected",this)}.`.length),10)}deselect(t){let e=this.__selectedMap.get(t);if(e>=0){let n;this.__selectedMap.delete(t),this.multi&&(n=this.__selectedIndexForItemIndex(e)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null}}deselectIndex(t){this.deselect(this.items[t])}select(t){this.selectIndex(this.items.indexOf(t))}selectIndex(t){let e=this.items[t];this.isSelected(e)?this.toggle&&this.deselectIndex(t):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(e,t),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),e):this.selected=this.selectedItem=e)}}})(B.Pu);class U extends F{static get is(){return"array-selector"}static get template(){return null}}customElements.define(U.is,U);var q=n(26778),W=n(39999),V=n(82775);const Y=new q.Ay;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(t,e,n){},prepareTemplateDom(t,e){},prepareTemplateStyles(t,e,n){},styleSubtree(t,e){Y.processStyles(),(0,W.U_)(t,e)},styleElement(t){Y.processStyles()},styleDocument(t){Y.processStyles(),(0,W.U_)(document.body,t)},getComputedStyleValue:(t,e)=>(0,W.yd)(t,e),flushCustomStyles(){},nativeCss:V.Us,nativeShadow:V.Eu,cssBuild:V.gp,disableRuntime:V.hS}),window.ShadyCSS.CustomStyleInterface=Y;var X=n(87684);const K="include",G=window.ShadyCSS.CustomStyleInterface;class Z extends HTMLElement{constructor(){super(),this._style=null,G.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const t=this.querySelector("style");if(!t)return null;this._style=t;const e=t.getAttribute(K);return e&&(t.removeAttribute(K),t.textContent=(0,X.Vg)(e)+t.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}let J;window.customElements.define("custom-style",Z),J=s._mutablePropertyChange;Boolean;var Q=n(47351);const tt=(0,r.r)(HTMLElement).prototype},76209(t,e,n){"use strict";n.d(e,{tU:()=>i,u$:()=>r,w3:()=>o});const r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/@media\s(.*)/},39999(t,e,n){"use strict";n.d(e,{Rf:()=>a,U_:()=>o,yd:()=>i});var r=n(76209);function o(t,e){for(let n in e)null===n?t.style.removeProperty(n):t.style.setProperty(n,e[n])}function i(t,e){const n=window.getComputedStyle(t).getPropertyValue(e);return n?n.trim():""}function a(t){const e=r.w3.test(t)||r.u$.test(t);return r.w3.lastIndex=0,r.u$.lastIndex=0,e}},26778(t,e,n){"use strict";n.d(e,{Ay:()=>p});let r,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(t){requestAnimationFrame(function(){i?i(t):(o||(o=new Promise(t=>{r=t}),"complete"===document.readyState?r():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()})),o.then(function(){t&&t()}))})}const s="__seenByShadyCSS",l="__shadyCSSCachedStyle";let c=null,d=null;class p{constructor(){this.customStyles=[],this.enqueued=!1,a(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&d&&(this.enqueued=!0,a(d))}addCustomStyle(t){t[s]||(t[s]=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){if(t[l])return t[l];let e;return e=t.getStyle?t.getStyle():t,e}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const n=t[e];if(n[l])continue;const r=this.getStyleForCustomStyle(n);if(r){const t=r.__appliedElement||r;c&&c(t),n[l]=t}}return t}}p.prototype.addCustomStyle=p.prototype.addCustomStyle,p.prototype.getStyleForCustomStyle=p.prototype.getStyleForCustomStyle,p.prototype.processStyles=p.prototype.processStyles,Object.defineProperties(p.prototype,{transformCallback:{get:()=>c,set(t){c=t}},validateCallback:{get:()=>d,set(t){let e=!1;d||(e=!0),d=t,e&&this.enqueueDocumentValidation()}}})},82775(t,e,n){"use strict";n.d(e,{Eu:()=>r,Us:()=>l,gp:()=>i,hS:()=>s});const r=!(window.ShadyDOM&&window.ShadyDOM.inUse);let o,i;function a(t){o=(!t||!t.shimcssproperties)&&(r||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);const s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?o=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);const l=o},27300(t,e,n){"use strict";var r=n(14607)("ArrayBuffer.prototype.byteLength",!0),o=n(56227);t.exports=function(t){return o(t)?r?r(t):t.byteLength:NaN}},13929(t,e,n){const{parse:r,toHtml:o,walk:i,indexByKey:a,introspect:s,ingest:l,build:c,isDangerousUrl:d,sanitize:p,TAG_LABELS:h,parseStyle:u}=n(85274);const f=new Set(["div","main","article","form"]),m=new Set(["script","style","template","noscript"]),g=t=>String(t&&t.name||"").toLowerCase();function b(t){return(Array.isArray(t)?t:[]).filter(t=>t&&"tag"===t.type&&!m.has(g(t)))}function y(t){let e="";const n=t=>{if(t)if("text"!==t.type){if("tag"===t.type&&!m.has(g(t)))for(const e of t.children||[])n(e)}else e+=" "+String(t.data||"")};return n(t),e.replace(/\s+/g," ").trim()}function w(t,e){let n=0;const r=t=>{if(t&&"tag"===t.type){g(t)===e&&(n+=1);for(const e of t.children||[])r(e)}};return r(t),n}function _(t){let e="";const n=t=>{if(!e&&t&&"tag"===t.type&&!m.has(g(t))){if(/^h[1-6]$/.test(g(t))){const n=y(t);if(n)return void(e=n)}for(const e of t.children||[])n(e)}};return n(t),e}function x(t){return y(t).length>0||w(t,"img")>0}function A(t){let e=b(t.children).filter(x);for(let t=0;t<8&&(1===e.length&&f.has(g(e[0])));t+=1){const t=b(e[0].children).filter(x);if(0===t.length)break;e=t}return e}function v(t){const e=t.reduce((t,e)=>t+y(e).length,0);if(0===e)return t;const n=[];let r=!1;for(const o of t){const t=g(o);if(r){n.push(o);continue}const i=A(o),a=y(o).length>=.5*e&&i.length>=3;("main"===t?i.length>=2:f.has(t)&&a)?(n.push(...i),r=!0):n.push(o)}return r?n:t}const k=new Set(["sr-only","visually-hidden","screen-reader-text","visuallyhidden"]);function C(t,e){let n=null;return i(t,t=>{n||String(t.name||"").toLowerCase()!==e||(n=t)}),n}function E(t,e){const n=r(t),i=String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;"),a=C(n,"head");if(a){if(C([a],"base"))return t;const e=r(`<base href="${i}">`)[0];return e.parent=a,a.children=[e,...a.children||[]],o(n)}return o([...r(`<head><base href="${i}"></head>`),...n])}function S(t,e){const n=Array.isArray(e)?e:[];return 0===n.length?t:{...t,edits:[...t.edits,...n]}}function M(t,e){const n=t&&"generated"===t.origin&&!(!e||!e.scripts),r=t.edits||[],o=t&&"object"==typeof t?T.get(t):null,i=n?"rich":"plain";if(o&&o.html===t.html&&o.edits===r&&o.len===r.length&&null!=o[i])return o[i];const a=c({html:t.html,edits:r},{allowRich:n}).html;if(t&&"object"==typeof t){const e=o&&o.html===t.html&&o.edits===r&&o.len===r.length?o:{html:t.html,edits:r,len:r.length};e[i]=a,T.set(t,e)}return a}const T=new WeakMap;function L(t,e){for(const n of t||[]){"style"===String(n.name||"").toLowerCase()&&e(n),L(n.children||[],e)}}function B(t){const e=[];return L(t,t=>{e.push((t.children||[]).map(t=>t.data||"").join(""))}),i(t,t=>{const n=t.attribs&&t.attribs.style;n&&e.push(n.endsWith(";")?n:`${n};`)}),e.join("\n")}function I(t,e,n){const r=new Map;let o;for(;null!==(o=e.exec(t));){const t=o[1].trim();t&&r.set(t,(r.get(t)||0)+1)}return[...r.entries()].sort((t,e)=>e[1]-t[1]).slice(0,n).map(t=>t[0])}function O(t,e,n){const r=t=>function(t){return Math.max(0,Math.min(255,Math.round(t)))}(t).toString(16).padStart(2,"0");return`#${r(t)}${r(e)}${r(n)}`}function N(t){const e=String(t).trim();let n=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.exec(e);if(n)return`#${(r=n[1],r.length<=4?r.split("").map(t=>t+t).join(""):r).slice(0,6).toLowerCase()}`;var r;if(n=/^rgba?\(\s*([\d.]+%?)\s*,\s*([\d.]+%?)\s*,\s*([\d.]+%?)\s*(?:,\s*[\d.]+%?\s*)?\)$/i.exec(e),n){const t=t=>t.endsWith("%")?255*parseFloat(t)/100:parseFloat(t);return O(t(n[1]),t(n[2]),t(n[3]))}return n=/^hsla?\(\s*([\d.]+)(?:deg)?\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*(?:,\s*[\d.]+%?\s*)?\)$/i.exec(e),n?O(...function(t,e,n){const r=(t%360+360)%360,o=Math.max(0,Math.min(100,e))/100,i=Math.max(0,Math.min(100,n))/100,a=(1-Math.abs(2*i-1))*o,s=a*(1-Math.abs(r/60%2-1)),l=i-a/2;let[c,d,p]=[0,0,0];return[c,d,p]=r<60?[a,s,0]:r<120?[s,a,0]:r<180?[0,a,s]:r<240?[0,s,a]:r<300?[s,0,a]:[a,0,s],[255*(c+l),255*(d+l),255*(p+l)]}(parseFloat(n[1]),parseFloat(n[2]),parseFloat(n[3]))):null}function H(t){const e=parseInt(t.slice(1),16);return[e>>16&255,e>>8&255,255&e]}function z(t,e){const[n,r,o]=H(t),[i,a,s]=H(e);return Math.abs(n-i)<=24&&Math.abs(r-a)<=24&&Math.abs(o-s)<=24}function R(t,e){const n=/(?:^|[^-\w])(#[0-9a-fA-F]{3,8}\b|rgba?\([^)]*\)|hsla?\([^)]*\))/gi,r=new Map;let o;for(;null!==(o=n.exec(t));){const t=N(o[1]);t&&r.set(t,(r.get(t)||0)+1)}return function(t,e){const n=[],r=[...t.entries()].sort((t,e)=>e[1]-t[1]);for(const[t,e]of r){const r=n.find(e=>z(e.rep,t));r?(r.total+=e,e>r.repCount&&(r.rep=t,r.repCount=e)):n.push({rep:t,repCount:e,total:e})}return n.sort((t,e)=>e.total-t.total).slice(0,e).map(t=>t.rep)}(r,e)}const $={px:1,rem:16,em:16,pt:4/3,"%":.16};function P(t){let e=String(t).trim();const n=/^clamp\((.*)\)$/i.exec(e);if(n){const t=function(t,e){const n=[];let r=0,o="";for(const i of t)"("===i&&r++,")"===i&&r--,i===e&&0===r?(n.push(o),o=""):o+=i;return n.push(o),n}(n[1],",");e=(t[t.length-1]||"").trim()}const r=/^(-?[\d.]+)(px|rem|em|pt|%)?$/i.exec(e);if(!r)return null;const o=$[(r[2]||"px").toLowerCase()],i=parseFloat(r[1]);return null==o||Number.isNaN(i)?null:i*o}const D=new Set(["dup","remove","move"]),j=new Set(["html","head","body"]);const F=new Set(["html","head","body","title","meta","link","style","script","base"]);function U(t,e){if(!t||!e||"string"!=typeof e)return null;const n=r(M(t)),{byKey:o}=a(n),i=o.get(e);return!i||F.has(String(i.node.name||"").toLowerCase())?null:{node:i.node,dom:n}}t.exports={createAiDoc:function(t,e){const n=e&&"generated"===e.origin?"generated":"imported",{html:r}=l("string"==typeof t?t:"",{allowRich:"generated"===n}),o=e&&"string"==typeof e.baseHref?e.baseHref.trim():"";return!o||d(o)?{html:r,edits:[],origin:n}:{html:E(r,o),edits:[],origin:n}},appendAiEdits:S,renderAiDoc:M,selectionContext:function(t,e){if(!e||"string"!=typeof e)return null;const{byKey:n}=a(r(M(t))),i=n.get(e);if(!i)return null;const l=i.node,c=s(l)||{};return{key:e,role:c.role,label:h[c.tag]||c.tag||"element",tag:c.tag||"",classes:c.classes||[],text:c.text||"",editable:c.content,html:o([l]).slice(0,2e3)}},demoteAiDoc:function(t){if(!t||"object"!=typeof t||"string"!=typeof t.html)return t;if("imported"===t.origin)return t;const e=r(t.html);return p(e),{...t,html:o(e),origin:"imported"}},flattenAiDoc:function(t){if(!t)return t;if(!t.edits||0===t.edits.length)return t;const e="generated"===t.origin;return{html:c({html:t.html,edits:t.edits},{allowRich:e}).html,edits:[],origin:t.origin||"imported"}},styleDigest:function(t){const e=B(r(M(t))),n=function(t){return[...t].sort((t,e)=>{const n=P(t),r=P(e);return null==n&&null==r?0:null==n?1:null==r?-1:r-n})}(I(e,/font-size\s*:\s*([^;}]+)/gi,6)),o=I(e,/max-width\s*:\s*([^;}]+)/gi,3).filter(t=>{const e=P(t);return null!=e&&e>=600});return{fonts:I(e,/font-family\s*:\s*([^;}]+)/gi,3),sizes:n,colors:R(e,12),radii:I(e,/border-radius\s*:\s*([^;}]+)/gi,3),maxWidth:o[0]||null}},clearAiDocBody:function(t){if(!t)return t;const e=r(M(t)),n=C(e,"body"),o=(n?n.children:e)||[],i=[];for(const t of o){if(!t||"tag"!==t.type)continue;const e=t.attribs&&t.attribs["data-k"];e&&i.push({op:"remove",k:e})}return S(t,i)},sectionsOf:function(t){if(!t)return[];const e=r(M(t)),n=C(e,"body");let o=b(n?n.children:e);for(let t=0;t<8;t+=1){const t=o.filter(x);if(1!==t.length)break;const e=t[0];if(!f.has(g(e)))break;const n=b(e.children);if(0===n.length)break;o=n}return function(t){let e=t;for(let t=0;t<8;t+=1){const t=v(e);if(t===e)break;e=t}return e}(o).map(t=>{const e=g(t),n=y(t);return{key:t.attribs&&t.attribs["data-k"]||"",tag:e,label:_(t)||n.slice(0,60)||h[e]||e,chars:n.length,images:w(t,"img"),links:w(t,"a")}})},contentMap:function(t,e){if(!t||!e)return null;const{byKey:n}=a(r(M(t))),o=n.get(e);if(!o)return null;const i=o.node,s=[],l=[],c=[],d=(t,e)=>{if(!t||"tag"!==t.type)return;const n=g(t);if(m.has(n))return;const r=t.attribs&&t.attribs["data-k"]||"",o=e||function(t){const e=t.attribs||{};if("hidden"in e)return!0;if("true"===String(e["aria-hidden"]||"").toLowerCase())return!0;if(/(^|;)\s*display\s*:\s*none/i.test(String(e.style||"")))return!0;return String(e.class||"").split(/\s+/).some(t=>k.has(t))}(t);if("img"===n)return void(r&&l.length<120&&l.push({k:r,src:String(t.attribs&&t.attribs.src||""),alt:String(t.attribs&&t.attribs.alt||"")}));const i=function(t){return(t&&t.children||[]).filter(t=>t&&"text"===t.type).map(t=>String(t.data||"")).join(" ").replace(/\s+/g," ").trim()}(t);if("a"===n&&r&&c.length<120&&c.push({k:r,href:String(t.attribs&&t.attribs.href||""),text:y(t).slice(0,240)}),i&&r&&"a"!==n&&s.length<120){const t={k:r,tag:n,text:i.slice(0,240)};o&&(t.hidden=!0),s.push(t)}for(const e of t.children||[])d(e,o)};return d(i,!1),{key:e,tag:g(i),text:s,images:l,links:c}},SINGLE_WRAPPER_TAGS:f,patchesFor:function(t,e){if(!t||!e||t===e)return t&&e?[]:null;if(t.html!==e.html||(t.origin||"")!==(e.origin||""))return null;const n=t.edits||[],i=e.edits||[],s=(t,e)=>t===e||JSON.stringify(t)===JSON.stringify(e);let l=0;for(;l<n.length&&l<i.length&&s(n[l],i[l]);)l++;const c=[...n.slice(l),...i.slice(l)];if(0===c.length)return[];const d=M(t),p=M(e),h=a(r(d)).byKey,u=a(r(p)).byKey,f=t=>t&&t.attribs&&t.attribs["data-k"]||null,m=new Set,g=/<style data-k="cdtr-ai-css">[^<]*<\/style>/;let b=null;for(const t of c){if(!t||!t.k)return null;if("css"===t.op){const e=d.match(g),n=p.match(g);if(!e||!n)return null;b={k:t.k,html:n[0]};continue}const e=h.get(t.k)||u.get(t.k);if(!e)continue;let n=e.node;for((D.has(t.op)||"insert"===t.op&&"append"!==t.pos)&&(n=e.parent);n&&(!h.has(f(n))||!u.has(f(n)));)n=n.parent;const r=f(n);if(!r||j.has(String(n.name).toLowerCase()))return null;m.add(r)}const y=(t,e)=>{for(let n=t.get(e).parent;n;n=n.parent)if(m.has(f(n)))return!0;return!1},w=[];let _=0;for(const t of m){const e=y(u,t);if(e!==y(h,t))return null;if(e)continue;const n=o([u.get(t).node]);_+=n.length,w.push({k:t,html:n})}b&&(_+=b.html.length,w.push(b));const x=e.html.length;return x>0&&_>x/2?null:w},imageSwapOps:function(t,e,n){if(!t||!e||"string"!=typeof e)return null;const o=String(n||"").trim();if(!/^https?:\/\//i.test(o)||d(o))return null;const{byKey:s}=a(r(M(t))),l=s.get(e);if(!l)return null;const c=l.node,p=(t,e)=>{const n=t.attribs["data-k"],r=[{op:"attr",k:n,name:"src",value:o}];for(const e of["srcset","sizes","data-src","data-srcset","data-lazy-src"])null!=t.attribs[e]&&r.push({op:"attr",k:n,name:e,value:null});if(e&&"picture"===String(e.name||"").toLowerCase())for(const t of e.children||[])"source"===String(t.name||"").toLowerCase()&&t.attribs&&t.attribs["data-k"]&&r.push({op:"remove",k:t.attribs["data-k"]});return r};if("img"===String(c.name||"").toLowerCase())return p(c,l.parent);const h=u(c.attribs&&c.attribs.style||"");if(/url\(/i.test(String(h["background-image"]||""))||/url\(/i.test(String(h.background||"")))return[{op:"style",k:e,value:{"background-image":`url("${o.replace(/"/g,"%22")}")`}}];const f=[];return i(c.children||[],(t,e)=>{"img"===String(t.name||"").toLowerCase()&&f.push({n:t,p:e||c})}),1===f.length?p(f[0].n,f[0].p):null},removeElementOps:function(t,e){return U(t,e)?[{op:"remove",k:e}]:null},duplicateElementOps:function(t,e){const n=U(t,e);if(!n)return null;const r=new Set;i(n.dom,t=>{const e=t.attribs&&t.attribs["data-k"];e&&r.add(e)});const o=[];i([n.node],t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.push(e)});let a=1;for(;o.some(t=>r.has(`${t}#${a}`));)a++;return[{op:"dup",k:e,as:`#${a}`}]}}},63706(t,e,n){const{parse:r,indexByKey:o,isDangerousUrl:i}=n(85274),{renderAiDoc:a}=n(13929),s={notify:"data-cdtr-notify",lists:"data-cdtr-lists",thanks:"data-cdtr-thanks",redirect:"data-cdtr-redirect",redirectParams:"data-cdtr-redirect-params",webhook:"data-cdtr-webhook"},l=/^[^\s@,<>"']+@[^\s@,<>"']+\.[^\s@,<>"']+$/;function c(t){const e=String(null==t?"":t).trim();return!e||e.length>1024||!/^https?:\/\//i.test(e)||i(e)?"":e}function d(t){const e=t||{},n=t=>{return(Array.isArray(t)?t:(e=t,String(null==e?"":e).split(",").map(t=>t.trim()).filter(Boolean))).map(t=>String(t).trim());var e},r=[...new Set(n(e.notify).filter(t=>l.test(t)))].slice(0,10),o=[...new Set(n(e.lists).filter(t=>/^[\w-]{1,64}$/.test(t)))],i=String(null==e.thanks?"":e.thanks).replace(/\s+/g," ").trim().slice(0,300),a=c(e.redirect);return{notify:r,lists:o,thanks:i,redirect:a,redirectParams:!!a&&(!0===e.redirectParams||"true"===e.redirectParams),webhook:c(e.webhook)}}function p(t){const e=t||{};return d({notify:e[s.notify],lists:e[s.lists],thanks:e[s.thanks],redirect:e[s.redirect],redirectParams:e[s.redirectParams],webhook:e[s.webhook]})}t.exports={FORM_ATTRS:s,normalizeFormSettings:d,formSettingsFromAttribs:p,formOf:function(t,e){if(!t||!e||"string"!=typeof e)return null;const{byKey:n}=o(r(a(t))),i=n.get(e);if(!i)return null;const s=t=>t&&"tag"===t.type&&"form"===String(t.name||"").toLowerCase(),l=t=>t.attribs&&t.attribs["data-k"]?{key:t.attribs["data-k"],settings:p(t.attribs)}:null;for(let t=i.node;t;t=t.parent)if(s(t))return l(t);const c=[],d=t=>{for(const e of t.children||[])s(e)?c.push(e):d(e)};return d(i.node),1===c.length?l(c[0]):null},formSettingsOps:function(t,e){if(!t||"string"!=typeof t)return[];const n=d(e),r={notify:n.notify.join(",")||null,lists:n.lists.join(",")||null,thanks:n.thanks||null,redirect:n.redirect||null,redirectParams:n.redirectParams?"true":null,webhook:n.webhook||null};return Object.keys(s).map(e=>({op:"attr",k:t,name:s[e],value:r[e]}))},formAutomations:function(t){const e=d(t),n={};return e.lists.length&&(n.add={to:{mailingLists:e.lists.map(t=>({key:t}))}}),e.notify.length&&(n.sendMail={to:e.notify,html:"",text:"",subject:"",from:""}),e.redirect&&(n.redirect={url:e.redirect,forward_params:e.redirectParams}),e.webhook&&(n.sendParams={method:"post",url:e.webhook,type:"http"}),Object.keys(n).length?{when:{submitted:{then:n}}}:null}}},82207(t,e,n){const{TAG_LABELS:r}=n(85274),o=Object.freeze({selected:"cdtr-kit-selected",cleared:"cdtr-kit-cleared",ready:"cdtr-kit-ready",patch:"cdtr-kit-patch",patchFailed:"cdtr-kit-patch-failed",busy:"cdtr-kit-busy",focus:"cdtr-kit-focus",imageAction:"cdtr-kit-image-action",elementAction:"cdtr-kit-element-action",scrolled:"cdtr-kit-scrolled",scrollTo:"cdtr-kit-scroll-to",history:"cdtr-kit-history"}),i=Object.freeze(["replace","crop"]),a=Object.freeze(["remove"]);function s(t){return JSON.stringify(String(null==t?"":t)).replace(/<\//g,"<\\/")}t.exports={FRAME_MESSAGE_TYPES:o,IMAGE_ACTIONS:i,ELEMENT_ACTIONS:a,frameInspectorScript:function(){let{accent:t="#6366f1",origin:e,labels:n={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e||"string"!=typeof e)throw new Error("frameInspectorScript: an explicit parent origin is required");return`\n(function() {\n if (window.__cdtrInspectorActive) return;\n window.__cdtrInspectorActive = true;\n\n var ACCENT = ${s(t)};\n var ORIGIN = ${s(e)};\n var TYPES = ${s(JSON.stringify(o))};\n var NAMES = ${s(JSON.stringify(r))};\n var ELEMENT_ACTION_NAMES = JSON.parse(${s(JSON.stringify(a))});\n var REPLACE_LABEL = ${s(n.replace||"Replace image")};\n var CROP_LABEL = ${s(n.crop||"Crop")};\n var REMOVE_LABEL = ${s(n.remove||"Delete")};\n TYPES = JSON.parse(TYPES);\n NAMES = JSON.parse(NAMES);\n\n var Z = 2147483000;\n function box(extra) {\n var el = document.createElement('div');\n el.style.cssText = 'position:fixed;pointer-events:none;z-index:' + Z + ';display:none;border-radius:3px;' + extra;\n document.body.appendChild(el);\n return el;\n }\n function chip(extra) {\n var el = document.createElement('div');\n el.style.cssText = 'position:fixed;pointer-events:none;z-index:' + (Z + 1) + ';display:none;' +\n 'font:500 11px/1.5 system-ui,sans-serif;color:#fff;padding:2px 7px;border-radius:4px;' +\n 'white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.18);' + extra;\n document.body.appendChild(el);\n return el;\n }\n\n var hoverBox = box('border:1.5px solid ' + ACCENT + '88;background:' + ACCENT + '14;');\n var hoverChip = chip('background:' + ACCENT + 'cc;');\n var lockBox = box('border:2px solid ' + ACCENT + ';box-shadow:0 0 0 3px ' + ACCENT + '33;');\n var lockChip = chip('background:' + ACCENT + ';font-weight:600;');\n var MINE = [hoverBox, hoverChip, lockBox, lockChip];\n\n // ── The element toolbar ──────────────────────────────────────────────\n // Delete on any locked element, so removing a block never needs an AI\n // turn. No duplicate: without a way to move the copy it can only land\n // beside the original, so copying stays with the AI for now. A locked photo also gets replace (the gallery) and crop:\n // an <img> or an element painting a background-image url, the two shapes\n // kit-core's imageSwapOps can rewrite. Built from DOM calls, never markup\n // strings, and the labels come in through jsLiteral.\n var SVGNS0 = 'http://www.w3.org/2000/svg';\n function icon(paths) {\n var svg = document.createElementNS(SVGNS0, 'svg');\n svg.setAttribute('viewBox', '0 0 24 24');\n svg.setAttribute('width', '15');\n svg.setAttribute('height', '15');\n svg.setAttribute('fill', 'none');\n svg.setAttribute('stroke', 'currentColor');\n svg.setAttribute('stroke-width', '2');\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n for (var i = 0; i < paths.length; i++) {\n var p = document.createElementNS(SVGNS0, 'path');\n p.setAttribute('d', paths[i]);\n svg.appendChild(p);\n }\n return svg;\n }\n var tools = document.createElement('div');\n tools.style.cssText = 'position:fixed;z-index:' + (Z + 1) + ';display:none;align-items:center;gap:2px;padding:2px;' +\n 'direction:ltr;background:#18181b;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.28);';\n function toolButton(action, label, paths, hoverColor) {\n var hover = hoverColor || ACCENT;\n var b = document.createElement('button');\n b.type = 'button';\n b.setAttribute('data-action', action);\n b.setAttribute('title', label);\n b.setAttribute('aria-label', label);\n b.style.cssText = 'all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;' +\n 'width:28px;height:28px;border-radius:6px;color:#e4e4e7;cursor:pointer;transition:background .12s,color .12s;';\n b.addEventListener('mouseenter', function() { b.style.background = hover; b.style.color = '#fff'; });\n b.addEventListener('mouseleave', function() { b.style.background = 'transparent'; b.style.color = '#e4e4e7'; });\n b.appendChild(icon(paths));\n tools.appendChild(b);\n return b;\n }\n // A picture with a swap arrow, and the two crop marks.\n var photoButtons = [];\n photoButtons.push(toolButton('replace', REPLACE_LABEL, [\n 'M21 12V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7',\n 'M3 16l5-5 4 4',\n 'M16 19h6', 'M19 16l3 3-3 3',\n 'M15.5 8.5a1.5 1.5 0 1 0 0-.01',\n ]));\n photoButtons.push(toolButton('crop', CROP_LABEL, ['M6 2v14a2 2 0 0 0 2 2h14', 'M18 22V8a2 2 0 0 0-2-2H2']));\n // A thin rule between the photo pair and the element pair.\n var toolRule = document.createElement('span');\n toolRule.style.cssText = 'width:1px;height:16px;margin:0 3px;background:rgba(255,255,255,.18);';\n tools.appendChild(toolRule);\n photoButtons.push(toolRule);\n // A bin.\n toolButton('remove', REMOVE_LABEL, [\n 'M3 6h18', 'M8 6V4h8v2', 'M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6', 'M10 11v6', 'M14 11v6',\n ], '#dc2626');\n document.body.appendChild(tools);\n MINE.push(tools);\n\n function showsPhoto(el) {\n if (!el) return false;\n if (el.tagName === 'IMG') return true;\n var bg = '';\n try { bg = getComputedStyle(el).backgroundImage || ''; } catch (err) { bg = ''; }\n return bg.toLowerCase().indexOf('url(') !== -1;\n }\n function placeTools(el) {\n if (!el || busy) { tools.style.display = 'none'; return; }\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) { tools.style.display = 'none'; return; }\n // The photo pair only where a swap can land, and only on a photo big\n // enough to hold the bar inside it.\n var photo = showsPhoto(el) && r.width >= 48 && r.height >= 36;\n for (var i = 0; i < photoButtons.length; i++) photoButtons[i].style.display = photo ? '' : 'none';\n tools.style.display = 'flex';\n // Above the element's right end, on the same line as the label chip\n // (which place() always puts at the left end, in RTL pages too), so it\n // never covers what is being picked, a photo included. Inside only with\n // no room above.\n var w = tools.offsetWidth || 70;\n var h = tools.offsetHeight || 36;\n var above = r.top - h - 3;\n var top = above < 4 ? Math.max(4, r.top + 6) : above;\n var left = r.right - w;\n tools.style.top = top + 'px';\n tools.style.left = Math.max(4, left) + 'px';\n }\n function hideTools() { tools.style.display = 'none'; }\n\n var lockedKey = null;\n var lockEl = null;\n var hoverEl = null;\n\n /** The nearest ancestor carrying a key. An unkeyed node has no address, so it is not selectable. */\n function keyedFrom(el) {\n while (el && el !== document.body) {\n if (MINE.indexOf(el) !== -1) return null;\n if (el.getAttribute && el.getAttribute('data-k')) return el;\n el = el.parentElement;\n }\n return null;\n }\n\n function labelFor(el) {\n var tag = el.tagName.toLowerCase();\n return NAMES[tag] || tag;\n }\n\n function place(boxEl, chipEl, el) {\n var r = el.getBoundingClientRect();\n // Called every frame while tracking: skip the writes when nothing moved.\n var sig = r.top + ',' + r.left + ',' + r.width + ',' + r.height;\n if (boxEl.__sig === sig && boxEl.style.display === 'block') return;\n boxEl.__sig = sig;\n boxEl.style.display = 'block';\n boxEl.style.top = r.top + 'px';\n boxEl.style.left = r.left + 'px';\n boxEl.style.width = r.width + 'px';\n boxEl.style.height = r.height + 'px';\n chipEl.textContent = labelFor(el);\n chipEl.style.display = 'block';\n chipEl.style.top = Math.max(0, r.top - 20) + 'px';\n chipEl.style.left = r.left + 'px';\n }\n\n function hide(boxEl, chipEl) {\n boxEl.__sig = null;\n boxEl.style.display = 'none';\n chipEl.style.display = 'none';\n }\n\n function post(type, key) {\n window.parent.postMessage({ type: type, key: key || null }, ORIGIN);\n }\n\n function relock() {\n if (!lockedKey) { lockEl = null; hide(lockBox, lockChip); hideTools(); return; }\n // A patch replaces the node, so re-find it by key once it is detached.\n if (!lockEl || !lockEl.isConnected) lockEl = byKey(lockedKey);\n if (lockEl) { place(lockBox, lockChip, lockEl); placeTools(lockEl); }\n else { hide(lockBox, lockChip); hideTools(); }\n }\n\n // Elements move without any event the inspector hears: animations,\n // carousels, images loading and shifting the layout, sticky headers,\n // reveal-on-scroll. Re-place the boxes every frame, but only while one is\n // showing, so an idle page costs nothing.\n var raf = 0;\n function track() {\n raf = 0;\n relock();\n if (hoverEl && hoverEl.isConnected) place(hoverBox, hoverChip, hoverEl);\n else { hoverEl = null; hide(hoverBox, hoverChip); }\n if (lockedKey || hoverEl) raf = requestAnimationFrame(track);\n }\n function startTracking() {\n if (!raf) raf = requestAnimationFrame(track);\n }\n\n document.addEventListener('mouseover', function(e) {\n if (busy) return;\n hoverEl = keyedFrom(e.target);\n if (hoverEl) { place(hoverBox, hoverChip, hoverEl); startTracking(); }\n else hide(hoverBox, hoverChip);\n }, true);\n\n document.addEventListener('mouseout', function() { hoverEl = null; hide(hoverBox, hoverChip); }, true);\n\n document.addEventListener('click', function(e) {\n // The photo toolbar first: keyedFrom ignores it, so its clicks would\n // otherwise read as a click on nothing and drop the selection.\n if (tools.contains(e.target)) {\n e.preventDefault();\n e.stopPropagation();\n if (busy || !lockedKey) return;\n var btn = e.target.closest ? e.target.closest('[data-action]') : null;\n var action = btn && btn.getAttribute('data-action');\n if (!action) return;\n var type = ELEMENT_ACTION_NAMES.indexOf(action) !== -1 ? TYPES.elementAction : TYPES.imageAction;\n window.parent.postMessage({ type: type, key: lockedKey, action: action }, ORIGIN);\n return;\n }\n var el = keyedFrom(e.target);\n e.preventDefault();\n e.stopPropagation();\n if (busy) return;\n if (!el) { lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null); return; }\n var k = el.getAttribute('data-k');\n if (k === lockedKey) { lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null); return; }\n lockedKey = k;\n lockEl = el;\n place(lockBox, lockChip, el);\n placeTools(el);\n startTracking();\n post(TYPES.selected, k);\n }, true);\n\n // Delete or Backspace removes the locked element, as in any design tool.\n // Never while the AI works, and never from a field the page itself owns\n // (a form input in the page takes the key as typing).\n document.addEventListener('keydown', function(e) {\n if (e.key !== 'Delete' && e.key !== 'Backspace') return;\n if (busy || !lockedKey) return;\n var t = e.target;\n var tag = t && t.tagName ? t.tagName.toLowerCase() : '';\n if (tag === 'input' || tag === 'textarea' || tag === 'select' || (t && t.isContentEditable)) return;\n e.preventDefault();\n window.parent.postMessage({ type: TYPES.elementAction, key: lockedKey, action: 'remove' }, ORIGIN);\n }, true);\n\n // Undo and redo belong to the editor; the page has no history of its own.\n // A field in the page keeps its typing undo.\n document.addEventListener('keydown', function(e) {\n if (!(e.ctrlKey || e.metaKey)) return;\n var key = (e.key || '').toLowerCase();\n if (key !== 'z' && key !== 'y') return;\n var t = e.target;\n var tag = t && t.tagName ? t.tagName.toLowerCase() : '';\n if (tag === 'input' || tag === 'textarea' || tag === 'select' || (t && t.isContentEditable)) return;\n e.preventDefault();\n window.parent.postMessage({ type: TYPES.history, action: key === 'y' || e.shiftKey ? 'redo' : 'undo' }, ORIGIN);\n }, true);\n\n function dropLock() {\n lockedKey = null; lockEl = null; hide(lockBox, lockChip); hideTools(); post(TYPES.cleared, null);\n }\n\n\n // ── The AI is working ────────────────────────────────────────────────\n // A veil dims the page and a slow light sweeps it; the elements the AI is\n // reading or changing are cut out of the veil and outlined, so the user\n // sees where it is looking. While it is on the page takes no clicks: a\n // selection made mid-turn would not be the one the AI was sent.\n var busy = false;\n var focusKeys = [];\n var focusEls = {};\n var focusMode = 'read';\n var focusLabel = '';\n var css = document.createElement('style');\n css.textContent =\n '@keyframes cdtrAiSweep{0%{transform:translateY(-40vh)}100%{transform:translateY(140vh)}}' +\n '@keyframes cdtrAiPulse{0%,100%{box-shadow:0 0 0 2px ' + ACCENT + ',0 0 18px 2px ' + ACCENT + '66}50%{box-shadow:0 0 0 2px ' + ACCENT + ',0 0 34px 8px ' + ACCENT + 'aa}}' +\n '@keyframes cdtrAiShimmer{0%{background-position:-150% 0}100%{background-position:250% 0}}' +\n '@keyframes cdtrAiFlash{0%{opacity:1}100%{opacity:0}}' +\n '@media (prefers-reduced-motion:reduce){[data-cdtr-ai]{animation:none!important}}';\n document.head ? document.head.appendChild(css) : document.body.appendChild(css);\n\n var SVGNS = 'http://www.w3.org/2000/svg';\n var veil = document.createElementNS(SVGNS, 'svg');\n veil.setAttribute('data-cdtr-ai', '');\n veil.style.cssText = 'position:fixed;inset:0;width:100vw;height:100vh;z-index:' + (Z - 2) + ';opacity:0;transition:opacity .45s ease;pointer-events:none;';\n var veilPath = document.createElementNS(SVGNS, 'path');\n veilPath.setAttribute('fill-rule', 'evenodd');\n veilPath.setAttribute('fill', 'rgba(20,14,40,.38)');\n veil.appendChild(veilPath);\n document.body.appendChild(veil);\n\n var sweep = document.createElement('div');\n sweep.setAttribute('data-cdtr-ai', '');\n sweep.style.cssText = 'position:fixed;left:0;right:0;top:0;height:28vh;z-index:' + (Z - 1) + ';pointer-events:none;display:none;' +\n 'background:linear-gradient(180deg,transparent,' + ACCENT + '22 45%,rgba(255,255,255,.28) 50%,' + ACCENT + '22 55%,transparent);' +\n 'animation:cdtrAiSweep 2.6s cubic-bezier(.45,0,.55,1) infinite;';\n document.body.appendChild(sweep);\n\n // Swallows clicks and hovers while busy. Wheel still scrolls the page.\n var shield = document.createElement('div');\n shield.style.cssText = 'position:fixed;inset:0;z-index:' + (Z + 2) + ';display:none;cursor:progress;background:transparent;';\n document.body.appendChild(shield);\n\n var focusBoxes = [];\n function focusBox(i) {\n if (focusBoxes[i]) return focusBoxes[i];\n var b = box('border-radius:6px;' +\n 'background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);background-size:200% 100%;');\n b.setAttribute('data-cdtr-ai', '');\n focusBoxes[i] = b;\n return b;\n }\n var focusChip = chip('background:' + ACCENT + ';font-weight:600;');\n MINE.push(veil, sweep, shield, focusChip);\n\n function setFocusStyle(b) {\n b.style.animation = focusMode === 'edit'\n ? 'cdtrAiPulse 1.1s ease-in-out infinite, cdtrAiShimmer 1.4s linear infinite'\n : 'cdtrAiPulse 2.2s ease-in-out infinite';\n if (focusMode !== 'edit') b.style.backgroundImage = 'none';\n else b.style.backgroundImage = 'linear-gradient(100deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%)';\n }\n\n var busyRaf = 0;\n function drawBusy() {\n busyRaf = 0;\n if (!busy) return;\n var W = window.innerWidth, H = window.innerHeight;\n var d = 'M0 0H' + W + 'V' + H + 'H0Z';\n var shown = 0;\n for (var i = 0; i < focusKeys.length; i++) {\n var el = focusEls[focusKeys[i]];\n if (!el || !el.isConnected) el = focusEls[focusKeys[i]] = byKey(focusKeys[i]);\n if (!el) continue;\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) continue;\n var pad = 4;\n var x = r.left - pad, y = r.top - pad, w = r.width + pad * 2, h = r.height + pad * 2;\n d += 'M' + x + ' ' + y + 'V' + (y + h) + 'H' + (x + w) + 'V' + y + 'Z';\n var b = focusBox(shown);\n b.style.display = 'block';\n b.style.top = y + 'px'; b.style.left = x + 'px'; b.style.width = w + 'px'; b.style.height = h + 'px';\n if (shown === 0 && focusLabel) {\n focusChip.textContent = focusLabel;\n focusChip.style.display = 'block';\n focusChip.style.top = Math.max(0, y - 22) + 'px';\n focusChip.style.left = x + 'px';\n }\n shown++;\n }\n for (var j = shown; j < focusBoxes.length; j++) focusBoxes[j].style.display = 'none';\n if (shown === 0) focusChip.style.display = 'none';\n veilPath.setAttribute('d', d);\n // Focused: a firm dim around the spotlight. Thinking with no target yet:\n // a lighter veil and the sweeping light, so it reads as scanning.\n veil.style.opacity = shown > 0 ? '1' : '.45';\n sweep.style.display = shown > 0 ? 'none' : 'block';\n busyRaf = requestAnimationFrame(drawBusy);\n }\n\n function setBusy(on) {\n busy = !!on;\n shield.style.display = busy ? 'block' : 'none';\n if (busy) {\n hoverEl = null; hide(hoverBox, hoverChip); hideTools();\n if (!busyRaf) busyRaf = requestAnimationFrame(drawBusy);\n return;\n }\n focusKeys = [];\n focusEls = {};\n veil.style.opacity = '0';\n sweep.style.display = 'none';\n focusChip.style.display = 'none';\n for (var i = 0; i < focusBoxes.length; i++) focusBoxes[i].style.display = 'none';\n }\n\n function setFocus(keys, mode, label) {\n focusKeys = Array.isArray(keys) ? keys.map(String).slice(0, 12) : [];\n focusEls = {};\n focusMode = mode === 'edit' ? 'edit' : 'read';\n focusLabel = typeof label === 'string' ? label.slice(0, 60) : '';\n for (var i = 0; i < focusBoxes.length; i++) setFocusStyle(focusBoxes[i]);\n for (var k = focusBoxes.length; k < focusKeys.length; k++) setFocusStyle(focusBox(k));\n // Scroll the first one into view when it is off screen, gently.\n var first = focusKeys.length ? byKey(focusKeys[0]) : null;\n if (first && busy) {\n var r = first.getBoundingClientRect();\n if (r.bottom < 0 || r.top > window.innerHeight) first.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n }\n\n // What just changed glows once and fades, so an edit is seen landing.\n function flash(el) {\n var r = el.getBoundingClientRect();\n if (r.width === 0 && r.height === 0) return;\n var f = box('border-radius:6px;background:' + ACCENT + '33;box-shadow:0 0 0 2px ' + ACCENT + ',0 0 30px 6px ' + ACCENT + '88;' +\n 'animation:cdtrAiFlash 1.1s ease-out forwards;');\n f.setAttribute('data-cdtr-ai', '');\n f.style.display = 'block';\n f.style.top = r.top + 'px'; f.style.left = r.left + 'px'; f.style.width = r.width + 'px'; f.style.height = r.height + 'px';\n setTimeout(function() { f.remove(); }, 1200);\n }\n\n window.addEventListener('scroll', relock, true);\n var scrollPosted = 0;\n window.addEventListener('scroll', function() {\n if (scrollPosted) return;\n scrollPosted = setTimeout(function() {\n scrollPosted = 0;\n window.parent.postMessage({ type: TYPES.scrolled, key: null, y: window.scrollY }, ORIGIN);\n }, 150);\n });\n window.addEventListener('resize', relock);\n\n // Edits arrive as patches: the changed elements' new outer HTML, by key.\n // Swapping them keeps the scroll position, the loaded fonts and images and\n // the lock, which a new srcdoc (a navigation) threw away on every edit.\n //\n // Only from the parent window. The page's own script (a generated page\n // runs some in preview, never here, but defence costs one comparison) must\n // not be able to rewrite what the editor shows. Markup parsed through a\n // <template> is inert: a script inside a patch does not run.\n // Compared, not built into a selector: a key is data, and quoting it into\n // CSS is one escaping bug away from a selector that throws.\n function byKey(k) {\n var all = document.querySelectorAll('[data-k]');\n for (var j = 0; j < all.length; j++) if (all[j].getAttribute('data-k') === k) return all[j];\n return null;\n }\n\n window.addEventListener('message', function(e) {\n if (e.source !== window.parent) return;\n var data = e.data || {};\n if (data.type === TYPES.busy) { setBusy(data.on); return; }\n if (data.type === TYPES.focus) { setFocus(data.keys, data.mode, data.label); return; }\n if (data.type === TYPES.scrollTo) {\n var y = Number(data.y) || 0;\n window.scrollTo(0, y);\n // Images still loading can leave the page too short to reach y yet.\n if (document.readyState !== 'complete') window.addEventListener('load', function() { window.scrollTo(0, y); }, { once: true });\n return;\n }\n if (data.type !== TYPES.patch || !Array.isArray(data.patches)) return;\n var missing = [];\n for (var i = 0; i < data.patches.length; i++) {\n var p = data.patches[i] || {};\n var el = byKey(String(p.k));\n if (!el) { missing.push(p.k); continue; }\n if (p.html == null) { el.remove(); continue; }\n var t = document.createElement('template');\n t.innerHTML = p.html;\n var fresh = t.content.firstElementChild;\n el.replaceWith(t.content);\n if (busy && fresh && fresh.isConnected) flash(fresh);\n }\n hoverEl = null;\n hide(hoverBox, hoverChip);\n // The locked element was deleted: let go of it, here and in the parent,\n // or the panels keep editing a node that is no longer on the page.\n if (lockedKey && !byKey(lockedKey)) dropLock();\n relock();\n if (missing.length) {\n window.parent.postMessage({ type: TYPES.patchFailed, key: null, missing: missing }, ORIGIN);\n }\n });\n\n post(TYPES.ready, null);\n})();\n`},injectInspector:function(t,e){const n=`<script>${e}<\/script>`,r=String(t).lastIndexOf("</body>");return-1===r?String(t)+n:String(t).slice(0,r)+n+String(t).slice(r)}}},85274(t,e,n){const{parseDOM:r,DomUtils:o}=n(15482),i=n(5193),{decodeHTML:a}=n(72305),s=i.default||i,l=/^on/i,c=["href","src","action","formaction","xlink:href"],d=/^\s*(javascript|data:text\/html|vbscript)/i,p=new Set(["script","iframe","object","embed","link","meta","base"]);function h(t){const e=String(null==t?"":t),n=a(e).replace(/[\x00-\x20\x7f]+/g,"");return d.test(n)}const u=new Set(["h1","h2","h3","h4","h5","h6","p","span","a","li","blockquote","figcaption","label","strong","em","small","button","td","th","div"]),f=t=>t&&"tag"===t.type,m=t=>(t.children||[]).filter(f);function g(t){return r(String(null==t?"":t),{lowerCaseTags:!1})}function b(t){return s(t,{decodeEntities:!1})}const y=t=>t&&("tag"===t.type||"script"===t.type||"style"===t.type);function w(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(const r of t||[])y(r)&&(e(r,n),w(r.children||[],e,r))}function _(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(const r of t||[])f(r)&&(e(r,n),_(r.children||[],e,r))}const x=["www.youtube-nocookie.com","www.youtube.com","youtube.com","player.vimeo.com","fast.wistia.net"];function A(t){const e=t.attribs||{};let n=e.src;if(!n){const e=(t.children||[]).find(t=>f(t)&&"source"===t.name);n=e&&e.attribs&&e.attribs.src}const r=n?function(t){let e;try{e=new URL(String(t))}catch(t){return null}if("https:"!==e.protocol&&"http:"!==e.protocol)return null;const n=e.host.toLowerCase().replace(/^(www|m)\./,""),r=e.pathname.split("/").filter(Boolean);if("vimeo.com"===n&&/^\d+$/.test(r[0]||"")){const t=r[1]&&/^[0-9a-f]+$/i.test(r[1])?`?h=${r[1]}`:"";return`https://player.vimeo.com/video/${r[0]}${t}`}if("player.vimeo.com"===n&&"video"===r[0]&&/^\d+$/.test(r[1]||""))return`https://player.vimeo.com/video/${r[1]}${e.search}`;let o=null;return"youtu.be"===n?o=r[0]:"youtube.com"!==n&&"youtube-nocookie.com"!==n||(o=e.searchParams.get("v")||(["embed","shorts","live"].includes(r[0])?r[1]:null)),o&&/^[\w-]{6,20}$/.test(o)?`https://www.youtube-nocookie.com/embed/${o}`:null}(n):null;if(!r)return!1;const o={};for(const t of["data-k","class","id","title","width","height"])t in e&&(o[t]=e[t]);return o.style="display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;"+(e.style||""),o.src=r,o.allowfullscreen="",o.loading="lazy",t.name="iframe",t.attribs=o,t.children=[],!0}function v(t,e){const n=!(!e||!e.allowRich),r=[],i=[];w(t,t=>{let e=String(t.name||"").toLowerCase();if("video"===e&&A(t)&&(e="iframe"),p.has(e)&&"link"!==e&&"meta"!==e&&"base"!==e){if(!("iframe"===e&&function(t){try{const e=new URL(String(t));return"https:"===e.protocol&&x.includes(e.host)}catch(t){return!1}}(t.attribs&&t.attribs.src)||n&&"script"===e))return i.push(t),void r.push(e);if("iframe"===e)for(const e of["srcdoc","sandbox","allow"])t.attribs&&e in t.attribs&&(delete t.attribs[e],r.push(e))}for(const e of Object.keys(t.attribs||{}))l.test(e)?(delete t.attribs[e],r.push(e)):c.includes(e.toLowerCase())&&h(t.attribs[e])&&(delete t.attribs[e],r.push(e+" (unsafe url)"))});for(const e of i){const n=Array.isArray(t)?t.indexOf(e):-1;-1!==n&&t.splice(n,1),o.removeElement(e)}return r}function k(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"k",n=0;return _(t,t=>{t.attribs=t.attribs||{},t.attribs["data-k"]||(t.attribs["data-k"]=e+n.toString(36)),n++}),n}function C(t,e){const n=String(t.attribs&&t.attribs.class||"").trim().split(/\s+/).filter(Boolean).sort().join("."),r=(e?m(e):[]).filter(e=>e.name===t.name&&String(e.attribs&&e.attribs.class||"").trim()===String(t.attribs&&t.attribs.class||"").trim());return[t.name,n,Math.max(0,r.indexOf(t))].join("|")}function E(t){const e=new Map,n=new Map;return _(t,(t,r)=>{const o=t.attribs&&t.attribs["data-k"];o&&e.set(o,{node:t,parent:r});const i=C(t,r);n.has(i)||n.set(i,{node:t,parent:r})}),{byKey:e,byPrint:n}}function S(t){const e={};let n=0,r="";const o=()=>{const t=r.indexOf(":");t>0&&(e[r.slice(0,t).trim()]=r.slice(t+1).trim()),r=""};for(const e of String(t||""))"("===e&&n++,")"===e&&n--,";"===e&&0===n?o():r+=e;return o(),e}function M(t){const e=String(t);return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function T(t){const e={};for(const[n,r]of Object.entries(t||{}))e[M(n)]=r;return e}function L(t){return Object.entries(T(t)).filter(t=>{let[,e]=t;return""!==e&&null!=e}).map(t=>{let[e,n]=t;return`${e}:${n}`}).join(";")}function B(t,e){const n=JSON.parse(JSON.stringify(I(t))),r=(t,n)=>{t.parent=n||null,t.prev=t.next=null,t.attribs&&t.attribs["data-k"]&&(t.attribs["data-k"]=t.attribs["data-k"]+e),(t.children||[]).forEach(e=>r(e,t));for(let e=0;e<(t.children||[]).length;e++)t.children[e].prev=t.children[e-1]||null,t.children[e].next=t.children[e+1]||null};return r(n,null),n}function I(t){const e={...t,parent:void 0,prev:void 0,next:void 0};return e.children=(t.children||[]).map(I),e}const O=["text","attr","style","class","dup","remove","move","insert","replace","css"];function N(t,e){for(let n=0;n<t.length;n++)t[n].parent=e,t[n].prev=t[n-1]||null,t[n].next=t[n+1]||null}function H(t){let e=-1;const n=t=>{Number.isFinite(t)&&(e=Math.max(e,t))};return w(t,t=>{const e=t.attribs;if(e){const t=e["data-k"];if(t){const e=/^g(\d+)-/.exec(String(t));e&&n(parseInt(e[1],10))}const r=e.class;if(r)for(const t of String(r).matchAll(/cdtr-g(\d+)-/g))n(parseInt(t[1],10))}if("style"===String(t.name||"").toLowerCase()){const e=(t.children||[]).map(t=>t.data||"").join("");for(const t of e.matchAll(/cdtr-g(\d+)-/g))n(parseInt(t[1],10))}}),`g${e+1}-`}function z(t,e){const n=`cdtr-${String(e)}`.replace(/[^a-zA-Z0-9_-]/g,"-");for(const e of t){if(!f(e))continue;e.attribs=e.attribs||{};const t=String(e.attribs.class||"").split(/\s+/).filter(Boolean);t.includes(n)||t.push(n),e.attribs.class=t.join(" ")}const r=[];w(t,t=>{"style"===String(t.name||"").toLowerCase()&&r.push(t)});for(const t of r){const e=K((t.children||[]).map(t=>t.data||"").join(""),`.${n}`,{container:!1,self:!0});t.children=[{type:"text",data:e,parent:t,prev:null,next:null}]}}const R="cdtr-ai-css";function $(t,e){const n=String(null==e.css?"":e.css).replace(/</g,"\\3C ");if(!n.trim())return;let r=null;if(w(t,t=>{!r&&t.attribs&&t.attribs["data-k"]===R&&(r=t)}),r){const t=(r.children||[]).map(t=>t.data||"").join("");return void(r.children=[{type:"text",data:`${t}\n${n}`,parent:r,prev:null,next:null}])}let o=null;_(t,t=>{o||"body"!==String(t.name||"").toLowerCase()||(o=t)});const i=o?o.children||(o.children=[]):t,a={type:"style",name:"style",attribs:{"data-k":R},children:[],parent:o,prev:null,next:null};a.children=[{type:"text",data:n,parent:a,prev:null,next:null}],i.push(a),N(i,o)}const P=new Set(["append","prepend","before","after"]);function D(t,e,n){const r=[];let o=null,i=null;const a=()=>o||(o=function(t){const e=new Map;return _(t,(t,n)=>{const r=t.attribs&&t.attribs["data-k"];r&&e.set(r,{node:t,parent:n})}),e}(t));for(const s of e||[]){if("css"===s.op){$(t,s),o=null,i=null;continue}let e=s.k?a().get(s.k):null;if(!e&&s.fp&&(i||(i=E(t).byPrint),e=i.get(s.fp)),!e){r.push(`dropped ${s.op} for missing ${s.k||s.fp}`);continue}const{node:l,parent:d}=e,p=l.attribs=l.attribs||{};switch(s.op){case"text":{const t=g(s.value);v(t,n),t.forEach(t=>{t.parent=l});for(let e=0;e<t.length;e++)t[e].prev=t[e-1]||null,t[e].next=t[e+1]||null;o&&(_(l.children||[],t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.get(e)&&o.get(e).node===t&&o.delete(e)},l),_(t,(t,e)=>{const n=t.attribs&&t.attribs["data-k"];n&&o.set(n,{node:t,parent:e})},l)),l.children=t,i=null;break}case"attr":c.includes(String(s.name).toLowerCase())&&h(s.value)?r.push(`refused unsafe ${s.name}`):null==s.value?delete p[s.name]:p[s.name]=String(s.value);break;case"style":p.style=L({...S(p.style),...T(s.value)});break;case"class":{const t=new Set(String(p.class||"").split(/\s+/).filter(Boolean));(s.remove||[]).forEach(e=>t.delete(e)),(s.add||[]).forEach(e=>t.add(e)),p.class=[...t].join(" "),p.class||delete p.class;break}case"dup":{const e=B(l,s.as||"#1"),n=d?d.children:t;n.splice(n.indexOf(l)+1,0,e),e.parent=d||null;break}case"remove":{const e=d?d.children:t,n=Array.isArray(e)?e.indexOf(l):-1;-1!==n&&e.splice(n,1),l.prev&&(l.prev.next=l.next),l.next&&(l.next.prev=l.prev),l.prev=l.next=null,l.parent=null;break}case"move":{const e=d?d.children:t,n=e.indexOf(l),r=Math.max(0,Math.min(e.length-1,n+(s.dir||0)));n!==r&&(e.splice(n,1),e.splice(r,0,l));break}case"insert":{const e=g(String(null==s.html?"":s.html));if(v(e,n),0===e.length){r.push(`insert for ${s.k||s.fp} had no usable markup`);break}const o=new Set;_(t,t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.add(e)}),_(e,t=>{const e=t.attribs&&t.attribs["data-k"];e&&o.has(e)&&delete t.attribs["data-k"]}),e.some(t=>f(t))||r.push(`insert for ${s.k||s.fp} has no element, so its css cannot apply`);const i=H(t);k(e,i),z(e,i);const a=s.pos||"append";if(P.has(a)||r.push(`insert for ${s.k||s.fp} had unknown pos "${s.pos}", placed after`),"append"===a||"prepend"===a){const t=l.children||(l.children=[]);e.forEach(t=>{t.parent=l}),"append"===a?t.push(...e):t.unshift(...e),N(t,l)}else{const n=d?d.children:t,r=n.indexOf(l)+("before"===a?0:1);e.forEach(t=>{t.parent=d||null}),n.splice(r,0,...e),N(n,d||null)}break}case"replace":{const e=g(String(null==s.html?"":s.html));v(e,n);const o=e.filter(t=>f(t));if(1!==o.length){r.push(`replace for ${s.k} needs exactly one root element, got ${o.length}`);break}const i=o[0],a=new Set;_([l],t=>{const e=t.attribs&&t.attribs["data-k"];e&&a.add(e)});const c=new Set;_(t,t=>{const e=t.attribs&&t.attribs["data-k"];e&&!a.has(e)&&c.add(e)}),_([i],t=>{const e=t.attribs&&t.attribs["data-k"];e&&(c.has(e)||e===s.k)&&delete t.attribs["data-k"]}),i.attribs=i.attribs||{},i.attribs["data-k"]=s.k,k([i],H(t));const p=d?d.children:t,h=p.indexOf(l);if(-1===h)break;i.parent=d||null,p.splice(h,1,i),N(p,d||null),l.parent=l.prev=l.next=null;break}default:r.push(`unknown op ${s.op}`)}j.has(s.op)||"attr"===s.op&&"data-k"===s.name?(o=null,i=null):"class"===s.op&&(i=null)}return r}const j=new Set(["dup","remove","move","insert","replace","css"]);function F(t){if(!f(t))return null;const e=String(t.name||"").toLowerCase(),n=String((t.attribs||{}).class||"").toLowerCase();return"img"===e||"picture"===e||"figure"===e?"image":"svg"===e||"i"===e?"icon":"button"===e||"a"===e&&/\b(btn|button|cta)\b/.test(n)?"button":"a"===e?"link":/^h[1-6]$/.test(e)?"heading":"ul"===e||"ol"===e?"list":"li"===e?"listItem":"section"===e||"header"===e||"footer"===e||"main"===e?"section":"p"===e||"span"===e||"strong"===e||"em"===e||"small"===e||"blockquote"===e||"label"===e||"figcaption"===e?"text":m(t).length>0?"group":"text"}function U(t){if(!t)return"";const e=String(t),n=/(^|[^A-Za-z0-9_-])(\d*\.?\d+)(vw|dvw|svw|lvw)\b/g,r=t=>t.replace(n,(t,e,n)=>`${e}${n}cqw`);let o="",i="",a=0;for(;a<e.length;){const t=e[a];let n=-1;if('"'===t||"'"===t)n=q(e,a);else if(("u"===t||"U"===t)&&/^url\(/i.test(e.slice(a,a+4))){const t=e.indexOf(")",a);n=-1===t?e.length:t+1}-1!==n?(o+=r(i)+e.slice(a,n),i="",a=n):(i+=t,a++)}return o+r(i)}function q(t,e){const n=t[e];let r=e+1;for(;r<t.length;)if("\\"!==t[r]){if(t[r]===n)return r+1;r++}else r+=2;return t.length}t.exports={normalizeIncomingOps:function(t){const e=[],n=[];if(!Array.isArray(t))return{ops:e,dropped:n};for(const r of t)r&&"object"==typeof r?O.includes(r.op)?r.k||r.fp?e.push(r):n.push(`op "${r.op}" has no key`):n.push(`unknown op "${r.op}"`):n.push(`not an object: ${JSON.stringify(r)}`);return{ops:e,dropped:n}},parse:g,toHtml:b,walk:_,sanitize:v,stampIds:k,fingerprint:C,indexByKey:E,parseStyle:S,writeStyle:L,cssProp:M,kebabStyle:T,applyEdits:D,introspect:function(t){if(!f(t))return null;const e=String(t.name||"").toLowerCase(),n=m(t),r=o.textContent(t).trim(),i=1===n.length?n[0]:null,a=!!i&&["p","div","span"].includes(String(i.name||"").toLowerCase())&&0===m(i).length,s=(0===n.length||a)&&r.length>0&&u.has(e);return{tag:e,role:F(t),key:(t.attribs||{})["data-k"]||null,content:"img"===e?"image":"a"===e?"link":s?"richtext":null,container:n.length>0,classes:String((t.attribs||{}).class||"").split(/\s+/).filter(Boolean),attrs:{...t.attribs||{}},style:S((t.attribs||{}).style),text:s?r:null}},ingest:function(t,e){const n=g(t),r=v(n,e),o=k(n);return{html:b(n),removed:r,count:o}},build:function(t,e){let{html:n,edits:r}=t;const o=g(n),i=D(o,r,e);return i.push(...v(o,e).map(t=>`stripped ${t}`)),{html:b(o),warnings:i}},cloneNode:B,roleOf:F,isDangerousUrl:h,TAG_LABELS:{div:"Container",section:"Section",h1:"Heading",h2:"Heading",h3:"Heading",h4:"Heading",h5:"Heading",h6:"Heading",p:"Text",span:"Text",a:"Link",button:"Button",img:"Image",video:"Video",nav:"Navigation",header:"Header",footer:"Footer",form:"Form",input:"Input",textarea:"Text Field",select:"Dropdown",ul:"List",ol:"List",li:"List Item",table:"Table",svg:"Icon",main:"Main Content",aside:"Sidebar",article:"Article",figure:"Figure",figcaption:"Caption",label:"Label",blockquote:"Quote"}};const W=/\b(prefers-[a-z-]+|hover|any-hover|pointer|any-pointer|orientation|resolution|min-resolution|max-resolution|aspect-ratio|min-aspect-ratio|max-aspect-ratio|color-gamut|display-mode|forced-colors|scripting|update|overflow-block|overflow-inline|device-width|device-height|min-device-width|max-device-width|monochrome|color-index|grid)\b/i,V=/^(all|screen|print|speech|tv|projection|handheld)$/i;function Y(t){if(!t)return t;const e=String(t).trim();if(!/^@media\b/i.test(e))return e;const n=e.replace(/^@media\s*/i,"").trim();if(!n)return e;if(/^(not|only)\b/i.test(n))return e;if(W.test(n))return e;if(n.includes(","))return e;const r=n.split(/\s+and\s+/i).map(t=>t.trim()).filter(Boolean),o=[];for(const t of r)if(!V.test(t)){if(!/^\(/.test(t))return e;if(!/\b(min-width|max-width|width)\b/i.test(t))return e;o.push(t)}return o.length?`@container ${o.join(" and ")}`:e}function X(t,e){let n=0,r=null,o=t.length;for(let e=0;e<t.length;e++){const i=t[e];if(r)i===r&&(r=null);else if('"'===i||"'"===i)r=i;else if("["===i||"("===i)n++;else if("]"===i||")"===i)n--;else if(0===n&&/[\s>+~]/.test(i)){o=e;break}}const i=t.slice(0,o),a=i.search(/::|:(before|after|first-line|first-letter)\b/i),s=-1===a?i.length:a;return t.slice(0,s)+e+t.slice(s)}function K(t,e,n){if(!t)return"";const r=!n||!1!==n.container;r&&(t=U(t));const o=/^(html|body|:root|\*|html\s*,\s*body)$/i,i=[];let a=0;const s=[],l=(()=>{const e=String(t);let n="",r=0;const o=/@(import|charset|namespace)\b/gi;let i;for(;i=o.exec(e);){if(i.index<r)continue;n+=e.slice(r,i.index);let t=0,a=i.index;for(;a<e.length;a++){const n=e[a];if("("===n)t++;else if(")"===n)t--;else{if(";"===n&&0===t)break;if("{"===n&&0===t)break}}";"===e[a]?(s.push(e.slice(i.index,a+1)),r=a+1,o.lastIndex=r):(n+=e.slice(i.index,a),r=a,o.lastIndex=r)}return n+=e.slice(r),n})();i.push(...s);const c=t=>{let e=0,n=t;for(;n<l.length;n++)if("{"===l[n])e++;else if("}"===l[n]&&(e--,0===e))return n;return l.length-1};for(;a<l.length;){const t=l.indexOf("{",a);if(-1===t)break;const s=l.slice(a,t).trim(),d=c(t),p=l.slice(t+1,d);if(/^@(media|supports|container|layer)/i.test(s)){const t=r?Y(s):s;i.push(`${t}{${K(p,e,n)}}`)}else if(/^@(keyframes|-webkit-keyframes|font-face|import|charset|page)/i.test(s))i.push(`${s}{${p}}`);else if(s.startsWith("@"))i.push(`${s}{${p}}`);else{const t=s.split(",").map(t=>t.trim()).filter(Boolean).flatMap(t=>o.test(t)?[e]:n&&n.self?[`${e} ${t}`,X(t,e)]:[`${e} ${t}`]).join(",");i.push(`${t}{${p}}`)}a=d+1}return i.join("\n")}t.exports.scopeCss=K,t.exports.AI_CSS_KEY=R,t.exports.rootCompound=X,t.exports.vwToCqw=U,t.exports.mediaToContainer=Y,Object.assign(t.exports,n(13929),n(82207),n(63706))},86959(t,e,n){"use strict";function r(){return window.___cdtr_isConsoleLogged||console.log("%cWe run on production, if you want to point to dev server, please add ?dev=1 at the url","color:green"),window.___cdtr_isConsoleLogged=!0,!1}n.d(e,{Ay:()=>r,XW:()=>a}),window.___cdtr_isConsoleLogged=window.___cdtr_isConsoleLogged||!1;let o=r()?"http://localhost:3000":"https://api.creaditor.ai";const i=o+"/static/scripts",a={endPoint:o,ws_url:r()?"ws://127.0.0.1:9999":"wss://gateway.creaditor.ai",render_url:r()?"http://localhost:3001/r/":"https://render.creaditor.ai/r/",render_build_url:r()?"http://localhost:3001/render-site":"https://render.creaditor.ai/render-site",agent_url:r()?"http://localhost:8000/api/v1/":"https://agent.creaditor.ai/api/v1/",studio_url:r()?"http://127.0.0.1:8000":"https://studio.creaditor.ai",static_path:i,api_url:o+"/v1/",domain:o,access_db:"access_v1"}},73095(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var r=n(59929),o=n(21421),i=n(69600);class a extends r.WF{constructor(){super(),this.contentRef=(0,o._)(),this.toggle=this.toggle.bind(this),this.onEnter=this.onEnter.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.scheduleCalc=this.scheduleCalc.bind(this),this._calcScheduled=!1,this._resizeObserver=null,this.overflow=!0,this.maxHeight=300,this.left=0,this.top=0,this.custom=!1,this.opened=!1}close(){this.toggle()}onBouncing(t){this.searchText=t.target.value;const e=new UIEvent("search",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(e)}render(){return r.qy`
661
661
  <slot @click=${()=>this.toggle()} tabindex="0" name="trigger"></slot>
662
662
  ${this.opened?r.qy` <div
663
663
  @mouseup=${this.onClickOutside}
Binary file
@@ -1 +1 @@
1
- if(!self.define){let e,d={};const r=(r,c)=>(r=new URL(r+".js",c).href,d[r]||new Promise(d=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=d,document.head.appendChild(e)}else e=r,importScripts(r),d()}).then(()=>{let e=d[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e}));self.define=(c,b)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(d[i])return;let a={};const n=e=>r(e,i),o={module:{uri:i},exports:a,require:n};d[i]=Promise.all(c.map(e=>o[e]||n(e))).then(e=>(b(...e),a))}}define(["./workbox-f3063069"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"112.creaditor.bundle.js",revision:"cecb35ee28609df9dfede4e6a01ab32b"},{url:"1142.creaditor.bundle.js",revision:"d39cafc88e6aea1556c82cb620e1a2ff"},{url:"1204.creaditor.bundle.js",revision:"ab63276f69accdc65901b80e8b0f6c94"},{url:"1271.creaditor.bundle.js",revision:"5011b04e62cbf4659ef0e8a1dced22bf"},{url:"1317.creaditor.bundle.js",revision:"8f6674ecb348b5f3e5fca58cd4771c20"},{url:"1317.creaditor.bundle.js.LICENSE.txt",revision:"c8a750975849f68cc5261bff5b7597b4"},{url:"1334.creaditor.bundle.js",revision:"3d94fa72808bafc3c2e3a12c03004daf"},{url:"1396.creaditor.bundle.js",revision:"b28c7f0fbfc65927d08924655f5a0264"},{url:"1403.creaditor.bundle.js",revision:"b965b1cc3e11e4c46736fbc855524349"},{url:"1456.creaditor.bundle.js",revision:"3811b6097041da788cbf61ea03601784"},{url:"1529.creaditor.bundle.js",revision:"7961204004317491e920dbad90d56277"},{url:"168.creaditor.bundle.js",revision:"8b292ba3e21f73726da0a30307da11ed"},{url:"168.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"170.creaditor.bundle.js",revision:"ee3f12bc30f67cc8951daf483c248a15"},{url:"175.creaditor.bundle.js",revision:"a887a17fd0554975b3c18dbadc204f4c"},{url:"1972.creaditor.bundle.js",revision:"6a5534c86003dbf4ab66c8dbbcde71b2"},{url:"2001.creaditor.bundle.js",revision:"aea9bbbd5be6e1a4dc0cb028fe6e9662"},{url:"2001.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"211.creaditor.bundle.js",revision:"28e0be495a3c39a902b5983ddb9f4cbb"},{url:"2112.creaditor.bundle.js",revision:"f3d613a97be1c80e79325d7ccfc636b5"},{url:"2154.creaditor.bundle.js",revision:"f006afa17111e96496716d901e2cc2ac"},{url:"2234.creaditor.bundle.js",revision:"cd27ac5f566b304d4f1eece81ddc83bd"},{url:"2298.creaditor.bundle.js",revision:"acf2a7dd09e917ea4c4bac7853cca6bc"},{url:"235.creaditor.bundle.js",revision:"63204b1ff18d337dc64bb47970a9ae06"},{url:"235.creaditor.bundle.js.LICENSE.txt",revision:"5a0e25bacaf347bc90cf875c3e0944e7"},{url:"2350.creaditor.bundle.js",revision:"ad4b40d4c824ea45be38cdb38ec2811b"},{url:"2377.creaditor.bundle.js",revision:"e81b1dd02afb539702685ebbd241656f"},{url:"2384.creaditor.bundle.js",revision:"df77aad53bb57322953dc61708c7de8d"},{url:"2397.creaditor.bundle.js",revision:"de8115961695c5d83c5de95e2c1fa68a"},{url:"2409.creaditor.bundle.js",revision:"8014a9970419e80d12c5bb615a6637bb"},{url:"2547.creaditor.bundle.js",revision:"33e5789379606491dcd127470fe7375a"},{url:"2550.creaditor.bundle.js",revision:"3aa264f6eaef0bb9fee6bd767fb4c787"},{url:"2550.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"2590.creaditor.bundle.js",revision:"b10991e68aa92f461d2b43cb976c3f6c"},{url:"2655.creaditor.bundle.js",revision:"bcc5408b4845b6c9136411409dd984d1"},{url:"2706.creaditor.bundle.js",revision:"a095008b0a296f92f2a6bbc9833de233"},{url:"2706.creaditor.bundle.js.LICENSE.txt",revision:"c8a750975849f68cc5261bff5b7597b4"},{url:"271.creaditor.bundle.js",revision:"cbe05e76796bcbdb423a068052189278"},{url:"2717.creaditor.bundle.js",revision:"a56e0f09b3e93d1253c843d93258a88c"},{url:"2717.creaditor.bundle.js.LICENSE.txt",revision:"c9ae65c215fbf97b96bce384781c89ea"},{url:"2765.creaditor.bundle.js",revision:"2fd755d2081dba8605ed2a70ced32bc0"},{url:"2773.creaditor.bundle.js",revision:"b66aacd479b264d24a3c839ce092631c"},{url:"2833.creaditor.bundle.js",revision:"ad5632253d9435d7fa06a40151ebabcf"},{url:"2837.creaditor.bundle.js",revision:"9c4554c1d38e36fec1ced22636be7892"},{url:"2837.creaditor.bundle.js.LICENSE.txt",revision:"6f9811cbe6a9564f96a78a4add5a5bc9"},{url:"2956.creaditor.bundle.js",revision:"a3f3bd46f723e9ad76a9d07f1bd73759"},{url:"2963.creaditor.bundle.js",revision:"a9d74c704253bb5d900740cd7b77c91d"},{url:"3105.creaditor.bundle.js",revision:"fcb21b9ac1bd11953529a83c8afad526"},{url:"3233.creaditor.bundle.js",revision:"d00041d99bfc950eacc5a7d2bec2a61b"},{url:"3418.creaditor.bundle.js",revision:"34376fd389339c08274a71310b19cf70"},{url:"3521.creaditor.bundle.js",revision:"1f87987f7810bceef3eaa32eec31d96c"},{url:"353.creaditor.bundle.js",revision:"89b04a79885687acdc202fa12d9f9ea2"},{url:"3545.creaditor.bundle.js",revision:"9118195e3eacd5124658abbe4ae8853e"},{url:"3553.creaditor.bundle.js",revision:"23972b3cdf3710236936e452841cb809"},{url:"3606.creaditor.bundle.js",revision:"ce9c2afb795a55c1146ff701e3547766"},{url:"3792.creaditor.bundle.js",revision:"25d633b36dba6f8a8c0605c30a3d6444"},{url:"380.creaditor.bundle.js",revision:"4240d212d2b6a5fc8dd9813090465e6f"},{url:"3827.creaditor.bundle.js",revision:"4af63258ddbfc5c46e5a5280e0653f5b"},{url:"3847.creaditor.bundle.js",revision:"acffa000eca533e1141a7f57493e0961"},{url:"3875.creaditor.bundle.js",revision:"f40afe8e0a5e2a398e76b26830f967b8"},{url:"3971.creaditor.bundle.js",revision:"f73ae68bb1bf498268c61ae19cc4c8f2"},{url:"4061.creaditor.bundle.js",revision:"9ce194af11399c096808d065c6cb4d84"},{url:"407.creaditor.bundle.js",revision:"3dd332a7512da4854694091607a03d24"},{url:"4074.creaditor.bundle.js",revision:"2639150e66dc341573cb6b3687bbc54b"},{url:"4100.creaditor.bundle.js",revision:"35fe1f1ac5cda4b570654afda2d2018b"},{url:"4109.creaditor.bundle.js",revision:"73fc250ad1b4a805b32ee61e87c2af53"},{url:"4109.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"4114.creaditor.bundle.js",revision:"8b3a3dfa4d9aea25e8124c4a085aa951"},{url:"4161.creaditor.bundle.js",revision:"4993026497ada2ac97d716cb2f4c0a64"},{url:"4186.creaditor.bundle.js",revision:"85d24c06f787aea1bcc096aaa4d00092"},{url:"4186.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"4288.creaditor.bundle.js",revision:"5d721b24f58a69f2e35dc8e62171f0e2"},{url:"4413.creaditor.bundle.js",revision:"b054be84ed2994e2b938641e9d3fab19"},{url:"4475.creaditor.bundle.js",revision:"3ecfd6de644933d2e31e2146a7b2ad9f"},{url:"453.creaditor.bundle.js",revision:"f250f77957b9b5412c3849e98cb22fe9"},{url:"4615.creaditor.bundle.js",revision:"0203064be05b359b62fe87b0a6495ad3"},{url:"4639.creaditor.bundle.js",revision:"0528c60b84f726b8aa5a2071195d2194"},{url:"467.creaditor.bundle.js",revision:"989e6b4d31dfbcfc6890330cd0894aa5"},{url:"4762.creaditor.bundle.js",revision:"82e589852084bb8277653bdf659ae567"},{url:"4770.creaditor.bundle.js",revision:"b060bafc940465b48c98d16f5dbe47b4"},{url:"4819.creaditor.bundle.js",revision:"402d0fcd9fe1678ad881c609074bd269"},{url:"4947.creaditor.bundle.js",revision:"077e60d7a64d257c8eed1ee081869184"},{url:"4987.creaditor.bundle.js",revision:"406826ae5f86e0a1541cef5471bf0609"},{url:"4987.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"4988.creaditor.bundle.js",revision:"3609437bf3e31dd856209c6988b0628f"},{url:"5119.creaditor.bundle.js",revision:"ec996b9463931de821b6b1a928b0c0a9"},{url:"5133.creaditor.bundle.js",revision:"0dbb4e24ccdd657592b8370551debaa5"},{url:"5156.creaditor.bundle.js",revision:"150409c594e2964911dcf28634a74664"},{url:"5284.creaditor.bundle.js",revision:"5d5f0b484b6a732671f63db0cb0d2fcc"},{url:"5284.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"5379.creaditor.bundle.js",revision:"5c482b14889b9355b41b884905c8b3cc"},{url:"5391.creaditor.bundle.js",revision:"f01d8de1d661b87a991d7c1f3579bc6d"},{url:"5411.creaditor.bundle.js",revision:"eae48b84ccfddff3ff4a616cbf1443c9"},{url:"5501.creaditor.bundle.js",revision:"4d0e717d93b6fadc54ff28f95a0d0517"},{url:"5530.creaditor.bundle.js",revision:"aea2b33b71d2aad5c5ccc7db288e2141"},{url:"5666.creaditor.bundle.js",revision:"fcc31fe060abf5475603bdd21052c7b2"},{url:"567.creaditor.bundle.js",revision:"f7907ceb7cdcec2b38a3a6faa45baed3"},{url:"5713.creaditor.bundle.js",revision:"ccc2bba0ee89f84aa5a8078b8b004677"},{url:"5713.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"574.creaditor.bundle.js",revision:"048702a59ceddd07abec85beb96c99e8"},{url:"574.creaditor.bundle.js.LICENSE.txt",revision:"7e87622d8f6027cbd50a87a2a0160d32"},{url:"578.creaditor.bundle.js",revision:"eea5a718ca8ccd7b81746c89529da3ab"},{url:"5791.creaditor.bundle.js",revision:"afcc2f40cd9dd357f205014f7aaba4f8"},{url:"5839.creaditor.bundle.js",revision:"02193ff7580fc12e262dbebc29e89401"},{url:"5849.creaditor.bundle.js",revision:"d530a38500cdeff163b19e8aaedc590d"},{url:"5850.creaditor.bundle.js",revision:"3b6d2c073ba4418cacc65ca7006ab3e7"},{url:"5884.creaditor.bundle.js",revision:"6f797f632f2589d56fa616ea41e1540c"},{url:"59.creaditor.bundle.js",revision:"bebc52161360d22d5867b5bc83c61353"},{url:"59.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"5926.creaditor.bundle.js",revision:"c08dfb2f6974766a8e50d7b86f10d09e"},{url:"6036.creaditor.bundle.js",revision:"d8cc62bcfd4c4bf1b6e12b82daa9dd12"},{url:"6151.creaditor.bundle.js",revision:"388be4b26097dd0df1fa8edd5fd613af"},{url:"6216.creaditor.bundle.js",revision:"f7d61056194ed8d16d95da665714c11c"},{url:"6216.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"638.creaditor.bundle.js",revision:"0805c65662d7b96ee150b7865da7cca6"},{url:"6442.creaditor.bundle.js",revision:"eb69361a34c99ebae2dbddcb32a9581c"},{url:"6442.creaditor.bundle.js.LICENSE.txt",revision:"c9ae65c215fbf97b96bce384781c89ea"},{url:"6496.creaditor.bundle.js",revision:"338b9529acf47bdc601be968cdeaad9e"},{url:"653.creaditor.bundle.js",revision:"52b9de427f192150b4b3c3b9725aad72"},{url:"6751.creaditor.bundle.js",revision:"365c1f0cd5c99801f035606282a231c7"},{url:"6814.creaditor.bundle.js",revision:"a7f323c08e346ec2b1c68cf81ff47333"},{url:"6937.creaditor.bundle.js",revision:"097f6c719d82a9352f396b0facc6df61"},{url:"7051.creaditor.bundle.js",revision:"d65dbbbd2541ea4cb4b42d89da193b3b"},{url:"7051.creaditor.bundle.js.LICENSE.txt",revision:"07b9ce85d65b059fc522aa29a4819489"},{url:"7055.creaditor.bundle.js",revision:"f31fc847732490920b65b45e7d7875b8"},{url:"7055.creaditor.bundle.js.LICENSE.txt",revision:"1299004e20f2ce6cb16d4370129c3cec"},{url:"715.creaditor.bundle.js",revision:"fa1475c83830889b0000781f4b8ae27f"},{url:"715.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"7155.creaditor.bundle.js",revision:"5d2854bb436f39fcb0a60c7e8cb5b42c"},{url:"7209.creaditor.bundle.js",revision:"1d4d53b8c285c3f685a96e4650f6d5cd"},{url:"7238.creaditor.bundle.js",revision:"06ab3510e2ccb95663f42f30b935cbeb"},{url:"7255.creaditor.bundle.js",revision:"4bd8abfce57c30fc2354b9a0833c8e3a"},{url:"738.creaditor.bundle.js",revision:"69f421253b26ef5d11d6c08abbc1d886"},{url:"7380.creaditor.bundle.js",revision:"fddb1138256dfd180b1edcf12d95f832"},{url:"7463.creaditor.bundle.js",revision:"dbbb9bb5df85208a7892eeeb73a547ee"},{url:"7463.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"7466.creaditor.bundle.js",revision:"71a436e7a7948c51c98758e223ec6ca5"},{url:"752.creaditor.bundle.js",revision:"7e38754a782c4b33b80310aad0957d5b"},{url:"7523.creaditor.bundle.js",revision:"9c97d67cf0ded1acc2df043abd0c5b41"},{url:"7564.creaditor.bundle.js",revision:"8d335e8846f544d305c1df15bce3e32e"},{url:"7654.creaditor.bundle.js",revision:"5cac40177715bf4c40b4b0aa0436d71a"},{url:"767.creaditor.bundle.js",revision:"27299c8b9f17b695d2754656691698e0"},{url:"7789.creaditor.bundle.js",revision:"6634d5299fde0509aeae0aebbe607366"},{url:"7789.creaditor.bundle.js.LICENSE.txt",revision:"4c52c7161b2e22ac40ee29b327ab651b"},{url:"7838.creaditor.bundle.js",revision:"35a256e66c57b40d7245bff92cc1c4f8"},{url:"7937.creaditor.bundle.js",revision:"c68a91978a2c5ae0624fe54e9bd7e4a3"},{url:"7997.creaditor.bundle.js",revision:"a3b7ec234aa6407ae509b1f1df616793"},{url:"8042.creaditor.bundle.js",revision:"a24e3dabf0262b9c8a71fa68d1d9c023"},{url:"8064.creaditor.bundle.js",revision:"48839022909f72bb9163ecf18f8c1677"},{url:"8141.creaditor.bundle.js",revision:"b6221648d5f82dc59a50d4ce1074b936"},{url:"8173.creaditor.bundle.js",revision:"ea7cc21cb8903648ecd2c4b07debfbec"},{url:"8173.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"8196.creaditor.bundle.js",revision:"2cda0ae749ee093108f8b38b18faa6ff"},{url:"823.creaditor.bundle.js",revision:"8afa8f7274a9bf1ead2f62c6c07712bd"},{url:"8250.creaditor.bundle.js",revision:"e29a6bedf8a2b93c561353211f8993ef"},{url:"8251.creaditor.bundle.js",revision:"76d697c599d8455348dc0b137600d5b1"},{url:"8299.creaditor.bundle.js",revision:"2da33b74c936fb5214c90143f94f82be"},{url:"8315.creaditor.bundle.js",revision:"87577f0aafca067de3c1cbc776e28f4b"},{url:"8443.creaditor.bundle.js",revision:"800ba70473831238aee9cd5310516e1e"},{url:"8516.creaditor.bundle.js",revision:"ef7a9c47677772b41857e5bb1e1adb99"},{url:"8533.creaditor.bundle.js",revision:"3b3fb333cb7c06cabc493abcc80cefdf"},{url:"8547.creaditor.bundle.js",revision:"b0d6ee05067bd9b5d652b62add48e747"},{url:"8570.creaditor.bundle.js",revision:"2003dfcb0e758be45e0bdb85456d0dbb"},{url:"8646.creaditor.bundle.js",revision:"91b1601a73c9f16399ff3cd8cb15a394"},{url:"8654.creaditor.bundle.js",revision:"3618798ef21e495e600ecbafc4fdd2ec"},{url:"8854.creaditor.bundle.js",revision:"a462f451c2ef5c1242108a613a419433"},{url:"8878.creaditor.bundle.js",revision:"92d0c1d443c0c1e4c6c588e2c426b7f3"},{url:"8916.creaditor.bundle.js",revision:"8d4ec7b7a7d17c38bb9e7b8bc3d5663b"},{url:"8921.creaditor.bundle.js",revision:"905f21a5c96ace0384c6e3b2ec8a5959"},{url:"898.creaditor.bundle.js",revision:"a024646e3ca480fcfce29ed8cbd0b55b"},{url:"898.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"8983.creaditor.bundle.js",revision:"374fb7bb4bb76d97a4a4d4249db0ae5b"},{url:"9041.creaditor.bundle.js",revision:"c9bc970d0ce04d3d0995e5a40b7c74fb"},{url:"9158.creaditor.bundle.js",revision:"71f0e38cb7b0ea1ec0ebc2c1ad03983b"},{url:"9158.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"9250.creaditor.bundle.js",revision:"40b6399127ffdf51b74a8761f7d73c56"},{url:"9386.creaditor.bundle.js",revision:"cbd8b350e5cfcf88cad16c4574369c9d"},{url:"9431.creaditor.bundle.js",revision:"69e69ea14b6f6c22d2c2af901627f6bf"},{url:"9453.creaditor.bundle.js",revision:"ebda05d2c346ee6cb7a5885ad311e8fc"},{url:"9570.creaditor.bundle.js",revision:"40da6756ba5727d76ae8087aad6c86ee"},{url:"9694.creaditor.bundle.js",revision:"15bff01cd425f84f1a26208336a83238"},{url:"975.creaditor.bundle.js",revision:"b60acccab2d53d47f49522a884c6c289"},{url:"976.creaditor.bundle.js",revision:"bf2738d19d647728b3c2c5ee01f75796"},{url:"9986.creaditor.bundle.js",revision:"adb41b5fe860ad2b59c43457d61f9641"},{url:"9990.creaditor.bundle.js",revision:"27083e0439ea303348c0d17ae7aea2de"},{url:"9994.creaditor.bundle.js",revision:"26e6c210fe02e1f9b0287290011655e3"},{url:"creaditor.bundle.js",revision:"74871ff817d71e0239dcf43fae82b585"},{url:"creaditor.bundle.js.LICENSE.txt",revision:"794f185f21d34a033895e911c0658217"},{url:"dca9330af07325d31ab04d60838684cd.png",revision:null},{url:"index.html",revision:"633997b83db73351ce2c09a40bc5dd2f"}],{})});
1
+ if(!self.define){let e,d={};const r=(r,c)=>(r=new URL(r+".js",c).href,d[r]||new Promise(d=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=d,document.head.appendChild(e)}else e=r,importScripts(r),d()}).then(()=>{let e=d[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e}));self.define=(c,b)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(d[i])return;let a={};const n=e=>r(e,i),o={module:{uri:i},exports:a,require:n};d[i]=Promise.all(c.map(e=>o[e]||n(e))).then(e=>(b(...e),a))}}define(["./workbox-f3063069"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"112.creaditor.bundle.js",revision:"cecb35ee28609df9dfede4e6a01ab32b"},{url:"1142.creaditor.bundle.js",revision:"d39cafc88e6aea1556c82cb620e1a2ff"},{url:"1204.creaditor.bundle.js",revision:"ab63276f69accdc65901b80e8b0f6c94"},{url:"1271.creaditor.bundle.js",revision:"5011b04e62cbf4659ef0e8a1dced22bf"},{url:"1317.creaditor.bundle.js",revision:"8f6674ecb348b5f3e5fca58cd4771c20"},{url:"1317.creaditor.bundle.js.LICENSE.txt",revision:"c8a750975849f68cc5261bff5b7597b4"},{url:"1334.creaditor.bundle.js",revision:"3d94fa72808bafc3c2e3a12c03004daf"},{url:"1396.creaditor.bundle.js",revision:"b28c7f0fbfc65927d08924655f5a0264"},{url:"1403.creaditor.bundle.js",revision:"b965b1cc3e11e4c46736fbc855524349"},{url:"1456.creaditor.bundle.js",revision:"3811b6097041da788cbf61ea03601784"},{url:"1529.creaditor.bundle.js",revision:"7961204004317491e920dbad90d56277"},{url:"168.creaditor.bundle.js",revision:"8b292ba3e21f73726da0a30307da11ed"},{url:"168.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"170.creaditor.bundle.js",revision:"ee3f12bc30f67cc8951daf483c248a15"},{url:"175.creaditor.bundle.js",revision:"a887a17fd0554975b3c18dbadc204f4c"},{url:"1972.creaditor.bundle.js",revision:"6a5534c86003dbf4ab66c8dbbcde71b2"},{url:"2001.creaditor.bundle.js",revision:"aea9bbbd5be6e1a4dc0cb028fe6e9662"},{url:"2001.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"211.creaditor.bundle.js",revision:"28e0be495a3c39a902b5983ddb9f4cbb"},{url:"2112.creaditor.bundle.js",revision:"f3d613a97be1c80e79325d7ccfc636b5"},{url:"2154.creaditor.bundle.js",revision:"f006afa17111e96496716d901e2cc2ac"},{url:"2234.creaditor.bundle.js",revision:"cd27ac5f566b304d4f1eece81ddc83bd"},{url:"2298.creaditor.bundle.js",revision:"acf2a7dd09e917ea4c4bac7853cca6bc"},{url:"235.creaditor.bundle.js",revision:"63204b1ff18d337dc64bb47970a9ae06"},{url:"235.creaditor.bundle.js.LICENSE.txt",revision:"5a0e25bacaf347bc90cf875c3e0944e7"},{url:"2350.creaditor.bundle.js",revision:"ad4b40d4c824ea45be38cdb38ec2811b"},{url:"2377.creaditor.bundle.js",revision:"e81b1dd02afb539702685ebbd241656f"},{url:"2384.creaditor.bundle.js",revision:"df77aad53bb57322953dc61708c7de8d"},{url:"2397.creaditor.bundle.js",revision:"de8115961695c5d83c5de95e2c1fa68a"},{url:"2409.creaditor.bundle.js",revision:"8014a9970419e80d12c5bb615a6637bb"},{url:"2547.creaditor.bundle.js",revision:"33e5789379606491dcd127470fe7375a"},{url:"2550.creaditor.bundle.js",revision:"3aa264f6eaef0bb9fee6bd767fb4c787"},{url:"2550.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"2590.creaditor.bundle.js",revision:"b10991e68aa92f461d2b43cb976c3f6c"},{url:"2655.creaditor.bundle.js",revision:"bcc5408b4845b6c9136411409dd984d1"},{url:"2706.creaditor.bundle.js",revision:"a095008b0a296f92f2a6bbc9833de233"},{url:"2706.creaditor.bundle.js.LICENSE.txt",revision:"c8a750975849f68cc5261bff5b7597b4"},{url:"271.creaditor.bundle.js",revision:"cbe05e76796bcbdb423a068052189278"},{url:"2717.creaditor.bundle.js",revision:"a56e0f09b3e93d1253c843d93258a88c"},{url:"2717.creaditor.bundle.js.LICENSE.txt",revision:"c9ae65c215fbf97b96bce384781c89ea"},{url:"2765.creaditor.bundle.js",revision:"2fd755d2081dba8605ed2a70ced32bc0"},{url:"2773.creaditor.bundle.js",revision:"b66aacd479b264d24a3c839ce092631c"},{url:"2833.creaditor.bundle.js",revision:"ad5632253d9435d7fa06a40151ebabcf"},{url:"2837.creaditor.bundle.js",revision:"9c4554c1d38e36fec1ced22636be7892"},{url:"2837.creaditor.bundle.js.LICENSE.txt",revision:"6f9811cbe6a9564f96a78a4add5a5bc9"},{url:"2956.creaditor.bundle.js",revision:"a3f3bd46f723e9ad76a9d07f1bd73759"},{url:"2963.creaditor.bundle.js",revision:"a9d74c704253bb5d900740cd7b77c91d"},{url:"3105.creaditor.bundle.js",revision:"fcb21b9ac1bd11953529a83c8afad526"},{url:"3233.creaditor.bundle.js",revision:"d00041d99bfc950eacc5a7d2bec2a61b"},{url:"3418.creaditor.bundle.js",revision:"34376fd389339c08274a71310b19cf70"},{url:"3521.creaditor.bundle.js",revision:"1f87987f7810bceef3eaa32eec31d96c"},{url:"353.creaditor.bundle.js",revision:"89b04a79885687acdc202fa12d9f9ea2"},{url:"3545.creaditor.bundle.js",revision:"9118195e3eacd5124658abbe4ae8853e"},{url:"3553.creaditor.bundle.js",revision:"23972b3cdf3710236936e452841cb809"},{url:"3606.creaditor.bundle.js",revision:"ce9c2afb795a55c1146ff701e3547766"},{url:"3792.creaditor.bundle.js",revision:"25d633b36dba6f8a8c0605c30a3d6444"},{url:"380.creaditor.bundle.js",revision:"4240d212d2b6a5fc8dd9813090465e6f"},{url:"3827.creaditor.bundle.js",revision:"4af63258ddbfc5c46e5a5280e0653f5b"},{url:"3847.creaditor.bundle.js",revision:"acffa000eca533e1141a7f57493e0961"},{url:"3875.creaditor.bundle.js",revision:"f40afe8e0a5e2a398e76b26830f967b8"},{url:"3971.creaditor.bundle.js",revision:"f73ae68bb1bf498268c61ae19cc4c8f2"},{url:"4061.creaditor.bundle.js",revision:"9ce194af11399c096808d065c6cb4d84"},{url:"407.creaditor.bundle.js",revision:"3dd332a7512da4854694091607a03d24"},{url:"4074.creaditor.bundle.js",revision:"2639150e66dc341573cb6b3687bbc54b"},{url:"4100.creaditor.bundle.js",revision:"35fe1f1ac5cda4b570654afda2d2018b"},{url:"4109.creaditor.bundle.js",revision:"73fc250ad1b4a805b32ee61e87c2af53"},{url:"4109.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"4114.creaditor.bundle.js",revision:"8b3a3dfa4d9aea25e8124c4a085aa951"},{url:"4161.creaditor.bundle.js",revision:"4993026497ada2ac97d716cb2f4c0a64"},{url:"4186.creaditor.bundle.js",revision:"85d24c06f787aea1bcc096aaa4d00092"},{url:"4186.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"4288.creaditor.bundle.js",revision:"5d721b24f58a69f2e35dc8e62171f0e2"},{url:"4413.creaditor.bundle.js",revision:"b054be84ed2994e2b938641e9d3fab19"},{url:"4475.creaditor.bundle.js",revision:"3ecfd6de644933d2e31e2146a7b2ad9f"},{url:"453.creaditor.bundle.js",revision:"f250f77957b9b5412c3849e98cb22fe9"},{url:"4615.creaditor.bundle.js",revision:"0203064be05b359b62fe87b0a6495ad3"},{url:"4639.creaditor.bundle.js",revision:"0528c60b84f726b8aa5a2071195d2194"},{url:"467.creaditor.bundle.js",revision:"989e6b4d31dfbcfc6890330cd0894aa5"},{url:"4762.creaditor.bundle.js",revision:"82e589852084bb8277653bdf659ae567"},{url:"4770.creaditor.bundle.js",revision:"b060bafc940465b48c98d16f5dbe47b4"},{url:"4819.creaditor.bundle.js",revision:"402d0fcd9fe1678ad881c609074bd269"},{url:"4947.creaditor.bundle.js",revision:"077e60d7a64d257c8eed1ee081869184"},{url:"4987.creaditor.bundle.js",revision:"406826ae5f86e0a1541cef5471bf0609"},{url:"4987.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"4988.creaditor.bundle.js",revision:"3609437bf3e31dd856209c6988b0628f"},{url:"5119.creaditor.bundle.js",revision:"ec996b9463931de821b6b1a928b0c0a9"},{url:"5133.creaditor.bundle.js",revision:"0dbb4e24ccdd657592b8370551debaa5"},{url:"5156.creaditor.bundle.js",revision:"150409c594e2964911dcf28634a74664"},{url:"5284.creaditor.bundle.js",revision:"5d5f0b484b6a732671f63db0cb0d2fcc"},{url:"5284.creaditor.bundle.js.LICENSE.txt",revision:"e6c501582fc5069d08decdc04d4ea11f"},{url:"5379.creaditor.bundle.js",revision:"5c482b14889b9355b41b884905c8b3cc"},{url:"5391.creaditor.bundle.js",revision:"f01d8de1d661b87a991d7c1f3579bc6d"},{url:"5411.creaditor.bundle.js",revision:"eae48b84ccfddff3ff4a616cbf1443c9"},{url:"5501.creaditor.bundle.js",revision:"4d0e717d93b6fadc54ff28f95a0d0517"},{url:"5530.creaditor.bundle.js",revision:"aea2b33b71d2aad5c5ccc7db288e2141"},{url:"5666.creaditor.bundle.js",revision:"fcc31fe060abf5475603bdd21052c7b2"},{url:"567.creaditor.bundle.js",revision:"f7907ceb7cdcec2b38a3a6faa45baed3"},{url:"5713.creaditor.bundle.js",revision:"ccc2bba0ee89f84aa5a8078b8b004677"},{url:"5713.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"574.creaditor.bundle.js",revision:"048702a59ceddd07abec85beb96c99e8"},{url:"574.creaditor.bundle.js.LICENSE.txt",revision:"7e87622d8f6027cbd50a87a2a0160d32"},{url:"578.creaditor.bundle.js",revision:"eea5a718ca8ccd7b81746c89529da3ab"},{url:"5791.creaditor.bundle.js",revision:"afcc2f40cd9dd357f205014f7aaba4f8"},{url:"5839.creaditor.bundle.js",revision:"02193ff7580fc12e262dbebc29e89401"},{url:"5849.creaditor.bundle.js",revision:"d530a38500cdeff163b19e8aaedc590d"},{url:"5850.creaditor.bundle.js",revision:"3b6d2c073ba4418cacc65ca7006ab3e7"},{url:"5884.creaditor.bundle.js",revision:"6f797f632f2589d56fa616ea41e1540c"},{url:"59.creaditor.bundle.js",revision:"bebc52161360d22d5867b5bc83c61353"},{url:"59.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"5926.creaditor.bundle.js",revision:"c08dfb2f6974766a8e50d7b86f10d09e"},{url:"6036.creaditor.bundle.js",revision:"d8cc62bcfd4c4bf1b6e12b82daa9dd12"},{url:"6151.creaditor.bundle.js",revision:"388be4b26097dd0df1fa8edd5fd613af"},{url:"6216.creaditor.bundle.js",revision:"f7d61056194ed8d16d95da665714c11c"},{url:"6216.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"638.creaditor.bundle.js",revision:"0805c65662d7b96ee150b7865da7cca6"},{url:"6442.creaditor.bundle.js",revision:"eb69361a34c99ebae2dbddcb32a9581c"},{url:"6442.creaditor.bundle.js.LICENSE.txt",revision:"c9ae65c215fbf97b96bce384781c89ea"},{url:"6496.creaditor.bundle.js",revision:"338b9529acf47bdc601be968cdeaad9e"},{url:"653.creaditor.bundle.js",revision:"52b9de427f192150b4b3c3b9725aad72"},{url:"6751.creaditor.bundle.js",revision:"365c1f0cd5c99801f035606282a231c7"},{url:"6814.creaditor.bundle.js",revision:"a7f323c08e346ec2b1c68cf81ff47333"},{url:"6937.creaditor.bundle.js",revision:"097f6c719d82a9352f396b0facc6df61"},{url:"7051.creaditor.bundle.js",revision:"d65dbbbd2541ea4cb4b42d89da193b3b"},{url:"7051.creaditor.bundle.js.LICENSE.txt",revision:"07b9ce85d65b059fc522aa29a4819489"},{url:"7055.creaditor.bundle.js",revision:"f31fc847732490920b65b45e7d7875b8"},{url:"7055.creaditor.bundle.js.LICENSE.txt",revision:"1299004e20f2ce6cb16d4370129c3cec"},{url:"715.creaditor.bundle.js",revision:"fa1475c83830889b0000781f4b8ae27f"},{url:"715.creaditor.bundle.js.LICENSE.txt",revision:"ddaef1761da9718367006e6a051e587c"},{url:"7155.creaditor.bundle.js",revision:"5d2854bb436f39fcb0a60c7e8cb5b42c"},{url:"7209.creaditor.bundle.js",revision:"1d4d53b8c285c3f685a96e4650f6d5cd"},{url:"7238.creaditor.bundle.js",revision:"06ab3510e2ccb95663f42f30b935cbeb"},{url:"7255.creaditor.bundle.js",revision:"4bd8abfce57c30fc2354b9a0833c8e3a"},{url:"738.creaditor.bundle.js",revision:"69f421253b26ef5d11d6c08abbc1d886"},{url:"7380.creaditor.bundle.js",revision:"fddb1138256dfd180b1edcf12d95f832"},{url:"7463.creaditor.bundle.js",revision:"dbbb9bb5df85208a7892eeeb73a547ee"},{url:"7463.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"7466.creaditor.bundle.js",revision:"71a436e7a7948c51c98758e223ec6ca5"},{url:"752.creaditor.bundle.js",revision:"7e38754a782c4b33b80310aad0957d5b"},{url:"7523.creaditor.bundle.js",revision:"9c97d67cf0ded1acc2df043abd0c5b41"},{url:"7564.creaditor.bundle.js",revision:"8d335e8846f544d305c1df15bce3e32e"},{url:"7654.creaditor.bundle.js",revision:"5cac40177715bf4c40b4b0aa0436d71a"},{url:"767.creaditor.bundle.js",revision:"27299c8b9f17b695d2754656691698e0"},{url:"7789.creaditor.bundle.js",revision:"6634d5299fde0509aeae0aebbe607366"},{url:"7789.creaditor.bundle.js.LICENSE.txt",revision:"4c52c7161b2e22ac40ee29b327ab651b"},{url:"7838.creaditor.bundle.js",revision:"35a256e66c57b40d7245bff92cc1c4f8"},{url:"7937.creaditor.bundle.js",revision:"c68a91978a2c5ae0624fe54e9bd7e4a3"},{url:"7997.creaditor.bundle.js",revision:"a3b7ec234aa6407ae509b1f1df616793"},{url:"8042.creaditor.bundle.js",revision:"a24e3dabf0262b9c8a71fa68d1d9c023"},{url:"8064.creaditor.bundle.js",revision:"48839022909f72bb9163ecf18f8c1677"},{url:"8141.creaditor.bundle.js",revision:"b6221648d5f82dc59a50d4ce1074b936"},{url:"8173.creaditor.bundle.js",revision:"ea7cc21cb8903648ecd2c4b07debfbec"},{url:"8173.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"8196.creaditor.bundle.js",revision:"2cda0ae749ee093108f8b38b18faa6ff"},{url:"823.creaditor.bundle.js",revision:"8afa8f7274a9bf1ead2f62c6c07712bd"},{url:"8250.creaditor.bundle.js",revision:"e29a6bedf8a2b93c561353211f8993ef"},{url:"8251.creaditor.bundle.js",revision:"76d697c599d8455348dc0b137600d5b1"},{url:"8299.creaditor.bundle.js",revision:"2da33b74c936fb5214c90143f94f82be"},{url:"8315.creaditor.bundle.js",revision:"87577f0aafca067de3c1cbc776e28f4b"},{url:"8443.creaditor.bundle.js",revision:"800ba70473831238aee9cd5310516e1e"},{url:"8516.creaditor.bundle.js",revision:"ef7a9c47677772b41857e5bb1e1adb99"},{url:"8533.creaditor.bundle.js",revision:"3b3fb333cb7c06cabc493abcc80cefdf"},{url:"8547.creaditor.bundle.js",revision:"b0d6ee05067bd9b5d652b62add48e747"},{url:"8570.creaditor.bundle.js",revision:"2003dfcb0e758be45e0bdb85456d0dbb"},{url:"8646.creaditor.bundle.js",revision:"91b1601a73c9f16399ff3cd8cb15a394"},{url:"8654.creaditor.bundle.js",revision:"3618798ef21e495e600ecbafc4fdd2ec"},{url:"8854.creaditor.bundle.js",revision:"a462f451c2ef5c1242108a613a419433"},{url:"8878.creaditor.bundle.js",revision:"92d0c1d443c0c1e4c6c588e2c426b7f3"},{url:"8916.creaditor.bundle.js",revision:"8d4ec7b7a7d17c38bb9e7b8bc3d5663b"},{url:"8921.creaditor.bundle.js",revision:"905f21a5c96ace0384c6e3b2ec8a5959"},{url:"898.creaditor.bundle.js",revision:"a024646e3ca480fcfce29ed8cbd0b55b"},{url:"898.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"8983.creaditor.bundle.js",revision:"374fb7bb4bb76d97a4a4d4249db0ae5b"},{url:"9041.creaditor.bundle.js",revision:"c9bc970d0ce04d3d0995e5a40b7c74fb"},{url:"9158.creaditor.bundle.js",revision:"71f0e38cb7b0ea1ec0ebc2c1ad03983b"},{url:"9158.creaditor.bundle.js.LICENSE.txt",revision:"bdcb4366d129e6ce322401c2c0a6f680"},{url:"9250.creaditor.bundle.js",revision:"40b6399127ffdf51b74a8761f7d73c56"},{url:"9386.creaditor.bundle.js",revision:"cbd8b350e5cfcf88cad16c4574369c9d"},{url:"9431.creaditor.bundle.js",revision:"69e69ea14b6f6c22d2c2af901627f6bf"},{url:"9453.creaditor.bundle.js",revision:"ebda05d2c346ee6cb7a5885ad311e8fc"},{url:"9570.creaditor.bundle.js",revision:"40da6756ba5727d76ae8087aad6c86ee"},{url:"9694.creaditor.bundle.js",revision:"15bff01cd425f84f1a26208336a83238"},{url:"975.creaditor.bundle.js",revision:"b60acccab2d53d47f49522a884c6c289"},{url:"976.creaditor.bundle.js",revision:"bf2738d19d647728b3c2c5ee01f75796"},{url:"9986.creaditor.bundle.js",revision:"adb41b5fe860ad2b59c43457d61f9641"},{url:"9990.creaditor.bundle.js",revision:"27083e0439ea303348c0d17ae7aea2de"},{url:"9994.creaditor.bundle.js",revision:"26e6c210fe02e1f9b0287290011655e3"},{url:"creaditor.bundle.js",revision:"174331cf26c8fbc1ca0b633fbe00044d"},{url:"creaditor.bundle.js.LICENSE.txt",revision:"794f185f21d34a033895e911c0658217"},{url:"dca9330af07325d31ab04d60838684cd.png",revision:null},{url:"index.html",revision:"633997b83db73351ce2c09a40bc5dd2f"}],{})});
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creaditor/web-starterkit",
3
- "version": "1.0.55",
3
+ "version": "1.0.58",
4
4
  "description": "Creaditor Web Editor - Starterkit for building beautiful web pages",
5
5
  "main": "dist/creaditor.bundle.js",
6
6
  "files": [