@covalent/components 6.0.4 → 6.0.5

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 (303) hide show
  1. package/action-ribbon/action-ribbon-base.d.ts.map +1 -0
  2. package/{src/action-ribbon → action-ribbon}/action-ribbon.d.ts +1 -0
  3. package/action-ribbon/action-ribbon.d.ts.map +1 -0
  4. package/action-ribbon.js +18 -0
  5. package/action-ribbon.mjs +13 -11
  6. package/alert/alert-base.d.ts.map +1 -0
  7. package/{src/alert → alert}/alert.d.ts +1 -0
  8. package/alert/alert.d.ts.map +1 -0
  9. package/alert.js +21 -0
  10. package/alert.mjs +14 -12
  11. package/{src/app-shell → app-shell}/app-shell.d.ts +1 -0
  12. package/app-shell/app-shell.d.ts.map +1 -0
  13. package/app-shell.js +41 -0
  14. package/app-shell.mjs +19 -17
  15. package/aria-property.mjs +2 -38
  16. package/base-element.mjs +2 -25
  17. package/{src/button → button}/button.d.ts +3 -2
  18. package/button/button.d.ts.map +1 -0
  19. package/button.js +44 -0
  20. package/button.mjs +11 -9
  21. package/card/card-base.d.ts.map +1 -0
  22. package/{src/card → card}/card.d.ts +3 -2
  23. package/card/card.d.ts.map +1 -0
  24. package/card.js +19 -0
  25. package/card.mjs +3 -1
  26. package/check-list-item.js +27 -0
  27. package/check-list-item.mjs +17 -15
  28. package/{src/checkbox → checkbox}/checkbox.d.ts +3 -2
  29. package/checkbox/checkbox.d.ts.map +1 -0
  30. package/checkbox.js +2 -0
  31. package/checkbox.mjs +15 -13
  32. package/chips/chip-base.d.ts.map +1 -0
  33. package/chips/chip-set-base.d.ts.map +1 -0
  34. package/{src/chips → chips}/chip-set.d.ts +1 -0
  35. package/chips/chip-set.d.ts.map +1 -0
  36. package/{src/chips → chips}/chip.d.ts +1 -0
  37. package/chips/chip.d.ts.map +1 -0
  38. package/chips/foundation.d.ts.map +1 -0
  39. package/circular-progress/circular-progress.d.ts +11 -0
  40. package/circular-progress/circular-progress.d.ts.map +1 -0
  41. package/circular-progress.js +65 -0
  42. package/circular-progress.mjs +11 -9
  43. package/class-map.mjs +3 -56
  44. package/{src/code-snippet → code-snippet}/code-snippet.d.ts +3 -2
  45. package/code-snippet/code-snippet.d.ts.map +1 -0
  46. package/code-snippet.js +13 -0
  47. package/code-snippet.mjs +36 -34
  48. package/{src/dialog → dialog}/dialog.d.ts +3 -2
  49. package/dialog/dialog.d.ts.map +1 -0
  50. package/dialog.js +1 -0
  51. package/dialog.mjs +15 -608
  52. package/dialog2.mjs +750 -0
  53. package/directive-helpers.mjs +2 -8
  54. package/{src/drawer → drawer}/drawer.d.ts +3 -2
  55. package/drawer/drawer.d.ts.map +1 -0
  56. package/drawer.js +6 -0
  57. package/drawer.mjs +11 -9
  58. package/{src/empty-state → empty-state}/empty-state.d.ts +3 -2
  59. package/empty-state/empty-state.d.ts.map +1 -0
  60. package/empty-state.js +27 -0
  61. package/empty-state.mjs +17 -15
  62. package/event-options.mjs +2 -11
  63. package/form-element.mjs +2 -47
  64. package/{src/formfield → formfield}/formfield.d.ts +3 -2
  65. package/formfield/formfield.d.ts.map +1 -0
  66. package/foundation.mjs +3 -112
  67. package/foundation2.mjs +2 -40
  68. package/{src/icon → icon}/icon.d.ts +1 -0
  69. package/icon/icon.d.ts.map +1 -0
  70. package/{src/icon-button → icon-button}/icon-button.d.ts +3 -2
  71. package/icon-button/icon-button.d.ts.map +1 -0
  72. package/icon-button.js +32 -0
  73. package/icon-button.mjs +23 -21
  74. package/icon-check-toggle.js +15 -0
  75. package/icon-check-toggle.mjs +5 -5
  76. package/{src/icon-checkbox → icon-checkbox}/icon-check-toggle.d.ts +3 -2
  77. package/icon-checkbox/icon-check-toggle.d.ts.map +1 -0
  78. package/{src/icon-radio → icon-radio}/icon-radio-toggle.d.ts +3 -2
  79. package/icon-radio/icon-radio-toggle.d.ts.map +1 -0
  80. package/icon-radio-toggle.js +14 -0
  81. package/icon-radio-toggle.mjs +19 -19
  82. package/icon.js +5 -0
  83. package/icon.mjs +11 -9
  84. package/if-defined.mjs +2 -7
  85. package/index.d.ts +46 -0
  86. package/index.d.ts.map +1 -0
  87. package/index.js +1 -0
  88. package/index.mjs +126 -0
  89. package/inert.esm.mjs +3 -615
  90. package/linear-progress/linear-progress.d.ts +11 -0
  91. package/linear-progress/linear-progress.d.ts.map +1 -0
  92. package/linear-progress.js +36 -0
  93. package/linear-progress.mjs +21 -19
  94. package/list/check-list-item.d.ts +11 -0
  95. package/list/check-list-item.d.ts.map +1 -0
  96. package/{src/list → list}/list-expansion.d.ts +5 -4
  97. package/list/list-expansion.d.ts.map +1 -0
  98. package/{src/list → list}/list-item.d.ts +3 -2
  99. package/list/list-item.d.ts.map +1 -0
  100. package/{src/list → list}/list.d.ts +3 -2
  101. package/list/list.d.ts.map +1 -0
  102. package/{src/list → list}/nav-list-item.d.ts +3 -2
  103. package/list/nav-list-item.d.ts.map +1 -0
  104. package/list/radio-list-item.d.ts +11 -0
  105. package/list/radio-list-item.d.ts.map +1 -0
  106. package/list-expansion.js +9 -0
  107. package/list-expansion.mjs +20 -18
  108. package/list-item.js +1 -0
  109. package/list-item.mjs +8 -48
  110. package/list-item2.mjs +43 -0
  111. package/list.js +1 -0
  112. package/list.mjs +2 -27
  113. package/list2.mjs +25 -0
  114. package/{src/menu → menu}/menu.d.ts +3 -2
  115. package/menu/menu.d.ts.map +1 -0
  116. package/menu.js +5 -0
  117. package/menu.mjs +11 -9
  118. package/mwc-checkbox-base.mjs +11 -168
  119. package/mwc-checkbox.css.mjs +2 -7
  120. package/mwc-drawer-base.mjs +12 -242
  121. package/mwc-icon.mjs +3 -20
  122. package/mwc-line-ripple-directive.mjs +16 -452
  123. package/mwc-list-base.mjs +26 -755
  124. package/mwc-list-item-base.mjs +9 -183
  125. package/mwc-list-item.css.mjs +3 -11
  126. package/mwc-menu-base.mjs +21 -976
  127. package/mwc-radio-base.mjs +11 -438
  128. package/mwc-radio.css.mjs +2 -7
  129. package/mwc-slider.css.mjs +23 -794
  130. package/mwc-tab-base.mjs +25 -503
  131. package/mwc-top-app-bar-base.mjs +12 -282
  132. package/nav-list-item.js +10 -0
  133. package/nav-list-item.mjs +26 -24
  134. package/observer.mjs +2 -29
  135. package/package.json +226 -6
  136. package/property.mjs +2 -17
  137. package/query-assigned-elements.mjs +9 -591
  138. package/query-assigned-nodes.mjs +2 -14
  139. package/query.mjs +2 -22
  140. package/{src/radio → radio}/radio.d.ts +3 -2
  141. package/radio/radio.d.ts.map +1 -0
  142. package/radio-list-item.js +27 -0
  143. package/radio-list-item.mjs +17 -15
  144. package/radio.js +2 -0
  145. package/radio.mjs +12 -10
  146. package/ripple-handlers.mjs +12 -666
  147. package/{src/select → select}/select.d.ts +3 -2
  148. package/select/select.d.ts.map +1 -0
  149. package/select.js +272 -0
  150. package/select.mjs +124 -122
  151. package/{src/side-sheet → side-sheet}/side-sheet.d.ts +2 -2
  152. package/side-sheet/side-sheet.d.ts.map +1 -0
  153. package/side-sheet.js +4 -0
  154. package/side-sheet.mjs +3 -3
  155. package/slider/slider-range.d.ts +11 -0
  156. package/slider/slider-range.d.ts.map +1 -0
  157. package/{src/slider → slider}/slider.d.ts +3 -2
  158. package/slider/slider.d.ts.map +1 -0
  159. package/slider-range.js +64 -0
  160. package/slider-range.mjs +23 -21
  161. package/slider.js +14 -0
  162. package/slider.mjs +16 -14
  163. package/{src/snackbar → snackbar}/snackbar.d.ts +3 -2
  164. package/snackbar/snackbar.d.ts.map +1 -0
  165. package/snackbar.js +93 -0
  166. package/snackbar.mjs +12 -10
  167. package/state.mjs +2 -9
  168. package/status-header/status-header-base.d.ts.map +1 -0
  169. package/{src/status-header → status-header}/status-header-item.d.ts +1 -0
  170. package/status-header/status-header-item.d.ts.map +1 -0
  171. package/{src/status-header → status-header}/status-header.d.ts +1 -0
  172. package/status-header/status-header.d.ts.map +1 -0
  173. package/status-header-item.js +4 -0
  174. package/status-header-item.mjs +17 -15
  175. package/status-header.js +24 -0
  176. package/status-header.mjs +17 -15
  177. package/style-map.mjs +2 -37
  178. package/{src/switch → switch}/switch.d.ts +3 -2
  179. package/switch/switch.d.ts.map +1 -0
  180. package/switch.js +174 -0
  181. package/switch.mjs +10 -8
  182. package/{src/tab → tab}/tab-bar.d.ts +3 -2
  183. package/tab/tab-bar.d.ts.map +1 -0
  184. package/{src/tab → tab}/tab.d.ts +3 -2
  185. package/tab/tab.d.ts.map +1 -0
  186. package/tab-bar.js +278 -0
  187. package/tab-bar.mjs +23 -21
  188. package/tab.js +6 -0
  189. package/tab.mjs +11 -9
  190. package/{src/text-lockup → text-lockup}/text-lockup.d.ts +1 -0
  191. package/text-lockup/text-lockup.d.ts.map +1 -0
  192. package/text-lockup.js +7 -0
  193. package/text-lockup.mjs +11 -9
  194. package/{src/textarea → textarea}/textarea.d.ts +3 -2
  195. package/textarea/textarea.d.ts.map +1 -0
  196. package/textarea.js +40 -0
  197. package/textarea.mjs +14 -12
  198. package/{src/textfield → textfield}/textfield.d.ts +3 -2
  199. package/textfield/textfield.d.ts.map +1 -0
  200. package/textfield.js +7 -0
  201. package/textfield.mjs +132 -39
  202. package/textfield2.mjs +1 -1
  203. package/{src/toolbar → toolbar}/toolbar.d.ts +3 -2
  204. package/toolbar/toolbar.d.ts.map +1 -0
  205. package/toolbar.js +4 -0
  206. package/toolbar.mjs +11 -9
  207. package/{src/tooltip → tooltip}/tooltip.d.ts +3 -2
  208. package/tooltip/tooltip.d.ts.map +1 -0
  209. package/tooltip.js +126 -0
  210. package/tooltip.mjs +66 -64
  211. package/top-app-bar/top-app-bar-fixed.d.ts +11 -0
  212. package/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
  213. package/{src/top-app-bar → top-app-bar}/top-app-bar.d.ts +3 -2
  214. package/top-app-bar/top-app-bar.d.ts.map +1 -0
  215. package/top-app-bar-fixed.js +28 -0
  216. package/top-app-bar-fixed.mjs +16 -14
  217. package/top-app-bar.js +3 -0
  218. package/top-app-bar.mjs +6 -28
  219. package/{src/tree-list → tree-list}/tree-list-item.d.ts +1 -0
  220. package/tree-list/tree-list-item.d.ts.map +1 -0
  221. package/{src/tree-list → tree-list}/tree-list.d.ts +1 -0
  222. package/tree-list/tree-list.d.ts.map +1 -0
  223. package/tree-list-item.js +26 -0
  224. package/tree-list-item.mjs +7 -5
  225. package/tree-list.js +10 -0
  226. package/tree-list.mjs +13 -12
  227. package/tslib.es6.mjs +1 -82
  228. package/{src/typography → typography}/typography.d.ts +1 -0
  229. package/typography/typography.d.ts.map +1 -0
  230. package/typography.js +4 -0
  231. package/typography.mjs +16 -14
  232. package/utils.mjs +2 -49
  233. package/covalent.mjs +0 -44
  234. package/covalent.umd.js +0 -3501
  235. package/src/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  236. package/src/action-ribbon/action-ribbon.d.ts.map +0 -1
  237. package/src/alert/alert-base.d.ts.map +0 -1
  238. package/src/alert/alert.d.ts.map +0 -1
  239. package/src/app-shell/app-shell.d.ts.map +0 -1
  240. package/src/button/button.d.ts.map +0 -1
  241. package/src/card/card-base.d.ts.map +0 -1
  242. package/src/card/card.d.ts.map +0 -1
  243. package/src/checkbox/checkbox.d.ts.map +0 -1
  244. package/src/chips/chip-base.d.ts.map +0 -1
  245. package/src/chips/chip-set-base.d.ts.map +0 -1
  246. package/src/chips/chip-set.d.ts.map +0 -1
  247. package/src/chips/chip.d.ts.map +0 -1
  248. package/src/chips/foundation.d.ts.map +0 -1
  249. package/src/circular-progress/circular-progress.d.ts +0 -10
  250. package/src/circular-progress/circular-progress.d.ts.map +0 -1
  251. package/src/code-snippet/code-snippet.d.ts.map +0 -1
  252. package/src/dialog/dialog.d.ts.map +0 -1
  253. package/src/drawer/drawer.d.ts.map +0 -1
  254. package/src/empty-state/empty-state.d.ts.map +0 -1
  255. package/src/formfield/formfield.d.ts.map +0 -1
  256. package/src/icon/icon.d.ts.map +0 -1
  257. package/src/icon-button/icon-button.d.ts.map +0 -1
  258. package/src/icon-checkbox/icon-check-toggle.d.ts.map +0 -1
  259. package/src/icon-radio/icon-radio-toggle.d.ts.map +0 -1
  260. package/src/index.d.ts +0 -3
  261. package/src/index.d.ts.map +0 -1
  262. package/src/linear-progress/linear-progress.d.ts +0 -10
  263. package/src/linear-progress/linear-progress.d.ts.map +0 -1
  264. package/src/list/check-list-item.d.ts +0 -10
  265. package/src/list/check-list-item.d.ts.map +0 -1
  266. package/src/list/list-expansion.d.ts.map +0 -1
  267. package/src/list/list-item.d.ts.map +0 -1
  268. package/src/list/list.d.ts.map +0 -1
  269. package/src/list/nav-list-item.d.ts.map +0 -1
  270. package/src/list/radio-list-item.d.ts +0 -10
  271. package/src/list/radio-list-item.d.ts.map +0 -1
  272. package/src/menu/menu.d.ts.map +0 -1
  273. package/src/radio/radio.d.ts.map +0 -1
  274. package/src/select/select.d.ts.map +0 -1
  275. package/src/side-sheet/side-sheet.d.ts.map +0 -1
  276. package/src/slider/slider-range.d.ts +0 -10
  277. package/src/slider/slider-range.d.ts.map +0 -1
  278. package/src/slider/slider.d.ts.map +0 -1
  279. package/src/snackbar/snackbar.d.ts.map +0 -1
  280. package/src/status-header/status-header-base.d.ts.map +0 -1
  281. package/src/status-header/status-header-item.d.ts.map +0 -1
  282. package/src/status-header/status-header.d.ts.map +0 -1
  283. package/src/switch/switch.d.ts.map +0 -1
  284. package/src/tab/tab-bar.d.ts.map +0 -1
  285. package/src/tab/tab.d.ts.map +0 -1
  286. package/src/text-lockup/text-lockup.d.ts.map +0 -1
  287. package/src/textarea/textarea.d.ts.map +0 -1
  288. package/src/textfield/textfield.d.ts.map +0 -1
  289. package/src/toolbar/toolbar.d.ts.map +0 -1
  290. package/src/tooltip/tooltip.d.ts.map +0 -1
  291. package/src/top-app-bar/top-app-bar-fixed.d.ts +0 -10
  292. package/src/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
  293. package/src/top-app-bar/top-app-bar.d.ts.map +0 -1
  294. package/src/tree-list/tree-list-item.d.ts.map +0 -1
  295. package/src/tree-list/tree-list.d.ts.map +0 -1
  296. package/src/typography/typography.d.ts.map +0 -1
  297. /package/{src/action-ribbon → action-ribbon}/action-ribbon-base.d.ts +0 -0
  298. /package/{src/alert → alert}/alert-base.d.ts +0 -0
  299. /package/{src/card → card}/card-base.d.ts +0 -0
  300. /package/{src/chips → chips}/chip-base.d.ts +0 -0
  301. /package/{src/chips → chips}/chip-set-base.d.ts +0 -0
  302. /package/{src/chips → chips}/foundation.d.ts +0 -0
  303. /package/{src/status-header → status-header}/status-header-base.d.ts +0 -0
