@maggioli-design-system/magma 2.3.0 → 2.4.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 (1623) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +250 -0
  3. package/agents/anti-patterns.md +7 -4
  4. package/agents/color.md +2 -2
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +16 -0
  7. package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
  8. package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BiwDIKXd.js} +21 -12
  9. package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
  10. package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
  11. package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
  12. package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
  13. package/dist/cjs/index.cjs.js +1 -1
  14. package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
  17. package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
  18. package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
  19. package/dist/cjs/magma-components.cjs.js +3 -3
  20. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  21. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
  22. package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
  23. package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
  24. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
  27. package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
  28. package/dist/cjs/mds-badge.cjs.entry.js +4 -4
  29. package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
  30. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
  31. package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
  32. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
  33. package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
  34. package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
  35. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
  37. package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
  38. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-card.cjs.entry.js +25 -16
  43. package/dist/cjs/mds-details.cjs.entry.js +18 -8
  44. package/dist/cjs/mds-dropdown.cjs.entry.js +32 -16
  45. package/dist/cjs/mds-emoji.cjs.entry.js +225 -138
  46. package/dist/cjs/mds-entity.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
  48. package/dist/cjs/mds-file.cjs.entry.js +25 -7
  49. package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
  50. package/dist/cjs/mds-filter.cjs.entry.js +10 -6
  51. package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
  52. package/dist/cjs/mds-header.cjs.entry.js +9 -11
  53. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +11 -16
  54. package/dist/cjs/mds-hr.cjs.entry.js +4 -4
  55. package/dist/cjs/mds-img.cjs.entry.js +38 -46
  56. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
  57. package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
  58. package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
  59. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
  61. package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  63. package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
  64. package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
  65. package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
  66. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  67. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
  68. package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
  69. package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
  70. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-label.cjs.entry.js +13 -30
  72. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  73. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-mention.cjs.entry.js +7 -6
  75. package/dist/cjs/mds-modal.cjs.entry.js +29 -12
  76. package/dist/cjs/mds-note.cjs.entry.js +18 -14
  77. package/dist/cjs/mds-notification.cjs.entry.js +72 -15
  78. package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
  79. package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
  80. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  81. package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
  82. package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
  83. package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
  84. package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
  85. package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
  86. package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
  87. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
  89. package/dist/cjs/mds-pref.cjs.entry.js +28 -11
  90. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  91. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
  96. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
  98. package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
  99. package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
  100. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  101. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-radial-menu.cjs.entry.js +48 -39
  103. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  104. package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
  105. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
  106. package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
  107. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
  108. package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
  109. package/dist/cjs/mds-tab_2.cjs.entry.js +17 -11
  110. package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
  111. package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
  112. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
  114. package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
  115. package/dist/cjs/mds-table.cjs.entry.js +80 -23
  116. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
  118. package/dist/cjs/mds-toast.cjs.entry.js +164 -34
  119. package/dist/cjs/mds-tooltip.cjs.entry.js +72 -17
  120. package/dist/cjs/mds-tree-item.cjs.entry.js +25 -11
  121. package/dist/cjs/mds-tree.cjs.entry.js +37 -15
  122. package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
  123. package/dist/cjs/mds-usage.cjs.entry.js +5 -5
  124. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  125. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  126. package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
  127. package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
  128. package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
  129. package/dist/collection/collection-manifest.json +2 -1
  130. package/dist/collection/common/aria.js +25 -1
  131. package/dist/collection/common/file.js +6 -1
  132. package/dist/collection/common/floating-controller.js +18 -9
  133. package/dist/collection/common/icon.js +4 -1
  134. package/dist/collection/common/keyboard-manager.js +29 -6
  135. package/dist/collection/common/slot.js +15 -1
  136. package/dist/collection/common/unit.js +1 -1
  137. package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
  138. package/dist/collection/components/mds-accordion/antipattern.md +1 -1
  139. package/dist/collection/components/mds-accordion/documentation.json +9 -4
  140. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  141. package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
  142. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  143. package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
  144. package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
  145. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
  146. package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
  147. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
  148. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
  149. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
  150. package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
  151. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
  152. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
  153. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-author/documentation.json +2 -2
  155. package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
  156. package/dist/collection/components/mds-avatar/documentation.json +4 -4
  157. package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
  158. package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
  159. package/dist/collection/components/mds-avatar/pattern.md +13 -2
  160. package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
  161. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
  162. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  163. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
  164. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  166. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  167. package/dist/collection/components/mds-badge/antipattern.md +0 -1
  168. package/dist/collection/components/mds-badge/documentation.json +4 -4
  169. package/dist/collection/components/mds-badge/mds-badge.css +4 -2
  170. package/dist/collection/components/mds-badge/pattern.md +0 -1
  171. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  172. package/dist/collection/components/mds-banner/documentation.json +2 -2
  173. package/dist/collection/components/mds-banner/mds-banner.css +18 -14
  174. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
  175. package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
  176. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
  177. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
  178. package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
  179. package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
  180. package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
  181. package/dist/collection/components/mds-bibliography/documentation.json +16 -7
  182. package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
  183. package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
  184. package/dist/collection/components/mds-bibliography/pattern.md +2 -2
  185. package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
  186. package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
  187. package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
  188. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
  189. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
  190. package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
  191. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
  192. package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
  193. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  194. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
  195. package/dist/collection/components/mds-button/AGENTS.md +10 -7
  196. package/dist/collection/components/mds-button/documentation.json +21 -8
  197. package/dist/collection/components/mds-button/mds-button.css +13 -7
  198. package/dist/collection/components/mds-button/mds-button.js +32 -27
  199. package/dist/collection/components/mds-button/pattern.md +6 -0
  200. package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
  201. package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
  202. package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
  203. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
  204. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
  205. package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
  206. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  208. package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
  209. package/dist/collection/components/mds-calendar/documentation.json +5 -5
  210. package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
  211. package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
  212. package/dist/collection/components/mds-calendar/pattern.md +4 -3
  213. package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
  214. package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
  215. package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
  216. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
  217. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
  218. package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
  219. package/dist/collection/components/mds-card/AGENTS.md +5 -4
  220. package/dist/collection/components/mds-card/antipattern.md +1 -1
  221. package/dist/collection/components/mds-card/documentation.json +10 -5
  222. package/dist/collection/components/mds-card/mds-card.css +2 -1
  223. package/dist/collection/components/mds-card/mds-card.js +22 -13
  224. package/dist/collection/components/mds-card/pattern.md +4 -3
  225. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  227. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  229. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  231. package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
  232. package/dist/collection/components/mds-card-media/documentation.json +7 -3
  233. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  234. package/dist/collection/components/mds-chip/AGENTS.md +3 -3
  235. package/dist/collection/components/mds-chip/documentation.json +6 -6
  236. package/dist/collection/components/mds-chip/mds-chip.css +12 -9
  237. package/dist/collection/components/mds-chip/mds-chip.js +40 -60
  238. package/dist/collection/components/mds-chip/pattern.md +1 -1
  239. package/dist/collection/components/mds-details/AGENTS.md +5 -4
  240. package/dist/collection/components/mds-details/documentation.json +6 -6
  241. package/dist/collection/components/mds-details/mds-details.css +14 -2
  242. package/dist/collection/components/mds-details/mds-details.js +14 -4
  243. package/dist/collection/components/mds-details/pattern.md +2 -2
  244. package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
  245. package/dist/collection/components/mds-dropdown/documentation.json +15 -10
  246. package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
  247. package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
  248. package/dist/collection/components/mds-dropdown/pattern.md +4 -2
  249. package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
  250. package/dist/collection/components/mds-emoji/antipattern.md +1 -1
  251. package/dist/collection/components/mds-emoji/documentation.json +34 -64
  252. package/dist/collection/components/mds-emoji/mds-emoji.js +134 -80
  253. package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
  254. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-entity/documentation.json +2 -2
  256. package/dist/collection/components/mds-entity/mds-entity.css +9 -4
  257. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  258. package/dist/collection/components/mds-file/AGENTS.md +5 -5
  259. package/dist/collection/components/mds-file/documentation.json +4 -4
  260. package/dist/collection/components/mds-file/mds-file.css +2 -2
  261. package/dist/collection/components/mds-file/mds-file.js +21 -3
  262. package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
  263. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  264. package/dist/collection/components/mds-file-preview/documentation.json +20 -10
  265. package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
  266. package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
  267. package/dist/collection/components/mds-file-preview/pattern.md +1 -1
  268. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-filter/documentation.json +2 -2
  270. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  271. package/dist/collection/components/mds-filter/mds-filter.js +6 -2
  272. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  273. package/dist/collection/components/mds-filter-item/documentation.json +3 -3
  274. package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
  275. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
  276. package/dist/collection/components/mds-header/AGENTS.md +5 -5
  277. package/dist/collection/components/mds-header/antipattern.md +2 -2
  278. package/dist/collection/components/mds-header/documentation.json +14 -9
  279. package/dist/collection/components/mds-header/mds-header.css +8 -6
  280. package/dist/collection/components/mds-header/mds-header.js +10 -9
  281. package/dist/collection/components/mds-header/pattern.md +1 -1
  282. package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
  283. package/dist/collection/components/mds-header-bar/documentation.json +14 -10
  284. package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
  285. package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
  286. package/dist/collection/components/mds-header-bar/pattern.md +2 -2
  287. package/dist/collection/components/mds-help/AGENTS.md +7 -7
  288. package/dist/collection/components/mds-help/documentation.json +11 -7
  289. package/dist/collection/components/mds-help/mds-help.css +22 -0
  290. package/dist/collection/components/mds-help/mds-help.js +8 -5
  291. package/dist/collection/components/mds-help/pattern.md +2 -2
  292. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  293. package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
  294. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
  295. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
  296. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-hr/documentation.json +2 -2
  298. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  299. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  300. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  301. package/dist/collection/components/mds-icon/documentation.json +4 -4
  302. package/dist/collection/components/mds-icon/mds-icon.js +14 -3
  303. package/dist/collection/components/mds-icon/pattern.md +1 -1
  304. package/dist/collection/components/mds-img/AGENTS.md +9 -9
  305. package/dist/collection/components/mds-img/antipattern.md +1 -1
  306. package/dist/collection/components/mds-img/documentation.json +36 -34
  307. package/dist/collection/components/mds-img/mds-img.js +58 -56
  308. package/dist/collection/components/mds-input/AGENTS.md +15 -15
  309. package/dist/collection/components/mds-input/antipattern.md +1 -1
  310. package/dist/collection/components/mds-input/documentation.json +83 -22
  311. package/dist/collection/components/mds-input/mds-input.css +3 -3
  312. package/dist/collection/components/mds-input/mds-input.js +33 -9
  313. package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
  314. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  315. package/dist/collection/components/mds-input-date/documentation.json +23 -6
  316. package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
  317. package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
  318. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  319. package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
  320. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
  321. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
  322. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
  323. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
  324. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
  325. package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
  326. package/dist/collection/components/mds-input-field/documentation.json +10 -6
  327. package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
  328. package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
  329. package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
  330. package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
  331. package/dist/collection/components/mds-input-otp/documentation.json +5 -5
  332. package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
  333. package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
  334. package/dist/collection/components/mds-input-otp/pattern.md +1 -1
  335. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-input-range/antipattern.md +1 -1
  337. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  338. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
  339. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  340. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  341. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  342. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
  343. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  344. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
  346. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  347. package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -9
  348. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  349. package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
  350. package/dist/collection/components/mds-input-tip/documentation.json +3 -3
  351. package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
  352. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  353. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  354. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
  355. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  356. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
  357. package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
  358. package/dist/collection/components/mds-input-upload/documentation.json +7 -3
  359. package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
  360. package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
  361. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  362. package/dist/collection/components/mds-keyboard/documentation.json +4 -4
  363. package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
  364. package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
  365. package/dist/collection/components/mds-keyboard/pattern.md +1 -1
  366. package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
  367. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
  368. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  369. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  370. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  372. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  373. package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
  374. package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
  375. package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
  376. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
  377. package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
  378. package/dist/collection/components/mds-label/AGENTS.md +2 -2
  379. package/dist/collection/components/mds-label/documentation.json +3 -3
  380. package/dist/collection/components/mds-label/mds-label.css +6 -1
  381. package/dist/collection/components/mds-label/mds-label.js +2 -24
  382. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-list/documentation.json +2 -2
  384. package/dist/collection/components/mds-list/mds-list.js +1 -1
  385. package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
  386. package/dist/collection/components/mds-list-item/documentation.json +12 -4
  387. package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
  388. package/dist/collection/components/mds-mention/AGENTS.md +2 -2
  389. package/dist/collection/components/mds-mention/documentation.json +3 -3
  390. package/dist/collection/components/mds-mention/mds-mention.css +2 -11
  391. package/dist/collection/components/mds-mention/mds-mention.js +4 -3
  392. package/dist/collection/components/mds-modal/AGENTS.md +7 -6
  393. package/dist/collection/components/mds-modal/documentation.json +16 -7
  394. package/dist/collection/components/mds-modal/mds-modal.css +18 -9
  395. package/dist/collection/components/mds-modal/mds-modal.js +25 -7
  396. package/dist/collection/components/mds-modal/pattern.md +1 -1
  397. package/dist/collection/components/mds-note/AGENTS.md +2 -1
  398. package/dist/collection/components/mds-note/documentation.json +8 -3
  399. package/dist/collection/components/mds-note/mds-note.css +4 -12
  400. package/dist/collection/components/mds-note/mds-note.js +13 -9
  401. package/dist/collection/components/mds-note/pattern.md +1 -0
  402. package/dist/collection/components/mds-notification/AGENTS.md +5 -5
  403. package/dist/collection/components/mds-notification/documentation.json +10 -5
  404. package/dist/collection/components/mds-notification/mds-notification.css +9 -2
  405. package/dist/collection/components/mds-notification/mds-notification.js +78 -13
  406. package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
  407. package/dist/collection/components/mds-paginator/antipattern.md +2 -1
  408. package/dist/collection/components/mds-paginator/documentation.json +6 -6
  409. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  410. package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
  411. package/dist/collection/components/mds-paginator/pattern.md +9 -1
  412. package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
  413. package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
  414. package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
  415. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
  416. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
  417. package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
  418. package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
  419. package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
  420. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
  421. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
  422. package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
  423. package/dist/collection/components/mds-pref/AGENTS.md +5 -5
  424. package/dist/collection/components/mds-pref/antipattern.md +1 -1
  425. package/dist/collection/components/mds-pref/documentation.json +8 -8
  426. package/dist/collection/components/mds-pref/mds-pref.js +27 -9
  427. package/dist/collection/components/mds-pref/pattern.md +5 -5
  428. package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
  429. package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
  430. package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
  431. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
  432. package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
  433. package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
  434. package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
  435. package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
  436. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
  437. package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
  438. package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
  439. package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
  440. package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
  441. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
  442. package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
  443. package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
  444. package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
  445. package/dist/collection/components/mds-pref-language/documentation.json +17 -7
  446. package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
  447. package/dist/collection/components/mds-pref-language/pattern.md +3 -3
  448. package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
  449. package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
  450. package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
  451. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
  452. package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
  453. package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
  454. package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
  455. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  456. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
  457. package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
  458. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  459. package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
  460. package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
  461. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
  462. package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
  463. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  464. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
  465. package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
  466. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
  467. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
  468. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  470. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  471. package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
  472. package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
  473. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  474. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  475. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
  476. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
  477. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
  478. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  479. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  481. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  482. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  484. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  485. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
  486. package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
  487. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
  488. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
  489. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
  490. package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
  491. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
  492. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  493. package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
  494. package/dist/collection/components/mds-progress/AGENTS.md +3 -2
  495. package/dist/collection/components/mds-progress/documentation.json +4 -4
  496. package/dist/collection/components/mds-progress/mds-progress.css +2 -1
  497. package/dist/collection/components/mds-progress/mds-progress.js +42 -29
  498. package/dist/collection/components/mds-progress/pattern.md +1 -0
  499. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
  500. package/dist/collection/components/mds-push-notification/documentation.json +4 -4
  501. package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
  502. package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
  503. package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
  504. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
  505. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
  506. package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
  507. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-quote/documentation.json +2 -2
  509. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  510. package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
  511. package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
  512. package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
  513. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
  514. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
  515. package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
  516. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  517. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  518. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  519. package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
  520. package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
  521. package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
  522. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
  523. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  524. package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
  525. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-separator/documentation.json +2 -2
  527. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  528. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  529. package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
  530. package/dist/collection/components/mds-spinner/documentation.json +4 -4
  531. package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
  532. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  533. package/dist/collection/components/mds-spinner/pattern.md +1 -1
  534. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
  536. package/dist/collection/components/mds-status-bar/documentation.json +4 -4
  537. package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
  538. package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
  539. package/dist/collection/components/mds-status-bar/pattern.md +1 -1
  540. package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
  541. package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
  542. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
  543. package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
  544. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
  545. package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
  546. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
  547. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
  548. package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
  549. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  550. package/dist/collection/components/mds-tab/documentation.json +5 -5
  551. package/dist/collection/components/mds-tab/mds-tab.css +4 -4
  552. package/dist/collection/components/mds-tab/mds-tab.js +9 -3
  553. package/dist/collection/components/mds-tab/pattern.md +9 -0
  554. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  555. package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
  556. package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
  557. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
  558. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
  559. package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
  560. package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
  561. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
  562. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
  563. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
  564. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  565. package/dist/collection/components/mds-tab-item/documentation.json +9 -4
  566. package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
  567. package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
  568. package/dist/collection/components/mds-table/AGENTS.md +10 -8
  569. package/dist/collection/components/mds-table/antipattern.md +1 -1
  570. package/dist/collection/components/mds-table/documentation.json +41 -10
  571. package/dist/collection/components/mds-table/mds-table.css +20 -21
  572. package/dist/collection/components/mds-table/mds-table.js +97 -21
  573. package/dist/collection/components/mds-table/pattern.md +4 -1
  574. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  575. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  576. package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
  577. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  578. package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
  579. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  580. package/dist/collection/components/mds-table-cell/documentation.json +11 -7
  581. package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
  582. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  583. package/dist/collection/components/mds-table-cell/pattern.md +6 -0
  584. package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
  585. package/dist/collection/components/mds-table-footer/documentation.json +42 -9
  586. package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
  587. package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
  588. package/dist/collection/components/mds-table-footer/pattern.md +2 -1
  589. package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
  590. package/dist/collection/components/mds-table-header/documentation.json +49 -6
  591. package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
  592. package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
  593. package/dist/collection/components/mds-table-header/pattern.md +1 -1
  594. package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
  595. package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
  596. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
  597. package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
  598. package/dist/collection/components/mds-table-row/documentation.json +5 -5
  599. package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
  600. package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
  601. package/dist/collection/components/mds-table-row/pattern.md +1 -2
  602. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  603. package/dist/collection/components/mds-text/documentation.json +3 -3
  604. package/dist/collection/components/mds-text/mds-text.css +86 -3
  605. package/dist/collection/components/mds-text/mds-text.js +1 -1
  606. package/dist/collection/components/mds-toast/AGENTS.md +13 -7
  607. package/dist/collection/components/mds-toast/antipattern.md +18 -0
  608. package/dist/collection/components/mds-toast/documentation.json +53 -13
  609. package/dist/collection/components/mds-toast/mds-toast.css +52 -3
  610. package/dist/collection/components/mds-toast/mds-toast.js +174 -35
  611. package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
  612. package/dist/collection/components/mds-toast/pattern.md +18 -4
  613. package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
  614. package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
  615. package/dist/collection/components/mds-toast-region/documentation.json +136 -0
  616. package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
  617. package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
  618. package/dist/collection/components/mds-toast-region/pattern.md +82 -0
  619. package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
  620. package/dist/collection/components/mds-tooltip/documentation.json +18 -9
  621. package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
  622. package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
  623. package/dist/collection/components/mds-tooltip/pattern.md +2 -2
  624. package/dist/collection/components/mds-tree/AGENTS.md +6 -5
  625. package/dist/collection/components/mds-tree/documentation.json +13 -7
  626. package/dist/collection/components/mds-tree/mds-tree.css +5 -4
  627. package/dist/collection/components/mds-tree/mds-tree.js +41 -16
  628. package/dist/collection/components/mds-tree/pattern.md +5 -1
  629. package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
  630. package/dist/collection/components/mds-tree-item/documentation.json +7 -7
  631. package/dist/collection/components/mds-tree-item/mds-tree-item.css +55 -20
  632. package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
  633. package/dist/collection/components/mds-tree-item/pattern.md +2 -1
  634. package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
  635. package/dist/collection/components/mds-url-view/documentation.json +3 -3
  636. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  637. package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
  638. package/dist/collection/components/mds-usage/AGENTS.md +12 -10
  639. package/dist/collection/components/mds-usage/antipattern.md +1 -1
  640. package/dist/collection/components/mds-usage/documentation.json +21 -9
  641. package/dist/collection/components/mds-usage/mds-usage.css +5 -3
  642. package/dist/collection/components/mds-usage/mds-usage.js +5 -2
  643. package/dist/collection/components/mds-usage/pattern.md +4 -4
  644. package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
  645. package/dist/collection/components/mds-video-wall/documentation.json +3 -3
  646. package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
  647. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  648. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  649. package/dist/collection/components/mds-zero/documentation.json +2 -2
  650. package/dist/collection/components/mds-zero/mds-zero.css +2 -1
  651. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  652. package/dist/components/index.d.ts +2 -0
  653. package/dist/components/index.js +1 -1
  654. package/dist/components/mds-accordion-item.js +1 -1
  655. package/dist/components/mds-accordion-timer-item.js +1 -1
  656. package/dist/components/mds-accordion-timer.js +1 -1
  657. package/dist/components/mds-accordion.js +1 -1
  658. package/dist/components/mds-author.js +1 -1
  659. package/dist/components/mds-avatar-stack-item.js +1 -1
  660. package/dist/components/mds-avatar-stack.js +1 -1
  661. package/dist/components/mds-avatar.js +1 -1
  662. package/dist/components/mds-badge.js +1 -1
  663. package/dist/components/mds-banner.js +1 -1
  664. package/dist/components/mds-benchmark-bar.js +1 -1
  665. package/dist/components/mds-bibliography.js +1 -1
  666. package/dist/components/mds-breadcrumb-item.js +1 -1
  667. package/dist/components/mds-breadcrumb.js +1 -1
  668. package/dist/components/mds-button-dropdown.js +1 -1
  669. package/dist/components/mds-button-group.js +1 -1
  670. package/dist/components/mds-button.js +1 -1
  671. package/dist/components/mds-calendar-cell.js +1 -1
  672. package/dist/components/mds-calendar.js +1 -1
  673. package/dist/components/mds-card-content.js +1 -1
  674. package/dist/components/mds-card-footer.js +1 -1
  675. package/dist/components/mds-card-header.js +1 -1
  676. package/dist/components/mds-card-media.js +1 -1
  677. package/dist/components/mds-card.js +1 -1
  678. package/dist/components/mds-chip.js +1 -1
  679. package/dist/components/mds-details.js +1 -1
  680. package/dist/components/mds-dropdown.js +1 -1
  681. package/dist/components/mds-emoji.js +7 -7
  682. package/dist/components/mds-entity.js +1 -1
  683. package/dist/components/mds-file-preview.js +1 -1
  684. package/dist/components/mds-file.js +1 -1
  685. package/dist/components/mds-filter-item.js +1 -1
  686. package/dist/components/mds-filter.js +1 -1
  687. package/dist/components/mds-header-bar.js +1 -1
  688. package/dist/components/mds-header.js +1 -1
  689. package/dist/components/mds-help.js +1 -1
  690. package/dist/components/mds-horizontal-scroll.js +1 -1
  691. package/dist/components/mds-hr.js +1 -1
  692. package/dist/components/mds-icon.js +1 -1
  693. package/dist/components/mds-img.js +1 -1
  694. package/dist/components/mds-input-date-range-preselection.js +1 -1
  695. package/dist/components/mds-input-date-range.js +1 -1
  696. package/dist/components/mds-input-date.js +1 -1
  697. package/dist/components/mds-input-field.js +1 -1
  698. package/dist/components/mds-input-otp.js +1 -1
  699. package/dist/components/mds-input-range.js +1 -1
  700. package/dist/components/mds-input-select.js +1 -1
  701. package/dist/components/mds-input-switch.js +1 -1
  702. package/dist/components/mds-input-tip-item.js +1 -1
  703. package/dist/components/mds-input-tip.js +1 -1
  704. package/dist/components/mds-input-upload.js +1 -1
  705. package/dist/components/mds-input.js +1 -1
  706. package/dist/components/mds-keyboard-key.js +1 -1
  707. package/dist/components/mds-keyboard.js +1 -1
  708. package/dist/components/mds-kpi-item.js +1 -1
  709. package/dist/components/mds-kpi.js +1 -1
  710. package/dist/components/mds-label.js +1 -1
  711. package/dist/components/mds-list-item.js +1 -1
  712. package/dist/components/mds-list.js +1 -1
  713. package/dist/components/mds-mention.js +1 -1
  714. package/dist/components/mds-modal.js +1 -1
  715. package/dist/components/mds-note.js +1 -1
  716. package/dist/components/mds-notification.js +1 -1
  717. package/dist/components/mds-paginator-item.js +1 -1
  718. package/dist/components/mds-paginator.js +1 -1
  719. package/dist/components/mds-policy-ai.js +1 -1
  720. package/dist/components/mds-pref-animation.js +1 -1
  721. package/dist/components/mds-pref-consumption.js +1 -1
  722. package/dist/components/mds-pref-contrast.js +1 -1
  723. package/dist/components/mds-pref-language-item.js +1 -1
  724. package/dist/components/mds-pref-language.js +1 -1
  725. package/dist/components/mds-pref-mode.js +1 -1
  726. package/dist/components/mds-pref-theme-item.js +1 -1
  727. package/dist/components/mds-pref-theme.js +1 -1
  728. package/dist/components/mds-pref.js +1 -1
  729. package/dist/components/mds-price-table-features-cell.js +1 -1
  730. package/dist/components/mds-price-table-features-row.js +1 -1
  731. package/dist/components/mds-price-table-features.js +1 -1
  732. package/dist/components/mds-price-table-header.js +1 -1
  733. package/dist/components/mds-price-table-list-item.js +1 -1
  734. package/dist/components/mds-price-table-list.js +1 -1
  735. package/dist/components/mds-price-table.js +1 -1
  736. package/dist/components/mds-progress.js +1 -1
  737. package/dist/components/mds-push-notification-item.js +1 -1
  738. package/dist/components/mds-push-notification.js +1 -1
  739. package/dist/components/mds-quote.js +1 -1
  740. package/dist/components/mds-radial-menu-item.js +1 -1
  741. package/dist/components/mds-radial-menu.js +1 -1
  742. package/dist/components/mds-radial-progress.js +1 -1
  743. package/dist/components/mds-separator.js +1 -1
  744. package/dist/components/mds-spinner.js +1 -1
  745. package/dist/components/mds-status-bar.js +1 -1
  746. package/dist/components/mds-stepper-bar-item.js +1 -1
  747. package/dist/components/mds-stepper-bar.js +1 -1
  748. package/dist/components/mds-tab-bar-item.js +1 -1
  749. package/dist/components/mds-tab-bar.js +1 -1
  750. package/dist/components/mds-tab-item.js +1 -1
  751. package/dist/components/mds-tab.js +1 -1
  752. package/dist/components/mds-table-body.js +1 -1
  753. package/dist/components/mds-table-cell.js +1 -1
  754. package/dist/components/mds-table-footer.js +1 -1
  755. package/dist/components/mds-table-header-cell.js +1 -1
  756. package/dist/components/mds-table-header.js +1 -1
  757. package/dist/components/mds-table-row.js +1 -1
  758. package/dist/components/mds-table.js +1 -1
  759. package/dist/components/mds-text.js +1 -1
  760. package/dist/components/mds-toast-region.d.ts +11 -0
  761. package/dist/components/mds-toast-region.js +1 -0
  762. package/dist/components/mds-toast.js +1 -1
  763. package/dist/components/mds-tooltip.js +1 -1
  764. package/dist/components/mds-tree-item.js +1 -1
  765. package/dist/components/mds-tree.js +1 -1
  766. package/dist/components/mds-url-view.js +1 -1
  767. package/dist/components/mds-usage.js +1 -1
  768. package/dist/components/mds-video-wall.js +1 -1
  769. package/dist/components/mds-zero.js +1 -1
  770. package/dist/components/p-B1bYa-o0.js +1 -0
  771. package/dist/components/p-B2p5a1Y8.js +3 -0
  772. package/dist/components/p-B6B6q5kP.js +1 -0
  773. package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
  774. package/dist/components/p-BFisF7aN.js +1 -0
  775. package/dist/components/p-BHy4k3pJ.js +1 -0
  776. package/dist/components/p-BL220gRU.js +1 -0
  777. package/dist/components/p-BLXRGNya.js +1 -0
  778. package/dist/components/p-BLiWCyrD.js +1 -0
  779. package/dist/components/p-BN5kmfLJ.js +8 -0
  780. package/dist/components/p-BUr3NqxM.js +1 -0
  781. package/dist/components/p-BaFfIZGB.js +1 -0
  782. package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
  783. package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
  784. package/dist/components/p-C2fyy4Mv.js +1 -0
  785. package/dist/components/p-CGrPq3C4.js +1 -0
  786. package/dist/components/p-CIWWmisz.js +1 -0
  787. package/dist/components/p-CJyTL7Mj.js +1 -0
  788. package/dist/components/p-CWk1SCJg.js +1 -0
  789. package/dist/components/p-CWwWCzma.js +1 -0
  790. package/dist/components/p-ChrRK8N9.js +1 -0
  791. package/dist/components/p-Cvhn9asj.js +1 -0
  792. package/dist/components/p-D3_jgpKd.js +1 -0
  793. package/dist/components/p-D4JiVIoh.js +1 -0
  794. package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
  795. package/dist/components/p-DSxDXNWp.js +1 -0
  796. package/dist/components/p-DWIIDHSa.js +1 -0
  797. package/dist/components/p-DYpfVn7a.js +1 -0
  798. package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
  799. package/dist/components/p-DaptTdaU.js +1 -0
  800. package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
  801. package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
  802. package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
  803. package/dist/components/p-Ea5ilDf6.js +1 -0
  804. package/dist/components/p-Ebefwvkw.js +1 -0
  805. package/dist/components/p-JPhOaOXe.js +1 -0
  806. package/dist/components/p-NOw8-OrM.js +1 -0
  807. package/dist/components/p-NlPseOAv.js +1 -0
  808. package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
  809. package/dist/components/p-fhAmrBfl.js +1 -0
  810. package/dist/components/p-sM-eFjwq.js +1 -0
  811. package/dist/documentation.json +1069 -462
  812. package/dist/esm/aria-Cvhn9asj.js +53 -0
  813. package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +21 -12
  814. package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
  815. package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
  816. package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
  817. package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  818. package/dist/esm/index.js +1 -1
  819. package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
  820. package/dist/esm/loader.js +3 -3
  821. package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  822. package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
  823. package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
  824. package/dist/esm/magma-components.js +4 -4
  825. package/dist/esm/mds-accordion-item.entry.js +3 -3
  826. package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
  827. package/dist/esm/mds-accordion-timer.entry.js +16 -2
  828. package/dist/esm/mds-accordion.entry.js +36 -21
  829. package/dist/esm/mds-author.entry.js +2 -2
  830. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  831. package/dist/esm/mds-avatar-stack.entry.js +11 -5
  832. package/dist/esm/mds-avatar.entry.js +57 -90
  833. package/dist/esm/mds-badge.entry.js +4 -4
  834. package/dist/esm/mds-banner_3.entry.js +51 -69
  835. package/dist/esm/mds-benchmark-bar.entry.js +6 -3
  836. package/dist/esm/mds-bibliography.entry.js +23 -17
  837. package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
  838. package/dist/esm/mds-breadcrumb.entry.js +17 -33
  839. package/dist/esm/mds-button-dropdown.entry.js +15 -6
  840. package/dist/esm/mds-button-group.entry.js +1 -1
  841. package/dist/esm/mds-button_3.entry.js +54 -38
  842. package/dist/esm/mds-calendar_2.entry.js +50 -28
  843. package/dist/esm/mds-card-content.entry.js +1 -1
  844. package/dist/esm/mds-card-footer.entry.js +1 -1
  845. package/dist/esm/mds-card-header.entry.js +2 -2
  846. package/dist/esm/mds-card-media.entry.js +2 -2
  847. package/dist/esm/mds-card.entry.js +25 -16
  848. package/dist/esm/mds-details.entry.js +18 -8
  849. package/dist/esm/mds-dropdown.entry.js +32 -16
  850. package/dist/esm/mds-emoji.entry.js +225 -138
  851. package/dist/esm/mds-entity.entry.js +5 -5
  852. package/dist/esm/mds-file-preview.entry.js +30 -23
  853. package/dist/esm/mds-file.entry.js +25 -7
  854. package/dist/esm/mds-filter-item.entry.js +9 -21
  855. package/dist/esm/mds-filter.entry.js +10 -6
  856. package/dist/esm/mds-header-bar.entry.js +12 -11
  857. package/dist/esm/mds-header.entry.js +9 -11
  858. package/dist/esm/mds-horizontal-scroll.entry.js +11 -16
  859. package/dist/esm/mds-hr.entry.js +4 -4
  860. package/dist/esm/mds-img.entry.js +38 -46
  861. package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
  862. package/dist/esm/mds-input-date-range.entry.js +12 -8
  863. package/dist/esm/mds-input-date.entry.js +11 -8
  864. package/dist/esm/mds-input-field.entry.js +2 -2
  865. package/dist/esm/mds-input-otp.entry.js +57 -22
  866. package/dist/esm/mds-input-range.entry.js +4 -4
  867. package/dist/esm/mds-input-select.entry.js +7 -7
  868. package/dist/esm/mds-input-switch_2.entry.js +10 -10
  869. package/dist/esm/mds-input-tip_2.entry.js +9 -8
  870. package/dist/esm/mds-input-upload.entry.js +1097 -15
  871. package/dist/esm/mds-input.entry.js +8 -8
  872. package/dist/esm/mds-keyboard-key.entry.js +5 -5
  873. package/dist/esm/mds-keyboard.entry.js +15 -7
  874. package/dist/esm/mds-kpi-item.entry.js +17 -3
  875. package/dist/esm/mds-kpi.entry.js +2 -2
  876. package/dist/esm/mds-label.entry.js +13 -30
  877. package/dist/esm/mds-list-item.entry.js +2 -2
  878. package/dist/esm/mds-list.entry.js +2 -2
  879. package/dist/esm/mds-mention.entry.js +7 -6
  880. package/dist/esm/mds-modal.entry.js +29 -12
  881. package/dist/esm/mds-note.entry.js +18 -14
  882. package/dist/esm/mds-notification.entry.js +72 -15
  883. package/dist/esm/mds-paginator-item.entry.js +23 -11
  884. package/dist/esm/mds-paginator.entry.js +39 -4
  885. package/dist/esm/mds-policy-ai.entry.js +5 -5
  886. package/dist/esm/mds-pref-animation.entry.js +41 -8
  887. package/dist/esm/mds-pref-consumption.entry.js +41 -8
  888. package/dist/esm/mds-pref-contrast.entry.js +44 -32
  889. package/dist/esm/mds-pref-language-item.entry.js +8 -8
  890. package/dist/esm/mds-pref-language.entry.js +43 -21
  891. package/dist/esm/mds-pref-mode.entry.js +29 -25
  892. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  893. package/dist/esm/mds-pref-theme.entry.js +109 -31
  894. package/dist/esm/mds-pref.entry.js +28 -11
  895. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  896. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  897. package/dist/esm/mds-price-table-features.entry.js +4 -4
  898. package/dist/esm/mds-price-table-header.entry.js +2 -2
  899. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  900. package/dist/esm/mds-price-table-list.entry.js +14 -6
  901. package/dist/esm/mds-price-table.entry.js +2 -2
  902. package/dist/esm/mds-progress_2.entry.js +46 -33
  903. package/dist/esm/mds-push-notification-item.entry.js +12 -9
  904. package/dist/esm/mds-push-notification.entry.js +37 -14
  905. package/dist/esm/mds-quote.entry.js +3 -3
  906. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  907. package/dist/esm/mds-radial-menu.entry.js +48 -39
  908. package/dist/esm/mds-separator.entry.js +4 -4
  909. package/dist/esm/mds-status-bar.entry.js +8 -9
  910. package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
  911. package/dist/esm/mds-stepper-bar.entry.js +8 -17
  912. package/dist/esm/mds-tab-bar-item.entry.js +25 -16
  913. package/dist/esm/mds-tab-bar.entry.js +11 -5
  914. package/dist/esm/mds-tab_2.entry.js +17 -11
  915. package/dist/esm/mds-table-body.entry.js +4 -4
  916. package/dist/esm/mds-table-footer.entry.js +13 -4
  917. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  918. package/dist/esm/mds-table-header.entry.js +13 -5
  919. package/dist/esm/mds-table-row.entry.js +35 -11
  920. package/dist/esm/mds-table.entry.js +80 -23
  921. package/dist/esm/mds-text.entry.js +4 -4
  922. package/dist/esm/mds-toast-region.entry.js +117 -0
  923. package/dist/esm/mds-toast.entry.js +164 -34
  924. package/dist/esm/mds-tooltip.entry.js +72 -17
  925. package/dist/esm/mds-tree-item.entry.js +25 -11
  926. package/dist/esm/mds-tree.entry.js +37 -15
  927. package/dist/esm/mds-url-view.entry.js +6 -6
  928. package/dist/esm/mds-usage.entry.js +5 -5
  929. package/dist/esm/mds-video-wall.entry.js +5 -4
  930. package/dist/esm/mds-zero.entry.js +4 -4
  931. package/dist/esm/polyfills/core-js.js +0 -0
  932. package/dist/esm/polyfills/dom.js +0 -0
  933. package/dist/esm/polyfills/es5-html-element.js +0 -0
  934. package/dist/esm/polyfills/index.js +0 -0
  935. package/dist/esm/polyfills/system.js +0 -0
  936. package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
  937. package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
  938. package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
  939. package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
  940. package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +12 -3
  941. package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
  942. package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
  943. package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
  944. package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  945. package/dist/esm-es5/index.js +1 -1
  946. package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
  947. package/dist/esm-es5/loader.js +1 -1
  948. package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  949. package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
  950. package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
  951. package/dist/esm-es5/magma-components.js +3 -3
  952. package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
  953. package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
  954. package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
  955. package/dist/esm-es5/mds-accordion.entry.js +14 -2
  956. package/dist/esm-es5/mds-author.entry.js +1 -1
  957. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  958. package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
  959. package/dist/esm-es5/mds-avatar.entry.js +19 -6
  960. package/dist/esm-es5/mds-badge.entry.js +1 -1
  961. package/dist/esm-es5/mds-banner_3.entry.js +19 -18
  962. package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
  963. package/dist/esm-es5/mds-bibliography.entry.js +13 -2
  964. package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
  965. package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
  966. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
  967. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  968. package/dist/esm-es5/mds-button_3.entry.js +26 -11
  969. package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
  970. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  971. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  972. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  973. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  974. package/dist/esm-es5/mds-card.entry.js +11 -5
  975. package/dist/esm-es5/mds-details.entry.js +7 -2
  976. package/dist/esm-es5/mds-dropdown.entry.js +26 -17
  977. package/dist/esm-es5/mds-emoji.entry.js +151 -99
  978. package/dist/esm-es5/mds-entity.entry.js +1 -1
  979. package/dist/esm-es5/mds-file-preview.entry.js +15 -13
  980. package/dist/esm-es5/mds-file.entry.js +11 -4
  981. package/dist/esm-es5/mds-filter-item.entry.js +2 -5
  982. package/dist/esm-es5/mds-filter.entry.js +7 -3
  983. package/dist/esm-es5/mds-header-bar.entry.js +7 -5
  984. package/dist/esm-es5/mds-header.entry.js +7 -4
  985. package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
  986. package/dist/esm-es5/mds-hr.entry.js +1 -1
  987. package/dist/esm-es5/mds-img.entry.js +17 -11
  988. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
  989. package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
  990. package/dist/esm-es5/mds-input-date.entry.js +6 -3
  991. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  992. package/dist/esm-es5/mds-input-otp.entry.js +16 -6
  993. package/dist/esm-es5/mds-input-range.entry.js +3 -3
  994. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  995. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  996. package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
  997. package/dist/esm-es5/mds-input-upload.entry.js +5 -3
  998. package/dist/esm-es5/mds-input.entry.js +3 -3
  999. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1000. package/dist/esm-es5/mds-keyboard.entry.js +7 -3
  1001. package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
  1002. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1003. package/dist/esm-es5/mds-label.entry.js +2 -2
  1004. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1005. package/dist/esm-es5/mds-list.entry.js +1 -1
  1006. package/dist/esm-es5/mds-mention.entry.js +4 -3
  1007. package/dist/esm-es5/mds-modal.entry.js +19 -7
  1008. package/dist/esm-es5/mds-note.entry.js +5 -2
  1009. package/dist/esm-es5/mds-notification.entry.js +25 -5
  1010. package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
  1011. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1012. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1013. package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
  1014. package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
  1015. package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
  1016. package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
  1017. package/dist/esm-es5/mds-pref-language.entry.js +20 -6
  1018. package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
  1019. package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
  1020. package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
  1021. package/dist/esm-es5/mds-pref.entry.js +13 -7
  1022. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1023. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1024. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1025. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1026. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1027. package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
  1028. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1029. package/dist/esm-es5/mds-progress_2.entry.js +18 -3
  1030. package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
  1031. package/dist/esm-es5/mds-push-notification.entry.js +9 -12
  1032. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1033. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1034. package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
  1035. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1036. package/dist/esm-es5/mds-status-bar.entry.js +5 -3
  1037. package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
  1038. package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
  1039. package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
  1040. package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
  1041. package/dist/esm-es5/mds-tab_2.entry.js +6 -4
  1042. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1043. package/dist/esm-es5/mds-table-footer.entry.js +4 -1
  1044. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1045. package/dist/esm-es5/mds-table-header.entry.js +10 -5
  1046. package/dist/esm-es5/mds-table-row.entry.js +9 -3
  1047. package/dist/esm-es5/mds-table.entry.js +33 -8
  1048. package/dist/esm-es5/mds-text.entry.js +3 -3
  1049. package/dist/esm-es5/mds-toast-region.entry.js +22 -0
  1050. package/dist/esm-es5/mds-toast.entry.js +42 -5
  1051. package/dist/esm-es5/mds-tooltip.entry.js +16 -6
  1052. package/dist/esm-es5/mds-tree-item.entry.js +15 -4
  1053. package/dist/esm-es5/mds-tree.entry.js +15 -2
  1054. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1055. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1056. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1057. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1058. package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
  1059. package/dist/esm-es5/slot-AEckDMXh.js +30 -0
  1060. package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
  1061. package/dist/hydrate/index.js +4431 -1890
  1062. package/dist/hydrate/index.mjs +4431 -1890
  1063. package/dist/magma-components/index.esm.js +1 -1
  1064. package/dist/magma-components/magma-components.esm.js +1 -1
  1065. package/dist/magma-components/magma-components.js +1 -1
  1066. package/dist/magma-components/p-007968a8.system.entry.js +47 -0
  1067. package/dist/magma-components/p-028f3717.entry.js +1 -0
  1068. package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
  1069. package/dist/magma-components/p-0b5fe949.entry.js +1 -0
  1070. package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
  1071. package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
  1072. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
  1073. package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
  1074. package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
  1075. package/dist/magma-components/p-11e50140.system.entry.js +19 -0
  1076. package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
  1077. package/dist/magma-components/p-1287fb51.entry.js +1 -0
  1078. package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
  1079. package/dist/magma-components/p-14b40c21.entry.js +1 -0
  1080. package/dist/magma-components/p-14ef1aec.entry.js +1 -0
  1081. package/dist/magma-components/p-166c0190.entry.js +1 -0
  1082. package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
  1083. package/dist/magma-components/p-1989c0b4.entry.js +8 -0
  1084. package/dist/magma-components/p-1a5411a8.entry.js +1 -0
  1085. package/dist/magma-components/p-1d68fc4a.system.entry.js +80 -0
  1086. package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
  1087. package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
  1088. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
  1089. package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
  1090. package/dist/magma-components/p-20608f69.system.entry.js +35 -0
  1091. package/dist/magma-components/p-2061e567.entry.js +1 -0
  1092. package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
  1093. package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
  1094. package/dist/magma-components/p-2294945a.system.entry.js +34 -0
  1095. package/dist/magma-components/p-2362b91a.entry.js +1 -0
  1096. package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
  1097. package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
  1098. package/dist/magma-components/p-25576b51.system.entry.js +14 -0
  1099. package/dist/magma-components/{p-508e10b5.system.entry.js → p-287d1253.system.entry.js} +476 -423
  1100. package/dist/magma-components/p-288f3cfe.entry.js +1 -0
  1101. package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
  1102. package/dist/magma-components/p-2abfc393.entry.js +1 -0
  1103. package/dist/magma-components/p-2c4d2717.entry.js +1 -0
  1104. package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
  1105. package/dist/magma-components/p-2e8f703e.entry.js +1 -0
  1106. package/dist/magma-components/p-3093af30.system.entry.js +4 -0
  1107. package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
  1108. package/dist/magma-components/p-342770d2.system.entry.js +7 -0
  1109. package/dist/magma-components/p-357ec8c0.entry.js +1 -0
  1110. package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
  1111. package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
  1112. package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
  1113. package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
  1114. package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
  1115. package/dist/magma-components/p-3ac09ace.entry.js +1 -0
  1116. package/dist/magma-components/p-3b36319a.entry.js +1 -0
  1117. package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
  1118. package/dist/magma-components/p-3bb26611.entry.js +1 -0
  1119. package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
  1120. package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
  1121. package/dist/magma-components/p-4116e328.system.entry.js +1 -0
  1122. package/dist/magma-components/p-4191bf22.entry.js +1 -0
  1123. package/dist/magma-components/p-4225484c.entry.js +1 -0
  1124. package/dist/magma-components/p-4260da67.system.entry.js +12 -0
  1125. package/dist/magma-components/p-43338a07.entry.js +1 -0
  1126. package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
  1127. package/dist/magma-components/p-47f7366c.entry.js +1 -0
  1128. package/dist/magma-components/p-4800a310.entry.js +1 -0
  1129. package/dist/magma-components/p-495a70e2.entry.js +1 -0
  1130. package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
  1131. package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
  1132. package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
  1133. package/dist/magma-components/p-4ea00c22.entry.js +1 -0
  1134. package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
  1135. package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
  1136. package/dist/magma-components/p-51a869ee.entry.js +1 -0
  1137. package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
  1138. package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
  1139. package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
  1140. package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
  1141. package/dist/magma-components/p-547f657e.system.entry.js +91 -0
  1142. package/dist/magma-components/p-5a2deba5.entry.js +1 -0
  1143. package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
  1144. package/dist/magma-components/p-5cef4711.entry.js +1 -0
  1145. package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
  1146. package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
  1147. package/dist/magma-components/p-61f0ebf3.entry.js +1 -0
  1148. package/dist/magma-components/p-62e65f3b.entry.js +1 -0
  1149. package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
  1150. package/dist/magma-components/p-677ef2a3.system.entry.js +55 -0
  1151. package/dist/magma-components/p-69b37755.system.entry.js +17 -0
  1152. package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
  1153. package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
  1154. package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
  1155. package/dist/magma-components/p-6da68fd5.entry.js +1 -0
  1156. package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
  1157. package/dist/magma-components/p-70a911e8.entry.js +1 -0
  1158. package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
  1159. package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
  1160. package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
  1161. package/dist/magma-components/p-7448435b.system.entry.js +46 -0
  1162. package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
  1163. package/dist/magma-components/p-7502528c.entry.js +1 -0
  1164. package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
  1165. package/dist/magma-components/p-7a568cbf.entry.js +1 -0
  1166. package/dist/magma-components/p-7d548a19.entry.js +1 -0
  1167. package/dist/magma-components/p-7f776dff.entry.js +1 -0
  1168. package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
  1169. package/dist/magma-components/p-811272a9.entry.js +1 -0
  1170. package/dist/magma-components/p-815801dd.system.entry.js +19 -0
  1171. package/dist/magma-components/p-87b15008.entry.js +1 -0
  1172. package/dist/magma-components/p-88ac5d50.entry.js +1 -0
  1173. package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
  1174. package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
  1175. package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
  1176. package/dist/magma-components/p-8b081ba9.entry.js +1 -0
  1177. package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
  1178. package/dist/magma-components/p-8c66c761.entry.js +1 -0
  1179. package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
  1180. package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
  1181. package/dist/magma-components/p-90fe332f.entry.js +1 -0
  1182. package/dist/magma-components/p-911dc847.entry.js +1 -0
  1183. package/dist/magma-components/p-914d1b2a.system.entry.js +111 -0
  1184. package/dist/magma-components/p-916a26e4.entry.js +1 -0
  1185. package/dist/magma-components/p-91ed604f.entry.js +1 -0
  1186. package/dist/magma-components/p-926ef760.entry.js +1 -0
  1187. package/dist/magma-components/p-938dbe67.system.entry.js +27 -0
  1188. package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
  1189. package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
  1190. package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
  1191. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
  1192. package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
  1193. package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
  1194. package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
  1195. package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
  1196. package/dist/magma-components/p-AEckDMXh.js +1 -0
  1197. package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
  1198. package/dist/magma-components/p-B7RVWU-q.js +1 -0
  1199. package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
  1200. package/dist/magma-components/p-BaFfIZGB.js +1 -0
  1201. package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
  1202. package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
  1203. package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
  1204. package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
  1205. package/dist/magma-components/p-CDjzBTsk.js +1 -0
  1206. package/dist/magma-components/p-CGrPq3C4.js +1 -0
  1207. package/dist/magma-components/p-CPRkNQdE.js +3 -0
  1208. package/dist/magma-components/p-CWk1SCJg.js +1 -0
  1209. package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
  1210. package/dist/magma-components/p-Cvhn9asj.js +1 -0
  1211. package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
  1212. package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
  1213. package/dist/magma-components/p-DAifcgtS.system.js +4 -0
  1214. package/dist/magma-components/{p-DhhAXEdA.system.js → p-DVjUXVFl.system.js} +21 -12
  1215. package/dist/magma-components/p-DbyXf6dF.js +1 -0
  1216. package/dist/magma-components/p-DmFo8_MF.js +1 -0
  1217. package/dist/magma-components/p-JuViHg2B.system.js +11 -0
  1218. package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
  1219. package/dist/magma-components/p-QYez4sql.system.js +5 -0
  1220. package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
  1221. package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
  1222. package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
  1223. package/dist/magma-components/p-a1443292.entry.js +1 -0
  1224. package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
  1225. package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
  1226. package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
  1227. package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
  1228. package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
  1229. package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
  1230. package/dist/magma-components/p-a51f849a.entry.js +1 -0
  1231. package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
  1232. package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
  1233. package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
  1234. package/dist/magma-components/p-a8593847.entry.js +1 -0
  1235. package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
  1236. package/dist/magma-components/p-ac4109e3.entry.js +1 -0
  1237. package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
  1238. package/dist/magma-components/p-b169ee9b.entry.js +1 -0
  1239. package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
  1240. package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
  1241. package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
  1242. package/dist/magma-components/p-b509fb36.entry.js +1 -0
  1243. package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
  1244. package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
  1245. package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
  1246. package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
  1247. package/dist/magma-components/p-b940888d.entry.js +1 -0
  1248. package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
  1249. package/dist/magma-components/p-bc30508b.entry.js +1 -0
  1250. package/dist/magma-components/p-bdd18c90.system.entry.js +25 -0
  1251. package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
  1252. package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
  1253. package/dist/magma-components/p-c3622315.entry.js +1 -0
  1254. package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
  1255. package/dist/magma-components/p-c6b16493.system.entry.js +49 -0
  1256. package/dist/magma-components/p-c6b9a14e.system.entry.js +48 -0
  1257. package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
  1258. package/dist/magma-components/p-c72651b2.entry.js +1 -0
  1259. package/dist/magma-components/p-c89c2e30.entry.js +1 -0
  1260. package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
  1261. package/dist/magma-components/p-cc0cb701.entry.js +1 -0
  1262. package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
  1263. package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
  1264. package/dist/magma-components/p-cfe080ab.system.entry.js +54 -0
  1265. package/dist/magma-components/p-d0c0c195.entry.js +1 -0
  1266. package/dist/magma-components/p-d3678561.system.entry.js +35 -0
  1267. package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
  1268. package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
  1269. package/dist/magma-components/p-da532544.system.entry.js +25 -0
  1270. package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
  1271. package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
  1272. package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
  1273. package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
  1274. package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
  1275. package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
  1276. package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
  1277. package/dist/magma-components/p-e15a874b.entry.js +1 -0
  1278. package/dist/magma-components/p-e1ce306a.system.entry.js +52 -0
  1279. package/dist/magma-components/p-e471decd.system.entry.js +32 -0
  1280. package/dist/magma-components/p-e49818c4.entry.js +1 -0
  1281. package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
  1282. package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
  1283. package/dist/magma-components/p-e73cc6fc.entry.js +18 -0
  1284. package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
  1285. package/dist/magma-components/p-e954b5c5.entry.js +1 -0
  1286. package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
  1287. package/dist/magma-components/p-ecb87d38.entry.js +1 -0
  1288. package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
  1289. package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
  1290. package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
  1291. package/dist/magma-components/p-f3763382.entry.js +1 -0
  1292. package/dist/magma-components/p-f43379ef.entry.js +1 -0
  1293. package/dist/magma-components/p-f454c06b.entry.js +1 -0
  1294. package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
  1295. package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
  1296. package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
  1297. package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
  1298. package/dist/magma-components/p-f88c202e.entry.js +1 -0
  1299. package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
  1300. package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
  1301. package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
  1302. package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
  1303. package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
  1304. package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
  1305. package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
  1306. package/dist/stats.json +5527 -4219
  1307. package/dist/types/common/aria.d.ts +8 -1
  1308. package/dist/types/common/file.d.ts +5 -0
  1309. package/dist/types/common/floating-controller.d.ts +8 -1
  1310. package/dist/types/common/keyboard-manager.d.ts +8 -1
  1311. package/dist/types/common/slot.d.ts +9 -1
  1312. package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
  1313. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
  1314. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
  1315. package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
  1316. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
  1317. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
  1318. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
  1319. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
  1320. package/dist/types/components/mds-button/mds-button.d.ts +7 -1
  1321. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
  1322. package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
  1323. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
  1324. package/dist/types/components/mds-card/mds-card.d.ts +8 -0
  1325. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1326. package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
  1327. package/dist/types/components/mds-details/mds-details.d.ts +3 -1
  1328. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
  1329. package/dist/types/components/mds-emoji/mds-emoji.d.ts +20 -10
  1330. package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
  1331. package/dist/types/components/mds-file/mds-file.d.ts +7 -1
  1332. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
  1333. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
  1334. package/dist/types/components/mds-header/mds-header.d.ts +7 -5
  1335. package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
  1336. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
  1337. package/dist/types/components/mds-help/mds-help.d.ts +5 -2
  1338. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1339. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  1340. package/dist/types/components/mds-img/mds-img.d.ts +24 -14
  1341. package/dist/types/components/mds-input/mds-input.d.ts +22 -7
  1342. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1343. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
  1344. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
  1345. package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
  1346. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
  1347. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
  1348. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
  1349. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
  1350. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
  1351. package/dist/types/components/mds-label/mds-label.d.ts +0 -9
  1352. package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
  1353. package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
  1354. package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
  1355. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1356. package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
  1357. package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
  1358. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
  1359. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
  1360. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
  1361. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
  1362. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
  1363. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
  1364. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
  1365. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
  1366. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
  1367. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
  1368. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
  1369. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1370. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1371. package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
  1372. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
  1373. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
  1374. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
  1375. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
  1376. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
  1377. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
  1378. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
  1379. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
  1380. package/dist/types/components/mds-table/mds-table.d.ts +15 -2
  1381. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
  1382. package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
  1383. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
  1384. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1385. package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
  1386. package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
  1387. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
  1388. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
  1389. package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
  1390. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
  1391. package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
  1392. package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
  1393. package/dist/types/components.d.ts +253 -119
  1394. package/dist/types/stencil-public-runtime.d.ts +61 -55
  1395. package/package.json +25 -24
  1396. package/dist/cjs/browser-C1BdXKu5.js +0 -10
  1397. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
  1398. package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
  1399. package/dist/components/p--5KZXaZp.js +0 -1
  1400. package/dist/components/p--OCrgFeE.js +0 -1
  1401. package/dist/components/p-6LGfUDQ4.js +0 -1
  1402. package/dist/components/p-B9uIL9KO.js +0 -1
  1403. package/dist/components/p-BBDliSai.js +0 -1
  1404. package/dist/components/p-BCwcnHFh.js +0 -1
  1405. package/dist/components/p-BRf-u585.js +0 -1
  1406. package/dist/components/p-BSeokAdy.js +0 -1
  1407. package/dist/components/p-BXUJgu8l.js +0 -1
  1408. package/dist/components/p-BXYUyw7p.js +0 -1
  1409. package/dist/components/p-BfgJ-hHQ.js +0 -1
  1410. package/dist/components/p-CIfGjW_Z.js +0 -1
  1411. package/dist/components/p-CMp9rP7L.js +0 -1
  1412. package/dist/components/p-CSCy6TMW.js +0 -1
  1413. package/dist/components/p-CZjHixVB.js +0 -1
  1414. package/dist/components/p-Ck0q_n7I.js +0 -1
  1415. package/dist/components/p-CrCa_6a1.js +0 -8
  1416. package/dist/components/p-CsgCQiHG.js +0 -1
  1417. package/dist/components/p-Cv7lqHIc.js +0 -1
  1418. package/dist/components/p-Cw6_ooFx.js +0 -1
  1419. package/dist/components/p-D8eZRaSQ.js +0 -1
  1420. package/dist/components/p-DGYRngAi.js +0 -1
  1421. package/dist/components/p-DHu8X7zF.js +0 -1
  1422. package/dist/components/p-DOzcuSrZ.js +0 -1
  1423. package/dist/components/p-DZPHWQtD.js +0 -1
  1424. package/dist/components/p-Dje8Mggf.js +0 -1
  1425. package/dist/components/p-DlRjt7nE.js +0 -1
  1426. package/dist/components/p-HSM_x8fD.js +0 -1
  1427. package/dist/components/p-JMPfVnGv.js +0 -1
  1428. package/dist/components/p-KRu9I7dw.js +0 -1
  1429. package/dist/components/p-lNY_3s6S.js +0 -1
  1430. package/dist/components/p-pBvN1uAc.js +0 -3
  1431. package/dist/esm/aria-CSCy6TMW.js +0 -45
  1432. package/dist/esm/browser-Dje8Mggf.js +0 -8
  1433. package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
  1434. package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
  1435. package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
  1436. package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
  1437. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
  1438. package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
  1439. package/dist/esm-es5/slot-C0o_l0td.js +0 -23
  1440. package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
  1441. package/dist/magma-components/p-00ce5c81.entry.js +0 -1
  1442. package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
  1443. package/dist/magma-components/p-01f05a56.entry.js +0 -1
  1444. package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
  1445. package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
  1446. package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
  1447. package/dist/magma-components/p-063bccb3.entry.js +0 -1
  1448. package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
  1449. package/dist/magma-components/p-0c89c485.entry.js +0 -1
  1450. package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
  1451. package/dist/magma-components/p-108e31e6.entry.js +0 -1
  1452. package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
  1453. package/dist/magma-components/p-137116df.entry.js +0 -1
  1454. package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
  1455. package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
  1456. package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
  1457. package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
  1458. package/dist/magma-components/p-17b62839.entry.js +0 -1
  1459. package/dist/magma-components/p-1802d6a7.entry.js +0 -1
  1460. package/dist/magma-components/p-188d9770.system.entry.js +0 -4
  1461. package/dist/magma-components/p-18ba4766.entry.js +0 -1
  1462. package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
  1463. package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
  1464. package/dist/magma-components/p-1e2388be.entry.js +0 -1
  1465. package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
  1466. package/dist/magma-components/p-26332bce.system.entry.js +0 -1
  1467. package/dist/magma-components/p-2708561b.system.entry.js +0 -10
  1468. package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
  1469. package/dist/magma-components/p-294241fa.entry.js +0 -1
  1470. package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
  1471. package/dist/magma-components/p-2c940d19.entry.js +0 -1
  1472. package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
  1473. package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
  1474. package/dist/magma-components/p-2f0815f3.entry.js +0 -18
  1475. package/dist/magma-components/p-30d36dfe.entry.js +0 -1
  1476. package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
  1477. package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
  1478. package/dist/magma-components/p-334b305d.system.entry.js +0 -16
  1479. package/dist/magma-components/p-341994b3.system.entry.js +0 -89
  1480. package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
  1481. package/dist/magma-components/p-37495e03.entry.js +0 -1
  1482. package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
  1483. package/dist/magma-components/p-3b91efd1.entry.js +0 -1
  1484. package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
  1485. package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
  1486. package/dist/magma-components/p-40e97485.entry.js +0 -1
  1487. package/dist/magma-components/p-4159c306.entry.js +0 -1
  1488. package/dist/magma-components/p-42411854.system.entry.js +0 -102
  1489. package/dist/magma-components/p-42ebba8c.entry.js +0 -1
  1490. package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
  1491. package/dist/magma-components/p-4577948d.system.entry.js +0 -12
  1492. package/dist/magma-components/p-4658a200.entry.js +0 -1
  1493. package/dist/magma-components/p-4cfa925a.entry.js +0 -1
  1494. package/dist/magma-components/p-4ef19542.entry.js +0 -1
  1495. package/dist/magma-components/p-4oB0woT9.system.js +0 -6
  1496. package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
  1497. package/dist/magma-components/p-528d913c.system.entry.js +0 -17
  1498. package/dist/magma-components/p-595fde64.entry.js +0 -1
  1499. package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
  1500. package/dist/magma-components/p-5df91427.system.entry.js +0 -15
  1501. package/dist/magma-components/p-5f1132b8.entry.js +0 -1
  1502. package/dist/magma-components/p-5fcc1455.entry.js +0 -1
  1503. package/dist/magma-components/p-61638aa3.entry.js +0 -1
  1504. package/dist/magma-components/p-6465c8f4.entry.js +0 -1
  1505. package/dist/magma-components/p-6764b13a.entry.js +0 -1
  1506. package/dist/magma-components/p-6812f01b.entry.js +0 -1
  1507. package/dist/magma-components/p-6901428b.system.entry.js +0 -1
  1508. package/dist/magma-components/p-699a7926.entry.js +0 -1
  1509. package/dist/magma-components/p-6a798061.entry.js +0 -1
  1510. package/dist/magma-components/p-6d350c7c.entry.js +0 -1
  1511. package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
  1512. package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
  1513. package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
  1514. package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
  1515. package/dist/magma-components/p-70cc167f.entry.js +0 -1
  1516. package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
  1517. package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
  1518. package/dist/magma-components/p-7535328a.entry.js +0 -1
  1519. package/dist/magma-components/p-76f02296.system.entry.js +0 -1
  1520. package/dist/magma-components/p-79bc2e81.entry.js +0 -1
  1521. package/dist/magma-components/p-79dc2243.entry.js +0 -1
  1522. package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
  1523. package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
  1524. package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
  1525. package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
  1526. package/dist/magma-components/p-7c90298a.entry.js +0 -1
  1527. package/dist/magma-components/p-7e02237b.entry.js +0 -1
  1528. package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
  1529. package/dist/magma-components/p-82480df5.entry.js +0 -1
  1530. package/dist/magma-components/p-842b1dfc.entry.js +0 -1
  1531. package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
  1532. package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
  1533. package/dist/magma-components/p-8c75425d.entry.js +0 -1
  1534. package/dist/magma-components/p-8c76410b.entry.js +0 -1
  1535. package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
  1536. package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
  1537. package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
  1538. package/dist/magma-components/p-8f6bd147.entry.js +0 -1
  1539. package/dist/magma-components/p-9017022c.system.entry.js +0 -15
  1540. package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
  1541. package/dist/magma-components/p-976bb373.system.entry.js +0 -90
  1542. package/dist/magma-components/p-97d82884.system.entry.js +0 -16
  1543. package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
  1544. package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
  1545. package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
  1546. package/dist/magma-components/p-9c6d184f.entry.js +0 -1
  1547. package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
  1548. package/dist/magma-components/p-9e662528.entry.js +0 -1
  1549. package/dist/magma-components/p-9ff02a82.entry.js +0 -1
  1550. package/dist/magma-components/p-B6mQg6yQ.js +0 -1
  1551. package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
  1552. package/dist/magma-components/p-BJtA1qmE.js +0 -1
  1553. package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
  1554. package/dist/magma-components/p-BeYLDgbf.js +0 -1
  1555. package/dist/magma-components/p-BxPbQB28.js +0 -3
  1556. package/dist/magma-components/p-C0o_l0td.js +0 -1
  1557. package/dist/magma-components/p-CSCy6TMW.js +0 -1
  1558. package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
  1559. package/dist/magma-components/p-D8eZRaSQ.js +0 -1
  1560. package/dist/magma-components/p-Dje8Mggf.js +0 -1
  1561. package/dist/magma-components/p-JMPfVnGv.js +0 -1
  1562. package/dist/magma-components/p-KRu9I7dw.js +0 -1
  1563. package/dist/magma-components/p-LerCJgfP.system.js +0 -5
  1564. package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
  1565. package/dist/magma-components/p-_X0N_X__.system.js +0 -1
  1566. package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
  1567. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  1568. package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
  1569. package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
  1570. package/dist/magma-components/p-a653e096.entry.js +0 -1
  1571. package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
  1572. package/dist/magma-components/p-ac4435e7.entry.js +0 -1
  1573. package/dist/magma-components/p-acae292f.system.entry.js +0 -28
  1574. package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
  1575. package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
  1576. package/dist/magma-components/p-b492dd4c.entry.js +0 -1
  1577. package/dist/magma-components/p-b99cac43.entry.js +0 -1
  1578. package/dist/magma-components/p-baf0359b.entry.js +0 -1
  1579. package/dist/magma-components/p-bbd414dc.entry.js +0 -1
  1580. package/dist/magma-components/p-be1aad5f.entry.js +0 -1
  1581. package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
  1582. package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
  1583. package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
  1584. package/dist/magma-components/p-c1a7266a.entry.js +0 -1
  1585. package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
  1586. package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
  1587. package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
  1588. package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
  1589. package/dist/magma-components/p-ce46191c.entry.js +0 -1
  1590. package/dist/magma-components/p-cebe7b52.entry.js +0 -1
  1591. package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
  1592. package/dist/magma-components/p-d1c47baa.entry.js +0 -1
  1593. package/dist/magma-components/p-d269bfb0.entry.js +0 -1
  1594. package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
  1595. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  1596. package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
  1597. package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
  1598. package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
  1599. package/dist/magma-components/p-da6ccc03.entry.js +0 -1
  1600. package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
  1601. package/dist/magma-components/p-dc340618.entry.js +0 -1
  1602. package/dist/magma-components/p-dc752e9b.entry.js +0 -1
  1603. package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
  1604. package/dist/magma-components/p-e50fdcee.entry.js +0 -1
  1605. package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
  1606. package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
  1607. package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
  1608. package/dist/magma-components/p-ed232c76.entry.js +0 -1
  1609. package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
  1610. package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
  1611. package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
  1612. package/dist/magma-components/p-f2412853.system.entry.js +0 -27
  1613. package/dist/magma-components/p-f2743a2b.entry.js +0 -1
  1614. package/dist/magma-components/p-f2f2945b.entry.js +0 -1
  1615. package/dist/magma-components/p-f37f1343.entry.js +0 -1
  1616. package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
  1617. package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
  1618. package/dist/magma-components/p-f8a88f11.entry.js +0 -1
  1619. package/dist/magma-components/p-f900fe90.entry.js +0 -1
  1620. package/dist/magma-components/p-faa1f22c.entry.js +0 -1
  1621. package/dist/magma-components/p-lozaO1BU.system.js +0 -1
  1622. package/dist/magma-components/p-pNJmnrhq.js +0 -1
  1623. package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
