@maggioli-design-system/magma 2.11.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 +2 -2
- package/CHANGELOG.md +110 -0
- package/README.md +15 -11
- package/agents/assets.md +7 -6
- package/agents/color.md +8 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/mcp.md +5 -5
- package/agents/patterns/actions.md +11 -9
- package/agents/patterns/app-shell.md +70 -22
- package/agents/patterns/density.md +4 -3
- 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.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +2 -2
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +1 -1
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.html +2 -2
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +68 -0
- package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/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 +7 -9
- 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 +4 -11
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +3 -3
- 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.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.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-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-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.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +2 -2
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/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.html +2 -2
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.html +2 -2
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.html +2 -2
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
- package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.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.html +2 -2
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.html +2 -2
- package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/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.dark.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.html +2 -2
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/rhythm.md +2 -1
- package/agents/patterns/surfaces.md +53 -14
- package/agents/patterns/titles.md +19 -17
- package/agents/patterns/widths.md +4 -3
- package/agents/patterns.md +9 -8
- package/agents/theming.md +12 -0
- package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
- package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B21tqid0.js} +52 -5
- 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-Bg68W-da.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-CaR39iYg.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 +6 -5
- 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 +10 -7
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +86 -21
- 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 +48 -19
- 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 +8 -7
- package/dist/cjs/mds-file.cjs.entry.js +8 -7
- package/dist/cjs/mds-filter-item.cjs.entry.js +8 -7
- package/dist/cjs/mds-filter.cjs.entry.js +7 -6
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +6 -5
- 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 +3 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +127 -32
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +3 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +5 -4
- 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 +11 -9
- 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 +293 -36
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +7 -6
- package/dist/cjs/mds-kpi-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +7 -6
- 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 +37 -17
- package/dist/cjs/mds-note.cjs.entry.js +7 -6
- package/dist/cjs/mds-notification.cjs.entry.js +7 -6
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +7 -6
- 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 +25 -15
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +34 -10
- package/dist/cjs/mds-pref.cjs.entry.js +12 -28
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +6 -5
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +6 -5
- 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 +6 -5
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +14 -9
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
- 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 +9 -8
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +6 -5
- 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 +7 -6
- package/dist/cjs/mds-tab-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-tab_2.cjs.entry.js +43 -19
- 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 +43 -15
- 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 +35 -16
- 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 +7 -19
- package/dist/cjs/mds-usage.cjs.entry.js +7 -6
- 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-CQQ3eb9W.js → preference-DTUJPGHS.js} +21 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/aria.js +12 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/preference.js +19 -1
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- 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.css +15 -10
- 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 +45 -6
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +9 -4
- package/dist/collection/components/mds-button/documentation.json +102 -8
- package/dist/collection/components/mds-button/examples.md +73 -0
- package/dist/collection/components/mds-button/mds-button.css +122 -14
- package/dist/collection/components/mds-button/mds-button.js +139 -13
- package/dist/collection/components/mds-button/mistakes.md +35 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -2
- package/dist/collection/components/mds-button-dropdown/documentation.json +100 -6
- 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 +69 -3
- 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 +45 -6
- 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 +38 -25
- 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 +38 -6
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +21 -2
- 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.css +12 -14
- 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 +4 -3
- 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.css +3 -2
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +4 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +3 -2
- package/dist/collection/components/mds-filter/mds-filter.css +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +4 -3
- package/dist/collection/components/mds-header/mds-header.css +3 -2
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +4 -3
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +33 -20
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +131 -16
- 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 +8 -25
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +20 -17
- 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 +17 -9
- 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 +18 -2
- 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 +4 -3
- 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-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +4 -3
- 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 +71 -7
- 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 +24 -30
- 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.css +3 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +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.css +9 -6
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +4 -3
- package/dist/collection/components/mds-label/mds-label.css +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 +4 -3
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +4 -3
- package/dist/collection/components/mds-modal/documentation.json +7 -6
- package/dist/collection/components/mds-modal/examples.md +2 -0
- package/dist/collection/components/mds-modal/mds-modal.css +3 -2
- package/dist/collection/components/mds-modal/mds-modal.js +32 -13
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +4 -3
- package/dist/collection/components/mds-note/mds-note.css +3 -2
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +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.css +3 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +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 +4 -3
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +6 -3
- package/dist/collection/components/mds-pref/documentation.json +32 -10
- package/dist/collection/components/mds-pref/examples.md +15 -1
- package/dist/collection/components/mds-pref/mds-pref.js +26 -30
- package/dist/collection/components/mds-pref/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +5 -4
- 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 +4 -3
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
- package/dist/collection/components/mds-pref-mode/documentation.json +7 -6
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
- package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
- package/dist/collection/components/mds-pref-theme/documentation.json +9 -8
- package/dist/collection/components/mds-pref-theme/examples.md +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
- package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-theme-item/documentation.json +5 -4
- 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.css +3 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +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.css +3 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +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.css +3 -2
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +4 -3
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +4 -3
- 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 +4 -3
- 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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +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.css +3 -2
- 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.css +3 -2
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +8 -3
- 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.css +6 -4
- 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 +6 -9
- 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 +4 -3
- 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 +4 -3
- 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.css +4 -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 +4 -3
- 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 +4 -3
- package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -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.css +3 -2
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +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 -23
- 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/button.js +3 -0
- 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-CVRN4LDc.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-CKnbQQUb.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-DvDB_L_5.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-ikNX7XDH.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/p-Bg11_7lt.js +1 -0
- package/dist/components/p-BiJ4xa4V.js +1 -0
- package/dist/components/{p-CZjwSwe5.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-D_RIY063.js → p-C589Hkfn.js} +1 -1
- package/dist/{magma-components/p-BaFfIZGB.js → components/p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-DdzJfsw7.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-Br6-kva-.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-BFDRt7-n.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-DhpcFZrc.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-gLo3t_qO.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-BaynxVRZ.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-DOdUioZq.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-COkn4Vtq.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-BiW6luA5.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/p-DwKxtKwS.js +1 -0
- package/dist/components/{p-C_Pc94vn.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-DqdlT4UG.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-D8CloC8I.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-C7rDjrH4.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +788 -229
- package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
- package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-DlFrvBTG.js} +52 -5
- 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-BJVvHlvf.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-B6cOkl4I.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 +6 -5
- 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 +10 -7
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +86 -21
- 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 +48 -19
- 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 +8 -7
- package/dist/esm/mds-file.entry.js +8 -7
- package/dist/esm/mds-filter-item.entry.js +8 -7
- package/dist/esm/mds-filter.entry.js +7 -6
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +6 -5
- 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 +3 -2
- package/dist/esm/mds-input-date-range.entry.js +127 -32
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +3 -2
- package/dist/esm/mds-input-otp.entry.js +5 -4
- 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 +11 -9
- 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 +293 -36
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +7 -6
- package/dist/esm/mds-kpi-item.entry.js +6 -5
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +7 -6
- 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 +37 -17
- package/dist/esm/mds-note.entry.js +7 -6
- package/dist/esm/mds-notification.entry.js +7 -6
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +7 -6
- 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 +25 -15
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +34 -10
- package/dist/esm/mds-pref.entry.js +12 -28
- package/dist/esm/mds-price-table-features-cell.entry.js +6 -5
- package/dist/esm/mds-price-table-features-row.entry.js +6 -5
- 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 +6 -5
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +14 -9
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +7 -6
- 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 +9 -8
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +6 -5
- 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 +7 -6
- package/dist/esm/mds-tab-bar.entry.js +6 -5
- package/dist/esm/mds-tab_2.entry.js +43 -19
- 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 +43 -15
- 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 +35 -16
- 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 +7 -19
- package/dist/esm/mds-usage.entry.js +7 -6
- 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-C5XjgGCb.js → preference-CBMLGSf7.js} +20 -2
- package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
- package/dist/esm-es5/{floating-controller-BVlbYYkf.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-B6cOkl4I.js → locale-B7Hw4niB.js} +18 -18
- 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 +6 -4
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +45 -23
- 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 +30 -15
- 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 +8 -8
- 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 +2 -2
- 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 +3 -3
- package/dist/esm-es5/mds-input-otp.entry.js +5 -5
- 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 +8 -8
- 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 +28 -16
- 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 +14 -4
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +25 -12
- package/dist/esm-es5/mds-pref.entry.js +8 -13
- 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 +2 -2
- 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-C5XjgGCb.js → preference-CBMLGSf7.js} +15 -5
- package/dist/hydrate/index.js +2307 -1091
- package/dist/hydrate/index.mjs +2307 -1091
- package/dist/lint/core/patterns.d.ts +26 -16
- package/dist/lint/core/patterns.js +55 -38
- package/dist/lint/mcp/tools.json +7 -7
- 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-2a445b98.system.entry.js → p-009e4359.system.entry.js} +137 -137
- package/dist/magma-components/{p-b523fabe.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-4646cdc0.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-0e7bb90b.system.entry.js +127 -0
- package/dist/magma-components/{p-03fb86a6.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-6c73689a.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-e0049e96.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-387fa36d.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-ad13ade5.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-b30b487c.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-87831da2.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-fae9612b.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-445bc62a.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-3b578659.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-f181c679.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-9f55fa7a.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-05455645.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-0384db44.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/p-2e5684a0.system.entry.js +5 -0
- package/dist/magma-components/{p-b0749f83.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-625de2e6.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-37470fef.system.entry.js +51 -0
- 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-d85f3e5e.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-a9caed77.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-8b8cd213.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-ae9735e4.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-d81fcbde.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-555bd3f8.system.entry.js +29 -0
- package/dist/magma-components/{p-35c170ba.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-a65ce11a.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-aac622ef.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-99bfa07e.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-0c8f22dc.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-3be9b384.system.entry.js → p-6619b3c0.system.entry.js} +8 -8
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-4f48c171.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-fff26731.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-1a20f239.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-0a0dfdf4.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-4669334a.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-bc054ffa.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-efe27253.system.entry.js → p-96ece2cc.system.entry.js} +3 -3
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-6129954d.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/p-98a3802b.system.entry.js +126 -0
- package/dist/magma-components/{p-18244fd7.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-0fc41e34.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-12be0f43.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-BXVzhErg.system.js +12 -0
- package/dist/magma-components/{p-iX3kcwYg.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-OafT80hV.js → p-BkfGbFba.js} +2 -2
- package/dist/{components/p-BaFfIZGB.js → magma-components/p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-CZuIEo2v.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-CuHZXISO.system.js → p-CzZWts7L.system.js} +18 -18
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-mGgjNqBm.system.js → p-DGfoeZMw.system.js} +19 -9
- package/dist/magma-components/p-DwKxtKwS.js +1 -0
- 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-3139988c.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-6d009b42.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-8bf8e032.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-45b19935.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-9ef64212.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-a9d100e5.system.entry.js} +6 -6
- package/dist/magma-components/{p-8239e526.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-b781c932.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-30f95d10.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-11210b60.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/p-ad6b5fc1.system.entry.js +16 -0
- 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-cfbf3a76.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-b47c444e.system.entry.js +5 -0
- 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-b6412ddd.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-adab176e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-98e167e8.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-c2d9cf4e.system.entry.js +1 -0
- package/dist/magma-components/{p-4fd0fdb8.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-ccffdf0b.system.entry.js → p-c8430552.system.entry.js} +28 -16
- 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-9e07535e.system.entry.js → p-ca5867f5.system.entry.js} +27 -14
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-d360e4c5.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
- package/dist/magma-components/p-cf8cfcac.system.entry.js +10 -0
- 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-90d50492.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-8a8cad6c.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-c35ea44d.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-4748378e.system.entry.js → p-df70af5f.system.entry.js} +39 -39
- 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-f09f3fe1.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-eb4f76d8.system.entry.js +22 -0
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-ede31d27.system.entry.js} +11 -11
- package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-c915fba5.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-f40e3918.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-95ddc950.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-60acbc5f.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-9303fb16.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-e79eb427.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-384d93dc.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/p-f6f6d914.system.entry.js +14 -0
- 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-f4fc9f29.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/{lint/mcp → mcp}/checks.js +5 -5
- package/dist/{lint/mcp → mcp}/components.js +4 -6
- package/dist/{lint/mcp → mcp}/guides.js +11 -9
- package/dist/{lint/mcp → mcp}/icons.js +21 -0
- package/dist/mcp/package.json +3 -0
- package/dist/{lint/mcp → mcp}/patterns.js +8 -9
- package/dist/{lint/mcp → mcp}/protocol.js +1 -1
- package/dist/{lint/mcp → mcp}/render.js +61 -33
- package/dist/{lint/mcp → mcp}/server.js +4 -4
- package/dist/{lint/mcp → mcp}/tokens.js +1 -2
- package/dist/mcp/tools.json +1374 -0
- package/dist/stats.json +4506 -3454
- package/dist/types/common/aria.d.ts +8 -1
- 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 +26 -2
- 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-button/mds-button.d.ts +50 -4
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
- package/dist/types/components/mds-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-modal/mds-modal.d.ts +8 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -9
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
- package/dist/types/components/mds-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 +224 -51
- 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/button.d.ts +2 -0
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +22 -19
- package/dist/components/p-4LbHmDXv.js +0 -1
- package/dist/components/p-B6AFku7a.js +0 -1
- package/dist/components/p-BwT0RJip.js +0 -1
- package/dist/components/p-COUgBzJ4.js +0 -1
- package/dist/components/p-CP5Qw9_T.js +0 -1
- package/dist/components/p-Cvhn9asj.js +0 -1
- package/dist/components/p-DGhzWuCS.js +0 -1
- package/dist/components/p-DJd8f8dz.js +0 -1
- package/dist/components/p-DTtmr_Y9.js +0 -1
- package/dist/components/p-DW6ie49j.js +0 -1
- package/dist/components/p-DlglisEn.js +0 -1
- package/dist/components/p-FsctOap9.js +0 -1
- package/dist/components/p-G7Udw5H5.js +0 -1
- package/dist/components/p-Ic8cYsgt.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-jasGzfhE.js +0 -1
- package/dist/components/p-l0KS6hTQ.js +0 -1
- package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
- package/dist/esm-es5/index-BJVvHlvf.js +0 -10
- package/dist/lint/mcp/checks.d.ts +0 -29
- package/dist/lint/mcp/cli.d.ts +0 -2
- package/dist/lint/mcp/color.d.ts +0 -12
- package/dist/lint/mcp/components.d.ts +0 -5
- package/dist/lint/mcp/context.d.ts +0 -45
- package/dist/lint/mcp/guides.d.ts +0 -3
- package/dist/lint/mcp/icons.d.ts +0 -9
- package/dist/lint/mcp/patterns.d.ts +0 -75
- package/dist/lint/mcp/protocol.d.ts +0 -77
- package/dist/lint/mcp/render-page.d.ts +0 -40
- package/dist/lint/mcp/render.d.ts +0 -130
- package/dist/lint/mcp/server.d.ts +0 -39
- package/dist/lint/mcp/tokens.d.ts +0 -37
- package/dist/magma-components/p-02b106c2.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
- package/dist/magma-components/p-074d7b75.entry.js +0 -1
- package/dist/magma-components/p-08da465d.entry.js +0 -1
- package/dist/magma-components/p-0d3da482.system.entry.js +0 -1
- package/dist/magma-components/p-0d42ac4a.entry.js +0 -1
- package/dist/magma-components/p-10d52280.entry.js +0 -1
- package/dist/magma-components/p-13cfc01a.entry.js +0 -1
- package/dist/magma-components/p-14122f2d.entry.js +0 -1
- package/dist/magma-components/p-1467ded5.system.entry.js +0 -7
- package/dist/magma-components/p-18b27217.entry.js +0 -1
- package/dist/magma-components/p-198ea5d8.entry.js +0 -1
- package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
- package/dist/magma-components/p-1f746ad1.system.entry.js +0 -82
- package/dist/magma-components/p-2111aa67.system.entry.js +0 -1
- package/dist/magma-components/p-21345ecc.entry.js +0 -1
- package/dist/magma-components/p-25dcbf22.entry.js +0 -1
- package/dist/magma-components/p-27254fbd.entry.js +0 -1
- package/dist/magma-components/p-299dab17.entry.js +0 -1
- package/dist/magma-components/p-29dd6d94.entry.js +0 -1
- package/dist/magma-components/p-2d199db0.system.entry.js +0 -25
- package/dist/magma-components/p-2d2cdf0d.entry.js +0 -1
- package/dist/magma-components/p-2e68180d.system.entry.js +0 -32
- package/dist/magma-components/p-308a4ae5.system.entry.js +0 -1
- package/dist/magma-components/p-34421ef2.system.entry.js +0 -77
- package/dist/magma-components/p-37881115.system.entry.js +0 -14
- package/dist/magma-components/p-3af8a86a.system.entry.js +0 -111
- package/dist/magma-components/p-3b494de7.entry.js +0 -1
- package/dist/magma-components/p-445198a1.entry.js +0 -1
- package/dist/magma-components/p-45a3e7eb.entry.js +0 -1
- package/dist/magma-components/p-4606d11f.entry.js +0 -1
- package/dist/magma-components/p-46a928c3.entry.js +0 -1
- package/dist/magma-components/p-4cd21f19.entry.js +0 -1
- package/dist/magma-components/p-4da1c089.entry.js +0 -1
- package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
- package/dist/magma-components/p-4e8c5b68.entry.js +0 -1
- package/dist/magma-components/p-4f0153cd.entry.js +0 -1
- package/dist/magma-components/p-4fc0e294.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-5575f198.entry.js +0 -1
- package/dist/magma-components/p-5686da49.system.entry.js +0 -13
- package/dist/magma-components/p-56a25ec6.entry.js +0 -1
- package/dist/magma-components/p-57ee6e32.entry.js +0 -1
- package/dist/magma-components/p-5931fdfc.system.entry.js +0 -41
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a8fa2d0.entry.js +0 -1
- package/dist/magma-components/p-5aa8f150.entry.js +0 -1
- package/dist/magma-components/p-5c8f408e.entry.js +0 -1
- package/dist/magma-components/p-5d1cba9c.system.entry.js +0 -1
- package/dist/magma-components/p-5d56a7cd.system.entry.js +0 -47
- package/dist/magma-components/p-60b21db7.entry.js +0 -1
- package/dist/magma-components/p-60d6e60f.entry.js +0 -1
- package/dist/magma-components/p-61e11cd0.system.entry.js +0 -16
- package/dist/magma-components/p-627c2780.entry.js +0 -1
- package/dist/magma-components/p-6896786e.entry.js +0 -1
- package/dist/magma-components/p-69319301.system.entry.js +0 -10
- package/dist/magma-components/p-6a994dc1.entry.js +0 -1
- package/dist/magma-components/p-72971cf7.system.entry.js +0 -7
- package/dist/magma-components/p-741f8f45.system.entry.js +0 -13
- package/dist/magma-components/p-7837856f.entry.js +0 -1
- package/dist/magma-components/p-797c64f4.system.entry.js +0 -19
- package/dist/magma-components/p-7a920b70.entry.js +0 -1
- package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
- package/dist/magma-components/p-7c055074.entry.js +0 -1
- package/dist/magma-components/p-7c3a7521.entry.js +0 -1
- package/dist/magma-components/p-7d61f442.entry.js +0 -1
- package/dist/magma-components/p-7ee31f2e.entry.js +0 -1
- package/dist/magma-components/p-7f418ae1.entry.js +0 -1
- package/dist/magma-components/p-7ff5552f.entry.js +0 -1
- package/dist/magma-components/p-81212e34.entry.js +0 -1
- package/dist/magma-components/p-81d2582a.entry.js +0 -1
- package/dist/magma-components/p-844bce77.entry.js +0 -1
- package/dist/magma-components/p-84aac233.entry.js +0 -1
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-85376ff5.entry.js +0 -1
- package/dist/magma-components/p-85bf9c93.entry.js +0 -1
- package/dist/magma-components/p-86f11a5a.entry.js +0 -1
- package/dist/magma-components/p-8aa4cd10.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8feba226.entry.js +0 -1
- package/dist/magma-components/p-948ecde4.entry.js +0 -8
- package/dist/magma-components/p-97217527.system.entry.js +0 -1
- package/dist/magma-components/p-97c6e10a.entry.js +0 -1
- package/dist/magma-components/p-9a0f8eb1.entry.js +0 -1
- package/dist/magma-components/p-9c784173.entry.js +0 -1
- package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
- package/dist/magma-components/p-9ed54db1.entry.js +0 -1
- package/dist/magma-components/p-9ef0d4e5.system.entry.js +0 -7
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CLhuNxYQ.js +0 -1
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-Cvhn9asj.js +0 -1
- package/dist/magma-components/p-CxTugGM9.system.js +0 -10
- package/dist/magma-components/p-Dx_cCOTw.js +0 -1
- package/dist/magma-components/p-a2e3a545.entry.js +0 -1
- package/dist/magma-components/p-a3156523.system.entry.js +0 -98
- package/dist/magma-components/p-a3d09996.entry.js +0 -1
- package/dist/magma-components/p-a8206d9c.entry.js +0 -1
- package/dist/magma-components/p-ac099ed6.entry.js +0 -1
- package/dist/magma-components/p-ac161cb5.entry.js +0 -1
- package/dist/magma-components/p-b0850daa.entry.js +0 -1
- package/dist/magma-components/p-b2763352.entry.js +0 -1
- package/dist/magma-components/p-b464668b.system.entry.js +0 -105
- package/dist/magma-components/p-b61546fd.entry.js +0 -1
- package/dist/magma-components/p-b85f56d7.entry.js +0 -1
- package/dist/magma-components/p-b8f4938a.entry.js +0 -1
- package/dist/magma-components/p-be2ca282.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c0286dc3.system.entry.js +0 -94
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c683cd13.entry.js +0 -1
- package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
- package/dist/magma-components/p-c9553777.entry.js +0 -1
- package/dist/magma-components/p-c9bd81c5.system.entry.js +0 -225
- package/dist/magma-components/p-cd6dd836.entry.js +0 -1
- package/dist/magma-components/p-d29c959d.entry.js +0 -1
- package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
- package/dist/magma-components/p-d50d4023.entry.js +0 -1
- package/dist/magma-components/p-dcb5f965.entry.js +0 -1
- package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
- package/dist/magma-components/p-dfab370b.entry.js +0 -1
- package/dist/magma-components/p-e059aaa9.entry.js +0 -1
- package/dist/magma-components/p-e428490d.system.entry.js +0 -5
- package/dist/magma-components/p-e7f717ab.entry.js +0 -1
- package/dist/magma-components/p-e92327a2.entry.js +0 -1
- package/dist/magma-components/p-ecc2893d.system.entry.js +0 -24
- package/dist/magma-components/p-ed4fd7a4.entry.js +0 -1
- package/dist/magma-components/p-ef1bdd44.entry.js +0 -1
- package/dist/magma-components/p-f045b018.entry.js +0 -1
- package/dist/magma-components/p-f22b8091.entry.js +0 -1
- package/dist/magma-components/p-f493fdc3.entry.js +0 -1
- package/dist/magma-components/p-f5d9f625.entry.js +0 -1
- package/dist/magma-components/p-f7426a75.entry.js +0 -1
- package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
- package/dist/magma-components/p-fba648e0.entry.js +0 -1
- package/dist/magma-components/p-fbf563c8.entry.js +0 -1
- package/dist/magma-components/p-fd81c4ef.system.entry.js +0 -29
- package/dist/magma-components/p-fdedc0ba.entry.js +0 -1
- package/dist/magma-components/p-ff65fc97.entry.js +0 -1
- package/dist/magma-components/p-ff82edad.entry.js +0 -1
- package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/{lint/mcp → mcp}/cli.js +0 -0
- /package/dist/{lint/mcp → mcp}/color.js +0 -0
- /package/dist/{lint/mcp → mcp}/context.js +0 -0
- /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
- /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
System.register(["./p-BS7eEvwu.system.js","./p-CzZWts7L.system.js"],(function(a){"use strict";var e,r;return{setters:[function(a){e=a.a},function(a){r=a.L}],execute:function(){var t="Εισαγάγετε έναν έγκυρο αριθμό κάρτας.";var n="Εισαγάγετε έναν δεκαεξαδικό κωδικό χρώματος, όπως #2f6fd0.";var i="Εισαγάγετε μια διεύθυνση email.";var m="Εισαγάγετε μια έγκυρη τιμή.";var l="Εισαγάγετε μια έγκυρη ημερομηνία.";var v="Η τιμή πρέπει να είναι το πολύ {{max}}.";var o="Η ημερομηνία δεν μπορεί να είναι μετά τις {{max}}.";var s=["Χρησιμοποιήστε το πολύ {{maxlength}} χαρακτήρα.","Χρησιμοποιήστε το πολύ {{maxlength}} χαρακτήρες."];var c="Η τιμή πρέπει να είναι τουλάχιστον {{min}}.";var d="Η ημερομηνία δεν μπορεί να είναι πριν από τις {{min}}.";var u=["Χρησιμοποιήστε τουλάχιστον {{minlength}} χαρακτήρα.","Χρησιμοποιήστε τουλάχιστον {{minlength}} χαρακτήρες."];var h="Χρησιμοποιήστε τη μορφή που ζητείται.";var x="Συμπληρώστε αυτό το πεδίο.";var g="Επιλέξτε ένα στοιχείο από τη λίστα.";var f="Εισαγάγετε μια διεύθυνση URL.";var p="Εισαγάγετε έναν έγκυρο αριθμό ΦΠΑ.";var b={cardNumber:t,color:n,email:i,invalid:m,invalidDate:l,max:v,maxDate:o,maxlength:s,min:c,minDate:d,minlength:u,pattern:h,required:x,requiredSelect:g,url:f,vatNumber:p};var I="Enter a valid card number.";var U="Enter a hex colour code, such as #2f6fd0.";var D="Enter an email address.";var q="Enter a valid value.";var E="Enter a valid date.";var S="The value must be {{max}} or less.";var L="The date must be {{max}} or earlier.";var N=["Use at most {{maxlength}} character.","Use at most {{maxlength}} characters."];var M="The value must be {{min}} or more.";var y="The date must be {{min}} or later.";var w=["Use at least {{minlength}} character.","Use at least {{minlength}} characters."];var R="Match the requested format.";var T="Fill in this field.";var z="Select an item in the list.";var j="Enter a URL.";var A="Enter a valid VAT number.";var C={cardNumber:I,color:U,email:D,invalid:q,invalidDate:E,max:S,maxDate:L,maxlength:N,min:M,minDate:y,minlength:w,pattern:R,required:T,requiredSelect:z,url:j,vatNumber:A};var V="Introduce un número de tarjeta válido.";var O="Introduce un código de color hexadecimal, como #2f6fd0.";var B="Introduce una dirección de correo electrónico.";var F="Introduce un valor válido.";var W="Introduce una fecha válida.";var Z="El valor debe ser como máximo {{max}}.";var k="La fecha no puede ser posterior al {{max}}.";var G=["Usa como máximo {{maxlength}} carácter.","Usa como máximo {{maxlength}} caracteres."];var H="El valor debe ser como mínimo {{min}}.";var J="La fecha no puede ser anterior al {{min}}.";var K=["Usa al menos {{minlength}} carácter.","Usa al menos {{minlength}} caracteres."];var P="Usa el formato solicitado.";var Q="Completa este campo.";var X="Selecciona un elemento de la lista.";var Y="Introduce una URL.";var $="Introduce un número de IVA válido.";var _={cardNumber:V,color:O,email:B,invalid:F,invalidDate:W,max:Z,maxDate:k,maxlength:G,min:H,minDate:J,minlength:K,pattern:P,required:Q,requiredSelect:X,url:Y,vatNumber:$};var aa="Inserisci un numero di carta valido.";var ea="Inserisci un codice colore esadecimale, come #2f6fd0.";var ra="Inserisci un indirizzo email.";var ta="Inserisci un valore valido.";var na="Inserisci una data valida.";var ia="Il valore deve essere al massimo {{max}}.";var ma="La data non può essere successiva al {{max}}.";var la=["Usa al massimo {{maxlength}} carattere.","Usa al massimo {{maxlength}} caratteri."];var va="Il valore deve essere almeno {{min}}.";var oa="La data non può essere precedente al {{min}}.";var sa=["Usa almeno {{minlength}} carattere.","Usa almeno {{minlength}} caratteri."];var ca="Rispetta il formato richiesto.";var da="Compila questo campo.";var ua="Seleziona un elemento dell'elenco.";var ha="Inserisci un URL.";var xa="Inserisci una partita IVA valida.";var ga={cardNumber:aa,color:ea,email:ra,invalid:ta,invalidDate:na,max:ia,maxDate:ma,maxlength:la,min:va,minDate:oa,minlength:sa,pattern:ca,required:da,requiredSelect:ua,url:ha,vatNumber:xa};var fa={cardNumber:"typeMismatch",
|
|
2
|
+
// the text of a colour field that names no colour leaves the value empty, as the text of a
|
|
3
|
+
// native number that is no number does: the browser reports that as badInput
|
|
4
|
+
color:"badInput",email:"typeMismatch",invalid:"customError",invalidDate:"badInput",max:"rangeOverflow",maxDate:"rangeOverflow",maxlength:"tooLong",min:"rangeUnderflow",minDate:"rangeUnderflow",minlength:"tooShort",pattern:"patternMismatch",required:"valueMissing",requiredSelect:"valueMissing",url:"typeMismatch",vatNumber:"typeMismatch"};var pa=new r({el:b,en:C,es:_,it:ga});
|
|
5
|
+
/** The message of a problem, in the language of the page. */var ba=function(a){var e=a.rule,r=a.context,t=a.message;return t||pa.get(e,r)};
|
|
6
|
+
/**
|
|
7
|
+
* Reports to the form the problem of a form-associated component, or clears it when there is
|
|
8
|
+
* none: like a native control, an invalid component matches `:invalid` and stops the submit of
|
|
9
|
+
* its form, which shows the message next to the anchor and focuses it.
|
|
10
|
+
* @param internals the ElementInternals of the component
|
|
11
|
+
* @param problem the rule the value breaks, `undefined` when the value is valid
|
|
12
|
+
* @param anchor the control of the shadow tree the browser points the message at
|
|
13
|
+
*/var Ia=a("u",(function(a,r,t){var n;if(r===undefined){e(a,{});return}e(a,(n={},n[fa[r.rule]]=true,n),ba(r),t)}))}}}));
|
|
@@ -144,7 +144,7 @@ if(!e&&i){v.x=gr(i)}var s=i&&!e&&!a?pr(i,f):u(0);var l=o.left+f.scrollLeft-v.x-s
|
|
|
144
144
|
if(q(r)===n){n=n.ownerDocument.body}return n}
|
|
145
145
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
146
146
|
// such as table ancestors and cross browser bugs.
|
|
147
|
-
function Mr(r,t){var n=$(r);if(Q(r)){return n}if(!W(r)){var e=ur(r);while(e&&!er(e)){if(G(e)&&!Tr(e)){return e}e=ur(e)}return n}var i=Cr(r,t);while(i&&K(i)&&Tr(i)){i=Cr(i,t)}if(i&&er(i)&&Tr(i)&&!rr(i)){return n}return i||tr(r)||n}var Pr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Mr;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=jr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function zr(r){return ir(r).direction==="rtl"}var Er={convertOffsetParentRelativeRectToViewportRelativeRect:mr,getDocumentElement:q,getClippingRect:Fr,getOffsetParent:Mr,getElementRects:Pr,getClientRects:wr,getDimensions:Rr,getScale:lr,isElement:G,isRTL:zr};function Lr(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}
|
|
147
|
+
function Mr(r,t){var n=$(r);if(Q(r)){return n}if(!W(r)){var e=ur(r);while(e&&!er(e)){if(G(e)&&!Tr(e)){return e}e=ur(e)}return n}var i=Cr(r,t);while(i&&K(i)&&Tr(i)){i=Cr(i,t)}if(i&&er(i)&&Tr(i)&&!rr(i)){return n}return i||tr(r)||n}var Pr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:t=this.getOffsetParent||Mr;n=this.getDimensions;return[4/*yield*/,n(r.floating)];case 1:e=o.sent();u={};i=jr;a=[r.reference];return[4/*yield*/,t(r.floating)];case 2:return[2/*return*/,(u.reference=i.apply(void 0,a.concat([o.sent(),r.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function zr(r){return ir(r).direction==="rtl"}var Er=r("p",{convertOffsetParentRelativeRectToViewportRelativeRect:mr,getDocumentElement:q,getClippingRect:Fr,getOffsetParent:Mr,getElementRects:Pr,getClientRects:wr,getDimensions:Rr,getScale:lr,isElement:G,isRTL:zr});function Lr(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}
|
|
148
148
|
// https://samthor.au/2021/observing-dom/
|
|
149
149
|
function Dr(r,t,i){var u=null;var o;var f=q(r);function v(){var r;clearTimeout(o);(r=u)==null||r.disconnect();u=null}function c(i,s){if(i===void 0){i=false}if(s===void 0){s=1}v();var l=r.getBoundingClientRect();var d=l.left,h=l.top,_=l.width,y=l.height;if(!i){t()}if(!_||!y){return}var g=a(h);var p=a(f.clientWidth-(d+_));var m=a(f.clientHeight-(h+y));var w=a(d);var b=-g+"px "+-p+"px "+-m+"px "+-w+"px";var x={rootMargin:b,threshold:e(0,n(1,s))||1};var A=true;function S(t){var n=t[0].intersectionRatio;
|
|
150
150
|
// The entry is a snapshot, so the reference may have moved since the
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(r,n,u){if(u||arguments.length===2)for(var t=0,a=n.length,e;t<a;t++){if(e||!(t in n)){if(!e)e=Array.prototype.slice.call(n,0,t);e[t]=n[t]}}return r.concat(e||Array.prototype.slice.call(n))};System.register([],(function(r){"use strict";return{execute:function(){var n=function(r){var n,u;for(n=0,u=0;n<r.length;n++){u=Math.imul(31,u)+r.charCodeAt(n)|0}return u.toString()};var u=function(r){return Math.floor(Math.random()*r)};var t=r("u",(function(r){var n,u,t;return(t=(u=(n=r.split("/"))===null||n===void 0?void 0:n.slice(-1).pop())===null||u===void 0?void 0:u.replace(/-/g," "))!==null&&t!==void 0?t:r}));var a=r("s",(function(r,n,u){var t;if(r.hasAttribute(n)){return(t=r.getAttribute(n))!==null&&t!==void 0?t:""}r.setAttribute(n,u);return u}));
|
|
2
|
+
/**
|
|
3
|
+
* Adds an id to an IDREF list attribute (`aria-describedby`, `aria-labelledby`, ...), keeping the
|
|
4
|
+
* ids already there: a description of someone else's stays next to ours.
|
|
5
|
+
*/var e=r("a",(function(r,n,u){var t;var a=((t=r.getAttribute(n))!==null&&t!==void 0?t:"").split(/\s+/).filter(Boolean);if(a.includes(u))return;r.setAttribute(n,__spreadArray(__spreadArray([],a,true),[u],false).join(" "))}));
|
|
6
|
+
/** Takes an id back out of an IDREF list attribute, dropping the attribute once it is empty. */var i=r("r",(function(r,n,u){var t;var a=((t=r.getAttribute(n))!==null&&t!==void 0?t:"").split(/\s+/).filter(Boolean);if(!a.includes(u))return;var e=a.filter((function(r){return r!==u}));if(e.length===0){r.removeAttribute(n);return}r.setAttribute(n,e.join(" "))}));var f=r("h",(function(r){var t=u(1e6);if(r){return"".concat(r,"-").concat(n(t.toString()))}return n(t.toString())}));
|
|
7
|
+
/**
|
|
8
|
+
* What the `current` of a button says (#1264): 'page' is the view the button leads to, the one you
|
|
9
|
+
* are in; 'section' is a view inside it, a record of its list. The attribute alone (an empty
|
|
10
|
+
* string), `true` and any other value are the view itself; `false`, the string "false" (a
|
|
11
|
+
* reflected attribute keeps it) and no value mark nothing.
|
|
12
|
+
*/var o=r("c",(function(r){if(r===undefined||r===null||r===false||r==="false")return undefined;return r==="section"?"section":"page"}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as e}from"./p-
|
|
1
|
+
import{S as e}from"./p-CPibDZjX.js";const t=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,n)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var n;t&&(!("isConnected"in(n=t))||n.isConnected)&&o.add(e)})),e.set(n,o)}))})(...t)}),2e3)}})(),n=e.forceUpdate,o=e.getRenderingRef,r=(e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},s={animation:["reduce","system","no-preference"],consumption:["low","medium","high"],contrast:["more","no-preference","system"],mode:["light","dark","system"],"theme-scheme":["light","dark","all"]},c=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const n=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=n();let s=new Map(Object.entries(o));const c="undefined"!=typeof Proxy,a=c?null:{},u={dispose:[],get:[],set:[],reset:[]},i=new Map,d=()=>{s=new Map(Object.entries(n())),c||g(),u.reset.forEach((e=>e()))},f=e=>(u.get.forEach((t=>t(e))),s.get(e)),m=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),c||w(e),u.set.forEach((t=>t(e,n,o))))},l=c?new Proxy(o,{get:(e,t)=>f(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(m(t,n),!0)}):(g(),a),p=(e,t)=>(u[e].push(t),()=>{r(u[e],t)});function w(e){!c&&a&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>f(e),set(t){m(e,t)}}))}function g(){if(c||!a)return;const e=new Set(s.keys());for(const t of Object.keys(a))e.has(t)||delete a[t];for(const t of e)w(t)}return{state:l,get:f,set:m,on:p,onChange:(e,t)=>{const o=(n,o)=>{n===e&&t(o)},r=()=>{const o=n();t(o[e])},s=p("set",o),c=p("reset",r);return i.set(t,{setHandler:o,resetHandler:r,propName:e}),()=>{s(),c(),i.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{u.dispose.forEach((e=>e())),d()},reset:d,forceUpdate:e=>{const t=s.get(e);u.set.forEach((n=>n(e,t,t)))},removeListener:(e,t)=>{const n=i.get(t);n&&n.propName===e&&(r(u.set,n.setHandler),r(u.reset,n.resetHandler),i.delete(t))}}})({language:"en"},void 0);return e.use((()=>{if("function"!=typeof o||"function"!=typeof n)return{};const e=n,r=o,s=new WeakMap,c=new Map;return{dispose:()=>c.clear(),get:e=>{const t=r();t&&((e,t,n,o)=>{let r=t.get(o);r||(r=new WeakRef(o),t.set(o,r));let s=e.get(n);s||(s=new Set,e.set(n,s)),s.add(r)})(c,s,e,t)},set:n=>{const o=c.get(n);if(o){const t=new Set;o.forEach((n=>{const o=n.deref();o&&e(o)&&t.add(n)})),c.set(n,t)}t(c)},reset:()=>{c.forEach((t=>{t.forEach((t=>{const n=t.deref();n&&e(n)}))})),t(c)}}})()),e})(),a=s.mode,u="--magma-color-modes",i=e=>{const t=e.trim().split(/\s+/).filter(Boolean);if(1!==t.length)return;const[n]=t;return"light"===n||"dark"===n?n:void 0};if("undefined"!=typeof localStorage)try{(e=>{const t=e.getItem("mdsPrefTheme");null!==t&&a.includes(t)&&(null===e.getItem("mdsPrefMode")&&e.setItem("mdsPrefMode",t),e.removeItem("mdsPrefTheme"));const n=e.getItem("mdsPrefThemeName");null!==n&&(null===e.getItem("mdsPrefTheme")&&e.setItem("mdsPrefTheme",n),e.removeItem("mdsPrefThemeName"))})(localStorage)}catch(e){}const d=()=>{var e;Object.keys(s).forEach((e=>{c.state[e]=(e=>{const t=s[e],{classList:n}=document.documentElement;return t.find((t=>n.contains(`pref-${e}-${t}`)))})(e)})),c.state["corner-shape"]=null!==(e=document.documentElement.getAttribute("data-corner-shape"))&&void 0!==e?e:void 0},f=()=>{c.state.language=document.documentElement.lang||"en"};"undefined"!=typeof document&&(d(),f(),"undefined"!=typeof MutationObserver&&(new MutationObserver(d).observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-corner-shape"]}),new MutationObserver(f).observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})));const m=()=>{const e=c.state.animation;return"reduce"===e||"no-preference"!==e&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches};export{u as C,a as M,m as a,i as l,c as p}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{p as t}from"./p-
|
|
1
|
+
import{p as t}from"./p-BXkIXROP.js";
|
|
2
2
|
/*!
|
|
3
3
|
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
4
4
|
* http://github.com/janl/mustache.js
|
|
5
|
-
*/var n=Object.prototype.toString,r=Array.isArray||function(t){return"[object Array]"===n.call(t)};function e(t){return"function"==typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,n){return null!=t&&"object"==typeof t&&n in t}var s=RegExp.prototype.test,u=/\S/;var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},a=/\s*/,c=/\s+/,h=/\s*=/,l=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/;function p(t){this.string=t,this.tail=t,this.pos=0}function d(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function g(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}p.prototype.eos=function(){return""===this.tail},p.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},p.prototype.scanUntil=function(t){var n,r=this.tail.search(t);switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n},d.prototype.push=function(t){return new d(t,this)},d.prototype.lookup=function(t){var n,r,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,u,f,a=this,c=!1;a;){if(t.indexOf(".")>0)for(s=a.view,u=t.split("."),f=0;null!=s&&f<u.length;)f===u.length-1&&(c=o(s,u[f])||null!=(r=s)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(u[f])),s=s[u[f++]];else s=a.view[t],c=o(a.view,t);if(c){n=s;break}a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},g.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},g.prototype.parse=function(t,n){var e=this.templateCache,o=t+":"+(n||w.tags).join(":"),f=void 0!==e,d=f?e.get(o):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,o,f,d=!1,g=[],b=[],m=[],y=!1,x=!1,E="",j=0;function k(){if(y&&!x)for(;m.length;)delete b[m.pop()];else m=[];y=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(c,2)),!r(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(i(t[0])+"\\s*"),o=new RegExp("\\s*"+i(t[1])),f=new RegExp("\\s*"+i("}"+t[1]))}C(n||w.tags);for(var R,S,U,A,I,O,T=new p(t);!T.eos();){if(R=T.pos,U=T.scanUntil(e))for(var
|
|
5
|
+
*/var n=Object.prototype.toString,r=Array.isArray||function(t){return"[object Array]"===n.call(t)};function e(t){return"function"==typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,n){return null!=t&&"object"==typeof t&&n in t}var s=RegExp.prototype.test,u=/\S/;var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},a=/\s*/,c=/\s+/,h=/\s*=/,l=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/;function p(t){this.string=t,this.tail=t,this.pos=0}function d(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function g(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}p.prototype.eos=function(){return""===this.tail},p.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},p.prototype.scanUntil=function(t){var n,r=this.tail.search(t);switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n},d.prototype.push=function(t){return new d(t,this)},d.prototype.lookup=function(t){var n,r,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,u,f,a=this,c=!1;a;){if(t.indexOf(".")>0)for(s=a.view,u=t.split("."),f=0;null!=s&&f<u.length;)f===u.length-1&&(c=o(s,u[f])||null!=(r=s)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(u[f])),s=s[u[f++]];else s=a.view[t],c=o(a.view,t);if(c){n=s;break}a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},g.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},g.prototype.parse=function(t,n){var e=this.templateCache,o=t+":"+(n||w.tags).join(":"),f=void 0!==e,d=f?e.get(o):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,o,f,d=!1,g=[],b=[],m=[],y=!1,x=!1,E="",j=0;function k(){if(y&&!x)for(;m.length;)delete b[m.pop()];else m=[];y=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(c,2)),!r(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(i(t[0])+"\\s*"),o=new RegExp("\\s*"+i(t[1])),f=new RegExp("\\s*"+i("}"+t[1]))}C(n||w.tags);for(var R,S,U,A,I,O,T=new p(t);!T.eos();){if(R=T.pos,U=T.scanUntil(e))for(var X=0,$=U.length;X<$;++X)(function(t,n){return s.call(u,n)})(0,A=U.charAt(X))?(x=!0,d=!0,E+=" "):(m.push(b.length),E+=A),b.push(["text",A,R,R+1]),R+=1,"\n"===A&&(k(),E="",j=0,d=!1);if(!T.scan(e))break;if(y=!0,S=T.scan(v)||"name",T.scan(a),"="===S?(U=T.scanUntil(h),T.scan(h),T.scanUntil(o)):"{"===S?(U=T.scanUntil(f),T.scan(l),T.scanUntil(o),S="&"):U=T.scanUntil(o),!T.scan(o))throw new Error("Unclosed tag at "+T.pos);if(I=">"==S?[S,U,R,T.pos,E,j,d]:[S,U,R,T.pos],j++,b.push(I),"#"===S||"^"===S)g.push(I);else if("/"===S){if(!(O=g.pop()))throw new Error('Unopened section "'+U+'" at '+R);if(O[1]!==U)throw new Error('Unclosed section "'+O[1]+'" at '+R)}else"name"===S||"{"===S||"&"===S?x=!0:"="===S&&C(U)}if(k(),O=g.pop())throw new Error('Unclosed section "'+O[1]+'" at '+T.pos);return function(t){for(var n,r=[],e=r,i=[],o=0,s=t.length;o<s;++o)switch((n=t[o])[0]){case"#":case"^":e.push(n),i.push(n),e=n[4]=[];break;case"/":i.pop()[5]=n[2],e=i.length>0?i[i.length-1][4]:r;break;default:e.push(n)}return r}(function(t){for(var n,r,e=[],i=0,o=t.length;i<o;++i)(n=t[i])&&("text"===n[0]&&r&&"text"===r[0]?(r[1]+=n[1],r[3]=n[3]):(e.push(n),r=n));return e}(b))}(t,n),f&&e.set(o,d)),d},g.prototype.render=function(t,n,r,e){var i=this.getConfigTags(e),o=this.parse(t,i),s=n instanceof d?n:new d(n,void 0);return this.renderTokens(o,s,r,t,e)},g.prototype.renderTokens=function(t,n,r,e,i){for(var o,s,u,f="",a=0,c=t.length;a<c;++a)u=void 0,"#"===(s=(o=t[a])[0])?u=this.renderSection(o,n,r,e,i):"^"===s?u=this.renderInverted(o,n,r,e,i):">"===s?u=this.renderPartial(o,n,r,i):"&"===s?u=this.unescapedValue(o,n):"name"===s?u=this.escapedValue(o,n,i):"text"===s&&(u=this.rawValue(o)),void 0!==u&&(f+=u);return f},g.prototype.renderSection=function(t,n,i,o,s){var u=this,f="",a=n.lookup(t[1]);if(a){if(r(a))for(var c=0,h=a.length;c<h;++c)f+=this.renderTokens(t[4],n.push(a[c]),i,o,s);else if("object"==typeof a||"string"==typeof a||"number"==typeof a)f+=this.renderTokens(t[4],n.push(a),i,o,s);else if(e(a)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(a=a.call(n.view,o.slice(t[3],t[5]),(function(t){return u.render(t,n,i,s)})))&&(f+=a)}else f+=this.renderTokens(t[4],n,i,o,s);return f}},g.prototype.renderInverted=function(t,n,e,i,o){var s=n.lookup(t[1]);if(!s||r(s)&&0===s.length)return this.renderTokens(t[4],n,e,i,o)},g.prototype.indentPartial=function(t,n,r){for(var e=n.replace(/[^ \t]/g,""),i=t.split("\n"),o=0;o<i.length;o++)i[o].length&&(o>0||!r)&&(i[o]=e+i[o]);return i.join("\n")},g.prototype.renderPartial=function(t,n,r,i){if(r){var o=this.getConfigTags(i),s=e(r)?r(t[1]):r[t[1]];if(null!=s){var u=t[4],f=s;0==t[5]&&u&&(f=this.indentPartial(s,u,t[6]));var a=this.parse(f,o);return this.renderTokens(a,n,r,f,i)}}},g.prototype.unescapedValue=function(t,n){var r=n.lookup(t[1]);if(null!=r)return r},g.prototype.escapedValue=function(t,n,r){var e=this.getConfigEscape(r)||w.escape,i=n.lookup(t[1]);if(null!=i)return"number"==typeof i&&e===w.escape?String(i):e(i)},g.prototype.rawValue=function(t){return t[1]},g.prototype.getConfigTags=function(t){return r(t)?t:t&&"object"==typeof t?t.tags:void 0},g.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!r(t)?t.escape:void 0};var w={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){b.templateCache=t},get templateCache(){return b.templateCache}},b=new g;w.clearCache=function(){return b.clearCache()},w.parse=function(t,n){return b.parse(t,n)},w.render=function(t,n,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+(r(o=t)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)');var o;return b.render(t,n,e,i)},w.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return f[t]}))},w.Scanner=p,w.Context=d,w.Writer=g;class m{constructor(n){this.rollbackLanguage="en",this.set=t=>{this.config=t},this.texts=t=>{var n,r;const e=this.config,i=t.toLowerCase();return null!==(r=null!==(n=e[i])&&void 0!==n?n:e[i.split(/[-_]/)[0]])&&void 0!==r?r:e[this.rollbackLanguage]},this.pluralize=(t,n,r)=>{const e=this.texts(r)[t],i=[];Array.isArray(e)?(i.push(e[0]),i.push(e[1])):(i.push(e),i.push(e));const[o]=i;let s=o;const u=Object.keys(n);if(u.length>0){const[t]=u;"number"==typeof n[t]&&1!==n[t]&&(s=i[1])}return w.render(s,n)},this.get=(n,r)=>{const{language:e}=t.state;return r?this.pluralize(n,r,e):this.texts(e)[n]},n&&this.set(n)}}export{m as L}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"};function l(e,o,r){return n(e,t(o,r))}function c(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function f(t){return"y"===t?"height":"width"}function d(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function m(t){return s(d(t))}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const h=["left","right"],p=["right","left"],w=["top","bottom"],g=["bottom","top"];function x(t){const n=a(t);return i[n]+t.slice(n.length)}function v(t){return"number"!=typeof t?function(t){var n,e,o,r;return{top:null!=(n=t.top)?n:0,right:null!=(e=t.right)?e:0,bottom:null!=(o=t.bottom)?o:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function b(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function A(t,n,e){let{reference:o,floating:r}=t;const i=d(n),l=m(n),c=f(l),s=a(n),y="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(s){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}const x=u(n);return x&&(g[l]+=w*("end"===x?1:-1)*(e&&y?-1:1)),g}async function S(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:u}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=c(n,t),h=v(y),p=a[m?"floating"===d?"reference":"floating":d],w=b(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),A=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=b(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:u}):g);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const R=new Set(["left","top"]);function F(){return"undefined"!=typeof window}function O(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!F()&&(t instanceof Node||t instanceof k(t).Node)}function z(t){return!!F()&&(t instanceof Element||t instanceof k(t).Element)}function D(t){return!!F()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function M(t){return!(!F()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function P(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function L(t){return/^(table|td|th)$/.test(O(t))}function E(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const B=/transform|translate|scale|rotate|perspective|filter/,$=/paint|layout|strict|content/,I=t=>!!t&&"none"!==t;let N;function V(t){const n=z(t)?H(t):t;return I(n.transform)||I(n.translate)||I(n.scale)||I(n.rotate)||I(n.perspective)||!j()&&(I(n.backdropFilter)||I(n.filter))||B.test(n.willChange||"")||$.test(n.contain||"")}function j(){return null==N&&(N="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),N}function q(t){return/^(html|body|#document)$/.test(O(t))}function H(t){return k(t).getComputedStyle(t)}function W(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||M(t)&&t.host||C(t);return M(n)?n.host:n}function Y(t){const n=X(t);return q(n)?(t.ownerDocument||t).body:D(n)&&P(n)?n:Y(n)}function _(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=Y(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=k(r);if(i){const t=G(l);return n.concat(l,l.visualViewport||[],P(r)?r:[],t&&e?_(t):[])}return n.concat(r,_(r,[],e))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const n=H(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=D(t),l=i?t.offsetWidth:o,c=i?t.offsetHeight:r,a=e(o)!==l||e(r)!==c;return a&&(o=l,r=c),{width:o,height:r,$:a}}function K(t){return z(t)?t:t.contextElement}function Q(t){const n=K(t);if(!D(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:l,$:c}=J(n);let a=(c?e(o.width):o.width)/i,u=(c?e(o.height):o.height)/l;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}const U=r(0);function Z(t){const n=k(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),l=K(t);let c=r(1);n&&(o?z(o)&&(c=Q(o)):c=Q(t));const a=function(t,n,e){return void 0===n&&(n=!1),!!e&&n&&e===k(t)}(l,e,o)?Z(l):r(0);let u=(i.left+a.x)/c.x,s=(i.top+a.y)/c.y,f=i.width/c.x,d=i.height/c.y;if(l&&o){const t=k(l),n=z(o)?k(o):o;let e=t,r=G(e);for(;r&&n!==e;){const t=Q(r),n=r.getBoundingClientRect(),o=H(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;u*=t.x,s*=t.y,f*=t.x,d*=t.y,u+=i,s+=l,e=k(r),r=G(e)}}return b({width:f,height:d,x:u,y:s})}function nt(t,n){const e=W(t).scrollLeft;return n?n.left+e:tt(C(t)).left+e}function et(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-nt(t,e),y:e.top+n.scrollTop}}function ot(t,e,o){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,n,e){void 0===e&&(e="viewport");const o="layoutViewport"===e,r=k(t),i=C(t),l=r.visualViewport;let c=i.clientWidth,a=i.clientHeight,u=0,s=0;if(l){const t=!j()||"fixed"===n;o?t||(u=-l.offsetLeft,s=-l.offsetTop):(c=l.width,a=l.height,t&&(u=l.offsetLeft,s=l.offsetTop))}if(nt(i)<=0){const t=i.ownerDocument,n=t.body,e=getComputedStyle(n),o="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,r=Math.abs(i.clientWidth-n.clientWidth-o),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?r/2:r;l<=25&&(c-=l)}return{width:c,height:a,x:u,y:s}}(t,o,e);else if("document"===e)r=function(t){const e=W(t),o=t.ownerDocument.body,r=n(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=n(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===H(o).direction&&(l+=n(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}(C(t));else if(z(e))r=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=Q(t);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,o);else{const n=Z(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return b(r)}function rt(t,n,e){const o=D(n),i=C(n),l="fixed"===e,c=tt(t,!0,l,n);let a={scrollLeft:0,scrollTop:0};const u=r(0);if((o||!l)&&(("body"!==O(n)||P(i))&&(a=W(n)),o)){const t=tt(n,!0,l,n);u.x=t.x+n.clientLeft,u.y=t.y+n.clientTop}!o&&i&&(u.x=nt(i));const s=!i||o||l?r(0):et(i,a);return{x:c.left+a.scrollLeft-u.x-s.x,y:c.top+a.scrollTop-u.y-s.y,width:c.width,height:c.height}}function it(t){return"static"===H(t).position}function lt(t,n){if(!D(t)||"fixed"===H(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function ct(t,n){const e=k(t);if(E(t))return e;if(!D(t)){let n=X(t);for(;n&&!q(n);){if(z(n)&&!it(n))return n;n=X(n)}return e}let o=lt(t,n);for(;o&&L(o)&&it(o);)o=lt(o,n);return o&&q(o)&&it(o)&&!V(o)?e:o||function(t){let n=X(t);for(;D(n)&&!q(n);){if(V(n))return n;if(E(n))return null;n=X(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const l="fixed"===i,c=C(o),a=!!n&&E(n.floating);if(o===c||a&&l)return e;let u={scrollLeft:0,scrollTop:0},s=r(1);const f=r(0),d=D(o);if((d||!l)&&(("body"!==O(o)||P(c))&&(u=W(o)),d)){const t=tt(o);s=Q(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||l?r(0):et(c,u);return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-u.scrollLeft*s.x+f.x+m.x,y:e.y*s.y-u.scrollTop*s.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:l}=e;const c=[..."clippingAncestors"===r?E(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=_(t,[],!1).filter((t=>z(t)&&"body"!==O(t))),r=null;const i="fixed"===H(t).position;let l=i?X(t):t;for(;z(l)&&!q(l);){const t=H(l),n=V(l),e=r?r.position:i?"fixed":"";n||"fixed"!==e&&("absolute"!==e||"static"!==t.position)?r=t:o=o.filter((t=>t!==l)),l=X(l)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=ot(o,c[0],l);let u=a.top,s=a.right,f=a.bottom,d=a.left;for(let e=1;e<c.length;e++){const r=ot(o,c[e],l);u=n(r.top,u),s=t(r.right,s),f=t(r.bottom,f),d=n(r.left,d)}return{width:s-d,height:f-u,x:d,y:u}},getOffsetParent:ct,getElementRects:async function(t){const n=this.getOffsetParent||ct,e=this.getDimensions,o=await e(t.floating);return{reference:rt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:n,height:e}=J(t);return{width:n,height:e}},getScale:Q,isElement:z,isRTL:function(t){return"rtl"===H(t).direction}};function ut(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function st(e,r,i,l){void 0===l&&(l={});const{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=K(e),m=c||a?[...d?_(d):[],...r?_(r):[]]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i),a&&t.addEventListener("resize",i)}));const y=d&&s?function(e,r,i){let l,c=null;const a=C(e);function u(){var t;clearTimeout(l),null==(t=c)||t.disconnect(),c=null}function s(i,f){void 0===i&&(i=!1),void 0===f&&(f=1),u();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(i||r(),!h||!p)return;const w={rootMargin:-o(y)+"px "+-o(a.clientWidth-(m+h))+"px "+-o(a.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let g=!0;function x(t){const n=t[0].intersectionRatio;if(!ut(d,e.getBoundingClientRect()))return s();if(n!==f){if(!g)return s();n?s(!1,n):l=setTimeout((()=>{s(!1,1e-7)}),1e3)}g=!1}try{c=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){c=new IntersectionObserver(x,w)}c.observe(e)}const f=k(e),d=()=>s(i);return f.addEventListener("resize",d),s(!0),()=>{f.removeEventListener("resize",d),u()}}(d,i,a):null;let h,p=-1,w=null;u&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&r&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),r&&w.observe(r));let g=f?tt(e):null;return f&&function t(){const n=tt(e);g&&!ut(g,n)&&i(),g=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ft=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:s}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=a(e),s=u(e),f="y"===d(e),m=R.has(l)?-1:1,y=i&&f?-1:1,h=c(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof g&&(w="end"===s?-1*g:g),f?{x:w*y,y:p*m}:{x:p*m,y:w*y}}(n,t);return l===(null==(e=s.offset)?void 0:e.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:l}}}}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=c(t,n),y={x:e,y:o},h=await i.detectOverflow(n,m),p=d(r),w=s(p);let g=y[w],x=y[p];const v=(t,n)=>l(n+h["y"===t?"top":"left"],n,n-h["y"===t?"bottom":"right"]);a&&(g=v(w,g)),u&&(x=v(p,x));const b=f.fn({...n,[w]:g,[p]:x});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:a,[p]:u}}}}}},mt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:v,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...C}=c(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=a(r),z=d(s),D=a(s)===s,M=await(null==v.isRTL?void 0:v.isRTL(b.floating)),P=R||(D||!k?[x(s)]:function(t){const n=x(t);return[y(t),n,y(n)]}(s)),L="none"!==O;!R&&L&&P.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?p:h:n?h:p;case"left":case"right":return n?w:g;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(y)))),i}(s,k,O,M));const E=[s,...P],B=await v.detectOverflow(n,C),$=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&$.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=m(t),i=f(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=x(l)),[l,x(l)]}(r,l,M);$.push(B[t[0]],B[t[1]])}if(I=[...I,{placement:r,overflows:$}],!$.every((t=>t<=0))){var N,V;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=E[t];if(n&&("alignment"!==S||z===d(n)||I.every((t=>d(t.placement)!==z||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(V=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:V.placement;if(!e)switch(F){case"bestFit":{var j;const t=null==(j=I.filter((t=>{if(L){const n=d(t.placement);return n===z||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=s}if(r!==e)return{reset:{placement:e}}}return{}}}},yt=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:s,elements:d,middlewareData:y}=e,{element:h,padding:p=0}=c(n,e)||{};if(null==h)return{};const w=v(p),g={x:o,y:r},x=m(i),b=f(x),A=await s.getDimensions(h),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",O=S?"clientHeight":"clientWidth",k=a.reference[b]+a.reference[x]-g[x]-a.floating[b],C=g[x]-a.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let z=T?T[O]:0;z&&await(null==s.isElement?void 0:s.isElement(T))||(z=d.floating[O]||a.floating[b]);const D=k/2-C/2,M=z/2-A[b]/2-1,P=t(w[R],M),L=t(w[F],M),E=z-A[b]-L,B=z/2-A[b]/2+D,$=l(P,B,E),I=!y.arrow&&null!=u(i)&&B!==$&&a.reference[b]/2-(B<P?P:L)-A[b]/2<0,N=I?B<P?B-P:B-E:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:B-$-N,...I&&{alignmentOffset:N}},reset:I}}}),ht=(t,n,e)=>{const o=new Map,r=null!=e?e:{},i={...at,...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=l.detectOverflow?l:{...l,detectOverflow:S},a=await(null==l.isRTL?void 0:l.isRTL(n));let u=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:s,y:f}=A(u,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x:g,y:x,data:v,reset:b}=await w({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:u,platform:c,elements:{reference:t,floating:n}});s=null!=g?g:s,f=null!=x?x:f,y[p]={...y[p],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:s,y:f}=A(u,d,a))),e=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{yt as a,st as b,ht as c,mt as f,ft as o,dt as s}
|
|
1
|
+
const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"};function l(e,o,r){return n(e,t(o,r))}function c(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function f(t){return"y"===t?"height":"width"}function d(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function m(t){return s(d(t))}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const h=["left","right"],p=["right","left"],w=["top","bottom"],g=["bottom","top"];function x(t){const n=a(t);return i[n]+t.slice(n.length)}function v(t){return"number"!=typeof t?function(t){var n,e,o,r;return{top:null!=(n=t.top)?n:0,right:null!=(e=t.right)?e:0,bottom:null!=(o=t.bottom)?o:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function b(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function A(t,n,e){let{reference:o,floating:r}=t;const i=d(n),l=m(n),c=f(l),s=a(n),y="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(s){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}const x=u(n);return x&&(g[l]+=w*("end"===x?1:-1)*(e&&y?-1:1)),g}async function S(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:u}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=c(n,t),h=v(y),p=a[m?"floating"===d?"reference":"floating":d],w=b(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),A=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=b(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:u}):g);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const R=new Set(["left","top"]);function F(){return"undefined"!=typeof window}function O(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!F()&&(t instanceof Node||t instanceof k(t).Node)}function z(t){return!!F()&&(t instanceof Element||t instanceof k(t).Element)}function D(t){return!!F()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function M(t){return!(!F()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function P(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function L(t){return/^(table|td|th)$/.test(O(t))}function E(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const B=/transform|translate|scale|rotate|perspective|filter/,$=/paint|layout|strict|content/,I=t=>!!t&&"none"!==t;let N;function V(t){const n=z(t)?H(t):t;return I(n.transform)||I(n.translate)||I(n.scale)||I(n.rotate)||I(n.perspective)||!j()&&(I(n.backdropFilter)||I(n.filter))||B.test(n.willChange||"")||$.test(n.contain||"")}function j(){return null==N&&(N="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),N}function q(t){return/^(html|body|#document)$/.test(O(t))}function H(t){return k(t).getComputedStyle(t)}function W(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||M(t)&&t.host||C(t);return M(n)?n.host:n}function Y(t){const n=X(t);return q(n)?(t.ownerDocument||t).body:D(n)&&P(n)?n:Y(n)}function _(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=Y(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=k(r);if(i){const t=G(l);return n.concat(l,l.visualViewport||[],P(r)?r:[],t&&e?_(t):[])}return n.concat(r,_(r,[],e))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const n=H(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=D(t),l=i?t.offsetWidth:o,c=i?t.offsetHeight:r,a=e(o)!==l||e(r)!==c;return a&&(o=l,r=c),{width:o,height:r,$:a}}function K(t){return z(t)?t:t.contextElement}function Q(t){const n=K(t);if(!D(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:l,$:c}=J(n);let a=(c?e(o.width):o.width)/i,u=(c?e(o.height):o.height)/l;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}const U=r(0);function Z(t){const n=k(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),l=K(t);let c=r(1);n&&(o?z(o)&&(c=Q(o)):c=Q(t));const a=function(t,n,e){return void 0===n&&(n=!1),!!e&&n&&e===k(t)}(l,e,o)?Z(l):r(0);let u=(i.left+a.x)/c.x,s=(i.top+a.y)/c.y,f=i.width/c.x,d=i.height/c.y;if(l&&o){const t=k(l),n=z(o)?k(o):o;let e=t,r=G(e);for(;r&&n!==e;){const t=Q(r),n=r.getBoundingClientRect(),o=H(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;u*=t.x,s*=t.y,f*=t.x,d*=t.y,u+=i,s+=l,e=k(r),r=G(e)}}return b({width:f,height:d,x:u,y:s})}function nt(t,n){const e=W(t).scrollLeft;return n?n.left+e:tt(C(t)).left+e}function et(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-nt(t,e),y:e.top+n.scrollTop}}function ot(t,e,o){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,n,e){void 0===e&&(e="viewport");const o="layoutViewport"===e,r=k(t),i=C(t),l=r.visualViewport;let c=i.clientWidth,a=i.clientHeight,u=0,s=0;if(l){const t=!j()||"fixed"===n;o?t||(u=-l.offsetLeft,s=-l.offsetTop):(c=l.width,a=l.height,t&&(u=l.offsetLeft,s=l.offsetTop))}if(nt(i)<=0){const t=i.ownerDocument,n=t.body,e=getComputedStyle(n),o="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,r=Math.abs(i.clientWidth-n.clientWidth-o),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?r/2:r;l<=25&&(c-=l)}return{width:c,height:a,x:u,y:s}}(t,o,e);else if("document"===e)r=function(t){const e=W(t),o=t.ownerDocument.body,r=n(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=n(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===H(o).direction&&(l+=n(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}(C(t));else if(z(e))r=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=Q(t);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,o);else{const n=Z(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return b(r)}function rt(t,n,e){const o=D(n),i=C(n),l="fixed"===e,c=tt(t,!0,l,n);let a={scrollLeft:0,scrollTop:0};const u=r(0);if((o||!l)&&(("body"!==O(n)||P(i))&&(a=W(n)),o)){const t=tt(n,!0,l,n);u.x=t.x+n.clientLeft,u.y=t.y+n.clientTop}!o&&i&&(u.x=nt(i));const s=!i||o||l?r(0):et(i,a);return{x:c.left+a.scrollLeft-u.x-s.x,y:c.top+a.scrollTop-u.y-s.y,width:c.width,height:c.height}}function it(t){return"static"===H(t).position}function lt(t,n){if(!D(t)||"fixed"===H(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function ct(t,n){const e=k(t);if(E(t))return e;if(!D(t)){let n=X(t);for(;n&&!q(n);){if(z(n)&&!it(n))return n;n=X(n)}return e}let o=lt(t,n);for(;o&&L(o)&&it(o);)o=lt(o,n);return o&&q(o)&&it(o)&&!V(o)?e:o||function(t){let n=X(t);for(;D(n)&&!q(n);){if(V(n))return n;if(E(n))return null;n=X(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const l="fixed"===i,c=C(o),a=!!n&&E(n.floating);if(o===c||a&&l)return e;let u={scrollLeft:0,scrollTop:0},s=r(1);const f=r(0),d=D(o);if((d||!l)&&(("body"!==O(o)||P(c))&&(u=W(o)),d)){const t=tt(o);s=Q(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||l?r(0):et(c,u);return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-u.scrollLeft*s.x+f.x+m.x,y:e.y*s.y-u.scrollTop*s.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:l}=e;const c=[..."clippingAncestors"===r?E(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=_(t,[],!1).filter((t=>z(t)&&"body"!==O(t))),r=null;const i="fixed"===H(t).position;let l=i?X(t):t;for(;z(l)&&!q(l);){const t=H(l),n=V(l),e=r?r.position:i?"fixed":"";n||"fixed"!==e&&("absolute"!==e||"static"!==t.position)?r=t:o=o.filter((t=>t!==l)),l=X(l)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=ot(o,c[0],l);let u=a.top,s=a.right,f=a.bottom,d=a.left;for(let e=1;e<c.length;e++){const r=ot(o,c[e],l);u=n(r.top,u),s=t(r.right,s),f=t(r.bottom,f),d=n(r.left,d)}return{width:s-d,height:f-u,x:d,y:u}},getOffsetParent:ct,getElementRects:async function(t){const n=this.getOffsetParent||ct,e=this.getDimensions,o=await e(t.floating);return{reference:rt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:n,height:e}=J(t);return{width:n,height:e}},getScale:Q,isElement:z,isRTL:function(t){return"rtl"===H(t).direction}};function ut(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function st(e,r,i,l){void 0===l&&(l={});const{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=K(e),m=c||a?[...d?_(d):[],...r?_(r):[]]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i),a&&t.addEventListener("resize",i)}));const y=d&&s?function(e,r,i){let l,c=null;const a=C(e);function u(){var t;clearTimeout(l),null==(t=c)||t.disconnect(),c=null}function s(i,f){void 0===i&&(i=!1),void 0===f&&(f=1),u();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(i||r(),!h||!p)return;const w={rootMargin:-o(y)+"px "+-o(a.clientWidth-(m+h))+"px "+-o(a.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let g=!0;function x(t){const n=t[0].intersectionRatio;if(!ut(d,e.getBoundingClientRect()))return s();if(n!==f){if(!g)return s();n?s(!1,n):l=setTimeout((()=>{s(!1,1e-7)}),1e3)}g=!1}try{c=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){c=new IntersectionObserver(x,w)}c.observe(e)}const f=k(e),d=()=>s(i);return f.addEventListener("resize",d),s(!0),()=>{f.removeEventListener("resize",d),u()}}(d,i,a):null;let h,p=-1,w=null;u&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&r&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),r&&w.observe(r));let g=f?tt(e):null;return f&&function t(){const n=tt(e);g&&!ut(g,n)&&i(),g=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ft=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:s}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=a(e),s=u(e),f="y"===d(e),m=R.has(l)?-1:1,y=i&&f?-1:1,h=c(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof g&&(w="end"===s?-1*g:g),f?{x:w*y,y:p*m}:{x:p*m,y:w*y}}(n,t);return l===(null==(e=s.offset)?void 0:e.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:l}}}}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=c(t,n),y={x:e,y:o},h=await i.detectOverflow(n,m),p=d(r),w=s(p);let g=y[w],x=y[p];const v=(t,n)=>l(n+h["y"===t?"top":"left"],n,n-h["y"===t?"bottom":"right"]);a&&(g=v(w,g)),u&&(x=v(p,x));const b=f.fn({...n,[w]:g,[p]:x});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:a,[p]:u}}}}}},mt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:v,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...C}=c(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=a(r),z=d(s),D=a(s)===s,M=await(null==v.isRTL?void 0:v.isRTL(b.floating)),P=R||(D||!k?[x(s)]:function(t){const n=x(t);return[y(t),n,y(n)]}(s)),L="none"!==O;!R&&L&&P.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?p:h:n?h:p;case"left":case"right":return n?w:g;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(y)))),i}(s,k,O,M));const E=[s,...P],B=await v.detectOverflow(n,C),$=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&$.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=m(t),i=f(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=x(l)),[l,x(l)]}(r,l,M);$.push(B[t[0]],B[t[1]])}if(I=[...I,{placement:r,overflows:$}],!$.every((t=>t<=0))){var N,V;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=E[t];if(n&&("alignment"!==S||z===d(n)||I.every((t=>d(t.placement)!==z||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(V=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:V.placement;if(!e)switch(F){case"bestFit":{var j;const t=null==(j=I.filter((t=>{if(L){const n=d(t.placement);return n===z||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=s}if(r!==e)return{reset:{placement:e}}}return{}}}},yt=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:s,elements:d,middlewareData:y}=e,{element:h,padding:p=0}=c(n,e)||{};if(null==h)return{};const w=v(p),g={x:o,y:r},x=m(i),b=f(x),A=await s.getDimensions(h),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",O=S?"clientHeight":"clientWidth",k=a.reference[b]+a.reference[x]-g[x]-a.floating[b],C=g[x]-a.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let z=T?T[O]:0;z&&await(null==s.isElement?void 0:s.isElement(T))||(z=d.floating[O]||a.floating[b]);const D=k/2-C/2,M=z/2-A[b]/2-1,P=t(w[R],M),L=t(w[F],M),E=z-A[b]-L,B=z/2-A[b]/2+D,$=l(P,B,E),I=!y.arrow&&null!=u(i)&&B!==$&&a.reference[b]/2-(B<P?P:L)-A[b]/2<0,N=I?B<P?B-P:B-E:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:B-$-N,...I&&{alignmentOffset:N}},reset:I}}}),ht=(t,n,e)=>{const o=new Map,r=null!=e?e:{},i={...at,...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=l.detectOverflow?l:{...l,detectOverflow:S},a=await(null==l.isRTL?void 0:l.isRTL(n));let u=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:s,y:f}=A(u,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x:g,y:x,data:v,reset:b}=await w({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:u,platform:c,elements:{reference:t,floating:n}});s=null!=g?g:s,f=null!=x?x:f,y[p]={...y[p],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:s,y:f}=A(u,d,a))),e=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{yt as a,st as b,ht as c,mt as f,ft as o,at as p,dt as s}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const t="magma-components",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!0,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!0,hydratedClass:!1,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!0,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",l="value",i="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?t[o]=n.l.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,l:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=new Map,j=(t,n,o)=>{var s;const r=t.C.replace(/-/g,"_"),l=t._;if(e.isDev&&"string"!=typeof l)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.T}", but it does not exist.`);if(!l)return;const i=!e.hotModuleReplacement&&w.get(l);if(i)return i[r];const c=null!=(s=S.get(l))?s:0,a=[c>0?"s-retry="+c:"",e.hotModuleReplacement&&o?"s-hmr="+o:""].filter(Boolean).join("&");
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
3
|
+
return import(`./${l}.entry.js${a?"?"+a:""}`).then((t=>(e.hotModuleReplacement||(S.delete(l),w.set(l,t)),t[r])),(t=>{S.set(l,c+1),v(t,n.$hostElement$)}))},O=new Map,x=[],C="s-id",E="sty-id",_="c-id",T="_stencilDocData",N={hostIds:0,rootLevelIds:0,staticComponents:new Set},k="slot-fb{display:contents}slot-fb[hidden]{display:none}",L="http://www.w3.org/1999/xlink",R=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],M="undefined"!=typeof window?window:{},A=M.HTMLElement||class{},D={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},I=e.shadowDom,H=t=>Promise.resolve(t),P=!!e.constructableCSS&&(()=>{try{return!!M.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!P&&(()=>!!M.document&&Object.getOwnPropertyDescriptor(M.document.adoptedStyleSheets,"length").writable)(),U=0,B=!1,z=[],V=[],W=[],Y=()=>{var t;return(null==(t=M.document)?void 0:t.hidden)?setTimeout(K,16):D.raf(K)},J=(t,e)=>n=>{t.push(n),B||(B=!0,e&&4&D.u?Q(K):Y())},X=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},q=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},K=()=>{if(e.asyncQueue&&U++,X(z),e.asyncQueue){const t=2==(6&D.u)?performance.now()+14*Math.ceil(.1*U):1/0;q(V,t),q(W,t),V.length>0&&(W.push(...V),V.length=0),(B=z.length+V.length+W.length>0)?Y():U=0}else X(V),(B=z.length>0)&&Y()},Q=t=>H().then(t),G=J(z,!1),Z=J(V,!0);function tt(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var et=t=>{const e=Mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&ot(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!st(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Mt(t,"childNodes").length&&et(t)}},nt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function ot(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;if(r=[...r,...ot(Mt(o,"childNodes"),e,n)],void 0!==n&&r.length)return r}return r}var st=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},rt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,lt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Mt(l,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Mt(l,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function ct(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:nt(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function at(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:ot(Mt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ft=t=>{dt(t),ht(t),vt(t),mt(t),yt(t),gt(t),$t(t),bt(t),wt(t),St(t),Ot(t),pt(t)},dt=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&I,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;o<l.length;o++)t=l[o]["s-nr"],n=r.every((t=>!l[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(l[o].cloneNode(!0))}return s}},ht=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ut(t,this);if(n){lt(t,n);const o=st(n,e),s=o[o.length-1],r=o.every((t=>t["s-sr"])),l=Mt(s,"parentNode"),i=Mt(l,"insertBefore")(t,s.nextSibling);return at(n),r&&et(this),i}return this.__appendChild(t)})},pt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&ot(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])[0]&&t.isConnected?(t.remove(),void et(this)):this.__removeChild(t)})},mt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=ot(Mt(this,"childNodes"),this.tagName,n)[0];if(o){lt(e,o,!0);const t=st(o,n)[0],s=Mt(t,"parentNode"),r=Mt(s,"insertBefore")(e,Mt(t,"nextSibling"));return at(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},vt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},gt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},$t=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},bt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ut(t,this);if(o){if(null===e)return this.appendChild(t),t;if((this.__childNodes?this.childNodes:nt(this.childNodes)).includes(e)){if(n!==e["s-sn"])this.appendChild(t);else{lt(t,o);const n=Mt(e,"parentNode");Mt(n,"insertBefore")(t,e),at(o)}return t}}const s=null==e?void 0:e.__parentNode;return s&&!this.isSameNode(s)?this.appendChild(t):this.__insertBefore(t,e)})},yt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},wt=t=>{Rt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){jt(this),this.insertAdjacentHTML("beforeend",t)}})},St=t=>{if(!globalThis.HTMLElement)return;const e=(e,n,o)=>{var s;const r=null==(s=Object.getOwnPropertyDescriptor(e,n))?void 0:s.get;r&&Object.defineProperty(t,n,{get:r,set:function(t){jt(this),Array.from(Mt(this,"childNodes")).forEach((t=>{t["s-cn"]||t["s-nr"]||t["s-hn"]===this.tagName||t.remove()})),o(this,null!=t?t:"")}})};e(Element.prototype,"innerHTML",((t,e)=>t.insertAdjacentHTML("beforeend",e))),e(HTMLElement.prototype,"innerText",((t,e)=>t.append(e)))},jt=t=>{(t.__childNodes?t.childNodes:nt(t.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()}))},Ot=t=>{class e extends Array{item(t){return this[t]}}Rt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Rt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Rt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Rt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...nt(this.__childNodes)),t}})},xt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(Ct(t),_t(t),Nt(t),t.nodeType===Node.ELEMENT_NODE&&(Et(t),Tt(t)))},Ct=t=>{t&&!t.__nextSibling&&(Rt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextSibling}}))},Et=t=>{t&&!t.__nextElementSibling&&(Rt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextElementSibling}}))},_t=t=>{t&&!t.__previousSibling&&(Rt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousSibling}}))},Tt=t=>{t&&!t.__previousElementSibling&&(Rt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousElementSibling}}))},Nt=t=>{t&&!t.__parentNode&&(Rt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},kt=["children","nextElementSibling","previousElementSibling"],Lt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Rt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;kt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Lt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Mt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var At=0,Dt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${At++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function It(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Ht=new WeakMap,Pt=(t,e,n)=>{let o=O.get(t);P&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,O.set(t,o)},Ft=(t,n,o)=>{var s,r,l;const i=Bt(n,o),c=O.get(i);if(!e.attachStyles||!M.document)return i;if(t=11===t.nodeType?t:M.document,c)if("string"==typeof c){let o,l=Ht.get(t=t.head||t);l||Ht.set(t,l=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${E}="${i}"]`);if(a)e.hotModuleReplacement&&(a.textContent=c),l.add(i);else if(!l.has(i)){o=M.document.createElement("style"),o.textContent=c;const a=null!=(s=D.k)?s:It(M.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&o.setAttribute(E,i),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(P){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=k),l&&l.add(i)}}else if(e.constructableCSS){let n=Ht.get(t);if(n||Ht.set(t,n=new Set),!n.has(i)){const o=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(i),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${E}="${i}"]`);e&&Z((()=>e.remove()))}}}return i},Ut=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Dt("attachStyles",n.C),l=Ft(e.shadowDom&&I&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.T);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=l,o.classList.add(l+"-h")),r()},Bt=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),zt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Vt=t=>{if(!M.document)return;const n=M.document.querySelectorAll(`[${E}]`);let o=0;for(;o<n.length;o++){const s=n[o].getAttribute(E);t.some((t=>{const n="sc-"+t.C;return 1&t.u&&(s===n||e.mode&&32&t.u&&s.startsWith(n+"-"))}))&&Pt(s,zt(n[o].innerHTML),!0)}},Wt=t=>"object"==(t=typeof t)||"function"===t,Yt=(t,n,...o)=>{"string"==typeof t&&(t=lo(t));let s=null,r=null,l=null,i=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)if(s=n[o],Array.isArray(s))u(s);else if(null!=s&&"boolean"!=typeof s){if(i="function"!=typeof t&&!Wt(s))s+="";else if("function"!=typeof t&&void 0===s.u){e.isDev?$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."):v("Invalid vNode child");continue}i&&c?a[a.length-1].L+=s:a.push(i?Jt(null,s):s),c=i}};if(u(o),n&&(e.isDev&&"input"===t&&Zt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(l=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(qt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Kt);const f=Jt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=l),f},Jt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Xt={},qt=t=>t&&t.I===Xt,Kt={forEach:(t,e)=>t.map(Qt).forEach(e),map:(t,e)=>t.map(Qt).map(e).map(Gt)},Qt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Gt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Yt(t.vtag,e,...t.vchildren||[])}const e=Jt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Zt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),l=e.indexOf("step");(n<o||n<s||n<r||n<l)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},te=(t,n,o,s,r,l,i,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===l.nodeType){if(a=l.getAttribute(_),a&&l!==r&&(u=a.split("."),u[0]===i||"0"===u[0])){f=ne({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:l.tagName.toLowerCase(),P:l,R:{class:l.className||""}}),n.push(f),l.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===i&&(l["s-si"]=h,f.R.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(oe(r,u[2],f,l,t,n,o,s,c),e.scoped&&h&&l.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}if(l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(t,n,o,s,r,l.shadowRoot.childNodes[d],i,c);const p=l.__childNodes||l.childNodes;for(d=p.length-1;d>=0;d--)te(t,n,o,s,r,p[d],i,c)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(a=u[0],f=ne({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:l,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.P=re(l,3),f.P&&3===f.P.nodeType&&(f.L=f.P.textContent,n.push(f),l.remove(),i===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=re(l,8),f.P&&8===f.P.nodeType&&(n.push(f),l.remove())):f.F===i&&("s"===a?oe(l["s-sn"]=u[5]||"",u[2],f,l,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?l.remove():e.slotRelocation&&(r["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Jt(null,l.textContent);e.P=l,e.V="0",t.M=[e]}return t},ee=(t,e)=>{if(1===t.nodeType){const n=t[C]||t.getAttribute(C);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)ee(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)ee(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},ne=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function oe(t,n,o,s,r,l,i,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&M.document){const e=o.P=M.document.createElement(o.I);o.D&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Mt(r.P,"insertBefore")(e,Mt(r.P,"children")[0]):Mt(Mt(s,"parentNode"),"insertBefore")(e,s),se(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,l=u&&u!==o.F&&r.P.shadowRoot;se(a,n,t,s,l?u:o.F),ct(s),l&&r.P.insertBefore(e,r.P.children[0])}l.push(o),i.push(o),r.M||(r.M=[]),r.M[o.V]=o}var se=(t,e,n,o,s)=>{var r,l;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(l=i.nodeValue)?void 0:l.startsWith("s.")))},re=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},le=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ie="-shadowcsshost",ce="-shadowcssslotted",ae="-shadowcsscontext",ue=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",fe=RegExp("("+ie+ue,"gim"),de=RegExp("("+ae+ue,"gim"),he=RegExp("("+ce+ue,"gim"),pe=ie+"-no-combinator",me=/-shadowcsshost-no-combinator([^\s]*)/,ve=[/::shadow/g,/::content/g],ge=/__part-(\d+)__/g,$e=/-shadowcsshost/gim,be=t=>{const e=le(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},ye=/\/\*\s*[\s\S]*?\*\//g,we=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,Se=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,je=/([{}])/g,Oe=/(^.*?[^\\])??((:+)(.*)|$)/,xe="%BLOCK%",Ce=(t,e)=>{const n=Ee(t);let o=0;return n.escapedString.replace(Se,((...t)=>{const s=t[2];let r="",l=t[4],i="";l&&l.startsWith("{"+xe)&&(r=n.blocks[o++],l=l.substring(8),i="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${i}${c.content}${l}`}))},Ee=t=>{const e=t.split(je),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const l=e[t];"}"===l&&s--,s>0?r.push(l):(r.length>0&&(o.push(r.join("")),n.push(xe),r=[]),n.push(l)),"{"===l&&s++}return r.length>0&&(o.push(r.join("")),n.push(xe)),{escapedString:n.join(""),blocks:o}},_e=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(pe,r,t[3]))}return o.join(",")}return pe+t[3]})),Te=(t,e,n)=>t+e.replace(ie,"")+n,Ne=(t,e,n)=>e.indexOf(ie)>-1?Te(t,e,n):t+e+n+", "+e+" "+t+n,ke=(t,e)=>t.replace(Oe,((t,n="",o,s="",r="")=>n+e+s+r)),Le=t=>t.startsWith("@media")||t.startsWith("@supports")||t.startsWith("@page")||t.startsWith("@document")||t.startsWith("@layer")||t.startsWith("@container"),Re=(t,e,n,o)=>Ce(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(pe)>-1)s=((t,e,n)=>{if($e.lastIndex=0,$e.test(t)){const e="."+n;return t.replace(me,((t,n)=>ke(n,e))).replace($e,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace($e,"");e.length>0&&(s=ke(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let l,i="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(pe)>-1);for(;null!==(l=a.exec(t));){const e=l[1],n=t.slice(c,l.index).trim();u=u||n.indexOf(pe)>-1,i+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(ge)&&(u||f.indexOf(pe)>-1),i+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,i)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):Le(t.selector)&&(r=Re(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Me=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Ae=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(we)||[])(t);t=(t=>t.replace(ye,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t},n=t=>Ce(t,(t=>"@"!==t.selector[0]?e(t):(Le(t.selector)&&(t.content=n(t.content)),t)));t=n(t)}const l=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(he,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const l=(r+s).trim(),i=`${r.trimEnd()}${s.trim()}`.trim();return l!==i&&o.push({orgSelector:l,updatedSelector:`${i}, ${l}`}),s}return pe+t[3]})),{selectors:o,cssText:t}})(t=(t=>_e(t,de,Ne))(t=(t=>_e(t,fe,Te))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=be("::slotted"),o=be(":host"),s=be(":host-context");return t=t.replace(s,"$1"+ae).replace(o,"$1"+ie).replace(n,"$1"+ce),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>ve.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Re(t,e,n,o)),{cssText:(t=(t=Me(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Me(t.orgSelector,n),updatedSelector:Me(t.updatedSelector,n)})))}})(t,e,n,o);return t=[l.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),l.slottedSelectors.forEach((e=>{const n=RegExp(le(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Ce(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),l=s[3]||"",i=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${i}${l}`;i&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},De=t=>x.map((e=>e(t))).find((t=>!!t)),Ie=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},He=class t{static fromLocalValue(e){const n=e[r],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:l}=o;return RegExp(r,l);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};var Pe,Fe,Ue,Be=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?He.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||Wt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,ze=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Ve=(t,n,o)=>{const s=ze(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),We(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},We=(t,e,n)=>{const o=D.ce(e,n);return t.dispatchEvent(o),o},Ye=(t,n,o,s,r,l,i)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Qe(o);let c=Qe(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];c.push(e),r.forEach((t=>{t.startsWith(e)&&c.push(t)})),c=[...new Set(c)].filter((t=>t)),n.add(...c)}else{let o=r.filter((t=>t&&!c.includes(t)));if(e.hydrateClientSide&&i&&!(4&l)){const e=Ke(t);o=o.filter((t=>!e.includes(t)))}n.remove(...o),n.add(...c.filter((t=>t&&!r.includes(t))))}}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&yn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const i=Wt(s);if((c||i&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&l&&!Xe(n))&&(e.vdomXlink&&u?t.removeAttributeNS(L,n):t.removeAttribute(n)):(!c||4&l||r)&&!i&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(L,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(M,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Ge);n=n.replace(Ze,""),o&&D.rel(t,n,o,e),s&&D.ael(t,n,s,e)}},Je=new Set(["draggable","contenteditable","spellcheck"]),Xe=t=>Je.has(t)||t.startsWith("aria-"),qe=/\s/,Ke=t=>{var n,o,s;const r=d(t);if(!(r&&2&r.u))return[];const l=Qe(null==(o=null==(n=r.W)?void 0:n.R)?void 0:o.class);return e.hydratedClass&&l.push(null!=(s=e.hydratedSelectorName)?s:"hydrated"),l},Qe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(qe):[]),Ge="Capture",Ze=RegExp(Ge+"$"),tn=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,l=t&&t.R||{},i=n.R||{};if(e.updatable)for(const t of en(Object.keys(l)))t in i||Ye(r,t,l[t],void 0,o,n.u,s);for(const t of en(Object.keys(i)))Ye(r,t,l[t],i[t],o,n.u,s)};function en(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var nn=!1,on=!1,sn=!1,rn=!1,ln=[],cn=[],an=(t,n,o)=>{var s;const r=n.M[o];let l,i,c,a=0;if(e.slotRelocation&&!nn&&(sn=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)l=r.P=M.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)l=r.P=e.isDebug||e.hydrateServerSide?On(r):M.document.createTextNode(""),e.vdomAttribute&&tn(null,r,rn);else{if(e.svg&&!rn&&(rn="svg"===r.I),!M.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=r.P=e.svg?M.document.createElementNS(rn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!nn&&e.slotRelocation&&2&r.u?"slot-fb":r.I):M.document.createElement(!nn&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&rn&&"foreignObject"===r.I&&(rn=!1),e.vdomAttribute&&tn(null,r,rn),(e.scoped||e.hydrateServerSide)&&null!=Pe&&void 0!==Pe&&l["s-si"]!==Pe&&l.classList.add(l["s-si"]=Pe),r.M){const e="template"===r.I?l.content:l;for(a=0;a<r.M.length;++a)i=an(t,r,a),i&&e.appendChild(i)}e.svg&&("svg"===r.I?rn=!1:"foreignObject"===l.tagName&&(rn=!0))}return l["s-hn"]=Ue,e.slotRelocation&&3&r.u&&(l["s-sr"]=!0,l["s-cr"]=Fe,l["s-sn"]=r.D||"",l["s-rf"]=null==(s=r.R)?void 0:s.ref,ct(l),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&un(t.P),(e.scoped||e.hydrateServerSide)&&Sn(Fe,l,n.P,null==t?void 0:t.P)),l},un=t=>{D.u|=1;const e=t.closest(Ue.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(wn(e,t,null!=n?n:null),t["s-sh"]=void 0,sn=!0)}D.u&=-2},fn=(t,e)=>{D.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ue&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ue&&o["s-ol"]&&(wn(mn(o).parentNode,o,mn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,sn=!0),e&&fn(o,e)}D.u&=-2},dn=(t,n,o,s,r,l)=>{let i,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ue&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=l;++r)s[r]&&(i=an(null,o,r),i&&(s[r].P=i,wn(c,i,e.slotRelocation?mn(n):n)))},hn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;bn(n),t&&(e.slotRelocation&&(on=!0,t["s-ol"]?t["s-ol"].remove():fn(t,!0)),t.remove())}}},pn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),mn=t=>t&&t["s-ol"]||t,vn=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,l=n.M,i=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(rn="svg"===i||"foreignObject"!==i&&rn),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===i&&!nn&&t.D!==n.D&&(n.P["s-sn"]=n.D||"",un(n.P.parentElement)),tn(t,n,rn,o)),e.updatable&&null!==r&&null!==l?((t,n,o,s,r=!1)=>{let l,i,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(pn(h,v,r))vn(h,v,r),h=n[++c],v=s[++a];else if(pn(p,g,r))vn(p,g,r),p=n[--d],g=s[--m];else if(pn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||fn(h.P.parentNode,!1),vn(h,g,r),wn($,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(pn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||fn(p.P.parentNode,!1),vn(p,v,r),wn($,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(i=n[u],i.I!==v.I?l=an(n&&n[a],o,a):(vn(i,v,r),n[u]=void 0,l=i.P),v=s[++a]):(l=an(n&&n[a],o,a),v=s[++a]),l&&(e.slotRelocation?wn(mn(h.P).parentNode,l,mn(h.P)):wn(h.P.parentNode,l,h.P))}c>d?dn(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&hn(n,c,d)})(s,r,n,l,o):null!==l?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),dn(s,null,n,l,0,l.length-1)):!o&&e.updatable&&null!==r?hn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===l&&(n.M=r),e.svg&&rn&&"svg"===i&&(rn=!1))},gn=[],$n=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==t["s-hn"]||""!==s&&it(e)===s))if(rt(e,s)){let n=gn.find((t=>t.Y===e));on=!0,e["s-sn"]=e["s-sn"]||s,n?(n.Y["s-sh"]=t["s-hn"],n.J=t):(e["s-sh"]=t["s-hn"],gn.push({J:t,Y:e})),e["s-sr"]&&gn.map((t=>{rt(t.Y,e["s-sn"])&&(n=gn.find((t=>t.Y===e)),n&&!t.J&&(t.J=n.J))}))}else gn.some((t=>t.Y===e))||gn.push({Y:e})}1===t.nodeType&&$n(t)}},bn=t=>{e.vdomRef&&(t.R&&t.R.ref&&ln.push((()=>t.R.ref(null))),t.M&&t.M.map(bn))},yn=(t,n)=>{e.vdomRef&&cn.push((()=>t(n)))},wn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Sn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Nt(n),t.insertBefore(n,o);const{slotNode:r}=ut(n);return r&&!s&&at(r),n}return e.slotRelocation&&(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function Sn(t,e,n,o){var s,r;let l;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(l=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(s=n.classList)||s.add(l+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(l+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(l+"-s")}}}var jn=(t,n,o=!1)=>{var s,r,l,i,c;const a=t.$hostElement$,u=t.o,f=t.W||Jt(null,null),d=qt(n)?n:Yt(null,null,n);if(Ue=a.tagName,e.isDev&&Array.isArray(n)&&n.some(qt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ue.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.W=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Pe=a["s-sc"]),nn=I&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Fe=a["s-cr"],on=!1),vn(f,d,o),e.slotRelocation){if(D.u|=1,sn){$n(d.P);for(const t of gn){const n=t.Y;if(!n["s-ol"]&&M.document){const t=e.isDebug||e.hydrateServerSide?xn(n):M.document.createTextNode("");t["s-nr"]=n,wn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of gn){const n=t.Y,c=t.J;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(l=e["s-nr"])?l:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(wn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=M.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,wn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}on&&et(d.P),D.u&=-2,gn.length=0}if(e.slotRelocation&&!nn&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==Ue&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=M.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],wn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Fe=void 0,e.vdomRef&&(ln.forEach((t=>t())),ln.length=0,cn.forEach((t=>t())),cn.length=0)},On=t=>{var e;return null==(e=M.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${Ue.toLowerCase()})`)},xn=t=>{var e;return null==(e=M.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},Cn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},En=(t,n)=>{if(e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);Cn(t,t.K);const o=()=>_n(t,n);if(!n)return e.taskQueue?Z(o):o();queueMicrotask((()=>{o()}))},_n=(t,n)=>{const o=t.$hostElement$,s=Dt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.i:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,In(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>In(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),Hn(o,"componentWillLoad"),l=In(r,"componentWillLoad",void 0,o)):(Hn(o,"componentWillUpdate"),l=In(r,"componentWillUpdate",void 0,o)),Hn(o,"componentWillRender"),l=Tn(l,(()=>In(r,"componentWillRender",void 0,o))),s(),Tn(l,(()=>kn(t,r,n)))},Tn=(t,e)=>Nn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Nn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,kn=async(t,n,o)=>{var s;const r=t.$hostElement$,l=Dt("update",t.o.C),i=r["s-rc"];e.style&&o&&Ut(t);const c=Dt("render",t.o.C);if(e.isDev&&(t.u|=2048),e.hydrateServerSide?await Rn(t,n,r,o):Rn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-2049),e.hydrateServerSide)try{Fn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&i&&(i.map((t=>t())),r["s-rc"]=void 0),c(),l(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>Mn(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else Mn(t)},Ln=null,Rn=(t,n,o,s)=>{const r=!!e.allRenderFn,l=!!e.lazyLoad,i=!!e.updatable;try{if(Ln=n,n=(r||n.render)&&n.render(),i&&(t.u&=-17),(i||l)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>jn(t,e,s)));jn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return Ln=null,null},Mn=t=>{const n=t.o.C,o=t.$hostElement$,s=Dt("postUpdate",n),r=e.lazyLoad?t.i:o,l=t.K;e.isDev&&(t.u|=2048),In(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-2049),Hn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=2048),In(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-2049),Hn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Pn(o),e.isDev&&(t.u|=4096),In(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-4097),Hn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),l||Dn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&Q((()=>En(t,!1))),t.u&=-517)},An=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&En(e,!1),n}return!1},Dn=n=>{var o;e.asyncQueue&&(D.u|=2),Q((()=>We(M,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=D.tt)?void 0:o.size)&&D.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},In=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},Hn=(n,o)=>{e.lifecycleDOMEvents&&We(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Pn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Fn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Fn(n)}},Un=(t,e)=>d(t).l.get(e),Bn=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const l=e.lazyLoad?r.$hostElement$:t,i=r.l.get(n),c=r.u,a=e.lazyLoad?r.i:l;if(o=Be(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o))){if(r.l.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.i)}))}if(e.isDev&&(2048&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",l,"\nNew value",o,"\nOld value",i):4096&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",l,"\nNew value",o,"\nOld value",i)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,i,n):r.O.push((()=>{r.i[e](o,i,n)})))}catch(t){v(t,l)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,i,n)&&!(16&c))return;16&c||En(r,!1)}}},zn=(t,n,o)=>{var s,r;const l=t.prototype;if(e.isTesting){if(l.__stencilAugmented)return;l.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&R.forEach((t=>{const n=l[t];Object.defineProperty(l,t,{value(...o){var s;const r=d(this),l=e.lazyLoad?null==r?void 0:r.i:this;if(l){const s=e.lazyLoad?l[t]:n;"function"==typeof s&&s.call(l,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Ie(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const i=Object.entries(null!=(s=n.t)?s:{});if(i.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:i}=c(l,t)||{};r&&(n.t[t][0]|=2048),i&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(l,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Un(this,t);const e=d(this);return e?e.i?e.i[t]:Un(this,t):l[t]}if(!e.lazyLoad)return r?r.apply(this):Un(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(r){const l=d(this);if(l){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(l&&8&l.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),i)return void 0===(32&s?this[t]:l.$hostElement$[t])&&l.l.get(t)&&(r=l.l.get(t)),i.call(this,Be(r,s,e.formAssociated&&!!(64&n.u))),void Bn(this,t,r=32&s?this[t]:l.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return void Bn(this,t,r,n);const i=Be(r,s,e.formAssociated&&!!(64&n.u));if(l.i){const e=l.i[t];!l.l.get(t)&&e&&l.l.set(t,e),l.i[t]=i,Bn(this,t,l.i[t],n)}else l.l.set(t,i)}}else Bn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(l,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.i)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;l.attributeChangedCallback=function(t,s,r){D.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.i?t(n,u.i):u.O.push((()=>{t(n,u.i)})):t(n,this)}return}if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const l=e.lazyLoad?u.i:e.lazyLoad?u.$hostElement$:this,i=null==(c=n.nt)?void 0:c[t];null==i||i.forEach((e=>{const[[n,i]]=Object.entries(e);null!=(null==l?void 0:l[n])&&(128&o||1&i)&&l[n].call(l,r,s,t)}))}return}const f=i.find((([t])=>t===a)),h=f?f[1][0]:0,p=4&h;if(e.reflect&&512&h&&8&h&&!Wt(this[a])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[a])===r)return;const m=p&&null===r&&void 0===this[a];p&&(r=!(null===r||"false"===r&&!(e.formAssociated&&64&n.u)));const v=Object.getOwnPropertyDescriptor(l,a);m||r===this[a]||null==r&&null==this[a]||v.get&&!v.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...i.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const l=s[1]||t;return o.set(l,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,l])),l}))]))}}return t},Vn=async(t,n,o,s)=>{var r;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.lazyLoad&&o._){const i=j(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.T}`,`[Stencil] Load module for <${o.C}>`);l=await i,t()}else l=i;if(!l)throw n.u&=-33,n.st=(null!=(r=n.st)?r:0)+1,n.st<3&&(n.u|=1024),Error(`Constructor for "${o.C}#${n.T}" was not found`);e.member&&!l.isProxied&&(e.propChangeCallback&&(o.nt=Ie(l.watchers),o.et=l.serializers,o.ot=l.deserializers),zn(l,o,2),l.isProxied=!0);const c=Dt("createInstance",o.C);e.member&&(n.u|=8);try{new l(n)}catch(e){v(e,t)}e.member&&(n.u&=-9,((t,e)=>{var n;const o=t.i;if(o)for(const[s,[r]]of Object.entries(null!=(n=e.t)?n:{}))if(4096&r&&t.l.has(s)){const e=t.l.get(s);o[s]!==e&&(o[s]=e)}})(n,o)),e.propChangeCallback&&(n.u|=128),c(),e.slotRelocation&&4&o.u?n.G=!0:Wn(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&l&&l.style){let r;"string"==typeof l.style?r=l.style:e.mode&&"string"!=typeof l.style&&(n.T=De(t),n.T&&(r=l.style[n.T]),e.hydrateServerSide&&n.T&&t.setAttribute("s-mode",n.T));const i=Bt(o,n.T);if(!O.has(i)||e.hotModuleReplacement&&s){const t=Dt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(r=Ae(r,i)),Pt(i,r,!!(1&o.u)),t()}}}const i=n.K,c=()=>En(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(c):c()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),!e.asyncLoading||!n.j||1024&n.u||n.j(t)}},Wn=(t,n)=>{e.lazyLoad&&In(t,"connectedCallback",void 0,n)},Yn=t=>{if(!(1&D.u)){const n=d(t);if(!n)return;const o=n.o,s=Dt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Gn(t,n,o.rt,!0),1&n.u)Gn(t,n,o.rt,!1),(null==n?void 0:n.i)?Wn(n.i,t):1024&n.u?setTimeout((()=>Vn(t,n,o)),1e3):(null==n?void 0:n.S)&&n.S.then((()=>Wn(n.i,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(C),s)){if(e.shadowDom&&I&&1&o.u){const n=e.mode?Ft(t.shadowRoot,o,t.getAttribute("s-mode")):Ft(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Bt(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,l,i,c;const a=Dt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Jt(n,null);let g;if(v.P=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!M.document||D.tt&&D.tt.size||ee(M.document.body,D.tt=new Map),t[C]=o,t.removeAttribute(C),s.W=te(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.F+"."+y.U,s=D.tt.get(o),l=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=d(y.P);if(t){const n=Bt(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=M.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else l["s-hn"]=lo(n).toUpperCase(),"slot"===y.I&&(l["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(l,s.nextSibling),s.parentNode.removeChild(s),u||(l["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&D.tt.delete(o)}const w=[],S=p.length;let j,O,x,E,_=0,T=0;for(;_<S;_++)if(j=p[_],j&&j.length)for(x=j.length,O=0;O<x;O++){if(E=j[O],w[E.hostId]||(w[E.hostId]=D.tt.get(E.hostId)),!w[E.hostId])continue;const t=w[E.hostId];t.shadowRoot&&E.node.parentElement!==t&&t.insertBefore(E.node,null==(i=null==(l=j[O-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&u||(E.slot["s-cr"]||(E.slot["s-cr"]=t["s-cr"],E.slot["s-cr"]=!E.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),lt(E.node,E.slot,!1,E.node["s-oo"]||T),(null==(c=E.node.parentElement)?void 0:c.shadowRoot)&&E.node.getAttribute&&E.node.getAttribute("slot")&&E.node.removeAttribute("slot"),e.experimentalSlotFixes&&xt(E.node)),T=(E.node["s-oo"]||T)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.P.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Jn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Cn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?Q((()=>Vn(t,n,o))):Vn(t,n,o)}s()}},Jn=t=>{if(!M.document)return;const n=t["s-cr"]=M.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,wn(t,n,t.firstChild)},Xn=(t,n)=>{e.lazyLoad&&In(t,"disconnectedCallback",void 0,n||t)},qn=async t=>{if(!(1&D.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.lt)&&(n.lt.map((t=>t())),n.lt=void 0),e.lazyLoad?(null==n?void 0:n.i)?Xn(n.i,t):(null==n?void 0:n.S)&&n.S.then((()=>Xn(n.i,t))):Xn(t)}Ht.has(t)&&Ht.delete(t),t.shadowRoot&&Ht.has(t.shadowRoot)&&Ht.delete(t.shadowRoot)},Kn=(t,n)=>{e.profile&&performance.mark&&0===performance.getEntriesByName("st:app:start","mark").length&&performance.mark("st:app:start");const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.rt=n[3]),e.propChangeCallback&&(o.nt=Ie(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!I&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ft(t.prototype):(e.slotChildNodesFix&&Ot(t.prototype),e.cloneNodeFix&&dt(t.prototype),e.appendChildSlotFix&&ht(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&wt(t.prototype)):e.cloneNodeFix&&dt(t.prototype),e.hydrateClientSide&&e.shadowDom&&Vt([o]);const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Gn(this,t,o.rt,!1),this.__hasHostListenerAttached=!0}Yn(this),s&&s.call(this)},disconnectedCallback(){qn(this),r&&r.call(this)},__attachShadow(){if(I)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),zn(t,o,3)}catch(e){return v(e),t}},Qn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=M.stencil=M.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.l,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.i,vnode:e.W,modeName:e.T,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.lt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!M.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Dt("bootstrapLazy"),r=[],l=n.exclude||[],i=M.customElements,c=M.document.head,a=c.querySelector("meta[charset]"),u=M.document.createElement("style"),f=[];let h,m=!0;if(Object.assign(D,n),D.N=new URL(n.resourcesUrl||"./",M.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(D.u|=4),e.hydrateClientSide&&(D.u|=2),e.hydrateClientSide&&e.shadowDom){const e=[];t.map((t=>t[1].map((([t,n])=>e.push({u:t,C:n}))))),Vt(e)}let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],rt:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.rt=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Ie(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!I&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):lo(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(I)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Gn(this,t,a.rt,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):D.jmp((()=>Yn(this))))}disconnectedCallback(){D.jmp((()=>qn(this))),Q((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.W)?void 0:t.P)instanceof Node&&!e.W.P.isConnected&&delete e.W.P}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ft(g.prototype):(e.slotChildNodesFix&&Ot(g.prototype),e.cloneNodeFix&&dt(g.prototype),e.appendChildSlotFix&&ht(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&wt(g.prototype)):e.cloneNodeFix&&dt(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,Vn(t,o,e,n))})(this,a,t)}),a._=t[0],l.includes(u)||i.get(u)||(r.push(u),i.define(u,zn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=k),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}[hydrated]{visibility:revert-layer}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=D.k)?o:It(M.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):D.jmp(e.profile?()=>h=setTimeout(Dn,30,"timeout"):()=>h=setTimeout(Dn,30)),s()},Gn=(t,n,o,s)=>{e.hostListener&&o&&M.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const l=e.hostListenerTarget?to(M.document,t,o):t,i=Zn(n,r),c=eo(o);D.ael(l,s,i,c),(n.lt=n.lt||[]).push((()=>D.rel(l,s,i,c)))})))},Zn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.i)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},to=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?M:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,eo=t=>({passive:!!(1&t),capture:!!(2&t)}),no=e.lazyLoad?class{}:globalThis.HTMLElement||class{},oo=t=>D.k=t,so=new WeakMap,ro=void 0;function lo(t){return ro?ro(t):t}function io(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Yt(t,l,...s):Yt(t,l,s):Yt(t,l)}var co=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||ao(t,e,s.W,n,{nodeIds:0}),co(t,e,n,o)}))},ao=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(C,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{uo(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.P.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},uo=(t,e,n,o,s,r)=>{const l=e.P;if(null==l)return;const i=n.nodeIds++,c=`${o}.${i}.${s}.${r}`;if(l["s-host-id"]=o,l["s-node-id"]=i,1===l.nodeType)l.setAttribute(_,c),"string"!=typeof l["s-sn"]||l.getAttribute("slot")||l.setAttribute("s-sn",l["s-sn"]);else if(3===l.nodeType){const e=l.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);wn(e,n,l)}}else 8===l.nodeType&&l["s-sr"]&&(l.nodeValue=`s.${c}.${l["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{uo(t,e,n,o,r,s)}))}},fo=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:(t,e)=>e,H:A,HTMLElement:A,HYDRATED_STYLE_ID:E,Host:Xt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),no)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Gn,bootstrapLazy:Qn,cmpModules:w,connectedCallback:Yn,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:Ve,defineCustomElement:(t,e)=>{customElements.define(lo(e[1]),Kn(t,e))},disconnectedCallback:qn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=De(t),n=d(t);if(n&&n.T!==e){const o=n.o,s=t["s-sc"],r=Bt(o,e),l=t.constructor.style[e],i=o.u;l&&(O.has(r)||Pt(r,l,!!(1&i)),n.T=e,t.classList.remove(s+"-h",s+"-s"),Ut(n),An(t))}}},forceUpdate:An,getAssetPath:t=>{const e=new URL(t,D.N);return e.origin!==M.location.origin?e.href:e.pathname},getElement:ze,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.T},getRenderingRef:()=>Ln,getValue:Un,h:Yt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=T in t?t[T]:{...N};n.staticComponents=new Set(e);const o=[];co(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],l=s["s-node-id"],i=`${r}.${l}`;if(null==r)if(r=0,n.rootLevelIds++,l=n.rootLevelIds,i=`${r}.${l}`,1===s.nodeType)s.setAttribute(_,i),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(i);n.nodeValue="t."+i,wn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(i);e.nodeValue="c."+i,s.parentNode.insertBefore(e,s)}let c="o."+i;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:io,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Yt(t,l,...s):Yt(t,l,s):Yt(t,l)},jsxs:function(t,e,n){return io(t,e,n)},loadModule:j,modeResolver:x,needsScopedSSR:()=>!1,nextTick:Q,normalizeWatchers:Ie,parsePropertyValue:Be,plt:D,postUpdateComponent:Mn,promiseResolve:H,proxyComponent:zn,proxyCustomElement:Kn,readTask:G,registerHost:p,registerInstance:h,render:function(t,e){let n=so.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},so.set(e,n)),jn(n,t)},renderVdom:jn,setAssetPath:t=>D.N=t,setErrorHandler:t=>a=t,setMode:t=>{x.length=0,x.push(t)},setNonce:oo,setPlatformHelpers:t=>{Object.assign(D,t)},setPlatformOptions:t=>Object.assign(D,t),setScopedSSR:()=>{},setTagTransformer:function(t){ro&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),ro=t},setValue:Bn,styles:O,supportsConstructableStylesheets:P,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:I,transformTag:lo,win:M,writeTask:Z});export{n as B,A as H,t as N,fo as S,e as a,Qn as b,y as c,Ve as d,Xt as e,An as f,ze as g,Yt as h,H as p,h as r,oo as s,M as w}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,
|
|
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,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?e(t.value):r(t.value).then(a,s)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return u([t,i])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){e.label=s[1];break}if(s[0]===6&&e.label<o[1]){e.label=o[1];o=s;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(s);break}if(o[2])e.ops.pop();e.trys.pop();continue}s=i.call(t,e)}catch(t){s=[6,t];r=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-BAcul0Zt.system.js","./p-B-nayZ3E.system.js","./p-BXVzhErg.system.js","./p-EhfbAdzV.system.js"],(function(t){"use strict";var i,e,n,r,o,a,s,u,f,c,l;return{setters:[function(t){i=t.o;e=t.f;n=t.s;r=t.a;o=t.c;a=t.b;s=t.p},function(t){u=t.c},function(t){f=t.s;c=t.h},function(t){l=t.B}],execute:function(){
|
|
2
2
|
/** Roles of a popup that `aria-haspopup` knows how to name: a panel that calls itself a `group` has none */
|
|
3
3
|
var h=["dialog","grid","listbox","menu","tree"];
|
|
4
4
|
/**
|
|
@@ -10,7 +10,24 @@ var h=["dialog","grid","listbox","menu","tree"];
|
|
|
10
10
|
* the control, and inside a tablist they even make the item a child the `tab` role no longer covers
|
|
11
11
|
* (axe `aria-required-children`). Moving them onto the inner control is not an option either: an
|
|
12
12
|
* IDREF does not cross the shadow boundary.
|
|
13
|
-
*/var
|
|
13
|
+
*/var d=["button","combobox","link","menuitem","tab","treeitem"];var m=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"];
|
|
14
|
+
/** The parent of a node where the layout finds it: the slot it is assigned to, the host of its shadow root. */var b=function(t){if(t instanceof Element&&t.assignedSlot)return t.assignedSlot;if(t.parentNode instanceof ShadowRoot)return t.parentNode.host;return t.parentNode};
|
|
15
|
+
/**
|
|
16
|
+
* The offset parent of an element in the composed tree, the box the layout places it against: the
|
|
17
|
+
* nearest ancestor across slots and shadow roots that is positioned or filtered, else `body`; none
|
|
18
|
+
* when an ancestor is not displayed. The native `offsetParent` never returns a node of a shadow tree
|
|
19
|
+
* the element is not inside, so a panel slotted into a positioned part of a component (the window
|
|
20
|
+
* of mds-modal, the menu of mds-header) or rendered in the shadow root of a control slotted there
|
|
21
|
+
* (mds-pref-language in that menu) was placed against the page while that part held it, and landed
|
|
22
|
+
* as far from its caller as the part is from the page (#1336). Floating UI takes such a function in
|
|
23
|
+
* place of the native property (`platform.getOffsetParent`, "Shadow DOM" in its docs); the rule is
|
|
24
|
+
* the one of composed-offset-position, the ponyfill those docs point to, written here instead of a
|
|
25
|
+
* dependency. Floating UI then skips the static table elements and falls back to the containing
|
|
26
|
+
* block, as it does with the native one.
|
|
27
|
+
*/var v=function(t){for(var i=t;i;i=b(i)){if(i instanceof Element&&getComputedStyle(i).display==="none")return null}for(var i=b(t);i;i=b(i)){if(!(i instanceof Element))continue;var e=getComputedStyle(i);
|
|
28
|
+
// a node with display: contents is no box of the layout
|
|
29
|
+
if(e.display==="contents")continue;if(e.position!=="static"||e.filter!=="none")return i;if(i.tagName==="BODY")return i}return null};
|
|
30
|
+
/** The platform of Floating UI with the offset parent of the composed tree. */var p=Object.assign(Object.assign({},s),{getOffsetParent:function(t){return s.getOffsetParent(t,v)}});var g=/** @class */function(){function t(t,s,u){if(u===void 0){u="menu"}var b=this;this._wired=false;
|
|
14
31
|
/** what was written on the caller, to be taken back when the target moves to another one:
|
|
15
32
|
* an attribute that was already there belongs to whoever wrote it and is none of our business */this._written=[];this._labelledByOurs=false;
|
|
16
33
|
/**
|
|
@@ -20,20 +37,23 @@ var h=["dialog","grid","listbox","menu","tree"];
|
|
|
20
37
|
* would never get it.
|
|
21
38
|
*/this.unwireCaller=function(){b._written.forEach((function(t){return b._caller.removeAttribute(t)}));b._written=[];if(b._labelledByOurs){b._host.removeAttribute("aria-labelledby");b._labelledByOurs=false}};this.writeOnCaller=function(t,i){if(b._caller.hasAttribute(t))return;b._caller.setAttribute(t,i);b._written.push(t)};
|
|
22
39
|
/** An IDREF does not cross a shadow boundary: a caller the host shares no tree with keeps the
|
|
23
|
-
* attributes that need no reference and loses the ones that do */this.sameRoot=function(){return b._caller.getRootNode()===b._host.getRootNode()};this.callerAcceptsWiring=function(){var t=b._caller.getAttribute("role");return t!==null?
|
|
40
|
+
* attributes that need no reference and loses the ones that do */this.sameRoot=function(){return b._caller.getRootNode()===b._host.getRootNode()};this.callerAcceptsWiring=function(){var t=b._caller.getAttribute("role");return t!==null?d.includes(t):m.includes(b._caller.tagName)};
|
|
24
41
|
/**
|
|
25
42
|
* Ties caller and popup to each other with real IDREFs - the wiring used to write the selector
|
|
26
43
|
* of the caller, which names no element at all, on both sides and towards the caller itself.
|
|
27
44
|
* Our own callers are waited for first: an `mds-button` writes its `role="button"` in its own
|
|
28
45
|
* `componentDidLoad`, and which of the two components loads first is not guaranteed.
|
|
29
|
-
*/this.wireCaller=function(){return __awaiter(b,void 0,void 0,(function(){var t,i,
|
|
46
|
+
*/this.wireCaller=function(){return __awaiter(b,void 0,void 0,(function(){var t,i,e,n,r,o,a,s,u;return __generator(this,(function(d){switch(d.label){case 0:n=this._caller;if(!(l.isBrowser&&n.tagName.startsWith("MDS-")))return[3/*break*/,3];return[4/*yield*/,customElements.whenDefined(n.tagName.toLowerCase())];case 1:d.sent();return[4/*yield*/,(i=(t=n).componentOnReady)===null||i===void 0?void 0:i.call(t)];case 2:d.sent();d.label=3;case 3:
|
|
30
47
|
// a target change while we waited has already wired another caller
|
|
31
|
-
if(
|
|
48
|
+
if(n!==this._caller)return[2/*return*/];
|
|
32
49
|
// a tooltip is not a popup its caller controls: it describes it, a description reaching a
|
|
33
50
|
// screen reader whatever role the caller has, generic included, or it names it, when its text
|
|
34
51
|
// is the only visible name of an icon-only control. A caller that already has a name of its
|
|
35
52
|
// own keeps it, `writeOnCaller` leaving an `aria-labelledby` that is there alone.
|
|
36
|
-
if(this._role==="tooltip"){if(this.sameRoot()){
|
|
53
|
+
if(this._role==="tooltip"){if(this.sameRoot()){r=f(this._host,"id",c("mds-tooltip"));o=this._host.relation==="label"?"aria-labelledby":"aria-describedby";this.writeOnCaller(o,r)}return[2/*return*/]}if(!this.callerAcceptsWiring())return[2/*return*/];if(this.sameRoot()){a=f(this._host,"id",c("mds-dropdown"));s=f(n,"id",c("mds-dropdown-caller"));this.writeOnCaller("aria-controls",a);
|
|
54
|
+
// ours only once we write it: the same caller wired again, by a dropdown moved in the
|
|
55
|
+
// page, finds the label it was given and must still take it back when the target moves on
|
|
56
|
+
if(!this._host.hasAttribute("aria-labelledby")){this._host.setAttribute("aria-labelledby",s);this._labelledByOurs=true}}u=(e=this._host.getAttribute("role"))!==null&&e!==void 0?e:"";if(h.includes(u)){this.writeOnCaller("aria-haspopup",u)}if(!n.hasAttribute("aria-expanded"))this._written.push("aria-expanded");this._wired=true;this.syncExpanded(this._host.visible);return[2/*return*/]}}))}))};this.arrowInset=function(t,i){var e=t.arrow;var n={bottom:"",left:"",right:"",top:""};if(e===undefined){return{}}switch(i){case"bottom":n.left=e.x!==null?"".concat(e.x,"px"):"";n.top="100%";break;case"left":n.right="100%";n.top=e.y!==null?"".concat(e.y,"px"):"";break;case"right":n.left="100%";n.top=e.y!==null?"".concat(e.y,"px"):"";break;case"top":n.left=e.x!==null?"".concat(e.x,"px"):"";n.top="";break}return n};this.arrowTransform=function(t){var i=!b._host.hideArrow&&b._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i="rotate(180deg) ".concat(i," translate(0, -100%)");break;case"left":i="rotate(-90deg) ".concat(i," translate(50%, -50%)");break;case"right":i="rotate(90deg) ".concat(i," translate(-50%, -50%)");break;case"top":i="rotate(0deg) ".concat(i," translate(0, 0)");break}return{transform:i}};this.arrowTransformOrigin=function(t){switch(t){case"bottom":return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"};default:return{transformOrigin:"center top"}}};
|
|
37
57
|
/**
|
|
38
58
|
* The pivot of the opening animation is the arrow, which the `arrow` middleware
|
|
39
59
|
* parks wherever it has to sit to keep pointing at the caller: after a shift it
|
|
@@ -41,21 +61,21 @@ if(this._role==="tooltip"){if(this.sameRoot()){n=u(this._host,"id",f("mds-toolti
|
|
|
41
61
|
* the placement, so it answers `center top` for every bottom placement and the
|
|
42
62
|
* panel grows from a point that has nothing to do with the arrow - measured on a
|
|
43
63
|
* 408px panel pushed against the left edge, the two were 165px apart.
|
|
44
|
-
*/this.arrowOrigin=function(t,i){var
|
|
64
|
+
*/this.arrowOrigin=function(t,i){var e=i.arrow;if(!b.arrowEl||b._host.hideArrow||e===undefined){return null}var n=t.split("-")[0];if(e.x!==null&&e.x!==undefined){var r=e.x+b.arrowEl.offsetWidth/2;if(n==="bottom")return"".concat(r,"px top");if(n==="top")return"".concat(r,"px bottom")}if(e.y!==null&&e.y!==undefined){var o=e.y+b.arrowEl.offsetHeight/2;if(n==="right")return"left ".concat(o,"px");if(n==="left")return"right ".concat(o,"px")}return null};this.convertToTransformOrigin=function(t){var i={top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"};return i[t]};this.calculatePosition=function(){if(!b._caller)return;var t=new Array;var a={};if(b._host.shiftPadding){a.padding=b._host.shiftPadding}if(b._host.offset){t.push(i(b._host.offset))}
|
|
45
65
|
// With auto-placement, the default, `placement` is the preferred side: the panel moves to
|
|
46
66
|
// the opposite side, then to the sides across, only when it has no room there, which covers
|
|
47
67
|
// what `flip` adds. autoPlacement() took the side with the most room whatever `placement`
|
|
48
68
|
// said, so `placement` and `flip` did nothing unless auto-placement was turned off. The
|
|
49
69
|
// side is chosen on the main axis only: along the other one the panel is shifted, not moved
|
|
50
70
|
// to another side.
|
|
51
|
-
if(!b._host.disableAutoPlacement){t.push(
|
|
71
|
+
if(!b._host.disableAutoPlacement){t.push(e(Object.assign(Object.assign({},a),{crossAxis:"alignment",fallbackAxisSideDirection:"end"})))}else if(b._host.flip){t.push(e(a))}if(!b._host.disableShift){t.push(n(a))}if(b.arrowEl&&!b._host.hideArrow){t.push(r({element:b.arrowEl,padding:b._host.arrowPadding}))}o(b._caller,b._host,{middleware:t,placement:b._host.placement,platform:p,strategy:b._host.strategy}).then((function(t){var i=t.x,e=t.y,n=t.placement,r=t.middlewareData;var o;
|
|
52
72
|
// The first placement must land instantly: until it happens the panel has no
|
|
53
73
|
// position at all, so animating left/top towards the caller would fly it in
|
|
54
74
|
// from the corner of the page. The mark goes on a frame LATER, because a
|
|
55
75
|
// value and the attribute that makes it transition, written in the same
|
|
56
76
|
// recalc, still animate - the frame in between is what makes the first
|
|
57
77
|
// placement a jump and every move after it a glide.
|
|
58
|
-
var a=!b._host.hasAttribute("data-floating-placed");Object.assign(b._host.style,{left:"".concat(i,"px"),top:"".concat(
|
|
78
|
+
var a=!b._host.hasAttribute("data-floating-placed");Object.assign(b._host.style,{left:"".concat(i,"px"),top:"".concat(e,"px"),transformOrigin:(o=b.arrowOrigin(n,r))!==null&&o!==void 0?o:b.convertToTransformOrigin(n),position:b._host.strategy});if(a){requestAnimationFrame((function(){return b._host.setAttribute("data-floating-placed","")}))}var s={};var u={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(u&&b.arrowEl){Object.assign(s,b.arrowTransform(u));Object.assign(s,b.arrowInset(r,u));Object.assign(s,b.arrowTransformOrigin(u));Object.assign(b.arrowEl.style,s)}}))};
|
|
59
79
|
/**
|
|
60
80
|
* Starts positioning only once the panel has a box to measure. A closed panel is
|
|
61
81
|
* `display: none`, and Stencil reflects `visible` on its own render, so the tick
|
|
@@ -65,18 +85,18 @@ var a=!b._host.hasAttribute("data-floating-placed");Object.assign(b._host.style,
|
|
|
65
85
|
* the panel opening on the wrong side of the caller and sliding across to its
|
|
66
86
|
* place, because the correction that follows is transitioned like any other
|
|
67
87
|
* move.
|
|
68
|
-
*/this.startWhenMeasurable=function(t){if(!b._host.visible)return;if(b._host.offsetWidth===0&&t>0){requestAnimationFrame((function(){return b.startWhenMeasurable(t-1)}));return}b.cleanupAutoUpdate=a(b._caller,b._host,b.calculatePosition)};this._host=t;this.arrowEl=s;this._role=
|
|
88
|
+
*/this.startWhenMeasurable=function(t){if(!b._host.visible)return;if(b._host.offsetWidth===0&&t>0){requestAnimationFrame((function(){return b.startWhenMeasurable(t-1)}));return}b.cleanupAutoUpdate=a(b._caller,b._host,b.calculatePosition)};this._host=t;this.arrowEl=s;this._role=u}t.prototype.updateCaller=function(t){var i,e,n;
|
|
69
89
|
// search caller in document or rootNode of host (if target is in shadowDOM)
|
|
70
|
-
var n=(e=(
|
|
90
|
+
var r=(n=(e=(i=this._host.parentElement)===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelector(t))!==null&&n!==void 0?n:this._host.getRootNode().querySelector(t);if(!r){
|
|
71
91
|
// the target may legitimately be absent (e.g. during SSR the document
|
|
72
92
|
// only contains the component subtree being serialized)
|
|
73
|
-
console.warn("FloatingController: target not found: ".concat(t));return null}if(this._caller&&this._caller!==
|
|
93
|
+
console.warn("FloatingController: target not found: ".concat(t));return null}if(this._caller&&this._caller!==r)this.unwireCaller();this._caller=r;this._wired=false;f(this._host,"role",this._role);void this.wireCaller();return r};
|
|
74
94
|
/**
|
|
75
95
|
* Takes back what the wiring wrote on the caller and writes it again, for a change of the host
|
|
76
96
|
* that changes what is written: the relation of a tooltip.
|
|
77
97
|
*/t.prototype.rewire=function(){if(!this._caller)return;this.unwireCaller();this._wired=false;void this.wireCaller()};
|
|
78
98
|
/** Whether the popup is open is state, not a default: it is rewritten at every change, so it
|
|
79
99
|
* cannot go through `setAttributeIfEmpty` */t.prototype.syncExpanded=function(t){if(this._wired)this._caller.setAttribute("aria-expanded","".concat(t))};t.prototype.updatePosition=function(){if(this._host.visible){this.dismiss();// to clean the old update function before update function
|
|
80
|
-
this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();t("F",
|
|
100
|
+
this.startWhenMeasurable(3)}};t.prototype.dismiss=function(){if(this.cleanupAutoUpdate)this.cleanupAutoUpdate()};return t}();t("F",g);var y=/** @class */function(){function t(t){this.defaultBackdropId="magma-backdrop";this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))";this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)";this.backdropId=t!==null&&t!==void 0?t:this.defaultBackdropId;this.cssBackdropZIndex="var(--".concat(this.backdropId,"-z-index, 4000)");this.cssBackdropDuration="var(--".concat(this.backdropId,"-animation-duration, 300ms)")}t.prototype.attachBackdrop=function(t){var i=this;if(t===void 0){t={}}if(!this.backdropEl){this.backdropEl=document.createElement("div");this.backdropEl.className=this.backdropId;this.backdropEl.style.inset="0";this.backdropEl.style.pointerEvents="none";this.backdropEl.style.position="fixed"}
|
|
81
101
|
// the detach waits for this one too, so it is kept until then
|
|
82
|
-
this.duration=t.duration||this.cssBackdropDuration;this.backdropEl.style.transition="background-color ".concat(this.duration," ease-out");this.backdropEl.style.zIndex=t.zIndex||this.cssBackdropZIndex;this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden;document.body.appendChild(this.backdropEl);clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){i.backdropEl.style.backgroundColor=i.backdropBackgroundVisible}),1)};t.prototype.detachBackdrop=function(){var t=this;var i;if(!this.backdropEl){return}this.backdropEl.style.backgroundColor="transparent";clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.remove()}),
|
|
102
|
+
this.duration=t.duration||this.cssBackdropDuration;this.backdropEl.style.transition="background-color ".concat(this.duration," ease-out");this.backdropEl.style.zIndex=t.zIndex||this.cssBackdropZIndex;this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden;document.body.appendChild(this.backdropEl);clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){i.backdropEl.style.backgroundColor=i.backdropBackgroundVisible}),1)};t.prototype.detachBackdrop=function(){var t=this;var i;if(!this.backdropEl){return}this.backdropEl.style.backgroundColor="transparent";clearTimeout(this.backdropTimer);this.backdropTimer=setTimeout((function(){t.backdropEl.remove()}),u((i=this.duration)!==null&&i!==void 0?i:this.cssBackdropDuration))};return t}();t("B",y)}}}));
|