@@ -1,615 +1,33 @@
1
- /**
1
+ "use strict";/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const H = window, I = H.ShadowRoot && (H.ShadyCSS === void 0 || H.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, V = Symbol(), W = /* @__PURE__ */ new WeakMap();
7
- let st = class {
8
- constructor(t, e, s) {
9
- if (this._$cssResult$ = !0, s !== V)
10
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
- this.cssText = t, this.t = e;
12
- }
13
- get styleSheet() {
14
- let t = this.o;
15
- const e = this.t;
16
- if (I && t === void 0) {
17
- const s = e !== void 0 && e.length === 1;
18
- s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
19
- }
20
- return t;
21
- }
22
- toString() {
23
- return this.cssText;
24
- }
25
- };
26
- const lt = (n) => new st(typeof n == "string" ? n : n + "", void 0, V), bt = (n, ...t) => {
27
- const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
28
- if (o._$cssResult$ === !0)
29
- return o.cssText;
30
- if (typeof o == "number")
31
- return o;
32
- throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
- })(i) + n[r + 1], n[0]);
34
- return new st(e, n, V);
35
- }, ht = (n, t) => {
36
- I ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
37
- const s = document.createElement("style"), i = H.litNonce;
38
- i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
39
- });
40
- }, q = I ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
41
- let e = "";
42
- for (const s of t.cssRules)
43
- e += s.cssText;
44
- return lt(e);
45
- })(n) : n;
46
- /**
5
+ */const O=window,I=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),W=new WeakMap;let st=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(I&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=W.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&W.set(e,t))}return t}toString(){return this.cssText}};const it=n=>new st(typeof n=="string"?n:n+"",void 0,V),dt=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((s,i,r)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+n[r+1],n[0]);return new st(e,n,V)},ct=(n,t)=>{I?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const s=document.createElement("style"),i=O.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,n.appendChild(s)})},q=I?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return it(e)})(n):n;/**
47
6
  * @license
48
7
  * Copyright 2017 Google LLC
49
8
  * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
- var k;
52
- const T = window, K = T.trustedTypes, at = K ? K.emptyScript : "", Z = T.reactiveElementPolyfillSupport, D = { toAttribute(n, t) {
53
- switch (t) {
54
- case Boolean:
55
- n = n ? at : null;
56
- break;
57
- case Object:
58
- case Array:
59
- n = n == null ? n : JSON.stringify(n);
60
- }
61
- return n;
62
- }, fromAttribute(n, t) {
63
- let e = n;
64
- switch (t) {
65
- case Boolean:
66
- e = n !== null;
67
- break;
68
- case Number:
69
- e = n === null ? null : Number(n);
70
- break;
71
- case Object:
72
- case Array:
73
- try {
74
- e = JSON.parse(n);
75
- } catch {
76
- e = null;
77
- }
78
- }
79
- return e;
80
- } }, it = (n, t) => t !== n && (t == t || n == n), M = { attribute: !0, type: String, converter: D, reflect: !1, hasChanged: it };
81
- let f = class extends HTMLElement {
82
- constructor() {
83
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
84
- }
85
- static addInitializer(t) {
86
- var e;
87
- this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
88
- }
89
- static get observedAttributes() {
90
- this.finalize();
91
- const t = [];
92
- return this.elementProperties.forEach((e, s) => {
93
- const i = this._$Ep(s, e);
94
- i !== void 0 && (this._$Ev.set(i, s), t.push(i));
95
- }), t;
96
- }
97
- static createProperty(t, e = M) {
98
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
99
- const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
100
- i !== void 0 && Object.defineProperty(this.prototype, t, i);
101
- }
102
- }
103
- static getPropertyDescriptor(t, e, s) {
104
- return { get() {
105
- return this[e];
106
- }, set(i) {
107
- const r = this[t];
108
- this[e] = i, this.requestUpdate(t, r, s);
109
- }, configurable: !0, enumerable: !0 };
110
- }
111
- static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) || M;
113
- }
114
- static finalize() {
115
- if (this.hasOwnProperty("finalized"))
116
- return !1;
117
- this.finalized = !0;
118
- const t = Object.getPrototypeOf(this);
119
- if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
120
- const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
121
- for (const i of s)
122
- this.createProperty(i, e[i]);
123
- }
124
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
125
- }
126
- static finalizeStyles(t) {
127
- const e = [];
128
- if (Array.isArray(t)) {
129
- const s = new Set(t.flat(1 / 0).reverse());
130
- for (const i of s)
131
- e.unshift(q(i));
132
- } else
133
- t !== void 0 && e.push(q(t));
134
- return e;
135
- }
136
- static _$Ep(t, e) {
137
- const s = e.attribute;
138
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
139
- }
140
- u() {
141
- var t;
142
- this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
143
- }
144
- addController(t) {
145
- var e, s;
146
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) === null || s === void 0 || s.call(t));
147
- }
148
- removeController(t) {
149
- var e;
150
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
151
- }
152
- _$Eg() {
153
- this.constructor.elementProperties.forEach((t, e) => {
154
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
155
- });
156
- }
157
- createRenderRoot() {
158
- var t;
159
- const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
160
- return ht(e, this.constructor.elementStyles), e;
161
- }
162
- connectedCallback() {
163
- var t;
164
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
165
- var s;
166
- return (s = e.hostConnected) === null || s === void 0 ? void 0 : s.call(e);
167
- });
168
- }
169
- enableUpdating(t) {
170
- }
171
- disconnectedCallback() {
172
- var t;
173
- (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
174
- var s;
175
- return (s = e.hostDisconnected) === null || s === void 0 ? void 0 : s.call(e);
176
- });
177
- }
178
- attributeChangedCallback(t, e, s) {
179
- this._$AK(t, s);
180
- }
181
- _$EO(t, e, s = M) {
182
- var i;
183
- const r = this.constructor._$Ep(t, s);
184
- if (r !== void 0 && s.reflect === !0) {
185
- const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : D).toAttribute(e, s.type);
186
- this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
187
- }
188
- }
189
- _$AK(t, e) {
190
- var s;
191
- const i = this.constructor, r = i._$Ev.get(t);
192
- if (r !== void 0 && this._$El !== r) {
193
- const o = i.getPropertyOptions(r), d = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : D;
194
- this._$El = r, this[r] = d.fromAttribute(e, o.type), this._$El = null;
195
- }
196
- }
197
- requestUpdate(t, e, s) {
198
- let i = !0;
199
- t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || it)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
200
- }
201
- async _$Ej() {
202
- this.isUpdatePending = !0;
203
- try {
204
- await this._$E_;
205
- } catch (e) {
206
- Promise.reject(e);
207
- }
208
- const t = this.scheduleUpdate();
209
- return t != null && await t, !this.isUpdatePending;
210
- }
211
- scheduleUpdate() {
212
- return this.performUpdate();
213
- }
214
- performUpdate() {
215
- var t;
216
- if (!this.isUpdatePending)
217
- return;
218
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((i, r) => this[r] = i), this._$Ei = void 0);
219
- let e = !1;
220
- const s = this._$AL;
221
- try {
222
- e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((i) => {
223
- var r;
224
- return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
225
- }), this.update(s)) : this._$Ek();
226
- } catch (i) {
227
- throw e = !1, this._$Ek(), i;
228
- }
229
- e && this._$AE(s);
230
- }
231
- willUpdate(t) {
232
- }
233
- _$AE(t) {
234
- var e;
235
- (e = this._$ES) === null || e === void 0 || e.forEach((s) => {
236
- var i;
237
- return (i = s.hostUpdated) === null || i === void 0 ? void 0 : i.call(s);
238
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
239
- }
240
- _$Ek() {
241
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
242
- }
243
- get updateComplete() {
244
- return this.getUpdateComplete();
245
- }
246
- getUpdateComplete() {
247
- return this._$E_;
248
- }
249
- shouldUpdate(t) {
250
- return !0;
251
- }
252
- update(t) {
253
- this._$EC !== void 0 && (this._$EC.forEach((e, s) => this._$EO(s, this[s], e)), this._$EC = void 0), this._$Ek();
254
- }
255
- updated(t) {
256
- }
257
- firstUpdated(t) {
258
- }
259
- };
260
- f.finalized = !0, f.elementProperties = /* @__PURE__ */ new Map(), f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, Z == null || Z({ ReactiveElement: f }), ((k = T.reactiveElementVersions) !== null && k !== void 0 ? k : T.reactiveElementVersions = []).push("1.5.0");
261
- /**
9
+ */var k;const T=window,Z=T.trustedTypes,ut=Z?Z.emptyScript:"",K=T.reactiveElementPolyfillSupport,D={toAttribute(n,t){switch(t){case Boolean:n=n?ut:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},nt=(n,t)=>t!==n&&(t==t||n==n),M={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:nt};let A=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const i=this._$Ep(s,e);i!==void 0&&(this._$Ev.set(i,s),t.push(i))}),t}static createProperty(t,e=M){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||M}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of s)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(q(i))}else t!==void 0&&e.push(q(t));return e}static _$Ep(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return ct(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=M){var i;const r=this.constructor._$Ep(t,s);if(r!==void 0&&s.reflect===!0){const o=(((i=s.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?s.converter:D).toAttribute(e,s.type);this._$El=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var s;const i=this.constructor,r=i._$Ev.get(t);if(r!==void 0&&this._$El!==r){const o=i.getPropertyOptions(r),d=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?o.converter:D;this._$El=r,this[r]=d.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,s){let i=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||nt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,r)=>this[r]=i),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var r;return(r=i.hostUpdate)===null||r===void 0?void 0:r.call(i)}),this.update(s)):this._$Ek()}catch(i){throw e=!1,this._$Ek(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(s=>{var i;return(i=s.hostUpdated)===null||i===void 0?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$EO(s,this[s],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};A.finalized=!0,A.elementProperties=new Map,A.elementStyles=[],A.shadowRootOptions={mode:"open"},K==null||K({ReactiveElement:A}),((k=T.reactiveElementVersions)!==null&&k!==void 0?k:T.reactiveElementVersions=[]).push("1.5.0");/**
262
10
  * @license
263
11
  * Copyright 2017 Google LLC
264
12
  * SPDX-License-Identifier: BSD-3-Clause
265
- */
266
- var L;
267
- const N = window, m = N.trustedTypes, J = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, v = `lit$${(Math.random() + "").slice(9)}$`, nt = "?" + v, dt = `<${nt}>`, y = document, b = (n = "") => y.createComment(n), C = (n) => n === null || typeof n != "object" && typeof n != "function", ot = Array.isArray, ct = (n) => ot(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, F = /-->/g, G = />/g, _ = RegExp(`>|[
13
+ */var L;const N=window,y=N.trustedTypes,J=y?y.createPolicy("lit-html",{createHTML:n=>n}):void 0,v=`lit$${(Math.random()+"").slice(9)}$`,ot="?"+v,pt=`<${ot}>`,g=document,C=(n="")=>g.createComment(n),w=n=>n===null||typeof n!="object"&&typeof n!="function",rt=Array.isArray,$t=n=>rt(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,G=/>/g,_=RegExp(`>|[
268
14
  \f\r](?:([^\\s"'>=/]+)([
269
15
  \f\r]*=[
270
16
  \f\r]*(?:[^
271
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, rt = /^(?:script|style|textarea|title)$/i, ut = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), wt = ut(1), g = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), A = y.createTreeWalker(y, 129, null, !1), pt = (n, t) => {
272
- const e = n.length - 1, s = [];
273
- let i, r = t === 2 ? "<svg>" : "", o = S;
274
- for (let l = 0; l < e; l++) {
275
- const h = n[l];
276
- let $, a, c = -1, p = 0;
277
- for (; p < h.length && (o.lastIndex = p, a = o.exec(h), a !== null); )
278
- p = o.lastIndex, o === S ? a[1] === "!--" ? o = F : a[1] !== void 0 ? o = G : a[2] !== void 0 ? (rt.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i ?? S, c = -1) : a[1] === void 0 ? c = -2 : (c = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? X : Q) : o === X || o === Q ? o = _ : o === F || o === G ? o = S : (o = _, i = void 0);
279
- const P = o === _ && n[l + 1].startsWith("/>") ? " " : "";
280
- r += o === S ? h + dt : c >= 0 ? (s.push($), h.slice(0, c) + "$lit$" + h.slice(c) + v + P) : h + v + (c === -2 ? (s.push(void 0), l) : P);
281
- }
282
- const d = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
283
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
284
- throw Error("invalid template strings array");
285
- return [J !== void 0 ? J.createHTML(d) : d, s];
286
- };
287
- class w {
288
- constructor({ strings: t, _$litType$: e }, s) {
289
- let i;
290
- this.parts = [];
291
- let r = 0, o = 0;
292
- const d = t.length - 1, l = this.parts, [h, $] = pt(t, e);
293
- if (this.el = w.createElement(h, s), A.currentNode = this.el.content, e === 2) {
294
- const a = this.el.content, c = a.firstChild;
295
- c.remove(), a.append(...c.childNodes);
296
- }
297
- for (; (i = A.nextNode()) !== null && l.length < d; ) {
298
- if (i.nodeType === 1) {
299
- if (i.hasAttributes()) {
300
- const a = [];
301
- for (const c of i.getAttributeNames())
302
- if (c.endsWith("$lit$") || c.startsWith(v)) {
303
- const p = $[o++];
304
- if (a.push(c), p !== void 0) {
305
- const P = i.getAttribute(p.toLowerCase() + "$lit$").split(v), U = /([.?@])?(.*)/.exec(p);
306
- l.push({ type: 1, index: r, name: U[2], strings: P, ctor: U[1] === "." ? vt : U[1] === "?" ? ft : U[1] === "@" ? At : R });
307
- } else
308
- l.push({ type: 6, index: r });
309
- }
310
- for (const c of a)
311
- i.removeAttribute(c);
312
- }
313
- if (rt.test(i.tagName)) {
314
- const a = i.textContent.split(v), c = a.length - 1;
315
- if (c > 0) {
316
- i.textContent = m ? m.emptyScript : "";
317
- for (let p = 0; p < c; p++)
318
- i.append(a[p], b()), A.nextNode(), l.push({ type: 2, index: ++r });
319
- i.append(a[c], b());
320
- }
321
- }
322
- } else if (i.nodeType === 8)
323
- if (i.data === nt)
324
- l.push({ type: 2, index: r });
325
- else {
326
- let a = -1;
327
- for (; (a = i.data.indexOf(v, a + 1)) !== -1; )
328
- l.push({ type: 7, index: r }), a += v.length - 1;
329
- }
330
- r++;
331
- }
332
- }
333
- static createElement(t, e) {
334
- const s = y.createElement("template");
335
- return s.innerHTML = t, s;
336
- }
337
- }
338
- function E(n, t, e = n, s) {
339
- var i, r, o, d;
340
- if (t === g)
341
- return t;
342
- let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
343
- const h = C(t) ? void 0 : t._$litDirective$;
344
- return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (d = e)._$Co) !== null && o !== void 0 ? o : d._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
345
- }
346
- class $t {
347
- constructor(t, e) {
348
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
349
- }
350
- get parentNode() {
351
- return this._$AM.parentNode;
352
- }
353
- get _$AU() {
354
- return this._$AM._$AU;
355
- }
356
- v(t) {
357
- var e;
358
- const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : y).importNode(s, !0);
359
- A.currentNode = r;
360
- let o = A.nextNode(), d = 0, l = 0, h = i[0];
361
- for (; h !== void 0; ) {
362
- if (d === h.index) {
363
- let $;
364
- h.type === 2 ? $ = new x(o, o.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && ($ = new mt(o, this, t)), this.u.push($), h = i[++l];
365
- }
366
- d !== (h == null ? void 0 : h.index) && (o = A.nextNode(), d++);
367
- }
368
- return r;
369
- }
370
- p(t) {
371
- let e = 0;
372
- for (const s of this.u)
373
- s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
374
- }
375
- }
376
- class x {
377
- constructor(t, e, s, i) {
378
- var r;
379
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cm = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
380
- }
381
- get _$AU() {
382
- var t, e;
383
- return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
384
- }
385
- get parentNode() {
386
- let t = this._$AA.parentNode;
387
- const e = this._$AM;
388
- return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
389
- }
390
- get startNode() {
391
- return this._$AA;
392
- }
393
- get endNode() {
394
- return this._$AB;
395
- }
396
- _$AI(t, e = this) {
397
- t = E(this, t, e), C(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== g && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ct(t) ? this.k(t) : this.g(t);
398
- }
399
- O(t, e = this._$AB) {
400
- return this._$AA.parentNode.insertBefore(t, e);
401
- }
402
- T(t) {
403
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
404
- }
405
- g(t) {
406
- this._$AH !== u && C(this._$AH) ? this._$AA.nextSibling.data = t : this.T(y.createTextNode(t)), this._$AH = t;
407
- }
408
- $(t) {
409
- var e;
410
- const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = w.createElement(i.h, this.options)), i);
411
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
412
- this._$AH.p(s);
413
- else {
414
- const o = new $t(r, this), d = o.v(this.options);
415
- o.p(s), this.T(d), this._$AH = o;
416
- }
417
- }
418
- _$AC(t) {
419
- let e = Y.get(t.strings);
420
- return e === void 0 && Y.set(t.strings, e = new w(t)), e;
421
- }
422
- k(t) {
423
- ot(this._$AH) || (this._$AH = [], this._$AR());
424
- const e = this._$AH;
425
- let s, i = 0;
426
- for (const r of t)
427
- i === e.length ? e.push(s = new x(this.O(b()), this.O(b()), this, this.options)) : s = e[i], s._$AI(r), i++;
428
- i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
429
- }
430
- _$AR(t = this._$AA.nextSibling, e) {
431
- var s;
432
- for ((s = this._$AP) === null || s === void 0 || s.call(this, !1, !0, e); t && t !== this._$AB; ) {
433
- const i = t.nextSibling;
434
- t.remove(), t = i;
435
- }
436
- }
437
- setConnected(t) {
438
- var e;
439
- this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
440
- }
441
- }
442
- class R {
443
- constructor(t, e, s, i, r) {
444
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = u;
445
- }
446
- get tagName() {
447
- return this.element.tagName;
448
- }
449
- get _$AU() {
450
- return this._$AM._$AU;
451
- }
452
- _$AI(t, e = this, s, i) {
453
- const r = this.strings;
454
- let o = !1;
455
- if (r === void 0)
456
- t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== g, o && (this._$AH = t);
457
- else {
458
- const d = t;
459
- let l, h;
460
- for (t = r[0], l = 0; l < r.length - 1; l++)
461
- h = E(this, d[s + l], e, l), h === g && (h = this._$AH[l]), o || (o = !C(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
462
- }
463
- o && !i && this.j(t);
464
- }
465
- j(t) {
466
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
467
- }
468
- }
469
- class vt extends R {
470
- constructor() {
471
- super(...arguments), this.type = 3;
472
- }
473
- j(t) {
474
- this.element[this.name] = t === u ? void 0 : t;
475
- }
476
- }
477
- const _t = m ? m.emptyScript : "";
478
- class ft extends R {
479
- constructor() {
480
- super(...arguments), this.type = 4;
481
- }
482
- j(t) {
483
- t && t !== u ? this.element.setAttribute(this.name, _t) : this.element.removeAttribute(this.name);
484
- }
485
- }
486
- class At extends R {
487
- constructor(t, e, s, i, r) {
488
- super(t, e, s, i, r), this.type = 5;
489
- }
490
- _$AI(t, e = this) {
491
- var s;
492
- if ((t = (s = E(this, t, e, 0)) !== null && s !== void 0 ? s : u) === g)
493
- return;
494
- const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
495
- r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
496
- }
497
- handleEvent(t) {
498
- var e, s;
499
- typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
500
- }
501
- }
502
- class mt {
503
- constructor(t, e, s) {
504
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
505
- }
506
- get _$AU() {
507
- return this._$AM._$AU;
508
- }
509
- _$AI(t) {
510
- E(this, t);
511
- }
512
- }
513
- const tt = N.litHtmlPolyfillSupport;
514
- tt == null || tt(w, x), ((L = N.litHtmlVersions) !== null && L !== void 0 ? L : N.litHtmlVersions = []).push("2.5.0");
515
- const yt = (n, t, e) => {
516
- var s, i;
517
- const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
518
- let o = r._$litPart$;
519
- if (o === void 0) {
520
- const d = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
521
- r._$litPart$ = o = new x(t.insertBefore(b(), d), d, void 0, e ?? {});
522
- }
523
- return o._$AI(n), o;
524
- };
525
- /**
17
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,X=/"/g,lt=/^(?:script|style|textarea|title)$/i,vt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),_t=vt(1),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Y=new WeakMap,m=g.createTreeWalker(g,129,null,!1),ft=(n,t)=>{const e=n.length-1,s=[];let i,r=t===2?"<svg>":"",o=S;for(let l=0;l<e;l++){const h=n[l];let $,a,c=-1,p=0;for(;p<h.length&&(o.lastIndex=p,a=o.exec(h),a!==null);)p=o.lastIndex,o===S?a[1]==="!--"?o=F:a[1]!==void 0?o=G:a[2]!==void 0?(lt.test(a[2])&&(i=RegExp("</"+a[2],"g")),o=_):a[3]!==void 0&&(o=_):o===_?a[0]===">"?(o=i??S,c=-1):a[1]===void 0?c=-2:(c=o.lastIndex-a[2].length,$=a[1],o=a[3]===void 0?_:a[3]==='"'?X:Q):o===X||o===Q?o=_:o===F||o===G?o=S:(o=_,i=void 0);const U=o===_&&n[l+1].startsWith("/>")?" ":"";r+=o===S?h+pt:c>=0?(s.push($),h.slice(0,c)+"$lit$"+h.slice(c)+v+U):h+v+(c===-2?(s.push(void 0),l):U)}const d=r+(n[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return[J!==void 0?J.createHTML(d):d,s]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,o=0;const d=t.length-1,l=this.parts,[h,$]=ft(t,e);if(this.el=x.createElement(h,s),m.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(i=m.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes()){const a=[];for(const c of i.getAttributeNames())if(c.endsWith("$lit$")||c.startsWith(v)){const p=$[o++];if(a.push(c),p!==void 0){const U=i.getAttribute(p.toLowerCase()+"$lit$").split(v),H=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:H[2],strings:U,ctor:H[1]==="."?mt:H[1]==="?"?gt:H[1]==="@"?Et:R})}else l.push({type:6,index:r})}for(const c of a)i.removeAttribute(c)}if(lt.test(i.tagName)){const a=i.textContent.split(v),c=a.length-1;if(c>0){i.textContent=y?y.emptyScript:"";for(let p=0;p<c;p++)i.append(a[p],C()),m.nextNode(),l.push({type:2,index:++r});i.append(a[c],C())}}}else if(i.nodeType===8)if(i.data===ot)l.push({type:2,index:r});else{let a=-1;for(;(a=i.data.indexOf(v,a+1))!==-1;)l.push({type:7,index:r}),a+=v.length-1}r++}}static createElement(t,e){const s=g.createElement("template");return s.innerHTML=t,s}}function E(n,t,e=n,s){var i,r,o,d;if(t===f)return t;let l=s!==void 0?(i=e._$Co)===null||i===void 0?void 0:i[s]:e._$Cl;const h=w(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),h===void 0?l=void 0:(l=new h(n),l._$AT(n,e,s)),s!==void 0?((o=(d=e)._$Co)!==null&&o!==void 0?o:d._$Co=[])[s]=l:e._$Cl=l),l!==void 0&&(t=E(n,l._$AS(n,t.values),l,s)),t}class At{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:s},parts:i}=this._$AD,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:g).importNode(s,!0);m.currentNode=r;let o=m.nextNode(),d=0,l=0,h=i[0];for(;h!==void 0;){if(d===h.index){let $;h.type===2?$=new P(o,o.nextSibling,this,t):h.type===1?$=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&($=new St(o,this,t)),this.u.push($),h=i[++l]}d!==(h==null?void 0:h.index)&&(o=m.nextNode(),d++)}return r}p(t){let e=0;for(const s of this.u)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class P{constructor(t,e,s,i){var r;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cm=(r=i==null?void 0:i.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),w(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==f&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):$t(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==u&&w(this._$AH)?this._$AA.nextSibling.data=t:this.T(g.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=x.createElement(i.h,this.options)),i);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.p(s);else{const o=new At(r,this),d=o.v(this.options);o.p(s),this.T(d),this._$AH=o}}_$AC(t){let e=Y.get(t.strings);return e===void 0&&Y.set(t.strings,e=new x(t)),e}k(t){rt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new P(this.O(C()),this.O(C()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class R{constructor(t,e,s,i,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,i){const r=this.strings;let o=!1;if(r===void 0)t=E(this,t,e,0),o=!w(t)||t!==this._$AH&&t!==f,o&&(this._$AH=t);else{const d=t;let l,h;for(t=r[0],l=0;l<r.length-1;l++)h=E(this,d[s+l],e,l),h===f&&(h=this._$AH[l]),o||(o=!w(h)||h!==this._$AH[l]),h===u?t=u:t!==u&&(t+=(h??"")+r[l+1]),this._$AH[l]=h}o&&!i&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}const yt=y?y.emptyScript:"";class gt extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==u?this.element.setAttribute(this.name,yt):this.element.removeAttribute(this.name)}}class Et extends R{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){var s;if((t=(s=E(this,t,e,0))!==null&&s!==void 0?s:u)===f)return;const i=this._$AH,r=t===u&&i!==u||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==u&&(i===u||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}}class St{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const tt=N.litHtmlPolyfillSupport;tt==null||tt(x,P),((L=N.litHtmlVersions)!==null&&L!==void 0?L:N.litHtmlVersions=[]).push("2.5.0");const ht=(n,t,e)=>{var s,i;const r=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:t;let o=r._$litPart$;if(o===void 0){const d=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:null;r._$litPart$=o=new P(t.insertBefore(C(),d),d,void 0,e??{})}return o._$AI(n),o};/**
526
18
  * @license
527
19
  * Copyright 2017 Google LLC
528
20
  * SPDX-License-Identifier: BSD-3-Clause
529
- */
530
- var j, z;
531
- class O extends f {
532
- constructor() {
533
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
534
- }
535
- createRenderRoot() {
536
- var t, e;
537
- const s = super.createRenderRoot();
538
- return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = s.firstChild), s;
539
- }
540
- update(t) {
541
- const e = this.render();
542
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = yt(e, this.renderRoot, this.renderOptions);
543
- }
544
- connectedCallback() {
545
- var t;
546
- super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
547
- }
548
- disconnectedCallback() {
549
- var t;
550
- super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
551
- }
552
- render() {
553
- return g;
554
- }
555
- }
556
- O.finalized = !0, O._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: O });
557
- const et = globalThis.litElementPolyfillSupport;
558
- et == null || et({ LitElement: O });
559
- ((z = globalThis.litElementVersions) !== null && z !== void 0 ? z : globalThis.litElementVersions = []).push("3.2.2");
560
- /**
21
+ */var j,z;class b extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ht(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return f}}b.finalized=!0,b._$litElement$=!0,(j=globalThis.litElementHydrateSupport)===null||j===void 0||j.call(globalThis,{LitElement:b});const et=globalThis.litElementPolyfillSupport;et==null||et({LitElement:b});((z=globalThis.litElementVersions)!==null&&z!==void 0?z:globalThis.litElementVersions=[]).push("3.2.2");/**
561
22
  * @license
562
23
  * Copyright 2017 Google LLC
563
24
  * SPDX-License-Identifier: BSD-3-Clause
564
- */
565
- const xt = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
566
- const { kind: i, elements: r } = s;
567
- return { kind: i, elements: r, finisher(o) {
568
- customElements.define(e, o);
569
- } };
570
- })(n, t);
571
- /**
25
+ */const bt=n=>t=>typeof t=="function"?((e,s)=>(customElements.define(e,s),s))(n,t):((e,s)=>{const{kind:i,elements:r}=s;return{kind:i,elements:r,finisher(o){customElements.define(e,o)}}})(n,t);/**
572
26
  * @license
573
27
  * Copyright 2017 Google LLC
574
28
  * SPDX-License-Identifier: BSD-3-Clause
575
- */
576
- const gt = ({ finisher: n, descriptor: t }) => (e, s) => {
577
- var i;
578
- if (s === void 0) {
579
- const r = (i = e.originalKey) !== null && i !== void 0 ? i : e.key, o = t != null ? { kind: "method", placement: "prototype", key: r, descriptor: t(e.key) } : { ...e, key: r };
580
- return n != null && (o.finisher = function(d) {
581
- n(d, r);
582
- }), o;
583
- }
584
- {
585
- const r = e.constructor;
586
- t !== void 0 && Object.defineProperty(e, s, t(s)), n == null || n(r, s);
587
- }
588
- };
589
- /**
29
+ */const at=({finisher:n,descriptor:t})=>(e,s)=>{var i;if(s===void 0){const r=(i=e.originalKey)!==null&&i!==void 0?i:e.key,o=t!=null?{kind:"method",placement:"prototype",key:r,descriptor:t(e.key)}:{...e,key:r};return n!=null&&(o.finisher=function(d){n(d,r)}),o}{const r=e.constructor;t!==void 0&&Object.defineProperty(e,s,t(s)),n==null||n(r,s)}};/**
590
30
  * @license
591
31
  * Copyright 2021 Google LLC
592
32
  * SPDX-License-Identifier: BSD-3-Clause
593
- */
594
- var B;
595
- const Et = ((B = window.HTMLSlotElement) === null || B === void 0 ? void 0 : B.prototype.assignedElements) != null ? (n, t) => n.assignedElements(t) : (n, t) => n.assignedNodes(t).filter((e) => e.nodeType === Node.ELEMENT_NODE);
596
- function Pt(n) {
597
- const { slot: t, selector: e } = n ?? {};
598
- return gt({ descriptor: (s) => ({ get() {
599
- var i;
600
- const r = "slot" + (t ? `[name=${t}]` : ":not([name])"), o = (i = this.renderRoot) === null || i === void 0 ? void 0 : i.querySelector(r), d = o != null ? Et(o, n) : [];
601
- return e ? d.filter((l) => l.matches(e)) : d;
602
- }, enumerable: !0, configurable: !0 }) });
603
- }
604
- export {
605
- yt as Z,
606
- u as b,
607
- xt as e,
608
- bt as i,
609
- Pt as l,
610
- gt as o,
611
- lt as r,
612
- O as s,
613
- g as x,
614
- wt as y
615
- };
33
+ */var B;const Ct=((B=window.HTMLSlotElement)===null||B===void 0?void 0:B.prototype.assignedElements)!=null?(n,t)=>n.assignedElements(t):(n,t)=>n.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE);function wt(n){const{slot:t,selector:e}=n??{};return at({descriptor:s=>({get(){var i;const r="slot"+(t?`[name=${t}]`:":not([name])"),o=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(r),d=o!=null?Ct(o,n):[];return e?d.filter(l=>l.matches(e)):d},enumerable:!0,configurable:!0})})}exports.Z=ht;exports.b=u;exports.e=bt;exports.i=dt;exports.l=wt;exports.o=at;exports.r=it;exports.s=b;exports.x=f;exports.y=_t;
@@ -1,17 +1,5 @@
1
- import { l as u, o as d } from "./query-assigned-elements.mjs";
2
- /**
1
+ "use strict";const u=require("./query-assigned-elements.mjs");/**
3
2
  * @license
4
3
  * Copyright 2017 Google LLC
5
4
  * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function m(e, r, s) {
8
- let o, t = e;
9
- return typeof e == "object" ? (t = e.slot, o = e) : o = { flatten: r }, s ? u({ slot: t, flatten: r, selector: s }) : d({ descriptor: (c) => ({ get() {
10
- var l, n;
11
- const a = "slot" + (t ? `[name=${t}]` : ":not([name])"), i = (l = this.renderRoot) === null || l === void 0 ? void 0 : l.querySelector(a);
12
- return (n = i == null ? void 0 : i.assignedNodes(o)) !== null && n !== void 0 ? n : [];
13
- }, enumerable: !0, configurable: !0 }) });
14
- }
15
- export {
16
- m as o
17
- };
5
+ */function d(e,r,s){let o,t=e;return typeof e=="object"?(t=e.slot,o=e):o={flatten:r},s?u.l({slot:t,flatten:r,selector:s}):u.o({descriptor:a=>({get(){var n,l;const c="slot"+(t?`[name=${t}]`:":not([name])"),i=(n=this.renderRoot)===null||n===void 0?void 0:n.querySelector(c);return(l=i==null?void 0:i.assignedNodes(o))!==null&&l!==void 0?l:[]},enumerable:!0,configurable:!0})})}exports.o=d;