@@ -1,15 +1,29 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function o(e){try{u(r.next(e))}catch(e){s(e)}}function a(e){try{u(r["throw"](e))}catch(e){s(e)}}function u(e){e.done?i(e.value):n(e.value).then(o,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,n,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=a(0),o["throw"]=a(1),o["return"]=a(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(i=0)),i)try{if(r=1,n&&(s=a[0]&2?n["return"]:a[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,a[1])).done)return s;if(n=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-BxPbQB28.js";import{b as cssRotationToNumber,d as cssDurationToSeconds,a as cssSizeToNumber}from"./unit-D8eZRaSQ.js";import{a as prefersReducedMotion}from"./preference-DNNqH7BU.js";function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function o(e){try{u(r.next(e))}catch(e){s(e)}}function a(e){try{u(r["throw"](e))}catch(e){s(e)}}function u(e){e.done?i(e.value):n(e.value).then(o,a)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,n,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=a(0),o["throw"]=a(1),o["return"]=a(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return u([e,t])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(i=0)),i)try{if(r=1,n&&(s=a[0]&2?n["return"]:a[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,a[1])).done)return s;if(n=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-CPRkNQdE.js";import{b as cssRotationToNumber,d as cssDurationToSeconds,a as cssSizeToNumber}from"./unit-CWk1SCJg.js";import{a as prefersReducedMotion}from"./preference-Ch1zJnqq.js";
2
+ /**
3
+ * Where the emoji looks, as the two signed fractions `rotate()` takes, in -1..1.
4
+ *
5
+ * The direction is the direction of the point from the centre of the emoji, and nothing
6
+ * else: the size of the emoji does not enter it. The intensity grows with the distance up
7
+ * to `reach` and stops there on the length of the vector, so a far point keeps its angle.
8
+ * Dividing each axis by half the size of the emoji and clamping it on its own (#800) made
9
+ * a small emoji saturate at once, and turned every far point into one of eight poses: a
10
+ * point at 20 degrees and one at 70 degrees below and to the right looked the same.
11
+ */var gazeToward=function(e,t,i){var r=Math.hypot(e,t);if(r===0||!(i>0))return{x:0,y:0};var n=Math.min(r/i,1);return{x:e/r*n,y:t/r*n}};
12
+ /**
13
+ * How far the point has to be for the emoji to turn all the way: half the short side of the
14
+ * viewport, whatever the size of the emoji.
15
+ */var gazeReach=function(e,t){return Math.min(e,t)/2};function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}
2
16
  /*!
3
- * GSAP 3.13.0
17
+ * GSAP 3.15.0
4
18
  * https://gsap.com
5
19
  *
6
- * @license Copyright 2008-2025, GreenSock. All rights reserved.
20
+ * @license Copyright 2008-2026, GreenSock. All rights reserved.
7
21
  * Subject to the terms at https://gsap.com/standard-license
8
22
  * @author: Jack Doyle, jack@greensock.com
9
23
  */
10
24
  /* eslint-disable */var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults={duration:.5,overwrite:false,delay:0},_suppressOverwrites,_reverting$1,_context,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString=function e(t){return typeof t==="string"},_isFunction=function e(t){return typeof t==="function"},_isNumber=function e(t){return typeof t==="number"},_isUndefined=function e(t){return typeof t==="undefined"},_isObject=function e(t){return typeof t==="object"},_isNotFalse=function e(t){return t!==false},_windowExists$1=function e(){return typeof window!=="undefined"},_isFuncOrString=function e(t){return _isFunction(t)||_isString(t)},_isTypedArray=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},
11
25
  // note: IE10 has ArrayBuffer, but NOT ArrayBuffer.isView().
12
- _isArray=Array.isArray,_strictNumExp=/(?:-?\.?\d|\.)+/gi,
26
+ _isArray=Array.isArray,_randomExp=/random\([^)]+\)/g,_commaDelimExp=/,\s*/g,_strictNumExp=/(?:-?\.?\d|\.)+/gi,
13
27
  //only numbers (including negatives and decimals) but NOT relative values.
