@covalent/components 10.4.0-beta.2 → 10.4.0

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 (220) hide show
  1. package/action-ribbon.js +5 -5
  2. package/action-ribbon.mjs +33 -33
  3. package/alert.js +5 -5
  4. package/alert.mjs +54 -54
  5. package/app-shell.js +1 -1
  6. package/app-shell.mjs +7 -7
  7. package/async-directive-JqUnzsgG.mjs +66 -0
  8. package/async-directive-X7VhNdG3.js +5 -0
  9. package/badge.js +1 -1
  10. package/badge.mjs +4 -4
  11. package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
  12. package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
  13. package/button.js +2 -2
  14. package/button.mjs +26 -26
  15. package/card.js +8 -8
  16. package/card.mjs +39 -39
  17. package/check-list-item.js +8 -8
  18. package/check-list-item.mjs +34 -34
  19. package/checkbox.js +1 -1
  20. package/checkbox.mjs +15 -15
  21. package/{chip-DmwMNZYy.js → chip-CiCrVTPi.js} +40 -40
  22. package/{chip-tQfbvpbh.mjs → chip-kcYskdL2.mjs} +37 -37
  23. package/chip-set.js +5 -5
  24. package/chip-set.mjs +135 -135
  25. package/chip.js +1 -1
  26. package/chip.mjs +2 -2
  27. package/circular-progress.js +15 -15
  28. package/circular-progress.mjs +25 -25
  29. package/class-map-DPUylGZM.mjs +36 -0
  30. package/class-map-DTzB8z-1.js +5 -0
  31. package/{code-editor-XU5DhFbC.mjs → code-editor-C3uCywXF.mjs} +7930 -7977
  32. package/{code-editor-CryBkPGy.js → code-editor-DRE322br.js} +116 -116
  33. package/code-editor.js +1 -1
  34. package/code-editor.mjs +2 -2
  35. package/code-snippet.js +1 -1
  36. package/code-snippet.mjs +5 -5
  37. package/{dialog-BodJc4rc.mjs → dialog-CzHKHFcv.mjs} +185 -185
  38. package/{dialog-DMqDMT_N.js → dialog-DnrVj2jp.js} +9 -9
  39. package/dialog.js +1 -1
  40. package/dialog.mjs +2 -2
  41. package/directive-C7oCP5Bh.js +5 -0
  42. package/directive-helpers-C-un5pST.js +5 -0
  43. package/directive-helpers-DS-VuBZD.mjs +11 -0
  44. package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
  45. package/drawer.js +2 -2
  46. package/drawer.mjs +14 -14
  47. package/empty-state.js +1 -1
  48. package/empty-state.mjs +6 -6
  49. package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
  50. package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
  51. package/expansion-panel-item.js +1 -1
  52. package/expansion-panel-item.mjs +3 -3
  53. package/expansion-panel.js +1 -1
  54. package/expansion-panel.mjs +5 -5
  55. package/focused-page.js +1 -1
  56. package/focused-page.mjs +7 -7
  57. package/form-element-BOhYShN_.mjs +50 -0
  58. package/form-element-BSAsNxWv.js +5 -0
  59. package/formfield.js +7 -7
  60. package/formfield.mjs +45 -45
  61. package/{foundation-BYhAXCW_.mjs → foundation-CZtT3AWn.mjs} +15 -17
  62. package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
  63. package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
  64. package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
  65. package/full-screen-dialog.js +2 -2
  66. package/full-screen-dialog.mjs +10 -10
  67. package/{html-DW6Y8eLM.mjs → html-B4ZQgAyG.mjs} +1 -1
  68. package/{html-CEiNqoVv.js → html-BmXgAsCP.js} +1 -1
  69. package/icon-button-toggle.js +8 -8
  70. package/icon-button-toggle.mjs +33 -33
  71. package/icon-button.js +3 -3
  72. package/icon-button.mjs +37 -37
  73. package/icon-check-toggle.js +1 -1
  74. package/icon-check-toggle.mjs +7 -7
  75. package/icon-lockup.js +5 -5
  76. package/icon-lockup.mjs +4 -4
  77. package/icon-radio-toggle.js +1 -1
  78. package/icon-radio-toggle.mjs +13 -13
  79. package/icon.js +1 -1
  80. package/icon.mjs +13 -13
  81. package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
  82. package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
  83. package/index.js +7 -7
  84. package/index.mjs +121 -121
  85. package/{javascript-vVCDG6Rm.js → javascript-Cc9WaUTf.js} +1 -1
  86. package/{javascript-DzJ0FiwJ.mjs → javascript-Dyp_SycE.mjs} +1 -1
  87. package/linear-progress.js +7 -7
  88. package/linear-progress.mjs +32 -32
  89. package/list-item-qiQvSXie.js +5 -0
  90. package/list-item-quxukAxk.mjs +11 -0
  91. package/list-item.js +7 -7
  92. package/list-item.mjs +21 -21
  93. package/list.js +3 -3
  94. package/list.mjs +16 -16
  95. package/menu.js +3 -3
  96. package/menu.mjs +17 -17
  97. package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-BrjbMwch.mjs} +28 -28
  98. package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
  99. package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-B75WxHwf.mjs} +10 -10
  100. package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-BymazAF9.js} +3 -3
  101. package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
  102. package/{mwc-icon-DTCUplqR.mjs → mwc-icon-U80igLyY.mjs} +2 -2
  103. package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
  104. package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
  105. package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-AW6v6TRk.mjs} +34 -34
  106. package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
  107. package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
  108. package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BtGzAhUF.mjs} +10 -10
  109. package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-BBbQixrF.mjs} +100 -100
  110. package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
  111. package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-BUjxqJjM.mjs} +303 -303
  112. package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
  113. package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
  114. package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-DPbyzNg_.mjs} +8 -8
  115. package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-CBNgYCJf.mjs} +277 -288
  116. package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
  117. package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
  118. package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DJHVL7wZ.mjs} +31 -31
  119. package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
  120. package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-N3OLLWe5.mjs} +21 -21
  121. package/nav-list-item.js +1 -1
  122. package/nav-list-item.mjs +14 -14
  123. package/notebook-cell.js +1 -1
  124. package/notebook-cell.mjs +23 -23
  125. package/package.json +1 -1
  126. package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
  127. package/{python-DnfGbG5q.js → python-DKLi-dau.js} +1 -1
  128. package/{python-CddQNZH2.mjs → python-WzHADE7X.mjs} +1 -1
  129. package/query-CDOd1Kwm.mjs +15 -0
  130. package/query-Dv2F3m_t.js +5 -0
  131. package/query-assigned-elements-8EurZY45.js +31 -0
  132. package/query-assigned-elements-D930kELM.mjs +591 -0
  133. package/query-assigned-nodes-BAfLwxmx.js +5 -0
  134. package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
  135. package/radio-list-item.js +9 -9
  136. package/radio-list-item.mjs +28 -28
  137. package/radio.js +1 -1
  138. package/radio.mjs +15 -15
  139. package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
  140. package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-_gEIkKpx.mjs} +71 -71
  141. package/select.js +12 -12
  142. package/select.mjs +140 -141
  143. package/side-sheet.js +1 -1
  144. package/side-sheet.mjs +8 -8
  145. package/slider-range.js +5 -5
  146. package/slider-range.mjs +43 -43
  147. package/slider.js +2 -2
  148. package/slider.mjs +19 -19
  149. package/snackbar.js +11 -11
  150. package/snackbar.mjs +54 -54
  151. package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
  152. package/status-dialog.js +1 -1
  153. package/status-dialog.mjs +6 -6
  154. package/status-header-item.js +1 -1
  155. package/status-header-item.mjs +17 -17
  156. package/status-header.js +5 -5
  157. package/status-header.mjs +34 -34
  158. package/style-map-D2TR7M-D.mjs +42 -0
  159. package/style-map-DOMuf9Fg.js +5 -0
  160. package/switch.js +5 -5
  161. package/switch.mjs +42 -42
  162. package/tab-bar.js +11 -11
  163. package/tab-bar.mjs +98 -98
  164. package/tab.js +1 -1
  165. package/tab.mjs +15 -15
  166. package/text-lockup/text-lockup.d.ts +0 -1
  167. package/text-lockup/text-lockup.d.ts.map +1 -1
  168. package/text-lockup.js +1 -1
  169. package/text-lockup.mjs +11 -12
  170. package/textarea.js +6 -6
  171. package/textarea.mjs +29 -29
  172. package/{textfield-bHWjhOOq.js → textfield-BKtErr_f.js} +31 -31
  173. package/{textfield-i_Whj47J.mjs → textfield-CTlapGQ5.mjs} +104 -104
  174. package/textfield.js +3 -3
  175. package/textfield.mjs +17 -17
  176. package/toolbar.js +1 -1
  177. package/toolbar.mjs +7 -7
  178. package/tooltip.js +3 -3
  179. package/tooltip.mjs +55 -56
  180. package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BVk3lmos.mjs} +2 -2
  181. package/{top-app-bar-UVbXY1md.js → top-app-bar-CbU9QpTA.js} +2 -2
  182. package/top-app-bar-fixed.js +8 -8
  183. package/top-app-bar-fixed.mjs +40 -40
  184. package/top-app-bar.js +3 -3
  185. package/top-app-bar.mjs +18 -18
  186. package/tree-list-item.js +1 -1
  187. package/tree-list-item.mjs +4 -4
  188. package/tree-list.js +4 -4
  189. package/tree-list.mjs +22 -22
  190. package/tslib.es6-CJ7TUrOc.mjs +75 -0
  191. package/{typescript-CdlgcZ3y.mjs → typescript-C0UD96ot.mjs} +1 -1
  192. package/{typescript-BRw9OFm1.js → typescript-pxLTVSy-.js} +1 -1
  193. package/typography.js +2 -2
  194. package/typography.mjs +11 -11
  195. package/async-directive-2AOdKBUW.mjs +0 -66
  196. package/async-directive-DZ3MjSIj.js +0 -5
  197. package/class-map-BHl5MHd7.mjs +0 -36
  198. package/class-map-PsUYVqvf.js +0 -5
  199. package/directive-C_VV3qwo.js +0 -5
  200. package/directive-helpers-6HCt_-zj.mjs +0 -11
  201. package/directive-helpers-BnUMbYHh.js +0 -5
  202. package/form-element--PS8uSRI.js +0 -5
  203. package/form-element-Dn0Lerng.mjs +0 -50
  204. package/index.scss +0 -1
  205. package/list-item-BIuZJQpK.mjs +0 -11
  206. package/list-item-V8RaZO6L.js +0 -5
  207. package/query-BvlE-gMJ.js +0 -5
  208. package/query-DSO61t36.mjs +0 -15
  209. package/query-assigned-elements-BQszEgac.js +0 -31
  210. package/query-assigned-elements-DhyCP_2z.mjs +0 -591
  211. package/query-assigned-nodes-9DFnkxV8.js +0 -5
  212. package/query-assigned-nodes-B-jCihdA.mjs +0 -17
  213. package/style-map-3QfsA_1O.js +0 -5
  214. package/style-map-QxIETvrs.mjs +0 -42
  215. package/theme/_index.scss +0 -54
  216. package/theme/prebuilt/dark-theme.css +0 -1
  217. package/theme/prebuilt/dark-theme.css.map +0 -1
  218. package/theme/prebuilt/light-theme.css +0 -1
  219. package/theme/prebuilt/light-theme.css.map +0 -1
  220. package/tslib.es6-CISSdiiH.mjs +0 -75
