@luzmo/lucero 1.0.1-alpha.18 → 1.0.1-alpha.19

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 (275) hide show
  1. package/components/NumberFormatter-DewVDY5w.cjs +18 -0
  2. package/components/NumberFormatter-DgOUVrge.js +136 -0
  3. package/components/NumberParser-Dik4a0h-.cjs +18 -0
  4. package/components/NumberParser-ci9J5EKv.js +173 -0
  5. package/components/accordion/index.cjs +6 -183
  6. package/components/accordion/index.js +88 -136
  7. package/components/action-bar/index.cjs +4 -85
  8. package/components/action-bar/index.js +50 -72
  9. package/components/action-button/index.cjs +3 -205
  10. package/components/action-button/index.js +93 -167
  11. package/components/action-group/index.cjs +1 -7
  12. package/components/action-group/index.js +8 -12
  13. package/components/action-group-C54IxNZk.cjs +20 -0
  14. package/components/action-group-C9dsPJg-.js +258 -0
  15. package/components/action-menu/index.cjs +11 -91
  16. package/components/action-menu/index.js +47 -66
  17. package/components/async-directive-BwIAw5tB.js +82 -0
  18. package/components/async-directive-DLz6JB0v.cjs +22 -0
  19. package/components/avatar/index.cjs +3 -63
  20. package/components/avatar/index.js +42 -54
  21. package/components/{focusable-selectors-D0t_5P7C.cjs → base-BjTwmyRF.cjs} +5 -16
  22. package/components/base-CFWO09N1.js +684 -0
  23. package/components/base-Cy0MQrPT.cjs +40 -0
  24. package/components/base-D76d76ww.js +26 -0
  25. package/components/button/index.cjs +2 -134
  26. package/components/button/index.js +72 -106
  27. package/components/button-base-B8bWcklV.js +144 -0
  28. package/components/button-base-tf95Lyl4.cjs +25 -0
  29. package/components/button-group/index.cjs +1 -45
  30. package/components/button-group/index.js +25 -37
  31. package/components/calendar/index.cjs +1 -632
  32. package/components/calendar/index.js +7 -637
  33. package/components/checkbox/index.cjs +4 -111
  34. package/components/checkbox/index.js +53 -98
  35. package/components/checkbox-mixin-BOTvuPEu.js +70 -0
  36. package/components/checkbox-mixin-BVPpXtsq.cjs +27 -0
  37. package/components/class-map-CGfNk3Ee.js +51 -0
  38. package/components/class-map-D-Y-hsN5.cjs +22 -0
  39. package/components/clear-button-CuPbWwZY.cjs +18 -0
  40. package/components/clear-button-DzZ5ulBW.js +53 -0
  41. package/components/close-button-BTo4yrFR.cjs +18 -0
  42. package/components/close-button-CuQdsez5.js +51 -0
  43. package/components/color-area/index.cjs +13 -440
  44. package/components/color-area/index.js +187 -322
  45. package/components/color-controller-B0uX6Zso.js +3230 -0
  46. package/components/color-controller-CoUL5f9K.cjs +18 -0
  47. package/components/color-field/index.cjs +2 -95
  48. package/components/color-field/index.js +41 -77
  49. package/components/color-handle/index.cjs +3 -64
  50. package/components/color-handle/index.js +37 -58
  51. package/components/color-loupe/index.cjs +1 -7
  52. package/components/color-loupe/index.js +8 -12
  53. package/components/color-loupe-CrM2DVY3.cjs +56 -0
  54. package/components/color-loupe-DmQe3SpP.js +81 -0
  55. package/components/color-menu/index.cjs +12 -217
  56. package/components/color-menu/index.js +93 -187
  57. package/components/color-palette/index.cjs +1 -89
  58. package/components/color-palette/index.js +51 -78
  59. package/components/color-palette-group/index.cjs +3 -259
  60. package/components/color-palette-group/index.js +105 -193
  61. package/components/color-picker/index.cjs +6 -114
  62. package/components/color-picker/index.js +72 -92
  63. package/components/color-slider/index.cjs +1 -585
  64. package/components/color-slider/index.js +7 -590
  65. package/components/condition-attribute-with-id-DrQYZzFS.cjs +18 -0
  66. package/components/condition-attribute-with-id-Dv4lSRbe.js +31 -0
  67. package/components/date-time-picker/index.cjs +31 -1357
  68. package/components/date-time-picker/index.js +637 -951
  69. package/components/{dependency-manger-XHpQjFgK.js → dependency-manger-CO-VPlqq.js} +14 -24
  70. package/components/dependency-manger-uthev62E.cjs +18 -0
  71. package/components/directive-C7oCP5Bh.cjs +22 -0
  72. package/components/directive-helpers-D4KMv2dC.js +62 -0
  73. package/components/directive-helpers-t-TVum7J.cjs +22 -0
  74. package/components/{slottable-request-event-CANixJnR.cjs → directive-oAbCiebi.js} +25 -14
  75. package/components/divider/index.cjs +1 -54
  76. package/components/divider/index.js +30 -49
  77. package/components/divider.module-DDvBo9zo.cjs +18 -0
  78. package/components/divider.module-DoQWQEIJ.js +21 -0
  79. package/components/element-resolution-BvRLGqIU.cjs +18 -0
  80. package/components/element-resolution-FCUT-wql.js +91 -0
  81. package/components/field-group/index.cjs +1 -7
  82. package/components/field-group/index.js +8 -12
  83. package/components/field-group-5WQMBOk4.cjs +23 -0
  84. package/components/field-group-D4B0IOdA.js +66 -0
  85. package/components/field-label/index.cjs +1 -7
  86. package/components/field-label/index.js +8 -12
  87. package/components/field-label-DxmPiC5p.js +106 -0
  88. package/components/field-label-Dz9kisdW.cjs +25 -0
  89. package/components/flow-D-0MTYCm.js +527 -0
  90. package/components/flow-DM3dNAKs.cjs +30 -0
  91. package/components/focus-group-DHeTq18L.js +218 -0
  92. package/components/focus-group-DnxZUBhQ.cjs +18 -0
  93. package/components/focus-visible-BvScGDCE.js +74 -0
  94. package/components/focus-visible-D4BXb5RB.cjs +18 -0
  95. package/components/focusable-B_KwfEec.cjs +18 -0
  96. package/components/focusable-C5JjRZmT.js +153 -0
  97. package/components/{focusable-selectors-IltOAOd9.js → focusable-selectors-B4YgbghQ.js} +4 -7
  98. package/components/focusable-selectors-BgFlyFcY.cjs +18 -0
  99. package/components/icon/index.cjs +1 -90
  100. package/components/icon/index.js +46 -74
  101. package/components/if-defined-DULpqYwi.js +27 -0
  102. package/components/if-defined-DaXWqfzc.cjs +22 -0
  103. package/components/index-CNK8wHXu.cjs +57 -0
  104. package/components/index-Cf6G4q52.js +1490 -0
  105. package/components/index-D3ICqC7S.js +1174 -0
  106. package/components/index-hqVbNKYy.cjs +113 -0
  107. package/components/index.cjs +1 -174
  108. package/components/index.js +172 -174
  109. package/components/infield-button/index.cjs +2 -46
  110. package/components/infield-button/index.js +30 -41
  111. package/components/label/index.cjs +1 -37
  112. package/components/label/index.js +24 -36
  113. package/components/{language-resolution-BSGJAWiQ.js → language-resolution-B-wjV5bb.js} +17 -21
  114. package/components/language-resolution-EUER43cg.cjs +18 -0
  115. package/components/like-anchor-Bu3pXbjT.cjs +32 -0
  116. package/components/like-anchor-DCFJN0LV.js +69 -0
  117. package/components/luzmo-icons-CiSek5iM.js +229 -0
  118. package/components/luzmo-icons-CtA-TJPd.cjs +29 -0
  119. package/components/manage-help-text-CHfMLzSa.js +92 -0
  120. package/components/manage-help-text-DNqdEkTA.cjs +30 -0
  121. package/components/menu/index.cjs +29 -1297
  122. package/components/menu/index.js +499 -954
  123. package/components/multi-language-field/index.cjs +2 -132
  124. package/components/multi-language-field/index.js +88 -118
  125. package/components/mutation-controller-DH7YOCyj.js +52 -0
  126. package/components/mutation-controller-DkOMCW-c.cjs +22 -0
  127. package/components/number-field/index.cjs +10 -613
  128. package/components/number-field/index.js +243 -442
  129. package/components/observe-slot-presence-CmVi0zTc.js +68 -0
  130. package/components/observe-slot-presence-bc9chhsi.cjs +18 -0
  131. package/components/observe-slot-text-C3moTjwy.js +87 -0
  132. package/components/observe-slot-text-D2VAEFSd.cjs +18 -0
  133. package/components/options/index.cjs +60 -693
  134. package/components/options/index.js +953 -519
  135. package/components/overlay/index.cjs +21 -367
  136. package/components/overlay/index.js +189 -273
  137. package/components/overlay-B3ajDLLq.cjs +47 -0
  138. package/components/overlay-CUKs69yr.js +2745 -0
  139. package/components/{pending-state-CXbe-Xul.js → pending-state-B2wWssTo.js} +13 -28
  140. package/components/pending-state-bJr-nEJl.cjs +26 -0
  141. package/components/picker/index.cjs +1 -9
  142. package/components/picker/index.js +11 -15
  143. package/components/picker-C0LvseZe.cjs +123 -0
  144. package/components/picker-W1qNmtsh.js +461 -0
  145. package/components/picker-button/index.cjs +4 -56
  146. package/components/picker-button/index.js +34 -45
  147. package/components/{condition-attribute-with-id-Cn815e9W.js → platform-BM-uMWpX.js} +49 -24
  148. package/components/platform-BiXhwqk3.cjs +18 -0
  149. package/components/popover/index.cjs +1 -7
  150. package/components/popover/index.js +8 -12
  151. package/components/popover-fwJeZHMQ.cjs +30 -0
  152. package/components/popover-iD8f5Jkp.js +67 -0
  153. package/components/progress-circle/index.cjs +1 -7
  154. package/components/progress-circle/index.js +8 -12
  155. package/components/progress-circle-DZxaMe8L.cjs +33 -0
  156. package/components/progress-circle-USIIU1up.js +97 -0
  157. package/components/query-BL-TJj7K.cjs +22 -0
  158. package/components/query-D_KR_GUc.js +51 -0
  159. package/components/query-assigned-elements-DjfhL1cl.js +36 -0
  160. package/components/query-assigned-elements-DsKsfk7G.cjs +22 -0
  161. package/components/query-assigned-nodes-BcKWmGzy.cjs +22 -0
  162. package/components/query-assigned-nodes-C76XVPWY.js +36 -0
  163. package/components/radio/index.cjs +2 -244
  164. package/components/radio/index.js +110 -192
  165. package/components/{random-id-BEc6QIUL.js → random-id-ByCz1xaq.js} +3 -3
  166. package/components/random-id-CqvckpWe.cjs +18 -0
  167. package/components/roving-tabindex-By_fCy_e.cjs +18 -0
  168. package/components/roving-tabindex-DOg4z6ZU.js +66 -0
  169. package/components/search/index.cjs +8 -115
  170. package/components/search/index.js +66 -96
  171. package/components/select/index.cjs +51 -720
  172. package/components/select/index.js +347 -563
  173. package/components/sized-mixin-CJbBHWRQ.js +63 -0
  174. package/components/sized-mixin-WPHH0a_D.cjs +18 -0
  175. package/components/slider/index.cjs +1 -119
  176. package/components/slider/index.js +1113 -100
  177. package/components/slottable-request-event-BfUUt1Mh.cjs +18 -0
  178. package/components/{slottable-request-event-D9WzrdWv.js → slottable-request-event-DggLA4Rx.js} +9 -12
  179. package/components/state-DwIwYPvt.js +29 -0
  180. package/components/state-vf0PJN3_.cjs +22 -0
  181. package/components/strategies-C6HsQpU2.cjs +18 -0
  182. package/components/strategies-CUMLHtQI.js +195 -0
  183. package/components/streaming-listener-BQ68fKMa.js +91 -0
  184. package/components/streaming-listener-DeGQYM-9.cjs +18 -0
  185. package/components/style-map-Bnhf_mVZ.js +53 -0
  186. package/components/style-map-DuMd5xlY.cjs +22 -0
  187. package/components/swatch/index.cjs +7 -436
  188. package/components/swatch/index.js +205 -350
  189. package/components/switch/index.cjs +2 -61
  190. package/components/switch/index.js +34 -51
  191. package/components/tabs/index.cjs +26 -693
  192. package/components/tabs/index.js +388 -521
  193. package/components/tags/index.cjs +4 -201
  194. package/components/tags/index.js +87 -152
  195. package/components/text-field/index.cjs +3 -49
  196. package/components/text-field/index.js +30 -44
  197. package/components/text-field-BkFPYo7S.cjs +85 -0
  198. package/components/text-field-C2n3rzCK.js +314 -0
  199. package/components/text-field.module-C2KVUJcX.js +21 -0
  200. package/components/text-field.module-DXhFA9G-.cjs +18 -0
  201. package/components/toast/index.cjs +12 -177
  202. package/components/toast/index.js +73 -145
  203. package/components/tooltip/index.cjs +6 -250
  204. package/components/tooltip/index.js +124 -177
  205. package/components/unit-input/index.cjs +8 -232
  206. package/components/unit-input/index.js +108 -201
  207. package/components/utils.cjs +1 -25
  208. package/components/utils.js +22 -22
  209. package/components/{random-id-BE6HA503.cjs → when-CDK1Tt5Y.js} +10 -7
  210. package/components/when-CDZyJPvd.cjs +22 -0
  211. package/package.json +1 -1
  212. package/components/action-group-DHp8RHDf.js +0 -392
  213. package/components/action-group-MPf19RPV.cjs +0 -391
  214. package/components/base-COw9n7UR.cjs +0 -119
  215. package/components/base-DmeVy0cq.js +0 -120
  216. package/components/button-base-7Ak55xFd.cjs +0 -206
  217. package/components/button-base-C3kf6BTK.js +0 -207
  218. package/components/checkbox-mixin-8cL-vfDy.js +0 -84
  219. package/components/checkbox-mixin-CE7dJj3J.cjs +0 -83
  220. package/components/clear-button-Co6oKSgl.js +0 -59
  221. package/components/clear-button-X_HDY2eH.cjs +0 -58
  222. package/components/close-button-DPBK6Kpu.cjs +0 -59
  223. package/components/close-button-Miw9ZjoJ.js +0 -60
  224. package/components/color-controller-BjDZaxhX.js +0 -491
  225. package/components/color-controller-C3c_vb2P.cjs +0 -490
  226. package/components/color-loupe-BQqNR8YD.cjs +0 -88
  227. package/components/color-loupe-B_DDFv8l.js +0 -89
  228. package/components/condition-attribute-with-id-DEc2Yjne.cjs +0 -43
  229. package/components/dependency-manger-CcIE1uvQ.cjs +0 -63
  230. package/components/divider.module-Cm5LcDRV.cjs +0 -20
  231. package/components/divider.module-DauH6k2_.js +0 -21
  232. package/components/element-resolution-DCsrhGZO.cjs +0 -112
  233. package/components/element-resolution-nMlmW4Jy.js +0 -113
  234. package/components/field-group-DNmY8W9v.cjs +0 -86
  235. package/components/field-group-DVdAWCQF.js +0 -87
  236. package/components/field-label-CKH9EXpR.cjs +0 -156
  237. package/components/field-label-Dpsecoc6.js +0 -157
  238. package/components/focus-group-BqDAk9Is.js +0 -337
  239. package/components/focus-group-DFzOlalL.cjs +0 -336
  240. package/components/focus-visible-B-B8-P9R.cjs +0 -104
  241. package/components/focus-visible-BUPRWlsh.js +0 -105
  242. package/components/focusable-BPrTcZPd.cjs +0 -262
  243. package/components/focusable-ChCLg1k4.js +0 -263
  244. package/components/language-resolution-iN9EImbb.cjs +0 -57
  245. package/components/like-anchor-D62faRNG.cjs +0 -79
  246. package/components/like-anchor-v3cJ9RWM.js +0 -80
  247. package/components/manage-help-text-BYx84zZR.cjs +0 -125
  248. package/components/manage-help-text-DOuMTGht.js +0 -126
  249. package/components/observe-slot-presence-9AwLGUQ_.cjs +0 -78
  250. package/components/observe-slot-presence-DcMdoumP.js +0 -79
  251. package/components/observe-slot-text-CSofZeeF.cjs +0 -104
  252. package/components/observe-slot-text-CjnkkBPn.js +0 -105
  253. package/components/overlay-CN8ISP1F.js +0 -2485
  254. package/components/overlay-LViy9VWM.cjs +0 -2484
  255. package/components/pending-state-e4RbXe9u.cjs +0 -75
  256. package/components/picker-DNde3awt.cjs +0 -672
  257. package/components/picker-PfUAF05y.js +0 -673
  258. package/components/platform-CxDar3Dn.cjs +0 -68
  259. package/components/platform-Cxn0WbyT.js +0 -69
  260. package/components/popover-BkbYhl3i.js +0 -74
  261. package/components/popover-BkgUf0kL.cjs +0 -74
  262. package/components/progress-circle-Hu_ivPHf.js +0 -133
  263. package/components/progress-circle-_Etqsj9f.cjs +0 -132
  264. package/components/roving-tabindex-AsmAh2In.cjs +0 -95
  265. package/components/roving-tabindex-DPF9NmrH.js +0 -96
  266. package/components/sized-mixin-DmkrNdWB.js +0 -80
  267. package/components/sized-mixin-UaTVa-AE.cjs +0 -79
  268. package/components/strategies-DlMlaSJR.cjs +0 -317
  269. package/components/strategies-DlPQoTFE.js +0 -318
  270. package/components/streaming-listener-D4sHaMub.cjs +0 -145
  271. package/components/streaming-listener-cAz5zJyk.js +0 -146
  272. package/components/text-field-11tcnftU.cjs +0 -338
  273. package/components/text-field-Chi9J2Cz.js +0 -339
  274. package/components/text-field.module-CMBS0jSL.js +0 -21
  275. package/components/text-field.module-DIJdV_sA.cjs +0 -20
