@maggioli-design-system/magma 2.12.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +72 -0
- package/README.md +6 -5
- package/agents/assets.md +7 -6
- package/agents/color.md +7 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/patterns/actions.md +7 -6
- package/agents/patterns/empty-state.md +5 -7
- 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/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/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- 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.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.html +5 -7
- package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.html +5 -7
- package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
- package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
- 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 +5 -7
- package/agents/patterns/previews/empty-state/not-found.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.light.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.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.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.html +1 -1
- 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.html +3 -12
- package/agents/patterns/previews/item-list/requests-to-assign.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/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 -9
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- 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 +1 -1
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -5
- 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/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.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-failed-elsewhere.dark.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-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/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.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.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-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.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.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.light.webp +0 -0
- 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.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- 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.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.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.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/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/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.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- 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/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.html +66 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/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.light.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.light.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.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/surfaces.md +49 -11
- package/agents/patterns/titles.md +15 -14
- package/agents/patterns.md +1 -1
- package/agents/theming.md +5 -0
- package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
- package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
- package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
- package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
- package/dist/cjs/index.cjs.js +45 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
- package/dist/cjs/mds-book.cjs.entry.js +8 -7
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
- package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +5 -4
- package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
- package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
- package/dist/cjs/mds-entity.cjs.entry.js +5 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
- package/dist/cjs/mds-file.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +6 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +5 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
- package/dist/cjs/mds-hr.cjs.entry.js +5 -4
- package/dist/cjs/mds-img.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
- package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
- package/dist/cjs/mds-input.cjs.entry.js +292 -35
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +6 -5
- package/dist/cjs/mds-link.cjs.entry.js +9 -8
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-mention.cjs.entry.js +6 -5
- package/dist/cjs/mds-modal.cjs.entry.js +7 -6
- package/dist/cjs/mds-note.cjs.entry.js +6 -5
- package/dist/cjs/mds-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref.cjs.entry.js +12 -6
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-quote.cjs.entry.js +5 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
- package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
- package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
- package/dist/cjs/mds-table.cjs.entry.js +42 -14
- package/dist/cjs/mds-text.cjs.entry.js +5 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
- package/dist/cjs/mds-toast.cjs.entry.js +6 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tree.cjs.entry.js +4 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
- package/dist/cjs/mds-usage.cjs.entry.js +6 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +15 -5
- package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
- package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/validity/index.js +3 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion/documentation.json +5 -4
- package/dist/collection/components/mds-accordion/examples.md +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
- package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
- package/dist/collection/components/mds-accordion-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
- package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -2
- package/dist/collection/components/mds-author/mds-author.js +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +3 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +3 -2
- package/dist/collection/components/mds-badge/mds-badge.js +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +4 -1
- package/dist/collection/components/mds-banner/documentation.json +44 -5
- package/dist/collection/components/mds-banner/examples.md +15 -9
- package/dist/collection/components/mds-banner/mds-banner.js +63 -19
- package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
- package/dist/collection/components/mds-banner/meta/types.js +1 -0
- package/dist/collection/components/mds-banner/mistakes.md +20 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +3 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +3 -2
- package/dist/collection/components/mds-book/mds-book.js +3 -3
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +3 -2
- package/dist/collection/components/mds-button/mds-button.js +4 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
- package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
- package/dist/collection/components/mds-button-group/documentation.json +5 -4
- package/dist/collection/components/mds-button-group/examples.md +16 -0
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
- package/dist/collection/components/mds-calendar/documentation.json +44 -5
- package/dist/collection/components/mds-calendar/examples.md +17 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
- package/dist/collection/components/mds-calendar/meta/types.js +1 -0
- package/dist/collection/components/mds-calendar/mistakes.md +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
- package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +4 -2
- package/dist/collection/components/mds-card/documentation.json +12 -5
- package/dist/collection/components/mds-card/examples.md +6 -1
- package/dist/collection/components/mds-card/mds-card.css +8 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/mistakes.md +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +3 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-footer/documentation.json +5 -4
- package/dist/collection/components/mds-card-footer/examples.md +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
- 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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +5 -2
- package/dist/collection/components/mds-chip/documentation.json +37 -5
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +18 -0
- package/dist/collection/components/mds-chip/mds-chip.js +25 -1
- package/dist/collection/components/mds-chip/mistakes.md +25 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +3 -2
- 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 +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
- package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +3 -2
- 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 +3 -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 +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 +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 +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +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 +3 -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 +3 -2
- 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 +3 -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 +3 -2
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -4
- package/dist/collection/components/mds-icon/examples.md +3 -3
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +3 -2
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +32 -19
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +115 -8
- package/dist/collection/components/mds-input/mds-input.js +236 -37
- package/dist/collection/components/mds-input/meta/color.js +19 -0
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
- package/dist/collection/components/mds-input/meta/validators.js +10 -0
- package/dist/collection/components/mds-input/meta/validity.js +5 -2
- package/dist/collection/components/mds-input/mistakes.md +15 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
- package/dist/collection/components/mds-input-date/documentation.json +7 -24
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
- package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
- package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
- package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
- package/dist/collection/components/mds-input-date-range/examples.md +12 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
- package/dist/collection/components/mds-input-range/documentation.json +31 -9
- package/dist/collection/components/mds-input-range/examples.md +41 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +68 -5
- package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
- package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-range/mistakes.md +37 -0
- package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
- package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
- package/dist/collection/components/mds-input-range-value/examples.md +66 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
- package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-select/documentation.json +4 -3
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
- 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 +3 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -10
- package/dist/collection/components/mds-input-tip/examples.md +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +3 -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 +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 +3 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +3 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +3 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +3 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +2 -1
- package/dist/collection/components/mds-modal/documentation.json +5 -4
- package/dist/collection/components/mds-modal/examples.md +2 -0
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +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 +3 -2
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +4 -1
- package/dist/collection/components/mds-pref/documentation.json +31 -4
- package/dist/collection/components/mds-pref/examples.md +14 -0
- package/dist/collection/components/mds-pref/mds-pref.js +26 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +4 -3
- 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 +3 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +3 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
- 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 +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 +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 +3 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +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 +3 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +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 +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 +3 -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 +3 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +3 -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 +3 -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 +3 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +3 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +3 -2
- 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 +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 +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
- package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +8 -3
- package/dist/collection/components/mds-tab/mds-tab.js +34 -12
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +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 +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 +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +7 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-table/documentation.json +10 -9
- package/dist/collection/components/mds-table/examples.md +21 -0
- package/dist/collection/components/mds-table/mds-table.js +42 -15
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +3 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +3 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +3 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header/documentation.json +5 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
- package/dist/collection/components/mds-table-header/mistakes.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +3 -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 +2 -2
- package/dist/collection/components/mds-table-row/documentation.json +4 -3
- 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 +3 -2
- 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 +3 -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 +3 -2
- 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 +3 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +3 -2
- 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 +3 -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 +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +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 +3 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +7 -6
- package/dist/collection/components/mds-zero/documentation.json +6 -5
- package/dist/collection/components/mds-zero/examples.md +37 -19
- package/dist/collection/components/mds-zero/mds-zero.css +22 -24
- package/dist/collection/components/mds-zero/mds-zero.js +17 -1
- package/dist/collection/components/mds-zero/mistakes.md +46 -8
- package/dist/collection/fixtures/dark-mode.js +16 -0
- package/dist/collection/index.js +2 -20
- package/dist/collection/type/file-types.js +1 -1
- package/dist/collection/type/input.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-book.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range-value.d.ts +11 -0
- package/dist/components/mds-input-range-value.js +1 -0
- 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-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
- package/dist/components/p-B3npFzUR.js +1 -0
- package/dist/components/p-BD9VWE7b.js +1 -0
- package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
- package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
- package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
- package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
- package/dist/components/p-CSw6DbKp.js +1 -0
- package/dist/components/p-CUT9aFzz.js +1 -0
- package/dist/components/p-CfCw1XZP.js +1 -0
- package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
- package/dist/components/p-G8GFHw3L.js +1 -0
- package/dist/components/p-MjWyZlga.js +1 -0
- package/dist/components/p-VoGfNJRY.js +1 -0
- package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
- package/dist/components/p-g2_CekDc.js +3 -0
- package/dist/components/p-kS9VRIWa.js +1 -0
- package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +530 -157
- package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
- package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
- package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
- package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
- package/dist/esm/index.js +45 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer.entry.js +4 -3
- package/dist/esm/mds-accordion.entry.js +5 -4
- package/dist/esm/mds-author.entry.js +4 -3
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
- package/dist/esm/mds-avatar-stack.entry.js +4 -3
- package/dist/esm/mds-avatar.entry.js +5 -4
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +56 -27
- package/dist/esm/mds-benchmark-bar.entry.js +4 -3
- package/dist/esm/mds-bibliography.entry.js +4 -3
- package/dist/esm/mds-book.entry.js +8 -7
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
- package/dist/esm/mds-breadcrumb.entry.js +6 -5
- package/dist/esm/mds-button-dropdown.entry.js +7 -6
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +15 -12
- package/dist/esm/mds-calendar_2.entry.js +190 -305
- package/dist/esm/mds-card-content.entry.js +4 -3
- package/dist/esm/mds-card-footer.entry.js +5 -4
- package/dist/esm/mds-card-header.entry.js +4 -3
- package/dist/esm/mds-card-media.entry.js +4 -3
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +5 -4
- package/dist/esm/mds-dropdown.entry.js +46 -17
- package/dist/esm/mds-emoji.entry.js +5 -4
- package/dist/esm/mds-entity.entry.js +5 -4
- package/dist/esm/mds-file-preview.entry.js +7 -6
- package/dist/esm/mds-file.entry.js +6 -5
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +6 -5
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +5 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
- package/dist/esm/mds-hr.entry.js +5 -4
- package/dist/esm/mds-img.entry.js +5 -4
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
- package/dist/esm/mds-input-date-range.entry.js +126 -31
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +6 -5
- package/dist/esm/mds-input-range-value.entry.js +16 -0
- package/dist/esm/mds-input-range.entry.js +410 -29
- package/dist/esm/mds-input-select.entry.js +9 -8
- package/dist/esm/mds-input-switch_2.entry.js +9 -7
- package/dist/esm/mds-input-tip_2.entry.js +17 -12
- package/dist/esm/mds-input-upload.entry.js +10 -9
- package/dist/esm/mds-input.entry.js +292 -35
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +6 -5
- package/dist/esm/mds-kpi-item.entry.js +5 -4
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +6 -5
- package/dist/esm/mds-link.entry.js +9 -8
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +4 -3
- package/dist/esm/mds-mention.entry.js +6 -5
- package/dist/esm/mds-modal.entry.js +7 -6
- package/dist/esm/mds-note.entry.js +6 -5
- package/dist/esm/mds-notification.entry.js +6 -5
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +6 -5
- package/dist/esm/mds-policy-ai.entry.js +6 -5
- package/dist/esm/mds-pref-animation.entry.js +6 -5
- package/dist/esm/mds-pref-consumption.entry.js +6 -5
- package/dist/esm/mds-pref-contrast.entry.js +6 -5
- package/dist/esm/mds-pref-language-item.entry.js +6 -5
- package/dist/esm/mds-pref-language.entry.js +6 -5
- package/dist/esm/mds-pref-mode.entry.js +6 -5
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +6 -5
- package/dist/esm/mds-pref.entry.js +12 -6
- package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
- package/dist/esm/mds-price-table-features-row.entry.js +5 -4
- package/dist/esm/mds-price-table-features.entry.js +5 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -3
- package/dist/esm/mds-price-table-list-item.entry.js +4 -3
- package/dist/esm/mds-price-table-list.entry.js +5 -4
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +13 -8
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +6 -5
- package/dist/esm/mds-quote.entry.js +5 -4
- package/dist/esm/mds-radial-menu-item.entry.js +4 -3
- package/dist/esm/mds-radial-menu.entry.js +8 -7
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
- package/dist/esm/mds-stepper-bar.entry.js +6 -6
- package/dist/esm/mds-tab-bar-item.entry.js +5 -4
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +41 -17
- package/dist/esm/mds-table-body.entry.js +5 -4
- package/dist/esm/mds-table-footer.entry.js +5 -4
- package/dist/esm/mds-table-header-cell.entry.js +5 -4
- package/dist/esm/mds-table-header.entry.js +14 -14
- package/dist/esm/mds-table-row.entry.js +7 -6
- package/dist/esm/mds-table.entry.js +42 -14
- package/dist/esm/mds-text.entry.js +5 -4
- package/dist/esm/mds-toast-region.entry.js +4 -3
- package/dist/esm/mds-toast.entry.js +6 -5
- package/dist/esm/mds-tooltip.entry.js +33 -14
- package/dist/esm/mds-tree-item.entry.js +6 -5
- package/dist/esm/mds-tree.entry.js +4 -3
- package/dist/esm/mds-url-view.entry.js +6 -18
- package/dist/esm/mds-usage.entry.js +6 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +15 -5
- package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
- package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
- package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
- package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
- package/dist/esm-es5/index-DWniH_Ge.js +13 -0
- package/dist/esm-es5/index.js +47 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
- package/dist/esm-es5/mds-accordion.entry.js +4 -4
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
- package/dist/esm-es5/mds-avatar.entry.js +7 -7
- package/dist/esm-es5/mds-badge.entry.js +2 -2
- package/dist/esm-es5/mds-banner_3.entry.js +25 -6
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +6 -6
- package/dist/esm-es5/mds-book.entry.js +22 -22
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +20 -20
- package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
- 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 +3 -3
- package/dist/esm-es5/mds-details.entry.js +3 -3
- package/dist/esm-es5/mds-dropdown.entry.js +31 -16
- package/dist/esm-es5/mds-emoji.entry.js +44 -44
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +5 -5
- package/dist/esm-es5/mds-file.entry.js +7 -7
- package/dist/esm-es5/mds-filter-item.entry.js +4 -4
- package/dist/esm-es5/mds-filter.entry.js +7 -7
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +8 -8
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +4 -4
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
- package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
- package/dist/esm-es5/mds-input-date.entry.js +19 -10
- package/dist/esm-es5/mds-input-field.entry.js +4 -4
- package/dist/esm-es5/mds-input-otp.entry.js +6 -6
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
- package/dist/esm-es5/mds-input-range.entry.js +93 -12
- package/dist/esm-es5/mds-input-select.entry.js +4 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
- package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
- package/dist/esm-es5/mds-input-upload.entry.js +8 -8
- package/dist/esm-es5/mds-input.entry.js +157 -52
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -7
- 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 +2 -2
- package/dist/esm-es5/mds-link.entry.js +7 -7
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +14 -14
- package/dist/esm-es5/mds-note.entry.js +3 -3
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
- 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 +4 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-language.entry.js +9 -9
- package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
- package/dist/esm-es5/mds-pref.entry.js +7 -4
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +9 -5
- package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification.entry.js +7 -7
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +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 +5 -5
- package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +31 -11
- 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 +7 -7
- package/dist/esm-es5/mds-table-header.entry.js +9 -8
- package/dist/esm-es5/mds-table-row.entry.js +4 -4
- package/dist/esm-es5/mds-table.entry.js +24 -11
- package/dist/esm-es5/mds-text.entry.js +7 -7
- package/dist/esm-es5/mds-toast-region.entry.js +5 -5
- package/dist/esm-es5/mds-toast.entry.js +7 -7
- package/dist/esm-es5/mds-tooltip.entry.js +12 -3
- package/dist/esm-es5/mds-tree-item.entry.js +7 -7
- package/dist/esm-es5/mds-tree.entry.js +5 -5
- 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/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
- package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/hydrate/index.js +2097 -1008
- package/dist/hydrate/index.mjs +2097 -1008
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
- package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
- package/dist/magma-components/p-03285704.entry.js +1 -0
- package/dist/magma-components/p-03441f69.entry.js +1 -0
- package/dist/magma-components/p-03896fbd.entry.js +1 -0
- package/dist/magma-components/p-038fc1db.entry.js +1 -0
- package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
- package/dist/magma-components/p-0760e8a4.entry.js +1 -0
- package/dist/magma-components/p-082b787b.entry.js +1 -0
- package/dist/magma-components/p-09537867.entry.js +1 -0
- package/dist/magma-components/p-09675899.entry.js +1 -0
- package/dist/magma-components/p-0a914567.entry.js +1 -0
- package/dist/magma-components/p-0c8dd132.entry.js +1 -0
- package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
- package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
- package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
- package/dist/magma-components/p-11312b0c.entry.js +1 -0
- package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
- package/dist/magma-components/p-13e94501.entry.js +1 -0
- package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
- package/dist/magma-components/p-16651356.entry.js +1 -0
- package/dist/magma-components/p-1686b36a.entry.js +1 -0
- package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
- package/dist/magma-components/p-1784d5fb.entry.js +1 -0
- package/dist/magma-components/p-18421a84.entry.js +1 -0
- package/dist/magma-components/p-1934151b.entry.js +1 -0
- package/dist/magma-components/p-193b58d0.entry.js +1 -0
- package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
- package/dist/magma-components/p-1db5ab39.entry.js +1 -0
- package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
- package/dist/magma-components/p-1f756317.entry.js +1 -0
- package/dist/magma-components/p-2100343f.entry.js +1 -0
- package/dist/magma-components/p-211b2675.system.entry.js +1 -0
- package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
- package/dist/magma-components/p-26aad538.entry.js +1 -0
- package/dist/magma-components/p-270e9afa.entry.js +1 -0
- package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
- package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
- package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
- package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
- package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
- package/dist/magma-components/p-333c0ae5.entry.js +1 -0
- package/dist/magma-components/p-3341ac50.entry.js +1 -0
- package/dist/magma-components/p-34183ce3.entry.js +1 -0
- package/dist/magma-components/p-35a77756.entry.js +1 -0
- package/dist/magma-components/p-37172440.entry.js +1 -0
- package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
- package/dist/magma-components/p-3b41f929.entry.js +1 -0
- package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
- package/dist/magma-components/p-3d0578a7.entry.js +1 -0
- package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
- package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
- package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
- package/dist/magma-components/p-4082973c.system.entry.js +30 -0
- package/dist/magma-components/p-41829c15.system.entry.js +7 -0
- package/dist/magma-components/p-420c5af4.entry.js +1 -0
- package/dist/magma-components/p-4242100c.entry.js +1 -0
- package/dist/magma-components/p-430239ca.entry.js +8 -0
- package/dist/magma-components/p-4564e7ad.entry.js +1 -0
- package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
- package/dist/magma-components/p-478bbfdb.entry.js +1 -0
- package/dist/magma-components/p-478e6930.entry.js +1 -0
- package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
- package/dist/magma-components/p-4bb45501.entry.js +1 -0
- package/dist/magma-components/p-4e431466.entry.js +1 -0
- package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
- package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
- package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
- package/dist/magma-components/p-533bb401.system.entry.js +60 -0
- package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
- package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
- package/dist/magma-components/p-5c0f0517.entry.js +1 -0
- package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
- package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
- package/dist/magma-components/p-62e42a62.entry.js +1 -0
- package/dist/magma-components/p-6443e40f.entry.js +1 -0
- package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
- package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
- package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
- package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
- package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
- package/dist/magma-components/p-70cf2c28.entry.js +1 -0
- package/dist/magma-components/p-73596a07.entry.js +1 -0
- package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
- package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
- package/dist/magma-components/p-73f22a7d.entry.js +1 -0
- package/dist/magma-components/p-756cd3dc.entry.js +1 -0
- package/dist/magma-components/p-757c3420.entry.js +1 -0
- package/dist/magma-components/p-778a46fa.entry.js +1 -0
- package/dist/magma-components/p-78cced59.entry.js +1 -0
- package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
- package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
- package/dist/magma-components/p-7e87807d.entry.js +1 -0
- package/dist/magma-components/p-8193fd71.entry.js +1 -0
- package/dist/magma-components/p-82041de2.entry.js +1 -0
- package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
- package/dist/magma-components/p-851010c6.system.entry.js +25 -0
- package/dist/magma-components/p-857e893e.system.entry.js +26 -0
- package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
- package/dist/magma-components/p-8aa6524e.entry.js +1 -0
- package/dist/magma-components/p-8acbf50a.entry.js +1 -0
- package/dist/magma-components/p-8e471af5.entry.js +1 -0
- package/dist/magma-components/p-913123e6.entry.js +1 -0
- package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
- package/dist/magma-components/p-95a29fd2.entry.js +1 -0
- package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
- package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
- package/dist/magma-components/p-9be80c34.entry.js +1 -0
- package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
- package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
- package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
- package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
- package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
- package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
- package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
- package/dist/magma-components/p-H8sVzFTL.js +1 -0
- package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
- package/dist/magma-components/p-a025b35b.entry.js +1 -0
- package/dist/magma-components/p-a02819e3.entry.js +1 -0
- package/dist/magma-components/p-a0389821.entry.js +1 -0
- package/dist/magma-components/p-a075c069.entry.js +1 -0
- package/dist/magma-components/p-a0764f01.entry.js +1 -0
- package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
- package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
- package/dist/magma-components/p-ab920e0b.entry.js +1 -0
- package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
- package/dist/magma-components/p-ada93f68.entry.js +1 -0
- package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
- package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
- package/dist/magma-components/p-b0406c51.entry.js +1 -0
- package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
- package/dist/magma-components/p-b1fe6261.entry.js +1 -0
- package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
- package/dist/magma-components/p-b4856322.entry.js +1 -0
- package/dist/magma-components/p-b7d90310.entry.js +1 -0
- package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
- package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
- package/dist/magma-components/p-bca909d9.entry.js +1 -0
- package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
- package/dist/magma-components/p-bd539dbc.entry.js +1 -0
- package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
- package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
- package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
- package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
- package/dist/magma-components/p-c67655fa.entry.js +1 -0
- package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
- package/dist/magma-components/p-c6f56934.entry.js +1 -0
- package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
- package/dist/magma-components/p-c902d468.entry.js +1 -0
- package/dist/magma-components/p-ca0f3549.entry.js +1 -0
- package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
- package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
- package/dist/magma-components/p-cfb153b8.entry.js +1 -0
- package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
- package/dist/magma-components/p-d0b45a54.entry.js +1 -0
- package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
- package/dist/magma-components/p-d1281855.system.entry.js +330 -0
- package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1751ff6.entry.js +1 -0
- package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
- package/dist/magma-components/p-d4452e41.entry.js +1 -0
- package/dist/magma-components/p-d5dec64d.entry.js +1 -0
- package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
- package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
- package/dist/magma-components/p-ddc31c50.entry.js +1 -0
- package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
- package/dist/magma-components/p-e009c632.entry.js +1 -0
- package/dist/magma-components/p-e160e4e1.entry.js +1 -0
- package/dist/magma-components/p-e497f0db.entry.js +1 -0
- package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
- package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
- package/dist/magma-components/p-e66db408.entry.js +1 -0
- package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
- package/dist/magma-components/p-ea93721d.entry.js +1 -0
- package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
- package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
- package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
- package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
- package/dist/magma-components/p-f3041712.entry.js +1 -0
- package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
- package/dist/magma-components/p-f9d2316a.entry.js +1 -0
- package/dist/magma-components/p-fe4ae251.entry.js +1 -0
- package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/mcp/checks.js +1 -1
- package/dist/stats.json +4106 -3337
- package/dist/types/common/floating-controller.d.ts +14 -0
- package/dist/types/common/navigation.d.ts +7 -0
- package/dist/types/common/preference.d.ts +13 -1
- package/dist/types/common/validity/index.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
- package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
- package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
- package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
- package/dist/types/components/mds-input/mds-input.d.ts +114 -10
- package/dist/types/components/mds-input/meta/color.d.ts +13 -0
- package/dist/types/components/mds-input/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
- package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
- package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-table/mds-table.d.ts +6 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
- package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
- package/dist/types/components.d.ts +157 -38
- package/dist/types/fixtures/dark-mode.d.ts +7 -0
- package/dist/types/index.d.ts +20 -8
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +19 -17
- package/dist/components/p-BQSO-HFx.js +0 -1
- package/dist/components/p-Bw-eI2ca.js +0 -1
- package/dist/components/p-BwwiliWt.js +0 -1
- package/dist/components/p-CZX6N7ce.js +0 -1
- package/dist/components/p-CpuUmvdl.js +0 -1
- package/dist/components/p-DUgCzZw9.js +0 -1
- package/dist/components/p-DWOg4-dH.js +0 -1
- package/dist/components/p-DZ4_zLTp.js +0 -1
- package/dist/components/p-J48g0t65.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-UfaGafRS.js +0 -1
- package/dist/components/p-k_Ly95Tj.js +0 -1
- package/dist/components/p-lXKBo6V3.js +0 -1
- package/dist/components/p-oFHbHRLX.js +0 -1
- package/dist/esm-es5/index-DEL0bLpb.js +0 -10
- package/dist/magma-components/p-02aed12a.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-08f7a84b.entry.js +0 -1
- package/dist/magma-components/p-0df067b4.entry.js +0 -1
- package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
- package/dist/magma-components/p-14de26d5.entry.js +0 -1
- package/dist/magma-components/p-163eccbd.entry.js +0 -1
- package/dist/magma-components/p-167ba07a.entry.js +0 -1
- package/dist/magma-components/p-17249b74.entry.js +0 -1
- package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
- package/dist/magma-components/p-1cc379d6.entry.js +0 -1
- package/dist/magma-components/p-223efc32.entry.js +0 -1
- package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
- package/dist/magma-components/p-24a69c45.entry.js +0 -1
- package/dist/magma-components/p-259d9380.entry.js +0 -1
- package/dist/magma-components/p-26b08e33.entry.js +0 -1
- package/dist/magma-components/p-2940499f.entry.js +0 -1
- package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
- package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
- package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
- package/dist/magma-components/p-397c0686.entry.js +0 -1
- package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
- package/dist/magma-components/p-3de37b32.entry.js +0 -1
- package/dist/magma-components/p-40c59c18.entry.js +0 -1
- package/dist/magma-components/p-43c307f5.entry.js +0 -1
- package/dist/magma-components/p-440d7942.entry.js +0 -1
- package/dist/magma-components/p-4541c233.entry.js +0 -1
- package/dist/magma-components/p-4612bc78.entry.js +0 -8
- package/dist/magma-components/p-4718a71d.entry.js +0 -1
- package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
- package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
- package/dist/magma-components/p-4c955367.entry.js +0 -1
- package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
- package/dist/magma-components/p-4f80bf37.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-52cc5a93.entry.js +0 -1
- package/dist/magma-components/p-56cf1cab.entry.js +0 -1
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a754d7b.entry.js +0 -1
- package/dist/magma-components/p-5ca6063a.entry.js +0 -1
- package/dist/magma-components/p-5cb581df.entry.js +0 -1
- package/dist/magma-components/p-5d825728.entry.js +0 -1
- package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
- package/dist/magma-components/p-5f38e95b.entry.js +0 -1
- package/dist/magma-components/p-5f4bec31.entry.js +0 -1
- package/dist/magma-components/p-627f5956.entry.js +0 -1
- package/dist/magma-components/p-6352c2ea.entry.js +0 -1
- package/dist/magma-components/p-64884d84.entry.js +0 -1
- package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
- package/dist/magma-components/p-68b0d45a.entry.js +0 -1
- package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
- package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
- package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
- package/dist/magma-components/p-70faf379.entry.js +0 -1
- package/dist/magma-components/p-71d03e56.entry.js +0 -1
- package/dist/magma-components/p-73dc7c66.entry.js +0 -1
- package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
- package/dist/magma-components/p-77707706.entry.js +0 -1
- package/dist/magma-components/p-78d00f88.entry.js +0 -1
- package/dist/magma-components/p-79392a0a.entry.js +0 -1
- package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
- package/dist/magma-components/p-7b552dbe.entry.js +0 -1
- package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
- package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-86494ea9.entry.js +0 -1
- package/dist/magma-components/p-8915347f.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
- package/dist/magma-components/p-90c60c48.entry.js +0 -1
- package/dist/magma-components/p-90e20ad3.entry.js +0 -1
- package/dist/magma-components/p-94548d43.entry.js +0 -1
- package/dist/magma-components/p-95020326.entry.js +0 -1
- package/dist/magma-components/p-970f45df.entry.js +0 -1
- package/dist/magma-components/p-9aba3769.entry.js +0 -1
- package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
- package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-CxzVgcYv.js +0 -1
- package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
- package/dist/magma-components/p-Dx7iOdVP.js +0 -1
- package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
- package/dist/magma-components/p-a2767235.entry.js +0 -1
- package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
- package/dist/magma-components/p-a4f53c83.entry.js +0 -1
- package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
- package/dist/magma-components/p-a9a872e1.entry.js +0 -1
- package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
- package/dist/magma-components/p-ab445c2b.entry.js +0 -1
- package/dist/magma-components/p-abe32d5b.entry.js +0 -1
- package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
- package/dist/magma-components/p-b1238d48.entry.js +0 -1
- package/dist/magma-components/p-b705b805.entry.js +0 -1
- package/dist/magma-components/p-ba871d9c.entry.js +0 -1
- package/dist/magma-components/p-ba95bf93.entry.js +0 -1
- package/dist/magma-components/p-bd489df9.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
- package/dist/magma-components/p-c131d726.entry.js +0 -1
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c49676e6.entry.js +0 -1
- package/dist/magma-components/p-c8414ee6.entry.js +0 -1
- package/dist/magma-components/p-c91cb63a.entry.js +0 -1
- package/dist/magma-components/p-cb06839f.entry.js +0 -1
- package/dist/magma-components/p-ce42734f.entry.js +0 -1
- package/dist/magma-components/p-d1e4a032.entry.js +0 -1
- package/dist/magma-components/p-d25a47fa.entry.js +0 -1
- package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
- package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
- package/dist/magma-components/p-d365c6b6.entry.js +0 -1
- package/dist/magma-components/p-d3b06151.entry.js +0 -1
- package/dist/magma-components/p-d45f65e0.entry.js +0 -1
- package/dist/magma-components/p-d51ec950.entry.js +0 -1
- package/dist/magma-components/p-d760c1fa.entry.js +0 -1
- package/dist/magma-components/p-d785d7ee.entry.js +0 -1
- package/dist/magma-components/p-d9092133.entry.js +0 -1
- package/dist/magma-components/p-de423b11.entry.js +0 -1
- package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
- package/dist/magma-components/p-e39b5e12.entry.js +0 -1
- package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
- package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
- package/dist/magma-components/p-ecda3e45.entry.js +0 -1
- package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
- package/dist/magma-components/p-fb4b648a.entry.js +0 -1
- package/dist/magma-components/p-fd4588c5.entry.js +0 -1
- package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
- package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
- package/dist/magma-components/p-ff76c614.entry.js +0 -1
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +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-
|
|
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-EhfbAdzV.system.js","./p-B-nayZ3E.system.js","./p-DGfoeZMw.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
|
*
|
|
@@ -24,7 +24,7 @@ var h=function(t,i,e){var n=Math.hypot(t,i);if(n===0||!(e>0))return{x:0,y:0};var
|
|
|
24
24
|
*/
|
|
25
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
|
-
S=Array.isArray,
|
|
27
|
+
S=Array.isArray,z=/random\([^)]+\)/g,H=/,\s*/g,I=/(?:-?\.?\d|\.)+/gi,
|
|
28
28
|
//only numbers (including negatives and decimals) but NOT relative values.
|
|
29
29
|
L=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,
|
|
30
30
|
//finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8.
|
|
@@ -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,$,G={},Q={},J,K=function t(i){return(Q=Et(i,G))&&Ge},tt=function t(i,e){return console.warn("Invalid property",i,"set to",e,"Missing plugin? gsap.registerPlugin()")},it=function t(i,e){return!e&&console.warn(i)},et=function t(i,e){return i&&(G[i]=e)&&Q&&(Q[i]=e)||G},nt=function t(){return 0},rt={suppressEvents:true,isStart:true,kill:false},st={suppressEvents:true,kill:false},ot={suppressEvents:true},at={},ut=[],ft={},ht,lt={},ct={},dt=30,mt=[],vt="",pt=function t(i){var e=i[0],n,r;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,8 +41,8 @@ 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])}}},Et=function t(i,e){for(var n in e){i[n]=e[n]}return i},Bt=function t(i,e){for(var n in e){n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(i[n]=E(e[n])?t(i[n]||(i[n]={}),e[n]):e[n])}return i},Tt=function t(i,e){var n={},r;for(r in i){r in e||(n[r]=i[r])}return n},Rt=function t(i){var e=i.parent||N,n=i.keyframes?Zt(S(i.keyframes)):Ot;if(B(i.inherit)){while(e){n(i,e.vars.defaults);e=e.parent||e._dp}}return i},Yt=function t(i,e){var n=i.length,r=n===e.length;while(r&&n--&&i[n]===e[n]){}return n<0},St=function t(i,e,n,r,s){var o=i[r],a;if(s){a=e[s];while(o&&o[s]>a){o=o._prev}}if(o){e._next=o._next;o._next=e}else{e._next=i[n];i[n]=e}if(e._next){e._next._prev=e}else{i[r]=e}e._prev=o;e.parent=e._dp=i;return e},
|
|
45
|
-
},
|
|
44
|
+
},_t=function t(i){var e=parseFloat(i);return(e||e===0)&&(i+"").match(X).length<2?e:_(i)?i.trim():i},Pt=function t(i){return i},Ot=function t(i,e){for(var n in e){n in i||(i[n]=e[n])}return i},Zt=function t(i){return function(t,e){for(var n in e){n in t||n==="duration"&&i||n==="ease"||(t[n]=e[n])}}},Et=function t(i,e){for(var n in e){i[n]=e[n]}return i},Bt=function t(i,e){for(var n in e){n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(i[n]=E(e[n])?t(i[n]||(i[n]={}),e[n]):e[n])}return i},Tt=function t(i,e){var n={},r;for(r in i){r in e||(n[r]=i[r])}return n},Rt=function t(i){var e=i.parent||N,n=i.keyframes?Zt(S(i.keyframes)):Ot;if(B(i.inherit)){while(e){n(i,e.vars.defaults);e=e.parent||e._dp}}return i},Yt=function t(i,e){var n=i.length,r=n===e.length;while(r&&n--&&i[n]===e[n]){}return n<0},St=function t(i,e,n,r,s){var o=i[r],a;if(s){a=e[s];while(o&&o[s]>a){o=o._prev}}if(o){e._next=o._next;o._next=e}else{e._next=i[n];i[n]=e}if(e._next){e._next._prev=e}else{i[r]=e}e._prev=o;e.parent=e._dp=i;return e},zt=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
|
+
},Ht=function t(i,e){i.parent&&(!e||i.parent.autoRemoveChildren)&&i.parent.remove&&i.parent.remove(i);i._act=0},It=function t(i,e){if(i&&(!e||e._end>i._dur||e._start<0)){
|
|
46
46
|
// performance optimization: if a child animation is passed in we should only uncache if that child EXTENDS the animation (its end time is beyond the end)
|
|
47
47
|
var n=i;while(n){n._dirty=1;n=n.parent}}return i},Lt=function t(i){var e=i.parent;while(e&&e.parent){
|
|
48
48
|
//sometimes we must force a re-sort of all children and update the duration/totalDuration of all ancestor timelines immediately in case, for example, in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though.
|
|
@@ -50,7 +50,7 @@ e._dirty=1;e.totalDuration();e=e.parent}return i},Dt=function t(i,e,n,r){return
|
|
|
50
50
|
// feed in the totalTime and cycleDuration and it'll return the cycle (iteration minus 1) and if the playhead is exactly at the very END, it will NOT bump up to the next cycle.
|
|
51
51
|
Xt=function t(i,e){var n=Math.floor(i=Mt(i/e));return i&&n===i?n-1:n},Ut=function t(i,e){return(i-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Nt=function t(i){return i._end=Mt(i._start+(i._tDur/Math.abs(i._ts||i._rts||y)||0))},qt=function t(i,e){
|
|
52
52
|
// adjusts the animation's _start and _end according to the provided totalTime (only if the parent's smoothChildTiming is true and the animation isn't paused). It doesn't do any rendering or forcing things back into parent timelines, etc. - that's what totalTime() is for.
|
|
53
|
-
var n=i._dp;if(n&&n.smoothChildTiming&&i._ts){i._start=Mt(n._time-(i._ts>0?e/i._ts:((i._dirty?i.totalDuration():i._tDur)-e)/-i._ts));Nt(i);n._dirty||
|
|
53
|
+
var n=i._dp;if(n&&n.smoothChildTiming&&i._ts){i._start=Mt(n._time-(i._ts>0?e/i._ts:((i._dirty?i.totalDuration():i._tDur)-e)/-i._ts));Nt(i);n._dirty||It(n,i);//for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here.
|
|
54
54
|
}return i},
|
|
55
55
|
/*
|
|
56
56
|
_totalTimeToTime = (clampedTotalTime, duration, repeat, repeatDelay, yoyo) => {
|
|
@@ -65,13 +65,13 @@ var n=i._dp;if(n&&n.smoothChildTiming&&i._ts){i._start=Mt(n._time-(i._ts>0?e/i._
|
|
|
65
65
|
Wt=function t(i,e){var n;if(e._time||!e._dur&&e._initted||e._start<i._time&&(e._dur||!e.add)){
|
|
66
66
|
// in case, for example, the _start is moved on a tween that has already rendered, or if it's being inserted into a timeline BEFORE where the playhead is currently. Imagine it's at its end state, then the startTime is moved WAY later (after the end of this timeline), it should render at its beginning. Special case: if it's a timeline (has .add() method) and no duration, we can skip rendering because the user may be populating it AFTER adding it to a parent timeline (unconventional, but possible, and we wouldn't want it to get removed if the parent's autoRemoveChildren is true).
|
|
67
67
|
n=Ut(i.rawTime(),e);if(!e._dur||ui(0,e.totalDuration(),n)-e._tTime>y){e.render(n,true)}}//if the timeline has already ended but the inserted tween/timeline extends the duration, we should enable this timeline again so that it renders properly. We should also align the playhead with the parent timeline's when appropriate.
|
|
68
|
-
if(
|
|
68
|
+
if(It(i,e)._dp&&i._initted&&i._time>=i._dur&&i._ts){
|
|
69
69
|
//in case any of the ancestors had completed but should now be enabled...
|
|
70
70
|
if(i._dur<i.duration()){n=i;while(n._dp){n.rawTime()>=0&&n.totalTime(n._tTime);//moves the timeline (shifts its startTime) if necessary, and also enables it. If it's currently zero, though, it may not be scheduled to render until later so there's no need to force it to align with the current playhead position. Only move to catch up with the playhead.
|
|
71
71
|
n=n._dp}}i._zTime=-y;// helps ensure that the next render() will be forced (crossingStart = true in render()), even if the duration hasn't changed (we're adding a child which would need to get rendered). Definitely an edge case. Note: we MUST do this AFTER the loop above where the totalTime() might trigger a render() because this _addToTimeline() method gets called from the Animation constructor, BEFORE tweens even record their targets, etc. so we wouldn't want things to get triggered in the wrong order.
|
|
72
|
-
}},$t=function t(i,e,n,r){e.parent&&
|
|
72
|
+
}},$t=function t(i,e,n,r){e.parent&&Ht(e);e._start=Mt((O(n)?n:!n&&Kt(e)&&(!i._last||i._last._start>=i._time)?i._last?i._last._start:i._time:n||i!==N?si(i,n,e):i._time)+e._delay);// a from()/startAt tween's internal _startAt gets added and then immediately removed, so skip _parsePosition() which calls duration() (a full walk of a dirty timeline, making large from() timelines O(n²)). Dropping it at the _last child's _start keeps the sorted insert O(1), and the playhead check avoids a render in _postAddChecks().
|
|
73
73
|
e._end=Mt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0));St(i,e,"_first","_last",i._sort?"_start":0);Kt(e)||(i._recent=e);r||Wt(i,e);i._ts<0&&qt(i,i._tTime);// if the timeline is reversed and the new child makes it longer, we may need to adjust the parent's _start (push it back)
|
|
74
|
-
return i},
|
|
74
|
+
return i},Gt=function t(i,e){return(G.ScrollTrigger||tt("scrollTrigger",e))&&G.ScrollTrigger.create(e,i)},Qt=function t(i,e,n,r,s){ve(i,e,s);if(!i._initted){return 1}if(!n&&i._pt&&!g&&(i._dur&&i.vars.lazy!==false||!i._dur&&i.vars.lazy)&&ht!==Ni.frame){ut.push(i);i._lazy=[s,r];return 1}},Jt=function t(i){var e=i.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))},
|
|
75
75
|
// check parent's _lock because when a timeline repeats/yoyos and does its artificial wrapping, we shouldn't force the ratio back to 0
|
|
76
76
|
Kt=function t(i){var e=i.data;return e==="isFromStart"||e==="isStart"},ti=function t(i,e,n,r){var s=i.ratio,o=e<0||!e&&(!i._start&&Jt(i)&&!(!i._initted&&Kt(i))||(i._ts<0||i._dp._ts<0)&&!Kt(i))?0:1,
|
|
77
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.
|
|
@@ -79,11 +79,11 @@ a=i._rDelay,u=0,f,h,l;if(a&&i._repeat){
|
|
|
79
79
|
// in case there's a zero-duration tween that has a repeat with a repeatDelay
|
|
80
80
|
u=ui(0,i._tDur,e);h=Xt(u,a);i._yoyo&&h&1&&(o=1-o);if(h!==Xt(i._tTime,a)){
|
|
81
81
|
// if iteration changed
|
|
82
|
-
s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime===y||!e&&i._zTime){if(!i._initted&&
|
|
82
|
+
s=1-o;i.vars.repeatRefresh&&i._initted&&i.invalidate()}}if(o!==s||g||r||i._zTime===y||!e&&i._zTime){if(!i._initted&&Qt(i,e,r,n,u)){
|
|
83
83
|
// if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately.
|
|
84
84
|
return}l=i._zTime;i._zTime=e||(n?y:0);// when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect.
|
|
85
85
|
n||(n=e&&!l);// if it was rendered previously at exactly 0 (_zTime) and now the playhead is moving away, DON'T fire callbacks otherwise they'll seem like duplicates.
|
|
86
|
-
i.ratio=o;i._from&&(o=1-o);i._time=0;i._tTime=u;f=i._pt;while(f){f.r(o,f.d);f=f._next}e<0&&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&&
|
|
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&&Ht(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||It(i.parent,i);return i},ni=function t(i){return i instanceof ue?It(i):ei(i,i._dur)},ri={_start:0,endTime:nt,totalDuration:nt},si=function t(i,e,n){var r=i.labels,s=i._recent||ri,o=i.duration()>=w?s.endTime(false):i._dur,
|
|
87
87
|
//in case there's a child that infinitely repeats, users almost never intend for the insertion point of a new child to be based on a SUPER long value like that so we clip it and assume the most recently-added child's endTime should be used instead.
|
|
88
88
|
a,u,f;if(_(e)&&(isNaN(e)||e in r)){
|
|
89
89
|
//if the string is a number like "1", check to see if there's a label with that name, otherwise interpret it as a number (absolute value).
|
|
@@ -108,13 +108,13 @@ return function(t){var n=Mt(Math.round(parseFloat(t)/i)*i*e);return(n-n%1)/e+(O(
|
|
|
108
108
|
}},wi=function t(i,e){var n=S(i),r,s;if(!n&&E(i)){r=n=i.radius||w;if(i.values){i=mi(i.values);if(s=!O(i[0])){r*=r;//performance optimization so we don't have to Math.sqrt() in the loop.
|
|
109
109
|
}}else{i=Ci(i.increment)}}return ai(e,!n?Ci(i):P(i)?function(t){s=i(t);return Math.abs(s-t)<=r?s:t}:function(t){var e=parseFloat(s?t.x:t),n=parseFloat(s?t.y:0),o=w,a=0,u=i.length,f,h;while(u--){if(s){f=i[u].x-e;h=i[u].y-n;f=f*f+h*h}else{f=Math.abs(i[u]-e)}if(f<o){o=f;a=u}}a=!r||o<=r?i[a]:t;return s||a===t||O(t)?a:a+fi(t)})},yi=function t(i,e,n,r){return ai(S(i)?!e:n===true?!!(n=0):!r,(function(){return S(i)?i[~~(Math.random()*i.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((i-n/2+Math.random()*(e-i+n*.99))/n)*n*r)/r}))},Mi=function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}return function(t){return e.reduce((function(t,i){return i(t)}),t)}},bi=function t(i,e){return function(t){return i(parseFloat(t))+(e||fi(t))}},ji=function t(i,e,n){return Pi(i,e,0,1,n)},xi=function t(i,e,n){return ai(n,(function(t){return i[~~e(t)]}))},ki=function t(i,e,n){
|
|
110
110
|
// NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP).
|
|
111
|
-
var r=e-i;return S(i)?xi(i,t(0,i.length),e):ai(n,(function(t){return(r+(t-i)%r)%r+i}))},Fi=function t(i,e,n){var r=e-i,s=r*2;return S(i)?xi(i,t(0,i.length-1),e):ai(n,(function(t){t=(s+(t-i)%s)%s||0;return i+(t>r?s-t:t)}))},_i=function t(i){return i.replace(
|
|
111
|
+
var r=e-i;return S(i)?xi(i,t(0,i.length),e):ai(n,(function(t){return(r+(t-i)%r)%r+i}))},Fi=function t(i,e,n){var r=e-i,s=r*2;return S(i)?xi(i,t(0,i.length-1),e):ai(n,(function(t){t=(s+(t-i)%s)%s||0;return i+(t>r?s-t:t)}))},_i=function t(i){return i.replace(z,(function(t){
|
|
112
112
|
//replaces all occurrences of random(...) in a string with the calculated random value. can be a range like random(-100, 100, 5) or an array like random([0, 100, 500])
|
|
113
|
-
var i=t.indexOf("[")+1,e=t.substring(i||7,i?t.indexOf("]"):t.length-1).split(
|
|
113
|
+
var i=t.indexOf("[")+1,e=t.substring(i||7,i?t.indexOf("]"):t.length-1).split(H);return yi(i?e:+e[0],i?0:+e[1],+e[2]||1e-5)}))},Pi=function t(i,e,n,r,s){var o=e-i,a=r-n;return ai(s,(function(t){return n+((t-i)/o*a||0)}))},Oi=function t(i,e,n,r){var s=isNaN(i+e)?0:function(t){return(1-t)*i+t*e};if(!s){var o=_(i),a={},u,f,h,l,c;n===true&&(r=1)&&(n=null);if(o){i={p:i};e={p:e}}else if(S(i)&&!S(e)){h=[];l=i.length;c=l-2;for(f=1;f<l;f++){h.push(t(i[f-1],i[f]));//build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them.
|
|
114
114
|
}l--;s=function t(i){i*=l;var e=Math.min(c,~~i);return h[e](i-e)};n=e}else if(!r){i=Et(S(i)?[]:{},i)}if(!h){for(u in e){he.call(a,i,u,"get",e[u])}s=function t(e){return Ee(e,a)||(o?i.p:i)}}}return ai(n,s)},Zi=function t(i,e,n){
|
|
115
115
|
//used for nextLabel() and previousLabel()
|
|
116
116
|
var r=i.labels,s=w,o,a,u;for(o in r){a=r[o]-e;if(a<0===!!n&&a&&s>(a=Math.abs(a))){u=o;s=a}}return u},Ei=function t(i,e,n){var r=i.vars,s=r[e],o=C,a=i._ctx,u,f,h;if(!s){return}u=r[e+"Params"];f=r.callbackScope||i;n&&ut.length&&xt();//in case rendering caused any tweens to lazy-init, we should render them because typically when a timeline finishes, users expect things to have rendered fully. Imagine an onUpdate on a timeline that reports/checks tweened values.
|
|
117
|
-
a&&(C=a);h=u?s.apply(f,u):s.call(f);C=o;return h},Bi=function t(i){
|
|
117
|
+
a&&(C=a);h=u?s.apply(f,u):s.call(f);C=o;return h},Bi=function t(i){Ht(i);i.scrollTrigger&&i.scrollTrigger.kill(!!g);i.progress()<1&&Ei(i,"onInterrupt");return i},Ti,Ri=[],Yi=function t(i){if(!i)return;i=!i.name&&i["default"]||i;// UMD packaging wraps things oddly, so for example MotionPathHelper becomes {MotionPathHelper:MotionPathHelper, default:MotionPathHelper}.
|
|
118
118
|
if(T()||i.headless){
|
|
119
119
|
// edge case: some build tools may pass in a null/undefined value
|
|
120
120
|
var e=i.name,n=P(i),r=e&&!n&&i.init?function(){this._props=[]}:i,
|
|
@@ -122,30 +122,30 @@ var e=i.name,n=P(i),r=e&&!n&&i.init?function(){this._props=[]}:i,
|
|
|
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
123
|
Et(r.prototype,Et(s,Tt(i,o)));//instance methods
|
|
124
124
|
lt[r.prop=e]=r;if(i.targetTest){mt.push(r);at[e]=1}e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";//for the global name. "motionPath" should become MotionPathPlugin
|
|
125
|
-
}et(e,r);i.register&&i.register(
|
|
125
|
+
}et(e,r);i.register&&i.register(Ge,r,Se)}else{Ri.push(i)}},
|
|
126
126
|
/*
|
|
127
127
|
* --------------------------------------------------------------------------------------
|
|
128
128
|
* COLORS
|
|
129
129
|
* --------------------------------------------------------------------------------------
|
|
130
130
|
*/
|
|
131
|
-
Si=255,
|
|
131
|
+
Si=255,zi={aqua:[0,Si,Si],lime:[0,Si,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Si],navy:[0,0,128],white:[Si,Si,Si],olive:[128,128,0],yellow:[Si,Si,0],orange:[Si,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Si,0,0],pink:[Si,192,203],cyan:[0,Si,Si],transparent:[Si,Si,Si,0]},
|
|
132
132
|
// possible future idea to replace the hard-coded color name values - put this in the ticker.wake() where we set the _doc:
|
|
133
133
|
// let ctx = _doc.createElement("canvas").getContext("2d");
|
|
134
134
|
// _forEachName("aqua,lime,silver,black,maroon,teal,blue,navy,white,olive,yellow,orange,gray,purple,green,red,pink,cyan", color => {ctx.fillStyle = color; _colorLookup[color] = splitColor(ctx.fillStyle)});
|
|
135
|
-
|
|
135
|
+
Hi=function t(i,e,n){i+=i<0?1:i>1?-1:0;return(i*6<1?e+(n-e)*i*6:i<.5?n:i*3<2?e+(n-e)*(2/3-i)*6:e)*Si+.5|0},Ii=function t(i,e,n){var r=!i?zi.black:O(i)?[i>>16,i>>8&Si,i&Si]:0,s,o,a,u,f,h,l,c,d,m;if(!r){if(i.substr(-1)===","){
|
|
136
136
|
//sometimes a trailing comma is included and we should chop it off (typically from a comma-delimited list of values like a textShadow:"2px 2px 2px blue, 5px 5px 5px rgb(255,0,0)" - in this example "blue," has a trailing comma. We could strip it out inside parseComplex() but we'd need to do it to the beginning and ending values plus it wouldn't provide protection from other potential scenarios like if the user passes in a similar value.
|
|
137
|
-
i=i.substr(0,i.length-1)}if(
|
|
137
|
+
i=i.substr(0,i.length-1)}if(zi[i]){r=zi[i]}else if(i.charAt(0)==="#"){if(i.length<6){
|
|
138
138
|
//for shorthand like #9F0 or #9F0F (could have alpha)
|
|
139
139
|
s=i.charAt(1);o=i.charAt(2);a=i.charAt(3);i="#"+s+s+o+o+a+a+(i.length===5?i.charAt(4)+i.charAt(4):"")}if(i.length===9){
|
|
140
140
|
// hex with alpha, like #fd5e53ff
|
|
141
|
-
r=parseInt(i.substr(1,6),16);return[r>>16,r>>8&Si,r&Si,parseInt(i.substr(7),16)/255]}i=parseInt(i.substr(1),16);r=[i>>16,i>>8&Si,i&Si]}else if(i.substr(0,3)==="hsl"){r=m=i.match(
|
|
142
|
-
r[0]=
|
|
141
|
+
r=parseInt(i.substr(1,6),16);return[r>>16,r>>8&Si,r&Si,parseInt(i.substr(7),16)/255]}i=parseInt(i.substr(1),16);r=[i>>16,i>>8&Si,i&Si]}else if(i.substr(0,3)==="hsl"){r=m=i.match(I);if(!e){u=+r[0]%360/360;f=+r[1]/100;h=+r[2]/100;o=h<=.5?h*(f+1):h+f-h*f;s=h*2-o;r.length>3&&(r[3]*=1);//cast as number
|
|
142
|
+
r[0]=Hi(u+1/3,s,o);r[1]=Hi(u,s,o);r[2]=Hi(u-1/3,s,o)}else if(~i.indexOf("=")){
|
|
143
143
|
//if relative values are found, just return the raw strings with the relative prefixes in place.
|
|
144
|
-
r=i.match(L);n&&r.length<4&&(r[3]=1);return r}}else{r=i.match(
|
|
144
|
+
r=i.match(L);n&&r.length<4&&(r[3]=1);return r}}else{r=i.match(I)||zi.transparent}r=r.map(Number)}if(e&&!m){s=r[0]/Si;o=r[1]/Si;a=r[2]/Si;l=Math.max(s,o,a);c=Math.min(s,o,a);h=(l+c)/2;if(l===c){u=f=0}else{d=l-c;f=h>.5?d/(2-l-c):d/(l+c);u=l===s?(o-a)/d+(o<a?6:0):l===o?(a-s)/d+2:(s-o)/d+4;u*=60}r[0]=~~(u+.5);r[1]=~~(f*100+.5);r[2]=~~(h*100+.5)}n&&r.length<4&&(r[3]=1);return r},Li=function t(i){
|
|
145
145
|
// strips out the colors from the string, finds all the numeric slots (with units) and returns an array of those. The Array also has a "c" property which is an Array of the index values where the colors belong. This is to help work around issues where there's a mis-matched order of color/numeric data like drop-shadow(#f00 0px 1px 2px) and drop-shadow(0x 1px 2px #f00). This is basically a helper function used in _formatColors()
|
|
146
|
-
var e=[],n=[],r=-1;i.split(Vi).forEach((function(t){var i=t.match(D)||[];e.push.apply(e,i);n.push(r+=i.length+1)}));e.c=n;return e},Di=function t(i,e,n){var r="",s=(i+r).match(Vi),o=e?"hsla(":"rgba(",a=0,u,f,h,l;if(!s){return i}s=s.map((function(t){return(t=
|
|
146
|
+
var e=[],n=[],r=-1;i.split(Vi).forEach((function(t){var i=t.match(D)||[];e.push.apply(e,i);n.push(r+=i.length+1)}));e.c=n;return e},Di=function t(i,e,n){var r="",s=(i+r).match(Vi),o=e?"hsla(":"rgba(",a=0,u,f,h,l;if(!s){return i}s=s.map((function(t){return(t=Ii(t,e,1))&&o+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}));if(n){h=Li(i);u=n.c;if(u.join(r)!==h.c.join(r)){f=i.replace(Vi,"1").split(D);l=f.length-1;for(;a<l;a++){r+=f[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(h.length?h:s.length?s:n).shift())}}}if(!f){f=i.split(Vi);l=f.length-1;for(;a<l;a++){r+=f[a]+s[a]}}return r+f[l]},Vi=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",
|
|
147
147
|
//we'll dynamically build this Regular Expression to conserve file size. After building it, it will be able to find rgb(), rgba(), # (hexadecimal), and named color values like red, blue, purple, etc.,
|
|
148
|
-
i;for(i in
|
|
148
|
+
i;for(i in zi){t+="|"+i+"\\b"}return new RegExp(t+")","gi")}(),Ai=/hsl[a]?\(/,Xi=function t(i){var e=i.join(" "),n;Vi.lastIndex=0;if(Vi.test(e)){n=Ai.test(e);i[1]=Di(i[1],n);i[0]=Di(i[0],n,Li(i[1]));// make sure the order of numbers/colors match with the END value.
|
|
149
149
|
return true}},
|
|
150
150
|
/*
|
|
151
151
|
* --------------------------------------------------------------------------------------
|
|
@@ -155,7 +155,7 @@ return true}},
|
|
|
155
155
|
Ui,Ni=function(){var t=Date.now,i=500,e=33,n=t(),r=n,s=1e3/240,o=s,a=[],u,f,h,l,c,d,m=function h(m){var v=t()-r,p=m===true,g,C,w,y;(v>i||v<0)&&(n+=v-e);r+=v;w=r-n;g=w-o;if(g>0||p){y=++l.frame;c=w-l.time*1e3;l.time=w=w/1e3;o+=g+(g>=s?0:s-g);C=1}p||(u=f(h));//make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise.
|
|
156
156
|
if(C){for(d=0;d<a.length;d++){
|
|
157
157
|
// use _i and check _listeners.length instead of a variable because a listener could get removed during the loop, and if that happens to an element less than the current index, it'd throw things off in the loop.
|
|
158
|
-
a[d](w,c,y,m)}}};l={time:0,frame:0,tick:function t(){m(true)},deltaRatio:function t(i){return c/(1e3/(i||60))},wake:function t(){if(J){if(!W&&T()){q=W=window;$=q.document||{};
|
|
158
|
+
a[d](w,c,y,m)}}};l={time:0,frame:0,tick:function t(){m(true)},deltaRatio:function t(i){return c/(1e3/(i||60))},wake:function t(){if(J){if(!W&&T()){q=W=window;$=q.document||{};G.gsap=Ge;(q.gsapVersions||(q.gsapVersions=[])).push(Ge.version);K(Q||q.GreenSockGlobals||!q.gsap&&q||{});Ri.forEach(Yi)}h=typeof requestAnimationFrame!=="undefined"&&requestAnimationFrame;u&&l.sleep();f=h||function(t){return setTimeout(t,o-l.time*1e3+1|0)};Ui=1;m(2)}},sleep:function t(){(h?cancelAnimationFrame:clearTimeout)(u);Ui=0;f=nt},lagSmoothing:function t(n,r){i=n||Infinity;// zero should be interpreted as basically unlimited
|
|
159
159
|
e=Math.min(r||33,i)},fps:function t(i){s=1e3/(i||240);o=l.time*1e3+s},add:function t(i,e,n){var r=e?function(t,e,n,s){i(t,e,n,s);l.remove(r)}:i;l.remove(i);a[n?"unshift":"push"](r);qi();return r},remove:function t(i,e){~(e=a.indexOf(i))&&a.splice(e,1)&&d>=e&&d--},_listeners:a};return l}(),qi=function t(){return!Ui&&Ni.wake()},
|
|
160
160
|
//also ensures the core classes are initialized.
|
|
161
161
|
/*
|
|
@@ -163,11 +163,11 @@ e=Math.min(r||33,i)},fps:function t(i){s=1e3/(i||240);o=l.time*1e3+s},add:functi
|
|
|
163
163
|
* EASING
|
|
164
164
|
* -------------------------------------------------
|
|
165
165
|
*/
|
|
166
|
-
Wi={},$i=/^[\d.\-M][\d.\-,\s]/,
|
|
166
|
+
Wi={},$i=/^[\d.\-M][\d.\-,\s]/,Gi=/["']/g,Qi=function t(i){
|
|
167
167
|
//takes a string like "{wiggles:10, type:anticipate})" and turns it into a real object. Notice it ends in ")" and includes the {} wrappers. This is because we only use this function for parsing ease configs and prioritized optimization rather than reusability.
|
|
168
|
-
var e={},n=i.substr(1,i.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,f;for(;s<o;s++){u=n[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);e[r]=isNaN(f)?f.replace(
|
|
168
|
+
var e={},n=i.substr(1,i.length-3).split(":"),r=n[0],s=1,o=n.length,a,u,f;for(;s<o;s++){u=n[s];a=s!==o-1?u.lastIndexOf(","):u.length;f=u.substr(0,a);e[r]=isNaN(f)?f.replace(Gi,"").trim():+f;r=u.substr(a+1).trim()}return e},Ji=function t(i){var e=i.indexOf("(")+1,n=i.indexOf(")"),r=i.indexOf("(",e);return i.substring(e,~r&&r<n?i.indexOf(")",n+1):n)},Ki=function t(i){
|
|
169
169
|
//name can be a string like "elastic.out(1,0.5)", and pass in _easeMap as obj and it'll parse it out and call the actual function like _easeMap.Elastic.easeOut.config(1,0.5). It will also parse custom ease strings as long as CustomEase is loaded and registered (internally as _easeMap._CE).
|
|
170
|
-
var e=(i+"").split("("),n=Wi[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~i.indexOf("{")?[
|
|
170
|
+
var e=(i+"").split("("),n=Wi[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~i.indexOf("{")?[Qi(e[1])]:Ji(i).split(",").map(_t)):Wi._CE&&$i.test(i)?Wi._CE("",i):n},te=function t(i){return function(t){return 1-i(1-t)}},ie=function t(i,e){return!i?e:(P(i)?i:Wi[i]||Ki(i))||e},ee=function t(i,e,n,r){if(n===void 0){n=function t(i){return 1-e(1-i)}}if(r===void 0){r=function t(i){return i<.5?e(i*2)/2:1-e((1-i)*2)/2}}var s={easeIn:e,easeOut:n,easeInOut:r},o;wt(i,(function(t){Wi[t]=G[t]=s;Wi[o=t.toLowerCase()]=n;for(var i in s){Wi[o+(i==="easeIn"?".in":i==="easeOut"?".out":".inOut")]=Wi[t+"."+i]=s[i]}}));return s},ne=function t(i){return function(t){return t<.5?(1-i(1-t*2))/2:.5+i((t-.5)*2)/2}},re=function t(i,e,n){var r=e>=1?e:1,
|
|
171
171
|
//note: if amplitude is < 1, we simply adjust the period for a more natural feel. Otherwise the math doesn't work right and the curve starts at 1.
|
|
172
172
|
s=(n||(i?.3:.45))/(e<1?e:1),o=s/M*(Math.asin(1/r)||0),a=function t(i){return i===1?1:r*Math.pow(2,-10*i)*F((i-o)*s)+1},u=i==="out"?a:i==="in"?function(t){return 1-a(1-t)}:ne(a);s=M/s;//precalculate to optimize
|
|
173
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.
|
|
@@ -184,7 +184,7 @@ u.config=function(e,n){return t(i,e,n)};return u},se=function t(i,e){if(e===void
|
|
|
184
184
|
// return p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p;
|
|
185
185
|
// };
|
|
186
186
|
wt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,i){var e=i<5?i+1:i;ee(t+",Power"+(e-1),i?function(t){return Math.pow(t,e)}:function(t){return t},(function(t){return 1-Math.pow(1-t,e)}),(function(t){return t<.5?Math.pow(t*2,e)/2:1-Math.pow((1-t)*2,e)/2}))}));Wi.Linear.easeNone=Wi.none=Wi.Linear.easeIn;ee("Elastic",re("in"),re("out"),re());(function(t,i){var e=1/i,n=2*e,r=2.5*e,s=function s(o){return o<e?t*o*o:o<n?t*Math.pow(o-1.5/i,2)+.75:o<r?t*(o-=2.25/i)*o+.9375:t*Math.pow(o-2.625/i,2)+.984375};ee("Bounce",(function(t){return 1-s(1-t)}),s)})(7.5625,2.75);ee("Expo",(function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}));// previously 2 ** (10 * (p - 1)) but that doesn't end up with the value quite at the right spot so we do a blended ease to ensure it lands where it should perfectly.
|
|
187
|
-
ee("Circ",(function(t){return-(x(1-t*t)-1)}));ee("Sine",(function(t){return t===1?1:-k(t*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=G.SteppedEase={config:function t(i,e){if(i===void 0){i=1}var n=1/i,r=i+(e?0:1),s=e?1:0,o=1-y;return function(t){return((r*ui(0,o,t)|0)+s)*n}}};v.ease=Wi["quad.out"];wt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return vt+=t+","+t+"Params,"}));
|
|
188
188
|
/*
|
|
189
189
|
* --------------------------------------------------------------------------------------
|
|
190
190
|
* CACHE
|
|
@@ -233,7 +233,7 @@ n&&n();P(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=s);t(r);e.then=s};if(e._initted&
|
|
|
233
233
|
* -------------------------------------------------
|
|
234
234
|
* TIMELINE
|
|
235
235
|
* -------------------------------------------------
|
|
236
|
-
*/var ue=function(t){d(i,t);function i(i,e){var n;if(i===void 0){i={}}n=t.call(this,i)||this;n.labels={};n.smoothChildTiming=!!i.smoothChildTiming;n.autoRemoveChildren=!!i.autoRemoveChildren;n._sort=B(i.sortChildren);N&&$t(i.parent||N,c(n),e);i.reversed&&n.reverse();i.paused&&n.paused(true);i.scrollTrigger&&
|
|
236
|
+
*/var ue=function(t){d(i,t);function i(i,e){var n;if(i===void 0){i={}}n=t.call(this,i)||this;n.labels={};n.smoothChildTiming=!!i.smoothChildTiming;n.autoRemoveChildren=!!i.autoRemoveChildren;n._sort=B(i.sortChildren);N&&$t(i.parent||N,c(n),e);i.reversed&&n.reverse();i.paused&&n.paused(true);i.scrollTrigger&&Gt(c(n),i.scrollTrigger);return n}var e=i.prototype;e.to=function t(i,e,n){oi(0,arguments,this);return this};e.from=function t(i,e,n){oi(1,arguments,this);return this};e.fromTo=function t(i,e,n,r){oi(2,arguments,this);return this};e.set=function t(i,e,n){e.duration=0;e.parent=this;Rt(e).repeatDelay||(e.repeat=0);e.immediateRender=!!e.immediateRender;new 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
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),
|
|
238
238
|
// if a paused timeline is resumed (or its _start is updated for another reason...which rounds it), that could result in the playhead shifting a **tiny** amount and a zero-duration child at that spot may get rendered at a different ratio, like its totalTime in render() may be 1e-17 instead of 0, for example.
|
|
239
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){
|
|
@@ -281,17 +281,17 @@ break}}h=l}}if(v&&!e){this.pause();v.render(f>=r?0:-y)._zTime=f>=r?1:-1;if(this.
|
|
|
281
281
|
this._start=C;//if the pause was at an earlier time and the user resumed in the callback, it could reposition the timeline (changing its startTime), throwing things off slightly, so we make sure the _start doesn't shift.
|
|
282
282
|
Nt(this);return this.render(i,e,n)}}this._onUpdate&&!e&&Ei(this,"onUpdate",true);if(a===s&&this._tTime>=this.totalDuration()||!a&&r)if(C===this._start||Math.abs(p)!==Math.abs(this._ts))if(!this._lock){
|
|
283
283
|
// remember, a child's callback may alter this timeline's playhead or timeScale which is why we need to add some of these checks.
|
|
284
|
-
(i||!o)&&(a===s&&this._ts>0||!a&&this._ts<0)&&
|
|
284
|
+
(i||!o)&&(a===s&&this._ts>0||!a&&this._ts<0)&&Ht(this,1);// don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.
|
|
285
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!
|
|
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&&
|
|
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&&zt(this,i);if(i===this._recent){this._recent=this._last}return It(this)};e.totalTime=function i(e,n){if(!arguments.length){return this._tTime}this._forcing=1;if(!this._dp&&this._ts){
|
|
287
287
|
//special case for the global timeline (or any other that has no parent or detached parent).
|
|
288
|
-
this._start=Mt(Ni.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))}t.prototype.totalTime.call(this,e,n);this._forcing=0;return this};e.addLabel=function t(i,e){this.labels[i]=si(this,e);return this};e.removeLabel=function t(i){delete this.labels[i];return this};e.addPause=function t(i,e,n){var r=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"){
|
|
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"){Ht(e)}e=e._next}};e.killTweensOf=function t(i,e,n){var r=this.getTweensOf(i,n),s=r.length;while(s--){de!==r[s]&&r[s].kill(i,e)}return this};e.getTweensOf=function t(i,e){var n=[],r=mi(i),s=this._first,o=O(e),
|
|
289
289
|
// a number is interpreted as a global time. If the animation spans
|
|
290
290
|
a;while(s){if(s instanceof be){if(jt(s._targets,r)&&(o?(!de||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())){
|
|
291
291
|
// note: if this is for overwriting, it should only be for tweens that aren't paused and are initted.
|
|
292
292
|
n.push(s)}}else if((a=s.getTweensOf(r,e)).length){n.push.apply(n,a)}s=s._next}return n}// potential future feature - targets() on timelines;
|
|
293
293
|
e.tweenTo=function t(i,e){e=e||{};var n=this,r=si(n,i),s=e,o=s.startAt,a=s.onStart,u=s.onStartParams,f=s.immediateRender,h,l=be.to(n,Ot({ease:e.ease||"none",lazy:false,immediateRender:false,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale())||y,onStart:function t(){n.pause();if(!h){var i=e.duration||Math.abs((r-(o&&"time"in o?o.time:n._time))/n.timeScale());l._dur!==i&&ei(l,i,0,1).render(l._time,true,true);h=1}a&&a.apply(l,u||[]);//in case the user had an onStart in the vars - we don't want to overwrite it.
|
|
294
|
-
}},e));return f?l.render(0):l};e.tweenFromTo=function t(i,e,n){return this.tweenTo(e,Ot({startAt:{time:si(this,i)}},n))};e.recent=function t(){return this._recent};e.nextLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i))};e.previousLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i),1)};e.currentLabel=function t(i){return arguments.length?this.seek(i,true):this.previousLabel(this._time+y)};e.shiftChildren=function t(i,e,n){if(n===void 0){n=0}var r=this._first,s=this.labels,o;i=Mt(i);while(r){if(r._start>=n){r._start+=i;r._end+=i}r=r._next}if(e){for(o in s){if(s[o]>=n){s[o]+=i}}}return
|
|
294
|
+
}},e));return f?l.render(0):l};e.tweenFromTo=function t(i,e,n){return this.tweenTo(e,Ot({startAt:{time:si(this,i)}},n))};e.recent=function t(){return this._recent};e.nextLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i))};e.previousLabel=function t(i){if(i===void 0){i=this._time}return Zi(this,si(this,i),1)};e.currentLabel=function t(i){return arguments.length?this.seek(i,true):this.previousLabel(this._time+y)};e.shiftChildren=function t(i,e,n){if(n===void 0){n=0}var r=this._first,s=this.labels,o;i=Mt(i);while(r){if(r._start>=n){r._start+=i;r._end+=i}r=r._next}if(e){for(o in s){if(s[o]>=n){s[o]+=i}}}return It(this)};e.invalidate=function i(e){var n=this._first;this._lock=0;while(n){n.invalidate(e);n=n._next}return t.prototype.invalidate.call(this,e)};e.clear=function t(i){if(i===void 0){i=true}var e=this._first,n;while(e){n=e._next;this.remove(e);e=n}this._dp&&(this._time=this._tTime=this._pTime=0);i&&(this.labels={});return It(this)};e.totalDuration=function t(i){var e=0,n=this,r=n._last,s=w,o,a,u;if(arguments.length){return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-i:i))}if(n._dirty){u=n.parent;while(r){o=r._prev;//record it here in case the tween changes position in the sequence...
|
|
295
295
|
r._dirty&&r.totalDuration();//could change the tween._startTime, so make sure the animation's cache is clean before analyzing it.
|
|
296
296
|
a=r._start;if(a>s&&n._sort&&r._ts&&!n._lock){
|
|
297
297
|
//in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence
|
|
@@ -317,14 +317,14 @@ v=new Se(this._pt,i,e,+c||0,r-(c||0),typeof l==="boolean"?Oe:Pe,0,d);f&&(v.fp=f)
|
|
|
317
317
|
le=function t(i,e,n,r,s){P(i)&&(i=we(i,s,e,n,r));if(!E(i)||i.style&&i.nodeType||S(i)||Y(i)){return _(i)?we(i,s,e,n,r):i}var o={},a;for(a in i){o[a]=we(i[a],s,e,n,r)}return o},ce=function t(i,e,n,r,s,o){var a,u,f,h;if(lt[i]&&(a=new lt[i]).init(s,a.rawVars?e[i]:le(e[i],r,s,o,n),n,r,o)!==false){n._pt=u=new Se(n._pt,s,i,0,1,a.render,a,0,a.priority);if(n!==Ti){f=n._ptLookup[n._targets.indexOf(s)];//note: we can't use tween._ptLookup[index] because for staggered tweens, the index from the fullTargets array won't match what it is in each individual tween that spawns from the stagger.
|
|
318
318
|
h=a._props.length;while(h--){f[a._props[h]]=u}}}return a},de,
|
|
319
319
|
//store a reference temporarily so we can avoid overwriting itself.
|
|
320
|
-
me,ve=function t(i,e,n){var r=i.vars,s=r.ease,o=r.startAt,a=r.immediateRender,u=r.lazy,f=r.onUpdate,h=r.runBackwards,l=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=i._dur,C=i._startAt,M=i._targets,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,
|
|
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,z,H,I,L;k&&(!c||!s)&&(s="none");i._ease=ie(s,v.ease);i._rEase=F&&(ie(F)||i._ease);i._from=!k&&!!r.runBackwards;//nested timelines should never run backwards - the backwards-ness is in the child tweens.
|
|
321
321
|
if(i._from)i.ratio=1;if(!k||c&&!r.stagger){
|
|
322
322
|
//if there's an internal timeline, skip all the parsing because we passed that task down the chain.
|
|
323
|
-
Y=M[0]?gt(M[0]).harness:0;
|
|
323
|
+
Y=M[0]?gt(M[0]).harness:0;I=Y&&r[Y.prop];//someone may need to specify CSS-specific values AND non-CSS values, like if the element has an "x" property plus it's a standard DOM element. We allow people to distinguish by wrapping plugin-specific stuff in a css:{} object for example.
|
|
324
324
|
_=Tt(r,at);if(C){C._zTime<0&&C.progress(1);// in case it's a lazy startAt that hasn't rendered yet.
|
|
325
325
|
e<0&&h&&a&&!d?C.render(-1,true):C.revert(h&&m?st:rt);// if it's a "startAt" (not "from()" or runBackwards: true), we only need to do a shallow revert (keep transforms cached in CSSPlugin)
|
|
326
326
|
// don't just _removeFromParent(prevStartAt.render(-1, true)) because that'll leave inline styles. We're creating a new _startAt for "startAt" tweens that re-capture things to ensure that if the pre-tween values changed since the tween was created, they're recorded.
|
|
327
|
-
C._lazy=0}if(o){
|
|
327
|
+
C._lazy=0}if(o){Ht(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);
|
|
328
328
|
i._startAt._dp=0;// don't allow it to get put back into root timeline! Like when revert() is called and totalTime() gets set.
|
|
329
329
|
i._startAt._sat=i;// used in globalTime(). _sat stands for _startAtTween
|
|
330
330
|
e<0&&(g||!a&&!d)&&i._startAt.revert(st);// rare edge case, like if a render is forced in the negative direction of a non-initted tween.
|
|
@@ -338,12 +338,12 @@ O=Ot({overwrite:false,data:"isFromStart",
|
|
|
338
338
|
//we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.
|
|
339
339
|
lazy:a&&!C&&B(u),immediateRender:a,
|
|
340
340
|
//zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
|
|
341
|
-
stagger:0,parent:b},_);
|
|
342
|
-
|
|
341
|
+
stagger:0,parent:b},_);I&&(O[Y.prop]=I);// in case someone does something like .from(..., {css:{}})
|
|
342
|
+
Ht(i._startAt=be.set(M,O));i._startAt._dp=0;// don't allow it to get put back into root timeline!
|
|
343
343
|
i._startAt._sat=i;// used in globalTime()
|
|
344
344
|
e<0&&(g?i._startAt.revert(st):i._startAt.render(-1,true));i._zTime=e;if(!a){t(i._startAt,y,y);//ensures that the initial values are recorded
|
|
345
|
-
}else if(!e){return}}}i._pt=i._ptCache=0;u=m&&B(u)||u&&!m;for(P=0;P<M.length;P++){E=M[P];R=E._gsap||pt(M)[P]._gsap;i._ptLookup[P]=
|
|
346
|
-
|
|
345
|
+
}else if(!e){return}}}i._pt=i._ptCache=0;u=m&&B(u)||u&&!m;for(P=0;P<M.length;P++){E=M[P];R=E._gsap||pt(M)[P]._gsap;i._ptLookup[P]=z={};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
|
+
H=j===M?P:j.indexOf(E);if(Y&&(S=new Y).init(E,I||_,i,H,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){z[t]=Z}));S.priority&&(T=1)}if(!Y||I){for(O in _){if(lt[O]&&(S=ce(O,_,i,H,E,j))){S.priority&&(T=1)}else{z[O]=Z=he.call(i,E,O,"get",_[O],H,j,0,r.stringFilter)}}}i._op&&i._op[P]&&i.kill(E,i._op[P]);if(x&&i._pt){de=i;N.killTweensOf(E,z,i.globalTime(e));// make sure the overwriting doesn't overwrite THIS tween!!!
|
|
347
347
|
L=!i.parent;de=0}i._pt&&u&&(ft[R.id]=1)}T&&Ye(i);i._onInit&&i._onInit(i);//plugins like RoundProps must wait until ALL of the PropTweens are instantiated. In the plugin's init() function, it sets the _onInit on the tween instance. May not be pretty/intuitive, but it's fast and keeps file size down.
|
|
348
348
|
}i._onUpdate=f;i._initted=(!i._op||i._pt)&&!L;// if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick.
|
|
349
349
|
c&&e<=0&&k.render(w,true,true);// if there's a 0% keyframe, it'll render in the "before" state for any staggered/delayed animations thus when the following tween initializes, it'll use the "before" state instead of the "after" state as the initial values.
|
|
@@ -375,12 +375,12 @@ for(k in h){if(~ye.indexOf(k)){P||(P={});P[k]=h[k]}}}for(b=0;b<x;b++){j=Tt(e,Me)
|
|
|
375
375
|
j.duration=+we(a,c(s),b,F,w);j.delay=(+we(u,c(s),b,F,w)||0)-s._delay;if(!h&&x===1&&j.delay){
|
|
376
376
|
// if someone does delay:"random(1, 5)", repeat:-1, for example, the delay shouldn't be inside the repeat.
|
|
377
377
|
s._delay=u=j.delay;s._start+=u;j.delay=0}M.to(F,j,_?_(b,F,w):0);M._ease=Wi.none}M.duration()?a=u=0:s.timeline=0;// if the timeline's duration is 0, we don't need a timeline internally!
|
|
378
|
-
}else if(d){Rt(Ot(M.vars.defaults,{ease:"none"}));M._ease=ie(d.ease||e.ease||"none");var T=0,H,I
|
|
379
|
-
}else{j={};for(k in d){k==="ease"||k==="easeEach"||Ce(k,d[k],j,d.easeEach)}for(k in j){
|
|
378
|
+
}else if(d){Rt(Ot(M.vars.defaults,{ease:"none"}));M._ease=ie(d.ease||e.ease||"none");var T=0,z,H,I;if(S(d)){d.forEach((function(t){return M.to(w,t,">")}));M.duration();// to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.
|
|
379
|
+
}else{j={};for(k in d){k==="ease"||k==="easeEach"||Ce(k,d[k],j,d.easeEach)}for(k in j){z=j[k].sort((function(t,i){return t.t-i.t}));T=0;for(b=0;b<z.length;b++){H=z[b];I={ease:H.e,duration:(H.t-(b?z[b-1].t:0))/100*a};I[k]=H.v;M.to(w,I,T);T+=I.duration}}M.duration()<a&&M.to({},{duration:a-M.duration()});// in case keyframes didn't go to 100%
|
|
380
380
|
}}a||s.duration(a=M.duration())}else{s.timeline=0;//speed optimization, faster lookups (no going up the prototype chain)
|
|
381
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)
|
|
382
382
|
s.render(Math.max(0,-u)||0);//in case delay is negative
|
|
383
|
-
}g&&
|
|
383
|
+
}g&&Gt(c(s),g);return s}var e=i.prototype;e.render=function t(i,e,n){var r=this._time,s=this._tDur,o=this._dur,a=i<0,u=i>s-y&&!a?s:i<y?0:i,f,h,l,c,d,m,v,p;if(!o){ti(this,i,e,n)}else if(u!==this._tTime||!i||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==a||this._lazy){
|
|
384
384
|
// this senses if we're crossing over the start time, in which case we must record _zTime and force the render, but we do it in this lengthy conditional way for performance reasons (usually we can skip the calculations): this._initted && (this._zTime < 0) !== (totalTime < 0)
|
|
385
385
|
f=u;p=this.timeline;if(this._repeat){
|
|
386
386
|
//adjust the time for repeats and yoyos
|
|
@@ -395,7 +395,7 @@ this._tTime=u;return this}if(l!==d){
|
|
|
395
395
|
if(this.vars.repeatRefresh&&!m&&!this._lock&&f!==c&&this._initted){
|
|
396
396
|
// this._time will === cycleDuration when we render at EXACTLY the end of an iteration. Without this condition, it'd often do the repeatRefresh render TWICE (again on the very next tick).
|
|
397
397
|
this._lock=n=1;//force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick.
|
|
398
|
-
this.render(Mt(c*l),true).invalidate()._lock=0}}}if(!this._initted){if(
|
|
398
|
+
this.render(Mt(c*l),true).invalidate()._lock=0}}}if(!this._initted){if(Qt(this,a?i:f,n,e,u)){this._tTime=0;// in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number.
|
|
399
399
|
return this}if(r!==this._time&&!(n&&this.vars.repeatRefresh&&l!==d)){
|
|
400
400
|
// rare edge case - during initialization, an onUpdate in the _startAt (.fromTo()) might force this tween to render at a different spot in which case we should ditch this render() call so that it doesn't revert the values. But we also don't want to dump if we're doing a repeatRefresh render!
|
|
401
401
|
return this}if(o!==this._dur){
|
|
@@ -404,7 +404,7 @@ return this.render(i,e,n)}}if(this._rEase){var g=f<r;if(g!==this._inv){var C=g?r
|
|
|
404
404
|
this._lazy=0}if(!r&&u&&!e&&!d){Ei(this,"onStart");if(this._tTime!==u){
|
|
405
405
|
// in case the onStart triggered a render at a different spot, eject. Like if someone did animation.pause(0.5) or something inside the onStart.
|
|
406
406
|
return this}}h=this._pt;while(h){h.r(v,h.d);h=h._next}p&&p.render(i<0?i:p._dur*p._ease(f/this._dur),e,n)||this._startAt&&(this._zTime=i);if(this._onUpdate&&!e){a&&Dt(this,i,e,n);//note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.
|
|
407
|
-
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)&&
|
|
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)&&Ht(this,1);// don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.
|
|
408
408
|
if(!e&&!(a&&!r)&&(u||r||m)){
|
|
409
409
|
// if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();
|
|
410
410
|
Ei(this,u===s?"onComplete":"onReverseComplete",true);this._prom&&!(u<s&&this.timeScale()>0)&&this._prom()}}}return this};e.targets=function t(){return this._targets};e.invalidate=function i(e){
|
|
@@ -424,7 +424,7 @@ qt(this,0);this.parent||St(this._dp,this,"_first","_last",this._dp._sort?"_start
|
|
|
424
424
|
this.parent&&n!==this.timeline.totalDuration()&&ei(this,this._dur*this.timeline._tDur/n,0,1);// if a nested tween is killed that changes the duration, it should affect this tween's duration. We must use the ratio, though, because sometimes the internal timeline is stretched like for keyframes where they don't all add up to whatever the parent tween's duration was set to.
|
|
425
425
|
return this}var r=this._targets,s=i?mi(i):r,o=this._ptLookup,a=this._pt,u,f,h,l,c,d,m;if((!e||e==="all")&&Yt(r,s)){e==="all"&&(this._pt=0);return Bi(this)}u=this._op=this._op||[];if(e!=="all"){
|
|
426
426
|
//so people can pass in a comma-delimited list of property names
|
|
427
|
-
if(_(e)){c={};wt(e,(function(t){return c[t]=1}));e=c}e=ge(r,e)}m=r.length;while(m--){if(~s.indexOf(r[m])){f=o[m];if(e==="all"){u[m]=e;l=f;h={}}else{h=u[m]=u[m]||{};l=e}for(c in l){d=f&&f[c];if(d){if(!("kill"in d.d)||d.d.kill(c)===true){
|
|
427
|
+
if(_(e)){c={};wt(e,(function(t){return c[t]=1}));e=c}e=ge(r,e)}m=r.length;while(m--){if(~s.indexOf(r[m])){f=o[m];if(e==="all"){u[m]=e;l=f;h={}}else{h=u[m]=u[m]||{};l=e}for(c in l){d=f&&f[c];if(d){if(!("kill"in d.d)||d.d.kill(c)===true){zt(this,d,"_pt")}delete f[c]}if(h!=="all"){h[c]=1}}}}this._initted&&!this._pt&&a&&Bi(this);//if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.
|
|
428
428
|
return this};i.to=function t(e,n){return new i(e,n,arguments[2])};i.from=function t(i,e){return oi(1,arguments)};i.delayedCall=function t(e,n,r,s){return new i(n,0,{immediateRender:false,lazy:false,overwrite:false,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:s});// we must use onReverseComplete too for things like timeline.add(() => {...}) which should be triggered in BOTH directions (forward and reverse)
|
|
429
429
|
};i.fromTo=function t(i,e,n){return oi(2,arguments)};i.set=function t(e,n){n.duration=0;n.repeatDelay||(n.repeat=0);return new i(e,n)};i.killTweensOf=function t(i,e,n){return N.killTweensOf(i,e,n)};return i}(ae);Ot(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});//add the pertinent timeline methods to Tween instances so that users can chain conveniently and create a timeline automatically. (removed due to concerns that it'd ultimately add to more confusion especially for beginners)
|
|
430
430
|
// _forEachName("to,from,fromTo,set,call,add,addLabel,addPause", name => {
|
|
@@ -445,12 +445,12 @@ r=e.b}else if(i===1&&e.e){
|
|
|
445
445
|
//e = ending string
|
|
446
446
|
r=e.e}else{while(n){r=n.p+(n.m?n.m(n.s+n.c*i):Math.round((n.s+n.c*i)*1e4)/1e4)+r;//we use the "p" property for the text inbetween (like a suffix). And in the context of a complex string, the modifier (m) is typically just Math.round(), like for RGB colors.
|
|
447
447
|
n=n._next}r+=e.c;//we use the "c" of the PropTween to store the final chunk of non-numeric text.
|
|
448
|
-
}e.set(e.t,e.p,r,e)},Ee=function t(i,e){var n=e._pt;while(n){n.r(i,n.d);n=n._next}},Be=function t(i,e,n,r){var s=this._pt,o;while(s){o=s._next;s.p===r&&s.modifier(i,e,n);s=o}},Te=function t(i){var e=this._pt,n,r;while(e){r=e._next;if(e.p===i&&!e.op||e.op===i){
|
|
448
|
+
}e.set(e.t,e.p,r,e)},Ee=function t(i,e){var n=e._pt;while(n){n.r(i,n.d);n=n._next}},Be=function t(i,e,n,r){var s=this._pt,o;while(s){o=s._next;s.p===r&&s.modifier(i,e,n);s=o}},Te=function t(i){var e=this._pt,n,r;while(e){r=e._next;if(e.p===i&&!e.op||e.op===i){zt(this,e,"_pt")}else if(!e.dep){n=1}e=r}return!n},Re=function t(i,e,n,r){r.mSet(i,e,r.m.call(r.tween,n,r.mt),r)},Ye=function t(i){var e=i._pt,n,r,s,o;//sorts the PropTween linked list in order of priority because some plugins need to do their work after ALL of the PropTweens were created (like RoundPropsPlugin and ModifiersPlugin)
|
|
449
449
|
while(e){n=e._next;r=s;while(r&&r.pr>e.pr){r=r._next}if(e._prev=r?r._prev:o){e._prev._next=e}else{s=e}if(e._next=r){r._prev=e}else{o=e}e=n}i._pt=s};//PropTween key: t = target, p = prop, r = renderer, d = data, s = start, c = change, op = overwriteProperty (ONLY populated when it's different than p), pr = priority, _next/_prev for the linked list siblings, set = setter, m = modifier, mSet = modifierSetter (the original setter, before a modifier was added)
|
|
450
450
|
var Se=function(){function t(t,i,e,n,r,s,o,a,u){this.t=i;this.s=n;this.c=r;this.p=e;this.r=s||Pe;this.d=o||this;this.set=a||je;this.pr=u||0;this._next=t;if(t){t._prev=this}}var i=t.prototype;i.modifier=function t(i,e,n){this.mSet=this.mSet||this.set;//in case it was already set (a PropTween can only have one modifier)
|
|
451
451
|
this.set=Re;this.m=i;this.mt=n;//modifier target
|
|
452
452
|
this.tween=e};return t}();//Initialization tasks
|
|
453
|
-
wt(vt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",(function(t){return at[t]=1}));
|
|
453
|
+
wt(vt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",(function(t){return at[t]=1}));G.TweenMax=G.TweenLite=be;G.TimelineLite=G.TimelineMax=ue;N=new ue({sortChildren:false,defaults:v,autoRemoveChildren:true,id:"root",smoothChildTiming:true});m.stringFilter=Xi;var ze=[],He={},Ie=[],Le=0,De=0,Ve=function t(i){return(He[i]||Ie).map((function(t){return t()}))},Ae=function t(){var i=Date.now(),e=[];if(i-Le>2){Ve("matchMediaInit");ze.forEach((function(t){var i=t.queries,n=t.conditions,r,s,o,a;for(s in i){r=q.matchMedia(i[s]).matches;// Firefox doesn't update the "matches" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.
|
|
454
454
|
r&&(o=1);if(r!==n[s]){n[s]=r;a=1}}if(a){t.revert();o&&e.push(t)}}));Ve("matchMediaRevert");e.forEach((function(t){return t.onMatch(t,(function(i){return t.add(null,i)}))}));Le=i;Ve("matchMedia")}};var Xe=function(){function t(t,i){this.selector=i&&vi(i);this.data=[];this._r=[];// returned/cleanup functions
|
|
455
455
|
this.isReverted=false;this.id=De++;// to work around issues that frameworks like Vue cause by making things into Proxies which make it impossible to do something like _media.indexOf(this) because "this" would no longer refer to the Context instance itself - it'd refer to a Proxy! We needed a way to identify the context uniquely
|
|
456
456
|
t&&this.add(t)}var i=t.prototype;i.add=function t(i,e,n){
|
|
@@ -466,31 +466,31 @@ t.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRend
|
|
|
466
466
|
e=n.data.length;while(e--){
|
|
467
467
|
// make sure we loop backwards so that, for example, SplitTexts that were created later on the same element get reverted first
|
|
468
468
|
r=n.data[e];if(r instanceof ue){if(r.data!=="nested"){r.scrollTrigger&&r.scrollTrigger.revert();r.kill();// don't revert() the timeline because that's duplicating efforts since we already reverted all the tweens
|
|
469
|
-
}}else{!(r instanceof 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=
|
|
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=ze.length;while(r--){
|
|
470
470
|
// previously, we checked _media.indexOf(this), but some frameworks like Vue enforce Proxy objects that make it impossible to get the proper result that way, so we must use a unique ID number instead.
|
|
471
|
-
|
|
471
|
+
ze[r].id===this.id&&ze.splice(r,1)}this._mqs&&this._mqs.forEach((function(t){return t.removeListener?t.removeListener(Ae):t.removeEventListener("change",Ae)}));this._mqs=null}}// killWithCleanup() {;
|
|
472
472
|
i.revert=function t(i){this.kill(i||{})};return t}();var Ue=function(){function t(t){this.contexts=[];this.scope=t;C&&C.data.push(this)}var i=t.prototype;i.add=function t(i,e,n){E(i)||(i={matches:i});var r=new Xe(0,n||this.scope),s=r.conditions={},o,a,u;C&&!r.selector&&(r.selector=C.selector);// in case a context is created inside a context. Like a gsap.matchMedia() that's inside a scoped gsap.context()
|
|
473
|
-
this.contexts.push(r);e=r.add("onMatch",e);r.queries=i;for(a in i){if(a==="all"){u=1}else{o=q.matchMedia(i[a]);if(o){
|
|
473
|
+
this.contexts.push(r);e=r.add("onMatch",e);r.queries=i;for(a in i){if(a==="all"){u=1}else{o=q.matchMedia(i[a]);if(o){ze.indexOf(r)<0&&ze.push(r);(s[a]=o.matches)&&(u=1);o.addListener?o.addListener(Ae):o.addEventListener("change",Ae);(r._mqs||(r._mqs=[])).push(o)}}}u&&e(r,(function(t){return r.add(null,t)}));return this}// refresh() {;
|
|
474
474
|
i.revert=function t(i){this.kill(i||{})};i.kill=function t(i){this.contexts.forEach((function(t){return t.kill(i,true)}))};return t}();
|
|
475
475
|
/*
|
|
476
476
|
* --------------------------------------------------------------------------------------
|
|
477
477
|
* GSAP
|
|
478
478
|
* --------------------------------------------------------------------------------------
|
|
479
479
|
*/var Ne={registerPlugin:function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++){e[n]=arguments[n]}e.forEach((function(t){return Yi(t)}))},timeline:function t(i){return new ue(i)},getTweensOf:function t(i,e){return N.getTweensOf(i,e)},getProperty:function t(i,e,n,r){_(i)&&(i=mi(i)[0]);//in case selector text or an array is passed in
|
|
480
|
-
var s=gt(i||{}).get,o=n?Pt:_t;n==="native"&&(n="");return!i?i:!e?function(t,e,n){return o((lt[t]&<[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 Ge.quickSetter(t,e,n)})),s=r.length;return function(t){var i=s;while(i--){r[i](t)}}}i=i[0]||{};var o=lt[e],a=gt(i),u=a.harness&&(a.harness.aliases||{})[e]||e,
|
|
481
481
|
// in case it's an alias, like "rotate" for "rotation".
|
|
482
|
-
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=
|
|
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
|
|
482
|
+
f=o?function(t){var e=new o;Ti._pt=0;e.init(i,n?t+n:t,Ti,0,[i]);e.render(1,e);Ti._pt&&Ee(1,Ti)}:a.set(i,u);return o?f:function(t){return f(i,u,n?t+n:t,a,1)}},quickTo:function t(i,e,n){var r;var s=Ge.to(i,Ot((r={},r[e]="+=0.1",r.paused=true,r.stagger=0,r),n||{})),o=function t(i,n,r){return s.resetTo(e,i,n,r)};o.tween=s;return o},isTweening:function t(i){return N.getTweensOf(i,true).length>0},defaults:function t(i){i&&i.ease&&(i.ease=ie(i.ease,v.ease));return Bt(v,i||{})},config:function t(i){return Bt(m,i||{})},registerEffect:function t(i){var e=i.name,n=i.effect,r=i.plugins,s=i.defaults,o=i.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!lt[t]&&!G[t]&&it(e+" effect requires "+t+" plugin.")}));ct[e]=function(t,i,e){return n(mi(t),Ot(i||{},s),e)};if(o){ue.prototype[e]=function(t,i,n){return this.add(ct[e](t,E(i)?i:(n=i)&&{},this),n)}}},registerEase:function t(i,e){Wi[i]=ie(e)},parseEase:function t(i,e){return arguments.length?ie(i,e):Wi},getById:function t(i){return N.getById(i)},exportRoot:function t(i,e){if(i===void 0){i={}}var n=new ue(i),r,s;n.smoothChildTiming=B(i.smoothChildTiming);N.remove(n);n._dp=0;//otherwise it'll get re-activated when adding children and be re-introduced into _globalTimeline's linked list (then added to itself).
|
|
483
|
+
n._time=n._tTime=N._time;r=N._first;while(r){s=r._next;if(e||!(!r._dur&&r instanceof 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 ze.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=He[i]||(He[i]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function t(i,e){var n=He[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:Ii,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:zt,reverting:function t(){return g},context:function t(i){if(i&&C){C.data.push(i);i._ctx=C}return C},suppressOverwrites:function t(i){return p=i}}};wt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Ne[t]=be[t]}));Ni.add(ue.updateRoot);Ti=Ne.to({},{duration:0});// ---- EXTRA PLUGINS --------------------------------------------------------
|
|
484
484
|
var qe=function t(i,e){var n=i._pt;while(n&&n.p!==e&&n.op!==e&&n.fp!==e){n=n._next}return n},We=function t(i,e){var n=i._targets,r,s,o;for(r in e){s=n.length;while(s--){o=i._ptLookup[s][r];if(o&&(o=o.d)){if(o._pt){
|
|
485
485
|
// is a plugin
|
|
486
486
|
o=qe(o,r)}o&&o.modifier&&o.modifier(e[r],i,n[s],r)}}}},$e=function t(i,e){return{name:i,headless:1,rawVars:1,
|
|
487
487
|
//don't pre-process function-based values or "random()" strings.
|
|
488
488
|
init:function t(i,n,r){r._onInit=function(t){var i,r;if(_(n)){i={};wt(n,(function(t){return i[t]=1}));//if the user passes in a comma-delimited list of property names to roundProps, like "x,y", we round to whole numbers.
|
|
489
489
|
n=i}if(e){i={};for(r in n){i[r]=e(n[r])}n=i}We(t,n)}}}};//register core plugins
|
|
490
|
-
var
|
|
490
|
+
var Ge=Ne.registerPlugin({name:"attr",init:function t(i,e,n,r,s){var o,a,u;this.tween=n;for(o in e){u=i.getAttribute(o)||"";a=this.add(i,"setAttribute",(u||0)+"",e[o],r,s,0,0,o);a.op=o;a.b=u;// record the beginning value so we can revert()
|
|
491
491
|
this._props.push(o)}},render:function t(i,e){var n=e._pt;while(n){g?n.set(n.t,n.p,n.b,n):n.r(i,n.d);// if reverting, go back to the original (pt.b)
|
|
492
492
|
n=n._next}}},{name:"endArray",headless:1,init:function t(i,e){var n=e.length;while(n--){this.add(i,n,i[n]||0,e[n],0,0,0,0,0,1)}}},$e("roundProps",Ci),$e("modifiers"),$e("snap",wi))||Ne;//to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way.
|
|
493
|
-
be.version=ue.version=
|
|
493
|
+
be.version=ue.version=Ge.version="3.15.1";J=1;T()&&qi();
|
|
494
494
|
/*!
|
|
495
495
|
* CSSPlugin 3.15.1
|
|
496
496
|
* https://gsap.com
|
|
@@ -498,7 +498,7 @@ be.version=ue.version=Qe.version="3.15.1";J=1;T()&&qi();
|
|
|
498
498
|
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
499
499
|
* Subject to the terms at https://gsap.com/standard-license
|
|
500
500
|
* @author: Jack Doyle, jack@greensock.com
|
|
501
|
-
*/var
|
|
501
|
+
*/var Qe,Je,Ke,tn,en,nn,rn,sn=function t(){return typeof window!=="undefined"},on={},an=180/Math.PI,un=Math.PI/180,fn=Math.atan2,hn=1e8,ln=/([A-Z])/g,cn=/(left|right|width|margin|padding|x)/i,dn=/[\s,\(]\S/,mn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vn=function t(i,e){return e.set(e.t,e.p,Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},pn=function t(i,e){return e.set(e.t,e.p,i===1?e.e:Math.round((e.s+e.c*i)*1e4)/1e4+e.u,e)},gn=function t(i,e){return e.set(e.t,e.p,i?Math.round((e.s+e.c*i)*1e4)/1e4+e.u:e.b,e)},
|
|
502
502
|
//if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)
|
|
503
503
|
Cn=function t(i,e){return e.set(e.t,e.p,i===1?e.e:i?Math.round((e.s+e.c*i)*1e4)/1e4+e.u:e.b,e)},
|
|
504
504
|
//if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)
|
|
@@ -511,13 +511,13 @@ e[i[s]](i[s+2])}else{
|
|
|
511
511
|
// non-CSS value (not function-based)
|
|
512
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.
|
|
513
513
|
r.zOrigin=0;r.renderTransform()}r.uncache=1;// if it's a startAt that's being reverted in the _initTween() of the core, we don't need to uncache transforms. This is purely a performance optimization.
|
|
514
|
-
}}},Tn=function t(i,e){var n={target:i,props:[],revert:Bn,save:Zn};i._gsap||
|
|
514
|
+
}}},Tn=function t(i,e){var n={target:i,props:[],revert:Bn,save:Zn};i._gsap||Ge.core.getCache(i);// just make sure there's a _gsap cache defined because we read from it in _saveStyle() and it's more efficient to just check it here once.
|
|
515
515
|
e&&i.style&&i.nodeType&&e.split(",").forEach((function(t){return n.save(t)}));// make sure it's a DOM node too.
|
|
516
516
|
return n},Rn,Yn=function t(i,e){var n=Je.createElementNS?Je.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),i):Je.createElement(i);//some servers swap in https for http in the namespace which can break things, making "style" inaccessible.
|
|
517
517
|
return n&&n.style?n:Je.createElement(i);//some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://gsap.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/).
|
|
518
|
-
},Sn=function t(i,e,n){var r=getComputedStyle(i);return r[e]||r.getPropertyValue(e.replace(ln,"-$1").toLowerCase())||r.getPropertyValue(e)||!n&&t(i,
|
|
519
|
-
},
|
|
520
|
-
Rn=!!
|
|
518
|
+
},Sn=function t(i,e,n){var r=getComputedStyle(i);return r[e]||r.getPropertyValue(e.replace(ln,"-$1").toLowerCase())||r.getPropertyValue(e)||!n&&t(i,Hn(e)||e,1)||"";//css variables may not need caps swapped out for dashes and lowercase.
|
|
519
|
+
},zn="O,Moz,ms,Ms,Webkit".split(","),Hn=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--&&!(zn[o]+i in s)){}return o<0?null:(o===3?"ms":o>=0?zn[o]:"")+i},In=function t(){if(sn()&&window.document){Qe=window;Je=Qe.document;Ke=Je.documentElement;en=Yn("div")||{style:{}};Yn("div");Pn=Hn(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=!!Hn("perspective");rn=Ge.core.reverting;tn=1}},Ln=function t(i){
|
|
521
521
|
//works around issues in some browsers (like Firefox) that don't correctly report getBBox() on SVG elements inside a <defs> element and/or <mask>. We try creating an SVG, adding it to the documentElement and toss the element in there so that it's definitely part of the rendering tree, then grab the bbox and if it works, we actually swap out the original getBBox() method for our own that does these extra steps whenever getBBox is needed. This helps ensure that performance is optimal (only do all these extra steps when absolutely necessary...most elements don't need it).
|
|
522
522
|
var e=i.ownerSVGElement,n=Yn("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=i.cloneNode(true),s;r.style.display="block";n.appendChild(r);Ke.appendChild(n);try{s=r.getBBox()}catch(t){}n.removeChild(r);Ke.removeChild(n);return s},Dn=function t(i,e){var n=e.length;while(n--){if(i.hasAttribute(e[n])){return i.getAttribute(e[n])}}},Vn=function t(i){var e,n;try{e=i.getBBox();//Firefox throws errors if you try calling getBBox() on an SVG element that's not rendered (like in a <symbol> or <defs>). https://bugzilla.mozilla.org/show_bug.cgi?id=612118
|
|
523
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.
|
|
@@ -534,12 +534,12 @@ Wn=function t(i,e,n,r){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").leng
|
|
|
534
534
|
a=en.style,u=cn.test(e),f=i.tagName.toLowerCase()==="svg",h=(f?"client":"offset")+(u?"Width":"Height"),l=100,c=r==="px",d=r==="%",m,v,p,g;if(r===o||!s||Nn[r]||Nn[o]){return s}o!=="px"&&!c&&(s=t(i,e,n,"px"));g=i.getCTM&&An(i);if((d||o==="%")&&(on[e]||~e.indexOf("adius"))){m=g?i.getBBox()[u?"width":"height"]:i[h];return yt(d?s/m*l:s/100*m)}a[u?"width":"height"]=l+(c?o:r);v=r!=="rem"&&~e.indexOf("adius")||r==="em"&&i.appendChild&&!f?i:i.parentNode;if(g){v=(i.ownerSVGElement||{}).parentNode}if(!v||v===Je||!v.appendChild){v=Je.body}p=v._gsap;if(p&&d&&p.width&&u&&p.time===Ni.time&&!p.uncache){return yt(s/p.width*l)}else{if(d&&(e==="height"||e==="width")){
|
|
535
535
|
// if we're dealing with width/height that's inside a container with padding and/or it's a flexbox/grid container, we must apply it to the target itself rather than the _tempDiv in order to ensure complete accuracy, factoring in the parent's padding.
|
|
536
536
|
var C=i.style[e];i.style[e]=l+r;m=i[h];C?i.style[e]=C:Xn(i,e)}else{(d||o==="%")&&!qn[Sn(v,"display")]&&(a.position=Sn(i,"position"));v===i&&(a.position="static");// like for borderRadius, if it's a % we must have it relative to the target itself but that may not have position: relative or position: absolute in which case it'd go up the chain until it finds its offsetParent (bad). position: static protects against that.
|
|
537
|
-
v.appendChild(en);m=en[h];v.removeChild(en);a.position="absolute"}if(u&&d){p=gt(v);p.time=Ni.time;p.width=v[h]}}return yt(c?m*s/l:m&&s?l/m*s:0)},$n=function t(i,e,n,r){var s;tn||
|
|
538
|
-
}}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},
|
|
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||In();if(e in mn&&e!=="transform"){e=mn[e];if(~e.indexOf(",")){e=e.split(",")[0]}}if(on[e]&&e!=="transform"){s=ar(i,r);s=e!=="transformOrigin"?s[e]:s.svg?s.origin:ur(Sn(i,On))+" "+s.zOrigin+"px"}else{s=i.style[e];if(!s||s==="auto"||r||~(s+"").indexOf("calc(")){s=tr[e]&&tr[e](i,e,n)||Sn(i,e)||Ct(i,e)||(e==="opacity"?1:0);// note: some browsers, like Firefox, don't report borderRadius correctly! Instead, it only reports every corner like borderTopLeftRadius
|
|
538
|
+
}}return n&&!~(s+"").trim().indexOf(" ")?Wn(i,e,s,n)+n:s},Gn=function t(i,e,n,r){
|
|
539
539
|
// note: we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus "this" would refer to the plugin.
|
|
540
540
|
if(!n||n==="none"){
|
|
541
541
|
// some browsers like Safari actually PREFER the prefixed property and mis-report the unprefixed value like clipPath (BUG). In other words, even though clipPath exists in the style ("clipPath" in target.style) and it's set in the CSS properly (along with -webkit-clip-path), Safari reports clipPath as "none" whereas WebkitClipPath reports accurately like "ellipse(100% 0% at 50% 0%)", so in this case we must SWITCH to using the prefixed property instead. See https://gsap.com/forums/topic/18310-clippath-doesnt-work-on-ios/
|
|
542
|
-
var s=
|
|
542
|
+
var s=Hn(e,i,1),o=s&&Sn(i,s,1);if(o&&o!==n){e=s;n=o}else if(e==="borderColor"){n=Sn(i,"borderTopColor");// Firefox bug: always reports "borderColor" as "", so we must fall back to borderTopColor. See https://gsap.com/forums/topic/24583-how-to-return-colors-that-i-had-after-reverse/
|
|
543
543
|
}}var a=new Se(this._pt,i.style,e,0,1,Ze),u=0,f=0,h,l,c,d,v,p,g,C,w,y,M,b;a.b=n;a.e=r;n+="";// ensure values are strings
|
|
544
544
|
r+="";if(r.substring(0,6)==="var(--"){r=Sn(i,r.substring(4,r.indexOf(")")))}if(r==="auto"){p=i.style[e];i.style[e]=r;r=Sn(i,e)||r;p?i.style[e]=p:Xn(i,e)}h=[n,r];Xi(h);// pass an array with the starting and ending values and let the filter do whatever it needs to the values. If colors are found, it returns true and then we must match where the color shows up order-wise because for things like boxShadow, sometimes the browser provides the computed values with the color FIRST, but the user provides it with the color LAST, so flip them if necessary. Same for drop-shadow().
|
|
545
545
|
n=h[0];r=h[1];c=n.match(D)||[];b=r.match(D)||[];if(b.length){while(l=D.exec(r)){g=l[0];w=r.substring(u,l.index);if(v){v=(v+1)%5}else if(w.substr(-5)==="rgba("||w.substr(-5)==="hsla("){v=1}if(g!==(p=c[f++]||"")){d=parseFloat(p)||0;M=p.substr((d+"").length);g.charAt(1)==="="&&(g=bt(d,g)+M);C=parseFloat(g);y=g.substr((C+"").length);u=D.lastIndex-y.length;if(!y){
|
|
@@ -550,9 +550,9 @@ a._pt={_next:a._pt,p:w||f===1?w:",",
|
|
|
550
550
|
s:d,c:C-d,m:v&&v<4||e==="zIndex"?Math.round:0}}}a.c=u<r.length?r.substring(u,r.length):"";//we use the "c" of the PropTween to store the final part of the string (after the last number)
|
|
551
551
|
}else{a.r=e==="display"&&r==="none"?Mn:yn}A.test(r)&&(a.e=0);//if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).
|
|
552
552
|
this._pt=a;//start the linked list with this new PropTween. Remember, we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within another plugin too, thus "this" would refer to the plugin.
|
|
553
|
-
return a},
|
|
553
|
+
return a},Qn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jn=function t(i){var e=i.split(" "),n=e[0],r=e[1]||"50%";if(n==="top"||n==="bottom"||r==="left"||r==="right"){
|
|
554
554
|
//the user provided them in the wrong order, so flip them
|
|
555
|
-
i=n;n=r;r=i}e[0]=
|
|
555
|
+
i=n;n=r;r=i}e[0]=Qn[n]||n;e[1]=Qn[r]||r;return e.join(" ")},Kn=function t(i,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,r=n.style,s=e.u,o=n._gsap,a,u,f;if(s==="all"||s===true){r.cssText="";u=1}else{s=s.split(",");f=s.length;while(--f>-1){a=s[f];if(on[a]){u=1;a=a==="transformOrigin"?On:Pn}Xn(n,a)}}if(u){Xn(n,Pn);if(o){o.svg&&n.removeAttribute("transform");r.scale=r.rotate=r.translate="none";ar(n,1);// force all the cached values back to "normal"/identity, otherwise if there's another tween that's already set to render transforms on this element, it could display the wrong values.
|
|
556
556
|
o.uncache=1;En(r)}}}},
|
|
557
557
|
// note: specialProps should return 1 if (and only if) they have a non-zero priority. It indicates we need to sort the linked list.
|
|
558
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}}
|
|
@@ -640,7 +640,7 @@ a=i.nextElementSibling;Ke.appendChild(i);//we must add it to the DOM in order to
|
|
|
640
640
|
//if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero.
|
|
641
641
|
x=y*(p/j)+M*(-v/j)+(v*C-p*g)/j;k=y*(-m/j)+M*(d/j)-(d*C-m*g)/j;y=x;M=k;// theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.
|
|
642
642
|
}if(r||r!==false&&a.smooth){g=y-f;C=M-h;a.xOffset=l+(g*d+C*v)-g;a.yOffset=c+(g*m+C*p)-C}else{a.xOffset=a.yOffset=0}a.xOrigin=y;a.yOrigin=M;a.smooth=!!r;a.origin=e;a.originIsAbsolute=!!n;i.style[On]="0px 0px";//otherwise, if someone sets an origin via CSS, it will likely interfere with the SVG transform attribute ones (because remember, we're baking the origin into the matrix() value).
|
|
643
|
-
if(o){Un(o,a,"xOrigin",f,y);Un(o,a,"yOrigin",h,M);Un(o,a,"xOffset",l,a.xOffset);Un(o,a,"yOffset",c,a.yOffset)}i.setAttribute("data-svg-origin",y+" "+M)},ar=function t(i,e){var n=i._gsap||new oe(i);if("x"in n&&!e&&!n.uncache){return n}var r=i.style,s=n.scaleX<0,o="px",a="deg",u=getComputedStyle(i),f=Sn(i,On)||"0",h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F,_,P,O,Z,E,B,T,R,Y,S,H,I,
|
|
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,z,H,I,L,D,V;h=l=c=p=g=C=w=y=M=0;d=v=1;n.svg=!!(i.getCTM&&An(i));if(u.translate){
|
|
644
644
|
// accommodate independent transforms by combining them into normal ones.
|
|
645
645
|
if(u.translate!=="none"||u.scale!=="none"||u.rotate!=="none"){r[Pn]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[Pn]!=="none"?u[Pn]:"")}r.scale=r.rotate=r.translate="none"}x=sr(i,n.svg);if(n.svg){if(n.uncache){
|
|
646
646
|
// if cache.uncache is true (and maybe if origin is 0,0), we need to set element.style.transformOrigin = (cache.xOrigin - bbox.x) + "px " + (cache.yOrigin - bbox.y) + "px". Previously we let the data-svg-origin stay instead, but when introducing revert(), it complicated things.
|
|
@@ -652,9 +652,9 @@ E=x[3];//a41
|
|
|
652
652
|
h=B=x[4];l=T=x[5];//2D matrix
|
|
653
653
|
if(x.length===6){d=Math.sqrt(P*P+O*O);v=Math.sqrt(E*E+Z*Z);p=P||O?fn(O,P)*an:0;//note: if scaleX is 0, we cannot accurately measure rotation. Same for skewX with a scaleY of 0. Therefore, we default to the previously recorded value (or zero if that doesn't exist).
|
|
654
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
|
|
655
|
-
}else{V=x[6];L=x[7];
|
|
656
|
-
if(k){F=Math.cos(-k);_=Math.sin(-k);R=B*F+
|
|
657
|
-
k=fn(-Z,
|
|
655
|
+
}else{V=x[6];L=x[7];z=x[8];H=x[9];I=x[10];D=x[11];h=x[12];l=x[13];c=x[14];k=fn(V,I);g=k*an;//rotationX
|
|
656
|
+
if(k){F=Math.cos(-k);_=Math.sin(-k);R=B*F+z*_;Y=T*F+H*_;S=V*F+I*_;z=B*-_+z*F;H=T*-_+H*F;I=V*-_+I*F;D=L*-_+D*F;B=R;T=Y;V=S}//rotationY
|
|
657
|
+
k=fn(-Z,I);C=k*an;if(k){F=Math.cos(-k);_=Math.sin(-k);R=P*F-z*_;Y=O*F-H*_;S=Z*F-I*_;D=E*_+D*F;P=R;O=Y;Z=S}//rotationZ
|
|
658
658
|
k=fn(O,P);p=k*an;if(k){F=Math.cos(k);_=Math.sin(k);R=P*F+O*_;Y=B*F+T*_;O=O*F-P*_;T=T*F-B*_;P=R;B=Y}if(g&&Math.abs(g)+Math.abs(p)>359.9){
|
|
659
659
|
//when rotationY is set, it will often be parsed as 180 degrees different than it should be, and rotationX and rotation both being 180 (it looks the same), so we adjust for that here.
|
|
660
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){
|
|
@@ -676,7 +676,7 @@ var r=gr({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style
|
|
|
676
676
|
d=fi(f);m=fi(h);l=d!==m?Wn(n,u,f,m):parseFloat(f);c=parseFloat(h);i._pt=new Se(i._pt,a,u,l,c-l,vn);i._pt.u=m||0;i._props.push(u)}}gr(a,r)};// handle splitting apart padding, margin, borderWidth, and borderRadius into their 4 components. Firefox, for example, won't report borderRadius correctly - it will only do borderTopLeftRadius and the other corners. We also want to handle paddingTop, marginLeft, borderRightWidth, etc.
|
|
677
677
|
wt("padding,margin,Width,Radius",(function(t,i){var e="Top",n="Right",r="Bottom",s="Left",o=(i<3?[e,n,r,s]:[e+s,e+n,r+n,r+s]).map((function(e){return i<2?t+e:"border"+e+t}));tr[i>1?"border"+t:t]=function(t,i,e,n,r){var s,a;if(arguments.length<4){
|
|
678
678
|
// getter, passed target, property, and unit (from _get())
|
|
679
|
-
s=o.map((function(i){return $n(t,i,e)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(n+"").split(" ");a={};o.forEach((function(t,i){return a[t]=s[i]=s[i]||s[(i-1)/2|0]}));t.init(i,a,r)}}));var wr={name:"css",register:
|
|
679
|
+
s=o.map((function(i){return $n(t,i,e)}));a=s.join(" ");return a.split(s[0]).length===5?s[0]:a}s=(n+"").split(" ");a={};o.forEach((function(t,i){return a[t]=s[i]=s[i]||s[(i-1)/2|0]}));t.init(i,a,r)}}));var wr={name:"css",register:In,targetTest:function t(i){return i.style&&i.nodeType},init:function t(i,e,n,r,s){var o=this._props,a=i.style,u=n.vars.startAt,f,h,l,c,d,v,p,g,C,w,y,M,b,j,x,k,F;tn||In();// we may call init() multiple times on the same plugin instance, like when adding special properties, so make sure we don't overwrite the revert data or inlineProps
|
|
680
680
|
this.styles=this.styles||Tn(i);k=this.styles.props;this.tween=n;for(p in e){if(p==="autoRound"){continue}h=e[p];if(lt[p]&&ce(p,e,n,r,i,s)){
|
|
681
681
|
// plugins
|
|
682
682
|
continue}d=typeof h;v=tr[p];if(d==="function"){h=h.call(n,r,i,s);d=typeof h}if(d==="string"&&~h.indexOf("random(")){h=_i(h)}if(v){v(this,i,p,h,n)&&(x=1)}else if(p.substr(0,2)==="--"){
|
|
@@ -698,21 +698,21 @@ j=e.smoothOrigin!==false&&b.smooth;M=this._pt=new Se(this._pt,a,Pn,0,1,b.renderT
|
|
|
698
698
|
M.dep=1;//flag it as dependent so that if things get killed/overwritten and this is the only PropTween left, we can safely kill the whole tween.
|
|
699
699
|
}if(p==="scale"){this._pt=new Se(this._pt,b,"scaleY",b.scaleY,(w?bt(b.scaleY,w+l):l)-b.scaleY||0,vn);this._pt.u=0;o.push("scaleY",p);p+="X"}else if(p==="transformOrigin"){k.push(On,0,a[On]);h=Jn(h);//in case something like "left top" or "bottom right" is passed in. Convert to percentages.
|
|
700
700
|
if(b.svg){or(i,h,0,j,0,this)}else{C=parseFloat(h.split(" ")[2])||0;//handle the zOrigin separately!
|
|
701
|
-
C!==b.zOrigin&&Un(this,b,"zOrigin",b.zOrigin,C);Un(this,a,p,ur(f),ur(h))}continue}else if(p==="svgOrigin"){or(i,h,1,j,0,this);continue}else if(p in er){pr(this,b,p,c,w?bt(c,w+h):h);continue}else if(p==="smoothOrigin"){Un(this,b,"smooth",b.smooth,h);continue}else if(p==="force3D"){b[p]=h;continue}else if(p==="transform"){Cr(this,h,i);continue}}else if(!(p in a)){p=
|
|
701
|
+
C!==b.zOrigin&&Un(this,b,"zOrigin",b.zOrigin,C);Un(this,a,p,ur(f),ur(h))}continue}else if(p==="svgOrigin"){or(i,h,1,j,0,this);continue}else if(p in er){pr(this,b,p,c,w?bt(c,w+h):h);continue}else if(p==="smoothOrigin"){Un(this,b,"smooth",b.smooth,h);continue}else if(p==="force3D"){b[p]=h;continue}else if(p==="transform"){Cr(this,h,i);continue}}else if(!(p in a)){p=Hn(p)||p}if(y||(l||l===0)&&(c||c===0)&&!dn.test(h)&&p in a){g=(f+"").substr((c+"").length);l||(l=0);// protect against NaN
|
|
702
702
|
C=fi(h)||(p in m.units?m.units[p]:g);g!==C&&(c=Wn(i,p,f,C));this._pt=new Se(this._pt,y?b:a,p,c,(w?bt(c,w+l):l)-c,!y&&(C==="px"||p==="zIndex")&&e.autoRound!==false?wn:vn);this._pt.u=C||0;if(y&&F!==h){this._pt.b=f;this._pt.e=F;this._pt.r=Cn}else if(g!==C&&C!=="%"){
|
|
703
703
|
//when the tween goes all the way back to the beginning, we need to revert it to the OLD/ORIGINAL value (with those units). We record that as a "b" (beginning) property and point to a render method that handles that. (performance optimization)
|
|
704
704
|
this._pt.b=f;this._pt.r=gn}}else if(!(p in a)){if(p in i){
|
|
705
705
|
//maybe it's not a style - it could be a property added directly to an element in which case we'll try to animate that.
|
|
706
|
-
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{Gn.call(this,i,p,f,w?w+h:h)}y||(p in a?k.push(p,0,a[p]):typeof i[p]==="function"?k.push(p,2,i[p]()):k.push(p,1,f||i[p]));o.push(p)}}x&&Ye(this)},render:function t(i,e){if(e.tween._time||!rn()){var n=e._pt;while(n){n.r(i,n.d);n=n._next}}else{e.styles.revert()}},get:$n,aliases:mn,getSetter:function t(i,e,n){
|
|
707
707
|
//returns a setter function that accepts target, property, value and applies it accordingly. Remember, properties like "x" aren't as simple as target.style.property = value because they've got to be applied to a proxy object and then merged into a transform string in a renderer.
|
|
708
|
-
var r=mn[e];r&&r.indexOf(",")<0&&(e=r);return e in on&&e!==On&&(i._gsap.x||$n(i,"x"))?n&&nn===n?e==="scale"?kn:xn:(nn=n||{})&&(e==="scale"?Fn:_n):i.style&&!Z(i.style[e])?bn:~e.indexOf("-")?jn:_e(i,e)},core:{_removeProperty:Xn,_getMatrix:sr}};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}"};
|
|
708
|
+
var r=mn[e];r&&r.indexOf(",")<0&&(e=r);return e in on&&e!==On&&(i._gsap.x||$n(i,"x"))?n&&nn===n?e==="scale"?kn:xn:(nn=n||{})&&(e==="scale"?Fn:_n):i.style&&!Z(i.style[e])?bn:~e.indexOf("-")?jn:_e(i,e)},core:{_removeProperty:Xn,_getMatrix:sr}};Ge.utils.checkPrefix=Hn;Ge.core.getStyleSaver=Tn;(function(t,i,e,n){var r=wt(t+","+i+","+e,(function(t){on[t]=1}));wt(i,(function(t){m.units[t]="deg";er[t]=1}));mn[r[13]]=t+","+i;wt(n,(function(t){var i=t.split(":");mn[i[1]]=r[i[0]]}))})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");wt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){m.units[t]="px"}));Ge.registerPlugin(wr);var yr=Ge.registerPlugin(wr)||Ge;var Mr='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="head-default">\n <path id="border-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" stroke="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))" stroke-width="var(--mds-emoji-mia-head-stroke-width, 2px)" fill="var(--mds-emoji-mia-head-stroke-color, rgb(194 160 251))"/>\n <path id="path-head" d="M15.8188 3C16.5046 3.00015 17.141 3.36269 17.4986 3.95703L21.7112 10.957C22.0963 11.5972 22.0963 12.4028 21.7112 13.043L17.4986 20.043C17.141 20.6373 16.5046 20.9998 15.8188 21H8.18127C7.49525 21 6.85822 20.6375 6.50049 20.043L2.28892 13.043C1.90369 12.4027 1.90369 11.5973 2.28892 10.957L6.50049 3.95703C6.85822 3.36252 7.49525 3 8.18127 3H15.8188Z" fill="var(--mds-emoji-mia-head-color, rgb(224 207 253))"/>\n </g>\n <g id="eyes-default">\n <path id="left-eye" d="M8 8H10V12H8V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye" d="M14 8H16V12H14V8Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <g id="eyes-closed" style="visibility:hidden;">\n <path id="left-eye-closed" d="M6 10H10V12H6V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n <path id="right-eye-closed" d="M14 10H18V12H14V10Z" fill="var(--mds-emoji-mia-eyes-color, rgb(81 9 207))"/>\n </g>\n <path id="mouth-default" d="M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-smile" style="visibility:hidden;" d="M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="mouth-serious" style="visibility:hidden;" d="M8 15H16V17H8V15Z" fill="var(--mds-emoji-mia-mouth-color, rgb(98 12 245))"/>\n <path id="hand-think" style="visibility:hidden;" d="M6 16C6.55228 16 7 16.4477 7 17V18H13C13.5523 18 14 18.4477 14 19C14 19.5523 13.5523 20 13 20H10.3818C11.1252 20 11.6088 20.7824 11.2764 21.4473L10.2764 23.4473C10.107 23.786 9.76059 24 9.38184 24H4V20L5 18V16H6Z" fill="var(--mds-emoji-mia-hands-color, rgb(98 12 245))"/>\n</svg>\n';var br='<svg width="440" height="440" viewBox="0 0 440 440" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="ears-default">\n <g id="ear-right">\n <path id="ear-right-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M351.676 53.2891C356.294 52.7076 360.415 52.9806 363.838 54.3252C364.658 54.6472 365.437 55.0331 366.178 55.4746C368.347 56.9073 370.299 58.8573 372.053 61.2344C385.423 81.3621 375.744 133.891 368.078 161.119C374.135 161.321 386.734 162.455 388.672 165.367C391.094 169.008 380.992 189.032 358.387 195.1C357.17 195.426 355.929 195.687 354.667 195.888C317.523 201.796 244.693 161.119 265.859 130.788C281.528 108.336 324.274 59.2313 351.676 53.2891Z"/>\n <path id="ear-right-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M350.023 84.8079C329.105 90.1196 311.307 114.384 305.023 125.853C299.251 136.387 303.53 147.927 311.277 155C320.553 163.469 334.801 165.535 342.726 151.808C361.778 118.808 355.529 93.3915 350.023 84.8079Z"/>\n <path id="ear-right-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M363.838 54.3257C339.126 44.6171 278.031 90.7244 256.023 111.557C205.523 159.363 303.523 209.826 358.387 195.099C380.992 189.032 391.095 169.008 388.672 165.367C386.734 162.454 374.135 161.322 368.078 161.12C376.962 129.567 388.551 64.0342 363.838 54.3257Z"/>\n <path id="ear-right-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M349.523 84.5C334.523 89 291.523 121 306.523 149"/>\n </g>\n <g id="ear-left">\n <path id="ear-left-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-inner-shape" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M89.3476 53.2891C84.7294 52.7076 80.6085 52.9806 77.1855 54.3252C76.3658 54.6472 75.5869 55.0331 74.8457 55.4746C72.6763 56.9073 70.7246 58.8573 68.9707 61.2344C55.6008 81.3621 65.2794 133.891 72.9453 161.119C66.8883 161.321 54.2898 162.455 52.3516 165.367C49.9291 169.008 60.0319 189.032 82.6367 195.1C83.8533 195.426 85.0943 195.687 86.3564 195.888C123.5 201.796 196.33 161.119 175.164 130.788C159.496 108.336 116.75 59.2313 89.3476 53.2891Z"/>\n <path id="ear-left-hole" fill="var(--mds-emoji-simi-skin-dark, #C3481B)" d="M91 84.8079C111.919 90.1196 129.716 114.384 136 125.853C141.772 136.387 137.494 147.927 129.747 155C120.471 163.469 106.223 165.535 98.2973 151.808C79.2451 118.808 85.494 93.3915 91 84.8079Z"/>\n <path id="ear-left-outline-border" stroke="var(--mds-emoji-simi-skin-dark, #C3481B)" stroke-width="9" stroke-linecap="round" d="M77.1852 54.3257C101.898 44.6171 162.993 90.7244 185 111.557C235.5 159.363 137.5 209.826 82.6365 195.099C60.0315 189.032 49.9287 169.008 52.3515 165.367C54.2897 162.454 66.8883 161.322 72.9453 161.12C64.0617 129.567 52.4726 64.0342 77.1852 54.3257Z"/>\n <path id="ear-left-border" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M91.5 84.5C106.5 89 149.5 121 134.5 149"/>\n </g>\n </g>\n <g id="head-default">\n <path id="shape-head" fill="var(--mds-emoji-simi-skin, #F36320)" d="M378.732 217.557C340.98 122.357 268.622 107.557 219.909 107.557C171.197 107.557 98.8384 122.357 61.0863 217.557C50.181 245.057 52.6419 250.557 21.1818 271.057C19.6595 281.557 27.7783 295.057 42.4935 297.057C38.7724 298.224 30.5183 300.557 27.2708 300.557C23.2115 300.557 65.1456 387.557 219.909 387.557C374.673 387.557 416.789 300.057 412.729 300.057C409.482 300.057 401.228 297.724 397.507 296.557C412.222 294.557 420.34 281.057 418.818 270.557C387.358 250.057 389.637 245.057 378.732 217.557Z"/>\n <g id="ear-tufts">\n <g id="right-tuft">\n <path id="right-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M336.411 123.628C333.005 118.799 313.911 124.433 304.789 127.853C295.789 132.254 282.34 139.697 296.289 146.057C313.289 153.808 342.492 168.294 342.492 153.808C343.708 143.547 331.749 140.126 326.681 139.321C331.343 136.102 339.816 128.457 336.411 123.628Z"/>\n <path id="right-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M304.789 127.853C313.911 124.433 333.005 118.799 336.411 123.628C339.816 128.457 331.343 136.102 326.681 139.321C331.749 140.126 343.708 143.547 342.492 153.808"/>\n </g>\n <g id="left-tuft">\n <path id="left-tuft-shape" fill="var(--mds-emoji-simi-skin, #F36320)" d="M104.167 122.628C107.573 117.799 126.667 123.433 135.789 126.853C144.789 131.254 158.239 138.697 144.289 145.057C127.289 152.808 98.0863 167.294 98.0863 152.808C96.8701 142.547 108.83 139.126 113.897 138.321C109.235 135.102 100.762 127.457 104.167 122.628Z"/>\n <path id="left-tuft-outline" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="7" stroke-linecap="round" d="M135.789 126.853C126.667 123.433 107.573 117.799 104.167 122.628C100.762 127.457 109.235 135.102 113.897 138.321C108.83 139.126 96.8701 142.547 98.0864 152.808"/>\n </g>\n </g>\n <g id="cheeks">\n <path id="right-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M380.5 290.057C364 262.557 340 266.355 318 279.057C344.5 305.557 344 327.557 330 361.557C384.8 341.157 386.5 305.39 380.5 290.057Z"/>\n <path id="left-cheek" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M59.3658 290.057C75.8658 262.557 99.8658 266.355 121.866 279.057C95.3658 305.557 95.8658 327.557 109.866 361.557C55.0658 341.157 53.3658 305.39 59.3658 290.057Z"/>\n </g>\n <path id="chin" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 372.557C256.675 372.557 286 352.186 286 327.057C286 301.928 256.675 260.557 220.5 260.557C184.325 260.557 155 301.928 155 327.057C155 352.186 184.325 372.557 220.5 372.557Z"/>\n </g>\n <g id="eyebrows-default">\n <path id="left-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M175.248 176.007C177.691 183.997 168.289 189.539 152.865 194.255C137.442 198.97 131.072 201.193 128.629 193.203C126.186 185.212 132.802 175.371 148.226 170.655C163.649 165.94 172.805 168.016 175.248 176.007Z"/>\n <path id="right-eyebrow" fill="var(--mds-emoji-simi-eyebrow, #FEEFD8)" d="M265.189 175.007C262.746 182.997 272.148 188.539 287.572 193.255C302.995 197.97 309.365 200.193 311.808 192.203C314.251 184.212 307.635 174.371 292.211 169.655C276.788 164.94 267.632 167.016 265.189 175.007Z"/>\n </g>\n <g id="eyes-default">\n <g id="right-eye">\n <ellipse id="right-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(12 287.002 249.057)"/>\n <circle id="right-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye">\n <ellipse id="left-eye-inner-shape" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-0.978148 0.207912 0.207912 0.978148 165.139 221.541)"/>\n <circle id="left-eye-inner-light" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <g id="eyes-closed" style="visibility: hidden;">\n <path id="left-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M125 248.5C137.5 240.5 167.1 241.3 179.5 248.5"/>\n <path id="right-eye-closed" stroke="var(--mds-emoji-simi-eye, #40281B)" stroke-width="12" stroke-linecap="round" d="M315.5 248.5C303 240.5 273.4 241.3 261 248.5"/>\n </g>\n <g id="eyes-focused" style="visibility: hidden;">\n <g id="right-eye-focused">\n <ellipse id="right-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="287.002" cy="249.057" rx="18.5" ry="24.5" transform="rotate(-90 287.002 249.057)"/>\n <circle id="right-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="291" cy="242.557" r="6"/>\n </g>\n <g id="left-eye-focused">\n <ellipse id="left-eye-inner-shape-focused" fill="var(--mds-emoji-simi-eye, #40281B)" cx="18.5" cy="24.5" rx="18.5" ry="24.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 127.637 230.852)"/>\n <circle id="left-eye-inner-light-focused" fill="var(--mds-emoji-simi-eye-light, #FFFFFF)" cx="6" cy="6" r="6" transform="matrix(-1 0 0 1 160.14 236.852)"/>\n </g>\n </g>\n <path id="gadget-default" fill="var(--mds-emoji-simi-gadget, #2B1C15)" fill-rule="evenodd" clip-rule="evenodd" d="M296 186C327.723 186 353.88 209.825 357.557 240.558H367C370.314 240.558 373 243.244 373 246.558C373 249.871 370.314 252.558 367 252.558H357.834C355.501 284.671 328.709 310 296 310C262.189 310 234.7 282.936 234.014 249.289C230.711 246.983 225.885 245.558 220.5 245.558C215.114 245.558 210.288 246.983 206.985 249.289C206.299 282.936 178.811 310 145 310C112.291 310 85.4993 284.671 83.166 252.558H74C70.6864 252.558 68.0002 249.871 68 246.558C68 243.244 70.6863 240.558 74 240.558H83.4434C87.12 209.825 113.277 186 145 186C175.248 186 200.437 207.662 205.9 236.318C210.539 234.42 215.652 233.558 220.5 233.558C225.348 233.558 230.461 234.419 235.099 236.317C240.563 207.661 265.752 186 296 186ZM145 198C117.386 198 95 220.386 95 248C95 275.614 117.386 298 145 298C172.614 298 195 275.614 195 248C195 220.386 172.614 198 145 198ZM296 198C268.386 198 246 220.386 246 248C246 275.614 268.386 298 296 298C323.614 298 346 275.614 346 248C346 220.386 323.614 198 296 198Z"/>\n <g id="mouth-default">\n <path id="muzzle-shape-mouth-default" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-mouth-default" fill="var(--mds-emoji-simi-mouth, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-default">\n <path id="node-shape-mouth-default" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-default" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-smile" style="visibility: hidden;">\n <g id="inner-mouth">\n <ellipse id="throat-mouth-smile" fill="var(--mds-emoji-simi-mouth-throat, #C3481B)" cx="220.5" cy="326" rx="32.5" ry="29" />\n <path id="teeth-mouth-smile" fill="var(--mds-emoji-simi-mouth-teeth, #FFFFFF)" d="M220.5 329C235.689 329 248.003 331.686 248.003 335C248.003 338.314 235.689 341 220.5 341C205.311 341 192.997 338.314 192.997 335C192.997 331.686 205.311 329 220.5 329Z"/>\n <path id="lips-mouth-smile" stroke="var(--mds-emoji-simi-nose, #2B1C15)" stroke-width="7" d="M220.5 300.5C236.62 300.5 249.5 313.138 249.5 328.5C249.5 343.862 236.62 356.5 220.5 356.5C204.38 356.5 191.5 343.862 191.5 328.5C191.5 313.138 204.38 300.5 220.5 300.5Z" />\n </g>\n <path id="muzzle-shape-mouth-smile" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298.057C221.933 298.057 223.5 299.624 223.5 301.557V324.914C224.677 325.612 226.31 326.349 228.29 326.949C231.08 327.793 234.312 328.287 237.507 328.095C240.693 327.903 243.74 327.039 246.322 325.27C248.871 323.524 251.171 320.758 252.696 316.401C253.335 314.576 255.332 313.615 257.156 314.253C258.981 314.892 259.942 316.889 259.304 318.713C257.329 324.356 254.159 328.386 250.278 331.044C246.43 333.681 242.086 334.832 237.928 335.083C233.778 335.332 229.713 334.694 226.262 333.649C223.943 332.947 221.784 332.025 220 330.976C218.216 332.025 216.057 332.947 213.738 333.649C210.287 334.694 206.221 335.332 202.072 335.083C197.914 334.832 193.57 333.681 189.722 331.044C185.841 328.386 182.671 324.356 180.696 318.713C180.058 316.889 181.019 314.892 182.844 314.253C184.668 313.615 186.665 314.576 187.304 316.401C188.829 320.758 191.128 323.524 193.678 325.27C196.26 327.039 199.307 327.903 202.493 328.095C205.688 328.287 208.919 327.793 211.71 326.949C213.689 326.35 215.323 325.612 216.5 324.914V301.557C216.5 299.624 218.067 298.057 220 298.057Z"/>\n <g id="nose-mouth-smile">\n <path id="nose-shape-mouth-smile" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-smile" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="mouth-serious" style="visibility: hidden;">\n <path id="muzzle-shape-mouth-serious" fill="var(--mds-emoji-simi-skin-light, #FEEFD8)" d="M220.5 328.5C238.5 341 263 324.813 263 307.312C263 289.812 243.972 261 220.5 261C197.028 261 178 289.812 178 307.312C178 324.813 201 341 220.5 328.5Z"/>\n <path id="shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M220 298C221.933 298 223.5 299.567 223.5 301.5V326.675C224.663 326.774 225.818 326.903 226.821 327.026C227.869 327.155 228.796 327.283 229.462 327.38C229.795 327.428 230.064 327.469 230.251 327.497C230.344 327.511 230.418 327.522 230.469 327.53C230.494 327.534 230.514 327.538 230.527 327.54C230.534 327.541 230.539 327.541 230.543 327.542C230.545 327.542 230.547 327.543 230.548 327.543H230.55C232.459 327.847 233.76 329.641 233.456 331.55C233.152 333.459 231.359 334.76 229.45 334.456C229.45 334.456 229.448 334.456 229.447 334.456C229.445 334.456 229.441 334.455 229.436 334.454C229.426 334.452 229.41 334.451 229.389 334.447C229.345 334.441 229.28 334.43 229.194 334.417C229.023 334.391 228.772 334.353 228.458 334.308C227.83 334.217 226.954 334.095 225.968 333.974C223.947 333.725 221.629 333.5 220 333.5C218.371 333.5 216.053 333.725 214.032 333.974C213.046 334.095 212.17 334.217 211.542 334.308C211.228 334.353 210.977 334.391 210.806 334.417C210.72 334.43 210.655 334.441 210.611 334.447C210.59 334.451 210.574 334.452 210.563 334.454C210.559 334.455 210.555 334.456 210.553 334.456C210.552 334.456 210.55 334.456 210.55 334.456C208.641 334.76 206.848 333.459 206.544 331.55C206.24 329.641 207.541 327.848 209.45 327.544L209.452 327.543C209.453 327.543 209.455 327.542 209.457 327.542C209.461 327.541 209.466 327.541 209.473 327.54C209.486 327.538 209.506 327.534 209.531 327.53C209.582 327.522 209.656 327.511 209.749 327.497C209.936 327.469 210.205 327.428 210.538 327.38C211.204 327.283 212.131 327.155 213.179 327.026C214.182 326.903 215.337 326.774 216.5 326.675V301.5C216.5 299.567 218.067 298 220 298Z" />\n <g id="nose-mouth-serious">\n <path id="nose-shape-mouth-serious" fill="var(--mds-emoji-simi-nose, #2B1C15)" d="M219.5 273.557C207.626 273.557 198 280.105 198 288.182C198 296.259 207.626 309.557 219.5 309.557C231.374 309.557 241 296.259 241 288.182C241 280.105 231.374 273.557 219.5 273.557Z"/>\n <ellipse id="nose-light-mouth-serious" fill="var(--mds-emoji-simi-nose-light, #7E695F)" cx="220" cy="285.557" rx="11" ry="5"/>\n </g>\n </g>\n <g id="hand-think" style="visibility: hidden;">\n <path id="shape-hand-think" fill="var(--mds-emoji-simi-skin, #F36320)" d="M237.5 438C238.5 435 241 428.5 243.5 421.5C257.989 413.451 258.739 397.302 255.5 383.467C278 367.934 263.5 350 255.5 350C251.5 340.4 242.5 339 238.5 339.5C244.5 324 233 323.5 229 323.5C225 323.5 202.5 323 189 351C183.4 374.6 195 400.833 201.5 411C200.667 411.5 199 414.5 195.5 420C211 426.5 204 423.5 237.5 438Z" />\n <path id="palm-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M251 369C267 409.5 249.5 416.5 242 423.5L236.5 437.5"/>\n <path id="finger-3-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 382.5C262.5 379.333 273.7 370.1 266.5 358.5C257.5 344 234 360 230 363"/>\n <path id="finger-2-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M256 350.5C256 338 236.1 329.9 208.5 357.5"/>\n <path id="finger-1-hand-think" stroke="var(--mds-emoji-simi-outline, #2B1C15)" stroke-width="6" d="M196.5 420.5L201.5 410.5C195.167 400 183.8 373.6 189 352C194.2 330.4 218.833 323.667 230.5 323C235.333 322.5 243.9 325.1 239.5 339.5"/>\n </g>\n</svg>\n';var jr=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-emoji-expression-follow-mouse-traits-duration:var(--duration-200,.2s);--mds-emoji-expression-follow-mouse-head-duration:var(--duration-300,.3s);--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:calc(var(--spacing,.0025rem)*10000);align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,calc(var(--spacing,.0025rem)*10000));perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transition:transform var(--duration-200,.2s) ease-out;width:100%}:host([name=mia]){--mds-emoji-mia-eyes-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-offset-eyes:1px;--mds-emoji-offset-gadget:1px;--mds-emoji-offset-hands:2px;--mds-emoji-offset-head:0;--mds-emoji-offset-mouth:1px;container-type:size}:host([name=simi]){--mds-emoji-offset-ears:0;--mds-emoji-offset-eyebrows:10px;--mds-emoji-offset-eyes:7px;--mds-emoji-offset-gadget:14px;--mds-emoji-offset-hands:18px;--mds-emoji-offset-head:5px;--mds-emoji-offset-mouth:16px;--mds-emoji-simi-eye-light:#fff;--mds-emoji-simi-eye:#40281b;--mds-emoji-simi-eyebrow:#feefd8;--mds-emoji-simi-gadget:#2b1c15;--mds-emoji-simi-mouth-teeth:#fff;--mds-emoji-simi-mouth-throat:#c3481b;--mds-emoji-simi-mouth:#2b1c15;--mds-emoji-simi-nose-light:#7e695f;--mds-emoji-simi-nose:#2b1c15;--mds-emoji-simi-outline:#2b1c15;--mds-emoji-simi-skin-dark:#c3481b;--mds-emoji-simi-skin-light:#feefd8;--mds-emoji-simi-skin:#f36320}"};
|
|
709
709
|
/**
|
|
710
710
|
* The transform origin of each part of a face, in the box of the part: the head turns from its
|
|
711
711
|
* bottom left corner, the others from their centre. Every state of a part gets it as soon as
|
|
712
712
|
* the face is in the shadow root, and the tweens of moveHead repeat it (#1140): a tween that
|
|
713
713
|
* moves the origin of a part while a blink has it scaled makes GSAP add a translation to keep
|
|
714
714
|
* the part still, and the translation stays once the scale is back to 1.
|
|
715
|
-
*/var xr={ears:"50% 50%",eyebrows:"50% 50%",eyes:"50% 50%",gadget:"50% 50%",hand:"50% 50%",head:"0% 100%",mouth:"50% 50%"};var kr=t("mds_emoji",/** @class */function(){function t(t){var e=this;i(this,t);
|
|
715
|
+
*/var xr={ears:"50% 50%",eyebrows:"50% 50%",eyes:"50% 50%",gadget:"50% 50%",hand:"50% 50%",head:"0% 100%",mouth:"50% 50%"};var kr=t("mds_emoji",/** @class */function(){function t(t){var e=this.constructor;var n=this;if(e===kr)i(this,t);
|
|
716
716
|
/**
|
|
717
717
|
* Specifies which emoji to display.
|
|
718
718
|
*/this.name="mia";this.isFollowingMouse=false;this.isBusy=false;this.isSmiling=false;this.isAgreeing=false;this.isThinking=false;this.isBlinking=false;this.isDisagreeing=false;
|
|
@@ -739,18 +739,18 @@ this.blinkTimeline=null;this.blinkDelay=null;this.svgLibrary={mia:Mr,simi:br};
|
|
|
739
739
|
/**
|
|
740
740
|
* Stops the tracking and recentres the face, keeping whether it was on: an expression pauses
|
|
741
741
|
* it this way and restoreFollowMouse resumes it when the expression ends.
|
|
742
|
-
*/this.pauseFollowMouse=function(){if(!
|
|
742
|
+
*/this.pauseFollowMouse=function(){if(!n.isFollowingMouse)return Promise.resolve();n.isFollowingMouse=false;n.rotate(0,0);return new Promise((function(t){return setTimeout(t,n.expressionFollowMouseTraitsDuration*1e3)}))};this.isEmojiName=function(t){return t!=null&&{}.hasOwnProperty.call(n.svgLibrary,t)};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(n.host);
|
|
743
743
|
// Stencil loads children before their parents, so a slotted emoji reaches
|
|
744
744
|
// componentDidLoad while its host's shadow DOM has not rendered the slot yet.
|
|
745
745
|
// Outside the flat tree the computed style is empty, every value fell back and
|
|
746
746
|
// the durations became 1000 seconds: the head took minutes to follow the
|
|
747
747
|
// pointer. Keep the current values and let rotate read them again later.
|
|
748
|
-
if(t.display===""){
|
|
748
|
+
if(t.display===""){n.cssCustomPropsRead=false;return}n.cssCustomPropsRead=true;n.expressionAngleMax=o(t.getPropertyValue("--mds-emoji-expression-max-rotation"),16);n.expressionFollowMouseHeadDuration=a(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration"),.3);n.expressionFollowMouseTraitsDuration=a(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"),.2);n.headOffset=u(t.getPropertyValue("--mds-emoji-offset-head"),1);n.eyesOffset=u(t.getPropertyValue("--mds-emoji-offset-eyes"),1);n.mouthOffset=u(t.getPropertyValue("--mds-emoji-offset-mouth"),1);n.handOffset=u(t.getPropertyValue("--mds-emoji-offset-hands"),1);n.gadgetOffset=u(t.getPropertyValue("--mds-emoji-offset-gadget"),1);n.eyebrowsOffset=u(t.getPropertyValue("--mds-emoji-offset-eyebrows"),1);n.earsOffset=u(t.getPropertyValue("--mds-emoji-offset-ears"),1)};this.updateSvgDictionary=function(t){if(typeof window==="undefined")return;var i=document.createElement("template");i.innerHTML=n.svgLibrary[t].trim();n.svgRootEl=i.content.firstElementChild;n.updateCSSCustomProps();
|
|
749
749
|
// The shadow DOM is fully replaced, so every cached node/setter/timeline now
|
|
750
750
|
// points at detached elements: drop them so they rebuild against the new SVG.
|
|
751
|
-
|
|
751
|
+
n.resetAnimationState();if(n.host.shadowRoot)n.host.shadowRoot.innerHTML=n.svgRootEl.outerHTML;
|
|
752
752
|
// before the blink timeline, whose fromTo scales the eyes at once: see PART_ORIGINS
|
|
753
|
-
if(s.isBrowser)
|
|
753
|
+
if(s.isBrowser)n.setPartOrigins();if(n.isBlinking){n.blinkTimeline=n.buildBlinkTimeline();n.scheduleBlink()}
|
|
754
754
|
// The face that just arrived must not inherit the pose of the one it replaces.
|
|
755
755
|
// Two distinct leftovers, both visible on the open eyes after a name switch:
|
|
756
756
|
// 1. the trait offsets still held the values computed with the PREVIOUS emoji's
|
|
@@ -766,38 +766,38 @@ if(s.isBrowser)e.setPartOrigins();if(e.isBlinking){e.blinkTimeline=e.buildBlinkT
|
|
|
766
766
|
// Build.isBrowser, which the hydrate build compiles to false. Without it the
|
|
767
767
|
// prerender of every mds-emoji dies inside GSAP's CSSPlugin, which reads a null
|
|
768
768
|
// computed transform from mock-doc (check.ssr).
|
|
769
|
-
if(!s.isBrowser)return;
|
|
769
|
+
if(!s.isBrowser)return;n.resetEyesToDefault();if(n.isFollowingMouse){n.moveHead(n.mouseX,n.mouseY)}else{var e=n.getEmojiCenter(),r=e.centerX,o=e.centerY;n.moveHead(r,o)}
|
|
770
770
|
// A face swapped while the emoji is thinking has to arrive already thinking:
|
|
771
771
|
// the hand and the focused eyes belong to the state, not to the SVG that is
|
|
772
772
|
// leaving, so they are put back in place at once, without replaying the
|
|
773
773
|
// entrance on a face that is only now appearing.
|
|
774
|
-
if(
|
|
774
|
+
if(n.isThinking)n.setStartThinkingAnimation(0)};this.resetAnimationState=function(){var t,i;n.killExpressionAnimations();(t=n.blinkDelay)===null||t===void 0?void 0:t.kill();n.blinkDelay=null;(i=n.blinkTimeline)===null||i===void 0?void 0:i.kill();n.blinkTimeline=null;n.headEl=null;n.eyesEl=null;n.handEl=null;n.mouthEl=null;n.gadgetEl=null;n.eyebrowsEl=null;n.earsEl=null};this.setPartOrigins=function(){var t;var i=(t=n.host.shadowRoot)===null||t===void 0?void 0:t.firstElementChild;if(!i)return;for(var e=0,r=Object.entries(xr);e<r.length;e++){var s=r[e],o=s[0],a=s[1];var u=i.querySelectorAll("[id^='".concat(o,"-']"));if(u.length>0)yr.set(u,{transformOrigin:a})}};this.queryPart=function(t){var i,e,r;return(r=(e=(i=n.host.shadowRoot)===null||i===void 0?void 0:i.firstElementChild)===null||e===void 0?void 0:e.querySelector("[id='".concat(t,"']")))!==null&&r!==void 0?r:null};this.resetEyesToDefault=function(){n.svgPartState("eyes","default");var t=n.queryPart("eyes-default");if(t)yr.set(t,{scaleY:1})};this.getEmojiCenter=function(){var t=n.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}};
|
|
775
775
|
// Takes the face over for a new expression: whatever was playing is stopped, the
|
|
776
776
|
// traits go back to their rest pose and the token that identifies the new owner
|
|
777
777
|
// is returned.
|
|
778
|
-
this.beginExpression=function(){
|
|
778
|
+
this.beginExpression=function(){n.expressionToken+=1;n.stopConcurrentAnimations();n.isBusy=true;return n.expressionToken};this.isCurrentExpression=function(t){return t===n.expressionToken};this.trackExpression=function(t){
|
|
779
779
|
// Drop what has already finished, so a long thinking session does not pile up
|
|
780
780
|
// one entry per eye movement.
|
|
781
|
-
|
|
781
|
+
n.expressionAnimations=n.expressionAnimations.filter((function(t){return t.totalProgress()<1}));n.expressionAnimations.push(t)};this.killExpressionAnimations=function(){n.expressionAnimations.forEach((function(t){return t.kill()}));n.expressionAnimations=[]};
|
|
782
782
|
// Puts back to rest every property an expression is allowed to touch. Expressions
|
|
783
783
|
// animate the percentage, scale and rotation channel, while rotate() owns the
|
|
784
784
|
// translation one, so the pointer tracking pose goes through this untouched.
|
|
785
|
-
this.resetFaceToNeutral=function(){yr.set(
|
|
785
|
+
this.resetFaceToNeutral=function(){yr.set(n.host,{yPercent:0,scaleX:1,scaleY:1});if(n.eyesEl)yr.set(n.eyesEl,{xPercent:0,yPercent:0});if(n.mouthEl)yr.set(n.mouthEl,{scaleY:1});if(n.eyebrowsEl)yr.set(n.eyebrowsEl,{yPercent:0});n.svgPartState("mouth","default");n.resetEyesToDefault()};
|
|
786
786
|
// Pulls the thinking hand out of the frame along the percentage channel its
|
|
787
787
|
// entrance comes in on, so the two are exact mirrors of each other. A duration of
|
|
788
788
|
// zero snaps it, which is what a face rebuilt from another SVG needs.
|
|
789
|
-
this.hideThinkingHand=function(t){var i=
|
|
789
|
+
this.hideThinkingHand=function(t){var i=n.handEl instanceof NodeList?null:n.handEl;if(!i)return;
|
|
790
790
|
// No overwrite is needed on either branch: every caller kills the tracked
|
|
791
791
|
// expression animations first, and rotate() drives the hand on the translation
|
|
792
792
|
// channel, which neither of these values touches.
|
|
793
|
-
var
|
|
793
|
+
var e={scale:0,rotateZ:45,xPercent:-n.handEntryOffset,yPercent:n.handEntryOffset};if(!t){yr.set(i,e);i.style.visibility="hidden";return}n.trackExpression(yr.to(i,Object.assign(Object.assign({},e),{ease:"expo.inOut",duration:t,onComplete:function(){i.style.visibility="hidden"}})))};this.restoreReadyState=function(t){
|
|
794
794
|
// A superseded expression never hands the face back: its timeline may still be
|
|
795
795
|
// running when another one has already taken ownership.
|
|
796
|
-
if(!
|
|
796
|
+
if(!n.isCurrentExpression(t))return;n.isBusy=false;n.restoreFollowMouse();n.scheduleBlink()};this.restoreFollowMouse=function(){if(n.wasFollowingMouse){n.moveHead(n.mouseX,n.mouseY);n.startFollowMouse();return}
|
|
797
797
|
// Never followed the pointer: stay centred on the viewer. This used to run
|
|
798
798
|
// unconditionally, right after startFollowMouse, so it immediately undid the
|
|
799
799
|
// restore and snapped the head back to centre until the next mouse move.
|
|
800
|
-
var t=
|
|
800
|
+
var t=n.getEmojiCenter(),i=t.centerX,e=t.centerY;n.moveHead(i,e)};this.stopConcurrentAnimations=function(){
|
|
801
801
|
// An expression owns the whole face: smile, agree, disagree and think must not
|
|
802
802
|
// play while the traits are still offset toward the last pointer position, so
|
|
803
803
|
// stop tracking and bring the emoji back to centre, where it looks straight at
|
|
@@ -807,104 +807,104 @@ var t=e.getEmojiCenter(),i=t.centerX,n=t.centerY;e.moveHead(i,n)};this.stopConcu
|
|
|
807
807
|
// The centring used to be scattered: disagree and startThinking did it in the
|
|
808
808
|
// public method, smile inside setSmileAnimation, and agree not at all. Doing it
|
|
809
809
|
// here is the single place every expression goes through.
|
|
810
|
-
|
|
810
|
+
n.pauseFollowMouse();
|
|
811
811
|
// Thinking is torn down here rather than through stopThinking(): that method
|
|
812
812
|
// hands the face back and schedules the blinking again, both of which would
|
|
813
813
|
// land in the middle of the expression that is starting right now.
|
|
814
|
-
var t=
|
|
814
|
+
var t=n.isThinking;n.isThinking=false;n.pauseBlinking();n.killExpressionAnimations();n.resetFaceToNeutral();
|
|
815
815
|
// The traits snap to centre instead of easing there: the new expression owns
|
|
816
816
|
// them from this very frame, and a tween still on its way would be killed
|
|
817
817
|
// halfway through, which is what left the eyes and the hand offset toward the
|
|
818
818
|
// pointer for as long as the expression lasted. The head keeps its eased
|
|
819
819
|
// rotation, the only part of the re-centring big enough to be seen.
|
|
820
|
-
var i=
|
|
820
|
+
var i=n.getEmojiCenter(),e=i.centerX,r=i.centerY;n.moveHead(e,r,true);
|
|
821
821
|
// The hand does not blink out of existence when an expression interrupts the
|
|
822
822
|
// thinking: it is pulled away over the opening of the animation taking over.
|
|
823
|
-
|
|
823
|
+
n.hideThinkingHand(t?.25:0)};
|
|
824
824
|
/**
|
|
825
825
|
* Under reduced motion an expression shows its face without moving it: the parts it swaps (a
|
|
826
826
|
* smiling mouth, closed eyes) stay for as long as the animation would have lasted, then the
|
|
827
827
|
* face is handed back. The head, the eyebrows and the bounces keep still, as the blinking and
|
|
828
828
|
* the following of the pointer do by not running at all.
|
|
829
|
-
*/this.holdStillExpression=function(t,i,
|
|
829
|
+
*/this.holdStillExpression=function(t,i,e){i.forEach((function(t){var i=t[0],e=t[1];return n.svgPartState(i,e)}));n.trackExpression(yr.delayedCall(e/1e3,(function(){i.forEach((function(t){var i=t[0];return n.svgPartState(i)}));n.restoreReadyState(t)})));return new Promise((function(t){return setTimeout(t,e)}))};this.setAgreeAnimation=function(t){var i=1780;if(f())return n.holdStillExpression(t,[["mouth","smile"]],i);var e="expo.out";var r="auto";var s={value:0};
|
|
830
830
|
// head movement
|
|
831
|
-
var o=yr.timeline({defaults:{ease:
|
|
831
|
+
var o=yr.timeline({defaults:{ease:e,overwrite:r},onComplete:function(){n.restoreReadyState(t)}}).to(s,{value:0,duration:.08,onUpdate:function(){n.rotate(0,s.value)}}).to(s,{value:-100,duration:.24,onUpdate:function(){n.rotate(0,s.value)}}).to(s,{value:50,duration:.18,onUpdate:function(){n.rotate(0,s.value)}}).to(s,{value:-25,duration:.12,onUpdate:function(){n.rotate(0,s.value)}}).to(s,{value:0,duration:.16,onUpdate:function(){n.rotate(0,s.value)}});n.trackExpression(o);
|
|
832
832
|
// eyebrows
|
|
833
|
-
if(
|
|
833
|
+
if(n.eyebrowsEl){var a=yr.timeline({defaults:{ease:"expo.out",overwrite:"auto"},onComplete:function(){a.reverse()}}).to(n.eyebrowsEl,{yPercent:-40,duration:.4});n.trackExpression(a)}
|
|
834
834
|
// mouth
|
|
835
|
-
|
|
835
|
+
n.svgPartState("mouth","smile");n.trackExpression(yr.timeline({defaults:{ease:e,overwrite:r},onComplete:function(){n.svgPartState("mouth","default")}}).to(n.mouthEl,{scaleY:1.2,duration:.2}).to(n.mouthEl,{scaleY:1,duration:.2}));return new Promise((function(t){return setTimeout(t,i)}))};this.setSmileAnimation=function(t){var i=750;if(f()){return n.holdStillExpression(t,[["mouth","smile"],["eyes","closed"]],i)}var e="expo.out";var r="auto";
|
|
836
836
|
// mouth
|
|
837
|
-
|
|
837
|
+
n.svgPartState("mouth","smile");n.trackExpression(yr.timeline({defaults:{ease:e,overwrite:r},onComplete:function(){n.svgPartState("mouth","default")}}).to(n.mouthEl,{scaleY:1,duration:.15}).to(n.mouthEl,{scaleY:.75,duration:.15}).to(n.mouthEl,{scaleY:1,duration:.15}).to(n.mouthEl,{scaleY:.75,duration:.15}).to(n.mouthEl,{scaleY:1,duration:.15}));
|
|
838
838
|
// eyes
|
|
839
|
-
|
|
839
|
+
n.svgPartState("eyes","closed");var s=yr.timeline({defaults:{ease:e,duration:.25,overwrite:r},onComplete:function(){s.to(n.eyesEl,{yPercent:0,onComplete:function(){n.svgPartState("eyes")}})}}).to(n.eyesEl,{yPercent:-20}).to(n.eyesEl,{yPercent:10});n.trackExpression(s);
|
|
840
840
|
// eyebrows
|
|
841
|
-
if(
|
|
841
|
+
if(n.eyebrowsEl){n.trackExpression(yr.timeline({defaults:{ease:e,overwrite:r}}).to(n.eyebrowsEl,{yPercent:"-=15",duration:.15}).to(n.eyebrowsEl,{yPercent:"+=10",duration:.15}))}
|
|
842
842
|
// emoji
|
|
843
|
-
var o=yr.timeline({defaults:{overwrite:r},onComplete:function(){
|
|
843
|
+
var o=yr.timeline({defaults:{overwrite:r},onComplete:function(){n.svgPartState("mouth","default");n.restoreReadyState(t)}}).to(n.host,{yPercent:"-=".concat(n.host.getBoundingClientRect().height/10),scaleX:.95,duration:1,ease:"elastic.out"}).to(n.host,{yPercent:"+=".concat(n.host.getBoundingClientRect().height/10),scaleX:1,duration:.75,ease:"expo.out"});n.trackExpression(o);return new Promise((function(t){return setTimeout(t,i)}))};this.setDisagreeAnimation=function(t,i){if(t===void 0){t=0}if(f()){return n.holdStillExpression(i,[["mouth","serious"]],780+t)}var e={value:0};var r=yr.timeline({ease:"power2.inOut",onStart:function(){n.svgPartState("mouth","serious")},onComplete:function(){if(t>0){
|
|
844
844
|
// Tracked like every other step: an expression asked for while the
|
|
845
845
|
// emoji is still frowning has to cancel the pending smile too.
|
|
846
|
-
|
|
846
|
+
n.trackExpression(yr.delayedCall(t/1e3,(function(){n.svgPartState("mouth","default");n.restoreReadyState(i)})));return}n.svgPartState("mouth","default");n.restoreReadyState(i)}}).to(e,{value:0,duration:.08,onUpdate:function(){n.rotate(e.value,0)}}).to(e,{value:-100,duration:.24,onUpdate:function(){n.rotate(e.value,0)}}).to(e,{value:50,duration:.18,onUpdate:function(){n.rotate(e.value,0)}}).to(e,{value:-25,duration:.12,onUpdate:function(){n.rotate(e.value,0)}}).to(e,{value:0,duration:.16,onUpdate:function(){n.rotate(e.value,0)}});n.trackExpression(r);return new Promise((function(i){return setTimeout(i,780+t)}))};this.setStartThinkingAnimation=function(t){if(t===void 0){t=.5}var i="expo.inOut";var e=n.handEl instanceof NodeList?null:n.handEl;
|
|
847
847
|
// under reduced motion the hand is simply there, and the eyes do not wander
|
|
848
|
-
var r=f();if(
|
|
848
|
+
var r=f();if(e&&r){yr.set(e,{xPercent:0,yPercent:0,scale:1,rotateZ:0});e.style.visibility="visible"}else if(e){e.style.visibility="visible";
|
|
849
849
|
// Only the percentage channel is animated, because rotate() owns the
|
|
850
850
|
// translation one. The hand therefore lands exactly where the SVG draws it,
|
|
851
851
|
// instead of keeping the offset it was carrying toward the pointer, and its
|
|
852
852
|
// entrance mirrors its exit: the two used to move it on different channels,
|
|
853
853
|
// with an amount scaled by the viewBox, so the leftover of one showed up as a
|
|
854
854
|
// displaced hand at the beginning of the next.
|
|
855
|
-
|
|
855
|
+
n.trackExpression(yr.fromTo(e,{scale:0,rotateZ:45,xPercent:-n.handEntryOffset,yPercent:n.handEntryOffset},{xPercent:0,yPercent:0,scale:1,rotateZ:0,ease:i,duration:t,overwrite:"auto"}))}if(!r)n.moveEyesThinkAnimation();n.svgPartState("mouth","serious");n.svgPartState("eyes","focused");
|
|
856
856
|
// Settles even when there is no hand to show: an unresolved promise used to
|
|
857
857
|
// leave every caller awaiting startThinking hanging for good.
|
|
858
|
-
return new Promise((function(i){return setTimeout(i,t*1e3)}))};this.moveEyesThinkAnimation=function(){if(!
|
|
858
|
+
return new Promise((function(i){return setTimeout(i,t*1e3)}))};this.moveEyesThinkAnimation=function(){if(!n.eyesEl||!n.isThinking)return;var t=yr.utils.random(.15,.3,.01,true)();var i="expo.out";
|
|
859
859
|
// 'auto' and not true: the eyes also carry the translation tween of rotate(),
|
|
860
860
|
// and killing that one outright is what left them looking toward the pointer,
|
|
861
861
|
// off centre, for the whole time the emoji was thinking.
|
|
862
|
-
var
|
|
862
|
+
var e={duration:t,ease:i,overwrite:"auto"};var r=5;var s=yr.utils.random(r*-1,r,.1);var o=yr.utils.random(r*-1,r,.1);n.trackExpression(yr.to(n.eyesEl,Object.assign(Object.assign({xPercent:s,yPercent:o},e),{onComplete:function(){
|
|
863
863
|
// Nothing to reset when the state is over: the exit animation, or the
|
|
864
864
|
// take-over of another expression, has already put the eyes back.
|
|
865
|
-
if(!
|
|
865
|
+
if(!n.isThinking)return;var t=yr.utils.random(.2,.7,.1);n.trackExpression(yr.delayedCall(t,n.moveEyesThinkAnimation))}})))};this.setStopThinkingAnimation=function(t){if(t===void 0){t=.5}
|
|
866
866
|
// under reduced motion the hand and the eyes are put back at once
|
|
867
|
-
var i=f()?0:t;
|
|
867
|
+
var i=f()?0:t;n.hideThinkingHand(i);if(n.eyesEl){n.trackExpression(yr.to(n.eyesEl,{xPercent:0,yPercent:0,ease:"expo.out",duration:i,overwrite:"auto"}))}n.svgPartState("mouth","default");n.svgPartState("eyes","default");return new Promise((function(i){return setTimeout(i,t*1e3)}))};
|
|
868
868
|
// A single, reusable blink sequence. Built once and replayed via restart(),
|
|
869
869
|
// it never grows over time and is fully controlled by play/pause, unlike the
|
|
870
870
|
// previous recursive chain that died permanently the moment isBusy was set.
|
|
871
|
-
this.buildBlinkTimeline=function(){var t=
|
|
871
|
+
this.buildBlinkTimeline=function(){var t=n.queryPart("eyes-default");var i=n.queryPart("eyes-closed");if(!t||!i)return null;var e={ease:"expo.in",duration:.2};var r={ease:"expo.out",duration:.2};return yr.timeline({paused:true,onComplete:n.scheduleBlink}).to(t,Object.assign({scaleY:.5},e)).add((function(){n.svgPartState("eyes","closed")})).fromTo(i,{scaleY:.5},Object.assign({scaleY:1},r)).add((function(){n.svgPartState("eyes","default")})).fromTo(t,{scaleY:.75},Object.assign({scaleY:1},r))};
|
|
872
872
|
// Queues the next blink after a random idle delay. Gated on the blinking
|
|
873
873
|
// intent and isBusy, so it is a no-op while another animation owns the eyes
|
|
874
874
|
// and is simply called again once that animation finishes.
|
|
875
875
|
this.scheduleBlink=function(){var t;
|
|
876
876
|
// The two idle behaviours - blinking and following the pointer - are the ones that
|
|
877
877
|
// never stop on their own, and GSAP does not read a stylesheet: they ask here.
|
|
878
|
-
if(f())return;if(!
|
|
878
|
+
if(f())return;if(!n.isBlinking||n.isBusy||!n.blinkTimeline)return;(t=n.blinkDelay)===null||t===void 0?void 0:t.kill();n.blinkDelay=yr.delayedCall(yr.utils.random(1,3,.1),(function(){if(!n.isBlinking||n.isBusy||!n.blinkTimeline)return;n.resetEyesToDefault();n.blinkTimeline.restart()}))};this.pauseBlinking=function(){var t;(t=n.blinkDelay)===null||t===void 0?void 0:t.kill();n.blinkDelay=null;if(!n.blinkTimeline)return;n.blinkTimeline.pause(0);
|
|
879
879
|
// pause(0) rewinds the tweens, but the visibility swaps are forward-only
|
|
880
880
|
// callbacks, so make sure the open eyes are the visible state again.
|
|
881
|
-
|
|
881
|
+
n.resetEyesToDefault()};this.handleFollowMouse=function(t){
|
|
882
882
|
// Record the pointer even while an expression owns the face. Bailing out before
|
|
883
883
|
// storing it left mouseX/mouseY frozen at wherever the pointer was when the
|
|
884
884
|
// expression started, so restoreFollowMouse resumed on a stale pose and the
|
|
885
885
|
// emoji snapped to a position the pointer had already left, until the next move.
|
|
886
|
-
|
|
886
|
+
n.mouseX=t.clientX;n.mouseY=t.clientY;if(!n.isFollowingMouse)return;n.followMouse()};this.followMouse=function(){
|
|
887
887
|
// Reduced motion keeps the face still; stopFollowMouse still recentres it, because
|
|
888
888
|
// that is a state the caller asked for rather than an animation of its own.
|
|
889
|
-
if(f())return;if(
|
|
889
|
+
if(f())return;if(n.isFollowingMouse){n.moveHead(n.mouseX,n.mouseY);return}var t=n.getEmojiCenter(),i=t.centerX,e=t.centerY;n.moveHead(i,e)};
|
|
890
890
|
// The one place the pointer becomes a pose: the direction of the point from the centre,
|
|
891
891
|
// with a reach that depends on the viewport, not on the size of the emoji (#800).
|
|
892
|
-
this.moveHead=function(t,i,
|
|
892
|
+
this.moveHead=function(t,i,e){if(e===void 0){e=false}var r=n.getEmojiCenter(),s=r.centerX,o=r.centerY;var a=h(t-s,i-o,l(window.innerWidth,window.innerHeight));n.rotate(a.x,a.y,e)};this.rotate=function(t,i,e){if(e===void 0){e=false}if(!n.cssCustomPropsRead)n.updateCSSCustomProps();var r="power1.out";
|
|
893
893
|
// The traits can be put in place at once instead of eased there: an expression
|
|
894
894
|
// about to take the face over owns them from this very frame, and a tween still
|
|
895
895
|
// on its way would be killed halfway through, leaving them offset toward the
|
|
896
896
|
// pointer for as long as that expression lasts.
|
|
897
|
-
var s=
|
|
898
|
-
|
|
897
|
+
var s=e?0:n.expressionFollowMouseTraitsDuration;var o=function(t,i){return yr.utils.clamp(-t,t,i*t)};n.currentRotateX=o(n.expressionAngleMax,-i);// Y invertito
|
|
898
|
+
n.currentRotateY=o(n.expressionAngleMax,t);n.headOffsetX=o(n.headOffset,t);n.headOffsetY=o(n.headOffset,i);n.eyesOffsetX=o(n.eyesOffset,t);n.eyesOffsetY=o(n.eyesOffset,i);n.mouthOffsetX=o(n.mouthOffset,t);n.mouthOffsetY=o(n.mouthOffset,i);n.handOffsetX=o(n.handOffset,t);n.handOffsetY=o(n.handOffset,i);n.gadgetOffsetX=o(n.gadgetOffset,t);n.gadgetOffsetY=o(n.gadgetOffset,i);n.eyebrowsOffsetX=o(n.eyebrowsOffset,t);n.eyebrowsOffsetY=o(n.eyebrowsOffset,i);n.earsOffsetX=o(n.earsOffset,t);n.earsOffsetY=o(n.earsOffset,i);if(!n.headEl){n.headEl=n.svgPartState("head");n.eyebrowsEl=n.svgPartState("eyebrows");n.earsEl=n.svgPartState("ears");n.eyesEl=n.svgPartState("eyes");n.handEl=n.svgPartState("hand","think");if(n.handEl)n.handEl.style.visibility="hidden";n.mouthEl=n.svgPartState("mouth");n.gadgetEl=n.svgPartState("gadget")}var a={duration:s,ease:r,
|
|
899
899
|
// 'auto' overwrite drops only the x and y left over from the previous pointer
|
|
900
900
|
// update, and leaves alone the percentage channel the expressions animate.
|
|
901
901
|
overwrite:"auto"};
|
|
902
902
|
// Each facial element is tweened independently with its own offset so they
|
|
903
903
|
// move by different amounts, giving the emoji a layered, parallax-like depth.
|
|
904
|
-
yr.to(
|
|
904
|
+
yr.to(n.host,{rotateX:n.currentRotateX,rotateY:n.currentRotateY,transformOrigin:"50% 50%",duration:n.expressionFollowMouseHeadDuration,ease:r,
|
|
905
905
|
// A newer pose replaces the previous one: without it a slower tween still
|
|
906
906
|
// running kept writing its own angles once the newer one had finished.
|
|
907
|
-
overwrite:"auto"});if(
|
|
907
|
+
overwrite:"auto"});if(n.eyesEl){yr.to(n.eyesEl,Object.assign({translateX:n.eyesOffsetX,translateY:n.eyesOffsetY,transformOrigin:xr.eyes},a))}if(n.handEl){yr.to(n.handEl,Object.assign({translateX:n.handOffsetX,translateY:n.handOffsetY,transformOrigin:xr.hand},a))}if(n.headEl){yr.to(n.headEl,Object.assign({translateX:n.headOffsetX,translateY:n.headOffsetY,transformOrigin:xr.head},a))}if(n.mouthEl){yr.to(n.mouthEl,Object.assign({translateX:n.mouthOffsetX,translateY:n.mouthOffsetY,transformOrigin:xr.mouth},a))}if(n.gadgetEl){yr.to(n.gadgetEl,Object.assign({translateX:n.gadgetOffsetX,translateY:n.gadgetOffsetY,transformOrigin:xr.gadget},a))}if(n.eyebrowsEl){yr.to(n.eyebrowsEl,Object.assign({translateX:n.eyebrowsOffsetX,translateY:n.eyebrowsOffsetY,transformOrigin:xr.eyebrows},a))}if(n.earsEl){yr.to(n.earsEl,Object.assign({translateX:n.earsOffsetX,translateY:n.earsOffsetY,transformOrigin:xr.ears},a))}}}
|
|
908
908
|
// A move disconnects the host and connects it again, while componentDidLoad runs
|
|
909
909
|
// once: the pointer listener follows the connection, so a moved emoji still hears it.
|
|
910
910
|
t.prototype.connectedCallback=function(){if(typeof window==="undefined")return;window.addEventListener("mousemove",this.handleFollowMouse)};t.prototype.componentDidLoad=function(){if(typeof window==="undefined")return;this.updateCSSCustomProps();this.checkNameChanged(this.name)};t.prototype.disconnectedCallback=function(){var t,i;if(typeof window==="undefined")return;
|
|
@@ -974,4 +974,4 @@ if(!this.isEmojiName(t)){if(t!=null){console.warn('mds-emoji: ignoring the unkno
|
|
|
974
974
|
// attributeChangedCallback is a no-op because the value did not change.
|
|
975
975
|
if(this.host.getAttribute("name")!==t)this.host.setAttribute("name",t);this.updateSvgDictionary(t)};t.prototype.svgPartState=function(t,i){var e,n,r,s;var o=(n=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.firstElementChild)===null||n===void 0?void 0:n.querySelectorAll("[id^='".concat(t,"-']"));if(!o||o.length===0)return null;if((i===undefined||i==="")&&o){o===null||o===void 0?void 0:o.forEach((function(t){
|
|
976
976
|
// const currentState = el.id.split('-')[1]
|
|
977
|
-
t.style.visibility="hidden";if(t.id.split("-")[1]==="default")t.style.visibility="visible"}));return o}var a=(s=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(t,"-default']"));o===null||o===void 0?void 0:o.forEach((function(t){t.style.visibility="hidden";if(t.id.split("-")[1]===i){a=t}}));if(!a)return null;a.style.visibility="visible";return a};t.prototype.render=function(){return e(n,{key:"
|
|
977
|
+
t.style.visibility="hidden";if(t.id.split("-")[1]==="default")t.style.visibility="visible"}));return o}var a=(s=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.firstElementChild)===null||s===void 0?void 0:s.querySelector("[id='".concat(t,"-default']"));o===null||o===void 0?void 0:o.forEach((function(t){t.style.visibility="hidden";if(t.id.split("-")[1]===i){a=t}}));if(!a)return null;a.style.visibility="visible";return a};t.prototype.render=function(){return e(n,{key:"ff6a0ef91b3785fd297d2db0e1c9099eb56dda35"})};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{checkNameChanged:0}]}},enumerable:false,configurable:true});return t}());kr.style=jr()}}}));
|