@maggioli-design-system/magma 2.9.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2067) hide show
  1. package/AGENTS.md +10 -7
  2. package/CHANGELOG.md +109 -0
  3. package/README.md +56 -0
  4. package/agents/assets.md +2 -2
  5. package/agents/color.md +7 -5
  6. package/agents/components.md +2 -2
  7. package/agents/conventions.md +1 -1
  8. package/agents/mcp.md +78 -8
  9. package/agents/mistakes.md +42 -0
  10. package/agents/patterns/actions.md +393 -0
  11. package/agents/patterns/app-shell.md +223 -0
  12. package/agents/patterns/choose-items.md +18 -0
  13. package/agents/patterns/concurrent-editing.md +17 -0
  14. package/agents/patterns/confirm-action.md +216 -0
  15. package/agents/patterns/consent-and-legal.md +16 -0
  16. package/agents/patterns/density.md +236 -0
  17. package/agents/patterns/empty-state.md +201 -0
  18. package/agents/patterns/error-recovery.md +237 -0
  19. package/agents/patterns/form-and-validation.md +16 -0
  20. package/agents/patterns/item-list.md +214 -0
  21. package/agents/patterns/labels-and-values.md +184 -0
  22. package/agents/patterns/list-with-filters.md +282 -0
  23. package/agents/patterns/loading.md +221 -0
  24. package/agents/patterns/message-placement.md +304 -0
  25. package/agents/patterns/notification-center.md +18 -0
  26. package/agents/patterns/page-header.md +201 -0
  27. package/agents/patterns/permissions.md +17 -0
  28. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  29. package/agents/patterns/previews/actions/banner.html +21 -0
  30. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  31. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  32. package/agents/patterns/previews/actions/confirm.html +11 -0
  33. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  34. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  35. package/agents/patterns/previews/actions/danger-zone.html +22 -0
  36. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  37. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  38. package/agents/patterns/previews/actions/destructive-in-menu.html +19 -0
  39. package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
  40. package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
  41. package/agents/patterns/previews/actions/dismiss-message.html +15 -0
  42. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  43. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  44. package/agents/patterns/previews/actions/dismiss.html +25 -0
  45. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  46. package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
  47. package/agents/patterns/previews/actions/more-in-menu.html +21 -0
  48. package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
  49. package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
  50. package/agents/patterns/previews/actions/part-primary.html +28 -0
  51. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  52. package/agents/patterns/previews/actions/primary.dark.webp +0 -0
  53. package/agents/patterns/previews/actions/primary.html +20 -0
  54. package/agents/patterns/previews/actions/primary.light.webp +0 -0
  55. package/agents/patterns/previews/actions/remove.dark.webp +0 -0
  56. package/agents/patterns/previews/actions/remove.html +44 -0
  57. package/agents/patterns/previews/actions/remove.light.webp +0 -0
  58. package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
  59. package/agents/patterns/previews/actions/secondary.html +20 -0
  60. package/agents/patterns/previews/actions/secondary.light.webp +0 -0
  61. package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
  62. package/agents/patterns/previews/actions/stacked.html +17 -0
  63. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  64. package/agents/patterns/previews/actions/toast.dark.webp +0 -0
  65. package/agents/patterns/previews/actions/toast.html +10 -0
  66. package/agents/patterns/previews/actions/toast.light.webp +0 -0
  67. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  68. package/agents/patterns/previews/app-shell/back-office.html +41 -0
  69. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  70. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  71. package/agents/patterns/previews/app-shell/many-sections.html +45 -0
  72. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  73. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  74. package/agents/patterns/previews/app-shell/public-service.html +31 -0
  75. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  76. package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
  77. package/agents/patterns/previews/confirm-action/act-then-undo.html +44 -0
  78. package/agents/patterns/previews/confirm-action/act-then-undo.light.webp +0 -0
  79. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  80. package/agents/patterns/previews/confirm-action/ask-before-sending.html +25 -0
  81. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  82. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  83. package/agents/patterns/previews/confirm-action/ask-first-many.html +11 -0
  84. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  85. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  86. package/agents/patterns/previews/confirm-action/ask-first.html +14 -0
  87. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  88. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  89. package/agents/patterns/previews/confirm-action/make-reversible.html +54 -0
  90. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  91. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  92. package/agents/patterns/previews/confirm-action/send-as-shown.html +57 -0
  93. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  94. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  95. package/agents/patterns/previews/empty-state/add-the-first.html +19 -0
  96. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  97. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  98. package/agents/patterns/previews/empty-state/all-done.html +15 -0
  99. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  100. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  101. package/agents/patterns/previews/empty-state/clear-filters.html +35 -0
  102. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  103. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  104. package/agents/patterns/previews/empty-state/filled-by-others.html +15 -0
  105. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  106. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  107. package/agents/patterns/previews/empty-state/not-found.html +38 -0
  108. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  109. package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
  110. package/agents/patterns/previews/empty-state/one-line.html +12 -0
  111. package/agents/patterns/previews/empty-state/one-line.light.webp +0 -0
  112. package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
  113. package/agents/patterns/previews/error-recovery/action-another-way.html +35 -0
  114. package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
  115. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  116. package/agents/patterns/previews/error-recovery/changed-meanwhile.html +26 -0
  117. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  118. package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
  119. package/agents/patterns/previews/error-recovery/check-or-repeat.html +38 -0
  120. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  121. package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
  122. package/agents/patterns/previews/error-recovery/content-another-way.html +12 -0
  123. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  124. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  125. package/agents/patterns/previews/error-recovery/partial.html +29 -0
  126. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  127. package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
  128. package/agents/patterns/previews/error-recovery/retry-action.html +35 -0
  129. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  130. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  131. package/agents/patterns/previews/error-recovery/retry-content.html +40 -0
  132. package/agents/patterns/previews/error-recovery/retry-content.light.webp +0 -0
  133. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  134. package/agents/patterns/previews/error-recovery/sign-in-again.html +44 -0
  135. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  136. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  137. package/agents/patterns/previews/item-list/documents-of-a-request.html +12 -0
  138. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  139. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  140. package/agents/patterns/previews/item-list/queue-of-a-desk.html +109 -0
  141. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  142. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  143. package/agents/patterns/previews/item-list/requests-of-an-office.html +74 -0
  144. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  145. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  146. package/agents/patterns/previews/item-list/requests-to-assign.html +80 -0
  147. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  148. package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
  149. package/agents/patterns/previews/labels-and-values/data-of-a-contact.html +31 -0
  150. package/agents/patterns/previews/labels-and-values/data-of-a-contact.light.webp +0 -0
  151. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  152. package/agents/patterns/previews/labels-and-values/payment-before-paying.html +21 -0
  153. package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
  154. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  155. package/agents/patterns/previews/labels-and-values/what-is-sent.html +25 -0
  156. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  157. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  158. package/agents/patterns/previews/list-with-filters/act-on-many.html +121 -0
  159. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  160. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  161. package/agents/patterns/previews/list-with-filters/find-and-open.html +109 -0
  162. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  163. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  164. package/agents/patterns/previews/list-with-filters/show-new-items.html +132 -0
  165. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  166. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  167. package/agents/patterns/previews/loading/await-and-say.html +41 -0
  168. package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
  169. package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
  170. package/agents/patterns/previews/loading/await-the-control.html +28 -0
  171. package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
  172. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  173. package/agents/patterns/previews/loading/first-load.html +10 -0
  174. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  175. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  176. package/agents/patterns/previews/loading/keep-while-reloading.html +80 -0
  177. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  178. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  179. package/agents/patterns/previews/loading/long-load-measured.html +16 -0
  180. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  181. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  182. package/agents/patterns/previews/loading/long-load.html +12 -0
  183. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  184. package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
  185. package/agents/patterns/previews/loading/progress-in-place.html +52 -0
  186. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  187. package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
  188. package/agents/patterns/previews/loading/run-in-background.html +24 -0
  189. package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
  190. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  191. package/agents/patterns/previews/message-placement/action-done-elsewhere.html +38 -0
  192. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  193. package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
  194. package/agents/patterns/previews/message-placement/action-done-in-page.html +53 -0
  195. package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
  196. package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
  197. package/agents/patterns/previews/message-placement/action-done-in-part.html +42 -0
  198. package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
  199. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  200. package/agents/patterns/previews/message-placement/action-failed-elsewhere.html +40 -0
  201. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  202. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  203. package/agents/patterns/previews/message-placement/action-failed-in-place.html +31 -0
  204. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  205. package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
  206. package/agents/patterns/previews/message-placement/action-later.html +24 -0
  207. package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
  208. package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
  209. package/agents/patterns/previews/message-placement/action-partial-elsewhere.html +33 -0
  210. package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
  211. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  212. package/agents/patterns/previews/message-placement/action-partial-in-place.html +51 -0
  213. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  214. package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
  215. package/agents/patterns/previews/message-placement/action-taken.html +25 -0
  216. package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
  217. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  218. package/agents/patterns/previews/message-placement/app-deadline.html +20 -0
  219. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  220. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  221. package/agents/patterns/previews/message-placement/app-failed.html +48 -0
  222. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  223. package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
  224. package/agents/patterns/previews/message-placement/app-info.html +39 -0
  225. package/agents/patterns/previews/message-placement/app-info.light.webp +0 -0
  226. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  227. package/agents/patterns/previews/message-placement/decision.html +49 -0
  228. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  229. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  230. package/agents/patterns/previews/message-placement/field-error.html +28 -0
  231. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  232. package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
  233. package/agents/patterns/previews/message-placement/field-hint.html +30 -0
  234. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  235. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  236. package/agents/patterns/previews/message-placement/field-valid.html +11 -0
  237. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  238. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  239. package/agents/patterns/previews/message-placement/region-failed.html +31 -0
  240. package/agents/patterns/previews/message-placement/region-failed.light.webp +0 -0
  241. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  242. package/agents/patterns/previews/message-placement/region-info.html +16 -0
  243. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  244. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  245. package/agents/patterns/previews/page-header/contact-being-edited.html +25 -0
  246. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  247. package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
  248. package/agents/patterns/previews/page-header/members-of-a-group.html +18 -0
  249. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  250. package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
  251. package/agents/patterns/previews/page-header/own-profile.html +17 -0
  252. package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
  253. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  254. package/agents/patterns/previews/page-header/request-from-the-list.html +33 -0
  255. package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
  256. package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
  257. package/agents/patterns/previews/page-header/requests-of-an-office.html +16 -0
  258. package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
  259. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  260. package/agents/patterns/previews/record-detail/ask-for-words.html +72 -0
  261. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  262. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  263. package/agents/patterns/previews/record-detail/edit-data.html +104 -0
  264. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  265. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  266. package/agents/patterns/previews/record-detail/read-the-data.html +80 -0
  267. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  268. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  269. package/agents/patterns/previews/record-detail/record-changed.html +87 -0
  270. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  271. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  272. package/agents/patterns/previews/record-detail/run-at-once.html +88 -0
  273. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  274. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  275. package/agents/patterns/previews/record-detail/work-on-it.html +106 -0
  276. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  277. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  278. package/agents/patterns/previews/rhythm/between-containers.html +29 -0
  279. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  280. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  281. package/agents/patterns/previews/rhythm/between-fields.html +14 -0
  282. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  283. package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
  284. package/agents/patterns/previews/rhythm/between-groups.html +23 -0
  285. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  286. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  287. package/agents/patterns/previews/rhythm/between-sections.html +17 -0
  288. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  289. package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
  290. package/agents/patterns/previews/rhythm/content-actions.html +14 -0
  291. package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
  292. package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
  293. package/agents/patterns/previews/rhythm/inline.html +12 -0
  294. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  295. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  296. package/agents/patterns/previews/rhythm/inset.html +11 -0
  297. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  298. package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
  299. package/agents/patterns/previews/rhythm/label-control.html +8 -0
  300. package/agents/patterns/previews/rhythm/label-control.light.webp +0 -0
  301. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  302. package/agents/patterns/previews/rhythm/title-content.html +10 -0
  303. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  304. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  305. package/agents/patterns/previews/surfaces/band.html +73 -0
  306. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  307. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  308. package/agents/patterns/previews/surfaces/canvas.html +66 -0
  309. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  310. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  311. package/agents/patterns/previews/surfaces/card.html +30 -0
  312. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  313. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  314. package/agents/patterns/previews/surfaces/dialog.html +28 -0
  315. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  316. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  317. package/agents/patterns/previews/surfaces/edit-actions.html +35 -0
  318. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  319. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  320. package/agents/patterns/previews/surfaces/section.html +35 -0
  321. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  322. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  323. package/agents/patterns/previews/titles/dialog.html +18 -0
  324. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  325. package/agents/patterns/previews/titles/group.dark.webp +0 -0
  326. package/agents/patterns/previews/titles/group.html +14 -0
  327. package/agents/patterns/previews/titles/group.light.webp +0 -0
  328. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  329. package/agents/patterns/previews/titles/page.html +25 -0
  330. package/agents/patterns/previews/titles/page.light.webp +0 -0
  331. package/agents/patterns/previews/titles/part.dark.webp +0 -0
  332. package/agents/patterns/previews/titles/part.html +24 -0
  333. package/agents/patterns/previews/titles/part.light.webp +0 -0
  334. package/agents/patterns/previews/titles/section.dark.webp +0 -0
  335. package/agents/patterns/previews/titles/section.html +14 -0
  336. package/agents/patterns/previews/titles/section.light.webp +0 -0
  337. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  338. package/agents/patterns/previews/widths/dialog.html +33 -0
  339. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  340. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  341. package/agents/patterns/previews/widths/field.html +20 -0
  342. package/agents/patterns/previews/widths/field.light.webp +0 -0
  343. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  344. package/agents/patterns/previews/widths/form.html +27 -0
  345. package/agents/patterns/previews/widths/form.light.webp +0 -0
  346. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  347. package/agents/patterns/previews/widths/page.html +49 -0
  348. package/agents/patterns/previews/widths/page.light.webp +0 -0
  349. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  350. package/agents/patterns/previews/widths/reading.html +15 -0
  351. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  352. package/agents/patterns/record-detail.md +268 -0
  353. package/agents/patterns/rhythm.md +212 -0
  354. package/agents/patterns/surfaces.md +212 -0
  355. package/agents/patterns/titles.md +208 -0
  356. package/agents/patterns/widths.md +202 -0
  357. package/agents/patterns.md +121 -0
  358. package/agents/reporting.md +6 -3
  359. package/agents/theming.md +36 -12
  360. package/agents/typography.md +27 -2
  361. package/agents/variants.md +1 -1
  362. package/dist/cjs/loader.cjs.js +1 -1
  363. package/dist/cjs/magma-components.cjs.js +1 -1
  364. package/dist/cjs/mds-accordion-item.cjs.entry.js +6 -3
  365. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +5 -2
  366. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  367. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  368. package/dist/cjs/mds-book.cjs.entry.js +25 -9
  369. package/dist/cjs/mds-button_3.cjs.entry.js +4 -4
  370. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  371. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  372. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  373. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  374. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  375. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  376. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  377. package/dist/cjs/mds-emoji.cjs.entry.js +40 -11
  378. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  379. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  380. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  381. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  382. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  383. package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
  384. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  385. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  386. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  387. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  388. package/dist/cjs/mds-input-date-range.cjs.entry.js +1 -1
  389. package/dist/cjs/mds-input-date.cjs.entry.js +3 -3
  390. package/dist/cjs/mds-input-field.cjs.entry.js +8 -2
  391. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  392. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  393. package/dist/cjs/mds-input-select.cjs.entry.js +3 -3
  394. package/dist/cjs/mds-input-switch_2.cjs.entry.js +4 -4
  395. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  396. package/dist/cjs/mds-input-upload.cjs.entry.js +13 -14
  397. package/dist/cjs/mds-input.cjs.entry.js +3 -3
  398. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  399. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  400. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  401. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  402. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  403. package/dist/cjs/mds-link.cjs.entry.js +3 -3
  404. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  405. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  406. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  407. package/dist/cjs/mds-modal.cjs.entry.js +4 -4
  408. package/dist/cjs/mds-note.cjs.entry.js +2 -2
  409. package/dist/cjs/mds-notification.cjs.entry.js +45 -2
  410. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  411. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  412. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  413. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  414. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  415. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  416. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  417. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  418. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  419. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +18 -4
  420. package/dist/cjs/mds-pref-theme.cjs.entry.js +12 -3
  421. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  422. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  423. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  424. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  425. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  426. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  427. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  428. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  429. package/dist/cjs/mds-progress_2.cjs.entry.js +3 -3
  430. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  431. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  432. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  433. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  434. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  435. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  436. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  437. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  438. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  439. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  440. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  441. package/dist/cjs/mds-tab_2.cjs.entry.js +3 -3
  442. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  443. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  444. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  445. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  446. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  447. package/dist/cjs/mds-table.cjs.entry.js +2 -2
  448. package/dist/cjs/mds-text.cjs.entry.js +45 -5
  449. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  450. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  451. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  452. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  453. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  454. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  455. package/dist/cjs/mds-usage.cjs.entry.js +2 -2
  456. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  457. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  458. package/dist/collection/components/mds-accordion/AGENTS.md +5 -5
  459. package/dist/collection/components/mds-accordion/documentation.json +4 -4
  460. package/dist/collection/components/mds-accordion/examples.md +148 -0
  461. package/dist/collection/components/mds-accordion/mistakes.md +122 -0
  462. package/dist/collection/components/mds-accordion-item/AGENTS.md +6 -6
  463. package/dist/collection/components/mds-accordion-item/documentation.json +5 -5
  464. package/dist/collection/components/mds-accordion-item/examples.md +154 -0
  465. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +6 -3
  466. package/dist/collection/components/mds-accordion-item/mistakes.md +137 -0
  467. package/dist/collection/components/mds-accordion-timer/AGENTS.md +4 -4
  468. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
  469. package/dist/collection/components/mds-accordion-timer/examples.md +137 -0
  470. package/dist/collection/components/mds-accordion-timer/mistakes.md +135 -0
  471. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -6
  472. package/dist/collection/components/mds-accordion-timer-item/documentation.json +5 -5
  473. package/dist/collection/components/mds-accordion-timer-item/examples.md +133 -0
  474. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +6 -3
  475. package/dist/collection/components/mds-accordion-timer-item/mistakes.md +142 -0
  476. package/dist/collection/components/mds-author/AGENTS.md +4 -4
  477. package/dist/collection/components/mds-author/documentation.json +3 -3
  478. package/dist/collection/components/mds-author/examples.md +101 -0
  479. package/dist/collection/components/mds-author/mistakes.md +106 -0
  480. package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
  481. package/dist/collection/components/mds-avatar/documentation.json +3 -3
  482. package/dist/collection/components/mds-avatar/examples.md +118 -0
  483. package/dist/collection/components/mds-avatar/mistakes.md +96 -0
  484. package/dist/collection/components/mds-avatar-stack/AGENTS.md +4 -4
  485. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
  486. package/dist/collection/components/mds-avatar-stack/examples.md +122 -0
  487. package/dist/collection/components/mds-avatar-stack/mistakes.md +121 -0
  488. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +4 -4
  489. package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -3
  490. package/dist/collection/components/mds-avatar-stack-item/examples.md +104 -0
  491. package/dist/collection/components/mds-avatar-stack-item/mistakes.md +113 -0
  492. package/dist/collection/components/mds-badge/AGENTS.md +4 -4
  493. package/dist/collection/components/mds-badge/documentation.json +3 -3
  494. package/dist/collection/components/mds-badge/examples.md +126 -0
  495. package/dist/collection/components/mds-badge/mistakes.md +103 -0
  496. package/dist/collection/components/mds-banner/AGENTS.md +7 -4
  497. package/dist/collection/components/mds-banner/documentation.json +4 -4
  498. package/dist/collection/components/mds-banner/examples.md +175 -0
  499. package/dist/collection/components/mds-banner/mds-banner.css +19 -0
  500. package/dist/collection/components/mds-banner/mistakes.md +140 -0
  501. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +4 -4
  502. package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -3
  503. package/dist/collection/components/mds-benchmark-bar/examples.md +102 -0
  504. package/dist/collection/components/mds-benchmark-bar/mistakes.md +77 -0
  505. package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
  506. package/dist/collection/components/mds-bibliography/documentation.json +3 -3
  507. package/dist/collection/components/mds-bibliography/examples.md +140 -0
  508. package/dist/collection/components/mds-bibliography/mistakes.md +128 -0
  509. package/dist/collection/components/mds-book/AGENTS.md +10 -9
  510. package/dist/collection/components/mds-book/documentation.json +13 -9
  511. package/dist/collection/components/mds-book/examples.md +139 -0
  512. package/dist/collection/components/mds-book/mds-book.css +49 -9
  513. package/dist/collection/components/mds-book/mds-book.js +26 -10
  514. package/dist/collection/components/mds-book/meta/dictionary.js +1 -1
  515. package/dist/collection/components/mds-book/mistakes.md +88 -0
  516. package/dist/collection/components/mds-breadcrumb/AGENTS.md +4 -4
  517. package/dist/collection/components/mds-breadcrumb/documentation.json +3 -3
  518. package/dist/collection/components/mds-breadcrumb/examples.md +100 -0
  519. package/dist/collection/components/mds-breadcrumb/mistakes.md +112 -0
  520. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
  521. package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -3
  522. package/dist/collection/components/mds-breadcrumb-item/examples.md +83 -0
  523. package/dist/collection/components/mds-breadcrumb-item/mistakes.md +109 -0
  524. package/dist/collection/components/mds-button/AGENTS.md +4 -4
  525. package/dist/collection/components/mds-button/documentation.json +3 -3
  526. package/dist/collection/components/mds-button/examples.md +211 -0
  527. package/dist/collection/components/mds-button/mistakes.md +160 -0
  528. package/dist/collection/components/mds-button-dropdown/AGENTS.md +4 -4
  529. package/dist/collection/components/mds-button-dropdown/documentation.json +3 -3
  530. package/dist/collection/components/mds-button-dropdown/examples.md +171 -0
  531. package/dist/collection/components/mds-button-dropdown/mistakes.md +158 -0
  532. package/dist/collection/components/mds-button-group/AGENTS.md +4 -4
  533. package/dist/collection/components/mds-button-group/documentation.json +3 -3
  534. package/dist/collection/components/mds-button-group/examples.md +89 -0
  535. package/dist/collection/components/mds-button-group/mistakes.md +105 -0
  536. package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
  537. package/dist/collection/components/mds-calendar/documentation.json +3 -3
  538. package/dist/collection/components/mds-calendar/examples.md +127 -0
  539. package/dist/collection/components/mds-calendar/mistakes.md +113 -0
  540. package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
  541. package/dist/collection/components/mds-calendar-cell/documentation.json +3 -3
  542. package/dist/collection/components/mds-calendar-cell/examples.md +83 -0
  543. package/dist/collection/components/mds-calendar-cell/mistakes.md +58 -0
  544. package/dist/collection/components/mds-card/AGENTS.md +10 -7
  545. package/dist/collection/components/mds-card/documentation.json +6 -6
  546. package/dist/collection/components/mds-card/examples.md +160 -0
  547. package/dist/collection/components/mds-card/mds-card.css +50 -9
  548. package/dist/collection/components/mds-card/mistakes.md +157 -0
  549. package/dist/collection/components/mds-card-content/AGENTS.md +4 -4
  550. package/dist/collection/components/mds-card-content/documentation.json +3 -3
  551. package/dist/collection/components/mds-card-content/examples.md +90 -0
  552. package/dist/collection/components/mds-card-content/mds-card-content.css +5 -2
  553. package/dist/collection/components/mds-card-content/mistakes.md +109 -0
  554. package/dist/collection/components/mds-card-footer/AGENTS.md +5 -4
  555. package/dist/collection/components/mds-card-footer/documentation.json +4 -4
  556. package/dist/collection/components/mds-card-footer/examples.md +95 -0
  557. package/dist/collection/components/mds-card-footer/mds-card-footer.css +28 -5
  558. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  559. package/dist/collection/components/mds-card-footer/mistakes.md +112 -0
  560. package/dist/collection/components/mds-card-header/AGENTS.md +4 -4
  561. package/dist/collection/components/mds-card-header/documentation.json +3 -3
  562. package/dist/collection/components/mds-card-header/examples.md +143 -0
  563. package/dist/collection/components/mds-card-header/mds-card-header.css +4 -2
  564. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  565. package/dist/collection/components/mds-card-header/mistakes.md +114 -0
  566. package/dist/collection/components/mds-card-media/AGENTS.md +4 -4
  567. package/dist/collection/components/mds-card-media/documentation.json +3 -3
  568. package/dist/collection/components/mds-card-media/examples.md +93 -0
  569. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  570. package/dist/collection/components/mds-card-media/mistakes.md +128 -0
  571. package/dist/collection/components/mds-chip/AGENTS.md +4 -4
  572. package/dist/collection/components/mds-chip/documentation.json +3 -3
  573. package/dist/collection/components/mds-chip/examples.md +164 -0
  574. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  575. package/dist/collection/components/mds-chip/mistakes.md +118 -0
  576. package/dist/collection/components/mds-details/AGENTS.md +4 -4
  577. package/dist/collection/components/mds-details/documentation.json +3 -3
  578. package/dist/collection/components/mds-details/examples.md +136 -0
  579. package/dist/collection/components/mds-details/mds-details.js +1 -1
  580. package/dist/collection/components/mds-details/mistakes.md +124 -0
  581. package/dist/collection/components/mds-dropdown/AGENTS.md +4 -4
  582. package/dist/collection/components/mds-dropdown/documentation.json +3 -3
  583. package/dist/collection/components/mds-dropdown/examples.md +201 -0
  584. package/dist/collection/components/mds-dropdown/mds-dropdown.css +3 -0
  585. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  586. package/dist/collection/components/mds-dropdown/mistakes.md +137 -0
  587. package/dist/collection/components/mds-emoji/AGENTS.md +4 -4
  588. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  589. package/dist/collection/components/mds-emoji/examples.md +203 -0
  590. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  591. package/dist/collection/components/mds-emoji/mistakes.md +116 -0
  592. package/dist/collection/components/mds-entity/AGENTS.md +4 -4
  593. package/dist/collection/components/mds-entity/documentation.json +3 -3
  594. package/dist/collection/components/mds-entity/examples.md +132 -0
  595. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  596. package/dist/collection/components/mds-entity/mistakes.md +119 -0
  597. package/dist/collection/components/mds-file/AGENTS.md +4 -4
  598. package/dist/collection/components/mds-file/documentation.json +3 -3
  599. package/dist/collection/components/mds-file/examples.md +107 -0
  600. package/dist/collection/components/mds-file/mds-file.js +1 -1
  601. package/dist/collection/components/mds-file/mistakes.md +91 -0
  602. package/dist/collection/components/mds-file-preview/AGENTS.md +4 -4
  603. package/dist/collection/components/mds-file-preview/documentation.json +3 -3
  604. package/dist/collection/components/mds-file-preview/examples.md +163 -0
  605. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  606. package/dist/collection/components/mds-file-preview/mistakes.md +129 -0
  607. package/dist/collection/components/mds-filter/AGENTS.md +4 -4
  608. package/dist/collection/components/mds-filter/documentation.json +3 -3
  609. package/dist/collection/components/mds-filter/examples.md +156 -0
  610. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  611. package/dist/collection/components/mds-filter/mistakes.md +140 -0
  612. package/dist/collection/components/mds-filter-item/AGENTS.md +4 -4
  613. package/dist/collection/components/mds-filter-item/documentation.json +3 -3
  614. package/dist/collection/components/mds-filter-item/examples.md +123 -0
  615. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  616. package/dist/collection/components/mds-filter-item/mistakes.md +127 -0
  617. package/dist/collection/components/mds-header/AGENTS.md +8 -5
  618. package/dist/collection/components/mds-header/documentation.json +4 -4
  619. package/dist/collection/components/mds-header/examples.md +180 -0
  620. package/dist/collection/components/mds-header/mds-header.css +27 -4
  621. package/dist/collection/components/mds-header/mds-header.js +1 -1
  622. package/dist/collection/components/mds-header/mistakes.md +162 -0
  623. package/dist/collection/components/mds-header-bar/AGENTS.md +5 -4
  624. package/dist/collection/components/mds-header-bar/documentation.json +4 -4
  625. package/dist/collection/components/mds-header-bar/examples.md +153 -0
  626. package/dist/collection/components/mds-header-bar/mds-header-bar.css +9 -4
  627. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  628. package/dist/collection/components/mds-header-bar/mistakes.md +117 -0
  629. package/dist/collection/components/mds-help/AGENTS.md +4 -4
  630. package/dist/collection/components/mds-help/documentation.json +3 -3
  631. package/dist/collection/components/mds-help/examples.md +106 -0
  632. package/dist/collection/components/mds-help/mds-help.js +1 -1
  633. package/dist/collection/components/mds-help/mistakes.md +73 -0
  634. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +4 -4
  635. package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -3
  636. package/dist/collection/components/mds-horizontal-scroll/examples.md +143 -0
  637. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  638. package/dist/collection/components/mds-horizontal-scroll/mistakes.md +120 -0
  639. package/dist/collection/components/mds-hr/AGENTS.md +4 -4
  640. package/dist/collection/components/mds-hr/documentation.json +3 -3
  641. package/dist/collection/components/mds-hr/examples.md +88 -0
  642. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  643. package/dist/collection/components/mds-hr/mistakes.md +84 -0
  644. package/dist/collection/components/mds-icon/AGENTS.md +4 -4
  645. package/dist/collection/components/mds-icon/documentation.json +3 -3
  646. package/dist/collection/components/mds-icon/examples.md +135 -0
  647. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  648. package/dist/collection/components/mds-icon/mistakes.md +118 -0
  649. package/dist/collection/components/mds-img/AGENTS.md +4 -4
  650. package/dist/collection/components/mds-img/documentation.json +3 -3
  651. package/dist/collection/components/mds-img/examples.md +125 -0
  652. package/dist/collection/components/mds-img/mistakes.md +106 -0
  653. package/dist/collection/components/mds-input/AGENTS.md +5 -4
  654. package/dist/collection/components/mds-input/documentation.json +4 -4
  655. package/dist/collection/components/mds-input/examples.md +265 -0
  656. package/dist/collection/components/mds-input/mds-input.css +4 -1
  657. package/dist/collection/components/mds-input/mds-input.js +2 -2
  658. package/dist/collection/components/mds-input/mistakes.md +128 -0
  659. package/dist/collection/components/mds-input-date/AGENTS.md +4 -4
  660. package/dist/collection/components/mds-input-date/documentation.json +3 -3
  661. package/dist/collection/components/mds-input-date/examples.md +157 -0
  662. package/dist/collection/components/mds-input-date/mds-input-date.css +34 -4
  663. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  664. package/dist/collection/components/mds-input-date/mistakes.md +107 -0
  665. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -4
  666. package/dist/collection/components/mds-input-date-range/documentation.json +3 -3
  667. package/dist/collection/components/mds-input-date-range/examples.md +121 -0
  668. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +7 -6
  669. package/dist/collection/components/mds-input-date-range/mistakes.md +168 -0
  670. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +4 -4
  671. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -3
  672. package/dist/collection/components/mds-input-date-range-preselection/examples.md +91 -0
  673. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  674. package/dist/collection/components/mds-input-date-range-preselection/mistakes.md +152 -0
  675. package/dist/collection/components/mds-input-field/AGENTS.md +6 -4
  676. package/dist/collection/components/mds-input-field/documentation.json +36 -4
  677. package/dist/collection/components/mds-input-field/examples.md +116 -0
  678. package/dist/collection/components/mds-input-field/mds-input-field.css +3 -1
  679. package/dist/collection/components/mds-input-field/mds-input-field.js +27 -1
  680. package/dist/collection/components/mds-input-field/mistakes.md +142 -0
  681. package/dist/collection/components/mds-input-otp/AGENTS.md +4 -4
  682. package/dist/collection/components/mds-input-otp/documentation.json +3 -3
  683. package/dist/collection/components/mds-input-otp/examples.md +107 -0
  684. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  685. package/dist/collection/components/mds-input-otp/mistakes.md +105 -0
  686. package/dist/collection/components/mds-input-range/AGENTS.md +4 -4
  687. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  688. package/dist/collection/components/mds-input-range/examples.md +100 -0
  689. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  690. package/dist/collection/components/mds-input-range/mistakes.md +123 -0
  691. package/dist/collection/components/mds-input-select/AGENTS.md +4 -4
  692. package/dist/collection/components/mds-input-select/documentation.json +3 -3
  693. package/dist/collection/components/mds-input-select/examples.md +166 -0
  694. package/dist/collection/components/mds-input-select/mds-input-select.css +4 -1
  695. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  696. package/dist/collection/components/mds-input-select/mistakes.md +126 -0
  697. package/dist/collection/components/mds-input-switch/AGENTS.md +4 -4
  698. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  699. package/dist/collection/components/mds-input-switch/examples.md +124 -0
  700. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  701. package/dist/collection/components/mds-input-switch/mistakes.md +116 -0
  702. package/dist/collection/components/mds-input-tip/AGENTS.md +4 -4
  703. package/dist/collection/components/mds-input-tip/documentation.json +3 -3
  704. package/dist/collection/components/mds-input-tip/examples.md +122 -0
  705. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  706. package/dist/collection/components/mds-input-tip/mistakes.md +112 -0
  707. package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -4
  708. package/dist/collection/components/mds-input-tip-item/documentation.json +3 -3
  709. package/dist/collection/components/mds-input-tip-item/examples.md +106 -0
  710. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  711. package/dist/collection/components/mds-input-tip-item/mistakes.md +98 -0
  712. package/dist/collection/components/mds-input-upload/AGENTS.md +4 -4
  713. package/dist/collection/components/mds-input-upload/documentation.json +3 -3
  714. package/dist/collection/components/mds-input-upload/examples.md +161 -0
  715. package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -1
  716. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  717. package/dist/collection/components/mds-input-upload/mistakes.md +143 -0
  718. package/dist/collection/components/mds-keyboard/AGENTS.md +4 -4
  719. package/dist/collection/components/mds-keyboard/documentation.json +3 -3
  720. package/dist/collection/components/mds-keyboard/examples.md +128 -0
  721. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  722. package/dist/collection/components/mds-keyboard/mistakes.md +111 -0
  723. package/dist/collection/components/mds-keyboard-key/AGENTS.md +4 -4
  724. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
  725. package/dist/collection/components/mds-keyboard-key/examples.md +87 -0
  726. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  727. package/dist/collection/components/mds-keyboard-key/mistakes.md +116 -0
  728. package/dist/collection/components/mds-kpi/AGENTS.md +4 -4
  729. package/dist/collection/components/mds-kpi/documentation.json +3 -3
  730. package/dist/collection/components/mds-kpi/examples.md +112 -0
  731. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  732. package/dist/collection/components/mds-kpi/mistakes.md +93 -0
  733. package/dist/collection/components/mds-kpi-item/AGENTS.md +4 -4
  734. package/dist/collection/components/mds-kpi-item/documentation.json +3 -3
  735. package/dist/collection/components/mds-kpi-item/examples.md +117 -0
  736. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  737. package/dist/collection/components/mds-kpi-item/mistakes.md +117 -0
  738. package/dist/collection/components/mds-label/AGENTS.md +4 -4
  739. package/dist/collection/components/mds-label/documentation.json +3 -3
  740. package/dist/collection/components/mds-label/examples.md +109 -0
  741. package/dist/collection/components/mds-label/mistakes.md +92 -0
  742. package/dist/collection/components/mds-link/AGENTS.md +4 -4
  743. package/dist/collection/components/mds-link/documentation.json +3 -3
  744. package/dist/collection/components/mds-link/examples.md +100 -0
  745. package/dist/collection/components/mds-link/mds-link.js +3 -3
  746. package/dist/collection/components/mds-link/mistakes.md +96 -0
  747. package/dist/collection/components/mds-list/AGENTS.md +4 -4
  748. package/dist/collection/components/mds-list/documentation.json +3 -3
  749. package/dist/collection/components/mds-list/examples.md +104 -0
  750. package/dist/collection/components/mds-list/mds-list.js +1 -1
  751. package/dist/collection/components/mds-list/mistakes.md +117 -0
  752. package/dist/collection/components/mds-list-item/AGENTS.md +4 -4
  753. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  754. package/dist/collection/components/mds-list-item/examples.md +112 -0
  755. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  756. package/dist/collection/components/mds-list-item/mistakes.md +118 -0
  757. package/dist/collection/components/mds-mention/AGENTS.md +4 -4
  758. package/dist/collection/components/mds-mention/documentation.json +3 -3
  759. package/dist/collection/components/mds-mention/examples.md +89 -0
  760. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  761. package/dist/collection/components/mds-mention/mistakes.md +86 -0
  762. package/dist/collection/components/mds-modal/AGENTS.md +5 -4
  763. package/dist/collection/components/mds-modal/documentation.json +4 -4
  764. package/dist/collection/components/mds-modal/examples.md +230 -0
  765. package/dist/collection/components/mds-modal/mds-modal.css +10 -0
  766. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  767. package/dist/collection/components/mds-modal/mistakes.md +114 -0
  768. package/dist/collection/components/mds-note/AGENTS.md +4 -4
  769. package/dist/collection/components/mds-note/documentation.json +3 -3
  770. package/dist/collection/components/mds-note/examples.md +107 -0
  771. package/dist/collection/components/mds-note/mds-note.js +1 -1
  772. package/dist/collection/components/mds-note/mistakes.md +99 -0
  773. package/dist/collection/components/mds-notification/AGENTS.md +10 -5
  774. package/dist/collection/components/mds-notification/documentation.json +94 -4
  775. package/dist/collection/components/mds-notification/examples.md +115 -0
  776. package/dist/collection/components/mds-notification/mds-notification.css +67 -1
  777. package/dist/collection/components/mds-notification/mds-notification.js +94 -3
  778. package/dist/collection/components/mds-notification/mistakes.md +98 -0
  779. package/dist/collection/components/mds-paginator/AGENTS.md +4 -4
  780. package/dist/collection/components/mds-paginator/documentation.json +3 -3
  781. package/dist/collection/components/mds-paginator/examples.md +98 -0
  782. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  783. package/dist/collection/components/mds-paginator/mistakes.md +96 -0
  784. package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
  785. package/dist/collection/components/mds-paginator-item/documentation.json +3 -3
  786. package/dist/collection/components/mds-paginator-item/examples.md +76 -0
  787. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  788. package/dist/collection/components/mds-paginator-item/mistakes.md +96 -0
  789. package/dist/collection/components/mds-policy-ai/AGENTS.md +4 -4
  790. package/dist/collection/components/mds-policy-ai/documentation.json +3 -3
  791. package/dist/collection/components/mds-policy-ai/examples.md +107 -0
  792. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  793. package/dist/collection/components/mds-policy-ai/mistakes.md +97 -0
  794. package/dist/collection/components/mds-pref/AGENTS.md +4 -4
  795. package/dist/collection/components/mds-pref/documentation.json +3 -3
  796. package/dist/collection/components/mds-pref/examples.md +93 -0
  797. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  798. package/dist/collection/components/mds-pref/mistakes.md +85 -0
  799. package/dist/collection/components/mds-pref-animation/AGENTS.md +4 -4
  800. package/dist/collection/components/mds-pref-animation/documentation.json +3 -3
  801. package/dist/collection/components/mds-pref-animation/examples.md +86 -0
  802. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  803. package/dist/collection/components/mds-pref-animation/mistakes.md +67 -0
  804. package/dist/collection/components/mds-pref-consumption/AGENTS.md +4 -4
  805. package/dist/collection/components/mds-pref-consumption/documentation.json +3 -3
  806. package/dist/collection/components/mds-pref-consumption/examples.md +69 -0
  807. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  808. package/dist/collection/components/mds-pref-consumption/mistakes.md +84 -0
  809. package/dist/collection/components/mds-pref-contrast/AGENTS.md +4 -4
  810. package/dist/collection/components/mds-pref-contrast/documentation.json +3 -3
  811. package/dist/collection/components/mds-pref-contrast/examples.md +82 -0
  812. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  813. package/dist/collection/components/mds-pref-contrast/mistakes.md +71 -0
  814. package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
  815. package/dist/collection/components/mds-pref-language/documentation.json +4 -4
  816. package/dist/collection/components/mds-pref-language/examples.md +104 -0
  817. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  818. package/dist/collection/components/mds-pref-language/mistakes.md +130 -0
  819. package/dist/collection/components/mds-pref-language-item/AGENTS.md +4 -4
  820. package/dist/collection/components/mds-pref-language-item/documentation.json +3 -3
  821. package/dist/collection/components/mds-pref-language-item/examples.md +85 -0
  822. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  823. package/dist/collection/components/mds-pref-language-item/mistakes.md +99 -0
  824. package/dist/collection/components/mds-pref-mode/AGENTS.md +5 -5
  825. package/dist/collection/components/mds-pref-mode/documentation.json +4 -4
  826. package/dist/collection/components/mds-pref-mode/examples.md +92 -0
  827. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  828. package/dist/collection/components/mds-pref-mode/mistakes.md +103 -0
  829. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -6
  830. package/dist/collection/components/mds-pref-theme/documentation.json +4 -4
  831. package/dist/collection/components/mds-pref-theme/examples.md +93 -0
  832. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +12 -3
  833. package/dist/collection/components/mds-pref-theme/mistakes.md +104 -0
  834. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +8 -8
  835. package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -8
  836. package/dist/collection/components/mds-pref-theme-item/examples.md +88 -0
  837. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +13 -7
  838. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +19 -5
  839. package/dist/collection/components/mds-pref-theme-item/mistakes.md +95 -0
  840. package/dist/collection/components/mds-price-table/AGENTS.md +4 -4
  841. package/dist/collection/components/mds-price-table/documentation.json +3 -3
  842. package/dist/collection/components/mds-price-table/examples.md +182 -0
  843. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  844. package/dist/collection/components/mds-price-table/mistakes.md +131 -0
  845. package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -4
  846. package/dist/collection/components/mds-price-table-features/documentation.json +3 -3
  847. package/dist/collection/components/mds-price-table-features/examples.md +156 -0
  848. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  849. package/dist/collection/components/mds-price-table-features/mistakes.md +151 -0
  850. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +4 -4
  851. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
  852. package/dist/collection/components/mds-price-table-features-cell/examples.md +123 -0
  853. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  854. package/dist/collection/components/mds-price-table-features-cell/mistakes.md +105 -0
  855. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +4 -4
  856. package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -3
  857. package/dist/collection/components/mds-price-table-features-row/examples.md +123 -0
  858. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  859. package/dist/collection/components/mds-price-table-features-row/mistakes.md +135 -0
  860. package/dist/collection/components/mds-price-table-header/AGENTS.md +4 -4
  861. package/dist/collection/components/mds-price-table-header/documentation.json +3 -3
  862. package/dist/collection/components/mds-price-table-header/examples.md +176 -0
  863. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  864. package/dist/collection/components/mds-price-table-header/mistakes.md +133 -0
  865. package/dist/collection/components/mds-price-table-list/AGENTS.md +4 -4
  866. package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
  867. package/dist/collection/components/mds-price-table-list/examples.md +139 -0
  868. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  869. package/dist/collection/components/mds-price-table-list/mistakes.md +130 -0
  870. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +4 -4
  871. package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -3
  872. package/dist/collection/components/mds-price-table-list-item/examples.md +108 -0
  873. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  874. package/dist/collection/components/mds-price-table-list-item/mistakes.md +86 -0
  875. package/dist/collection/components/mds-progress/AGENTS.md +4 -4
  876. package/dist/collection/components/mds-progress/documentation.json +3 -3
  877. package/dist/collection/components/mds-progress/examples.md +140 -0
  878. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  879. package/dist/collection/components/mds-progress/mistakes.md +94 -0
  880. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
  881. package/dist/collection/components/mds-push-notification/documentation.json +3 -3
  882. package/dist/collection/components/mds-push-notification/examples.md +200 -0
  883. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  884. package/dist/collection/components/mds-push-notification/mistakes.md +154 -0
  885. package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -4
  886. package/dist/collection/components/mds-push-notification-item/documentation.json +3 -3
  887. package/dist/collection/components/mds-push-notification-item/examples.md +198 -0
  888. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  889. package/dist/collection/components/mds-push-notification-item/mistakes.md +129 -0
  890. package/dist/collection/components/mds-quote/AGENTS.md +4 -4
  891. package/dist/collection/components/mds-quote/documentation.json +3 -3
  892. package/dist/collection/components/mds-quote/examples.md +108 -0
  893. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  894. package/dist/collection/components/mds-quote/mistakes.md +122 -0
  895. package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -4
  896. package/dist/collection/components/mds-radial-menu/documentation.json +3 -3
  897. package/dist/collection/components/mds-radial-menu/examples.md +159 -0
  898. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  899. package/dist/collection/components/mds-radial-menu/mistakes.md +104 -0
  900. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +4 -4
  901. package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -3
  902. package/dist/collection/components/mds-radial-menu-item/examples.md +96 -0
  903. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  904. package/dist/collection/components/mds-radial-menu-item/mistakes.md +108 -0
  905. package/dist/collection/components/mds-radial-progress/AGENTS.md +4 -4
  906. package/dist/collection/components/mds-radial-progress/documentation.json +3 -3
  907. package/dist/collection/components/mds-radial-progress/examples.md +144 -0
  908. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  909. package/dist/collection/components/mds-radial-progress/mistakes.md +106 -0
  910. package/dist/collection/components/mds-separator/AGENTS.md +4 -4
  911. package/dist/collection/components/mds-separator/documentation.json +3 -3
  912. package/dist/collection/components/mds-separator/examples.md +82 -0
  913. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  914. package/dist/collection/components/mds-separator/mistakes.md +98 -0
  915. package/dist/collection/components/mds-spinner/AGENTS.md +4 -4
  916. package/dist/collection/components/mds-spinner/documentation.json +3 -3
  917. package/dist/collection/components/mds-spinner/examples.md +105 -0
  918. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  919. package/dist/collection/components/mds-spinner/mistakes.md +93 -0
  920. package/dist/collection/components/mds-status-bar/AGENTS.md +6 -4
  921. package/dist/collection/components/mds-status-bar/documentation.json +4 -4
  922. package/dist/collection/components/mds-status-bar/examples.md +128 -0
  923. package/dist/collection/components/mds-status-bar/mds-status-bar.css +29 -3
  924. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  925. package/dist/collection/components/mds-status-bar/mistakes.md +127 -0
  926. package/dist/collection/components/mds-stepper-bar/AGENTS.md +4 -4
  927. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
  928. package/dist/collection/components/mds-stepper-bar/examples.md +178 -0
  929. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  930. package/dist/collection/components/mds-stepper-bar/mistakes.md +123 -0
  931. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
  932. package/dist/collection/components/mds-stepper-bar-item/documentation.json +3 -3
  933. package/dist/collection/components/mds-stepper-bar-item/examples.md +200 -0
  934. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  935. package/dist/collection/components/mds-stepper-bar-item/mistakes.md +115 -0
  936. package/dist/collection/components/mds-tab/AGENTS.md +4 -4
  937. package/dist/collection/components/mds-tab/documentation.json +3 -3
  938. package/dist/collection/components/mds-tab/examples.md +232 -0
  939. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  940. package/dist/collection/components/mds-tab/mistakes.md +189 -0
  941. package/dist/collection/components/mds-tab-bar/AGENTS.md +4 -4
  942. package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
  943. package/dist/collection/components/mds-tab-bar/examples.md +87 -0
  944. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  945. package/dist/collection/components/mds-tab-bar/mistakes.md +105 -0
  946. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
  947. package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -3
  948. package/dist/collection/components/mds-tab-bar-item/examples.md +108 -0
  949. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  950. package/dist/collection/components/mds-tab-bar-item/mistakes.md +116 -0
  951. package/dist/collection/components/mds-tab-item/AGENTS.md +4 -4
  952. package/dist/collection/components/mds-tab-item/documentation.json +3 -3
  953. package/dist/collection/components/mds-tab-item/examples.md +174 -0
  954. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  955. package/dist/collection/components/mds-tab-item/mistakes.md +159 -0
  956. package/dist/collection/components/mds-table/AGENTS.md +4 -4
  957. package/dist/collection/components/mds-table/documentation.json +3 -3
  958. package/dist/collection/components/mds-table/examples.md +317 -0
  959. package/dist/collection/components/mds-table/mds-table.css +3 -0
  960. package/dist/collection/components/mds-table/mds-table.js +1 -1
  961. package/dist/collection/components/mds-table/mistakes.md +169 -0
  962. package/dist/collection/components/mds-table-body/AGENTS.md +4 -4
  963. package/dist/collection/components/mds-table-body/documentation.json +3 -3
  964. package/dist/collection/components/mds-table-body/examples.md +151 -0
  965. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  966. package/dist/collection/components/mds-table-body/mistakes.md +117 -0
  967. package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
  968. package/dist/collection/components/mds-table-cell/documentation.json +3 -3
  969. package/dist/collection/components/mds-table-cell/examples.md +168 -0
  970. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  971. package/dist/collection/components/mds-table-cell/mistakes.md +100 -0
  972. package/dist/collection/components/mds-table-footer/AGENTS.md +4 -4
  973. package/dist/collection/components/mds-table-footer/documentation.json +3 -3
  974. package/dist/collection/components/mds-table-footer/examples.md +115 -0
  975. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  976. package/dist/collection/components/mds-table-footer/mistakes.md +114 -0
  977. package/dist/collection/components/mds-table-header/AGENTS.md +4 -4
  978. package/dist/collection/components/mds-table-header/documentation.json +3 -3
  979. package/dist/collection/components/mds-table-header/examples.md +158 -0
  980. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  981. package/dist/collection/components/mds-table-header/mistakes.md +157 -0
  982. package/dist/collection/components/mds-table-header-cell/AGENTS.md +4 -4
  983. package/dist/collection/components/mds-table-header-cell/documentation.json +3 -3
  984. package/dist/collection/components/mds-table-header-cell/examples.md +166 -0
  985. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  986. package/dist/collection/components/mds-table-header-cell/mistakes.md +115 -0
  987. package/dist/collection/components/mds-table-row/AGENTS.md +4 -4
  988. package/dist/collection/components/mds-table-row/documentation.json +3 -3
  989. package/dist/collection/components/mds-table-row/examples.md +166 -0
  990. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  991. package/dist/collection/components/mds-table-row/mistakes.md +141 -0
  992. package/dist/collection/components/mds-text/AGENTS.md +9 -7
  993. package/dist/collection/components/mds-text/documentation.json +33 -13
  994. package/dist/collection/components/mds-text/examples.md +148 -0
  995. package/dist/collection/components/mds-text/mds-text.css +38 -1
  996. package/dist/collection/components/mds-text/mds-text.js +14 -12
  997. package/dist/collection/components/mds-text/meta/dictionary.js +3 -1
  998. package/dist/collection/components/mds-text/meta/variants.js +38 -0
  999. package/dist/collection/components/mds-text/mistakes.md +141 -0
  1000. package/dist/collection/components/mds-toast/AGENTS.md +4 -4
  1001. package/dist/collection/components/mds-toast/documentation.json +3 -3
  1002. package/dist/collection/components/mds-toast/examples.md +174 -0
  1003. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  1004. package/dist/collection/components/mds-toast/mistakes.md +149 -0
  1005. package/dist/collection/components/mds-toast-region/AGENTS.md +4 -4
  1006. package/dist/collection/components/mds-toast-region/documentation.json +3 -3
  1007. package/dist/collection/components/mds-toast-region/examples.md +90 -0
  1008. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  1009. package/dist/collection/components/mds-toast-region/mistakes.md +62 -0
  1010. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -4
  1011. package/dist/collection/components/mds-tooltip/documentation.json +3 -3
  1012. package/dist/collection/components/mds-tooltip/examples.md +135 -0
  1013. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  1014. package/dist/collection/components/mds-tooltip/mistakes.md +122 -0
  1015. package/dist/collection/components/mds-tree/AGENTS.md +4 -4
  1016. package/dist/collection/components/mds-tree/documentation.json +3 -3
  1017. package/dist/collection/components/mds-tree/examples.md +196 -0
  1018. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  1019. package/dist/collection/components/mds-tree/mistakes.md +152 -0
  1020. package/dist/collection/components/mds-tree-item/AGENTS.md +4 -4
  1021. package/dist/collection/components/mds-tree-item/documentation.json +3 -3
  1022. package/dist/collection/components/mds-tree-item/examples.md +197 -0
  1023. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  1024. package/dist/collection/components/mds-tree-item/mistakes.md +148 -0
  1025. package/dist/collection/components/mds-url-view/AGENTS.md +4 -4
  1026. package/dist/collection/components/mds-url-view/documentation.json +3 -3
  1027. package/dist/collection/components/mds-url-view/examples.md +105 -0
  1028. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  1029. package/dist/collection/components/mds-url-view/mistakes.md +106 -0
  1030. package/dist/collection/components/mds-usage/AGENTS.md +4 -4
  1031. package/dist/collection/components/mds-usage/documentation.json +3 -3
  1032. package/dist/collection/components/mds-usage/examples.md +131 -0
  1033. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  1034. package/dist/collection/components/mds-usage/mistakes.md +105 -0
  1035. package/dist/collection/components/mds-video-wall/AGENTS.md +4 -4
  1036. package/dist/collection/components/mds-video-wall/documentation.json +3 -3
  1037. package/dist/collection/components/mds-video-wall/examples.md +99 -0
  1038. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  1039. package/dist/collection/components/mds-video-wall/mistakes.md +97 -0
  1040. package/dist/collection/components/mds-zero/AGENTS.md +4 -4
  1041. package/dist/collection/components/mds-zero/documentation.json +3 -3
  1042. package/dist/collection/components/mds-zero/examples.md +118 -0
  1043. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  1044. package/dist/collection/components/mds-zero/mistakes.md +106 -0
  1045. package/dist/components/index.js +1 -1
  1046. package/dist/components/mds-accordion-item.js +1 -1
  1047. package/dist/components/mds-accordion-timer-item.js +1 -1
  1048. package/dist/components/mds-avatar-stack-item.js +1 -1
  1049. package/dist/components/mds-avatar-stack.js +1 -1
  1050. package/dist/components/mds-avatar.js +1 -1
  1051. package/dist/components/mds-badge.js +1 -1
  1052. package/dist/components/mds-banner.js +1 -1
  1053. package/dist/components/mds-benchmark-bar.js +1 -1
  1054. package/dist/components/mds-bibliography.js +1 -1
  1055. package/dist/components/mds-book.js +1 -1
  1056. package/dist/components/mds-breadcrumb-item.js +1 -1
  1057. package/dist/components/mds-breadcrumb.js +1 -1
  1058. package/dist/components/mds-button-dropdown.js +1 -1
  1059. package/dist/components/mds-button.js +1 -1
  1060. package/dist/components/mds-calendar-cell.js +1 -1
  1061. package/dist/components/mds-calendar.js +1 -1
  1062. package/dist/components/mds-card-content.js +1 -1
  1063. package/dist/components/mds-card-footer.js +1 -1
  1064. package/dist/components/mds-card-header.js +1 -1
  1065. package/dist/components/mds-card-media.js +1 -1
  1066. package/dist/components/mds-card.js +1 -1
  1067. package/dist/components/mds-chip.js +1 -1
  1068. package/dist/components/mds-details.js +1 -1
  1069. package/dist/components/mds-dropdown.js +1 -1
  1070. package/dist/components/mds-emoji.js +4 -4
  1071. package/dist/components/mds-entity.js +1 -1
  1072. package/dist/components/mds-file-preview.js +1 -1
  1073. package/dist/components/mds-file.js +1 -1
  1074. package/dist/components/mds-filter-item.js +1 -1
  1075. package/dist/components/mds-filter.js +1 -1
  1076. package/dist/components/mds-header-bar.js +1 -1
  1077. package/dist/components/mds-header.js +1 -1
  1078. package/dist/components/mds-help.js +1 -1
  1079. package/dist/components/mds-horizontal-scroll.js +1 -1
  1080. package/dist/components/mds-hr.js +1 -1
  1081. package/dist/components/mds-icon.js +1 -1
  1082. package/dist/components/mds-img.js +1 -1
  1083. package/dist/components/mds-input-date-range-preselection.js +1 -1
  1084. package/dist/components/mds-input-date-range.js +1 -1
  1085. package/dist/components/mds-input-date.js +1 -1
  1086. package/dist/components/mds-input-field.js +1 -1
  1087. package/dist/components/mds-input-otp.js +1 -1
  1088. package/dist/components/mds-input-range.js +1 -1
  1089. package/dist/components/mds-input-select.js +1 -1
  1090. package/dist/components/mds-input-switch.js +1 -1
  1091. package/dist/components/mds-input-tip-item.js +1 -1
  1092. package/dist/components/mds-input-tip.js +1 -1
  1093. package/dist/components/mds-input-upload.js +1 -1
  1094. package/dist/components/mds-input.js +1 -1
  1095. package/dist/components/mds-keyboard-key.js +1 -1
  1096. package/dist/components/mds-keyboard.js +1 -1
  1097. package/dist/components/mds-kpi-item.js +1 -1
  1098. package/dist/components/mds-kpi.js +1 -1
  1099. package/dist/components/mds-label.js +1 -1
  1100. package/dist/components/mds-link.js +1 -1
  1101. package/dist/components/mds-list-item.js +1 -1
  1102. package/dist/components/mds-list.js +1 -1
  1103. package/dist/components/mds-mention.js +1 -1
  1104. package/dist/components/mds-modal.js +1 -1
  1105. package/dist/components/mds-note.js +1 -1
  1106. package/dist/components/mds-notification.js +1 -1
  1107. package/dist/components/mds-paginator-item.js +1 -1
  1108. package/dist/components/mds-paginator.js +1 -1
  1109. package/dist/components/mds-policy-ai.js +1 -1
  1110. package/dist/components/mds-pref-animation.js +1 -1
  1111. package/dist/components/mds-pref-consumption.js +1 -1
  1112. package/dist/components/mds-pref-contrast.js +1 -1
  1113. package/dist/components/mds-pref-language-item.js +1 -1
  1114. package/dist/components/mds-pref-language.js +1 -1
  1115. package/dist/components/mds-pref-mode.js +1 -1
  1116. package/dist/components/mds-pref-theme-item.js +1 -1
  1117. package/dist/components/mds-pref-theme.js +1 -1
  1118. package/dist/components/mds-pref.js +1 -1
  1119. package/dist/components/mds-price-table-features-cell.js +1 -1
  1120. package/dist/components/mds-price-table-features-row.js +1 -1
  1121. package/dist/components/mds-price-table-features.js +1 -1
  1122. package/dist/components/mds-price-table-header.js +1 -1
  1123. package/dist/components/mds-price-table-list-item.js +1 -1
  1124. package/dist/components/mds-price-table-list.js +1 -1
  1125. package/dist/components/mds-price-table.js +1 -1
  1126. package/dist/components/mds-progress.js +1 -1
  1127. package/dist/components/mds-push-notification-item.js +1 -1
  1128. package/dist/components/mds-push-notification.js +1 -1
  1129. package/dist/components/mds-quote.js +1 -1
  1130. package/dist/components/mds-radial-menu-item.js +1 -1
  1131. package/dist/components/mds-radial-menu.js +1 -1
  1132. package/dist/components/mds-radial-progress.js +1 -1
  1133. package/dist/components/mds-separator.js +1 -1
  1134. package/dist/components/mds-spinner.js +1 -1
  1135. package/dist/components/mds-status-bar.js +1 -1
  1136. package/dist/components/mds-stepper-bar-item.js +1 -1
  1137. package/dist/components/mds-stepper-bar.js +1 -1
  1138. package/dist/components/mds-tab-bar-item.js +1 -1
  1139. package/dist/components/mds-tab-bar.js +1 -1
  1140. package/dist/components/mds-tab-item.js +1 -1
  1141. package/dist/components/mds-tab.js +1 -1
  1142. package/dist/components/mds-table-body.js +1 -1
  1143. package/dist/components/mds-table-cell.js +1 -1
  1144. package/dist/components/mds-table-footer.js +1 -1
  1145. package/dist/components/mds-table-header-cell.js +1 -1
  1146. package/dist/components/mds-table-header.js +1 -1
  1147. package/dist/components/mds-table-row.js +1 -1
  1148. package/dist/components/mds-table.js +1 -1
  1149. package/dist/components/mds-text.js +1 -1
  1150. package/dist/components/mds-toast-region.js +1 -1
  1151. package/dist/components/mds-toast.js +1 -1
  1152. package/dist/components/mds-tooltip.js +1 -1
  1153. package/dist/components/mds-tree-item.js +1 -1
  1154. package/dist/components/mds-tree.js +1 -1
  1155. package/dist/components/mds-url-view.js +1 -1
  1156. package/dist/components/mds-usage.js +1 -1
  1157. package/dist/components/mds-video-wall.js +1 -1
  1158. package/dist/components/mds-zero.js +1 -1
  1159. package/dist/components/p-4LbHmDXv.js +1 -0
  1160. package/dist/components/p-B6AFku7a.js +1 -0
  1161. package/dist/components/p-BFDRt7-n.js +1 -0
  1162. package/dist/components/p-BaynxVRZ.js +1 -0
  1163. package/dist/components/p-BiW6luA5.js +1 -0
  1164. package/dist/components/p-Br6-kva-.js +1 -0
  1165. package/dist/components/p-BwT0RJip.js +1 -0
  1166. package/dist/components/p-C7rDjrH4.js +1 -0
  1167. package/dist/components/p-CKnbQQUb.js +1 -0
  1168. package/dist/components/p-COUgBzJ4.js +1 -0
  1169. package/dist/components/p-COkn4Vtq.js +1 -0
  1170. package/dist/components/p-CP5Qw9_T.js +1 -0
  1171. package/dist/components/p-C_Pc94vn.js +1 -0
  1172. package/dist/components/p-D8CloC8I.js +1 -0
  1173. package/dist/components/p-DGhzWuCS.js +1 -0
  1174. package/dist/components/p-DJd8f8dz.js +1 -0
  1175. package/dist/components/p-DOdUioZq.js +1 -0
  1176. package/dist/components/p-DW6ie49j.js +1 -0
  1177. package/dist/components/p-D_RIY063.js +1 -0
  1178. package/dist/components/p-DdzJfsw7.js +1 -0
  1179. package/dist/components/p-DhpcFZrc.js +1 -0
  1180. package/dist/components/p-DlglisEn.js +1 -0
  1181. package/dist/components/p-DqdlT4UG.js +1 -0
  1182. package/dist/components/p-DvDB_L_5.js +1 -0
  1183. package/dist/components/p-FsctOap9.js +1 -0
  1184. package/dist/components/p-G7Udw5H5.js +1 -0
  1185. package/dist/components/p-Ic8cYsgt.js +1 -0
  1186. package/dist/components/p-gLo3t_qO.js +8 -0
  1187. package/dist/components/p-ikNX7XDH.js +1 -0
  1188. package/dist/components/p-l0KS6hTQ.js +1 -0
  1189. package/dist/documentation.json +429 -278
  1190. package/dist/esm/loader.js +1 -1
  1191. package/dist/esm/magma-components.js +1 -1
  1192. package/dist/esm/mds-accordion-item.entry.js +6 -3
  1193. package/dist/esm/mds-accordion-timer-item.entry.js +5 -2
  1194. package/dist/esm/mds-avatar.entry.js +1 -1
  1195. package/dist/esm/mds-banner_3.entry.js +3 -3
  1196. package/dist/esm/mds-book.entry.js +25 -9
  1197. package/dist/esm/mds-button_3.entry.js +4 -4
  1198. package/dist/esm/mds-card-content.entry.js +1 -1
  1199. package/dist/esm/mds-card-footer.entry.js +2 -2
  1200. package/dist/esm/mds-card-header.entry.js +2 -2
  1201. package/dist/esm/mds-card-media.entry.js +1 -1
  1202. package/dist/esm/mds-card.entry.js +1 -1
  1203. package/dist/esm/mds-details.entry.js +1 -1
  1204. package/dist/esm/mds-dropdown.entry.js +3 -3
  1205. package/dist/esm/mds-emoji.entry.js +40 -11
  1206. package/dist/esm/mds-entity.entry.js +1 -1
  1207. package/dist/esm/mds-file-preview.entry.js +2 -2
  1208. package/dist/esm/mds-file.entry.js +1 -1
  1209. package/dist/esm/mds-filter-item.entry.js +1 -1
  1210. package/dist/esm/mds-filter.entry.js +1 -1
  1211. package/dist/esm/mds-header-bar.entry.js +2 -2
  1212. package/dist/esm/mds-header.entry.js +2 -2
  1213. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  1214. package/dist/esm/mds-hr.entry.js +1 -1
  1215. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  1216. package/dist/esm/mds-input-date-range.entry.js +1 -1
  1217. package/dist/esm/mds-input-date.entry.js +3 -3
  1218. package/dist/esm/mds-input-field.entry.js +8 -2
  1219. package/dist/esm/mds-input-otp.entry.js +1 -1
  1220. package/dist/esm/mds-input-range.entry.js +1 -1
  1221. package/dist/esm/mds-input-select.entry.js +3 -3
  1222. package/dist/esm/mds-input-switch_2.entry.js +4 -4
  1223. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  1224. package/dist/esm/mds-input-upload.entry.js +13 -14
  1225. package/dist/esm/mds-input.entry.js +3 -3
  1226. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  1227. package/dist/esm/mds-keyboard.entry.js +1 -1
  1228. package/dist/esm/mds-kpi-item.entry.js +2 -2
  1229. package/dist/esm/mds-kpi.entry.js +1 -1
  1230. package/dist/esm/mds-label.entry.js +1 -1
  1231. package/dist/esm/mds-link.entry.js +3 -3
  1232. package/dist/esm/mds-list-item.entry.js +1 -1
  1233. package/dist/esm/mds-list.entry.js +1 -1
  1234. package/dist/esm/mds-mention.entry.js +1 -1
  1235. package/dist/esm/mds-modal.entry.js +4 -4
  1236. package/dist/esm/mds-note.entry.js +2 -2
  1237. package/dist/esm/mds-notification.entry.js +46 -3
  1238. package/dist/esm/mds-paginator-item.entry.js +2 -2
  1239. package/dist/esm/mds-paginator.entry.js +2 -2
  1240. package/dist/esm/mds-policy-ai.entry.js +1 -1
  1241. package/dist/esm/mds-pref-animation.entry.js +1 -1
  1242. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  1243. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  1244. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  1245. package/dist/esm/mds-pref-language.entry.js +1 -1
  1246. package/dist/esm/mds-pref-mode.entry.js +1 -1
  1247. package/dist/esm/mds-pref-theme-item.entry.js +18 -4
  1248. package/dist/esm/mds-pref-theme.entry.js +12 -3
  1249. package/dist/esm/mds-pref.entry.js +1 -1
  1250. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  1251. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  1252. package/dist/esm/mds-price-table-features.entry.js +2 -2
  1253. package/dist/esm/mds-price-table-header.entry.js +1 -1
  1254. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  1255. package/dist/esm/mds-price-table-list.entry.js +2 -2
  1256. package/dist/esm/mds-price-table.entry.js +1 -1
  1257. package/dist/esm/mds-progress_2.entry.js +3 -3
  1258. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  1259. package/dist/esm/mds-push-notification.entry.js +2 -2
  1260. package/dist/esm/mds-quote.entry.js +1 -1
  1261. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  1262. package/dist/esm/mds-radial-menu.entry.js +1 -1
  1263. package/dist/esm/mds-separator.entry.js +1 -1
  1264. package/dist/esm/mds-status-bar.entry.js +2 -2
  1265. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  1266. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  1267. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  1268. package/dist/esm/mds-tab-bar.entry.js +2 -2
  1269. package/dist/esm/mds-tab_2.entry.js +3 -3
  1270. package/dist/esm/mds-table-body.entry.js +2 -2
  1271. package/dist/esm/mds-table-footer.entry.js +2 -2
  1272. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  1273. package/dist/esm/mds-table-header.entry.js +2 -2
  1274. package/dist/esm/mds-table-row.entry.js +3 -3
  1275. package/dist/esm/mds-table.entry.js +2 -2
  1276. package/dist/esm/mds-text.entry.js +45 -5
  1277. package/dist/esm/mds-toast-region.entry.js +1 -1
  1278. package/dist/esm/mds-toast.entry.js +2 -2
  1279. package/dist/esm/mds-tooltip.entry.js +2 -2
  1280. package/dist/esm/mds-tree-item.entry.js +1 -1
  1281. package/dist/esm/mds-tree.entry.js +2 -2
  1282. package/dist/esm/mds-url-view.entry.js +2 -2
  1283. package/dist/esm/mds-usage.entry.js +2 -2
  1284. package/dist/esm/mds-video-wall.entry.js +1 -1
  1285. package/dist/esm/mds-zero.entry.js +2 -2
  1286. package/dist/esm-es5/loader.js +1 -1
  1287. package/dist/esm-es5/magma-components.js +1 -1
  1288. package/dist/esm-es5/mds-accordion-item.entry.js +6 -3
  1289. package/dist/esm-es5/mds-accordion-timer-item.entry.js +5 -2
  1290. package/dist/esm-es5/mds-avatar.entry.js +1 -1
  1291. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  1292. package/dist/esm-es5/mds-book.entry.js +49 -44
  1293. package/dist/esm-es5/mds-button_3.entry.js +3 -3
  1294. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1295. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1296. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1297. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1298. package/dist/esm-es5/mds-card.entry.js +3 -3
  1299. package/dist/esm-es5/mds-details.entry.js +1 -1
  1300. package/dist/esm-es5/mds-dropdown.entry.js +2 -2
  1301. package/dist/esm-es5/mds-emoji.entry.js +110 -108
  1302. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1303. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  1304. package/dist/esm-es5/mds-file.entry.js +1 -1
  1305. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  1306. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1307. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  1308. package/dist/esm-es5/mds-header.entry.js +3 -3
  1309. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1310. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1311. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1312. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  1313. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  1314. package/dist/esm-es5/mds-input-field.entry.js +7 -2
  1315. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  1316. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  1317. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  1318. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  1319. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  1320. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  1321. package/dist/esm-es5/mds-input.entry.js +2 -2
  1322. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  1323. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  1324. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1325. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1326. package/dist/esm-es5/mds-label.entry.js +1 -1
  1327. package/dist/esm-es5/mds-link.entry.js +1 -1
  1328. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1329. package/dist/esm-es5/mds-list.entry.js +1 -1
  1330. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1331. package/dist/esm-es5/mds-modal.entry.js +15 -15
  1332. package/dist/esm-es5/mds-note.entry.js +2 -2
  1333. package/dist/esm-es5/mds-notification.entry.js +32 -6
  1334. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  1335. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1336. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  1337. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  1338. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  1339. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  1340. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  1341. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  1342. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  1343. package/dist/esm-es5/mds-pref-theme-item.entry.js +12 -5
  1344. package/dist/esm-es5/mds-pref-theme.entry.js +13 -8
  1345. package/dist/esm-es5/mds-pref.entry.js +1 -1
  1346. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1347. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1348. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1349. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1350. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1351. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1352. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1353. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1354. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1355. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  1356. package/dist/esm-es5/mds-quote.entry.js +1 -1
  1357. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1358. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  1359. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1360. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  1361. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  1362. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1363. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  1364. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1365. package/dist/esm-es5/mds-tab_2.entry.js +2 -2
  1366. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1367. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1368. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1369. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  1370. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  1371. package/dist/esm-es5/mds-table.entry.js +2 -2
  1372. package/dist/esm-es5/mds-text.entry.js +12 -6
  1373. package/dist/esm-es5/mds-toast-region.entry.js +2 -2
  1374. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1375. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1376. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  1377. package/dist/esm-es5/mds-tree.entry.js +2 -2
  1378. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1379. package/dist/esm-es5/mds-usage.entry.js +2 -2
  1380. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  1381. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1382. package/dist/hydrate/index.js +368 -202
  1383. package/dist/hydrate/index.mjs +368 -202
  1384. package/dist/lint/core/data.d.ts +23 -0
  1385. package/dist/lint/core/data.js +57 -0
  1386. package/dist/lint/core/patterns.d.ts +497 -0
  1387. package/dist/lint/core/patterns.js +1711 -0
  1388. package/dist/lint/index.d.ts +1 -0
  1389. package/dist/lint/index.js +1 -0
  1390. package/dist/lint/mcp/checks.d.ts +17 -3
  1391. package/dist/lint/mcp/checks.js +62 -12
  1392. package/dist/lint/mcp/cli.js +6 -3
  1393. package/dist/lint/mcp/components.js +11 -4
  1394. package/dist/lint/mcp/context.d.ts +11 -2
  1395. package/dist/lint/mcp/context.js +17 -3
  1396. package/dist/lint/mcp/guides.js +58 -7
  1397. package/dist/lint/mcp/icons.d.ts +6 -0
  1398. package/dist/lint/mcp/icons.js +4 -4
  1399. package/dist/lint/mcp/patterns.d.ts +75 -0
  1400. package/dist/lint/mcp/patterns.js +347 -0
  1401. package/dist/lint/mcp/protocol.d.ts +19 -1
  1402. package/dist/lint/mcp/protocol.js +16 -3
  1403. package/dist/lint/mcp/render-page.d.ts +40 -0
  1404. package/dist/lint/mcp/render-page.js +360 -0
  1405. package/dist/lint/mcp/render.d.ts +130 -0
  1406. package/dist/lint/mcp/render.js +693 -0
  1407. package/dist/lint/mcp/server.d.ts +2 -0
  1408. package/dist/lint/mcp/server.js +9 -2
  1409. package/dist/lint/mcp/tools.json +418 -6
  1410. package/dist/magma-components/magma-components.esm.js +1 -1
  1411. package/dist/magma-components/p-0384db44.system.entry.js +26 -0
  1412. package/dist/magma-components/p-03fb86a6.system.entry.js +7 -0
  1413. package/dist/magma-components/p-05455645.system.entry.js +6 -0
  1414. package/dist/magma-components/p-06691ab3.system.entry.js +27 -0
  1415. package/dist/magma-components/p-074d7b75.entry.js +1 -0
  1416. package/dist/magma-components/p-08da465d.entry.js +1 -0
  1417. package/dist/magma-components/p-0a0dfdf4.system.entry.js +4 -0
  1418. package/dist/magma-components/p-0c8f22dc.system.entry.js +5 -0
  1419. package/dist/magma-components/p-0d3da482.system.entry.js +1 -0
  1420. package/dist/magma-components/p-0d42ac4a.entry.js +1 -0
  1421. package/dist/magma-components/p-0fc41e34.system.entry.js +1 -0
  1422. package/dist/magma-components/p-10d52280.entry.js +1 -0
  1423. package/dist/magma-components/p-11210b60.system.entry.js +24 -0
  1424. package/dist/magma-components/p-12be0f43.system.entry.js +91 -0
  1425. package/dist/magma-components/p-13cfc01a.entry.js +1 -0
  1426. package/dist/magma-components/p-14122f2d.entry.js +1 -0
  1427. package/dist/magma-components/p-1467ded5.system.entry.js +7 -0
  1428. package/dist/magma-components/p-18244fd7.system.entry.js +35 -0
  1429. package/dist/magma-components/p-18b27217.entry.js +1 -0
  1430. package/dist/magma-components/p-1a20f239.system.entry.js +1 -0
  1431. package/dist/magma-components/p-1f746ad1.system.entry.js +82 -0
  1432. package/dist/magma-components/p-2111aa67.system.entry.js +1 -0
  1433. package/dist/magma-components/p-21345ecc.entry.js +1 -0
  1434. package/dist/magma-components/p-25dcbf22.entry.js +1 -0
  1435. package/dist/magma-components/p-27254fbd.entry.js +1 -0
  1436. package/dist/magma-components/p-299dab17.entry.js +1 -0
  1437. package/dist/magma-components/p-29dd6d94.entry.js +1 -0
  1438. package/dist/magma-components/p-2a445b98.system.entry.js +977 -0
  1439. package/dist/magma-components/p-2d199db0.system.entry.js +25 -0
  1440. package/dist/magma-components/p-2d2cdf0d.entry.js +1 -0
  1441. package/dist/magma-components/p-2e68180d.system.entry.js +32 -0
  1442. package/dist/magma-components/p-308a4ae5.system.entry.js +1 -0
  1443. package/dist/magma-components/p-30f95d10.entry.js +1 -0
  1444. package/dist/magma-components/p-34421ef2.system.entry.js +77 -0
  1445. package/dist/magma-components/p-35c170ba.system.entry.js +17 -0
  1446. package/dist/magma-components/p-37881115.system.entry.js +14 -0
  1447. package/dist/magma-components/p-384d93dc.system.entry.js +1 -0
  1448. package/dist/magma-components/p-387fa36d.system.entry.js +1 -0
  1449. package/dist/magma-components/p-3af8a86a.system.entry.js +111 -0
  1450. package/dist/magma-components/p-3b494de7.entry.js +1 -0
  1451. package/dist/magma-components/p-3b578659.system.entry.js +48 -0
  1452. package/dist/magma-components/p-3be9b384.system.entry.js +34 -0
  1453. package/dist/magma-components/p-445198a1.entry.js +1 -0
  1454. package/dist/magma-components/p-445bc62a.system.entry.js +1 -0
  1455. package/dist/magma-components/p-45a3e7eb.entry.js +1 -0
  1456. package/dist/magma-components/p-45b19935.system.entry.js +54 -0
  1457. package/dist/magma-components/p-4606d11f.entry.js +1 -0
  1458. package/dist/magma-components/p-4646cdc0.system.entry.js +17 -0
  1459. package/dist/magma-components/p-4669334a.system.entry.js +3 -0
  1460. package/dist/magma-components/p-46a928c3.entry.js +1 -0
  1461. package/dist/magma-components/p-4748378e.system.entry.js +220 -0
  1462. package/dist/magma-components/p-4da1c089.entry.js +1 -0
  1463. package/dist/magma-components/p-4e5b8618.system.entry.js +1 -0
  1464. package/dist/magma-components/p-4e8c5b68.entry.js +1 -0
  1465. package/dist/magma-components/p-4f0153cd.entry.js +1 -0
  1466. package/dist/magma-components/p-4f48c171.system.entry.js +1 -0
  1467. package/dist/magma-components/p-4fc0e294.entry.js +1 -0
  1468. package/dist/magma-components/p-4fd0fdb8.system.entry.js +61 -0
  1469. package/dist/magma-components/p-5575f198.entry.js +1 -0
  1470. package/dist/magma-components/p-5686da49.system.entry.js +13 -0
  1471. package/dist/magma-components/p-56a25ec6.entry.js +1 -0
  1472. package/dist/magma-components/p-57ee6e32.entry.js +1 -0
  1473. package/dist/magma-components/p-5931fdfc.system.entry.js +41 -0
  1474. package/dist/magma-components/p-5a8fa2d0.entry.js +1 -0
  1475. package/dist/magma-components/p-5aa8f150.entry.js +1 -0
  1476. package/dist/magma-components/p-5c8f408e.entry.js +1 -0
  1477. package/dist/magma-components/p-5d1cba9c.system.entry.js +1 -0
  1478. package/dist/magma-components/p-5d56a7cd.system.entry.js +47 -0
  1479. package/dist/magma-components/p-60acbc5f.system.entry.js +31 -0
  1480. package/dist/magma-components/p-60b21db7.entry.js +1 -0
  1481. package/dist/magma-components/p-60d6e60f.entry.js +1 -0
  1482. package/dist/magma-components/p-6129954d.system.entry.js +22 -0
  1483. package/dist/magma-components/p-61e11cd0.system.entry.js +16 -0
  1484. package/dist/magma-components/p-625de2e6.system.entry.js +24 -0
  1485. package/dist/magma-components/p-627c2780.entry.js +1 -0
  1486. package/dist/magma-components/p-6896786e.entry.js +1 -0
  1487. package/dist/magma-components/p-69319301.system.entry.js +10 -0
  1488. package/dist/magma-components/p-6a994dc1.entry.js +1 -0
  1489. package/dist/magma-components/p-6c73689a.system.entry.js +25 -0
  1490. package/dist/magma-components/p-6d009b42.system.entry.js +8 -0
  1491. package/dist/magma-components/p-72971cf7.system.entry.js +7 -0
  1492. package/dist/magma-components/p-741f8f45.system.entry.js +13 -0
  1493. package/dist/magma-components/p-7837856f.entry.js +1 -0
  1494. package/dist/magma-components/p-797c64f4.system.entry.js +19 -0
  1495. package/dist/magma-components/p-7a920b70.entry.js +1 -0
  1496. package/dist/magma-components/p-7b06b2f2.entry.js +1 -0
  1497. package/dist/magma-components/p-7c055074.entry.js +1 -0
  1498. package/dist/magma-components/p-7c3a7521.entry.js +1 -0
  1499. package/dist/magma-components/p-7d61f442.entry.js +1 -0
  1500. package/dist/magma-components/p-7ee31f2e.entry.js +1 -0
  1501. package/dist/magma-components/p-7f418ae1.entry.js +1 -0
  1502. package/dist/magma-components/p-7ff5552f.entry.js +1 -0
  1503. package/dist/magma-components/p-81d2582a.entry.js +1 -0
  1504. package/dist/magma-components/p-8239e526.system.entry.js +10 -0
  1505. package/dist/magma-components/p-844bce77.entry.js +1 -0
  1506. package/dist/magma-components/p-84aac233.entry.js +1 -0
  1507. package/dist/magma-components/p-85376ff5.entry.js +1 -0
  1508. package/dist/magma-components/p-85bf9c93.entry.js +1 -0
  1509. package/dist/magma-components/p-86f11a5a.entry.js +1 -0
  1510. package/dist/magma-components/p-8a8cad6c.system.entry.js +1 -0
  1511. package/dist/magma-components/p-8aa4cd10.entry.js +1 -0
  1512. package/dist/magma-components/p-8b8cd213.system.entry.js +49 -0
  1513. package/dist/magma-components/p-8bf8e032.entry.js +1 -0
  1514. package/dist/magma-components/p-8feba226.entry.js +1 -0
  1515. package/dist/magma-components/p-90d50492.system.entry.js +4 -0
  1516. package/dist/magma-components/p-9303fb16.system.entry.js +39 -0
  1517. package/dist/magma-components/p-948ecde4.entry.js +8 -0
  1518. package/dist/magma-components/p-95ddc950.system.entry.js +11 -0
  1519. package/dist/magma-components/p-97217527.system.entry.js +1 -0
  1520. package/dist/magma-components/p-97c6e10a.entry.js +1 -0
  1521. package/dist/magma-components/p-98e167e8.system.entry.js +23 -0
  1522. package/dist/magma-components/p-9a0f8eb1.entry.js +1 -0
  1523. package/dist/magma-components/p-9c2b67fc.system.entry.js +40 -0
  1524. package/dist/magma-components/p-9c784173.entry.js +1 -0
  1525. package/dist/magma-components/p-9e07535e.system.entry.js +78 -0
  1526. package/dist/magma-components/p-9e2b1a29.entry.js +1 -0
  1527. package/dist/magma-components/p-9ed54db1.entry.js +1 -0
  1528. package/dist/magma-components/p-9ef0d4e5.system.entry.js +7 -0
  1529. package/dist/magma-components/p-9ef64212.entry.js +18 -0
  1530. package/dist/magma-components/p-9f55fa7a.system.entry.js +51 -0
  1531. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1532. package/dist/magma-components/p-a2e3a545.entry.js +1 -0
  1533. package/dist/magma-components/p-a3156523.system.entry.js +98 -0
  1534. package/dist/magma-components/p-a3d09996.entry.js +1 -0
  1535. package/dist/magma-components/p-a65ce11a.system.entry.js +17 -0
  1536. package/dist/magma-components/p-a8206d9c.entry.js +1 -0
  1537. package/dist/magma-components/p-a9caed77.entry.js +1 -0
  1538. package/dist/magma-components/p-aac622ef.system.entry.js +1 -0
  1539. package/dist/magma-components/p-ac099ed6.entry.js +1 -0
  1540. package/dist/magma-components/p-ac161cb5.entry.js +1 -0
  1541. package/dist/magma-components/p-ad13ade5.system.entry.js +13 -0
  1542. package/dist/magma-components/p-adab176e.system.entry.js +13 -0
  1543. package/dist/magma-components/p-ae9735e4.system.entry.js +22 -0
  1544. package/dist/magma-components/p-b0749f83.system.entry.js +10 -0
  1545. package/dist/magma-components/p-b0850daa.entry.js +1 -0
  1546. package/dist/magma-components/p-b2763352.entry.js +1 -0
  1547. package/dist/magma-components/p-b30b487c.system.entry.js +55 -0
  1548. package/dist/magma-components/p-b464668b.system.entry.js +105 -0
  1549. package/dist/magma-components/p-b523fabe.system.entry.js +46 -0
  1550. package/dist/magma-components/p-b61546fd.entry.js +1 -0
  1551. package/dist/magma-components/p-b6412ddd.system.entry.js +1 -0
  1552. package/dist/magma-components/p-b781c932.system.entry.js +7 -0
  1553. package/dist/magma-components/p-b85f56d7.entry.js +1 -0
  1554. package/dist/magma-components/p-b8f4938a.entry.js +1 -0
  1555. package/dist/magma-components/p-bba4f1f0.system.entry.js +46 -0
  1556. package/dist/magma-components/p-bc054ffa.system.entry.js +19 -0
  1557. package/dist/magma-components/p-be2ca282.entry.js +1 -0
  1558. package/dist/magma-components/p-c35ea44d.system.entry.js +12 -0
  1559. package/dist/magma-components/p-c683cd13.entry.js +1 -0
  1560. package/dist/magma-components/p-c7dc17f8.entry.js +1 -0
  1561. package/dist/magma-components/p-c915fba5.system.entry.js +21 -0
  1562. package/dist/magma-components/p-c9553777.entry.js +1 -0
  1563. package/dist/magma-components/p-c9bd81c5.system.entry.js +225 -0
  1564. package/dist/magma-components/p-ccffdf0b.system.entry.js +80 -0
  1565. package/dist/magma-components/p-cd6dd836.entry.js +1 -0
  1566. package/dist/magma-components/p-cf42d6ea.system.entry.js +9 -0
  1567. package/dist/magma-components/p-cfbf3a76.system.entry.js +23 -0
  1568. package/dist/magma-components/p-d29c959d.entry.js +1 -0
  1569. package/dist/magma-components/p-d360e4c5.entry.js +1 -0
  1570. package/dist/magma-components/p-d43e2a9a.entry.js +1 -0
  1571. package/dist/magma-components/p-d50d4023.entry.js +1 -0
  1572. package/dist/magma-components/p-d81fcbde.system.entry.js +20 -0
  1573. package/dist/magma-components/p-d85f3e5e.system.entry.js +16 -0
  1574. package/dist/magma-components/p-dcb5f965.entry.js +1 -0
  1575. package/dist/magma-components/p-ddfb4da3.entry.js +1 -0
  1576. package/dist/magma-components/p-e0049e96.system.entry.js +33 -0
  1577. package/dist/magma-components/p-e059aaa9.entry.js +1 -0
  1578. package/dist/magma-components/p-e428490d.system.entry.js +5 -0
  1579. package/dist/magma-components/p-e79eb427.system.entry.js +7 -0
  1580. package/dist/magma-components/p-e7f717ab.entry.js +1 -0
  1581. package/dist/magma-components/p-e92327a2.entry.js +1 -0
  1582. package/dist/magma-components/p-ecc2893d.system.entry.js +24 -0
  1583. package/dist/magma-components/p-ed4fd7a4.entry.js +1 -0
  1584. package/dist/magma-components/p-ef1bdd44.entry.js +1 -0
  1585. package/dist/magma-components/p-efe27253.system.entry.js +27 -0
  1586. package/dist/magma-components/p-f09f3fe1.system.entry.js +52 -0
  1587. package/dist/magma-components/p-f181c679.system.entry.js +16 -0
  1588. package/dist/magma-components/p-f22b8091.entry.js +1 -0
  1589. package/dist/magma-components/p-f493fdc3.entry.js +1 -0
  1590. package/dist/magma-components/p-f5d9f625.entry.js +1 -0
  1591. package/dist/magma-components/p-f7426a75.entry.js +1 -0
  1592. package/dist/magma-components/p-fa387b74.system.entry.js +5 -0
  1593. package/dist/magma-components/p-fae9612b.system.entry.js +27 -0
  1594. package/dist/magma-components/p-fbf563c8.entry.js +1 -0
  1595. package/dist/magma-components/p-fd81c4ef.system.entry.js +29 -0
  1596. package/dist/magma-components/p-fdedc0ba.entry.js +1 -0
  1597. package/dist/magma-components/p-ff65fc97.entry.js +1 -0
  1598. package/dist/magma-components/p-ff82edad.entry.js +1 -0
  1599. package/dist/magma-components/p-fff26731.system.entry.js +15 -0
  1600. package/dist/stats.json +1292 -1091
  1601. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +4 -1
  1602. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +4 -1
  1603. package/dist/types/components/mds-book/mds-book.d.ts +6 -2
  1604. package/dist/types/components/mds-book/meta/types.d.ts +1 -1
  1605. package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
  1606. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1607. package/dist/types/components/mds-notification/mds-notification.d.ts +23 -0
  1608. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +9 -2
  1609. package/dist/types/components/mds-text/mds-text.d.ts +8 -5
  1610. package/dist/types/components/mds-text/meta/dictionary.d.ts +2 -1
  1611. package/dist/types/components/mds-text/meta/types.d.ts +5 -0
  1612. package/dist/types/components/mds-text/meta/variants.d.ts +35 -0
  1613. package/dist/types/components.d.ts +52 -19
  1614. package/package.json +27 -18
  1615. package/agents/anti-patterns.md +0 -42
  1616. package/dist/collection/components/mds-accordion/antipattern.md +0 -122
  1617. package/dist/collection/components/mds-accordion/pattern.md +0 -147
  1618. package/dist/collection/components/mds-accordion-item/antipattern.md +0 -137
  1619. package/dist/collection/components/mds-accordion-item/pattern.md +0 -154
  1620. package/dist/collection/components/mds-accordion-timer/antipattern.md +0 -135
  1621. package/dist/collection/components/mds-accordion-timer/pattern.md +0 -137
  1622. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +0 -142
  1623. package/dist/collection/components/mds-accordion-timer-item/pattern.md +0 -132
  1624. package/dist/collection/components/mds-author/antipattern.md +0 -106
  1625. package/dist/collection/components/mds-author/pattern.md +0 -101
  1626. package/dist/collection/components/mds-avatar/antipattern.md +0 -96
  1627. package/dist/collection/components/mds-avatar/pattern.md +0 -118
  1628. package/dist/collection/components/mds-avatar-stack/antipattern.md +0 -121
  1629. package/dist/collection/components/mds-avatar-stack/pattern.md +0 -122
  1630. package/dist/collection/components/mds-avatar-stack-item/antipattern.md +0 -113
  1631. package/dist/collection/components/mds-avatar-stack-item/pattern.md +0 -104
  1632. package/dist/collection/components/mds-badge/antipattern.md +0 -103
  1633. package/dist/collection/components/mds-badge/pattern.md +0 -126
  1634. package/dist/collection/components/mds-banner/antipattern.md +0 -140
  1635. package/dist/collection/components/mds-banner/pattern.md +0 -175
  1636. package/dist/collection/components/mds-benchmark-bar/antipattern.md +0 -77
  1637. package/dist/collection/components/mds-benchmark-bar/pattern.md +0 -102
  1638. package/dist/collection/components/mds-bibliography/antipattern.md +0 -128
  1639. package/dist/collection/components/mds-bibliography/pattern.md +0 -140
  1640. package/dist/collection/components/mds-book/antipattern.md +0 -88
  1641. package/dist/collection/components/mds-book/pattern.md +0 -125
  1642. package/dist/collection/components/mds-breadcrumb/antipattern.md +0 -112
  1643. package/dist/collection/components/mds-breadcrumb/pattern.md +0 -100
  1644. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +0 -109
  1645. package/dist/collection/components/mds-breadcrumb-item/pattern.md +0 -83
  1646. package/dist/collection/components/mds-button/antipattern.md +0 -160
  1647. package/dist/collection/components/mds-button/pattern.md +0 -211
  1648. package/dist/collection/components/mds-button-dropdown/antipattern.md +0 -158
  1649. package/dist/collection/components/mds-button-dropdown/pattern.md +0 -171
  1650. package/dist/collection/components/mds-button-group/antipattern.md +0 -105
  1651. package/dist/collection/components/mds-button-group/pattern.md +0 -89
  1652. package/dist/collection/components/mds-calendar/antipattern.md +0 -113
  1653. package/dist/collection/components/mds-calendar/pattern.md +0 -127
  1654. package/dist/collection/components/mds-calendar-cell/antipattern.md +0 -58
  1655. package/dist/collection/components/mds-calendar-cell/pattern.md +0 -83
  1656. package/dist/collection/components/mds-card/antipattern.md +0 -133
  1657. package/dist/collection/components/mds-card/pattern.md +0 -161
  1658. package/dist/collection/components/mds-card-content/antipattern.md +0 -110
  1659. package/dist/collection/components/mds-card-content/pattern.md +0 -91
  1660. package/dist/collection/components/mds-card-footer/antipattern.md +0 -112
  1661. package/dist/collection/components/mds-card-footer/pattern.md +0 -95
  1662. package/dist/collection/components/mds-card-header/antipattern.md +0 -114
  1663. package/dist/collection/components/mds-card-header/pattern.md +0 -143
  1664. package/dist/collection/components/mds-card-media/antipattern.md +0 -128
  1665. package/dist/collection/components/mds-card-media/pattern.md +0 -93
  1666. package/dist/collection/components/mds-chip/antipattern.md +0 -118
  1667. package/dist/collection/components/mds-chip/pattern.md +0 -164
  1668. package/dist/collection/components/mds-details/antipattern.md +0 -124
  1669. package/dist/collection/components/mds-details/pattern.md +0 -136
  1670. package/dist/collection/components/mds-dropdown/antipattern.md +0 -137
  1671. package/dist/collection/components/mds-dropdown/pattern.md +0 -201
  1672. package/dist/collection/components/mds-emoji/antipattern.md +0 -116
  1673. package/dist/collection/components/mds-emoji/pattern.md +0 -203
  1674. package/dist/collection/components/mds-entity/antipattern.md +0 -119
  1675. package/dist/collection/components/mds-entity/pattern.md +0 -132
  1676. package/dist/collection/components/mds-file/antipattern.md +0 -91
  1677. package/dist/collection/components/mds-file/pattern.md +0 -107
  1678. package/dist/collection/components/mds-file-preview/antipattern.md +0 -129
  1679. package/dist/collection/components/mds-file-preview/pattern.md +0 -163
  1680. package/dist/collection/components/mds-filter/antipattern.md +0 -140
  1681. package/dist/collection/components/mds-filter/pattern.md +0 -156
  1682. package/dist/collection/components/mds-filter-item/antipattern.md +0 -127
  1683. package/dist/collection/components/mds-filter-item/pattern.md +0 -123
  1684. package/dist/collection/components/mds-header/antipattern.md +0 -120
  1685. package/dist/collection/components/mds-header/pattern.md +0 -180
  1686. package/dist/collection/components/mds-header-bar/antipattern.md +0 -117
  1687. package/dist/collection/components/mds-header-bar/pattern.md +0 -138
  1688. package/dist/collection/components/mds-help/antipattern.md +0 -73
  1689. package/dist/collection/components/mds-help/pattern.md +0 -106
  1690. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +0 -120
  1691. package/dist/collection/components/mds-horizontal-scroll/pattern.md +0 -143
  1692. package/dist/collection/components/mds-hr/antipattern.md +0 -84
  1693. package/dist/collection/components/mds-hr/pattern.md +0 -88
  1694. package/dist/collection/components/mds-icon/antipattern.md +0 -118
  1695. package/dist/collection/components/mds-icon/pattern.md +0 -135
  1696. package/dist/collection/components/mds-img/antipattern.md +0 -106
  1697. package/dist/collection/components/mds-img/pattern.md +0 -125
  1698. package/dist/collection/components/mds-input/antipattern.md +0 -128
  1699. package/dist/collection/components/mds-input/pattern.md +0 -265
  1700. package/dist/collection/components/mds-input-date/antipattern.md +0 -107
  1701. package/dist/collection/components/mds-input-date/pattern.md +0 -157
  1702. package/dist/collection/components/mds-input-date-range/antipattern.md +0 -168
  1703. package/dist/collection/components/mds-input-date-range/pattern.md +0 -121
  1704. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +0 -152
  1705. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +0 -91
  1706. package/dist/collection/components/mds-input-field/antipattern.md +0 -115
  1707. package/dist/collection/components/mds-input-field/pattern.md +0 -95
  1708. package/dist/collection/components/mds-input-otp/antipattern.md +0 -105
  1709. package/dist/collection/components/mds-input-otp/pattern.md +0 -107
  1710. package/dist/collection/components/mds-input-range/antipattern.md +0 -123
  1711. package/dist/collection/components/mds-input-range/pattern.md +0 -100
  1712. package/dist/collection/components/mds-input-select/antipattern.md +0 -126
  1713. package/dist/collection/components/mds-input-select/pattern.md +0 -166
  1714. package/dist/collection/components/mds-input-switch/antipattern.md +0 -116
  1715. package/dist/collection/components/mds-input-switch/pattern.md +0 -124
  1716. package/dist/collection/components/mds-input-tip/antipattern.md +0 -112
  1717. package/dist/collection/components/mds-input-tip/pattern.md +0 -122
  1718. package/dist/collection/components/mds-input-tip-item/antipattern.md +0 -98
  1719. package/dist/collection/components/mds-input-tip-item/pattern.md +0 -106
  1720. package/dist/collection/components/mds-input-upload/antipattern.md +0 -143
  1721. package/dist/collection/components/mds-input-upload/pattern.md +0 -161
  1722. package/dist/collection/components/mds-keyboard/antipattern.md +0 -111
  1723. package/dist/collection/components/mds-keyboard/pattern.md +0 -128
  1724. package/dist/collection/components/mds-keyboard-key/antipattern.md +0 -116
  1725. package/dist/collection/components/mds-keyboard-key/pattern.md +0 -87
  1726. package/dist/collection/components/mds-kpi/antipattern.md +0 -93
  1727. package/dist/collection/components/mds-kpi/pattern.md +0 -112
  1728. package/dist/collection/components/mds-kpi-item/antipattern.md +0 -117
  1729. package/dist/collection/components/mds-kpi-item/pattern.md +0 -117
  1730. package/dist/collection/components/mds-label/antipattern.md +0 -92
  1731. package/dist/collection/components/mds-label/pattern.md +0 -109
  1732. package/dist/collection/components/mds-link/antipattern.md +0 -96
  1733. package/dist/collection/components/mds-link/pattern.md +0 -100
  1734. package/dist/collection/components/mds-list/antipattern.md +0 -117
  1735. package/dist/collection/components/mds-list/pattern.md +0 -104
  1736. package/dist/collection/components/mds-list-item/antipattern.md +0 -118
  1737. package/dist/collection/components/mds-list-item/pattern.md +0 -112
  1738. package/dist/collection/components/mds-mention/antipattern.md +0 -86
  1739. package/dist/collection/components/mds-mention/pattern.md +0 -89
  1740. package/dist/collection/components/mds-modal/antipattern.md +0 -94
  1741. package/dist/collection/components/mds-modal/pattern.md +0 -224
  1742. package/dist/collection/components/mds-note/antipattern.md +0 -99
  1743. package/dist/collection/components/mds-note/pattern.md +0 -107
  1744. package/dist/collection/components/mds-notification/antipattern.md +0 -86
  1745. package/dist/collection/components/mds-notification/pattern.md +0 -96
  1746. package/dist/collection/components/mds-paginator/antipattern.md +0 -96
  1747. package/dist/collection/components/mds-paginator/pattern.md +0 -98
  1748. package/dist/collection/components/mds-paginator-item/antipattern.md +0 -96
  1749. package/dist/collection/components/mds-paginator-item/pattern.md +0 -76
  1750. package/dist/collection/components/mds-policy-ai/antipattern.md +0 -97
  1751. package/dist/collection/components/mds-policy-ai/pattern.md +0 -107
  1752. package/dist/collection/components/mds-pref/antipattern.md +0 -85
  1753. package/dist/collection/components/mds-pref/pattern.md +0 -93
  1754. package/dist/collection/components/mds-pref-animation/antipattern.md +0 -67
  1755. package/dist/collection/components/mds-pref-animation/pattern.md +0 -86
  1756. package/dist/collection/components/mds-pref-consumption/antipattern.md +0 -84
  1757. package/dist/collection/components/mds-pref-consumption/pattern.md +0 -69
  1758. package/dist/collection/components/mds-pref-contrast/antipattern.md +0 -71
  1759. package/dist/collection/components/mds-pref-contrast/pattern.md +0 -82
  1760. package/dist/collection/components/mds-pref-language/antipattern.md +0 -130
  1761. package/dist/collection/components/mds-pref-language/pattern.md +0 -104
  1762. package/dist/collection/components/mds-pref-language-item/antipattern.md +0 -99
  1763. package/dist/collection/components/mds-pref-language-item/pattern.md +0 -85
  1764. package/dist/collection/components/mds-pref-mode/antipattern.md +0 -103
  1765. package/dist/collection/components/mds-pref-mode/pattern.md +0 -92
  1766. package/dist/collection/components/mds-pref-theme/antipattern.md +0 -104
  1767. package/dist/collection/components/mds-pref-theme/pattern.md +0 -96
  1768. package/dist/collection/components/mds-pref-theme-item/antipattern.md +0 -97
  1769. package/dist/collection/components/mds-pref-theme-item/pattern.md +0 -94
  1770. package/dist/collection/components/mds-price-table/antipattern.md +0 -131
  1771. package/dist/collection/components/mds-price-table/pattern.md +0 -182
  1772. package/dist/collection/components/mds-price-table-features/antipattern.md +0 -151
  1773. package/dist/collection/components/mds-price-table-features/pattern.md +0 -156
  1774. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +0 -105
  1775. package/dist/collection/components/mds-price-table-features-cell/pattern.md +0 -123
  1776. package/dist/collection/components/mds-price-table-features-row/antipattern.md +0 -135
  1777. package/dist/collection/components/mds-price-table-features-row/pattern.md +0 -123
  1778. package/dist/collection/components/mds-price-table-header/antipattern.md +0 -133
  1779. package/dist/collection/components/mds-price-table-header/pattern.md +0 -176
  1780. package/dist/collection/components/mds-price-table-list/antipattern.md +0 -130
  1781. package/dist/collection/components/mds-price-table-list/pattern.md +0 -139
  1782. package/dist/collection/components/mds-price-table-list-item/antipattern.md +0 -86
  1783. package/dist/collection/components/mds-price-table-list-item/pattern.md +0 -108
  1784. package/dist/collection/components/mds-progress/antipattern.md +0 -94
  1785. package/dist/collection/components/mds-progress/pattern.md +0 -140
  1786. package/dist/collection/components/mds-push-notification/antipattern.md +0 -154
  1787. package/dist/collection/components/mds-push-notification/pattern.md +0 -200
  1788. package/dist/collection/components/mds-push-notification-item/antipattern.md +0 -129
  1789. package/dist/collection/components/mds-push-notification-item/pattern.md +0 -198
  1790. package/dist/collection/components/mds-quote/antipattern.md +0 -122
  1791. package/dist/collection/components/mds-quote/pattern.md +0 -108
  1792. package/dist/collection/components/mds-radial-menu/antipattern.md +0 -104
  1793. package/dist/collection/components/mds-radial-menu/pattern.md +0 -159
  1794. package/dist/collection/components/mds-radial-menu-item/antipattern.md +0 -108
  1795. package/dist/collection/components/mds-radial-menu-item/pattern.md +0 -96
  1796. package/dist/collection/components/mds-radial-progress/antipattern.md +0 -106
  1797. package/dist/collection/components/mds-radial-progress/pattern.md +0 -144
  1798. package/dist/collection/components/mds-separator/antipattern.md +0 -98
  1799. package/dist/collection/components/mds-separator/pattern.md +0 -82
  1800. package/dist/collection/components/mds-spinner/antipattern.md +0 -93
  1801. package/dist/collection/components/mds-spinner/pattern.md +0 -105
  1802. package/dist/collection/components/mds-status-bar/antipattern.md +0 -127
  1803. package/dist/collection/components/mds-status-bar/pattern.md +0 -121
  1804. package/dist/collection/components/mds-stepper-bar/antipattern.md +0 -123
  1805. package/dist/collection/components/mds-stepper-bar/pattern.md +0 -178
  1806. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +0 -115
  1807. package/dist/collection/components/mds-stepper-bar-item/pattern.md +0 -200
  1808. package/dist/collection/components/mds-tab/antipattern.md +0 -189
  1809. package/dist/collection/components/mds-tab/pattern.md +0 -232
  1810. package/dist/collection/components/mds-tab-bar/antipattern.md +0 -105
  1811. package/dist/collection/components/mds-tab-bar/pattern.md +0 -87
  1812. package/dist/collection/components/mds-tab-bar-item/antipattern.md +0 -116
  1813. package/dist/collection/components/mds-tab-bar-item/pattern.md +0 -108
  1814. package/dist/collection/components/mds-tab-item/antipattern.md +0 -159
  1815. package/dist/collection/components/mds-tab-item/pattern.md +0 -174
  1816. package/dist/collection/components/mds-table/antipattern.md +0 -169
  1817. package/dist/collection/components/mds-table/pattern.md +0 -317
  1818. package/dist/collection/components/mds-table-body/antipattern.md +0 -117
  1819. package/dist/collection/components/mds-table-body/pattern.md +0 -151
  1820. package/dist/collection/components/mds-table-cell/antipattern.md +0 -100
  1821. package/dist/collection/components/mds-table-cell/pattern.md +0 -168
  1822. package/dist/collection/components/mds-table-footer/antipattern.md +0 -114
  1823. package/dist/collection/components/mds-table-footer/pattern.md +0 -115
  1824. package/dist/collection/components/mds-table-header/antipattern.md +0 -157
  1825. package/dist/collection/components/mds-table-header/pattern.md +0 -158
  1826. package/dist/collection/components/mds-table-header-cell/antipattern.md +0 -115
  1827. package/dist/collection/components/mds-table-header-cell/pattern.md +0 -166
  1828. package/dist/collection/components/mds-table-row/antipattern.md +0 -141
  1829. package/dist/collection/components/mds-table-row/pattern.md +0 -166
  1830. package/dist/collection/components/mds-text/antipattern.md +0 -112
  1831. package/dist/collection/components/mds-text/pattern.md +0 -138
  1832. package/dist/collection/components/mds-toast/antipattern.md +0 -149
  1833. package/dist/collection/components/mds-toast/pattern.md +0 -174
  1834. package/dist/collection/components/mds-toast-region/antipattern.md +0 -62
  1835. package/dist/collection/components/mds-toast-region/pattern.md +0 -90
  1836. package/dist/collection/components/mds-tooltip/antipattern.md +0 -122
  1837. package/dist/collection/components/mds-tooltip/pattern.md +0 -135
  1838. package/dist/collection/components/mds-tree/antipattern.md +0 -152
  1839. package/dist/collection/components/mds-tree/pattern.md +0 -196
  1840. package/dist/collection/components/mds-tree-item/antipattern.md +0 -148
  1841. package/dist/collection/components/mds-tree-item/pattern.md +0 -197
  1842. package/dist/collection/components/mds-url-view/antipattern.md +0 -106
  1843. package/dist/collection/components/mds-url-view/pattern.md +0 -105
  1844. package/dist/collection/components/mds-usage/antipattern.md +0 -105
  1845. package/dist/collection/components/mds-usage/pattern.md +0 -131
  1846. package/dist/collection/components/mds-video-wall/antipattern.md +0 -97
  1847. package/dist/collection/components/mds-video-wall/pattern.md +0 -99
  1848. package/dist/collection/components/mds-zero/antipattern.md +0 -106
  1849. package/dist/collection/components/mds-zero/pattern.md +0 -118
  1850. package/dist/components/p-BBO_llcO.js +0 -1
  1851. package/dist/components/p-BM7joOdq.js +0 -1
  1852. package/dist/components/p-BMIaZ4HY.js +0 -1
  1853. package/dist/components/p-BOJQ3tkp.js +0 -1
  1854. package/dist/components/p-BU1O2DcC.js +0 -1
  1855. package/dist/components/p-BeZGLnJJ.js +0 -1
  1856. package/dist/components/p-Bo6ezD1p.js +0 -1
  1857. package/dist/components/p-C0H8bZpf.js +0 -1
  1858. package/dist/components/p-C1YH20BL.js +0 -1
  1859. package/dist/components/p-CEw7GvM-.js +0 -1
  1860. package/dist/components/p-CNUWS_Mg.js +0 -1
  1861. package/dist/components/p-CV7wjM1c.js +0 -1
  1862. package/dist/components/p-CWSIl1jl.js +0 -1
  1863. package/dist/components/p-Chk4rI7N.js +0 -1
  1864. package/dist/components/p-Cwg4vtOr.js +0 -1
  1865. package/dist/components/p-Czqtt8kO.js +0 -1
  1866. package/dist/components/p-DD2muCqG.js +0 -1
  1867. package/dist/components/p-DDTJwlAd.js +0 -1
  1868. package/dist/components/p-DJ401QTd.js +0 -1
  1869. package/dist/components/p-DMyL4CYh.js +0 -1
  1870. package/dist/components/p-DccBbfK8.js +0 -1
  1871. package/dist/components/p-Dzkiu-es.js +0 -1
  1872. package/dist/components/p-H0YXZ5fD.js +0 -8
  1873. package/dist/components/p-IaXq1Xsc.js +0 -1
  1874. package/dist/components/p-M8dGB4KH.js +0 -1
  1875. package/dist/components/p-TNn_HE5x.js +0 -1
  1876. package/dist/components/p-aujz-VM9.js +0 -1
  1877. package/dist/components/p-e9NGNm7d.js +0 -1
  1878. package/dist/components/p-kZBPId_x.js +0 -1
  1879. package/dist/components/p-qnCVkeGX.js +0 -1
  1880. package/dist/magma-components/p-00aa9a51.entry.js +0 -1
  1881. package/dist/magma-components/p-00acb2e1.system.entry.js +0 -10
  1882. package/dist/magma-components/p-037126b7.system.entry.js +0 -21
  1883. package/dist/magma-components/p-03da0376.system.entry.js +0 -1
  1884. package/dist/magma-components/p-05ef91a5.entry.js +0 -1
  1885. package/dist/magma-components/p-09c80fdb.entry.js +0 -1
  1886. package/dist/magma-components/p-0b0ca53c.entry.js +0 -1
  1887. package/dist/magma-components/p-0babf674.system.entry.js +0 -98
  1888. package/dist/magma-components/p-0d90c991.entry.js +0 -1
  1889. package/dist/magma-components/p-103465cf.entry.js +0 -1
  1890. package/dist/magma-components/p-10983da0.entry.js +0 -1
  1891. package/dist/magma-components/p-154ba354.system.entry.js +0 -29
  1892. package/dist/magma-components/p-1685e74c.system.entry.js +0 -33
  1893. package/dist/magma-components/p-1748ca8b.system.entry.js +0 -1
  1894. package/dist/magma-components/p-17a43cb6.system.entry.js +0 -16
  1895. package/dist/magma-components/p-1b415625.system.entry.js +0 -46
  1896. package/dist/magma-components/p-1c00d0f7.entry.js +0 -1
  1897. package/dist/magma-components/p-1cd75adf.system.entry.js +0 -14
  1898. package/dist/magma-components/p-2006cfeb.entry.js +0 -1
  1899. package/dist/magma-components/p-2216f207.system.entry.js +0 -35
  1900. package/dist/magma-components/p-25c07b67.system.entry.js +0 -4
  1901. package/dist/magma-components/p-29fbb7cf.entry.js +0 -1
  1902. package/dist/magma-components/p-2a26b614.entry.js +0 -1
  1903. package/dist/magma-components/p-2a6c2a41.entry.js +0 -1
  1904. package/dist/magma-components/p-2c28056d.entry.js +0 -1
  1905. package/dist/magma-components/p-2c5e5cd1.entry.js +0 -1
  1906. package/dist/magma-components/p-2c7d091e.system.entry.js +0 -14
  1907. package/dist/magma-components/p-2c997b47.entry.js +0 -1
  1908. package/dist/magma-components/p-2f39f4e4.entry.js +0 -1
  1909. package/dist/magma-components/p-31370fdb.system.entry.js +0 -22
  1910. package/dist/magma-components/p-32418266.entry.js +0 -1
  1911. package/dist/magma-components/p-33c80de3.system.entry.js +0 -1
  1912. package/dist/magma-components/p-34c0e63c.system.entry.js +0 -6
  1913. package/dist/magma-components/p-35c6341a.system.entry.js +0 -17
  1914. package/dist/magma-components/p-379f51a6.entry.js +0 -1
  1915. package/dist/magma-components/p-381f49ea.entry.js +0 -1
  1916. package/dist/magma-components/p-384ab014.entry.js +0 -1
  1917. package/dist/magma-components/p-39a2df98.system.entry.js +0 -4
  1918. package/dist/magma-components/p-3a9a75e5.entry.js +0 -1
  1919. package/dist/magma-components/p-3b691cc3.entry.js +0 -1
  1920. package/dist/magma-components/p-3bc65166.system.entry.js +0 -215
  1921. package/dist/magma-components/p-3bdb541f.system.entry.js +0 -46
  1922. package/dist/magma-components/p-3ca004c3.entry.js +0 -1
  1923. package/dist/magma-components/p-3caf6a26.entry.js +0 -1
  1924. package/dist/magma-components/p-3dccd446.entry.js +0 -1
  1925. package/dist/magma-components/p-3dde41b0.system.entry.js +0 -27
  1926. package/dist/magma-components/p-3e8e0003.system.entry.js +0 -7
  1927. package/dist/magma-components/p-425ca155.entry.js +0 -1
  1928. package/dist/magma-components/p-42ab27de.entry.js +0 -1
  1929. package/dist/magma-components/p-430a4c4b.system.entry.js +0 -19
  1930. package/dist/magma-components/p-47b05fa1.system.entry.js +0 -8
  1931. package/dist/magma-components/p-47db3155.entry.js +0 -1
  1932. package/dist/magma-components/p-48f86057.system.entry.js +0 -1
  1933. package/dist/magma-components/p-4aa94380.entry.js +0 -1
  1934. package/dist/magma-components/p-4ab2eb7e.entry.js +0 -1
  1935. package/dist/magma-components/p-4bea91e1.system.entry.js +0 -1
  1936. package/dist/magma-components/p-4de89d1b.entry.js +0 -1
  1937. package/dist/magma-components/p-50c8f36c.system.entry.js +0 -1
  1938. package/dist/magma-components/p-5200ab23.system.entry.js +0 -5
  1939. package/dist/magma-components/p-523f0c30.system.entry.js +0 -80
  1940. package/dist/magma-components/p-5306606b.entry.js +0 -1
  1941. package/dist/magma-components/p-53981624.system.entry.js +0 -13
  1942. package/dist/magma-components/p-53acdc6b.entry.js +0 -1
  1943. package/dist/magma-components/p-5660182a.system.entry.js +0 -1
  1944. package/dist/magma-components/p-56c5ca6f.entry.js +0 -1
  1945. package/dist/magma-components/p-57e92942.system.entry.js +0 -20
  1946. package/dist/magma-components/p-59f06b9c.entry.js +0 -1
  1947. package/dist/magma-components/p-5aa78075.system.entry.js +0 -111
  1948. package/dist/magma-components/p-5cf87a7f.entry.js +0 -1
  1949. package/dist/magma-components/p-5e8df58d.entry.js +0 -1
  1950. package/dist/magma-components/p-5ed74216.system.entry.js +0 -1
  1951. package/dist/magma-components/p-5f064376.system.entry.js +0 -7
  1952. package/dist/magma-components/p-60727165.entry.js +0 -8
  1953. package/dist/magma-components/p-6093aa8e.entry.js +0 -1
  1954. package/dist/magma-components/p-62d9eaca.entry.js +0 -1
  1955. package/dist/magma-components/p-6b402a09.system.entry.js +0 -73
  1956. package/dist/magma-components/p-6b55c5fe.system.entry.js +0 -1
  1957. package/dist/magma-components/p-6d57674c.system.entry.js +0 -52
  1958. package/dist/magma-components/p-6df7da52.system.entry.js +0 -24
  1959. package/dist/magma-components/p-6e751bcc.system.entry.js +0 -7
  1960. package/dist/magma-components/p-718d6384.system.entry.js +0 -34
  1961. package/dist/magma-components/p-71dab494.system.entry.js +0 -40
  1962. package/dist/magma-components/p-732d09b6.entry.js +0 -1
  1963. package/dist/magma-components/p-73f4f67e.entry.js +0 -1
  1964. package/dist/magma-components/p-785fa112.entry.js +0 -1
  1965. package/dist/magma-components/p-798f460b.system.entry.js +0 -31
  1966. package/dist/magma-components/p-7acbc6ea.system.entry.js +0 -45
  1967. package/dist/magma-components/p-7db14777.system.entry.js +0 -32
  1968. package/dist/magma-components/p-7dd0364b.entry.js +0 -1
  1969. package/dist/magma-components/p-7ec28ff1.system.entry.js +0 -48
  1970. package/dist/magma-components/p-7f74ec99.entry.js +0 -1
  1971. package/dist/magma-components/p-7ffce9e8.system.entry.js +0 -22
  1972. package/dist/magma-components/p-8219e58f.system.entry.js +0 -9
  1973. package/dist/magma-components/p-84711ab6.system.entry.js +0 -11
  1974. package/dist/magma-components/p-84bf333b.entry.js +0 -1
  1975. package/dist/magma-components/p-857ae762.entry.js +0 -1
  1976. package/dist/magma-components/p-8641b7b2.entry.js +0 -1
  1977. package/dist/magma-components/p-87395a4d.system.entry.js +0 -35
  1978. package/dist/magma-components/p-896310aa.system.entry.js +0 -5
  1979. package/dist/magma-components/p-8d7093af.entry.js +0 -1
  1980. package/dist/magma-components/p-8e15c151.system.entry.js +0 -1
  1981. package/dist/magma-components/p-8f1c529f.entry.js +0 -1
  1982. package/dist/magma-components/p-8f1e9021.system.entry.js +0 -91
  1983. package/dist/magma-components/p-904c1222.entry.js +0 -1
  1984. package/dist/magma-components/p-907f06cd.system.entry.js +0 -105
  1985. package/dist/magma-components/p-9332358d.entry.js +0 -1
  1986. package/dist/magma-components/p-93b9d39d.system.entry.js +0 -19
  1987. package/dist/magma-components/p-95ccf46d.system.entry.js +0 -54
  1988. package/dist/magma-components/p-965e7a82.system.entry.js +0 -15
  1989. package/dist/magma-components/p-968a2237.entry.js +0 -1
  1990. package/dist/magma-components/p-96dfb60e.system.entry.js +0 -1
  1991. package/dist/magma-components/p-9c408768.system.entry.js +0 -1
  1992. package/dist/magma-components/p-9dd9eadd.entry.js +0 -1
  1993. package/dist/magma-components/p-9e792bed.system.entry.js +0 -1
  1994. package/dist/magma-components/p-9fdd477a.entry.js +0 -1
  1995. package/dist/magma-components/p-9fefa077.system.entry.js +0 -1
  1996. package/dist/magma-components/p-a0d637b6.system.entry.js +0 -17
  1997. package/dist/magma-components/p-a25327a1.entry.js +0 -18
  1998. package/dist/magma-components/p-a26c05b6.entry.js +0 -1
  1999. package/dist/magma-components/p-a67381bf.entry.js +0 -1
  2000. package/dist/magma-components/p-a7baf451.system.entry.js +0 -7
  2001. package/dist/magma-components/p-ac9feb04.entry.js +0 -1
  2002. package/dist/magma-components/p-ad383f92.entry.js +0 -1
  2003. package/dist/magma-components/p-ae4736a0.system.entry.js +0 -55
  2004. package/dist/magma-components/p-b27cb1ac.system.entry.js +0 -975
  2005. package/dist/magma-components/p-b3332c5f.entry.js +0 -1
  2006. package/dist/magma-components/p-b3e2b68a.system.entry.js +0 -10
  2007. package/dist/magma-components/p-b86144d4.entry.js +0 -1
  2008. package/dist/magma-components/p-bbde5701.system.entry.js +0 -13
  2009. package/dist/magma-components/p-bc075b3b.system.entry.js +0 -22
  2010. package/dist/magma-components/p-bc19b136.entry.js +0 -1
  2011. package/dist/magma-components/p-bcca26d9.entry.js +0 -1
  2012. package/dist/magma-components/p-bf35627d.entry.js +0 -1
  2013. package/dist/magma-components/p-c086a5a4.system.entry.js +0 -23
  2014. package/dist/magma-components/p-c27206ca.entry.js +0 -1
  2015. package/dist/magma-components/p-c4a5ab6e.system.entry.js +0 -23
  2016. package/dist/magma-components/p-c58157cf.entry.js +0 -1
  2017. package/dist/magma-components/p-c597ad47.entry.js +0 -1
  2018. package/dist/magma-components/p-c7b2ebb5.entry.js +0 -1
  2019. package/dist/magma-components/p-c89060ec.system.entry.js +0 -41
  2020. package/dist/magma-components/p-c8b06821.system.entry.js +0 -12
  2021. package/dist/magma-components/p-ca1143bc.entry.js +0 -1
  2022. package/dist/magma-components/p-cb88fa71.entry.js +0 -1
  2023. package/dist/magma-components/p-cd783f9e.system.entry.js +0 -27
  2024. package/dist/magma-components/p-cd955bc7.system.entry.js +0 -16
  2025. package/dist/magma-components/p-ce42e251.entry.js +0 -1
  2026. package/dist/magma-components/p-cf4f4561.entry.js +0 -1
  2027. package/dist/magma-components/p-d0a15a3a.system.entry.js +0 -82
  2028. package/dist/magma-components/p-d218ae47.entry.js +0 -1
  2029. package/dist/magma-components/p-d331ff5c.entry.js +0 -1
  2030. package/dist/magma-components/p-d3844c9a.system.entry.js +0 -25
  2031. package/dist/magma-components/p-d3ac9a1a.entry.js +0 -1
  2032. package/dist/magma-components/p-d4c3250f.system.entry.js +0 -47
  2033. package/dist/magma-components/p-d638bbb0.entry.js +0 -1
  2034. package/dist/magma-components/p-d65e9f0a.system.entry.js +0 -10
  2035. package/dist/magma-components/p-d87ecd68.entry.js +0 -1
  2036. package/dist/magma-components/p-d93b48b4.system.entry.js +0 -4
  2037. package/dist/magma-components/p-d94281cb.entry.js +0 -1
  2038. package/dist/magma-components/p-d9f92ff8.entry.js +0 -1
  2039. package/dist/magma-components/p-da9bc02a.entry.js +0 -1
  2040. package/dist/magma-components/p-dc618cae.entry.js +0 -1
  2041. package/dist/magma-components/p-de38f745.entry.js +0 -1
  2042. package/dist/magma-components/p-dee123c7.system.entry.js +0 -39
  2043. package/dist/magma-components/p-e30d0684.system.entry.js +0 -16
  2044. package/dist/magma-components/p-e371f9e1.system.entry.js +0 -5
  2045. package/dist/magma-components/p-e3d262d9.system.entry.js +0 -13
  2046. package/dist/magma-components/p-e54587e7.system.entry.js +0 -49
  2047. package/dist/magma-components/p-e709a52e.system.entry.js +0 -25
  2048. package/dist/magma-components/p-ea503851.entry.js +0 -1
  2049. package/dist/magma-components/p-eb12be86.system.entry.js +0 -24
  2050. package/dist/magma-components/p-ebeb3fff.entry.js +0 -1
  2051. package/dist/magma-components/p-ec44a4ea.system.entry.js +0 -77
  2052. package/dist/magma-components/p-ed133270.entry.js +0 -1
  2053. package/dist/magma-components/p-ef4ee9ca.entry.js +0 -1
  2054. package/dist/magma-components/p-f267ff68.entry.js +0 -1
  2055. package/dist/magma-components/p-f27de6cb.system.entry.js +0 -26
  2056. package/dist/magma-components/p-f2ef884c.entry.js +0 -1
  2057. package/dist/magma-components/p-f3f88f32.entry.js +0 -1
  2058. package/dist/magma-components/p-f4181b35.entry.js +0 -1
  2059. package/dist/magma-components/p-f4351160.entry.js +0 -1
  2060. package/dist/magma-components/p-f5c7b147.system.entry.js +0 -17
  2061. package/dist/magma-components/p-f7d5445c.system.entry.js +0 -7
  2062. package/dist/magma-components/p-f8c85ad7.system.entry.js +0 -1
  2063. package/dist/magma-components/p-f9b601de.entry.js +0 -1
  2064. package/dist/magma-components/p-fa44d0d2.entry.js +0 -1
  2065. package/dist/magma-components/p-fe8e3721.system.entry.js +0 -225
  2066. package/dist/magma-components/p-fe98a77e.system.entry.js +0 -13
  2067. package/dist/magma-components/p-ff7fc1f6.system.entry.js +0 -3
