microui-wc 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/AGENTS.md +71 -71
  2. package/CHANGELOG.md +1 -1
  3. package/README.md +14 -9
  4. package/dist/AGENTS.md +71 -71
  5. package/dist/README.md +14 -9
  6. package/dist/microui.css +1 -1
  7. package/dist/microui.esm.js.map +1 -1
  8. package/dist/microui.min.js.map +1 -1
  9. package/docs/getting-started.md +3 -3
  10. package/package.json +39 -11
  11. package/src/components/mu-schema-form.js +1 -1
  12. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -40
  13. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -33
  14. package/.github/PULL_REQUEST_TEMPLATE.md +0 -28
  15. package/.github/workflows/ci.yml +0 -42
  16. package/.github/workflows/deploy-pages.yml +0 -112
  17. package/CODE_OF_CONDUCT.md +0 -59
  18. package/CONTRIBUTING.md +0 -156
  19. package/SECURITY.md +0 -58
  20. package/app/.generated/routes/alerts.js +0 -8
  21. package/app/.generated/routes/avatars.js +0 -8
  22. package/app/.generated/routes/badges.js +0 -8
  23. package/app/.generated/routes/buttons.js +0 -10
  24. package/app/.generated/routes/cards.js +0 -10
  25. package/app/.generated/routes/checkboxes.js +0 -9
  26. package/app/.generated/routes/chips.js +0 -8
  27. package/app/.generated/routes/dropdowns.js +0 -9
  28. package/app/.generated/routes/home.js +0 -7
  29. package/app/.generated/routes/icons.js +0 -9
  30. package/app/.generated/routes/inputs.js +0 -10
  31. package/app/.generated/routes/installation.js +0 -7
  32. package/app/.generated/routes/layout.js +0 -9
  33. package/app/.generated/routes/modals.js +0 -9
  34. package/app/.generated/routes/navbar.js +0 -7
  35. package/app/.generated/routes/progress.js +0 -9
  36. package/app/.generated/routes/radios.js +0 -9
  37. package/app/.generated/routes/switches.js +0 -9
  38. package/app/.generated/routes/tabs.js +0 -8
  39. package/app/.generated/routes/toasts.js +0 -9
  40. package/app/index.html +0 -67
  41. package/app/pages/alerts.html +0 -23
  42. package/app/pages/avatars.html +0 -22
  43. package/app/pages/badges.html +0 -22
  44. package/app/pages/buttons.html +0 -71
  45. package/app/pages/cards.html +0 -54
  46. package/app/pages/checkboxes.html +0 -39
  47. package/app/pages/chips.html +0 -23
  48. package/app/pages/dropdowns.html +0 -41
  49. package/app/pages/home.html +0 -59
  50. package/app/pages/icons.html +0 -29
  51. package/app/pages/inputs.html +0 -66
  52. package/app/pages/installation.html +0 -34
  53. package/app/pages/layout.html +0 -30
  54. package/app/pages/modals.html +0 -21
  55. package/app/pages/navbar.html +0 -22
  56. package/app/pages/progress.html +0 -35
  57. package/app/pages/radios.html +0 -40
  58. package/app/pages/switches.html +0 -39
  59. package/app/pages/tabs.html +0 -30
  60. package/app/pages/toasts.html +0 -22
  61. package/app-dist/index.html +0 -67
  62. package/app-dist/pages/alerts.html +0 -23
  63. package/app-dist/pages/avatars.html +0 -22
  64. package/app-dist/pages/badges.html +0 -22
  65. package/app-dist/pages/buttons.html +0 -71
  66. package/app-dist/pages/cards.html +0 -54
  67. package/app-dist/pages/checkboxes.html +0 -39
  68. package/app-dist/pages/chips.html +0 -23
  69. package/app-dist/pages/dropdowns.html +0 -41
  70. package/app-dist/pages/home.html +0 -59
  71. package/app-dist/pages/icons.html +0 -29
  72. package/app-dist/pages/inputs.html +0 -66
  73. package/app-dist/pages/installation.html +0 -34
  74. package/app-dist/pages/layout.html +0 -30
  75. package/app-dist/pages/modals.html +0 -21
  76. package/app-dist/pages/navbar.html +0 -22
  77. package/app-dist/pages/progress.html +0 -35
  78. package/app-dist/pages/radios.html +0 -40
  79. package/app-dist/pages/switches.html +0 -39
  80. package/app-dist/pages/tabs.html +0 -30
  81. package/app-dist/pages/toasts.html +0 -22
  82. package/app-dist/pages.json +0 -217
  83. package/app-dist/routes/alerts.js +0 -5
  84. package/app-dist/routes/avatars.js +0 -1
  85. package/app-dist/routes/badges.js +0 -1
  86. package/app-dist/routes/buttons.js +0 -1
  87. package/app-dist/routes/cards.js +0 -1
  88. package/app-dist/routes/checkboxes.js +0 -9
  89. package/app-dist/routes/chips.js +0 -4
  90. package/app-dist/routes/chunk-019e5e2f.js +0 -5
  91. package/app-dist/routes/chunk-0m4j19yd.js +0 -2
  92. package/app-dist/routes/chunk-0tmmp5q0.js +0 -1
  93. package/app-dist/routes/chunk-10xn709r.js +0 -1
  94. package/app-dist/routes/chunk-15m2qcda.js +0 -2
  95. package/app-dist/routes/chunk-1bh8g23n.js +0 -1
  96. package/app-dist/routes/chunk-1vg0v937.js +0 -1
  97. package/app-dist/routes/chunk-1zvcgy3j.js +0 -1
  98. package/app-dist/routes/chunk-2afb0861.js +0 -1
  99. package/app-dist/routes/chunk-2c6ttpzt.js +0 -5
  100. package/app-dist/routes/chunk-3dy30fhs.js +0 -1
  101. package/app-dist/routes/chunk-426dnces.js +0 -13
  102. package/app-dist/routes/chunk-44kgxery.js +0 -1
  103. package/app-dist/routes/chunk-47fdnejd.js +0 -33
  104. package/app-dist/routes/chunk-49a6t2vq.js +0 -1
  105. package/app-dist/routes/chunk-4fe1rm5b.js +0 -1
  106. package/app-dist/routes/chunk-4ggmvkta.js +0 -33
  107. package/app-dist/routes/chunk-4vkz81q7.js +0 -33
  108. package/app-dist/routes/chunk-4w4tmj8f.js +0 -31
  109. package/app-dist/routes/chunk-532s62kr.js +0 -31
  110. package/app-dist/routes/chunk-5hm3bssy.js +0 -33
  111. package/app-dist/routes/chunk-5vrh24hc.js +0 -1
  112. package/app-dist/routes/chunk-61pcg25a.js +0 -1
  113. package/app-dist/routes/chunk-6nfhygvf.js +0 -1
  114. package/app-dist/routes/chunk-700e7je6.js +0 -33
  115. package/app-dist/routes/chunk-7fsn17kg.js +0 -1
  116. package/app-dist/routes/chunk-7k789b32.js +0 -1
  117. package/app-dist/routes/chunk-7r46q0ys.js +0 -36
  118. package/app-dist/routes/chunk-86fmc1fr.js +0 -5
  119. package/app-dist/routes/chunk-8qth37vw.js +0 -1
  120. package/app-dist/routes/chunk-924wv8n0.js +0 -1
  121. package/app-dist/routes/chunk-9mbhgxk9.js +0 -1
  122. package/app-dist/routes/chunk-a216hyd9.js +0 -1
  123. package/app-dist/routes/chunk-akzxykh9.js +0 -33
  124. package/app-dist/routes/chunk-b3dcvy8c.js +0 -1
  125. package/app-dist/routes/chunk-b74zahz5.js +0 -31
  126. package/app-dist/routes/chunk-bftj53p2.js +0 -5
  127. package/app-dist/routes/chunk-c01hnz3e.js +0 -1
  128. package/app-dist/routes/chunk-d8pvv5km.js +0 -1
  129. package/app-dist/routes/chunk-dev0aezr.js +0 -2
  130. package/app-dist/routes/chunk-dh6vnv0e.js +0 -1
  131. package/app-dist/routes/chunk-dn2cbpva.js +0 -36
  132. package/app-dist/routes/chunk-dvn0my90.js +0 -1
  133. package/app-dist/routes/chunk-dvq8mnve.js +0 -36
  134. package/app-dist/routes/chunk-e8c2gc4d.js +0 -5
  135. package/app-dist/routes/chunk-ejf9ak2x.js +0 -1
  136. package/app-dist/routes/chunk-f083m55s.js +0 -1
  137. package/app-dist/routes/chunk-fnrj28s1.js +0 -31
  138. package/app-dist/routes/chunk-fvg3yjdp.js +0 -31
  139. package/app-dist/routes/chunk-g7k381n1.js +0 -1
  140. package/app-dist/routes/chunk-h01kq2ae.js +0 -13
  141. package/app-dist/routes/chunk-h4dk761v.js +0 -5
  142. package/app-dist/routes/chunk-hmx91z2x.js +0 -5
  143. package/app-dist/routes/chunk-hxbg4m42.js +0 -36
  144. package/app-dist/routes/chunk-jbjnfp2b.js +0 -2
  145. package/app-dist/routes/chunk-jxtz5vv6.js +0 -36
  146. package/app-dist/routes/chunk-jxzcs0ey.js +0 -36
  147. package/app-dist/routes/chunk-kt7wwhcx.js +0 -1
  148. package/app-dist/routes/chunk-kzptszyc.js +0 -33
  149. package/app-dist/routes/chunk-mhgca4w4.js +0 -2
  150. package/app-dist/routes/chunk-mhswxa20.js +0 -1
  151. package/app-dist/routes/chunk-n8zfeex6.js +0 -1
  152. package/app-dist/routes/chunk-pee47b2r.js +0 -1
  153. package/app-dist/routes/chunk-pesmw829.js +0 -1
  154. package/app-dist/routes/chunk-pgc4c6f3.js +0 -36
  155. package/app-dist/routes/chunk-q8egegm1.js +0 -1
  156. package/app-dist/routes/chunk-q9mn2qyq.js +0 -36
  157. package/app-dist/routes/chunk-qh0rtaf3.js +0 -5
  158. package/app-dist/routes/chunk-qqhmk6ye.js +0 -2
  159. package/app-dist/routes/chunk-qrxygmf7.js +0 -33
  160. package/app-dist/routes/chunk-r46yzksx.js +0 -36
  161. package/app-dist/routes/chunk-rgpbw2w0.js +0 -5
  162. package/app-dist/routes/chunk-rnpzv3d8.js +0 -2
  163. package/app-dist/routes/chunk-s5v8cv05.js +0 -2
  164. package/app-dist/routes/chunk-sbwn5bpc.js +0 -1
  165. package/app-dist/routes/chunk-sqbg8jbt.js +0 -33
  166. package/app-dist/routes/chunk-sv8dqnf7.js +0 -1
  167. package/app-dist/routes/chunk-t67sw3za.js +0 -1
  168. package/app-dist/routes/chunk-tjdpqwdf.js +0 -31
  169. package/app-dist/routes/chunk-tq2mfghg.js +0 -1
  170. package/app-dist/routes/chunk-ttn10vt6.js +0 -1
  171. package/app-dist/routes/chunk-v2hzpjxr.js +0 -1
  172. package/app-dist/routes/chunk-wfjjkw9y.js +0 -1
  173. package/app-dist/routes/chunk-wt8cxzmf.js +0 -31
  174. package/app-dist/routes/chunk-x45d372k.js +0 -5
  175. package/app-dist/routes/chunk-y3wsazkt.js +0 -1
  176. package/app-dist/routes/chunk-y7pmgc7t.js +0 -33
  177. package/app-dist/routes/chunk-zefdt2q3.js +0 -31
  178. package/app-dist/routes/dropdowns.js +0 -6
  179. package/app-dist/routes/home.js +0 -1
  180. package/app-dist/routes/icons.js +0 -1
  181. package/app-dist/routes/inputs.js +0 -12
  182. package/app-dist/routes/installation.js +0 -1
  183. package/app-dist/routes/layout.js +0 -1
  184. package/app-dist/routes/modals.js +0 -7
  185. package/app-dist/routes/navbar.js +0 -1
  186. package/app-dist/routes/progress.js +0 -1
  187. package/app-dist/routes/radios.js +0 -6
  188. package/app-dist/routes/switches.js +0 -6
  189. package/app-dist/routes/tabs.js +0 -1
  190. package/app-dist/routes/toasts.js +0 -16
  191. package/assets/fonts/material-symbols-mini.woff2 +0 -0
  192. package/assets/fonts/material-symbols.woff2 +0 -0
  193. package/assets/fonts/roboto-400.woff2 +0 -0
  194. package/assets/fonts/roboto-500.woff2 +0 -0
  195. package/assets/fonts/roboto-700.woff2 +0 -0
  196. package/assets/logo-banner-400.jpg +0 -0
  197. package/assets/logo-banner-400.webp +0 -0
  198. package/assets/logo-banner-800.webp +0 -0
  199. package/assets/logo-banner.jpg +0 -0
  200. package/assets/logo-icon-64.jpg +0 -0
  201. package/assets/logo-icon-64.webp +0 -0
  202. package/assets/logo-icon.jpg +0 -0
  203. package/assets/logo-square.jpg +0 -0
  204. package/bun.lock +0 -312
  205. package/bunfig.toml +0 -4
  206. package/custom-elements.json +0 -1916
  207. package/demo/api/sample-data.json +0 -38
  208. package/demo/content/alerts.html +0 -115
  209. package/demo/content/avatars.html +0 -70
  210. package/demo/content/badges.html +0 -65
  211. package/demo/content/buttons.html +0 -188
  212. package/demo/content/callouts.html +0 -91
  213. package/demo/content/cards.html +0 -121
  214. package/demo/content/checkboxes.html +0 -178
  215. package/demo/content/chips.html +0 -67
  216. package/demo/content/codeblocks.html +0 -101
  217. package/demo/content/confirms.html +0 -115
  218. package/demo/content/datatables.html +0 -149
  219. package/demo/content/dividers.html +0 -119
  220. package/demo/content/dropdowns.html +0 -89
  221. package/demo/content/enterprise.html +0 -252
  222. package/demo/content/home.html +0 -149
  223. package/demo/content/icons.html +0 -89
  224. package/demo/content/inputs.html +0 -135
  225. package/demo/content/installation.html +0 -16
  226. package/demo/content/layout.html +0 -136
  227. package/demo/content/modals.html +0 -141
  228. package/demo/content/navbar.html +0 -70
  229. package/demo/content/progress.html +0 -119
  230. package/demo/content/radios.html +0 -88
  231. package/demo/content/skeletons.html +0 -109
  232. package/demo/content/spinners.html +0 -96
  233. package/demo/content/switches.html +0 -84
  234. package/demo/content/tables.html +0 -124
  235. package/demo/content/tabs.html +0 -85
  236. package/demo/content/toasts.html +0 -116
  237. package/demo/content/tooltips.html +0 -107
  238. package/demo/content/virtual-lists.html +0 -233
  239. package/demo/favicon.ico +0 -0
  240. package/demo/favicon.png +0 -0
  241. package/demo/full.html +0 -52
  242. package/demo/iife.html +0 -46
  243. package/demo/manifest.json +0 -34
  244. package/demo/pages/datatable-demo.html +0 -237
  245. package/demo/pages/prompt-ui-demo.html +0 -218
  246. package/demo/pages/responsive-demo.html +0 -122
  247. package/demo/pages/schema-form-demo.html +0 -270
  248. package/demo/robots.txt +0 -6
  249. package/demo/shell.html +0 -712
  250. package/demo/sw.js +0 -387
  251. package/lighthouse-audit.mjs +0 -113
  252. package/scripts/analyze-components.js +0 -105
  253. package/scripts/build-app.js +0 -193
  254. package/scripts/build-framework.js +0 -444
  255. package/scripts/build-utils.js +0 -101
  256. package/scripts/test-isolated.js +0 -151
  257. package/server.js +0 -256
  258. package/tests/agents/agent-integration.test.js +0 -76
  259. package/tests/benchmark.html +0 -296
  260. package/tests/build/scan-components.test.js +0 -173
  261. package/tests/components/all-components.test.js +0 -245
  262. package/tests/components/all-missing-components.test.js +0 -574
  263. package/tests/components/mu-alert.test.js +0 -113
  264. package/tests/components/mu-avatar.test.js +0 -148
  265. package/tests/components/mu-badge.test.js +0 -92
  266. package/tests/components/mu-button.test.js +0 -112
  267. package/tests/components/mu-card.test.js +0 -89
  268. package/tests/components/mu-checkbox.test.js +0 -158
  269. package/tests/components/mu-chip.test.js +0 -118
  270. package/tests/components/mu-container.test.js +0 -120
  271. package/tests/components/mu-divider.test.js +0 -98
  272. package/tests/components/mu-drawer-item.test.js +0 -199
  273. package/tests/components/mu-drawer.test.js +0 -96
  274. package/tests/components/mu-dropdown.test.js +0 -125
  275. package/tests/components/mu-form.test.js +0 -138
  276. package/tests/components/mu-grid.test.js +0 -135
  277. package/tests/components/mu-icon.test.js +0 -110
  278. package/tests/components/mu-input.test.js +0 -131
  279. package/tests/components/mu-lazy.test.js +0 -103
  280. package/tests/components/mu-modal.test.js +0 -275
  281. package/tests/components/mu-navbar.test.js +0 -101
  282. package/tests/components/mu-progress.test.js +0 -115
  283. package/tests/components/mu-radio.test.js +0 -114
  284. package/tests/components/mu-repeat.test.js +0 -106
  285. package/tests/components/mu-sidebar.test.js +0 -126
  286. package/tests/components/mu-skeleton.test.js +0 -162
  287. package/tests/components/mu-stack.test.js +0 -143
  288. package/tests/components/mu-switch.test.js +0 -292
  289. package/tests/components/mu-table.test.js +0 -124
  290. package/tests/components/mu-tabs.test.js +0 -104
  291. package/tests/components/mu-textarea.test.js +0 -115
  292. package/tests/components/mu-toast.test.js +0 -321
  293. package/tests/components/mu-tooltip.test.js +0 -133
  294. package/tests/components/mu-virtual-list.test.js +0 -109
  295. package/tests/core/MuElement.test.js +0 -120
  296. package/tests/core/agent-api.test.js +0 -125
  297. package/tests/core/all-core-modules.test.js +0 -442
  298. package/tests/core/bus.test.js +0 -364
  299. package/tests/core/component-schema.test.js +0 -160
  300. package/tests/core/feature-registry.test.js +0 -198
  301. package/tests/core/form-state.test.js +0 -167
  302. package/tests/core/http.test.js +0 -119
  303. package/tests/core/keyboard.test.js +0 -319
  304. package/tests/core/layers.test.js +0 -129
  305. package/tests/core/namespaced-stores.test.js +0 -114
  306. package/tests/core/render.test.js +0 -121
  307. package/tests/core/ripple.test.js +0 -131
  308. package/tests/core/router.test.js +0 -89
  309. package/tests/core/scheduler.test.js +0 -121
  310. package/tests/core/signals.test.js +0 -128
  311. package/tests/core/store.test.js +0 -171
  312. package/tests/core/transitions.test.js +0 -82
  313. package/tests/e2e/accessibility-harness.html +0 -58
  314. package/tests/e2e/accessibility.test.js +0 -401
  315. package/tests/e2e/agent-features.test.js +0 -372
  316. package/tests/e2e/card-spacing.test.js +0 -287
  317. package/tests/e2e/components.test.js +0 -439
  318. package/tests/e2e/demo-routes.test.js +0 -478
  319. package/tests/e2e/layout-css-fallback.test.js +0 -334
  320. package/tests/e2e/mu-alert.e2e.test.js +0 -111
  321. package/tests/e2e/mu-checkbox.test.js +0 -489
  322. package/tests/e2e/mu-chip.test.js +0 -347
  323. package/tests/e2e/mu-form.test.js +0 -499
  324. package/tests/e2e/mu-icon.test.js +0 -114
  325. package/tests/e2e/mu-radio.test.js +0 -113
  326. package/tests/e2e/mu-skeleton.test.js +0 -140
  327. package/tests/e2e/mu-switch.test.js +0 -415
  328. package/tests/e2e/mu-tabs.test.js +0 -494
  329. package/tests/e2e/mu-textarea.test.js +0 -242
  330. package/tests/e2e/mu-virtual-list.test.js +0 -427
  331. package/tests/e2e/perf-memory.test.js +0 -161
  332. package/tests/e2e/puppeteer-helper.js +0 -137
  333. package/tests/e2e/puppeteer.test.js +0 -226
  334. package/tests/e2e/pwa.test.js +0 -261
  335. package/tests/e2e/test-harness.html +0 -319
  336. package/tests/manual/test-components.html +0 -120
  337. package/tests/memory-test.html +0 -309
  338. package/tests/setup-dom.js +0 -93
  339. package/tests/visual-test.html +0 -301
