@randstad-uca/design-system 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const l=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)}
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */,{is:f,defineProperty:_,getOwnPropertyDescriptor:g,getOwnPropertyNames:b,getOwnPropertySymbols:y,getPrototypeOf:v}=Object,w=globalThis,x=w.trustedTypes,C=x?x.emptyScript:"",A=w.reactiveElementPolyfillSupport,k=(t,e)=>t,E={toAttribute(t,e){switch(e){case Boolean:t=t?C:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},P=(t,e)=>!f(t,e),S={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:P};Symbol.metadata??=Symbol("metadata"),w.litPropertyMetadata??=new WeakMap;class D extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&_(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=g(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const s=i?.call(this);r.call(this,e),this.requestUpdate(t,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;const t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){const t=this.properties,e=[...b(t),...y(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(c)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=d.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EC(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:E).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:E;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??P)(this[t],e))return;this.P(t,e,o)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}D.elementStyles=[],D.shadowRootOptions={mode:"open"},D[k("elementProperties")]=new Map,D[k("finalized")]=new Map,A?.({ReactiveElement:D}),(w.reactiveElementVersions??=[]).push("2.0.4");
17
+ */,{is:f,defineProperty:_,getOwnPropertyDescriptor:g,getOwnPropertyNames:b,getOwnPropertySymbols:y,getPrototypeOf:v}=Object,w=globalThis,x=w.trustedTypes,C=x?x.emptyScript:"",k=w.reactiveElementPolyfillSupport,A=(t,e)=>t,E={toAttribute(t,e){switch(e){case Boolean:t=t?C:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},P=(t,e)=>!f(t,e),S={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:P};Symbol.metadata??=Symbol("metadata"),w.litPropertyMetadata??=new WeakMap;class D extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&_(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=g(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const s=i?.call(this);r.call(this,e),this.requestUpdate(t,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=v(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const t=this.properties,e=[...b(t),...y(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(c)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=d.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EC(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:E).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:E;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??P)(this[t],e))return;this.P(t,e,o)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}D.elementStyles=[],D.shadowRootOptions={mode:"open"},D[A("elementProperties")]=new Map,D[A("finalized")]=new Map,k?.({ReactiveElement:D}),(w.reactiveElementVersions??=[]).push("2.0.4");
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -149,7 +149,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
149
149
  }
150
150
 
151
151
  .button-round {
152
- width: 48px;
152
+ width: 48px !important;
153
153
  height: 48px;
154
154
  border-radius: 50%;
155
155
  background-color: var(--white);
@@ -221,7 +221,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
221
221
  border: none;
222
222
  color: var(--white);
223
223
  }
224
- `}handleClick(t){this.disabled||this.dispatchEvent(new CustomEvent("button-click",{bubbles:!0,composed:!0}))}render(){const t=`button button-${this.size} ${this.variant} ${this.loader?"loader":""}`,e="button-tertiary"===this.variant?"#2175D9":"white";return o`
224
+ `}handleClick(t){this.disabled||this.dispatchEvent(new CustomEvent("button-click",{bubbles:!0,composed:!0}))}render(){const t=`button ${"button-round"===this.variant?"":`button-${this.size}`} ${this.variant} ${this.loader?"loader":""}`,e="button-tertiary"===this.variant?"#2175D9":"white";return o`
225
225
  <button
226
226
  type="button"
227
227
  class=${t}
@@ -237,7 +237,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
237
237
  `:o`
238
238
  ${this.iconSrc&&"button-round"===this.variant?o`<img src=${this.iconSrc} alt="icon" class="button-icon" />`:""}
239
239
  ${this.iconName&&"button-round"!==this.variant&&"left"===this.iconPosition?o`<randstad-icon name=${this.iconName} size="24px"></randstad-icon>`:""}
240
- ${this.label}
240
+ <slot>${this.label}</slot>
241
241
  ${this.iconName&&"button-round"!==this.variant&&"right"===this.iconPosition?o`<randstad-icon name=${this.iconName} size="24px"></randstad-icon>`:""}
242
242
  `}
243
243
  </button>
@@ -253,7 +253,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
253
253
  gap: 8px;
254
254
  font-family: Graphik, sans-serif;
255
255
  font-size: 14px;
256
- line-height: 1.5;
256
+ line-height: 25px;
257
257
  color: #0F1941;
258
258
  }
259
259
 
@@ -294,7 +294,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
294
294
 
295
295
  .terms-link {
296
296
  color: #2175D9;
297
- text-decoration: underline;
297
+ text-decoration: none;
298
298
  cursor: pointer;
299
299
  }
300
300
  `}toggleCheck(t){this.checked=t.target.checked,this.dispatchEvent(new CustomEvent("change",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}renderClause(t,e){return e?o`<a class="terms-link" href="${e}" target="_blank" rel="noopener" @click=${this.stopPropagation}>${t}</a>`:o`${t}`}stopPropagation(t){t.stopPropagation()}render(){return o`
@@ -308,7 +308,7 @@ function N(t,e){return(e,o,i)=>((t,e,o)=>(o.configurable=!0,o.enumerable=!0,Refl
308
308
  ${this.prefix}&nbsp;
309
309
  ${this.renderClause(this.clause1Text,this.clause1Url)},&nbsp;
310
310
  ${this.connector}&nbsp;
311
- ${this.renderClause(this.clause2Text,this.clause2Url)}.
311
+ ${this.renderClause(this.clause2Text,this.clause2Url)}
312
312
  </span>
313
313
  </label>
314
314
  `}};n([I({type:String}),a("design:type",Object)],M.prototype,"prefix",void 0),n([I({type:String}),a("design:type",Object)],M.prototype,"clause1Text",void 0),n([I({type:String}),a("design:type",String)],M.prototype,"clause1Url",void 0),n([I({type:String}),a("design:type",Object)],M.prototype,"connector",void 0),n([I({type:String}),a("design:type",Object)],M.prototype,"clause2Text",void 0),n([I({type:String}),a("design:type",String)],M.prototype,"clause2Url",void 0),n([I({type:Boolean,reflect:!0}),a("design:type",Object)],M.prototype,"checked",void 0),M=n([l("randstad-checkbox")],M);
@@ -916,7 +916,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
916
916
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
917
917
  Code distributed by Google as part of the polymer project is also
918
918
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
919
- */const dt=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const ct=dt&&"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 ht=window.Polymer&&window.Polymer.rootPath||lt(document.baseURI||window.location.href),ut=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let pt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,mt=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ft=window.Polymer&&window.Polymer.legacyOptimizations||!1,_t=window.Polymer&&window.Polymer.legacyWarnings||!1,gt=window.Polymer&&window.Polymer.syncInitialRender||!1,bt=window.Polymer&&window.Polymer.legacyUndefined||!1,yt=window.Polymer&&window.Polymer.orderedComputed||!1,vt=window.Polymer&&window.Polymer.removeNestedTemplates||!1,wt=window.Polymer&&window.Polymer.fastDomIf||!1,xt=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let Ct=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,At=0;
919
+ */const dt=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const ct=dt&&"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 ht=window.Polymer&&window.Polymer.rootPath||lt(document.baseURI||window.location.href),ut=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let pt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,mt=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ft=window.Polymer&&window.Polymer.legacyOptimizations||!1,_t=window.Polymer&&window.Polymer.legacyWarnings||!1,gt=window.Polymer&&window.Polymer.syncInitialRender||!1,bt=window.Polymer&&window.Polymer.legacyUndefined||!1,yt=window.Polymer&&window.Polymer.orderedComputed||!1,vt=window.Polymer&&window.Polymer.removeNestedTemplates||!1,wt=window.Polymer&&window.Polymer.fastDomIf||!1,xt=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let Ct=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,kt=0;
920
920
  /**
921
921
  @license
922
922
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -925,7 +925,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
925
925
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
926
926
  Code distributed by Google as part of the polymer project is also
927
927
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
928
- */const kt=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let o=At++;return function(i){let r=i.__mixinSet;if(r&&r[o])return i;let s=e,n=s.get(i);if(!n){n=t(i),s.set(i,n);let e=Object.create(n.__mixinSet||r||null);e[o]=!0,n.__mixinSet=e}return n}};
928
+ */const At=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let o=kt++;return function(i){let r=i.__mixinSet;if(r&&r[o])return i;let s=e,n=s.get(i);if(!n){n=t(i),s.set(i,n);let e=Object.create(n.__mixinSet||r||null);e[o]=!0,n.__mixinSet=e}return n}};
929
929
  /**
930
930
  @license
931
931
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -980,7 +980,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
980
980
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
981
981
  Code distributed by Google as part of the polymer project is also
982
982
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
983
- */let Qt=0,te=0,ee=[],oe=0,ie=!1,re=document.createTextNode("");new window.MutationObserver((function(){ie=!1;const t=ee.length;for(let e=0;e<t;e++){let t=ee[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}ee.splice(0,t),te+=t})).observe(re,{characterData:!0});const se={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)}},ne={run:t=>(ie||(ie=!0,re.textContent=oe++),ee.push(t),Qt++),cancel(t){const e=t-te;if(e>=0){if(!ee[e])throw new Error("invalid async handle: "+t);ee[e]=null}}},ae=ne,le=kt((t=>class extends t{static createProperties(t){const e=this.prototype;for(let o in t)o in e||e._createPropertyAccessor(o)}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,o){let i=this.__data[t],r=this._shouldPropertyChange(t,e,i);return r&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=i),this.__data[t]=e,this.__dataPending[t]=e),r}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,ae.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,o=this.__dataOld;this._shouldPropertiesChange(t,e,o)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,o)),this.__dataCounter--}_shouldPropertiesChange(t,e,o){return Boolean(e)}_propertiesChanged(t,e,o){}_shouldPropertyChange(t,e,o){return o!==e&&(o==o||e==e)}attributeChangedCallback(t,e,o,i){e!==o&&this._attributeToProperty(t,o),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,o,i)}_attributeToProperty(t,e,o){if(!this.__serializing){const i=this.__dataAttributes,r=i&&i[t]||t;this[r]=this._deserializeValue(e,o||this.constructor.typeForProperty(r))}}_propertyToAttribute(t,e,o){this.__serializing=!0,o=arguments.length<3?this[t]:o,this._valueToNodeAttribute(this,o,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,o){const i=this._serializeValue(e);"class"!==o&&"name"!==o&&"slot"!==o||(t=Ft(t)),void 0===i?t.removeAttribute(o):t.setAttribute(o,""===i&&window.trustedTypes?window.trustedTypes.emptyScript:i)}_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}}})),de={};let ce=HTMLElement.prototype;for(;ce;){let t=Object.getOwnPropertyNames(ce);for(let e=0;e<t.length;e++)de[t[e]]=!0;ce=Object.getPrototypeOf(ce)}const he=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1;const ue=kt((t=>{const e=le(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(Jt(t[e]))}static attributeNameForProperty(t){return Zt(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 o=this;o.hasAttribute(t)||this._valueToNodeAttribute(o,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(he(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let o;switch(e){case Object:try{o=JSON.parse(t)}catch(e){o=t}break;case Array:try{o=JSON.parse(t)}catch(e){o=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:o=isNaN(t)?String(t):Number(t),o=new Date(o);break;default:o=super._deserializeValue(t,e)}return o}_definePropertyAccessor(t,e){!function(t,e){if(!de[e]){let o=t[e];void 0!==o&&(t.__data?t._setPendingProperty(e,o):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=o))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),pe={"dom-if":!0,"dom-repeat":!0};
983
+ */let Qt=0,te=0,ee=[],oe=0,ie=!1,re=document.createTextNode("");new window.MutationObserver((function(){ie=!1;const t=ee.length;for(let e=0;e<t;e++){let t=ee[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}ee.splice(0,t),te+=t})).observe(re,{characterData:!0});const se={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)}},ne={run:t=>(ie||(ie=!0,re.textContent=oe++),ee.push(t),Qt++),cancel(t){const e=t-te;if(e>=0){if(!ee[e])throw new Error("invalid async handle: "+t);ee[e]=null}}},ae=ne,le=At((t=>class extends t{static createProperties(t){const e=this.prototype;for(let o in t)o in e||e._createPropertyAccessor(o)}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,o){let i=this.__data[t],r=this._shouldPropertyChange(t,e,i);return r&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=i),this.__data[t]=e,this.__dataPending[t]=e),r}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,ae.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,o=this.__dataOld;this._shouldPropertiesChange(t,e,o)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,o)),this.__dataCounter--}_shouldPropertiesChange(t,e,o){return Boolean(e)}_propertiesChanged(t,e,o){}_shouldPropertyChange(t,e,o){return o!==e&&(o==o||e==e)}attributeChangedCallback(t,e,o,i){e!==o&&this._attributeToProperty(t,o),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,o,i)}_attributeToProperty(t,e,o){if(!this.__serializing){const i=this.__dataAttributes,r=i&&i[t]||t;this[r]=this._deserializeValue(e,o||this.constructor.typeForProperty(r))}}_propertyToAttribute(t,e,o){this.__serializing=!0,o=arguments.length<3?this[t]:o,this._valueToNodeAttribute(this,o,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,o){const i=this._serializeValue(e);"class"!==o&&"name"!==o&&"slot"!==o||(t=Ft(t)),void 0===i?t.removeAttribute(o):t.setAttribute(o,""===i&&window.trustedTypes?window.trustedTypes.emptyScript:i)}_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}}})),de={};let ce=HTMLElement.prototype;for(;ce;){let t=Object.getOwnPropertyNames(ce);for(let e=0;e<t.length;e++)de[t[e]]=!0;ce=Object.getPrototypeOf(ce)}const he=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1;const ue=At((t=>{const e=le(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(Jt(t[e]))}static attributeNameForProperty(t){return Zt(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 o=this;o.hasAttribute(t)||this._valueToNodeAttribute(o,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(he(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let o;switch(e){case Object:try{o=JSON.parse(t)}catch(e){o=t}break;case Array:try{o=JSON.parse(t)}catch(e){o=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:o=isNaN(t)?String(t):Number(t),o=new Date(o);break;default:o=super._deserializeValue(t,e)}return o}_definePropertyAccessor(t,e){!function(t,e){if(!de[e]){let o=t[e];void 0!==o&&(t.__data?t._setPendingProperty(e,o):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=o))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),pe={"dom-if":!0,"dom-repeat":!0};
984
984
  /**
985
985
  @license
986
986
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -989,7 +989,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
989
989
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
990
990
  Code distributed by Google as part of the polymer project is also
991
991
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
992
- */let me=!1,fe=!1;function _e(t){(function(){if(!me){me=!0;const t=document.createElement("textarea");t.placeholder="a",fe=t.placeholder===t.textContent}return fe})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}const ge=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,o,i)=>{const r=o.getAttribute(i);t&&i.startsWith("on-")?e.setAttribute(i,t.createScript(r,i)):e.setAttribute(i,r)}})();function be(t){let e=t.getAttribute("is");if(e&&pe[e]){let o=t;for(o.removeAttribute("is"),t=o.ownerDocument.createElement(e),o.parentNode.replaceChild(t,o),t.appendChild(o);o.attributes.length;){const{name:e}=o.attributes[0];ge(t,o,e),o.removeAttribute(e)}}return t}function ye(t,e){let o=e.parentInfo&&ye(t,e.parentInfo);if(!o)return t;for(let t=o.firstChild,i=0;t;t=t.nextSibling)if(e.parentIndex===i++)return t}function ve(t,e,o,i){i.id&&(e[i.id]=o)}function we(t,e,o){if(o.events&&o.events.length)for(let i,r=0,s=o.events;r<s.length&&(i=s[r]);r++)t._addMethodEventListenerToNode(e,i.name,i.value,t)}function xe(t,e,o,i){o.templateInfo&&(e._templateInfo=o.templateInfo,e._parentTemplateInfo=i)}const Ce=kt((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let o=t._templateInfo={};o.nodeInfoList=[],o.nestedTemplate=Boolean(e),o.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,o,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,o){return this._parseTemplateNode(t.content,e,o)}static _parseTemplateNode(t,e,o){let i=!1,r=t;return"template"!=r.localName||r.hasAttribute("preserve-content")?"slot"===r.localName&&(e.hasInsertionPoint=!0):i=this._parseTemplateNestedTemplate(r,e,o)||i,_e(r),r.firstChild&&this._parseTemplateChildNodes(r,e,o),r.hasAttributes&&r.hasAttributes()&&(i=this._parseTemplateNodeAttributes(r,e,o)||i),i||o.noted}static _parseTemplateChildNodes(t,e,o){if("script"!==t.localName&&"style"!==t.localName)for(let i,r=t.firstChild,s=0;r;r=i){if("template"==r.localName&&(r=be(r)),i=r.nextSibling,r.nodeType===Node.TEXT_NODE){let o=i;for(;o&&o.nodeType===Node.TEXT_NODE;)r.textContent+=o.textContent,i=o.nextSibling,t.removeChild(o),o=i;if(e.stripWhiteSpace&&!r.textContent.trim()){t.removeChild(r);continue}}let n={parentIndex:s,parentInfo:o};this._parseTemplateNode(r,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),r.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,o){let i=t,r=this._parseTemplate(i,e);return(r.content=i.content.ownerDocument.createDocumentFragment()).appendChild(i.content),o.templateInfo=r,!0}static _parseTemplateNodeAttributes(t,e,o){let i=!1,r=Array.from(t.attributes);for(let s,n=r.length-1;s=r[n];n--)i=this._parseTemplateNodeAttribute(t,e,o,s.name,s.value)||i;return i}static _parseTemplateNodeAttribute(t,e,o,i,r){return"on-"===i.slice(0,3)?(t.removeAttribute(i),o.events=o.events||[],o.events.push({name:i.slice(3),value:r}),!0):"id"===i&&(o.id=r,!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 o=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,i=e.content||t.content,r=document.importNode(i,!0);r.__noInsertionPoint=!e.hasInsertionPoint;let s=r.nodeList=new Array(o.length);r.$={};for(let t,i=0,n=o.length;i<n&&(t=o[i]);i++){let o=s[i]=ye(r,t);ve(0,r.$,o,t),xe(0,o,t,e),we(this,o,t)}return r}_addMethodEventListenerToNode(t,e,o,i){let r=function(t,e,o){return t=t._methodHost||t,function(e){t[o]?t[o](e,e.detail):console.warn("listener method `"+o+"` not defined")}}(i=i||t,0,o);return this._addEventListenerToNode(t,e,r),r}_addEventListenerToNode(t,e,o){t.addEventListener(e,o)}_removeEventListenerFromNode(t,e,o){t.removeEventListener(e,o)}}));
992
+ */let me=!1,fe=!1;function _e(t){(function(){if(!me){me=!0;const t=document.createElement("textarea");t.placeholder="a",fe=t.placeholder===t.textContent}return fe})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}const ge=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,o,i)=>{const r=o.getAttribute(i);t&&i.startsWith("on-")?e.setAttribute(i,t.createScript(r,i)):e.setAttribute(i,r)}})();function be(t){let e=t.getAttribute("is");if(e&&pe[e]){let o=t;for(o.removeAttribute("is"),t=o.ownerDocument.createElement(e),o.parentNode.replaceChild(t,o),t.appendChild(o);o.attributes.length;){const{name:e}=o.attributes[0];ge(t,o,e),o.removeAttribute(e)}}return t}function ye(t,e){let o=e.parentInfo&&ye(t,e.parentInfo);if(!o)return t;for(let t=o.firstChild,i=0;t;t=t.nextSibling)if(e.parentIndex===i++)return t}function ve(t,e,o,i){i.id&&(e[i.id]=o)}function we(t,e,o){if(o.events&&o.events.length)for(let i,r=0,s=o.events;r<s.length&&(i=s[r]);r++)t._addMethodEventListenerToNode(e,i.name,i.value,t)}function xe(t,e,o,i){o.templateInfo&&(e._templateInfo=o.templateInfo,e._parentTemplateInfo=i)}const Ce=At((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let o=t._templateInfo={};o.nodeInfoList=[],o.nestedTemplate=Boolean(e),o.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,o,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,o){return this._parseTemplateNode(t.content,e,o)}static _parseTemplateNode(t,e,o){let i=!1,r=t;return"template"!=r.localName||r.hasAttribute("preserve-content")?"slot"===r.localName&&(e.hasInsertionPoint=!0):i=this._parseTemplateNestedTemplate(r,e,o)||i,_e(r),r.firstChild&&this._parseTemplateChildNodes(r,e,o),r.hasAttributes&&r.hasAttributes()&&(i=this._parseTemplateNodeAttributes(r,e,o)||i),i||o.noted}static _parseTemplateChildNodes(t,e,o){if("script"!==t.localName&&"style"!==t.localName)for(let i,r=t.firstChild,s=0;r;r=i){if("template"==r.localName&&(r=be(r)),i=r.nextSibling,r.nodeType===Node.TEXT_NODE){let o=i;for(;o&&o.nodeType===Node.TEXT_NODE;)r.textContent+=o.textContent,i=o.nextSibling,t.removeChild(o),o=i;if(e.stripWhiteSpace&&!r.textContent.trim()){t.removeChild(r);continue}}let n={parentIndex:s,parentInfo:o};this._parseTemplateNode(r,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),r.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,o){let i=t,r=this._parseTemplate(i,e);return(r.content=i.content.ownerDocument.createDocumentFragment()).appendChild(i.content),o.templateInfo=r,!0}static _parseTemplateNodeAttributes(t,e,o){let i=!1,r=Array.from(t.attributes);for(let s,n=r.length-1;s=r[n];n--)i=this._parseTemplateNodeAttribute(t,e,o,s.name,s.value)||i;return i}static _parseTemplateNodeAttribute(t,e,o,i,r){return"on-"===i.slice(0,3)?(t.removeAttribute(i),o.events=o.events||[],o.events.push({name:i.slice(3),value:r}),!0):"id"===i&&(o.id=r,!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 o=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,i=e.content||t.content,r=document.importNode(i,!0);r.__noInsertionPoint=!e.hasInsertionPoint;let s=r.nodeList=new Array(o.length);r.$={};for(let t,i=0,n=o.length;i<n&&(t=o[i]);i++){let o=s[i]=ye(r,t);ve(0,r.$,o,t),xe(0,o,t,e),we(this,o,t)}return r}_addMethodEventListenerToNode(t,e,o,i){let r=function(t,e,o){return t=t._methodHost||t,function(e){t[o]?t[o](e,e.detail):console.warn("listener method `"+o+"` not defined")}}(i=i||t,0,o);return this._addEventListenerToNode(t,e,r),r}_addEventListenerToNode(t,e,o){t.addEventListener(e,o)}_removeEventListenerFromNode(t,e,o){t.removeEventListener(e,o)}}));
993
993
  /**
994
994
  * @fileoverview
995
995
  * @suppress {checkPrototypalTypes}
@@ -1000,7 +1000,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1000
1000
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
1001
1001
  * Google as part of the polymer project is also subject to an additional IP
1002
1002
  * rights grant found at http://polymer.github.io/PATENTS.txt
1003
- */let Ae=0;const ke=[],Ee={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Pe="__computeInfo",Se=/[A-Z]/;function De(t,e,o){let i=t[e];if(i){if(!t.hasOwnProperty(e)&&(i=t[e]=Object.create(t[e]),o))for(let t in i){let e=i[t],o=i[t]=Array(e.length);for(let t=0;t<e.length;t++)o[t]=e[t]}}else i=t[e]={};return i}function Te(t,e,o,i,r,s){if(e){let n=!1;const a=Ae++;for(let l in o){let d=e[r?Ht(l):l];if(d)for(let e,c=0,h=d.length;c<h&&(e=d[c]);c++)e.info&&e.info.lastRun===a||r&&!Ie(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,o,i,e.info,r,s),n=!0)}return n}return!1}function Oe(t,e,o,i,r,s,n,a){let l=!1,d=e[n?Ht(i):i];if(d)for(let e,c=0,h=d.length;c<h&&(e=d[c]);c++)e.info&&e.info.lastRun===o||n&&!Ie(i,e.trigger)||(e.info&&(e.info.lastRun=o),e.fn(t,i,r,s,e.info,n,a),l=!0);return l}function Ie(t,e){if(e){let o=e.name;return o==t||!(!e.structured||!Bt(o,t))||!(!e.wildcard||!Vt(o,t))}return!0}function $e(t,e,o,i,r){let s="string"==typeof r.method?t[r.method]:r.method,n=r.property;s?s.call(t,t.__data[n],i[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function Ne(t,e,o){let i=Ht(e);if(i!==e){return ze(t,Zt(i)+"-changed",o[e],e),!0}return!1}function ze(t,e,o,i){let r={value:o,queueProperty:!0};i&&(r.path=i),Ft(t).dispatchEvent(new CustomEvent(e,{detail:r}))}function Me(t,e,o,i,r,s){let n=(s?Ht(e):e)!=e?e:null,a=n?qt(t,n):t.__data[e];n&&void 0===a&&(a=o[e]),ze(t,r.eventName,a,n)}function Le(t,e,o,i,r){let s=t.__data[e];ut&&(s=ut(s,r.attrName,"attribute",t)),t._propertyToAttribute(e,r.attrName,s)}function Fe(t,e,o,i){let r=t[Ee.COMPUTE];if(r)if(yt){Ae++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const o=t[Ee.COMPUTE];let i,{counts:r,ready:s,total:n}=function(t){const e=t[Pe],o={},i=t[Ee.COMPUTE],r=[];let s=0;for(let t in e){const i=e[t];s+=o[t]=i.args.filter((t=>!t.literal)).length+(i.dynamicFn?1:0)}for(let t in i)e[t]||r.push(t);return{counts:o,ready:r,total:s}}(t);for(;i=s.shift();){e.set(i,e.size);const t=o[i];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--r[e]&&s.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)He(t,r,n,s,i);let a;for(;a=n.shift();)Be(t,"",e,o,a)&&He(a.methodInfo,r,n,s,i);Object.assign(o,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;Te(t,r,s,o,i);)Object.assign(o,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}const Re=(t,e,o)=>{let i=0,r=e.length-1,s=-1;for(;i<=r;){const n=i+r>>1,a=o.get(e[n].methodInfo)-o.get(t.methodInfo);if(a<0)i=n+1;else{if(!(a>0)){s=n;break}r=n-1}}s<0&&(s=r+1),e.splice(s,0,t)},He=(t,e,o,i,r)=>{const s=e[r?Ht(t):t];if(s)for(let e=0;e<s.length;e++){const n=s[e];n.info.lastRun===Ae||r&&!Ie(t,n.trigger)||(n.info.lastRun=Ae,Re(n.info,o,i))}};function Be(t,e,o,i,r){let s=Ge(t,e,o,i,r);if(s===ke)return!1;let n=r.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,s,!0):(t[n]=s,!1)}function Ve(t,e,o,i,r,s,n){o.bindings=o.bindings||[];let a={kind:i,target:r,parts:s,literal:n,isCompound:1!==s.length};if(o.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||Zt(r)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let o=0;o<a.parts.length;o++){let i=a.parts[o];i.compoundIndex=o,je(t,e,a,i,l)}}function je(t,e,o,i,r){if(!i.literal)if("attribute"===o.kind&&"-"===o.target[0])console.warn("Cannot set attribute "+o.target+' because "-" is not a valid attribute starting character');else{let s=i.dependencies,n={index:r,binding:o,part:i,evaluator:t};for(let o=0;o<s.length;o++){let i=s[o];"string"==typeof i&&(i=eo(i),i.wildcard=!0),t._addTemplatePropertyEffect(e,i.rootProperty,{fn:Ue,info:n,trigger:i})}}}function Ue(t,e,o,i,r,s,n){let a=n[r.index],l=r.binding,d=r.part;if(s&&d.source&&e.length>d.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let i=o[e];e=jt(d.source,l.target,e),a._setPendingPropertyOrPath(e,i,!1,!0)&&t._enqueueClient(a)}else{let n=r.evaluator._evaluateBinding(t,d,e,o,i,s);n!==ke&&function(t,e,o,i,r){r=function(t,e,o,i){if(o.isCompound){let r=t.__dataCompoundStorage[o.target];r[i.compoundIndex]=e,e=r.join("")}"attribute"!==o.kind&&("textContent"!==o.target&&("value"!==o.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,r,o,i),ut&&(r=ut(r,o.target,o.kind,e));if("attribute"==o.kind)t._valueToNodeAttribute(e,r,o.target);else{let i=o.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[i]?e[Ee.READ_ONLY]&&e[Ee.READ_ONLY][i]||e._setPendingProperty(i,r)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,i,r)}}(t,a,l,d,n)}}function Ye(t,e){if(e.isCompound){let o=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),i=e.parts,r=new Array(i.length);for(let t=0;t<i.length;t++)r[t]=i[t].literal;let s=e.target;o[s]=r,e.literal&&"property"==e.kind&&("className"===s&&(t=Ft(t)),t[s]=e.literal)}}function qe(t,e,o){if(o.listenerEvent){let i=o.parts[0];t.addEventListener(o.listenerEvent,(function(t){!function(t,e,o,i,r){let s,n=t.detail,a=n&&n.path;a?(i=jt(o,i,a),s=n&&n.value):s=t.currentTarget[o],s=r?!s:s,e[Ee.READ_ONLY]&&e[Ee.READ_ONLY][i]||!e._setPendingPropertyOrPath(i,s,!0,Boolean(a))||n&&n.queueProperty||e._invalidateProperties()}(t,e,o.target,i.source,i.negate)}))}}function We(t,e,o,i,r,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:r,dynamicFn:s};for(let r,s=0;s<e.args.length&&(r=e.args[s]);s++)r.literal||t._addPropertyEffect(r.rootProperty,o,{fn:i,info:n,trigger:r});return s&&t._addPropertyEffect(e.methodName,o,{fn:i,info:n}),n}function Ge(t,e,o,i,r){let s=t._methodHost||t,n=s[r.methodName];if(n){let i=t._marshalArgs(r.args,e,o);return i===ke?ke:n.apply(s,i)}r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const Ke=[],Xe="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Je="(?:("+Xe+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Ze=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+Xe+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+Je+"(?:,\\s*"+Je+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");function Qe(t){let e="";for(let o=0;o<t.length;o++){e+=t[o].literal||""}return e}function to(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Ke};if(e[2].trim()){return function(t,e){return e.args=t.map((function(t){let o=eo(t);return o.literal||(e.static=!1),o}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function eo(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),o={name:e,value:"",literal:!1},i=e[0];switch("-"===i&&(i=e[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':o.value=e.slice(1,-1),o.literal=!0;break;case"#":o.value=Number(e),o.literal=!0}return o.literal||(o.rootProperty=Ht(e),o.structured=Rt(e),o.structured&&(o.wildcard=".*"==e.slice(-2),o.wildcard&&(o.name=e.slice(0,-2)))),o}function oo(t,e,o){let i=qt(t,o);return void 0===i&&(i=e[o]),i}function io(t,e,o,i){const r={indexSplices:i};bt&&!t._overrideLegacyUndefined&&(e.splices=r),t.notifyPath(o+".splices",r),t.notifyPath(o+".length",e.length),bt&&!t._overrideLegacyUndefined&&(r.indexSplices=[])}function ro(t,e,o,i,r,s){io(t,e,o,[{index:i,addedCount:r,removed:s,object:e,type:"splice"}])}const so=kt((t=>{const e=Ce(ue(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 Ee}_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(no.length){let t=no[no.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[Ee.READ_ONLY];for(let o in t)e&&e[o]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[o]=this.__dataPending[o]=t[o])}_addPropertyEffect(t,e,o){this._createPropertyAccessor(t,e==Ee.READ_ONLY);let i=De(this,e,!0)[t];i||(i=this[e][t]=[]),i.push(o)}_removePropertyEffect(t,e,o){let i=De(this,e,!0)[t],r=i.indexOf(o);r>=0&&i.splice(r,1)}_hasPropertyEffect(t,e){let o=this[e];return Boolean(o&&o[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,Ee.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,Ee.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,Ee.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,Ee.COMPUTE)}_setPendingPropertyOrPath(t,e,o,i){if(i||Ht(Array.isArray(t)?t[0]:t)!==t){if(!i){let o=qt(this,t);if(!(t=Wt(this,t,e))||!super._shouldPropertyChange(t,e,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,o))return function(t,e,o){let i=t.__dataLinkedPaths;if(i){let r;for(let s in i){let n=i[s];Vt(s,e)?(r=jt(s,n,e),t._setPendingPropertyOrPath(r,o,!0,!0)):Vt(n,e)&&(r=jt(n,s,e),t._setPendingPropertyOrPath(r,o,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,o);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,o){o===t[e]&&"object"!=typeof o||("className"===e&&(t=Ft(t)),t[e]=o)}_setPendingProperty(t,e,o){let i=this.__dataHasPaths&&Rt(t),r=i?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,r[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),i?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(i||this[Ee.NOTIFY]&&this[Ee.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=o),!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 o=t[e];o.__dataEnabled?o.__dataPending&&o._flushProperties():o._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let o in t)!e&&this[Ee.READ_ONLY]&&this[Ee.READ_ONLY][o]||this._setPendingPropertyOrPath(o,t[o],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,o){let i,r=this.__dataHasPaths;this.__dataHasPaths=!1,Fe(this,e,o,r),i=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,o,r),this._flushClients(),Te(this,this[Ee.REFLECT],e,o,r),Te(this,this[Ee.OBSERVE],e,o,r),i&&function(t,e,o,i,r){let s,n,a=t[Ee.NOTIFY],l=Ae++;for(let n in e)e[n]&&(a&&Oe(t,a,l,n,o,i,r)||r&&Ne(t,n,o))&&(s=!0);s&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,i,e,o,r),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,o){this[Ee.PROPAGATE]&&Te(this,this[Ee.PROPAGATE],t,e,o),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,o)}_runEffectsForTemplate(t,e,o,i){const r=(e,i)=>{Te(this,t.propertyEffects,e,o,i,t.nodeList);for(let r=t.firstChild;r;r=r.nextSibling)this._runEffectsForTemplate(r,e,o,i)};t.runEffects?t.runEffects(r,e,i):r(e,i)}linkPaths(t,e){t=Ut(t),e=Ut(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=Ut(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let o={path:""};io(this,qt(this,t,o),o.path,e)}get(t,e){return qt(e||this,t)}set(t,e,o){o?Wt(o,t,e):this[Ee.READ_ONLY]&&this[Ee.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let o={path:""},i=qt(this,t,o),r=i.length,s=i.push(...e);return e.length&&ro(this,i,o.path,r,e.length,[]),s}pop(t){let e={path:""},o=qt(this,t,e),i=Boolean(o.length),r=o.pop();return i&&ro(this,o,e.path,o.length,0,[r]),r}splice(t,e,o,...i){let r,s={path:""},n=qt(this,t,s);return e<0?e=n.length-Math.floor(-e):e&&(e=Math.floor(e)),r=2===arguments.length?n.splice(e):n.splice(e,o,...i),(i.length||r.length)&&ro(this,n,s.path,e,i.length,r),r}shift(t){let e={path:""},o=qt(this,t,e),i=Boolean(o.length),r=o.shift();return i&&ro(this,o,e.path,0,0,[r]),r}unshift(t,...e){let o={path:""},i=qt(this,t,o),r=i.unshift(...e);return e.length&&ro(this,i,o.path,0,e.length,[]),r}notifyPath(t,e){let o;if(1==arguments.length){let i={path:""};e=qt(this,t,i),o=i.path}else o=Array.isArray(t)?Ut(t):t;this._setPendingPropertyOrPath(o,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var o;this._addPropertyEffect(t,Ee.READ_ONLY),e&&(this["_set"+(o=t,o[0].toUpperCase()+o.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,o){let i={property:t,method:e,dynamicFn:Boolean(o)};this._addPropertyEffect(t,Ee.OBSERVE,{fn:$e,info:i,trigger:{name:t}}),o&&this._addPropertyEffect(e,Ee.OBSERVE,{fn:$e,info:i,trigger:{name:e}})}_createMethodObserver(t,e){let o=to(t);if(!o)throw new Error("Malformed observer expression '"+t+"'");We(this,o,Ee.OBSERVE,Ge,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,Ee.NOTIFY,{fn:Me,info:{eventName:Zt(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,Ee.REFLECT,{fn:Le,info:{attrName:e}})}_createComputedProperty(t,e,o){let i=to(e);if(!i)throw new Error("Malformed computed expression '"+e+"'");const r=We(this,i,Ee.COMPUTE,Be,t,o);De(this,Pe)[t]=r}_marshalArgs(t,e,o){const i=this.__data,r=[];for(let s=0,n=t.length;s<n;s++){let{name:n,structured:a,wildcard:l,value:d,literal:c}=t[s];if(!c)if(l){const t=Vt(n,e),r=oo(i,o,t?e:n);d={path:t?e:n,value:r,base:t?qt(i,n):r}}else d=a?oo(i,o,n):i[n];if(bt&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return ke;r[s]=d}return r}static addPropertyEffect(t,e,o){this.prototype._addPropertyEffect(t,e,o)}static createPropertyObserver(t,e,o){this.prototype._createPropertyObserver(t,e,o)}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,o){this.prototype._createComputedProperty(t,e,o)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let o=this.constructor._parseTemplate(t),i=this.__preBoundTemplateInfo==o;if(!i)for(let t in o.propertyEffects)this._createPropertyAccessor(t);if(e)if(o=Object.create(o),o.wasPreBound=i,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,i=e.lastChild;o.parent=e,e.lastChild=o,o.previousSibling=i,i?i.nextSibling=o:e.firstChild=o}else this.__templateInfo=o;else this.__preBoundTemplateInfo=o;return o}static _addTemplatePropertyEffect(t,e,o){(t.hostProps=t.hostProps||{})[e]=!0;let i=t.propertyEffects=t.propertyEffects||{};(i[e]=i[e]||[]).push(o)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),no.push(this);let o=super._stampTemplate(t,e);if(no.pop(),e.nodeList=o.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=o.firstChild;e;e=e.nextSibling)t.push(e)}return o.templateInfo=e,function(t,e){let{nodeList:o,nodeInfoList:i}=e;if(i.length)for(let e=0;e<i.length;e++){let r=i[e],s=o[e],n=r.bindings;if(n)for(let e=0;e<n.length;e++){let o=n[e];Ye(s,o),qe(s,t,o)}s.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),o}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:o,nextSibling:i,parent:r}=e;o?o.nextSibling=i:r&&(r.firstChild=i),i?i.previousSibling=o:r&&(r.lastChild=o),e.nextSibling=e.previousSibling=null;let s=e.childNodes;for(let t=0;t<s.length;t++){let e=s[t];Ft(Ft(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,o,i){let r=e._parseTemplateNode.call(this,t,o,i);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,o);e&&(t.textContent=Qe(e)||" ",Ve(this,o,i,"text","textContent",e),r=!0)}return r}static _parseTemplateNodeAttribute(t,o,i,r,s){let n=this._parseBindings(s,o);if(n){let e=r,s="property";Se.test(r)?s="attribute":"$"==r[r.length-1]&&(r=r.slice(0,-1),s="attribute");let a=Qe(n);return a&&"attribute"==s&&("class"==r&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(r)),t.setAttribute(r,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(r,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(r=Jt(r)),Ve(this,o,i,s,r,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,o,i,r,s)}static _parseTemplateNestedTemplate(t,o,i){let r=e._parseTemplateNestedTemplate.call(this,t,o,i);const s=t.parentNode,n=i.templateInfo,a="dom-if"===s.localName,l="dom-repeat"===s.localName;vt&&(a||l)&&(s.removeChild(t),(i=i.parentInfo).templateInfo=n,i.noted=!0,r=!1);let d=n.hostProps;if(wt&&a)d&&(o.hostProps=Object.assign(o.hostProps||{},d),vt||(i.parentInfo.noted=!0));else{let t="{";for(let e in d){Ve(this,o,i,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return r}static _parseBindings(t,e){let o,i=[],r=0;for(;null!==(o=Ze.exec(t));){o.index>r&&i.push({literal:t.slice(r,o.index)});let s=o[1][0],n=Boolean(o[2]),a=o[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=to(a),u=[];if(h){let{args:t,methodName:o}=h;for(let e=0;e<t.length;e++){let o=t[e];o.literal||u.push(o)}let i=e.dynamicFns;(i&&i[o]||h.static)&&(u.push(o),h.dynamicFn=!0)}else u.push(a);i.push({source:a,mode:s,negate:n,customEvent:l,signature:h,dependencies:u,event:d}),r=Ze.lastIndex}if(r&&r<t.length){let e=t.substring(r);e&&i.push({literal:e})}return i.length?i:null}static _evaluateBinding(t,e,o,i,r,s){let n;return n=e.signature?Ge(t,o,i,0,e.signature):o!=e.source?qt(t,e.source):s&&Rt(o)?qt(t,o):t.__data[o],e.negate&&(n=!n),n}}})),no=[];const ao=kt((t=>{const e=le(t);function o(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof r?e:null}function i(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const o=t.properties;o&&(e=
1003
+ */let ke=0;const Ae=[],Ee={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Pe="__computeInfo",Se=/[A-Z]/;function De(t,e,o){let i=t[e];if(i){if(!t.hasOwnProperty(e)&&(i=t[e]=Object.create(t[e]),o))for(let t in i){let e=i[t],o=i[t]=Array(e.length);for(let t=0;t<e.length;t++)o[t]=e[t]}}else i=t[e]={};return i}function Te(t,e,o,i,r,s){if(e){let n=!1;const a=ke++;for(let l in o){let d=e[r?Ht(l):l];if(d)for(let e,c=0,h=d.length;c<h&&(e=d[c]);c++)e.info&&e.info.lastRun===a||r&&!Ie(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,o,i,e.info,r,s),n=!0)}return n}return!1}function Oe(t,e,o,i,r,s,n,a){let l=!1,d=e[n?Ht(i):i];if(d)for(let e,c=0,h=d.length;c<h&&(e=d[c]);c++)e.info&&e.info.lastRun===o||n&&!Ie(i,e.trigger)||(e.info&&(e.info.lastRun=o),e.fn(t,i,r,s,e.info,n,a),l=!0);return l}function Ie(t,e){if(e){let o=e.name;return o==t||!(!e.structured||!Bt(o,t))||!(!e.wildcard||!Vt(o,t))}return!0}function $e(t,e,o,i,r){let s="string"==typeof r.method?t[r.method]:r.method,n=r.property;s?s.call(t,t.__data[n],i[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function Ne(t,e,o){let i=Ht(e);if(i!==e){return ze(t,Zt(i)+"-changed",o[e],e),!0}return!1}function ze(t,e,o,i){let r={value:o,queueProperty:!0};i&&(r.path=i),Ft(t).dispatchEvent(new CustomEvent(e,{detail:r}))}function Me(t,e,o,i,r,s){let n=(s?Ht(e):e)!=e?e:null,a=n?qt(t,n):t.__data[e];n&&void 0===a&&(a=o[e]),ze(t,r.eventName,a,n)}function Le(t,e,o,i,r){let s=t.__data[e];ut&&(s=ut(s,r.attrName,"attribute",t)),t._propertyToAttribute(e,r.attrName,s)}function Fe(t,e,o,i){let r=t[Ee.COMPUTE];if(r)if(yt){ke++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const o=t[Ee.COMPUTE];let i,{counts:r,ready:s,total:n}=function(t){const e=t[Pe],o={},i=t[Ee.COMPUTE],r=[];let s=0;for(let t in e){const i=e[t];s+=o[t]=i.args.filter((t=>!t.literal)).length+(i.dynamicFn?1:0)}for(let t in i)e[t]||r.push(t);return{counts:o,ready:r,total:s}}(t);for(;i=s.shift();){e.set(i,e.size);const t=o[i];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--r[e]&&s.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)He(t,r,n,s,i);let a;for(;a=n.shift();)Be(t,"",e,o,a)&&He(a.methodInfo,r,n,s,i);Object.assign(o,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;Te(t,r,s,o,i);)Object.assign(o,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}const Re=(t,e,o)=>{let i=0,r=e.length-1,s=-1;for(;i<=r;){const n=i+r>>1,a=o.get(e[n].methodInfo)-o.get(t.methodInfo);if(a<0)i=n+1;else{if(!(a>0)){s=n;break}r=n-1}}s<0&&(s=r+1),e.splice(s,0,t)},He=(t,e,o,i,r)=>{const s=e[r?Ht(t):t];if(s)for(let e=0;e<s.length;e++){const n=s[e];n.info.lastRun===ke||r&&!Ie(t,n.trigger)||(n.info.lastRun=ke,Re(n.info,o,i))}};function Be(t,e,o,i,r){let s=Ge(t,e,o,i,r);if(s===Ae)return!1;let n=r.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,s,!0):(t[n]=s,!1)}function Ve(t,e,o,i,r,s,n){o.bindings=o.bindings||[];let a={kind:i,target:r,parts:s,literal:n,isCompound:1!==s.length};if(o.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||Zt(r)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let o=0;o<a.parts.length;o++){let i=a.parts[o];i.compoundIndex=o,je(t,e,a,i,l)}}function je(t,e,o,i,r){if(!i.literal)if("attribute"===o.kind&&"-"===o.target[0])console.warn("Cannot set attribute "+o.target+' because "-" is not a valid attribute starting character');else{let s=i.dependencies,n={index:r,binding:o,part:i,evaluator:t};for(let o=0;o<s.length;o++){let i=s[o];"string"==typeof i&&(i=eo(i),i.wildcard=!0),t._addTemplatePropertyEffect(e,i.rootProperty,{fn:Ue,info:n,trigger:i})}}}function Ue(t,e,o,i,r,s,n){let a=n[r.index],l=r.binding,d=r.part;if(s&&d.source&&e.length>d.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let i=o[e];e=jt(d.source,l.target,e),a._setPendingPropertyOrPath(e,i,!1,!0)&&t._enqueueClient(a)}else{let n=r.evaluator._evaluateBinding(t,d,e,o,i,s);n!==Ae&&function(t,e,o,i,r){r=function(t,e,o,i){if(o.isCompound){let r=t.__dataCompoundStorage[o.target];r[i.compoundIndex]=e,e=r.join("")}"attribute"!==o.kind&&("textContent"!==o.target&&("value"!==o.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,r,o,i),ut&&(r=ut(r,o.target,o.kind,e));if("attribute"==o.kind)t._valueToNodeAttribute(e,r,o.target);else{let i=o.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[i]?e[Ee.READ_ONLY]&&e[Ee.READ_ONLY][i]||e._setPendingProperty(i,r)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,i,r)}}(t,a,l,d,n)}}function Ye(t,e){if(e.isCompound){let o=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),i=e.parts,r=new Array(i.length);for(let t=0;t<i.length;t++)r[t]=i[t].literal;let s=e.target;o[s]=r,e.literal&&"property"==e.kind&&("className"===s&&(t=Ft(t)),t[s]=e.literal)}}function qe(t,e,o){if(o.listenerEvent){let i=o.parts[0];t.addEventListener(o.listenerEvent,(function(t){!function(t,e,o,i,r){let s,n=t.detail,a=n&&n.path;a?(i=jt(o,i,a),s=n&&n.value):s=t.currentTarget[o],s=r?!s:s,e[Ee.READ_ONLY]&&e[Ee.READ_ONLY][i]||!e._setPendingPropertyOrPath(i,s,!0,Boolean(a))||n&&n.queueProperty||e._invalidateProperties()}(t,e,o.target,i.source,i.negate)}))}}function We(t,e,o,i,r,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:r,dynamicFn:s};for(let r,s=0;s<e.args.length&&(r=e.args[s]);s++)r.literal||t._addPropertyEffect(r.rootProperty,o,{fn:i,info:n,trigger:r});return s&&t._addPropertyEffect(e.methodName,o,{fn:i,info:n}),n}function Ge(t,e,o,i,r){let s=t._methodHost||t,n=s[r.methodName];if(n){let i=t._marshalArgs(r.args,e,o);return i===Ae?Ae:n.apply(s,i)}r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const Ke=[],Xe="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Je="(?:("+Xe+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Ze=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+Xe+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+Je+"(?:,\\s*"+Je+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");function Qe(t){let e="";for(let o=0;o<t.length;o++){e+=t[o].literal||""}return e}function to(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Ke};if(e[2].trim()){return function(t,e){return e.args=t.map((function(t){let o=eo(t);return o.literal||(e.static=!1),o}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function eo(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),o={name:e,value:"",literal:!1},i=e[0];switch("-"===i&&(i=e[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':o.value=e.slice(1,-1),o.literal=!0;break;case"#":o.value=Number(e),o.literal=!0}return o.literal||(o.rootProperty=Ht(e),o.structured=Rt(e),o.structured&&(o.wildcard=".*"==e.slice(-2),o.wildcard&&(o.name=e.slice(0,-2)))),o}function oo(t,e,o){let i=qt(t,o);return void 0===i&&(i=e[o]),i}function io(t,e,o,i){const r={indexSplices:i};bt&&!t._overrideLegacyUndefined&&(e.splices=r),t.notifyPath(o+".splices",r),t.notifyPath(o+".length",e.length),bt&&!t._overrideLegacyUndefined&&(r.indexSplices=[])}function ro(t,e,o,i,r,s){io(t,e,o,[{index:i,addedCount:r,removed:s,object:e,type:"splice"}])}const so=At((t=>{const e=Ce(ue(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 Ee}_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(no.length){let t=no[no.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[Ee.READ_ONLY];for(let o in t)e&&e[o]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[o]=this.__dataPending[o]=t[o])}_addPropertyEffect(t,e,o){this._createPropertyAccessor(t,e==Ee.READ_ONLY);let i=De(this,e,!0)[t];i||(i=this[e][t]=[]),i.push(o)}_removePropertyEffect(t,e,o){let i=De(this,e,!0)[t],r=i.indexOf(o);r>=0&&i.splice(r,1)}_hasPropertyEffect(t,e){let o=this[e];return Boolean(o&&o[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,Ee.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,Ee.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,Ee.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,Ee.COMPUTE)}_setPendingPropertyOrPath(t,e,o,i){if(i||Ht(Array.isArray(t)?t[0]:t)!==t){if(!i){let o=qt(this,t);if(!(t=Wt(this,t,e))||!super._shouldPropertyChange(t,e,o))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,o))return function(t,e,o){let i=t.__dataLinkedPaths;if(i){let r;for(let s in i){let n=i[s];Vt(s,e)?(r=jt(s,n,e),t._setPendingPropertyOrPath(r,o,!0,!0)):Vt(n,e)&&(r=jt(n,s,e),t._setPendingPropertyOrPath(r,o,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,o);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,o){o===t[e]&&"object"!=typeof o||("className"===e&&(t=Ft(t)),t[e]=o)}_setPendingProperty(t,e,o){let i=this.__dataHasPaths&&Rt(t),r=i?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,r[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),i?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(i||this[Ee.NOTIFY]&&this[Ee.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=o),!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 o=t[e];o.__dataEnabled?o.__dataPending&&o._flushProperties():o._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let o in t)!e&&this[Ee.READ_ONLY]&&this[Ee.READ_ONLY][o]||this._setPendingPropertyOrPath(o,t[o],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,o){let i,r=this.__dataHasPaths;this.__dataHasPaths=!1,Fe(this,e,o,r),i=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,o,r),this._flushClients(),Te(this,this[Ee.REFLECT],e,o,r),Te(this,this[Ee.OBSERVE],e,o,r),i&&function(t,e,o,i,r){let s,n,a=t[Ee.NOTIFY],l=ke++;for(let n in e)e[n]&&(a&&Oe(t,a,l,n,o,i,r)||r&&Ne(t,n,o))&&(s=!0);s&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,i,e,o,r),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,o){this[Ee.PROPAGATE]&&Te(this,this[Ee.PROPAGATE],t,e,o),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,o)}_runEffectsForTemplate(t,e,o,i){const r=(e,i)=>{Te(this,t.propertyEffects,e,o,i,t.nodeList);for(let r=t.firstChild;r;r=r.nextSibling)this._runEffectsForTemplate(r,e,o,i)};t.runEffects?t.runEffects(r,e,i):r(e,i)}linkPaths(t,e){t=Ut(t),e=Ut(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=Ut(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let o={path:""};io(this,qt(this,t,o),o.path,e)}get(t,e){return qt(e||this,t)}set(t,e,o){o?Wt(o,t,e):this[Ee.READ_ONLY]&&this[Ee.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let o={path:""},i=qt(this,t,o),r=i.length,s=i.push(...e);return e.length&&ro(this,i,o.path,r,e.length,[]),s}pop(t){let e={path:""},o=qt(this,t,e),i=Boolean(o.length),r=o.pop();return i&&ro(this,o,e.path,o.length,0,[r]),r}splice(t,e,o,...i){let r,s={path:""},n=qt(this,t,s);return e<0?e=n.length-Math.floor(-e):e&&(e=Math.floor(e)),r=2===arguments.length?n.splice(e):n.splice(e,o,...i),(i.length||r.length)&&ro(this,n,s.path,e,i.length,r),r}shift(t){let e={path:""},o=qt(this,t,e),i=Boolean(o.length),r=o.shift();return i&&ro(this,o,e.path,0,0,[r]),r}unshift(t,...e){let o={path:""},i=qt(this,t,o),r=i.unshift(...e);return e.length&&ro(this,i,o.path,0,e.length,[]),r}notifyPath(t,e){let o;if(1==arguments.length){let i={path:""};e=qt(this,t,i),o=i.path}else o=Array.isArray(t)?Ut(t):t;this._setPendingPropertyOrPath(o,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var o;this._addPropertyEffect(t,Ee.READ_ONLY),e&&(this["_set"+(o=t,o[0].toUpperCase()+o.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,o){let i={property:t,method:e,dynamicFn:Boolean(o)};this._addPropertyEffect(t,Ee.OBSERVE,{fn:$e,info:i,trigger:{name:t}}),o&&this._addPropertyEffect(e,Ee.OBSERVE,{fn:$e,info:i,trigger:{name:e}})}_createMethodObserver(t,e){let o=to(t);if(!o)throw new Error("Malformed observer expression '"+t+"'");We(this,o,Ee.OBSERVE,Ge,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,Ee.NOTIFY,{fn:Me,info:{eventName:Zt(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,Ee.REFLECT,{fn:Le,info:{attrName:e}})}_createComputedProperty(t,e,o){let i=to(e);if(!i)throw new Error("Malformed computed expression '"+e+"'");const r=We(this,i,Ee.COMPUTE,Be,t,o);De(this,Pe)[t]=r}_marshalArgs(t,e,o){const i=this.__data,r=[];for(let s=0,n=t.length;s<n;s++){let{name:n,structured:a,wildcard:l,value:d,literal:c}=t[s];if(!c)if(l){const t=Vt(n,e),r=oo(i,o,t?e:n);d={path:t?e:n,value:r,base:t?qt(i,n):r}}else d=a?oo(i,o,n):i[n];if(bt&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return Ae;r[s]=d}return r}static addPropertyEffect(t,e,o){this.prototype._addPropertyEffect(t,e,o)}static createPropertyObserver(t,e,o){this.prototype._createPropertyObserver(t,e,o)}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,o){this.prototype._createComputedProperty(t,e,o)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let o=this.constructor._parseTemplate(t),i=this.__preBoundTemplateInfo==o;if(!i)for(let t in o.propertyEffects)this._createPropertyAccessor(t);if(e)if(o=Object.create(o),o.wasPreBound=i,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,i=e.lastChild;o.parent=e,e.lastChild=o,o.previousSibling=i,i?i.nextSibling=o:e.firstChild=o}else this.__templateInfo=o;else this.__preBoundTemplateInfo=o;return o}static _addTemplatePropertyEffect(t,e,o){(t.hostProps=t.hostProps||{})[e]=!0;let i=t.propertyEffects=t.propertyEffects||{};(i[e]=i[e]||[]).push(o)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),no.push(this);let o=super._stampTemplate(t,e);if(no.pop(),e.nodeList=o.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=o.firstChild;e;e=e.nextSibling)t.push(e)}return o.templateInfo=e,function(t,e){let{nodeList:o,nodeInfoList:i}=e;if(i.length)for(let e=0;e<i.length;e++){let r=i[e],s=o[e],n=r.bindings;if(n)for(let e=0;e<n.length;e++){let o=n[e];Ye(s,o),qe(s,t,o)}s.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),o}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:o,nextSibling:i,parent:r}=e;o?o.nextSibling=i:r&&(r.firstChild=i),i?i.previousSibling=o:r&&(r.lastChild=o),e.nextSibling=e.previousSibling=null;let s=e.childNodes;for(let t=0;t<s.length;t++){let e=s[t];Ft(Ft(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,o,i){let r=e._parseTemplateNode.call(this,t,o,i);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,o);e&&(t.textContent=Qe(e)||" ",Ve(this,o,i,"text","textContent",e),r=!0)}return r}static _parseTemplateNodeAttribute(t,o,i,r,s){let n=this._parseBindings(s,o);if(n){let e=r,s="property";Se.test(r)?s="attribute":"$"==r[r.length-1]&&(r=r.slice(0,-1),s="attribute");let a=Qe(n);return a&&"attribute"==s&&("class"==r&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(r)),t.setAttribute(r,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(r,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(r=Jt(r)),Ve(this,o,i,s,r,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,o,i,r,s)}static _parseTemplateNestedTemplate(t,o,i){let r=e._parseTemplateNestedTemplate.call(this,t,o,i);const s=t.parentNode,n=i.templateInfo,a="dom-if"===s.localName,l="dom-repeat"===s.localName;vt&&(a||l)&&(s.removeChild(t),(i=i.parentInfo).templateInfo=n,i.noted=!0,r=!1);let d=n.hostProps;if(wt&&a)d&&(o.hostProps=Object.assign(o.hostProps||{},d),vt||(i.parentInfo.noted=!0));else{let t="{";for(let e in d){Ve(this,o,i,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return r}static _parseBindings(t,e){let o,i=[],r=0;for(;null!==(o=Ze.exec(t));){o.index>r&&i.push({literal:t.slice(r,o.index)});let s=o[1][0],n=Boolean(o[2]),a=o[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=to(a),u=[];if(h){let{args:t,methodName:o}=h;for(let e=0;e<t.length;e++){let o=t[e];o.literal||u.push(o)}let i=e.dynamicFns;(i&&i[o]||h.static)&&(u.push(o),h.dynamicFn=!0)}else u.push(a);i.push({source:a,mode:s,negate:n,customEvent:l,signature:h,dependencies:u,event:d}),r=Ze.lastIndex}if(r&&r<t.length){let e=t.substring(r);e&&i.push({literal:e})}return i.length?i:null}static _evaluateBinding(t,e,o,i,r,s){let n;return n=e.signature?Ge(t,o,i,0,e.signature):o!=e.source?qt(t,e.source):s&&Rt(o)?qt(t,o):t.__data[o],e.negate&&(n=!n),n}}})),no=[];const ao=At((t=>{const e=le(t);function o(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof r?e:null}function i(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const o=t.properties;o&&(e=
1004
1004
  /**
1005
1005
  @license
1006
1006
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1010,7 +1010,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1010
1010
  Code distributed by Google as part of the polymer project is also
1011
1011
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1012
1012
  */
1013
- function(t){const e={};for(let o in t){const i=t[o];e[o]="function"==typeof i?{type:i}:i}return e}(o))}t.__ownProperties=e}return t.__ownProperties}class r extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){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=o(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=i(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=o(this);this.__properties=Object.assign({},t&&t._properties,i(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return r})),lo=window.ShadyCSS&&window.ShadyCSS.cssBuild,co=kt((t=>{const e=ao(so(t));function o(t,e,o,i){o.computed&&(o.readOnly=!0),o.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,o.computed,i)),o.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!o.computed):!1===o.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),o.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===o.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),o.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===o.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),o.observer&&t._createPropertyObserver(e,o.observer,i[o.observer]),t._addPropertyToAttributeMap(e)}function i(t,e,o,i){if(!lo){const r=e.content.querySelectorAll("style"),s=Mt(e),n=function(t){let e=It(t);return e?Lt(e):[]}(o),a=e.content.firstElementChild;for(let o=0;o<n.length;o++){let r=n[o];r.textContent=t._processStyleText(r.textContent,i),e.content.insertBefore(r,a)}let l=0;for(let e=0;e<s.length;e++){let o=s[e],n=r[l];n!==o?(o=o.cloneNode(!0),n.parentNode.insertBefore(o,n)):l++,o.textContent=t._processStyleText(o.textContent,i)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,o),Ct&&lo&&ct){const o=e.content.querySelectorAll("style");if(o){let e="";Array.from(o).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((o=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",o))||(o.__ownObservers=o.hasOwnProperty(JSCompiler_renameProperty("observers",o))?o.observers:null),o.__ownObservers);var o;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):ft||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)o(this.prototype,e,t[e],t)}static createObservers(t,e){const o=this.prototype;for(let i=0;i<t.length;i++)o._createMethodObserver(t[i],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&&(!pt||mt)&&(e=Tt.import(t,"template"),pt&&!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=lt(t.url);else{const t=Tt.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=ht,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 o in e){let i=e[o];"value"in i&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[o]=i)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let o=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof o.value?o.value.call(this):o.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return at(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const o=this.importPath;i(this,e,t,o?nt(o):""),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=Ft(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])),gt&&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=nt(this.importPath)),nt(t,e)}static _parseTemplateContent(t,o,i){return o.dynamicFns=o.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,o,i)}static _addTemplatePropertyEffect(t,o,i){return!_t||o in this._properties||i.info.part.signature&&i.info.part.signature.static||i.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${o}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,o,i)}}})),ho=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});
1013
+ function(t){const e={};for(let o in t){const i=t[o];e[o]="function"==typeof i?{type:i}:i}return e}(o))}t.__ownProperties=e}return t.__ownProperties}class r extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){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=o(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=i(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=o(this);this.__properties=Object.assign({},t&&t._properties,i(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return r})),lo=window.ShadyCSS&&window.ShadyCSS.cssBuild,co=At((t=>{const e=ao(so(t));function o(t,e,o,i){o.computed&&(o.readOnly=!0),o.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,o.computed,i)),o.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!o.computed):!1===o.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),o.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===o.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),o.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===o.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),o.observer&&t._createPropertyObserver(e,o.observer,i[o.observer]),t._addPropertyToAttributeMap(e)}function i(t,e,o,i){if(!lo){const r=e.content.querySelectorAll("style"),s=Mt(e),n=function(t){let e=It(t);return e?Lt(e):[]}(o),a=e.content.firstElementChild;for(let o=0;o<n.length;o++){let r=n[o];r.textContent=t._processStyleText(r.textContent,i),e.content.insertBefore(r,a)}let l=0;for(let e=0;e<s.length;e++){let o=s[e],n=r[l];n!==o?(o=o.cloneNode(!0),n.parentNode.insertBefore(o,n)):l++,o.textContent=t._processStyleText(o.textContent,i)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,o),Ct&&lo&&ct){const o=e.content.querySelectorAll("style");if(o){let e="";Array.from(o).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((o=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",o))||(o.__ownObservers=o.hasOwnProperty(JSCompiler_renameProperty("observers",o))?o.observers:null),o.__ownObservers);var o;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):ft||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)o(this.prototype,e,t[e],t)}static createObservers(t,e){const o=this.prototype;for(let i=0;i<t.length;i++)o._createMethodObserver(t[i],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&&(!pt||mt)&&(e=Tt.import(t,"template"),pt&&!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=lt(t.url);else{const t=Tt.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=ht,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 o in e){let i=e[o];"value"in i&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[o]=i)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let o=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof o.value?o.value.call(this):o.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return at(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const o=this.importPath;i(this,e,t,o?nt(o):""),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=Ft(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])),gt&&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=nt(this.importPath)),nt(t,e)}static _parseTemplateContent(t,o,i){return o.dynamicFns=o.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,o,i)}static _addTemplatePropertyEffect(t,o,i){return!_t||o in this._properties||i.info.part.signature&&i.info.part.signature.static||i.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${o}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,o,i)}}})),ho=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});
1014
1014
  /**
1015
1015
  * @fileoverview
1016
1016
  * @suppress {checkPrototypalTypes}
@@ -1114,7 +1114,7 @@ class go{static detectScrollType(){const t=document.createElement("div");t.textC
1114
1114
  * See https://vaadin.com/commercial-license-and-service-terms for the full
1115
1115
  * license.
1116
1116
  */
1117
- const Ao=e`
1117
+ const ko=e`
1118
1118
  :host {
1119
1119
  /* Square */
1120
1120
  --lumo-space-xs: 0.25rem;
@@ -1137,7 +1137,7 @@ const Ao=e`
1137
1137
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
1138
1138
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
1139
1139
  }
1140
- `,ko=document.createElement("template");ko.innerHTML=`<style>${Ao.toString().replace(":host","html")}</style>`,document.head.appendChild(ko.content);
1140
+ `,Ao=document.createElement("template");Ao.innerHTML=`<style>${ko.toString().replace(":host","html")}</style>`,document.head.appendChild(Ao.content);
1141
1141
  /**
1142
1142
  * @license
1143
1143
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -1248,7 +1248,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1248
1248
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1249
1249
  Code distributed by Google as part of the polymer project is also
1250
1250
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1251
- */function Fo(t,e,o,i,r){let s;r&&(s="object"==typeof o&&null!==o,s&&(i=t.__dataTemp[e]));let n=i!==o&&(i==i||o==o);return s&&n&&(t.__dataTemp[e]=o),n}const Ro=kt((t=>class extends t{_shouldPropertyChange(t,e,o){return Fo(this,t,e,o,!0)}})),Ho=kt((t=>class extends t{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(t,e,o){return Fo(this,t,e,o,this.mutableData)}}));Ro._mutablePropertyChange=Fo;
1251
+ */function Fo(t,e,o,i,r){let s;r&&(s="object"==typeof o&&null!==o,s&&(i=t.__dataTemp[e]));let n=i!==o&&(i==i||o==o);return s&&n&&(t.__dataTemp[e]=o),n}const Ro=At((t=>class extends t{_shouldPropertyChange(t,e,o){return Fo(this,t,e,o,!0)}})),Ho=At((t=>class extends t{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(t,e,o){return Fo(this,t,e,o,this.mutableData)}}));Ro._mutablePropertyChange=Fo;
1252
1252
  /**
1253
1253
  @license
1254
1254
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1269,7 +1269,7 @@ let Bo=null;function Vo(){return Bo}Vo.prototype=Object.create(HTMLTemplateEleme
1269
1269
  * See https://vaadin.com/commercial-license-and-service-terms for the full
1270
1270
  * license.
1271
1271
  */
1272
- const ti=t=>t.test(navigator.userAgent),ei=t=>t.test(navigator.platform);ti(/Android/),ti(/Chrome/)&&/Google Inc/.test(navigator.vendor);const oi=ti(/Firefox/),ii=ei(/^iPad/)||ei(/^Mac/)&&navigator.maxTouchPoints>1,ri=ei(/^iPhone/)||ii;ti(/^((?!chrome|android).)*safari/i);const si=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})(),ni=kt((t=>class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}));
1272
+ const ti=t=>t.test(navigator.userAgent),ei=t=>t.test(navigator.platform);ti(/Android/),ti(/Chrome/)&&/Google Inc/.test(navigator.vendor);const oi=ti(/Firefox/),ii=ei(/^iPad/)||ei(/^Mac/)&&navigator.maxTouchPoints>1,ri=ei(/^iPhone/)||ii;ti(/^((?!chrome|android).)*safari/i);const si=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})(),ni=At((t=>class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}));
1273
1273
  /**
1274
1274
  * @license
1275
1275
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -2277,7 +2277,7 @@ try {
2277
2277
  * Code distributed by Google as part of the polymer project is also
2278
2278
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2279
2279
  */
2280
- let xi=0,Ci=0;const Ai=[];let ki=0,Ei=!1;const Pi=document.createTextNode("");new window.MutationObserver((function(){Ei=!1;const t=Ai.length;for(let e=0;e<t;e++){const t=Ai[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}Ai.splice(0,t),Ci+=t})).observe(Pi,{characterData:!0});const Si={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)}},Di={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},Ti={run(t){Ei||(Ei=!0,Pi.textContent=ki,ki+=1),Ai.push(t);const e=xi;return xi+=1,e},cancel(t){const e=t-Ci;if(e>=0){if(!Ai[e])throw new Error(`invalid async handle: ${t}`);Ai[e]=null}}};
2280
+ let xi=0,Ci=0;const ki=[];let Ai=0,Ei=!1;const Pi=document.createTextNode("");new window.MutationObserver((function(){Ei=!1;const t=ki.length;for(let e=0;e<t;e++){const t=ki[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}ki.splice(0,t),Ci+=t})).observe(Pi,{characterData:!0});const Si={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)}},Di={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},Ti={run(t){Ei||(Ei=!0,Pi.textContent=Ai,Ai+=1),ki.push(t);const e=xi;return xi+=1,e},cancel(t){const e=t-Ci;if(e>=0){if(!ki[e])throw new Error(`invalid async handle: ${t}`);ki[e]=null}}};
2281
2281
  /**
2282
2282
  @license
2283
2283
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2339,7 +2339,7 @@ class Li extends EventTarget{static generateId(t,e){return`${t||"default"}-${e.l
2339
2339
  *
2340
2340
  * See https://vaadin.com/commercial-license-and-service-terms for the full
2341
2341
  * license.
2342
- */const Ri=kt((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}})),Hi="string"==typeof document.head.style.touchAction,Bi="__polymerGestures",Vi="__polymerGesturesHandled",ji="__polymerGesturesTouchAction",Ui=["mousedown","mousemove","mouseup","click"],Yi=[0,1,4,2],qi=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();
2342
+ */const Ri=At((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}})),Hi="string"==typeof document.head.style.touchAction,Bi="__polymerGestures",Vi="__polymerGesturesHandled",ji="__polymerGesturesTouchAction",Ui=["mousedown","mousemove","mouseup","click"],Yi=[0,1,4,2],qi=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();
2343
2343
  /**
2344
2344
  @license
2345
2345
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2358,7 +2358,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2358
2358
  *
2359
2359
  * See https://vaadin.com/commercial-license-and-service-terms for the full
2360
2360
  * license.
2361
- */lr({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){er(this.info)},mousedown(t){if(!Zi(t))return;const e=sr(t),o=this;tr(this.info,(t=>{Zi(t)||(ur("up",e,t),er(o.info))}),(t=>{Zi(t)&&ur("up",e,t),er(o.info)})),ur("down",e,t)},touchstart(t){ur("down",sr(t),t.changedTouches[0],t)},touchend(t){ur("up",sr(t),t.changedTouches[0],t)}}),lr({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(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,er(this.info)},mousedown(t){if(!Zi(t))return;const e=sr(t),o=this,i=t=>{const i=t.clientX,r=t.clientY;pr(o.info,i,r)&&(o.info.state=o.info.started?"mouseup"===t.type?"end":"track":"start","start"===o.info.state&&hr("tap"),o.info.addMove({x:i,y:r}),Zi(t)||(o.info.state="end",er(o.info)),e&&mr(o.info,e,t),o.info.started=!0)};tr(this.info,i,(t=>{o.info.started&&i(t),er(o.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove(t){const e=sr(t),o=t.changedTouches[0],i=o.clientX,r=o.clientY;pr(this.info,i,r)&&("start"===this.info.state&&hr("tap"),this.info.addMove({x:i,y:r}),mr(this.info,e,o),this.info.state="track",this.info.started=!0)},touchend(t){const e=sr(t),o=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:o.clientX,y:o.clientY}),mr(this.info,e,o))}}),lr({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(t){Zi(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click(t){Zi(t)&&fr(this.info,t)},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend(t){fr(this.info,t.changedTouches[0],t)}});const _r=kt((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}})),gr=t=>class extends(Ri(_r(t))){get _activeKeys(){return[" "]}ready(){super.ready(),ar(this,"down",(t=>{this._shouldSetActive(t)&&this._setActive(!0)})),ar(this,"up",(()=>{this._setActive(!1)}))}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(t){return!this.disabled}_onKeyDown(t){super._onKeyDown(t),this._shouldSetActive(t)&&this._activeKeys.includes(t.key)&&(this._setActive(!0),document.addEventListener("keyup",(t=>{this._activeKeys.includes(t.key)&&this._setActive(!1)}),{once:!0}))}_setActive(t){this.toggleAttribute("active",t)}}
2361
+ */lr({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){er(this.info)},mousedown(t){if(!Zi(t))return;const e=sr(t),o=this;tr(this.info,(t=>{Zi(t)||(ur("up",e,t),er(o.info))}),(t=>{Zi(t)&&ur("up",e,t),er(o.info)})),ur("down",e,t)},touchstart(t){ur("down",sr(t),t.changedTouches[0],t)},touchend(t){ur("up",sr(t),t.changedTouches[0],t)}}),lr({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(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,er(this.info)},mousedown(t){if(!Zi(t))return;const e=sr(t),o=this,i=t=>{const i=t.clientX,r=t.clientY;pr(o.info,i,r)&&(o.info.state=o.info.started?"mouseup"===t.type?"end":"track":"start","start"===o.info.state&&hr("tap"),o.info.addMove({x:i,y:r}),Zi(t)||(o.info.state="end",er(o.info)),e&&mr(o.info,e,t),o.info.started=!0)};tr(this.info,i,(t=>{o.info.started&&i(t),er(o.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove(t){const e=sr(t),o=t.changedTouches[0],i=o.clientX,r=o.clientY;pr(this.info,i,r)&&("start"===this.info.state&&hr("tap"),this.info.addMove({x:i,y:r}),mr(this.info,e,o),this.info.state="track",this.info.started=!0)},touchend(t){const e=sr(t),o=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:o.clientX,y:o.clientY}),mr(this.info,e,o))}}),lr({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(t){Zi(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click(t){Zi(t)&&fr(this.info,t)},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend(t){fr(this.info,t.changedTouches[0],t)}});const _r=At((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}})),gr=t=>class extends(Ri(_r(t))){get _activeKeys(){return[" "]}ready(){super.ready(),ar(this,"down",(t=>{this._shouldSetActive(t)&&this._setActive(!0)})),ar(this,"up",(()=>{this._setActive(!1)}))}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(t){return!this.disabled}_onKeyDown(t){super._onKeyDown(t),this._shouldSetActive(t)&&this._activeKeys.includes(t.key)&&(this._setActive(!0),document.addEventListener("keyup",(t=>{this._activeKeys.includes(t.key)&&this._setActive(!1)}),{once:!0}))}_setActive(t){this.toggleAttribute("active",t)}}
2362
2362
  /**
2363
2363
  * @license
2364
2364
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -2368,7 +2368,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2368
2368
  *
2369
2369
  * See https://vaadin.com/commercial-license-and-service-terms for the full
2370
2370
  * license.
2371
- */,br=kt((t=>class extends t{get _keyboardActive(){return ai}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}})),yr=t=>class extends(Ri(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}
2371
+ */,br=At((t=>class extends t{get _keyboardActive(){return ai}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}})),yr=t=>class extends(Ri(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}
2372
2372
  /**
2373
2373
  * @license
2374
2374
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -2807,7 +2807,7 @@ const Cr=document.createElement("template");Cr.innerHTML='\n <style>\n @font
2807
2807
  * See https://vaadin.com/commercial-license-and-service-terms for the full
2808
2808
  * license.
2809
2809
  */
2810
- const Ar=e`
2810
+ const kr=e`
2811
2811
  [part$='button'] {
2812
2812
  flex: none;
2813
2813
  width: 1em;
@@ -2834,7 +2834,7 @@ const Ar=e`
2834
2834
  font-family: 'lumo-icons';
2835
2835
  display: block;
2836
2836
  }
2837
- `;H("",Ar,{moduleId:"lumo-field-button"});
2837
+ `;H("",kr,{moduleId:"lumo-field-button"});
2838
2838
  /**
2839
2839
  * @license
2840
2840
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -2845,7 +2845,7 @@ const Ar=e`
2845
2845
  * See https://vaadin.com/commercial-license-and-service-terms for the full
2846
2846
  * license.
2847
2847
  */
2848
- const kr=e`
2848
+ const Ar=e`
2849
2849
  :host([has-helper]) [part='helper-text']::before {
2850
2850
  content: '';
2851
2851
  display: block;
@@ -3013,7 +3013,7 @@ const kr=e`
3013
3013
  * See https://vaadin.com/commercial-license-and-service-terms for the full
3014
3014
  * license.
3015
3015
  */
3016
- const Pr=[Er,Ar,kr,e`
3016
+ const Pr=[Er,kr,Ar,e`
3017
3017
  :host {
3018
3018
  --lumo-text-field-size: var(--lumo-size-m);
3019
3019
  color: var(--lumo-body-text-color);
@@ -3175,7 +3175,7 @@ const Pr=[Er,Ar,kr,e`
3175
3175
  * Google as part of the polymer project is also subject to an additional IP
3176
3176
  * rights grant found at http://polymer.github.io/PATENTS.txt
3177
3177
  */
3178
- const Sr="disable-upgrade",Dr=kt((t=>{const e=co(t);let o=(t=>{for(;t;){const e=Object.getOwnPropertyDescriptor(t,"observedAttributes");if(e)return e.get;t=Object.getPrototypeOf(t.prototype).constructor}return()=>[]})(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return o.call(this).concat(Sr)}_initializeProperties(){this.hasAttribute(Sr)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}attributeChangedCallback(t,e,o,i){t==Sr?this.__isUpgradeDisabled&&null==o&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,Ft(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(t,e,o,i)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}));function Tr(t){return t?new Set(t.split(" ")):new Set}function Or(t){return[...t].join(" ")}
3178
+ const Sr="disable-upgrade",Dr=At((t=>{const e=co(t);let o=(t=>{for(;t;){const e=Object.getOwnPropertyDescriptor(t,"observedAttributes");if(e)return e.get;t=Object.getPrototypeOf(t.prototype).constructor}return()=>[]})(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return o.call(this).concat(Sr)}_initializeProperties(){this.hasAttribute(Sr)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}attributeChangedCallback(t,e,o,i){t==Sr?this.__isUpgradeDisabled&&null==o&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,Ft(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(t,e,o,i)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}));function Tr(t){return t?new Set(t.split(" ")):new Set}function Or(t){return[...t].join(" ")}
3179
3179
  /**
3180
3180
  * @license
3181
3181
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -3660,7 +3660,7 @@ class Zr{constructor(t,e){this.query=t,this.callback=e,this._boundQueryHandler=t
3660
3660
  * See https://vaadin.com/commercial-license-and-service-terms for the full
3661
3661
  * license.
3662
3662
  */
3663
- const ts=kt((t=>class extends(br(yr(t))){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame((()=>{this.focus(),this.setAttribute("focus-ring","")}))}focus(){this.focusElement&&!this.disabled&&(this.focusElement.focus(),this._setFocused(!0))}blur(){this.focusElement&&(this.focusElement.blur(),this._setFocused(!1))}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(t,e){t?(t.disabled=this.disabled,this._addFocusListeners(t),this.__forwardTabIndex(this.tabindex)):e&&this._removeFocusListeners(e)}_addFocusListeners(t){t.addEventListener("blur",this._boundOnBlur),t.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(t){t.removeEventListener("blur",this._boundOnBlur),t.removeEventListener("focus",this._boundOnFocus)}_onFocus(t){t.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(t){t.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(t){return t.target===this.focusElement}_disabledChanged(t,e){super._disabledChanged(t,e),this.focusElement&&(this.focusElement.disabled=t),t&&this.blur()}_tabindexChanged(t){this.__forwardTabIndex(t)}__forwardTabIndex(t){void 0!==t&&this.focusElement&&(this.focusElement.tabIndex=t,-1!==t&&(this.tabindex=void 0)),this.disabled&&t&&(-1!==t&&(this._lastTabIndex=t),this.tabindex=void 0)}}));
3663
+ const ts=At((t=>class extends(br(yr(t))){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame((()=>{this.focus(),this.setAttribute("focus-ring","")}))}focus(){this.focusElement&&!this.disabled&&(this.focusElement.focus(),this._setFocused(!0))}blur(){this.focusElement&&(this.focusElement.blur(),this._setFocused(!1))}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(t,e){t?(t.disabled=this.disabled,this._addFocusListeners(t),this.__forwardTabIndex(this.tabindex)):e&&this._removeFocusListeners(e)}_addFocusListeners(t){t.addEventListener("blur",this._boundOnBlur),t.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(t){t.removeEventListener("blur",this._boundOnBlur),t.removeEventListener("focus",this._boundOnFocus)}_onFocus(t){t.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(t){t.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(t){return t.target===this.focusElement}_disabledChanged(t,e){super._disabledChanged(t,e),this.focusElement&&(this.focusElement.disabled=t),t&&this.blur()}_tabindexChanged(t){this.__forwardTabIndex(t)}__forwardTabIndex(t){void 0!==t&&this.focusElement&&(this.focusElement.tabIndex=t,-1!==t&&(this.tabindex=void 0)),this.disabled&&t&&(-1!==t&&(this._lastTabIndex=t),this.tabindex=void 0)}}));
3664
3664
  /**
3665
3665
  * @license
3666
3666
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -3710,7 +3710,7 @@ const ts=kt((t=>class extends(br(yr(t))){static get properties(){return{autofocu
3710
3710
  *
3711
3711
  * See https://vaadin.com/commercial-license-and-service-terms for the full
3712
3712
  * license.
3713
- */const ss=kt((t=>class extends(ni(t)){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}get _labelId(){return this._labelController.labelId}get _labelNode(){return this._labelController.node}constructor(){super(),this._labelController=new rs(this)}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(t){this._labelController.setLabel(t)}})),ns=kt((t=>class extends t{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const t=this.checkValidity();return this._setInvalid(!t),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:t}})),t}checkValidity(){return!this.required||!!this.value}_setInvalid(t){this._shouldSetInvalid(t)&&(this.invalid=t)}_shouldSetInvalid(t){return!0}})),as=t=>class extends(ns(ss(ni(t)))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}get _errorId(){return this._errorController.errorId}get _errorNode(){return this._errorController.node}get _helperId(){return this._helperController.helperId}get _helperNode(){return this._helperController.node}constructor(){super(),this._fieldAriaController=new os(this),this._helperController=new is(this),this._errorController=new es(this),this._labelController.addEventListener("label-changed",(t=>{const{hasLabel:e,node:o}=t.detail;this.__labelChanged(e,o)})),this._helperController.addEventListener("helper-changed",(t=>{const{hasHelper:e,node:o}=t.detail;this.__helperChanged(e,o)}))}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(t,e){t?this._fieldAriaController.setHelperId(e.id):this._fieldAriaController.setHelperId(null)}__labelChanged(t,e){t?this._fieldAriaController.setLabelId(e.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(t){this._errorController.setErrorMessage(t)}_helperTextChanged(t){this._helperController.setHelperText(t)}_ariaTargetChanged(t){t&&this._fieldAriaController.setTarget(t)}_requiredChanged(t){this._fieldAriaController.setRequired(t)}_invalidChanged(t){this._errorController.setInvalid(t),setTimeout((()=>{t?this._fieldAriaController.setErrorId(this._errorController.errorId):this._fieldAriaController.setErrorId(null)}))}}
3713
+ */const ss=At((t=>class extends(ni(t)){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}get _labelId(){return this._labelController.labelId}get _labelNode(){return this._labelController.node}constructor(){super(),this._labelController=new rs(this)}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(t){this._labelController.setLabel(t)}})),ns=At((t=>class extends t{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const t=this.checkValidity();return this._setInvalid(!t),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:t}})),t}checkValidity(){return!this.required||!!this.value}_setInvalid(t){this._shouldSetInvalid(t)&&(this.invalid=t)}_shouldSetInvalid(t){return!0}})),as=t=>class extends(ns(ss(ni(t)))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}get _errorId(){return this._errorController.errorId}get _errorNode(){return this._errorController.node}get _helperId(){return this._helperController.helperId}get _helperNode(){return this._helperController.node}constructor(){super(),this._fieldAriaController=new os(this),this._helperController=new is(this),this._errorController=new es(this),this._labelController.addEventListener("label-changed",(t=>{const{hasLabel:e,node:o}=t.detail;this.__labelChanged(e,o)})),this._helperController.addEventListener("helper-changed",(t=>{const{hasHelper:e,node:o}=t.detail;this.__helperChanged(e,o)}))}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(t,e){t?this._fieldAriaController.setHelperId(e.id):this._fieldAriaController.setHelperId(null)}__labelChanged(t,e){t?this._fieldAriaController.setLabelId(e.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(t){this._errorController.setErrorMessage(t)}_helperTextChanged(t){this._helperController.setHelperText(t)}_ariaTargetChanged(t){t&&this._fieldAriaController.setTarget(t)}_requiredChanged(t){this._fieldAriaController.setRequired(t)}_invalidChanged(t){this._errorController.setInvalid(t),setTimeout((()=>{t?this._fieldAriaController.setErrorId(this._errorController.errorId):this._fieldAriaController.setErrorId(null)}))}}
3714
3714
  /**
3715
3715
  * @license
3716
3716
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -3720,7 +3720,7 @@ const ts=kt((t=>class extends(br(yr(t))){static get properties(){return{autofocu
3720
3720
  *
3721
3721
  * See https://vaadin.com/commercial-license-and-service-terms for the full
3722
3722
  * license.
3723
- */,ls=kt((t=>class extends t{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(t){t&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach((t=>{this._delegateAttribute(t,this[t])}))}_ensurePropsDelegated(){this.constructor.delegateProps.forEach((t=>{this._delegateProperty(t,this[t])}))}_delegateAttrsChanged(...t){this.constructor.delegateAttrs.forEach(((e,o)=>{this._delegateAttribute(e,t[o])}))}_delegatePropsChanged(...t){this.constructor.delegateProps.forEach(((e,o)=>{this._delegateProperty(e,t[o])}))}_delegateAttribute(t,e){this.stateTarget&&("invalid"===t&&this._delegateAttribute("aria-invalid",!!e&&"true"),"boolean"==typeof e?this.stateTarget.toggleAttribute(t,e):e?this.stateTarget.setAttribute(t,e):this.stateTarget.removeAttribute(t))}_delegateProperty(t,e){this.stateTarget&&(this.stateTarget[t]=e)}})),ds=kt((t=>class extends t{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}clear(){this.value=""}_addInputListeners(t){t.addEventListener("input",this._boundOnInput),t.addEventListener("change",this._boundOnChange)}_removeInputListeners(t){t.removeEventListener("input",this._boundOnInput),t.removeEventListener("change",this._boundOnChange)}_forwardInputValue(t){this.inputElement&&(this.inputElement.value=null!=t?t:"")}_inputElementChanged(t,e){t?this._addInputListeners(t):e&&this._removeInputListeners(e)}_hasInputValueChanged(t,e){(t||e)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(t){this._setHasInputValue(t),this._onInput(t)}_onInput(t){const e=t.composedPath()[0];this.__userInput=t.isTrusted,this.value=e.value,this.__userInput=!1}_onChange(t){}_toggleHasValue(t){this.toggleAttribute("has-value",t)}_valueChanged(t,e){this._toggleHasValue(this._hasValue),""===t&&void 0===e||this.__userInput||this._forwardInputValue(t)}get _hasValue(){return null!=this.value&&""!==this.value}_setHasInputValue(t){const e=t.composedPath()[0];this._hasInputValue=e.value.length>0}})),cs=kt((t=>class extends(ls(ns(ds(t)))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map((t=>this[t])))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(t){return t.some((t=>this.__isValidConstraint(t)))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(t,...e){if(!t)return;const o=this._hasValidConstraints(e),i=this.__previousHasConstraints&&!o;(this._hasValue||this.invalid)&&o?this.validate():i&&this._setInvalid(!1),this.__previousHasConstraints=o}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}__isValidConstraint(t){return Boolean(t)||0===t}})),hs=new WeakMap;
3723
+ */,ls=At((t=>class extends t{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(t){t&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach((t=>{this._delegateAttribute(t,this[t])}))}_ensurePropsDelegated(){this.constructor.delegateProps.forEach((t=>{this._delegateProperty(t,this[t])}))}_delegateAttrsChanged(...t){this.constructor.delegateAttrs.forEach(((e,o)=>{this._delegateAttribute(e,t[o])}))}_delegatePropsChanged(...t){this.constructor.delegateProps.forEach(((e,o)=>{this._delegateProperty(e,t[o])}))}_delegateAttribute(t,e){this.stateTarget&&("invalid"===t&&this._delegateAttribute("aria-invalid",!!e&&"true"),"boolean"==typeof e?this.stateTarget.toggleAttribute(t,e):e?this.stateTarget.setAttribute(t,e):this.stateTarget.removeAttribute(t))}_delegateProperty(t,e){this.stateTarget&&(this.stateTarget[t]=e)}})),ds=At((t=>class extends t{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}clear(){this.value=""}_addInputListeners(t){t.addEventListener("input",this._boundOnInput),t.addEventListener("change",this._boundOnChange)}_removeInputListeners(t){t.removeEventListener("input",this._boundOnInput),t.removeEventListener("change",this._boundOnChange)}_forwardInputValue(t){this.inputElement&&(this.inputElement.value=null!=t?t:"")}_inputElementChanged(t,e){t?this._addInputListeners(t):e&&this._removeInputListeners(e)}_hasInputValueChanged(t,e){(t||e)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(t){this._setHasInputValue(t),this._onInput(t)}_onInput(t){const e=t.composedPath()[0];this.__userInput=t.isTrusted,this.value=e.value,this.__userInput=!1}_onChange(t){}_toggleHasValue(t){this.toggleAttribute("has-value",t)}_valueChanged(t,e){this._toggleHasValue(this._hasValue),""===t&&void 0===e||this.__userInput||this._forwardInputValue(t)}get _hasValue(){return null!=this.value&&""!==this.value}_setHasInputValue(t){const e=t.composedPath()[0];this._hasInputValue=e.value.length>0}})),cs=At((t=>class extends(ls(ns(ds(t)))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map((t=>this[t])))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(t){return t.some((t=>this.__isValidConstraint(t)))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(t,...e){if(!t)return;const o=this._hasValidConstraints(e),i=this.__previousHasConstraints&&!o;(this._hasValue||this.invalid)&&o?this.validate():i&&this._setInvalid(!1),this.__previousHasConstraints=o}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}__isValidConstraint(t){return Boolean(t)||0===t}})),hs=new WeakMap;
3724
3724
  /**
3725
3725
  * @license
3726
3726
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -3730,7 +3730,7 @@ const ts=kt((t=>class extends(br(yr(t))){static get properties(){return{autofocu
3730
3730
  *
3731
3731
  * See https://vaadin.com/commercial-license-and-service-terms for the full
3732
3732
  * license.
3733
- */const us=kt((t=>class extends t{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const t=this.getRootNode(),e=function(t){return hs.has(t)||hs.set(t,new Set),hs.get(t)}(t);this.slotStyles.forEach((o=>{e.has(o)||(!function(t,e){const o=document.createElement("style");o.textContent=t,e===document?document.head.appendChild(o):e.insertBefore(o,e.firstChild)}(o,t),e.add(o))}))}})),ps=t=>class extends(us(ts(cs(as(_r(t)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}get slotStyles(){return["\n :is(input[slot='input'], textarea[slot='textarea'])::placeholder {\n font: inherit;\n color: inherit;\n }\n "]}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("click",(t=>this._onClearButtonClick(t))),this.clearElement.addEventListener("mousedown",(t=>this._onClearButtonMouseDown(t))))}_onClearButtonClick(t){t.preventDefault(),this.__clear()}_onClearButtonMouseDown(t){t.preventDefault(),si||this.inputElement.focus()}_onFocus(t){super._onFocus(t),this.autoselect&&this.inputElement&&this.inputElement.select()}_onEscape(t){super._onEscape(t),this.clearButtonVisible&&this.value&&(t.stopPropagation(),this.__clear())}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}__clear(){this.clear(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}_addInputListeners(t){super._addInputListeners(t),t.addEventListener("paste",this._boundOnPaste),t.addEventListener("drop",this._boundOnDrop),t.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(t){super._removeInputListeners(t),t.removeEventListener("paste",this._boundOnPaste),t.removeEventListener("drop",this._boundOnDrop),t.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(t){super._onKeyDown(t),this.allowedCharPattern&&!this.__shouldAcceptKey(t)&&(t.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=Ii.debounce(this._preventInputDebouncer,Si.after(200),(()=>{this.removeAttribute("input-prevented")}))}__shouldAcceptKey(t){return t.metaKey||t.ctrlKey||!t.key||1!==t.key.length||this.__allowedCharRegExp.test(t.key)}_onPaste(t){if(this.allowedCharPattern){const e=t.clipboardData.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onDrop(t){if(this.allowedCharPattern){const e=t.dataTransfer.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onBeforeInput(t){this.allowedCharPattern&&t.data&&!this.__allowedTextRegExp.test(t.data)&&(t.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(t){if(t)try{this.__allowedCharRegExp=new RegExp(`^${t}$`),this.__allowedTextRegExp=new RegExp(`^${t}*$`)}catch(t){console.error(t)}}}
3733
+ */const us=At((t=>class extends t{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const t=this.getRootNode(),e=function(t){return hs.has(t)||hs.set(t,new Set),hs.get(t)}(t);this.slotStyles.forEach((o=>{e.has(o)||(!function(t,e){const o=document.createElement("style");o.textContent=t,e===document?document.head.appendChild(o):e.insertBefore(o,e.firstChild)}(o,t),e.add(o))}))}})),ps=t=>class extends(us(ts(cs(as(_r(t)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}get slotStyles(){return["\n :is(input[slot='input'], textarea[slot='textarea'])::placeholder {\n font: inherit;\n color: inherit;\n }\n "]}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("click",(t=>this._onClearButtonClick(t))),this.clearElement.addEventListener("mousedown",(t=>this._onClearButtonMouseDown(t))))}_onClearButtonClick(t){t.preventDefault(),this.__clear()}_onClearButtonMouseDown(t){t.preventDefault(),si||this.inputElement.focus()}_onFocus(t){super._onFocus(t),this.autoselect&&this.inputElement&&this.inputElement.select()}_onEscape(t){super._onEscape(t),this.clearButtonVisible&&this.value&&(t.stopPropagation(),this.__clear())}_onChange(t){t.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:t},bubbles:t.bubbles,cancelable:t.cancelable}))}__clear(){this.clear(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}_addInputListeners(t){super._addInputListeners(t),t.addEventListener("paste",this._boundOnPaste),t.addEventListener("drop",this._boundOnDrop),t.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(t){super._removeInputListeners(t),t.removeEventListener("paste",this._boundOnPaste),t.removeEventListener("drop",this._boundOnDrop),t.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(t){super._onKeyDown(t),this.allowedCharPattern&&!this.__shouldAcceptKey(t)&&(t.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=Ii.debounce(this._preventInputDebouncer,Si.after(200),(()=>{this.removeAttribute("input-prevented")}))}__shouldAcceptKey(t){return t.metaKey||t.ctrlKey||!t.key||1!==t.key.length||this.__allowedCharRegExp.test(t.key)}_onPaste(t){if(this.allowedCharPattern){const e=t.clipboardData.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onDrop(t){if(this.allowedCharPattern){const e=t.dataTransfer.getData("text");this.__allowedTextRegExp.test(e)||(t.preventDefault(),this._markInputPrevented())}}_onBeforeInput(t){this.allowedCharPattern&&t.data&&!this.__allowedTextRegExp.test(t.data)&&(t.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(t){if(t)try{this.__allowedCharRegExp=new RegExp(`^${t}$`),this.__allowedTextRegExp=new RegExp(`^${t}*$`)}catch(t){console.error(t)}}}
3734
3734
  /**
3735
3735
  * @license
3736
3736
  * Copyright (c) 2000 - 2024 Vaadin Ltd.
@@ -4041,7 +4041,7 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4041
4041
  outline: none;
4042
4042
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
4043
4043
  width: 100%;
4044
- color: #0F1941;
4044
+ color: #0F1941 !important;
4045
4045
  }
4046
4046
 
4047
4047
  .form.error .form-input {
@@ -4161,7 +4161,7 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4161
4161
  }
4162
4162
 
4163
4163
  .link-text:hover {
4164
- color: #0f3b65;
4164
+ text-decoration: underline;
4165
4165
  }
4166
4166
 
4167
4167
  .tooltip-wrapper randstad-icon {
@@ -4176,6 +4176,13 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4176
4176
  .toggle-password randstad-icon svg {
4177
4177
  fill: #2175D9 !important;
4178
4178
  }
4179
+
4180
+ input:-webkit-autofill,
4181
+ textarea:-webkit-autofill {
4182
+ box-shadow: 0 0 0px 1000px white inset !important;
4183
+ -webkit-text-fill-color: #0F1941 !important;
4184
+ transition: background-color 5000s ease-in-out 0s;
4185
+ }
4179
4186
  `}togglePassword(t){this.isPasswordVisible=!this.isPasswordVisible;const e=t.currentTarget.parentElement?.querySelector("input");e&&(e.type=this.isPasswordVisible?"text":"password"),this.requestUpdate()}handleInput(t){const e=t.target;this.value=e.value,this.dispatchEvent(new CustomEvent("valueChanged",{detail:this.value})),this.dispatchEvent(new Event("input",{bubbles:!0}))}handleLinkClick(t){t.preventDefault(),this.linkRoute&&this.dispatchEvent(new CustomEvent("linkClicked",{detail:this.linkRoute,bubbles:!0,composed:!0}))}render(){return o`
4180
4187
  <div
4181
4188
  class="form ${this.error?"error":""} ${this.success?"success":""} ${this.disabled?"disabled":""}"
@@ -4233,7 +4240,11 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4233
4240
  ${this.errorMessage?this.errorMessage:o`<slot name="error-extended"></slot>`}
4234
4241
  </p>
4235
4242
  `:r}
4236
- ${this.linkText&&this.linkRoute?o`<a class="link-text" href="#" @click=${this.handleLinkClick}>${this.linkText}</a>`:r}
4243
+ ${this.linkText&&this.linkRoute?o`
4244
+ <div style="text-align: right;">
4245
+ <a class="link-text" href="#" @click=${this.handleLinkClick}>${this.linkText}</a>
4246
+ </div>
4247
+ `:r}
4237
4248
 
4238
4249
  ${this.helper?o`<p class="helper-description">${this.helper}</p>`:r}
4239
4250
  </div>
@@ -4250,7 +4261,7 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4250
4261
  height: var(--icon-size, 24px); /* Tamaño fijo basado en size */
4251
4262
  fill: var(--icon-color, currentColor);
4252
4263
  }
4253
- `}constructor(){super(),this.name="",this.size="24px",this.color=""}connectedCallback(){super.connectedCallback(),this.name&&this.loadIcon()}updated(t){t.has("name")&&this.name&&this.loadIcon(),t.has("size")&&this.style.setProperty("--icon-size",this.size),t.has("color")&&this.style.setProperty("--icon-color",this.color)}async loadIcon(){if(this.name)try{const t=await fetch(`/assets/icons/${this.name}.svg`);if(!t.ok)throw new Error("Icon not found");const e=await t.text(),o=new DOMParser,i=o.parseFromString(e,"image/svg+xml").querySelector("svg");if(!i)throw new Error("No se encontró un elemento SVG válido");i.removeAttribute("fill"),i.setAttribute("width",this.size||"24px"),i.setAttribute("height",this.size||"24px"),this.renderRoot.innerHTML="",this.renderRoot.appendChild(i)}catch(t){console.error(`❌ Error cargando icono ${this.name}:`,t),this.renderRoot.innerHTML="<span>⚠️</span>"}else this.renderRoot.innerHTML=""}render(){return null}}n([I({type:String}),a("design:type",String)],Cs.prototype,"name",void 0),n([I({type:String}),a("design:type",String)],Cs.prototype,"size",void 0),n([I({type:String}),a("design:type",String)],Cs.prototype,"color",void 0),customElements.define("randstad-icon",Cs);let As=class extends t{constructor(){super(...arguments),this.open=!1,this.title="Título del modal"}static{this.styles=e`
4264
+ `}constructor(){super(),this.name="",this.size="24px",this.color=""}connectedCallback(){super.connectedCallback(),this.name&&this.loadIcon()}updated(t){t.has("name")&&this.name&&this.loadIcon(),t.has("size")&&this.style.setProperty("--icon-size",this.size),t.has("color")&&this.style.setProperty("--icon-color",this.color)}async loadIcon(){if(this.name)try{const t=await fetch(`/assets/icons/${this.name}.svg`);if(!t.ok)throw new Error("Icon not found");const e=await t.text(),o=new DOMParser,i=o.parseFromString(e,"image/svg+xml").querySelector("svg");if(!i)throw new Error("No se encontró un elemento SVG válido");i.removeAttribute("fill"),i.setAttribute("width",this.size||"24px"),i.setAttribute("height",this.size||"24px"),this.renderRoot.innerHTML="",this.renderRoot.appendChild(i)}catch(t){console.error(`❌ Error cargando icono ${this.name}:`,t),this.renderRoot.innerHTML="<span>⚠️</span>"}else this.renderRoot.innerHTML=""}render(){return null}}n([I({type:String}),a("design:type",String)],Cs.prototype,"name",void 0),n([I({type:String}),a("design:type",String)],Cs.prototype,"size",void 0),n([I({type:String}),a("design:type",String)],Cs.prototype,"color",void 0),customElements.define("randstad-icon",Cs);let ks=class extends t{constructor(){super(...arguments),this.open=!1,this.title="Título del modal"}static{this.styles=e`
4254
4265
  :host {
4255
4266
  display: none;
4256
4267
  position: fixed;
@@ -4329,7 +4340,7 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4329
4340
  <slot name="confirm-button"></slot>
4330
4341
  </div>
4331
4342
  </div>
4332
- `}};n([I({type:Boolean,reflect:!0}),a("design:type",Object)],As.prototype,"open",void 0),n([I({type:String}),a("design:type",Object)],As.prototype,"title",void 0),As=n([l("custom-modal")],As);class ks extends t{static{this.styles=e`
4343
+ `}};n([I({type:Boolean,reflect:!0}),a("design:type",Object)],ks.prototype,"open",void 0),n([I({type:String}),a("design:type",Object)],ks.prototype,"title",void 0),ks=n([l("custom-modal")],ks);class As extends t{static{this.styles=e`
4333
4344
  :host {
4334
4345
  display: block;
4335
4346
  border-radius: 4px;
@@ -4337,7 +4348,6 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4337
4348
  line-height: 25px;
4338
4349
  font-weight: 400;
4339
4350
  color: white;
4340
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
4341
4351
  font-family: 'Graphik', sans-serif;
4342
4352
  }
4343
4353
  .container {
@@ -4379,7 +4389,7 @@ console.warn('WARNING: Since Vaadin 23.2, "@vaadin/vaadin-date-picker" is deprec
4379
4389
  <randstad-icon class="icon" name="${this.icon}" size="24px" style="color: var(--icon-color);"></randstad-icon>
4380
4390
  <span class="message">${this.message}</span>
4381
4391
  </div>
4382
- `}}customElements.define("randstad-notice",ks);let Es=class extends t{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.title="Título del Popup",this.description="Descripción del popup",this.width="400px",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No"}static{this.styles=e`
4392
+ `}}customElements.define("randstad-notice",As);let Es=class extends t{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.title="Título del Popup",this.description="Descripción del popup",this.width="400px",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No"}static{this.styles=e`
4383
4393
  :host {
4384
4394
  display: none;
4385
4395
  position: fixed;
@@ -4539,7 +4549,7 @@ class wn extends vn{renderIndicator(){return this.indeterminate?this.renderIndet
4539
4549
  * @license
4540
4550
  * Copyright 2023 Google LLC
4541
4551
  * SPDX-License-Identifier: Apache-2.0
4542
- */;let Cn=class extends wn{};Cn.styles=[xn],Cn=n([l("md-circular-progress")],Cn);let An=class extends t{constructor(){super(...arguments),this.steps=10,this.currentStep=0,this.size="60px"}static{this.styles=e`
4552
+ */;let Cn=class extends wn{};Cn.styles=[xn],Cn=n([l("md-circular-progress")],Cn);let kn=class extends t{constructor(){super(...arguments),this.steps=10,this.currentStep=0,this.size="60px"}static{this.styles=e`
4543
4553
  :host {
4544
4554
  display: inline-flex;
4545
4555
  justify-content: center;
@@ -4579,13 +4589,13 @@ class wn extends vn{renderIndicator(){return this.indeterminate?this.renderIndet
4579
4589
  ></md-circular-progress>
4580
4590
  <span class="progress-text">${this.currentStep} de ${this.steps}</span>
4581
4591
  </div>
4582
- `}updated(t){if(t.has("size")||t.has("steps")||t.has("currentStep")){const t=this.shadowRoot?.querySelector(".progress-text"),e=this.shadowRoot?.querySelector(".container");if(t&&e){const o=parseFloat(getComputedStyle(e).width),i=t.scrollWidth;if(i>.7*o){const e=.7*o/i;t.style.fontSize=`calc(var(--progress-size, 60px) * 0.3 * ${e})`}}}}};n([I({type:Number}),a("design:type",Object)],An.prototype,"steps",void 0),n([I({type:Number}),a("design:type",Object)],An.prototype,"currentStep",void 0),n([I({type:String}),a("design:type",Object)],An.prototype,"size",void 0),An=n([l("my-circular-progress")],An);
4592
+ `}updated(t){if(t.has("size")||t.has("steps")||t.has("currentStep")){const t=this.shadowRoot?.querySelector(".progress-text"),e=this.shadowRoot?.querySelector(".container");if(t&&e){const o=parseFloat(getComputedStyle(e).width),i=t.scrollWidth;if(i>.7*o){const e=.7*o/i;t.style.fontSize=`calc(var(--progress-size, 60px) * 0.3 * ${e})`}}}}};n([I({type:Number}),a("design:type",Object)],kn.prototype,"steps",void 0),n([I({type:Number}),a("design:type",Object)],kn.prototype,"currentStep",void 0),n([I({type:String}),a("design:type",Object)],kn.prototype,"size",void 0),kn=n([l("my-circular-progress")],kn);
4583
4593
  /**
4584
4594
  * @license
4585
4595
  * Copyright 2023 Google LLC
4586
4596
  * SPDX-License-Identifier: Apache-2.0
4587
4597
  */
4588
- const kn=Symbol("attachableController");let En;s||(En=new MutationObserver((t=>{for(const e of t)e.target[kn]?.hostConnected()})));class Pn{get htmlFor(){return this.host.getAttribute("for")}set htmlFor(t){null===t?this.host.removeAttribute("for"):this.host.setAttribute("for",t)}get control(){return this.host.hasAttribute("for")?this.htmlFor&&this.host.isConnected?this.host.getRootNode().querySelector(`#${this.htmlFor}`):null:this.currentControl||this.host.parentElement}set control(t){t?this.attach(t):this.detach()}constructor(t,e){this.host=t,this.onControlChange=e,this.currentControl=null,t.addController(this),t[kn]=this,En?.observe(t,{attributeFilter:["for"]})}attach(t){t!==this.currentControl&&(this.setCurrentControl(t),this.host.removeAttribute("for"))}detach(){this.setCurrentControl(null),this.host.setAttribute("for","")}hostConnected(){this.setCurrentControl(this.control)}hostDisconnected(){this.setCurrentControl(null)}setCurrentControl(t){this.onControlChange(this.currentControl,t),this.currentControl=t}}
4598
+ const An=Symbol("attachableController");let En;s||(En=new MutationObserver((t=>{for(const e of t)e.target[An]?.hostConnected()})));class Pn{get htmlFor(){return this.host.getAttribute("for")}set htmlFor(t){null===t?this.host.removeAttribute("for"):this.host.setAttribute("for",t)}get control(){return this.host.hasAttribute("for")?this.htmlFor&&this.host.isConnected?this.host.getRootNode().querySelector(`#${this.htmlFor}`):null:this.currentControl||this.host.parentElement}set control(t){t?this.attach(t):this.detach()}constructor(t,e){this.host=t,this.onControlChange=e,this.currentControl=null,t.addController(this),t[An]=this,En?.observe(t,{attributeFilter:["for"]})}attach(t){t!==this.currentControl&&(this.setCurrentControl(t),this.host.removeAttribute("for"))}detach(){this.setCurrentControl(null),this.host.setAttribute("for","")}hostConnected(){this.setCurrentControl(this.control)}hostDisconnected(){this.setCurrentControl(null)}setCurrentControl(t){this.onControlChange(this.currentControl,t),this.currentControl=t}}
4589
4599
  /**
4590
4600
  * @license
4591
4601
  * Copyright 2021 Google LLC
@@ -4845,6 +4855,7 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
4845
4855
  background: white;
4846
4856
  cursor: pointer;
4847
4857
  transition: background-color 0.3s ease;
4858
+ color: #0F1941 !important;
4848
4859
  }
4849
4860
 
4850
4861
  .input-container:hover .filter-input {
@@ -4998,7 +5009,7 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
4998
5009
  height: 20px;
4999
5010
  border-radius: 50%;
5000
5011
  background-color: #ffffff;
5001
- border: 1px solid #CFD1D9; /* Gris para pendiente */
5012
+ border: 1px solid #CFD1D9;
5002
5013
  position: relative;
5003
5014
  box-sizing: content-box;
5004
5015
  display: flex;
@@ -5008,17 +5019,22 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5008
5019
  color: #CFD1D9;
5009
5020
  }
5010
5021
  .step .inner-circle {
5011
- width: 5px;
5012
- height: 5px;
5022
+ width: 4px;
5023
+ height: 4px;
5013
5024
  border-radius: 50%;
5014
5025
  background-color: #ffffff;
5015
5026
  position: absolute;
5016
5027
  top: 50%;
5017
5028
  left: 50%;
5018
5029
  transform: translate(-50%, -50%);
5030
+ /* Improve sharpness */
5031
+ image-rendering: -webkit-optimize-contrast;
5032
+ image-rendering: crisp-edges;
5033
+ backface-visibility: hidden;
5034
+ transform-style: preserve-3d;
5019
5035
  }
5020
5036
  .step.completed {
5021
- background-color: #2175d9; /* Azul para completado */
5037
+ background-color: #2175d9;
5022
5038
  border: 1px solid #2175d9;
5023
5039
  }
5024
5040
  .step.completed randstad-icon {
@@ -5026,14 +5042,40 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5026
5042
  }
5027
5043
  .step.active {
5028
5044
  background-color: #ffffff;
5029
- border: 1px solid #2175d9; /* Azul para activo */
5045
+ border: 1px solid #2175d9;
5030
5046
  }
5031
5047
  .step.active .inner-circle {
5032
5048
  background-color: #2175d9;
5033
5049
  }
5034
- /* Mejora de nitidez */
5050
+ /* Animation for the active step's pulsing circle */
5051
+ .step.active .pulse-circle {
5052
+ width: 12px;
5053
+ height: 12px;
5054
+ border-radius: 50%;
5055
+ background-color: #2175d9;
5056
+ opacity: 0.25;
5057
+ position: absolute;
5058
+ top: 50%;
5059
+ left: 50%;
5060
+ transform: translate(-50%, -50%) scale(0.6);
5061
+ animation: pulse 2000ms ease-in-out infinite;
5062
+ /* Improve sharpness */
5063
+ image-rendering: -webkit-optimize-contrast;
5064
+ image-rendering: crisp-edges;
5065
+ backface-visibility: hidden;
5066
+ }
5067
+ @keyframes pulse {
5068
+ 0% {
5069
+ transform: translate(-50%, -50%) scale(0.6);
5070
+ }
5071
+ 80%, 100% {
5072
+ transform: translate(-50%, -50%) scale(1.2);
5073
+ }
5074
+ }
5075
+ /* Improve rendering */
5035
5076
  .step,
5036
- .inner-circle {
5077
+ .inner-circle,
5078
+ .pulse-circle {
5037
5079
  will-change: transform;
5038
5080
  -webkit-font-smoothing: antialiased;
5039
5081
  -moz-osx-font-smoothing: grayscale;
@@ -5044,7 +5086,10 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5044
5086
  <div
5045
5087
  class="step ${e<this.currentStep?"completed":e===this.currentStep?"active":""}"
5046
5088
  >
5047
- ${e<this.currentStep?o`<randstad-icon name="tick-circle" size="16px"></randstad-icon>`:(this.currentStep,o`<span class="inner-circle"></span>`)}
5089
+ ${e<this.currentStep?o`<randstad-icon name="tick-circle" size="16px"></randstad-icon>`:e===this.currentStep?o`
5090
+ <span class="pulse-circle"></span>
5091
+ <span class="inner-circle"></span>
5092
+ `:o`<span class="inner-circle"></span>`}
5048
5093
  </div>
5049
5094
  `))}
5050
5095
  </div>
@@ -5110,8 +5155,8 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5110
5155
  align-items: center;
5111
5156
  box-sizing: border-box;
5112
5157
  min-height: 48px;
5113
- min-width: 270px;
5114
- max-width: 480px;
5158
+ min-width: 380px;
5159
+ max-width: 380px;
5115
5160
  border-radius: 4px;
5116
5161
  padding: 8px;
5117
5162
  gap: 8px;
@@ -5165,6 +5210,17 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5165
5210
  .informative {
5166
5211
  background-color: var(--ui-informative);
5167
5212
  }
5213
+
5214
+ @media (max-width: 940px) {
5215
+ :host {
5216
+ bottom: 16px !important;
5217
+ left: 50% !important;
5218
+ right: auto !important;
5219
+ top: auto !important;
5220
+ transform: translateX(-50%) !important;
5221
+ justify-content: center !important;
5222
+ }
5223
+ }
5168
5224
  `]}constructor(){super(),this.type="informative",this.icon="info",this.message="Este es un mensaje.",this.open=!1,this.position="bottom-center"}static get properties(){return{type:{type:String},icon:{type:String},message:{type:String},open:{type:Boolean},position:{type:String,reflect:!0}}}render(){const t="error"===this.type||"warning"===this.type?"alert":"status";return o`
5169
5225
  <div
5170
5226
  class="container ${this.open?"":"hidden"} ${this.type}"
@@ -5188,5 +5244,5 @@ const ha=e`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
5188
5244
  border: none;
5189
5245
  cursor: pointer;
5190
5246
  }
5191
- `}render(){return o`<button>${this.label}</button>`}};n([I({type:String}),a("design:type",Object)],ya.prototype,"label",void 0),ya=n([l("test-button")],ya);export{M as Checkbox,As as CustomModal,Es as CustomPopup,pa as CustomRadio,fa as CustomStepper,ma as FilterableSelect,Cs as IconComponent,An as MyCircularProgress,z as RandstadButton,xs as RandstadForm,ya as TestButton,ba as TestComponent};
5247
+ `}render(){return o`<button>${this.label}</button>`}};n([I({type:String}),a("design:type",Object)],ya.prototype,"label",void 0),ya=n([l("test-button")],ya);export{M as Checkbox,ks as CustomModal,Es as CustomPopup,pa as CustomRadio,fa as CustomStepper,ma as FilterableSelect,Cs as IconComponent,kn as MyCircularProgress,z as RandstadButton,xs as RandstadForm,ya as TestButton,ba as TestComponent};
5192
5248
  //# sourceMappingURL=index.js.map