@umbraco-cms/backoffice 14.0.0-59f7ab3a → 14.0.0-5de3fef4

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 (189) hide show
  1. package/dist-cms/external/backend-api/index.js +1 -1
  2. package/dist-cms/external/lit/index.js +27 -27
  3. package/dist-cms/external/monaco-editor/{abap-7ad4f8f0.js → abap-b029dff1.js} +1 -1
  4. package/dist-cms/external/monaco-editor/{apex-30597c49.js → apex-039bfc5f.js} +1 -1
  5. package/dist-cms/external/monaco-editor/assets/{bundle-a4f90d1d.css → bundle-b9e43664.css} +25 -13
  6. package/dist-cms/external/monaco-editor/{azcli-67c34a04.js → azcli-f1f7c576.js} +1 -1
  7. package/dist-cms/external/monaco-editor/{bat-b8f4738b.js → bat-86aea46a.js} +1 -1
  8. package/dist-cms/external/monaco-editor/{bicep-b104b38b.js → bicep-75c0c4d5.js} +1 -1
  9. package/dist-cms/external/monaco-editor/{cameligo-001d1ded.js → cameligo-8043f913.js} +1 -1
  10. package/dist-cms/external/monaco-editor/{clojure-fa9652a1.js → clojure-73642b02.js} +1 -1
  11. package/dist-cms/external/monaco-editor/{coffee-b69a8315.js → coffee-a18badcf.js} +1 -1
  12. package/dist-cms/external/monaco-editor/{cpp-8053752f.js → cpp-4034161e.js} +1 -1
  13. package/dist-cms/external/monaco-editor/{csharp-886041a3.js → csharp-49cbf0d2.js} +1 -1
  14. package/dist-cms/external/monaco-editor/{csp-e846bce6.js → csp-d207cac4.js} +1 -1
  15. package/dist-cms/external/monaco-editor/{css-50032e5e.js → css-74326df0.js} +1 -1
  16. package/dist-cms/external/monaco-editor/{cssMode-c0406684.js → cssMode-57ec49ea.js} +2 -2
  17. package/dist-cms/external/monaco-editor/{cypher-6f93a845.js → cypher-49f5f839.js} +1 -1
  18. package/dist-cms/external/monaco-editor/{dart-14284236.js → dart-84b7c6b4.js} +1 -1
  19. package/dist-cms/external/monaco-editor/{dockerfile-e9935eb4.js → dockerfile-bbf114b2.js} +1 -1
  20. package/dist-cms/external/monaco-editor/{ecl-9c89f204.js → ecl-15840f49.js} +1 -1
  21. package/dist-cms/external/monaco-editor/{elixir-ca8bf661.js → elixir-e479e18e.js} +2 -2
  22. package/dist-cms/external/monaco-editor/{flow9-ac147227.js → flow9-42a61225.js} +1 -1
  23. package/dist-cms/external/monaco-editor/{freemarker2-793b7402.js → freemarker2-a72b9c0e.js} +2 -2
  24. package/dist-cms/external/monaco-editor/{fsharp-8eaad024.js → fsharp-8abe6da0.js} +1 -1
  25. package/dist-cms/external/monaco-editor/{go-05529e2e.js → go-8759e9f7.js} +1 -1
  26. package/dist-cms/external/monaco-editor/{graphql-8f5b3fdd.js → graphql-387d549c.js} +1 -1
  27. package/dist-cms/external/monaco-editor/{handlebars-aaa2fd96.js → handlebars-8fc61d07.js} +2 -2
  28. package/dist-cms/external/monaco-editor/{hcl-9e201a51.js → hcl-a88f331a.js} +1 -1
  29. package/dist-cms/external/monaco-editor/{html-1194c0aa.js → html-4320ed19.js} +2 -2
  30. package/dist-cms/external/monaco-editor/{htmlMode-36df69c6.js → htmlMode-95c2e58e.js} +2 -2
  31. package/dist-cms/external/monaco-editor/{index-7368f3e3.js → index-e4ee5993.js} +359 -354
  32. package/dist-cms/external/monaco-editor/index.js +1 -1
  33. package/dist-cms/external/monaco-editor/{ini-31a5619d.js → ini-18bf1153.js} +1 -1
  34. package/dist-cms/external/monaco-editor/{java-8c6e1ae8.js → java-000a6283.js} +1 -1
  35. package/dist-cms/external/monaco-editor/{javascript-86205709.js → javascript-13505434.js} +2 -2
  36. package/dist-cms/external/monaco-editor/{jsonMode-f663e935.js → jsonMode-1d541b8e.js} +2 -2
  37. package/dist-cms/external/monaco-editor/{julia-fbb2af47.js → julia-9a5df632.js} +1 -1
  38. package/dist-cms/external/monaco-editor/{kotlin-bfa96180.js → kotlin-06ee8898.js} +1 -1
  39. package/dist-cms/external/monaco-editor/{less-0b6a8ff1.js → less-dd86a68c.js} +1 -1
  40. package/dist-cms/external/monaco-editor/{lexon-585e5248.js → lexon-8d4b0444.js} +1 -1
  41. package/dist-cms/external/monaco-editor/{liquid-37adc07a.js → liquid-7aa20dd8.js} +2 -2
  42. package/dist-cms/external/monaco-editor/{lua-f6c17885.js → lua-9adddcd9.js} +1 -1
  43. package/dist-cms/external/monaco-editor/{m3-1b6456c5.js → m3-aa2dcf72.js} +1 -1
  44. package/dist-cms/external/monaco-editor/{markdown-7bc251f9.js → markdown-0f073a3a.js} +1 -1
  45. package/dist-cms/external/monaco-editor/mdx-8a1e4ae9.js +6 -0
  46. package/dist-cms/external/monaco-editor/{mips-2df76781.js → mips-bdd96c5a.js} +1 -1
  47. package/dist-cms/external/monaco-editor/{msdax-8c38e8b4.js → msdax-1ac55115.js} +1 -1
  48. package/dist-cms/external/monaco-editor/{mysql-abbb9ca3.js → mysql-b530c105.js} +1 -1
  49. package/dist-cms/external/monaco-editor/{objective-c-efbfd08b.js → objective-c-951ded7b.js} +1 -1
  50. package/dist-cms/external/monaco-editor/{pascal-08abee72.js → pascal-7442fd46.js} +1 -1
  51. package/dist-cms/external/monaco-editor/{pascaligo-200db0cf.js → pascaligo-385edc0e.js} +1 -1
  52. package/dist-cms/external/monaco-editor/{perl-079789ee.js → perl-d5fb326c.js} +1 -1
  53. package/dist-cms/external/monaco-editor/{pgsql-efd093d4.js → pgsql-2d7db25a.js} +1 -1
  54. package/dist-cms/external/monaco-editor/{php-75c530f2.js → php-1daff147.js} +1 -1
  55. package/dist-cms/external/monaco-editor/{pla-a55a2765.js → pla-1b3e1614.js} +1 -1
  56. package/dist-cms/external/monaco-editor/{postiats-6098f37b.js → postiats-9db13649.js} +1 -1
  57. package/dist-cms/external/monaco-editor/{powerquery-949bb7fe.js → powerquery-4c428232.js} +1 -1
  58. package/dist-cms/external/monaco-editor/{powershell-7e550b21.js → powershell-d3380668.js} +1 -1
  59. package/dist-cms/external/monaco-editor/{protobuf-25a4d695.js → protobuf-941cf3e8.js} +1 -1
  60. package/dist-cms/external/monaco-editor/{pug-f8c9f493.js → pug-cfe384ef.js} +1 -1
  61. package/dist-cms/external/monaco-editor/{python-78a47148.js → python-b84d078b.js} +2 -2
  62. package/dist-cms/external/monaco-editor/{qsharp-c4b94317.js → qsharp-e125d03f.js} +1 -1
  63. package/dist-cms/external/monaco-editor/{r-614353db.js → r-e0a01d4f.js} +1 -1
  64. package/dist-cms/external/monaco-editor/{razor-5de9ce12.js → razor-96e08c0a.js} +2 -2
  65. package/dist-cms/external/monaco-editor/{redis-fb089f4d.js → redis-d0a12fea.js} +1 -1
  66. package/dist-cms/external/monaco-editor/{redshift-a620fcb0.js → redshift-a163b94a.js} +1 -1
  67. package/dist-cms/external/monaco-editor/{restructuredtext-7ab09fcf.js → restructuredtext-5a906e1a.js} +1 -1
  68. package/dist-cms/external/monaco-editor/{ruby-922be722.js → ruby-05b021bf.js} +1 -1
  69. package/dist-cms/external/monaco-editor/{rust-23e08578.js → rust-3d80982c.js} +1 -1
  70. package/dist-cms/external/monaco-editor/{sb-ccceec0f.js → sb-2020a5af.js} +1 -1
  71. package/dist-cms/external/monaco-editor/{scala-0535664d.js → scala-54469b4b.js} +1 -1
  72. package/dist-cms/external/monaco-editor/{scheme-dba621eb.js → scheme-ff6e5671.js} +1 -1
  73. package/dist-cms/external/monaco-editor/{scss-28539a11.js → scss-77902feb.js} +1 -1
  74. package/dist-cms/external/monaco-editor/{shell-5b92a834.js → shell-3c06def6.js} +1 -1
  75. package/dist-cms/external/monaco-editor/{solidity-f63d6049.js → solidity-3d59d6a7.js} +1 -1
  76. package/dist-cms/external/monaco-editor/{sophia-12e9ad90.js → sophia-12eb7ba8.js} +1 -1
  77. package/dist-cms/external/monaco-editor/{sparql-dedb74aa.js → sparql-e42fb28a.js} +1 -1
  78. package/dist-cms/external/monaco-editor/{sql-975a69d7.js → sql-d30fd9fd.js} +1 -1
  79. package/dist-cms/external/monaco-editor/{st-1904ae33.js → st-ba2e774a.js} +2 -2
  80. package/dist-cms/external/monaco-editor/{swift-e180a143.js → swift-f0a706dd.js} +1 -1
  81. package/dist-cms/external/monaco-editor/{systemverilog-c5592fac.js → systemverilog-0cfd4211.js} +1 -1
  82. package/dist-cms/external/monaco-editor/{tcl-996f4ac7.js → tcl-7df3c0c5.js} +1 -1
  83. package/dist-cms/external/monaco-editor/{tsMode-f4618e87.js → tsMode-4e2b13b8.js} +2 -2
  84. package/dist-cms/external/monaco-editor/twig-f894aab2.js +6 -0
  85. package/dist-cms/external/monaco-editor/{typescript-efea739f.js → typescript-6571f86d.js} +2 -2
  86. package/dist-cms/external/monaco-editor/{vb-ad68fa9a.js → vb-39a025f4.js} +1 -1
  87. package/dist-cms/external/monaco-editor/{wgsl-5ee7b1ca.js → wgsl-ea93d538.js} +1 -1
  88. package/dist-cms/external/monaco-editor/{xml-12b9ace3.js → xml-265c28d1.js} +2 -2
  89. package/dist-cms/external/monaco-editor/{yaml-65e08cff.js → yaml-cbd1aab5.js} +2 -2
  90. package/dist-cms/external/tinymce/index.js +20 -20
  91. package/dist-cms/external/uui/index.js +178 -178
  92. package/dist-cms/packages/core/modal/common/folder/folder-modal.element.d.ts +2 -2
  93. package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +2 -2
  94. package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.d.ts +1 -0
  95. package/dist-cms/packages/search/examine-management-dashboard/views/section-view-examine-indexers.js +3 -0
  96. package/dist-cms/packages/settings/data-types/repository/data-type.repository.d.ts +2 -2
  97. package/dist-cms/packages/settings/data-types/repository/sources/data-type-folder.server.data.d.ts +3 -3
  98. package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +2 -2
  99. package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +2 -2
  100. package/dist-cms/shared/repository/data-source/folder-data-source.interface.d.ts +3 -3
  101. package/dist-cms/shared/repository/folder-repository.interface.d.ts +3 -3
  102. package/dist-cms/shared/resources/resource.controller.js +2 -2
  103. package/dist-cms/tinymce/CHANGELOG.md +23 -0
  104. package/dist-cms/tinymce/composer.json +1 -1
  105. package/dist-cms/tinymce/langs/hy.js +2 -2
  106. package/dist-cms/tinymce/langs/id.js +19 -19
  107. package/dist-cms/tinymce/langs/it.js +2 -2
  108. package/dist-cms/tinymce/langs/ka_GE.js +132 -132
  109. package/dist-cms/tinymce/langs/ru.js +4 -4
  110. package/dist-cms/tinymce/langs/sk.js +7 -7
  111. package/dist-cms/tinymce/models/dom/model.js +1 -1
  112. package/dist-cms/tinymce/models/dom/model.min.js +1 -1
  113. package/dist-cms/tinymce/package.json +1 -1
  114. package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
  115. package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
  116. package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
  117. package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
  118. package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
  119. package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
  120. package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
  121. package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
  122. package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
  123. package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
  124. package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
  125. package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
  126. package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
  127. package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
  128. package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
  129. package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
  130. package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
  131. package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
  132. package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
  133. package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
  134. package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
  135. package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
  136. package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
  137. package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  138. package/dist-cms/tinymce/plugins/help/plugin.js +1 -1
  139. package/dist-cms/tinymce/plugins/help/plugin.min.js +1 -1
  140. package/dist-cms/tinymce/plugins/image/plugin.js +2 -2
  141. package/dist-cms/tinymce/plugins/image/plugin.min.js +2 -2
  142. package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
  143. package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
  144. package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
  145. package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  146. package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
  147. package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
  148. package/dist-cms/tinymce/plugins/lists/plugin.js +2 -2
  149. package/dist-cms/tinymce/plugins/lists/plugin.min.js +2 -2
  150. package/dist-cms/tinymce/plugins/media/plugin.js +1 -1
  151. package/dist-cms/tinymce/plugins/media/plugin.min.js +1 -1
  152. package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
  153. package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  154. package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
  155. package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  156. package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
  157. package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
  158. package/dist-cms/tinymce/plugins/quickbars/plugin.js +1 -1
  159. package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +1 -1
  160. package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
  161. package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
  162. package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
  163. package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  164. package/dist-cms/tinymce/plugins/table/plugin.js +1 -1
  165. package/dist-cms/tinymce/plugins/table/plugin.min.js +1 -1
  166. package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
  167. package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
  168. package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
  169. package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  170. package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
  171. package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
  172. package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
  173. package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
  174. package/dist-cms/tinymce/skins/ui/oxide/skin.css +15 -2
  175. package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
  176. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +15 -2
  177. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  178. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +15 -2
  179. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  180. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +15 -2
  181. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  182. package/dist-cms/tinymce/themes/silver/theme.js +181 -108
  183. package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
  184. package/dist-cms/tinymce/tinymce.d.ts +3 -0
  185. package/dist-cms/tinymce/tinymce.js +23 -15
  186. package/dist-cms/tinymce/tinymce.min.js +2 -2
  187. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  188. package/package.json +7 -7
  189. package/dist-cms/external/monaco-editor/twig-4859b551.js +0 -6