@@ -1,31 +0,0 @@
1
- import{b as l,c}from"./chunk-mhgca4w4.js";class i extends l{static baseClass="mu-code";static observedAttributes=["language"];#e=null;connectedCallback(){if(super.connectedCallback(),!this.#e&&!this.querySelector(".mu-code__content"))this.#e=this.textContent}render(){if(this.querySelector(".mu-code__content"))return;let t=this.attr("language","html"),e=this.#e||this.textContent,s=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),o=this.#t(s,t);this.innerHTML=`
2
- <div class="mu-code__header">
3
- <span class="mu-code__language">${t.toUpperCase()}</span>
4
- <button class="mu-code__copy" title="Copy code">
5
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
6
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
7
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
8
- </svg>
9
- </button>
10
- </div>
11
- <pre class="mu-code__pre"><code class="mu-code__content">${o}</code></pre>
12
- `,this.#s(),this.#o(e)}#t(t,e){if(e==="html")return t.replace(/(&lt;\/?)([\w-]+)/g,'$1<span class="mu-code__tag">$2</span>').replace(/(\s)([\w-]+)(=)/g,'$1<span class="mu-code__attr">$2</span>$3').replace(/(".*?")/g,'<span class="mu-code__string">$1</span>');if(e==="javascript"||e==="js")return t.replace(/\b(const|let|var|function|return|if|else|for|while|class|import|export|from|async|await)\b/g,'<span class="mu-code__keyword">$1</span>').replace(/('.*?'|".*?"|`.*?`)/g,'<span class="mu-code__string">$1</span>').replace(/(\/\/.*)/g,'<span class="mu-code__comment">$1</span>');return t}#s(){this.style.display="block",this.style.background="var(--md-sys-color-surface-container-highest)",this.style.borderRadius="var(--md-sys-shape-corner-medium)",this.style.overflow="hidden",this.style.fontFamily="'Fira Code', 'Consolas', monospace",this.style.fontSize="13px";let t=this.querySelector(".mu-code__header");if(t)t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="center",t.style.padding="8px 16px",t.style.background="var(--md-sys-color-surface-container)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)";let e=this.querySelector(".mu-code__language");if(e)e.style.fontSize="11px",e.style.fontWeight="600",e.style.color="var(--md-sys-color-primary)",e.style.letterSpacing="0.5px";let s=this.querySelector(".mu-code__copy");if(s)s.style.background="transparent",s.style.border="none",s.style.cursor="pointer",s.style.color="var(--md-sys-color-on-surface-variant)",s.style.padding="4px",s.style.borderRadius="4px",s.style.display="flex",s.style.transition="all 0.2s ease";let o=this.querySelector(".mu-code__pre");if(o)o.style.margin="0",o.style.padding="16px",o.style.overflow="auto",o.style.maxHeight="400px";let a=this.querySelector(".mu-code__content");if(a)a.style.color="var(--md-sys-color-on-surface)";let r=document.createElement("style");if(r.textContent=`
13
- .mu-code__tag { color: var(--md-sys-color-primary); }
14
- .mu-code__attr { color: var(--md-sys-color-tertiary); }
15
- .mu-code__string { color: var(--md-sys-color-secondary); }
16
- .mu-code__keyword { color: var(--md-sys-color-primary); font-weight: 500; }
17
- .mu-code__comment { color: var(--md-sys-color-outline); font-style: italic; }
18
- .mu-code__copy:hover {
19
- background: var(--md-sys-color-surface-container-high);
20
- color: var(--md-sys-color-primary);
21
- }
22
- `,!document.querySelector("#mu-code-styles"))r.id="mu-code-styles",document.head.appendChild(r)}#o(t){let e=this.querySelector(".mu-code__copy");if(e)e.addEventListener("click",async()=>{try{await navigator.clipboard.writeText(t.trim()),e.innerHTML=`
23
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="var(--md-sys-color-primary)" stroke-width="2">
24
- <polyline points="20 6 9 17 4 12"/>
25
- </svg>
26
- `,setTimeout(()=>{e.innerHTML=`
27
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
28
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
29
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
30
- </svg>
31
- `},2000)}catch(s){console.error("Copy failed:",s)}})}}c("mu-code",i);
@@ -1,33 +0,0 @@
1
- import{b as o,c as i}from"./chunk-0m4j19yd.js";class l extends o{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),a={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},e=a[s]||a.attributes,d=t.map((r)=>({name:r.getAttribute("name")||"",type:r.getAttribute("type")||"",default:r.getAttribute("default")||"-",signature:r.getAttribute("signature")||"",detail:r.getAttribute("detail")||"",description:r.textContent.trim()}));this.innerHTML=`
2
- <table class="mu-api-table__table">
3
- <thead>
4
- <tr>
5
- ${e.map((r)=>`<th>${r}</th>`).join("")}
6
- </tr>
7
- </thead>
8
- <tbody>
9
- ${d.map((r)=>this.#t(s,r)).join("")}
10
- </tbody>
11
- </table>
12
- `,this.#e()}#t(s,t){let a=(d)=>{if(!d)return"";return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},e={name:a(t.name),type:a(t.type),default:a(t.default),signature:a(t.signature),detail:a(t.detail),description:a(t.description)};switch(s){case"attributes":return`<tr>
13
- <td><code>${e.name}</code></td>
14
- <td><code class="type">${e.type}</code></td>
15
- <td><code class="default">${e.default}</code></td>
16
- <td>${e.description}</td>
17
- </tr>`;case"properties":return`<tr>
18
- <td><code>${e.name}</code></td>
19
- <td><code class="type">${e.type}</code></td>
20
- <td>${e.description}</td>
21
- </tr>`;case"methods":return`<tr>
22
- <td><code>${e.name}</code></td>
23
- <td><code class="signature">${e.signature}</code></td>
24
- <td>${e.description}</td>
25
- </tr>`;case"events":return`<tr>
26
- <td><code>${e.name}</code></td>
27
- <td><code class="detail">${e.detail}</code></td>
28
- <td>${e.description}</td>
29
- </tr>`;case"tokens":return`<tr>
30
- <td><code>${e.name}</code></td>
31
- <td><code class="default">${e.default}</code></td>
32
- <td>${e.description}</td>
33
- </tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class c extends o{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}i("mu-api-table",l);i("mu-api-row",c);
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-qqhmk6ye.js";class d extends a{static baseClass="mu-button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-s5v8cv05.js";class d extends a{static baseClass="mu-button";static cssFile="button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
@@ -1 +0,0 @@
1
- import{b as s,c as d}from"./chunk-jbjnfp2b.js";class r extends s{static baseClass="mu-card";static observedAttributes=["variant","padding"];connectedCallback(){super.connectedCallback(),this.#a()}render(){this.#a()}update(a,t,e){this.#a()}#a(){let a=this.attr("variant","flat"),t=this.attr("padding","md");this.className=`mu-card mu-card--${a} mu-card--padding-${t}`}}d("mu-card",r);
@@ -1,33 +0,0 @@
1
- import{b as o,c as i}from"./chunk-mhgca4w4.js";class l extends o{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),a={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},e=a[s]||a.attributes,d=t.map((r)=>({name:r.getAttribute("name")||"",type:r.getAttribute("type")||"",default:r.getAttribute("default")||"-",signature:r.getAttribute("signature")||"",detail:r.getAttribute("detail")||"",description:r.textContent.trim()}));this.innerHTML=`
2
- <table class="mu-api-table__table">
3
- <thead>
4
- <tr>
5
- ${e.map((r)=>`<th>${r}</th>`).join("")}
6
- </tr>
7
- </thead>
8
- <tbody>
9
- ${d.map((r)=>this.#t(s,r)).join("")}
10
- </tbody>
11
- </table>
12
- `,this.#e()}#t(s,t){let a=(d)=>{if(!d)return"";return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},e={name:a(t.name),type:a(t.type),default:a(t.default),signature:a(t.signature),detail:a(t.detail),description:a(t.description)};switch(s){case"attributes":return`<tr>
13
- <td><code>${e.name}</code></td>
14
- <td><code class="type">${e.type}</code></td>
15
- <td><code class="default">${e.default}</code></td>
16
- <td>${e.description}</td>
17
- </tr>`;case"properties":return`<tr>
18
- <td><code>${e.name}</code></td>
19
- <td><code class="type">${e.type}</code></td>
20
- <td>${e.description}</td>
21
- </tr>`;case"methods":return`<tr>
22
- <td><code>${e.name}</code></td>
23
- <td><code class="signature">${e.signature}</code></td>
24
- <td>${e.description}</td>
25
- </tr>`;case"events":return`<tr>
26
- <td><code>${e.name}</code></td>
27
- <td><code class="detail">${e.detail}</code></td>
28
- <td>${e.description}</td>
29
- </tr>`;case"tokens":return`<tr>
30
- <td><code>${e.name}</code></td>
31
- <td><code class="default">${e.default}</code></td>
32
- <td>${e.description}</td>
33
- </tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class c extends o{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}i("mu-api-table",l);i("mu-api-row",c);
@@ -1 +0,0 @@
1
- import{b as s,c as d}from"./chunk-qqhmk6ye.js";class r extends s{static baseClass="mu-card";static observedAttributes=["variant","padding"];connectedCallback(){super.connectedCallback(),this.#a()}render(){this.#a()}update(a,t,e){this.#a()}#a(){let a=this.attr("variant","flat"),t=this.attr("padding","md");this.className=`mu-card mu-card--${a} mu-card--padding-${t}`}}d("mu-card",r);
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-rnpzv3d8.js";class d extends a{static baseClass="mu-button";static cssFile="button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
@@ -1,36 +0,0 @@
1
- import{b as c,c as d}from"./chunk-rnpzv3d8.js";class y extends c{static baseClass="mu-example";static observedAttributes=["title"];#e=!1;render(){let l=this.attr("title","Example"),e=this.querySelector('[slot="demo"]'),t=this.querySelector('[slot="code"]'),o=e?e.innerHTML:"",s=t?t.innerHTML:o;if(e)e.remove();if(t)t.remove();this.innerHTML=`
2
- <div class="mu-example__card">
3
- <div class="mu-example__header">
4
- <span class="mu-example__title">${l}</span>
5
- <div class="mu-example__actions">
6
- <button class="mu-example__btn" data-action="link" title="Copy link">
7
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
8
- <path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/>
9
- <path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/>
10
- </svg>
11
- </button>
12
- <button class="mu-example__btn" data-action="code" title="View source">
13
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
14
- <polyline points="16 18 22 12 16 6"/>
15
- <polyline points="8 6 2 12 8 18"/>
16
- </svg>
17
- </button>
18
- </div>
19
- </div>
20
- <div class="mu-example__demo">
21
- ${o}
22
- </div>
23
- <div class="mu-example__code" style="display: none;">
24
- <pre><code>${this.#t(s.trim())}</code></pre>
25
- </div>
26
- </div>
27
- `,this.#l(),this.#s()}#t(l){return l.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}#l(){this.style.display="block",this.style.marginBottom="24px";let l=this.querySelector(".mu-example__card");if(l)l.style.background="var(--md-sys-color-surface)",l.style.border="1px solid var(--md-sys-color-outline-variant)",l.style.borderRadius="var(--md-sys-shape-corner-large)",l.style.overflow="hidden";let e=this.querySelector(".mu-example__header");if(e)e.style.display="flex",e.style.justifyContent="space-between",e.style.alignItems="center",e.style.padding="12px 16px",e.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",e.style.background="var(--md-sys-color-surface-container-low)";let t=this.querySelector(".mu-example__title");if(t)t.style.fontWeight="500",t.style.fontSize="var(--md-sys-typescale-title-small-size)",t.style.color="var(--md-sys-color-on-surface)";let o=this.querySelector(".mu-example__actions");if(o)o.style.display="flex",o.style.gap="4px";this.querySelectorAll(".mu-example__btn").forEach((r)=>{r.style.background="transparent",r.style.border="none",r.style.cursor="pointer",r.style.padding="8px",r.style.borderRadius="50%",r.style.color="var(--md-sys-color-on-surface-variant)",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.transition="all 0.2s ease"});let s=this.querySelector(".mu-example__demo");if(s)s.style.padding="24px",s.style.display="flex",s.style.flexWrap="wrap",s.style.gap="16px",s.style.alignItems="center";let i=this.querySelector(".mu-example__code");if(i)i.style.background="var(--md-sys-color-surface-container-highest)",i.style.borderTop="1px solid var(--md-sys-color-outline-variant)";let a=this.querySelector("pre");if(a)a.style.margin="0",a.style.padding="16px",a.style.overflow="auto",a.style.maxHeight="300px",a.style.fontFamily="'Fira Code', monospace",a.style.fontSize="13px",a.style.color="var(--md-sys-color-on-surface)";let n=document.createElement("style");if(n.textContent=`
28
- .mu-example__btn:hover {
29
- background: var(--md-sys-color-surface-container-high) !important;
30
- color: var(--md-sys-color-primary) !important;
31
- }
32
- .mu-example__btn.active {
33
- background: var(--md-sys-color-primary-container) !important;
34
- color: var(--md-sys-color-on-primary-container) !important;
35
- }
36
- `,!document.querySelector("#mu-example-styles"))n.id="mu-example-styles",document.head.appendChild(n)}#s(){let l=this.querySelector('[data-action="code"]'),e=this.querySelector(".mu-example__code");if(l&&e)l.addEventListener("click",()=>{this.#e=!this.#e,e.style.display=this.#e?"block":"none",l.classList.toggle("active",this.#e)});let t=this.querySelector('[data-action="link"]');if(t)t.addEventListener("click",async()=>{let o=window.location.href;try{await navigator.clipboard.writeText(o),t.style.color="var(--md-sys-color-primary)",setTimeout(()=>{t.style.color=""},2000)}catch(s){console.error("Copy failed:",s)}})}}d("mu-example",y);
@@ -1,5 +0,0 @@
1
- import{b as o,c as t}from"./chunk-rnpzv3d8.js";var s={check:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",close:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",add:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",remove:"M19 13H5v-2h14z",edit:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75z",delete:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z",search:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",menu:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z",chevron_right:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",chevron_left:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",expand_more:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",expand_less:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",arrow_back:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z",arrow_forward:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",info:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z",warning:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z",error:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z",check_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",cancel:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z",success:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",settings:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",person:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",light_mode:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z",dark_mode:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z",visibility:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3",visibility_off:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z",download:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z",smart_button:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-7.5 11 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20zm2.5-5 .62-1.38L19 14l-1.38-.62L17 12l-.62 1.38L15 14l1.38.62L17 16zm-2.5 5 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20z",text_fields:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",check_box:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",toggle_on:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z",radio_button_checked:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",arrow_drop_down_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12-4-4h8l-4 4z",view_carousel:"M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z",grid_view:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",tab:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z",notifications:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",open_in_new:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z",hourglass_empty:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z",account_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z",fiber_manual_record:"M12 12m-8 0a8 8 0 1 0 16 0 8 8 0 1 0-16 0",label:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z",emoji_emotions:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z",business:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z",input:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z",category:"M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z",widgets:"M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z",smart_toy:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zM7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5zM16 17H8v-2h8v2zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13z",notification_important:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 6c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm1-15.06c1.77.52 3 2.14 3 4.06v5.5l1 1v.5H7v-.5l1-1V11c0-1.92 1.23-3.54 3-4.06V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v.94zM13 11h-2v6h2v-6zm0-4h-2v2h2V7z",folder_managed:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24.78 3.33z",shield:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z",apps:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",monitoring:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 12h2v5H7v-5zm4-3h2v8h-2V9zm4-3h2v11h-2V6z"},h={check:"check",close:"close",add:"add",remove:"remove",edit:"edit",delete:"delete",search:"search",menu:"menu",chevron_right:"chevron_right",chevron_left:"chevron_left",expand_more:"expand_more",expand_less:"expand_less",home:"home",arrow_back:"arrow_back",arrow_forward:"arrow_forward",info:"info",warning:"warning",error:"error",success:"check_circle",check_circle:"check_circle",cancel:"cancel",settings:"settings",person:"person",light_mode:"light_mode",dark_mode:"dark_mode",sun:"light_mode",moon:"dark_mode",user:"person",visibility:"visibility",visibility_off:"visibility_off",download:"download",smart_button:"smart_button",text_fields:"text_fields",check_box:"check_box",toggle_on:"toggle_on",radio_button_checked:"radio_button_checked",arrow_drop_down_circle:"arrow_drop_down_circle",view_carousel:"view_carousel",grid_view:"grid_view",tab:"tab",notifications:"notifications",open_in_new:"open_in_new",hourglass_empty:"hourglass_empty",account_circle:"account_circle",fiber_manual_record:"fiber_manual_record",label:"label",emoji_emotions:"emoji_emotions",business:"business",input:"input",category:"category",widgets:"widgets",smart_toy:"smart_toy",notification_important:"notification_important",folder_managed:"folder_managed",shield:"shield",apps:"apps",monitoring:"monitoring",plus:"add",minus:"remove"};class z extends o{static baseClass="mu-icon";static cssFile="icon";static observedAttributes=["name","size","svg","filled","font"];render(){let c=this.attr("name","info"),e=this.attr("size","24"),l=this.has("font"),r=this.has("filled"),n=h[c]?c:c,i=s[c]||s[h[c]];if(!l&&i){this.innerHTML=`
2
- <svg width="${e}" height="${e}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
3
- <path d="${i}"></path>
4
- </svg>
5
- `;return}let m=h[c]||c;this.innerHTML=`<span class="material-symbols-outlined" aria-hidden="true">${m}</span>`;let v=this.querySelector("span");if(v){if(v.style.fontSize=`${e}px`,r)v.style.fontVariationSettings="'FILL' 1"}}update(c,e,l){this.render()}}var _=Object.keys(h),d=Object.keys(s);t("mu-icon",z);
@@ -1 +0,0 @@
1
- import{b as i,c as e}from"./chunk-s5v8cv05.js";class r extends i{static baseClass="mu-stack";static observedAttributes=["direction","gap","align","justify","wrap"];render(){this.#s()}update(t,s,a){this.#s()}#s(){let t=this.attr("direction","column"),s=this.attr("gap","md"),a=this.attr("align","stretch"),l=this.attr("justify","flex-start"),p=this.has("wrap"),n={none:"0",xs:"var(--md-sys-spacing-xs, 4px)",sm:"var(--md-sys-spacing-sm, 8px)",md:"var(--md-sys-spacing-md, 16px)",lg:"var(--md-sys-spacing-lg, 24px)",xl:"var(--md-sys-spacing-xl, 32px)"};this.style.display="flex",this.style.flexDirection=t,this.style.gap=n[s]||s,this.style.alignItems=a,this.style.justifyContent=l,this.style.flexWrap=p?"wrap":"nowrap"}}e("mu-stack",r);
@@ -1 +0,0 @@
1
- import{b as s,c as d}from"./chunk-s5v8cv05.js";class r extends s{static baseClass="mu-card";static cssFile="card";static observedAttributes=["variant","padding"];connectedCallback(){super.connectedCallback(),this.#a()}render(){this.#a()}update(a,t,c){this.#a()}#a(){let a=this.attr("variant","flat"),t=this.attr("padding","md");this.className=`mu-card mu-card--${a} mu-card--padding-${t}`}}d("mu-card",r);
@@ -1 +0,0 @@
1
- import{b as e,c as r}from"./chunk-mhgca4w4.js";class a extends e{static baseClass="mu-grid";static cssFile="grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,i){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),i=this.attr("gap","md"),l=this.attr("align","stretch"),d={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=d[i]||i,this.style.alignItems=l}}r("mu-grid",a);
@@ -1 +0,0 @@
1
- import{b as e,c as r}from"./chunk-15m2qcda.js";class a extends e{static baseClass="mu-grid";static cssFile="grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,i){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),i=this.attr("gap","md"),l=this.attr("align","stretch"),d={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=d[i]||i,this.style.alignItems=l}}r("mu-grid",a);
@@ -1,33 +0,0 @@
1
- import{b as o,c as i}from"./chunk-qqhmk6ye.js";class l extends o{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),a={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},e=a[s]||a.attributes,d=t.map((r)=>({name:r.getAttribute("name")||"",type:r.getAttribute("type")||"",default:r.getAttribute("default")||"-",signature:r.getAttribute("signature")||"",detail:r.getAttribute("detail")||"",description:r.textContent.trim()}));this.innerHTML=`
2
- <table class="mu-api-table__table">
3
- <thead>
4
- <tr>
5
- ${e.map((r)=>`<th>${r}</th>`).join("")}
6
- </tr>
7
- </thead>
8
- <tbody>
9
- ${d.map((r)=>this.#t(s,r)).join("")}
10
- </tbody>
11
- </table>
12
- `,this.#e()}#t(s,t){let a=(d)=>{if(!d)return"";return String(d).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},e={name:a(t.name),type:a(t.type),default:a(t.default),signature:a(t.signature),detail:a(t.detail),description:a(t.description)};switch(s){case"attributes":return`<tr>
13
- <td><code>${e.name}</code></td>
14
- <td><code class="type">${e.type}</code></td>
15
- <td><code class="default">${e.default}</code></td>
16
- <td>${e.description}</td>
17
- </tr>`;case"properties":return`<tr>
18
- <td><code>${e.name}</code></td>
19
- <td><code class="type">${e.type}</code></td>
20
- <td>${e.description}</td>
21
- </tr>`;case"methods":return`<tr>
22
- <td><code>${e.name}</code></td>
23
- <td><code class="signature">${e.signature}</code></td>
24
- <td>${e.description}</td>
25
- </tr>`;case"events":return`<tr>
26
- <td><code>${e.name}</code></td>
27
- <td><code class="detail">${e.detail}</code></td>
28
- <td>${e.description}</td>
29
- </tr>`;case"tokens":return`<tr>
30
- <td><code>${e.name}</code></td>
31
- <td><code class="default">${e.default}</code></td>
32
- <td>${e.description}</td>
33
- </tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class c extends o{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}i("mu-api-table",l);i("mu-api-row",c);
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-mhgca4w4.js";class d extends a{static baseClass="mu-button";static cssFile="button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
@@ -1,31 +0,0 @@
1
- import{b as l,c}from"./chunk-s5v8cv05.js";class i extends l{static baseClass="mu-code";static observedAttributes=["language"];#e=null;connectedCallback(){if(super.connectedCallback(),!this.#e&&!this.querySelector(".mu-code__content"))this.#e=this.textContent}render(){if(this.querySelector(".mu-code__content"))return;let t=this.attr("language","html"),e=this.#e||this.textContent,s=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),o=this.#t(s,t);this.innerHTML=`
2
- <div class="mu-code__header">
3
- <span class="mu-code__language">${t.toUpperCase()}</span>
4
- <button class="mu-code__copy" title="Copy code">
5
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
6
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
7
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
8
- </svg>
9
- </button>
10
- </div>
11
- <pre class="mu-code__pre"><code class="mu-code__content">${o}</code></pre>
12
- `,this.#s(),this.#o(e)}#t(t,e){if(e==="html")return t.replace(/(&lt;\/?)([\w-]+)/g,'$1<span class="mu-code__tag">$2</span>').replace(/(\s)([\w-]+)(=)/g,'$1<span class="mu-code__attr">$2</span>$3').replace(/(".*?")/g,'<span class="mu-code__string">$1</span>');if(e==="javascript"||e==="js")return t.replace(/\b(const|let|var|function|return|if|else|for|while|class|import|export|from|async|await)\b/g,'<span class="mu-code__keyword">$1</span>').replace(/('.*?'|".*?"|`.*?`)/g,'<span class="mu-code__string">$1</span>').replace(/(\/\/.*)/g,'<span class="mu-code__comment">$1</span>');return t}#s(){this.style.display="block",this.style.background="var(--md-sys-color-surface-container-highest)",this.style.borderRadius="var(--md-sys-shape-corner-medium)",this.style.overflow="hidden",this.style.fontFamily="'Fira Code', 'Consolas', monospace",this.style.fontSize="13px";let t=this.querySelector(".mu-code__header");if(t)t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="center",t.style.padding="8px 16px",t.style.background="var(--md-sys-color-surface-container)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)";let e=this.querySelector(".mu-code__language");if(e)e.style.fontSize="11px",e.style.fontWeight="600",e.style.color="var(--md-sys-color-primary)",e.style.letterSpacing="0.5px";let s=this.querySelector(".mu-code__copy");if(s)s.style.background="transparent",s.style.border="none",s.style.cursor="pointer",s.style.color="var(--md-sys-color-on-surface-variant)",s.style.padding="4px",s.style.borderRadius="4px",s.style.display="flex",s.style.transition="all 0.2s ease";let o=this.querySelector(".mu-code__pre");if(o)o.style.margin="0",o.style.padding="16px",o.style.overflow="auto",o.style.maxHeight="400px";let a=this.querySelector(".mu-code__content");if(a)a.style.color="var(--md-sys-color-on-surface)";let r=document.createElement("style");if(r.textContent=`
13
- .mu-code__tag { color: var(--md-sys-color-primary); }
14
- .mu-code__attr { color: var(--md-sys-color-tertiary); }
15
- .mu-code__string { color: var(--md-sys-color-secondary); }
16
- .mu-code__keyword { color: var(--md-sys-color-primary); font-weight: 500; }
17
- .mu-code__comment { color: var(--md-sys-color-outline); font-style: italic; }
18
- .mu-code__copy:hover {
19
- background: var(--md-sys-color-surface-container-high);
20
- color: var(--md-sys-color-primary);
21
- }
22
- `,!document.querySelector("#mu-code-styles"))r.id="mu-code-styles",document.head.appendChild(r)}#o(t){let e=this.querySelector(".mu-code__copy");if(e)e.addEventListener("click",async()=>{try{await navigator.clipboard.writeText(t.trim()),e.innerHTML=`
23
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="var(--md-sys-color-primary)" stroke-width="2">
24
- <polyline points="20 6 9 17 4 12"/>
25
- </svg>
26
- `,setTimeout(()=>{e.innerHTML=`
27
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
28
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
29
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
30
- </svg>
31
- `},2000)}catch(s){console.error("Copy failed:",s)}})}}c("mu-code",i);
@@ -1,5 +0,0 @@
1
- import{b as i,c as t}from"./chunk-jbjnfp2b.js";var s={check:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",close:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",add:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",remove:"M19 13H5v-2h14z",edit:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75z",delete:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z",search:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",menu:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z",chevron_right:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",chevron_left:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",expand_more:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",expand_less:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",arrow_back:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z",arrow_forward:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",info:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z",warning:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z",error:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z",check_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",cancel:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z",success:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",settings:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",person:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",light_mode:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z",dark_mode:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z",visibility:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3",visibility_off:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z",download:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z",smart_button:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-7.5 11 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20zm2.5-5 .62-1.38L19 14l-1.38-.62L17 12l-.62 1.38L15 14l1.38.62L17 16zm-2.5 5 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20z",text_fields:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",check_box:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",toggle_on:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z",radio_button_checked:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",arrow_drop_down_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12-4-4h8l-4 4z",view_carousel:"M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z",grid_view:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",tab:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z",notifications:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",open_in_new:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z",hourglass_empty:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z",account_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z",fiber_manual_record:"M12 12m-8 0a8 8 0 1 0 16 0 8 8 0 1 0-16 0",label:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z",emoji_emotions:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z",business:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z",input:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z",category:"M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z",widgets:"M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z",smart_toy:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zM7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5zM16 17H8v-2h8v2zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13z",notification_important:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 6c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm1-15.06c1.77.52 3 2.14 3 4.06v5.5l1 1v.5H7v-.5l1-1V11c0-1.92 1.23-3.54 3-4.06V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v.94zM13 11h-2v6h2v-6zm0-4h-2v2h2V7z",folder_managed:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24.78 3.33z",shield:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z",apps:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",monitoring:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 12h2v5H7v-5zm4-3h2v8h-2V9zm4-3h2v11h-2V6z"},h={check:"check",close:"close",add:"add",remove:"remove",edit:"edit",delete:"delete",search:"search",menu:"menu",chevron_right:"chevron_right",chevron_left:"chevron_left",expand_more:"expand_more",expand_less:"expand_less",home:"home",arrow_back:"arrow_back",arrow_forward:"arrow_forward",info:"info",warning:"warning",error:"error",success:"check_circle",check_circle:"check_circle",cancel:"cancel",settings:"settings",person:"person",light_mode:"light_mode",dark_mode:"dark_mode",sun:"light_mode",moon:"dark_mode",user:"person",visibility:"visibility",visibility_off:"visibility_off",download:"download",smart_button:"smart_button",text_fields:"text_fields",check_box:"check_box",toggle_on:"toggle_on",radio_button_checked:"radio_button_checked",arrow_drop_down_circle:"arrow_drop_down_circle",view_carousel:"view_carousel",grid_view:"grid_view",tab:"tab",notifications:"notifications",open_in_new:"open_in_new",hourglass_empty:"hourglass_empty",account_circle:"account_circle",fiber_manual_record:"fiber_manual_record",label:"label",emoji_emotions:"emoji_emotions",business:"business",input:"input",category:"category",widgets:"widgets",smart_toy:"smart_toy",notification_important:"notification_important",folder_managed:"folder_managed",shield:"shield",apps:"apps",monitoring:"monitoring",plus:"add",minus:"remove"};class z extends i{static baseClass="mu-icon";static observedAttributes=["name","size","svg","filled","font"];render(){let c=this.attr("name","info"),e=this.attr("size","24"),l=this.has("font"),r=this.has("filled"),n=h[c]?c:c,o=s[c]||s[h[c]];if(!l&&o){this.innerHTML=`
2
- <svg width="${e}" height="${e}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
3
- <path d="${o}"></path>
4
- </svg>
5
- `;return}let m=h[c]||c;this.innerHTML=`<span class="material-symbols-outlined" aria-hidden="true">${m}</span>`;let v=this.querySelector("span");if(v){if(v.style.fontSize=`${e}px`,r)v.style.fontVariationSettings="'FILL' 1"}}update(c,e,l){this.render()}}var _=Object.keys(h),d=Object.keys(s);t("mu-icon",z);
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-15m2qcda.js";class d extends a{static baseClass="mu-button";static cssFile="button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
@@ -1 +0,0 @@
1
- import{b as a,c as r}from"./chunk-jbjnfp2b.js";class l extends a{static baseClass="mu-tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.querySelector(".mu-tabs__list"),i=(e?Array.from(e.querySelectorAll("mu-tab")):Array.from(this.querySelectorAll("mu-tab"))).indexOf(s);if(i!==-1)this.setAttribute("active",i.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,i)=>{e.classList.toggle("is-active",i===t),e.setAttribute("aria-selected",i===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends a{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}r("mu-tabs",l);r("mu-tab",c);
@@ -1,2 +0,0 @@
1
- class a extends HTMLElement{static observedAttributes=[];static baseClass="";static cssFile=null;static _loadedCSS=new Set;static useContainment=!0;_rendered=!1;_abortController=null;_timers=new Set;_intervals=new Set;constructor(){super();this._initAgentLogger()}_initAgentLogger(){if(!window.__MICROUI_ERRORS__)window.__MICROUI_ERRORS__=[];if(!window.microUIAgent)window.microUIAgent={reset:()=>{window.__MICROUI_ERRORS__=[],console.log("[microUIAgent] Errors cleared")},getErrors:()=>window.__MICROUI_ERRORS__,hasError:(t,e)=>{return window.__MICROUI_ERRORS__.some((s)=>s.component===t.toLowerCase()&&s.code===e)}}}logError(t,e){let s={component:this.tagName.toLowerCase(),code:t,message:e,element:this,timestamp:Date.now()};window.__MICROUI_ERRORS__.push(s),console.warn(`[microUI] ${t}: ${e}`,this)}connectedCallback(){if(this._abortController=new AbortController,this.constructor.baseClass)this.classList.add(this.constructor.baseClass);if(this.constructor.useContainment&&!this.style.contain)this.style.contain="layout style";if(!this._rendered)this.render(),this._rendered=!0;this._loadComponentCSS(),this._inferSemanticAttributes()}_loadComponentCSS(){let t=this.constructor.cssFile;if(!t)return;if(a._loadedCSS.has(t))return;a._loadedCSS.add(t);let e=document.createElement("link");e.id=`mu-css-${t}`,e.rel="stylesheet";let s="/styles/",n=document.querySelector('link[href*="/styles/"]');if(n){let r=n.href.match(/(.*\/(?:src\/|dist\/)?styles\/)/);if(r)s=r[1]}else{let r=document.querySelector('link[href*="/dist/"]');if(r){let i=r.href.match(/(.*\/dist\/)/);if(i)s=i[1]+"styles/"}else{let i=document.querySelector('script[src*="/src/"]');if(i){let o=i.src.match(/(.*\/src\/)/);if(o)s=o[1]+"styles/"}}}e.href=`${s}components/${t}.css`,document.head.appendChild(e)}_inferSemanticAttributes(){let t=this.tagName.toLowerCase();if(this.hasAttribute("data-mu-action"))return;let e="",s="";switch(t){case"mu-button":e=this._inferButtonAction(),s=this._inferButtonRole();break;case"mu-input":case"mu-textarea":e="input",s="text-field";break;case"mu-checkbox":case"mu-switch":e="toggle",s="control";break;case"mu-dropdown":e="select",s="selector";break;case"mu-modal":e="dialog",s="overlay";break;case"mu-tabs":e="navigate",s="navigation";break;case"mu-card":s="container";break}if(e)this.setAttribute("data-mu-action",e);if(s)this.setAttribute("data-mu-role",s)}_inferButtonAction(){let t=this.textContent?.toLowerCase().trim()||"";if(/^(save|submit|confirm|send|create|add|apply|ok|yes)$/.test(t))return"submit";if(/^(cancel|close|dismiss|no|nevermind)$/.test(t))return"cancel";if(/^(delete|remove|clear|trash)$/.test(t))return"delete";if(/^(back|next|previous|forward|continue)$/.test(t))return"navigate";return"click"}_inferButtonRole(){let t=this.getAttribute("variant");if(t==="filled"||t==="elevated")return"primary-action";if(t==="tonal"||t==="outlined")return"secondary-action";if(t==="text")return"tertiary-action";if(t==="danger")return"destructive-action";return"action"}disconnectedCallback(){if(this._abortController)this._abortController.abort(),this._abortController=null;for(let t of this._timers)clearTimeout(t);this._timers.clear();for(let t of this._intervals)clearInterval(t);this._intervals.clear(),this.cleanup()}cleanup(){}attributeChangedCallback(t,e,s){if(e!==s&&this._rendered)this.update(t,s,e)}render(){}update(t,e,s){}attr(t,e=""){return this.getAttribute(t)??e}has(t){return this.hasAttribute(t)}emit(t,e={}){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:e}))}listen(t,e,s,n={}){if(!this._abortController)this._abortController=new AbortController;let r={...n,signal:this._abortController.signal};t.addEventListener(e,s,r)}setTimeout(t,e){let s=setTimeout(()=>{this._timers.delete(s),t()},e);return this._timers.add(s),s}setInterval(t,e){let s=setInterval(t,e);return this._intervals.add(s),s}setupActivation(t){this.updateTabindex(),this.addEventListener("keydown",(e)=>{if((e.key==="Enter"||e.key===" ")&&!this.has("disabled"))e.preventDefault(),t()})}updateTabindex(){this.setAttribute("tabindex",this.has("disabled")?"-1":"0")}setDisplay(t){this.style.display=t}get isDisabled(){return this.has("disabled")}}function l(t,e){if(!customElements.get(t))customElements.define(t,e)}
2
- export{a as b,l as c};
@@ -1 +0,0 @@
1
- import{b as i,c as r}from"./chunk-0m4j19yd.js";class a extends i{static baseClass="mu-grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,e){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),e=this.attr("gap","md"),l=this.attr("align","stretch"),p={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=p[e]||e,this.style.alignItems=l}}r("mu-grid",a);
@@ -1,36 +0,0 @@
1
- import{b as c,c as d}from"./chunk-jbjnfp2b.js";class y extends c{static baseClass="mu-example";static observedAttributes=["title"];#e=!1;render(){let l=this.attr("title","Example"),e=this.querySelector('[slot="demo"]'),t=this.querySelector('[slot="code"]'),o=e?e.innerHTML:"",s=t?t.innerHTML:o;if(e)e.remove();if(t)t.remove();this.innerHTML=`
2
- <div class="mu-example__card">
3
- <div class="mu-example__header">
4
- <span class="mu-example__title">${l}</span>
5
- <div class="mu-example__actions">
6
- <button class="mu-example__btn" data-action="link" title="Copy link">
7
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
8
- <path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/>
9
- <path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/>
10
- </svg>
11
- </button>
12
- <button class="mu-example__btn" data-action="code" title="View source">
13
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
14
- <polyline points="16 18 22 12 16 6"/>
15
- <polyline points="8 6 2 12 8 18"/>
16
- </svg>
17
- </button>
18
- </div>
19
- </div>
20
- <div class="mu-example__demo">
21
- ${o}
22
- </div>
23
- <div class="mu-example__code" style="display: none;">
24
- <pre><code>${this.#t(s.trim())}</code></pre>
25
- </div>
26
- </div>
27
- `,this.#l(),this.#s()}#t(l){return l.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}#l(){this.style.display="block",this.style.marginBottom="24px";let l=this.querySelector(".mu-example__card");if(l)l.style.background="var(--md-sys-color-surface)",l.style.border="1px solid var(--md-sys-color-outline-variant)",l.style.borderRadius="var(--md-sys-shape-corner-large)",l.style.overflow="hidden";let e=this.querySelector(".mu-example__header");if(e)e.style.display="flex",e.style.justifyContent="space-between",e.style.alignItems="center",e.style.padding="12px 16px",e.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",e.style.background="var(--md-sys-color-surface-container-low)";let t=this.querySelector(".mu-example__title");if(t)t.style.fontWeight="500",t.style.fontSize="var(--md-sys-typescale-title-small-size)",t.style.color="var(--md-sys-color-on-surface)";let o=this.querySelector(".mu-example__actions");if(o)o.style.display="flex",o.style.gap="4px";this.querySelectorAll(".mu-example__btn").forEach((r)=>{r.style.background="transparent",r.style.border="none",r.style.cursor="pointer",r.style.padding="8px",r.style.borderRadius="50%",r.style.color="var(--md-sys-color-on-surface-variant)",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.transition="all 0.2s ease"});let s=this.querySelector(".mu-example__demo");if(s)s.style.padding="24px",s.style.display="flex",s.style.flexWrap="wrap",s.style.gap="16px",s.style.alignItems="center";let i=this.querySelector(".mu-example__code");if(i)i.style.background="var(--md-sys-color-surface-container-highest)",i.style.borderTop="1px solid var(--md-sys-color-outline-variant)";let a=this.querySelector("pre");if(a)a.style.margin="0",a.style.padding="16px",a.style.overflow="auto",a.style.maxHeight="300px",a.style.fontFamily="'Fira Code', monospace",a.style.fontSize="13px",a.style.color="var(--md-sys-color-on-surface)";let n=document.createElement("style");if(n.textContent=`
28
- .mu-example__btn:hover {
29
- background: var(--md-sys-color-surface-container-high) !important;
30
- color: var(--md-sys-color-primary) !important;
31
- }
32
- .mu-example__btn.active {
33
- background: var(--md-sys-color-primary-container) !important;
34
- color: var(--md-sys-color-on-primary-container) !important;
35
- }
36
- `,!document.querySelector("#mu-example-styles"))n.id="mu-example-styles",document.head.appendChild(n)}#s(){let l=this.querySelector('[data-action="code"]'),e=this.querySelector(".mu-example__code");if(l&&e)l.addEventListener("click",()=>{this.#e=!this.#e,e.style.display=this.#e?"block":"none",l.classList.toggle("active",this.#e)});let t=this.querySelector('[data-action="link"]');if(t)t.addEventListener("click",async()=>{let o=window.location.href;try{await navigator.clipboard.writeText(o),t.style.color="var(--md-sys-color-primary)",setTimeout(()=>{t.style.color=""},2000)}catch(s){console.error("Copy failed:",s)}})}}d("mu-example",y);
@@ -1 +0,0 @@
1
- import{b as i,c as a}from"./chunk-jbjnfp2b.js";class l extends i{static baseClass="mu-tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.#e.indexOf(s);if(e!==-1)this.setAttribute("active",e.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,r)=>{e.classList.toggle("is-active",r===t),e.setAttribute("aria-selected",r===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends i{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}a("mu-tabs",l);a("mu-tab",c);
@@ -1,36 +0,0 @@
1
- import{b as c,c as d}from"./chunk-qqhmk6ye.js";class y extends c{static baseClass="mu-example";static observedAttributes=["title"];#e=!1;render(){let l=this.attr("title","Example"),e=this.querySelector('[slot="demo"]'),t=this.querySelector('[slot="code"]'),o=e?e.innerHTML:"",s=t?t.innerHTML:o;if(e)e.remove();if(t)t.remove();this.innerHTML=`
2
- <div class="mu-example__card">
3
- <div class="mu-example__header">
4
- <span class="mu-example__title">${l}</span>
5
- <div class="mu-example__actions">
6
- <button class="mu-example__btn" data-action="link" title="Copy link">
7
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
8
- <path d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"/>
9
- <path d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"/>
10
- </svg>
11
- </button>
12
- <button class="mu-example__btn" data-action="code" title="View source">
13
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
14
- <polyline points="16 18 22 12 16 6"/>
15
- <polyline points="8 6 2 12 8 18"/>
16
- </svg>
17
- </button>
18
- </div>
19
- </div>
20
- <div class="mu-example__demo">
21
- ${o}
22
- </div>
23
- <div class="mu-example__code" style="display: none;">
24
- <pre><code>${this.#t(s.trim())}</code></pre>
25
- </div>
26
- </div>
27
- `,this.#l(),this.#s()}#t(l){return l.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}#l(){this.style.display="block",this.style.marginBottom="24px";let l=this.querySelector(".mu-example__card");if(l)l.style.background="var(--md-sys-color-surface)",l.style.border="1px solid var(--md-sys-color-outline-variant)",l.style.borderRadius="var(--md-sys-shape-corner-large)",l.style.overflow="hidden";let e=this.querySelector(".mu-example__header");if(e)e.style.display="flex",e.style.justifyContent="space-between",e.style.alignItems="center",e.style.padding="12px 16px",e.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",e.style.background="var(--md-sys-color-surface-container-low)";let t=this.querySelector(".mu-example__title");if(t)t.style.fontWeight="500",t.style.fontSize="var(--md-sys-typescale-title-small-size)",t.style.color="var(--md-sys-color-on-surface)";let o=this.querySelector(".mu-example__actions");if(o)o.style.display="flex",o.style.gap="4px";this.querySelectorAll(".mu-example__btn").forEach((r)=>{r.style.background="transparent",r.style.border="none",r.style.cursor="pointer",r.style.padding="8px",r.style.borderRadius="50%",r.style.color="var(--md-sys-color-on-surface-variant)",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.transition="all 0.2s ease"});let s=this.querySelector(".mu-example__demo");if(s)s.style.padding="24px",s.style.display="flex",s.style.flexWrap="wrap",s.style.gap="16px",s.style.alignItems="center";let i=this.querySelector(".mu-example__code");if(i)i.style.background="var(--md-sys-color-surface-container-highest)",i.style.borderTop="1px solid var(--md-sys-color-outline-variant)";let a=this.querySelector("pre");if(a)a.style.margin="0",a.style.padding="16px",a.style.overflow="auto",a.style.maxHeight="300px",a.style.fontFamily="'Fira Code', monospace",a.style.fontSize="13px",a.style.color="var(--md-sys-color-on-surface)";let n=document.createElement("style");if(n.textContent=`
28
- .mu-example__btn:hover {
29
- background: var(--md-sys-color-surface-container-high) !important;
30
- color: var(--md-sys-color-primary) !important;
31
- }
32
- .mu-example__btn.active {
33
- background: var(--md-sys-color-primary-container) !important;
34
- color: var(--md-sys-color-on-primary-container) !important;
35
- }
36
- `,!document.querySelector("#mu-example-styles"))n.id="mu-example-styles",document.head.appendChild(n)}#s(){let l=this.querySelector('[data-action="code"]'),e=this.querySelector(".mu-example__code");if(l&&e)l.addEventListener("click",()=>{this.#e=!this.#e,e.style.display=this.#e?"block":"none",l.classList.toggle("active",this.#e)});let t=this.querySelector('[data-action="link"]');if(t)t.addEventListener("click",async()=>{let o=window.location.href;try{await navigator.clipboard.writeText(o),t.style.color="var(--md-sys-color-primary)",setTimeout(()=>{t.style.color=""},2000)}catch(s){console.error("Copy failed:",s)}})}}d("mu-example",y);
@@ -1,5 +0,0 @@
1
- import{b as o,c as t}from"./chunk-dev0aezr.js";var s={check:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",close:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",add:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",remove:"M19 13H5v-2h14z",edit:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75z",delete:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z",search:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",menu:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z",chevron_right:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",chevron_left:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",expand_more:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",expand_less:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",arrow_back:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z",arrow_forward:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",info:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z",warning:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z",error:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z",check_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",cancel:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z",success:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",settings:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",person:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",light_mode:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z",dark_mode:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z",visibility:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3",visibility_off:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z",download:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z",smart_button:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-7.5 11 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20zm2.5-5 .62-1.38L19 14l-1.38-.62L17 12l-.62 1.38L15 14l1.38.62L17 16zm-2.5 5 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20z",text_fields:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",check_box:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",toggle_on:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z",radio_button_checked:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",arrow_drop_down_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12-4-4h8l-4 4z",view_carousel:"M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z",grid_view:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",tab:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z",notifications:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",open_in_new:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z",hourglass_empty:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z",account_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z",fiber_manual_record:"M12 12m-8 0a8 8 0 1 0 16 0 8 8 0 1 0-16 0",label:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z",emoji_emotions:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z",business:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z",input:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z",category:"M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z",widgets:"M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z",smart_toy:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zM7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5zM16 17H8v-2h8v2zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13z",notification_important:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 6c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm1-15.06c1.77.52 3 2.14 3 4.06v5.5l1 1v.5H7v-.5l1-1V11c0-1.92 1.23-3.54 3-4.06V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v.94zM13 11h-2v6h2v-6zm0-4h-2v2h2V7z",folder_managed:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24.78 3.33z",shield:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z",apps:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",monitoring:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 12h2v5H7v-5zm4-3h2v8h-2V9zm4-3h2v11h-2V6z"},h={check:"check",close:"close",add:"add",remove:"remove",edit:"edit",delete:"delete",search:"search",menu:"menu",chevron_right:"chevron_right",chevron_left:"chevron_left",expand_more:"expand_more",expand_less:"expand_less",home:"home",arrow_back:"arrow_back",arrow_forward:"arrow_forward",info:"info",warning:"warning",error:"error",success:"check_circle",check_circle:"check_circle",cancel:"cancel",settings:"settings",person:"person",light_mode:"light_mode",dark_mode:"dark_mode",sun:"light_mode",moon:"dark_mode",user:"person",visibility:"visibility",visibility_off:"visibility_off",download:"download",smart_button:"smart_button",text_fields:"text_fields",check_box:"check_box",toggle_on:"toggle_on",radio_button_checked:"radio_button_checked",arrow_drop_down_circle:"arrow_drop_down_circle",view_carousel:"view_carousel",grid_view:"grid_view",tab:"tab",notifications:"notifications",open_in_new:"open_in_new",hourglass_empty:"hourglass_empty",account_circle:"account_circle",fiber_manual_record:"fiber_manual_record",label:"label",emoji_emotions:"emoji_emotions",business:"business",input:"input",category:"category",widgets:"widgets",smart_toy:"smart_toy",notification_important:"notification_important",folder_managed:"folder_managed",shield:"shield",apps:"apps",monitoring:"monitoring",plus:"add",minus:"remove"};class z extends o{static baseClass="mu-icon";static cssFile="icon";static observedAttributes=["name","size","svg","filled","font"];render(){let c=this.attr("name","info"),e=this.attr("size","24"),l=this.has("font"),r=this.has("filled"),n=h[c]?c:c,i=s[c]||s[h[c]];if(!l&&i){this.innerHTML=`
2
- <svg width="${e}" height="${e}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
3
- <path d="${i}"></path>
4
- </svg>
5
- `;return}let m=h[c]||c;this.innerHTML=`<span class="material-symbols-outlined" aria-hidden="true">${m}</span>`;let v=this.querySelector("span");if(v){if(v.style.fontSize=`${e}px`,r)v.style.fontVariationSettings="'FILL' 1"}}update(c,e,l){this.render()}}var _=Object.keys(h),d=Object.keys(s);t("mu-icon",z);
@@ -1 +0,0 @@
1
- import{b as a,c as r}from"./chunk-15m2qcda.js";class l extends a{static baseClass="mu-tabs";static cssFile="tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.querySelector(".mu-tabs__list"),i=(e?Array.from(e.querySelectorAll("mu-tab")):Array.from(this.querySelectorAll("mu-tab"))).indexOf(s);if(i!==-1)this.setAttribute("active",i.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,i)=>{e.classList.toggle("is-active",i===t),e.setAttribute("aria-selected",i===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends a{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}r("mu-tabs",l);r("mu-tab",c);
@@ -1 +0,0 @@
1
- import{b as a,c as r}from"./chunk-0m4j19yd.js";class l extends a{static baseClass="mu-tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.querySelector(".mu-tabs__list"),i=(e?Array.from(e.querySelectorAll("mu-tab")):Array.from(this.querySelectorAll("mu-tab"))).indexOf(s);if(i!==-1)this.setAttribute("active",i.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,i)=>{e.classList.toggle("is-active",i===t),e.setAttribute("aria-selected",i===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends a{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}r("mu-tabs",l);r("mu-tab",c);
@@ -1,31 +0,0 @@
1
- import{b as l,c}from"./chunk-0m4j19yd.js";class i extends l{static baseClass="mu-code";static observedAttributes=["language"];#e=null;connectedCallback(){if(super.connectedCallback(),!this.#e&&!this.querySelector(".mu-code__content"))this.#e=this.textContent}render(){if(this.querySelector(".mu-code__content"))return;let t=this.attr("language","html"),e=this.#e||this.textContent,s=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),o=this.#t(s,t);this.innerHTML=`
2
- <div class="mu-code__header">
3
- <span class="mu-code__language">${t.toUpperCase()}</span>
4
- <button class="mu-code__copy" title="Copy code">
5
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
6
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
7
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
8
- </svg>
9
- </button>
10
- </div>
11
- <pre class="mu-code__pre"><code class="mu-code__content">${o}</code></pre>
12
- `,this.#s(),this.#o(e)}#t(t,e){if(e==="html")return t.replace(/(&lt;\/?)([\w-]+)/g,'$1<span class="mu-code__tag">$2</span>').replace(/(\s)([\w-]+)(=)/g,'$1<span class="mu-code__attr">$2</span>$3').replace(/(".*?")/g,'<span class="mu-code__string">$1</span>');if(e==="javascript"||e==="js")return t.replace(/\b(const|let|var|function|return|if|else|for|while|class|import|export|from|async|await)\b/g,'<span class="mu-code__keyword">$1</span>').replace(/('.*?'|".*?"|`.*?`)/g,'<span class="mu-code__string">$1</span>').replace(/(\/\/.*)/g,'<span class="mu-code__comment">$1</span>');return t}#s(){this.style.display="block",this.style.background="var(--md-sys-color-surface-container-highest)",this.style.borderRadius="var(--md-sys-shape-corner-medium)",this.style.overflow="hidden",this.style.fontFamily="'Fira Code', 'Consolas', monospace",this.style.fontSize="13px";let t=this.querySelector(".mu-code__header");if(t)t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="center",t.style.padding="8px 16px",t.style.background="var(--md-sys-color-surface-container)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)";let e=this.querySelector(".mu-code__language");if(e)e.style.fontSize="11px",e.style.fontWeight="600",e.style.color="var(--md-sys-color-primary)",e.style.letterSpacing="0.5px";let s=this.querySelector(".mu-code__copy");if(s)s.style.background="transparent",s.style.border="none",s.style.cursor="pointer",s.style.color="var(--md-sys-color-on-surface-variant)",s.style.padding="4px",s.style.borderRadius="4px",s.style.display="flex",s.style.transition="all 0.2s ease";let o=this.querySelector(".mu-code__pre");if(o)o.style.margin="0",o.style.padding="16px",o.style.overflow="auto",o.style.maxHeight="400px";let a=this.querySelector(".mu-code__content");if(a)a.style.color="var(--md-sys-color-on-surface)";let r=document.createElement("style");if(r.textContent=`
13
- .mu-code__tag { color: var(--md-sys-color-primary); }
14
- .mu-code__attr { color: var(--md-sys-color-tertiary); }
15
- .mu-code__string { color: var(--md-sys-color-secondary); }
16
- .mu-code__keyword { color: var(--md-sys-color-primary); font-weight: 500; }
17
- .mu-code__comment { color: var(--md-sys-color-outline); font-style: italic; }
18
- .mu-code__copy:hover {
19
- background: var(--md-sys-color-surface-container-high);
20
- color: var(--md-sys-color-primary);
21
- }
22
- `,!document.querySelector("#mu-code-styles"))r.id="mu-code-styles",document.head.appendChild(r)}#o(t){let e=this.querySelector(".mu-code__copy");if(e)e.addEventListener("click",async()=>{try{await navigator.clipboard.writeText(t.trim()),e.innerHTML=`
23
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="var(--md-sys-color-primary)" stroke-width="2">
24
- <polyline points="20 6 9 17 4 12"/>
25
- </svg>
26
- `,setTimeout(()=>{e.innerHTML=`
27
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
28
- <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
29
- <path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
30
- </svg>
31
- `},2000)}catch(s){console.error("Copy failed:",s)}})}}c("mu-code",i);