@@ -0,0 +1,684 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ /**
19
+ * @license
20
+ * Copyright 2019 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */
23
+ const O = globalThis, j = O.ShadowRoot && (O.ShadyCSS === void 0 || O.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, B = Symbol(), q = /* @__PURE__ */ new WeakMap();
24
+ let it = class {
25
+ constructor(t, e, s) {
26
+ if (this._$cssResult$ = !0, s !== B) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
27
+ this.cssText = t, this.t = e;
28
+ }
29
+ get styleSheet() {
30
+ let t = this.o;
31
+ const e = this.t;
32
+ if (j && t === void 0) {
33
+ const s = e !== void 0 && e.length === 1;
34
+ s && (t = q.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && q.set(e, t));
35
+ }
36
+ return t;
37
+ }
38
+ toString() {
39
+ return this.cssText;
40
+ }
41
+ };
42
+ const lt = (n) => new it(typeof n == "string" ? n : n + "", void 0, B), Ht = (n, ...t) => {
43
+ const e = n.length === 1 ? n[0] : t.reduce((s, i, o) => s + ((r) => {
44
+ if (r._$cssResult$ === !0) return r.cssText;
45
+ if (typeof r == "number") return r;
46
+ 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.");
47
+ })(i) + n[o + 1], n[0]);
48
+ return new it(e, n, B);
49
+ }, ct = (n, t) => {
50
+ if (j) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
51
+ else for (const e of t) {
52
+ const s = document.createElement("style"), i = O.litNonce;
53
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
54
+ }
55
+ }, F = j ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
56
+ let e = "";
57
+ for (const s of t.cssRules) e += s.cssText;
58
+ return lt(e);
59
+ })(n) : n;
60
+ /**
61
+ * @license
62
+ * Copyright 2017 Google LLC
63
+ * SPDX-License-Identifier: BSD-3-Clause
64
+ */
65
+ const { is: dt, defineProperty: ut, getOwnPropertyDescriptor: pt, getOwnPropertyNames: $t, getOwnPropertySymbols: ft, getPrototypeOf: _t } = Object, _ = globalThis, Z = _.trustedTypes, mt = Z ? Z.emptyScript : "", k = _.reactiveElementPolyfillSupport, w = (n, t) => n, H = { toAttribute(n, t) {
66
+ switch (t) {
67
+ case Boolean:
68
+ n = n ? mt : null;
69
+ break;
70
+ case Object:
71
+ case Array:
72
+ n = n == null ? n : JSON.stringify(n);
73
+ }
74
+ return n;
75
+ }, fromAttribute(n, t) {
76
+ let e = n;
77
+ switch (t) {
78
+ case Boolean:
79
+ e = n !== null;
80
+ break;
81
+ case Number:
82
+ e = n === null ? null : Number(n);
83
+ break;
84
+ case Object:
85
+ case Array:
86
+ try {
87
+ e = JSON.parse(n);
88
+ } catch {
89
+ e = null;
90
+ }
91
+ }
92
+ return e;
93
+ } }, V = (n, t) => !dt(n, t), J = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V };
94
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
95
+ let y = class extends HTMLElement {
96
+ static addInitializer(t) {
97
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
98
+ }
99
+ static get observedAttributes() {
100
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
101
+ }
102
+ static createProperty(t, e = J) {
103
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
104
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
105
+ i !== void 0 && ut(this.prototype, t, i);
106
+ }
107
+ }
108
+ static getPropertyDescriptor(t, e, s) {
109
+ const { get: i, set: o } = pt(this.prototype, t) ?? { get() {
110
+ return this[e];
111
+ }, set(r) {
112
+ this[e] = r;
113
+ } };
114
+ return { get() {
115
+ return i == null ? void 0 : i.call(this);
116
+ }, set(r) {
117
+ const a = i == null ? void 0 : i.call(this);
118
+ o.call(this, r), this.requestUpdate(t, a, s);
119
+ }, configurable: !0, enumerable: !0 };
120
+ }
121
+ static getPropertyOptions(t) {
122
+ return this.elementProperties.get(t) ?? J;
123
+ }
124
+ static _$Ei() {
125
+ if (this.hasOwnProperty(w("elementProperties"))) return;
126
+ const t = _t(this);
127
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
128
+ }
129
+ static finalize() {
130
+ if (this.hasOwnProperty(w("finalized"))) return;
131
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(w("properties"))) {
132
+ const e = this.properties, s = [...$t(e), ...ft(e)];
133
+ for (const i of s) this.createProperty(i, e[i]);
134
+ }
135
+ const t = this[Symbol.metadata];
136
+ if (t !== null) {
137
+ const e = litPropertyMetadata.get(t);
138
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
139
+ }
140
+ this._$Eh = /* @__PURE__ */ new Map();
141
+ for (const [e, s] of this.elementProperties) {
142
+ const i = this._$Eu(e, s);
143
+ i !== void 0 && this._$Eh.set(i, e);
144
+ }
145
+ this.elementStyles = this.finalizeStyles(this.styles);
146
+ }
147
+ static finalizeStyles(t) {
148
+ const e = [];
149
+ if (Array.isArray(t)) {
150
+ const s = new Set(t.flat(1 / 0).reverse());
151
+ for (const i of s) e.unshift(F(i));
152
+ } else t !== void 0 && e.push(F(t));
153
+ return e;
154
+ }
155
+ static _$Eu(t, e) {
156
+ const s = e.attribute;
157
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
158
+ }
159
+ constructor() {
160
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
161
+ }
162
+ _$Ev() {
163
+ var t;
164
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
165
+ }
166
+ addController(t) {
167
+ var e;
168
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
169
+ }
170
+ removeController(t) {
171
+ var e;
172
+ (e = this._$EO) == null || e.delete(t);
173
+ }
174
+ _$E_() {
175
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
176
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
177
+ t.size > 0 && (this._$Ep = t);
178
+ }
179
+ createRenderRoot() {
180
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
181
+ return ct(t, this.constructor.elementStyles), t;
182
+ }
183
+ connectedCallback() {
184
+ var t;
185
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
186
+ var s;
187
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
188
+ });
189
+ }
190
+ enableUpdating(t) {
191
+ }
192
+ disconnectedCallback() {
193
+ var t;
194
+ (t = this._$EO) == null || t.forEach((e) => {
195
+ var s;
196
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
197
+ });
198
+ }
199
+ attributeChangedCallback(t, e, s) {
200
+ this._$AK(t, s);
201
+ }
202
+ _$EC(t, e) {
203
+ var o;
204
+ const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
205
+ if (i !== void 0 && s.reflect === !0) {
206
+ const r = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : H).toAttribute(e, s.type);
207
+ this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
208
+ }
209
+ }
210
+ _$AK(t, e) {
211
+ var o;
212
+ const s = this.constructor, i = s._$Eh.get(t);
213
+ if (i !== void 0 && this._$Em !== i) {
214
+ const r = s.getPropertyOptions(i), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? r.converter : H;
215
+ this._$Em = i, this[i] = a.fromAttribute(e, r.type), this._$Em = null;
216
+ }
217
+ }
218
+ requestUpdate(t, e, s) {
219
+ if (t !== void 0) {
220
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? V)(this[t], e)) return;
221
+ this.P(t, e, s);
222
+ }
223
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
224
+ }
225
+ P(t, e, s) {
226
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
227
+ }
228
+ async _$ET() {
229
+ this.isUpdatePending = !0;
230
+ try {
231
+ await this._$ES;
232
+ } catch (e) {
233
+ Promise.reject(e);
234
+ }
235
+ const t = this.scheduleUpdate();
236
+ return t != null && await t, !this.isUpdatePending;
237
+ }
238
+ scheduleUpdate() {
239
+ return this.performUpdate();
240
+ }
241
+ performUpdate() {
242
+ var s;
243
+ if (!this.isUpdatePending) return;
244
+ if (!this.hasUpdated) {
245
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
246
+ for (const [o, r] of this._$Ep) this[o] = r;
247
+ this._$Ep = void 0;
248
+ }
249
+ const i = this.constructor.elementProperties;
250
+ if (i.size > 0) for (const [o, r] of i) r.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], r);
251
+ }
252
+ let t = !1;
253
+ const e = this._$AL;
254
+ try {
255
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
256
+ var o;
257
+ return (o = i.hostUpdate) == null ? void 0 : o.call(i);
258
+ }), this.update(e)) : this._$EU();
259
+ } catch (i) {
260
+ throw t = !1, this._$EU(), i;
261
+ }
262
+ t && this._$AE(e);
263
+ }
264
+ willUpdate(t) {
265
+ }
266
+ _$AE(t) {
267
+ var e;
268
+ (e = this._$EO) == null || e.forEach((s) => {
269
+ var i;
270
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
271
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
272
+ }
273
+ _$EU() {
274
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
275
+ }
276
+ get updateComplete() {
277
+ return this.getUpdateComplete();
278
+ }
279
+ getUpdateComplete() {
280
+ return this._$ES;
281
+ }
282
+ shouldUpdate(t) {
283
+ return !0;
284
+ }
285
+ update(t) {
286
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
287
+ }
288
+ updated(t) {
289
+ }
290
+ firstUpdated(t) {
291
+ }
292
+ };
293
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[w("elementProperties")] = /* @__PURE__ */ new Map(), y[w("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: y }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
294
+ /**
295
+ * @license
296
+ * Copyright 2017 Google LLC
297
+ * SPDX-License-Identifier: BSD-3-Clause
298
+ */
299
+ const C = globalThis, N = C.trustedTypes, K = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, nt = "$lit$", f = `lit$${Math.random().toFixed(9).slice(2)}$`, rt = "?" + f, gt = `<${rt}>`, A = document, U = () => A.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", W = Array.isArray, At = (n) => W(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
300
+ \f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, G = /-->/g, Q = />/g, m = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
301
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), X = /'/g, Y = /"/g, ot = /^(?:script|style|textarea|title)$/i, ht = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Rt = ht(1), kt = ht(2), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), tt = /* @__PURE__ */ new WeakMap(), g = A.createTreeWalker(A, 129);
302
+ function at(n, t) {
303
+ if (!W(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
304
+ return K !== void 0 ? K.createHTML(t) : t;
305
+ }
306
+ const yt = (n, t) => {
307
+ const e = n.length - 1, s = [];
308
+ let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = S;
309
+ for (let a = 0; a < e; a++) {
310
+ const h = n[a];
311
+ let c, u, l = -1, p = 0;
312
+ for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === S ? u[1] === "!--" ? r = G : u[1] !== void 0 ? r = Q : u[2] !== void 0 ? (ot.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? S, l = -1) : u[1] === void 0 ? l = -2 : (l = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? Y : X) : r === Y || r === X ? r = m : r === G || r === Q ? r = S : (r = m, i = void 0);
313
+ const $ = r === m && n[a + 1].startsWith("/>") ? " " : "";
314
+ o += r === S ? h + gt : l >= 0 ? (s.push(c), h.slice(0, l) + nt + h.slice(l) + f + $) : h + f + (l === -2 ? a : $);
315
+ }
316
+ return [at(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
317
+ };
318
+ class M {
319
+ constructor({ strings: t, _$litType$: e }, s) {
320
+ let i;
321
+ this.parts = [];
322
+ let o = 0, r = 0;
323
+ const a = t.length - 1, h = this.parts, [c, u] = yt(t, e);
324
+ if (this.el = M.createElement(c, s), g.currentNode = this.el.content, e === 2 || e === 3) {
325
+ const l = this.el.content.firstChild;
326
+ l.replaceWith(...l.childNodes);
327
+ }
328
+ for (; (i = g.nextNode()) !== null && h.length < a; ) {
329
+ if (i.nodeType === 1) {
330
+ if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(nt)) {
331
+ const p = u[r++], $ = i.getAttribute(l).split(f), T = /([.?@])?(.*)/.exec(p);
332
+ h.push({ type: 1, index: o, name: T[2], strings: $, ctor: T[1] === "." ? Et : T[1] === "?" ? bt : T[1] === "@" ? St : R }), i.removeAttribute(l);
333
+ } else l.startsWith(f) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
334
+ if (ot.test(i.tagName)) {
335
+ const l = i.textContent.split(f), p = l.length - 1;
336
+ if (p > 0) {
337
+ i.textContent = N ? N.emptyScript : "";
338
+ for (let $ = 0; $ < p; $++) i.append(l[$], U()), g.nextNode(), h.push({ type: 2, index: ++o });
339
+ i.append(l[p], U());
340
+ }
341
+ }
342
+ } else if (i.nodeType === 8) if (i.data === rt) h.push({ type: 2, index: o });
343
+ else {
344
+ let l = -1;
345
+ for (; (l = i.data.indexOf(f, l + 1)) !== -1; ) h.push({ type: 7, index: o }), l += f.length - 1;
346
+ }
347
+ o++;
348
+ }
349
+ }
350
+ static createElement(t, e) {
351
+ const s = A.createElement("template");
352
+ return s.innerHTML = t, s;
353
+ }
354
+ }
355
+ function E(n, t, e = n, s) {
356
+ var r, a;
357
+ if (t === v) return t;
358
+ let i = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
359
+ const o = x(t) ? void 0 : t._$litDirective$;
360
+ return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(n), i._$AT(n, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = E(n, i._$AS(n, t.values), i, s)), t;
361
+ }
362
+ class vt {
363
+ constructor(t, e) {
364
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
365
+ }
366
+ get parentNode() {
367
+ return this._$AM.parentNode;
368
+ }
369
+ get _$AU() {
370
+ return this._$AM._$AU;
371
+ }
372
+ u(t) {
373
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? A).importNode(e, !0);
374
+ g.currentNode = i;
375
+ let o = g.nextNode(), r = 0, a = 0, h = s[0];
376
+ for (; h !== void 0; ) {
377
+ if (r === h.index) {
378
+ let c;
379
+ h.type === 2 ? c = new b(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new wt(o, this, t)), this._$AV.push(c), h = s[++a];
380
+ }
381
+ r !== (h == null ? void 0 : h.index) && (o = g.nextNode(), r++);
382
+ }
383
+ return g.currentNode = A, i;
384
+ }
385
+ p(t) {
386
+ let e = 0;
387
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
388
+ }
389
+ }
390
+ class b {
391
+ get _$AU() {
392
+ var t;
393
+ return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
394
+ }
395
+ constructor(t, e, s, i) {
396
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
397
+ }
398
+ get parentNode() {
399
+ let t = this._$AA.parentNode;
400
+ const e = this._$AM;
401
+ return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
402
+ }
403
+ get startNode() {
404
+ return this._$AA;
405
+ }
406
+ get endNode() {
407
+ return this._$AB;
408
+ }
409
+ _$AI(t, e = this) {
410
+ t = E(this, t, e), x(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== v && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : At(t) ? this.k(t) : this._(t);
411
+ }
412
+ O(t) {
413
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
414
+ }
415
+ T(t) {
416
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
417
+ }
418
+ _(t) {
419
+ this._$AH !== d && x(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
420
+ }
421
+ $(t) {
422
+ var o;
423
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = M.createElement(at(s.h, s.h[0]), this.options)), s);
424
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
425
+ else {
426
+ const r = new vt(i, this), a = r.u(this.options);
427
+ r.p(e), this.T(a), this._$AH = r;
428
+ }
429
+ }
430
+ _$AC(t) {
431
+ let e = tt.get(t.strings);
432
+ return e === void 0 && tt.set(t.strings, e = new M(t)), e;
433
+ }
434
+ k(t) {
435
+ W(this._$AH) || (this._$AH = [], this._$AR());
436
+ const e = this._$AH;
437
+ let s, i = 0;
438
+ for (const o of t) i === e.length ? e.push(s = new b(this.O(U()), this.O(U()), this, this.options)) : s = e[i], s._$AI(o), i++;
439
+ i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
440
+ }
441
+ _$AR(t = this._$AA.nextSibling, e) {
442
+ var s;
443
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
444
+ const i = t.nextSibling;
445
+ t.remove(), t = i;
446
+ }
447
+ }
448
+ setConnected(t) {
449
+ var e;
450
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
451
+ }
452
+ }
453
+ class R {
454
+ get tagName() {
455
+ return this.element.tagName;
456
+ }
457
+ get _$AU() {
458
+ return this._$AM._$AU;
459
+ }
460
+ constructor(t, e, s, i, o) {
461
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
462
+ }
463
+ _$AI(t, e = this, s, i) {
464
+ const o = this.strings;
465
+ let r = !1;
466
+ if (o === void 0) t = E(this, t, e, 0), r = !x(t) || t !== this._$AH && t !== v, r && (this._$AH = t);
467
+ else {
468
+ const a = t;
469
+ let h, c;
470
+ for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, a[s + h], e, h), c === v && (c = this._$AH[h]), r || (r = !x(c) || c !== this._$AH[h]), c === d ? t = d : t !== d && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
471
+ }
472
+ r && !i && this.j(t);
473
+ }
474
+ j(t) {
475
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
476
+ }
477
+ }
478
+ class Et extends R {
479
+ constructor() {
480
+ super(...arguments), this.type = 3;
481
+ }
482
+ j(t) {
483
+ this.element[this.name] = t === d ? void 0 : t;
484
+ }
485
+ }
486
+ class bt extends R {
487
+ constructor() {
488
+ super(...arguments), this.type = 4;
489
+ }
490
+ j(t) {
491
+ this.element.toggleAttribute(this.name, !!t && t !== d);
492
+ }
493
+ }
494
+ class St extends R {
495
+ constructor(t, e, s, i, o) {
496
+ super(t, e, s, i, o), this.type = 5;
497
+ }
498
+ _$AI(t, e = this) {
499
+ if ((t = E(this, t, e, 0) ?? d) === v) return;
500
+ const s = this._$AH, i = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== d && (s === d || i);
501
+ i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
502
+ }
503
+ handleEvent(t) {
504
+ var e;
505
+ typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
506
+ }
507
+ }
508
+ class wt {
509
+ constructor(t, e, s) {
510
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
511
+ }
512
+ get _$AU() {
513
+ return this._$AM._$AU;
514
+ }
515
+ _$AI(t) {
516
+ E(this, t);
517
+ }
518
+ }
519
+ const Lt = { I: b }, D = C.litHtmlPolyfillSupport;
520
+ D == null || D(M, b), (C.litHtmlVersions ?? (C.litHtmlVersions = [])).push("3.2.1");
521
+ const Ct = (n, t, e) => {
522
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
523
+ let i = s._$litPart$;
524
+ if (i === void 0) {
525
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
526
+ s._$litPart$ = i = new b(t.insertBefore(U(), o), o, void 0, e ?? {});
527
+ }
528
+ return i._$AI(n), i;
529
+ };
530
+ /**
531
+ * @license
532
+ * Copyright 2017 Google LLC
533
+ * SPDX-License-Identifier: BSD-3-Clause
534
+ */
535
+ let P = class extends y {
536
+ constructor() {
537
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
538
+ }
539
+ createRenderRoot() {
540
+ var e;
541
+ const t = super.createRenderRoot();
542
+ return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
543
+ }
544
+ update(t) {
545
+ const e = this.render();
546
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ct(e, this.renderRoot, this.renderOptions);
547
+ }
548
+ connectedCallback() {
549
+ var t;
550
+ super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
551
+ }
552
+ disconnectedCallback() {
553
+ var t;
554
+ super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
555
+ }
556
+ render() {
557
+ return v;
558
+ }
559
+ };
560
+ var st;
561
+ P._$litElement$ = !0, P.finalized = !0, (st = globalThis.litElementHydrateSupport) == null || st.call(globalThis, { LitElement: P });
562
+ const z = globalThis.litElementPolyfillSupport;
563
+ z == null || z({ LitElement: P });
564
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
565
+ /**
566
+ * @license
567
+ * Copyright 2017 Google LLC
568
+ * SPDX-License-Identifier: BSD-3-Clause
569
+ */
570
+ const Pt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: V }, Ut = (n = Pt, t, e) => {
571
+ const { kind: s, metadata: i } = e;
572
+ let o = globalThis.litPropertyMetadata.get(i);
573
+ if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, n), s === "accessor") {
574
+ const { name: r } = e;
575
+ return { set(a) {
576
+ const h = t.get.call(this);
577
+ t.set.call(this, a), this.requestUpdate(r, h, n);
578
+ }, init(a) {
579
+ return a !== void 0 && this.P(r, void 0, n), a;
580
+ } };
581
+ }
582
+ if (s === "setter") {
583
+ const { name: r } = e;
584
+ return function(a) {
585
+ const h = this[r];
586
+ t.call(this, a), this.requestUpdate(r, h, n);
587
+ };
588
+ }
589
+ throw Error("Unsupported decorator location: " + s);
590
+ };
591
+ function zt(n) {
592
+ return (t, e) => typeof e == "object" ? Ut(n, t, e) : ((s, i, o) => {
593
+ const r = i.hasOwnProperty(o);
594
+ return i.constructor.createProperty(o, r ? { ...s, wrapped: !0 } : s), r ? Object.getOwnPropertyDescriptor(i, o) : void 0;
595
+ })(n, t, e);
596
+ }
597
+ const I = /* @__PURE__ */ new Set(), xt = () => {
598
+ if (typeof document > "u") return;
599
+ const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
600
+ I.forEach((t) => {
601
+ t.setAttribute("dir", n);
602
+ });
603
+ };
604
+ let et = null;
605
+ typeof document < "u" && (et = new MutationObserver(xt), et.observe(document.documentElement, {
606
+ attributes: !0,
607
+ attributeFilter: ["dir"]
608
+ }));
609
+ const Mt = (n) => n.startManagingContentDirection !== void 0 || n.tagName === "LUZMO-THEME";
610
+ function Tt(n) {
611
+ class t extends n {
612
+ /**
613
+ * @private
614
+ */
615
+ get isLTR() {
616
+ return this.dir === "ltr";
617
+ }
618
+ hasVisibleFocusInTree() {
619
+ if (typeof document > "u") return !1;
620
+ const i = ((o = document) => {
621
+ var h;
622
+ let r = o.activeElement;
623
+ for (; r != null && r.shadowRoot && r.shadowRoot.activeElement; )
624
+ r = r.shadowRoot.activeElement;
625
+ const a = r ? [r] : [];
626
+ for (; r; ) {
627
+ const c = r.assignedSlot || r.parentElement || ((h = r.getRootNode()) == null ? void 0 : h.host);
628
+ c && a.push(c), r = c;
629
+ }
630
+ return a;
631
+ })(this.getRootNode())[0];
632
+ if (!i)
633
+ return !1;
634
+ try {
635
+ return i.matches(":focus-visible") || i.matches(".focus-visible");
636
+ } catch {
637
+ return i.matches(".focus-visible");
638
+ }
639
+ }
640
+ connectedCallback() {
641
+ if (typeof document > "u") {
642
+ super.connectedCallback();
643
+ return;
644
+ }
645
+ if (!this.hasAttribute("dir")) {
646
+ let s = this.assignedSlot || this.parentNode;
647
+ for (; s !== (document == null ? void 0 : document.documentElement) && !Mt(s); )
648
+ s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
649
+ s.parentNode || // DOM Element detected
650
+ s.host;
651
+ if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === (document == null ? void 0 : document.documentElement))
652
+ I.add(this);
653
+ else {
654
+ const { localName: i } = s;
655
+ i.search("-") > -1 && typeof customElements < "u" && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
656
+ s.startManagingContentDirection(this);
657
+ }) : s.startManagingContentDirection(this);
658
+ }
659
+ this._dirParent = s;
660
+ }
661
+ super.connectedCallback();
662
+ }
663
+ disconnectedCallback() {
664
+ super.disconnectedCallback(), this._dirParent && (this._dirParent === (document == null ? void 0 : document.documentElement) ? I.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
665
+ }
666
+ }
667
+ return t;
668
+ }
669
+ class It extends Tt(P) {
670
+ }
671
+ export {
672
+ Ct as B,
673
+ d as E,
674
+ Tt as L,
675
+ v as T,
676
+ Lt as Z,
677
+ It as a,
678
+ kt as b,
679
+ P as c,
680
+ Ht as i,
681
+ zt as n,
682
+ lt as r,
683
+ Rt as x
684
+ };