@@ -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 Fr=window,qi=Fr.ShadowRoot&&(Fr.ShadyCSS===void 0||Fr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wi=Symbol(),Zo=new WeakMap;let Qo=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=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,Wi),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,Wi)},Sl=(t,e)=>{qi?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=qi?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const o of e.cssRules)r+=o.cssText;return Te(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 Gr=window,es=Gr.trustedTypes,kl=es?es.emptyScript:"",ts=Gr.reactiveElementPolyfillSupport,Xi={toAttribute(t,e){switch(e){case Boolean:t=t?kl: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),Yi={attribute:!0,type:String,converter:Xi,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=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(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 Sl(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||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}),((Ki=Gr.reactiveElementVersions)!==null&&Ki!==void 0?Ki:Gr.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 qr=window,Et=qr.trustedTypes,is=Et?Et.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wr="$lit$",Ee=`lit$${(Math.random()+"").slice(9)}$`,Qi="?"+Ee,zl=`<${Qi}>`,Qe=document,sr=()=>Qe.createComment(""),nr=t=>t===null||typeof t!="object"&&typeof t!="function",os=Array.isArray,ss=t=>os(t)||typeof t?.[Symbol.iterator]=="function",Ji=`[
14
+ \f\r]`,ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ns=/-->/g,as=/>/g,Je=RegExp(`>|${Ji}(?:([^\\s"'>=/]+)(${Ji}*=${Ji}*(?:[^
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);function ps(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return is!==void 0?is.createHTML(e):e}const vs=(t,e)=>{const r=t.length-1,o=[];let i,s=e===2?"<svg>":"",n=ar;for(let u=0;u<r;u++){const c=t[u];let p,m,w=-1,b=0;for(;b<c.length&&(n.lastIndex=b,m=n.exec(c),m!==null);)b=n.lastIndex,n===ar?m[1]==="!--"?n=ns:m[1]!==void 0?n=as:m[2]!==void 0?(cs.test(m[2])&&(i=RegExp("</"+m[2],"g")),n=Je):m[3]!==void 0&&(n=Je):n===Je?m[0]===">"?(n=i??ar,w=-1):m[1]===void 0?w=-2:(w=n.lastIndex-m[2].length,p=m[1],n=m[3]===void 0?Je:m[3]==='"'?us:ls):n===us||n===ls?n=Je:n===ns||n===as?n=ar:(n=Je,i=void 0);const y=n===Je&&t[u+1].startsWith("/>")?" ":"";s+=n===ar?c+zl:w>=0?(o.push(p),c.slice(0,w)+Wr+c.slice(w)+Ee+y):c+Ee+(w===-2?(o.push(void 0),u):y)}return[ps(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),o]};let eo=class Cl{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let s=0,n=0;const u=e.length-1,c=this.parts,[p,m]=vs(e,r);if(this.el=Cl.createElement(p,o),et.currentNode=this.el.content,r===2){const w=this.el.content,b=w.firstChild;b.remove(),w.append(...b.childNodes)}for(;(i=et.nextNode())!==null&&c.length<u;){if(i.nodeType===1){if(i.hasAttributes()){const w=[];for(const b of i.getAttributeNames())if(b.endsWith(Wr)||b.startsWith(Ee)){const y=m[n++];if(w.push(b),y!==void 0){const x=i.getAttribute(y.toLowerCase()+Wr).split(Ee),$=/([.?@])?(.*)/.exec(y);c.push({type:1,index:s,name:$[2],strings:x,ctor:$[1]==="."?bs:$[1]==="?"?gs:$[1]==="@"?ms:lr})}else c.push({type:6,index:s})}for(const b of w)i.removeAttribute(b)}if(cs.test(i.tagName)){const w=i.textContent.split(Ee),b=w.length-1;if(b>0){i.textContent=Et?Et.emptyScript:"";for(let y=0;y<b;y++)i.append(w[y],sr()),et.nextNode(),c.push({type:2,index:++s});i.append(w[b],sr())}}}else if(i.nodeType===8)if(i.data===Qi)c.push({type:2,index:s});else{let w=-1;for(;(w=i.data.indexOf(Ee,w+1))!==-1;)c.push({type:7,index:s}),w+=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 p=nr(e)?void 0:e._$litDirective$;return c?.constructor!==p&&((s=c?._$AO)===null||s===void 0||s.call(c,!1),p===void 0?c=void 0:(c=new p(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 fs=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,p=i[0];for(;p!==void 0;){if(u===p.index){let m;p.type===2?m=new ir(n,n.nextSibling,this,e):p.type===1?m=new p.ctor(n,p.name,p.strings,this,e):p.type===6&&(m=new _s(n,this,e)),this._$AV.push(m),p=i[++c]}u!==p?.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++}};class ir{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),nr(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&&nr(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=eo.createElement(ps(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 fs(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 eo(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 ir(this.k(sr()),this.k(sr()),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 lr=class{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=!nr(e)||e!==this._$AH&&e!==F,n&&(this._$AH=e);else{const u=e;let c,p;for(e=s[0],c=0;c<s.length-1;c++)p=tt(this,u[o+c],r,c),p===F&&(p=this._$AH[c]),n||(n=!nr(p)||p!==this._$AH[c]),p===E?e=E:e!==E&&(e+=(p??"")+s[c+1]),this._$AH[c]=p}n&&!i&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bs=class extends lr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}};const Il=Et?Et.emptyScript:"";class gs extends lr{constructor(){super(...arguments),this.type=4}j(e){e&&e!==E?this.element.setAttribute(this.name,Il):this.element.removeAttribute(this.name)}}class ms extends lr{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 _s{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 Al={O:Wr,P:Ee,A:Qi,C:1,M:vs,L:fs,R:ss,D:tt,I:ir,V:lr,H:gs,N:ms,U:bs,F:_s},ys=qr.litHtmlPolyfillSupport;ys?.(eo,ir),((Zi=qr.litHtmlVersions)!==null&&Zi!==void 0?Zi:qr.litHtmlVersions=[]).push("2.8.0");const Ul=(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 ir(e.insertBefore(sr(),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=Ul(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 ws=globalThis.litElementPolyfillSupport;ws?.({LitElement:v}),((ro=globalThis.litElementVersions)!==null&&ro!==void 0?ro:globalThis.litElementVersions=[]).push("3.3.2");var Dl=`.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);
@@ -180,7 +180,7 @@
180
180
  margin-top: var(--uui-size-layout-1,24px);
181
181
  margin-bottom: var(--uui-size-layout-1,24px);
182
182
  }
183
- `;const Xr=Te(Ul);/**
183
+ `;const Kr=Te(Dl);/**
184
184
  * @license
185
185
  * Copyright 2017 Google LLC
186
186
  * SPDX-License-Identifier: BSD-3-Clause
@@ -188,7 +188,7 @@
188
188
  * @license
189
189
  * Copyright 2017 Google LLC
190
190
  * 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)}/**
191
+ */const Ll=(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):Ll(t,e)}/**
192
192
  * @license
193
193
  * Copyright 2017 Google LLC
194
194
  * SPDX-License-Identifier: BSD-3-Clause
@@ -204,11 +204,11 @@
204
204
  * @license
205
205
  * Copyright 2017 Google LLC
206
206
  * 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})})}/**
207
+ */function Nl(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
208
  * @license
209
209
  * Copyright 2021 Google LLC
210
210
  * 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`
211
+ */var so;const Hl=((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?Hl(n,t):[];return r?u.filter(c=>c.matches(r)):u},enumerable:!0,configurable:!0})})}const Ml=h`
212
212
  @keyframes uui-blink {
213
213
  0%,
214
214
  100% {
@@ -218,7 +218,7 @@
218
218
  opacity: 1;
219
219
  }
220
220
  }
221
- `,Ml=Te("uui-blink 0.9s infinite both"),Tl=h`
221
+ `,Tl=Te("uui-blink 0.9s infinite both"),jl=h`
222
222
  @keyframes pulse {
223
223
  0% {
224
224
  -webkit-transform: translate(-50%, -50%) scale(0.2);
@@ -236,7 +236,7 @@
236
236
  opacity: 0;
237
237
  }
238
238
  }
239
- `,jl=Te("pulse 0.8s ease-in-out infinite both"),Vl=h`
239
+ `,Vl=Te("pulse 0.8s ease-in-out infinite both"),Bl=h`
240
240
  @keyframes uui-horizontal-shake {
241
241
  10%,
242
242
  90% {
@@ -259,14 +259,14 @@
259
259
  transform: translateX(2px);
260
260
  }
261
261
  }
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`
262
+ `,Rl=Te("uui-horizontal-shake 600ms ease backwards");var Fl=Object.defineProperty,xs=Object.getOwnPropertySymbols,Gl=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable,$s=(t,e,r)=>e in t?Fl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Wl=(t,e)=>{for(var r in e||(e={}))Gl.call(e,r)&&$s(t,r,e[r]);if(xs)for(var r of xs(e))ql.call(e,r)&&$s(t,r,e[r]);return t};let no=class extends Event{constructor(e,r={}){super(e,Wl({},r)),this.detail=r.detail||{}}};var Kl=Object.defineProperty,Es=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,Ps=(t,e,r)=>e in t?Kl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Cs=(t,e)=>{for(var r in e||(e={}))Xl.call(e,r)&&Ps(t,r,e[r]);if(Es)for(var r of Es(e))Yl.call(e,r)&&Ps(t,r,e[r]);return t};let rt=class extends no{constructor(e,r={}){super(e,Cs(Cs({},{bubbles:!0}),r))}};rt.VALID="valid",rt.INVALID="invalid";var Zl=Object.defineProperty,Os=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Ss=(t,e,r)=>e in t?Zl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ks=(t,e)=>{for(var r in e||(e={}))Ql.call(e,r)&&Ss(t,r,e[r]);if(Os)for(var r of Os(e))Jl.call(e,r)&&Ss(t,r,e[r]);return t};let it=class extends no{constructor(e,r={}){super(e,ks(ks({},{bubbles:!0,cancelable:!0}),r))}};it.SELECTED="selected",it.DESELECTED="deselected";var eu=Object.defineProperty,tu=Object.getOwnPropertyDescriptor,ru=(t,e,r,o)=>{for(var i=o>1?void 0:o?tu(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&&eu(e,r,i),i};const iu=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return ru([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var ou=Object.defineProperty,su=Object.getOwnPropertyDescriptor,zs=(t,e,r,o)=>{for(var i=o>1?void 0:o?su(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&&ou(e,r,i),i};const nu=(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
263
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
264
264
  <slot
265
265
  class="label"
266
266
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
267
267
  name=${t||""}
268
268
  @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`
269
+ `}}return zs([a({type:String})],r.prototype,"label",2),zs([f()],r.prototype,"_labelSlotHasContent",2),r};var au=Object.defineProperty,lu=Object.getOwnPropertyDescriptor,Is=(t,e,r,o)=>{for(var i=o>1?void 0:o?lu(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&&au(e,r,i),i};const uu=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 Is([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Is([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var cu=Object.defineProperty,hu=Object.getOwnPropertyDescriptor,du=(t,e,r,o)=>{for(var i=o>1?void 0:o?hu(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&&cu(e,r,i),i};const pu=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 du([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var vu=Object.defineProperty,fu=Object.getOwnPropertyDescriptor,ot=(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&&vu(e,r,i),i};const bu=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 gu(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 mu=["default","primary","secondary","outline","placeholder"],_u=["default","positive","warning","danger"];let yu=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 wu=(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)},xu=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.pageXOffset,c=s.top+n.pageYOffset,p=i.pageX-u,m=i.pageY-c;e?.onMove&&e.onMove(p,m)}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)},$u=(t,e,r)=>Math.min(Math.max(t,e),r),Eu=(t,e,r)=>r+e-t,Pu=t=>{const e=Math.round(t).toString(16);return e.length===1?`0${e}`:e};function d(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 Cu=Object.defineProperty,Ou=Object.getOwnPropertyDescriptor,Su=(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&&Cu(e,r,i),i};let Pt=class extends v{render(){return l`<slot></slot>`}};Pt.styles=[h`
270
270
  :host {
271
271
  display: inline-flex;
272
272
  align-items: stretch;
@@ -312,7 +312,7 @@
312
312
  ::slotted(*:hover) {
313
313
  z-index: 1;
314
314
  }
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`
315
+ `],Pt=Su([d("uui-button-group")],Pt);var ku=Object.defineProperty,zu=Object.getOwnPropertyDescriptor,Iu=(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&&ku(e,r,i),i};let Xr=class extends Pt{};Xr.styles=[...Pt.styles,h`
316
316
  ::slotted(*) {
317
317
  --uui-button-padding-left-factor: 0.5;
318
318
  --uui-button-padding-right-factor: 0.5;
@@ -354,7 +354,7 @@
354
354
  --uui-button-padding-left-factor: 1.5;
355
355
  --uui-button-padding-right-factor: 1.5;
356
356
  }
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`
357
+ `],Xr=Iu([d("uui-action-bar")],Xr);var Au=Object.defineProperty,Uu=Object.getOwnPropertyDescriptor,Yr=(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&&Au(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`
358
358
  <slot @slotchange=${this._onSlotChange}></slot>
359
359
  ${this._isLimitExceeded()?l`<small id="overflow-indication">+${this._avatarArray.length-this.limit}</small>`:""}
360
360
  `}};st.styles=[h`
@@ -374,7 +374,7 @@
374
374
  #overflow-indication {
375
375
  margin-left: 6px;
376
376
  }
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
377
+ `],Yr([je({selector:"uui-avatar, [uui-avatar]",flatten:!0})],st.prototype,"_avatarNodes",2),Yr([f()],st.prototype,"_avatarArray",2),Yr([a({type:Number,attribute:!0})],st.prototype,"limit",2),st=Yr([d("uui-avatar-group")],st);var Du=Object.defineProperty,Lu=Object.getOwnPropertyDescriptor,Ct=(t,e,r,o)=>{for(var i=o>1?void 0:o?Lu(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};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
378
  src="${this.imgSrc}"
379
379
  srcset="${this.imgSrcset}"
380
380
  alt="${this.initials}"
@@ -413,7 +413,7 @@
413
413
  overflow: hidden;
414
414
  border-radius: 50%;
415
415
  }
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`
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([d("uui-avatar")],Pe);var Nu=Object.defineProperty,Hu=Object.getOwnPropertyDescriptor,Zr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hu(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};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`
417
417
  :host {
418
418
  position: var(--uui-badge-position, absolute);
419
419
  display: flex;
@@ -523,14 +523,14 @@
523
523
  animation: none;
524
524
  }
525
525
  }
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`
526
+ `],Zr([a({reflect:!0})],nt.prototype,"color",2),Zr([a({reflect:!0})],nt.prototype,"look",2),Zr([a({type:Boolean,reflect:!0})],nt.prototype,"attention",2),nt=Zr([d("uui-badge")],nt);var Mu=Object.defineProperty,Tu=Object.getOwnPropertyDescriptor,ju=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tu(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 ur=t=>{class e extends t{constructor(){super(...arguments),this.active=!1}}return ju([a({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var Vu=Object.defineProperty,Bu=Object.getOwnPropertyDescriptor,As=(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};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
527
  ${this._labelSlotHasContent===!1?l`<span class="label">${this.label}</span>`:""}
528
528
  <slot
529
529
  class="label"
530
530
  style=${this._labelSlotHasContent?"":"visibility: hidden"}
531
531
  name=${t||""}
532
532
  @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`
533
+ `}}return As([a({type:String})],r.prototype,"label",2),As([f()],r.prototype,"_labelSlotHasContent",2),r};var Ru=Object.defineProperty,Us=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,Ds=(t,e,r)=>e in t?Ru(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qu=(t,e)=>{for(var r in e||(e={}))Fu.call(e,r)&&Ds(t,r,e[r]);if(Us)for(var r of Us(e))Gu.call(e,r)&&Ds(t,r,e[r]);return t};let Wu=class extends Event{constructor(e,r={}){super(e,qu({},r)),this.detail=r.detail||{}}};var Ku=Object.defineProperty,Ls=Object.getOwnPropertySymbols,Xu=Object.prototype.hasOwnProperty,Yu=Object.prototype.propertyIsEnumerable,Ns=(t,e,r)=>e in t?Ku(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Hs=(t,e)=>{for(var r in e||(e={}))Xu.call(e,r)&&Ns(t,r,e[r]);if(Ls)for(var r of Ls(e))Yu.call(e,r)&&Ns(t,r,e[r]);return t};let Ot=class extends Wu{constructor(e,r={}){super(e,Hs(Hs({},{bubbles:!0,cancelable:!0}),r))}};Ot.SELECTED="selected",Ot.DESELECTED="deselected";var Zu=Object.defineProperty,Qu=Object.getOwnPropertyDescriptor,Ms=(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&&Zu(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 Ms([a({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Ms([a({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var Ju=Object.defineProperty,ec=Object.getOwnPropertyDescriptor,tc=(t,e,r,o)=>{for(var i=o>1?void 0:o?ec(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 Qr=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 tc([a({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var rc=Object.defineProperty,Ts=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,js=(t,e,r)=>e in t?rc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sc=(t,e)=>{for(var r in e||(e={}))ic.call(e,r)&&js(t,r,e[r]);if(Ts)for(var r of Ts(e))oc.call(e,r)&&js(t,r,e[r]);return t};let Vs=class extends Event{constructor(e,r={}){super(e,sc({},r)),this.detail=r.detail||{}}};var nc=Object.defineProperty,Bs=Object.getOwnPropertySymbols,ac=Object.prototype.hasOwnProperty,lc=Object.prototype.propertyIsEnumerable,Rs=(t,e,r)=>e in t?nc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Fs=(t,e)=>{for(var r in e||(e={}))ac.call(e,r)&&Rs(t,r,e[r]);if(Bs)for(var r of Bs(e))lc.call(e,r)&&Rs(t,r,e[r]);return t};let kt=class extends Vs{constructor(e,r={}){super(e,Fs(Fs({},{bubbles:!0}),r))}};kt.VALID="valid",kt.INVALID="invalid";var uc=Object.defineProperty,Gs=Object.getOwnPropertySymbols,cc=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,qs=(t,e,r)=>e in t?uc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ws=(t,e)=>{for(var r in e||(e={}))cc.call(e,r)&&qs(t,r,e[r]);if(Gs)for(var r of Gs(e))hc.call(e,r)&&qs(t,r,e[r]);return t};let Ks=class extends Vs{constructor(e,r={}){super(e,Ws(Ws({},{bubbles:!0,cancelable:!0}),r))}};Ks.SELECTED="selected",Ks.DESELECTED="deselected";var dc=Object.defineProperty,pc=Object.getOwnPropertyDescriptor,at=(t,e,r,o)=>{for(var i=o>1?void 0:o?pc(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&&dc(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 vc=Object.defineProperty,Xs=Object.getOwnPropertySymbols,fc=Object.prototype.hasOwnProperty,bc=Object.prototype.propertyIsEnumerable,Ys=(t,e,r)=>e in t?vc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,gc=(t,e)=>{for(var r in e||(e={}))fc.call(e,r)&&Ys(t,r,e[r]);if(Xs)for(var r of Xs(e))bc.call(e,r)&&Ys(t,r,e[r]);return t};class O extends Event{constructor(e,r={}){super(e,gc({},r)),this.detail=r.detail||{}}}var mc=Object.defineProperty,Zs=Object.getOwnPropertySymbols,_c=Object.prototype.hasOwnProperty,yc=Object.prototype.propertyIsEnumerable,Qs=(t,e,r)=>e in t?mc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Js=(t,e)=>{for(var r in e||(e={}))_c.call(e,r)&&Qs(t,r,e[r]);if(Zs)for(var r of Zs(e))yc.call(e,r)&&Qs(t,r,e[r]);return t};class zt extends O{constructor(e,r={}){super(e,Js(Js({},{bubbles:!0}),r))}}zt.VALID="valid",zt.INVALID="invalid";var wc=Object.defineProperty,en=Object.getOwnPropertySymbols,xc=Object.prototype.hasOwnProperty,$c=Object.prototype.propertyIsEnumerable,tn=(t,e,r)=>e in t?wc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,rn=(t,e)=>{for(var r in e||(e={}))xc.call(e,r)&&tn(t,r,e[r]);if(en)for(var r of en(e))$c.call(e,r)&&tn(t,r,e[r]);return t};class Ve extends O{constructor(e,r={}){super(e,rn(rn({},{bubbles:!0,cancelable:!0}),r))}}Ve.SELECTED="selected",Ve.DESELECTED="deselected";var Ec=Object.defineProperty,on=Object.getOwnPropertySymbols,Pc=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable,sn=(t,e,r)=>e in t?Ec(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,nn=(t,e)=>{for(var r in e||(e={}))Pc.call(e,r)&&sn(t,r,e[r]);if(on)for(var r of on(e))Cc.call(e,r)&&sn(t,r,e[r]);return t};class Jr extends O{constructor(e,r={}){super(e,nn(nn({},{bubbles:!0}),r))}}Jr.CHANGE="change";var Oc=Object.defineProperty,Sc=Object.getOwnPropertyDescriptor,ei=(t,e,r,o)=>{for(var i=o>1?void 0:o?Sc(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&&Oc(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 Jr(Jr.CHANGE))}render(){return l`
534
534
  <label>
535
535
  <input
536
536
  id="input"
@@ -583,7 +583,7 @@
583
583
  :host([disabled]) .label {
584
584
  opacity: 0.5;
585
585
  }
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
586
+ `],ei([a({type:String,attribute:"label-position",reflect:!0})],be.prototype,"labelPosition",2),ei([a({type:Boolean})],be.prototype,"checked",1),ei([a({type:Boolean,reflect:!0})],be.prototype,"disabled",2),ei([C("#input")],be.prototype,"_input",2);var kc=Object.defineProperty,zc=Object.getOwnPropertyDescriptor,ti=(t,e,r,o)=>{for(var i=o>1?void 0:o?zc(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&&kc(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
587
587
  id="header"
588
588
  class="uui-text"
589
589
  style=${this._headerSlotHasContent||this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
@@ -597,7 +597,7 @@
597
597
  </div>`}render(){return l`
598
598
  ${this.renderHeader()}
599
599
  <slot></slot>
600
- `}};lt.styles=[Xr,h`
600
+ `}};lt.styles=[Kr,h`
601
601
  :host {
602
602
  display: block;
603
603
  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,7 +615,7 @@
615
615
  display: block;
616
616
  padding: var(--uui-box-default-padding, var(--uui-size-space-5,18px));
617
617
  }
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
618
+ `],ti([a({type:String})],lt.prototype,"headline",2),ti([f()],lt.prototype,"_headlineSlotHasContent",2),ti([f()],lt.prototype,"_headerSlotHasContent",2),lt=ti([d("uui-box")],lt);var Ic=Object.defineProperty,Ac=Object.getOwnPropertyDescriptor,ao=(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&&Ic(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
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`
620
620
  :host {
621
621
  font-size: var(--uui-type-small-size,12px);
@@ -654,9 +654,9 @@
654
654
  #link {
655
655
  cursor: pointer;
656
656
  }
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">
657
+ `],ao([a()],ut.prototype,"href",2),ao([a({type:Boolean,attribute:"last-item"})],ut.prototype,"lastItem",2),ut=ao([d("uui-breadcrumb-item")],ut);var Uc=Object.defineProperty,Dc=Object.getOwnPropertyDescriptor,an=(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&&Uc(e,r,i),i};let cr=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
658
  <slot @slotchange=${this.handleSlotChange}></slot>
659
- </ol>`}};ur.styles=[h`
659
+ </ol>`}};cr.styles=[h`
660
660
  :host {
661
661
  display: flex;
662
662
  }
@@ -670,7 +670,7 @@
670
670
  margin-inline-end: 0px;
671
671
  padding-inline-start: 0px;
672
672
  }
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`
673
+ `],an([je({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],cr.prototype,"slotNodes",2),cr=an([d("uui-breadcrumbs")],cr);const Lc=h`
674
674
  @keyframes uui-blink {
675
675
  0%,
676
676
  100% {
@@ -680,7 +680,7 @@
680
680
  opacity: 1;
681
681
  }
682
682
  }
683
- `,Lc=Te("uui-blink 0.9s infinite both"),an=h`
683
+ `,Nc=Te("uui-blink 0.9s infinite both"),ln=h`
684
684
  @keyframes pulse {
685
685
  0% {
686
686
  -webkit-transform: translate(-50%, -50%) scale(0.2);
@@ -698,7 +698,7 @@
698
698
  opacity: 0;
699
699
  }
700
700
  }
701
- `;Te("pulse 0.8s ease-in-out infinite both");const ii=h`
701
+ `;Te("pulse 0.8s ease-in-out infinite both");const ri=h`
702
702
  @keyframes uui-horizontal-shake {
703
703
  10%,
704
704
  90% {
@@ -721,7 +721,7 @@
721
721
  transform: translateX(2px);
722
722
  }
723
723
  }
724
- `,oi=Te("uui-horizontal-shake 600ms ease backwards");/**
724
+ `,ii=Te("uui-horizontal-shake 600ms ease backwards");/**
725
725
  * @license
726
726
  * Copyright 2017 Google LLC
727
727
  * SPDX-License-Identifier: BSD-3-Clause
@@ -729,7 +729,7 @@
729
729
  * @license
730
730
  * Copyright 2018 Google LLC
731
731
  * 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`
732
+ */const un="important",Hc=" !"+un,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.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(Hc);o.includes("-")||s?r.setProperty(o,s?i.slice(0,-11):i,s?un:""):r[o]=i}}return F}});var Mc=Object.defineProperty,cn=Object.getOwnPropertySymbols,Tc=Object.prototype.hasOwnProperty,jc=Object.prototype.propertyIsEnumerable,hn=(t,e,r)=>e in t?Mc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,dn=(t,e)=>{for(var r in e||(e={}))Tc.call(e,r)&&hn(t,r,e[r]);if(cn)for(var r of cn(e))jc.call(e,r)&&hn(t,r,e[r]);return t};class oi extends O{constructor(e,r={}){super(e,dn(dn({},{bubbles:!0,composed:!0}),r))}}oi.CLICK="click";var Vc=Object.defineProperty,Bc=Object.getOwnPropertyDescriptor,si=(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 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
733
  <button
734
734
  id="button-wrapper"
735
735
  @mousemove=${this._onMouseMove}
@@ -747,7 +747,7 @@
747
747
  </svg>
748
748
  </div>
749
749
  </button>
750
- `}};ct.styles=[Dc,h`
750
+ `}};ct.styles=[Lc,h`
751
751
  :host {
752
752
  display: flex;
753
753
  position: relative;
@@ -801,7 +801,7 @@
801
801
  :host(:focus) #button-wrapper:before,
802
802
  :host(:focus-within) #button-wrapper:before,
803
803
  :host(:hover) #button-wrapper:before {
804
- animation: ${Lc};
804
+ animation: ${Nc};
805
805
  background-color: var(--uui-color-interactive-emphasis,#3544b1);
806
806
  border-color: var(--uui-color-surface,#fff) !important;
807
807
  }
@@ -897,19 +897,19 @@
897
897
  #button-wrapper:active #plus {
898
898
  transform: scale(1.1);
899
899
  }
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">
900
+ `],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([d("uui-button-inline-create")],ct);class Rc{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)},pn=(t,e)=>{function r(i){const s=t.getBoundingClientRect(),n=t.ownerDocument.defaultView,u=s.left+n.pageXOffset,c=s.top+n.pageYOffset,p=i.pageX-u,m=i.pageY-c;e?.onMove&&e.onMove(p,m)}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),vn=(t,e,r)=>r+e-t,ni=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
901
901
  <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">
902
+ </svg>`,Fc=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>`,Gc=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>`,qc=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>`,fn=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>`,Wc=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>`,Kc=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>`,Xc=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>`,bn=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
903
903
  <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
904
  </svg>`;/**
905
905
  * @license
906
906
  * Copyright 2018 Google LLC
907
907
  * 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
908
+ */const L=t=>t??E;var Yc=Object.defineProperty,Zc=Object.getOwnPropertyDescriptor,me=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zc(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&&Yc(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":_(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
909
  name="check"
910
- .fallback=${ai.strings[0]}></uui-icon>`;break;case"failed":m(this,"uui-icon"),t=l`<uui-icon
910
+ .fallback=${ni.strings[0]}></uui-icon>`;break;case"failed":_(this,"uui-icon"),t=l`<uui-icon
911
911
  name="wrong"
912
- .fallback=${fn.strings[0]}></uui-icon>`;break;default:return""}return l`<div id="state">${t}</div>`}render(){return this.href?l`
912
+ .fallback=${bn.strings[0]}></uui-icon>`;break;default:return""}return l`<div id="state">${t}</div>`}render(){return this.href?l`
913
913
  <a
914
914
  id="button"
915
915
  aria-label=${this.label}
@@ -927,7 +927,7 @@
927
927
  ${this.renderState()} ${this.renderLabel()}
928
928
  <slot name="extra"></slot>
929
929
  </button>
930
- `}};W.styles=[ii,h`
930
+ `}};W.styles=[ri,h`
931
931
  :host {
932
932
  position: relative;
933
933
  display: inline-flex;
@@ -1015,7 +1015,7 @@
1015
1015
  }
1016
1016
  button[disabled]:active,
1017
1017
  a:not([href]):active {
1018
- animation: ${oi};
1018
+ animation: ${ii};
1019
1019
  }
1020
1020
  #icon-check,
1021
1021
  #icon-wrong {
@@ -1230,7 +1230,7 @@
1230
1230
  var(--color-standalone)
1231
1231
  );
1232
1232
  }
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`
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([d("uui-button")],W);class Ut extends O{}Ut.OPEN="open";var Qc=Object.defineProperty,Jc=Object.getOwnPropertyDescriptor,lo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jc(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&&Qc(e,r,i),i};let J=class extends Qr(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`
1234
1234
  :host {
1235
1235
  position: relative;
1236
1236
  display: flex;
@@ -1309,7 +1309,7 @@
1309
1309
  :host([select-only]) ::slotted(*) {
1310
1310
  pointer-events: none;
1311
1311
  }
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`
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([d("uui-card")],J);var eh=Object.defineProperty,th=Object.getOwnPropertyDescriptor,uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?th(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&&eh(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 _(this,"uui-icon"),l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
1313
1313
  <div
1314
1314
  id="open-part"
1315
1315
  tabindex=${this.disabled?E:0}
@@ -1395,14 +1395,14 @@
1395
1395
  #name {
1396
1396
  margin-top: 4px;
1397
1397
  }
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
1398
+ `],uo([a({type:String})],Dt.prototype,"name",2),uo([f()],Dt.prototype,"_iconSlotHasContent",2),Dt=uo([d("uui-card-content-node")],Dt);var rh=Object.defineProperty,ih=Object.getOwnPropertyDescriptor,oh=(t,e,r,o)=>{for(var i=o>1?void 0:o?ih(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};let ai=class extends v{render(){return l`<svg
1399
1399
  xmlns="http://www.w3.org/2000/svg"
1400
1400
  viewBox="0 0 512 512"
1401
1401
  width="100%"
1402
1402
  id="icon">
1403
1403
  <path
1404
1404
  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`
1405
+ </svg> `}};ai.styles=[h`
1406
1406
  :host {
1407
1407
  display: block;
1408
1408
  box-sizing: border-box;
@@ -1413,7 +1413,7 @@
1413
1413
  #icon {
1414
1414
  fill: var(--uui-color-border,#d8d7d9);
1415
1415
  }
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
1416
+ `],ai=oh([d("uui-symbol-folder")],ai);var sh=Object.defineProperty,nh=Object.getOwnPropertyDescriptor,gn=(t,e,r,o)=>{for(var i=o>1?void 0:o?nh(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&&sh(e,r,i),i};let hr=class extends v{constructor(){super(...arguments),this.type=""}render(){return l`<svg
1417
1417
  xmlns="http://www.w3.org/2000/svg"
1418
1418
  viewBox="0 0 512 512"
1419
1419
  width="100%"
@@ -1421,7 +1421,7 @@
1421
1421
  <path
1422
1422
  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
1423
  </svg>
1424
- ${this.type?l`<span id="file-type">${this.type.toUpperCase()}</span>`:""} `}};cr.styles=[h`
1424
+ ${this.type?l`<span id="file-type">${this.type.toUpperCase()}</span>`:""} `}};hr.styles=[h`
1425
1425
  :host {
1426
1426
  position: relative;
1427
1427
  display: block;
@@ -1444,7 +1444,7 @@
1444
1444
  #icon {
1445
1445
  fill: var(--uui-color-border-standalone,#c2c2c2);
1446
1446
  }
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
1447
+ `],gn([a({type:String})],hr.prototype,"type",2),hr=gn([d("uui-symbol-file")],hr);var ah=Object.defineProperty,lh=Object.getOwnPropertyDescriptor,li=(t,e,r,o)=>{for(var i=o>1?void 0:o?lh(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&&ah(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
1448
  id="file-symbol"
1449
1449
  type="${this.fileExt}"></uui-symbol-file>`}render(){return l` ${this.renderMedia()}
1450
1450
  <slot @slotchange=${this.queryPreviews}></slot>
@@ -1562,7 +1562,7 @@
1562
1562
  height: var(--uui-size-8);
1563
1563
  }
1564
1564
  */
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`
1565
+ `],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([d("uui-card-media")],ht);var uh=Object.defineProperty,ch=Object.getOwnPropertyDescriptor,mn=(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&&uh(e,r,i),i};let dr=class extends J{constructor(){super(...arguments),this.name=""}connectedCallback(){super.connectedCallback(),_(this,"uui-avatar")}render(){return l`
1566
1566
  <uui-avatar id="avatar" name=${this.name} size="m"></uui-avatar>
1567
1567
  <div
1568
1568
  id="open-part"
@@ -1574,7 +1574,7 @@
1574
1574
  <slot></slot>
1575
1575
  <slot name="tag"></slot>
1576
1576
  <slot name="actions"></slot>
1577
- `}};hr.styles=[...J.styles,h`
1577
+ `}};dr.styles=[...J.styles,h`
1578
1578
  :host {
1579
1579
  min-width: 250px;
1580
1580
  flex-direction: column;
@@ -1646,9 +1646,9 @@
1646
1646
  text-decoration: underline;
1647
1647
  color: var(--uui-color-interactive-emphasis,#3544b1);
1648
1648
  }
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">
1649
+ `],mn([a({type:String})],dr.prototype,"name",2),dr=mn([d("uui-card-user")],dr);var hh=Object.defineProperty,dh=Object.getOwnPropertyDescriptor,_n=(t,e,r,o)=>{for(var i=o>1?void 0:o?dh(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&&hh(e,r,i),i};let pr=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
1650
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
1651
- </svg>`}};dr.styles=[h`
1651
+ </svg>`}};pr.styles=[h`
1652
1652
  :host {
1653
1653
  display: inline-block;
1654
1654
  width: 12px;
@@ -1664,11 +1664,11 @@
1664
1664
  :host([open]) svg {
1665
1665
  transform: rotate(180deg);
1666
1666
  }
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`
1667
+ `],_n([a({type:Boolean,reflect:!0})],pr.prototype,"open",2),pr=_n([d("uui-caret")],pr);var ph=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,fh=(t,e,r,o)=>{for(var i=o>1?void 0:o?vh(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 vr=class extends be{renderCheckbox(){return l`
1668
1668
  <div id="ticker">
1669
- <div id="icon-check">${ai}</div>
1669
+ <div id="icon-check">${ni}</div>
1670
1670
  </div>
1671
- `}};pr.formAssociated=!0,pr.styles=[...be.styles,ii,h`
1671
+ `}};vr.formAssociated=!0,vr.styles=[...be.styles,ri,h`
1672
1672
  :host {
1673
1673
  --uui-checkbox-size: 18px;
1674
1674
  }
@@ -1804,16 +1804,16 @@
1804
1804
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
1805
1805
  }
1806
1806
  :host([disabled]) label:active #ticker {
1807
- animation: ${oi};
1807
+ animation: ${ii};
1808
1808
  }
1809
1809
  :host([disabled]) input:checked + #ticker #icon-check {
1810
1810
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
1811
1811
  }
1812
- `],pr=vh([p("uui-checkbox")],pr);/**
1812
+ `],vr=fh([d("uui-checkbox")],vr);/**
1813
1813
  * @license
1814
1814
  * Copyright 2018 Google LLC
1815
1815
  * 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`
1816
+ */const ui=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 bh={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},yn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},wn=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)}},gh=/^#([0-9a-f]{3,8})$/i,ci=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},xn=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}},$n=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),p=s%6;return{r:255*[o,u,n,n,c,o][p],g:255*[c,o,o,u,n,n][p],b:255*[n,n,c,o,o,u][p],a:i}},En=function(t){return{h:yn(t.h),s:ee(t.s,0,100),l:ee(t.l,0,100),a:ee(t.a)}},Pn=function(t){return{h:N(t.h),s:N(t.s),l:N(t.l),a:N(t.a,3)}},Cn=function(t){return $n((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},fr=function(t){return{h:(e=xn(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},mh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_h=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,yh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,wh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,On={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?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=yh.exec(t)||wh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:wn({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=mh.exec(t)||_h.exec(t);if(!e)return null;var r,o,i=En({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(bh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Cn(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)?wn({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=En({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return Cn(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:yn(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 $n(n)},"hsv"]]},Sn=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]},xh=function(t){return typeof t=="string"?Sn(t.trim(),On.string):typeof t=="object"&&t!==null?Sn(t,On.object):[null,void 0]},ho=function(t,e){var r=fr(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},kn=function(t,e){var r=fr(t);return{h:r.h,s:r.s,l:ee(r.l+100*e,0,100),a:r.a}},zn=function(){function t(e){this.parsed=xh(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?ci(N(255*s)):"","#"+ci(r)+ci(o)+ci(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 Pn(fr(this.rgba))},t.prototype.toHslString=function(){return e=Pn(fr(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=xn(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(kn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),te(kn(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=fr(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 zn?t:new zn(t)},$h=Object.defineProperty,In=Object.getOwnPropertySymbols,Eh=Object.prototype.hasOwnProperty,Ph=Object.prototype.propertyIsEnumerable,An=(t,e,r)=>e in t?$h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Un=(t,e)=>{for(var r in e||(e={}))Eh.call(e,r)&&An(t,r,e[r]);if(In)for(var r of In(e))Ph.call(e,r)&&An(t,r,e[r]);return t};class hi extends O{constructor(e,r={}){super(e,Un(Un({},{bubbles:!0}),r))}}hi.CHANGE="change";var Ch=Object.defineProperty,Oh=Object.getOwnPropertyDescriptor,Oe=(t,e,r,o)=>{for(var i=o>1?void 0:o?Oh(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 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,pn(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 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
1817
  <div
1818
1818
  part="grid"
1819
1819
  class="color-area"
@@ -1822,7 +1822,7 @@
1822
1822
  @touchstart=${this.handleGridDrag}>
1823
1823
  <span
1824
1824
  part="grid-handle"
1825
- class=${ci({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
1825
+ class=${ui({"color-area__handle":!0,"color-area__handle--dragging":this.isDraggingGridHandle})}
1826
1826
  style=${ge({top:`${e}%`,left:`${t}%`,backgroundColor:this.getHexString(this.hue,this.saturation,this.lightness,this.alpha)})}
1827
1827
  role="application"
1828
1828
  tabindex=${L(this.disabled?void 0:"0")}
@@ -1879,17 +1879,17 @@
1879
1879
  .color-area__handle--empty {
1880
1880
  display: none;
1881
1881
  }
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);/**
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([d("uui-color-area")],re);/**
1883
1883
  * @license
1884
1884
  * Copyright 2020 Google LLC
1885
1885
  * 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}};/**
1886
+ */const{I:Sh}=Al,Dn=t=>t.strings===void 0,Ln=()=>document.createComment(""),br=(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(Ln(),s),u=i.insertBefore(Ln(),s);r=new Sh(n,u,t,t.options)}else{const n=r._$AB.nextSibling,u=r._$AM,c=u!==t;if(c){let p;(o=r._$AQ)===null||o===void 0||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(p=t._$AU)!==u._$AU&&r._$AP(p)}if(n!==s||c){let p=r._$AA;for(;p!==n;){const m=p.nextSibling;i.insertBefore(p,s),p=m}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),kh={},Nn=(t,e=kh)=>t._$AH=e,zh=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}};/**
1887
1887
  * @license
1888
1888
  * Copyright 2020 Google LLC
1889
1889
  * 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`
1890
+ */const Ih=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(!Dn(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 Nn(t),e}});var Ah={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},Hn=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},Mn=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)}},Uh=/^#([0-9a-f]{3,8})$/i,di=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},Tn=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}},jn=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),p=s%6;return{r:255*[o,u,n,n,c,o][p],g:255*[c,o,o,u,n,n][p],b:255*[n,n,c,o,o,u][p],a:i}},Vn=function(t){return{h:Hn(t.h),s:ie(t.s,0,100),l:ie(t.l,0,100),a:ie(t.a)}},Bn=function(t){return{h:H(t.h),s:H(t.s),l:H(t.l),a:H(t.a,3)}},Rn=function(t){return jn((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=Tn(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},Dh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Lh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Nh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Hh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,bo={string:[[function(t){var e=Uh.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=Nh.exec(t)||Hh.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Mn({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=Dh.exec(t)||Lh.exec(t);if(!e)return null;var r,o,i=Vn({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Ah[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Rn(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)?Mn({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=Vn({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return Rn(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:Hn(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 jn(n)},"hsv"]]},Fn=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]},Mh=function(t){return typeof t=="string"?Fn(t.trim(),bo.string):typeof t=="object"&&t!==null?Fn(t,bo.object):[null,void 0]},go=function(t,e){var r=gr(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},Gn=function(t,e){var r=gr(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=Mh(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?di(H(255*s)):"","#"+di(r)+di(o)+di(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 Bn(gr(this.rgba))},t.prototype.toHslString=function(){return e=Bn(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=Tn(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(Gn(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),_e(Gn(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=gr(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=[],Th=function(t){t.forEach(function(e){qn.indexOf(e)<0&&(e(pi,bo),qn.push(e))})};function jh(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,p=o[this.toHex()];if(p)return p;if(n?.closest){var m=this.toRgb(),w=1/0,b="black";if(!s.length)for(var y in r)s[y]=new t(r[y]).toRgb();for(var x in r){var $=(u=m,c=s[x],Math.pow(u.r-c.r,2)+Math.pow(u.g-c.g,2)+Math.pow(u.b-c.b,2));$<w&&(w=$,b=x)}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 Vh=Object.defineProperty,Wn=Object.getOwnPropertySymbols,Bh=Object.prototype.hasOwnProperty,Rh=Object.prototype.propertyIsEnumerable,Kn=(t,e,r)=>e in t?Vh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Xn=(t,e)=>{for(var r in e||(e={}))Bh.call(e,r)&&Kn(t,r,e[r]);if(Wn)for(var r of Wn(e))Rh.call(e,r)&&Kn(t,r,e[r]);return t};class vi extends O{constructor(e,r={}){super(e,Xn(Xn({},{bubbles:!0}),r))}}vi.CHANGE="change";var Fh=Object.defineProperty,Gh=Object.getOwnPropertyDescriptor,I=(t,e,r,o)=>{for(var i=o>1?void 0:o?Gh(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&&Fh(e,r,i),i};Th([jh]);const Yn="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()),p=this.setLetterCase(c.length>7?c.substring(0,c.length-2):c);switch(e){case"hex":return p;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(!Yn)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
1891
  <div
1892
- class=${ci({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
1892
+ class=${ui({"color-picker":!0,"color-picker--inline":this.inline,"color-picker--disabled":this.disabled})}
1893
1893
  aria-disabled=${this.disabled?"true":"false"}>
1894
1894
  <uui-color-area .value="${this.value}" @change=${this.handleGridChange}>
1895
1895
  </uui-color-area>
@@ -1930,7 +1930,7 @@
1930
1930
  autocomplete="off"
1931
1931
  autocapitalize="off"
1932
1932
  spellcheck="false"
1933
- .value=${zh(this.inputValue)}
1933
+ .value=${Ih(this.inputValue)}
1934
1934
  ?disabled=${this.disabled}
1935
1935
  @keydown=${this.handleInputKeyDown}
1936
1936
  @change=${this.handleInputChange}>
@@ -1945,7 +1945,7 @@
1945
1945
  <span>${this.format}</span>
1946
1946
  </uui-button>
1947
1947
  `}
1948
- ${Xn?l` <uui-button
1948
+ ${Yn?l` <uui-button
1949
1949
  label="Select a color"
1950
1950
  compact
1951
1951
  @click=${this.handleEyeDropper}>
@@ -1968,7 +1968,7 @@
1968
1968
  type="button"
1969
1969
  slot="trigger"
1970
1970
  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})}
1971
+ 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
1972
  style=${ge({"--preview-color":`hsla(${this.hue}deg, ${this.saturation}%, ${this.lightness}%, ${this.alpha/100})`})}
1973
1973
  @click=${this.openColorPicker}
1974
1974
  aria-haspopup="true"
@@ -2115,7 +2115,7 @@
2115
2115
  uui-color-area {
2116
2116
  width: 100%;
2117
2117
  }
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
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([d("uui-color-picker")],z);var qh=Object.defineProperty,Zn=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,Qn=(t,e,r)=>e in t?qh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Jn=(t,e)=>{for(var r in e||(e={}))Wh.call(e,r)&&Qn(t,r,e[r]);if(Zn)for(var r of Zn(e))Kh.call(e,r)&&Qn(t,r,e[r]);return t};class fi extends O{constructor(e,r={}){super(e,Jn(Jn({},{bubbles:!0}),r))}}fi.CHANGE="change";var Xh=Object.defineProperty,Yh=Object.getOwnPropertyDescriptor,ke=(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&&Xh(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(),pn(this.container,{onMove:(o,i)=>{this.vertical?this.value=vn(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 fi(fi.CHANGE))}get ccsPropCurrentValue(){return this.value===0?this.vertical?100:0:100/(this.vertical?this.max/vn(this.value,this.min,this.max):this.max/this.value)}render(){return l` <div
2119
2119
  part="slider"
2120
2120
  id="color-slider"
2121
2121
  role="slider"
@@ -2249,18 +2249,18 @@
2249
2249
  position: absolute;
2250
2250
  inset: 0 0 0 0;
2251
2251
  }
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`
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([d("uui-color-slider")],oe);var Zh={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},ea=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},ta=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)}},Qh=/^#([0-9a-f]{3,8})$/i,bi=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},ra=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}},ia=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),p=s%6;return{r:255*[o,u,n,n,c,o][p],g:255*[c,o,o,u,n,n][p],b:255*[n,n,c,o,o,u][p],a:i}},oa=function(t){return{h:ea(t.h),s:se(t.s,0,100),l:se(t.l,0,100),a:se(t.a)}},sa=function(t){return{h:M(t.h),s:M(t.s),l:M(t.l),a:M(t.a,3)}},na=function(t){return ia((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=ra(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},Jh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ed=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,td=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,rd=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,aa={string:[[function(t){var e=Qh.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=td.exec(t)||rd.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:ta({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=Jh.exec(t)||ed.exec(t);if(!e)return null;var r,o,i=oa({h:(r=e[1],o=e[2],o===void 0&&(o="deg"),Number(r)*(Zh[o]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return na(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)?ta({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=oa({h:Number(e),s:Number(r),l:Number(o),a:Number(s)});return na(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:ea(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 ia(n)},"hsv"]]},la=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]},id=function(t){return typeof t=="string"?la(t.trim(),aa.string):typeof t=="object"&&t!==null?la(t,aa.object):[null,void 0]},yo=function(t,e){var r=mr(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},ua=function(t,e){var r=mr(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=id(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?bi(M(255*s)):"","#"+bi(r)+bi(o)+bi(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 sa(mr(this.rgba))},t.prototype.toHslString=function(){return e=sa(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=ra(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(ua(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ie(ua(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=mr(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)},od=Object.defineProperty,sd=Object.getOwnPropertyDescriptor,gi=(t,e,r,o)=>{for(var i=o>1?void 0:o?sd(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&&od(e,r,i),i};let pt=class extends ve("label",St(ur(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`
2253
2253
  <button
2254
2254
  id="swatch"
2255
2255
  aria-label=${this.label}
2256
2256
  aria-disabled="${this.disabled}"
2257
2257
  title="${this.label}">
2258
2258
  <div
2259
- class=${ci({"color-swatch":!0,"color-swatch--transparent-bg":!0,"color-swatch--light":this.isLight,"color-swatch--big":this.showLabel})}>
2259
+ class=${ui({"color-swatch":!0,"color-swatch--transparent-bg":!0,"color-swatch--light":this.isLight,"color-swatch--big":this.showLabel})}>
2260
2260
  <div
2261
2261
  class="color-swatch__color"
2262
2262
  style=${ge({backgroundColor:this.value})}></div>
2263
- <div class="color-swatch__check">${ai}</div>
2263
+ <div class="color-swatch__check">${ni}</div>
2264
2264
  </div>
2265
2265
  ${this._renderWithLabel()}
2266
2266
  </button>
@@ -2427,19 +2427,19 @@
2427
2427
  white-space: nowrap;
2428
2428
  box-sizing: border-box;
2429
2429
  }
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`
2430
+ `],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([d("uui-color-swatch")],pt);var nd=Object.defineProperty,ca=Object.getOwnPropertySymbols,ad=Object.prototype.hasOwnProperty,ld=Object.prototype.propertyIsEnumerable,ha=(t,e,r)=>e in t?nd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,da=(t,e)=>{for(var r in e||(e={}))ad.call(e,r)&&ha(t,r,e[r]);if(ca)for(var r of ca(e))ld.call(e,r)&&ha(t,r,e[r]);return t};class Lt extends O{constructor(e,r={}){super(e,da(da({},{bubbles:!0}),r))}}Lt.CHANGE="change";var ud=Object.defineProperty,cd=Object.getOwnPropertyDescriptor,$o=(t,e,r,o)=>{for(var i=o>1?void 0:o?cd(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 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`
2431
2431
  :host {
2432
2432
  display: flex;
2433
2433
  flex-wrap: wrap;
2434
2434
  gap: 0.4rem;
2435
2435
  }
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`
2436
+ `],$o([a()],Nt.prototype,"value",2),$o([je({selector:"uui-color-swatch"})],Nt.prototype,"swatches",2),Nt=$o([d("uui-color-swatches")],Nt);var hd=Object.defineProperty,pa=Object.getOwnPropertySymbols,dd=Object.prototype.hasOwnProperty,pd=Object.prototype.propertyIsEnumerable,va=(t,e,r)=>e in t?hd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,fa=(t,e)=>{for(var r in e||(e={}))dd.call(e,r)&&va(t,r,e[r]);if(pa)for(var r of pa(e))pd.call(e,r)&&va(t,r,e[r]);return t};class le extends O{constructor(e,r={}){super(e,fa(fa({},{bubbles:!0}),r))}}le.CHANGE="change",le.INNER_SLOT_CHANGE="inner-slot-change";var vd=Object.defineProperty,fd=Object.getOwnPropertyDescriptor,vt=(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&&vd(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`
2437
2437
  :host {
2438
2438
  display: flex;
2439
2439
  flex-direction: column;
2440
2440
  box-sizing: border-box;
2441
2441
  }
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`
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([d("uui-combobox-list")],ye);var bd=Object.defineProperty,gd=Object.getOwnPropertyDescriptor,Ht=(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 Ae=class extends St(ur(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`
2443
2443
  :host {
2444
2444
  position: relative;
2445
2445
  cursor: pointer;
@@ -2508,7 +2508,7 @@
2508
2508
  color: var(--uui-color-disabled-contrast,#c4c4c4);
2509
2509
  background-color: var(--uui-color-disabled,#f3f3f5);
2510
2510
  }
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
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([d("uui-combobox-list-option")],Ae);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 K extends O{constructor(e,r={}){super(e,ma(ma({},{bubbles:!0}),r))}}K.SEARCH="search",K.CHANGE="change";var wd=Object.defineProperty,xd=Object.getOwnPropertyDescriptor,ue=(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 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
2512
  slot="trigger"
2513
2513
  id="combobox-input"
2514
2514
  label="combobox-input"
@@ -2532,12 +2532,12 @@
2532
2532
  slot="append"
2533
2533
  compact
2534
2534
  style="height: 100%;">
2535
- <uui-icon name="remove" .fallback=${vn.strings[0]}></uui-icon>
2535
+ <uui-icon name="remove" .fallback=${fn.strings[0]}></uui-icon>
2536
2536
  </uui-button>`:"",this._renderDropdown=()=>l`<div id="dropdown" slot="popover">
2537
2537
  <uui-scroll-container tabindex="-1" id="scroll-container">
2538
2538
  <slot></slot>
2539
2539
  </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">
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),_(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(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">
2541
2541
  <uui-button label="close" look="primary" @click=${this._onClose}>
2542
2542
  ${this.closeLabel}
2543
2543
  </uui-button>
@@ -2617,7 +2617,7 @@
2617
2617
  #phone-wrapper #scroll-container {
2618
2618
  max-height: unset;
2619
2619
  }
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
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([d("uui-combobox")],G);var $d=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,Eo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ed(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&&$d(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
2621
  style=${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}>
2622
2622
  ${this.headline}
2623
2623
  <slot name="headline" @slotchange=${this._headlineSlotChanged}></slot>
@@ -2635,7 +2635,7 @@
2635
2635
  justify-content: end;
2636
2636
  gap: var(--uui-size-4,12px);
2637
2637
  }
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`
2638
+ `],Eo([a({type:String})],Mt.prototype,"headline",2),Eo([f()],Mt.prototype,"_headlineSlotHasContent",2),Mt=Eo([d("uui-dialog-layout")],Mt);var Pd=Object.defineProperty,Cd=Object.getOwnPropertyDescriptor,Od=(t,e,r,o)=>{for(var i=o>1?void 0:o?Cd(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 mi=class extends v{render(){return l`<slot></slot>`}};mi.styles=[h`
2639
2639
  :host {
2640
2640
  position: relative;
2641
2641
  display: block;
@@ -2653,7 +2653,7 @@
2653
2653
  calc(var(--uui-border-radius,3px) * 2)
2654
2654
  );
2655
2655
  }
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`
2656
+ `],mi=Od([d("uui-dialog")],mi);var Sd=Object.defineProperty,_a=Object.getOwnPropertySymbols,kd=Object.prototype.hasOwnProperty,zd=Object.prototype.propertyIsEnumerable,ya=(t,e,r)=>e in t?Sd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,wa=(t,e)=>{for(var r in e||(e={}))kd.call(e,r)&&ya(t,r,e[r]);if(_a)for(var r of _a(e))zd.call(e,r)&&ya(t,r,e[r]);return t};class Tt extends O{constructor(e,r={}){super(e,wa(wa({},{bubbles:!0}),r))}}Tt.CHANGE="change";var Id=Object.defineProperty,Ad=Object.getOwnPropertyDescriptor,_r=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ad(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 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(),_(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`
2657
2657
  <div id="dropzone">
2658
2658
  <uui-symbol-file-dropzone id="symbol"></uui-symbol-file-dropzone>
2659
2659
  ${this.renderLabel()}
@@ -2705,7 +2705,7 @@
2705
2705
  opacity: 0;
2706
2706
  display: none;
2707
2707
  }
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
2708
+ `],_r([C("#input")],Be.prototype,"_input",2),_r([C("#dropzone")],Be.prototype,"_dropzone",2),_r([a({type:String})],Be.prototype,"accept",1),_r([a({type:Boolean})],Be.prototype,"multiple",2),Be=_r([d("uui-file-dropzone")],Be);class Ud{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 Dd=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,we=(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&&Dd(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
2709
  .src=${this._src}
2710
2710
  .alt=${this._name}
2711
2711
  id="file-symbol"></uui-symbol-file-thumbnail>`:l`<uui-symbol-file
@@ -2725,7 +2725,7 @@
2725
2725
  <div id="file-info">
2726
2726
  ${this._renderLongName()}
2727
2727
  <span id="file-size">
2728
- ${this._size&&!this._isDirectory?l`${Ad.humanFileSize(this._size,!0)}`:""}
2728
+ ${this._size&&!this._isDirectory?l`${Ud.humanFileSize(this._size,!0)}`:""}
2729
2729
  </span>
2730
2730
  </div>
2731
2731
  `}};X.styles=[h`
@@ -2796,7 +2796,7 @@
2796
2796
  text-decoration: underline;
2797
2797
  cursor: pointer;
2798
2798
  }
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`
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([d("uui-file-preview")],X);var Nd=Object.defineProperty,Hd=Object.getOwnPropertyDescriptor,_i=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hd(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&&Nd(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
2800
  <div id="label" style=${this._labelSlotHasContent?"":"display: none"}>
2801
2801
  <slot name="label" @slotchange=${this._labelSlotChanged}></slot>
2802
2802
  </div>
@@ -2831,25 +2831,25 @@
2831
2831
  margin-top: -8px;
2832
2832
  min-height: 8px;
2833
2833
  }
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);/**
2834
+ `],_i([a({type:String})],ft.prototype,"description",2),_i([f()],ft.prototype,"_labelSlotHasContent",2),_i([f()],ft.prototype,"_descriptionSlotHasContent",2),ft=_i([d("uui-form-layout-item")],ft);/**
2835
2835
  * @license
2836
2836
  * Copyright 2017 Google LLC
2837
2837
  * 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`
2838
+ */const xa=(t,e,r)=>{const o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},$a=It(class extends At{constructor(t){if(super(t),t.type!==ae.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=zh(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=[],p=[];let m,w,b=0,y=s.length-1,x=0,$=n.length-1;for(;b<=y&&x<=$;)if(s[b]===null)b++;else if(s[y]===null)y--;else if(c[b]===u[x])p[x]=dt(s[b],n[x]),b++,x++;else if(c[y]===u[$])p[$]=dt(s[y],n[$]),y--,$--;else if(c[b]===u[$])p[$]=dt(s[b],n[$]),br(t,p[$+1],s[b]),b++,$--;else if(c[y]===u[x])p[x]=dt(s[y],n[x]),br(t,s[b],s[y]),y--,x++;else if(m===void 0&&(m=xa(u,x,$),w=xa(c,b,y)),m.has(c[b]))if(m.has(c[y])){const q=w.get(u[x]),Ke=q!==void 0?s[q]:null;if(Ke===null){const yt=br(t,s[b]);dt(yt,n[x]),p[x]=yt}else p[x]=dt(Ke,n[x]),br(t,s[b],Ke),s[q]=null;x++}else vo(s[y]),y--;else vo(s[b]),b++;for(;x<=$;){const q=br(t,p[$+1]);dt(q,n[x]),p[x++]=q}for(;b<=y;){const q=s[b++];q!==null&&vo(q)}return this.ut=u,Nn(t,p),F}});var Md=Object.defineProperty,Td=Object.getOwnPropertyDescriptor,Ea=(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&&Md(e,r,i),i};let yr=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
2839
  <slot></slot>
2840
2840
  <div id="messages">
2841
- ${xa(this._messages,t=>l`<div>${t[1]}</div>`)}
2841
+ ${$a(this._messages,t=>l`<div>${t[1]}</div>`)}
2842
2842
  <slot name="message"></slot>
2843
2843
  </div>
2844
- `}};_r.styles=[h`
2844
+ `}};yr.styles=[h`
2845
2845
  #messages {
2846
2846
  color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
2847
2847
  }
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);/**
2848
+ `],Ea([a({reflect:!1,attribute:!0})],yr.prototype,"for",1),yr=Ea([d("uui-form-validation-message")],yr);var jd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,Bd=(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&&jd(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=Bd([d("uui-form")],Po);/**
2849
2849
  * @license
2850
2850
  * Copyright 2017 Google LLC
2851
2851
  * 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`
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 Rd=Object.defineProperty,Pa=Object.getOwnPropertySymbols,Fd=Object.prototype.hasOwnProperty,Gd=Object.prototype.propertyIsEnumerable,Ca=(t,e,r)=>e in t?Rd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oa=(t,e)=>{for(var r in e||(e={}))Fd.call(e,r)&&Ca(t,r,e[r]);if(Pa)for(var r of Pa(e))Gd.call(e,r)&&Ca(t,r,e[r]);return t};class jt extends O{constructor(e,r={}){super(e,Oa(Oa({},{bubbles:!0,composed:!0}),r)),this.icon=null}acceptRequest(e){this.icon=e,this.stopImmediatePropagation()}}jt.ICON_REQUEST="icon-request";var qd=Object.defineProperty,Wd=Object.getOwnPropertyDescriptor,Vt=(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 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`
2853
2853
  :host {
2854
2854
  display: inline-block;
2855
2855
  vertical-align: bottom;
@@ -2869,20 +2869,20 @@
2869
2869
  :host-context(div[slot='append']) {
2870
2870
  margin-right: var(--uui-size-2, 6px);
2871
2871
  }
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">
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([d("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 Kd=Object.defineProperty,Xd=Object.getOwnPropertyDescriptor,Sa=(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 wr=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>`}};Sa([a({attribute:!1})],wr.prototype,"_icons",2),wr=Sa([d("uui-icon-registry")],wr);const Yd=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>`,Zd=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>`,Qd=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>`,Jd=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>`,ep=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>`,tp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2873
2873
  <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">
2874
+ </svg>`,rp=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>`,ip=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>`,op=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>`,sp=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>`,np=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>`,ap=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>`,lp=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>`,up=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>`,cp=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>`,hp=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>`,dp=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>`,vp=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>`,fp=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>`,bp=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>`,gp=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>`,mp=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>`,_p=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>`,yp=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>`,wp=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>`,xp=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>`,$p=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>`,Ep=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>`,Pp=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>`,Cp=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>`,Op=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>`,Sp=g`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2875
2875
  <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}">
2876
+ </svg>`;class ka extends ko{constructor(){super(),this.defineIcon("add",Yd.strings[0]),this.defineIcon("alert",Zd.strings[0]),this.defineIcon("attachment",Qd.strings[0]),this.defineIcon("book-alt",Jd.strings[0]),this.defineIcon("calendar",ep.strings[0]),this.defineIcon("check",tp.strings[0]),this.defineIcon("clipboard",rp.strings[0]),this.defineIcon("code",ip.strings[0]),this.defineIcon("colorpicker",op.strings[0]),this.defineIcon("copy",sp.strings[0]),this.defineIcon("delete",np.strings[0]),this.defineIcon("document",ap.strings[0]),this.defineIcon("download",lp.strings[0]),this.defineIcon("edit",up.strings[0]),this.defineIcon("favorite",cp.strings[0]),this.defineIcon("folder",hp.strings[0]),this.defineIcon("forbidden",dp.strings[0]),this.defineIcon("info",pp.strings[0]),this.defineIcon("link",vp.strings[0]),this.defineIcon("lock",fp.strings[0]),this.defineIcon("pause",bp.strings[0]),this.defineIcon("picture",gp.strings[0]),this.defineIcon("play",mp.strings[0]),this.defineIcon("remove",_p.strings[0]),this.defineIcon("search",yp.strings[0]),this.defineIcon("see",wp.strings[0]),this.defineIcon("settings",xp.strings[0]),this.defineIcon("subtract",$p.strings[0]),this.defineIcon("sync",Ep.strings[0]),this.defineIcon("unlock",Pp.strings[0]),this.defineIcon("unsee",Cp.strings[0]),this.defineIcon("wand",Op.strings[0]),this.defineIcon("wrong",Sp.strings[0])}}var kp=Object.defineProperty,zp=Object.getOwnPropertyDescriptor,Ip=(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&&kp(e,r,i),i};let zo=class extends wr{constructor(){super(),this.registry=new ka}};zo=Ip([d("uui-icon-registry-essential")],zo);var Ap=Object.defineProperty,Up=Object.getOwnPropertyDescriptor,Bt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Up(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&&Ap(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(),_(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
2877
  <uui-action-bar slot="actions">
2878
2878
  <uui-button
2879
2879
  @click=${()=>this._removeFile(e)}
2880
2880
  color="danger"
2881
2881
  label=${`Delete ${t.name}`}>
2882
- <uui-icon name="delete" .fallback=${Rc.strings[0]}></uui-icon>
2882
+ <uui-icon name="delete" .fallback=${Fc.strings[0]}></uui-icon>
2883
2883
  </uui-button>
2884
2884
  </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`
2885
+ </uui-file-preview>`}_renderFiles(){return l`${$a(this._files,t=>t.name+t.size,(t,e)=>this._renderFileItem(t,e))}`}render(){return l`
2886
2886
  <uui-file-dropzone
2887
2887
  id="dropzone"
2888
2888
  ?multiple=${this.multiple}
@@ -2946,7 +2946,7 @@
2946
2946
  justify-content: center;
2947
2947
  align-items: stretch;
2948
2948
  }
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`
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([d("uui-input-file")],De);var Dp=Object.defineProperty,za=Object.getOwnPropertySymbols,Lp=Object.prototype.hasOwnProperty,Np=Object.prototype.propertyIsEnumerable,Ia=(t,e,r)=>e in t?Dp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Aa=(t,e)=>{for(var r in e||(e={}))Lp.call(e,r)&&Ia(t,r,e[r]);if(za)for(var r of za(e))Np.call(e,r)&&Ia(t,r,e[r]);return t};class bt extends O{constructor(e,r={}){super(e,Aa(Aa({},{bubbles:!0}),r))}}bt.CHANGE="change",bt.INPUT="input";var Hp=Object.defineProperty,Mp=Object.getOwnPropertyDescriptor,j=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mp(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&&Hp(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`
2950
2950
  ${this.renderPrepend()}
2951
2951
  <input
2952
2952
  id="input"
@@ -3071,16 +3071,16 @@
3071
3071
  height: 100%;
3072
3072
  --uui-input-border-width: 0;
3073
3073
  }
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
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([d("uui-input")],k);var Tp=Object.defineProperty,jp=Object.getOwnPropertyDescriptor,Ua=(t,e,r,o)=>{for(var i=o>1?void 0:o?jp(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&&Tp(e,r,i),i};let xr=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=${Gc.strings[0]}></uui-icon>`:l`<uui-icon
3075
3075
  name="unlock"
3076
- .fallback=${Wc.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3076
+ .fallback=${Kc.strings[0]}></uui-icon>`}renderPrepend(){return l`<uui-button
3077
3077
  .disabled=${this.disabled}
3078
3078
  @click=${this._onLockToggle}
3079
3079
  compact
3080
3080
  id="lock"
3081
3081
  label="${this.locked?"Unlock input":"Lock input"}">
3082
3082
  ${this.renderIcon()}
3083
- </uui-button>`}};wr.styles=[...k.styles,h`
3083
+ </uui-button>`}};xr.styles=[...k.styles,h`
3084
3084
  #lock {
3085
3085
  height: 100%;
3086
3086
 
@@ -3093,9 +3093,9 @@
3093
3093
  cursor: not-allowed;
3094
3094
  opacity: 0.55;
3095
3095
  }
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
3096
+ `],Ua([a({type:Boolean,reflect:!0})],xr.prototype,"locked",2),xr=Ua([d("uui-input-lock")],xr);var Vp=Object.defineProperty,Bp=Object.getOwnPropertyDescriptor,Io=(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 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(),_(this,"uui-icon"),_(this,"uui-button"),this.hasAttribute("spellcheck")||(this.spellcheck=!1)}renderIcon(){return this.passwordType==="password"?l`<uui-icon name="see" .fallback=${Wc.strings[0]}></uui-icon>`:l`<uui-icon
3097
3097
  name="unsee"
3098
- .fallback=${Kc.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3098
+ .fallback=${Xc.strings[0]}></uui-icon>`}renderAppend(){return l`<uui-button
3099
3099
  .disabled=${this.disabled}
3100
3100
  @click=${this._onPasswordToggle}
3101
3101
  compact
@@ -3111,7 +3111,7 @@
3111
3111
  #clear:hover {
3112
3112
  color: black;
3113
3113
  }
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`
3114
+ `],Io([f()],Rt.prototype,"passwordType",2),Io([a()],Rt.prototype,"type",1),Rt=Io([d("uui-input-password")],Rt);var Rp=Object.defineProperty,Fp=Object.getOwnPropertyDescriptor,Gp=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fp(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&&Rp(e,r,i),i};let yi=class extends v{render(){return l`<slot></slot>`}};yi.styles=[h`
3115
3115
  :host {
3116
3116
  display: inline-block;
3117
3117
  font-family: inherit;
@@ -3126,7 +3126,7 @@
3126
3126
  ::slotted(*:last-child)uui-key {
3127
3127
  margin-right: 0px;
3128
3128
  }
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`
3129
+ `],yi=Gp([d("uui-keyboard-shortcut")],yi);var qp=Object.defineProperty,Wp=Object.getOwnPropertyDescriptor,Kp=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wp(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&&qp(e,r,i),i};let wi=class extends v{render(){return l`<slot></slot>`}};wi.styles=[h`
3130
3130
  :host {
3131
3131
  background: var(--uui-color-surface,#fff);
3132
3132
  border: 1px solid var(--uui-color-border,#d8d7d9);
@@ -3140,7 +3140,7 @@
3140
3140
  user-select: none;
3141
3141
  text-transform: lowercase;
3142
3142
  }
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`
3143
+ `],wi=Kp([d("uui-key")],wi);var Xp=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor,xi=(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 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
3144
  <slot></slot>
3145
3145
  ${this.required?l`<div id="required">*</div>`:""}
3146
3146
  `}};gt.styles=[h`
@@ -3158,7 +3158,7 @@
3158
3158
  color: var(--uui-color-danger,#d42054);
3159
3159
  font-weight: 900;
3160
3160
  }
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`
3161
+ `],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([d("uui-label")],gt);var Zp=Object.defineProperty,Qp=Object.getOwnPropertyDescriptor,Ao=(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};const Jp=(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=Jp(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
3162
  ${this.progress?l`<div
3163
3163
  id="bar"
3164
3164
  style="max-width: ${this.progress.toString()}%;"></div>`:""}
@@ -3226,7 +3226,7 @@
3226
3226
  transform-origin: 175% 0%;
3227
3227
  }
3228
3228
  }
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`
3229
+ `],Ao([a({type:Number})],Ft.prototype,"progress",1),Ao([a({type:Number})],Ft.prototype,"animationDuration",1),Ft=Ao([d("uui-loader-bar")],Ft);var e0=Object.defineProperty,t0=Object.getOwnPropertyDescriptor,Uo=(t,e,r,o)=>{for(var i=o>1?void 0:o?t0(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&&e0(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`
3230
3230
  <svg
3231
3231
  id="spinner"
3232
3232
  class=${this.progress?"":"animate"}
@@ -3328,11 +3328,11 @@
3328
3328
  /* Center the text */
3329
3329
  padding-top: 0.09em;
3330
3330
  }
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`
3331
+ `],Uo([a({type:Number})],Gt.prototype,"progress",2),Uo([a({type:Boolean,reflect:!0,attribute:"show-progress"})],Gt.prototype,"showProgress",2),Gt=Uo([d("uui-loader-circle")],Gt);var r0=Object.defineProperty,i0=Object.getOwnPropertyDescriptor,o0=(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&&r0(e,r,i),i};let $i=class extends v{render(){return l`
3332
3332
  <div></div>
3333
3333
  <div></div>
3334
3334
  <div></div>
3335
- `}};Ei.styles=[h`
3335
+ `}};$i.styles=[h`
3336
3336
  :host {
3337
3337
  color: var(--uui-color-default,#1b264f);
3338
3338
  }
@@ -3372,11 +3372,11 @@
3372
3372
  background-color: currentColor;
3373
3373
  }
3374
3374
  }
3375
- `],Ei=i0([p("uui-loader")],Ei);/**
3375
+ `],$i=o0([d("uui-loader")],$i);/**
3376
3376
  * @license
3377
3377
  * Copyright 2017 Google LLC
3378
3378
  * 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
3379
+ */const $r=(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),$r(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)},Da=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),a0(e)}};function s0(t){this._$AN!==void 0?(Ei(this),this._$AM=t,Da(this)):this._$AM=t}function n0(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++)$r(o[s],!1),Ei(o[s]);else o!=null&&($r(o,!1),Ei(o));else $r(this,t)}const a0=t=>{var e,r,o,i;t.type==ae.CHILD&&((e=(o=t)._$AP)!==null&&e!==void 0||(o._$AP=n0),(r=(i=t)._$AQ)!==null&&r!==void 0||(i._$AQ=s0))};class l0 extends At{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),Da(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&&($r(this,e),Ei(this))}setValue(e){if(Dn(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 l0{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.dt=(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.dt)!==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.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=Do.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 Le extends O{}Le.SHOW_CHILDREN="show-children",Le.HIDE_CHILDREN="hide-children",Le.CLICK_LABEL="click-label";var u0=Object.defineProperty,c0=Object.getOwnPropertyDescriptor,Re=(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};let ce=class extends Qr(St(ur(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"),_(this,"uui-symbol-expand"),_(this,"uui-loader-bar")}_renderLabelInside(){return l` <slot
3380
3380
  name="icon"
3381
3381
  id="icon"
3382
3382
  style=${this.iconSlotHasContent?"":"display: none;"}
@@ -3585,7 +3585,7 @@
3585
3585
  --uui-button-height: calc(var(--uui-size-base-unit) * 4);
3586
3586
  margin-right: var(--uui-size-base-unit);
3587
3587
  }
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`
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([d("uui-menu-item")],ce);var h0=Object.defineProperty,d0=Object.getOwnPropertyDescriptor,qt=(t,e,r,o)=>{for(var i=o>1?void 0:o?d0(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&&h0(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`
3589
3589
  dialog {
3590
3590
  display: block;
3591
3591
  margin: 0;
@@ -3610,9 +3610,9 @@
3610
3610
  :host([index='0']) dialog::after {
3611
3611
  opacity: 0;
3612
3612
  }
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>
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 p0=Object.defineProperty,v0=Object.getOwnPropertyDescriptor,La=(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&&p0(e,r,i),i},Na=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Ha=(t,e,r)=>(Na(t,e,"read from private field"),r?r.call(t):e.get(t)),Ma=(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)},f0=(t,e,r)=>(Na(t,e,"access private method"),r),Pi,No,Ho,Ta;let Wt=class extends Y{constructor(){super(),Ma(this,Pi),Ma(this,Ho),this.size="full",this.addEventListener("close",f0(this,Ho,Ta).bind(this))}firstUpdated(t){super.firstUpdated(t),this.style.setProperty("--uui-modal-offset",-Ha(this,Pi,No)+"px")}updated(t){super.updated(t),this.uniqueIndex>10?this.setAttribute("hide",""):this.removeAttribute("hide")}render(){return l`<dialog>
3614
3614
  <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`
3615
+ </dialog>`}};Pi=new WeakSet,No=function(){var t,e;return(e=(t=this._dialogElement)==null?void 0:t.getBoundingClientRect().width)!=null?e:0},Ho=new WeakSet,Ta=function(t){t.preventDefault(),!this.isClosing&&(this.isClosing=!0,this.style.setProperty("--uui-modal-offset",-Ha(this,Pi,No)+"px"),setTimeout(()=>{this._closeModal()},this.transitionDuration))},Wt.styles=[...Y.styles,h`
3616
3616
  :host {
3617
3617
  --uui-modal-sidebar-left-gap: 24px;
3618
3618
  }
@@ -3648,7 +3648,7 @@
3648
3648
  :host([size='small']) dialog {
3649
3649
  max-width: min(400px, calc(100% - var(--uui-modal-sidebar-left-gap)));
3650
3650
  }
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`
3651
+ `],La([a({reflect:!0})],Wt.prototype,"size",2),Wt=La([io("uui-modal-sidebar")],Wt);var b0=Object.defineProperty,g0=Object.getOwnPropertyDescriptor,Kt=(t,e,r,o)=>{for(var i=o>1?void 0:o?g0(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},ja=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Va=(t,e,r)=>(ja(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)=>(ja(t,e,"access private method"),r),Mo,To,Si,jo,ki,Vo;let Ne=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 Wt),this._modals.length===0){this.removeAttribute("backdrop");return}Oi(this,Si,jo).call(this),Oi(this,ki,Vo).call(this)}),Ci(this,To,()=>{if(!this._modals||this._modals.length<=1){this.removeAttribute("backdrop");return}Oi(this,Si,jo).call(this),Oi(this,ki,Vo).call(this)}),this.addEventListener("close",Va(this,To)),this.style.setProperty("--uui-modal-transition-duration",this.transitionDurationMS+"ms")}render(){return l`<slot @slotchange=${Va(this,Mo)}></slot>`}};Mo=new WeakMap,To=new WeakMap,Si=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})},ki=new WeakSet,Vo=function(){requestAnimationFrame(()=>{var t,e,r,o,i,s,n,u;let c=0;const p=(e=(t=this._sidebars)==null?void 0:t.filter(m=>!m.isClosing).reverse())!=null?e:[];for(let m=0;m<p.length;m++){const w=p[m],b=p[m+1];if(w.style.setProperty("--uui-modal-offset",c+"px"),b?.hasAttribute("hide"))break;const y=(i=(o=(r=w.shadowRoot)==null?void 0:r.querySelector("dialog"))==null?void 0:o.getBoundingClientRect().width)!=null?i:0,x=(u=(n=(s=b?.shadowRoot)==null?void 0:s.querySelector("dialog"))==null?void 0:n.getBoundingClientRect().width)!=null?u:0,$=y+c+this.sidebarGap-x;c=$>0?$:0}})},Ne.styles=h`
3652
3652
  :host {
3653
3653
  position: fixed;
3654
3654
  --uui-modal-color-backdrop: rgba(0, 0, 0, 0.5);
@@ -3665,11 +3665,11 @@
3665
3665
  :host([backdrop])::after {
3666
3666
  opacity: 1;
3667
3667
  }
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`
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 m0=Object.defineProperty,_0=Object.getOwnPropertyDescriptor,y0=(t,e,r,o)=>{for(var i=o>1?void 0:o?_0(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&&m0(e,r,i),i};let zi=class extends Y{render(){return l`
3669
3669
  <dialog>
3670
3670
  <slot></slot>
3671
3671
  </dialog>
3672
- `}};Ii.styles=[...Y.styles,h`
3672
+ `}};zi.styles=[...Y.styles,h`
3673
3673
  dialog {
3674
3674
  margin: auto;
3675
3675
  max-width: 100%;
@@ -3682,7 +3682,7 @@
3682
3682
  :host(:not([index='0'])) dialog {
3683
3683
  outline: 1px solid rgba(0, 0, 0, 0.1);
3684
3684
  }
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
3685
+ `],zi=y0([io("uui-modal-dialog")],zi);var w0=Object.defineProperty,Ba=Object.getOwnPropertySymbols,x0=Object.prototype.hasOwnProperty,$0=Object.prototype.propertyIsEnumerable,Ra=(t,e,r)=>e in t?w0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Fa=(t,e)=>{for(var r in e||(e={}))x0.call(e,r)&&Ra(t,r,e[r]);if(Ba)for(var r of Ba(e))$0.call(e,r)&&Ra(t,r,e[r]);return t};class Fe extends O{constructor(e,r={}){super(e,Fa(Fa({},{bubbles:!0}),r))}}Fe.CHANGE="change";var E0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,He=(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&&E0(e,r,i),i};const C0=45,Bo=(t,e,r)=>Math.min(Math.max(t,e),r),O0=(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),_(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)/C0/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 O0(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
3686
3686
  compact
3687
3687
  look="outline"
3688
3688
  class="nav"
@@ -3774,7 +3774,7 @@
3774
3774
  .active {
3775
3775
  pointer-events: none;
3776
3776
  }
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`
3777
+ `],He([Nl("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([d("uui-pagination")],ne);class Ro extends O{}Ro.CLOSE="close";var S0=Object.defineProperty,k0=Object.getOwnPropertyDescriptor,Er=(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};function Ii(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,p=this._currentPlacement.indexOf("right")!==-1;const m=this._currentPlacement.indexOf("-start")!==-1,w=this._currentPlacement.indexOf("-end")!==-1;let b=.5,y=.5,x=.5,$=.5,q=0,Ke=0;if(this.placement==="auto"){const pe=this._scrollParents[0],or=pe.clientWidth,Ze=pe.clientHeight,wt=i.x-o.width,xt=or-(i.x+i.width)-o.width,Gi=i.y-o.height,Vr=Ze-(i.y+i.height)-o.height;let Br=.5,Rr=.5;const Ol=Math.max(wt,xt);let Yo=Math.max(Gi,Vr);Vr>Gi&&Vr>this.margin&&(Yo+=9999),Ol>Yo?(wt>xt?(Br=0,c=!0):(Br=1,p=!0),q=this.margin):(Gi>Vr?(Rr=0,n=!0):(Rr=1,u=!0),Ke=this.margin),b=Br,y=Rr,x=1-Br,$=1-Rr}else n&&($=1,y=0),u&&($=0,y=1),(n||u)&&(Ke=this.margin,m&&(x=0,b=0),w&&(x=1,b=1)),c&&(x=1,b=0),p&&(x=0,b=1),(c||p)&&(q=this.margin,m&&($=0,y=0),w&&($=1,y=1));const yt=-o.width*x+i.width*b-q*(x*2-1),Fi=-o.height*$+i.height*y-Ke*($*2-1);let Xe=yt,Ye=Fi;n||u?(this._scrollParents.forEach((pe,or)=>{const Ze=pe===document.body?0:s[or].x,wt=-i.x+Ze,xt=pe.clientWidth-i.x-i.width+yt+Ze-(o.width-i.width)*(1-b);Xe=Ii(Xe,wt,xt)}),Xe=Ii(Xe,-o.width,i.width)):(c||p)&&(this._scrollParents.forEach((pe,or)=>{const Ze=pe===document.body?0:s[or].y,wt=-i.y+Ze,xt=pe.clientHeight-i.y-i.height+Fi+Ze-(o.height-i.height)*(1-y);Ye=Ii(Ye,wt,xt)}),Ye=Ii(Ye,-o.height,i.height)),(this._positionX!==Xe||this._positionY!==Ye)&&(this._positionX=Xe,this._positionY=Ye,yt===Xe&&Fi===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,p)=>{const m=c===document.body?0:r[p].x,w=c===document.body?0:r[p].y;return s==="top"&&e.y-2<=w?(u="bottom",!0):s==="bottom"&&e.y+e.height+2>=c.clientHeight+w?(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
3778
  <slot
3779
3779
  id="trigger"
3780
3780
  name="trigger"
@@ -3809,9 +3809,9 @@
3809
3809
  --uui-popover-toggle-slot-button-merge-border-left
3810
3810
  );
3811
3811
  }
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`
3812
+ `],Er([C("#container")],Ge.prototype,"containerElement",2),Er([a({type:Number})],Ge.prototype,"margin",2),Er([a({type:String,reflect:!0})],Ge.prototype,"placement",1),Er([a({type:Boolean,reflect:!0})],Ge.prototype,"open",1),Ge=Er([d("uui-popover")],Ge);var z0=Object.defineProperty,I0=Object.getOwnPropertyDescriptor,Ga=(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};const A0=(t,e,r)=>Math.min(Math.max(t,e),r);let Pr=class extends v{constructor(){super(...arguments),this._progress=0}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=A0(t,0,100),this.requestUpdate("progress",e)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return l`
3813
3813
  <div id="bar" style=${ge(this._getProgressStyle())}></div>
3814
- `}};Er.styles=[h`
3814
+ `}};Pr.styles=[h`
3815
3815
  :host {
3816
3816
  width: 100%;
3817
3817
  height: 4px;
@@ -3828,7 +3828,7 @@
3828
3828
  height: 100%;
3829
3829
  width: 0%;
3830
3830
  }
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>
3831
+ `],Ga([a({type:Number})],Pr.prototype,"progress",1),Pr=Ga([d("uui-progress-bar")],Pr);var U0=Object.defineProperty,qa=Object.getOwnPropertySymbols,D0=Object.prototype.hasOwnProperty,L0=Object.prototype.propertyIsEnumerable,Wa=(t,e,r)=>e in t?U0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ka=(t,e)=>{for(var r in e||(e={}))D0.call(e,r)&&Wa(t,r,e[r]);if(qa)for(var r of qa(e))L0.call(e,r)&&Wa(t,r,e[r]);return t};class Xt extends O{constructor(e,r={}){super(e,Ka(Ka({},{bubbles:!0}),r))}}Xt.CHANGE="change";var N0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,mt=(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};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>
3832
3832
  <input
3833
3833
  id="input"
3834
3834
  type="radio"
@@ -3841,7 +3841,7 @@
3841
3841
  <div id="label">
3842
3842
  ${this.label?l`<span>${this.label}</span>`:l`<slot></slot>`}
3843
3843
  </div>
3844
- </label>`}};he.styles=[ii,h`
3844
+ </label>`}};he.styles=[ri,h`
3845
3845
  :host {
3846
3846
  display: block;
3847
3847
  box-sizing: border-box;
@@ -3946,7 +3946,7 @@
3946
3946
  }
3947
3947
 
3948
3948
  :host([disabled]:active) #button {
3949
- animation: ${oi};
3949
+ animation: ${ii};
3950
3950
  }
3951
3951
 
3952
3952
  @media (prefers-reduced-motion) {
@@ -3958,7 +3958,7 @@
3958
3958
  transition: none;
3959
3959
  }
3960
3960
  }
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`
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([d("uui-radio")],he);var M0=Object.defineProperty,Xa=Object.getOwnPropertySymbols,T0=Object.prototype.hasOwnProperty,j0=Object.prototype.propertyIsEnumerable,Ya=(t,e,r)=>e in t?M0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Za=(t,e)=>{for(var r in e||(e={}))T0.call(e,r)&&Ya(t,r,e[r]);if(Xa)for(var r of Xa(e))j0.call(e,r)&&Ya(t,r,e[r]);return t};class Ai extends O{constructor(e,r={}){super(e,Za(Za({},{bubbles:!0}),r))}}Ai.CHANGE="change";var V0=Object.defineProperty,B0=Object.getOwnPropertyDescriptor,Qa=(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&&V0(e,r,i),i};const R0="ArrowLeft",F0="ArrowUp",G0="ArrowRight",q0="ArrowDown",W0=" ";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 R0:case F0:{t.preventDefault(),this._selectPreviousElement();break}case G0:case q0:{t.preventDefault(),this._selectNextElement();break}case W0: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> `}};Yt.formAssociated=!0,Yt.styles=[h`
3962
3962
  :host {
3963
3963
  display: inline-block;
3964
3964
  padding-right: 3px;
@@ -3971,7 +3971,7 @@
3971
3971
  :host(:not([pristine])[internals-invalid]) {
3972
3972
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
3973
3973
  }
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`
3974
+ `],Qa([a({type:Boolean,reflect:!0})],Yt.prototype,"disabled",2),Yt=Qa([d("uui-radio-group")],Yt);var K0=Object.defineProperty,Ja=Object.getOwnPropertySymbols,X0=Object.prototype.hasOwnProperty,Y0=Object.prototype.propertyIsEnumerable,el=(t,e,r)=>e in t?K0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tl=(t,e)=>{for(var r in e||(e={}))X0.call(e,r)&&el(t,r,e[r]);if(Ja)for(var r of Ja(e))Y0.call(e,r)&&el(t,r,e[r]);return t};class V extends O{constructor(e,r={}){super(e,tl(tl({},{bubbles:!0}),r))}}V.INPUT="input",V.CHANGE="change";var Z0=Object.defineProperty,Q0=Object.getOwnPropertyDescriptor,S=(t,e,r,o)=>{for(var i=o>1?void 0:o?Q0(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},J0=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},e1=(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)},t1=(t,e,r)=>(J0(t,e,"access private method"),r),Fo,rl;const de=12,il=24;let P=class extends fe(v){constructor(){super(),e1(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(),t1(this,Fo,rl).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
3975
  <div id="range-slider">
3976
3976
  ${this.renderNativeInputs()}
3977
3977
  <div id="inner-track">
@@ -4019,8 +4019,8 @@
4019
4019
  <rect x="9" y="9" height="3" rx="2" />
4020
4020
  ${this.renderSteps()}
4021
4021
  </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`
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>=il){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>=il&&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,rl=function(t){this._value=t||`${this.valueLow},${this.valueHigh}`},P.styles=[ln,h`
4024
4024
  :host {
4025
4025
  display: block;
4026
4026
  min-height: 50px;
@@ -4358,7 +4358,7 @@
4358
4358
  input[type='range']:disabled::-ms-thumb {
4359
4359
  cursor: default;
4360
4360
  }
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`
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([d("uui-range-slider")],P);var r1=Object.defineProperty,i1=Object.getOwnPropertyDescriptor,o1=(t,e,r,o)=>{for(var i=o>1?void 0:o?i1(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 Ui=class extends v{render(){return l`<slot></slot>`}};Ui.styles=[h`
4362
4362
  :host {
4363
4363
  display: block;
4364
4364
  }
@@ -4374,7 +4374,7 @@
4374
4374
  right: 0;
4375
4375
  border-top: 1px solid var(--uui-color-border,#d8d7d9);
4376
4376
  }
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`
4377
+ `],Ui=o1([d("uui-ref-list")],Ui);class Zt extends O{}Zt.OPEN="open";var s1=Object.defineProperty,n1=Object.getOwnPropertyDescriptor,Go=(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&&s1(e,r,i),i};let qe=class extends Qr(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`
4378
4378
  :host {
4379
4379
  position: relative;
4380
4380
  display: flex;
@@ -4522,7 +4522,7 @@
4522
4522
  justify-content: flex-end;
4523
4523
  align-items: center;
4524
4524
  }
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"
4525
+ `],Go([a({type:Boolean,reflect:!0})],qe.prototype,"disabled",2),Go([a({type:Boolean,reflect:!0})],qe.prototype,"error",2),qe=Go([d("uui-ref")],qe);var a1=Object.defineProperty,l1=Object.getOwnPropertyDescriptor,Di=(t,e,r,o)=>{for(var i=o>1?void 0:o?l1(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};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(),_(this,"uui-icon")}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}renderDetail(){return l`<small id="detail"
4526
4526
  >${this.detail}<slot name="detail"></slot
4527
4527
  ></small>`}_renderFallbackIcon(){return l`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return l`
4528
4528
  <button
@@ -4606,17 +4606,17 @@
4606
4606
  :host([disabled]) #detail {
4607
4607
  color: var(--uui-color-disabled-contrast,#c4c4c4);
4608
4608
  }
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"
4609
+ `],Di([a({type:String})],U.prototype,"name",2),Di([a({type:String})],U.prototype,"detail",2),Di([f()],U.prototype,"_iconSlotHasContent",2),U=Di([d("uui-ref-node")],U);var u1=Object.defineProperty,c1=Object.getOwnPropertyDescriptor,ol=(t,e,r,o)=>{for(var i=o>1?void 0:o?c1(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 Cr=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"
4610
4610
  >${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"
4611
+ ></small>`}};Cr.styles=[...U.styles],ol([a({type:String})],Cr.prototype,"alias",2),Cr=ol([d("uui-ref-node-data-type")],Cr);var h1=Object.defineProperty,d1=Object.getOwnPropertyDescriptor,sl=(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&&h1(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="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
4612
  >${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"
4613
+ ></small>`}};Or.styles=[...U.styles],sl([a({type:String})],Or.prototype,"alias",2),Or=sl([d("uui-ref-node-document-type")],Or);var p1=Object.defineProperty,v1=Object.getOwnPropertyDescriptor,f1=(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&&p1(e,r,i),i};let Li=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>'}};Li.styles=[...U.styles],Li=f1([d("uui-ref-node-form")],Li);var b1=Object.defineProperty,g1=Object.getOwnPropertyDescriptor,nl=(t,e,r,o)=>{for(var i=o>1?void 0:o?g1(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&&b1(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"
4614
4614
  >${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"
4615
+ ></small>`}};Sr.styles=[...U.styles],nl([a({type:String,attribute:"group-name"})],Sr.prototype,"groupName",2),Sr=nl([d("uui-ref-node-member")],Sr);var m1=Object.defineProperty,_1=Object.getOwnPropertyDescriptor,qo=(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 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"
4616
4616
  >${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"
4617
+ ></small>`}};Qt.styles=[...U.styles],qo([a({type:String})],Qt.prototype,"version",2),qo([a({type:String})],Qt.prototype,"author",2),Qt=qo([d("uui-ref-node-package")],Qt);var y1=Object.defineProperty,w1=Object.getOwnPropertyDescriptor,al=(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 kr=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"
4618
4618
  >${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`
4619
+ ></small>`}};kr.styles=[...U.styles],al([a({type:String,attribute:"group-name"})],kr.prototype,"groupName",2),kr=al([d("uui-ref-node-user")],kr);var x1=Object.defineProperty,$1=Object.getOwnPropertyDescriptor,ll=(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 zr=class extends v{constructor(){super(...arguments),this.enforceScroll=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")}render(){return l`<slot></slot>`}};zr.styles=[h`
4620
4620
  :host {
4621
4621
  display: block;
4622
4622
  scrollbar-width: thin;
@@ -4642,7 +4642,7 @@
4642
4642
  background-color: var(--uui-color-disabled-contrast,#c4c4c4);
4643
4643
  border-radius: 3px;
4644
4644
  }
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
4645
+ `],ll([a({type:Boolean,reflect:!0,attribute:"enforce-scroll"})],zr.prototype,"enforceScroll",2),zr=ll([d("uui-scroll-container")],zr);var E1=Object.defineProperty,ul=Object.getOwnPropertySymbols,P1=Object.prototype.hasOwnProperty,C1=Object.prototype.propertyIsEnumerable,cl=(t,e,r)=>e in t?E1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,hl=(t,e)=>{for(var r in e||(e={}))P1.call(e,r)&&cl(t,r,e[r]);if(ul)for(var r of ul(e))C1.call(e,r)&&cl(t,r,e[r]);return t};class Ni extends O{constructor(e,r={}){super(e,hl(hl({},{bubbles:!0}),r))}}Ni.CHANGE="change";var O1=Object.defineProperty,S1=Object.getOwnPropertyDescriptor,xe=(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 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
4646
  value="${e}"
4647
4647
  ?selected=${r}
4648
4648
  ?disabled=${o}>
@@ -4734,7 +4734,7 @@
4734
4734
  :host([error]) #native[disabled] {
4735
4735
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
4736
4736
  }
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`
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([d("uui-select")],Z);const k1=h`
4738
4738
  input[type='range'] {
4739
4739
  left: 0;
4740
4740
  position: absolute;
@@ -4841,15 +4841,15 @@
4841
4841
  input[type='range']:focus::-ms-fill-upper {
4842
4842
  background: transparent;
4843
4843
  }
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">
4844
+ `;var z1=Object.defineProperty,dl=Object.getOwnPropertySymbols,I1=Object.prototype.hasOwnProperty,A1=Object.prototype.propertyIsEnumerable,pl=(t,e,r)=>e in t?z1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vl=(t,e)=>{for(var r in e||(e={}))I1.call(e,r)&&pl(t,r,e[r]);if(dl)for(var r of dl(e))A1.call(e,r)&&pl(t,r,e[r]);return t};class _t extends O{constructor(e,r={}){super(e,vl(vl({},{bubbles:!0}),r))}}_t.INPUT="input",_t.CHANGE="change";var U1=Object.defineProperty,D1=Object.getOwnPropertyDescriptor,Q=(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};const Ir=12,fl=24,L1=(t,e)=>g`
4845
+ ${t.map(r=>{if(e>=fl){const o=Math.round(Ir+e*t.indexOf(r));return g`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return g``})}
4846
+ `,N1=(t,e,r)=>r?l``:l`<div id="step-values">
4847
4847
  ${t.map(o=>l` <span
4848
4848
  ><span>
4849
- ${t.length<=20&&e>=vl?o.toFixed(0):E}
4849
+ ${t.length<=20&&e>=fl?o.toFixed(0):E}
4850
4850
  </span></span
4851
4851
  >`)}
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`
4852
+ </div>`,H1=(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=H1(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-Ir*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
4853
  <input
4854
4854
  id="input"
4855
4855
  type="range"
@@ -4864,7 +4864,7 @@
4864
4864
  <div id="track" aria-hidden="true">
4865
4865
  <svg height="100%" width="100%">
4866
4866
  <rect x="9" y="9" height="3" rx="2" />
4867
- ${D1(this._steps,this._stepWidth)}
4867
+ ${L1(this._steps,this._stepWidth)}
4868
4868
  </svg>
4869
4869
 
4870
4870
  <div id="track-inner" aria-hidden="true">
@@ -4873,8 +4873,8 @@
4873
4873
  </div>
4874
4874
  </div>
4875
4875
  </div>
4876
- ${L1(this._steps,this._stepWidth,this.hideStepValues)}
4877
- `}};T.formAssociated=!0,T.styles=[an,S1,h`
4876
+ ${N1(this._steps,this._stepWidth,this.hideStepValues)}
4877
+ `}};T.formAssociated=!0,T.styles=[ln,k1,h`
4878
4878
  :host {
4879
4879
  display: inline-block;
4880
4880
  width: 100%;
@@ -4922,8 +4922,8 @@
4922
4922
 
4923
4923
  #track-inner {
4924
4924
  position: absolute;
4925
- left: ${zr}px; /* Match TRACK_MARGIN */
4926
- right: ${zr}px; /* Match TRACK_MARGIN */
4925
+ left: ${Ir}px; /* Match TRACK_MARGIN */
4926
+ right: ${Ir}px; /* Match TRACK_MARGIN */
4927
4927
  }
4928
4928
 
4929
4929
  #thumb {
@@ -4982,7 +4982,7 @@
4982
4982
  }
4983
4983
 
4984
4984
  #step-values {
4985
- margin: 0 ${zr}px; /* Match TRACK_MARGIN */
4985
+ margin: 0 ${Ir}px; /* Match TRACK_MARGIN */
4986
4986
  margin-top: 6px;
4987
4987
  display: flex;
4988
4988
  align-items: flex-end;
@@ -5013,9 +5013,9 @@
5013
5013
  :host(:not([pristine]):invalid) #thumb:after {
5014
5014
  background-color: var(--uui-color-danger,#d42054);
5015
5015
  }
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">
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([d("uui-slider")],T);var M1=Object.defineProperty,T1=Object.getOwnPropertyDescriptor,bl=(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&&M1(e,r,i),i};let Ar=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
5017
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5018
- </svg>`}};Ir.styles=[h`
5018
+ </svg>`}};Ar.styles=[h`
5019
5019
  :host {
5020
5020
  display: inline-block;
5021
5021
  width: 12px;
@@ -5034,13 +5034,13 @@
5034
5034
  :host([open]) svg {
5035
5035
  transform: rotate(0deg);
5036
5036
  }
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
5037
+ `],bl([a({type:Boolean,reflect:!0})],Ar.prototype,"open",2),Ar=bl([d("uui-symbol-expand")],Ar);var j1=Object.defineProperty,V1=Object.getOwnPropertyDescriptor,gl=(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 Ur=class extends v{constructor(){super(...arguments),this.error=!1}render(){return l`<svg
5038
5038
  xmlns="http://www.w3.org/2000/svg"
5039
5039
  viewBox="0 0 512 512"
5040
5040
  id="upload-icon">
5041
5041
  <path
5042
5042
  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`
5043
+ </svg> `}};Ur.styles=[h`
5044
5044
  :host {
5045
5045
  display: flex;
5046
5046
  flex-direction: column;
@@ -5059,9 +5059,9 @@
5059
5059
  :host([error]) #upload-icon {
5060
5060
  fill: var(--uui-color-danger,#d42054);
5061
5061
  }
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
5062
+ `],gl([a({type:Boolean,reflect:!0})],Ur.prototype,"error",2),Ur=gl([d("uui-symbol-file-dropzone")],Ur);var B1=Object.defineProperty,R1=Object.getOwnPropertyDescriptor,Wo=(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&&B1(e,r,i),i};let Jt=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
5063
  name="picture"
5064
- .fallback=${Gc.strings[0]}></uui-icon>`}};Jt.styles=[h`
5064
+ .fallback=${qc.strings[0]}></uui-icon>`}};Jt.styles=[h`
5065
5065
  :host {
5066
5066
  display: block;
5067
5067
  width: 100%;
@@ -5084,9 +5084,9 @@
5084
5084
  color: var(--uui-color-surface,#fff);
5085
5085
  background: var(--uui-color-surface-alt,#f3f3f5);
5086
5086
  }
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">
5087
+ `],Wo([a({type:String})],Jt.prototype,"src",2),Wo([a({type:String})],Jt.prototype,"alt",2),Jt=Wo([d("uui-symbol-file-thumbnail")],Jt);var F1=Object.defineProperty,G1=Object.getOwnPropertyDescriptor,ml=(t,e,r,o)=>{for(var i=o>1?void 0:o?G1(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 Dr=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
5088
  ${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`
5089
+ </svg>`}};Dr.styles=[h`
5090
5090
  :host {
5091
5091
  display: inline-block;
5092
5092
  vertical-align: middle;
@@ -5096,7 +5096,7 @@
5096
5096
  svg {
5097
5097
  fill: currentColor;
5098
5098
  }
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`
5099
+ `],ml([a({type:Boolean,reflect:!0})],Dr.prototype,"open",2),Dr=ml([d("uui-symbol-lock")],Dr);var q1=Object.defineProperty,W1=Object.getOwnPropertyDescriptor,K1=(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};let Hi=class extends v{render(){return l`•••`}};Hi.styles=[h`
5100
5100
  :host {
5101
5101
  display: inline-block;
5102
5102
  font-size: 0.8em;
@@ -5105,7 +5105,7 @@
5105
5105
  line-height: 1em;
5106
5106
  user-select: none;
5107
5107
  }
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
5108
+ `],Hi=K1([d("uui-symbol-more")],Hi);var X1=Object.defineProperty,Y1=Object.getOwnPropertyDescriptor,_l=(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&&X1(e,r,i),i};let Lr=class extends ur(v){constructor(){super(...arguments),this.descending=!1}render(){return l`<svg
5109
5109
  id="up"
5110
5110
  xmlns="http://www.w3.org/2000/svg"
5111
5111
  viewBox="0 0 512 512">
@@ -5113,7 +5113,7 @@
5113
5113
  </svg>
5114
5114
  <svg id="down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
5115
5115
  <path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>
5116
- </svg>`}};Dr.styles=[h`
5116
+ </svg>`}};Lr.styles=[h`
5117
5117
  :host {
5118
5118
  position: relative;
5119
5119
  display: inline-block;
@@ -5170,7 +5170,7 @@
5170
5170
  :host([active][descending]) #down {
5171
5171
  opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));
5172
5172
  }
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`
5173
+ `],_l([a({type:Boolean,reflect:!0})],Lr.prototype,"descending",2),Lr=_l([d("uui-symbol-sort")],Lr);var Z1=Object.defineProperty,Q1=Object.getOwnPropertyDescriptor,J1=(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 Mi=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return l`<slot></slot>`}};Mi.styles=[h`
5174
5174
  :host {
5175
5175
  display: table;
5176
5176
  width: 100%;
@@ -5178,7 +5178,7 @@
5178
5178
  background-color: var(--uui-color-surface,#fff);
5179
5179
  cursor: default;
5180
5180
  }
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`
5181
+ `],Mi=J1([d("uui-table")],Mi);var ev=Object.defineProperty,tv=Object.getOwnPropertyDescriptor,Ti=(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&&ev(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`
5182
5182
  :host {
5183
5183
  position: relative;
5184
5184
  display: table-cell;
@@ -5212,20 +5212,20 @@
5212
5212
  :host([no-padding]) {
5213
5213
  padding: 0;
5214
5214
  }
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`
5215
+ `],Ti([a({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],$e.prototype,"disableChildInteraction",2),Ti([a({type:Boolean,reflect:!0,attribute:"no-padding"})],$e.prototype,"noPadding",2),Ti([a({type:Boolean,reflect:!0,attribute:"clip-text"})],$e.prototype,"clipText",2),$e=Ti([d("uui-table-cell")],$e);var rv=Object.defineProperty,iv=Object.getOwnPropertyDescriptor,ov=(t,e,r,o)=>{for(var i=o>1?void 0:o?iv(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 ji=class extends v{};ji.styles=[h`
5216
5216
  :host {
5217
5217
  display: table-column;
5218
5218
  }
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`
5219
+ `],ji=ov([d("uui-table-column")],ji);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 Vi=class extends $e{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}};Vi.styles=[...$e.styles,h`
5220
5220
  :host {
5221
5221
  border-top: none;
5222
5222
  }
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`
5223
+ `],Vi=av([d("uui-table-head-cell")],Vi);var lv=Object.defineProperty,uv=Object.getOwnPropertyDescriptor,cv=(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 Bi=class extends v{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return l`<slot></slot>`}};Bi.styles=[h`
5224
5224
  :host {
5225
5225
  display: table-header-group;
5226
5226
  font-weight: bold;
5227
5227
  }
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`
5228
+ `],Bi=cv([d("uui-table-head")],Bi);var hv=Object.defineProperty,dv=Object.getOwnPropertyDescriptor,yl=(t,e,r,o)=>{for(var i=o>1?void 0:o?dv(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 Nr=class extends Qr(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> `}};Nr.styles=[h`
5229
5229
  :host {
5230
5230
  display: table-row;
5231
5231
  position: relative;
@@ -5247,7 +5247,7 @@
5247
5247
  :host([selected]:focus) {
5248
5248
  outline-color: var(--uui-color-focus,#3879ff);
5249
5249
  }
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`
5250
+ `],yl([je({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],Nr.prototype,"slotCellNodes",2),Nr=yl([d("uui-table-row")],Nr);var pv=Object.defineProperty,vv=Object.getOwnPropertyDescriptor,Ri=(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 We=class extends ur(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
5251
  <a
5252
5252
  id="button"
5253
5253
  href=${L(this.disabled?void 0:this.href)}
@@ -5346,7 +5346,7 @@
5346
5346
  font-size: 20px;
5347
5347
  margin-bottom: var(--uui-size-2,6px);
5348
5348
  }
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`
5349
+ `],Ri([a({type:Boolean,reflect:!0})],We.prototype,"disabled",2),Ri([a({type:String})],We.prototype,"href",2),Ri([a({type:String})],We.prototype,"target",2),We=Ri([d("uui-tab")],We);var fv=Object.defineProperty,bv=Object.getOwnPropertyDescriptor,wl=(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 Hr=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> `}};Hr.styles=[h`
5350
5350
  :host {
5351
5351
  display: flex;
5352
5352
  flex-wrap: wrap;
@@ -5359,7 +5359,7 @@
5359
5359
  ::slotted(*:not(:last-of-type)) {
5360
5360
  border-right: 1px solid var(--uui-tab-divider, none);
5361
5361
  }
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`
5362
+ `],wl([je({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],Hr.prototype,"_slottedNodes",2),Hr=wl([d("uui-tab-group")],Hr);class gv extends O{}class mv extends O{}var _v=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,Ko=(t,e,r,o)=>{for(var i=o>1?void 0:o?yv(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 er=class extends v{constructor(){super(...arguments),this.color="default",this.look="primary"}render(){return l`<slot></slot>`}};er.styles=[h`
5363
5363
  :host {
5364
5364
  display: inline-block;
5365
5365
  font-size: var(--uui-tag-font-size, var(--uui-type-small-size,12px));
@@ -5426,7 +5426,7 @@
5426
5426
  color: var(--color-standalone);
5427
5427
  border-color: var(--uui-color-border-standalone,#c2c2c2);
5428
5428
  }
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`
5429
+ `],Ko([a({reflect:!0})],er.prototype,"color",2),Ko([a({reflect:!0})],er.prototype,"look",2),er=Ko([d("uui-tag")],er);var wv=Object.defineProperty,xl=Object.getOwnPropertySymbols,xv=Object.prototype.hasOwnProperty,$v=Object.prototype.propertyIsEnumerable,$l=(t,e,r)=>e in t?wv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,El=(t,e)=>{for(var r in e||(e={}))xv.call(e,r)&&$l(t,r,e[r]);if(xl)for(var r of xl(e))$v.call(e,r)&&$l(t,r,e[r]);return t};class Mr extends O{constructor(e,r={}){super(e,El(El({},{bubbles:!0}),r))}}Mr.CHANGE="change",Mr.INPUT="input";var Ev=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,B=(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 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 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
5430
  <textarea
5431
5431
  id="textarea"
5432
5432
  .rows=${this.rows}
@@ -5524,7 +5524,7 @@
5524
5524
  outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
5525
5525
  var(--uui-color-focus,#3879ff);
5526
5526
  }
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`
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([d("uui-textarea")],A);class R extends O{}R.OPENING="opening",R.OPENED="opened",R.CLOSING="closing",R.CLOSED="closed";var Cv=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,tr=(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 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 Rc(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
5528
  <div id="toast" class=${this._animate?"animate":""}>
5529
5529
  <div>
5530
5530
  <div id="close">
@@ -5535,13 +5535,13 @@
5535
5535
  @click=${()=>this.open=!1}>
5536
5536
  <uui-icon
5537
5537
  name="remove"
5538
- .fallback=${vn.strings[0]}></uui-icon>
5538
+ .fallback=${fn.strings[0]}></uui-icon>
5539
5539
  </uui-button>
5540
5540
  </div>
5541
5541
  <slot></slot>
5542
5542
  </div>
5543
5543
  </div>
5544
- `}};Me.styles=[Xr,h`
5544
+ `}};Me.styles=[Kr,h`
5545
5545
  :host {
5546
5546
  --uui-toast-notification-margin: var(--uui-size-space-2,6px);
5547
5547
 
@@ -5637,7 +5637,7 @@
5637
5637
  color: var(--uui-color-danger-contrast,white);
5638
5638
  border-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));
5639
5639
  }
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`
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([d("uui-toast-notification")],Me);var Sv=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,Pl=(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._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> `}};Tr.styles=[h`
5641
5641
  :host {
5642
5642
  position: absolute;
5643
5643
  overflow: hidden;
@@ -5665,7 +5665,7 @@
5665
5665
  :host([left-align]) slot {
5666
5666
  align-items: start;
5667
5667
  }
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`
5668
+ `],Pl([a({type:Number,reflect:!0,attribute:"auto-close"})],Tr.prototype,"_autoClose",2),Tr=Pl([d("uui-toast-notification-container")],Tr);var zv=Object.defineProperty,Iv=Object.getOwnPropertyDescriptor,Xo=(t,e,r,o)=>{for(var i=o>1?void 0:o?Iv(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&&zv(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`
5669
5669
  <div id="message" class="uui-text">
5670
5670
  <h5
5671
5671
  style=${this._headlineSlotHasContent||this.headline&&this.headline!==""?"":"display: none"}>
@@ -5675,7 +5675,7 @@
5675
5675
  <slot></slot>
5676
5676
  <slot id="actions" name="actions"></slot>
5677
5677
  </div>
5678
- `}};rr.styles=[Xr,h`
5678
+ `}};rr.styles=[Kr,h`
5679
5679
  #message {
5680
5680
  margin-bottom: calc(var(--uui-size-space-1,3px) * -1);
5681
5681
  }
@@ -5696,12 +5696,12 @@
5696
5696
  margin-top: var(--uui-size-space-4,12px);
5697
5697
  margin-bottom: calc(var(--uui-size-space-2,6px) * -1);
5698
5698
  }
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`
5699
+ `],Xo([a({type:String})],rr.prototype,"headline",2),Xo([f()],rr.prototype,"_headlineSlotHasContent",2),rr=Xo([d("uui-toast-notification-layout")],rr);var Av=Object.defineProperty,Uv=Object.getOwnPropertyDescriptor,Dv=(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 jr=class extends be{constructor(){super("switch")}renderCheckbox(){return l`
5700
5700
  <div id="slider">
5701
- <div id="icon-check">${ai}</div>
5702
- <div id="icon-wrong">${fn}</div>
5701
+ <div id="icon-check">${ni}</div>
5702
+ <div id="icon-wrong">${bn}</div>
5703
5703
  </div>
5704
- `}};Tr.formAssociated=!0,Tr.styles=[...be.styles,ii,h`
5704
+ `}};jr.formAssociated=!0,jr.styles=[...be.styles,ri,h`
5705
5705
  :host {
5706
5706
  --uui-toggle-size: 18px;
5707
5707
  --uui-toggle-switch-width: calc(2 * var(--uui-toggle-size));
@@ -5821,7 +5821,7 @@
5821
5821
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
5822
5822
  }
5823
5823
  :host([disabled]) label:active #slider {
5824
- animation: ${oi};
5824
+ animation: ${ii};
5825
5825
  }
5826
5826
  :host([disabled]) input:checked #slider #icon-check {
5827
5827
  fill: var(--uui-color-disabled-contrast,#c4c4c4);
@@ -5834,4 +5834,4 @@
5834
5834
  :host(:not([pristine])[internals-invalid]) label:hover #slider {
5835
5835
  border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));
5836
5836
  }
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};
5837
+ `],jr=Dv([d("uui-toggle")],jr);export{iu as ActiveMixin,bu as FormControlMixin,_u as InterfaceColorValues,mu as InterfaceLookValues,nu as LabelMixin,pu as SelectOnlyMixin,uu as SelectableMixin,yu as Timer,Xr as UUIActionBarElement,Pe as UUIAvatarElement,st as UUIAvatarGroupElement,nt as UUIBadgeElement,Tl as UUIBlinkAnimationValue,Ml as UUIBlinkKeyframes,be as UUIBooleanInputElement,Jr as UUIBooleanInputEvent,lt as UUIBoxElement,ut as UUIBreadcrumbItemElement,cr as UUIBreadcrumbsElement,W as UUIButtonElement,Pt as UUIButtonGroupElement,ct as UUIButtonInlineCreateElement,oi as UUIButtonInlineCreateEvent,Dt as UUICardContentNodeElement,J as UUICardElement,Ut as UUICardEvent,ht as UUICardMediaElement,dr as UUICardUserElement,pr as UUICaretElement,vr as UUICheckboxElement,re as UUIColorAreaElement,hi as UUIColorAreaEvent,vi as UUIColorPickerChangeEvent,z as UUIColorPickerElement,oe as UUIColorSliderElement,fi 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,mi 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,yr as UUIFormValidationMessageElement,Vl as UUIHorizontalPulseAnimationValue,jl as UUIHorizontalPulseKeyframes,Rl as UUIHorizontalShakeAnimationValue,Bl as UUIHorizontalShakeKeyframes,Ue as UUIIconElement,So as UUIIconHost,ko as UUIIconRegistry,wr as UUIIconRegistryElement,ka as UUIIconRegistryEssential,zo as UUIIconRegistryEssentialElement,jt as UUIIconRequestEvent,k as UUIInputElement,bt as UUIInputEvent,De as UUIInputFileElement,xr as UUIInputLockElement,Rt as UUIInputPasswordElement,wi as UUIKeyElement,yi as UUIKeyboardShortcutElement,gt as UUILabelElement,Ft as UUILoaderBarElement,Gt as UUILoaderCircleElement,$i as UUILoaderElement,ce as UUIMenuItemElement,Le as UUIMenuItemEvent,Ne as UUIModalContainerElement,zi as UUIModalDialogElement,Y as UUIModalElement,Wt as UUIModalSidebarElement,ne as UUIPaginationElement,Fe as UUIPaginationEvent,Ge as UUIPopoverElement,Pr as UUIProgressBarElement,he as UUIRadioElement,Xt as UUIRadioEvent,Yt as UUIRadioGroupElement,Ai as UUIRadioGroupEvent,P as UUIRangeSliderElement,qe as UUIRefElement,Zt as UUIRefEvent,Ui as UUIRefListElement,Cr as UUIRefNodeDataTypeElement,Or as UUIRefNodeDocumentTypeElement,U as UUIRefNodeElement,Li as UUIRefNodeFormElement,Sr as UUIRefNodeMemberElement,Qt as UUIRefNodePackageElement,kr as UUIRefNodeUserElement,zr as UUIScrollContainerElement,Z as UUISelectElement,Ni as UUISelectEvent,it as UUISelectableEvent,T as UUISliderElement,_t as UUISliderEvent,Ar as UUISymbolExpandElement,Ur as UUISymbolFileDropzoneElement,hr as UUISymbolFileElement,Jt as UUISymbolFileThumbnailElement,ai as UUISymbolFolderElement,Dr as UUISymbolLockElement,Hi as UUISymbolMoreElement,Lr as UUISymbolSortElement,We as UUITabElement,gv as UUITabEvent,Hr as UUITabGroupElement,mv as UUITabGroupEvent,$e as UUITableCellElement,ji as UUITableColumnElement,Mi as UUITableElement,Vi as UUITableHeadCellElement,Bi as UUITableHeadElement,Nr as UUITableRowElement,er as UUITagElement,Kr as UUITextStyles,A as UUITextareaElement,Mr as UUITextareaEvent,Tr as UUIToastNotificationContainerElement,Me as UUIToastNotificationElement,R as UUIToastNotificationEvent,rr as UUIToastNotificationLayoutElement,jr as UUIToggleElement,$u as clamp,gu as defineElement,wu as demandCustomElement,xu as drag,Eu as reverseNumberInRange,Pu as toHex};