@maggioli-design-system/magma 1.11.7 → 1.12.0

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 (301) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/magma-components.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  5. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  6. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  8. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  13. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-bibliography.cjs.entry.js +7 -7
  15. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-button_3.cjs.entry.js +2 -2
  20. package/dist/cjs/mds-calendar_2.cjs.entry.js +246 -128
  21. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  30. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  32. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  35. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-input-date-range.cjs.entry.js +197 -55
  39. package/dist/cjs/mds-input-date.cjs.entry.js +16 -10
  40. package/dist/cjs/mds-input.cjs.entry.js +9 -9
  41. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  42. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +1 -1
  43. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  44. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
  45. package/dist/collection/components/mds-author/mds-author.js +2 -2
  46. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  47. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  48. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  49. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  50. package/dist/collection/components/mds-banner/mds-banner.js +2 -2
  51. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  52. package/dist/collection/components/mds-bibliography/mds-bibliography.js +7 -7
  53. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -2
  54. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  55. package/dist/collection/components/mds-button/mds-button.js +1 -1
  56. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  57. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  58. package/dist/collection/components/mds-calendar/mds-calendar.css +50 -7
  59. package/dist/collection/components/mds-calendar/mds-calendar.js +413 -128
  60. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  61. package/dist/collection/components/mds-card/mds-card.js +1 -1
  62. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  63. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  64. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  65. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  66. package/dist/collection/components/mds-chip/mds-chip.js +3 -3
  67. package/dist/collection/components/mds-details/mds-details.js +1 -1
  68. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  69. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  70. package/dist/collection/components/mds-entity/mds-entity.js +4 -4
  71. package/dist/collection/components/mds-file/mds-file.js +3 -3
  72. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  73. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  74. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  75. package/dist/collection/components/mds-header/mds-header.js +2 -2
  76. package/dist/collection/components/mds-header-bar/mds-header-bar.js +3 -3
  77. package/dist/collection/components/mds-help/mds-help.js +1 -1
  78. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  79. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  80. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  81. package/dist/collection/components/mds-input/mds-input.js +9 -9
  82. package/dist/collection/components/mds-input-date/mds-input-date.js +19 -11
  83. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +33 -1
  84. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +220 -70
  85. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
  86. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  87. package/dist/components/mds-accordion-item.js +1 -1
  88. package/dist/components/mds-accordion-timer-item.js +1 -1
  89. package/dist/components/mds-accordion-timer.js +1 -1
  90. package/dist/components/mds-accordion.js +1 -1
  91. package/dist/components/mds-author.js +2 -2
  92. package/dist/components/mds-avatar-stack-item2.js +1 -1
  93. package/dist/components/mds-avatar-stack.js +1 -1
  94. package/dist/components/mds-avatar2.js +1 -1
  95. package/dist/components/mds-badge2.js +1 -1
  96. package/dist/components/mds-banner2.js +2 -2
  97. package/dist/components/mds-benchmark-bar.js +1 -1
  98. package/dist/components/mds-bibliography.js +7 -7
  99. package/dist/components/mds-breadcrumb-item.js +1 -1
  100. package/dist/components/mds-breadcrumb.js +2 -2
  101. package/dist/components/mds-button-dropdown.js +1 -1
  102. package/dist/components/mds-button-group.js +1 -1
  103. package/dist/components/mds-button2.js +1 -1
  104. package/dist/components/mds-calendar-cell2.js +1 -1
  105. package/dist/components/mds-calendar2.js +256 -128
  106. package/dist/components/mds-card-content.js +1 -1
  107. package/dist/components/mds-card-footer.js +1 -1
  108. package/dist/components/mds-card-header.js +1 -1
  109. package/dist/components/mds-card-media.js +1 -1
  110. package/dist/components/mds-card.js +1 -1
  111. package/dist/components/mds-chip2.js +3 -3
  112. package/dist/components/mds-details.js +1 -1
  113. package/dist/components/mds-dropdown2.js +2 -2
  114. package/dist/components/mds-emoji.js +1 -1
  115. package/dist/components/mds-entity.js +4 -4
  116. package/dist/components/mds-file-preview2.js +2 -2
  117. package/dist/components/mds-file.js +3 -3
  118. package/dist/components/mds-filter-item2.js +1 -1
  119. package/dist/components/mds-filter.js +1 -1
  120. package/dist/components/mds-header-bar.js +3 -3
  121. package/dist/components/mds-header.js +2 -2
  122. package/dist/components/mds-help2.js +1 -1
  123. package/dist/components/mds-horizontal-scroll.js +1 -1
  124. package/dist/components/mds-hr.js +1 -1
  125. package/dist/components/mds-icon2.js +1 -1
  126. package/dist/components/mds-input-date-range.js +199 -55
  127. package/dist/components/mds-input-date.js +17 -10
  128. package/dist/components/mds-input2.js +9 -9
  129. package/dist/documentation.json +238 -32
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/magma-components.js +1 -1
  132. package/dist/esm/mds-accordion-item.entry.js +1 -1
  133. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  134. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  135. package/dist/esm/mds-accordion.entry.js +1 -1
  136. package/dist/esm/mds-author.entry.js +2 -2
  137. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  138. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  139. package/dist/esm/mds-avatar.entry.js +1 -1
  140. package/dist/esm/mds-badge.entry.js +1 -1
  141. package/dist/esm/mds-banner_3.entry.js +6 -6
  142. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  143. package/dist/esm/mds-bibliography.entry.js +7 -7
  144. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  145. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  146. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  147. package/dist/esm/mds-button-group.entry.js +1 -1
  148. package/dist/esm/mds-button_3.entry.js +2 -2
  149. package/dist/esm/mds-calendar_2.entry.js +246 -128
  150. package/dist/esm/mds-card-content.entry.js +1 -1
  151. package/dist/esm/mds-card-footer.entry.js +1 -1
  152. package/dist/esm/mds-card-header.entry.js +1 -1
  153. package/dist/esm/mds-card-media.entry.js +1 -1
  154. package/dist/esm/mds-card.entry.js +1 -1
  155. package/dist/esm/mds-details.entry.js +1 -1
  156. package/dist/esm/mds-dropdown.entry.js +2 -2
  157. package/dist/esm/mds-emoji.entry.js +1 -1
  158. package/dist/esm/mds-entity.entry.js +4 -4
  159. package/dist/esm/mds-file-preview.entry.js +2 -2
  160. package/dist/esm/mds-file.entry.js +3 -3
  161. package/dist/esm/mds-filter-item.entry.js +1 -1
  162. package/dist/esm/mds-filter.entry.js +1 -1
  163. package/dist/esm/mds-header-bar.entry.js +3 -3
  164. package/dist/esm/mds-header.entry.js +2 -2
  165. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  166. package/dist/esm/mds-hr.entry.js +1 -1
  167. package/dist/esm/mds-input-date-range.entry.js +197 -55
  168. package/dist/esm/mds-input-date.entry.js +16 -10
  169. package/dist/esm/mds-input.entry.js +9 -9
  170. package/dist/esm-es5/loader.js +1 -1
  171. package/dist/esm-es5/magma-components.js +1 -1
  172. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  173. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  174. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  175. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  176. package/dist/esm-es5/mds-author.entry.js +1 -1
  177. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  178. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  179. package/dist/esm-es5/mds-avatar.entry.js +1 -1
  180. package/dist/esm-es5/mds-badge.entry.js +1 -1
  181. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  182. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  183. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  184. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  185. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  186. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  187. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  188. package/dist/esm-es5/mds-button_3.entry.js +1 -1
  189. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  190. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  191. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  192. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  193. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  194. package/dist/esm-es5/mds-card.entry.js +1 -1
  195. package/dist/esm-es5/mds-details.entry.js +1 -1
  196. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  197. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  198. package/dist/esm-es5/mds-entity.entry.js +1 -1
  199. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  200. package/dist/esm-es5/mds-file.entry.js +1 -1
  201. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  202. package/dist/esm-es5/mds-filter.entry.js +1 -1
  203. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  204. package/dist/esm-es5/mds-header.entry.js +1 -1
  205. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  206. package/dist/esm-es5/mds-hr.entry.js +1 -1
  207. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  208. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  209. package/dist/esm-es5/mds-input.entry.js +1 -1
  210. package/dist/hydrate/index.js +539 -262
  211. package/dist/hydrate/index.mjs +539 -262
  212. package/dist/magma-components/magma-components.esm.js +1 -1
  213. package/dist/magma-components/{p-e3b0adb8.entry.js → p-02c9dffb.entry.js} +1 -1
  214. package/dist/magma-components/{p-e8626e7a.system.entry.js → p-03b5bdae.system.entry.js} +1 -1
  215. package/dist/magma-components/{p-fec5168f.entry.js → p-09b27f6e.entry.js} +1 -1
  216. package/dist/magma-components/p-09cbad84.system.entry.js +1 -0
  217. package/dist/magma-components/{p-0c3b813d.entry.js → p-0a9db9fc.entry.js} +1 -1
  218. package/dist/magma-components/{p-beeaec1c.entry.js → p-10957e40.entry.js} +1 -1
  219. package/dist/magma-components/{p-42f5037a.entry.js → p-14cad758.entry.js} +1 -1
  220. package/dist/magma-components/{p-35d85970.entry.js → p-188c906e.entry.js} +1 -1
  221. package/dist/magma-components/{p-91e16169.system.entry.js → p-191e79c8.system.entry.js} +1 -1
  222. package/dist/magma-components/{p-1a8d42d1.system.entry.js → p-1c37f4ce.system.entry.js} +1 -1
  223. package/dist/magma-components/{p-30648e76.system.entry.js → p-1cd6c3fe.system.entry.js} +1 -1
  224. package/dist/magma-components/{p-c3ae9ba7.system.entry.js → p-1f52a479.system.entry.js} +1 -1
  225. package/dist/magma-components/p-20e0f9e3.entry.js +1 -0
  226. package/dist/magma-components/p-26cd6ec8.system.js +1 -1
  227. package/dist/magma-components/{p-237d60e2.system.entry.js → p-2910fa0c.system.entry.js} +1 -1
  228. package/dist/magma-components/{p-d95c9d2e.system.entry.js → p-2d947462.system.entry.js} +1 -1
  229. package/dist/magma-components/{p-0b25be9f.entry.js → p-342a07c7.entry.js} +1 -1
  230. package/dist/magma-components/{p-b228a186.system.entry.js → p-39d9f24d.system.entry.js} +1 -1
  231. package/dist/magma-components/{p-27cb23f6.entry.js → p-3a57f53d.entry.js} +1 -1
  232. package/dist/magma-components/{p-0689710c.system.entry.js → p-3b267a52.system.entry.js} +1 -1
  233. package/dist/magma-components/{p-224f80f4.entry.js → p-3bf7d52c.entry.js} +1 -1
  234. package/dist/magma-components/{p-2de8157b.system.entry.js → p-432be440.system.entry.js} +1 -1
  235. package/dist/magma-components/{p-5eca660e.system.entry.js → p-43a2f192.system.entry.js} +1 -1
  236. package/dist/magma-components/{p-eaf4805a.entry.js → p-48a2e8e4.entry.js} +1 -1
  237. package/dist/magma-components/{p-ff674ef9.entry.js → p-4ab9c985.entry.js} +1 -1
  238. package/dist/magma-components/{p-40eeffe8.entry.js → p-4b76248b.entry.js} +1 -1
  239. package/dist/magma-components/{p-11df77b3.entry.js → p-4cf97724.entry.js} +1 -1
  240. package/dist/magma-components/{p-0e2b6dd3.system.entry.js → p-5359bf5e.system.entry.js} +1 -1
  241. package/dist/magma-components/{p-536b4c16.entry.js → p-5619ed51.entry.js} +1 -1
  242. package/dist/magma-components/{p-d738a403.system.entry.js → p-5edd2f30.system.entry.js} +1 -1
  243. package/dist/magma-components/{p-033e85f1.entry.js → p-606cd4bb.entry.js} +1 -1
  244. package/dist/magma-components/{p-e9ade624.system.entry.js → p-61c35e05.system.entry.js} +1 -1
  245. package/dist/magma-components/{p-6e680417.system.entry.js → p-68a7d370.system.entry.js} +1 -1
  246. package/dist/magma-components/{p-409c9518.system.entry.js → p-7244ca7a.system.entry.js} +1 -1
  247. package/dist/magma-components/{p-a9d6984e.entry.js → p-726cd93c.entry.js} +1 -1
  248. package/dist/magma-components/{p-c2798c9a.system.entry.js → p-7359e097.system.entry.js} +1 -1
  249. package/dist/magma-components/{p-723fbfb0.entry.js → p-78088de2.entry.js} +1 -1
  250. package/dist/magma-components/{p-83b2ee17.entry.js → p-7ae676db.entry.js} +1 -1
  251. package/dist/magma-components/{p-6d3ea2b6.entry.js → p-7b788f04.entry.js} +1 -1
  252. package/dist/magma-components/{p-b727c3a6.system.entry.js → p-80518658.system.entry.js} +1 -1
  253. package/dist/magma-components/{p-f6ef6105.entry.js → p-8314f381.entry.js} +1 -1
  254. package/dist/magma-components/{p-86f45462.entry.js → p-8469b603.entry.js} +1 -1
  255. package/dist/magma-components/{p-09aaa62b.system.entry.js → p-855f1617.system.entry.js} +1 -1
  256. package/dist/magma-components/{p-cae0e727.entry.js → p-89757b16.entry.js} +1 -1
  257. package/dist/magma-components/{p-60342fa8.system.entry.js → p-8bc52935.system.entry.js} +1 -1
  258. package/dist/magma-components/{p-6b4bf0df.entry.js → p-8f091ceb.entry.js} +1 -1
  259. package/dist/magma-components/{p-8859d528.entry.js → p-94fb14aa.entry.js} +1 -1
  260. package/dist/magma-components/{p-755dff75.system.entry.js → p-9b7e1f4b.system.entry.js} +1 -1
  261. package/dist/magma-components/{p-dfdc83ab.entry.js → p-9d5ab31c.entry.js} +1 -1
  262. package/dist/magma-components/{p-ddd59ddb.system.entry.js → p-9d86dd4c.system.entry.js} +1 -1
  263. package/dist/magma-components/{p-9e08e8f1.system.entry.js → p-a776c78c.system.entry.js} +1 -1
  264. package/dist/magma-components/{p-854848ca.entry.js → p-aacb6b47.entry.js} +1 -1
  265. package/dist/magma-components/{p-bdc49c99.entry.js → p-b4bad440.entry.js} +1 -1
  266. package/dist/magma-components/{p-3095eab8.system.entry.js → p-b7aae63a.system.entry.js} +1 -1
  267. package/dist/magma-components/{p-03cadeb4.system.entry.js → p-b7b0f420.system.entry.js} +1 -1
  268. package/dist/magma-components/{p-788e95ce.entry.js → p-ba8142cf.entry.js} +1 -1
  269. package/dist/magma-components/{p-84cf6604.system.entry.js → p-be5a7e23.system.entry.js} +1 -1
  270. package/dist/magma-components/{p-61e3603c.system.entry.js → p-c3304189.system.entry.js} +1 -1
  271. package/dist/magma-components/{p-a201cbab.entry.js → p-c372fe03.entry.js} +1 -1
  272. package/dist/magma-components/{p-b4baf323.entry.js → p-c5730248.entry.js} +1 -1
  273. package/dist/magma-components/{p-3e50c4ab.entry.js → p-c5d2cd00.entry.js} +1 -1
  274. package/dist/magma-components/p-c6785782.entry.js +1 -0
  275. package/dist/magma-components/p-ca4ee5b5.system.entry.js +1 -0
  276. package/dist/magma-components/p-d7cf7569.entry.js +1 -0
  277. package/dist/magma-components/{p-6d1ce884.system.entry.js → p-d98a34dc.system.entry.js} +1 -1
  278. package/dist/magma-components/{p-2b3517af.system.entry.js → p-d99f38a7.system.entry.js} +1 -1
  279. package/dist/magma-components/{p-3c2df04e.system.entry.js → p-dd7b9422.system.entry.js} +1 -1
  280. package/dist/magma-components/{p-58b77d4f.entry.js → p-e0bd7509.entry.js} +1 -1
  281. package/dist/magma-components/{p-a786264e.system.entry.js → p-e32a0ec8.system.entry.js} +1 -1
  282. package/dist/magma-components/{p-12527b99.system.entry.js → p-ef488f9f.system.entry.js} +1 -1
  283. package/dist/magma-components/{p-70223843.system.entry.js → p-f250731c.system.entry.js} +1 -1
  284. package/dist/magma-components/{p-8de607ef.entry.js → p-f2e7d2f0.entry.js} +1 -1
  285. package/dist/magma-components/{p-a9c9e071.system.entry.js → p-f349e728.system.entry.js} +1 -1
  286. package/dist/magma-components/{p-1c2b1a44.system.entry.js → p-f584c1d7.system.entry.js} +1 -1
  287. package/dist/magma-components/{p-f5f97018.entry.js → p-fd25f69a.entry.js} +1 -1
  288. package/dist/magma-components/{p-977d3bf0.entry.js → p-fe3879f3.entry.js} +1 -1
  289. package/dist/magma-components/{p-50b07c72.system.entry.js → p-ff8d8818.system.entry.js} +1 -1
  290. package/dist/stats.json +790 -377
  291. package/dist/types/components/mds-calendar/mds-calendar.d.ts +43 -1
  292. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  293. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +23 -4
  294. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
  295. package/dist/types/components.d.ts +94 -6
  296. package/package.json +4 -4
  297. package/dist/magma-components/p-3da97c74.system.entry.js +0 -1
  298. package/dist/magma-components/p-643fd688.entry.js +0 -1
  299. package/dist/magma-components/p-80b11d2e.entry.js +0 -1
  300. package/dist/magma-components/p-e1f3cc6d.entry.js +0 -1
  301. package/dist/magma-components/p-ead9e4c4.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,a){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function d(t){try{o(a.next(t))}catch(t){i(t)}}function s(t){try{o(a["throw"](t))}catch(t){i(t)}}function o(t){t.done?r(t.value):n(t.value).then(d,s)}o((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,d;return d={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function s(t){return function(e){return o([t,e])}}function o(s){if(a)throw new TypeError("Generator is already executing.");while(d&&(d=0,s[0]&&(r=0)),r)try{if(a=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];n=0}finally{a=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-2aef517c.system.js","./p-1a1dc53d.system.js","./p-c95d3b63.system.js","./p-d68089ba.system.js","./p-0b49b32e.system.js","./p-21b1acec.system.js"],(function(t){"use strict";var e,r,a,n,i,d,s,o,h;return{setters:[function(t){e=t.r;r=t.c;a=t.h;n=t.H;i=t.g},function(t){d=t.m},function(t){s=t.D},function(t){o=t.c},function(t){h=t.L},function(){}],execute:function(){var l="Από";var c="έως";var u={from:l,to:c};var m="From";var p="to";var f={from:m,to:p};var y="De";var b="a";var g={from:y,to:b};var v="Dal";var w="al";var x={from:v,to:w};var k=':host{--mds-input-date-range-background:rgb(var(--tone-neutral));--mds-input-date-range-calendar-width:22rem;--mds-input-date-range-fields-firefox-justify-content:start;--mds-input-date-range-fields-gap:0 0.5rem;--mds-input-date-range-icon-color:var(--mds-input-date-range-variant-color);--mds-input-date-range-ring:0 0 0 1px rgb(var(--mds-input-date-range-variant-color) / 0.1);--mds-input-date-range-shadow:0 1px 3px 0 rgb(var(--mds-input-date-range-variant-color) / 0.1), 0 1px 2px 0 rgb(var(--mds-input-date-range-variant-color) / 0.06);--mds-input-date-range-variant-color:0 0 0;min-height:1.5rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;gap:0.5rem;color:rgb(var(--tone-neutral-02));container-type:inline-size;cursor:text;display:-ms-flexbox;display:flex;overflow:visible;position:relative}.date-preselection{display:grid;gap:0.5rem}.inputs{font-family:\'Roboto Mono\', \'Courier New\', monospace;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0rem;border-radius:0.5rem;padding-left:1rem;padding-right:3rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-input-date-range-background);border:0;-webkit-box-shadow:var(--mds-input-date-range-ring), var(--mds-input-date-range-shadow);box-shadow:var(--mds-input-date-range-ring), var(--mds-input-date-range-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--mds-input-date-range-fields-gap);min-height:3rem;overflow:hidden;text-overflow:ellipsis;-webkit-transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, margin, opacity, padding, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform;transition-property:background-color, border-color, box-shadow, color, fill, margin, opacity, padding, transform, -webkit-box-shadow, -webkit-transform;width:100%}.input-element{-ms-flex-align:baseline;align-items:baseline;display:-ms-inline-flexbox;display:inline-flex}:host(:focus-within) .inputs{outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);--mds-input-date-range-ring:0 0 0 3px rgb(var(--mds-input-date-range-variant-color) / 1);--mds-input-date-range-shadow:0 4px 6px 3px rgb(var(--mds-input-date-range-variant-color) / 0.1), 0 2px 4px -1px rgb(var(--mds-input-date-range-variant-color) / 0.06)}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host() ::slotted(mds-input-date){color:inherit}.date-label{margin-left:0.125rem;margin-right:0.125rem;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content;white-space:nowrap}.date-label:first-child{margin-left:0}.calendars{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:--spacing(200);min-width:-moz-max-content;min-width:-webkit-max-content;min-width:max-content}.calendar-preselection-panel{background-color:rgb(var(--tone-neutral-09));border-radius:0.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;-ms-flex-line-pack:start;align-content:start;min-inline-size:-moz-max-content;min-inline-size:-webkit-max-content;min-inline-size:max-content;padding:1rem}.calendar-single{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:--spacing(200);min-width:-moz-max-content;min-width:-webkit-max-content;min-width:max-content}.calendar-single mds-calendar,.calendars mds-calendar{-ms-flex:0 0 var(--mds-input-date-range-calendar-width);flex:0 0 var(--mds-input-date-range-calendar-width);inline-size:var(--mds-input-date-range-calendar-width);max-inline-size:var(--mds-input-date-range-calendar-width);min-inline-size:var(--mds-input-date-range-calendar-width)}.action-open-calendar{--mds-button-color:rgb(var(--mds-input-date-range-icon-color));aspect-ratio:1;bottom:0;position:absolute;right:0;top:0}mds-dropdown{padding:0}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}:host-context(.pref-animation-reduce) .input{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system) .input{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-input-date-range-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-range-background:rgb(var(--tone-neutral-09));--mds-input-date-range-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-dark) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-input-date-range-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);--mds-input-date-range-background:rgb(var(--tone-neutral-09));--mds-input-date-range-controls-border:2px solid rgb(var(--tone-neutral-06))}:host-context(.pref-theme-system) .counter-button:hover{--mds-button-background:rgb(var(--tone-neutral-08))}}:host-context(.pref-contrast-more){--mds-input-date-range-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-range-background:rgb(var(--tone-neutral-09));--mds-input-date-range-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-input-date-range-ring:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);--mds-input-date-range-background:rgb(var(--tone-neutral-09));--mds-input-date-range-controls-border:2px solid rgb(var(--tone-neutral-05))}:host-context(.pref-contrast-more) .input::-moz-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-webkit-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input:-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::-ms-input-placeholder{color:rgb(var(--tone-neutral-03))}:host-context(.pref-contrast-more) .input::placeholder{color:rgb(var(--tone-neutral-03))}}@supports (-moz-appearance: none){.action-open-calendar{display:none}.inputs{padding-right:1rem;-ms-flex-pack:var(--mds-input-date-range-fields-firefox-justify-content);justify-content:var(--mds-input-date-range-fields-firefox-justify-content)}}:host{--mds-input-date-range-icon-color:var(--variant-primary-03);--mds-input-date-range-variant-color:0 0 0}:host(:focus-within){--mds-input-date-range-variant-color:var(--variant-primary-04)}:host([variant="info"]){--mds-input-date-range-icon-color:var(--status-info-05);--mds-input-date-range-variant-color:0 0 0}:host([variant="info"]:focus-within){--mds-input-date-range-icon-color:var(--status-info-04);--mds-input-date-range-variant-color:var(--status-info-05)}:host([variant="success"]){--mds-input-date-range-icon-color:var(--status-success-05);--mds-input-date-range-variant-color:0 0 0}:host([variant="success"]:focus-within){--mds-input-date-range-icon-color:var(--status-success-04);--mds-input-date-range-variant-color:var(--status-success-05)}:host([variant="warning"]){--mds-input-date-range-icon-color:var(--status-warning-05);--mds-input-date-range-variant-color:0 0 0}:host([variant="warning"]:focus-within){--mds-input-date-range-icon-color:var(--status-warning-04);--mds-input-date-range-variant-color:var(--status-warning-05)}:host([variant="error"]){--mds-input-date-range-icon-color:var(--status-error-05);--mds-input-date-range-variant-color:0 0 0}:host([variant="error"]:focus-within){--mds-input-date-range-icon-color:var(--status-error-04);--mds-input-date-range-variant-color:var(--status-error-05)}';var z=k;var C=t("mds_input_date_range",function(){function t(t){var a=this;e(this,t);this.valueChanged=r(this,"mdsInputDateRangeValueChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.calendarKey=0;this.internalStartDate="";this.internalEndDate="";this.visibleCalendarDate="";this.hasPreselection=false;this.t=new h({el:u,en:f,es:g,it:x});this.startDate="";this.endDate="";this.min=null;this.max=null;this.delay=500;this.dualCalendar=false;this.lastEmittedStartDate=null;this.lastEmittedEndDate=null;this.initialStartDate="";this.initialEndDate="";this.hoveredCalendarDate=null;this.syncingInputSlots=new Set;this.handleFocusOut=function(t){if(!a.host.contains(t.relatedTarget)){var e=s.fromISO(a.internalStartDate).isValid;var r=s.fromISO(a.internalEndDate).isValid;if(e&&r){a.validateDateRange();a.syncFormValue();a.checkPreselections();a.emitValueChanged()}}};this.focusInput=function(t){t.focusInput()};this.focusDateInput=function(t){if(t.target!==a.host){return}a.focusStartDateInput(t)};this.focusStartDateInput=function(t){t.preventDefault();t.stopPropagation();a.focusInput(a.host.querySelector('mds-input-date[slot="start"]'))};this.focusEndDateInput=function(t){t.preventDefault();t.stopPropagation();a.focusInput(a.host.querySelector('mds-input-date[slot="end"]'))};this.handleCalendarHover=function(t){if(!a.internalStartDate||a.internalEndDate){a.clearHoverPreview();return}var e=t.detail.hoverDate;if(a.hoveredCalendarDate===e)return;a.hoveredCalendarDate=e;a.syncCalendarsHoverAttributes()};this.handleCalendarChange=function(t){a.clearHoverPreview();a.internalStartDate=t.detail.startDate;a.updateInputValue("start",a.internalStartDate);if(t.detail.endDate){a.internalEndDate=t.detail.endDate;a.updateInputValue("end",a.internalEndDate)}else{a.internalEndDate="";a.updateInputValue("end",a.internalEndDate)}a.syncFormValue();a.syncCalendarsSelectionAttributes();if(a.internalStartDate&&a.internalEndDate){a.emitValueChanged();a.closeDropdownAfterSelection()}};this.handleCalendarNavigate=function(t){if(!a.dualCalendar)return;var e=a.getCalendars();var r=e.indexOf(t.target);var n=s.fromISO(t.detail.currentDate);if(!n.isValid)return;a.visibleCalendarDate=n.minus({months:r===1?1:0}).startOf("month").toISODate()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);return[2]}))}))};t.prototype.getCalendars=function(){var t,e;return Array.from((e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("mds-calendar"))!==null&&e!==void 0?e:[])};t.prototype.resolveVisibleCalendarDate=function(t,e){var r;var a=[t,e].map((function(t){return s.fromISO(t!==null&&t!==void 0?t:"")})).filter((function(t){return t.isValid}));var n=(r=a[0])!==null&&r!==void 0?r:s.now();return n.startOf("month").toISODate()};t.prototype.getCalendarViewDate=function(t){if(t===void 0){t=0}var e=s.fromISO(this.visibleCalendarDate);var r=s.fromISO(this.internalStartDate);var a=s.now();if(e.isValid){a=e}else if(r.isValid){a=r}return a.startOf("month").plus({months:t}).toISODate()};t.prototype.setVisibleCalendarDate=function(t){var e=s.fromISO(t);if(e.isValid){this.visibleCalendarDate=e.startOf("month").toISODate()}};t.prototype.closeDropdownAfterSelection=function(){if(this.delay===0)return;var t=this.dropdownRef;if(t){setTimeout((function(){t.visible=false}),this.delay)}};t.prototype.syncCalendarsSelectionAttributes=function(){var t=this;var e;(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar").forEach((function(e){if(t.internalStartDate){e.setAttribute("start-date",t.internalStartDate)}else{e.removeAttribute("start-date")}if(t.internalEndDate){e.setAttribute("end-date",t.internalEndDate)}else{e.removeAttribute("end-date")}}));this.syncCalendarsHoverAttributes()};t.prototype.syncCalendarsHoverAttributes=function(){var t=this;var e;(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar").forEach((function(e){if(t.hoveredCalendarDate){e.setAttribute("hover-date",t.hoveredCalendarDate)}else{e.removeAttribute("hover-date")}}))};t.prototype.clearHoverPreview=function(){if(this.hoveredCalendarDate===null)return;this.hoveredCalendarDate=null;this.syncCalendarsHoverAttributes()};t.prototype.getEmittableDateRangeDetail=function(){var t=s.fromISO(this.internalStartDate);var e=s.fromISO(this.internalEndDate);if(!t.isValid||!e.isValid){return null}return{startDate:this.internalStartDate,endDate:this.internalEndDate}};t.prototype.emitValueChanged=function(){var t=this.getEmittableDateRangeDetail();if(!t)return false;if(t.startDate===this.lastEmittedStartDate&&t.endDate===this.lastEmittedEndDate){return false}this.valueChanged.emit(t);this.lastEmittedStartDate=t.startDate;this.lastEmittedEndDate=t.endDate;return true};t.prototype.handleStartDateChange=function(t){this.syncExternalDate("start",t)};t.prototype.handleEndDateChange=function(t){this.syncExternalDate("end",t)};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.internalStartDate=this.startDate;this.internalEndDate=this.endDate;this.initialStartDate=this.startDate;this.initialEndDate=this.endDate;this.visibleCalendarDate=this.resolveVisibleCalendarDate(this.internalStartDate,this.internalEndDate);if(this.min&&this.max){var t=s.fromISO(this.min);var e=s.fromISO(this.max);if(e<t){this.max=this.min}}this.syncFormValue()};t.prototype.disconnectedCallback=function(){var t;this.host.removeEventListener("focusout",this.handleFocusOut);(t=this.host.shadowRoot)===null||t===void 0?void 0:t.removeEventListener("mdsCalendarHover",this.handleCalendarHover)};t.prototype.preselect=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a;var n=this;return __generator(this,(function(i){switch(i.label){case 0:if(!this.togglePreselection){this.togglePreselection=Array.from(this.host.querySelectorAll("mds-input-date-range-preselection"))}this.togglePreselection.forEach((function(t){t.selected=false}));t.caller.selected=true;this.clearHoverPreview();e=s.fromISO(t.start);if(e.isValid){this.internalStartDate=t.start;this.setVisibleCalendarDate(this.internalStartDate);this.updateInputValue("start",this.internalStartDate)}if(t.end!==undefined){r=s.fromISO(t.end);if(r.isValid){this.internalEndDate=t.end}}else{this.internalEndDate=t.start}this.updateInputValue("end",this.internalEndDate);this.syncFormValue();a=this.getCalendars();if(!a.length)return[3,2];return[4,Promise.all(a.map((function(t,e){return t.updateCurrentDate(n.getCalendarViewDate(e))})))];case 1:i.sent();this.closeDropdownAfterSelection();i.label=2;case 2:this.emitValueChanged();return[2,Promise.resolve()]}}))}))};t.prototype.componentDidLoad=function(){var t;this.updateInputListeners();this.updateInputValue("start",this.internalStartDate);this.updateInputValue("end",this.internalEndDate);this.syncFormValue();this.host.addEventListener("focusout",this.handleFocusOut);(t=this.host.shadowRoot)===null||t===void 0?void 0:t.addEventListener("mdsCalendarHover",this.handleCalendarHover)};t.prototype.formResetCallback=function(){this.clearHoverPreview();this.internalStartDate=this.initialStartDate;this.internalEndDate=this.initialEndDate;this.visibleCalendarDate=this.resolveVisibleCalendarDate(this.initialStartDate,this.initialEndDate);this.updateInputValue("start",this.internalStartDate);this.updateInputValue("end",this.internalEndDate);this.checkPreselections();this.syncFormValue()};t.prototype.syncExternalDate=function(t,e){var r=e!==null&&e!==void 0?e:"";this.clearHoverPreview();if(t==="start"){if(r===this.internalStartDate)return;this.internalStartDate=r;this.setVisibleCalendarDate(this.internalStartDate)}else{if(r===this.internalEndDate)return;this.internalEndDate=r}this.validateDateRange();this.updateInputValue("start",this.internalStartDate);this.updateInputValue("end",this.internalEndDate);this.checkPreselections();this.syncFormValue()};t.prototype.updateInputValue=function(t,e){var r=this;var a;var n=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector('slot[name="'.concat(t,'"]'));var i=n===null||n===void 0?void 0:n.assignedElements()[0];if(i){this.syncingInputSlots.add(t);i.setValue(e).finally((function(){requestAnimationFrame((function(){r.syncingInputSlots.delete(t)}))}))}};t.prototype.updateInputListeners=function(){var t,e;var r=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector('slot[name="start"]');var a=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector('slot[name="end"]');this.hasPreselection=this.host.querySelector("mds-input-date-range-preselection")!==null;if(r){var n=r.assignedElements()[0];n.addEventListener("mdsInputDateSelect",this.createFocusoutListener("start"))}if(a){var n=a.assignedElements()[0];n.addEventListener("mdsInputDateSelect",this.createFocusoutListener("end"))}};t.prototype.createFocusoutListener=function(t){var e=this;return function(r){if(e.syncingInputSlots.has(t)){return}var a=r;e.clearHoverPreview();if(t==="start"){e.internalStartDate=a.detail;e.setVisibleCalendarDate(e.internalStartDate)}else{e.internalEndDate=a.detail}e.syncFormValue()}};t.prototype.validateDateRange=function(){if(this.internalStartDate&&this.internalEndDate){var t=s.fromISO(this.internalStartDate);var e=s.fromISO(this.internalEndDate);if(e<t){this.internalEndDate=this.internalStartDate;this.updateInputValue("end",this.internalEndDate)}}};t.prototype.checkPreselections=function(){var t=this;var e=Array.from(this.host.querySelectorAll("mds-input-date-range-preselection"));if(e){e.forEach((function(e){var r=e;var a=r.start===t.internalStartDate&&r.end===t.internalEndDate;var n=r.start===t.internalStartDate&&t.internalStartDate===t.internalEndDate&&r.end===undefined;if(a||n){r.selected=true}else{r.selected=false}}))}};t.prototype.renderCalendarPreselectionPanel=function(){if(!this.hasPreselection)return null;return a("div",{class:"calendar-preselection-panel"},a("div",{class:o("date-preselection",this.hasPreselection&&"date-preselection--has-preselection")},a("slot",{name:"calendar-preselection"})))};t.prototype.renderSingleCalendar=function(){var t=this;return a("div",{class:"calendar-single"},this.renderCalendarPreselectionPanel(),a("mds-calendar",Object.assign({lang:this.language,key:this.calendarKey,rangePicker:true,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:function(){t.checkPreselections()},startDate:this.internalStartDate,endDate:this.internalEndDate},this.min?{min:this.min}:{},this.max?{max:this.max}:{})))};t.prototype.renderDualCalendars=function(){var t=this;return a("div",{class:"calendars"},this.renderCalendarPreselectionPanel(),a("mds-calendar",Object.assign({lang:this.language,key:"".concat(this.calendarKey,"-start"),rangePicker:true,showNextButton:false,disableMonthYearSelection:true,viewDate:this.getCalendarViewDate(),onMdsCalendarNavigate:this.handleCalendarNavigate,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:function(){t.checkPreselections()},startDate:this.internalStartDate,endDate:this.internalEndDate},this.min?{min:this.min}:{},this.max?{max:this.max}:{})),a("mds-calendar",Object.assign({lang:this.language,key:"".concat(this.calendarKey,"-end"),rangePicker:true,showPreviousButton:false,disableMonthYearSelection:true,viewDate:this.getCalendarViewDate(1),onMdsCalendarNavigate:this.handleCalendarNavigate,onMdsCalendarChange:this.handleCalendarChange,onMdsCalendarPreselect:function(){t.checkPreselections()},startDate:this.internalStartDate,endDate:this.internalEndDate},this.min?{min:this.min}:{},this.max?{max:this.max}:{})))};t.prototype.render=function(){var t=this;return a(n,{key:"9f1d15ce17187fb4346d4a8248d9fef359235f54",onClick:this.focusDateInput},a("div",{key:"419236ee8bead4665a0164957282bcd5e7659661",class:"inputs"},a("div",{key:"e25a78a35ab091ccf357ade3a27b646b94ec42a6",class:"input-element"},a("mds-text",{key:"7d93c5d1ee1a8c690aeb18b88607f081c3785c1e",class:"date-label",typography:"detail",onClick:this.focusStartDateInput},this.t.get("from")),a("div",{key:"bb2b95cf1de464d9158df7aecb950af7927e7272",class:"input-wrapper"},a("slot",{key:"57cf6f4832fe383e22e5210e8d8f1584ac0a0f34",name:"start"}))),a("div",{key:"dd707a289ce5862549a1d98b3010861af2fe05ac",class:"input-element"},a("mds-text",{key:"212ba05e753f6b5f04032fc9eadbee33a66abccc",class:"date-label",typography:"detail",onClick:this.focusEndDateInput},this.t.get("to")),a("div",{key:"15cf868bb6808fd8f2bf4a8c13720e813c277d66",class:"input-wrapper"},a("slot",{key:"788d2c3ee00fd81724f1b058971a1366f3db6172",name:"end"})))),a("div",{key:"ca0c8be9804fdd2b7c4b7d17d234328182023f0b",class:"action-open-calendar-wrapper"},a("mds-button",{key:"9b4beb75e39698d2877c129b346024d785d8ba98",class:"action-open-calendar",variant:"dark",tone:"quiet",icon:d,id:"calendar-dropdown",onClick:function(){t.calendarKey+=1}})),a("mds-dropdown",{key:"3274e94a6ae30fa2f060edeaa8f906972689af63",ref:function(e){return t.dropdownRef=e},target:"#calendar-dropdown","auto-placement":false,placement:"bottom-end"},this.dualCalendar?this.renderDualCalendars():this.renderSingleCalendar()))};t.prototype.syncFormValue=function(){var t,e,r,a;var n=(e=(t=this.internalStartDate)===null||t===void 0?void 0:t.trim())!==null&&e!==void 0?e:"";var i=(a=(r=this.internalEndDate)===null||r===void 0?void 0:r.trim())!==null&&a!==void 0?a:"";if(!n&&!i){this.internals.setFormValue(null);return}this.internals.setFormValue(JSON.stringify({startDate:n,endDate:i}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{startDate:["handleStartDateChange"],endDate:["handleEndDateChange"]}},enumerable:false,configurable:true});return t}());C.style=z}}}));