@@ -1,5 +0,0 @@
1
- "use strict";const e=require("./query-assigned-elements-BQszEgac.js");/**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-LIcense-Identifier: Apache-2.0
5
- */const t=e.i`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecated-list-item__meta{height:40px;width:40px}`,i=':host{width:100%;box-sizing:border-box}:host(:not([twoline])){height:calc(56px + var(--cv-density-mode, 0) * var(--cv-density-interval, 4px))}:host([twoline]){height:calc(72px + var(--cv-density-mode, 0) * var(--cv-density-interval, 4px))}:host([twoline]) .mdc-deprecated-list-item__primary-text:before{height:calc(32px + var(--cv-density-mode, 0) * var(--cv-density-interval, 2px))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-secondary-container);color:var(--cv-theme-on-secondary-container);background-color:var(--cv-theme-secondary-container);border-radius:9999px}:host([disabled]){color:var(--cv-theme-on-surface-38)}:host([disabled]):host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([disabled]) .mdc-deprecated-list-item__meta{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface-38)}:host([selected]) .mdc-deprecated-list-item__graphic.material-icons,:host([activated]) .mdc-deprecated-list-item__graphic.material-icons,:host([hasActivatedChild]) .mdc-deprecated-list-item__graphic.material-icons{font-variation-settings:"FILL" 1}.mdc-deprecated-list-item__meta.material-icons ::slotted(cv-icon){font-family:var(--mdc-icon-font);font-size:var(--mdc-icon-size, 24px);line-height:1}.mdc-deprecated-list-item__text{padding-left:var(--cv-list-item-text-padding, 0)}.mdc-deprecated-list-item__secondary-text{--mdc-icon-size: var(--mdc-typography-body2-font-size)}.mdc-deprecated-list-item__secondary-text ::slotted(*){display:inline-flex;align-items:center}.mdc-deprecated-list-item__meta{display:flex;align-items:center}:host(:not([left])) .mdc-deprecated-list-item__meta{width:auto;min-width:40px}.mdc-deprecated-list-item__meta ::slotted(*),.mdc-deprecated-list-item__graphic ::slotted(*){display:flex;align-items:center}';exports.covalentStyles=i;exports.styles=t;
package/query-BvlE-gMJ.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";const t=require("./query-assigned-elements-BQszEgac.js");/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */function u(r,i){return t.o({descriptor:o=>({get(){var e,n;return(n=(e=this.renderRoot)===null||e===void 0?void 0:e.querySelector(r))!==null&&n!==void 0?n:null},enumerable:!0,configurable:!0})})}exports.i=u;
@@ -1,15 +0,0 @@
1
- import { o as t } from "./query-assigned-elements-DhyCP_2z.mjs";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function d(r, u) {
8
- return t({ descriptor: (o) => ({ get() {
9
- var e, n;
10
- return (n = (e = this.renderRoot) === null || e === void 0 ? void 0 : e.querySelector(r)) !== null && n !== void 0 ? n : null;
11
- }, enumerable: !0, configurable: !0 }) });
12
- }
13
- export {
14
- d as i
15
- };
@@ -1,31 +0,0 @@
1
- "use strict";/**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const H=window,W=H.ShadowRoot&&(H.ShadyCSS===void 0||H.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q=Symbol(),K=new WeakMap;let ie=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==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(W&&e===void 0){const n=t!==void 0&&t.length===1;n&&(e=K.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&K.set(t,e))}return e}toString(){return this.cssText}};const re=i=>new ie(typeof i=="string"?i:i+"",void 0,q),pe=(i,...e)=>{const t=i.length===1?i[0]:e.reduce((n,s,l)=>n+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+i[l+1],i[0]);return new ie(t,i,q)},$e=(i,e)=>{W?i.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{const n=document.createElement("style"),s=H.litNonce;s!==void 0&&n.setAttribute("nonce",s),n.textContent=t.cssText,i.appendChild(n)})},Z=W?i=>i:i=>i instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return re(t)})(i):i;/**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */var k;const N=window,J=N.trustedTypes,_e=J?J.emptyScript:"",F=N.reactiveElementPolyfillSupport,z={toAttribute(i,e){switch(e){case Boolean:i=i?_e:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,e){let t=i;switch(e){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},le=(i,e)=>e!==i&&(e==e||i==i),R={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:le},I="finalized";let g=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}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,n)=>{const s=this._$Ep(n,t);s!==void 0&&(this._$Ev.set(s,n),e.push(s))}),e}static createProperty(e,t=R){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n=typeof e=="symbol"?Symbol():"__"+e,s=this.getPropertyDescriptor(e,n,t);s!==void 0&&Object.defineProperty(this.prototype,e,s)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(s){const l=this[e];this[t]=s,this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||R}static finalize(){if(this.hasOwnProperty(I))return!1;this[I]=!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,n=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of n)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const s of n)t.unshift(Z(s))}else e!==void 0&&t.push(Z(e));return t}static _$Ep(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){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,n;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)===null||n===void 0||n.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 $e(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 n;return(n=t.hostConnected)===null||n===void 0?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var n;return(n=t.hostDisconnected)===null||n===void 0?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=R){var s;const l=this.constructor._$Ep(e,n);if(l!==void 0&&n.reflect===!0){const r=(((s=n.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?n.converter:z).toAttribute(t,n.type);this._$El=e,r==null?this.removeAttribute(l):this.setAttribute(l,r),this._$El=null}}_$AK(e,t){var n;const s=this.constructor,l=s._$Ev.get(e);if(l!==void 0&&this._$El!==l){const r=s.getPropertyOptions(l),u=typeof r.converter=="function"?{fromAttribute:r.converter}:((n=r.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?r.converter:z;this._$El=l,this[l]=u.fromAttribute(t,r.type),this._$El=null}}requestUpdate(e,t,n){let s=!0;e!==void 0&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||le)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,n))):s=!1),!this.isUpdatePending&&s&&(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((s,l)=>this[l]=s),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),(e=this._$ES)===null||e===void 0||e.forEach(s=>{var l;return(l=s.hostUpdate)===null||l===void 0?void 0:l.call(s)}),this.update(n)):this._$Ek()}catch(s){throw t=!1,this._$Ek(),s}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(n=>{var s;return(s=n.hostUpdated)===null||s===void 0?void 0:s.call(n)}),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,n)=>this._$EO(n,this[n],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};g[I]=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},F==null||F({ReactiveElement:g}),((k=N.reactiveElementVersions)!==null&&k!==void 0?k:N.reactiveElementVersions=[]).push("1.6.3");/**
10
- * @license
11
- * Copyright 2017 Google LLC
12
- * SPDX-License-Identifier: BSD-3-Clause
13
- */var M;const T=window,E=T.trustedTypes,G=E?E.createPolicy("lit-html",{createHTML:i=>i}):void 0,V="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,oe="?"+$,Ae=`<${oe}>`,m=document,C=()=>m.createComment(""),w=i=>i===null||typeof i!="object"&&typeof i!="function",de=Array.isArray,me=i=>de(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",L=`[
14
- \f\r]`,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Q=/-->/g,X=/>/g,_=RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,ee=/"/g,ue=/^(?:script|style|textarea|title)$/i,ye=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),ge=ye(1),y=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),te=new WeakMap,A=m.createTreeWalker(m,129,null,!1);function he(i,e){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return G!==void 0?G.createHTML(e):e}const Ee=(i,e)=>{const t=i.length-1,n=[];let s,l=e===2?"<svg>":"",r=S;for(let u=0;u<t;u++){const o=i[u];let d,h,a=-1,f=0;for(;f<o.length&&(r.lastIndex=f,h=r.exec(o),h!==null);)f=r.lastIndex,r===S?h[1]==="!--"?r=Q:h[1]!==void 0?r=X:h[2]!==void 0?(ue.test(h[2])&&(s=RegExp("</"+h[2],"g")),r=_):h[3]!==void 0&&(r=_):r===_?h[0]===">"?(r=s??S,a=-1):h[1]===void 0?a=-2:(a=r.lastIndex-h[2].length,d=h[1],r=h[3]===void 0?_:h[3]==='"'?ee:Y):r===ee||r===Y?r=_:r===Q||r===X?r=S:(r=_,s=void 0);const p=r===_&&i[u+1].startsWith("/>")?" ":"";l+=r===S?o+Ae:a>=0?(n.push(d),o.slice(0,a)+V+o.slice(a)+$+p):o+$+(a===-2?(n.push(void 0),u):p)}return[he(i,l+(i[t]||"<?>")+(e===2?"</svg>":"")),n]};class x{constructor({strings:e,_$litType$:t},n){let s;this.parts=[];let l=0,r=0;const u=e.length-1,o=this.parts,[d,h]=Ee(e,t);if(this.el=x.createElement(d,n),A.currentNode=this.el.content,t===2){const a=this.el.content,f=a.firstChild;f.remove(),a.append(...f.childNodes)}for(;(s=A.nextNode())!==null&&o.length<u;){if(s.nodeType===1){if(s.hasAttributes()){const a=[];for(const f of s.getAttributeNames())if(f.endsWith(V)||f.startsWith($)){const p=h[r++];if(a.push(f),p!==void 0){const fe=s.getAttribute(p.toLowerCase()+V).split($),U=/([.?@])?(.*)/.exec(p);o.push({type:1,index:l,name:U[2],strings:fe,ctor:U[1]==="."?Se:U[1]==="?"?Ce:U[1]==="@"?we:O})}else o.push({type:6,index:l})}for(const f of a)s.removeAttribute(f)}if(ue.test(s.tagName)){const a=s.textContent.split($),f=a.length-1;if(f>0){s.textContent=E?E.emptyScript:"";for(let p=0;p<f;p++)s.append(a[p],C()),A.nextNode(),o.push({type:2,index:++l});s.append(a[f],C())}}}else if(s.nodeType===8)if(s.data===oe)o.push({type:2,index:l});else{let a=-1;for(;(a=s.data.indexOf($,a+1))!==-1;)o.push({type:7,index:l}),a+=$.length-1}l++}}static createElement(e,t){const n=m.createElement("template");return n.innerHTML=e,n}}function v(i,e,t=i,n){var s,l,r,u;if(e===y)return e;let o=n!==void 0?(s=t._$Co)===null||s===void 0?void 0:s[n]:t._$Cl;const d=w(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==d&&((l=o==null?void 0:o._$AO)===null||l===void 0||l.call(o,!1),d===void 0?o=void 0:(o=new d(i),o._$AT(i,t,n)),n!==void 0?((r=(u=t)._$Co)!==null&&r!==void 0?r:u._$Co=[])[n]=o:t._$Cl=o),o!==void 0&&(e=v(i,o._$AS(i,e.values),o,n)),e}class ve{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:s}=this._$AD,l=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:m).importNode(n,!0);A.currentNode=l;let r=A.nextNode(),u=0,o=0,d=s[0];for(;d!==void 0;){if(u===d.index){let h;d.type===2?h=new P(r,r.nextSibling,this,e):d.type===1?h=new d.ctor(r,d.name,d.strings,this,e):d.type===6&&(h=new xe(r,this,e)),this._$AV.push(h),d=s[++o]}u!==(d==null?void 0:d.index)&&(r=A.nextNode(),u++)}return A.currentNode=m,l}v(e){let t=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class P{constructor(e,t,n,s){var l;this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=s,this._$Cp=(l=s==null?void 0:s.isConnected)===null||l===void 0||l}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=v(this,e,t),w(e)?e===c||e==null||e===""?(this._$AH!==c&&this._$AR(),this._$AH=c):e!==this._$AH&&e!==y&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):me(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==c&&w(this._$AH)?this._$AA.nextSibling.data=e:this.$(m.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:s}=e,l=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=x.createElement(he(s.h,s.h[0]),this.options)),s);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===l)this._$AH.v(n);else{const r=new ve(l,this),u=r.u(this.options);r.v(n),this.$(u),this._$AH=r}}_$AC(e){let t=te.get(e.strings);return t===void 0&&te.set(e.strings,t=new x(e)),t}T(e){de(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,s=0;for(const l of e)s===t.length?t.push(n=new P(this.k(C()),this.k(C()),this,this.options)):n=t[s],n._$AI(l),s++;s<t.length&&(this._$AR(n&&n._$AB.nextSibling,s),t.length=s)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,t);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class O{constructor(e,t,n,s,l){this.type=1,this._$AH=c,this._$AN=void 0,this.element=e,this.name=t,this._$AM=s,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=c}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,s){const l=this.strings;let r=!1;if(l===void 0)e=v(this,e,t,0),r=!w(e)||e!==this._$AH&&e!==y,r&&(this._$AH=e);else{const u=e;let o,d;for(e=l[0],o=0;o<l.length-1;o++)d=v(this,u[n+o],t,o),d===y&&(d=this._$AH[o]),r||(r=!w(d)||d!==this._$AH[o]),d===c?e=c:e!==c&&(e+=(d??"")+l[o+1]),this._$AH[o]=d}r&&!s&&this.j(e)}j(e){e===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Se extends O{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===c?void 0:e}}const be=E?E.emptyScript:"";class Ce extends O{constructor(){super(...arguments),this.type=4}j(e){e&&e!==c?this.element.setAttribute(this.name,be):this.element.removeAttribute(this.name)}}class we extends O{constructor(e,t,n,s,l){super(e,t,n,s,l),this.type=5}_$AI(e,t=this){var n;if((e=(n=v(this,e,t,0))!==null&&n!==void 0?n:c)===y)return;const s=this._$AH,l=e===c&&s!==c||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==c&&(s===c||l);l&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;typeof this._$AH=="function"?this._$AH.call((n=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&n!==void 0?n:this.element,e):this._$AH.handleEvent(e)}}class xe{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){v(this,e)}}const ne=T.litHtmlPolyfillSupport;ne==null||ne(x,P),((M=T.litHtmlVersions)!==null&&M!==void 0?M:T.litHtmlVersions=[]).push("2.8.0");const ae=(i,e,t)=>{var n,s;const l=(n=t==null?void 0:t.renderBefore)!==null&&n!==void 0?n:e;let r=l._$litPart$;if(r===void 0){const u=(s=t==null?void 0:t.renderBefore)!==null&&s!==void 0?s:null;l._$litPart$=r=new P(e.insertBefore(C(),u),u,void 0,t??{})}return r._$AI(i),r};/**
16
- * @license
17
- * Copyright 2017 Google LLC
18
- * SPDX-License-Identifier: BSD-3-Clause
19
- */var j,D;class b extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const n=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=n.firstChild),n}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ae(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 y}}b.finalized=!0,b._$litElement$=!0,(j=globalThis.litElementHydrateSupport)===null||j===void 0||j.call(globalThis,{LitElement:b});const se=globalThis.litElementPolyfillSupport;se==null||se({LitElement:b});((D=globalThis.litElementVersions)!==null&&D!==void 0?D:globalThis.litElementVersions=[]).push("3.3.3");/**
20
- * @license
21
- * Copyright 2017 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */const Pe=i=>e=>typeof e=="function"?((t,n)=>(customElements.define(t,n),n))(i,e):((t,n)=>{const{kind:s,elements:l}=n;return{kind:s,elements:l,finisher(r){customElements.define(t,r)}}})(i,e);/**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */const ce=({finisher:i,descriptor:e})=>(t,n)=>{var s;if(n===void 0){const l=(s=t.originalKey)!==null&&s!==void 0?s:t.key,r=e!=null?{kind:"method",placement:"prototype",key:l,descriptor:e(t.key)}:{...t,key:l};return i!=null&&(r.finisher=function(u){i(u,l)}),r}{const l=t.constructor;e!==void 0&&Object.defineProperty(t,n,e(n)),i==null||i(l,n)}};/**
28
- * @license
29
- * Copyright 2021 Google LLC
30
- * SPDX-License-Identifier: BSD-3-Clause
31
- */var B;const Ue=((B=window.HTMLSlotElement)===null||B===void 0?void 0:B.prototype.assignedElements)!=null?(i,e)=>i.assignedElements(e):(i,e)=>i.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE);function He(i){const{slot:e,selector:t}=i??{};return ce({descriptor:n=>({get(){var s;const l="slot"+(e?`[name=${e}]`:":not([name])"),r=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(l),u=r!=null?Ue(r,i):[];return t?u.filter(o=>o.matches(t)):u},enumerable:!0,configurable:!0})})}exports.A=c;exports.D=ae;exports.T=y;exports.e=Pe;exports.i=pe;exports.l=He;exports.o=ce;exports.r=re;exports.s=b;exports.x=ge;