14
28
  _numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,
15
29
  //finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8.
@@ -77,10 +91,10 @@ a=u.vars.defaults||{};u=_isNotFalse(u.vars.inherit)&&u.parent}o.immediateRender=
77
91
  }return new Tween(i[0],o,i[s+1])},_conditionalReturn=function e(t,i){return t||t===0?i(t):i},_clamp=function e(t,i,r){return r<t?t:r>i?i:r},getUnit=function e(t,i){return!_isString(t)||!(i=_unitExp.exec(t))?"":i[1]},
78
92
  // note: protect against padded numbers as strings, like "100.100". That shouldn't return "00" as the unit. If it's numeric, return no unit.
79
93
  clamp=function e(t,i,r){return _conditionalReturn(r,(function(e){return _clamp(t,i,e)}))},_slice=[].slice,_isArrayLike=function e(t,i){return t&&_isObject(t)&&"length"in t&&(!i&&!t.length||t.length-1 in t&&_isObject(t[0]))&&!t.nodeType&&t!==_win$1},_flatten=function e(t,i,r){if(r===void 0){r=[]}return t.forEach((function(e){var t;return _isString(e)&&!i||_isArrayLike(e,1)?(t=r).push.apply(t,toArray(e)):r.push(e)}))||r},
80
- //takes any value and returns an array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects.
94
+ // takes any value and returns an Array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects.
81
95
  toArray=function e(t,i,r){return _context&&!i&&_context.selector?_context.selector(t):_isString(t)&&!r&&(_coreInitted||!_wake())?_slice.call((i||_doc$1).querySelectorAll(t),0):_isArray(t)?_flatten(t,r):_isArrayLike(t)?_slice.call(t,0):t?[t]:[]},selector=function e(t){t=toArray(t)[0]||_warn("Invalid scope")||{};return function(e){var i=t.current||t.nativeElement||t;return toArray(e,i.querySelectorAll?i:i===t?_warn("Invalid scope")||_doc$1.createElement("div"):t)}},shuffle=function e(t){return t.sort((function(){return.5-Math.random()}))},
82
96
  // alternative that's a bit faster and more reliably diverse but bigger: for (let j, v, i = a.length; i; j = (Math.random() * i) | 0, v = a[--i], a[i] = a[j], a[j] = v); return a;
