dsfr-assets 1.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.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +26 -0
- data/Rakefile +12 -0
- data/lib/dsfr/assets/version.rb +7 -0
- data/lib/dsfr/assets.rb +14 -0
- data/vendor/assets/javascripts/dsfr.module.min.js +3 -0
- data/vendor/assets/javascripts/dsfr.nomodule.min.js +3 -0
- data/vendor/assets/stylesheets/dsfr-utility.css +14721 -0
- data/vendor/assets/stylesheets/dsfr.min.css +396 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Bold.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Bold.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Bold_Italic.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Bold_Italic.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Light.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Light.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Light_Italic.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Light_Italic.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Medium.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Medium.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Medium_Italic.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Medium_Italic.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Regular.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Regular_Italic.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Marianne-Regular_Italic.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Spectral-ExtraBold.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Spectral-ExtraBold.woff2 +0 -0
- data/vendor/assets/stylesheets/fonts/Spectral-Regular.woff +0 -0
- data/vendor/assets/stylesheets/fonts/Spectral-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/icons/buildings/ancient-gate-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/ancient-gate-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/ancient-pavilion-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/ancient-pavilion-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/bank-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/bank-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/building-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/building-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/community-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/community-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/government-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/government-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/home-4-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/home-4-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/hospital-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/hospital-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/hotel-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/hotel-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/store-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/buildings/store-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/archive-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/archive-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/attachment-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/attachment-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/award-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/award-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/bar-chart-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/bar-chart-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/bookmark-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/bookmark-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/briefcase-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/briefcase-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-event-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-event-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/calendar-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/cloud-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/cloud-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/copyright-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/copyright-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/customer-service-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/customer-service-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/flag-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/flag-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/global-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/global-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/line-chart-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/line-chart-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/links-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/links-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/mail-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/mail-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/mail-open-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/mail-open-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/medal-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/medal-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/pie-chart-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/pie-chart-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/pie-chart-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/pie-chart-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/printer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/printer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/profil-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/profil-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/projector-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/projector-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/send-plane-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/send-plane-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/slideshow-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/slideshow-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/window-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/business/window-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-check-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-check-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-delete-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-delete-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-poll-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/chat-poll-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/discuss-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/discuss-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/feedback-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/feedback-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/message-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/message-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/question-answer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/question-answer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/questionnaire-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/questionnaire-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/video-chat-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/communication/video-chat-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/ball-pen-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/ball-pen-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/brush-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/brush-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/brush-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/brush-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/contrast-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/contrast-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/crop-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/crop-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/drag-move-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/drag-move-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/drop-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/drop-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/edit-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/edit-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/edit-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/edit-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/ink-bottle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/ink-bottle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/layout-grid-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/layout-grid-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/mark-pen-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/mark-pen-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/paint-brush-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/paint-brush-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/paint-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/paint-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/palette-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/palette-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pantone-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pantone-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pen-nib-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pen-nib-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pencil-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pencil-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pencil-ruler-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/pencil-ruler-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/shapes-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/shapes-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/sip-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/sip-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/table-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/table-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/bug-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/bug-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/code-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/code-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/code-s-slash-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/cursor-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/cursor-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-branch-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-branch-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-commit-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-commit-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-merge-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-merge-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-pull-request-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-pull-request-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-commits-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-commits-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-private-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/git-repository-private-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/terminal-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/terminal-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/terminal-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/terminal-window-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/development/terminal-window-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/bluetooth-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/bluetooth-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/computer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/computer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/dashboard-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/dashboard-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/database-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/database-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/device-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/device-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/hard-drive-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/hard-drive-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/mac-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/mac-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/phone-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/phone-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/qr-code-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/qr-code-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/rss-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/rss-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/save-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/save-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/save-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/save-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/server-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/server-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/smartphone-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/smartphone-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/tablet-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/tablet-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/tv-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/tv-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/wifi-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/device/wifi-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/article-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/article-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/book-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/book-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/booklet-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/booklet-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/clipboard-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/clipboard-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/draft-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/draft-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-add-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-add-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-download-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-download-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-pdf-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-pdf-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-text-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/file-text-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/folder-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/folder-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/newspaper-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/newspaper-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/survey-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/survey-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/todo-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/document/todo-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/code-view.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/font-size.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/fr--bold.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/fr--highlight.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/fr--quote-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/fr--quote-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-1.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-2.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-3.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-4.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-5.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/h-6.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/hashtag.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/italic.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/link-unlink.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/link.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/list-ordered.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/list-unordered.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/question-mark.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/separator.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/space.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/subscript.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/superscript.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/table-2.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/translate-2.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/bank-card-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/bank-card-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/coin-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/gift-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/gift-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/money-euro-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/money-euro-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/money-euro-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/money-euro-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/secure-payment-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/secure-payment-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/shopping-bag-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/shopping-bag-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/shopping-cart-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/shopping-cart-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/trophy-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/finance/trophy-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/capsule-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/capsule-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/dislike-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/dislike-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/dossier-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/dossier-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/first-aid-kit-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/first-aid-kit-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/hand-sanitizer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/hand-sanitizer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/health-book-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/health-book-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/heart-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/heart-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/heart-pulse-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/heart-pulse-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/lungs-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/lungs-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/medicine-bottle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/medicine-bottle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/mental-health-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/mental-health-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/microscope-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/microscope-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/psychotherapy-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/psychotherapy-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/pulse-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/stethoscope-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/stethoscope-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/surgical-mask-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/surgical-mask-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/syringe-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/syringe-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/test-tube-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/test-tube-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/thermometer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/thermometer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/virus-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/health/virus-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/chrome-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/chrome-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/edge-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/edge-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/facebook-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/facebook-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/firefox-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/firefox-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/fr--dailymotion-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/fr--dailymotion-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/fr--tiktok-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/fr--tiktok-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/github-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/github-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/google-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/google-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/ie-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/ie-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/instagram-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/instagram-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/linkedin-box-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/linkedin-box-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/mastodon-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/mastodon-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/npmjs-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/npmjs-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/remixicon-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/remixicon-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/safari-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/safari-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/slack-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/slack-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/snapchat-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/snapchat-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/telegram-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/telegram-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/threads-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/threads-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitch-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitch-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitter-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitter-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitter-x-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/twitter-x-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/vimeo-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/vimeo-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/vuejs-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/vuejs-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/whatsapp-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/whatsapp-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/youtube-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/youtube-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/anchor-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/anchor-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/bike-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/bike-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/bus-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/bus-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/car-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/car-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/caravan-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/caravan-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/charging-pile-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/charging-pile-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/compass-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/compass-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/cup-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/cup-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/earth-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/earth-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/france-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/france-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/gas-station-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/gas-station-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/goblet-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/goblet-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/map-pin-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/map-pin-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/map-pin-user-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/map-pin-user-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/motorbike-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/motorbike-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/passport-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/passport-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/restaurant-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/restaurant-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/road-map-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/road-map-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/sailboat-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/sailboat-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/ship-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/ship-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/signal-tower-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/signal-tower-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/suitcase-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/suitcase-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/taxi-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/taxi-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/train-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/map/train-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/align-left.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/camera-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/camera-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/clapperboard-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/clapperboard-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/equalizer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/equalizer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/film-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/film-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/fullscreen-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/gallery-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/gallery-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/headphone-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/headphone-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-add-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-add-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-edit-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-edit-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/image-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/live-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/live-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/mic-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/mic-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/music-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/music-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/notification-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/notification-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/pause-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/pause-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/play-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/play-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/stop-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/stop-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-down-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-down-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-mute-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-mute-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-up-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/media/volume-up-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--accessibility-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--accessibility-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--ear-off-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--ear-off-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--mental-disabilities-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--mental-disabilities-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--sign-language-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/fr--sign-language-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/leaf-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/leaf-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/lightbulb-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/lightbulb-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/plant-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/plant-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/recycle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/recycle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/scales-3-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/scales-3-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/seedling-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/seedling-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/umbrella-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/umbrella-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/wheelchair-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/others/wheelchair-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/add-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/add-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/add-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/alarm-warning-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/alarm-warning-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/alert-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/alert-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-down-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-down-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-down-s-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-down-s-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-go-back-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-go-back-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-go-forward-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-go-forward-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-left-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-left-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-left-s-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-left-s-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-right-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-right-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-right-s-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-right-s-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-right-up-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-up-down-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-up-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-up-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-up-s-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/arrow-up-s-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/check-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/checkbox-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/checkbox-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/checkbox-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/checkbox-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/close-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/close-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/close-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/delete-bin-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/delete-bin-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/download-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/download-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/error-warning-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/error-warning-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/external-link-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/external-link-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/eye-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/eye-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/eye-off-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/eye-off-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/filter-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/filter-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--alert-warning-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--alert-warning-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-left-s-first-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-left-s-line-double.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-right-down-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-right-s-last-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-right-s-line-double.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--arrow-right-up-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--capslock-line.svg +4 -0
- data/vendor/assets/stylesheets/icons/system/fr--equal-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--error-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--error-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--info-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--info-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--success-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--success-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--theme-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--warning-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/fr--warning-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/information-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/information-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/lock-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/lock-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/lock-unlock-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/lock-unlock-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/logout-box-r-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/logout-box-r-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/menu-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/menu-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/more-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/more-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/notification-badge-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/notification-badge-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/question-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/question-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/refresh-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/refresh-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/search-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/search-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/settings-5-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/settings-5-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/shield-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/shield-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/star-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/star-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/star-s-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/star-s-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/subtract-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/thumb-down-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/thumb-down-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/thumb-up-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/thumb-up-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/time-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/time-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/timer-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/timer-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/upload-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/upload-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/upload-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/upload-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/zoom-in-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/zoom-in-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/zoom-out-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/zoom-out-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/account-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/account-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/account-pin-circle-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/account-pin-circle-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/admin-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/admin-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/group-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/group-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/parent-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/parent-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/team-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/team-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-add-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-add-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-heart-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-heart-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-search-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-search-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-setting-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-setting-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-star-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/user/user-star-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/cloudy-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/cloudy-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/fire-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/fire-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/flashlight-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/flashlight-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/flood-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/flood-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/fr--avalanches-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/fr--submersion-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/heavy-showers-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/heavy-showers-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/moon-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/moon-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/snowy-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/snowy-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/sparkling-2-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/sparkling-2-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/sun-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/sun-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/temp-cold-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/temp-cold-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/thunderstorms-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/thunderstorms-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/tornado-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/tornado-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/typhoon-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/typhoon-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/windy-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/weather/windy-line.svg +1 -0
- metadata +717 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 605080e3a8133b20ab992a49cc1ac16d230ec2f8d6efd3e1989846aa618d2cb1
|
4
|
+
data.tar.gz: ac7b00c69327e93a4f106a536f6455607fa5e9d246fe55111db041d30e4913b5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 59dc8c11efd260857b103f2a7162d371e93b20fea01140841e2786131df9823e0e3c09c8fbe8fb6aa582cbaca56c6b892affea1c631c7e04bdbe625a94dfcdb7
|
7
|
+
data.tar.gz: e12fbdf266c2e84f45ed44cfe25d6de2eee40e815c6d8b2a6a9df99e2ff521e1ce7152661bb6083df6bcb7c50a6aa9ff46ff16dac295b378e4c7af1d1c921043
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2025 Stéphane Maniaci
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Dsfr::Assets
|
2
|
+
|
3
|
+
Cette gem met à disposition les assets du [Système de Design de l'État (DSFR)](https://github.com/GouvernementFR/dsfr).
|
4
|
+
|
5
|
+
Le numéro de version correspond aux [versions du DSFR](https://github.com/GouvernementFR/dsfr/releases) embarquées.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
```bash
|
10
|
+
bundle add dsfr-assets
|
11
|
+
```
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
# config/application.rb
|
15
|
+
|
16
|
+
require 'dsfr/assets'
|
17
|
+
```
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
Dans votre template/layout :
|
21
|
+
|
22
|
+
```erb
|
23
|
+
<%= stylesheet_link_tag "dsfr.min", "application-turbo-track": "reload" %>
|
24
|
+
<%= javascript_include_tag "dsfr.module.min.js", type: 'module' %>
|
25
|
+
<%= javascript_include_tag "dsfr.nomodule.min.js", nomodule: true %>
|
26
|
+
```
|
data/Rakefile
ADDED
data/lib/dsfr/assets.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "assets/version"
|
4
|
+
|
5
|
+
module Dsfr
|
6
|
+
module Assets
|
7
|
+
class Engine < ::Rails::Railtie
|
8
|
+
initializer "dsfr-assets.paths" do |app|
|
9
|
+
app.config.assets.paths << File.expand_path("../../vendor/assets/stylesheets", __dir__)
|
10
|
+
app.config.assets.paths << File.expand_path("../../vendor/assets/javascripts", __dir__)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,3 @@
|
|
1
|
+
/*! DSFR v1.13.0 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
2
|
+
const e=new class{constructor(){this.modules={}}create(e){const t=new e;this.modules[t.type]=t}getModule(e){return this.modules[e]}add(e,t){this.modules[e].add(t)}remove(e,t){this.modules[e].remove(t)}get isActive(){return this._isActive}set isActive(e){if(e===this._isActive)return;this._isActive=e;const t=Object.keys(this.modules).map((e=>this.modules[e]));if(e)for(const e of t)e.activate();else for(const e of t)e.deactivate()}get isLegacy(){return this._isLegacy}set isLegacy(e){e!==this._isLegacy&&(this._isLegacy=e)}},t="fr",s="dsfr",i="@gouvfr",n="1.13.0";class r{constructor(e,t,s,i){switch(this.level=e,this.light=t,this.dark=s,i){case"warn":this.logger=console.warn;break;case"error":this.logger=console.error;break;default:this.logger=console.log}}log(...e){const t=new a(s);for(const s of e)t.add(s);this.print(t)}print(e){e.setColor(this.color),this.logger.apply(console,e.getMessage())}get color(){return window.matchMedia("(prefers-color-scheme: dark)").matches?this.dark:this.light}}class a{constructor(e){this.inputs=["%c"],this.styles=["font-family:Marianne","line-height: 1.5"],this.objects=[],e&&this.add(`${e} :`)}add(e){switch(typeof e){case"object":case"function":this.inputs.push("%o "),this.objects.push(e);break;default:this.inputs.push(`${e} `)}}setColor(e){this.styles.push(`color:${e}`)}getMessage(){return[this.inputs.join(""),this.styles.join(";"),...this.objects]}}const o={log:new r(0,"#616161","#989898"),debug:new r(1,"#000091","#8B8BFF"),info:new r(2,"#007c3b","#00ed70"),warn:new r(3,"#ba4500","#fa5c00","warn"),error:new r(4,"#D80600","#FF4641","error")};const h=new class{constructor(){this.level=2;for(const e in o){const t=o[e];this[e]=(...e)=>{this.level<=t.level&&t.log.apply(t,e)},this[e].print=t.print.bind(t)}}state(){const t=new a;t.add(e),this.log.print(t)}tree(){const t=e.getModule("stage");if(!t)return;const s=new a;this._branch(t.root,0,s),this.log.print(s)}_branch(e,t,s){let i="";if(t>0){let e="";for(let s=0;s<t;s++)e+=" ";i+=e+"└─ "}i+=`[${e.id}] ${e.html}`,s.add(i),s.add({"@":e}),s.add("\n");for(const n of e.children)i+=this._branch(n,t+1,s)}},l=e=>{"loading"!==document.readyState?window.requestAnimationFrame(e):document.addEventListener("DOMContentLoaded",e)},c={AUTO:"auto",MANUAL:"manual",RUNTIME:"runtime",LOADED:"loaded",VUE:"vue",ANGULAR:"angular",REACT:"react"},d=(e,t,s=null,i=!0,n=!1)=>{const r={bubbles:!0===i,cancelable:!0===n};s&&(r.detail=s);const a=new CustomEvent(t,r);e.dispatchEvent(a)},u=(e,t=null,s=!1,i=!1)=>d(document.documentElement,e,t,s,i),g=e=>`${t}-${e}`;g.selector=(e,t)=>(void 0===t&&(t="."),`${t}${g(e)}`),(g.attr=e=>`data-${g(e)}`).selector=(e,t)=>{let s=g.attr(e);return void 0!==t&&(s+=`="${t}"`),`[${s}]`},g.event=e=>`${s}.${e}`,g.emission=(e,t)=>`emission:${e}.${t}`;const p={READY:g.event("ready"),START:g.event("start"),STOP:g.event("stop"),RENDER:g.event("render"),RESIZE:g.event("resize"),BREAKPOINT:g.event("breakpoint"),SCROLL_LOCK:g.event("scroll-lock"),SCROLL_UNLOCK:g.event("scroll-unlock")};const m=new class{constructor(){this._mode=c.AUTO,this.isStarted=!1,this.starting=this.start.bind(this),this.preventManipulation=!1}configure(e={},t,s){this.startCallback=t;const i=e.production&&(!s||"false"!==s.production);switch(!0){case s&&!isNaN(s.level):h.level=Number(s.level);break;case s&&s.verbose&&("true"===s.verbose||1===s.verbose):h.level=0;break;case i:h.level=999;break;case e.verbose:h.level=0}h.info(`version ${n}`),u(p.READY),this.mode=e.mode||c.AUTO}set mode(e){switch(e){case c.AUTO:this.preventManipulation=!1,t=this.starting,l(t);break;case c.LOADED:this.preventManipulation=!1,l(this.starting);break;case c.RUNTIME:this.preventManipulation=!1,this.start();break;case c.MANUAL:this.preventManipulation=!1;break;case c.VUE:case c.ANGULAR:case c.REACT:this.preventManipulation=!0;break;default:return void h.error("Illegal mode")}var t;this._mode=e,h.info(`mode set to ${e}`)}get mode(){return this._mode}start(){h.info("start"),this.startCallback()}};class _{constructor(){this._collection=[]}forEach(e){this._collection.forEach(e)}map(e){return this._collection.map(e)}get length(){return this._collection.length}add(e){return!(this._collection.indexOf(e)>-1)&&(this._collection.push(e),this.onAdd&&this.onAdd(),this.onPopulate&&1===this._collection.length&&this.onPopulate(),!0)}remove(e){const t=this._collection.indexOf(e);if(-1===t)return!1;this._collection.splice(t,1),this.onRemove&&this.onRemove(),this.onEmpty&&0===this._collection.length&&this.onEmpty()}execute(...e){for(const t of this._collection)t&&t.apply(null,e)}clear(){this._collection.length=0}clone(){const e=new _;return e._collection=this._collection.slice(),e}get collection(){return this._collection}}class b extends _{constructor(e){super(),this.type=e,this.isActive=!1}activate(){}deactivate(){}}const E=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t)),f=(e,t)=>{const s=e.parentElement;return s.matches(t)?s:s===document.documentElement?null:f(s,t)};class A{constructor(e,t,s){this.selector=e,this.InstanceClass=t,this.creator=s,this.instances=new _,this.isIntroduced=!1,this._instanceClassName=this.InstanceClass.instanceClassName,this._instanceClassNames=this.getInstanceClassNames(this.InstanceClass),this._property=this._instanceClassName.substring(0,1).toLowerCase()+this._instanceClassName.substring(1);const i=this._instanceClassName.replace(/[^a-zA-Z0-9]+/g,"-").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([^0-9])/g,"$1-$2").replace(/([^0-9])([0-9])/g,"$1-$2").toLowerCase();this._attribute=g.attr(`js-${i}`)}getInstanceClassNames(e){const t=Object.getPrototypeOf(e);return t&&"Instance"!==t.instanceClassName?[...this.getInstanceClassNames(t),e.instanceClassName]:[e.instanceClassName]}hasInstanceClassName(e){return this._instanceClassNames.indexOf(e)>-1}introduce(){this.isIntroduced||(this.isIntroduced=!0,e.getModule("stage").parse(document.documentElement,this))}parse(e,t){const s=[];return e.matches&&e.matches(this.selector)&&s.push(e),!t&&e.querySelectorAll&&e.querySelector(this.selector)&&s.push.apply(s,E(e,this.selector)),s}create(e){if(!e.node.matches(this.selector))return;const t=new this.InstanceClass;return this.instances.add(t),t}remove(e){this.instances.remove(e)}dispose(){const e=this.instances.collection;for(let t=e.length-1;t>-1;t--)e[t]._dispose();this.creator=null}get instanceClassName(){return this._instanceClassName}get instanceClassNames(){return this._instanceClassNames}get property(){return this._property}get attribute(){return this._attribute}}class T extends b{constructor(){super("register")}register(t,s,i){const n=new A(t,s,i);return this.add(n),e.isActive&&n.introduce(),n}activate(){for(const e of this.collection)e.introduce()}remove(e){e.dispose(),super.remove(e)}}let S=0;class v{constructor(e,t){t?this.id=t:(S++,this.id=S),this.node=e,this.attributeNames=[],this.instances=[],this._children=[],this._parent=null,this._projects=[]}get proxy(){const e=this;if(!this._proxy){this._proxy={id:this.id,get parent(){return e.parent?e.parent.proxy:null},get children(){return e.children.map((e=>e.proxy))}};for(const e of this.instances)this._proxy[e.registration.property]=e.proxy}return this._proxy}get html(){if(!this.node||!this.node.outerHTML)return"";const e=this.node.outerHTML.indexOf(">");return this.node.outerHTML.substring(0,e+1)}project(e){-1===this._projects.indexOf(e)&&this._projects.push(e)}populate(){const e=this._projects.slice();this._projects.length=0;for(const t of e)this.create(t)}create(e){if(this.hasInstance(e.instanceClassName))return;h.debug(`create instance of ${e.instanceClassName} on element [${this.id}]`);const t=e.create(this);this.instances.push(t),t._config(this,e),this._proxy&&(this._proxy[e.property]=t.proxy)}remove(e){const t=this.instances.indexOf(e);t>-1&&this.instances.splice(t,1),this._proxy&&delete this._proxy[e.registration.property]}get parent(){return this._parent}get ascendants(){return[this.parent,...this.parent.ascendants]}get children(){return this._children}get descendants(){const e=[...this._children];return this._children.forEach((t=>e.push(...t.descendants))),e}addChild(e,t){return this._children.indexOf(e)>-1?null:(e._parent=this,!isNaN(t)&&t>-1&&t<this._children.length?this._children.splice(t,0,e):this._children.push(e),e)}removeChild(e){const t=this._children.indexOf(e);if(-1===t)return null;e._parent=null,this._children.splice(t,1)}emit(t,s){const i=e.getModule("stage").collection,n=[];for(const e of i)n.push(...e._emit(t,s));return n}_emit(e,t){const s=[];for(const i of this.instances)s.push(...i._emitter.emit(e,t));return s}ascend(e,t){return this._parent?this._parent._ascend(e,t):[]}_ascend(e,t){const s=[];for(const i of this.instances)s.push(...i._ascent.emit(e,t));return this._parent&&s.push(...this._parent._ascend(e,t)),s}descend(e,t){const s=[];for(const i of this._children)s.push(...i._descend(e,t));return s}_descend(e,t){const s=[];for(const i of this.instances)s.push(...i._descent.emit(e,t));for(const i of this._children)s.push(...i._descend(e,t));return s}getInstance(e){for(const t of this.instances)if(t.registration.hasInstanceClassName(e))return t;return null}hasInstance(e){return null!==this.getInstance(e)}getDescendantInstances(e,t,s){if(!e)return[];const i=[];for(const n of this._children){const r=n.getInstance(e);r&&(i.push(r),s)||(t&&n.hasInstance(t)||!n.children.length||i.push.apply(i,n.getDescendantInstances(e,t,s)))}return i}getAscendantInstance(e,t){if(!e||!this._parent)return null;const s=this._parent.getInstance(e);return s||(t&&this._parent.hasInstance(t)?null:this._parent.getAscendantInstance(e,t))}dispose(){for(let e=this.instances.length-1;e>=0;e--){const t=this.instances[e];t&&t._dispose()}this.instances.length=0,e.remove("stage",this),this.parent.removeChild(this),this._children.length=0,h.debug(`remove element [${this.id}] ${this.html}`)}prepare(e){-1===this.attributeNames.indexOf(e)&&this.attributeNames.push(e)}examine(){const e=this.attributeNames.slice();this.attributeNames.length=0;for(let t=this.instances.length-1;t>-1;t--)this.instances[t].examine(e)}}const y={CLICK:g.emission("root","click"),KEYDOWN:g.emission("root","keydown"),KEYUP:g.emission("root","keyup")},C={TAB:{id:"tab",value:9},ESCAPE:{id:"escape",value:27},END:{id:"end",value:35},HOME:{id:"home",value:36},LEFT:{id:"left",value:37},UP:{id:"up",value:38},RIGHT:{id:"right",value:39},DOWN:{id:"down",value:40}},N=e=>Object.values(C).filter((t=>t.value===e))[0];class R extends v{constructor(){super(document.documentElement,"root"),this.node.setAttribute(g.attr("js"),!0),this.listen()}listen(){document.documentElement.addEventListener("click",this.click.bind(this),{capture:!0}),document.documentElement.addEventListener("keydown",this.keydown.bind(this),{capture:!0}),document.documentElement.addEventListener("keyup",this.keyup.bind(this),{capture:!0})}click(e){this.emit(y.CLICK,e.target)}keydown(e){this.emit(y.KEYDOWN,N(e.keyCode))}keyup(e){this.emit(y.KEYUP,N(e.keyCode))}}class D extends b{constructor(){super("stage"),this.root=new R,super.add(this.root),this.observer=new MutationObserver(this.mutate.bind(this)),this.modifications=[],this.willModify=!1,this.modifying=this.modify.bind(this)}hasElement(e){for(const t of this.collection)if(t.node===e)return!0;return!1}getElement(e){for(const t of this.collection)if(t.node===e)return t;const t=new v(e);return this.add(t),h.debug(`add element [${t.id}] ${t.html}`),t}getProxy(e){if(!this.hasElement(e))return null;return this.getElement(e).proxy}add(e){super.add(e),this.put(e,this.root)}put(e,t){let s=0;for(let i=t.children.length-1;i>-1;i--){const n=t.children[i],r=e.node.compareDocumentPosition(n.node);if(r&Node.DOCUMENT_POSITION_CONTAINS)return void this.put(e,n);if(r&Node.DOCUMENT_POSITION_CONTAINED_BY)t.removeChild(n),e.addChild(n,0);else if(r&Node.DOCUMENT_POSITION_PRECEDING){s=i+1;break}}t.addChild(e,s)}activate(){this.observer.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0})}deactivate(){this.observer.disconnect()}mutate(e){const t=[];e.forEach((e=>{switch(e.type){case"childList":e.removedNodes.forEach((e=>this.dispose(e))),e.addedNodes.forEach((e=>this.parse(e)));break;case"attributes":if(this.hasElement(e.target)){const s=this.getElement(e.target);s.prepare(e.attributeName),-1===t.indexOf(s)&&t.push(s);for(const e of s.descendants)-1===t.indexOf(e)&&t.push(e)}-1===this.modifications.indexOf(e.target)&&this.modifications.push(e.target)}})),t.forEach((e=>e.examine())),this.modifications.length&&!this.willModify&&(this.willModify=!0,window.requestAnimationFrame(this.modifying))}modify(){this.willModify=!1;const e=this.modifications.slice();this.modifications.length=0;for(const t of e)document.documentElement.contains(t)&&this.parse(t)}dispose(e){const t=[];this.forEach((s=>{e.contains(s.node)&&t.push(s)}));for(const e of t)e.dispose(),this.remove(e)}parse(t,s,i){const n=s?[s]:e.getModule("register").collection,r=[];for(const e of n){const s=e.parse(t,i);for(const t of s){const s=this.getElement(t);s.project(e),-1===r.indexOf(s)&&r.push(s)}}for(const e of r)e.populate()}}class L extends b{constructor(){super("render"),this.rendering=this.render.bind(this),this.nexts=new _}activate(){window.requestAnimationFrame(this.rendering)}request(e){this.nexts.add(e)}render(){if(!e.isActive)return;if(window.requestAnimationFrame(this.rendering),this.forEach((e=>e.render())),!this.nexts.length)return;const t=this.nexts.clone();this.nexts.clear(),t.forEach((e=>e.next())),u(p.RENDER)}}class w extends b{constructor(){super("resize"),this.requireResize=!1,this.resizing=this.resize.bind(this);const e=this.request.bind(this);document.fonts&&document.fonts.ready.then(e),window.addEventListener("resize",e),window.addEventListener("orientationchange",e)}activate(){this.request()}request(){this.requireResize||(this.requireResize=!0,window.requestAnimationFrame(this.resizing))}resize(){this.requireResize&&(this.forEach((e=>e.resize())),this.requireResize=!1,u(p.RESIZE))}}class I extends b{constructor(){super("lock"),this._isLocked=!1,this._scrollY=0,this.onPopulate=this.lock.bind(this),this.onEmpty=this.unlock.bind(this)}get isLocked(){return this._isLocked}lock(){if(!this._isLocked){this._isLocked=!0,this._scrollY=window.scrollY;const e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.setAttribute(g.attr("scrolling"),"false"),document.body.style.top=-this._scrollY+"px",this.behavior=getComputedStyle(document.documentElement).getPropertyValue("scroll-behavior"),"smooth"===this.behavior&&(document.documentElement.style.scrollBehavior="auto"),e>0&&document.documentElement.style.setProperty("--scrollbar-width",`${e}px`),u(p.SCROLL_LOCK)}}unlock(){this._isLocked&&(this._isLocked=!1,document.documentElement.removeAttribute(g.attr("scrolling")),document.body.style.top="",window.scrollTo(0,this._scrollY),"smooth"===this.behavior&&document.documentElement.style.removeProperty("scroll-behavior"),document.documentElement.style.removeProperty("--scrollbar-width"),u(p.SCROLL_UNLOCK))}move(e){this._isLocked?(this._scrollY+=e,document.body.style.top=-this._scrollY+"px"):window.scrollTo(0,window.scrollY+e)}}class x extends b{constructor(){super("load"),this.loading=this.load.bind(this)}activate(){window.addEventListener("load",this.loading)}load(){this.forEach((e=>e.load()))}}const O=["Marianne","Spectral"];class P extends b{constructor(){super("font-swap"),this.swapping=this.swap.bind(this)}activate(){document.fonts&&document.fonts.addEventListener("loadingdone",this.swapping)}swap(){const e=O.filter((e=>document.fonts.check(`16px ${e}`)));this.forEach((t=>t.swapFont(e)))}}class k extends b{constructor(){super("mouse-move"),this.requireMove=!1,this._isMoving=!1,this.moving=this.move.bind(this),this.requesting=this.request.bind(this),this.onPopulate=this.listen.bind(this),this.onEmpty=this.unlisten.bind(this)}listen(){this._isMoving||(this._isMoving=!0,this.requireMove=!1,document.documentElement.addEventListener("mousemove",this.requesting))}unlisten(){this._isMoving&&(this._isMoving=!1,this.requireMove=!1,document.documentElement.removeEventListener("mousemove",this.requesting))}request(e){this._isMoving&&(this.point={x:e.clientX,y:e.clientY},this.requireMove||(this.requireMove=!0,window.requestAnimationFrame(this.moving)))}move(){this.requireMove&&(this.forEach((e=>e.mouseMove(this.point))),this.requireMove=!1)}}class M extends b{constructor(){super("hash"),this.handling=this.handle.bind(this),this.getLocationHash()}activate(){window.addEventListener("hashchange",this.handling)}deactivate(){window.removeEventListener("hashchange",this.handling)}_sanitize(e){return"#"===e.charAt(0)?e.substring(1):e}set hash(e){const t=this._sanitize(e);this._hash!==t&&(window.location.hash=t)}get hash(){return this._hash}getLocationHash(){const e=window.location.hash;this._hash=this._sanitize(e)}handle(e){this.getLocationHash(),this.forEach((t=>t.handleHash(this._hash,e)))}}const G=new class{constructor(){e.create(T),e.create(D),e.create(L),e.create(w),e.create(I),e.create(x),e.create(P),e.create(k),e.create(M);const t=e.getModule("register");this.register=t.register.bind(t)}get isActive(){return e.isActive}start(){h.debug("START"),e.isActive=!0,u(p.START)}stop(){h.debug("STOP"),e.isActive=!1,u(p.STOP)}};const $=e=>{switch(!0){case e.hover:return"-hover";case e.active:return"-active";default:return""}},H=new class{getColor(e,t,s,i={}){const n=`--${e}-${t}-${s}${$(i)}`;return getComputedStyle(document.documentElement).getPropertyValue(n).trim()||null}},U=e=>"."===e.charAt(0)?e.substr(1):e,B=e=>{switch(!0){case!e.className:return[];case"string"==typeof e.className:return e.className.split(" ");case"string"==typeof e.className.baseVal:return e.className.baseVal.split(" ")}return[]},F=(e,t,s)=>{t=U(t);const i=B(e),n=i.indexOf(t);!0===s?n>-1&&i.splice(n,1):-1===n&&i.push(t),e.className=i.join(" ")},W=(e,t)=>F(e,t),q=(e,t)=>F(e,t,!0),z=(e,t)=>B(e).indexOf(U(t))>-1,j=['[tabindex]:not([tabindex="-1"])',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),K=e=>e.querySelectorAll(j);let V=0;const Y=e=>{if(!document.getElementById(e))return e;let t=!0;const s=e;for(;t;)V++,e=`${s}-${V}`,t=document.getElementById(e);return e},X={addClass:W,hasClass:z,removeClass:q,queryParentSelector:f,querySelectorAllArray:E,queryActions:K,uniqueId:Y,dispatch:d};const Q={DataURISVG:class{constructor(e=0,t=0){this._width=e,this._height=t,this._content=""}get width(){return this._width}set width(e){this._width=e}get height(){return this._height}set height(e){this._height=e}get content(){return this._content}set content(e){this._content=e}getDataURI(e=!1){let t=`<svg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 ${this._width} ${this._height}' width='${this._width}px' height='${this._height}px'>${this._content}</svg>`;return t=t.replace(/#/gi,"%23"),e&&(t=t.replace(/</gi,"%3C"),t=t.replace(/>/gi,"%3E"),t=t.replace(/"/gi,"'"),t=t.replace(/{/gi,"%7B"),t=t.replace(/}/gi,"%7D")),`data:image/svg+xml;charset=utf8,${t}`}}},Z={supportLocalStorage:()=>{try{return"localStorage"in window&&null!==window.localStorage}catch(e){return!1}},supportAspectRatio:()=>!!window.CSS&&CSS.supports("aspect-ratio: 16 / 9")},J={TransitionSelector:{NONE:g.selector("transition-none")}},ee=(e,...t)=>(t.forEach((t=>{const s=Object.keys(t).reduce(((e,s)=>(e[s]=Object.getOwnPropertyDescriptor(t,s),e)),{});Object.getOwnPropertySymbols(t).forEach((e=>{const i=Object.getOwnPropertyDescriptor(t,e);i.enumerable&&(s[e]=i)})),Object.defineProperties(e,s)})),e),te={completeAssign:ee},se={},ie={};Object.defineProperty(ie,"isLegacy",{get:()=>e.isLegacy}),ie.setLegacy=()=>{e.isLegacy=!0},se.legacy=ie,se.dom=X,se.image=Q,se.support=Z,se.motion=J,se.property=te,se.ns=g,se.register=G.register,se.state=e,se.query=(e=>{if(e&&e.search){const e=new URLSearchParams(window.location.search).entries();return Object.fromEntries(e)}return null})(window.location),Object.defineProperty(se,"preventManipulation",{get:()=>m.preventManipulation}),Object.defineProperty(se,"stage",{get:()=>e.getModule("stage")});const ne=t=>e.getModule("stage").getProxy(t);ne.version=n,ne.prefix=t,ne.organisation=i,ne.Modes=c,Object.defineProperty(ne,"mode",{set:e=>{m.mode=e},get:()=>m.mode}),ne.internals=se,ne.version=n,ne.start=G.start,ne.stop=G.stop,ne.inspector=h,ne.colors=H;const re=window[s];ne.internals.configuration=re,m.configure(re,ne.start,ne.internals.query),window[s]=ne;class ae{constructor(){this.emissions={}}add(e,t){if("function"!=typeof t)throw new Error("closure must be a function");this.emissions[e]||(this.emissions[e]=[]),this.emissions[e].push(t)}remove(e,t){if(this.emissions[e])if(t){const s=this.emissions[e].indexOf(t);s>-1&&this.emissions[e].splice(s)}else delete this.emissions[e]}emit(e,t){if(!this.emissions[e])return[];const s=[];for(const i of this.emissions[e])i&&s.push(i(t));return s}dispose(){this.emissions=null}}class oe{constructor(e,t){this.id=e,this.minWidth=t}test(){return window.matchMedia(`(min-width: ${this.minWidth}em)`).matches}}const he={XS:new oe("xs",0),SM:new oe("sm",36),MD:new oe("md",48),LG:new oe("lg",62),XL:new oe("xl",78)},le={CLICK:g.event("click")};class ce{constructor(e=!0){this.jsAttribute=e,this._isRendering=!1,this._isResizing=!1,this._isScrollLocked=!1,this._isLoading=!1,this._isSwappingFont=!1,this._isEnabled=!0,this._isDisposed=!1,this._listeners={},this._handlingClick=this._handleClick.bind(this),this._hashes=[],this._hash="",this._keyListenerTypes=[],this._keys=[],this.handlingKey=this.handleKey.bind(this),this._emitter=new ae,this._ascent=new ae,this._descent=new ae,this._registrations=[],this._nexts=[]}static get instanceClassName(){return"Instance"}_config(e,t){this.element=e,this.registration=t,this.node=e.node,this.id=e.node.id,this.jsAttribute&&this.setAttribute(t.attribute,!0),this.init()}init(){}get proxy(){const e=this;return ee({render:()=>e.render(),resize:()=>e.resize()},{get node(){return e.node},get isEnabled(){return e.isEnabled},set isEnabled(t){e.isEnabled=t}})}log(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.log.apply(h,e)}debug(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.debug.apply(h,e)}info(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.info.apply(h,e)}warn(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.warn.apply(h,e)}error(...e){e.unshift(`${this.registration.instanceClassName} #${this.id} - `),h.error.apply(h,e)}register(t,s){const i=e.getModule("register").register(t,s,this);this._registrations.push(i)}getRegisteredInstances(e){for(const t of this._registrations)if(t.hasInstanceClassName(e))return t.instances.collection;return[]}dispatch(e,t=null,s=!0,i=!1){d(this.node,e,t,s,i)}listen(e,t,s){this._listeners[e]||(this._listeners[e]=[]);const i=this._listeners[e],n=new ue(this.node,e,t,s);i.push(n),n.listen()}unlisten(e,t,s){if(!e){for(const e in this._listeners)this.unlisten(e);return}const i=this._listeners[e];if(!i)return;if(!t)return void i.forEach((t=>this.unlisten(e,t.closure)));const n=i.filter((e=>e.closure===t&&e.matchOptions(s)));n.forEach((e=>e.unlisten())),this._listeners[e]=i.filter((e=>-1===n.indexOf(e)))}listenClick(e){this.listen("click",this._handlingClick,e)}unlistenClick(e){this.unlisten("click",this._handlingClick,e)}_handleClick(e){this.handleClick(e),this.dispatch(le.CLICK,this)}handleClick(e){}set hash(t){e.getModule("hash").hash=t}get hash(){return e.getModule("hash").hash}listenHash(t,s){if(!this._hashes)return;0===this._hashes.length&&e.add("hash",this);const i=new ge(t,s);this._hashes=this._hashes.filter((e=>e.hash!==t)),this._hashes.push(i)}unlistenHash(t){this._hashes&&(this._hashes=this._hashes.filter((e=>e.hash!==t)),0===this._hashes.length&&e.remove("hash",this))}handleHash(e,t){if(this._hashes)for(const s of this._hashes)s.handle(e,t)}listenKey(e,t,s=!1,i=!1,n="down"){-1===this._keyListenerTypes.indexOf(n)&&(this.listen(`key${n}`,this.handlingKey),this._keyListenerTypes.push(n)),this._keys.push(new de(n,e,t,s,i))}unlistenKey(e,t){this._keys=this._keys.filter((s=>s.code!==e||s.closure!==t)),this._keyListenerTypes.forEach((e=>{this._keys.some((t=>t.type===e))||this.unlisten(`key${e}`,this.handlingKey)}))}handleKey(e){for(const t of this._keys)t.handle(e)}get isEnabled(){return this._isEnabled}set isEnabled(e){this._isEnabled=e}get isRendering(){return this._isRendering}set isRendering(t){this._isRendering!==t&&(t?e.add("render",this):e.remove("render",this),this._isRendering=t)}render(){}request(t){this._nexts.push(t),e.getModule("render").request(this)}next(){const e=this._nexts.slice();this._nexts.length=0;for(const t of e)t&&t()}get isResizing(){return this._isResizing}set isResizing(t){this._isResizing!==t&&(t?(e.add("resize",this),this.resize()):e.remove("resize",this),this._isResizing=t)}resize(){}isBreakpoint(e){return!0==("string"==typeof e)?he[e.toUpperCase()].test():e.test()}get isScrollLocked(){return this._isScrollLocked}set isScrollLocked(t){this._isScrollLocked!==t&&(t?e.add("lock",this):e.remove("lock",this),this._isScrollLocked=t)}get isLoading(){return this._isLoading}set isLoading(t){this._isLoading!==t&&(t?e.add("load",this):e.remove("load",this),this._isLoading=t)}load(){}get isSwappingFont(){return this._isSwappingFont}set isSwappingFont(t){this._isSwappingFont!==t&&(t?e.add("font-swap",this):e.remove("font-swap",this),this._isSwappingFont=t)}swapFont(){}get isMouseMoving(){return this._isMouseMoving}set isMouseMoving(t){this._isMouseMoving!==t&&(t?e.add("mouse-move",this):e.remove("mouse-move",this),this._isMouseMoving=t)}mouseMove(e){}examine(e){this.node.matches(this.registration.selector)?this.mutate(e):this._dispose()}mutate(e){}retrieveNodeId(e,t){if(e.id)return e.id;const s=Y(`${this.id}-${t}`);return this.warn(`add id '${s}' to ${t}`),e.setAttribute("id",s),s}get isDisposed(){return this._isDisposed}_dispose(){this.debug(`dispose instance of ${this.registration.instanceClassName} on element [${this.element.id}]`),this.removeAttribute(this.registration.attribute),this.unlisten(),e.remove("hash",this),this._hashes=null,this._keys=null,this.isRendering=!1,this.isResizing=!1,this._nexts=null,e.getModule("render").nexts.remove(this),this.isScrollLocked=!1,this.isLoading=!1,this.isSwappingFont=!1,this.isMouseMoving=!1,this._emitter.dispose(),this._emitter=null,this._ascent.dispose(),this._ascent=null,this._descent.dispose(),this._descent=null,this.element.remove(this);for(const t of this._registrations)e.remove("register",t);this._registrations=null,this.registration.remove(this),this._isDisposed=!0,this.dispose()}dispose(){}emit(e,t){return this.element.emit(e,t)}addEmission(e,t){this._emitter.add(e,t)}removeEmission(e,t){this._emitter.remove(e,t)}ascend(e,t){return this.element.ascend(e,t)}addAscent(e,t){this._ascent.add(e,t)}removeAscent(e,t){this._ascent.remove(e,t)}descend(e,t){return this.element.descend(e,t)}addDescent(e,t){this._descent.add(e,t)}removeDescent(e,t){this._descent.remove(e,t)}get style(){return this.node.style}addClass(e){W(this.node,e)}removeClass(e){q(this.node,e)}hasClass(e){return z(this.node,e)}get classNames(){return B(this.node)}remove(){this.node.parentNode.removeChild(this.node)}setAttribute(e,t){this.node.setAttribute(e,t)}getAttribute(e){return this.node.getAttribute(e)}hasAttribute(e){return this.node.hasAttribute(e)}removeAttribute(e){this.node.removeAttribute(e)}setProperty(e,t){this.node.style.setProperty(e,t)}removeProperty(e){this.node.style.removeProperty(e)}focus(){this.node.focus()}blur(){this.node.blur()}focusClosest(){const e=this._focusClosest(this.node.parentNode);e&&e.focus()}_focusClosest(e){if(!e)return null;const t=[...K(e)];if(t.length<=1)return this._focusClosest(e.parentNode);{const e=t.indexOf(this.node);return t[e+(e<t.length-1?1:-1)]}}get hasFocus(){return this.node===document.activeElement}scrollIntoView(){const t=this.getRect(),s=e.getModule("lock");t.top<0&&s.move(t.top-50),t.bottom>window.innerHeight&&s.move(t.bottom-window.innerHeight+50)}matches(e){return this.node.matches(e)}querySelector(e){return this.node.querySelector(e)}querySelectorAll(e){return E(this.node,e)}queryParentSelector(e){return f(this.node,e)}getRect(){const e=this.node.getBoundingClientRect();return e.center=e.left+.5*e.width,e.middle=e.top+.5*e.height,e}get isLegacy(){return e.isLegacy}}class de{constructor(e,t,s,i,n){this.type=e,this.eventType=`key${e}`,this.keyCode=t,this.closure=s,this.preventDefault=!0===i,this.stopPropagation=!0===n}handle(e){e.type===this.eventType&&e.keyCode===this.keyCode.value&&(this.closure(e),this.preventDefault&&e.preventDefault(),this.stopPropagation&&e.stopPropagation())}}class ue{constructor(e,t,s,i){this._node=e,this._type=t,this._closure=s,this._options=i}get closure(){return this._closure}listen(){this._node.addEventListener(this._type,this._closure,this._options)}matchOptions(e=null){switch(!0){case null===e:case"boolean"==typeof this._options&&"boolean"==typeof e&&this._options===e:return!0;case Object.keys(this._options).length!==Object.keys(e).length:return!1;case Object.keys(e).every((t=>this._options[t]===e[t])):return!0}return!1}unlisten(){this._node.removeEventListener(this._type,this._closure,this._options)}}class ge{constructor(e,t){this.hash=e,this.add=t}handle(e,t){this.hash===e&&this.add(t)}}const pe={DISCLOSE:g.event("disclose"),CONCEAL:g.event("conceal"),CURRENT:g.event("current")},me={RESET:g.emission("disclosure","reset"),ADDED:g.emission("disclosure","added"),RETRIEVE:g.emission("disclosure","retrieve"),REMOVED:g.emission("disclosure","removed"),GROUP:g.emission("disclosure","group"),UNGROUP:g.emission("disclosure","ungroup"),SPOTLIGHT:g.emission("disclosure","spotlight")};class _e extends ce{constructor(e,t,s,i){super(),this.type=e,this._selector=t,this.DisclosureButtonInstanceClass=s,this.disclosuresGroupInstanceClassName=i,this.modifier=this._selector+"--"+this.type.id,this._isPristine=!0,this._isRetrievingPrimaries=!1,this._hasRetrieved=!1,this._primaryButtons=[]}static get instanceClassName(){return"Disclosure"}init(){this.addDescent(me.RESET,this.reset.bind(this)),this.addDescent(me.GROUP,this.update.bind(this)),this.addDescent(me.UNGROUP,this.update.bind(this)),this.addAscent(me.SPOTLIGHT,this.disclose.bind(this)),this.register(`[aria-controls="${this.id}"]`,this.DisclosureButtonInstanceClass),this.ascend(me.ADDED),this.listenHash(this.id,this._spotlight.bind(this)),this.update()}get isEnabled(){return super.isEnabled}set isEnabled(e){this.isEnabled!==e&&(super.isEnabled=e,e?this.ascend(me.ADDED):this.ascend(me.REMOVED))}get isPristine(){return this._isPristine}get proxy(){const e=this,t=Object.assign(super.proxy,{disclose:e.disclose.bind(e),focus:e.focus.bind(e)});this.type.canConceal&&(t.conceal=e.conceal.bind(e));return ee(t,{get buttons(){return e.buttons.map((e=>e.proxy))},get group(){const t=e.group;return t?t.proxy:null},get isDisclosed(){return e.isDisclosed}})}get buttons(){return this.getRegisteredInstances(this.DisclosureButtonInstanceClass.instanceClassName)}update(){this.getGroup(),this.retrievePrimaries()}getGroup(){if(!this.disclosuresGroupInstanceClassName)return void(this._group=null);const e=this.element.getAscendantInstance(this.disclosuresGroupInstanceClassName,this.constructor.instanceClassName);e&&e.validate(this)?this._group=e:this._group=null}get group(){return this._group}disclose(e){return!(!0===this.isDisclosed||!this.isEnabled)&&(this._isPristine=!1,this.isDisclosed=!0,!e&&this.group&&(this.group.current=this),!0)}conceal(e,t=!0){return!1!==this.isDisclosed&&(!(!this.type.canConceal&&this.group&&this.group.current===this)&&(this.isDisclosed=!1,!e&&this.group&&this.group.current===this&&(this.group.current=null),t||this.focus(),this._isPristine||this.descend(me.RESET),!0))}get isDisclosed(){return this._isDisclosed}set isDisclosed(e){if(this._isDisclosed!==e&&(this.isEnabled||!0!==e)){this.dispatch(e?pe.DISCLOSE:pe.CONCEAL,this),this._isDisclosed=e,e?this.addClass(this.modifier):this.removeClass(this.modifier);for(let t=0;t<this.buttons.length;t++)this.buttons[t].apply(e)}}get isInitiallyDisclosed(){return this.primaryButtons.some((e=>e.isInitiallyDisclosed))}hasRetrieved(){return this._hasRetrieved}reset(){}toggle(e){if(this.type.canConceal)switch(!0){case!e:case this.isDisclosed:this.conceal(!1,!1);break;default:this.disclose()}else this.disclose()}get buttonHasFocus(){return this.buttons.some((e=>e.hasFocus))}get hasFocus(){return!!super.hasFocus||(!!this.buttonHasFocus||this.querySelectorAll(":focus").length>0)}focus(){this._primaryButtons.length>0&&this._primaryButtons[0].focus()}get primaryButtons(){return this._primaryButtons}retrievePrimaries(){this._isRetrievingPrimaries||(this._isRetrievingPrimaries=!0,this.request(this._retrievePrimaries.bind(this)))}_retrievePrimaries(){if(this._isRetrievingPrimaries=!1,this._primaryButtons=this._electPrimaries(this.buttons),!this._hasRetrieved&&0!==this._primaryButtons.length)if(this.retrieved(),this._hasRetrieved=!0,this.applyAbility(!0),this.group)this.group.retrieve();else if(this._isPristine&&this.isEnabled&&!this.group)switch(!0){case this.hash===this.id:this._spotlight();break;case this.isInitiallyDisclosed:this.disclose()}}retrieved(){}_spotlight(){this.disclose(),this.request((()=>{this.ascend(me.SPOTLIGHT)}))}_electPrimaries(e){return e.filter((e=>e.canDisclose&&!this.node.contains(e.node)))}applyAbility(e=!1){const t=!this._primaryButtons.every((e=>e.isDisabled));this.isEnabled!==t&&(this.isEnabled=t,e||(!this.isEnabled&&this.isDisclosed&&(this.group?this.ascend(me.REMOVED):this.type.canConceal&&this.conceal()),this.isEnabled&&(this.group&&this.ascend(me.ADDED),this.hash===this.id&&this._spotlight())))}dispose(){this._group=null,this._primaryButtons=null,super.dispose(),this.ascend(me.REMOVED)}}class be extends ce{constructor(e){super(),this.type=e,this.attributeName=e.ariaState?"aria-"+e.id:g.attr(e.id),this._canDisclose=!1}static get instanceClassName(){return"DisclosureButton"}get isPrimary(){return this.registration.creator.primaryButtons.includes(this)}get canDisclose(){return this._canDisclose}get isDisabled(){return this.type.canDisable&&this.hasAttribute("disabled")}init(){this._canDisclose=this.hasAttribute(this.attributeName),this._isInitiallyDisclosed=this.isDisclosed,this._isContained=this.registration.creator.node.contains(this.node),this.controlsId=this.getAttribute("aria-controls"),this.registration.creator.retrievePrimaries(),this.listenClick()}get proxy(){return Object.assign(super.proxy,{focus:this.focus.bind(this)})}handleClick(e){this.registration.creator&&this.registration.creator.toggle(this.canDisclose)}mutate(e){this._canDisclose=this.hasAttribute(this.attributeName),this.registration.creator.applyAbility(),!this._isApplying&&this.isPrimary&&e.indexOf(this.attributeName)>-1&&this.registration.creator&&(this.isDisclosed?this.registration.creator.disclose():this.type.canConceal&&this.registration.creator.conceal())}apply(e){this.canDisclose&&(this._isApplying=!0,this.setAttribute(this.attributeName,e),this.request((()=>{this._isApplying=!1})))}get isDisclosed(){return"true"===this.getAttribute(this.attributeName)}get isInitiallyDisclosed(){return this._isInitiallyDisclosed}focus(){super.focus(),this.scrollIntoView()}measure(e){const t=this.rect;this._dx=e.x-t.x,this._dy=e.y-t.y}get dx(){return this._dx}get dy(){return this._dy}}const Ee={PREVENT_CONCEAL:g.attr.selector("prevent-conceal"),GROUP:g.attr("group")};class fe extends ce{constructor(e,t){super(t),this.disclosureInstanceClassName=e,this._members=[],this._index=-1,this._isRetrieving=!1,this._hasRetrieved=!1,this._isGrouped=!0}static get instanceClassName(){return"DisclosuresGroup"}init(){this.addAscent(me.ADDED,this.update.bind(this)),this.addAscent(me.RETRIEVE,this.retrieve.bind(this)),this.addAscent(me.REMOVED,this.update.bind(this)),this.descend(me.GROUP),this._isGrouped="false"!==this.getAttribute(Ee.GROUP),this.update()}get proxy(){const e=this,t={set index(t){e.index=t},get index(){return e.index},get length(){return e.length},get current(){const t=e.current;return t?t.proxy:null},get members(){return e.members.map((e=>e.proxy))},get hasFocus(){return e.hasFocus},set isGrouped(t){e.isGrouped=t},get isGrouped(){return e.isGrouped}};return ee(super.proxy,t)}validate(e){return!0}getMembers(){const e=this.element.getDescendantInstances(this.disclosureInstanceClassName,this.constructor.instanceClassName,!0);this._members=e.filter(this.validate.bind(this)).filter((e=>e.isEnabled));e.filter((e=>!this._members.includes(e))).forEach((e=>e.conceal()))}retrieve(e=!1){this._isRetrieving||this._hasRetrieved&&!e||(this._isRetrieving=!0,this.request(this._retrieve.bind(this)))}_retrieve(){if(this.getMembers(),this._isRetrieving=!1,this._hasRetrieved=!0,this.isGrouped){if(this.hash)for(let e=0;e<this.length;e++){const t=this.members[e];if(this.hash===t.id)return this.index=e,this.request((()=>{this.ascend(me.SPOTLIGHT)})),e}for(let e=0;e<this.length;e++){if(this.members[e].isInitiallyDisclosed)return this.index=e,e}return this.getIndex()}for(let e=0;e<this.length;e++){const t=this.members[e];t.isInitiallyDisclosed&&t.disclose(!0)}}update(){this.getMembers(),this._hasRetrieved&&this.isGrouped&&this.getIndex()}get members(){return this._members}get length(){return this.members?this.members.length:0}getIndex(e=-1){this._index=void 0;let t=e;for(let e=0;e<this.length;e++)if(this.members[e].isDisclosed){t=e;break}return this.index=t,t}get index(){return this._index}set index(e){if(!(e<-1||e>=this.length||e===this._index)){this._index=e;for(let t=0;t<this.length;t++){const s=this.members[t];e===t?s.isDisclosed||s.disclose(!0):!this.isGrouped&&this.canUngroup||!1===s.isDisclosed||s.conceal(!0)}this.apply(),this.dispatch(pe.CURRENT,this.current)}}get current(){return-1===this._index||isNaN(this._index)?null:this._members[this._index]||null}set current(e){this.index=this.members.indexOf(e)}get hasFocus(){const e=this.current;return!!e&&e.hasFocus}set isGrouped(e){const t=!!e;this._isGrouped!==t&&(this._isGrouped=t,this.setAttribute(Ee.GROUP,!!e),this.update())}get isGrouped(){return this._isGrouped}get canUngroup(){return!1}mutate(e){e.includes(Ee.GROUP)&&(this.isGrouped="false"!==this.getAttribute(Ee.GROUP))}apply(){}dispose(){super.dispose(),this.descend(me.UNGROUP),this._members=null}}const Ae={EXPAND:{id:"expanded",ariaState:!0,ariaControls:!0,canConceal:!0,canDisable:!0},SELECT:{id:"selected",ariaState:!0,ariaControls:!0,canConceal:!1,canDisable:!0},OPENED:{id:"opened",ariaState:!1,ariaControls:!0,canConceal:!0,canDisable:!1}};class Te extends be{constructor(){super(Ae.EXPAND)}static get instanceClassName(){return"CollapseButton"}}const Se={COLLAPSE:g.selector("collapse"),COLLAPSING:g.selector("collapsing")};const ve={CHANGE:g("equisized")};const ye={INJECT_SVG:`[${g.attr("inject-svg")}]`};const Ce={ARTWORK_USE:`${g.selector("artwork")} use`},Ne={ASSESS_FILE:`${g.attr.selector("assess-file")}`,DETAIL:`${g.attr.selector("assess-file")} [class$="__detail"], ${g.attr.selector("assess-file")} [class*="__detail "]`},Re={UPDATE:g.emission("assess","update"),ADDED:g.emission("assess","added")};const De=["32x9","16x9","3x2","4x3","1x1","3x4","2x3"],Le=(e,t)=>t.map((t=>g.selector(`${e}--${t}`))).join(","),we=`${g.selector("responsive-img")}, ${Le("responsive-img",De)}, ${g.selector("responsive-vid")}, ${Le("responsive-vid",["16x9","4x3","1x1"])}`,Ie={RATIO:`${g.selector("ratio")}, ${Le("ratio",De)}, ${we}`},xe=window[s];const Oe={TOP:g.selector("placement--top"),RIGHT:g.selector("placement--right"),BOTTOM:g.selector("placement--bottom"),LEFT:g.selector("placement--left")},Pe={START:g.selector("placement--start"),CENTER:g.selector("placement--center"),END:g.selector("placement--end")},ke={TOP:"place_top",RIGHT:"place_right",BOTTOM:"place_bottom",LEFT:"place_left"},Me={START:"align_start",CENTER:"align_center",END:"align_end"},Ge={AUTO:"placement_auto",MANUAL:"placement_manual"};ne.core={Instance:ce,Breakpoints:he,KeyCodes:C,Disclosure:_e,DisclosureButton:be,DisclosuresGroup:fe,DisclosureType:Ae,DisclosureEvent:pe,DisclosureSelector:Ee,DisclosureEmission:me,Collapse:class extends _e{constructor(){super(Ae.EXPAND,Se.COLLAPSE,Te,"CollapsesGroup")}static get instanceClassName(){return"Collapse"}init(){super.init(),this.listen("transitionend",this.endCollapsing.bind(this))}endCollapsing(e){this._isCollpasing&&(this._timeout&&clearTimeout(this._timeout),this._timeout=null,this._isCollpasing=!1,this.removeClass(Se.COLLAPSING),this.isDisclosed||this.isLegacy&&(this.style.maxHeight=""))}unbound(){this.isLegacy&&(this.style.maxHeight="none")}disclose(e){if(!0===this.isDisclosed||!this.isEnabled)return!1;this.unbound(),this.collapsing((()=>super.disclose(e)))}conceal(e,t){if(!1===this.isDisclosed)return!1;this.collapsing((()=>super.conceal(e,t)))}collapsing(e){this._isCollpasing=!0,this._timeout&&clearTimeout(this._timeout),this.addClass(Se.COLLAPSING),this.adjust(),this.request((()=>{e(),this._timeout=setTimeout(this.endCollapsing.bind(this),500)}))}adjust(){this.setProperty("--collapser","none");const e=this.node.offsetHeight;this.setProperty("--collapse",-e+"px"),this.setProperty("--collapser","")}reset(){this.isPristine||(this.isDisclosed=!1)}_electPrimaries(e){const t=this.element.parent.instances.map((e=>e.collapsePrimary)).filter((t=>void 0!==t&&e.indexOf(t)>-1));if(1===t.length)return t;if(1===(e=super._electPrimaries(e)).length)return e;const s=e.filter((e=>e.dy>=0));if(s.length>0&&(e=s),1===e.length)return e;const i=Math.min(...e.map((e=>e.dy))),n=e.filter((e=>e.dy===i));return n.length>0&&(e=n),1===e.length||e.sort(((e,t)=>Math.abs(t.dx)-Math.abs(e.dx))),e}},CollapseButton:Te,CollapsesGroup:class extends fe{constructor(){super("Collapse")}static get instanceClassName(){return"CollapsesGroup"}get canUngroup(){return!0}},CollapseSelector:Se,RootSelector:{ROOT:":root"},RootEmission:y,Equisized:class extends ce{static get instanceClassName(){return"Equisized"}init(){this.ascend(ve.CHANGE)}measure(){return this.isLegacy&&(this.style.width="auto"),this.getRect().width}adjust(e){this.isLegacy&&(this.style.width=`${e}px`)}dispose(){this.ascend(ve.CHANGE)}},EquisizedEmission:ve,Toggle:class extends ce{static get instanceClassName(){return"Toggle"}init(){this.pressed="true"===this.pressed,this.listenClick()}handleClick(){this.toggle()}toggle(){this.pressed="true"!==this.pressed}get pressed(){return this.getAttribute("aria-pressed")}set pressed(e){this.setAttribute("aria-pressed",e?"true":"false")}get proxy(){const e=this,t=Object.assign(super.proxy,{toggle:e.toggle.bind(e)});return ee(t,{get pressed(){return e.pressed},set pressed(t){e.pressed=t}})}},EquisizedsGroup:class extends ce{static get instanceClassName(){return"EquisizedsGroup"}init(){this.isResizing=!0,this.isLoading=!0,this.addAscent(ve.CHANGE,this.resize.bind(this))}load(){this.resize()}resize(){const e=this.element.getDescendantInstances("Equisized");this.isLegacy||this.style.setProperty("--equisized-width","auto");const t=Math.max(...e.map((e=>e.measure())));this.isLegacy?e.forEach((e=>e.adjust(t))):this.style.setProperty("--equisized-width",`${t}px`)}},InjectSvg:class extends ce{static get instanceClassName(){return"InjectSvg"}init(){this.node&&(this.img=this.node.querySelector("img")),this.isLegacy||this.replace()}get proxy(){const e=this;return Object.assign(super.proxy,{replace:e.replace.bind(e),restore:e.restore.bind(e)})}fetch(){this.img&&(this.imgID=this.img.getAttribute("id"),this.imgClass=this.img.getAttribute("class"),this.imgURL=this.img.getAttribute("src"),fetch(this.imgURL).then((e=>e.text())).then((e=>{const t=(new DOMParser).parseFromString(e,"text/html");this.svg=t.querySelector("svg"),this.svg&&this.replace()})))}replace(){if(!this.svg)return void this.fetch();this.imgID&&void 0!==this.imgID&&this.svg.setAttribute("id",this.imgID);let e=this.imgURL.match(/[ \w-]+\./)[0];e&&(e=e.slice(0,-1),["dark","light","system"].includes(e)&&(this.svg.innerHTML=this.svg.innerHTML.replaceAll('id="artwork-',`id="${e}-artwork-`),this.svg.innerHTML=this.svg.innerHTML.replaceAll('"#artwork-',`"#${e}-artwork-`))),this.imgClass&&void 0!==this.imgClass&&this.svg.setAttribute("class",this.imgClass),this.svg.hasAttribute("xmlns:a")&&this.svg.removeAttribute("xmlns:a"),this.node.setAttribute("data-fr-inject-svg",!0);var t,s;t=this.svg,s={"aria-hidden":!0,focusable:!1},Object.keys(s).forEach((e=>t.setAttribute(e,s[e]))),this.node.replaceChild(this.svg,this.img)}restore(){this.img&&this.svg&&(this.node.setAttribute("data-fr-inject-svg",!1),this.node.replaceChild(this.img,this.svg))}},InjectSvgSelector:ye,Artwork:class extends ce{static get instanceClassName(){return"Artwork"}init(){this.isLegacy&&this.replace()}get proxy(){return Object.assign(super.proxy,{replace:this.replace.bind(this)})}fetch(){this.xlink=this.node.getAttribute("href");const e=this.xlink.split("#");this.svgUrl=e[0],this.svgName=e[1];const t=new XMLHttpRequest;t.onload=()=>{const e=(new DOMParser).parseFromString(t.responseText,"text/html");this.realSvgContent=e.getElementById(this.svgName),this.realSvgContent&&("symbol"===this.realSvgContent.tagName?(this.use=e.querySelector('use[href="#'+this.svgName+'"]'),this.use&&this.node.parentNode.insertBefore(this.use,this.node)):this.realSvgContent.classList.add(this.node.classList),this.replace())},t.open("GET",this.svgUrl),t.send()}replace(){this.realSvgContent?this.node.parentNode.replaceChild(this.realSvgContent,this.node):this.fetch()}},ArtworkSelector:Ce,AssessFile:class extends ce{static get instanceClassName(){return"AssessFile"}init(){this.lang=this.getLang(this.node),this.href=this.getAttribute("href"),this.hreflang=this.getAttribute("hreflang"),this.file={},this.gather(),this.addAscent(Re.ADDED,this.update.bind(this)),this.addDescent(Re.ADDED,this.update.bind(this))}getFileLength(){void 0!==this.href?fetch(this.href,{method:"HEAD",mode:"cors"}).then((e=>{this.length=e.headers.get("content-length")||-1,-1===this.length&&h.warn("File size unknown: "+this.href+'\nUnable to get HTTP header: "content-length"'),this.gather()})):this.length=-1}mutate(e){-1!==e.indexOf("href")&&(this.href=this.getAttribute("href"),this.getFileLength()),-1!==e.indexOf("hreflang")&&(this.hreflang=this.getAttribute("hreflang"),this.gather())}gather(){if(this.isLegacy&&(this.length=-1),this.length){if(this.details=[],this.href){const e=this.parseExtension(this.href);e&&this.details.push(e.toUpperCase())}-1!==this.length&&this.details.push(this.bytesToSize(this.length)),this.hreflang&&this.details.push(this.getLangDisplayName(this.hreflang)),this.update()}else this.getFileLength()}update(){this.details&&(this.descend(Re.UPDATE,this.details),this.ascend(Re.UPDATE,this.details))}getLang(e){return e.lang?e.lang:document.documentElement===e?window.navigator.language:this.getLang(e.parentElement)}parseExtension(e){return e.match(/\.(\w{1,9})(?:$|[?#])/)[0].replace(".","")}getLangDisplayName(e){if(this.isLegacy)return e;const t=new Intl.DisplayNames([this.lang],{type:"language"}).of(e);return t.charAt(0).toUpperCase()+t.slice(1)}bytesToSize(e){if(-1===e)return null;let t=["octets","ko","Mo","Go","To"];"bytes"===this.getAttribute(g.attr("assess-file"))&&(t=["bytes","KB","MB","GB","TB"]);const s=parseInt(Math.floor(Math.log(e)/Math.log(1e3)),10);if(0===s)return`${e} ${t[s]}`;const i=e/1e3**s,n=Math.round(100*(i+Number.EPSILON))/100;return`${String(n).replace(".",",")} ${t[s]}`}},AssessDetail:class extends ce{static get instanceClassName(){return"AssessDetail"}init(){this.addDescent(Re.UPDATE,this.update.bind(this)),this.ascend(Re.ADDED)}update(e){this.node.innerHTML=e.join(" - ")}},AssessEmission:Re,AssessSelector:Ne,Ratio:class extends ce{static get instanceClassName(){return"Ratio"}init(){if(!xe.internals.support.supportAspectRatio()){this.ratio=16/9;for(const e in this.classNames)if(this.registration.selector.indexOf(this.classNames[e])>0){const t=this.classNames[e].split("ratio-");t[1]&&(this.ratio=t[1].split("x")[0]/t[1].split("x")[1])}this.isRendering=!0,this.update()}}render(){this.getRect().width!==this.currentWidth&&this.update()}update(){this.currentWidth=this.getRect().width,this.style.height=this.currentWidth/this.ratio+"px"}},RatioSelector:Ie,Placement:class extends ce{constructor(e=Ge.AUTO,t=[ke.BOTTOM,ke.TOP,ke.LEFT,ke.RIGHT],s=[Me.CENTER,Me.START,Me.END],i=16){super(),this._mode=e,this._places=t,this._aligns=s,this._safeAreaMargin=i,this._isShown=!1,this._x=this._y=0}static get instanceClassName(){return"Placement"}init(){this.isResizing=!0}get proxy(){const e=this,t=Object.assign(super.proxy,{show:e.show.bind(e),hide:e.hide.bind(e)});return ee(t,{get mode(){return e.mode},set mode(t){e.mode=t},get place(){return e.place},set place(t){e.place=t},get align(){return e.align},set align(t){e.align=t},get isShown(){return e.isShown},set isShown(t){e.isShown=t}})}get mode(){return this._mode}set mode(e){this._mode=e}get place(){return this._place}set place(e){if(this._place!==e){switch(this._place){case ke.TOP:this.removeClass(Oe.TOP);break;case ke.RIGHT:this.removeClass(Oe.RIGHT);break;case ke.BOTTOM:this.removeClass(Oe.BOTTOM);break;case ke.LEFT:this.removeClass(Oe.LEFT)}switch(this._place=e,this._place){case ke.TOP:this.addClass(Oe.TOP);break;case ke.RIGHT:this.addClass(Oe.RIGHT);break;case ke.BOTTOM:this.addClass(Oe.BOTTOM);break;case ke.LEFT:this.addClass(Oe.LEFT)}}}get align(){return this._align}set align(e){if(this._align!==e){switch(this._align){case Me.START:this.removeClass(Pe.START);break;case Me.CENTER:this.removeClass(Pe.CENTER);break;case Me.END:this.removeClass(Pe.END)}switch(this._align=e,this._align){case Me.START:this.addClass(Pe.START);break;case Me.CENTER:this.addClass(Pe.CENTER);break;case Me.END:this.addClass(Pe.END)}}}show(){this.isShown=!0}hide(){this.isShown=!1}get isShown(){return this._isShown}set isShown(e){this._isShown!==e&&this.isEnabled&&(this.isRendering=e,this._isShown=e)}setReferent(e){this._referent=e}render(){if(!this._referent)return;if(this.referentRect=this._referent.getRect(),this.rect=this.getRect(),this.safeArea=this.getSafeArea(),this.mode===Ge.AUTO)switch(this.place=this.getPlace(),this.place){case ke.TOP:case ke.BOTTOM:this.align=this.getHorizontalAlign();break;case ke.LEFT:case ke.RIGHT:this.align=this.getVerticalAlign()}let e,t;switch(this.place){case ke.TOP:t=this.referentRect.top-this.rect.top-this.rect.height;break;case ke.RIGHT:e=this.referentRect.left-this.rect.left+this.referentRect.width;break;case ke.BOTTOM:t=this.referentRect.top-this.rect.top+this.referentRect.height;break;case ke.LEFT:e=this.referentRect.left-this.rect.left-this.rect.width}switch(this.place){case ke.TOP:case ke.BOTTOM:switch(this.align){case Me.CENTER:e=this.referentRect.left-this.rect.left+.5*this.referentRect.width-.5*this.rect.width;break;case Me.START:e=this.referentRect.left-this.rect.left;break;case Me.END:e=this.referentRect.left-this.rect.left+this.referentRect.width-this.rect.width}break;case ke.RIGHT:case ke.LEFT:switch(this.align){case Me.CENTER:t=this.referentRect.top-this.rect.top+.5*this.referentRect.height-.5*this.rect.height;break;case Me.START:t=this.referentRect.top-this.rect.top;break;case Me.END:t=this.referentRect.top-this.rect.top-this.rect.height}}this._x+=e+.5|0,this._y+=t+.5|0,this.node.style.transform=`translate(${this._x}px,${this._y}px)`}getPlace(){for(const e of this._places)switch(e){case ke.TOP:if(this.referentRect.top-this.rect.height>this.safeArea.top)return ke.TOP;break;case ke.RIGHT:if(this.referentRect.right+this.rect.width<this.safeArea.right)return ke.RIGHT;break;case ke.BOTTOM:if(this.referentRect.bottom+this.rect.height<this.safeArea.bottom)return ke.BOTTOM;break;case ke.LEFT:if(this.referentRect.left-this.rect.width>this.safeArea.left)return ke.LEFT}return this._places[0]}getHorizontalAlign(){for(const e of this._aligns)switch(e){case Me.CENTER:if(this.referentRect.center-.5*this.rect.width>this.safeArea.left&&this.referentRect.center+.5*this.rect.width<this.safeArea.right)return Me.CENTER;break;case Me.START:if(this.referentRect.left+this.rect.width<this.safeArea.right)return Me.START;break;case Me.END:if(this.referentRect.right-this.rect.width>this.safeArea.left)return Me.END}return this._aligns[0]}getVerticalAlign(){for(const e of this._aligns)switch(e){case Me.CENTER:if(this.referentRect.middle-.5*this.rect.height>this.safeArea.top&&this.referentRect.middle+.5*this.rect.height<this.safeArea.bottom)return Me.CENTER;break;case Me.START:if(this.referentRect.top+this.rect.height<this.safeArea.bottom)return Me.START;break;case Me.END:if(this.referentRect.bottom-this.rect.height>this.safeArea.top)return Me.END}return this._aligns[0]}getSafeArea(){let e,t,s=this.node,i=this._safeAreaMargin,n=window.innerWidth-this._safeAreaMargin,r=window.innerHeight-this._safeAreaMargin,a=this._safeAreaMargin;for(;s&&s!==document.body;){s=s.parentElement;const o=window.getComputedStyle(s),h=/(visible|(\w+))(\s(visible|(\w+)))?/.exec(o.overflow);if(e=void 0!==h[2],t=void 0!==h[3]?void 0!==h[5]:void 0!==h[2],!e&&!t)continue;const l=s.getBoundingClientRect();e&&(l.left>a&&(a=l.left),l.right<n&&(n=l.right)),t&&(l.top>i&&(i=l.top),l.bottom<r&&(r=l.bottom))}return{top:i,right:n,bottom:r,left:a,center:a+.5*(n-a),middle:i+.5*(r-i)}}dispose(){this._referent=null,super.dispose()}},PlacementReferent:class extends ce{constructor(){super(),this._isShown=!1}static get instanceClassName(){return"PlacementReferent"}init(){this.registration.creator.setReferent(this),this._placement=this.registration.creator}get placement(){return this._placement}get isShown(){return this._isShown}set isShown(e){this._isShown!==e&&this.isEnabled&&(this._isShown=e,e?this.registration.creator.show():this.registration.creator.hide())}show(){this.isShown=!0}hide(){this.isShown=!1}},PlacementAlign:Me,PlacementPosition:ke,PlacementMode:Ge},ne.internals.register(ne.core.CollapseSelector.COLLAPSE,ne.core.Collapse),ne.internals.register(ne.core.InjectSvgSelector.INJECT_SVG,ne.core.InjectSvg),ne.internals.register(ne.core.RatioSelector.RATIO,ne.core.Ratio),ne.internals.register(ne.core.AssessSelector.ASSESS_FILE,ne.core.AssessFile),ne.internals.register(ne.core.AssessSelector.DETAIL,ne.core.AssessDetail);const $e={SYSTEM:"system",LIGHT:"light",DARK:"dark"},He={THEME:xe.internals.ns.attr("theme"),SCHEME:xe.internals.ns.attr("scheme"),TRANSITION:xe.internals.ns.attr("transition")},Ue={LIGHT:"light",DARK:"dark"},Be={SCHEME:xe.internals.ns.emission("scheme","scheme"),THEME:xe.internals.ns.emission("scheme","theme"),ASK:xe.internals.ns.emission("scheme","ask")},Fe={SCHEME:xe.internals.ns.event("scheme"),THEME:xe.internals.ns.event("theme")};class We extends xe.core.Instance{constructor(){super(!1)}static get instanceClassName(){return"Scheme"}init(){this.changing=this.change.bind(this),this.hasAttribute(He.TRANSITION)&&(this.removeAttribute(He.TRANSITION),this.request(this.restoreTransition.bind(this)));const e=xe.internals.support.supportLocalStorage()?localStorage.getItem("scheme"):"",t=this.getAttribute(He.SCHEME);switch(e){case $e.DARK:case $e.LIGHT:case $e.SYSTEM:this.scheme=e;break;default:switch(t){case $e.DARK:this.scheme=$e.DARK;break;case $e.LIGHT:this.scheme=$e.LIGHT;break;default:this.scheme=$e.SYSTEM}}this.addAscent(Be.ASK,this.ask.bind(this)),this.addAscent(Be.SCHEME,this.apply.bind(this))}get proxy(){const e=this,t={get scheme(){return e.scheme},set scheme(t){e.scheme=t}};return xe.internals.property.completeAssign(super.proxy,t)}restoreTransition(){this.setAttribute(He.TRANSITION,"")}ask(){this.descend(Be.SCHEME,this.scheme)}apply(e){this.scheme=e}get scheme(){return this._scheme}set scheme(e){if(this._scheme!==e){switch(this._scheme=e,e){case $e.SYSTEM:this.listenPreferences();break;case $e.DARK:this.unlistenPreferences(),this.theme=Ue.DARK;break;case $e.LIGHT:this.unlistenPreferences(),this.theme=Ue.LIGHT;break;default:return void(this.scheme=$e.SYSTEM)}this.descend(Be.SCHEME,e),xe.internals.support.supportLocalStorage()&&localStorage.setItem("scheme",e),this.setAttribute(He.SCHEME,e),this.dispatch(Fe.SCHEME,{scheme:this._scheme},!1)}}get theme(){return this._theme}set theme(e){if(this._theme!==e)switch(e){case Ue.LIGHT:case Ue.DARK:this._theme=e,this.setAttribute(He.THEME,e),this.descend(Be.THEME,e),this.dispatch(Fe.THEME,{theme:this._theme},!1),document.documentElement.style.colorScheme=e===Ue.DARK?"dark":""}}listenPreferences(){this.isListening||(this.isListening=!0,this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQuery.addEventListener&&this.mediaQuery.addEventListener("change",this.changing),this.change())}unlistenPreferences(){this.isListening&&(this.isListening=!1,this.mediaQuery.removeEventListener("change",this.changing),this.mediaQuery=null)}change(){this.isListening&&(this.theme=this.mediaQuery.matches?Ue.DARK:Ue.LIGHT)}mutate(e){e.indexOf(He.SCHEME)>-1&&(this.scheme=this.getAttribute(He.SCHEME)),e.indexOf(He.THEME)>-1&&(this.theme=this.getAttribute(He.THEME))}dispose(){this.unlistenPreferences()}}const qe={SCHEME:`:root${xe.internals.ns.attr.selector("theme")}, :root${xe.internals.ns.attr.selector("scheme")}`,SWITCH_THEME:xe.internals.ns.selector("switch-theme"),RADIO_BUTTONS:`input[name="${xe.internals.ns("radios-theme")}"]`};xe.scheme={Scheme:We,SchemeValue:$e,SchemeSelector:qe,SchemeEmission:Be,SchemeTheme:Ue,SchemeEvent:Fe},xe.internals.register(xe.scheme.SchemeSelector.SCHEME,xe.scheme.Scheme);const ze=xe.internals.ns.selector("accordion"),je=xe.internals.ns.selector("collapse"),Ke={GROUP:xe.internals.ns.selector("accordions-group"),ACCORDION:ze,COLLAPSE:`${ze} > ${je}, ${ze} > *:not(${ze}):not(${je}) > ${je}, ${ze} > *:not(${ze}):not(${je}) > *:not(${ze}):not(${je}) > ${je}`,COLLAPSE_LEGACY:`${ze} ${je}`,BUTTON:`${ze}__btn`};class Ve extends xe.core.Instance{static get instanceClassName(){return"Accordion"}get collapsePrimary(){return this.element.children.map((e=>e.getInstance("CollapseButton"))).filter((e=>null!==e&&e.hasClass(Ke.BUTTON)))[0]}}class Ye extends xe.core.CollapsesGroup{static get instanceClassName(){return"AccordionsGroup"}validate(e){const t=e.node.matches(xe.internals.legacy.isLegacy?Ke.COLLAPSE_LEGACY:Ke.COLLAPSE);return super.validate(e)&&t}}xe.accordion={Accordion:Ve,AccordionSelector:Ke,AccordionsGroup:Ye},xe.internals.register(xe.accordion.AccordionSelector.GROUP,xe.accordion.AccordionsGroup),xe.internals.register(xe.accordion.AccordionSelector.ACCORDION,xe.accordion.Accordion);const Xe={EQUISIZED_BUTTON:`${xe.internals.ns.selector("btns-group--equisized")} ${xe.internals.ns.selector("btn")}`,EQUISIZED_GROUP:xe.internals.ns.selector("btns-group--equisized")};xe.button={ButtonSelector:Xe},xe.internals.register(xe.button.ButtonSelector.EQUISIZED_BUTTON,xe.core.Equisized),xe.internals.register(xe.button.ButtonSelector.EQUISIZED_GROUP,xe.core.EquisizedsGroup);class Qe extends xe.core.Instance{static get instanceClassName(){return"CardDownload"}init(){this.addAscent(xe.core.AssessEmission.UPDATE,(e=>{this.descend(xe.core.AssessEmission.UPDATE,e)})),this.addAscent(xe.core.AssessEmission.ADDED,(()=>{this.descend(xe.core.AssessEmission.ADDED)}))}}const Ze={DOWNLOAD:xe.internals.ns.selector("card--download"),DOWNLOAD_DETAIL:`${xe.internals.ns.selector("card--download")} ${xe.internals.ns.selector("card__end")} ${xe.internals.ns.selector("card__detail")}`};xe.card={CardSelector:Ze,CardDownload:Qe},xe.internals.register(xe.card.CardSelector.DOWNLOAD,xe.card.CardDownload),xe.internals.register(xe.card.CardSelector.DOWNLOAD_DETAIL,xe.core.AssessDetail);const Je={INPUT:`${xe.internals.ns.selector("checkbox-group")} input[type="checkbox"]`},et={CHANGE:xe.internals.ns.emission("checkbox","change"),RETRIEVE:xe.internals.ns.emission("checkbox","retrieve")};class tt extends xe.core.Instance{static get instanceClassName(){return"CheckboxInput"}constructor(){super(),this._handlingChange=this.handleChange.bind(this)}init(){this.node.addEventListener("change",this._handlingChange),this.addDescent(et.RETRIEVE,this._handlingChange),this.handleChange()}get isChecked(){return this.node.checked}handleChange(){this.ascend(et.CHANGE,this.node)}}xe.checkbox={CheckboxSelector:Je,CheckboxEmission:et,CheckboxInput:tt},xe.internals.register(xe.checkbox.CheckboxSelector.INPUT,xe.checkbox.CheckboxInput);const st={SEGMENTED:xe.internals.ns.selector("segmented"),SEGMENTED_ELEMENTS:xe.internals.ns.selector("segmented__elements"),SEGMENTED_ELEMENT:xe.internals.ns.selector("segmented__element input"),SEGMENTED_LEGEND:xe.internals.ns.selector("segmented__legend")},it={ADDED:xe.internals.ns.emission("segmented","added"),REMOVED:xe.internals.ns.emission("segmented","removed")};class nt extends xe.core.Instance{static get instanceClassName(){return"Segmented"}init(){this.elements=this.node.querySelector(st.SEGMENTED_ELEMENTS),this.legend=this.node.querySelector(st.SEGMENTED_LEGEND),this.addAscent(it.ADDED,this.resize.bind(this)),this.addAscent(it.REMOVED,this.resize.bind(this)),this._isLegendInline=this.legend&&this.legend.classList.contains(`${xe.prefix}-segmented__legend--inline`),this.isResizing=!0}resize(){const e=`${xe.prefix}-segmented--vertical`,t=`${xe.prefix}-segmented__legend--inline`;this.removeClass(e),this._isLegendInline&&(this.legend.classList.add(t),(this.node.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth+this.legend.offsetWidth+16>this.node.parentNode.offsetWidth)&&this.legend.classList.remove(t)),this.elements.offsetWidth>this.node.parentNode.offsetWidth||this.elements.scrollWidth>this.node.parentNode.offsetWidth?this.addClass(e):this.removeClass(e)}}class rt extends xe.core.Instance{static get instanceClassName(){return"SegmentedElement"}init(){this.ascend(it.ADDED)}dispose(){this.ascend(it.REMOVED)}}xe.segmented={SegmentedSelector:st,SegmentedEmission:it,SegmentedElement:rt,Segmented:nt},xe.internals.register(xe.segmented.SegmentedSelector.SEGMENTED,xe.segmented.Segmented),xe.internals.register(xe.segmented.SegmentedSelector.SEGMENTED_ELEMENT,xe.segmented.SegmentedElement);const at={BREADCRUMB:xe.internals.ns.selector("breadcrumb"),BUTTON:xe.internals.ns.selector("breadcrumb__button")};class ot extends xe.core.Instance{constructor(){super(),this.count=0,this.focusing=this.focus.bind(this)}static get instanceClassName(){return"Breadcrumb"}init(){this.getCollapse(),this.isResizing=!0}get proxy(){const e=this;return Object.assign(super.proxy,{focus:e.focus.bind(e),disclose:e.collapse.disclose.bind(e.collapse)})}getCollapse(){const e=this.collapse;e?e.listen(xe.core.DisclosureEvent.DISCLOSE,this.focusing):this.addAscent(xe.core.DisclosureEmission.ADDED,this.getCollapse.bind(this))}resize(){const e=this.collapse,t=this.links;e&&t.length&&(this.isBreakpoint(xe.core.Breakpoints.MD)?e.buttonHasFocus&&t[0].focus():t.indexOf(document.activeElement)>-1&&e.focus())}get links(){return[...this.querySelectorAll("a[href]")]}get collapse(){return this.element.getDescendantInstances(xe.core.Collapse.instanceClassName,null,!0)[0]}focus(){this.count=0,this._focus()}_focus(){const e=this.links[0];e&&(e.focus(),this.request(this.verify.bind(this)))}verify(){if(this.count++,this.count>100)return;const e=this.links[0];e&&document.activeElement!==e&&this._focus()}get collapsePrimary(){return this.element.children.map((e=>e.getInstance("CollapseButton"))).filter((e=>null!==e&&e.hasClass(at.BUTTON)))[0]}}xe.breadcrumb={BreadcrumbSelector:at,Breadcrumb:ot},xe.internals.register(xe.breadcrumb.BreadcrumbSelector.BREADCRUMB,xe.breadcrumb.Breadcrumb);const ht={TOOLTIP:xe.internals.ns.selector("tooltip"),SHOWN:xe.internals.ns.selector("tooltip--shown"),HIDDING:xe.internals.ns.selector("tooltip--hidding"),BUTTON:xe.internals.ns.selector("btn--tooltip")},lt=1,ct=2;class dt extends xe.core.PlacementReferent{constructor(){super(),this._state=0}static get instanceClassName(){return"TooltipReferent"}init(){if(super.init(),this.listen("focusin",this.focusIn.bind(this)),this.listen("focusout",this.focusOut.bind(this)),!this.matches(ht.BUTTON)){const e=this.mouseover.bind(this);this.listen("mouseover",e),this.placement.listen("mouseover",e);const t=this.mouseout.bind(this);this.listen("mouseout",t),this.placement.listen("mouseout",t)}this.addEmission(xe.core.RootEmission.KEYDOWN,this._keydown.bind(this)),this.listen("click",this._click.bind(this)),this.addEmission(xe.core.RootEmission.CLICK,this._clickOut.bind(this))}_click(){this.focus()}_clickOut(e){this.node.contains(e)||this.blur()}_keydown(e){if(e===xe.core.KeyCodes.ESCAPE)this.blur(),this.close()}close(){this.state=0}get state(){return this._state}set state(e){this._state!==e&&(this.isShown=e>0,this._state=e)}focusIn(){this.state|=lt}focusOut(){this.state&=~lt}mouseover(){this.state|=ct}mouseout(){this.state&=~ct}}const ut={SHOW:g.event("show"),HIDE:g.event("hide")},gt="hidden",pt="shown",mt="hiding";class _t extends xe.core.Placement{constructor(){super(xe.core.PlacementMode.AUTO,[xe.core.PlacementPosition.TOP,xe.core.PlacementPosition.BOTTOM],[xe.core.PlacementAlign.CENTER,xe.core.PlacementAlign.START,xe.core.PlacementAlign.END]),this.modifier="",this._state=gt}static get instanceClassName(){return"Tooltip"}init(){super.init(),this.register(`[aria-describedby="${this.id}"]`,dt),this.listen("transitionend",this.transitionEnd.bind(this))}transitionEnd(){this._state===mt&&(this.removeClass(ht.SHOWN),this.removeClass(ht.HIDDING),this._state=gt,this.isShown=!1)}get isShown(){return super.isShown}set isShown(e){if(this.isEnabled)switch(!0){case e:this._state=pt,this.addClass(ht.SHOWN),this.removeClass(ht.HIDDING),this.dispatch(ut.SHOW),super.isShown=!0;break;case this.isShown&&!e&&this._state===pt:this._state=mt,this.addClass(ht.HIDDING);break;case this.isShown&&!e&&this._state===gt:this.dispatch(ut.HIDE),this.removeClass(ht.HIDDING),super.isShown=!1}}render(){super.render(),this.rect=this.getRect();let e=this.referentRect.center-this.rect.center;const t=.5*this.rect.width-8;e<-t&&(e=-t),e>t&&(e=t),this.setProperty("--arrow-x",`${e.toFixed(2)}px`)}}xe.tooltip={Tooltip:_t,TooltipSelector:ht,TooltipEvent:ut},xe.internals.register(xe.tooltip.TooltipSelector.TOOLTIP,xe.tooltip.Tooltip);class bt extends xe.core.Instance{static get instanceClassName(){return"ToggleInput"}get isChecked(){return this.node.checked}}class Et extends xe.core.Instance{static get instanceClassName(){return"ToggleStatusLabel"}init(){this.register(`input[id="${this.getAttribute("for")}"]`,bt),this.update(),this.isSwappingFont=!0}get proxy(){return Object.assign(super.proxy,{update:this.update.bind(this)})}get input(){return this.getRegisteredInstances("ToggleInput")[0]}update(){this.node.style.removeProperty("--toggle-status-width");const e=this.input.isChecked,t=getComputedStyle(this.node,":before");let s=parseFloat(t.width);this.input.node.checked=!e;const i=getComputedStyle(this.node,":before"),n=parseFloat(i.width);n>s&&(s=n),this.input.node.checked=e,this.node.style.setProperty("--toggle-status-width",s/16+"rem")}swapFont(e){this.update()}}const ft={STATUS_LABEL:`${xe.internals.ns.selector("toggle__label")}${xe.internals.ns.attr.selector("checked-label")}${xe.internals.ns.attr.selector("unchecked-label")}`};xe.toggle={ToggleStatusLabel:Et,ToggleSelector:ft},xe.internals.register(xe.toggle.ToggleSelector.STATUS_LABEL,xe.toggle.ToggleStatusLabel);const At=xe.internals.ns.selector("sidemenu__item"),Tt=xe.internals.ns.selector("collapse"),St={LIST:xe.internals.ns.selector("sidemenu__list"),COLLAPSE:`${At} > ${Tt}, ${At} > *:not(${At}):not(${Tt}) > ${Tt}, ${At} > *:not(${At}):not(${Tt}) > *:not(${At}):not(${Tt}) > ${Tt}`,COLLAPSE_LEGACY:`${At} ${Tt}`,ITEM:xe.internals.ns.selector("sidemenu__item"),BUTTON:xe.internals.ns.selector("sidemenu__btn")};class vt extends xe.core.CollapsesGroup{static get instanceClassName(){return"SidemenuList"}validate(e){return super.validate(e)&&e.node.matches(xe.internals.legacy.isLegacy?St.COLLAPSE_LEGACY:St.COLLAPSE)}}class yt extends xe.core.Instance{static get instanceClassName(){return"SidemenuItem"}get collapsePrimary(){return this.element.children.map((e=>e.getInstance("CollapseButton"))).filter((e=>null!==e&&e.hasClass(St.BUTTON)))[0]}}xe.sidemenu={SidemenuList:vt,SidemenuItem:yt,SidemenuSelector:St},xe.internals.register(xe.sidemenu.SidemenuSelector.LIST,xe.sidemenu.SidemenuList),xe.internals.register(xe.sidemenu.SidemenuSelector.ITEM,xe.sidemenu.SidemenuItem);const Ct={MODAL:xe.internals.ns.selector("modal"),SCROLL_DIVIDER:xe.internals.ns.selector("scroll-divider"),BODY:xe.internals.ns.selector("modal__body"),TITLE:xe.internals.ns.selector("modal__title")};class Nt extends xe.core.DisclosureButton{constructor(){super(xe.core.DisclosureType.OPENED)}static get instanceClassName(){return"ModalButton"}}const Rt={CONCEALING_BACKDROP:xe.internals.ns.attr("concealing-backdrop")};class Dt extends xe.core.Disclosure{constructor(){super(xe.core.DisclosureType.OPENED,Ct.MODAL,Nt,"ModalsGroup"),this._isActive=!1,this.scrolling=this.resize.bind(this,!1),this.resizing=this.resize.bind(this,!0)}static get instanceClassName(){return"Modal"}init(){super.init(),this._isDialog="DIALOG"===this.node.tagName,this.isScrolling=!1,this.listenClick(),this.addEmission(xe.core.RootEmission.KEYDOWN,this._keydown.bind(this))}_keydown(e){if(e===xe.core.KeyCodes.ESCAPE)this._escape()}_escape(){switch(document.activeElement?document.activeElement.tagName:void 0){case"INPUT":case"LABEL":case"TEXTAREA":case"SELECT":case"AUDIO":case"VIDEO":break;default:this.isDisclosed&&(this.conceal(),this.focus())}}retrieved(){this._ensureAccessibleName()}get body(){return this.element.getDescendantInstances("ModalBody","Modal")[0]}handleClick(e){e.target===this.node&&"false"!==this.getAttribute(Rt.CONCEALING_BACKDROP)&&this.conceal()}disclose(e){return!!super.disclose(e)&&(this.body&&this.body.activate(),this.isScrollLocked=!0,this.setAttribute("aria-modal","true"),this.setAttribute("open","true"),this._isDialog||this.activateModal(),!0)}conceal(e,t){return!!super.conceal(e,t)&&(this.isScrollLocked=!1,this.removeAttribute("aria-modal"),this.removeAttribute("open"),this.body&&this.body.deactivate(),this._isDialog||this.deactivateModal(),!0)}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e}activateModal(){this._isActive||(this._isActive=!0,this._hasDialogRole="dialog"===this.getAttribute("role"),this._hasDialogRole||this.setAttribute("role","dialog"))}deactivateModal(){this._isActive&&(this._isActive=!1,this._hasDialogRole||this.removeAttribute("role"))}_setAccessibleName(e,t){const s=this.retrieveNodeId(e,t);this.warn(`add reference to ${t} for accessible name (aria-labelledby)`),this.setAttribute("aria-labelledby",s)}_ensureAccessibleName(){if(!this.isEnabled||this.isEnabled&&(this.hasAttribute("aria-labelledby")||this.hasAttribute("aria-label")))return;this.warn("missing accessible name");const e=this.node.querySelector(Ct.TITLE),t=this.primaryButtons[0];switch(!0){case null!==e:this._setAccessibleName(e,"title");break;case void 0!==t:this.warn("missing required title, fallback to primary button"),this._setAccessibleName(t,"primary")}}}const Lt=['[tabindex="0"]',"a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details","iframe"].join(),wt=['[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'].join(),It=(e,t)=>{if(!(e instanceof Element))return!1;const s=window.getComputedStyle(e);if(!s)return!1;if("hidden"===s.visibility)return!1;for(void 0===t&&(t=e);t.contains(e);){if("none"===s.display)return!1;e=e.parentElement}return!0};class xt{constructor(e,t){this.element=null,this.activeElement=null,this.onTrap=e,this.onUntrap=t,this.waiting=this.wait.bind(this),this.handling=this.handle.bind(this),this.focusing=this.maintainFocus.bind(this),this.current=null}get trapped(){return null!==this.element}trap(e){this.trapped&&this.untrap(),this.element=e,this.isTrapping=!0,this.wait(),this.onTrap&&this.onTrap()}wait(){It(this.element)?this.trapping():window.requestAnimationFrame(this.waiting)}trapping(){if(!this.isTrapping)return;this.isTrapping=!1;const e=this.focusables;e.length&&-1===e.indexOf(document.activeElement)&&e[0].focus(),this.element.setAttribute("aria-modal",!0),window.addEventListener("keydown",this.handling),document.body.addEventListener("focus",this.focusing,!0)}stun(e){for(const t of e.children)t!==this.element&&(t.contains(this.element)?this.stun(t):this.stunneds.push(new Ot(t)))}maintainFocus(e){if(!this.element.contains(e.target)){const t=this.focusables;if(0===t.length)return;const s=t[0];e.preventDefault(),s.focus()}}handle(e){if(9!==e.keyCode)return;const t=this.focusables;if(0===t.length)return;const s=t[0],i=t[t.length-1],n=t.indexOf(document.activeElement);e.shiftKey?!this.element.contains(document.activeElement)||n<1?(e.preventDefault(),i.focus()):(document.activeElement.tabIndex>0||t[n-1].tabIndex>0)&&(e.preventDefault(),t[n-1].focus()):this.element.contains(document.activeElement)&&n!==t.length-1&&-1!==n?document.activeElement.tabIndex>0&&(e.preventDefault(),t[n+1].focus()):(e.preventDefault(),s.focus())}get focusables(){let e=xe.internals.dom.querySelectorAllArray(this.element,Lt);const t=xe.internals.dom.querySelectorAllArray(document.documentElement,'input[type="radio"]');if(t.length){const s={};for(const e of t){const t=e.getAttribute("name");void 0===s[t]&&(s[t]=new Pt(t)),s[t].push(e)}e=e.filter((e=>{if("input"!==e.tagName.toLowerCase()||e.getAttribute("type")&&"radio"!==e.getAttribute("type").toLowerCase())return!0;const t=e.getAttribute("name");return s[t].keep(e)}))}const s=xe.internals.dom.querySelectorAllArray(this.element,wt);s.sort(((e,t)=>e.tabIndex-t.tabIndex));const i=e.filter((e=>-1===s.indexOf(e)));return s.concat(i).filter((e=>"-1"!==e.tabIndex&&It(e,this.element)))}untrap(){this.trapped&&(this.isTrapping=!1,this.element.removeAttribute("aria-modal"),window.removeEventListener("keydown",this.handling),document.body.removeEventListener("focus",this.focusing,!0),this.element=null,this.onUntrap&&this.onUntrap())}dispose(){this.untrap()}}class Ot{constructor(e){this.element=e,this.inert=e.getAttribute("inert"),this.element.setAttribute("inert","")}unstun(){null===this.inert?this.element.removeAttribute("inert"):this.element.setAttribute("inert",this.inert)}}class Pt{constructor(e){this.name=e,this.buttons=[]}push(e){this.buttons.push(e),(e===document.activeElement||e.checked||void 0===this.selected)&&(this.selected=e)}keep(e){return this.selected===e}}class kt extends xe.core.DisclosuresGroup{constructor(){super("Modal",!1),this.focusTrap=new xt}static get instanceClassName(){return"ModalsGroup"}apply(e,t){super.apply(e,t),null===this.current?this.focusTrap.untrap():this.focusTrap.trap(this.current.node)}}class Mt extends xe.core.Instance{static get instanceClassName(){return"ModalBody"}init(){this.listen("scroll",this.divide.bind(this))}activate(){this.isResizing=!0,this.resize()}deactivate(){this.isResizing=!1}divide(){this.node.scrollHeight>this.node.clientHeight?this.node.offsetHeight+this.node.scrollTop>=this.node.scrollHeight?this.removeClass(Ct.SCROLL_DIVIDER):this.addClass(Ct.SCROLL_DIVIDER):this.removeClass(Ct.SCROLL_DIVIDER)}resize(){this.adjust(),this.request(this.adjust.bind(this))}adjust(){const e=32*(this.isBreakpoint(xe.core.Breakpoints.MD)?2:1);this.isLegacy?this.style.maxHeight=window.innerHeight-e+"px":this.style.setProperty("--modal-max-height",window.innerHeight-e+"px"),this.divide()}}xe.modal={Modal:Dt,ModalButton:Nt,ModalBody:Mt,ModalsGroup:kt,ModalSelector:Ct},xe.internals.register(xe.modal.ModalSelector.MODAL,xe.modal.Modal),xe.internals.register(xe.modal.ModalSelector.BODY,xe.modal.ModalBody),xe.internals.register(xe.core.RootSelector.ROOT,xe.modal.ModalsGroup);const Gt={TOGGLE:xe.internals.ns.emission("password","toggle"),ADJUST:xe.internals.ns.emission("password","adjust")};class $t extends xe.core.Instance{static get instanceClassName(){return"PasswordToggle"}init(){this.listenClick(),this.ascend(Gt.ADJUST,this.width),this.isSwappingFont=!0,this._isChecked=this.isChecked}get width(){const e=getComputedStyle(this.node.parentNode);return parseInt(e.width)}get isChecked(){return this.node.checked}set isChecked(e){this._isChecked=e,this.ascend(Gt.TOGGLE,e)}handleClick(){this.isChecked=!this._isChecked}swapFont(e){this.ascend(Gt.ADJUST,this.width)}}class Ht extends xe.core.Instance{static get instanceClassName(){return"Password"}init(){this.addAscent(Gt.TOGGLE,this.toggle.bind(this)),this.addAscent(Gt.ADJUST,this.adjust.bind(this))}toggle(e){this.descend(Gt.TOGGLE,e)}adjust(e){this.descend(Gt.ADJUST,e)}}const Ut={PASSWORD:xe.internals.ns.selector("password"),INPUT:xe.internals.ns.selector("password__input"),LABEL:xe.internals.ns.selector("password__label"),TOOGLE:`${xe.internals.ns.selector("password__checkbox")} input[type="checkbox"]`};class Bt extends xe.core.Instance{static get instanceClassName(){return"PasswordInput"}init(){this.addDescent(Gt.TOGGLE,this.toggle.bind(this)),this._isRevealed="password"===this.hasAttribute("type"),this.listen("keydown",this.capslock.bind(this)),this.listen("keyup",this.capslock.bind(this))}toggle(e){this.isRevealed=e,this.setAttribute("type",e?"text":"password")}get isRevealed(){return this._isRevealed}capslock(e){e&&"function"!=typeof e.getModifierState||(e.getModifierState("CapsLock")?this.node.parentNode.setAttribute(xe.internals.ns.attr("capslock"),""):this.node.parentNode.removeAttribute(xe.internals.ns.attr("capslock")))}set isRevealed(e){this._isRevealed=e,this.setAttribute("type",e?"text":"password")}}class Ft extends xe.core.Instance{static get instanceClassName(){return"PasswordLabel"}init(){this.addDescent(Gt.ADJUST,this.adjust.bind(this))}adjust(e){const t=Math.ceil(e/16);this.node.style.paddingRight=t+"rem"}}xe.password={Password:Ht,PasswordToggle:$t,PasswordSelector:Ut,PasswordInput:Bt,PasswordLabel:Ft},xe.internals.register(xe.password.PasswordSelector.INPUT,xe.password.PasswordInput),xe.internals.register(xe.password.PasswordSelector.PASSWORD,xe.password.Password),xe.internals.register(xe.password.PasswordSelector.TOOGLE,xe.password.PasswordToggle),xe.internals.register(xe.password.PasswordSelector.LABEL,xe.password.PasswordLabel);const Wt=xe.internals.ns.selector("nav__item"),qt=xe.internals.ns.selector("collapse"),zt={NAVIGATION:xe.internals.ns.selector("nav"),COLLAPSE:`${Wt} > ${qt}, ${Wt} > *:not(${Wt}):not(${qt}) > ${qt}, ${Wt} > *:not(${Wt}):not(${qt}) > *:not(${Wt}):not(${qt}) > ${qt}`,COLLAPSE_LEGACY:`${Wt} ${qt}`,ITEM:Wt,ITEM_RIGHT:`${Wt}--align-right`,MENU:xe.internals.ns.selector("menu"),BUTTON:xe.internals.ns.selector("nav__btn"),TRANSLATE_BUTTON:xe.internals.ns.selector("translate__btn")};class jt extends xe.core.Instance{constructor(){super(),this._isRightAligned=!1}static get instanceClassName(){return"NavigationItem"}init(){this.addAscent(xe.core.DisclosureEmission.ADDED,this.calculate.bind(this)),this.addAscent(xe.core.DisclosureEmission.REMOVED,this.calculate.bind(this)),this.isResizing=!0,this.calculate()}resize(){this.calculate()}calculate(){const e=this.element.getDescendantInstances(xe.core.Collapse.instanceClassName,null,!0)[0];if(e&&this.isBreakpoint(xe.core.Breakpoints.LG)&&e.element.node.matches(zt.MENU)){const t=this.element.node.parentElement.getBoundingClientRect().right,s=e.element.node.getBoundingClientRect().width,i=this.element.node.getBoundingClientRect().left;this.isRightAligned=i+s>t}else this.isRightAligned=!1}get isRightAligned(){return this._isRightAligned}set isRightAligned(e){this._isRightAligned!==e&&(this._isRightAligned=e,e?xe.internals.dom.addClass(this.element.node,zt.ITEM_RIGHT):xe.internals.dom.removeClass(this.element.node,zt.ITEM_RIGHT))}get collapsePrimary(){return this.element.children.map((e=>e.getInstance("CollapseButton"))).filter((e=>null!==e&&(e.hasClass(zt.BUTTON)||e.hasClass(zt.TRANSLATE_BUTTON))))[0]}}const Kt={NONE:-1,INSIDE:0,OUTSIDE:1};class Vt extends xe.core.CollapsesGroup{static get instanceClassName(){return"Navigation"}init(){super.init(),this.clicked=!1,this.out=!1,this.addEmission(xe.core.RootEmission.CLICK,this._handleRootClick.bind(this)),this.listen("mousedown",this.handleMouseDown.bind(this)),this.listenClick({capture:!0}),this.isResizing=!0}validate(e){return super.validate(e)&&e.element.node.matches(xe.internals.legacy.isLegacy?zt.COLLAPSE_LEGACY:zt.COLLAPSE)}handleMouseDown(e){this.isBreakpoint(xe.core.Breakpoints.LG)&&-1!==this.index&&this.current&&(this.position=this.current.node.contains(e.target)?Kt.INSIDE:Kt.OUTSIDE,this.requestPosition())}handleClick(e){!e.target.matches("a, button")||e.target.matches("[aria-controls]")||e.target.matches(xe.core.DisclosureSelector.PREVENT_CONCEAL)||(this.index=-1)}_handleRootClick(e){this.isBreakpoint(xe.core.Breakpoints.LG)&&(this.node.contains(e)||(this.out=!0,this.requestPosition()))}requestPosition(){this.isRequesting||(this.isRequesting=!0,this.request(this.getPosition.bind(this)))}getPosition(){if(this.out)switch(this.position){case Kt.OUTSIDE:this.index=-1;break;case Kt.INSIDE:this.current&&!this.current.node.contains(document.activeElement)&&this.current.focus();break;default:this.index>-1&&!this.current.hasFocus&&(this.index=-1)}this.request(this.requested.bind(this))}requested(){this.position=Kt.NONE,this.out=!1,this.isRequesting=!1}get index(){return super.index}set index(e){-1===e&&this.current&&this.current.hasFocus&&this.current.focus(),super.index=e}get canUngroup(){return!this.isBreakpoint(xe.core.Breakpoints.LG)}resize(){this.update()}}xe.navigation={Navigation:Vt,NavigationItem:jt,NavigationMousePosition:Kt,NavigationSelector:zt},xe.internals.register(xe.navigation.NavigationSelector.NAVIGATION,xe.navigation.Navigation),xe.internals.register(xe.navigation.NavigationSelector.ITEM,xe.navigation.NavigationItem);class Yt extends xe.core.DisclosureButton{constructor(){super(xe.core.DisclosureType.SELECT)}static get instanceClassName(){return"TabButton"}handleClick(e){super.handleClick(e),this.focus()}apply(e){super.apply(e),this.isPrimary&&(this.setAttribute("tabindex",e?"0":"-1"),e&&this.list&&this.list.focalize(this))}get list(){return this.element.getAscendantInstance("TabsList","TabsGroup")}}const Xt={TAB:xe.internals.ns.selector("tabs__tab"),GROUP:xe.internals.ns.selector("tabs"),PANEL:xe.internals.ns.selector("tabs__panel"),LIST:xe.internals.ns.selector("tabs__list"),SHADOW:xe.internals.ns.selector("tabs__shadow"),SHADOW_LEFT:xe.internals.ns.selector("tabs__shadow--left"),SHADOW_RIGHT:xe.internals.ns.selector("tabs__shadow--right"),PANEL_START:xe.internals.ns.selector("tabs__panel--direction-start"),PANEL_END:xe.internals.ns.selector("tabs__panel--direction-end")},Qt="direction-start",Zt="direction-end",Jt="none";class es extends xe.core.Disclosure{constructor(){super(xe.core.DisclosureType.SELECT,Xt.PANEL,Yt,"TabsGroup"),this._direction=Jt,this._isPreventingTransition=!1}static get instanceClassName(){return"TabPanel"}get direction(){return this._direction}set direction(e){if(e!==this._direction){switch(this._direction){case Qt:this.removeClass(Xt.PANEL_START);break;case Zt:this.removeClass(Xt.PANEL_END);break;case Jt:break;default:return}switch(this._direction=e,this._direction){case Qt:this.addClass(Xt.PANEL_START);break;case Zt:this.addClass(Xt.PANEL_END)}}}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(e){this._isPreventingTransition!==e&&(e?this.addClass(xe.internals.motion.TransitionSelector.NONE):this.removeClass(xe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===e)}translate(e,t){this.isPreventingTransition=t,this.direction=e}reset(){this.group&&this.group.retrieve(!0)}_electPrimaries(e){return this.group&&this.group.list?super._electPrimaries(e).filter((e=>this.group.list.node.contains(e.node))):[]}}const ts="tab_keys_left",ss="tab_keys_right",is="tab_keys_home",ns="tab_keys_end",rs={PRESS_KEY:xe.internals.ns.emission("tab","press_key"),LIST_HEIGHT:xe.internals.ns.emission("tab","list_height")};class as extends xe.core.DisclosuresGroup{constructor(){super("TabPanel")}static get instanceClassName(){return"TabsGroup"}init(){super.init(),this.listen("transitionend",this.transitionend.bind(this)),this.addAscent(rs.PRESS_KEY,this.pressKey.bind(this)),this.addAscent(rs.LIST_HEIGHT,this.setListHeight.bind(this)),this.isRendering=!0}getIndex(e=0){super.getIndex(e)}get list(){return this.element.getDescendantInstances("TabsList","TabsGroup",!0)[0]}setListHeight(e){this.listHeight=e}transitionend(e){this.isPreventingTransition=!0}get buttonHasFocus(){return this.members.some((e=>e.buttonHasFocus))}pressKey(e){switch(e){case ts:this.pressLeft();break;case ss:this.pressRight();break;case is:this.pressHome();break;case ns:this.pressEnd()}}pressRight(){this.buttonHasFocus&&(this.index<this.length-1?this.index++:this.index=0,this.focus())}pressLeft(){this.buttonHasFocus&&(this.index>0?this.index--:this.index=this.length-1,this.focus())}pressHome(){this.buttonHasFocus&&(this.index=0,this.focus())}pressEnd(){this.buttonHasFocus&&(this.index=this.length-1,this.focus())}focus(){this.current&&this.current.focus()}apply(){for(let e=0;e<this._index;e++)this.members[e].translate(Qt);this.current&&this.current.translate(Jt);for(let e=this._index+1;e<this.length;e++)this.members[e].translate(Zt);this.isPreventingTransition=!1}get isPreventingTransition(){return this._isPreventingTransition}set isPreventingTransition(e){this._isPreventingTransition!==e&&(e?this.addClass(xe.internals.motion.TransitionSelector.NONE):this.removeClass(xe.internals.motion.TransitionSelector.NONE),this._isPreventingTransition=!0===e)}render(){if(null===this.current)return;this.node.scrollTop=0,this.node.scrollLeft=0;const e=Math.round(this.current.node.offsetHeight);this.panelHeight!==e&&(this.panelHeight=e,this.style.setProperty("--tabs-height",this.panelHeight+this.listHeight+"px"))}}class os extends xe.core.Instance{static get instanceClassName(){return"TabsList"}init(){this.listen("scroll",this.scroll.bind(this)),this.listenKey(xe.core.KeyCodes.RIGHT,this.ascend.bind(this,rs.PRESS_KEY,ss),!0,!0),this.listenKey(xe.core.KeyCodes.LEFT,this.ascend.bind(this,rs.PRESS_KEY,ts),!0,!0),this.listenKey(xe.core.KeyCodes.HOME,this.ascend.bind(this,rs.PRESS_KEY,is),!0,!0),this.listenKey(xe.core.KeyCodes.END,this.ascend.bind(this,rs.PRESS_KEY,ns),!0,!0),this.isResizing=!0}focalize(e){const t=e.getRect(),s=this.getRect(),i=this.node.scrollLeft;t.left<s.left?this.node.scrollTo(i-s.left+t.left-16,0):t.right>s.right&&this.node.scrollTo(i-s.right+t.right+16,0)}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.apply())}apply(){this._isScrolling?(this.addClass(Xt.SHADOW),this.scroll()):(this.removeClass(Xt.SHADOW_RIGHT),this.removeClass(Xt.SHADOW_LEFT),this.removeClass(Xt.SHADOW))}scroll(){const e=Math.abs(this.node.scrollLeft),t=e<=16,s=this.node.scrollWidth-this.node.clientWidth-16,i=Math.abs(e)>=s,n="rtl"===getComputedStyle(this.node).direction,r=n?Xt.SHADOW_RIGHT:Xt.SHADOW_LEFT,a=n?Xt.SHADOW_LEFT:Xt.SHADOW_RIGHT;t?this.removeClass(r):this.addClass(r),i?this.removeClass(a):this.addClass(a)}resize(){this.isScrolling=this.node.scrollWidth>this.node.clientWidth+16;const e=this.getRect().height;this.setProperty("--tabs-list-height",`${e}px`),this.ascend(rs.LIST_HEIGHT,e)}dispose(){this.isScrolling=!1}}xe.tab={TabPanel:es,TabButton:Yt,TabsGroup:as,TabsList:os,TabSelector:Xt,TabEmission:rs},xe.internals.register(xe.tab.TabSelector.PANEL,xe.tab.TabPanel),xe.internals.register(xe.tab.TabSelector.GROUP,xe.tab.TabsGroup),xe.internals.register(xe.tab.TabSelector.LIST,xe.tab.TabsList);const hs={DISMISS:xe.internals.ns.event("dismiss")};class ls extends xe.core.Instance{static get instanceClassName(){return"TagDismissible"}init(){this.listenClick()}handleClick(){switch(this.focusClosest(),xe.mode){case xe.Modes.ANGULAR:case xe.Modes.REACT:case xe.Modes.VUE:this.request(this.verify.bind(this));break;default:this.remove()}this.dispatch(hs.DISMISS)}verify(){document.body.contains(this.node)&&this.warn(`a TagDismissible has just been dismissed and should be removed from the dom. In ${xe.mode} mode, the api doesn't handle dom modification. An event ${hs.DISMISS} is dispatched by the element to trigger the removal`)}}const cs={PRESSABLE:`${xe.internals.ns.selector("tag")}[aria-pressed]`,DISMISSIBLE:`${xe.internals.ns.selector("tag--dismiss")}`};xe.tag={TagDismissible:ls,TagSelector:cs,TagEvent:hs},xe.internals.register(xe.tag.TagSelector.PRESSABLE,xe.core.Toggle),xe.internals.register(xe.tag.TagSelector.DISMISSIBLE,xe.tag.TagDismissible);const ds=xe.internals.ns.selector("transcription"),us={TRANSCRIPTION:ds,BUTTON:`${ds}__btn`};class gs extends xe.core.Instance{static get instanceClassName(){return"Transcription"}get collapsePrimary(){return this.element.children.map((e=>e.getInstance("CollapseButton"))).filter((e=>null!==e&&e.hasClass(us.BUTTON)))[0]}}xe.transcription={Transcription:gs,TranscriptionSelector:us},xe.internals.register(xe.transcription.TranscriptionSelector.TRANSCRIPTION,xe.transcription.Transcription);class ps extends xe.core.Instance{static get instanceClassName(){return"TileDownload"}init(){this.addAscent(xe.core.AssessEmission.UPDATE,(e=>{this.descend(xe.core.AssessEmission.UPDATE,e)})),this.addAscent(xe.core.AssessEmission.ADDED,(()=>{this.descend(xe.core.AssessEmission.ADDED)}))}}const ms={DOWNLOAD:xe.internals.ns.selector("tile--download"),DOWNLOAD_DETAIL:`${xe.internals.ns.selector("tile--download")} ${xe.internals.ns.selector("tile__detail")}`};xe.tile={TileSelector:ms,TileDownload:ps},xe.internals.register(xe.tile.TileSelector.DOWNLOAD,xe.tile.TileDownload),xe.internals.register(xe.tile.TileSelector.DOWNLOAD_DETAIL,xe.core.AssessDetail);const _s={RANGE:xe.internals.ns.selector("range"),RANGE_SM:xe.internals.ns.selector("range--sm"),RANGE_STEP:xe.internals.ns.selector("range--step"),RANGE_DOUBLE:xe.internals.ns.selector("range--double"),RANGE_DOUBLE_STEP:xe.internals.ns.selector("range--double")+xe.internals.ns.selector("range--step"),RANGE_INPUT:xe.internals.ns.selector("range input[type=range]:nth-of-type(1)"),RANGE_INPUT2:`${xe.internals.ns.selector("range--double")} input[type=range]:nth-of-type(2)`,RANGE_OUTPUT:xe.internals.ns.selector("range__output"),RANGE_MIN:xe.internals.ns.selector("range__min"),RANGE_MAX:xe.internals.ns.selector("range__max"),RANGE_PREFIX:xe.internals.ns.attr("prefix"),RANGE_SUFFIX:xe.internals.ns.attr("suffix")},bs={VALUE:xe.internals.ns.emission("range","value"),VALUE2:xe.internals.ns.emission("range","value2"),OUTPUT:xe.internals.ns.emission("range","output"),CONSTRAINTS:xe.internals.ns.emission("range","constraints"),MIN:xe.internals.ns.emission("range","min"),MAX:xe.internals.ns.emission("range","max"),STEP:xe.internals.ns.emission("range","step"),PREFIX:xe.internals.ns.emission("range","prefix"),SUFFIX:xe.internals.ns.emission("range","suffix"),DISABLED:xe.internals.ns.emission("range","disabled"),ENABLE_POINTER:xe.internals.ns.emission("range","enable_pointer")};class Es{constructor(){this._width=0,this._min=0,this._max=0,this._value=0,this._thumbSize=24,this._innerWidth=0,this._prefix="",this._suffix="",this._background={}}configure(e){e&&(this._prefix=e._prefix,this._suffix=e._suffix,this._width=e.width,this.setConstraints(e._constraints),this.value=e.value,this.update())}setPrefix(e){this._prefix=null!==e?e:""}setSuffix(e){this._suffix=null!==e?e:""}_decorate(e){return`${this._prefix}${e}${this._suffix}`}get width(){return this._width}set width(e){this._width=e}get isSm(){return this._isSm}set isSm(e){this._isSm!==e&&(this._isSm=e,this.setThumbSize(e?16:24),this.update())}setThumbSize(e,t=1){this._thumbSize=e,this._innerPadding=e*t}get textValue(){return this._decorate(this._value)}get value(){return this._value}set value(e){this._value=e}get outputX(){return this._outputX}setConstraints(e){this._constraints=e,this._min=e.min,this._max=e.max,this._step=e.step,this._rangeWidth=e.rangeWidth}get min(){return this._min}get textMin(){return this._decorate(this._min)}get max(){return this._max}get textMax(){return this._decorate(this._max)}get step(){return this._step}get output(){return{text:this.textValue,transform:`translateX(${this._translateX}px) translateX(-${this._centerPercent}%)`}}_getRatio(e){return(e-this._min)/this._rangeWidth}get progress(){return this._progress}update(){this._update()}_update(){this._innerWidth=this._width-this._innerPadding;const e=this._getRatio(this._value);this._translateX=e*this._width,this._centerPercent=100*e,this._progress={right:`${(this._innerWidth*e+.5*this._innerPadding).toFixed(2)}px`}}}class fs extends Es{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){super._update();const e=this._rangeWidth/this._step;for(this._stepWidth=this._innerWidth/e,(this._stepWidth<1||!isFinite(this._stepWidth))&&(this._stepWidth=4);this._stepWidth<4;)this._stepWidth*=2}}class As extends Es{get value2(){return this._value}set value2(e){this._value2!==e&&(this._value2=e,this.update())}get textValue(){return`${this._decorate(this._value)} - ${this._decorate(this._value2)}`}setThumbSize(e){super.setThumbSize(e,2)}_update(){super._update();const e=this._getRatio(.5*(this._value+this._value2));this._translateX=e*this._width,this._centerPercent=100*e;const t=this._getRatio(this._value),s=this._getRatio(this._value2);this._progress={left:`${(this._innerWidth*t+.25*this._innerPadding).toFixed(2)}px`,right:`${(this._innerWidth*s+.75*this._innerPadding).toFixed(2)}px`}}}class Ts extends As{get stepWidth(){return`${this._stepWidth.toFixed(3)}px`}_update(){super._update();const e=this._rangeWidth/this._step;this._stepWidth=this._innerWidth/e,this._stepWidth<4&&(this._stepWidth*=Math.ceil(4/this._stepWidth))}}const Ss="step",vs="double",ys="double-step",Cs="default";class Ns extends xe.core.Instance{static get instanceClassName(){return"Range"}init(){this._retrieveType(),this._retrieveSize(),this.isLegacy?(this.isResizing=!0,this.isMouseMoving=!0):(this._observer=new ResizeObserver(this.resize.bind(this)),this._observer.observe(this.node)),this.addAscent(bs.CONSTRAINTS,this.setConstraints.bind(this)),this.addAscent(bs.VALUE,this.setValue.bind(this)),this.addAscent(bs.VALUE2,this.setValue2.bind(this)),this.getAttribute(_s.RANGE_PREFIX)&&this.setPrefix(this.getAttribute(_s.RANGE_PREFIX)),this.getAttribute(_s.RANGE_SUFFIX)&&this.setSuffix(this.getAttribute(_s.RANGE_SUFFIX)),this.update()}_retrieveType(){switch(!0){case this.matches(_s.RANGE_DOUBLE_STEP):case this.matches(_s.RANGE_DOUBLE):this.type=vs;break;case this.matches(_s.RANGE_STEP):this.type=Ss;break;default:this.type=Cs}}set type(e){if(this._type===e)return;this._type=e;const t=this._model;switch(this._type){case ys:this._model=new Ts;break;case vs:this._model=new As;break;case Ss:this._model=new fs;break;default:this._model=new Es}this._model.configure(t)}get type(){return this._type}_retrieveSize(){this._model.isSm=this.matches(_s.RANGE_SM)}resize(){this._retrieveWidth(),this.update()}_retrieveWidth(){this._model.width=this.getRect().width}setValue(e){switch(this._model.value=e,this._type){case ys:case vs:this.descend(bs.VALUE,e)}this.update()}setValue2(e){this._model.value2=e,this.descend(bs.VALUE2,e),this.update()}setConstraints(e){this._model.setConstraints(e),this.update(),this.descend(bs.CONSTRAINTS,e)}setPrefix(e){this._model.setPrefix(e),this.update()}setSuffix(e){this._model.setSuffix(e),this.update()}mutate(e){switch(!0){case e.includes("class"):this._retrieveType(),this._retrieveSize();break;case e.includes(_s.RANGE_PREFIX):case e.includes(_s.RANGE_SUFFIX):this._model.setPrefix(this.getAttribute(_s.RANGE_PREFIX)),this._model.setSuffix(this.getAttribute(_s.RANGE_SUFFIX)),this.update()}}update(){this._model.update(),this.descend(bs.OUTPUT,this._model.output),this.descend(bs.MIN,this._model.textMin),this.descend(bs.MAX,this._model.textMax);const e=this._model.progress;e.left?this.style.setProperty("--progress-left",e.left):this.style.removeProperty("--progress-left"),e.right?(this.style.setProperty("--progress-right",e.right),this.isLegacy&&e.left&&(this.style.setProperty("background-position-x",e.left),this.style.setProperty("background-size",`${parseFloat(e.right)-parseFloat(e.left)}px ${this._model.isSm?"8px":"12px"}`))):(this.style.removeProperty("--progress-right"),this.isLegacy&&(this.style.removeProperty("background-size"),this.style.removeProperty("background-position-x"))),this._model.stepWidth?this.style.setProperty("--step-width",this._model.stepWidth):this.style.removeProperty("--step-width")}mouseMove(e){if(this._type!==vs&&this._type!==ys)return;const t=e.x-this.getRect().left;this.descend(bs.ENABLE_POINTER,(parseFloat(this._model.progress.right)-parseFloat(this._model.progress.left))/2+parseFloat(this._model.progress.left)<t?2:1)}dispose(){this._observer.disconnect()}}class Rs{constructor(e){this._min=isNaN(e.min)?0:e.min,this._max=isNaN(e.max)?100:e.max,this._step=isNaN(e.step)?1:e.step,this._rangeWidth=this._max-this._min}get min(){return this._min}get max(){return this._max}get step(){return this._step}get rangeWidth(){return this._rangeWidth}test(e,t,s){return this._min===e&&this._max===t&&this._step===s}}class Ds extends xe.core.Instance{static get instanceClassName(){return"RangeInput"}init(){this._init(),this._value=parseFloat(this.node.getAttribute("value")),this.isLegacy&&this.addDescent(bs.ENABLE_POINTER,this._enablePointer.bind(this)),this.isRendering=!0,this.change()}_init(){this._pointerId=1,this.request((()=>{this.hasAttribute("min")||this.setAttribute("min",0),this.ascend(bs.CONSTRAINTS,new Rs(this.node)),this.ascend(bs.DISABLED,this.node.disabled)})),this.addDescent(bs.VALUE2,this.setValue.bind(this))}get proxy(){const e=this,t={get value(){return e.value},set value(t){e.value=t}};return xe.internals.property.completeAssign(super.proxy,t)}_enablePointer(e){const t=e===this._pointerId;this._isPointerEnabled!==t&&(this._isPointerEnabled=t,t?this.style.removeProperty("pointer-events"):this.style.setProperty("pointer-events","none"))}get value(){return parseFloat(this.node.value)}set value(e){const t=parseFloat(e);t!==this._value&&(this._value=t,this.node.value=t,this.dispatch("change"),this.change())}setValue(e){parseFloat(this.node.value)>e&&(this.value=e)}change(){this.ascend(bs.VALUE,this._value)}render(){const e=parseFloat(this.node.value);e!==this._value&&(this.value=e)}mutate(e){e.includes("disabled")&&this.ascend(bs.DISABLED,this.node.disabled),(e.includes("min")||e.includes("max")||e.includes("step"))&&(this.ascend(bs.CONSTRAINTS,new Rs(this.node)),this.change())}dispose(){this._listenerType&&this.unlisten(this._listenerType,this._changing)}}class Ls extends xe.core.Instance{static get instanceClassName(){return"RangeOutput"}init(){this.addDescent(bs.OUTPUT,this.change.bind(this))}change(e){this.node.innerText=e.text,this.node.style.transform=e.transform}}class ws extends xe.core.Instance{static get instanceClassName(){return"RangeLimit"}init(){switch(!0){case this.matches(_s.RANGE_MIN):this.addDescent(bs.MIN,this.change.bind(this));break;case this.matches(_s.RANGE_MAX):this.addDescent(bs.MAX,this.change.bind(this))}}change(e){this.node.innerText=e}}xe.range={Range:Ns,RangeInput:Ds,RangeInput2:class extends Ds{static get instanceClassName(){return"RangeInput2"}_init(){this._pointerId=2,this.addDescent(bs.CONSTRAINTS,this.setConstraints.bind(this)),this.addDescent(bs.VALUE,this.setValue.bind(this))}setValue(e){parseFloat(this.node.value)<e&&(this.value=e)}change(){this.ascend(bs.VALUE2,parseFloat(this.node.value))}setConstraints(e){this.node.min=e.min,this.node.max=e.max,this.node.step=e.step,this.change()}mutate(e){}},RangeOutput:Ls,RangeLimit:ws,RangeEmission:bs,RangeSelector:_s},xe.internals.register(xe.range.RangeSelector.RANGE,xe.range.Range),xe.internals.register(xe.range.RangeSelector.RANGE_INPUT,xe.range.RangeInput),xe.internals.register(xe.range.RangeSelector.RANGE_INPUT2,xe.range.RangeInput2),xe.internals.register(xe.range.RangeSelector.RANGE_OUTPUT,xe.range.RangeOutput),xe.internals.register(xe.range.RangeSelector.RANGE_MIN,xe.range.RangeLimit),xe.internals.register(xe.range.RangeSelector.RANGE_MAX,xe.range.RangeLimit);const Is={HEADER:xe.internals.ns.selector("header"),TOOLS_LINKS:xe.internals.ns.selector("header__tools-links"),MENU_LINKS:xe.internals.ns.selector("header__menu-links"),BUTTONS:`${xe.internals.ns.selector("header__tools-links")} ${xe.internals.ns.selector("btns-group")}, ${xe.internals.ns.selector("header__tools-links")} ${xe.internals.ns.selector("links-group")}`,MODALS:`${xe.internals.ns.selector("header__search")}${xe.internals.ns.selector("modal")}, ${xe.internals.ns.selector("header__menu")}${xe.internals.ns.selector("modal")}`};class xs extends xe.core.Instance{static get instanceClassName(){return"HeaderLinks"}init(){const e=this.queryParentSelector(Is.HEADER);this.toolsLinks=e.querySelector(Is.TOOLS_LINKS),this.menuLinks=e.querySelector(Is.MENU_LINKS);const t="-mobile",s=this.toolsLinks.innerHTML.replace(/ +/g," "),i=this.menuLinks.innerHTML.replace(/ +/g," ");let n=s.match(/id="(.*?)"/gm)||[];n=n.map((e=>e.replace('id="',"").replace('"',"")));const r=["aria-controls","aria-describedby","aria-labelledby"];let a=s.replace(/id="(.*?)"/gm,`id="$1${t}"`);for(const e of r){const i=s.match(new RegExp(`${e}="(.*?)"`,"gm"));if(i)for(const s of i){const i=s.replace(`${e}="`,"").replace('"',"");n.includes(i)&&(a=a.replace(`${e}="${i}"`,`${e}="${i+t}"`))}}if(a!==i)switch(xe.mode){case xe.Modes.ANGULAR:case xe.Modes.REACT:case xe.Modes.VUE:this.warn(`header__tools-links content is different from header__menu-links content.\nAs you're using a dynamic framework, you should handle duplication of this content yourself, please refer to documentation:\n${xe.header.doc}`);break;default:this.menuLinks.innerHTML=a}}}class Os extends xe.core.Instance{static get instanceClassName(){return"HeaderModal"}init(){this.storeAria(),this.isResizing=!0}resize(){this.isBreakpoint(xe.core.Breakpoints.LG)?this.deactivateModal():this.activateModal()}activateModal(){const e=this.element.getInstance("Modal");e&&(e.isEnabled=!0,this.restoreAria(),this.listenClick({capture:!0}))}deactivateModal(){const e=this.element.getInstance("Modal");e&&(e.conceal(),e.isEnabled=!1,this.storeAria(),this.unlistenClick({capture:!0}))}storeAria(){this.hasAttribute("aria-labelledby")&&(this._ariaLabelledby=this.getAttribute("aria-labelledby")),this.hasAttribute("aria-label")&&(this._ariaLabel=this.getAttribute("aria-label")),this.removeAttribute("aria-labelledby"),this.removeAttribute("aria-label")}restoreAria(){this._ariaLabelledby&&this.setAttribute("aria-labelledby",this._ariaLabelledby),this._ariaLabel&&this.setAttribute("aria-label",this._ariaLabel)}handleClick(e){if(e.target.matches("a, button")&&!e.target.matches("[aria-controls]")&&!e.target.matches(xe.core.DisclosureSelector.PREVENT_CONCEAL)){this.element.getInstance("Modal").conceal()}}}xe.header={HeaderLinks:xs,HeaderModal:Os,HeaderSelector:Is,doc:"https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/en-tete"},xe.internals.register(xe.header.HeaderSelector.TOOLS_LINKS,xe.header.HeaderLinks),xe.internals.register(xe.header.HeaderSelector.MODALS,xe.header.HeaderModal);const Ps={DISPLAY:xe.internals.ns.selector("display"),RADIO_BUTTONS:`input[name="${xe.internals.ns("radios-theme")}"]`,FIELDSET:xe.internals.ns.selector("fieldset")};class ks extends xe.core.Instance{static get instanceClassName(){return"Display"}init(){if(this.radios=this.querySelectorAll(Ps.RADIO_BUTTONS),xe.scheme){this.changing=this.change.bind(this);for(const e of this.radios)e.addEventListener("change",this.changing);this.addDescent(xe.scheme.SchemeEmission.SCHEME,this.apply.bind(this)),this.ascend(xe.scheme.SchemeEmission.ASK)}else this.querySelector(Ps.FIELDSET).setAttribute("disabled","")}get scheme(){return this._scheme}set scheme(e){if(this._scheme!==e&&xe.scheme)switch(e){case xe.scheme.SchemeValue.SYSTEM:case xe.scheme.SchemeValue.LIGHT:case xe.scheme.SchemeValue.DARK:this._scheme=e;for(const t of this.radios)t.checked=t.value===e;this.ascend(xe.scheme.SchemeEmission.SCHEME,e)}}change(){for(const e of this.radios)if(e.checked)return void(this.scheme=e.value)}apply(e){this.scheme=e}dispose(){for(const e of this.radios)e.removeEventListener("change",this.changing)}}xe.display={Display:ks,DisplaySelector:Ps},xe.internals.register(xe.display.DisplaySelector.DISPLAY,xe.display.Display);const Ms={SCROLLABLE:xe.internals.ns.emission("table","scrollable"),CHANGE:xe.internals.ns.emission("table","change"),CAPTION_HEIGHT:xe.internals.ns.emission("table","captionheight"),CAPTION_WIDTH:xe.internals.ns.emission("table","captionwidth")};class Gs extends xe.core.Instance{static get instanceClassName(){return"Table"}init(){this.addAscent(Ms.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(e){this.setProperty("--table-offset",e)}}class $s extends xe.core.Instance{static get instanceClassName(){return"TableWrapper"}init(){this.addAscent(Ms.CAPTION_HEIGHT,this.setCaptionHeight.bind(this))}setCaptionHeight(e){requestAnimationFrame((()=>this.ascend(Ms.CAPTION_HEIGHT,0))),this.setProperty("--table-offset",e)}}const Hs={TABLE:xe.internals.ns.selector("table"),TABLE_WRAPPER:[`${xe.internals.ns.selector("table")} ${xe.internals.ns.selector("table__wrapper")}`],SHADOW:xe.internals.ns.selector("table__shadow"),SHADOW_LEFT:xe.internals.ns.selector("table__shadow--left"),SHADOW_RIGHT:xe.internals.ns.selector("table__shadow--right"),ELEMENT:[`${xe.internals.ns.selector("table")}:not(${xe.internals.ns.selector("table--no-scroll")}) table`],CAPTION:`${xe.internals.ns.selector("table")} table caption`,ROW:`${xe.internals.ns.selector("table")} tbody tr`,COL:`${xe.internals.ns.selector("table")} thead th`};class Us extends xe.core.Instance{static get instanceClassName(){return"TableElement"}init(){this.listen("scroll",this.scroll.bind(this)),this.content=this.querySelector("tbody"),this.tableOffsetHeight=0,this.isResizing=!0}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,e?(this.addClass(Hs.SHADOW),this.scroll()):(this.removeClass(Hs.SHADOW),this.removeClass(Hs.SHADOW_LEFT),this.removeClass(Hs.SHADOW_RIGHT)))}scroll(){const e=this.node.scrollLeft<=0,t=this.content.offsetWidth-this.node.offsetWidth-0,s=Math.abs(this.node.scrollLeft)>=t,i="rtl"===document.documentElement.getAttribute("dir"),n=i?Hs.SHADOW_RIGHT:Hs.SHADOW_LEFT,r=i?Hs.SHADOW_LEFT:Hs.SHADOW_RIGHT;e?this.removeClass(n):this.addClass(n),s?this.removeClass(r):this.addClass(r)}resize(){this.isScrolling=this.content.offsetWidth>this.node.offsetWidth}dispose(){this.isScrolling=!1}}class Bs extends xe.core.Instance{static get instanceClassName(){return"TableCaption"}init(){this.height=0,this.isResizing=!0}resize(){const e=this.getRect().height;this.height!==e&&(this.height=e,this.ascend(Ms.CAPTION_HEIGHT,`calc(${e}px + 1rem)`))}}class Fs extends xe.core.Instance{static get instanceClassName(){return"TableRow"}init(){xe.checkbox&&(this.addAscent(et.CHANGE,this._handleCheckboxChange.bind(this)),this.descend(et.RETRIEVE))}_handleCheckboxChange(e){"row-select"!==e.name&&"true"!==e.getAttribute(xe.internals.ns.attr("row-select"))||(this.isSelected=!0===e.checked)}render(){const e=this.getRect().height+2;this._height!==e&&(this._height=e,this.setProperty("--row-height",`${this._height}px`))}get isSelected(){return this._isSelected}set isSelected(e){this._isSelected!==e&&(this.isRendering=e,this._isSelected=e,this.setAttribute("aria-selected",e))}}xe.table={Table:Gs,TableWrapper:$s,TableElement:Us,TableCaption:Bs,TableSelector:Hs,TableRow:Fs},xe.internals.register(xe.table.TableSelector.TABLE,xe.table.Table),xe.internals.register(xe.table.TableSelector.TABLE_WRAPPER,xe.table.TableWrapper),xe.internals.register(xe.table.TableSelector.ELEMENT,xe.table.TableElement),xe.internals.register(xe.table.TableSelector.CAPTION,xe.table.TableCaption),xe.internals.register(xe.table.TableSelector.ROW,xe.table.TableRow);
|
3
|
+
//# sourceMappingURL=dsfr.module.min.js.map
|