const e=/^(https?:\/\/|mailto:|[^:/?#]*(?:[/?#]|$))/i;class t{constructor(t){if(!e.test(t))throw new Error(`URL not marked as safe: ${t}`);this._url=t}toString(){return this._url}}const i=window.location.origin+rf()+"/",r=document.createElement("style");r.textContent=`\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Thin.ttf",i)}) format("truetype");\n font-weight: 100;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-ThinItalic.ttf",i)}) format("truetype");\n font-weight: 100;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Light.ttf",i)}) format("truetype");\n font-weight: 300;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-LightItalic.ttf",i)}) format("truetype");\n font-weight: 300;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Regular.ttf",i)}) format("truetype");\n font-weight: 400;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Italic.ttf",i)}) format("truetype");\n font-weight: 400;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Medium.ttf",i)}) format("truetype");\n font-weight: 500;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-MediumItalic.ttf",i)}) format("truetype");\n font-weight: 500;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Bold.ttf",i)}) format("truetype");\n font-weight: 700;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-BoldItalic.ttf",i)}) format("truetype");\n font-weight: 700;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-Black.ttf",i)}) format("truetype");\n font-weight: 900;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto";\n src: url(${new URL("fonts/roboto/Roboto-BlackItalic.ttf",i)}) format("truetype");\n font-weight: 900;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Thin.ttf",i)}) format("truetype");\n font-weight: 100;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-ThinItalic.ttf",i)}) format("truetype");\n font-weight: 100;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Light.ttf",i)}) format("truetype");\n font-weight: 300;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-LightItalic.ttf",i)}) format("truetype");\n font-weight: 300;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Regular.ttf",i)}) format("truetype");\n font-weight: 400;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Italic.ttf",i)}) format("truetype");\n font-weight: 400;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Medium.ttf",i)}) format("truetype");\n font-weight: 500;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-MediumItalic.ttf",i)}) format("truetype");\n font-weight: 500;\n font-style: italic;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-Bold.ttf",i)}) format("truetype");\n font-weight: 700;\n font-style: normal;\n }\n @font-face {\n font-family: "Roboto Mono";\n src: url(${new URL("fonts/robotomono/RobotoMono-BoldItalic.ttf",i)}) format("truetype");\n font-weight: 700;\n font-style: italic;\n }`,document.head.appendChild(r),window.JSCompiler_renameProperty=function(e,t){return e},window.COMPILED=window.COMPILED||!1,COMPILED||window.goog||(window.goog={require(e){if("webcomponentsjs.custom_elements.auto_es5_shim"!==e)throw new Error("Called goog.require without loading //javascript/closure:base")}},window.goog.require.isDevModeNoOpImpl=!0),goog.require("webcomponentsjs.custom_elements.auto_es5_shim"),COMPILED||function(){let e=window.goog&&window.goog.declareModuleId||(()=>{});const t=function(t){if(goog.isInEs6ModuleLoader_())return e(t)};window.goog.declareModuleId?goog.declareModuleId=t:(window.goog.isInEs6ModuleLoader_=()=>!1,Object.defineProperty(window.goog,"declareModuleId",{get:()=>t,set:i=>(e=i,t)}))}(),goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Boot");const o=window.Polymer;window.Polymer=function(e){return window.Polymer._polymerFn(e)},o&&Object.assign(Polymer,o),Polymer._polymerFn=function(e){throw new Error("Load polymer.html to use the Polymer() function.")};let s,n,a=/(url\()([^)]*)(\))/g,l=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function d(e,t){if(e&&l.test(e))return e;if("//"===e)return e;if(void 0===s){s=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",s="http://a/c%20d"===e.href}catch(e){}}if(t||(t=document.baseURI||window.location.href),s)try{return new URL(e,t).href}catch(t){return e}return n||(n=document.implementation.createHTMLDocument("temp"),n.base=n.createElement("base"),n.head.appendChild(n.base),n.anchor=n.createElement("a"),n.body.appendChild(n.anchor)),n.base.href=t,n.anchor.href=e,n.anchor.href||e}function c(e,t){return e.replace(a,(function(e,i,r,o){return i+"'"+d(r.replace(/["']/g,""),t)+"'"+o}))}function h(e){return e.substring(0,e.lastIndexOf("/")+1)}const p=h,u=c,g=d;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.ResolveUrl"),Polymer.ResolveUrl={resolveCss:u,resolveUrl:g,pathFromUrl:p};const m=!window.ShadyDOM||!window.ShadyDOM.inUse,f=Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),v=!window.customElements.polyfillWrapFlushCallback,b=m&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let y=window.Polymer&&window.Polymer.rootPath||h(document.baseURI||window.location.href);const w=function(e){y=e};let x=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;const _=function(e){x=e};let C=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;const E=function(e){C=e};let S=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;const $=function(e){S=e};let k=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;const A=function(e){k=e};let R=window.Polymer&&window.Polymer.legacyOptimizations||!1;const T=function(e){R=e};let I=window.Polymer&&window.Polymer.legacyWarnings||!1,P=window.Polymer&&window.Polymer.syncInitialRender||!1;const N=function(e){P=e};let O=window.Polymer&&window.Polymer.legacyUndefined||!1,D=window.Polymer&&window.Polymer.orderedComputed||!1,L=!0,M=window.Polymer&&window.Polymer.removeNestedTemplates||!1,F=window.Polymer&&window.Polymer.fastDomIf||!1,U=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,B=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,H=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Settings"),Polymer.Settings={useShadow:m,useNativeCSSProperties:f,useNativeCustomElements:v,get rootPath(){return y},setRootPath:w,get sanitizeDOMValue(){return x},setSanitizeDOMValue:_,get passiveTouchGestures(){return C},setPassiveTouchGestures:E,get strictTemplatePolicy(){return S},setStrictTemplatePolicy:$,get allowTemplateFromDomModule(){return k},setAllowTemplateFromDomModule:A,get legacyOptimizations(){return R},setLegacyOptimizations:T,get syncInitialRender(){return P},setSyncInitialRender:N},void 0!==Polymer.rootPath&&w(Polymer.rootPath),void 0!==Polymer.sanitizeDOMValue&&_(Polymer.sanitizeDOMValue),void 0!==Polymer.passiveTouchGestures&&E(Polymer.passiveTouchGestures),void 0!==Polymer.strictTemplatePolicy&&$(Polymer.strictTemplatePolicy),void 0!==Polymer.allowTemplateFromDomModule?A(Polymer.allowTemplateFromDomModule):A(!0),void 0!==Polymer.legacyOptimizations&&T(Polymer.legacyOptimizations),void 0!==Polymer.syncInitialRender&&N(Polymer.syncInitialRender),Object.defineProperty(Polymer,"sanitizeDOMValue",{get:()=>x,set(e){_(e)}});let j=0;function z(){}z.prototype.__mixinApplications,z.prototype.__mixinSet;const G=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let i=j++;return function(r){let o=r.__mixinSet;if(o&&o[i])return r;let s=t,n=s.get(r);if(!n){n=e(r),s.set(r,n);let t=Object.create(n.__mixinSet||o||null);t[i]=!0,n.__mixinSet=t}return n}},V=G;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Mixin"),Polymer.dedupingMixin=V;let W={},q={};function K(e,t){W[e]=q[e.toLowerCase()]=t}function Y(e){return W[e]||q[e.toLowerCase()]}class X extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){let i=Y(e);return i&&t?i.querySelector(t):i}return null}attributeChangedCallback(e,t,i,r){t!==i&&this.register()}get assetpath(){if(!this.__assetpath){const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=d(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=h(t)}return this.__assetpath}register(e){if(e=e||this.id){if(S&&void 0!==Y(e))throw K(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,K(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}X.prototype.modules=W,customElements.define("dom-module",X),goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Elements.DomModule"),Polymer.DomModule=X;const J="shady-unscoped";function Q(e){return X.import(e)}function Z(e){const t=c((e.body?e.body:e).textContent,e.baseURI),i=document.createElement("style");return i.textContent=t,i}function ee(e){const t=e.trim().split(/\s+/),i=[];for(let e=0;e=0}function ve(e){let t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function be(e,t){return 0===e.indexOf(t+".")}function ye(e,t){return 0===t.indexOf(e+".")}function we(e,t,i){return t+i.slice(e.length)}function xe(e,t){return e===t||be(e,t)||ye(e,t)}function _e(e){if(Array.isArray(e)){let t=[];for(let i=0;i1){for(let e=0;ee[1].toUpperCase())))}function He(e){return Me[e]||(Me[e]=e.replace(Ue,"-$1").toLowerCase())}goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.CaseMap");const je=Be,ze=He;Polymer.CaseMap={dashToCamelCase:je,camelToDashCase:ze};let Ge=0,Ve=0,We=[],qe=0,Ke=!1,Ye=document.createTextNode("");new window.MutationObserver((function(){Ke=!1;const e=We.length;for(let t=0;t{throw e}))}}We.splice(0,e),Ve+=e})).observe(Ye,{characterData:!0});const Xe={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},Je={run:e=>window.requestAnimationFrame(e),cancel(e){window.cancelAnimationFrame(e)}},Qe={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},Ze={run:e=>(Ke||(Ke=!0,Ye.textContent=qe++),We.push(e),Ge++),cancel(e){const t=e-Ve;if(t>=0){if(!We[t])throw new Error("invalid async handle: "+e);We[t]=null}}};goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Async"),Polymer.Async={timeOut:Xe,animationFrame:Je,idlePeriod:Qe,microTask:Ze};const et=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?e=>ShadyDOM.patch(e):e=>e;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Wrap"),Polymer.wrap=et;const tt=Ze,it=G((e=>class extends e{static createProperties(e){const t=this.prototype;for(let i in e)i in t||t._createPropertyAccessor(i)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let t=this.__dataAttributes[e];return t||(t=this.constructor.attributeNameForProperty(e),this.__dataAttributes[t]=e),t}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this.__data[e]},set:t?function(){}:function(t){this._setPendingProperty(e,t,!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 e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,i){let r=this.__data[e],o=this._shouldPropertyChange(e,t,r);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),o}_isPropertyPending(e){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(e))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,tt.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 e=this.__data,t=this.__dataPending,i=this.__dataOld;this._shouldPropertiesChange(e,t,i)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,i)),this.__dataCounter--}_shouldPropertiesChange(e,t,i){return Boolean(t)}_propertiesChanged(e,t,i){}_shouldPropertyChange(e,t,i){return i!==t&&(i==i||t==t)}attributeChangedCallback(e,t,i,r){t!==i&&this._attributeToProperty(e,i),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,i,r)}_attributeToProperty(e,t,i){if(!this.__serializing){const r=this.__dataAttributes,o=r&&r[e]||e;this[o]=this._deserializeValue(t,i||this.constructor.typeForProperty(o))}}_propertyToAttribute(e,t,i){this.__serializing=!0,i=arguments.length<3?this[e]:i,this._valueToNodeAttribute(this,i,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,i){const r=this._serializeValue(t);"class"!==i&&"name"!==i&&"slot"!==i||(e=et(e)),void 0===r?e.removeAttribute(i):e.setAttribute(i,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(e){return"boolean"==typeof e?e?"":void 0:null!=e?e.toString():void 0}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}})),rt=it;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.PropertiesChanged"),Polymer.PropertiesChanged=rt;const ot={};let st=HTMLElement.prototype;for(;st;){let e=Object.getOwnPropertyNames(st);for(let t=0;ttrustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1,at=G((e=>{const t=it(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:e=>e});return(t,i,r)=>{const o=i.getAttribute(r);e&&r.startsWith("on-")?t.setAttribute(r,e.createScript(o,r)):t.setAttribute(r,o)}})();function ut(e){let t=e.getAttribute("is");if(t&&dt[t]){let i=e;for(i.removeAttribute("is"),e=i.ownerDocument.createElement(t),i.parentNode.replaceChild(e,i),e.appendChild(i);i.attributes.length;){const{name:t}=i.attributes[0];pt(e,i,t),i.removeAttribute(t)}}return e}function gt(e,t){let i=t.parentInfo&>(e,t.parentInfo);if(!i)return e;for(let e=i.firstChild,r=0;e;e=e.nextSibling)if(t.parentIndex===r++)return e}function mt(e,t,i,r){r.id&&(t[r.id]=i)}function ft(e,t,i){if(i.events&&i.events.length)for(let r,o=0,s=i.events;oclass extends e{static _parseTemplate(e,t){if(!e._templateInfo){let i=e._templateInfo={};i.nodeInfoList=[],i.nestedTemplate=Boolean(t),i.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute&&e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,i,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,i){return this._parseTemplateNode(e.content,t,i)}static _parseTemplateNode(e,t,i){let r=!1,o=e;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(t.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(o,t,i)||r,function(e){(function(){if(!ct){ct=!0;const e=document.createElement("textarea");e.placeholder="a",ht=e.placeholder===e.textContent}return ht})()&&"textarea"===e.localName&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}(o),o.firstChild&&this._parseTemplateChildNodes(o,t,i),o.hasAttributes&&o.hasAttributes()&&(r=this._parseTemplateNodeAttributes(o,t,i)||r),r||i.noted}static _parseTemplateChildNodes(e,t,i){if("script"!==e.localName&&"style"!==e.localName)for(let r,o=e.firstChild,s=0;o;o=r){if("template"==o.localName&&(o=ut(o)),r=o.nextSibling,o.nodeType===Node.TEXT_NODE){let i=r;for(;i&&i.nodeType===Node.TEXT_NODE;)o.textContent+=i.textContent,r=i.nextSibling,e.removeChild(i),i=r;if(t.stripWhiteSpace&&!o.textContent.trim()){e.removeChild(o);continue}}let n={parentIndex:s,parentInfo:i};this._parseTemplateNode(o,t,n)&&(n.infoIndex=t.nodeInfoList.push(n)-1),o.parentNode&&s++}}static _parseTemplateNestedTemplate(e,t,i){let r=e,o=this._parseTemplate(r,t);return(o.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),i.templateInfo=o,!0}static _parseTemplateNodeAttributes(e,t,i){let r=!1,o=Array.from(e.attributes);for(let s,n=o.length-1;s=o[n];n--)r=this._parseTemplateNodeAttribute(e,t,i,s.name,s.value)||r;return r}static _parseTemplateNodeAttribute(e,t,i,r,o){return"on-"===r.slice(0,3)?(e.removeAttribute(r),i.events=i.events||[],i.events.push({name:r.slice(3),value:o}),!0):"id"===r&&(i.id=o,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e,t){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let i=(t=t||this.constructor._parseTemplate(e)).nodeInfoList,r=t.content||e.content,o=document.importNode(r,!0);o.__noInsertionPoint=!t.hasInsertionPoint;let s=o.nodeList=new Array(i.length);o.$={};for(let e,r=0,n=i.length;r{let r=0,o=t.length-1,s=-1;for(;r<=o;){const n=r+o>>1,a=i.get(t[n].methodInfo)-i.get(e.methodInfo);if(a<0)r=n+1;else{if(!(a>0)){s=n;break}o=n-1}}s<0&&(s=o+1),t.splice(s,0,e)},Dt=(e,t,i,r,o)=>{const s=t[o?ve(e):e];if(s)for(let t=0;td.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let r=i[t];t=we(d.source,l.target,t),a._setPendingPropertyOrPath(t,r,!1,!0)&&e._enqueueClient(a)}else{let n=o.evaluator._evaluateBinding(e,d,t,i,r,s);n!==xt&&function(e,t,i,r,o){if(o=function(e,t,i,r){if(i.isCompound){let o=e.__dataCompoundStorage[i.target];o[r.compoundIndex]=t,t=o.join("")}return"attribute"!==i.kind&&("textContent"!==i.target&&("value"!==i.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=t??"")),t}(t,o,i,r),x&&(o=x(o,i.target,i.kind,t)),"attribute"==i.kind)e._valueToNodeAttribute(t,o,i.target);else{let r=i.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?t[_t.READ_ONLY]&&t[_t.READ_ONLY][r]||t._setPendingProperty(r,o)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,r,o)}}(e,a,l,d,n)}}function Bt(e,t){if(t.isCompound){let i=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,o=new Array(r.length);for(let e=0;e="0"&&r<="9"&&(r="#"),r){case"'":case'"':i.value=t.slice(1,-1),i.literal=!0;break;case"#":i.value=Number(t),i.literal=!0}return i.literal||(i.rootProperty=ve(t),i.structured=fe(t),i.structured&&(i.wildcard=".*"==t.slice(-2),i.wildcard&&(i.name=t.slice(0,-2)))),i}function Jt(e,t,i){let r=Ee(e,i);return void 0===r&&(r=t[i]),r}function Qt(e,t,i,r){const o={indexSplices:r};O&&!e._overrideLegacyUndefined&&(t.splices=o),e.notifyPath(i+".splices",o),e.notifyPath(i+".length",t.length),O&&!e._overrideLegacyUndefined&&(o.indexSplices=[])}function Zt(e,t,i,r,o,s){Qt(e,t,i,[{index:r,addedCount:o,removed:s,object:t,type:"splice"}])}const ei=G((e=>{const t=bt(at(e));return class extends t{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 _t}_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(ti.length){let e=ti[ti.length-1];e._enqueueClient(this),this.__dataHost=e}}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[_t.READ_ONLY];for(let i in e)t&&t[i]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[i]=this.__dataPending[i]=e[i])}_addPropertyEffect(e,t,i){this._createPropertyAccessor(e,t==_t.READ_ONLY);let r=St(this,t,!0)[e];r||(r=this[t][e]=[]),r.push(i)}_removePropertyEffect(e,t,i){let r=St(this,t,!0)[e],o=r.indexOf(i);o>=0&&r.splice(o,1)}_hasPropertyEffect(e,t){let i=this[t];return Boolean(i&&i[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,_t.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,_t.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,_t.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,_t.COMPUTE)}_setPendingPropertyOrPath(e,t,i,r){if(r||ve(Array.isArray(e)?e[0]:e)!==e){if(!r){let i=Ee(this,e);if(!(e=Se(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,i))return function(e,t,i){let r=e.__dataLinkedPaths;if(r){let o;for(let s in r){let n=r[s];ye(s,t)?(o=we(s,n,t),e._setPendingPropertyOrPath(o,i,!0,!0)):ye(n,t)&&(o=we(n,s,t),e._setPendingPropertyOrPath(o,i,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,i);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,i){i===e[t]&&"object"!=typeof i||("className"===t&&(e=et(e)),e[t]=i)}_setPendingProperty(e,t,i){let r=this.__dataHasPaths&&fe(e),o=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,o[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[_t.NOTIFY]&&this[_t.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=i),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t!e.literal)).length+(r.dynamicFn?1:0)}for(let e in r)t[e]||o.push(e);return{counts:i,ready:o,total:s}}(e);for(;r=s.shift();){t.set(r,t.size);const e=i[r];e&&e.forEach((e=>{const t=e.info.methodInfo;--n,0===--o[t]&&s.push(t)}))}if(0!==n){const t=e;console.warn(`Computed graph for ${t.localName} incomplete; circular?`)}e.constructor.__orderedComputedDeps=t}return t}(e),n=[];for(let e in t)Dt(e,o,n,s,r);let a;for(;a=n.shift();)Lt(e,"",t,0,a)&&Dt(a.methodInfo,o,n,s,r);Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let s=t;for(;$t(e,o,s,i,r);)Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),s=e.__dataPending,e.__dataPending=null}}(this,t,i,o),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(t,i,o),this._flushClients(),$t(this,this[_t.REFLECT],t,i,o),$t(this,this[_t.OBSERVE],t,i,o),r&&function(e,t,i,r,o){let s,n,a=e[_t.NOTIFY],l=wt++;for(let n in t)t[n]&&(a&&kt(e,a,l,n,i,r,o)||o&&Tt(e,n,i))&&(s=!0);s&&(n=e.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,r,t,i,o),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,i){this[_t.PROPAGATE]&&$t(this,this[_t.PROPAGATE],e,t,i),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,e,t,i)}_runEffectsForTemplate(e,t,i,r){const o=(t,r)=>{$t(this,e.propertyEffects,t,i,r,e.nodeList);for(let o=e.firstChild;o;o=o.nextSibling)this._runEffectsForTemplate(o,t,i,r)};e.runEffects?e.runEffects(o,t,r):o(t,r)}linkPaths(e,t){e=_e(e),t=_e(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=_e(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let i={path:""};Qt(this,Ee(this,e,i),i.path,t)}get(e,t){return Ee(t||this,e)}set(e,t,i){i?Se(i,e,t):this[_t.READ_ONLY]&&this[_t.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let i={path:""},r=Ee(this,e,i),o=r.length,s=r.push(...t);return t.length&&Zt(this,r,i.path,o,t.length,[]),s}pop(e){let t={path:""},i=Ee(this,e,t),r=Boolean(i.length),o=i.pop();return r&&Zt(this,i,t.path,i.length,0,[o]),o}splice(e,t,i,...r){let o,s={path:""},n=Ee(this,e,s);return t<0?t=n.length-Math.floor(-t):t&&(t=Math.floor(t)),o=2===arguments.length?n.splice(t):n.splice(t,i,...r),(r.length||o.length)&&Zt(this,n,s.path,t,r.length,o),o}shift(e){let t={path:""},i=Ee(this,e,t),r=Boolean(i.length),o=i.shift();return r&&Zt(this,i,t.path,0,0,[o]),o}unshift(e,...t){let i={path:""},r=Ee(this,e,i),o=r.unshift(...t);return t.length&&Zt(this,r,i.path,0,t.length,[]),o}notifyPath(e,t){let i;if(1==arguments.length){let r={path:""};t=Ee(this,e,r),i=r.path}else i=Array.isArray(e)?_e(e):e;this._setPendingPropertyOrPath(i,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var i;this._addPropertyEffect(e,_t.READ_ONLY),t&&(this["_set"+(i=e,i[0].toUpperCase()+i.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,i){let r={property:e,method:t,dynamicFn:Boolean(i)};this._addPropertyEffect(e,_t.OBSERVE,{fn:Rt,info:r,trigger:{name:e}}),i&&this._addPropertyEffect(t,_t.OBSERVE,{fn:Rt,info:r,trigger:{name:t}})}_createMethodObserver(e,t){let i=Yt(e);if(!i)throw new Error("Malformed observer expression '"+e+"'");jt(this,i,_t.OBSERVE,zt,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,_t.NOTIFY,{fn:Pt,info:{eventName:He(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,_t.REFLECT,{fn:Nt,info:{attrName:t}})}_createComputedProperty(e,t,i){let r=Yt(t);if(!r)throw new Error("Malformed computed expression '"+t+"'");const o=jt(this,r,_t.COMPUTE,Lt,e,i);St(this,Ct)[e]=o}_marshalArgs(e,t,i){const r=this.__data,o=[];for(let s=0,n=e.length;s1)return xt;o[s]=d}return o}static addPropertyEffect(e,t,i){this.prototype._addPropertyEffect(e,t,i)}static createPropertyObserver(e,t,i){this.prototype._createPropertyObserver(e,t,i)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,i){this.prototype._createComputedProperty(e,t,i)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let i=this.constructor._parseTemplate(e),r=this.__preBoundTemplateInfo==i;if(!r)for(let e in i.propertyEffects)this._createPropertyAccessor(e);if(t)if(i=Object.create(i),i.wasPreBound=r,this.__templateInfo){const t=e._parentTemplateInfo||this.__templateInfo,r=t.lastChild;i.parent=t,t.lastChild=i,i.previousSibling=r,r?r.nextSibling=i:t.firstChild=i}else this.__templateInfo=i;else this.__preBoundTemplateInfo=i;return i}static _addTemplatePropertyEffect(e,t,i){(e.hostProps=e.hostProps||{})[t]=!0;let r=e.propertyEffects=e.propertyEffects||{};(r[t]=r[t]||[]).push(i)}_stampTemplate(e,t){t=t||this._bindTemplate(e,!0),ti.push(this);let i=super._stampTemplate(e,t);if(ti.pop(),t.nodeList=i.nodeList,!t.wasPreBound){let e=t.childNodes=[];for(let t=i.firstChild;t;t=t.nextSibling)e.push(t)}return i.templateInfo=t,function(e,t){let{nodeList:i,nodeInfoList:r}=t;if(r.length)for(let t=0;to&&r.push({literal:e.slice(o,i.index)});let s=i[1][0],n=Boolean(i[2]),a=i[3].trim(),l=!1,d="",c=-1;"{"==s&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=Yt(a),p=[];if(h){let{args:e,methodName:i}=h;for(let t=0;t{const t=it(e);function i(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof o?t:null}function r(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){const i=e.properties;i&&(t=function(e){const t={};for(let i in e){const r=e[i];t[i]="function"==typeof r?{type:r}:r}return t}(i))}e.__ownProperties=t}return e.__ownProperties}class o extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){ai(this.prototype);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((e=>this.prototype._addPropertyToAttributeMap(e))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const e=i(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const e=r(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const e=i(this);this.__properties=Object.assign({},e&&e._properties,r(this))}return this.__properties}static typeForProperty(e){const t=this._properties[e];return t&&t.type}_initializeProperties(){oi(),this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o})),pi=hi;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.PropertiesMixin"),Polymer.PropertiesMixin=pi;let ui=class e{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run((()=>{this._timer=null,gi.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),gi.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,i,r){return t instanceof e?t._cancelAsync():t=new e,t.setConfig(i,r),t}},gi=new Set;const mi=function(e){gi.add(e)},fi=function(){const e=Boolean(gi.size);return gi.forEach((e=>{try{e.flush()}catch(e){setTimeout((()=>{throw e}))}})),e};goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Debounce");const vi=ui;Polymer.Debouncer=vi;let bi="string"==typeof document.head.style.touchAction,yi="__polymerGestures",wi="__polymerGesturesHandled",xi="__polymerGesturesTouchAction",_i=["mousedown","mousemove","mouseup","click"],Ci=[0,1,4,2],Ei=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function Si(e){return _i.indexOf(e)>-1}let $i=!1;function ki(e){if(!Si(e)&&"touchend"!==e)return bi&&$i&&C?{passive:!0}:void 0}!function(){try{let e=Object.defineProperty({},"passive",{get(){$i=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();let Ai=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const Ri=[],Ti={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},Ii={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Pi(e){let t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];try{let i=e.getRootNode();if(e.id){let r=i.querySelectorAll(`label[for = '${e.id}']`);for(let e=0;e-1}if(r[e]===Li.mouse.target)return}if(t)return;e.preventDefault(),e.stopPropagation()}};function Oi(e){let t=Ai?["click"]:_i;for(let i,r=0;re.composedPath&&e.composedPath()||[],Bi={},Hi=[];function ji(e,t){let i=document.elementFromPoint(e,t),r=i;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let o=r;if(r=r.shadowRoot.elementFromPoint(e,t),o===r)break;r&&(i=r)}return i}function zi(e){const t=Ui(e);return t.length>0?t[0]:e.target}function Gi(e){let t,i=e.type,r=e.currentTarget[yi];if(!r)return;let o=r[i];if(o){if(!e[wi]&&(e[wi]={},"touch"===i.slice(0,5))){let t=e.changedTouches[0];if("touchstart"===i&&1===e.touches.length&&(Li.touch.id=t.identifier),Li.touch.id!==t.identifier)return;bi||"touchstart"!==i&&"touchmove"!==i||function(e){let t=e.changedTouches[0],i=e.type;if("touchstart"===i)Li.touch.x=t.clientX,Li.touch.y=t.clientY,Li.touch.scrollDecided=!1;else if("touchmove"===i){if(Li.touch.scrollDecided)return;Li.touch.scrollDecided=!0;let i=function(e){let t="auto",i=Ui(e);for(let e,r=0;ro:"pan-y"===i&&(r=o>s)),r?e.preventDefault():Xi("track")}}(e)}if(t=e[wi],!t.skip){for(let i,r=0;r-1&&i.reset&&i.reset();for(let r,s=0;s{e.style.touchAction=t})),e[xi]=t}function Yi(e,t,i){let r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=i,et(e).dispatchEvent(r),r.defaultPrevented){let e=i.preventer||i.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function Xi(e){let t=function(e){for(let t,i=0;i=5||o>=5}function Zi(e,t,i){if(!t)return;let r,o=e.moves[e.moves.length-2],s=e.moves[e.moves.length-1],n=s.x-e.x,a=s.y-e.y,l=0;o&&(r=s.x-o.x,l=s.y-o.y),Yi(t,"track",{state:e.state,x:i.clientX,y:i.clientY,dx:n,dy:a,ddx:r,ddy:l,sourceEvent:i,hover:function(){return ji(i.clientX,i.clientY)}})}function er(e,t,i){let r=Math.abs(t.clientX-e.x),o=Math.abs(t.clientY-e.y),s=zi(i||t);!s||Ii[s.localName]&&s.hasAttribute("disabled")||(isNaN(r)||isNaN(o)||r<=25&&o<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;let t=zi(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;let i=t.getBoundingClientRect(),r=e.pageX,o=e.pageY;return!(r>=i.left&&r<=i.right&&o>=i.top&&o<=i.bottom)}return!1}(t))&&(e.prevent||Yi(s,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:i}))}qi({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){Fi(this.info)},mousedown:function(e){if(!Di(e))return;let t=zi(e),i=this;Mi(this.info,(function(e){Di(e)||(Ji("up",t,e),Fi(i.info))}),(function(e){Di(e)&&Ji("up",t,e),Fi(i.info)})),Ji("down",t,e)},touchstart:function(e){Ji("down",zi(e),e.changedTouches[0],e)},touchend:function(e){Ji("up",zi(e),e.changedTouches[0],e)}}),qi({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(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},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,Fi(this.info)},mousedown:function(e){if(!Di(e))return;let t=zi(e),i=this,r=function(e){let r=e.clientX,o=e.clientY;Qi(i.info,r,o)&&(i.info.state=i.info.started?"mouseup"===e.type?"end":"track":"start","start"===i.info.state&&Xi("tap"),i.info.addMove({x:r,y:o}),Di(e)||(i.info.state="end",Fi(i.info)),t&&Zi(i.info,t,e),i.info.started=!0)};Mi(this.info,r,(function(e){i.info.started&&r(e),Fi(i.info)})),this.info.x=e.clientX,this.info.y=e.clientY},touchstart:function(e){let t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){let t=zi(e),i=e.changedTouches[0],r=i.clientX,o=i.clientY;Qi(this.info,r,o)&&("start"===this.info.state&&Xi("tap"),this.info.addMove({x:r,y:o}),Zi(this.info,t,i),this.info.state="track",this.info.started=!0)},touchend:function(e){let t=zi(e),i=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:i.clientX,y:i.clientY}),Zi(this.info,t,i))}}),qi({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(e){Di(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){Di(e)&&er(this.info,e)},touchstart:function(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){er(this.info,e.changedTouches[0],e)}});const tr=Bi,ir=Hi,rr=ji,or=Vi,sr=Wi,nr=qi,ar=Ki,lr=Xi,dr=zi,cr=Vi,hr=Wi;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Utils.Gestures"),Polymer.Gestures={gestures:tr,recognizers:ir,deepTargetFind:rr,addListener:or,removeListener:sr,register:nr,setTouchAction:ar,prevent:lr,resetMouseCanceller:function(){Li.mouse.mouseIgnoreJob&&Li.mouse.mouseIgnoreJob.flush()},findOriginalTarget:dr,add:cr,remove:hr};const pr=G((e=>class extends e{_addEventListenerToNode(e,t,i){Vi(e,t,i)||super._addEventListenerToNode(e,t,i)}_removeEventListenerFromNode(e,t,i){Wi(e,t,i)||super._removeEventListenerFromNode(e,t,i)}})),ur=pr;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.GestureEventListeners"),Polymer.GestureEventListeners=ur;const gr=/:host\(:dir\((ltr|rtl)\)\)/g,mr=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,fr=/:dir\((?:ltr|rtl)\)/,vr=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),br=[];let yr=null,wr="";function xr(){wr=document.documentElement.getAttribute("dir")}function _r(e){e.__autoDirOptOut||e.setAttribute("dir",wr)}function Cr(){xr(),wr=document.documentElement.getAttribute("dir");for(let e=0;e{vr||yr||(xr(),yr=new MutationObserver(Cr),yr.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const t=at(e);class i extends t{static _processStyleText(e,i){return e=t._processStyleText.call(this,e,i),!vr&&fr.test(e)&&(e=this._replaceDirInCssText(e),this.__activateDir=!0),e}static _replaceDirInCssText(e){let t=e;return t=t.replace(gr,':host([dir="$1"])'),t=t.replace(mr,':host([dir="$2"]) $1'),t}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){t.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(yr&&yr.takeRecords().length&&Cr(),br.push(this),_r(this))}disconnectedCallback(){if(t.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const e=br.indexOf(this);e>-1&&br.splice(e,1)}}}return i.__activateDir=!1,i})),Sr=Er;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.DirMixin"),Polymer.DirMixin=Sr;let $r=!1,kr=[],Ar=[];function Rr(){$r=!0,requestAnimationFrame((function(){$r=!1,Tr(kr),setTimeout((function(){!function(e){for(let t=0,i=e.length;t{throw e}))}}function Pr(){document.body.removeAttribute("unresolved")}function Nr(e,t,i){return{index:e,removed:t,addedCount:i}}function Or(e,t){return function(e,t,i,r,o,s){let n,a=0,l=0,d=Math.min(i-t,s-o);if(0==t&&0==o&&(a=function(e,t,i){for(let r=0;r0||i>0;){if(0==t){o.push(2),i--;continue}if(0==i){o.push(3),t--;continue}let s,n=e[t-1][i-1],a=e[t-1][i],l=e[t][i-1];s=a{this._schedule()},this.connect(),this._schedule()}connect(){Mr(this._target)?this._listenSlots([this._target]):et(this._target).children&&(this._listenSlots(et(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(e=>{this._processMutations(e)})):(this._nativeChildrenObserver=new MutationObserver((e=>{this._processMutations(e)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){Mr(this._target)?this._unlistenSlots([this._target]):et(this._target).children&&(this._unlistenSlots(et(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,Ze.run((()=>this.flush())))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(let t=0;t{"activeElement"!=t&&(e.prototype[t]=Vr.prototype[t])})),Wr(e.prototype,["classList"]),Kr=e,Object.defineProperties(qr.prototype,{localTarget:{get(){const e=this.event.currentTarget,t=e&&Yr(e).getOwnerRoot(),i=this.path;for(let e=0;e{const t=hi(ei(e));function i(e,t,i,r){i.computed&&(i.readOnly=!0),i.computed&&(e._hasReadOnlyEffect(t)?console.warn(`Cannot redefine computed property '${t}'.`):e._createComputedProperty(t,i.computed,r)),i.readOnly&&!e._hasReadOnlyEffect(t)?e._createReadOnlyProperty(t,!i.computed):!1===i.readOnly&&e._hasReadOnlyEffect(t)&&console.warn(`Cannot make readOnly property '${t}' non-readOnly.`),i.reflectToAttribute&&!e._hasReflectEffect(t)?e._createReflectedProperty(t):!1===i.reflectToAttribute&&e._hasReflectEffect(t)&&console.warn(`Cannot make reflected property '${t}' non-reflected.`),i.notify&&!e._hasNotifyEffect(t)?e._createNotifyingProperty(t):!1===i.notify&&e._hasNotifyEffect(t)&&console.warn(`Cannot make notify property '${t}' non-notify.`),i.observer&&e._createPropertyObserver(t,i.observer,r[i.observer]),e._addPropertyToAttributeMap(t)}return class extends t{static get polymerElementVersion(){return io}static _finalizeClass(){t._finalizeClass.call(this);const e=((i=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",i))||(i.__ownObservers=i.hasOwnProperty(JSCompiler_renameProperty("observers",i))?i.observers:null),i.__ownObservers);var i;e&&this.createObservers(e,this._properties),this._prepareTemplate()}static _prepareTemplate(){let e=this.template;e&&("string"==typeof e?(console.error("template getter must return HTMLTemplateElement"),e=null):R||(e=e.cloneNode(!0))),this.prototype._template=e}static createProperties(e){for(let t in e)i(this.prototype,t,e[t],e)}static createObservers(e,t){const i=this.prototype;for(let r=0;r{t+=e.textContent,e.parentNode.removeChild(e)})),e._styleSheet=new CSSStyleSheet,e._styleSheet.replaceSync(t)}}}(this,t,e,i?d(i):""),this.prototype._bindTemplate(t)}}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(e){const t=et(this);if(t.attachShadow)return e?(t.shadowRoot||(t.attachShadow({mode:"open",shadyUpgradeFragment:e}),t.shadowRoot.appendChild(e),this.constructor._styleSheet&&(t.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),P&&window.ShadyDOM&&window.ShadyDOM.flushInitial(t.shadowRoot),t.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(e){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,e)}resolveUrl(e,t){return!t&&this.importPath&&(t=d(this.importPath)),d(e,t)}static _parseTemplateContent(e,i,r){return i.dynamicFns=i.dynamicFns||this._properties,t._parseTemplateContent.call(this,e,i,r)}static _addTemplatePropertyEffect(e,i,r){return!I||i in this._properties||r.info.part.signature&&r.info.part.signature.static||r.info.part.hostProp||e.nestedTemplate||console.warn(`Property '${i}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,e,i,r)}}})),so=oo;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.ElementMixin"),Polymer.ElementMixin=so,Polymer.updateStyles=function(e){window.ShadyCSS&&window.ShadyCSS.styleDocument(e)},Polymer.version=io;const no=!(window.ShadyDOM&&window.ShadyDOM.inUse);let ao,lo;function co(e){ao=(!e||!e.shimcssproperties)&&(no||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&&(lo=window.ShadyCSS.cssBuild);const ho=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?ao=window.ShadyCSS.nativeCss:window.ShadyCSS?(co(window.ShadyCSS),window.ShadyCSS=void 0):co(window.WebComponents&&window.WebComponents.flags);const po=ao;class uo{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 go(e){return mo(function(e){let t=new uo;t.start=0,t.end=e.length;let i=t;for(let r=0,o=e.length;r{":root"===e.selector&&(e.selector="html"),this.transformRule(e)})),e.textContent=To(t),t}transformRules(e,t){this._currentElement=t,Po(e,(e=>{this.transformRule(e)})),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,t){return e=e.replace(Eo,((e,i,r,o)=>this._produceCssProperties(e,i,r,o,t))),this._consumeCssProperties(e,t)}_getInitialValueForProperty(e){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(e)}_fallbacksFromPreviousRules(e){let t=e;for(;t.parent;)t=t.parent;const i={};let r=!1;return Po(t,(t=>{r=r||t===e,r||t.selector===e.selector&&Object.assign(i,this._cssTextToMap(t.parsedCssText))})),i}_consumeCssProperties(e,t){let i=null;for(;i=So.exec(e);){let r=i[0],o=i[1],s=i.index,n=s+r.indexOf("@apply"),a=s+r.length,l=e.slice(0,n),d=e.slice(a),c=t?this._fallbacksFromPreviousRules(t):{};Object.assign(c,this._cssTextToMap(l));let h=this._atApplyToCssProperties(o,c);e=`${l}${h}${d}`,So.lastIndex=s+h.length}return e}_atApplyToCssProperties(e,t){e=e.replace(Fo,"");let i=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){let o,s,n;this._currentElement&&(r.dependants[this._currentElement]=!0);const a=r.properties;for(o in a)n=t&&t[o],s=[o,": var(",e,Ho,o],n&&s.push(",",n.replace(Bo,"")),s.push(")"),Bo.test(a[o])&&s.push(" !important"),i.push(s.join(""))}return i.join("; ")}_replaceInitialOrInherit(e,t){let i=Uo.exec(t);return i&&(t=i[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}_cssTextToMap(e,t=!1){let i,r,o=e.split(";"),s={};for(let e,n,a=0;a1&&(i=n[0].trim(),r=n.slice(1).join(":"),t&&(r=this._replaceInitialOrInherit(i,r)),s[i]=r));return s}_invalidateMixinEntry(e){if(zo)for(let t in e.dependants)t!==this._currentElement&&zo(t)}_produceCssProperties(e,t,i,r,o){if(i&&No(i,((e,t)=>{t&&this._map.get(t)&&(r=`@apply ${t};`)})),!r)return e;let s=this._consumeCssProperties(""+r,o),n=e.slice(0,e.indexOf("--")),a=this._cssTextToMap(s,!0),l=a,d=this._map.get(t),c=d&&d.properties;c?l=Object.assign(Object.create(c),a):this._map.set(t,l);let h,p,u=[],g=!1;for(h in l)p=a[h],void 0===p&&(p="initial"),c&&!(h in c)&&(g=!0),u.push(`${t}${Ho}${h}: ${p}`);return g&&this._invalidateMixinEntry(d),d&&(d.properties=l),i&&(n=`${e};${n}`),`${n}${u.join("; ")};`}}Go.prototype.detectMixin=Go.prototype.detectMixin,Go.prototype.transformStyle=Go.prototype.transformStyle,Go.prototype.transformCustomStyle=Go.prototype.transformCustomStyle,Go.prototype.transformRules=Go.prototype.transformRules,Go.prototype.transformRule=Go.prototype.transformRule,Go.prototype.transformTemplate=Go.prototype.transformTemplate,Go.prototype._separator=Ho,Object.defineProperty(Go.prototype,"invalidCallback",{get:()=>zo,set(e){zo=e}});const Vo={},Wo="_applyShimCurrentVersion",qo="_applyShimNextVersion",Ko="_applyShimValidatingVersion",Yo=Promise.resolve();function Xo(e){let t=Vo[e];t&&function(e){e[Wo]=e[Wo]||0,e[Ko]=e[Ko]||0,e[qo]=(e[qo]||0)+1}(t)}function Jo(e){return e[Wo]===e[qo]}let Qo,Zo=null,es=window.HTMLImports&&window.HTMLImports.whenReady||null;function ts(e){requestAnimationFrame((function(){es?es(e):(Zo||(Zo=new Promise((e=>{Qo=e})),"complete"===document.readyState?Qo():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&Qo()}))),Zo.then((function(){e&&e()})))}))}const is="__seenByShadyCSS",rs="__shadyCSSCachedStyle";let os=null,ss=null,ns=class{constructor(){this.customStyles=[],this.enqueued=!1,ts((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&ss&&(this.enqueued=!0,ts(ss))}addCustomStyle(e){e[is]||(e[is]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){if(e[rs])return e[rs];let t;return t=e.getStyle?e.getStyle():e,t}processStyles(){const e=this.customStyles;for(let t=0;tos,set(e){os=e}},validateCallback:{get:()=>ss,set(e){let t=!1;ss||(t=!0),ss=e,t&&this.enqueueDocumentValidation()}}});const as=new Go;class ls{constructor(){this.customStyleInterface=null,as.invalidCallback=Xo}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{as.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame((()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()}))})}prepareTemplate(e,t){if(this.ensure(),Do(e))return;Vo[t]=e;let i=as.transformTemplate(e,t);e._styleAst=i}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let t=0;t-1?i=t:(r=t,i=e.getAttribute&&e.getAttribute("is")||""):(i=e.is,r=e.extends),{is:i,typeExtension:r}}(e),i=Vo[t];if((!i||!Do(i))&&i&&!Jo(i)){(function(e){return!Jo(e)&&e[Ko]===e[qo]})(i)||(this.prepareTemplate(i,t),function(e){e[Ko]=e[qo],e._validating||(e._validating=!0,Yo.then((function(){e[Wo]=e[qo],e._validating=!1})))}(i));let r=e.shadowRoot;if(r){let e=r.querySelector("style");e&&(e.__cssRules=i._styleAst,e.textContent=To(i._styleAst))}}}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const e=new ls;let t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(t,i,r){e.flushCustomStyles(),e.prepareTemplate(t,i)},prepareTemplateStyles(e,t,i){window.ShadyCSS.prepareTemplate(e,t,i)},prepareTemplateDom(e,t){},styleSubtree(t,i){e.flushCustomStyles(),e.styleSubtree(t,i)},styleElement(t){e.flushCustomStyles(),e.styleElement(t)},styleDocument(t){e.flushCustomStyles(),e.styleDocument(t)},getComputedStyleValue:(e,t)=>Mo(e,t),flushCustomStyles(){e.flushCustomStyles()},nativeCss:po,nativeShadow:no,cssBuild:lo,disableRuntime:ho},t&&(window.ShadyCSS.CustomStyleInterface=t)}window.ShadyCSS.ApplyShim=as;const ds=window.ShadyDOM,cs=window.ShadyCSS;function hs(e,t){return et(e).getRootNode()===t}const ps="disable-upgrade",us=e=>{for(;e;){const t=Object.getOwnPropertyDescriptor(e,"observedAttributes");if(t)return t.get;e=Object.getPrototypeOf(e.prototype).constructor}return()=>[]},gs=(G((e=>{const t=oo(e);let i=us(t);return class extends t{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return i.call(this).concat(ps)}_initializeProperties(){this.hasAttribute(ps)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}attributeChangedCallback(e,t,i,r){e==ps?this.__isUpgradeDisabled&&null==i&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,et(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(e,t,i,r)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}})),"disable-upgrade");let ms=window.ShadyCSS;const fs=G((e=>{const t=pr(oo(e)),i=ro?t:Er(t),r=us(i),o={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class s extends i{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(e,t,i){(this.__dataAttributes&&this.__dataAttributes[e]||e===gs)&&this.attributeChangedCallback(e,t,i,null)}setAttribute(e,t){if(B&&!this._legacyForceObservedAttributes){const i=this.getAttribute(e);super.setAttribute(e,t),this.__attributeReaction(e,i,String(t))}else super.setAttribute(e,t)}removeAttribute(e){if(B&&!this._legacyForceObservedAttributes){const t=this.getAttribute(e);super.removeAttribute(e),this.__attributeReaction(e,t,null)}else super.removeAttribute(e)}static get observedAttributes(){return B&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],ai(this.prototype)),this.__observedAttributes):r.call(this).concat(gs)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}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(e,t,i,r){t!==i&&(e==gs?this.__isUpgradeDisabled&&null==i&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,et(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(e,t,i,r),this.attributeChanged(e,t,i)))}attributeChanged(e,t,i){}_initializeProperties(){if(R&&this.hasAttribute(gs))this.__isUpgradeDisabled=!0;else{let e=Object.getPrototypeOf(this);e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))||(this._registered(),e.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),B&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const e=this.attributes;for(let t=0,i=e.length;t{if(!hs(e,o))return;const t=Array.from(ds.nativeMethods.querySelectorAll.call(e,"*"));t.push(e);for(let e=0;e{for(let t=0;t0?Xe.after(i):Ze,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];return!(!t||!t.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.cancel()}async(e,t){return t>0?Xe.run(e.bind(this),t):~Ze.run(e.bind(this))}cancelAsync(e){e<0?Ze.cancel(~e):Xe.cancel(e)}create(e,t){let i=document.createElement(e);if(t)if(i.setProperties)i.setProperties(t);else for(let e in t)i[e]=t[e];return i}elementMatches(e,t){return Gr(t||this,e)}toggleAttribute(e,t){let i=this;return 3===arguments.length&&(i=arguments[2]),1==arguments.length&&(t=!i.hasAttribute(e)),t?(et(i).setAttribute(e,""),!0):(et(i).removeAttribute(e),!1)}toggleClass(e,t,i){i=i||this,1==arguments.length&&(t=!i.classList.contains(e)),t?i.classList.add(e):i.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,i,r){r=r||this,this.transform("translate3d("+e+","+t+","+i+")",r)}arrayDelete(e,t){let i;if(Array.isArray(e)){if(i=e.indexOf(t),i>=0)return e.splice(i,1)}else if(i=Ee(this,e).indexOf(t),i>=0)return this.splice(e,i,1);return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return s.prototype.is="",s})),vs=fs;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Legacy.LegacyElementMixin"),Polymer.LegacyElementMixin=vs;const bs={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},ys={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},ws=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},ys);function xs(e,t,i,r){!function(e,t,i){const r=e._noAccessors,o=Object.getOwnPropertyNames(e);for(let s=0;s=0;r--){let o=e[r];o?Array.isArray(o)?_s(o,t):t.indexOf(o)<0&&(!i||i.indexOf(o)<0)&&t.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return t}function Cs(e,t){for(const i in t){const r=e[i],o=t[i];e[i]=!("value"in o)&&r&&"value"in r?Object.assign({value:r.value},o):o}}const Es=fs(HTMLElement);function Ss(e,t,i){let r;const o={};class s extends t{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(r)for(let e,t=0;t=0;t--){const i=e[t];for(let e in i)this._ensureAttribute(e,i[e])}super._ensureAttributes()}ready(){super.ready();let e=o.ready;if(e)for(let t=0;t{r&&function(e,t,i){for(let r=0;rclass extends e{_shouldPropertyChange(e,t,i){return Ts(this,e,t,i,!0)}})),Ps=G((e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,i){return Ts(this,e,t,i,this.mutableData)}}));Is._mutablePropertyChange=Ts;const Ns=Ps,Os=Is;goog.declareModuleId("HtmlImportsNamespace.Polymer.Lib.Mixins.MutableData"),Polymer.MutableData=Os,Polymer.OptionalMutableData=Ns;let Ds=null;function Ls(){return Ds}Ls.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Ls,writable:!0}});const Ms=ei(Ls),Fs=Is(Ms),Us=ei(class{});function Bs(e,t){for(let i=0;i{e.model=this,i(e)}));else{let r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(e,t,i)}}_showHideChildren(e){Bs(e,this.children)}_setUnmanagedPropertyToNode(e,t,i){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=i:super._setUnmanagedPropertyToNode(e,t,i)}get parentModel(){let e=this.__parentModel;if(!e){let t;e=this;do{e=e.__dataHost.__dataHost}while((t=e.__templatizeOptions)&&!t.parentModel);this.__parentModel=e}return e}dispatchEvent(e){return!0}};Hs.prototype.__dataHost,Hs.prototype.__templatizeOptions,Hs.prototype._methodHost,Hs.prototype.__templatizeOwner,Hs.prototype.__hostProps;const js=Is(Hs);function zs(e){let t=e.__dataHost;return t&&t._methodHost||t}function Gs(e,t){return function(e,i,r){t.call(e.__templatizeOwner,i.substring(6),r[i])}}function Vs(e,t){return function(e,i,r){t.call(e.__templatizeOwner,e,i,r[i])}}function Ws(e,t,i){if(S&&!zs(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(i=i||{},e.__templatizeOwner)throw new Error("A