83
- //for distributing values across an array. Can accept a number, a function or (most commonly) a function which can contain the following properties: {base, amount, from, ease, grid, axis, length, each}. Returns a function that expects the following parameters: index, target, array. Recognizes the following
97
+ // for distributing values across an Array. Can accept a number, a function or (most commonly) an object which can contain the following properties: {base, amount, from, ease, grid, axis, length, each}. Returns a function that expects the following parameters: index, target, array.
84
98
  distribute=function e(t){if(_isFunction(t)){return t}var i=_isObject(t)?t:{each:t},
85
99
  //n:1 is just to indicate v was a number; we leverage that later to set v according to the length we get. If a number is passed in, we treat it like the old stagger value where 0.1, for example, would mean that things would be distributed with 0.1 between each element in the array rather than a total "amount" that's chunked out among them all.
86
100
  r=_parseEase(i.ease),n=i.from||0,s=parseFloat(i.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,f=i.axis,l=n,h=n;if(_isString(n)){l=h={center:.5,edges:.5,end:1}[n]||0}else if(!a&&u){l=n[0];h=n[1]}return function(e,t,a){var _=(a||i).length,c=o[_],d,m,p,g,v,C,y,w,P;if(!c){P=i.grid==="auto"?0:(i.grid||[1,_bigNum$1])[1];if(!P){y=-_bigNum$1;while(y<(y=a[P++].getBoundingClientRect().left)&&P<_){}P<_&&P--}c=o[_]=[];d=u?Math.min(P,_)*l-.5:n%P;m=P===_bigNum$1?0:u?_*h/P-.5:n/P|0;y=0;w=_bigNum$1;for(C=0;C<_;C++){p=C%P-d;g=m-(C/P|0);c[C]=v=!f?_sqrt(p*p+g*g):Math.abs(f==="y"?g:p);v>y&&(y=v);v<w&&(w=v)}n==="random"&&shuffle(c);c.max=y-w;c.min=w;c.v=_=(parseFloat(i.amount)||parseFloat(i.each)*(P>_?_-1:!f?Math.max(P,_/P):f==="y"?_/P:P)||0)*(n==="edges"?-1:1);c.b=_<0?s-_:s;c.u=getUnit(i.amount||i.each)||0;//unit
@@ -92,9 +106,9 @@ return function(e){var r=_roundPrecise(Math.round(parseFloat(e)/t)*t*i);return(r
92
106
  }},snap=function e(t,i){var r=_isArray(t),n,s;if(!r&&_isObject(t)){n=r=t.radius||_bigNum$1;if(t.values){t=toArray(t.values);if(s=!_isNumber(t[0])){n*=n;//performance optimization so we don't have to Math.sqrt() in the loop.
93
107
  }}else{t=_roundModifier(t.increment)}}return _conditionalReturn(i,!r?_roundModifier(t):_isFunction(t)?function(e){s=t(e);return Math.abs(s-e)<=n?s:e}:function(e){var i=parseFloat(s?e.x:e),r=parseFloat(s?e.y:0),o=_bigNum$1,a=0,u=t.length,f,l;while(u--){if(s){f=t[u].x-i;l=t[u].y-r;f=f*f+l*l}else{f=Math.abs(t[u]-i)}if(f<o){o=f;a=u}}a=!n||o<=n?t[a]:e;return s||a===e||_isNumber(e)?a:a+getUnit(e)})},random=function e(t,i,r,n){return _conditionalReturn(_isArray(t)?!i:r===true?!!(r=0):!n,(function(){return _isArray(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(i-t+r*.99))/r)*r*n)/n}))},pipe=function e(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++){i[r]=arguments[r]}return function(e){return i.reduce((function(e,t){return t(e)}),e)}},unitize=function e(t,i){return function(e){return t(parseFloat(e))+(i||getUnit(e))}},normalize=function e(t,i,r){return mapRange(t,i,0,1,r)},_wrapArray=function e(t,i,r){return _conditionalReturn(r,(function(e){return t[~~i(e)]}))},wrap=function e(t,i,r){
94
108
  // NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP).
95
- var n=i-t;return _isArray(t)?_wrapArray(t,e(0,t.length),i):_conditionalReturn(r,(function(e){return(n+(e-t)%n)%n+t}))},wrapYoyo=function e(t,i,r){var n=i-t,s=n*2;return _isArray(t)?_wrapArray(t,e(0,t.length-1),i):_conditionalReturn(r,(function(e){e=(s+(e-t)%s)%s||0;return t+(e>n?s-e:e)}))},_replaceRandom=function e(t){
109
+ var n=i-t;return _isArray(t)?_wrapArray(t,e(0,t.length),i):_conditionalReturn(r,(function(e){return(n+(e-t)%n)%n+t}))},wrapYoyo=function e(t,i,r){var n=i-t,s=n*2;return _isArray(t)?_wrapArray(t,e(0,t.length-1),i):_conditionalReturn(r,(function(e){e=(s+(e-t)%s)%s||0;return t+(e>n?s-e:e)}))},_replaceRandom=function e(t){return t.replace(_randomExp,(function(e){
96
110
  //replaces all occurrences of random(...) in a string with the calculated random value. can be a range like random(-100, 100, 5) or an array like random([0, 100, 500])
97
- var i=0,r="",n,s,o,a;while(~(n=t.indexOf("random(",i))){o=t.indexOf(")",n);a=t.charAt(n+7)==="[";s=t.substr(n+7,o-n-7).match(a?_delimitedValueExp:_strictNumExp);r+=t.substr(i,n-i)+random(a?s:+s[0],a?0:+s[1],+s[2]||1e-5);i=o+1}return r+t.substr(i,t.length-i)},mapRange=function e(t,i,r,n,s){var o=i-t,a=n-r;return _conditionalReturn(s,(function(e){return r+((e-t)/o*a||0)}))},interpolate=function e(t,i,r,n){var s=isNaN(t+i)?0:function(e){return(1-e)*t+e*i};if(!s){var o=_isString(t),a={},u,f,l,h,_;r===true&&(n=1)&&(r=null);if(o){t={p:t};i={p:i}}else if(_isArray(t)&&!_isArray(i)){l=[];h=t.length;_=h-2;for(f=1;f<h;f++){l.push(e(t[f-1],t[f]));//build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them.
111
+ var t=e.indexOf("[")+1,i=e.substring(t||7,t?e.indexOf("]"):e.length-1).split(_commaDelimExp);return random(t?i:+i[0],t?0:+i[1],+i[2]||1e-5)}))},mapRange=function e(t,i,r,n,s){var o=i-t,a=n-r;return _conditionalReturn(s,(function(e){return r+((e-t)/o*a||0)}))},interpolate=function e(t,i,r,n){var s=isNaN(t+i)?0:function(e){return(1-e)*t+e*i};if(!s){var o=_isString(t),a={},u,f,l,h,_;r===true&&(n=1)&&(r=null);if(o){t={p:t};i={p:i}}else if(_isArray(t)&&!_isArray(i)){l=[];h=t.length;_=h-2;for(f=1;f<h;f++){l.push(e(t[f-1],t[f]));//build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them.
98
112
  }h--;s=function e(t){t*=h;var i=Math.min(_,~~t);return l[i](t-i)};r=i}else if(!n){t=_merge(_isArray(t)?[]:{},t)}if(!l){for(u in i){_addPropTween.call(a,t,u,"get",i[u])}s=function e(i){return _renderPropTweens(i,a)||(o?t.p:t)}}}return _conditionalReturn(r,s)},_getLabelInDirection=function e(t,i,r){
99
113
  //used for nextLabel() and previousLabel()
100
114
  var n=t.labels,s=_bigNum$1,o,a,u;for(o in n){a=n[o]-i;if(a<0===!!r&&a&&s>(a=Math.abs(a))){u=o;s=a}}return u},_callback=function e(t,i,r){var n=t.vars,s=n[i],o=_context,a=t._ctx,u,f,l;if(!s){return}u=n[i+"Params"];f=n.callbackScope||t;r&&_lazyTweens.length&&_lazyRender();//in case rendering caused any tweens to lazy-init, we should render them because typically when a timeline finishes, users expect things to have rendered fully. Imagine an onUpdate on a timeline that reports/checks tweened values.
@@ -151,9 +165,7 @@ _easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObject
151
165
  //takes a string like "{wiggles:10, type:anticipate})" and turns it into a real object. Notice it ends in ")" and includes the {} wrappers. This is because we only use this function for parsing ease configs and prioritized optimization rather than reusability.
152
166
  var i={},r=t.substr(1,t.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,f;for(;s<o;s++){u=r[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);i[n]=isNaN(f)?f.replace(_quotesExp,"").trim():+f;n=u.substr(a+1).trim()}return i},_valueInParentheses=function e(t){var i=t.indexOf("(")+1,r=t.indexOf(")"),n=t.indexOf("(",i);return t.substring(i,~n&&n<r?t.indexOf(")",r+1):r)},_configEaseFromString=function e(t){
153
167
  //name can be a string like "elastic.out(1,0.5)", and pass in _easeMap as obj and it'll parse it out and call the actual function like _easeMap.Elastic.easeOut.config(1,0.5). It will also parse custom ease strings as long as CustomEase is loaded and registered (internally as _easeMap._CE).
154
- var i=(t+"").split("("),r=_easeMap[i[0]];return r&&i.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[_parseObjectInString(i[1])]:_valueInParentheses(t).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(t)?_easeMap._CE("",t):r},_invertEase=function e(t){return function(e){return 1-t(1-e)}},
155
- // allow yoyoEase to be set in children and have those affected when the parent/ancestor timeline yoyos.
156
- _propagateYoyoEase=function e(t,i){var r=t._first,n;while(r){if(r instanceof Timeline){e(r,i)}else if(r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==i){if(r.timeline){e(r.timeline,i)}else{n=r._ease;r._ease=r._yEase;r._yEase=n;r._yoyo=i}}r=r._next}},_parseEase=function e(t,i){return!t?i:(_isFunction(t)?t:_easeMap[t]||_configEaseFromString(t))||i},_insertEase=function e(t,i,r,n){if(r===void 0){r=function e(t){return 1-i(1-t)}}if(n===void 0){n=function e(t){return t<.5?i(t*2)/2:1-i((1-t)*2)/2}}var s={easeIn:i,easeOut:r,easeInOut:n},o;_forEachName(t,(function(e){_easeMap[e]=_globals[e]=s;_easeMap[o=e.toLowerCase()]=r;for(var t in s){_easeMap[o+(t==="easeIn"?".in":t==="easeOut"?".out":".inOut")]=_easeMap[e+"."+t]=s[t]}}));return s},_easeInOutFromOut=function e(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},_configElastic=function e(t,i,r){var n=i>=1?i:1,
168
+ var i=(t+"").split("("),r=_easeMap[i[0]];return r&&i.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[_parseObjectInString(i[1])]:_valueInParentheses(t).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(t)?_easeMap._CE("",t):r},_invertEase=function e(t){return function(e){return 1-t(1-e)}},_parseEase=function e(t,i){return!t?i:(_isFunction(t)?t:_easeMap[t]||_configEaseFromString(t))||i},_insertEase=function e(t,i,r,n){if(r===void 0){r=function e(t){return 1-i(1-t)}}if(n===void 0){n=function e(t){return t<.5?i(t*2)/2:1-i((1-t)*2)/2}}var s={easeIn:i,easeOut:r,easeInOut:n},o;_forEachName(t,(function(e){_easeMap[e]=_globals[e]=s;_easeMap[o=e.toLowerCase()]=r;for(var t in s){_easeMap[o+(t==="easeIn"?".in":t==="easeOut"?".out":".inOut")]=_easeMap[e+"."+t]=s[t]}}));return s},_easeInOutFromOut=function e(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},_configElastic=function e(t,i,r){var n=i>=1?i:1,
157
169
  //note: if amplitude is < 1, we simply adjust the period for a more natural feel. Otherwise the math doesn't work right and the curve starts at 1.
158
170
  s=(r||(t?.3:.45))/(i<1?i:1),o=s/_2PI*(Math.asin(1/n)||0),a=function e(t){return t===1?1:n*Math.pow(2,-10*t)*_sin((t-o)*s)+1},u=t==="out"?a:t==="in"?function(e){return 1-a(1-e)}:_easeInOutFromOut(a);s=_2PI/s;//precalculate to optimize
159
171
  u.config=function(i,r){return e(t,i,r)};return u},_configBack=function e(t,i){if(i===void 0){i=1.70158}var r=function e(t){return t?--t*t*((i+1)*t+i)+1:0},n=t==="out"?r:t==="in"?function(e){return 1-r(1-e)}:_easeInOutFromOut(r);n.config=function(i){return e(t,i)};return n};// a cheaper (kb and cpu) but more mild way to get a parameterized weighted ease by feeding in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear.
@@ -186,7 +198,7 @@ this._rDelay=e.repeatDelay||0;this._yoyo=!!e.yoyo||!!e.yoyoEase}this._ts=1;_setD
186
198
  //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The start of that child would get pushed out, but one of the ancestors may have completed.
187
199
  while(r&&r.parent){if(r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)){r.totalTime(r._tTime,true)}r=r.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)){
188
200
  //if the animation doesn't have a parent, put it back into its last parent (recorded as _dp for exactly cases like this). Limit to parents with autoRemoveChildren (like globalTimeline) so that if the user manually removes an animation from a timeline and then alters its playhead, it doesn't get added back in.
189
- _addToTimeline(this._dp,this,this._start-this._delay)}}if(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_tinyNum||!t&&!this._initted&&(this.add||this._ptLookup)){
201
+ _addToTimeline(this._dp,this,this._start-this._delay)}}if(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_tinyNum||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup)){
190
202
  // check for _ptLookup on a Tween instance to ensure it has actually finished being instantiated, otherwise if this.reverse() gets called in the Animation constructor, it could trigger a render() here even though the _targets weren't populated, thus when _init() is called there won't be any PropTweens (it'll act like the tween is non-functional)
191
203
  this._ts||(this._pTime=t);// otherwise, if an animation is paused, then the playhead is moved back to zero, then resumed, it'd revert back to the original time at the pause
192
204
  //if (!this._lock) { // avoid endless recursion (not sure we need this yet or if it's worth the performance hit)
@@ -208,12 +220,12 @@ if(this._ps!==t){this._ps=t;if(t){this._pTime=this._tTime||Math.max(-this._delay
208
220
  this._ts=this._act=0;// _ts is the functional timeScale, so a paused tween would effectively have a timeScale of 0. We record the "real" timeScale as _rts (recorded time scale)
209
221
  }else{_wake();this._ts=this._rts;//only defer to _pTime (pauseTime) if tTime is zero. Remember, someone could pause() an animation, then scrub the playhead and resume(). If the parent doesn't have smoothChildTiming, we render at the rawTime() because the startTime won't get updated.
210
222
  this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum));// edge case: animation.progress(1).pause().play() wouldn't render again because the playhead is already at the end, but the call to totalTime() below will add it back to its parent...and not remove it again (since removing only happens upon rendering at a new time). Offsetting the _tTime slightly is done simply to cause the final render in totalTime() that'll pop it off its timeline (if autoRemoveChildren is true, of course). Check to make sure _zTime isn't -_tinyNum to avoid an edge case where the playhead is pushed to the end but INSIDE a tween/callback, the timeline itself is paused thus halting rendering and leaving a few unrendered. When resuming, it wouldn't render those otherwise.
211
- }}return this};t.startTime=function e(t){if(arguments.length){this._start=t;var i=this.parent||this._dp;i&&(i._sort||!this.parent)&&_addToTimeline(i,this,t-this._delay);return this}return this._start};t.endTime=function e(t){return this._start+(_isNotFalse(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};t.rawTime=function e(t){var i=this.parent||this._dp;// _dp = detached parent
223
+ }}return this};t.startTime=function e(t){if(arguments.length){this._start=_roundPrecise(t);var i=this.parent||this._dp;i&&(i._sort||!this.parent)&&_addToTimeline(i,this,this._start-this._delay);return this}return this._start};t.endTime=function e(t){return this._start+(_isNotFalse(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};t.rawTime=function e(t){var i=this.parent||this._dp;// _dp = detached parent
212
224
  return!i?this._tTime:t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:_parentToChildTotalTime(i.rawTime(t),this)};t.revert=function e(t){if(t===void 0){t=_revertConfig}var i=_reverting$1;_reverting$1=t;if(_isRevertWorthy(this)){this.timeline&&this.timeline.revert(t);this.totalTime(-.01,t.suppressEvents)}this.data!=="nested"&&t.kill!==false&&this.kill();_reverting$1=i;return this};t.globalTime=function e(t){var i=this,r=arguments.length?t:i.rawTime();while(i){r=i._start+r/(Math.abs(i._ts)||1);i=i._dp}return!this.parent&&this._sat?this._sat.globalTime(t):r;// the _startAt tweens for .fromTo() and .from() that have immediateRender should always be FIRST in the timeline (important for context.revert()). "_sat" stands for _startAtTween, referring to the parent tween that created the _startAt. We must discern if that tween had immediateRender so that we can know whether or not to prioritize it in revert().
213
225
  };t.repeat=function e(t){if(arguments.length){this._repeat=t===Infinity?-2:t;return _onUpdateTotalDuration(this)}return this._repeat===-2?Infinity:this._repeat};t.repeatDelay=function e(t){if(arguments.length){var i=this._time;this._rDelay=t;_onUpdateTotalDuration(this);return i?this.time(i):this}return this._rDelay};t.yoyo=function e(t){if(arguments.length){this._yoyo=t;return this}return this._yoyo};t.seek=function e(t,i){return this.totalTime(_parsePosition(this,t),_isNotFalse(i))};t.restart=function e(t,i){this.play().totalTime(t?-this._delay:0,_isNotFalse(i));this._dur||(this._zTime=-_tinyNum);// ensures onComplete fires on a zero-duration animation that gets restarted.
214
226
  return this};t.play=function e(t,i){t!=null&&this.seek(t,i);return this.reversed(false).paused(false)};t.reverse=function e(t,i){t!=null&&this.seek(t||this.totalDuration(),i);return this.reversed(true).paused(false)};t.pause=function e(t,i){t!=null&&this.seek(t,i);return this.paused(true)};t.resume=function e(){return this.paused(false)};t.reversed=function e(t){if(arguments.length){!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-_tinyNum:0));// in case timeScale is zero, reversing would have no effect so we use _tinyNum.
215
- return this}return this._rts<0};t.invalidate=function e(){this._initted=this._act=0;this._zTime=-_tinyNum;return this};t.isActive=function e(){var t=this.parent||this._dp,i=this._start,r;return!!(!t||this._ts&&this._initted&&t.isActive()&&(r=t.rawTime(true))>=i&&r<this.endTime(true)-_tinyNum)};t.eventCallback=function e(t,i,r){var n=this.vars;if(arguments.length>1){if(!i){delete n[t]}else{n[t]=i;r&&(n[t+"Params"]=r);t==="onUpdate"&&(this._onUpdate=i)}return this}return n[t]};t.then=function e(t){var i=this;return new Promise((function(e){var r=_isFunction(t)?t:_passThrough,n=function t(){var n=i.then;i.then=null;// temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322)
216
- _isFunction(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=n);e(r);i.then=n};if(i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0){n()}else{i._prom=n}}))};t.kill=function e(){_interrupt(this)};return e}();_setDefaults(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:false,_rts:1});
227
+ return this}return this._rts<0};t.invalidate=function e(){this._initted=this._act=0;this._zTime=-_tinyNum;return this};t.isActive=function e(){var t=this.parent||this._dp,i=this._start,r;return!!(!t||this._ts&&this._initted&&t.isActive()&&(r=t.rawTime(true))>=i&&r<this.endTime(true)-_tinyNum)};t.eventCallback=function e(t,i,r){var n=this.vars;if(arguments.length>1){if(!i){delete n[t]}else{n[t]=i;r&&(n[t+"Params"]=r);t==="onUpdate"&&(this._onUpdate=i)}return this}return n[t]};t.then=function e(t){var i=this,r=i._prom;return new Promise((function(e){var n=_isFunction(t)?t:_passThrough,s=function t(){var s=i.then;i.then=null;// temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322)
228
+ r&&r();_isFunction(n)&&(n=n(i))&&(n.then||n===i)&&(i.then=s);e(n);i.then=s};if(i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0){s()}else{i._prom=s}}))};t.kill=function e(){_interrupt(this)};return e}();_setDefaults(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:false,_rts:1});
217
229
  /*
218
230
  * -------------------------------------------------
219
231
  * TIMELINE
@@ -241,13 +253,13 @@ if(C&&_&1){f=o-f;y=1}
241
253
  ensure that zero-duration tweens at the very beginning or end of the Timeline work.
242
254
  */if(_!==v&&!this._lock){var w=C&&v&1,P=w===(C&&_&1);_<v&&(w=!w);n=w?0:a%o?o:a;// if the playhead is landing exactly at the end of an iteration, use that totalTime rather than only the duration, otherwise it'll skip the 2nd render since it's effectively at the same time.
243
255
  this._lock=1;this.render(n||(y?0:_roundPrecise(_*c)),i,!o)._lock=0;this._tTime=a;// if a user gets the iteration() inside the onRepeat, for example, it should be accurate.
244
- !i&&this.parent&&_callback(this,"onRepeat");this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1);if(n&&n!==this._time||d!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){
256
+ !i&&this.parent&&_callback(this,"onRepeat");if(this.vars.repeatRefresh&&!y){this.invalidate()._lock=1;v=_;// otherwise, the onStart() may fire on the 2nd iteration.
257
+ }if(n&&n!==this._time||d!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){
245
258
  // if prevTime is 0 and we render at the very end, _time will be the end, thus won't match. So in this edge case, prevTime won't match _time but that's okay. If it gets killed in the onRepeat, eject as well.
246
259
  return this}o=this._dur;// in case the duration changed in the onRepeat
247
- s=this._tDur;if(P){this._lock=2;n=w?o:-1e-4;this.render(n,true);this.vars.repeatRefresh&&!y&&this.invalidate()}this._lock=0;if(!this._ts&&!d){return this}//in order for yoyoEase to work properly when there's a stagger, we must swap out the ease in each sub-tween.
248
- _propagateYoyoEase(this,y)}}if(this._hasPause&&!this._forcing&&this._lock<2){m=_findNextPauseTween(this,_roundPrecise(n),_roundPrecise(f));if(m){a-=f-(f=m._start)}}this._tTime=a;this._time=f;this._act=!p;//as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.
260
+ s=this._tDur;if(P){this._lock=2;n=w?o:-1e-4;this.render(n,true);this.vars.repeatRefresh&&!y&&this.invalidate()}this._lock=0;if(!this._ts&&!d){return this}}}if(this._hasPause&&!this._forcing&&this._lock<2){m=_findNextPauseTween(this,_roundPrecise(n),_roundPrecise(f));if(m){a-=f-(f=m._start)}}this._tTime=a;this._time=f;this._act=!!p;// as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.
249
261
  if(!this._initted){this._onUpdate=this.vars.onUpdate;this._initted=1;this._zTime=t;n=0;// upon init, the playhead should always go forward; someone could invalidate() a completed timeline and then if they restart(), that would make child tweens render in reverse order which could lock in the wrong starting values if they build on each other, like tl.to(obj, {x: 100}).to(obj, {x: 0}).
250
- }if(!n&&a&&!i&&!v){_callback(this,"onStart");if(this._tTime!==a){
262
+ }if(!n&&a&&o&&!i&&!v){_callback(this,"onStart");if(this._tTime!==a){
251
263
  // in case the onStart triggered a render at a different spot, eject. Like if someone did animation.pause(0.5) or something inside the onStart.
252
264
  return this}}if(f>=n&&t>=0){l=this._first;while(l){h=l._next;if((l._act||f>=l._start)&&l._ts&&m!==l){if(l.parent!==this){
253
265
  // an extreme edge case - the child's render could do something like kill() the "next" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe.
@@ -276,14 +288,14 @@ a;while(s){if(s instanceof Tween){if(_arrayContainsAny(s._targets,n)&&(o?(!_over
276
288
  // note: if this is for overwriting, it should only be for tweens that aren't paused and are initted.
277
289
  r.push(s)}}else if((a=s.getTweensOf(n,i)).length){r.push.apply(r,a)}s=s._next}return r}// potential future feature - targets() on timelines;
278
290
  i.tweenTo=function e(t,i){i=i||{};var r=this,n=_parsePosition(r,t),s=i,o=s.startAt,a=s.onStart,u=s.onStartParams,f=s.immediateRender,l,h=Tween.to(r,_setDefaults({ease:i.ease||"none",lazy:false,immediateRender:false,time:n,overwrite:"auto",duration:i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale())||_tinyNum,onStart:function e(){r.pause();if(!l){var t=i.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale());h._dur!==t&&_setDuration(h,t,0,1).render(h._time,true,true);l=1}a&&a.apply(h,u||[]);//in case the user had an onStart in the vars - we don't want to overwrite it.
279
- }},i));return f?h.render(0):h};i.tweenFromTo=function e(t,i,r){return this.tweenTo(i,_setDefaults({startAt:{time:_parsePosition(this,t)}},r))};i.recent=function e(){return this._recent};i.nextLabel=function e(t){if(t===void 0){t=this._time}return _getLabelInDirection(this,_parsePosition(this,t))};i.previousLabel=function e(t){if(t===void 0){t=this._time}return _getLabelInDirection(this,_parsePosition(this,t),1)};i.currentLabel=function e(t){return arguments.length?this.seek(t,true):this.previousLabel(this._time+_tinyNum)};i.shiftChildren=function e(t,i,r){if(r===void 0){r=0}var n=this._first,s=this.labels,o;while(n){if(n._start>=r){n._start+=t;n._end+=t}n=n._next}if(i){for(o in s){if(s[o]>=r){s[o]+=t}}}return _uncache(this)};i.invalidate=function t(i){var r=this._first;this._lock=0;while(r){r.invalidate(i);r=r._next}return e.prototype.invalidate.call(this,i)};i.clear=function e(t){if(t===void 0){t=true}var i=this._first,r;while(i){r=i._next;this.remove(i);i=r}this._dp&&(this._time=this._tTime=this._pTime=0);t&&(this.labels={});return _uncache(this)};i.totalDuration=function e(t){var i=0,r=this,n=r._last,s=_bigNum$1,o,a,u;if(arguments.length){return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-t:t))}if(r._dirty){u=r.parent;while(n){o=n._prev;//record it here in case the tween changes position in the sequence...
291
+ }},i));return f?h.render(0):h};i.tweenFromTo=function e(t,i,r){return this.tweenTo(i,_setDefaults({startAt:{time:_parsePosition(this,t)}},r))};i.recent=function e(){return this._recent};i.nextLabel=function e(t){if(t===void 0){t=this._time}return _getLabelInDirection(this,_parsePosition(this,t))};i.previousLabel=function e(t){if(t===void 0){t=this._time}return _getLabelInDirection(this,_parsePosition(this,t),1)};i.currentLabel=function e(t){return arguments.length?this.seek(t,true):this.previousLabel(this._time+_tinyNum)};i.shiftChildren=function e(t,i,r){if(r===void 0){r=0}var n=this._first,s=this.labels,o;t=_roundPrecise(t);while(n){if(n._start>=r){n._start+=t;n._end+=t}n=n._next}if(i){for(o in s){if(s[o]>=r){s[o]+=t}}}return _uncache(this)};i.invalidate=function t(i){var r=this._first;this._lock=0;while(r){r.invalidate(i);r=r._next}return e.prototype.invalidate.call(this,i)};i.clear=function e(t){if(t===void 0){t=true}var i=this._first,r;while(i){r=i._next;this.remove(i);i=r}this._dp&&(this._time=this._tTime=this._pTime=0);t&&(this.labels={});return _uncache(this)};i.totalDuration=function e(t){var i=0,r=this,n=r._last,s=_bigNum$1,o,a,u;if(arguments.length){return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-t:t))}if(r._dirty){u=r.parent;while(n){o=n._prev;//record it here in case the tween changes position in the sequence...
280
292
  n._dirty&&n.totalDuration();//could change the tween._startTime, so make sure the animation's cache is clean before analyzing it.
281
293
  a=n._start;if(a>s&&r._sort&&n._ts&&!r._lock){
282
294
  //in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence
283
295
  r._lock=1;//prevent endless recursive calls - there are methods that get triggered that check duration/totalDuration when we add().
284
296
  _addToTimeline(r,n,a-n._delay,1)._lock=0}else{s=a}if(a<0&&n._ts){
285
297
  //children aren't allowed to have negative startTimes unless smoothChildTiming is true, so adjust here if one is found.
286
- i-=a;if(!u&&!r._dp||u&&u.smoothChildTiming){r._start+=a/r._ts;r._time-=a;r._tTime-=a}r.shiftChildren(-a,false,-Infinity);s=0}n._end>i&&n._ts&&(i=n._end);n=o}_setDuration(r,r===_globalTimeline&&r._time>i?r._time:i,1,1);r._dirty=0}return r._tDur};t.updateRoot=function e(t){if(_globalTimeline._ts){_lazySafeRender(_globalTimeline,_parentToChildTotalTime(t,_globalTimeline));_lastRenderedFrame=_ticker.frame}if(_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var i=_globalTimeline._first;if(!i||!i._ts)if(_config.autoSleep&&_ticker._listeners.length<2){while(i&&!i._ts){i=i._next}i||_ticker.sleep()}}};return t}(Animation);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function e(t,i,r,n,s,o,a){
298
+ i-=a;if(!u&&!r._dp||u&&u.smoothChildTiming){r._start+=_roundPrecise(a/r._ts);r._time-=a;r._tTime-=a}r.shiftChildren(-a,false,-Infinity);s=0}n._end>i&&n._ts&&(i=n._end);n=o}_setDuration(r,r===_globalTimeline&&r._time>i?r._time:i,1,1);r._dirty=0}return r._tDur};t.updateRoot=function e(t){if(_globalTimeline._ts){_lazySafeRender(_globalTimeline,_parentToChildTotalTime(t,_globalTimeline));_lastRenderedFrame=_ticker.frame}if(_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var i=_globalTimeline._first;if(!i||!i._ts)if(_config.autoSleep&&_ticker._listeners.length<2){while(i&&!i._ts){i=i._next}i||_ticker.sleep()}}};return t}(Animation);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function e(t,i,r,n,s,o,a){
287
299
  //note: we call _addComplexStringPropTween.call(tweenInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin.
288
300
  var u=new PropTween(this._pt,t,i,0,1,_renderComplexString,null,s),f=0,l=0,h,_,c,d,m,p,g,v;u.b=r;u.e=n;r+="";//ensure values are strings
289
301
  n+="";if(g=~n.indexOf("random(")){n=_replaceRandom(n)}if(o){v=[r,n];o(v,t,i);//pass an array with the starting and ending values and let the filter do whatever it needs to the values.
@@ -302,13 +314,11 @@ d=new PropTween(this._pt,t,i,+_||0,n-(_||0),typeof h==="boolean"?_renderBoolean:
302
314
  _processVars=function e(t,i,r,n,s){_isFunction(t)&&(t=_parseFuncOrString(t,s,i,r,n));if(!_isObject(t)||t.style&&t.nodeType||_isArray(t)||_isTypedArray(t)){return _isString(t)?_parseFuncOrString(t,s,i,r,n):t}var o={},a;for(a in t){o[a]=_parseFuncOrString(t[a],s,i,r,n)}return o},_checkPlugin=function e(t,i,r,n,s,o){var a,u,f,l;if(_plugins[t]&&(a=new _plugins[t]).init(s,a.rawVars?i[t]:_processVars(i[t],n,s,o,r),r,n,o)!==false){r._pt=u=new PropTween(r._pt,s,t,0,1,a.render,a,0,a.priority);if(r!==_quickTween){f=r._ptLookup[r._targets.indexOf(s)];//note: we can't use tween._ptLookup[index] because for staggered tweens, the index from the fullTargets array won't match what it is in each individual tween that spawns from the stagger.
303
315
  l=a._props.length;while(l--){f[a._props[l]]=u}}}return a},_overwritingTween,
304
316
  //store a reference temporarily so we can avoid overwriting itself.
305
- _forceAllPropTweens,_initTween=function e(t,i,r){var n=t.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,f=n.onUpdate,l=n.runBackwards,h=n.yoyoEase,_=n.keyframes,c=n.autoRevert,d=t._dur,m=t._startAt,p=t._targets,g=t.parent,v=g&&g.data==="nested"?g.vars.targets:p,C=t._overwrite==="auto"&&!_suppressOverwrites,y=t.timeline,w,P,T,b,S,x,M,k,F,E,j,N,A;y&&(!_||!s)&&(s="none");t._ease=_parseEase(s,_defaults.ease);t._yEase=h?_invertEase(_parseEase(h===true?s:h,_defaults.ease)):0;if(h&&t._yoyo&&!t._repeat){
306
- //there must have been a parent timeline with yoyo:true that is currently in its yoyo phase, so flip the eases.
307
- h=t._yEase;t._yEase=t._ease;t._ease=h}t._from=!y&&!!n.runBackwards;//nested timelines should never run backwards - the backwards-ness is in the child tweens.
308
- if(!y||_&&!n.stagger){
317
+ _forceAllPropTweens,_initTween=function e(t,i,r){var n=t.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,f=n.onUpdate,l=n.runBackwards,h=n.yoyoEase,_=n.keyframes,c=n.autoRevert,d=t._dur,m=t._startAt,p=t._targets,g=t.parent,v=g&&g.data==="nested"?g.vars.targets:p,C=t._overwrite==="auto"&&!_suppressOverwrites,y=t.timeline,w=n.easeReverse||h,P,T,S,x,b,M,k,F,E,j,N,A,D;y&&(!_||!s)&&(s="none");t._ease=_parseEase(s,_defaults.ease);t._rEase=w&&(_parseEase(w)||t._ease);t._from=!y&&!!n.runBackwards;//nested timelines should never run backwards - the backwards-ness is in the child tweens.
318
+ if(t._from)t.ratio=1;if(!y||_&&!n.stagger){
309
319
  //if there's an internal timeline, skip all the parsing because we passed that task down the chain.
310
- k=p[0]?_getCache(p[0]).harness:0;N=k&&n[k.prop];//someone may need to specify CSS-specific values AND non-CSS values, like if the element has an "x" property plus it's a standard DOM element. We allow people to distinguish by wrapping plugin-specific stuff in a css:{} object for example.
311
- w=_copyExcluding(n,_reservedProps);if(m){m._zTime<0&&m.progress(1);// in case it's a lazy startAt that hasn't rendered yet.
320
+ F=p[0]?_getCache(p[0]).harness:0;A=F&&n[F.prop];//someone may need to specify CSS-specific values AND non-CSS values, like if the element has an "x" property plus it's a standard DOM element. We allow people to distinguish by wrapping plugin-specific stuff in a css:{} object for example.
321
+ P=_copyExcluding(n,_reservedProps);if(m){m._zTime<0&&m.progress(1);// in case it's a lazy startAt that hasn't rendered yet.
312
322
  i<0&&l&&a&&!c?m.render(-1,true):m.revert(l&&d?_revertConfigNoKill:_startAtRevertConfig);// if it's a "startAt" (not "from()" or runBackwards: true), we only need to do a shallow revert (keep transforms cached in CSSPlugin)
313
323
  // don't just _removeFromParent(prevStartAt.render(-1, true)) because that'll leave inline styles. We're creating a new _startAt for "startAt" tweens that re-capture things to ensure that if the pre-tween values changed since the tween was created, they're recorded.
314
324
  m._lazy=0}if(o){_removeFromParent(t._startAt=Tween.set(p,_setDefaults({data:"isStart",overwrite:false,parent:g,immediateRender:true,lazy:!m&&_isNotFalse(u),startAt:null,delay:0,onUpdate:f&&function(){return _callback(t,"onUpdate")},stagger:0},o)));//copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, from, to).fromTo(e, to, from);
@@ -319,20 +329,20 @@ if(a){if(d&&i<=0&&r<=0){
319
329
  // check tTime here because in the case of a yoyo tween whose playhead gets pushed to the end like tween.progress(1), we should allow it through so that the onComplete gets fired properly.
320
330
  i&&(t._zTime=i);return;//we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a Timeline, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.
321
331
  }}}else if(l&&d){
322
- //from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)
332
+ // from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)
323
333
  if(!m){i&&(a=false);//in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0
324
- T=_setDefaults({overwrite:false,data:"isFromStart",
334
+ S=_setDefaults({overwrite:false,data:"isFromStart",
325
335
  //we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.
326
336
  lazy:a&&!m&&_isNotFalse(u),immediateRender:a,
327
337
  //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
328
- stagger:0,parent:g},w);N&&(T[k.prop]=N);// in case someone does something like .from(..., {css:{}})
329
- _removeFromParent(t._startAt=Tween.set(p,T));t._startAt._dp=0;// don't allow it to get put back into root timeline!
338
+ stagger:0,parent:g},P);A&&(S[F.prop]=A);// in case someone does something like .from(..., {css:{}})
339
+ _removeFromParent(t._startAt=Tween.set(p,S));t._startAt._dp=0;// don't allow it to get put back into root timeline!
330
340
  t._startAt._sat=t;// used in globalTime()
331
341
  i<0&&(_reverting$1?t._startAt.revert(_revertConfigNoKill):t._startAt.render(-1,true));t._zTime=i;if(!a){e(t._startAt,_tinyNum,_tinyNum);//ensures that the initial values are recorded
332
- }else if(!i){return}}}t._pt=t._ptCache=0;u=d&&_isNotFalse(u)||u&&!d;for(P=0;P<p.length;P++){S=p[P];M=S._gsap||_harness(p)[P]._gsap;t._ptLookup[P]=E={};_lazyLookup[M.id]&&_lazyTweens.length&&_lazyRender();//if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)
333
- j=v===p?P:v.indexOf(S);if(k&&(F=new k).init(S,N||w,t,j,v)!==false){t._pt=b=new PropTween(t._pt,S,F.name,0,1,F.render,F,0,F.priority);F._props.forEach((function(e){E[e]=b}));F.priority&&(x=1)}if(!k||N){for(T in w){if(_plugins[T]&&(F=_checkPlugin(T,w,t,j,S,v))){F.priority&&(x=1)}else{E[T]=b=_addPropTween.call(t,S,T,"get",w[T],j,v,0,n.stringFilter)}}}t._op&&t._op[P]&&t.kill(S,t._op[P]);if(C&&t._pt){_overwritingTween=t;_globalTimeline.killTweensOf(S,E,t.globalTime(i));// make sure the overwriting doesn't overwrite THIS tween!!!
334
- A=!t.parent;_overwritingTween=0}t._pt&&u&&(_lazyLookup[M.id]=1)}x&&_sortPropTweensByPriority(t);t._onInit&&t._onInit(t);//plugins like RoundProps must wait until ALL of the PropTweens are instantiated. In the plugin's init() function, it sets the _onInit on the tween instance. May not be pretty/intuitive, but it's fast and keeps file size down.
335
- }t._onUpdate=f;t._initted=(!t._op||t._pt)&&!A;// if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick.
342
+ }else if(!i){return}}}t._pt=t._ptCache=0;u=d&&_isNotFalse(u)||u&&!d;for(T=0;T<p.length;T++){b=p[T];k=b._gsap||_harness(p)[T]._gsap;t._ptLookup[T]=j={};_lazyLookup[k.id]&&_lazyTweens.length&&_lazyRender();//if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)
343
+ N=v===p?T:v.indexOf(b);if(F&&(E=new F).init(b,A||P,t,N,v)!==false){t._pt=x=new PropTween(t._pt,b,E.name,0,1,E.render,E,0,E.priority);E._props.forEach((function(e){j[e]=x}));E.priority&&(M=1)}if(!F||A){for(S in P){if(_plugins[S]&&(E=_checkPlugin(S,P,t,N,b,v))){E.priority&&(M=1)}else{j[S]=x=_addPropTween.call(t,b,S,"get",P[S],N,v,0,n.stringFilter)}}}t._op&&t._op[T]&&t.kill(b,t._op[T]);if(C&&t._pt){_overwritingTween=t;_globalTimeline.killTweensOf(b,j,t.globalTime(i));// make sure the overwriting doesn't overwrite THIS tween!!!
344
+ D=!t.parent;_overwritingTween=0}t._pt&&u&&(_lazyLookup[k.id]=1)}M&&_sortPropTweensByPriority(t);t._onInit&&t._onInit(t);//plugins like RoundProps must wait until ALL of the PropTweens are instantiated. In the plugin's init() function, it sets the _onInit on the tween instance. May not be pretty/intuitive, but it's fast and keeps file size down.
345
+ }t._onUpdate=f;t._initted=(!t._op||t._pt)&&!D;// if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick.
336
346
  _&&i<=0&&y.render(_bigNum$1,true,true);// if there's a 0% keyframe, it'll render in the "before" state for any staggered/delayed animations thus when the following tween initializes, it'll use the "before" state instead of the "after" state as the initial values.
337
347
  },_updatePropTweens=function e(t,i,r,n,s,o,a,u){var f=(t._pt&&t._ptCache||(t._ptCache={}))[i],l,h,_,c;if(!f){f=t._ptCache[i]=[];_=t._ptLookup;c=t._targets.length;while(c--){l=_[c][i];if(l&&l.d&&l.d._pt){
338
348
  // it's a plugin, so find the nested PropTween
@@ -342,32 +352,32 @@ l=l._next}}if(!l){
342
352
  // there is no PropTween associated with that property, so we must FORCE one to be created and ditch out of this
343
353
  // if the tween has other properties that already rendered at new positions, we'd normally have to rewind to put them back like tween.render(0, true) before forcing an _initTween(), but that can create another edge case like tweening a timeline's progress would trigger onUpdates to fire which could move other things around. It's better to just inform users that .resetTo() should ONLY be used for tweens that already have that property. For example, you can't gsap.to(...{ y: 0 }) and then tween.restTo("x", 200) for example.
344
354
  _forceAllPropTweens=1;// otherwise, when we _addPropTween() and it finds no change between the start and end values, it skips creating a PropTween (for efficiency...why tween when there's no difference?) but in this case we NEED that PropTween created so we can edit it.
345
- t.vars[i]="+=0";_initTween(t,a);_forceAllPropTweens=0;return u?_warn(i+" not eligible for reset"):1;// if someone tries to do a quickTo() on a special property like borderRadius which must get split into 4 different properties, that's not eligible for .resetTo().
355
+ t.vars[i]="+=0";_initTween(t,a);_forceAllPropTweens=0;return u?_warn(i+" not eligible for reset. Try splitting into individual properties"):1;// if someone tries to do a quickTo() on a special property like borderRadius which must get split into 4 different properties, that's not eligible for .resetTo().
346
356
  }f.push(l)}}c=f.length;while(c--){h=f[c];l=h._pt||h;// complex values may have nested PropTweens. We only accommodate the FIRST value.
347
357
  l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c;l.c=r-l.s;h.e&&(h.e=_round(r)+getUnit(h.e));// mainly for CSSPlugin (end value)
348
358
  h.b&&(h.b=l.s+getUnit(h.b));// (beginning value)
349
359
  }},_addAliasesToVars=function e(t,i){var r=t[0]?_getCache(t[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n){return i}s=_merge({},i);for(o in n){if(o in s){u=n[o].split(",");a=u.length;while(a--){s[u[a]]=s[o]}}}return s},
350
360
  // parses multiple formats, like {"0%": {x: 100}, {"50%": {x: -20}} and { x: {"0%": 100, "50%": -20} }, and an "ease" can be set on any object. We populate an "allProps" object with an Array for each property, like {x: [{}, {}], y:[{}, {}]} with data for each property tween. The objects have a "t" (time), "v", (value), and "e" (ease) property. This allows us to piece together a timeline later.
351
361
  _parseKeyframe=function e(t,i,r,n){var s=i.ease||n||"power1.inOut",o,a;if(_isArray(i)){a=r[t]||(r[t]=[]);// t = time (out of 100), v = value, e = ease
352
- i.forEach((function(e,t){return a.push({t:t/(i.length-1)*100,v:e,e:s})}))}else{for(o in i){a=r[o]||(r[o]=[]);o==="ease"||a.push({t:parseFloat(t),v:i[o],e:s})}}},_parseFuncOrString=function e(t,i,r,n,s){return _isFunction(t)?t.call(i,r,n,s):_isString(t)&&~t.indexOf("random(")?_replaceRandom(t):t},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return _staggerPropsToSkip[e]=1}));
362
+ i.forEach((function(e,t){return a.push({t:t/(i.length-1)*100,v:e,e:s})}))}else{for(o in i){a=r[o]||(r[o]=[]);o==="ease"||a.push({t:parseFloat(t),v:i[o],e:s})}}},_parseFuncOrString=function e(t,i,r,n,s){return _isFunction(t)?t.call(i,r,n,s):_isString(t)&&~t.indexOf("random(")?_replaceRandom(t):t},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return _staggerPropsToSkip[e]=1}));
353
363
  /*
354
364
  * --------------------------------------------------------------------------------------
355
365
  * TWEEN
356
366
  * --------------------------------------------------------------------------------------
357
- */var Tween=function(e){_inheritsLoose(t,e);function t(t,i,r,n){var s;if(typeof i==="number"){r.duration=i;i=r;r=null}s=e.call(this,n?i:_inheritDefaults(i))||this;var o=s.vars,a=o.duration,u=o.delay,f=o.immediateRender,l=o.stagger,h=o.overwrite,_=o.keyframes,c=o.defaults,d=o.scrollTrigger,m=o.yoyoEase,p=i.parent||_globalTimeline,g=(_isArray(t)||_isTypedArray(t)?_isNumber(t[0]):"length"in i)?[t]:toArray(t),v,C,y,w,P,T,b,S;s._targets=g.length?_harness(g):_warn("GSAP target "+t+" not found. https://gsap.com",!_config.nullTargetWarn)||[];s._ptLookup=[];//PropTween lookup. An array containing an object for each target, having keys for each tweening property
358
- s._overwrite=h;if(_||l||_isFuncOrString(a)||_isFuncOrString(u)){i=s.vars;v=s.timeline=new Timeline({data:"nested",defaults:c||{},targets:p&&p.data==="nested"?p.vars.targets:g});// we need to store the targets because for staggers and keyframes, we end up creating an individual tween for each but function-based values need to know the index and the whole Array of targets.
359
- v.kill();v.parent=v._dp=_assertThisInitialized(s);v._start=0;if(l||_isFuncOrString(a)||_isFuncOrString(u)){w=g.length;b=l&&distribute(l);if(_isObject(l)){
367
+ */var Tween=function(e){_inheritsLoose(t,e);function t(t,i,r,n){var s;if(typeof i==="number"){r.duration=i;i=r;r=null}s=e.call(this,n?i:_inheritDefaults(i))||this;var o=s.vars,a=o.duration,u=o.delay,f=o.immediateRender,l=o.stagger,h=o.overwrite,_=o.keyframes,c=o.defaults,d=o.scrollTrigger,m=i.parent||_globalTimeline,p=(_isArray(t)||_isTypedArray(t)?_isNumber(t[0]):"length"in i)?[t]:toArray(t),g,v,C,y,w,P,T,S;s._targets=p.length?_harness(p):_warn("GSAP target "+t+" not found. https://gsap.com",!_config.nullTargetWarn)||[];s._ptLookup=[];//PropTween lookup. An array containing an object for each target, having keys for each tweening property
368
+ s._overwrite=h;if(_||l||_isFuncOrString(a)||_isFuncOrString(u)){i=s.vars;var x=i.easeReverse||i.yoyoEase;g=s.timeline=new Timeline({data:"nested",defaults:c||{},targets:m&&m.data==="nested"?m.vars.targets:p});// we need to store the targets because for staggers and keyframes, we end up creating an individual tween for each but function-based values need to know the index and the whole Array of targets.
369
+ g.kill();g.parent=g._dp=_assertThisInitialized(s);g._start=0;if(l||_isFuncOrString(a)||_isFuncOrString(u)){y=p.length;T=l&&distribute(l);if(_isObject(l)){
360
370
  //users can pass in callbacks like onStart/onComplete in the stagger object. These should fire with each individual tween.
361
- for(P in l){if(~_staggerTweenProps.indexOf(P)){S||(S={});S[P]=l[P]}}}for(C=0;C<w;C++){y=_copyExcluding(i,_staggerPropsToSkip);y.stagger=0;m&&(y.yoyoEase=m);S&&_merge(y,S);T=g[C];//don't just copy duration or delay because if they're a string or function, we'd end up in an infinite loop because _isFuncOrString() would evaluate as true in the child tweens, entering this loop, etc. So we parse the value straight from vars and default to 0.
362
- y.duration=+_parseFuncOrString(a,_assertThisInitialized(s),C,T,g);y.delay=(+_parseFuncOrString(u,_assertThisInitialized(s),C,T,g)||0)-s._delay;if(!l&&w===1&&y.delay){
371
+ for(w in l){if(~_staggerTweenProps.indexOf(w)){S||(S={});S[w]=l[w]}}}for(v=0;v<y;v++){C=_copyExcluding(i,_staggerPropsToSkip);C.stagger=0;x&&(C.easeReverse=x);S&&_merge(C,S);P=p[v];//don't just copy duration or delay because if they're a string or function, we'd end up in an infinite loop because _isFuncOrString() would evaluate as true in the child tweens, entering this loop, etc. So we parse the value straight from vars and default to 0.
372
+ C.duration=+_parseFuncOrString(a,_assertThisInitialized(s),v,P,p);C.delay=(+_parseFuncOrString(u,_assertThisInitialized(s),v,P,p)||0)-s._delay;if(!l&&y===1&&C.delay){
363
373
  // if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat.
364
- s._delay=u=y.delay;s._start+=u;y.delay=0}v.to(T,y,b?b(C,T,g):0);v._ease=_easeMap.none}v.duration()?a=u=0:s.timeline=0;// if the timeline's duration is 0, we don't need a timeline internally!
365
- }else if(_){_inheritDefaults(_setDefaults(v.vars.defaults,{ease:"none"}));v._ease=_parseEase(_.ease||i.ease||"none");var x=0,M,k,F;if(_isArray(_)){_.forEach((function(e){return v.to(g,e,">")}));v.duration();// to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.
366
- }else{y={};for(P in _){P==="ease"||P==="easeEach"||_parseKeyframe(P,_[P],y,_.easeEach)}for(P in y){M=y[P].sort((function(e,t){return e.t-t.t}));x=0;for(C=0;C<M.length;C++){k=M[C];F={ease:k.e,duration:(k.t-(C?M[C-1].t:0))/100*a};F[P]=k.v;v.to(g,F,x);x+=F.duration}}v.duration()<a&&v.to({},{duration:a-v.duration()});// in case keyframes didn't go to 100%
367
- }}a||s.duration(a=v.duration())}else{s.timeline=0;//speed optimization, faster lookups (no going up the prototype chain)
368
- }if(h===true&&!_suppressOverwrites){_overwritingTween=_assertThisInitialized(s);_globalTimeline.killTweensOf(g);_overwritingTween=0}_addToTimeline(p,_assertThisInitialized(s),r);i.reversed&&s.reverse();i.paused&&s.paused(true);if(f||!a&&!_&&s._start===_roundPrecise(p._time)&&_isNotFalse(f)&&_hasNoPausedAncestors(_assertThisInitialized(s))&&p.data!=="nested"){s._tTime=-_tinyNum;//forces a render without having to set the render() "force" parameter to true because we want to allow lazying by default (using the "force" parameter always forces an immediate full render)
374
+ s._delay=u=C.delay;s._start+=u;C.delay=0}g.to(P,C,T?T(v,P,p):0);g._ease=_easeMap.none}g.duration()?a=u=0:s.timeline=0;// if the timeline's duration is 0, we don't need a timeline internally!
375
+ }else if(_){_inheritDefaults(_setDefaults(g.vars.defaults,{ease:"none"}));g._ease=_parseEase(_.ease||i.ease||"none");var b=0,M,k,F;if(_isArray(_)){_.forEach((function(e){return g.to(p,e,">")}));g.duration();// to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.
376
+ }else{C={};for(w in _){w==="ease"||w==="easeEach"||_parseKeyframe(w,_[w],C,_.easeEach)}for(w in C){M=C[w].sort((function(e,t){return e.t-t.t}));b=0;for(v=0;v<M.length;v++){k=M[v];F={ease:k.e,duration:(k.t-(v?M[v-1].t:0))/100*a};F[w]=k.v;g.to(p,F,b);b+=F.duration}}g.duration()<a&&g.to({},{duration:a-g.duration()});// in case keyframes didn't go to 100%
377
+ }}a||s.duration(a=g.duration())}else{s.timeline=0;//speed optimization, faster lookups (no going up the prototype chain)
378
+ }if(h===true&&!_suppressOverwrites){_overwritingTween=_assertThisInitialized(s);_globalTimeline.killTweensOf(p);_overwritingTween=0}_addToTimeline(m,_assertThisInitialized(s),r);i.reversed&&s.reverse();i.paused&&s.paused(true);if(f||!a&&!_&&s._start===_roundPrecise(m._time)&&_isNotFalse(f)&&_hasNoPausedAncestors(_assertThisInitialized(s))&&m.data!=="nested"){s._tTime=-_tinyNum;//forces a render without having to set the render() "force" parameter to true because we want to allow lazying by default (using the "force" parameter always forces an immediate full render)
369
379
  s.render(Math.max(0,-u)||0);//in case delay is negative
370
- }d&&_scrollTrigger(_assertThisInitialized(s),d);return s}var i=t.prototype;i.render=function e(t,i,r){var n=this._time,s=this._tDur,o=this._dur,a=t<0,u=t>s-_tinyNum&&!a?s:t<_tinyNum?0:t,f,l,h,_,c,d,m,p,g;if(!o){_renderZeroDurationTween(this,t,i,r)}else if(u!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){
380
+ }d&&_scrollTrigger(_assertThisInitialized(s),d);return s}var i=t.prototype;i.render=function e(t,i,r){var n=this._time,s=this._tDur,o=this._dur,a=t<0,u=t>s-_tinyNum&&!a?s:t<_tinyNum?0:t,f,l,h,_,c,d,m,p;if(!o){_renderZeroDurationTween(this,t,i,r)}else if(u!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){
371
381
  // this senses if we're crossing over the start time, in which case we must record _zTime and force the render, but we do it in this lengthy conditional way for performance reasons (usually we can skip the calculations): this._initted && (this._zTime < 0) !== (totalTime < 0)
372
382
  f=u;p=this.timeline;if(this._repeat){
373
383
  //adjust the time for repeats and yoyos
@@ -375,9 +385,10 @@ _=o+this._rDelay;if(this._repeat<-1&&a){return this.totalTime(_*100+t,i,r)}f=_ro
375
385
  if(u===s){
376
386
  // the tDur === tTime is for edge cases where there's a lengthy decimal on the duration and it may reach the very end but the time is rendered as not-quite-there (remember, tDur is rounded to 4 decimals whereas dur isn't)
377
387
  h=this._repeat;f=o}else{c=_roundPrecise(u/_);// full decimal version of iterations, not the previous iteration (we're reusing prevIteration variable for efficiency)
378
- h=~~c;if(h&&h===c){f=o;h--}else if(f>o){f=o}}d=this._yoyo&&h&1;if(d){g=this._yEase;f=o-f}c=_animationCycle(this._tTime,_);if(f===n&&!r&&this._initted&&h===c){
388
+ h=~~c;if(h&&h===c){f=o;h--}else if(f>o){f=o}}d=this._yoyo&&h&1;if(d)f=o-f;c=_animationCycle(this._tTime,_);if(f===n&&!r&&this._initted&&h===c){
379
389
  //could be during the repeatDelay part. No need to render and fire callbacks.
380
- this._tTime=u;return this}if(h!==c){p&&this._yEase&&_propagateYoyoEase(p,d);//repeatRefresh functionality
390
+ this._tTime=u;return this}if(h!==c){
391
+ //repeatRefresh functionality
381
392
  if(this.vars.repeatRefresh&&!d&&!this._lock&&f!==_&&this._initted){
382
393
  // this._time will === cycleDuration when we render at EXACTLY the end of an iteration. Without this condition, it'd often do the repeatRefresh render TWICE (again on the very next tick).
383
394
  this._lock=r=1;//force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick.
@@ -386,8 +397,8 @@ return this}if(n!==this._time&&!(r&&this.vars.repeatRefresh&&h!==c)){
386
397
  // rare edge case - during initialization, an onUpdate in the _startAt (.fromTo()) might force this tween to render at a different spot in which case we should ditch this render() call so that it doesn't revert the values. But we also don't want to dump if we're doing a repeatRefresh render!
387
398
  return this}if(o!==this._dur){
388
399
  // while initting, a plugin like InertiaPlugin might alter the duration, so rerun from the start to ensure everything renders as it should.
389
- return this.render(t,i,r)}}this._tTime=u;this._time=f;if(!this._act&&this._ts){this._act=1;//as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.
390
- this._lazy=0}this.ratio=m=(g||this._ease)(f/o);if(this._from){this.ratio=m=1-m}if(!n&&u&&!i&&!c){_callback(this,"onStart");if(this._tTime!==u){
400
+ return this.render(t,i,r)}}if(this._rEase){var g=f<n;if(g!==this._inv){var v=g?n:o-n;this._inv=g;if(this._from)this.ratio=1-this.ratio;this._invRatio=this.ratio;this._invTime=n;this._invRecip=v?(g?-1:1)/v:0;this._invScale=g?-this.ratio:1-this.ratio;this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((f-this._invTime)*this._invRecip)}else{this.ratio=m=this._ease(f/o)}if(this._from)this.ratio=m=1-m;this._tTime=u;this._time=f;if(!this._act&&this._ts){this._act=1;//as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.
401
+ this._lazy=0}if(!n&&u&&!i&&!c){_callback(this,"onStart");if(this._tTime!==u){
391
402
  // in case the onStart triggered a render at a different spot, eject. Like if someone did animation.pause(0.5) or something inside the onStart.
392
403
  return this}}l=this._pt;while(l){l.r(m,l.d);l=l._next}p&&p.render(t<0?t:p._dur*p._ease(f/this._dur),i,r)||this._startAt&&(this._zTime=t);if(this._onUpdate&&!i){a&&_rewindStartAt(this,t,i,r);//note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.
393
404
  _callback(this,"onUpdate")}this._repeat&&h!==c&&this.vars.onRepeat&&!i&&this.parent&&_callback(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&_rewindStartAt(this,t,true,true);(t||!o)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&_removeFromParent(this,1);// don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.
@@ -436,7 +447,7 @@ while(i){r=i._next;n=s;while(n&&n.pr>i.pr){n=n._next}if(i._prev=n?n._prev:o){i._
436
447
  var PropTween=function(){function e(e,t,i,r,n,s,o,a,u){this.t=t;this.s=r;this.c=n;this.p=i;this.r=s||_renderPlain;this.d=o||this;this.set=a||_setterPlain;this.pr=u||0;this._next=e;if(e){e._prev=this}}var t=e.prototype;t.modifier=function e(t,i,r){this.mSet=this.mSet||this.set;//in case it was already set (a PropTween can only have one modifier)
437
448
  this.set=_setterWithModifier;this.m=t;this.mt=r;//modifier target
438
449
  this.tween=i};return e}();//Initialization tasks
439
- _forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return _reservedProps[e]=1}));_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:false,defaults:_defaults,autoRemoveChildren:true,id:"root",smoothChildTiming:true});_config.stringFilter=_colorStringFilter;var _media=[],_listeners={},_emptyArray=[],_lastMediaTime=0,_contextID=0,_dispatch=function e(t){return(_listeners[t]||_emptyArray).map((function(e){return e()}))},_onMediaChange=function e(){var t=Date.now(),i=[];if(t-_lastMediaTime>2){_dispatch("matchMediaInit");_media.forEach((function(e){var t=e.queries,r=e.conditions,n,s,o,a;for(s in t){n=_win$1.matchMedia(t[s]).matches;// Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
450
+ _forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",(function(e){return _reservedProps[e]=1}));_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:false,defaults:_defaults,autoRemoveChildren:true,id:"root",smoothChildTiming:true});_config.stringFilter=_colorStringFilter;var _media=[],_listeners={},_emptyArray=[],_lastMediaTime=0,_contextID=0,_dispatch=function e(t){return(_listeners[t]||_emptyArray).map((function(e){return e()}))},_onMediaChange=function e(){var t=Date.now(),i=[];if(t-_lastMediaTime>2){_dispatch("matchMediaInit");_media.forEach((function(e){var t=e.queries,r=e.conditions,n,s,o,a;for(s in t){n=_win$1.matchMedia(t[s]).matches;// Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
440
451
  n&&(o=1);if(n!==r[s]){r[s]=n;a=1}}if(a){e.revert();o&&i.push(e)}}));_dispatch("matchMediaRevert");i.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))}));_lastMediaTime=t;_dispatch("matchMedia")}};var Context=function(){function e(e,t){this.selector=t&&selector(t);this.data=[];this._r=[];// returned/cleanup functions
441
452
  this.isReverted=false;this.id=_contextID++;// to work around issues that frameworks like Vue cause by making things into Proxies which make it impossible to do something like _media.indexOf(this) because "this" would no longer refer to the Context instance itself - it'd refer to a Proxy! We needed a way to identify the context uniquely
442
453
  e&&this.add(e)}var t=e.prototype;t.add=function e(t,i,r){
@@ -476,16 +487,18 @@ r=t}if(i){t={};for(n in r){t[n]=i(r[n])}r=t}_addModifiers(e,r)}}}};//register co
476
487
  var gsap=_gsap.registerPlugin({name:"attr",init:function e(t,i,r,n,s){var o,a,u;this.tween=r;for(o in i){u=t.getAttribute(o)||"";a=this.add(t,"setAttribute",(u||0)+"",i[o],n,s,0,0,o);a.op=o;a.b=u;// record the beginning value so we can revert()
477
488
  this._props.push(o)}},render:function e(t,i){var r=i._pt;while(r){_reverting$1?r.set(r.t,r.p,r.b,r):r.r(t,r.d);// if reverting, go back to the original (pt.b)
478
489
  r=r._next}}},{name:"endArray",headless:1,init:function e(t,i){var r=i.length;while(r--){this.add(t,r,t[r]||0,i[r],0,0,0,0,0,1)}}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;//to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way.
479
- Tween.version=Timeline.version=gsap.version="3.13.0";_coreReady=1;_windowExists$1()&&_wake();
490
+ Tween.version=Timeline.version=gsap.version="3.15.0";_coreReady=1;_windowExists$1()&&_wake();
480
491
  /*!
481
- * CSSPlugin 3.13.0
492
+ * CSSPlugin 3.15.0
482
493
  * https://gsap.com
483
494
  *
484
- * Copyright 2008-2025, GreenSock. All rights reserved.
495
+ * Copyright 2008-2026, GreenSock. All rights reserved.
485
496
  * Subject to the terms at https://gsap.com/standard-license
486
497
  * @author: Jack Doyle, jack@greensock.com
487
498
  */var _win,_doc,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists=function e(){return typeof window!=="undefined"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function e(t,i){return i.set(i.t,i.p,Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},_renderPropWithEnd=function e(t,i){return i.set(i.t,i.p,t===1?i.e:Math.round((i.s+i.c*t)*1e4)/1e4+i.u,i)},_renderCSSPropWithBeginning=function e(t,i){return i.set(i.t,i.p,t?Math.round((i.s+i.c*t)*1e4)/1e4+i.u:i.b,i)},
488
499
  //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)
500
+ _renderCSSPropWithBeginningAndEnd=function e(t,i){return i.set(i.t,i.p,t===1?i.e:t?Math.round((i.s+i.c*t)*1e4)/1e4+i.u:i.b,i)},
501
+ //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)
489
502
  _renderRoundedCSSProp=function e(t,i){var r=i.s+i.c*t;i.set(i.t,i.p,~~(r+(r<0?-.5:.5))+i.u,i)},_renderNonTweeningValue=function e(t,i){return i.set(i.t,i.p,t?i.e:i.b,i)},_renderNonTweeningValueOnlyAtEnd=function e(t,i){return i.set(i.t,i.p,t!==1?i.b:i.e,i)},_setterCSSStyle=function e(t,i,r){return t.style[i]=r},_setterCSSProp=function e(t,i,r){return t.style.setProperty(i,r)},_setterTransform=function e(t,i,r){return t._gsap[i]=r},_setterScale=function e(t,i,r){return t._gsap.scaleX=t._gsap.scaleY=r},_setterScaleWithRender=function e(t,i,r,n,s){var o=t._gsap;o.scaleX=o.scaleY=r;o.renderTransform(s,o)},_setterTransformWithRender=function e(t,i,r,n,s){var o=t._gsap;o[i]=r;o.renderTransform(s,o)},_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_saveStyle=function e(t,i){var r=this;var n=this.target,s=n.style,o=n._gsap;if(t in _transformProps&&s){this.tfm=this.tfm||{};if(t!=="transform"){t=_propertyAliases[t]||t;~t.indexOf(",")?t.split(",").forEach((function(e){return r.tfm[e]=_get(n,e)})):this.tfm[t]=o.x?o[t]:_get(n,t);// note: scale would map to "scaleX,scaleY", thus we loop and apply them both.
490
503
  t===_transformOriginProp&&(this.tfm.zOrigin=o.zOrigin)}else{return _propertyAliases.transform.split(",").forEach((function(t){return e.call(r,t,i)}))}if(this.props.indexOf(_transformProp)>=0){return}if(o.svg){this.svgo=n.getAttribute("data-svg-origin");this.props.push(_transformOriginProp,i,"")}t=_transformProp}(s||i)&&this.props.push(t,i,s[t])},_removeIndependentTransforms=function e(t){if(t.translate){t.removeProperty("translate");t.removeProperty("scale");t.removeProperty("rotate")}},_revertStyle=function e(){var t=this.props,i=this.target,r=i.style,n=i._gsap,s,o;for(s=0;s<t.length;s+=3){
491
504
  // stored like this: property, isNotCSS, value
@@ -616,15 +629,15 @@ u=n.display;n.display="block";o=t.parentNode;if(!o||!t.offsetParent&&!t.getBound
616
629
  // note: in 3.3.0 we switched target.offsetParent to _doc.body.contains(target) to avoid [sometimes unnecessary] MutationObserver calls but that wasn't adequate because there are edge cases where nested position: fixed elements need to get reparented to accurately sense transforms. See https://github.com/greensock/GSAP/issues/388 and https://github.com/greensock/GSAP/issues/375. Note: position: fixed elements report a null offsetParent but they could also be invisible because they're in an ancestor with display: none, so we check getBoundingClientRect(). We only want to alter the DOM if we absolutely have to because it can cause iframe content to reload, like a Vimeo video.
617
630
  f=1;//flag
618
631
  a=t.nextElementSibling;_docElement.appendChild(t);//we must add it to the DOM in order to get values properly
619
- }s=_getComputedTransformMatrixAsArray(t);u?n.display=u:_removeProperty(t,"display");if(f){a?o.insertBefore(t,a):o?o.appendChild(t):_docElement.removeChild(t)}}return i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},_applySVGOrigin=function e(t,i,r,n,s,o){var a=t._gsap,u=s||_getMatrix(t,true),f=a.xOrigin||0,l=a.yOrigin||0,h=a.xOffset||0,_=a.yOffset||0,c=u[0],d=u[1],m=u[2],p=u[3],g=u[4],v=u[5],C=i.split(" "),y=parseFloat(C[0])||0,w=parseFloat(C[1])||0,P,T,b,S;if(!r){P=_getBBox(t);y=P.x+(~C[0].indexOf("%")?y/100*P.width:y);w=P.y+(~(C[1]||C[0]).indexOf("%")?w/100*P.height:w);// if (!("xOrigin" in cache) && (xOrigin || yOrigin)) { // added in 3.12.3, reverted in 3.12.4; requires more exploration
632
+ }s=_getComputedTransformMatrixAsArray(t);u?n.display=u:_removeProperty(t,"display");if(f){a?o.insertBefore(t,a):o?o.appendChild(t):_docElement.removeChild(t)}}return i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},_applySVGOrigin=function e(t,i,r,n,s,o){var a=t._gsap,u=s||_getMatrix(t,true),f=a.xOrigin||0,l=a.yOrigin||0,h=a.xOffset||0,_=a.yOffset||0,c=u[0],d=u[1],m=u[2],p=u[3],g=u[4],v=u[5],C=i.split(" "),y=parseFloat(C[0])||0,w=parseFloat(C[1])||0,P,T,S,x;if(!r){P=_getBBox(t);y=P.x+(~C[0].indexOf("%")?y/100*P.width:y);w=P.y+(~(C[1]||C[0]).indexOf("%")?w/100*P.height:w);// if (!("xOrigin" in cache) && (xOrigin || yOrigin)) { // added in 3.12.3, reverted in 3.12.4; requires more exploration
620
633
  // xOrigin -= bounds.x;
621
634
  // yOrigin -= bounds.y;
622
635
  // }
623
636
  }else if(u!==_identity2DMatrix&&(T=c*p-d*m)){
624
637
  //if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero.
625
- b=y*(p/T)+w*(-m/T)+(m*v-p*g)/T;S=y*(-d/T)+w*(c/T)-(c*v-d*g)/T;y=b;w=S;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
638
+ S=y*(p/T)+w*(-m/T)+(m*v-p*g)/T;x=y*(-d/T)+w*(c/T)-(c*v-d*g)/T;y=S;w=x;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
626
639
  }if(n||n!==false&&a.smooth){g=y-f;v=w-l;a.xOffset=h+(g*c+v*m)-g;a.yOffset=_+(g*d+v*p)-v}else{a.xOffset=a.yOffset=0}a.xOrigin=y;a.yOrigin=w;a.smooth=!!n;a.origin=i;a.originIsAbsolute=!!r;t.style[_transformOriginProp]="0px 0px";//otherwise, if someone sets an origin via CSS, it will likely interfere with the SVG transform attribute ones (because remember, we're baking the origin into the matrix() value).
627
- if(o){_addNonTweeningPT(o,a,"xOrigin",f,y);_addNonTweeningPT(o,a,"yOrigin",l,w);_addNonTweeningPT(o,a,"xOffset",h,a.xOffset);_addNonTweeningPT(o,a,"yOffset",_,a.yOffset)}t.setAttribute("data-svg-origin",y+" "+w)},_parseTransform=function e(t,i){var r=t._gsap||new GSCache(t);if("x"in r&&!i&&!r.uncache){return r}var n=t.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(t),f=_getComputedProperty(t,_transformOriginProp)||"0",l,h,_,c,d,m,p,g,v,C,y,w,P,T,b,S,x,M,k,F,E,j,N,A,D,O,R,z,I,B,W,L;l=h=_=m=p=g=v=C=y=0;c=d=1;r.svg=!!(t.getCTM&&_isSVG(t));if(u.translate){
640
+ if(o){_addNonTweeningPT(o,a,"xOrigin",f,y);_addNonTweeningPT(o,a,"yOrigin",l,w);_addNonTweeningPT(o,a,"xOffset",h,a.xOffset);_addNonTweeningPT(o,a,"yOffset",_,a.yOffset)}t.setAttribute("data-svg-origin",y+" "+w)},_parseTransform=function e(t,i){var r=t._gsap||new GSCache(t);if("x"in r&&!i&&!r.uncache){return r}var n=t.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(t),f=_getComputedProperty(t,_transformOriginProp)||"0",l,h,_,c,d,m,p,g,v,C,y,w,P,T,S,x,b,M,k,F,E,j,N,A,D,O,R,z,I,W,B,L;l=h=_=m=p=g=v=C=y=0;c=d=1;r.svg=!!(t.getCTM&&_isSVG(t));if(u.translate){
628
641
  // accommodate independent transforms by combining them into normal ones.
629
642
  if(u.translate!=="none"||u.scale!=="none"||u.rotate!=="none"){n[_transformProp]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[_transformProp]!=="none"?u[_transformProp]:"")}n.scale=n.rotate=n.translate="none"}T=_getMatrix(t,r.svg);if(r.svg){if(r.uncache){
630
643
  // if cache.uncache is true (and maybe if origin is 0,0), we need to set element.style.transformOrigin = (cache.xOrigin - bbox.x) + "px " + (cache.yOrigin - bbox.y) + "px". Previously we let the data-svg-origin stay instead, but when introducing revert(), it complicated things.
@@ -636,21 +649,21 @@ E=T[3];//a41
636
649
  l=j=T[4];h=N=T[5];//2D matrix
637
650
  if(T.length===6){c=Math.sqrt(M*M+k*k);d=Math.sqrt(E*E+F*F);m=M||k?_atan2(k,M)*_RAD2DEG:0;//note: if scaleX is 0, we cannot accurately measure rotation. Same for skewX with a scaleY of 0. Therefore, we default to the previously recorded value (or zero if that doesn't exist).
638
651
  v=F||E?_atan2(F,E)*_RAD2DEG+m:0;v&&(d*=Math.abs(Math.cos(v*_DEG2RAD)));if(r.svg){l-=w-(w*M+P*F);h-=P-(w*k+P*E)}//3D matrix
639
- }else{L=T[6];B=T[7];R=T[8];z=T[9];I=T[10];W=T[11];l=T[12];h=T[13];_=T[14];b=_atan2(L,I);p=b*_RAD2DEG;//rotationX
640
- if(b){S=Math.cos(-b);x=Math.sin(-b);A=j*S+R*x;D=N*S+z*x;O=L*S+I*x;R=j*-x+R*S;z=N*-x+z*S;I=L*-x+I*S;W=B*-x+W*S;j=A;N=D;L=O}//rotationY
641
- b=_atan2(-F,I);g=b*_RAD2DEG;if(b){S=Math.cos(-b);x=Math.sin(-b);A=M*S-R*x;D=k*S-z*x;O=F*S-I*x;W=E*x+W*S;M=A;k=D;F=O}//rotationZ
642
- b=_atan2(k,M);m=b*_RAD2DEG;if(b){S=Math.cos(b);x=Math.sin(b);A=M*S+k*x;D=j*S+N*x;k=k*S-M*x;N=N*S-j*x;M=A;j=D}if(p&&Math.abs(p)+Math.abs(m)>359.9){
652
+ }else{L=T[6];W=T[7];R=T[8];z=T[9];I=T[10];B=T[11];l=T[12];h=T[13];_=T[14];S=_atan2(L,I);p=S*_RAD2DEG;//rotationX
653
+ if(S){x=Math.cos(-S);b=Math.sin(-S);A=j*x+R*b;D=N*x+z*b;O=L*x+I*b;R=j*-b+R*x;z=N*-b+z*x;I=L*-b+I*x;B=W*-b+B*x;j=A;N=D;L=O}//rotationY
654
+ S=_atan2(-F,I);g=S*_RAD2DEG;if(S){x=Math.cos(-S);b=Math.sin(-S);A=M*x-R*b;D=k*x-z*b;O=F*x-I*b;B=E*b+B*x;M=A;k=D;F=O}//rotationZ
655
+ S=_atan2(k,M);m=S*_RAD2DEG;if(S){x=Math.cos(S);b=Math.sin(S);A=M*x+k*b;D=j*x+N*b;k=k*x-M*b;N=N*x-j*b;M=A;j=D}if(p&&Math.abs(p)+Math.abs(m)>359.9){
643
656
  //when rotationY is set, it will often be parsed as 180 degrees different than it should be, and rotationX and rotation both being 180 (it looks the same), so we adjust for that here.
644
- p=m=0;g=180-g}c=_round(Math.sqrt(M*M+k*k+F*F));d=_round(Math.sqrt(N*N+L*L));b=_atan2(j,N);v=Math.abs(b)>2e-4?b*_RAD2DEG:0;y=W?1/(W<0?-W:W):0}if(r.svg){
657
+ p=m=0;g=180-g}c=_round(Math.sqrt(M*M+k*k+F*F));d=_round(Math.sqrt(N*N+L*L));S=_atan2(j,N);v=Math.abs(S)>2e-4?S*_RAD2DEG:0;y=B?1/(B<0?-B:B):0}if(r.svg){
645
658
  //sense if there are CSS transforms applied on an SVG element in which case we must overwrite them when rendering. The transform attribute is more reliable cross-browser, but we can't just remove the CSS ones because they may be applied in a CSS rule somewhere (not just inline).
646
659
  A=t.getAttribute("transform");r.forceCSS=t.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(t,_transformProp));A&&t.setAttribute("transform",A)}}if(Math.abs(v)>90&&Math.abs(v)<270){if(s){c*=-1;v+=m<=0?180:-180;m+=m<=0?180:-180}else{d*=-1;v+=v<=0?180:-180}}i=i||r.uncache;r.x=l-((r.xPercent=l&&(!i&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+o;r.y=h-((r.yPercent=h&&(!i&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+o;r.z=_+o;r.scaleX=_round(c);r.scaleY=_round(d);r.rotation=_round(m)+a;r.rotationX=_round(p)+a;r.rotationY=_round(g)+a;r.skewX=v+a;r.skewY=C+a;r.transformPerspective=y+o;if(r.zOrigin=parseFloat(f.split(" ")[2])||!i&&r.zOrigin||0){n[_transformOriginProp]=_firstTwoOnly(f)}r.xOffset=r.yOffset=0;r.force3D=_config.force3D;r.renderTransform=r.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms;r.uncache=0;return r},_firstTwoOnly=function e(t){return(t=t.split(" "))[0]+" "+t[1]},
647
660
  //for handling transformOrigin values, stripping out the 3rd dimension
648
661
  _addPxTranslate=function e(t,i,r){var n=getUnit(i);return _round(parseFloat(i)+parseFloat(_convertToUnit(t,"x",r+"px",n)))+n},_renderNon3DTransforms=function e(t,i){i.z="0px";i.rotationY=i.rotationX="0deg";i.force3D=0;_renderCSSTransforms(t,i)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function e(t,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,f=r.rotation,l=r.rotationY,h=r.rotationX,_=r.skewX,c=r.skewY,d=r.scaleX,m=r.scaleY,p=r.transformPerspective,g=r.force3D,v=r.target,C=r.zOrigin,y="",w=g==="auto"&&t&&t!==1||g===true;// Safari has a bug that causes it not to render 3D transform-origin values properly, so we force the z origin to 0, record it in the cache, and then do the math here to offset the translate values accordingly (basically do the 3D transform-origin part manually)
649
- if(C&&(h!==_zeroDeg||l!==_zeroDeg)){var P=parseFloat(l)*_DEG2RAD,T=Math.sin(P),b=Math.cos(P),S;P=parseFloat(h)*_DEG2RAD;S=Math.cos(P);o=_addPxTranslate(v,o,T*S*-C);a=_addPxTranslate(v,a,-Math.sin(P)*-C);u=_addPxTranslate(v,u,b*S*-C+C)}if(p!==_zeroPx){y+="perspective("+p+_endParenthesis}if(n||s){y+="translate("+n+"%, "+s+"%) "}if(w||o!==_zeroPx||a!==_zeroPx||u!==_zeroPx){y+=u!==_zeroPx||w?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+_endParenthesis}if(f!==_zeroDeg){y+="rotate("+f+_endParenthesis}if(l!==_zeroDeg){y+="rotateY("+l+_endParenthesis}if(h!==_zeroDeg){y+="rotateX("+h+_endParenthesis}if(_!==_zeroDeg||c!==_zeroDeg){y+="skew("+_+", "+c+_endParenthesis}if(d!==1||m!==1){y+="scale("+d+", "+m+_endParenthesis}v.style[_transformProp]=y||"translate(0, 0)"},_renderSVGTransforms=function e(t,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,f=r.skewX,l=r.skewY,h=r.scaleX,_=r.scaleY,c=r.target,d=r.xOrigin,m=r.yOrigin,p=r.xOffset,g=r.yOffset,v=r.forceCSS,C=parseFloat(o),y=parseFloat(a),w,P,T,b,S;u=parseFloat(u);f=parseFloat(f);l=parseFloat(l);if(l){
662
+ if(C&&(h!==_zeroDeg||l!==_zeroDeg)){var P=parseFloat(l)*_DEG2RAD,T=Math.sin(P),S=Math.cos(P),x;P=parseFloat(h)*_DEG2RAD;x=Math.cos(P);o=_addPxTranslate(v,o,T*x*-C);a=_addPxTranslate(v,a,-Math.sin(P)*-C);u=_addPxTranslate(v,u,S*x*-C+C)}if(p!==_zeroPx){y+="perspective("+p+_endParenthesis}if(n||s){y+="translate("+n+"%, "+s+"%) "}if(w||o!==_zeroPx||a!==_zeroPx||u!==_zeroPx){y+=u!==_zeroPx||w?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+_endParenthesis}if(f!==_zeroDeg){y+="rotate("+f+_endParenthesis}if(l!==_zeroDeg){y+="rotateY("+l+_endParenthesis}if(h!==_zeroDeg){y+="rotateX("+h+_endParenthesis}if(_!==_zeroDeg||c!==_zeroDeg){y+="skew("+_+", "+c+_endParenthesis}if(d!==1||m!==1){y+="scale("+d+", "+m+_endParenthesis}v.style[_transformProp]=y||"translate(0, 0)"},_renderSVGTransforms=function e(t,i){var r=i||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,f=r.skewX,l=r.skewY,h=r.scaleX,_=r.scaleY,c=r.target,d=r.xOrigin,m=r.yOrigin,p=r.xOffset,g=r.yOffset,v=r.forceCSS,C=parseFloat(o),y=parseFloat(a),w,P,T,S,x;u=parseFloat(u);f=parseFloat(f);l=parseFloat(l);if(l){
650
663
  //for performance reasons, we combine all skewing into the skewX and rotation values. Remember, a skewY of 10 degrees looks the same as a rotation of 10 degrees plus a skewX of 10 degrees.
651
- l=parseFloat(l);f+=l;u+=l}if(u||f){u*=_DEG2RAD;f*=_DEG2RAD;w=Math.cos(u)*h;P=Math.sin(u)*h;T=Math.sin(u-f)*-_;b=Math.cos(u-f)*_;if(f){l*=_DEG2RAD;S=Math.tan(f-l);S=Math.sqrt(1+S*S);T*=S;b*=S;if(l){S=Math.tan(l);S=Math.sqrt(1+S*S);w*=S;P*=S}}w=_round(w);P=_round(P);T=_round(T);b=_round(b)}else{w=h;b=_;P=T=0}if(C&&!~(o+"").indexOf("px")||y&&!~(a+"").indexOf("px")){C=_convertToUnit(c,"x",o,"px");y=_convertToUnit(c,"y",a,"px")}if(d||m||p||g){C=_round(C+d-(d*w+m*T)+p);y=_round(y+m-(d*P+m*b)+g)}if(n||s){
664
+ l=parseFloat(l);f+=l;u+=l}if(u||f){u*=_DEG2RAD;f*=_DEG2RAD;w=Math.cos(u)*h;P=Math.sin(u)*h;T=Math.sin(u-f)*-_;S=Math.cos(u-f)*_;if(f){l*=_DEG2RAD;x=Math.tan(f-l);x=Math.sqrt(1+x*x);T*=x;S*=x;if(l){x=Math.tan(l);x=Math.sqrt(1+x*x);w*=x;P*=x}}w=_round(w);P=_round(P);T=_round(T);S=_round(S)}else{w=h;S=_;P=T=0}if(C&&!~(o+"").indexOf("px")||y&&!~(a+"").indexOf("px")){C=_convertToUnit(c,"x",o,"px");y=_convertToUnit(c,"y",a,"px")}if(d||m||p||g){C=_round(C+d-(d*w+m*T)+p);y=_round(y+m-(d*P+m*S)+g)}if(n||s){
652
665
  //The SVG spec doesn't support percentage-based translation in the "transform" attribute, so we merge it into the translation to simulate it.
653
- S=c.getBBox();C=_round(C+n/100*S.width);y=_round(y+s/100*S.height)}S="matrix("+w+","+P+","+T+","+b+","+C+","+y+")";c.setAttribute("transform",S);v&&(c.style[_transformProp]=S);//some browsers prioritize CSS transforms over the transform attribute. When we sense that the user has CSS transforms applied, we must overwrite them this way (otherwise some browser simply won't render the transform attribute changes!)
666
+ x=c.getBBox();C=_round(C+n/100*x.width);y=_round(y+s/100*x.height)}x="matrix("+w+","+P+","+T+","+S+","+C+","+y+")";c.setAttribute("transform",x);v&&(c.style[_transformProp]=x);//some browsers prioritize CSS transforms over the transform attribute. When we sense that the user has CSS transforms applied, we must overwrite them this way (otherwise some browser simply won't render the transform attribute changes!)
654
667
  },_addRotationalPropTween=function e(t,i,r,n,s){var o=360,a=_isString(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?_RAD2DEG:1),f=u-n,l=n+f+"deg",h,_;if(a){h=s.split("_")[1];if(h==="short"){f%=o;if(f!==f%(o/2)){f+=f<0?o:-o}}if(h==="cw"&&f<0){f=(f+o*_bigNum)%o-~~(f/o)*o}else if(h==="ccw"&&f>0){f=(f-o*_bigNum)%o-~~(f/o)*o}}t._pt=_=new PropTween(t._pt,i,r,n,f,_renderPropWithEnd);_.e=l;_.u="deg";t._props.push(r);return _},_assign=function e(t,i){
655
668
  // Internet Explorer doesn't have Object.assign(), so we recreate it here.
656
669
  for(var r in i){t[r]=i[r]}return t},_addRawTransformPTs=function e(t,i,r){
@@ -660,14 +673,14 @@ var n=_assign({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.
660
673
  c=getUnit(f);d=getUnit(l);h=c!==d?_convertToUnit(r,u,f,d):parseFloat(f);_=parseFloat(l);t._pt=new PropTween(t._pt,a,u,h,_-h,_renderCSSProp);t._pt.u=d||0;t._props.push(u)}}_assign(a,n)};// handle splitting apart padding, margin, borderWidth, and borderRadius into their 4 components. Firefox, for example, won't report borderRadius correctly - it will only do borderTopLeftRadius and the other corners. We also want to handle paddingTop, marginLeft, borderRightWidth, etc.
661
674
  _forEachName("padding,margin,Width,Radius",(function(e,t){var i="Top",r="Right",n="Bottom",s="Left",o=(t<3?[i,r,n,s]:[i+s,i+r,n+r,n+s]).map((function(i){return t<2?e+i:"border"+i+e}));_specialProps[t>1?"border"+e:e]=function(e,t,i,r,n){var s,a;if(arguments.length<4){
662
675
  // getter, passed target, property, and unit (from _get())
663
- s=o.map((function(t){return _get(e,t,i)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(r+"").split(" ");a={};o.forEach((function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]}));e.init(t,a,n)}}));var CSSPlugin={name:"css",register:_initCore,targetTest:function e(t){return t.style&&t.nodeType},init:function e(t,i,r,n,s){var o=this._props,a=t.style,u=r.vars.startAt,f,l,h,_,c,d,m,p,g,v,C,y,w,P,T,b;_pluginInitted||_initCore();// we may call init() multiple times on the same plugin instance, like when adding special properties, so make sure we don't overwrite the revert data or inlineProps
664
- this.styles=this.styles||_getStyleSaver(t);b=this.styles.props;this.tween=r;for(m in i){if(m==="autoRound"){continue}l=i[m];if(_plugins[m]&&_checkPlugin(m,i,r,n,t,s)){
676
+ s=o.map((function(t){return _get(e,t,i)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(r+"").split(" ");a={};o.forEach((function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]}));e.init(t,a,n)}}));var CSSPlugin={name:"css",register:_initCore,targetTest:function e(t){return t.style&&t.nodeType},init:function e(t,i,r,n,s){var o=this._props,a=t.style,u=r.vars.startAt,f,l,h,_,c,d,m,p,g,v,C,y,w,P,T,S,x;_pluginInitted||_initCore();// we may call init() multiple times on the same plugin instance, like when adding special properties, so make sure we don't overwrite the revert data or inlineProps
677
+ this.styles=this.styles||_getStyleSaver(t);S=this.styles.props;this.tween=r;for(m in i){if(m==="autoRound"){continue}l=i[m];if(_plugins[m]&&_checkPlugin(m,i,r,n,t,s)){
665
678
  // plugins
666
679
  continue}c=typeof l;d=_specialProps[m];if(c==="function"){l=l.call(r,n,t,s);c=typeof l}if(c==="string"&&~l.indexOf("random(")){l=_replaceRandom(l)}if(d){d(this,t,m,l,r)&&(T=1)}else if(m.substr(0,2)==="--"){
667
680
  //CSS variable
668
681
  f=(getComputedStyle(t).getPropertyValue(m)+"").trim();l+="";_colorExp.lastIndex=0;if(!_colorExp.test(f)){
669
682
  // colors don't have units
670
- p=getUnit(f);g=getUnit(l)}g?p!==g&&(f=_convertToUnit(t,m,f,g)+g):p&&(l+=p);this.add(a,"setProperty",f,l,n,s,0,0,m);o.push(m);b.push(m,0,a[m])}else if(c!=="undefined"){if(u&&m in u){
683
+ p=getUnit(f);g=getUnit(l);g?p!==g&&(f=_convertToUnit(t,m,f,g)+g):p&&(l+=p)}this.add(a,"setProperty",f,l,n,s,0,0,m);o.push(m);S.push(m,0,a[m])}else if(c!=="undefined"){if(u&&m in u){
671
684
  // in case someone hard-codes a complex value as the start, like top: "calc(2vh / 2)". Without this, it'd use the computed value (always in px)
672
685
  f=typeof u[m]==="function"?u[m].call(r,n,t,s):u[m];_isString(f)&&~f.indexOf("random(")&&(f=_replaceRandom(f));getUnit(f+"")||f==="auto"||(f+=_config.units[m]||getUnit(_get(t,m))||"");// for cases when someone passes in a unitless value like {x: 100}; if we try setting translate(100, 0px) it won't work.
673
686
  (f+"").charAt(1)==="="&&(f=_get(t,m));// can't work with relative values
@@ -675,18 +688,19 @@ f=typeof u[m]==="function"?u[m].call(r,n,t,s):u[m];_isString(f)&&~f.indexOf("ran
675
688
  //special case where we control the visibility along with opacity. We still allow the opacity value to pass through and get tweened.
676
689
  if(_===1&&_get(t,"visibility")==="hidden"&&h){
677
690
  //if visibility is initially set to "hidden", we should interpret that as intent to make opacity 0 (a convenience)
678
- _=0}b.push("visibility",0,a.visibility);_addNonTweeningPT(this,a,"visibility",_?"inherit":"hidden",h?"inherit":"hidden",!h)}if(m!=="scale"&&m!=="transform"){m=_propertyAliases[m];~m.indexOf(",")&&(m=m.split(",")[0])}}C=m in _transformProps;//--- TRANSFORM-RELATED ---
679
- if(C){this.styles.save(m);if(c==="string"&&l.substring(0,6)==="var(--"){l=_getComputedProperty(t,l.substring(4,l.indexOf(")")));h=parseFloat(l)}if(!y){w=t._gsap;w.renderTransform&&!i.parseTransform||_parseTransform(t,i.parseTransform);// if, for example, gsap.set(... {transform:"translateX(50vw)"}), the _get() call doesn't parse the transform, thus cache.renderTransform won't be set yet so force the parsing of the transform here.
691
+ _=0}S.push("visibility",0,a.visibility);_addNonTweeningPT(this,a,"visibility",_?"inherit":"hidden",h?"inherit":"hidden",!h)}if(m!=="scale"&&m!=="transform"){m=_propertyAliases[m];~m.indexOf(",")&&(m=m.split(",")[0])}}C=m in _transformProps;//--- TRANSFORM-RELATED ---
692
+ if(C){this.styles.save(m);x=l;// this is always the same as endValue except when it's a var(--) value, in which case we need to calculate the end value.
693
+ if(c==="string"&&l.substring(0,6)==="var(--"){l=_getComputedProperty(t,l.substring(4,l.indexOf(")")));if(l.substring(0,5)==="calc("){var b=t.style.perspective;t.style.perspective=l;l=_getComputedProperty(t,"perspective");b?t.style.perspective=b:_removeProperty(t,"perspective")}h=parseFloat(l)}if(!y){w=t._gsap;w.renderTransform&&!i.parseTransform||_parseTransform(t,i.parseTransform);// if, for example, gsap.set(... {transform:"translateX(50vw)"}), the _get() call doesn't parse the transform, thus cache.renderTransform won't be set yet so force the parsing of the transform here.
680
694
  P=i.smoothOrigin!==false&&w.smooth;y=this._pt=new PropTween(this._pt,a,_transformProp,0,1,w.renderTransform,w,0,-1);//the first time through, create the rendering PropTween so that it runs LAST (in the linked list, we keep adding to the beginning)
681
695
  y.dep=1;//flag it as dependent so that if things get killed/overwritten and this is the only PropTween left, we can safely kill the whole tween.
682
- }if(m==="scale"){this._pt=new PropTween(this._pt,w,"scaleY",w.scaleY,(v?_parseRelative(w.scaleY,v+h):h)-w.scaleY||0,_renderCSSProp);this._pt.u=0;o.push("scaleY",m);m+="X"}else if(m==="transformOrigin"){b.push(_transformOriginProp,0,a[_transformOriginProp]);l=_convertKeywordsToPercentages(l);//in case something like "left top" or "bottom right" is passed in. Convert to percentages.
696
+ }if(m==="scale"){this._pt=new PropTween(this._pt,w,"scaleY",w.scaleY,(v?_parseRelative(w.scaleY,v+h):h)-w.scaleY||0,_renderCSSProp);this._pt.u=0;o.push("scaleY",m);m+="X"}else if(m==="transformOrigin"){S.push(_transformOriginProp,0,a[_transformOriginProp]);l=_convertKeywordsToPercentages(l);//in case something like "left top" or "bottom right" is passed in. Convert to percentages.
683
697
  if(w.svg){_applySVGOrigin(t,l,0,P,0,this)}else{g=parseFloat(l.split(" ")[2])||0;//handle the zOrigin separately!
684
698
  g!==w.zOrigin&&_addNonTweeningPT(this,w,"zOrigin",w.zOrigin,g);_addNonTweeningPT(this,a,m,_firstTwoOnly(f),_firstTwoOnly(l))}continue}else if(m==="svgOrigin"){_applySVGOrigin(t,l,1,P,0,this);continue}else if(m in _rotationalProperties){_addRotationalPropTween(this,w,m,_,v?_parseRelative(_,v+l):l);continue}else if(m==="smoothOrigin"){_addNonTweeningPT(this,w,"smooth",w.smooth,l);continue}else if(m==="force3D"){w[m]=l;continue}else if(m==="transform"){_addRawTransformPTs(this,l,t);continue}}else if(!(m in a)){m=_checkPropPrefix(m)||m}if(C||(h||h===0)&&(_||_===0)&&!_complexExp.test(l)&&m in a){p=(f+"").substr((_+"").length);h||(h=0);// protect against NaN
685
- g=getUnit(l)||(m in _config.units?_config.units[m]:p);p!==g&&(_=_convertToUnit(t,m,f,g));this._pt=new PropTween(this._pt,C?w:a,m,_,(v?_parseRelative(_,v+h):h)-_,!C&&(g==="px"||m==="zIndex")&&i.autoRound!==false?_renderRoundedCSSProp:_renderCSSProp);this._pt.u=g||0;if(p!==g&&g!=="%"){
699
+ g=getUnit(l)||(m in _config.units?_config.units[m]:p);p!==g&&(_=_convertToUnit(t,m,f,g));this._pt=new PropTween(this._pt,C?w:a,m,_,(v?_parseRelative(_,v+h):h)-_,!C&&(g==="px"||m==="zIndex")&&i.autoRound!==false?_renderRoundedCSSProp:_renderCSSProp);this._pt.u=g||0;if(C&&x!==l){this._pt.b=f;this._pt.e=x;this._pt.r=_renderCSSPropWithBeginningAndEnd}else if(p!==g&&g!=="%"){
686
700
  //when the tween goes all the way back to the beginning, we need to revert it to the OLD/ORIGINAL value (with those units). We record that as a "b" (beginning) property and point to a render method that handles that. (performance optimization)
687
701
  this._pt.b=f;this._pt.r=_renderCSSPropWithBeginning}}else if(!(m in a)){if(m in t){
688
702
  //maybe it's not a style - it could be a property added directly to an element in which case we'll try to animate that.
689
- this.add(t,m,f||t[m],v?v+l:l,n,s)}else if(m!=="parseTransform"){_missingPlugin(m,l);continue}}else{_tweenComplexCSSString.call(this,t,m,f,v?v+l:l)}C||(m in a?b.push(m,0,a[m]):typeof t[m]==="function"?b.push(m,2,t[m]()):b.push(m,1,f||t[m]));o.push(m)}}T&&_sortPropTweensByPriority(this)},render:function e(t,i){if(i.tween._time||!_reverting()){var r=i._pt;while(r){r.r(t,r.d);r=r._next}}else{i.styles.revert()}},get:_get,aliases:_propertyAliases,getSetter:function e(t,i,r){
703
+ this.add(t,m,f||t[m],v?v+l:l,n,s)}else if(m!=="parseTransform"){_missingPlugin(m,l);continue}}else{_tweenComplexCSSString.call(this,t,m,f,v?v+l:l)}C||(m in a?S.push(m,0,a[m]):typeof t[m]==="function"?S.push(m,2,t[m]()):S.push(m,1,f||t[m]));o.push(m)}}T&&_sortPropTweensByPriority(this)},render:function e(t,i){if(i.tween._time||!_reverting()){var r=i._pt;while(r){r.r(t,r.d);r=r._next}}else{i.styles.revert()}},get:_get,aliases:_propertyAliases,getSetter:function e(t,i,r){
690
704
  //returns a setter function that accepts target, property, value and applies it accordingly. Remember, properties like "x" aren't as simple as target.style.property = value because they've got to be applied to a proxy object and then merged into a transform string in a renderer.
691
705
  var n=_propertyAliases[i];n&&n.indexOf(",")<0&&(i=n);return i in _transformProps&&i!==_transformOriginProp&&(t._gsap.x||_get(t,"x"))?r&&_recentSetterPlugin===r?i==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=r||{})&&(i==="scale"?_setterScaleWithRender:_setterTransformWithRender):t.style&&!_isUndefined(t.style[i])?_setterCSSStyle:~i.indexOf("-")?_setterCSSProp:_getSetter(t,i)},core:{_removeProperty:_removeProperty,_getMatrix:_getMatrix}};gsap.utils.checkPrefix=_checkPropPrefix;gsap.core.getStyleSaver=_getStyleSaver;(function(e,t,i,r){var n=_forEachName(e+","+t+","+i,(function(e){_transformProps[e]=1}));_forEachName(t,(function(e){_config.units[e]="deg";_rotationalProperties[e]=1}));_propertyAliases[n[13]]=e+","+t;_forEachName(r,(function(e){var t=e.split(":");_propertyAliases[t[1]]=n[t[0]]}))})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){_config.units[e]="px"}));gsap.registerPlugin(CSSPlugin);var gsapWithCSS=gsap.registerPlugin(CSSPlugin)||gsap;var miaSvg='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="head-default">\n <path id="border-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" stroke="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))" stroke-width="var(--mds-emoji-mia-head-stroke-width, 2px)" fill="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))"/>\n <path id="path-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" fill="var(--mds-emoji-mia-head-color, rgb(224 207 253))"/>\n </g>\n <g id="eyes-default">\n <path id="left-eye" d="M8 8H10V12H8V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye" d="M14 8H16V12H14V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <g id="eyes-closed" style="visibility:hidden;">\n <path id="left-eye-closed" d="M6 10H10V12H6V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye-closed" d="M14 10H18V12H14V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <path id="mouth-default" d="M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-smile" style="visibility:hidden;" d="M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-serious" style="visibility:hidden;" d="M8 15H16V17H8V15Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="hand-think" style="visibility:hidden;" d="M6 16C6.55228 16 7 16.4477 7 17V18H13C13.5523 18 14 18.4477 14 19C14 19.5523 13.5523 20 13 20H10.3818C11.1252 20 11.6088 20.7824 11.2764 21.4473L10.2764 23.4473C10.107 23.786 9.76059 24 9.38184 24H4V20L5 18V16H6Z" fill="var(--mds-emoji-mia-hands-color, rgb(98 12 245))"/>\n</svg>\n';var simiSvg='<svg width="440" height="440" viewBox="0 0 440 440" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="ears-default">\n <g id="ear-right">\n <path id="ear-right-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M351.676 53.2891C356.294 52.7076 360.415 52.9806 363.838 54.3252C364.658 54.6472 365.437 55.0331 366.178 55.4746C368.347 56.9073 370.299 58.8573 372.053 61.2344C385.423 81.3621 375.744 133.891 368.078 161.119C374.135 161.321 386.734 162.455 388.672 165.367C391.094 169.008 380.992 189.032 358.387 195.1C357.17 195.426 355.929 195.687 354.667 195.888C317.523 201.796 244.693 161.119 265.859 130.788C281.528 108.336 324.274 59.2313 351.676 53.2891Z"/>\n <path id="ear-right-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M350.023 84.8079C329.105 90.1196 311.307 114.384 305.023 125.853C299.251 136.387 303.53 147.927 311.277 155C320.553 163.469 334.801 165.535 342.726 151.808C361.778 118.808 355.529 93.3915 350.023 84.8079Z"/>\n <path id="ear-right-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M349.523 84.5C334.523 89 291.523 121 306.523 149"/>\n </g>\n <g id="ear-left">\n <path id="ear-left-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M89.3476 53.2891C84.7294 52.7076 80.6085 52.9806 77.1855 54.3252C76.3658 54.6472 75.5869 55.0331 74.8457 55.4746C72.6763 56.9073 70.7246 58.8573 68.9707 61.2344C55.6008 81.3621 65.2794 133.891 72.9453 161.119C66.8883 161.321 54.2898 162.455 52.3516 165.367C49.9291 169.008 60.0319 189.032 82.6367 195.1C83.8533 195.426 85.0943 195.687 86.3564 195.888C123.5 201.796 196.33 161.119 175.164 130.788C159.496 108.336 116.75 59.2313 89.3476 53.2891Z"/>\n <path id="ear-left-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M91 84.8079C111.919 90.1196 129.716 114.384 136 125.853C141.772 136.387 137.494 147.927 129.747 155C120.471 163.469 106.223 165.535 98.2973 151.808C79.2451 118.808 85.494 93.3915 91 84.8079Z"/>\n <path id="ear-left-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M91.5 84.5C106.5 89 149.5 121 134.5 149"/>\n </g>\n </g>\n <g id="head-default">\n <path id="shape-head" fill="var(--mds-emoji-simi-skin, #F36320)" d="M378.732 217.557C340.98 122.357 268.622 107.557 219.909 107.557C171.197 107.557 98.8384 122.357 61.0863 217.557C50.181 245.057 52.6419 250.557 21.1818 271.057C19.6595 281.557 27.7783 295.057 42.4935 297.057C38.7724 298.224 30.5183 300.557 27.2708 300.557C23.2115 300.557 65.1456 387.557 219.909 387.557C374.673 387.557 416.789 300.057 412.729 300.057C409.482 300.057 401.228 297.724 397.507 296.557C412.222 294.557 420.34 281.057 418.818 270.557C387.358 250.057 389.637 245.057 378.732 217.557Z"/>\n <g id="ear-tufts">\n <g id="right-tuft">\n <path id="right-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M336.411 123.628C333.005 118.799 313.911 124.433 304.789 127.853C295.789 132.254 282.34 139.697 296.289 146.057C313.289 153.808 342.492 168.294 342.492 153.808C343.708 143.547 331.749 140.126 326.681 139.321C331.343 136.102 339.816 128.457 336.411 123.628Z"/>\n <path id="right-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M304.789 127.853C313.911 124.433 333.005 118.799 336.411 123.628C339.816 128.457 331.343 136.102 326.681 139.321C331.749 140.126 343.708 143.547 342.492 153.808"/>\n </g>\n <g id="left-tuft">\n <path id="left-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M104.167 122.628C107.573 117.799 126.667 123.433 135.789 126.853C144.789 131.254 158.239 138.697 144.289 145.057C127.289 152.808 98.0863 167.294 98.0863 152.808C96.8701 142.547 108.83 139.126 113.897 138.321C109.235 135.102 100.762 127.457 104.167 122.628Z"/>\n <path id="left-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M135.789 126.853C126.667 123.433 107.573 117.799 104.167 122.628C100.762 127.457 109.235 135.102 113.897 138.321C108.83 139.126 96.8701 142.547 98.0864 152.808"/>\n </g>\n </g>\n <g id="cheeks">\n <path id="right-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M380.5 290.057C364 262.557 340 266.355 318 279.057C344.5 305.557 344 327.557 330 361.557C384.8 341.157 386.5 305.39 380.5 290.057Z"/>\n <path id="left-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M59.3658 290.057C75.8658 262.557 99.8658 266.355 121.866 279.057C95.3658 305.557 95.8658 327.557 109.866 361.557C55.0658 341.157 53.3658 305.39 59.3658 290.057Z"/>\n </g>\n <path id="chin" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 372.557C256.675 372.557 286 352.186 286 327.057C286 301.928 256.675 260.557 220.5 260.557C184.325 260.557 155 301.928 155 327.057C155 352.186 184.325 372.557 220.5 372.557Z"/>\n </g>\n <g id="eyebrows-default">\n <path id="left-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M175.248 176.007C177.691 183.997 168.289 189.539 152.865 194.255C137.442 198.97 131.072 201.193 128.629 193.203C126.186 185.212 132.802 175.371 148.226 170.655C163.649 165.94 172.805 168.016 175.248 176.007Z"/>\n <path id="right-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M265.189 175.007C262.746 182.997 272.148 188.539 287.572 193.255C302.995 197.97 309.365 200.193 311.808 192.203C314.251 184.212 307.635 174.371 292.211 169.655C276.788 164.94 267.632 167.016 265.189 175.007Z"/>\n </g>\n <g id="eyes-default" style="transform-origin:50% 50%;">\n <g id="right-eye">\n <ellipse id="right-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(12 287.002 249.057)"/>\n <circle id="right-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye">\n <ellipse id="left-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-0.978148 0.207912 0.207912 0.978148 165.139 221.541)"/>\n <circle id="left-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <g id="eyes-closed" style="visibility: hidden;">\n <path id="left-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M125 248.5C137.5 240.5 167.1 241.3 179.5 248.5"/>\n <path id="right-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M315.5 248.5C303 240.5 273.4 241.3 261 248.5"/>\n </g>\n <g id="eyes-focused" style="visibility: hidden;">\n <g id="right-eye-focused">\n <ellipse id="right-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(-90 287.002 249.057)"/>\n <circle id="right-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye-focused">\n <ellipse id="left-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 127.637 230.852)"/>\n <circle id="left-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <path id="gadget-default" fill="var(--mds-emoji-simi-gadget, #2B1C15)" fill-rule="evenodd" clip-rule="evenodd" d="M296 186C327.723 186 353.88 209.825 357.557 240.558H367C370.314 240.558 373 243.244 373 246.558C373 249.871 370.314 252.558 367 252.558H357.834C355.501 284.671 328.709 310 296 310C262.189 310 234.7 282.936 234.014 249.289C230.711 246.983 225.885 245.558 220.5 245.558C215.114 245.558 210.288 246.983 206.985 249.289C206.299 282.936 178.811 310 145 310C112.291 310 85.4993 284.671 83.166 252.558H74C70.6864 252.558 68.0002 249.871 68 246.558C68 243.244 70.6863 240.558 74 240.558H83.4434C87.12 209.825 113.277 186 145 186C175.248 186 200.437 207.662 205.9 236.318C210.539 234.42 215.652 233.558 220.5 233.558C225.348 233.558 230.461 234.419 235.099 236.317C240.563 207.661 265.752 186 296 186ZM145 198C117.386 198 95 220.386 95 248C95 275.614 117.386 298 145 298C172.614 298 195 275.614 195 248C195 220.386 172.614 198 145 198ZM296 198C268.386 198 246 220.386 246 248C246 275.614 268.386 298 296 298C323.614 298 346 275.614 346 248C346 220.386 323.614 198 296 198Z"/>\n <g id="mouth-default">\n <path id="muzzle-shape-mouth-default" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-mouth-default" fill="var(--mds-emoji-simi-mouth, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-default">\n <path id="node-shape-mouth-default" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-default" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-smile" style="visibility: hidden;">\n <g id="inner-mouth">\n <ellipse id="throat-mouth-smile" fill="var(--mds-emoji-simi-mouth-throat, #C3481B)" cx="220.5" cy="326" rx="32.5" ry="29" />\n <path id="teeth-mouth-smile" fill="var(--mds-emoji-simi-mouth-teeth, #FFFFFF)" d="M220.5 329C235.689 329 248.003 331.686 248.003 335C248.003 338.314 235.689 341 220.5 341C205.311 341 192.997 338.314 192.997 335C192.997 331.686 205.311 329 220.5 329Z"/>\n <path id="lips-mouth-smile" stroke="var(--mds-emoji-simi-nose, #2B1C15)" stroke-width="7" d="M220.5 300.5C236.62 300.5 249.5 313.138 249.5 328.5C249.5 343.862 236.62 356.5 220.5 356.5C204.38 356.5 191.5 343.862 191.5 328.5C191.5 313.138 204.38 300.5 220.5 300.5Z" />\n </g>\n <path id="muzzle-shape-mouth-smile" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-smile">\n <path id="nose-shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-smile" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-serious" style="visibility: hidden;">\n <path id="muzzle-shape-mouth-serious" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298C221.933 298 223.5 299.567 223.5 301.5V326.675C224.663 326.774 225.818 326.903 226.821 327.026C227.869 327.155 228.796 327.283 229.462 327.38C229.795 327.428 230.064 327.469 230.251 327.497C230.344 327.511 230.418 327.522 230.469 327.53C230.494 327.534 230.514 327.538 230.527 327.54C230.534 327.541 230.539 327.541 230.543 327.542C230.545 327.542 230.547 327.543 230.548 327.543H230.55C232.459 327.847 233.76 329.641 233.456 331.55C233.152 333.459 231.359 334.76 229.45 334.456C229.45 334.456 229.448 334.456 229.447 334.456C229.445 334.456 229.441 334.455 229.436 334.454C229.426 334.452 229.41 334.451 229.389 334.447C229.345 334.441 229.28 334.43 229.194 334.417C229.023 334.391 228.772 334.353 228.458 334.308C227.83 334.217 226.954 334.095 225.968 333.974C223.947 333.725 221.629 333.5 220 333.5C218.371 333.5 216.053 333.725 214.032 333.974C213.046 334.095 212.17 334.217 211.542 334.308C211.228 334.353 210.977 334.391 210.806 334.417C210.72 334.43 210.655 334.441 210.611 334.447C210.59 334.451 210.574 334.452 210.563 334.454C210.559 334.455 210.555 334.456 210.553 334.456C210.552 334.456 210.55 334.456 210.55 334.456C208.641 334.76 206.848 333.459 206.544 331.55C206.24 329.641 207.541 327.848 209.45 327.544L209.452 327.543C209.453 327.543 209.455 327.542 209.457 327.542C209.461 327.541 209.466 327.541 209.473 327.54C209.486 327.538 209.506 327.534 209.531 327.53C209.582 327.522 209.656 327.511 209.749 327.497C209.936 327.469 210.205 327.428 210.538 327.38C211.204 327.283 212.131 327.155 213.179 327.026C214.182 326.903 215.337 326.774 216.5 326.675V301.5C216.5 299.567 218.067 298 220 298Z" />\n <g id="nose-mouth-serious">\n <path id="nose-shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-serious" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="hand-think" style="visibility: hidden;">\n <path id="shape-hand-think" fill="var(--mds-emoji-simi-skin, #F36320)" d="M237.5 438C238.5 435 241 428.5 243.5 421.5C257.989 413.451 258.739 397.302 255.5 383.467C278 367.934 263.5 350 255.5 350C251.5 340.4 242.5 339 238.5 339.5C244.5 324 233 323.5 229 323.5C225 323.5 202.5 323 189 351C183.4 374.6 195 400.833 201.5 411C200.667 411.5 199 414.5 195.5 420C211 426.5 204 423.5 237.5 438Z" />\n <path id="palm-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M251 369C267 409.5 249.5 416.5 242 423.5L236.5 437.5"/>\n <path id="finger-3-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 382.5C262.5 379.333 273.7 370.1 266.5 358.5C257.5 344 234 360 230 363"/>\n <path id="finger-2-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 350.5C256 338 236.1 329.9 208.5 357.5"/>\n <path id="finger-1-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M196.5 420.5L201.5 410.5C195.167 400 183.8 373.6 189 352C194.2 330.4 218.833 323.667 230.5 323C235.333 322.5 243.9 325.1 239.5 339.5"/>\n </g>\n</svg>\n';var mdsEmojiCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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-emoji-expression-follow-mouse-traits-duration:.2s;--mds-emoji-expression-follow-mouse-head-duration:.3s;--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:400px;align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,400px);perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transform-style:preserve-3d;transition:transform .2s ease-out;width:100%}:host([name=mia]){--mds-emoji-mia-eyes-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-offset-eyes:1px;--mds-emoji-offset-gadget:1px;--mds-emoji-offset-hands:2px;--mds-emoji-offset-head:0;--mds-emoji-offset-mouth:1px;container-type:size}:host([name=simi]){--mds-emoji-offset-ears:0;--mds-emoji-offset-eyebrows:10px;--mds-emoji-offset-eyes:7px;--mds-emoji-offset-gadget:14px;--mds-emoji-offset-hands:18px;--mds-emoji-offset-head:5px;--mds-emoji-offset-mouth:16px;--mds-emoji-simi-eye-light:#fff;--mds-emoji-simi-eye:#40281b;--mds-emoji-simi-eyebrow:#feefd8;--mds-emoji-simi-gadget:#2b1c15;--mds-emoji-simi-mouth-teeth:#fff;--mds-emoji-simi-mouth-throat:#c3481b;--mds-emoji-simi-mouth:#2b1c15;--mds-emoji-simi-nose-light:#7e695f;--mds-emoji-simi-nose:#2b1c15;--mds-emoji-simi-outline:#2b1c15;--mds-emoji-simi-skin-dark:#c3481b;--mds-emoji-simi-skin-light:#feefd8;--mds-emoji-simi-skin:#f36320}"};var MdsEmoji=/** @class */function(){function e(e){var t=this;registerInstance(this,e);
692
706
  /**
@@ -705,10 +719,23 @@ this.expressionAnimations=[];
705
719
  // How far the thinking hand slides in and out, as a share of its own size: a
706
720
  // viewBox independent value, so the gesture reads the same on Mia (24 units) and
707
721
  // on Simi (440 units).
708
- this.handEntryOffset=25;this.wasFollowingMouse=false;this.wasBlinking=false;this.headOffsetX=0;this.headOffsetY=0;this.headOffset=0;this.eyesOffsetX=0;this.eyesOffsetY=0;this.eyesOffset=1;this.mouthOffsetX=0;this.mouthOffsetY=0;this.mouthOffset=1;this.handOffsetX=0;this.handOffsetY=0;this.handOffset=2;this.gadgetOffsetX=0;this.gadgetOffsetY=0;this.gadgetOffset=2;this.eyebrowsOffsetX=0;this.eyebrowsOffsetY=0;this.eyebrowsOffset=2;this.earsOffsetX=0;this.earsOffsetY=0;this.earsOffset=2;this.mouseX=0;this.mouseY=0;this.currentRotateX=0;this.currentRotateY=0;this.expressionAngleMax=16;// massimo angolo di rotazione della emoji
722
+ this.handEntryOffset=25;this.wasFollowingMouse=false;this.wasBlinking=false;this.headOffsetX=0;this.headOffsetY=0;this.headOffset=0;this.eyesOffsetX=0;this.eyesOffsetY=0;this.eyesOffset=1;this.mouthOffsetX=0;this.mouthOffsetY=0;this.mouthOffset=1;this.handOffsetX=0;this.handOffsetY=0;this.handOffset=2;this.gadgetOffsetX=0;this.gadgetOffsetY=0;this.gadgetOffset=2;this.eyebrowsOffsetX=0;this.eyebrowsOffsetY=0;this.eyebrowsOffset=2;this.earsOffsetX=0;this.earsOffsetY=0;this.earsOffset=2;this.mouseX=0;this.mouseY=0;this.currentRotateX=0;this.currentRotateY=0;
723
+ // Whether the values below come from the computed style. They are read lazily
724
+ // by rotate until it is available: see updateCSSCustomProps.
725
+ this.cssCustomPropsRead=false;this.expressionAngleMax=16;// massimo angolo di rotazione della emoji
709
726
  this.expressionFollowMouseHeadDuration=.3;// durata dell'animazione di rotazione della testa quando segue il mouse
710
727
  this.expressionFollowMouseTraitsDuration=.2;// durata dell'animazione di rotazione degli occhi e della bocca quando segue il mouse
711
- this.blinkTimeline=null;this.blinkDelay=null;this.svgLibrary={mia:miaSvg,simi:simiSvg};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var e=window.getComputedStyle(t.host);t.expressionAngleMax=cssRotationToNumber(e.getPropertyValue("--mds-emoji-expression-max-rotation"),16);t.expressionFollowMouseHeadDuration=cssDurationToSeconds(e.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"));t.expressionFollowMouseTraitsDuration=cssDurationToSeconds(e.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"));t.headOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-head"),1);t.eyesOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-eyes"),1);t.mouthOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-mouth"),1);t.handOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-hands"),1);t.gadgetOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-gadget"),1);t.eyebrowsOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-eyebrows"),1);t.earsOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-ears"),1)};this.updateSvgDictionary=function(e){if(typeof window==="undefined")return;var i=document.createElement("template");i.innerHTML=t.svgLibrary[e].trim();t.svgRootEl=i.content.firstElementChild;t.updateCSSCustomProps();
728
+ this.blinkTimeline=null;this.blinkDelay=null;this.svgLibrary={mia:miaSvg,simi:simiSvg};
729
+ /**
730
+ * Stops the tracking and recentres the face, keeping whether it was on: an expression pauses
731
+ * it this way and restoreFollowMouse resumes it when the expression ends.
732
+ */this.pauseFollowMouse=function(){if(!t.isFollowingMouse)return Promise.resolve();t.isFollowingMouse=false;t.rotate(0,0);return new Promise((function(e){return setTimeout(e,t.expressionFollowMouseTraitsDuration*1e3)}))};this.isEmojiName=function(e){return e!=null&&{}.hasOwnProperty.call(t.svgLibrary,e)};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var e=window.getComputedStyle(t.host);
733
+ // Stencil loads children before their parents, so a slotted emoji reaches
734
+ // componentDidLoad while its host's shadow DOM has not rendered the slot yet.
735
+ // Outside the flat tree the computed style is empty, every value fell back and
736
+ // the durations became 1000 seconds: the head took minutes to follow the
737
+ // pointer. Keep the current values and let rotate read them again later.
738
+ if(e.display===""){t.cssCustomPropsRead=false;return}t.cssCustomPropsRead=true;t.expressionAngleMax=cssRotationToNumber(e.getPropertyValue("--mds-emoji-expression-max-rotation"),16);t.expressionFollowMouseHeadDuration=cssDurationToSeconds(e.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"),.3);t.expressionFollowMouseTraitsDuration=cssDurationToSeconds(e.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"),.2);t.headOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-head"),1);t.eyesOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-eyes"),1);t.mouthOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-mouth"),1);t.handOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-hands"),1);t.gadgetOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-gadget"),1);t.eyebrowsOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-eyebrows"),1);t.earsOffset=cssSizeToNumber(e.getPropertyValue("--mds-emoji-offset-ears"),1)};this.updateSvgDictionary=function(e){if(typeof window==="undefined")return;var i=document.createElement("template");i.innerHTML=t.svgLibrary[e].trim();t.svgRootEl=i.content.firstElementChild;t.updateCSSCustomProps();
712
739
  // The shadow DOM is fully replaced, so every cached node/setter/timeline now
713
740
  // points at detached elements: drop them so they rebuild against the new SVG.
714
741
  t.resetAnimationState();if(t.host.shadowRoot)t.host.shadowRoot.innerHTML=t.svgRootEl.outerHTML;if(t.isBlinking){t.blinkTimeline=t.buildBlinkTimeline();t.scheduleBlink()}
@@ -762,13 +789,13 @@ var e=t.getEmojiCenter(),i=e.centerX,r=e.centerY;t.moveHead(i,r)};this.stopConcu
762
789
  // An expression owns the whole face: smile, agree, disagree and think must not
