atomicuilibrary 0.1.0 → 0.1.3

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 (618) hide show
  1. package/dist/cjs/category-section.cjs.entry.js +2 -2
  2. package/dist/cjs/dom-BvBb0kmW.js +267 -0
  3. package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
  4. package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
  5. package/dist/cjs/layout-manager.cjs.entry.js +3 -3
  6. package/dist/cjs/library-card.cjs.entry.js +2 -2
  7. package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
  8. package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/my-component.cjs.entry.js +1 -1
  11. package/dist/cjs/my-step.cjs.entry.js +2 -2
  12. package/dist/cjs/nav-bar.cjs.entry.js +4 -4
  13. package/dist/cjs/smart-step.cjs.entry.js +3 -3
  14. package/dist/cjs/timeline-item.cjs.entry.js +2 -2
  15. package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
  16. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
  17. package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
  18. package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
  19. package/dist/cjs/ui-aside-panel.cjs.entry.js +10 -11
  20. package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
  21. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
  22. package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-callout-banner.cjs.entry.js +2 -2
  24. package/dist/cjs/ui-card.cjs.entry.js +4 -3
  25. package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
  26. package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
  27. package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
  28. package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
  29. package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
  30. package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-dialog-box.cjs.entry.js +85 -11
  32. package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
  33. package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
  34. package/dist/cjs/ui-divider.cjs.entry.js +1 -1
  35. package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
  36. package/dist/cjs/ui-dock.cjs.entry.js +2 -2
  37. package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
  38. package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
  39. package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
  40. package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
  43. package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
  44. package/dist/cjs/ui-knob.cjs.entry.js +1 -1
  45. package/dist/cjs/ui-label.cjs.entry.js +473 -0
  46. package/dist/cjs/ui-library.cjs.entry.js +2 -2
  47. package/dist/cjs/ui-list-group_2.cjs.entry.js +349 -60
  48. package/dist/cjs/ui-list.cjs.entry.js +76 -42
  49. package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
  50. package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
  51. package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
  52. package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
  53. package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
  54. package/dist/cjs/{ui-pagination_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
  55. package/dist/cjs/ui-panel.cjs.entry.js +1 -1
  56. package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
  57. package/dist/cjs/ui-progress.cjs.entry.js +66 -9
  58. package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
  59. package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
  60. package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
  61. package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
  62. package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
  63. package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
  64. package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
  65. package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
  66. package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
  67. package/dist/cjs/ui-step.cjs.entry.js +2 -2
  68. package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
  69. package/dist/cjs/ui-switch.cjs.entry.js +14 -13
  70. package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
  71. package/dist/cjs/ui-tag.cjs.entry.js +58 -13
  72. package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
  73. package/dist/cjs/ui-timer.cjs.entry.js +2 -2
  74. package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
  75. package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
  76. package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
  78. package/dist/cjs/ui-tree.cjs.entry.js +30 -15
  79. package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
  80. package/dist/collection/assets/js/component-config.js +1 -0
  81. package/dist/collection/assets/js/demo-loader.js +2 -0
  82. package/dist/collection/assets/js/demos/about-demo.js +13 -13
  83. package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
  84. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
  85. package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
  86. package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
  87. package/dist/collection/assets/js/demos/aside-panel-demo.js +51 -51
  88. package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
  89. package/dist/collection/assets/js/demos/badge-demo.js +51 -52
  90. package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
  91. package/dist/collection/assets/js/demos/button-demo.js +117 -107
  92. package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
  93. package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
  94. package/dist/collection/assets/js/demos/card-demo.js +23 -22
  95. package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
  96. package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
  97. package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
  98. package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
  99. package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
  100. package/dist/collection/assets/js/demos/context-menu-demo.js +43 -43
  101. package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
  102. package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
  103. package/dist/collection/assets/js/demos/divider-demo.js +59 -62
  104. package/dist/collection/assets/js/demos/dock-demo.js +12 -12
  105. package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
  106. package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
  107. package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
  108. package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
  109. package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
  110. package/dist/collection/assets/js/demos/empty-state-demo.js +294 -78
  111. package/dist/collection/assets/js/demos/fab-demo.js +95 -11
  112. package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
  113. package/dist/collection/assets/js/demos/home-components.js +2 -2
  114. package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
  115. package/dist/collection/assets/js/demos/icon-demo.js +17 -17
  116. package/dist/collection/assets/js/demos/input-demo.js +147 -143
  117. package/dist/collection/assets/js/demos/knob-demo.js +29 -30
  118. package/dist/collection/assets/js/demos/label-demo.js +697 -0
  119. package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
  120. package/dist/collection/assets/js/demos/list-demo.js +185 -122
  121. package/dist/collection/assets/js/demos/loader-demo.js +48 -48
  122. package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
  123. package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
  124. package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
  125. package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
  126. package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
  127. package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
  128. package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
  129. package/dist/collection/assets/js/demos/panel-demo.js +18 -25
  130. package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
  131. package/dist/collection/assets/js/demos/popover-demo.js +240 -149
  132. package/dist/collection/assets/js/demos/progress-demo.js +170 -156
  133. package/dist/collection/assets/js/demos/radio-demo.js +73 -12
  134. package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
  135. package/dist/collection/assets/js/demos/rating-demo.js +19 -19
  136. package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
  137. package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
  138. package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
  139. package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
  140. package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
  141. package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
  142. package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
  143. package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
  144. package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
  145. package/dist/collection/assets/js/demos/splitter-demo.js +14 -14
  146. package/dist/collection/assets/js/demos/stack-demo.js +27 -27
  147. package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
  148. package/dist/collection/assets/js/demos/switch-demo.js +561 -125
  149. package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
  150. package/dist/collection/assets/js/demos/tag-demo.js +62 -62
  151. package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
  152. package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
  153. package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
  154. package/dist/collection/assets/js/demos/timer-demo.js +10 -10
  155. package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
  156. package/dist/collection/assets/js/demos/tooltip-demo.js +92 -90
  157. package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
  158. package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
  159. package/dist/collection/assets/js/demos/tree-demo.js +50 -66
  160. package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
  161. package/dist/collection/collection-manifest.json +1 -2
  162. package/dist/collection/components/accordion/accordion.css +275 -9
  163. package/dist/collection/components/accordion/accordion.js +7 -6
  164. package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
  165. package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
  166. package/dist/collection/components/anchor/anchor.css +1 -0
  167. package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
  168. package/dist/collection/components/aside-panel/aside-panel.css +2 -2
  169. package/dist/collection/components/aside-panel/aside-panel.js +10 -11
  170. package/dist/collection/components/avatar/avatar.css +6 -6
  171. package/dist/collection/components/avatar/avatar.js +63 -11
  172. package/dist/collection/components/badge/badge.css +27 -17
  173. package/dist/collection/components/badge/badge.js +6 -3
  174. package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
  175. package/dist/collection/components/button/button.css +1 -0
  176. package/dist/collection/components/button/button.js +3 -3
  177. package/dist/collection/components/button-toggle/button-toggle.js +2 -2
  178. package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
  179. package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
  180. package/dist/collection/components/callout-banner/callout-banner.css +75 -0
  181. package/dist/collection/components/callout-banner/callout-banner.js +1 -1
  182. package/dist/collection/components/card/card.css +221 -9
  183. package/dist/collection/components/card/card.js +3 -2
  184. package/dist/collection/components/checkbox/checkbox.js +3 -3
  185. package/dist/collection/components/code-editor/code-editor.js +1 -1
  186. package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
  187. package/dist/collection/components/color-picker/color-picker.css +110 -6
  188. package/dist/collection/components/color-picker/color-picker.js +302 -26
  189. package/dist/collection/components/context-menu/context-menu.css +9 -9
  190. package/dist/collection/components/dialog-box/dialog-box.js +116 -14
  191. package/dist/collection/components/dialog-header/dialog-header.js +1 -1
  192. package/dist/collection/components/dock/dock.css +116 -3
  193. package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
  194. package/dist/collection/components/drag-drop/drag-drop.js +1 -1
  195. package/dist/collection/components/dropdown/dropdown.css +101 -8
  196. package/dist/collection/components/dropdown/dropdown.js +94 -28
  197. package/dist/collection/components/empty-state/empty-state.js +1 -1
  198. package/dist/collection/components/fab/fab.css +87 -15
  199. package/dist/collection/components/fab/fab.js +3 -3
  200. package/dist/collection/components/fab-item/fab-item.js +1 -1
  201. package/dist/collection/components/file-upload/file-upload.css +1362 -31
  202. package/dist/collection/components/file-upload/file-upload.js +171 -50
  203. package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
  204. package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
  205. package/dist/collection/components/icon/icon.js +1 -1
  206. package/dist/collection/components/input/input.css +9 -0
  207. package/dist/collection/components/input/input.js +20 -9
  208. package/dist/collection/components/label/label.css +583 -0
  209. package/dist/collection/components/label/label.js +1669 -0
  210. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  211. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
  212. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
  213. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
  214. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
  215. package/dist/collection/components/library/category-section.js +1 -1
  216. package/dist/collection/components/library/library-card.js +1 -1
  217. package/dist/collection/components/library/library.js +1 -1
  218. package/dist/collection/components/list/list.css +46 -5
  219. package/dist/collection/components/list/list.js +76 -42
  220. package/dist/collection/components/list-group/list-group.css +0 -2
  221. package/dist/collection/components/list-group/list-group.js +11 -5
  222. package/dist/collection/components/list-item/list-item.css +403 -131
  223. package/dist/collection/components/list-item/list-item.js +345 -61
  224. package/dist/collection/components/loader/loader.css +1 -1
  225. package/dist/collection/components/loader/loader.js +2 -2
  226. package/dist/collection/components/meter-group/meter-group.css +5 -0
  227. package/dist/collection/components/meter-group/meter-group.js +3 -2
  228. package/dist/collection/components/my-step/my-step.js +1 -1
  229. package/dist/collection/components/nav-bar/nav-bar.css +4 -4
  230. package/dist/collection/components/nav-bar/nav-bar.js +6 -6
  231. package/dist/collection/components/number-input/number-input.js +6 -2
  232. package/dist/collection/components/otp-input/otp-input.css +10 -0
  233. package/dist/collection/components/otp-input/otp-input.js +3 -3
  234. package/dist/collection/components/pagination/pagination.js +1 -1
  235. package/dist/collection/components/pattern-input/pattern-input.css +0 -1
  236. package/dist/collection/components/pattern-input/pattern-input.js +44 -9
  237. package/dist/collection/components/popover/popover.css +35 -7
  238. package/dist/collection/components/popover/popover.js +64 -9
  239. package/dist/collection/components/progress/progress.css +176 -32
  240. package/dist/collection/components/progress/progress.js +66 -8
  241. package/dist/collection/components/radio/radio.css +2 -0
  242. package/dist/collection/components/radio/radio.js +2 -2
  243. package/dist/collection/components/range-slider/range-slider.css +284 -31
  244. package/dist/collection/components/range-slider/range-slider.js +5 -5
  245. package/dist/collection/components/rating/rating.css +151 -65
  246. package/dist/collection/components/rating/rating.js +31 -13
  247. package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
  248. package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
  249. package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
  250. package/dist/collection/components/smart-stepper/smart-step.js +2 -2
  251. package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
  252. package/dist/collection/components/speedometer/speedometer.css +26 -6
  253. package/dist/collection/components/speedometer/speedometer.js +26 -15
  254. package/dist/collection/components/stack/stack.js +2 -2
  255. package/dist/collection/components/step/step.js +1 -1
  256. package/dist/collection/components/stepper/stepper.js +1 -1
  257. package/dist/collection/components/switch/switch.css +367 -8
  258. package/dist/collection/components/switch/switch.js +13 -12
  259. package/dist/collection/components/tag/tag.css +38 -12
  260. package/dist/collection/components/tag/tag.js +58 -13
  261. package/dist/collection/components/tag-group/tag-group.css +0 -1
  262. package/dist/collection/components/tag-group/tag-group.js +3 -3
  263. package/dist/collection/components/timeline/timeline.css +380 -317
  264. package/dist/collection/components/timeline/timeline.js +8 -0
  265. package/dist/collection/components/timeline-item/timeline-item.js +1 -1
  266. package/dist/collection/components/timer/timer.js +1 -1
  267. package/dist/collection/components/toggle-group/toggle-group.css +7 -3
  268. package/dist/collection/components/toggle-group/toggle-group.js +7 -3
  269. package/dist/collection/components/toolbar/toolbar.js +1 -1
  270. package/dist/collection/components/tooltip/tooltip.js +4 -4
  271. package/dist/collection/components/top-bar/top-bar.js +2 -2
  272. package/dist/collection/components/transfer-list/transfer-list.css +13 -13
  273. package/dist/collection/components/transfer-list/transfer-list.js +4 -4
  274. package/dist/collection/components/tree/tree.css +35 -21
  275. package/dist/collection/components/tree/tree.js +28 -13
  276. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +34 -16
  277. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
  278. package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
  279. package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
  280. package/dist/collection/utils/dom.js +151 -151
  281. package/dist/components/avatar-group.js +1 -1
  282. package/dist/components/avatar.js +1 -1
  283. package/dist/components/badge.js +1 -1
  284. package/dist/components/button-toggle.js +1 -1
  285. package/dist/components/button.js +1 -0
  286. package/dist/components/category-section2.js +1 -1
  287. package/dist/components/checkbox.js +1 -1
  288. package/dist/components/context-menu.js +1 -1
  289. package/dist/components/dialog-header.js +1 -1
  290. package/dist/components/dom.js +1 -1
  291. package/dist/components/dropdown.js +1 -1
  292. package/dist/components/icon.js +2 -2
  293. package/dist/components/input.js +1 -1
  294. package/dist/components/layout-manager.js +1 -1
  295. package/dist/components/library-card2.js +1 -1
  296. package/dist/components/list-group.js +1 -1
  297. package/dist/components/list-item.js +1 -1
  298. package/dist/components/lm-container2.js +1 -1
  299. package/dist/components/lm-floating-window2.js +1 -1
  300. package/dist/components/lm-panel2.js +1 -1
  301. package/dist/components/lm-splitter2.js +1 -1
  302. package/dist/components/lm-tabs2.js +1 -1
  303. package/dist/components/loader.js +1 -1
  304. package/dist/components/my-step.js +1 -1
  305. package/dist/components/nav-bar.js +1 -1
  306. package/dist/components/pagination.js +1 -1
  307. package/dist/components/popover.js +1 -0
  308. package/dist/components/radio.js +1 -1
  309. package/dist/components/range-slider.js +1 -1
  310. package/dist/components/rating.js +1 -1
  311. package/dist/components/resizable-panel.js +1 -1
  312. package/dist/components/skeleton-loader.js +1 -1
  313. package/dist/components/smart-step.js +1 -1
  314. package/dist/components/stack.js +1 -1
  315. package/dist/components/switch.js +1 -1
  316. package/dist/components/tag-group.js +1 -1
  317. package/dist/components/tag.js +1 -1
  318. package/dist/components/timeline-item.js +1 -1
  319. package/dist/components/toggle-group.js +1 -1
  320. package/dist/components/tooltip.js +1 -1
  321. package/dist/components/ui-accordion.js +1 -1
  322. package/dist/components/ui-advanced-data-table.js +1 -1
  323. package/dist/components/ui-anchor.js +1 -1
  324. package/dist/components/ui-animate-on-scroll.js +1 -1
  325. package/dist/components/ui-aside-panel.js +1 -1
  326. package/dist/components/ui-badge.js +1 -1
  327. package/dist/components/ui-breadcrumb-item.js +1 -1
  328. package/dist/components/ui-breadcrumb.js +1 -1
  329. package/dist/components/ui-button-toggle-group.js +1 -1
  330. package/dist/components/ui-button.js +1 -1
  331. package/dist/components/ui-callout-banner.js +1 -1
  332. package/dist/components/ui-card.js +1 -1
  333. package/dist/components/ui-carousel.js +1 -1
  334. package/dist/components/ui-code-editor.js +1 -1
  335. package/dist/components/ui-code-preview.js +1 -1
  336. package/dist/components/ui-color-picker.js +1 -1
  337. package/dist/components/ui-command-palette.js +1 -1
  338. package/dist/components/ui-dialog-box.js +1 -1
  339. package/dist/components/ui-dock-host.js +1 -1
  340. package/dist/components/ui-dock.js +1 -1
  341. package/dist/components/ui-drag-drop.js +1 -1
  342. package/dist/components/ui-empty-state.js +1 -1
  343. package/dist/components/ui-fab-item.js +1 -1
  344. package/dist/components/ui-fab.js +1 -1
  345. package/dist/components/ui-file-upload.js +1 -1
  346. package/dist/components/ui-horizontal-nav.js +1 -1
  347. package/dist/components/ui-knob.js +1 -1
  348. package/dist/components/{ui-color-controller.d.ts → ui-label.d.ts} +4 -4
  349. package/dist/components/ui-label.js +1 -0
  350. package/dist/components/ui-library.js +1 -1
  351. package/dist/components/ui-list.js +1 -1
  352. package/dist/components/ui-masonry.js +1 -1
  353. package/dist/components/ui-meter-group.js +1 -1
  354. package/dist/components/ui-navigation-bar.js +1 -1
  355. package/dist/components/ui-navigation-item.js +1 -1
  356. package/dist/components/ui-number-input.js +1 -1
  357. package/dist/components/ui-otp-input.js +1 -1
  358. package/dist/components/ui-panel.js +1 -1
  359. package/dist/components/ui-pattern-input.js +1 -1
  360. package/dist/components/ui-popover.js +1 -1
  361. package/dist/components/ui-progress.js +1 -1
  362. package/dist/components/ui-scroll-top.js +1 -1
  363. package/dist/components/ui-smart-stepper.js +1 -1
  364. package/dist/components/ui-snackbar.js +1 -1
  365. package/dist/components/ui-speed-dial.js +1 -1
  366. package/dist/components/ui-speedometer.js +1 -1
  367. package/dist/components/ui-splitter.js +1 -1
  368. package/dist/components/ui-step.js +1 -1
  369. package/dist/components/ui-stepper.js +1 -1
  370. package/dist/components/ui-tabs.js +1 -1
  371. package/dist/components/ui-timeline.js +1 -1
  372. package/dist/components/ui-timer.js +1 -1
  373. package/dist/components/ui-toolbar.js +1 -1
  374. package/dist/components/ui-top-bar.js +1 -1
  375. package/dist/components/ui-transfer-list.js +1 -1
  376. package/dist/components/ui-tree.js +1 -1
  377. package/dist/components/ui-workspace-manager.js +1 -1
  378. package/dist/esm/category-section.entry.js +2 -2
  379. package/dist/esm/dom-DFBTWhGw.js +262 -0
  380. package/dist/esm/exploration-project-tailwind.js +3 -3
  381. package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
  382. package/dist/esm/layout-manager.entry.js +3 -3
  383. package/dist/esm/library-card.entry.js +2 -2
  384. package/dist/esm/lm-container_2.entry.js +2 -2
  385. package/dist/esm/lm-panel_3.entry.js +4 -4
  386. package/dist/esm/loader.js +3 -3
  387. package/dist/esm/my-component.entry.js +1 -1
  388. package/dist/esm/my-step.entry.js +2 -2
  389. package/dist/esm/nav-bar.entry.js +4 -4
  390. package/dist/esm/smart-step.entry.js +3 -3
  391. package/dist/esm/timeline-item.entry.js +2 -2
  392. package/dist/esm/ui-accordion_11.entry.js +132 -50
  393. package/dist/esm/ui-advanced-data-table.entry.js +2 -2
  394. package/dist/esm/ui-anchor.entry.js +2 -2
  395. package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
  396. package/dist/esm/ui-aside-panel.entry.js +10 -11
  397. package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
  398. package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
  399. package/dist/esm/ui-breadcrumb.entry.js +1 -1
  400. package/dist/esm/ui-callout-banner.entry.js +2 -2
  401. package/dist/esm/ui-card.entry.js +4 -3
  402. package/dist/esm/ui-carousel.entry.js +1 -1
  403. package/dist/esm/ui-checkbox.entry.js +3 -3
  404. package/dist/esm/ui-code-editor.entry.js +2 -2
  405. package/dist/esm/ui-code-preview.entry.js +2 -2
  406. package/dist/esm/ui-color-picker.entry.js +256 -22
  407. package/dist/esm/ui-command-palette.entry.js +1 -1
  408. package/dist/esm/ui-dialog-box.entry.js +85 -11
  409. package/dist/esm/ui-dialog-content.entry.js +1 -1
  410. package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
  411. package/dist/esm/ui-divider.entry.js +1 -1
  412. package/dist/esm/ui-dock-host.entry.js +4 -4
  413. package/dist/esm/ui-dock.entry.js +2 -2
  414. package/dist/esm/ui-drag-drop.entry.js +2 -2
  415. package/dist/esm/ui-dropdown_2.entry.js +104 -34
  416. package/dist/esm/ui-empty-state.entry.js +2 -2
  417. package/dist/esm/ui-fab-item.entry.js +2 -2
  418. package/dist/esm/ui-fab.entry.js +4 -4
  419. package/dist/esm/ui-file-upload.entry.js +143 -44
  420. package/dist/esm/ui-horizontal-nav.entry.js +2 -2
  421. package/dist/esm/ui-knob.entry.js +1 -1
  422. package/dist/esm/ui-label.entry.js +471 -0
  423. package/dist/esm/ui-library.entry.js +2 -2
  424. package/dist/esm/ui-list-group_2.entry.js +349 -60
  425. package/dist/esm/ui-list.entry.js +76 -42
  426. package/dist/esm/ui-masonry.entry.js +1 -1
  427. package/dist/esm/ui-meter-group.entry.js +5 -4
  428. package/dist/esm/ui-navigation-item.entry.js +5 -5
  429. package/dist/esm/ui-number-input.entry.js +7 -3
  430. package/dist/esm/ui-otp-input.entry.js +5 -5
  431. package/dist/esm/{ui-pagination_4.entry.js → ui-pagination_3.entry.js} +36 -506
  432. package/dist/esm/ui-panel.entry.js +1 -1
  433. package/dist/esm/ui-pattern-input.entry.js +46 -11
  434. package/dist/esm/ui-progress.entry.js +66 -9
  435. package/dist/esm/ui-range-slider.entry.js +2 -2
  436. package/dist/esm/ui-resizable-panel.entry.js +2 -2
  437. package/dist/esm/ui-scroll-top.entry.js +1 -1
  438. package/dist/esm/ui-smart-context-menu.entry.js +1 -1
  439. package/dist/esm/ui-smart-stepper.entry.js +2 -2
  440. package/dist/esm/ui-snackbar.entry.js +1 -1
  441. package/dist/esm/ui-speed-dial.entry.js +1 -1
  442. package/dist/esm/ui-speedometer.entry.js +28 -17
  443. package/dist/esm/ui-splitter.entry.js +1 -1
  444. package/dist/esm/ui-step.entry.js +2 -2
  445. package/dist/esm/ui-stepper.entry.js +1 -1
  446. package/dist/esm/ui-switch.entry.js +14 -13
  447. package/dist/esm/ui-tabs.entry.js +2 -2
  448. package/dist/esm/ui-tag.entry.js +58 -13
  449. package/dist/esm/ui-timeline.entry.js +10 -2
  450. package/dist/esm/ui-timer.entry.js +2 -2
  451. package/dist/esm/ui-toolbar.entry.js +2 -2
  452. package/dist/esm/ui-tooltip.entry.js +4 -4
  453. package/dist/esm/ui-top-bar.entry.js +1 -1
  454. package/dist/esm/ui-transfer-list.entry.js +6 -6
  455. package/dist/esm/ui-tree.entry.js +30 -15
  456. package/dist/esm/ui-workspace-manager.entry.js +2 -2
  457. package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
  458. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
  459. package/dist/exploration-project-tailwind/{p-7ba2258a.entry.js → p-024a299a.entry.js} +1 -1
  460. package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
  461. package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
  462. package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
  463. package/dist/exploration-project-tailwind/{p-036d2a44.entry.js → p-198c83e5.entry.js} +1 -1
  464. package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
  465. package/dist/exploration-project-tailwind/{p-81ebba11.entry.js → p-25530d0d.entry.js} +1 -1
  466. package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
  467. package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
  468. package/dist/exploration-project-tailwind/{p-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
  469. package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
  470. package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
  471. package/dist/exploration-project-tailwind/{p-20ecc116.entry.js → p-3012e780.entry.js} +1 -1
  472. package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
  473. package/dist/exploration-project-tailwind/{p-8b57fe4e.entry.js → p-3ab43638.entry.js} +1 -1
  474. package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
  475. package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
  476. package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
  477. package/dist/exploration-project-tailwind/{p-e22317c1.entry.js → p-3efb44c8.entry.js} +1 -1
  478. package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
  479. package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
  480. package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
  481. package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
  482. package/dist/exploration-project-tailwind/{p-4288c158.entry.js → p-46071679.entry.js} +1 -1
  483. package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
  484. package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
  485. package/dist/exploration-project-tailwind/{p-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
  486. package/dist/exploration-project-tailwind/{p-98e91da5.entry.js → p-5042ddaa.entry.js} +1 -1
  487. package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
  488. package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
  489. package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
  490. package/dist/exploration-project-tailwind/{p-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
  491. package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
  492. package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
  493. package/dist/exploration-project-tailwind/{p-c1c8ac28.entry.js → p-6f09503f.entry.js} +1 -1
  494. package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
  495. package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
  496. package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
  497. package/dist/exploration-project-tailwind/{p-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
  498. package/dist/exploration-project-tailwind/{p-d59da767.entry.js → p-864cebb7.entry.js} +1 -1
  499. package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
  500. package/dist/exploration-project-tailwind/{p-54965530.entry.js → p-97086868.entry.js} +1 -1
  501. package/dist/exploration-project-tailwind/{p-d114a347.entry.js → p-9c5ced88.entry.js} +1 -1
  502. package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
  503. package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
  504. package/dist/exploration-project-tailwind/{p-790556f0.entry.js → p-9e4c45f5.entry.js} +1 -1
  505. package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
  506. package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
  507. package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
  508. package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
  509. package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
  510. package/dist/exploration-project-tailwind/{p-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
  511. package/dist/exploration-project-tailwind/{p-05a436d3.entry.js → p-aef76052.entry.js} +1 -1
  512. package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
  513. package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
  514. package/dist/exploration-project-tailwind/{p-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
  515. package/dist/exploration-project-tailwind/{p-6b838549.entry.js → p-bd9a631f.entry.js} +1 -1
  516. package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
  517. package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
  518. package/dist/exploration-project-tailwind/{p-8578b616.entry.js → p-c4f3d990.entry.js} +1 -1
  519. package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
  520. package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
  521. package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
  522. package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
  523. package/dist/exploration-project-tailwind/p-cb6e38a6.entry.js +1 -0
  524. package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
  525. package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
  526. package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
  527. package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
  528. package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
  529. package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
  530. package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
  531. package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
  532. package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
  533. package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
  534. package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
  535. package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
  536. package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
  537. package/dist/types/components/avatar/avatar.d.ts +3 -0
  538. package/dist/types/components/avatar/types.d.ts +2 -0
  539. package/dist/types/components/badge/badge.d.ts +1 -0
  540. package/dist/types/components/color-picker/color-picker.d.ts +35 -2
  541. package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
  542. package/dist/types/components/dropdown/dropdown.d.ts +5 -0
  543. package/dist/types/components/file-upload/file-upload.d.ts +23 -6
  544. package/dist/types/components/label/label.d.ts +290 -0
  545. package/dist/types/components/label/types.d.ts +39 -0
  546. package/dist/types/components/list/list.d.ts +2 -1
  547. package/dist/types/components/list-group/list-group.d.ts +1 -0
  548. package/dist/types/components/list-item/list-item.d.ts +45 -17
  549. package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
  550. package/dist/types/components/popover/popover.d.ts +3 -0
  551. package/dist/types/components/progress/progress.d.ts +7 -0
  552. package/dist/types/components/range-slider/range-slider.d.ts +2 -2
  553. package/dist/types/components/rating/rating.d.ts +1 -0
  554. package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
  555. package/dist/types/components/speedometer/speedometer.d.ts +1 -0
  556. package/dist/types/components/tag/tag.d.ts +4 -0
  557. package/dist/types/components/tree/tree.d.ts +1 -0
  558. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
  559. package/dist/types/components.d.ts +742 -425
  560. package/dist/types/types/common.d.ts +2 -2
  561. package/dist/types/types/common.type.d.ts +2 -0
  562. package/dist/types/utils/dom.d.ts +4 -4
  563. package/package.json +4 -5
  564. package/dist/cjs/dom-oP1E4Rd3.js +0 -267
  565. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
  566. package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
  567. package/dist/cjs/ui-popover.cjs.entry.js +0 -517
  568. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
  569. package/dist/collection/components/color-controller/color-controller.css +0 -108
  570. package/dist/collection/components/color-controller/color-controller.js +0 -224
  571. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
  572. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
  573. package/dist/components/ui-color-controller.js +0 -1
  574. package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
  575. package/dist/components/ui-smart-location-dropdown.js +0 -1
  576. package/dist/esm/dom-BMFah5q3.js +0 -262
  577. package/dist/esm/ui-avatar-group_3.entry.js +0 -630
  578. package/dist/esm/ui-color-controller.entry.js +0 -148
  579. package/dist/esm/ui-popover.entry.js +0 -515
  580. package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
  581. package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
  582. package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
  583. package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
  584. package/dist/exploration-project-tailwind/p-16bdd162.entry.js +0 -1
  585. package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
  586. package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
  587. package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
  588. package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
  589. package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
  590. package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
  591. package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
  592. package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
  593. package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
  594. package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
  595. package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
  596. package/dist/exploration-project-tailwind/p-9bd14f69.entry.js +0 -1
  597. package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
  598. package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
  599. package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
  600. package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
  601. package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
  602. package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
  603. package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
  604. package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
  605. package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
  606. package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
  607. package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
  608. package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
  609. package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
  610. package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
  611. package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
  612. package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
  613. package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
  614. package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
  615. package/dist/types/components/color-controller/color-controller.d.ts +0 -24
  616. package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
  617. package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
  618. /package/dist/collection/components/{smart-location-dropdown → label}/types.js +0 -0
@@ -1,2 +1,2 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as n,Host as i,transformTag as o}from"@stencil/core/internal/client";import{d as r}from"./loader.js";const a={xxxs:"xxxs",xxs:"xxs",xs:"xs",sm:"sm",small:"sm",md:"md",medium:"md",lg:"lg",large:"lg",xl:"xl",xlarge:"xl","extra-large":"xl",extralarge:"xl",xxl:"xxl",xxxl:"xxxl",default:"md"};function s(t,e="md"){const n=String(t??e).trim();return n?a[n.toLowerCase()]??n:e}
2
- /*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */const{entries:l,setPrototypeOf:c,isFrozen:f,getPrototypeOf:u,getOwnPropertyDescriptor:m}=Object;let{freeze:p,seal:d,create:h}=Object,{apply:g,construct:y}="undefined"!=typeof Reflect&&Reflect;p||(p=function(t){return t}),d||(d=function(t){return t}),g||(g=function(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return t.apply(e,i)}),y||(y=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return new t(...n)});const b=P(Array.prototype.forEach),x=P(Array.prototype.lastIndexOf),w=P(Array.prototype.pop),v=P(Array.prototype.push),S=P(Array.prototype.splice),T=Array.isArray,k=P(String.prototype.toLowerCase),E=P(String.prototype.toString),A=P(String.prototype.match),_=P(String.prototype.replace),z=P(String.prototype.indexOf),R=P(String.prototype.trim),I=P(Number.prototype.toString),D=P(Boolean.prototype.toString),O="undefined"==typeof BigInt?null:P(BigInt.prototype.toString),j="undefined"==typeof Symbol?null:P(Symbol.prototype.toString),L=P(Object.prototype.hasOwnProperty),C=P(Object.prototype.toString),M=P(RegExp.prototype.test),N=(F=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return y(F,e)});var F;function P(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return g(t,e,i)}}function B(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;if(c&&c(t,null),!T(e))return t;let i=e.length;for(;i--;){let o=e[i];if("string"==typeof o){const t=n(o);t!==o&&(f(e)||(e[i]=t),o=t)}t[o]=!0}return t}function U(t){for(let e=0;e<t.length;e++)L(t,e)||(t[e]=null);return t}function $(t){const e=h(null);for(const[n,i]of l(t))L(t,n)&&(e[n]=T(i)?U(i):i&&"object"==typeof i&&i.constructor===Object?$(i):i);return e}function H(t,e){for(;null!==t;){const n=m(t,e);if(n){if(n.get)return P(n.get);if("function"==typeof n.value)return P(n.value)}t=u(t)}return function(){return null}}const W=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),G=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),q=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),X=p(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Y=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),K=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V=p(["#text"]),Z=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),J=p(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Q=p(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),tt=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),et=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nt=d(/<%[\w\W]*|[\w\W]*%>/gm),it=d(/\$\{[\w\W]*/gm),ot=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),rt=d(/^aria-[\-\w]+$/),at=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),st=d(/^(?:\w+script|data):/i),lt=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ct=d(/^html$/i),ft=d(/^[a-z][.\w]*(-[.\w]+)+$/i);var ut=Object.freeze({__proto__:null,ARIA_ATTR:rt,ATTR_WHITESPACE:lt,CUSTOM_ELEMENT:ft,DATA_ATTR:ot,DOCTYPE_NAME:ct,ERB_EXPR:nt,IS_ALLOWED_URI:at,IS_SCRIPT_OR_DATA:st,MUSTACHE_EXPR:et,TMPLIT_EXPR:it});const mt=function(){return"undefined"==typeof window?null:window};var pt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:mt();const n=e=>t(e);if(n.version="3.4.1",n.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return n.isSupported=!1,n;let{document:i}=e;const o=i,r=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:c,Element:f,NodeFilter:u,NamedNodeMap:m=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:g,trustedTypes:y}=e,F=f.prototype,P=H(F,"cloneNode"),U=H(F,"remove"),et=H(F,"nextSibling"),nt=H(F,"childNodes"),it=H(F,"parentNode");if("function"==typeof s){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let ot,rt="";const{implementation:st,createNodeIterator:lt,createDocumentFragment:ft,getElementsByTagName:pt}=i,{importNode:dt}=o;let ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof l&&"function"==typeof it&&st&&void 0!==st.createHTMLDocument;const{MUSTACHE_EXPR:gt,ERB_EXPR:yt,TMPLIT_EXPR:bt,DATA_ATTR:xt,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:vt,ATTR_WHITESPACE:St,CUSTOM_ELEMENT:Tt}=ut;let{IS_ALLOWED_URI:kt}=ut,Et=null;const At=B({},[...W,...G,...q,...Y,...V]);let _t=null;const zt=B({},[...Z,...J,...Q,...tt]);let Rt=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),It=null,Dt=null;const Ot=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let jt=!0,Lt=!0,Ct=!1,Mt=!0,Nt=!1,Ft=!0,Pt=!1,Bt=!1,Ut=!1,$t=!1,Ht=!1,Wt=!1,Gt=!0,qt=!1;const Xt="user-content-";let Yt=!0,Kt=!1,Vt={},Zt=null;const Jt=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Qt=null;const te=B({},["audio","video","img","source","image","track"]);let ee=null;const ne=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml";let ae=re,se=!1,le=null;const ce=B({},[ie,oe,re],E);let fe=B({},["mi","mo","mn","ms","mtext"]),ue=B({},["annotation-xml"]);const me=B({},["title","style","font","a","script"]);let pe=null;const de=["application/xhtml+xml","text/html"];let he=null,ge=null;const ye=i.createElement("form"),be=function(t){return t instanceof RegExp||t instanceof Function},xe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ge&&ge===t)return;t&&"object"==typeof t||(t={}),t=$(t),pe=-1===de.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===pe?E:k,Et=L(t,"ALLOWED_TAGS")&&T(t.ALLOWED_TAGS)?B({},t.ALLOWED_TAGS,he):At,_t=L(t,"ALLOWED_ATTR")&&T(t.ALLOWED_ATTR)?B({},t.ALLOWED_ATTR,he):zt,le=L(t,"ALLOWED_NAMESPACES")&&T(t.ALLOWED_NAMESPACES)?B({},t.ALLOWED_NAMESPACES,E):ce,ee=L(t,"ADD_URI_SAFE_ATTR")&&T(t.ADD_URI_SAFE_ATTR)?B($(ne),t.ADD_URI_SAFE_ATTR,he):ne,Qt=L(t,"ADD_DATA_URI_TAGS")&&T(t.ADD_DATA_URI_TAGS)?B($(te),t.ADD_DATA_URI_TAGS,he):te,Zt=L(t,"FORBID_CONTENTS")&&T(t.FORBID_CONTENTS)?B({},t.FORBID_CONTENTS,he):Jt,It=L(t,"FORBID_TAGS")&&T(t.FORBID_TAGS)?B({},t.FORBID_TAGS,he):$({}),Dt=L(t,"FORBID_ATTR")&&T(t.FORBID_ATTR)?B({},t.FORBID_ATTR,he):$({}),Vt=!!L(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?$(t.USE_PROFILES):t.USE_PROFILES),jt=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Ct=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Mt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Nt=t.SAFE_FOR_TEMPLATES||!1,Ft=!1!==t.SAFE_FOR_XML,Pt=t.WHOLE_DOCUMENT||!1,$t=t.RETURN_DOM||!1,Ht=t.RETURN_DOM_FRAGMENT||!1,Wt=t.RETURN_TRUSTED_TYPE||!1,Ut=t.FORCE_BODY||!1,Gt=!1!==t.SANITIZE_DOM,qt=t.SANITIZE_NAMED_PROPS||!1,Yt=!1!==t.KEEP_CONTENT,Kt=t.IN_PLACE||!1,kt=function(t){try{return M(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:at,ae="string"==typeof t.NAMESPACE?t.NAMESPACE:re,fe=L(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?$(t.MATHML_TEXT_INTEGRATION_POINTS):B({},["mi","mo","mn","ms","mtext"]),ue=L(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?$(t.HTML_INTEGRATION_POINTS):B({},["annotation-xml"]);const e=L(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?$(t.CUSTOM_ELEMENT_HANDLING):h(null);if(Rt=h(null),L(e,"tagNameCheck")&&be(e.tagNameCheck)&&(Rt.tagNameCheck=e.tagNameCheck),L(e,"attributeNameCheck")&&be(e.attributeNameCheck)&&(Rt.attributeNameCheck=e.attributeNameCheck),L(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(Rt.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),Nt&&(Lt=!1),Ht&&($t=!0),Vt&&(Et=B({},V),_t=h(null),!0===Vt.html&&(B(Et,W),B(_t,Z)),!0===Vt.svg&&(B(Et,G),B(_t,J),B(_t,tt)),!0===Vt.svgFilters&&(B(Et,q),B(_t,J),B(_t,tt)),!0===Vt.mathMl&&(B(Et,Y),B(_t,Q),B(_t,tt))),Ot.tagCheck=null,Ot.attributeCheck=null,L(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?Ot.tagCheck=t.ADD_TAGS:T(t.ADD_TAGS)&&(Et===At&&(Et=$(Et)),B(Et,t.ADD_TAGS,he))),L(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?Ot.attributeCheck=t.ADD_ATTR:T(t.ADD_ATTR)&&(_t===zt&&(_t=$(_t)),B(_t,t.ADD_ATTR,he))),L(t,"ADD_URI_SAFE_ATTR")&&T(t.ADD_URI_SAFE_ATTR)&&B(ee,t.ADD_URI_SAFE_ATTR,he),L(t,"FORBID_CONTENTS")&&T(t.FORBID_CONTENTS)&&(Zt===Jt&&(Zt=$(Zt)),B(Zt,t.FORBID_CONTENTS,he)),L(t,"ADD_FORBID_CONTENTS")&&T(t.ADD_FORBID_CONTENTS)&&(Zt===Jt&&(Zt=$(Zt)),B(Zt,t.ADD_FORBID_CONTENTS,he)),Yt&&(Et["#text"]=!0),Pt&&B(Et,["html","head","body"]),Et.table&&(B(Et,["tbody"]),delete It.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ot=t.TRUSTED_TYPES_POLICY,rt=ot.createHTML("")}else void 0===ot&&(ot=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(y,r)),null!==ot&&"string"==typeof rt&&(rt=ot.createHTML(""));p&&p(t),ge=t},we=B({},[...G,...q,...X]),ve=B({},[...Y,...K]),Se=function(t){v(n.removed,{element:t});try{it(t).removeChild(t)}catch(e){U(t)}},Te=function(t,e){try{v(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){v(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if($t||Ht)try{Se(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ke=function(t){let e=null,n=null;if(Ut)t="<remove></remove>"+t;else{const e=A(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===pe&&ae===re&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=ot?ot.createHTML(t):t;if(ae===re)try{e=(new g).parseFromString(o,pe)}catch(t){}if(!e||!e.documentElement){e=st.createDocument(ae,"template",null);try{e.documentElement.innerHTML=se?rt:o}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),ae===re?pt.call(e,Pt?"html":"body")[0]:Pt?e.documentElement:r},Ee=function(t){return lt.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ae=function(t){return t instanceof d&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof m)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},_e=function(t){return"function"==typeof c&&t instanceof c};function ze(t,e,i){b(t,(t=>{t.call(n,e,i,ge)}))}const Re=function(t){let e=null;if(ze(ht.beforeSanitizeElements,t,null),Ae(t))return Se(t),!0;const i=he(t.nodeName);if(ze(ht.uponSanitizeElement,t,{tagName:i,allowedTags:Et}),Ft&&t.hasChildNodes()&&!_e(t.firstElementChild)&&M(/<[/\w!]/g,t.innerHTML)&&M(/<[/\w!]/g,t.textContent))return Se(t),!0;if(Ft&&t.namespaceURI===re&&"style"===i&&_e(t.firstElementChild))return Se(t),!0;if(7===t.nodeType)return Se(t),!0;if(Ft&&8===t.nodeType&&M(/<[/\w]/g,t.data))return Se(t),!0;if(It[i]||!(Ot.tagCheck instanceof Function&&Ot.tagCheck(i))&&!Et[i]){if(!It[i]&&Oe(i)){if(Rt.tagNameCheck instanceof RegExp&&M(Rt.tagNameCheck,i))return!1;if(Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(i))return!1}if(Yt&&!Zt[i]){const e=it(t)||t.parentNode,n=nt(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i){const o=P(n[i],!0);e.insertBefore(o,et(t))}}return Se(t),!0}return t instanceof f&&!function(t){let e=it(t);e&&e.tagName||(e={namespaceURI:ae,tagName:"template"});const n=k(t.tagName),i=k(e.tagName);return!!le[t.namespaceURI]&&(t.namespaceURI===oe?e.namespaceURI===re?"svg"===n:e.namespaceURI===ie?"svg"===n&&("annotation-xml"===i||fe[i]):Boolean(we[n]):t.namespaceURI===ie?e.namespaceURI===re?"math"===n:e.namespaceURI===oe?"math"===n&&ue[i]:Boolean(ve[n]):t.namespaceURI===re?!(e.namespaceURI===oe&&!ue[i])&&!(e.namespaceURI===ie&&!fe[i])&&!ve[n]&&(me[n]||!we[n]):!("application/xhtml+xml"!==pe||!le[t.namespaceURI]))}(t)?(Se(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!M(/<\/no(script|embed|frames)/i,t.innerHTML)?(Nt&&3===t.nodeType&&(e=t.textContent,b([gt,yt,bt],(t=>{e=_(e,t," ")})),t.textContent!==e&&(v(n.removed,{element:t.cloneNode()}),t.textContent=e)),ze(ht.afterSanitizeElements,t,null),!1):(Se(t),!0)},Ie=function(t,e,n){if(Dt[e])return!1;if(Gt&&("id"===e||"name"===e)&&(n in i||n in ye))return!1;if(Lt&&!Dt[e]&&M(xt,e));else if(jt&&M(wt,e));else if(Ot.attributeCheck instanceof Function&&Ot.attributeCheck(e,t));else if(!_t[e]||Dt[e]){if(!(Oe(t)&&(Rt.tagNameCheck instanceof RegExp&&M(Rt.tagNameCheck,t)||Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(t))&&(Rt.attributeNameCheck instanceof RegExp&&M(Rt.attributeNameCheck,e)||Rt.attributeNameCheck instanceof Function&&Rt.attributeNameCheck(e,t))||"is"===e&&Rt.allowCustomizedBuiltInElements&&(Rt.tagNameCheck instanceof RegExp&&M(Rt.tagNameCheck,n)||Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(n))))return!1}else if(ee[e]);else if(M(kt,_(n,St,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==z(n,"data:")||!Qt[t])if(Ct&&!M(vt,_(n,St,"")));else if(n)return!1;return!0},De=B({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Oe=function(t){return!De[k(t)]&&M(Tt,t)},je=function(t){ze(ht.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Ae(t))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_t,forceKeepAttr:void 0};let o=e.length;for(;o--;){const r=e[o],{name:a,namespaceURI:s,value:l}=r,c=he(a),f=l;let u="value"===a?f:R(f);if(i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,ze(ht.uponSanitizeAttribute,t,i),u=i.attrValue,!qt||"id"!==c&&"name"!==c||0===z(u,Xt)||(Te(a,t),u=Xt+u),Ft&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){Te(a,t);continue}if("attributename"===c&&A(u,"href")){Te(a,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Te(a,t);continue}if(!Mt&&M(/\/>/i,u)){Te(a,t);continue}Nt&&b([gt,yt,bt],(t=>{u=_(u,t," ")}));const m=he(t.nodeName);if(Ie(m,c,u)){if(ot&&"object"==typeof y&&"function"==typeof y.getAttributeType)if(s);else switch(y.getAttributeType(m,c)){case"TrustedHTML":u=ot.createHTML(u);break;case"TrustedScriptURL":u=ot.createScriptURL(u)}if(u!==f)try{s?t.setAttributeNS(s,a,u):t.setAttribute(a,u),Ae(t)?Se(t):w(n.removed)}catch(e){Te(a,t)}}else Te(a,t)}ze(ht.afterSanitizeAttributes,t,null)},Le=function(t){let e=null;const n=Ee(t);for(ze(ht.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)ze(ht.uponSanitizeShadowNode,e,null),Re(e),je(e),e.content instanceof a&&Le(e.content);ze(ht.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,r=null,s=null,l=null;if(se=!t,se&&(t="\x3c!--\x3e"),"string"!=typeof t&&!_e(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return I(t);case"boolean":return D(t);case"bigint":return O?O(t):"0";case"symbol":return j?j(t):"Symbol()";case"undefined":default:return C(t);case"function":case"object":{if(null===t)return C(t);const e=t,n=H(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:C(t)}return C(t)}}}(t)))throw N("dirty is not a string, aborting");if(!n.isSupported)return t;if(Bt||xe(e),n.removed=[],"string"==typeof t&&(Kt=!1),Kt){const e=t.nodeName;if("string"==typeof e){const t=he(e);if(!Et[t]||It[t])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)i=ke("\x3c!----\x3e"),r=i.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?i=r:i.appendChild(r);else{if(!$t&&!Nt&&!Pt&&-1===t.indexOf("<"))return ot&&Wt?ot.createHTML(t):t;if(i=ke(t),!i)return $t?null:Wt?rt:""}i&&Ut&&Se(i.firstChild);const f=Ee(Kt?t:i);for(;s=f.nextNode();)Re(s),je(s),s.content instanceof a&&Le(s.content);if(Kt)return t;if($t){if(Nt){i.normalize();let t=i.innerHTML;b([gt,yt,bt],(e=>{t=_(t,e," ")})),i.innerHTML=t}if(Ht)for(l=ft.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(_t.shadowroot||_t.shadowrootmode)&&(l=dt.call(o,l,!0)),l}let u=Pt?i.outerHTML:i.innerHTML;return Pt&&Et["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&M(ct,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),Nt&&b([gt,yt,bt],(t=>{u=_(u,t," ")})),ot&&Wt?ot.createHTML(u):u},n.setConfig=function(){xe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Bt=!0},n.clearConfig=function(){ge=null,Bt=!1},n.isValidAttribute=function(t,e,n){ge||xe({});const i=he(t),o=he(e);return Ie(i,o,n)},n.addHook=function(t,e){"function"==typeof e&&v(ht[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=x(ht[t],e);return-1===n?void 0:S(ht[t],n,1)[0]}return w(ht[t])},n.removeHooks=function(t){ht[t]=[]},n.removeAllHooks=function(){ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();function dt(t){return t?pt.sanitize(t):""}const ht=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}name;library="default";src;size;fill;color;spin=!1;label;loading=!1;fetchedSvg="";isFetching=!1;get el(){return this}lucideContainer;static lucideLoadingPromise=null;static svgCache=new Map;handleIconChange(){this.initLucide(),this.loadRemoteSvg()}componentWillLoad(){this.loadRemoteSvg()}componentDidLoad(){this.initLucide(),this.ensureLibraryStyles()}componentDidUpdate(){this.initLucide(),this.ensureLibraryStyles()}async loadRemoteSvg(){const e=(this.library||"default").trim().toLowerCase(),n=(this.name||"").trim();if(!n||"iconoir"!==e&&"custom"!==e&&"default"!==e)return void(this.fetchedSvg="");let i="";if("iconoir"===e&&(i=`https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/icons/regular/${n.startsWith("iconoir-")?n.replace("iconoir-",""):n}.svg`),i)if(t.svgCache.has(i))this.fetchedSvg=t.svgCache.get(i);else{this.isFetching=!0;try{const e=await fetch(i);if(e.ok){const n=(await e.text()).replace(/width=".*?"/,'width="100%"').replace(/height=".*?"/,'height="100%"');t.svgCache.set(i,n),this.fetchedSvg=n}}catch(t){this.fetchedSvg=""}finally{this.isFetching=!1}}else this.fetchedSvg=""}async initLucide(){"lucide"===this.getEffectiveLibrary()&&this.lucideContainer&&(window.lucide||(t.lucideLoadingPromise||(t.lucideLoadingPromise=new Promise((t=>{let e=0;const n=()=>{window.lucide?t():e<100?(e++,setTimeout(n,100)):(console.warn("[ui-icon] Global Lucide load timeout after 10s. Icon library may be blocked or slow."),t())};n()}))),await t.lucideLoadingPromise),this.renderLucideIcon())}renderLucideIcon(){const t=window.lucide;if(!t||!this.lucideContainer)return;const e=(this.name||"").trim();if(!e)return;this.lucideContainer.innerHTML="";const n=e.replace(/(^\w|-\w)/g,(t=>t.replace(/-/,"").toUpperCase()));try{const i=t.icons?t.icons[n]:null;if(i&&"function"==typeof i.toSVG){const t=i.toSVG({width:"100%",height:"100%",stroke:"currentColor",fill:this.fill||"none","stroke-width":2});this.lucideContainer.innerHTML=dt(t)}else{const n=document.createElement("i");n.setAttribute("data-lucide",e),n.style.display="block",n.style.width="100%",n.style.height="100%",this.lucideContainer.appendChild(n),t.createIcons({icons:t.icons,root:this.lucideContainer,attrs:{width:"100%",height:"100%",stroke:"currentColor",fill:this.fill||"none","stroke-width":2}})}}catch(n){console.warn(`[ui-icon] Render failed for "${e}", trying fallback...`),"function"==typeof t.createIcons&&t.createIcons()}}isSvgPath(t){if("string"!=typeof t)return!1;const e=t.trim();return/^[mM]\s*[-+]?(?:\d*\.\d+|\d+)/.test(e)&&/[a-zA-Z]/.test(e.substring(1))}isUrl(t){return"string"==typeof t&&(t.startsWith("http")||t.startsWith("/")||t.startsWith("./")||t.startsWith("../")||t.includes(".svg")||t.includes(".png")||t.includes(".jpg"))}isEmoji(t){return"string"==typeof t&&/\p{Extended_Pictographic}/u.test(t)}getParsedSize(){if("number"==typeof this.size)return`${this.size}px`;if(!this.size)return"var(--size, 1em)";const t={xxxs:"0.75rem",xxs:"0.875rem",xs:"1rem",sm:"1.125rem",md:"1.25rem",lg:"1.375rem",xl:"1.5rem",xxl:"1.75rem",xxxl:"2rem"},e=this.size?.toString().trim()??"",n=s(e,e||"md").toLowerCase();return t[n]||e.includes("px")||e.includes("rem")||e.includes("em")?t[n]||e||"16px":/^\d+$/.test(e)?`${e}px`:`var(--size, ${e})`}getEffectiveLibrary(){let t=(this.library||"default").trim().toLowerCase();const e=(this.name||"").trim();return"default"===t?this.isUrl(e)||this.isSvgPath(e)?"custom":this.isEmoji(e)?"emoji":e.includes("fa-")||e.startsWith("fa ")?"fontawesome":e.startsWith("bi-")?"bootstrap":e.startsWith("ri-")?"remixicon":"lucide":t}ensureLibraryStyles(){const t={fontawesome:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css",icons8:"https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css",iconoir:"https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css",bootstrap:"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css",remixicon:"https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixicon.css",google:"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"}[this.getEffectiveLibrary()];if(!t||!this.el.shadowRoot)return;if(this.el.shadowRoot.querySelector(`link[href="${t}"]`))return;const e=document.createElement("link");e.rel="stylesheet",e.href=t,this.el.shadowRoot.appendChild(e)}render(){const t=this.getParsedSize(),e=this.getEffectiveLibrary();return n(i,{key:"b32e0ca5263061b4fc29bd78648d3f4906095d4b",style:{fontSize:t,width:t,height:t,color:this.color||"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},...this.label?{role:"img","aria-label":this.label}:{"aria-hidden":"true"}},n("div",{key:"a483ab48abea1360f97875d6e92c2a37324d34ec",class:"icon-container "+(this.spin?"fa-spin":"")},this.loading||this.isFetching?n("ui-loader",{size:"0.8em",color:"currentColor",type:"spinner"}):this.renderIconContent(e,t)))}renderIconContent(t,e){const i=(this.name||"").trim();if("custom"===t||this.isUrl(i)||this.isSvgPath(i)||this.src){if(this.src||this.isUrl(i))return n("img",{src:this.src||i,alt:"",style:{width:"100%",height:"100%",objectFit:"contain"}});if(this.isSvgPath(i))return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",style:{width:"100%",height:"100%"}},n("path",{d:i}))}if("fontawesome"===t){let t=i;return i.includes("fa-")||i.startsWith("fa ")?i.startsWith("fa-")&&!i.includes(" ")&&(t=`fa-solid ${i}`):t=`fa-solid fa-${i}`,n("i",{class:t,"aria-hidden":"true",style:{fontSize:"inherit",color:"inherit"}})}if("icons8"===t){const t=i.includes("la-")?i:`las la-${i}`;return n("i",{class:t,"aria-hidden":"true",style:{fontSize:"inherit",color:"inherit"}})}if("iconoir"===t){if(this.fetchedSvg)return n("div",{class:"svg-container",style:{width:"100%",height:"100%"},innerHTML:dt(this.fetchedSvg)});const t=i.startsWith("iconoir-")?i:`iconoir-${i}`;return n("i",{class:t,style:{fontSize:"inherit",color:"inherit"}})}if("ionicons"===t)return n("ion-icon",{name:this.name,style:{fontSize:e,color:this.color||"inherit"}});if("lucide"===t)return n("div",{class:"lucide-wrapper",style:{width:"100%",height:"100%"},ref:t=>this.lucideContainer=t});if("bootstrap"===t){const t=i.startsWith("bi-")?i:`bi-${i}`;return n("i",{class:`bi ${t}`,style:{fontSize:"inherit",color:"inherit"}})}if("google"===t)return n("span",{class:"material-symbols-outlined",style:{fontSize:"inherit",color:"inherit"}},this.name);if("remixicon"===t){const t=i.startsWith("ri-")?i:`ri-${i}`;return n("i",{class:t,style:{fontSize:"inherit",color:"inherit"}})}return"emoji"===t?n("span",{class:"emoji-icon","aria-hidden":"true",style:{fontSize:"inherit",lineHeight:"1",fontStyle:"normal",userSelect:"none"}},this.name):i}static get watchers(){return{name:[{handleIconChange:0}],library:[{handleIconChange:0}]}}static get style(){return'.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:inline-flex;align-items:center;justify-content:center;overflow:visible;line-height:1;vertical-align:middle;color:inherit;}.material-symbols-outlined{font-family:"Material Symbols Outlined" !important;font-weight:normal;font-style:normal;font-size:1em;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.icon-container{display:flex;align-items:center;justify-content:center;line-height:1;user-select:none;width:100%;height:100%}.icon-container svg,.icon-container .lucide-wrapper svg{display:block;width:100%;height:100%}.icon-container img{display:block;width:100%;height:100%;object-fit:contain}.icon-container i{font-size:inherit;color:inherit;line-height:1;display:flex;align-items:center;justify-content:center;width:1em;height:1em}.emoji-icon{font-family:"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;font-style:normal;font-size:inherit;line-height:1;color:unset;display:inline-flex;align-items:center;justify-content:center;user-select:none}.fa-spin{animation:fa-spin 2s infinite linear}@keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}'}},[513,"ui-icon",{name:[1],library:[1],src:[1],size:[8],fill:[1],color:[1],spin:[4],label:[1],loading:[4],fetchedSvg:[32],isFetching:[32]},void 0,{name:[{handleIconChange:0}],library:[{handleIconChange:0}]}]);function gt(){"undefined"!=typeof customElements&&["ui-icon","ui-loader"].forEach((t=>{switch(t){case"ui-icon":customElements.get(o(t))||customElements.define(o(t),ht);break;case"ui-loader":customElements.get(o(t))||r()}}))}export{ht as I,gt as d,s as n,dt as s}
1
+ import{proxyCustomElement as t,HTMLElement as e,h as n,Host as i,transformTag as o}from"@stencil/core/internal/client";import{d as r}from"./loader.js";
2
+ /*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */const{entries:a,setPrototypeOf:s,isFrozen:l,getPrototypeOf:c,getOwnPropertyDescriptor:f}=Object;let{freeze:u,seal:m,create:p}=Object,{apply:d,construct:h}="undefined"!=typeof Reflect&&Reflect;u||(u=function(t){return t}),m||(m=function(t){return t}),d||(d=function(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return t.apply(e,i)}),h||(h=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return new t(...n)});const g=N(Array.prototype.forEach),y=N(Array.prototype.lastIndexOf),b=N(Array.prototype.pop),x=N(Array.prototype.push),w=N(Array.prototype.splice),v=Array.isArray,S=N(String.prototype.toLowerCase),T=N(String.prototype.toString),k=N(String.prototype.match),E=N(String.prototype.replace),A=N(String.prototype.indexOf),_=N(String.prototype.trim),z=N(Number.prototype.toString),R=N(Boolean.prototype.toString),I="undefined"==typeof BigInt?null:N(BigInt.prototype.toString),D="undefined"==typeof Symbol?null:N(Symbol.prototype.toString),O=N(Object.prototype.hasOwnProperty),j=N(Object.prototype.toString),L=N(RegExp.prototype.test),C=(M=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return h(M,e)});var M;function N(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return d(t,e,i)}}function F(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;if(s&&s(t,null),!v(e))return t;let i=e.length;for(;i--;){let o=e[i];if("string"==typeof o){const t=n(o);t!==o&&(l(e)||(e[i]=t),o=t)}t[o]=!0}return t}function P(t){for(let e=0;e<t.length;e++)O(t,e)||(t[e]=null);return t}function B(t){const e=p(null);for(const[n,i]of a(t))O(t,n)&&(e[n]=v(i)?P(i):i&&"object"==typeof i&&i.constructor===Object?B(i):i);return e}function U(t,e){for(;null!==t;){const n=f(t,e);if(n){if(n.get)return N(n.get);if("function"==typeof n.value)return N(n.value)}t=c(t)}return function(){return null}}const $=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),H=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),q=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),X=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Y=u(["#text"]),K=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),V=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Z=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),J=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Q=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tt=m(/<%[\w\W]*|[\w\W]*%>/gm),et=m(/\$\{[\w\W]*/gm),nt=m(/^data-[\-\w.\u00B7-\uFFFF]+$/),it=m(/^aria-[\-\w]+$/),ot=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rt=m(/^(?:\w+script|data):/i),at=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),st=m(/^html$/i),lt=m(/^[a-z][.\w]*(-[.\w]+)+$/i);var ct=Object.freeze({__proto__:null,ARIA_ATTR:it,ATTR_WHITESPACE:at,CUSTOM_ELEMENT:lt,DATA_ATTR:nt,DOCTYPE_NAME:st,ERB_EXPR:tt,IS_ALLOWED_URI:ot,IS_SCRIPT_OR_DATA:rt,MUSTACHE_EXPR:Q,TMPLIT_EXPR:et});const ft=function(){return"undefined"==typeof window?null:window};var ut=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ft();const n=e=>t(e);if(n.version="3.4.1",n.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return n.isSupported=!1,n;let{document:i}=e;const o=i,r=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:l,Node:c,Element:f,NodeFilter:m,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:h,DOMParser:M,trustedTypes:N}=e,P=f.prototype,Q=U(P,"cloneNode"),tt=U(P,"remove"),et=U(P,"nextSibling"),nt=U(P,"childNodes"),it=U(P,"parentNode");if("function"==typeof l){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let rt,at="";const{implementation:lt,createNodeIterator:ut,createDocumentFragment:mt,getElementsByTagName:pt}=i,{importNode:dt}=o;let ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof a&&"function"==typeof it&&lt&&void 0!==lt.createHTMLDocument;const{MUSTACHE_EXPR:gt,ERB_EXPR:yt,TMPLIT_EXPR:bt,DATA_ATTR:xt,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:vt,ATTR_WHITESPACE:St,CUSTOM_ELEMENT:Tt}=ct;let{IS_ALLOWED_URI:kt}=ct,Et=null;const At=F({},[...$,...H,...W,...q,...Y]);let _t=null;const zt=F({},[...K,...V,...Z,...J]);let Rt=Object.seal(p(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),It=null,Dt=null;const Ot=Object.seal(p(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let jt=!0,Lt=!0,Ct=!1,Mt=!0,Nt=!1,Ft=!0,Pt=!1,Bt=!1,Ut=!1,$t=!1,Ht=!1,Wt=!1,Gt=!0,qt=!1;const Xt="user-content-";let Yt=!0,Kt=!1,Vt={},Zt=null;const Jt=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Qt=null;const te=F({},["audio","video","img","source","image","track"]);let ee=null;const ne=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml";let ae=re,se=!1,le=null;const ce=F({},[ie,oe,re],T);let fe=F({},["mi","mo","mn","ms","mtext"]),ue=F({},["annotation-xml"]);const me=F({},["title","style","font","a","script"]);let pe=null;const de=["application/xhtml+xml","text/html"];let he=null,ge=null;const ye=i.createElement("form"),be=function(t){return t instanceof RegExp||t instanceof Function},xe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ge&&ge===t)return;t&&"object"==typeof t||(t={}),t=B(t),pe=-1===de.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===pe?T:S,Et=O(t,"ALLOWED_TAGS")&&v(t.ALLOWED_TAGS)?F({},t.ALLOWED_TAGS,he):At,_t=O(t,"ALLOWED_ATTR")&&v(t.ALLOWED_ATTR)?F({},t.ALLOWED_ATTR,he):zt,le=O(t,"ALLOWED_NAMESPACES")&&v(t.ALLOWED_NAMESPACES)?F({},t.ALLOWED_NAMESPACES,T):ce,ee=O(t,"ADD_URI_SAFE_ATTR")&&v(t.ADD_URI_SAFE_ATTR)?F(B(ne),t.ADD_URI_SAFE_ATTR,he):ne,Qt=O(t,"ADD_DATA_URI_TAGS")&&v(t.ADD_DATA_URI_TAGS)?F(B(te),t.ADD_DATA_URI_TAGS,he):te,Zt=O(t,"FORBID_CONTENTS")&&v(t.FORBID_CONTENTS)?F({},t.FORBID_CONTENTS,he):Jt,It=O(t,"FORBID_TAGS")&&v(t.FORBID_TAGS)?F({},t.FORBID_TAGS,he):B({}),Dt=O(t,"FORBID_ATTR")&&v(t.FORBID_ATTR)?F({},t.FORBID_ATTR,he):B({}),Vt=!!O(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?B(t.USE_PROFILES):t.USE_PROFILES),jt=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Ct=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Mt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Nt=t.SAFE_FOR_TEMPLATES||!1,Ft=!1!==t.SAFE_FOR_XML,Pt=t.WHOLE_DOCUMENT||!1,$t=t.RETURN_DOM||!1,Ht=t.RETURN_DOM_FRAGMENT||!1,Wt=t.RETURN_TRUSTED_TYPE||!1,Ut=t.FORCE_BODY||!1,Gt=!1!==t.SANITIZE_DOM,qt=t.SANITIZE_NAMED_PROPS||!1,Yt=!1!==t.KEEP_CONTENT,Kt=t.IN_PLACE||!1,kt=function(t){try{return L(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:ot,ae="string"==typeof t.NAMESPACE?t.NAMESPACE:re,fe=O(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?B(t.MATHML_TEXT_INTEGRATION_POINTS):F({},["mi","mo","mn","ms","mtext"]),ue=O(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?B(t.HTML_INTEGRATION_POINTS):F({},["annotation-xml"]);const e=O(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?B(t.CUSTOM_ELEMENT_HANDLING):p(null);if(Rt=p(null),O(e,"tagNameCheck")&&be(e.tagNameCheck)&&(Rt.tagNameCheck=e.tagNameCheck),O(e,"attributeNameCheck")&&be(e.attributeNameCheck)&&(Rt.attributeNameCheck=e.attributeNameCheck),O(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(Rt.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),Nt&&(Lt=!1),Ht&&($t=!0),Vt&&(Et=F({},Y),_t=p(null),!0===Vt.html&&(F(Et,$),F(_t,K)),!0===Vt.svg&&(F(Et,H),F(_t,V),F(_t,J)),!0===Vt.svgFilters&&(F(Et,W),F(_t,V),F(_t,J)),!0===Vt.mathMl&&(F(Et,q),F(_t,Z),F(_t,J))),Ot.tagCheck=null,Ot.attributeCheck=null,O(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?Ot.tagCheck=t.ADD_TAGS:v(t.ADD_TAGS)&&(Et===At&&(Et=B(Et)),F(Et,t.ADD_TAGS,he))),O(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?Ot.attributeCheck=t.ADD_ATTR:v(t.ADD_ATTR)&&(_t===zt&&(_t=B(_t)),F(_t,t.ADD_ATTR,he))),O(t,"ADD_URI_SAFE_ATTR")&&v(t.ADD_URI_SAFE_ATTR)&&F(ee,t.ADD_URI_SAFE_ATTR,he),O(t,"FORBID_CONTENTS")&&v(t.FORBID_CONTENTS)&&(Zt===Jt&&(Zt=B(Zt)),F(Zt,t.FORBID_CONTENTS,he)),O(t,"ADD_FORBID_CONTENTS")&&v(t.ADD_FORBID_CONTENTS)&&(Zt===Jt&&(Zt=B(Zt)),F(Zt,t.ADD_FORBID_CONTENTS,he)),Yt&&(Et["#text"]=!0),Pt&&F(Et,["html","head","body"]),Et.table&&(F(Et,["tbody"]),delete It.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=t.TRUSTED_TYPES_POLICY,at=rt.createHTML("")}else void 0===rt&&(rt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,r)),null!==rt&&"string"==typeof at&&(at=rt.createHTML(""));u&&u(t),ge=t},we=F({},[...H,...W,...G]),ve=F({},[...q,...X]),Se=function(t){x(n.removed,{element:t});try{it(t).removeChild(t)}catch(e){tt(t)}},Te=function(t,e){try{x(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){x(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if($t||Ht)try{Se(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ke=function(t){let e=null,n=null;if(Ut)t="<remove></remove>"+t;else{const e=k(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===pe&&ae===re&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=rt?rt.createHTML(t):t;if(ae===re)try{e=(new M).parseFromString(o,pe)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ae,"template",null);try{e.documentElement.innerHTML=se?at:o}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),ae===re?pt.call(e,Pt?"html":"body")[0]:Pt?e.documentElement:r},Ee=function(t){return ut.call(t.ownerDocument||t,t,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},Ae=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},_e=function(t){return"function"==typeof c&&t instanceof c};function ze(t,e,i){g(t,(t=>{t.call(n,e,i,ge)}))}const Re=function(t){let e=null;if(ze(ht.beforeSanitizeElements,t,null),Ae(t))return Se(t),!0;const i=he(t.nodeName);if(ze(ht.uponSanitizeElement,t,{tagName:i,allowedTags:Et}),Ft&&t.hasChildNodes()&&!_e(t.firstElementChild)&&L(/<[/\w!]/g,t.innerHTML)&&L(/<[/\w!]/g,t.textContent))return Se(t),!0;if(Ft&&t.namespaceURI===re&&"style"===i&&_e(t.firstElementChild))return Se(t),!0;if(7===t.nodeType)return Se(t),!0;if(Ft&&8===t.nodeType&&L(/<[/\w]/g,t.data))return Se(t),!0;if(It[i]||!(Ot.tagCheck instanceof Function&&Ot.tagCheck(i))&&!Et[i]){if(!It[i]&&Oe(i)){if(Rt.tagNameCheck instanceof RegExp&&L(Rt.tagNameCheck,i))return!1;if(Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(i))return!1}if(Yt&&!Zt[i]){const e=it(t)||t.parentNode,n=nt(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i){const o=Q(n[i],!0);e.insertBefore(o,et(t))}}return Se(t),!0}return t instanceof f&&!function(t){let e=it(t);e&&e.tagName||(e={namespaceURI:ae,tagName:"template"});const n=S(t.tagName),i=S(e.tagName);return!!le[t.namespaceURI]&&(t.namespaceURI===oe?e.namespaceURI===re?"svg"===n:e.namespaceURI===ie?"svg"===n&&("annotation-xml"===i||fe[i]):Boolean(we[n]):t.namespaceURI===ie?e.namespaceURI===re?"math"===n:e.namespaceURI===oe?"math"===n&&ue[i]:Boolean(ve[n]):t.namespaceURI===re?!(e.namespaceURI===oe&&!ue[i])&&!(e.namespaceURI===ie&&!fe[i])&&!ve[n]&&(me[n]||!we[n]):!("application/xhtml+xml"!==pe||!le[t.namespaceURI]))}(t)?(Se(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!L(/<\/no(script|embed|frames)/i,t.innerHTML)?(Nt&&3===t.nodeType&&(e=t.textContent,g([gt,yt,bt],(t=>{e=E(e,t," ")})),t.textContent!==e&&(x(n.removed,{element:t.cloneNode()}),t.textContent=e)),ze(ht.afterSanitizeElements,t,null),!1):(Se(t),!0)},Ie=function(t,e,n){if(Dt[e])return!1;if(Gt&&("id"===e||"name"===e)&&(n in i||n in ye))return!1;if(Lt&&!Dt[e]&&L(xt,e));else if(jt&&L(wt,e));else if(Ot.attributeCheck instanceof Function&&Ot.attributeCheck(e,t));else if(!_t[e]||Dt[e]){if(!(Oe(t)&&(Rt.tagNameCheck instanceof RegExp&&L(Rt.tagNameCheck,t)||Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(t))&&(Rt.attributeNameCheck instanceof RegExp&&L(Rt.attributeNameCheck,e)||Rt.attributeNameCheck instanceof Function&&Rt.attributeNameCheck(e,t))||"is"===e&&Rt.allowCustomizedBuiltInElements&&(Rt.tagNameCheck instanceof RegExp&&L(Rt.tagNameCheck,n)||Rt.tagNameCheck instanceof Function&&Rt.tagNameCheck(n))))return!1}else if(ee[e]);else if(L(kt,E(n,St,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==A(n,"data:")||!Qt[t])if(Ct&&!L(vt,E(n,St,"")));else if(n)return!1;return!0},De=F({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Oe=function(t){return!De[S(t)]&&L(Tt,t)},je=function(t){ze(ht.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Ae(t))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_t,forceKeepAttr:void 0};let o=e.length;for(;o--;){const r=e[o],{name:a,namespaceURI:s,value:l}=r,c=he(a),f=l;let u="value"===a?f:_(f);if(i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,ze(ht.uponSanitizeAttribute,t,i),u=i.attrValue,!qt||"id"!==c&&"name"!==c||0===A(u,Xt)||(Te(a,t),u=Xt+u),Ft&&L(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){Te(a,t);continue}if("attributename"===c&&k(u,"href")){Te(a,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Te(a,t);continue}if(!Mt&&L(/\/>/i,u)){Te(a,t);continue}Nt&&g([gt,yt,bt],(t=>{u=E(u,t," ")}));const m=he(t.nodeName);if(Ie(m,c,u)){if(rt&&"object"==typeof N&&"function"==typeof N.getAttributeType)if(s);else switch(N.getAttributeType(m,c)){case"TrustedHTML":u=rt.createHTML(u);break;case"TrustedScriptURL":u=rt.createScriptURL(u)}if(u!==f)try{s?t.setAttributeNS(s,a,u):t.setAttribute(a,u),Ae(t)?Se(t):b(n.removed)}catch(e){Te(a,t)}}else Te(a,t)}ze(ht.afterSanitizeAttributes,t,null)},Le=function(t){let e=null;const n=Ee(t);for(ze(ht.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)ze(ht.uponSanitizeShadowNode,e,null),Re(e),je(e),e.content instanceof s&&Le(e.content);ze(ht.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,r=null,a=null,l=null;if(se=!t,se&&(t="\x3c!--\x3e"),"string"!=typeof t&&!_e(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return z(t);case"boolean":return R(t);case"bigint":return I?I(t):"0";case"symbol":return D?D(t):"Symbol()";case"undefined":default:return j(t);case"function":case"object":{if(null===t)return j(t);const e=t,n=U(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:j(t)}return j(t)}}}(t)))throw C("dirty is not a string, aborting");if(!n.isSupported)return t;if(Bt||xe(e),n.removed=[],"string"==typeof t&&(Kt=!1),Kt){const e=t.nodeName;if("string"==typeof e){const t=he(e);if(!Et[t]||It[t])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)i=ke("\x3c!----\x3e"),r=i.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?i=r:i.appendChild(r);else{if(!$t&&!Nt&&!Pt&&-1===t.indexOf("<"))return rt&&Wt?rt.createHTML(t):t;if(i=ke(t),!i)return $t?null:Wt?at:""}i&&Ut&&Se(i.firstChild);const f=Ee(Kt?t:i);for(;a=f.nextNode();)Re(a),je(a),a.content instanceof s&&Le(a.content);if(Kt)return t;if($t){if(Nt){i.normalize();let t=i.innerHTML;g([gt,yt,bt],(e=>{t=E(t,e," ")})),i.innerHTML=t}if(Ht)for(l=mt.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(_t.shadowroot||_t.shadowrootmode)&&(l=dt.call(o,l,!0)),l}let u=Pt?i.outerHTML:i.innerHTML;return Pt&&Et["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&L(st,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),Nt&&g([gt,yt,bt],(t=>{u=E(u,t," ")})),rt&&Wt?rt.createHTML(u):u},n.setConfig=function(){xe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Bt=!0},n.clearConfig=function(){ge=null,Bt=!1},n.isValidAttribute=function(t,e,n){ge||xe({});const i=he(t),o=he(e);return Ie(i,o,n)},n.addHook=function(t,e){"function"==typeof e&&x(ht[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=y(ht[t],e);return-1===n?void 0:w(ht[t],n,1)[0]}return b(ht[t])},n.removeHooks=function(t){ht[t]=[]},n.removeAllHooks=function(){ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();function mt(t){return t?ut.sanitize(t):""}const pt={xxxs:"xxxs",xxs:"xxs",xs:"xs",sm:"sm",small:"sm",md:"md",medium:"md",lg:"lg",large:"lg",xl:"xl",xlarge:"xl","extra-large":"xl",extralarge:"xl",xxl:"xxl",xxxl:"xxxl",default:"md"};function dt(t,e="md"){const n=String(t??e).trim();return n?pt[n.toLowerCase()]??n:e}const ht=t(class t extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}name;library="default";src;size;fill;color;spin=!1;label;loading=!1;fetchedSvg="";isFetching=!1;get el(){return this}lucideContainer;static lucideLoadingPromise=null;static svgCache=new Map;handleIconChange(){this.initLucide(),this.loadRemoteSvg()}componentWillLoad(){this.loadRemoteSvg()}componentDidLoad(){this.initLucide(),this.ensureLibraryStyles()}componentDidUpdate(){this.initLucide(),this.ensureLibraryStyles()}async loadRemoteSvg(){const e=(this.library||"default").trim().toLowerCase(),n=(this.name||"").trim();if(!n||"iconoir"!==e&&"custom"!==e&&"default"!==e)return void(this.fetchedSvg="");let i="";if("iconoir"===e&&(i=`https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/icons/regular/${n.startsWith("iconoir-")?n.replace("iconoir-",""):n}.svg`),i)if(t.svgCache.has(i))this.fetchedSvg=t.svgCache.get(i);else{this.isFetching=!0;try{const e=await fetch(i);if(e.ok){const n=(await e.text()).replace(/width=".*?"/,'width="100%"').replace(/height=".*?"/,'height="100%"');t.svgCache.set(i,n),this.fetchedSvg=n}}catch(t){this.fetchedSvg=""}finally{this.isFetching=!1}}else this.fetchedSvg=""}async initLucide(){"lucide"===this.getEffectiveLibrary()&&this.lucideContainer&&(window.lucide||(t.lucideLoadingPromise||(t.lucideLoadingPromise=new Promise((t=>{let e=0;const n=()=>{window.lucide?t():e<100?(e++,setTimeout(n,100)):(console.warn("[ui-icon] Global Lucide load timeout after 10s. Icon library may be blocked or slow."),t())};n()}))),await t.lucideLoadingPromise),this.renderLucideIcon())}renderLucideIcon(){const t=window.lucide;if(!t||!this.lucideContainer)return;const e=(this.name||"").trim();if(!e)return;this.lucideContainer.innerHTML="";const n=e.replace(/(^\w|-\w)/g,(t=>t.replace(/-/,"").toUpperCase()));try{const i=t.icons?t.icons[n]:null;if(i&&"function"==typeof i.toSVG){const t=i.toSVG({width:"100%",height:"100%",stroke:"currentColor",fill:this.fill||"none","stroke-width":2});this.lucideContainer.innerHTML=mt(t)}else{const n=document.createElement("i");n.setAttribute("data-lucide",e),n.style.display="block",n.style.width="100%",n.style.height="100%",this.lucideContainer.appendChild(n),t.createIcons({icons:t.icons,root:this.lucideContainer,attrs:{width:"100%",height:"100%",stroke:"currentColor",fill:this.fill||"none","stroke-width":2}})}}catch(n){console.warn(`[ui-icon] Render failed for "${e}", trying fallback...`),"function"==typeof t.createIcons&&t.createIcons()}}isSvgPath(t){if("string"!=typeof t)return!1;const e=t.trim();return/^[mM]\s*[-+]?(?:\d*\.\d+|\d+)/.test(e)&&/[a-zA-Z]/.test(e.substring(1))}isUrl(t){return"string"==typeof t&&(t.startsWith("http")||t.startsWith("/")||t.startsWith("./")||t.startsWith("../")||t.includes(".svg")||t.includes(".png")||t.includes(".jpg"))}isEmoji(t){return"string"==typeof t&&/\p{Extended_Pictographic}/u.test(t)}getParsedSize(){if("number"==typeof this.size)return`${this.size}px`;if(!this.size)return"var(--size, 1em)";const t={xxxs:"0.75rem",xxs:"0.875rem",xs:"1rem",sm:"1.125rem",md:"1.25rem",lg:"1.375rem",xl:"1.5rem",xxl:"1.75rem",xxxl:"2rem"},e=this.size?.toString().trim()??"",n=dt(e,e||"md").toLowerCase();return t[n]||e.includes("px")||e.includes("rem")||e.includes("em")?t[n]||e||"16px":/^\d+$/.test(e)?`${e}px`:`var(--size, ${e})`}getEffectiveLibrary(){let t=(this.library||"default").trim().toLowerCase();const e=(this.name||"").trim();return"default"===t?this.isUrl(e)||this.isSvgPath(e)?"custom":this.isEmoji(e)?"emoji":e.includes("fa-")||e.startsWith("fa ")?"fontawesome":e.startsWith("bi-")?"bootstrap":e.startsWith("ri-")?"remixicon":"lucide":t}ensureLibraryStyles(){const t={fontawesome:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css",icons8:"https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css",iconoir:"https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css",bootstrap:"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css",remixicon:"https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixicon.css",google:"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"}[this.getEffectiveLibrary()];if(!t||!this.el.shadowRoot)return;if(this.el.shadowRoot.querySelector(`link[href="${t}"]`))return;const e=document.createElement("link");e.rel="stylesheet",e.href=t,this.el.shadowRoot.appendChild(e)}render(){const t=this.getParsedSize(),e=this.getEffectiveLibrary();return n(i,{key:"11a1cf7893d75e1732568ebbb3df40176c06dda6",style:{fontSize:t,width:t,height:t,color:this.color||"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},...this.label?{role:"img","aria-label":this.label}:{"aria-hidden":"true"}},n("div",{key:"46e5027b067072e5b30ba7a18185e357bfddd072",class:"icon-container "+(this.spin?"fa-spin":"")},this.loading||this.isFetching?n("ui-loader",{size:"0.8em",color:"currentColor",type:"spinner"}):this.renderIconContent(e,t)))}renderIconContent(t,e){const i=(this.name||"").trim();if("custom"===t||this.isUrl(i)||this.isSvgPath(i)||this.src){if(this.src||this.isUrl(i))return n("img",{src:this.src||i,alt:"",style:{width:"100%",height:"100%",objectFit:"contain"}});if(this.isSvgPath(i))return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",style:{width:"100%",height:"100%"}},n("path",{d:i}))}if("fontawesome"===t){let t=i;return i.includes("fa-")||i.startsWith("fa ")?i.startsWith("fa-")&&!i.includes(" ")&&(t=`fa-solid ${i}`):t=`fa-solid fa-${i}`,n("i",{class:t,"aria-hidden":"true",style:{fontSize:"inherit",color:"inherit"}})}if("icons8"===t){const t=i.includes("la-")?i:`las la-${i}`;return n("i",{class:t,"aria-hidden":"true",style:{fontSize:"inherit",color:"inherit"}})}if("iconoir"===t){if(this.fetchedSvg)return n("div",{class:"svg-container",style:{width:"100%",height:"100%"},innerHTML:mt(this.fetchedSvg)});const t=i.startsWith("iconoir-")?i:`iconoir-${i}`;return n("i",{class:t,style:{fontSize:"inherit",color:"inherit"}})}if("ionicons"===t)return n("ion-icon",{name:this.name,style:{fontSize:e,color:this.color||"inherit"}});if("lucide"===t)return n("div",{class:"lucide-wrapper",style:{width:"100%",height:"100%"},ref:t=>this.lucideContainer=t});if("bootstrap"===t){const t=i.startsWith("bi-")?i:`bi-${i}`;return n("i",{class:`bi ${t}`,style:{fontSize:"inherit",color:"inherit"}})}if("google"===t)return n("span",{class:"material-symbols-outlined",style:{fontSize:"inherit",color:"inherit"}},this.name);if("remixicon"===t){const t=i.startsWith("ri-")?i:`ri-${i}`;return n("i",{class:t,style:{fontSize:"inherit",color:"inherit"}})}return"emoji"===t?n("span",{class:"emoji-icon","aria-hidden":"true",style:{fontSize:"inherit",lineHeight:"1",fontStyle:"normal",userSelect:"none"}},this.name):i}static get watchers(){return{name:[{handleIconChange:0}],library:[{handleIconChange:0}]}}static get style(){return'.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:inline-flex;align-items:center;justify-content:center;overflow:visible;line-height:1;vertical-align:middle;color:inherit;}.material-symbols-outlined{font-family:"Material Symbols Outlined" !important;font-weight:normal;font-style:normal;font-size:1em;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.icon-container{display:flex;align-items:center;justify-content:center;line-height:1;user-select:none;width:100%;height:100%}.icon-container svg,.icon-container .lucide-wrapper svg{display:block;width:100%;height:100%}.icon-container img{display:block;width:100%;height:100%;object-fit:contain}.icon-container i{font-size:inherit;color:inherit;line-height:1;display:flex;align-items:center;justify-content:center;width:1em;height:1em}.emoji-icon{font-family:"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;font-style:normal;font-size:inherit;line-height:1;color:unset;display:inline-flex;align-items:center;justify-content:center;user-select:none}.fa-spin{animation:fa-spin 2s infinite linear}@keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}'}},[513,"ui-icon",{name:[1],library:[1],src:[1],size:[8],fill:[1],color:[1],spin:[4],label:[1],loading:[4],fetchedSvg:[32],isFetching:[32]},void 0,{name:[{handleIconChange:0}],library:[{handleIconChange:0}]}]);function gt(){"undefined"!=typeof customElements&&["ui-icon","ui-loader"].forEach((t=>{switch(t){case"ui-icon":customElements.get(o(t))||customElements.define(o(t),ht);break;case"ui-loader":customElements.get(o(t))||r()}}))}export{ht as I,gt as d,dt as n,mt as s}