@covalent/components 6.2.1 → 6.2.2

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.
Files changed (127) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +34 -29
  3. package/alert.js +6 -6
  4. package/alert.mjs +18 -13
  5. package/app-shell.js +8 -8
  6. package/app-shell.mjs +9 -3
  7. package/base-element.mjs +5 -0
  8. package/button.js +9 -9
  9. package/button.mjs +23 -14
  10. package/card.js +8 -8
  11. package/card.mjs +17 -15
  12. package/check-list-item.js +9 -9
  13. package/check-list-item.mjs +20 -11
  14. package/checkbox.js +2 -2
  15. package/checkbox.mjs +26 -17
  16. package/circular-progress.js +29 -29
  17. package/circular-progress.mjs +13 -9
  18. package/class-map.mjs +9 -0
  19. package/code-snippet.js +9 -9
  20. package/code-snippet.mjs +10 -7
  21. package/dialog.js +1 -1
  22. package/dialog.mjs +14 -14
  23. package/dialog2.mjs +55 -49
  24. package/directive-helpers.mjs +1 -1
  25. package/drawer.js +3 -3
  26. package/drawer.mjs +13 -7
  27. package/empty-state.js +5 -5
  28. package/empty-state.mjs +5 -3
  29. package/event-options.mjs +5 -0
  30. package/form-element.mjs +2 -2
  31. package/foundation.mjs +2 -2
  32. package/icon-button.js +8 -8
  33. package/icon-button.mjs +23 -14
  34. package/icon-check-toggle.js +9 -9
  35. package/icon-check-toggle.mjs +15 -6
  36. package/icon-radio-toggle.js +5 -5
  37. package/icon-radio-toggle.mjs +30 -21
  38. package/icon.js +2 -2
  39. package/icon.mjs +8 -7
  40. package/if-defined.mjs +1 -1
  41. package/index.js +1 -1
  42. package/index.mjs +100 -90
  43. package/linear-progress.js +12 -12
  44. package/linear-progress.mjs +23 -17
  45. package/list-expansion.js +8 -8
  46. package/list-expansion.mjs +38 -29
  47. package/list-item.js +1 -1
  48. package/list-item.mjs +6 -6
  49. package/list-item2.mjs +16 -15
  50. package/list.js +1 -1
  51. package/list.mjs +2 -2
  52. package/list2.mjs +6 -5
  53. package/menu.js +2 -2
  54. package/menu.mjs +25 -16
  55. package/mwc-checkbox-base.mjs +6 -6
  56. package/mwc-checkbox.css.mjs +2 -2
  57. package/mwc-drawer-base.mjs +11 -11
  58. package/mwc-icon.mjs +3 -3
  59. package/mwc-line-ripple-directive.mjs +16 -16
  60. package/mwc-list-base.mjs +25 -25
  61. package/mwc-list-item-base.mjs +11 -11
  62. package/mwc-list-item.css.mjs +3 -3
  63. package/mwc-menu-base.mjs +20 -20
  64. package/mwc-radio-base.mjs +11 -11
  65. package/mwc-radio.css.mjs +2 -2
  66. package/mwc-slider.css.mjs +20 -20
  67. package/mwc-tab-base.mjs +22 -22
  68. package/mwc-top-app-bar-base.mjs +10 -10
  69. package/nav-list-item.js +10 -10
  70. package/nav-list-item.mjs +32 -24
  71. package/package.json +1 -1
  72. package/property.mjs +5 -0
  73. package/query-assigned-elements.mjs +33 -0
  74. package/query-assigned-nodes.mjs +5 -0
  75. package/query.mjs +5 -0
  76. package/radio-list-item.js +10 -10
  77. package/radio-list-item.mjs +27 -18
  78. package/radio.js +2 -2
  79. package/radio.mjs +22 -13
  80. package/ripple-handlers.mjs +104 -2
  81. package/select.js +28 -28
  82. package/select.mjs +25 -15
  83. package/side-sheet.js +4 -4
  84. package/side-sheet.mjs +12 -6
  85. package/slider-range.js +7 -7
  86. package/slider-range.mjs +69 -61
  87. package/slider.js +3 -3
  88. package/slider.mjs +26 -18
  89. package/snackbar.js +15 -15
  90. package/snackbar.mjs +26 -20
  91. package/state.mjs +5 -0
  92. package/status-header-item.js +4 -4
  93. package/status-header-item.mjs +14 -13
  94. package/status-header.js +6 -6
  95. package/status-header.mjs +9 -7
  96. package/style-map.mjs +5 -0
  97. package/switch.js +18 -18
  98. package/switch.mjs +30 -21
  99. package/tab-bar.js +21 -21
  100. package/tab-bar.mjs +22 -13
  101. package/tab.js +3 -3
  102. package/tab.mjs +13 -4
  103. package/text-lockup.js +5 -5
  104. package/text-lockup.mjs +8 -6
  105. package/textarea.js +14 -14
  106. package/textarea.mjs +23 -15
  107. package/textfield.js +3 -3
  108. package/textfield.mjs +39 -39
  109. package/textfield2.mjs +26 -19
  110. package/toolbar.js +3 -3
  111. package/toolbar.mjs +9 -3
  112. package/tooltip.js +12 -12
  113. package/tooltip.mjs +12 -8
  114. package/top-app-bar-fixed.js +5 -5
  115. package/top-app-bar-fixed.mjs +29 -23
  116. package/top-app-bar.js +3 -3
  117. package/top-app-bar.mjs +2 -2
  118. package/top-app-bar2.mjs +1 -1
  119. package/tree-list-item.js +8 -8
  120. package/tree-list-item.mjs +5 -3
  121. package/tree-list.js +3 -3
  122. package/tree-list.mjs +4 -4
  123. package/tslib.es6.mjs +1 -0
  124. package/typography.js +4 -4
  125. package/typography.mjs +12 -11
  126. package/utils.mjs +5 -0
  127. package/mwc-ripple.mjs +0 -175