763
790
  // play while the traits are still offset toward the last pointer position, so
764
791
  // stop tracking and bring the emoji back to centre, where it looks straight at
765
- // whoever is watching. stopFollowMouse self-guards on isFollowingMouse and
792
+ // whoever is watching. pauseFollowMouse self-guards on isFollowingMouse and
766
793
  // already re-centres through rotate(0, 0), but it is a no-op when the pointer
767
794
  // was never followed, hence the explicit moveHead.
768
795
  // The centring used to be scattered: disagree and startThinking did it in the
769
796
  // public method, smile inside setSmileAnimation, and agree not at all. Doing it
770
797
  // here is the single place every expression goes through.
771
- t.stopFollowMouse();
798
+ t.pauseFollowMouse();
772
799
  // Thinking is torn down here rather than through stopThinking(): that method
773
800
  // hands the face back and schedules the blinking again, both of which would
774
801
  // land in the middle of the expression that is starting right now.
@@ -781,13 +808,19 @@ var e=t.isThinking;t.isThinking=false;t.pauseBlinking();t.killExpressionAnimatio
781
808
  var i=t.getEmojiCenter(),r=i.centerX,n=i.centerY;t.moveHead(r,n,true);
782
809
  // The hand does not blink out of existence when an expression interrupts the
783
810
  // thinking: it is pulled away over the opening of the animation taking over.