@@ -0,0 +1,977 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function o(t){try{u(n.next(t))}catch(t){s(t)}}function a(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?e(t.value):r(t.value).then(o,a)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,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(t){return function(i){return u([t,i])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(e=0)),e)try{if(n=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;r=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){e.label=a[1];break}if(a[0]===6&&e.label<s[1]){e.label=s[1];s=a;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(a);break}if(s[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];r=0}finally{n=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-B-nayZ3E.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var i,e,n,r,s,o,a,u,f;return{setters:[function(t){i=t.r;e=t.h;n=t.e;r=t.g;s=t.B},function(t){o=t.b;a=t.d;u=t.a},function(t){f=t.a}],execute:function(){
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
+ */
12
+ var h=function(t,i,e){var n=Math.hypot(t,i);if(n===0||!(e>0))return{x:0,y:0};var r=Math.min(n/e,1);return{x:t/n*r,y:i/n*r}};
13
+ /**
14
+ * How far the point has to be for the emoji to turn all the way: half the short side of the
15
+ * viewport, whatever the size of the emoji.
16
+ */var l=function(t,i){return Math.min(t,i)/2};function c(t){if(t===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t}function d(t,i){t.prototype=Object.create(i.prototype);t.prototype.constructor=t;t.__proto__=i}
17
+ /*!
18
+ * GSAP 3.15.1
19
+ * https://gsap.com
20
+ *
21
+ * @license Copyright 2008-2026, GreenSock. All rights reserved.
22
+ * Subject to the terms at https://gsap.com/standard-license
23
+ * @author: Jack Doyle, jack@greensock.com
24
+ */
25
+ /* eslint-disable */var m={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},v={duration:.5,overwrite:false,delay:0},p,g,C,w=1e8,y=1/w,M=Math.PI*2,b=M/4,j=0,x=Math.sqrt,k=Math.cos,F=Math.sin,_=function t(i){return typeof i==="string"},P=function t(i){return typeof i==="function"},O=function t(i){return typeof i==="number"},Z=function t(i){return typeof i==="undefined"},B=function t(i){return typeof i==="object"},E=function t(i){return i!==false},T=function t(){return typeof window!=="undefined"},R=function t(i){return P(i)||_(i)},Y=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},
26
+ // note: IE10 has ArrayBuffer, but NOT ArrayBuffer.isView().
27
+ S=Array.isArray,H=/random\([^)]+\)/g,I=/,\s*/g,z=/(?:-?\.?\d|\.)+/gi,
28
+ //only numbers (including negatives and decimals) but NOT relative values.
29
+ L=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,
30
+ //finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8.
31
+ D=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,V=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,
32
+ //duplicate so that while we're looping through matches from exec(), it doesn't contaminate the lastIndex of _numExp which we use to search for colors too.
33
+ A=/[+-]=-?[.\d]+/,X=/[^,'"\[\]\s]+/gi,
34
+ // previously /[#\-+.]*\b[a-z\d\-=+%.]+/gi but didn't catch special characters.
35
+ U=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,q,W,$,G={},Q={},J,K=function t(i){return(Q=Bt(i,G))&&Ge},tt=function t(i,e){return console.warn("Invalid property",i,"set to",e,"Missing plugin? gsap.registerPlugin()")},it=function t(i,e){return!e&&console.warn(i)},et=function t(i,e){return i&&(G[i]=e)&&Q&&(Q[i]=e)||G},nt=function t(){return 0},rt={suppressEvents:true,isStart:true,kill:false},st={suppressEvents:true,kill:false},ot={suppressEvents:true},at={},ut=[],ft={},ht,lt={},ct={},dt=30,mt=[],vt="",pt=function t(i){var e=i[0],n,r;B(e)||P(e)||(i=[i]);if(!(n=(e._gsap||{}).harness)){
36
+ // find the first target with a harness. We assume targets passed into an animation will be of similar type, meaning the same kind of harness can be used for them all (performance optimization)
37
+ r=mt.length;while(r--&&!mt[r].targetTest(e)){}n=mt[r]}r=i.length;while(r--){i[r]&&(i[r]._gsap||(i[r]._gsap=new oe(i[r],n)))||i.splice(r,1)}return i},gt=function t(i){return i._gsap||pt(mi(i))[0]._gsap},Ct=function t(i,e,n){return(n=i[e])&&P(n)?i[e]():Z(n)&&i.getAttribute&&i.getAttribute(e)||n},wt=function t(i,e){return(i=i.split(",")).forEach(e)||i},
38
+ //split a comma-delimited list of names into an array, then run a forEach() function and return the split array (this is just a way to consolidate/shorten some code).
39
+ yt=function t(i){return Math.round(i*1e5)/1e5||0},Mt=function t(i){return Math.round(i*1e7)/1e7||0},
40
+ // increased precision mostly for timing values.
41
+ bt=function t(i,e){var n=e.charAt(0),r=parseFloat(e.substr(2));i=parseFloat(i);return n==="+"?i+r:n==="-"?i-r:n==="*"?i*r:i/r},jt=function t(i,e){
42
+ //searches one array to find matches for any of the items in the toFind array. As soon as one is found, it returns true. It does NOT return all the matches; it's simply a boolean search.
43
+ var n=e.length,r=0;for(;i.indexOf(e[r])<0&&++r<n;){}return r<n},xt=function t(){var i=ut.length,e=ut.slice(0),n,r;ft={};ut.length=0;for(n=0;n<i;n++){r=e[n];r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],true)._lazy=0)}},kt=function t(i){return!!(i._initted||i._startAt||i.add)},Ft=function t(i,e,n,r){ut.length&&!g&&xt();i.render(e,n,!!(g&&e<0&&kt(i)));ut.length&&!g&&xt();//in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render.
44
+ },_t=function t(i){var e=parseFloat(i);return(e||e===0)&&(i+"").match(X).length<2?e:_(i)?i.trim():i},Pt=function t(i){return i},Ot=function t(i,e){for(var n in e){n in i||(i[n]=e[n])}return i},Zt=function t(i){return function(t,e){for(var n in e){n in t||n==="duration"&&i||n==="ease"||(t[n]=e[n])}}},Bt=function t(i,e){for(var n in e){i[n]=e[n]}return i},Et=function t(i,e){for(var n in e){n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(i[n]=B(e[n])?t(i[n]||(i[n]={}),e[n]):e[n])}return i},Tt=function t(i,e){var n={},r;for(r in i){r in e||(n[r]=i[r])}return n},Rt=function t(i){var e=i.parent||N,n=i.keyframes?Zt(S(i.keyframes)):Ot;if(E(i.inherit)){while(e){n(i,e.vars.defaults);e=e.parent||e._dp}}return i},Yt=function t(i,e){var n=i.length,r=n===e.length;while(r&&n--&&i[n]===e[n]){}return n<0},St=function t(i,e,n,r,s){var o=i[r],a;if(s){a=e[s];while(o&&o[s]>a){o=o._prev}}if(o){e._next=o._next;o._next=e}else{e._next=i[n];i[n]=e}if(e._next){e._next._prev=e}else{i[r]=e}e._prev=o;e.parent=e._dp=i;return e},Ht=function t(i,e,n,r){if(n===void 0){n="_first"}if(r===void 0){r="_last"}var s=e._prev,o=e._next;if(s){s._next=o}else if(i[n]===e){i[n]=o}if(o){o._prev=s}else if(i[r]===e){i[r]=s}e._next=e._prev=e.parent=null;// don't delete the _dp just so we can revert if necessary. But parent should be null to indicate the item isn't in a linked list.
45
+ },It=function t(i,e){i.parent&&(!e||i.parent.autoRemoveChildren)&&i.parent.remove&&i.parent.remove(i);i._act=0},zt=function t(i,e){if(i&&(!e||e._end>i._dur||e._start<0)){
46
+ // performance optimization: if a child animation is passed in we should only uncache if that child EXTENDS the animation (its end time is beyond the end)
47
+ var n=i;while(n){n._dirty=1;n=n.parent}}return i},Lt=function t(i){var e=i.parent;while(e&&e.parent){
48
+ //sometimes we must force a re-sort of all children and update the duration/totalDuration of all ancestor timelines immediately in case, for example, in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though.
49
+ e._dirty=1;e.totalDuration();e=e.parent}return i},Dt=function t(i,e,n,r){return i._startAt&&(g?i._startAt.revert(st):i.vars.immediateRender&&!i.vars.autoRevert||i._startAt.render(e,true,r))},Vt=function t(i){return!i||i._ts&&t(i.parent)},At=function t(i){return i._repeat?Xt(i._tTime,i=i.duration()+i._rDelay)*i:0},
50
+ // feed in the totalTime and cycleDuration and it'll return the cycle (iteration minus 1) and if the playhead is exactly at the very END, it will NOT bump up to the next cycle.
51
+ Xt=function t(i,e){var n=Math.floor(i=Mt(i/e));return i&&n===i?n-1:n},Ut=function t(i,e){return(i-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Nt=function t(i){return i._end=Mt(i._start+(i._tDur/Math.abs(i._ts||i._rts||y)||0))},qt=function t(i,e){
52
+ // adjusts the animation's _start and _end according to the provided totalTime (only if the parent's smoothChildTiming is true and the animation isn't paused). It doesn't do any rendering or forcing things back into parent timelines, etc. - that's what totalTime() is for.
53
+ var n=i._dp;if(n&&n.smoothChildTiming&&i._ts){i._start=Mt(n._time-(i._ts>0?e/i._ts:((i._dirty?i.totalDuration():i._tDur)-e)/-i._ts));Nt(i);n._dirty||zt(n,i);//for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here.
54
+ }return i},
55
+ /*
56
+ _totalTimeToTime = (clampedTotalTime, duration, repeat, repeatDelay, yoyo) => {
57
+ let cycleDuration = duration + repeatDelay,
58
+ time = _round(clampedTotalTime % cycleDuration);
59
+ if (time > duration) {
60
+ time = duration;
61
+ }
62
+ return (yoyo && (~~(clampedTotalTime / cycleDuration) & 1)) ? duration - time : time;
63
+ },
64
+ */
65
+ Wt=function t(i,e){var n;if(e._time||!e._dur&&e._initted||e._start<i._time&&(e._dur||!e.add)){
66
+ // in case, for example, the _start is moved on a tween that has already rendered, or if it's being inserted into a timeline BEFORE where the playhead is currently. Imagine it's at its end state, then the startTime is moved WAY later (after the end of this timeline), it should render at its beginning. Special case: if it's a timeline (has .add() method) and no duration, we can skip rendering because the user may be populating it AFTER adding it to a parent timeline (unconventional, but possible, and we wouldn't want it to get removed if the parent's autoRemoveChildren is true).
67
+ n=Ut(i.rawTime(),e);if(!e._dur||ui(0,e.totalDuration(),n)-e._tTime>y){e.render(n,true)}}//if the timeline has already ended but the inserted tween/timeline extends the duration, we should enable this timeline again so that it renders properly. We should also align the playhead with the parent timeline's when appropriate.
68
+ if(zt(i,e)._dp&&i._initted&&i._time>=i._dur&&i._ts){
69
+ //in case any of the ancestors had completed but should now be enabled...
70
+ if(i._dur<i.duration()){n=i;while(n._dp){n.rawTime()>=0&&n.totalTime(n._tTime);//moves the timeline (shifts its startTime) if necessary, and also enables it. If it's currently zero, though, it may not be scheduled to render until later so there's no need to force it to align with the current playhead position. Only move to catch up with the playhead.
71
+ n=n._dp}}i._zTime=-y;// helps ensure that the next render() will be forced (crossingStart = true in render()), even if the duration hasn't changed (we're adding a child which would need to get rendered). Definitely an edge case. Note: we MUST do this AFTER the loop above where the totalTime() might trigger a render() because this _addToTimeline() method gets called from the Animation constructor, BEFORE tweens even record their targets, etc. so we wouldn't want things to get triggered in the wrong order.
72
+ }},$t=function t(i,e,n,r){e.parent&&It(e);e._start=Mt((O(n)?n:!n&&Kt(e)&&(!i._last||i._last._start>=i._time)?i._last?i._last._start:i._time:n||i!==N?si(i,n,e):i._time)+e._delay);// a from()/startAt tween's internal _startAt gets added and then immediately removed, so skip _parsePosition() which calls duration() (a full walk of a dirty timeline, making large from() timelines O(n²)). Dropping it at the _last child's _start keeps the sorted insert O(1), and the playhead check avoids a render in _postAddChecks().
73
+ e._end=Mt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0));St(i,e,"_first","_last",i._sort?"_start":0);Kt(e)||(i._recent=e);r||Wt(i,e);i._ts<0&&qt(i,i._tTime);// if the timeline is reversed and the new child makes it longer, we may need to adjust the parent's _start (push it back)
74
+ return i},Gt=function t(i,e){return(G.ScrollTrigger||tt("scrollTrigger",e))&&G.ScrollTrigger.create(e,i)},Qt=function t(i,e,n,r,s){ve(i,e,s);if(!i._initted){return 1}if(!n&&i._pt&&!g&&(i._dur&&i.vars.lazy!==false||!i._dur&&i.vars.lazy)&&ht!==Ni.frame){ut.push(i);i._lazy=[s,r];return 1}},Jt=function t(i){var e=i.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))},
75
+ // check parent's _lock because when a timeline repeats/yoyos and does its artificial wrapping, we shouldn't force the ratio back to 0
76
+ Kt=function t(i){var e=i.data;return e==="isFromStart"||e==="isStart"},ti=function t(i,e,n,r){var s=i.ratio,o=e<0||!e&&(!i._start&&Jt(i)&&!(!i._initted&&Kt(i))||(i._ts<0||i._dp._ts<0)&&!Kt(i))?0:1,
77
+ // if the tween or its parent is reversed and the totalTime is 0, we should go to a ratio of 0. Edge case: if a from() or fromTo() stagger tween is placed later in a timeline, the "startAt" zero-duration tween could initially render at a time when the parent timeline's playhead is technically BEFORE where this tween is, so make sure that any "from" and "fromTo" startAt tweens are rendered the first time at a ratio of 1.
78
+ a=i._rDelay,u=0,f,h,l;if(a&&i._repeat){
79
+ // in case there's a zero-duration tween that has a repeat with a repeatDelay
80
+ u=ui(0,i._tDur,e);h=Xt(u,a);i._yoyo&&h&1&&(o=1-o);if(h!==Xt(i._tTime,a)){
81
+ // if iteration changed
82
+ s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime===y||!e&&i._zTime){if(!i._initted&&Qt(i,e,r,n,u)){
83
+ // if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately.
84
+ return}l=i._zTime;i._zTime=e||(n?y:0);// when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect.
85
+ n||(n=e&&!l);// if it was rendered previously at exactly 0 (_zTime) and now the playhead is moving away, DON'T fire callbacks otherwise they'll seem like duplicates.
86
+ i.ratio=o;i._from&&(o=1-o);i._time=0;i._tTime=u;f=i._pt;while(f){f.r(o,f.d);f=f._next}e<0&&Dt(i,e,n,true);i._onUpdate&&!n&&Bi(i,"onUpdate");u&&i._repeat&&!n&&i.parent&&Bi(i,"onRepeat");if((e>=i._tDur||e<0)&&i.ratio===o){o&&It(i,1);if(!n&&!g){Bi(i,o?"onComplete":"onReverseComplete",true);i._prom&&i._prom()}}}else if(!i._zTime){i._zTime=e}},ii=function t(i,e,n){var r;if(n>e){r=i._first;while(r&&r._start<=n){if(r.data==="isPause"&&r._start>e){return r}r=r._next}}else{r=i._last;while(r&&r._start>=n){if(r.data==="isPause"&&r._start<e){return r}r=r._prev}}},ei=function t(i,e,n,r){var s=i._repeat,o=Mt(e)||0,a=i._tTime/i._tDur;a&&!r&&(i._time*=o/i._dur);i._dur=o;i._tDur=!s?o:s<0?1e10:Mt(o*(s+1)+i._rDelay*s);a>0&&!r&&qt(i,i._tTime=i._tDur*a);i.parent&&Nt(i);n||zt(i.parent,i);return i},ni=function t(i){return i instanceof ue?zt(i):ei(i,i._dur)},ri={_start:0,endTime:nt,totalDuration:nt},si=function t(i,e,n){var r=i.labels,s=i._recent||ri,o=i.duration()>=w?s.endTime(false):i._dur,
87
+ //in case there's a child that infinitely repeats, users almost never intend for the insertion point of a new child to be based on a SUPER long value like that so we clip it and assume the most recently-added child's endTime should be used instead.
88
+ a,u,f;if(_(e)&&(isNaN(e)||e in r)){
89
+ //if the string is a number like "1", check to see if there's a label with that name, otherwise interpret it as a number (absolute value).
90
+ u=e.charAt(0);f=e.substr(-1)==="%";a=e.indexOf("=");if(u==="<"||u===">"){a>=0&&(e=e.replace(/=/,""));return(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?s:n).totalDuration()/100:1)}if(a<0){e in r||(r[e]=o);return r[e]}u=parseFloat(e.charAt(a-1)+e.substr(a+1));if(f&&n){u=u/100*(S(n)?n[0]:n).totalDuration()}return a>1?t(i,e.substr(0,a-1),n)+u:o+u}return e==null?o:+e},oi=function t(i,e,n){var r=O(e[1]),s=(r?2:1)+(i<2?0:1),o=e[s],a,u;r&&(o.duration=e[1]);o.parent=n;if(i){a=o;u=n;while(u&&!("immediateRender"in a)){
91
+ // inheritance hasn't happened yet, but someone may have set a default in an ancestor timeline. We could do vars.immediateRender = _isNotFalse(_inheritDefaults(vars).immediateRender) but that'd exact a slight performance penalty because _inheritDefaults() also runs in the Tween constructor. We're paying a small kb price here to gain speed.
92
+ a=u.vars.defaults||{};u=E(u.vars.inherit)&&u.parent}o.immediateRender=E(a.immediateRender);i<2?o.runBackwards=1:o.startAt=e[s-1];// "from" vars
93
+ }return new be(e[0],o,e[s+1])},ai=function t(i,e){return i||i===0?e(i):e},ui=function t(i,e,n){return n<i?i:n>e?e:n},fi=function t(i,e){return!_(i)||!(e=U.exec(i))?"":e[1]},
94
+ // 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.
95
+ hi=function t(i,e,n){return ai(n,(function(t){return ui(i,e,t)}))},li=[].slice,ci=function t(i,e){return i&&B(i)&&"length"in i&&(!e&&!i.length||i.length-1 in i&&B(i[0]))&&!i.nodeType&&i!==q},di=function t(i,e,n){if(n===void 0){n=[]}return i.forEach((function(t){var i;return _(t)&&!e||ci(t,1)?(i=n).push.apply(i,mi(t)):n.push(t)}))||n},
96
+ // 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.
97
+ mi=function t(i,e,n){return C&&!e&&C.selector?C.selector(i):_(i)&&!n&&(W||!qi())?li.call((e||$).querySelectorAll(i),0):S(i)?di(i,n):ci(i)?li.call(i,0):i?[i]:[]},vi=function t(i){i=mi(i)[0]||it("Invalid scope")||{};return function(t){var e=i.current||i.nativeElement||i;return mi(t,e.querySelectorAll?e:e===i?it("Invalid scope")||$.createElement("div"):i)}},pi=function t(i){return i.sort((function(){return.5-Math.random()}))},
98
+ // 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;
99
+ // 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.
100
+ gi=function t(i){if(P(i)){return i}var e=B(i)?i:{each:i},
101
+ //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.
102
+ n=ie(e.ease),r=e.from||0,s=parseFloat(e.base)||0,o={},a=r>0&&r<1,u=isNaN(r)||a,f=e.axis,h=r,l=r;if(_(r)){h=l={center:.5,edges:.5,end:1}[r]||0}else if(!a&&u){h=r[0];l=r[1]}return function(t,i,a){var c=(a||e).length,d=o[c],m,v,p,g,C,y,M,b,j;if(!d){j=e.grid==="auto"?0:(e.grid||[1,w])[1];if(!j){M=-w;while(M<(M=a[j++].getBoundingClientRect().left)&&j<c){}j<c&&j--}d=o[c]=[];m=u?Math.min(j,c)*h-.5:r%j;v=j===w?0:u?c*l/j-.5:r/j|0;M=0;b=w;for(y=0;y<c;y++){p=y%j-m;g=v-(y/j|0);d[y]=C=!f?x(p*p+g*g):Math.abs(f==="y"?g:p);C>M&&(M=C);C<b&&(b=C)}r==="random"&&pi(d);d.max=M-b;d.min=b;d.v=c=(parseFloat(e.amount)||parseFloat(e.each)*(j>c?c-1:!f?Math.max(j,c/j):f==="y"?c/j:j)||0)*(r==="edges"?-1:1);d.b=c<0?s-c:s;d.u=fi(e.amount||e.each)||0;//unit
103
+ n=n&&c<0?te(n):n}c=(d[t]-d.min)/d.max||0;return Mt(d.b+(n?n(c):c)*d.v)+d.u;//round in order to work around floating point errors
104
+ }},Ci=function t(i){
105
+ //pass in 0.1 get a function that'll round to the nearest tenth, or 5 to round to the closest 5, or 0.001 to the closest 1000th, etc.
106
+ var e=Math.pow(10,((i+"").split(".")[1]||"").length);//to avoid floating point math errors (like 24 * 0.1 == 2.4000000000000004), we chop off at a specific number of decimal places (much faster than toFixed())
107
+ return function(t){var n=Mt(Math.round(parseFloat(t)/i)*i*e);return(n-n%1)/e+(O(t)?0:fi(t));// n - n % 1 replaces Math.floor() in order to handle negative values properly. For example, Math.floor(-150.00000000000003) is 151!
108
+ }},wi=function t(i,e){var n=S(i),r,s;if(!n&&B(i)){r=n=i.radius||w;if(i.values){i=mi(i.values);if(s=!O(i[0])){r*=r;//performance optimization so we don't have to Math.sqrt() in the loop.
109
+ }}else{i=Ci(i.increment)}}return ai(e,!n?Ci(i):P(i)?function(t){s=i(t);return Math.abs(s-t)<=r?s:t}:function(t){var e=parseFloat(s?t.x:t),n=parseFloat(s?t.y:0),o=w,a=0,u=i.length,f,h;while(u--){if(s){f=i[u].x-e;h=i[u].y-n;f=f*f+h*h}else{f=Math.abs(i[u]-e)}if(f<o){o=f;a=u}}a=!r||o<=r?i[a]:t;return s||a===t||O(t)?a:a+fi(t)})},yi=function t(i,e,n,r){return ai(S(i)?!e:n===true?!!(n=0):!r,(function(){return S(i)?i[~~(Math.random()*i.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((i-n/2+Math.random()*(e-i+n*.99))/n)*n*r)/r}))},Mi=function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}return function(t){return e.reduce((function(t,i){return i(t)}),t)}},bi=function t(i,e){return function(t){return i(parseFloat(t))+(e||fi(t))}},ji=function t(i,e,n){return Pi(i,e,0,1,n)},xi=function t(i,e,n){return ai(n,(function(t){return i[~~e(t)]}))},ki=function t(i,e,n){
110
+ // NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP).
111
+ var r=e-i;return S(i)?xi(i,t(0,i.length),e):ai(n,(function(t){return(r+(t-i)%r)%r+i}))},Fi=function t(i,e,n){var r=e-i,s=r*2;return S(i)?xi(i,t(0,i.length-1),e):ai(n,(function(t){t=(s+(t-i)%s)%s||0;return i+(t>r?s-t:t)}))},_i=function t(i){return i.replace(H,(function(t){
112
+ //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])
113
+ var i=t.indexOf("[")+1,e=t.substring(i||7,i?t.indexOf("]"):t.length-1).split(I);return yi(i?e:+e[0],i?0:+e[1],+e[2]||1e-5)}))},Pi=function t(i,e,n,r,s){var o=e-i,a=r-n;return ai(s,(function(t){return n+((t-i)/o*a||0)}))},Oi=function t(i,e,n,r){var s=isNaN(i+e)?0:function(t){return(1-t)*i+t*e};if(!s){var o=_(i),a={},u,f,h,l,c;n===true&&(r=1)&&(n=null);if(o){i={p:i};e={p:e}}else if(S(i)&&!S(e)){h=[];l=i.length;c=l-2;for(f=1;f<l;f++){h.push(t(i[f-1],i[f]));//build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them.
114
+ }l--;s=function t(i){i*=l;var e=Math.min(c,~~i);return h[e](i-e)};n=e}else if(!r){i=Bt(S(i)?[]:{},i)}if(!h){for(u in e){he.call(a,i,u,"get",e[u])}s=function t(e){return Be(e,a)||(o?i.p:i)}}}return ai(n,s)},Zi=function t(i,e,n){
115
+ //used for nextLabel() and previousLabel()
116
+ var r=i.labels,s=w,o,a,u;for(o in r){a=r[o]-e;if(a<0===!!n&&a&&s>(a=Math.abs(a))){u=o;s=a}}return u},Bi=function t(i,e,n){var r=i.vars,s=r[e],o=C,a=i._ctx,u,f,h;if(!s){return}u=r[e+"Params"];f=r.callbackScope||i;n&&ut.length&&xt();//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.
117
+ a&&(C=a);h=u?s.apply(f,u):s.call(f);C=o;return h},Ei=function t(i){It(i);i.scrollTrigger&&i.scrollTrigger.kill(!!g);i.progress()<1&&Bi(i,"onInterrupt");return i},Ti,Ri=[],Yi=function t(i){if(!i)return;i=!i.name&&i["default"]||i;// UMD packaging wraps things oddly, so for example MotionPathHelper becomes {MotionPathHelper:MotionPathHelper, default:MotionPathHelper}.
118
+ if(T()||i.headless){
119
+ // edge case: some build tools may pass in a null/undefined value
120
+ var e=i.name,n=P(i),r=e&&!n&&i.init?function(){this._props=[]}:i,
121
+ //in case someone passes in an object that's not a plugin, like CustomEase
122
+ s={init:nt,render:Be,add:he,kill:Te,modifier:Ee,rawVars:0},o={targetTest:0,get:0,getSetter:_e,aliases:{},register:0};qi();if(i!==r){if(lt[e]){return}Ot(r,Ot(Tt(i,s),o));//static methods
123
+ Bt(r.prototype,Bt(s,Tt(i,o)));//instance methods
124
+ lt[r.prop=e]=r;if(i.targetTest){mt.push(r);at[e]=1}e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";//for the global name. "motionPath" should become MotionPathPlugin
125
+ }et(e,r);i.register&&i.register(Ge,r,Se)}else{Ri.push(i)}},
126
+ /*
127
+ * --------------------------------------------------------------------------------------
128
+ * COLORS
129
+ * --------------------------------------------------------------------------------------
130
+ */
131
+ Si=255,Hi={aqua:[0,Si,Si],lime:[0,Si,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Si],navy:[0,0,128],white:[Si,Si,Si],olive:[128,128,0],yellow:[Si,Si,0],orange:[Si,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Si,0,0],pink:[Si,192,203],cyan:[0,Si,Si],transparent:[Si,Si,Si,0]},
132
+ // possible future idea to replace the hard-coded color name values - put this in the ticker.wake() where we set the _doc:
133
+ // let ctx = _doc.createElement("canvas").getContext("2d");
134
+ // _forEachName("aqua,lime,silver,black,maroon,teal,blue,navy,white,olive,yellow,orange,gray,purple,green,red,pink,cyan", color => {ctx.fillStyle = color; _colorLookup[color] = splitColor(ctx.fillStyle)});
135
+ Ii=function t(i,e,n){i+=i<0?1:i>1?-1:0;return(i*6<1?e+(n-e)*i*6:i<.5?n:i*3<2?e+(n-e)*(2/3-i)*6:e)*Si+.5|0},zi=function t(i,e,n){var r=!i?Hi.black:O(i)?[i>>16,i>>8&Si,i&Si]:0,s,o,a,u,f,h,l,c,d,m;if(!r){if(i.substr(-1)===","){
136
+ //sometimes a trailing comma is included and we should chop it off (typically from a comma-delimited list of values like a textShadow:"2px 2px 2px blue, 5px 5px 5px rgb(255,0,0)" - in this example "blue," has a trailing comma. We could strip it out inside parseComplex() but we'd need to do it to the beginning and ending values plus it wouldn't provide protection from other potential scenarios like if the user passes in a similar value.
137
+ i=i.substr(0,i.length-1)}if(Hi[i]){r=Hi[i]}else if(i.charAt(0)==="#"){if(i.length<6){
138
+ //for shorthand like #9F0 or #9F0F (could have alpha)
139
+ s=i.charAt(1);o=i.charAt(2);a=i.charAt(3);i="#"+s+s+o+o+a+a+(i.length===5?i.charAt(4)+i.charAt(4):"")}if(i.length===9){
140
+ // hex with alpha, like #fd5e53ff
141
+ r=parseInt(i.substr(1,6),16);return[r>>16,r>>8&Si,r&Si,parseInt(i.substr(7),16)/255]}i=parseInt(i.substr(1),16);r=[i>>16,i>>8&Si,i&Si]}else if(i.substr(0,3)==="hsl"){r=m=i.match(z);if(!e){u=+r[0]%360/360;f=+r[1]/100;h=+r[2]/100;o=h<=.5?h*(f+1):h+f-h*f;s=h*2-o;r.length>3&&(r[3]*=1);//cast as number
142
+ r[0]=Ii(u+1/3,s,o);r[1]=Ii(u,s,o);r[2]=Ii(u-1/3,s,o)}else if(~i.indexOf("=")){
143
+ //if relative values are found, just return the raw strings with the relative prefixes in place.
144
+ r=i.match(L);n&&r.length<4&&(r[3]=1);return r}}else{r=i.match(z)||Hi.transparent}r=r.map(Number)}if(e&&!m){s=r[0]/Si;o=r[1]/Si;a=r[2]/Si;l=Math.max(s,o,a);c=Math.min(s,o,a);h=(l+c)/2;if(l===c){u=f=0}else{d=l-c;f=h>.5?d/(2-l-c):d/(l+c);u=l===s?(o-a)/d+(o<a?6:0):l===o?(a-s)/d+2:(s-o)/d+4;u*=60}r[0]=~~(u+.5);r[1]=~~(f*100+.5);r[2]=~~(h*100+.5)}n&&r.length<4&&(r[3]=1);return r},Li=function t(i){
145
+ // strips out the colors from the string, finds all the numeric slots (with units) and returns an array of those. The Array also has a "c" property which is an Array of the index values where the colors belong. This is to help work around issues where there's a mis-matched order of color/numeric data like drop-shadow(#f00 0px 1px 2px) and drop-shadow(0x 1px 2px #f00). This is basically a helper function used in _formatColors()
146
+ var e=[],n=[],r=-1;i.split(Vi).forEach((function(t){var i=t.match(D)||[];e.push.apply(e,i);n.push(r+=i.length+1)}));e.c=n;return e},Di=function t(i,e,n){var r="",s=(i+r).match(Vi),o=e?"hsla(":"rgba(",a=0,u,f,h,l;if(!s){return i}s=s.map((function(t){return(t=zi(t,e,1))&&o+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}));if(n){h=Li(i);u=n.c;if(u.join(r)!==h.c.join(r)){f=i.replace(Vi,"1").split(D);l=f.length-1;for(;a<l;a++){r+=f[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(h.length?h:s.length?s:n).shift())}}}if(!f){f=i.split(Vi);l=f.length-1;for(;a<l;a++){r+=f[a]+s[a]}}return r+f[l]},Vi=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",
147
+ //we'll dynamically build this Regular Expression to conserve file size. After building it, it will be able to find rgb(), rgba(), # (hexadecimal), and named color values like red, blue, purple, etc.,
148
+ i;for(i in Hi){t+="|"+i+"\\b"}return new RegExp(t+")","gi")}(),Ai=/hsl[a]?\(/,Xi=function t(i){var e=i.join(" "),n;Vi.lastIndex=0;if(Vi.test(e)){n=Ai.test(e);i[1]=Di(i[1],n);i[0]=Di(i[0],n,Li(i[1]));// make sure the order of numbers/colors match with the END value.
149
+ return true}},
150
+ /*
151
+ * --------------------------------------------------------------------------------------
152
+ * TICKER
153
+ * --------------------------------------------------------------------------------------
154
+ */
155
+ Ui,Ni=function(){var t=Date.now,i=500,e=33,n=t(),r=n,s=1e3/240,o=s,a=[],u,f,h,l,c,d,m=function h(m){var v=t()-r,p=m===true,g,C,w,y;(v>i||v<0)&&(n+=v-e);r+=v;w=r-n;g=w-o;if(g>0||p){y=++l.frame;c=w-l.time*1e3;l.time=w=w/1e3;o+=g+(g>=s?0:s-g);C=1}p||(u=f(h));//make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise.
156
+ if(C){for(d=0;d<a.length;d++){
157
+ // use _i and check _listeners.length instead of a variable because a listener could get removed during the loop, and if that happens to an element less than the current index, it'd throw things off in the loop.
158
+ a[d](w,c,y,m)}}};l={time:0,frame:0,tick:function t(){m(true)},deltaRatio:function t(i){return c/(1e3/(i||60))},wake:function t(){if(J){if(!W&&T()){q=W=window;$=q.document||{};G.gsap=Ge;(q.gsapVersions||(q.gsapVersions=[])).push(Ge.version);K(Q||q.GreenSockGlobals||!q.gsap&&q||{});Ri.forEach(Yi)}h=typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame;u&&l.sleep();f=h||function(t){return setTimeout(t,o-l.time*1e3+1|0)};Ui=1;m(2)}},sleep:function t(){(h?cancelAnimationFrame:clearTimeout)(u);Ui=0;f=nt},lagSmoothing:function t(n,r){i=n||Infinity;// zero should be interpreted as basically unlimited
159
+ e=Math.min(r||33,i)},fps:function t(i){s=1e3/(i||240);o=l.time*1e3+s},add:function t(i,e,n){var r=e?function(t,e,n,s){i(t,e,n,s);l.remove(r)}:i;l.remove(i);a[n?"unshift":"push"](r);qi();return r},remove:function t(i,e){~(e=a.indexOf(i))&&a.splice(e,1)&&d>=e&&d--},_listeners:a};return l}(),qi=function t(){return!Ui&&Ni.wake()},
160
+ //also ensures the core classes are initialized.
161
+ /*
162
+ * -------------------------------------------------
163
+ * EASING
164
+ * -------------------------------------------------
165
+ */
166
+ Wi={},$i=/^[\d.\-M][\d.\-,\s]/,Gi=/["']/g,Qi=function t(i){
167
+ //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.
168
+ var e={},n=i.substr(1,i.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,f;for(;s<o;s++){u=n[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);e[r]=isNaN(f)?f.replace(Gi,"").trim():+f;r=u.substr(a+1).trim()}return e},Ji=function t(i){var e=i.indexOf("(")+1,n=i.indexOf(")"),r=i.indexOf("(",e);return i.substring(e,~r&&r<n?i.indexOf(")",n+1):n)},Ki=function t(i){
169
+ //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).
170
+ var e=(i+"").split("("),n=Wi[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~i.indexOf("{")?[Qi(e[1])]:Ji(i).split(",").map(_t)):Wi._CE&&$i.test(i)?Wi._CE("",i):n},te=function t(i){return function(t){return 1-i(1-t)}},ie=function t(i,e){return!i?e:(P(i)?i:Wi[i]||Ki(i))||e},ee=function t(i,e,n,r){if(n===void 0){n=function t(i){return 1-e(1-i)}}if(r===void 0){r=function t(i){return i<.5?e(i*2)/2:1-e((1-i)*2)/2}}var s={easeIn:e,easeOut:n,easeInOut:r},o;wt(i,(function(t){Wi[t]=G[t]=s;Wi[o=t.toLowerCase()]=n;for(var i in s){Wi[o+(i==="easeIn"?".in":i==="easeOut"?".out":".inOut")]=Wi[t+"."+i]=s[i]}}));return s},ne=function t(i){return function(t){return t<.5?(1-i(1-t*2))/2:.5+i((t-.5)*2)/2}},re=function t(i,e,n){var r=e>=1?e:1,
171
+ //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.
172
+ s=(n||(i?.3:.45))/(e<1?e:1),o=s/M*(Math.asin(1/r)||0),a=function t(i){return i===1?1:r*Math.pow(2,-10*i)*F((i-o)*s)+1},u=i==="out"?a:i==="in"?function(t){return 1-a(1-t)}:ne(a);s=M/s;//precalculate to optimize
173
+ u.config=function(e,n){return t(i,e,n)};return u},se=function t(i,e){if(e===void 0){e=1.70158}var n=function t(i){return i?--i*i*((e+1)*i+e)+1:0},r=i==="out"?n:i==="in"?function(t){return 1-n(1-t)}:ne(n);r.config=function(e){return t(i,e)};return r};// 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.
174
+ // _weightedEase = ratio => {
175
+ // let y = 0.5 + ratio / 2;
176
+ // return p => (2 * (1 - p) * p * y + p * p);
177
+ // },
178
+ // a stronger (but more expensive kb/cpu) parameterized weighted ease that lets you feed in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear.
179
+ // _weightedEaseStrong = ratio => {
180
+ // ratio = .5 + ratio / 2;
181
+ // let o = 1 / 3 * (ratio < .5 ? ratio : 1 - ratio),
182
+ // b = ratio - o,
183
+ // c = ratio + o;
184
+ // return p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p;
185
+ // };
186
+ wt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,i){var e=i<5?i+1:i;ee(t+",Power"+(e-1),i?function(t){return Math.pow(t,e)}:function(t){return t},(function(t){return 1-Math.pow(1-t,e)}),(function(t){return t<.5?Math.pow(t*2,e)/2:1-Math.pow((1-t)*2,e)/2}))}));Wi.Linear.easeNone=Wi.none=Wi.Linear.easeIn;ee("Elastic",re("in"),re("out"),re());(function(t,i){var e=1/i,n=2*e,r=2.5*e,s=function s(o){return o<e?t*o*o:o<n?t*Math.pow(o-1.5/i,2)+.75:o<r?t*(o-=2.25/i)*o+.9375:t*Math.pow(o-2.625/i,2)+.984375};ee("Bounce",(function(t){return 1-s(1-t)}),s)})(7.5625,2.75);ee("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}));// previously 2 ** (10 * (p - 1)) but that doesn't end up with the value quite at the right spot so we do a blended ease to ensure it lands where it should perfectly.
187
+ ee("Circ",(function(t){return-(x(1-t*t)-1)}));ee("Sine",(function(t){return t===1?1:-k(t*b)+1}));ee("Back",se("in"),se("out"),se());Wi.SteppedEase=Wi.steps=G.SteppedEase={config:function t(i,e){if(i===void 0){i=1}var n=1/i,r=i+(e?0:1),s=e?1:0,o=1-y;return function(t){return((r*ui(0,o,t)|0)+s)*n}}};v.ease=Wi["quad.out"];wt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return vt+=t+","+t+"Params,"}));
188
+ /*
189
+ * --------------------------------------------------------------------------------------
190
+ * CACHE
191
+ * --------------------------------------------------------------------------------------
192
+ */var oe=function t(i,e){this.id=j++;i._gsap=this;this.target=i;this.harness=e;this.get=e?e.get:Ct;this.set=e?e.getSetter:_e};
193
+ /*
194
+ * --------------------------------------------------------------------------------------
195
+ * ANIMATION
196
+ * --------------------------------------------------------------------------------------
197
+ */var ae=function(){function t(t){this.vars=t;this._delay=+t.delay||0;if(this._repeat=t.repeat===Infinity?-2:t.repeat||0){
198
+ // TODO: repeat: Infinity on a timeline's children must flag that timeline internally and affect its totalDuration, otherwise it'll stop in the negative direction when reaching the start.
199
+ this._rDelay=t.repeatDelay||0;this._yoyo=!!t.yoyo||!!t.yoyoEase}this._ts=1;ei(this,+t.duration,1,1);this.data=t.data;if(C){this._ctx=C;C.data.push(this)}Ui||Ni.wake()}var i=t.prototype;i.delay=function t(i){if(i||i===0){this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay);this._delay=i;return this}return this._delay};i.duration=function t(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur};i.totalDuration=function t(i){if(!arguments.length){return this._tDur}this._dirty=0;return ei(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))};i.totalTime=function t(i,e){qi();if(!arguments.length){return this._tTime}var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){qt(this,i);!n._dp||n.parent||Wt(n,this);// edge case: if this is a child of a timeline that already completed, for example, we must re-activate the parent.
200
+ //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.
201
+ while(n&&n.parent){if(n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)){n.totalTime(n._tTime,true)}n=n.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)){
202
+ //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.
203
+ $t(this._dp,this,this._start-this._delay)}}if(this._tTime!==i||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===y||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup)){
204
+ // 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)
205
+ this._ts||(this._pTime=i);// 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
206
+ //if (!this._lock) { // avoid endless recursion (not sure we need this yet or if it's worth the performance hit)
207
+ // this._lock = 1;
208
+ Ft(this,i,e);// this._lock = 0;
209
+ //}
210
+ }return this};i.time=function t(i,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+At(this))%(this._dur+this._rDelay)||(i?this._dur:0),e):this._time;// note: if the modulus results in 0, the playhead could be exactly at the end or the beginning, and we always defer to the END with a non-zero value, otherwise if you set the time() to the very end (duration()), it would render at the START!
211
+ };i.totalProgress=function t(i,e){return arguments.length?this.totalTime(this.totalDuration()*i,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0};i.progress=function t(i,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+At(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0};i.iteration=function t(i,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,e):this._repeat?Xt(this._tTime,n)+1:1}// potential future addition:;
212
+ i.timeScale=function t(i,e){if(!arguments.length){return this._rts===-y?0:this._rts;// recorded timeScale. Special case: if someone calls reverse() on an animation with timeScale of 0, we assign it -_tinyNum to remember it's reversed.
213
+ }if(this._rts===i){return this}var n=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime,
214
+ // make sure to do the parentToChildTotalTime() BEFORE setting the new _ts because the old one must be used in that calculation.
215
+ r=this._rts<0;// future addition? Up side: fast and minimal file size. Down side: only works on this animation; if a timeline is reversed, for example, its childrens' onReverse wouldn't get called.
216
+ //(+value < 0 && this._rts >= 0) && _callback(this, "onReverse", true);
217
+ // prioritize rendering where the parent's playhead lines up instead of this._tTime because there could be a tween that's animating another tween's timeScale in the same rendering loop (same parent), thus if the timeScale tween renders first, it would alter _start BEFORE _tTime was set on that tick (in the rendering loop), effectively freezing it until the timeScale tween finishes.
218
+ this._rts=+i||0;this._ts=this._ps||i===-y?0:this._rts;// _ts is the functional timeScale which would be 0 if the animation is paused.
219
+ var s=this.totalDuration();if(r!==this._rts<0||n>0&&n<s)this.totalTime(ui(-Math.abs(this._delay),s,n),e!==false);Nt(this);// if parent.smoothChildTiming was false, the end time didn't get updated in the _alignPlayhead() method, so do it here.
220
+ return Lt(this)};i.paused=function t(i){if(!arguments.length){return this._ps}// possible future addition - if an animation is removed from its parent and then .restart() or .play() or .resume() is called, perhaps we should force it back into the globalTimeline but be careful because what if it's already at its end? We don't want it to just persist forever and not get released for GC.
221
+ // !this.parent && !value && this._tTime < this._tDur && this !== _globalTimeline && _globalTimeline.add(this);
222
+ if(this._ps!==i){this._ps=i;if(i){this._pTime=this._tTime||Math.max(-this._delay,this.rawTime());// if the pause occurs during the delay phase, make sure that's factored in when resuming.
223
+ 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)
224
+ }else{qi();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.
225
+ // At progress===1, nudge _tTime so the resume render runs (autoRemoveChildren / progress(1).pause().play()). Don't suppress if a never-rendered zero-duration child (e.g. delayedCall(0) scheduled while idle) sits on the playhead — suppress would complete it silently and it would never fire.
226
+ var e=this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,n=this.progress()===1&&Math.abs(this._zTime)!==y,r;if(n){this._tTime-=y;r=this._first;while(r){if(!r._dur&&r._zTime<0&&r._ts&&r._start<=e+y){n=false;break}r=r._next}}this.totalTime(e,n)}}return this};i.startTime=function t(i){if(arguments.length){this._start=Mt(i);var e=this.parent||this._dp;e&&(e._sort||!this.parent)&&$t(e,this,this._start-this._delay);return this}return this._start};i.endTime=function t(i){return this._start+(E(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};i.rawTime=function t(i){var e=this.parent||this._dp;// _dp = detached parent
227
+ return!e?this._tTime:i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:Ut(e.rawTime(i),this)};i.revert=function t(i){if(i===void 0){i=ot}var e=g;g=i;if(kt(this)){this.timeline&&this.timeline.revert(i);this.totalTime(-.01,i.suppressEvents)}this.data!=="nested"&&i.kill!==false&&this.kill();g=e;return this};i.globalTime=function t(i){var e=this,n=arguments.length?i:e.rawTime();while(e){n=e._start+n/(Math.abs(e._ts)||1);e=e._dp}return!this.parent&&this._sat?this._sat.globalTime(i):n;// 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().
228
+ };i.repeat=function t(i){if(arguments.length){this._repeat=i===Infinity?-2:i;return ni(this)}return this._repeat===-2?Infinity:this._repeat};i.repeatDelay=function t(i){if(arguments.length){var e=this._time;this._rDelay=i;ni(this);return e?this.time(e):this}return this._rDelay};i.yoyo=function t(i){if(arguments.length){this._yoyo=i;return this}return this._yoyo};i.seek=function t(i,e){return this.totalTime(si(this,i),E(e))};i.restart=function t(i,e){this.play().totalTime(i?-this._delay:0,E(e));this._dur||(this._zTime=-y);// ensures onComplete fires on a zero-duration animation that gets restarted.
229
+ return this};i.play=function t(i,e){i!=null&&this.seek(i,e);return this.reversed(false).paused(false)};i.reverse=function t(i,e){i!=null&&this.seek(i||this.totalDuration(),e);return this.reversed(true).paused(false)};i.pause=function t(i,e){i!=null&&this.seek(i,e);return this.paused(true)};i.resume=function t(){return this.paused(false)};i.reversed=function t(i){if(arguments.length){!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-y:0));// in case timeScale is zero, reversing would have no effect so we use _tinyNum.
230
+ return this}return this._rts<0};i.invalidate=function t(){this._initted=this._act=0;this._zTime=-y;return this};i.isActive=function t(){var i=this.parent||this._dp,e=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(true))>=e&&n<this.endTime(true)-y)};i.eventCallback=function t(i,e,n){var r=this.vars;if(arguments.length>1){if(!e){delete r[i]}else{r[i]=e;n&&(r[i+"Params"]=n);i==="onUpdate"&&(this._onUpdate=e)}return this}return r[i]};i.then=function t(i){var e=this,n=e._prom;return new Promise((function(t){var r=P(i)?i:Pt,s=function i(){var s=e.then;e.then=null;// temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322)
231
+ n&&n();P(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=s);t(r);e.then=s};if(e._initted&&e.totalProgress()===1&&e._ts>=0||!e._tTime&&e._ts<0){s()}else{e._prom=s}}))};i.kill=function t(){Ei(this)};return t}();Ot(ae.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:-y,_prom:0,_ps:false,_rts:1});
232
+ /*
233
+ * -------------------------------------------------
234
+ * TIMELINE
235
+ * -------------------------------------------------
236
+ */var ue=function(t){d(i,t);function i(i,e){var n;if(i===void 0){i={}}n=t.call(this,i)||this;n.labels={};n.smoothChildTiming=!!i.smoothChildTiming;n.autoRemoveChildren=!!i.autoRemoveChildren;n._sort=E(i.sortChildren);N&&$t(i.parent||N,c(n),e);i.reversed&&n.reverse();i.paused&&n.paused(true);i.scrollTrigger&&Gt(c(n),i.scrollTrigger);return n}var e=i.prototype;e.to=function t(i,e,n){oi(0,arguments,this);return this};e.from=function t(i,e,n){oi(1,arguments,this);return this};e.fromTo=function t(i,e,n,r){oi(2,arguments,this);return this};e.set=function t(i,e,n){e.duration=0;e.parent=this;Rt(e).repeatDelay||(e.repeat=0);e.immediateRender=!!e.immediateRender;new be(i,e,si(this,n),1);return this};e.call=function t(i,e,n){return $t(this,be.delayedCall(0,i,e),n)}//ONLY for backward compatibility! Maybe delete?;
237
+ e.staggerTo=function t(i,e,n,r,s,o,a){n.duration=e;n.stagger=n.stagger||r;n.onComplete=o;n.onCompleteParams=a;n.parent=this;new be(i,n,si(this,s));return this};e.staggerFrom=function t(i,e,n,r,s,o,a){n.runBackwards=1;Rt(n).immediateRender=E(n.immediateRender);return this.staggerTo(i,e,n,r,s,o,a)};e.staggerFromTo=function t(i,e,n,r,s,o,a,u){r.startAt=n;Rt(r).immediateRender=E(r.immediateRender);return this.staggerTo(i,e,r,s,o,a,u)};e.render=function t(i,e,n){var r=this._time,s=this._dirty?this.totalDuration():this._tDur,o=this._dur,a=i<=0?0:Mt(i),
238
+ // if a paused timeline is resumed (or its _start is updated for another reason...which rounds it), that could result in the playhead shifting a **tiny** amount and a zero-duration child at that spot may get rendered at a different ratio, like its totalTime in render() may be 1e-17 instead of 0, for example.
239
+ u=this._zTime<0!==i<0&&(this._initted||!o),f,h,l,c,d,m,v,p,C,w,M,b;this!==N&&a>s&&i>=0&&(a=s);if(a!==this._tTime||n||u){if(r!==this._time&&o){
240
+ //if totalDuration() finds a child with a negative startTime and smoothChildTiming is true, things get shifted around internally so we need to adjust the time accordingly. For example, if a tween starts at -30 we must shift EVERYTHING forward 30 seconds and move this timeline's startTime backward by 30 seconds so that things align with the playhead (no jump).
241
+ a+=this._time-r;i+=this._time-r}f=a;C=this._start;p=this._ts;m=!p;if(u){o||(r=this._zTime);//when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration timeline, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect.
242
+ (i||!e)&&(this._zTime=i)}if(this._repeat){
243
+ //adjust the time for repeats and yoyos
244
+ M=this._yoyo;d=o+this._rDelay;if(this._repeat<-1&&i<0){return this.totalTime(d*100+i,e,n)}f=Mt(a%d);//round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!)
245
+ if(a===s){
246
+ // 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)
247
+ c=this._repeat;f=o}else{w=Mt(a/d);// full decimal version of iterations, not the previous iteration (we're reusing prevIteration variable for efficiency)
248
+ c=~~w;if(c&&c===w){f=o;c--}f>o&&(f=o)}w=Xt(this._tTime,d);!r&&this._tTime&&w!==c&&this._tTime-w*d-this._dur<=0&&(w=c);// edge case - if someone does addPause() at the very beginning of a repeating timeline, that pause is technically at the same spot as the end which causes this._time to get set to 0 when the totalTime would normally place the playhead at the end. See https://gsap.com/forums/topic/23823-closing-nav-animation-not-working-on-ie-and-iphone-6-maybe-other-older-browser/?tab=comments#comment-113005 also, this._tTime - prevIteration * cycleDuration - this._dur <= 0 just checks to make sure it wasn't previously in the "repeatDelay" portion
249
+ if(M&&c&1){f=o-f;b=1}
250
+ /*
251
+ make sure children at the end/beginning of the timeline are rendered properly. If, for example,
252
+ a 3-second long timeline rendered at 2.9 seconds previously, and now renders at 3.2 seconds (which
253
+ would get translated to 2.8 seconds if the timeline yoyos or 0.2 seconds if it just repeats), there
254
+ could be a callback or a short tween that's at 2.95 or 3 seconds in which wouldn't render. So
255
+ we need to push the timeline to the end (and/or beginning depending on its yoyo value). Also we must
256
+ ensure that zero-duration tweens at the very beginning or end of the Timeline work.
257
+ */if(c!==w&&!this._lock){var j=M&&w&1,x=j===(M&&c&1);c<w&&(j=!j);r=j?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.
258
+ this._lock=1;this.render(r||(b?0:Mt(c*d)),e,!o)._lock=0;this._tTime=a;// if a user gets the iteration() inside the onRepeat, for example, it should be accurate.
259
+ !e&&this.parent&&Bi(this,"onRepeat");if(this.vars.repeatRefresh&&!b){this.invalidate()._lock=1;w=c;// otherwise, the onStart() may fire on the 2nd iteration.
260
+ }if(r&&r!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){
261
+ // 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.
262
+ return this}o=this._dur;// in case the duration changed in the onRepeat
263
+ s=this._tDur;if(x){this._lock=2;r=j?o:-1e-4;this.render(r,true);this.vars.repeatRefresh&&!b&&this.invalidate()}this._lock=0;if(!this._ts&&!m){return this}}}if(this._hasPause&&!this._forcing&&this._lock<2){v=ii(this,Mt(r),Mt(f));if(v){a-=f-(f=v._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.
264
+ if(!this._initted){this._onUpdate=this.vars.onUpdate;this._initted=1;this._zTime=i;r=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}).
265
+ }if(!r&&a&&o&&!e&&!w){Bi(this,"onStart");if(this._tTime!==a){
266
+ // 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.
267
+ return this}}if(f>=r&&i>=0){h=this._first;while(h){l=h._next;if((h._act||f>=h._start)&&h._ts&&v!==h){if(h.parent!==this){
268
+ // 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.
269
+ return this.render(i,e,n)}h.render(h._ts>0?(f-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(f-h._start)*h._ts,e,n);if(f!==this._time||!this._ts&&!m){
270
+ //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete
271
+ v=0;l&&(a+=this._zTime=-y);// it didn't finish rendering, so flag zTime as negative so that the next time render() is called it'll be forced (to render any remaining children)
272
+ break}}h=l}}else{h=this._last;var k=i<0?i:f;//when the playhead goes backward beyond the start of this timeline, we must pass that information down to the child animations so that zero-duration tweens know whether to render their starting or ending values.
273
+ while(h){l=h._prev;if((h._act||k<=h._end)&&h._ts&&v!==h){if(h.parent!==this){
274
+ // 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.
275
+ return this.render(i,e,n)}h.render(h._ts>0?(k-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(k-h._start)*h._ts,e,n||g&&kt(h));// if reverting, we should always force renders of initted tweens (but remember that .fromTo() or .from() may have a _startAt but not _initted yet). If, for example, a .fromTo() tween with a stagger (which creates an internal timeline) gets reverted BEFORE some of its child tweens render for the first time, it may not properly trigger them to revert.
276
+ if(f!==this._time||!this._ts&&!m){
277
+ //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete
278
+ v=0;l&&(a+=this._zTime=k?-y:y);// it didn't finish rendering, so adjust zTime so that so that the next time render() is called it'll be forced (to render any remaining children)
279
+ break}}h=l}}if(v&&!e){this.pause();v.render(f>=r?0:-y)._zTime=f>=r?1:-1;if(this._ts){
280
+ //the callback resumed playback! So since we may have held back the playhead due to where the pause is positioned, go ahead and jump to where it's SUPPOSED to be (if no pause happened).
281
+ this._start=C;//if the pause was at an earlier time and the user resumed in the callback, it could reposition the timeline (changing its startTime), throwing things off slightly, so we make sure the _start doesn't shift.
282
+ Nt(this);return this.render(i,e,n)}}this._onUpdate&&!e&&Bi(this,"onUpdate",true);if(a===s&&this._tTime>=this.totalDuration()||!a&&r)if(C===this._start||Math.abs(p)!==Math.abs(this._ts))if(!this._lock){
283
+ // remember, a child's callback may alter this timeline's playhead or timeScale which is why we need to add some of these checks.
284
+ (i||!o)&&(a===s&&this._ts>0||!a&&this._ts<0)&&It(this,1);// 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.
285
+ if(!e&&!(i<0&&!r)&&(a||r||!s)){Bi(this,a===s&&i>=0?"onComplete":"onReverseComplete",true);this._prom&&!(a<s&&this.timeScale()>0)&&this._prom()}}}return this};e.add=function t(i,e){var n=this;O(e)||(e=si(this,e,i));if(!(i instanceof ae)){if(S(i)){i.forEach((function(t){return n.add(t,e)}));return this}if(_(i)){return this.addLabel(i,e)}if(P(i)){i=be.delayedCall(0,i)}else{return this}}return this!==i?$t(this,i,e):this;//don't allow a timeline to be added to itself as a child!
286
+ };e.getChildren=function t(i,e,n,r){if(i===void 0){i=true}if(e===void 0){e=true}if(n===void 0){n=true}if(r===void 0){r=-w}var s=[],o=this._first;while(o){if(o._start>=r){if(o instanceof be){e&&s.push(o)}else{n&&s.push(o);i&&s.push.apply(s,o.getChildren(true,e,n))}}o=o._next}return s};e.getById=function t(i){var e=this.getChildren(1,1,1),n=e.length;while(n--){if(e[n].vars.id===i){return e[n]}}};e.remove=function t(i){if(_(i)){return this.removeLabel(i)}if(P(i)){return this.killTweensOf(i)}i.parent===this&&Ht(this,i);if(i===this._recent){this._recent=this._last}return zt(this)};e.totalTime=function i(e,n){if(!arguments.length){return this._tTime}this._forcing=1;if(!this._dp&&this._ts){
287
+ //special case for the global timeline (or any other that has no parent or detached parent).
288
+ this._start=Mt(Ni.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))}t.prototype.totalTime.call(this,e,n);this._forcing=0;return this};e.addLabel=function t(i,e){this.labels[i]=si(this,e);return this};e.removeLabel=function t(i){delete this.labels[i];return this};e.addPause=function t(i,e,n){var r=be.delayedCall(0,e||nt,n);r.data="isPause";this._hasPause=1;return $t(this,r,si(this,i))};e.removePause=function t(i){var e=this._first;i=si(this,i);while(e){if(e._start===i&&e.data==="isPause"){It(e)}e=e._next}};e.killTweensOf=function t(i,e,n){var r=this.getTweensOf(i,n),s=r.length;while(s--){de!==r[s]&&r[s].kill(i,e)}return this};e.getTweensOf=function t(i,e){var n=[],r=mi(i),s=this._first,o=O(e),
289
+ // a number is interpreted as a global time. If the animation spans
290
+ a;while(s){if(s instanceof be){if(jt(s._targets,r)&&(o?(!de||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())){
291
+ // note: if this is for overwriting, it should only be for tweens that aren't paused and are initted.
292
+ n.push(s)}}else if((a=s.getTweensOf(r,e)).length){n.push.apply(n,a)}s=s._next}return n}// potential future feature - targets() on timelines;
293
+ e.tweenTo=function t(i,e){e=e||{};var n=this,r=si(n,i),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,f=s.immediateRender,h,l=be.to(n,Ot({ease:e.ease||"none",lazy:false,immediateRender:false,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale())||y,onStart:function t(){n.pause();if(!h){var i=e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale());l._dur!==i&&ei(l,i,0,1).render(l._time,true,true);h=1}a&&a.apply(l,u||[]);//in case the user had an onStart in the vars - we don't want to overwrite it.
294
+ }},e));return f?l.render(0):l};e.tweenFromTo=function t(i,e,n){return this.tweenTo(e,Ot({startAt:{time:si(this,i)}},n))};e.recent=function t(){return this._recent};e.nextLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i))};e.previousLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i),1)};e.currentLabel=function t(i){return arguments.length?this.seek(i,true):this.previousLabel(this._time+y)};e.shiftChildren=function t(i,e,n){if(n===void 0){n=0}var r=this._first,s=this.labels,o;i=Mt(i);while(r){if(r._start>=n){r._start+=i;r._end+=i}r=r._next}if(e){for(o in s){if(s[o]>=n){s[o]+=i}}}return zt(this)};e.invalidate=function i(e){var n=this._first;this._lock=0;while(n){n.invalidate(e);n=n._next}return t.prototype.invalidate.call(this,e)};e.clear=function t(i){if(i===void 0){i=true}var e=this._first,n;while(e){n=e._next;this.remove(e);e=n}this._dp&&(this._time=this._tTime=this._pTime=0);i&&(this.labels={});return zt(this)};e.totalDuration=function t(i){var e=0,n=this,r=n._last,s=w,o,a,u;if(arguments.length){return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-i:i))}if(n._dirty){u=n.parent;while(r){o=r._prev;//record it here in case the tween changes position in the sequence...
295
+ r._dirty&&r.totalDuration();//could change the tween._startTime, so make sure the animation's cache is clean before analyzing it.
296
+ a=r._start;if(a>s&&n._sort&&r._ts&&!n._lock){
297
+ //in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence
298
+ n._lock=1;//prevent endless recursive calls - there are methods that get triggered that check duration/totalDuration when we add().
299
+ $t(n,r,a-r._delay,1)._lock=0}else{s=a}if(a<0&&r._ts){
300
+ //children aren't allowed to have negative startTimes unless smoothChildTiming is true, so adjust here if one is found.
301
+ e-=a;if(!u&&!n._dp||u&&u.smoothChildTiming){n._start+=Mt(a/n._ts);n._time-=a;n._tTime-=a}n.shiftChildren(-a,false,-Infinity);s=0}r._end>e&&r._ts&&(e=r._end);r=o}ei(n,n===N&&n._time>e?n._time:e,1,1);n._dirty=0}return n._tDur};i.updateRoot=function t(i){if(N._ts){Ft(N,Ut(i,N));ht=Ni.frame}if(Ni.frame>=dt){dt+=m.autoSleep||120;var e=N._first;if(!e||!e._ts)if(m.autoSleep&&Ni._listeners.length<2){while(e&&!e._ts){e=e._next}e||Ni.sleep()}}};return i}(ae);Ot(ue.prototype,{_lock:0,_hasPause:0,_forcing:0});var fe=function t(i,e,n,r,s,o,a){
302
+ //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.
303
+ var u=new Se(this._pt,i,e,0,1,Ze,null,s),f=0,h=0,l,c,d,m,v,p,g,C;u.b=n;u.e=r;n+="";//ensure values are strings
304
+ r+="";if(g=~r.indexOf("random(")){r=_i(r)}if(o){C=[n,r];o(C,i,e);//pass an array with the starting and ending values and let the filter do whatever it needs to the values.
305
+ n=C[0];r=C[1]}c=n.match(V)||[];while(l=V.exec(r)){m=l[0];v=r.substring(f,l.index);if(d){d=(d+1)%5}else if(v.substr(-5)==="rgba("){d=1}if(m!==c[h++]){p=parseFloat(c[h-1])||0;//these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method.
306
+ u._pt={_next:u._pt,p:v||h===1?v:",",
307
+ //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
308
+ s:p,c:m.charAt(1)==="="?bt(p,m)-p:parseFloat(m)-p,m:d&&d<4?Math.round:0};f=V.lastIndex}}u.c=f<r.length?r.substring(f,r.length):"";//we use the "c" of the PropTween to store the final part of the string (after the last number)
309
+ u.fp=a;if(A.test(r)||g){u.e=0;//if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).
310
+ }this._pt=u;//start the linked list with this new PropTween. Remember, 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.
311
+ return u},he=function t(i,e,n,r,s,o,a,u,f,h){P(r)&&(r=r(s||0,i,o));var l=i[e],c=n!=="get"?n:!P(l)?l:f?i[e.indexOf("set")||!P(i["get"+e.substr(3)])?e:"get"+e.substr(3)](f):i[e](),d=!P(l)?je:f?ke:xe,v;if(_(r)){if(~r.indexOf("random(")){r=_i(r)}if(r.charAt(1)==="="){v=bt(c,r)+(fi(c)||0);if(v||v===0){
312
+ // to avoid isNaN, like if someone passes in a value like "!= whatever"
313
+ r=v}}}if(!h||c!==r||me){if(!isNaN(c*r)&&r!==""){
314
+ // fun fact: any number multiplied by "" is evaluated as the number 0!
315
+ v=new Se(this._pt,i,e,+c||0,r-(c||0),typeof l==="boolean"?Oe:Pe,0,d);f&&(v.fp=f);a&&v.modifier(a,this,i);return this._pt=v}!l&&!(e in i)&&tt(e,r);return fe.call(this,i,e,c,r,d,u||m.stringFilter,f)}},
316
+ //creates a copy of the vars object and processes any function-based values (putting the resulting values directly into the copy) as well as strings with "random()" in them. It does NOT process relative values.
317
+ le=function t(i,e,n,r,s){P(i)&&(i=we(i,s,e,n,r));if(!B(i)||i.style&&i.nodeType||S(i)||Y(i)){return _(i)?we(i,s,e,n,r):i}var o={},a;for(a in i){o[a]=we(i[a],s,e,n,r)}return o},ce=function t(i,e,n,r,s,o){var a,u,f,h;if(lt[i]&&(a=new lt[i]).init(s,a.rawVars?e[i]:le(e[i],r,s,o,n),n,r,o)!==false){n._pt=u=new Se(n._pt,s,i,0,1,a.render,a,0,a.priority);if(n!==Ti){f=n._ptLookup[n._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.
318
+ h=a._props.length;while(h--){f[a._props[h]]=u}}}return a},de,
319
+ //store a reference temporarily so we can avoid overwriting itself.
320
+ me,ve=function t(i,e,n){var r=i.vars,s=r.ease,o=r.startAt,a=r.immediateRender,u=r.lazy,f=r.onUpdate,h=r.runBackwards,l=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=i._dur,C=i._startAt,M=i._targets,b=i.parent,j=b&&b.data==="nested"?b.vars.targets:M,x=i._overwrite==="auto"&&!p,k=i.timeline,F=r.easeReverse||l,_,P,O,Z,B,T,R,Y,S,H,I,z,L;k&&(!c||!s)&&(s="none");i._ease=ie(s,v.ease);i._rEase=F&&(ie(F)||i._ease);i._from=!k&&!!r.runBackwards;//nested timelines should never run backwards - the backwards-ness is in the child tweens.
321
+ if(i._from)i.ratio=1;if(!k||c&&!r.stagger){
322
+ //if there's an internal timeline, skip all the parsing because we passed that task down the chain.
323
+ Y=M[0]?gt(M[0]).harness:0;z=Y&&r[Y.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.
324
+ _=Tt(r,at);if(C){C._zTime<0&&C.progress(1);// in case it's a lazy startAt that hasn't rendered yet.
325
+ e<0&&h&&a&&!d?C.render(-1,true):C.revert(h&&m?st:rt);// if it's a "startAt" (not "from()" or runBackwards: true), we only need to do a shallow revert (keep transforms cached in CSSPlugin)
326
+ // 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.
327
+ C._lazy=0}if(o){It(i._startAt=be.set(M,Ot({data:"isStart",overwrite:false,parent:b,immediateRender:true,lazy:!C&&E(u),startAt:null,delay:0,onUpdate:f&&function(){return Bi(i,"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);
328
+ i._startAt._dp=0;// don't allow it to get put back into root timeline! Like when revert() is called and totalTime() gets set.
329
+ i._startAt._sat=i;// used in globalTime(). _sat stands for _startAtTween
330
+ e<0&&(g||!a&&!d)&&i._startAt.revert(st);// rare edge case, like if a render is forced in the negative direction of a non-initted tween.
331
+ if(a){if(m&&e<=0&&n<=0){
332
+ // 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.
333
+ e&&(i._zTime=e);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.
334
+ }}}else if(h&&m){
335
+ // 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)
336
+ if(!C){e&&(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
337
+ O=Ot({overwrite:false,data:"isFromStart",
338
+ //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.
339
+ lazy:a&&!C&&E(u),immediateRender:a,
340
+ //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)
341
+ stagger:0,parent:b},_);z&&(O[Y.prop]=z);// in case someone does something like .from(..., {css:{}})
342
+ It(i._startAt=be.set(M,O));i._startAt._dp=0;// don't allow it to get put back into root timeline!
343
+ i._startAt._sat=i;// used in globalTime()
344
+ e<0&&(g?i._startAt.revert(st):i._startAt.render(-1,true));i._zTime=e;if(!a){t(i._startAt,y,y);//ensures that the initial values are recorded
345
+ }else if(!e){return}}}i._pt=i._ptCache=0;u=m&&E(u)||u&&!m;for(P=0;P<M.length;P++){B=M[P];R=B._gsap||pt(M)[P]._gsap;i._ptLookup[P]=H={};ft[R.id]&&ut.length&&xt();//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)
346
+ I=j===M?P:j.indexOf(B);if(Y&&(S=new Y).init(B,z||_,i,I,j)!==false){i._pt=Z=new Se(i._pt,B,S.name,0,1,S.render,S,0,S.priority);S._props.forEach((function(t){H[t]=Z}));S.priority&&(T=1)}if(!Y||z){for(O in _){if(lt[O]&&(S=ce(O,_,i,I,B,j))){S.priority&&(T=1)}else{H[O]=Z=he.call(i,B,O,"get",_[O],I,j,0,r.stringFilter)}}}i._op&&i._op[P]&&i.kill(B,i._op[P]);if(x&&i._pt){de=i;N.killTweensOf(B,H,i.globalTime(e));// make sure the overwriting doesn't overwrite THIS tween!!!
347
+ L=!i.parent;de=0}i._pt&&u&&(ft[R.id]=1)}T&&Ye(i);i._onInit&&i._onInit(i);//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.
348
+ }i._onUpdate=f;i._initted=(!i._op||i._pt)&&!L;// if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick.
349
+ c&&e<=0&&k.render(w,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.
350
+ },pe=function t(i,e,n,r,s,o,a,u){var f=(i._pt&&i._ptCache||(i._ptCache={}))[e],h,l,c,d;if(!f){f=i._ptCache[e]=[];c=i._ptLookup;d=i._targets.length;while(d--){h=c[d][e];if(h&&h.d&&h.d._pt){
351
+ // it's a plugin, so find the nested PropTween
352
+ h=h.d._pt;while(h&&h.p!==e&&h.fp!==e){
353
+ // "fp" is functionParam for things like setting CSS variables which require .setProperty("--var-name", value)
354
+ h=h._next}}if(!h){
355
+ // there is no PropTween associated with that property, so we must FORCE one to be created and ditch out of this
356
+ // 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.
357
+ me=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.
358
+ i.vars[e]="+=0";ve(i,a);me=0;return u?it(e+" 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().
359
+ }f.push(h)}}d=f.length;while(d--){l=f[d];h=l._pt||l;// complex values may have nested PropTweens. We only accommodate the FIRST value.
360
+ h.s=(r||r===0)&&!s?r:h.s+(r||0)+o*h.c;h.c=n-h.s;l.e&&(l.e=yt(n)+fi(l.e));// mainly for CSSPlugin (end value)
361
+ l.b&&(l.b=h.s+fi(l.b));// (beginning value)
362
+ }},ge=function t(i,e){var n=i[0]?gt(i[0]).harness:0,r=n&&n.aliases,s,o,a,u;if(!r){return e}s=Bt({},e);for(o in r){if(o in s){u=r[o].split(",");a=u.length;while(a--){s[u[a]]=s[o]}}}return s},
363
+ // 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.
364
+ Ce=function t(i,e,n,r){var s=e.ease||r||"power1.inOut",o,a;if(S(e)){a=n[i]||(n[i]=[]);// t = time (out of 100), v = value, e = ease
365
+ e.forEach((function(t,i){return a.push({t:i/(e.length-1)*100,v:t,e:s})}))}else{for(o in e){a=n[o]||(n[o]=[]);o==="ease"||a.push({t:parseFloat(i),v:e[o],e:s})}}},we=function t(i,e,n,r,s){return P(i)?i.call(e,n,r,s):_(i)&&~i.indexOf("random(")?_i(i):i},ye=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Me={};wt(ye+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Me[t]=1}));ye=ye.split(",");
366
+ /*
367
+ * --------------------------------------------------------------------------------------
368
+ * TWEEN
369
+ * --------------------------------------------------------------------------------------
370
+ */var be=function(t){d(i,t);function i(i,e,n,r){var s;if(typeof e==="number"){n.duration=e;e=n;n=null}s=t.call(this,r?e:Rt(e))||this;var o=s.vars,a=o.duration,u=o.delay,f=o.immediateRender,h=o.stagger,l=o.overwrite,d=o.keyframes,v=o.defaults,g=o.scrollTrigger,C=e.parent||N,w=(S(i)||Y(i)?O(i[0]):"length"in e)?[i]:mi(i),M,b,j,x,k,F,_,P;s._targets=w.length?pt(w):it("GSAP target "+i+" not found. https://gsap.com",!m.nullTargetWarn)||[];s._ptLookup=[];//PropTween lookup. An array containing an object for each target, having keys for each tweening property
371
+ s._overwrite=l;if(d||h||R(a)||R(u)){e=s.vars;var Z=e.easeReverse||e.yoyoEase;M=s.timeline=new ue({data:"nested",defaults:v||{},targets:C&&C.data==="nested"?C.vars.targets:w});// 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.
372
+ M.kill();M.parent=M._dp=c(s);M._start=0;if(h||R(a)||R(u)){x=w.length;_=h&&gi(h);if(B(h)){
373
+ //users can pass in callbacks like onStart/onComplete in the stagger object. These should fire with each individual tween.
374
+ for(k in h){if(~ye.indexOf(k)){P||(P={});P[k]=h[k]}}}for(b=0;b<x;b++){j=Tt(e,Me);j.stagger=0;Z&&(j.easeReverse=Z);P&&Bt(j,P);F=w[b];//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.
375
+ j.duration=+we(a,c(s),b,F,w);j.delay=(+we(u,c(s),b,F,w)||0)-s._delay;if(!h&&x===1&&j.delay){
376
+ // if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat.
377
+ s._delay=u=j.delay;s._start+=u;j.delay=0}M.to(F,j,_?_(b,F,w):0);M._ease=Wi.none}M.duration()?a=u=0:s.timeline=0;// if the timeline's duration is 0, we don't need a timeline internally!
378
+ }else if(d){Rt(Ot(M.vars.defaults,{ease:"none"}));M._ease=ie(d.ease||e.ease||"none");var T=0,H,I,z;if(S(d)){d.forEach((function(t){return M.to(w,t,">")}));M.duration();// to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.
379
+ }else{j={};for(k in d){k==="ease"||k==="easeEach"||Ce(k,d[k],j,d.easeEach)}for(k in j){H=j[k].sort((function(t,i){return t.t-i.t}));T=0;for(b=0;b<H.length;b++){I=H[b];z={ease:I.e,duration:(I.t-(b?H[b-1].t:0))/100*a};z[k]=I.v;M.to(w,z,T);T+=z.duration}}M.duration()<a&&M.to({},{duration:a-M.duration()});// in case keyframes didn't go to 100%
380
+ }}a||s.duration(a=M.duration())}else{s.timeline=0;//speed optimization, faster lookups (no going up the prototype chain)
381
+ }if(l===true&&!p){de=c(s);N.killTweensOf(w);de=0}$t(C,c(s),n);e.reversed&&s.reverse();e.paused&&s.paused(true);if(f||!a&&!d&&s._start===Mt(C._time)&&E(f)&&Vt(c(s))&&C.data!=="nested"){s._tTime=-y;//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)
382
+ s.render(Math.max(0,-u)||0);//in case delay is negative
383
+ }g&&Gt(c(s),g);return s}var e=i.prototype;e.render=function t(i,e,n){var r=this._time,s=this._tDur,o=this._dur,a=i<0,u=i>s-y&&!a?s:i<y?0:i,f,h,l,c,d,m,v,p;if(!o){ti(this,i,e,n)}else if(u!==this._tTime||!i||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){
384
+ // 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)
385
+ f=u;p=this.timeline;if(this._repeat){
386
+ //adjust the time for repeats and yoyos
387
+ c=o+this._rDelay;if(this._repeat<-1&&a){return this.totalTime(c*100+i,e,n)}f=Mt(u%c);//round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!)
388
+ if(u===s){
389
+ // 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)
390
+ l=this._repeat;f=o}else{d=Mt(u/c);// full decimal version of iterations, not the previous iteration (we're reusing prevIteration variable for efficiency)
391
+ l=~~d;if(l&&l===d){f=o;l--}else if(f>o){f=o}}m=this._yoyo&&l&1;if(m)f=o-f;d=Xt(this._tTime,c);if(f===r&&!n&&this._initted&&l===d){
392
+ //could be during the repeatDelay part. No need to render and fire callbacks.
393
+ this._tTime=u;return this}if(l!==d){
394
+ //repeatRefresh functionality
395
+ if(this.vars.repeatRefresh&&!m&&!this._lock&&f!==c&&this._initted){
396
+ // 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).
397
+ this._lock=n=1;//force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick.
398
+ this.render(Mt(c*l),true).invalidate()._lock=0}}}if(!this._initted){if(Qt(this,a?i:f,n,e,u)){this._tTime=0;// in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number.
399
+ return this}if(r!==this._time&&!(n&&this.vars.repeatRefresh&&l!==d)){
400
+ // 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!
401
+ return this}if(o!==this._dur){
402
+ // while initting, a plugin like InertiaPlugin might alter the duration, so rerun from the start to ensure everything renders as it should.
403
+ return this.render(i,e,n)}}if(this._rEase){var g=f<r;if(g!==this._inv){var C=g?r:o-r;this._inv=g;if(this._from)this.ratio=1-this.ratio;this._invRatio=this.ratio;this._invTime=r;this._invRecip=C?(g?-1:1)/C:0;this._invScale=g?-this.ratio:1-this.ratio;this._invEase=g?this._rEase:this._ease}this.ratio=v=this._invRatio+this._invScale*this._invEase((f-this._invTime)*this._invRecip)}else{this.ratio=v=this._ease(f/o)}if(this._from)this.ratio=v=1-v;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.
404
+ this._lazy=0}if(!r&&u&&!e&&!d){Bi(this,"onStart");if(this._tTime!==u){
405
+ // 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.
406
+ return this}}h=this._pt;while(h){h.r(v,h.d);h=h._next}p&&p.render(i<0?i:p._dur*p._ease(f/this._dur),e,n)||this._startAt&&(this._zTime=i);if(this._onUpdate&&!e){a&&Dt(this,i,e,n);//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.
407
+ Bi(this,"onUpdate")}this._repeat&&l!==d&&this.vars.onRepeat&&!e&&this.parent&&Bi(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&Dt(this,i,true,true);(i||!o)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&It(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.
408
+ if(!e&&!(a&&!r)&&(u||r||m)){
409
+ // if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();
410
+ Bi(this,u===s?"onComplete":"onReverseComplete",true);this._prom&&!(u<s&&this.timeScale()>0)&&this._prom()}}}return this};e.targets=function t(){return this._targets};e.invalidate=function i(e){
411
+ // "soft" gives us a way to clear out everything EXCEPT the recorded pre-"from" portion of from() tweens. Otherwise, for example, if you tween.progress(1).render(0, true true).invalidate(), the "from" values would persist and then on the next render, the from() tweens would initialize and the current value would match the "from" values, thus animate from the same value to the same value (no animation). We tap into this in ScrollTrigger's refresh() where we must push a tween to completion and then back again but honor its init state in case the tween is dependent on another tween further up on the page.
412
+ (!e||!this.vars.runBackwards)&&(this._startAt=0);this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0;this._ptLookup=[];this.timeline&&this.timeline.invalidate(e);return t.prototype.invalidate.call(this,e)};e.resetTo=function t(i,e,n,r,s){Ui||Ni.wake();this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts),a;this._initted||ve(this,o);a=this._ease(o/this._dur);// don't just get tween.ratio because it may not have rendered yet.
413
+ // possible future addition to allow an object with multiple values to update, like tween.resetTo({x: 100, y: 200}); At this point, it doesn't seem worth the added kb given the fact that most users will likely opt for the convenient gsap.quickTo() way of interacting with this method.
414
+ // if (_isObject(property)) { // performance optimization
415
+ // for (p in property) {
416
+ // if (_updatePropTweens(this, p, property[p], value ? value[p] : null, start, ratio, time)) {
417
+ // return this.resetTo(property, value, start, startIsRelative); // if a PropTween wasn't found for the property, it'll get forced with a re-initialization so we need to jump out and start over again.
418
+ // }
419
+ // }
420
+ // } else {
421
+ if(pe(this,i,e,n,r,a,o,s)){return this.resetTo(i,e,n,r,1);// if a PropTween wasn't found for the property, it'll get forced with a re-initialization so we need to jump out and start over again.
422
+ }//}
423
+ qt(this,0);this.parent||St(this._dp,this,"_first","_last",this._dp._sort?"_start":0);return this.render(0)};e.kill=function t(i,e){if(e===void 0){e="all"}if(!i&&(!e||e==="all")){this._lazy=this._pt=0;this.parent?Ei(this):this.scrollTrigger&&this.scrollTrigger.kill(!!g);return this}if(this.timeline){var n=this.timeline.totalDuration();this.timeline.killTweensOf(i,e,de&&de.vars.overwrite!==true)._first||Ei(this);// if nothing is left tweening, interrupt.
424
+ this.parent&&n!==this.timeline.totalDuration()&&ei(this,this._dur*this.timeline._tDur/n,0,1);// if a nested tween is killed that changes the duration, it should affect this tween's duration. We must use the ratio, though, because sometimes the internal timeline is stretched like for keyframes where they don't all add up to whatever the parent tween's duration was set to.
425
+ return this}var r=this._targets,s=i?mi(i):r,o=this._ptLookup,a=this._pt,u,f,h,l,c,d,m;if((!e||e==="all")&&Yt(r,s)){e==="all"&&(this._pt=0);return Ei(this)}u=this._op=this._op||[];if(e!=="all"){
426
+ //so people can pass in a comma-delimited list of property names
427
+ if(_(e)){c={};wt(e,(function(t){return c[t]=1}));e=c}e=ge(r,e)}m=r.length;while(m--){if(~s.indexOf(r[m])){f=o[m];if(e==="all"){u[m]=e;l=f;h={}}else{h=u[m]=u[m]||{};l=e}for(c in l){d=f&&f[c];if(d){if(!("kill"in d.d)||d.d.kill(c)===true){Ht(this,d,"_pt")}delete f[c]}if(h!=="all"){h[c]=1}}}}this._initted&&!this._pt&&a&&Ei(this);//if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.
428
+ return this};i.to=function t(e,n){return new i(e,n,arguments[2])};i.from=function t(i,e){return oi(1,arguments)};i.delayedCall=function t(e,n,r,s){return new i(n,0,{immediateRender:false,lazy:false,overwrite:false,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:s});// we must use onReverseComplete too for things like timeline.add(() => {...}) which should be triggered in BOTH directions (forward and reverse)
429
+ };i.fromTo=function t(i,e,n){return oi(2,arguments)};i.set=function t(e,n){n.duration=0;n.repeatDelay||(n.repeat=0);return new i(e,n)};i.killTweensOf=function t(i,e,n){return N.killTweensOf(i,e,n)};return i}(ae);Ot(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});//add the pertinent timeline methods to Tween instances so that users can chain conveniently and create a timeline automatically. (removed due to concerns that it'd ultimately add to more confusion especially for beginners)
430
+ // _forEachName("to,from,fromTo,set,call,add,addLabel,addPause", name => {
431
+ // Tween.prototype[name] = function() {
432
+ // let tl = new Timeline();
433
+ // return _addToTimeline(tl, this)[name].apply(tl, toArray(arguments));
434
+ // }
435
+ // });
436
+ //for backward compatibility. Leverage the timeline calls.
437
+ wt("staggerTo,staggerFrom,staggerFromTo",(function(t){be[t]=function(){var i=new ue,e=li.call(arguments,0);e.splice(t==="staggerFromTo"?5:4,0,0);return i[t].apply(i,e)}}));
438
+ /*
439
+ * --------------------------------------------------------------------------------------
440
+ * PROPTWEEN
441
+ * --------------------------------------------------------------------------------------
442
+ */var je=function t(i,e,n){return i[e]=n},xe=function t(i,e,n){return i[e](n)},ke=function t(i,e,n,r){return i[e](r.fp,n)},Fe=function t(i,e,n){return i.setAttribute(e,n)},_e=function t(i,e){return P(i[e])?xe:Z(i[e])&&i.setAttribute?Fe:je},Pe=function t(i,e){return e.set(e.t,e.p,Math.round((e.s+e.c*i)*1e6)/1e6,e)},Oe=function t(i,e){return e.set(e.t,e.p,!!(e.s+e.c*i),e)},Ze=function t(i,e){var n=e._pt,r="";if(!i&&e.b){
443
+ //b = beginning string
444
+ r=e.b}else if(i===1&&e.e){
445
+ //e = ending string
446
+ r=e.e}else{while(n){r=n.p+(n.m?n.m(n.s+n.c*i):Math.round((n.s+n.c*i)*1e4)/1e4)+r;//we use the "p" property for the text inbetween (like a suffix). And in the context of a complex string, the modifier (m) is typically just Math.round(), like for RGB colors.
447
+ n=n._next}r+=e.c;//we use the "c" of the PropTween to store the final chunk of non-numeric text.
448
+ }e.set(e.t,e.p,r,e)},Be=function t(i,e){var n=e._pt;while(n){n.r(i,n.d);n=n._next}},Ee=function t(i,e,n,r){var s=this._pt,o;while(s){o=s._next;s.p===r&&s.modifier(i,e,n);s=o}},Te=function t(i){var e=this._pt,n,r;while(e){r=e._next;if(e.p===i&&!e.op||e.op===i){Ht(this,e,"_pt")}else if(!e.dep){n=1}e=r}return!n},Re=function t(i,e,n,r){r.mSet(i,e,r.m.call(r.tween,n,r.mt),r)},Ye=function t(i){var e=i._pt,n,r,s,o;//sorts the PropTween linked list in order of priority because some plugins need to do their work after ALL of the PropTweens were created (like RoundPropsPlugin and ModifiersPlugin)
449
+ while(e){n=e._next;r=s;while(r&&r.pr>e.pr){r=r._next}if(e._prev=r?r._prev:o){e._prev._next=e}else{s=e}if(e._next=r){r._prev=e}else{o=e}e=n}i._pt=s};//PropTween key: t = target, p = prop, r = renderer, d = data, s = start, c = change, op = overwriteProperty (ONLY populated when it's different than p), pr = priority, _next/_prev for the linked list siblings, set = setter, m = modifier, mSet = modifierSetter (the original setter, before a modifier was added)
450
+ var Se=function(){function t(t,i,e,n,r,s,o,a,u){this.t=i;this.s=n;this.c=r;this.p=e;this.r=s||Pe;this.d=o||this;this.set=a||je;this.pr=u||0;this._next=t;if(t){t._prev=this}}var i=t.prototype;i.modifier=function t(i,e,n){this.mSet=this.mSet||this.set;//in case it was already set (a PropTween can only have one modifier)
451
+ this.set=Re;this.m=i;this.mt=n;//modifier target
452
+ this.tween=e};return t}();//Initialization tasks
453
+ wt(vt+"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(t){return at[t]=1}));G.TweenMax=G.TweenLite=be;G.TimelineLite=G.TimelineMax=ue;N=new ue({sortChildren:false,defaults:v,autoRemoveChildren:true,id:"root",smoothChildTiming:true});m.stringFilter=Xi;var He=[],Ie={},ze=[],Le=0,De=0,Ve=function t(i){return(Ie[i]||ze).map((function(t){return t()}))},Ae=function t(){var i=Date.now(),e=[];if(i-Le>2){Ve("matchMediaInit");He.forEach((function(t){var i=t.queries,n=t.conditions,r,s,o,a;for(s in i){r=q.matchMedia(i[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.
454
+ r&&(o=1);if(r!==n[s]){n[s]=r;a=1}}if(a){t.revert();o&&e.push(t)}}));Ve("matchMediaRevert");e.forEach((function(t){return t.onMatch(t,(function(i){return t.add(null,i)}))}));Le=i;Ve("matchMedia")}};var Xe=function(){function t(t,i){this.selector=i&&vi(i);this.data=[];this._r=[];// returned/cleanup functions
455
+ this.isReverted=false;this.id=De++;// 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
456
+ t&&this.add(t)}var i=t.prototype;i.add=function t(i,e,n){
457
+ // possible future addition if we need the ability to add() an animation to a context and for whatever reason cannot create that animation inside of a context.add(() => {...}) function.
458
+ // if (name && _isFunction(name.revert)) {
459
+ // this.data.push(name);
460
+ // return (name._ctx = this);
461
+ // }
462
+ if(P(i)){n=e;e=i;i=P}var r=this,s=function t(){var i=C,s=r.selector,o;i&&i!==r&&i.data.push(r);n&&(r.selector=vi(n));C=r;o=e.apply(r,arguments);P(o)&&r._r.push(o);C=i;r.selector=s;r.isReverted=false;return o};r.last=s;return i===P?s(r,(function(t){return r.add(null,t)})):i?r[i]=s:s};i.ignore=function t(i){var e=C;C=null;i(this);C=e};i.getTweens=function i(){var e=[];this.data.forEach((function(i){return i instanceof t?e.push.apply(e,i.getTweens()):i instanceof be&&!(i.parent&&i.parent.data==="nested")&&e.push(i)}));return e};i.clear=function t(){this._r.length=this.data.length=0};i.kill=function t(i,e){var n=this;if(i){(function(){var t=n.getTweens(),e=n.data.length,r;while(e--){
463
+ // Flip plugin tweens are very different in that they should actually be pushed to their end. The plugin replaces the timeline's .revert() method to do exactly that. But we also need to remove any of those nested tweens inside the flip timeline so that they don't get individually reverted.
464
+ r=n.data[e];if(r.data==="isFlip"){r.revert();r.getChildren(true,true,false).forEach((function(i){return t.splice(t.indexOf(i),1)}))}}// save as an object so that we can cache the globalTime for each tween to optimize performance during the sort
465
+ t.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-Infinity,t:t}})).sort((function(t,i){return i.g-t.g||-Infinity})).forEach((function(t){return t.t.revert(i)}));// note: all of the _startAt tweens should be reverted in reverse order that they were created, and they'll all have the same globalTime (-1) so the " || -1" in the sort keeps the order properly.
466
+ e=n.data.length;while(e--){
467
+ // make sure we loop backwards so that, for example, SplitTexts that were created later on the same element get reverted first
468
+ r=n.data[e];if(r instanceof ue){if(r.data!=="nested"){r.scrollTrigger&&r.scrollTrigger.revert();r.kill();// don't revert() the timeline because that's duplicating efforts since we already reverted all the tweens
469
+ }}else{!(r instanceof be)&&r.revert&&r.revert(i)}}n._r.forEach((function(t){return t(i,n)}));n.isReverted=true})()}else{this.data.forEach((function(t){return t.kill&&t.kill()}))}this.clear();if(e){var r=He.length;while(r--){
470
+ // previously, we checked _media.indexOf(this), but some frameworks like Vue enforce Proxy objects that make it impossible to get the proper result that way, so we must use a unique ID number instead.
471
+ He[r].id===this.id&&He.splice(r,1)}this._mqs&&this._mqs.forEach((function(t){return t.removeListener?t.removeListener(Ae):t.removeEventListener("change",Ae)}));this._mqs=null}}// killWithCleanup() {;
472
+ i.revert=function t(i){this.kill(i||{})};return t}();var Ue=function(){function t(t){this.contexts=[];this.scope=t;C&&C.data.push(this)}var i=t.prototype;i.add=function t(i,e,n){B(i)||(i={matches:i});var r=new Xe(0,n||this.scope),s=r.conditions={},o,a,u;C&&!r.selector&&(r.selector=C.selector);// in case a context is created inside a context. Like a gsap.matchMedia() that's inside a scoped gsap.context()
473
+ this.contexts.push(r);e=r.add("onMatch",e);r.queries=i;for(a in i){if(a==="all"){u=1}else{o=q.matchMedia(i[a]);if(o){He.indexOf(r)<0&&He.push(r);(s[a]=o.matches)&&(u=1);o.addListener?o.addListener(Ae):o.addEventListener("change",Ae);(r._mqs||(r._mqs=[])).push(o)}}}u&&e(r,(function(t){return r.add(null,t)}));return this}// refresh() {;
474
+ i.revert=function t(i){this.kill(i||{})};i.kill=function t(i){this.contexts.forEach((function(t){return t.kill(i,true)}))};return t}();
475
+ /*
476
+ * --------------------------------------------------------------------------------------
477
+ * GSAP
478
+ * --------------------------------------------------------------------------------------
479
+ */var Ne={registerPlugin:function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}e.forEach((function(t){return Yi(t)}))},timeline:function t(i){return new ue(i)},getTweensOf:function t(i,e){return N.getTweensOf(i,e)},getProperty:function t(i,e,n,r){_(i)&&(i=mi(i)[0]);//in case selector text or an array is passed in
480
+ var s=gt(i||{}).get,o=n?Pt:_t;n==="native"&&(n="");return!i?i:!e?function(t,e,n){return o((lt[t]&&lt[t].get||s)(i,t,e,n))}:o((lt[e]&&lt[e].get||s)(i,e,n,r))},quickSetter:function t(i,e,n){i=mi(i);if(i.length>1){var r=i.map((function(t){return Ge.quickSetter(t,e,n)})),s=r.length;return function(t){var i=s;while(i--){r[i](t)}}}i=i[0]||{};var o=lt[e],a=gt(i),u=a.harness&&(a.harness.aliases||{})[e]||e,
481
+ // in case it's an alias, like "rotate" for "rotation".
482
+ f=o?function(t){var e=new o;Ti._pt=0;e.init(i,n?t+n:t,Ti,0,[i]);e.render(1,e);Ti._pt&&Be(1,Ti)}:a.set(i,u);return o?f:function(t){return f(i,u,n?t+n:t,a,1)}},quickTo:function t(i,e,n){var r;var s=Ge.to(i,Ot((r={},r[e]="+=0.1",r.paused=true,r.stagger=0,r),n||{})),o=function t(i,n,r){return s.resetTo(e,i,n,r)};o.tween=s;return o},isTweening:function t(i){return N.getTweensOf(i,true).length>0},defaults:function t(i){i&&i.ease&&(i.ease=ie(i.ease,v.ease));return Et(v,i||{})},config:function t(i){return Et(m,i||{})},registerEffect:function t(i){var e=i.name,n=i.effect,r=i.plugins,s=i.defaults,o=i.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!lt[t]&&!G[t]&&it(e+" effect requires "+t+" plugin.")}));ct[e]=function(t,i,e){return n(mi(t),Ot(i||{},s),e)};if(o){ue.prototype[e]=function(t,i,n){return this.add(ct[e](t,B(i)?i:(n=i)&&{},this),n)}}},registerEase:function t(i,e){Wi[i]=ie(e)},parseEase:function t(i,e){return arguments.length?ie(i,e):Wi},getById:function t(i){return N.getById(i)},exportRoot:function t(i,e){if(i===void 0){i={}}var n=new ue(i),r,s;n.smoothChildTiming=E(i.smoothChildTiming);N.remove(n);n._dp=0;//otherwise it'll get re-activated when adding children and be re-introduced into _globalTimeline's linked list (then added to itself).
483
+ n._time=n._tTime=N._time;r=N._first;while(r){s=r._next;if(e||!(!r._dur&&r instanceof be&&r.vars.onComplete===r._targets[0])){$t(n,r,r._start-r._delay)}r=s}$t(N,n,0);return n},context:function t(i,e){return i?new Xe(i,e):C},matchMedia:function t(i){return new Ue(i)},matchMediaRefresh:function t(){return He.forEach((function(t){var i=t.conditions,e,n;for(n in i){if(i[n]){i[n]=false;e=1}}e&&t.revert()}))||Ae()},addEventListener:function t(i,e){var n=Ie[i]||(Ie[i]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function t(i,e){var n=Ie[i],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:ki,wrapYoyo:Fi,distribute:gi,random:yi,snap:wi,normalize:ji,getUnit:fi,clamp:hi,splitColor:zi,toArray:mi,selector:vi,mapRange:Pi,pipe:Mi,unitize:bi,interpolate:Oi,shuffle:pi},install:K,effects:ct,ticker:Ni,updateRoot:ue.updateRoot,plugins:lt,globalTimeline:N,core:{PropTween:Se,globals:et,Tween:be,Timeline:ue,Animation:ae,getCache:gt,_removeLinkedListItem:Ht,reverting:function t(){return g},context:function t(i){if(i&&C){C.data.push(i);i._ctx=C}return C},suppressOverwrites:function t(i){return p=i}}};wt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Ne[t]=be[t]}));Ni.add(ue.updateRoot);Ti=Ne.to({},{duration:0});// ---- EXTRA PLUGINS --------------------------------------------------------
484
+ var qe=function t(i,e){var n=i._pt;while(n&&n.p!==e&&n.op!==e&&n.fp!==e){n=n._next}return n},We=function t(i,e){var n=i._targets,r,s,o;for(r in e){s=n.length;while(s--){o=i._ptLookup[s][r];if(o&&(o=o.d)){if(o._pt){
485
+ // is a plugin
486
+ o=qe(o,r)}o&&o.modifier&&o.modifier(e[r],i,n[s],r)}}}},$e=function t(i,e){return{name:i,headless:1,rawVars:1,
487
+ //don't pre-process function-based values or "random()" strings.
488
+ init:function t(i,n,r){r._onInit=function(t){var i,r;if(_(n)){i={};wt(n,(function(t){return i[t]=1}));//if the user passes in a comma-delimited list of property names to roundProps, like "x,y", we round to whole numbers.
489
+ n=i}if(e){i={};for(r in n){i[r]=e(n[r])}n=i}We(t,n)}}}};//register core plugins
490
+ var Ge=Ne.registerPlugin({name:"attr",init:function t(i,e,n,r,s){var o,a,u;this.tween=n;for(o in e){u=i.getAttribute(o)||"";a=this.add(i,"setAttribute",(u||0)+"",e[o],r,s,0,0,o);a.op=o;a.b=u;// record the beginning value so we can revert()
491
+ this._props.push(o)}},render:function t(i,e){var n=e._pt;while(n){g?n.set(n.t,n.p,n.b,n):n.r(i,n.d);// if reverting, go back to the original (pt.b)
492
+ n=n._next}}},{name:"endArray",headless:1,init:function t(i,e){var n=e.length;while(n--){this.add(i,n,i[n]||0,e[n],0,0,0,0,0,1)}}},$e("roundProps",Ci),$e("modifiers"),$e("snap",wi))||Ne;//to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way.
493
+ be.version=ue.version=Ge.version="3.15.1";J=1;T()&&qi();
494
+ /*!
495
+ * CSSPlugin 3.15.1
496
+ * https://gsap.com
497
+ *
498
+ * Copyright 2008-2026, GreenSock. All rights reserved.
499
+ * Subject to the terms at https://gsap.com/standard-license
500
+ * @author: Jack Doyle, jack@greensock.com
501
+ */var Qe,Je,Ke,tn,en,nn,rn,sn=function t(){return typeof window!=="undefined"},on={},an=180/Math.PI,un=Math.PI/180,fn=Math.atan2,hn=1e8,ln=/([A-Z])/g,cn=/(left|right|width|margin|padding|x)/i,dn=/[\s,\(]\S/,mn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vn=function t(i,e){return e.set(e.t,e.p,Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},pn=function t(i,e){return e.set(e.t,e.p,i===1?e.e:Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},gn=function t(i,e){return e.set(e.t,e.p,i?Math.round((e.s+e.c*i)*1e4)/1e4+e.u:e.b,e)},
502
+ //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)
503
+ Cn=function t(i,e){return e.set(e.t,e.p,i===1?e.e:i?Math.round((e.s+e.c*i)*1e4)/1e4+e.u:e.b,e)},
504
+ //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)
505
+ wn=function t(i,e){var n=e.s+e.c*i;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},yn=function t(i,e){return e.set(e.t,e.p,i?e.e:e.b,e)},Mn=function t(i,e){return e.set(e.t,e.p,i!==1?e.b:e.e,e)},bn=function t(i,e,n){return i.style[e]=n},jn=function t(i,e,n){return i.style.setProperty(e,n)},xn=function t(i,e,n){return i._gsap[e]=n},kn=function t(i,e,n){return i._gsap.scaleX=i._gsap.scaleY=n},Fn=function t(i,e,n,r,s){var o=i._gsap;o.scaleX=o.scaleY=n;o.renderTransform(s,o)},_n=function t(i,e,n,r,s){var o=i._gsap;o[e]=n;o.renderTransform(s,o)},Pn="transform",On=Pn+"Origin",Zn=function t(i,e){var n=this;var r=this.target,s=r.style,o=r._gsap;if(i in on&&s){this.tfm=this.tfm||{};if(i!=="transform"){i=mn[i]||i;~i.indexOf(",")?i.split(",").forEach((function(t){return n.tfm[t]=$n(r,t)})):this.tfm[i]=o.x?o[i]:$n(r,i);// note: scale would map to "scaleX,scaleY", thus we loop and apply them both.
506
+ i===On&&(this.tfm.zOrigin=o.zOrigin)}else{return mn.transform.split(",").forEach((function(i){return t.call(n,i,e)}))}if(this.props.indexOf(Pn)>=0){return}if(o.svg){this.svgo=r.getAttribute("data-svg-origin");this.props.push(On,e,"")}i=Pn}(s||e)&&this.props.push(i,e,s[i])},Bn=function t(i){if(i.translate){i.removeProperty("translate");i.removeProperty("scale");i.removeProperty("rotate")}},En=function t(){var i=this.props,e=this.target,n=e.style,r=e._gsap,s,o;for(s=0;s<i.length;s+=3){
507
+ // stored like this: property, isNotCSS, value
508
+ if(!i[s+1]){i[s+2]?n[i[s]]=i[s+2]:n.removeProperty(i[s].substr(0,2)==="--"?i[s]:i[s].replace(ln,"-$1").toLowerCase())}else if(i[s+1]===2){
509
+ // non-CSS value (function-based)
510
+ e[i[s]](i[s+2])}else{
511
+ // non-CSS value (not function-based)
512
+ e[i[s]]=i[s+2]}}if(this.tfm){for(o in this.tfm){r[o]=this.tfm[o]}if(r.svg){r.renderTransform();e.setAttribute("data-svg-origin",this.svgo||"")}s=rn();if((!s||!s.isStart)&&!n[Pn]){Bn(n);if(r.zOrigin&&n[On]){n[On]+=" "+r.zOrigin+"px";// since we're uncaching, we must put the zOrigin back into the transformOrigin so that we can pull it out accurately when we parse again. Otherwise, we'd lose the z portion of the origin since we extract it to protect from Safari bugs.
513
+ r.zOrigin=0;r.renderTransform()}r.uncache=1;// if it's a startAt that's being reverted in the _initTween() of the core, we don't need to uncache transforms. This is purely a performance optimization.
514
+ }}},Tn=function t(i,e){var n={target:i,props:[],revert:En,save:Zn};i._gsap||Ge.core.getCache(i);// just make sure there's a _gsap cache defined because we read from it in _saveStyle() and it's more efficient to just check it here once.
515
+ e&&i.style&&i.nodeType&&e.split(",").forEach((function(t){return n.save(t)}));// make sure it's a DOM node too.
516
+ return n},Rn,Yn=function t(i,e){var n=Je.createElementNS?Je.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),i):Je.createElement(i);//some servers swap in https for http in the namespace which can break things, making "style" inaccessible.
517
+ return n&&n.style?n:Je.createElement(i);//some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://gsap.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/).
518
+ },Sn=function t(i,e,n){var r=getComputedStyle(i);return r[e]||r.getPropertyValue(e.replace(ln,"-$1").toLowerCase())||r.getPropertyValue(e)||!n&&t(i,In(e)||e,1)||"";//css variables may not need caps swapped out for dashes and lowercase.
519
+ },Hn="O,Moz,ms,Ms,Webkit".split(","),In=function t(i,e,n){var r=e||en,s=r.style,o=5;if(i in s&&!n){return i}i=i.charAt(0).toUpperCase()+i.substr(1);while(o--&&!(Hn[o]+i in s)){}return o<0?null:(o===3?"ms":o>=0?Hn[o]:"")+i},zn=function t(){if(sn()&&window.document){Qe=window;Je=Qe.document;Ke=Je.documentElement;en=Yn("div")||{style:{}};Yn("div");Pn=In(Pn);On=Pn+"Origin";en.style.cssText="border-width:0;line-height:0;position:absolute;padding:0";//make sure to override certain properties that may contaminate measurements, in case the user has overreaching style sheets.
520
+ Rn=!!In("perspective");rn=Ge.core.reverting;tn=1}},Ln=function t(i){
521
+ //works around issues in some browsers (like Firefox) that don't correctly report getBBox() on SVG elements inside a <defs> element and/or <mask>. We try creating an SVG, adding it to the documentElement and toss the element in there so that it's definitely part of the rendering tree, then grab the bbox and if it works, we actually swap out the original getBBox() method for our own that does these extra steps whenever getBBox is needed. This helps ensure that performance is optimal (only do all these extra steps when absolutely necessary...most elements don't need it).
522
+ var e=i.ownerSVGElement,n=Yn("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=i.cloneNode(true),s;r.style.display="block";n.appendChild(r);Ke.appendChild(n);try{s=r.getBBox()}catch(t){}n.removeChild(r);Ke.removeChild(n);return s},Dn=function t(i,e){var n=e.length;while(n--){if(i.hasAttribute(e[n])){return i.getAttribute(e[n])}}},Vn=function t(i){var e,n;try{e=i.getBBox();//Firefox throws errors if you try calling getBBox() on an SVG element that's not rendered (like in a <symbol> or <defs>). https://bugzilla.mozilla.org/show_bug.cgi?id=612118
523
+ }catch(t){e=Ln(i);n=1}e&&(e.width||e.height)||n||(e=Ln(i));//some browsers (like Firefox) misreport the bounds if the element has zero width and height (it just assumes it's at x:0, y:0), thus we need to manually grab the position in that case.
524
+ return e&&!e.width&&!e.x&&!e.y?{x:+Dn(i,["x","cx","x1"])||0,y:+Dn(i,["y","cy","y1"])||0,width:0,height:0}:e},An=function t(i){return!!(i.getCTM&&(!i.parentNode||i.ownerSVGElement)&&Vn(i))},
525
+ //reports if the element is an SVG on which getBBox() actually works
526
+ Xn=function t(i,e){if(e){var n=i.style,r;if(e in on&&e!==On){e=Pn}if(n.removeProperty){r=e.substr(0,2);if(r==="ms"||e.substr(0,6)==="webkit"){
527
+ //Microsoft and some Webkit browsers don't conform to the standard of capitalizing the first prefix character, so we adjust so that when we prefix the caps with a dash, it's correct (otherwise it'd be "ms-transform" instead of "-ms-transform" for IE9, for example)
528
+ e="-"+e}n.removeProperty(r==="--"?e:e.replace(ln,"-$1").toLowerCase())}else{
529
+ //note: old versions of IE use "removeAttribute()" instead of "removeProperty()"
530
+ n.removeAttribute(e)}}},Un=function t(i,e,n,r,s,o){var a=new Se(i._pt,e,n,0,1,o?Mn:yn);i._pt=a;a.b=r;a.e=s;i._props.push(n);return a},Nn={deg:1,rad:1,turn:1},qn={grid:1,flex:1},
531
+ //takes a single value like 20px and converts it to the unit specified, like "%", returning only the numeric amount.
532
+ Wn=function t(i,e,n,r){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",
533
+ // some browsers leave extra whitespace at the beginning of CSS variables, hence the need to trim()
534
+ a=en.style,u=cn.test(e),f=i.tagName.toLowerCase()==="svg",h=(f?"client":"offset")+(u?"Width":"Height"),l=100,c=r==="px",d=r==="%",m,v,p,g;if(r===o||!s||Nn[r]||Nn[o]){return s}o!=="px"&&!c&&(s=t(i,e,n,"px"));g=i.getCTM&&An(i);if((d||o==="%")&&(on[e]||~e.indexOf("adius"))){m=g?i.getBBox()[u?"width":"height"]:i[h];return yt(d?s/m*l:s/100*m)}a[u?"width":"height"]=l+(c?o:r);v=r!=="rem"&&~e.indexOf("adius")||r==="em"&&i.appendChild&&!f?i:i.parentNode;if(g){v=(i.ownerSVGElement||{}).parentNode}if(!v||v===Je||!v.appendChild){v=Je.body}p=v._gsap;if(p&&d&&p.width&&u&&p.time===Ni.time&&!p.uncache){return yt(s/p.width*l)}else{if(d&&(e==="height"||e==="width")){
535
+ // if we're dealing with width/height that's inside a container with padding and/or it's a flexbox/grid container, we must apply it to the target itself rather than the _tempDiv in order to ensure complete accuracy, factoring in the parent's padding.
536
+ var C=i.style[e];i.style[e]=l+r;m=i[h];C?i.style[e]=C:Xn(i,e)}else{(d||o==="%")&&!qn[Sn(v,"display")]&&(a.position=Sn(i,"position"));v===i&&(a.position="static");// like for borderRadius, if it's a % we must have it relative to the target itself but that may not have position: relative or position: absolute in which case it'd go up the chain until it finds its offsetParent (bad). position: static protects against that.
537
+ v.appendChild(en);m=en[h];v.removeChild(en);a.position="absolute"}if(u&&d){p=gt(v);p.time=Ni.time;p.width=v[h]}}return yt(c?m*s/l:m&&s?l/m*s:0)},$n=function t(i,e,n,r){var s;tn||zn();if(e in mn&&e!=="transform"){e=mn[e];if(~e.indexOf(",")){e=e.split(",")[0]}}if(on[e]&&e!=="transform"){s=ar(i,r);s=e!=="transformOrigin"?s[e]:s.svg?s.origin:ur(Sn(i,On))+" "+s.zOrigin+"px"}else{s=i.style[e];if(!s||s==="auto"||r||~(s+"").indexOf("calc(")){s=tr[e]&&tr[e](i,e,n)||Sn(i,e)||Ct(i,e)||(e==="opacity"?1:0);// note: some browsers, like Firefox, don't report borderRadius correctly! Instead, it only reports every corner like borderTopLeftRadius
538
+ }}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},Gn=function t(i,e,n,r){
539
+ // note: we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin.
540
+ if(!n||n==="none"){
541
+ // some browsers like Safari actually PREFER the prefixed property and mis-report the unprefixed value like clipPath (BUG). In other words, even though clipPath exists in the style ("clipPath" in target.style) and it's set in the CSS properly (along with -webkit-clip-path), Safari reports clipPath as "none" whereas WebkitClipPath reports accurately like "ellipse(100% 0% at 50% 0%)", so in this case we must SWITCH to using the prefixed property instead. See https://gsap.com/forums/topic/18310-clippath-doesnt-work-on-ios/
542
+ var s=In(e,i,1),o=s&&Sn(i,s,1);if(o&&o!==n){e=s;n=o}else if(e==="borderColor"){n=Sn(i,"borderTopColor");// Firefox bug: always reports "borderColor" as "", so we must fall back to borderTopColor. See https://gsap.com/forums/topic/24583-how-to-return-colors-that-i-had-after-reverse/
543
+ }}var a=new Se(this._pt,i.style,e,0,1,Ze),u=0,f=0,h,l,c,d,v,p,g,C,w,y,M,b;a.b=n;a.e=r;n+="";// ensure values are strings
544
+ r+="";if(r.substring(0,6)==="var(--"){r=Sn(i,r.substring(4,r.indexOf(")")))}if(r==="auto"){p=i.style[e];i.style[e]=r;r=Sn(i,e)||r;p?i.style[e]=p:Xn(i,e)}h=[n,r];Xi(h);// pass an array with the starting and ending values and let the filter do whatever it needs to the values. If colors are found, it returns true and then we must match where the color shows up order-wise because for things like boxShadow, sometimes the browser provides the computed values with the color FIRST, but the user provides it with the color LAST, so flip them if necessary. Same for drop-shadow().
545
+ n=h[0];r=h[1];c=n.match(D)||[];b=r.match(D)||[];if(b.length){while(l=D.exec(r)){g=l[0];w=r.substring(u,l.index);if(v){v=(v+1)%5}else if(w.substr(-5)==="rgba("||w.substr(-5)==="hsla("){v=1}if(g!==(p=c[f++]||"")){d=parseFloat(p)||0;M=p.substr((d+"").length);g.charAt(1)==="="&&(g=bt(d,g)+M);C=parseFloat(g);y=g.substr((C+"").length);u=D.lastIndex-y.length;if(!y){
546
+ //if something like "perspective:300" is passed in and we must add a unit to the end
547
+ y=y||m.units[e]||M;if(u===r.length){r+=y;a.e+=y}}if(M!==y){d=Wn(i,e,p,y)||0}// these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method.
548
+ a._pt={_next:a._pt,p:w||f===1?w:",",
549
+ //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
550
+ s:d,c:C-d,m:v&&v<4||e==="zIndex"?Math.round:0}}}a.c=u<r.length?r.substring(u,r.length):"";//we use the "c" of the PropTween to store the final part of the string (after the last number)
551
+ }else{a.r=e==="display"&&r==="none"?Mn:yn}A.test(r)&&(a.e=0);//if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).
552
+ this._pt=a;//start the linked list with this new PropTween. Remember, we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within another plugin too, thus "this" would refer to the plugin.
553
+ return a},Qn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jn=function t(i){var e=i.split(" "),n=e[0],r=e[1]||"50%";if(n==="top"||n==="bottom"||r==="left"||r==="right"){
554
+ //the user provided them in the wrong order, so flip them
555
+ i=n;n=r;r=i}e[0]=Qn[n]||n;e[1]=Qn[r]||r;return e.join(" ")},Kn=function t(i,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,r=n.style,s=e.u,o=n._gsap,a,u,f;if(s==="all"||s===true){r.cssText="";u=1}else{s=s.split(",");f=s.length;while(--f>-1){a=s[f];if(on[a]){u=1;a=a==="transformOrigin"?On:Pn}Xn(n,a)}}if(u){Xn(n,Pn);if(o){o.svg&&n.removeAttribute("transform");r.scale=r.rotate=r.translate="none";ar(n,1);// force all the cached values back to "normal"/identity, otherwise if there's another tween that's already set to render transforms on this element, it could display the wrong values.
556
+ o.uncache=1;Bn(r)}}}},
557
+ // note: specialProps should return 1 if (and only if) they have a non-zero priority. It indicates we need to sort the linked list.
558
+ tr={clearProps:function t(i,e,n,r,s){if(s.data!=="isFromStart"){var o=i._pt=new Se(i._pt,e,n,0,0,Kn);o.u=r;o.pr=-10;o.tween=s;i._props.push(n);return 1}}
559
+ /* className feature (about 0.4kb gzipped).
560
+ , className(plugin, target, property, endValue, tween) {
561
+ let _renderClassName = (ratio, data) => {
562
+ data.css.render(ratio, data.css);
563
+ if (!ratio || ratio === 1) {
564
+ let inline = data.rmv,
565
+ target = data.t,
566
+ p;
567
+ target.setAttribute("class", ratio ? data.e : data.b);
568
+ for (p in inline) {
569
+ _removeProperty(target, p);
570
+ }
571
+ }
572
+ },
573
+ _getAllStyles = (target) => {
574
+ let styles = {},
575
+ computed = getComputedStyle(target),
576
+ p;
577
+ for (p in computed) {
578
+ if (isNaN(p) && p !== "cssText" && p !== "length") {
579
+ styles[p] = computed[p];
580
+ }
581
+ }
582
+ _setDefaults(styles, _parseTransform(target, 1));
583
+ return styles;
584
+ },
585
+ startClassList = target.getAttribute("class"),
586
+ style = target.style,
587
+ cssText = style.cssText,
588
+ cache = target._gsap,
589
+ classPT = cache.classPT,
590
+ inlineToRemoveAtEnd = {},
591
+ data = {t:target, plugin:plugin, rmv:inlineToRemoveAtEnd, b:startClassList, e:(endValue.charAt(1) !== "=") ? endValue : startClassList.replace(new RegExp("(?:\\s|^)" + endValue.substr(2) + "(?![\\w-])"), "") + ((endValue.charAt(0) === "+") ? " " + endValue.substr(2) : "")},
592
+ changingVars = {},
593
+ startVars = _getAllStyles(target),
594
+ transformRelated = /(transform|perspective)/i,
595
+ endVars, p;
596
+ if (classPT) {
597
+ classPT.r(1, classPT.d);
598
+ _removeLinkedListItem(classPT.d.plugin, classPT, "_pt");
599
+ }
600
+ target.setAttribute("class", data.e);
601
+ endVars = _getAllStyles(target, true);
602
+ target.setAttribute("class", startClassList);
603
+ for (p in endVars) {
604
+ if (endVars[p] !== startVars[p] && !transformRelated.test(p)) {
605
+ changingVars[p] = endVars[p];
606
+ if (!style[p] && style[p] !== "0") {
607
+ inlineToRemoveAtEnd[p] = 1;
608
+ }
609
+ }
610
+ }
611
+ cache.classPT = plugin._pt = new PropTween(plugin._pt, target, "className", 0, 0, _renderClassName, data, 0, -11);
612
+ if (style.cssText !== cssText) { //only apply if things change. Otherwise, in cases like a background-image that's pulled dynamically, it could cause a refresh. See https://gsap.com/forums/topic/20368-possible-gsap-bug-switching-classnames-in-chrome/.
613
+ style.cssText = cssText; //we recorded cssText before we swapped classes and ran _getAllStyles() because in cases when a className tween is overwritten, we remove all the related tweening properties from that class change (otherwise class-specific stuff can't override properties we've directly set on the target's style object due to specificity).
614
+ }
615
+ _parseTransform(target, true); //to clear the caching of transforms
616
+ data.css = new gsap.plugins.css();
617
+ data.css.init(target, changingVars, tween);
618
+ plugin._props.push(...data.css._props);
619
+ return 1;
620
+ }
621
+ */},
622
+ /*
623
+ * --------------------------------------------------------------------------------------
624
+ * TRANSFORMS
625
+ * --------------------------------------------------------------------------------------
626
+ */
627
+ ir=[1,0,0,1,0,0],er={},nr=function t(i){return i==="matrix(1, 0, 0, 1, 0, 0)"||i==="none"||!i},rr=function t(i){var e=Sn(i,Pn);return nr(e)?ir:e.substr(7).match(L).map(yt)},sr=function t(i,e){var n=i._gsap||gt(i),r=i.style,s=rr(i),o,a,u,f;if(n.svg&&i.getAttribute("transform")){u=i.transform.baseVal.consolidate().matrix;//ensures that even complex values like "translate(50,60) rotate(135,0,0)" are parsed because it mashes it into a matrix.
628
+ s=[u.a,u.b,u.c,u.d,u.e,u.f];return s.join(",")==="1,0,0,1,0,0"?ir:s}else if(s===ir&&!i.offsetParent&&i!==Ke&&!n.svg){
629
+ //note: if offsetParent is null, that means the element isn't in the normal document flow, like if it has display:none or one of its ancestors has display:none). Firefox returns null for getComputedStyle() if the element is in an iframe that has display:none. https://bugzilla.mozilla.org/show_bug.cgi?id=548397
630
+ //browsers don't report transforms accurately unless the element is in the DOM and has a display value that's not "none". Firefox and Microsoft browsers have a partial bug where they'll report transforms even if display:none BUT not any percentage-based values like translate(-50%, 8px) will be reported as if it's translate(0, 8px).
631
+ u=r.display;r.display="block";o=i.parentNode;if(!o||!i.offsetParent&&!i.getBoundingClientRect().width){
632
+ // 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.
633
+ f=1;//flag
634
+ a=i.nextElementSibling;Ke.appendChild(i);//we must add it to the DOM in order to get values properly
635
+ }s=rr(i);u?r.display=u:Xn(i,"display");if(f){a?o.insertBefore(i,a):o?o.appendChild(i):Ke.removeChild(i)}}return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},or=function t(i,e,n,r,s,o){var a=i._gsap,u=s||sr(i,true),f=a.xOrigin||0,h=a.yOrigin||0,l=a.xOffset||0,c=a.yOffset||0,d=u[0],m=u[1],v=u[2],p=u[3],g=u[4],C=u[5],w=e.split(" "),y=parseFloat(w[0])||0,M=parseFloat(w[1])||0,b,j,x,k;if(!n){b=Vn(i);y=b.x+(~w[0].indexOf("%")?y/100*b.width:y);M=b.y+(~(w[1]||w[0]).indexOf("%")?M/100*b.height:M);// if (!("xOrigin" in cache) && (xOrigin || yOrigin)) { // added in 3.12.3, reverted in 3.12.4; requires more exploration
636
+ // xOrigin -= bounds.x;
637
+ // yOrigin -= bounds.y;
638
+ // }
639
+ }else if(u!==ir&&(j=d*p-m*v)){
640
+ //if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero.
641
+ x=y*(p/j)+M*(-v/j)+(v*C-p*g)/j;k=y*(-m/j)+M*(d/j)-(d*C-m*g)/j;y=x;M=k;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
642
+ }if(r||r!==false&&a.smooth){g=y-f;C=M-h;a.xOffset=l+(g*d+C*v)-g;a.yOffset=c+(g*m+C*p)-C}else{a.xOffset=a.yOffset=0}a.xOrigin=y;a.yOrigin=M;a.smooth=!!r;a.origin=e;a.originIsAbsolute=!!n;i.style[On]="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).
643
+ if(o){Un(o,a,"xOrigin",f,y);Un(o,a,"yOrigin",h,M);Un(o,a,"xOffset",l,a.xOffset);Un(o,a,"yOffset",c,a.yOffset)}i.setAttribute("data-svg-origin",y+" "+M)},ar=function t(i,e){var n=i._gsap||new oe(i);if("x"in n&&!e&&!n.uncache){return n}var r=i.style,s=n.scaleX<0,o="px",a="deg",u=getComputedStyle(i),f=Sn(i,On)||"0",h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F,_,P,O,Z,B,E,T,R,Y,S,H,I,z,L,D,V;h=l=c=p=g=C=w=y=M=0;d=v=1;n.svg=!!(i.getCTM&&An(i));if(u.translate){
644
+ // accommodate independent transforms by combining them into normal ones.
645
+ if(u.translate!=="none"||u.scale!=="none"||u.rotate!=="none"){r[Pn]=(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[Pn]!=="none"?u[Pn]:"")}r.scale=r.rotate=r.translate="none"}x=sr(i,n.svg);if(n.svg){if(n.uncache){
646
+ // 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.
647
+ Y=i.getBBox();f=n.xOrigin-Y.x+"px "+(n.yOrigin-Y.y)+"px";R=""}else{R=!e&&i.getAttribute("data-svg-origin");// Remember, to work around browser inconsistencies we always force SVG elements' transformOrigin to 0,0 and offset the translation accordingly.
648
+ }or(i,R||f,!!R||n.originIsAbsolute,n.smooth!==false,x)}b=n.xOrigin||0;j=n.yOrigin||0;if(x!==ir){P=x[0];//a11
649
+ O=x[1];//a21
650
+ Z=x[2];//a31
651
+ B=x[3];//a41
652
+ h=E=x[4];l=T=x[5];//2D matrix
653
+ if(x.length===6){d=Math.sqrt(P*P+O*O);v=Math.sqrt(B*B+Z*Z);p=P||O?fn(O,P)*an: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).
654
+ w=Z||B?fn(Z,B)*an+p:0;w&&(v*=Math.abs(Math.cos(w*un)));if(n.svg){h-=b-(b*P+j*Z);l-=j-(b*O+j*B)}//3D matrix
655
+ }else{V=x[6];L=x[7];H=x[8];I=x[9];z=x[10];D=x[11];h=x[12];l=x[13];c=x[14];k=fn(V,z);g=k*an;//rotationX
656
+ if(k){F=Math.cos(-k);_=Math.sin(-k);R=E*F+H*_;Y=T*F+I*_;S=V*F+z*_;H=E*-_+H*F;I=T*-_+I*F;z=V*-_+z*F;D=L*-_+D*F;E=R;T=Y;V=S}//rotationY
657
+ k=fn(-Z,z);C=k*an;if(k){F=Math.cos(-k);_=Math.sin(-k);R=P*F-H*_;Y=O*F-I*_;S=Z*F-z*_;D=B*_+D*F;P=R;O=Y;Z=S}//rotationZ
658
+ k=fn(O,P);p=k*an;if(k){F=Math.cos(k);_=Math.sin(k);R=P*F+O*_;Y=E*F+T*_;O=O*F-P*_;T=T*F-E*_;P=R;E=Y}if(g&&Math.abs(g)+Math.abs(p)>359.9){
659
+ //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.
660
+ g=p=0;C=180-C}d=yt(Math.sqrt(P*P+O*O+Z*Z));v=yt(Math.sqrt(T*T+V*V));k=fn(E,T);w=Math.abs(k)>2e-4?k*an:0;M=D?1/(D<0?-D:D):0}if(n.svg){
661
+ //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).
662
+ R=i.getAttribute("transform");n.forceCSS=i.setAttribute("transform","")||!nr(Sn(i,Pn));R&&i.setAttribute("transform",R)}}if(Math.abs(w)>90&&Math.abs(w)<270){if(s){d*=-1;w+=p<=0?180:-180;p+=p<=0?180:-180}else{v*=-1;w+=w<=0?180:-180}}e=e||n.uncache;n.x=h-((n.xPercent=h&&(!e&&n.xPercent||(Math.round(i.offsetWidth/2)===Math.round(-h)?-50:0)))?i.offsetWidth*n.xPercent/100:0)+o;n.y=l-((n.yPercent=l&&(!e&&n.yPercent||(Math.round(i.offsetHeight/2)===Math.round(-l)?-50:0)))?i.offsetHeight*n.yPercent/100:0)+o;n.z=c+o;n.scaleX=yt(d);n.scaleY=yt(v);n.rotation=yt(p)+a;n.rotationX=yt(g)+a;n.rotationY=yt(C)+a;n.skewX=w+a;n.skewY=y+a;n.transformPerspective=M+o;if(n.zOrigin=parseFloat(f.split(" ")[2])||!e&&n.zOrigin||0){r[On]=ur(f)}n.xOffset=n.yOffset=0;n.force3D=m.force3D;n.renderTransform=n.svg?vr:Rn?mr:hr;n.uncache=0;return n},ur=function t(i){return(i=i.split(" "))[0]+" "+i[1]},
663
+ //for handling transformOrigin values, stripping out the 3rd dimension
664
+ fr=function t(i,e,n){var r=fi(e);return yt(parseFloat(e)+parseFloat(Wn(i,"x",n+"px",r)))+r},hr=function t(i,e){e.z="0px";e.rotationY=e.rotationX="0deg";e.force3D=0;mr(i,e)},lr="0deg",cr="0px",dr=") ",mr=function t(i,e){var n=e||this,r=n.xPercent,s=n.yPercent,o=n.x,a=n.y,u=n.z,f=n.rotation,h=n.rotationY,l=n.rotationX,c=n.skewX,d=n.skewY,m=n.scaleX,v=n.scaleY,p=n.transformPerspective,g=n.force3D,C=n.target,w=n.zOrigin,y="",M=g==="auto"&&i&&i!==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)
665
+ if(w&&(l!==lr||h!==lr)){var b=parseFloat(h)*un,j=Math.sin(b),x=Math.cos(b),k;b=parseFloat(l)*un;k=Math.cos(b);o=fr(C,o,j*k*-w);a=fr(C,a,-Math.sin(b)*-w);u=fr(C,u,x*k*-w+w)}if(p!==cr){y+="perspective("+p+dr}if(r||s){y+="translate("+r+"%, "+s+"%) "}if(M||o!==cr||a!==cr||u!==cr){y+=u!==cr||M?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+dr}if(f!==lr){y+="rotate("+f+dr}if(h!==lr){y+="rotateY("+h+dr}if(l!==lr){y+="rotateX("+l+dr}if(c!==lr||d!==lr){y+="skew("+c+", "+d+dr}if(m!==1||v!==1){y+="scale("+m+", "+v+dr}C.style[Pn]=y||"translate(0, 0)"},vr=function t(i,e){var n=e||this,r=n.xPercent,s=n.yPercent,o=n.x,a=n.y,u=n.rotation,f=n.skewX,h=n.skewY,l=n.scaleX,c=n.scaleY,d=n.target,m=n.xOrigin,v=n.yOrigin,p=n.xOffset,g=n.yOffset,C=n.forceCSS,w=parseFloat(o),y=parseFloat(a),M,b,j,x,k;u=parseFloat(u);f=parseFloat(f);h=parseFloat(h);if(h){
666
+ //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.
667
+ h=parseFloat(h);f+=h;u+=h}if(u||f){u*=un;f*=un;M=Math.cos(u)*l;b=Math.sin(u)*l;j=Math.sin(u-f)*-c;x=Math.cos(u-f)*c;if(f){h*=un;k=Math.tan(f-h);k=Math.sqrt(1+k*k);j*=k;x*=k;if(h){k=Math.tan(h);k=Math.sqrt(1+k*k);M*=k;b*=k}}M=yt(M);b=yt(b);j=yt(j);x=yt(x)}else{M=l;x=c;b=j=0}if(w&&!~(o+"").indexOf("px")||y&&!~(a+"").indexOf("px")){w=Wn(d,"x",o,"px");y=Wn(d,"y",a,"px")}if(m||v||p||g){w=yt(w+m-(m*M+v*j)+p);y=yt(y+v-(m*b+v*x)+g)}if(r||s){
668
+ //The SVG spec doesn't support percentage-based translation in the "transform" attribute, so we merge it into the translation to simulate it.
669
+ k=d.getBBox();w=yt(w+r/100*k.width);y=yt(y+s/100*k.height)}k="matrix("+M+","+b+","+j+","+x+","+w+","+y+")";d.setAttribute("transform",k);C&&(d.style[Pn]=k);//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!)
670
+ },pr=function t(i,e,n,r,s){var o=360,a=_(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?an:1),f=u-r,h=r+f+"deg",l,c;if(a){l=s.split("_")[1];if(l==="short"){f%=o;if(f!==f%(o/2)){f+=f<0?o:-o}}if(l==="cw"&&f<0){f=(f+o*hn)%o-~~(f/o)*o}else if(l==="ccw"&&f>0){f=(f-o*hn)%o-~~(f/o)*o}}i._pt=c=new Se(i._pt,e,n,r,f,pn);c.e=h;c.u="deg";i._props.push(n);return c},gr=function t(i,e){
671
+ // Internet Explorer doesn't have Object.assign(), so we recreate it here.
672
+ for(var n in e){i[n]=e[n]}return i},Cr=function t(i,e,n){
673
+ //for handling cases where someone passes in a whole transform string, like transform: "scale(2, 3) rotate(20deg) translateY(30em)"
674
+ var r=gr({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,u,f,h,l,c,d,m;if(r.svg){f=n.getAttribute("transform");n.setAttribute("transform","");o[Pn]=e;a=ar(n,1);Xn(n,Pn);n.setAttribute("transform",f)}else{f=getComputedStyle(n)[Pn];o[Pn]=e;a=ar(n,1);o[Pn]=f}for(u in on){f=r[u];h=a[u];if(f!==h&&s.indexOf(u)<0){
675
+ //tweening to no perspective gives very unintuitive results - just keep the same perspective in that case.
676
+ d=fi(f);m=fi(h);l=d!==m?Wn(n,u,f,m):parseFloat(f);c=parseFloat(h);i._pt=new Se(i._pt,a,u,l,c-l,vn);i._pt.u=m||0;i._props.push(u)}}gr(a,r)};// 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.
677
+ wt("padding,margin,Width,Radius",(function(t,i){var e="Top",n="Right",r="Bottom",s="Left",o=(i<3?[e,n,r,s]:[e+s,e+n,r+n,r+s]).map((function(e){return i<2?t+e:"border"+e+t}));tr[i>1?"border"+t:t]=function(t,i,e,n,r){var s,a;if(arguments.length<4){
678
+ // getter, passed target, property, and unit (from _get())
679
+ s=o.map((function(i){return $n(t,i,e)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(n+"").split(" ");a={};o.forEach((function(t,i){return a[t]=s[i]=s[i]||s[(i-1)/2|0]}));t.init(i,a,r)}}));var wr={name:"css",register:zn,targetTest:function t(i){return i.style&&i.nodeType},init:function t(i,e,n,r,s){var o=this._props,a=i.style,u=n.vars.startAt,f,h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F;tn||zn();// 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
680
+ this.styles=this.styles||Tn(i);k=this.styles.props;this.tween=n;for(p in e){if(p==="autoRound"){continue}h=e[p];if(lt[p]&&ce(p,e,n,r,i,s)){
681
+ // plugins
682
+ continue}d=typeof h;v=tr[p];if(d==="function"){h=h.call(n,r,i,s);d=typeof h}if(d==="string"&&~h.indexOf("random(")){h=_i(h)}if(v){v(this,i,p,h,n)&&(x=1)}else if(p.substr(0,2)==="--"){
683
+ //CSS variable
684
+ f=(getComputedStyle(i).getPropertyValue(p)+"").trim();h+="";Vi.lastIndex=0;if(!Vi.test(f)){
685
+ // colors don't have units
686
+ g=fi(f);C=fi(h);C?g!==C&&(f=Wn(i,p,f,C)+C):g&&(h+=g)}this.add(a,"setProperty",f,h,r,s,0,0,p);o.push(p);k.push(p,0,a[p])}else if(d!=="undefined"){if(u&&p in u){
687
+ // 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)
688
+ f=typeof u[p]==="function"?u[p].call(n,r,i,s):u[p];_(f)&&~f.indexOf("random(")&&(f=_i(f));fi(f+"")||f==="auto"||(f+=m.units[p]||fi($n(i,p))||"");// for cases when someone passes in a unitless value like {x: 100}; if we try setting translate(100, 0px) it won't work.
689
+ (f+"").charAt(1)==="="&&(f=$n(i,p));// can't work with relative values
690
+ }else{f=$n(i,p)}c=parseFloat(f);w=d==="string"&&h.charAt(1)==="="&&h.substr(0,2);w&&(h=h.substr(2));l=parseFloat(h);if(p in mn){if(p==="autoAlpha"){
691
+ //special case where we control the visibility along with opacity. We still allow the opacity value to pass through and get tweened.
692
+ if(c===1&&$n(i,"visibility")==="hidden"&&l){
693
+ //if visibility is initially set to "hidden", we should interpret that as intent to make opacity 0 (a convenience)
694
+ c=0}k.push("visibility",0,a.visibility);Un(this,a,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)}if(p!=="scale"&&p!=="transform"){p=mn[p];~p.indexOf(",")&&(p=p.split(",")[0])}}y=p in on;//--- TRANSFORM-RELATED ---
695
+ if(y){this.styles.save(p);F=h;// this is always the same as endValue except when it's a var(--) value, in which case we need to calculate the end value.
696
+ if(d==="string"&&h.substring(0,6)==="var(--"){h=Sn(i,h.substring(4,h.indexOf(")")));if(h.substring(0,5)==="calc("){var P=i.style.perspective;i.style.perspective=h;h=Sn(i,"perspective");P?i.style.perspective=P:Xn(i,"perspective")}l=parseFloat(h)}if(!M){b=i._gsap;b.renderTransform&&!e.parseTransform||ar(i,e.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.
697
+ j=e.smoothOrigin!==false&&b.smooth;M=this._pt=new Se(this._pt,a,Pn,0,1,b.renderTransform,b,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)
698
+ M.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.
699
+ }if(p==="scale"){this._pt=new Se(this._pt,b,"scaleY",b.scaleY,(w?bt(b.scaleY,w+l):l)-b.scaleY||0,vn);this._pt.u=0;o.push("scaleY",p);p+="X"}else if(p==="transformOrigin"){k.push(On,0,a[On]);h=Jn(h);//in case something like "left top" or "bottom right" is passed in. Convert to percentages.
700
+ if(b.svg){or(i,h,0,j,0,this)}else{C=parseFloat(h.split(" ")[2])||0;//handle the zOrigin separately!
701
+ C!==b.zOrigin&&Un(this,b,"zOrigin",b.zOrigin,C);Un(this,a,p,ur(f),ur(h))}continue}else if(p==="svgOrigin"){or(i,h,1,j,0,this);continue}else if(p in er){pr(this,b,p,c,w?bt(c,w+h):h);continue}else if(p==="smoothOrigin"){Un(this,b,"smooth",b.smooth,h);continue}else if(p==="force3D"){b[p]=h;continue}else if(p==="transform"){Cr(this,h,i);continue}}else if(!(p in a)){p=In(p)||p}if(y||(l||l===0)&&(c||c===0)&&!dn.test(h)&&p in a){g=(f+"").substr((c+"").length);l||(l=0);// protect against NaN
702
+ C=fi(h)||(p in m.units?m.units[p]:g);g!==C&&(c=Wn(i,p,f,C));this._pt=new Se(this._pt,y?b:a,p,c,(w?bt(c,w+l):l)-c,!y&&(C==="px"||p==="zIndex")&&e.autoRound!==false?wn:vn);this._pt.u=C||0;if(y&&F!==h){this._pt.b=f;this._pt.e=F;this._pt.r=Cn}else if(g!==C&&C!=="%"){
703
+ //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)
704
+ this._pt.b=f;this._pt.r=gn}}else if(!(p in a)){if(p in i){
705
+ //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.
706
+ this.add(i,p,f||i[p],w?w+h:h,r,s)}else if(p!=="parseTransform"){tt(p,h);continue}}else{Gn.call(this,i,p,f,w?w+h:h)}y||(p in a?k.push(p,0,a[p]):typeof i[p]==="function"?k.push(p,2,i[p]()):k.push(p,1,f||i[p]));o.push(p)}}x&&Ye(this)},render:function t(i,e){if(e.tween._time||!rn()){var n=e._pt;while(n){n.r(i,n.d);n=n._next}}else{e.styles.revert()}},get:$n,aliases:mn,getSetter:function t(i,e,n){
707
+ //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.
708
+ var r=mn[e];r&&r.indexOf(",")<0&&(e=r);return e in on&&e!==On&&(i._gsap.x||$n(i,"x"))?n&&nn===n?e==="scale"?kn:xn:(nn=n||{})&&(e==="scale"?Fn:_n):i.style&&!Z(i.style[e])?bn:~e.indexOf("-")?jn:_e(i,e)},core:{_removeProperty:Xn,_getMatrix:sr}};Ge.utils.checkPrefix=In;Ge.core.getStyleSaver=Tn;(function(t,i,e,n){var r=wt(t+","+i+","+e,(function(t){on[t]=1}));wt(i,(function(t){m.units[t]="deg";er[t]=1}));mn[r[13]]=t+","+i;wt(n,(function(t){var i=t.split(":");mn[i[1]]=r[i[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");wt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){m.units[t]="px"}));Ge.registerPlugin(wr);var yr=Ge.registerPlugin(wr)||Ge;var Mr='<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 br='<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">\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 jr=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:var(--duration-200,.2s);--mds-emoji-expression-follow-mouse-head-duration:var(--duration-300,.3s);--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:calc(var(--spacing,.0025rem)*10000);align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,calc(var(--spacing,.0025rem)*10000));perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transition:transform var(--duration-200,.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}"};
709
+ /**
710
+ * The transform origin of each part of a face, in the box of the part: the head turns from its
711
+ * bottom left corner, the others from their centre. Every state of a part gets it as soon as
712
+ * the face is in the shadow root, and the tweens of moveHead repeat it (#1140): a tween that
713
+ * moves the origin of a part while a blink has it scaled makes GSAP add a translation to keep
714
+ * the part still, and the translation stays once the scale is back to 1.
715
+ */var xr={ears:"50% 50%",eyebrows:"50% 50%",eyes:"50% 50%",gadget:"50% 50%",hand:"50% 50%",head:"0% 100%",mouth:"50% 50%"};var kr=t("mds_emoji",/** @class */function(){function t(t){var e=this;i(this,t);
716
+ /**
717
+ * Specifies which emoji to display.
718
+ */this.name="mia";this.isFollowingMouse=false;this.isBusy=false;this.isSmiling=false;this.isAgreeing=false;this.isThinking=false;this.isBlinking=false;this.isDisagreeing=false;
719
+ // An expression owns the whole face, so only one of them can play at a time.
720
+ // Every take-over bumps this token: the callbacks left behind by the animation
721
+ // that was interrupted compare their own token against it and give up, instead
722
+ // of handing the face back to a state that is no longer theirs.
723
+ this.expressionToken=0;
724
+ // Every tween, timeline and delayed call an expression starts is collected here,
725
+ // so a take-over can stop all of them at once. Killing by target would not do:
726
+ // the same nodes also carry the pointer tracking tweens of rotate(), and those
727
+ // have to survive.
728
+ this.expressionAnimations=[];
729
+ // How far the thinking hand slides in and out, as a share of its own size: a
730
+ // viewBox independent value, so the gesture reads the same on Mia (24 units) and
731
+ // on Simi (440 units).
732
+ 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;
733
+ // Whether the values below come from the computed style. They are read lazily
734
+ // by rotate until it is available: see updateCSSCustomProps.
735
+ this.cssCustomPropsRead=false;this.expressionAngleMax=16;// massimo angolo di rotazione della emoji
736
+ this.expressionFollowMouseHeadDuration=.3;// durata dell'animazione di rotazione della testa quando segue il mouse
737
+ this.expressionFollowMouseTraitsDuration=.2;// durata dell'animazione di rotazione degli occhi e della bocca quando segue il mouse
738
+ this.blinkTimeline=null;this.blinkDelay=null;this.svgLibrary={mia:Mr,simi:br};
739
+ /**
740
+ * Stops the tracking and recentres the face, keeping whether it was on: an expression pauses
741
+ * it this way and restoreFollowMouse resumes it when the expression ends.
742
+ */this.pauseFollowMouse=function(){if(!e.isFollowingMouse)return Promise.resolve();e.isFollowingMouse=false;e.rotate(0,0);return new Promise((function(t){return setTimeout(t,e.expressionFollowMouseTraitsDuration*1e3)}))};this.isEmojiName=function(t){return t!=null&&{}.hasOwnProperty.call(e.svgLibrary,t)};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(e.host);
743
+ // Stencil loads children before their parents, so a slotted emoji reaches
744
+ // componentDidLoad while its host's shadow DOM has not rendered the slot yet.
745
+ // Outside the flat tree the computed style is empty, every value fell back and
746
+ // the durations became 1000 seconds: the head took minutes to follow the
747
+ // pointer. Keep the current values and let rotate read them again later.
748
+ if(t.display===""){e.cssCustomPropsRead=false;return}e.cssCustomPropsRead=true;e.expressionAngleMax=o(t.getPropertyValue("--mds-emoji-expression-max-rotation"),16);e.expressionFollowMouseHeadDuration=a(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"),.3);e.expressionFollowMouseTraitsDuration=a(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"),.2);e.headOffset=u(t.getPropertyValue("--mds-emoji-offset-head"),1);e.eyesOffset=u(t.getPropertyValue("--mds-emoji-offset-eyes"),1);e.mouthOffset=u(t.getPropertyValue("--mds-emoji-offset-mouth"),1);e.handOffset=u(t.getPropertyValue("--mds-emoji-offset-hands"),1);e.gadgetOffset=u(t.getPropertyValue("--mds-emoji-offset-gadget"),1);e.eyebrowsOffset=u(t.getPropertyValue("--mds-emoji-offset-eyebrows"),1);e.earsOffset=u(t.getPropertyValue("--mds-emoji-offset-ears"),1)};this.updateSvgDictionary=function(t){if(typeof window==="undefined")return;var i=document.createElement("template");i.innerHTML=e.svgLibrary[t].trim();e.svgRootEl=i.content.firstElementChild;e.updateCSSCustomProps();
749
+ // The shadow DOM is fully replaced, so every cached node/setter/timeline now
750
+ // points at detached elements: drop them so they rebuild against the new SVG.
751
+ e.resetAnimationState();if(e.host.shadowRoot)e.host.shadowRoot.innerHTML=e.svgRootEl.outerHTML;
752
+ // before the blink timeline, whose fromTo scales the eyes at once: see PART_ORIGINS
753
+ if(s.isBrowser)e.setPartOrigins();if(e.isBlinking){e.blinkTimeline=e.buildBlinkTimeline();e.scheduleBlink()}
754
+ // The face that just arrived must not inherit the pose of the one it replaces.
755
+ // Two distinct leftovers, both visible on the open eyes after a name switch:
756
+ // 1. the trait offsets still held the values computed with the PREVIOUS emoji's
757
+ // --mds-emoji-offset-*, and the two faces do not move by the same amount -
758
+ // simi shifts its eyes 7px where mia shifts them 1px, which showed up as the
759
+ // new eyes sitting far too low (a translateY of 110 in viewBox units);
760
+ // 2. buildBlinkTimeline uses fromTo, and GSAP renders a fromTo's start values
761
+ // immediately even on a paused timeline, so the open eyes were left squashed
762
+ // at scaleY 0.75 until the first blink ran to completion.
763
+ // Everything from here on needs a real browser: GSAP reads the computed transform
764
+ // and moveHead measures the host. `typeof window === 'undefined'` does not tell
765
+ // SSR apart - the hydrate app defines a window - so the guard has to be
766
+ // Build.isBrowser, which the hydrate build compiles to false. Without it the
767
+ // prerender of every mds-emoji dies inside GSAP's CSSPlugin, which reads a null
768
+ // computed transform from mock-doc (check.ssr).
769
+ if(!s.isBrowser)return;e.resetEyesToDefault();if(e.isFollowingMouse){e.moveHead(e.mouseX,e.mouseY)}else{var n=e.getEmojiCenter(),r=n.centerX,o=n.centerY;e.moveHead(r,o)}
770
+ // A face swapped while the emoji is thinking has to arrive already thinking:
771
+ // the hand and the focused eyes belong to the state, not to the SVG that is
772
+ // leaving, so they are put back in place at once, without replaying the
773
+ // entrance on a face that is only now appearing.
774
+ if(e.isThinking)e.setStartThinkingAnimation(0)};this.resetAnimationState=function(){var t,i;e.killExpressionAnimations();(t=e.blinkDelay)===null||t===void 0?void 0:t.kill();e.blinkDelay=null;(i=e.blinkTimeline)===null||i===void 0?void 0:i.kill();e.blinkTimeline=null;e.headEl=null;e.eyesEl=null;e.handEl=null;e.mouthEl=null;e.gadgetEl=null;e.eyebrowsEl=null;e.earsEl=null};this.setPartOrigins=function(){var t;var i=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.firstElementChild;if(!i)return;for(var n=0,r=Object.entries(xr);n<r.length;n++){var s=r[n],o=s[0],a=s[1];var u=i.querySelectorAll("[id^='".concat(o,"-']"));if(u.length>0)yr.set(u,{transformOrigin:a})}};this.queryPart=function(t){var i,n,r;return(r=(n=(i=e.host.shadowRoot)===null||i===void 0?void 0:i.firstElementChild)===null||n===void 0?void 0:n.querySelector("[id='".concat(t,"']")))!==null&&r!==void 0?r:null};this.resetEyesToDefault=function(){e.svgPartState("eyes","default");var t=e.queryPart("eyes-default");if(t)yr.set(t,{scaleY:1})};this.getEmojiCenter=function(){var t=e.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}};
775
+ // Takes the face over for a new expression: whatever was playing is stopped, the
776
+ // traits go back to their rest pose and the token that identifies the new owner
777
+ // is returned.
778
+ this.beginExpression=function(){e.expressionToken+=1;e.stopConcurrentAnimations();e.isBusy=true;return e.expressionToken};this.isCurrentExpression=function(t){return t===e.expressionToken};this.trackExpression=function(t){
779
+ // Drop what has already finished, so a long thinking session does not pile up
780
+ // one entry per eye movement.
781
+ e.expressionAnimations=e.expressionAnimations.filter((function(t){return t.totalProgress()<1}));e.expressionAnimations.push(t)};this.killExpressionAnimations=function(){e.expressionAnimations.forEach((function(t){return t.kill()}));e.expressionAnimations=[]};
782
+ // Puts back to rest every property an expression is allowed to touch. Expressions
783
+ // animate the percentage, scale and rotation channel, while rotate() owns the
784
+ // translation one, so the pointer tracking pose goes through this untouched.
785
+ this.resetFaceToNeutral=function(){yr.set(e.host,{yPercent:0,scaleX:1,scaleY:1});if(e.eyesEl)yr.set(e.eyesEl,{xPercent:0,yPercent:0});if(e.mouthEl)yr.set(e.mouthEl,{scaleY:1});if(e.eyebrowsEl)yr.set(e.eyebrowsEl,{yPercent:0});e.svgPartState("mouth","default");e.resetEyesToDefault()};
786
+ // Pulls the thinking hand out of the frame along the percentage channel its
787
+ // entrance comes in on, so the two are exact mirrors of each other. A duration of
788
+ // zero snaps it, which is what a face rebuilt from another SVG needs.
789
+ this.hideThinkingHand=function(t){var i=e.handEl instanceof NodeList?null:e.handEl;if(!i)return;
790
+ // No overwrite is needed on either branch: every caller kills the tracked
791
+ // expression animations first, and rotate() drives the hand on the translation
792
+ // channel, which neither of these values touches.
793
+ var n={scale:0,rotateZ:45,xPercent:-e.handEntryOffset,yPercent:e.handEntryOffset};if(!t){yr.set(i,n);i.style.visibility="hidden";return}e.trackExpression(yr.to(i,Object.assign(Object.assign({},n),{ease:"expo.inOut",duration:t,onComplete:function(){i.style.visibility="hidden"}})))};this.restoreReadyState=function(t){
794
+ // A superseded expression never hands the face back: its timeline may still be
795
+ // running when another one has already taken ownership.
796
+ if(!e.isCurrentExpression(t))return;e.isBusy=false;e.restoreFollowMouse();e.scheduleBlink()};this.restoreFollowMouse=function(){if(e.wasFollowingMouse){e.moveHead(e.mouseX,e.mouseY);e.startFollowMouse();return}
797
+ // Never followed the pointer: stay centred on the viewer. This used to run
798
+ // unconditionally, right after startFollowMouse, so it immediately undid the
799
+ // restore and snapped the head back to centre until the next mouse move.
800
+ var t=e.getEmojiCenter(),i=t.centerX,n=t.centerY;e.moveHead(i,n)};this.stopConcurrentAnimations=function(){
801
+ // An expression owns the whole face: smile, agree, disagree and think must not
802
+ // play while the traits are still offset toward the last pointer position, so
803
+ // stop tracking and bring the emoji back to centre, where it looks straight at
804
+ // whoever is watching. pauseFollowMouse self-guards on isFollowingMouse and
805
+ // already re-centres through rotate(0, 0), but it is a no-op when the pointer
806
+ // was never followed, hence the explicit moveHead.
807
+ // The centring used to be scattered: disagree and startThinking did it in the
808
+ // public method, smile inside setSmileAnimation, and agree not at all. Doing it
809
+ // here is the single place every expression goes through.
810
+ e.pauseFollowMouse();
811
+ // Thinking is torn down here rather than through stopThinking(): that method
812
+ // hands the face back and schedules the blinking again, both of which would
813
+ // land in the middle of the expression that is starting right now.
814
+ var t=e.isThinking;e.isThinking=false;e.pauseBlinking();e.killExpressionAnimations();e.resetFaceToNeutral();
815
+ // The traits snap to centre instead of easing there: the new expression owns
816
+ // them from this very frame, and a tween still on its way would be killed
817
+ // halfway through, which is what left the eyes and the hand offset toward the
818
+ // pointer for as long as the expression lasted. The head keeps its eased
819
+ // rotation, the only part of the re-centring big enough to be seen.
820
+ var i=e.getEmojiCenter(),n=i.centerX,r=i.centerY;e.moveHead(n,r,true);
821
+ // The hand does not blink out of existence when an expression interrupts the
822
+ // thinking: it is pulled away over the opening of the animation taking over.
823
+ e.hideThinkingHand(t?.25:0)};
824
+ /**
825
+ * Under reduced motion an expression shows its face without moving it: the parts it swaps (a
826
+ * smiling mouth, closed eyes) stay for as long as the animation would have lasted, then the
827
+ * face is handed back. The head, the eyebrows and the bounces keep still, as the blinking and
828
+ * the following of the pointer do by not running at all.
829
+ */this.holdStillExpression=function(t,i,n){i.forEach((function(t){var i=t[0],n=t[1];return e.svgPartState(i,n)}));e.trackExpression(yr.delayedCall(n/1e3,(function(){i.forEach((function(t){var i=t[0];return e.svgPartState(i)}));e.restoreReadyState(t)})));return new Promise((function(t){return setTimeout(t,n)}))};this.setAgreeAnimation=function(t){var i=1780;if(f())return e.holdStillExpression(t,[["mouth","smile"]],i);var n="expo.out";var r="auto";var s={value:0};
830
+ // head movement
831
+ var o=yr.timeline({defaults:{ease:n,overwrite:r},onComplete:function(){e.restoreReadyState(t)}}).to(s,{value:0,duration:.08,onUpdate:function(){e.rotate(0,s.value)}}).to(s,{value:-100,duration:.24,onUpdate:function(){e.rotate(0,s.value)}}).to(s,{value:50,duration:.18,onUpdate:function(){e.rotate(0,s.value)}}).to(s,{value:-25,duration:.12,onUpdate:function(){e.rotate(0,s.value)}}).to(s,{value:0,duration:.16,onUpdate:function(){e.rotate(0,s.value)}});e.trackExpression(o);
832
+ // eyebrows
833
+ if(e.eyebrowsEl){var a=yr.timeline({defaults:{ease:"expo.out",overwrite:"auto"},onComplete:function(){a.reverse()}}).to(e.eyebrowsEl,{yPercent:-40,duration:.4});e.trackExpression(a)}
834
+ // mouth
835
+ e.svgPartState("mouth","smile");e.trackExpression(yr.timeline({defaults:{ease:n,overwrite:r},onComplete:function(){e.svgPartState("mouth","default")}}).to(e.mouthEl,{scaleY:1.2,duration:.2}).to(e.mouthEl,{scaleY:1,duration:.2}));return new Promise((function(t){return setTimeout(t,i)}))};this.setSmileAnimation=function(t){var i=750;if(f()){return e.holdStillExpression(t,[["mouth","smile"],["eyes","closed"]],i)}var n="expo.out";var r="auto";
836
+ // mouth
837
+ e.svgPartState("mouth","smile");e.trackExpression(yr.timeline({defaults:{ease:n,overwrite:r},onComplete:function(){e.svgPartState("mouth","default")}}).to(e.mouthEl,{scaleY:1,duration:.15}).to(e.mouthEl,{scaleY:.75,duration:.15}).to(e.mouthEl,{scaleY:1,duration:.15}).to(e.mouthEl,{scaleY:.75,duration:.15}).to(e.mouthEl,{scaleY:1,duration:.15}));
838
+ // eyes
839
+ e.svgPartState("eyes","closed");var s=yr.timeline({defaults:{ease:n,duration:.25,overwrite:r},onComplete:function(){s.to(e.eyesEl,{yPercent:0,onComplete:function(){e.svgPartState("eyes")}})}}).to(e.eyesEl,{yPercent:-20}).to(e.eyesEl,{yPercent:10});e.trackExpression(s);
840
+ // eyebrows
841
+ if(e.eyebrowsEl){e.trackExpression(yr.timeline({defaults:{ease:n,overwrite:r}}).to(e.eyebrowsEl,{yPercent:"-=15",duration:.15}).to(e.eyebrowsEl,{yPercent:"+=10",duration:.15}))}
842
+ // emoji
843
+ var o=yr.timeline({defaults:{overwrite:r},onComplete:function(){e.svgPartState("mouth","default");e.restoreReadyState(t)}}).to(e.host,{yPercent:"-=".concat(e.host.getBoundingClientRect().height/10),scaleX:.95,duration:1,ease:"elastic.out"}).to(e.host,{yPercent:"+=".concat(e.host.getBoundingClientRect().height/10),scaleX:1,duration:.75,ease:"expo.out"});e.trackExpression(o);return new Promise((function(t){return setTimeout(t,i)}))};this.setDisagreeAnimation=function(t,i){if(t===void 0){t=0}if(f()){return e.holdStillExpression(i,[["mouth","serious"]],780+t)}var n={value:0};var r=yr.timeline({ease:"power2.inOut",onStart:function(){e.svgPartState("mouth","serious")},onComplete:function(){if(t>0){
844
+ // Tracked like every other step: an expression asked for while the
845
+ // emoji is still frowning has to cancel the pending smile too.
846
+ e.trackExpression(yr.delayedCall(t/1e3,(function(){e.svgPartState("mouth","default");e.restoreReadyState(i)})));return}e.svgPartState("mouth","default");e.restoreReadyState(i)}}).to(n,{value:0,duration:.08,onUpdate:function(){e.rotate(n.value,0)}}).to(n,{value:-100,duration:.24,onUpdate:function(){e.rotate(n.value,0)}}).to(n,{value:50,duration:.18,onUpdate:function(){e.rotate(n.value,0)}}).to(n,{value:-25,duration:.12,onUpdate:function(){e.rotate(n.value,0)}}).to(n,{value:0,duration:.16,onUpdate:function(){e.rotate(n.value,0)}});e.trackExpression(r);return new Promise((function(i){return setTimeout(i,780+t)}))};this.setStartThinkingAnimation=function(t){if(t===void 0){t=.5}var i="expo.inOut";var n=e.handEl instanceof NodeList?null:e.handEl;
847
+ // under reduced motion the hand is simply there, and the eyes do not wander
848
+ var r=f();if(n&&r){yr.set(n,{xPercent:0,yPercent:0,scale:1,rotateZ:0});n.style.visibility="visible"}else if(n){n.style.visibility="visible";
849
+ // Only the percentage channel is animated, because rotate() owns the
850
+ // translation one. The hand therefore lands exactly where the SVG draws it,
851
+ // instead of keeping the offset it was carrying toward the pointer, and its
852
+ // entrance mirrors its exit: the two used to move it on different channels,
853
+ // with an amount scaled by the viewBox, so the leftover of one showed up as a
854
+ // displaced hand at the beginning of the next.
855
+ e.trackExpression(yr.fromTo(n,{scale:0,rotateZ:45,xPercent:-e.handEntryOffset,yPercent:e.handEntryOffset},{xPercent:0,yPercent:0,scale:1,rotateZ:0,ease:i,duration:t,overwrite:"auto"}))}if(!r)e.moveEyesThinkAnimation();e.svgPartState("mouth","serious");e.svgPartState("eyes","focused");
856
+ // Settles even when there is no hand to show: an unresolved promise used to
857
+ // leave every caller awaiting startThinking hanging for good.
858
+ return new Promise((function(i){return setTimeout(i,t*1e3)}))};this.moveEyesThinkAnimation=function(){if(!e.eyesEl||!e.isThinking)return;var t=yr.utils.random(.15,.3,.01,true)();var i="expo.out";
859
+ // 'auto' and not true: the eyes also carry the translation tween of rotate(),
860
+ // and killing that one outright is what left them looking toward the pointer,
861
+ // off centre, for the whole time the emoji was thinking.
862
+ var n={duration:t,ease:i,overwrite:"auto"};var r=5;var s=yr.utils.random(r*-1,r,.1);var o=yr.utils.random(r*-1,r,.1);e.trackExpression(yr.to(e.eyesEl,Object.assign(Object.assign({xPercent:s,yPercent:o},n),{onComplete:function(){
863
+ // Nothing to reset when the state is over: the exit animation, or the
864
+ // take-over of another expression, has already put the eyes back.
865
+ if(!e.isThinking)return;var t=yr.utils.random(.2,.7,.1);e.trackExpression(yr.delayedCall(t,e.moveEyesThinkAnimation))}})))};this.setStopThinkingAnimation=function(t){if(t===void 0){t=.5}
866
+ // under reduced motion the hand and the eyes are put back at once
867
+ var i=f()?0:t;e.hideThinkingHand(i);if(e.eyesEl){e.trackExpression(yr.to(e.eyesEl,{xPercent:0,yPercent:0,ease:"expo.out",duration:i,overwrite:"auto"}))}e.svgPartState("mouth","default");e.svgPartState("eyes","default");return new Promise((function(i){return setTimeout(i,t*1e3)}))};
868
+ // A single, reusable blink sequence. Built once and replayed via restart(),
869
+ // it never grows over time and is fully controlled by play/pause, unlike the
870
+ // previous recursive chain that died permanently the moment isBusy was set.
871
+ this.buildBlinkTimeline=function(){var t=e.queryPart("eyes-default");var i=e.queryPart("eyes-closed");if(!t||!i)return null;var n={ease:"expo.in",duration:.2};var r={ease:"expo.out",duration:.2};return yr.timeline({paused:true,onComplete:e.scheduleBlink}).to(t,Object.assign({scaleY:.5},n)).add((function(){e.svgPartState("eyes","closed")})).fromTo(i,{scaleY:.5},Object.assign({scaleY:1},r)).add((function(){e.svgPartState("eyes","default")})).fromTo(t,{scaleY:.75},Object.assign({scaleY:1},r))};
872
+ // Queues the next blink after a random idle delay. Gated on the blinking
873
+ // intent and isBusy, so it is a no-op while another animation owns the eyes
874
+ // and is simply called again once that animation finishes.
875
+ this.scheduleBlink=function(){var t;
876
+ // The two idle behaviours - blinking and following the pointer - are the ones that
877
+ // never stop on their own, and GSAP does not read a stylesheet: they ask here.
878
+ if(f())return;if(!e.isBlinking||e.isBusy||!e.blinkTimeline)return;(t=e.blinkDelay)===null||t===void 0?void 0:t.kill();e.blinkDelay=yr.delayedCall(yr.utils.random(1,3,.1),(function(){if(!e.isBlinking||e.isBusy||!e.blinkTimeline)return;e.resetEyesToDefault();e.blinkTimeline.restart()}))};this.pauseBlinking=function(){var t;(t=e.blinkDelay)===null||t===void 0?void 0:t.kill();e.blinkDelay=null;if(!e.blinkTimeline)return;e.blinkTimeline.pause(0);
879
+ // pause(0) rewinds the tweens, but the visibility swaps are forward-only
880
+ // callbacks, so make sure the open eyes are the visible state again.
881
+ e.resetEyesToDefault()};this.handleFollowMouse=function(t){
882
+ // Record the pointer even while an expression owns the face. Bailing out before
883
+ // storing it left mouseX/mouseY frozen at wherever the pointer was when the
884
+ // expression started, so restoreFollowMouse resumed on a stale pose and the
885
+ // emoji snapped to a position the pointer had already left, until the next move.
886
+ e.mouseX=t.clientX;e.mouseY=t.clientY;if(!e.isFollowingMouse)return;e.followMouse()};this.followMouse=function(){
887
+ // Reduced motion keeps the face still; stopFollowMouse still recentres it, because
888
+ // that is a state the caller asked for rather than an animation of its own.
889
+ if(f())return;if(e.isFollowingMouse){e.moveHead(e.mouseX,e.mouseY);return}var t=e.getEmojiCenter(),i=t.centerX,n=t.centerY;e.moveHead(i,n)};
890
+ // The one place the pointer becomes a pose: the direction of the point from the centre,
891
+ // with a reach that depends on the viewport, not on the size of the emoji (#800).
892
+ this.moveHead=function(t,i,n){if(n===void 0){n=false}var r=e.getEmojiCenter(),s=r.centerX,o=r.centerY;var a=h(t-s,i-o,l(window.innerWidth,window.innerHeight));e.rotate(a.x,a.y,n)};this.rotate=function(t,i,n){if(n===void 0){n=false}if(!e.cssCustomPropsRead)e.updateCSSCustomProps();var r="power1.out";
893
+ // The traits can be put in place at once instead of eased there: an expression
894
+ // about to take the face over owns them from this very frame, and a tween still
895
+ // on its way would be killed halfway through, leaving them offset toward the
896
+ // pointer for as long as that expression lasts.
897
+ var s=n?0:e.expressionFollowMouseTraitsDuration;var o=function(t,i){return yr.utils.clamp(-t,t,i*t)};e.currentRotateX=o(e.expressionAngleMax,-i);// Y invertito
898
+ e.currentRotateY=o(e.expressionAngleMax,t);e.headOffsetX=o(e.headOffset,t);e.headOffsetY=o(e.headOffset,i);e.eyesOffsetX=o(e.eyesOffset,t);e.eyesOffsetY=o(e.eyesOffset,i);e.mouthOffsetX=o(e.mouthOffset,t);e.mouthOffsetY=o(e.mouthOffset,i);e.handOffsetX=o(e.handOffset,t);e.handOffsetY=o(e.handOffset,i);e.gadgetOffsetX=o(e.gadgetOffset,t);e.gadgetOffsetY=o(e.gadgetOffset,i);e.eyebrowsOffsetX=o(e.eyebrowsOffset,t);e.eyebrowsOffsetY=o(e.eyebrowsOffset,i);e.earsOffsetX=o(e.earsOffset,t);e.earsOffsetY=o(e.earsOffset,i);if(!e.headEl){e.headEl=e.svgPartState("head");e.eyebrowsEl=e.svgPartState("eyebrows");e.earsEl=e.svgPartState("ears");e.eyesEl=e.svgPartState("eyes");e.handEl=e.svgPartState("hand","think");if(e.handEl)e.handEl.style.visibility="hidden";e.mouthEl=e.svgPartState("mouth");e.gadgetEl=e.svgPartState("gadget")}var a={duration:s,ease:r,
899
+ // 'auto' overwrite drops only the x and y left over from the previous pointer
900
+ // update, and leaves alone the percentage channel the expressions animate.
901
+ overwrite:"auto"};
902
+ // Each facial element is tweened independently with its own offset so they
903
+ // move by different amounts, giving the emoji a layered, parallax-like depth.
904
+ yr.to(e.host,{rotateX:e.currentRotateX,rotateY:e.currentRotateY,transformOrigin:"50% 50%",duration:e.expressionFollowMouseHeadDuration,ease:r,
905
+ // A newer pose replaces the previous one: without it a slower tween still
906
+ // running kept writing its own angles once the newer one had finished.
907
+ overwrite:"auto"});if(e.eyesEl){yr.to(e.eyesEl,Object.assign({translateX:e.eyesOffsetX,translateY:e.eyesOffsetY,transformOrigin:xr.eyes},a))}if(e.handEl){yr.to(e.handEl,Object.assign({translateX:e.handOffsetX,translateY:e.handOffsetY,transformOrigin:xr.hand},a))}if(e.headEl){yr.to(e.headEl,Object.assign({translateX:e.headOffsetX,translateY:e.headOffsetY,transformOrigin:xr.head},a))}if(e.mouthEl){yr.to(e.mouthEl,Object.assign({translateX:e.mouthOffsetX,translateY:e.mouthOffsetY,transformOrigin:xr.mouth},a))}if(e.gadgetEl){yr.to(e.gadgetEl,Object.assign({translateX:e.gadgetOffsetX,translateY:e.gadgetOffsetY,transformOrigin:xr.gadget},a))}if(e.eyebrowsEl){yr.to(e.eyebrowsEl,Object.assign({translateX:e.eyebrowsOffsetX,translateY:e.eyebrowsOffsetY,transformOrigin:xr.eyebrows},a))}if(e.earsEl){yr.to(e.earsEl,Object.assign({translateX:e.earsOffsetX,translateY:e.earsOffsetY,transformOrigin:xr.ears},a))}}}
908
+ // A move disconnects the host and connects it again, while componentDidLoad runs
909
+ // once: the pointer listener follows the connection, so a moved emoji still hears it.
910
+ t.prototype.connectedCallback=function(){if(typeof window==="undefined")return;window.addEventListener("mousemove",this.handleFollowMouse)};t.prototype.componentDidLoad=function(){if(typeof window==="undefined")return;this.updateCSSCustomProps();this.checkNameChanged(this.name)};t.prototype.disconnectedCallback=function(){var t,i;if(typeof window==="undefined")return;
911
+ // In the lazy build the instance can hear of a disconnect after the host is back on
912
+ // the page. GSAP causes one: to read the transform of a host that is not drawn (a
913
+ // slotted emoji before its slot is rendered) it appends it to <html> for a moment
914
+ // and puts it back. The emoji is still mounted then, nothing to tear down.
915
+ if(this.host.isConnected)return;window.removeEventListener("mousemove",this.handleFollowMouse);this.isThinking=false;this.isBlinking=false;this.isFollowingMouse=false;this.killExpressionAnimations();(t=this.blinkDelay)===null||t===void 0?void 0:t.kill();(i=this.blinkTimeline)===null||i===void 0?void 0:i.kill();[this.host,this.eyesEl,this.handEl,this.headEl,this.mouthEl,this.gadgetEl,this.eyebrowsEl,this.earsEl].forEach((function(t){return t&&yr.killTweensOf(t)}))};
916
+ /**
917
+ * Emoji agrees, useful for confirm actions.
918
+ */t.prototype.agree=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=this.beginExpression();return[4/*yield*/,this.setAgreeAnimation(t)];case 1:i.sent();return[2/*return*/,Promise.resolve()]}}))}))};
919
+ /**
920
+ * Emoji smiles, useful for confirm actions.
921
+ */t.prototype.smile=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=this.beginExpression();return[4/*yield*/,this.setSmileAnimation(t)];case 1:i.sent();return[2/*return*/,Promise.resolve()]}}))}))};
922
+ /**
923
+ * Emoji disagrees, useful for errors or unwanted results.
924
+ * @param turnHappyDelay how long the mouth stays serious after the head shake, in
925
+ * milliseconds; 0 brings the smile back at once
926
+ */t.prototype.disagree=function(){return __awaiter(this,arguments,void 0,(function(t){var i;if(t===void 0){t=0}return __generator(this,(function(e){switch(e.label){case 0:i=this.beginExpression();return[4/*yield*/,this.setDisagreeAnimation(t,i)];case 1:e.sent();return[2/*return*/,Promise.resolve()]}}))}))};
927
+ /**
928
+ * Emoji starts thinking, useful for pending requests.
929
+ * @param duration the duration of the entrance of the hand, in seconds
930
+ */t.prototype.startThinking=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=.5}return __generator(this,(function(i){switch(i.label){case 0:
931
+ // Thinking is a state, not a one shot expression: asking for it again while it
932
+ // is already running must not replay the entrance, or the second call leaves
933
+ // the hand wherever the tween it interrupted had got to.
934
+ if(this.isThinking)return[2/*return*/,Promise.resolve()];this.beginExpression();this.isThinking=true;return[4/*yield*/,this.setStartThinkingAnimation(t)];case 1:i.sent();return[2/*return*/,Promise.resolve()]}}))}))};
935
+ /**
936
+ * Stops the "thinking" animation after the given duration.
937
+ * @param duration the animation duration, in seconds
938
+ */t.prototype.stopThinking=function(){return __awaiter(this,arguments,void 0,(function(t){var i;if(t===void 0){t=.5}return __generator(this,(function(e){switch(e.label){case 0:
939
+ // Guarded on the thinking state and not on isBusy: another expression may have
940
+ // taken the face over in the meantime, and retracting a hand that is no longer
941
+ // on screen would hand the face back in the middle of that animation.
942
+ if(!this.isThinking)return[2/*return*/,Promise.resolve()];i=this.expressionToken;this.isThinking=false;
943
+ // The wandering eyes and the entrance of the hand stop here, before the exit
944
+ // animation starts, so the two never fight over the same properties.
945
+ this.killExpressionAnimations();this.isBusy=false;this.restoreFollowMouse();return[4/*yield*/,this.setStopThinkingAnimation(t)];case 1:e.sent();if(this.isCurrentExpression(i))this.scheduleBlink();return[2/*return*/,Promise.resolve()]}}))}))};
946
+ /**
947
+ * Eyes start blinking.
948
+ */t.prototype.startBlinking=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isBlinking=true;if(!this.blinkTimeline)this.blinkTimeline=this.buildBlinkTimeline();
949
+ // scheduleBlink is gated on isBusy, so blinking will start now if idle, or
950
+ // automatically resume once the current animation (think, smile, ...) ends.
951
+ this.scheduleBlink();return[2/*return*/,Promise.resolve()]}))}))};
952
+ /**
953
+ * Eyes stop blinking.
954
+ */t.prototype.stopBlinking=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){this.isBlinking=false;(t=this.blinkDelay)===null||t===void 0?void 0:t.kill();this.blinkDelay=null;(i=this.blinkTimeline)===null||i===void 0?void 0:i.pause(0);this.resetEyesToDefault();return[2/*return*/,Promise.resolve()]}))}))};
955
+ /**
956
+ * Stops following mouse with CSS 3D transform.
957
+ */t.prototype.stopFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){
958
+ // the caller's choice: an expression that ends later must not turn the tracking back on,
959
+ // which it did when only the pause below ran
960
+ this.wasFollowingMouse=false;return[2/*return*/,this.pauseFollowMouse()]}))}))};
961
+ /**
962
+ * Starts following mouse with CSS 3D transform.
963
+ */t.prototype.startFollowMouse=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isFollowingMouse)return[2/*return*/,Promise.resolve()];this.isFollowingMouse=true;this.wasFollowingMouse=true;this.followMouse();return[2/*return*/,Promise.resolve()]}))}))};t.prototype.checkNameChanged=function(t,i){
964
+ // a name outside the dictionary is ignored, it used to throw (#825): the emoji goes back to
965
+ // the face it shows, and on load it shows none
966
+ if(!this.isEmojiName(t)){if(t!=null){console.warn('mds-emoji: ignoring the unknown name "'.concat(t,'", use one of: ').concat(Object.keys(this.svgLibrary).join(", ")))}if(this.isEmojiName(i))this.host.setAttribute("name",i);return}
967
+ // Stencil reflects a prop onto its attribute during the next render, but this
968
+ // watcher runs synchronously, before that render. Every per-emoji value lives in
969
+ // a :host([name='...']) rule, so updateSvgDictionary -> updateCSSCustomProps would
970
+ // read the offsets of the emoji we are leaving and cache them for good: set the
971
+ // prop instead of the attribute and the new face animates with the old offsets.
972
+ // Putting the attribute in place first fixes the order; Stencil's own reflection
973
+ // lands on the same value later, so this stays idempotent, and the re-entrant
974
+ // attributeChangedCallback is a no-op because the value did not change.
975
+ if(this.host.getAttribute("name")!==t)this.host.setAttribute("name",t);this.updateSvgDictionary(t)};t.prototype.svgPartState=function(t,i){var e,n,r,s;var o=(n=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.firstElementChild)===null||n===void 0?void 0:n.querySelectorAll("[id^='".concat(t,"-']"));if(!o||o.length===0)return null;if((i===undefined||i==="")&&o){o===null||o===void 0?void 0:o.forEach((function(t){
976
+ // const currentState = el.id.split('-')[1]
977
+ t.style.visibility="hidden";if(t.id.split("-")[1]==="default")t.style.visibility="visible"}));return o}var a=(s=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(t,"-default']"));o===null||o===void 0?void 0:o.forEach((function(t){t.style.visibility="hidden";if(t.id.split("-")[1]===i){a=t}}));if(!a)return null;a.style.visibility="visible";return a};t.prototype.render=function(){return e(n,{key:"dc15371285f90b34af92372a4bb3f6a8e36abc35"})};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return t}());kr.style=jr()}}}));