@maggioli-design-system/magma 2.5.0 → 2.5.1

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 (594) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/LICENSE +21 -0
  4. package/agents/conventions.md +7 -0
  5. package/dist/cjs/{index-CWTZb9W2.js → index-Bg68W-da.js} +1 -1
  6. package/dist/cjs/{locale-Os4wg65H.js → locale-CaR39iYg.js} +12 -6
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +1 -1
  8. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-input-date-range.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-input-select.cjs.entry.js +9 -5
  24. package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-input-tip_2.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-input.cjs.entry.js +154 -37
  28. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-keyboard.cjs.entry.js +7 -3
  30. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-link.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-push-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -5
  50. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  57. package/dist/collection/common/locale.js +12 -6
  58. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  59. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  60. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  61. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  62. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  63. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  64. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  65. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  66. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  67. package/dist/collection/components/mds-author/documentation.json +1 -1
  68. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  69. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  70. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  71. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  72. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  73. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  74. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  75. package/dist/collection/components/mds-badge/documentation.json +1 -1
  76. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  77. package/dist/collection/components/mds-banner/documentation.json +1 -1
  78. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  79. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  80. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  81. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  82. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  83. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  84. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  85. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  86. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  87. package/dist/collection/components/mds-button/documentation.json +1 -1
  88. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  89. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  90. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  91. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  92. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  93. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  94. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  95. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  96. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  97. package/dist/collection/components/mds-card/documentation.json +1 -1
  98. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  99. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  100. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  101. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  102. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  103. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  104. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  105. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  106. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  107. package/dist/collection/components/mds-chip/documentation.json +1 -1
  108. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  109. package/dist/collection/components/mds-details/documentation.json +1 -1
  110. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  111. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  112. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  113. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  114. package/dist/collection/components/mds-emoji/mds-emoji.css +0 -1
  115. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-entity/documentation.json +1 -1
  117. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-file/documentation.json +1 -1
  119. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  121. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-filter/documentation.json +1 -1
  123. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-header/documentation.json +1 -1
  127. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  128. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  129. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  130. package/dist/collection/components/mds-help/documentation.json +1 -1
  131. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  133. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  134. package/dist/collection/components/mds-hr/documentation.json +1 -1
  135. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  136. package/dist/collection/components/mds-icon/documentation.json +1 -1
  137. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-img/documentation.json +1 -1
  139. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  140. package/dist/collection/components/mds-input/documentation.json +2 -2
  141. package/dist/collection/components/mds-input/mds-input.js +12 -7
  142. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  143. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  144. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  145. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  147. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  149. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  151. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  153. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  155. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  157. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  158. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  159. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  160. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  161. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  163. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  165. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  167. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  169. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  170. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  171. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  172. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  173. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  174. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  175. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  176. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  178. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-label/documentation.json +1 -1
  180. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  181. package/dist/collection/components/mds-link/documentation.json +1 -1
  182. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-list/documentation.json +1 -1
  184. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  186. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-mention/documentation.json +1 -1
  188. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-modal/documentation.json +1 -1
  190. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-note/documentation.json +1 -1
  192. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-notification/documentation.json +1 -1
  194. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  196. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  198. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  199. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  200. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-pref/documentation.json +1 -1
  202. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  204. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  206. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  208. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  210. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  212. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  214. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  216. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  218. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  220. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  222. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  224. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  225. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  226. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  228. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  230. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  232. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-progress/documentation.json +1 -1
  234. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  236. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  237. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  238. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-quote/documentation.json +1 -1
  240. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  242. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  244. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  246. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-separator/documentation.json +1 -1
  248. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  249. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  250. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  252. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -0
  253. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  254. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  255. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  257. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  258. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-tab/documentation.json +1 -1
  260. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  262. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  264. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  266. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-table/documentation.json +1 -1
  268. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  270. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  271. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  272. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  274. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  275. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  276. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  278. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  280. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-text/documentation.json +1 -1
  282. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  283. package/dist/collection/components/mds-toast/documentation.json +1 -1
  284. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  286. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  287. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  288. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-tree/documentation.json +1 -1
  290. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  294. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-usage/documentation.json +1 -1
  296. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  298. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-zero/documentation.json +1 -1
  300. package/dist/components/mds-avatar-stack-item.js +1 -1
  301. package/dist/components/mds-avatar-stack.js +1 -1
  302. package/dist/components/mds-avatar.js +1 -1
  303. package/dist/components/mds-banner.js +1 -1
  304. package/dist/components/mds-breadcrumb.js +1 -1
  305. package/dist/components/mds-button-dropdown.js +1 -1
  306. package/dist/components/mds-calendar.js +1 -1
  307. package/dist/components/mds-chip.js +1 -1
  308. package/dist/components/mds-emoji.js +1 -1
  309. package/dist/components/mds-entity.js +1 -1
  310. package/dist/components/mds-file-preview.js +1 -1
  311. package/dist/components/mds-file.js +1 -1
  312. package/dist/components/mds-filter-item.js +1 -1
  313. package/dist/components/mds-filter.js +1 -1
  314. package/dist/components/mds-header-bar.js +1 -1
  315. package/dist/components/mds-header.js +1 -1
  316. package/dist/components/mds-horizontal-scroll.js +1 -1
  317. package/dist/components/mds-img.js +1 -1
  318. package/dist/components/mds-input-date-range.js +1 -1
  319. package/dist/components/mds-input-date.js +1 -1
  320. package/dist/components/mds-input-otp.js +1 -1
  321. package/dist/components/mds-input-range.js +1 -1
  322. package/dist/components/mds-input-select.js +1 -1
  323. package/dist/components/mds-input-switch.js +1 -1
  324. package/dist/components/mds-input-tip-item.js +1 -1
  325. package/dist/components/mds-input-upload.js +1 -1
  326. package/dist/components/mds-input.js +1 -1
  327. package/dist/components/mds-keyboard-key.js +1 -1
  328. package/dist/components/mds-keyboard.js +1 -1
  329. package/dist/components/mds-label.js +1 -1
  330. package/dist/components/mds-link.js +1 -1
  331. package/dist/components/mds-mention.js +1 -1
  332. package/dist/components/mds-modal.js +1 -1
  333. package/dist/components/mds-note.js +1 -1
  334. package/dist/components/mds-paginator.js +1 -1
  335. package/dist/components/mds-policy-ai.js +1 -1
  336. package/dist/components/mds-pref-animation.js +1 -1
  337. package/dist/components/mds-pref-consumption.js +1 -1
  338. package/dist/components/mds-pref-contrast.js +1 -1
  339. package/dist/components/mds-pref-language-item.js +1 -1
  340. package/dist/components/mds-pref-language.js +1 -1
  341. package/dist/components/mds-pref-mode.js +1 -1
  342. package/dist/components/mds-pref-theme.js +1 -1
  343. package/dist/components/mds-pref.js +1 -1
  344. package/dist/components/mds-push-notification-item.js +1 -1
  345. package/dist/components/mds-push-notification.js +1 -1
  346. package/dist/components/mds-radial-menu.js +1 -1
  347. package/dist/components/mds-status-bar.js +1 -1
  348. package/dist/components/mds-stepper-bar-item.js +1 -1
  349. package/dist/components/mds-table-header.js +1 -1
  350. package/dist/components/mds-table-row.js +1 -1
  351. package/dist/components/mds-table.js +1 -1
  352. package/dist/components/mds-toast.js +1 -1
  353. package/dist/components/mds-tree-item.js +1 -1
  354. package/dist/components/mds-url-view.js +1 -1
  355. package/dist/components/mds-usage.js +1 -1
  356. package/dist/components/{p-DF3PrYBI.js → p-5lLueiFt.js} +1 -1
  357. package/dist/components/{p-CLe_N2_H.js → p-BO-jHv-F.js} +1 -1
  358. package/dist/components/{p-CNZ8_QvE.js → p-BbgQG1UL.js} +2 -2
  359. package/dist/components/{p-DCrdKrky.js → p-CJYY4da7.js} +1 -1
  360. package/dist/components/{p-C1CTahjH.js → p-CPvuXO7s.js} +1 -1
  361. package/dist/components/{p-B8x-d2fx.js → p-CZjwSwe5.js} +1 -1
  362. package/dist/components/{p-Cd8id3Br.js → p-CaROqeeK.js} +1 -1
  363. package/dist/components/{p-CfQETwAK.js → p-Cu5nEwMu.js} +1 -1
  364. package/dist/components/{p-nsbhb0lz.js → p-D0A8gS-P.js} +1 -1
  365. package/dist/components/{p-C99SMdU_.js → p-DFD4E9zJ.js} +1 -1
  366. package/dist/components/{p-DiUUZ7ZA.js → p-DTtmr_Y9.js} +1 -1
  367. package/dist/components/{p-D2d9eOLi.js → p-DkYDXDkD.js} +1 -1
  368. package/dist/components/{p-uqwixjju.js → p-DucY18_e.js} +1 -1
  369. package/dist/components/p-yNPPTJ7i.js +1 -0
  370. package/dist/documentation.json +4 -4
  371. package/dist/esm/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  372. package/dist/esm/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +12 -6
  373. package/dist/esm/mds-banner_3.entry.js +1 -1
  374. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  375. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  376. package/dist/esm/mds-calendar_2.entry.js +1 -1
  377. package/dist/esm/mds-emoji.entry.js +1 -1
  378. package/dist/esm/mds-file-preview.entry.js +1 -1
  379. package/dist/esm/mds-file.entry.js +1 -1
  380. package/dist/esm/mds-filter-item.entry.js +1 -1
  381. package/dist/esm/mds-filter.entry.js +1 -1
  382. package/dist/esm/mds-header-bar.entry.js +1 -1
  383. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  384. package/dist/esm/mds-img.entry.js +1 -1
  385. package/dist/esm/mds-input-date-range.entry.js +1 -1
  386. package/dist/esm/mds-input-date.entry.js +2 -2
  387. package/dist/esm/mds-input-otp.entry.js +1 -1
  388. package/dist/esm/mds-input-range.entry.js +1 -1
  389. package/dist/esm/mds-input-select.entry.js +9 -5
  390. package/dist/esm/mds-input-switch_2.entry.js +1 -1
  391. package/dist/esm/mds-input-tip_2.entry.js +1 -1
  392. package/dist/esm/mds-input-upload.entry.js +1 -1
  393. package/dist/esm/mds-input.entry.js +154 -37
  394. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  395. package/dist/esm/mds-keyboard.entry.js +7 -3
  396. package/dist/esm/mds-label.entry.js +1 -1
  397. package/dist/esm/mds-link.entry.js +1 -1
  398. package/dist/esm/mds-mention.entry.js +1 -1
  399. package/dist/esm/mds-modal.entry.js +1 -1
  400. package/dist/esm/mds-note.entry.js +1 -1
  401. package/dist/esm/mds-paginator.entry.js +1 -1
  402. package/dist/esm/mds-policy-ai.entry.js +1 -1
  403. package/dist/esm/mds-pref-animation.entry.js +1 -1
  404. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  405. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  406. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  407. package/dist/esm/mds-pref-language.entry.js +1 -1
  408. package/dist/esm/mds-pref-mode.entry.js +1 -1
  409. package/dist/esm/mds-pref-theme.entry.js +1 -1
  410. package/dist/esm/mds-pref.entry.js +1 -1
  411. package/dist/esm/mds-push-notification-item.entry.js +1 -1
  412. package/dist/esm/mds-push-notification.entry.js +1 -1
  413. package/dist/esm/mds-radial-menu.entry.js +1 -1
  414. package/dist/esm/mds-status-bar.entry.js +1 -1
  415. package/dist/esm/mds-stepper-bar-item.entry.js +7 -5
  416. package/dist/esm/mds-table-header.entry.js +1 -1
  417. package/dist/esm/mds-table-row.entry.js +1 -1
  418. package/dist/esm/mds-table.entry.js +1 -1
  419. package/dist/esm/mds-toast.entry.js +1 -1
  420. package/dist/esm/mds-tree-item.entry.js +1 -1
  421. package/dist/esm/mds-url-view.entry.js +1 -1
  422. package/dist/esm/mds-usage.entry.js +1 -1
  423. package/dist/esm-es5/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  424. package/dist/esm-es5/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +22 -18
  425. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  426. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  427. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  428. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  429. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  430. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  431. package/dist/esm-es5/mds-file.entry.js +1 -1
  432. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  433. package/dist/esm-es5/mds-filter.entry.js +1 -1
  434. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  435. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  436. package/dist/esm-es5/mds-img.entry.js +1 -1
  437. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  438. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  439. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  440. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  441. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  442. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  443. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  444. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  445. package/dist/esm-es5/mds-input.entry.js +53 -50
  446. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  447. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  448. package/dist/esm-es5/mds-label.entry.js +1 -1
  449. package/dist/esm-es5/mds-link.entry.js +1 -1
  450. package/dist/esm-es5/mds-mention.entry.js +1 -1
  451. package/dist/esm-es5/mds-modal.entry.js +1 -1
  452. package/dist/esm-es5/mds-note.entry.js +1 -1
  453. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  454. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  455. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  456. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  457. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  458. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  459. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  460. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  461. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  462. package/dist/esm-es5/mds-pref.entry.js +1 -1
  463. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  464. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  465. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  466. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  467. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  468. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  469. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  470. package/dist/esm-es5/mds-table.entry.js +1 -1
  471. package/dist/esm-es5/mds-toast.entry.js +1 -1
  472. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  473. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  474. package/dist/esm-es5/mds-usage.entry.js +1 -1
  475. package/dist/hydrate/index.js +190 -57
  476. package/dist/hydrate/index.mjs +190 -57
  477. package/dist/magma-components/magma-components.esm.js +1 -1
  478. package/dist/magma-components/{p-2a964578.entry.js → p-0193734e.entry.js} +1 -1
  479. package/dist/magma-components/{p-ae3bf24c.system.entry.js → p-046697e4.system.entry.js} +1 -1
  480. package/dist/magma-components/{p-81e02997.system.entry.js → p-071f5c7b.system.entry.js} +2 -2
  481. package/dist/magma-components/{p-a9ba496d.entry.js → p-075acd04.entry.js} +1 -1
  482. package/dist/magma-components/{p-94289f3d.system.entry.js → p-07a3c63c.system.entry.js} +5 -5
  483. package/dist/magma-components/{p-57839384.system.entry.js → p-093b8fbc.system.entry.js} +9 -6
  484. package/dist/magma-components/{p-a8e1ce2f.entry.js → p-0e2cd21e.entry.js} +1 -1
  485. package/dist/magma-components/{p-0eb3558a.entry.js → p-11320427.entry.js} +1 -1
  486. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  487. package/dist/magma-components/{p-23c057a9.entry.js → p-168d5fad.entry.js} +1 -1
  488. package/dist/magma-components/{p-254ee71d.entry.js → p-17ec24dc.entry.js} +1 -1
  489. package/dist/magma-components/{p-f670ed20.entry.js → p-198ea5d8.entry.js} +1 -1
  490. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  491. package/dist/magma-components/{p-42e50f25.system.entry.js → p-1ea582a9.system.entry.js} +3 -3
  492. package/dist/magma-components/{p-2d3b5eb5.entry.js → p-227f57e6.entry.js} +1 -1
  493. package/dist/magma-components/{p-5c4e41d3.system.entry.js → p-2752b45a.system.entry.js} +1 -1
  494. package/dist/magma-components/{p-068e30a5.entry.js → p-29971e1d.entry.js} +1 -1
  495. package/dist/magma-components/{p-8d6470fb.system.entry.js → p-2a4d22c9.system.entry.js} +1 -1
  496. package/dist/magma-components/{p-d0a93a14.system.entry.js → p-2c3f518c.system.entry.js} +6 -3
  497. package/dist/magma-components/{p-1908f808.entry.js → p-2d9c9ef9.entry.js} +1 -1
  498. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  499. package/dist/magma-components/{p-74f515c3.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  500. package/dist/magma-components/{p-47717251.system.entry.js → p-38b16983.system.entry.js} +3 -3
  501. package/dist/magma-components/{p-ca1969c5.entry.js → p-3c669cfb.entry.js} +1 -1
  502. package/dist/magma-components/{p-4bc47ff0.system.entry.js → p-3e18b181.system.entry.js} +1 -1
  503. package/dist/magma-components/{p-000c315c.entry.js → p-3f68ddca.entry.js} +1 -1
  504. package/dist/magma-components/{p-0d32e196.system.entry.js → p-44333d50.system.entry.js} +5 -4
  505. package/dist/magma-components/{p-2eb4efcd.system.entry.js → p-44998584.system.entry.js} +2 -2
  506. package/dist/magma-components/{p-84777b38.system.entry.js → p-50705d36.system.entry.js} +2 -2
  507. package/dist/magma-components/{p-0148cf0a.entry.js → p-521ba3a8.entry.js} +1 -1
  508. package/dist/magma-components/{p-577ae081.system.entry.js → p-5472f18d.system.entry.js} +1 -1
  509. package/dist/magma-components/{p-396d95a1.system.entry.js → p-55b10b70.system.entry.js} +2 -2
  510. package/dist/magma-components/{p-617370e7.system.entry.js → p-624a3909.system.entry.js} +6 -6
  511. package/dist/magma-components/{p-5533b60d.system.entry.js → p-62e94d78.system.entry.js} +1 -1
  512. package/dist/magma-components/{p-b738d3c1.entry.js → p-69badbba.entry.js} +1 -1
  513. package/dist/magma-components/{p-29ab84bf.system.entry.js → p-6af00399.system.entry.js} +4 -4
  514. package/dist/magma-components/{p-3dc81ab9.system.entry.js → p-6dff107d.system.entry.js} +2 -2
  515. package/dist/magma-components/{p-70d38284.entry.js → p-770b3c4b.entry.js} +1 -1
  516. package/dist/magma-components/p-77545238.entry.js +1 -0
  517. package/dist/magma-components/{p-05ed801b.system.entry.js → p-79f543fc.system.entry.js} +1 -1
  518. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  519. package/dist/magma-components/{p-336f56a4.entry.js → p-7b300282.entry.js} +1 -1
  520. package/dist/magma-components/{p-e5950aee.entry.js → p-7be0d28b.entry.js} +1 -1
  521. package/dist/magma-components/{p-15ffdcf6.entry.js → p-7ca73c56.entry.js} +1 -1
  522. package/dist/magma-components/{p-358aa5e7.entry.js → p-7d0c8177.entry.js} +1 -1
  523. package/dist/magma-components/{p-80eea067.system.entry.js → p-803957de.system.entry.js} +1 -1
  524. package/dist/magma-components/{p-cbb80188.entry.js → p-85a31141.entry.js} +1 -1
  525. package/dist/magma-components/{p-dbd34e3b.entry.js → p-85fb1d08.entry.js} +1 -1
  526. package/dist/magma-components/{p-5da14e81.entry.js → p-87baf82a.entry.js} +1 -1
  527. package/dist/magma-components/{p-3fd8ff0e.system.entry.js → p-88460d31.system.entry.js} +1 -1
  528. package/dist/magma-components/{p-fc2d1134.entry.js → p-8b501f92.entry.js} +1 -1
  529. package/dist/magma-components/{p-d980c3d2.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  530. package/dist/magma-components/{p-8680f63e.entry.js → p-8d14f146.entry.js} +1 -1
  531. package/dist/magma-components/{p-244676d3.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  532. package/dist/magma-components/{p-8173ed07.entry.js → p-93d7485d.entry.js} +2 -2
  533. package/dist/magma-components/{p-1eee93c8.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  534. package/dist/magma-components/{p-4c6da1db.system.entry.js → p-947fcf74.system.entry.js} +3 -3
  535. package/dist/magma-components/{p-458eb34c.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  536. package/dist/magma-components/{p-835d79e5.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  537. package/dist/magma-components/{p-26b9f2b7.system.entry.js → p-9cf81575.system.entry.js} +1 -1
  538. package/dist/magma-components/{p-8645533a.entry.js → p-9f6c502b.entry.js} +1 -1
  539. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  540. package/dist/magma-components/{p-OOCOFWC0.system.js → p-CuHZXISO.system.js} +7 -3
  541. package/dist/magma-components/{p-DXAjcaHM.system.js → p-CxTugGM9.system.js} +1 -1
  542. package/dist/magma-components/{p-U5iXN1wy.js → p-Dx_cCOTw.js} +1 -1
  543. package/dist/magma-components/{p-Raj-urIN.js → p-OafT80hV.js} +1 -1
  544. package/dist/magma-components/{p-2cbd532a.system.entry.js → p-a0612465.system.entry.js} +1 -1
  545. package/dist/magma-components/{p-26451eb6.entry.js → p-a8a0a9ba.entry.js} +1 -1
  546. package/dist/magma-components/{p-d37fe692.system.entry.js → p-a987086b.system.entry.js} +1 -1
  547. package/dist/magma-components/{p-2cdf450c.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  548. package/dist/magma-components/{p-29162c98.entry.js → p-b01118cc.entry.js} +1 -1
  549. package/dist/magma-components/{p-791a6a6f.entry.js → p-b373cc32.entry.js} +1 -1
  550. package/dist/magma-components/{p-8279056b.system.entry.js → p-b4633c9c.system.entry.js} +1 -1
  551. package/dist/magma-components/{p-55746791.entry.js → p-b467f737.entry.js} +1 -1
  552. package/dist/magma-components/{p-bf0cb77d.system.entry.js → p-b5cc09c7.system.entry.js} +1 -1
  553. package/dist/magma-components/{p-87ce9d6c.entry.js → p-b69c3126.entry.js} +1 -1
  554. package/dist/magma-components/{p-29450db3.entry.js → p-b8a59768.entry.js} +1 -1
  555. package/dist/magma-components/{p-ab00b7b9.entry.js → p-b9ca6c2e.entry.js} +1 -1
  556. package/dist/magma-components/{p-77939a25.system.entry.js → p-bb282bc1.system.entry.js} +1 -1
  557. package/dist/magma-components/{p-6f81c9ef.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  558. package/dist/magma-components/{p-729c89f9.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  559. package/dist/magma-components/{p-2aac4003.entry.js → p-c40ad03a.entry.js} +1 -1
  560. package/dist/magma-components/{p-471227f2.system.entry.js → p-cc954b22.system.entry.js} +2 -2
  561. package/dist/magma-components/{p-1faa4f71.entry.js → p-ced3ebb8.entry.js} +1 -1
  562. package/dist/magma-components/{p-41a28f2a.system.entry.js → p-d254de66.system.entry.js} +2 -2
  563. package/dist/magma-components/{p-a76a9f92.system.entry.js → p-d3491226.system.entry.js} +1 -1
  564. package/dist/magma-components/{p-919f9dce.entry.js → p-d608b79c.entry.js} +1 -1
  565. package/dist/magma-components/{p-f2f992c2.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  566. package/dist/magma-components/{p-287601bb.entry.js → p-dbca23af.entry.js} +1 -1
  567. package/dist/magma-components/{p-9855b517.entry.js → p-de1ae02c.entry.js} +1 -1
  568. package/dist/magma-components/{p-f1aafe07.entry.js → p-dedbf8d6.entry.js} +1 -1
  569. package/dist/magma-components/{p-0b3e4a97.system.entry.js → p-e2fa6300.system.entry.js} +1 -1
  570. package/dist/magma-components/{p-860bce85.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  571. package/dist/magma-components/{p-b5789a7c.entry.js → p-ec635255.entry.js} +1 -1
  572. package/dist/magma-components/{p-d561062f.system.entry.js → p-f0285a1e.system.entry.js} +1 -1
  573. package/dist/magma-components/{p-b476435f.entry.js → p-f09b08f9.entry.js} +1 -1
  574. package/dist/magma-components/{p-481897a7.entry.js → p-f306b5c1.entry.js} +1 -1
  575. package/dist/magma-components/{p-d0bfdb44.system.entry.js → p-f39416e9.system.entry.js} +1 -1
  576. package/dist/magma-components/{p-f889d413.system.entry.js → p-f5326224.system.entry.js} +1 -1
  577. package/dist/magma-components/{p-73833405.entry.js → p-f5a33058.entry.js} +1 -1
  578. package/dist/magma-components/{p-96bb36b9.entry.js → p-f616f467.entry.js} +1 -1
  579. package/dist/magma-components/{p-34c2daa9.system.entry.js → p-f75935ed.system.entry.js} +1 -1
  580. package/dist/magma-components/{p-71cbc840.entry.js → p-f901c844.entry.js} +1 -1
  581. package/dist/magma-components/{p-656b00df.system.entry.js → p-fc22f5e0.system.entry.js} +8 -8
  582. package/dist/magma-components/{p-357724ab.entry.js → p-ffbf7448.entry.js} +1 -1
  583. package/dist/stats.json +777 -771
  584. package/dist/types/common/locale.d.ts +5 -0
  585. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  586. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  587. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  588. package/package.json +1 -1
  589. package/dist/components/p-BbTcXgbr.js +0 -1
  590. package/dist/magma-components/p-632ad925.system.entry.js +0 -222
  591. package/dist/magma-components/p-644e64a0.entry.js +0 -1
  592. package/dist/magma-components/p-7ec1ea2e.entry.js +0 -1
  593. package/dist/magma-components/p-da24a265.entry.js +0 -1
  594. package/dist/magma-components/p-f78c1699.entry.js +0 -1
@@ -1,8 +1,8 @@
1
- import{r as e,d as r,h as a,e as i,g as o}from"./p-CvLLN-QH.js";import{m as t}from"./p-BJ8rpzfj.js";import{K as s}from"./p-CGrPq3C4.js";import{c as l}from"./p-ChV9xqsO.js";import{f as n,a as c,b as m,c as v,g as d,d as b,e as g}from"./p-CDjzBTsk.js";import{L as f}from"./p-Raj-urIN.js";import{p}from"./p-iX3kcwYg.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";
1
+ import{r as e,d as r,h as a,e as i,g as o}from"./p-CvLLN-QH.js";import{m as t}from"./p-BJ8rpzfj.js";import{K as s}from"./p-CGrPq3C4.js";import{c as l}from"./p-ChV9xqsO.js";import{f as n,a as c,b as m,c as v,g as d,d as b,e as g}from"./p-CDjzBTsk.js";import{L as f}from"./p-OafT80hV.js";import{p}from"./p-iX3kcwYg.js";import"./p-BxIk5ZFV.js";import"./p-b1ORvfSX.js";
2
2
  /**
3
3
  * filesize
4
4
  *
5
5
  * @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
6
6
  * @license BSD-3-Clause
7
7
  * @version 10.1.6
8
- */const u="bits",h="bytes",w="jedec",x={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var y={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},k={remove:"Remove file from upload queue"},j={remove:"Eliminar archivo de la cola de carga"},q={remove:"Rimuovi file dalla coda di upload"};const B=class{constructor(a){e(this,a),this.downloadedEvent=r(this,"mdsFileDownload",7),this.deletedEvent=r(this,"mdsFileDelete",7),this.t=new f({el:Object.assign(Object.assign({},y),v),en:Object.assign(Object.assign({},k),m),es:Object.assign(Object.assign({},j),c),it:Object.assign(Object.assign({},q),n)}),this.km=new s,this.truncate="word",this.getDefaultKeyDescription=()=>d(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=d(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=d(e,this.suffix).format}render(){var e,r,o,s,n,c,m;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return a(i,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:t,variant:"light",onClick:this.onClickDeletedEvent}),a("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&d(this.filename,this.suffix).preview?a("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):a("div",{class:l("preview",v?"preview--status":"preview--icon")},""!==(null!==(o=this.icon)&&void 0!==o?o:"")?a("mds-icon",{class:"icon",name:this.icon}):a("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&a("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),a("mds-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),a("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:l("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&a("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:o=2,locale:t="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:c={},standard:m="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let y=g,k=Number(e),j=[],q=0,B="";"si"===m?(i=10,m=w):"iec"===m||m===w?i=2:2===i?m="iec":(i=10,m=w);const M=10===i?1e3:1024,z=!0===d,O=k<0,N=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof N)throw new TypeError("Invalid rounding method");if(O&&(k=-k),(-1===y||isNaN(y))&&(y=Math.floor(Math.log(k)/Math.log(M)),y<0&&(y=0)),y>8&&(p>0&&(p+=8-y),y=8),"exponent"===v)return y;if(0===k)j[0]=0,B=j[1]=x.symbol[m][r?u:h][y];else{q=k/(2===i?Math.pow(2,10*y):Math.pow(1e3,y)),r&&(q*=8,q>=M&&y<8&&(q/=M,y++));const e=Math.pow(10,y>0?o:0);j[0]=N(q*e)/e,j[0]===M&&y<8&&-1===g&&(j[0]=1,y++),B=j[1]=10===i&&1===y?r?"kbit":"kB":x.symbol[m][r?u:h][y]}if(O&&(j[0]=-j[0]),p>0&&(j[0]=j[0].toPrecision(p)),j[1]=c[j[1]]||j[1],!0===t?j[0]=j[0].toLocaleString():t.length>0?j[0]=j[0].toLocaleString(t,s):l.length>0&&(j[0]=j[0].toString().replace(".",l)),a&&o>0){const e=j[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",t=i.length;j[0]=`${a[0]}${r}${i.padEnd(t+(o-t),"0")}`}return z&&(j[1]=b[y]?b[y]:x.fullform[m][y]+(r?"bit":"byte")+(1===j[0]?"":"s")),"array"===v?j:"object"===v?{value:j[0],symbol:j[1],exponent:y,unit:B}:j.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&a("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),b(this.filename,this.suffix)&&a("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(s=this.description)&&void 0!==s?s:this.t.get(this.getDefaultKeyDescription())},b(this.filename,this.suffix)),""===(null!==(n=this.filesize)&&void 0!==n?n:"")&&a("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())},null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())))))}get host(){return o(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};B.style="@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-button,mds-icon,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));grid-template-columns:repeat(1,minmax(1px,100%));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}";export{B as mds_file_preview}
8
+ */const u="bits",h="bytes",w="jedec",x={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var y={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},k={remove:"Remove file from upload queue"},j={remove:"Eliminar archivo de la cola de carga"},q={remove:"Rimuovi file dalla coda di upload"};const B=class{constructor(a){e(this,a),this.downloadedEvent=r(this,"mdsFileDownload",7),this.deletedEvent=r(this,"mdsFileDelete",7),this.t=new f({el:Object.assign(Object.assign({},y),v),en:Object.assign(Object.assign({},k),m),es:Object.assign(Object.assign({},j),c),it:Object.assign(Object.assign({},q),n)}),this.km=new s,this.truncate="word",this.getDefaultKeyDescription=()=>d(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:b(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=d(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=d(e,this.suffix).format}render(){var e,r,o,s,n,c,m;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return a(i,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:t,variant:"light",onClick:this.onClickDeletedEvent}),a("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&d(this.filename,this.suffix).preview?a("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):a("div",{class:l("preview",v?"preview--status":"preview--icon")},""!==(null!==(o=this.icon)&&void 0!==o?o:"")?a("mds-icon",{class:"icon",name:this.icon}):a("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&a("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),a("mds-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),a("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:l("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&a("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:o=2,locale:t="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:c={},standard:m="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let y=g,k=Number(e),j=[],q=0,B="";"si"===m?(i=10,m=w):"iec"===m||m===w?i=2:2===i?m="iec":(i=10,m=w);const M=10===i?1e3:1024,O=!0===d,z=k<0,C=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof C)throw new TypeError("Invalid rounding method");if(z&&(k=-k),(-1===y||isNaN(y))&&(y=Math.floor(Math.log(k)/Math.log(M)),y<0&&(y=0)),y>8&&(p>0&&(p+=8-y),y=8),"exponent"===v)return y;if(0===k)j[0]=0,B=j[1]=x.symbol[m][r?u:h][y];else{q=k/(2===i?Math.pow(2,10*y):Math.pow(1e3,y)),r&&(q*=8,q>=M&&y<8&&(q/=M,y++));const e=Math.pow(10,y>0?o:0);j[0]=C(q*e)/e,j[0]===M&&y<8&&-1===g&&(j[0]=1,y++),B=j[1]=10===i&&1===y?r?"kbit":"kB":x.symbol[m][r?u:h][y]}if(z&&(j[0]=-j[0]),p>0&&(j[0]=j[0].toPrecision(p)),j[1]=c[j[1]]||j[1],!0===t?j[0]=j[0].toLocaleString():t.length>0?j[0]=j[0].toLocaleString(t,s):l.length>0&&(j[0]=j[0].toString().replace(".",l)),a&&o>0){const e=j[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",t=i.length;j[0]=`${a[0]}${r}${i.padEnd(t+(o-t),"0")}`}return O&&(j[1]=b[y]?b[y]:x.fullform[m][y]+(r?"bit":"byte")+(1===j[0]?"":"s")),"array"===v?j:"object"===v?{value:j[0],symbol:j[1],exponent:y,unit:B}:j.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&a("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),b(this.filename,this.suffix)&&a("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(s=this.description)&&void 0!==s?s:this.t.get(this.getDefaultKeyDescription())},b(this.filename,this.suffix)),""===(null!==(n=this.filesize)&&void 0!==n?n:"")&&a("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())},null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())))))}get host(){return o(this)}static get watchers(){return{filename:[{handleFilename:0}]}}};B.style="@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-button,mds-icon,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));grid-template-columns:repeat(1,minmax(1px,100%));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-preview-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-preview-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}";export{B as mds_file_preview}
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-Cxe5TwXZ.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var r,e,a,n,o,s,c;return{setters:[function(t){r=t.r;e=t.d;a=t.h;n=t.e;o=t.g},function(t){s=t.m},function(t){c=t.L},null],execute:function(){var i="Πήγαινε πίσω";var d={back:i};var u="Go back";var b={back:u};var l="Volver atrás";var m={back:l};var v="Indietro";var f={back:v};var h=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-breadcrumb-arrow-depth-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-breadcrumb-button-background-selected:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-breadcrumb-button-color-selected:var(--mds-breadcrumb-button-color-current,var(--mds-breadcrumb-current-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--mds-breadcrumb-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:center;display:flex;gap:0;overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}.back[disabled]{--mds-button-background:var(--mds-breadcrumb-button-background-disabled,#0000)}:host::-webkit-scrollbar{display:none}"};var g=t("mds_breadcrumb",/** @class */function(){function t(t){var a=this;r(this,t);this.changedEvent=e(this,"mdsBreadcrumbChange",7);this.t=new c({el:d,en:b,es:m,it:f});
1
+ System.register(["./p-BZP13mns.system.js","./p-Cxe5TwXZ.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var r,e,a,n,o,s,c;return{setters:[function(t){r=t.r;e=t.d;a=t.h;n=t.e;o=t.g},function(t){s=t.m},function(t){c=t.L},null],execute:function(){var i="Πήγαινε πίσω";var d={back:i};var u="Go back";var b={back:u};var l="Volver atrás";var m={back:l};var v="Indietro";var f={back:v};var h=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-breadcrumb-arrow-depth-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-breadcrumb-button-background-disabled:#0000;--mds-breadcrumb-button-background-hover:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-breadcrumb-button-background-selected:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-breadcrumb-button-background:#0000;--mds-breadcrumb-button-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-breadcrumb-button-color-selected:var(--mds-breadcrumb-button-color-current,var(--mds-breadcrumb-current-button-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--mds-breadcrumb-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:center;display:flex;gap:0;overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;width:100%}.back[disabled]{--mds-button-background:var(--mds-breadcrumb-button-background-disabled,#0000)}:host::-webkit-scrollbar{display:none}"};var g=t("mds_breadcrumb",/** @class */function(){function t(t){var a=this;r(this,t);this.changedEvent=e(this,"mdsBreadcrumbChange",7);this.t=new c({el:d,en:b,es:m,it:f});
2
2
  /**
3
3
  * Hides the back arrow button
4
4
  */this.hideBack=false;this.queryItems=function(){return a.element.querySelectorAll("mds-breadcrumb-item")};this.updateBackButton=function(t){var r;if(a.hideBack)return;var e=(r=a.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".back");if(t===0){e.setAttribute("disabled","");return}e.removeAttribute("disabled")};this.togglePrevious=function(){var t=a.element.querySelector("mds-breadcrumb-item[selected]");if(!t)return;var r=Array.from(a.queryItems()).indexOf(t);var e=a.queryItems();var n=0;e.forEach((function(t,e){t.selected=e===r-1;if(t.selected){n=e}}));a.updateBackButton(n);
@@ -1,4 +1,4 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,a=t.length,r;n<a;n++){if(r||!(n in t)){if(!r)r=Array.prototype.slice.call(t,0,n);r[n]=t[n]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-BZP13mns.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm.system.js","./p-pxyGaQ-P.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,d,l,h,u,c,f;return{setters:[function(e){t=e.r;i=e.d;n=e.f;a=e.h;r=e.e;s=e.g;o=e.B},function(e){d=e.L},function(e){l=e.M;h=e.p},function(e){u=e.l},function(e){c=e.m},function(e){f=e.m}],execute:function(){var m=["bevel","notch","round","scoop","square","squircle"];
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,a=t.length,r;n<a;n++){if(r||!(n in t)){if(!r)r=Array.prototype.slice.call(t,0,n);r[n]=t[n]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-BZP13mns.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js","./p-pxyGaQ-P.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,d,l,h,u,c,f;return{setters:[function(e){t=e.r;i=e.d;n=e.f;a=e.h;r=e.e;s=e.g;o=e.B},function(e){d=e.L},function(e){l=e.M;h=e.p},function(e){u=e.l},function(e){c=e.m},function(e){f=e.m}],execute:function(){var m=["bevel","notch","round","scoop","square","squircle"];
2
2
  /**
3
3
  * What a user can pick for the corner axis: a shape, or `default`.
4
4
  *
@@ -7,7 +7,7 @@ var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.leng
7
7
  * today's default removes the attribute instead of freezing that default into
8
8
  * the consumer's markup, which would keep a later change of default from
9
9
  * reaching anybody who never chose.
10
- */var v=__spreadArray(__spreadArray([],m,true),["default"],false);var p="Θέμα";var b={label:p};var g="Theme";var y={label:g};var S="Tema";var k={label:S};var x="Tema";var w={label:x};var C=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"};var j=e("mds_pref_theme",/** @class */function(){function e(e){var n=this;t(this,e);this.themeChangeEvent=i(this,"mdsPrefThemeChange",7);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new d({el:b,en:y,es:k,it:w});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
10
+ */var v=__spreadArray(__spreadArray([],m,true),["default"],false);var p="Θέμα";var b={label:p};var g="Theme";var y={label:g};var S="Tema";var k={label:S};var x="Tema";var w={label:x};var j=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"};var C=e("mds_pref_theme",/** @class */function(){function e(e){var n=this;t(this,e);this.themeChangeEvent=i(this,"mdsPrefThemeChange",7);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new d({el:b,en:y,es:k,it:w});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
11
11
  /**
12
12
  * Specifies the theme name attribute
13
13
  * A string representing the theme name, in lowercase kebab-case.
@@ -70,4 +70,4 @@ if(l.includes(e)||e==="scheme"||e.startsWith("scheme-"))return;localStorage.setI
70
70
  this.itemsObserver=new MutationObserver((function(){return n(e.element)}));this.itemsObserver.observe(this.element,{attributeFilter:["label","name"],childList:true,subtree:true})};e.prototype.componentDidLoad=function(){this.checkThemeSelect()};e.prototype.disconnectedCallback=function(){var e;(e=this.itemsObserver)===null||e===void 0?void 0:e.disconnect();this.itemsObserver=undefined};e.prototype.componentWillRender=function(){var e,t,i;this.userThemeName=this.storedChoice(this.localStorageAliasThemeName,this.isThemeName);this.userThemeScheme=this.storedChoice(this.localStorageAliasThemeScheme,this.isScheme);this.setTheme((e=this.userThemeName)!==null&&e!==void 0?e:this.name,(t=this.userThemeScheme)!==null&&t!==void 0?t:this.scheme);this.userCornerShape=this.storedChoice(this.localStorageAliasCornerShape,this.isCornerShape);this.setCornerShape((i=this.userCornerShape)!==null&&i!==void 0?i:this.cornerShape)};
71
71
  // A pick reaches the component from any item, one added after load too: the listener sits on
72
72
  // the host, where the event of the item bubbles, instead of on each item found on load (#826)
73
- e.prototype.handleItemSelect=function(e){this.changeThemeItem();this.currentSelectedItem=e.target;this.currentSelectedItem.selected=true;var t=e.detail.name.toLowerCase();var i=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:i});this.showDropdown=false;this.setTheme(t,i)};e.prototype.render=function(){return a(r,{key:"b791443dbe44e7fdacdd9d6b053b9061fde94e00"},a("div",{key:"d15ecd2de7a96eb6738232615864908d11bb14b8",class:"menu"},a("mds-text",{key:"00ab4d5873154e0f12cf3d4884153212d37e34a3",class:"info",typography:"caption"},a("b",{key:"c29fd2837733effc70e31c7d5e76f2f8d3c63843"},this.t.get("label"))),a("mds-tab",{key:"9a861567518b31749237636b68b4ad2a3709a405",fill:true,size:this.size},a("mds-tab-item",{key:"0c31c771324ac4cacff400e7a4eaca68abaa242e",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?f:c,label:this.triggerLabel()}))),a("mds-dropdown",{key:"02fd1e078b4ce374f6805b27b71b421f0cc45a2a",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"51fce1b2ddc5325d0bead3bd539fba19315c1bae",onSlotchange:this.checkThemeSelect})))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange:0}]}},enumerable:false,configurable:true});return e}());j.style=C()}}}));
73
+ e.prototype.handleItemSelect=function(e){this.changeThemeItem();this.currentSelectedItem=e.target;this.currentSelectedItem.selected=true;var t=e.detail.name.toLowerCase();var i=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:i});this.showDropdown=false;this.setTheme(t,i)};e.prototype.render=function(){return a(r,{key:"b791443dbe44e7fdacdd9d6b053b9061fde94e00"},a("div",{key:"d15ecd2de7a96eb6738232615864908d11bb14b8",class:"menu"},a("mds-text",{key:"00ab4d5873154e0f12cf3d4884153212d37e34a3",class:"info",typography:"caption"},a("b",{key:"c29fd2837733effc70e31c7d5e76f2f8d3c63843"},this.t.get("label"))),a("mds-tab",{key:"9a861567518b31749237636b68b4ad2a3709a405",fill:true,size:this.size},a("mds-tab-item",{key:"0c31c771324ac4cacff400e7a4eaca68abaa242e",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?f:c,label:this.triggerLabel()}))),a("mds-dropdown",{key:"02fd1e078b4ce374f6805b27b71b421f0cc45a2a",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"51fce1b2ddc5325d0bead3bd539fba19315c1bae",onSlotchange:this.checkThemeSelect})))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange:0}]}},enumerable:false,configurable:true});return e}());C.style=j()}}}));
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var e,i,s,a,o,n;return{setters:[function(t){e=t.r;i=t.d;s=t.h;a=t.e},function(t){o=t.L},function(t){n=t.p}],execute:function(){var r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var d="Υψηλή";var l="Χαμηλή";var u="Μεσαία";var h="Κατανάλωση";var f={consumptionHigh:d,consumptionLow:l,consumptionMedium:u,label:h};var v="High";var g="Low";var p="Medium";var b="Consumption";var w={consumptionHigh:v,consumptionLow:g,consumptionMedium:p,label:b};var x="Alto";var y="Bajo";var C="Medio";var M="Consumo";var A={consumptionHigh:x,consumptionLow:y,consumptionMedium:C,label:M};var k="Alto";var H="Basso";var j="Medio";var B="Consumo";var L={consumptionHigh:k,consumptionLow:H,consumptionMedium:j,label:B};var O=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var S=t("mds_pref_consumption",/** @class */function(){function t(t){var s=this;e(this,t);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.syncingFromStore=false;this.t=new o({el:f,en:w,es:A,it:L});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(s.consumption,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-consumption: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(s.consumption).join(", ")))};
1
+ System.register(["./p-BZP13mns.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var e,i,s,a,o,n;return{setters:[function(t){e=t.r;i=t.d;s=t.h;a=t.e},function(t){o=t.L},function(t){n=t.p}],execute:function(){var r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var d="Υψηλή";var l="Χαμηλή";var u="Μεσαία";var h="Κατανάλωση";var f={consumptionHigh:d,consumptionLow:l,consumptionMedium:u,label:h};var v="High";var g="Low";var p="Medium";var b="Consumption";var w={consumptionHigh:v,consumptionLow:g,consumptionMedium:p,label:b};var x="Alto";var y="Bajo";var M="Medio";var A="Consumo";var C={consumptionHigh:x,consumptionLow:y,consumptionMedium:M,label:A};var k="Alto";var H="Basso";var j="Medio";var B="Consumo";var L={consumptionHigh:k,consumptionLow:H,consumptionMedium:j,label:B};var S=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var q=t("mds_pref_consumption",/** @class */function(){function t(t){var s=this;e(this,t);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.syncingFromStore=false;this.t=new o({el:f,en:w,es:C,it:L});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(s.consumption,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-consumption: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(s.consumption).join(", ")))};
2
2
  /**
3
3
  * Follows a consumption applied elsewhere (another instance, or a writer of the
4
4
  * `<html>` classes) without applying it again: no event, no storage write.
@@ -14,4 +14,4 @@ System.register(["./p-BZP13mns.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm
14
14
  t.prototype.componentWillLoad=function(){var t;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var e=localStorage.getItem(this.localStorageAlias);if(e!==null&&!this.isMode(e))localStorage.removeItem(this.localStorageAlias);this.setConsumption((t=[this.mode,e].find(this.isMode))!==null&&t!==void 0?t:this.defaultMode)};t.prototype.connectedCallback=function(){this.unsubscribeStore=n.onChange("consumption",this.syncConsumption)};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribeStore)===null||t===void 0?void 0:t.call(this)};t.prototype.modeChanged=function(t){if(this.syncingFromStore){return}
15
15
  // a mode outside the union, or the attribute removed, is not applied: the instance goes back
16
16
  // to the consumption of the page
17
- if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(n.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return s(a,{key:"777d84c1ea70c2df44e612c9033fd0b0e2ce2d30","pref-contrast":n.state.contrast},s("mds-text",{key:"8298e8e63c21a10b83884a38d245b3d9b70f96c7",class:"info",typography:"caption"},s("b",{key:"e5ff08e164555675f8ae0c725299db9820d3e705"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),s("mds-tab",{key:"dd6938db0bb68ab284fbe97cafd1b1a609294f93",fill:true,size:this.size},s("mds-tab-item",{key:"2233c7c429eb2860653965b9a90451343d1b0fe9",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:r,title:this.t.get(this.consumption.low.label)}),s("mds-tab-item",{key:"6cd992bd9430c4eda19e5773196d4ce18146b379",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:m,title:this.t.get(this.consumption.medium.label)}),s("mds-tab-item",{key:"fe328a1ec3387dac74bd831c550294920ebb0781",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:c,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}());S.style=O()}}}));
17
+ if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(n.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return s(a,{key:"777d84c1ea70c2df44e612c9033fd0b0e2ce2d30","pref-contrast":n.state.contrast},s("mds-text",{key:"8298e8e63c21a10b83884a38d245b3d9b70f96c7",class:"info",typography:"caption"},s("b",{key:"e5ff08e164555675f8ae0c725299db9820d3e705"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),s("mds-tab",{key:"dd6938db0bb68ab284fbe97cafd1b1a609294f93",fill:true,size:this.size},s("mds-tab-item",{key:"2233c7c429eb2860653965b9a90451343d1b0fe9",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:r,title:this.t.get(this.consumption.low.label)}),s("mds-tab-item",{key:"6cd992bd9430c4eda19e5773196d4ce18146b379",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:m,title:this.t.get(this.consumption.medium.label)}),s("mds-tab-item",{key:"fe328a1ec3387dac74bd831c550294920ebb0781",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:c,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}());q.style=S()}}}));
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-TXBtE7G5.system.js","./p-Y11niGnP.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var r,i,a,e,s,n,o,c,l;return{setters:[function(t){r=t.r;i=t.d;a=t.h;e=t.e;s=t.g},function(t){n=t.m},function(t){o=t.m},function(t){c=t.L},function(t){l=t.p}],execute:function(){var d="Φόρτωση εικόνας";var h={clickToLoad:d};var m="Load image";var u={clickToLoad:m};var g="Cargar imagen";var v={clickToLoad:g};var f="Carica immagine";var b={clickToLoad:f};var p=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-img-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-img-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-img-icon-color:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-img-error-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-img-error-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-img-error-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));display:flex;height:auto;object-fit:contain;overflow:hidden;position:relative;width:100%}img{height:inherit;object-fit:inherit;width:inherit}.alt-text-container{align-items:center;background-color:var(--mds-img-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));color:var(--mds-img-color,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-content:center;padding:calc(var(--spacing,.0025rem)*600);text-align:center}.alt-text-container--absolute{cursor:pointer;inset:0;position:absolute}.alt-text-container--error{--mds-img-background:var(--mds-img-error-background,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));--mds-img-color:var(--mds-img-error-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));--mds-img-icon-color:var(--mds-img-error-icon-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));cursor:not-allowed}.alt-text-container--default-aspect-ratio{cursor:pointer;width:100%}.click-to-load{pointer-events:none}.icon{fill:var(--mds-img-icon-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));width:calc(var(--spacing,.0025rem)*900)}"};var y=t("mds_img",/** @class */function(){function t(t){var a=this;r(this,t);this.loadErrorEvent=i(this,"mdsImgLoadError",7);this.loadSuccessEvent=i(this,"mdsImgLoadSuccess",7);this.imageConsumptionLoaded=false;this.imageError=false;this.storedConsumption=null;this.t=new c({el:h,en:u,es:v,it:b});
1
+ System.register(["./p-BZP13mns.system.js","./p-TXBtE7G5.system.js","./p-Y11niGnP.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var r,i,a,e,s,n,o,c,l;return{setters:[function(t){r=t.r;i=t.d;a=t.h;e=t.e;s=t.g},function(t){n=t.m},function(t){o=t.m},function(t){c=t.L},function(t){l=t.p}],execute:function(){var d="Φόρτωση εικόνας";var h={clickToLoad:d};var m="Load image";var u={clickToLoad:m};var g="Cargar imagen";var v={clickToLoad:g};var f="Carica immagine";var b={clickToLoad:f};var p=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-img-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-img-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-img-icon-color:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-img-error-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-img-error-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-img-error-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));display:flex;height:auto;object-fit:contain;overflow:hidden;position:relative;width:100%}img{height:inherit;object-fit:inherit;width:inherit}.alt-text-container{align-items:center;background-color:var(--mds-img-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));color:var(--mds-img-color,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-content:center;padding:calc(var(--spacing,.0025rem)*600);text-align:center}.alt-text-container--absolute{cursor:pointer;inset:0;position:absolute}.alt-text-container--error{--mds-img-background:var(--mds-img-error-background,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));--mds-img-color:var(--mds-img-error-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));--mds-img-icon-color:var(--mds-img-error-icon-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));cursor:not-allowed}.alt-text-container--default-aspect-ratio{cursor:pointer;width:100%}.click-to-load{pointer-events:none}.icon{fill:var(--mds-img-icon-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));width:calc(var(--spacing,.0025rem)*900)}"};var y=t("mds_img",/** @class */function(){function t(t){var a=this;r(this,t);this.loadErrorEvent=i(this,"mdsImgLoadError",7);this.loadSuccessEvent=i(this,"mdsImgLoadSuccess",7);this.imageConsumptionLoaded=false;this.imageError=false;this.storedConsumption=null;this.t=new c({el:h,en:u,es:v,it:b});
2
2
  /**
3
3
  * Specifies whether a browser should load an image immediately
4
4
  * or to defer loading of images until some conditions are met.
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,i,a){function n(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function r(t){try{d(a.next(t))}catch(t){e(t)}}function s(t){try{d(a["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):n(t.value).then(r,s)}d((a=a.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,n,e,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(o){return d([t,o])}}function d(s){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(i=0)),i)try{if(a=1,n&&(e=s[0]&2?n["return"]:s[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,s[1])).done)return e;if(n=0,e)s=[s[0]&2,e.value];switch(s[0]){case 0:case 1:e=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!e||s[1]>e[0]&&s[1]<e[3])){i.label=s[1];break}if(s[0]===6&&i.label<e[1]){i.label=e[1];e=s;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(s);break}if(e[2])i.ops.pop();i.trys.pop();continue}s=o.call(t,i)}catch(t){s=[6,t];n=0}finally{a=e=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-B-nayZ3E.system.js","./p-mGgjNqBm.system.js","./p-C61qxZLH.system.js","./p-OOCOFWC0.system.js"],(function(t){"use strict";var o,i,a,n,e,r,s,d,l,m,c;return{setters:[function(t){o=t.r;i=t.d;a=t.h;n=t.e;e=t.g},function(t){r=t.c},function(t){s=t.h},function(t){d=t.c},function(t){l=t.p},function(t){m=t.m},function(t){c=t.L}],execute:function(){var h="Κλείσιμο";var f={close:h};var p="Close";var u={close:p};var w="Cerrar";var v={close:w};var g="Chiudi";var b={close:g};var y=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var x=t("mds_modal",/** @class */function(){function t(t){var a=this;o(this,t);this.openEvent=i(this,"mdsModalOpen",7);this.showEvent=i(this,"mdsModalShow",7);this.closeEvent=i(this,"mdsModalClose",7);this.hideEvent=i(this,"mdsModalHide",7);this.t=new c({el:f,en:u,es:v,it:b});
1
+ var __awaiter=this&&this.__awaiter||function(t,o,i,a){function n(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function r(t){try{d(a.next(t))}catch(t){e(t)}}function s(t){try{d(a["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):n(t.value).then(r,s)}d((a=a.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,n,e,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(o){return d([t,o])}}function d(s){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(i=0)),i)try{if(a=1,n&&(e=s[0]&2?n["return"]:s[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,s[1])).done)return e;if(n=0,e)s=[s[0]&2,e.value];switch(s[0]){case 0:case 1:e=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!e||s[1]>e[0]&&s[1]<e[3])){i.label=s[1];break}if(s[0]===6&&i.label<e[1]){i.label=e[1];e=s;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(s);break}if(e[2])i.ops.pop();i.trys.pop();continue}s=o.call(t,i)}catch(t){s=[6,t];n=0}finally{a=e=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-B-nayZ3E.system.js","./p-mGgjNqBm.system.js","./p-C61qxZLH.system.js","./p-CuHZXISO.system.js"],(function(t){"use strict";var o,i,a,n,e,r,s,d,l,m,c;return{setters:[function(t){o=t.r;i=t.d;a=t.h;n=t.e;e=t.g},function(t){r=t.c},function(t){s=t.h},function(t){d=t.c},function(t){l=t.p},function(t){m=t.m},function(t){c=t.L}],execute:function(){var h="Κλείσιμο";var f={close:h};var p="Close";var u={close:p};var w="Cerrar";var v={close:w};var g="Chiudi";var b={close:g};var y=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var x=t("mds_modal",/** @class */function(){function t(t){var a=this;o(this,t);this.openEvent=i(this,"mdsModalOpen",7);this.showEvent=i(this,"mdsModalShow",7);this.closeEvent=i(this,"mdsModalClose",7);this.hideEvent=i(this,"mdsModalHide",7);this.t=new c({el:f,en:u,es:v,it:b});
2
2
  // Initialised on purpose: both readers compare it against '' (the strict boolean
3
3
  // rules forbid the truthiness check this used to be), and an undeclared field is
4
4
  // `undefined`, not ''. See enableOverflow.
@@ -1 +1 @@
1
- import{r as e,d as o,h as r,e as a,g as t}from"./p-CvLLN-QH.js";import{m as l}from"./p-J-ikDhyq.js";import{K as n}from"./p-CGrPq3C4.js";import{L as s}from"./p-Raj-urIN.js";import{p as b}from"./p-iX3kcwYg.js";var d={deleteLabel:"Αφαίρεση"},i={deleteLabel:"Remove"},c={deleteLabel:"Eliminar"},m={deleteLabel:"Rimuovi"};const g=class{constructor(r){e(this,r),this.deleteEvent=o(this,"mdsNoteDelete",7),this.km=new n,this.t=new s({el:d,en:i,es:c,it:m}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()},this.syncClickBehavior=()=>{if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}}componentDidLoad(){this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"b2cc0eb39fcef353546703ed693a862470e004d7",role:"note","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},this.deletable&&r("mds-button",{key:"80b44a61b565486c39c3508e6d7377015e7c7e7d",title:this.t.get("deleteLabel"),icon:l,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),r("slot",{key:"413c652f0e81f523594e601fe2746e81bd4d9978",name:"title"}),r("slot",{key:"d4c2afdf5ce30fc48cc959ec59dc2fb349e40cbf"}),r("div",{key:"91df0088460291b5b0ed1dc74c2c66aa676b204b","aria-hidden":"true",class:"fold"}))}get host(){return t(this)}};g.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:calc(var(--spacing,.0025rem)*1000);--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000));bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}';export{g as mds_note}
1
+ import{r as e,d as o,h as r,e as a,g as t}from"./p-CvLLN-QH.js";import{m as l}from"./p-J-ikDhyq.js";import{K as n}from"./p-CGrPq3C4.js";import{L as s}from"./p-OafT80hV.js";import{p as b}from"./p-iX3kcwYg.js";var d={deleteLabel:"Αφαίρεση"},i={deleteLabel:"Remove"},c={deleteLabel:"Eliminar"},m={deleteLabel:"Rimuovi"};const g=class{constructor(r){e(this,r),this.deleteEvent=o(this,"mdsNoteDelete",7),this.km=new n,this.t=new s({el:d,en:i,es:c,it:m}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()},this.syncClickBehavior=()=>{if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}}componentDidLoad(){this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(a,{key:"b2cc0eb39fcef353546703ed693a862470e004d7",role:"note","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},this.deletable&&r("mds-button",{key:"80b44a61b565486c39c3508e6d7377015e7c7e7d",title:this.t.get("deleteLabel"),icon:l,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),r("slot",{key:"413c652f0e81f523594e601fe2746e81bd4d9978",name:"title"}),r("slot",{key:"d4c2afdf5ce30fc48cc959ec59dc2fb349e40cbf"}),r("div",{key:"91df0088460291b5b0ed1dc74c2c66aa676b204b","aria-hidden":"true",class:"fold"}))}get host(){return t(this)}};g.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:calc(var(--spacing,.0025rem)*1000);--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000));bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}';export{g as mds_note}