784
- t.hideThinkingHand(e?.25:0)};this.setAgreeAnimation=function(e){var i=1780;var r="expo.out";var n="auto";var s={value:0};
811
+ t.hideThinkingHand(e?.25:0)};
812
+ /**
813
+ * Under reduced motion an expression shows its face without moving it: the parts it swaps (a
814
+ * smiling mouth, closed eyes) stay for as long as the animation would have lasted, then the
815
+ * face is handed back. The head, the eyebrows and the bounces keep still, as the blinking and
816
+ * the following of the pointer do by not running at all.
817
+ */this.holdStillExpression=function(e,i,r){i.forEach((function(e){var i=e[0],r=e[1];return t.svgPartState(i,r)}));t.trackExpression(gsapWithCSS.delayedCall(r/1e3,(function(){i.forEach((function(e){var i=e[0];return t.svgPartState(i)}));t.restoreReadyState(e)})));return new Promise((function(e){return setTimeout(e,r)}))};this.setAgreeAnimation=function(e){var i=1780;if(prefersReducedMotion())return t.holdStillExpression(e,[["mouth","smile"]],i);var r="expo.out";var n="auto";var s={value:0};
785
818
  // head movement
786
819
  var o=gsapWithCSS.timeline({defaults:{ease:r,overwrite:n},onComplete:function(){t.restoreReadyState(e)}}).to(s,{value:0,duration:.08,onUpdate:function(){t.rotate(0,s.value)}}).to(s,{value:-100,duration:.24,onUpdate:function(){t.rotate(0,s.value)}}).to(s,{value:50,duration:.18,onUpdate:function(){t.rotate(0,s.value)}}).to(s,{value:-25,duration:.12,onUpdate:function(){t.rotate(0,s.value)}}).to(s,{value:0,duration:.16,onUpdate:function(){t.rotate(0,s.value)}});t.trackExpression(o);
787
820
  // eyebrows
788
821
  if(t.eyebrowsEl){var a=gsapWithCSS.timeline({defaults:{ease:"expo.out",overwrite:"auto"},onComplete:function(){a.reverse()}}).to(t.eyebrowsEl,{yPercent:-40,duration:.4});t.trackExpression(a)}
789
822
  // mouth
790
- t.svgPartState("mouth","smile");t.trackExpression(gsapWithCSS.timeline({defaults:{ease:r,overwrite:n},onComplete:function(){t.svgPartState("mouth","default")}}).to(t.mouthEl,{scaleY:1.2,duration:.2}).to(t.mouthEl,{scaleY:1,duration:.2}));return new Promise((function(e){return setTimeout(e,i)}))};this.setSmileAnimation=function(e){var i=750;var r="expo.out";var n="auto";
823
+ t.svgPartState("mouth","smile");t.trackExpression(gsapWithCSS.timeline({defaults:{ease:r,overwrite:n},onComplete:function(){t.svgPartState("mouth","default")}}).to(t.mouthEl,{scaleY:1.2,duration:.2}).to(t.mouthEl,{scaleY:1,duration:.2}));return new Promise((function(e){return setTimeout(e,i)}))};this.setSmileAnimation=function(e){var i=750;if(prefersReducedMotion()){return t.holdStillExpression(e,[["mouth","smile"],["eyes","closed"]],i)}var r="expo.out";var n="auto";
791
824
  // mouth
792
825
  t.svgPartState("mouth","smile");t.trackExpression(gsapWithCSS.timeline({defaults:{ease:r,overwrite:n},onComplete:function(){t.svgPartState("mouth","default")}}).to(t.mouthEl,{scaleY:1,duration:.15}).to(t.mouthEl,{scaleY:.75,duration:.15}).to(t.mouthEl,{scaleY:1,duration:.15}).to(t.mouthEl,{scaleY:.75,duration:.15}).to(t.mouthEl,{scaleY:1,duration:.15}));
793
826
  // eyes
@@ -795,17 +828,19 @@ t.svgPartState("eyes","closed");var s=gsapWithCSS.timeline({defaults:{ease:r,dur
795
828
  // eyebrows
796
829
  if(t.eyebrowsEl){t.trackExpression(gsapWithCSS.timeline({defaults:{ease:r,overwrite:n}}).to(t.eyebrowsEl,{yPercent:"-=15",duration:.15}).to(t.eyebrowsEl,{yPercent:"+=10",duration:.15}))}
797
830
  // emoji
798
- var o=gsapWithCSS.timeline({defaults:{overwrite:n},onComplete:function(){t.svgPartState("mouth","default");t.restoreReadyState(e)}}).to(t.host,{yPercent:"-=".concat(t.host.getBoundingClientRect().height/10),scaleX:.95,duration:1,ease:"elastic.out"}).to(t.host,{yPercent:"+=".concat(t.host.getBoundingClientRect().height/10),scaleX:1,duration:.75,ease:"expo.out"});t.trackExpression(o);return new Promise((function(e){return setTimeout(e,i)}))};this.setDisagreeAnimation=function(e,i){if(e===void 0){e=0}var r={value:0};var n=gsapWithCSS.timeline({ease:"power2.inOut",onStart:function(){t.svgPartState("mouth","serious")},onComplete:function(){if(e>0){
831
+ var o=gsapWithCSS.timeline({defaults:{overwrite:n},onComplete:function(){t.svgPartState("mouth","default");t.restoreReadyState(e)}}).to(t.host,{yPercent:"-=".concat(t.host.getBoundingClientRect().height/10),scaleX:.95,duration:1,ease:"elastic.out"}).to(t.host,{yPercent:"+=".concat(t.host.getBoundingClientRect().height/10),scaleX:1,duration:.75,ease:"expo.out"});t.trackExpression(o);return new Promise((function(e){return setTimeout(e,i)}))};this.setDisagreeAnimation=function(e,i){if(e===void 0){e=0}if(prefersReducedMotion()){return t.holdStillExpression(i,[["mouth","serious"]],780+e)}var r={value:0};var n=gsapWithCSS.timeline({ease:"power2.inOut",onStart:function(){t.svgPartState("mouth","serious")},onComplete:function(){if(e>0){
799
832
  // Tracked like every other step: an expression asked for while the
800
833
  // emoji is still frowning has to cancel the pending smile too.
801
- t.trackExpression(gsapWithCSS.delayedCall(e/1e3,(function(){t.svgPartState("mouth","default");t.restoreReadyState(i)})));return}t.svgPartState("mouth","default");t.restoreReadyState(i)}}).to(r,{value:0,duration:.08,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:-100,duration:.24,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:50,duration:.18,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:-25,duration:.12,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:0,duration:.16,onUpdate:function(){t.rotate(r.value,0)}});t.trackExpression(n);return new Promise((function(t){return setTimeout(t,780+e)}))};this.setStartThinkingAnimation=function(e){if(e===void 0){e=.5}var i="expo.inOut";var r=t.handEl instanceof NodeList?null:t.handEl;if(r){r.style.visibility="visible";
834
+ t.trackExpression(gsapWithCSS.delayedCall(e/1e3,(function(){t.svgPartState("mouth","default");t.restoreReadyState(i)})));return}t.svgPartState("mouth","default");t.restoreReadyState(i)}}).to(r,{value:0,duration:.08,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:-100,duration:.24,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:50,duration:.18,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:-25,duration:.12,onUpdate:function(){t.rotate(r.value,0)}}).to(r,{value:0,duration:.16,onUpdate:function(){t.rotate(r.value,0)}});t.trackExpression(n);return new Promise((function(t){return setTimeout(t,780+e)}))};this.setStartThinkingAnimation=function(e){if(e===void 0){e=.5}var i="expo.inOut";var r=t.handEl instanceof NodeList?null:t.handEl;
835
+ // under reduced motion the hand is simply there, and the eyes do not wander
836
+ var n=prefersReducedMotion();if(r&&n){gsapWithCSS.set(r,{xPercent:0,yPercent:0,scale:1,rotateZ:0});r.style.visibility="visible"}else if(r){r.style.visibility="visible";
802
837
  // Only the percentage channel is animated, because rotate() owns the
803
838
  // translation one. The hand therefore lands exactly where the SVG draws it,
804
839
  // instead of keeping the offset it was carrying toward the pointer, and its
805
840
  // entrance mirrors its exit: the two used to move it on different channels,
806
841
  // with an amount scaled by the viewBox, so the leftover of one showed up as a
807
842
  // displaced hand at the beginning of the next.
808
- t.trackExpression(gsapWithCSS.fromTo(r,{scale:0,rotateZ:45,xPercent:-t.handEntryOffset,yPercent:t.handEntryOffset},{xPercent:0,yPercent:0,scale:1,rotateZ:0,ease:i,duration:e,overwrite:"auto"}))}t.moveEyesThinkAnimation();t.svgPartState("mouth","serious");t.svgPartState("eyes","focused");
843
+ t.trackExpression(gsapWithCSS.fromTo(r,{scale:0,rotateZ:45,xPercent:-t.handEntryOffset,yPercent:t.handEntryOffset},{xPercent:0,yPercent:0,scale:1,rotateZ:0,ease:i,duration:e,overwrite:"auto"}))}if(!n)t.moveEyesThinkAnimation();t.svgPartState("mouth","serious");t.svgPartState("eyes","focused");
809
844
  // Settles even when there is no hand to show: an unresolved promise used to
810
845
  // leave every caller awaiting startThinking hanging for good.
811
846
  return new Promise((function(t){return setTimeout(t,e*1e3)}))};this.moveEyesThinkAnimation=function(){if(!t.eyesEl||!t.isThinking)return;var e=gsapWithCSS.utils.random(.15,.3,.01,true)();var i="expo.out";
@@ -815,7 +850,9 @@ return new Promise((function(t){return setTimeout(t,e*1e3)}))};this.moveEyesThin
815
850
  var r={duration:e,ease:i,overwrite:"auto"};var n=5;var s=gsapWithCSS.utils.random(n*-1,n,.1);var o=gsapWithCSS.utils.random(n*-1,n,.1);t.trackExpression(gsapWithCSS.to(t.eyesEl,Object.assign(Object.assign({xPercent:s,yPercent:o},r),{onComplete:function(){
816
851
  // Nothing to reset when the state is over: the exit animation, or the
817
852
  // take-over of another expression, has already put the eyes back.
818
- if(!t.isThinking)return;var e=gsapWithCSS.utils.random(.2,.7,.1);t.trackExpression(gsapWithCSS.delayedCall(e,t.moveEyesThinkAnimation))}})))};this.setStopThinkingAnimation=function(e){if(e===void 0){e=.5}t.hideThinkingHand(e);if(t.eyesEl){t.trackExpression(gsapWithCSS.to(t.eyesEl,{xPercent:0,yPercent:0,ease:"expo.out",duration:e,overwrite:"auto"}))}t.svgPartState("mouth","default");t.svgPartState("eyes","default");return new Promise((function(t){return setTimeout(t,e*1e3)}))};
853
+ if(!t.isThinking)return;var e=gsapWithCSS.utils.random(.2,.7,.1);t.trackExpression(gsapWithCSS.delayedCall(e,t.moveEyesThinkAnimation))}})))};this.setStopThinkingAnimation=function(e){if(e===void 0){e=.5}
854
+ // under reduced motion the hand and the eyes are put back at once
855
+ var i=prefersReducedMotion()?0:e;t.hideThinkingHand(i);if(t.eyesEl){t.trackExpression(gsapWithCSS.to(t.eyesEl,{xPercent:0,yPercent:0,ease:"expo.out",duration:i,overwrite:"auto"}))}t.svgPartState("mouth","default");t.svgPartState("eyes","default");return new Promise((function(t){return setTimeout(t,e*1e3)}))};
819
856
  // A single, reusable blink sequence. Built once and replayed via restart(),