@@ -1 +1 @@
1
- import{r as d,c as t,h as e,H as r,g as a}from"./p-3a6b32e7.js";const s=class{constructor(e){d(this,e),this.changedEvent=t(this,"mdsAccordionChange",7),this.multiple=!1,this.closable=!0,this.queryItems=()=>this.element.querySelectorAll("mds-accordion-item"),this.selectMultipleItems=()=>{const d=this.queryItems(),t=[];d.forEach(((d,e)=>{d.selected&&t.push(e)})),this.changedEvent.emit({children:d,selected:t.toString()})},this.changedChildrenHandler=d=>{const t=this.queryItems();this.multiple?this.selectMultipleItems():t.forEach(((e,r)=>{e.selected=`item-${r}`===d.detail.id&&(d.detail.selected||!this.closable),e.selected&&this.changedEvent.emit({children:t,selected:r.toString()})}))}}componentWillLoad(){this.queryItems().forEach(((d,t)=>d.id=`item-${t}`))}selectedEventHandler(d){this.changedChildrenHandler(d)}unselectedEventHandler(d){this.changedChildrenHandler(d)}render(){return e(r,{key:"afe5b07ff67cf2848028cf406bf0818b887b4842"},e("slot",{key:"7f39b4fdb7dbdc1ecff49cfb522ef09191a918a3"}))}get element(){return a(this)}};s.style=":host{--mds-accordion-border-color:rgb(var(--tone-neutral-08));--mds-accordion-border-width:2px;--mds-accordion-color:rgb(var(--tone-neutral-03));--mds-accordion-description-color:rgb(var(--tone-neutral-02));--mds-accordion-duration:300ms;--mds-accordion-padding-selected:1rem 0 2rem 0;--mds-accordion-padding-unselected:1rem 0;display:grid}:host-context(.pref-animation-reduce){--mds-accordion-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-accordion-duration:0s}}:host-context(.pref-theme-dark){--mds-accordion-border-color:rgb(var(--tone-neutral-06))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-accordion-border-color:rgb(var(--tone-neutral-06))}}:host-context(.pref-contrast-more){--mds-accordion-border-color:rgb(var(--tone-neutral-01));--mds-accordion-color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-accordion-border-color:rgb(var(--tone-neutral-01));--mds-accordion-color:rgb(var(--tone-neutral-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";export{s as mds_accordion}
1
+ import{r as d,c as t,h as e,H as r,g as a}from"./p-3a6b32e7.js";const s=class{constructor(e){d(this,e),this.changedEvent=t(this,"mdsAccordionChange",7),this.multiple=!1,this.closable=!0,this.queryItems=()=>this.element.querySelectorAll("mds-accordion-item"),this.selectMultipleItems=()=>{const d=this.queryItems(),t=[];d.forEach(((d,e)=>{d.selected&&t.push(e)})),this.changedEvent.emit({children:d,selected:t.toString()})},this.changedChildrenHandler=d=>{const t=this.queryItems();this.multiple?this.selectMultipleItems():t.forEach(((e,r)=>{e.selected=`item-${r}`===d.detail.id&&(d.detail.selected||!this.closable),e.selected&&this.changedEvent.emit({children:t,selected:r.toString()})}))}}componentWillLoad(){this.queryItems().forEach(((d,t)=>d.id=`item-${t}`))}selectedEventHandler(d){this.changedChildrenHandler(d)}unselectedEventHandler(d){this.changedChildrenHandler(d)}render(){return e(r,{key:"c408ce575006a26accb7f111ec4a27ce04fcb4ed"},e("slot",{key:"b24a2d755fb82ee28d0226d01be146c49f6d0ffa"}))}get element(){return a(this)}};s.style=":host{--mds-accordion-border-color:rgb(var(--tone-neutral-08));--mds-accordion-border-width:2px;--mds-accordion-color:rgb(var(--tone-neutral-03));--mds-accordion-description-color:rgb(var(--tone-neutral-02));--mds-accordion-duration:300ms;--mds-accordion-padding-selected:1rem 0 2rem 0;--mds-accordion-padding-unselected:1rem 0;display:grid}:host-context(.pref-animation-reduce){--mds-accordion-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-accordion-duration:0s}}:host-context(.pref-theme-dark){--mds-accordion-border-color:rgb(var(--tone-neutral-06))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-accordion-border-color:rgb(var(--tone-neutral-06))}}:host-context(.pref-contrast-more){--mds-accordion-border-color:rgb(var(--tone-neutral-01));--mds-accordion-color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-accordion-border-color:rgb(var(--tone-neutral-01));--mds-accordion-color:rgb(var(--tone-neutral-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";export{s as mds_accordion}
@@ -1 +1 @@
1
- import{r as t,c as n,h as r,H as a,g as e}from"./p-3a6b32e7.js";import{m as d}from"./p-19dab167.js";import{K as o}from"./p-23e7e277.js";import{L as s}from"./p-2d77deaf.js";import{m as i}from"./p-4252d906.js";import{s as h}from"./p-f00c93f4.js";import"./p-85aa8e05.js";const c={cancel:"Ακύρωση"},b={cancel:"Cancel"},l={cancel:"Cancelar"},m={cancel:"Annulla"},y=class{constructor(r){t(this,r),this.closeEvent=n(this,"mdsBannerClose",7),this.km=new o,this.t=new s({el:c,en:b,es:l,it:m}),this.variant="light",this.tone="weak",this.cockade=!0,this.deletableHandler=()=>{var t;if(this.deletable){const n=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".close-button");return this.km.addElement(n),void this.km.attachClickBehavior()}this.km.detachClickBehavior()},this.closeBanner=()=>{var t;this.closeEvent.emit();const n=null===(t=this.host)||void 0===t?void 0:t.closest("mds-modal");n&&(n.opened=!1)}}async updateLang(){this.language=this.t.lang(this.host)}componentWillRender(){this.t.lang(this.host)}componentWillLoad(){this.actions=null!==this.host.querySelector(':scope > [slot="action"]')}componentDidLoad(){this.deletableHandler()}componentDidUpdate(){this.deletableHandler()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"610f19a36fc04082371be0b3e917f8747795a23b","aria-label":this.headline},r("div",{key:"0f26d82ac44a38cd7af15b55dd17509a27be4f56",class:"body"},this.icon&&r("mds-icon",{key:"e29afe75686a2ba965ff24f4893a35efd2717ad7","aria-hidden":"true",class:"icon",name:this.icon}),r("div",{key:"789780fbadceacf87bcb74e7bec7480bfc991021",class:"content"},this.headline&&r("mds-text",{key:"f9701f993966bbcf89f2005de2acc6cea4cf15bf","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),r("div",{key:"cbc6bc48a95d9f4f101eb0533d13f35a37ebb25a",class:"text"},r("slot",{key:"5acffbefdff73a9fbb6b8dc2a4a9987b769ebd66"}))),this.deletable&&r("mds-button",{key:"ef4d897c1c9170d39406f3760e0cf317caccdacd",class:"close-button",icon:d,onClick:this.closeBanner,title:this.t.get("cancel")})),this.actions&&r("div",{key:"d33668ef233dfb77176d151f4541538b90e6095b",class:"actions"},r("slot",{key:"3e146f874402d8e5e3368192ceda4a8526d4e6f8",name:"action"})))}get host(){return e(this)}};y.style='/**\n * @prop --mds-banner-background: Sets the background-color of the component\n * @prop --mds-banner-close-icon-hover-background: Sets the background color of the close icon when the mouse is over it\n * @prop --mds-banner-cockade-background: When cockade attribute is set, the icon will be wrapper with a colored area, this is it\'s background\n * @prop --mds-banner-cockade-distance: When cockade attribute is set, the icon will be wrapper with a colored area, this is it\'s icon color\n * @prop --mds-banner-color: Sets the text color of the component\n * @prop --mds-banner-gap: Sets gap between banner elements\n * @prop --mds-banner-headline-color: The text color of the headline\n * @prop --mds-banner-icon-color: Sets the close icon fill color of the component\n * @prop --mds-banner-radius: Sets the border-radius of the component\n * @prop --mds-banner-shadow: Sets the box-shadow of the component\n */\n\n :host {\n --mds-banner-background: rgb(var(--tone-neutral-10));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-09));\n --mds-banner-cockade-background: rgb(var(--tone-neutral-09));\n --mds-banner-cockade-distance: 1.5rem;\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-gap: 0.5rem 1rem;\n --mds-banner-headline-color: var(--mds-banner-color);\n --mds-banner-icon-color: rgb(var(--tone-neutral-04));\n --mds-banner-radius: 0.5rem;\n --mds-banner-shadow: none;\n --mds-banner-transition-duration: 300ms;\n --mds-banner-transition-timing-function: cubic-bezier(1, 0, 0, 1);\n grid-template-columns: repeat(1, minmax(1px, 100%));\n padding: 1.5rem;\n\n background-color: var(--mds-banner-background);\n border-radius: var(--mds-banner-radius);\n -webkit-box-shadow: var(--mds-banner-shadow);\n box-shadow: var(--mds-banner-shadow);\n color: var(--mds-banner-color);\n container-name: mds-banner;\n container-type: inline-size;\n display: grid;\n gap: 1rem;\n position: relative;\n -webkit-transition-duration: var(--mds-banner-transition-duration);\n transition-duration: var(--mds-banner-transition-duration);\n -webkit-transition-property: background-color, color, -webkit-box-shadow;\n transition-property: background-color, color, -webkit-box-shadow;\n transition-property: background-color, box-shadow, color;\n transition-property: background-color, box-shadow, color, -webkit-box-shadow;\n -webkit-transition-timing-function: var(--mds-banner-transition-timing-function);\n transition-timing-function: var(--mds-banner-transition-timing-function);\n width: 100%;\n}\n\n.body {\n -ms-flex-align: start;\n align-items: flex-start;\n display: -ms-flexbox;\n display: flex;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.headline {\n color: var(--mds-banner-headline-color);\n}\n\n.content {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-positive: 1;\n flex-grow: 1;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.actions {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n\n.close-button {\n --mds-button-background: transparent;\n --mds-button-border-color: 0 0 0;\n --mds-button-border-default-opacity: 0;\n\n fill: var(--mds-banner-color);\n}\n\n.close-button:hover {\n --mds-button-background: var(--mds-banner-close-icon-hover-background);\n}\n\n.icon {\n fill: var(--mds-banner-icon-color);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -webkit-transition-duration: var(--mds-banner-transition-duration);\n transition-duration: var(--mds-banner-transition-duration);\n -webkit-transition-property: background-color, fill;\n transition-property: background-color, fill;\n -webkit-transition-timing-function: var(--mds-banner-transition-timing-function);\n transition-timing-function: var(--mds-banner-transition-timing-function);\n}\n\n.text {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n gap: var(--mds-banner-gap);\n}\n\n@container mds-banner (max-width: 300px) {\n ::slotted([slot="action"]) {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%;\n -ms-flex-positive: 1;\n flex-grow: 1;\n }\n}\n\n\n:host([cockade]:not([cockade="false"])) .icon {\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n\n background-color: var(--mds-banner-cockade-background);\n margin-top: calc(-1 * var(--mds-banner-cockade-distance));\n padding: 0.5rem;\n padding-top: var(--mds-banner-cockade-distance);\n}\n\n@container mds-banner (max-width: 300px) {\n :host([cockade]:not([cockade="false"])) .icon {\n padding-top: 0.5rem;\n }\n\n .body {\n -ms-flex-direction: column;\n flex-direction: column;\n }\n\n .close-button {\n position: absolute;\n right: var(--mds-banner-cockade-distance);\n top: var(--mds-banner-cockade-distance);\n }\n}\n\n:host([variant="ai"]),\n:host([variant="ai"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-ai-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-headline-color: rgb(var(--variant-ai-02));\n --mds-banner-cockade-background: rgb(var(--variant-ai-09));\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-ai-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--variant-ai-10));\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="dark"]),\n:host([variant="dark"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral-01));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-03));\n --mds-banner-color: rgb(var(--tone-neutral-08));\n --mds-banner-icon-color: rgb(var(--tone-neutral-07));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral-03));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-05));\n --mds-banner-color: rgb(var(--tone-neutral-09));\n --mds-banner-icon-color: rgb(var(--tone-neutral-07));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-05));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-03));\n --mds-banner-icon-color: rgb(var(--tone-neutral-04));\n --mds-banner-shadow: none;\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-04));\n --mds-banner-shadow: none;\n}\n\n:host([variant="error"]),\n:host([variant="error"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-error-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-08));\n --mds-banner-color: rgb(var(--status-error-02));\n --mds-banner-icon-color: rgb(var(--status-error-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-error-10));\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-error-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-08));\n --mds-banner-color: rgb(var(--status-error-03));\n --mds-banner-icon-color: rgb(var(--status-error-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-error-09));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-09));\n --mds-banner-color: rgb(var(--status-error-03));\n --mds-banner-icon-color: rgb(var(--status-error-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="error"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="info"]),\n:host([variant="info"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-info-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-08));\n --mds-banner-color: rgb(var(--status-info-02));\n --mds-banner-icon-color: rgb(var(--status-info-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-info-10));\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-info-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-08));\n --mds-banner-color: rgb(var(--status-info-03));\n --mds-banner-icon-color: rgb(var(--status-info-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-info-09));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-09));\n --mds-banner-color: rgb(var(--status-info-03));\n --mds-banner-icon-color: rgb(var(--status-info-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="info"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="light"]),\n:host([variant="light"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--tone-neutral-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-10));\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--tone-neutral-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-09));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="primary"]),\n:host([variant="primary"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-primary-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-headline-color: rgb(var(--variant-primary-02));\n --mds-banner-cockade-background: rgb(var(--variant-primary-09));\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-primary-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--variant-primary-10));\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="success"]),\n:host([variant="success"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-success-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-08));\n --mds-banner-color: rgb(var(--status-success-02));\n --mds-banner-icon-color: rgb(var(--status-success-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-success-10));\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-success-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-08));\n --mds-banner-color: rgb(var(--status-success-03));\n --mds-banner-icon-color: rgb(var(--status-success-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-success-09));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-09));\n --mds-banner-color: rgb(var(--status-success-03));\n --mds-banner-icon-color: rgb(var(--status-success-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="success"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="warning"]),\n:host([variant="warning"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-warning-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-08));\n --mds-banner-color: rgb(var(--status-warning-02));\n --mds-banner-icon-color: rgb(var(--status-warning-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-warning-10));\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-warning-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-08));\n --mds-banner-color: rgb(var(--status-warning-03));\n --mds-banner-icon-color: rgb(var(--status-warning-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-warning-09));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-09));\n --mds-banner-color: rgb(var(--status-warning-03));\n --mds-banner-icon-color: rgb(var(--status-warning-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="warning"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host-context(.pref-animation-reduce) {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system) {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host-context(.pref-theme-dark) {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system) {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n }\n}\n\n:host-context(.pref-contrast-more) {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system) {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';const p={deleteLabel:"Αφαίρεση"},u={deleteLabel:"Remove"},g={deleteLabel:"Eliminar"},v={deleteLabel:"Rimuovi"},k=class{constructor(r){t(this,r),this.clickLabelEvent=n(this,"mdsChipClickLabel",7),this.deleteEvent=n(this,"mdsChipDelete",7),this.selectEvent=n(this,"mdsChipSelect",7),this.km=new o,this.t=new s({el:p,en:u,es:g,it:v}),this.disabled=!1,this.selectable=!1,this.variant="primary",this.tone="strong",this.handleClickableKeyboard=t=>{var n;if(t){const t=null===(n=this.host.shadowRoot)||void 0===n?void 0:n.querySelector(".label");return this.km.addElement(t,"label"),void this.km.attachClickBehavior("label")}this.km.detachClickBehavior("label")},this.handleClickableElement=t=>{var n;const r=null===(n=this.host.shadowRoot)||void 0===n?void 0:n.querySelector(".label");if(r){if(t)return h(r,"role","button"),void r.addEventListener("click",this.onClickLabelHandler.bind(this));r.removeAttribute("role"),r.removeEventListener("click",this.onClickLabelHandler.bind(this))}}}async updateLang(){this.language=this.t.lang(this.host)}handleSelectableProp(t){t&&(this.clickable=!0)}handleClickableProp(t){this.handleClickableElement(t),this.handleClickableKeyboard(t)}handleSelectedProp(t){!1===t&&(this.selected=void 0)}onClickLabelHandler(t){if(this.selectable)return this.selected=!this.selected,!1===this.selected&&(this.selected=void 0),void this.selectEvent.emit({event:t,element:this.host,selected:this.selected});this.clickLabelEvent.emit({event:t,element:this.host})}onDeleteHandler(t){this.deleteEvent.emit({event:t,element:this.host})}componentWillLoad(){this.t.lang(this.host)}componentDidLoad(){this.clickable&&(this.handleClickableElement(!0),this.handleClickableKeyboard(!0))}disconnectedCallback(){this.km.detachClickBehavior("label")}render(){return r(a,{key:"7dd5ce8b32261d819fa0bcb9249e5130a5edc218","aria-disabled":this.disabled?"true":"false"},this.icon&&r("div",{key:"464bdf77909e3e5845a638b0698f1ba4058cdf28","aria-hidden":"true",class:"icon-area"},r("mds-icon",{key:"742645872d57c5c1666e9f2fecd349f055b020d3",class:"icon",name:this.icon})),r("mds-text",this.clickable?{class:"label label--interactive",tabindex:"0",typography:"caption",truncate:"word"}:{class:"label",typography:"caption",truncate:"word"},this.label),this.deletable&&r("mds-button",{key:"6fd5be6ed26075cf6eb612e55126a019a0509c0c",class:"button-delete",icon:i,onClick:this.onDeleteHandler.bind(this),title:`${this.t.get("deleteLabel")} ${this.label}`,variant:"dark",tone:"quiet",size:"sm"}))}get host(){return e(this)}static get watchers(){return{selectable:["handleSelectableProp"],clickable:["handleClickableProp"],selected:["handleSelectedProp"]}}};k.style='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-border:transparent;--mds-chip-color:rgb(var(--tone-neutral-03));--mds-chip-icon-background:rgb(var(--variant-primary-06));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.5);--mds-chip-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);height:2.25rem;gap:0.375rem;border-radius:9999px;padding-top:0.375rem;padding-bottom:0.375rem;padding-left:0.25rem;padding-right:0.25rem;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-chip-background);border:2px solid var(--mds-chip-border);-webkit-box-shadow:var(--mds-chip-shadow);box-shadow:var(--mds-chip-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-chip-color);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;justify-self:start;max-width:-moz-min-content;max-width:-webkit-min-content;max-width:min-content;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content;-webkit-transition-property:background-color, border-color, color, opacity, -webkit-box-shadow;transition-property:background-color, border-color, color, opacity, -webkit-box-shadow;transition-property:background-color, border-color, box-shadow, color, opacity;transition-property:background-color, border-color, box-shadow, color, opacity, -webkit-box-shadow;width:100%}:host([disabled]:not([disabled="false"])){opacity:var(--mds-chip-opacity-disabled);pointer-events:none}.label{border-radius:9999px;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-positive:1;flex-grow:1;-webkit-text-decoration-color:transparent;text-decoration-color:transparent;-webkit-transition-property:color, outline, outline-offset, -webkit-text-decoration-color;transition-property:color, outline, outline-offset, -webkit-text-decoration-color;transition-property:color, text-decoration-color, outline, outline-offset;transition-property:color, text-decoration-color, outline, outline-offset, -webkit-text-decoration-color}:host([clickable]:not([clickable="false"])) .label{cursor:pointer;text-decoration:underline}:host([clickable]:not([clickable="false"])) .label:hover{-webkit-text-decoration-color:unset;text-decoration-color:unset}.label:first-child{padding-left:0.5rem}.label:last-child{padding-right:0.5rem}.label--interactive{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.label--interactive:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running;z-index:10}.icon-area{height:1.5rem;width:1.5rem;-ms-flex-pack:center;justify-content:center;border-radius:9999px;-ms-flex-align:center;align-items:center;background-color:var(--mds-chip-icon-background);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:inherit;transition-duration:inherit;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.icon{height:1rem;width:1rem;-webkit-transition-duration:200ms;transition-duration:200ms;fill:var(--mds-chip-icon-color);-webkit-transition:fill;transition:fill}.button-delete{border-radius:100px;height:auto;padding:0}.button-delete--hidden{display:none}:host{--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-border:transparent;--mds-chip-color:rgb(var(--tone-neutral-04));--mds-chip-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1)}:host([variant="primary"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-primary-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="primary"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-primary-09));--mds-chip-icon-color:rgb(var(--variant-primary-04))}:host([variant="primary"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-primary-04))}:host([variant="primary"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-primary-06))}:host([variant="secondary"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-secondary-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="secondary"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-secondary-09));--mds-chip-icon-color:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-secondary-06))}:host([variant="ai"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-ai-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="ai"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-ai-09));--mds-chip-icon-color:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-ai-06))}:host([variant="success"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-success-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="success"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-success-09));--mds-chip-icon-color:rgb(var(--status-success-04))}:host([variant="success"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-success-04))}:host([variant="success"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-success-06))}:host([variant="warning"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-warning-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="warning"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-warning-09));--mds-chip-icon-color:rgb(var(--status-warning-04))}:host([variant="warning"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-warning-04))}:host([variant="warning"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-warning-06))}:host([variant="error"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-error-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="error"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-error-09));--mds-chip-icon-color:rgb(var(--status-error-04))}:host([variant="error"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-error-04))}:host([variant="error"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-error-06))}:host([variant="info"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-info-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="info"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-info-09));--mds-chip-icon-color:rgb(var(--status-info-04))}:host([variant="info"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-info-04))}:host([variant="info"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-info-06))}:host([variant="amaranth"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-amaranth-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="amaranth"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-amaranth-09));--mds-chip-icon-color:rgb(var(--label-amaranth-04))}:host([variant="amaranth"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-amaranth-04))}:host([variant="amaranth"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-amaranth-06))}:host([variant="aqua"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-aqua-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="aqua"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-aqua-09));--mds-chip-icon-color:rgb(var(--label-aqua-04))}:host([variant="aqua"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-aqua-04))}:host([variant="aqua"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-aqua-06))}:host([variant="blue"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-blue-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="blue"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-blue-09));--mds-chip-icon-color:rgb(var(--label-blue-04))}:host([variant="blue"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-blue-04))}:host([variant="blue"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-blue-06))}:host([variant="green"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-green-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="green"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-green-09));--mds-chip-icon-color:rgb(var(--label-green-04))}:host([variant="green"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-green-04))}:host([variant="green"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-green-06))}:host([variant="lime"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-lime-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="lime"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-lime-09));--mds-chip-icon-color:rgb(var(--label-lime-04))}:host([variant="lime"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-lime-04))}:host([variant="lime"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-lime-06))}:host([variant="orange"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-orange-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="orange"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-orange-09));--mds-chip-icon-color:rgb(var(--label-orange-04))}:host([variant="orange"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-orange-04))}:host([variant="orange"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-orange-06))}:host([variant="orchid"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-orchid-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="orchid"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-orchid-09));--mds-chip-icon-color:rgb(var(--label-orchid-04))}:host([variant="orchid"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-orchid-04))}:host([variant="orchid"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-orchid-06))}:host([variant="sky"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-sky-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="sky"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-sky-09));--mds-chip-icon-color:rgb(var(--label-sky-04))}:host([variant="sky"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-sky-04))}:host([variant="sky"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-sky-06))}:host([variant="violet"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-violet-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="violet"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-violet-09));--mds-chip-icon-color:rgb(var(--label-violet-04))}:host([variant="violet"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-violet-04))}:host([variant="violet"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-violet-06))}:host([variant="yellow"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-yellow-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="yellow"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-yellow-09));--mds-chip-icon-color:rgb(var(--label-yellow-04))}:host([variant="yellow"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-yellow-04))}:host([variant="yellow"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-yellow-06))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .label,:host-context(.pref-animation-reduce) .icon{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .label,:host-context(.pref-animation-system) .icon{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-chip-background:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-chip-background:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-color:rgb(var(--tone-neutral-02));--mds-chip-icon-background-selected:rgb(var(--variant-primary-03));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.6);--mds-chip-backgroud-selected:rgb(var(--tone-neutral-09));--mds-chip-color-selected:rgb(var(--tone-neutral-01));--mds-chip-icon-color-selected:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-color:rgb(var(--tone-neutral-02));--mds-chip-icon-background-selected:rgb(var(--variant-primary-03));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.6);--mds-chip-backgroud-selected:rgb(var(--tone-neutral-09));--mds-chip-color-selected:rgb(var(--tone-neutral-01));--mds-chip-icon-color-selected:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';const f=class{constructor(n){t(this,n),this.autoPlacement=!0,this.placement="top"}render(){var t;return r(a,{key:"8348457632144e166c3c38d2fd42a13925ba0ec4"},r("mds-icon",{key:"7b22740b418103eeb49af85a999eb0dfb3766029",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5c0-2.21-1.79-4-4-4z"/></svg>',part:"icon"}),r("mds-tooltip",{key:"c148617c3e44b8265be5c973683c365f2eefa460",placement:this.placement,autoPlacement:this.autoPlacement,strategy:"absolute",target:".icon"},r("slot",{key:"04c9543ea769febd6b68c06a3a4831525063f7c9"})))}};f.style="@tailwind components; :host{--mds-help-tooltip-width:fit-content;--mds-help-tooltip-max-width:280px;--mds-help-tooltip-min-width:200px;--mds-help-tooltip-delay:0.25s;margin-left:0.25rem;height:1rem;width:1rem;color:rgb(var(--tone-neutral-03));cursor:help;display:-ms-inline-flexbox;display:inline-flex;fill:currentcolor;-ms-flex-pack:start;justify-content:flex-start;overflow:visible;position:relative}i{display:-ms-flexbox;display:flex}i svg{aspect-ratio:1/1;height:100%;width:100%}mds-tooltip{--mds-tooltip-delay:var(--mds-help-tooltip-delay);max-width:var(--mds-help-tooltip-max-width);min-width:var(--mds-help-tooltip-min-width)}mds-tooltip::part(text){max-width:var(--mds-help-tooltip-max-width);min-width:var(--mds-help-tooltip-width);width:var(--mds-help-tooltip-width)}mds-icon,i{fill:inherit;height:inherit;width:inherit}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";export{y as mds_banner,k as mds_chip,f as mds_help}
1
+ import{r as t,c as n,h as r,H as a,g as e}from"./p-3a6b32e7.js";import{m as d}from"./p-19dab167.js";import{K as o}from"./p-23e7e277.js";import{L as s}from"./p-2d77deaf.js";import{m as i}from"./p-4252d906.js";import{s as h}from"./p-f00c93f4.js";import"./p-85aa8e05.js";const c={cancel:"Ακύρωση"},b={cancel:"Cancel"},l={cancel:"Cancelar"},m={cancel:"Annulla"},y=class{constructor(r){t(this,r),this.closeEvent=n(this,"mdsBannerClose",7),this.km=new o,this.t=new s({el:c,en:b,es:l,it:m}),this.variant="light",this.tone="weak",this.cockade=!0,this.deletableHandler=()=>{var t;if(this.deletable){const n=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".close-button");return this.km.addElement(n),void this.km.attachClickBehavior()}this.km.detachClickBehavior()},this.closeBanner=()=>{var t;this.closeEvent.emit();const n=null===(t=this.host)||void 0===t?void 0:t.closest("mds-modal");n&&(n.opened=!1)}}async updateLang(){this.language=this.t.lang(this.host)}componentWillRender(){this.t.lang(this.host)}componentWillLoad(){this.actions=null!==this.host.querySelector(':scope > [slot="action"]')}componentDidLoad(){this.deletableHandler()}componentDidUpdate(){this.deletableHandler()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"887b88791934b25523bcb5236a539da2e9087f30","aria-label":this.headline},r("div",{key:"f3b61bb544a3095ccf06470c8c493bdaa2b8c8b0",class:"body"},this.icon&&r("mds-icon",{key:"fd9149319c9c49d2a9976a9f0ae6e7ffa8fc1fd0","aria-hidden":"true",class:"icon",name:this.icon}),r("div",{key:"3891eb5646291187cefd68e0875a35dd67852248",class:"content"},this.headline&&r("mds-text",{key:"9b85e11b0b71fefbdc9164be7f224e77f679eb34","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),r("div",{key:"714fe7d8063fdca951d0d94845789dd39eaf1e6d",class:"text"},r("slot",{key:"72d818fd156c6d69b82e5584ecc641eba215823a"}))),this.deletable&&r("mds-button",{key:"feb587470ccb3799609333d5c080e2d2c8b7005a",class:"close-button",icon:d,onClick:this.closeBanner,title:this.t.get("cancel")})),this.actions&&r("div",{key:"aec5c935e8e2f934bfe6fab2291704c8d89cea0a",class:"actions"},r("slot",{key:"9d1765d04dda9a276bb90a4d9c250bc0d403fedc",name:"action"})))}get host(){return e(this)}};y.style='/**\n * @prop --mds-banner-background: Sets the background-color of the component\n * @prop --mds-banner-close-icon-hover-background: Sets the background color of the close icon when the mouse is over it\n * @prop --mds-banner-cockade-background: When cockade attribute is set, the icon will be wrapper with a colored area, this is it\'s background\n * @prop --mds-banner-cockade-distance: When cockade attribute is set, the icon will be wrapper with a colored area, this is it\'s icon color\n * @prop --mds-banner-color: Sets the text color of the component\n * @prop --mds-banner-gap: Sets gap between banner elements\n * @prop --mds-banner-headline-color: The text color of the headline\n * @prop --mds-banner-icon-color: Sets the close icon fill color of the component\n * @prop --mds-banner-radius: Sets the border-radius of the component\n * @prop --mds-banner-shadow: Sets the box-shadow of the component\n */\n\n :host {\n --mds-banner-background: rgb(var(--tone-neutral-10));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-09));\n --mds-banner-cockade-background: rgb(var(--tone-neutral-09));\n --mds-banner-cockade-distance: 1.5rem;\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-gap: 0.5rem 1rem;\n --mds-banner-headline-color: var(--mds-banner-color);\n --mds-banner-icon-color: rgb(var(--tone-neutral-04));\n --mds-banner-radius: 0.5rem;\n --mds-banner-shadow: none;\n --mds-banner-transition-duration: 300ms;\n --mds-banner-transition-timing-function: cubic-bezier(1, 0, 0, 1);\n grid-template-columns: repeat(1, minmax(1px, 100%));\n padding: 1.5rem;\n\n background-color: var(--mds-banner-background);\n border-radius: var(--mds-banner-radius);\n -webkit-box-shadow: var(--mds-banner-shadow);\n box-shadow: var(--mds-banner-shadow);\n color: var(--mds-banner-color);\n container-name: mds-banner;\n container-type: inline-size;\n display: grid;\n gap: 1rem;\n position: relative;\n -webkit-transition-duration: var(--mds-banner-transition-duration);\n transition-duration: var(--mds-banner-transition-duration);\n -webkit-transition-property: background-color, color, -webkit-box-shadow;\n transition-property: background-color, color, -webkit-box-shadow;\n transition-property: background-color, box-shadow, color;\n transition-property: background-color, box-shadow, color, -webkit-box-shadow;\n -webkit-transition-timing-function: var(--mds-banner-transition-timing-function);\n transition-timing-function: var(--mds-banner-transition-timing-function);\n width: 100%;\n}\n\n.body {\n -ms-flex-align: start;\n align-items: flex-start;\n display: -ms-flexbox;\n display: flex;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.headline {\n color: var(--mds-banner-headline-color);\n}\n\n.content {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-positive: 1;\n flex-grow: 1;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.actions {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n gap: var(--mds-banner-gap);\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n\n.close-button {\n --mds-button-background: transparent;\n --mds-button-border-color: 0 0 0;\n --mds-button-border-default-opacity: 0;\n\n fill: var(--mds-banner-color);\n}\n\n.close-button:hover {\n --mds-button-background: var(--mds-banner-close-icon-hover-background);\n}\n\n.icon {\n fill: var(--mds-banner-icon-color);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -webkit-transition-duration: var(--mds-banner-transition-duration);\n transition-duration: var(--mds-banner-transition-duration);\n -webkit-transition-property: background-color, fill;\n transition-property: background-color, fill;\n -webkit-transition-timing-function: var(--mds-banner-transition-timing-function);\n transition-timing-function: var(--mds-banner-transition-timing-function);\n}\n\n.text {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n gap: var(--mds-banner-gap);\n}\n\n@container mds-banner (max-width: 300px) {\n ::slotted([slot="action"]) {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%;\n -ms-flex-positive: 1;\n flex-grow: 1;\n }\n}\n\n\n:host([cockade]:not([cockade="false"])) .icon {\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n\n background-color: var(--mds-banner-cockade-background);\n margin-top: calc(-1 * var(--mds-banner-cockade-distance));\n padding: 0.5rem;\n padding-top: var(--mds-banner-cockade-distance);\n}\n\n@container mds-banner (max-width: 300px) {\n :host([cockade]:not([cockade="false"])) .icon {\n padding-top: 0.5rem;\n }\n\n .body {\n -ms-flex-direction: column;\n flex-direction: column;\n }\n\n .close-button {\n position: absolute;\n right: var(--mds-banner-cockade-distance);\n top: var(--mds-banner-cockade-distance);\n }\n}\n\n:host([variant="ai"]),\n:host([variant="ai"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-ai-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-headline-color: rgb(var(--variant-ai-02));\n --mds-banner-cockade-background: rgb(var(--variant-ai-09));\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-ai-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--variant-ai-10));\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-ai-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="dark"]),\n:host([variant="dark"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral-01));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-03));\n --mds-banner-color: rgb(var(--tone-neutral-08));\n --mds-banner-icon-color: rgb(var(--tone-neutral-07));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral-03));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-05));\n --mds-banner-color: rgb(var(--tone-neutral-09));\n --mds-banner-icon-color: rgb(var(--tone-neutral-07));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-05));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-03));\n --mds-banner-icon-color: rgb(var(--tone-neutral-04));\n --mds-banner-shadow: none;\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-04));\n --mds-banner-shadow: none;\n}\n\n:host([variant="error"]),\n:host([variant="error"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-error-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-08));\n --mds-banner-color: rgb(var(--status-error-02));\n --mds-banner-icon-color: rgb(var(--status-error-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-error-10));\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-error-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-08));\n --mds-banner-color: rgb(var(--status-error-03));\n --mds-banner-icon-color: rgb(var(--status-error-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-error-09));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-error-09));\n --mds-banner-color: rgb(var(--status-error-03));\n --mds-banner-icon-color: rgb(var(--status-error-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="error"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="info"]),\n:host([variant="info"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-info-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-08));\n --mds-banner-color: rgb(var(--status-info-02));\n --mds-banner-icon-color: rgb(var(--status-info-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-info-10));\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-info-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-08));\n --mds-banner-color: rgb(var(--status-info-03));\n --mds-banner-icon-color: rgb(var(--status-info-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-info-09));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-info-09));\n --mds-banner-color: rgb(var(--status-info-03));\n --mds-banner-icon-color: rgb(var(--status-info-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="info"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="light"]),\n:host([variant="light"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--tone-neutral-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-10));\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--tone-neutral-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--tone-neutral-09));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="primary"]),\n:host([variant="primary"][tone="strong"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-09));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-primary-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);\n --mds-banner-headline-color: rgb(var(--variant-primary-02));\n --mds-banner-cockade-background: rgb(var(--variant-primary-09));\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-banner-background: rgb(var(--tone-neutral));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-10));\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-icon-color: rgb(var(--variant-primary-05));\n --mds-banner-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --mds-banner-cockade-background: rgb(var(--variant-primary-10));\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-banner-color: rgb(var(--tone-neutral-02));\n --mds-banner-close-icon-hover-background: rgb(var(--variant-primary-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: transparent;\n --mds-banner-color: rgb(var(--tone-neutral-10));\n --mds-banner-shadow: none;\n}\n\n:host([variant="success"]),\n:host([variant="success"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-success-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-08));\n --mds-banner-color: rgb(var(--status-success-02));\n --mds-banner-icon-color: rgb(var(--status-success-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-success-10));\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-success-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-08));\n --mds-banner-color: rgb(var(--status-success-03));\n --mds-banner-icon-color: rgb(var(--status-success-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-success-09));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-success-09));\n --mds-banner-color: rgb(var(--status-success-03));\n --mds-banner-icon-color: rgb(var(--status-success-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="success"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host([variant="warning"]),\n:host([variant="warning"][tone="strong"]) {\n --mds-banner-background: rgb(var(--status-warning-09));\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-08));\n --mds-banner-color: rgb(var(--status-warning-02));\n --mds-banner-icon-color: rgb(var(--status-warning-05));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-warning-10));\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-banner-background: rgb(var(--status-warning-10));\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-08));\n --mds-banner-color: rgb(var(--status-warning-03));\n --mds-banner-icon-color: rgb(var(--status-warning-06));\n --mds-banner-shadow: none;\n --mds-banner-cockade-background: rgb(var(--status-warning-09));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-banner-background: transparent;\n --mds-banner-close-icon-hover-background: rgb(var(--status-warning-09));\n --mds-banner-color: rgb(var(--status-warning-03));\n --mds-banner-icon-color: rgb(var(--status-warning-06));\n --mds-banner-shadow: none;\n}\n\n:host([variant="warning"][tone="quiet"]) .separator {\n display: none;\n}\n\n:host-context(.pref-animation-reduce) {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system) {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host-context(.pref-theme-dark) {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system) {\n -webkit-box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n box-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);\n }\n}\n\n:host-context(.pref-contrast-more) {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system) {\n -webkit-box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n box-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';const p={deleteLabel:"Αφαίρεση"},u={deleteLabel:"Remove"},g={deleteLabel:"Eliminar"},v={deleteLabel:"Rimuovi"},k=class{constructor(r){t(this,r),this.clickLabelEvent=n(this,"mdsChipClickLabel",7),this.deleteEvent=n(this,"mdsChipDelete",7),this.selectEvent=n(this,"mdsChipSelect",7),this.km=new o,this.t=new s({el:p,en:u,es:g,it:v}),this.disabled=!1,this.selectable=!1,this.variant="primary",this.tone="strong",this.handleClickableKeyboard=t=>{var n;if(t){const t=null===(n=this.host.shadowRoot)||void 0===n?void 0:n.querySelector(".label");return this.km.addElement(t,"label"),void this.km.attachClickBehavior("label")}this.km.detachClickBehavior("label")},this.handleClickableElement=t=>{var n;const r=null===(n=this.host.shadowRoot)||void 0===n?void 0:n.querySelector(".label");if(r){if(t)return h(r,"role","button"),void r.addEventListener("click",this.onClickLabelHandler.bind(this));r.removeAttribute("role"),r.removeEventListener("click",this.onClickLabelHandler.bind(this))}}}async updateLang(){this.language=this.t.lang(this.host)}handleSelectableProp(t){t&&(this.clickable=!0)}handleClickableProp(t){this.handleClickableElement(t),this.handleClickableKeyboard(t)}handleSelectedProp(t){!1===t&&(this.selected=void 0)}onClickLabelHandler(t){if(this.selectable)return this.selected=!this.selected,!1===this.selected&&(this.selected=void 0),void this.selectEvent.emit({event:t,element:this.host,selected:this.selected});this.clickLabelEvent.emit({event:t,element:this.host})}onDeleteHandler(t){this.deleteEvent.emit({event:t,element:this.host})}componentWillLoad(){this.t.lang(this.host)}componentDidLoad(){this.clickable&&(this.handleClickableElement(!0),this.handleClickableKeyboard(!0))}disconnectedCallback(){this.km.detachClickBehavior("label")}render(){return r(a,{key:"74933ef09b9f5f46d900110ff415ae70347c9c83","aria-disabled":this.disabled?"true":"false"},this.icon&&r("div",{key:"3fe3e80d2ff6544c1e4ae1534247876f5491d4fb","aria-hidden":"true",class:"icon-area"},r("mds-icon",{key:"0fa559f7ed4c4909d4ea2c623eb29b4ccb847dfc",class:"icon",name:this.icon})),r("mds-text",this.clickable?{class:"label label--interactive",tabindex:"0",typography:"caption",truncate:"word"}:{class:"label",typography:"caption",truncate:"word"},this.label),this.deletable&&r("mds-button",{key:"06c0fe6d50a4cde2f20ab9f30d4f0bbca6cef50b",class:"button-delete",icon:i,onClick:this.onDeleteHandler.bind(this),title:`${this.t.get("deleteLabel")} ${this.label}`,variant:"dark",tone:"quiet",size:"sm"}))}get host(){return e(this)}static get watchers(){return{selectable:["handleSelectableProp"],clickable:["handleClickableProp"],selected:["handleSelectedProp"]}}};k.style='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-border:transparent;--mds-chip-color:rgb(var(--tone-neutral-03));--mds-chip-icon-background:rgb(var(--variant-primary-06));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.5);--mds-chip-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);height:2.25rem;gap:0.375rem;border-radius:9999px;padding-top:0.375rem;padding-bottom:0.375rem;padding-left:0.25rem;padding-right:0.25rem;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-chip-background);border:2px solid var(--mds-chip-border);-webkit-box-shadow:var(--mds-chip-shadow);box-shadow:var(--mds-chip-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-chip-color);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;justify-self:start;max-width:-moz-min-content;max-width:-webkit-min-content;max-width:min-content;min-width:-moz-min-content;min-width:-webkit-min-content;min-width:min-content;-webkit-transition-property:background-color, border-color, color, opacity, -webkit-box-shadow;transition-property:background-color, border-color, color, opacity, -webkit-box-shadow;transition-property:background-color, border-color, box-shadow, color, opacity;transition-property:background-color, border-color, box-shadow, color, opacity, -webkit-box-shadow;width:100%}:host([disabled]:not([disabled="false"])){opacity:var(--mds-chip-opacity-disabled);pointer-events:none}.label{border-radius:9999px;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-positive:1;flex-grow:1;-webkit-text-decoration-color:transparent;text-decoration-color:transparent;-webkit-transition-property:color, outline, outline-offset, -webkit-text-decoration-color;transition-property:color, outline, outline-offset, -webkit-text-decoration-color;transition-property:color, text-decoration-color, outline, outline-offset;transition-property:color, text-decoration-color, outline, outline-offset, -webkit-text-decoration-color}:host([clickable]:not([clickable="false"])) .label{cursor:pointer;text-decoration:underline}:host([clickable]:not([clickable="false"])) .label:hover{-webkit-text-decoration-color:unset;text-decoration-color:unset}.label:first-child{padding-left:0.5rem}.label:last-child{padding-right:0.5rem}.label--interactive{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.label--interactive:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running;z-index:10}.icon-area{height:1.5rem;width:1.5rem;-ms-flex-pack:center;justify-content:center;border-radius:9999px;-ms-flex-align:center;align-items:center;background-color:var(--mds-chip-icon-background);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:inherit;transition-duration:inherit;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.icon{height:1rem;width:1rem;-webkit-transition-duration:200ms;transition-duration:200ms;fill:var(--mds-chip-icon-color);-webkit-transition:fill;transition:fill}.button-delete{border-radius:100px;height:auto;padding:0}.button-delete--hidden{display:none}:host{--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-border:transparent;--mds-chip-color:rgb(var(--tone-neutral-04));--mds-chip-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1)}:host([variant="primary"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-primary-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="primary"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-primary-09));--mds-chip-icon-color:rgb(var(--variant-primary-04))}:host([variant="primary"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-primary-04))}:host([variant="primary"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-primary-06))}:host([variant="secondary"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-secondary-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="secondary"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-secondary-09));--mds-chip-icon-color:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-secondary-06))}:host([variant="ai"][tone="strong"]){--mds-chip-icon-background:rgb(var(--variant-ai-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="ai"][tone="weak"]){--mds-chip-icon-background:rgb(var(--variant-ai-09));--mds-chip-icon-color:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="strong"][selected]){--mds-chip-border:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="weak"][selected]){--mds-chip-border:rgb(var(--variant-ai-06))}:host([variant="success"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-success-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="success"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-success-09));--mds-chip-icon-color:rgb(var(--status-success-04))}:host([variant="success"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-success-04))}:host([variant="success"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-success-06))}:host([variant="warning"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-warning-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="warning"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-warning-09));--mds-chip-icon-color:rgb(var(--status-warning-04))}:host([variant="warning"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-warning-04))}:host([variant="warning"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-warning-06))}:host([variant="error"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-error-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="error"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-error-09));--mds-chip-icon-color:rgb(var(--status-error-04))}:host([variant="error"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-error-04))}:host([variant="error"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-error-06))}:host([variant="info"][tone="strong"]){--mds-chip-icon-background:rgb(var(--status-info-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="info"][tone="weak"]){--mds-chip-icon-background:rgb(var(--status-info-09));--mds-chip-icon-color:rgb(var(--status-info-04))}:host([variant="info"][tone="strong"][selected]){--mds-chip-border:rgb(var(--status-info-04))}:host([variant="info"][tone="weak"][selected]){--mds-chip-border:rgb(var(--status-info-06))}:host([variant="amaranth"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-amaranth-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="amaranth"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-amaranth-09));--mds-chip-icon-color:rgb(var(--label-amaranth-04))}:host([variant="amaranth"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-amaranth-04))}:host([variant="amaranth"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-amaranth-06))}:host([variant="aqua"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-aqua-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="aqua"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-aqua-09));--mds-chip-icon-color:rgb(var(--label-aqua-04))}:host([variant="aqua"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-aqua-04))}:host([variant="aqua"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-aqua-06))}:host([variant="blue"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-blue-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="blue"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-blue-09));--mds-chip-icon-color:rgb(var(--label-blue-04))}:host([variant="blue"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-blue-04))}:host([variant="blue"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-blue-06))}:host([variant="green"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-green-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="green"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-green-09));--mds-chip-icon-color:rgb(var(--label-green-04))}:host([variant="green"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-green-04))}:host([variant="green"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-green-06))}:host([variant="lime"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-lime-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="lime"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-lime-09));--mds-chip-icon-color:rgb(var(--label-lime-04))}:host([variant="lime"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-lime-04))}:host([variant="lime"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-lime-06))}:host([variant="orange"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-orange-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="orange"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-orange-09));--mds-chip-icon-color:rgb(var(--label-orange-04))}:host([variant="orange"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-orange-04))}:host([variant="orange"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-orange-06))}:host([variant="orchid"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-orchid-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="orchid"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-orchid-09));--mds-chip-icon-color:rgb(var(--label-orchid-04))}:host([variant="orchid"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-orchid-04))}:host([variant="orchid"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-orchid-06))}:host([variant="sky"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-sky-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="sky"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-sky-09));--mds-chip-icon-color:rgb(var(--label-sky-04))}:host([variant="sky"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-sky-04))}:host([variant="sky"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-sky-06))}:host([variant="violet"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-violet-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="violet"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-violet-09));--mds-chip-icon-color:rgb(var(--label-violet-04))}:host([variant="violet"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-violet-04))}:host([variant="violet"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-violet-06))}:host([variant="yellow"][tone="strong"]){--mds-chip-icon-background:rgb(var(--label-yellow-05));--mds-chip-icon-color:rgb(var(--tone-neutral))}:host([variant="yellow"][tone="weak"]){--mds-chip-icon-background:rgb(var(--label-yellow-09));--mds-chip-icon-color:rgb(var(--label-yellow-04))}:host([variant="yellow"][tone="strong"][selected]){--mds-chip-border:rgb(var(--label-yellow-04))}:host([variant="yellow"][tone="weak"][selected]){--mds-chip-border:rgb(var(--label-yellow-06))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .label,:host-context(.pref-animation-reduce) .icon{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .label,:host-context(.pref-animation-system) .icon{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-chip-background:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-chip-background:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-color:rgb(var(--tone-neutral-02));--mds-chip-icon-background-selected:rgb(var(--variant-primary-03));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.6);--mds-chip-backgroud-selected:rgb(var(--tone-neutral-09));--mds-chip-color-selected:rgb(var(--tone-neutral-01));--mds-chip-icon-color-selected:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-chip-background:rgb(var(--tone-neutral));--mds-chip-color:rgb(var(--tone-neutral-02));--mds-chip-icon-background-selected:rgb(var(--variant-primary-03));--mds-chip-icon-color:rgb(var(--tone-neutral));--mds-chip-opacity-disabled:var(--opacity-disabled, 0.6);--mds-chip-backgroud-selected:rgb(var(--tone-neutral-09));--mds-chip-color-selected:rgb(var(--tone-neutral-01));--mds-chip-icon-color-selected:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';const f=class{constructor(n){t(this,n),this.autoPlacement=!0,this.placement="top"}render(){var t;return r(a,{key:"cedc4c6783cfb2c6f04753bdefeb1b9c57d86992"},r("mds-icon",{key:"6af5953d71ffe22953d3dda415a8ca09308200d2",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5c0-2.21-1.79-4-4-4z"/></svg>',part:"icon"}),r("mds-tooltip",{key:"c9909f51bae689166b9022e7de240cf53abd92cf",placement:this.placement,autoPlacement:this.autoPlacement,strategy:"absolute",target:".icon"},r("slot",{key:"11d356840cabae0abd371f63108e2362fde4acd7"})))}};f.style="@tailwind components; :host{--mds-help-tooltip-width:fit-content;--mds-help-tooltip-max-width:280px;--mds-help-tooltip-min-width:200px;--mds-help-tooltip-delay:0.25s;margin-left:0.25rem;height:1rem;width:1rem;color:rgb(var(--tone-neutral-03));cursor:help;display:-ms-inline-flexbox;display:inline-flex;fill:currentcolor;-ms-flex-pack:start;justify-content:flex-start;overflow:visible;position:relative}i{display:-ms-flexbox;display:flex}i svg{aspect-ratio:1/1;height:100%;width:100%}mds-tooltip{--mds-tooltip-delay:var(--mds-help-tooltip-delay);max-width:var(--mds-help-tooltip-max-width);min-width:var(--mds-help-tooltip-min-width)}mds-tooltip::part(text){max-width:var(--mds-help-tooltip-max-width);min-width:var(--mds-help-tooltip-width);width:var(--mds-help-tooltip-width)}mds-icon,i{fill:inherit;height:inherit;width:inherit}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";export{y as mds_banner,k as mds_chip,f as mds_help}
@@ -1 +1 @@
1
- import{r as t,h as d,H as r}from"./p-3a6b32e7.js";import{m as a}from"./p-581a0bb5.js";const e=class{constructor(d){t(this,d),this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word"}render(){return d(r,{key:"05beeb73f53a32dc21b535b55ee65e60448d6f3e"},d("mds-button",{key:"3cb4f0863b8c8c80cbb6eb37e673f266f1505bf2",active:this.active,autoFocus:this.autoFocus,await:this.await,disabled:this.disabled,href:this.href,icon:this.icon,size:this.size,target:this.target,tone:this.tone,type:this.type,variant:this.variant},this.label),d("mds-button",{key:"774a712ab4125f929af6a11e15c1ebdd8228d6ed",active:this.active,autoFocus:this.autoFocus,await:this.await,class:"dropdown-action",disabled:this.disabled,href:this.href,icon:a,size:this.size,target:this.target,tone:this.tone,type:this.type,variant:this.variant}),d("mds-dropdown",{key:"12afae125c98f4e70f697f7c88aec18ced59736f",target:".dropdown-action",part:"dropdown"},d("slot",{key:"512c0b9009c4652267f1fcaf12782b3cbcac5927"})))}};e.style=':host{--mds-button-dropdown-radius:0.5rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mds-button-dropdown-radius);display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-property:background-color, -webkit-box-shadow;transition-property:background-color, -webkit-box-shadow;transition-property:background-color, box-shadow;transition-property:background-color, box-shadow, -webkit-box-shadow}mds-dropdown{gap:0.125rem;padding:1rem}mds-button{--mds-button-radius:var(--mds-button-dropdown-radius);--mds-button-border-tone-strong-hover-width:0;--mds-button-border-tone-ghost-hover-width:0;--mds-button-border-tone-weak-hover-width:0;--mds-button-border-high-contrast-width:0}mds-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.dropdown-action{border-bottom-left-radius:0;border-top-left-radius:0}::slotted(mds-button){-ms-flex-pack:start;justify-content:flex-start}:host([size="sm"]){--mds-button-dropdown-radius:0.375rem}:host([variant="error"][tone="strong"]){background-color:rgb(var(--status-error-04))}:host([variant="error"][tone="weak"]){background-color:rgb(var(--status-error-08))}:host([variant="success"][tone="strong"]){background-color:rgb(var(--status-success-04))}:host([variant="success"][tone="weak"]){background-color:rgb(var(--status-success-08))}:host([variant="warning"][tone="strong"]){background-color:rgb(var(--status-warning-04))}:host([variant="warning"][tone="weak"]){background-color:rgb(var(--status-warning-08))}:host([variant="info"][tone="strong"]){background-color:rgb(var(--status-info-04))}:host([variant="info"][tone="weak"]){background-color:rgb(var(--status-info-08))}:host([variant="ai"][tone="strong"]){background-color:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="weak"]){background-color:rgb(var(--variant-ai-08))}:host([variant="primary"][tone="strong"]){background-color:rgb(var(--variant-primary-03))}:host([variant="primary"][tone="weak"]){background-color:rgb(var(--variant-primary-08))}:host([variant="secondary"][tone="strong"]){background-color:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="weak"]){background-color:rgb(var(--variant-secondary-08))}:host([variant="dark"][tone="strong"]){background-color:rgb(var(--tone-neutral-05))}:host([variant="dark"][tone="weak"]){background-color:rgb(var(--tone-neutral-07))}:host([variant="light"][tone="strong"]){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}:host([variant="light"][tone="weak"]){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.15);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.15)}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{e as mds_button_dropdown}
1
+ import{r as t,h as d,H as r}from"./p-3a6b32e7.js";import{m as a}from"./p-581a0bb5.js";const e=class{constructor(d){t(this,d),this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word"}render(){return d(r,{key:"0bb4a9850fc0a03291258f0d411b50769ec01a77"},d("mds-button",{key:"8647ce67f62822980f3b030ad2f0dade027c2b1a",active:this.active,autoFocus:this.autoFocus,await:this.await,disabled:this.disabled,href:this.href,icon:this.icon,size:this.size,target:this.target,tone:this.tone,type:this.type,variant:this.variant},this.label),d("mds-button",{key:"427b779bebdcf5a399b647485b26a3f271a7e813",active:this.active,autoFocus:this.autoFocus,await:this.await,class:"dropdown-action",disabled:this.disabled,href:this.href,icon:a,size:this.size,target:this.target,tone:this.tone,type:this.type,variant:this.variant}),d("mds-dropdown",{key:"9d20cd3ac389c3fcf6d72f39dff7a088b8d8a83b",target:".dropdown-action",part:"dropdown"},d("slot",{key:"c366fad5c5d8d5eae317660fb26a5ee704d78b30"})))}};e.style=':host{--mds-button-dropdown-radius:0.5rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mds-button-dropdown-radius);display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-property:background-color, -webkit-box-shadow;transition-property:background-color, -webkit-box-shadow;transition-property:background-color, box-shadow;transition-property:background-color, box-shadow, -webkit-box-shadow}mds-dropdown{gap:0.125rem;padding:1rem}mds-button{--mds-button-radius:var(--mds-button-dropdown-radius);--mds-button-border-tone-strong-hover-width:0;--mds-button-border-tone-ghost-hover-width:0;--mds-button-border-tone-weak-hover-width:0;--mds-button-border-high-contrast-width:0}mds-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.dropdown-action{border-bottom-left-radius:0;border-top-left-radius:0}::slotted(mds-button){-ms-flex-pack:start;justify-content:flex-start}:host([size="sm"]){--mds-button-dropdown-radius:0.375rem}:host([variant="error"][tone="strong"]){background-color:rgb(var(--status-error-04))}:host([variant="error"][tone="weak"]){background-color:rgb(var(--status-error-08))}:host([variant="success"][tone="strong"]){background-color:rgb(var(--status-success-04))}:host([variant="success"][tone="weak"]){background-color:rgb(var(--status-success-08))}:host([variant="warning"][tone="strong"]){background-color:rgb(var(--status-warning-04))}:host([variant="warning"][tone="weak"]){background-color:rgb(var(--status-warning-08))}:host([variant="info"][tone="strong"]){background-color:rgb(var(--status-info-04))}:host([variant="info"][tone="weak"]){background-color:rgb(var(--status-info-08))}:host([variant="ai"][tone="strong"]){background-color:rgb(var(--variant-ai-04))}:host([variant="ai"][tone="weak"]){background-color:rgb(var(--variant-ai-08))}:host([variant="primary"][tone="strong"]){background-color:rgb(var(--variant-primary-03))}:host([variant="primary"][tone="weak"]){background-color:rgb(var(--variant-primary-08))}:host([variant="secondary"][tone="strong"]){background-color:rgb(var(--variant-secondary-04))}:host([variant="secondary"][tone="weak"]){background-color:rgb(var(--variant-secondary-08))}:host([variant="dark"][tone="strong"]){background-color:rgb(var(--tone-neutral-05))}:host([variant="dark"][tone="weak"]){background-color:rgb(var(--tone-neutral-07))}:host([variant="light"][tone="strong"]){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}:host([variant="light"][tone="weak"]){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.15);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.15)}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{e as mds_button_dropdown}
@@ -1 +1 @@
1
- import{r as d,h as t,H as e,g as a}from"./p-3a6b32e7.js";const r=class{constructor(t){d(this,t)}checkAvatar(){let d=!1;return void 0!==this.src&&(d=!0),void 0!==this.icon&&(d=!0),void 0!==this.initials&&(d=!0),!this.await&&d}componentWillLoad(){this.details=null!==this.hostElement.querySelector(':scope > [slot="detail"]'),this.actions=null!==this.hostElement.querySelector(':scope > [slot="action"]')}render(){return t(e,{key:"cfd85b00824cadeb2bfec79d882245da68f701ea"},t("div",{key:"79b7d8cfc266afc9038097b599688c43e20d5147",class:"spinner",part:"spinner"},t("mds-spinner",{key:"d0a82d4f9109a19e9298bdebfa37b16d6d1a4d8f",running:!0})),this.checkAvatar()&&t("mds-avatar",{key:"656e4ed33bde9f84e8d2c7d35c45b08b1cd745d9",class:"preview",icon:this.icon,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant,part:"avatar"}),t("div",{key:"26d617f56a8eba8008ef7f0a8fcde6d1e2d4a4ac",class:"infos"},t("slot",{key:"f888a79c15751a0a5779b366c16dbfd042910512"}),this.details&&t("div",{key:"a35c706ecef07339731134b1505f181c77bfc741",class:"details"},t("slot",{key:"a344fbfebcd221378c8f578f320d9535666673e8",name:"detail"}))),this.actions&&t("div",{key:"c951b6f3bd800e95f32e860a1debf479757c5a6f",class:"actions"},t("slot",{key:"9989dfecd6c28f61d32dc52be477b0e18a71b41f",name:"action"})))}get hostElement(){return a(this)}};r.style=':host{--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-02));--mds-entity-detail-color:rgb(var(--tone-neutral-03));--mds-entity-icon-background:rgb(var(--label-blue-09));--mds-entity-icon-radius:0.25rem;--mds-entity-icon-color:rgb(var(--label-blue-04));--mds-entity-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);gap:0.5rem;border-radius:0.5rem;padding:0.5rem;-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-entity-background);-webkit-box-shadow:var(--mds-entity-shadow);box-shadow:var(--mds-entity-shadow);color:var(--mds-entity-color);display:-ms-flexbox;display:flex}.spinner,.preview,.delete{width:2.75rem;border-radius:0.25rem;-ms-flex-negative:0;flex-shrink:0}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius)}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color);--mds-avatar-background-color:var(--mds-entity-icon-background)}.spinner,.preview{aspect-ratio:1/1;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.spinner{background-color:transparent;display:none;fill:var(--mds-entity-icon-color)}:host([await]:not([await="false"])) .spinner{display:-ms-inline-flexbox;display:inline-flex}mds-spinner{height:2.25rem;width:2.25rem}.infos{min-width:0rem;gap:0rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:center;justify-content:center;white-space:nowrap}.details{gap:0.25rem;-ms-flex-align:center;align-items:center;color:var(--mds-entity-detail-color);display:-ms-flexbox;display:flex}.actions{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}::slotted([slot="action"]){aspect-ratio:1/1;width:2.75rem;height:auto}::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex}:host-context(.pref-contrast-more){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-theme-dark){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{r as mds_entity}
1
+ import{r as d,h as t,H as e,g as a}from"./p-3a6b32e7.js";const r=class{constructor(t){d(this,t)}checkAvatar(){let d=!1;return void 0!==this.src&&(d=!0),void 0!==this.icon&&(d=!0),void 0!==this.initials&&(d=!0),!this.await&&d}componentWillLoad(){this.details=null!==this.hostElement.querySelector(':scope > [slot="detail"]'),this.actions=null!==this.hostElement.querySelector(':scope > [slot="action"]')}render(){return t(e,{key:"8a36994c8dba823ded1073269f7daba8761fb74c"},t("div",{key:"ff0fe77bfc04bfbc80028ddedbdfdf16ba1e76a5",class:"spinner",part:"spinner"},t("mds-spinner",{key:"16708efad1581c6be3f522e30fadf67dced790b2",running:!0})),this.checkAvatar()&&t("mds-avatar",{key:"f175454b831126d2efaa021748e4f5da7d1fb827",class:"preview",icon:this.icon,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant,part:"avatar"}),t("div",{key:"55431edca0683dbae25d19b538185e1c74552ca2",class:"infos"},t("slot",{key:"c79cf3176f50bee9cae1653b8271d665b001355e"}),this.details&&t("div",{key:"0ab6bab732c454d92305f9c4d3cdaa5f3b670bd4",class:"details"},t("slot",{key:"f7bc347f5f5ff968220d0d572c6758624db8283f",name:"detail"}))),this.actions&&t("div",{key:"062cc22d512b0298b3bbd71b435ed47e06e9fe18",class:"actions"},t("slot",{key:"9ac39cd0db729de640ef90b4c48b2bb59fe416e5",name:"action"})))}get hostElement(){return a(this)}};r.style=':host{--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-02));--mds-entity-detail-color:rgb(var(--tone-neutral-03));--mds-entity-icon-background:rgb(var(--label-blue-09));--mds-entity-icon-radius:0.25rem;--mds-entity-icon-color:rgb(var(--label-blue-04));--mds-entity-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);gap:0.5rem;border-radius:0.5rem;padding:0.5rem;-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-entity-background);-webkit-box-shadow:var(--mds-entity-shadow);box-shadow:var(--mds-entity-shadow);color:var(--mds-entity-color);display:-ms-flexbox;display:flex}.spinner,.preview,.delete{width:2.75rem;border-radius:0.25rem;-ms-flex-negative:0;flex-shrink:0}.preview{--mds-avatar-radius:var(--mds-entity-icon-radius)}.preview:not([variant]){--mds-avatar-color:var(--mds-entity-icon-color);--mds-avatar-background-color:var(--mds-entity-icon-background)}.spinner,.preview{aspect-ratio:1/1;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.spinner{background-color:transparent;display:none;fill:var(--mds-entity-icon-color)}:host([await]:not([await="false"])) .spinner{display:-ms-inline-flexbox;display:inline-flex}mds-spinner{height:2.25rem;width:2.25rem}.infos{min-width:0rem;gap:0rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:center;justify-content:center;white-space:nowrap}.details{gap:0.25rem;-ms-flex-align:center;align-items:center;color:var(--mds-entity-detail-color);display:-ms-flexbox;display:flex}.actions{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}::slotted([slot="action"]){aspect-ratio:1/1;width:2.75rem;height:auto}::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex}:host-context(.pref-contrast-more){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-entity-background:rgb(var(--tone-neutral));--mds-entity-color:rgb(var(--tone-neutral-01));--mds-entity-detail-color:rgb(var(--tone-neutral-02));--mds-entity-icon-background:rgb(var(--label-blue-08));--mds-entity-icon-color:rgb(var(--label-blue-03));--mds-entity-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-theme-dark){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-entity-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{r as mds_entity}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,d,e,r){function a(t){return t instanceof e?t:new e((function(d){d(t)}))}return new(e||(e=Promise))((function(e,n){function i(t){try{o(r.next(t))}catch(t){n(t)}}function s(t){try{o(r["throw"](t))}catch(t){n(t)}}function o(t){t.done?e(t.value):a(t.value).then(i,s)}o((r=r.apply(t,d||[])).next())}))};var __generator=this&&this.__generator||function(t,d){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(d){return o([t,d])}}function o(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(e=0)),e)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;a=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=d.call(t,e)}catch(t){s=[6,t];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-2aef517c.system.js"],(function(t){"use strict";var d,e,r,a,n;return{setters:[function(t){d=t.r;e=t.c;r=t.h;a=t.H;n=t.g}],execute:function(){var i='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>';var s=':host{--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-03));padding-left:1.5rem;padding-right:1.5rem;padding-top:1rem;padding-bottom:1rem;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);display:-ms-flexbox;display:flex;inset:0 0 auto;interpolate-size:allow-keywords;-ms-flex-pack:center;justify-content:center;margin-left:auto;margin-right:auto;max-width:100%;position:fixed;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, border-radius, margin, max-width, width, -webkit-transform;transition-property:background-color, border-radius, margin, max-width, width, -webkit-transform;transition-property:background-color, border-radius, margin, max-width, transform, width;transition-property:background-color, border-radius, margin, max-width, transform, width, -webkit-transform;width:auto;z-index:var(--mds-header-z-index, 1000)}.logo{color:inherit;display:-ms-flexbox;display:flex}.content{max-width:1280px;gap:1rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:justify;justify-content:space-between}.actions{gap:1.5rem;display:-ms-flexbox;display:flex}.nav{gap:1rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0}.menu{--mds-button-border-opacity:0;fill:var(--mds-header-bar-hamburger-color);padding:0}.menu::part(icon){width:2rem}@media (max-width: 1023px){:host([menu="desktop"]) .menu,:host([nav="desktop"]) .nav{display:none}}@media (min-width: 1024px){:host([menu="mobile"]) .menu,:host([nav="mobile"]) .nav{display:none}}:host([menu="none"]) .menu,:host([nav="none"]) .nav{display:none}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){background-color:rgb(var(--tone-neutral-10));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){background-color:rgb(var(--tone-neutral-10));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}}:host-context(.pref-contrast-more){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var o=s;var h=t("mds_header_bar",function(){function t(t){var r=this;d(this,t);this.openedEvent=e(this,"mdsHeaderBarOpen",7);this.menu="mobile";this.nav="desktop";this.open=function(){var t;r.isOpened=true;r.openedEvent.emit();(t=r.host.closest("mds-header"))===null||t===void 0?void 0:t.setOpened(true)}}t.prototype.componentWillLoad=function(){this.hasNav=this.host.querySelector(':scope > [slot="nav"]')!==null};t.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(d){this.isOpened=t;return[2]}))}))};t.prototype.render=function(){return r(a,{key:"f8dff045e6be9b205bbee68f373ae90ad6f74709"},r("div",{key:"c8d0ab25b9ef9c65c95ab7d637f398716a9ccd69",class:"content",part:"content"},r("div",{key:"8f638de0bc8f252412960300bcbd08eb4507eb97",class:"logo"},r("slot",{key:"a663ac9cc2b1e560a3e124622a0e37ddc939f828"})),r("div",{key:"769051e97bc1487231f9a604c998c555618b96c5",class:"actions",part:"actions"},this.nav!=="none"&&this.hasNav&&r("nav",{key:"56c2c94577457bec5f1799a3ac8b0b975cca6862",class:"nav",part:"nav"},r("slot",{key:"1eae94afa33201e1c3840d848664d36f3e93730c",name:"nav"})),this.menu!=="none"&&r("mds-button",{key:"8ef11e0014ef070974fbef39824cc1ca380d0ce9",class:"menu",variant:"dark",tone:"quiet",icon:i,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,d,e,r){function a(t){return t instanceof e?t:new e((function(d){d(t)}))}return new(e||(e=Promise))((function(e,n){function i(t){try{o(r.next(t))}catch(t){n(t)}}function s(t){try{o(r["throw"](t))}catch(t){n(t)}}function o(t){t.done?e(t.value):a(t.value).then(i,s)}o((r=r.apply(t,d||[])).next())}))};var __generator=this&&this.__generator||function(t,d){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(d){return o([t,d])}}function o(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(e=0)),e)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;a=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=d.call(t,e)}catch(t){s=[6,t];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-2aef517c.system.js"],(function(t){"use strict";var d,e,r,a,n;return{setters:[function(t){d=t.r;e=t.c;r=t.h;a=t.H;n=t.g}],execute:function(){var i='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>';var s=':host{--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-03));padding-left:1.5rem;padding-right:1.5rem;padding-top:1rem;padding-bottom:1rem;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);display:-ms-flexbox;display:flex;inset:0 0 auto;interpolate-size:allow-keywords;-ms-flex-pack:center;justify-content:center;margin-left:auto;margin-right:auto;max-width:100%;position:fixed;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, border-radius, margin, max-width, width, -webkit-transform;transition-property:background-color, border-radius, margin, max-width, width, -webkit-transform;transition-property:background-color, border-radius, margin, max-width, transform, width;transition-property:background-color, border-radius, margin, max-width, transform, width, -webkit-transform;width:auto;z-index:var(--mds-header-z-index, 1000)}.logo{color:inherit;display:-ms-flexbox;display:flex}.content{max-width:1280px;gap:1rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:justify;justify-content:space-between}.actions{gap:1.5rem;display:-ms-flexbox;display:flex}.nav{gap:1rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0}.menu{--mds-button-border-opacity:0;fill:var(--mds-header-bar-hamburger-color);padding:0}.menu::part(icon){width:2rem}@media (max-width: 1023px){:host([menu="desktop"]) .menu,:host([nav="desktop"]) .nav{display:none}}@media (min-width: 1024px){:host([menu="mobile"]) .menu,:host([nav="mobile"]) .nav{display:none}}:host([menu="none"]) .menu,:host([nav="none"]) .nav{display:none}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){background-color:rgb(var(--tone-neutral-10));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){background-color:rgb(var(--tone-neutral-10));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}}:host-context(.pref-contrast-more){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6), 0 25px 50px -12px rgb(0 0 0 / 0.25)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var o=s;var h=t("mds_header_bar",function(){function t(t){var r=this;d(this,t);this.openedEvent=e(this,"mdsHeaderBarOpen",7);this.menu="mobile";this.nav="desktop";this.open=function(){var t;r.isOpened=true;r.openedEvent.emit();(t=r.host.closest("mds-header"))===null||t===void 0?void 0:t.setOpened(true)}}t.prototype.componentWillLoad=function(){this.hasNav=this.host.querySelector(':scope > [slot="nav"]')!==null};t.prototype.setOpened=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(d){this.isOpened=t;return[2]}))}))};t.prototype.render=function(){return r(a,{key:"4f05a5967beb2dc2176612fd9a1c4c762d732d36"},r("div",{key:"d0a9f9d2f21b4f1ec90d843662ddee100d4a8224",class:"content",part:"content"},r("div",{key:"95dba7bda54e9615745c1dbce97877d6c270dfd7",class:"logo"},r("slot",{key:"928754982fc5c8037dda2e96d1b13737681d9229"})),r("div",{key:"b323873b3ab16269815bbc3c8f01299981fcb684",class:"actions",part:"actions"},this.nav!=="none"&&this.hasNav&&r("nav",{key:"72788eba14482c7cb1020016094526370e333609",class:"nav",part:"nav"},r("slot",{key:"6b46a30da15b1960770192f161e8c2c8fcd4dd97",name:"nav"})),this.menu!=="none"&&r("mds-button",{key:"88abd41f054df676ab99e597f172978ef3883bc8",class:"menu",variant:"dark",tone:"quiet",icon:i,onClick:this.open,part:"hamburger"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));