@maggioli-design-system/magma 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +59 -0
- package/README.md +14 -7
- package/agents/assets.md +1 -1
- package/agents/color.md +3 -2
- package/agents/mcp.md +5 -5
- package/agents/patterns/actions.md +4 -3
- package/agents/patterns/app-shell.md +70 -22
- package/agents/patterns/density.md +4 -3
- 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-message.light.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/remove.light.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/actions/toast.light.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/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +1 -1
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- 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/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +68 -0
- package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.light.webp +0 -0
- 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-many.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
- 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.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.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- 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.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.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.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
- 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.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.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.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- 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.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.light.webp +0 -0
- package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
- 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.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.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.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.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.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +2 -2
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- 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-hint.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
- 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.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.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.light.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/inset.light.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.light.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.html +2 -2
- 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/canvas.html +2 -2
- package/agents/patterns/previews/surfaces/canvas.light.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/section.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/section.light.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/group.light.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/part.light.webp +0 -0
- package/agents/patterns/previews/titles/section.dark.webp +0 -0
- package/agents/patterns/previews/titles/section.light.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/field.light.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.html +2 -2
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/rhythm.md +2 -1
- package/agents/patterns/surfaces.md +4 -3
- package/agents/patterns/titles.md +4 -3
- package/agents/patterns/widths.md +4 -3
- package/agents/patterns.md +8 -7
- package/agents/theming.md +21 -9
- package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
- package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
- package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
- package/dist/cjs/mds-book.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
- package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
- 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 +2 -2
- package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/mds-emoji.cjs.entry.js +41 -12
- package/dist/cjs/mds-entity.cjs.entry.js +2 -2
- package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
- package/dist/cjs/mds-file.cjs.entry.js +5 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
- package/dist/cjs/mds-input.cjs.entry.js +8 -8
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +3 -3
- package/dist/cjs/mds-link.cjs.entry.js +5 -5
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +3 -3
- package/dist/cjs/mds-modal.cjs.entry.js +34 -15
- package/dist/cjs/mds-note.cjs.entry.js +4 -4
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +18 -4
- package/dist/cjs/mds-pref-theme.cjs.entry.js +42 -10
- package/dist/cjs/mds-pref.cjs.entry.js +3 -25
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
- package/dist/cjs/mds-quote.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
- package/dist/cjs/mds-separator.cjs.entry.js +2 -2
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- 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 +6 -6
- package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
- package/dist/cjs/mds-table.cjs.entry.js +4 -4
- package/dist/cjs/mds-text.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/mds-zero.cjs.entry.js +3 -3
- package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
- package/dist/collection/common/aria.js +12 -1
- package/dist/collection/common/preference.js +19 -1
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- 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-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 +1 -1
- package/dist/collection/components/mds-badge/mds-badge.css +15 -10
- 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-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +1 -1
- 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 +9 -4
- package/dist/collection/components/mds-button/documentation.json +100 -7
- package/dist/collection/components/mds-button/examples.md +73 -0
- package/dist/collection/components/mds-button/mds-button.css +122 -14
- package/dist/collection/components/mds-button/mds-button.js +139 -13
- package/dist/collection/components/mds-button/mistakes.md +35 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
- package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- 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/mds-calendar.js +5 -5
- 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.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- 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 +3 -2
- package/dist/collection/components/mds-chip/mds-chip.js +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +1 -1
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file/mds-file.css +3 -2
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- 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 +3 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter/mds-filter.css +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- 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/mds-header.css +3 -2
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- 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-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- 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-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +2 -2
- 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 +16 -8
- package/dist/collection/components/mds-input/mds-input.js +3 -3
- 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 +3 -2
- package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
- 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 +3 -2
- 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.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
- 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 +1 -1
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
- 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 +1 -1
- 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 +1 -1
- 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.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.css +3 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
- 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 +3 -2
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +1 -1
- package/dist/collection/components/mds-link/mds-link.js +3 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- 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 +1 -1
- 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 +3 -3
- package/dist/collection/components/mds-modal/documentation.json +4 -4
- package/dist/collection/components/mds-modal/mds-modal.css +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +32 -13
- 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 +3 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.css +3 -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 +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.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +3 -3
- package/dist/collection/components/mds-pref/documentation.json +4 -9
- package/dist/collection/components/mds-pref/examples.md +1 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -29
- package/dist/collection/components/mds-pref/mistakes.md +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 +3 -2
- package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
- package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +7 -6
- package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
- package/dist/collection/components/mds-pref-theme/examples.md +18 -21
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +43 -11
- package/dist/collection/components/mds-pref-theme/mistakes.md +15 -15
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +6 -6
- package/dist/collection/components/mds-pref-theme-item/documentation.json +9 -9
- package/dist/collection/components/mds-pref-theme-item/examples.md +18 -24
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +13 -7
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +19 -5
- package/dist/collection/components/mds-pref-theme-item/mistakes.md +14 -16
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- 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 +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 +1 -1
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
- 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 +1 -1
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +3 -2
- 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 +3 -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.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +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.css +3 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +1 -1
- package/dist/collection/components/mds-tab/mds-tab.css +3 -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 +1 -1
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -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 +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
- 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 +1 -1
- package/dist/collection/components/mds-table/mds-table.css +6 -4
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- 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.css +3 -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 +1 -1
- package/dist/collection/components/mds-usage/mds-usage.css +3 -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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mds-zero/mds-zero.css +3 -2
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/type/button.js +3 -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.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 +5 -5
- 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.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/components/p-3rr6yzu-.js +1 -0
- package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
- package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
- package/dist/components/p-BE05D6Pe.js +1 -0
- package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
- package/dist/components/p-BQSO-HFx.js +1 -0
- package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
- package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
- package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
- package/dist/components/p-Bw-eI2ca.js +1 -0
- package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
- package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
- package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
- package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
- package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
- package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
- package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
- package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
- package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
- package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
- package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
- package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
- package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
- package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
- package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
- package/dist/components/p-DwKxtKwS.js +1 -0
- package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
- package/dist/components/p-J48g0t65.js +1 -0
- package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
- package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
- package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
- package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
- package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
- package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
- package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
- package/dist/documentation.json +269 -83
- package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
- package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
- package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +1 -1
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +5 -5
- package/dist/esm/mds-book.entry.js +2 -2
- package/dist/esm/mds-breadcrumb.entry.js +2 -2
- package/dist/esm/mds-button-dropdown.entry.js +6 -4
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +78 -16
- package/dist/esm/mds-calendar_2.entry.js +8 -8
- 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 +2 -2
- package/dist/esm/mds-dropdown.entry.js +6 -6
- package/dist/esm/mds-emoji.entry.js +41 -12
- package/dist/esm/mds-entity.entry.js +2 -2
- package/dist/esm/mds-file-preview.entry.js +5 -5
- package/dist/esm/mds-file.entry.js +5 -5
- package/dist/esm/mds-filter-item.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +4 -4
- package/dist/esm/mds-input-date.entry.js +6 -6
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +3 -3
- package/dist/esm/mds-input-select.entry.js +6 -6
- package/dist/esm/mds-input-switch_2.entry.js +6 -6
- package/dist/esm/mds-input-tip_2.entry.js +5 -5
- package/dist/esm/mds-input-upload.entry.js +7 -7
- package/dist/esm/mds-input.entry.js +8 -8
- package/dist/esm/mds-keyboard-key.entry.js +3 -3
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +3 -3
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +3 -3
- package/dist/esm/mds-link.entry.js +5 -5
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +3 -3
- package/dist/esm/mds-modal.entry.js +34 -15
- package/dist/esm/mds-note.entry.js +4 -4
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +2 -2
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +3 -3
- package/dist/esm/mds-pref-animation.entry.js +3 -3
- package/dist/esm/mds-pref-consumption.entry.js +3 -3
- package/dist/esm/mds-pref-contrast.entry.js +3 -3
- package/dist/esm/mds-pref-language-item.entry.js +3 -3
- package/dist/esm/mds-pref-language.entry.js +3 -3
- package/dist/esm/mds-pref-mode.entry.js +22 -13
- package/dist/esm/mds-pref-theme-item.entry.js +18 -4
- package/dist/esm/mds-pref-theme.entry.js +42 -10
- package/dist/esm/mds-pref.entry.js +3 -25
- package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +3 -3
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +4 -4
- package/dist/esm/mds-push-notification-item.entry.js +4 -4
- package/dist/esm/mds-push-notification.entry.js +4 -4
- package/dist/esm/mds-quote.entry.js +2 -2
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +5 -5
- package/dist/esm/mds-separator.entry.js +2 -2
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- 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 +6 -6
- package/dist/esm/mds-table-body.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +2 -2
- package/dist/esm/mds-table-header-cell.entry.js +2 -2
- package/dist/esm/mds-table-header.entry.js +3 -3
- package/dist/esm/mds-table-row.entry.js +4 -4
- package/dist/esm/mds-table.entry.js +4 -4
- package/dist/esm/mds-text.entry.js +2 -2
- package/dist/esm/mds-toast-region.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +5 -5
- package/dist/esm/mds-tree-item.entry.js +3 -3
- package/dist/esm/mds-tree.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/mds-zero.entry.js +3 -3
- package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
- package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
- package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
- package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
- package/dist/esm-es5/magma-components.js +1 -1
- 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.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 +4 -4
- package/dist/esm-es5/mds-book.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +39 -17
- package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
- 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 +2 -2
- package/dist/esm-es5/mds-details.entry.js +2 -2
- package/dist/esm-es5/mds-dropdown.entry.js +13 -13
- package/dist/esm-es5/mds-emoji.entry.js +111 -109
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +7 -7
- package/dist/esm-es5/mds-file.entry.js +3 -3
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +2 -2
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +2 -2
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +3 -3
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range.entry.js +2 -2
- package/dist/esm-es5/mds-input-select.entry.js +10 -10
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- 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 +23 -11
- 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 +3 -3
- 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 +13 -3
- package/dist/esm-es5/mds-pref-theme-item.entry.js +12 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +26 -8
- package/dist/esm-es5/mds-pref.entry.js +4 -12
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-toast-region.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- 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/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
- package/dist/hydrate/index.js +410 -231
- package/dist/hydrate/index.mjs +410 -231
- package/dist/lint/core/patterns.d.ts +56 -16
- package/dist/lint/core/patterns.js +145 -38
- package/dist/lint/mcp/tools.json +8 -8
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
- package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
- package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
- package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
- package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
- package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
- package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
- package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
- package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
- package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
- package/dist/magma-components/p-163eccbd.entry.js +1 -0
- package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
- package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
- package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
- package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
- package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
- package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
- package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
- package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
- package/dist/magma-components/p-223efc32.entry.js +1 -0
- package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
- package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
- package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
- package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
- package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
- package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
- package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
- package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
- package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
- package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
- package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
- package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
- package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
- package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
- package/dist/magma-components/p-380adee8.system.entry.js +5 -0
- package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
- package/dist/magma-components/p-397c0686.entry.js +1 -0
- package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
- package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
- package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
- package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
- package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
- package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
- package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
- package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
- package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
- package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
- package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
- package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
- package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
- package/dist/magma-components/p-45c26a24.system.entry.js +21 -0
- package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
- package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
- package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
- package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
- package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
- package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
- package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
- package/dist/magma-components/p-4c955367.entry.js +1 -0
- package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
- package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
- package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
- package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
- package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
- package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
- package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
- package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
- package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
- package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
- package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
- package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
- package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
- package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
- package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
- package/dist/magma-components/p-5f38e95b.entry.js +1 -0
- package/dist/magma-components/p-5f4bec31.entry.js +1 -0
- package/dist/magma-components/p-627f5956.entry.js +1 -0
- package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
- package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
- package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
- package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
- package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
- package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
- package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
- package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
- package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
- package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
- package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
- package/dist/magma-components/p-70faf379.entry.js +1 -0
- package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
- package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
- package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
- package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
- package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
- package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
- package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
- package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
- package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
- package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
- package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
- package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
- package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
- package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
- package/dist/magma-components/p-7b552dbe.entry.js +1 -0
- package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
- package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
- package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
- package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
- package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
- package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
- package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
- package/dist/magma-components/p-8915347f.entry.js +1 -0
- package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
- package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
- package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
- package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
- package/dist/magma-components/p-94548d43.entry.js +1 -0
- package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
- package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
- package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
- package/dist/magma-components/{p-4e072e24.system.entry.js → p-98cc6473.system.entry.js} +30 -12
- package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
- package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
- package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
- package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
- package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
- package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
- package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
- package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
- package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
- package/dist/magma-components/p-BXVzhErg.system.js +12 -0
- package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
- package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
- package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
- package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
- package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
- package/dist/magma-components/p-DwKxtKwS.js +1 -0
- package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
- package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
- package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
- package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
- package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
- package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
- package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
- package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
- package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
- package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
- package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
- package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
- package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
- package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
- package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
- package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
- package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
- package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
- package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
- package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
- package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
- package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
- package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
- package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
- package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
- package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
- package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
- package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
- package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
- package/dist/magma-components/p-c131d726.entry.js +1 -0
- package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
- package/dist/magma-components/{p-0dcde20a.system.entry.js → p-c4c1ef48.system.entry.js} +91 -89
- package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
- package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
- package/dist/magma-components/p-c8414ee6.entry.js +1 -0
- package/dist/magma-components/{p-77001a72.entry.js → p-c8c918d2.entry.js} +5 -5
- package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
- package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
- package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
- package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
- package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
- package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
- package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
- package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
- package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
- package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
- package/dist/magma-components/p-d25a47fa.entry.js +1 -0
- package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
- package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
- package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
- package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
- package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
- package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
- package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
- package/dist/magma-components/p-d785d7ee.entry.js +1 -0
- package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
- package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
- package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
- package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
- package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
- package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
- package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
- package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
- package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
- package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
- package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
- package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
- package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
- package/dist/magma-components/p-f6358241.system.entry.js +19 -0
- package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
- package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
- package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
- package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
- package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
- package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
- package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
- package/dist/{lint/mcp → mcp}/checks.js +4 -4
- package/dist/{lint/mcp → mcp}/components.js +4 -6
- package/dist/{lint/mcp → mcp}/guides.js +11 -9
- package/dist/{lint/mcp → mcp}/icons.js +21 -0
- package/dist/mcp/package.json +3 -0
- package/dist/{lint/mcp → mcp}/patterns.js +27 -18
- package/dist/{lint/mcp → mcp}/protocol.js +1 -1
- package/dist/{lint/mcp → mcp}/render-page.js +17 -0
- package/dist/{lint/mcp → mcp}/render.js +157 -48
- package/dist/{lint/mcp → mcp}/server.js +4 -4
- package/dist/{lint/mcp → mcp}/tokens.js +1 -2
- package/dist/mcp/tools.json +1374 -0
- package/dist/stats.json +2322 -2038
- package/dist/types/common/aria.d.ts +8 -1
- package/dist/types/common/preference.d.ts +13 -1
- package/dist/types/components/mds-button/mds-button.d.ts +50 -4
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
- package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +9 -2
- package/dist/types/components.d.ts +71 -17
- package/dist/types/type/button.d.ts +2 -0
- package/package.json +15 -13
- package/dist/components/p-BwT0RJip.js +0 -1
- package/dist/components/p-COUgBzJ4.js +0 -1
- package/dist/components/p-Cvhn9asj.js +0 -1
- package/dist/components/p-G7Udw5H5.js +0 -1
- package/dist/components/p-Ic8cYsgt.js +0 -1
- package/dist/components/p-l0KS6hTQ.js +0 -1
- package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
- package/dist/lint/mcp/checks.d.ts +0 -29
- package/dist/lint/mcp/cli.d.ts +0 -2
- package/dist/lint/mcp/color.d.ts +0 -12
- package/dist/lint/mcp/components.d.ts +0 -5
- package/dist/lint/mcp/context.d.ts +0 -45
- package/dist/lint/mcp/guides.d.ts +0 -3
- package/dist/lint/mcp/icons.d.ts +0 -9
- package/dist/lint/mcp/patterns.d.ts +0 -75
- package/dist/lint/mcp/protocol.d.ts +0 -77
- package/dist/lint/mcp/render-page.d.ts +0 -36
- package/dist/lint/mcp/render.d.ts +0 -109
- package/dist/lint/mcp/server.d.ts +0 -39
- package/dist/lint/mcp/tokens.d.ts +0 -37
- package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
- package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
- package/dist/magma-components/p-21345ecc.entry.js +0 -1
- package/dist/magma-components/p-25dcbf22.entry.js +0 -1
- package/dist/magma-components/p-34d58345.entry.js +0 -1
- package/dist/magma-components/p-37881115.system.entry.js +0 -14
- package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
- package/dist/magma-components/p-52e2b0d4.system.entry.js +0 -14
- package/dist/magma-components/p-69319301.system.entry.js +0 -10
- package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
- package/dist/magma-components/p-7d61f442.entry.js +0 -1
- package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
- package/dist/magma-components/p-9ed54db1.entry.js +0 -1
- package/dist/magma-components/p-Cvhn9asj.js +0 -1
- package/dist/magma-components/p-a8206d9c.entry.js +0 -1
- package/dist/magma-components/p-b464668b.system.entry.js +0 -105
- package/dist/magma-components/p-b85f56d7.entry.js +0 -1
- package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
- package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
- package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
- package/dist/magma-components/p-e428490d.system.entry.js +0 -5
- package/dist/magma-components/p-f045b018.entry.js +0 -1
- package/dist/magma-components/p-f3708d1a.entry.js +0 -1
- package/dist/magma-components/p-f5d9f625.entry.js +0 -1
- package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
- package/dist/magma-components/p-fbf563c8.entry.js +0 -1
- package/dist/magma-components/p-ff82edad.entry.js +0 -1
- package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
- /package/dist/{lint/mcp → mcp}/cli.js +0 -0
- /package/dist/{lint/mcp → mcp}/color.js +0 -0
- /package/dist/{lint/mcp → mcp}/context.js +0 -0
- /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
|
@@ -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-BZP13mns.system.js","./p-B-nayZ3E.system.js","./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-BZP13mns.system.js","./p-B-nayZ3E.system.js","./p-DOisMne4.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
|
*
|
|
@@ -15,14 +15,14 @@ var h=function(t,i,e){var n=Math.hypot(t,i);if(n===0||!(e>0))return{x:0,y:0};var
|
|
|
15
15
|
* viewport, whatever the size of the emoji.
|
|
16
16
|
*/var l=function(t,i){return Math.min(t,i)/2};function c(t){if(t===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t}function d(t,i){t.prototype=Object.create(i.prototype);t.prototype.constructor=t;t.__proto__=i}
|
|
17
17
|
/*!
|
|
18
|
-
* GSAP 3.15.
|
|
18
|
+
* GSAP 3.15.1
|
|
19
19
|
* https://gsap.com
|
|
20
20
|
*
|
|
21
21
|
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
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,b=M/4,j=0,x=Math.sqrt,k=Math.cos,F=Math.sin,_=function t(i){return typeof i==="string"},P=function t(i){return typeof i==="function"},O=function t(i){return typeof i==="number"},Z=function t(i){return typeof i==="undefined"},
|
|
25
|
+
/* eslint-disable */var m={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},v={duration:.5,overwrite:false,delay:0},p,g,C,w=1e8,y=1/w,M=Math.PI*2,b=M/4,j=0,x=Math.sqrt,k=Math.cos,F=Math.sin,_=function t(i){return typeof i==="string"},P=function t(i){return typeof i==="function"},O=function t(i){return typeof i==="number"},Z=function t(i){return typeof i==="undefined"},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
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.
|
|
@@ -32,7 +32,7 @@ D=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,V=/[-+=.]*\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.
|
|
35
|
-
U=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,q,W,$,
|
|
35
|
+
U=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,q,W,$,Q={},G={},J,K=function t(i){return(G=Et(i,Q))&&Qe},tt=function t(i,e){return console.warn("Invalid property",i,"set to",e,"Missing plugin? gsap.registerPlugin()")},it=function t(i,e){return!e&&console.warn(i)},et=function t(i,e){return i&&(Q[i]=e)&&G&&(G[i]=e)||Q},nt=function t(){return 0},rt={suppressEvents:true,isStart:true,kill:false},st={suppressEvents:true,kill:false},ot={suppressEvents:true},at={},ut=[],ft={},ht,lt={},ct={},dt=30,mt=[],vt="",pt=function t(i){var e=i[0],n,r;E(e)||P(e)||(i=[i]);if(!(n=(e._gsap||{}).harness)){
|
|
36
36
|
// find the first target with a harness. We assume targets passed into an animation will be of similar type, meaning the same kind of harness can be used for them all (performance optimization)
|
|
37
37
|
r=mt.length;while(r--&&!mt[r].targetTest(e)){}n=mt[r]}r=i.length;while(r--){i[r]&&(i[r]._gsap||(i[r]._gsap=new oe(i[r],n)))||i.splice(r,1)}return i},gt=function t(i){return i._gsap||pt(mi(i))[0]._gsap},Ct=function t(i,e,n){return(n=i[e])&&P(n)?i[e]():Z(n)&&i.getAttribute&&i.getAttribute(e)||n},wt=function t(i,e){return(i=i.split(",")).forEach(e)||i},
|
|
38
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).
|
|
@@ -41,7 +41,7 @@ yt=function t(i){return Math.round(i*1e5)/1e5||0},Mt=function t(i){return Math.r
|
|
|
41
41
|
bt=function t(i,e){var n=e.charAt(0),r=parseFloat(e.substr(2));i=parseFloat(i);return n==="+"?i+r:n==="-"?i-r:n==="*"?i*r:i/r},jt=function t(i,e){
|
|
42
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])}}},
|
|
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
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){
|
|
@@ -69,8 +69,9 @@ 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&&It(e);e._start=Mt((O(n)?n:n||i!==N?si(i,n,e):i._time)+e._delay)
|
|
73
|
-
|
|
72
|
+
}},$t=function t(i,e,n,r){e.parent&&It(e);e._start=Mt((O(n)?n:!n&&Kt(e)&&(!i._last||i._last._start>=i._time)?i._last?i._last._start:i._time:n||i!==N?si(i,n,e):i._time)+e._delay);// a from()/startAt tween's internal _startAt gets added and then immediately removed, so skip _parsePosition() which calls duration() (a full walk of a dirty timeline, making large from() timelines O(n²)). Dropping it at the _last child's _start keeps the sorted insert O(1), and the playhead check avoids a render in _postAddChecks().
|
|
73
|
+
e._end=Mt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0));St(i,e,"_first","_last",i._sort?"_start":0);Kt(e)||(i._recent=e);r||Wt(i,e);i._ts<0&&qt(i,i._tTime);// if the timeline is reversed and the new child makes it longer, we may need to adjust the parent's _start (push it back)
|
|
74
|
+
return i},Qt=function t(i,e){return(Q.ScrollTrigger||tt("scrollTrigger",e))&&Q.ScrollTrigger.create(e,i)},Gt=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))},
|
|
74
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
|
|
75
76
|
Kt=function t(i){var e=i.data;return e==="isFromStart"||e==="isStart"},ti=function t(i,e,n,r){var s=i.ratio,o=e<0||!e&&(!i._start&&Jt(i)&&!(!i._initted&&Kt(i))||(i._ts<0||i._dp._ts<0)&&!Kt(i))?0:1,
|
|
76
77
|
// if the tween or its parent is reversed and the totalTime is 0, we should go to a ratio of 0. Edge case: if a from() or fromTo() stagger tween is placed later in a timeline, the "startAt" zero-duration tween could initially render at a time when the parent timeline's playhead is technically BEFORE where this tween is, so make sure that any "from" and "fromTo" startAt tweens are rendered the first time at a ratio of 1.
|
|
@@ -78,25 +79,25 @@ a=i._rDelay,u=0,f,h,l;if(a&&i._repeat){
|
|
|
78
79
|
// in case there's a zero-duration tween that has a repeat with a repeatDelay
|
|
79
80
|
u=ui(0,i._tDur,e);h=Xt(u,a);i._yoyo&&h&1&&(o=1-o);if(h!==Xt(i._tTime,a)){
|
|
80
81
|
// if iteration changed
|
|
81
|
-
s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime===y||!e&&i._zTime){if(!i._initted&&
|
|
82
|
+
s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime===y||!e&&i._zTime){if(!i._initted&&Gt(i,e,r,n,u)){
|
|
82
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.
|
|
83
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.
|
|
84
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.
|
|
85
|
-
i.ratio=o;i._from&&(o=1-o);i._time=0;i._tTime=u;f=i._pt;while(f){f.r(o,f.d);f=f._next}e<0&&Dt(i,e,n,true);i._onUpdate&&!n&&
|
|
86
|
+
i.ratio=o;i._from&&(o=1-o);i._time=0;i._tTime=u;f=i._pt;while(f){f.r(o,f.d);f=f._next}e<0&&Dt(i,e,n,true);i._onUpdate&&!n&&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,
|
|
86
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.
|
|
87
88
|
a,u,f;if(_(e)&&(isNaN(e)||e in r)){
|
|
88
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).
|
|
89
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)){
|
|
90
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.
|
|
91
|
-
a=u.vars.defaults||{};u=
|
|
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
|
|
92
93
|
}return new be(e[0],o,e[s+1])},ai=function t(i,e){return i||i===0?e(i):e},ui=function t(i,e,n){return n<i?i:n>e?e:n},fi=function t(i,e){return!_(i)||!(e=U.exec(i))?"":e[1]},
|
|
93
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.
|
|
94
|
-
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&&
|
|
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},
|
|
95
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.
|
|
96
97
|
mi=function t(i,e,n){return C&&!e&&C.selector?C.selector(i):_(i)&&!n&&(W||!qi())?li.call((e||$).querySelectorAll(i),0):S(i)?di(i,n):ci(i)?li.call(i,0):i?[i]:[]},vi=function t(i){i=mi(i)[0]||it("Invalid scope")||{};return function(t){var e=i.current||i.nativeElement||i;return mi(t,e.querySelectorAll?e:e===i?it("Invalid scope")||$.createElement("div"):i)}},pi=function t(i){return i.sort((function(){return.5-Math.random()}))},
|
|
97
98
|
// alternative that's a bit faster and more reliably diverse but bigger: for (let j, v, i = a.length; i; j = (Math.random() * i) | 0, v = a[--i], a[i] = a[j], a[j] = v); return a;
|
|
98
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.
|
|
99
|
-
gi=function t(i){if(P(i)){return i}var e=
|
|
100
|
+
gi=function t(i){if(P(i)){return i}var e=E(i)?i:{each:i},
|
|
100
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.
|
|
101
102
|
n=ie(e.ease),r=e.from||0,s=parseFloat(e.base)||0,o={},a=r>0&&r<1,u=isNaN(r)||a,f=e.axis,h=r,l=r;if(_(r)){h=l={center:.5,edges:.5,end:1}[r]||0}else if(!a&&u){h=r[0];l=r[1]}return function(t,i,a){var c=(a||e).length,d=o[c],m,v,p,g,C,y,M,b,j;if(!d){j=e.grid==="auto"?0:(e.grid||[1,w])[1];if(!j){M=-w;while(M<(M=a[j++].getBoundingClientRect().left)&&j<c){}j<c&&j--}d=o[c]=[];m=u?Math.min(j,c)*h-.5:r%j;v=j===w?0:u?c*l/j-.5:r/j|0;M=0;b=w;for(y=0;y<c;y++){p=y%j-m;g=v-(y/j|0);d[y]=C=!f?x(p*p+g*g):Math.abs(f==="y"?g:p);C>M&&(M=C);C<b&&(b=C)}r==="random"&&pi(d);d.max=M-b;d.min=b;d.v=c=(parseFloat(e.amount)||parseFloat(e.each)*(j>c?c-1:!f?Math.max(j,c/j):f==="y"?c/j:j)||0)*(r==="edges"?-1:1);d.b=c<0?s-c:s;d.u=fi(e.amount||e.each)||0;//unit
|
|
102
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,24 +105,24 @@ 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;//rou
|
|
|
104
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.
|
|
105
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())
|
|
106
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!
|
|
107
|
-
}},wi=function t(i,e){var n=S(i),r,s;if(!n&&
|
|
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.
|
|
108
109
|
}}else{i=Ci(i.increment)}}return ai(e,!n?Ci(i):P(i)?function(t){s=i(t);return Math.abs(s-t)<=r?s:t}:function(t){var e=parseFloat(s?t.x:t),n=parseFloat(s?t.y:0),o=w,a=0,u=i.length,f,h;while(u--){if(s){f=i[u].x-e;h=i[u].y-n;f=f*f+h*h}else{f=Math.abs(i[u]-e)}if(f<o){o=f;a=u}}a=!r||o<=r?i[a]:t;return s||a===t||O(t)?a:a+fi(t)})},yi=function t(i,e,n,r){return ai(S(i)?!e:n===true?!!(n=0):!r,(function(){return S(i)?i[~~(Math.random()*i.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((i-n/2+Math.random()*(e-i+n*.99))/n)*n*r)/r}))},Mi=function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}return function(t){return e.reduce((function(t,i){return i(t)}),t)}},bi=function t(i,e){return function(t){return i(parseFloat(t))+(e||fi(t))}},ji=function t(i,e,n){return Pi(i,e,0,1,n)},xi=function t(i,e,n){return ai(n,(function(t){return i[~~e(t)]}))},ki=function t(i,e,n){
|
|
109
110
|
// NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP).
|
|
110
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){
|
|
111
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])
|
|
112
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.
|
|
113
|
-
}l--;s=function t(i){i*=l;var e=Math.min(c,~~i);return h[e](i-e)};n=e}else if(!r){i=
|
|
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){
|
|
114
115
|
//used for nextLabel() and previousLabel()
|
|
115
|
-
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},
|
|
116
|
-
a&&(C=a);h=u?s.apply(f,u):s.call(f);C=o;return h},
|
|
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){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}.
|
|
117
118
|
if(T()||i.headless){
|
|
118
119
|
// edge case: some build tools may pass in a null/undefined value
|
|
119
120
|
var e=i.name,n=P(i),r=e&&!n&&i.init?function(){this._props=[]}:i,
|
|
120
121
|
//in case someone passes in an object that's not a plugin, like CustomEase
|
|
121
|
-
s={init:nt,render:
|
|
122
|
-
|
|
122
|
+
s={init:nt,render:Ee,add:he,kill:Te,modifier:Be,rawVars:0},o={targetTest:0,get:0,getSetter:_e,aliases:{},register:0};qi();if(i!==r){if(lt[e]){return}Ot(r,Ot(Tt(i,s),o));//static methods
|
|
123
|
+
Et(r.prototype,Et(s,Tt(i,o)));//instance methods
|
|
123
124
|
lt[r.prop=e]=r;if(i.targetTest){mt.push(r);at[e]=1}e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";//for the global name. "motionPath" should become MotionPathPlugin
|
|
124
|
-
}et(e,r);i.register&&i.register(
|
|
125
|
+
}et(e,r);i.register&&i.register(Qe,r,Se)}else{Ri.push(i)}},
|
|
125
126
|
/*
|
|
126
127
|
* --------------------------------------------------------------------------------------
|
|
127
128
|
* COLORS
|
|
@@ -151,10 +152,10 @@ return true}},
|
|
|
151
152
|
* TICKER
|
|
152
153
|
* --------------------------------------------------------------------------------------
|
|
153
154
|
*/
|
|
154
|
-
Ui,Ni=function(){var t=Date.now,i=500,e=33,n=t(),r=n,s=1e3/240,o=s,a=[],u,f,h,l,c,d,m=function h(m){var v=t()-r,p=m===true,g,C,w,y;(v>i||v<0)&&(n+=v-e);r+=v;w=r-n;g=w-o;if(g>0||p){y=++l.frame;c=w-l.time*1e3;l.time=w=w/1e3;o+=g+(g>=s?
|
|
155
|
+
Ui,Ni=function(){var t=Date.now,i=500,e=33,n=t(),r=n,s=1e3/240,o=s,a=[],u,f,h,l,c,d,m=function h(m){var v=t()-r,p=m===true,g,C,w,y;(v>i||v<0)&&(n+=v-e);r+=v;w=r-n;g=w-o;if(g>0||p){y=++l.frame;c=w-l.time*1e3;l.time=w=w/1e3;o+=g+(g>=s?0:s-g);C=1}p||(u=f(h));//make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise.
|
|
155
156
|
if(C){for(d=0;d<a.length;d++){
|
|
156
157
|
// use _i and check _listeners.length instead of a variable because a listener could get removed during the loop, and if that happens to an element less than the current index, it'd throw things off in the loop.
|
|
157
|
-
a[d](w,c,y,m)}}};l={time:0,frame:0,tick:function t(){m(true)},deltaRatio:function t(i){return c/(1e3/(i||60))},wake:function t(){if(J){if(!W&&T()){q=W=window;$=q.document||{};
|
|
158
|
+
a[d](w,c,y,m)}}};l={time:0,frame:0,tick:function t(){m(true)},deltaRatio:function t(i){return c/(1e3/(i||60))},wake:function t(){if(J){if(!W&&T()){q=W=window;$=q.document||{};Q.gsap=Qe;(q.gsapVersions||(q.gsapVersions=[])).push(Qe.version);K(G||q.GreenSockGlobals||!q.gsap&&q||{});Ri.forEach(Yi)}h=typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame;u&&l.sleep();f=h||function(t){return setTimeout(t,o-l.time*1e3+1|0)};Ui=1;m(2)}},sleep:function t(){(h?cancelAnimationFrame:clearTimeout)(u);Ui=0;f=nt},lagSmoothing:function t(n,r){i=n||Infinity;// zero should be interpreted as basically unlimited
|
|
158
159
|
e=Math.min(r||33,i)},fps:function t(i){s=1e3/(i||240);o=l.time*1e3+s},add:function t(i,e,n){var r=e?function(t,e,n,s){i(t,e,n,s);l.remove(r)}:i;l.remove(i);a[n?"unshift":"push"](r);qi();return r},remove:function t(i,e){~(e=a.indexOf(i))&&a.splice(e,1)&&d>=e&&d--},_listeners:a};return l}(),qi=function t(){return!Ui&&Ni.wake()},
|
|
159
160
|
//also ensures the core classes are initialized.
|
|
160
161
|
/*
|
|
@@ -162,11 +163,11 @@ e=Math.min(r||33,i)},fps:function t(i){s=1e3/(i||240);o=l.time*1e3+s},add:functi
|
|
|
162
163
|
* EASING
|
|
163
164
|
* -------------------------------------------------
|
|
164
165
|
*/
|
|
165
|
-
Wi={},$i=/^[\d.\-M][\d.\-,\s]/,
|
|
166
|
+
Wi={},$i=/^[\d.\-M][\d.\-,\s]/,Qi=/["']/g,Gi=function t(i){
|
|
166
167
|
//takes a string like "{wiggles:10, type:anticipate})" and turns it into a real object. Notice it ends in ")" and includes the {} wrappers. This is because we only use this function for parsing ease configs and prioritized optimization rather than reusability.
|
|
167
|
-
var e={},n=i.substr(1,i.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,f;for(;s<o;s++){u=n[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);e[r]=isNaN(f)?f.replace(
|
|
168
|
+
var e={},n=i.substr(1,i.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,f;for(;s<o;s++){u=n[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);e[r]=isNaN(f)?f.replace(Qi,"").trim():+f;r=u.substr(a+1).trim()}return e},Ji=function t(i){var e=i.indexOf("(")+1,n=i.indexOf(")"),r=i.indexOf("(",e);return i.substring(e,~r&&r<n?i.indexOf(")",n+1):n)},Ki=function t(i){
|
|
168
169
|
//name can be a string like "elastic.out(1,0.5)", and pass in _easeMap as obj and it'll parse it out and call the actual function like _easeMap.Elastic.easeOut.config(1,0.5). It will also parse custom ease strings as long as CustomEase is loaded and registered (internally as _easeMap._CE).
|
|
169
|
-
var e=(i+"").split("("),n=Wi[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~i.indexOf("{")?[
|
|
170
|
+
var e=(i+"").split("("),n=Wi[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~i.indexOf("{")?[Gi(e[1])]:Ji(i).split(",").map(_t)):Wi._CE&&$i.test(i)?Wi._CE("",i):n},te=function t(i){return function(t){return 1-i(1-t)}},ie=function t(i,e){return!i?e:(P(i)?i:Wi[i]||Ki(i))||e},ee=function t(i,e,n,r){if(n===void 0){n=function t(i){return 1-e(1-i)}}if(r===void 0){r=function t(i){return i<.5?e(i*2)/2:1-e((1-i)*2)/2}}var s={easeIn:e,easeOut:n,easeInOut:r},o;wt(i,(function(t){Wi[t]=Q[t]=s;Wi[o=t.toLowerCase()]=n;for(var i in s){Wi[o+(i==="easeIn"?".in":i==="easeOut"?".out":".inOut")]=Wi[t+"."+i]=s[i]}}));return s},ne=function t(i){return function(t){return t<.5?(1-i(1-t*2))/2:.5+i((t-.5)*2)/2}},re=function t(i,e,n){var r=e>=1?e:1,
|
|
170
171
|
//note: if amplitude is < 1, we simply adjust the period for a more natural feel. Otherwise the math doesn't work right and the curve starts at 1.
|
|
171
172
|
s=(n||(i?.3:.45))/(e<1?e:1),o=s/M*(Math.asin(1/r)||0),a=function t(i){return i===1?1:r*Math.pow(2,-10*i)*F((i-o)*s)+1},u=i==="out"?a:i==="in"?function(t){return 1-a(1-t)}:ne(a);s=M/s;//precalculate to optimize
|
|
172
173
|
u.config=function(e,n){return t(i,e,n)};return u},se=function t(i,e){if(e===void 0){e=1.70158}var n=function t(i){return i?--i*i*((e+1)*i+e)+1:0},r=i==="out"?n:i==="in"?function(t){return 1-n(1-t)}:ne(n);r.config=function(e){return t(i,e)};return r};// a cheaper (kb and cpu) but more mild way to get a parameterized weighted ease by feeding in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear.
|
|
@@ -183,7 +184,7 @@ u.config=function(e,n){return t(i,e,n)};return u},se=function t(i,e){if(e===void
|
|
|
183
184
|
// return p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p;
|
|
184
185
|
// };
|
|
185
186
|
wt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,i){var e=i<5?i+1:i;ee(t+",Power"+(e-1),i?function(t){return Math.pow(t,e)}:function(t){return t},(function(t){return 1-Math.pow(1-t,e)}),(function(t){return t<.5?Math.pow(t*2,e)/2:1-Math.pow((1-t)*2,e)/2}))}));Wi.Linear.easeNone=Wi.none=Wi.Linear.easeIn;ee("Elastic",re("in"),re("out"),re());(function(t,i){var e=1/i,n=2*e,r=2.5*e,s=function s(o){return o<e?t*o*o:o<n?t*Math.pow(o-1.5/i,2)+.75:o<r?t*(o-=2.25/i)*o+.9375:t*Math.pow(o-2.625/i,2)+.984375};ee("Bounce",(function(t){return 1-s(1-t)}),s)})(7.5625,2.75);ee("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}));// previously 2 ** (10 * (p - 1)) but that doesn't end up with the value quite at the right spot so we do a blended ease to ensure it lands where it should perfectly.
|
|
186
|
-
ee("Circ",(function(t){return-(x(1-t*t)-1)}));ee("Sine",(function(t){return t===1?1:-k(t*b)+1}));ee("Back",se("in"),se("out"),se());Wi.SteppedEase=Wi.steps=
|
|
187
|
+
ee("Circ",(function(t){return-(x(1-t*t)-1)}));ee("Sine",(function(t){return t===1?1:-k(t*b)+1}));ee("Back",se("in"),se("out"),se());Wi.SteppedEase=Wi.steps=Q.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,"}));
|
|
187
188
|
/*
|
|
188
189
|
* --------------------------------------------------------------------------------------
|
|
189
190
|
* CACHE
|
|
@@ -209,30 +210,31 @@ Ft(this,i,e);// this._lock = 0;
|
|
|
209
210
|
}return this};i.time=function t(i,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+At(this))%(this._dur+this._rDelay)||(i?this._dur:0),e):this._time;// note: if the modulus results in 0, the playhead could be exactly at the end or the beginning, and we always defer to the END with a non-zero value, otherwise if you set the time() to the very end (duration()), it would render at the START!
|
|
210
211
|
};i.totalProgress=function t(i,e){return arguments.length?this.totalTime(this.totalDuration()*i,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0};i.progress=function t(i,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+At(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0};i.iteration=function t(i,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,e):this._repeat?Xt(this._tTime,n)+1:1}// potential future addition:;
|
|
211
212
|
i.timeScale=function t(i,e){if(!arguments.length){return this._rts===-y?0:this._rts;// recorded timeScale. Special case: if someone calls reverse() on an animation with timeScale of 0, we assign it -_tinyNum to remember it's reversed.
|
|
212
|
-
}if(this._rts===i){return this}var n=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime
|
|
213
|
-
//
|
|
213
|
+
}if(this._rts===i){return this}var n=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime,
|
|
214
|
+
// make sure to do the parentToChildTotalTime() BEFORE setting the new _ts because the old one must be used in that calculation.
|
|
215
|
+
r=this._rts<0;// future addition? Up side: fast and minimal file size. Down side: only works on this animation; if a timeline is reversed, for example, its childrens' onReverse wouldn't get called.
|
|
214
216
|
//(+value < 0 && this._rts >= 0) && _callback(this, "onReverse", true);
|
|
215
217
|
// prioritize rendering where the parent's playhead lines up instead of this._tTime because there could be a tween that's animating another tween's timeScale in the same rendering loop (same parent), thus if the timeScale tween renders first, it would alter _start BEFORE _tTime was set on that tick (in the rendering loop), effectively freezing it until the timeScale tween finishes.
|
|
216
218
|
this._rts=+i||0;this._ts=this._ps||i===-y?0:this._rts;// _ts is the functional timeScale which would be 0 if the animation is paused.
|
|
217
|
-
this.totalTime(ui(-Math.abs(this._delay),
|
|
219
|
+
var s=this.totalDuration();if(r!==this._rts<0||n>0&&n<s)this.totalTime(ui(-Math.abs(this._delay),s,n),e!==false);Nt(this);// if parent.smoothChildTiming was false, the end time didn't get updated in the _alignPlayhead() method, so do it here.
|
|
218
220
|
return Lt(this)};i.paused=function t(i){if(!arguments.length){return this._ps}// possible future addition - if an animation is removed from its parent and then .restart() or .play() or .resume() is called, perhaps we should force it back into the globalTimeline but be careful because what if it's already at its end? We don't want it to just persist forever and not get released for GC.
|
|
219
221
|
// !this.parent && !value && this._tTime < this._tDur && this !== _globalTimeline && _globalTimeline.add(this);
|
|
220
222
|
if(this._ps!==i){this._ps=i;if(i){this._pTime=this._tTime||Math.max(-this._delay,this.rawTime());// if the pause occurs during the delay phase, make sure that's factored in when resuming.
|
|
221
223
|
this._ts=this._act=0;// _ts is the functional timeScale, so a paused tween would effectively have a timeScale of 0. We record the "real" timeScale as _rts (recorded time scale)
|
|
222
224
|
}else{qi();this._ts=this._rts;//only defer to _pTime (pauseTime) if tTime is zero. Remember, someone could pause() an animation, then scrub the playhead and resume(). If the parent doesn't have smoothChildTiming, we render at the rawTime() because the startTime won't get updated.
|
|
223
|
-
|
|
224
|
-
}}return this};i.startTime=function t(i){if(arguments.length){this._start=Mt(i);var e=this.parent||this._dp;e&&(e._sort||!this.parent)&&$t(e,this,this._start-this._delay);return this}return this._start};i.endTime=function t(i){return this._start+(
|
|
225
|
+
// At progress===1, nudge _tTime so the resume render runs (autoRemoveChildren / progress(1).pause().play()). Don't suppress if a never-rendered zero-duration child (e.g. delayedCall(0) scheduled while idle) sits on the playhead — suppress would complete it silently and it would never fire.
|
|
226
|
+
var e=this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,n=this.progress()===1&&Math.abs(this._zTime)!==y,r;if(n){this._tTime-=y;r=this._first;while(r){if(!r._dur&&r._zTime<0&&r._ts&&r._start<=e+y){n=false;break}r=r._next}}this.totalTime(e,n)}}return this};i.startTime=function t(i){if(arguments.length){this._start=Mt(i);var e=this.parent||this._dp;e&&(e._sort||!this.parent)&&$t(e,this,this._start-this._delay);return this}return this._start};i.endTime=function t(i){return this._start+(B(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)};i.rawTime=function t(i){var e=this.parent||this._dp;// _dp = detached parent
|
|
225
227
|
return!e?this._tTime:i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:Ut(e.rawTime(i),this)};i.revert=function t(i){if(i===void 0){i=ot}var e=g;g=i;if(kt(this)){this.timeline&&this.timeline.revert(i);this.totalTime(-.01,i.suppressEvents)}this.data!=="nested"&&i.kill!==false&&this.kill();g=e;return this};i.globalTime=function t(i){var e=this,n=arguments.length?i:e.rawTime();while(e){n=e._start+n/(Math.abs(e._ts)||1);e=e._dp}return!this.parent&&this._sat?this._sat.globalTime(i):n;// the _startAt tweens for .fromTo() and .from() that have immediateRender should always be FIRST in the timeline (important for context.revert()). "_sat" stands for _startAtTween, referring to the parent tween that created the _startAt. We must discern if that tween had immediateRender so that we can know whether or not to prioritize it in revert().
|
|
226
|
-
};i.repeat=function t(i){if(arguments.length){this._repeat=i===Infinity?-2:i;return ni(this)}return this._repeat===-2?Infinity:this._repeat};i.repeatDelay=function t(i){if(arguments.length){var e=this._time;this._rDelay=i;ni(this);return e?this.time(e):this}return this._rDelay};i.yoyo=function t(i){if(arguments.length){this._yoyo=i;return this}return this._yoyo};i.seek=function t(i,e){return this.totalTime(si(this,i),
|
|
228
|
+
};i.repeat=function t(i){if(arguments.length){this._repeat=i===Infinity?-2:i;return ni(this)}return this._repeat===-2?Infinity:this._repeat};i.repeatDelay=function t(i){if(arguments.length){var e=this._time;this._rDelay=i;ni(this);return e?this.time(e):this}return this._rDelay};i.yoyo=function t(i){if(arguments.length){this._yoyo=i;return this}return this._yoyo};i.seek=function t(i,e){return this.totalTime(si(this,i),B(e))};i.restart=function t(i,e){this.play().totalTime(i?-this._delay:0,B(e));this._dur||(this._zTime=-y);// ensures onComplete fires on a zero-duration animation that gets restarted.
|
|
227
229
|
return this};i.play=function t(i,e){i!=null&&this.seek(i,e);return this.reversed(false).paused(false)};i.reverse=function t(i,e){i!=null&&this.seek(i||this.totalDuration(),e);return this.reversed(true).paused(false)};i.pause=function t(i,e){i!=null&&this.seek(i,e);return this.paused(true)};i.resume=function t(){return this.paused(false)};i.reversed=function t(i){if(arguments.length){!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-y:0));// in case timeScale is zero, reversing would have no effect so we use _tinyNum.
|
|
228
230
|
return this}return this._rts<0};i.invalidate=function t(){this._initted=this._act=0;this._zTime=-y;return this};i.isActive=function t(){var i=this.parent||this._dp,e=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(true))>=e&&n<this.endTime(true)-y)};i.eventCallback=function t(i,e,n){var r=this.vars;if(arguments.length>1){if(!e){delete r[i]}else{r[i]=e;n&&(r[i+"Params"]=n);i==="onUpdate"&&(this._onUpdate=e)}return this}return r[i]};i.then=function t(i){var e=this,n=e._prom;return new Promise((function(t){var r=P(i)?i:Pt,s=function i(){var s=e.then;e.then=null;// temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322)
|
|
229
|
-
n&&n();P(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=s);t(r);e.then=s};if(e._initted&&e.totalProgress()===1&&e._ts>=0||!e._tTime&&e._ts<0){s()}else{e._prom=s}}))};i.kill=function t(){
|
|
231
|
+
n&&n();P(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=s);t(r);e.then=s};if(e._initted&&e.totalProgress()===1&&e._ts>=0||!e._tTime&&e._ts<0){s()}else{e._prom=s}}))};i.kill=function t(){Bi(this)};return t}();Ot(ae.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-y,_prom:0,_ps:false,_rts:1});
|
|
230
232
|
/*
|
|
231
233
|
* -------------------------------------------------
|
|
232
234
|
* TIMELINE
|
|
233
235
|
* -------------------------------------------------
|
|
234
|
-
*/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=
|
|
235
|
-
e.staggerTo=function t(i,e,n,r,s,o,a){n.duration=e;n.stagger=n.stagger||r;n.onComplete=o;n.onCompleteParams=a;n.parent=this;new be(i,n,si(this,s));return this};e.staggerFrom=function t(i,e,n,r,s,o,a){n.runBackwards=1;Rt(n).immediateRender=
|
|
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&&Qt(c(n),i.scrollTrigger);return n}var e=i.prototype;e.to=function t(i,e,n){oi(0,arguments,this);return this};e.from=function t(i,e,n){oi(1,arguments,this);return this};e.fromTo=function t(i,e,n,r){oi(2,arguments,this);return this};e.set=function t(i,e,n){e.duration=0;e.parent=this;Rt(e).repeatDelay||(e.repeat=0);e.immediateRender=!!e.immediateRender;new be(i,e,si(this,n),1);return this};e.call=function t(i,e,n){return $t(this,be.delayedCall(0,i,e),n)}//ONLY for backward compatibility! Maybe delete?;
|
|
237
|
+
e.staggerTo=function t(i,e,n,r,s,o,a){n.duration=e;n.stagger=n.stagger||r;n.onComplete=o;n.onCompleteParams=a;n.parent=this;new be(i,n,si(this,s));return this};e.staggerFrom=function t(i,e,n,r,s,o,a){n.runBackwards=1;Rt(n).immediateRender=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),
|
|
236
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.
|
|
237
239
|
u=this._zTime<0!==i<0&&(this._initted||!o),f,h,l,c,d,m,v,p,C,w,M,b;this!==N&&a>s&&i>=0&&(a=s);if(a!==this._tTime||n||u){if(r!==this._time&&o){
|
|
238
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).
|
|
@@ -254,13 +256,13 @@ if(M&&c&1){f=o-f;b=1}
|
|
|
254
256
|
ensure that zero-duration tweens at the very beginning or end of the Timeline work.
|
|
255
257
|
*/if(c!==w&&!this._lock){var j=M&&w&1,x=j===(M&&c&1);c<w&&(j=!j);r=j?0:a%o?o:a;// if the playhead is landing exactly at the end of an iteration, use that totalTime rather than only the duration, otherwise it'll skip the 2nd render since it's effectively at the same time.
|
|
256
258
|
this._lock=1;this.render(r||(b?0:Mt(c*d)),e,!o)._lock=0;this._tTime=a;// if a user gets the iteration() inside the onRepeat, for example, it should be accurate.
|
|
257
|
-
!e&&this.parent&&
|
|
259
|
+
!e&&this.parent&&Ei(this,"onRepeat");if(this.vars.repeatRefresh&&!b){this.invalidate()._lock=1;w=c;// otherwise, the onStart() may fire on the 2nd iteration.
|
|
258
260
|
}if(r&&r!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){
|
|
259
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.
|
|
260
262
|
return this}o=this._dur;// in case the duration changed in the onRepeat
|
|
261
263
|
s=this._tDur;if(x){this._lock=2;r=j?o:-1e-4;this.render(r,true);this.vars.repeatRefresh&&!b&&this.invalidate()}this._lock=0;if(!this._ts&&!m){return this}}}if(this._hasPause&&!this._forcing&&this._lock<2){v=ii(this,Mt(r),Mt(f));if(v){a-=f-(f=v._start)}}this._tTime=a;this._time=f;this._act=!!p;// as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.
|
|
262
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}).
|
|
263
|
-
}if(!r&&a&&o&&!e&&!w){
|
|
265
|
+
}if(!r&&a&&o&&!e&&!w){Ei(this,"onStart");if(this._tTime!==a){
|
|
264
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.
|
|
265
267
|
return this}}if(f>=r&&i>=0){h=this._first;while(h){l=h._next;if((h._act||f>=h._start)&&h._ts&&v!==h){if(h.parent!==this){
|
|
266
268
|
// an extreme edge case - the child's render could do something like kill() the "next" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe.
|
|
@@ -277,10 +279,10 @@ v=0;l&&(a+=this._zTime=k?-y:y);// it didn't finish rendering, so adjust zTime so
|
|
|
277
279
|
break}}h=l}}if(v&&!e){this.pause();v.render(f>=r?0:-y)._zTime=f>=r?1:-1;if(this._ts){
|
|
278
280
|
//the callback resumed playback! So since we may have held back the playhead due to where the pause is positioned, go ahead and jump to where it's SUPPOSED to be (if no pause happened).
|
|
279
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.
|
|
280
|
-
Nt(this);return this.render(i,e,n)}}this._onUpdate&&!e&&
|
|
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){
|
|
281
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.
|
|
282
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.
|
|
283
|
-
if(!e&&!(i<0&&!r)&&(a||r||!s)){
|
|
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=be.delayedCall(0,i)}else{return this}}return this!==i?$t(this,i,e):this;//don't allow a timeline to be added to itself as a child!
|
|
284
286
|
};e.getChildren=function t(i,e,n,r){if(i===void 0){i=true}if(e===void 0){e=true}if(n===void 0){n=true}if(r===void 0){r=-w}var s=[],o=this._first;while(o){if(o._start>=r){if(o instanceof be){e&&s.push(o)}else{n&&s.push(o);i&&s.push.apply(s,o.getChildren(true,e,n))}}o=o._next}return s};e.getById=function t(i){var e=this.getChildren(1,1,1),n=e.length;while(n--){if(e[n].vars.id===i){return e[n]}}};e.remove=function t(i){if(_(i)){return this.removeLabel(i)}if(P(i)){return this.killTweensOf(i)}i.parent===this&&Ht(this,i);if(i===this._recent){this._recent=this._last}return zt(this)};e.totalTime=function i(e,n){if(!arguments.length){return this._tTime}this._forcing=1;if(!this._dp&&this._ts){
|
|
285
287
|
//special case for the global timeline (or any other that has no parent or detached parent).
|
|
286
288
|
this._start=Mt(Ni.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))}t.prototype.totalTime.call(this,e,n);this._forcing=0;return this};e.addLabel=function t(i,e){this.labels[i]=si(this,e);return this};e.removeLabel=function t(i){delete this.labels[i];return this};e.addPause=function t(i,e,n){var r=be.delayedCall(0,e||nt,n);r.data="isPause";this._hasPause=1;return $t(this,r,si(this,i))};e.removePause=function t(i){var e=this._first;i=si(this,i);while(e){if(e._start===i&&e.data==="isPause"){It(e)}e=e._next}};e.killTweensOf=function t(i,e,n){var r=this.getTweensOf(i,n),s=r.length;while(s--){de!==r[s]&&r[s].kill(i,e)}return this};e.getTweensOf=function t(i,e){var n=[],r=mi(i),s=this._first,o=O(e),
|
|
@@ -312,17 +314,17 @@ r=v}}}if(!h||c!==r||me){if(!isNaN(c*r)&&r!==""){
|
|
|
312
314
|
// fun fact: any number multiplied by "" is evaluated as the number 0!
|
|
313
315
|
v=new Se(this._pt,i,e,+c||0,r-(c||0),typeof l==="boolean"?Oe:Pe,0,d);f&&(v.fp=f);a&&v.modifier(a,this,i);return this._pt=v}!l&&!(e in i)&&tt(e,r);return fe.call(this,i,e,c,r,d,u||m.stringFilter,f)}},
|
|
314
316
|
//creates a copy of the vars object and processes any function-based values (putting the resulting values directly into the copy) as well as strings with "random()" in them. It does NOT process relative values.
|
|
315
|
-
le=function t(i,e,n,r,s){P(i)&&(i=we(i,s,e,n,r));if(!
|
|
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.
|
|
316
318
|
h=a._props.length;while(h--){f[a._props[h]]=u}}}return a},de,
|
|
317
319
|
//store a reference temporarily so we can avoid overwriting itself.
|
|
318
|
-
me,ve=function t(i,e,n){var r=i.vars,s=r.ease,o=r.startAt,a=r.immediateRender,u=r.lazy,f=r.onUpdate,h=r.runBackwards,l=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=i._dur,C=i._startAt,M=i._targets,b=i.parent,j=b&&b.data==="nested"?b.vars.targets:M,x=i._overwrite==="auto"&&!p,k=i.timeline,F=r.easeReverse||l,_,P,O,Z,
|
|
320
|
+
me,ve=function t(i,e,n){var r=i.vars,s=r.ease,o=r.startAt,a=r.immediateRender,u=r.lazy,f=r.onUpdate,h=r.runBackwards,l=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=i._dur,C=i._startAt,M=i._targets,b=i.parent,j=b&&b.data==="nested"?b.vars.targets:M,x=i._overwrite==="auto"&&!p,k=i.timeline,F=r.easeReverse||l,_,P,O,Z,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.
|
|
319
321
|
if(i._from)i.ratio=1;if(!k||c&&!r.stagger){
|
|
320
322
|
//if there's an internal timeline, skip all the parsing because we passed that task down the chain.
|
|
321
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.
|
|
322
324
|
_=Tt(r,at);if(C){C._zTime<0&&C.progress(1);// in case it's a lazy startAt that hasn't rendered yet.
|
|
323
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)
|
|
324
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.
|
|
325
|
-
C._lazy=0}if(o){It(i._startAt=be.set(M,Ot({data:"isStart",overwrite:false,parent:b,immediateRender:true,lazy:!C&&
|
|
327
|
+
C._lazy=0}if(o){It(i._startAt=be.set(M,Ot({data:"isStart",overwrite:false,parent:b,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);
|
|
326
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.
|
|
327
329
|
i._startAt._sat=i;// used in globalTime(). _sat stands for _startAtTween
|
|
328
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.
|
|
@@ -334,14 +336,14 @@ e&&(i._zTime=e);return;//we skip initialization here so that overwriting doesn't
|
|
|
334
336
|
if(!C){e&&(a=false);//in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0
|
|
335
337
|
O=Ot({overwrite:false,data:"isFromStart",
|
|
336
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.
|
|
337
|
-
lazy:a&&!C&&
|
|
339
|
+
lazy:a&&!C&&B(u),immediateRender:a,
|
|
338
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)
|
|
339
341
|
stagger:0,parent:b},_);z&&(O[Y.prop]=z);// in case someone does something like .from(..., {css:{}})
|
|
340
342
|
It(i._startAt=be.set(M,O));i._startAt._dp=0;// don't allow it to get put back into root timeline!
|
|
341
343
|
i._startAt._sat=i;// used in globalTime()
|
|
342
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
|
|
343
|
-
}else if(!e){return}}}i._pt=i._ptCache=0;u=m&&
|
|
344
|
-
I=j===M?P:j.indexOf(
|
|
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=j===M?P:j.indexOf(E);if(Y&&(S=new Y).init(E,z||_,i,I,j)!==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,j))){S.priority&&(T=1)}else{H[O]=Z=he.call(i,E,O,"get",_[O],I,j,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!!!
|
|
345
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.
|
|
346
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.
|
|
347
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.
|
|
@@ -357,28 +359,28 @@ i.vars[e]="+=0";ve(i,a);me=0;return u?it(e+" not eligible for reset. Try splitti
|
|
|
357
359
|
}f.push(h)}}d=f.length;while(d--){l=f[d];h=l._pt||l;// complex values may have nested PropTweens. We only accommodate the FIRST value.
|
|
358
360
|
h.s=(r||r===0)&&!s?r:h.s+(r||0)+o*h.c;h.c=n-h.s;l.e&&(l.e=yt(n)+fi(l.e));// mainly for CSSPlugin (end value)
|
|
359
361
|
l.b&&(l.b=h.s+fi(l.b));// (beginning value)
|
|
360
|
-
}},ge=function t(i,e){var n=i[0]?gt(i[0]).harness:0,r=n&&n.aliases,s,o,a,u;if(!r){return e}s=
|
|
362
|
+
}},ge=function t(i,e){var n=i[0]?gt(i[0]).harness:0,r=n&&n.aliases,s,o,a,u;if(!r){return e}s=Et({},e);for(o in r){if(o in s){u=r[o].split(",");a=u.length;while(a--){s[u[a]]=s[o]}}}return s},
|
|
361
363
|
// parses multiple formats, like {"0%": {x: 100}, {"50%": {x: -20}} and { x: {"0%": 100, "50%": -20} }, and an "ease" can be set on any object. We populate an "allProps" object with an Array for each property, like {x: [{}, {}], y:[{}, {}]} with data for each property tween. The objects have a "t" (time), "v", (value), and "e" (ease) property. This allows us to piece together a timeline later.
|
|
362
364
|
Ce=function t(i,e,n,r){var s=e.ease||r||"power1.inOut",o,a;if(S(e)){a=n[i]||(n[i]=[]);// t = time (out of 100), v = value, e = ease
|
|
363
|
-
e.forEach((function(t,i){return a.push({t:i/(e.length-1)*100,v:t,e:s})}))}else{for(o in e){a=n[o]||(n[o]=[]);o==="ease"||a.push({t:parseFloat(i),v:e[o],e:s})}}},we=function t(i,e,n,r,s){return P(i)?i.call(e,n,r,s):_(i)&&~i.indexOf("random(")?_i(i):i},ye=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Me={};wt(ye+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Me[t]=1}));
|
|
365
|
+
e.forEach((function(t,i){return a.push({t:i/(e.length-1)*100,v:t,e:s})}))}else{for(o in e){a=n[o]||(n[o]=[]);o==="ease"||a.push({t:parseFloat(i),v:e[o],e:s})}}},we=function t(i,e,n,r,s){return P(i)?i.call(e,n,r,s):_(i)&&~i.indexOf("random(")?_i(i):i},ye=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Me={};wt(ye+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Me[t]=1}));ye=ye.split(",");
|
|
364
366
|
/*
|
|
365
367
|
* --------------------------------------------------------------------------------------
|
|
366
368
|
* TWEEN
|
|
367
369
|
* --------------------------------------------------------------------------------------
|
|
368
370
|
*/var be=function(t){d(i,t);function i(i,e,n,r){var s;if(typeof e==="number"){n.duration=e;e=n;n=null}s=t.call(this,r?e:Rt(e))||this;var o=s.vars,a=o.duration,u=o.delay,f=o.immediateRender,h=o.stagger,l=o.overwrite,d=o.keyframes,v=o.defaults,g=o.scrollTrigger,C=e.parent||N,w=(S(i)||Y(i)?O(i[0]):"length"in e)?[i]:mi(i),M,b,j,x,k,F,_,P;s._targets=w.length?pt(w):it("GSAP target "+i+" not found. https://gsap.com",!m.nullTargetWarn)||[];s._ptLookup=[];//PropTween lookup. An array containing an object for each target, having keys for each tweening property
|
|
369
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.
|
|
370
|
-
M.kill();M.parent=M._dp=c(s);M._start=0;if(h||R(a)||R(u)){x=w.length;_=h&&gi(h);if(
|
|
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)){
|
|
371
373
|
//users can pass in callbacks like onStart/onComplete in the stagger object. These should fire with each individual tween.
|
|
372
|
-
for(k in h){if(~ye.indexOf(k)){P||(P={});P[k]=h[k]}}}for(b=0;b<x;b++){j=Tt(e,Me);j.stagger=0;Z&&(j.easeReverse=Z);P&&
|
|
374
|
+
for(k in h){if(~ye.indexOf(k)){P||(P={});P[k]=h[k]}}}for(b=0;b<x;b++){j=Tt(e,Me);j.stagger=0;Z&&(j.easeReverse=Z);P&&Et(j,P);F=w[b];//don't just copy duration or delay because if they're a string or function, we'd end up in an infinite loop because _isFuncOrString() would evaluate as true in the child tweens, entering this loop, etc. So we parse the value straight from vars and default to 0.
|
|
373
375
|
j.duration=+we(a,c(s),b,F,w);j.delay=(+we(u,c(s),b,F,w)||0)-s._delay;if(!h&&x===1&&j.delay){
|
|
374
376
|
// if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat.
|
|
375
377
|
s._delay=u=j.delay;s._start+=u;j.delay=0}M.to(F,j,_?_(b,F,w):0);M._ease=Wi.none}M.duration()?a=u=0:s.timeline=0;// if the timeline's duration is 0, we don't need a timeline internally!
|
|
376
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.
|
|
377
379
|
}else{j={};for(k in d){k==="ease"||k==="easeEach"||Ce(k,d[k],j,d.easeEach)}for(k in j){H=j[k].sort((function(t,i){return t.t-i.t}));T=0;for(b=0;b<H.length;b++){I=H[b];z={ease:I.e,duration:(I.t-(b?H[b-1].t:0))/100*a};z[k]=I.v;M.to(w,z,T);T+=z.duration}}M.duration()<a&&M.to({},{duration:a-M.duration()});// in case keyframes didn't go to 100%
|
|
378
380
|
}}a||s.duration(a=M.duration())}else{s.timeline=0;//speed optimization, faster lookups (no going up the prototype chain)
|
|
379
|
-
}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)&&
|
|
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)&&Vt(c(s))&&C.data!=="nested"){s._tTime=-y;//forces a render without having to set the render() "force" parameter to true because we want to allow lazying by default (using the "force" parameter always forces an immediate full render)
|
|
380
382
|
s.render(Math.max(0,-u)||0);//in case delay is negative
|
|
381
|
-
}g&&
|
|
383
|
+
}g&&Qt(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){
|
|
382
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)
|
|
383
385
|
f=u;p=this.timeline;if(this._repeat){
|
|
384
386
|
//adjust the time for repeats and yoyos
|
|
@@ -393,19 +395,19 @@ this._tTime=u;return this}if(l!==d){
|
|
|
393
395
|
if(this.vars.repeatRefresh&&!m&&!this._lock&&f!==c&&this._initted){
|
|
394
396
|
// this._time will === cycleDuration when we render at EXACTLY the end of an iteration. Without this condition, it'd often do the repeatRefresh render TWICE (again on the very next tick).
|
|
395
397
|
this._lock=n=1;//force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick.
|
|
396
|
-
this.render(Mt(c*l),true).invalidate()._lock=0}}}if(!this._initted){if(
|
|
398
|
+
this.render(Mt(c*l),true).invalidate()._lock=0}}}if(!this._initted){if(Gt(this,a?i:f,n,e,u)){this._tTime=0;// in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number.
|
|
397
399
|
return this}if(r!==this._time&&!(n&&this.vars.repeatRefresh&&l!==d)){
|
|
398
400
|
// rare edge case - during initialization, an onUpdate in the _startAt (.fromTo()) might force this tween to render at a different spot in which case we should ditch this render() call so that it doesn't revert the values. But we also don't want to dump if we're doing a repeatRefresh render!
|
|
399
401
|
return this}if(o!==this._dur){
|
|
400
402
|
// while initting, a plugin like InertiaPlugin might alter the duration, so rerun from the start to ensure everything renders as it should.
|
|
401
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.
|
|
402
|
-
this._lazy=0}if(!r&&u&&!e&&!d){
|
|
404
|
+
this._lazy=0}if(!r&&u&&!e&&!d){Ei(this,"onStart");if(this._tTime!==u){
|
|
403
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.
|
|
404
406
|
return this}}h=this._pt;while(h){h.r(v,h.d);h=h._next}p&&p.render(i<0?i:p._dur*p._ease(f/this._dur),e,n)||this._startAt&&(this._zTime=i);if(this._onUpdate&&!e){a&&Dt(this,i,e,n);//note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.
|
|
405
|
-
|
|
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&&Dt(this,i,true,true);(i||!o)&&(u===this._tDur&&this._ts>0||!u&&this._ts<0)&&It(this,1);// don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.
|
|
406
408
|
if(!e&&!(a&&!r)&&(u||r||m)){
|
|
407
409
|
// if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();
|
|
408
|
-
|
|
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){
|
|
409
411
|
// "soft" gives us a way to clear out everything EXCEPT the recorded pre-"from" portion of from() tweens. Otherwise, for example, if you tween.progress(1).render(0, true true).invalidate(), the "from" values would persist and then on the next render, the from() tweens would initialize and the current value would match the "from" values, thus animate from the same value to the same value (no animation). We tap into this in ScrollTrigger's refresh() where we must push a tween to completion and then back again but honor its init state in case the tween is dependent on another tween further up on the page.
|
|
410
412
|
(!e||!this.vars.runBackwards)&&(this._startAt=0);this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0;this._ptLookup=[];this.timeline&&this.timeline.invalidate(e);return t.prototype.invalidate.call(this,e)};e.resetTo=function t(i,e,n,r,s){Ui||Ni.wake();this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts),a;this._initted||ve(this,o);a=this._ease(o/this._dur);// don't just get tween.ratio because it may not have rendered yet.
|
|
411
413
|
// possible future addition to allow an object with multiple values to update, like tween.resetTo({x: 100, y: 200}); At this point, it doesn't seem worth the added kb given the fact that most users will likely opt for the convenient gsap.quickTo() way of interacting with this method.
|
|
@@ -418,11 +420,11 @@ Bi(this,u===s?"onComplete":"onReverseComplete",true);this._prom&&!(u<s&&this.tim
|
|
|
418
420
|
// } else {
|
|
419
421
|
if(pe(this,i,e,n,r,a,o,s)){return this.resetTo(i,e,n,r,1);// if a PropTween wasn't found for the property, it'll get forced with a re-initialization so we need to jump out and start over again.
|
|
420
422
|
}//}
|
|
421
|
-
qt(this,0);this.parent||St(this._dp,this,"_first","_last",this._dp._sort?"_start":0);return this.render(0)};e.kill=function t(i,e){if(e===void 0){e="all"}if(!i&&(!e||e==="all")){this._lazy=this._pt=0;this.parent?
|
|
423
|
+
qt(this,0);this.parent||St(this._dp,this,"_first","_last",this._dp._sort?"_start":0);return this.render(0)};e.kill=function t(i,e){if(e===void 0){e="all"}if(!i&&(!e||e==="all")){this._lazy=this._pt=0;this.parent?Bi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!g);return this}if(this.timeline){var n=this.timeline.totalDuration();this.timeline.killTweensOf(i,e,de&&de.vars.overwrite!==true)._first||Bi(this);// if nothing is left tweening, interrupt.
|
|
422
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.
|
|
423
|
-
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
|
|
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"){
|
|
424
426
|
//so people can pass in a comma-delimited list of property names
|
|
425
|
-
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&&
|
|
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.
|
|
426
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)
|
|
427
429
|
};i.fromTo=function t(i,e,n){return oi(2,arguments)};i.set=function t(e,n){n.duration=0;n.repeatDelay||(n.repeat=0);return new i(e,n)};i.killTweensOf=function t(i,e,n){return N.killTweensOf(i,e,n)};return i}(ae);Ot(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});//add the pertinent timeline methods to Tween instances so that users can chain conveniently and create a timeline automatically. (removed due to concerns that it'd ultimately add to more confusion especially for beginners)
|
|
428
430
|
// _forEachName("to,from,fromTo,set,call,add,addLabel,addPause", name => {
|
|
@@ -443,12 +445,12 @@ r=e.b}else if(i===1&&e.e){
|
|
|
443
445
|
//e = ending string
|
|
444
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.
|
|
445
447
|
n=n._next}r+=e.c;//we use the "c" of the PropTween to store the final chunk of non-numeric text.
|
|
446
|
-
}e.set(e.t,e.p,r,e)},
|
|
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)
|
|
447
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)
|
|
448
450
|
var Se=function(){function t(t,i,e,n,r,s,o,a,u){this.t=i;this.s=n;this.c=r;this.p=e;this.r=s||Pe;this.d=o||this;this.set=a||je;this.pr=u||0;this._next=t;if(t){t._prev=this}}var i=t.prototype;i.modifier=function t(i,e,n){this.mSet=this.mSet||this.set;//in case it was already set (a PropTween can only have one modifier)
|
|
449
451
|
this.set=Re;this.m=i;this.mt=n;//modifier target
|
|
450
452
|
this.tween=e};return t}();//Initialization tasks
|
|
451
|
-
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}));
|
|
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}));Q.TweenMax=Q.TweenLite=be;Q.TimelineLite=Q.TimelineMax=ue;N=new ue({sortChildren:false,defaults:v,autoRemoveChildren:true,id:"root",smoothChildTiming:true});m.stringFilter=Xi;var He=[],Ie={},ze=[],Le=0,De=0,Ve=function t(i){return(Ie[i]||ze).map((function(t){return t()}))},Ae=function t(){var i=Date.now(),e=[];if(i-Le>2){Ve("matchMediaInit");He.forEach((function(t){var i=t.queries,n=t.conditions,r,s,o,a;for(s in i){r=q.matchMedia(i[s]).matches;// Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
|
|
452
454
|
r&&(o=1);if(r!==n[s]){n[s]=r;a=1}}if(a){t.revert();o&&e.push(t)}}));Ve("matchMediaRevert");e.forEach((function(t){return t.onMatch(t,(function(i){return t.add(null,i)}))}));Le=i;Ve("matchMedia")}};var Xe=function(){function t(t,i){this.selector=i&&vi(i);this.data=[];this._r=[];// returned/cleanup functions
|
|
453
455
|
this.isReverted=false;this.id=De++;// to work around issues that frameworks like Vue cause by making things into Proxies which make it impossible to do something like _media.indexOf(this) because "this" would no longer refer to the Context instance itself - it'd refer to a Proxy! We needed a way to identify the context uniquely
|
|
454
456
|
t&&this.add(t)}var i=t.prototype;i.add=function t(i,e,n){
|
|
@@ -466,18 +468,18 @@ e=n.data.length;while(e--){
|
|
|
466
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
|
|
467
469
|
}}else{!(r instanceof be)&&r.revert&&r.revert(i)}}n._r.forEach((function(t){return t(i,n)}));n.isReverted=true})()}else{this.data.forEach((function(t){return t.kill&&t.kill()}))}this.clear();if(e){var r=He.length;while(r--){
|
|
468
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.
|
|
469
|
-
He[r].id===this.id&&He.splice(r,1)}}}// killWithCleanup() {;
|
|
470
|
-
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){
|
|
471
|
-
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)}}}u&&e(r,(function(t){return r.add(null,t)}));return this}// refresh() {;
|
|
471
|
+
He[r].id===this.id&&He.splice(r,1)}this._mqs&&this._mqs.forEach((function(t){return t.removeListener?t.removeListener(Ae):t.removeEventListener("change",Ae)}));this._mqs=null}}// killWithCleanup() {;
|
|
472
|
+
i.revert=function t(i){this.kill(i||{})};return t}();var Ue=function(){function t(t){this.contexts=[];this.scope=t;C&&C.data.push(this)}var i=t.prototype;i.add=function t(i,e,n){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){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() {;
|
|
472
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}();
|
|
473
475
|
/*
|
|
474
476
|
* --------------------------------------------------------------------------------------
|
|
475
477
|
* GSAP
|
|
476
478
|
* --------------------------------------------------------------------------------------
|
|
477
479
|
*/var Ne={registerPlugin:function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}e.forEach((function(t){return Yi(t)}))},timeline:function t(i){return new ue(i)},getTweensOf:function t(i,e){return N.getTweensOf(i,e)},getProperty:function t(i,e,n,r){_(i)&&(i=mi(i)[0]);//in case selector text or an array is passed in
|
|
478
|
-
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
|
|
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 Qe.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,
|
|
479
481
|
// in case it's an alias, like "rotate" for "rotation".
|
|
480
|
-
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&&
|
|
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=Qe.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]&&!Q[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).
|
|
481
483
|
n._time=n._tTime=N._time;r=N._first;while(r){s=r._next;if(e||!(!r._dur&&r instanceof be&&r.vars.onComplete===r._targets[0])){$t(n,r,r._start-r._delay)}r=s}$t(N,n,0);return n},context:function t(i,e){return i?new Xe(i,e):C},matchMedia:function t(i){return new Ue(i)},matchMediaRefresh:function t(){return He.forEach((function(t){var i=t.conditions,e,n;for(n in i){if(i[n]){i[n]=false;e=1}}e&&t.revert()}))||Ae()},addEventListener:function t(i,e){var n=Ie[i]||(Ie[i]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function t(i,e){var n=Ie[i],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:ki,wrapYoyo:Fi,distribute:gi,random:yi,snap:wi,normalize:ji,getUnit:fi,clamp:hi,splitColor:zi,toArray:mi,selector:vi,mapRange:Pi,pipe:Mi,unitize:bi,interpolate:Oi,shuffle:pi},install:K,effects:ct,ticker:Ni,updateRoot:ue.updateRoot,plugins:lt,globalTimeline:N,core:{PropTween:Se,globals:et,Tween:be,Timeline:ue,Animation:ae,getCache:gt,_removeLinkedListItem:Ht,reverting:function t(){return g},context:function t(i){if(i&&C){C.data.push(i);i._ctx=C}return C},suppressOverwrites:function t(i){return p=i}}};wt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Ne[t]=be[t]}));Ni.add(ue.updateRoot);Ti=Ne.to({},{duration:0});// ---- EXTRA PLUGINS --------------------------------------------------------
|
|
482
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){
|
|
483
485
|
// is a plugin
|
|
@@ -485,37 +487,37 @@ o=qe(o,r)}o&&o.modifier&&o.modifier(e[r],i,n[s],r)}}}},$e=function t(i,e){return
|
|
|
485
487
|
//don't pre-process function-based values or "random()" strings.
|
|
486
488
|
init:function t(i,n,r){r._onInit=function(t){var i,r;if(_(n)){i={};wt(n,(function(t){return i[t]=1}));//if the user passes in a comma-delimited list of property names to roundProps, like "x,y", we round to whole numbers.
|
|
487
489
|
n=i}if(e){i={};for(r in n){i[r]=e(n[r])}n=i}We(t,n)}}}};//register core plugins
|
|
488
|
-
var
|
|
490
|
+
var Qe=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()
|
|
489
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)
|
|
490
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.
|
|
491
|
-
be.version=ue.version=
|
|
493
|
+
be.version=ue.version=Qe.version="3.15.1";J=1;T()&&qi();
|
|
492
494
|
/*!
|
|
493
|
-
* CSSPlugin 3.15.
|
|
495
|
+
* CSSPlugin 3.15.1
|
|
494
496
|
* https://gsap.com
|
|
495
497
|
*
|
|
496
498
|
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
497
499
|
* Subject to the terms at https://gsap.com/standard-license
|
|
498
500
|
* @author: Jack Doyle, jack@greensock.com
|
|
499
|
-
*/var
|
|
501
|
+
*/var Ge,Je,Ke,tn,en,nn,rn,sn=function t(){return typeof window!=="undefined"},on={},an=180/Math.PI,un=Math.PI/180,fn=Math.atan2,hn=1e8,ln=/([A-Z])/g,cn=/(left|right|width|margin|padding|x)/i,dn=/[\s,\(]\S/,mn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vn=function t(i,e){return e.set(e.t,e.p,Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},pn=function t(i,e){return e.set(e.t,e.p,i===1?e.e:Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},gn=function t(i,e){return e.set(e.t,e.p,i?Math.round((e.s+e.c*i)*1e4)/1e4+e.u:e.b,e)},
|
|
500
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)
|
|
501
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)},
|
|
502
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)
|
|
503
505
|
wn=function t(i,e){var n=e.s+e.c*i;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},yn=function t(i,e){return e.set(e.t,e.p,i?e.e:e.b,e)},Mn=function t(i,e){return e.set(e.t,e.p,i!==1?e.b:e.e,e)},bn=function t(i,e,n){return i.style[e]=n},jn=function t(i,e,n){return i.style.setProperty(e,n)},xn=function t(i,e,n){return i._gsap[e]=n},kn=function t(i,e,n){return i._gsap.scaleX=i._gsap.scaleY=n},Fn=function t(i,e,n,r,s){var o=i._gsap;o.scaleX=o.scaleY=n;o.renderTransform(s,o)},_n=function t(i,e,n,r,s){var o=i._gsap;o[e]=n;o.renderTransform(s,o)},Pn="transform",On=Pn+"Origin",Zn=function t(i,e){var n=this;var r=this.target,s=r.style,o=r._gsap;if(i in on&&s){this.tfm=this.tfm||{};if(i!=="transform"){i=mn[i]||i;~i.indexOf(",")?i.split(",").forEach((function(t){return n.tfm[t]=$n(r,t)})):this.tfm[i]=o.x?o[i]:$n(r,i);// note: scale would map to "scaleX,scaleY", thus we loop and apply them both.
|
|
504
|
-
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])},
|
|
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){
|
|
505
507
|
// stored like this: property, isNotCSS, value
|
|
506
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){
|
|
507
509
|
// non-CSS value (function-based)
|
|
508
510
|
e[i[s]](i[s+2])}else{
|
|
509
511
|
// non-CSS value (not function-based)
|
|
510
|
-
e[i[s]]=i[s+2]}}if(this.tfm){for(o in this.tfm){r[o]=this.tfm[o]}if(r.svg){r.renderTransform();e.setAttribute("data-svg-origin",this.svgo||"")}s=rn();if((!s||!s.isStart)&&!n[Pn]){
|
|
512
|
+
e[i[s]]=i[s+2]}}if(this.tfm){for(o in this.tfm){r[o]=this.tfm[o]}if(r.svg){r.renderTransform();e.setAttribute("data-svg-origin",this.svgo||"")}s=rn();if((!s||!s.isStart)&&!n[Pn]){En(n);if(r.zOrigin&&n[On]){n[On]+=" "+r.zOrigin+"px";// since we're uncaching, we must put the zOrigin back into the transformOrigin so that we can pull it out accurately when we parse again. Otherwise, we'd lose the z portion of the origin since we extract it to protect from Safari bugs.
|
|
511
513
|
r.zOrigin=0;r.renderTransform()}r.uncache=1;// if it's a startAt that's being reverted in the _initTween() of the core, we don't need to uncache transforms. This is purely a performance optimization.
|
|
512
|
-
}}},Tn=function t(i,e){var n={target:i,props:[],revert:
|
|
514
|
+
}}},Tn=function t(i,e){var n={target:i,props:[],revert:Bn,save:Zn};i._gsap||Qe.core.getCache(i);// just make sure there's a _gsap cache defined because we read from it in _saveStyle() and it's more efficient to just check it here once.
|
|
513
515
|
e&&i.style&&i.nodeType&&e.split(",").forEach((function(t){return n.save(t)}));// make sure it's a DOM node too.
|
|
514
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.
|
|
515
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/).
|
|
516
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.
|
|
517
|
-
},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){
|
|
518
|
-
Rn=!!In("perspective");rn=
|
|
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){Ge=window;Je=Ge.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=Qe.core.reverting;tn=1}},Ln=function t(i){
|
|
519
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).
|
|
520
522
|
var e=i.ownerSVGElement,n=Yn("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=i.cloneNode(true),s;r.style.display="block";n.appendChild(r);Ke.appendChild(n);try{s=r.getBBox()}catch(t){}n.removeChild(r);Ke.removeChild(n);return s},Dn=function t(i,e){var n=e.length;while(n--){if(i.hasAttribute(e[n])){return i.getAttribute(e[n])}}},Vn=function t(i){var e,n;try{e=i.getBBox();//Firefox throws errors if you try calling getBBox() on an SVG element that's not rendered (like in a <symbol> or <defs>). https://bugzilla.mozilla.org/show_bug.cgi?id=612118
|
|
521
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.
|
|
@@ -533,7 +535,7 @@ a=en.style,u=cn.test(e),f=i.tagName.toLowerCase()==="svg",h=(f?"client":"offset"
|
|
|
533
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.
|
|
534
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.
|
|
535
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
|
|
536
|
-
}}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},
|
|
538
|
+
}}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},Qn=function t(i,e,n,r){
|
|
537
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.
|
|
538
540
|
if(!n||n==="none"){
|
|
539
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/
|
|
@@ -548,10 +550,10 @@ a._pt={_next:a._pt,p:w||f===1?w:",",
|
|
|
548
550
|
s:d,c:C-d,m:v&&v<4||e==="zIndex"?Math.round:0}}}a.c=u<r.length?r.substring(u,r.length):"";//we use the "c" of the PropTween to store the final part of the string (after the last number)
|
|
549
551
|
}else{a.r=e==="display"&&r==="none"?Mn:yn}A.test(r)&&(a.e=0);//if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).
|
|
550
552
|
this._pt=a;//start the linked list with this new PropTween. Remember, we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within another plugin too, thus "this" would refer to the plugin.
|
|
551
|
-
return a},
|
|
553
|
+
return a},Gn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jn=function t(i){var e=i.split(" "),n=e[0],r=e[1]||"50%";if(n==="top"||n==="bottom"||r==="left"||r==="right"){
|
|
552
554
|
//the user provided them in the wrong order, so flip them
|
|
553
|
-
i=n;n=r;r=i}e[0]=
|
|
554
|
-
o.uncache=1;
|
|
555
|
+
i=n;n=r;r=i}e[0]=Gn[n]||n;e[1]=Gn[r]||r;return e.join(" ")},Kn=function t(i,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,r=n.style,s=e.u,o=n._gsap,a,u,f;if(s==="all"||s===true){r.cssText="";u=1}else{s=s.split(",");f=s.length;while(--f>-1){a=s[f];if(on[a]){u=1;a=a==="transformOrigin"?On:Pn}Xn(n,a)}}if(u){Xn(n,Pn);if(o){o.svg&&n.removeAttribute("transform");r.scale=r.rotate=r.translate="none";ar(n,1);// force all the cached values back to "normal"/identity, otherwise if there's another tween that's already set to render transforms on this element, it could display the wrong values.
|
|
556
|
+
o.uncache=1;En(r)}}}},
|
|
555
557
|
// note: specialProps should return 1 if (and only if) they have a non-zero priority. It indicates we need to sort the linked list.
|
|
556
558
|
tr={clearProps:function t(i,e,n,r,s){if(s.data!=="isFromStart"){var o=i._pt=new Se(i._pt,e,n,0,0,Kn);o.u=r;o.pr=-10;o.tween=s;i._props.push(n);return 1}}
|
|
557
559
|
/* className feature (about 0.4kb gzipped).
|
|
@@ -638,7 +640,7 @@ a=i.nextElementSibling;Ke.appendChild(i);//we must add it to the DOM in order to
|
|
|
638
640
|
//if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero.
|
|
639
641
|
x=y*(p/j)+M*(-v/j)+(v*C-p*g)/j;k=y*(-m/j)+M*(d/j)-(d*C-m*g)/j;y=x;M=k;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
|
|
640
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).
|
|
641
|
-
if(o){Un(o,a,"xOrigin",f,y);Un(o,a,"yOrigin",h,M);Un(o,a,"xOffset",l,a.xOffset);Un(o,a,"yOffset",c,a.yOffset)}i.setAttribute("data-svg-origin",y+" "+M)},ar=function t(i,e){var n=i._gsap||new oe(i);if("x"in n&&!e&&!n.uncache){return n}var r=i.style,s=n.scaleX<0,o="px",a="deg",u=getComputedStyle(i),f=Sn(i,On)||"0",h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F,_,P,O,Z,B,
|
|
643
|
+
if(o){Un(o,a,"xOrigin",f,y);Un(o,a,"yOrigin",h,M);Un(o,a,"xOffset",l,a.xOffset);Un(o,a,"yOffset",c,a.yOffset)}i.setAttribute("data-svg-origin",y+" "+M)},ar=function t(i,e){var n=i._gsap||new oe(i);if("x"in n&&!e&&!n.uncache){return n}var r=i.style,s=n.scaleX<0,o="px",a="deg",u=getComputedStyle(i),f=Sn(i,On)||"0",h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F,_,P,O,Z,E,B,T,R,Y,S,H,I,z,L,D,V;h=l=c=p=g=C=w=y=M=0;d=v=1;n.svg=!!(i.getCTM&&An(i));if(u.translate){
|
|
642
644
|
// accommodate independent transforms by combining them into normal ones.
|
|
643
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){
|
|
644
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.
|
|
@@ -646,16 +648,16 @@ Y=i.getBBox();f=n.xOrigin-Y.x+"px "+(n.yOrigin-Y.y)+"px";R=""}else{R=!e&&i.getAt
|
|
|
646
648
|
}or(i,R||f,!!R||n.originIsAbsolute,n.smooth!==false,x)}b=n.xOrigin||0;j=n.yOrigin||0;if(x!==ir){P=x[0];//a11
|
|
647
649
|
O=x[1];//a21
|
|
648
650
|
Z=x[2];//a31
|
|
649
|
-
|
|
650
|
-
h=
|
|
651
|
-
if(x.length===6){d=Math.sqrt(P*P+O*O);v=Math.sqrt(
|
|
652
|
-
w=Z||
|
|
651
|
+
E=x[3];//a41
|
|
652
|
+
h=B=x[4];l=T=x[5];//2D matrix
|
|
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-=b-(b*P+j*Z);l-=j-(b*O+j*E)}//3D matrix
|
|
653
655
|
}else{V=x[6];L=x[7];H=x[8];I=x[9];z=x[10];D=x[11];h=x[12];l=x[13];c=x[14];k=fn(V,z);g=k*an;//rotationX
|
|
654
|
-
if(k){F=Math.cos(-k);_=Math.sin(-k);R=
|
|
655
|
-
k=fn(-Z,z);C=k*an;if(k){F=Math.cos(-k);_=Math.sin(-k);R=P*F-H*_;Y=O*F-I*_;S=Z*F-z*_;D=
|
|
656
|
-
k=fn(O,P);p=k*an;if(k){F=Math.cos(k);_=Math.sin(k);R=P*F+O*_;Y=
|
|
656
|
+
if(k){F=Math.cos(-k);_=Math.sin(-k);R=B*F+H*_;Y=T*F+I*_;S=V*F+z*_;H=B*-_+H*F;I=T*-_+I*F;z=V*-_+z*F;D=L*-_+D*F;B=R;T=Y;V=S}//rotationY
|
|
657
|
+
k=fn(-Z,z);C=k*an;if(k){F=Math.cos(-k);_=Math.sin(-k);R=P*F-H*_;Y=O*F-I*_;S=Z*F-z*_;D=E*_+D*F;P=R;O=Y;Z=S}//rotationZ
|
|
658
|
+
k=fn(O,P);p=k*an;if(k){F=Math.cos(k);_=Math.sin(k);R=P*F+O*_;Y=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){
|
|
657
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.
|
|
658
|
-
g=p=0;C=180-C}d=yt(Math.sqrt(P*P+O*O+Z*Z));v=yt(Math.sqrt(T*T+V*V));k=fn(
|
|
660
|
+
g=p=0;C=180-C}d=yt(Math.sqrt(P*P+O*O+Z*Z));v=yt(Math.sqrt(T*T+V*V));k=fn(B,T);w=Math.abs(k)>2e-4?k*an:0;M=D?1/(D<0?-D:D):0}if(n.svg){
|
|
659
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).
|
|
660
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]},
|
|
661
663
|
//for handling transformOrigin values, stripping out the 3rd dimension
|
|
@@ -701,9 +703,9 @@ C=fi(h)||(p in m.units?m.units[p]:g);g!==C&&(c=Wn(i,p,f,C));this._pt=new Se(this
|
|
|
701
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)
|
|
702
704
|
this._pt.b=f;this._pt.r=gn}}else if(!(p in a)){if(p in i){
|
|
703
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.
|
|
704
|
-
this.add(i,p,f||i[p],w?w+h:h,r,s)}else if(p!=="parseTransform"){tt(p,h);continue}}else{
|
|
706
|
+
this.add(i,p,f||i[p],w?w+h:h,r,s)}else if(p!=="parseTransform"){tt(p,h);continue}}else{Qn.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){
|
|
705
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.
|
|
706
|
-
var r=mn[e];r&&r.indexOf(",")<0&&(e=r);return e in on&&e!==On&&(i._gsap.x||$n(i,"x"))?n&&nn===n?e==="scale"?kn:xn:(nn=n||{})&&(e==="scale"?Fn:_n):i.style&&!Z(i.style[e])?bn:~e.indexOf("-")?jn:_e(i,e)},core:{_removeProperty:Xn,_getMatrix:sr}};Ge.utils.checkPrefix=In;Ge.core.getStyleSaver=Tn;(function(t,i,e,n){var r=wt(t+","+i+","+e,(function(t){on[t]=1}));wt(i,(function(t){m.units[t]="deg";er[t]=1}));mn[r[13]]=t+","+i;wt(n,(function(t){var i=t.split(":");mn[i[1]]=r[i[0]]}))})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");wt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){m.units[t]="px"}));Ge.registerPlugin(wr);var yr=Ge.registerPlugin(wr)||Ge;var Mr='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="head-default">\n <path id="border-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" stroke="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))" stroke-width="var(--mds-emoji-mia-head-stroke-width, 2px)" fill="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))"/>\n <path id="path-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" fill="var(--mds-emoji-mia-head-color, rgb(224 207 253))"/>\n </g>\n <g id="eyes-default">\n <path id="left-eye" d="M8 8H10V12H8V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye" d="M14 8H16V12H14V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <g id="eyes-closed" style="visibility:hidden;">\n <path id="left-eye-closed" d="M6 10H10V12H6V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye-closed" d="M14 10H18V12H14V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <path id="mouth-default" d="M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-smile" style="visibility:hidden;" d="M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-serious" style="visibility:hidden;" d="M8 15H16V17H8V15Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="hand-think" style="visibility:hidden;" d="M6 16C6.55228 16 7 16.4477 7 17V18H13C13.5523 18 14 18.4477 14 19C14 19.5523 13.5523 20 13 20H10.3818C11.1252 20 11.6088 20.7824 11.2764 21.4473L10.2764 23.4473C10.107 23.786 9.76059 24 9.38184 24H4V20L5 18V16H6Z" fill="var(--mds-emoji-mia-hands-color, rgb(98 12 245))"/>\n</svg>\n';var br='<svg width="440" height="440" viewBox="0 0 440 440" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="ears-default">\n <g id="ear-right">\n <path id="ear-right-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M351.676 53.2891C356.294 52.7076 360.415 52.9806 363.838 54.3252C364.658 54.6472 365.437 55.0331 366.178 55.4746C368.347 56.9073 370.299 58.8573 372.053 61.2344C385.423 81.3621 375.744 133.891 368.078 161.119C374.135 161.321 386.734 162.455 388.672 165.367C391.094 169.008 380.992 189.032 358.387 195.1C357.17 195.426 355.929 195.687 354.667 195.888C317.523 201.796 244.693 161.119 265.859 130.788C281.528 108.336 324.274 59.2313 351.676 53.2891Z"/>\n <path id="ear-right-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M350.023 84.8079C329.105 90.1196 311.307 114.384 305.023 125.853C299.251 136.387 303.53 147.927 311.277 155C320.553 163.469 334.801 165.535 342.726 151.808C361.778 118.808 355.529 93.3915 350.023 84.8079Z"/>\n <path id="ear-right-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M349.523 84.5C334.523 89 291.523 121 306.523 149"/>\n </g>\n <g id="ear-left">\n <path id="ear-left-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M89.3476 53.2891C84.7294 52.7076 80.6085 52.9806 77.1855 54.3252C76.3658 54.6472 75.5869 55.0331 74.8457 55.4746C72.6763 56.9073 70.7246 58.8573 68.9707 61.2344C55.6008 81.3621 65.2794 133.891 72.9453 161.119C66.8883 161.321 54.2898 162.455 52.3516 165.367C49.9291 169.008 60.0319 189.032 82.6367 195.1C83.8533 195.426 85.0943 195.687 86.3564 195.888C123.5 201.796 196.33 161.119 175.164 130.788C159.496 108.336 116.75 59.2313 89.3476 53.2891Z"/>\n <path id="ear-left-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M91 84.8079C111.919 90.1196 129.716 114.384 136 125.853C141.772 136.387 137.494 147.927 129.747 155C120.471 163.469 106.223 165.535 98.2973 151.808C79.2451 118.808 85.494 93.3915 91 84.8079Z"/>\n <path id="ear-left-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M91.5 84.5C106.5 89 149.5 121 134.5 149"/>\n </g>\n </g>\n <g id="head-default">\n <path id="shape-head" fill="var(--mds-emoji-simi-skin, #F36320)" d="M378.732 217.557C340.98 122.357 268.622 107.557 219.909 107.557C171.197 107.557 98.8384 122.357 61.0863 217.557C50.181 245.057 52.6419 250.557 21.1818 271.057C19.6595 281.557 27.7783 295.057 42.4935 297.057C38.7724 298.224 30.5183 300.557 27.2708 300.557C23.2115 300.557 65.1456 387.557 219.909 387.557C374.673 387.557 416.789 300.057 412.729 300.057C409.482 300.057 401.228 297.724 397.507 296.557C412.222 294.557 420.34 281.057 418.818 270.557C387.358 250.057 389.637 245.057 378.732 217.557Z"/>\n <g id="ear-tufts">\n <g id="right-tuft">\n <path id="right-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M336.411 123.628C333.005 118.799 313.911 124.433 304.789 127.853C295.789 132.254 282.34 139.697 296.289 146.057C313.289 153.808 342.492 168.294 342.492 153.808C343.708 143.547 331.749 140.126 326.681 139.321C331.343 136.102 339.816 128.457 336.411 123.628Z"/>\n <path id="right-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M304.789 127.853C313.911 124.433 333.005 118.799 336.411 123.628C339.816 128.457 331.343 136.102 326.681 139.321C331.749 140.126 343.708 143.547 342.492 153.808"/>\n </g>\n <g id="left-tuft">\n <path id="left-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M104.167 122.628C107.573 117.799 126.667 123.433 135.789 126.853C144.789 131.254 158.239 138.697 144.289 145.057C127.289 152.808 98.0863 167.294 98.0863 152.808C96.8701 142.547 108.83 139.126 113.897 138.321C109.235 135.102 100.762 127.457 104.167 122.628Z"/>\n <path id="left-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M135.789 126.853C126.667 123.433 107.573 117.799 104.167 122.628C100.762 127.457 109.235 135.102 113.897 138.321C108.83 139.126 96.8701 142.547 98.0864 152.808"/>\n </g>\n </g>\n <g id="cheeks">\n <path id="right-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M380.5 290.057C364 262.557 340 266.355 318 279.057C344.5 305.557 344 327.557 330 361.557C384.8 341.157 386.5 305.39 380.5 290.057Z"/>\n <path id="left-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M59.3658 290.057C75.8658 262.557 99.8658 266.355 121.866 279.057C95.3658 305.557 95.8658 327.557 109.866 361.557C55.0658 341.157 53.3658 305.39 59.3658 290.057Z"/>\n </g>\n <path id="chin" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 372.557C256.675 372.557 286 352.186 286 327.057C286 301.928 256.675 260.557 220.5 260.557C184.325 260.557 155 301.928 155 327.057C155 352.186 184.325 372.557 220.5 372.557Z"/>\n </g>\n <g id="eyebrows-default">\n <path id="left-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M175.248 176.007C177.691 183.997 168.289 189.539 152.865 194.255C137.442 198.97 131.072 201.193 128.629 193.203C126.186 185.212 132.802 175.371 148.226 170.655C163.649 165.94 172.805 168.016 175.248 176.007Z"/>\n <path id="right-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M265.189 175.007C262.746 182.997 272.148 188.539 287.572 193.255C302.995 197.97 309.365 200.193 311.808 192.203C314.251 184.212 307.635 174.371 292.211 169.655C276.788 164.94 267.632 167.016 265.189 175.007Z"/>\n </g>\n <g id="eyes-default">\n <g id="right-eye">\n <ellipse id="right-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(12 287.002 249.057)"/>\n <circle id="right-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye">\n <ellipse id="left-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-0.978148 0.207912 0.207912 0.978148 165.139 221.541)"/>\n <circle id="left-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <g id="eyes-closed" style="visibility: hidden;">\n <path id="left-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M125 248.5C137.5 240.5 167.1 241.3 179.5 248.5"/>\n <path id="right-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M315.5 248.5C303 240.5 273.4 241.3 261 248.5"/>\n </g>\n <g id="eyes-focused" style="visibility: hidden;">\n <g id="right-eye-focused">\n <ellipse id="right-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(-90 287.002 249.057)"/>\n <circle id="right-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye-focused">\n <ellipse id="left-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 127.637 230.852)"/>\n <circle id="left-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <path id="gadget-default" fill="var(--mds-emoji-simi-gadget, #2B1C15)" fill-rule="evenodd" clip-rule="evenodd" d="M296 186C327.723 186 353.88 209.825 357.557 240.558H367C370.314 240.558 373 243.244 373 246.558C373 249.871 370.314 252.558 367 252.558H357.834C355.501 284.671 328.709 310 296 310C262.189 310 234.7 282.936 234.014 249.289C230.711 246.983 225.885 245.558 220.5 245.558C215.114 245.558 210.288 246.983 206.985 249.289C206.299 282.936 178.811 310 145 310C112.291 310 85.4993 284.671 83.166 252.558H74C70.6864 252.558 68.0002 249.871 68 246.558C68 243.244 70.6863 240.558 74 240.558H83.4434C87.12 209.825 113.277 186 145 186C175.248 186 200.437 207.662 205.9 236.318C210.539 234.42 215.652 233.558 220.5 233.558C225.348 233.558 230.461 234.419 235.099 236.317C240.563 207.661 265.752 186 296 186ZM145 198C117.386 198 95 220.386 95 248C95 275.614 117.386 298 145 298C172.614 298 195 275.614 195 248C195 220.386 172.614 198 145 198ZM296 198C268.386 198 246 220.386 246 248C246 275.614 268.386 298 296 298C323.614 298 346 275.614 346 248C346 220.386 323.614 198 296 198Z"/>\n <g id="mouth-default">\n <path id="muzzle-shape-mouth-default" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-mouth-default" fill="var(--mds-emoji-simi-mouth, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-default">\n <path id="node-shape-mouth-default" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-default" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-smile" style="visibility: hidden;">\n <g id="inner-mouth">\n <ellipse id="throat-mouth-smile" fill="var(--mds-emoji-simi-mouth-throat, #C3481B)" cx="220.5" cy="326" rx="32.5" ry="29" />\n <path id="teeth-mouth-smile" fill="var(--mds-emoji-simi-mouth-teeth, #FFFFFF)" d="M220.5 329C235.689 329 248.003 331.686 248.003 335C248.003 338.314 235.689 341 220.5 341C205.311 341 192.997 338.314 192.997 335C192.997 331.686 205.311 329 220.5 329Z"/>\n <path id="lips-mouth-smile" stroke="var(--mds-emoji-simi-nose, #2B1C15)" stroke-width="7" d="M220.5 300.5C236.62 300.5 249.5 313.138 249.5 328.5C249.5 343.862 236.62 356.5 220.5 356.5C204.38 356.5 191.5 343.862 191.5 328.5C191.5 313.138 204.38 300.5 220.5 300.5Z" />\n </g>\n <path id="muzzle-shape-mouth-smile" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-smile">\n <path id="nose-shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-smile" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-serious" style="visibility: hidden;">\n <path id="muzzle-shape-mouth-serious" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298C221.933 298 223.5 299.567 223.5 301.5V326.675C224.663 326.774 225.818 326.903 226.821 327.026C227.869 327.155 228.796 327.283 229.462 327.38C229.795 327.428 230.064 327.469 230.251 327.497C230.344 327.511 230.418 327.522 230.469 327.53C230.494 327.534 230.514 327.538 230.527 327.54C230.534 327.541 230.539 327.541 230.543 327.542C230.545 327.542 230.547 327.543 230.548 327.543H230.55C232.459 327.847 233.76 329.641 233.456 331.55C233.152 333.459 231.359 334.76 229.45 334.456C229.45 334.456 229.448 334.456 229.447 334.456C229.445 334.456 229.441 334.455 229.436 334.454C229.426 334.452 229.41 334.451 229.389 334.447C229.345 334.441 229.28 334.43 229.194 334.417C229.023 334.391 228.772 334.353 228.458 334.308C227.83 334.217 226.954 334.095 225.968 333.974C223.947 333.725 221.629 333.5 220 333.5C218.371 333.5 216.053 333.725 214.032 333.974C213.046 334.095 212.17 334.217 211.542 334.308C211.228 334.353 210.977 334.391 210.806 334.417C210.72 334.43 210.655 334.441 210.611 334.447C210.59 334.451 210.574 334.452 210.563 334.454C210.559 334.455 210.555 334.456 210.553 334.456C210.552 334.456 210.55 334.456 210.55 334.456C208.641 334.76 206.848 333.459 206.544 331.55C206.24 329.641 207.541 327.848 209.45 327.544L209.452 327.543C209.453 327.543 209.455 327.542 209.457 327.542C209.461 327.541 209.466 327.541 209.473 327.54C209.486 327.538 209.506 327.534 209.531 327.53C209.582 327.522 209.656 327.511 209.749 327.497C209.936 327.469 210.205 327.428 210.538 327.38C211.204 327.283 212.131 327.155 213.179 327.026C214.182 326.903 215.337 326.774 216.5 326.675V301.5C216.5 299.567 218.067 298 220 298Z" />\n <g id="nose-mouth-serious">\n <path id="nose-shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-serious" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="hand-think" style="visibility: hidden;">\n <path id="shape-hand-think" fill="var(--mds-emoji-simi-skin, #F36320)" d="M237.5 438C238.5 435 241 428.5 243.5 421.5C257.989 413.451 258.739 397.302 255.5 383.467C278 367.934 263.5 350 255.5 350C251.5 340.4 242.5 339 238.5 339.5C244.5 324 233 323.5 229 323.5C225 323.5 202.5 323 189 351C183.4 374.6 195 400.833 201.5 411C200.667 411.5 199 414.5 195.5 420C211 426.5 204 423.5 237.5 438Z" />\n <path id="palm-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M251 369C267 409.5 249.5 416.5 242 423.5L236.5 437.5"/>\n <path id="finger-3-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 382.5C262.5 379.333 273.7 370.1 266.5 358.5C257.5 344 234 360 230 363"/>\n <path id="finger-2-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 350.5C256 338 236.1 329.9 208.5 357.5"/>\n <path id="finger-1-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M196.5 420.5L201.5 410.5C195.167 400 183.8 373.6 189 352C194.2 330.4 218.833 323.667 230.5 323C235.333 322.5 243.9 325.1 239.5 339.5"/>\n </g>\n</svg>\n';var jr=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-emoji-expression-follow-mouse-traits-duration:var(--duration-200,.2s);--mds-emoji-expression-follow-mouse-head-duration:var(--duration-300,.3s);--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:calc(var(--spacing,.0025rem)*10000);align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,calc(var(--spacing,.0025rem)*10000));perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transition:transform var(--duration-200,.2s) ease-out;width:100%}:host([name=mia]){--mds-emoji-mia-eyes-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-offset-eyes:1px;--mds-emoji-offset-gadget:1px;--mds-emoji-offset-hands:2px;--mds-emoji-offset-head:0;--mds-emoji-offset-mouth:1px;container-type:size}:host([name=simi]){--mds-emoji-offset-ears:0;--mds-emoji-offset-eyebrows:10px;--mds-emoji-offset-eyes:7px;--mds-emoji-offset-gadget:14px;--mds-emoji-offset-hands:18px;--mds-emoji-offset-head:5px;--mds-emoji-offset-mouth:16px;--mds-emoji-simi-eye-light:#fff;--mds-emoji-simi-eye:#40281b;--mds-emoji-simi-eyebrow:#feefd8;--mds-emoji-simi-gadget:#2b1c15;--mds-emoji-simi-mouth-teeth:#fff;--mds-emoji-simi-mouth-throat:#c3481b;--mds-emoji-simi-mouth:#2b1c15;--mds-emoji-simi-nose-light:#7e695f;--mds-emoji-simi-nose:#2b1c15;--mds-emoji-simi-outline:#2b1c15;--mds-emoji-simi-skin-dark:#c3481b;--mds-emoji-simi-skin-light:#feefd8;--mds-emoji-simi-skin:#f36320}"};
|
|
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}};Qe.utils.checkPrefix=In;Qe.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"}));Qe.registerPlugin(wr);var yr=Qe.registerPlugin(wr)||Qe;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}"};
|
|
707
709
|
/**
|
|
708
710
|
* The transform origin of each part of a face, in the box of the part: the head turns from its
|
|
709
711
|
* bottom left corner, the others from their centre. Every state of a part gets it as soon as
|
|
@@ -972,4 +974,4 @@ if(!this.isEmojiName(t)){if(t!=null){console.warn('mds-emoji: ignoring the unkno
|
|
|
972
974
|
// attributeChangedCallback is a no-op because the value did not change.
|
|
973
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){
|
|
974
976
|
// const currentState = el.id.split('-')[1]
|
|
975
|
-
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:"
|
|
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:"9b85509cd165da33f0740b9865ac69a5025e7f81"})};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return t}());kr.style=jr()}}}));
|