@umbraco-cms/backoffice 14.0.0-d87d656d → 14.0.0-d9a74398

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 (577) hide show
  1. package/README.md +12 -6
  2. package/dist-cms/apps/app/app.element.d.ts +0 -1
  3. package/dist-cms/apps/app/app.element.js +21 -1
  4. package/dist-cms/apps/backoffice/backoffice.context.d.ts +5 -1
  5. package/dist-cms/apps/backoffice/backoffice.context.js +13 -5
  6. package/dist-cms/apps/backoffice/backoffice.element.d.ts +0 -1
  7. package/dist-cms/apps/backoffice/backoffice.element.js +4 -5
  8. package/dist-cms/apps/backoffice/components/backoffice-header-sections.element.d.ts +0 -2
  9. package/dist-cms/apps/backoffice/components/backoffice-header-sections.element.js +6 -13
  10. package/dist-cms/apps/backoffice/components/backoffice-main.element.js +11 -9
  11. package/dist-cms/apps/backoffice/{extension.controller.js → extension-initializer.controller.js} +2 -0
  12. package/dist-cms/assets/lang/da-dk.d.ts +3 -0
  13. package/dist-cms/assets/lang/da-dk.js +2989 -0
  14. package/dist-cms/assets/lang/da-dk.ts +3246 -0
  15. package/dist-cms/assets/lang/en-us.d.ts +3 -0
  16. package/dist-cms/assets/lang/en-us.js +2966 -0
  17. package/dist-cms/assets/lang/en-us.ts +3219 -0
  18. package/dist-cms/css/uui-css.css +13 -5
  19. package/dist-cms/custom-elements.json +115 -68
  20. package/dist-cms/external/backend-api/index.js +1 -1
  21. package/dist-cms/external/lit/index.js +27 -27
  22. package/dist-cms/external/monaco-editor/{abap-7ad4f8f0.js → abap-b029dff1.js} +1 -1
  23. package/dist-cms/external/monaco-editor/{apex-30597c49.js → apex-039bfc5f.js} +1 -1
  24. package/dist-cms/external/monaco-editor/assets/{bundle-a4f90d1d.css → bundle-b9e43664.css} +25 -13
  25. package/dist-cms/external/monaco-editor/{azcli-67c34a04.js → azcli-f1f7c576.js} +1 -1
  26. package/dist-cms/external/monaco-editor/{bat-b8f4738b.js → bat-86aea46a.js} +1 -1
  27. package/dist-cms/external/monaco-editor/{bicep-b104b38b.js → bicep-75c0c4d5.js} +1 -1
  28. package/dist-cms/external/monaco-editor/{cameligo-001d1ded.js → cameligo-8043f913.js} +1 -1
  29. package/dist-cms/external/monaco-editor/{clojure-fa9652a1.js → clojure-73642b02.js} +1 -1
  30. package/dist-cms/external/monaco-editor/{coffee-b69a8315.js → coffee-a18badcf.js} +1 -1
  31. package/dist-cms/external/monaco-editor/{cpp-8053752f.js → cpp-4034161e.js} +1 -1
  32. package/dist-cms/external/monaco-editor/{csharp-886041a3.js → csharp-49cbf0d2.js} +1 -1
  33. package/dist-cms/external/monaco-editor/{csp-e846bce6.js → csp-d207cac4.js} +1 -1
  34. package/dist-cms/external/monaco-editor/{css-50032e5e.js → css-74326df0.js} +1 -1
  35. package/dist-cms/external/monaco-editor/{cssMode-c0406684.js → cssMode-57ec49ea.js} +2 -2
  36. package/dist-cms/external/monaco-editor/{cypher-6f93a845.js → cypher-49f5f839.js} +1 -1
  37. package/dist-cms/external/monaco-editor/{dart-14284236.js → dart-84b7c6b4.js} +1 -1
  38. package/dist-cms/external/monaco-editor/{dockerfile-e9935eb4.js → dockerfile-bbf114b2.js} +1 -1
  39. package/dist-cms/external/monaco-editor/{ecl-9c89f204.js → ecl-15840f49.js} +1 -1
  40. package/dist-cms/external/monaco-editor/{elixir-ca8bf661.js → elixir-e479e18e.js} +2 -2
  41. package/dist-cms/external/monaco-editor/{flow9-ac147227.js → flow9-42a61225.js} +1 -1
  42. package/dist-cms/external/monaco-editor/{freemarker2-793b7402.js → freemarker2-a72b9c0e.js} +2 -2
  43. package/dist-cms/external/monaco-editor/{fsharp-8eaad024.js → fsharp-8abe6da0.js} +1 -1
  44. package/dist-cms/external/monaco-editor/{go-05529e2e.js → go-8759e9f7.js} +1 -1
  45. package/dist-cms/external/monaco-editor/{graphql-8f5b3fdd.js → graphql-387d549c.js} +1 -1
  46. package/dist-cms/external/monaco-editor/{handlebars-aaa2fd96.js → handlebars-8fc61d07.js} +2 -2
  47. package/dist-cms/external/monaco-editor/{hcl-9e201a51.js → hcl-a88f331a.js} +1 -1
  48. package/dist-cms/external/monaco-editor/{html-1194c0aa.js → html-4320ed19.js} +2 -2
  49. package/dist-cms/external/monaco-editor/{htmlMode-36df69c6.js → htmlMode-95c2e58e.js} +2 -2
  50. package/dist-cms/external/monaco-editor/{index-7368f3e3.js → index-e4ee5993.js} +359 -354
  51. package/dist-cms/external/monaco-editor/index.js +1 -1
  52. package/dist-cms/external/monaco-editor/{ini-31a5619d.js → ini-18bf1153.js} +1 -1
  53. package/dist-cms/external/monaco-editor/{java-8c6e1ae8.js → java-000a6283.js} +1 -1
  54. package/dist-cms/external/monaco-editor/{javascript-86205709.js → javascript-13505434.js} +2 -2
  55. package/dist-cms/external/monaco-editor/{jsonMode-f663e935.js → jsonMode-1d541b8e.js} +2 -2
  56. package/dist-cms/external/monaco-editor/{julia-fbb2af47.js → julia-9a5df632.js} +1 -1
  57. package/dist-cms/external/monaco-editor/{kotlin-bfa96180.js → kotlin-06ee8898.js} +1 -1
  58. package/dist-cms/external/monaco-editor/{less-0b6a8ff1.js → less-dd86a68c.js} +1 -1
  59. package/dist-cms/external/monaco-editor/{lexon-585e5248.js → lexon-8d4b0444.js} +1 -1
  60. package/dist-cms/external/monaco-editor/{liquid-37adc07a.js → liquid-7aa20dd8.js} +2 -2
  61. package/dist-cms/external/monaco-editor/{lua-f6c17885.js → lua-9adddcd9.js} +1 -1
  62. package/dist-cms/external/monaco-editor/{m3-1b6456c5.js → m3-aa2dcf72.js} +1 -1
  63. package/dist-cms/external/monaco-editor/{markdown-7bc251f9.js → markdown-0f073a3a.js} +1 -1
  64. package/dist-cms/external/monaco-editor/mdx-8a1e4ae9.js +6 -0
  65. package/dist-cms/external/monaco-editor/{mips-2df76781.js → mips-bdd96c5a.js} +1 -1
  66. package/dist-cms/external/monaco-editor/{msdax-8c38e8b4.js → msdax-1ac55115.js} +1 -1
  67. package/dist-cms/external/monaco-editor/{mysql-abbb9ca3.js → mysql-b530c105.js} +1 -1
  68. package/dist-cms/external/monaco-editor/{objective-c-efbfd08b.js → objective-c-951ded7b.js} +1 -1
  69. package/dist-cms/external/monaco-editor/{pascal-08abee72.js → pascal-7442fd46.js} +1 -1
  70. package/dist-cms/external/monaco-editor/{pascaligo-200db0cf.js → pascaligo-385edc0e.js} +1 -1
  71. package/dist-cms/external/monaco-editor/{perl-079789ee.js → perl-d5fb326c.js} +1 -1
  72. package/dist-cms/external/monaco-editor/{pgsql-efd093d4.js → pgsql-2d7db25a.js} +1 -1
  73. package/dist-cms/external/monaco-editor/{php-75c530f2.js → php-1daff147.js} +1 -1
  74. package/dist-cms/external/monaco-editor/{pla-a55a2765.js → pla-1b3e1614.js} +1 -1
  75. package/dist-cms/external/monaco-editor/{postiats-6098f37b.js → postiats-9db13649.js} +1 -1
  76. package/dist-cms/external/monaco-editor/{powerquery-949bb7fe.js → powerquery-4c428232.js} +1 -1
  77. package/dist-cms/external/monaco-editor/{powershell-7e550b21.js → powershell-d3380668.js} +1 -1
  78. package/dist-cms/external/monaco-editor/{protobuf-25a4d695.js → protobuf-941cf3e8.js} +1 -1
  79. package/dist-cms/external/monaco-editor/{pug-f8c9f493.js → pug-cfe384ef.js} +1 -1
  80. package/dist-cms/external/monaco-editor/{python-78a47148.js → python-b84d078b.js} +2 -2
  81. package/dist-cms/external/monaco-editor/{qsharp-c4b94317.js → qsharp-e125d03f.js} +1 -1
  82. package/dist-cms/external/monaco-editor/{r-614353db.js → r-e0a01d4f.js} +1 -1
  83. package/dist-cms/external/monaco-editor/{razor-5de9ce12.js → razor-96e08c0a.js} +2 -2
  84. package/dist-cms/external/monaco-editor/{redis-fb089f4d.js → redis-d0a12fea.js} +1 -1
  85. package/dist-cms/external/monaco-editor/{redshift-a620fcb0.js → redshift-a163b94a.js} +1 -1
  86. package/dist-cms/external/monaco-editor/{restructuredtext-7ab09fcf.js → restructuredtext-5a906e1a.js} +1 -1
  87. package/dist-cms/external/monaco-editor/{ruby-922be722.js → ruby-05b021bf.js} +1 -1
  88. package/dist-cms/external/monaco-editor/{rust-23e08578.js → rust-3d80982c.js} +1 -1
  89. package/dist-cms/external/monaco-editor/{sb-ccceec0f.js → sb-2020a5af.js} +1 -1
  90. package/dist-cms/external/monaco-editor/{scala-0535664d.js → scala-54469b4b.js} +1 -1
  91. package/dist-cms/external/monaco-editor/{scheme-dba621eb.js → scheme-ff6e5671.js} +1 -1
  92. package/dist-cms/external/monaco-editor/{scss-28539a11.js → scss-77902feb.js} +1 -1
  93. package/dist-cms/external/monaco-editor/{shell-5b92a834.js → shell-3c06def6.js} +1 -1
  94. package/dist-cms/external/monaco-editor/{solidity-f63d6049.js → solidity-3d59d6a7.js} +1 -1
  95. package/dist-cms/external/monaco-editor/{sophia-12e9ad90.js → sophia-12eb7ba8.js} +1 -1
  96. package/dist-cms/external/monaco-editor/{sparql-dedb74aa.js → sparql-e42fb28a.js} +1 -1
  97. package/dist-cms/external/monaco-editor/{sql-975a69d7.js → sql-d30fd9fd.js} +1 -1
  98. package/dist-cms/external/monaco-editor/{st-1904ae33.js → st-ba2e774a.js} +2 -2
  99. package/dist-cms/external/monaco-editor/{swift-e180a143.js → swift-f0a706dd.js} +1 -1
  100. package/dist-cms/external/monaco-editor/{systemverilog-c5592fac.js → systemverilog-0cfd4211.js} +1 -1
  101. package/dist-cms/external/monaco-editor/{tcl-996f4ac7.js → tcl-7df3c0c5.js} +1 -1
  102. package/dist-cms/external/monaco-editor/{tsMode-f4618e87.js → tsMode-4e2b13b8.js} +2 -2
  103. package/dist-cms/external/monaco-editor/twig-f894aab2.js +6 -0
  104. package/dist-cms/external/monaco-editor/{typescript-efea739f.js → typescript-6571f86d.js} +2 -2
  105. package/dist-cms/external/monaco-editor/{vb-ad68fa9a.js → vb-39a025f4.js} +1 -1
  106. package/dist-cms/external/monaco-editor/{wgsl-5ee7b1ca.js → wgsl-ea93d538.js} +1 -1
  107. package/dist-cms/external/monaco-editor/{xml-12b9ace3.js → xml-265c28d1.js} +2 -2
  108. package/dist-cms/external/monaco-editor/{yaml-65e08cff.js → yaml-cbd1aab5.js} +2 -2
  109. package/dist-cms/external/rxjs/index.js +2 -2
  110. package/dist-cms/external/tinymce/index.js +22 -22
  111. package/dist-cms/external/uui/index.js +470 -292
  112. package/dist-cms/libs/class-api/class.mixin.js +1 -1
  113. package/dist-cms/libs/context-api/consume/context-consumer.controller.js +1 -3
  114. package/dist-cms/libs/context-api/consume/context-consumer.d.ts +0 -1
  115. package/dist-cms/libs/context-api/consume/context-consumer.js +36 -6
  116. package/dist-cms/libs/context-api/provide/context-provide.event.d.ts +21 -0
  117. package/dist-cms/libs/context-api/provide/context-provide.event.js +17 -0
  118. package/dist-cms/libs/context-api/provide/context-provider.controller.js +1 -1
  119. package/dist-cms/libs/context-api/provide/context-provider.d.ts +0 -6
  120. package/dist-cms/libs/context-api/provide/context-provider.js +18 -6
  121. package/dist-cms/libs/controller-api/controller-host-base.mixin.js +1 -0
  122. package/dist-cms/libs/controller-api/controller-host-element.mixin.d.ts +9 -3
  123. package/dist-cms/libs/element-api/element.mixin.d.ts +9 -2
  124. package/dist-cms/libs/element-api/element.mixin.js +6 -1
  125. package/dist-cms/libs/extension-api/condition/condition-controller-arguments.type.d.ts +7 -0
  126. package/dist-cms/libs/extension-api/condition/condition-controller-arguments.type.js +1 -0
  127. package/dist-cms/libs/extension-api/condition/extension-condition.interface.d.ts +6 -0
  128. package/dist-cms/libs/extension-api/condition/extension-condition.interface.js +1 -0
  129. package/dist-cms/libs/extension-api/condition/index.d.ts +2 -0
  130. package/dist-cms/libs/extension-api/condition/index.js +2 -0
  131. package/dist-cms/libs/extension-api/controller/base-extension-controller.d.ts +19 -0
  132. package/dist-cms/libs/extension-api/controller/base-extension-controller.js +178 -0
  133. package/dist-cms/libs/extension-api/controller/base-extensions-controller.d.ts +19 -0
  134. package/dist-cms/libs/extension-api/controller/base-extensions-controller.js +112 -0
  135. package/dist-cms/libs/extension-api/controller/extension-element-controller.d.ts +20 -0
  136. package/dist-cms/libs/extension-api/controller/extension-element-controller.js +82 -0
  137. package/dist-cms/libs/extension-api/controller/extension-manifest-controller.d.ts +9 -0
  138. package/dist-cms/libs/extension-api/controller/extension-manifest-controller.js +13 -0
  139. package/dist-cms/libs/extension-api/controller/extensions-element-controller.d.ts +13 -0
  140. package/dist-cms/libs/extension-api/controller/extensions-element-controller.js +29 -0
  141. package/dist-cms/libs/extension-api/controller/extensions-manifest-controller.d.ts +11 -0
  142. package/dist-cms/libs/extension-api/controller/extensions-manifest-controller.js +16 -0
  143. package/dist-cms/libs/extension-api/controller/index.d.ts +6 -0
  144. package/dist-cms/libs/extension-api/controller/index.js +6 -0
  145. package/dist-cms/libs/extension-api/index.d.ts +3 -1
  146. package/dist-cms/libs/extension-api/index.js +3 -1
  147. package/dist-cms/libs/extension-api/registry/extension.registry.d.ts +3 -0
  148. package/dist-cms/libs/extension-api/registry/extension.registry.js +82 -14
  149. package/dist-cms/libs/extension-api/types.d.ts +45 -8
  150. package/dist-cms/libs/localization-api/index.d.ts +3 -0
  151. package/dist-cms/libs/localization-api/index.js +3 -0
  152. package/dist-cms/libs/localization-api/localize.controller.d.ts +47 -0
  153. package/dist-cms/libs/localization-api/localize.controller.js +123 -0
  154. package/dist-cms/libs/localization-api/manager.d.ts +18 -0
  155. package/dist-cms/libs/localization-api/manager.js +40 -0
  156. package/dist-cms/libs/localization-api/types/translation.d.ts +3 -0
  157. package/dist-cms/libs/localization-api/types/translation.js +1 -0
  158. package/dist-cms/libs/observable-api/class-state.d.ts +2 -3
  159. package/dist-cms/libs/observable-api/observer.controller.d.ts +4 -3
  160. package/dist-cms/libs/observable-api/observer.controller.js +9 -2
  161. package/dist-cms/libs/observable-api/observer.d.ts +13 -2
  162. package/dist-cms/libs/observable-api/observer.js +32 -4
  163. package/dist-cms/mocks/data/data-type.data.js +1 -28
  164. package/dist-cms/mocks/data/document-type.data.js +2 -59
  165. package/dist-cms/mocks/data/log-viewer.data.d.ts +4 -4
  166. package/dist-cms/mocks/data/log-viewer.data.js +4 -4
  167. package/dist-cms/mocks/handlers/manifests.handlers.js +1 -1
  168. package/dist-cms/packages/core/components/entity-actions-bundle/entity-actions-bundle.element.js +1 -1
  169. package/dist-cms/packages/core/components/extension-slot/extension-slot.element.d.ts +38 -14
  170. package/dist-cms/packages/core/components/extension-slot/extension-slot.element.js +81 -71
  171. package/dist-cms/packages/core/components/property-type-based-property/property-type-based-property.element.js +2 -2
  172. package/dist-cms/packages/core/content-type/content-type-structure-manager.class.js +2 -2
  173. package/dist-cms/packages/core/entity-action/entity-action-list.element.d.ts +5 -5
  174. package/dist-cms/packages/core/entity-action/entity-action-list.element.js +17 -21
  175. package/dist-cms/packages/core/extension-registry/conditions/index.d.ts +1 -0
  176. package/dist-cms/packages/core/extension-registry/conditions/index.js +4 -0
  177. package/dist-cms/packages/core/extension-registry/conditions/manifests.d.ts +1 -0
  178. package/dist-cms/packages/core/extension-registry/conditions/manifests.js +3 -0
  179. package/dist-cms/packages/core/extension-registry/conditions/menu-alias.condition.d.ts +12 -0
  180. package/dist-cms/packages/core/extension-registry/conditions/menu-alias.condition.js +23 -0
  181. package/dist-cms/packages/core/extension-registry/conditions/section-alias.condition.d.ts +18 -0
  182. package/dist-cms/packages/core/extension-registry/conditions/section-alias.condition.js +23 -0
  183. package/dist-cms/packages/core/extension-registry/conditions/switch.condition.d.ts +19 -0
  184. package/dist-cms/packages/core/extension-registry/conditions/switch.condition.js +38 -0
  185. package/dist-cms/packages/core/extension-registry/conditions/types.d.ts +5 -0
  186. package/dist-cms/packages/core/extension-registry/conditions/types.js +1 -0
  187. package/dist-cms/packages/core/extension-registry/index.d.ts +3 -2
  188. package/dist-cms/packages/core/extension-registry/index.js +3 -2
  189. package/dist-cms/packages/core/extension-registry/models/dashboard.model.d.ts +3 -16
  190. package/dist-cms/packages/core/extension-registry/models/dashboard.model.js +5 -0
  191. package/dist-cms/packages/core/extension-registry/models/entity-action.model.d.ts +2 -5
  192. package/dist-cms/packages/core/extension-registry/models/index.d.ts +4 -2
  193. package/dist-cms/packages/core/extension-registry/models/index.js +1 -0
  194. package/dist-cms/packages/core/extension-registry/models/menu-item.model.d.ts +1 -7
  195. package/dist-cms/packages/core/extension-registry/models/property-action.model.d.ts +5 -3
  196. package/dist-cms/packages/core/extension-registry/models/property-editor.model.d.ts +21 -2
  197. package/dist-cms/packages/core/extension-registry/models/section-sidebar-app.model.d.ts +3 -6
  198. package/dist-cms/packages/core/extension-registry/models/section-view.model.d.ts +3 -5
  199. package/dist-cms/packages/core/extension-registry/models/section.model.d.ts +2 -2
  200. package/dist-cms/packages/core/extension-registry/models/translations.model.d.ts +40 -0
  201. package/dist-cms/packages/core/extension-registry/models/translations.model.js +1 -0
  202. package/dist-cms/packages/core/extension-registry/models/tree-item.model.d.ts +2 -2
  203. package/dist-cms/packages/core/extension-registry/models/workspace-action.model.d.ts +4 -7
  204. package/dist-cms/packages/core/extension-registry/models/workspace-editor-view.model.d.ts +3 -6
  205. package/dist-cms/packages/core/extension-registry/models/workspace-view-collection.model.d.ts +3 -29
  206. package/dist-cms/packages/core/extension-registry/{class-extensions-initializer.d.ts → multi-extensions-class-initializer.d.ts} +2 -2
  207. package/dist-cms/packages/core/extension-registry/{class-extensions-initializer.js → multi-extensions-class-initializer.js} +10 -2
  208. package/dist-cms/packages/core/index.d.ts +1 -0
  209. package/dist-cms/packages/core/index.js +7 -2
  210. package/dist-cms/packages/core/localization/index.d.ts +2 -0
  211. package/dist-cms/packages/core/localization/index.js +2 -0
  212. package/dist-cms/packages/core/localization/localize.element.d.ts +34 -0
  213. package/dist-cms/packages/core/localization/localize.element.js +64 -0
  214. package/dist-cms/packages/core/localization/manifests.d.ts +2 -0
  215. package/dist-cms/packages/core/localization/manifests.js +23 -0
  216. package/dist-cms/packages/core/localization/registry/translation.registry.d.ts +17 -0
  217. package/dist-cms/packages/core/localization/registry/translation.registry.js +79 -0
  218. package/dist-cms/packages/core/menu/index.d.ts +1 -0
  219. package/dist-cms/packages/core/menu/index.js +1 -0
  220. package/dist-cms/packages/core/menu/menu.context.d.ts +9 -0
  221. package/dist-cms/packages/core/menu/menu.context.js +14 -0
  222. package/dist-cms/packages/core/menu/menu.element.d.ts +1 -0
  223. package/dist-cms/packages/core/menu/menu.element.js +6 -2
  224. package/dist-cms/packages/core/modal/common/folder/folder-modal.element.d.ts +2 -2
  225. package/dist-cms/packages/core/modal/common/property-settings/property-settings-modal.element.js +1 -0
  226. package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +2 -2
  227. package/dist-cms/packages/core/property-action/manifests.js +2 -2
  228. package/dist-cms/packages/core/property-action/shared/property-action-menu/property-action-menu.element.js +2 -1
  229. package/dist-cms/packages/core/property-editor/index.d.ts +1 -1
  230. package/dist-cms/packages/core/property-editor/index.js +1 -1
  231. package/dist-cms/packages/core/property-editor/manifests.d.ts +1 -1
  232. package/dist-cms/packages/core/property-editor/schemas/manifests.js +0 -2
  233. package/dist-cms/packages/core/property-editor/uis/icon-picker/manifests.js +1 -1
  234. package/dist-cms/packages/core/property-editor/uis/value-type/manifests.js +0 -1
  235. package/dist-cms/packages/core/section/index.d.ts +1 -1
  236. package/dist-cms/packages/core/section/index.js +1 -1
  237. package/dist-cms/packages/core/section/section-default.element.d.ts +1 -1
  238. package/dist-cms/packages/core/section/section-default.element.js +13 -21
  239. package/dist-cms/packages/core/section/section-main-views/index.d.ts +1 -0
  240. package/dist-cms/packages/core/section/section-main-views/index.js +1 -0
  241. package/dist-cms/packages/core/section/section-main-views/section-main-views.element.d.ts +19 -0
  242. package/dist-cms/packages/core/section/{section-views/section-views.element.js → section-main-views/section-main-views.element.js} +20 -48
  243. package/dist-cms/packages/core/section/section-sidebar-context-menu/section-sidebar-context-menu.element.js +18 -5
  244. package/dist-cms/packages/core/section/section-sidebar-menu/section-sidebar-menu.element.js +3 -4
  245. package/dist-cms/packages/core/section/section-sidebar-menu-with-entity-actions/section-sidebar-menu-with-entity-actions.element.js +2 -2
  246. package/dist-cms/packages/core/sorter/sorter.controller.js +6 -6
  247. package/dist-cms/packages/core/sorter/stories/test-sorter-controller.element.d.ts +13 -0
  248. package/dist-cms/packages/core/sorter/stories/test-sorter-controller.element.js +92 -0
  249. package/dist-cms/packages/core/tree/tree-item/tree-item.context.interface.d.ts +0 -2
  250. package/dist-cms/packages/core/tree/tree-item/tree-item.element.js +1 -1
  251. package/dist-cms/packages/core/tree/tree-item-base/tree-item-base.context.d.ts +3 -4
  252. package/dist-cms/packages/core/tree/tree-item-base/tree-item-base.context.js +26 -30
  253. package/dist-cms/packages/core/workspace/index.d.ts +1 -0
  254. package/dist-cms/packages/core/workspace/index.js +1 -0
  255. package/dist-cms/packages/core/workspace/manifests.d.ts +1 -1
  256. package/dist-cms/packages/core/workspace/manifests.js +2 -1
  257. package/dist-cms/packages/core/workspace/workspace-action/workspace-action-base.js +2 -2
  258. package/dist-cms/packages/core/workspace/workspace-action-menu/workspace-action-menu.element.js +8 -4
  259. package/dist-cms/packages/core/workspace/workspace-alias.condition.d.ts +18 -0
  260. package/dist-cms/packages/core/workspace/workspace-alias.condition.js +21 -0
  261. package/dist-cms/packages/core/workspace/workspace-content/views/collection/workspace-view-collection.element.js +2 -2
  262. package/dist-cms/packages/core/workspace/workspace-context/index.d.ts +1 -1
  263. package/dist-cms/packages/core/workspace/workspace-context/index.js +1 -1
  264. package/dist-cms/packages/core/workspace/workspace-context/workspace-context.d.ts +2 -1
  265. package/dist-cms/packages/core/workspace/workspace-context/workspace-context.interface.d.ts +2 -2
  266. package/dist-cms/packages/core/workspace/workspace-context/workspace-context.js +4 -3
  267. package/dist-cms/packages/core/workspace/workspace-context/workspace-context.token.d.ts +4 -0
  268. package/dist-cms/packages/core/workspace/workspace-context/workspace-context.token.js +2 -0
  269. package/dist-cms/packages/core/workspace/workspace-context/workspace-entity-context.interface.d.ts +0 -1
  270. package/dist-cms/packages/core/workspace/workspace-editor/workspace-editor.element.d.ts +4 -8
  271. package/dist-cms/packages/core/workspace/workspace-editor/workspace-editor.element.js +11 -39
  272. package/dist-cms/packages/core/workspace/workspace-footer/workspace-footer.element.d.ts +0 -10
  273. package/dist-cms/packages/core/workspace/workspace-footer/workspace-footer.element.js +1 -23
  274. package/dist-cms/packages/core/workspace/workspace-property/workspace-property.context.js +2 -2
  275. package/dist-cms/packages/core/workspace/workspace-property/workspace-property.element.js +4 -0
  276. package/dist-cms/packages/core/workspace/workspace-variant/workspace-variant.context.js +2 -2
  277. package/dist-cms/packages/dictionary/dashboards/dictionary/dashboard-translation-dictionary.element.js +2 -2
  278. package/dist-cms/packages/dictionary/dictionary/entity-actions/create/create.action.js +1 -1
  279. package/dist-cms/packages/dictionary/dictionary/entity-actions/export/export.action.d.ts +0 -1
  280. package/dist-cms/packages/dictionary/dictionary/entity-actions/export/export.action.js +0 -1
  281. package/dist-cms/packages/dictionary/dictionary/entity-actions/import/import.action.d.ts +0 -1
  282. package/dist-cms/packages/dictionary/dictionary/entity-actions/import/import.action.js +0 -1
  283. package/dist-cms/packages/dictionary/dictionary/entity-actions/manifests.d.ts +1 -1
  284. package/dist-cms/packages/dictionary/dictionary/entity-actions/manifests.js +0 -12
  285. package/dist-cms/packages/dictionary/dictionary/manifests.d.ts +1 -1
  286. package/dist-cms/packages/dictionary/dictionary/menu-item/manifests.js +0 -2
  287. package/dist-cms/packages/dictionary/dictionary/tree/manifests.js +1 -1
  288. package/dist-cms/packages/dictionary/dictionary/workspace/dictionary-workspace-editor.element.js +3 -3
  289. package/dist-cms/packages/dictionary/dictionary/workspace/dictionary-workspace.context.js +1 -1
  290. package/dist-cms/packages/dictionary/dictionary/workspace/manifests.js +13 -8
  291. package/dist-cms/packages/dictionary/dictionary/workspace/views/editor/workspace-view-dictionary-editor.element.js +2 -2
  292. package/dist-cms/packages/dictionary/manifests.d.ts +1 -1
  293. package/dist-cms/packages/dictionary/section.manifest.d.ts +1 -1
  294. package/dist-cms/packages/dictionary/section.manifest.js +12 -6
  295. package/dist-cms/packages/documents/dashboards/manifests.js +6 -3
  296. package/dist-cms/packages/documents/document-blueprints/menu-item/manifests.js +0 -2
  297. package/dist-cms/packages/documents/document-types/entity-actions/create/manifests.js +0 -2
  298. package/dist-cms/packages/documents/document-types/entity-actions/manifests.js +0 -8
  299. package/dist-cms/packages/documents/document-types/menu-item/manifests.js +0 -2
  300. package/dist-cms/packages/documents/document-types/tree/manifests.js +1 -1
  301. package/dist-cms/packages/documents/document-types/workspace/document-type-workspace-editor.element.js +7 -6
  302. package/dist-cms/packages/documents/document-types/workspace/document-type-workspace.context.js +1 -1
  303. package/dist-cms/packages/documents/document-types/workspace/manifests.js +30 -15
  304. package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit-properties.element.js +9 -7
  305. package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit-property.element.js +10 -5
  306. package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit-tab.element.js +12 -6
  307. package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.d.ts +3 -0
  308. package/dist-cms/packages/documents/document-types/workspace/views/design/document-type-workspace-view-edit.element.js +143 -45
  309. package/dist-cms/packages/documents/document-types/workspace/views/settings/document-type-workspace-view-settings.element.js +2 -2
  310. package/dist-cms/packages/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.js +6 -6
  311. package/dist-cms/packages/documents/document-types/workspace/views/templates/document-type-workspace-view-templates.element.js +2 -2
  312. package/dist-cms/packages/documents/documents/entity-actions/manifests.d.ts +1 -1
  313. package/dist-cms/packages/documents/documents/entity-actions/manifests.js +0 -24
  314. package/dist-cms/packages/documents/documents/menu-item/manifests.js +0 -2
  315. package/dist-cms/packages/documents/documents/tree/manifests.js +1 -1
  316. package/dist-cms/packages/documents/documents/tree/tree-item/document-tree-item.context.d.ts +3 -3
  317. package/dist-cms/packages/documents/documents/workspace/document-workspace-editor.element.js +2 -2
  318. package/dist-cms/packages/documents/documents/workspace/document-workspace-split-view.element.js +2 -2
  319. package/dist-cms/packages/documents/documents/workspace/document-workspace.context.js +1 -1
  320. package/dist-cms/packages/documents/documents/workspace/manifests.js +36 -21
  321. package/dist-cms/packages/documents/documents/workspace/views/edit/document-workspace-view-edit-properties.element.js +2 -2
  322. package/dist-cms/packages/documents/documents/workspace/views/edit/document-workspace-view-edit-tab.element.js +2 -2
  323. package/dist-cms/packages/documents/documents/workspace/views/edit/document-workspace-view-edit.element.js +3 -3
  324. package/dist-cms/packages/documents/documents/workspace/views/info/document-info-workspace-view.element.js +2 -2
  325. package/dist-cms/packages/documents/section.manifests.js +6 -3
  326. package/dist-cms/packages/media/manifests.d.ts +1 -1
  327. package/dist-cms/packages/media/media/entity-actions/manifests.js +0 -2
  328. package/dist-cms/packages/media/media/manifests.d.ts +1 -1
  329. package/dist-cms/packages/media/media/menu-item/manifests.js +0 -2
  330. package/dist-cms/packages/media/media/tree/manifests.js +1 -1
  331. package/dist-cms/packages/media/media/workspace/manifests.js +24 -12
  332. package/dist-cms/packages/media/media/workspace/media-workspace-editor.element.js +2 -2
  333. package/dist-cms/packages/media/media/workspace/media-workspace.context.js +1 -1
  334. package/dist-cms/packages/media/media/workspace/media-workspace.element.d.ts +1 -0
  335. package/dist-cms/packages/media/media/workspace/media-workspace.element.js +1 -0
  336. package/dist-cms/packages/media/media-types/entity-actions/manifests.js +0 -10
  337. package/dist-cms/packages/media/media-types/manifests.d.ts +1 -1
  338. package/dist-cms/packages/media/media-types/menu-item/manifests.js +0 -2
  339. package/dist-cms/packages/media/media-types/tree/manifests.js +1 -1
  340. package/dist-cms/packages/media/media-types/workspace/media-type-workspace-editor.element.js +2 -2
  341. package/dist-cms/packages/media/media-types/workspace/media-type-workspace.context.js +1 -1
  342. package/dist-cms/packages/media/section.manifests.d.ts +1 -1
  343. package/dist-cms/packages/media/section.manifests.js +7 -3
  344. package/dist-cms/packages/members/manifests.d.ts +1 -1
  345. package/dist-cms/packages/members/member-groups/entity-actions/manifests.js +0 -2
  346. package/dist-cms/packages/members/member-groups/manifests.d.ts +1 -1
  347. package/dist-cms/packages/members/member-groups/menu-item/manifests.js +0 -2
  348. package/dist-cms/packages/members/member-groups/tree/manifests.js +1 -1
  349. package/dist-cms/packages/members/member-groups/workspace/manifests.js +12 -6
  350. package/dist-cms/packages/members/member-groups/workspace/member-group-workspace-editor.element.js +2 -2
  351. package/dist-cms/packages/members/member-groups/workspace/member-group-workspace.context.js +1 -1
  352. package/dist-cms/packages/members/member-groups/workspace/views/info/workspace-view-member-group-info.element.js +2 -2
  353. package/dist-cms/packages/members/member-types/entity-actions/manifests.js +0 -2
  354. package/dist-cms/packages/members/member-types/manifests.d.ts +1 -1
  355. package/dist-cms/packages/members/member-types/menu-item/manifests.js +0 -2
  356. package/dist-cms/packages/members/member-types/tree/manifests.js +1 -1
  357. package/dist-cms/packages/members/member-types/workspace/member-type-workspace.context.js +1 -1
  358. package/dist-cms/packages/members/member-types/workspace/member-type-workspace.element.d.ts +1 -0
  359. package/dist-cms/packages/members/member-types/workspace/member-type-workspace.element.js +1 -0
  360. package/dist-cms/packages/members/members/entity-actions/manifests.js +0 -2
  361. package/dist-cms/packages/members/members/manifests.d.ts +1 -1
  362. package/dist-cms/packages/members/members/menu-item/manifests.js +0 -2
  363. package/dist-cms/packages/members/members/tree/manifests.js +1 -1
  364. package/dist-cms/packages/members/members/workspace/member-workspace.context.js +1 -1
  365. package/dist-cms/packages/members/section.manifests.d.ts +1 -1
  366. package/dist-cms/packages/members/section.manifests.js +12 -6
  367. package/dist-cms/packages/packages/package-section/manifests.js +18 -9
  368. package/dist-cms/packages/packages/package-section/views/created/created-packages-section-view.element.d.ts +0 -1
  369. package/dist-cms/packages/packages/package-section/views/created/created-packages-section-view.element.js +0 -1
  370. package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.d.ts +1 -0
  371. package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.js +3 -0
  372. package/dist-cms/packages/search/manifests.js +6 -3
  373. package/dist-cms/packages/settings/dashboards/manifests.js +37 -18
  374. package/dist-cms/packages/settings/data-types/entity-actions/copy/manifests.js +0 -2
  375. package/dist-cms/packages/settings/data-types/entity-actions/create/manifests.js +0 -2
  376. package/dist-cms/packages/settings/data-types/entity-actions/manifests.js +0 -6
  377. package/dist-cms/packages/settings/data-types/entity-actions/move/manifests.js +0 -2
  378. package/dist-cms/packages/settings/data-types/menu-item/manifests.js +0 -2
  379. package/dist-cms/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.js +2 -1
  380. package/dist-cms/packages/settings/data-types/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.js +3 -2
  381. package/dist-cms/packages/settings/data-types/repository/data-type.repository.d.ts +2 -2
  382. package/dist-cms/packages/settings/data-types/repository/manifests.d.ts +1 -1
  383. package/dist-cms/packages/settings/data-types/repository/sources/data-type-folder.server.data.d.ts +3 -3
  384. package/dist-cms/packages/settings/data-types/tree/manifests.js +1 -1
  385. package/dist-cms/packages/settings/data-types/workspace/data-type-workspace-editor.element.js +2 -2
  386. package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js +1 -1
  387. package/dist-cms/packages/settings/data-types/workspace/manifests.js +18 -9
  388. package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.js +2 -2
  389. package/dist-cms/packages/settings/data-types/workspace/views/info/workspace-view-data-type-info.element.js +2 -2
  390. package/dist-cms/packages/settings/extensions/menu-item/manifests.js +0 -2
  391. package/dist-cms/packages/settings/languages/app-language-select/app-language-select.element.js +1 -5
  392. package/dist-cms/packages/settings/languages/app-language-select/manifests.js +6 -3
  393. package/dist-cms/packages/settings/languages/entity-actions/manifests.js +0 -4
  394. package/dist-cms/packages/settings/languages/menu-item/manifests.js +0 -2
  395. package/dist-cms/packages/settings/languages/workspace/language/language-workspace-editor.element.js +2 -2
  396. package/dist-cms/packages/settings/languages/workspace/language/language-workspace.context.js +1 -1
  397. package/dist-cms/packages/settings/languages/workspace/language/language-workspace.element.d.ts +0 -1
  398. package/dist-cms/packages/settings/languages/workspace/language/language-workspace.element.js +0 -1
  399. package/dist-cms/packages/settings/languages/workspace/language/manifests.js +12 -6
  400. package/dist-cms/packages/settings/languages/workspace/language/views/details/language-details-workspace-view.element.js +2 -2
  401. package/dist-cms/packages/settings/logviewer/manifests.d.ts +1 -1
  402. package/dist-cms/packages/settings/logviewer/menu-item/manifests.js +0 -2
  403. package/dist-cms/packages/settings/logviewer/workspace/{logviewer-root/logviewer-root-workspace.element.d.ts → logviewer/logviewer-workspace.element.d.ts} +0 -9
  404. package/dist-cms/packages/settings/logviewer/workspace/logviewer/logviewer-workspace.element.js +65 -0
  405. package/dist-cms/packages/settings/logviewer/workspace/{logviewer-root → logviewer}/manifests.js +16 -10
  406. package/dist-cms/packages/settings/logviewer/workspace/logviewer.context.d.ts +28 -15
  407. package/dist-cms/packages/settings/logviewer/workspace/logviewer.context.js +33 -5
  408. package/dist-cms/packages/settings/logviewer/workspace/manifests.js +2 -2
  409. package/dist-cms/packages/settings/relation-types/manifests.d.ts +1 -1
  410. package/dist-cms/packages/settings/relation-types/menu-item/manifests.js +0 -2
  411. package/dist-cms/packages/settings/relation-types/tree/manifests.js +1 -1
  412. package/dist-cms/packages/settings/relation-types/workspace/manifests.js +18 -9
  413. package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace-editor.element.js +2 -2
  414. package/dist-cms/packages/settings/relation-types/workspace/relation-type-workspace.context.js +1 -1
  415. package/dist-cms/packages/settings/relation-types/workspace/views/relation-type/relation-type-workspace-view-relation-type.element.js +2 -2
  416. package/dist-cms/packages/settings/section.manifests.d.ts +1 -1
  417. package/dist-cms/packages/settings/section.manifests.js +6 -3
  418. package/dist-cms/packages/templating/components/insert-menu/templating-insert-menu.element.js +1 -1
  419. package/dist-cms/packages/templating/manifests.d.ts +1 -1
  420. package/dist-cms/packages/templating/menu.manifests.d.ts +1 -1
  421. package/dist-cms/packages/templating/menu.manifests.js +7 -3
  422. package/dist-cms/packages/templating/partial-views/entity-actions/manifests.js +0 -10
  423. package/dist-cms/packages/templating/partial-views/manifests.d.ts +1 -1
  424. package/dist-cms/packages/templating/partial-views/menu-item/manifests.js +0 -2
  425. package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +2 -2
  426. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +2 -2
  427. package/dist-cms/packages/templating/partial-views/tree/manifests.js +1 -1
  428. package/dist-cms/packages/templating/partial-views/workspace/manifests.js +6 -3
  429. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.js +2 -1
  430. package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.js +2 -1
  431. package/dist-cms/packages/templating/stylesheets/manifests.d.ts +1 -1
  432. package/dist-cms/packages/templating/stylesheets/menu-item/manifests.js +0 -2
  433. package/dist-cms/packages/templating/stylesheets/tree/manifests.js +1 -1
  434. package/dist-cms/packages/templating/stylesheets/workspace/stylesheet-workspace.context.js +1 -1
  435. package/dist-cms/packages/templating/templates/entity-actions/manifests.js +0 -4
  436. package/dist-cms/packages/templating/templates/manifests.d.ts +1 -1
  437. package/dist-cms/packages/templating/templates/menu-item/manifests.js +0 -2
  438. package/dist-cms/packages/templating/templates/repository/manifests.d.ts +1 -1
  439. package/dist-cms/packages/templating/templates/tree/manifests.js +1 -1
  440. package/dist-cms/packages/templating/templates/workspace/manifests.js +6 -3
  441. package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js +2 -1
  442. package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js +1 -1
  443. package/dist-cms/packages/umbraco-news/manifests.js +6 -3
  444. package/dist-cms/packages/umbraco-news/umbraco-news-dashboard.element.js +1 -1
  445. package/dist-cms/packages/users/current-user/modals/current-user/current-user-modal.element.js +10 -6
  446. package/dist-cms/packages/users/current-user/user-profile-apps/user-profile-app-profile.element.js +7 -5
  447. package/dist-cms/packages/users/user-groups/manifests.d.ts +1 -1
  448. package/dist-cms/packages/users/user-groups/repository/manifests.d.ts +1 -1
  449. package/dist-cms/packages/users/user-groups/section-view/manifests.js +6 -3
  450. package/dist-cms/packages/users/user-groups/workspace/actions/workspace-action-user-group-save.element.js +2 -2
  451. package/dist-cms/packages/users/user-groups/workspace/manifests.js +6 -3
  452. package/dist-cms/packages/users/user-groups/workspace/user-group-workspace-editor.element.js +2 -2
  453. package/dist-cms/packages/users/user-groups/workspace/user-group-workspace.context.js +1 -1
  454. package/dist-cms/packages/users/users/manifests.d.ts +1 -1
  455. package/dist-cms/packages/users/users/repository/manifests.d.ts +1 -1
  456. package/dist-cms/packages/users/users/repository/user.repository.js +5 -1
  457. package/dist-cms/packages/users/users/section-view/manifests.js +6 -3
  458. package/dist-cms/packages/users/users/workspace/actions/user-workspace-action-save.element.js +2 -2
  459. package/dist-cms/packages/users/users/workspace/manifests.js +6 -3
  460. package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.d.ts +1 -0
  461. package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.js +53 -8
  462. package/dist-cms/packages/users/users/workspace/user-workspace.context.d.ts +1 -1
  463. package/dist-cms/packages/users/users/workspace/user-workspace.context.js +18 -1
  464. package/dist-cms/shared/auth/auth.context.d.ts +1 -0
  465. package/dist-cms/shared/auth/auth.context.js +1 -2
  466. package/dist-cms/shared/auth/auth.interface.d.ts +4 -0
  467. package/dist-cms/shared/lit-element/lit-element.element.d.ts +25 -0
  468. package/dist-cms/shared/lit-element/lit-element.element.js +42 -1
  469. package/dist-cms/shared/repository/data-source/folder-data-source.interface.d.ts +3 -3
  470. package/dist-cms/shared/repository/folder-repository.interface.d.ts +3 -3
  471. package/dist-cms/shared/resources/resource.controller.js +2 -2
  472. package/dist-cms/shared/utils/component-has-manifest-property.function.d.ts +4 -0
  473. package/dist-cms/shared/utils/component-has-manifest-property.function.js +3 -0
  474. package/dist-cms/shared/utils/index.d.ts +1 -0
  475. package/dist-cms/shared/utils/index.js +1 -0
  476. package/dist-cms/shared/utils/media-helper.service.js +1 -0
  477. package/dist-cms/tinymce/CHANGELOG.md +23 -0
  478. package/dist-cms/tinymce/composer.json +1 -1
  479. package/dist-cms/tinymce/langs/hy.js +2 -2
  480. package/dist-cms/tinymce/langs/id.js +19 -19
  481. package/dist-cms/tinymce/langs/it.js +2 -2
  482. package/dist-cms/tinymce/langs/ka_GE.js +132 -132
  483. package/dist-cms/tinymce/langs/ru.js +4 -4
  484. package/dist-cms/tinymce/langs/sk.js +7 -7
  485. package/dist-cms/tinymce/models/dom/model.js +1 -1
  486. package/dist-cms/tinymce/models/dom/model.min.js +1 -1
  487. package/dist-cms/tinymce/package.json +1 -1
  488. package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
  489. package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
  490. package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
  491. package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
  492. package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
  493. package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
  494. package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
  495. package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
  496. package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
  497. package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
  498. package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
  499. package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
  500. package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
  501. package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
  502. package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
  503. package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
  504. package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
  505. package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
  506. package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
  507. package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
  508. package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
  509. package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
  510. package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
  511. package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  512. package/dist-cms/tinymce/plugins/help/plugin.js +1 -1
  513. package/dist-cms/tinymce/plugins/help/plugin.min.js +1 -1
  514. package/dist-cms/tinymce/plugins/image/plugin.js +2 -2
  515. package/dist-cms/tinymce/plugins/image/plugin.min.js +2 -2
  516. package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
  517. package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
  518. package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
  519. package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  520. package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
  521. package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
  522. package/dist-cms/tinymce/plugins/lists/plugin.js +2 -2
  523. package/dist-cms/tinymce/plugins/lists/plugin.min.js +2 -2
  524. package/dist-cms/tinymce/plugins/media/plugin.js +1 -1
  525. package/dist-cms/tinymce/plugins/media/plugin.min.js +1 -1
  526. package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
  527. package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  528. package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
  529. package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  530. package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
  531. package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
  532. package/dist-cms/tinymce/plugins/quickbars/plugin.js +1 -1
  533. package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +1 -1
  534. package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
  535. package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
  536. package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
  537. package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  538. package/dist-cms/tinymce/plugins/table/plugin.js +1 -1
  539. package/dist-cms/tinymce/plugins/table/plugin.min.js +1 -1
  540. package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
  541. package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
  542. package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
  543. package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  544. package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
  545. package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
  546. package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
  547. package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
  548. package/dist-cms/tinymce/skins/ui/oxide/skin.css +15 -2
  549. package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
  550. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +15 -2
  551. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  552. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +15 -2
  553. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  554. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +15 -2
  555. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  556. package/dist-cms/tinymce/themes/silver/theme.js +181 -108
  557. package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
  558. package/dist-cms/tinymce/tinymce.d.ts +3 -0
  559. package/dist-cms/tinymce/tinymce.js +23 -15
  560. package/dist-cms/tinymce/tinymce.min.js +2 -2
  561. package/dist-cms/tsconfig.build.json +15 -0
  562. package/dist-cms/tsconfig.build.tsbuildinfo +1 -0
  563. package/dist-cms/umbraco-package-schema.json +536 -236
  564. package/dist-cms/vscode-html-custom-data.json +58 -58
  565. package/package.json +14 -12
  566. package/dist-cms/external/monaco-editor/twig-4859b551.js +0 -6
  567. package/dist-cms/packages/core/property-editor/schemas/Umbraco.JSON.d.ts +0 -2
  568. package/dist-cms/packages/core/property-editor/schemas/Umbraco.JSON.js +0 -8
  569. package/dist-cms/packages/core/section/section-views/index.d.ts +0 -1
  570. package/dist-cms/packages/core/section/section-views/index.js +0 -1
  571. package/dist-cms/packages/core/section/section-views/section-views.element.d.ts +0 -26
  572. package/dist-cms/packages/core/workspace/workspace-context/entity-workspace-context.token.d.ts +0 -4
  573. package/dist-cms/packages/core/workspace/workspace-context/entity-workspace-context.token.js +0 -2
  574. package/dist-cms/packages/settings/logviewer/workspace/logviewer-root/logviewer-root-workspace.element.js +0 -166
  575. package/dist-cms/tsconfig.tsbuildinfo +0 -1
  576. /package/dist-cms/apps/backoffice/{extension.controller.d.ts → extension-initializer.controller.d.ts} +0 -0
  577. /package/dist-cms/packages/settings/logviewer/workspace/{logviewer-root → logviewer}/manifests.d.ts +0 -0
@@ -2,21 +2,21 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const Fr=window,Wi=Fr.ShadowRoot&&(Fr.ShadyCSS===void 0||Fr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ki=Symbol(),Zo=new WeakMap;let Qo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Ki)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(Wi&&e===void 0){const o=r!==void 0&&r.length===1;o&&(e=Zo.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Zo.set(r,e))}return e}toString(){return this.cssText}};const Te=t=>new Qo(typeof t=="string"?t:t+"",void 0,Ki),h=(t,...e)=>{const r=t.length===1?t[0]:e.reduce((o,i,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new Qo(r,t,Ki)},Ol=(t,e)=>{Wi?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{const o=document.createElement("style"),i=Fr.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})},Jo=Wi?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const o of e.cssRules)r+=o.cssText;return Te(r)})(t):t;/**
5
+ */const Gr=window,qi=Gr.ShadowRoot&&(Gr.ShadyCSS===void 0||Gr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wi=Symbol(),es=new WeakMap;let ts=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Wi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(qi&&e===void 0){const o=r!==void 0&&r.length===1;o&&(e=es.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&es.set(r,e))}return e}toString(){return this.cssText}};const Ve=t=>new ts(typeof t=="string"?t:t+"",void 0,Wi),d=(t,...e)=>{const r=t.length===1?t[0]:e.reduce((o,i,s)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new ts(r,t,Wi)},Nl=(t,e)=>{qi?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{const o=document.createElement("style"),i=Gr.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})},rs=qi?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const o of e.cssRules)r+=o.cssText;return Ve(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var Xi;const Gr=window,es=Gr.trustedTypes,Sl=es?es.emptyScript:"",ts=Gr.reactiveElementPolyfillSupport,Yi={toAttribute(t,e){switch(e){case Boolean:t=t?Sl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},rs=(t,e)=>e!==t&&(e==e||t==t),Zi={attribute:!0,type:String,converter:Yi,reflect:!1,hasChanged:rs};let $t=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((r,o)=>{const i=this._$Ep(o,r);i!==void 0&&(this._$Ev.set(i,o),e.push(i))}),e}static createProperty(e,r=Zi){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(e,r),!r.noAccessor&&!this.prototype.hasOwnProperty(e)){const o=typeof e=="symbol"?Symbol():"__"+e,i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){return{get(){return this[r]},set(i){const s=this[e];this[r]=i,this.requestUpdate(e,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Zi}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const r=this.properties,o=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of o)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const o=new Set(e.flat(1/0).reverse());for(const i of o)r.unshift(Jo(i))}else e!==void 0&&r.push(Jo(e));return r}static _$Ep(e,r){const o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(r=>r(this))}addController(e){var r,o;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)===null||o===void 0||o.call(e))}removeController(e){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var e;const r=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Ol(r,this.constructor.elementStyles),r}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostConnected)===null||o===void 0?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostDisconnected)===null||o===void 0?void 0:o.call(r)})}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r,o=Zi){var i;const s=this.constructor._$Ep(e,o);if(s!==void 0&&o.reflect===!0){const n=(((i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?o.converter:Yi).toAttribute(r,o.type);this._$El=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(e,r){var o;const i=this.constructor,s=i._$Ev.get(e);if(s!==void 0&&this._$El!==s){const n=i.getPropertyOptions(s),u=typeof n.converter=="function"?{fromAttribute:n.converter}:((o=n.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?n.converter:Yi;this._$El=s,this[s]=u.fromAttribute(r,n.type),this._$El=null}}requestUpdate(e,r,o){let i=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||rs)(this[e],r)?(this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,s)=>this[s]=i),this._$Ei=void 0);let r=!1;const o=this._$AL;try{r=this.shouldUpdate(o),r?(this.willUpdate(o),(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdate)===null||s===void 0?void 0:s.call(i)}),this.update(o)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(o)}willUpdate(e){}_$AE(e){var r;(r=this._$ES)===null||r===void 0||r.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((r,o)=>this._$EO(o,this[o],r)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};$t.finalized=!0,$t.elementProperties=new Map,$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},ts?.({ReactiveElement:$t}),((Xi=Gr.reactiveElementVersions)!==null&&Xi!==void 0?Xi:Gr.reactiveElementVersions=[]).push("1.6.1");/**
9
+ */var Ki;const qr=window,is=qr.trustedTypes,Hl=is?is.emptyScript:"",os=qr.reactiveElementPolyfillSupport,Xi={toAttribute(t,e){switch(e){case Boolean:t=t?Hl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ss=(t,e)=>e!==t&&(e==e||t==t),Yi={attribute:!0,type:String,converter:Xi,reflect:!1,hasChanged:ss};let $t=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((r,o)=>{const i=this._$Ep(o,r);i!==void 0&&(this._$Ev.set(i,o),e.push(i))}),e}static createProperty(e,r=Yi){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(e,r),!r.noAccessor&&!this.prototype.hasOwnProperty(e)){const o=typeof e=="symbol"?Symbol():"__"+e,i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){return{get(){return this[r]},set(i){const s=this[e];this[r]=i,this.requestUpdate(e,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Yi}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const r=this.properties,o=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of o)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const o=new Set(e.flat(1/0).reverse());for(const i of o)r.unshift(rs(i))}else e!==void 0&&r.push(rs(e));return r}static _$Ep(e,r){const o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(r=>r(this))}addController(e){var r,o;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)===null||o===void 0||o.call(e))}removeController(e){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var e;const r=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Nl(r,this.constructor.elementStyles),r}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostConnected)===null||o===void 0?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostDisconnected)===null||o===void 0?void 0:o.call(r)})}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r,o=Yi){var i;const s=this.constructor._$Ep(e,o);if(s!==void 0&&o.reflect===!0){const n=(((i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?o.converter:Xi).toAttribute(r,o.type);this._$El=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(e,r){var o;const i=this.constructor,s=i._$Ev.get(e);if(s!==void 0&&this._$El!==s){const n=i.getPropertyOptions(s),u=typeof n.converter=="function"?{fromAttribute:n.converter}:((o=n.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?n.converter:Xi;this._$El=s,this[s]=u.fromAttribute(r,n.type),this._$El=null}}requestUpdate(e,r,o){let i=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||ss)(this[e],r)?(this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,s)=>this[s]=i),this._$Ei=void 0);let r=!1;const o=this._$AL;try{r=this.shouldUpdate(o),r?(this.willUpdate(o),(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdate)===null||s===void 0?void 0:s.call(i)}),this.update(o)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(o)}willUpdate(e){}_$AE(e){var r;(r=this._$ES)===null||r===void 0||r.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((r,o)=>this._$EO(o,this[o],r)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};$t.finalized=!0,$t.elementProperties=new Map,$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},os?.({ReactiveElement:$t}),((Ki=qr.reactiveElementVersions)!==null&&Ki!==void 0?Ki:qr.reactiveElementVersions=[]).push("1.6.1");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var Qi;const qr=window,Et=qr.trustedTypes,is=Et?Et.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wr="$lit$",Ee=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+Ee,kl=`<${Ji}>`,Qe=document,or=()=>Qe.createComment(""),sr=t=>t===null||typeof t!="object"&&typeof t!="function",os=Array.isArray,ss=t=>os(t)||typeof t?.[Symbol.iterator]=="function",eo=`[
14
- \f\r]`,nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ns=/-->/g,as=/>/g,Je=RegExp(`>|${eo}(?:([^\\s"'>=/]+)(${eo}*=${eo}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ls=/'/g,us=/"/g,cs=/^(?:script|style|textarea|title)$/i,hs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),l=hs(1),g=hs(2),F=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),ds=new WeakMap,et=Qe.createTreeWalker(Qe,129,null,!1),ps=(t,e)=>{const r=t.length-1,o=[];let i,s=e===2?"<svg>":"",n=nr;for(let c=0;c<r;c++){const d=t[c];let x,_,b=-1,y=0;for(;y<d.length&&(n.lastIndex=y,_=n.exec(d),_!==null);)y=n.lastIndex,n===nr?_[1]==="!--"?n=ns:_[1]!==void 0?n=as:_[2]!==void 0?(cs.test(_[2])&&(i=RegExp("</"+_[2],"g")),n=Je):_[3]!==void 0&&(n=Je):n===Je?_[0]===">"?(n=i??nr,b=-1):_[1]===void 0?b=-2:(b=n.lastIndex-_[2].length,x=_[1],n=_[3]===void 0?Je:_[3]==='"'?us:ls):n===us||n===ls?n=Je:n===ns||n===as?n=nr:(n=Je,i=void 0);const w=n===Je&&t[c+1].startsWith("/>")?" ":"";s+=n===nr?d+kl:b>=0?(o.push(x),d.slice(0,b)+Wr+d.slice(b)+Ee+w):d+Ee+(b===-2?(o.push(void 0),c):w)}const u=s+(t[r]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[is!==void 0?is.createHTML(u):u,o]};class jr{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let s=0,n=0;const u=e.length-1,c=this.parts,[d,x]=ps(e,r);if(this.el=jr.createElement(d,o),et.currentNode=this.el.content,r===2){const _=this.el.content,b=_.firstChild;b.remove(),_.append(...b.childNodes)}for(;(i=et.nextNode())!==null&&c.length<u;){if(i.nodeType===1){if(i.hasAttributes()){const _=[];for(const b of i.getAttributeNames())if(b.endsWith(Wr)||b.startsWith(Ee)){const y=x[n++];if(_.push(b),y!==void 0){const w=i.getAttribute(y.toLowerCase()+Wr).split(Ee),$=/([.?@])?(.*)/.exec(y);c.push({type:1,index:s,name:$[2],strings:w,ctor:$[1]==="."?fs:$[1]==="?"?bs:$[1]==="@"?gs:ar})}else c.push({type:6,index:s})}for(const b of _)i.removeAttribute(b)}if(cs.test(i.tagName)){const _=i.textContent.split(Ee),b=_.length-1;if(b>0){i.textContent=Et?Et.emptyScript:"";for(let y=0;y<b;y++)i.append(_[y],or()),et.nextNode(),c.push({type:2,index:++s});i.append(_[b],or())}}}else if(i.nodeType===8)if(i.data===Ji)c.push({type:2,index:s});else{let _=-1;for(;(_=i.data.indexOf(Ee,_+1))!==-1;)c.push({type:7,index:s}),_+=Ee.length-1}s++}}static createElement(e,r){const o=Qe.createElement("template");return o.innerHTML=e,o}}function tt(t,e,r=t,o){var i,s,n,u;if(e===F)return e;let c=o!==void 0?(i=r._$Co)===null||i===void 0?void 0:i[o]:r._$Cl;const d=sr(e)?void 0:e._$litDirective$;return c?.constructor!==d&&((s=c?._$AO)===null||s===void 0||s.call(c,!1),d===void 0?c=void 0:(c=new d(t),c._$AT(t,r,o)),o!==void 0?((n=(u=r)._$Co)!==null&&n!==void 0?n:u._$Co=[])[o]=c:r._$Cl=c),c!==void 0&&(e=tt(t,c._$AS(t,e.values),c,o)),e}let vs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var r;const{el:{content:o},parts:i}=this._$AD,s=((r=e?.creationScope)!==null&&r!==void 0?r:Qe).importNode(o,!0);et.currentNode=s;let n=et.nextNode(),u=0,c=0,d=i[0];for(;d!==void 0;){if(u===d.index){let x;d.type===2?x=new Kr(n,n.nextSibling,this,e):d.type===1?x=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(x=new ms(n,this,e)),this._$AV.push(x),d=i[++c]}u!==d?.index&&(n=et.nextNode(),u++)}return et.currentNode=Qe,s}v(e){let r=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Kr=class Pl{constructor(e,r,o,i){var s;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cp=(s=i?.isConnected)===null||s===void 0||s}get _$AU(){var e,r;return(r=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&r!==void 0?r:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=tt(this,e,r),sr(e)?e===E||e==null||e===""?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==F&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ss(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==E&&sr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Qe.createTextNode(e)),this._$AH=e}g(e){var r;const{values:o,_$litType$:i}=e,s=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=jr.createElement(i.h,this.options)),i);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===s)this._$AH.v(o);else{const n=new vs(s,this),u=n.u(this.options);n.v(o),this.$(u),this._$AH=n}}_$AC(e){let r=ds.get(e.strings);return r===void 0&&ds.set(e.strings,r=new jr(e)),r}T(e){os(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,i=0;for(const s of e)i===r.length?r.push(o=new Pl(this.k(or()),this.k(or()),this,this.options)):o=r[i],o._$AI(s),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cp=e,(r=this._$AP)===null||r===void 0||r.call(this,e))}};class ar{constructor(e,r,o,i,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,r=this,o,i){const s=this.strings;let n=!1;if(s===void 0)e=tt(this,e,r,0),n=!sr(e)||e!==this._$AH&&e!==F,n&&(this._$AH=e);else{const u=e;let c,d;for(e=s[0],c=0;c<s.length-1;c++)d=tt(this,u[o+c],r,c),d===F&&(d=this._$AH[c]),n||(n=!sr(d)||d!==this._$AH[c]),d===E?e=E:e!==E&&(e+=(d??"")+s[c+1]),this._$AH[c]=d}n&&!i&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}let fs=class extends ar{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}};const zl=Et?Et.emptyScript:"";class bs extends ar{constructor(){super(...arguments),this.type=4}j(e){e&&e!==E?this.element.setAttribute(this.name,zl):this.element.removeAttribute(this.name)}}class gs extends ar{constructor(e,r,o,i,s){super(e,r,o,i,s),this.type=5}_$AI(e,r=this){var o;if((e=(o=tt(this,e,r,0))!==null&&o!==void 0?o:E)===F)return;const i=this._$AH,s=e===E&&i!==E||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==E&&(i===E||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,o;typeof this._$AH=="function"?this._$AH.call((o=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}}class ms{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){tt(this,e)}}const Il={O:Wr,P:Ee,A:Ji,C:1,M:ps,L:vs,D:ss,R:tt,I:Kr,V:ar,H:bs,N:gs,U:fs,F:ms},_s=qr.litHtmlPolyfillSupport;_s?.(jr,Kr),((Qi=qr.litHtmlVersions)!==null&&Qi!==void 0?Qi:qr.litHtmlVersions=[]).push("2.7.4");const Al=(t,e,r)=>{var o,i;const s=(o=r?.renderBefore)!==null&&o!==void 0?o:e;let n=s._$litPart$;if(n===void 0){const u=(i=r?.renderBefore)!==null&&i!==void 0?i:null;s._$litPart$=n=new Kr(e.insertBefore(or(),u),u,void 0,r??{})}return n._$AI(t),n};/**
13
+ */var Zi;const Wr=window,Et=Wr.trustedTypes,ns=Et?Et.createPolicy("lit-html",{createHTML:t=>t}):void 0,Kr="$lit$",Ee=`lit$${(Math.random()+"").slice(9)}$`,Qi="?"+Ee,Tl=`<${Qi}>`,Je=document,nr=()=>Je.createComment(""),ar=t=>t===null||typeof t!="object"&&typeof t!="function",as=Array.isArray,ls=t=>as(t)||typeof t?.[Symbol.iterator]=="function",Ji=`[
14
+ \f\r]`,lr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,us=/-->/g,cs=/>/g,et=RegExp(`>|${Ji}(?:([^\\s"'>=/]+)(${Ji}*=${Ji}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),hs=/'/g,ds=/"/g,ps=/^(?:script|style|textarea|title)$/i,vs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),l=vs(1),g=vs(2),F=Symbol.for("lit-noChange"),x=Symbol.for("lit-nothing"),fs=new WeakMap,tt=Je.createTreeWalker(Je,129,null,!1);function bs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ns!==void 0?ns.createHTML(e):e}const gs=(t,e)=>{const r=t.length-1,o=[];let i,s=e===2?"<svg>":"",n=lr;for(let u=0;u<r;u++){const c=t[u];let h,m,y=-1,b=0;for(;b<c.length&&(n.lastIndex=b,m=n.exec(c),m!==null);)b=n.lastIndex,n===lr?m[1]==="!--"?n=us:m[1]!==void 0?n=cs:m[2]!==void 0?(ps.test(m[2])&&(i=RegExp("</"+m[2],"g")),n=et):m[3]!==void 0&&(n=et):n===et?m[0]===">"?(n=i??lr,y=-1):m[1]===void 0?y=-2:(y=n.lastIndex-m[2].length,h=m[1],n=m[3]===void 0?et:m[3]==='"'?ds:hs):n===ds||n===hs?n=et:n===us||n===cs?n=lr:(n=et,i=void 0);const w=n===et&&t[u+1].startsWith("/>")?" ":"";s+=n===lr?c+Tl:y>=0?(o.push(h),c.slice(0,y)+Kr+c.slice(y)+Ee+w):c+Ee+(y===-2?(o.push(void 0),u):w)}return[bs(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),o]};let eo=class Dl{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let s=0,n=0;const u=e.length-1,c=this.parts,[h,m]=gs(e,r);if(this.el=Dl.createElement(h,o),tt.currentNode=this.el.content,r===2){const y=this.el.content,b=y.firstChild;b.remove(),y.append(...b.childNodes)}for(;(i=tt.nextNode())!==null&&c.length<u;){if(i.nodeType===1){if(i.hasAttributes()){const y=[];for(const b of i.getAttributeNames())if(b.endsWith(Kr)||b.startsWith(Ee)){const w=m[n++];if(y.push(b),w!==void 0){const $=i.getAttribute(w.toLowerCase()+Kr).split(Ee),E=/([.?@])?(.*)/.exec(w);c.push({type:1,index:s,name:E[2],strings:$,ctor:E[1]==="."?_s:E[1]==="?"?ys:E[1]==="@"?ws:ur})}else c.push({type:6,index:s})}for(const b of y)i.removeAttribute(b)}if(ps.test(i.tagName)){const y=i.textContent.split(Ee),b=y.length-1;if(b>0){i.textContent=Et?Et.emptyScript:"";for(let w=0;w<b;w++)i.append(y[w],nr()),tt.nextNode(),c.push({type:2,index:++s});i.append(y[b],nr())}}}else if(i.nodeType===8)if(i.data===Qi)c.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(Ee,y+1))!==-1;)c.push({type:7,index:s}),y+=Ee.length-1}s++}}static createElement(e,r){const o=Je.createElement("template");return o.innerHTML=e,o}};function rt(t,e,r=t,o){var i,s,n,u;if(e===F)return e;let c=o!==void 0?(i=r._$Co)===null||i===void 0?void 0:i[o]:r._$Cl;const h=ar(e)?void 0:e._$litDirective$;return c?.constructor!==h&&((s=c?._$AO)===null||s===void 0||s.call(c,!1),h===void 0?c=void 0:(c=new h(t),c._$AT(t,r,o)),o!==void 0?((n=(u=r)._$Co)!==null&&n!==void 0?n:u._$Co=[])[o]=c:r._$Cl=c),c!==void 0&&(e=rt(t,c._$AS(t,e.values),c,o)),e}let ms=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var r;const{el:{content:o},parts:i}=this._$AD,s=((r=e?.creationScope)!==null&&r!==void 0?r:Je).importNode(o,!0);tt.currentNode=s;let n=tt.nextNode(),u=0,c=0,h=i[0];for(;h!==void 0;){if(u===h.index){let m;h.type===2?m=new or(n,n.nextSibling,this,e):h.type===1?m=new h.ctor(n,h.name,h.strings,this,e):h.type===6&&(m=new xs(n,this,e)),this._$AV.push(m),h=i[++c]}u!==h?.index&&(n=tt.nextNode(),u++)}return tt.currentNode=Je,s}v(e){let r=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}};class or{constructor(e,r,o,i){var s;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cp=(s=i?.isConnected)===null||s===void 0||s}get _$AU(){var e,r;return(r=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&r!==void 0?r:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=rt(this,e,r),ar(e)?e===x||e==null||e===""?(this._$AH!==x&&this._$AR(),this._$AH=x):e!==this._$AH&&e!==F&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==x&&ar(this._$AH)?this._$AA.nextSibling.data=e:this.$(Je.createTextNode(e)),this._$AH=e}g(e){var r;const{values:o,_$litType$:i}=e,s=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=eo.createElement(bs(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===s)this._$AH.v(o);else{const n=new ms(s,this),u=n.u(this.options);n.v(o),this.$(u),this._$AH=n}}_$AC(e){let r=fs.get(e.strings);return r===void 0&&fs.set(e.strings,r=new eo(e)),r}T(e){as(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,i=0;for(const s of e)i===r.length?r.push(o=new or(this.k(nr()),this.k(nr()),this,this.options)):o=r[i],o._$AI(s),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cp=e,(r=this._$AP)===null||r===void 0||r.call(this,e))}}let ur=class{constructor(e,r,o,i,s){this.type=1,this._$AH=x,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,r=this,o,i){const s=this.strings;let n=!1;if(s===void 0)e=rt(this,e,r,0),n=!ar(e)||e!==this._$AH&&e!==F,n&&(this._$AH=e);else{const u=e;let c,h;for(e=s[0],c=0;c<s.length-1;c++)h=rt(this,u[o+c],r,c),h===F&&(h=this._$AH[c]),n||(n=!ar(h)||h!==this._$AH[c]),h===x?e=x:e!==x&&(e+=(h??"")+s[c+1]),this._$AH[c]=h}n&&!i&&this.j(e)}j(e){e===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_s=class extends ur{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===x?void 0:e}};const Ml=Et?Et.emptyScript:"";class ys extends ur{constructor(){super(...arguments),this.type=4}j(e){e&&e!==x?this.element.setAttribute(this.name,Ml):this.element.removeAttribute(this.name)}}class ws extends ur{constructor(e,r,o,i,s){super(e,r,o,i,s),this.type=5}_$AI(e,r=this){var o;if((e=(o=rt(this,e,r,0))!==null&&o!==void 0?o:x)===F)return;const i=this._$AH,s=e===x&&i!==x||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==x&&(i===x||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,o;typeof this._$AH=="function"?this._$AH.call((o=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}}class xs{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){rt(this,e)}}const jl={O:Kr,P:Ee,A:Qi,C:1,M:gs,L:ms,R:ls,D:rt,I:or,V:ur,H:ys,N:ws,U:_s,F:xs},$s=Wr.litHtmlPolyfillSupport;$s?.(eo,or),((Zi=Wr.litHtmlVersions)!==null&&Zi!==void 0?Zi:Wr.litHtmlVersions=[]).push("2.8.0");const Vl=(t,e,r)=>{var o,i;const s=(o=r?.renderBefore)!==null&&o!==void 0?o:e;let n=s._$litPart$;if(n===void 0){const u=(i=r?.renderBefore)!==null&&i!==void 0?i:null;s._$litPart$=n=new or(e.insertBefore(nr(),u),u,void 0,r??{})}return n._$AI(t),n};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */var to,ro;let v=class extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,r;const o=super.createRenderRoot();return(e=(r=this.renderOptions).renderBefore)!==null&&e!==void 0||(r.renderBefore=o.firstChild),o}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Al(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return F}};v.finalized=!0,v._$litElement$=!0,(to=globalThis.litElementHydrateSupport)===null||to===void 0||to.call(globalThis,{LitElement:v});const ys=globalThis.litElementPolyfillSupport;ys?.({LitElement:v}),((ro=globalThis.litElementVersions)!==null&&ro!==void 0?ro:globalThis.litElementVersions=[]).push("3.3.2");var Ul=`.uui-text {
19
+ */var to,ro;let v=class extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,r;const o=super.createRenderRoot();return(e=(r=this.renderOptions).renderBefore)!==null&&e!==void 0||(r.renderBefore=o.firstChild),o}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Vl(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return F}};v.finalized=!0,v._$litElement$=!0,(to=globalThis.litElementHydrateSupport)===null||to===void 0||to.call(globalThis,{LitElement:v});const Es=globalThis.litElementPolyfillSupport;Es?.({LitElement:v}),((ro=globalThis.litElementVersions)!==null&&ro!==void 0?ro:globalThis.litElementVersions=[]).push("3.3.2");var Bl=`.uui-text {
20
20
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
21
21
  font-size: 15px;
22
22
  line-height: calc(var(--uui-size-2,6px) * 4);
@@ -120,6 +120,10 @@
120
120
  font-size: var(--uui-size-6,18px);
121
121
  }
122
122
 
123
+ .uui-text a {
124
+ color: var(--uui-color-interactive,#1b264f);
125
+ }
126
+
123
127
  .uui-text a:link,
124
128
  .uui-text a:active {
125
129
  color: var(--uui-color-interactive,#1b264f);
@@ -180,7 +184,7 @@
180
184
  margin-top: var(--uui-size-layout-1,24px);
181
185
  margin-bottom: var(--uui-size-layout-1,24px);
182
186
  }
183
- `;const Xr=Te(Ul);/**
187
+ `;const Xr=Ve(Bl);/**
184
188
  * @license
185
189
  * Copyright 2017 Google LLC
186
190
  * SPDX-License-Identifier: BSD-3-Clause
@@ -188,7 +192,7 @@
188
192
  * @license
189
193
  * Copyright 2017 Google LLC
190
194
  * SPDX-License-Identifier: BSD-3-Clause
191
- */const Dl=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function a(t){return(e,r)=>r!==void 0?((o,i,s)=>{i.constructor.createProperty(s,o)})(t,e,r):Dl(t,e)}/**
195
+ */const Rl=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function a(t){return(e,r)=>r!==void 0?((o,i,s)=>{i.constructor.createProperty(s,o)})(t,e,r):Rl(t,e)}/**
192
196
  * @license
193
197
  * Copyright 2017 Google LLC
194
198
  * SPDX-License-Identifier: BSD-3-Clause
@@ -204,11 +208,11 @@
204
208
  * @license
205
209
  * Copyright 2017 Google LLC
206
210
  * SPDX-License-Identifier: BSD-3-Clause
207
- */function Ll(t){return oo({descriptor:e=>({get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelectorAll(t))!==null&&o!==void 0?o:[]},enumerable:!0,configurable:!0})})}/**
211
+ */function Fl(t){return oo({descriptor:e=>({get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelectorAll(t))!==null&&o!==void 0?o:[]},enumerable:!0,configurable:!0})})}/**
208
212
  * @license
209
213
  * Copyright 2021 Google LLC
210
214
  * SPDX-License-Identifier: BSD-3-Clause
211
- */var so;const Nl=((so=window.HTMLSlotElement)===null||so===void 0?void 0:so.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(r=>r.nodeType===Node.ELEMENT_NODE);function je(t){const{slot:e,selector:r}=t??{};return oo({descriptor:o=>({get(){var i;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(s),u=n!=null?Nl(n,t):[];return r?u.filter(c=>c.matches(r)):u},enumerable:!0,configurable:!0})})}const Hl=h`
215
+ */var so;const Gl=((so=window.HTMLSlotElement)===null||so===void 0?void 0:so.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(r=>r.nodeType===Node.ELEMENT_NODE);function Be(t){const{slot:e,selector:r}=t??{};return oo({descriptor:o=>({get(){var i;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(s),u=n!=null?Gl(n,t):[];return r?u.filter(c=>c.matches(r)):u},enumerable:!0,configurable:!0})})}const ql=d`
212
216
  @keyframes uui-blink {
213
217
  0%,
214
218
  100% {
@@ -218,7 +222,7 @@
218
222
  opacity: 1;
219
223
  }
220
224
  }
221
- `,Ml=Te("uui-blink 0.9s infinite both"),Tl=h`
225
+ `,Wl=Ve("uui-blink 0.9s infinite both"),Kl=d`
222
226
  @keyframes pulse {
223
227
  0% {
224
228
  -webkit-transform: translate(-50%, -50%) scale(0.2);
@@ -236,7 +240,7 @@
236
240
  opacity: 0;
237
241
  }
238
242
  }
239
- `,jl=Te("pulse 0.8s ease-in-out infinite both"),Vl=h`
243
+ `,Xl=Ve("pulse 0.8s ease-in-out infinite both"),Yl=d`
240
244
  @keyframes uui-horizontal-shake {
241
245
  10%,
242
246
  90% {
@@ -259,14 +263,14 @@
259
263
  transform: translateX(2px);
260
264
  }
261
265
  }
262
- `,Bl=Te("uui-horizontal-shake 600ms ease backwards");var Rl=Object.defineProperty,ws=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,xs=(t,e,r)=>e in t?Rl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ql=(t,e)=>{for(var r in e||(e={}))Fl.call(e,r)&&xs(t,r,e[r]);if(ws)for(var r of ws(e))Gl.call(e,r)&&xs(t,r,e[r]);return t};let no=class extends Event{constructor(e,r={}){super(e,ql({},r)),this.detail=r.detail||{}}};var Wl=Object.defineProperty,$s=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Es=(t,e,r)=>e in t?Wl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ps=(t,e)=>{for(var r in e||(e={}))Kl.call(e,r)&&Es(t,r,e[r]);if($s)for(var r of $s(e))Xl.call(e,r)&&Es(t,r,e[r]);return t};let rt=class extends no{constructor(e,r={}){super(e,Ps(Ps({},{bubbles:!0}),r))}};rt.VALID="valid",rt.INVALID="invalid";var Yl=Object.defineProperty,Cs=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,Os=(t,e,r)=>e in t?Yl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ss=(t,e)=>{for(var r in e||(e={}))Zl.call(e,r)&&Os(t,r,e[r]);if(Cs)for(var r of Cs(e))Ql.call(e,r)&&Os(t,r,e[r]);return t};let it=class extends no{constructor(e,r={}){super(e,Ss(Ss({},{bubbles:!0,cancelable:!0}),r))}};it.SELECTED="selected",it.DESELECTED="deselected";var Jl=Object.defineProperty,eu=Object.getOwnPropertyDescriptor,tu=(t,e,r,o)=>{for(var i=o>1?void 0:o?eu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Jl(e,r,i),i};const ru=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return tu([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var iu=Object.defineProperty,ou=Object.getOwnPropertyDescriptor,ks=(t,e,r,o)=>{for(var i=o>1?void 0:o?ou(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&iu(e,r,i),i};const su=(t,e)=>{class r extends e{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
266
+ `,Zl=Ve("uui-horizontal-shake 600ms ease backwards");var Ql=Object.defineProperty,Ps=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,Cs=(t,e,r)=>e in t?Ql(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tu=(t,e)=>{for(var r in e||(e={}))Jl.call(e,r)&&Cs(t,r,e[r]);if(Ps)for(var r of Ps(e))eu.call(e,r)&&Cs(t,r,e[r]);return t};let no=class extends Event{constructor(e,r={}){super(e,tu({},r)),this.detail=r.detail||{}}};var ru=Object.defineProperty,Os=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,Ss=(t,e,r)=>e in t?ru(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ks=(t,e)=>{for(var r in e||(e={}))iu.call(e,r)&&Ss(t,r,e[r]);if(Os)for(var r of Os(e))ou.call(e,r)&&Ss(t,r,e[r]);return t};let it=class extends no{constructor(e,r={}){super(e,ks(ks({},{bubbles:!0}),r))}};it.VALID="valid",it.INVALID="invalid";var su=Object.defineProperty,zs=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,Is=(t,e,r)=>e in t?su(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,As=(t,e)=>{for(var r in e||(e={}))nu.call(e,r)&&Is(t,r,e[r]);if(zs)for(var r of zs(e))au.call(e,r)&&Is(t,r,e[r]);return t};let ot=class extends no{constructor(e,r={}){super(e,As(As({},{bubbles:!0,cancelable:!0}),r))}};ot.SELECTED="selected",ot.DESELECTED="deselected";var lu=Object.defineProperty,uu=Object.getOwnPropertyDescriptor,cu=(t,e,r,o)=>{for(var i=o>1?void 0:o?uu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&lu(e,r,i),i};const hu=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return cu([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var du=Object.defineProperty,pu=Object.getOwnPropertyDescriptor,Us=(t,e,r,o)=>{for(var i=o>1?void 0:o?pu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&du(e,r,i),i};const vu=(t,e)=>{class r extends e{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
263
267
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
264
268
  <slot
265
269
  class="label"
266
270
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
267
271
  name=${t||""}
268
272
  @slotchange=${this.labelSlotChanged}></slot>
269
- `}}return ks([a({type:String})],r.prototype,"label",2),ks([f()],r.prototype,"_labelSlotHasContent",2),r};var nu=Object.defineProperty,au=Object.getOwnPropertyDescriptor,zs=(t,e,r,o)=>{for(var i=o>1?void 0:o?au(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&nu(e,r,i),i};const lu=t=>{class e extends t{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}handleSelectKeydown(o){if(o.composedPath().indexOf(this.selectableTarget)!==-1){if(o.key!==" "&&o.key!=="Enter")return;this._toggleSelect()}}_select(){if(!this.selectable)return;const o=new it(it.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new it(it.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.deselectable===!1?this._select():this.selected?this._deselect():this._select()}}return zs([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),zs([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var uu=Object.defineProperty,cu=Object.getOwnPropertyDescriptor,hu=(t,e,r,o)=>{for(var i=o>1?void 0:o?cu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&uu(e,r,i),i};const du=t=>{class e extends t{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return hu([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var pu=Object.defineProperty,vu=Object.getOwnPropertyDescriptor,ot=(t,e,r,o)=>{for(var i=o>1?void 0:o?vu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&pu(e,r,i),i};const fu=t=>{class e extends t{constructor(...o){super(...o),this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const n={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(n),n}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new rt(rt.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new rt(rt.VALID)))}updated(o){super.updated(o),this._runValidators()}submit(){var o;(o=this._form)==null||o.requestSubmit()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,ot([a({type:String})],e.prototype,"name",2),ot([a()],e.prototype,"value",1),ot([a({type:Boolean,reflect:!0})],e.prototype,"pristine",2),ot([a({type:Boolean,reflect:!0})],e.prototype,"required",2),ot([a({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),ot([a({type:Boolean,reflect:!0})],e.prototype,"error",2),ot([a({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};function bu(t,e){return r=>{if(t.indexOf("-")>0===!1){console.error(`${t} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(t)||window.customElements.define(t,r,e)}}const gu=["default","primary","secondary","outline","placeholder"],mu=["default","positive","warning","danger"];let _u=class{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}};const yu=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},wu=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.pageXOffset,c=s.top+n.pageYOffset,d=i.pageX-u,x=i.pageY-c;e?.onMove&&e.onMove(d,x)}function o(){document.removeEventListener("pointermove",r),document.removeEventListener("pointerup",o),e?.onStop&&e.onStop()}document.addEventListener("pointermove",r,{passive:!0}),document.addEventListener("pointerup",o),e?.initialEvent&&r(e.initialEvent)},xu=(t,e,r)=>Math.min(Math.max(t,e),r),$u=(t,e,r)=>r+e-t,Eu=t=>{const e=Math.round(t).toString(16);return e.length===1?`0${e}`:e};function p(t,e){return r=>{if(t.indexOf("-")>0===!1){console.error(`${t} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(t)||window.customElements.define(t,r,e)}}var Pu=Object.defineProperty,Cu=Object.getOwnPropertyDescriptor,Ou=(t,e,r,o)=>{for(var i=o>1?void 0:o?Cu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Pu(e,r,i),i};let Pt=class extends v{render(){return l`<slot></slot>`}};Pt.styles=[h`
273
+ `}}return Us([a({type:String})],r.prototype,"label",2),Us([f()],r.prototype,"_labelSlotHasContent",2),r};var fu=Object.defineProperty,bu=Object.getOwnPropertyDescriptor,Ds=(t,e,r,o)=>{for(var i=o>1?void 0:o?bu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&fu(e,r,i),i};const gu=t=>{class e extends t{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=i=>{if(this.selectableTarget===this){if(i.key!==" "&&i.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}_select(){if(!this.selectable)return;const o=new ot(ot.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new ot(ot.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return Ds([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Ds([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var mu=Object.defineProperty,_u=Object.getOwnPropertyDescriptor,yu=(t,e,r,o)=>{for(var i=o>1?void 0:o?_u(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&mu(e,r,i),i};const wu=t=>{class e extends t{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return yu([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var xu=Object.defineProperty,$u=Object.getOwnPropertyDescriptor,st=(t,e,r,o)=>{for(var i=o>1?void 0:o?$u(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&xu(e,r,i),i};const Eu=t=>{class e extends t{constructor(...o){super(...o),this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const n={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(n),n}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new it(it.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new it(it.VALID)))}updated(o){super.updated(o),this._runValidators()}submit(){var o;(o=this._form)==null||o.requestSubmit()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,st([a({type:String})],e.prototype,"name",2),st([a()],e.prototype,"value",1),st([a({type:Boolean,reflect:!0})],e.prototype,"pristine",2),st([a({type:Boolean,reflect:!0})],e.prototype,"required",2),st([a({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),st([a({type:Boolean,reflect:!0})],e.prototype,"error",2),st([a({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};function Pu(t,e){return r=>{if(t.indexOf("-")>0===!1){console.error(`${t} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(t)||window.customElements.define(t,r,e)}}const Cu=["default","primary","secondary","outline","placeholder"],Ou=["default","positive","warning","danger"],Su=["h1","h2","h3","h4","h5","h6"];let ku=class{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}};const zu=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},Iu=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let h;i instanceof TouchEvent?h=i.touches[0]:h=i;const m=h.pageX-u,y=h.pageY-c;e?.onMove&&e.onMove(m,y)}function o(){document.removeEventListener("pointermove",r),document.removeEventListener("pointerup",o),e?.onStop&&e.onStop()}document.addEventListener("pointermove",r,{passive:!0}),document.addEventListener("pointerup",o),e?.initialEvent&&r(e.initialEvent)},Au=(t,e,r)=>Math.min(Math.max(t,e),r),Uu=(t,e,r)=>r+e-t,Du=t=>{const e=Math.round(t).toString(16);return e.length===1?`0${e}`:e};function p(t,e){return r=>{if(t.indexOf("-")>0===!1){console.error(`${t} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}window.customElements.get(t)||window.customElements.define(t,r,e)}}var Lu=Object.defineProperty,Nu=Object.getOwnPropertyDescriptor,Hu=(t,e,r,o)=>{for(var i=o>1?void 0:o?Nu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Lu(e,r,i),i};let Pt=class extends v{render(){return l`<slot></slot>`}};Pt.styles=[d`
270
274
  :host {
271
275
  display: inline-flex;
272
276
  align-items: stretch;
@@ -312,7 +316,7 @@
312
316
  ::slotted(*:hover) {
313
317
  z-index: 1;
314
318
  }
315
- `],Pt=Ou([p("uui-button-group")],Pt);var Su=Object.defineProperty,ku=Object.getOwnPropertyDescriptor,zu=(t,e,r,o)=>{for(var i=o>1?void 0:o?ku(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Su(e,r,i),i};let Yr=class extends Pt{};Yr.styles=[...Pt.styles,h`
319
+ `],Pt=Hu([p("uui-button-group")],Pt);var Tu=Object.defineProperty,Mu=Object.getOwnPropertyDescriptor,ju=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Tu(e,r,i),i};let Yr=class extends Pt{};Yr.styles=[...Pt.styles,d`
316
320
  ::slotted(*) {
317
321
  --uui-button-padding-left-factor: 0.5;
318
322
  --uui-button-padding-right-factor: 0.5;
@@ -354,10 +358,10 @@
354
358
  --uui-button-padding-left-factor: 1.5;
355
359
  --uui-button-padding-right-factor: 1.5;
356
360
  }
357
- `],Yr=zu([p("uui-action-bar")],Yr);var Iu=Object.defineProperty,Au=Object.getOwnPropertyDescriptor,Zr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Au(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Iu(e,r,i),i};let st=class extends v{constructor(){super(...arguments),this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(t){t.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((t,e)=>{t.style.display=e<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return l`
361
+ `],Yr=ju([p("uui-action-bar")],Yr);var Vu=Object.defineProperty,Bu=Object.getOwnPropertyDescriptor,Zr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Vu(e,r,i),i};let nt=class extends v{constructor(){super(...arguments),this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(t){t.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((t,e)=>{t.style.display=e<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return l`
358
362
  <slot @slotchange=${this._onSlotChange}></slot>
359
363
  ${this._isLimitExceeded()?l`<small id="overflow-indication">+${this._avatarArray.length-this.limit}</small>`:""}
360
- `}};st.styles=[h`
364
+ `}};nt.styles=[d`
361
365
  :host {
362
366
  display: inline-flex;
363
367
  align-items: center;
@@ -374,7 +378,7 @@
374
378
  #overflow-indication {
375
379
  margin-left: 6px;
376
380
  }
377
- `],Zr([je({selector:"uui-avatar, [uui-avatar]",flatten:!0})],st.prototype,"_avatarNodes",2),Zr([f()],st.prototype,"_avatarArray",2),Zr([a({type:Number,attribute:!0})],st.prototype,"limit",2),st=Zr([p("uui-avatar-group")],st);var Uu=Object.defineProperty,Du=Object.getOwnPropertyDescriptor,Ct=(t,e,r,o)=>{for(var i=o>1?void 0:o?Du(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Uu(e,r,i),i};let Pe=class extends v{constructor(){super(...arguments),this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(t){const e=this._name;this._name=t,this.initials=this.createInitials(this._name),this.requestUpdate("title",e)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(t){let e="";if(!t)return e;const r=t.match(/(\w+)/g);return r?.length?(e=r[0].substring(0,1),r.length>1&&(e+=r[r.length-1].substring(0,1)),e.toUpperCase()):e}renderImage(){return l` <img
381
+ `],Zr([Be({selector:"uui-avatar, [uui-avatar]",flatten:!0})],nt.prototype,"_avatarNodes",2),Zr([f()],nt.prototype,"_avatarArray",2),Zr([a({type:Number,attribute:!0})],nt.prototype,"limit",2),nt=Zr([p("uui-avatar-group")],nt);var Ru=Object.defineProperty,Fu=Object.getOwnPropertyDescriptor,Ct=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ru(e,r,i),i};let Pe=class extends v{constructor(){super(...arguments),this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(t){const e=this._name;this._name=t,this.initials=this.createInitials(this._name),this.requestUpdate("title",e)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(t){let e="";if(!t)return e;const r=t.match(/(\w+)/g);return r?.length?(e=r[0].substring(0,1),r.length>1&&(e+=r[r.length-1].substring(0,1)),e.toUpperCase()):e}renderImage(){return l` <img
378
382
  src="${this.imgSrc}"
379
383
  srcset="${this.imgSrcset}"
380
384
  alt="${this.initials}"
@@ -382,7 +386,7 @@
382
386
  ${this.imgSrc?this.renderImage():""}
383
387
  ${this.imgSrc?"":this.initials}
384
388
  <slot></slot>
385
- `}};Pe.styles=[h`
389
+ `}};Pe.styles=[d`
386
390
  :host {
387
391
  display: inline-flex;
388
392
  align-items: center;
@@ -413,7 +417,7 @@
413
417
  overflow: hidden;
414
418
  border-radius: 50%;
415
419
  }
416
- `],Ct([a({type:Boolean,attribute:!0,reflect:!0})],Pe.prototype,"overflow",2),Ct([a({type:String,attribute:"img-src"})],Pe.prototype,"imgSrc",2),Ct([a({type:String,attribute:"img-srcset"})],Pe.prototype,"imgSrcset",2),Ct([a({type:String,reflect:!0})],Pe.prototype,"name",1),Ct([f()],Pe.prototype,"initials",2),Pe=Ct([p("uui-avatar")],Pe);var Lu=Object.defineProperty,Nu=Object.getOwnPropertyDescriptor,Qr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Nu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Lu(e,r,i),i};let nt=class extends v{constructor(){super(...arguments),this.color="default",this.look="primary",this.attention=!1}render(){return l` <slot></slot> `}};nt.styles=[h`
420
+ `],Ct([a({type:Boolean,attribute:!0,reflect:!0})],Pe.prototype,"overflow",2),Ct([a({type:String,attribute:"img-src"})],Pe.prototype,"imgSrc",2),Ct([a({type:String,attribute:"img-srcset"})],Pe.prototype,"imgSrcset",2),Ct([a({type:String,reflect:!0})],Pe.prototype,"name",1),Ct([f()],Pe.prototype,"initials",2),Pe=Ct([p("uui-avatar")],Pe);var Gu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Qr=(t,e,r,o)=>{for(var i=o>1?void 0:o?qu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Gu(e,r,i),i};let at=class extends v{constructor(){super(...arguments),this.color="default",this.look="primary",this.attention=!1}render(){return l` <slot></slot> `}};at.styles=[d`
417
421
  :host {
418
422
  position: var(--uui-badge-position, absolute);
419
423
  display: flex;
@@ -444,13 +448,13 @@
444
448
  --color-contrast: var(--uui-color-default-contrast,#fff);
445
449
  }
446
450
  :host([color='positive']) {
447
- --color: var(--uui-color-positive,#25aa60);
448
- --color-standalone: var(--uui-color-positive-standalone,rgb(38, 156, 91));
451
+ --color: var(--uui-color-positive,#1f9554);
452
+ --color-standalone: var(--uui-color-positive-standalone,#19864a);
449
453
  --color-contrast: var(--uui-color-positive-contrast,#fff);
450
454
  }
451
455
  :host([color='warning']) {
452
- --color: var(--uui-color-warning,#fad634);
453
- --color-standalone: var(--uui-color-warning-standalone,rgb(224, 193, 51));
456
+ --color: var(--uui-color-warning,#fbd142);
457
+ --color-standalone: var(--uui-color-warning-standalone,#a17700);
454
458
  --color-contrast: var(--uui-color-warning-contrast,#000);
455
459
  }
456
460
  :host([color='danger']) {
@@ -523,14 +527,14 @@
523
527
  animation: none;
524
528
  }
525
529
  }
526
- `],Qr([a({reflect:!0})],nt.prototype,"color",2),Qr([a({reflect:!0})],nt.prototype,"look",2),Qr([a({type:Boolean,reflect:!0})],nt.prototype,"attention",2),nt=Qr([p("uui-badge")],nt);var Hu=Object.defineProperty,Mu=Object.getOwnPropertyDescriptor,Tu=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Hu(e,r,i),i};const lr=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return Tu([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var ju=Object.defineProperty,Vu=Object.getOwnPropertyDescriptor,Is=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ju(e,r,i),i};const ve=(t,e)=>{class r extends e{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
530
+ `],Qr([a({reflect:!0})],at.prototype,"color",2),Qr([a({reflect:!0})],at.prototype,"look",2),Qr([a({type:Boolean,reflect:!0})],at.prototype,"attention",2),at=Qr([p("uui-badge")],at);var Wu=Object.defineProperty,Ku=Object.getOwnPropertyDescriptor,Xu=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ku(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Wu(e,r,i),i};const cr=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return Xu([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var Yu=Object.defineProperty,Zu=Object.getOwnPropertyDescriptor,Ls=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Yu(e,r,i),i};const ve=(t,e)=>{class r extends e{constructor(){super(...arguments),this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return l`
527
531
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
528
532
  <slot
529
533
  class="label"
530
534
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
531
535
  name=${t||""}
532
536
  @slotchange=${this.labelSlotChanged}></slot>
533
- `}}return Is([a({type:String})],r.prototype,"label",2),Is([f()],r.prototype,"_labelSlotHasContent",2),r};var Bu=Object.defineProperty,As=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,Us=(t,e,r)=>e in t?Bu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Gu=(t,e)=>{for(var r in e||(e={}))Ru.call(e,r)&&Us(t,r,e[r]);if(As)for(var r of As(e))Fu.call(e,r)&&Us(t,r,e[r]);return t};let qu=class extends Event{constructor(e,r={}){super(e,Gu({},r)),this.detail=r.detail||{}}};var Wu=Object.defineProperty,Ds=Object.getOwnPropertySymbols,Ku=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,Ls=(t,e,r)=>e in t?Wu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ns=(t,e)=>{for(var r in e||(e={}))Ku.call(e,r)&&Ls(t,r,e[r]);if(Ds)for(var r of Ds(e))Xu.call(e,r)&&Ls(t,r,e[r]);return t};let Ot=class extends qu{constructor(e,r={}){super(e,Ns(Ns({},{bubbles:!0,cancelable:!0}),r))}};Ot.SELECTED="selected",Ot.DESELECTED="deselected";var Yu=Object.defineProperty,Zu=Object.getOwnPropertyDescriptor,Hs=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zu(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Yu(e,r,i),i};const St=t=>{class e extends t{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}handleSelectKeydown(o){if(o.composedPath().indexOf(this.selectableTarget)!==-1){if(o.key!==" "&&o.key!=="Enter")return;this._toggleSelect()}}_select(){if(!this.selectable)return;const o=new Ot(Ot.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new Ot(Ot.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.deselectable===!1?this._select():this.selected?this._deselect():this._select()}}return Hs([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Hs([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var Qu=Object.defineProperty,Ju=Object.getOwnPropertyDescriptor,ec=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ju(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Qu(e,r,i),i};const Jr=t=>{class e extends t{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return ec([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var tc=Object.defineProperty,Ms=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable,Ts=(t,e,r)=>e in t?tc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,oc=(t,e)=>{for(var r in e||(e={}))rc.call(e,r)&&Ts(t,r,e[r]);if(Ms)for(var r of Ms(e))ic.call(e,r)&&Ts(t,r,e[r]);return t};let js=class extends Event{constructor(e,r={}){super(e,oc({},r)),this.detail=r.detail||{}}};var sc=Object.defineProperty,Vs=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,Bs=(t,e,r)=>e in t?sc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Rs=(t,e)=>{for(var r in e||(e={}))nc.call(e,r)&&Bs(t,r,e[r]);if(Vs)for(var r of Vs(e))ac.call(e,r)&&Bs(t,r,e[r]);return t};let kt=class extends js{constructor(e,r={}){super(e,Rs(Rs({},{bubbles:!0}),r))}};kt.VALID="valid",kt.INVALID="invalid";var lc=Object.defineProperty,Fs=Object.getOwnPropertySymbols,uc=Object.prototype.hasOwnProperty,cc=Object.prototype.propertyIsEnumerable,Gs=(t,e,r)=>e in t?lc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qs=(t,e)=>{for(var r in e||(e={}))uc.call(e,r)&&Gs(t,r,e[r]);if(Fs)for(var r of Fs(e))cc.call(e,r)&&Gs(t,r,e[r]);return t};let Ws=class extends js{constructor(e,r={}){super(e,qs(qs({},{bubbles:!0,cancelable:!0}),r))}};Ws.SELECTED="selected",Ws.DESELECTED="deselected";var hc=Object.defineProperty,dc=Object.getOwnPropertyDescriptor,at=(t,e,r,o)=>{for(var i=o>1?void 0:o?dc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&hc(e,r,i),i};const fe=t=>{class e extends t{constructor(...o){super(...o),this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const n={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(n),n}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new kt(kt.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new kt(kt.VALID)))}updated(o){super.updated(o),this._runValidators()}submit(){var o;(o=this._form)==null||o.requestSubmit()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,at([a({type:String})],e.prototype,"name",2),at([a()],e.prototype,"value",1),at([a({type:Boolean,reflect:!0})],e.prototype,"pristine",2),at([a({type:Boolean,reflect:!0})],e.prototype,"required",2),at([a({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),at([a({type:Boolean,reflect:!0})],e.prototype,"error",2),at([a({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};var pc=Object.defineProperty,Ks=Object.getOwnPropertySymbols,vc=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,Xs=(t,e,r)=>e in t?pc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,bc=(t,e)=>{for(var r in e||(e={}))vc.call(e,r)&&Xs(t,r,e[r]);if(Ks)for(var r of Ks(e))fc.call(e,r)&&Xs(t,r,e[r]);return t};class O extends Event{constructor(e,r={}){super(e,bc({},r)),this.detail=r.detail||{}}}var gc=Object.defineProperty,Ys=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,Zs=(t,e,r)=>e in t?gc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Qs=(t,e)=>{for(var r in e||(e={}))mc.call(e,r)&&Zs(t,r,e[r]);if(Ys)for(var r of Ys(e))_c.call(e,r)&&Zs(t,r,e[r]);return t};class zt extends O{constructor(e,r={}){super(e,Qs(Qs({},{bubbles:!0}),r))}}zt.VALID="valid",zt.INVALID="invalid";var yc=Object.defineProperty,Js=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,xc=Object.prototype.propertyIsEnumerable,en=(t,e,r)=>e in t?yc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tn=(t,e)=>{for(var r in e||(e={}))wc.call(e,r)&&en(t,r,e[r]);if(Js)for(var r of Js(e))xc.call(e,r)&&en(t,r,e[r]);return t};class Ve extends O{constructor(e,r={}){super(e,tn(tn({},{bubbles:!0,cancelable:!0}),r))}}Ve.SELECTED="selected",Ve.DESELECTED="deselected";var $c=Object.defineProperty,rn=Object.getOwnPropertySymbols,Ec=Object.prototype.hasOwnProperty,Pc=Object.prototype.propertyIsEnumerable,on=(t,e,r)=>e in t?$c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sn=(t,e)=>{for(var r in e||(e={}))Ec.call(e,r)&&on(t,r,e[r]);if(rn)for(var r of rn(e))Pc.call(e,r)&&on(t,r,e[r]);return t};class ei extends O{constructor(e,r={}){super(e,sn(sn({},{bubbles:!0}),r))}}ei.CHANGE="change";var Cc=Object.defineProperty,Oc=Object.getOwnPropertyDescriptor,ti=(t,e,r,o)=>{for(var i=o>1?void 0:o?Oc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Cc(e,r,i),i};class be extends fe(ve("",v)){constructor(e="checkbox"){super(),this.labelPosition="right",this._checked=!1,this.disabled=!1,this._value===""&&(this._value="on"),this.inputRole=e,this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(e){const r=this._value;this._value=e,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",r)}get checked(){return this._checked}set checked(e){const r=this._checked;this._checked=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",r)}getFormElement(){return this._input}_onKeypress(e){e.key=="Enter"&&this.submit()}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(e){var r;super.firstUpdated(e);const o=(r=this.shadowRoot)==null?void 0:r.querySelector("label");let i=!1;this._input.addEventListener("blur",()=>{i===!1&&this.style.setProperty("--uui-show-focus-outline","1"),i=!1}),o.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),i=!0}),o.addEventListener("mouseup",()=>{i=!1})}focus(){this._input.focus()}click(){this._input.click()}_onInputChange(e){e.stopPropagation(),this.pristine=!1,this.checked=this._input.checked,this.dispatchEvent(new ei(ei.CHANGE))}render(){return l`
537
+ `}}return Ls([a({type:String})],r.prototype,"label",2),Ls([f()],r.prototype,"_labelSlotHasContent",2),r};var Qu=Object.defineProperty,Ns=Object.getOwnPropertySymbols,Ju=Object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,Hs=(t,e,r)=>e in t?Qu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tc=(t,e)=>{for(var r in e||(e={}))Ju.call(e,r)&&Hs(t,r,e[r]);if(Ns)for(var r of Ns(e))ec.call(e,r)&&Hs(t,r,e[r]);return t};let rc=class extends Event{constructor(e,r={}){super(e,tc({},r)),this.detail=r.detail||{}}};var ic=Object.defineProperty,Ts=Object.getOwnPropertySymbols,oc=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable,Ms=(t,e,r)=>e in t?ic(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,js=(t,e)=>{for(var r in e||(e={}))oc.call(e,r)&&Ms(t,r,e[r]);if(Ts)for(var r of Ts(e))sc.call(e,r)&&Ms(t,r,e[r]);return t};let Ot=class extends rc{constructor(e,r={}){super(e,js(js({},{bubbles:!0,cancelable:!0}),r))}};Ot.SELECTED="selected",Ot.DESELECTED="deselected";var nc=Object.defineProperty,ac=Object.getOwnPropertyDescriptor,Vs=(t,e,r,o)=>{for(var i=o>1?void 0:o?ac(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&nc(e,r,i),i};const St=t=>{class e extends t{constructor(...o){super(...o),this._selectable=!1,this.deselectable=!0,this.selected=!1,this.selectableTarget=this,this.handleSelectKeydown=i=>{if(this.selectableTarget===this){if(i.key!==" "&&i.key!=="Enter")return;this._toggleSelect()}},this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.selectableTarget||this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}_select(){if(!this.selectable)return;const o=new Ot(Ot.SELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!0)}_deselect(){if(!this.deselectable)return;const o=new Ot(Ot.DESELECTED);this.dispatchEvent(o),!o.defaultPrevented&&(this.selected=!1)}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.selectable&&(this.deselectable===!1?this._select():this.selected?this._deselect():this._select())}}return Vs([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Vs([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var lc=Object.defineProperty,uc=Object.getOwnPropertyDescriptor,cc=(t,e,r,o)=>{for(var i=o>1?void 0:o?uc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&lc(e,r,i),i};const Jr=t=>{class e extends t{constructor(){super(...arguments),this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return cc([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var hc=Object.defineProperty,Bs=Object.getOwnPropertySymbols,dc=Object.prototype.hasOwnProperty,pc=Object.prototype.propertyIsEnumerable,Rs=(t,e,r)=>e in t?hc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vc=(t,e)=>{for(var r in e||(e={}))dc.call(e,r)&&Rs(t,r,e[r]);if(Bs)for(var r of Bs(e))pc.call(e,r)&&Rs(t,r,e[r]);return t};let Fs=class extends Event{constructor(e,r={}){super(e,vc({},r)),this.detail=r.detail||{}}};var fc=Object.defineProperty,Gs=Object.getOwnPropertySymbols,bc=Object.prototype.hasOwnProperty,gc=Object.prototype.propertyIsEnumerable,qs=(t,e,r)=>e in t?fc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ws=(t,e)=>{for(var r in e||(e={}))bc.call(e,r)&&qs(t,r,e[r]);if(Gs)for(var r of Gs(e))gc.call(e,r)&&qs(t,r,e[r]);return t};let kt=class extends Fs{constructor(e,r={}){super(e,Ws(Ws({},{bubbles:!0}),r))}};kt.VALID="valid",kt.INVALID="invalid";var mc=Object.defineProperty,Ks=Object.getOwnPropertySymbols,_c=Object.prototype.hasOwnProperty,yc=Object.prototype.propertyIsEnumerable,Xs=(t,e,r)=>e in t?mc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ys=(t,e)=>{for(var r in e||(e={}))_c.call(e,r)&&Xs(t,r,e[r]);if(Ks)for(var r of Ks(e))yc.call(e,r)&&Xs(t,r,e[r]);return t};let Zs=class extends Fs{constructor(e,r={}){super(e,Ys(Ys({},{bubbles:!0,cancelable:!0}),r))}};Zs.SELECTED="selected",Zs.DESELECTED="deselected";var wc=Object.defineProperty,xc=Object.getOwnPropertyDescriptor,lt=(t,e,r,o)=>{for(var i=o>1?void 0:o?xc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&wc(e,r,i),i};const fe=t=>{class e extends t{constructor(...o){super(...o),this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const n={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(n),n}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new kt(kt.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new kt(kt.VALID)))}updated(o){super.updated(o),this._runValidators()}submit(){var o;(o=this._form)==null||o.requestSubmit()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,lt([a({type:String})],e.prototype,"name",2),lt([a()],e.prototype,"value",1),lt([a({type:Boolean,reflect:!0})],e.prototype,"pristine",2),lt([a({type:Boolean,reflect:!0})],e.prototype,"required",2),lt([a({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),lt([a({type:Boolean,reflect:!0})],e.prototype,"error",2),lt([a({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};var $c=Object.defineProperty,Qs=Object.getOwnPropertySymbols,Ec=Object.prototype.hasOwnProperty,Pc=Object.prototype.propertyIsEnumerable,Js=(t,e,r)=>e in t?$c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Cc=(t,e)=>{for(var r in e||(e={}))Ec.call(e,r)&&Js(t,r,e[r]);if(Qs)for(var r of Qs(e))Pc.call(e,r)&&Js(t,r,e[r]);return t};class O extends Event{constructor(e,r={}){super(e,Cc({},r)),this.detail=r.detail||{}}}var Oc=Object.defineProperty,en=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,kc=Object.prototype.propertyIsEnumerable,tn=(t,e,r)=>e in t?Oc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,rn=(t,e)=>{for(var r in e||(e={}))Sc.call(e,r)&&tn(t,r,e[r]);if(en)for(var r of en(e))kc.call(e,r)&&tn(t,r,e[r]);return t};class zt extends O{constructor(e,r={}){super(e,rn(rn({},{bubbles:!0}),r))}}zt.VALID="valid",zt.INVALID="invalid";var zc=Object.defineProperty,on=Object.getOwnPropertySymbols,Ic=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,sn=(t,e,r)=>e in t?zc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,nn=(t,e)=>{for(var r in e||(e={}))Ic.call(e,r)&&sn(t,r,e[r]);if(on)for(var r of on(e))Ac.call(e,r)&&sn(t,r,e[r]);return t};class Re extends O{constructor(e,r={}){super(e,nn(nn({},{bubbles:!0,cancelable:!0}),r))}}Re.SELECTED="selected",Re.DESELECTED="deselected";var Uc=Object.defineProperty,an=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty,Lc=Object.prototype.propertyIsEnumerable,ln=(t,e,r)=>e in t?Uc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,un=(t,e)=>{for(var r in e||(e={}))Dc.call(e,r)&&ln(t,r,e[r]);if(an)for(var r of an(e))Lc.call(e,r)&&ln(t,r,e[r]);return t};class ei extends O{constructor(e,r={}){super(e,un(un({},{bubbles:!0}),r))}}ei.CHANGE="change";var Nc=Object.defineProperty,Hc=Object.getOwnPropertyDescriptor,ti=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Nc(e,r,i),i};class be extends fe(ve("",v)){constructor(e="checkbox"){super(),this.labelPosition="right",this._checked=!1,this.disabled=!1,this._value===""&&(this._value="on"),this.inputRole=e,this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(e){const r=this._value;this._value=e,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",r)}get checked(){return this._checked}set checked(e){const r=this._checked;this._checked=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",r)}getFormElement(){return this._input}_onKeypress(e){e.key=="Enter"&&this.submit()}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(e){var r;super.firstUpdated(e);const o=(r=this.shadowRoot)==null?void 0:r.querySelector("label");let i=!1;this._input.addEventListener("blur",()=>{i===!1&&this.style.setProperty("--uui-show-focus-outline","1"),i=!1}),o.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),i=!0}),o.addEventListener("mouseup",()=>{i=!1})}focus(){this._input.focus()}click(){this._input.click()}_onInputChange(e){e.stopPropagation(),this.pristine=!1,this.checked=this._input.checked,this.dispatchEvent(new ei(ei.CHANGE))}render(){return l`
534
538
  <label>
535
539
  <input
536
540
  id="input"
@@ -543,7 +547,7 @@
543
547
  role="${this.inputRole}" />
544
548
  ${this.renderCheckbox()} ${this.renderLabel()}
545
549
  </label>
546
- `}}be.styles=[h`
550
+ `}}be.styles=[d`
547
551
  :host {
548
552
  display: inline-block;
549
553
  }
@@ -583,21 +587,27 @@
583
587
  :host([disabled]) .label {
584
588
  opacity: 0.5;
585
589
  }
586
- `],ti([a({type:String,attribute:"label-position",reflect:!0})],be.prototype,"labelPosition",2),ti([a({type:Boolean})],be.prototype,"checked",1),ti([a({type:Boolean,reflect:!0})],be.prototype,"disabled",2),ti([C("#input")],be.prototype,"_input",2);var Sc=Object.defineProperty,kc=Object.getOwnPropertyDescriptor,ri=(t,e,r,o)=>{for(var i=o>1?void 0:o?kc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Sc(e,r,i),i};let lt=class extends v{constructor(){super(...arguments),this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._headerSlotHasContent=!1,this._headerSlotChanged=t=>{this._headerSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeader(){return l`<div
590
+ `],ti([a({type:String,attribute:"label-position",reflect:!0})],be.prototype,"labelPosition",2),ti([a({type:Boolean})],be.prototype,"checked",1),ti([a({type:Boolean,reflect:!0})],be.prototype,"disabled",2),ti([C("#input")],be.prototype,"_input",2);/**
591
+ * @license
592
+ * Copyright 2020 Google LLC
593
+ * SPDX-License-Identifier: BSD-3-Clause
594
+ */const ao=Symbol.for(""),Tc=t=>{if(t?.r===ao)return t?._$litStatic$},Mc=t=>({_$litStatic$:t,r:ao}),cn=(t,...e)=>({_$litStatic$:e.reduce((r,o,i)=>r+(s=>{if(s._$litStatic$!==void 0)return s._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${s}. Use 'unsafeStatic' to pass non-literal values, but
595
+ take care to ensure page security.`)})(o)+t[i+1],t[0]),r:ao}),hn=new Map,jc=t=>(e,...r)=>{const o=r.length;let i,s;const n=[],u=[];let c,h=0,m=!1;for(;h<o;){for(c=e[h];h<o&&(s=r[h],(i=Tc(s))!==void 0);)c+=i+e[++h],m=!0;h!==o&&u.push(s),n.push(c),h++}if(h===o&&n.push(e[o]),m){const y=n.join("$$lit$$");(e=hn.get(y))===void 0&&(n.raw=n,hn.set(y,e=n)),r=u}return t(e,...r)},dn=jc(l);var Vc=Object.defineProperty,Bc=Object.getOwnPropertyDescriptor,It=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Vc(e,r,i),i};let Ce=class extends v{constructor(){super(...arguments),this.headline=null,this._headlineVariantTag=cn`h5`,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._headerSlotHasContent=!1,this._headerSlotChanged=t=>{this._headerSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}set headlineVariant(t){t?this._headlineVariantTag=Mc(t):this._headlineVariantTag=cn`h5`}renderHeader(){return dn`<div
587
596
  id="header"
588
597
  class="uui-text"
589
598
  style=${this._headerSlotHasContent||this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
590
- <h5
599
+ <${this._headlineVariantTag}
591
600
  id="headline"
601
+ class="uui-h5"
592
602
  style=${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
593
603
  ${this.headline}
594
604
  <slot name="headline" @slotchange=${this._headlineSlotChanged}></slot>
595
- </h5>
605
+ </${this._headlineVariantTag}>
596
606
  <slot name="header" @slotchange=${this._headerSlotChanged}></slot>
597
- </div>`}render(){return l`
607
+ </div>`}render(){return dn`
598
608
  ${this.renderHeader()}
599
609
  <slot></slot>
600
- `}};lt.styles=[Xr,h`
610
+ `}};Ce.styles=[Xr,d`
601
611
  :host {
602
612
  display: block;
603
613
  box-shadow: var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,0.12) , 0 1px 2px rgba(0,0,0,0.24));
@@ -615,8 +625,8 @@
615
625
  display: block;
616
626
  padding: var(--uui-box-default-padding, var(--uui-size-space-5,18px));
617
627
  }
618
- `],ri([a({type:String})],lt.prototype,"headline",2),ri([f()],lt.prototype,"_headlineSlotHasContent",2),ri([f()],lt.prototype,"_headerSlotHasContent",2),lt=ri([p("uui-box")],lt);var zc=Object.defineProperty,Ic=Object.getOwnPropertyDescriptor,ao=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ic(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&zc(e,r,i),i};let ut=class extends v{constructor(){super(...arguments),this.href="#",this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){return l`<a id="link" href=${this.href}><slot></slot></a
619
- ><span part="separator"></span>`}renderCurrent(){return l`<span id="last-item"><slot></slot></span>`}render(){return l`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}};ut.styles=[h`
628
+ `],It([a({type:String})],Ce.prototype,"headline",2),It([a({attribute:"headline-variant"})],Ce.prototype,"headlineVariant",1),It([f()],Ce.prototype,"_headlineVariantTag",2),It([f()],Ce.prototype,"_headlineSlotHasContent",2),It([f()],Ce.prototype,"_headerSlotHasContent",2),Ce=It([p("uui-box")],Ce);var Rc=Object.defineProperty,Fc=Object.getOwnPropertyDescriptor,lo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Rc(e,r,i),i};let ut=class extends v{constructor(){super(...arguments),this.href="#",this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){return l`<a id="link" href=${this.href}><slot></slot></a
629
+ ><span part="separator"></span>`}renderCurrent(){return l`<span id="last-item"><slot></slot></span>`}render(){return l`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}};ut.styles=[d`
620
630
  :host {
621
631
  font-size: var(--uui-type-small-size,12px);
622
632
  color: currentColor;
@@ -654,9 +664,9 @@
654
664
  #link {
655
665
  cursor: pointer;
656
666
  }
657
- `],ao([a()],ut.prototype,"href",2),ao([a({type:Boolean,attribute:"last-item"})],ut.prototype,"lastItem",2),ut=ao([p("uui-breadcrumb-item")],ut);var Ac=Object.defineProperty,Uc=Object.getOwnPropertyDescriptor,nn=(t,e,r,o)=>{for(var i=o>1?void 0:o?Uc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ac(e,r,i),i};let ur=class extends v{elementIsBreadcrumbItem(t){return t instanceof ut}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const t=this.slotNodes[this.slotNodes.length-1];t.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(t)&&(t.lastItem=!0)}}render(){return l`<ol id="breadcrumbs-list">
667
+ `],lo([a()],ut.prototype,"href",2),lo([a({type:Boolean,attribute:"last-item"})],ut.prototype,"lastItem",2),ut=lo([p("uui-breadcrumb-item")],ut);var Gc=Object.defineProperty,qc=Object.getOwnPropertyDescriptor,pn=(t,e,r,o)=>{for(var i=o>1?void 0:o?qc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Gc(e,r,i),i};let hr=class extends v{elementIsBreadcrumbItem(t){return t instanceof ut}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const t=this.slotNodes[this.slotNodes.length-1];t.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(t)&&(t.lastItem=!0)}}render(){return l`<ol id="breadcrumbs-list">
658
668
  <slot @slotchange=${this.handleSlotChange}></slot>
659
- </ol>`}};ur.styles=[h`
669
+ </ol>`}};hr.styles=[d`
660
670
  :host {
661
671
  display: flex;
662
672
  }
@@ -670,7 +680,7 @@
670
680
  margin-inline-end: 0px;
671
681
  padding-inline-start: 0px;
672
682
  }
673
- `],nn([je({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],ur.prototype,"slotNodes",2),ur=nn([p("uui-breadcrumbs")],ur);const Dc=h`
683
+ `],pn([Be({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],hr.prototype,"slotNodes",2),hr=pn([p("uui-breadcrumbs")],hr);const Wc=d`
674
684
  @keyframes uui-blink {
675
685
  0%,
676
686
  100% {
@@ -680,7 +690,7 @@
680
690
  opacity: 1;
681
691
  }
682
692
  }
683
- `,Lc=Te("uui-blink 0.9s infinite both"),an=h`
693
+ `,Kc=Ve("uui-blink 0.9s infinite both"),vn=d`
684
694
  @keyframes pulse {
685
695
  0% {
686
696
  -webkit-transform: translate(-50%, -50%) scale(0.2);
@@ -698,7 +708,7 @@
698
708
  opacity: 0;
699
709
  }
700
710
  }
701
- `;Te("pulse 0.8s ease-in-out infinite both");const ii=h`
711
+ `;Ve("pulse 0.8s ease-in-out infinite both");const ri=d`
702
712
  @keyframes uui-horizontal-shake {
703
713
  10%,
704
714
  90% {
@@ -721,15 +731,15 @@
721
731
  transform: translateX(2px);
722
732
  }
723
733
  }
724
- `,oi=Te("uui-horizontal-shake 600ms ease backwards");/**
734
+ `,ii=Ve("uui-horizontal-shake 600ms ease backwards");/**
725
735
  * @license
726
736
  * Copyright 2017 Google LLC
727
737
  * SPDX-License-Identifier: BSD-3-Clause
728
- */const ae={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},It=t=>(...e)=>({_$litDirective$:t,values:e});let At=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};/**
738
+ */const le={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},At=t=>(...e)=>({_$litDirective$:t,values:e});let Ut=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};/**
729
739
  * @license
730
740
  * Copyright 2018 Google LLC
731
741
  * SPDX-License-Identifier: BSD-3-Clause
732
- */const ln="important",Nc=" !"+ln,ge=It(class extends At{constructor(t){var e;if(super(t),t.type!==ae.ATTRIBUTE||t.name!=="style"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:r}=t.element;if(this.ut===void 0){this.ut=new Set;for(const o in e)this.ut.add(o);return this.render(e)}this.ut.forEach(o=>{e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]="")});for(const o in e){const i=e[o];if(i!=null){this.ut.add(o);const s=typeof i=="string"&&i.endsWith(Nc);o.includes("-")||s?r.setProperty(o,s?i.slice(0,-11):i,s?ln:""):r[o]=i}}return F}});var Hc=Object.defineProperty,un=Object.getOwnPropertySymbols,Mc=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,cn=(t,e,r)=>e in t?Hc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,hn=(t,e)=>{for(var r in e||(e={}))Mc.call(e,r)&&cn(t,r,e[r]);if(un)for(var r of un(e))Tc.call(e,r)&&cn(t,r,e[r]);return t};class si extends O{constructor(e,r={}){super(e,hn(hn({},{bubbles:!0,composed:!0}),r))}}si.CLICK="click";var jc=Object.defineProperty,Vc=Object.getOwnPropertyDescriptor,ni=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&jc(e,r,i),i};let ct=class extends v{constructor(){super(...arguments),this._position=0,this.vertical=!1}_onMouseMove(t){this._position=this.vertical?t.offsetY:t.offsetX}_handleClick(t){t.preventDefault(),t.stopImmediatePropagation(),this.dispatchEvent(new si(si.CLICK))}render(){return l`
742
+ */const fn="important",Xc=" !"+fn,ge=At(class extends Ut{constructor(t){var e;if(super(t),t.type!==le.ATTRIBUTE||t.name!=="style"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:r}=t.element;if(this.ht===void 0){this.ht=new Set;for(const o in e)this.ht.add(o);return this.render(e)}this.ht.forEach(o=>{e[o]==null&&(this.ht.delete(o),o.includes("-")?r.removeProperty(o):r[o]="")});for(const o in e){const i=e[o];if(i!=null){this.ht.add(o);const s=typeof i=="string"&&i.endsWith(Xc);o.includes("-")||s?r.setProperty(o,s?i.slice(0,-11):i,s?fn:""):r[o]=i}}return F}});var Yc=Object.defineProperty,bn=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Qc=Object.prototype.propertyIsEnumerable,gn=(t,e,r)=>e in t?Yc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,mn=(t,e)=>{for(var r in e||(e={}))Zc.call(e,r)&&gn(t,r,e[r]);if(bn)for(var r of bn(e))Qc.call(e,r)&&gn(t,r,e[r]);return t};class oi extends O{constructor(e,r={}){super(e,mn(mn({},{bubbles:!0,composed:!0}),r))}}oi.CLICK="click";var Jc=Object.defineProperty,eh=Object.getOwnPropertyDescriptor,si=(t,e,r,o)=>{for(var i=o>1?void 0:o?eh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Jc(e,r,i),i};let ct=class extends v{constructor(){super(...arguments),this._position=0,this.vertical=!1}_onMouseMove(t){this._position=this.vertical?t.offsetY:t.offsetX}_handleClick(t){t.preventDefault(),t.stopImmediatePropagation(),this.dispatchEvent(new oi(oi.CLICK))}render(){return l`
733
743
  <button
734
744
  id="button-wrapper"
735
745
  @mousemove=${this._onMouseMove}
@@ -747,7 +757,7 @@
747
757
  </svg>
748
758
  </div>
749
759
  </button>
750
- `}};ct.styles=[Dc,h`
760
+ `}};ct.styles=[Wc,d`
751
761
  :host {
752
762
  display: flex;
753
763
  position: relative;
@@ -801,7 +811,7 @@
801
811
  :host(:focus) #button-wrapper:before,
802
812
  :host(:focus-within) #button-wrapper:before,
803
813
  :host(:hover) #button-wrapper:before {
804
- animation: ${Lc};
814
+ animation: ${Kc};
805
815
  background-color: var(--uui-color-interactive-emphasis,#3544b1);
806
816
  border-color: var(--uui-color-surface,#fff) !important;
807
817
  }
@@ -897,25 +907,25 @@
897
907
  #button-wrapper:active #plus {
898
908
  transform: scale(1.1);
899
909
  }
900
- `],ni([f()],ct.prototype,"_position",2),ni([a({type:String})],ct.prototype,"label",2),ni([a({type:Boolean,reflect:!0})],ct.prototype,"vertical",2),ct=ni([p("uui-button-inline-create")],ct);class Bc{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const m=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},dn=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.pageXOffset,c=s.top+n.pageYOffset,d=i.pageX-u,x=i.pageY-c;e?.onMove&&e.onMove(d,x)}function o(){document.removeEventListener("pointermove",r),document.removeEventListener("pointerup",o),e?.onStop&&e.onStop()}document.addEventListener("pointermove",r,{passive:!0}),document.addEventListener("pointerup",o),e?.initialEvent&&r(e.initialEvent)},D=(t,e,r)=>Math.min(Math.max(t,e),r),pn=(t,e,r)=>r+e-t,ai=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
910
+ `],si([f()],ct.prototype,"_position",2),si([a({type:String})],ct.prototype,"label",2),si([a({type:Boolean,reflect:!0})],ct.prototype,"vertical",2),ct=si([p("uui-button-inline-create")],ct);class th{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const _=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},_n=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.scrollX,c=s.top+n.scrollY;let h;i instanceof TouchEvent?h=i.touches[0]:h=i;const m=h.pageX-u,y=h.pageY-c;e?.onMove&&e.onMove(m,y)}function o(){document.removeEventListener("pointermove",r),document.removeEventListener("pointerup",o),e?.onStop&&e.onStop()}document.addEventListener("pointermove",r,{passive:!0}),document.addEventListener("pointerup",o),e?.initialEvent&&r(e.initialEvent)},L=(t,e,r)=>Math.min(Math.max(t,e),r),yn=(t,e,r)=>r+e-t,ni=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
901
911
  <path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/>
902
- </svg>`,Rc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,Fc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,Gc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,vn=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,qc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,Wc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,Kc=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,fn=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
912
+ </svg>`,rh=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,ih=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,oh=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,wn=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,sh=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,nh=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,ah=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,xn=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
903
913
  <path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/>
904
914
  </svg>`;/**
905
915
  * @license
906
916
  * Copyright 2018 Google LLC
907
917
  * SPDX-License-Identifier: BSD-3-Clause
908
- */const L=t=>t??E;var Xc=Object.defineProperty,Yc=Object.getOwnPropertyDescriptor,me=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Xc(e,r,i),i};let W=class extends fe(ve("",v)){constructor(){super(),this.type="button",this.disabled=!1,this.look="default",this.color="default",this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}_onHostClick(t){var e;if(this.disabled){t.preventDefault(),t.stopImmediatePropagation();return}if((e=this._internals)!=null&&e.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}}updated(t){super.updated(t),t.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let t=l``;switch(this.state){case"waiting":m(this,"uui-loader-circle"),t=l`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":m(this,"uui-icon"),t=l`<uui-icon
918
+ */const I=t=>t??x;var lh=Object.defineProperty,uh=Object.getOwnPropertyDescriptor,me=(t,e,r,o)=>{for(var i=o>1?void 0:o?uh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&lh(e,r,i),i};let W=class extends fe(ve("",v)){constructor(){super(),this.type="button",this.disabled=!1,this.look="default",this.color="default",this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}_onHostClick(t){var e;if(this.disabled){t.preventDefault(),t.stopImmediatePropagation();return}if((e=this._internals)!=null&&e.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}}updated(t){super.updated(t),t.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let t;switch(this.state){case"waiting":_(this,"uui-loader-circle"),t=l`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":_(this,"uui-icon"),t=l`<uui-icon
909
919
  name="check"
910
- .fallback=${ai.strings[0]}></uui-icon>`;break;case"failed":m(this,"uui-icon"),t=l`<uui-icon
920
+ .fallback=${ni.strings[0]}></uui-icon>`;break;case"failed":_(this,"uui-icon"),t=l`<uui-icon
911
921
  name="wrong"
912
- .fallback=${fn.strings[0]}></uui-icon>`;break;default:return""}return l`<div id="state">${t}</div>`}render(){return this.href?l`
922
+ .fallback=${xn.strings[0]}></uui-icon>`;break;default:return x}return l`<div id="state">${t}</div>`}render(){return this.href?l`
913
923
  <a
914
924
  id="button"
915
925
  aria-label=${this.label}
916
- href=${L(this.disabled?void 0:this.href)}
917
- target=${L(this.target||void 0)}
918
- rel=${L(this.target==="_blank"?"noopener noreferrer":void 0)}>
926
+ href=${I(this.disabled?void 0:this.href)}
927
+ target=${I(this.target||void 0)}
928
+ rel=${I(this.target==="_blank"?"noopener noreferrer":void 0)}>
919
929
  ${this.renderState()} ${this.renderLabel()}
920
930
  <slot name="extra"></slot>
921
931
  </a>
@@ -927,7 +937,7 @@
927
937
  ${this.renderState()} ${this.renderLabel()}
928
938
  <slot name="extra"></slot>
929
939
  </button>
930
- `}};W.styles=[ii,h`
940
+ `}};W.styles=[ri,d`
931
941
  :host {
932
942
  position: relative;
933
943
  display: inline-flex;
@@ -991,7 +1001,7 @@
991
1001
 
992
1002
  display: inline-flex;
993
1003
  align-items: center;
994
- justify-content: center;
1004
+ justify-content: var(--uui-button-content-align, center);
995
1005
 
996
1006
  /* for anchor tag: */
997
1007
  text-decoration: none;
@@ -1015,7 +1025,7 @@
1015
1025
  }
1016
1026
  button[disabled]:active,
1017
1027
  a:not([href]):active {
1018
- animation: ${oi};
1028
+ animation: ${ii};
1019
1029
  }
1020
1030
  #icon-check,
1021
1031
  #icon-wrong {
@@ -1052,9 +1062,9 @@
1052
1062
  }
1053
1063
 
1054
1064
  /* edge case for default color */
1055
- :host(:not([color]):not([look='primary'])) #button,
1056
- :host([color='']:not([look='primary'])) #button,
1057
- :host([color='default']:not([look='primary'])) #button {
1065
+ :host(:not([color]):not([look='primary'])),
1066
+ :host([color='']:not([look='primary'])),
1067
+ :host([color='default']:not([look='primary'])) {
1058
1068
  --uui-button-contrast-hover: var(--uui-color-default-emphasis,#3544b1);
1059
1069
  }
1060
1070
 
@@ -1071,14 +1081,14 @@
1071
1081
  --color-contrast: var(--uui-color-default-contrast,#fff);
1072
1082
  }
1073
1083
  :host([color='positive']) #button {
1074
- --color: var(--uui-color-positive,#25aa60);
1075
- --color-standalone: var(--uui-color-positive-standalone,rgb(38, 156, 91));
1076
- --color-emphasis: var(--uui-color-positive-emphasis,rgb(43, 197, 112));
1084
+ --color: var(--uui-color-positive,#1f9554);
1085
+ --color-standalone: var(--uui-color-positive-standalone,#19864a);
1086
+ --color-emphasis: var(--uui-color-positive-emphasis,#2ca964);
1077
1087
  --color-contrast: var(--uui-color-positive-contrast,#fff);
1078
1088
  }
1079
1089
  :host([color='warning']) #button {
1080
- --color: var(--uui-color-warning,#fad634);
1081
- --color-standalone: var(--uui-color-warning-standalone,rgb(224, 193, 51));
1090
+ --color: var(--uui-color-warning,#fbd142);
1091
+ --color-standalone: var(--uui-color-warning-standalone,#a17700);
1082
1092
  --color-emphasis: var(--uui-color-warning-emphasis,rgb(251, 224, 101));
1083
1093
  --color-contrast: var(--uui-color-warning-contrast,#000);
1084
1094
  }
@@ -1179,18 +1189,18 @@
1179
1189
  :host([look='outline']) #button {
1180
1190
  background-color: var(--uui-button-background-color, transparent);
1181
1191
  color: var(--uui-button-contrast, var(--color-standalone));
1182
- border-color: var(--uui-button-border-color, --color-standalone);
1192
+ border-color: var(
1193
+ --uui-button-border-color,
1194
+ var(--uui-color-border-standalone,#c2c2c2)
1195
+ );
1183
1196
 
1184
1197
  /* special for outline: */
1185
1198
  font-weight: var(--uui-button-font-weight, 700);
1186
1199
  }
1187
1200
  :host([look='outline']:not([disabled]):hover) #button {
1188
1201
  background-color: var(--uui-button-background-color-hover, transparent);
1189
- color: var(--uui-button-contrast-hover, var(--color-emphasis));
1190
- border-color: var(
1191
- --uui-button-border-color-hover,
1192
- var(--color-emphasis)
1193
- );
1202
+ color: var(--uui-button-contrast-hover, var(--color-standalone));
1203
+ border-color: var(--uui-button-border-color-hover);
1194
1204
  }
1195
1205
  :host([look='outline'][disabled]) #button {
1196
1206
  background-color: var(
@@ -1217,7 +1227,7 @@
1217
1227
  :host([look='placeholder']:not([disabled]):hover) #button {
1218
1228
  background-color: var(--uui-button-background-color-hover, transparent);
1219
1229
  color: var(--uui-button-contrast-hover, var(--color-standalone));
1220
- border-color: var(--uui-button-border-color-hover, --color-standalone);
1230
+ border-color: var(--uui-button-border-color-hover);
1221
1231
  }
1222
1232
  :host([look='placeholder'][disabled]) #button {
1223
1233
  background-color: var(
@@ -1230,7 +1240,7 @@
1230
1240
  var(--color-standalone)
1231
1241
  );
1232
1242
  }
1233
- `],me([a({type:String,reflect:!0})],W.prototype,"type",2),me([a({type:Boolean,reflect:!0})],W.prototype,"disabled",2),me([a({reflect:!0})],W.prototype,"look",2),me([a({reflect:!0})],W.prototype,"color",2),me([a({type:Boolean,reflect:!0})],W.prototype,"compact",2),me([a({type:String,reflect:!0})],W.prototype,"state",2),me([a({type:String})],W.prototype,"href",2),me([a({type:String})],W.prototype,"target",2),me([C("#button")],W.prototype,"_button",2),W=me([p("uui-button")],W);class Ut extends O{}Ut.OPEN="open";var Zc=Object.defineProperty,Qc=Object.getOwnPropertyDescriptor,lo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Qc(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Zc(e,r,i),i};let J=class extends Jr(St(v)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(t){this.disabled||(t.stopPropagation(),this.dispatchEvent(new Ut(Ut.OPEN)))}handleOpenKeydown(t){this.disabled||t.key==="Enter"&&(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Ut(Ut.OPEN)))}};J.styles=[h`
1243
+ `],me([a({type:String,reflect:!0})],W.prototype,"type",2),me([a({type:Boolean,reflect:!0})],W.prototype,"disabled",2),me([a({reflect:!0})],W.prototype,"look",2),me([a({reflect:!0})],W.prototype,"color",2),me([a({type:Boolean,reflect:!0})],W.prototype,"compact",2),me([a({type:String,reflect:!0})],W.prototype,"state",2),me([a({type:String})],W.prototype,"href",2),me([a({type:String})],W.prototype,"target",2),me([C("#button")],W.prototype,"_button",2),W=me([p("uui-button")],W);class Dt extends O{}Dt.OPEN="open";var ch=Object.defineProperty,hh=Object.getOwnPropertyDescriptor,uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?hh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ch(e,r,i),i};let J=class extends Jr(St(v)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(t){this.disabled||(t.stopPropagation(),this.dispatchEvent(new Dt(Dt.OPEN)))}handleOpenKeydown(t){this.disabled||t.key==="Enter"&&(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Dt(Dt.OPEN)))}};J.styles=[d`
1234
1244
  :host {
1235
1245
  position: relative;
1236
1246
  display: flex;
@@ -1309,10 +1319,10 @@
1309
1319
  :host([select-only]) ::slotted(*) {
1310
1320
  pointer-events: none;
1311
1321
  }
1312
- `],lo([a({type:Boolean,reflect:!0,attribute:"disabled"})],J.prototype,"disabled",2),lo([a({type:Boolean,reflect:!0})],J.prototype,"error",2),J=lo([p("uui-card")],J);var Jc=Object.defineProperty,eh=Object.getOwnPropertyDescriptor,uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?eh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Jc(e,r,i),i};let Dt=class extends J{constructor(){super(...arguments),this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return m(this,"uui-icon"),l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
1322
+ `],uo([a({type:Boolean,reflect:!0,attribute:"disabled"})],J.prototype,"disabled",2),uo([a({type:Boolean,reflect:!0})],J.prototype,"error",2),J=uo([p("uui-card")],J);var dh=Object.defineProperty,ph=Object.getOwnPropertyDescriptor,co=(t,e,r,o)=>{for(var i=o>1?void 0:o?ph(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&dh(e,r,i),i};let Lt=class extends J{constructor(){super(...arguments),this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return _(this,"uui-icon"),l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
1313
1323
  <div
1314
1324
  id="open-part"
1315
- tabindex=${this.disabled?E:0}
1325
+ tabindex=${this.disabled?x:0}
1316
1326
  @click=${this.handleOpenClick}
1317
1327
  @keydown=${this.handleOpenKeydown}>
1318
1328
  <span id="icon">
@@ -1327,7 +1337,7 @@
1327
1337
  <slot></slot>
1328
1338
  <slot name="tag"></slot>
1329
1339
  <slot name="actions"></slot>
1330
- `}};Dt.styles=[...J.styles,h`
1340
+ `}};Lt.styles=[...J.styles,d`
1331
1341
  :host {
1332
1342
  min-width: 250px;
1333
1343
  flex-direction: column;
@@ -1395,14 +1405,14 @@
1395
1405
  #name {
1396
1406
  margin-top: 4px;
1397
1407
  }
1398
- `],uo([a({type:String})],Dt.prototype,"name",2),uo([f()],Dt.prototype,"_iconSlotHasContent",2),Dt=uo([p("uui-card-content-node")],Dt);var th=Object.defineProperty,rh=Object.getOwnPropertyDescriptor,ih=(t,e,r,o)=>{for(var i=o>1?void 0:o?rh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&th(e,r,i),i};let li=class extends v{render(){return l`<svg
1408
+ `],co([a({type:String})],Lt.prototype,"name",2),co([f()],Lt.prototype,"_iconSlotHasContent",2),Lt=co([p("uui-card-content-node")],Lt);var vh=Object.defineProperty,fh=Object.getOwnPropertyDescriptor,bh=(t,e,r,o)=>{for(var i=o>1?void 0:o?fh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&vh(e,r,i),i};let ai=class extends v{render(){return l`<svg
1399
1409
  xmlns="http://www.w3.org/2000/svg"
1400
1410
  viewBox="0 0 512 512"
1401
1411
  width="100%"
1402
1412
  id="icon">
1403
1413
  <path
1404
1414
  d="M450.962 169.833v-19.248c0-23.398-19.035-42.436-42.434-42.436H257.306c-5.885-16.926-21.99-29.1-40.885-29.1h-89.758c-20.545 0-37.795 14.391-42.191 33.623-13.891 7.016-23.486 21.45-23.486 37.912V169.897c-7.148 7.774-11.443 18.122-11.443 29.287v.956l.062.953c.045.704 4.639 70.713 5.469 95.492l3.137 93.62c.033 6.024.682 14.788 5.271 23.301 6.564 12.175 19.002 19.442 33.273 19.442h318.49c14.273 0 26.713-7.268 33.275-19.445 4.588-8.512 5.236-17.275 5.271-23.298l3.135-93.62c.832-24.782 5.424-94.788 5.471-95.492l.061-.953v-.956c0-11.203-4.314-21.574-11.496-29.351zM90.093 150.585c0-7.281 5.84-13.189 13.09-13.318h-.125c5.324 0 9.441-9.694 9.441-13.382l-.006-1.562c0-7.824 6.344-14.168 14.17-14.168h89.758c7.826 0 14.166 6.344 14.166 14.168v1.562c0 3.663 4.062 13.239 9.332 13.37h168.609c7.363 0 13.328 5.969 13.328 13.33v9.201H90.093v-9.201zm337.744 145.028c-.854 25.538-3.15 94.062-3.15 94.062 0 7.825-1.617 14.171-9.441 14.171H96.755c-7.822 0-9.439-6.346-9.439-14.171l-3.152-94.062c-.855-25.538-5.516-96.428-5.516-96.428 0-6.893 4.926-12.631 11.445-13.9l331.764-.009c6.547 1.251 11.494 6.998 11.494 13.909 0 .001-4.657 70.89-5.514 96.428z" />
1405
- </svg> `}};li.styles=[h`
1415
+ </svg> `}};ai.styles=[d`
1406
1416
  :host {
1407
1417
  display: block;
1408
1418
  box-sizing: border-box;
@@ -1413,7 +1423,7 @@
1413
1423
  #icon {
1414
1424
  fill: var(--uui-color-border,#d8d7d9);
1415
1425
  }
1416
- `],li=ih([p("uui-symbol-folder")],li);var oh=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,bn=(t,e,r,o)=>{for(var i=o>1?void 0:o?sh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&oh(e,r,i),i};let cr=class extends v{constructor(){super(...arguments),this.type=""}render(){return l`<svg
1426
+ `],ai=bh([p("uui-symbol-folder")],ai);var gh=Object.defineProperty,mh=Object.getOwnPropertyDescriptor,$n=(t,e,r,o)=>{for(var i=o>1?void 0:o?mh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&gh(e,r,i),i};let dr=class extends v{constructor(){super(...arguments),this.type=""}render(){return l`<svg
1417
1427
  xmlns="http://www.w3.org/2000/svg"
1418
1428
  viewBox="0 0 512 512"
1419
1429
  width="100%"
@@ -1421,7 +1431,7 @@
1421
1431
  <path
1422
1432
  d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z" />
1423
1433
  </svg>
1424
- ${this.type?l`<span id="file-type">${this.type.toUpperCase()}</span>`:""} `}};cr.styles=[h`
1434
+ ${this.type?l`<span id="file-type">${this.type.toUpperCase()}</span>`:""} `}};dr.styles=[d`
1425
1435
  :host {
1426
1436
  position: relative;
1427
1437
  display: block;
@@ -1444,13 +1454,13 @@
1444
1454
  #icon {
1445
1455
  fill: var(--uui-color-border-standalone,#c2c2c2);
1446
1456
  }
1447
- `],bn([a({type:String})],cr.prototype,"type",2),cr=bn([p("uui-symbol-file")],cr);var nh=Object.defineProperty,ah=Object.getOwnPropertyDescriptor,ui=(t,e,r,o)=>{for(var i=o>1?void 0:o?ah(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&nh(e,r,i),i};let ht=class extends J{constructor(){super(...arguments),this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),m(this,"uui-symbol-folder"),m(this,"uui-symbol-file")}queryPreviews(t){this.hasPreview=t.composedPath()[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!0?"":this.fileExt===""?l`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:l`<uui-symbol-file
1457
+ `],$n([a({type:String})],dr.prototype,"type",2),dr=$n([p("uui-symbol-file")],dr);var _h=Object.defineProperty,yh=Object.getOwnPropertyDescriptor,li=(t,e,r,o)=>{for(var i=o>1?void 0:o?yh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&_h(e,r,i),i};let ht=class extends J{constructor(){super(...arguments),this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),_(this,"uui-symbol-folder"),_(this,"uui-symbol-file")}queryPreviews(t){this.hasPreview=t.composedPath()[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!0?"":this.fileExt===""?l`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:l`<uui-symbol-file
1448
1458
  id="file-symbol"
1449
1459
  type="${this.fileExt}"></uui-symbol-file>`}render(){return l` ${this.renderMedia()}
1450
1460
  <slot @slotchange=${this.queryPreviews}></slot>
1451
1461
  <button
1452
1462
  id="open-part"
1453
- tabindex=${this.disabled?E:"0"}
1463
+ tabindex=${this.disabled?x:"0"}
1454
1464
  @click=${this.handleOpenClick}
1455
1465
  @keydown=${this.handleOpenKeydown}>
1456
1466
  <!--
@@ -1467,7 +1477,7 @@
1467
1477
  <div id="select-border"></div>
1468
1478
 
1469
1479
  <slot name="tag"></slot>
1470
- <slot name="actions"></slot>`}};ht.styles=[...J.styles,h`
1480
+ <slot name="actions"></slot>`}};ht.styles=[...J.styles,d`
1471
1481
  #file-symbol,
1472
1482
  #folder-symbol {
1473
1483
  align-self: center;
@@ -1562,11 +1572,11 @@
1562
1572
  height: var(--uui-size-8);
1563
1573
  }
1564
1574
  */
1565
- `],ui([a({type:String})],ht.prototype,"name",2),ui([a({type:String,attribute:"file-ext"})],ht.prototype,"fileExt",2),ui([f()],ht.prototype,"hasPreview",2),ht=ui([p("uui-card-media")],ht);var lh=Object.defineProperty,uh=Object.getOwnPropertyDescriptor,gn=(t,e,r,o)=>{for(var i=o>1?void 0:o?uh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&lh(e,r,i),i};let hr=class extends J{constructor(){super(...arguments),this.name=""}connectedCallback(){super.connectedCallback(),m(this,"uui-avatar")}render(){return l`
1575
+ `],li([a({type:String})],ht.prototype,"name",2),li([a({type:String,attribute:"file-ext"})],ht.prototype,"fileExt",2),li([f()],ht.prototype,"hasPreview",2),ht=li([p("uui-card-media")],ht);var wh=Object.defineProperty,xh=Object.getOwnPropertyDescriptor,En=(t,e,r,o)=>{for(var i=o>1?void 0:o?xh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&wh(e,r,i),i};let pr=class extends J{constructor(){super(...arguments),this.name=""}connectedCallback(){super.connectedCallback(),_(this,"uui-avatar")}render(){return l`
1566
1576
  <uui-avatar id="avatar" name=${this.name} size="m"></uui-avatar>
1567
1577
  <div
1568
1578
  id="open-part"
1569
- tabindex=${this.disabled?E:"0"}
1579
+ tabindex=${this.disabled?x:"0"}
1570
1580
  @click=${this.handleOpenClick}
1571
1581
  @keydown=${this.handleOpenKeydown}>
1572
1582
  <span> ${this.name} </span>
@@ -1574,7 +1584,7 @@
1574
1584
  <slot></slot>
1575
1585
  <slot name="tag"></slot>
1576
1586
  <slot name="actions"></slot>
1577
- `}};hr.styles=[...J.styles,h`
1587
+ `}};pr.styles=[...J.styles,d`
1578
1588
  :host {
1579
1589
  min-width: 250px;
1580
1590
  flex-direction: column;
@@ -1646,9 +1656,9 @@
1646
1656
  text-decoration: underline;
1647
1657
  color: var(--uui-color-interactive-emphasis,#3544b1);
1648
1658
  }
1649
- `],gn([a({type:String})],hr.prototype,"name",2),hr=gn([p("uui-card-user")],hr);var ch=Object.defineProperty,hh=Object.getOwnPropertyDescriptor,mn=(t,e,r,o)=>{for(var i=o>1?void 0:o?hh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ch(e,r,i),i};let dr=class extends v{constructor(){super(),this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return l`<svg viewBox="0 0 512 512">
1659
+ `],En([a({type:String})],pr.prototype,"name",2),pr=En([p("uui-card-user")],pr);var $h=Object.defineProperty,Eh=Object.getOwnPropertyDescriptor,Pn=(t,e,r,o)=>{for(var i=o>1?void 0:o?Eh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&$h(e,r,i),i};let vr=class extends v{constructor(){super(),this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return l`<svg viewBox="0 0 512 512">
1650
1660
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
1651
- </svg>`}};dr.styles=[h`
1661
+ </svg>`}};vr.styles=[d`
1652
1662
  :host {
1653
1663
  display: inline-block;
1654
1664
  width: 12px;
@@ -1664,11 +1674,11 @@
1664
1674
  :host([open]) svg {
1665
1675
  transform: rotate(180deg);
1666
1676
  }
1667
- `],mn([a({type:Boolean,reflect:!0})],dr.prototype,"open",2),dr=mn([p("uui-caret")],dr);var dh=Object.defineProperty,ph=Object.getOwnPropertyDescriptor,vh=(t,e,r,o)=>{for(var i=o>1?void 0:o?ph(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&dh(e,r,i),i};let pr=class extends be{renderCheckbox(){return l`
1677
+ `],Pn([a({type:Boolean,reflect:!0})],vr.prototype,"open",2),vr=Pn([p("uui-caret")],vr);var Ph=Object.defineProperty,Ch=Object.getOwnPropertyDescriptor,Oh=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ch(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ph(e,r,i),i};let fr=class extends be{renderCheckbox(){return l`
1668
1678
  <div id="ticker">
1669
- <div id="icon-check">${ai}</div>
1679
+ <div id="icon-check">${ni}</div>
1670
1680
  </div>
1671
- `}};pr.formAssociated=!0,pr.styles=[...be.styles,ii,h`
1681
+ `}};fr.formAssociated=!0,fr.styles=[...be.styles,ri,d`
1672
1682
  :host {
1673
1683
  --uui-checkbox-size: 18px;
1674
1684
  }
@@ -1804,16 +1814,16 @@
1804
1814
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
1805
1815
  }
1806
1816
  :host([disabled]) label:active #ticker {
1807
- animation: ${oi};
1817
+ animation: ${ii};
1808
1818
  }
1809
1819
  :host([disabled]) input:checked + #ticker #icon-check {
1810
1820
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
1811
1821
  }
1812
- `],pr=vh([p("uui-checkbox")],pr);/**
1822
+ `],fr=Oh([p("uui-checkbox")],fr);/**
1813
1823
  * @license
1814
1824
  * Copyright 2018 Google LLC
1815
1825
  * SPDX-License-Identifier: BSD-3-Clause
1816
- */const ci=It(class extends At{constructor(t){var e;if(super(t),t.type!==ae.ATTRIBUTE||t.name!=="class"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var r,o;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(const s in e)e[s]&&!(!((r=this.nt)===null||r===void 0)&&r.has(s))&&this.it.add(s);return this.render(e)}const i=t.element.classList;this.it.forEach(s=>{s in e||(i.remove(s),this.it.delete(s))});for(const s in e){const n=!!e[s];n===this.it.has(s)||!((o=this.nt)===null||o===void 0)&&o.has(s)||(n?(i.add(s),this.it.add(s)):(i.remove(s),this.it.delete(s)))}return F}});var fh={grad:.9,turn:360,rad:360/(2*Math.PI)},Ce=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},N=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ee=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},_n=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},yn=function(t){return{r:ee(t.r,0,255),g:ee(t.g,0,255),b:ee(t.b,0,255),a:ee(t.a)}},co=function(t){return{r:N(t.r),g:N(t.g),b:N(t.b),a:N(t.a,3)}},bh=/^#([0-9a-f]{3,8})$/i,hi=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},wn=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},xn=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),d=s%6;return{r:255*[o,u,n,n,c,o][d],g:255*[c,o,o,u,n,n][d],b:255*[n,n,c,o,o,u][d],a:i}},$n=function(t){return{h:_n(t.h),s:ee(t.s,0,100),l:ee(t.l,0,100),a:ee(t.a)}},En=function(t){return{h:N(t.h),s:N(t.s),l:N(t.l),a:N(t.a,3)}},Pn=function(t){return xn((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},vr=function(t){return{h:(e=wn(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},gh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,mh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_h=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,yh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cn={string:[[function(t){var e=bh.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?N(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?N(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=_h.exec(t)||yh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:yn({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=gh.exec(t)||mh.exec(t);if(!e)return null;var r,o,i=$n({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(fh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Pn(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return Ce(e)&&Ce(r)&&Ce(o)?yn({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!Ce(e)||!Ce(r)||!Ce(o))return null;var n=$n({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return Pn(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!Ce(e)||!Ce(r)||!Ce(o))return null;var n=function(u){return{h:_n(u.h),s:ee(u.s,0,100),v:ee(u.v,0,100),a:ee(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return xn(n)},"hsv"]]},On=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},wh=function(t){return typeof t=="string"?On(t.trim(),Cn.string):typeof t=="object"&&t!==null?On(t,Cn.object):[null,void 0]},ho=function(t,e){var r=vr(t);return{h:r.h,s:ee(r.s+100*e,0,100),l:r.l,a:r.a}},po=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Sn=function(t,e){var r=vr(t);return{h:r.h,s:r.s,l:ee(r.l+100*e,0,100),a:r.a}},kn=function(){function t(e){this.parsed=wh(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return N(po(this.rgba),2)},t.prototype.isDark=function(){return po(this.rgba)<.5},t.prototype.isLight=function(){return po(this.rgba)>=.5},t.prototype.toHex=function(){return e=co(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?hi(N(255*s)):"","#"+hi(r)+hi(o)+hi(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return co(this.rgba)},t.prototype.toRgbString=function(){return e=co(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return En(vr(this.rgba))},t.prototype.toHslString=function(){return e=En(vr(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=wn(this.rgba),{h:N(e.h),s:N(e.s),v:N(e.v),a:N(e.a,3)};var e},t.prototype.invert=function(){return te({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),te(ho(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),te(ho(this.rgba,-e))},t.prototype.grayscale=function(){return te(ho(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),te(Sn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),te(Sn(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?te({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):N(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=vr(this.rgba);return typeof e=="number"?te({h:e,s:r.s,l:r.l,a:r.a}):N(r.h)},t.prototype.isEqual=function(e){return this.toHex()===te(e).toHex()},t}(),te=function(t){return t instanceof kn?t:new kn(t)},xh=Object.defineProperty,zn=Object.getOwnPropertySymbols,$h=Object.prototype.hasOwnProperty,Eh=Object.prototype.propertyIsEnumerable,In=(t,e,r)=>e in t?xh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,An=(t,e)=>{for(var r in e||(e={}))$h.call(e,r)&&In(t,r,e[r]);if(zn)for(var r of zn(e))Eh.call(e,r)&&In(t,r,e[r]);return t};class di extends O{constructor(e,r={}){super(e,An(An({},{bubbles:!0}),r))}}di.CHANGE="change";var Ph=Object.defineProperty,Ch=Object.getOwnPropertyDescriptor,Oe=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ch(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ph(e,r,i),i};let re=class extends v{constructor(){super(...arguments),this.isDraggingGridHandle=!1,this.hue=0,this.saturation=0,this.lightness=0,this.brightness=0,this.alpha=100,this._value="#000",this.disabled=!1}get value(){return this._value}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e);try{const r=te(t);if(r.isValid()){const{h:o,s:i,l:s}=r.toHsl();this.hue=o,this.saturation=i,this.lightness=s,this.brightness=this.getBrightness(s)}}catch(r){console.error("Something went wrong parsing the color string.",r)}}handleGridDrag(t){if(this.disabled)return;const e=this.shadowRoot.querySelector(".color-area"),r=e.querySelector(".color-area__handle"),{width:o,height:i}=e.getBoundingClientRect();r.focus(),t.preventDefault(),t.stopPropagation(),this.isDraggingGridHandle=!0,dn(e,{onMove:(s,n)=>{this.saturation=D(s/o*100,0,100),this.brightness=D(100-n/i*100,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues()},onStop:()=>this.isDraggingGridHandle=!1,initialEvent:t})}handleGridKeyDown(t){if(this.disabled)return;const e=t.shiftKey?10:1;t.key==="ArrowLeft"&&(t.preventDefault(),this.saturation=D(this.saturation-e,0,100),this.syncValues()),t.key==="ArrowRight"&&(t.preventDefault(),this.saturation=D(this.saturation+e,0,100),this.syncValues()),t.key==="ArrowUp"&&(t.preventDefault(),this.brightness=D(this.brightness+e,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues()),t.key==="ArrowDown"&&(t.preventDefault(),this.brightness=D(this.brightness-e,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())}getBrightness(t){return D(-1*(200*t/(this.saturation-200)),0,100)}getLightness(t){return D((200-this.saturation)*t/100*5/10,0,100)}syncValues(){const t=te({h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha/100});this._value=t.toRgbString(),this.dispatchEvent(new di(di.CHANGE))}getHexString(t,e,r,o=100){const i=te(`hsla(${t}, ${e}%, ${r}%, ${o/100})`);return i.isValid()?i.toHex():""}render(){const t=this.saturation,e=100-this.brightness;return l`
1826
+ */const ui=At(class extends Ut{constructor(t){var e;if(super(t),t.type!==le.ATTRIBUTE||t.name!=="class"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var r,o;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(const s in e)e[s]&&!(!((r=this.nt)===null||r===void 0)&&r.has(s))&&this.it.add(s);return this.render(e)}const i=t.element.classList;this.it.forEach(s=>{s in e||(i.remove(s),this.it.delete(s))});for(const s in e){const n=!!e[s];n===this.it.has(s)||!((o=this.nt)===null||o===void 0)&&o.has(s)||(n?(i.add(s),this.it.add(s)):(i.remove(s),this.it.delete(s)))}return F}});var Sh={grad:.9,turn:360,rad:360/(2*Math.PI)},Oe=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},N=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ee=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},Cn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},On=function(t){return{r:ee(t.r,0,255),g:ee(t.g,0,255),b:ee(t.b,0,255),a:ee(t.a)}},ho=function(t){return{r:N(t.r),g:N(t.g),b:N(t.b),a:N(t.a,3)}},kh=/^#([0-9a-f]{3,8})$/i,ci=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},Sn=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},kn=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),h=s%6;return{r:255*[o,u,n,n,c,o][h],g:255*[c,o,o,u,n,n][h],b:255*[n,n,c,o,o,u][h],a:i}},zn=function(t){return{h:Cn(t.h),s:ee(t.s,0,100),l:ee(t.l,0,100),a:ee(t.a)}},In=function(t){return{h:N(t.h),s:N(t.s),l:N(t.l),a:N(t.a,3)}},An=function(t){return kn((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},br=function(t){return{h:(e=Sn(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},zh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ih=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ah=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Uh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Un={string:[[function(t){var e=kh.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?N(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?N(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Ah.exec(t)||Uh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:On({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=zh.exec(t)||Ih.exec(t);if(!e)return null;var r,o,i=zn({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Sh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return An(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return Oe(e)&&Oe(r)&&Oe(o)?On({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!Oe(e)||!Oe(r)||!Oe(o))return null;var n=zn({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return An(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!Oe(e)||!Oe(r)||!Oe(o))return null;var n=function(u){return{h:Cn(u.h),s:ee(u.s,0,100),v:ee(u.v,0,100),a:ee(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return kn(n)},"hsv"]]},Dn=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},Dh=function(t){return typeof t=="string"?Dn(t.trim(),Un.string):typeof t=="object"&&t!==null?Dn(t,Un.object):[null,void 0]},po=function(t,e){var r=br(t);return{h:r.h,s:ee(r.s+100*e,0,100),l:r.l,a:r.a}},vo=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Ln=function(t,e){var r=br(t);return{h:r.h,s:r.s,l:ee(r.l+100*e,0,100),a:r.a}},Nn=function(){function t(e){this.parsed=Dh(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return N(vo(this.rgba),2)},t.prototype.isDark=function(){return vo(this.rgba)<.5},t.prototype.isLight=function(){return vo(this.rgba)>=.5},t.prototype.toHex=function(){return e=ho(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?ci(N(255*s)):"","#"+ci(r)+ci(o)+ci(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return ho(this.rgba)},t.prototype.toRgbString=function(){return e=ho(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return In(br(this.rgba))},t.prototype.toHslString=function(){return e=In(br(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=Sn(this.rgba),{h:N(e.h),s:N(e.s),v:N(e.v),a:N(e.a,3)};var e},t.prototype.invert=function(){return te({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),te(po(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),te(po(this.rgba,-e))},t.prototype.grayscale=function(){return te(po(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),te(Ln(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),te(Ln(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?te({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):N(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=br(this.rgba);return typeof e=="number"?te({h:e,s:r.s,l:r.l,a:r.a}):N(r.h)},t.prototype.isEqual=function(e){return this.toHex()===te(e).toHex()},t}(),te=function(t){return t instanceof Nn?t:new Nn(t)},Lh=Object.defineProperty,Hn=Object.getOwnPropertySymbols,Nh=Object.prototype.hasOwnProperty,Hh=Object.prototype.propertyIsEnumerable,Tn=(t,e,r)=>e in t?Lh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mn=(t,e)=>{for(var r in e||(e={}))Nh.call(e,r)&&Tn(t,r,e[r]);if(Hn)for(var r of Hn(e))Hh.call(e,r)&&Tn(t,r,e[r]);return t};class hi extends O{constructor(e,r={}){super(e,Mn(Mn({},{bubbles:!0}),r))}}hi.CHANGE="change";var Th=Object.defineProperty,Mh=Object.getOwnPropertyDescriptor,Se=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Th(e,r,i),i};let re=class extends v{constructor(){super(...arguments),this.isDraggingGridHandle=!1,this.hue=0,this.saturation=0,this.lightness=0,this.brightness=0,this.alpha=100,this._value="#000",this.disabled=!1}get value(){return this._value}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e);try{const r=te(t);if(r.isValid()){const{h:o,s:i,l:s}=r.toHsl();this.hue=o,this.saturation=i,this.lightness=s,this.brightness=this.getBrightness(s)}}catch(r){console.error("Something went wrong parsing the color string.",r)}}handleGridDrag(t){if(this.disabled)return;const e=this.shadowRoot.querySelector(".color-area"),r=e.querySelector(".color-area__handle"),{width:o,height:i}=e.getBoundingClientRect();r.focus(),t.preventDefault(),t.stopPropagation(),this.isDraggingGridHandle=!0,_n(e,{onMove:(s,n)=>{isNaN(s)||isNaN(n)||(this.saturation=L(s/o*100,0,100),this.brightness=L(100-n/i*100,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())},onStop:()=>this.isDraggingGridHandle=!1,initialEvent:t})}handleGridKeyDown(t){if(this.disabled)return;const e=t.shiftKey?10:1;t.key==="ArrowLeft"&&(t.preventDefault(),this.saturation=L(this.saturation-e,0,100),this.syncValues()),t.key==="ArrowRight"&&(t.preventDefault(),this.saturation=L(this.saturation+e,0,100),this.syncValues()),t.key==="ArrowUp"&&(t.preventDefault(),this.brightness=L(this.brightness+e,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues()),t.key==="ArrowDown"&&(t.preventDefault(),this.brightness=L(this.brightness-e,0,100),this.lightness=this.getLightness(this.brightness),this.syncValues())}getBrightness(t){return L(-1*(200*t/(this.saturation-200)),0,100)}getLightness(t){return L((200-this.saturation)*t/100*5/10,0,100)}syncValues(){const t=te({h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha/100});this._value=t.toRgbString(),this.dispatchEvent(new hi(hi.CHANGE))}getHexString(t,e,r,o=100){const i=te(`hsla(${t}, ${e}%, ${r}%, ${o/100})`);return i.isValid()?i.toHex():""}render(){const t=this.saturation,e=100-this.brightness;return l`
1817
1827
  <div
1818
1828
  part="grid"
1819
1829
  class="color-area"
@@ -1822,14 +1832,14 @@
1822
1832
  @touchstart=${this.handleGridDrag}>
1823
1833
  <span
1824
1834
  part="grid-handle"
1825
- class=${ci({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
1835
+ class=${ui({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
1826
1836
  style=${ge({top:`${e}%`,left:`${t}%`,backgroundColor:this.getHexString(this.hue,this.saturation,this.lightness,this.alpha)})}
1827
1837
  role="application"
1828
- tabindex=${L(this.disabled?void 0:"0")}
1838
+ tabindex=${I(this.disabled?void 0:"0")}
1829
1839
  aria-label="HSB"
1830
1840
  @keydown=${this.handleGridKeyDown}></span>
1831
1841
  </div>
1832
- `}};re.styles=[h`
1842
+ `}};re.styles=[d`
1833
1843
  :host {
1834
1844
  display: inline-block;
1835
1845
  width: 280px;
@@ -1879,17 +1889,17 @@
1879
1889
  .color-area__handle--empty {
1880
1890
  display: none;
1881
1891
  }
1882
- `],Oe([f()],re.prototype,"isDraggingGridHandle",2),Oe([a({type:Number})],re.prototype,"hue",2),Oe([a({type:Number})],re.prototype,"saturation",2),Oe([a({type:Number})],re.prototype,"lightness",2),Oe([a({type:Number})],re.prototype,"brightness",2),Oe([a({type:Number})],re.prototype,"alpha",2),Oe([a({type:String})],re.prototype,"value",1),Oe([a({type:Boolean,reflect:!0})],re.prototype,"disabled",2),re=Oe([p("uui-color-area")],re);/**
1892
+ `],Se([f()],re.prototype,"isDraggingGridHandle",2),Se([a({type:Number})],re.prototype,"hue",2),Se([a({type:Number})],re.prototype,"saturation",2),Se([a({type:Number})],re.prototype,"lightness",2),Se([a({type:Number})],re.prototype,"brightness",2),Se([a({type:Number})],re.prototype,"alpha",2),Se([a({type:String})],re.prototype,"value",1),Se([a({type:Boolean,reflect:!0})],re.prototype,"disabled",2),re=Se([p("uui-color-area")],re);/**
1883
1893
  * @license
1884
1894
  * Copyright 2020 Google LLC
1885
1895
  * SPDX-License-Identifier: BSD-3-Clause
1886
- */const{I:Oh}=Il,Un=t=>t.strings===void 0,Dn=()=>document.createComment(""),fr=(t,e,r)=>{var o;const i=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(r===void 0){const n=i.insertBefore(Dn(),s),u=i.insertBefore(Dn(),s);r=new Oh(n,u,t,t.options)}else{const n=r._$AB.nextSibling,u=r._$AM,c=u!==t;if(c){let d;(o=r._$AQ)===null||o===void 0||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==u._$AU&&r._$AP(d)}if(n!==s||c){let d=r._$AA;for(;d!==n;){const x=d.nextSibling;i.insertBefore(d,s),d=x}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),Sh={},Ln=(t,e=Sh)=>t._$AH=e,kh=t=>t._$AH,vo=t=>{var e;(e=t._$AP)===null||e===void 0||e.call(t,!1,!0);let r=t._$AA;const o=t._$AB.nextSibling;for(;r!==o;){const i=r.nextSibling;r.remove(),r=i}};/**
1896
+ */const{I:jh}=jl,jn=t=>t.strings===void 0,Vn=()=>document.createComment(""),gr=(t,e,r)=>{var o;const i=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(r===void 0){const n=i.insertBefore(Vn(),s),u=i.insertBefore(Vn(),s);r=new jh(n,u,t,t.options)}else{const n=r._$AB.nextSibling,u=r._$AM,c=u!==t;if(c){let h;(o=r._$AQ)===null||o===void 0||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(h=t._$AU)!==u._$AU&&r._$AP(h)}if(n!==s||c){let h=r._$AA;for(;h!==n;){const m=h.nextSibling;i.insertBefore(h,s),h=m}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),Vh={},Bn=(t,e=Vh)=>t._$AH=e,Bh=t=>t._$AH,fo=t=>{var e;(e=t._$AP)===null||e===void 0||e.call(t,!1,!0);let r=t._$AA;const o=t._$AB.nextSibling;for(;r!==o;){const i=r.nextSibling;r.remove(),r=i}};/**
1887
1897
  * @license
1888
1898
  * Copyright 2020 Google LLC
1889
1899
  * SPDX-License-Identifier: BSD-3-Clause
1890
- */const zh=It(class extends At{constructor(t){if(super(t),t.type!==ae.PROPERTY&&t.type!==ae.ATTRIBUTE&&t.type!==ae.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Un(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===F||e===E)return e;const r=t.element,o=t.name;if(t.type===ae.PROPERTY){if(e===r[o])return F}else if(t.type===ae.BOOLEAN_ATTRIBUTE){if(!!e===r.hasAttribute(o))return F}else if(t.type===ae.ATTRIBUTE&&r.getAttribute(o)===e+"")return F;return Ln(t),e}});var Ih={grad:.9,turn:360,rad:360/(2*Math.PI)},Se=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},H=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ie=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},Nn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},Hn=function(t){return{r:ie(t.r,0,255),g:ie(t.g,0,255),b:ie(t.b,0,255),a:ie(t.a)}},fo=function(t){return{r:H(t.r),g:H(t.g),b:H(t.b),a:H(t.a,3)}},Ah=/^#([0-9a-f]{3,8})$/i,pi=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},Mn=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},Tn=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),d=s%6;return{r:255*[o,u,n,n,c,o][d],g:255*[c,o,o,u,n,n][d],b:255*[n,n,c,o,o,u][d],a:i}},jn=function(t){return{h:Nn(t.h),s:ie(t.s,0,100),l:ie(t.l,0,100),a:ie(t.a)}},Vn=function(t){return{h:H(t.h),s:H(t.s),l:H(t.l),a:H(t.a,3)}},Bn=function(t){return Tn((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},br=function(t){return{h:(e=Mn(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},Uh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Dh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Lh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Nh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,bo={string:[[function(t){var e=Ah.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?H(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?H(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Lh.exec(t)||Nh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Hn({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=Uh.exec(t)||Dh.exec(t);if(!e)return null;var r,o,i=jn({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Ih[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Bn(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return Se(e)&&Se(r)&&Se(o)?Hn({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!Se(e)||!Se(r)||!Se(o))return null;var n=jn({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return Bn(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!Se(e)||!Se(r)||!Se(o))return null;var n=function(u){return{h:Nn(u.h),s:ie(u.s,0,100),v:ie(u.v,0,100),a:ie(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return Tn(n)},"hsv"]]},Rn=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},Hh=function(t){return typeof t=="string"?Rn(t.trim(),bo.string):typeof t=="object"&&t!==null?Rn(t,bo.object):[null,void 0]},go=function(t,e){var r=br(t);return{h:r.h,s:ie(r.s+100*e,0,100),l:r.l,a:r.a}},mo=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Fn=function(t,e){var r=br(t);return{h:r.h,s:r.s,l:ie(r.l+100*e,0,100),a:r.a}},vi=function(){function t(e){this.parsed=Hh(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return H(mo(this.rgba),2)},t.prototype.isDark=function(){return mo(this.rgba)<.5},t.prototype.isLight=function(){return mo(this.rgba)>=.5},t.prototype.toHex=function(){return e=fo(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?pi(H(255*s)):"","#"+pi(r)+pi(o)+pi(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return fo(this.rgba)},t.prototype.toRgbString=function(){return e=fo(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return Vn(br(this.rgba))},t.prototype.toHslString=function(){return e=Vn(br(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=Mn(this.rgba),{h:H(e.h),s:H(e.s),v:H(e.v),a:H(e.a,3)};var e},t.prototype.invert=function(){return _e({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),_e(go(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),_e(go(this.rgba,-e))},t.prototype.grayscale=function(){return _e(go(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),_e(Fn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),_e(Fn(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?_e({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):H(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=br(this.rgba);return typeof e=="number"?_e({h:e,s:r.s,l:r.l,a:r.a}):H(r.h)},t.prototype.isEqual=function(e){return this.toHex()===_e(e).toHex()},t}(),_e=function(t){return t instanceof vi?t:new vi(t)},Gn=[],Mh=function(t){t.forEach(function(e){Gn.indexOf(e)<0&&(e(vi,bo),Gn.push(e))})};function Th(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var i in r)o[r[i]]=i;var s={};t.prototype.toName=function(n){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var u,c,d=o[this.toHex()];if(d)return d;if(n?.closest){var x=this.toRgb(),_=1/0,b="black";if(!s.length)for(var y in r)s[y]=new t(r[y]).toRgb();for(var w in r){var $=(u=x,c=s[w],Math.pow(u.r-c.r,2)+Math.pow(u.g-c.g,2)+Math.pow(u.b-c.b,2));$<_&&(_=$,b=w)}return b}},e.string.push([function(n){var u=n.toLowerCase(),c=u==="transparent"?"#0000":r[u];return c?new t(c).toRgb():null},"name"])}var jh=Object.defineProperty,qn=Object.getOwnPropertySymbols,Vh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,Wn=(t,e,r)=>e in t?jh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Kn=(t,e)=>{for(var r in e||(e={}))Vh.call(e,r)&&Wn(t,r,e[r]);if(qn)for(var r of qn(e))Bh.call(e,r)&&Wn(t,r,e[r]);return t};class fi extends O{constructor(e,r={}){super(e,Kn(Kn({},{bubbles:!0}),r))}}fi.CHANGE="change";var Rh=Object.defineProperty,Fh=Object.getOwnPropertyDescriptor,I=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Rh(e,r,i),i};Mh([Th]);const Xn="EyeDropper"in window;let z=class extends ve("label",v){constructor(){super(...arguments),this.inputValue="",this.hue=0,this.saturation=0,this.lightness=0,this.alpha=100,this._colord=_e("hsl(0, 0%, 0%)"),this.value="",this.format="hex",this.name="",this.size="medium",this.noFormatToggle=!1,this.inline=!1,this.disabled=!1,this.opacity=!1,this.uppercase=!1,this.swatches=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000","#444","#888","#ccc","#fff"]}connectedCallback(){super.connectedCallback(),this.value?this.setColor(this.value):this.setColor("#000"),m(this,"uui-icon"),m(this,"uui-icon-registry-essential"),m(this,"uui-input"),m(this,"uui-button"),m(this,"uui-button-group"),m(this,"uui-popover"),m(this,"uui-color-swatches"),m(this,"uui-color-swatch"),m(this,"uui-color-area"),m(this,"uui-color-slider")}getFormattedValue(t){const e=this.opacity?`${t}a`:t,{h:r,l:o,s:i}=this._colord.toHsl(),{r:s,g:n,b:u}=this._colord.toRgb(),c=this.setLetterCase(this._colord.toHex()),d=this.setLetterCase(c.length>7?c.substring(0,c.length-2):c);switch(e){case"hex":return d;case"hexa":return c;case"rgb":return`rgb(${s} ${n} ${u})`;case"rgba":return this._colord.toRgbString();case"hsl":return`hsl(${r} ${i} ${o})`;case"hsla":return this._colord.toHslString();default:return""}}getBrightness(t){return D(-1*(200*t/(this.saturation-200)),0,100)}getLightness(t){return D((200-this.saturation)*t/100*5/10,0,100)}handleFormatToggle(){const t=["hex","rgb","hsl"],e=(t.indexOf(this.format)+1)%t.length;this.format=t[e],this._syncValues()}handleAlphaChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const r=t.target,o={h:this.hue,s:this.saturation,l:this.lightness,a:Math.round(r.value)/100};this.setColor(o)}handleHueChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const o={h:t.target.value,s:this.saturation,l:this.lightness,a:this.alpha/100};this.setColor(o)}handleGridChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const r=t.target,o={h:this.hue,s:r.saturation,l:r.lightness,a:this.alpha/100};this.setColor(o)}handleInputChange(t){var e;(e=this._swatches)==null||e.resetSelection();const r=t.target;r.value?(this.setColor(r.value),r.value=this.value):this.setColor("#000"),t.stopPropagation()}handleInputKeyDown(t){var e;t.key==="Enter"&&(this.inputValue?(this.setColor(this.inputValue),(e=this._swatches)==null||e.resetSelection(),this.inputValue=this.value,setTimeout(()=>this._input.select())):this.setColor("#000"))}handleColorSwatchChange(t){t.stopImmediatePropagation();const e=t.target;e.value?this.setColor(e.value):this.setColor("#000")}handleCopy(){navigator.clipboard.writeText(this._input.value).then(()=>{this._previewButton.classList.add("color-picker__preview-color--copied"),this._previewButton.addEventListener("animationend",()=>{this._previewButton.classList.remove("color-picker__preview-color--copied")})})}openColorPicker(t){t.stopImmediatePropagation();const e=t.target,r=e.nextElementSibling;r.open=!r?.open,e.setAttribute("aria-expanded",r.open.toString())}closeColorPicker(t){const r=t.target.previousElementSibling;r&&r.setAttribute("aria-expanded","false")}handleEyeDropper(){if(!Xn)return;new EyeDropper().open().then(e=>this.setColor(e.sRGBHex)).catch(()=>{})}setColor(t){this._colord=new vi(t);const{h:e,l:r,s:o,a:i}=this._colord.toHsl();return this.hue=e,this.saturation=o,this.lightness=r,this.alpha=this.opacity?i*100:100,this._syncValues(),this.dispatchEvent(new fi(fi.CHANGE)),!0}setLetterCase(t){return typeof t!="string"?"":this.uppercase?t.toUpperCase():t.toLowerCase()}_syncValues(){this.inputValue=this.getFormattedValue(this.format),this.value=this.inputValue}_renderColorPicker(){return l`
1900
+ */const Rh=At(class extends Ut{constructor(t){if(super(t),t.type!==le.PROPERTY&&t.type!==le.ATTRIBUTE&&t.type!==le.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!jn(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===F||e===x)return e;const r=t.element,o=t.name;if(t.type===le.PROPERTY){if(e===r[o])return F}else if(t.type===le.BOOLEAN_ATTRIBUTE){if(!!e===r.hasAttribute(o))return F}else if(t.type===le.ATTRIBUTE&&r.getAttribute(o)===e+"")return F;return Bn(t),e}});var Fh={grad:.9,turn:360,rad:360/(2*Math.PI)},ke=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},H=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ie=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},Rn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},Fn=function(t){return{r:ie(t.r,0,255),g:ie(t.g,0,255),b:ie(t.b,0,255),a:ie(t.a)}},bo=function(t){return{r:H(t.r),g:H(t.g),b:H(t.b),a:H(t.a,3)}},Gh=/^#([0-9a-f]{3,8})$/i,di=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},Gn=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},qn=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),h=s%6;return{r:255*[o,u,n,n,c,o][h],g:255*[c,o,o,u,n,n][h],b:255*[n,n,c,o,o,u][h],a:i}},Wn=function(t){return{h:Rn(t.h),s:ie(t.s,0,100),l:ie(t.l,0,100),a:ie(t.a)}},Kn=function(t){return{h:H(t.h),s:H(t.s),l:H(t.l),a:H(t.a,3)}},Xn=function(t){return qn((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},mr=function(t){return{h:(e=Gn(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},qh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Kh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Xh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,go={string:[[function(t){var e=Gh.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?H(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?H(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Kh.exec(t)||Xh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Fn({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=qh.exec(t)||Wh.exec(t);if(!e)return null;var r,o,i=Wn({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Fh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Xn(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return ke(e)&&ke(r)&&ke(o)?Fn({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!ke(e)||!ke(r)||!ke(o))return null;var n=Wn({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return Xn(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!ke(e)||!ke(r)||!ke(o))return null;var n=function(u){return{h:Rn(u.h),s:ie(u.s,0,100),v:ie(u.v,0,100),a:ie(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return qn(n)},"hsv"]]},Yn=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},Yh=function(t){return typeof t=="string"?Yn(t.trim(),go.string):typeof t=="object"&&t!==null?Yn(t,go.object):[null,void 0]},mo=function(t,e){var r=mr(t);return{h:r.h,s:ie(r.s+100*e,0,100),l:r.l,a:r.a}},_o=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Zn=function(t,e){var r=mr(t);return{h:r.h,s:r.s,l:ie(r.l+100*e,0,100),a:r.a}},pi=function(){function t(e){this.parsed=Yh(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return H(_o(this.rgba),2)},t.prototype.isDark=function(){return _o(this.rgba)<.5},t.prototype.isLight=function(){return _o(this.rgba)>=.5},t.prototype.toHex=function(){return e=bo(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?di(H(255*s)):"","#"+di(r)+di(o)+di(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return bo(this.rgba)},t.prototype.toRgbString=function(){return e=bo(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return Kn(mr(this.rgba))},t.prototype.toHslString=function(){return e=Kn(mr(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=Gn(this.rgba),{h:H(e.h),s:H(e.s),v:H(e.v),a:H(e.a,3)};var e},t.prototype.invert=function(){return _e({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),_e(mo(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),_e(mo(this.rgba,-e))},t.prototype.grayscale=function(){return _e(mo(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),_e(Zn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),_e(Zn(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?_e({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):H(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=mr(this.rgba);return typeof e=="number"?_e({h:e,s:r.s,l:r.l,a:r.a}):H(r.h)},t.prototype.isEqual=function(e){return this.toHex()===_e(e).toHex()},t}(),_e=function(t){return t instanceof pi?t:new pi(t)},Qn=[],Zh=function(t){t.forEach(function(e){Qn.indexOf(e)<0&&(e(pi,go),Qn.push(e))})};function Qh(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var i in r)o[r[i]]=i;var s={};t.prototype.toName=function(n){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var u,c,h=o[this.toHex()];if(h)return h;if(n?.closest){var m=this.toRgb(),y=1/0,b="black";if(!s.length)for(var w in r)s[w]=new t(r[w]).toRgb();for(var $ in r){var E=(u=m,c=s[$],Math.pow(u.r-c.r,2)+Math.pow(u.g-c.g,2)+Math.pow(u.b-c.b,2));E<y&&(y=E,b=$)}return b}},e.string.push([function(n){var u=n.toLowerCase(),c=u==="transparent"?"#0000":r[u];return c?new t(c).toRgb():null},"name"])}var Jh=Object.defineProperty,Jn=Object.getOwnPropertySymbols,ed=Object.prototype.hasOwnProperty,td=Object.prototype.propertyIsEnumerable,ea=(t,e,r)=>e in t?Jh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ta=(t,e)=>{for(var r in e||(e={}))ed.call(e,r)&&ea(t,r,e[r]);if(Jn)for(var r of Jn(e))td.call(e,r)&&ea(t,r,e[r]);return t};class vi extends O{constructor(e,r={}){super(e,ta(ta({},{bubbles:!0}),r))}}vi.CHANGE="change";var rd=Object.defineProperty,id=Object.getOwnPropertyDescriptor,A=(t,e,r,o)=>{for(var i=o>1?void 0:o?id(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&rd(e,r,i),i};Zh([Qh]);const ra="EyeDropper"in window;let z=class extends ve("label",v){constructor(){super(...arguments),this.inputValue="",this.hue=0,this.saturation=0,this.lightness=0,this.alpha=100,this._colord=_e("hsl(0, 0%, 0%)"),this.value="",this.format="hex",this.name="",this.size="medium",this.noFormatToggle=!1,this.inline=!1,this.disabled=!1,this.opacity=!1,this.uppercase=!1,this.swatches=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000","#444","#888","#ccc","#fff"]}connectedCallback(){super.connectedCallback(),this.value?this.setColor(this.value):this.setColor("#000"),_(this,"uui-icon"),_(this,"uui-icon-registry-essential"),_(this,"uui-input"),_(this,"uui-button"),_(this,"uui-button-group"),_(this,"uui-popover"),_(this,"uui-color-swatches"),_(this,"uui-color-swatch"),_(this,"uui-color-area"),_(this,"uui-color-slider")}getFormattedValue(t){const e=this.opacity?`${t}a`:t,{h:r,l:o,s:i}=this._colord.toHsl(),{r:s,g:n,b:u}=this._colord.toRgb(),c=this.setLetterCase(this._colord.toHex()),h=this.setLetterCase(c.length>7?c.substring(0,c.length-2):c);switch(e){case"hex":return h;case"hexa":return c;case"rgb":return`rgb(${s} ${n} ${u})`;case"rgba":return this._colord.toRgbString();case"hsl":return`hsl(${r} ${i} ${o})`;case"hsla":return this._colord.toHslString();default:return""}}getBrightness(t){return L(-1*(200*t/(this.saturation-200)),0,100)}getLightness(t){return L((200-this.saturation)*t/100*5/10,0,100)}handleFormatToggle(){const t=["hex","rgb","hsl"],e=(t.indexOf(this.format)+1)%t.length;this.format=t[e],this._syncValues()}handleAlphaChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const r=t.target,o={h:this.hue,s:this.saturation,l:this.lightness,a:Math.round(r.value)/100};this.setColor(o)}handleHueChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const o={h:t.target.value,s:this.saturation,l:this.lightness,a:this.alpha/100};this.setColor(o)}handleGridChange(t){var e;t.stopPropagation(),(e=this._swatches)==null||e.resetSelection();const r=t.target,o={h:this.hue,s:r.saturation,l:r.lightness,a:this.alpha/100};this.setColor(o)}handleInputChange(t){var e;(e=this._swatches)==null||e.resetSelection();const r=t.target;r.value?(this.setColor(r.value),r.value=this.value):this.setColor("#000"),t.stopPropagation()}handleInputKeyDown(t){var e;t.key==="Enter"&&(this.inputValue?(this.setColor(this.inputValue),(e=this._swatches)==null||e.resetSelection(),this.inputValue=this.value,setTimeout(()=>this._input.select())):this.setColor("#000"))}handleColorSwatchChange(t){t.stopImmediatePropagation();const e=t.target;e.value?this.setColor(e.value):this.setColor("#000")}handleCopy(){navigator.clipboard.writeText(this._input.value).then(()=>{this._previewButton.classList.add("color-picker__preview-color--copied"),this._previewButton.addEventListener("animationend",()=>{this._previewButton.classList.remove("color-picker__preview-color--copied")})})}openColorPicker(t){t.stopImmediatePropagation();const e=t.target,r=e.nextElementSibling;r.open=!r?.open,e.setAttribute("aria-expanded",r.open.toString())}closeColorPicker(t){const r=t.target.previousElementSibling;r&&r.setAttribute("aria-expanded","false")}handleEyeDropper(){if(!ra)return;new EyeDropper().open().then(e=>this.setColor(e.sRGBHex)).catch(()=>{})}setColor(t){this._colord=new pi(t);const{h:e,l:r,s:o,a:i}=this._colord.toHsl();return this.hue=e,this.saturation=o,this.lightness=r,this.alpha=this.opacity?i*100:100,this._syncValues(),this.dispatchEvent(new vi(vi.CHANGE)),!0}setLetterCase(t){return typeof t!="string"?"":this.uppercase?t.toUpperCase():t.toLowerCase()}_syncValues(){this.inputValue=this.getFormattedValue(this.format),this.value=this.inputValue}_renderColorPicker(){return l`
1891
1901
  <div
1892
- class=${ci({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
1902
+ class=${ui({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
1893
1903
  aria-disabled=${this.disabled?"true":"false"}>
1894
1904
  <uui-color-area .value="${this.value}" @change=${this.handleGridChange}>
1895
1905
  </uui-color-area>
@@ -1930,7 +1940,7 @@
1930
1940
  autocomplete="off"
1931
1941
  autocapitalize="off"
1932
1942
  spellcheck="false"
1933
- .value=${zh(this.inputValue)}
1943
+ .value=${Rh(this.inputValue)}
1934
1944
  ?disabled=${this.disabled}
1935
1945
  @keydown=${this.handleInputKeyDown}
1936
1946
  @change=${this.handleInputChange}>
@@ -1945,7 +1955,7 @@
1945
1955
  <span>${this.format}</span>
1946
1956
  </uui-button>
1947
1957
  `}
1948
- ${Xn?l` <uui-button
1958
+ ${ra?l` <uui-button
1949
1959
  label="Select a color"
1950
1960
  compact
1951
1961
  @click=${this.handleEyeDropper}>
@@ -1964,18 +1974,18 @@
1964
1974
  ${this.swatches.map(t=>l`<uui-color-swatch
1965
1975
  label="${t}"
1966
1976
  .value=${t}></uui-color-swatch>`)}
1967
- </uui-color-swatches>`:E}_renderPreviewButton(){return l`<button
1977
+ </uui-color-swatches>`:x}_renderPreviewButton(){return l`<button
1968
1978
  type="button"
1969
1979
  slot="trigger"
1970
1980
  aria-label="${this.label||"Open Color picker"}"
1971
- class=${ci({"color-picker__trigger":!0,"color-dropdown__trigger--disabled":this.disabled,"color-dropdown__trigger--small":this.size==="small","color-dropdown__trigger--medium":this.size==="medium","color-dropdown__trigger--large":this.size==="large","color-picker__transparent-bg":!0})}
1981
+ class=${ui({"color-picker__trigger":!0,"color-dropdown__trigger--disabled":this.disabled,"color-dropdown__trigger--small":this.size==="small","color-dropdown__trigger--medium":this.size==="medium","color-dropdown__trigger--large":this.size==="large","color-picker__transparent-bg":!0})}
1972
1982
  style=${ge({"--preview-color":`hsla(${this.hue}deg, ${this.saturation}%, ${this.lightness}%, ${this.alpha/100})`})}
1973
1983
  @click=${this.openColorPicker}
1974
1984
  aria-haspopup="true"
1975
1985
  aria-expanded="false"></button>
1976
1986
  <uui-popover placement="bottom-start" @close=${this.closeColorPicker}>
1977
1987
  <div slot="popover">${this._renderColorPicker()}</div>
1978
- </uui-popover>`}render(){return this.inline?this._renderColorPicker():this._renderPreviewButton()}};z.styles=[h`
1988
+ </uui-popover>`}render(){return this.inline?this._renderColorPicker():this._renderPreviewButton()}};z.styles=[d`
1979
1989
  :host {
1980
1990
  --uui-look-outline-border: #ddd;
1981
1991
  --uui-look-outline-border-hover: #aaa;
@@ -2115,7 +2125,7 @@
2115
2125
  uui-color-area {
2116
2126
  width: 100%;
2117
2127
  }
2118
- `],I([C('[part="input"]')],z.prototype,"_input",2),I([C(".color-picker__preview")],z.prototype,"_previewButton",2),I([C("#swatches")],z.prototype,"_swatches",2),I([f()],z.prototype,"inputValue",2),I([f()],z.prototype,"hue",2),I([f()],z.prototype,"saturation",2),I([f()],z.prototype,"lightness",2),I([f()],z.prototype,"alpha",2),I([f()],z.prototype,"_colord",2),I([a()],z.prototype,"value",2),I([a()],z.prototype,"format",2),I([a()],z.prototype,"name",2),I([a()],z.prototype,"size",2),I([a({attribute:"no-format-toggle",type:Boolean})],z.prototype,"noFormatToggle",2),I([a({type:Boolean,reflect:!0})],z.prototype,"inline",2),I([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2),I([a({type:Boolean})],z.prototype,"opacity",2),I([a({type:Boolean})],z.prototype,"uppercase",2),I([a({attribute:!1})],z.prototype,"swatches",2),z=I([p("uui-color-picker")],z);var Gh=Object.defineProperty,Yn=Object.getOwnPropertySymbols,qh=Object.prototype.hasOwnProperty,Wh=Object.prototype.propertyIsEnumerable,Zn=(t,e,r)=>e in t?Gh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Qn=(t,e)=>{for(var r in e||(e={}))qh.call(e,r)&&Zn(t,r,e[r]);if(Yn)for(var r of Yn(e))Wh.call(e,r)&&Zn(t,r,e[r]);return t};class bi extends O{constructor(e,r={}){super(e,Qn(Qn({},{bubbles:!0}),r))}}bi.CHANGE="change";var Kh=Object.defineProperty,Xh=Object.getOwnPropertyDescriptor,ke=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xh(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Kh(e,r,i),i};let oe=class extends ve("label",v){constructor(){super(...arguments),this.type="hue",this.color="",this.min=0,this.max=100,this.precision=1,this.vertical=!1,this.value=0,this.disabled=!1}willUpdate(t){t.has("type")&&(this.type==="hue"?(this.max=360,this.precision=1):this.type==="opacity"&&(this.max=100,this.precision=1))}firstUpdated(){this.container=this.shadowRoot.querySelector("#color-slider"),this.handle=this.container.querySelector("#color-slider__handle")}handleDrag(t){if(this.disabled||!this.container||!this.handle)return;const{width:e,height:r}=this.container.getBoundingClientRect();this.handle.focus(),t.preventDefault(),dn(this.container,{onMove:(o,i)=>{this.vertical?this.value=pn(D(i/r*this.max,this.min,this.max),this.min,this.max):this.value=D(o/e*this.max,this.min,this.max),this.syncValues()},initialEvent:t})}handleClick(t){this.disabled||(this.value=this.getValueFromMousePosition(t),this.syncValues())}handleKeyDown(t){const e=t.shiftKey?10:1;t.key==="ArrowLeft"?(t.preventDefault(),this.value=D(this.value-e,this.min,this.max),this.syncValues()):t.key==="ArrowRight"?(t.preventDefault(),this.value=D(this.value+e,this.min,this.max),this.syncValues()):t.key==="ArrowUp"?(t.preventDefault(),this.value=D(this.value+e,this.min,this.max),this.syncValues()):t.key==="ArrowDown"?(t.preventDefault(),this.value=D(this.value-e,this.min,this.max),this.syncValues()):t.key==="Home"?(t.preventDefault(),this.value=this.min,this.syncValues()):t.key==="End"&&(t.preventDefault(),this.value=this.max,this.syncValues())}getValueFromMousePosition(t){return this.vertical?this.getValueFromYCoordinate(t.clientY):this.getValueFromXCoordinate(t.clientX)}getValueFromTouchPosition(t){return this.vertical?this.getValueFromYCoordinate(t.touches[0].clientY):this.getValueFromXCoordinate(t.touches[0].clientX)}getValueFromXCoordinate(t){const{left:e,width:r}=this.container.getBoundingClientRect();return D(this.roundToPrecision((t-e)/r*this.max),this.min,this.max)}getValueFromYCoordinate(t){const{top:e,height:r}=this.container.getBoundingClientRect();return D(this.roundToPrecision((t-e)/r*this.max),this.min,this.max)}roundToPrecision(t){const e=1/this.precision;return Math.ceil(t*e)/e}syncValues(){this.dispatchEvent(new bi(bi.CHANGE))}get ccsPropCurrentValue(){return this.value===0?this.vertical?100:0:100/(this.vertical?this.max/pn(this.value,this.min,this.max):this.max/this.value)}render(){return l` <div
2128
+ `],A([C('[part="input"]')],z.prototype,"_input",2),A([C(".color-picker__preview")],z.prototype,"_previewButton",2),A([C("#swatches")],z.prototype,"_swatches",2),A([f()],z.prototype,"inputValue",2),A([f()],z.prototype,"hue",2),A([f()],z.prototype,"saturation",2),A([f()],z.prototype,"lightness",2),A([f()],z.prototype,"alpha",2),A([f()],z.prototype,"_colord",2),A([a()],z.prototype,"value",2),A([a()],z.prototype,"format",2),A([a()],z.prototype,"name",2),A([a()],z.prototype,"size",2),A([a({attribute:"no-format-toggle",type:Boolean})],z.prototype,"noFormatToggle",2),A([a({type:Boolean,reflect:!0})],z.prototype,"inline",2),A([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2),A([a({type:Boolean})],z.prototype,"opacity",2),A([a({type:Boolean})],z.prototype,"uppercase",2),A([a({attribute:!1})],z.prototype,"swatches",2),z=A([p("uui-color-picker")],z);var od=Object.defineProperty,ia=Object.getOwnPropertySymbols,sd=Object.prototype.hasOwnProperty,nd=Object.prototype.propertyIsEnumerable,oa=(t,e,r)=>e in t?od(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sa=(t,e)=>{for(var r in e||(e={}))sd.call(e,r)&&oa(t,r,e[r]);if(ia)for(var r of ia(e))nd.call(e,r)&&oa(t,r,e[r]);return t};class fi extends O{constructor(e,r={}){super(e,sa(sa({},{bubbles:!0}),r))}}fi.CHANGE="change";var ad=Object.defineProperty,ld=Object.getOwnPropertyDescriptor,ze=(t,e,r,o)=>{for(var i=o>1?void 0:o?ld(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ad(e,r,i),i};let oe=class extends ve("label",v){constructor(){super(...arguments),this.type="hue",this.color="",this.min=0,this.max=100,this.precision=1,this.vertical=!1,this.value=0,this.disabled=!1}willUpdate(t){t.has("type")&&(this.type==="hue"?(this.max=360,this.precision=1):this.type==="opacity"&&(this.max=100,this.precision=1))}firstUpdated(){this.container=this.shadowRoot.querySelector("#color-slider"),this.handle=this.container.querySelector("#color-slider__handle")}handleDrag(t){if(this.disabled||!this.container||!this.handle)return;const{width:e,height:r}=this.container.getBoundingClientRect();this.handle.focus(),t.preventDefault(),_n(this.container,{onMove:(o,i)=>{this.vertical?this.value=yn(L(i/r*this.max,this.min,this.max),this.min,this.max):this.value=L(o/e*this.max,this.min,this.max),this.syncValues()},initialEvent:t})}handleClick(t){this.disabled||(this.value=this.getValueFromMousePosition(t),this.syncValues())}handleKeyDown(t){const e=t.shiftKey?10:1;t.key==="ArrowLeft"?(t.preventDefault(),this.value=L(this.value-e,this.min,this.max),this.syncValues()):t.key==="ArrowRight"?(t.preventDefault(),this.value=L(this.value+e,this.min,this.max),this.syncValues()):t.key==="ArrowUp"?(t.preventDefault(),this.value=L(this.value+e,this.min,this.max),this.syncValues()):t.key==="ArrowDown"?(t.preventDefault(),this.value=L(this.value-e,this.min,this.max),this.syncValues()):t.key==="Home"?(t.preventDefault(),this.value=this.min,this.syncValues()):t.key==="End"&&(t.preventDefault(),this.value=this.max,this.syncValues())}getValueFromMousePosition(t){return this.vertical?this.getValueFromYCoordinate(t.clientY):this.getValueFromXCoordinate(t.clientX)}getValueFromTouchPosition(t){return this.vertical?this.getValueFromYCoordinate(t.touches[0].clientY):this.getValueFromXCoordinate(t.touches[0].clientX)}getValueFromXCoordinate(t){const{left:e,width:r}=this.container.getBoundingClientRect();return L(this.roundToPrecision((t-e)/r*this.max),this.min,this.max)}getValueFromYCoordinate(t){const{top:e,height:r}=this.container.getBoundingClientRect();return L(this.roundToPrecision((t-e)/r*this.max),this.min,this.max)}roundToPrecision(t){const e=1/this.precision;return Math.ceil(t*e)/e}syncValues(){this.dispatchEvent(new fi(fi.CHANGE))}get ccsPropCurrentValue(){return this.value===0?this.vertical?100:0:100/(this.vertical?this.max/yn(this.value,this.min,this.max):this.max/this.value)}render(){return l` <div
2119
2129
  part="slider"
2120
2130
  id="color-slider"
2121
2131
  role="slider"
@@ -2138,9 +2148,9 @@
2138
2148
  <span
2139
2149
  id="color-slider__handle"
2140
2150
  style="--current-value: ${this.ccsPropCurrentValue}%;"
2141
- tabindex=${L(this.disabled?void 0:"0")}></span>
2151
+ tabindex=${I(this.disabled?void 0:"0")}></span>
2142
2152
  </div>
2143
- ${Math.round(this.value)}`}};oe.styles=[h`
2153
+ ${Math.round(this.value)}`}};oe.styles=[d`
2144
2154
  :host {
2145
2155
  --uui-slider-height: 15px;
2146
2156
  --uui-slider-handle-size: 17px;
@@ -2249,25 +2259,25 @@
2249
2259
  position: absolute;
2250
2260
  inset: 0 0 0 0;
2251
2261
  }
2252
- `],ke([a({reflect:!0})],oe.prototype,"type",2),ke([a()],oe.prototype,"color",2),ke([a({type:Number})],oe.prototype,"min",2),ke([a({type:Number})],oe.prototype,"max",2),ke([a({type:Number})],oe.prototype,"precision",2),ke([a({type:Boolean,reflect:!0})],oe.prototype,"vertical",2),ke([a()],oe.prototype,"value",2),ke([a({type:Boolean,reflect:!0})],oe.prototype,"disabled",2),oe=ke([p("uui-color-slider")],oe);var Yh={grad:.9,turn:360,rad:360/(2*Math.PI)},ze=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},M=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},se=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},Jn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},ea=function(t){return{r:se(t.r,0,255),g:se(t.g,0,255),b:se(t.b,0,255),a:se(t.a)}},_o=function(t){return{r:M(t.r),g:M(t.g),b:M(t.b),a:M(t.a,3)}},Zh=/^#([0-9a-f]{3,8})$/i,gi=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},ta=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},ra=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),d=s%6;return{r:255*[o,u,n,n,c,o][d],g:255*[c,o,o,u,n,n][d],b:255*[n,n,c,o,o,u][d],a:i}},ia=function(t){return{h:Jn(t.h),s:se(t.s,0,100),l:se(t.l,0,100),a:se(t.a)}},oa=function(t){return{h:M(t.h),s:M(t.s),l:M(t.l),a:M(t.a,3)}},sa=function(t){return ra((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},gr=function(t){return{h:(e=ta(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},Qh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ed=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,td=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,na={string:[[function(t){var e=Zh.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?M(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?M(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=ed.exec(t)||td.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:ea({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=Qh.exec(t)||Jh.exec(t);if(!e)return null;var r,o,i=ia({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Yh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return sa(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return ze(e)&&ze(r)&&ze(o)?ea({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!ze(e)||!ze(r)||!ze(o))return null;var n=ia({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return sa(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!ze(e)||!ze(r)||!ze(o))return null;var n=function(u){return{h:Jn(u.h),s:se(u.s,0,100),v:se(u.v,0,100),a:se(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return ra(n)},"hsv"]]},aa=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},rd=function(t){return typeof t=="string"?aa(t.trim(),na.string):typeof t=="object"&&t!==null?aa(t,na.object):[null,void 0]},yo=function(t,e){var r=gr(t);return{h:r.h,s:se(r.s+100*e,0,100),l:r.l,a:r.a}},wo=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},la=function(t,e){var r=gr(t);return{h:r.h,s:r.s,l:se(r.l+100*e,0,100),a:r.a}},xo=function(){function t(e){this.parsed=rd(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return M(wo(this.rgba),2)},t.prototype.isDark=function(){return wo(this.rgba)<.5},t.prototype.isLight=function(){return wo(this.rgba)>=.5},t.prototype.toHex=function(){return e=_o(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?gi(M(255*s)):"","#"+gi(r)+gi(o)+gi(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return _o(this.rgba)},t.prototype.toRgbString=function(){return e=_o(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return oa(gr(this.rgba))},t.prototype.toHslString=function(){return e=oa(gr(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=ta(this.rgba),{h:M(e.h),s:M(e.s),v:M(e.v),a:M(e.a,3)};var e},t.prototype.invert=function(){return Ie({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ie(yo(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ie(yo(this.rgba,-e))},t.prototype.grayscale=function(){return Ie(yo(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ie(la(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ie(la(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ie({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):M(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=gr(this.rgba);return typeof e=="number"?Ie({h:e,s:r.s,l:r.l,a:r.a}):M(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ie(e).toHex()},t}(),Ie=function(t){return t instanceof xo?t:new xo(t)},id=Object.defineProperty,od=Object.getOwnPropertyDescriptor,mi=(t,e,r,o)=>{for(var i=o>1?void 0:o?od(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&id(e,r,i),i};let pt=class extends ve("label",St(lr(v))){constructor(){super(),this._value="",this.disabled=!1,this.showLabel=!1,this._color=null,this.addEventListener("click",this._setAriaAttributes)}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get color(){return this._color}set color(t){}get isLight(){var t,e;return(e=(t=this.color)==null?void 0:t.isLight())!=null?e:!1}_initializeColor(){var t;this._color=new xo((t=this.value)!=null?t:""),this._color.isValid()||(this.disabled=!0,console.error(`Invalid color provided to uui-color-swatch: ${this.value}`))}_setAriaAttributes(){this.selectable&&this.setAttribute("aria-checked",this.selected.toString())}firstUpdated(){this._initializeColor(),this._setAriaAttributes()}willUpdate(t){t.has("value")&&this._initializeColor(),t.has("disabled")&&this.selectable&&(this.selectable=!this.disabled,this.deselectable=!this.disabled),(t.has("selectable")||t.has("selected"))&&this._setAriaAttributes()}render(){return l`
2262
+ `],ze([a({reflect:!0})],oe.prototype,"type",2),ze([a()],oe.prototype,"color",2),ze([a({type:Number})],oe.prototype,"min",2),ze([a({type:Number})],oe.prototype,"max",2),ze([a({type:Number})],oe.prototype,"precision",2),ze([a({type:Boolean,reflect:!0})],oe.prototype,"vertical",2),ze([a()],oe.prototype,"value",2),ze([a({type:Boolean,reflect:!0})],oe.prototype,"disabled",2),oe=ze([p("uui-color-slider")],oe);var ud={grad:.9,turn:360,rad:360/(2*Math.PI)},Ie=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},T=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},se=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},na=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},aa=function(t){return{r:se(t.r,0,255),g:se(t.g,0,255),b:se(t.b,0,255),a:se(t.a)}},yo=function(t){return{r:T(t.r),g:T(t.g),b:T(t.b),a:T(t.a,3)}},cd=/^#([0-9a-f]{3,8})$/i,bi=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},la=function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=Math.max(e,r,o),n=s-Math.min(e,r,o),u=n?s===e?(r-o)/n:s===r?2+(o-e)/n:4+(e-r)/n:0;return{h:60*(u<0?u+6:u),s:s?n/s*100:0,v:s/255*100,a:i}},ua=function(t){var e=t.h,r=t.s,o=t.v,i=t.a;e=e/360*6,r/=100,o/=100;var s=Math.floor(e),n=o*(1-r),u=o*(1-(e-s)*r),c=o*(1-(1-e+s)*r),h=s%6;return{r:255*[o,u,n,n,c,o][h],g:255*[c,o,o,u,n,n][h],b:255*[n,n,c,o,o,u][h],a:i}},ca=function(t){return{h:na(t.h),s:se(t.s,0,100),l:se(t.l,0,100),a:se(t.a)}},ha=function(t){return{h:T(t.h),s:T(t.s),l:T(t.l),a:T(t.a,3)}},da=function(t){return ua((r=(e=t).s,{h:e.h,s:(r*=((o=e.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:e.a}));var e,r,o},_r=function(t){return{h:(e=la(t)).h,s:(i=(200-(r=e.s))*(o=e.v)/100)>0&&i<200?r*o/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,o,i},hd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,dd=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,pd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,pa={string:[[function(t){var e=cd.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?T(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?T(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=pd.exec(t)||vd.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:aa({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=hd.exec(t)||dd.exec(t);if(!e)return null;var r,o,i=ca({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(ud[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return da(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,o=t.b,i=t.a,s=i===void 0?1:i;return Ie(e)&&Ie(r)&&Ie(o)?aa({r:Number(e),g:Number(r),b:Number(o),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,o=t.l,i=t.a,s=i===void 0?1:i;if(!Ie(e)||!Ie(r)||!Ie(o))return null;var n=ca({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return da(n)},"hsl"],[function(t){var e=t.h,r=t.s,o=t.v,i=t.a,s=i===void 0?1:i;if(!Ie(e)||!Ie(r)||!Ie(o))return null;var n=function(u){return{h:na(u.h),s:se(u.s,0,100),v:se(u.v,0,100),a:se(u.a)}}({h:Number(e),s:Number(r),v:Number(o),a:Number(s)});return ua(n)},"hsv"]]},va=function(t,e){for(var r=0;r<e.length;r++){var o=e[r][0](t);if(o)return[o,e[r][1]]}return[null,void 0]},fd=function(t){return typeof t=="string"?va(t.trim(),pa.string):typeof t=="object"&&t!==null?va(t,pa.object):[null,void 0]},wo=function(t,e){var r=_r(t);return{h:r.h,s:se(r.s+100*e,0,100),l:r.l,a:r.a}},xo=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},fa=function(t,e){var r=_r(t);return{h:r.h,s:r.s,l:se(r.l+100*e,0,100),a:r.a}},$o=function(){function t(e){this.parsed=fd(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return T(xo(this.rgba),2)},t.prototype.isDark=function(){return xo(this.rgba)<.5},t.prototype.isLight=function(){return xo(this.rgba)>=.5},t.prototype.toHex=function(){return e=yo(this.rgba),r=e.r,o=e.g,i=e.b,n=(s=e.a)<1?bi(T(255*s)):"","#"+bi(r)+bi(o)+bi(i)+n;var e,r,o,i,s,n},t.prototype.toRgb=function(){return yo(this.rgba)},t.prototype.toRgbString=function(){return e=yo(this.rgba),r=e.r,o=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+o+", "+i+", "+s+")":"rgb("+r+", "+o+", "+i+")";var e,r,o,i,s},t.prototype.toHsl=function(){return ha(_r(this.rgba))},t.prototype.toHslString=function(){return e=ha(_r(this.rgba)),r=e.h,o=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+o+"%, "+i+"%, "+s+")":"hsl("+r+", "+o+"%, "+i+"%)";var e,r,o,i,s},t.prototype.toHsv=function(){return e=la(this.rgba),{h:T(e.h),s:T(e.s),v:T(e.v),a:T(e.a,3)};var e},t.prototype.invert=function(){return Ae({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ae(wo(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ae(wo(this.rgba,-e))},t.prototype.grayscale=function(){return Ae(wo(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ae(fa(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ae(fa(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ae({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):T(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=_r(this.rgba);return typeof e=="number"?Ae({h:e,s:r.s,l:r.l,a:r.a}):T(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ae(e).toHex()},t}(),Ae=function(t){return t instanceof $o?t:new $o(t)},bd=Object.defineProperty,gd=Object.getOwnPropertyDescriptor,gi=(t,e,r,o)=>{for(var i=o>1?void 0:o?gd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&bd(e,r,i),i};let pt=class extends ve("label",St(cr(v))){constructor(){super(),this._value="",this.disabled=!1,this.showLabel=!1,this._color=null,this.addEventListener("click",this._setAriaAttributes)}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get color(){return this._color}set color(t){}get isLight(){var t,e;return(e=(t=this.color)==null?void 0:t.isLight())!=null?e:!1}_initializeColor(){var t;this._color=new $o((t=this.value)!=null?t:""),this._color.isValid()||(this.disabled=!0,console.error(`Invalid color provided to uui-color-swatch: ${this.value}`))}_setAriaAttributes(){this.selectable&&this.setAttribute("aria-checked",this.selected.toString())}firstUpdated(){this._initializeColor(),this._setAriaAttributes()}willUpdate(t){t.has("value")&&this._initializeColor(),t.has("disabled")&&this.selectable&&(this.selectable=!this.disabled,this.deselectable=!this.disabled),(t.has("selectable")||t.has("selected"))&&this._setAriaAttributes()}render(){return l`
2253
2263
  <button
2254
2264
  id="swatch"
2255
2265
  aria-label=${this.label}
2256
2266
  aria-disabled="${this.disabled}"
2257
2267
  title="${this.label}">
2258
2268
  <div
2259
- class=${ci({"color-swatch":!0,"color-swatch--transparent-bg":!0,"color-swatch--light":this.isLight,"color-swatch--big":this.showLabel})}>
2269
+ class=${ui({"color-swatch":!0,"color-swatch--transparent-bg":!0,"color-swatch--light":this.isLight,"color-swatch--big":this.showLabel})}>
2260
2270
  <div
2261
2271
  class="color-swatch__color"
2262
2272
  style=${ge({backgroundColor:this.value})}></div>
2263
- <div class="color-swatch__check">${ai}</div>
2273
+ <div class="color-swatch__check">${ni}</div>
2264
2274
  </div>
2265
2275
  ${this._renderWithLabel()}
2266
2276
  </button>
2267
2277
  `}_renderWithLabel(){return this.showLabel?l`<div class="color-swatch__label">
2268
2278
  <strong>${this.renderLabel()}</strong>
2269
2279
  ${this.value}
2270
- </div>`:E}};pt.styles=[h`
2280
+ </div>`:x}};pt.styles=[d`
2271
2281
  :host {
2272
2282
  position: relative;
2273
2283
  display: inline-flex;
@@ -2427,19 +2437,19 @@
2427
2437
  white-space: nowrap;
2428
2438
  box-sizing: border-box;
2429
2439
  }
2430
- `],mi([a()],pt.prototype,"value",1),mi([a({type:Boolean,reflect:!0})],pt.prototype,"disabled",2),mi([a({type:Boolean,attribute:"show-label"})],pt.prototype,"showLabel",2),pt=mi([p("uui-color-swatch")],pt);var sd=Object.defineProperty,ua=Object.getOwnPropertySymbols,nd=Object.prototype.hasOwnProperty,ad=Object.prototype.propertyIsEnumerable,ca=(t,e,r)=>e in t?sd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ha=(t,e)=>{for(var r in e||(e={}))nd.call(e,r)&&ca(t,r,e[r]);if(ua)for(var r of ua(e))ad.call(e,r)&&ca(t,r,e[r]);return t};class Lt extends O{constructor(e,r={}){super(e,ha(ha({},{bubbles:!0}),r))}}Lt.CHANGE="change";var ld=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,$o=(t,e,r,o)=>{for(var i=o>1?void 0:o?ud(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ld(e,r,i),i};let Nt=class extends ve("label",v){constructor(){super(),this.value="",this._onSelected=t=>{const e=t.target;this.swatches.includes(e)&&(this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=e,this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.dispatchEvent(new Lt(Lt.CHANGE)))},this._onDeselected=t=>{const e=t.target;this.swatches.includes(e)&&(this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0,this.value="",this.dispatchEvent(new Lt(Lt.CHANGE))))},this.addEventListener(Ve.SELECTED,this._onSelected),this.addEventListener(Ve.DESELECTED,this._onDeselected)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}willUpdate(t){t.has("label")&&this.setAttribute("aria-label",this.label)}_handleSlotChange(){!this.swatches||this.swatches.length===0||this.swatches.forEach(t=>{var e;t.setAttribute("selectable","selectable"),t.setAttribute("aria-checked","false"),t.setAttribute("role","radio"),this.value!==""&&((e=t.color)!=null&&e.isEqual(this.value))&&(t.selected=!0,t.setAttribute("aria-checked","true"),this._selectedElement=t,this._activeElement=this._selectedElement)})}resetSelection(){this.swatches.forEach(t=>{t.selected=!1,t.active=!1,t.selectable=!0}),this._activeElement=void 0,this._selectedElement=void 0,this.value=""}render(){return l`<slot @slotchange=${this._handleSlotChange}></slot>`}};Nt.styles=[h`
2440
+ `],gi([a()],pt.prototype,"value",1),gi([a({type:Boolean,reflect:!0})],pt.prototype,"disabled",2),gi([a({type:Boolean,attribute:"show-label"})],pt.prototype,"showLabel",2),pt=gi([p("uui-color-swatch")],pt);var md=Object.defineProperty,ba=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,yd=Object.prototype.propertyIsEnumerable,ga=(t,e,r)=>e in t?md(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ma=(t,e)=>{for(var r in e||(e={}))_d.call(e,r)&&ga(t,r,e[r]);if(ba)for(var r of ba(e))yd.call(e,r)&&ga(t,r,e[r]);return t};class Nt extends O{constructor(e,r={}){super(e,ma(ma({},{bubbles:!0}),r))}}Nt.CHANGE="change";var wd=Object.defineProperty,xd=Object.getOwnPropertyDescriptor,Eo=(t,e,r,o)=>{for(var i=o>1?void 0:o?xd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&wd(e,r,i),i};let Ht=class extends ve("label",v){constructor(){super(),this.value="",this._onSelected=t=>{const e=t.target;this.swatches.includes(e)&&(this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=e,this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.dispatchEvent(new Nt(Nt.CHANGE)))},this._onDeselected=t=>{const e=t.target;this.swatches.includes(e)&&(this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0,this.value="",this.dispatchEvent(new Nt(Nt.CHANGE))))},this.addEventListener(Re.SELECTED,this._onSelected),this.addEventListener(Re.DESELECTED,this._onDeselected)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}willUpdate(t){t.has("label")&&this.setAttribute("aria-label",this.label)}_handleSlotChange(){!this.swatches||this.swatches.length===0||this.swatches.forEach(t=>{var e;t.setAttribute("selectable","selectable"),t.setAttribute("aria-checked","false"),t.setAttribute("role","radio"),this.value!==""&&((e=t.color)!=null&&e.isEqual(this.value))&&(t.selected=!0,t.setAttribute("aria-checked","true"),this._selectedElement=t,this._activeElement=this._selectedElement)})}resetSelection(){this.swatches.forEach(t=>{t.selected=!1,t.active=!1,t.selectable=!0}),this._activeElement=void 0,this._selectedElement=void 0,this.value=""}render(){return l`<slot @slotchange=${this._handleSlotChange}></slot>`}};Ht.styles=[d`
2431
2441
  :host {
2432
2442
  display: flex;
2433
2443
  flex-wrap: wrap;
2434
2444
  gap: 0.4rem;
2435
2445
  }
2436
- `],$o([a()],Nt.prototype,"value",2),$o([je({selector:"uui-color-swatch"})],Nt.prototype,"swatches",2),Nt=$o([p("uui-color-swatches")],Nt);var cd=Object.defineProperty,da=Object.getOwnPropertySymbols,hd=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable,pa=(t,e,r)=>e in t?cd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,va=(t,e)=>{for(var r in e||(e={}))hd.call(e,r)&&pa(t,r,e[r]);if(da)for(var r of da(e))dd.call(e,r)&&pa(t,r,e[r]);return t};class le extends O{constructor(e,r={}){super(e,va(va({},{bubbles:!0}),r))}}le.CHANGE="change",le.INNER_SLOT_CHANGE="inner-slot-change";var pd=Object.defineProperty,vd=Object.getOwnPropertyDescriptor,vt=(t,e,r,o)=>{for(var i=o>1?void 0:o?vd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&pd(e,r,i),i};let ye=class extends v{constructor(){super(...arguments),this.displayValue="",this._value="",this._onSlotChange=()=>{this._activeElement=void 0;for(let t=0;t<this._activeOptions.length;t++)t===0?this._activeElement=this._activeOptions[t]:this._activeOptions[t].active=!1;this._updateSelection(),this.dispatchEvent(new le(le.INNER_SLOT_CHANGE))},this._onSelected=t=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t.composedPath()[0],this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new le(le.CHANGE))},this._onDeselected=t=>{const e=t.composedPath()[0];this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this.value="",this.displayValue="",this.dispatchEvent(new le(le.CHANGE)))},this._moveIndex=t=>{const e=Math.min(Math.max(this._getActiveIndex()+t,0),this._options.length-1);this._goToIndex(e)},this._onKeyDown=t=>{var e;if(!(this._options.length<=0))switch(t.key){case"ArrowUp":t.preventDefault(),t.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":t.preventDefault(),t.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{t.preventDefault(),this._goToIndex(0);break}case"Enter":{t.preventDefault(),(e=this._activeElement)==null||e.click();break}case"End":{t.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(t){if(this._value===t)return;const e=this._value;this._value=t,this._updateSelection(),this.requestUpdate("value",e)}get for(){return this._for}set for(t){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=t,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(Ve.SELECTED,this._onSelected),this.addEventListener(Ve.DESELECTED,this._onDeselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(Ve.SELECTED,this._onSelected),this.removeEventListener(Ve.DESELECTED,this._onDeselected)}_updateSelection(){this.displayValue="";for(const t of this._options)t.value===this._value?(this.displayValue=t.displayValue||"",t.selected=!0):t.selected=!1}_getActiveIndex(){return this._activeElement?this._options.indexOf(this._activeElement):-1}_goToIndex(t){t=Math.min(Math.max(t,0),this._options.length-1),this._activeElement=this._options[t],this._activeElement&&this._activeElement.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};ye.styles=[h`
2446
+ `],Eo([a()],Ht.prototype,"value",2),Eo([Be({selector:"uui-color-swatch"})],Ht.prototype,"swatches",2),Ht=Eo([p("uui-color-swatches")],Ht);var $d=Object.defineProperty,_a=Object.getOwnPropertySymbols,Ed=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable,ya=(t,e,r)=>e in t?$d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,wa=(t,e)=>{for(var r in e||(e={}))Ed.call(e,r)&&ya(t,r,e[r]);if(_a)for(var r of _a(e))Pd.call(e,r)&&ya(t,r,e[r]);return t};class ue extends O{constructor(e,r={}){super(e,wa(wa({},{bubbles:!0}),r))}}ue.CHANGE="change",ue.INNER_SLOT_CHANGE="inner-slot-change";var Cd=Object.defineProperty,Od=Object.getOwnPropertyDescriptor,vt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Od(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Cd(e,r,i),i};let ye=class extends v{constructor(){super(...arguments),this.displayValue="",this._value="",this._onSlotChange=()=>{this._activeElement=void 0;for(let t=0;t<this._activeOptions.length;t++)t===0?this._activeElement=this._activeOptions[t]:this._activeOptions[t].active=!1;this._updateSelection(),this.dispatchEvent(new ue(ue.INNER_SLOT_CHANGE))},this._onSelected=t=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t.composedPath()[0],this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new ue(ue.CHANGE))},this._onDeselected=t=>{const e=t.composedPath()[0];this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this.value="",this.displayValue="",this.dispatchEvent(new ue(ue.CHANGE)))},this._moveIndex=t=>{const e=Math.min(Math.max(this._getActiveIndex()+t,0),this._options.length-1);this._goToIndex(e)},this._onKeyDown=t=>{var e;if(!(this._options.length<=0))switch(t.key){case"ArrowUp":t.preventDefault(),t.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":t.preventDefault(),t.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{t.preventDefault(),this._goToIndex(0);break}case"Enter":{t.preventDefault(),(e=this._activeElement)==null||e.click();break}case"End":{t.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(t){if(this._value===t)return;const e=this._value;this._value=t,this._updateSelection(),this.requestUpdate("value",e)}get for(){return this._for}set for(t){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=t,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(Re.SELECTED,this._onSelected),this.addEventListener(Re.DESELECTED,this._onDeselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(Re.SELECTED,this._onSelected),this.removeEventListener(Re.DESELECTED,this._onDeselected)}_updateSelection(){this.displayValue="";for(const t of this._options)t.value===this._value?(this.displayValue=t.displayValue||"",t.selected=!0):t.selected=!1}_getActiveIndex(){return this._activeElement?this._options.indexOf(this._activeElement):-1}_goToIndex(t){t=Math.min(Math.max(t,0),this._options.length-1),this._activeElement=this._options[t],this._activeElement&&this._activeElement.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};ye.styles=[d`
2437
2447
  :host {
2438
2448
  display: flex;
2439
2449
  flex-direction: column;
2440
2450
  box-sizing: border-box;
2441
2451
  }
2442
- `],vt([a()],ye.prototype,"value",1),vt([a({type:String})],ye.prototype,"displayValue",2),vt([a({attribute:!1})],ye.prototype,"for",1),vt([je({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],ye.prototype,"_options",2),vt([je({flatten:!0,selector:"uui-combobox-list-option[active]"})],ye.prototype,"_activeOptions",2),vt([f()],ye.prototype,"_value",2),ye=vt([p("uui-combobox-list")],ye);var fd=Object.defineProperty,bd=Object.getOwnPropertyDescriptor,Ht=(t,e,r,o)=>{for(var i=o>1?void 0:o?bd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&fd(e,r,i),i};let Ae=class extends St(lr(v)){constructor(){super(),this._disabled=!1,this._displayValue="",this.selectable=!0,this.deselectable=!1}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get displayValue(){var t;return this._displayValue?this._displayValue:((t=this.textContent)==null?void 0:t.trim())||""}set displayValue(t){const e=this._displayValue;this._displayValue=t,this.requestUpdate("displayValue",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.selectable=!this._disabled,this.requestUpdate("disabled",e)}render(){return l`<slot></slot>`}};Ae.styles=[h`
2452
+ `],vt([a()],ye.prototype,"value",1),vt([a({type:String})],ye.prototype,"displayValue",2),vt([a({attribute:!1})],ye.prototype,"for",1),vt([Be({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],ye.prototype,"_options",2),vt([Be({flatten:!0,selector:"uui-combobox-list-option[active]"})],ye.prototype,"_activeOptions",2),vt([f()],ye.prototype,"_value",2),ye=vt([p("uui-combobox-list")],ye);var Sd=Object.defineProperty,kd=Object.getOwnPropertyDescriptor,Tt=(t,e,r,o)=>{for(var i=o>1?void 0:o?kd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Sd(e,r,i),i};let Ue=class extends St(cr(v)){constructor(){super(),this._disabled=!1,this._displayValue="",this.selectable=!0,this.deselectable=!1}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get displayValue(){var t;return this._displayValue?this._displayValue:((t=this.textContent)==null?void 0:t.trim())||""}set displayValue(t){const e=this._displayValue;this._displayValue=t,this.requestUpdate("displayValue",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.selectable=!this._disabled,this.requestUpdate("disabled",e)}render(){return l`<slot></slot>`}};Ue.styles=[d`
2443
2453
  :host {
2444
2454
  position: relative;
2445
2455
  cursor: pointer;
@@ -2508,7 +2518,7 @@
2508
2518
  color: var(--uui-color-disabled-contrast,#c4c4c4);
2509
2519
  background-color: var(--uui-color-disabled,#f3f3f5);
2510
2520
  }
2511
- `],Ht([f()],Ae.prototype,"_disabled",2),Ht([f()],Ae.prototype,"_displayValue",2),Ht([a({type:String})],Ae.prototype,"value",1),Ht([a({type:String,attribute:"display-value"})],Ae.prototype,"displayValue",1),Ht([a({type:Boolean,reflect:!0})],Ae.prototype,"disabled",1),Ae=Ht([p("uui-combobox-list-option")],Ae);var gd=Object.defineProperty,fa=Object.getOwnPropertySymbols,md=Object.prototype.hasOwnProperty,_d=Object.prototype.propertyIsEnumerable,ba=(t,e,r)=>e in t?gd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ga=(t,e)=>{for(var r in e||(e={}))md.call(e,r)&&ba(t,r,e[r]);if(fa)for(var r of fa(e))_d.call(e,r)&&ba(t,r,e[r]);return t};class K extends O{constructor(e,r={}){super(e,ga(ga({},{bubbles:!0}),r))}}K.SEARCH="search",K.CHANGE="change";var yd=Object.defineProperty,wd=Object.getOwnPropertyDescriptor,ue=(t,e,r,o)=>{for(var i=o>1?void 0:o?wd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&yd(e,r,i),i};let G=class extends fe(v){constructor(){super(...arguments),this.open=!1,this.closeLabel="Close",this.disabled=!1,this._displayValue="",this._search="",this._isPhone=!1,this._onPhoneChange=()=>{this._isPhone=this.phoneMediaQuery.matches},this._onMouseDown=()=>requestAnimationFrame(()=>this._input.focus()),this._onBlur=()=>requestAnimationFrame(()=>{var t;(t=this.shadowRoot)!=null&&t.activeElement||this._onClose()}),this._onInput=t=>{t.preventDefault(),t.stopImmediatePropagation(),this.search=t.target.value,this.dispatchEvent(new K(K.SEARCH)),this._open()},this._onSlotChange=()=>{var t;this.value&&this.value!==((t=this._comboboxList)==null?void 0:t.value)&&this._updateValue(this.value)},this._onChange=()=>{var t;this.value=((t=this._comboboxList)==null?void 0:t.value)||"",this.search=this.value?this.search:"",this._onClose(),this.dispatchEvent(new K(K.CHANGE))},this._open=()=>{this.open||(this.open=!0)},this._onClose=()=>{this.open&&(this.open=!1,this.search="",this._input.value=this._displayValue,this.dispatchEvent(new K(K.SEARCH)))},this._onKeyDown=t=>{this.open===!1&&t.key==="Enter"&&(t.preventDefault(),t.stopImmediatePropagation()),(t.key==="ArrowUp"||t.key==="ArrowDown")&&this._open(),(t.key==="Escape"||t.key==="Enter")&&this._onClose()},this._onClear=t=>{t.key&&t.key!=="Enter"||(t.preventDefault(),t.stopImmediatePropagation(),this.value="",this.search="",this._input.value=this._displayValue,this._input.focus(),this.dispatchEvent(new K(K.SEARCH)),this.dispatchEvent(new K(K.CHANGE)))},this._renderInput=()=>l` <uui-input
2521
+ `],Tt([f()],Ue.prototype,"_disabled",2),Tt([f()],Ue.prototype,"_displayValue",2),Tt([a({type:String})],Ue.prototype,"value",1),Tt([a({type:String,attribute:"display-value"})],Ue.prototype,"displayValue",1),Tt([a({type:Boolean,reflect:!0})],Ue.prototype,"disabled",1),Ue=Tt([p("uui-combobox-list-option")],Ue);var zd=Object.defineProperty,xa=Object.getOwnPropertySymbols,Id=Object.prototype.hasOwnProperty,Ad=Object.prototype.propertyIsEnumerable,$a=(t,e,r)=>e in t?zd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ea=(t,e)=>{for(var r in e||(e={}))Id.call(e,r)&&$a(t,r,e[r]);if(xa)for(var r of xa(e))Ad.call(e,r)&&$a(t,r,e[r]);return t};class K extends O{constructor(e,r={}){super(e,Ea(Ea({},{bubbles:!0}),r))}}K.SEARCH="search",K.CHANGE="change";var Ud=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,ce=(t,e,r,o)=>{for(var i=o>1?void 0:o?Dd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ud(e,r,i),i};let G=class extends fe(v){constructor(){super(...arguments),this.open=!1,this.closeLabel="Close",this.disabled=!1,this._displayValue="",this._search="",this._isPhone=!1,this._onPhoneChange=()=>{this._isPhone=this.phoneMediaQuery.matches},this._onMouseDown=()=>requestAnimationFrame(()=>this._input.focus()),this._onBlur=()=>requestAnimationFrame(()=>{var t;(t=this.shadowRoot)!=null&&t.activeElement||this._onClose()}),this._onInput=t=>{t.preventDefault(),t.stopImmediatePropagation(),this.search=t.target.value,this.dispatchEvent(new K(K.SEARCH)),this._open()},this._onSlotChange=()=>{var t;this.value&&this.value!==((t=this._comboboxList)==null?void 0:t.value)&&this._updateValue(this.value)},this._onChange=()=>{var t;this.value=((t=this._comboboxList)==null?void 0:t.value)||"",this.search=this.value?this.search:"",this._onClose(),this.dispatchEvent(new K(K.CHANGE))},this._open=()=>{this.open||(this.open=!0)},this._onClose=()=>{this.open&&(this.open=!1,this.search="",this._input.value=this._displayValue,this.dispatchEvent(new K(K.SEARCH)))},this._onKeyDown=t=>{this.open===!1&&t.key==="Enter"&&(t.preventDefault(),t.stopImmediatePropagation()),(t.key==="ArrowUp"||t.key==="ArrowDown")&&this._open(),(t.key==="Escape"||t.key==="Enter")&&this._onClose()},this._onClear=t=>{t.key&&t.key!=="Enter"||(t.preventDefault(),t.stopImmediatePropagation(),this.value="",this.search="",this._input.value=this._displayValue,this._input.focus(),this.dispatchEvent(new K(K.SEARCH)),this.dispatchEvent(new K(K.CHANGE)))},this._renderInput=()=>l` <uui-input
2512
2522
  slot="trigger"
2513
2523
  id="combobox-input"
2514
2524
  label="combobox-input"
@@ -2532,12 +2542,12 @@
2532
2542
  slot="append"
2533
2543
  compact
2534
2544
  style="height: 100%;">
2535
- <uui-icon name="remove" .fallback=${vn.strings[0]}></uui-icon>
2545
+ <uui-icon name="remove" .fallback=${wn.strings[0]}></uui-icon>
2536
2546
  </uui-button>`:"",this._renderDropdown=()=>l`<div id="dropdown" slot="popover">
2537
2547
  <uui-scroll-container tabindex="-1" id="scroll-container">
2538
2548
  <slot></slot>
2539
2549
  </uui-scroll-container>
2540
- </div>`}get value(){return this._value}set value(t){typeof t=="string"&&this._updateValue(t),super.value=t}get search(){return this._search}set search(t){if(this.search===t)return;const e=this._search;this._search=t,this.requestUpdate("search",e)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",this._onBlur),this.addEventListener("mousedown",this._onMouseDown),this.phoneMediaQuery=window.matchMedia("(max-width: 600px)"),this._onPhoneChange(),this.phoneMediaQuery.addEventListener("change",this._onPhoneChange),m(this,"uui-icon"),m(this,"uui-input"),m(this,"uui-button"),m(this,"uui-combobox-list"),m(this,"uui-scroll-container"),m(this,"uui-popover")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this._onBlur),this.removeEventListener("mousedown",this._onMouseDown),this.phoneMediaQuery.removeEventListener("change",this._onPhoneChange)}async firstUpdated(){var t;const e=(t=this._comboboxListElements)==null?void 0:t[0];e&&(this._comboboxList=e,this._comboboxList.for=this,this._comboboxList.addEventListener(le.CHANGE,this._onChange),this._comboboxList.addEventListener(le.INNER_SLOT_CHANGE,this._onSlotChange),await this.updateComplete,this._updateValue(this.value))}_updateValue(t){this._comboboxList&&(this._comboboxList.value=t,requestAnimationFrame(()=>this._displayValue=this._comboboxList.displayValue||""))}getFormElement(){return this._input}render(){return this._isPhone&&this.open?l` <div id="phone-wrapper">
2550
+ </div>`}get value(){return this._value}set value(t){typeof t=="string"&&this._updateValue(t),super.value=t}get search(){return this._search}set search(t){if(this.search===t)return;const e=this._search;this._search=t,this.requestUpdate("search",e)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",this._onBlur),this.addEventListener("mousedown",this._onMouseDown),this.phoneMediaQuery=window.matchMedia("(max-width: 600px)"),this._onPhoneChange(),this.phoneMediaQuery.addEventListener("change",this._onPhoneChange),_(this,"uui-icon"),_(this,"uui-input"),_(this,"uui-button"),_(this,"uui-combobox-list"),_(this,"uui-scroll-container"),_(this,"uui-popover")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this._onBlur),this.removeEventListener("mousedown",this._onMouseDown),this.phoneMediaQuery.removeEventListener("change",this._onPhoneChange)}async firstUpdated(){var t;const e=(t=this._comboboxListElements)==null?void 0:t[0];e&&(this._comboboxList=e,this._comboboxList.for=this,this._comboboxList.addEventListener(ue.CHANGE,this._onChange),this._comboboxList.addEventListener(ue.INNER_SLOT_CHANGE,this._onSlotChange),await this.updateComplete,this._updateValue(this.value))}_updateValue(t){this._comboboxList&&(this._comboboxList.value=t,requestAnimationFrame(()=>this._displayValue=this._comboboxList.displayValue||""))}getFormElement(){return this._input}render(){return this._isPhone&&this.open?l` <div id="phone-wrapper">
2541
2551
  <uui-button label="close" look="primary" @click=${this._onClose}>
2542
2552
  ${this.closeLabel}
2543
2553
  </uui-button>
@@ -2549,7 +2559,7 @@
2549
2559
  @close=${()=>this._onClose()}>
2550
2560
  ${this._renderInput()} ${this._renderDropdown()}
2551
2561
  </uui-popover>
2552
- `}};G.styles=[h`
2562
+ `}};G.styles=[d`
2553
2563
  :host {
2554
2564
  display: inline-block;
2555
2565
  }
@@ -2617,12 +2627,12 @@
2617
2627
  #phone-wrapper #scroll-container {
2618
2628
  max-height: unset;
2619
2629
  }
2620
- `],ue([a({attribute:"value",reflect:!0})],G.prototype,"value",1),ue([a({type:String})],G.prototype,"search",1),ue([a({type:Boolean})],G.prototype,"open",2),ue([a({type:String})],G.prototype,"closeLabel",2),ue([a({type:Boolean,reflect:!0})],G.prototype,"disabled",2),ue([C("#combobox-input")],G.prototype,"_input",2),ue([je({flatten:!0,selector:"uui-combobox-list"})],G.prototype,"_comboboxListElements",2),ue([f()],G.prototype,"_displayValue",2),ue([f()],G.prototype,"_search",2),ue([f()],G.prototype,"_isPhone",2),G=ue([p("uui-combobox")],G);var xd=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,Eo=(t,e,r,o)=>{for(var i=o>1?void 0:o?$d(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&xd(e,r,i),i};let Mt=class extends v{constructor(){super(...arguments),this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return l` <h3
2630
+ `],ce([a({attribute:"value",reflect:!0})],G.prototype,"value",1),ce([a({type:String})],G.prototype,"search",1),ce([a({type:Boolean})],G.prototype,"open",2),ce([a({type:String})],G.prototype,"closeLabel",2),ce([a({type:Boolean,reflect:!0})],G.prototype,"disabled",2),ce([C("#combobox-input")],G.prototype,"_input",2),ce([Be({flatten:!0,selector:"uui-combobox-list"})],G.prototype,"_comboboxListElements",2),ce([f()],G.prototype,"_displayValue",2),ce([f()],G.prototype,"_search",2),ce([f()],G.prototype,"_isPhone",2),G=ce([p("uui-combobox")],G);var Ld=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,Po=(t,e,r,o)=>{for(var i=o>1?void 0:o?Nd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ld(e,r,i),i};let Mt=class extends v{constructor(){super(...arguments),this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return l` <h3
2621
2631
  style=${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
2622
2632
  ${this.headline}
2623
2633
  <slot name="headline" @slotchange=${this._headlineSlotChanged}></slot>
2624
2634
  </h3>`}renderContent(){return l`<slot></slot>`}renderActions(){return l`<slot id="actions" name="actions"></slot>`}render(){return l`${this.renderHeadline()} ${this.renderContent()}
2625
- ${this.renderActions()} `}};Mt.styles=[h`
2635
+ ${this.renderActions()} `}};Mt.styles=[d`
2626
2636
  :host {
2627
2637
  display: block;
2628
2638
  padding: var(--uui-size-10,30px) var(--uui-size-14,42px);
@@ -2635,7 +2645,7 @@
2635
2645
  justify-content: end;
2636
2646
  gap: var(--uui-size-4,12px);
2637
2647
  }
2638
- `],Eo([a({type:String})],Mt.prototype,"headline",2),Eo([f()],Mt.prototype,"_headlineSlotHasContent",2),Mt=Eo([p("uui-dialog-layout")],Mt);var Ed=Object.defineProperty,Pd=Object.getOwnPropertyDescriptor,Cd=(t,e,r,o)=>{for(var i=o>1?void 0:o?Pd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ed(e,r,i),i};let _i=class extends v{render(){return l`<slot></slot>`}};_i.styles=[h`
2648
+ `],Po([a({type:String})],Mt.prototype,"headline",2),Po([f()],Mt.prototype,"_headlineSlotHasContent",2),Mt=Po([p("uui-dialog-layout")],Mt);var Hd=Object.defineProperty,Td=Object.getOwnPropertyDescriptor,Md=(t,e,r,o)=>{for(var i=o>1?void 0:o?Td(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Hd(e,r,i),i};let mi=class extends v{render(){return l`<slot></slot>`}};mi.styles=[d`
2639
2649
  :host {
2640
2650
  position: relative;
2641
2651
  display: block;
@@ -2653,7 +2663,7 @@
2653
2663
  calc(var(--uui-border-radius,3px) * 2)
2654
2664
  );
2655
2665
  }
2656
- `],_i=Cd([p("uui-dialog")],_i);var Od=Object.defineProperty,ma=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,kd=Object.prototype.propertyIsEnumerable,_a=(t,e,r)=>e in t?Od(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ya=(t,e)=>{for(var r in e||(e={}))Sd.call(e,r)&&_a(t,r,e[r]);if(ma)for(var r of ma(e))kd.call(e,r)&&_a(t,r,e[r]);return t};class Tt extends O{constructor(e,r={}){super(e,ya(ya({},{bubbles:!0}),r))}}Tt.CHANGE="change";var zd=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,mr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Id(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&zd(e,r,i),i};let Be=class extends ve("",v){constructor(){super(),this._acceptedFileExtensions=[],this._acceptedMimeTypes=[],this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}set accept(t){if(t){const e=[],r=[];t.split(",").forEach(o=>{o=o.trim().toLowerCase(),new RegExp("[a-z]+\\/[a-z*]","s").test(o)?e.push(o):r.push(o.replace(/^\./,""))}),this._acceptedMimeTypes=e,this._acceptedFileExtensions=r}else this._acceptedMimeTypes=[],this._acceptedFileExtensions=[]}browse(){this._input.click()}connectedCallback(){super.connectedCallback(),m(this,"uui-symbol-file-dropzone")}async _getAllFileEntries(t){const e=[],r=[...t];for(;r.length>0;){const o=r.shift();if(o.kind==="file"){const i=o.getAsFile();if(!i)continue;this._isAccepted(i)&&e.push(i)}else if(o.kind==="directory"){if(!("webkitGetAsEntry"in o))continue;const i=o.webkitGetAsEntry();r.push(...await this._readAllDirectoryEntries(i.createReader()))}}return e}async _readAllDirectoryEntries(t){const e=[];let r=await this._readEntriesPromise(t);for(;r.length>0;)e.push(...r),r=await this._readEntriesPromise(t);return e}async _readEntriesPromise(t){try{return await new Promise((e,r)=>{t.readEntries(e,r)})}catch(e){console.log(e)}}_isAccepted(t){if(this._acceptedFileExtensions.length===0&&this._acceptedMimeTypes.length===0)return!0;const e=t.type.toLowerCase(),r=t.name.split(".").pop();if(r&&this._acceptedFileExtensions.includes(r.toLowerCase()))return!0;for(const o in this._acceptedMimeTypes){if(e===o)return!0;if(o.endsWith("/*")&&e.startsWith(o.replace("/*","")))return!0}return!1}async _onDrop(t){var e;t.preventDefault(),this._dropzone.classList.remove("hover");const r=(e=t.dataTransfer)==null?void 0:e.items;if(r){let o=await this._getAllFileEntries(r);this.multiple===!1&&o.length&&(o=[o[0]]),this.dispatchEvent(new Tt(Tt.CHANGE,{detail:{files:o}}))}}_onDragOver(t){t.preventDefault()}_onDragEnter(t){this._dropzone.classList.add("hover"),t.preventDefault()}_onDragLeave(t){this._dropzone.classList.remove("hover"),t.preventDefault()}_onFileInputChange(){const t=this._input.files?Array.from(this._input.files):[];this.dispatchEvent(new Tt(Tt.CHANGE,{detail:{files:t}}))}render(){return l`
2666
+ `],mi=Md([p("uui-dialog")],mi);var jd=Object.defineProperty,Pa=Object.getOwnPropertySymbols,Vd=Object.prototype.hasOwnProperty,Bd=Object.prototype.propertyIsEnumerable,Ca=(t,e,r)=>e in t?jd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oa=(t,e)=>{for(var r in e||(e={}))Vd.call(e,r)&&Ca(t,r,e[r]);if(Pa)for(var r of Pa(e))Bd.call(e,r)&&Ca(t,r,e[r]);return t};class jt extends O{constructor(e,r={}){super(e,Oa(Oa({},{bubbles:!0}),r))}}jt.CHANGE="change";var Rd=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,yr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Rd(e,r,i),i};let Fe=class extends ve("",v){constructor(){super(),this._acceptedFileExtensions=[],this._acceptedMimeTypes=[],this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}set accept(t){if(t){const e=[],r=[];t.split(",").forEach(o=>{o=o.trim().toLowerCase(),new RegExp("[a-z]+\\/[a-z*]","s").test(o)?e.push(o):r.push(o.replace(/^\./,""))}),this._acceptedMimeTypes=e,this._acceptedFileExtensions=r}else this._acceptedMimeTypes=[],this._acceptedFileExtensions=[]}browse(){this._input.click()}connectedCallback(){super.connectedCallback(),_(this,"uui-symbol-file-dropzone")}async _getAllFileEntries(t){const e=[],r=[...t];for(;r.length>0;){const o=r.shift();if(o.kind==="file"){const i=o.getAsFile();if(!i)continue;this._isAccepted(i)&&e.push(i)}else if(o.kind==="directory"){if(!("webkitGetAsEntry"in o))continue;const i=o.webkitGetAsEntry();r.push(...await this._readAllDirectoryEntries(i.createReader()))}}return e}async _readAllDirectoryEntries(t){const e=[];let r=await this._readEntriesPromise(t);for(;r.length>0;)e.push(...r),r=await this._readEntriesPromise(t);return e}async _readEntriesPromise(t){return new Promise((e,r)=>{try{t.readEntries(e,r)}catch(o){console.log(o),r(o)}})}_isAccepted(t){if(this._acceptedFileExtensions.length===0&&this._acceptedMimeTypes.length===0)return!0;const e=t.type.toLowerCase(),r=t.name.split(".").pop();if(r&&this._acceptedFileExtensions.includes(r.toLowerCase()))return!0;for(const o in this._acceptedMimeTypes){if(e===o)return!0;if(o.endsWith("/*")&&e.startsWith(o.replace("/*","")))return!0}return!1}async _onDrop(t){var e;t.preventDefault(),this._dropzone.classList.remove("hover");const r=(e=t.dataTransfer)==null?void 0:e.items;if(r){let o=await this._getAllFileEntries(r);this.multiple===!1&&o.length&&(o=[o[0]]),this.dispatchEvent(new jt(jt.CHANGE,{detail:{files:o}}))}}_onDragOver(t){t.preventDefault()}_onDragEnter(t){this._dropzone.classList.add("hover"),t.preventDefault()}_onDragLeave(t){this._dropzone.classList.remove("hover"),t.preventDefault()}_onFileInputChange(){const t=this._input.files?Array.from(this._input.files):[];this.dispatchEvent(new jt(jt.CHANGE,{detail:{files:t}}))}render(){return l`
2657
2667
  <div id="dropzone">
2658
2668
  <uui-symbol-file-dropzone id="symbol"></uui-symbol-file-dropzone>
2659
2669
  ${this.renderLabel()}
@@ -2667,7 +2677,7 @@
2667
2677
  aria-label="${this.label}" />
2668
2678
  <slot></slot>
2669
2679
  </div>
2670
- `}};Be.styles=[h`
2680
+ `}};Fe.styles=[d`
2671
2681
  #dropzone {
2672
2682
  display: flex;
2673
2683
  flex-direction: column;
@@ -2705,7 +2715,7 @@
2705
2715
  opacity: 0;
2706
2716
  display: none;
2707
2717
  }
2708
- `],mr([C("#input")],Be.prototype,"_input",2),mr([C("#dropzone")],Be.prototype,"_dropzone",2),mr([a({type:String})],Be.prototype,"accept",1),mr([a({type:Boolean})],Be.prototype,"multiple",2),Be=mr([p("uui-file-dropzone")],Be);class Ad{static humanFileSize(e,r=!1,o=1){const i=r?1e3:1024;if(Math.abs(e)<i)return e+" B";const s=r?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let n=-1;const u=10**o;do e/=i,++n;while(Math.round(Math.abs(e)*u)/u>=i&&n<s.length-1);return e.toFixed(o)+" "+s[n]}}var Ud=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,we=(t,e,r,o)=>{for(var i=o>1?void 0:o?Dd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ud(e,r,i),i};let X=class extends v{constructor(){super(...arguments),this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(t){const e=this._file;t instanceof File&&(this._name=t.name.split(".")[0],this._extension=t.name.split(".")[1],this._isDirectory=!1,this._size=t.size,this._isFileAnImage(t)&&(this._isImage=!0,this._getThumbnail(t).then(r=>{this._src=r})),this.requestUpdate("file",e))}connectedCallback(){super.connectedCallback(),m(this,"uui-symbol-file-thumbnail"),m(this,"uui-symbol-folder"),m(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?l`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?l`<uui-symbol-file-thumbnail
2718
+ `],yr([C("#input")],Fe.prototype,"_input",2),yr([C("#dropzone")],Fe.prototype,"_dropzone",2),yr([a({type:String})],Fe.prototype,"accept",1),yr([a({type:Boolean})],Fe.prototype,"multiple",2),Fe=yr([p("uui-file-dropzone")],Fe);class Gd{static humanFileSize(e,r=!1,o=1){const i=r?1e3:1024;if(Math.abs(e)<i)return e+" B";const s=r?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let n=-1;const u=10**o;do e/=i,++n;while(Math.round(Math.abs(e)*u)/u>=i&&n<s.length-1);return e.toFixed(o)+" "+s[n]}}var qd=Object.defineProperty,Wd=Object.getOwnPropertyDescriptor,we=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&qd(e,r,i),i};let X=class extends v{constructor(){super(...arguments),this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(t){const e=this._file;t instanceof File&&(this._name=t.name.split(".")[0],this._extension=t.name.split(".")[1],this._isDirectory=!1,this._size=t.size,this._isFileAnImage(t)&&(this._isImage=!0,this._getThumbnail(t).then(r=>{this._src=r})),this.requestUpdate("file",e))}connectedCallback(){super.connectedCallback(),_(this,"uui-symbol-file-thumbnail"),_(this,"uui-symbol-folder"),_(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?l`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?l`<uui-symbol-file-thumbnail
2709
2719
  .src=${this._src}
2710
2720
  .alt=${this._name}
2711
2721
  id="file-symbol"></uui-symbol-file-thumbnail>`:l`<uui-symbol-file
@@ -2725,10 +2735,10 @@
2725
2735
  <div id="file-info">
2726
2736
  ${this._renderLongName()}
2727
2737
  <span id="file-size">
2728
- ${this._size&&!this._isDirectory?l`${Ad.humanFileSize(this._size,!0)}`:""}
2738
+ ${this._size&&!this._isDirectory?l`${Gd.humanFileSize(this._size,!0)}`:""}
2729
2739
  </span>
2730
2740
  </div>
2731
- `}};X.styles=[h`
2741
+ `}};X.styles=[d`
2732
2742
  :host {
2733
2743
  position: relative;
2734
2744
  display: grid;
@@ -2796,7 +2806,7 @@
2796
2806
  text-decoration: underline;
2797
2807
  cursor: pointer;
2798
2808
  }
2799
- `],we([f()],X.prototype,"_name",2),we([f()],X.prototype,"_url",2),we([f()],X.prototype,"_extension",2),we([f()],X.prototype,"_src",2),we([f()],X.prototype,"_size",2),we([f()],X.prototype,"_isDirectory",2),we([f()],X.prototype,"_file",2),we([f()],X.prototype,"_isImage",2),we([a({attribute:!1})],X.prototype,"file",1),X=we([p("uui-file-preview")],X);var Ld=Object.defineProperty,Nd=Object.getOwnPropertyDescriptor,yi=(t,e,r,o)=>{for(var i=o>1?void 0:o?Nd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ld(e,r,i),i};let ft=class extends v{constructor(){super(...arguments),this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=t=>{this._labelSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=t=>{this._descriptionSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),m(this,"uui-form-validation-message")}render(){return l`
2809
+ `],we([f()],X.prototype,"_name",2),we([f()],X.prototype,"_url",2),we([f()],X.prototype,"_extension",2),we([f()],X.prototype,"_src",2),we([f()],X.prototype,"_size",2),we([f()],X.prototype,"_isDirectory",2),we([f()],X.prototype,"_file",2),we([f()],X.prototype,"_isImage",2),we([a({attribute:!1})],X.prototype,"file",1),X=we([p("uui-file-preview")],X);var Kd=Object.defineProperty,Xd=Object.getOwnPropertyDescriptor,_i=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Kd(e,r,i),i};let ft=class extends v{constructor(){super(...arguments),this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=t=>{this._labelSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=t=>{this._descriptionSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),_(this,"uui-form-validation-message")}render(){return l`
2800
2810
  <div id="label" style=${this._labelSlotHasContent?"":"display: none"}>
2801
2811
  <slot name="label" @slotchange=${this._labelSlotChanged}></slot>
2802
2812
  </div>
@@ -2812,7 +2822,7 @@
2812
2822
  <slot></slot>
2813
2823
  <slot name="message" slot="message"></slot>
2814
2824
  </uui-form-validation-message>
2815
- `}};ft.styles=[h`
2825
+ `}};ft.styles=[d`
2816
2826
  :host {
2817
2827
  position: relative;
2818
2828
  display: block;
@@ -2831,25 +2841,25 @@
2831
2841
  margin-top: -8px;
2832
2842
  min-height: 8px;
2833
2843
  }
2834
- `],yi([a({type:String})],ft.prototype,"description",2),yi([f()],ft.prototype,"_labelSlotHasContent",2),yi([f()],ft.prototype,"_descriptionSlotHasContent",2),ft=yi([p("uui-form-layout-item")],ft);/**
2844
+ `],_i([a({type:String})],ft.prototype,"description",2),_i([f()],ft.prototype,"_labelSlotHasContent",2),_i([f()],ft.prototype,"_descriptionSlotHasContent",2),ft=_i([p("uui-form-layout-item")],ft);/**
2835
2845
  * @license
2836
2846
  * Copyright 2017 Google LLC
2837
2847
  * SPDX-License-Identifier: BSD-3-Clause
2838
- */const wa=(t,e,r)=>{const o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},xa=It(class extends At{constructor(t){if(super(t),t.type!==ae.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);const i=[],s=[];let n=0;for(const u of t)i[n]=o?o(u,n):n,s[n]=r(u,n),n++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){var i;const s=kh(t),{values:n,keys:u}=this.dt(e,r,o);if(!Array.isArray(s))return this.ht=u,n;const c=(i=this.ht)!==null&&i!==void 0?i:this.ht=[],d=[];let x,_,b=0,y=s.length-1,w=0,$=n.length-1;for(;b<=y&&w<=$;)if(s[b]===null)b++;else if(s[y]===null)y--;else if(c[b]===u[w])d[w]=dt(s[b],n[w]),b++,w++;else if(c[y]===u[$])d[$]=dt(s[y],n[$]),y--,$--;else if(c[b]===u[$])d[$]=dt(s[b],n[$]),fr(t,d[$+1],s[b]),b++,$--;else if(c[y]===u[w])d[w]=dt(s[y],n[w]),fr(t,s[b],s[y]),y--,w++;else if(x===void 0&&(x=wa(u,w,$),_=wa(c,b,y)),x.has(c[b]))if(x.has(c[y])){const q=_.get(u[w]),Ke=q!==void 0?s[q]:null;if(Ke===null){const yt=fr(t,s[b]);dt(yt,n[w]),d[w]=yt}else d[w]=dt(Ke,n[w]),fr(t,s[b],Ke),s[q]=null;w++}else vo(s[y]),y--;else vo(s[b]),b++;for(;w<=$;){const q=fr(t,d[$+1]);dt(q,n[w]),d[w++]=q}for(;b<=y;){const q=s[b++];q!==null&&vo(q)}return this.ht=u,Ln(t,d),F}});var Hd=Object.defineProperty,Md=Object.getOwnPropertyDescriptor,$a=(t,e,r,o)=>{for(var i=o>1?void 0:o?Md(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Hd(e,r,i),i};let _r=class extends v{constructor(){super(),this._for=null,this._messages=new Map,this._onControlInvalid=t=>{const e=t.composedPath()[0];e.pristine===!1?this._messages.set(e,e.validationMessage):this._messages.delete(e),this.requestUpdate()},this._onControlValid=t=>{const e=t.composedPath()[0];this._messages.delete(e),this.requestUpdate()},this.for===null&&(this.for=this)}get for(){return this._for}set for(t){let e=null;if(typeof t=="string"){const i=this.getRootNode();e=i?.getElementById(t)}const r=e||this,o=this._for;o!==r&&(o!==null&&(o.removeEventListener(zt.INVALID,this._onControlInvalid),o.removeEventListener(zt.VALID,this._onControlValid)),this._for=r,this._for.addEventListener(zt.INVALID,this._onControlInvalid),this._for.addEventListener(zt.VALID,this._onControlValid))}render(){return l`
2848
+ */const Sa=(t,e,r)=>{const o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},ka=At(class extends Ut{constructor(t){if(super(t),t.type!==le.CHILD)throw Error("repeat() can only be used in text expressions")}ct(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);const i=[],s=[];let n=0;for(const u of t)i[n]=o?o(u,n):n,s[n]=r(u,n),n++;return{values:s,keys:i}}render(t,e,r){return this.ct(t,e,r).values}update(t,[e,r,o]){var i;const s=Bh(t),{values:n,keys:u}=this.ct(e,r,o);if(!Array.isArray(s))return this.ut=u,n;const c=(i=this.ut)!==null&&i!==void 0?i:this.ut=[],h=[];let m,y,b=0,w=s.length-1,$=0,E=n.length-1;for(;b<=w&&$<=E;)if(s[b]===null)b++;else if(s[w]===null)w--;else if(c[b]===u[$])h[$]=dt(s[b],n[$]),b++,$++;else if(c[w]===u[E])h[E]=dt(s[w],n[E]),w--,E--;else if(c[b]===u[E])h[E]=dt(s[b],n[E]),gr(t,h[E+1],s[b]),b++,E--;else if(c[w]===u[$])h[$]=dt(s[w],n[$]),gr(t,s[b],s[w]),w--,$++;else if(m===void 0&&(m=Sa(u,$,E),y=Sa(c,b,w)),m.has(c[b]))if(m.has(c[w])){const q=y.get(u[$]),Xe=q!==void 0?s[q]:null;if(Xe===null){const yt=gr(t,s[b]);dt(yt,n[$]),h[$]=yt}else h[$]=dt(Xe,n[$]),gr(t,s[b],Xe),s[q]=null;$++}else fo(s[w]),w--;else fo(s[b]),b++;for(;$<=E;){const q=gr(t,h[E+1]);dt(q,n[$]),h[$++]=q}for(;b<=w;){const q=s[b++];q!==null&&fo(q)}return this.ut=u,Bn(t,h),F}});var Yd=Object.defineProperty,Zd=Object.getOwnPropertyDescriptor,za=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Yd(e,r,i),i};let wr=class extends v{constructor(){super(),this._for=null,this._messages=new Map,this._onControlInvalid=t=>{const e=t.composedPath()[0];e.pristine===!1?this._messages.set(e,e.validationMessage):this._messages.delete(e),this.requestUpdate()},this._onControlValid=t=>{const e=t.composedPath()[0];this._messages.delete(e),this.requestUpdate()},this.for===null&&(this.for=this)}get for(){return this._for}set for(t){let e=null;if(typeof t=="string"){const i=this.getRootNode();e=i?.getElementById(t)}const r=e||this,o=this._for;o!==r&&(o!==null&&(o.removeEventListener(zt.INVALID,this._onControlInvalid),o.removeEventListener(zt.VALID,this._onControlValid)),this._for=r,this._for.addEventListener(zt.INVALID,this._onControlInvalid),this._for.addEventListener(zt.VALID,this._onControlValid))}render(){return l`
2839
2849
  <slot></slot>
2840
2850
  <div id="messages">
2841
- ${xa(this._messages,t=>l`<div>${t[1]}</div>`)}
2851
+ ${ka(this._messages,t=>l`<div>${t[1]}</div>`)}
2842
2852
  <slot name="message"></slot>
2843
2853
  </div>
2844
- `}};_r.styles=[h`
2854
+ `}};wr.styles=[d`
2845
2855
  #messages {
2846
2856
  color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
2847
2857
  }
2848
- `],$a([a({reflect:!1,attribute:!0})],_r.prototype,"for",1),_r=$a([p("uui-form-validation-message")],_r);var Td=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,Vd=(t,e,r,o)=>{for(var i=o>1?void 0:o?jd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Td(e,r,i),i};let Po=class extends v{constructor(){super(...arguments),this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(t){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const e=t.target.assignedNodes({flatten:!0}).filter(r=>r instanceof HTMLFormElement);this._formElement=e.length>0?e[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(t){if(t.target===null)return;const e=t.target;if(!e.checkValidity()){e.setAttribute("submit-invalid","");return}e.removeAttribute("submit-invalid")}_onReset(t){t.target!==null&&t.target.removeAttribute("submit-invalid")}render(){return l`<slot @slotchange=${this._onSlotChanged}></slot>`}};Po=Vd([p("uui-form")],Po);/**
2858
+ `],za([a({reflect:!1,attribute:!0})],wr.prototype,"for",1),wr=za([p("uui-form-validation-message")],wr);var Qd=Object.defineProperty,Jd=Object.getOwnPropertyDescriptor,ep=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Qd(e,r,i),i};let Co=class extends v{constructor(){super(...arguments),this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(t){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const e=t.target.assignedNodes({flatten:!0}).filter(r=>r instanceof HTMLFormElement);this._formElement=e.length>0?e[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(t){if(t.target===null)return;const e=t.target;if(!e.checkValidity()){e.setAttribute("submit-invalid","");return}e.removeAttribute("submit-invalid")}_onReset(t){t.target!==null&&t.target.removeAttribute("submit-invalid")}render(){return l`<slot @slotchange=${this._onSlotChanged}></slot>`}};Co=ep([p("uui-form")],Co);/**
2849
2859
  * @license
2850
2860
  * Copyright 2017 Google LLC
2851
2861
  * SPDX-License-Identifier: BSD-3-Clause
2852
- */class Co extends At{constructor(e){if(super(e),this.et=E,e.type!==ae.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===E||e==null)return this.ft=void 0,this.et=e;if(e===F)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const r=[e];return r.raw=r,this.ft={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Co.directiveName="unsafeHTML",Co.resultType=1;const Oo=It(Co);var Bd=Object.defineProperty,Ea=Object.getOwnPropertySymbols,Rd=Object.prototype.hasOwnProperty,Fd=Object.prototype.propertyIsEnumerable,Pa=(t,e,r)=>e in t?Bd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ca=(t,e)=>{for(var r in e||(e={}))Rd.call(e,r)&&Pa(t,r,e[r]);if(Ea)for(var r of Ea(e))Fd.call(e,r)&&Pa(t,r,e[r]);return t};class jt extends O{constructor(e,r={}){super(e,Ca(Ca({},{bubbles:!0,composed:!0}),r)),this.icon=null}acceptRequest(e){this.icon=e,this.stopImmediatePropagation()}}jt.ICON_REQUEST="icon-request";var Gd=Object.defineProperty,qd=Object.getOwnPropertyDescriptor,Vt=(t,e,r,o)=>{for(var i=o>1?void 0:o?qd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Gd(e,r,i),i};let Ue=class extends v{constructor(){super(...arguments),this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(t){this._name=t,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const t=new jt(jt.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(t),t.icon!==null?(this._retrievedNameIcon=!0,t.icon.then(e=>{this._useFallback=!1,this._nameSvg=e})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon()}render(){return this._useFallback===!0?this.fallback===null?l`<slot name="fallback"></slot>`:Oo(this.fallback):this._nameSvg!==null?Oo(this._nameSvg):this.svg!==null?Oo(this.svg):l`<slot></slot>`}};Ue.styles=[h`
2862
+ */class Oo extends Ut{constructor(e){if(super(e),this.et=x,e.type!==le.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===x||e==null)return this.ft=void 0,this.et=e;if(e===F)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const r=[e];return r.raw=r,this.ft={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Oo.directiveName="unsafeHTML",Oo.resultType=1;const So=At(Oo);var tp=Object.defineProperty,Ia=Object.getOwnPropertySymbols,rp=Object.prototype.hasOwnProperty,ip=Object.prototype.propertyIsEnumerable,Aa=(t,e,r)=>e in t?tp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ua=(t,e)=>{for(var r in e||(e={}))rp.call(e,r)&&Aa(t,r,e[r]);if(Ia)for(var r of Ia(e))ip.call(e,r)&&Aa(t,r,e[r]);return t};class Vt extends O{constructor(e,r={}){super(e,Ua(Ua({},{bubbles:!0,composed:!0}),r)),this.icon=null}acceptRequest(e){this.icon=e,this.stopImmediatePropagation()}}Vt.ICON_REQUEST="icon-request";var op=Object.defineProperty,sp=Object.getOwnPropertyDescriptor,Bt=(t,e,r,o)=>{for(var i=o>1?void 0:o?sp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&op(e,r,i),i};let De=class extends v{constructor(){super(...arguments),this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(t){this._name=t,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const t=new Vt(Vt.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(t),t.icon!==null?(this._retrievedNameIcon=!0,t.icon.then(e=>{this._useFallback=!1,this._nameSvg=e})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon()}render(){return this._useFallback===!0?this.fallback===null?l`<slot name="fallback"></slot>`:So(this.fallback):this._nameSvg!==null?So(this._nameSvg):this.svg!==null?So(this.svg):l`<slot></slot>`}};De.styles=[d`
2853
2863
  :host {
2854
2864
  display: inline-block;
2855
2865
  vertical-align: bottom;
@@ -2869,20 +2879,20 @@
2869
2879
  :host-context(div[slot='append']) {
2870
2880
  margin-right: var(--uui-size-2, 6px);
2871
2881
  }
2872
- `],Vt([f()],Ue.prototype,"_nameSvg",2),Vt([a()],Ue.prototype,"name",1),Vt([a({attribute:!1})],Ue.prototype,"svg",2),Vt([a({attribute:!1})],Ue.prototype,"fallback",2),Vt([f()],Ue.prototype,"_useFallback",2),Ue=Vt([p("uui-icon")],Ue);class So{constructor(e){this.promise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),e&&this.resolve(e)}set svg(e){this.resolve(e)}}class ko{constructor(){this.icons={},this._onIconRequest=e=>{const r=this.getIcon(e.detail.iconName);r!==null&&e.acceptRequest(r)}}attach(e){e.addEventListener(jt.ICON_REQUEST,this._onIconRequest)}detach(e){e.removeEventListener(jt.ICON_REQUEST,this._onIconRequest)}defineIcon(e,r){if(this.icons[e]){this.icons[e].svg=r;return}this.icons[e]=new So(r)}getIcon(e){return this.icons[e]||this.acceptIcon(e)?this.icons[e].promise:null}provideIcon(e){return this.icons[e]=new So}acceptIcon(e){return!1}getIconNames(){return Object.keys(this.icons)}}var Wd=Object.defineProperty,Kd=Object.getOwnPropertyDescriptor,Oa=(t,e,r,o)=>{for(var i=o>1?void 0:o?Kd(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Wd(e,r,i),i};let yr=class extends v{constructor(){super(),this._icons={},this._registry=new ko,this._registry.attach(this)}get icons(){return this._icons}set icons(t){this._icons=t,this._registry&&Object.entries(this._icons).forEach(([e,r])=>this._registry.defineIcon(e,r))}get registry(){return this._registry}set registry(t){this.registry&&this.registry.detach(this),t.attach(this),this._registry=t}render(){return l`<slot></slot>`}};Oa([a({attribute:!1})],yr.prototype,"_icons",2),yr=Oa([p("uui-icon-registry")],yr);const Xd=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg>`,Yd=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.399 66.934L36.38 444.893h438.036L255.399 66.934zm22.094 331.988h-46.29v-44.743h46.29v44.743zm-11.458-63.166h-23.068l-12.849-106.419v-57.846h48.458v57.846l-12.541 106.419z"/></svg>`,Zd=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M127.286 449.816c-21.564.006-43.317-8.494-59.885-25.062-16.578-16.575-25.083-38.336-25.079-59.897-.029-20.296 7.623-40.755 23.034-56.14l3.539-3.539 212.559-212.57c20.227-20.255 47.082-30.304 73.852-30.267 28.454-.012 57.219 11.208 79.179 33.159 21.937 21.949 33.153 50.698 33.147 79.151.028 26.779-10.016 53.627-30.268 73.865l-178.45 178.453-13.28 13.277-26.56-26.559 191.738-191.733c12.842-12.871 19.229-29.708 19.259-47.303-.004-18.645-7.323-37.759-22.152-52.592-14.834-14.838-33.958-22.152-52.613-22.165-17.588.034-34.423 6.418-47.284 19.266L95.447 331.734l-3.536 3.537c-8.011 8.031-11.994 18.482-12.029 29.585.014 11.761 4.614 23.877 14.079 33.345 9.455 9.446 21.562 14.043 33.326 14.056 11.102-.034 21.551-4.014 29.587-12.026l150.412-150.404 12.596-12.595c3.018-3.04 4.521-6.906 4.549-11.331 0-4.666-1.817-9.57-5.722-13.476-3.914-3.916-8.819-5.726-13.48-5.739-4.425.038-8.283 1.542-11.328 4.564L155.27 349.882l-26.561-26.56L267.33 184.703c10.408-10.44 24.289-15.604 37.897-15.57 14.468-.012 29.01 5.704 40.049 16.739 11.007 11.025 16.72 25.554 16.72 40.029.029 13.599-5.129 27.479-15.559 37.89l-12.601 12.595-150.41 150.41c-15.365 15.377-35.768 23.025-56.022 23.021l-.118-.001z"/></svg>`,Qd=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M475.88 151.615c-.583-.961-10.257-17.833-29.675-35.154-19.305-17.239-49.226-35.216-88.641-35.21-39.424-.02-69.047 18.022-87.958 35.329a162.852 162.852 0 0 0-14.814 15.459 167.873 167.873 0 0 0-15.325-15.578c-19.302-17.239-49.225-35.216-88.635-35.21-39.428-.02-69.049 18.022-87.962 35.329-19.041 17.4-28.3 34.322-28.873 35.328l-1.991 7.796v254.56l30.49 7.78.066.039c.423-.818 8.621-14.927 23.664-28.167 15.169-13.298 36.324-25.537 64.605-25.557 29.166.006 51.354 13.121 66.996 26.975a134.425 134.425 0 0 1 17.578 19.031 110.554 110.554 0 0 1 4.313 6.109 52.672 52.672 0 0 1 1.176 1.876l.008.006.006-.002c2.808 4.888 8.066 8.192 14.113 8.192 6.155 0 11.507-3.421 14.271-8.464h.002l.025-.049.008-.014c.617-1.129 8.778-15.029 23.632-28.104 15.169-13.298 36.327-25.537 64.603-25.557 29.178.006 51.36 13.121 67.002 26.975 7.752 6.894 13.677 13.88 17.576 19.031a110.974 110.974 0 0 1 4.312 6.109c.463.707.792 1.241.984 1.562.092.155.163.263.192.314l.004.006.029-.012 30.37-8.081v-254.56l-2.151-8.087zM150.832 335.806h-.062c-38.245 0-67.258 16.996-86.213 33.819V164.279c3.311-5.068 10.654-15.229 21.67-24.919 15.169-13.31 36.324-25.539 64.605-25.559 29.166 0 51.354 13.122 66.996 26.974a134.046 134.046 0 0 1 17.578 19.03 108.111 108.111 0 0 1 3.338 4.655v205.933c-19.321-17.044-48.976-34.587-87.912-34.587zm294.652 34.57c-19.324-17.04-48.99-34.57-87.92-34.57-38.292-.018-67.307 17.006-86.275 33.849V164.289c3.305-5.058 10.639-15.217 21.673-24.929 15.169-13.31 36.327-25.539 64.603-25.559 29.178 0 51.36 13.122 67.002 26.974 7.752 6.891 13.677 13.875 17.576 19.03a110.27 110.27 0 0 1 3.342 4.651v205.92z"/></svg>`,Jd=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M342.391 352.428h-44.879v44.865h44.879v-44.865zm-63.234-120.071h-44.849v44.853h44.849v-44.853zm63.234 60.034h-44.879v44.859h44.879v-44.859zm63.174-60.034h-44.854v44.853h44.854v-44.853zm-126.408 60.034h-44.849v44.859h44.849v-44.859zm63.234-60.034h-44.879v44.853h44.879v-44.853zm63.174 60.034h-44.854v44.859h44.854v-44.859zm-252.803 60.037h-44.856v44.865h44.856v-44.865zm0-60.037h-44.856v44.859h44.856v-44.859zM394.024 74.208v19.691c7.737 6.847 12.642 16.825 12.642 27.969 0 20.634-16.732 37.367-37.369 37.367-20.642 0-37.367-16.733-37.367-37.367 0-11.147 4.903-21.124 12.643-27.969V74.208H169.97v19.691c7.739 6.847 12.643 16.825 12.643 27.969 0 20.634-16.732 37.367-37.369 37.367-20.64 0-37.367-16.733-37.367-37.367 0-11.147 4.904-21.124 12.642-27.969V74.208h-83.27v397.644h436.668V74.208h-79.893zm40.011 357.759H77.131V183.544h356.904v248.423zm-218.047-199.61h-44.881v44.853h44.881v-44.853zm0 120.071h-44.881v44.865h44.881v-44.865zm63.169 0h-44.849v44.865h44.849v-44.865zm-63.169-60.037h-44.881v44.859h44.881v-44.859zM145.245 143.64c10.273 0 18.603-8.326 18.603-18.599V58.035c0-10.267-8.329-18.6-18.603-18.6-10.274 0-18.602 8.333-18.602 18.6v67.006c0 10.272 8.328 18.599 18.602 18.599zm224.054 0c10.272 0 18.601-8.326 18.601-18.599V58.035c0-10.267-8.328-18.6-18.601-18.6-10.274 0-18.604 8.333-18.604 18.6v67.006c0 10.272 8.329 18.599 18.604 18.599z"/></svg>`,ep=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2882
+ `],Bt([f()],De.prototype,"_nameSvg",2),Bt([a()],De.prototype,"name",1),Bt([a({attribute:!1})],De.prototype,"svg",2),Bt([a({attribute:!1})],De.prototype,"fallback",2),Bt([f()],De.prototype,"_useFallback",2),De=Bt([p("uui-icon")],De);class ko{constructor(e){this.promise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),e&&this.resolve(e)}set svg(e){this.resolve(e)}}class zo{constructor(){this.icons={},this._onIconRequest=e=>{const r=this.getIcon(e.detail.iconName);r!==null&&e.acceptRequest(r)}}attach(e){e.addEventListener(Vt.ICON_REQUEST,this._onIconRequest)}detach(e){e.removeEventListener(Vt.ICON_REQUEST,this._onIconRequest)}defineIcon(e,r){if(this.icons[e]){this.icons[e].svg=r;return}this.icons[e]=new ko(r)}getIcon(e){return this.icons[e]||this.acceptIcon(e)?this.icons[e].promise:null}provideIcon(e){return this.icons[e]=new ko}acceptIcon(e){return!1}getIconNames(){return Object.keys(this.icons)}}var np=Object.defineProperty,ap=Object.getOwnPropertyDescriptor,Da=(t,e,r,o)=>{for(var i=o>1?void 0:o?ap(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&np(e,r,i),i};let xr=class extends v{constructor(){super(),this._icons={},this._registry=new zo,this._registry.attach(this)}get icons(){return this._icons}set icons(t){this._icons=t,this._registry&&Object.entries(this._icons).forEach(([e,r])=>this._registry.defineIcon(e,r))}get registry(){return this._registry}set registry(t){this.registry&&this.registry.detach(this),t.attach(this),this._registry=t}render(){return l`<slot></slot>`}};Da([a({attribute:!1})],xr.prototype,"_icons",2),xr=Da([p("uui-icon-registry")],xr);const lp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg>`,up=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.399 66.934L36.38 444.893h438.036L255.399 66.934zm22.094 331.988h-46.29v-44.743h46.29v44.743zm-11.458-63.166h-23.068l-12.849-106.419v-57.846h48.458v57.846l-12.541 106.419z"/></svg>`,cp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M127.286 449.816c-21.564.006-43.317-8.494-59.885-25.062-16.578-16.575-25.083-38.336-25.079-59.897-.029-20.296 7.623-40.755 23.034-56.14l3.539-3.539 212.559-212.57c20.227-20.255 47.082-30.304 73.852-30.267 28.454-.012 57.219 11.208 79.179 33.159 21.937 21.949 33.153 50.698 33.147 79.151.028 26.779-10.016 53.627-30.268 73.865l-178.45 178.453-13.28 13.277-26.56-26.559 191.738-191.733c12.842-12.871 19.229-29.708 19.259-47.303-.004-18.645-7.323-37.759-22.152-52.592-14.834-14.838-33.958-22.152-52.613-22.165-17.588.034-34.423 6.418-47.284 19.266L95.447 331.734l-3.536 3.537c-8.011 8.031-11.994 18.482-12.029 29.585.014 11.761 4.614 23.877 14.079 33.345 9.455 9.446 21.562 14.043 33.326 14.056 11.102-.034 21.551-4.014 29.587-12.026l150.412-150.404 12.596-12.595c3.018-3.04 4.521-6.906 4.549-11.331 0-4.666-1.817-9.57-5.722-13.476-3.914-3.916-8.819-5.726-13.48-5.739-4.425.038-8.283 1.542-11.328 4.564L155.27 349.882l-26.561-26.56L267.33 184.703c10.408-10.44 24.289-15.604 37.897-15.57 14.468-.012 29.01 5.704 40.049 16.739 11.007 11.025 16.72 25.554 16.72 40.029.029 13.599-5.129 27.479-15.559 37.89l-12.601 12.595-150.41 150.41c-15.365 15.377-35.768 23.025-56.022 23.021l-.118-.001z"/></svg>`,hp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M475.88 151.615c-.583-.961-10.257-17.833-29.675-35.154-19.305-17.239-49.226-35.216-88.641-35.21-39.424-.02-69.047 18.022-87.958 35.329a162.852 162.852 0 0 0-14.814 15.459 167.873 167.873 0 0 0-15.325-15.578c-19.302-17.239-49.225-35.216-88.635-35.21-39.428-.02-69.049 18.022-87.962 35.329-19.041 17.4-28.3 34.322-28.873 35.328l-1.991 7.796v254.56l30.49 7.78.066.039c.423-.818 8.621-14.927 23.664-28.167 15.169-13.298 36.324-25.537 64.605-25.557 29.166.006 51.354 13.121 66.996 26.975a134.425 134.425 0 0 1 17.578 19.031 110.554 110.554 0 0 1 4.313 6.109 52.672 52.672 0 0 1 1.176 1.876l.008.006.006-.002c2.808 4.888 8.066 8.192 14.113 8.192 6.155 0 11.507-3.421 14.271-8.464h.002l.025-.049.008-.014c.617-1.129 8.778-15.029 23.632-28.104 15.169-13.298 36.327-25.537 64.603-25.557 29.178.006 51.36 13.121 67.002 26.975 7.752 6.894 13.677 13.88 17.576 19.031a110.974 110.974 0 0 1 4.312 6.109c.463.707.792 1.241.984 1.562.092.155.163.263.192.314l.004.006.029-.012 30.37-8.081v-254.56l-2.151-8.087zM150.832 335.806h-.062c-38.245 0-67.258 16.996-86.213 33.819V164.279c3.311-5.068 10.654-15.229 21.67-24.919 15.169-13.31 36.324-25.539 64.605-25.559 29.166 0 51.354 13.122 66.996 26.974a134.046 134.046 0 0 1 17.578 19.03 108.111 108.111 0 0 1 3.338 4.655v205.933c-19.321-17.044-48.976-34.587-87.912-34.587zm294.652 34.57c-19.324-17.04-48.99-34.57-87.92-34.57-38.292-.018-67.307 17.006-86.275 33.849V164.289c3.305-5.058 10.639-15.217 21.673-24.929 15.169-13.31 36.327-25.539 64.603-25.559 29.178 0 51.36 13.122 67.002 26.974 7.752 6.891 13.677 13.875 17.576 19.03a110.27 110.27 0 0 1 3.342 4.651v205.92z"/></svg>`,dp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M342.391 352.428h-44.879v44.865h44.879v-44.865zm-63.234-120.071h-44.849v44.853h44.849v-44.853zm63.234 60.034h-44.879v44.859h44.879v-44.859zm63.174-60.034h-44.854v44.853h44.854v-44.853zm-126.408 60.034h-44.849v44.859h44.849v-44.859zm63.234-60.034h-44.879v44.853h44.879v-44.853zm63.174 60.034h-44.854v44.859h44.854v-44.859zm-252.803 60.037h-44.856v44.865h44.856v-44.865zm0-60.037h-44.856v44.859h44.856v-44.859zM394.024 74.208v19.691c7.737 6.847 12.642 16.825 12.642 27.969 0 20.634-16.732 37.367-37.369 37.367-20.642 0-37.367-16.733-37.367-37.367 0-11.147 4.903-21.124 12.643-27.969V74.208H169.97v19.691c7.739 6.847 12.643 16.825 12.643 27.969 0 20.634-16.732 37.367-37.369 37.367-20.64 0-37.367-16.733-37.367-37.367 0-11.147 4.904-21.124 12.642-27.969V74.208h-83.27v397.644h436.668V74.208h-79.893zm40.011 357.759H77.131V183.544h356.904v248.423zm-218.047-199.61h-44.881v44.853h44.881v-44.853zm0 120.071h-44.881v44.865h44.881v-44.865zm63.169 0h-44.849v44.865h44.849v-44.865zm-63.169-60.037h-44.881v44.859h44.881v-44.859zM145.245 143.64c10.273 0 18.603-8.326 18.603-18.599V58.035c0-10.267-8.329-18.6-18.603-18.6-10.274 0-18.602 8.333-18.602 18.6v67.006c0 10.272 8.328 18.599 18.602 18.599zm224.054 0c10.272 0 18.601-8.326 18.601-18.599V58.035c0-10.267-8.328-18.6-18.601-18.6-10.274 0-18.604 8.333-18.604 18.6v67.006c0 10.272 8.329 18.599 18.604 18.599z"/></svg>`,pp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2873
2883
  <path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/>
2874
- </svg>`,tp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M380.295 95.092h-68.479a54.17 54.17 0 00.097-3.321c0-30.805-24.948-55.743-55.722-55.743-30.803 0-55.756 24.938-55.756 55.743 0 1.112.065 2.208.098 3.321h-68.446v57.766h248.208V95.092zm-124.104 21.76c-13.865-.033-25.049-11.232-25.079-25.081.03-13.862 11.214-25.081 25.079-25.1 13.834.019 25.083 11.237 25.083 25.1 0 13.848-11.249 25.047-25.083 25.081zm149.053 13.787v48.676H107.172v-48.676H79.537v345.078h353.307V130.639h-27.6z"/></svg>`,rp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M38.299 255.395l137.255-137.248 46.782 46.789-90.458 90.459 90.458 90.46-46.782 46.792L38.299 255.395zm248.467 90.46l90.466-90.46-72.028-72.026-18.431-18.433 46.788-46.791 18.436 18.438L470.81 255.395 333.561 392.647l-46.795-46.792z"/></svg>`,ip=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M460.5 78.244l-26.472-26.473c-16.867-16.868-44.216-16.865-61.083.003l-61.466 61.468-29.702-29.699-58.764 58.763 24.501 24.499L79.748 334.573C68.761 345.557 62.6 359.972 61.767 374.81l-9.766 9.764c-20.867 20.881-20.863 54.838.002 75.704 10.106 10.108 23.548 15.679 37.85 15.679 14.297 0 27.733-5.568 37.847-15.67l9.758-9.765c15.211-.821 29.394-7.139 40.248-17.99l167.771-167.767 24.493 24.495 58.765-58.764-29.698-29.699 61.465-61.466c16.87-16.869 16.87-44.218-.002-61.087zM150.574 405.398a23.298 23.298 0 01-16.532 6.846c-3.501 0-7.007-.782-10.231-2.343v.007l-23.242 23.236a15.092 15.092 0 01-10.716 4.439 15.1 15.1 0 01-10.715-4.439c-5.919-5.922-5.919-15.516-.002-21.436l23.233-23.238.008-.004c-4.226-8.725-2.741-19.518 4.503-26.761l167.769-167.768 43.695 43.693-167.77 167.768z"></path></svg>`,op=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M243.47 64.86l-7.335-7.333H36.725V474.23h298.07V156.187l-7.332-7.335L243.47 64.86zm66.287 384.329H61.761V82.566h141.615c37.203 0 19.276 88.18 19.276 88.18s86-20.9 87.104 18.53v259.913zm157.051-330.866l-81.266-81.268H258.938l25.043 25.038h71.481c.063 0 .12.01.185.01-.006.286-.023.547-.023.837 11.174 0 16.69 9.045 19.118 20.95 4.358 22.959-2.312 55.826-2.312 55.826s.137-.031.341-.082c-.114.602-.181.933-.181.933s67.129-16.325 75.793 10.732c.077.294.161.585.225.887.083.302.14.612.207.921.154.928.26 1.889.287 2.904v228.807h-87.998l.002 25.037h113.037V125.66l-7.335-7.337z"/></svg>`,sp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,np=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg>`,ap=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.3,297.9v92.3H103.9v-92.3H73.2v122.9H439V297.9H408.3z M374.2,189.1h-77.7V90.8h-82.8v98.3h-77.6l119,144.2L374.2,189.1L374.2,189.1z"/></svg>`,lp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M412.656 38.477l-49.973 49.975 58.761 58.76 49.976-49.98-58.764-58.755zM177.421 338.155l-15.932-15.935 190.923-190.928-16.286-16.283L85.215 365.922l.186.185-47.919 106.778 106.309-48.383.182.182.482-.482.006-.003 250.424-250.432-26.537-26.537-190.927 190.925zm-39.26 59.052l-46.369 21.102 20.9-46.572 23.388-23.387 3.367 22.301 22.097 3.164-23.383 23.392z"/></svg>`,up=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.908 86.358c-55.975-26.379-122.761-2.379-149.132 53.615-1.831 3.885-3.421 8.767-4.813 14.428-1.391-5.661-2.984-10.543-4.814-14.428-26.373-55.994-93.143-79.994-149.135-53.615-55.959 26.371-79.969 93.122-53.597 149.113 26.369 55.989 207.502 216.478 207.502 216.478s.018-.203.042-.515l.043.515S436.139 291.46 462.506 235.471c26.373-55.991 2.397-122.742-53.598-149.113z"/></svg>`,cp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.211 169.501v-.316H52.564v.328c-7.956 1.548-13.959 8.547-13.959 16.955 0 0 5.683 86.463 6.726 117.611 1.045 31.147 3.844 114.728 3.844 114.728 0 9.544 1.973 17.281 11.514 17.281h388.458c9.543 0 11.514-7.737 11.514-17.281 0 0 2.804-83.58 3.845-114.728 1.044-31.147 6.727-117.611 6.727-117.611-.002-8.433-6.036-15.442-14.022-16.967zm0-42.313c0-8.98-7.277-16.256-16.258-16.256H235.305c-6.43-.161-11.384-11.842-11.384-16.311l.003-1.902c0-9.546-7.737-17.28-17.28-17.28H97.168c-9.544 0-17.281 7.734-17.281 17.28l.004 1.902c0 4.5-5.021 16.322-11.517 16.322h.155c-8.844.157-15.965 7.364-15.965 16.244v11.223h404.647v-11.222z"/></svg>`,hp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z"/></svg>`,dp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 38.7C136 38.7 38.7 136 38.7 256S136 473.3 256 473.3 473.3 376 473.3 256 376 38.7 256 38.7zm18.1 326h-36.2V237.9h36.2v126.8zM256 192.6c-15 0-27.2-12.2-27.2-27.2s12.2-27.2 27.2-27.2 27.2 12.2 27.2 27.2-12.2 27.2-27.2 27.2z"/></svg>`,pp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M270.508 338.006c-27.316.03-54.696-10.671-75.323-31.318l-3.266-3.266 46.784-46.799 3.271 3.267c8.054 8.036 18.233 11.915 28.533 11.942 10.79-.043 21.088-3.93 29.123-11.942l76.701-76.701c8.024-8.05 11.909-18.306 11.945-28.895-.036-10.495-3.915-20.722-11.936-28.769l-3.268-3.266c-8.049-8.025-18.283-11.903-28.827-11.943-10.55.04-20.785 3.918-28.835 11.943l-31.537 31.543c-12.916 12.922-33.867 12.922-46.788 0-12.924-12.919-12.924-33.867-.005-46.789l31.542-31.544c20.794-20.821 48.361-31.36 75.623-31.327 27.256-.034 54.82 10.505 75.618 31.327l3.266 3.263a106.693 106.693 0 0131.319 75.561c.038 27.25-10.474 54.848-31.325 75.684l-76.704 76.7c-20.915 20.941-48.588 31.328-75.743 31.328l-.168.001zM163.966 468.393c-27.308.027-54.694-10.67-75.322-31.324l-3.264-3.26c-20.875-20.854-31.364-48.479-31.326-75.725-.033-27.27 10.556-54.782 31.326-75.518l76.704-76.707c20.794-20.821 48.361-31.366 75.623-31.327a106.798 106.798 0 0161.267 19.273 33.045 33.045 0 018.42 6.119l5.931 5.93 3.266 3.263h-.001l.001.003-46.781 46.798-.005-.006-3.266-3.266c-8.052-8.024-18.285-11.903-28.832-11.943-10.545.04-20.781 3.918-28.832 11.943l-76.711 76.712c-8.021 8.048-11.901 18.261-11.935 28.726.038 10.627 3.922 20.886 11.938 28.932l3.269 3.26c8.055 8.038 18.235 11.913 28.531 11.941 10.794-.043 21.092-3.928 29.13-11.941l33.051-33.051c12.923-12.915 33.872-12.915 46.788.006 12.921 12.917 12.921 33.863 0 46.787l-33.053 33.051c-20.914 20.938-48.592 31.324-75.745 31.324h-.172z"/></svg>`,vp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,fp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M289.335 420.379V90.8h83.103v329.579h-83.103zm-152.737-.002V90.804h83.101v329.573h-83.101z"/></svg>`,bp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,gp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M397.727 256.048l-286.7 166.932V89.114z"/></svg>`,mp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,_p=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M470.704 407.906l-2.691-2.689.006-.002-107.514-107.523c14.938-25.733 23.616-55.565 23.82-87.451.626-97.615-77.99-177.243-175.599-177.857l-1.168-.002c-97.06.005-176.067 78.392-176.692 175.598-.618 97.609 77.999 177.236 175.597 177.859.389.002.766.004 1.155.004 32.442 0 62.846-8.79 88.998-24.075L404.035 469.2l.01-.01 2.686 2.686c8.125 8.124 21.293 8.117 29.414 0l34.56-34.554c8.115-8.117 8.121-21.293-.001-29.416zm-263.956-67.135c-72.589-.466-131.271-59.907-130.812-132.502C76.4 136.14 135.45 77.457 207.561 77.453l.88.002c35.167.22 68.144 14.124 92.851 39.148 24.705 25.025 38.188 58.178 37.962 93.352-.222 35.015-14.027 67.893-38.867 92.564-24.834 24.67-57.78 38.252-92.768 38.252h-.871z"/></svg>`,yp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,wp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M469.92 279.717v-48.898l-6.906-2.256-52.35-17.091-13.971-33.728 26.852-56.814-34.586-34.581-6.477 3.288-49.1 24.937-33.721-13.971-21.198-59.171h-48.899l-2.253 6.912-17.091 52.352-33.712 13.966-56.833-26.849-34.573 34.58 3.287 6.474 24.933 49.116-13.96 33.707-59.182 21.189v48.909l6.914 2.253 52.352 17.094 13.966 33.718-26.845 56.82 34.567 34.587 6.484-3.294 49.103-24.931 33.719 13.968 21.188 59.165h48.902l2.26-6.908 17.094-52.35 33.721-13.967 56.818 26.855 34.584-34.59-3.286-6.48-24.937-49.094 13.969-33.726 59.167-21.191zM255.054 324.78c-37.819 0-68.478-30.657-68.478-68.479 0-37.819 30.659-68.481 68.478-68.481 37.819 0 68.475 30.662 68.475 68.481 0 37.822-30.656 68.479-68.475 68.479z"/></svg>`,xp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M88.871 297.086v-83.1h332.084v83.1H88.871z"/></svg>`,$p=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M203.447 202.931l-54.568-54.566c27.503-27.173 65.183-43.913 106.927-43.913 42.13.014 79.972 16.983 107.622 44.577 27.594 27.648 44.561 65.492 44.578 107.629h66.177c-.024-120.624-97.761-218.361-218.376-218.386-59.897 0-114.277 24.203-153.724 63.295l-50.36-50.36.003 151.725h151.721zM363.991 363.67c-27.605 27.918-65.809 45.184-108.183 45.176-42.139-.008-79.978-16.981-107.623-44.574-27.601-27.645-44.565-65.482-44.582-107.614H37.436c.017 120.614 97.751 218.347 218.373 218.374 60.54-.008 115.433-24.73 154.979-64.562l48.997 49V311.423H311.742l52.249 52.247z"/></svg>`,Ep=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,Pp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,Cp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M306.997 124.391c8.992 0 16.277-7.286 16.277-16.276V57.184c.002-8.989-7.285-16.276-16.277-16.276-8.983 0-16.271 7.287-16.273 16.276v50.932c0 8.989 7.29 16.278 16.273 16.275zm80.752 23.244l36.015-36.017c6.356-6.357 6.353-16.662 0-23.015-6.357-6.356-16.662-6.356-23.019 0l-36.013 36.014c-6.356 6.356-6.358 16.661 0 23.018 6.354 6.356 16.661 6.353 23.017 0zm-161.066 2.552c6.354 6.353 16.663 6.353 23.018 0 6.353-6.356 6.353-16.662 0-23.018l-36.018-36.018c-6.355-6.353-16.661-6.353-23.015 0-6.359 6.356-6.359 16.662 0 23.018l36.015 36.018zm159.5 113.463c-6.356-6.357-16.663-6.357-23.02 0-6.354 6.355-6.354 16.661 0 23.018l36.015 36.014c6.356 6.356 16.663 6.356 23.018 0 6.358-6.356 6.358-16.658 0-23.015l-36.013-36.017zm-70.019-131.061L37.625 411.125l58.761 58.76 278.541-278.533-58.763-58.763zm-65.195 99.172l67.606-67.608 24.787 24.788-67.606 67.608-24.787-24.788zm205.2-41.684h-50.934c-8.99 0-16.275 7.289-16.275 16.275-.004 8.985 7.285 16.275 16.275 16.275h50.934c8.988 0 16.273-7.29 16.273-16.275 0-8.99-7.285-16.275-16.273-16.275z"></path></svg>`,Op=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2884
+ </svg>`,vp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M380.295 95.092h-68.479a54.17 54.17 0 00.097-3.321c0-30.805-24.948-55.743-55.722-55.743-30.803 0-55.756 24.938-55.756 55.743 0 1.112.065 2.208.098 3.321h-68.446v57.766h248.208V95.092zm-124.104 21.76c-13.865-.033-25.049-11.232-25.079-25.081.03-13.862 11.214-25.081 25.079-25.1 13.834.019 25.083 11.237 25.083 25.1 0 13.848-11.249 25.047-25.083 25.081zm149.053 13.787v48.676H107.172v-48.676H79.537v345.078h353.307V130.639h-27.6z"/></svg>`,fp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M38.299 255.395l137.255-137.248 46.782 46.789-90.458 90.459 90.458 90.46-46.782 46.792L38.299 255.395zm248.467 90.46l90.466-90.46-72.028-72.026-18.431-18.433 46.788-46.791 18.436 18.438L470.81 255.395 333.561 392.647l-46.795-46.792z"/></svg>`,bp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M460.5 78.244l-26.472-26.473c-16.867-16.868-44.216-16.865-61.083.003l-61.466 61.468-29.702-29.699-58.764 58.763 24.501 24.499L79.748 334.573C68.761 345.557 62.6 359.972 61.767 374.81l-9.766 9.764c-20.867 20.881-20.863 54.838.002 75.704 10.106 10.108 23.548 15.679 37.85 15.679 14.297 0 27.733-5.568 37.847-15.67l9.758-9.765c15.211-.821 29.394-7.139 40.248-17.99l167.771-167.767 24.493 24.495 58.765-58.764-29.698-29.699 61.465-61.466c16.87-16.869 16.87-44.218-.002-61.087zM150.574 405.398a23.298 23.298 0 01-16.532 6.846c-3.501 0-7.007-.782-10.231-2.343v.007l-23.242 23.236a15.092 15.092 0 01-10.716 4.439 15.1 15.1 0 01-10.715-4.439c-5.919-5.922-5.919-15.516-.002-21.436l23.233-23.238.008-.004c-4.226-8.725-2.741-19.518 4.503-26.761l167.769-167.768 43.695 43.693-167.77 167.768z"></path></svg>`,gp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M243.47 64.86l-7.335-7.333H36.725V474.23h298.07V156.187l-7.332-7.335L243.47 64.86zm66.287 384.329H61.761V82.566h141.615c37.203 0 19.276 88.18 19.276 88.18s86-20.9 87.104 18.53v259.913zm157.051-330.866l-81.266-81.268H258.938l25.043 25.038h71.481c.063 0 .12.01.185.01-.006.286-.023.547-.023.837 11.174 0 16.69 9.045 19.118 20.95 4.358 22.959-2.312 55.826-2.312 55.826s.137-.031.341-.082c-.114.602-.181.933-.181.933s67.129-16.325 75.793 10.732c.077.294.161.585.225.887.083.302.14.612.207.921.154.928.26 1.889.287 2.904v228.807h-87.998l.002 25.037h113.037V125.66l-7.335-7.337z"/></svg>`,mp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,_p=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg>`,yp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.3,297.9v92.3H103.9v-92.3H73.2v122.9H439V297.9H408.3z M374.2,189.1h-77.7V90.8h-82.8v98.3h-77.6l119,144.2L374.2,189.1L374.2,189.1z"/></svg>`,wp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M412.656 38.477l-49.973 49.975 58.761 58.76 49.976-49.98-58.764-58.755zM177.421 338.155l-15.932-15.935 190.923-190.928-16.286-16.283L85.215 365.922l.186.185-47.919 106.778 106.309-48.383.182.182.482-.482.006-.003 250.424-250.432-26.537-26.537-190.927 190.925zm-39.26 59.052l-46.369 21.102 20.9-46.572 23.388-23.387 3.367 22.301 22.097 3.164-23.383 23.392z"/></svg>`,xp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.908 86.358c-55.975-26.379-122.761-2.379-149.132 53.615-1.831 3.885-3.421 8.767-4.813 14.428-1.391-5.661-2.984-10.543-4.814-14.428-26.373-55.994-93.143-79.994-149.135-53.615-55.959 26.371-79.969 93.122-53.597 149.113 26.369 55.989 207.502 216.478 207.502 216.478s.018-.203.042-.515l.043.515S436.139 291.46 462.506 235.471c26.373-55.991 2.397-122.742-53.598-149.113z"/></svg>`,$p=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.211 169.501v-.316H52.564v.328c-7.956 1.548-13.959 8.547-13.959 16.955 0 0 5.683 86.463 6.726 117.611 1.045 31.147 3.844 114.728 3.844 114.728 0 9.544 1.973 17.281 11.514 17.281h388.458c9.543 0 11.514-7.737 11.514-17.281 0 0 2.804-83.58 3.845-114.728 1.044-31.147 6.727-117.611 6.727-117.611-.002-8.433-6.036-15.442-14.022-16.967zm0-42.313c0-8.98-7.277-16.256-16.258-16.256H235.305c-6.43-.161-11.384-11.842-11.384-16.311l.003-1.902c0-9.546-7.737-17.28-17.28-17.28H97.168c-9.544 0-17.281 7.734-17.281 17.28l.004 1.902c0 4.5-5.021 16.322-11.517 16.322h.155c-8.844.157-15.965 7.364-15.965 16.244v11.223h404.647v-11.222z"/></svg>`,Ep=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z"/></svg>`,Pp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 38.7C136 38.7 38.7 136 38.7 256S136 473.3 256 473.3 473.3 376 473.3 256 376 38.7 256 38.7zm18.1 326h-36.2V237.9h36.2v126.8zM256 192.6c-15 0-27.2-12.2-27.2-27.2s12.2-27.2 27.2-27.2 27.2 12.2 27.2 27.2-12.2 27.2-27.2 27.2z"/></svg>`,Cp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M270.508 338.006c-27.316.03-54.696-10.671-75.323-31.318l-3.266-3.266 46.784-46.799 3.271 3.267c8.054 8.036 18.233 11.915 28.533 11.942 10.79-.043 21.088-3.93 29.123-11.942l76.701-76.701c8.024-8.05 11.909-18.306 11.945-28.895-.036-10.495-3.915-20.722-11.936-28.769l-3.268-3.266c-8.049-8.025-18.283-11.903-28.827-11.943-10.55.04-20.785 3.918-28.835 11.943l-31.537 31.543c-12.916 12.922-33.867 12.922-46.788 0-12.924-12.919-12.924-33.867-.005-46.789l31.542-31.544c20.794-20.821 48.361-31.36 75.623-31.327 27.256-.034 54.82 10.505 75.618 31.327l3.266 3.263a106.693 106.693 0 0131.319 75.561c.038 27.25-10.474 54.848-31.325 75.684l-76.704 76.7c-20.915 20.941-48.588 31.328-75.743 31.328l-.168.001zM163.966 468.393c-27.308.027-54.694-10.67-75.322-31.324l-3.264-3.26c-20.875-20.854-31.364-48.479-31.326-75.725-.033-27.27 10.556-54.782 31.326-75.518l76.704-76.707c20.794-20.821 48.361-31.366 75.623-31.327a106.798 106.798 0 0161.267 19.273 33.045 33.045 0 018.42 6.119l5.931 5.93 3.266 3.263h-.001l.001.003-46.781 46.798-.005-.006-3.266-3.266c-8.052-8.024-18.285-11.903-28.832-11.943-10.545.04-20.781 3.918-28.832 11.943l-76.711 76.712c-8.021 8.048-11.901 18.261-11.935 28.726.038 10.627 3.922 20.886 11.938 28.932l3.269 3.26c8.055 8.038 18.235 11.913 28.531 11.941 10.794-.043 21.092-3.928 29.13-11.941l33.051-33.051c12.923-12.915 33.872-12.915 46.788.006 12.921 12.917 12.921 33.863 0 46.787l-33.053 33.051c-20.914 20.938-48.592 31.324-75.745 31.324h-.172z"/></svg>`,Op=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,Sp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M289.335 420.379V90.8h83.103v329.579h-83.103zm-152.737-.002V90.804h83.101v329.573h-83.101z"/></svg>`,kp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,zp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M397.727 256.048l-286.7 166.932V89.114z"/></svg>`,Ip=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,Ap=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M470.704 407.906l-2.691-2.689.006-.002-107.514-107.523c14.938-25.733 23.616-55.565 23.82-87.451.626-97.615-77.99-177.243-175.599-177.857l-1.168-.002c-97.06.005-176.067 78.392-176.692 175.598-.618 97.609 77.999 177.236 175.597 177.859.389.002.766.004 1.155.004 32.442 0 62.846-8.79 88.998-24.075L404.035 469.2l.01-.01 2.686 2.686c8.125 8.124 21.293 8.117 29.414 0l34.56-34.554c8.115-8.117 8.121-21.293-.001-29.416zm-263.956-67.135c-72.589-.466-131.271-59.907-130.812-132.502C76.4 136.14 135.45 77.457 207.561 77.453l.88.002c35.167.22 68.144 14.124 92.851 39.148 24.705 25.025 38.188 58.178 37.962 93.352-.222 35.015-14.027 67.893-38.867 92.564-24.834 24.67-57.78 38.252-92.768 38.252h-.871z"/></svg>`,Up=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,Dp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M469.92 279.717v-48.898l-6.906-2.256-52.35-17.091-13.971-33.728 26.852-56.814-34.586-34.581-6.477 3.288-49.1 24.937-33.721-13.971-21.198-59.171h-48.899l-2.253 6.912-17.091 52.352-33.712 13.966-56.833-26.849-34.573 34.58 3.287 6.474 24.933 49.116-13.96 33.707-59.182 21.189v48.909l6.914 2.253 52.352 17.094 13.966 33.718-26.845 56.82 34.567 34.587 6.484-3.294 49.103-24.931 33.719 13.968 21.188 59.165h48.902l2.26-6.908 17.094-52.35 33.721-13.967 56.818 26.855 34.584-34.59-3.286-6.48-24.937-49.094 13.969-33.726 59.167-21.191zM255.054 324.78c-37.819 0-68.478-30.657-68.478-68.479 0-37.819 30.659-68.481 68.478-68.481 37.819 0 68.475 30.662 68.475 68.481 0 37.822-30.656 68.479-68.475 68.479z"/></svg>`,Lp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M88.871 297.086v-83.1h332.084v83.1H88.871z"/></svg>`,Np=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M203.447 202.931l-54.568-54.566c27.503-27.173 65.183-43.913 106.927-43.913 42.13.014 79.972 16.983 107.622 44.577 27.594 27.648 44.561 65.492 44.578 107.629h66.177c-.024-120.624-97.761-218.361-218.376-218.386-59.897 0-114.277 24.203-153.724 63.295l-50.36-50.36.003 151.725h151.721zM363.991 363.67c-27.605 27.918-65.809 45.184-108.183 45.176-42.139-.008-79.978-16.981-107.623-44.574-27.601-27.645-44.565-65.482-44.582-107.614H37.436c.017 120.614 97.751 218.347 218.373 218.374 60.54-.008 115.433-24.73 154.979-64.562l48.997 49V311.423H311.742l52.249 52.247z"/></svg>`,Hp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,Tp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,Mp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M306.997 124.391c8.992 0 16.277-7.286 16.277-16.276V57.184c.002-8.989-7.285-16.276-16.277-16.276-8.983 0-16.271 7.287-16.273 16.276v50.932c0 8.989 7.29 16.278 16.273 16.275zm80.752 23.244l36.015-36.017c6.356-6.357 6.353-16.662 0-23.015-6.357-6.356-16.662-6.356-23.019 0l-36.013 36.014c-6.356 6.356-6.358 16.661 0 23.018 6.354 6.356 16.661 6.353 23.017 0zm-161.066 2.552c6.354 6.353 16.663 6.353 23.018 0 6.353-6.356 6.353-16.662 0-23.018l-36.018-36.018c-6.355-6.353-16.661-6.353-23.015 0-6.359 6.356-6.359 16.662 0 23.018l36.015 36.018zm159.5 113.463c-6.356-6.357-16.663-6.357-23.02 0-6.354 6.355-6.354 16.661 0 23.018l36.015 36.014c6.356 6.356 16.663 6.356 23.018 0 6.358-6.356 6.358-16.658 0-23.015l-36.013-36.017zm-70.019-131.061L37.625 411.125l58.761 58.76 278.541-278.533-58.763-58.763zm-65.195 99.172l67.606-67.608 24.787 24.788-67.606 67.608-24.787-24.788zm205.2-41.684h-50.934c-8.99 0-16.275 7.289-16.275 16.275-.004 8.985 7.285 16.275 16.275 16.275h50.934c8.988 0 16.273-7.29 16.273-16.275 0-8.99-7.285-16.275-16.273-16.275z"></path></svg>`,jp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2875
2885
  <path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/>
2876
- </svg>`;class Sa extends ko{constructor(){super(),this.defineIcon("add",Xd.strings[0]),this.defineIcon("alert",Yd.strings[0]),this.defineIcon("attachment",Zd.strings[0]),this.defineIcon("book-alt",Qd.strings[0]),this.defineIcon("calendar",Jd.strings[0]),this.defineIcon("check",ep.strings[0]),this.defineIcon("clipboard",tp.strings[0]),this.defineIcon("code",rp.strings[0]),this.defineIcon("colorpicker",ip.strings[0]),this.defineIcon("copy",op.strings[0]),this.defineIcon("delete",sp.strings[0]),this.defineIcon("document",np.strings[0]),this.defineIcon("download",ap.strings[0]),this.defineIcon("edit",lp.strings[0]),this.defineIcon("favorite",up.strings[0]),this.defineIcon("folder",cp.strings[0]),this.defineIcon("forbidden",hp.strings[0]),this.defineIcon("info",dp.strings[0]),this.defineIcon("link",pp.strings[0]),this.defineIcon("lock",vp.strings[0]),this.defineIcon("pause",fp.strings[0]),this.defineIcon("picture",bp.strings[0]),this.defineIcon("play",gp.strings[0]),this.defineIcon("remove",mp.strings[0]),this.defineIcon("search",_p.strings[0]),this.defineIcon("see",yp.strings[0]),this.defineIcon("settings",wp.strings[0]),this.defineIcon("subtract",xp.strings[0]),this.defineIcon("sync",$p.strings[0]),this.defineIcon("unlock",Ep.strings[0]),this.defineIcon("unsee",Pp.strings[0]),this.defineIcon("wand",Cp.strings[0]),this.defineIcon("wrong",Op.strings[0])}}var Sp=Object.defineProperty,kp=Object.getOwnPropertyDescriptor,zp=(t,e,r,o)=>{for(var i=o>1?void 0:o?kp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Sp(e,r,i),i};let zo=class extends yr{constructor(){super(),this.registry=new Sa}};zo=zp([p("uui-icon-registry-essential")],zo);var Ip=Object.defineProperty,Ap=Object.getOwnPropertyDescriptor,Bt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ap(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ip(e,r,i),i};let De=class extends fe(v){constructor(){super(),this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=t=>{let e=[];for(const r of t)this.multiple?e.push(r):e=[r];this._files=e},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return this._value}set value(t){if(super.value=t,t instanceof FormData){const e=this.multiple?t.getAll(this.name):[t.get(this.name)];this._updateFileWrappers(e);return}if(t instanceof File){this._updateFileWrappers([t]);return}}connectedCallback(){super.connectedCallback(),m(this,"uui-icon"),m(this,"uui-file-dropzone"),m(this,"uui-button"),m(this,"uui-action-bar"),m(this,"uui-file-preview")}getFormElement(){return this._dropZone}_handleClick(t){t.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(t){const r=t.detail.files.filter(i=>i instanceof File||i.isFile);if(!this.multiple){const i=r[0],n=i instanceof File?i:await this._getFile(i);if(this.value instanceof File){this.value=n;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,n),this._updateFileWrappers([n]);return}}let o=this.value;if(r.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const i of r){const s=i instanceof File;o.append(this.name,s?i:await this._getFile(i))}this.value=o}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}_removeFile(t){const e=this._files[t];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(i=>i!==e);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const i of o)this.value.append(this.name,i)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(t){t?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(t,e){return l`<uui-file-preview .file="${t}">
2886
+ </svg>`;class La extends zo{constructor(){super(),this.defineIcon("add",lp.strings[0]),this.defineIcon("alert",up.strings[0]),this.defineIcon("attachment",cp.strings[0]),this.defineIcon("book-alt",hp.strings[0]),this.defineIcon("calendar",dp.strings[0]),this.defineIcon("check",pp.strings[0]),this.defineIcon("clipboard",vp.strings[0]),this.defineIcon("code",fp.strings[0]),this.defineIcon("colorpicker",bp.strings[0]),this.defineIcon("copy",gp.strings[0]),this.defineIcon("delete",mp.strings[0]),this.defineIcon("document",_p.strings[0]),this.defineIcon("download",yp.strings[0]),this.defineIcon("edit",wp.strings[0]),this.defineIcon("favorite",xp.strings[0]),this.defineIcon("folder",$p.strings[0]),this.defineIcon("forbidden",Ep.strings[0]),this.defineIcon("info",Pp.strings[0]),this.defineIcon("link",Cp.strings[0]),this.defineIcon("lock",Op.strings[0]),this.defineIcon("pause",Sp.strings[0]),this.defineIcon("picture",kp.strings[0]),this.defineIcon("play",zp.strings[0]),this.defineIcon("remove",Ip.strings[0]),this.defineIcon("search",Ap.strings[0]),this.defineIcon("see",Up.strings[0]),this.defineIcon("settings",Dp.strings[0]),this.defineIcon("subtract",Lp.strings[0]),this.defineIcon("sync",Np.strings[0]),this.defineIcon("unlock",Hp.strings[0]),this.defineIcon("unsee",Tp.strings[0]),this.defineIcon("wand",Mp.strings[0]),this.defineIcon("wrong",jp.strings[0])}}var Vp=Object.defineProperty,Bp=Object.getOwnPropertyDescriptor,Rp=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Vp(e,r,i),i};let Io=class extends xr{constructor(){super(),this.registry=new La}};Io=Rp([p("uui-icon-registry-essential")],Io);var Fp=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,Rt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Gp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Fp(e,r,i),i};let Le=class extends fe(v){constructor(){super(),this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=t=>{let e=[];for(const r of t)this.multiple?e.push(r):e=[r];this._files=e},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return this._value}set value(t){if(super.value=t,t instanceof FormData){const e=this.multiple?t.getAll(this.name):[t.get(this.name)];this._updateFileWrappers(e);return}if(t instanceof File){this._updateFileWrappers([t]);return}}connectedCallback(){super.connectedCallback(),_(this,"uui-icon"),_(this,"uui-file-dropzone"),_(this,"uui-button"),_(this,"uui-action-bar"),_(this,"uui-file-preview")}getFormElement(){return this._dropZone}_handleClick(t){t.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(t){const r=t.detail.files.filter(i=>i instanceof File||i.isFile);if(!this.multiple){const i=r[0],n=i instanceof File?i:await this._getFile(i);if(this.value instanceof File){this.value=n;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,n),this._updateFileWrappers([n]);return}}let o=this.value;if(r.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const i of r){const s=i instanceof File;o.append(this.name,s?i:await this._getFile(i))}this.value=o}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}_removeFile(t){const e=this._files[t];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(i=>i!==e);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const i of o)this.value.append(this.name,i)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(t){t?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(t,e){return l`<uui-file-preview .file="${t}">
2877
2887
  <uui-action-bar slot="actions">
2878
2888
  <uui-button
2879
2889
  @click=${()=>this._removeFile(e)}
2880
2890
  color="danger"
2881
2891
  label=${`Delete ${t.name}`}>
2882
- <uui-icon name="delete" .fallback=${Rc.strings[0]}></uui-icon>
2892
+ <uui-icon name="delete" .fallback=${rh.strings[0]}></uui-icon>
2883
2893
  </uui-button>
2884
2894
  </uui-action-bar>
2885
- </uui-file-preview>`}_renderFiles(){return l`${xa(this._files,t=>t.name+t.size,(t,e)=>this._renderFileItem(t,e))}`}render(){return l`
2895
+ </uui-file-preview>`}_renderFiles(){return l`${ka(this._files,t=>t.name+t.size,(t,e)=>this._renderFileItem(t,e))}`}render(){return l`
2886
2896
  <uui-file-dropzone
2887
2897
  id="dropzone"
2888
2898
  ?multiple=${this.multiple}
@@ -2895,9 +2905,9 @@
2895
2905
  @click=${this._handleClick}
2896
2906
  id="add-button"
2897
2907
  look="placeholder"
2898
- label="Add"></uui-button>`:E}
2908
+ label="Add"></uui-button>`:x}
2899
2909
  </div>
2900
- `}};De.styles=[h`
2910
+ `}};Le.styles=[d`
2901
2911
  :host {
2902
2912
  width: 100%;
2903
2913
  height: 100%;
@@ -2946,28 +2956,33 @@
2946
2956
  justify-content: center;
2947
2957
  align-items: stretch;
2948
2958
  }
2949
- `],Bt([C("#dropzone")],De.prototype,"_dropzone",2),Bt([C("#dropzone")],De.prototype,"_dropZone",2),Bt([a({type:String})],De.prototype,"accept",2),Bt([a({type:Boolean})],De.prototype,"multiple",2),Bt([f()],De.prototype,"_files",2),De=Bt([p("uui-input-file")],De);var Up=Object.defineProperty,ka=Object.getOwnPropertySymbols,Dp=Object.prototype.hasOwnProperty,Lp=Object.prototype.propertyIsEnumerable,za=(t,e,r)=>e in t?Up(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ia=(t,e)=>{for(var r in e||(e={}))Dp.call(e,r)&&za(t,r,e[r]);if(ka)for(var r of ka(e))Lp.call(e,r)&&za(t,r,e[r]);return t};class bt extends O{constructor(e,r={}){super(e,Ia(Ia({},{bubbles:!0}),r))}}bt.CHANGE="change",bt.INPUT="input";var Np=Object.defineProperty,Hp=Object.getOwnPropertyDescriptor,j=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Np(e,r,i),i};let k=class extends fe(ve("",v)){constructor(){super(),this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}get type(){return this._type}set type(t){this._type=t}firstUpdated(t){super.firstUpdated(t),this.addFormControlElement(this._input)}_onKeypress(t){this.type!=="color"&&t.key=="Enter"&&this.submit()}blur(){this._input.blur()}focus(){this._input.focus()}select(){this._input.select()}getFormElement(){return this._input}onInput(t){t.stopPropagation(),this.value=t.target.value,this.dispatchEvent(new bt(bt.INPUT))}onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new bt(bt.CHANGE))}renderPrepend(){return l`<slot name="prepend"></slot>`}renderAppend(){return l`<slot name="append"></slot>`}render(){return l`
2959
+ `],Rt([C("#dropzone")],Le.prototype,"_dropzone",2),Rt([C("#dropzone")],Le.prototype,"_dropZone",2),Rt([a({type:String})],Le.prototype,"accept",2),Rt([a({type:Boolean})],Le.prototype,"multiple",2),Rt([f()],Le.prototype,"_files",2),Le=Rt([p("uui-input-file")],Le);var qp=Object.defineProperty,Na=Object.getOwnPropertySymbols,Wp=Object.prototype.hasOwnProperty,Kp=Object.prototype.propertyIsEnumerable,Ha=(t,e,r)=>e in t?qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ta=(t,e)=>{for(var r in e||(e={}))Wp.call(e,r)&&Ha(t,r,e[r]);if(Na)for(var r of Na(e))Kp.call(e,r)&&Ha(t,r,e[r]);return t};class bt extends O{constructor(e,r={}){super(e,Ta(Ta({},{bubbles:!0}),r))}}bt.CHANGE="change",bt.INPUT="input";var Xp=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor,M=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Xp(e,r,i),i};let k=class extends fe(ve("",v)){constructor(){super(),this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this.autoWidth=!1,this.inputMode="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&String(this._value).length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&String(this._value).length>this.maxlength)}get type(){return this._type}set type(t){this._type=t}firstUpdated(t){super.firstUpdated(t),this.addFormControlElement(this._input)}_onKeypress(t){this.type!=="color"&&t.key=="Enter"&&this.submit()}blur(){this._input.blur()}focus(){this._input.focus()}select(){this._input.select()}getFormElement(){return this._input}onInput(t){t.stopPropagation(),this.value=t.target.value,this.dispatchEvent(new bt(bt.INPUT))}onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new bt(bt.CHANGE))}renderPrepend(){return l`<slot name="prepend"></slot>`}renderAppend(){return l`<slot name="append"></slot>`}render(){return l`
2950
2960
  ${this.renderPrepend()}
2951
- <input
2952
- id="input"
2953
- .type=${this.type}
2954
- .value=${this.value}
2955
- .name=${this.name}
2956
- pattern=${L(this.pattern)}
2957
- min=${L(this.min)}
2958
- max=${L(this.max)}
2959
- step=${L(this.step)}
2960
- spellcheck=${L(this.spellcheck)}
2961
- autocomplete=${L(this.autocomplete)}
2962
- placeholder=${this.placeholder}
2963
- aria-label=${this.label}
2964
- .disabled=${this.disabled}
2965
- ?required=${this.required}
2966
- ?readonly=${this.readonly}
2967
- @input=${this.onInput}
2968
- @change=${this.onChange} />
2961
+ <div id="control">
2962
+ <input
2963
+ id="input"
2964
+ .type=${this.type}
2965
+ .value=${this.value}
2966
+ .name=${this.name}
2967
+ pattern=${I(this.pattern)}
2968
+ min=${I(this.min)}
2969
+ max=${I(this.max)}
2970
+ step=${I(this.step)}
2971
+ spellcheck=${this.spellcheck}
2972
+ autocomplete=${I(this.autocomplete)}
2973
+ placeholder=${I(this.placeholder)}
2974
+ aria-label=${I(this.label)}
2975
+ inputmode=${I(this.inputMode)}
2976
+ ?disabled=${this.disabled}
2977
+ ?autofocus=${this.autofocus}
2978
+ ?required=${this.required}
2979
+ ?readonly=${this.readonly}
2980
+ @input=${this.onInput}
2981
+ @change=${this.onChange} />
2982
+ ${this.autoWidth?this.renderAutoWidth():x}
2983
+ </div>
2969
2984
  ${this.renderAppend()}
2970
- `}};k.formAssociated=!0,k.styles=[h`
2985
+ `}renderAutoWidth(){return l` <div id="auto" aria-hidden="true">${this.renderText()}</div>`}renderText(){return l`${this.value.length>0?this.value:this.placeholder}`}};k.formAssociated=!0,k.styles=[d`
2971
2986
  :host {
2972
2987
  position: relative;
2973
2988
  display: inline-flex;
@@ -2984,6 +2999,29 @@
2984
2999
 
2985
3000
  --uui-button-height: 100%;
2986
3001
  }
3002
+
3003
+ #control {
3004
+ position: relative;
3005
+ display: flex;
3006
+ flex-direction: column;
3007
+ align-items: stretch;
3008
+ justify-content: center;
3009
+ }
3010
+
3011
+ #auto {
3012
+ border: 0 1px solid transparent;
3013
+ visibility: hidden;
3014
+ white-space: pre;
3015
+ z-index: -1;
3016
+ height: 0px;
3017
+ padding: 0 var(--uui-size-space-3,9px);
3018
+ }
3019
+
3020
+ :host([auto-width]) #input {
3021
+ width: 10px;
3022
+ min-width: 100%;
3023
+ }
3024
+
2987
3025
  :host(:hover) {
2988
3026
  border-color: var(
2989
3027
  --uui-input-border-color-hover,
@@ -3071,16 +3109,16 @@
3071
3109
  height: 100%;
3072
3110
  --uui-input-border-width: 0;
3073
3111
  }
3074
- `],j([a()],k.prototype,"min",2),j([a({type:Number})],k.prototype,"minlength",2),j([a({type:String,attribute:"minlength-message"})],k.prototype,"minlengthMessage",2),j([a()],k.prototype,"max",2),j([a({type:Number})],k.prototype,"maxlength",2),j([a({type:String,attribute:"maxlength-message"})],k.prototype,"maxlengthMessage",2),j([a({type:Number})],k.prototype,"step",2),j([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2),j([a({type:Boolean,reflect:!0})],k.prototype,"readonly",2),j([a()],k.prototype,"placeholder",2),j([a()],k.prototype,"autocomplete",2),j([a({type:String})],k.prototype,"type",1),j([a({type:String})],k.prototype,"pattern",2),j([a({type:String})],k.prototype,"inputmode",2),j([C("#input")],k.prototype,"_input",2),k=j([p("uui-input")],k);var Mp=Object.defineProperty,Tp=Object.getOwnPropertyDescriptor,Aa=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Mp(e,r,i),i};let wr=class extends k{constructor(){super(),this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),m(this,"uui-icon"),m(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked}renderIcon(){return this.locked===!0?l`<uui-icon name="lock" .fallback=${Fc.strings[0]}></uui-icon>`:l`<uui-icon
3112
+ `],M([a()],k.prototype,"min",2),M([a({type:Number})],k.prototype,"minlength",2),M([a({type:String,attribute:"minlength-message"})],k.prototype,"minlengthMessage",2),M([a()],k.prototype,"max",2),M([a({type:Number})],k.prototype,"maxlength",2),M([a({type:String,attribute:"maxlength-message"})],k.prototype,"maxlengthMessage",2),M([a({type:Number})],k.prototype,"step",2),M([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2),M([a({type:Boolean,reflect:!0})],k.prototype,"readonly",2),M([a()],k.prototype,"placeholder",2),M([a()],k.prototype,"autocomplete",2),M([a({type:Boolean,reflect:!0,attribute:"auto-width"})],k.prototype,"autoWidth",2),M([a({type:String})],k.prototype,"type",1),M([a({type:String})],k.prototype,"pattern",2),M([a({type:String})],k.prototype,"inputMode",2),M([C("#input")],k.prototype,"_input",2),k=M([p("uui-input")],k);var Zp=Object.defineProperty,Qp=Object.getOwnPropertyDescriptor,Ma=(t,e,r,o)=>{for(var i=o>1?void 0:o?Qp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Zp(e,r,i),i};let $r=class extends k{constructor(){super(),this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),_(this,"uui-icon"),_(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked}renderIcon(){return this.locked===!0?l`<uui-icon name="lock" .fallback=${ih.strings[0]}></uui-icon>`:l`<uui-icon
3075
3113
  name="unlock"
3076
- .fallback=${Wc.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3114
+ .fallback=${nh.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3077
3115
  .disabled=${this.disabled}
3078
3116
  @click=${this._onLockToggle}
3079
3117
  compact
3080
3118
  id="lock"
3081
3119
  label="${this.locked?"Unlock input":"Lock input"}">
3082
3120
  ${this.renderIcon()}
3083
- </uui-button>`}};wr.styles=[...k.styles,h`
3121
+ </uui-button>`}};$r.styles=[...k.styles,d`
3084
3122
  #lock {
3085
3123
  height: 100%;
3086
3124
 
@@ -3093,16 +3131,16 @@
3093
3131
  cursor: not-allowed;
3094
3132
  opacity: 0.55;
3095
3133
  }
3096
- `],Aa([a({type:Boolean,reflect:!0})],wr.prototype,"locked",2),wr=Aa([p("uui-input-lock")],wr);var jp=Object.defineProperty,Vp=Object.getOwnPropertyDescriptor,Io=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&jp(e,r,i),i};let Rt=class extends k{constructor(){super(...arguments),this.passwordType="password"}get type(){return this.passwordType}set type(t){}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),m(this,"uui-icon"),m(this,"uui-button"),this.hasAttribute("spellcheck")||(this.spellcheck=!1)}renderIcon(){return this.passwordType==="password"?l`<uui-icon name="see" .fallback=${qc.strings[0]}></uui-icon>`:l`<uui-icon
3134
+ `],Ma([a({type:Boolean,reflect:!0})],$r.prototype,"locked",2),$r=Ma([p("uui-input-lock")],$r);var Jp=Object.defineProperty,e0=Object.getOwnPropertyDescriptor,Ao=(t,e,r,o)=>{for(var i=o>1?void 0:o?e0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Jp(e,r,i),i};let Ft=class extends k{constructor(){super(...arguments),this.passwordType="password"}get type(){return this.passwordType}set type(t){}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),_(this,"uui-icon"),_(this,"uui-button"),this.hasAttribute("spellcheck")||(this.spellcheck=!1)}renderIcon(){return this.passwordType==="password"?l`<uui-icon name="see" .fallback=${sh.strings[0]}></uui-icon>`:l`<uui-icon
3097
3135
  name="unsee"
3098
- .fallback=${Kc.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3136
+ .fallback=${ah.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3099
3137
  .disabled=${this.disabled}
3100
3138
  @click=${this._onPasswordToggle}
3101
3139
  compact
3102
3140
  label="${this.passwordType==="password"?"Show password":"Hide password"}"
3103
3141
  id="eye">
3104
3142
  ${this.renderIcon()}
3105
- </uui-button>`}};Rt.styles=[...k.styles,h`
3143
+ </uui-button>`}};Ft.styles=[...k.styles,d`
3106
3144
  #eye {
3107
3145
  height: 100%;
3108
3146
  margin-left: -6px;
@@ -3111,7 +3149,7 @@
3111
3149
  #clear:hover {
3112
3150
  color: black;
3113
3151
  }
3114
- `],Io([f()],Rt.prototype,"passwordType",2),Io([a()],Rt.prototype,"type",1),Rt=Io([p("uui-input-password")],Rt);var Bp=Object.defineProperty,Rp=Object.getOwnPropertyDescriptor,Fp=(t,e,r,o)=>{for(var i=o>1?void 0:o?Rp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Bp(e,r,i),i};let wi=class extends v{render(){return l`<slot></slot>`}};wi.styles=[h`
3152
+ `],Ao([f()],Ft.prototype,"passwordType",2),Ao([a()],Ft.prototype,"type",1),Ft=Ao([p("uui-input-password")],Ft);var t0=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,i0=(t,e,r,o)=>{for(var i=o>1?void 0:o?r0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&t0(e,r,i),i};let yi=class extends v{render(){return l`<slot></slot>`}};yi.styles=[d`
3115
3153
  :host {
3116
3154
  display: inline-block;
3117
3155
  font-family: inherit;
@@ -3126,7 +3164,7 @@
3126
3164
  ::slotted(*:last-child)uui-key {
3127
3165
  margin-right: 0px;
3128
3166
  }
3129
- `],wi=Fp([p("uui-keyboard-shortcut")],wi);var Gp=Object.defineProperty,qp=Object.getOwnPropertyDescriptor,Wp=(t,e,r,o)=>{for(var i=o>1?void 0:o?qp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Gp(e,r,i),i};let xi=class extends v{render(){return l`<slot></slot>`}};xi.styles=[h`
3167
+ `],yi=i0([p("uui-keyboard-shortcut")],yi);var o0=Object.defineProperty,s0=Object.getOwnPropertyDescriptor,n0=(t,e,r,o)=>{for(var i=o>1?void 0:o?s0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&o0(e,r,i),i};let wi=class extends v{render(){return l`<slot></slot>`}};wi.styles=[d`
3130
3168
  :host {
3131
3169
  background: var(--uui-color-surface,#fff);
3132
3170
  border: 1px solid var(--uui-color-border,#d8d7d9);
@@ -3140,10 +3178,10 @@
3140
3178
  user-select: none;
3141
3179
  text-transform: lowercase;
3142
3180
  }
3143
- `],xi=Wp([p("uui-key")],xi);var Kp=Object.defineProperty,Xp=Object.getOwnPropertyDescriptor,$i=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Kp(e,r,i),i};let gt=class extends v{constructor(){super(),this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const t=this.getForElement();t&&(t.focus(),t.click())}getForElement(){if(typeof this.for=="string"){const t=this.getRootNode();return t?.getElementById(this.for)||null}return this.for||null}render(){return l`
3181
+ `],wi=n0([p("uui-key")],wi);var a0=Object.defineProperty,l0=Object.getOwnPropertyDescriptor,xi=(t,e,r,o)=>{for(var i=o>1?void 0:o?l0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&a0(e,r,i),i};let gt=class extends v{constructor(){super(),this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const t=this.getForElement();t&&(t.focus(),t.click())}getForElement(){if(typeof this.for=="string"){const t=this.getRootNode();return t?.getElementById(this.for)||null}return this.for||null}render(){return l`
3144
3182
  <slot></slot>
3145
3183
  ${this.required?l`<div id="required">*</div>`:""}
3146
- `}};gt.styles=[h`
3184
+ `}};gt.styles=[d`
3147
3185
  :host {
3148
3186
  font-weight: 700;
3149
3187
  }
@@ -3158,7 +3196,7 @@
3158
3196
  color: var(--uui-color-danger,#d42054);
3159
3197
  font-weight: 900;
3160
3198
  }
3161
- `],$i([a({type:Boolean,reflect:!0})],gt.prototype,"disabled",2),$i([a({reflect:!0,attribute:!0})],gt.prototype,"for",2),$i([a({type:Boolean,reflect:!0})],gt.prototype,"required",2),gt=$i([p("uui-label")],gt);var Yp=Object.defineProperty,Zp=Object.getOwnPropertyDescriptor,Ao=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zp(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Yp(e,r,i),i};const Qp=(t,e,r)=>Math.min(Math.max(t,e),r);let Ft=class extends v{constructor(){super(...arguments),this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=Qp(t,0,100),this.requestUpdate("progress",e)}get animationDuration(){return this._animationDuration}set animationDuration(t){const e=this._animationDuration;this._animationDuration=t>=0?t:1,this.requestUpdate("animationDuration",e)}render(){return l`
3199
+ `],xi([a({type:Boolean,reflect:!0})],gt.prototype,"disabled",2),xi([a({reflect:!0,attribute:!0})],gt.prototype,"for",2),xi([a({type:Boolean,reflect:!0})],gt.prototype,"required",2),gt=xi([p("uui-label")],gt);var u0=Object.defineProperty,c0=Object.getOwnPropertyDescriptor,Uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?c0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&u0(e,r,i),i};const h0=(t,e,r)=>Math.min(Math.max(t,e),r);let Gt=class extends v{constructor(){super(...arguments),this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=h0(t,0,100),this.requestUpdate("progress",e)}get animationDuration(){return this._animationDuration}set animationDuration(t){const e=this._animationDuration;this._animationDuration=t>=0?t:1,this.requestUpdate("animationDuration",e)}render(){return l`
3162
3200
  ${this.progress?l`<div
3163
3201
  id="bar"
3164
3202
  style="max-width: ${this.progress.toString()}%;"></div>`:""}
@@ -3167,7 +3205,7 @@
3167
3205
  class=${this.progress?"":"animate"}
3168
3206
  style="animation-duration: ${this.animationDuration}s"></div>
3169
3207
  <div id="bar-background"></div>
3170
- `}};Ft.styles=[h`
3208
+ `}};Gt.styles=[d`
3171
3209
  :host {
3172
3210
  position: relative;
3173
3211
  display: block;
@@ -3226,7 +3264,7 @@
3226
3264
  transform-origin: 175% 0%;
3227
3265
  }
3228
3266
  }
3229
- `],Ao([a({type:Number})],Ft.prototype,"progress",1),Ao([a({type:Number})],Ft.prototype,"animationDuration",1),Ft=Ao([p("uui-loader-bar")],Ft);var Jp=Object.defineProperty,e0=Object.getOwnPropertyDescriptor,Uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?e0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Jp(e,r,i),i};let Gt=class extends v{constructor(){super(...arguments),this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const t=this.clientHeight>=30;this._isLarge!=t&&(this._isLarge=t,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?l`<span id="progress-display">${this.progress}</span>`:""}render(){return l`
3267
+ `],Uo([a({type:Number})],Gt.prototype,"progress",1),Uo([a({type:Number})],Gt.prototype,"animationDuration",1),Gt=Uo([p("uui-loader-bar")],Gt);var d0=Object.defineProperty,p0=Object.getOwnPropertyDescriptor,Do=(t,e,r,o)=>{for(var i=o>1?void 0:o?p0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&d0(e,r,i),i};let qt=class extends v{constructor(){super(...arguments),this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const t=this.clientHeight>=30;this._isLarge!=t&&(this._isLarge=t,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?l`<span id="progress-display">${this.progress}</span>`:""}render(){return l`
3230
3268
  <svg
3231
3269
  id="spinner"
3232
3270
  class=${this.progress?"":"animate"}
@@ -3243,7 +3281,7 @@
3243
3281
  </g>
3244
3282
  </svg>
3245
3283
  ${this.renderProgress()}
3246
- `}};Gt.styles=[h`
3284
+ `}};qt.styles=[d`
3247
3285
  :host {
3248
3286
  vertical-align: middle;
3249
3287
  line-height: 0;
@@ -3328,11 +3366,11 @@
3328
3366
  /* Center the text */
3329
3367
  padding-top: 0.09em;
3330
3368
  }
3331
- `],Uo([a({type:Number})],Gt.prototype,"progress",2),Uo([a({type:Boolean,reflect:!0,attribute:"show-progress"})],Gt.prototype,"showProgress",2),Gt=Uo([p("uui-loader-circle")],Gt);var t0=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,i0=(t,e,r,o)=>{for(var i=o>1?void 0:o?r0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&t0(e,r,i),i};let Ei=class extends v{render(){return l`
3369
+ `],Do([a({type:Number})],qt.prototype,"progress",2),Do([a({type:Boolean,reflect:!0,attribute:"show-progress"})],qt.prototype,"showProgress",2),qt=Do([p("uui-loader-circle")],qt);var v0=Object.defineProperty,f0=Object.getOwnPropertyDescriptor,b0=(t,e,r,o)=>{for(var i=o>1?void 0:o?f0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&v0(e,r,i),i};let $i=class extends v{render(){return l`
3332
3370
  <div></div>
3333
3371
  <div></div>
3334
3372
  <div></div>
3335
- `}};Ei.styles=[h`
3373
+ `}};$i.styles=[d`
3336
3374
  :host {
3337
3375
  color: var(--uui-color-default,#1b264f);
3338
3376
  }
@@ -3372,31 +3410,31 @@
3372
3410
  background-color: currentColor;
3373
3411
  }
3374
3412
  }
3375
- `],Ei=i0([p("uui-loader")],Ei);/**
3413
+ `],$i=b0([p("uui-loader")],$i);/**
3376
3414
  * @license
3377
3415
  * Copyright 2017 Google LLC
3378
3416
  * SPDX-License-Identifier: BSD-3-Clause
3379
- */const xr=(t,e)=>{var r,o;const i=t._$AN;if(i===void 0)return!1;for(const s of i)(o=(r=s)._$AO)===null||o===void 0||o.call(r,e,!1),xr(s,e);return!0},Pi=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Ua=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),n0(e)}};function o0(t){this._$AN!==void 0?(Pi(this),this._$AM=t,Ua(this)):this._$AM=t}function s0(t,e=!1,r=0){const o=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)xr(o[s],!1),Pi(o[s]);else o!=null&&(xr(o,!1),Pi(o));else xr(this,t)}const n0=t=>{var e,r,o,i;t.type==ae.CHILD&&((e=(o=t)._$AP)!==null&&e!==void 0||(o._$AP=s0),(r=(i=t)._$AQ)!==null&&r!==void 0||(i._$AQ=o0))};class a0 extends At{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),Ua(this),this.isConnected=e._$AU}_$AO(e,r=!0){var o,i;e!==this.isConnected&&(this.isConnected=e,e?(o=this.reconnected)===null||o===void 0||o.call(this):(i=this.disconnected)===null||i===void 0||i.call(this)),r&&(xr(this,e),Pi(this))}setValue(e){if(Un(this._$Ct))this._$Ct._$AI(e,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}const Do=new WeakMap,Lo=It(class extends a0{render(t){return E}update(t,[e]){var r;const o=e!==this.G;return o&&this.G!==void 0&&this.ot(void 0),(o||this.rt!==this.lt)&&(this.G=e,this.ct=(r=t.options)===null||r===void 0?void 0:r.host,this.ot(this.lt=t.element)),E}ot(t){var e;if(typeof this.G=="function"){const r=(e=this.ct)!==null&&e!==void 0?e:globalThis;let o=Do.get(r);o===void 0&&(o=new WeakMap,Do.set(r,o)),o.get(this.G)!==void 0&&this.G.call(this.ct,void 0),o.set(this.G,t),t!==void 0&&this.G.call(this.ct,t)}else this.G.value=t}get rt(){var t,e,r;return typeof this.G=="function"?(e=Do.get((t=this.ct)!==null&&t!==void 0?t:globalThis))===null||e===void 0?void 0:e.get(this.G):(r=this.G)===null||r===void 0?void 0:r.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});class Le extends O{}Le.SHOW_CHILDREN="show-children",Le.HIDE_CHILDREN="hide-children",Le.CLICK_LABEL="click-label";var l0=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,Re=(t,e,r,o)=>{for(var i=o>1?void 0:o?u0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&l0(e,r,i),i};let ce=class extends Jr(St(lr(ve("label",v)))){constructor(){super(...arguments),this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.iconSlotHasContent=!1,this._labelButtonChanged=t=>{this.selectableTarget=t||this},this._iconSlotChanged=t=>{this.iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._onCaretClicked=()=>{const t=this.showChildren?Le.HIDE_CHILDREN:Le.SHOW_CHILDREN,e=new Le(t,{cancelable:!0});this.dispatchEvent(e),!e.defaultPrevented&&(this.showChildren=!this.showChildren)},this._onLabelClicked=()=>{const t=new Le(Le.CLICK_LABEL);this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),m(this,"uui-symbol-expand"),m(this,"uui-loader-bar")}_renderLabelInside(){return l` <slot
3417
+ */const Er=(t,e)=>{var r,o;const i=t._$AN;if(i===void 0)return!1;for(const s of i)(o=(r=s)._$AO)===null||o===void 0||o.call(r,e,!1),Er(s,e);return!0},Ei=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},ja=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),_0(e)}};function g0(t){this._$AN!==void 0?(Ei(this),this._$AM=t,ja(this)):this._$AM=t}function m0(t,e=!1,r=0){const o=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)Er(o[s],!1),Ei(o[s]);else o!=null&&(Er(o,!1),Ei(o));else Er(this,t)}const _0=t=>{var e,r,o,i;t.type==le.CHILD&&((e=(o=t)._$AP)!==null&&e!==void 0||(o._$AP=m0),(r=(i=t)._$AQ)!==null&&r!==void 0||(i._$AQ=g0))};class y0 extends Ut{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),ja(this),this.isConnected=e._$AU}_$AO(e,r=!0){var o,i;e!==this.isConnected&&(this.isConnected=e,e?(o=this.reconnected)===null||o===void 0||o.call(this):(i=this.disconnected)===null||i===void 0||i.call(this)),r&&(Er(this,e),Ei(this))}setValue(e){if(jn(this._$Ct))this._$Ct._$AI(e,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}const Lo=new WeakMap,No=At(class extends y0{render(t){return x}update(t,[e]){var r;const o=e!==this.G;return o&&this.G!==void 0&&this.ot(void 0),(o||this.rt!==this.lt)&&(this.G=e,this.dt=(r=t.options)===null||r===void 0?void 0:r.host,this.ot(this.lt=t.element)),x}ot(t){var e;if(typeof this.G=="function"){const r=(e=this.dt)!==null&&e!==void 0?e:globalThis;let o=Lo.get(r);o===void 0&&(o=new WeakMap,Lo.set(r,o)),o.get(this.G)!==void 0&&this.G.call(this.dt,void 0),o.set(this.G,t),t!==void 0&&this.G.call(this.dt,t)}else this.G.value=t}get rt(){var t,e,r;return typeof this.G=="function"?(e=Lo.get((t=this.dt)!==null&&t!==void 0?t:globalThis))===null||e===void 0?void 0:e.get(this.G):(r=this.G)===null||r===void 0?void 0:r.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});class Ne extends O{}Ne.SHOW_CHILDREN="show-children",Ne.HIDE_CHILDREN="hide-children",Ne.CLICK_LABEL="click-label";var w0=Object.defineProperty,x0=Object.getOwnPropertyDescriptor,He=(t,e,r,o)=>{for(var i=o>1?void 0:o?x0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&w0(e,r,i),i};let ne=class extends Jr(St(cr(ve("label",v)))){constructor(){super(...arguments),this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.iconSlotHasContent=!1,this._labelButtonChanged=t=>{this.selectableTarget=t||this},this._iconSlotChanged=t=>{this.iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._onCaretClicked=()=>{const t=this.showChildren?Ne.HIDE_CHILDREN:Ne.SHOW_CHILDREN,e=new Ne(t,{cancelable:!0});this.dispatchEvent(e),!e.defaultPrevented&&(this.showChildren=!this.showChildren)},this._onLabelClicked=()=>{const t=new Ne(Ne.CLICK_LABEL);this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),_(this,"uui-symbol-expand"),_(this,"uui-loader-bar")}_renderLabelInside(){return l` <slot
3380
3418
  name="icon"
3381
3419
  id="icon"
3382
3420
  style=${this.iconSlotHasContent?"":"display: none;"}
3383
3421
  @slotchange=${this._iconSlotChanged}></slot>
3384
3422
  ${this.renderLabel()}
3385
- <slot name="badge" id="badge"> </slot>`}_renderLabelAsAnchor(){return this.disabled?l` <span id="label-button" ${Lo(this._labelButtonChanged)}>
3423
+ <slot name="badge" id="badge"> </slot>`}_renderLabelAsAnchor(){return this.disabled?l` <span id="label-button" ${No(this._labelButtonChanged)}>
3386
3424
  ${this._renderLabelInside()}
3387
3425
  </span>`:l` <a
3388
3426
  id="label-button"
3389
- ${Lo(this._labelButtonChanged)}
3390
- href=${L(this.href)}
3391
- target=${L(this.target||void 0)}
3392
- rel=${L(this.target==="_blank"?"noopener noreferrer":void 0)}
3427
+ ${No(this._labelButtonChanged)}
3428
+ href=${I(this.href)}
3429
+ target=${I(this.target||void 0)}
3430
+ rel=${I(this.target==="_blank"?"noopener noreferrer":void 0)}
3393
3431
  @click=${this._onLabelClicked}
3394
3432
  ?disabled=${this.disabled}
3395
3433
  aria-label="${this.label}">
3396
3434
  ${this._renderLabelInside()}
3397
3435
  </a>`}_renderLabelAsButton(){return l` <button
3398
3436
  id="label-button"
3399
- ${Lo(this._labelButtonChanged)}
3437
+ ${No(this._labelButtonChanged)}
3400
3438
  @click=${this._onLabelClicked}
3401
3439
  ?disabled=${this.disabled}
3402
3440
  aria-label="${this.label}">
@@ -3413,11 +3451,11 @@
3413
3451
  ${this.loading?l`<uui-loader-bar id="loader"></uui-loader-bar>`:""}
3414
3452
  </div>
3415
3453
  ${this.showChildren?l`<slot></slot>`:""}
3416
- `}};ce.styles=[h`
3454
+ `}};ne.styles=[d`
3417
3455
  :host {
3456
+ box-sizing: border-box;
3418
3457
  display: block;
3419
3458
  --uui-menu-item-child-indent: calc(var(--uui-menu-item-indent, 0) + 1);
3420
-
3421
3459
  user-select: none;
3422
3460
  }
3423
3461
 
@@ -3430,7 +3468,8 @@
3430
3468
  white-space: nowrap;
3431
3469
  }
3432
3470
 
3433
- :host(:not([active], [selected], [disabled]))
3471
+ /** Not active, not selected, not disabled: */
3472
+ :host(:not([active], [selected], [disabled], [select-mode='highlight']))
3434
3473
  #menu-item
3435
3474
  #label-button:hover
3436
3475
  ~ #label-button-background,
@@ -3446,6 +3485,7 @@
3446
3485
  color: var(--uui-color-interactive-emphasis,#3544b1);
3447
3486
  }
3448
3487
 
3488
+ /** Active */
3449
3489
  :host([active]) #label-button,
3450
3490
  :host([active]) #caret-button {
3451
3491
  color: var(--uui-color-current-contrast,#1b264f);
@@ -3458,22 +3498,127 @@
3458
3498
  background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));
3459
3499
  }
3460
3500
 
3461
- :host([selected]) #label-button,
3462
- :host([selected]) #caret-button {
3501
+ /** Disabled */
3502
+ :host([disabled]) #menu-item {
3503
+ color: var(--uui-color-disabled-contrast,#c4c4c4);
3504
+ background-color: var(--uui-color-disabled,#f3f3f5);
3505
+ }
3506
+
3507
+ /** Selected */
3508
+ :host([selected]:not([select-mode='highlight'], [disabled]))
3509
+ #label-button,
3510
+ :host([selected]:not([select-mode='highlight'], [disabled]))
3511
+ #caret-button {
3463
3512
  color: var(--uui-color-selected-contrast,#fff);
3464
3513
  }
3465
- :host([selected]) #label-button-background {
3514
+ :host([selected]:not([select-mode='highlight'], [disabled]))
3515
+ #label-button-background {
3466
3516
  background-color: var(--uui-color-selected,#3544b1);
3467
3517
  }
3468
- :host([selected]) #label-button:hover ~ #label-button-background,
3469
- :host([selected]) #caret-button:hover {
3518
+ /** Selected, not highlight mode */
3519
+ :host([selected]:not([select-mode='highlight'], [disabled]))
3520
+ #label-button:hover
3521
+ ~ #label-button-background,
3522
+ :host([selected]:not([select-mode='highlight'], [disabled]))
3523
+ #caret-button:hover {
3470
3524
  background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));
3471
3525
  }
3472
3526
 
3473
- :host([disabled]) #menu-item {
3474
- color: var(--uui-color-disabled-contrast,#c4c4c4);
3475
- background-color: var(--uui-color-disabled,#f3f3f5);
3527
+ /** highlight mode, default */
3528
+ :host([select-mode='highlight']:not([disabled], [active], [selectable]))
3529
+ #menu-item
3530
+ #label-button:hover
3531
+ ~ #label-button-background {
3532
+ border-radius: var(--uui-border-radius,3px);
3533
+ background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));
3476
3534
  }
3535
+
3536
+ /** highlight mode, active */
3537
+ :host([select-mode='highlight'][active]:not([disabled]))
3538
+ #menu-item
3539
+ #label-button-background {
3540
+ border-radius: var(--uui-border-radius,3px);
3541
+ }
3542
+
3543
+ /** highlight mode, active & selected */
3544
+ :host([select-mode='highlight'][active][selected]:not([disabled]))
3545
+ #menu-item
3546
+ #label-button:hover
3547
+ ~ #label-button-background {
3548
+ border-radius: var(--uui-border-radius,3px);
3549
+ background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));
3550
+ }
3551
+
3552
+ /** highlight mode, selected */
3553
+ :host([select-mode='highlight'][selected]:not([disabled]))
3554
+ #menu-item
3555
+ #label-button,
3556
+ :host([select-mode='highlight'][selected]:not([disabled]))
3557
+ #menu-item
3558
+ #caret-button {
3559
+ color: var(--uui-color-interactive,#1b264f);
3560
+ }
3561
+ :host([select-mode='highlight'][selectable][selected]:not([disabled]))
3562
+ #menu-item
3563
+ #label-button:hover {
3564
+ color: var(--uui-color-interactive-emphasis,#3544b1);
3565
+ }
3566
+
3567
+ /** highlight mode, selected, selectable caret hover */
3568
+ :host([selected][selectable][select-mode='highlight']:not([active]))
3569
+ #menu-item
3570
+ #caret-button:hover {
3571
+ border-radius: var(--uui-border-radius,3px);
3572
+ background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));
3573
+ color: var(--uui-color-interactive-emphasis,#3544b1);
3574
+ }
3575
+
3576
+ /** Highlight borders */
3577
+
3578
+ :host([select-mode='highlight']:not([disabled]))
3579
+ #menu-item
3580
+ #label-button-background::after {
3581
+ border-radius: var(--uui-border-radius,3px);
3582
+ position: absolute;
3583
+ content: '';
3584
+ inset: 1px;
3585
+ border: 2px solid var(--uui-color-selected,#3544b1);
3586
+ opacity: 0;
3587
+ }
3588
+
3589
+ :host([select-mode='highlight'][selectable][selected]:not([disabled]))
3590
+ #menu-item
3591
+ #caret-button:hover::after {
3592
+ border-top-left-radius: var(--uui-border-radius,3px);
3593
+ border-bottom-left-radius: var(--uui-border-radius,3px);
3594
+ position: absolute;
3595
+ content: '';
3596
+ inset: 1px 0 1px 1px;
3597
+ border: 2px solid var(--uui-color-selected,#3544b1);
3598
+ border-right: none;
3599
+ }
3600
+
3601
+ :host([select-mode='highlight'][selected]:not([disabled]))
3602
+ #menu-item
3603
+ #label-button-background::after {
3604
+ opacity: 1;
3605
+ }
3606
+
3607
+ :host([select-mode='highlight'][selectable]:not([disabled]))
3608
+ #menu-item
3609
+ #label-button:hover
3610
+ ~ #label-button-background::after {
3611
+ opacity: 0.33;
3612
+ }
3613
+ :host([select-mode='highlight'][selected]:not([disabled]))
3614
+ #menu-item
3615
+ #label-button:hover
3616
+ ~ #label-button-background::after {
3617
+ opacity: 0.66;
3618
+ }
3619
+
3620
+ /** Buttons */
3621
+
3477
3622
  :host([disabled]) #label-button {
3478
3623
  cursor: default;
3479
3624
  }
@@ -3496,6 +3641,7 @@
3496
3641
  }
3497
3642
 
3498
3643
  #label-button {
3644
+ position: relative;
3499
3645
  flex-grow: 1;
3500
3646
  grid-column-start: 2;
3501
3647
  white-space: nowrap;
@@ -3523,6 +3669,7 @@
3523
3669
  }
3524
3670
 
3525
3671
  #caret-button {
3672
+ position: relative;
3526
3673
  width: 100%;
3527
3674
  height: 100%;
3528
3675
  display: flex;
@@ -3570,6 +3717,36 @@
3570
3717
  margin-left: 6px;
3571
3718
  }
3572
3719
 
3720
+ /** Focus styling */
3721
+
3722
+ :host([select-mode='highlight']) #label-button:focus-visible {
3723
+ outline: none;
3724
+ overflow: initial;
3725
+ }
3726
+
3727
+ :host([select-mode='highlight']) #label-button:focus-visible::after {
3728
+ content: '';
3729
+ border-radius: calc(var(--uui-border-radius,3px) - 1px);
3730
+ position: absolute;
3731
+ inset: 3px 3px 3px -5px;
3732
+ border: 2px solid var(--uui-color-focus,#3879ff);
3733
+ }
3734
+
3735
+ :host([select-mode='highlight']) #caret-button:focus-visible {
3736
+ outline: none;
3737
+ overflow: initial;
3738
+ }
3739
+
3740
+ :host([select-mode='highlight']) #caret-button:focus-visible::after {
3741
+ content: '';
3742
+ position: absolute;
3743
+ inset: 3px;
3744
+ border-radius: calc(var(--uui-border-radius,3px) - 1px);
3745
+ border: 2px solid var(--uui-color-focus,#3879ff);
3746
+ }
3747
+
3748
+ /** Slots */
3749
+
3573
3750
  slot:not([name]) {
3574
3751
  position: relative;
3575
3752
  display: block;
@@ -3585,7 +3762,7 @@
3585
3762
  --uui-button-height: calc(var(--uui-size-base-unit) * 4);
3586
3763
  margin-right: var(--uui-size-base-unit);
3587
3764
  }
3588
- `],Re([a({type:Boolean,reflect:!0})],ce.prototype,"disabled",2),Re([a({type:Boolean,reflect:!0,attribute:"show-children"})],ce.prototype,"showChildren",2),Re([a({type:Boolean,attribute:"has-children"})],ce.prototype,"hasChildren",2),Re([a({type:Boolean,attribute:"loading"})],ce.prototype,"loading",2),Re([a({type:String})],ce.prototype,"href",2),Re([a({type:String})],ce.prototype,"target",2),Re([f()],ce.prototype,"iconSlotHasContent",2),ce=Re([p("uui-menu-item")],ce);var c0=Object.defineProperty,h0=Object.getOwnPropertyDescriptor,qt=(t,e,r,o)=>{for(var i=o>1?void 0:o?h0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&c0(e,r,i),i};class Y extends v{constructor(){super(...arguments),this.isOpen=!1,this.isClosing=!1,this.index=0,this.uniqueIndex=0,this._transitionDuration=250,this.open=e=>{e?.preventDefault(),e?.stopImmediatePropagation();const r=new CustomEvent("open",{bubbles:!0,cancelable:!0});this.dispatchEvent(r),!r.defaultPrevented&&this._openModal()},this.close=e=>{e?.preventDefault(),e?.stopImmediatePropagation();const r=new CustomEvent("close",{bubbles:!0,cancelable:!0});this.dispatchEvent(r),!r.defaultPrevented&&this._closeModal()}}get transitionDuration(){return this._transitionDuration}set transitionDuration(e){this._transitionDuration=e,this.style.setProperty("--uui-modal-transition-duration",this._transitionDuration+"ms")}firstUpdated(e){super.firstUpdated(e),this.isClosing||this.open()}_openModal(){var e,r;this.isOpen=!0,(e=this._dialogElement)==null||e.showModal(),(r=this._dialogElement)==null||r.addEventListener("cancel",this.close)}_closeModal(){var e;this.isClosing=!0,this.isOpen=!1,(e=this._dialogElement)==null||e.close(),this.remove()}}Y.styles=[h`
3765
+ `],He([a({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),He([a({type:Boolean,reflect:!0,attribute:"show-children"})],ne.prototype,"showChildren",2),He([a({type:Boolean,attribute:"has-children"})],ne.prototype,"hasChildren",2),He([a({type:Boolean,attribute:"loading"})],ne.prototype,"loading",2),He([a({type:String})],ne.prototype,"href",2),He([a({type:String})],ne.prototype,"target",2),He([a({type:String,attribute:"select-mode",reflect:!0})],ne.prototype,"selectMode",2),He([f()],ne.prototype,"iconSlotHasContent",2),ne=He([p("uui-menu-item")],ne);var $0=Object.defineProperty,E0=Object.getOwnPropertyDescriptor,Wt=(t,e,r,o)=>{for(var i=o>1?void 0:o?E0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&$0(e,r,i),i};class Y extends v{constructor(){super(...arguments),this.isOpen=!1,this.isClosing=!1,this.index=0,this.uniqueIndex=0,this._transitionDuration=250,this.open=e=>{e?.preventDefault(),e?.stopImmediatePropagation();const r=new CustomEvent("open",{bubbles:!0,cancelable:!0});this.dispatchEvent(r),!r.defaultPrevented&&this._openModal()},this.close=e=>{e?.preventDefault(),e?.stopImmediatePropagation();const r=new CustomEvent("close",{bubbles:!0,cancelable:!0});this.dispatchEvent(r),!r.defaultPrevented&&this._closeModal()}}get transitionDuration(){return this._transitionDuration}set transitionDuration(e){this._transitionDuration=e,this.style.setProperty("--uui-modal-transition-duration",this._transitionDuration+"ms")}firstUpdated(e){super.firstUpdated(e),this.isClosing||this.open()}_openModal(){var e,r;this.isOpen=!0,(e=this._dialogElement)==null||e.showModal(),(r=this._dialogElement)==null||r.addEventListener("cancel",this.close)}_closeModal(){var e;this.isClosing=!0,this.isOpen=!1,(e=this._dialogElement)==null||e.close(),this.remove()}}Y.styles=[d`
3589
3766
  dialog {
3590
3767
  display: block;
3591
3768
  margin: 0;
@@ -3606,13 +3783,14 @@
3606
3783
  pointer-events: none;
3607
3784
  opacity: 1;
3608
3785
  transition: opacity var(--uui-modal-transition-duration, 250ms);
3786
+ z-index: 1;
3609
3787
  }
3610
3788
  :host([index='0']) dialog::after {
3611
3789
  opacity: 0;
3612
3790
  }
3613
- `],qt([C("dialog")],Y.prototype,"_dialogElement",2),qt([a({type:Boolean,reflect:!0,attribute:"is-open"})],Y.prototype,"isOpen",2),qt([a({type:Boolean,reflect:!0,attribute:"is-closing"})],Y.prototype,"isClosing",2),qt([a({type:Number,reflect:!0})],Y.prototype,"index",2),qt([a({type:Number,reflect:!0,attribute:"unique-index"})],Y.prototype,"uniqueIndex",2),qt([a()],Y.prototype,"transitionDuration",1);var d0=Object.defineProperty,p0=Object.getOwnPropertyDescriptor,Da=(t,e,r,o)=>{for(var i=o>1?void 0:o?p0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&d0(e,r,i),i},La=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Na=(t,e,r)=>(La(t,e,"read from private field"),r?r.call(t):e.get(t)),Ha=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},v0=(t,e,r)=>(La(t,e,"access private method"),r),Ci,No,Ho,Ma;let Wt=class extends Y{constructor(){super(),Ha(this,Ci),Ha(this,Ho),this.size="full",this.addEventListener("close",v0(this,Ho,Ma).bind(this))}firstUpdated(t){super.firstUpdated(t),this.style.setProperty("--uui-modal-offset",-Na(this,Ci,No)+"px")}updated(t){super.updated(t),this.uniqueIndex>10?this.setAttribute("hide",""):this.removeAttribute("hide")}render(){return l`<dialog>
3791
+ `],Wt([C("dialog")],Y.prototype,"_dialogElement",2),Wt([a({type:Boolean,reflect:!0,attribute:"is-open"})],Y.prototype,"isOpen",2),Wt([a({type:Boolean,reflect:!0,attribute:"is-closing"})],Y.prototype,"isClosing",2),Wt([a({type:Number,reflect:!0})],Y.prototype,"index",2),Wt([a({type:Number,reflect:!0,attribute:"unique-index"})],Y.prototype,"uniqueIndex",2),Wt([a()],Y.prototype,"transitionDuration",1);var P0=Object.defineProperty,C0=Object.getOwnPropertyDescriptor,Va=(t,e,r,o)=>{for(var i=o>1?void 0:o?C0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&P0(e,r,i),i},Ba=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Ra=(t,e,r)=>(Ba(t,e,"read from private field"),r?r.call(t):e.get(t)),Fa=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},O0=(t,e,r)=>(Ba(t,e,"access private method"),r),Pi,Ho,To,Ga;let Kt=class extends Y{constructor(){super(),Fa(this,Pi),Fa(this,To),this.size="full",this.addEventListener("close",O0(this,To,Ga).bind(this))}firstUpdated(t){super.firstUpdated(t),this.style.setProperty("--uui-modal-offset",-Ra(this,Pi,Ho)+"px")}updated(t){super.updated(t),this.uniqueIndex>10?this.setAttribute("hide",""):this.removeAttribute("hide")}render(){return l`<dialog>
3614
3792
  <slot></slot>
3615
- </dialog>`}};Ci=new WeakSet,No=function(){var t,e;return(e=(t=this._dialogElement)==null?void 0:t.getBoundingClientRect().width)!=null?e:0},Ho=new WeakSet,Ma=function(t){t.preventDefault(),!this.isClosing&&(this.isClosing=!0,this.style.setProperty("--uui-modal-offset",-Na(this,Ci,No)+"px"),setTimeout(()=>{this._closeModal()},this.transitionDuration))},Wt.styles=[...Y.styles,h`
3793
+ </dialog>`}};Pi=new WeakSet,Ho=function(){var t,e;return(e=(t=this._dialogElement)==null?void 0:t.getBoundingClientRect().width)!=null?e:0},To=new WeakSet,Ga=function(t){t.preventDefault(),!this.isClosing&&(this.isClosing=!0,this.style.setProperty("--uui-modal-offset",-Ra(this,Pi,Ho)+"px"),setTimeout(()=>{this._closeModal()},this.transitionDuration))},Kt.styles=[...Y.styles,d`
3616
3794
  :host {
3617
3795
  --uui-modal-sidebar-left-gap: 24px;
3618
3796
  }
@@ -3648,7 +3826,7 @@
3648
3826
  :host([size='small']) dialog {
3649
3827
  max-width: min(400px, calc(100% - var(--uui-modal-sidebar-left-gap)));
3650
3828
  }
3651
- `],Da([a({reflect:!0})],Wt.prototype,"size",2),Wt=Da([io("uui-modal-sidebar")],Wt);var f0=Object.defineProperty,b0=Object.getOwnPropertyDescriptor,Kt=(t,e,r,o)=>{for(var i=o>1?void 0:o?b0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&f0(e,r,i),i},Ta=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},ja=(t,e,r)=>(Ta(t,e,"read from private field"),r?r.call(t):e.get(t)),Oi=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},Si=(t,e,r)=>(Ta(t,e,"access private method"),r),Mo,To,ki,jo,zi,Vo;let Ne=class extends v{constructor(){super(),Oi(this,ki),Oi(this,zi),this.sidebarGap=64,this.transitionDurationMS=250,Oi(this,Mo,()=>{var t,e;if(this._modals=(e=(t=this.modalSlot)==null?void 0:t.assignedElements({flatten:!0}).filter(r=>r instanceof Y))!=null?e:[],this._sidebars=this._modals.filter(r=>r instanceof Wt),this._modals.length===0){this.removeAttribute("backdrop");return}Si(this,ki,jo).call(this),Si(this,zi,Vo).call(this)}),Oi(this,To,()=>{if(!this._modals||this._modals.length<=1){this.removeAttribute("backdrop");return}Si(this,ki,jo).call(this),Si(this,zi,Vo).call(this)}),this.addEventListener("close",ja(this,To)),this.style.setProperty("--uui-modal-transition-duration",this.transitionDurationMS+"ms")}render(){return l`<slot @slotchange=${ja(this,Mo)}></slot>`}};Mo=new WeakMap,To=new WeakMap,ki=new WeakSet,jo=function(){var t,e;this.setAttribute("backdrop","");const r=(e=(t=this._modals)==null?void 0:t.filter(o=>!o.isClosing).reverse())!=null?e:[];r?.forEach((o,i)=>{o.index=i,o.transitionDuration=this.transitionDurationMS}),r?.forEach(o=>{var i;const s=r?.filter(n=>n.constructor.name===o.constructor.name);o.uniqueIndex=(i=s?.indexOf(o))!=null?i:0})},zi=new WeakSet,Vo=function(){requestAnimationFrame(()=>{var t,e,r,o,i,s,n,u;let c=0;const d=(e=(t=this._sidebars)==null?void 0:t.filter(x=>!x.isClosing).reverse())!=null?e:[];for(let x=0;x<d.length;x++){const _=d[x],b=d[x+1];if(_.style.setProperty("--uui-modal-offset",c+"px"),b?.hasAttribute("hide"))break;const y=(i=(o=(r=_.shadowRoot)==null?void 0:r.querySelector("dialog"))==null?void 0:o.getBoundingClientRect().width)!=null?i:0,w=(u=(n=(s=b?.shadowRoot)==null?void 0:s.querySelector("dialog"))==null?void 0:n.getBoundingClientRect().width)!=null?u:0,$=y+c+this.sidebarGap-w;c=$>0?$:0}})},Ne.styles=h`
3829
+ `],Va([a({reflect:!0})],Kt.prototype,"size",2),Kt=Va([io("uui-modal-sidebar")],Kt);var S0=Object.defineProperty,k0=Object.getOwnPropertyDescriptor,Xt=(t,e,r,o)=>{for(var i=o>1?void 0:o?k0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&S0(e,r,i),i},qa=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Wa=(t,e,r)=>(qa(t,e,"read from private field"),r?r.call(t):e.get(t)),Ci=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},Oi=(t,e,r)=>(qa(t,e,"access private method"),r),Mo,jo,Si,Vo,ki,Bo;let Te=class extends v{constructor(){super(),Ci(this,Si),Ci(this,ki),this.sidebarGap=64,this.transitionDurationMS=250,Ci(this,Mo,()=>{var t,e;if(this._modals=(e=(t=this.modalSlot)==null?void 0:t.assignedElements({flatten:!0}).filter(r=>r instanceof Y))!=null?e:[],this._sidebars=this._modals.filter(r=>r instanceof Kt),this._modals.length===0){this.removeAttribute("backdrop");return}Oi(this,Si,Vo).call(this),Oi(this,ki,Bo).call(this)}),Ci(this,jo,()=>{if(!this._modals||this._modals.length<=1){this.removeAttribute("backdrop");return}Oi(this,Si,Vo).call(this),Oi(this,ki,Bo).call(this)}),this.addEventListener("close",Wa(this,jo))}firstUpdated(t){super.firstUpdated(t),this.style.setProperty("--uui-modal-transition-duration",this.transitionDurationMS+"ms")}render(){return l`<slot @slotchange=${Wa(this,Mo)}></slot>`}};Mo=new WeakMap,jo=new WeakMap,Si=new WeakSet,Vo=function(){var t,e;this.setAttribute("backdrop","");const r=(e=(t=this._modals)==null?void 0:t.filter(o=>!o.isClosing).reverse())!=null?e:[];r?.forEach((o,i)=>{o.index=i,o.transitionDuration=this.transitionDurationMS}),r?.forEach(o=>{var i;const s=r?.filter(n=>n.constructor.name===o.constructor.name);o.uniqueIndex=(i=s?.indexOf(o))!=null?i:0})},ki=new WeakSet,Bo=function(){requestAnimationFrame(()=>{var t,e,r,o,i,s,n,u;let c=0;const h=(e=(t=this._sidebars)==null?void 0:t.filter(m=>!m.isClosing).reverse())!=null?e:[];for(let m=0;m<h.length;m++){const y=h[m],b=h[m+1];if(y.style.setProperty("--uui-modal-offset",c+"px"),b?.hasAttribute("hide"))break;const w=(i=(o=(r=y.shadowRoot)==null?void 0:r.querySelector("dialog"))==null?void 0:o.getBoundingClientRect().width)!=null?i:0,$=(u=(n=(s=b?.shadowRoot)==null?void 0:s.querySelector("dialog"))==null?void 0:n.getBoundingClientRect().width)!=null?u:0,E=w+c+this.sidebarGap-$;c=E>0?E:0}})},Te.styles=d`
3652
3830
  :host {
3653
3831
  position: fixed;
3654
3832
  --uui-modal-color-backdrop: rgba(0, 0, 0, 0.5);
@@ -3665,11 +3843,11 @@
3665
3843
  :host([backdrop])::after {
3666
3844
  opacity: 1;
3667
3845
  }
3668
- `,Kt([C("slot")],Ne.prototype,"modalSlot",2),Kt([f()],Ne.prototype,"_modals",2),Kt([f()],Ne.prototype,"_sidebars",2),Kt([a({type:Number})],Ne.prototype,"sidebarGap",2),Kt([a({type:Number})],Ne.prototype,"transitionDurationMS",2),Ne=Kt([io("uui-modal-container")],Ne);var g0=Object.defineProperty,m0=Object.getOwnPropertyDescriptor,_0=(t,e,r,o)=>{for(var i=o>1?void 0:o?m0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&g0(e,r,i),i};let Ii=class extends Y{render(){return l`
3846
+ `,Xt([C("slot")],Te.prototype,"modalSlot",2),Xt([f()],Te.prototype,"_modals",2),Xt([f()],Te.prototype,"_sidebars",2),Xt([a({type:Number})],Te.prototype,"sidebarGap",2),Xt([a({type:Number})],Te.prototype,"transitionDurationMS",2),Te=Xt([io("uui-modal-container")],Te);var z0=Object.defineProperty,I0=Object.getOwnPropertyDescriptor,A0=(t,e,r,o)=>{for(var i=o>1?void 0:o?I0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&z0(e,r,i),i};let zi=class extends Y{render(){return l`
3669
3847
  <dialog>
3670
3848
  <slot></slot>
3671
3849
  </dialog>
3672
- `}};Ii.styles=[...Y.styles,h`
3850
+ `}};zi.styles=[...Y.styles,d`
3673
3851
  dialog {
3674
3852
  margin: auto;
3675
3853
  max-width: 100%;
@@ -3682,7 +3860,7 @@
3682
3860
  :host(:not([index='0'])) dialog {
3683
3861
  outline: 1px solid rgba(0, 0, 0, 0.1);
3684
3862
  }
3685
- `],Ii=_0([io("uui-modal-dialog")],Ii);var y0=Object.defineProperty,Va=Object.getOwnPropertySymbols,w0=Object.prototype.hasOwnProperty,x0=Object.prototype.propertyIsEnumerable,Ba=(t,e,r)=>e in t?y0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ra=(t,e)=>{for(var r in e||(e={}))w0.call(e,r)&&Ba(t,r,e[r]);if(Va)for(var r of Va(e))x0.call(e,r)&&Ba(t,r,e[r]);return t};class Fe extends O{constructor(e,r={}){super(e,Ra(Ra({},{bubbles:!0}),r))}}Fe.CHANGE="change";var $0=Object.defineProperty,E0=Object.getOwnPropertyDescriptor,He=(t,e,r,o)=>{for(var i=o>1?void 0:o?E0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&$0(e,r,i),i};const P0=45,Bo=(t,e,r)=>Math.min(Math.max(t,e),r),C0=(t,e)=>Array.from({length:e-t+1},(r,o)=>t+o);let ne=class extends v{constructor(){super(...arguments),this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this._total=100,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),m(this,"uui-button"),m(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(t){(t.has("current")||t.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const t=this.offsetWidth,e=Array.from(this._navButtons).reduce((i,s)=>i+s.getBoundingClientRect().width,0),o=(t-e)/P0/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(t){const e=t<this._range?1:t<this.total-this._range?t-this._range:this.total-this._range*2,r=t<=this._range?this._range*2+1:t<this.total-this._range?t+this._range:this.total;return C0(Bo(e,1,this.total),Bo(r,1,this.total))}get total(){return this._total}set total(t){this._total=t,this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("total",t)}get current(){return this._current}set current(t){const e=this._current;this._current=Bo(t,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",e)}goToNextPage(){this.current++,this.dispatchEvent(new Fe(Fe.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new Fe(Fe.CHANGE))}goToPage(t){this.current=t,this.dispatchEvent(new Fe(Fe.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const t=this.renderRoot.querySelector(".active");t&&t.focus()})}renderFirst(){return l`<uui-button
3863
+ `],zi=A0([io("uui-modal-dialog")],zi);var U0=Object.defineProperty,Ka=Object.getOwnPropertySymbols,D0=Object.prototype.hasOwnProperty,L0=Object.prototype.propertyIsEnumerable,Xa=(t,e,r)=>e in t?U0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ya=(t,e)=>{for(var r in e||(e={}))D0.call(e,r)&&Xa(t,r,e[r]);if(Ka)for(var r of Ka(e))L0.call(e,r)&&Xa(t,r,e[r]);return t};class Ge extends O{constructor(e,r={}){super(e,Ya(Ya({},{bubbles:!0}),r))}}Ge.CHANGE="change";var N0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,Me=(t,e,r,o)=>{for(var i=o>1?void 0:o?H0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&N0(e,r,i),i};const T0=45,Ro=(t,e,r)=>Math.min(Math.max(t,e),r),M0=(t,e)=>Array.from({length:e-t+1},(r,o)=>t+o);let ae=class extends v{constructor(){super(...arguments),this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this._total=100,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),_(this,"uui-button"),_(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(t){(t.has("current")||t.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const t=this.offsetWidth,e=Array.from(this._navButtons).reduce((i,s)=>i+s.getBoundingClientRect().width,0),o=(t-e)/T0/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(t){const e=t<this._range?1:t<this.total-this._range?t-this._range:this.total-this._range*2,r=t<=this._range?this._range*2+1:t<this.total-this._range?t+this._range:this.total;return M0(Ro(e,1,this.total),Ro(r,1,this.total))}get total(){return this._total}set total(t){this._total=t,this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("total",t)}get current(){return this._current}set current(t){const e=this._current;this._current=Ro(t,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",e)}goToNextPage(){this.current++,this.dispatchEvent(new Ge(Ge.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new Ge(Ge.CHANGE))}goToPage(t){this.current=t,this.dispatchEvent(new Ge(Ge.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const t=this.renderRoot.querySelector(".active");t&&t.focus()})}renderFirst(){return l`<uui-button
3686
3864
  compact
3687
3865
  look="outline"
3688
3866
  class="nav"
@@ -3744,7 +3922,7 @@
3744
3922
  ${this._visiblePages.map(t=>this.renderPage(t))}
3745
3923
  ${this.renderNavigationRight()}
3746
3924
  </uui-button-group>
3747
- `}};ne.styles=[h`
3925
+ `}};ae.styles=[d`
3748
3926
  uui-button-group {
3749
3927
  width: 100%;
3750
3928
  }
@@ -3774,7 +3952,7 @@
3774
3952
  .active {
3775
3953
  pointer-events: none;
3776
3954
  }
3777
- `],He([Ll("uui-button.nav")],ne.prototype,"_navButtons",2),He([C("#pages")],ne.prototype,"_pagesGroup",2),He([a()],ne.prototype,"label",2),He([a({reflect:!0,attribute:"aria-label"})],ne.prototype,"ariaLabel",2),He([a({type:Number})],ne.prototype,"total",1),He([f()],ne.prototype,"_range",2),He([f()],ne.prototype,"_visiblePages",2),He([a({type:Number})],ne.prototype,"current",1),ne=He([p("uui-pagination")],ne);class Ro extends O{}Ro.CLOSE="close";var O0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,$r=(t,e,r,o)=>{for(var i=o>1?void 0:o?S0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&O0(e,r,i),i};function Ai(t,e,r){return t<e?e:t>r?r:t}let Ge=class extends v{constructor(){super(...arguments),this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=t=>{this._trigger=t.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=t=>{t.forEach(e=>{e.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onKeyUp=t=>{if(t.key==="Escape"){this._triggerPopoverClose();return}},this._onDocumentClick=t=>{t.composedPath().includes(this)||this._triggerPopoverClose()}}get placement(){return this._placement}set placement(t){const e=this._placement;this._placement=t||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",e)}get open(){return this._open}set open(t){const e=this._open;this._open=t,t?this._openPopover():this._closePopover(),this.requestUpdate("open",e)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),document.addEventListener("keyup",this._onKeyUp),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),this._currentPlacement=null}_triggerPopoverClose(){const t=new Ro(Ro.CLOSE,{cancelable:!0});this.dispatchEvent(t),!t.defaultPrevented&&(this.open=!1)}_getScrollParents(){const t=this.shadowRoot.host;let e=getComputedStyle(t);if(e.position==="fixed")return;const r=e.position==="absolute",o=/(auto|scroll)/;let i=t;for(;i=i.parentElement;)if(e=getComputedStyle(i),!(r&&e.position==="static")&&(o.test(e.overflow+e.overflowY+e.overflowX)&&this._scrollParents.push(i),e.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const t={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,t),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(t=>{t.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(t=>{t.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){var t,e;if(!this.shadowRoot)return;const r=this.containerElement;if(!r)return;const o=(t=this.containerElement)==null?void 0:t.getBoundingClientRect(),i=(e=this._trigger)==null?void 0:e.getBoundingClientRect();if(i!=null&&o!=null){const s=this._scrollParents.map(pe=>pe.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,o,s));let n=this._currentPlacement.indexOf("top")!==-1,u=this._currentPlacement.indexOf("bottom")!==-1,c=this._currentPlacement.indexOf("left")!==-1,d=this._currentPlacement.indexOf("right")!==-1;const x=this._currentPlacement.indexOf("-start")!==-1,_=this._currentPlacement.indexOf("-end")!==-1;let b=.5,y=.5,w=.5,$=.5,q=0,Ke=0;if(this.placement==="auto"){const pe=this._scrollParents[0],ir=pe.clientWidth,Ze=pe.clientHeight,wt=i.x-o.width,xt=ir-(i.x+i.width)-o.width,qi=i.y-o.height,Vr=Ze-(i.y+i.height)-o.height;let Br=.5,Rr=.5;const Cl=Math.max(wt,xt);let Yo=Math.max(qi,Vr);Vr>qi&&Vr>this.margin&&(Yo+=9999),Cl>Yo?(wt>xt?(Br=0,c=!0):(Br=1,d=!0),q=this.margin):(qi>Vr?(Rr=0,n=!0):(Rr=1,u=!0),Ke=this.margin),b=Br,y=Rr,w=1-Br,$=1-Rr}else n&&($=1,y=0),u&&($=0,y=1),(n||u)&&(Ke=this.margin,x&&(w=0,b=0),_&&(w=1,b=1)),c&&(w=1,b=0),d&&(w=0,b=1),(c||d)&&(q=this.margin,x&&($=0,y=0),_&&($=1,y=1));const yt=-o.width*w+i.width*b-q*(w*2-1),Gi=-o.height*$+i.height*y-Ke*($*2-1);let Xe=yt,Ye=Gi;n||u?(this._scrollParents.forEach((pe,ir)=>{const Ze=pe===document.body?0:s[ir].x,wt=-i.x+Ze,xt=pe.clientWidth-i.x-i.width+yt+Ze-(o.width-i.width)*(1-b);Xe=Ai(Xe,wt,xt)}),Xe=Ai(Xe,-o.width,i.width)):(c||d)&&(this._scrollParents.forEach((pe,ir)=>{const Ze=pe===document.body?0:s[ir].y,wt=-i.y+Ze,xt=pe.clientHeight-i.y-i.height+Gi+Ze-(o.height-i.height)*(1-y);Ye=Ai(Ye,wt,xt)}),Ye=Ai(Ye,-o.height,i.height)),(this._positionX!==Xe||this._positionY!==Ye)&&(this._positionX=Xe,this._positionY=Ye,yt===Xe&&Gi===Ye&&this._stopScrollListener(),r.style.left=`${this._positionX}px`,r.style.top=`${this._positionY}px`)}}_managePlacementFlip(t,e,r){const i=t.split("-"),s=i[0],n=i[1]||null;let u;return this._scrollParents.some((c,d)=>{const x=c===document.body?0:r[d].x,_=c===document.body?0:r[d].y;return s==="top"&&e.y-2<=_?(u="bottom",!0):s==="bottom"&&e.y+e.height+2>=c.clientHeight+_?(u="top",!0):s==="left"&&e.x-2<=x?(u="right",!0):s==="right"&&e.x+e.width+2>=c.clientWidth+x?(u="left",!0):!1}),u?(this._startScrollListener(),u+(n?`-${n}`:"")):t}render(){return l`
3955
+ `],Me([Fl("uui-button.nav")],ae.prototype,"_navButtons",2),Me([C("#pages")],ae.prototype,"_pagesGroup",2),Me([a()],ae.prototype,"label",2),Me([a({reflect:!0,attribute:"aria-label"})],ae.prototype,"ariaLabel",2),Me([a({type:Number})],ae.prototype,"total",1),Me([f()],ae.prototype,"_range",2),Me([f()],ae.prototype,"_visiblePages",2),Me([a({type:Number})],ae.prototype,"current",1),ae=Me([p("uui-pagination")],ae);class Fo extends O{}Fo.CLOSE="close";var j0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,Pr=(t,e,r,o)=>{for(var i=o>1?void 0:o?V0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&j0(e,r,i),i};function Ii(t,e,r){return t<e?e:t>r?r:t}let qe=class extends v{constructor(){super(...arguments),this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=t=>{this._trigger=t.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=t=>{t.forEach(e=>{e.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onKeyUp=t=>{if(t.key==="Escape"){this._triggerPopoverClose();return}},this._onDocumentClick=t=>{t.composedPath().includes(this)||this._triggerPopoverClose()}}get placement(){return this._placement}set placement(t){const e=this._placement;this._placement=t||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",e)}get open(){return this._open}set open(t){const e=this._open;this._open=t,t?this._openPopover():this._closePopover(),this.requestUpdate("open",e)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),document.addEventListener("keyup",this._onKeyUp),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("keyup",this._onKeyUp),this._currentPlacement=null}_triggerPopoverClose(){const t=new Fo(Fo.CLOSE,{cancelable:!0});this.dispatchEvent(t),!t.defaultPrevented&&(this.open=!1)}_getScrollParents(){const t=this.shadowRoot.host;let e=getComputedStyle(t);if(e.position==="fixed")return;const r=e.position==="absolute",o=/(auto|scroll)/;let i=t;for(;i=i.parentElement;)if(e=getComputedStyle(i),!(r&&e.position==="static")&&(o.test(e.overflow+e.overflowY+e.overflowX)&&this._scrollParents.push(i),e.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const t={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,t),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(t=>{t.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(t=>{t.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){var t,e;if(!this.shadowRoot)return;const r=this.containerElement;if(!r)return;const o=(t=this.containerElement)==null?void 0:t.getBoundingClientRect(),i=(e=this._trigger)==null?void 0:e.getBoundingClientRect();if(i!=null&&o!=null){const s=this._scrollParents.map(pe=>pe.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,o,s));let n=this._currentPlacement.indexOf("top")!==-1,u=this._currentPlacement.indexOf("bottom")!==-1,c=this._currentPlacement.indexOf("left")!==-1,h=this._currentPlacement.indexOf("right")!==-1;const m=this._currentPlacement.indexOf("-start")!==-1,y=this._currentPlacement.indexOf("-end")!==-1;let b=.5,w=.5,$=.5,E=.5,q=0,Xe=0;if(this.placement==="auto"){const pe=this._scrollParents[0],sr=pe.clientWidth,Qe=pe.clientHeight,wt=i.x-o.width,xt=sr-(i.x+i.width)-o.width,Gi=i.y-o.height,Br=Qe-(i.y+i.height)-o.height;let Rr=.5,Fr=.5;const Ll=Math.max(wt,xt);let Jo=Math.max(Gi,Br);Br>Gi&&Br>this.margin&&(Jo+=9999),Ll>Jo?(wt>xt?(Rr=0,c=!0):(Rr=1,h=!0),q=this.margin):(Gi>Br?(Fr=0,n=!0):(Fr=1,u=!0),Xe=this.margin),b=Rr,w=Fr,$=1-Rr,E=1-Fr}else n&&(E=1,w=0),u&&(E=0,w=1),(n||u)&&(Xe=this.margin,m&&($=0,b=0),y&&($=1,b=1)),c&&($=1,b=0),h&&($=0,b=1),(c||h)&&(q=this.margin,m&&(E=0,w=0),y&&(E=1,w=1));const yt=-o.width*$+i.width*b-q*($*2-1),Fi=-o.height*E+i.height*w-Xe*(E*2-1);let Ye=yt,Ze=Fi;n||u?(this._scrollParents.forEach((pe,sr)=>{const Qe=pe===document.body?0:s[sr].x,wt=-i.x+Qe,xt=pe.clientWidth-i.x-i.width+yt+Qe-(o.width-i.width)*(1-b);Ye=Ii(Ye,wt,xt)}),Ye=Ii(Ye,-o.width,i.width)):(c||h)&&(this._scrollParents.forEach((pe,sr)=>{const Qe=pe===document.body?0:s[sr].y,wt=-i.y+Qe,xt=pe.clientHeight-i.y-i.height+Fi+Qe-(o.height-i.height)*(1-w);Ze=Ii(Ze,wt,xt)}),Ze=Ii(Ze,-o.height,i.height)),(this._positionX!==Ye||this._positionY!==Ze)&&(this._positionX=Ye,this._positionY=Ze,yt===Ye&&Fi===Ze&&this._stopScrollListener(),r.style.left=`${this._positionX}px`,r.style.top=`${this._positionY}px`)}}_managePlacementFlip(t,e,r){const i=t.split("-"),s=i[0],n=i[1]||null;let u;return this._scrollParents.some((c,h)=>{const m=c===document.body?0:r[h].x,y=c===document.body?0:r[h].y;return s==="top"&&e.y-2<=y?(u="bottom",!0):s==="bottom"&&e.y+e.height+2>=c.clientHeight+y?(u="top",!0):s==="left"&&e.x-2<=m?(u="right",!0):s==="right"&&e.x+e.width+2>=c.clientWidth+m?(u="left",!0):!1}),u?(this._startScrollListener(),u+(n?`-${n}`:"")):t}render(){return l`
3778
3956
  <slot
3779
3957
  id="trigger"
3780
3958
  name="trigger"
@@ -3782,7 +3960,7 @@
3782
3960
  <div id="container">
3783
3961
  ${this._open?l`<slot name="popover"></slot>`:""}
3784
3962
  </div>
3785
- `}};Ge.styles=[h`
3963
+ `}};qe.styles=[d`
3786
3964
  :host {
3787
3965
  position: relative;
3788
3966
  display: inline-block;
@@ -3809,9 +3987,9 @@
3809
3987
  --uui-popover-toggle-slot-button-merge-border-left
3810
3988
  );
3811
3989
  }
3812
- `],$r([C("#container")],Ge.prototype,"containerElement",2),$r([a({type:Number})],Ge.prototype,"margin",2),$r([a({type:String,reflect:!0})],Ge.prototype,"placement",1),$r([a({type:Boolean,reflect:!0})],Ge.prototype,"open",1),Ge=$r([p("uui-popover")],Ge);var k0=Object.defineProperty,z0=Object.getOwnPropertyDescriptor,Fa=(t,e,r,o)=>{for(var i=o>1?void 0:o?z0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&k0(e,r,i),i};const I0=(t,e,r)=>Math.min(Math.max(t,e),r);let Er=class extends v{constructor(){super(...arguments),this._progress=0}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=I0(t,0,100),this.requestUpdate("progress",e)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return l`
3990
+ `],Pr([C("#container")],qe.prototype,"containerElement",2),Pr([a({type:Number})],qe.prototype,"margin",2),Pr([a({type:String,reflect:!0})],qe.prototype,"placement",1),Pr([a({type:Boolean,reflect:!0})],qe.prototype,"open",1),qe=Pr([p("uui-popover")],qe);var B0=Object.defineProperty,R0=Object.getOwnPropertyDescriptor,Za=(t,e,r,o)=>{for(var i=o>1?void 0:o?R0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&B0(e,r,i),i};const F0=(t,e,r)=>Math.min(Math.max(t,e),r);let Cr=class extends v{constructor(){super(...arguments),this._progress=0}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=F0(t,0,100),this.requestUpdate("progress",e)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return l`
3813
3991
  <div id="bar" style=${ge(this._getProgressStyle())}></div>
3814
- `}};Er.styles=[h`
3992
+ `}};Cr.styles=[d`
3815
3993
  :host {
3816
3994
  width: 100%;
3817
3995
  height: 4px;
@@ -3824,11 +4002,11 @@
3824
4002
 
3825
4003
  #bar {
3826
4004
  transition: width 250ms ease;
3827
- background: var(--uui-color-positive,#25aa60);
4005
+ background: var(--uui-color-positive,#1f9554);
3828
4006
  height: 100%;
3829
4007
  width: 0%;
3830
4008
  }
3831
- `],Fa([a({type:Number})],Er.prototype,"progress",1),Er=Fa([p("uui-progress-bar")],Er);var A0=Object.defineProperty,Ga=Object.getOwnPropertySymbols,U0=Object.prototype.hasOwnProperty,D0=Object.prototype.propertyIsEnumerable,qa=(t,e,r)=>e in t?A0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Wa=(t,e)=>{for(var r in e||(e={}))U0.call(e,r)&&qa(t,r,e[r]);if(Ga)for(var r of Ga(e))D0.call(e,r)&&qa(t,r,e[r]);return t};class Xt extends O{constructor(e,r={}){super(e,Wa(Wa({},{bubbles:!0}),r))}}Xt.CHANGE="change";var L0=Object.defineProperty,N0=Object.getOwnPropertyDescriptor,mt=(t,e,r,o)=>{for(var i=o>1?void 0:o?N0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&L0(e,r,i),i};let he=class extends v{constructor(){super(),this.name="",this.value="",this.label="",this._checked=!1,this._disabled=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","1")})}get checked(){return this._checked}set checked(t){const e=this._checked;this._checked=t,t===!0?(this.setAttribute("aria-checked",""),this.disabled||this.setAttribute("tabindex","0")):(this.setAttribute("tabindex","-1"),this.removeAttribute("aria-checked")),this.requestUpdate("checked",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-hidden",t?"true":"false"),this.setAttribute("tabindex",t?"-1":"0"),this.requestUpdate("disabled",e)}focus(){this.inputElement.focus()}click(){this.inputElement.click()}_onChange(t){t.stopPropagation();const e=this.inputElement.checked;this.checked=e,e&&this.focus(),this.dispatchEvent(new Xt(Xt.CHANGE))}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.setAttribute("tabindex","0")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this.hasAttribute("aria-checked")||this.removeAttribute("aria-checked")}render(){return l` <label>
4009
+ `],Za([a({type:Number})],Cr.prototype,"progress",1),Cr=Za([p("uui-progress-bar")],Cr);var G0=Object.defineProperty,Qa=Object.getOwnPropertySymbols,q0=Object.prototype.hasOwnProperty,W0=Object.prototype.propertyIsEnumerable,Ja=(t,e,r)=>e in t?G0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,el=(t,e)=>{for(var r in e||(e={}))q0.call(e,r)&&Ja(t,r,e[r]);if(Qa)for(var r of Qa(e))W0.call(e,r)&&Ja(t,r,e[r]);return t};class Yt extends O{constructor(e,r={}){super(e,el(el({},{bubbles:!0}),r))}}Yt.CHANGE="change";var K0=Object.defineProperty,X0=Object.getOwnPropertyDescriptor,mt=(t,e,r,o)=>{for(var i=o>1?void 0:o?X0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&K0(e,r,i),i},Y0=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},tl=(t,e,r)=>(Y0(t,e,"read from private field"),r?r.call(t):e.get(t)),rl=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},Go,qo;let he=class extends v{constructor(){super(),this.name="",this.value="",this.label="",this._checked=!1,this._disabled=!1,rl(this,Go,()=>{this.style.setProperty("--uui-show-focus-outline","1")}),rl(this,qo,()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("mousedown",tl(this,qo)),this.addEventListener("blur",tl(this,Go))}get checked(){return this._checked}set checked(t){const e=this._checked;this._checked=t,t===!0?(this.setAttribute("aria-checked",""),this.disabled||this.setAttribute("tabindex","0")):(this.setAttribute("tabindex","-1"),this.removeAttribute("aria-checked")),this.requestUpdate("checked",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-hidden",t?"true":"false"),this.setAttribute("tabindex",t?"-1":"0"),this.requestUpdate("disabled",e)}focus(){this.inputElement.focus()}click(){this.inputElement.click()}_onChange(t){t.stopPropagation();const e=this.inputElement.checked;this.checked=e,e&&this.focus(),this.dispatchEvent(new Yt(Yt.CHANGE))}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.setAttribute("tabindex","0")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this.hasAttribute("aria-checked")||this.removeAttribute("aria-checked")}render(){return l` <label>
3832
4010
  <input
3833
4011
  id="input"
3834
4012
  type="radio"
@@ -3841,7 +4019,7 @@
3841
4019
  <div id="label">
3842
4020
  ${this.label?l`<span>${this.label}</span>`:l`<slot></slot>`}
3843
4021
  </div>
3844
- </label>`}};he.styles=[ii,h`
4022
+ </label>`}};Go=new WeakMap,qo=new WeakMap,he.styles=[ri,d`
3845
4023
  :host {
3846
4024
  display: block;
3847
4025
  box-sizing: border-box;
@@ -3946,7 +4124,7 @@
3946
4124
  }
3947
4125
 
3948
4126
  :host([disabled]:active) #button {
3949
- animation: ${oi};
4127
+ animation: ${ii};
3950
4128
  }
3951
4129
 
3952
4130
  @media (prefers-reduced-motion) {
@@ -3958,7 +4136,7 @@
3958
4136
  transition: none;
3959
4137
  }
3960
4138
  }
3961
- `],mt([C("#input")],he.prototype,"inputElement",2),mt([a({type:String})],he.prototype,"name",2),mt([a({type:String})],he.prototype,"value",2),mt([a({type:String})],he.prototype,"label",2),mt([a({type:Boolean,reflect:!0})],he.prototype,"checked",1),mt([a({type:Boolean,reflect:!0})],he.prototype,"disabled",1),he=mt([p("uui-radio")],he);var H0=Object.defineProperty,Ka=Object.getOwnPropertySymbols,M0=Object.prototype.hasOwnProperty,T0=Object.prototype.propertyIsEnumerable,Xa=(t,e,r)=>e in t?H0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ya=(t,e)=>{for(var r in e||(e={}))M0.call(e,r)&&Xa(t,r,e[r]);if(Ka)for(var r of Ka(e))T0.call(e,r)&&Xa(t,r,e[r]);return t};class Ui extends O{constructor(e,r={}){super(e,Ya(Ya({},{bubbles:!0}),r))}}Ui.CHANGE="change";var j0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,Za=(t,e,r,o)=>{for(var i=o>1?void 0:o?V0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&j0(e,r,i),i};const B0="ArrowLeft",R0="ArrowUp",F0="ArrowRight",G0="ArrowDown",q0=" ";let Yt=class extends fe(v){constructor(){super(),this.disabled=!1,this._selected=null,this._radioElements=[],this._onChildBlur=()=>{this.pristine=!1},this._handleSelectOnClick=t=>{t.target.checked===!0&&(this.value=t.target.value,this._fireChangeEvent())},this.addEventListener("keydown",this._onKeydown),this.addEventListener("keypress",this._onKeypress),this.updateComplete.then(()=>{this._updateRadioElementsCheckedState(this.value)})}get value(){return this._value}set value(t){super.value=t,(t===null||t==="")&&this._makeFirstEnabledFocusable(),this._updateRadioElementsCheckedState(t)}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}focus(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.focus():(e=this._findNextEnabledElement())==null||e.focus()}click(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.click():(e=this._findNextEnabledElement())==null||e.click()}getFormElement(){if(this._radioElements&&this._selected)return this._radioElements[this._selected]}_setNameOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.name=t)}_updateRadioElementsCheckedState(t){this._radioElements.forEach((e,r)=>{e.value===t?(e.checked=!0,this._selected=r):e.checked=!1})}_setDisableOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.disabled=t)}_handleSlotChange(t){var e;if(t.stopPropagation(),(e=this._radioElements)==null||e.forEach(o=>{o.removeEventListener(Xt.CHANGE,this._handleSelectOnClick),o.removeEventListener("blur",this._onChildBlur)}),this._selected=null,this._radioElements=t.target.assignedElements({flatten:!0}).filter(o=>o instanceof he),this._radioElements.length===0)return;this._radioElements.forEach(o=>{o.addEventListener(Xt.CHANGE,this._handleSelectOnClick),o.addEventListener("blur",this._onChildBlur)}),this._setNameOnRadios(this.name),this.disabled&&this._setDisableOnRadios(!0);const r=this._radioElements.filter(o=>o.checked===!0);r.length>1&&(this._radioElements.forEach(o=>{o.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),r.length===1?(this.value=r[0].value,this._selected=this._radioElements.indexOf(r[0]),r[0].disabled===!1?(this._radioElements.forEach(o=>{o.makeUnfocusable()}),r[0].makeFocusable()):this._makeFirstEnabledFocusable()):this._makeFirstEnabledFocusable()}_makeFirstEnabledFocusable(){var t,e;this._selected=null,(t=this._radioElements)==null||t.forEach(r=>{r.makeUnfocusable()}),(e=this._findNextEnabledElement())==null||e.makeFocusable()}_findNextEnabledElement(t=1){if(!this._radioElements)return null;const e=this._selected||0,r=this._radioElements.length;let o=this._selected===null?0:1;for(;o<r;){let i=(e+o*t)%r;if(i<0&&(i+=r),this._radioElements[i].disabled===!1)return this._radioElements[i];o++}return null}_selectPreviousElement(){var t,e;this.value=((t=this._findNextEnabledElement(-1))==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_selectNextElement(){var t,e;this.value=((t=this._findNextEnabledElement())==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_onKeydown(t){var e;switch(t.key){case B0:case R0:{t.preventDefault(),this._selectPreviousElement();break}case F0:case G0:{t.preventDefault(),this._selectNextElement();break}case q0:this._selected===null&&(this.value=(e=this._findNextEnabledElement())==null?void 0:e.value,this._fireChangeEvent())}}_onKeypress(t){t.key=="Enter"&&this.submit()}_fireChangeEvent(){this.pristine=!1,this.dispatchEvent(new Ui(Ui.CHANGE))}updated(t){super.updated(t),t.has("disabled")&&this._setDisableOnRadios(this.disabled),t.has("name")&&this._setNameOnRadios(t.get("name"))}render(){return l` <slot @slotchange=${this._handleSlotChange}></slot> `}};Yt.formAssociated=!0,Yt.styles=[h`
4139
+ `],mt([C("#input")],he.prototype,"inputElement",2),mt([a({type:String})],he.prototype,"name",2),mt([a({type:String})],he.prototype,"value",2),mt([a({type:String})],he.prototype,"label",2),mt([a({type:Boolean,reflect:!0})],he.prototype,"checked",1),mt([a({type:Boolean,reflect:!0})],he.prototype,"disabled",1),he=mt([p("uui-radio")],he);var Z0=Object.defineProperty,il=Object.getOwnPropertySymbols,Q0=Object.prototype.hasOwnProperty,J0=Object.prototype.propertyIsEnumerable,ol=(t,e,r)=>e in t?Z0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sl=(t,e)=>{for(var r in e||(e={}))Q0.call(e,r)&&ol(t,r,e[r]);if(il)for(var r of il(e))J0.call(e,r)&&ol(t,r,e[r]);return t};class Ai extends O{constructor(e,r={}){super(e,sl(sl({},{bubbles:!0}),r))}}Ai.CHANGE="change";var e1=Object.defineProperty,t1=Object.getOwnPropertyDescriptor,nl=(t,e,r,o)=>{for(var i=o>1?void 0:o?t1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&e1(e,r,i),i};const r1="ArrowLeft",i1="ArrowUp",o1="ArrowRight",s1="ArrowDown",n1=" ";let Zt=class extends fe(v){constructor(){super(),this.disabled=!1,this._selected=null,this._radioElements=[],this._onChildBlur=()=>{this.pristine=!1},this._handleSelectOnClick=t=>{t.target.checked===!0&&(this.value=t.target.value,this._fireChangeEvent())},this.addEventListener("keydown",this._onKeydown),this.addEventListener("keypress",this._onKeypress),this.updateComplete.then(()=>{this._updateRadioElementsCheckedState(this.value)})}get value(){return this._value}set value(t){super.value=t,(t===null||t==="")&&this._makeFirstEnabledFocusable(),this._updateRadioElementsCheckedState(t)}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}focus(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.focus():(e=this._findNextEnabledElement())==null||e.focus()}click(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.click():(e=this._findNextEnabledElement())==null||e.click()}getFormElement(){if(this._radioElements&&this._selected)return this._radioElements[this._selected]}_setNameOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.name=t)}_updateRadioElementsCheckedState(t){this._radioElements.forEach((e,r)=>{e.value===t?(e.checked=!0,this._selected=r):e.checked=!1})}_setDisableOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.disabled=t)}_handleSlotChange(t){var e;if(t.stopPropagation(),(e=this._radioElements)==null||e.forEach(o=>{o.removeEventListener(Yt.CHANGE,this._handleSelectOnClick),o.removeEventListener("blur",this._onChildBlur)}),this._selected=null,this._radioElements=t.target.assignedElements({flatten:!0}).filter(o=>o instanceof he),this._radioElements.length===0)return;this._radioElements.forEach(o=>{o.addEventListener(Yt.CHANGE,this._handleSelectOnClick),o.addEventListener("blur",this._onChildBlur)}),this._setNameOnRadios(this.name),this.disabled&&this._setDisableOnRadios(!0);const r=this._radioElements.filter(o=>o.checked===!0);r.length>1&&(this._radioElements.forEach(o=>{o.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),r.length===1?(this.value=r[0].value,this._selected=this._radioElements.indexOf(r[0]),r[0].disabled===!1?(this._radioElements.forEach(o=>{o.makeUnfocusable()}),r[0].makeFocusable()):this._makeFirstEnabledFocusable()):this._makeFirstEnabledFocusable()}_makeFirstEnabledFocusable(){var t,e;this._selected=null,(t=this._radioElements)==null||t.forEach(r=>{r.makeUnfocusable()}),(e=this._findNextEnabledElement())==null||e.makeFocusable()}_findNextEnabledElement(t=1){if(!this._radioElements)return null;const e=this._selected||0,r=this._radioElements.length;let o=this._selected===null?0:1;for(;o<r;){let i=(e+o*t)%r;if(i<0&&(i+=r),this._radioElements[i].disabled===!1)return this._radioElements[i];o++}return null}_selectPreviousElement(){var t,e;this.value=((t=this._findNextEnabledElement(-1))==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_selectNextElement(){var t,e;this.value=((t=this._findNextEnabledElement())==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_onKeydown(t){var e;switch(t.key){case r1:case i1:{t.preventDefault(),this._selectPreviousElement();break}case o1:case s1:{t.preventDefault(),this._selectNextElement();break}case n1:this._selected===null&&(this.value=(e=this._findNextEnabledElement())==null?void 0:e.value,this._fireChangeEvent())}}_onKeypress(t){t.key=="Enter"&&this.submit()}_fireChangeEvent(){this.pristine=!1,this.dispatchEvent(new Ai(Ai.CHANGE))}updated(t){super.updated(t),t.has("disabled")&&this._setDisableOnRadios(this.disabled),t.has("name")&&this._setNameOnRadios(t.get("name"))}render(){return l` <slot @slotchange=${this._handleSlotChange}></slot> `}};Zt.formAssociated=!0,Zt.styles=[d`
3962
4140
  :host {
3963
4141
  display: inline-block;
3964
4142
  padding-right: 3px;
@@ -3971,7 +4149,7 @@
3971
4149
  :host(:not([pristine])[internals-invalid]) {
3972
4150
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
3973
4151
  }
3974
- `],Za([a({type:Boolean,reflect:!0})],Yt.prototype,"disabled",2),Yt=Za([p("uui-radio-group")],Yt);var W0=Object.defineProperty,Qa=Object.getOwnPropertySymbols,K0=Object.prototype.hasOwnProperty,X0=Object.prototype.propertyIsEnumerable,Ja=(t,e,r)=>e in t?W0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,el=(t,e)=>{for(var r in e||(e={}))K0.call(e,r)&&Ja(t,r,e[r]);if(Qa)for(var r of Qa(e))X0.call(e,r)&&Ja(t,r,e[r]);return t};class V extends O{constructor(e,r={}){super(e,el(el({},{bubbles:!0}),r))}}V.INPUT="input",V.CHANGE="change";var Y0=Object.defineProperty,Z0=Object.getOwnPropertyDescriptor,S=(t,e,r,o)=>{for(var i=o>1?void 0:o?Z0(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Y0(e,r,i),i},Q0=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},J0=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},e1=(t,e,r)=>(Q0(t,e,"access private method"),r),Fo,tl;const de=12,rl=24;let P=class extends fe(v){constructor(){super(),J0(this,Fo),this.disabled=!1,this.step=1,this.hideStepValues=!1,this.min=0,this.max=100,this._valueLow=0,this._valueHigh=100,this._trackWidth=0,this._currentThumbFocus="low",this._startPos=0,this._startLow=0,this._startHigh=0,this._onMouseDown=t=>{if(t.preventDefault(),this.disabled)return;window.addEventListener("mouseup",this._onMouseUp),window.addEventListener("mousemove",this._onMouseMove);const e=t.composedPath()[0],r=t.pageX;if(e==this._bothThumbsTarget?this._grabbingBoth=!0:this._grabbingBoth=!1,this._grabbingBoth){this._saveStartPoint(r,this.valueLow,this.valueHigh);return}this._moveThumb(r)},this._onMouseMove=t=>{t.preventDefault();const e=t.pageX,r=this._getValue(e);this._grabbingBoth?this._moveBoth(e):this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(r)),this.dispatchEvent(new V(V.INPUT))},this._onMouseUp=()=>{this._stop(),window.removeEventListener("mouseup",this._onMouseUp),window.removeEventListener("mousemove",this._onMouseMove)},this._onTouchStart=t=>{if(t.preventDefault(),this.disabled)return;window.addEventListener("touchend",this._onTouchEnd),window.addEventListener("touchmove",this._onTouchMove);const e=t.composedPath()[0],r=t.touches[0].pageX;if(e==this._bothThumbsTarget?this._grabbingBoth=!0:this._grabbingBoth=!1,this._grabbingBoth){this._saveStartPoint(r,this.valueLow,this.valueHigh);return}this._moveThumb(r)},this._onTouchMove=t=>{const e=t.touches[0].pageX,r=this._getValue(e);this._grabbingBoth?this._moveBoth(e):this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(r)),this.dispatchEvent(new V(V.INPUT))},this._onTouchEnd=()=>{this._stop(),window.removeEventListener("touchend",this._onTouchEnd),window.removeEventListener("touchmove",this._onTouchMove)},this.addEventListener("keypress",this._onKeypress),this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("touchstart",this._onTouchStart),this.addValidator("stepMismatch",()=>"Step property needs to be higher than 0",()=>this.step<=0),this.addValidator("stepMismatch",()=>"Maxmimum gap needs to be higher than minimum gap",()=>!!this.maxGap&&!!this.minGap&&this.maxGap<=this.minGap),this.addValidator("rangeUnderflow",()=>`The lower end value (${this.valueLow}) cannot be below the the minimum value setting (${this.min})`,()=>this.valueLow<this.min),this.addValidator("rangeOverflow",()=>`The higher end value (${this.valueHigh}) cannot be above the the maximum value setting (${this.max})`,()=>this.valueHigh>this.max)}get value(){return this._value}set value(t){if(t instanceof String){super.value=t;const e=t.split(",");this.valueLow=parseInt(e[0]),this.valueHigh=parseInt(e[1])}}set valueLow(t){const e=this._valueHigh;if(t<=this.min){this._valueLow=this.min,super.value=`${this.min},${this.valueHigh}`,this.requestUpdate("valueLow",e);return}if(t>=this.valueHigh-this.step){this._valueLow=this.valueHigh-this.step,super.value=`${this.valueHigh-this.step},${this.valueHigh}`,this.requestUpdate("valueLow",e);return}this._valueLow=t,super.value=`${t},${this.valueHigh}`,this.requestUpdate("valueLow",e)}get valueLow(){return this._valueLow}set valueHigh(t){const e=this._valueHigh;if(t>=this.max){this._valueHigh=this.max,super.value=`${this.valueLow},${this.max}`,this.requestUpdate("valueHigh",e);return}if(t<=this.valueLow+this.step){this._valueHigh=this.valueLow+this.step,super.value=`${this.valueLow},${this.valueLow+this.step}`,this.requestUpdate("valueHigh",e);return}this._valueHigh=t,super.value=`${this.valueLow},${t}`,this.requestUpdate("valueHigh",e)}get valueHigh(){return this._valueHigh}getFormElement(){return this._currentInputFocus?this._currentInputFocus:this._inputLow}focus(){this._currentInputFocus?this._currentInputFocus.focus():this._inputLow.focus()}_onKeypress(t){t.key=="Enter"&&this.submit()}_sliderLowThumbPosition(){const t=(this.valueLow-this.min)/(this.max-this.min);return`${Math.floor(t*1e5)/1e3}%`}_sliderHighThumbPosition(){const t=(this.valueHigh-this.min)/(this.max-this.min);return`${Math.floor(t*1e5)/1e3}%`}_fillColor(){const t=(this.valueLow-this.min)/(this.max-this.min)*100,e=(this.valueHigh-this.min)/(this.max-this.min)*100;this._innerColor.style.left=`${t}%`,this._innerColor.style.right=`${100-e}%`}_moveThumb(t){const e=this._getValue(t);e>=this.valueHigh&&this._setThumb(this._thumbHigh),e<=this.valueLow&&this._setThumb(this._thumbLow),this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(e))}_stop(){this._grabbingBoth=!1,this.pristine=!1,this.dispatchEvent(new V(V.CHANGE))}_setThumb(t){this._currentThumbFocus=t===this._thumbLow?"low":"high",this._currentThumbFocus==="low"?this._currentInputFocus=this._inputLow:this._currentInputFocus=this._inputHigh,this.focus()}_setValueBasedOnCurrentThumb(t){this._currentThumbFocus==="low"?this.valueLow=t:this.valueHigh=t}_getValue(t){const o=(t-this._innerTrack.getBoundingClientRect().left)/(this._trackWidth-de*2)*(this.max-this.min)+this.min;return Math.round(o/this.step)*this.step}_validateLowByMinGap(t){return!this.minGap||this.minGap<=this.step?t:t+this.minGap>=this.valueHigh?this.valueHigh-this.minGap:t}_validateLowByMaxGap(t){return this.maxGap&&this.valueHigh-t>=this.maxGap?this.valueHigh-this.maxGap:t}_validateHighByMinGap(t){return!this.minGap||this.minGap<=this.step?t:t<=this.valueLow+this.minGap?this.valueLow+this.minGap:t}_validateHighByMaxGap(t){return this.maxGap&&t>=this.valueLow+this.maxGap?this.valueLow+this.maxGap:t}_validateValueBasedOnCurrentThumb(t){if(this._currentThumbFocus=="low"){let r;return r=t<this.valueHigh-this.step?t:this.valueHigh-this.step,r=r>=this.min?r:this.min,r=this.minGap?this._validateLowByMinGap(r):r,r=this.maxGap?this._validateLowByMaxGap(r):r,r}let e;return e=t>this.valueLow+this.step?t:this.valueLow+this.step,e=e<=this.max?e:this.max,e=this.minGap?this._validateHighByMinGap(e):e,e=this.maxGap?this._validateHighByMaxGap(e):e,e}_saveStartPoint(t,e,r){this._startPos=t,this._startLow=e,this._startHigh=r}_moveBoth(t){const e=t-this._startPos,r=this.max-this.min,o=e/(this._trackWidth+de*2),i=Math.round(o*r/this.step)*this.step,s=this._startLow+i,n=this._startHigh+i,u=this._getValidatedValues(s,n);s===u.low&&n===u.high&&(this.valueLow=s,this.valueHigh=n,this.dispatchEvent(new V(V.INPUT)))}_getValidatedValues(t,e){const r=t>this.min?t:this.min,o=e<this.max?e:this.max;return{low:r,high:o}}_onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new V(V.CHANGE))}_onLowInput(t){t.stopPropagation();let e=parseInt(this._inputLow.value);e=this._validateLowByMinGap(e),e=this._validateLowByMaxGap(e),this._inputLow.value=String(e),this.valueLow=e,this.dispatchEvent(new V(V.INPUT))}_onHighInput(t){t.stopPropagation();let e=parseInt(this._inputHigh.value);e=this._validateHighByMinGap(e),e=this._validateHighByMaxGap(e),this._inputHigh.value=String(e),this.valueHigh=e,this.dispatchEvent(new V(V.INPUT))}connectedCallback(){super.connectedCallback(),e1(this,Fo,tl).call(this),window.addEventListener("resize",()=>{this._trackWidth=this._outerTrack.offsetWidth})}updated(t){super.updated(t),this._trackWidth=this._outerTrack.offsetWidth,this._fillColor()}render(){return l`
4152
+ `],nl([a({type:Boolean,reflect:!0})],Zt.prototype,"disabled",2),Zt=nl([p("uui-radio-group")],Zt);var a1=Object.defineProperty,al=Object.getOwnPropertySymbols,l1=Object.prototype.hasOwnProperty,u1=Object.prototype.propertyIsEnumerable,ll=(t,e,r)=>e in t?a1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ul=(t,e)=>{for(var r in e||(e={}))l1.call(e,r)&&ll(t,r,e[r]);if(al)for(var r of al(e))u1.call(e,r)&&ll(t,r,e[r]);return t};class V extends O{constructor(e,r={}){super(e,ul(ul({},{bubbles:!0}),r))}}V.INPUT="input",V.CHANGE="change";var c1=Object.defineProperty,h1=Object.getOwnPropertyDescriptor,S=(t,e,r,o)=>{for(var i=o>1?void 0:o?h1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&c1(e,r,i),i},d1=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},p1=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},v1=(t,e,r)=>(d1(t,e,"access private method"),r),Wo,cl;const de=12,hl=24;let P=class extends fe(v){constructor(){super(),p1(this,Wo),this.disabled=!1,this.step=1,this.hideStepValues=!1,this.min=0,this.max=100,this._valueLow=0,this._valueHigh=100,this._trackWidth=0,this._currentThumbFocus="low",this._startPos=0,this._startLow=0,this._startHigh=0,this._onMouseDown=t=>{if(t.preventDefault(),this.disabled)return;window.addEventListener("mouseup",this._onMouseUp),window.addEventListener("mousemove",this._onMouseMove);const e=t.composedPath()[0],r=t.pageX;if(e==this._bothThumbsTarget?this._grabbingBoth=!0:this._grabbingBoth=!1,this._grabbingBoth){this._saveStartPoint(r,this.valueLow,this.valueHigh);return}this._moveThumb(r)},this._onMouseMove=t=>{t.preventDefault();const e=t.pageX,r=this._getValue(e);this._grabbingBoth?this._moveBoth(e):this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(r)),this.dispatchEvent(new V(V.INPUT))},this._onMouseUp=()=>{this._stop(),window.removeEventListener("mouseup",this._onMouseUp),window.removeEventListener("mousemove",this._onMouseMove)},this._onTouchStart=t=>{if(t.preventDefault(),this.disabled)return;window.addEventListener("touchend",this._onTouchEnd),window.addEventListener("touchmove",this._onTouchMove);const e=t.composedPath()[0],r=t.touches[0].pageX;if(e==this._bothThumbsTarget?this._grabbingBoth=!0:this._grabbingBoth=!1,this._grabbingBoth){this._saveStartPoint(r,this.valueLow,this.valueHigh);return}this._moveThumb(r)},this._onTouchMove=t=>{const e=t.touches[0].pageX,r=this._getValue(e);this._grabbingBoth?this._moveBoth(e):this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(r)),this.dispatchEvent(new V(V.INPUT))},this._onTouchEnd=()=>{this._stop(),window.removeEventListener("touchend",this._onTouchEnd),window.removeEventListener("touchmove",this._onTouchMove)},this.addEventListener("keypress",this._onKeypress),this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("touchstart",this._onTouchStart),this.addValidator("stepMismatch",()=>"Step property needs to be higher than 0",()=>this.step<=0),this.addValidator("stepMismatch",()=>"Maxmimum gap needs to be higher than minimum gap",()=>!!this.maxGap&&!!this.minGap&&this.maxGap<=this.minGap),this.addValidator("rangeUnderflow",()=>`The lower end value (${this.valueLow}) cannot be below the the minimum value setting (${this.min})`,()=>this.valueLow<this.min),this.addValidator("rangeOverflow",()=>`The higher end value (${this.valueHigh}) cannot be above the the maximum value setting (${this.max})`,()=>this.valueHigh>this.max)}get value(){return this._value}set value(t){if(t instanceof String){super.value=t;const e=t.split(",");this.valueLow=parseInt(e[0]),this.valueHigh=parseInt(e[1])}}set valueLow(t){const e=this._valueHigh;if(t<=this.min){this._valueLow=this.min,super.value=`${this.min},${this.valueHigh}`,this.requestUpdate("valueLow",e);return}if(t>=this.valueHigh-this.step){this._valueLow=this.valueHigh-this.step,super.value=`${this.valueHigh-this.step},${this.valueHigh}`,this.requestUpdate("valueLow",e);return}this._valueLow=t,super.value=`${t},${this.valueHigh}`,this.requestUpdate("valueLow",e)}get valueLow(){return this._valueLow}set valueHigh(t){const e=this._valueHigh;if(t>=this.max){this._valueHigh=this.max,super.value=`${this.valueLow},${this.max}`,this.requestUpdate("valueHigh",e);return}if(t<=this.valueLow+this.step){this._valueHigh=this.valueLow+this.step,super.value=`${this.valueLow},${this.valueLow+this.step}`,this.requestUpdate("valueHigh",e);return}this._valueHigh=t,super.value=`${this.valueLow},${t}`,this.requestUpdate("valueHigh",e)}get valueHigh(){return this._valueHigh}getFormElement(){return this._currentInputFocus?this._currentInputFocus:this._inputLow}focus(){this._currentInputFocus?this._currentInputFocus.focus():this._inputLow.focus()}_onKeypress(t){t.key=="Enter"&&this.submit()}_sliderLowThumbPosition(){const t=(this.valueLow-this.min)/(this.max-this.min);return`${Math.floor(t*1e5)/1e3}%`}_sliderHighThumbPosition(){const t=(this.valueHigh-this.min)/(this.max-this.min);return`${Math.floor(t*1e5)/1e3}%`}_fillColor(){const t=(this.valueLow-this.min)/(this.max-this.min)*100,e=(this.valueHigh-this.min)/(this.max-this.min)*100;this._innerColor.style.left=`${t}%`,this._innerColor.style.right=`${100-e}%`}_moveThumb(t){const e=this._getValue(t);e>=this.valueHigh&&this._setThumb(this._thumbHigh),e<=this.valueLow&&this._setThumb(this._thumbLow),this._setValueBasedOnCurrentThumb(this._validateValueBasedOnCurrentThumb(e))}_stop(){this._grabbingBoth=!1,this.pristine=!1,this.dispatchEvent(new V(V.CHANGE))}_setThumb(t){this._currentThumbFocus=t===this._thumbLow?"low":"high",this._currentThumbFocus==="low"?this._currentInputFocus=this._inputLow:this._currentInputFocus=this._inputHigh,this.focus()}_setValueBasedOnCurrentThumb(t){this._currentThumbFocus==="low"?this.valueLow=t:this.valueHigh=t}_getValue(t){const o=(t-this._innerTrack.getBoundingClientRect().left)/(this._trackWidth-de*2)*(this.max-this.min)+this.min;return Math.round(o/this.step)*this.step}_validateLowByMinGap(t){return!this.minGap||this.minGap<=this.step?t:t+this.minGap>=this.valueHigh?this.valueHigh-this.minGap:t}_validateLowByMaxGap(t){return this.maxGap&&this.valueHigh-t>=this.maxGap?this.valueHigh-this.maxGap:t}_validateHighByMinGap(t){return!this.minGap||this.minGap<=this.step?t:t<=this.valueLow+this.minGap?this.valueLow+this.minGap:t}_validateHighByMaxGap(t){return this.maxGap&&t>=this.valueLow+this.maxGap?this.valueLow+this.maxGap:t}_validateValueBasedOnCurrentThumb(t){if(this._currentThumbFocus=="low"){let r;return r=t<this.valueHigh-this.step?t:this.valueHigh-this.step,r=r>=this.min?r:this.min,r=this.minGap?this._validateLowByMinGap(r):r,r=this.maxGap?this._validateLowByMaxGap(r):r,r}let e;return e=t>this.valueLow+this.step?t:this.valueLow+this.step,e=e<=this.max?e:this.max,e=this.minGap?this._validateHighByMinGap(e):e,e=this.maxGap?this._validateHighByMaxGap(e):e,e}_saveStartPoint(t,e,r){this._startPos=t,this._startLow=e,this._startHigh=r}_moveBoth(t){const e=t-this._startPos,r=this.max-this.min,o=e/(this._trackWidth+de*2),i=Math.round(o*r/this.step)*this.step,s=this._startLow+i,n=this._startHigh+i,u=this._getValidatedValues(s,n);s===u.low&&n===u.high&&(this.valueLow=s,this.valueHigh=n,this.dispatchEvent(new V(V.INPUT)))}_getValidatedValues(t,e){const r=t>this.min?t:this.min,o=e<this.max?e:this.max;return{low:r,high:o}}_onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new V(V.CHANGE))}_onLowInput(t){t.stopPropagation();let e=parseInt(this._inputLow.value);e=this._validateLowByMinGap(e),e=this._validateLowByMaxGap(e),this._inputLow.value=String(e),this.valueLow=e,this.dispatchEvent(new V(V.INPUT))}_onHighInput(t){t.stopPropagation();let e=parseInt(this._inputHigh.value);e=this._validateHighByMinGap(e),e=this._validateHighByMaxGap(e),this._inputHigh.value=String(e),this.valueHigh=e,this.dispatchEvent(new V(V.INPUT))}connectedCallback(){super.connectedCallback(),v1(this,Wo,cl).call(this),window.addEventListener("resize",()=>{this._trackWidth=this._outerTrack.offsetWidth})}updated(t){super.updated(t),this._trackWidth=this._outerTrack.offsetWidth,this._fillColor()}render(){return l`
3975
4153
  <div id="range-slider">
3976
4154
  ${this.renderNativeInputs()}
3977
4155
  <div id="inner-track">
@@ -4019,8 +4197,8 @@
4019
4197
  <rect x="9" y="9" height="3" rx="2" />
4020
4198
  ${this.renderSteps()}
4021
4199
  </svg>
4022
- </div>`}renderSteps(){const t=(this.max-this.min)/this.step,e=(this._trackWidth-de*2)/t,r=this._trackWidth/(this.max-this.min);if(e>=rl){let o=0;const i=[];for(o;o<=t;o++)i.push(o*e);const s=this.disabled==!1?"filled":"filled-disabled";return g`
4023
- ${i.map(n=>{const u=n+de;return u/r>this.valueLow-this.min&&u/r<this.valueHigh-this.min?g`<circle class="track-step ${s}" cx="${u}" cy="50%" r="4.5" />`:g`<circle class="track-step" cx="${u}" cy="50%" r="4.5" />`})}`}else return g``}renderStepValues(){if(this.hideStepValues)return E;const t=(this.max-this.min)/this.step;if((this._trackWidth-de*2)/t>=rl&&t<=20){let r=0;const o=[];for(r;r<=t;r++)o.push(r*this.step+this.min);return l` ${o.map(i=>l`<span><span>${i}</span></span>`)}`}else return l``}};Fo=new WeakSet,tl=function(t){this._value=t||`${this.valueLow},${this.valueHigh}`},P.styles=[an,h`
4200
+ </div>`}renderSteps(){const t=(this.max-this.min)/this.step,e=(this._trackWidth-de*2)/t,r=this._trackWidth/(this.max-this.min);if(e>=hl){let o=0;const i=[];for(o;o<=t;o++)i.push(o*e);const s=this.disabled==!1?"filled":"filled-disabled";return g`
4201
+ ${i.map(n=>{const u=n+de;return u/r>this.valueLow-this.min&&u/r<this.valueHigh-this.min?g`<circle class="track-step ${s}" cx="${u}" cy="50%" r="4.5" />`:g`<circle class="track-step" cx="${u}" cy="50%" r="4.5" />`})}`}else return g``}renderStepValues(){if(this.hideStepValues)return x;const t=(this.max-this.min)/this.step;if((this._trackWidth-de*2)/t>=hl&&t<=20){let r=0;const o=[];for(r;r<=t;r++)o.push(r*this.step+this.min);return l` ${o.map(i=>l`<span><span>${i}</span></span>`)}`}else return x}};Wo=new WeakSet,cl=function(t){this._value=t||`${this.valueLow},${this.valueHigh}`},P.styles=[vn,d`
4024
4202
  :host {
4025
4203
  display: block;
4026
4204
  min-height: 50px;
@@ -4358,7 +4536,7 @@
4358
4536
  input[type='range']:disabled::-ms-thumb {
4359
4537
  cursor: default;
4360
4538
  }
4361
- `],P.formAssociated=!0,S([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2),S([a({type:String})],P.prototype,"label",2),S([a({type:Number})],P.prototype,"step",2),S([a({type:Boolean,attribute:"hide-step-values"})],P.prototype,"hideStepValues",2),S([a({type:Number})],P.prototype,"min",2),S([a({type:Number})],P.prototype,"max",2),S([a({type:Number,attribute:"min-gap"})],P.prototype,"minGap",2),S([a({type:Number,attribute:"max-gap"})],P.prototype,"maxGap",2),S([a({type:String})],P.prototype,"value",1),S([a({type:Number,attribute:"value-low"})],P.prototype,"valueLow",1),S([a({type:Number,attribute:"value-high"})],P.prototype,"valueHigh",1),S([f()],P.prototype,"_trackWidth",2),S([f()],P.prototype,"_currentInputFocus",2),S([f()],P.prototype,"_currentThumbFocus",2),S([f()],P.prototype,"_grabbingBoth",2),S([f()],P.prototype,"_startPos",2),S([f()],P.prototype,"_startLow",2),S([f()],P.prototype,"_startHigh",2),S([C("#low-input")],P.prototype,"_inputLow",2),S([C("#high-input")],P.prototype,"_inputHigh",2),S([C("#range-slider")],P.prototype,"_outerTrack",2),S([C("#inner-track")],P.prototype,"_innerTrack",2),S([C("#low-thumb")],P.prototype,"_thumbLow",2),S([C("#high-thumb")],P.prototype,"_thumbHigh",2),S([C(".color")],P.prototype,"_innerColor",2),S([C(".color-target")],P.prototype,"_bothThumbsTarget",2),P=S([p("uui-range-slider")],P);var t1=Object.defineProperty,r1=Object.getOwnPropertyDescriptor,i1=(t,e,r,o)=>{for(var i=o>1?void 0:o?r1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&t1(e,r,i),i};let Di=class extends v{render(){return l`<slot></slot>`}};Di.styles=[h`
4539
+ `],P.formAssociated=!0,S([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2),S([a({type:String})],P.prototype,"label",2),S([a({type:Number})],P.prototype,"step",2),S([a({type:Boolean,attribute:"hide-step-values"})],P.prototype,"hideStepValues",2),S([a({type:Number})],P.prototype,"min",2),S([a({type:Number})],P.prototype,"max",2),S([a({type:Number,attribute:"min-gap"})],P.prototype,"minGap",2),S([a({type:Number,attribute:"max-gap"})],P.prototype,"maxGap",2),S([a({type:String})],P.prototype,"value",1),S([a({type:Number,attribute:"value-low"})],P.prototype,"valueLow",1),S([a({type:Number,attribute:"value-high"})],P.prototype,"valueHigh",1),S([f()],P.prototype,"_trackWidth",2),S([f()],P.prototype,"_currentInputFocus",2),S([f()],P.prototype,"_currentThumbFocus",2),S([f()],P.prototype,"_grabbingBoth",2),S([f()],P.prototype,"_startPos",2),S([f()],P.prototype,"_startLow",2),S([f()],P.prototype,"_startHigh",2),S([C("#low-input")],P.prototype,"_inputLow",2),S([C("#high-input")],P.prototype,"_inputHigh",2),S([C("#range-slider")],P.prototype,"_outerTrack",2),S([C("#inner-track")],P.prototype,"_innerTrack",2),S([C("#low-thumb")],P.prototype,"_thumbLow",2),S([C("#high-thumb")],P.prototype,"_thumbHigh",2),S([C(".color")],P.prototype,"_innerColor",2),S([C(".color-target")],P.prototype,"_bothThumbsTarget",2),P=S([p("uui-range-slider")],P);var f1=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,g1=(t,e,r,o)=>{for(var i=o>1?void 0:o?b1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&f1(e,r,i),i};let Ui=class extends v{render(){return l`<slot></slot>`}};Ui.styles=[d`
4362
4540
  :host {
4363
4541
  display: block;
4364
4542
  }
@@ -4374,7 +4552,7 @@
4374
4552
  right: 0;
4375
4553
  border-top: 1px solid var(--uui-color-border,#d8d7d9);
4376
4554
  }
4377
- `],Di=i1([p("uui-ref-list")],Di);class Zt extends O{}Zt.OPEN="open";var o1=Object.defineProperty,s1=Object.getOwnPropertyDescriptor,Go=(t,e,r,o)=>{for(var i=o>1?void 0:o?s1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&o1(e,r,i),i};let qe=class extends Jr(St(v)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(t){t.stopPropagation(),this.dispatchEvent(new Zt(Zt.OPEN))}handleOpenKeydown(t){t.key!==" "&&t.key!=="Enter"||(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Zt(Zt.OPEN)))}};qe.styles=[h`
4555
+ `],Ui=g1([p("uui-ref-list")],Ui);class Qt extends O{}Qt.OPEN="open";var m1=Object.defineProperty,_1=Object.getOwnPropertyDescriptor,Ko=(t,e,r,o)=>{for(var i=o>1?void 0:o?_1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&m1(e,r,i),i};let We=class extends Jr(St(v)){constructor(){super(...arguments),this.disabled=!1,this.error=!1}handleOpenClick(t){t.stopPropagation(),this.dispatchEvent(new Qt(Qt.OPEN))}handleOpenKeydown(t){t.key!==" "&&t.key!=="Enter"||(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Qt(Qt.OPEN)))}};We.styles=[d`
4378
4556
  :host {
4379
4557
  position: relative;
4380
4558
  display: flex;
@@ -4522,7 +4700,7 @@
4522
4700
  justify-content: flex-end;
4523
4701
  align-items: center;
4524
4702
  }
4525
- `],Go([a({type:Boolean,reflect:!0})],qe.prototype,"disabled",2),Go([a({type:Boolean,reflect:!0})],qe.prototype,"error",2),qe=Go([p("uui-ref")],qe);var n1=Object.defineProperty,a1=Object.getOwnPropertyDescriptor,Li=(t,e,r,o)=>{for(var i=o>1?void 0:o?a1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&n1(e,r,i),i};let U=class extends qe{constructor(){super(...arguments),this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),m(this,"uui-icon")}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}renderDetail(){return l`<small id="detail"
4703
+ `],Ko([a({type:Boolean,reflect:!0})],We.prototype,"disabled",2),Ko([a({type:Boolean,reflect:!0})],We.prototype,"error",2),We=Ko([p("uui-ref")],We);var y1=Object.defineProperty,w1=Object.getOwnPropertyDescriptor,Di=(t,e,r,o)=>{for(var i=o>1?void 0:o?w1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&y1(e,r,i),i};let D=class extends We{constructor(){super(...arguments),this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),_(this,"uui-icon")}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}renderDetail(){return l`<small id="detail"
4526
4704
  >${this.detail}<slot name="detail"></slot
4527
4705
  ></small>`}_renderFallbackIcon(){return l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
4528
4706
  <button
@@ -4547,7 +4725,7 @@
4547
4725
  <slot></slot>
4548
4726
  <slot name="tag"></slot>
4549
4727
  <slot name="actions" id="actions-container"></slot>
4550
- `}};U.styles=[...qe.styles,h`
4728
+ `}};D.styles=[...We.styles,d`
4551
4729
  :host {
4552
4730
  min-width: 250px;
4553
4731
  padding: calc(var(--uui-size-2,6px) + 1px);
@@ -4606,17 +4784,17 @@
4606
4784
  :host([disabled]) #detail {
4607
4785
  color: var(--uui-color-disabled-contrast,#c4c4c4);
4608
4786
  }
4609
- `],Li([a({type:String})],U.prototype,"name",2),Li([a({type:String})],U.prototype,"detail",2),Li([f()],U.prototype,"_iconSlotHasContent",2),U=Li([p("uui-ref-node")],U);var l1=Object.defineProperty,u1=Object.getOwnPropertyDescriptor,il=(t,e,r,o)=>{for(var i=o>1?void 0:o?u1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&l1(e,r,i),i};let Pr=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),l`<small id="detail"
4787
+ `],Di([a({type:String})],D.prototype,"name",2),Di([a({type:String})],D.prototype,"detail",2),Di([f()],D.prototype,"_iconSlotHasContent",2),D=Di([p("uui-ref-node")],D);var x1=Object.defineProperty,$1=Object.getOwnPropertyDescriptor,dl=(t,e,r,o)=>{for(var i=o>1?void 0:o?$1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&x1(e,r,i),i};let Or=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),l`<small id="detail"
4610
4788
  >${t.join(" | ")}<slot name="detail"></slot
4611
- ></small>`}};Pr.styles=[...U.styles],il([a({type:String})],Pr.prototype,"alias",2),Pr=il([p("uui-ref-node-data-type")],Pr);var c1=Object.defineProperty,h1=Object.getOwnPropertyDescriptor,ol=(t,e,r,o)=>{for(var i=o>1?void 0:o?h1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&c1(e,r,i),i};let Cr=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),l`<small id="detail"
4789
+ ></small>`}};Or.styles=[...D.styles],dl([a({type:String})],Or.prototype,"alias",2),Or=dl([p("uui-ref-node-data-type")],Or);var E1=Object.defineProperty,P1=Object.getOwnPropertyDescriptor,pl=(t,e,r,o)=>{for(var i=o>1?void 0:o?P1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&E1(e,r,i),i};let Sr=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),l`<small id="detail"
4612
4790
  >${t.join(" | ")}<slot name="detail"></slot
4613
- ></small>`}};Cr.styles=[...U.styles],ol([a({type:String})],Cr.prototype,"alias",2),Cr=ol([p("uui-ref-node-document-type")],Cr);var d1=Object.defineProperty,p1=Object.getOwnPropertyDescriptor,v1=(t,e,r,o)=>{for(var i=o>1?void 0:o?p1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&d1(e,r,i),i};let Ni=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}};Ni.styles=[...U.styles],Ni=v1([p("uui-ref-node-form")],Ni);var f1=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,sl=(t,e,r,o)=>{for(var i=o>1?void 0:o?b1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&f1(e,r,i),i};let Or=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),l`<small id="detail"
4791
+ ></small>`}};Sr.styles=[...D.styles],pl([a({type:String})],Sr.prototype,"alias",2),Sr=pl([p("uui-ref-node-document-type")],Sr);var C1=Object.defineProperty,O1=Object.getOwnPropertyDescriptor,S1=(t,e,r,o)=>{for(var i=o>1?void 0:o?O1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&C1(e,r,i),i};let Li=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}};Li.styles=[...D.styles],Li=S1([p("uui-ref-node-form")],Li);var k1=Object.defineProperty,z1=Object.getOwnPropertyDescriptor,vl=(t,e,r,o)=>{for(var i=o>1?void 0:o?z1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&k1(e,r,i),i};let kr=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),l`<small id="detail"
4614
4792
  >${t.join(" | ")}<slot name="detail"></slot
4615
- ></small>`}};Or.styles=[...U.styles],sl([a({type:String,attribute:"group-name"})],Or.prototype,"groupName",2),Or=sl([p("uui-ref-node-member")],Or);var g1=Object.defineProperty,m1=Object.getOwnPropertyDescriptor,qo=(t,e,r,o)=>{for(var i=o>1?void 0:o?m1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&g1(e,r,i),i};let Qt=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.version!==""&&t.push(this.version),this.author!==""&&t.push(this.author),l`<small id="detail"
4793
+ ></small>`}};kr.styles=[...D.styles],vl([a({type:String,attribute:"group-name"})],kr.prototype,"groupName",2),kr=vl([p("uui-ref-node-member")],kr);var I1=Object.defineProperty,A1=Object.getOwnPropertyDescriptor,Xo=(t,e,r,o)=>{for(var i=o>1?void 0:o?A1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&I1(e,r,i),i};let Jt=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.version!==""&&t.push(this.version),this.author!==""&&t.push(this.author),l`<small id="detail"
4616
4794
  >${t.join(" | ")}<slot name="detail"></slot
4617
- ></small>`}};Qt.styles=[...U.styles],qo([a({type:String})],Qt.prototype,"version",2),qo([a({type:String})],Qt.prototype,"author",2),Qt=qo([p("uui-ref-node-package")],Qt);var _1=Object.defineProperty,y1=Object.getOwnPropertyDescriptor,nl=(t,e,r,o)=>{for(var i=o>1?void 0:o?y1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&_1(e,r,i),i};let Sr=class extends U{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),l`<small id="detail"
4795
+ ></small>`}};Jt.styles=[...D.styles],Xo([a({type:String})],Jt.prototype,"version",2),Xo([a({type:String})],Jt.prototype,"author",2),Jt=Xo([p("uui-ref-node-package")],Jt);var U1=Object.defineProperty,D1=Object.getOwnPropertyDescriptor,fl=(t,e,r,o)=>{for(var i=o>1?void 0:o?D1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&U1(e,r,i),i};let zr=class extends D{constructor(){super(...arguments),this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),l`<small id="detail"
4618
4796
  >${t.join(" | ")}<slot name="detail"></slot
4619
- ></small>`}};Sr.styles=[...U.styles],nl([a({type:String,attribute:"group-name"})],Sr.prototype,"groupName",2),Sr=nl([p("uui-ref-node-user")],Sr);var w1=Object.defineProperty,x1=Object.getOwnPropertyDescriptor,al=(t,e,r,o)=>{for(var i=o>1?void 0:o?x1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&w1(e,r,i),i};let kr=class extends v{constructor(){super(...arguments),this.enforceScroll=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")}render(){return l`<slot></slot>`}};kr.styles=[h`
4797
+ ></small>`}};zr.styles=[...D.styles],fl([a({type:String,attribute:"group-name"})],zr.prototype,"groupName",2),zr=fl([p("uui-ref-node-user")],zr);var L1=Object.defineProperty,N1=Object.getOwnPropertyDescriptor,bl=(t,e,r,o)=>{for(var i=o>1?void 0:o?N1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&L1(e,r,i),i};let Ir=class extends v{constructor(){super(...arguments),this.enforceScroll=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")}render(){return l`<slot></slot>`}};Ir.styles=[d`
4620
4798
  :host {
4621
4799
  display: block;
4622
4800
  scrollbar-width: thin;
@@ -4642,17 +4820,17 @@
4642
4820
  background-color: var(--uui-color-disabled-contrast,#c4c4c4);
4643
4821
  border-radius: 3px;
4644
4822
  }
4645
- `],al([a({type:Boolean,reflect:!0,attribute:"enforce-scroll"})],kr.prototype,"enforceScroll",2),kr=al([p("uui-scroll-container")],kr);var $1=Object.defineProperty,ll=Object.getOwnPropertySymbols,E1=Object.prototype.hasOwnProperty,P1=Object.prototype.propertyIsEnumerable,ul=(t,e,r)=>e in t?$1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,cl=(t,e)=>{for(var r in e||(e={}))E1.call(e,r)&&ul(t,r,e[r]);if(ll)for(var r of ll(e))P1.call(e,r)&&ul(t,r,e[r]);return t};class Hi extends O{constructor(e,r={}){super(e,cl(cl({},{bubbles:!0}),r))}}Hi.CHANGE="change";var C1=Object.defineProperty,O1=Object.getOwnPropertyDescriptor,xe=(t,e,r,o)=>{for(var i=o>1?void 0:o?O1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&C1(e,r,i),i};let Z=class extends fe(v){constructor(){super(),this.placeholder="",this.disabled=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}focus(){this._input.focus()}click(){this._input.click()}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(t=>t.group).map(t=>t.group))))}willUpdate(t){if(t.has("options")){this._extractGroups(),this._values=this.options.map(r=>r.value);const e=this.options.find(r=>r.selected);this.value=e?e.value:""}t.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),t.has("disabledGroups")&&this._createDisabledGroups()}setValue(t){t.stopPropagation();const e=t.target;t.target&&(this.value=e.value),this.dispatchEvent(new Hi(Hi.CHANGE,{bubbles:!0,composed:!1}))}getFormElement(){return this._input}_renderOption(t,e,r,o){return l`<option
4823
+ `],bl([a({type:Boolean,reflect:!0,attribute:"enforce-scroll"})],Ir.prototype,"enforceScroll",2),Ir=bl([p("uui-scroll-container")],Ir);var H1=Object.defineProperty,gl=Object.getOwnPropertySymbols,T1=Object.prototype.hasOwnProperty,M1=Object.prototype.propertyIsEnumerable,ml=(t,e,r)=>e in t?H1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_l=(t,e)=>{for(var r in e||(e={}))T1.call(e,r)&&ml(t,r,e[r]);if(gl)for(var r of gl(e))M1.call(e,r)&&ml(t,r,e[r]);return t};class Ni extends O{constructor(e,r={}){super(e,_l(_l({},{bubbles:!0}),r))}}Ni.CHANGE="change";var j1=Object.defineProperty,V1=Object.getOwnPropertyDescriptor,xe=(t,e,r,o)=>{for(var i=o>1?void 0:o?V1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&j1(e,r,i),i};let Z=class extends fe(v){constructor(){super(),this.placeholder="",this.disabled=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}focus(){this._input.focus()}click(){this._input.click()}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(t=>t.group).map(t=>t.group))))}willUpdate(t){if(t.has("options")){this._extractGroups(),this._values=this.options.map(r=>r.value);const e=this.options.find(r=>r.selected);this.value=e?e.value:""}t.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),t.has("disabledGroups")&&this._createDisabledGroups()}setValue(t){t.stopPropagation();const e=t.target;t.target&&(this.value=e.value),this.dispatchEvent(new Ni(Ni.CHANGE,{bubbles:!0,composed:!1}))}getFormElement(){return this._input}_renderOption(t,e,r,o){return l`<option
4646
4824
  value="${e}"
4647
4825
  ?selected=${r}
4648
4826
  ?disabled=${o}>
4649
4827
  ${t}
4650
- </option>`}_renderGrouped(){return this._groups.length===0?l``:l`
4828
+ </option>`}_renderGrouped(){return this._groups.length===0?x:l`
4651
4829
  ${this._groups.map(t=>l`<optgroup
4652
- label=${t}
4653
- ?disabled=${this._disabledGroups.some(e=>e.toLowerCase()===t.toLowerCase())}>
4654
- ${this.options.map(e=>e.group===t?this._renderOption(e.name,e.value,e.selected,e.disabled):"")}
4655
- </optgroup>`)}
4830
+ label=${t}
4831
+ ?disabled=${this._disabledGroups.some(e=>e.toLowerCase()===t.toLowerCase())}>
4832
+ ${this.options.map(e=>e.group===t?this._renderOption(e.name,e.value,e.selected,e.disabled):"")}
4833
+ </optgroup>`)}
4656
4834
  `}render(){return l` <select
4657
4835
  id="native"
4658
4836
  aria-label=${this.label}
@@ -4663,7 +4841,7 @@
4663
4841
  <option disabled selected value="" hidden>${this.placeholder}</option>
4664
4842
  ${this._renderGrouped()}
4665
4843
  ${this.options.filter(t=>!t.group).map(t=>this._renderOption(t.name,t.value,t.selected,t.disabled))}
4666
- </select>`}};Z.styles=[h`
4844
+ </select>`}};Z.styles=[d`
4667
4845
  :host {
4668
4846
  position: relative;
4669
4847
  font-family: inherit;
@@ -4734,7 +4912,7 @@
4734
4912
  :host([error]) #native[disabled] {
4735
4913
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
4736
4914
  }
4737
- `],xe([a({type:String})],Z.prototype,"label",2),xe([a()],Z.prototype,"placeholder",2),xe([a({type:Boolean,reflect:!0})],Z.prototype,"disabled",2),xe([a({type:Boolean,reflect:!0})],Z.prototype,"error",2),xe([a({type:Array,attribute:!1})],Z.prototype,"options",2),xe([f()],Z.prototype,"_groups",2),xe([a()],Z.prototype,"disabledGroups",2),xe([f()],Z.prototype,"_disabledGroups",2),xe([C("#native")],Z.prototype,"_input",2),Z=xe([p("uui-select")],Z);const S1=h`
4915
+ `],xe([a({type:String})],Z.prototype,"label",2),xe([a()],Z.prototype,"placeholder",2),xe([a({type:Boolean,reflect:!0})],Z.prototype,"disabled",2),xe([a({type:Boolean,reflect:!0})],Z.prototype,"error",2),xe([a({type:Array,attribute:!1})],Z.prototype,"options",2),xe([f()],Z.prototype,"_groups",2),xe([a()],Z.prototype,"disabledGroups",2),xe([f()],Z.prototype,"_disabledGroups",2),xe([C("#native")],Z.prototype,"_input",2),Z=xe([p("uui-select")],Z);const B1=d`
4738
4916
  input[type='range'] {
4739
4917
  left: 0;
4740
4918
  position: absolute;
@@ -4841,15 +5019,15 @@
4841
5019
  input[type='range']:focus::-ms-fill-upper {
4842
5020
  background: transparent;
4843
5021
  }
4844
- `;var k1=Object.defineProperty,hl=Object.getOwnPropertySymbols,z1=Object.prototype.hasOwnProperty,I1=Object.prototype.propertyIsEnumerable,dl=(t,e,r)=>e in t?k1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,pl=(t,e)=>{for(var r in e||(e={}))z1.call(e,r)&&dl(t,r,e[r]);if(hl)for(var r of hl(e))I1.call(e,r)&&dl(t,r,e[r]);return t};class _t extends O{constructor(e,r={}){super(e,pl(pl({},{bubbles:!0}),r))}}_t.INPUT="input",_t.CHANGE="change";var A1=Object.defineProperty,U1=Object.getOwnPropertyDescriptor,Q=(t,e,r,o)=>{for(var i=o>1?void 0:o?U1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&A1(e,r,i),i};const zr=12,vl=24,D1=(t,e)=>g`
4845
- ${t.map(r=>{if(e>=vl){const o=Math.round(zr+e*t.indexOf(r));return g`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return g``})}
4846
- `,L1=(t,e,r)=>r?l``:l`<div id="step-values">
5022
+ `;var R1=Object.defineProperty,yl=Object.getOwnPropertySymbols,F1=Object.prototype.hasOwnProperty,G1=Object.prototype.propertyIsEnumerable,wl=(t,e,r)=>e in t?R1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,xl=(t,e)=>{for(var r in e||(e={}))F1.call(e,r)&&wl(t,r,e[r]);if(yl)for(var r of yl(e))G1.call(e,r)&&wl(t,r,e[r]);return t};class _t extends O{constructor(e,r={}){super(e,xl(xl({},{bubbles:!0}),r))}}_t.INPUT="input",_t.CHANGE="change";var q1=Object.defineProperty,W1=Object.getOwnPropertyDescriptor,Q=(t,e,r,o)=>{for(var i=o>1?void 0:o?W1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&q1(e,r,i),i};const Ar=12,$l=24,K1=(t,e)=>g`
5023
+ ${t.map(r=>{if(e>=$l){const o=Math.round(Ar+e*t.indexOf(r));return g`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return g``})}
5024
+ `,X1=(t,e,r)=>r?x:l`<div id="step-values">
4847
5025
  ${t.map(o=>l` <span
4848
5026
  ><span>
4849
- ${t.length<=20&&e>=vl?o.toFixed(0):E}
5027
+ ${t.length<=20&&e>=$l?o.toFixed(0):x}
4850
5028
  </span></span
4851
5029
  >`)}
4852
- </div>`,N1=(t,e,r)=>Array.from({length:(e-t)/r+1},(o,i)=>t+i*r);let T=class extends fe(v){constructor(){super(),this.hideStepValues=!1,this.min=0,this.max=100,this.step=1,this.disabled=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(t){if(t instanceof File)return;const e=this._value;let r=t?parseFloat(t):0;r=Math.min(Math.max(r,this.min),this.max),this.step>0&&(r=Math.round(r/this.step)*this.step),this._value=r.toString(),this._calculateSliderPosition(),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",e)}focus(){this._input.focus()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(t){super.updated(t),(t.get("max")||t.get("min")||t.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=N1(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-zr*2)/(this._steps.length-1)}_onKeypress(t){t.key=="Enter"&&this.submit()}_calculateSliderPosition(){const t=(parseFloat(this._value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(t*1e5)/1e3}%`}_onInput(t){t.stopPropagation(),this.value=this._input.value,this.dispatchEvent(new _t(_t.INPUT))}_onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new _t(_t.CHANGE))}render(){return l`
5030
+ </div>`,Y1=(t,e,r)=>Array.from({length:(e-t)/r+1},(o,i)=>t+i*r);let j=class extends fe(v){constructor(){super(),this.hideStepValues=!1,this.min=0,this.max=100,this.step=1,this.disabled=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addEventListener("keypress",this._onKeypress)}get value(){return this._value}set value(t){if(t instanceof File)return;const e=this._value;let r=t?parseFloat(t):0;r=Math.min(Math.max(r,this.min),this.max),this.step>0&&(r=Math.round(r/this.step)*this.step),this._value=r.toString(),this._calculateSliderPosition(),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",e)}focus(){this._input.focus()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(t){super.updated(t),(t.get("max")||t.get("min")||t.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=Y1(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-Ar*2)/(this._steps.length-1)}_onKeypress(t){t.key=="Enter"&&this.submit()}_calculateSliderPosition(){const t=(parseFloat(this._value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(t*1e5)/1e3}%`}_onInput(t){t.stopPropagation(),this.value=this._input.value,this.dispatchEvent(new _t(_t.INPUT))}_onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new _t(_t.CHANGE))}render(){return l`
4853
5031
  <input
4854
5032
  id="input"
4855
5033
  type="range"
@@ -4864,7 +5042,7 @@
4864
5042
  <div id="track" aria-hidden="true">
4865
5043
  <svg height="100%" width="100%">
4866
5044
  <rect x="9" y="9" height="3" rx="2" />
4867
- ${D1(this._steps,this._stepWidth)}
5045
+ ${K1(this._steps,this._stepWidth)}
4868
5046
  </svg>
4869
5047
 
4870
5048
  <div id="track-inner" aria-hidden="true">
@@ -4873,8 +5051,8 @@
4873
5051
  </div>
4874
5052
  </div>
4875
5053
  </div>
4876
- ${L1(this._steps,this._stepWidth,this.hideStepValues)}
4877
- `}};T.formAssociated=!0,T.styles=[an,S1,h`
5054
+ ${X1(this._steps,this._stepWidth,this.hideStepValues)}
5055
+ `}};j.formAssociated=!0,j.styles=[vn,B1,d`
4878
5056
  :host {
4879
5057
  display: inline-block;
4880
5058
  width: 100%;
@@ -4922,8 +5100,8 @@
4922
5100
 
4923
5101
  #track-inner {
4924
5102
  position: absolute;
4925
- left: ${zr}px; /* Match TRACK_MARGIN */
4926
- right: ${zr}px; /* Match TRACK_MARGIN */
5103
+ left: ${Ar}px; /* Match TRACK_MARGIN */
5104
+ right: ${Ar}px; /* Match TRACK_MARGIN */
4927
5105
  }
4928
5106
 
4929
5107
  #thumb {
@@ -4982,7 +5160,7 @@
4982
5160
  }
4983
5161
 
4984
5162
  #step-values {
4985
- margin: 0 ${zr}px; /* Match TRACK_MARGIN */
5163
+ margin: 0 ${Ar}px; /* Match TRACK_MARGIN */
4986
5164
  margin-top: 6px;
4987
5165
  display: flex;
4988
5166
  align-items: flex-end;
@@ -5013,9 +5191,9 @@
5013
5191
  :host(:not([pristine]):invalid) #thumb:after {
5014
5192
  background-color: var(--uui-color-danger,#d42054);
5015
5193
  }
5016
- `],Q([a({type:Boolean,attribute:"hide-step-values"})],T.prototype,"hideStepValues",2),Q([a({type:Number})],T.prototype,"min",2),Q([a({type:Number})],T.prototype,"max",2),Q([a({type:Number})],T.prototype,"step",2),Q([a({type:String})],T.prototype,"value",1),Q([a({type:Boolean,reflect:!0})],T.prototype,"disabled",2),Q([a({type:String})],T.prototype,"label",2),Q([C("#input")],T.prototype,"_input",2),Q([C("#track")],T.prototype,"_track",2),Q([f()],T.prototype,"_stepWidth",2),Q([f()],T.prototype,"_steps",2),Q([f()],T.prototype,"_sliderPosition",2),T=Q([p("uui-slider")],T);var H1=Object.defineProperty,M1=Object.getOwnPropertyDescriptor,fl=(t,e,r,o)=>{for(var i=o>1?void 0:o?M1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&H1(e,r,i),i};let Ir=class extends v{constructor(){super(...arguments),this.open=!1}render(){return l`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5194
+ `],Q([a({type:Boolean,attribute:"hide-step-values"})],j.prototype,"hideStepValues",2),Q([a({type:Number})],j.prototype,"min",2),Q([a({type:Number})],j.prototype,"max",2),Q([a({type:Number})],j.prototype,"step",2),Q([a({type:String})],j.prototype,"value",1),Q([a({type:Boolean,reflect:!0})],j.prototype,"disabled",2),Q([a({type:String})],j.prototype,"label",2),Q([C("#input")],j.prototype,"_input",2),Q([C("#track")],j.prototype,"_track",2),Q([f()],j.prototype,"_stepWidth",2),Q([f()],j.prototype,"_steps",2),Q([f()],j.prototype,"_sliderPosition",2),j=Q([p("uui-slider")],j);var Z1=Object.defineProperty,Q1=Object.getOwnPropertyDescriptor,El=(t,e,r,o)=>{for(var i=o>1?void 0:o?Q1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Z1(e,r,i),i};let Ur=class extends v{constructor(){super(...arguments),this.open=!1}render(){return l`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5017
5195
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5018
- </svg>`}};Ir.styles=[h`
5196
+ </svg>`}};Ur.styles=[d`
5019
5197
  :host {
5020
5198
  display: inline-block;
5021
5199
  width: 12px;
@@ -5034,13 +5212,13 @@
5034
5212
  :host([open]) svg {
5035
5213
  transform: rotate(0deg);
5036
5214
  }
5037
- `],fl([a({type:Boolean,reflect:!0})],Ir.prototype,"open",2),Ir=fl([p("uui-symbol-expand")],Ir);var T1=Object.defineProperty,j1=Object.getOwnPropertyDescriptor,bl=(t,e,r,o)=>{for(var i=o>1?void 0:o?j1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&T1(e,r,i),i};let Ar=class extends v{constructor(){super(...arguments),this.error=!1}render(){return l`<svg
5215
+ `],El([a({type:Boolean,reflect:!0})],Ur.prototype,"open",2),Ur=El([p("uui-symbol-expand")],Ur);var J1=Object.defineProperty,ev=Object.getOwnPropertyDescriptor,Pl=(t,e,r,o)=>{for(var i=o>1?void 0:o?ev(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&J1(e,r,i),i};let Dr=class extends v{constructor(){super(...arguments),this.error=!1}render(){return l`<svg
5038
5216
  xmlns="http://www.w3.org/2000/svg"
5039
5217
  viewBox="0 0 512 512"
5040
5218
  id="upload-icon">
5041
5219
  <path
5042
5220
  d=${this.error?"M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z":"M206.491 364.184h99.013V223.676h92.922L255.997 51.111 113.575 223.676h92.916zM85.043 398.311h341.912v62.578H85.043z"} />
5043
- </svg> `}};Ar.styles=[h`
5221
+ </svg> `}};Dr.styles=[d`
5044
5222
  :host {
5045
5223
  display: flex;
5046
5224
  flex-direction: column;
@@ -5059,9 +5237,9 @@
5059
5237
  :host([error]) #upload-icon {
5060
5238
  fill: var(--uui-color-danger,#d42054);
5061
5239
  }
5062
- `],bl([a({type:Boolean,reflect:!0})],Ar.prototype,"error",2),Ar=bl([p("uui-symbol-file-dropzone")],Ar);var V1=Object.defineProperty,B1=Object.getOwnPropertyDescriptor,Wo=(t,e,r,o)=>{for(var i=o>1?void 0:o?B1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&V1(e,r,i),i};let Jt=class extends v{constructor(){super(...arguments),this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),m(this,"uui-icon")}render(){return this.src?l`<img src=${this.src} alt=${this.alt} />`:l`<uui-icon
5240
+ `],Pl([a({type:Boolean,reflect:!0})],Dr.prototype,"error",2),Dr=Pl([p("uui-symbol-file-dropzone")],Dr);var tv=Object.defineProperty,rv=Object.getOwnPropertyDescriptor,Yo=(t,e,r,o)=>{for(var i=o>1?void 0:o?rv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&tv(e,r,i),i};let er=class extends v{constructor(){super(...arguments),this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),_(this,"uui-icon")}render(){return this.src?l`<img src=${this.src} alt=${this.alt} />`:l`<uui-icon
5063
5241
  name="picture"
5064
- .fallback=${Gc.strings[0]}></uui-icon>`}};Jt.styles=[h`
5242
+ .fallback=${oh.strings[0]}></uui-icon>`}};er.styles=[d`
5065
5243
  :host {
5066
5244
  display: block;
5067
5245
  width: 100%;
@@ -5084,9 +5262,9 @@
5084
5262
  color: var(--uui-color-surface,#fff);
5085
5263
  background: var(--uui-color-surface-alt,#f3f3f5);
5086
5264
  }
5087
- `],Wo([a({type:String})],Jt.prototype,"src",2),Wo([a({type:String})],Jt.prototype,"alt",2),Jt=Wo([p("uui-symbol-file-thumbnail")],Jt);var R1=Object.defineProperty,F1=Object.getOwnPropertyDescriptor,gl=(t,e,r,o)=>{for(var i=o>1?void 0:o?F1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&R1(e,r,i),i};let Ur=class extends v{constructor(){super(...arguments),this.open=!1}render(){return g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5265
+ `],Yo([a({type:String})],er.prototype,"src",2),Yo([a({type:String})],er.prototype,"alt",2),er=Yo([p("uui-symbol-file-thumbnail")],er);var iv=Object.defineProperty,ov=Object.getOwnPropertyDescriptor,Cl=(t,e,r,o)=>{for(var i=o>1?void 0:o?ov(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&iv(e,r,i),i};let Lr=class extends v{constructor(){super(...arguments),this.open=!1}render(){return g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5088
5266
  ${this.open===!0?g`<path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"></path>`:g`<path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"></path>`}
5089
- </svg>`}};Ur.styles=[h`
5267
+ </svg>`}};Lr.styles=[d`
5090
5268
  :host {
5091
5269
  display: inline-block;
5092
5270
  vertical-align: middle;
@@ -5096,7 +5274,7 @@
5096
5274
  svg {
5097
5275
  fill: currentColor;
5098
5276
  }
5099
- `],gl([a({type:Boolean,reflect:!0})],Ur.prototype,"open",2),Ur=gl([p("uui-symbol-lock")],Ur);var G1=Object.defineProperty,q1=Object.getOwnPropertyDescriptor,W1=(t,e,r,o)=>{for(var i=o>1?void 0:o?q1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&G1(e,r,i),i};let Mi=class extends v{render(){return l`•••`}};Mi.styles=[h`
5277
+ `],Cl([a({type:Boolean,reflect:!0})],Lr.prototype,"open",2),Lr=Cl([p("uui-symbol-lock")],Lr);var sv=Object.defineProperty,nv=Object.getOwnPropertyDescriptor,av=(t,e,r,o)=>{for(var i=o>1?void 0:o?nv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&sv(e,r,i),i};let Hi=class extends v{render(){return l`•••`}};Hi.styles=[d`
5100
5278
  :host {
5101
5279
  display: inline-block;
5102
5280
  font-size: 0.8em;
@@ -5105,7 +5283,7 @@
5105
5283
  line-height: 1em;
5106
5284
  user-select: none;
5107
5285
  }
5108
- `],Mi=W1([p("uui-symbol-more")],Mi);var K1=Object.defineProperty,X1=Object.getOwnPropertyDescriptor,ml=(t,e,r,o)=>{for(var i=o>1?void 0:o?X1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&K1(e,r,i),i};let Dr=class extends lr(v){constructor(){super(...arguments),this.descending=!1}render(){return l`<svg
5286
+ `],Hi=av([p("uui-symbol-more")],Hi);var lv=Object.defineProperty,uv=Object.getOwnPropertyDescriptor,Ol=(t,e,r,o)=>{for(var i=o>1?void 0:o?uv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&lv(e,r,i),i};let Nr=class extends cr(v){constructor(){super(...arguments),this.descending=!1}render(){return l`<svg
5109
5287
  id="up"
5110
5288
  xmlns="http://www.w3.org/2000/svg"
5111
5289
  viewBox="0 0 512 512">
@@ -5113,7 +5291,7 @@
5113
5291
  </svg>
5114
5292
  <svg id="down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5115
5293
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5116
- </svg>`}};Dr.styles=[h`
5294
+ </svg>`}};Nr.styles=[d`
5117
5295
  :host {
5118
5296
  position: relative;
5119
5297
  display: inline-block;
@@ -5170,7 +5348,7 @@
5170
5348
  :host([active][descending]) #down {
5171
5349
  opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));
5172
5350
  }
5173
- `],ml([a({type:Boolean,reflect:!0})],Dr.prototype,"descending",2),Dr=ml([p("uui-symbol-sort")],Dr);var Y1=Object.defineProperty,Z1=Object.getOwnPropertyDescriptor,Q1=(t,e,r,o)=>{for(var i=o>1?void 0:o?Z1(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Y1(e,r,i),i};let Ti=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return l`<slot></slot>`}};Ti.styles=[h`
5351
+ `],Ol([a({type:Boolean,reflect:!0})],Nr.prototype,"descending",2),Nr=Ol([p("uui-symbol-sort")],Nr);var cv=Object.defineProperty,hv=Object.getOwnPropertyDescriptor,dv=(t,e,r,o)=>{for(var i=o>1?void 0:o?hv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&cv(e,r,i),i};let Ti=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return l`<slot></slot>`}};Ti.styles=[d`
5174
5352
  :host {
5175
5353
  display: table;
5176
5354
  width: 100%;
@@ -5178,7 +5356,7 @@
5178
5356
  background-color: var(--uui-color-surface,#fff);
5179
5357
  cursor: default;
5180
5358
  }
5181
- `],Ti=Q1([p("uui-table")],Ti);var J1=Object.defineProperty,ev=Object.getOwnPropertyDescriptor,ji=(t,e,r,o)=>{for(var i=o>1?void 0:o?ev(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&J1(e,r,i),i};let $e=class extends v{constructor(){super(...arguments),this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(t){super.updated(t),t.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return l` <slot @slotchange=${this._detectOverflow}></slot>`}};$e.styles=[h`
5359
+ `],Ti=dv([p("uui-table")],Ti);var pv=Object.defineProperty,vv=Object.getOwnPropertyDescriptor,Mi=(t,e,r,o)=>{for(var i=o>1?void 0:o?vv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&pv(e,r,i),i};let $e=class extends v{constructor(){super(...arguments),this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(t){super.updated(t),t.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return l` <slot @slotchange=${this._detectOverflow}></slot>`}};$e.styles=[d`
5182
5360
  :host {
5183
5361
  position: relative;
5184
5362
  display: table-cell;
@@ -5212,20 +5390,20 @@
5212
5390
  :host([no-padding]) {
5213
5391
  padding: 0;
5214
5392
  }
5215
- `],ji([a({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],$e.prototype,"disableChildInteraction",2),ji([a({type:Boolean,reflect:!0,attribute:"no-padding"})],$e.prototype,"noPadding",2),ji([a({type:Boolean,reflect:!0,attribute:"clip-text"})],$e.prototype,"clipText",2),$e=ji([p("uui-table-cell")],$e);var tv=Object.defineProperty,rv=Object.getOwnPropertyDescriptor,iv=(t,e,r,o)=>{for(var i=o>1?void 0:o?rv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&tv(e,r,i),i};let Vi=class extends v{};Vi.styles=[h`
5393
+ `],Mi([a({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],$e.prototype,"disableChildInteraction",2),Mi([a({type:Boolean,reflect:!0,attribute:"no-padding"})],$e.prototype,"noPadding",2),Mi([a({type:Boolean,reflect:!0,attribute:"clip-text"})],$e.prototype,"clipText",2),$e=Mi([p("uui-table-cell")],$e);var fv=Object.defineProperty,bv=Object.getOwnPropertyDescriptor,gv=(t,e,r,o)=>{for(var i=o>1?void 0:o?bv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&fv(e,r,i),i};let ji=class extends v{};ji.styles=[d`
5216
5394
  :host {
5217
5395
  display: table-column;
5218
5396
  }
5219
- `],Vi=iv([p("uui-table-column")],Vi);var ov=Object.defineProperty,sv=Object.getOwnPropertyDescriptor,nv=(t,e,r,o)=>{for(var i=o>1?void 0:o?sv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&ov(e,r,i),i};let Bi=class extends $e{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}};Bi.styles=[...$e.styles,h`
5397
+ `],ji=gv([p("uui-table-column")],ji);var mv=Object.defineProperty,_v=Object.getOwnPropertyDescriptor,yv=(t,e,r,o)=>{for(var i=o>1?void 0:o?_v(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&mv(e,r,i),i};let Vi=class extends $e{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}};Vi.styles=[...$e.styles,d`
5220
5398
  :host {
5221
5399
  border-top: none;
5222
5400
  }
5223
- `],Bi=nv([p("uui-table-head-cell")],Bi);var av=Object.defineProperty,lv=Object.getOwnPropertyDescriptor,uv=(t,e,r,o)=>{for(var i=o>1?void 0:o?lv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&av(e,r,i),i};let Ri=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return l`<slot></slot>`}};Ri.styles=[h`
5401
+ `],Vi=yv([p("uui-table-head-cell")],Vi);var wv=Object.defineProperty,xv=Object.getOwnPropertyDescriptor,$v=(t,e,r,o)=>{for(var i=o>1?void 0:o?xv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&wv(e,r,i),i};let Bi=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return l`<slot></slot>`}};Bi.styles=[d`
5224
5402
  :host {
5225
5403
  display: table-header-group;
5226
5404
  font-weight: bold;
5227
5405
  }
5228
- `],Ri=uv([p("uui-table-head")],Ri);var cv=Object.defineProperty,hv=Object.getOwnPropertyDescriptor,_l=(t,e,r,o)=>{for(var i=o>1?void 0:o?hv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&cv(e,r,i),i};let Lr=class extends Jr(St(v)){constructor(){super();let t=!1;this.addEventListener("blur",()=>{t===!1&&this.style.setProperty("--uui-show-focus-outline","1"),t=!1}),this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),t=!0}),this.addEventListener("mouseup",()=>{t=!1})}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(t){t.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(t=>{this.elementIsTableCell(t)&&(t.disableChildInteraction=this.selectOnly)})}elementIsTableCell(t){return t instanceof $e}render(){return l` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `}};Lr.styles=[h`
5406
+ `],Bi=$v([p("uui-table-head")],Bi);var Ev=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,Sl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Pv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ev(e,r,i),i};let Hr=class extends Jr(St(v)){constructor(){super();let t=!1;this.addEventListener("blur",()=>{t===!1&&this.style.setProperty("--uui-show-focus-outline","1"),t=!1}),this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),t=!0}),this.addEventListener("mouseup",()=>{t=!1})}connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(t){t.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(t=>{this.elementIsTableCell(t)&&(t.disableChildInteraction=this.selectOnly)})}elementIsTableCell(t){return t instanceof $e}render(){return l` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `}};Hr.styles=[d`
5229
5407
  :host {
5230
5408
  display: table-row;
5231
5409
  position: relative;
@@ -5247,12 +5425,12 @@
5247
5425
  :host([selected]:focus) {
5248
5426
  outline-color: var(--uui-color-focus,#3879ff);
5249
5427
  }
5250
- `],_l([je({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],Lr.prototype,"slotCellNodes",2),Lr=_l([p("uui-table-row")],Lr);var dv=Object.defineProperty,pv=Object.getOwnPropertyDescriptor,Fi=(t,e,r,o)=>{for(var i=o>1?void 0:o?pv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&dv(e,r,i),i};let We=class extends lr(ve("",v)){constructor(){super(),this.disabled=!1,this.addEventListener("click",this.onHostClick)}onHostClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}render(){return this.href?l`
5428
+ `],Sl([Be({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],Hr.prototype,"slotCellNodes",2),Hr=Sl([p("uui-table-row")],Hr);var Cv=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,Ri=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ov(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Cv(e,r,i),i};let Ke=class extends cr(ve("",v)){constructor(){super(),this.disabled=!1,this.addEventListener("click",this.onHostClick)}onHostClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}render(){return this.href?l`
5251
5429
  <a
5252
5430
  id="button"
5253
- href=${L(this.disabled?void 0:this.href)}
5254
- target=${L(this.target||void 0)}
5255
- rel=${L(this.target==="_blank"?"noopener noreferrer":void 0)}
5431
+ href=${I(this.disabled?void 0:this.href)}
5432
+ target=${I(this.target||void 0)}
5433
+ rel=${I(this.target==="_blank"?"noopener noreferrer":void 0)}
5256
5434
  role="tab">
5257
5435
  <slot name="icon"></slot>
5258
5436
  ${this.renderLabel()}
@@ -5268,7 +5446,7 @@
5268
5446
  ${this.renderLabel()}
5269
5447
  <slot name="extra"></slot>
5270
5448
  </button>
5271
- `}};We.styles=[h`
5449
+ `}};Ke.styles=[d`
5272
5450
  :host {
5273
5451
  color: var(--uui-tab-text, var(--uui-color-interactive,#1b264f));
5274
5452
  font-family: inherit;
@@ -5346,7 +5524,7 @@
5346
5524
  font-size: 20px;
5347
5525
  margin-bottom: var(--uui-size-2,6px);
5348
5526
  }
5349
- `],Fi([a({type:Boolean,reflect:!0})],We.prototype,"disabled",2),Fi([a({type:String})],We.prototype,"href",2),Fi([a({type:String})],We.prototype,"target",2),We=Fi([p("uui-tab")],We);var vv=Object.defineProperty,fv=Object.getOwnPropertyDescriptor,yl=(t,e,r,o)=>{for(var i=o>1?void 0:o?fv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&vv(e,r,i),i};let Nr=class extends v{constructor(){super(...arguments),this._tabElements=[],this._onTabClicked=t=>{const e=t.currentTarget;this._elementIsTabLike(e)&&(e.active=!0,this._tabElements.filter(o=>o!==e).forEach(o=>{this._elementIsTabLike(o)&&(o.active=!1)}))}}_setTabArray(){this._tabElements=this._slottedNodes?this._slottedNodes:[]}_onSlotChange(){this._tabElements.forEach(t=>{t.removeEventListener("click",this._onTabClicked)}),this._setTabArray(),this._tabElements.forEach(t=>{t.addEventListener("click",this._onTabClicked)})}_elementIsTabLike(t){return t instanceof We||"active"in t}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","tablist")}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};Nr.styles=[h`
5527
+ `],Ri([a({type:Boolean,reflect:!0})],Ke.prototype,"disabled",2),Ri([a({type:String})],Ke.prototype,"href",2),Ri([a({type:String})],Ke.prototype,"target",2),Ke=Ri([p("uui-tab")],Ke);var Sv=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,kl=(t,e,r,o)=>{for(var i=o>1?void 0:o?kv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Sv(e,r,i),i};let Tr=class extends v{constructor(){super(...arguments),this._tabElements=[],this._onTabClicked=t=>{const e=t.currentTarget;this._elementIsTabLike(e)&&(e.active=!0,this._tabElements.filter(o=>o!==e).forEach(o=>{this._elementIsTabLike(o)&&(o.active=!1)}))}}_setTabArray(){this._tabElements=this._slottedNodes?this._slottedNodes:[]}_onSlotChange(){this._tabElements.forEach(t=>{t.removeEventListener("click",this._onTabClicked)}),this._setTabArray(),this._tabElements.forEach(t=>{t.addEventListener("click",this._onTabClicked)})}_elementIsTabLike(t){return t instanceof Ke||"active"in t}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","tablist")}render(){return l` <slot @slotchange=${this._onSlotChange}></slot> `}};Tr.styles=[d`
5350
5528
  :host {
5351
5529
  display: flex;
5352
5530
  flex-wrap: wrap;
@@ -5359,7 +5537,7 @@
5359
5537
  ::slotted(*:not(:last-of-type)) {
5360
5538
  border-right: 1px solid var(--uui-tab-divider, none);
5361
5539
  }
5362
- `],yl([je({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],Nr.prototype,"_slottedNodes",2),Nr=yl([p("uui-tab-group")],Nr);class bv extends O{}class gv extends O{}var mv=Object.defineProperty,_v=Object.getOwnPropertyDescriptor,Ko=(t,e,r,o)=>{for(var i=o>1?void 0:o?_v(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&mv(e,r,i),i};let er=class extends v{constructor(){super(...arguments),this.color="default",this.look="primary"}render(){return l`<slot></slot>`}};er.styles=[h`
5540
+ `],kl([Be({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],Tr.prototype,"_slottedNodes",2),Tr=kl([p("uui-tab-group")],Tr);class zv extends O{}class Iv extends O{}var Av=Object.defineProperty,Uv=Object.getOwnPropertyDescriptor,Zo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Uv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Av(e,r,i),i};let tr=class extends v{constructor(){super(...arguments),this.color="default",this.look="primary"}render(){return l`<slot></slot>`}};tr.styles=[d`
5363
5541
  :host {
5364
5542
  display: inline-block;
5365
5543
  font-size: var(--uui-tag-font-size, var(--uui-type-small-size,12px));
@@ -5385,13 +5563,13 @@
5385
5563
  --color-contrast: var(--uui-color-default-contrast,#fff);
5386
5564
  }
5387
5565
  :host([color='positive']) {
5388
- --color: var(--uui-color-positive,#25aa60);
5389
- --color-standalone: var(--uui-color-positive-standalone,rgb(38, 156, 91));
5566
+ --color: var(--uui-color-positive,#1f9554);
5567
+ --color-standalone: var(--uui-color-positive-standalone,#19864a);
5390
5568
  --color-contrast: var(--uui-color-positive-contrast,#fff);
5391
5569
  }
5392
5570
  :host([color='warning']) {
5393
- --color: var(--uui-color-warning,#fad634);
5394
- --color-standalone: var(--uui-color-warning-standalone,rgb(224, 193, 51));
5571
+ --color: var(--uui-color-warning,#fbd142);
5572
+ --color-standalone: var(--uui-color-warning-standalone,#a17700);
5395
5573
  --color-contrast: var(--uui-color-warning-contrast,#000);
5396
5574
  }
5397
5575
  :host([color='danger']) {
@@ -5426,14 +5604,14 @@
5426
5604
  color: var(--color-standalone);
5427
5605
  border-color: var(--uui-color-border-standalone,#c2c2c2);
5428
5606
  }
5429
- `],Ko([a({reflect:!0})],er.prototype,"color",2),Ko([a({reflect:!0})],er.prototype,"look",2),er=Ko([p("uui-tag")],er);var yv=Object.defineProperty,wl=Object.getOwnPropertySymbols,wv=Object.prototype.hasOwnProperty,xv=Object.prototype.propertyIsEnumerable,xl=(t,e,r)=>e in t?yv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,$l=(t,e)=>{for(var r in e||(e={}))wv.call(e,r)&&xl(t,r,e[r]);if(wl)for(var r of wl(e))xv.call(e,r)&&xl(t,r,e[r]);return t};class Hr extends O{constructor(e,r={}){super(e,$l($l({},{bubbles:!0}),r))}}Hr.CHANGE="change",Hr.INPUT="input";var $v=Object.defineProperty,Ev=Object.getOwnPropertyDescriptor,B=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ev(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&$v(e,r,i),i};let A=class extends fe(v){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}focus(){var t;(t=this._textarea)==null||t.focus()}getFormElement(){return this._textarea}onInput(t){this.value=t.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new Hr(Hr.CHANGE))}autoUpdateHeight(){const t=this.shadowRoot.host,e=this._textarea,r=t.scrollTop,o=getComputedStyle(t).height;t.style.display="block",t.style.height=o,e.style.height="auto",e.scrollHeight>e.clientHeight&&(e.style.height=e.scrollHeight+"px"),t.style.removeProperty("display"),t.style.removeProperty("height"),t.scrollTop=r}render(){return l`
5607
+ `],Zo([a({reflect:!0})],tr.prototype,"color",2),Zo([a({reflect:!0})],tr.prototype,"look",2),tr=Zo([p("uui-tag")],tr);var Dv=Object.defineProperty,zl=Object.getOwnPropertySymbols,Lv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable,Il=(t,e,r)=>e in t?Dv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Al=(t,e)=>{for(var r in e||(e={}))Lv.call(e,r)&&Il(t,r,e[r]);if(zl)for(var r of zl(e))Nv.call(e,r)&&Il(t,r,e[r]);return t};class Mr extends O{constructor(e,r={}){super(e,Al(Al({},{bubbles:!0}),r))}}Mr.CHANGE="change",Mr.INPUT="input";var Hv=Object.defineProperty,Tv=Object.getOwnPropertyDescriptor,B=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Hv(e,r,i),i};let U=class extends fe(v){constructor(){super(),this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}focus(){var t;(t=this._textarea)==null||t.focus()}getFormElement(){return this._textarea}onInput(t){this.value=t.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(t){t.stopPropagation(),this.pristine=!1,this.dispatchEvent(new Mr(Mr.CHANGE))}autoUpdateHeight(){const t=this.shadowRoot.host,e=this._textarea,r=t.scrollTop,o=getComputedStyle(t).height;t.style.display="block",t.style.height=o,e.style.height="auto",e.scrollHeight>e.clientHeight&&(e.style.height=e.scrollHeight+"px"),t.style.removeProperty("display"),t.style.removeProperty("height"),t.scrollTop=r}render(){return l`
5430
5608
  <textarea
5431
5609
  id="textarea"
5432
5610
  .rows=${this.rows}
5433
5611
  .cols=${this.cols}
5434
5612
  .value=${this.value}
5435
5613
  .name=${this.name}
5436
- wrap=${L(this.wrap)}
5614
+ wrap=${I(this.wrap)}
5437
5615
  placeholder=${this.placeholder}
5438
5616
  aria-label=${this.label}
5439
5617
  .disabled=${this.disabled}
@@ -5441,7 +5619,7 @@
5441
5619
  @input=${this.onInput}
5442
5620
  @change=${this.onChange}>
5443
5621
  </textarea>
5444
- `}};A.formAssociated=!0,A.styles=[h`
5622
+ `}};U.formAssociated=!0,U.styles=[d`
5445
5623
  :host {
5446
5624
  position: relative;
5447
5625
  }
@@ -5524,7 +5702,7 @@
5524
5702
  outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
5525
5703
  var(--uui-color-focus,#3879ff);
5526
5704
  }
5527
- `],B([a()],A.prototype,"placeholder",2),B([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2),B([a({type:Boolean,reflect:!0})],A.prototype,"readonly",2),B([a({type:String})],A.prototype,"name",2),B([a({type:Boolean,reflect:!0})],A.prototype,"error",2),B([a({type:Number})],A.prototype,"minlength",2),B([a({type:String,attribute:"minlength-message"})],A.prototype,"minlengthMessage",2),B([a({type:Number})],A.prototype,"maxlength",2),B([a({type:String,attribute:"maxlength-message"})],A.prototype,"maxlengthMessage",2),B([C("#textarea")],A.prototype,"_textarea",2),B([a({type:Boolean,attribute:"auto-height",reflect:!0})],A.prototype,"autoHeight",2),B([a({type:String})],A.prototype,"label",2),B([a({type:Number})],A.prototype,"rows",2),B([a({type:Number})],A.prototype,"cols",2),B([a({type:String})],A.prototype,"wrap",2),A=B([p("uui-textarea")],A);class R extends O{}R.OPENING="opening",R.OPENED="opened",R.CLOSING="closing",R.CLOSED="closed";var Pv=Object.defineProperty,Cv=Object.getOwnPropertyDescriptor,tr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Cv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Pv(e,r,i),i};let Me=class extends v{constructor(){super(),this.color="",this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._open=!1,this._animate=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",t=>{t.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,t!==null?(this._timer===null?this._timer=new Bc(this._onOpenTimerComplete,t):this._timer.setDuration(t),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):((e=this._timer)==null||e.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(t){t===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),m(this,"uui-button"),m(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new R(R.OPENING)),this._animationTimeout=window.setTimeout(()=>{var t;this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&((t=this._timer)==null||t.start()),this.dispatchEvent(new R(R.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){var t;if(this._open===!1)return;const e=new R(R.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,(t=this._timer)==null||t.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new R(R.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return l`
5705
+ `],B([a()],U.prototype,"placeholder",2),B([a({type:Boolean,reflect:!0})],U.prototype,"disabled",2),B([a({type:Boolean,reflect:!0})],U.prototype,"readonly",2),B([a({type:String})],U.prototype,"name",2),B([a({type:Boolean,reflect:!0})],U.prototype,"error",2),B([a({type:Number})],U.prototype,"minlength",2),B([a({type:String,attribute:"minlength-message"})],U.prototype,"minlengthMessage",2),B([a({type:Number})],U.prototype,"maxlength",2),B([a({type:String,attribute:"maxlength-message"})],U.prototype,"maxlengthMessage",2),B([C("#textarea")],U.prototype,"_textarea",2),B([a({type:Boolean,attribute:"auto-height",reflect:!0})],U.prototype,"autoHeight",2),B([a({type:String})],U.prototype,"label",2),B([a({type:Number})],U.prototype,"rows",2),B([a({type:Number})],U.prototype,"cols",2),B([a({type:String})],U.prototype,"wrap",2),U=B([p("uui-textarea")],U);class R extends O{}R.OPENING="opening",R.OPENED="opened",R.CLOSING="closing",R.CLOSED="closed";var Mv=Object.defineProperty,jv=Object.getOwnPropertyDescriptor,rr=(t,e,r,o)=>{for(var i=o>1?void 0:o?jv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Mv(e,r,i),i};let je=class extends v{constructor(){super(),this.color="",this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._open=!1,this._animate=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",t=>{t.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,t!==null?(this._timer===null?this._timer=new th(this._onOpenTimerComplete,t):this._timer.setDuration(t),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):((e=this._timer)==null||e.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(t){t===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),_(this,"uui-button"),_(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new R(R.OPENING)),this._animationTimeout=window.setTimeout(()=>{var t;this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&((t=this._timer)==null||t.start()),this.dispatchEvent(new R(R.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){var t;if(this._open===!1)return;const e=new R(R.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,(t=this._timer)==null||t.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new R(R.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return l`
5528
5706
  <div id="toast" class=${this._animate?"animate":""}>
5529
5707
  <div>
5530
5708
  <div id="close">
@@ -5535,13 +5713,13 @@
5535
5713
  @click=${()=>this.open=!1}>
5536
5714
  <uui-icon
5537
5715
  name="remove"
5538
- .fallback=${vn.strings[0]}></uui-icon>
5716
+ .fallback=${wn.strings[0]}></uui-icon>
5539
5717
  </uui-button>
5540
5718
  </div>
5541
5719
  <slot></slot>
5542
5720
  </div>
5543
5721
  </div>
5544
- `}};Me.styles=[Xr,h`
5722
+ `}};je.styles=[Xr,d`
5545
5723
  :host {
5546
5724
  --uui-toast-notification-margin: var(--uui-size-space-2,6px);
5547
5725
 
@@ -5623,21 +5801,21 @@
5623
5801
  border-color: var(--uui-color-default-standalone,rgb(28, 35, 59));
5624
5802
  }
5625
5803
  :host([color='positive']) #toast > div {
5626
- background-color: var(--uui-color-positive,#25aa60);
5804
+ background-color: var(--uui-color-positive,#1f9554);
5627
5805
  color: var(--uui-color-positive-contrast,#fff);
5628
- border-color: var(--uui-color-positive-standalone,rgb(38, 156, 91));
5806
+ border-color: var(--uui-color-positive-standalone,#19864a);
5629
5807
  }
5630
5808
  :host([color='warning']) #toast > div {
5631
- background-color: var(--uui-color-warning,#fad634);
5809
+ background-color: var(--uui-color-warning,#fbd142);
5632
5810
  color: var(--uui-color-warning-contrast,#000);
5633
- border-color: var(--uui-color-warning-standalone,rgb(224, 193, 51));
5811
+ border-color: var(--uui-color-warning-standalone,#a17700);
5634
5812
  }
5635
5813
  :host([color='danger']) #toast > div {
5636
5814
  background-color: var(--uui-color-danger,#d42054);
5637
5815
  color: var(--uui-color-danger-contrast,white);
5638
5816
  border-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
5639
5817
  }
5640
- `],tr([a({reflect:!0})],Me.prototype,"color",2),tr([a({type:Number})],Me.prototype,"autoClose",1),tr([C("#toast")],Me.prototype,"_toastEl",2),tr([f()],Me.prototype,"_animate",2),tr([a({type:Boolean,reflect:!0})],Me.prototype,"open",1),Me=tr([p("uui-toast-notification")],Me);var Ov=Object.defineProperty,Sv=Object.getOwnPropertyDescriptor,El=(t,e,r,o)=>{for(var i=o>1?void 0:o?Sv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Ov(e,r,i),i};let Mr=class extends v{constructor(){super(...arguments),this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{var t;this._autoClosePause=!0,(t=this._toasts)==null||t.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{var t;this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,(t=this._toasts)==null||t.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=t=>{this.removeToast(t.target)},this._toasts=[],this.onSlotChanged=t=>{const e=[...this._toasts];this._toasts=t.target.assignedElements({flatten:!0}).filter(i=>i.nodeName==="UUI-TOAST-NOTIFICATION"),e.filter(i=>this._toasts.indexOf(i)===-1).forEach(i=>{i.removeEventListener(R.CLOSED,this.onToastClosed),i.removeEventListener("mouseenter",this.pauseAutoClose),i.removeEventListener("mouseleave",this.resumeAutoClose),i.removeEventListener("focus",this.pauseAutoClose),i.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(i=>e.indexOf(i)===-1).forEach(i=>{i.addEventListener(R.CLOSED,this.onToastClosed),i.addEventListener("mouseenter",this.pauseAutoClose),i.addEventListener("mouseleave",this.resumeAutoClose),i.addEventListener("focus",this.pauseAutoClose),i.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(i.autoClose=this._autoClose),this._autoClosePause===!0&&i.pauseAutoClose(),i.open=!0})}}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,(e=this._toasts)==null||e.forEach(r=>r.autoClose=t)}removeToast(t){if(!t)t=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(t)===-1){console.warn("Toast-notification",t,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(t)}closeToast(t){let e=t;e||(e=this._toasts[this._toasts.length-1]),e.open=!1}render(){return l` <slot @slotchange=${this.onSlotChanged}></slot> `}};Mr.styles=[h`
5818
+ `],rr([a({reflect:!0})],je.prototype,"color",2),rr([a({type:Number})],je.prototype,"autoClose",1),rr([C("#toast")],je.prototype,"_toastEl",2),rr([f()],je.prototype,"_animate",2),rr([a({type:Boolean,reflect:!0})],je.prototype,"open",1),je=rr([p("uui-toast-notification")],je);var Vv=Object.defineProperty,Bv=Object.getOwnPropertyDescriptor,Ul=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Vv(e,r,i),i};let jr=class extends v{constructor(){super(...arguments),this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{var t;this._autoClosePause=!0,(t=this._toasts)==null||t.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{var t;this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,(t=this._toasts)==null||t.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=t=>{this.removeToast(t.target)},this._toasts=[],this.onSlotChanged=t=>{const e=[...this._toasts];this._toasts=t.target.assignedElements({flatten:!0}).filter(i=>i.nodeName==="UUI-TOAST-NOTIFICATION"),e.filter(i=>this._toasts.indexOf(i)===-1).forEach(i=>{i.removeEventListener(R.CLOSED,this.onToastClosed),i.removeEventListener("mouseenter",this.pauseAutoClose),i.removeEventListener("mouseleave",this.resumeAutoClose),i.removeEventListener("focus",this.pauseAutoClose),i.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(i=>e.indexOf(i)===-1).forEach(i=>{i.addEventListener(R.CLOSED,this.onToastClosed),i.addEventListener("mouseenter",this.pauseAutoClose),i.addEventListener("mouseleave",this.resumeAutoClose),i.addEventListener("focus",this.pauseAutoClose),i.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(i.autoClose=this._autoClose),this._autoClosePause===!0&&i.pauseAutoClose(),i.open=!0})}}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,(e=this._toasts)==null||e.forEach(r=>r.autoClose=t)}removeToast(t){if(!t)t=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(t)===-1){console.warn("Toast-notification",t,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(t)}closeToast(t){let e=t;e||(e=this._toasts[this._toasts.length-1]),e.open=!1}render(){return l` <slot @slotchange=${this.onSlotChanged}></slot> `}};jr.styles=[d`
5641
5819
  :host {
5642
5820
  position: absolute;
5643
5821
  overflow: hidden;
@@ -5665,7 +5843,7 @@
5665
5843
  :host([left-align]) slot {
5666
5844
  align-items: start;
5667
5845
  }
5668
- `],El([a({type:Number,reflect:!0,attribute:"auto-close"})],Mr.prototype,"_autoClose",2),Mr=El([p("uui-toast-notification-container")],Mr);var kv=Object.defineProperty,zv=Object.getOwnPropertyDescriptor,Xo=(t,e,r,o)=>{for(var i=o>1?void 0:o?zv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&kv(e,r,i),i};let rr=class extends v{constructor(){super(...arguments),this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}render(){return l`
5846
+ `],Ul([a({type:Number,reflect:!0,attribute:"auto-close"})],jr.prototype,"_autoClose",2),jr=Ul([p("uui-toast-notification-container")],jr);var Rv=Object.defineProperty,Fv=Object.getOwnPropertyDescriptor,Qo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Rv(e,r,i),i};let ir=class extends v{constructor(){super(...arguments),this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}render(){return l`
5669
5847
  <div id="message" class="uui-text">
5670
5848
  <h5
5671
5849
  style=${this._headlineSlotHasContent||this.headline&&this.headline!==""?"":"display: none"}>
@@ -5675,7 +5853,7 @@
5675
5853
  <slot></slot>
5676
5854
  <slot id="actions" name="actions"></slot>
5677
5855
  </div>
5678
- `}};rr.styles=[Xr,h`
5856
+ `}};ir.styles=[Xr,d`
5679
5857
  #message {
5680
5858
  margin-bottom: calc(var(--uui-size-space-1,3px) * -1);
5681
5859
  }
@@ -5696,12 +5874,12 @@
5696
5874
  margin-top: var(--uui-size-space-4,12px);
5697
5875
  margin-bottom: calc(var(--uui-size-space-2,6px) * -1);
5698
5876
  }
5699
- `],Xo([a({type:String})],rr.prototype,"headline",2),Xo([f()],rr.prototype,"_headlineSlotHasContent",2),rr=Xo([p("uui-toast-notification-layout")],rr);var Iv=Object.defineProperty,Av=Object.getOwnPropertyDescriptor,Uv=(t,e,r,o)=>{for(var i=o>1?void 0:o?Av(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Iv(e,r,i),i};let Tr=class extends be{constructor(){super("switch")}renderCheckbox(){return l`
5877
+ `],Qo([a({type:String})],ir.prototype,"headline",2),Qo([f()],ir.prototype,"_headlineSlotHasContent",2),ir=Qo([p("uui-toast-notification-layout")],ir);var Gv=Object.defineProperty,qv=Object.getOwnPropertyDescriptor,Wv=(t,e,r,o)=>{for(var i=o>1?void 0:o?qv(e,r):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(i=(o?n(e,r,i):n(i))||i);return o&&i&&Gv(e,r,i),i};let Vr=class extends be{constructor(){super("switch")}renderCheckbox(){return l`
5700
5878
  <div id="slider">
5701
- <div id="icon-check">${ai}</div>
5702
- <div id="icon-wrong">${fn}</div>
5879
+ <div id="icon-check">${ni}</div>
5880
+ <div id="icon-wrong">${xn}</div>
5703
5881
  </div>
5704
- `}};Tr.formAssociated=!0,Tr.styles=[...be.styles,ii,h`
5882
+ `}};Vr.formAssociated=!0,Vr.styles=[...be.styles,ri,d`
5705
5883
  :host {
5706
5884
  --uui-toggle-size: 18px;
5707
5885
  --uui-toggle-switch-width: calc(2 * var(--uui-toggle-size));
@@ -5821,7 +5999,7 @@
5821
5999
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
5822
6000
  }
5823
6001
  :host([disabled]) label:active #slider {
5824
- animation: ${oi};
6002
+ animation: ${ii};
5825
6003
  }
5826
6004
  :host([disabled]) input:checked #slider #icon-check {
5827
6005
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
@@ -5834,4 +6012,4 @@
5834
6012
  :host(:not([pristine])[internals-invalid]) label:hover #slider {
5835
6013
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
5836
6014
  }
5837
- `],Tr=Uv([p("uui-toggle")],Tr);export{ru as ActiveMixin,fu as FormControlMixin,mu as InterfaceColorValues,gu as InterfaceLookValues,su as LabelMixin,du as SelectOnlyMixin,lu as SelectableMixin,_u as Timer,Yr as UUIActionBarElement,Pe as UUIAvatarElement,st as UUIAvatarGroupElement,nt as UUIBadgeElement,Ml as UUIBlinkAnimationValue,Hl as UUIBlinkKeyframes,be as UUIBooleanInputElement,ei as UUIBooleanInputEvent,lt as UUIBoxElement,ut as UUIBreadcrumbItemElement,ur as UUIBreadcrumbsElement,W as UUIButtonElement,Pt as UUIButtonGroupElement,ct as UUIButtonInlineCreateElement,si as UUIButtonInlineCreateEvent,Dt as UUICardContentNodeElement,J as UUICardElement,Ut as UUICardEvent,ht as UUICardMediaElement,hr as UUICardUserElement,dr as UUICaretElement,pr as UUICheckboxElement,re as UUIColorAreaElement,di as UUIColorAreaEvent,fi as UUIColorPickerChangeEvent,z as UUIColorPickerElement,oe as UUIColorSliderElement,bi as UUIColorSliderEvent,pt as UUIColorSwatchElement,Nt as UUIColorSwatchesElement,Lt as UUIColorSwatchesEvent,G as UUIComboboxElement,K as UUIComboboxEvent,ye as UUIComboboxListElement,le as UUIComboboxListEvent,Ae as UUIComboboxListOptionElement,_i as UUIDialogElement,Mt as UUIDialogLayoutElement,no as UUIEvent,Be as UUIFileDropzoneElement,Tt as UUIFileDropzoneEvent,X as UUIFilePreviewElement,rt as UUIFormControlEvent,Po as UUIFormElement,ft as UUIFormLayoutItemElement,_r as UUIFormValidationMessageElement,jl as UUIHorizontalPulseAnimationValue,Tl as UUIHorizontalPulseKeyframes,Bl as UUIHorizontalShakeAnimationValue,Vl as UUIHorizontalShakeKeyframes,Ue as UUIIconElement,So as UUIIconHost,ko as UUIIconRegistry,yr as UUIIconRegistryElement,Sa as UUIIconRegistryEssential,zo as UUIIconRegistryEssentialElement,jt as UUIIconRequestEvent,k as UUIInputElement,bt as UUIInputEvent,De as UUIInputFileElement,wr as UUIInputLockElement,Rt as UUIInputPasswordElement,xi as UUIKeyElement,wi as UUIKeyboardShortcutElement,gt as UUILabelElement,Ft as UUILoaderBarElement,Gt as UUILoaderCircleElement,Ei as UUILoaderElement,ce as UUIMenuItemElement,Le as UUIMenuItemEvent,Ne as UUIModalContainerElement,Ii as UUIModalDialogElement,Y as UUIModalElement,Wt as UUIModalSidebarElement,ne as UUIPaginationElement,Fe as UUIPaginationEvent,Ge as UUIPopoverElement,Er as UUIProgressBarElement,he as UUIRadioElement,Xt as UUIRadioEvent,Yt as UUIRadioGroupElement,Ui as UUIRadioGroupEvent,P as UUIRangeSliderElement,qe as UUIRefElement,Zt as UUIRefEvent,Di as UUIRefListElement,Pr as UUIRefNodeDataTypeElement,Cr as UUIRefNodeDocumentTypeElement,U as UUIRefNodeElement,Ni as UUIRefNodeFormElement,Or as UUIRefNodeMemberElement,Qt as UUIRefNodePackageElement,Sr as UUIRefNodeUserElement,kr as UUIScrollContainerElement,Z as UUISelectElement,Hi as UUISelectEvent,it as UUISelectableEvent,T as UUISliderElement,_t as UUISliderEvent,Ir as UUISymbolExpandElement,Ar as UUISymbolFileDropzoneElement,cr as UUISymbolFileElement,Jt as UUISymbolFileThumbnailElement,li as UUISymbolFolderElement,Ur as UUISymbolLockElement,Mi as UUISymbolMoreElement,Dr as UUISymbolSortElement,We as UUITabElement,bv as UUITabEvent,Nr as UUITabGroupElement,gv as UUITabGroupEvent,$e as UUITableCellElement,Vi as UUITableColumnElement,Ti as UUITableElement,Bi as UUITableHeadCellElement,Ri as UUITableHeadElement,Lr as UUITableRowElement,er as UUITagElement,Xr as UUITextStyles,A as UUITextareaElement,Hr as UUITextareaEvent,Mr as UUIToastNotificationContainerElement,Me as UUIToastNotificationElement,R as UUIToastNotificationEvent,rr as UUIToastNotificationLayoutElement,Tr as UUIToggleElement,xu as clamp,bu as defineElement,yu as demandCustomElement,wu as drag,$u as reverseNumberInRange,Eu as toHex};
6015
+ `],Vr=Wv([p("uui-toggle")],Vr);export{hu as ActiveMixin,Eu as FormControlMixin,Ou as InterfaceColorValues,Su as InterfaceHeadingValues,Cu as InterfaceLookValues,vu as LabelMixin,wu as SelectOnlyMixin,gu as SelectableMixin,ku as Timer,Yr as UUIActionBarElement,Pe as UUIAvatarElement,nt as UUIAvatarGroupElement,at as UUIBadgeElement,Wl as UUIBlinkAnimationValue,ql as UUIBlinkKeyframes,be as UUIBooleanInputElement,ei as UUIBooleanInputEvent,Ce as UUIBoxElement,ut as UUIBreadcrumbItemElement,hr as UUIBreadcrumbsElement,W as UUIButtonElement,Pt as UUIButtonGroupElement,ct as UUIButtonInlineCreateElement,oi as UUIButtonInlineCreateEvent,Lt as UUICardContentNodeElement,J as UUICardElement,Dt as UUICardEvent,ht as UUICardMediaElement,pr as UUICardUserElement,vr as UUICaretElement,fr as UUICheckboxElement,re as UUIColorAreaElement,hi as UUIColorAreaEvent,vi as UUIColorPickerChangeEvent,z as UUIColorPickerElement,oe as UUIColorSliderElement,fi as UUIColorSliderEvent,pt as UUIColorSwatchElement,Ht as UUIColorSwatchesElement,Nt as UUIColorSwatchesEvent,G as UUIComboboxElement,K as UUIComboboxEvent,ye as UUIComboboxListElement,ue as UUIComboboxListEvent,Ue as UUIComboboxListOptionElement,mi as UUIDialogElement,Mt as UUIDialogLayoutElement,no as UUIEvent,Fe as UUIFileDropzoneElement,jt as UUIFileDropzoneEvent,X as UUIFilePreviewElement,it as UUIFormControlEvent,Co as UUIFormElement,ft as UUIFormLayoutItemElement,wr as UUIFormValidationMessageElement,Xl as UUIHorizontalPulseAnimationValue,Kl as UUIHorizontalPulseKeyframes,Zl as UUIHorizontalShakeAnimationValue,Yl as UUIHorizontalShakeKeyframes,De as UUIIconElement,ko as UUIIconHost,zo as UUIIconRegistry,xr as UUIIconRegistryElement,La as UUIIconRegistryEssential,Io as UUIIconRegistryEssentialElement,Vt as UUIIconRequestEvent,k as UUIInputElement,bt as UUIInputEvent,Le as UUIInputFileElement,$r as UUIInputLockElement,Ft as UUIInputPasswordElement,wi as UUIKeyElement,yi as UUIKeyboardShortcutElement,gt as UUILabelElement,Gt as UUILoaderBarElement,qt as UUILoaderCircleElement,$i as UUILoaderElement,ne as UUIMenuItemElement,Ne as UUIMenuItemEvent,Te as UUIModalContainerElement,zi as UUIModalDialogElement,Y as UUIModalElement,Kt as UUIModalSidebarElement,ae as UUIPaginationElement,Ge as UUIPaginationEvent,qe as UUIPopoverElement,Cr as UUIProgressBarElement,he as UUIRadioElement,Yt as UUIRadioEvent,Zt as UUIRadioGroupElement,Ai as UUIRadioGroupEvent,P as UUIRangeSliderElement,We as UUIRefElement,Qt as UUIRefEvent,Ui as UUIRefListElement,Or as UUIRefNodeDataTypeElement,Sr as UUIRefNodeDocumentTypeElement,D as UUIRefNodeElement,Li as UUIRefNodeFormElement,kr as UUIRefNodeMemberElement,Jt as UUIRefNodePackageElement,zr as UUIRefNodeUserElement,Ir as UUIScrollContainerElement,Z as UUISelectElement,Ni as UUISelectEvent,ot as UUISelectableEvent,j as UUISliderElement,_t as UUISliderEvent,Ur as UUISymbolExpandElement,Dr as UUISymbolFileDropzoneElement,dr as UUISymbolFileElement,er as UUISymbolFileThumbnailElement,ai as UUISymbolFolderElement,Lr as UUISymbolLockElement,Hi as UUISymbolMoreElement,Nr as UUISymbolSortElement,Ke as UUITabElement,zv as UUITabEvent,Tr as UUITabGroupElement,Iv as UUITabGroupEvent,$e as UUITableCellElement,ji as UUITableColumnElement,Ti as UUITableElement,Vi as UUITableHeadCellElement,Bi as UUITableHeadElement,Hr as UUITableRowElement,tr as UUITagElement,Xr as UUITextStyles,U as UUITextareaElement,Mr as UUITextareaEvent,jr as UUIToastNotificationContainerElement,je as UUIToastNotificationElement,R as UUIToastNotificationEvent,ir as UUIToastNotificationLayoutElement,Vr as UUIToggleElement,Au as clamp,Pu as defineElement,zu as demandCustomElement,Iu as drag,Uu as reverseNumberInRange,Du as toHex};