@momentum-design/components 0.4.7 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var Me=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var d=(o,t,e,s)=>{for(var i=s>1?void 0:s?Oe(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&Me(t,e,i),i};var st=globalThis,it=st.ShadowRoot&&(st.ShadyCSS===void 0||st.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),jt=new WeakMap,G=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==bt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(it&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Gt=o=>new G(typeof o=="string"?o:o+"",void 0,bt),g=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1],o[0]);return new G(e,o,bt)},Et=(o,t)=>{if(it)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),i=st.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},ot=it?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Gt(e)})(o):o;var{is:Ie,defineProperty:He,getOwnPropertyDescriptor:ke,getOwnPropertyNames:De,getOwnPropertySymbols:qe,getPrototypeOf:Fe}=Object,C=globalThis,Vt=C.trustedTypes,je=Vt?Vt.emptyScript:"",At=C.reactiveElementPolyfillSupport,V=(o,t)=>o,W={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},rt=(o,t)=>!Ie(o,t),Wt={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:rt},Xt,Bt;(Xt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Bt=C.litPropertyMetadata)!=null||(C.litPropertyMetadata=new WeakMap);var A=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Wt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&He(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var r;let{get:i,set:n}=(r=ke(this.prototype,t))!=null?r:{get(){return this[e]},set(a){this[e]=a}};return{get(){return i==null?void 0:i.call(this)},set(a){let l=i==null?void 0:i.call(this);n.call(this,a),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Wt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;let t=Fe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){let e=this.properties,s=[...De(e),...qe(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(ot(i))}else t!==void 0&&e.push(ot(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Et(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostConnected)==null?void 0:i.call(s)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:W).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n;let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let r=s.getPropertyOptions(i),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((n=r.converter)==null?void 0:n.fromAttribute)!==void 0?r.converter:W;this._$Em=i,this[i]=a.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(t)),!((i=s.hasChanged)!=null?i:rt)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){var i;this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&((i=this._$Ej)!=null?i:this._$Ej=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[r,a]of this._$Ep)this[r]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[r,a]of n)a.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],a)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)}),this.update(e)):this._$EU()}catch(n){throw t=!1,this._$EU(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),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=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}},Zt;A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[V("elementProperties")]=new Map,A[V("finalized")]=new Map,At==null||At({ReactiveElement:A}),((Zt=C.reactiveElementVersions)!=null?Zt:C.reactiveElementVersions=[]).push("2.0.4");var Ge={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:rt},Ve=(o=Ge,t,e)=>{let{kind:s,metadata:i}=e,n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,o),s==="accessor"){let{name:r}=e;return{set(a){let l=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,l,o)},init(a){return a!==void 0&&this.P(r,void 0,o),a}}}if(s==="setter"){let{name:r}=e;return function(a){let l=this[r];t.call(this,a),this.requestUpdate(r,l,o)}}throw Error("Unsupported decorator location: "+s)};function h(o){return(t,e)=>typeof e=="object"?Ve(o,t,e):((s,i,n)=>{let r=i.hasOwnProperty(n);return i.constructor.createProperty(n,r?{...s,wrapped:!0}:s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}function O(o){return h({...o,state:!0,attribute:!1})}var We={PREFIX:"mdc",SEPARATOR:"-"},Xe={NAMESPACE:We},St=Xe;var Be=o=>[St.NAMESPACE.PREFIX,o].join(St.NAMESPACE.SEPARATOR),y={constructTagName:Be};var at=y.constructTagName("themeprovider"),_t={THEMECLASS:"mds-theme-stable-darkWebex"};var B=globalThis,lt=B.trustedTypes,Yt=lt?lt.createPolicy("lit-html",{createHTML:o=>o}):void 0,ie="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,oe="?"+z,Ze=`<${oe}>`,L=document,Z=()=>L.createComment(""),Y=o=>o===null||typeof o!="object"&&typeof o!="function",Pt=Array.isArray,Ye=o=>Pt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Tt=`[
1
+ "use strict";(()=>{var Me=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var d=(o,t,e,s)=>{for(var i=s>1?void 0:s?Oe(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&Me(t,e,i),i};var st=globalThis,it=st.ShadowRoot&&(st.ShadyCSS===void 0||st.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),jt=new WeakMap,G=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==bt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(it&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Gt=o=>new G(typeof o=="string"?o:o+"",void 0,bt),f=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1],o[0]);return new G(e,o,bt)},Et=(o,t)=>{if(it)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),i=st.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},ot=it?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Gt(e)})(o):o;var{is:Ie,defineProperty:He,getOwnPropertyDescriptor:ke,getOwnPropertyNames:De,getOwnPropertySymbols:qe,getPrototypeOf:Fe}=Object,C=globalThis,Vt=C.trustedTypes,je=Vt?Vt.emptyScript:"",At=C.reactiveElementPolyfillSupport,V=(o,t)=>o,W={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},rt=(o,t)=>!Ie(o,t),Wt={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:rt},Xt,Bt;(Xt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Bt=C.litPropertyMetadata)!=null||(C.litPropertyMetadata=new WeakMap);var A=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Wt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&He(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var r;let{get:i,set:n}=(r=ke(this.prototype,t))!=null?r:{get(){return this[e]},set(a){this[e]=a}};return{get(){return i==null?void 0:i.call(this)},set(a){let l=i==null?void 0:i.call(this);n.call(this,a),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Wt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;let t=Fe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){let e=this.properties,s=[...De(e),...qe(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(ot(i))}else t!==void 0&&e.push(ot(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Et(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostConnected)==null?void 0:i.call(s)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:W).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n;let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let r=s.getPropertyOptions(i),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((n=r.converter)==null?void 0:n.fromAttribute)!==void 0?r.converter:W;this._$Em=i,this[i]=a.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(t)),!((i=s.hasChanged)!=null?i:rt)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){var i;this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&((i=this._$Ej)!=null?i:this._$Ej=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[r,a]of this._$Ep)this[r]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[r,a]of n)a.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],a)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)}),this.update(e)):this._$EU()}catch(n){throw t=!1,this._$EU(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),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=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}},Zt;A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[V("elementProperties")]=new Map,A[V("finalized")]=new Map,At==null||At({ReactiveElement:A}),((Zt=C.reactiveElementVersions)!=null?Zt:C.reactiveElementVersions=[]).push("2.0.4");var Ge={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:rt},Ve=(o=Ge,t,e)=>{let{kind:s,metadata:i}=e,n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,o),s==="accessor"){let{name:r}=e;return{set(a){let l=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,l,o)},init(a){return a!==void 0&&this.P(r,void 0,o),a}}}if(s==="setter"){let{name:r}=e;return function(a){let l=this[r];t.call(this,a),this.requestUpdate(r,l,o)}}throw Error("Unsupported decorator location: "+s)};function h(o){return(t,e)=>typeof e=="object"?Ve(o,t,e):((s,i,n)=>{let r=i.hasOwnProperty(n);return i.constructor.createProperty(n,r?{...s,wrapped:!0}:s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}function O(o){return h({...o,state:!0,attribute:!1})}var We={PREFIX:"mdc",SEPARATOR:"-"},Xe={NAMESPACE:We},St=Xe;var Be=o=>[St.NAMESPACE.PREFIX,o].join(St.NAMESPACE.SEPARATOR),y={constructTagName:Be};var at=y.constructTagName("themeprovider"),_t={THEMECLASS:"mds-theme-stable-darkWebex"};var B=globalThis,lt=B.trustedTypes,Yt=lt?lt.createPolicy("lit-html",{createHTML:o=>o}):void 0,ie="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,oe="?"+w,Ze=`<${oe}>`,L=document,Z=()=>L.createComment(""),Y=o=>o===null||typeof o!="object"&&typeof o!="function",Pt=Array.isArray,Ye=o=>Pt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Tt=`[
2
2
  \f\r]`,X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Jt=/>/g,P=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,re=/^(?:script|style|textarea|title)$/i,Ut=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),p=Ut(1),Ys=Ut(2),Ks=Ut(3),S=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),ee=new WeakMap,U=L.createTreeWalker(L,129);function ne(o,t){if(!Pt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yt!==void 0?Yt.createHTML(t):t}var Ke=(o,t)=>{let e=o.length-1,s=[],i,n=t===2?"<svg>":t===3?"<math>":"",r=X;for(let a=0;a<e;a++){let l=o[a],u,c,m=-1,E=0;for(;E<l.length&&(r.lastIndex=E,c=r.exec(l),c!==null);)E=r.lastIndex,r===X?c[1]==="!--"?r=Kt:c[1]!==void 0?r=Jt:c[2]!==void 0?(re.test(c[2])&&(i=RegExp("</"+c[2],"g")),r=P):c[3]!==void 0&&(r=P):r===P?c[0]===">"?(r=i!=null?i:X,m=-1):c[1]===void 0?m=-2:(m=r.lastIndex-c[2].length,u=c[1],r=c[3]===void 0?P:c[3]==='"'?te:Qt):r===te||r===Qt?r=P:r===Kt||r===Jt?r=X:(r=P,i=void 0);let $=r===P&&o[a+1].startsWith("/>")?" ":"";n+=r===X?l+Ze:m>=0?(s.push(u),l.slice(0,m)+ie+l.slice(m)+z+$):l+z+(m===-2?a:$)}return[ne(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},K=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0,a=t.length-1,l=this.parts,[u,c]=Ke(t,e);if(this.el=o.createElement(u,s),U.currentNode=this.el.content,e===2||e===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=U.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ie)){let E=c[r++],$=i.getAttribute(m).split(z),et=/([.?@])?(.*)/.exec(E);l.push({type:1,index:n,name:et[2],strings:$,ctor:et[1]==="."?zt:et[1]==="?"?wt:et[1]==="@"?Nt:H}),i.removeAttribute(m)}else m.startsWith(z)&&(l.push({type:6,index:n}),i.removeAttribute(m));if(re.test(i.tagName)){let m=i.textContent.split(z),E=m.length-1;if(E>0){i.textContent=lt?lt.emptyScript:"";for(let $=0;$<E;$++)i.append(m[$],Z()),U.nextNode(),l.push({type:2,index:++n});i.append(m[E],Z())}}}else if(i.nodeType===8)if(i.data===oe)l.push({type:2,index:n});else{let m=-1;for(;(m=i.data.indexOf(z,m+1))!==-1;)l.push({type:7,index:n}),m+=z.length-1}n++}}static createElement(t,e){let s=L.createElement("template");return s.innerHTML=t,s}};function I(o,t,e=o,s){var r,a,l;if(t===S)return t;let i=s!==void 0?(r=e.o)==null?void 0:r[s]:e.l,n=Y(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?((l=e.o)!=null?l:e.o=[])[s]=i:e.l=i),i!==void 0&&(t=I(o,i._$AS(o,t.values),i,s)),t}var Ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var u;let{el:{content:e},parts:s}=this._$AD,i=((u=t==null?void 0:t.creationScope)!=null?u:L).importNode(e,!0);U.currentNode=i;let n=U.nextNode(),r=0,a=0,l=s[0];for(;l!==void 0;){if(r===l.index){let c;l.type===2?c=new J(n,n.nextSibling,this,t):l.type===1?c=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(c=new Rt(n,this,t)),this._$AV.push(c),l=s[++a]}r!==(l==null?void 0:l.index)&&(n=U.nextNode(),r++)}return U.currentNode=L,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},J=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,s,i){var n;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this.v=(n=i==null?void 0:i.isConnected)!=null?n:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),Y(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==S&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ye(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==f&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=K.createElement(ne(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{let r=new Ct(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=ee.get(t.strings);return e===void 0&&ee.set(t.strings,e=new K(t)),e}k(t){Pt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let n of t)i===e.length?e.push(s=new o(this.O(Z()),this.O(Z()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},H=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(t,e=this,s,i){let n=this.strings,r=!1;if(n===void 0)t=I(this,t,e,0),r=!Y(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{let a=t,l,u;for(t=n[0],l=0;l<n.length-1;l++)u=I(this,a[s+l],e,l),u===S&&(u=this._$AH[l]),r||(r=!Y(u)||u!==this._$AH[l]),u===f?t=f:t!==f&&(t+=(u!=null?u:"")+n[l+1]),this._$AH[l]=u}r&&!i&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},zt=class extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},wt=class extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},Nt=class extends H{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){var r;if((t=(r=I(this,t,e,0))!=null?r:f)===S)return;let s=this._$AH,i=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==f&&(s===f||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},Rt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}};var $t=B.litHtmlPolyfillSupport,se;$t==null||$t(K,J),((se=B.litHtmlVersions)!=null?se:B.litHtmlVersions=[]).push("3.2.0");var ae=(o,t,e)=>{var n,r;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,i=s._$litPart$;if(i===void 0){let a=(r=e==null?void 0:e.renderBefore)!=null?r:null;s._$litPart$=i=new J(t.insertBefore(Z(),a),a,void 0,e!=null?e:{})}return i._$AI(o),i};var w=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=ae(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return S}},le;w._$litElement$=!0,w.finalized=!0,(le=globalThis.litElementHydrateSupport)==null||le.call(globalThis,{LitElement:w});var Lt=globalThis.litElementPolyfillSupport;Lt==null||Lt({LitElement:w});var de;((de=globalThis.litElementVersions)!=null?de:globalThis.litElementVersions=[]).push("4.1.0");var he=g`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,re=/^(?:script|style|textarea|title)$/i,Ut=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),p=Ut(1),Ys=Ut(2),Ks=Ut(3),S=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),ee=new WeakMap,U=L.createTreeWalker(L,129);function ne(o,t){if(!Pt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yt!==void 0?Yt.createHTML(t):t}var Ke=(o,t)=>{let e=o.length-1,s=[],i,n=t===2?"<svg>":t===3?"<math>":"",r=X;for(let a=0;a<e;a++){let l=o[a],u,c,m=-1,E=0;for(;E<l.length&&(r.lastIndex=E,c=r.exec(l),c!==null);)E=r.lastIndex,r===X?c[1]==="!--"?r=Kt:c[1]!==void 0?r=Jt:c[2]!==void 0?(re.test(c[2])&&(i=RegExp("</"+c[2],"g")),r=P):c[3]!==void 0&&(r=P):r===P?c[0]===">"?(r=i!=null?i:X,m=-1):c[1]===void 0?m=-2:(m=r.lastIndex-c[2].length,u=c[1],r=c[3]===void 0?P:c[3]==='"'?te:Qt):r===te||r===Qt?r=P:r===Kt||r===Jt?r=X:(r=P,i=void 0);let $=r===P&&o[a+1].startsWith("/>")?" ":"";n+=r===X?l+Ze:m>=0?(s.push(u),l.slice(0,m)+ie+l.slice(m)+w+$):l+w+(m===-2?a:$)}return[ne(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},K=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0,a=t.length-1,l=this.parts,[u,c]=Ke(t,e);if(this.el=o.createElement(u,s),U.currentNode=this.el.content,e===2||e===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=U.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ie)){let E=c[r++],$=i.getAttribute(m).split(w),et=/([.?@])?(.*)/.exec(E);l.push({type:1,index:n,name:et[2],strings:$,ctor:et[1]==="."?wt:et[1]==="?"?zt:et[1]==="@"?Nt:H}),i.removeAttribute(m)}else m.startsWith(w)&&(l.push({type:6,index:n}),i.removeAttribute(m));if(re.test(i.tagName)){let m=i.textContent.split(w),E=m.length-1;if(E>0){i.textContent=lt?lt.emptyScript:"";for(let $=0;$<E;$++)i.append(m[$],Z()),U.nextNode(),l.push({type:2,index:++n});i.append(m[E],Z())}}}else if(i.nodeType===8)if(i.data===oe)l.push({type:2,index:n});else{let m=-1;for(;(m=i.data.indexOf(w,m+1))!==-1;)l.push({type:7,index:n}),m+=w.length-1}n++}}static createElement(t,e){let s=L.createElement("template");return s.innerHTML=t,s}};function I(o,t,e=o,s){var r,a,l;if(t===S)return t;let i=s!==void 0?(r=e.o)==null?void 0:r[s]:e.l,n=Y(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?((l=e.o)!=null?l:e.o=[])[s]=i:e.l=i),i!==void 0&&(t=I(o,i._$AS(o,t.values),i,s)),t}var Ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var u;let{el:{content:e},parts:s}=this._$AD,i=((u=t==null?void 0:t.creationScope)!=null?u:L).importNode(e,!0);U.currentNode=i;let n=U.nextNode(),r=0,a=0,l=s[0];for(;l!==void 0;){if(r===l.index){let c;l.type===2?c=new J(n,n.nextSibling,this,t):l.type===1?c=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(c=new Rt(n,this,t)),this._$AV.push(c),l=s[++a]}r!==(l==null?void 0:l.index)&&(n=U.nextNode(),r++)}return U.currentNode=L,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},J=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,s,i){var n;this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this.v=(n=i==null?void 0:i.isConnected)!=null?n:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),Y(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==S&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ye(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=K.createElement(ne(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{let r=new Ct(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=ee.get(t.strings);return e===void 0&&ee.set(t.strings,e=new K(t)),e}k(t){Pt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let n of t)i===e.length?e.push(s=new o(this.O(Z()),this.O(Z()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},H=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=g}_$AI(t,e=this,s,i){let n=this.strings,r=!1;if(n===void 0)t=I(this,t,e,0),r=!Y(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{let a=t,l,u;for(t=n[0],l=0;l<n.length-1;l++)u=I(this,a[s+l],e,l),u===S&&(u=this._$AH[l]),r||(r=!Y(u)||u!==this._$AH[l]),u===g?t=g:t!==g&&(t+=(u!=null?u:"")+n[l+1]),this._$AH[l]=u}r&&!i&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},wt=class extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}},zt=class extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}},Nt=class extends H{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){var r;if((t=(r=I(this,t,e,0))!=null?r:g)===S)return;let s=this._$AH,i=t===g&&s!==g||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==g&&(s===g||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},Rt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}};var $t=B.litHtmlPolyfillSupport,se;$t==null||$t(K,J),((se=B.litHtmlVersions)!=null?se:B.litHtmlVersions=[]).push("3.2.0");var ae=(o,t,e)=>{var n,r;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,i=s._$litPart$;if(i===void 0){let a=(r=e==null?void 0:e.renderBefore)!=null?r:null;s._$litPart$=i=new J(t.insertBefore(Z(),a),a,void 0,e!=null?e:{})}return i._$AI(o),i};var z=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=ae(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return S}},le;z._$litElement$=!0,z.finalized=!0,(le=globalThis.litElementHydrateSupport)==null||le.call(globalThis,{LitElement:z});var Lt=globalThis.litElementPolyfillSupport;Lt==null||Lt({LitElement:z});var de;((de=globalThis.litElementVersions)!=null?de:globalThis.litElementVersions=[]).push("4.1.0");var he=f`
4
4
  :host {
5
5
  box-sizing: border-box;
6
6
  }
@@ -10,11 +10,11 @@
10
10
  :host *::after {
11
11
  box-sizing: inherit;
12
12
  }
13
- `;var dt=class extends w{static register(t){customElements.get(t)||customElements.define(t,this)}};dt.styles=[he];var pe=dt;var x=pe;var N=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s!=null?s:!1}};var k=class{constructor(t,e,s,i){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,a)=>{this.unsubscribe&&(this.unsubscribe!==a&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,a)),this.unsubscribe=a},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=(n=r.subscribe)!=null?n:!1}else this.context=e,this.callback=s,this.subscribe=i!=null?i:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new N(this.context,this.t,this.subscribe))}};var ht=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:i}=this.subscriptions.get(t);t(this.value,i)}clearCallbacks(){this.subscriptions.clear()}};var Mt=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},D=class extends ht{constructor(t,e,s){var i,n;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=r=>{let a=r.composedPath()[0];r.context===this.context&&a!==this.host&&(r.stopPropagation(),this.addCallback(r.callback,a,r.subscribe))},this.onProviderRequest=r=>{let a=r.composedPath()[0];if(r.context!==this.context||a===this.host)return;let l=new Set;for(let[u,{consumerHost:c}]of this.subscriptions)l.has(u)||(l.add(u),c.dispatchEvent(new N(this.context,u,!0)));r.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(i=this.host).addController)==null||n.call(i,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Mt(this.context))}};var Je=g`
13
+ `;var dt=class extends z{static register(t){customElements.get(t)||customElements.define(t,this)}};dt.styles=[he];var pe=dt;var x=pe;var N=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s!=null?s:!1}};var k=class{constructor(t,e,s,i){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,a)=>{this.unsubscribe&&(this.unsubscribe!==a&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,a)),this.unsubscribe=a},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=(n=r.subscribe)!=null?n:!1}else this.context=e,this.callback=s,this.subscribe=i!=null?i:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new N(this.context,this.t,this.subscribe))}};var ht=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:i}=this.subscriptions.get(t);t(this.value,i)}clearCallbacks(){this.subscriptions.clear()}};var Mt=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},D=class extends ht{constructor(t,e,s){var i,n;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=r=>{let a=r.composedPath()[0];r.context===this.context&&a!==this.host&&(r.stopPropagation(),this.addCallback(r.callback,a,r.subscribe))},this.onProviderRequest=r=>{let a=r.composedPath()[0];if(r.context!==this.context||a===this.host)return;let l=new Set;for(let[u,{consumerHost:c}]of this.subscriptions)l.has(u)||(l.add(u),c.dispatchEvent(new N(this.context,u,!0)));r.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(i=this.host).addController)==null||n.call(i,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Mt(this.context))}};var Je=f`
14
14
  :host {
15
15
  display: contents;
16
16
  }
17
- `,ce=Je;var pt=class extends x{constructor({context:t,initialValue:e}){super(),this.context=new D(this,{context:t,initialValue:e})}render(){return this.updateContext(),p`<slot></slot>`}};pt.styles=[...x.styles,ce];var ue=pt;var q=ue;var mt=class{constructor(t){this.themeclass=t}};mt.context=at;var ct=mt;var Qe=g`
17
+ `,ce=Je;var pt=class extends x{constructor({context:t,initialValue:e}){super(),this.context=new D(this,{context:t,initialValue:e})}render(){return this.updateContext(),p`<slot></slot>`}};pt.styles=[...x.styles,ce];var ue=pt;var q=ue;var mt=class{constructor(t){this.themeclass=t}};mt.context=at;var ct=mt;var Qe=f`
18
18
  :host {
19
19
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
20
20
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -27,7 +27,7 @@
27
27
  font-weight: var(--mdc-themeprovider-font-weight);
28
28
  letter-spacing: var(--mdc-themeprovider-letter-spacing-adjustment);
29
29
  }
30
- `,fe=[Qe];var F=class extends q{constructor(){super({context:ct.context,initialValue:new ct(_t.THEMECLASS)});this.themeclass=_t.THEMECLASS}static get Context(){return ct.context}updated(e){super.updated(e),e.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};F.styles=[...q.styles,...fe],d([O()],F.prototype,"currentThemeClass",2),d([h({type:String})],F.prototype,"themeclass",2);var Ot=F;Ot.register(at);var ts=Ot;var ut=g`
30
+ `,fe=[Qe];var F=class extends q{constructor(){super({context:ct.context,initialValue:new ct(_t.THEMECLASS)});this.themeclass=_t.THEMECLASS}static get Context(){return ct.context}updated(e){super.updated(e),e.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};F.styles=[...q.styles,...fe],d([O()],F.prototype,"currentThemeClass",2),d([h({type:String})],F.prototype,"themeclass",2);var Ot=F;Ot.register(at);var ts=Ot;var ut=f`
31
31
  :host {
32
32
  align-items: center;
33
33
  display: flex;
@@ -35,7 +35,28 @@
35
35
  justify-content: center;
36
36
  width: fit-content;
37
37
  }
38
- `;var es=[ut,g`
38
+ `,yo=f`
39
+ :host {
40
+ --mdc-focus-ring-inner-color: var(--mds-color-theme-focus-0);
41
+ --mdc-focus-ring-middle-color: var(--mds-color-theme-focus-1);
42
+ --mdc-focus-ring-outer-color: var(--mds-color-theme-focus-2;
43
+
44
+ --mdc-focus-ring-inner-width: 0.125rem;
45
+ --mdc-focus-ring-middle-width: calc(2 * var(--mdc-focus-ring-inner-width));
46
+ --mdc-focus-ring-outer-width: calc(0.0625rem + var(--mdc-focus-ring-middle-width));
47
+
48
+ --mdc-focus-ring-middle-offset: var(--mdc-focus-ring-inner-width);
49
+ --mdc-focus-ring-outer-offset: calc(var(--mdc-focus-ring-inner-width) + var(--mdc-focus-ring-middle-width));
50
+ }
51
+
52
+ :host(:focus) {
53
+ position: relative;
54
+ box-shadow:
55
+ 0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
56
+ 0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
57
+ 0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color);
58
+ }
59
+ `;var es=[ut,f`
39
60
  :host {
40
61
  --mdc-icon-fill-color: currentColor;
41
62
  }
@@ -44,7 +65,7 @@
44
65
  width: 100%;
45
66
  fill: var(--mdc-icon-fill-color);
46
67
  }
47
- `],ge=es;var ss=o=>{let{host:t,context:e,subscribe:s}=o;return new k(t,{context:e,subscribe:s!=null?s:!0})},is={consume:ss},xe=is;var ft=y.constructTagName("iconprovider"),ve=["svg"],ye=["em","rem","px"],_={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",LENGTH_UNIT_SIZE:{px:16,em:1,rem:1}};var gt=class{};gt.context=ft;var xt=gt;var M=class extends q{constructor(){super({context:xt.context,initialValue:new xt});this.fileExtension=_.FILE_EXTENSION;this.lengthUnit=_.LENGTH_UNIT;this.size=_.LENGTH_UNIT_SIZE[_.LENGTH_UNIT]}static get Context(){return xt.context}updateValuesInContext(){this.fileExtension&&ve.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=_.FILE_EXTENSION,this.context.value.fileExtension=_.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.lengthUnit&&ye.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=_.LENGTH_UNIT,this.context.value.lengthUnit=_.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size)&&(this.updateValuesInContext(),this.context.updateObservers())}};d([h({type:String})],M.prototype,"url",2),d([h({type:String,attribute:"file-extension",reflect:!0})],M.prototype,"fileExtension",2),d([h({type:String,attribute:"length-unit",reflect:!0})],M.prototype,"lengthUnit",2),d([h({type:Number,reflect:!0})],M.prototype,"size",2);var Q=M;var be=async(o,t,e)=>{let s=await fetch(`${o}/${t}.${e}`);if(!s.ok)throw new Error("There was a problem while fetching the icon!");let i=await s.text();return new DOMParser().parseFromString(i,"text/html").body.children[0]};var Ee=y.constructTagName("icon"),It={NAME:void 0,SIZE:1};var b=class extends x{constructor(){super(...arguments);this.name=It.NAME;this.ariaLabel=null;this.iconProviderContext=xe.consume({host:this,context:Q.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:s}=this.iconProviderContext.value;if(s&&e&&this.name){let i=await be(s,this.name,e);this.iconData=i,this.setRoleOnIcon(),this.setAriaLabelOnIcon(),this.setAriaHiddenOnIcon()}}}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.width=s,this.style.height=s}}setRoleOnIcon(){this.role=this.ariaLabel?"img":null}setAriaHiddenOnIcon(){var e;(e=this.iconData)==null||e.setAttribute("aria-hidden","true")}setAriaLabelOnIcon(){var e,s;this.ariaLabel?(e=this.iconData)==null||e.setAttribute("aria-label",this.ariaLabel):(s=this.iconData)==null||s.removeAttribute("aria-label")}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:It.SIZE}updated(e){var s,i,n,r;super.updated(e),e.has("name")&&this.getIconData().catch(a=>{console.error(a)}),e.has("ariaLabel")&&(this.setRoleOnIcon(),this.setAriaLabelOnIcon()),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(i=this.iconProviderContext.value)==null?void 0:i.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(r=this.iconProviderContext.value)==null?void 0:r.size,this.updateSize())}render(){return p` ${this.iconData} `}};b.styles=[...x.styles,...ge],d([O()],b.prototype,"iconData",2),d([O()],b.prototype,"lengthUnitFromContext",2),d([O()],b.prototype,"sizeFromContext",2),d([h({type:String,reflect:!0})],b.prototype,"name",2),d([h({type:Number})],b.prototype,"size",2),d([h({type:String,attribute:"length-unit"})],b.prototype,"lengthUnit",2),d([h({type:String,attribute:"aria-label"})],b.prototype,"ariaLabel",2);var Ht=b;Ht.register(Ee);var os=Ht;Q.register(ft);var rs=Q;var tt=o=>o!=null?o:f;var ns=g`
68
+ `],ge=es;var ss=o=>{let{host:t,context:e,subscribe:s}=o;return new k(t,{context:e,subscribe:s!=null?s:!0})},is={consume:ss},xe=is;var ft=y.constructTagName("iconprovider"),ve=["svg"],ye=["em","rem","px"],_={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",LENGTH_UNIT_SIZE:{px:16,em:1,rem:1}};var gt=class{};gt.context=ft;var xt=gt;var M=class extends q{constructor(){super({context:xt.context,initialValue:new xt});this.fileExtension=_.FILE_EXTENSION;this.lengthUnit=_.LENGTH_UNIT;this.size=_.LENGTH_UNIT_SIZE[_.LENGTH_UNIT]}static get Context(){return xt.context}updateValuesInContext(){this.fileExtension&&ve.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=_.FILE_EXTENSION,this.context.value.fileExtension=_.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.lengthUnit&&ye.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=_.LENGTH_UNIT,this.context.value.lengthUnit=_.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size)&&(this.updateValuesInContext(),this.context.updateObservers())}};d([h({type:String})],M.prototype,"url",2),d([h({type:String,attribute:"file-extension",reflect:!0})],M.prototype,"fileExtension",2),d([h({type:String,attribute:"length-unit",reflect:!0})],M.prototype,"lengthUnit",2),d([h({type:Number,reflect:!0})],M.prototype,"size",2);var Q=M;var be=async(o,t,e)=>{let s=await fetch(`${o}/${t}.${e}`);if(!s.ok)throw new Error("There was a problem while fetching the icon!");let i=await s.text();return new DOMParser().parseFromString(i,"text/html").body.children[0]};var Ee=y.constructTagName("icon"),It={NAME:void 0,SIZE:1};var b=class extends x{constructor(){super(...arguments);this.name=It.NAME;this.ariaLabel=null;this.iconProviderContext=xe.consume({host:this,context:Q.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:s}=this.iconProviderContext.value;if(s&&e&&this.name){let i=await be(s,this.name,e);this.iconData=i,this.setRoleOnIcon(),this.setAriaLabelOnIcon(),this.setAriaHiddenOnIcon()}}}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.width=s,this.style.height=s}}setRoleOnIcon(){this.role=this.ariaLabel?"img":null}setAriaHiddenOnIcon(){var e;(e=this.iconData)==null||e.setAttribute("aria-hidden","true")}setAriaLabelOnIcon(){var e,s;this.ariaLabel?(e=this.iconData)==null||e.setAttribute("aria-label",this.ariaLabel):(s=this.iconData)==null||s.removeAttribute("aria-label")}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:It.SIZE}updated(e){var s,i,n,r;super.updated(e),e.has("name")&&this.getIconData().catch(a=>{console.error(a)}),e.has("ariaLabel")&&(this.setRoleOnIcon(),this.setAriaLabelOnIcon()),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(i=this.iconProviderContext.value)==null?void 0:i.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(r=this.iconProviderContext.value)==null?void 0:r.size,this.updateSize())}render(){return p` ${this.iconData} `}};b.styles=[...x.styles,...ge],d([O()],b.prototype,"iconData",2),d([O()],b.prototype,"lengthUnitFromContext",2),d([O()],b.prototype,"sizeFromContext",2),d([h({type:String,reflect:!0})],b.prototype,"name",2),d([h({type:Number})],b.prototype,"size",2),d([h({type:String,attribute:"length-unit"})],b.prototype,"lengthUnit",2),d([h({type:String,attribute:"aria-label"})],b.prototype,"ariaLabel",2);var Ht=b;Ht.register(Ee);var os=Ht;Q.register(ft);var rs=Q;var tt=o=>o!=null?o:g;var ns=f`
48
69
  :host {
49
70
  display: flex;
50
71
  justify-content: center;
@@ -64,7 +85,7 @@
64
85
  src="${tt(this.src)}"
65
86
  alt="${tt(this.alt)}"
66
87
  />
67
- `}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=p``,p`${e}`}};R.styles=[...x.styles,...Ae],d([h({type:String,reflect:!0})],R.prototype,"type",2),d([h({type:String})],R.prototype,"alt",2),d([h({type:String})],R.prototype,"src",2),d([h({type:Number})],R.prototype,"size",2);var Dt=R;Dt.register(Se);var as=Dt;var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$e=o=>(...t)=>({_$litDirective$:o,values:t}),vt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Ce="important",ls=" !"+Ce,ze=$e(class extends vt{constructor(o){var t;if(super(o),o.type!==Te.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let i=t[s];if(i!=null){this.ft.add(s);let n=typeof i=="string"&&i.endsWith(ls);s.includes("-")||n?e.setProperty(s,n?i.slice(0,-11):i,n?Ce:""):e[s]=i}}return S}});var we=y.constructTagName("badge"),Ne="warning-badge-filled",yt={TYPE:"regular",SIZE:1,LENGTH_UNIT:"rem"};var ds=[ut,g`
88
+ `}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=p``,p`${e}`}};R.styles=[...x.styles,...Ae],d([h({type:String,reflect:!0})],R.prototype,"type",2),d([h({type:String})],R.prototype,"alt",2),d([h({type:String})],R.prototype,"src",2),d([h({type:Number})],R.prototype,"size",2);var Dt=R;Dt.register(Se);var as=Dt;var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$e=o=>(...t)=>({_$litDirective$:o,values:t}),vt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Ce="important",ls=" !"+Ce,we=$e(class extends vt{constructor(o){var t;if(super(o),o.type!==Te.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let i=t[s];if(i!=null){this.ft.add(s);let n=typeof i=="string"&&i.endsWith(ls);s.includes("-")||n?e.setProperty(s,n?i.slice(0,-11):i,n?Ce:""):e[s]=i}}return S}});var ze=y.constructTagName("badge"),Ne="warning-badge-filled",yt={TYPE:"regular",SIZE:1,LENGTH_UNIT:"rem"};var ds=[ut,f`
68
89
  :host {
69
90
  --mdc-badge-icon-background-color: var(--mds-color-theme-background-accent-normal);
70
91
  --mdc-badge-icon-color: var(--mds-color-theme-common-text-primary-normal);
@@ -85,7 +106,7 @@
85
106
  }
86
107
  `],Re=ds;var T=class extends x{constructor(){super(...arguments);this.type=yt.TYPE;this.size=yt.SIZE;this.lengthUnit=yt.LENGTH_UNIT}updateSize(){}updated(e){super.updated(e),(e.has("size")||e.has("lengthUnit"))&&this.updateSize()}iconTemplate(){return p`<div class="mdc-badge-icon-container">
87
108
  <mdc-icon name=${tt(this.iconName)} size="100" length-unit="%"></mdc-icon>
88
- </div>`}textTemplate(){return p`${this.text}`}warningTemplate(){return p` <mdc-icon name="${Ne}" class="mdc-badge-warning"></mdc-icon> `}render(){let e,s=`${this.size}${this.lengthUnit}`,i={width:s,height:s};switch(this.type){case"regular":e=p``;break;case"icon":e=this.iconTemplate();break;case"text":e=this.textTemplate(),i={height:i.height};break;case"warning":e=this.warningTemplate();break;default:e=p``;break}return p`<div class="mdc-badge-container" style=${ze(i)}>${e}</div>`}};T.styles=[...x.styles,...Re],d([h({type:String,reflect:!0})],T.prototype,"type",2),d([h({type:Number})],T.prototype,"size",2),d([h({type:String,attribute:"length-unit"})],T.prototype,"lengthUnit",2),d([h({type:String,attribute:"icon-name"})],T.prototype,"iconName",2),d([h({type:String})],T.prototype,"text",2);var qt=T;qt.register(we);var hs=qt;var Pe=g`
109
+ </div>`}textTemplate(){return p`${this.text}`}warningTemplate(){return p` <mdc-icon name="${Ne}" class="mdc-badge-warning"></mdc-icon> `}render(){let e,s=`${this.size}${this.lengthUnit}`,i={width:s,height:s};switch(this.type){case"regular":e=p``;break;case"icon":e=this.iconTemplate();break;case"text":e=this.textTemplate(),i={height:i.height};break;case"warning":e=this.warningTemplate();break;default:e=p``;break}return p`<div class="mdc-badge-container" style=${we(i)}>${e}</div>`}};T.styles=[...x.styles,...Re],d([h({type:String,reflect:!0})],T.prototype,"type",2),d([h({type:Number})],T.prototype,"size",2),d([h({type:String,attribute:"length-unit"})],T.prototype,"lengthUnit",2),d([h({type:String,attribute:"icon-name"})],T.prototype,"iconName",2),d([h({type:String})],T.prototype,"text",2);var qt=T;qt.register(ze);var hs=qt;var Pe=f`
89
110
  :host([type="headline-small-regular"])::part(text) {
90
111
  font-size: var(--mds-font-apps-headline-small-regular-font-size);
91
112
  font-weight: var(--mds-font-apps-headline-small-regular-font-weight);
@@ -317,7 +338,7 @@
317
338
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
318
339
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
319
340
  }
320
- `;var ps=[g`
341
+ `;var ps=[f`
321
342
  :host {
322
343
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
323
344