package/mwc-ripple.mjs DELETED
@@ -1,175 +0,0 @@
1
- "use strict";/**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const L=window,J=L.ShadowRoot&&(L.ShadyCSS===void 0||L.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Q=Symbol(),re=new WeakMap;let ye=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==Q)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(J&&e===void 0){const r=t!==void 0&&t.length===1;r&&(e=re.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&re.set(t,e))}return e}toString(){return this.cssText}};const ge=a=>new ye(typeof a=="string"?a:a+"",void 0,Q),be=(a,...e)=>{const t=a.length===1?a[0]:e.reduce((r,i,s)=>r+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+a[s+1],a[0]);return new ye(t,a,Q)},Oe=(a,e)=>{J?a.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{const r=document.createElement("style"),i=L.litNonce;i!==void 0&&r.setAttribute("nonce",i),r.textContent=t.cssText,a.appendChild(r)})},ie=J?a=>a:a=>a instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return ge(t)})(a):a;/**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */var I;const B=window,ae=B.trustedTypes,ze=ae?ae.emptyScript:"",se=B.reactiveElementPolyfillSupport,W={toAttribute(a,e){switch(e){case Boolean:a=a?ze:null;break;case Object:case Array:a=a==null?a:JSON.stringify(a)}return a},fromAttribute(a,e){let t=a;switch(e){case Boolean:t=a!==null;break;case Number:t=a===null?null:Number(a);break;case Object:case Array:try{t=JSON.parse(a)}catch{t=null}}return t}},Ae=(a,e)=>e!==a&&(e==e||a==a),G={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:Ae};let S=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,r)=>{const i=this._$Ep(r,t);i!==void 0&&(this._$Ev.set(i,r),e.push(i))}),e}static createProperty(e,t=G){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const r=typeof e=="symbol"?Symbol():"__"+e,i=this.getPropertyDescriptor(e,r,t);i!==void 0&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(i){const s=this[e];this[t]=i,this.requestUpdate(e,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||G}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,r=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of r)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const i of r)t.unshift(ie(i))}else e!==void 0&&t.push(ie(e));return t}static _$Ep(e,t){const r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,r;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)===null||r===void 0||r.call(e))}removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Oe(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var r;return(r=t.hostConnected)===null||r===void 0?void 0:r.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var r;return(r=t.hostDisconnected)===null||r===void 0?void 0:r.call(t)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EO(e,t,r=G){var i;const s=this.constructor._$Ep(e,r);if(s!==void 0&&r.reflect===!0){const n=(((i=r.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?r.converter:W).toAttribute(t,r.type);this._$El=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(e,t){var r;const i=this.constructor,s=i._$Ev.get(e);if(s!==void 0&&this._$El!==s){const n=i.getPropertyOptions(s),c=typeof n.converter=="function"?{fromAttribute:n.converter}:((r=n.converter)===null||r===void 0?void 0:r.fromAttribute)!==void 0?n.converter:W;this._$El=s,this[s]=c.fromAttribute(t,n.type),this._$El=null}}requestUpdate(e,t,r){let i=!0;e!==void 0&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||Ae)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),r.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,r))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,s)=>this[s]=i),this._$Ei=void 0);let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdate)===null||s===void 0?void 0:s.call(i)}),this.update(r)):this._$Ek()}catch(i){throw t=!1,this._$Ek(),i}t&&this._$AE(r)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var i;return(i=r.hostUpdated)===null||i===void 0?void 0:i.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,r)=>this._$EO(r,this[r],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},se==null||se({ReactiveElement:S}),((I=B.reactiveElementVersions)!==null&&I!==void 0?I:B.reactiveElementVersions=[]).push("1.5.0");/**
10
- * @license
11
- * Copyright 2017 Google LLC
12
- * SPDX-License-Identifier: BSD-3-Clause
13
- */var N;const T=window,x=T.trustedTypes,ne=x?x.createPolicy("lit-html",{createHTML:a=>a}):void 0,A=`lit$${(Math.random()+"").slice(9)}$`,$e="?"+A,Le=`<${$e}>`,R=document,F=(a="")=>R.createComment(a),U=a=>a===null||typeof a!="object"&&typeof a!="function",_e=Array.isArray,Be=a=>_e(a)||typeof(a==null?void 0:a[Symbol.iterator])=="function",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oe=/-->/g,ce=/>/g,_=RegExp(`>|[
14
- \f\r](?:([^\\s"'>=/]+)([
15
- \f\r]*=[
16
- \f\r]*(?:[^
17
- \f\r"'\`<>=]|("|')|))|$)`,"g"),de=/'/g,pe=/"/g,Se=/^(?:script|style|textarea|title)$/i,Te=a=>(e,...t)=>({_$litType$:a,strings:e,values:t}),we=Te(1),g=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),le=new WeakMap,w=R.createTreeWalker(R,129,null,!1),je=(a,e)=>{const t=a.length-1,r=[];let i,s=e===2?"<svg>":"",n=k;for(let o=0;o<t;o++){const d=a[o];let m,p,l=-1,v=0;for(;v<d.length&&(n.lastIndex=v,p=n.exec(d),p!==null);)v=n.lastIndex,n===k?p[1]==="!--"?n=oe:p[1]!==void 0?n=ce:p[2]!==void 0?(Se.test(p[2])&&(i=RegExp("</"+p[2],"g")),n=_):p[3]!==void 0&&(n=_):n===_?p[0]===">"?(n=i??k,l=-1):p[1]===void 0?l=-2:(l=n.lastIndex-p[2].length,m=p[1],n=p[3]===void 0?_:p[3]==='"'?pe:de):n===pe||n===de?n=_:n===oe||n===ce?n=k:(n=_,i=void 0);const $=n===_&&a[o+1].startsWith("/>")?" ":"";s+=n===k?d+Le:l>=0?(r.push(m),d.slice(0,l)+"$lit$"+d.slice(l)+A+$):d+A+(l===-2?(r.push(void 0),o):$)}const c=s+(a[t]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");return[ne!==void 0?ne.createHTML(c):c,r]};class D{constructor({strings:e,_$litType$:t},r){let i;this.parts=[];let s=0,n=0;const c=e.length-1,o=this.parts,[d,m]=je(e,t);if(this.el=D.createElement(d,r),w.currentNode=this.el.content,t===2){const p=this.el.content,l=p.firstChild;l.remove(),p.append(...l.childNodes)}for(;(i=w.nextNode())!==null&&o.length<c;){if(i.nodeType===1){if(i.hasAttributes()){const p=[];for(const l of i.getAttributeNames())if(l.endsWith("$lit$")||l.startsWith(A)){const v=m[n++];if(p.push(l),v!==void 0){const $=i.getAttribute(v.toLowerCase()+"$lit$").split(A),O=/([.?@])?(.*)/.exec(v);o.push({type:1,index:s,name:O[2],strings:$,ctor:O[1]==="."?Ge:O[1]==="?"?qe:O[1]==="@"?Xe:j})}else o.push({type:6,index:s})}for(const l of p)i.removeAttribute(l)}if(Se.test(i.tagName)){const p=i.textContent.split(A),l=p.length-1;if(l>0){i.textContent=x?x.emptyScript:"";for(let v=0;v<l;v++)i.append(p[v],F()),w.nextNode(),o.push({type:2,index:++s});i.append(p[l],F())}}}else if(i.nodeType===8)if(i.data===$e)o.push({type:2,index:s});else{let p=-1;for(;(p=i.data.indexOf(A,p+1))!==-1;)o.push({type:7,index:s}),p+=A.length-1}s++}}static createElement(e,t){const r=R.createElement("template");return r.innerHTML=e,r}}function E(a,e,t=a,r){var i,s,n,c;if(e===g)return e;let o=r!==void 0?(i=t._$Co)===null||i===void 0?void 0:i[r]:t._$Cl;const d=U(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==d&&((s=o==null?void 0:o._$AO)===null||s===void 0||s.call(o,!1),d===void 0?o=void 0:(o=new d(a),o._$AT(a,t,r)),r!==void 0?((n=(c=t)._$Co)!==null&&n!==void 0?n:c._$Co=[])[r]=o:t._$Cl=o),o!==void 0&&(e=E(a,o._$AS(a,e.values),o,r)),e}class Ie{constructor(e,t){this.u=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(e){var t;const{el:{content:r},parts:i}=this._$AD,s=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:R).importNode(r,!0);w.currentNode=s;let n=w.nextNode(),c=0,o=0,d=i[0];for(;d!==void 0;){if(c===d.index){let m;d.type===2?m=new P(n,n.nextSibling,this,e):d.type===1?m=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(m=new Ve(n,this,e)),this.u.push(m),d=i[++o]}c!==(d==null?void 0:d.index)&&(n=w.nextNode(),c++)}return s}p(e){let t=0;for(const r of this.u)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class P{constructor(e,t,r,i){var s;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=i,this._$Cm=(s=i==null?void 0:i.isConnected)===null||s===void 0||s}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cm}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&e.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=E(this,e,t),U(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==g&&this.g(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Be(e)?this.k(e):this.g(e)}O(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}g(e){this._$AH!==h&&U(this._$AH)?this._$AA.nextSibling.data=e:this.T(R.createTextNode(e)),this._$AH=e}$(e){var t;const{values:r,_$litType$:i}=e,s=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=D.createElement(i.h,this.options)),i);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===s)this._$AH.p(r);else{const n=new Ie(s,this),c=n.v(this.options);n.p(r),this.T(c),this._$AH=n}}_$AC(e){let t=le.get(e.strings);return t===void 0&&le.set(e.strings,t=new D(e)),t}k(e){_e(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,i=0;for(const s of e)i===t.length?t.push(r=new P(this.O(F()),this.O(F()),this,this.options)):r=t[i],r._$AI(s),i++;i<t.length&&(this._$AR(r&&r._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,t);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var t;this._$AM===void 0&&(this._$Cm=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class j{constructor(e,t,r,i,s){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=s,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=h}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,i){const s=this.strings;let n=!1;if(s===void 0)e=E(this,e,t,0),n=!U(e)||e!==this._$AH&&e!==g,n&&(this._$AH=e);else{const c=e;let o,d;for(e=s[0],o=0;o<s.length-1;o++)d=E(this,c[r+o],t,o),d===g&&(d=this._$AH[o]),n||(n=!U(d)||d!==this._$AH[o]),d===h?e=h:e!==h&&(e+=(d??"")+s[o+1]),this._$AH[o]=d}n&&!i&&this.j(e)}j(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Ge extends j{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===h?void 0:e}}const Ne=x?x.emptyScript:"";class qe extends j{constructor(){super(...arguments),this.type=4}j(e){e&&e!==h?this.element.setAttribute(this.name,Ne):this.element.removeAttribute(this.name)}}class Xe extends j{constructor(e,t,r,i,s){super(e,t,r,i,s),this.type=5}_$AI(e,t=this){var r;if((e=(r=E(this,e,t,0))!==null&&r!==void 0?r:h)===g)return;const i=this._$AH,s=e===h&&i!==h||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==h&&(i===h||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}}class Ve{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){E(this,e)}}const ue=T.litHtmlPolyfillSupport;ue==null||ue(D,P),((N=T.litHtmlVersions)!==null&&N!==void 0?N:T.litHtmlVersions=[]).push("2.5.0");const Ce=(a,e,t)=>{var r,i;const s=(r=t==null?void 0:t.renderBefore)!==null&&r!==void 0?r:e;let n=s._$litPart$;if(n===void 0){const c=(i=t==null?void 0:t.renderBefore)!==null&&i!==void 0?i:null;s._$litPart$=n=new P(e.insertBefore(F(),c),c,void 0,t??{})}return n._$AI(a),n};/**
18
- * @license
19
- * Copyright 2017 Google LLC
20
- * SPDX-License-Identifier: BSD-3-Clause
21
- */var q,X;class C extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const r=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=r.firstChild),r}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ce(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return g}}C.finalized=!0,C._$litElement$=!0,(q=globalThis.litElementHydrateSupport)===null||q===void 0||q.call(globalThis,{LitElement:C});const he=globalThis.litElementPolyfillSupport;he==null||he({LitElement:C});((X=globalThis.litElementVersions)!==null&&X!==void 0?X:globalThis.litElementVersions=[]).push("3.2.2");/**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */const xe=a=>e=>typeof e=="function"?((t,r)=>(customElements.define(t,r),r))(a,e):((t,r)=>{const{kind:i,elements:s}=r;return{kind:i,elements:s,finisher(n){customElements.define(t,n)}}})(a,e);/**
26
- * @license
27
- * Copyright 2017 Google LLC
28
- * SPDX-License-Identifier: BSD-3-Clause
29
- */const We=(a,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,a)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,a)}};function b(a){return(e,t)=>t!==void 0?((r,i,s)=>{i.constructor.createProperty(s,r)})(a,e,t):We(a,e)}/**
30
- * @license
31
- * Copyright 2017 Google LLC
32
- * SPDX-License-Identifier: BSD-3-Clause
33
- */function y(a){return b({...a,state:!0})}/**
34
- * @license
35
- * Copyright 2017 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */const M=({finisher:a,descriptor:e})=>(t,r)=>{var i;if(r===void 0){const s=(i=t.originalKey)!==null&&i!==void 0?i:t.key,n=e!=null?{kind:"method",placement:"prototype",key:s,descriptor:e(t.key)}:{...t,key:s};return a!=null&&(n.finisher=function(c){a(c,s)}),n}{const s=t.constructor;e!==void 0&&Object.defineProperty(t,r,e(r)),a==null||a(s,r)}};/**
38
- * @license
39
- * Copyright 2017 Google LLC
40
- * SPDX-License-Identifier: BSD-3-Clause
41
- */function Ze(a){return M({finisher:(e,t)=>{Object.assign(e.prototype[t],a)}})}/**
42
- * @license
43
- * Copyright 2017 Google LLC
44
- * SPDX-License-Identifier: BSD-3-Clause
45
- */function Re(a,e){return M({descriptor:t=>{const r={get(){var i,s;return(s=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(a))!==null&&s!==void 0?s:null},enumerable:!0,configurable:!0};if(e){const i=typeof t=="symbol"?Symbol():"__"+t;r.get=function(){var s,n;return this[i]===void 0&&(this[i]=(n=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(a))!==null&&n!==void 0?n:null),this[i]}}return r}})}/**
46
- * @license
47
- * Copyright 2017 Google LLC
48
- * SPDX-License-Identifier: BSD-3-Clause
49
- */function Ke(a){return M({descriptor:e=>({async get(){var t;return await this.updateComplete,(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector(a)},enumerable:!0,configurable:!0})})}/**
50
- * @license
51
- * Copyright 2021 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */var V;const Je=((V=window.HTMLSlotElement)===null||V===void 0?void 0:V.prototype.assignedElements)!=null?(a,e)=>a.assignedElements(e):(a,e)=>a.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);function Ee(a){const{slot:e,selector:t}=a??{};return M({descriptor:r=>({get(){var i;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(s),c=n!=null?Je(n,a):[];return t?c.filter(o=>o.matches(t)):c},enumerable:!0,configurable:!0})})}/**
54
- * @license
55
- * Copyright 2017 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */function Qe(a,e,t){let r,i=a;return typeof a=="object"?(i=a.slot,r=a):r={flatten:e},t?Ee({slot:i,flatten:e,selector:t}):M({descriptor:s=>({get(){var n,c;const o="slot"+(i?`[name=${i}]`:":not([name])"),d=(n=this.renderRoot)===null||n===void 0?void 0:n.querySelector(o);return(c=d==null?void 0:d.assignedNodes(r))!==null&&c!==void 0?c:[]},enumerable:!0,configurable:!0})})}/**
58
- * @license
59
- * Copyright 2018 Google LLC
60
- * SPDX-License-Identifier: Apache-2.0
61
- */const Ye=a=>a.nodeType===Node.ELEMENT_NODE;function et(a){return{addClass:e=>{a.classList.add(e)},removeClass:e=>{a.classList.remove(e)},hasClass:e=>a.classList.contains(e)}}let ke=!1;const He=()=>{},tt={get passive(){return ke=!0,!1}};document.addEventListener("x",He,tt);document.removeEventListener("x",He);const rt=ke,Fe=(a=window.document)=>{let e=a.activeElement;const t=[];if(!e)return t;for(;e&&(t.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return t},it=a=>{const e=Fe();if(!e.length)return!1;const t=e[e.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0});let i=[];const s=n=>{i=n.composedPath()};return document.body.addEventListener("check-if-focused",s),t.dispatchEvent(r),document.body.removeEventListener("check-if-focused",s),i.indexOf(a)!==-1};/**
62
- * @license
63
- * Copyright 2018 Google LLC
64
- * SPDX-License-Identifier: Apache-2.0
65
- */class Ue extends C{click(){if(this.mdcRoot){this.mdcRoot.focus(),this.mdcRoot.click();return}super.click()}createFoundation(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}var Z=function(a,e){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])},Z(a,e)};function De(a,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Z(a,e);function t(){this.constructor=a}a.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},exports.__assign.apply(this,arguments)};function u(a,e,t,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(a,e,t,r);else for(var c=a.length-1;c>=0;c--)(n=a[c])&&(s=(i<3?n(s):i>3?n(e,t,s):n(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}function H(a){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&a[e],r=0;if(t)return t.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&r>=a.length&&(a=void 0),{value:a&&a[r++],done:!a}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function at(a,e){var t=typeof Symbol=="function"&&a[Symbol.iterator];if(!t)return a;var r=t.call(a),i,s=[],n;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(c){n={error:c}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(n)throw n.error}}return s}function st(a,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return a.concat(s||Array.prototype.slice.call(e))}/**
66
- * @license
67
- * Copyright 2017 Google LLC
68
- * SPDX-License-Identifier: BSD-3-Clause
69
- */const Y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=a=>(...e)=>({_$litDirective$:a,values:e});let te=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};/**
70
- * @license
71
- * Copyright 2018 Google LLC
72
- * SPDX-License-Identifier: BSD-3-Clause
73
- */const Pe=ee(class extends te{constructor(a){var e;if(super(a),a.type!==Y.ATTRIBUTE||a.name!=="class"||((e=a.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(a){return" "+Object.keys(a).filter(e=>a[e]).join(" ")+" "}update(a,[e]){var t,r;if(this.nt===void 0){this.nt=new Set,a.strings!==void 0&&(this.st=new Set(a.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(const s in e)e[s]&&!(!((t=this.st)===null||t===void 0)&&t.has(s))&&this.nt.add(s);return this.render(e)}const i=a.element.classList;this.nt.forEach(s=>{s in e||(i.remove(s),this.nt.delete(s))});for(const s in e){const n=!!e[s];n===this.nt.has(s)||!((r=this.st)===null||r===void 0)&&r.has(s)||(n?(i.add(s),this.nt.add(s)):(i.remove(s),this.nt.delete(s)))}return g}});/**
74
- * @license
75
- * Copyright 2018 Google Inc.
76
- *
77
- * Permission is hereby granted, free of charge, to any person obtaining a copy
78
- * of this software and associated documentation files (the "Software"), to deal
79
- * in the Software without restriction, including without limitation the rights
80
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
81
- * copies of the Software, and to permit persons to whom the Software is
82
- * furnished to do so, subject to the following conditions:
83
- *
84
- * The above copyright notice and this permission notice shall be included in
85
- * all copies or substantial portions of the Software.
86
- *
87
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
88
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
89
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
90
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
91
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
92
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
93
- * THE SOFTWARE.
94
- */function nt(a,e){var t=a.matches||a.webkitMatchesSelector||a.msMatchesSelector;return t.call(a,e)}/**
95
- * @license
96
- * Copyright 2016 Google Inc.
97
- *
98
- * Permission is hereby granted, free of charge, to any person obtaining a copy
99
- * of this software and associated documentation files (the "Software"), to deal
100
- * in the Software without restriction, including without limitation the rights
101
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
102
- * copies of the Software, and to permit persons to whom the Software is
103
- * furnished to do so, subject to the following conditions:
104
- *
105
- * The above copyright notice and this permission notice shall be included in
106
- * all copies or substantial portions of the Software.
107
- *
108
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
109
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
110
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
111
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
112
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
113
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
114
- * THE SOFTWARE.
115
- */var ot=function(){function a(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(a,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),a.prototype.init=function(){},a.prototype.destroy=function(){},a}();/**
116
- * @license
117
- * Copyright 2016 Google Inc.
118
- *
119
- * Permission is hereby granted, free of charge, to any person obtaining a copy
120
- * of this software and associated documentation files (the "Software"), to deal
121
- * in the Software without restriction, including without limitation the rights
122
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
123
- * copies of the Software, and to permit persons to whom the Software is
124
- * furnished to do so, subject to the following conditions:
125
- *
126
- * The above copyright notice and this permission notice shall be included in
127
- * all copies or substantial portions of the Software.
128
- *
129
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
131
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
132
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
133
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
134
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
135
- * THE SOFTWARE.
136
- */var ct={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},dt={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},fe={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function pt(a,e,t){if(!a)return{x:0,y:0};var r=e.x,i=e.y,s=r+t.left,n=i+t.top,c,o;if(a.type==="touchstart"){var d=a;c=d.changedTouches[0].pageX-s,o=d.changedTouches[0].pageY-n}else{var m=a;c=m.pageX-s,o=m.pageY-n}return{x:c,y:o}}/**
137
- * @license
138
- * Copyright 2016 Google Inc.
139
- *
140
- * Permission is hereby granted, free of charge, to any person obtaining a copy
141
- * of this software and associated documentation files (the "Software"), to deal
142
- * in the Software without restriction, including without limitation the rights
143
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
144
- * copies of the Software, and to permit persons to whom the Software is
145
- * furnished to do so, subject to the following conditions:
146
- *
147
- * The above copyright notice and this permission notice shall be included in
148
- * all copies or substantial portions of the Software.
149
- *
150
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
151
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
152
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
153
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
154
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
155
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
156
- * THE SOFTWARE.
157
- */var me=["touchstart","pointerdown","mousedown","keydown"],ve=["touchend","pointerup","mouseup","contextmenu"],z=[],lt=function(a){De(e,a);function e(t){var r=a.call(this,exports.__assign(exports.__assign({},e.defaultAdapter),t))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(i){r.activateImpl(i)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return ct},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return dt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return fe},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=e.cssClasses,s=i.ROOT,n=i.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(s),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())})}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var r=e.cssClasses,i=r.ROOT,s=r.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(i),t.adapter.removeClass(s),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},e.prototype.setUnbounded=function(t){var r=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var r,i;if(t){try{for(var s=H(me),n=s.next();!n.done;n=s.next()){var c=n.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var r,i;if(t.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var s=H(ve),n=s.next();!n.done;n=s.next()){var c=n.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},e.prototype.deregisterRootHandlers=function(){var t,r;try{for(var i=H(me),s=i.next();!s.done;s=i.next()){var n=s.value;this.adapter.deregisterInteractionHandler(n,this.activateHandler)}}catch(c){t={error:c}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,r;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=H(ve),s=i.next();!s.done;s=i.next()){var n=s.value;this.adapter.deregisterDocumentInteractionHandler(n,this.deactivateHandler)}}catch(c){t={error:c}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,r=e.strings,i=Object.keys(r);i.forEach(function(s){s.indexOf("VAR_")===0&&t.adapter.updateCssVariable(r[s],null)})},e.prototype.activateImpl=function(t){var r=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var s=this.previousActivationEvent,n=s&&t!==void 0&&s.type!==t.type;if(!n){i.isActivated=!0,i.isProgrammatic=t===void 0,i.activationEvent=t,i.wasActivatedByPointer=i.isProgrammatic?!1:t!==void 0&&(t.type==="mousedown"||t.type==="touchstart"||t.type==="pointerdown");var c=t!==void 0&&z.length>0&&z.some(function(o){return r.adapter.containsEventTarget(o)});if(c){this.resetActivationState();return}t!==void 0&&(z.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){z=[],!i.wasElementMadeActive&&t!==void 0&&(t.key===" "||t.keyCode===32)&&(i.wasElementMadeActive=r.checkElementMadeActive(t),i.wasElementMadeActive&&r.animateActivation()),i.wasElementMadeActive||(r.activationState=r.defaultActivationState())})}}}},e.prototype.checkElementMadeActive=function(t){return t!==void 0&&t.type==="keydown"?this.adapter.isSurfaceActive():!0},e.prototype.animateActivation=function(){var t=this,r=e.strings,i=r.VAR_FG_TRANSLATE_START,s=r.VAR_FG_TRANSLATE_END,n=e.cssClasses,c=n.FG_DEACTIVATION,o=n.FG_ACTIVATION,d=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var m="",p="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates(),v=l.startPoint,$=l.endPoint;m=v.x+"px, "+v.y+"px",p=$.x+"px, "+$.y+"px"}this.adapter.updateCssVariable(i,m),this.adapter.updateCssVariable(s,p),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(o),this.activationTimer=setTimeout(function(){t.activationTimerCallback()},d)},e.prototype.getFgTranslationCoordinates=function(){var t=this.activationState,r=t.activationEvent,i=t.wasActivatedByPointer,s;i?s=pt(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):s={x:this.frame.width/2,y:this.frame.height/2},s={x:s.x-this.initialSize/2,y:s.y-this.initialSize/2};var n={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:s,endPoint:n}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,r=e.cssClasses.FG_DEACTIVATION,i=this.activationState,s=i.hasDeactivationUXRun,n=i.isActivated,c=s||!n;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout(function(){t.adapter.removeClass(r)},fe.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return t.previousActivationEvent=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,r=this.activationState;if(r.isActivated){var i=exports.__assign({},r);r.isProgrammatic?(requestAnimationFrame(function(){t.animateDeactivation(i)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()}))}},e.prototype.animateDeactivation=function(t){var r=t.wasActivatedByPointer,i=t.wasElementMadeActive;(r||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width),i=function(){var n=Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2));return n+e.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?r:i();var s=Math.floor(r*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&s%2!==0?this.initialSize=s-1:this.initialSize=s,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,r=t.VAR_FG_SIZE,i=t.VAR_LEFT,s=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(s,this.unboundedCoords.top+"px"))},e}(ot);const ut=lt;/**
158
- * @license
159
- * Copyright 2018 Google LLC
160
- * SPDX-License-Identifier: BSD-3-Clause
161
- */const Me=ee(class extends te{constructor(a){var e;if(super(a),a.type!==Y.ATTRIBUTE||a.name!=="style"||((e=a.strings)===null||e===void 0?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(a){return Object.keys(a).reduce((e,t)=>{const r=a[t];return r==null?e:e+`${t=t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(a,[e]){const{style:t}=a.element;if(this.vt===void 0){this.vt=new Set;for(const r in e)this.vt.add(r);return this.render(e)}this.vt.forEach(r=>{e[r]==null&&(this.vt.delete(r),r.includes("-")?t.removeProperty(r):t[r]="")});for(const r in e){const i=e[r];i!=null&&(this.vt.add(r),r.includes("-")?t.setProperty(r,i):t[r]=i)}return g}});/**
162
- * @license
163
- * Copyright 2018 Google LLC
164
- * SPDX-License-Identifier: Apache-2.0
165
- */class f extends Ue{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=ut}get isActive(){return nt(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0;break}},removeClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1;break}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t;break}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation(()=>{this.mdcFoundation.activate(e)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(e){this.mdcFoundation?e():this.updateComplete.then(e)}update(e){e.has("disabled")&&this.disabled&&this.endHover(),super.update(e)}render(){const e=this.activated&&(this.primary||!this.accent),t=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":e,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":t,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return we`
166
- <div class="mdc-ripple-surface mdc-ripple-upgraded ${Pe(r)}"
167
- style="${Me({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}u([Re(".mdc-ripple-surface")],f.prototype,"mdcRoot",void 0);u([b({type:Boolean})],f.prototype,"primary",void 0);u([b({type:Boolean})],f.prototype,"accent",void 0);u([b({type:Boolean})],f.prototype,"unbounded",void 0);u([b({type:Boolean})],f.prototype,"disabled",void 0);u([b({type:Boolean})],f.prototype,"activated",void 0);u([b({type:Boolean})],f.prototype,"selected",void 0);u([b({type:Boolean})],f.prototype,"internalUseStateLayerCustomProperties",void 0);u([y()],f.prototype,"hovering",void 0);u([y()],f.prototype,"bgFocused",void 0);u([y()],f.prototype,"fgActivation",void 0);u([y()],f.prototype,"fgDeactivation",void 0);u([y()],f.prototype,"fgScale",void 0);u([y()],f.prototype,"fgSize",void 0);u([y()],f.prototype,"translateStart",void 0);u([y()],f.prototype,"translateEnd",void 0);u([y()],f.prototype,"leftPos",void 0);u([y()],f.prototype,"topPos",void 0);/**
168
- * @license
169
- * Copyright 2021 Google LLC
170
- * SPDX-LIcense-Identifier: Apache-2.0
171
- */const ht=be`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;/**
172
- * @license
173
- * Copyright 2018 Google LLC
174
- * SPDX-License-Identifier: Apache-2.0
175
- */let K=class extends f{};K.styles=[ht];K=u([xe("mwc-ripple")],K);exports.BaseElement=Ue;exports.Z=Ce;exports.__decorate=u;exports.__extends=De;exports.__read=at;exports.__spreadArray=st;exports.__values=H;exports.addHasRemoveClass=et;exports.b=h;exports.deepActiveElementPath=Fe;exports.doesElementContainFocus=it;exports.e=b;exports.e$1=xe;exports.e$2=Ke;exports.e$3=Ze;exports.e$4=ee;exports.i=Re;exports.i$1=be;exports.i$2=Me;exports.i$3=te;exports.isNodeElement=Ye;exports.l=Ee;exports.o=Pe;exports.o$1=Qe;exports.r=ge;exports.s=C;exports.supportsPassiveEventListener=rt;exports.t=y;exports.t$1=Y;exports.x=g;exports.y=we;