@maggioli-design-system/magma 2.13.0 → 2.15.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.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +50 -0
- package/agents/assets.md +1 -1
- package/agents/install.md +6 -1
- package/agents/mcp.md +14 -5
- package/agents/patterns/app-shell.md +18 -14
- package/agents/patterns/confirm-action.md +138 -15
- package/agents/patterns/empty-state.md +116 -15
- package/agents/patterns/error-recovery.md +151 -19
- package/agents/patterns/item-list.md +12 -11
- package/agents/patterns/labels-and-values.md +1 -0
- package/agents/patterns/list-with-filters.md +99 -9
- package/agents/patterns/loading.md +141 -19
- package/agents/patterns/message-placement.md +355 -39
- package/agents/patterns/page-header.md +7 -6
- package/agents/patterns/previews/actions/banner.dark.webp +0 -0
- package/agents/patterns/previews/actions/banner.light.webp +0 -0
- package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
- package/agents/patterns/previews/actions/confirm.light.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
- package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
- package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
- package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
- package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/primary.dark.webp +0 -0
- package/agents/patterns/previews/actions/primary.light.webp +0 -0
- package/agents/patterns/previews/actions/remove.dark.webp +0 -0
- package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
- package/agents/patterns/previews/actions/secondary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- package/agents/patterns/previews/actions/toast.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +2 -2
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +2 -2
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.html +2 -2
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +2 -2
- package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.html +1 -1
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.html +1 -1
- package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.html +2 -2
- package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.html +1 -1
- package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.html +1 -1
- package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.html +2 -2
- package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.html +1 -1
- package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.html +2 -2
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/one-line.html +1 -1
- package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.html +3 -3
- package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.html +4 -4
- package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.html +4 -4
- package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.html +1 -1
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.html +2 -2
- package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.html +4 -4
- package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.html +2 -2
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.html +4 -4
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.html +1 -1
- package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/data-of-a-contact.html +1 -1
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.html +2 -2
- package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.html +4 -4
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +8 -8
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.html +4 -4
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +7 -7
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -2
- package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
- package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-the-control.html +3 -3
- package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.html +1 -1
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.html +2 -2
- package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.html +1 -1
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.html +1 -1
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.html +2 -2
- package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.html +2 -2
- package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.html +2 -2
- package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-page.html +3 -3
- package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-part.html +4 -4
- package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.html +3 -3
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.html +2 -2
- package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-later.html +2 -2
- package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.html +3 -3
- package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.html +2 -2
- package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-taken.html +1 -1
- package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.html +1 -1
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +4 -4
- package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.html +1 -1
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.html +3 -3
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.html +1 -1
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.html +3 -3
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.html +3 -3
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.html +2 -2
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.html +1 -1
- package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.html +1 -1
- package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
- package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
- package/agents/patterns/previews/page-header/own-profile.html +1 -1
- package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.html +1 -1
- package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
- package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/page-header/requests-of-an-office.html +1 -1
- package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.html +3 -3
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.html +8 -8
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.html +3 -3
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.html +8 -8
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.html +7 -7
- package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.light.webp +0 -0
- package/agents/patterns/previews/titles/group.dark.webp +0 -0
- package/agents/patterns/previews/titles/page.dark.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.dark.webp +0 -0
- package/agents/patterns/previews/titles/section.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/field.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.light.webp +0 -0
- package/agents/patterns/previews/widths/page.dark.webp +0 -0
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/record-detail.md +179 -15
- package/agents/patterns.md +4 -3
- package/agents/reporting.md +5 -1
- package/dist/cjs/{floating-controller-B21tqid0.js → floating-controller-CelMdjyj.js} +1 -1
- package/dist/cjs/{index-B99V_UhC.js → index-CGlQW3pX.js} +16 -6
- package/dist/cjs/{index-CFEj7WVH.js → index-CWkxqm6T.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-6jikg4jE.js → locale-q_KROc3I.js} +10 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
- package/dist/cjs/mds-badge.cjs.entry.js +3 -3
- package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +27 -9
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +34 -13
- package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +4 -4
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +13 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-range-value.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-range.cjs.entry.js +30 -9
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +9 -9
- package/dist/cjs/mds-input.cjs.entry.js +9 -9
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +4 -4
- package/dist/cjs/mds-link.cjs.entry.js +32 -11
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +5 -5
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +17 -7
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -7
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +5 -5
- package/dist/cjs/mds-table.cjs.entry.js +5 -5
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +4 -4
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -9
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +3 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{navigation-Dxea9mKE.js → navigation-B2UAUx-z.js} +14 -0
- package/dist/cjs/{preference-DTUJPGHS.js → preference-C4QmB-PB.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/locale.js +9 -1
- package/dist/collection/common/navigation.js +13 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +2 -2
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +3 -3
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +2 -2
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +44 -44
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +2 -2
- package/dist/collection/components/mds-badge/mds-badge.css +53 -53
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +13 -13
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +2 -2
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +2 -2
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +2 -2
- package/dist/collection/components/mds-book/mds-book.css +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
- package/dist/collection/components/mds-button/AGENTS.md +3 -1
- package/dist/collection/components/mds-button/documentation.json +33 -4
- package/dist/collection/components/mds-button/examples.md +15 -1
- package/dist/collection/components/mds-button/mds-button.css +16 -16
- package/dist/collection/components/mds-button/mds-button.js +48 -8
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +5 -4
- package/dist/collection/components/mds-button-dropdown/documentation.json +31 -5
- package/dist/collection/components/mds-button-dropdown/examples.md +12 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +6 -6
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +30 -1
- package/dist/collection/components/mds-button-dropdown/mistakes.md +16 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +12 -12
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +2 -2
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +2 -2
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +2 -2
- package/dist/collection/components/mds-chip/mds-chip.css +103 -103
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +2 -2
- package/dist/collection/components/mds-details/mds-details.css +4 -4
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +9 -9
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +2 -2
- package/dist/collection/components/mds-file/mds-file.css +24 -24
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +2 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +118 -118
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +4 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +2 -2
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +2 -2
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +6 -2
- package/dist/collection/components/mds-img/AGENTS.md +6 -4
- package/dist/collection/components/mds-img/documentation.json +48 -6
- package/dist/collection/components/mds-img/examples.md +15 -1
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +37 -6
- package/dist/collection/components/mds-img/meta/storybook.js +7 -0
- package/dist/collection/components/mds-img/meta/types.js +2 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +2 -2
- package/dist/collection/components/mds-input/mds-input.css +12 -12
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +2 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +9 -9
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +9 -9
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +6 -6
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-field/documentation.json +33 -5
- package/dist/collection/components/mds-input-field/examples.md +18 -0
- package/dist/collection/components/mds-input-field/mds-input-field.css +39 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +21 -1
- package/dist/collection/components/mds-input-field/mistakes.md +21 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +2 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +3 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +112 -4
- package/dist/collection/components/mds-input-range/mds-input-range.js +35 -5
- package/dist/collection/components/mds-input-range-value/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range-value/documentation.json +2 -2
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +7 -7
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +20 -18
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +2 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +2 -2
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +2 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +2 -2
- package/dist/collection/components/mds-label/mds-label.css +158 -158
- package/dist/collection/components/mds-link/AGENTS.md +3 -1
- package/dist/collection/components/mds-link/documentation.json +33 -4
- package/dist/collection/components/mds-link/examples.md +12 -1
- package/dist/collection/components/mds-link/mds-link.css +1 -1
- package/dist/collection/components/mds-link/mds-link.js +47 -7
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +2 -2
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +2 -2
- package/dist/collection/components/mds-note/mds-note.css +136 -136
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +2 -2
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +2 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +6 -6
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +2 -2
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +2 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +2 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +2 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +10 -10
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -3
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +2 -2
- package/dist/collection/components/mds-progress/mds-progress.css +13 -13
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +38 -38
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +2 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +5 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +2 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +2 -2
- package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +2 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +8 -6
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +30 -4
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +31 -2
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +2 -2
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +2 -2
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +2 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +2 -2
- package/dist/collection/components/mds-table/mds-table.css +7 -7
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +2 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +2 -2
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +2 -2
- package/dist/collection/components/mds-text/mds-text.css +5 -5
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +2 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +2 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +2 -2
- package/dist/collection/components/mds-tooltip/documentation.json +4 -4
- package/dist/collection/components/mds-tooltip/examples.md +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +13 -6
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +2 -2
- package/dist/collection/components/mds-tree/mds-tree.css +6 -6
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +2 -2
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +2 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +2 -2
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/fixtures/states.js +35 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-book.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range-value.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/{magma-components/p-kW8cjKIa.js → components/p-2RxibNiL.js} +1 -1
- package/dist/components/p-8D5tJYCb.js +1 -0
- package/dist/components/p-B0YEia-F.js +1 -0
- package/dist/components/{p-BmlDGlcB.js → p-B3t-yAT6.js} +2 -2
- package/dist/components/p-B410qrmd.js +1 -0
- package/dist/components/{p-G8GFHw3L.js → p-B7AEyQbN.js} +1 -1
- package/dist/components/{p-CSw6DbKp.js → p-B8rSg0wS.js} +1 -1
- package/dist/components/{p-DxNrlomi.js → p-BNDlJl3j.js} +1 -1
- package/dist/components/p-BPnc1LgR.js +1 -0
- package/dist/components/{p-AWCYh8Xe.js → p-BQJgPeCf.js} +1 -1
- package/dist/components/p-BWCuKjFs.js +1 -0
- package/dist/components/{p-BFZN4zJ9.js → p-BZ0wEKOS.js} +1 -1
- package/dist/components/p-BgdT5eTT.js +1 -0
- package/dist/components/p-Bi6fFi_w.js +1 -0
- package/dist/components/{p-CUT9aFzz.js → p-BiOKp8qm.js} +1 -1
- package/dist/components/p-BpgvTr8e.js +8 -0
- package/dist/components/{p-BG1fjwnd.js → p-BvJpPiuN.js} +1 -1
- package/dist/components/{p-D7C-gjL6.js → p-BwGJqBgv.js} +1 -1
- package/dist/components/p-C2bmqdQ1.js +1 -0
- package/dist/components/p-CSEkugVv.js +1 -0
- package/dist/components/{p-BNl6YWNN.js → p-CbHtKU6H.js} +1 -1
- package/dist/components/{p-oHBGZ2Av.js → p-CbyfhFKK.js} +1 -1
- package/dist/components/p-ChCkQpXr.js +3 -0
- package/dist/components/{p-BiJ4xa4V.js → p-CkFk04x6.js} +1 -1
- package/dist/components/{p-WFNxKo1V.js → p-Cu7JR-NZ.js} +1 -1
- package/dist/components/{p-Cjy1i94z.js → p-DP8t5EZu.js} +1 -1
- package/dist/components/{p-B-GgEAg7.js → p-DWvmuGIQ.js} +1 -1
- package/dist/components/p-DXksxnFe.js +1 -0
- package/dist/components/{p-C0m6B_kt.js → p-DnyQyLeI.js} +1 -1
- package/dist/components/{p-DvccsLwr.js → p-DumA_mZd.js} +1 -1
- package/dist/components/p-Pwyk_BKp.js +1 -0
- package/dist/components/{p-Cs8RIbsQ.js → p-Y1ObmZyL.js} +1 -1
- package/dist/components/{p-CDcB9Zdz.js → p-cIfE1RIC.js} +1 -1
- package/dist/components/p-hOV1Raf4.js +1 -0
- package/dist/components/{p-kS9VRIWa.js → p-r1P_e7WG.js} +1 -1
- package/dist/components/{p-aZlZ1XB9.js → p-tI3q9MMi.js} +1 -1
- package/dist/documentation.json +212 -23
- package/dist/esm/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm/{index-CPibDZjX.js → index-BQhu9Pch.js} +16 -6
- package/dist/esm/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +10 -2
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +3 -3
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +3 -3
- package/dist/esm/mds-badge.entry.js +3 -3
- package/dist/esm/mds-banner_3.entry.js +5 -5
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-book.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +27 -9
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +34 -13
- package/dist/esm/mds-calendar_2.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +4 -4
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +4 -4
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +13 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +8 -8
- package/dist/esm/mds-input-date.entry.js +5 -5
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +4 -4
- package/dist/esm/mds-input-range-value.entry.js +2 -2
- package/dist/esm/mds-input-range.entry.js +30 -9
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +6 -6
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +9 -9
- package/dist/esm/mds-input.entry.js +9 -9
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +4 -4
- package/dist/esm/mds-link.entry.js +32 -11
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +5 -5
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +4 -4
- package/dist/esm/mds-pref-consumption.entry.js +4 -4
- package/dist/esm/mds-pref-contrast.entry.js +4 -4
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +5 -5
- package/dist/esm/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +4 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +6 -6
- package/dist/esm/mds-push-notification-item.entry.js +6 -6
- package/dist/esm/mds-push-notification.entry.js +5 -5
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +5 -5
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +17 -7
- package/dist/esm/mds-stepper-bar.entry.js +9 -7
- package/dist/esm/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +5 -5
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +5 -5
- package/dist/esm/mds-table.entry.js +5 -5
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +4 -4
- package/dist/esm/mds-tooltip.entry.js +16 -9
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +3 -3
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +14 -1
- package/dist/esm/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/esm-es5/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm-es5/{index-CPibDZjX.js → index-BQhu9Pch.js} +3 -3
- package/dist/esm-es5/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +28 -21
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-book.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +8 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +19 -9
- package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +11 -11
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +9 -7
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +7 -7
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +31 -24
- package/dist/esm-es5/mds-input-select.entry.js +2 -2
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +2 -2
- package/dist/esm-es5/mds-input.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-link.entry.js +16 -7
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +5 -5
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +6 -6
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +11 -8
- package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +3 -3
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +2 -2
- package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +3 -3
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +3 -3
- package/dist/esm-es5/mds-toast-region.entry.js +2 -2
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +13 -7
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +10 -1
- package/dist/esm-es5/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/hydrate/index.js +341 -189
- package/dist/hydrate/index.mjs +341 -189
- package/dist/lint/core/data.d.ts +9 -1
- package/dist/lint/core/data.js +6 -2
- package/dist/lint/core/patterns.d.ts +123 -2
- package/dist/lint/core/patterns.js +423 -19
- package/dist/lint/mcp/tools.json +21 -3
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-e63c1ba4.entry.js → p-04092a3b.entry.js} +1 -1
- package/dist/magma-components/{p-b1fe6261.entry.js → p-0415056d.entry.js} +1 -1
- package/dist/magma-components/{p-37470fef.system.entry.js → p-0464a230.system.entry.js} +3 -3
- package/dist/magma-components/p-05098fa3.entry.js +1 -0
- package/dist/magma-components/{p-825713bc.system.entry.js → p-07141f37.system.entry.js} +2 -2
- package/dist/magma-components/{p-82041de2.entry.js → p-07e0564b.entry.js} +1 -1
- package/dist/magma-components/{p-df70af5f.system.entry.js → p-07e3a6ae.system.entry.js} +34 -34
- package/dist/magma-components/{p-8193fd71.entry.js → p-096464f6.entry.js} +1 -1
- package/dist/magma-components/p-0b9dc520.system.entry.js +9 -0
- package/dist/magma-components/{p-f6f6d914.system.entry.js → p-0ba59e33.system.entry.js} +3 -3
- package/dist/magma-components/{p-d4452e41.entry.js → p-0d7848dc.entry.js} +1 -1
- package/dist/magma-components/{p-b8e5411d.system.entry.js → p-0e67ab54.system.entry.js} +1 -1
- package/dist/magma-components/{p-f01e7a7e.system.entry.js → p-0ec9ef12.system.entry.js} +1 -1
- package/dist/magma-components/p-0ef36f08.entry.js +1 -0
- package/dist/magma-components/{p-0d7370d8.system.entry.js → p-12785058.system.entry.js} +1 -1
- package/dist/magma-components/{p-58bbada6.system.entry.js → p-13498dce.system.entry.js} +1 -1
- package/dist/magma-components/{p-a0389821.entry.js → p-13a777ff.entry.js} +1 -1
- package/dist/magma-components/{p-2a5223df.system.entry.js → p-165b9ee9.system.entry.js} +3 -3
- package/dist/magma-components/p-16c3109f.entry.js +8 -0
- package/dist/magma-components/{p-038fc1db.entry.js → p-1a0773d4.entry.js} +1 -1
- package/dist/magma-components/{p-483480f9.system.entry.js → p-1ab76b57.system.entry.js} +3 -3
- package/dist/magma-components/{p-e4db9ad2.entry.js → p-1e686eb7.entry.js} +1 -1
- package/dist/magma-components/{p-97e55f7e.system.entry.js → p-1e938a6f.system.entry.js} +2 -2
- package/dist/magma-components/{p-ae258eca.system.entry.js → p-1ee28c75.system.entry.js} +2 -2
- package/dist/magma-components/{p-5c0f0517.entry.js → p-1eedb159.entry.js} +1 -1
- package/dist/magma-components/{p-11312b0c.entry.js → p-1efd5b03.entry.js} +1 -1
- package/dist/magma-components/{p-13e94501.entry.js → p-20e9860a.entry.js} +1 -1
- package/dist/magma-components/{p-2dd32b3f.system.entry.js → p-2102e6ed.system.entry.js} +3 -3
- package/dist/magma-components/p-2155889e.entry.js +1 -0
- package/dist/magma-components/{p-f4e8f507.system.entry.js → p-22de70f3.system.entry.js} +2 -2
- package/dist/magma-components/p-257ae152.entry.js +1 -0
- package/dist/magma-components/{p-5d8cb375.system.entry.js → p-26695384.system.entry.js} +1 -1
- package/dist/magma-components/{p-c902d468.entry.js → p-26e737f5.entry.js} +1 -1
- package/dist/magma-components/{p-d0b45a54.entry.js → p-271fa94b.entry.js} +1 -1
- package/dist/magma-components/{p-1934151b.entry.js → p-27c42c5b.entry.js} +1 -1
- package/dist/magma-components/{p-a171c096.system.entry.js → p-29eab5de.system.entry.js} +1 -1
- package/dist/magma-components/{p-082b787b.entry.js → p-2a367163.entry.js} +1 -1
- package/dist/magma-components/{p-b95f648f.system.entry.js → p-2adc8da6.system.entry.js} +2 -2
- package/dist/magma-components/p-2b0bb30a.entry.js +1 -0
- package/dist/magma-components/{p-3341ac50.entry.js → p-2cb3092c.entry.js} +1 -1
- package/dist/magma-components/{p-ca5867f5.system.entry.js → p-2cd10aef.system.entry.js} +9 -9
- package/dist/magma-components/{p-91406af1.system.entry.js → p-2e1620ba.system.entry.js} +5 -5
- package/dist/magma-components/p-2eab8fb0.entry.js +1 -0
- package/dist/magma-components/{p-e009c632.entry.js → p-31503852.entry.js} +1 -1
- package/dist/magma-components/{p-efcd8a1d.entry.js → p-3401be31.entry.js} +1 -1
- package/dist/magma-components/{p-ccb23b6a.entry.js → p-35261a76.entry.js} +1 -1
- package/dist/magma-components/p-3578ec8d.entry.js +1 -0
- package/dist/magma-components/{p-a4aaf1c6.system.entry.js → p-381b00f2.system.entry.js} +3 -3
- package/dist/magma-components/p-38b33f35.entry.js +1 -0
- package/dist/magma-components/{p-47712df6.entry.js → p-3936265d.entry.js} +1 -1
- package/dist/magma-components/{p-2dc9499c.system.entry.js → p-394560df.system.entry.js} +2 -2
- package/dist/magma-components/{p-d0dfa8b5.system.entry.js → p-39866e42.system.entry.js} +2 -2
- package/dist/magma-components/{p-6c6ec154.system.entry.js → p-3b1cb8ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-dd4b04ed.system.entry.js → p-3d1f9f06.system.entry.js} +2 -2
- package/dist/magma-components/p-3f9b9e40.entry.js +1 -0
- package/dist/magma-components/{p-56715bbc.system.entry.js → p-401c7cff.system.entry.js} +2 -2
- package/dist/magma-components/{p-ad12fa89.system.entry.js → p-40dc42b3.system.entry.js} +2 -2
- package/dist/magma-components/{p-bd539dbc.entry.js → p-41740349.entry.js} +1 -1
- package/dist/magma-components/p-479731de.entry.js +1 -0
- package/dist/magma-components/{p-9c0d1025.system.entry.js → p-4822b172.system.entry.js} +1 -1
- package/dist/magma-components/{p-03896fbd.entry.js → p-48db6553.entry.js} +1 -1
- package/dist/magma-components/{p-ada93f68.entry.js → p-49918013.entry.js} +1 -1
- package/dist/magma-components/p-4b5444f1.entry.js +1 -0
- package/dist/magma-components/{p-420c5af4.entry.js → p-4b7249eb.entry.js} +1 -1
- package/dist/magma-components/{p-f0d93b22.system.entry.js → p-4cc6c06d.system.entry.js} +3 -3
- package/dist/magma-components/{p-7e87807d.entry.js → p-4e68ec48.entry.js} +1 -1
- package/dist/magma-components/p-4f0c913b.system.entry.js +23 -0
- package/dist/magma-components/{p-95a29fd2.entry.js → p-4f80b9be.entry.js} +1 -1
- package/dist/magma-components/{p-6471c0a4.system.entry.js → p-54dfb648.system.entry.js} +2 -2
- package/dist/magma-components/p-5519483d.entry.js +1 -0
- package/dist/magma-components/p-56565acb.system.entry.js +10 -0
- package/dist/magma-components/{p-3d60f528.system.entry.js → p-5845ebd7.system.entry.js} +2 -2
- package/dist/magma-components/{p-333c0ae5.entry.js → p-58a75841.entry.js} +1 -1
- package/dist/magma-components/{p-ecf29ffa.entry.js → p-59cf0c3d.entry.js} +1 -1
- package/dist/magma-components/{p-c8430552.system.entry.js → p-5c3a54bf.system.entry.js} +2 -2
- package/dist/magma-components/p-5c82a88a.entry.js +1 -0
- package/dist/magma-components/{p-a9c7fb3f.entry.js → p-5cf09df3.entry.js} +3 -3
- package/dist/magma-components/{p-756cd3dc.entry.js → p-5ec955a7.entry.js} +1 -1
- package/dist/magma-components/{p-16651356.entry.js → p-5f17dc76.entry.js} +1 -1
- package/dist/magma-components/p-5fd09fb5.system.entry.js +29 -0
- package/dist/magma-components/{p-b4856322.entry.js → p-5fe812ee.entry.js} +1 -1
- package/dist/magma-components/{p-03441f69.entry.js → p-618f8dc9.entry.js} +1 -1
- package/dist/magma-components/{p-34183ce3.entry.js → p-61fb9286.entry.js} +1 -1
- package/dist/magma-components/{p-6443e40f.entry.js → p-63a53b4d.entry.js} +1 -1
- package/dist/magma-components/{p-52b73a95.system.entry.js → p-6436bfa8.system.entry.js} +2 -2
- package/dist/magma-components/{p-73f22a7d.entry.js → p-648d77bc.entry.js} +1 -1
- package/dist/magma-components/p-65acd2e8.entry.js +1 -0
- package/dist/magma-components/{p-5b5d57b0.system.entry.js → p-65ed7a0f.system.entry.js} +7 -5
- package/dist/magma-components/p-67e30158.entry.js +1 -0
- package/dist/magma-components/{p-68d83e18.system.entry.js → p-6864cc54.system.entry.js} +1 -1
- package/dist/magma-components/{p-aa601247.system.entry.js → p-69afe21e.system.entry.js} +2 -2
- package/dist/magma-components/{p-1686b36a.entry.js → p-6ac46e2f.entry.js} +1 -1
- package/dist/magma-components/{p-09675899.entry.js → p-6b84c7a7.entry.js} +1 -1
- package/dist/magma-components/p-6ba8b2d6.entry.js +1 -0
- package/dist/magma-components/{p-8928d9b5.system.entry.js → p-6c68fbe9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c67655fa.entry.js → p-6cca1d61.entry.js} +1 -1
- package/dist/magma-components/{p-ea93721d.entry.js → p-6e5b15c5.entry.js} +1 -1
- package/dist/magma-components/{p-303173d5.system.entry.js → p-6e8b3c36.system.entry.js} +3 -3
- package/dist/magma-components/{p-bd4ad8c7.entry.js → p-6f7d6a3e.entry.js} +1 -1
- package/dist/magma-components/{p-06ba1f71.system.entry.js → p-70a065dc.system.entry.js} +2 -2
- package/dist/magma-components/{p-4564e7ad.entry.js → p-70a83504.entry.js} +1 -1
- package/dist/magma-components/p-71d171a8.entry.js +1 -0
- package/dist/magma-components/{p-5c4aed7e.entry.js → p-71f650fe.entry.js} +1 -1
- package/dist/magma-components/{p-7cfa2415.system.entry.js → p-73ddade8.system.entry.js} +1 -1
- package/dist/magma-components/p-73efbc7a.entry.js +1 -0
- package/dist/magma-components/p-76fb49a1.system.entry.js +11 -0
- package/dist/magma-components/{p-6d7e8240.system.entry.js → p-795215a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-1db5ab39.entry.js → p-79f36661.entry.js} +1 -1
- package/dist/magma-components/{p-3ccc1c10.entry.js → p-79f6c73e.entry.js} +1 -1
- package/dist/magma-components/{p-2e5684a0.system.entry.js → p-7cb4260c.system.entry.js} +2 -2
- package/dist/magma-components/{p-a33a235e.entry.js → p-7cec80c9.entry.js} +1 -1
- package/dist/magma-components/{p-d1751ff6.entry.js → p-7e717a2b.entry.js} +1 -1
- package/dist/magma-components/{p-c2a883b0.system.entry.js → p-8329caf9.system.entry.js} +1 -1
- package/dist/magma-components/p-85389823.system.entry.js +82 -0
- package/dist/magma-components/{p-16a7e26a.system.entry.js → p-86050b72.system.entry.js} +1 -1
- package/dist/magma-components/{p-4bb45501.entry.js → p-88a7d026.entry.js} +1 -1
- package/dist/magma-components/p-89d47be8.system.entry.js +7 -0
- package/dist/magma-components/p-89eb7b19.entry.js +1 -0
- package/dist/magma-components/{p-03a2f4e7.system.entry.js → p-8a3626c7.system.entry.js} +1 -1
- package/dist/magma-components/{p-9e3c1c28.system.entry.js → p-8e195423.system.entry.js} +5 -5
- package/dist/magma-components/{p-522968d1.system.entry.js → p-907d8111.system.entry.js} +1 -1
- package/dist/magma-components/{p-e66db408.entry.js → p-907dd338.entry.js} +1 -1
- package/dist/magma-components/p-9282b1eb.system.entry.js +60 -0
- package/dist/magma-components/p-92a8391c.entry.js +1 -0
- package/dist/magma-components/{p-01d6d5a5.system.entry.js → p-94b46388.system.entry.js} +2 -2
- package/dist/magma-components/{p-b7d90310.entry.js → p-95f07748.entry.js} +1 -1
- package/dist/magma-components/p-97d431f3.system.entry.js +1 -0
- package/dist/magma-components/{p-ca0f3549.entry.js → p-98048238.entry.js} +1 -1
- package/dist/magma-components/{p-b47c444e.system.entry.js → p-9905ebcf.system.entry.js} +2 -2
- package/dist/magma-components/{p-aa86018e.system.entry.js → p-990b3146.system.entry.js} +2 -2
- package/dist/magma-components/p-9b10fdcb.system.entry.js +27 -0
- package/dist/magma-components/{p-8e471af5.entry.js → p-9b4daea1.entry.js} +1 -1
- package/dist/magma-components/{p-11543f44.system.entry.js → p-9c617430.system.entry.js} +4 -4
- package/dist/magma-components/p-9f58805c.system.entry.js +13 -0
- package/dist/magma-components/{p-c3cfbc71.system.entry.js → p-9f653320.system.entry.js} +2 -2
- package/dist/magma-components/{p-1d101083.system.entry.js → p-9fa41a55.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9d100e5.system.entry.js → p-9fac94ff.system.entry.js} +3 -3
- package/dist/{components/p-CtEHhdv4.js → magma-components/p-B0SxTwF4.js} +1 -1
- package/dist/magma-components/p-B6OZspN1.system.js +5 -0
- package/dist/magma-components/p-BQhu9Pch.js +3 -0
- package/dist/magma-components/{p-EhfbAdzV.system.js → p-BfmjlcJL.system.js} +3 -3
- package/dist/magma-components/{p-B6f9M1Bj.system.js → p-BhMNGZjh.system.js} +13 -4
- package/dist/magma-components/{p-BAW1DAbr.system.js → p-CJcKfFM1.system.js} +2 -2
- package/dist/magma-components/{p-H8sVzFTL.js → p-CV9cS5S1.js} +1 -1
- package/dist/magma-components/{p-DGfoeZMw.system.js → p-C_jcGVti.system.js} +2 -2
- package/dist/magma-components/{p-BXkIXROP.js → p-DCJuMTY7.js} +1 -1
- package/dist/magma-components/{p-BkfGbFba.js → p-DDMAJPbm.js} +2 -2
- package/dist/magma-components/{p-CyPLJo0p.system.js → p-DJ5-T3cU.system.js} +1 -1
- package/dist/magma-components/{p-CzZWts7L.system.js → p-DQfleYtv.system.js} +23 -16
- package/dist/magma-components/{p-D5Yayq7E.system.js → p-Djd8g56b.system.js} +1 -1
- package/dist/magma-components/p-Pwyk_BKp.js +1 -0
- package/dist/magma-components/{p-98a3802b.system.entry.js → p-a0b8c130.system.entry.js} +1 -1
- package/dist/magma-components/{p-03285704.entry.js → p-a1085d6b.entry.js} +1 -1
- package/dist/magma-components/{p-73a6ee3b.system.entry.js → p-a4dcc327.system.entry.js} +1 -1
- package/dist/magma-components/{p-a190c325.system.entry.js → p-a6e82aa7.system.entry.js} +2 -2
- package/dist/magma-components/p-a738797b.system.entry.js +120 -0
- package/dist/magma-components/{p-0c8dd132.entry.js → p-a754bd25.entry.js} +1 -1
- package/dist/magma-components/p-a77cbe57.system.entry.js +55 -0
- package/dist/magma-components/{p-778a46fa.entry.js → p-a7cc7459.entry.js} +1 -1
- package/dist/magma-components/p-a90c4a11.entry.js +1 -0
- package/dist/magma-components/{p-bca909d9.entry.js → p-aa65dfb2.entry.js} +1 -1
- package/dist/magma-components/p-ad438b7b.system.entry.js +33 -0
- package/dist/magma-components/{p-6de384d0.system.entry.js → p-adecc08e.system.entry.js} +1 -1
- package/dist/magma-components/{p-009e4359.system.entry.js → p-b27af8ba.system.entry.js} +111 -111
- package/dist/magma-components/{p-cc5518b1.entry.js → p-b2b0f738.entry.js} +1 -1
- package/dist/magma-components/{p-913123e6.entry.js → p-b3aca1fa.entry.js} +1 -1
- package/dist/magma-components/{p-d7813f9b.system.entry.js → p-b440fd7b.system.entry.js} +1 -1
- package/dist/magma-components/{p-3d0578a7.entry.js → p-b4afd3c7.entry.js} +1 -1
- package/dist/magma-components/p-b51ed8f6.entry.js +1 -0
- package/dist/magma-components/{p-70cf2c28.entry.js → p-b6239109.entry.js} +1 -1
- package/dist/magma-components/{p-1e5d4854.system.entry.js → p-b7a16ade.system.entry.js} +2 -2
- package/dist/magma-components/p-b98025cb.system.entry.js +34 -0
- package/dist/magma-components/p-ba6bb2f1.entry.js +1 -0
- package/dist/magma-components/p-ba7f5d01.system.entry.js +1 -0
- package/dist/magma-components/{p-c2d9cf4e.system.entry.js → p-bb3dcd13.system.entry.js} +1 -1
- package/dist/magma-components/p-bb7b5f5e.entry.js +1 -0
- package/dist/magma-components/p-bc0fe932.system.entry.js +7 -0
- package/dist/magma-components/p-be4ff85e.entry.js +1 -0
- package/dist/magma-components/{p-e497f0db.entry.js → p-bfdfba19.entry.js} +1 -1
- package/dist/magma-components/{p-af1a93c6.system.entry.js → p-c021e9a3.system.entry.js} +2 -2
- package/dist/magma-components/{p-cfb153b8.entry.js → p-c082daa4.entry.js} +1 -1
- package/dist/magma-components/{p-1784d5fb.entry.js → p-c28c1c09.entry.js} +1 -1
- package/dist/magma-components/{p-275d7968.system.entry.js → p-c31ba98a.system.entry.js} +14 -14
- package/dist/magma-components/p-c4b498d4.entry.js +1 -0
- package/dist/magma-components/{p-e160e4e1.entry.js → p-c5321c72.entry.js} +1 -1
- package/dist/magma-components/{p-ede31d27.system.entry.js → p-c878eef8.system.entry.js} +2 -2
- package/dist/magma-components/{p-555bd3f8.system.entry.js → p-c8822563.system.entry.js} +2 -2
- package/dist/magma-components/p-cc51ab16.system.entry.js +16 -0
- package/dist/magma-components/{p-f2e5a2c7.system.entry.js → p-cd396f69.system.entry.js} +1 -1
- package/dist/magma-components/{p-a00805cd.system.entry.js → p-d05073ed.system.entry.js} +6 -6
- package/dist/magma-components/{p-270e9afa.entry.js → p-d34cc848.entry.js} +1 -1
- package/dist/magma-components/{p-3fb983e9.system.entry.js → p-d4ca0c40.system.entry.js} +1 -1
- package/dist/magma-components/{p-757c3420.entry.js → p-d52948de.entry.js} +1 -1
- package/dist/magma-components/{p-c5b7f820.system.entry.js → p-d579a012.system.entry.js} +1 -1
- package/dist/magma-components/{p-14f60718.system.entry.js → p-d5bef373.system.entry.js} +1 -1
- package/dist/magma-components/{p-b18b0088.system.entry.js → p-d666a86c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f5c82548.system.entry.js → p-d6934fc0.system.entry.js} +1 -1
- package/dist/magma-components/{p-0760e8a4.entry.js → p-d69ddd73.entry.js} +1 -1
- package/dist/magma-components/{p-eb4f76d8.system.entry.js → p-d7c5f9ec.system.entry.js} +7 -7
- package/dist/magma-components/p-d8ac0d1f.system.entry.js +16 -0
- package/dist/magma-components/{p-9be80c34.entry.js → p-d8c068be.entry.js} +1 -1
- package/dist/magma-components/{p-2289423c.system.entry.js → p-d9edc7f8.system.entry.js} +1 -1
- package/dist/magma-components/p-da4915d0.entry.js +1 -0
- package/dist/magma-components/{p-73b0b35f.system.entry.js → p-dc99e9a9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c0c69807.system.entry.js → p-dd621963.system.entry.js} +1 -1
- package/dist/magma-components/{p-11ee7089.system.entry.js → p-dfc31d2e.system.entry.js} +2 -2
- package/dist/magma-components/p-e5b22a99.system.entry.js +48 -0
- package/dist/magma-components/p-e6500bfe.system.entry.js +29 -0
- package/dist/magma-components/{p-62e42a62.entry.js → p-e88a43ac.entry.js} +1 -1
- package/dist/magma-components/{p-3b41f929.entry.js → p-e9f821a0.entry.js} +1 -1
- package/dist/magma-components/{p-ac401f1a.entry.js → p-ec1b38c7.entry.js} +1 -1
- package/dist/magma-components/{p-ee65f0eb.system.entry.js → p-eec2ae5c.system.entry.js} +2 -2
- package/dist/magma-components/{p-78cced59.entry.js → p-efb4357e.entry.js} +1 -1
- package/dist/magma-components/{p-586878a2.system.entry.js → p-f02972ba.system.entry.js} +4 -4
- package/dist/magma-components/{p-ddc31c50.entry.js → p-f07777b0.entry.js} +1 -1
- package/dist/magma-components/{p-478bbfdb.entry.js → p-f0fd6414.entry.js} +1 -1
- package/dist/magma-components/p-f1d263fa.system.entry.js +137 -0
- package/dist/magma-components/{p-cfcb8bb5.entry.js → p-f43ee21d.entry.js} +1 -1
- package/dist/magma-components/{p-e84361ee.system.entry.js → p-f5ea4c19.system.entry.js} +12 -6
- package/dist/magma-components/{p-4e4dd1c1.system.entry.js → p-f6256d26.system.entry.js} +2 -2
- package/dist/magma-components/{p-8aa6524e.entry.js → p-f62ea4bc.entry.js} +1 -1
- package/dist/magma-components/{p-18421a84.entry.js → p-f6638f03.entry.js} +1 -1
- package/dist/magma-components/{p-41829c15.system.entry.js → p-f895695a.system.entry.js} +2 -2
- package/dist/magma-components/{p-a075c069.entry.js → p-fa8482c0.entry.js} +1 -1
- package/dist/magma-components/{p-857e893e.system.entry.js → p-fafb8e7b.system.entry.js} +3 -3
- package/dist/magma-components/{p-d1281855.system.entry.js → p-fb3b659c.system.entry.js} +5 -5
- package/dist/magma-components/{p-1f756317.entry.js → p-fc167181.entry.js} +1 -1
- package/dist/magma-components/{p-33172d6f.system.entry.js → p-fc7b9e5b.system.entry.js} +11 -8
- package/dist/magma-components/p-fc9a8862.entry.js +1 -0
- package/dist/magma-components/{p-9b00051f.system.entry.js → p-fe6100ff.system.entry.js} +1 -1
- package/dist/magma-components/{p-d173ae2f.system.entry.js → p-fe64c49c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f3041712.entry.js → p-fe9a8ca1.entry.js} +1 -1
- package/dist/mcp/checks.js +81 -33
- package/dist/mcp/cli.js +8 -2
- package/dist/mcp/context.js +21 -0
- package/dist/mcp/guides.js +2 -1
- package/dist/mcp/patterns.js +19 -9
- package/dist/mcp/render.js +4 -4
- package/dist/mcp/root.js +63 -0
- package/dist/mcp/tools.json +21 -3
- package/dist/stats.json +2952 -2666
- package/dist/types/common/navigation.d.ts +12 -2
- package/dist/types/components/mds-button/mds-button.d.ts +13 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -0
- package/dist/types/components/mds-img/mds-img.d.ts +13 -3
- package/dist/types/components/mds-img/meta/storybook.d.ts +11 -0
- package/dist/types/components/mds-img/meta/types.d.ts +2 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +9 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-link/mds-link.d.ts +13 -0
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +0 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +5 -3
- package/dist/types/components.d.ts +62 -8
- package/dist/types/fixtures/states.d.ts +33 -0
- package/package.json +9 -8
- package/dist/components/p-B3npFzUR.js +0 -1
- package/dist/components/p-BD9VWE7b.js +0 -1
- package/dist/components/p-Bg11_7lt.js +0 -1
- package/dist/components/p-C589Hkfn.js +0 -1
- package/dist/components/p-C878c9Nu.js +0 -1
- package/dist/components/p-CS8s4gRV.js +0 -1
- package/dist/components/p-CfCw1XZP.js +0 -1
- package/dist/components/p-Cs80Zm2b.js +0 -8
- package/dist/components/p-Cty6fegI.js +0 -1
- package/dist/components/p-DKYN6Ikh.js +0 -1
- package/dist/components/p-MjWyZlga.js +0 -1
- package/dist/components/p-To9IeLHs.js +0 -1
- package/dist/components/p-VoGfNJRY.js +0 -1
- package/dist/components/p-g2_CekDc.js +0 -3
- package/dist/magma-components/p-09537867.entry.js +0 -1
- package/dist/magma-components/p-0a914567.entry.js +0 -1
- package/dist/magma-components/p-0e7bb90b.system.entry.js +0 -127
- package/dist/magma-components/p-10a68a4d.system.entry.js +0 -7
- package/dist/magma-components/p-193b58d0.entry.js +0 -1
- package/dist/magma-components/p-19f3b524.system.entry.js +0 -55
- package/dist/magma-components/p-2100343f.entry.js +0 -1
- package/dist/magma-components/p-211b2675.system.entry.js +0 -1
- package/dist/magma-components/p-26aad538.entry.js +0 -1
- package/dist/magma-components/p-28ecae1e.system.entry.js +0 -16
- package/dist/magma-components/p-2aa3e73a.system.entry.js +0 -13
- package/dist/magma-components/p-2c64ec7e.entry.js +0 -1
- package/dist/magma-components/p-35a77756.entry.js +0 -1
- package/dist/magma-components/p-37172440.entry.js +0 -1
- package/dist/magma-components/p-3d45d7a7.entry.js +0 -1
- package/dist/magma-components/p-4082973c.system.entry.js +0 -30
- package/dist/magma-components/p-4242100c.entry.js +0 -1
- package/dist/magma-components/p-430239ca.entry.js +0 -8
- package/dist/magma-components/p-478e6930.entry.js +0 -1
- package/dist/magma-components/p-4e431466.entry.js +0 -1
- package/dist/magma-components/p-533bb401.system.entry.js +0 -60
- package/dist/magma-components/p-6619b3c0.system.entry.js +0 -34
- package/dist/magma-components/p-67fa6fd7.entry.js +0 -1
- package/dist/magma-components/p-6fb17347.system.entry.js +0 -1
- package/dist/magma-components/p-6fdf3b37.entry.js +0 -1
- package/dist/magma-components/p-73596a07.entry.js +0 -1
- package/dist/magma-components/p-73c0b53e.system.entry.js +0 -82
- package/dist/magma-components/p-7caf244b.system.entry.js +0 -7
- package/dist/magma-components/p-851010c6.system.entry.js +0 -25
- package/dist/magma-components/p-8acbf50a.entry.js +0 -1
- package/dist/magma-components/p-96ece2cc.system.entry.js +0 -27
- package/dist/magma-components/p-96f66b8f.entry.js +0 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +0 -5
- package/dist/magma-components/p-CPibDZjX.js +0 -3
- package/dist/magma-components/p-To9IeLHs.js +0 -1
- package/dist/magma-components/p-a025b35b.entry.js +0 -1
- package/dist/magma-components/p-a02819e3.entry.js +0 -1
- package/dist/magma-components/p-a0764f01.entry.js +0 -1
- package/dist/magma-components/p-ab920e0b.entry.js +0 -1
- package/dist/magma-components/p-ad6b5fc1.system.entry.js +0 -16
- package/dist/magma-components/p-b0406c51.entry.js +0 -1
- package/dist/magma-components/p-ba148b89.system.entry.js +0 -23
- package/dist/magma-components/p-bbbf8b89.system.entry.js +0 -29
- package/dist/magma-components/p-c6cab2cb.entry.js +0 -1
- package/dist/magma-components/p-c6f56934.entry.js +0 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +0 -113
- package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
- package/dist/magma-components/p-d32ca6ce.entry.js +0 -1
- package/dist/magma-components/p-d5dec64d.entry.js +0 -1
- package/dist/magma-components/p-ee247029.system.entry.js +0 -9
- package/dist/magma-components/p-f3f1da06.system.entry.js +0 -39
- package/dist/magma-components/p-f9d2316a.entry.js +0 -1
- package/dist/magma-components/p-fe4ae251.entry.js +0 -1
- package/dist/magma-components/p-ffcfa9e3.system.entry.js +0 -11
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-BfmjlcJL.system.js","./p-B-nayZ3E.system.js","./p-C_jcGVti.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
2
|
/**
|
|
3
3
|
* Where the emoji looks, as the two signed fractions `rotate()` takes, in -1..1.
|
|
4
4
|
*
|
|
@@ -22,13 +22,13 @@ var h=function(t,i,e){var n=Math.hypot(t,i);if(n===0||!(e>0))return{x:0,y:0};var
|
|
|
22
22
|
* Subject to the terms at https://gsap.com/standard-license
|
|
23
23
|
* @author: Jack Doyle, jack@greensock.com
|
|
24
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,
|
|
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,j=M/4,b=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"},E=function t(i){return typeof i==="object"},B=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
26
|
// note: IE10 has ArrayBuffer, but NOT ArrayBuffer.isView().
|
|
27
|
-
S=Array.isArray,
|
|
27
|
+
S=Array.isArray,H=/random\([^)]+\)/g,I=/,\s*/g,z=/(?:-?\.?\d|\.)+/gi,
|
|
28
28
|
//only numbers (including negatives and decimals) but NOT relative values.
|
|
29
29
|
L=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,
|
|
30
30
|
//finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8.
|
|
31
|
-
|
|
31
|
+
V=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,D=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,
|
|
32
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
33
|
A=/[+-]=-?[.\d]+/,X=/[^,'"\[\]\s]+/gi,
|
|
34
34
|
// previously /[#\-+.]*\b[a-z\d\-=+%.]+/gi but didn't catch special characters.
|
|
@@ -38,19 +38,19 @@ r=mt.length;while(r--&&!mt[r].targetTest(e)){}n=mt[r]}r=i.length;while(r--){i[r]
|
|
|
38
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
39
|
yt=function t(i){return Math.round(i*1e5)/1e5||0},Mt=function t(i){return Math.round(i*1e7)/1e7||0},
|
|
40
40
|
// increased precision mostly for timing values.
|
|
41
|
-
|
|
41
|
+
jt=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},bt=function t(i,e){
|
|
42
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
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])}}},Et=function t(i,e){for(var n in e){i[n]=e[n]}return i},Bt=function t(i,e){for(var n in e){n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(i[n]=E(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(B(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},
|
|
45
|
-
},
|
|
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])}}},Et=function t(i,e){for(var n in e){i[n]=e[n]}return i},Bt=function t(i,e){for(var n in e){n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(i[n]=E(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(B(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
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
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
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},
|
|
49
|
+
e._dirty=1;e.totalDuration();e=e.parent}return i},Vt=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))},Dt=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
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
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
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||
|
|
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
54
|
}return i},
|
|
55
55
|
/*
|
|
56
56
|
_totalTimeToTime = (clampedTotalTime, duration, repeat, repeatDelay, yoyo) => {
|
|
@@ -65,11 +65,11 @@ var n=i._dp;if(n&&n.smoothChildTiming&&i._ts){i._start=Mt(n._time-(i._ts>0?e/i._
|
|
|
65
65
|
Wt=function t(i,e){var n;if(e._time||!e._dur&&e._initted||e._start<i._time&&(e._dur||!e.add)){
|
|
66
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
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(
|
|
68
|
+
if(zt(i,e)._dp&&i._initted&&i._time>=i._dur&&i._ts){
|
|
69
69
|
//in case any of the ancestors had completed but should now be enabled...
|
|
70
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
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&&
|
|
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
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
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
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
|
|
@@ -83,14 +83,14 @@ s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime
|
|
|
83
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
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
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&&
|
|
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&&Vt(i,e,n,true);i._onUpdate&&!n&&Ei(i,"onUpdate");u&&i._repeat&&!n&&i.parent&&Ei(i,"onRepeat");if((e>=i._tDur||e<0)&&i.ratio===o){o&&It(i,1);if(!n&&!g){Ei(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
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
88
|
a,u,f;if(_(e)&&(isNaN(e)||e in r)){
|
|
89
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
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
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
92
|
a=u.vars.defaults||{};u=B(u.vars.inherit)&&u.parent}o.immediateRender=B(a.immediateRender);i<2?o.runBackwards=1:o.startAt=e[s-1];// "from" vars
|
|
93
|
-
}return new
|
|
93
|
+
}return new je(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
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
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&&E(i)&&"length"in i&&(!e&&!i.length||i.length-1 in i&&E(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
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.
|
|
@@ -99,22 +99,22 @@ mi=function t(i,e,n){return C&&!e&&C.selector?C.selector(i):_(i)&&!n&&(W||!qi())
|
|
|
99
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
100
|
gi=function t(i){if(P(i)){return i}var e=E(i)?i:{each:i},
|
|
101
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
|
|
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,j,b;if(!d){b=e.grid==="auto"?0:(e.grid||[1,w])[1];if(!b){M=-w;while(M<(M=a[b++].getBoundingClientRect().left)&&b<c){}b<c&&b--}d=o[c]=[];m=u?Math.min(b,c)*h-.5:r%b;v=b===w?0:u?c*l/b-.5:r/b|0;M=0;j=w;for(y=0;y<c;y++){p=y%b-m;g=v-(y/b|0);d[y]=C=!f?x(p*p+g*g):Math.abs(f==="y"?g:p);C>M&&(M=C);C<j&&(j=C)}r==="random"&&pi(d);d.max=M-j;d.min=j;d.v=c=(parseFloat(e.amount)||parseFloat(e.each)*(b>c?c-1:!f?Math.max(b,c/b):f==="y"?c/b:b)||0)*(r==="edges"?-1:1);d.b=c<0?s-c:s;d.u=fi(e.amount||e.each)||0;//unit
|
|
103
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
104
|
}},Ci=function t(i){
|
|
105
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
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
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
108
|
}},wi=function t(i,e){var n=S(i),r,s;if(!n&&E(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)}},
|
|
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)}},ji=function t(i,e){return function(t){return i(parseFloat(t))+(e||fi(t))}},bi=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
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(
|
|
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
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(
|
|
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
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=Et(S(i)?[]:{},i)}if(!h){for(u in e){he.call(a,i,u,"get",e[u])}s=function t(e){return Ee(e,a)||(o?i.p:i)}}}return ai(n,s)},Zi=function t(i,e,n){
|
|
115
115
|
//used for nextLabel() and previousLabel()
|
|
116
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},Ei=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},Bi=function t(i){
|
|
117
|
+
a&&(C=a);h=u?s.apply(f,u):s.call(f);C=o;return h},Bi=function t(i){It(i);i.scrollTrigger&&i.scrollTrigger.kill(!!g);i.progress()<1&&Ei(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
118
|
if(T()||i.headless){
|
|
119
119
|
// edge case: some build tools may pass in a null/undefined value
|
|
120
120
|
var e=i.name,n=P(i),r=e&&!n&&i.init?function(){this._props=[]}:i,
|
|
@@ -128,24 +128,24 @@ lt[r.prop=e]=r;if(i.targetTest){mt.push(r);at[e]=1}e=(e==="css"?"CSS":e.charAt(0
|
|
|
128
128
|
* COLORS
|
|
129
129
|
* --------------------------------------------------------------------------------------
|
|
130
130
|
*/
|
|
131
|
-
Si=255,
|
|
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
132
|
// possible future idea to replace the hard-coded color name values - put this in the ticker.wake() where we set the _doc:
|
|
133
133
|
// let ctx = _doc.createElement("canvas").getContext("2d");
|
|
134
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
|
-
|
|
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
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(
|
|
137
|
+
i=i.substr(0,i.length-1)}if(Hi[i]){r=Hi[i]}else if(i.charAt(0)==="#"){if(i.length<6){
|
|
138
138
|
//for shorthand like #9F0 or #9F0F (could have alpha)
|
|
139
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
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(
|
|
142
|
-
r[0]=
|
|
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
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(
|
|
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
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(
|
|
146
|
+
var e=[],n=[],r=-1;i.split(Di).forEach((function(t){var i=t.match(V)||[];e.push.apply(e,i);n.push(r+=i.length+1)}));e.c=n;return e},Vi=function t(i,e,n){var r="",s=(i+r).match(Di),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(Di,"1").split(V);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(Di);l=f.length-1;for(;a<l;a++){r+=f[a]+s[a]}}return r+f[l]},Di=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",
|
|
147
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
|
|
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;Di.lastIndex=0;if(Di.test(e)){n=Ai.test(e);i[1]=Vi(i[1],n);i[0]=Vi(i[0],n,Li(i[1]));// make sure the order of numbers/colors match with the END value.
|
|
149
149
|
return true}},
|
|
150
150
|
/*
|
|
151
151
|
* --------------------------------------------------------------------------------------
|
|
@@ -184,12 +184,12 @@ u.config=function(e,n){return t(i,e,n)};return u},se=function t(i,e){if(e===void
|
|
|
184
184
|
// return p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p;
|
|
185
185
|
// };
|
|
186
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*
|
|
187
|
+
ee("Circ",(function(t){return-(x(1-t*t)-1)}));ee("Sine",(function(t){return t===1?1:-k(t*j)+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
188
|
/*
|
|
189
189
|
* --------------------------------------------------------------------------------------
|
|
190
190
|
* CACHE
|
|
191
191
|
* --------------------------------------------------------------------------------------
|
|
192
|
-
*/var oe=function t(i,e){this.id=
|
|
192
|
+
*/var oe=function t(i,e){this.id=b++;i._gsap=this;this.target=i;this.harness=e;this.get=e?e.get:Ct;this.set=e?e.getSetter:_e};
|
|
193
193
|
/*
|
|
194
194
|
* --------------------------------------------------------------------------------------
|
|
195
195
|
* ANIMATION
|
|
@@ -233,10 +233,10 @@ n&&n();P(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=s);t(r);e.then=s};if(e._initted&
|
|
|
233
233
|
* -------------------------------------------------
|
|
234
234
|
* TIMELINE
|
|
235
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=B(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
|
|
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
|
|
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=B(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 je(i,e,si(this,n),1);return this};e.call=function t(i,e,n){return $t(this,je.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 je(i,n,si(this,s));return this};e.staggerFrom=function t(i,e,n,r,s,o,a){n.runBackwards=1;Rt(n).immediateRender=B(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=B(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
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,
|
|
239
|
+
u=this._zTime<0!==i<0&&(this._initted||!o),f,h,l,c,d,m,v,p,C,w,M,j;this!==N&&a>s&&i>=0&&(a=s);if(a!==this._tTime||n||u){if(r!==this._time&&o){
|
|
240
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
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
242
|
(i||!e)&&(this._zTime=i)}if(this._repeat){
|
|
@@ -246,7 +246,7 @@ if(a===s){
|
|
|
246
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
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
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;
|
|
249
|
+
if(M&&c&1){f=o-f;j=1}
|
|
250
250
|
/*
|
|
251
251
|
make sure children at the end/beginning of the timeline are rendered properly. If, for example,
|
|
252
252
|
a 3-second long timeline rendered at 2.9 seconds previously, and now renders at 3.2 seconds (which
|
|
@@ -254,13 +254,13 @@ if(M&&c&1){f=o-f;b=1}
|
|
|
254
254
|
could be a callback or a short tween that's at 2.95 or 3 seconds in which wouldn't render. So
|
|
255
255
|
we need to push the timeline to the end (and/or beginning depending on its yoyo value). Also we must
|
|
256
256
|
ensure that zero-duration tweens at the very beginning or end of the Timeline work.
|
|
257
|
-
*/if(c!==w&&!this._lock){var
|
|
258
|
-
this._lock=1;this.render(r||(
|
|
259
|
-
!e&&this.parent&&Ei(this,"onRepeat");if(this.vars.repeatRefresh&&!
|
|
257
|
+
*/if(c!==w&&!this._lock){var b=M&&w&1,x=b===(M&&c&1);c<w&&(b=!b);r=b?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||(j?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&&Ei(this,"onRepeat");if(this.vars.repeatRefresh&&!j){this.invalidate()._lock=1;w=c;// otherwise, the onStart() may fire on the 2nd iteration.
|
|
260
260
|
}if(r&&r!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){
|
|
261
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
262
|
return this}o=this._dur;// in case the duration changed in the onRepeat
|
|
263
|
-
s=this._tDur;if(x){this._lock=2;r=
|
|
263
|
+
s=this._tDur;if(x){this._lock=2;r=b?o:-1e-4;this.render(r,true);this.vars.repeatRefresh&&!j&&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
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
265
|
}if(!r&&a&&o&&!e&&!w){Ei(this,"onStart");if(this._tTime!==a){
|
|
266
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.
|
|
@@ -281,17 +281,17 @@ break}}h=l}}if(v&&!e){this.pause();v.render(f>=r?0:-y)._zTime=f>=r?1:-1;if(this.
|
|
|
281
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
282
|
Nt(this);return this.render(i,e,n)}}this._onUpdate&&!e&&Ei(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
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)&&
|
|
285
|
-
if(!e&&!(i<0&&!r)&&(a||r||!s)){Ei(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=
|
|
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
|
|
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)){Ei(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=je.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 je){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
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=
|
|
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=je.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
289
|
// a number is interpreted as a global time. If the animation spans
|
|
290
|
-
a;while(s){if(s instanceof
|
|
290
|
+
a;while(s){if(s instanceof je){if(bt(s._targets,r)&&(o?(!de||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())){
|
|
291
291
|
// note: if this is for overwriting, it should only be for tweens that aren't paused and are initted.
|
|
292
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=
|
|
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
|
|
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=je.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
295
|
r._dirty&&r.totalDuration();//could change the tween._startTime, so make sure the animation's cache is clean before analyzing it.
|
|
296
296
|
a=r._start;if(a>s&&n._sort&&r._ts&&!n._lock){
|
|
297
297
|
//in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence
|
|
@@ -302,13 +302,13 @@ e-=a;if(!u&&!n._dp||u&&u.smoothChildTiming){n._start+=Mt(a/n._ts);n._time-=a;n._
|
|
|
302
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
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
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(
|
|
305
|
+
n=C[0];r=C[1]}c=n.match(D)||[];while(l=D.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
306
|
u._pt={_next:u._pt,p:v||h===1?v:",",
|
|
307
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)==="="?
|
|
308
|
+
s:p,c:m.charAt(1)==="="?jt(p,m)-p:parseFloat(m)-p,m:d&&d<4?Math.round:0};f=D.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
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
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)?
|
|
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)?be:f?ke:xe,v;if(_(r)){if(~r.indexOf("random(")){r=_i(r)}if(r.charAt(1)==="="){v=jt(c,r)+(fi(c)||0);if(v||v===0){
|
|
312
312
|
// to avoid isNaN, like if someone passes in a value like "!= whatever"
|
|
313
313
|
r=v}}}if(!h||c!==r||me){if(!isNaN(c*r)&&r!==""){
|
|
314
314
|
// fun fact: any number multiplied by "" is evaluated as the number 0!
|
|
@@ -317,14 +317,14 @@ v=new Se(this._pt,i,e,+c||0,r-(c||0),typeof l==="boolean"?Oe:Pe,0,d);f&&(v.fp=f)
|
|
|
317
317
|
le=function t(i,e,n,r,s){P(i)&&(i=we(i,s,e,n,r));if(!E(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
318
|
h=a._props.length;while(h--){f[a._props[h]]=u}}}return a},de,
|
|
319
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,
|
|
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,j=i.parent,b=j&&j.data==="nested"?j.vars.targets:M,x=i._overwrite==="auto"&&!p,k=i.timeline,F=r.easeReverse||l,_,P,O,Z,E,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
321
|
if(i._from)i.ratio=1;if(!k||c&&!r.stagger){
|
|
322
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;
|
|
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
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
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
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){
|
|
327
|
+
C._lazy=0}if(o){It(i._startAt=je.set(M,Ot({data:"isStart",overwrite:false,parent:j,immediateRender:true,lazy:!C&&B(u),startAt:null,delay:0,onUpdate:f&&function(){return Ei(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
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
329
|
i._startAt._sat=i;// used in globalTime(). _sat stands for _startAtTween
|
|
330
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.
|
|
@@ -338,12 +338,12 @@ O=Ot({overwrite:false,data:"isFromStart",
|
|
|
338
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
339
|
lazy:a&&!C&&B(u),immediateRender:a,
|
|
340
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:
|
|
342
|
-
|
|
341
|
+
stagger:0,parent:j},_);z&&(O[Y.prop]=z);// in case someone does something like .from(..., {css:{}})
|
|
342
|
+
It(i._startAt=je.set(M,O));i._startAt._dp=0;// don't allow it to get put back into root timeline!
|
|
343
343
|
i._startAt._sat=i;// used in globalTime()
|
|
344
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&&B(u)||u&&!m;for(P=0;P<M.length;P++){E=M[P];R=E._gsap||pt(M)[P]._gsap;i._ptLookup[P]=
|
|
346
|
-
|
|
345
|
+
}else if(!e){return}}}i._pt=i._ptCache=0;u=m&&B(u)||u&&!m;for(P=0;P<M.length;P++){E=M[P];R=E._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=b===M?P:b.indexOf(E);if(Y&&(S=new Y).init(E,z||_,i,I,b)!==false){i._pt=Z=new Se(i._pt,E,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,E,b))){S.priority&&(T=1)}else{H[O]=Z=he.call(i,E,O,"get",_[O],I,b,0,r.stringFilter)}}}i._op&&i._op[P]&&i.kill(E,i._op[P]);if(x&&i._pt){de=i;N.killTweensOf(E,H,i.globalTime(e));// make sure the overwriting doesn't overwrite THIS tween!!!
|
|
347
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
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
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.
|
|
@@ -367,18 +367,18 @@ e.forEach((function(t,i){return a.push({t:i/(e.length-1)*100,v:t,e:s})}))}else{f
|
|
|
367
367
|
* --------------------------------------------------------------------------------------
|
|
368
368
|
* TWEEN
|
|
369
369
|
* --------------------------------------------------------------------------------------
|
|
370
|
-
*/var
|
|
370
|
+
*/var je=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,j,b,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
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
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(E(h)){
|
|
373
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(
|
|
375
|
-
|
|
374
|
+
for(k in h){if(~ye.indexOf(k)){P||(P={});P[k]=h[k]}}}for(j=0;j<x;j++){b=Tt(e,Me);b.stagger=0;Z&&(b.easeReverse=Z);P&&Et(b,P);F=w[j];//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
|
+
b.duration=+we(a,c(s),j,F,w);b.delay=(+we(u,c(s),j,F,w)||0)-s._delay;if(!h&&x===1&&b.delay){
|
|
376
376
|
// if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat.
|
|
377
|
-
s._delay=u=
|
|
378
|
-
}else if(d){Rt(Ot(M.vars.defaults,{ease:"none"}));M._ease=ie(d.ease||e.ease||"none");var T=0,
|
|
379
|
-
}else{
|
|
377
|
+
s._delay=u=b.delay;s._start+=u;b.delay=0}M.to(F,b,_?_(j,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{b={};for(k in d){k==="ease"||k==="easeEach"||Ce(k,d[k],b,d.easeEach)}for(k in b){H=b[k].sort((function(t,i){return t.t-i.t}));T=0;for(j=0;j<H.length;j++){I=H[j];z={ease:I.e,duration:(I.t-(j?H[j-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
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)&&B(f)&&
|
|
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)&&B(f)&&Dt(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
382
|
s.render(Math.max(0,-u)||0);//in case delay is negative
|
|
383
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
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)
|
|
@@ -403,8 +403,8 @@ return this}if(o!==this._dur){
|
|
|
403
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
404
|
this._lazy=0}if(!r&&u&&!e&&!d){Ei(this,"onStart");if(this._tTime!==u){
|
|
405
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&&
|
|
407
|
-
Ei(this,"onUpdate")}this._repeat&&l!==d&&this.vars.onRepeat&&!e&&this.parent&&Ei(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&
|
|
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&&Vt(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
|
+
Ei(this,"onUpdate")}this._repeat&&l!==d&&this.vars.onRepeat&&!e&&this.parent&&Ei(this,"onRepeat");if((u===this._tDur||!u)&&this._tTime===u){a&&!this._onUpdate&&Vt(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
408
|
if(!e&&!(a&&!r)&&(u||r||m)){
|
|
409
409
|
// if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();
|
|
410
410
|
Ei(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){
|
|
@@ -424,9 +424,9 @@ qt(this,0);this.parent||St(this._dp,this,"_first","_last",this._dp._sort?"_start
|
|
|
424
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
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 Bi(this)}u=this._op=this._op||[];if(e!=="all"){
|
|
426
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){
|
|
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&&Bi(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
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(
|
|
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(je.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
430
|
// _forEachName("to,from,fromTo,set,call,add,addLabel,addPause", name => {
|
|
431
431
|
// Tween.prototype[name] = function() {
|
|
432
432
|
// let tl = new Timeline();
|
|
@@ -434,43 +434,43 @@ return this};i.to=function t(e,n){return new i(e,n,arguments[2])};i.from=functio
|
|
|
434
434
|
// }
|
|
435
435
|
// });
|
|
436
436
|
//for backward compatibility. Leverage the timeline calls.
|
|
437
|
-
wt("staggerTo,staggerFrom,staggerFromTo",(function(t){
|
|
437
|
+
wt("staggerTo,staggerFrom,staggerFromTo",(function(t){je[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
438
|
/*
|
|
439
439
|
* --------------------------------------------------------------------------------------
|
|
440
440
|
* PROPTWEEN
|
|
441
441
|
* --------------------------------------------------------------------------------------
|
|
442
|
-
*/var
|
|
442
|
+
*/var be=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:be},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
443
|
//b = beginning string
|
|
444
444
|
r=e.b}else if(i===1&&e.e){
|
|
445
445
|
//e = ending string
|
|
446
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
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)},Ee=function t(i,e){var n=e._pt;while(n){n.r(i,n.d);n=n._next}},Be=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){
|
|
448
|
+
}e.set(e.t,e.p,r,e)},Ee=function t(i,e){var n=e._pt;while(n){n.r(i,n.d);n=n._next}},Be=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
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||
|
|
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||be;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
451
|
this.set=Re;this.m=i;this.mt=n;//modifier target
|
|
452
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=
|
|
454
|
-
r&&(o=1);if(r!==n[s]){n[s]=r;a=1}}if(a){t.revert();o&&e.push(t)}}));
|
|
455
|
-
this.isReverted=false;this.id=
|
|
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=je;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,Ve=0,De=function t(i){return(Ie[i]||ze).map((function(t){return t()}))},Ae=function t(){var i=Date.now(),e=[];if(i-Le>2){De("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)}}));De("matchMediaRevert");e.forEach((function(t){return t.onMatch(t,(function(i){return t.add(null,i)}))}));Le=i;De("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=Ve++;// 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
456
|
t&&this.add(t)}var i=t.prototype;i.add=function t(i,e,n){
|
|
457
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
458
|
// if (name && _isFunction(name.revert)) {
|
|
459
459
|
// this.data.push(name);
|
|
460
460
|
// return (name._ctx = this);
|
|
461
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
|
|
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 je&&!(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
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
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
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
466
|
e=n.data.length;while(e--){
|
|
467
467
|
// make sure we loop backwards so that, for example, SplitTexts that were created later on the same element get reverted first
|
|
468
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
|
|
469
|
+
}}else{!(r instanceof je)&&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
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
|
-
|
|
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
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){E(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){
|
|
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
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
475
|
/*
|
|
476
476
|
* --------------------------------------------------------------------------------------
|
|
@@ -480,7 +480,7 @@ i.revert=function t(i){this.kill(i||{})};i.kill=function t(i){this.contexts.forE
|
|
|
480
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]&<[t].get||s)(i,t,e,n))}:o((lt[e]&<[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
481
|
// in case it's an alias, like "rotate" for "rotation".
|
|
482
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&&Ee(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 Bt(v,i||{})},config:function t(i){return Bt(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,E(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=B(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
|
|
483
|
+
n._time=n._tTime=N._time;r=N._first;while(r){s=r._next;if(e||!(!r._dur&&r instanceof je&&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:bi,getUnit:fi,clamp:hi,splitColor:zi,toArray:mi,selector:vi,mapRange:Pi,pipe:Mi,unitize:ji,interpolate:Oi,shuffle:pi},install:K,effects:ct,ticker:Ni,updateRoot:ue.updateRoot,plugins:lt,globalTimeline:N,core:{PropTween:Se,globals:et,Tween:je,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]=je[t]}));Ni.add(ue.updateRoot);Ti=Ne.to({},{duration:0});// ---- EXTRA PLUGINS --------------------------------------------------------
|
|
484
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
485
|
// is a plugin
|
|
486
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,
|
|
@@ -490,7 +490,7 @@ n=i}if(e){i={};for(r in n){i[r]=e(n[r])}n=i}We(t,n)}}}};//register core plugins
|
|
|
490
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
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
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
|
-
|
|
493
|
+
je.version=ue.version=Ge.version="3.15.1";J=1;T()&&qi();
|
|
494
494
|
/*!
|
|
495
495
|
* CSSPlugin 3.15.1
|
|
496
496
|
* https://gsap.com
|
|
@@ -502,7 +502,7 @@ be.version=ue.version=Ge.version="3.15.1";J=1;T()&&qi();
|
|
|
502
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
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
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)},
|
|
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)},jn=function t(i,e,n){return i.style[e]=n},bn=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
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])},En=function t(i){if(i.translate){i.removeProperty("translate");i.removeProperty("scale");i.removeProperty("rotate")}},Bn=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
507
|
// stored like this: property, isNotCSS, value
|
|
508
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){
|
|
@@ -515,13 +515,13 @@ r.zOrigin=0;r.renderTransform()}r.uncache=1;// if it's a startAt that's being re
|
|
|
515
515
|
e&&i.style&&i.nodeType&&e.split(",").forEach((function(t){return n.save(t)}));// make sure it's a DOM node too.
|
|
516
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
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,
|
|
519
|
-
},
|
|
520
|
-
Rn=!!
|
|
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
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},
|
|
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},Vn=function t(i,e){var n=e.length;while(n--){if(i.hasAttribute(e[n])){return i.getAttribute(e[n])}}},Dn=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
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:+
|
|
524
|
+
return e&&!e.width&&!e.x&&!e.y?{x:+Vn(i,["x","cx","x1"])||0,y:+Vn(i,["y","cy","y1"])||0,width:0,height:0}:e},An=function t(i){return!!(i.getCTM&&(!i.parentNode||i.ownerSVGElement)&&Dn(i))},
|
|
525
525
|
//reports if the element is an SVG on which getBBox() actually works
|
|
526
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
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)
|
|
@@ -534,15 +534,15 @@ Wn=function t(i,e,n,r){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").leng
|
|
|
534
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
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
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||
|
|
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
538
|
}}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},Gn=function t(i,e,n,r){
|
|
539
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
540
|
if(!n||n==="none"){
|
|
541
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=
|
|
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,
|
|
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,j;a.b=n;a.e=r;n+="";// ensure values are strings
|
|
544
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(
|
|
545
|
+
n=h[0];r=h[1];c=n.match(V)||[];j=r.match(V)||[];if(j.length){while(l=V.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=jt(d,g)+M);C=parseFloat(g);y=g.substr((C+"").length);u=V.lastIndex-y.length;if(!y){
|
|
546
546
|
//if something like "perspective:300" is passed in and we must add a unit to the end
|
|
547
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
548
|
a._pt={_next:a._pt,p:w||f===1?w:",",
|
|
@@ -632,41 +632,41 @@ u=r.display;r.display="block";o=i.parentNode;if(!o||!i.offsetParent&&!i.getBound
|
|
|
632
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
633
|
f=1;//flag
|
|
634
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,
|
|
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,j,b,x,k;if(!n){j=Dn(i);y=j.x+(~w[0].indexOf("%")?y/100*j.width:y);M=j.y+(~(w[1]||w[0]).indexOf("%")?M/100*j.height:M);// if (!("xOrigin" in cache) && (xOrigin || yOrigin)) { // added in 3.12.3, reverted in 3.12.4; requires more exploration
|
|
636
636
|
// xOrigin -= bounds.x;
|
|
637
637
|
// yOrigin -= bounds.y;
|
|
638
638
|
// }
|
|
639
|
-
}else if(u!==ir&&(
|
|
639
|
+
}else if(u!==ir&&(b=d*p-m*v)){
|
|
640
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/
|
|
641
|
+
x=y*(p/b)+M*(-v/b)+(v*C-p*g)/b;k=y*(-m/b)+M*(d/b)-(d*C-m*g)/b;y=x;M=k;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
|
|
642
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,
|
|
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,j,b,x,k,F,_,P,O,Z,E,B,T,R,Y,S,H,I,z,L,V,D;h=l=c=p=g=C=w=y=M=0;d=v=1;n.svg=!!(i.getCTM&&An(i));if(u.translate){
|
|
644
644
|
// accommodate independent transforms by combining them into normal ones.
|
|
645
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
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
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)}
|
|
648
|
+
}or(i,R||f,!!R||n.originIsAbsolute,n.smooth!==false,x)}j=n.xOrigin||0;b=n.yOrigin||0;if(x!==ir){P=x[0];//a11
|
|
649
649
|
O=x[1];//a21
|
|
650
650
|
Z=x[2];//a31
|
|
651
651
|
E=x[3];//a41
|
|
652
652
|
h=B=x[4];l=T=x[5];//2D matrix
|
|
653
653
|
if(x.length===6){d=Math.sqrt(P*P+O*O);v=Math.sqrt(E*E+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||E?fn(Z,E)*an+p:0;w&&(v*=Math.abs(Math.cos(w*un)));if(n.svg){h-=
|
|
655
|
-
}else{
|
|
656
|
-
if(k){F=Math.cos(-k);_=Math.sin(-k);R=B*F+
|
|
657
|
-
k=fn(-Z,
|
|
654
|
+
w=Z||E?fn(Z,E)*an+p:0;w&&(v*=Math.abs(Math.cos(w*un)));if(n.svg){h-=j-(j*P+b*Z);l-=b-(j*O+b*E)}//3D matrix
|
|
655
|
+
}else{D=x[6];L=x[7];H=x[8];I=x[9];z=x[10];V=x[11];h=x[12];l=x[13];c=x[14];k=fn(D,z);g=k*an;//rotationX
|
|
656
|
+
if(k){F=Math.cos(-k);_=Math.sin(-k);R=B*F+H*_;Y=T*F+I*_;S=D*F+z*_;H=B*-_+H*F;I=T*-_+I*F;z=D*-_+z*F;V=L*-_+V*F;B=R;T=Y;D=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*_;V=E*_+V*F;P=R;O=Y;Z=S}//rotationZ
|
|
658
658
|
k=fn(O,P);p=k*an;if(k){F=Math.cos(k);_=Math.sin(k);R=P*F+O*_;Y=B*F+T*_;O=O*F-P*_;T=T*F-B*_;P=R;B=Y}if(g&&Math.abs(g)+Math.abs(p)>359.9){
|
|
659
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+
|
|
660
|
+
g=p=0;C=180-C}d=yt(Math.sqrt(P*P+O*O+Z*Z));v=yt(Math.sqrt(T*T+D*D));k=fn(B,T);w=Math.abs(k)>2e-4?k*an:0;M=V?1/(V<0?-V:V):0}if(n.svg){
|
|
661
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
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
663
|
//for handling transformOrigin values, stripping out the 3rd dimension
|
|
664
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
|
|
665
|
+
if(w&&(l!==lr||h!==lr)){var j=parseFloat(h)*un,b=Math.sin(j),x=Math.cos(j),k;j=parseFloat(l)*un;k=Math.cos(j);o=fr(C,o,b*k*-w);a=fr(C,a,-Math.sin(j)*-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,j,b,x,k;u=parseFloat(u);f=parseFloat(f);h=parseFloat(h);if(h){
|
|
666
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;
|
|
667
|
+
h=parseFloat(h);f+=h;u+=h}if(u||f){u*=un;f*=un;M=Math.cos(u)*l;j=Math.sin(u)*l;b=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);b*=k;x*=k;if(h){k=Math.tan(h);k=Math.sqrt(1+k*k);M*=k;j*=k}}M=yt(M);j=yt(j);b=yt(b);x=yt(x)}else{M=l;x=c;j=b=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*b)+p);y=yt(y+v-(m*j+v*x)+g)}if(r||s){
|
|
668
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+","+
|
|
669
|
+
k=d.getBBox();w=yt(w+r/100*k.width);y=yt(y+s/100*k.height)}k="matrix("+M+","+j+","+b+","+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
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
671
|
// Internet Explorer doesn't have Object.assign(), so we recreate it here.
|
|
672
672
|
for(var n in e){i[n]=e[n]}return i},Cr=function t(i,e,n){
|
|
@@ -676,12 +676,12 @@ var r=gr({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style
|
|
|
676
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
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
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:
|
|
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,j,b,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
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
681
|
// plugins
|
|
682
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
683
|
//CSS variable
|
|
684
|
-
f=(getComputedStyle(i).getPropertyValue(p)+"").trim();h+="";
|
|
684
|
+
f=(getComputedStyle(i).getPropertyValue(p)+"").trim();h+="";Di.lastIndex=0;if(!Di.test(f)){
|
|
685
685
|
// colors don't have units
|
|
686
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
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)
|
|
@@ -693,19 +693,19 @@ if(c===1&&$n(i,"visibility")==="hidden"&&l){
|
|
|
693
693
|
//if visibility is initially set to "hidden", we should interpret that as intent to make opacity 0 (a convenience)
|
|
694
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
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){
|
|
697
|
-
|
|
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){j=i._gsap;j.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
|
+
b=e.smoothOrigin!==false&&j.smooth;M=this._pt=new Se(this._pt,a,Pn,0,1,j.renderTransform,j,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
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,
|
|
700
|
-
if(
|
|
701
|
-
C!==
|
|
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?
|
|
699
|
+
}if(p==="scale"){this._pt=new Se(this._pt,j,"scaleY",j.scaleY,(w?jt(j.scaleY,w+l):l)-j.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(j.svg){or(i,h,0,b,0,this)}else{C=parseFloat(h.split(" ")[2])||0;//handle the zOrigin separately!
|
|
701
|
+
C!==j.zOrigin&&Un(this,j,"zOrigin",j.zOrigin,C);Un(this,a,p,ur(f),ur(h))}continue}else if(p==="svgOrigin"){or(i,h,1,b,0,this);continue}else if(p in er){pr(this,j,p,c,w?jt(c,w+h):h);continue}else if(p==="smoothOrigin"){Un(this,j,"smooth",j.smooth,h);continue}else if(p==="force3D"){j[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?j:a,p,c,(w?jt(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
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
704
|
this._pt.b=f;this._pt.r=gn}}else if(!(p in a)){if(p in i){
|
|
705
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
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
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=Hn;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}"};
|
|
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])?jn:~e.indexOf("-")?bn:_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 jr='<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 br=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,105 49 204)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,128 78 232)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,214 205 255)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,178 157 254)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,128 78 232)));--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
709
|
/**
|
|
710
710
|
* The transform origin of each part of a face, in the box of the part: the head turns from its
|
|
711
711
|
* bottom left corner, the others from their centre. Every state of a part gets it as soon as
|
|
@@ -735,7 +735,7 @@ this.handEntryOffset=25;this.wasFollowingMouse=false;this.wasBlinking=false;this
|
|
|
735
735
|
this.cssCustomPropsRead=false;this.expressionAngleMax=16;// massimo angolo di rotazione della emoji
|
|
736
736
|
this.expressionFollowMouseHeadDuration=.3;// durata dell'animazione di rotazione della testa quando segue il mouse
|
|
737
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:
|
|
738
|
+
this.blinkTimeline=null;this.blinkDelay=null;this.svgLibrary={mia:Mr,simi:jr};
|
|
739
739
|
/**
|
|
740
740
|
* Stops the tracking and recentres the face, keeping whether it was on: an expression pauses
|
|
741
741
|
* it this way and restoreFollowMouse resumes it when the expression ends.
|
|
@@ -974,4 +974,4 @@ if(!this.isEmojiName(t)){if(t!=null){console.warn('mds-emoji: ignoring the unkno
|
|
|
974
974
|
// attributeChangedCallback is a no-op because the value did not change.
|
|
975
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
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:"ff6a0ef91b3785fd297d2db0e1c9099eb56dda35"})};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=
|
|
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:"ff6a0ef91b3785fd297d2db0e1c9099eb56dda35"})};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=br()}}}));
|