@momentum-design/components 0.22.7 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var jo=Object.defineProperty;var Wo=Object.getOwnPropertyDescriptor;var s=(o,t,e,r)=>{for(var i=r>1?void 0:r?Wo(t,e):t,n=o.length-1,a;n>=0;n--)(a=o[n])&&(i=(r?a(t,e,i):a(i))||i);return r&&i&&jo(t,e,i),i};var et=globalThis,tt=et.ShadowRoot&&(et.ShadyCSS===void 0||et.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),yr=new WeakMap,we=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==St)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(tt&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=yr.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&yr.set(e,t))}return t}toString(){return this.cssText}},xr=o=>new we(typeof o=="string"?o:o+"",void 0,St),p=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((r,i,n)=>r+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1],o[0]);return new we(e,o,St)},It=(o,t)=>{if(tt)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),i=et.litNonce;i!==void 0&&r.setAttribute("nonce",i),r.textContent=e.cssText,o.appendChild(r)}},rt=tt?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return xr(e)})(o):o;var{is:Ko,defineProperty:Qo,getOwnPropertyDescriptor:Jo,getOwnPropertyNames:ei,getOwnPropertySymbols:ti,getPrototypeOf:ri}=Object,q=globalThis,Er=q.trustedTypes,oi=Er?Er.emptyScript:"",Nt=q.reactiveElementPolyfillSupport,Me=(o,t)=>o,$e={toAttribute(o,t){switch(t){case Boolean:o=o?oi: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}},ot=(o,t)=>!Ko(o,t),Tr={attribute:!0,type:String,converter:$e,reflect:!1,hasChanged:ot},_r,Ar;(_r=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Ar=q.litPropertyMetadata)!=null||(q.litPropertyMetadata=new WeakMap);var G=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=Tr){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),i=this.getPropertyDescriptor(t,r,e);i!==void 0&&Qo(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){var a;let{get:i,set:n}=(a=Jo(this.prototype,t))!=null?a:{get(){return this[e]},set(c){this[e]=c}};return{get(){return i==null?void 0:i.call(this)},set(c){let m=i==null?void 0:i.call(this);n.call(this,c),this.requestUpdate(t,m,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Tr}static _$Ei(){if(this.hasOwnProperty(Me("elementProperties")))return;let t=ri(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Me("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Me("properties"))){let e=this.properties,r=[...ei(e),...ti(e)];for(let i of r)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,i]of e)this.elementProperties.set(r,i)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let i=this._$Eu(e,r);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let i of r)e.unshift(rt(i))}else t!==void 0&&e.push(rt(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r: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,r;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return It(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(r=>{var i;return(i=r.hostConnected)==null?void 0:i.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var r;return(r=e.hostDisconnected)==null?void 0:r.call(e)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){var n;let r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(i!==void 0&&r.reflect===!0){let a=(((n=r.converter)==null?void 0:n.toAttribute)!==void 0?r.converter:$e).toAttribute(e,r.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,e){var n;let r=this.constructor,i=r._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=r.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:$e;this._$Em=i,this[i]=c.fromAttribute(e,a.type),this._$Em=null}}requestUpdate(t,e,r){var i;if(t!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(t)),!((i=r.hasChanged)!=null?i:ot)(this[t],e))return;this.P(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,r){var i;this._$AL.has(t)||this._$AL.set(t,e),r.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 r,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[a,c]of this._$Ep)this[a]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,c]of n)c.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.P(a,this[a],c)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(n=>{var a;return(a=n.hostUpdate)==null?void 0:a.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(r=>{var i;return(i=r.hostUpdated)==null?void 0:i.call(r)}),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){}},Sr;G.elementStyles=[],G.shadowRootOptions={mode:"open"},G[Me("elementProperties")]=new Map,G[Me("finalized")]=new Map,Nt==null||Nt({ReactiveElement:G}),((Sr=q.reactiveElementVersions)!=null?Sr:q.reactiveElementVersions=[]).push("2.0.4");var ii={attribute:!0,type:String,converter:$e,reflect:!1,hasChanged:ot},ai=(o=ii,t,e)=>{let{kind:r,metadata:i}=e,n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,o),r==="accessor"){let{name:a}=e;return{set(c){let m=t.get.call(this);t.set.call(this,c),this.requestUpdate(a,m,o)},init(c){return c!==void 0&&this.P(a,void 0,o),c}}}if(r==="setter"){let{name:a}=e;return function(c){let m=this[a];t.call(this,c),this.requestUpdate(a,m,o)}}throw Error("Unsupported decorator location: "+r)};function d(o){return(t,e)=>typeof e=="object"?ai(o,t,e):((r,i,n)=>{let a=i.hasOwnProperty(n);return i.constructor.createProperty(n,a?{...r,wrapped:!0}:r),a?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}function z(o){return d({...o,state:!0,attribute:!1})}var de=(o,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(o,t,e),e);function Ir(o,t){return(e,r,i)=>{let n=a=>{var c,m;return(m=(c=a.renderRoot)==null?void 0:c.querySelector(o))!=null?m:null};if(t){let{get:a,set:c}=typeof r=="object"?e:i!=null?i:(()=>{let m=Symbol();return{get(){return this[m]},set(f){this[m]=f}}})();return de(e,r,{get(){let m=a.call(this);return m===void 0&&(m=n(this),(m!==null||this.hasUpdated)&&c.call(this,m)),m}})}return de(e,r,{get(){return n(this)}})}}var ni={PREFIX:"mdc",SEPARATOR:"-"},si={NAMESPACE:ni},kt=si;var di=o=>[kt.NAMESPACE.PREFIX,o].join(kt.NAMESPACE.SEPARATOR),u={constructTagName:di};var it=u.constructTagName("themeprovider"),Ct={THEMECLASS:"mds-theme-stable-darkWebex"};var De=globalThis,at=De.trustedTypes,Nr=at?at.createPolicy("lit-html",{createHTML:o=>o}):void 0,Mr="$lit$",j=`lit$${Math.random().toFixed(9).slice(2)}$`,$r="?"+j,ci=`<${$r}>`,me=document,Ue=()=>me.createComment(""),Pe=o=>o===null||typeof o!="object"&&typeof o!="function",Dt=Array.isArray,li=o=>Dt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",zt=`[
2
- \f\r]`,Oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,kr=/-->/g,Cr=/>/g,ce=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),zr=/'/g,Lr=/"/g,Or=/^(?:script|style|textarea|title)$/i,Ut=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=Ut(1),Fa=Ut(2),Xa=Ut(3),H=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),Rr=new WeakMap,le=me.createTreeWalker(me,129);function Dr(o,t){if(!Dt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Nr!==void 0?Nr.createHTML(t):t}var mi=(o,t)=>{let e=o.length-1,r=[],i,n=t===2?"<svg>":t===3?"<math>":"",a=Oe;for(let c=0;c<e;c++){let m=o[c],f,E,y=-1,V=0;for(;V<m.length&&(a.lastIndex=V,E=a.exec(m),E!==null);)V=a.lastIndex,a===Oe?E[1]==="!--"?a=kr:E[1]!==void 0?a=Cr:E[2]!==void 0?(Or.test(E[2])&&(i=RegExp("</"+E[2],"g")),a=ce):E[3]!==void 0&&(a=ce):a===ce?E[0]===">"?(a=i!=null?i:Oe,y=-1):E[1]===void 0?y=-2:(y=a.lastIndex-E[2].length,f=E[1],a=E[3]===void 0?ce:E[3]==='"'?Lr:zr):a===Lr||a===zr?a=ce:a===kr||a===Cr?a=Oe:(a=ce,i=void 0);let Z=a===ce&&o[c+1].startsWith("/>")?" ":"";n+=a===Oe?m+ci:y>=0?(r.push(f),m.slice(0,y)+Mr+m.slice(y)+j+Z):m+j+(y===-2?c:Z)}return[Dr(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},Ve=class o{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,a=0,c=t.length-1,m=this.parts,[f,E]=mi(t,e);if(this.el=o.createElement(f,r),le.currentNode=this.el.content,e===2||e===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=le.nextNode())!==null&&m.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Mr)){let V=E[a++],Z=i.getAttribute(y).split(j),Je=/([.?@])?(.*)/.exec(V);m.push({type:1,index:n,name:Je[2],strings:Z,ctor:Je[1]==="."?wt:Je[1]==="?"?Mt:Je[1]==="@"?$t:ye}),i.removeAttribute(y)}else y.startsWith(j)&&(m.push({type:6,index:n}),i.removeAttribute(y));if(Or.test(i.tagName)){let y=i.textContent.split(j),V=y.length-1;if(V>0){i.textContent=at?at.emptyScript:"";for(let Z=0;Z<V;Z++)i.append(y[Z],Ue()),le.nextNode(),m.push({type:2,index:++n});i.append(y[V],Ue())}}}else if(i.nodeType===8)if(i.data===$r)m.push({type:2,index:n});else{let y=-1;for(;(y=i.data.indexOf(j,y+1))!==-1;)m.push({type:7,index:n}),y+=j.length-1}n++}}static createElement(t,e){let r=me.createElement("template");return r.innerHTML=t,r}};function fe(o,t,e=o,r){var a,c,m;if(t===H)return t;let i=r!==void 0?(a=e.o)==null?void 0:a[r]:e.l,n=Pe(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,r)),r!==void 0?((m=e.o)!=null?m:e.o=[])[r]=i:e.l=i),i!==void 0&&(t=fe(o,i._$AS(o,t.values),i,r)),t}var Rt=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 f;let{el:{content:e},parts:r}=this._$AD,i=((f=t==null?void 0:t.creationScope)!=null?f:me).importNode(e,!0);le.currentNode=i;let n=le.nextNode(),a=0,c=0,m=r[0];for(;m!==void 0;){if(a===m.index){let E;m.type===2?E=new Ge(n,n.nextSibling,this,t):m.type===1?E=new m.ctor(n,m.name,m.strings,this,t):m.type===6&&(E=new Ot(n,this,t)),this._$AV.push(E),m=r[++c]}a!==(m==null?void 0:m.index)&&(n=le.nextNode(),a++)}return le.currentNode=me,i}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},Ge=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,r,i){var n;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,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=fe(this,t,e),Pe(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):li(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!==h&&Pe(this._$AH)?this._$AA.nextSibling.data=t:this.T(me.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:r}=t,i=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=Ve.createElement(Dr(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{let a=new Rt(i,this),c=a.u(this.options);a.p(e),this.T(c),this._$AH=a}}_$AC(t){let e=Rr.get(t.strings);return e===void 0&&Rr.set(t.strings,e=new Ve(t)),e}k(t){Dt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,i=0;for(let n of t)i===e.length?e.push(r=new o(this.O(Ue()),this.O(Ue()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var r;for((r=this._$AP)==null?void 0:r.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))}},ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,i,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=h}_$AI(t,e=this,r,i){let n=this.strings,a=!1;if(n===void 0)t=fe(this,t,e,0),a=!Pe(t)||t!==this._$AH&&t!==H,a&&(this._$AH=t);else{let c=t,m,f;for(t=n[0],m=0;m<n.length-1;m++)f=fe(this,c[r+m],e,m),f===H&&(f=this._$AH[m]),a||(a=!Pe(f)||f!==this._$AH[m]),f===h?t=h:t!==h&&(t+=(f!=null?f:"")+n[m+1]),this._$AH[m]=f}a&&!i&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},wt=class extends ye{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}},Mt=class extends ye{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}},$t=class extends ye{constructor(t,e,r,i,n){super(t,e,r,i,n),this.type=5}_$AI(t,e=this){var a;if((t=(a=fe(this,t,e,0))!=null?a:h)===H)return;let r=this._$AH,i=t===h&&r!==h||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==h&&(r===h||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;typeof this._$AH=="function"?this._$AH.call((r=(e=this.options)==null?void 0:e.host)!=null?r:this.element,t):this._$AH.handleEvent(t)}},Ot=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){fe(this,t)}};var Lt=De.litHtmlPolyfillSupport,wr;Lt==null||Lt(Ve,Ge),((wr=De.litHtmlVersions)!=null?wr:De.litHtmlVersions=[]).push("3.2.0");var Ur=(o,t,e)=>{var n,a;let r=(n=e==null?void 0:e.renderBefore)!=null?n:t,i=r._$litPart$;if(i===void 0){let c=(a=e==null?void 0:e.renderBefore)!=null?a:null;r._$litPart$=i=new Ge(t.insertBefore(Ue(),c),c,void 0,e!=null?e:{})}return i._$AI(o),i};var M=class extends G{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,r;let t=super.createRenderRoot();return(r=(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=Ur(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 H}},Pr;M._$litElement$=!0,M.finalized=!0,(Pr=globalThis.litElementHydrateSupport)==null||Pr.call(globalThis,{LitElement:M});var Pt=globalThis.litElementPolyfillSupport;Pt==null||Pt({LitElement:M});var Vr;((Vr=globalThis.litElementVersions)!=null?Vr:globalThis.litElementVersions=[]).push("4.1.0");var Gr=p`
1
+ "use strict";(()=>{var Ci=Object.defineProperty;var zi=Object.getOwnPropertyDescriptor;var a=(i,t,e,r)=>{for(var o=r>1?void 0:r?zi(t,e):t,n=i.length-1,s;n>=0;n--)(s=i[n])&&(o=(r?s(t,e,o):s(o))||o);return r&&o&&Ci(t,e,o),o};var lt=globalThis,dt=lt.ShadowRoot&&(lt.ShadyCSS===void 0||lt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ft=Symbol(),Ur=new WeakMap,Ve=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==Ft)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(dt&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=Ur.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&Ur.set(e,t))}return t}toString(){return this.cssText}},Vr=i=>new Ve(typeof i=="string"?i:i+"",void 0,Ft),h=(i,...t)=>{let e=i.length===1?i[0]:t.reduce((r,o,n)=>r+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+i[n+1],i[0]);return new Ve(e,i,Ft)},Yt=(i,t)=>{if(dt)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),o=lt.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=e.cssText,i.appendChild(r)}},ct=dt?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return Vr(e)})(i):i;var{is:Ri,defineProperty:wi,getOwnPropertyDescriptor:Li,getOwnPropertyNames:Mi,getOwnPropertySymbols:Oi,getPrototypeOf:$i}=Object,q=globalThis,Hr=q.trustedTypes,Di=Hr?Hr.emptyScript:"",Xt=q.reactiveElementPolyfillSupport,He=(i,t)=>i,Ge={toAttribute(i,t){switch(t){case Boolean:i=i?Di:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},mt=(i,t)=>!Ri(i,t),Gr={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:mt},Br,Fr;(Br=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Fr=q.litPropertyMetadata)!=null||(q.litPropertyMetadata=new WeakMap);var B=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=Gr){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(t,r,e);o!==void 0&&wi(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){var s;let{get:o,set:n}=(s=Li(this.prototype,t))!=null?s:{get(){return this[e]},set(l){this[e]=l}};return{get(){return o==null?void 0:o.call(this)},set(l){let c=o==null?void 0:o.call(this);n.call(this,l),this.requestUpdate(t,c,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Gr}static _$Ei(){if(this.hasOwnProperty(He("elementProperties")))return;let t=$i(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(He("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(He("properties"))){let e=this.properties,r=[...Mi(e),...Oi(e)];for(let o of r)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,o]of e)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let o=this._$Eu(e,r);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let o of r)e.unshift(ct(o))}else t!==void 0&&e.push(ct(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r: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,r;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Yt(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(r=>{var o;return(o=r.hostConnected)==null?void 0:o.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var r;return(r=e.hostDisconnected)==null?void 0:r.call(e)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){var n;let r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(o!==void 0&&r.reflect===!0){let s=(((n=r.converter)==null?void 0:n.toAttribute)!==void 0?r.converter:Ge).toAttribute(e,r.type);this._$Em=t,s==null?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){var n;let r=this.constructor,o=r._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let s=r.getPropertyOptions(o),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((n=s.converter)==null?void 0:n.fromAttribute)!==void 0?s.converter:Ge;this._$Em=o,this[o]=l.fromAttribute(e,s.type),this._$Em=null}}requestUpdate(t,e,r){var o;if(t!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(t)),!((o=r.hasChanged)!=null?o:mt)(this[t],e))return;this.P(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,r){var o;this._$AL.has(t)||this._$AL.set(t,e),r.reflect===!0&&this._$Em!==t&&((o=this._$Ej)!=null?o: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 r,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[s,l]of this._$Ep)this[s]=l;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[s,l]of n)l.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],l)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(n=>{var s;return(s=n.hostUpdate)==null?void 0:s.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(r=>{var o;return(o=r.hostUpdated)==null?void 0:o.call(r)}),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){}},Yr;B.elementStyles=[],B.shadowRootOptions={mode:"open"},B[He("elementProperties")]=new Map,B[He("finalized")]=new Map,Xt==null||Xt({ReactiveElement:B}),((Yr=q.reactiveElementVersions)!=null?Yr:q.reactiveElementVersions=[]).push("2.0.4");var Pi={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:mt},Ui=(i=Pi,t,e)=>{let{kind:r,metadata:o}=e,n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(e.name,i),r==="accessor"){let{name:s}=e;return{set(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,i)},init(l){return l!==void 0&&this.P(s,void 0,i),l}}}if(r==="setter"){let{name:s}=e;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,i)}}throw Error("Unsupported decorator location: "+r)};function d(i){return(t,e)=>typeof e=="object"?Ui(i,t,e):((r,o,n)=>{let s=o.hasOwnProperty(n);return o.constructor.createProperty(n,s?{...r,wrapped:!0}:r),s?Object.getOwnPropertyDescriptor(o,n):void 0})(i,t,e)}function w(i){return d({...i,state:!0,attribute:!1})}var ce=(i,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(i,t,e),e);function Xr(i,t){return(e,r,o)=>{let n=s=>{var l,c;return(c=(l=s.renderRoot)==null?void 0:l.querySelector(i))!=null?c:null};if(t){let{get:s,set:l}=typeof r=="object"?e:o!=null?o:(()=>{let c=Symbol();return{get(){return this[c]},set(b){this[c]=b}}})();return ce(e,r,{get(){let c=s.call(this);return c===void 0&&(c=n(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return ce(e,r,{get(){return n(this)}})}}var Vi={PREFIX:"mdc",SEPARATOR:"-"},Hi={NAMESPACE:Vi},Zt=Hi;var Gi=i=>[Zt.NAMESPACE.PREFIX,i].join(Zt.NAMESPACE.SEPARATOR),u={constructTagName:Gi};var ht=u.constructTagName("themeprovider"),jt={THEMECLASS:"mds-theme-stable-darkWebex"};var Fe=globalThis,pt=Fe.trustedTypes,Zr=pt?pt.createPolicy("lit-html",{createHTML:i=>i}):void 0,Kt="$lit$",F=`lit$${Math.random().toFixed(9).slice(2)}$`,Qt="?"+F,Bi=`<${Qt}>`,pe=document,Ye=()=>pe.createComment(""),Xe=i=>i===null||typeof i!="object"&&typeof i!="function",Jt=Array.isArray,eo=i=>Jt(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",Wt=`[
2
+ \f\r]`,Be=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jr=/-->/g,Wr=/>/g,me=RegExp(`>|${Wt}(?:([^\\s"'>=/]+)(${Wt}*=${Wt}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),qr=/'/g,Kr=/"/g,to=/^(?:script|style|textarea|title)$/i,er=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),m=er(1),Ln=er(2),Mn=er(3),Y=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Qr=new WeakMap,he=pe.createTreeWalker(pe,129);function ro(i,t){if(!Jt(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zr!==void 0?Zr.createHTML(t):t}var oo=(i,t)=>{let e=i.length-1,r=[],o,n=t===2?"<svg>":t===3?"<math>":"",s=Be;for(let l=0;l<e;l++){let c=i[l],b,f,v=-1,C=0;for(;C<c.length&&(s.lastIndex=C,f=s.exec(c),f!==null);)C=s.lastIndex,s===Be?f[1]==="!--"?s=jr:f[1]!==void 0?s=Wr:f[2]!==void 0?(to.test(f[2])&&(o=RegExp("</"+f[2],"g")),s=me):f[3]!==void 0&&(s=me):s===me?f[0]===">"?(s=o!=null?o:Be,v=-1):f[1]===void 0?v=-2:(v=s.lastIndex-f[2].length,b=f[1],s=f[3]===void 0?me:f[3]==='"'?Kr:qr):s===Kr||s===qr?s=me:s===jr||s===Wr?s=Be:(s=me,o=void 0);let R=s===me&&i[l+1].startsWith("/>")?" ":"";n+=s===Be?c+Bi:v>=0?(r.push(b),c.slice(0,v)+Kt+c.slice(v)+F+R):c+F+(v===-2?l:R)}return[ro(i,n+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},Ze=class i{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let n=0,s=0,l=t.length-1,c=this.parts,[b,f]=oo(t,e);if(this.el=i.createElement(b,r),he.currentNode=this.el.content,e===2||e===3){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(o=he.nextNode())!==null&&c.length<l;){if(o.nodeType===1){if(o.hasAttributes())for(let v of o.getAttributeNames())if(v.endsWith(Kt)){let C=f[s++],R=o.getAttribute(v).split(F),$=/([.?@])?(.*)/.exec(C);c.push({type:1,index:n,name:$[2],strings:R,ctor:$[1]==="."?gt:$[1]==="?"?ft:$[1]==="@"?bt:ge}),o.removeAttribute(v)}else v.startsWith(F)&&(c.push({type:6,index:n}),o.removeAttribute(v));if(to.test(o.tagName)){let v=o.textContent.split(F),C=v.length-1;if(C>0){o.textContent=pt?pt.emptyScript:"";for(let R=0;R<C;R++)o.append(v[R],Ye()),he.nextNode(),c.push({type:2,index:++n});o.append(v[C],Ye())}}}else if(o.nodeType===8)if(o.data===Qt)c.push({type:2,index:n});else{let v=-1;for(;(v=o.data.indexOf(F,v+1))!==-1;)c.push({type:7,index:n}),v+=F.length-1}n++}}static createElement(t,e){let r=pe.createElement("template");return r.innerHTML=t,r}};function ue(i,t,e=i,r){var s,l,c;if(t===Y)return t;let o=r!==void 0?(s=e.o)==null?void 0:s[r]:e.l,n=Xe(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((l=o==null?void 0:o._$AO)==null||l.call(o,!1),n===void 0?o=void 0:(o=new n(i),o._$AT(i,e,r)),r!==void 0?((c=e.o)!=null?c:e.o=[])[r]=o:e.l=o),o!==void 0&&(t=ue(i,o._$AS(i,t.values),o,r)),t}var ut=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 b;let{el:{content:e},parts:r}=this._$AD,o=((b=t==null?void 0:t.creationScope)!=null?b:pe).importNode(e,!0);he.currentNode=o;let n=he.nextNode(),s=0,l=0,c=r[0];for(;c!==void 0;){if(s===c.index){let f;c.type===2?f=new Se(n,n.nextSibling,this,t):c.type===1?f=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(f=new vt(n,this,t)),this._$AV.push(f),c=r[++l]}s!==(c==null?void 0:c.index)&&(n=he.nextNode(),s++)}return he.currentNode=pe,o}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},Se=class i{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,r,o){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this.v=(n=o==null?void 0:o.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=ue(this,t,e),Xe(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==Y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):eo(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!==p&&Xe(this._$AH)?this._$AA.nextSibling.data=t:this.T(pe.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=Ze.createElement(ro(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(e);else{let s=new ut(o,this),l=s.u(this.options);s.p(e),this.T(l),this._$AH=s}}_$AC(t){let e=Qr.get(t.strings);return e===void 0&&Qr.set(t.strings,e=new Ze(t)),e}k(t){Jt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,o=0;for(let n of t)o===e.length?e.push(r=new i(this.O(Ye()),this.O(Ye()),this,this.options)):r=e[o],r._$AI(n),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},ge=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=p}_$AI(t,e=this,r,o){let n=this.strings,s=!1;if(n===void 0)t=ue(this,t,e,0),s=!Xe(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{let l=t,c,b;for(t=n[0],c=0;c<n.length-1;c++)b=ue(this,l[r+c],e,c),b===Y&&(b=this._$AH[c]),s||(s=!Xe(b)||b!==this._$AH[c]),b===p?t=p:t!==p&&(t+=(b!=null?b:"")+n[c+1]),this._$AH[c]=b}s&&!o&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},gt=class extends ge{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},ft=class extends ge{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},bt=class extends ge{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){var s;if((t=(s=ue(this,t,e,0))!=null?s:p)===Y)return;let r=this._$AH,o=t===p&&r!==p||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==p&&(r===p||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;typeof this._$AH=="function"?this._$AH.call((r=(e=this.options)==null?void 0:e.host)!=null?r:this.element,t):this._$AH.handleEvent(t)}},vt=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){ue(this,t)}},io={M:Kt,P:F,A:Qt,C:1,L:oo,R:ut,D:eo,V:ue,I:Se,H:ge,N:ft,U:bt,B:gt,F:vt},qt=Fe.litHtmlPolyfillSupport,Jr;qt==null||qt(Ze,Se),((Jr=Fe.litHtmlVersions)!=null?Jr:Fe.litHtmlVersions=[]).push("3.2.0");var so=(i,t,e)=>{var n,s;let r=(n=e==null?void 0:e.renderBefore)!=null?n:t,o=r._$litPart$;if(o===void 0){let l=(s=e==null?void 0:e.renderBefore)!=null?s:null;r._$litPart$=o=new Se(t.insertBefore(Ye(),l),l,void 0,e!=null?e:{})}return o._$AI(i),o};var D=class extends B{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,r;let t=super.createRenderRoot();return(r=(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=so(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 Y}},no;D._$litElement$=!0,D.finalized=!0,(no=globalThis.litElementHydrateSupport)==null||no.call(globalThis,{LitElement:D});var tr=globalThis.litElementPolyfillSupport;tr==null||tr({LitElement:D});var ao;((ao=globalThis.litElementVersions)!=null?ao:globalThis.litElementVersions=[]).push("4.1.0");var lo=h`
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 nt=class extends M{static register(t){customElements.get(t)||customElements.define(t,this)}};nt.styles=[Gr];var Hr=nt;var g=Hr;var W=class extends Event{constructor(t,e,r){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=r!=null?r:!1}};var xe=class{constructor(t,e,r,i){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(a,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=a,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(a,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let a=e;this.context=a.context,this.callback=a.callback,this.subscribe=(n=a.subscribe)!=null?n:!1}else this.context=e,this.callback=r,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 W(this.context,this.t,this.subscribe))}};var st=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let r=e||!Object.is(t,this.o);this.o=t,r&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:r}]of this.subscriptions)e(this.o,r)},t!==void 0&&(this.value=t)}addCallback(t,e,r){if(!r)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 Vt=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},Ee=class extends st{constructor(t,e,r){var i,n;super(e.context!==void 0?e.initialValue:r),this.onContextRequest=a=>{let c=a.composedPath()[0];a.context===this.context&&c!==this.host&&(a.stopPropagation(),this.addCallback(a.callback,c,a.subscribe))},this.onProviderRequest=a=>{let c=a.composedPath()[0];if(a.context!==this.context||c===this.host)return;let m=new Set;for(let[f,{consumerHost:E}]of this.subscriptions)m.has(f)||(m.add(f),E.dispatchEvent(new W(this.context,f,!0)));a.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 Vt(this.context))}};var pi=p`
13
+ `;var yt=class extends D{static register(t){customElements.get(t)||customElements.define(t,this)}};yt.styles=[lo];var co=yt;var g=co;var K=class extends Event{constructor(t,e,r){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=r!=null?r:!1}};var Ie=class{constructor(t,e,r,o){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(s,l)=>{this.unsubscribe&&(this.unsubscribe!==l&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=s,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(s,l)),this.unsubscribe=l},this.host=t,e.context!==void 0){let s=e;this.context=s.context,this.callback=s.callback,this.subscribe=(n=s.subscribe)!=null?n:!1}else this.context=e,this.callback=r,this.subscribe=o!=null?o:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new K(this.context,this.t,this.subscribe))}};var xt=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let r=e||!Object.is(t,this.o);this.o=t,r&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:r}]of this.subscriptions)e(this.o,r)},t!==void 0&&(this.value=t)}addCallback(t,e,r){if(!r)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var rr=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},Ne=class extends xt{constructor(t,e,r){var o,n;super(e.context!==void 0?e.initialValue:r),this.onContextRequest=s=>{let l=s.composedPath()[0];s.context===this.context&&l!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,l,s.subscribe))},this.onProviderRequest=s=>{let l=s.composedPath()[0];if(s.context!==this.context||l===this.host)return;let c=new Set;for(let[b,{consumerHost:f}]of this.subscriptions)c.has(b)||(c.add(b),f.dispatchEvent(new K(this.context,b,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(o=this.host).addController)==null||n.call(o,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new rr(this.context))}};var Fi=h`
14
14
  :host {
15
15
  display: contents;
16
16
  }
17
- `,Fr=pi;var dt=class extends g{constructor({context:t,initialValue:e}){super(),this.context=new Ee(this,{context:t,initialValue:e})}render(){return this.updateContext(),l`<slot></slot>`}};dt.styles=[...g.styles,Fr];var Xr=dt;var Te=Xr;var ct=class{constructor(t){this.themeclass=t}};ct.context=it;var lt=ct;var hi=p`
17
+ `,ho=Fi;var Et=class extends g{constructor({context:t,initialValue:e}){super(),this.context=new Ne(this,{context:t,initialValue:e})}render(){return this.updateContext(),m`<slot></slot>`}};Et.styles=[...g.styles,ho];var po=Et;var ke=po;var Tt=class{constructor(t){this.themeclass=t}};Tt.context=ht;var _t=Tt;var Yi=h`
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);
@@ -31,7 +31,7 @@
31
31
 
32
32
  font-feature-settings: var(--mdc-themeprovider-font-feature-settings);
33
33
  }
34
- `,Yr=[hi];var _e=class extends Te{constructor(){super({context:lt.context,initialValue:new lt(Ct.THEMECLASS)});this.themeclass=Ct.THEMECLASS}static get Context(){return lt.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(" "))}};_e.styles=[...Te.styles,...Yr],s([z()],_e.prototype,"currentThemeClass",2),s([d({type:String})],_e.prototype,"themeclass",2);var Gt=_e;Gt.register(it);var ui=Gt;var x=p`
34
+ `,uo=[Yi];var Ce=class extends ke{constructor(){super({context:_t.context,initialValue:new _t(jt.THEMECLASS)});this.themeclass=jt.THEMECLASS}static get Context(){return _t.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(" "))}};Ce.styles=[...ke.styles,...uo],a([w()],Ce.prototype,"currentThemeClass",2),a([d({type:String})],Ce.prototype,"themeclass",2);var or=Ce;or.register(ht);var Xi=or;var E=h`
35
35
  :host {
36
36
  align-items: center;
37
37
  display: flex;
@@ -39,7 +39,7 @@
39
39
  justify-content: center;
40
40
  width: fit-content;
41
41
  }
42
- `,S=(o=!1)=>{let t=p`
42
+ `,S=(i=!1)=>{let t=h`
43
43
  :host {
44
44
  --mdc-focus-ring-inner-color: var(--mds-color-theme-focus-default-0);
45
45
  --mdc-focus-ring-middle-color: var(--mds-color-theme-focus-default-1);
@@ -52,10 +52,10 @@
52
52
  --mdc-focus-ring-middle-offset: var(--mdc-focus-ring-inner-width);
53
53
  --mdc-focus-ring-outer-offset: calc(var(--mdc-focus-ring-inner-width) + var(--mdc-focus-ring-middle-width));
54
54
  }
55
- `,e=p`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
55
+ `,e=h`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
56
56
  0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
57
57
  0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
58
- `;return o?[t,p`
58
+ `;return i?[t,h`
59
59
  .mdc-focus-ring:focus-visible {
60
60
  outline: none;
61
61
  }
@@ -72,7 +72,7 @@
72
72
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
73
73
  }
74
74
  }
75
- `]:[t,p`
75
+ `]:[t,h`
76
76
  :host(:focus-visible) {
77
77
  outline: none;
78
78
  }
@@ -89,7 +89,7 @@
89
89
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
90
90
  }
91
91
  }
92
- `]};var gi=[x,p`
92
+ `]};var Zi=[E,h`
93
93
  :host {
94
94
  --mdc-icon-fill-color: currentColor;
95
95
  --mdc-icon-size: var(--computed-icon-size);
@@ -104,7 +104,7 @@
104
104
  width: 100%;
105
105
  fill: var(--mdc-icon-fill-color);
106
106
  }
107
- `,...S()],Zr=gi;var bi=o=>{let{host:t,context:e,subscribe:r}=o;return new xe(t,{context:e,subscribe:r!=null?r:!0})},vi={consume:bi},qr=vi;var mt=u.constructTagName("iconprovider"),jr=["svg"],Wr=["em","rem","px","%"],fi={px:16,em:1,rem:1,"%":100},B={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:fi.em,SHOULD_CACHE:!1};var pt=class{constructor(){this.iconsCache=new Map}};pt.context=mt;var ht=pt;var K=class extends Te{constructor(){super({context:ht.context,initialValue:new ht});this.fileExtension=B.FILE_EXTENSION;this.lengthUnit=B.LENGTH_UNIT;this.size=B.SIZE;this.shouldCache=B.SHOULD_CACHE}static get Context(){return ht.context}updateValuesInContext(){this.fileExtension&&jr.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=B.FILE_EXTENSION,this.context.value.fileExtension=B.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.shouldCache=this.shouldCache,this.lengthUnit&&Wr.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=B.LENGTH_UNIT,this.context.value.lengthUnit=B.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.context.value.shouldCache!==this.shouldCache)&&(this.updateValuesInContext(),this.context.updateObservers())}};s([d({type:String})],K.prototype,"url",2),s([d({type:String,attribute:"file-extension",reflect:!0})],K.prototype,"fileExtension",2),s([d({type:String,attribute:"length-unit",reflect:!0})],K.prototype,"lengthUnit",2),s([d({type:Number,reflect:!0})],K.prototype,"size",2),s([d({type:Boolean,attribute:"should-cache",reflect:!0})],K.prototype,"shouldCache",2);var He=K;var Kr=async(o,t,e,r)=>{let i=await fetch(`${o}/${t}.${e}`,{signal:r});if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i.text()};var Qr=u.constructTagName("icon"),Ht={NAME:void 0,SIZE:1};var R=class extends g{constructor(){super();this.name=Ht.NAME;this.ariaLabel=null;this.iconProviderContext=qr.consume({host:this,context:He.Context});this.abortController=new AbortController}prepareIconElement(e){let r=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:r,iconsCache:i,shouldCache:n}=this.iconProviderContext.value;if(r&&e&&this.name){if(this.abortController.abort(),i.has(this.name)){let a=this.prepareIconElement(i.get(this.name));this.handleIconLoadedSuccess(a);return}this.abortController=new AbortController;try{let a=await Kr(r,this.name,e,this.abortController.signal),c=this.prepareIconElement(a);this.handleIconLoadedSuccess(c),n&&i.set(this.name,a)}catch(a){this.handleIconLoadedFailure(a)}}}}handleIconLoadedSuccess(e){this.iconData=e;let r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(e){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(r)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var e,r;return(r=(e=this.size)!=null?e:this.sizeFromContext)!=null?r:Ht.SIZE}updated(e){var r,i,n,a;super.updated(e),e.has("name")&&this.getIconData().catch(c=>{c.name!=="AbortError"&&this.onerror&&this.onerror(c)}),e.has("ariaLabel")&&(this.role=this.ariaLabel?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.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=(a=this.iconProviderContext.value)==null?void 0:a.size,this.updateSize())}render(){return l` ${this.iconData} `}};R.styles=[...g.styles,...Zr],s([z()],R.prototype,"iconData",2),s([z()],R.prototype,"lengthUnitFromContext",2),s([z()],R.prototype,"sizeFromContext",2),s([d({type:String,reflect:!0})],R.prototype,"name",2),s([d({type:Number})],R.prototype,"size",2),s([d({type:String,attribute:"length-unit"})],R.prototype,"lengthUnit",2),s([d({type:String,attribute:"aria-label"})],R.prototype,"ariaLabel",2),s([z()],R.prototype,"abortController",2);var Bt=R;Bt.register(Qr);var yi=Bt;He.register(mt);var xi=He;var b=o=>o!=null?o:h;var Jr=u.constructTagName("avatar"),C={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Ft=99,Ei="user-regular",v={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Ae={TYPE:C.PHOTO,SIZE:v[32],ICON_NAME:Ei};var ut=o=>{class t extends o{constructor(){super(...arguments);this.size=Ae.SIZE;this.isTyping=!1}}return s([d({type:String})],t.prototype,"src",2),s([d({type:String})],t.prototype,"initials",2),s([d({type:String})],t.prototype,"presence",2),s([d({type:Number,reflect:!0,attribute:"size"})],t.prototype,"size",2),s([d({type:Number})],t.prototype,"counter",2),s([d({type:Boolean,attribute:"is-typing"})],t.prototype,"isTyping",2),t};var $=o=>{class t extends o{}return s([d({type:String,attribute:"icon-name"})],t.prototype,"iconName",2),t};var Ti=[x,p`
107
+ `,...S()],go=Zi;var ji=i=>{let{host:t,context:e,subscribe:r}=i;return new Ie(t,{context:e,subscribe:r!=null?r:!0})},Wi={consume:ji},fo=Wi;var At=u.constructTagName("iconprovider"),bo=["svg"],vo=["em","rem","px","%"],qi={px:16,em:1,rem:1,"%":100},X={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:qi.em,SHOULD_CACHE:!1};var St=class{constructor(){this.iconsCache=new Map}};St.context=At;var It=St;var Q=class extends ke{constructor(){super({context:It.context,initialValue:new It});this.fileExtension=X.FILE_EXTENSION;this.lengthUnit=X.LENGTH_UNIT;this.size=X.SIZE;this.shouldCache=X.SHOULD_CACHE}static get Context(){return It.context}updateValuesInContext(){this.fileExtension&&bo.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=X.FILE_EXTENSION,this.context.value.fileExtension=X.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.shouldCache=this.shouldCache,this.lengthUnit&&vo.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=X.LENGTH_UNIT,this.context.value.lengthUnit=X.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.context.value.shouldCache!==this.shouldCache)&&(this.updateValuesInContext(),this.context.updateObservers())}};a([d({type:String})],Q.prototype,"url",2),a([d({type:String,attribute:"file-extension",reflect:!0})],Q.prototype,"fileExtension",2),a([d({type:String,attribute:"length-unit",reflect:!0})],Q.prototype,"lengthUnit",2),a([d({type:Number,reflect:!0})],Q.prototype,"size",2),a([d({type:Boolean,attribute:"should-cache",reflect:!0})],Q.prototype,"shouldCache",2);var je=Q;var yo=async(i,t,e,r)=>{let o=await fetch(`${i}/${t}.${e}`,{signal:r});if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o.text()};var xo=u.constructTagName("icon"),ir={NAME:void 0,SIZE:1};var M=class extends g{constructor(){super();this.name=ir.NAME;this.ariaLabel=null;this.iconProviderContext=fo.consume({host:this,context:je.Context});this.abortController=new AbortController}prepareIconElement(e){let r=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:r,iconsCache:o,shouldCache:n}=this.iconProviderContext.value;if(r&&e&&this.name){if(this.abortController.abort(),o.has(this.name)){let s=this.prepareIconElement(o.get(this.name));this.handleIconLoadedSuccess(s);return}this.abortController=new AbortController;try{let s=await yo(r,this.name,e,this.abortController.signal),l=this.prepareIconElement(s);this.handleIconLoadedSuccess(l),n&&o.set(this.name,s)}catch(s){this.handleIconLoadedFailure(s)}}}}handleIconLoadedSuccess(e){this.iconData=e;let r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(e){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(r)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var e,r;return(r=(e=this.size)!=null?e:this.sizeFromContext)!=null?r:ir.SIZE}updated(e){var r,o,n,s;super.updated(e),e.has("name")&&this.getIconData().catch(l=>{l.name!=="AbortError"&&this.onerror&&this.onerror(l)}),e.has("ariaLabel")&&(this.role=this.ariaLabel?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(o=this.iconProviderContext.value)==null?void 0:o.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(s=this.iconProviderContext.value)==null?void 0:s.size,this.updateSize())}render(){return m` ${this.iconData} `}};M.styles=[...g.styles,...go],a([w()],M.prototype,"iconData",2),a([w()],M.prototype,"lengthUnitFromContext",2),a([w()],M.prototype,"sizeFromContext",2),a([d({type:String,reflect:!0})],M.prototype,"name",2),a([d({type:Number})],M.prototype,"size",2),a([d({type:String,attribute:"length-unit"})],M.prototype,"lengthUnit",2),a([d({type:String,attribute:"aria-label"})],M.prototype,"ariaLabel",2),a([w()],M.prototype,"abortController",2);var sr=M;sr.register(xo);var Ki=sr;je.register(At);var Qi=je;var y=i=>i!=null?i:p;var Eo=u.constructTagName("avatar"),z={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},nr=99,Ji="user-regular",x={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ze={TYPE:z.PHOTO,SIZE:x[32],ICON_NAME:Ji};var Nt=i=>{class t extends i{constructor(){super(...arguments);this.size=ze.SIZE;this.isTyping=!1}}return a([d({type:String})],t.prototype,"src",2),a([d({type:String})],t.prototype,"initials",2),a([d({type:String})],t.prototype,"presence",2),a([d({type:Number,reflect:!0,attribute:"size"})],t.prototype,"size",2),a([d({type:Number})],t.prototype,"counter",2),a([d({type:Boolean,attribute:"is-typing"})],t.prototype,"isTyping",2),t};var P=i=>{class t extends i{}return a([d({type:String,attribute:"icon-name"})],t.prototype,"iconName",2),t};var es=[E,h`
108
108
  :host {
109
109
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
110
110
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -227,38 +227,38 @@
227
227
  outline: 0.125rem solid;
228
228
  }
229
229
  }
230
- `],eo=Ti;var to=u.constructTagName("presence"),k={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},I={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},Se={TYPE:k.ACTIVE,SIZE:I.SMALL};var Be=u.constructTagName("text"),A={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},T={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},L={TYPE:A.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:T.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var ro=o=>({[v[124]]:I.XX_LARGE,[v[88]]:I.X_LARGE,[v[72]]:I.LARGE,[v[64]]:I.MIDSIZE,[v[48]]:I.SMALL,[v[32]]:I.X_SMALL,[v[24]]:I.XX_SMALL})[o]||I.X_SMALL,oo=o=>({[v[124]]:4.75,[v[88]]:3,[v[72]]:2.5,[v[64]]:2.25,[v[48]]:1.75,[v[32]]:1.25,[v[24]]:1})[o]||1.25,io=o=>({[v[124]]:A.HEADING_XLARGE_MEDIUM,[v[88]]:A.HEADING_LARGE_MEDIUM,[v[72]]:A.HEADING_MIDSIZE_MEDIUM,[v[64]]:A.HEADING_SMALL_MEDIUM,[v[48]]:A.HEADING_SMALL_MEDIUM,[v[32]]:A.BODY_MIDSIZE_MEDIUM,[v[24]]:A.BODY_SMALL_MEDIUM})[o]||A.BODY_MIDSIZE_MEDIUM;var Fe=class extends ut($(g)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(e){return e===C.COUNTER&&(this.counter||this.counter===0)?h:this.presence?l`
231
- <mdc-presence class="presence" type="${this.presence}" size="${ro(this.size)}"></mdc-presence>
232
- `:h}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return l`
230
+ `],To=es;var _o=u.constructTagName("presence"),k={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},I={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},Re={TYPE:k.ACTIVE,SIZE:I.SMALL};var We=u.constructTagName("text"),A={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},T={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},L={TYPE:A.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:T.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Ao=i=>({[x[124]]:I.XX_LARGE,[x[88]]:I.X_LARGE,[x[72]]:I.LARGE,[x[64]]:I.MIDSIZE,[x[48]]:I.SMALL,[x[32]]:I.X_SMALL,[x[24]]:I.XX_SMALL})[i]||I.X_SMALL,So=i=>({[x[124]]:4.75,[x[88]]:3,[x[72]]:2.5,[x[64]]:2.25,[x[48]]:1.75,[x[32]]:1.25,[x[24]]:1})[i]||1.25,Io=i=>({[x[124]]:A.HEADING_XLARGE_MEDIUM,[x[88]]:A.HEADING_LARGE_MEDIUM,[x[72]]:A.HEADING_MIDSIZE_MEDIUM,[x[64]]:A.HEADING_SMALL_MEDIUM,[x[48]]:A.HEADING_SMALL_MEDIUM,[x[32]]:A.BODY_MIDSIZE_MEDIUM,[x[24]]:A.BODY_SMALL_MEDIUM})[i]||A.BODY_MIDSIZE_MEDIUM;var qe=class extends Nt(P(g)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(e){return e===z.COUNTER&&(this.counter||this.counter===0)?p:this.presence?m`
231
+ <mdc-presence class="presence" type="${this.presence}" size="${Ao(this.size)}"></mdc-presence>
232
+ `:p}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return m`
233
233
  <img
234
234
  class="photo"
235
- src="${b(this.src)}"
235
+ src="${y(this.src)}"
236
236
  aria-hidden="true"
237
237
  ?hidden="${!this.isPhotoLoaded}"
238
238
  @load="${this.handleOnLoad}"
239
239
  @error="${this.handleOnError}"
240
240
  />
241
- `}iconTemplate(){let e=this.iconName||Ae.ICON_NAME;return l`
241
+ `}iconTemplate(){let e=this.iconName||ze.ICON_NAME;return m`
242
242
  <mdc-icon
243
- name="${b(e)}"
243
+ name="${y(e)}"
244
244
  length-unit="rem"
245
- size="${oo(this.size)}"
245
+ size="${So(this.size)}"
246
246
  ></mdc-icon>
247
- `}textTemplate(e){return l`
247
+ `}textTemplate(e){return m`
248
248
  <mdc-text
249
- type="${io(this.size)}"
249
+ type="${Io(this.size)}"
250
250
  tagname="span"
251
251
  >
252
252
  ${e}
253
253
  </mdc-text>
254
- `}generateCounterText(e){return e<0?"0":e>Ft?`${Ft}+`:e.toString()}generateInitialsText(e){return e.toUpperCase().slice(0,2)}generateTextContent(e){let r="";return e===C.TEXT&&this.initials&&(r=this.generateInitialsText(this.initials)),e===C.COUNTER&&(this.counter||this.counter===0)&&(r=this.generateCounterText(this.counter)),this.textTemplate(r)}getTypeBasedOnInputs(){return this.src?C.PHOTO:this.iconName?C.ICON:this.initials?C.TEXT:this.counter||this.counter===0?C.COUNTER:C.ICON}getTemplateBasedOnType(e){switch(e){case C.PHOTO:return this.photoTemplate();case C.TEXT:case C.COUNTER:return this.generateTextContent(e);case C.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?l`<div class="loading__wrapper"><div class="loader"></div></div>`:h}getPhotoPlaceHolderContent(e){return this.isPhotoLoaded?h:e===C.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():h}update(e){super.update(e),e.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let e=this.getTypeBasedOnInputs();return l`
254
+ `}generateCounterText(e){return e<0?"0":e>nr?`${nr}+`:e.toString()}generateInitialsText(e){return e.toUpperCase().slice(0,2)}generateTextContent(e){let r="";return e===z.TEXT&&this.initials&&(r=this.generateInitialsText(this.initials)),e===z.COUNTER&&(this.counter||this.counter===0)&&(r=this.generateCounterText(this.counter)),this.textTemplate(r)}getTypeBasedOnInputs(){return this.src?z.PHOTO:this.iconName?z.ICON:this.initials?z.TEXT:this.counter||this.counter===0?z.COUNTER:z.ICON}getTemplateBasedOnType(e){switch(e){case z.PHOTO:return this.photoTemplate();case z.TEXT:case z.COUNTER:return this.generateTextContent(e);case z.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?m`<div class="loading__wrapper"><div class="loader"></div></div>`:p}getPhotoPlaceHolderContent(e){return this.isPhotoLoaded?p:e===z.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():p}update(e){super.update(e),e.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let e=this.getTypeBasedOnInputs();return m`
255
255
  <div class="content" aria-hidden="true">
256
256
  ${this.getPhotoPlaceHolderContent(e)}
257
257
  ${this.getTemplateBasedOnType(e)}
258
258
  ${this.getLoadingContent()}
259
259
  ${this.getPresenceTemplateBasedOnType(e)}
260
260
  </div>
261
- `}};Fe.styles=[...g.styles,...eo],s([z()],Fe.prototype,"isPhotoLoaded",2);var Xt=Fe;var _i=[x,p`
261
+ `}};qe.styles=[...g.styles,...To],a([w()],qe.prototype,"isPhotoLoaded",2);var ar=qe;var ts=[E,h`
262
262
  :host {
263
263
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
264
264
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -352,7 +352,7 @@
352
352
  .mdc-presence-icon__scheduled {
353
353
  color: var(--mdc-presence-scheduled-background-color);
354
354
  }
355
- `],ao=_i;var no=o=>{switch(o){case k.AWAY:return"recents-presence-badge-filled";case k.AWAY_CALLING:return"away-calling-presence-filled";case k.BUSY:return"busy-presence-bold";case k.DND:return"dnd-presence-badge-filled";case k.MEETING:return"camera-filled";case k.ON_CALL:return"handset-filled";case k.ON_DEVICE:return"generic-device-video-badge-filled";case k.ON_MOBILE:return"phone-badge-filled";case k.PAUSE:return"pause-badge-filled";case k.PTO:return"pto-presence-filled";case k.PRESENTING:return"share-screen-badge-filled";case k.QUIET:return"quiet-hours-presence-filled";case k.SCHEDULED:return"meetings-presence-badge-filled";case k.ACTIVE:default:return"active-presence-small-filled"}};var pe=class extends g{constructor(){super(...arguments);this.type=Se.TYPE;this.size=Se.SIZE;this.currentIconType=Se.TYPE}get iconSize(){switch(this.size){case I.MIDSIZE:return 1.16125;case I.LARGE:return 1.30625;case I.X_LARGE:return 1.596875;case I.XX_LARGE:return 2.25;case I.XX_SMALL:case I.X_SMALL:case I.SMALL:default:return this.size=Se.SIZE,.875}}get icon(){let e=no(this.type);return e==="active-presence-small-filled"&&(this.type=Se.TYPE),e}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return l`
355
+ `],No=ts;var ko=i=>{switch(i){case k.AWAY:return"recents-presence-badge-filled";case k.AWAY_CALLING:return"away-calling-presence-filled";case k.BUSY:return"busy-presence-bold";case k.DND:return"dnd-presence-badge-filled";case k.MEETING:return"camera-filled";case k.ON_CALL:return"handset-filled";case k.ON_DEVICE:return"generic-device-video-badge-filled";case k.ON_MOBILE:return"phone-badge-filled";case k.PAUSE:return"pause-badge-filled";case k.PTO:return"pto-presence-filled";case k.PRESENTING:return"share-screen-badge-filled";case k.QUIET:return"quiet-hours-presence-filled";case k.SCHEDULED:return"meetings-presence-badge-filled";case k.ACTIVE:default:return"active-presence-small-filled"}};var fe=class extends g{constructor(){super(...arguments);this.type=Re.TYPE;this.size=Re.SIZE;this.currentIconType=Re.TYPE}get iconSize(){switch(this.size){case I.MIDSIZE:return 1.16125;case I.LARGE:return 1.30625;case I.X_LARGE:return 1.596875;case I.XX_LARGE:return 2.25;case I.XX_SMALL:case I.X_SMALL:case I.SMALL:default:return this.size=Re.SIZE,.875}}get icon(){let e=ko(this.type);return e==="active-presence-small-filled"&&(this.type=Re.TYPE),e}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return m`
356
356
  <div class="mdc-presence mdc-presence__${this.size}">
357
357
  <mdc-icon
358
358
  class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
@@ -362,7 +362,7 @@
362
362
  @error="${this.handleOnError}"
363
363
  ></mdc-icon>
364
364
  </div>
365
- `}};pe.styles=[...g.styles,...ao],s([d({type:String,reflect:!0})],pe.prototype,"type",2),s([d({type:String,reflect:!0})],pe.prototype,"size",2),s([z()],pe.prototype,"currentIconType",2);var Yt=pe;Yt.register(to);var Ai=Yt;var so=p`
365
+ `}};fe.styles=[...g.styles,...No],a([d({type:String,reflect:!0})],fe.prototype,"type",2),a([d({type:String,reflect:!0})],fe.prototype,"size",2),a([w()],fe.prototype,"currentIconType",2);var lr=fe;lr.register(_o);var rs=lr;var Co=h`
366
366
  :host::part(text) {
367
367
  font-size: unset;
368
368
  font-weight: unset;
@@ -605,14 +605,14 @@
605
605
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
606
606
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
607
607
  }
608
- `;var Si=[p`
608
+ `;var os=[h`
609
609
  :host {
610
610
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
611
611
 
612
612
  display: block;
613
613
  font-family: var(--mdc-text-font-family);
614
614
  }
615
- `,so],co=Si;var Ie=class extends g{constructor(){super(...arguments);this.type=L.TYPE;this.tagname=L.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case T.H1:return l`<h1 part=${L.CSS_PART_TEXT}><slot></slot></h1>`;case T.H2:return l`<h2 part=${L.CSS_PART_TEXT}><slot></slot></h2>`;case T.H3:return l`<h3 part=${L.CSS_PART_TEXT}><slot></slot></h3>`;case T.H4:return l`<h4 part=${L.CSS_PART_TEXT}><slot></slot></h4>`;case T.H5:return l`<h5 part=${L.CSS_PART_TEXT}><slot></slot></h5>`;case T.H6:return l`<h6 part=${L.CSS_PART_TEXT}><slot></slot></h6>`;case T.DIV:return l`<div part=${L.CSS_PART_TEXT}><slot></slot></div>`;case T.SPAN:return l`<span part=${L.CSS_PART_TEXT}><slot></slot></span>`;case T.SMALL:return l`<small part=${L.CSS_PART_TEXT}><slot></slot></small>`;case T.P:default:return l`<p part=${L.CSS_PART_TEXT}><slot></slot></p>`}}};Ie.styles=[...g.styles,...co],s([d({attribute:"type",reflect:!0,type:String})],Ie.prototype,"type",2),s([d({attribute:"tagname",reflect:!0,type:String})],Ie.prototype,"tagname",2);var Zt=Ie;Zt.register(Be);var Ii=Zt;Xt.register(Jr);var Ni=Xt;var lo={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},mo=o=>(...t)=>({_$litDirective$:o,values:t}),gt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this.t=t,this._$AM=e,this.i=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var bt=mo(class extends gt{constructor(o){var t;if(super(o),o.type!==lo.ATTRIBUTE||o.name!=="class"||((t=o.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){var r,i;if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(t)}let e=o.element.classList;for(let n of this.st)n in t||(e.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||(i=this.nt)!=null&&i.has(n)||(a?(e.add(n),this.st.add(n)):(e.remove(n),this.st.delete(n)))}return H}});var po=u.constructTagName("badge"),F={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},vt={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},ft={PRIMARY:"primary",SECONDARY:"secondary"},Xe={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Sc={...ft,...Xe},Q={TYPE:F.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:ft.PRIMARY,ICON_SIZE:1};var ki=[x,p`
615
+ `,Co],zo=os;var we=class extends g{constructor(){super(...arguments);this.type=L.TYPE;this.tagname=L.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case T.H1:return m`<h1 part=${L.CSS_PART_TEXT}><slot></slot></h1>`;case T.H2:return m`<h2 part=${L.CSS_PART_TEXT}><slot></slot></h2>`;case T.H3:return m`<h3 part=${L.CSS_PART_TEXT}><slot></slot></h3>`;case T.H4:return m`<h4 part=${L.CSS_PART_TEXT}><slot></slot></h4>`;case T.H5:return m`<h5 part=${L.CSS_PART_TEXT}><slot></slot></h5>`;case T.H6:return m`<h6 part=${L.CSS_PART_TEXT}><slot></slot></h6>`;case T.DIV:return m`<div part=${L.CSS_PART_TEXT}><slot></slot></div>`;case T.SPAN:return m`<span part=${L.CSS_PART_TEXT}><slot></slot></span>`;case T.SMALL:return m`<small part=${L.CSS_PART_TEXT}><slot></slot></small>`;case T.P:default:return m`<p part=${L.CSS_PART_TEXT}><slot></slot></p>`}}};we.styles=[...g.styles,...zo],a([d({attribute:"type",reflect:!0,type:String})],we.prototype,"type",2),a([d({attribute:"tagname",reflect:!0,type:String})],we.prototype,"tagname",2);var dr=we;dr.register(We);var is=dr;ar.register(Eo);var ss=ar;var kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ke=i=>(...t)=>({_$litDirective$:i,values:t}),Le=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this.t=t,this._$AM=e,this.i=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Ct=Ke(class extends Le{constructor(i){var t;if(super(i),i.type!==kt.ATTRIBUTE||i.name!=="class"||((t=i.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var r,o;if(this.st===void 0){this.st=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(t)}let e=i.element.classList;for(let n of this.st)n in t||(e.remove(n),this.st.delete(n));for(let n in t){let s=!!t[n];s===this.st.has(n)||(o=this.nt)!=null&&o.has(n)||(s?(e.add(n),this.st.add(n)):(e.remove(n),this.st.delete(n)))}return Y}});var Ro=u.constructTagName("badge"),Z={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},zt={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Rt={PRIMARY:"primary",SECONDARY:"secondary"},Qe={SUCCESS:"success",WARNING:"warning",ERROR:"error"},pc={...Rt,...Qe},J={TYPE:Z.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Rt.PRIMARY,ICON_SIZE:1};var ns=[E,h`
616
616
  :host {
617
617
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
618
618
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -681,21 +681,21 @@
681
681
  outline: 0.125rem solid;
682
682
  }
683
683
  }
684
- `],ho=ki;var O=class extends $(g){constructor(){super(...arguments);this.variant=Q.VARIANT;this.maxCounter=Q.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,r){return r===void 0||typeof r!="number"||e===0?"":r>e?`${e}+`:e>Q.MAX_COUNTER_LIMIT||r>Q.MAX_COUNTER_LIMIT?`${Q.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(e,r){return l`
684
+ `],wo=ns;var U=class extends P(g){constructor(){super(...arguments);this.variant=J.VARIANT;this.maxCounter=J.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,r){return r===void 0||typeof r!="number"||e===0?"":r>e?`${e}+`:e>J.MAX_COUNTER_LIMIT||r>J.MAX_COUNTER_LIMIT?`${J.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(e,r){return m`
685
685
  <mdc-icon
686
- class="mdc-badge-icon ${bt({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${r}`]:!0})}"
687
- name="${b(e)}"
688
- size="${Q.ICON_SIZE}"
686
+ class="mdc-badge-icon ${Ct({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${r}`]:!0})}"
687
+ name="${y(e)}"
688
+ size="${J.ICON_SIZE}"
689
689
  ></mdc-icon>
690
- `}getBadgeDot(){return l`<div class="mdc-badge-dot ${bt({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return l`
690
+ `}getBadgeDot(){return m`<div class="mdc-badge-dot ${Ct({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return m`
691
691
  <mdc-text
692
692
  type="${A.BODY_SMALL_MEDIUM}"
693
693
  tagname="${T.DIV}"
694
- class="mdc-badge-text ${bt({"mdc-badge-overlay":this.overlay})}"
694
+ class="mdc-badge-text ${Ct({"mdc-badge-overlay":this.overlay})}"
695
695
  >
696
696
  ${this.getCounterText(this.maxCounter,this.counter)}
697
697
  </mdc-text>
698
- `}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(ft).includes(this.variant)&&(this.variant=Q.VARIANT);let{iconName:e,type:r,variant:i}=this;switch(r){case F.ICON:return this.getBadgeIcon(e||"",i);case F.COUNTER:return this.getBadgeCounterText();case F.SUCCESS:return this.getBadgeIcon(vt.SUCCESS_ICON_NAME,Xe.SUCCESS);case F.WARNING:return this.getBadgeIcon(vt.WARNING_ICON_NAME,Xe.WARNING);case F.ERROR:return this.getBadgeIcon(vt.ERROR_ICON_NAME,Xe.ERROR);case F.DOT:default:return this.type=F.DOT,this.getBadgeDot()}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};O.styles=[...g.styles,...ho],s([d({type:String,reflect:!0})],O.prototype,"type",2),s([d({type:String,reflect:!0})],O.prototype,"variant",2),s([d({type:Number})],O.prototype,"counter",2),s([d({type:Number,attribute:"max-counter",reflect:!0})],O.prototype,"maxCounter",2),s([d({type:Boolean})],O.prototype,"overlay",2),s([d({type:String,attribute:"aria-label"})],O.prototype,"ariaLabel",2);var qt=O;qt.register(po);var Ci=qt;var Ne=o=>{class t extends o{constructor(){super(...arguments);this.disabled=!1}}return s([d({reflect:!0,type:Boolean})],t.prototype,"disabled",2),t};var uo=o=>{class t extends o{constructor(){super(...arguments);this.tabIndex=0}}return s([d({reflect:!0,type:Number})],t.prototype,"tabIndex",2),t};var el=u.constructTagName("buttonsimple"),zi={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},ke={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},yt={SIZE:zi[32],TYPE:ke.BUTTON,ROLE:"button"};var Li=[x,p`
698
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Rt).includes(this.variant)&&(this.variant=J.VARIANT);let{iconName:e,type:r,variant:o}=this;switch(r){case Z.ICON:return this.getBadgeIcon(e||"",o);case Z.COUNTER:return this.getBadgeCounterText();case Z.SUCCESS:return this.getBadgeIcon(zt.SUCCESS_ICON_NAME,Qe.SUCCESS);case Z.WARNING:return this.getBadgeIcon(zt.WARNING_ICON_NAME,Qe.WARNING);case Z.ERROR:return this.getBadgeIcon(zt.ERROR_ICON_NAME,Qe.ERROR);case Z.DOT:default:return this.type=Z.DOT,this.getBadgeDot()}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};U.styles=[...g.styles,...wo],a([d({type:String,reflect:!0})],U.prototype,"type",2),a([d({type:String,reflect:!0})],U.prototype,"variant",2),a([d({type:Number})],U.prototype,"counter",2),a([d({type:Number,attribute:"max-counter",reflect:!0})],U.prototype,"maxCounter",2),a([d({type:Boolean})],U.prototype,"overlay",2),a([d({type:String,attribute:"aria-label"})],U.prototype,"ariaLabel",2);var cr=U;cr.register(Ro);var as=cr;var Me=i=>{class t extends i{constructor(){super(...arguments);this.disabled=!1}}return a([d({reflect:!0,type:Boolean})],t.prototype,"disabled",2),t};var Lo=i=>{class t extends i{constructor(){super(...arguments);this.tabIndex=0}}return a([d({reflect:!0,type:Number})],t.prototype,"tabIndex",2),t};var Gc=u.constructTagName("buttonsimple"),ls={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},Oe={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},wt={SIZE:ls[32],TYPE:Oe.BUTTON,ROLE:"button"};var ds=[E,h`
699
699
  :host {
700
700
  border: 0.0625rem solid transparent;
701
701
  cursor: pointer;
@@ -751,9 +751,9 @@
751
751
  :host([size="20"]){
752
752
  height: var(--mdc-button-height-size-20);
753
753
  }
754
- `,...S()],go=Li;var D=class extends uo(Ne(g)){constructor(){super();this.active=!1;this.softDisabled=!1;this.size=yt.SIZE;this.role=yt.ROLE;this.type=yt.TYPE;this.prevTabindex=0;this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.internals=this.attachInternals()}get form(){return this.internals.form}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this,this.disabled),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("active")&&this.setActive(this,this.active)}executeAction(){this.type===ke.SUBMIT&&this.internals.form&&this.internals.form.requestSubmit(),this.type===ke.RESET&&this.internals.form&&this.internals.form.reset()}setActive(e,r){r?e.setAttribute("aria-pressed","true"):e.removeAttribute("aria-pressed")}setSoftDisabled(e,r){r?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}setDisabled(e,r){r?(e.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),e.removeAttribute("aria-disabled"))}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleKeyDown(e){["Enter"," "].includes(e.key)&&(this.classList.add("pressed"),e.key==="Enter"&&this.triggerClickEvent())}handleKeyUp(e){["Enter"," "].includes(e.key)&&(this.classList.remove("pressed"),e.key===" "&&this.triggerClickEvent())}render(){return l`
754
+ `,...S()],Mo=ds;var V=class extends Lo(Me(g)){constructor(){super();this.active=!1;this.softDisabled=!1;this.size=wt.SIZE;this.role=wt.ROLE;this.type=wt.TYPE;this.prevTabindex=0;this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.internals=this.attachInternals()}get form(){return this.internals.form}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this,this.disabled),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("active")&&this.setActive(this,this.active)}executeAction(){this.type===Oe.SUBMIT&&this.internals.form&&this.internals.form.requestSubmit(),this.type===Oe.RESET&&this.internals.form&&this.internals.form.reset()}setActive(e,r){r?e.setAttribute("aria-pressed","true"):e.removeAttribute("aria-pressed")}setSoftDisabled(e,r){r?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}setDisabled(e,r){r?(e.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),e.removeAttribute("aria-disabled"))}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleKeyDown(e){["Enter"," "].includes(e.key)&&(this.classList.add("pressed"),e.key==="Enter"&&this.triggerClickEvent())}handleKeyUp(e){["Enter"," "].includes(e.key)&&(this.classList.remove("pressed"),e.key===" "&&this.triggerClickEvent())}render(){return m`
755
755
  <slot></slot>
756
- `}};D.formAssociated=!0,D.styles=[...g.styles,...go],s([d({type:Boolean,reflect:!0})],D.prototype,"active",2),s([d({type:Boolean,attribute:"soft-disabled"})],D.prototype,"softDisabled",2),s([d({type:Number,reflect:!0})],D.prototype,"size",2),s([d({type:String,reflect:!0})],D.prototype,"role",2),s([d({reflect:!0})],D.prototype,"type",2);var J=D;var Ye=u.constructTagName("button"),he={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},xt={40:40,32:32,28:28,24:24},X={64:64,52:52,20:20,...xt},jt={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Ce={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},U={VARIANT:he.PRIMARY,SIZE:xt[32],COLOR:jt.DEFAULT,TYPE_INTERNAL:Ce.ICON,TYPE:ke.BUTTON};var Ri=p`
756
+ `}};V.formAssociated=!0,V.styles=[...g.styles,...Mo],a([d({type:Boolean,reflect:!0})],V.prototype,"active",2),a([d({type:Boolean,attribute:"soft-disabled"})],V.prototype,"softDisabled",2),a([d({type:Number,reflect:!0})],V.prototype,"size",2),a([d({type:String,reflect:!0})],V.prototype,"role",2),a([d({reflect:!0})],V.prototype,"type",2);var ee=V;var Je=u.constructTagName("button"),be={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Lt={40:40,32:32,28:28,24:24},j={64:64,52:52,20:20,...Lt},mr={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},$e={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},H={VARIANT:be.PRIMARY,SIZE:Lt[32],COLOR:mr.DEFAULT,TYPE_INTERNAL:$e.ICON,TYPE:Oe.BUTTON};var cs=h`
757
757
  :host {
758
758
  background-color: transparent;
759
759
  border-radius: 1.25rem;
@@ -924,8 +924,8 @@
924
924
  --mdc-button-secondary-hover-background-color: var(--mds-color-theme-button-secondary-hover);
925
925
  --mdc-button-secondary-pressed-background-color: var(--mds-color-theme-button-secondary-pressed);
926
926
  }
927
- `,bo=[Ri];var vo=o=>{switch(o){case X[64]:return 2;case X[52]:return 1.75;case X[40]:return 1.25;default:return 1}},Ze=o=>{let t=o.split("-"),e=["bold","filled","regular","light"];return t.filter(r=>!e.includes(r)).join("-")};var w=class extends J{constructor(){super(...arguments);this.variant=U.VARIANT;this.size=U.SIZE;this.color=U.COLOR;this.role="button";this.typeInternal=U.TYPE_INTERNAL;this.iconSize=1}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}modifyIconName(e){e?(this.prefixIcon&&(this.prevPrefixIcon=this.prefixIcon,this.prefixIcon=`${Ze(this.prefixIcon)}-filled`),this.postfixIcon&&(this.prevPostfixIcon=this.postfixIcon,this.postfixIcon=`${Ze(this.postfixIcon)}-filled`)):(this.prevPrefixIcon&&(this.prefixIcon=this.prevPrefixIcon),this.prevPostfixIcon&&(this.postfixIcon=this.prevPostfixIcon))}setVariant(e){this.setAttribute("variant",Object.values(he).includes(e)?e:U.VARIANT)}setSize(e){let i=this.typeInternal===Ce.ICON?Object.values(X).includes(e)&&!(e===X[20]&&this.variant!==he.TERTIARY):Object.values(xt).includes(e);this.setAttribute("size",i?`${e}`:`${U.SIZE}`),this.iconSize=vo(e)}setColor(e){!Object.values(jt).includes(e)||this.variant===he.TERTIARY?this.setAttribute("color",`${U.COLOR}`):this.setAttribute("color",e)}inferButtonType(){var r,i;let e=(i=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"))==null?void 0:i.assignedNodes().length;e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Ce.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Ce.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Ce.PILL,this.setAttribute("data-btn-type","pill"))}render(){return l`
928
- ${this.prefixIcon?l`
927
+ `,Oo=[cs];var $o=i=>{switch(i){case j[64]:return 2;case j[52]:return 1.75;case j[40]:return 1.25;default:return 1}},et=i=>{let t=i.split("-"),e=["bold","filled","regular","light"];return t.filter(r=>!e.includes(r)).join("-")};var O=class extends ee{constructor(){super(...arguments);this.variant=H.VARIANT;this.size=H.SIZE;this.color=H.COLOR;this.role="button";this.typeInternal=H.TYPE_INTERNAL;this.iconSize=1}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}modifyIconName(e){e?(this.prefixIcon&&(this.prevPrefixIcon=this.prefixIcon,this.prefixIcon=`${et(this.prefixIcon)}-filled`),this.postfixIcon&&(this.prevPostfixIcon=this.postfixIcon,this.postfixIcon=`${et(this.postfixIcon)}-filled`)):(this.prevPrefixIcon&&(this.prefixIcon=this.prevPrefixIcon),this.prevPostfixIcon&&(this.postfixIcon=this.prevPostfixIcon))}setVariant(e){this.setAttribute("variant",Object.values(be).includes(e)?e:H.VARIANT)}setSize(e){let o=this.typeInternal===$e.ICON?Object.values(j).includes(e)&&!(e===j[20]&&this.variant!==be.TERTIARY):Object.values(Lt).includes(e);this.setAttribute("size",o?`${e}`:`${H.SIZE}`),this.iconSize=$o(e)}setColor(e){!Object.values(mr).includes(e)||this.variant===be.TERTIARY?this.setAttribute("color",`${H.COLOR}`):this.setAttribute("color",e)}inferButtonType(){var r,o;let e=(o=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"))==null?void 0:o.assignedNodes().length;e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=$e.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=$e.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=$e.PILL,this.setAttribute("data-btn-type","pill"))}render(){return m`
928
+ ${this.prefixIcon?m`
929
929
  <mdc-icon
930
930
  name="${this.prefixIcon}"
931
931
  part="prefix-icon"
@@ -933,14 +933,14 @@
933
933
  length-unit="rem">
934
934
  </mdc-icon>`:""}
935
935
  <slot @slotchange=${this.inferButtonType}></slot>
936
- ${this.postfixIcon?l`
936
+ ${this.postfixIcon?m`
937
937
  <mdc-icon
938
938
  name="${this.postfixIcon}"
939
939
  part="postfix-icon"
940
940
  size=${this.iconSize}
941
941
  length-unit="rem">
942
942
  </mdc-icon>`:""}
943
- `}};w.styles=[...J.styles,...bo],s([d({type:String,attribute:"prefix-icon",reflect:!0})],w.prototype,"prefixIcon",2),s([d({type:String,attribute:"postfix-icon",reflect:!0})],w.prototype,"postfixIcon",2),s([d({type:String})],w.prototype,"variant",2),s([d({type:Number})],w.prototype,"size",2),s([d({type:String})],w.prototype,"color",2),s([d({type:String,reflect:!0})],w.prototype,"role",2),s([z()],w.prototype,"typeInternal",2),s([z()],w.prototype,"iconSize",2);var Wt=w;Wt.register(Ye);var wi=Wt;var Mi=p`
943
+ `}};O.styles=[...ee.styles,...Oo],a([d({type:String,attribute:"prefix-icon",reflect:!0})],O.prototype,"prefixIcon",2),a([d({type:String,attribute:"postfix-icon",reflect:!0})],O.prototype,"postfixIcon",2),a([d({type:String})],O.prototype,"variant",2),a([d({type:Number})],O.prototype,"size",2),a([d({type:String})],O.prototype,"color",2),a([d({type:String,reflect:!0})],O.prototype,"role",2),a([w()],O.prototype,"typeInternal",2),a([w()],O.prototype,"iconSize",2);var hr=O;hr.register(Je);var ms=hr;var hs=h`
944
944
  :host {
945
945
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
946
946
  --mdc-bullet-size-small: 0.25rem;
@@ -961,7 +961,7 @@
961
961
  :host([size="large"]) {
962
962
  height: var(--mdc-bullet-size-large);
963
963
  }
964
- `,fo=[Mi];var yo=u.constructTagName("bullet"),xo={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var qe=class extends g{constructor(){super(...arguments);this.size=xo.SMALL}};qe.styles=[...g.styles,...fo],s([d({type:String,reflect:!0})],qe.prototype,"size",2);var Kt=qe;Kt.register(yo);var $i=Kt;var Oi=p`
964
+ `,Do=[hs];var Po=u.constructTagName("bullet"),Uo={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var tt=class extends g{constructor(){super(...arguments);this.size=Uo.SMALL}};tt.styles=[...g.styles,...Do],a([d({type:String,reflect:!0})],tt.prototype,"size",2);var pr=tt;pr.register(Po);var ps=pr;var us=h`
965
965
  :host {
966
966
  --mdc-marker-width: 0.25rem;
967
967
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -986,7 +986,7 @@
986
986
  var(--mdc-marker-striped-background-color) 0.375rem
987
987
  );
988
988
  }
989
- `,Eo=[Oi];var To=u.constructTagName("marker"),_o={SOLID:"solid",STRIPED:"striped"};var je=class extends g{constructor(){super(...arguments);this.variant=_o.SOLID}};je.styles=[...g.styles,...Eo],s([d({type:String,reflect:!0})],je.prototype,"variant",2);var Qt=je;Qt.register(To);var Di=Qt;var Ao=u.constructTagName("divider"),We={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Jt={SOLID:"solid",GRADIENT:"gradient"},ee={POSITIVE:"positive",NEGATIVE:"negative"},Ke={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},ue={ORIENTATION:We.HORIZONTAL,VARIANT:Jt.SOLID,ARROW_DIRECTION:ee.NEGATIVE,BUTTON_DIRECTION:ee.NEGATIVE};var Ui=[x,p`
989
+ `,Vo=[us];var Ho=u.constructTagName("marker"),Go={SOLID:"solid",STRIPED:"striped"};var rt=class extends g{constructor(){super(...arguments);this.variant=Go.SOLID}};rt.styles=[...g.styles,...Vo],a([d({type:String,reflect:!0})],rt.prototype,"variant",2);var ur=rt;ur.register(Ho);var gs=ur;var Bo=u.constructTagName("divider"),ot={HORIZONTAL:"horizontal",VERTICAL:"vertical"},gr={SOLID:"solid",GRADIENT:"gradient"},te={POSITIVE:"positive",NEGATIVE:"negative"},it={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},ve={ORIENTATION:ot.HORIZONTAL,VARIANT:gr.SOLID,ARROW_DIRECTION:te.NEGATIVE,BUTTON_DIRECTION:te.NEGATIVE};var fs=[E,h`
990
990
  :host {
991
991
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
992
992
  --mdc-divider-width: 0.0625rem;
@@ -1130,29 +1130,29 @@
1130
1130
  font-size: var(--mdc-divider-text-size);
1131
1131
  line-height: var(--mdc-divider-text-line-height);
1132
1132
  }
1133
- `],So=Ui;var te=class extends g{constructor(){super();this.orientation=ue.ORIENTATION;this.variant=ue.VARIANT;this.arrowDirection=ue.ARROW_DIRECTION;this.buttonPosition=ue.BUTTON_DIRECTION;this.setAttribute("data-type","mdc-primary-divider")}setVariant(e){this.setAttribute("variant",Object.values(Jt).includes(e)?e:ue.VARIANT)}setOrientation(e){this.setAttribute("orientation",Object.values(We).includes(e)?e:ue.ORIENTATION)}ensureValidDirections(){let e=this.orientation===We.HORIZONTAL?ee.NEGATIVE:ee.POSITIVE;Object.values(ee).includes(this.buttonPosition)||(this.buttonPosition=e),Object.values(ee).includes(this.arrowDirection)||(this.arrowDirection=e)}setGrabberButton(){this.ensureValidDirections();let e=this.querySelector("mdc-button");if(e){let r=this.getArrowIcon();e.setAttribute("variant","secondary"),e.setAttribute("prefix-icon",r)}}getArrowIcon(){let e=this.orientation===We.HORIZONTAL,r=this.arrowDirection===ee.POSITIVE;return e?r?Ke.UP:Ke.DOWN:r?Ke.RIGHT:Ke.LEFT}update(e){super.update(e),e.has("orientation")&&this.setOrientation(this.orientation),e.has("variant")&&this.setVariant(this.variant),(e.has("orientation")||e.has("arrowDirection")||e.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var a;let e=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),r=(e==null?void 0:e.assignedElements({flatten:!0}))||[];if(r.length>1)return;let i=r.some(c=>c.tagName===Be.toUpperCase()),n=r.some(c=>c.tagName===Ye.toUpperCase());i&&!n?this.setAttribute("data-type","mdc-text-divider"):!i&&n&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}render(){return l`
1133
+ `],Fo=fs;var re=class extends g{constructor(){super();this.orientation=ve.ORIENTATION;this.variant=ve.VARIANT;this.arrowDirection=ve.ARROW_DIRECTION;this.buttonPosition=ve.BUTTON_DIRECTION;this.setAttribute("data-type","mdc-primary-divider")}setVariant(e){this.setAttribute("variant",Object.values(gr).includes(e)?e:ve.VARIANT)}setOrientation(e){this.setAttribute("orientation",Object.values(ot).includes(e)?e:ve.ORIENTATION)}ensureValidDirections(){let e=this.orientation===ot.HORIZONTAL?te.NEGATIVE:te.POSITIVE;Object.values(te).includes(this.buttonPosition)||(this.buttonPosition=e),Object.values(te).includes(this.arrowDirection)||(this.arrowDirection=e)}setGrabberButton(){this.ensureValidDirections();let e=this.querySelector("mdc-button");if(e){let r=this.getArrowIcon();e.setAttribute("variant","secondary"),e.setAttribute("prefix-icon",r)}}getArrowIcon(){let e=this.orientation===ot.HORIZONTAL,r=this.arrowDirection===te.POSITIVE;return e?r?it.UP:it.DOWN:r?it.RIGHT:it.LEFT}update(e){super.update(e),e.has("orientation")&&this.setOrientation(this.orientation),e.has("variant")&&this.setVariant(this.variant),(e.has("orientation")||e.has("arrowDirection")||e.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var s;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot"),r=(e==null?void 0:e.assignedElements({flatten:!0}))||[];if(r.length>1)return;let o=r.some(l=>l.tagName===We.toUpperCase()),n=r.some(l=>l.tagName===Je.toUpperCase());o&&!n?this.setAttribute("data-type","mdc-text-divider"):!o&&n&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}render(){return m`
1134
1134
  <div></div>
1135
1135
  <slot @slotchange=${this.inferDividerType}></slot>
1136
1136
  <div></div>
1137
- `}};te.styles=[...g.styles,...So],s([d({type:String,reflect:!0})],te.prototype,"orientation",2),s([d({type:String,reflect:!0})],te.prototype,"variant",2),s([d({type:String,attribute:"arrow-direction",reflect:!0})],te.prototype,"arrowDirection",2),s([d({type:String,attribute:"button-position",reflect:!0})],te.prototype,"buttonPosition",2);var er=te;er.register(Ao);var Pi=er;var Vi=[x,p`
1137
+ `}};re.styles=[...g.styles,...Fo],a([d({type:String,reflect:!0})],re.prototype,"orientation",2),a([d({type:String,reflect:!0})],re.prototype,"variant",2),a([d({type:String,attribute:"arrow-direction",reflect:!0})],re.prototype,"arrowDirection",2),a([d({type:String,attribute:"button-position",reflect:!0})],re.prototype,"buttonPosition",2);var fr=re;fr.register(Bo);var bs=fr;var vs=[E,h`
1138
1138
  :host {
1139
1139
  padding: unset;
1140
1140
  margin: unset;
1141
1141
  outline: none;
1142
1142
  border-radius: 0.25rem;
1143
1143
  }
1144
- `,...S()],Io=Vi;var Qe=class extends ut($(J)){constructor(){super();this.ariaLabel=null;this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role="button",this.type=U.TYPE}update(e){super.update(e),e.has("size")&&this.setSize(this.size)}setSize(e){this.setAttribute("size",Object.values(v).includes(e)?`${e}`:Ae.SIZE.toString())}render(){return l`
1144
+ `,...S()],Yo=vs;var st=class extends Nt(P(ee)){constructor(){super();this.ariaLabel=null;this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role="button",this.type=H.TYPE}update(e){super.update(e),e.has("size")&&this.setSize(this.size)}setSize(e){this.setAttribute("size",Object.values(x).includes(e)?`${e}`:ze.SIZE.toString())}render(){return m`
1145
1145
  <mdc-avatar
1146
1146
  slot="prefixIcon"
1147
1147
  ?is-typing="${this.isTyping}"
1148
- counter="${b(this.counter)}"
1149
- icon-name="${b(this.iconName)}"
1150
- initials="${b(this.initials)}"
1151
- presence="${b(this.presence)}"
1152
- size="${b(this.size)}"
1153
- src="${b(this.src)}"
1148
+ counter="${y(this.counter)}"
1149
+ icon-name="${y(this.iconName)}"
1150
+ initials="${y(this.initials)}"
1151
+ presence="${y(this.presence)}"
1152
+ size="${y(this.size)}"
1153
+ src="${y(this.src)}"
1154
1154
  ></mdc-avatar>
1155
- `}};Qe.styles=[...Io],s([d({type:String,attribute:"aria-label"})],Qe.prototype,"ariaLabel",2);var tr=Qe;var No=u.constructTagName("avatarbutton");tr.register(No);var Gi=tr;var Hi=[p`
1155
+ `}};st.styles=[...Yo],a([d({type:String,attribute:"aria-label"})],st.prototype,"ariaLabel",2);var br=st;var Xo=u.constructTagName("avatarbutton");br.register(Xo);var ys=br;var xs=[h`
1156
1156
  :host{
1157
1157
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
1158
1158
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -1266,7 +1266,7 @@
1266
1266
  opacity: 0;
1267
1267
  pointer-events: none;
1268
1268
  }
1269
- `,...S(!0)],ko=Hi;var N=[];for(let o=0;o<256;++o)N.push((o+256).toString(16).slice(1));function Co(o,t=0){return(N[o[t+0]]+N[o[t+1]]+N[o[t+2]]+N[o[t+3]]+"-"+N[o[t+4]]+N[o[t+5]]+"-"+N[o[t+6]]+N[o[t+7]]+"-"+N[o[t+8]]+N[o[t+9]]+"-"+N[o[t+10]]+N[o[t+11]]+N[o[t+12]]+N[o[t+13]]+N[o[t+14]]+N[o[t+15]]).toLowerCase()}var rr,Bi=new Uint8Array(16);function or(){if(!rr){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");rr=crypto.getRandomValues.bind(crypto)}return rr(Bi)}var Fi=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ir={randomUUID:Fi};function Xi(o,t,e){var i,n,a;if(ir.randomUUID&&!t&&!o)return ir.randomUUID();o=o||{};let r=(a=(n=o.random)!=null?n:(i=o.rng)==null?void 0:i.call(o))!=null?a:or();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(e=e||0,e<0||e+16>t.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let c=0;c<16;++c)t[e+c]=r[c];return t}return Co(r)}var ar=Xi;var Yi=[x,p`
1269
+ `,...S(!0)],Zo=xs;var N=[];for(let i=0;i<256;++i)N.push((i+256).toString(16).slice(1));function jo(i,t=0){return(N[i[t+0]]+N[i[t+1]]+N[i[t+2]]+N[i[t+3]]+"-"+N[i[t+4]]+N[i[t+5]]+"-"+N[i[t+6]]+N[i[t+7]]+"-"+N[i[t+8]]+N[i[t+9]]+"-"+N[i[t+10]]+N[i[t+11]]+N[i[t+12]]+N[i[t+13]]+N[i[t+14]]+N[i[t+15]]).toLowerCase()}var vr,Es=new Uint8Array(16);function yr(){if(!vr){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");vr=crypto.getRandomValues.bind(crypto)}return vr(Es)}var Ts=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),xr={randomUUID:Ts};function _s(i,t,e){var o,n,s;if(xr.randomUUID&&!t&&!i)return xr.randomUUID();i=i||{};let r=(s=(n=i.random)!=null?n:(o=i.rng)==null?void 0:o.call(i))!=null?s:yr();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(e=e||0,e<0||e+16>t.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let l=0;l<16;++l)t[e+l]=r[l];return t}return jo(r)}var Er=_s;var As=[E,h`
1270
1270
  :host {
1271
1271
  flex-direction: column;
1272
1272
  align-items: flex-start;
@@ -1311,49 +1311,49 @@
1311
1311
  :host([help-text-type='priority']) .mdc-help-text {
1312
1312
  color: var(--mds-color-theme-text-accent-normal);
1313
1313
  }
1314
- `],zo=Yi;var Lo=u.constructTagName("formfieldwrapper"),P={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},nr={VALIDATION:P.DEFAULT},sr={TAGNAME:T.SPAN,TYPE:A.BODY_MIDSIZE_REGULAR};var Ro=o=>({[P.ERROR]:"error-legacy-badge-filled",[P.WARNING]:"warning-badge-filled",[P.SUCCESS]:"check-circle-badge-filled",[P.PRIORITY]:"priority-badge-filled",[P.DEFAULT]:""})[o]||"";var re=class extends Ne(g){constructor(){super(...arguments);this.id=`mdc-input-${ar()}`;this.helpTextType=nr.VALIDATION}renderLabelElement(){return this.label?l`<label for="${this.id}" class="mdc-label" part="label">${this.label}</label>`:h}renderHelpTextIcon(){if(!this.helpText)return h;let e=Ro(this.helpTextType||nr.VALIDATION);return e&&!this.disabled?l`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${e}></mdc-icon>`:h}renderHelpText(){return this.helpText?l`
1314
+ `],Wo=As;var qo=u.constructTagName("formfieldwrapper"),G={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Tr={VALIDATION:G.DEFAULT},_r={TAGNAME:T.SPAN,TYPE:A.BODY_MIDSIZE_REGULAR};var Ko=i=>({[G.ERROR]:"error-legacy-badge-filled",[G.WARNING]:"warning-badge-filled",[G.SUCCESS]:"check-circle-badge-filled",[G.PRIORITY]:"priority-badge-filled",[G.DEFAULT]:""})[i]||"";var oe=class extends Me(g){constructor(){super(...arguments);this.id=`mdc-input-${Er()}`;this.helpTextType=Tr.VALIDATION}renderLabelElement(){return this.label?m`<label for="${this.id}" class="mdc-label" part="label">${this.label}</label>`:p}renderHelpTextIcon(){if(!this.helpText)return p;let e=Ko(this.helpTextType||Tr.VALIDATION);return e&&!this.disabled?m`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${e}></mdc-icon>`:p}renderHelpText(){return this.helpText?m`
1315
1315
  <mdc-text
1316
1316
  part="help-text"
1317
- tagname=${sr.TAGNAME}
1318
- type=${sr.TYPE}
1317
+ tagname=${_r.TAGNAME}
1318
+ type=${_r.TYPE}
1319
1319
  >
1320
1320
  ${this.helpText}
1321
1321
  </mdc-text>
1322
- `:h}renderLabel(){return l`<div class="mdc-label-text" part="label-text">
1322
+ `:p}renderLabel(){return m`<div class="mdc-label-text" part="label-text">
1323
1323
  <slot name="label">${this.renderLabelElement()}</slot>
1324
1324
  <slot name="label-info"></slot>
1325
- </div>`}renderHelperText(){return l`<div class="mdc-help-text" part="mdc-help-text">
1325
+ </div>`}renderHelperText(){return m`<div class="mdc-help-text" part="mdc-help-text">
1326
1326
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
1327
1327
  <slot name="help-text">${this.renderHelpText()}</slot>
1328
- </div>`}};re.styles=[...g.styles,...zo],s([d({reflect:!0,type:String})],re.prototype,"label",2),s([d({type:String})],re.prototype,"id",2),s([d({reflect:!0,attribute:"help-text-type"})],re.prototype,"helpTextType",2),s([d({type:String,reflect:!0,attribute:"help-text"})],re.prototype,"helpText",2);var Y=re;Y.register(Lo);var ze=Y;var oe=o=>{class t extends o{constructor(){super(...arguments);this.name=""}}return s([d({reflect:!0,type:String})],t.prototype,"name",2),t};var wo=u.constructTagName("input"),Mo={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},$o={MAX_LENGTH:10,HELPERTEXT:"Prefix text should not exceed 10 characters",VALIDATION:P.ERROR},ie={VALIDATION:P.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:he.TERTIARY,CLEAR_BUTTON_SIZE:X[20],PREFIX_TEXT_TYPE:A.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:T.SPAN};var ae=o=>{class t extends o{constructor(){super(...arguments);this.value=""}}return s([d({reflect:!0,type:String})],t.prototype,"value",2),t};var ne=o=>{class t extends o{constructor(){super(...arguments);this.dataAriaLabel=null}}return s([d({type:String,reflect:!0,attribute:"data-aria-label"})],t.prototype,"dataAriaLabel",2),t};var _=class extends ne(ae(oe(ze))){constructor(){super();this.placeholder="";this.required=!1;this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Mo.OFF;this.autocomplete="off";this.autofocus=!1;this.clearAriaLabel="";this.internals=this.attachInternals()}checkValidity(){return this.setValidityFromInput(),this.internals.checkValidity()}reportValidity(){return this.setValidityFromInput(),this.internals.reportValidity()}get form(){return this.internals.form}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.inputElement.checkValidity(),this.setValidityFromInput(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&this.handleValueChange()}handleValueChange(){this.internals.setFormValue(this.value),this.updateComplete.then(()=>{this.setValidityFromInput()}).catch(e=>{this.onerror&&this.onerror(e)})}attributeChangedCallback(e,r,i){super.attributeChangedCallback(e,r,i),["maxlength","minlength","pattern","required"].includes(e)&&this.updateComplete.then(()=>{this.setValidityFromInput()}).catch(a=>{this.onerror&&this.onerror(a)})}setValidityFromInput(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setValidityFromInput()}onChange(e){this.updateValue(),this.setValidityFromInput();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.internals.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?l`
1328
+ </div>`}};oe.styles=[...g.styles,...Wo],a([d({reflect:!0,type:String})],oe.prototype,"label",2),a([d({type:String})],oe.prototype,"id",2),a([d({reflect:!0,attribute:"help-text-type"})],oe.prototype,"helpTextType",2),a([d({type:String,reflect:!0,attribute:"help-text"})],oe.prototype,"helpText",2);var W=oe;W.register(qo);var De=W;var ie=i=>{class t extends i{constructor(){super(...arguments);this.name=""}}return a([d({reflect:!0,type:String})],t.prototype,"name",2),t};var Qo=u.constructTagName("input"),Jo={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},ei={MAX_LENGTH:10,HELPERTEXT:"Prefix text should not exceed 10 characters",VALIDATION:G.ERROR},se={VALIDATION:G.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:be.TERTIARY,CLEAR_BUTTON_SIZE:j[20],PREFIX_TEXT_TYPE:A.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:T.SPAN};var ne=i=>{class t extends i{constructor(){super(...arguments);this.value=""}}return a([d({reflect:!0,type:String})],t.prototype,"value",2),t};var ae=i=>{class t extends i{constructor(){super(...arguments);this.dataAriaLabel=null}}return a([d({type:String,reflect:!0,attribute:"data-aria-label"})],t.prototype,"dataAriaLabel",2),t};var _=class extends ae(ne(ie(De))){constructor(){super();this.placeholder="";this.required=!1;this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Jo.OFF;this.autocomplete="off";this.autofocus=!1;this.clearAriaLabel="";this.internals=this.attachInternals()}checkValidity(){return this.setValidityFromInput(),this.internals.checkValidity()}reportValidity(){return this.setValidityFromInput(),this.internals.reportValidity()}get form(){return this.internals.form}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.inputElement.checkValidity(),this.setValidityFromInput(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&this.handleValueChange()}handleValueChange(){this.internals.setFormValue(this.value),this.updateComplete.then(()=>{this.setValidityFromInput()}).catch(e=>{this.onerror&&this.onerror(e)})}attributeChangedCallback(e,r,o){super.attributeChangedCallback(e,r,o),["maxlength","minlength","pattern","required"].includes(e)&&this.updateComplete.then(()=>{this.setValidityFromInput()}).catch(s=>{this.onerror&&this.onerror(s)})}setValidityFromInput(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setValidityFromInput()}onChange(e){this.updateValue(),this.setValidityFromInput();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.internals.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?m`
1329
1329
  <mdc-icon
1330
1330
  class="leading-icon"
1331
1331
  part="leading-icon"
1332
1332
  name=${this.leadingIcon}
1333
- size="${ie.ICON_SIZE_VALUE}"
1334
- length-unit="${ie.ICON_SIZE_UNIT}">
1333
+ size="${se.ICON_SIZE_VALUE}"
1334
+ length-unit="${se.ICON_SIZE_UNIT}">
1335
1335
  </mdc-icon>
1336
- `:h}renderPrefixText(){return this.prefixText?l`
1336
+ `:p}renderPrefixText(){return this.prefixText?m`
1337
1337
  <mdc-text
1338
1338
  class="prefix-text"
1339
- tagname="${ie.PREFIX_TEXT_TAG}"
1340
- type="${ie.PREFIX_TEXT_TYPE}"
1339
+ tagname="${se.PREFIX_TEXT_TAG}"
1340
+ type="${se.PREFIX_TEXT_TYPE}"
1341
1341
  aria-hidden="true"
1342
1342
  >
1343
- ${this.prefixText.slice(0,$o.MAX_LENGTH)}
1343
+ ${this.prefixText.slice(0,ei.MAX_LENGTH)}
1344
1344
  </mdc-text>
1345
- `:h}clearInputText(){var e;this.value="",(e=this.inputElement)==null||e.focus()}renderTrailingButton(){return this.trailingButton?l`
1345
+ `:p}clearInputText(){var e;this.value="",(e=this.inputElement)==null||e.focus()}renderTrailingButton(){return this.trailingButton?m`
1346
1346
  <mdc-button
1347
1347
  part='trailing-button'
1348
1348
  class='${this.value?"":"hidden"}'
1349
- prefix-icon='${ie.CLEAR_BUTTON_ICON}'
1350
- variant='${ie.CLEAR_BUTTON_VARIANT}'
1351
- size="${ie.CLEAR_BUTTON_SIZE}"
1349
+ prefix-icon='${se.CLEAR_BUTTON_ICON}'
1350
+ variant='${se.CLEAR_BUTTON_VARIANT}'
1351
+ size="${se.CLEAR_BUTTON_SIZE}"
1352
1352
  aria-label="${this.clearAriaLabel}"
1353
1353
  @click=${this.clearInputText}
1354
1354
  ?disabled=${this.disabled||this.readonly||!this.value}
1355
1355
  ></mdc-button>
1356
- `:h}render(){var e;return l`
1356
+ `:p}render(){var e;return m`
1357
1357
  ${this.renderLabel()}
1358
1358
  <div class="input-container mdc-focus-ring" part="input-container">
1359
1359
  <slot name="input-leading-icon">${this.renderLeadingIcon()}</slot>
@@ -1371,16 +1371,16 @@
1371
1371
  ?readonly="${this.readonly}"
1372
1372
  ?required="${this.required}"
1373
1373
  type="text"
1374
- placeholder=${b(this.placeholder)}
1375
- minlength=${b(this.minlength)}
1376
- maxlength=${b(this.maxlength)}
1374
+ placeholder=${y(this.placeholder)}
1375
+ minlength=${y(this.minlength)}
1376
+ maxlength=${y(this.maxlength)}
1377
1377
  autocapitalize=${this.autocapitalize}
1378
1378
  autocomplete=${this.autocomplete}
1379
1379
  ?autofocus="${this.autofocus}"
1380
- dirname=${b(this.dirname)}
1381
- pattern=${b(this.pattern)}
1382
- list=${b(this.list)}
1383
- size=${b(this.size)}
1380
+ dirname=${y(this.dirname)}
1381
+ pattern=${y(this.pattern)}
1382
+ list=${y(this.list)}
1383
+ size=${y(this.size)}
1384
1384
  @input=${this.onInput}
1385
1385
  @change=${this.onChange}
1386
1386
  @keydown=${this.handleKeyDown}
@@ -1389,8 +1389,8 @@
1389
1389
  </div>
1390
1390
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
1391
1391
  </div>
1392
- ${this.helpText?this.renderHelperText():h}
1393
- `}};_.formAssociated=!0,_.styles=[...ze.styles,...ko],s([d({type:String})],_.prototype,"placeholder",2),s([d({type:Boolean})],_.prototype,"required",2),s([d({type:Boolean})],_.prototype,"readonly",2),s([d({type:String,attribute:"prefix-text"})],_.prototype,"prefixText",2),s([d({type:String,attribute:"leading-icon"})],_.prototype,"leadingIcon",2),s([d({type:Boolean,attribute:"trailing-button"})],_.prototype,"trailingButton",2),s([d({type:Number})],_.prototype,"maxlength",2),s([d({type:Number})],_.prototype,"minlength",2),s([d({type:String})],_.prototype,"autocapitalize",2),s([d({type:String})],_.prototype,"autocomplete",2),s([d({type:Boolean})],_.prototype,"autofocus",2),s([d({type:String})],_.prototype,"dirname",2),s([d({type:String})],_.prototype,"pattern",2),s([d({type:String})],_.prototype,"list",2),s([d({type:Number})],_.prototype,"size",2),s([d({type:String,attribute:"clear-aria-label"})],_.prototype,"clearAriaLabel",2),s([Ir("input")],_.prototype,"inputElement",2);var dr=_;dr.register(wo);var Zi=dr;var Oo=u.constructTagName("link"),Et={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Tt={LARGE:1,MIDSIZE:.875,SMALL:.75},_t={INLINE:!1,INVERTED:!1,LINK_SIZE:Et.LARGE};var qi=[x,p`
1392
+ ${this.helpText?this.renderHelperText():p}
1393
+ `}};_.formAssociated=!0,_.styles=[...De.styles,...Zo],a([d({type:String})],_.prototype,"placeholder",2),a([d({type:Boolean})],_.prototype,"required",2),a([d({type:Boolean})],_.prototype,"readonly",2),a([d({type:String,attribute:"prefix-text"})],_.prototype,"prefixText",2),a([d({type:String,attribute:"leading-icon"})],_.prototype,"leadingIcon",2),a([d({type:Boolean,attribute:"trailing-button"})],_.prototype,"trailingButton",2),a([d({type:Number})],_.prototype,"maxlength",2),a([d({type:Number})],_.prototype,"minlength",2),a([d({type:String})],_.prototype,"autocapitalize",2),a([d({type:String})],_.prototype,"autocomplete",2),a([d({type:Boolean})],_.prototype,"autofocus",2),a([d({type:String})],_.prototype,"dirname",2),a([d({type:String})],_.prototype,"pattern",2),a([d({type:String})],_.prototype,"list",2),a([d({type:Number})],_.prototype,"size",2),a([d({type:String,attribute:"clear-aria-label"})],_.prototype,"clearAriaLabel",2),a([Xr("input")],_.prototype,"inputElement",2);var Ar=_;Ar.register(Qo);var Ss=Ar;var ti=u.constructTagName("link"),Mt={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Ot={LARGE:1,MIDSIZE:.875,SMALL:.75},$t={INLINE:!1,INVERTED:!1,LINK_SIZE:Mt.LARGE};var Is=[E,h`
1394
1394
 
1395
1395
  :host {
1396
1396
 
@@ -1501,11 +1501,11 @@
1501
1501
  :host([inverted][disabled]) {
1502
1502
  color: var(--mdc-link-inverted-color-disabled);
1503
1503
  }
1504
- `,...S(),p`
1504
+ `,...S(),h`
1505
1505
  :host(:active) {
1506
1506
  box-shadow: none;
1507
1507
  }
1508
- `],Do=qi;var ge=class extends Ne($(g)){constructor(){super(...arguments);this.inline=_t.INLINE;this.inverted=_t.INVERTED;this.size=_t.LINK_SIZE;this.prevTabindex=null}getIconSize(){switch(this.size){case Et.SMALL:return Tt.SMALL;case Et.MIDSIZE:return Tt.MIDSIZE;default:return Tt.LARGE}}setDisabled(e){e?(this.prevTabindex=this.hasAttribute("tabindex")?this.tabIndex:null,this.tabIndex=-1,this.setAttribute("aria-disabled","true")):this.prevTabindex===null?(this.removeAttribute("tabindex"),this.removeAttribute("aria-disabled")):(this.tabIndex=this.prevTabindex,this.removeAttribute("aria-disabled"))}updateTrailingIcon(){var i,n;let e=(n=(i=this.shadowRoot)==null?void 0:i.querySelector("slot"))==null?void 0:n.assignedElements({flatten:!0}).find(a=>a.tagName==="A"),r=this.getIconSize();if(this.iconName&&e){let a=document.createElement("mdc-icon");a.setAttribute("name",this.iconName),a.setAttribute("size",`${r}`),a.setAttribute("length-unit","rem"),e.appendChild(a)}}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return l`<slot @slotchange=${this.updateTrailingIcon}></slot>`}};ge.styles=[...g.styles,...Do],s([d({type:Boolean,reflect:!0})],ge.prototype,"inline",2),s([d({type:Boolean,reflect:!0})],ge.prototype,"inverted",2),s([d({type:String,reflect:!0})],ge.prototype,"size",2);var cr=ge;cr.register(Oo);var ji=cr;var Wi=[x,p`
1508
+ `],ri=Is;var ye=class extends Me(P(g)){constructor(){super(...arguments);this.inline=$t.INLINE;this.inverted=$t.INVERTED;this.size=$t.LINK_SIZE;this.prevTabindex=null}getIconSize(){switch(this.size){case Mt.SMALL:return Ot.SMALL;case Mt.MIDSIZE:return Ot.MIDSIZE;default:return Ot.LARGE}}setDisabled(e){e?(this.prevTabindex=this.hasAttribute("tabindex")?this.tabIndex:null,this.tabIndex=-1,this.setAttribute("aria-disabled","true")):this.prevTabindex===null?(this.removeAttribute("tabindex"),this.removeAttribute("aria-disabled")):(this.tabIndex=this.prevTabindex,this.removeAttribute("aria-disabled"))}updateTrailingIcon(){var o,n;let e=(n=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"))==null?void 0:n.assignedElements({flatten:!0}).find(s=>s.tagName==="A"),r=this.getIconSize();if(this.iconName&&e){let s=document.createElement("mdc-icon");s.setAttribute("name",this.iconName),s.setAttribute("size",`${r}`),s.setAttribute("length-unit","rem"),e.appendChild(s)}}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return m`<slot @slotchange=${this.updateTrailingIcon}></slot>`}};ye.styles=[...g.styles,...ri],a([d({type:Boolean,reflect:!0})],ye.prototype,"inline",2),a([d({type:Boolean,reflect:!0})],ye.prototype,"inverted",2),a([d({type:String,reflect:!0})],ye.prototype,"size",2);var Sr=ye;Sr.register(ti);var Ns=Sr;var ks=[E,h`
1509
1509
  :host {
1510
1510
  --mdc-toggle-width: 3rem;
1511
1511
  --mdc-toggle-height: 1.5rem;
@@ -1649,15 +1649,15 @@
1649
1649
  border: var(--mdc-toggle-border);
1650
1650
  }
1651
1651
  }
1652
- `,...S(!0)],Uo=Wi;var Po=u.constructTagName("toggle"),lr={DEFAULT:"default",COMPACT:"compact"},mr={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Vo={compact:.75,default:1.25},pr={SIZE:lr.DEFAULT};var be=class extends oe(ae(ne(ze))){constructor(){super();this.checked=!1;this.size=pr.SIZE;this.internals=this.attachInternals(),this.helpTextType=void 0}get form(){return this.internals.form}setFormValue(){let e=null;this.checked&&(e=this.value?this.value:"isActive"),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(lr).includes(e)?e:pr.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return l`
1652
+ `,...S(!0)],oi=ks;var ii=u.constructTagName("toggle"),Ir={DEFAULT:"default",COMPACT:"compact"},Nr={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},si={compact:.75,default:1.25},kr={SIZE:Ir.DEFAULT};var xe=class extends ie(ne(ae(De))){constructor(){super();this.checked=!1;this.size=kr.SIZE;this.internals=this.attachInternals(),this.helpTextType=void 0}get form(){return this.internals.form}setFormValue(){let e=null;this.checked&&(e=this.value?this.value:"isActive"),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(Ir).includes(e)?e:kr.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return m`
1653
1653
  <div class="mdc-toggle__container mdc-focus-ring">
1654
1654
  <input
1655
1655
  id="${this.id}"
1656
1656
  type="checkbox"
1657
1657
  class="mdc-toggle__input"
1658
1658
  role="switch"
1659
- name="${b(this.name)}"
1660
- value="${b(this.value)}"
1659
+ name="${y(this.name)}"
1660
+ value="${y(this.value)}"
1661
1661
  .checked="${this.checked}"
1662
1662
  .disabled="${this.disabled}"
1663
1663
  aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
@@ -1666,16 +1666,16 @@
1666
1666
  />
1667
1667
  <div class="mdc-toggle__slider">
1668
1668
  <mdc-icon
1669
- name="${this.checked?mr.CHECKED:mr.UNCHECKED}"
1669
+ name="${this.checked?Nr.CHECKED:Nr.UNCHECKED}"
1670
1670
  class="mdc-toggle__icon"
1671
1671
  length-unit="rem"
1672
- size="${Vo[this.size]}"
1672
+ size="${si[this.size]}"
1673
1673
  ></mdc-icon>
1674
1674
  </div>
1675
1675
  </div>
1676
1676
  ${this.renderLabel()}
1677
1677
  ${this.renderHelperText()}
1678
- `}};be.formAssociated=!0,be.styles=[...ze.styles,...Uo],s([d({type:Boolean,reflect:!0})],be.prototype,"checked",2),s([d({type:String,reflect:!0})],be.prototype,"size",2);var hr=be;hr.register(Po);var Ki=hr;var At=u.constructTagName("checkbox"),ur={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Qi=[p`
1678
+ `}};xe.formAssociated=!0,xe.styles=[...De.styles,...oi],a([d({type:Boolean,reflect:!0})],xe.prototype,"checked",2),a([d({type:String,reflect:!0})],xe.prototype,"size",2);var Cr=xe;Cr.register(ii);var Cs=Cr;var Dt=u.constructTagName("checkbox"),zr={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var zs=[h`
1679
1679
  :host {
1680
1680
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
1681
1681
  --mdc-checkbox-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1777,25 +1777,25 @@
1777
1777
  border: 0.0625rem solid var(--mdc-checkbox-border-color);
1778
1778
  }
1779
1779
  }
1780
- `,...S(!0)],Go=Qi;var se=class extends oe(ae(ne(Y))){constructor(){super();this.checked=!1;this.indeterminate=!1;this.internals=this.attachInternals(),this.helpTextType=void 0}get form(){return this.internals.form}setFormValue(){let e=null;this.checked&&(e=this.value?this.value:"on"),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var i;let e=this.checked||this.indeterminate?l`
1780
+ `,...S(!0)],ni=zs;var le=class extends ie(ne(ae(W))){constructor(){super();this.checked=!1;this.indeterminate=!1;this.internals=this.attachInternals(),this.helpTextType=void 0}get form(){return this.internals.form}setFormValue(){let e=null;this.checked&&(e=this.value?this.value:"on"),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var o;let e=this.checked||this.indeterminate?m`
1781
1781
  <mdc-icon
1782
1782
  class="icon"
1783
- name="${this.indeterminate?ur.INDETERMINATE:ur.CHECKED}"
1783
+ name="${this.indeterminate?zr.INDETERMINATE:zr.CHECKED}"
1784
1784
  size="1"
1785
1785
  length-unit="rem"
1786
1786
  ></mdc-icon>
1787
- `:h,r=this.helpText?this.renderHelperText():h;return l`
1787
+ `:p,r=this.helpText?this.renderHelperText():p;return m`
1788
1788
  <div class="container mdc-focus-ring">
1789
1789
  <input
1790
1790
  id="${this.id}"
1791
1791
  type="checkbox"
1792
1792
  class="input"
1793
- name="${b(this.name)}"
1794
- value="${b(this.value)}"
1793
+ name="${y(this.name)}"
1794
+ value="${y(this.value)}"
1795
1795
  .checked="${this.checked}"
1796
1796
  .indeterminate="${this.indeterminate}"
1797
1797
  .disabled="${this.disabled}"
1798
- aria-label="${(i=this.dataAriaLabel)!=null?i:""}"
1798
+ aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
1799
1799
  @change=${this.handleChange}
1800
1800
  @keydown=${this.handleKeyDown}
1801
1801
  />
@@ -1805,19 +1805,19 @@
1805
1805
  ${this.renderLabel()}
1806
1806
  ${r}
1807
1807
  </div>
1808
- `}};se.formAssociated=!0,se.shadowRootOptions={...M.shadowRootOptions,delegatesFocus:!0},se.styles=[...Y.styles,...Go],s([d({type:Boolean,reflect:!0})],se.prototype,"checked",2),s([d({type:Boolean,reflect:!0})],se.prototype,"indeterminate",2);var gr=se;gr.register(At);var Ji=gr;var ea=p`
1808
+ `}};le.formAssociated=!0,le.shadowRootOptions={...D.shadowRootOptions,delegatesFocus:!0},le.styles=[...W.styles,...ni],a([d({type:Boolean,reflect:!0})],le.prototype,"checked",2),a([d({type:Boolean,reflect:!0})],le.prototype,"indeterminate",2);var Rr=le;Rr.register(Dt);var Rs=Rr;var ws=h`
1809
1809
  :host {
1810
1810
  display: flex;
1811
1811
  flex-direction: column;
1812
1812
  gap: 0.75rem;
1813
1813
  }
1814
- `,Ho=[ea];var Le=class extends g{constructor(){super();this.role="group";this.addEventListener("keydown",this.handleKeyDown)}get checkboxList(){var i,n,a;let e=Array.from((n=(i=this.shadowRoot)==null?void 0:i.querySelectorAll("slot"))!=null?n:[]);return(((a=e==null?void 0:e.filter(c=>c.name!=="help-text")[0])==null?void 0:a.assignedElements())||[]).filter(c=>c.tagName.toLowerCase()===At)}handleKeyDown(e){e.key==="ArrowDown"&&this.navigate(e.target,1),e.key==="ArrowUp"&&this.navigate(e.target,-1)}navigate(e,r){let i=this.checkboxList.map(c=>c.id),a=((i.indexOf(e.id)+r)%i.length+i.length)%i.length;this.children[a].focus()}render(){let e=this.headerText?l`<mdc-text class="header-text" tagname="${T.SPAN}" type="${A.BODY_LARGE_BOLD}">
1814
+ `,ai=[ws];var Pe=class extends g{constructor(){super();this.role="group";this.addEventListener("keydown",this.handleKeyDown)}get checkboxList(){var o,n,s;let e=Array.from((n=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("slot"))!=null?n:[]);return(((s=e==null?void 0:e.filter(l=>l.name!=="help-text")[0])==null?void 0:s.assignedElements())||[]).filter(l=>l.tagName.toLowerCase()===Dt)}handleKeyDown(e){e.key==="ArrowDown"&&this.navigate(e.target,1),e.key==="ArrowUp"&&this.navigate(e.target,-1)}navigate(e,r){let o=this.checkboxList.map(l=>l.id),s=((o.indexOf(e.id)+r)%o.length+o.length)%o.length;this.children[s].focus()}render(){let e=this.headerText?m`<mdc-text class="header-text" tagname="${T.SPAN}" type="${A.BODY_LARGE_BOLD}">
1815
1815
  ${this.headerText}
1816
- </mdc-text>`:h;return l`
1816
+ </mdc-text>`:p;return m`
1817
1817
  ${e}
1818
1818
  <slot name="help-text"></slot>
1819
1819
  <slot></slot>
1820
- `}};Le.styles=[...g.styles,...Ho],s([d({type:String,attribute:"header-text"})],Le.prototype,"headerText",2),s([d({type:String,reflect:!0})],Le.prototype,"role",2);var br=Le;var Bo=u.constructTagName("checkboxgroup");br.register(Bo);var ta=br;var ra=[x,p`
1820
+ `}};Pe.styles=[...g.styles,...ai],a([d({type:String,attribute:"header-text"})],Pe.prototype,"headerText",2),a([d({type:String,reflect:!0})],Pe.prototype,"role",2);var wr=Pe;var li=u.constructTagName("checkboxgroup");wr.register(li);var Ls=wr;var Ms=[E,h`
1821
1821
  :host{
1822
1822
  --mdc-radio-inner-circle-size: 0.375rem;
1823
1823
  --mdc-radio-text-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -1975,15 +1975,15 @@
1975
1975
  justify-content: center;
1976
1976
  gap: 0.25rem;
1977
1977
  }
1978
- `,...S(!0)],Fo=ra;var ve=class extends oe(ae(ne(Y))){constructor(){super();this.checked=!1;this.readonly=!1;this.internals=this.attachInternals()}get form(){return this.internals.form}setFormValue(){this.checked&&this.internals.setFormValue(this.value)}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(e){let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleChange(e){var n;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(a=>{var m;let c=(m=a.shadowRoot)==null?void 0:m.querySelector("input");c&&(a.checked=!1,c.checked=!1)}),this.checked=!0;let i=(n=this.shadowRoot)==null?void 0:n.querySelector("input");i&&(i.checked=!0),this.dispatchChangeEvent(e)}updateRadio(e,r,i){var n,a;(a=(n=e[r].shadowRoot)==null?void 0:n.querySelector("input"))==null||a.focus(),e[r].handleChange(i)}handleKeyDown(e){if(this.disabled)return;let i=this.getAllRadiosWithinSameGroup().filter(a=>!a.disabled),n=i.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let a=(n+1)%i.length;this.updateRadio(i,a,e)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let a=(n-1+i.length)%i.length;this.updateRadio(i,a,e)}this.updateTabIndex()}updateTabIndex(){let e=this.getAllRadiosWithinSameGroup(),r=e.find(n=>n.checked),i=e.find(n=>!n.disabled);e.forEach(n=>{var c;let a=(c=n.shadowRoot)==null?void 0:c.querySelector("input");a&&(a.tabIndex=-1,(n===r||!r&&n===i)&&(a.tabIndex=0))})}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var r;let e=this.helpText?this.renderHelperText():h;return l`
1978
+ `,...S(!0)],di=Ms;var Ee=class extends ie(ne(ae(W))){constructor(){super();this.checked=!1;this.readonly=!1;this.internals=this.attachInternals()}get form(){return this.internals.form}setFormValue(){this.checked&&this.internals.setFormValue(this.value)}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(e){let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleChange(e){var n;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(s=>{var c;let l=(c=s.shadowRoot)==null?void 0:c.querySelector("input");l&&(s.checked=!1,l.checked=!1)}),this.checked=!0;let o=(n=this.shadowRoot)==null?void 0:n.querySelector("input");o&&(o.checked=!0),this.dispatchChangeEvent(e)}updateRadio(e,r,o){var n,s;(s=(n=e[r].shadowRoot)==null?void 0:n.querySelector("input"))==null||s.focus(),e[r].handleChange(o)}handleKeyDown(e){if(this.disabled)return;let o=this.getAllRadiosWithinSameGroup().filter(s=>!s.disabled),n=o.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let s=(n+1)%o.length;this.updateRadio(o,s,e)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let s=(n-1+o.length)%o.length;this.updateRadio(o,s,e)}this.updateTabIndex()}updateTabIndex(){let e=this.getAllRadiosWithinSameGroup(),r=e.find(n=>n.checked),o=e.find(n=>!n.disabled);e.forEach(n=>{var l;let s=(l=n.shadowRoot)==null?void 0:l.querySelector("input");s&&(s.tabIndex=-1,(n===r||!r&&n===o)&&(s.tabIndex=0))})}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var r;let e=this.helpText?this.renderHelperText():p;return m`
1979
1979
  <div class="mdc-radio__container">
1980
1980
  <div class="mdc-radio__icon-container mdc-focus-ring">
1981
1981
  <input
1982
1982
  id="${this.id}"
1983
1983
  type="radio"
1984
1984
  role="radio"
1985
- name="${b(this.name)}"
1986
- value="${b(this.value)}"
1985
+ name="${y(this.name)}"
1986
+ value="${y(this.value)}"
1987
1987
  @change=${this.handleChange}
1988
1988
  @keydown=${this.handleKeyDown}
1989
1989
  ?checked=${this.checked}
@@ -2000,7 +2000,34 @@
2000
2000
  ${e}
2001
2001
  </div>
2002
2002
  </div>
2003
- `}};ve.formAssociated=!0,ve.styles=[...Y.styles,...Fo],s([d({type:Boolean,reflect:!0})],ve.prototype,"checked",2),s([d({type:Boolean,reflect:!0})],ve.prototype,"readonly",2);var vr=ve;var Xo=u.constructTagName("radio");vr.register(Xo);var oa=vr;var ia=[x,p`
2003
+ `}};Ee.formAssociated=!0,Ee.styles=[...W.styles,...di],a([d({type:Boolean,reflect:!0})],Ee.prototype,"checked",2),a([d({type:Boolean,reflect:!0})],Ee.prototype,"readonly",2);var Lr=Ee;var ci=u.constructTagName("radio");Lr.register(ci);var Os=Lr;function Te(i,t,e){var n;let r=(n=e.initialDeps)!=null?n:[],o;return()=>{var s,l,c,b;let f;e.key&&((s=e.debug)!=null&&s.call(e))&&(f=Date.now());let v=i();if(!(v.length!==r.length||v.some(($,de)=>r[de]!==$)))return o;r=v;let R;if(e.key&&((l=e.debug)!=null&&l.call(e))&&(R=Date.now()),o=t(...v),e.key&&((c=e.debug)!=null&&c.call(e))){let $=Math.round((Date.now()-f)*100)/100,de=Math.round((Date.now()-R)*100)/100,Bt=de/16,at=(Ae,ki)=>{for(Ae=String(Ae);Ae.length<ki;)Ae=" "+Ae;return Ae};console.info(`%c\u23F1 ${at(de,5)} /${at($,5)} ms`,`
2004
+ font-size: .6rem;
2005
+ font-weight: bold;
2006
+ color: hsl(${Math.max(0,Math.min(120-120*Bt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return(b=e==null?void 0:e.onChange)==null||b.call(e,o),o}}function Pt(i,t){if(i===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return i}var mi=(i,t)=>Math.abs(i-t)<1,hi=(i,t,e)=>{let r;return function(...o){i.clearTimeout(r),r=i.setTimeout(()=>t.apply(this,o),e)}};var $s=i=>i,Ds=i=>{let t=Math.max(i.startIndex-i.overscan,0),e=Math.min(i.endIndex+i.overscan,i.count-1),r=[];for(let o=t;o<=e;o++)r.push(o);return r},ui=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=s=>{let{width:l,height:c}=s;t({width:Math.round(l),height:Math.round(c)})};if(o(e.getBoundingClientRect()),!r.ResizeObserver)return()=>{};let n=new r.ResizeObserver(s=>{let l=s[0];if(l!=null&&l.borderBoxSize){let c=l.borderBoxSize[0];if(c){o({width:c.inlineSize,height:c.blockSize});return}}o(e.getBoundingClientRect())});return n.observe(e,{box:"border-box"}),()=>{n.unobserve(e)}},pi={passive:!0};var Ps=typeof window>"u"?!0:"onscrollend"in window,gi=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=0,n=i.options.useScrollendEvent&&Ps?()=>{}:hi(r,()=>{t(o,!1)},i.options.isScrollingResetDelay),s=b=>()=>{let{horizontal:f,isRtl:v}=i.options;o=f?e.scrollLeft*(v&&-1||1):e.scrollTop,n(),t(o,b)},l=s(!0),c=s(!1);return c(),e.addEventListener("scroll",l,pi),e.addEventListener("scrollend",c,pi),()=>{e.removeEventListener("scroll",l),e.removeEventListener("scrollend",c)}};var Us=(i,t,e)=>{if(t!=null&&t.borderBoxSize){let r=t.borderBoxSize[0];if(r)return Math.round(r[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(i.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var fi=(i,{adjustments:t=0,behavior:e},r)=>{var o,n;let s=i+t;(n=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||n.call(o,{[r.options.horizontal?"left":"top"]:s,behavior:e})},Ut=class{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,r=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(o=>{o.forEach(n=>{this._measureElement(n.target,n)})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),e=null},observe:o=>{var n;return(n=r())==null?void 0:n.observe(o,{box:"border-box"})},unobserve:o=>{var n;return(n=r())==null?void 0:n.unobserve(o)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([r,o])=>{typeof o>"u"&&delete e[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:$s,rangeExtractor:Ds,onChange:()=>{},measureElement:Us,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,e)},this.maybeNotify=Te(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var o;var e;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(o=(e=this.scrollElement)==null?void 0:e.window)!=null?o:null,this.elementsCache.forEach(n=>{this.observer.observe(n)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,n=>{this.scrollRect=n,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(n,s)=>{this.scrollAdjustments=0,this.scrollDirection=s?this.getScrollOffset()<n?"forward":"backward":null,this.scrollOffset=n,this.isScrolling=s,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,r)=>{let o=new Map,n=new Map;for(let s=r-1;s>=0;s--){let l=e[s];if(o.has(l.lane))continue;let c=n.get(l.lane);if(c==null||l.end>c.end?n.set(l.lane,l):l.end<c.end&&o.set(l.lane,!0),o.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((s,l)=>s.end===l.end?s.index-l.index:s.end-l.end)[0]:void 0},this.getMeasurementOptions=Te(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,r,o,n,s)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:r,scrollMargin:o,getItemKey:n,enabled:s}),{key:!1}),this.getMeasurements=Te(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:r,scrollMargin:o,getItemKey:n,enabled:s},l)=>{if(!s)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(f=>{this.itemSizeCache.set(f.key,f.size)}));let c=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let b=this.measurementsCache.slice(0,c);for(let f=c;f<e;f++){let v=n(f),C=this.options.lanes===1?b[f-1]:this.getFurthestMeasurement(b,f),R=C?C.end+this.options.gap:r+o,$=l.get(v),de=typeof $=="number"?$:this.options.estimateSize(f),Bt=R+de,at=C?C.lane:f%this.options.lanes;b[f]={index:f,start:R,size:de,end:Bt,key:v,lane:at}}return this.measurementsCache=b,b},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Te(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,r,o)=>this.range=e.length>0&&r>0?Vs({measurements:e,outerSize:r,scrollOffset:o}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Te(()=>{let e=null,r=null,o=this.calculateRange();return o&&(e=o.startIndex,r=o.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,r]},(e,r,o,n,s)=>n===null||s===null?[]:e({startIndex:n,endIndex:s,overscan:r,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let r=this.options.indexAttribute,o=e.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(e,r)=>{let o=this.indexFromElement(e),n=this.measurementsCache[o];if(!n)return;let s=n.key,l=this.elementsCache.get(s);l!==e&&(l&&this.observer.unobserve(l),this.observer.observe(e),this.elementsCache.set(s,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,r,this))},this.resizeItem=(e,r)=>{var l;let o=this.measurementsCache[e];if(!o)return;let n=(l=this.itemSizeCache.get(o.key))!=null?l:o.size,s=r-n;s!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,s,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=s,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(e,void 0)},this.getVirtualItems=Te(()=>[this.getIndexes(),this.getMeasurements()],(e,r)=>{let o=[];for(let n=0,s=e.length;n<s;n++){let l=e[n],c=r[l];o.push(c)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let r=this.getMeasurements();if(r.length!==0)return Pt(r[bi(0,r.length-1,o=>Pt(r[o]).start,e)])},this.getOffsetForAlignment=(e,r)=>{let o=this.getSize(),n=this.getScrollOffset();r==="auto"&&e>=n+o&&(r="end"),r==="end"&&(e-=o);let s=this.options.horizontal?"scrollWidth":"scrollHeight",c=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-o;return Math.max(Math.min(c,e),0)},this.getOffsetForIndex=(e,r="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let o=this.measurementsCache[e];if(!o)return;let n=this.getSize(),s=this.getScrollOffset();if(r==="auto")if(o.end>=s+n-this.options.scrollPaddingEnd)r="end";else if(o.start<=s+this.options.scrollPaddingStart)r="start";else return[s,r];let l=o.start-this.options.scrollPaddingStart+(o.size-n)/2;switch(r){case"center":return[this.getOffsetForAlignment(l,r),r];case"end":return[this.getOffsetForAlignment(o.end+this.options.scrollPaddingEnd,r),r];default:return[this.getOffsetForAlignment(o.start-this.options.scrollPaddingStart,r),r]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(e,{align:r="auto",behavior:o}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let n=this.getOffsetForIndex(e,r);if(!n)return;let[s,l]=n;this._scrollToOffset(s,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[b]=Pt(this.getOffsetForIndex(e,l));mi(b,this.getScrollOffset())||this.scrollToIndex(e,{align:l,behavior:o})}else this.scrollToIndex(e,{align:l,behavior:o})}))},this.scrollBy=(e,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;var e;let r=this.getMeasurements(),o;return r.length===0?o=this.options.paddingStart:o=this.options.lanes===1?(n=(e=r[r.length-1])==null?void 0:e.end)!=null?n:0:Math.max(...r.slice(-this.options.lanes).map(s=>s.end)),Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:r,behavior:o})=>{this.options.scrollToFn(e,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}},bi=(i,t,e,r)=>{for(;i<=t;){let o=(i+t)/2|0,n=e(o);if(n<r)i=o+1;else if(n>r)t=o-1;else return o}return i>0?i-1:0};function Vs({measurements:i,outerSize:t,scrollOffset:e}){let r=i.length-1,n=bi(0,r,l=>i[l].start,e),s=n;for(;s<r&&i[s].end<e+t;)s++;return{startIndex:n,endIndex:s}}var Mr=class{constructor(t,e){this.cleanup=()=>{},(this.host=t).addController(this);let r={...e,onChange:(o,n)=>{var s;this.host.updateComplete.then(()=>this.host.requestUpdate()),(s=e.onChange)==null||s.call(e,o,n)}};this.virtualizer=new Ut(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Vt=class extends Mr{constructor(t,e){super(t,{observeElementRect:ui,observeElementOffset:gi,scrollToFn:fi,...e})}};var{I:qg}=io;var vi=i=>i.strings===void 0;var nt=(i,t)=>{var r;let e=i._$AN;if(e===void 0)return!1;for(let o of e)(r=o._$AO)==null||r.call(o,t,!1),nt(o,t);return!0},Ht=i=>{let t,e;do{if((t=i._$AM)===void 0)break;e=t._$AN,e.delete(i),i=t}while((e==null?void 0:e.size)===0)},yi=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),Bs(t)}};function Hs(i){this._$AN!==void 0?(Ht(this),this._$AM=i,yi(this)):this._$AM=i}function Gs(i,t=!1,e=0){let r=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(r))for(let n=e;n<r.length;n++)nt(r[n],!1),Ht(r[n]);else r!=null&&(nt(r,!1),Ht(r));else nt(this,i)}var Bs=i=>{var t,e;i.type==kt.CHILD&&((t=i._$AP)!=null||(i._$AP=Gs),(e=i._$AQ)!=null||(i._$AQ=Hs))},Gt=class extends Le{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),yi(this),this.isConnected=t._$AU}_$AO(t,e=!0){var r,o;t!==this.isConnected&&(this.isConnected=t,t?(r=this.reconnected)==null||r.call(this):(o=this.disconnected)==null||o.call(this)),e&&(nt(this,t),Ht(this))}setValue(t){if(vi(this.t))this.t._$AI(t,this);else{let e=[...this.t._$AH];e[this.i]=t,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var xi=()=>new $r,$r=class{},Or=new WeakMap,Ei=Ke(class extends Gt{render(i){return p}update(i,[t]){var r;let e=t!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=t,this.ht=(r=i.options)==null?void 0:r.host,this.rt(this.ct=i.element)),p}rt(i){var t;if(this.isConnected||(i=void 0),typeof this.Y=="function"){let e=(t=this.ht)!=null?t:globalThis,r=Or.get(e);r===void 0&&(r=new WeakMap,Or.set(e,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.set(this.Y,i),i!==void 0&&this.Y.call(this.ht,i)}else this.Y.value=i}get lt(){var i,t,e;return typeof this.Y=="function"?(t=Or.get((i=this.ht)!=null?i:globalThis))==null?void 0:t.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Fs=[h`
2007
+ :host {
2008
+ .mdc-virtualizedlist-scroll {
2009
+ height: 100%;
2010
+ width: 100%;
2011
+ overflow-y: auto;
2012
+ }
2013
+ .mdc-virtualizedlist-container {
2014
+ position: relative;
2015
+ width: 100%;
2016
+ }
2017
+ }
2018
+ `],Ti=Fs;var _i=u.constructTagName("virtualizedlist"),pf=u.constructTagName("virtualizedwrapper"),Ai={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var _e=class extends g{constructor(){super();this.virtualizerprops=Ai.VIRTUALIZER_PROPS;this.scrollElementRef=xi();this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){var r;super.update(e),e.get("virtualizerprops")&&((r=this.virtualizer)==null||r.setOptions({...this.virtualizer.options,...this.virtualizerprops}),this.requestUpdate())}connectedCallback(){var e;this.virtualizerController=new Vt(this,{count:this.virtualizerprops.count,estimateSize:(e=this.virtualizerprops)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerprops}),super.connectedCallback()}getVirtualizedListWrapper(e){var c,b;this.virtualizer=e.getVirtualizer();let{getVirtualItems:r,measureElement:o,getTotalSize:n}=this.virtualizer,s=r(),l={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(b=(c=s[0])==null?void 0:c.start)!=null?b:0}px)`};return this.setlistdata&&this.setlistdata({virtualItems:s,measureElement:o,listStyle:l}),m`<div
2019
+ class="mdc-virtualizedlist-container"
2020
+ style="height: ${n()}px;"
2021
+ >
2022
+ <slot></slot>
2023
+ </div>`}render(){return m`<div
2024
+ ${Ei(this.scrollElementRef)}
2025
+ class="mdc-virtualizedlist-scroll"
2026
+ @scroll=${this.onscroll&&this.onscroll}
2027
+ >
2028
+ ${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):m``}
2029
+ </div>
2030
+ `}};_e.styles=[...g.styles,...Ti],a([d({type:Function,attribute:"onscroll"})],_e.prototype,"onscroll",2),a([d({type:Object,attribute:"virtualizerprops"})],_e.prototype,"virtualizerprops",2),a([d({type:Function,attribute:"setlistdata"})],_e.prototype,"setlistdata",2);var Dr=_e;Dr.register(_i);var Ys=Dr;var Xs=[E,h`
2004
2031
 
2005
2032
  :host {
2006
2033
  --mdc-tab-content-gap: 0.5rem;
@@ -2243,20 +2270,20 @@
2243
2270
  color: var(--mdc-tab-pill-active-color-disabled);
2244
2271
  }
2245
2272
 
2246
- `,...S()],Yo=ia;var Zo=u.constructTagName("tab"),aa={GLASS:"glass",LINE:"line",PILL:"pill"},qo={TAB_VARIANT:aa.PILL};var Re=class extends $(J){constructor(){super();this.variant=qo.TAB_VARIANT;this.role="tab",this.softDisabled=void 0,this.size=void 0,this.type=void 0}modifyIconName(e){this.iconName&&(e?(this.prevIconName=this.iconName,this.iconName=`${Ze(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setActive(e,r){e.setAttribute("aria-selected",r?"true":"false"),this.modifyIconName(r)}executeAction(){this.active=!this.active}render(){return l`
2273
+ `,...S()],Si=Xs;var Ii=u.constructTagName("tab"),Zs={GLASS:"glass",LINE:"line",PILL:"pill"},Ni={TAB_VARIANT:Zs.PILL};var Ue=class extends P(ee){constructor(){super();this.variant=Ni.TAB_VARIANT;this.role="tab",this.softDisabled=void 0,this.size=void 0,this.type=void 0}modifyIconName(e){this.iconName&&(e?(this.prevIconName=this.iconName,this.iconName=`${et(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setActive(e,r){e.setAttribute("aria-selected",r?"true":"false"),this.modifyIconName(r)}executeAction(){this.active=!this.active}render(){return m`
2247
2274
  <div part="container">
2248
2275
  <slot name="badge" part="badge"></slot>
2249
- ${this.iconName?l` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:h}
2250
- ${this.text?l` <mdc-text
2276
+ ${this.iconName?m` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:p}
2277
+ ${this.text?m` <mdc-text
2251
2278
  type=${this.active?A.BODY_MIDSIZE_BOLD:A.BODY_MIDSIZE_MEDIUM}
2252
2279
  tagname=${T.SPAN}
2253
2280
  data-text=${this.text}
2254
2281
  part="text"
2255
2282
  >${this.text}</mdc-text
2256
- >`:h}
2283
+ >`:p}
2257
2284
  </div>
2258
2285
  <div part="indicator"></div>
2259
- `}};Re.styles=[...J.styles,...Yo],s([d({type:String,reflect:!0})],Re.prototype,"text",2),s([d({type:String,reflect:!0})],Re.prototype,"variant",2);var fr=Re;fr.register(Zo);var na=fr;})();
2286
+ `}};Ue.styles=[...ee.styles,...Si],a([d({type:String,reflect:!0})],Ue.prototype,"text",2),a([d({type:String,reflect:!0})],Ue.prototype,"variant",2);var Pr=Ue;Pr.register(Ii);var js=Pr;})();
2260
2287
  /*! Bundled license information:
2261
2288
 
2262
2289
  @lit/reactive-element/decorators/custom-element.js:
@@ -2440,5 +2467,26 @@ lit-html/directives/class-map.js:
2440
2467
  * Copyright 2018 Google LLC
2441
2468
  * SPDX-License-Identifier: BSD-3-Clause
2442
2469
  *)
2470
+
2471
+ lit-html/directive-helpers.js:
2472
+ (**
2473
+ * @license
2474
+ * Copyright 2020 Google LLC
2475
+ * SPDX-License-Identifier: BSD-3-Clause
2476
+ *)
2477
+
2478
+ lit-html/async-directive.js:
2479
+ (**
2480
+ * @license
2481
+ * Copyright 2017 Google LLC
2482
+ * SPDX-License-Identifier: BSD-3-Clause
2483
+ *)
2484
+
2485
+ lit-html/directives/ref.js:
2486
+ (**
2487
+ * @license
2488
+ * Copyright 2020 Google LLC
2489
+ * SPDX-License-Identifier: BSD-3-Clause
2490
+ *)
2443
2491
  */
2444
2492
  //# sourceMappingURL=index.js.map