820
857
  // it never grows over time and is fully controlled by play/pause, unlike the
821
858
  // previous recursive chain that died permanently the moment isBusy was set.
@@ -837,7 +874,10 @@ t.resetEyesToDefault()};this.handleFollowMouse=function(e){
837
874
  t.mouseX=e.clientX;t.mouseY=e.clientY;if(!t.isFollowingMouse)return;t.followMouse()};this.followMouse=function(){
838
875
  // Reduced motion keeps the face still; stopFollowMouse still recentres it, because
839
876
  // that is a state the caller asked for rather than an animation of its own.
840
- if(prefersReducedMotion())return;var e=t.getEmojiCenter(),i=e.centerX,r=e.centerY;var n=i;var s=r;if(t.isFollowingMouse){n=t.mouseX;s=t.mouseY}var o=t.host.getBoundingClientRect();var a=n-i;var u=s-r;var f=a/(o.width/2);var l=u/(o.height/2);t.rotate(f,l)};this.moveHead=function(e,i,r){if(r===void 0){r=false}var n=t.getEmojiCenter(),s=n.centerX,o=n.centerY;var a=t.host.getBoundingClientRect();var u=e-s;var f=i-o;var l=u/(a.width/2);var h=f/(a.height/2);t.rotate(l,h,r)};this.rotate=function(e,i,r){if(r===void 0){r=false}var n="power1.out";
877
+ if(prefersReducedMotion())return;if(t.isFollowingMouse){t.moveHead(t.mouseX,t.mouseY);return}var e=t.getEmojiCenter(),i=e.centerX,r=e.centerY;t.moveHead(i,r)};
878
+ // The one place the pointer becomes a pose: the direction of the point from the centre,
879
+ // with a reach that depends on the viewport, not on the size of the emoji (#800).
880
+ this.moveHead=function(e,i,r){if(r===void 0){r=false}var n=t.getEmojiCenter(),s=n.centerX,o=n.centerY;var a=gazeToward(e-s,i-o,gazeReach(window.innerWidth,window.innerHeight));t.rotate(a.x,a.y,r)};this.rotate=function(e,i,r){if(r===void 0){r=false}if(!t.cssCustomPropsRead)t.updateCSSCustomProps();var n="power1.out";
841
881
  // The traits can be put in place at once instead of eased there: an expression
842
882
  // about to take the face over owns them from this very frame, and a tween still
843
883
  // on its way would be killed halfway through, leaving them offset toward the
@@ -849,22 +889,32 @@ t.currentRotateY=o(t.expressionAngleMax,e);t.headOffsetX=o(t.headOffset,e);t.hea
849
889
  overwrite:"auto"};
850
890
  // Each facial element is tweened independently with its own offset so they
851
891
  // move by different amounts, giving the emoji a layered, parallax-like depth.
852
- gsapWithCSS.to(t.host,{rotateX:t.currentRotateX,rotateY:t.currentRotateY,transformOrigin:"50% 50%",duration:t.expressionFollowMouseHeadDuration,ease:n});if(t.eyesEl){gsapWithCSS.to(t.eyesEl,Object.assign({translateX:t.eyesOffsetX,translateY:t.eyesOffsetY,transformOrigin:"50% 50%"},a))}if(t.handEl){gsapWithCSS.to(t.handEl,Object.assign({translateX:t.handOffsetX,translateY:t.handOffsetY,transformOrigin:"50% 50%"},a))}if(t.headEl){gsapWithCSS.to(t.headEl,Object.assign({translateX:t.headOffsetX,translateY:t.headOffsetY,transformOrigin:"0% 100%"},a))}if(t.mouthEl){gsapWithCSS.to(t.mouthEl,Object.assign({translateX:t.mouthOffsetX,translateY:t.mouthOffsetY,transformOrigin:"50% 50%"},a))}if(t.gadgetEl){gsapWithCSS.to(t.gadgetEl,Object.assign({translateX:t.gadgetOffsetX,translateY:t.gadgetOffsetY,transformOrigin:"50% 50%"},a))}if(t.eyebrowsEl){gsapWithCSS.to(t.eyebrowsEl,Object.assign({translateX:t.eyebrowsOffsetX,translateY:t.eyebrowsOffsetY,transformOrigin:"50% 50%"},a))}if(t.earsEl){gsapWithCSS.to(t.earsEl,Object.assign({translateX:t.earsOffsetX,translateY:t.earsOffsetY,transformOrigin:"50% 50%"},a))}}}e.prototype.componentDidLoad=function(){if(typeof window==="undefined")return;this.updateCSSCustomProps();window.addEventListener("mousemove",this.handleFollowMouse);this.checkNameChanged(this.name)};e.prototype.disconnectedCallback=function(){var e,t;if(typeof window==="undefined")return;window.removeEventListener("mousemove",this.handleFollowMouse);this.isThinking=false;this.isBlinking=false;this.isFollowingMouse=false;this.killExpressionAnimations();(e=this.blinkDelay)===null||e===void 0?void 0:e.kill();(t=this.blinkTimeline)===null||t===void 0?void 0:t.kill();[this.host,this.eyesEl,this.handEl,this.headEl,this.mouthEl,this.gadgetEl,this.eyebrowsEl,this.earsEl].forEach((function(e){return e&&gsapWithCSS.killTweensOf(e)}))};
892
+ gsapWithCSS.to(t.host,{rotateX:t.currentRotateX,rotateY:t.currentRotateY,transformOrigin:"50% 50%",duration:t.expressionFollowMouseHeadDuration,ease:n,
893
+ // A newer pose replaces the previous one: without it a slower tween still
894
+ // running kept writing its own angles once the newer one had finished.
895
+ overwrite:"auto"});if(t.eyesEl){gsapWithCSS.to(t.eyesEl,Object.assign({translateX:t.eyesOffsetX,translateY:t.eyesOffsetY,transformOrigin:"50% 50%"},a))}if(t.handEl){gsapWithCSS.to(t.handEl,Object.assign({translateX:t.handOffsetX,translateY:t.handOffsetY,transformOrigin:"50% 50%"},a))}if(t.headEl){gsapWithCSS.to(t.headEl,Object.assign({translateX:t.headOffsetX,translateY:t.headOffsetY,transformOrigin:"0% 100%"},a))}if(t.mouthEl){gsapWithCSS.to(t.mouthEl,Object.assign({translateX:t.mouthOffsetX,translateY:t.mouthOffsetY,transformOrigin:"50% 50%"},a))}if(t.gadgetEl){gsapWithCSS.to(t.gadgetEl,Object.assign({translateX:t.gadgetOffsetX,translateY:t.gadgetOffsetY,transformOrigin:"50% 50%"},a))}if(t.eyebrowsEl){gsapWithCSS.to(t.eyebrowsEl,Object.assign({translateX:t.eyebrowsOffsetX,translateY:t.eyebrowsOffsetY,transformOrigin:"50% 50%"},a))}if(t.earsEl){gsapWithCSS.to(t.earsEl,Object.assign({translateX:t.earsOffsetX,translateY:t.earsOffsetY,transformOrigin:"50% 50%"},a))}}}
896
+ // A move disconnects the host and connects it again, while componentDidLoad runs
897
+ // once: the pointer listener follows the connection, so a moved emoji still hears it.
898
+ e.prototype.connectedCallback=function(){if(typeof window==="undefined")return;window.addEventListener("mousemove",this.handleFollowMouse)};e.prototype.componentDidLoad=function(){if(typeof window==="undefined")return;this.updateCSSCustomProps();this.checkNameChanged(this.name)};e.prototype.disconnectedCallback=function(){var e,t;if(typeof window==="undefined")return;
899
+ // In the lazy build the instance can hear of a disconnect after the host is back on
900
+ // the page. GSAP causes one: to read the transform of a host that is not drawn (a
901
+ // slotted emoji before its slot is rendered) it appends it to <html> for a moment
902
+ // and puts it back. The emoji is still mounted then, nothing to tear down.
903
+ if(this.host.isConnected)return;window.removeEventListener("mousemove",this.handleFollowMouse);this.isThinking=false;this.isBlinking=false;this.isFollowingMouse=false;this.killExpressionAnimations();(e=this.blinkDelay)===null||e===void 0?void 0:e.kill();(t=this.blinkTimeline)===null||t===void 0?void 0:t.kill();[this.host,this.eyesEl,this.handEl,this.headEl,this.mouthEl,this.gadgetEl,this.eyebrowsEl,this.earsEl].forEach((function(e){return e&&gsapWithCSS.killTweensOf(e)}))};
853
904
  /**
854
- * @returns Promise<void>
855
905
  * Emoji agrees, useful for confirm actions.
856
906
  */e.prototype.agree=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this.beginExpression();return[4/*yield*/,this.setAgreeAnimation(e)];case 1:t.sent();return[2/*return*/,Promise.resolve()]}}))}))};
857
907
  /**
858
- * @returns Promise<void>
859
908
  * Emoji smiles, useful for confirm actions.
860
909
  */e.prototype.smile=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this.beginExpression();return[4/*yield*/,this.setSmileAnimation(e)];case 1:t.sent();return[2/*return*/,Promise.resolve()]}}))}))};
861
910
  /**
862
- * @returns Promise<void>
863
911
  * Emoji disagrees, useful for errors or unwanted results.
912
+ * @param turnHappyDelay how long the mouth stays serious after the head shake, in
913
+ * milliseconds; 0 brings the smile back at once
864
914
  */e.prototype.disagree=function(){return __awaiter(this,arguments,void 0,(function(e){var t;if(e===void 0){e=0}return __generator(this,(function(i){switch(i.label){case 0:t=this.beginExpression();return[4/*yield*/,this.setDisagreeAnimation(e,t)];case 1:i.sent();return[2/*return*/,Promise.resolve()]}}))}))};
865
915
  /**
866
- * @returns Promise<void>
867
- * Emoji start thinking, useful for pending requests.
916
+ * Emoji starts thinking, useful for pending requests.
917
+ * @param duration the duration of the entrance of the hand, in seconds
868
918
  */e.prototype.startThinking=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=.5}return __generator(this,(function(t){switch(t.label){case 0:
869
919
  // Thinking is a state, not a one shot expression: asking for it again while it
870
920
  // is already running must not replay the entrance, or the second call leaves
@@ -882,24 +932,26 @@ if(!this.isThinking)return[2/*return*/,Promise.resolve()];t=this.expressionToken
882
932
  // animation starts, so the two never fight over the same properties.
883
933
  this.killExpressionAnimations();this.isBusy=false;this.restoreFollowMouse();return[4/*yield*/,this.setStopThinkingAnimation(e)];case 1:i.sent();if(this.isCurrentExpression(t))this.scheduleBlink();return[2/*return*/,Promise.resolve()]}}))}))};
884
934
  /**
885
- * @returns Promise<void>
886
935
  * Eyes start blinking.
887
936
  */e.prototype.startBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isBlinking=true;if(!this.blinkTimeline)this.blinkTimeline=this.buildBlinkTimeline();
888
937
  // scheduleBlink is gated on isBusy, so blinking will start now if idle, or
889
938
  // automatically resume once the current animation (think, smile, ...) ends.
890
939
  this.scheduleBlink();return[2/*return*/,Promise.resolve()]}))}))};
891
940
  /**
892
- * @returns Promise<void>
893
941
  * Eyes stop blinking.
894
942
  */e.prototype.stopBlinking=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){this.isBlinking=false;(e=this.blinkDelay)===null||e===void 0?void 0:e.kill();this.blinkDelay=null;(t=this.blinkTimeline)===null||t===void 0?void 0:t.pause(0);this.resetEyesToDefault();return[2/*return*/,Promise.resolve()]}))}))};
895
943
  /**
896
- * @returns Promise<void>
897
944
  * Stops following mouse with CSS 3D transform.
898
- */e.prototype.stopFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){if(!this.isFollowingMouse)return[2/*return*/,Promise.resolve()];this.isFollowingMouse=false;this.rotate(0,0);return[2/*return*/,new Promise((function(t){return setTimeout(t,e.expressionFollowMouseTraitsDuration*1e3)}))]}))}))};
945
+ */e.prototype.stopFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){
946
+ // the caller's choice: an expression that ends later must not turn the tracking back on,
947
+ // which it did when only the pause below ran
948
+ this.wasFollowingMouse=false;return[2/*return*/,this.pauseFollowMouse()]}))}))};
899
949
  /**
900
- * @returns Promise<void>
901
950
  * Starts following mouse with CSS 3D transform.
902
- */e.prototype.startFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.isFollowingMouse)return[2/*return*/,Promise.resolve()];this.isFollowingMouse=true;this.wasFollowingMouse=true;this.followMouse();return[2/*return*/,Promise.resolve()]}))}))};e.prototype.checkNameChanged=function(e){
951
+ */e.prototype.startFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.isFollowingMouse)return[2/*return*/,Promise.resolve()];this.isFollowingMouse=true;this.wasFollowingMouse=true;this.followMouse();return[2/*return*/,Promise.resolve()]}))}))};e.prototype.checkNameChanged=function(e,t){
952
+ // a name outside the dictionary is ignored, it used to throw (#825): the emoji goes back to
953
+ // the face it shows, and on load it shows none
954
+ if(!this.isEmojiName(e)){if(e!=null){console.warn('mds-emoji: ignoring the unknown name "'.concat(e,'", use one of: ').concat(Object.keys(this.svgLibrary).join(", ")))}if(this.isEmojiName(t))this.host.setAttribute("name",t);return}
903
955
  // Stencil reflects a prop onto its attribute during the next render, but this
904
956
  // watcher runs synchronously, before that render. Every per-emoji value lives in
905
957
  // a :host([name='...']) rule, so updateSvgDictionary -> updateCSSCustomProps would
@@ -910,4 +962,4 @@ this.scheduleBlink();return[2/*return*/,Promise.resolve()]}))}))};
910
962
  // attributeChangedCallback is a no-op because the value did not change.
911
963
  if(this.host.getAttribute("name")!==e)this.host.setAttribute("name",e);this.updateSvgDictionary(e)};e.prototype.svgPartState=function(e,t){var i,r,n,s;var o=(r=(i=this.host.shadowRoot)===null||i===void 0?void 0:i.firstElementChild)===null||r===void 0?void 0:r.querySelectorAll("[id^='".concat(e,"-']"));if(!o||o.length===0)return null;if((t===undefined||t==="")&&o){o===null||o===void 0?void 0:o.forEach((function(e){
912
964
  // const currentState = el.id.split('-')[1]
913
- e.style.visibility="hidden";if(e.id.split("-")[1]==="default")e.style.visibility="visible"}));return o}var a=(s=(n=this.host.shadowRoot)===null||n===void 0?void 0:n.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(e,"-default']"));o===null||o===void 0?void 0:o.forEach((function(e){e.style.visibility="hidden";if(e.id.split("-")[1]===t){a=e}}));if(!a)return null;a.style.visibility="visible";return a};e.prototype.render=function(){return h(Host,{key:"6bf7e9e7fb8bf323dbb2a3ec793ba9413cc753b5"})};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return e}();MdsEmoji.style=mdsEmojiCss();export{MdsEmoji as mds_emoji};
965
+ e.style.visibility="hidden";if(e.id.split("-")[1]==="default")e.style.visibility="visible"}));return o}var a=(s=(n=this.host.shadowRoot)===null||n===void 0?void 0:n.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(e,"-default']"));o===null||o===void 0?void 0:o.forEach((function(e){e.style.visibility="hidden";if(e.id.split("-")[1]===t){a=e}}));if(!a)return null;a.style.visibility="visible";return a};e.prototype.render=function(){return h(Host,{key:"228ea1ce5afd636026b77ac0a00462a7e2471470"})};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return e}();MdsEmoji.style=mdsEmojiCss();export{MdsEmoji as mds_emoji};