@itcenteratunihelsinki/huds-lib 0.5.12 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-box.cjs.entry.js +1 -1
- package/dist/cjs/{globalScript-1c4e262e.js → globalScript-92a1392d.js} +1 -1
- package/dist/cjs/huds-lib.cjs.js +3 -3
- package/dist/cjs/hy-accordion-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +2 -2
- package/dist/cjs/hy-anchor-link-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-badge.cjs.entry.js +1 -1
- package/dist/cjs/hy-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-baseline.cjs.entry.js +1 -1
- package/dist/cjs/hy-box-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/hy-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/hy-collaboration.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list-item.cjs.entry.js +2 -2
- package/dist/cjs/hy-content-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-desktop-menu-links.cjs.entry.js +68 -102
- package/dist/cjs/hy-docs-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-dropdown-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/hy-filter-group-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-list-type.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-visibility-tool-reset_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-visibility-tool.cjs.entry.js +1 -1
- package/dist/cjs/hy-footer_5.cjs.entry.js +2 -2
- package/dist/cjs/hy-general-list_2.cjs.entry.js +2 -2
- package/dist/cjs/hy-grid-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-grid-row.cjs.entry.js +1 -1
- package/dist/cjs/hy-heading.cjs.entry.js +9 -3
- package/dist/cjs/hy-hero.cjs.entry.js +5 -5
- package/dist/cjs/hy-icon.cjs.entry.js +1 -1
- package/dist/cjs/hy-image.cjs.entry.js +3 -3
- package/dist/cjs/hy-ingress.cjs.entry.js +1 -1
- package/dist/cjs/hy-introduction.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-figure-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-figure.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-highlight-group.cjs.entry.js +2 -2
- package/dist/cjs/hy-key-highlight.cjs.entry.js +1 -1
- package/dist/cjs/hy-large-process-flow-phase.cjs.entry.js +2 -2
- package/dist/cjs/hy-large-process-flow.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-link-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-link-list.cjs.entry.js +2 -2
- package/dist/cjs/hy-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-list-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-logo-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-logo-grid.cjs.entry.js +1 -1
- package/dist/cjs/hy-main-content-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/hy-main.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-item-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-item.cjs.entry.js +5 -3
- package/dist/cjs/hy-menu-language-item.cjs.entry.js +5 -10
- package/dist/cjs/hy-menu-language_2.cjs.entry.js +19 -24
- package/dist/cjs/hy-menu-level-container.cjs.entry.js +3 -3
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +3 -3
- package/dist/cjs/hy-menu-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu.cjs.entry.js +7 -11
- package/dist/cjs/hy-mobile-menu-shortcuts.cjs.entry.js +26 -0
- package/dist/cjs/hy-opening-hours-content.cjs.entry.js +1 -1
- package/dist/cjs/hy-opening-hours.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager.cjs.entry.js +1 -1
- package/dist/cjs/hy-paragraph-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-card.cjs.entry.js +1 -1
- package/dist/cjs/hy-process-flow-box.cjs.entry.js +1 -1
- package/dist/cjs/hy-process.cjs.entry.js +2 -2
- package/dist/cjs/hy-prominent-image.cjs.entry.js +1 -1
- package/dist/cjs/hy-quote.cjs.entry.js +1 -1
- package/dist/cjs/hy-row.cjs.entry.js +1 -1
- package/dist/cjs/hy-search-field.cjs.entry.js +1 -1
- package/dist/cjs/hy-section-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/hy-site-header_3.cjs.entry.js +43 -42
- package/dist/cjs/hy-table-container.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-tabs.cjs.entry.js +1 -1
- package/dist/cjs/hy-tag.cjs.entry.js +1 -1
- package/dist/cjs/hy-tiny-text.cjs.entry.js +1 -1
- package/dist/cjs/hy-twitter-feed.cjs.entry.js +1 -1
- package/dist/cjs/hy-two-columns.cjs.entry.js +1 -1
- package/dist/cjs/hy-user-login-form.cjs.entry.js +1 -1
- package/dist/cjs/hy-video.cjs.entry.js +1 -1
- package/dist/cjs/{index-52aea450.js → index-1b0fdf83.js} +2 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/heading/heading.js +32 -5
- package/dist/collection/components/hy-hero/hy-hero.css +6 -0
- package/dist/collection/components/hy-hero/hy-hero.js +2 -2
- package/dist/collection/components/image/image.css +7 -0
- package/dist/collection/components/image/image.js +1 -1
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.css +3 -21
- package/dist/collection/components/navigation/menu/menu.css +51 -27
- package/dist/collection/components/navigation/menu/menu.js +10 -12
- package/dist/collection/components/navigation/menu-item/menu-item.css +69 -50
- package/dist/collection/components/navigation/menu-item/menu-item.js +25 -2
- package/dist/collection/components/navigation/menu-language/menu-language.css +79 -137
- package/dist/collection/components/navigation/menu-language/menu-language.js +18 -40
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.css +15 -81
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +4 -28
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.css +1 -0
- package/dist/collection/components/navigation/menu-level-container/menu-level-container.js +2 -1
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.css +13 -31
- package/dist/collection/components/navigation/menu-mobile-breadcrumb/menu-mobile-breadcrumb.js +2 -8
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.css +140 -0
- package/dist/collection/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.js +68 -0
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.css +236 -455
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +132 -131
- package/dist/collection/components/site-header/site-header.css +189 -405
- package/dist/collection/components/site-header/site-header.js +83 -108
- package/dist/collection/components/site-header/site-logo/site-logo.css +2 -1
- package/dist/collection/components/site-header/site-search/site-search.css +58 -113
- package/dist/collection/components/site-header/site-search/site-search.js +3 -3
- package/dist/esm/color-box.entry.js +1 -1
- package/dist/esm/{globalScript-5c9d232b.js → globalScript-968b96dd.js} +1 -1
- package/dist/esm/huds-lib.js +3 -3
- package/dist/esm/hy-accordion-container.entry.js +1 -1
- package/dist/esm/hy-accordion-item.entry.js +1 -1
- package/dist/esm/hy-adjacent-image-text.entry.js +2 -2
- package/dist/esm/hy-anchor-link-list.entry.js +2 -2
- package/dist/esm/hy-badge.entry.js +1 -1
- package/dist/esm/hy-banner.entry.js +1 -1
- package/dist/esm/hy-baseline.entry.js +1 -1
- package/dist/esm/hy-box-container.entry.js +1 -1
- package/dist/esm/hy-box.entry.js +1 -1
- package/dist/esm/hy-breadcrumbs.entry.js +2 -2
- package/dist/esm/hy-button.entry.js +1 -1
- package/dist/esm/hy-checkbox.entry.js +1 -1
- package/dist/esm/hy-collaboration.entry.js +1 -1
- package/dist/esm/hy-content-list-item.entry.js +2 -2
- package/dist/esm/hy-content-list.entry.js +1 -1
- package/dist/esm/hy-crisis-banner.entry.js +1 -1
- package/dist/esm/hy-cta-button.entry.js +1 -1
- package/dist/esm/hy-cta-link.entry.js +1 -1
- package/dist/esm/hy-desktop-menu-links.entry.js +68 -102
- package/dist/esm/hy-docs-container.entry.js +1 -1
- package/dist/esm/hy-dropdown-panel_2.entry.js +1 -1
- package/dist/esm/hy-dropdown.entry.js +2 -2
- package/dist/esm/hy-filter-group-item.entry.js +1 -1
- package/dist/esm/hy-filter-group.entry.js +1 -1
- package/dist/esm/hy-filter-list-type.entry.js +1 -1
- package/dist/esm/hy-filter-visibility-tool-reset_2.entry.js +1 -1
- package/dist/esm/hy-filter-visibility-tool.entry.js +1 -1
- package/dist/esm/hy-footer_5.entry.js +2 -2
- package/dist/esm/hy-general-list_2.entry.js +2 -2
- package/dist/esm/hy-grid-container.entry.js +1 -1
- package/dist/esm/hy-grid-item.entry.js +1 -1
- package/dist/esm/hy-grid-row.entry.js +1 -1
- package/dist/esm/hy-heading.entry.js +9 -3
- package/dist/esm/hy-hero.entry.js +5 -5
- package/dist/esm/hy-icon.entry.js +1 -1
- package/dist/esm/hy-image.entry.js +3 -3
- package/dist/esm/hy-ingress.entry.js +1 -1
- package/dist/esm/hy-introduction.entry.js +1 -1
- package/dist/esm/hy-key-figure-group.entry.js +2 -2
- package/dist/esm/hy-key-figure.entry.js +1 -1
- package/dist/esm/hy-key-highlight-group.entry.js +2 -2
- package/dist/esm/hy-key-highlight.entry.js +1 -1
- package/dist/esm/hy-large-process-flow-phase.entry.js +2 -2
- package/dist/esm/hy-large-process-flow.entry.js +2 -2
- package/dist/esm/hy-link-box-list.entry.js +2 -2
- package/dist/esm/hy-link-box.entry.js +1 -1
- package/dist/esm/hy-link-list.entry.js +2 -2
- package/dist/esm/hy-link.entry.js +1 -1
- package/dist/esm/hy-list-item.entry.js +1 -1
- package/dist/esm/hy-logo-grid-item.entry.js +1 -1
- package/dist/esm/hy-logo-grid.entry.js +1 -1
- package/dist/esm/hy-main-content-wrapper.entry.js +1 -1
- package/dist/esm/hy-main.entry.js +1 -1
- package/dist/esm/hy-menu-item-sidebar.entry.js +1 -1
- package/dist/esm/hy-menu-item.entry.js +5 -3
- package/dist/esm/hy-menu-language-item.entry.js +5 -10
- package/dist/esm/hy-menu-language_2.entry.js +19 -24
- package/dist/esm/hy-menu-level-container.entry.js +3 -3
- package/dist/esm/hy-menu-main-group.entry.js +3 -3
- package/dist/esm/hy-menu-sidebar.entry.js +1 -1
- package/dist/esm/hy-menu.entry.js +8 -12
- package/dist/esm/hy-mobile-menu-shortcuts.entry.js +22 -0
- package/dist/esm/hy-opening-hours-content.entry.js +1 -1
- package/dist/esm/hy-opening-hours.entry.js +1 -1
- package/dist/esm/hy-pager-item.entry.js +1 -1
- package/dist/esm/hy-pager.entry.js +1 -1
- package/dist/esm/hy-paragraph-text.entry.js +1 -1
- package/dist/esm/hy-person-card.entry.js +1 -1
- package/dist/esm/hy-process-flow-box.entry.js +1 -1
- package/dist/esm/hy-process.entry.js +2 -2
- package/dist/esm/hy-prominent-image.entry.js +1 -1
- package/dist/esm/hy-quote.entry.js +1 -1
- package/dist/esm/hy-row.entry.js +1 -1
- package/dist/esm/hy-search-field.entry.js +1 -1
- package/dist/esm/hy-section-container.entry.js +1 -1
- package/dist/esm/hy-shortcuts.entry.js +1 -1
- package/dist/esm/hy-site-header_3.entry.js +43 -42
- package/dist/esm/hy-table-container.entry.js +1 -1
- package/dist/esm/hy-tabs-item.entry.js +1 -1
- package/dist/esm/hy-tabs.entry.js +1 -1
- package/dist/esm/hy-tag.entry.js +1 -1
- package/dist/esm/hy-tiny-text.entry.js +1 -1
- package/dist/esm/hy-twitter-feed.entry.js +1 -1
- package/dist/esm/hy-two-columns.entry.js +1 -1
- package/dist/esm/hy-user-login-form.entry.js +1 -1
- package/dist/esm/hy-video.entry.js +1 -1
- package/dist/esm/{index-fbbc09ec.js → index-a38b87db.js} +2 -1
- package/dist/esm/loader.js +3 -3
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-00e94feb.entry.js +1 -0
- package/dist/huds-lib/p-0116a0a5.entry.js +1 -0
- package/dist/huds-lib/{p-6d9e4ec4.entry.js → p-01712ca5.entry.js} +1 -1
- package/dist/huds-lib/{p-75c2d150.entry.js → p-0260d2ca.entry.js} +1 -1
- package/dist/huds-lib/{p-2d4098f9.entry.js → p-0977618c.entry.js} +1 -1
- package/dist/huds-lib/{p-9693b155.entry.js → p-0ecafe0e.entry.js} +1 -1
- package/dist/huds-lib/{p-f05bdce1.entry.js → p-11e56f3a.entry.js} +1 -1
- package/dist/huds-lib/{p-9b834399.entry.js → p-15a21c20.entry.js} +1 -1
- package/dist/huds-lib/{p-b4bf94bd.entry.js → p-15db4fae.entry.js} +1 -1
- package/dist/huds-lib/{p-afd2181e.entry.js → p-164c361b.entry.js} +1 -1
- package/dist/huds-lib/{p-3056d124.entry.js → p-17c1f514.entry.js} +1 -1
- package/dist/huds-lib/{p-f6117edb.entry.js → p-1b85cd45.entry.js} +1 -1
- package/dist/huds-lib/{p-0bd337a8.entry.js → p-1d255319.entry.js} +1 -1
- package/dist/huds-lib/{p-eadd8cb3.entry.js → p-229d3332.entry.js} +1 -1
- package/dist/huds-lib/{p-1c78eb02.entry.js → p-241216a3.entry.js} +1 -1
- package/dist/huds-lib/{p-69fdd152.entry.js → p-258c3b0e.entry.js} +1 -1
- package/dist/huds-lib/{p-8c0ec875.entry.js → p-26104af0.entry.js} +1 -1
- package/dist/huds-lib/{p-665bab39.entry.js → p-2716775c.entry.js} +1 -1
- package/dist/huds-lib/{p-57ab4e6e.entry.js → p-2884f04c.entry.js} +1 -1
- package/dist/huds-lib/{p-abebc2df.entry.js → p-2ed13bb3.entry.js} +1 -1
- package/dist/huds-lib/{p-7b2c2481.entry.js → p-31e8b291.entry.js} +1 -1
- package/dist/huds-lib/{p-a847e865.entry.js → p-3862113f.entry.js} +1 -1
- package/dist/huds-lib/{p-031d3bf8.entry.js → p-3a0cbfbc.entry.js} +1 -1
- package/dist/huds-lib/{p-fd339472.entry.js → p-3a2fd06e.entry.js} +1 -1
- package/dist/huds-lib/{p-485099a1.entry.js → p-3ca46ddb.entry.js} +1 -1
- package/dist/huds-lib/{p-a21ebe8a.entry.js → p-3ef36a18.entry.js} +1 -1
- package/dist/huds-lib/{p-7d0b0674.entry.js → p-3f15571f.entry.js} +1 -1
- package/dist/huds-lib/{p-9deb2733.entry.js → p-4404fbde.entry.js} +1 -1
- package/dist/huds-lib/{p-7f7f7bc1.entry.js → p-445be0e8.entry.js} +1 -1
- package/dist/huds-lib/{p-70fcc954.entry.js → p-535b56d4.entry.js} +1 -1
- package/dist/huds-lib/{p-35bc6516.entry.js → p-54229a0d.entry.js} +1 -1
- package/dist/huds-lib/{p-45454a42.js → p-5617bc3e.js} +1 -1
- package/dist/huds-lib/{p-34e39dd2.entry.js → p-5b3a4a8b.entry.js} +1 -1
- package/dist/huds-lib/p-5e1dc555.entry.js +1 -0
- package/dist/huds-lib/p-64023b5d.entry.js +1 -0
- package/dist/huds-lib/p-6b8b4259.entry.js +1 -0
- package/dist/huds-lib/{p-23820e91.entry.js → p-6fd29d10.entry.js} +1 -1
- package/dist/huds-lib/{p-8d22323b.entry.js → p-7e9f2a43.entry.js} +1 -1
- package/dist/huds-lib/{p-3aeb60c7.entry.js → p-7f005622.entry.js} +1 -1
- package/dist/huds-lib/{p-beab95eb.entry.js → p-81800bd1.entry.js} +1 -1
- package/dist/huds-lib/{p-c247af64.entry.js → p-83a380fc.entry.js} +1 -1
- package/dist/huds-lib/{p-44c98cd6.entry.js → p-891108e9.entry.js} +1 -1
- package/dist/huds-lib/{p-0c682a0e.entry.js → p-8b20a127.entry.js} +1 -1
- package/dist/huds-lib/{p-6ec67f50.entry.js → p-8cbbedb1.entry.js} +1 -1
- package/dist/huds-lib/{p-3663dfa6.entry.js → p-8fe61cc4.entry.js} +1 -1
- package/dist/huds-lib/{p-fe6eb2b6.entry.js → p-91e7dbdb.entry.js} +1 -1
- package/dist/huds-lib/{p-10808327.entry.js → p-943998ee.entry.js} +1 -1
- package/dist/huds-lib/p-9482c6bf.entry.js +1 -0
- package/dist/huds-lib/{p-c89d1618.entry.js → p-9739d43b.entry.js} +1 -1
- package/dist/huds-lib/p-97727091.entry.js +8 -0
- package/dist/huds-lib/p-9ab9c615.entry.js +1 -0
- package/dist/huds-lib/{p-ae673c56.entry.js → p-9caa985a.entry.js} +1 -1
- package/dist/huds-lib/{p-7d777e18.entry.js → p-9eb39b28.entry.js} +1 -1
- package/dist/huds-lib/p-a099a649.entry.js +1 -0
- package/dist/huds-lib/{p-7d3faaef.entry.js → p-a295071c.entry.js} +1 -1
- package/dist/huds-lib/{p-b6cc78ce.entry.js → p-a90b0293.entry.js} +1 -1
- package/dist/huds-lib/p-ac7fbdbf.entry.js +1 -0
- package/dist/huds-lib/{p-6e9878d1.entry.js → p-add4a25d.entry.js} +1 -1
- package/dist/huds-lib/{p-4539ca8d.entry.js → p-b1a3cbcc.entry.js} +1 -1
- package/dist/huds-lib/{p-ae4a5bed.entry.js → p-b5ca8a38.entry.js} +1 -1
- package/dist/huds-lib/{p-b3b6e7b9.entry.js → p-b71d0912.entry.js} +1 -1
- package/dist/huds-lib/{p-4622b82d.entry.js → p-b86b5336.entry.js} +1 -1
- package/dist/huds-lib/{p-89a197ec.entry.js → p-b8735152.entry.js} +1 -1
- package/dist/huds-lib/p-beeb1416.entry.js +1 -0
- package/dist/huds-lib/p-bffe53e9.entry.js +1 -0
- package/dist/huds-lib/{p-d8161ace.entry.js → p-c143d160.entry.js} +1 -1
- package/dist/huds-lib/{p-eb55e724.entry.js → p-c21d1933.entry.js} +1 -1
- package/dist/huds-lib/{p-e75ee214.entry.js → p-c3e38183.entry.js} +1 -1
- package/dist/huds-lib/{p-fb3c39b3.entry.js → p-c4960510.entry.js} +1 -1
- package/dist/huds-lib/{p-327a543d.entry.js → p-c8c24282.entry.js} +1 -1
- package/dist/huds-lib/{p-ea7f948e.entry.js → p-caf7a56b.entry.js} +1 -1
- package/dist/huds-lib/p-ce9d4716.entry.js +1 -0
- package/dist/huds-lib/{p-d38b0576.entry.js → p-d1249b2e.entry.js} +1 -1
- package/dist/huds-lib/{p-36dbfc06.js → p-d5584db1.js} +1 -1
- package/dist/huds-lib/{p-2c9cd456.entry.js → p-d60b07c4.entry.js} +1 -1
- package/dist/huds-lib/{p-70a0c53c.entry.js → p-d6588da7.entry.js} +1 -1
- package/dist/huds-lib/{p-21eda560.entry.js → p-d9de2cad.entry.js} +1 -1
- package/dist/huds-lib/p-db142402.entry.js +1 -0
- package/dist/huds-lib/{p-a19edd06.entry.js → p-dd2ab3e6.entry.js} +1 -1
- package/dist/huds-lib/{p-25b70e5e.entry.js → p-e1346358.entry.js} +1 -1
- package/dist/huds-lib/{p-98dd30e9.entry.js → p-e475714a.entry.js} +1 -1
- package/dist/huds-lib/{p-c0b247d8.entry.js → p-e6a97c32.entry.js} +1 -1
- package/dist/huds-lib/{p-c8b11427.entry.js → p-e6fa0f75.entry.js} +1 -1
- package/dist/huds-lib/{p-711691d9.entry.js → p-ea7dde9b.entry.js} +1 -1
- package/dist/huds-lib/{p-91397c3c.entry.js → p-efeeca30.entry.js} +1 -1
- package/dist/huds-lib/{p-566ac888.entry.js → p-f4a9ea9c.entry.js} +1 -1
- package/dist/huds-lib/{p-9f0c5752.entry.js → p-f5e78e68.entry.js} +1 -1
- package/dist/huds-lib/{p-2ee50dff.entry.js → p-f7d11cd4.entry.js} +1 -1
- package/dist/huds-lib/{p-d15f1223.entry.js → p-fb8f253d.entry.js} +1 -1
- package/dist/types/components/heading/heading.d.ts +3 -0
- package/dist/types/components/navigation/menu-item/menu-item.d.ts +1 -0
- package/dist/types/components/navigation/menu-language/menu-language.d.ts +0 -1
- package/dist/types/components/navigation/menu-language-item/menu-language-item.d.ts +0 -1
- package/dist/types/components/navigation/mobile-menu-shortcuts/mobile-menu-shortcuts.d.ts +13 -0
- package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +2 -1
- package/dist/types/components/site-header/site-header.d.ts +1 -0
- package/dist/types/components.d.ts +26 -4
- package/package.json +1 -1
- package/dist/huds-lib/p-0746359d.entry.js +0 -1
- package/dist/huds-lib/p-1862b753.entry.js +0 -1
- package/dist/huds-lib/p-402d4c06.entry.js +0 -1
- package/dist/huds-lib/p-4b5ede51.entry.js +0 -1
- package/dist/huds-lib/p-57506f48.entry.js +0 -1
- package/dist/huds-lib/p-6dde95bc.entry.js +0 -8
- package/dist/huds-lib/p-9f108905.entry.js +0 -1
- package/dist/huds-lib/p-aaa6f401.entry.js +0 -1
- package/dist/huds-lib/p-b146defe.entry.js +0 -1
- package/dist/huds-lib/p-b542ab10.entry.js +0 -1
- package/dist/huds-lib/p-c1c66328.entry.js +0 -1
- package/dist/huds-lib/p-d56fd335.entry.js +0 -1
- package/dist/huds-lib/p-fa16383c.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,g as a}from"./p-
|
|
1
|
+
import{r as t,h as e,H as i,g as a}from"./p-d5584db1.js";import{f as r,g as l}from"./p-e20f6203.js";const n=class{constructor(e){t(this,e),this.linkLabel="Go to course page",this.noResultLabel="No courses scheduled at the moment",this.creditsLabel="cr",this.cancelledLabel="Cancelled",this.headerstyle="common",this.courseStateVariant=r.default,this.variant=l.default,this.courseRealisations=[]}dataWatcher(t){this._dataItems="string"==typeof t?JSON.parse(t):t}componentWillLoad(){this.dataWatcher(this.dataItems)}handleCardClick(t){let e=this.el.shadowRoot.getElementById(t);e&&window.open(e.dataset.location,"_blank")}async componentDidLoad(){let t=this.el.closest(".hy-main");t&&(t.classList.contains("with-sidebar")||(this.headerstyle="large"))}renderItems(){let t=[];return this._dataItems&&this._dataItems.length>0&&this._dataItems.forEach((i=>{let a=JSON.parse(JSON.stringify(i));this.variant="list"==a.courseListType?l.row:l.grid;for(let i in a){if("courseListType"==i)continue;let r=a[i],l=r.code,n=r.credits;if(r.realisations){let i=JSON.parse(JSON.stringify(r.realisations));for(let a in i){let r=i[a],s=r.name+", "+n+" "+this.creditsLabel,o=r.studyFormat,d=r.cancelled,c=r.startDate,h=r.endDate,m=r.enrolmentLink,g=r.teachingLanguage,b=r.organisation,f=[];if(r.tags){let t=JSON.parse(JSON.stringify(r.tags));for(let e in t)f.push({name:t[e]})}let y=JSON.stringify(f);const p=["item",this.variant].join(" ");t.push(e("hy-content-list-item",{id:a,class:p,variant:this.variant,"state-variant":this.courseStateVariant,"course-code":l,"course-name":s,"is-cancelled":d,"cancelled-label":this.cancelledLabel,"course-credits":n,"course-tags":y,"course-start-date":c,"course-end-date":h,"course-study-format":o,"course-organisation":b,"course-enrollment-link":m,"course-teaching-language":g,"course-link-label":this.linkLabel,"data-location":m,onClick:()=>this.handleCardClick(a)}))}}}})),t}render(){const t=[this.variant,"hy-content-list"].join(" "),a=["hy-content-list--alert",`hy-content-list--alert--${this.headerstyle}`].join(" "),r=["hy-content-list--alert-label",`hy-content-list--alert-label--${this.headerstyle}`].join(" ");return this.courseRealisations=this.renderItems(),e(i,null,e("div",{class:t},this.courseRealisations&&this.courseRealisations.length>0?this.courseRealisations:e("div",{class:"hy-content-list--no-result"},e("span",{class:a},e("hy-icon",{icon:"hy-icon-info",size:16})),e("span",{class:r},this.noResultLabel))))}get el(){return a(this)}static get watchers(){return{dataItems:["dataWatcher"]}}};n.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-content-list{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);-ms-flex-wrap:wrap;flex-wrap:wrap}.hy-content-list--no-result{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-content-list--alert{margin-right:6px}.hy-content-list--alert svg{fill:var(--grayscale-dark)}@media (min-width: 1601px){.hy-content-list--alert svg{height:18px;width:18px}}@media (min-width: 87.5rem){.hy-content-list--alert--large svg{height:18px;width:18px}}.hy-content-list--alert-label{font-family:var(--main-font-family);font-size:0.9375rem;line-height:22px;color:var(--grayscale-dark);font-style:italic;letter-spacing:0}@media (min-width: 30rem){.hy-content-list--alert-label{font-size:1rem;line-height:24px}}@media (min-width: 1601px){.hy-content-list--alert-label{font-size:1.0625rem;line-height:26px}}@media (min-width: 87.5rem){.hy-content-list--alert-label--large{font-size:1.0625rem;line-height:26px}}.hy-content-list.row{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-content-list.grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}";export{n as hy_content_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as e,h as t,H as a,g as n}from"./p-d5584db1.js";import{M as s}from"./p-e20f6203.js";const o=class{constructor(t){i(this,t),this.addBreadcrumb=e(this,"addBreadcrumb",7),this.menuContainerActiveTrail=e(this,"menuContainerActiveTrail",7),this.menuContainerToggled=e(this,"menuContainerToggled",7),this.routeClicked=e(this,"routeClicked",7),this.inActiveTrail=!1,this.isActive=!1,this.isActiveChild=!1,this.isHeading=!1,this.isParent=!1,this.isDemo=!1,this.isExternal=!1,this.menuItemAlternative=!1,this.menuLinkId="",this.menuType=s.desktop,this.menuButtonSubmenuExpand="",this.ariaExpanded=!1,this.depth=0,this.hasChildren=null,this.label="",this.parentAsHeading="",this.parentExpanded=!1,this.url=""}handleClick(){this.menuContainerToggled.emit({triggerItem:this.menuLinkId,triggerType:"add"});const i=this.el.parentNode;let e=i.parentElement.getAttribute("label")?i.parentElement.getAttribute("label"):this.menuButtonBreadcrumbMain;this.addBreadcrumb.emit({url:this.url,label:e,bid:this.menuLinkId,isMainMenu:e==this.menuButtonBreadcrumbMain})}componentWillLoad(){if(this.el.classList.contains("is-active")&&(this.isActive=!0),this.inActiveTrail){const i=this.el.parentNode;let e=i.parentElement.getAttribute("label")?i.parentElement.getAttribute("label"):this.menuButtonBreadcrumbMain;this.addBreadcrumb.emit({url:this.url,label:e,bid:this.menuLinkId})}if(this.isActive){(i=>{let e=[];for(;i.parentNode&&"hy-menu"!=i.parentNode.nodeName.toLowerCase();)e.push(i=i.parentNode);return e})(this.el).forEach((i=>{"hy-menu-item"===i.tagName.toLowerCase()&&this.menuContainerActiveTrail.emit({triggerItem:i.getAttribute("menu-link-id")})}))}this.hasChildren=this.el.getElementsByTagName("hy-menu-level-container").length>=1}render(){switch(this.menuType){case s.desktop:return t(a,{class:{"is-active":this.isActive,"hy-menu-item":!0,"hy-menu-item--alternative":this.menuItemAlternative,"hy-menu-item--desktop":!0,"is-demo":this.isDemo}},t("a",{"aria-current":this.isHeading.toString(),href:this.url,class:{"is-active":this.isActive,"in-active-trail":this.inActiveTrail,"is-heading":this.isHeading,"hy-menu-item--desktop":!0,"is-demo":this.isDemo}},1==this.depth&&t("span",{class:"hy-menu-item__heading__icon"},t("hy-icon",{icon:"hy-icon-arrow-right",size:40})),2==this.depth&&t("span",{class:"hy-menu-item__heading__icon"},t("hy-icon",{icon:"hy-icon-caret-right",size:12})),t("span",{class:"hy-menu-item__label"},this.label)),this.hasChildren&&t("slot",null));case s.mobile:return t(a,{class:{"is-active":this.isActive,"hy-menu-item":!0,"hy-menu-item--alternative":this.menuItemAlternative,"hy-menu-item--mobile":!0,"is-demo":this.isDemo}},t("a",{"aria-current":this.isHeading.toString(),href:this.url,class:{"is-active":this.isActive,"in-active-trail":this.inActiveTrail,"is-heading":this.isHeading,"hy-menu-item--mobile":!0,"is-demo":this.isDemo,"is-external":this.isExternal,first:1==this.depth}},1!==this.depth&&!this.isHeading&&t("hy-icon",{icon:"hy-icon-caret-right",size:10}),t("span",{class:"hy-menu-item__label"},this.label,this.isExternal&&t("hy-icon",{icon:"hy-icon-arrow-right",size:12}))),this.hasChildren&&t("button",{"aria-haspopup":"true","aria-label":`Open submenu for ${this.label}`,onClick:()=>this.handleClick(),class:"hy-menu-item__button"},t("hy-icon",{icon:"hy-icon-caret-right",size:16})),this.hasChildren&&t("slot",null));case s.sidenav:let i=["hy-menu-item--sidenav",this.isDemo?"is-demo":"",this.isActive?"is-active":"",this.isParent?"is-parent":"",this.isActiveChild?"is-active--child":"",this.inActiveTrail?"in-active-trail":"",null!=this.depth?"hy-menu-item--level-"+this.depth:"",this.isActive&&this.hasChildren?"is-active--heading":""],e=[...i,this.isHeading?"is-heading":""];return i=[...i,"hy-menu-item"],t("li",{class:i.join(" ")},t("a",{class:e.join(" "),href:this.url},this.label),this.hasChildren&&t("slot",null))}}get el(){return n(this)}};o.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host(.hy-menu-item--mobile){--menu-item-display:flex;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:4px}:host(.hy-menu-item--mobile.hy-menu-item--alternative){border-bottom:0 none;border-top:1px solid black}:host(.hy-menu-item--mobile:last-of-type){border-bottom:0 none}:host(.hy-menu-item--mobile.is-hidden){visibility:hidden !important}:host(.hy-menu-item--mobile.is-hidden):focus{outline:none}:host(.hy-menu-item--sidenav){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;--hy-menu-item-sidenav-display:block}:host(.hy-menu-item--sidenav.is-active){display:block;visibility:visible}:host(.hy-menu-item--sidenav.is-active--child){display:block;visibility:visible}:host(.hy-menu-item--sidenav.in-active-trail){display:block;visibility:visible}:host(.hy-menu-item) a{font-size:1rem;line-height:20px;font-weight:600;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);letter-spacing:-0.5px;text-decoration:none;width:100%;padding:12px 16px}:host(.hy-menu-item) a:focus{outline:solid 2px var(--additional-yellow);outline-offset:-2px}:host(.hy-menu-item) a .hy-menu-item__label hy-icon{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important;margin-left:6px;margin-right:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}:host(.hy-menu-item) a .hy-menu-item__label hy-icon svg{fill:var(--brand-main)}:host(.hy-menu-item) a.hy-menu-item--mobile.first{font-size:1.3125rem;line-height:28px;font-weight:700;color:var(--brand-main-light);letter-spacing:-0.42px;padding:16px 0 16px 16px}:host(.hy-menu-item) a.hy-menu-item--mobile.is-active{color:var(--grayscale-black);position:relative}:host(.hy-menu-item) a.hy-menu-item--mobile.is-active:before{border-left:3px solid var(--grayscale-black);content:"";height:75%;left:10px;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host(.hy-menu-item) a.hy-menu-item--mobile.in-active-trail{font-weight:700;color:var(--grayscale-black)}:host(.hy-menu-item) a.hy-menu-item--mobile.in-active-trail:before{border-left-width:3px;height:55%}:host(.hy-menu-item) a.hy-menu-item--mobile.is-heading{font-size:1.3125rem;line-height:28px;font-weight:700;color:var(--brand-main-light);letter-spacing:-0.42px;padding:16px}:host(.hy-menu-item) a.hy-menu-item--mobile.is-heading.is-active,:host(.hy-menu-item) a.hy-menu-item--mobile.is-heading.in-active-trail{font-weight:700;background:transparent;border-bottom:0;color:var(--grayscale-black)}:host(.hy-menu-item) a.hy-menu-item--mobile.is-heading.is-active:before,:host(.hy-menu-item) a.hy-menu-item--mobile.is-heading.in-active-trail:before{border-left-width:3px;height:55%}:host(.hy-menu-item) a.hy-menu-item--mobile>hy-icon{-ms-flex-item-align:start;align-self:flex-start;margin-top:10px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host(.hy-menu-item) a.hy-menu-item--mobile hy-icon+.hy-menu-item__label{margin-left:10px}:host(.hy-menu-item) a.is-heading{display:inherit}@media (min-width: 75.0625rem){:host(.hy-menu-item) a.is-heading{display:none}}:host(.hy-menu-item) a.hy-menu-item--sidenav{font-size:1.125rem;line-height:24px;font-weight:700;color:var(--brand-main-light);display:var(--hy-menu-item-sidenav-display);font-family:var(--main-font-family);margin:10px 0;padding:8px 0}:host(.hy-menu-item) a.hy-menu-item--sidenav:focus{outline-offset:4px}:host(.hy-menu-item) a.hy-menu-item--sidenav:hover{color:var(--brand-main-nearly-black)}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active{color:var(--brand-main-nearly-black);text-decoration:none}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active .hy-menu-item__label{padding-bottom:0}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active--heading{font-size:1.625rem;line-height:40px;color:var(--brand-main-nearly-black);text-transform:uppercase}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active--heading .hy-menu-item__label{border-bottom:4px solid var(--brand-main-nearly-black);padding:0}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active--heading .hy-menu-item__label__icon{display:none}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-active--child{color:var(--brand-main-light);text-decoration:none}:host(.hy-menu-item) a.hy-menu-item--sidenav .hy-menu-item__label__icon{color:var(--brand-main-light);display:inline-block;padding-left:5px}.is-active :host(.hy-menu-item) a.hy-menu-item--sidenav .hy-menu-item__label__icon{display:none}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-parent{font-size:1rem;line-height:22px;font-weight:600;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;text-decoration:none}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-parent:hover{color:var(--brand-main-nearly-black)}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-parent:hover .hy-menu-item__label__icon{color:var(--brand-main-nearly-black)}:host(.hy-menu-item) a.hy-menu-item--sidenav.is-parent .hy-menu-item__label__icon{margin-right:8px}.hy-menu-item__button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:0;border-bottom:0;border-right:0;border-top:0;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0;width:44px;position:relative;-ms-flex-negative:0;flex-shrink:0}.hy-menu-item__button:before{background-color:var(--grayscale-medium);width:1px;height:32px;content:"";display:inline-block;-webkit-transform:translateY(-50%);transform:translateY(-50%);top:50%;left:0;position:absolute}.hy-menu-item__button svg{fill:var(--grayscale-black)}';export{o as hy_menu_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,H as r,g as a}from"./p-
|
|
1
|
+
import{r as e,h as i,H as r,g as a}from"./p-d5584db1.js";import{K as t}from"./p-e20f6203.js";import{j as o}from"./p-5617bc3e.js";const d=class{constructor(i){e(this,i),this.headerstyle="common"}async componentWillLoad(){this._dataItems=await o(this.dataItems)}componentDidLoad(){let e=this.el.closest(".hy-main");e&&(e.classList.contains("with-sidebar")||(this.headerstyle="large"))}getBoxClassName(e){let i="box";return e%3==0?i="box-3":e%4==0?i="box-4":e%5==0&&(i="box-5"),i}render(){const e=4==this._dataItems.length?t.small:t.default,a=[e,"hy-key-figure-group-container",`hy-key-figure-group-container__${this.headerstyle}`].join(" "),o=["hy-key-figure-group"].join(" "),d=["hy-key-figure-group","hy-key-figure-group-centered"].join(" ");return i(r,null,this._dataItems.length%5==0?i("div",{class:a},i("div",{class:o},this._dataItems.map(((r,a)=>{if(a<3)return i("hy-key-figure",{class:"box-3",variant:e,heading:r.heading,description:r.description})}))),i("div",{class:d},this._dataItems.map(((r,a)=>{if(a>=3)return i("hy-key-figure",{class:"box-2",variant:e,heading:r.heading,description:r.description})})))):i("div",{class:a},i("div",{class:o},this._dataItems.map((r=>i("hy-key-figure",{class:this.getBoxClassName(this._dataItems.length),variant:e,heading:r.heading,description:r.description}))))),i("hy-box",{mb:"1.75, 1.75, 2, 2.5"}))}get el(){return a(this)}};d.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-key-figure-group-container{margin:20px 0 28px 0}@media (min-width: 60rem){.hy-key-figure-group-container{margin:24px 0 32px 0}}@media (min-width: 1601px){.hy-key-figure-group-container{margin:40px 0}}@media (min-width: 75.0625rem){.hy-key-figure-group-container__large{margin:40px 0}}.hy-key-figure-group{display:block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:30rem;margin-right:auto;margin-left:auto;width:100%}@media (min-width: 30rem){.hy-key-figure-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}}@media (min-width: 60rem){.hy-key-figure-group{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}}@media (min-width: 60rem){.hy-key-figure-group.hy-key-figure-group-centered{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media (min-width: 30rem){.hy-key-figure-group .box-2,.hy-key-figure-group .box-3{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:33%;width:33%}}@media (min-width: 30rem){.hy-key-figure-group .box-4{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:49%;width:49%}}@media (min-width: 60rem){.hy-key-figure-group .box-4{max-width:25%;width:25%}}";export{d as hy_key_figure_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as e,H as r}from"./p-
|
|
1
|
+
import{r as a,h as e,H as r}from"./p-d5584db1.js";import{p as i}from"./p-e20f6203.js";const t=class{constructor(e){a(this,e),this.variant=i.default,this.linkContent="",this.isExternal=!1}render(){const a=this.isExternal?"_blank":"_self";return e(r,null,e("a",{"aria-label":this.scLabel,class:["hy-link",this.variant].join(" "),href:this.url,target:a},this.linkContent))}};t.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-link{color:var(--brand-main);font-family:var(--main-font-family);font-weight:600;font-size:14px;letter-spacing:-0.47px;margin:theme("spacing.8");line-height:16px;text-decoration:none}.hy-link.within-paragraph{color:var(--brand-main);font-family:var(--main-font-family);font-weight:400;font-size:14px;line-height:20px;text-decoration:underline}';export{t as hy_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as r}from"./p-
|
|
1
|
+
import{r as a,h as r}from"./p-d5584db1.js";const e=class{constructor(r){a(this,r)}render(){return r("div",{class:["hy-tiny-text"].join(" ")},r("slot",null))}};e.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-tiny-text{color:var(--grayscale-dark);font-family:var(--main-font-family);font-size:12px;letter-spacing:-0.07px;line-height:16px}";export{e as hy_tiny_text}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as e,H as r}from"./p-
|
|
1
|
+
import{r as i,h as e,H as r}from"./p-d5584db1.js";const a=class{constructor(e){i(this,e)}render(){switch(this.filterVisibilityToolType){case"toggle":return e(r,null,e("hy-filter-visibility-tool-toggle",null));case"reset":return e(r,null,e("hy-filter-visibility-tool-reset",null))}}};a.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-filter-visibility-tool{font-size:0.875rem;line-height:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.35px;padding:0;margin-right:1rem}@media (min-width: 30rem){.hy-filter-visibility-tool{font-size:1rem;line-height:20px;letter-spacing:-0.5px}}.hy-filter-visibility-tool:hover{color:var(--brand-main);cursor:pointer}.hy-filter-visibility-tool:hover svg{fill:var(--brand-main)}.hy-filter-visibility-tool:focus{color:var(--brand-main);outline-offset:1px;outline:2px solid var(--brand-main)}.hy-filter-visibility-tool:focus svg{fill:var(--brand-main)}.hy-filter-visibility-tool__icon{-ms-flex-negative:0;flex-shrink:0;margin-right:6px}.hy-filter-visibility-tool__icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-filter-visibility-tool__icon svg{height:16px;width:16px}}";export{a as hy_filter_visibility_tool}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,H as r,g as i}from"./p-
|
|
1
|
+
import{r as e,h as a,H as r,g as i}from"./p-d5584db1.js";const n=class{constructor(a){e(this,a),this.headerstyle="common"}componentDidLoad(){let e=this.el.closest(".hy-main");e&&(e.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const e=["hy-ingress",`hy-ingress__${this.headerstyle}`].join(" ");return a(r,null,a("p",{class:e},a("slot",null)))}get el(){return i(this)}};n.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}p.hy-ingress{font-size:1rem;line-height:24px;color:var(--grayscale-black);font-family:var(--main-font-family);margin:0 0 2rem}@media (min-width: 30rem){p.hy-ingress{font-size:1.125rem;line-height:28px}}@media (min-width: 60rem){p.hy-ingress{margin:0 0 2.25rem}}@media (min-width: 1601px){p.hy-ingress{font-size:1.125rem;line-height:32px;margin:0 0 3rem}}@media (min-width: 75.0625rem){p.hy-ingress__large{font-size:1.125rem;line-height:32px;margin:0 0 3rem}}";export{n as hy_ingress}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-
|
|
1
|
+
import{r as e,h as a}from"./p-d5584db1.js";import{j as r}from"./p-5617bc3e.js";const i=class{constructor(a){e(this,a)}async componentWillLoad(){this._dataItems=await r(this.dataItems)}render(){const e=["hy-large-process-flow__phase-container"].join(" ");return a("div",{class:e},this._dataItems.map(((e,r)=>{var i;if(e.links&&e.links.length>0){let r=e.links.length;i=e.links.map(((e,i)=>e?a("hy-cta-link",{class:i==r-1?"phase-link last":"phase-link","link-content":e.label,"sc-label":e.ariaLabel,"is-external":e.isExternal,url:e.url}):null))}return[a("div",{class:"hy-large-process-flow__phase-container__phase"},a("div",{class:"hy-large-process-flow__phase-container__phase__number"},a("h2",{class:"hy-large-process-flow__phase-container__phase__number__number"},a("div",{class:"hy-large-process-flow__phase-container__phase__number__title"},r+1))),a("div",{class:"hy-large-process-flow__phase-container__phase__content"},a("div",{class:"hy-large-process-flow__phase-container__phase__content__heading"},e.heading),a("div",{class:"hy-large-process-flow__phase-container__phase__content__description",innerHTML:e.description}),a("div",{class:"hy-large-process-flow__phase-container__phase__content__links"},i)))]})))}};i.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-large-process-flow__phase-container{padding-left:0;position:relative;max-width:100%;width:100%}@media (min-width: 30rem){.hy-large-process-flow__phase-container{padding-left:calc(100% / 8 + var(--gutter-narrow))}}@media (min-width: 60rem){.hy-large-process-flow__phase-container{padding-left:calc(100% / 12 + var(--gutter-wide))}}@media (min-width: 75.0625rem){.hy-large-process-flow__phase-container{padding-left:calc(100% / 12 + var(--gutter-extrawide))}}.hy-large-process-flow__phase-container__phase{position:relative}.hy-large-process-flow__phase-container__phase:after{background-color:var(--grayscale-background-arrow);bottom:0;content:" ";display:inline-block;height:24px;left:26.5px;position:absolute;width:8px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase:after{display:inline-block;height:100%}}.hy-large-process-flow__phase-container__phase:last-child:after{display:none}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase:last-child:after{display:inline-block}}.hy-large-process-flow__phase-container__phase:last-child .hy-large-process-flow__phase-container__phase__content{top:0;margin-top:-24px}.hy-large-process-flow__phase-container__phase__number{display:grid;place-items:center;position:relative;width:64px;z-index:2}.hy-large-process-flow__phase-container__phase__number__number{background-color:var(--brand-main-light);color:var(--grayscale-white);display:grid;font-family:var(--main-font-family);font-size:2rem;line-height:36px;font-weight:700;height:48px;letter-spacing:0;margin:0;padding:0;place-items:center;position:relative;width:48px}.hy-large-process-flow__phase-container__phase__number__number::after{content:"";height:48px;left:-6px;position:absolute;width:48px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase__number__number{font-size:2.25rem;line-height:40px;height:64px;width:64px}.hy-large-process-flow__phase-container__phase__number__number::after{content:"";height:64px;left:-6px;position:absolute;width:64px}}.hy-large-process-flow__phase-container__phase__content{background-color:var(--grayscale-background-box);margin:0 -56px;padding:48px 0 24px 0;position:relative;top:-24px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase__content{margin:0 0 -8px 32px;padding:32px 0;top:-32px}}.hy-large-process-flow__phase-container__phase__content__heading{color:var(--brand-main-nearly-black);font-family:var(--main-font-family);font-size:1.25rem;line-height:30px;font-weight:600;letter-spacing:-0.5px;margin-bottom:24px;padding:0 56px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase__content__heading{font-size:1.625rem;line-height:30px;font-weight:700;letter-spacing:-0.65px;padding:0 44px}}.hy-large-process-flow__phase-container__phase__content__description{color:var(--grayscale-dark);font-family:var(--main-font-family);font-size:1rem;line-height:24px;letter-spacing:0;margin-bottom:24px;padding:0 56px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase__content__description{padding:0 44px}}.hy-large-process-flow__phase-container__phase__content__links{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:0;padding:0 56px}@media (min-width: 30rem){.hy-large-process-flow__phase-container__phase__content__links{margin-right:-6px;padding:0}}.hy-large-process-flow__phase-container__phase__content__links .phase-link{margin-bottom:8px}.hy-large-process-flow__phase-container__phase__content__links .phase-link.last{margin-bottom:0}';export{i as hy_large_process_flow_phase}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as e,g as t}from"./p-
|
|
1
|
+
import{r as i,h as e,g as t}from"./p-d5584db1.js";const a=class{constructor(e){i(this,e),this.headerstyle="common"}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}render(){const i=["hy-quote",this.headerstyle,`hy-quote__${this.headerstyle}`].join(" ");return e("div",{class:i},e("span",{class:"hy-quote__icon-wrapper"},e("div",{class:"hy-quote__icon"},e("hy-icon",{icon:"hy-icon-quote",size:48}))),e("div",{class:"hy-quote-text-wrapper"},e("div",{class:"hy-quote__text"},e("slot",null)),this.quoteSignature&&e("div",{class:"hy-quote__signature"},this.quoteSignature)))}get el(){return t(this)}};a.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-quote{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 8px}@media (min-width: 30rem){.hy-quote{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0}}@media (min-width: 60rem){.hy-quote{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-quote__icon-wrapper{margin-right:20px}@media (min-width: 30rem){.hy-quote__icon-wrapper{margin-right:0}}@media (min-width: 60rem){.hy-quote__icon-wrapper{margin-right:24px}}@media (min-width: 1601px){.hy-quote__icon-wrapper{margin-right:32px}}.hy-quote__icon svg{fill:var(--brand-main-light);height:32px;width:32px}@media (min-width: 60rem){.hy-quote__icon svg{height:40px;width:40px}}@media (min-width: 1601px){.hy-quote__icon svg{height:48px;width:48px}}.hy-quote__text{font-size:1rem;line-height:24px;color:var(--grayscale-black);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;padding-bottom:16px;padding-top:0}@media (min-width: 30rem){.hy-quote__text{font-size:1.125rem;line-height:28px;padding-top:16px}}@media (min-width: 75.0625rem){.hy-quote__text{font-size:1.25rem;line-height:32px;padding-top:0}}.hy-quote__signature:before{font-size:0.875rem;line-height:20px;display:inline-block;color:var(--grayscale-dark);content:"-";font-family:var(--main-font-family);letter-spacing:0;padding-right:3px}.hy-quote__signature{font-size:0.875rem;line-height:20px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0}@media (min-width: 30rem){.hy-quote__signature{font-size:1rem;line-height:24px}}';export{a as hy_quote}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,g as e}from"./p-36dbfc06.js";import{q as n}from"./p-e20f6203.js";const a=class{constructor(t){i(this,t),this.variant=n.default,this.imageUrl=null,this.imageAlt=null,this.disableLazy=!1,this.useSlot=!1,this.textDescription=null,this.isExternal=!1,this.headerstyle="common"}srcSetWatcher(i){this._sourceSet="string"==typeof i?JSON.parse(i):i}componentWillLoad(){this.srcSetWatcher(this.sourceSet)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}handleClick(i){this.openLink(i.currentTarget)}handleKeyDown(i){"Enter"==i.code&&this.openLink(i.currentTarget)}openLink(i){let t=i.shadowRoot.querySelector(".hy-link-box-container");window.open(t.dataset.location,t.dataset.target)}handleMouseEnter(i){this.manageHoverEffect(i.currentTarget)}handleMouseLeave(i){this.manageHoverEffect(i.currentTarget,!1)}handleOnFocusIn(i){this.manageHoverEffect(i.currentTarget)}handleOnFocusOut(i){this.manageHoverEffect(i.currentTarget,!1)}manageHoverEffect(i,t=!0){let e=i.shadowRoot.querySelector("h3.hy-link-box__text-container__title"),n=i.shadowRoot.querySelector(".hy-icon-wrapper");t?(e.classList.add("hy-link-box__text-container__title__hover"),n.classList.add("hy-icon-wrapper__hover")):(e.classList.remove("hy-link-box__text-container__title__hover"),n.classList.remove("hy-icon-wrapper__hover"))}render(){const i=["hy-link-box-container"].join(" "),e=["hy-link-box",this.variant,`hy-link-box__${this.variant}`,this.headerstyle,`hy-link-box__${this.headerstyle}`,this.imageUrl?"hy-link-box--with-image":null].join(" "),n=["hy-link-box-link",`hy-link-box-link__${this.variant}`,`hy-link-box-link__${this.headerstyle}`,this.headerstyle,this.isExternal?"hy-link-box-link__external":null].join(" "),a=["hy-link-box__text-container",this.imageUrl?"hy-link-box--with-image":null].join(" "),r=["hy-link-box__text-container__title",`hy-link-box__text-container__title__${this.variant}`,`hy-link-box__text-container__title__${this.headerstyle}`,this.imageUrl?"hy-link-box__text-container__title__image":"",this.imageUrl?"image":""].join(" "),o=["hy-link-box__text-container__description",`hy-link-box__text-container__description__${this.variant}`,`hy-link-box__text-container__description__${this.headerstyle}`].join(" "),l=this.isExternal?"_blank":"_self";return[t("article",{class:i,tabindex:"0","data-target":l,"data-location":this.url},t("div",{class:e,"aria-label":this.scLabel},this.imageUrl&&t("div",{class:"hy-link-box__image-container",style:{"--aspectRatio":"62.5%"}},this._sourceSet?t("picture",null,this._sourceSet.map((i=>t("source",{srcSet:i.src,media:i.media,type:i.type,sizes:i.sizes?i.sizes:""}))),t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})):t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})),t("div",{class:a},t("h3",{class:r,innerHTML:this.textTitle}),this.textDescription&&t("div",{class:o},this.textDescription))),t("span",{class:"hy-icon-wrapper"},t("a",{class:n,href:this.url,target:l,"aria-label":this.scLabel,tabindex:"-1"},t("hy-icon",{icon:"hy-icon-arrow-to-right",size:32}))))]}get el(){return e(this)}static get watchers(){return{sourceSet:["srcSetWatcher"]}}};a.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{background:var(--grayscale-background-box);display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:32px;margin-right:0;max-width:100%;position:relative;width:100%}@media (min-width: 30rem){:host{margin-right:var(--gutter-narrow)}}@media (min-width: 60rem){:host{margin-right:var(--gutter-wide)}}@media (min-width: 75.0625rem){:host{margin-right:var(--gutter-extrawide)}}:host(.big){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.big){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5)}}@media (min-width: 60rem){:host(.big){max-width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3);width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3)}}@media (min-width: 75.0625rem){:host(.big){max-width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3);width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3)}}:host(.small){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.small){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5)}}@media (min-width: 60rem){:host(.small){max-width:calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2);width:calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2)}}@media (min-width: 75.0625rem){:host(.small){max-width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2);width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2)}}@media (min-width: 60rem){:host(.content.big:nth-of-type(3n+0)){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}}:host(:nth-of-type(2n+0)){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}@media (min-width: 30rem){:host(:nth-of-type(2n+0)){margin-right:0}}@media (min-width: 60rem){:host(:nth-of-type(2n+0)){margin-right:var(--gutter-wide)}}@media (min-width: 75.0625rem){:host(:nth-of-type(2n+0)){margin-right:var(--gutter-extrawide)}}:host(.small:nth-of-type(4n+0)){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.small:nth-of-type(4n+0)){margin-right:0}}:host(:last-of-type){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}.hy-link-box-container{position:relative;width:100%}.hy-link-box-container:hover{cursor:pointer}.hy-link-box__image-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin-bottom:0;min-height:10rem;position:relative}.hy-link-box__image-container:before{content:"";display:block;padding-top:62.5%;width:100%}.hy-link-box__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-link-box__landing .hy-link-box__text-container{margin-bottom:60px;padding:0 12px}@media (min-width: 30rem){.hy-link-box__landing .hy-link-box__text-container{padding:0 16px}}@media (min-width: 60rem){.hy-link-box__landing .hy-link-box__text-container{padding:0 12px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container{padding:0 16px}}.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.375rem;line-height:28px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.6px;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;margin-bottom:8px;margin-top:20px;word-break:break-word}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:16px}@media (min-width: 30rem){.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.5rem;line-height:30px;color:var(--grayscale-black);letter-spacing:-0.7px}}@media (min-width: 60rem){.hy-link-box__landing .hy-link-box__text-container__title{margin-top:24px}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:18px}}@media (min-width: 75.0625rem){.hy-link-box__landing .hy-link-box__text-container__title__common{font-size:1.5rem;line-height:30px;letter-spacing:-0.7px}.hy-link-box__landing .hy-link-box__text-container__title__large{font-size:1.75rem;line-height:36px;letter-spacing:-0.8px;margin-bottom:12px;margin-top:32px}.hy-link-box__landing .hy-link-box__text-container__title__large.image{margin-top:20px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.75rem;line-height:36px;letter-spacing:-0.8px;margin-bottom:12px;margin-top:32px}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:20px}}.hy-link-box__landing .hy-link-box__text-container__description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.2px;margin-bottom:12px}@media (min-width: 75.0625rem){.hy-link-box__landing .hy-link-box__text-container__description__common{font-size:0.875rem;line-height:18px;letter-spacing:-0.2px}.hy-link-box__landing .hy-link-box__text-container__description__large{font-size:1rem;line-height:22px;letter-spacing:-0.2px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container__description{font-size:1rem;line-height:22px;letter-spacing:-0.2px}}.hy-link-box__content .hy-link-box__text-container{margin-bottom:60px;padding:0 12px}@media (min-width: 30rem){.hy-link-box__content .hy-link-box__text-container{padding:0 16px}}@media (min-width: 60rem){.hy-link-box__content .hy-link-box__text-container{padding:0 12px}}.hy-link-box__content .hy-link-box__text-container__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.5px;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;margin-bottom:8px;margin-top:24px;word-break:break-word}.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:20px}@media (min-width: 60rem){.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:16px}}@media (min-width: 75.0625rem){.hy-link-box__content .hy-link-box__text-container__title__common{font-size:1.125rem;line-height:22px;letter-spacing:-0.5px}.hy-link-box__content .hy-link-box__text-container__title__large{font-size:1.25rem;line-height:24px;letter-spacing:-0.6px;margin-bottom:12px;margin-top:32px}.hy-link-box__content .hy-link-box__text-container__title__large__image{margin-top:20px}}@media (min-width: 1601px){.hy-link-box__content .hy-link-box__text-container__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.6px;margin-bottom:12px;margin-top:32px}.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:20px}}.hy-link-box__content .hy-link-box__text-container__description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.2px;margin-bottom:10px}.hy-link-box .hy-link-box__text-container__title__hover{color:var(--brand-main);text-decoration:underline}.hy-icon-wrapper{background-color:var(--brand-main-light);bottom:12px;overflow:hidden;position:absolute;right:-6px;z-index:10}.hy-icon-wrapper__hover{background-color:var(--brand-main)}.hy-link-box-link{display:block}.hy-link-box-link svg{background-color:transparent;-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);fill:var(--grayscale-white);height:32px;padding:6px;width:32px}.hy-link-box-link__external{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}@media (min-width: 75.0625rem){.hy-link-box-link__landing.large svg{height:40px;padding:8px;width:40px}}@media (min-width: 1601px){.hy-link-box-link__landing svg{height:40px;padding:8px;width:40px}}';export{a as hy_link_box}
|
|
1
|
+
import{r as i,h as t,g as e}from"./p-d5584db1.js";import{q as n}from"./p-e20f6203.js";const a=class{constructor(t){i(this,t),this.variant=n.default,this.imageUrl=null,this.imageAlt=null,this.disableLazy=!1,this.useSlot=!1,this.textDescription=null,this.isExternal=!1,this.headerstyle="common"}srcSetWatcher(i){this._sourceSet="string"==typeof i?JSON.parse(i):i}componentWillLoad(){this.srcSetWatcher(this.sourceSet)}componentDidLoad(){let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}handleClick(i){this.openLink(i.currentTarget)}handleKeyDown(i){"Enter"==i.code&&this.openLink(i.currentTarget)}openLink(i){let t=i.shadowRoot.querySelector(".hy-link-box-container");window.open(t.dataset.location,t.dataset.target)}handleMouseEnter(i){this.manageHoverEffect(i.currentTarget)}handleMouseLeave(i){this.manageHoverEffect(i.currentTarget,!1)}handleOnFocusIn(i){this.manageHoverEffect(i.currentTarget)}handleOnFocusOut(i){this.manageHoverEffect(i.currentTarget,!1)}manageHoverEffect(i,t=!0){let e=i.shadowRoot.querySelector("h3.hy-link-box__text-container__title"),n=i.shadowRoot.querySelector(".hy-icon-wrapper");t?(e.classList.add("hy-link-box__text-container__title__hover"),n.classList.add("hy-icon-wrapper__hover")):(e.classList.remove("hy-link-box__text-container__title__hover"),n.classList.remove("hy-icon-wrapper__hover"))}render(){const i=["hy-link-box-container"].join(" "),e=["hy-link-box",this.variant,`hy-link-box__${this.variant}`,this.headerstyle,`hy-link-box__${this.headerstyle}`,this.imageUrl?"hy-link-box--with-image":null].join(" "),n=["hy-link-box-link",`hy-link-box-link__${this.variant}`,`hy-link-box-link__${this.headerstyle}`,this.headerstyle,this.isExternal?"hy-link-box-link__external":null].join(" "),a=["hy-link-box__text-container",this.imageUrl?"hy-link-box--with-image":null].join(" "),r=["hy-link-box__text-container__title",`hy-link-box__text-container__title__${this.variant}`,`hy-link-box__text-container__title__${this.headerstyle}`,this.imageUrl?"hy-link-box__text-container__title__image":"",this.imageUrl?"image":""].join(" "),o=["hy-link-box__text-container__description",`hy-link-box__text-container__description__${this.variant}`,`hy-link-box__text-container__description__${this.headerstyle}`].join(" "),l=this.isExternal?"_blank":"_self";return[t("article",{class:i,tabindex:"0","data-target":l,"data-location":this.url},t("div",{class:e,"aria-label":this.scLabel},this.imageUrl&&t("div",{class:"hy-link-box__image-container",style:{"--aspectRatio":"62.5%"}},this._sourceSet?t("picture",null,this._sourceSet.map((i=>t("source",{srcSet:i.src,media:i.media,type:i.type,sizes:i.sizes?i.sizes:""}))),t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})):t("img",{loading:this.disableLazy?"eager":"lazy","aria-hidden":"true",src:this.imageUrl,alt:this.imageAlt})),t("div",{class:a},t("h3",{class:r,innerHTML:this.textTitle}),this.textDescription&&t("div",{class:o},this.textDescription))),t("span",{class:"hy-icon-wrapper"},t("a",{class:n,href:this.url,target:l,"aria-label":this.scLabel,tabindex:"-1"},t("hy-icon",{icon:"hy-icon-arrow-to-right",size:32}))))]}get el(){return e(this)}static get watchers(){return{sourceSet:["srcSetWatcher"]}}};a.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{background:var(--grayscale-background-box);display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:32px;margin-right:0;max-width:100%;position:relative;width:100%}@media (min-width: 30rem){:host{margin-right:var(--gutter-narrow)}}@media (min-width: 60rem){:host{margin-right:var(--gutter-wide)}}@media (min-width: 75.0625rem){:host{margin-right:var(--gutter-extrawide)}}:host(.big){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.big){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5)}}@media (min-width: 60rem){:host(.big){max-width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3);width:calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3)}}@media (min-width: 75.0625rem){:host(.big){max-width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3);width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3)}}:host(.small){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.small){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);width:calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5)}}@media (min-width: 60rem){:host(.small){max-width:calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2);width:calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2)}}@media (min-width: 75.0625rem){:host(.small){max-width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2);width:calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2)}}@media (min-width: 60rem){:host(.content.big:nth-of-type(3n+0)){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}}:host(:nth-of-type(2n+0)){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}@media (min-width: 30rem){:host(:nth-of-type(2n+0)){margin-right:0}}@media (min-width: 60rem){:host(:nth-of-type(2n+0)){margin-right:var(--gutter-wide)}}@media (min-width: 75.0625rem){:host(:nth-of-type(2n+0)){margin-right:var(--gutter-extrawide)}}:host(.small:nth-of-type(4n+0)){display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width: 30rem){:host(.small:nth-of-type(4n+0)){margin-right:0}}:host(:last-of-type){display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:0}.hy-link-box-container{position:relative;width:100%}.hy-link-box-container:hover{cursor:pointer}.hy-link-box__image-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin-bottom:0;min-height:10rem;position:relative}.hy-link-box__image-container:before{content:"";display:block;padding-top:62.5%;width:100%}.hy-link-box__image-container img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.hy-link-box__landing .hy-link-box__text-container{margin-bottom:60px;padding:0 12px}@media (min-width: 30rem){.hy-link-box__landing .hy-link-box__text-container{padding:0 16px}}@media (min-width: 60rem){.hy-link-box__landing .hy-link-box__text-container{padding:0 12px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container{padding:0 16px}}.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.375rem;line-height:28px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.6px;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;margin-bottom:8px;margin-top:20px;word-break:break-word}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:16px}@media (min-width: 30rem){.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.5rem;line-height:30px;color:var(--grayscale-black);letter-spacing:-0.7px}}@media (min-width: 60rem){.hy-link-box__landing .hy-link-box__text-container__title{margin-top:24px}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:18px}}@media (min-width: 75.0625rem){.hy-link-box__landing .hy-link-box__text-container__title__common{font-size:1.5rem;line-height:30px;letter-spacing:-0.7px}.hy-link-box__landing .hy-link-box__text-container__title__large{font-size:1.75rem;line-height:36px;letter-spacing:-0.8px;margin-bottom:12px;margin-top:32px}.hy-link-box__landing .hy-link-box__text-container__title__large.image{margin-top:20px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container__title{font-size:1.75rem;line-height:36px;letter-spacing:-0.8px;margin-bottom:12px;margin-top:32px}.hy-link-box__landing .hy-link-box__text-container__title__image{margin-top:20px}}.hy-link-box__landing .hy-link-box__text-container__description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.2px;margin-bottom:12px}@media (min-width: 75.0625rem){.hy-link-box__landing .hy-link-box__text-container__description__common{font-size:0.875rem;line-height:18px;letter-spacing:-0.2px}.hy-link-box__landing .hy-link-box__text-container__description__large{font-size:1rem;line-height:22px;letter-spacing:-0.2px}}@media (min-width: 1601px){.hy-link-box__landing .hy-link-box__text-container__description{font-size:1rem;line-height:22px;letter-spacing:-0.2px}}.hy-link-box__content .hy-link-box__text-container{margin-bottom:60px;padding:0 12px}@media (min-width: 30rem){.hy-link-box__content .hy-link-box__text-container{padding:0 16px}}@media (min-width: 60rem){.hy-link-box__content .hy-link-box__text-container{padding:0 12px}}.hy-link-box__content .hy-link-box__text-container__title{font-size:1.125rem;line-height:22px;font-weight:700;color:var(--brand-main-nearly-black);font-family:var(--main-font-family);letter-spacing:-0.5px;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;margin-bottom:8px;margin-top:24px;word-break:break-word}.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:20px}@media (min-width: 60rem){.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:16px}}@media (min-width: 75.0625rem){.hy-link-box__content .hy-link-box__text-container__title__common{font-size:1.125rem;line-height:22px;letter-spacing:-0.5px}.hy-link-box__content .hy-link-box__text-container__title__large{font-size:1.25rem;line-height:24px;letter-spacing:-0.6px;margin-bottom:12px;margin-top:32px}.hy-link-box__content .hy-link-box__text-container__title__large__image{margin-top:20px}}@media (min-width: 1601px){.hy-link-box__content .hy-link-box__text-container__title{font-size:1.25rem;line-height:24px;letter-spacing:-0.6px;margin-bottom:12px;margin-top:32px}.hy-link-box__content .hy-link-box__text-container__title__image{margin-top:20px}}.hy-link-box__content .hy-link-box__text-container__description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:-0.2px;margin-bottom:10px}.hy-link-box .hy-link-box__text-container__title__hover{color:var(--brand-main);text-decoration:underline}.hy-icon-wrapper{background-color:var(--brand-main-light);bottom:12px;overflow:hidden;position:absolute;right:-6px;z-index:10}.hy-icon-wrapper__hover{background-color:var(--brand-main)}.hy-link-box-link{display:block}.hy-link-box-link svg{background-color:transparent;-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);fill:var(--grayscale-white);height:32px;padding:6px;width:32px}.hy-link-box-link__external{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}@media (min-width: 75.0625rem){.hy-link-box-link__landing.large svg{height:40px;padding:8px;width:40px}}@media (min-width: 1601px){.hy-link-box-link__landing svg{height:40px;padding:8px;width:40px}}';export{a as hy_link_box}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as n,g as a}from"./p-36dbfc06.js";import{A as o}from"./p-e20f6203.js";let e={enter:"Enter",tab:"Tab",pageUp:"PageUp",pageDown:"PageDown",arrowUp:"ArrowUp",arrowDown:"ArrowDown",home:"Home",end:"End"};const t=class{constructor(n){i(this,n),this.variant=o.default,this.headerstyle="common",this.showOpen=!1,this.ready=!1}componentDidLoad(){this.ready=!0;let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}componentDidRender(){window.location.hash&&this.expandPanelByAnchor(window.location.hash),document.querySelectorAll(".hy-accordion__content").forEach((function(i){let n=i.classList.contains("open"),a=i;n?(a.style.display="block",a.style.height=a.scrollHeight+"px"):(a.style.height="0px",a.style.display="none")}))}onHashChange(){window.location.hash&&this.expandPanelByAnchor(window.location.hash)}handleKeyDown(i){let n=document.querySelectorAll(`#${this.el.parentElement.id}`)[0];const a=Array.prototype.slice.call(n.querySelectorAll(".hy-accordion__button"));let o=i.target;const t=i.code,r=i.ctrlKey&&[e.pageDown,e.pageUp].includes(t);if(o.classList.contains("hy-accordion__button"))if([e.arrowDown,e.arrowUp].includes(t)||r){const n=a.indexOf(o),r=[e.arrowDown,e.pageDown].includes(t)?1:-1,d=a.length;a[(n+d+r)%d].focus(),i.preventDefault()}else if([e.home,e.end].includes(t)){switch(t){case e.home:a[0].focus();break;case e.end:a[a.length-1].focus()}i.preventDefault()}}handleClick(i){const n=this.el.parentElement.id;let a=i.target;const o=a.tagName.toLowerCase(),e=[o].some((i=>["svg","span","path","button","a"].indexOf(i)>=0));let t=document.querySelectorAll(`#${n}`)[0];const r=t.hasAttribute("data-allow-multiple"),d=r||t.hasAttribute("data-allow-toggle");if(a&&e){"button"!==o&&(a=a.closest(".hy-accordion__button"));let n=a.closest(".hy-accordion__item"),e=n.querySelectorAll(".hy-accordion__content")[0];const c="true"==a.getAttribute("aria-expanded"),h=t.querySelector('[aria-expanded="true"]');!r&&h&&h!==a&&(h.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${h.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true"),d||h.removeAttribute("aria-disabled")),c?d&&c&&(a.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true")):(this.expandSection(e),a.setAttribute("aria-expanded","true"),n.classList.add("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false"),d||a.setAttribute("aria-disabled","true")),i.preventDefault(),i.stopImmediatePropagation()}}expandPanelByAnchor(i){setTimeout((()=>{if(i.length>0){i=i.substr(1);let n=document.querySelectorAll(`[id=${i}]`)[0];if(n&&n.classList.contains("hy-accordion__button")){let i=n.closest(".hy-accordion__item"),a=i.querySelectorAll(".hy-accordion__content")[0];this.expandSection(a),n.setAttribute("aria-expanded","true"),i.classList.add("hy-accordion__item__is-open");const o=n.getBoundingClientRect();window.scrollTo({top:window.scrollY+o.top-200,behavior:"smooth"});const e=i.parentElement.parentElement.id;e.length>0&&document.querySelectorAll(`#${e}`)[0].querySelector(`#${n.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false")}}}),200)}collapseSection(i){i.style.height="0px",i.setAttribute("data-collapsed","true"),setTimeout((()=>{i.style.display="none"}),250)}expandSection(i){i.style.display="block",i.style.height=i.scrollHeight+"px",i.setAttribute("data-collapsed","false")}render(){const i=this.el.parentElement.id;this.ready&&i.length>0&&document.querySelectorAll(`#${i}`).forEach((function(i){i&&i.querySelectorAll(".hy-accordion__button").forEach((function(i){i.addEventListener("focus",(function(){i.classList.add("focus")})),i.addEventListener("blur",(function(){i.classList.remove("focus")}))}))}));const a=this.showOpen?"open":"",o=["hy-accordion__item",this.variant,this.showOpen?"hy-accordion__item__is-open":""].join(" "),e=["hy-accordion__item--container",this.variant].join(" "),t=["hy-accordion--heading",this.variant].join(" "),r=["hy-accordion__content",`hy-accordion__content--${this.variant}`,this.variant,a].join(" "),d=["hy-accordion__content--inner-wrapper",`hy-accordion__content--inner-wrapper--${this.headerstyle}`,`hy-accordion__content--inner-wrapper--${this.variant}`].join(" "),c=this.accordiontitle.toLowerCase().replace(/\W/g,"-"),h=this.showOpen?"false":"true",s=this.showOpen?"false":"true";return n("div",{class:o},n("div",{class:e},n("div",{class:t},n("a",{href:"#"+c+"--title",class:"hy-accordion__link",tabindex:"-1"},n("button",{"aria-expanded":this.showOpen?"true":"false","aria-controls":`${c}--content`,class:`hy-accordion__button hy-accordion__button--${this.headerstyle}`,id:`${c}--title`},n("span",{class:"hy-accordion--heading__icon"},n("hy-icon",{icon:"hy-icon-caret-down",size:16})),n("span",null,this.accordiontitle)))),n("div",{"aria-labelledBy":`${c}--title`,class:r,id:`${c}--content`,role:"region","aria-hidden":h,"data-collapsed":s,style:{display:"none"}},n("div",{class:d},n("slot",null)))))}get el(){return a(this)}};t.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-accordion__item{margin-bottom:12px}.hy-accordion__item__is-open{border:1px solid var(--grayscale-dark)}.hy-accordion__item__is-open .hy-accordion--heading{margin:0 auto}.hy-accordion__item__is-open .hy-accordion--heading .hy-accordion--heading__icon{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.hy-accordion__item.mini{margin-bottom:1rem;margin-top:1rem}.hy-accordion__item__is-open.mini{margin-bottom:0;margin-top:0}.hy-accordion__item__is-open.mini .hy-accordion__item--container{border-bottom:1px solid var(--grayscale-medium-dark);border-top:1px solid var(--grayscale-medium-dark);padding-top:16px;padding-bottom:32px;margin-top:-1px;-webkit-transition:padding 0.5s ease-in-out;transition:padding 0.5s ease-in-out}@media (min-width: 30rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:28px;padding-bottom:30px}}@media (min-width: 60rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:32px;padding-bottom:40px}}.hy-accordion__item.hy-accordion__item__is-open.mini{background-color:var(--grayscale-white);border:none;-webkit-box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05);box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05)}.hy-accordion--heading{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.69px;line-height:28px;margin:0 auto;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out;width:100%}.hy-accordion--heading .hy-accordion__link{text-decoration:none}.hy-accordion--heading .hy-accordion__link:hover{text-decoration:none}.hy-accordion--heading .hy-accordion__button{font-size:1.125rem;line-height:22px;font-weight:700;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:var(--grayscale-background-box);border:none;color:var(--brand-main-nearly-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);height:100%;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.45px;padding:13px 20px 13px 16px;-webkit-transition:all 0.35s ease-in;transition:all 0.35s ease-in;width:100%}.hy-accordion--heading .hy-accordion__button:hover{cursor:pointer}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion__button{padding:1rem 2rem 1rem 1.25rem}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion__button{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{background:none}.hy-accordion--heading .hy-accordion__button span{text-align:left}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{position:relative}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]:after{background-color:var(--grayscale-medium-dark);bottom:0;content:"";height:1px;left:16px;position:absolute;right:20px}.hy-accordion--heading .hy-accordion--heading__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:22px;margin-right:8px;z-index:0}.hy-accordion--heading .hy-accordion--heading__icon svg{fill:var(--brand-main)}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion--heading__icon svg{height:18px;width:18px}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading.mini .hy-accordion__button{font-size:1.125rem;line-height:22px;background-color:var(--grayscale-white);color:var(--link-blue);letter-spacing:-0.56px;padding:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding:0}}.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{color:var(--grayscale-black);margin-bottom:20px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:28px}}@media (min-width: 60rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:32px}}.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:0.5rem;z-index:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:10px}}.hy-accordion--heading.mini .hy-accordion--heading__icon svg{fill:var(--brand-main-light);height:14px;width:14px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon svg{height:16px;width:16px}}.hy-accordion__content{display:block;height:0;padding:0;overflow:hidden;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out}.hy-accordion__content--inner-wrapper{display:block;padding:16px 12px}@media (min-width: 30rem){.hy-accordion__content--inner-wrapper{padding:15px 16px}}@media (min-width: 60rem){.hy-accordion__content--inner-wrapper{padding:16px}}@media (min-width: 75.0625rem){.hy-accordion__content--inner-wrapper--large{padding:24px 20px}}@media (min-width: 1601px){.hy-accordion__content--inner-wrapper{padding:24px 20px}}.hy-accordion__content--inner-wrapper--mini{padding:0}.hy-accordion__content--inner-wrapper--mini .course-heading h4{padding-top:0 !important}';export{t as hy_accordion_item}
|
|
1
|
+
import{r as i,h as n,g as a}from"./p-d5584db1.js";import{A as o}from"./p-e20f6203.js";let e={enter:"Enter",tab:"Tab",pageUp:"PageUp",pageDown:"PageDown",arrowUp:"ArrowUp",arrowDown:"ArrowDown",home:"Home",end:"End"};const t=class{constructor(n){i(this,n),this.variant=o.default,this.headerstyle="common",this.showOpen=!1,this.ready=!1}componentDidLoad(){this.ready=!0;let i=this.el.closest(".hy-main");i&&(i.classList.contains("with-sidebar")||(this.headerstyle="large"))}componentDidRender(){window.location.hash&&this.expandPanelByAnchor(window.location.hash),document.querySelectorAll(".hy-accordion__content").forEach((function(i){let n=i.classList.contains("open"),a=i;n?(a.style.display="block",a.style.height=a.scrollHeight+"px"):(a.style.height="0px",a.style.display="none")}))}onHashChange(){window.location.hash&&this.expandPanelByAnchor(window.location.hash)}handleKeyDown(i){let n=document.querySelectorAll(`#${this.el.parentElement.id}`)[0];const a=Array.prototype.slice.call(n.querySelectorAll(".hy-accordion__button"));let o=i.target;const t=i.code,r=i.ctrlKey&&[e.pageDown,e.pageUp].includes(t);if(o.classList.contains("hy-accordion__button"))if([e.arrowDown,e.arrowUp].includes(t)||r){const n=a.indexOf(o),r=[e.arrowDown,e.pageDown].includes(t)?1:-1,d=a.length;a[(n+d+r)%d].focus(),i.preventDefault()}else if([e.home,e.end].includes(t)){switch(t){case e.home:a[0].focus();break;case e.end:a[a.length-1].focus()}i.preventDefault()}}handleClick(i){const n=this.el.parentElement.id;let a=i.target;const o=a.tagName.toLowerCase(),e=[o].some((i=>["svg","span","path","button","a"].indexOf(i)>=0));let t=document.querySelectorAll(`#${n}`)[0];const r=t.hasAttribute("data-allow-multiple"),d=r||t.hasAttribute("data-allow-toggle");if(a&&e){"button"!==o&&(a=a.closest(".hy-accordion__button"));let n=a.closest(".hy-accordion__item"),e=n.querySelectorAll(".hy-accordion__content")[0];const c="true"==a.getAttribute("aria-expanded"),h=t.querySelector('[aria-expanded="true"]');!r&&h&&h!==a&&(h.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${h.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true"),d||h.removeAttribute("aria-disabled")),c?d&&c&&(a.setAttribute("aria-expanded","false"),this.collapseSection(e),n.classList.contains("hy-accordion__item__is-open")&&n.classList.remove("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","true")):(this.expandSection(e),a.setAttribute("aria-expanded","true"),n.classList.add("hy-accordion__item__is-open"),t.querySelector(`#${a.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false"),d||a.setAttribute("aria-disabled","true")),i.preventDefault(),i.stopImmediatePropagation()}}expandPanelByAnchor(i){setTimeout((()=>{if(i.length>0){i=i.substr(1);let n=document.querySelectorAll(`[id=${i}]`)[0];if(n&&n.classList.contains("hy-accordion__button")){let i=n.closest(".hy-accordion__item"),a=i.querySelectorAll(".hy-accordion__content")[0];this.expandSection(a),n.setAttribute("aria-expanded","true"),i.classList.add("hy-accordion__item__is-open");const o=n.getBoundingClientRect();window.scrollTo({top:window.scrollY+o.top-200,behavior:"smooth"});const e=i.parentElement.parentElement.id;e.length>0&&document.querySelectorAll(`#${e}`)[0].querySelector(`#${n.getAttribute("aria-controls")}`).setAttribute("aria-hidden","false")}}}),200)}collapseSection(i){i.style.height="0px",i.setAttribute("data-collapsed","true"),setTimeout((()=>{i.style.display="none"}),250)}expandSection(i){i.style.display="block",i.style.height=i.scrollHeight+"px",i.setAttribute("data-collapsed","false")}render(){const i=this.el.parentElement.id;this.ready&&i.length>0&&document.querySelectorAll(`#${i}`).forEach((function(i){i&&i.querySelectorAll(".hy-accordion__button").forEach((function(i){i.addEventListener("focus",(function(){i.classList.add("focus")})),i.addEventListener("blur",(function(){i.classList.remove("focus")}))}))}));const a=this.showOpen?"open":"",o=["hy-accordion__item",this.variant,this.showOpen?"hy-accordion__item__is-open":""].join(" "),e=["hy-accordion__item--container",this.variant].join(" "),t=["hy-accordion--heading",this.variant].join(" "),r=["hy-accordion__content",`hy-accordion__content--${this.variant}`,this.variant,a].join(" "),d=["hy-accordion__content--inner-wrapper",`hy-accordion__content--inner-wrapper--${this.headerstyle}`,`hy-accordion__content--inner-wrapper--${this.variant}`].join(" "),c=this.accordiontitle.toLowerCase().replace(/\W/g,"-"),h=this.showOpen?"false":"true",s=this.showOpen?"false":"true";return n("div",{class:o},n("div",{class:e},n("div",{class:t},n("a",{href:"#"+c+"--title",class:"hy-accordion__link",tabindex:"-1"},n("button",{"aria-expanded":this.showOpen?"true":"false","aria-controls":`${c}--content`,class:`hy-accordion__button hy-accordion__button--${this.headerstyle}`,id:`${c}--title`},n("span",{class:"hy-accordion--heading__icon"},n("hy-icon",{icon:"hy-icon-caret-down",size:16})),n("span",null,this.accordiontitle)))),n("div",{"aria-labelledBy":`${c}--title`,class:r,id:`${c}--content`,role:"region","aria-hidden":h,"data-collapsed":s,style:{display:"none"}},n("div",{class:d},n("slot",null)))))}get el(){return a(this)}};t.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-accordion__item{margin-bottom:12px}.hy-accordion__item__is-open{border:1px solid var(--grayscale-dark)}.hy-accordion__item__is-open .hy-accordion--heading{margin:0 auto}.hy-accordion__item__is-open .hy-accordion--heading .hy-accordion--heading__icon{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.hy-accordion__item.mini{margin-bottom:1rem;margin-top:1rem}.hy-accordion__item__is-open.mini{margin-bottom:0;margin-top:0}.hy-accordion__item__is-open.mini .hy-accordion__item--container{border-bottom:1px solid var(--grayscale-medium-dark);border-top:1px solid var(--grayscale-medium-dark);padding-top:16px;padding-bottom:32px;margin-top:-1px;-webkit-transition:padding 0.5s ease-in-out;transition:padding 0.5s ease-in-out}@media (min-width: 30rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:28px;padding-bottom:30px}}@media (min-width: 60rem){.hy-accordion__item__is-open.mini .hy-accordion__item--container{padding-top:32px;padding-bottom:40px}}.hy-accordion__item.hy-accordion__item__is-open.mini{background-color:var(--grayscale-white);border:none;-webkit-box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05);box-shadow:0 -10px 10px -10px rgba(0, 49, 70, 0.05)}.hy-accordion--heading{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.69px;line-height:28px;margin:0 auto;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out;width:100%}.hy-accordion--heading .hy-accordion__link{text-decoration:none}.hy-accordion--heading .hy-accordion__link:hover{text-decoration:none}.hy-accordion--heading .hy-accordion__button{font-size:1.125rem;line-height:22px;font-weight:700;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;background-color:var(--grayscale-background-box);border:none;color:var(--brand-main-nearly-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);height:100%;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;letter-spacing:-0.45px;padding:13px 20px 13px 16px;-webkit-transition:all 0.35s ease-in;transition:all 0.35s ease-in;width:100%}.hy-accordion--heading .hy-accordion__button:hover{cursor:pointer}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion__button{padding:1rem 2rem 1rem 1.25rem}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion__button{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large{font-size:1.25rem;line-height:24px;letter-spacing:-0.5px}}@media (min-width: 75.0625rem){.hy-accordion--heading .hy-accordion__button--large .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{background:none}.hy-accordion--heading .hy-accordion__button span{text-align:left}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]{position:relative}.hy-accordion--heading .hy-accordion__button[aria-expanded=true]:after{background-color:var(--grayscale-medium-dark);bottom:0;content:"";height:1px;left:16px;position:absolute;right:20px}.hy-accordion--heading .hy-accordion--heading__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:22px;margin-right:8px;z-index:0}.hy-accordion--heading .hy-accordion--heading__icon svg{fill:var(--brand-main)}@media (min-width: 30rem){.hy-accordion--heading .hy-accordion--heading__icon svg{height:18px;width:18px}}@media (min-width: 1601px){.hy-accordion--heading .hy-accordion--heading__icon svg{height:20px;width:20px}}.hy-accordion--heading.mini .hy-accordion__button{font-size:1.125rem;line-height:22px;background-color:var(--grayscale-white);color:var(--link-blue);letter-spacing:-0.56px;padding:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button{font-size:1.375rem;line-height:28px;letter-spacing:-0.69px;padding:0}}.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{color:var(--grayscale-black);margin-bottom:20px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:28px}}@media (min-width: 60rem){.hy-accordion--heading.mini .hy-accordion__button[aria-expanded=true]{margin-bottom:32px}}.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:0.5rem;z-index:0}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon{margin-right:10px}}.hy-accordion--heading.mini .hy-accordion--heading__icon svg{fill:var(--brand-main-light);height:14px;width:14px}@media (min-width: 30rem){.hy-accordion--heading.mini .hy-accordion--heading__icon svg{height:16px;width:16px}}.hy-accordion__content{display:block;height:0;padding:0;overflow:hidden;-webkit-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out}.hy-accordion__content--inner-wrapper{display:block;padding:16px 12px}@media (min-width: 30rem){.hy-accordion__content--inner-wrapper{padding:15px 16px}}@media (min-width: 60rem){.hy-accordion__content--inner-wrapper{padding:16px}}@media (min-width: 75.0625rem){.hy-accordion__content--inner-wrapper--large{padding:24px 20px}}@media (min-width: 1601px){.hy-accordion__content--inner-wrapper{padding:24px 20px}}.hy-accordion__content--inner-wrapper--mini{padding:0}.hy-accordion__content--inner-wrapper--mini .course-heading h4{padding-top:0 !important}';export{t as hy_accordion_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,g as a}from"./p-36dbfc06.js";import{B as i}from"./p-e20f6203.js";import{j as t}from"./p-45454a42.js";let d=null;const b=class{constructor(r){e(this,r),this.variant=i.default,this.headerstyle="with-sidebar",this.menuOpen=!1}async componentWillLoad(){this._dataItems=await t(this.dataItems)}componentDidLoad(){let e=this.el.closest(".hy-main");e&&(e.classList.contains("with-sidebar")||(this.headerstyle="without-sidebar")),d=this.el.offsetWidth+64;const r=document.getElementsByClassName("layout-content")[0],a=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&d>=r.offsetWidth&&(a.setAttribute("aria-hidden","false"),this.adjustBreadcrumbsMenuVisibility())}adjustBreadcrumbsMenuVisibility(e=!0){e||this.closeMoreMenu();const r=document.querySelectorAll(".hy-breadcrumbs")[0],a=document.querySelectorAll("#more")[0],i=document.querySelectorAll(".breadcrumb-item__more")[0];a&&(e?(r.classList.add("is-condensed"),a.classList.add("visible"),i.classList.add("visible")):(r.classList.remove("is-condensed"),a.classList.remove("visible"),i.classList.remove("visible")));const t=document.querySelectorAll(".intermediate");if(t)for(let r=0;r<t.length;r++)e?t[r].classList.add("hidden"):t[r].classList.remove("hidden")}HomeItem(e){const a=["hy-icon-wrapper",this.variant].join(" ");return r("li",{class:"breadcrumb-item home"},r("a",{href:e,class:a},r("hy-icon",{icon:"hy-icon-home",class:`${this.variant}`,size:16})),r("span",{class:"breadcrumb-item__divider"},"/"))}BreadcrumbItem(e,a,i="",t=!0){const d=["breadcrumb-item",i].join(" ");return a?t?r("li",{class:d},r("a",{href:a,class:`${this.variant}`},e),r("span",{class:"breadcrumb-item__divider"},"/")):r("li",{class:d},r("a",{href:a,class:`${this.variant}`},e)):r("li",{class:`${d} breadcrumb-item__current`},r("a",{"aria-current":"page",href:a,class:`${this.variant}`},e.length>20?`${e.substring(0,19)}...`:e))}BreadcrumbTextItem(e,a=""){const i=["breadcrumb-item",a].join(" ");return r("li",{class:i},e)}DropdownMenuItem(e){return r("li",{class:"breadcrumb-item__more"},r("button",{type:"button","aria-hidden":"true","aria-expanded":"false",id:"more",key:"more",class:"breadcrumb-item-dropdown-button","aria-label":"Open breadcrumb navigation"},r("span",{class:"breadcrumb-item-dropdown-button__content"},r("span",null),r("hy-icon",{icon:"hy-icon-caret-right",class:"breadcrumb-item-caret__drop breadcrumb-item__more__icon",size:10}))),r("ol",{class:"breadcrumb-hidden-items","aria-hidden":"true"},e),r("span",{class:"breadcrumb-item__divider"},"/"))}adjustHiddenMenuWidth(){const e=document.querySelectorAll(".breadcrumb-hidden-items")[0];if(e)if(document.body.scrollWidth<480)e.style.width="100%";else{var r=0;const a=document.querySelectorAll(".breadcrumb-hidden-items .breadcrumb-item a");if(a){for(let e=0;e<a.length;e++)r<a[e].offsetWidth&&(r=a[e].offsetWidth);r=r+32+64}e.style.width=r.toString().concat("px")}}closeMoreMenu(){const e=document.querySelectorAll(".breadcrumb-hidden-items")[0];e&&(e.classList.remove("breadcrumb-hidden-items__is-open"),this.menuOpen=!1);const r=document.querySelectorAll("#more")[0];r&&r.classList.remove("is-open")}clickEventListener(e){if(!e)return;const r=e.target,a=document.querySelectorAll(".breadcrumb-hidden-items")[0],i=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&("more"===r.id||r.closest("hy-icon").classList.contains("breadcrumb-item__more__icon"))?a&&(this.menuOpen?(a.classList.remove("breadcrumb-hidden-items__is-open"),a.setAttribute("aria-hidden","true"),i.classList.remove("is-open"),i.setAttribute("aria-expanded","false")):(a.classList.add("breadcrumb-hidden-items__is-open"),i.classList.add("is-open"),a.setAttribute("aria-hidden","false"),i.setAttribute("aria-expanded","true")),this.menuOpen=!this.menuOpen):this.closeMoreMenu(),e.stopPropagation(),e.stopImmediatePropagation()}resizeEventListener(e){if(!e)return;const r=document.querySelectorAll(".hy-breadcrumbs")[0],a=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&(d+64>=document.body.scrollWidth?(a.setAttribute("aria-hidden","false"),this.adjustBreadcrumbsMenuVisibility()):(a.setAttribute("aria-hidden","true"),this.adjustBreadcrumbsMenuVisibility(!1)))}render(){const e=this._dataItems.length;let a=e>3,t=[],d=[];this._dataItems.map(this.variant==i.landingLarge?(e,r)=>{r<2&&t.push(0==r?this.HomeItem(e.url):this.BreadcrumbItem(e.text,"","main"))}:(i,b)=>{let n=this.BreadcrumbItem(i.text,i.url,"",!1);if(a&&b>0&&b<e-1)return d.push(r("li",null,n)),void t.push(this.BreadcrumbItem(i.text,i.url,"intermediate"));t.push(0==b?this.HomeItem(i.url):this.BreadcrumbItem(i.text,i.url,"main"))}),t.splice(1,0,this.DropdownMenuItem(d));const b=["hy-breadcrumbs",this.variant,this.headerstyle].join(" ");return r("nav",{"aria-label":"Breadcrumb",role:"navigation","aria-labelledby":"system-breadcrumb",class:b},r("ol",{class:"breadcrumb-container"},t))}get el(){return a(this)}};b.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-breadcrumbs{display:inline-block;position:relative;width:auto}.hy-breadcrumbs.is-condensed{width:100%}.hy-breadcrumbs ol{margin:0;padding:0}.hy-breadcrumbs .breadcrumb-container{color:var(--grayscale-dark);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;padding:20px 0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-container{padding:24px 0 20px}}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-container{padding:32px 0 24px}}.hy-breadcrumbs .breadcrumb-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.hy-breadcrumbs .breadcrumb-item a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:44px;padding-left:6px;padding-right:6px;position:relative;text-decoration:none}.hy-breadcrumbs .breadcrumb-item a.default{font-size:0.875rem;line-height:18px;font-weight:600;letter-spacing:-0.5px}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-item a.default{font-size:1rem;line-height:20px}}.hy-breadcrumbs .breadcrumb-item:hover a{color:var(--brand-main);text-decoration:underline}.hy-breadcrumbs .breadcrumb-item:focus{outline:auto}.hy-breadcrumbs .breadcrumb-item.hidden{display:none}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default{margin-bottom:4px}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default svg{fill:var(--brand-main-light);stroke:var(--brand-main-light)}.hy-breadcrumbs .breadcrumb-item.home:hover svg{fill:var(--brand-main) !important;stroke:var(--brand-main) !important}.hy-breadcrumbs .breadcrumb-item.main{min-width:0}.hy-breadcrumbs .breadcrumb-item.main a{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more{display:none;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-breadcrumbs .breadcrumb-item__more.visible{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more .breadcrumb-item-caret:hover{cursor:default}.hy-breadcrumbs .breadcrumb-item-caret svg{fill:var(--grayscale-dark)}.hy-breadcrumbs .breadcrumb-item-dropdown-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;padding-left:6px;padding-right:6px;cursor:pointer}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);border-radius:3px;border:2px solid var(--brand-main-light);color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;height:20px;padding:0 6px;pointer-events:none}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span{position:relative;width:20px;height:10px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-black);border-radius:50%;-webkit-box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);content:"";height:2px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content hy-icon svg{fill:var(--brand-main-light);margin-left:3px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content{background-color:var(--brand-main-light);color:var(--grayscale-white)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-white);-webkit-box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open hy-icon svg{fill:var(--grayscale-white);-webkit-transform:rotate(270deg);transform:rotate(270deg)}.hy-breadcrumbs .breadcrumb-hidden-items{display:none;list-style:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-hidden-items__is-open{background:var(--grayscale-white);-webkit-box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);display:block;left:0;padding:16px 0 20px;position:absolute;right:0;top:calc(100% - 11px);visibility:visible;z-index:5}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open{left:12px;right:auto}}.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;width:100%;padding:0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{padding:0 64px 0 32px}}.hy-breadcrumbs .breadcrumb-item__current{-webkit-box-flex:0;-ms-flex:0 2 auto;flex:0 2 auto;min-width:0}.hy-breadcrumbs .breadcrumb-item__current:hover a{cursor:default;color:var(--grayscale-dark) !important;text-decoration:none !important}.hy-breadcrumbs .breadcrumb-item__current a{color:var(--grayscale-dark);font-family:var(--main-font-family);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;min-height:auto}.hy-breadcrumbs .intermediate{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .intermediate.hidden{display:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-item.breadcrumb-item__current a{min-height:0}.hy-breadcrumbs #more,.hy-breadcrumbs .more{display:none;visibility:hidden}.hy-breadcrumbs #more.visible,.hy-breadcrumbs .more.visible{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible}.hy-breadcrumbs.large.with-sidebar{display:block;visibility:visible}.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.25rem;line-height:26px;color:var(--grayscale-black);font-weight:700;letter-spacing:-0.6px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.625rem;line-height:26px;letter-spacing:-0.8px;font-weight:700}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.25rem;line-height:26px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.625rem;line-height:26px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item-caret svg{fill:var(--grayscale-black)}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;min-height:64px;overflow:hidden;padding:0}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{min-height:84px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{fill:var(--grayscale-black);height:18px;margin-bottom:4px;stroke:var(--grayscale-black);width:18px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{height:24px;margin-bottom:2px;width:24px}}@media (min-width: 75.0625rem){.hy-breadcrumbs.large.with-sidebar{display:none;visibility:hidden}}';export{b as hy_breadcrumbs}
|
|
1
|
+
import{r as e,h as r,g as a}from"./p-d5584db1.js";import{B as i}from"./p-e20f6203.js";import{j as t}from"./p-5617bc3e.js";let d=null;const b=class{constructor(r){e(this,r),this.variant=i.default,this.headerstyle="with-sidebar",this.menuOpen=!1}async componentWillLoad(){this._dataItems=await t(this.dataItems)}componentDidLoad(){let e=this.el.closest(".hy-main");e&&(e.classList.contains("with-sidebar")||(this.headerstyle="without-sidebar")),d=this.el.offsetWidth+64;const r=document.getElementsByClassName("layout-content")[0],a=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&d>=r.offsetWidth&&(a.setAttribute("aria-hidden","false"),this.adjustBreadcrumbsMenuVisibility())}adjustBreadcrumbsMenuVisibility(e=!0){e||this.closeMoreMenu();const r=document.querySelectorAll(".hy-breadcrumbs")[0],a=document.querySelectorAll("#more")[0],i=document.querySelectorAll(".breadcrumb-item__more")[0];a&&(e?(r.classList.add("is-condensed"),a.classList.add("visible"),i.classList.add("visible")):(r.classList.remove("is-condensed"),a.classList.remove("visible"),i.classList.remove("visible")));const t=document.querySelectorAll(".intermediate");if(t)for(let r=0;r<t.length;r++)e?t[r].classList.add("hidden"):t[r].classList.remove("hidden")}HomeItem(e){const a=["hy-icon-wrapper",this.variant].join(" ");return r("li",{class:"breadcrumb-item home"},r("a",{href:e,class:a},r("hy-icon",{icon:"hy-icon-home",class:`${this.variant}`,size:16})),r("span",{class:"breadcrumb-item__divider"},"/"))}BreadcrumbItem(e,a,i="",t=!0){const d=["breadcrumb-item",i].join(" ");return a?t?r("li",{class:d},r("a",{href:a,class:`${this.variant}`},e),r("span",{class:"breadcrumb-item__divider"},"/")):r("li",{class:d},r("a",{href:a,class:`${this.variant}`},e)):r("li",{class:`${d} breadcrumb-item__current`},r("a",{"aria-current":"page",href:a,class:`${this.variant}`},e.length>20?`${e.substring(0,19)}...`:e))}BreadcrumbTextItem(e,a=""){const i=["breadcrumb-item",a].join(" ");return r("li",{class:i},e)}DropdownMenuItem(e){return r("li",{class:"breadcrumb-item__more"},r("button",{type:"button","aria-hidden":"true","aria-expanded":"false",id:"more",key:"more",class:"breadcrumb-item-dropdown-button","aria-label":"Open breadcrumb navigation"},r("span",{class:"breadcrumb-item-dropdown-button__content"},r("span",null),r("hy-icon",{icon:"hy-icon-caret-right",class:"breadcrumb-item-caret__drop breadcrumb-item__more__icon",size:10}))),r("ol",{class:"breadcrumb-hidden-items","aria-hidden":"true"},e),r("span",{class:"breadcrumb-item__divider"},"/"))}adjustHiddenMenuWidth(){const e=document.querySelectorAll(".breadcrumb-hidden-items")[0];if(e)if(document.body.scrollWidth<480)e.style.width="100%";else{var r=0;const a=document.querySelectorAll(".breadcrumb-hidden-items .breadcrumb-item a");if(a){for(let e=0;e<a.length;e++)r<a[e].offsetWidth&&(r=a[e].offsetWidth);r=r+32+64}e.style.width=r.toString().concat("px")}}closeMoreMenu(){const e=document.querySelectorAll(".breadcrumb-hidden-items")[0];e&&(e.classList.remove("breadcrumb-hidden-items__is-open"),this.menuOpen=!1);const r=document.querySelectorAll("#more")[0];r&&r.classList.remove("is-open")}clickEventListener(e){if(!e)return;const r=e.target,a=document.querySelectorAll(".breadcrumb-hidden-items")[0],i=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&("more"===r.id||r.closest("hy-icon").classList.contains("breadcrumb-item__more__icon"))?a&&(this.menuOpen?(a.classList.remove("breadcrumb-hidden-items__is-open"),a.setAttribute("aria-hidden","true"),i.classList.remove("is-open"),i.setAttribute("aria-expanded","false")):(a.classList.add("breadcrumb-hidden-items__is-open"),i.classList.add("is-open"),a.setAttribute("aria-hidden","false"),i.setAttribute("aria-expanded","true")),this.menuOpen=!this.menuOpen):this.closeMoreMenu(),e.stopPropagation(),e.stopImmediatePropagation()}resizeEventListener(e){if(!e)return;const r=document.querySelectorAll(".hy-breadcrumbs")[0],a=document.querySelectorAll(".breadcrumb-item-dropdown-button")[0];r&&(d+64>=document.body.scrollWidth?(a.setAttribute("aria-hidden","false"),this.adjustBreadcrumbsMenuVisibility()):(a.setAttribute("aria-hidden","true"),this.adjustBreadcrumbsMenuVisibility(!1)))}render(){const e=this._dataItems.length;let a=e>3,t=[],d=[];this._dataItems.map(this.variant==i.landingLarge?(e,r)=>{r<2&&t.push(0==r?this.HomeItem(e.url):this.BreadcrumbItem(e.text,"","main"))}:(i,b)=>{let n=this.BreadcrumbItem(i.text,i.url,"",!1);if(a&&b>0&&b<e-1)return d.push(r("li",null,n)),void t.push(this.BreadcrumbItem(i.text,i.url,"intermediate"));t.push(0==b?this.HomeItem(i.url):this.BreadcrumbItem(i.text,i.url,"main"))}),t.splice(1,0,this.DropdownMenuItem(d));const b=["hy-breadcrumbs",this.variant,this.headerstyle].join(" ");return r("nav",{"aria-label":"Breadcrumb",role:"navigation","aria-labelledby":"system-breadcrumb",class:b},r("ol",{class:"breadcrumb-container"},t))}get el(){return a(this)}};b.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-breadcrumbs{display:inline-block;position:relative;width:auto}.hy-breadcrumbs.is-condensed{width:100%}.hy-breadcrumbs ol{margin:0;padding:0}.hy-breadcrumbs .breadcrumb-container{color:var(--grayscale-dark);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;padding:20px 0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-container{padding:24px 0 20px}}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-container{padding:32px 0 24px}}.hy-breadcrumbs .breadcrumb-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.hy-breadcrumbs .breadcrumb-item a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--link-blue);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:44px;padding-left:6px;padding-right:6px;position:relative;text-decoration:none}.hy-breadcrumbs .breadcrumb-item a.default{font-size:0.875rem;line-height:18px;font-weight:600;letter-spacing:-0.5px}@media (min-width: 75.0625rem){.hy-breadcrumbs .breadcrumb-item a.default{font-size:1rem;line-height:20px}}.hy-breadcrumbs .breadcrumb-item:hover a{color:var(--brand-main);text-decoration:underline}.hy-breadcrumbs .breadcrumb-item:focus{outline:auto}.hy-breadcrumbs .breadcrumb-item.hidden{display:none}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default{margin-bottom:4px}.hy-breadcrumbs .breadcrumb-item.home hy-icon.default svg{fill:var(--brand-main-light);stroke:var(--brand-main-light)}.hy-breadcrumbs .breadcrumb-item.home:hover svg{fill:var(--brand-main) !important;stroke:var(--brand-main) !important}.hy-breadcrumbs .breadcrumb-item.main{min-width:0}.hy-breadcrumbs .breadcrumb-item.main a{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more{display:none;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-breadcrumbs .breadcrumb-item__more.visible{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .breadcrumb-item__more .breadcrumb-item-caret:hover{cursor:default}.hy-breadcrumbs .breadcrumb-item-caret svg{fill:var(--grayscale-dark)}.hy-breadcrumbs .breadcrumb-item-dropdown-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;padding-left:6px;padding-right:6px;cursor:pointer}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);border-radius:3px;border:2px solid var(--brand-main-light);color:var(--brand-main-light);display:-webkit-box;display:-ms-flexbox;display:flex;height:20px;padding:0 6px;pointer-events:none}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span{position:relative;width:20px;height:10px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-black);border-radius:50%;-webkit-box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);box-shadow:0 0 0 1px var(--grayscale-black), -6px 0 0 1px var(--grayscale-black), 6px 0 0 1px var(--grayscale-black);content:"";height:2px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button .breadcrumb-item-dropdown-button__content hy-icon svg{fill:var(--brand-main-light);margin-left:3px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content{background-color:var(--brand-main-light);color:var(--grayscale-white)}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open .breadcrumb-item-dropdown-button__content>span:after{background-color:var(--grayscale-white);-webkit-box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);box-shadow:0 0 0 1px var(--grayscale-white), -6px 0 0 1px var(--grayscale-white), 6px 0 0 1px var(--grayscale-white);width:2px}.hy-breadcrumbs .breadcrumb-item-dropdown-button.is-open hy-icon svg{fill:var(--grayscale-white);-webkit-transform:rotate(270deg);transform:rotate(270deg)}.hy-breadcrumbs .breadcrumb-hidden-items{display:none;list-style:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-hidden-items__is-open{background:var(--grayscale-white);-webkit-box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);box-shadow:0 0 10px 0 rgba(14, 104, 139, 0.2);display:block;left:0;padding:16px 0 20px;position:absolute;right:0;top:calc(100% - 11px);visibility:visible;z-index:5}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open{left:12px;right:auto}}.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;margin:0;width:100%;padding:0 16px}@media (min-width: 30rem){.hy-breadcrumbs .breadcrumb-hidden-items__is-open a.default{padding:0 64px 0 32px}}.hy-breadcrumbs .breadcrumb-item__current{-webkit-box-flex:0;-ms-flex:0 2 auto;flex:0 2 auto;min-width:0}.hy-breadcrumbs .breadcrumb-item__current:hover a{cursor:default;color:var(--grayscale-dark) !important;text-decoration:none !important}.hy-breadcrumbs .breadcrumb-item__current a{color:var(--grayscale-dark);font-family:var(--main-font-family);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;min-height:auto}.hy-breadcrumbs .intermediate{display:-webkit-box;display:-ms-flexbox;display:flex}.hy-breadcrumbs .intermediate.hidden{display:none;visibility:hidden}.hy-breadcrumbs .breadcrumb-item.breadcrumb-item__current a{min-height:0}.hy-breadcrumbs #more,.hy-breadcrumbs .more{display:none;visibility:hidden}.hy-breadcrumbs #more.visible,.hy-breadcrumbs .more.visible{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible}.hy-breadcrumbs.large.with-sidebar{display:block;visibility:visible}.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.25rem;line-height:26px;color:var(--grayscale-black);font-weight:700;letter-spacing:-0.6px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar a.large{font-size:1.625rem;line-height:26px;letter-spacing:-0.8px;font-weight:700}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.25rem;line-height:26px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-item__divider{font-size:1.625rem;line-height:26px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-item-caret svg{fill:var(--grayscale-black)}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-family:var(--main-font-family);list-style-type:none;margin:0;min-height:64px;overflow:hidden;padding:0}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container{min-height:84px}}.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{fill:var(--grayscale-black);height:18px;margin-bottom:4px;stroke:var(--grayscale-black);width:18px}@media (min-width: 30rem){.hy-breadcrumbs.large.with-sidebar .breadcrumb-container .breadcrumb-item.home svg{height:24px;margin-bottom:2px;width:24px}}@media (min-width: 75.0625rem){.hy-breadcrumbs.large.with-sidebar{display:none;visibility:hidden}}';export{b as hy_breadcrumbs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as i,g as e}from"./p-
|
|
1
|
+
import{r as a,h as i,g as e}from"./p-d5584db1.js";import{r}from"./p-e20f6203.js";const t=class{constructor(i){a(this,i),this.variant=r.default,this.linkContent="",this.isExternal=!1}render(){const a=["hy-cta-link__icon",this.isExternal&&"hy-cta-link__icon--external"].join(" ");return i("a",{"aria-label":this.scLabel,href:this.url,target:this.isExternal?"_blank":"_self",class:`hy-cta-link hy-cta-link--${this.variant}`},this.variant==r.linkList&&i("span",{class:a},i("hy-icon",{icon:"hy-icon-arrow-to-right",size:24})),i("span",null,this.linkContent),this.variant==r.default&&i("span",{class:a},i("hy-icon",{icon:"hy-icon-arrow-to-right",size:24})))}get el(){return e(this)}};t.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-cta-link{font-weight:600;font-size:1rem;line-height:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--brand-main);display:inline-grid;font-family:var(--main-font-family);gap:16px;grid-auto-flow:column;letter-spacing:-0.5px;overflow:hidden;text-decoration:none}.hy-cta-link:hover,.hy-cta-link:focus{text-decoration:underline}.hy-cta-link:hover .hy-cta-link__icon,.hy-cta-link:focus .hy-cta-link__icon{background-color:var(--brand-main)}.hy-cta-link__icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main-light);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:40px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px}.hy-cta-link__icon svg{fill:var(--grayscale-white)}.hy-cta-link__icon--external svg{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}";export{t as hy_cta_link}
|
|
@@ -11,7 +11,10 @@ export declare class Heading {
|
|
|
11
11
|
section: HeadingSectionVariants;
|
|
12
12
|
negative: boolean;
|
|
13
13
|
headerstyle: string;
|
|
14
|
+
hyphenatedText?: string;
|
|
14
15
|
el: HTMLElement;
|
|
16
|
+
hasChildren: boolean;
|
|
17
|
+
componentWillLoad(): void;
|
|
15
18
|
componentDidLoad(): void;
|
|
16
19
|
render(): any;
|
|
17
20
|
}
|
|
@@ -11,7 +11,6 @@ import { EventEmitter } from '../../../stencil-public-runtime';
|
|
|
11
11
|
export declare class MenuLanguage {
|
|
12
12
|
el: HTMLElement;
|
|
13
13
|
dataMenuLanguage: MenuLanguage[] | string;
|
|
14
|
-
isMobile: boolean;
|
|
15
14
|
isGroup: boolean;
|
|
16
15
|
labels?: ComponentLabels[] | string;
|
|
17
16
|
isMenuOpen: boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ShortcutLinks {
|
|
2
|
+
title: string;
|
|
3
|
+
url: string;
|
|
4
|
+
is_external: string;
|
|
5
|
+
aria_label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class HyMobileMenuShortcuts {
|
|
8
|
+
shortcutsLabel: string;
|
|
9
|
+
dataShortcutLinks: ShortcutLinks[] | string;
|
|
10
|
+
private _dataShortcutLinks;
|
|
11
|
+
componentWillLoad(): Promise<void>;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -21,6 +21,8 @@ export interface DesktopLinks {
|
|
|
21
21
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
22
22
|
export declare class HyDesktopMenuLinks {
|
|
23
23
|
el: HTMLElement;
|
|
24
|
+
isGroup?: boolean;
|
|
25
|
+
isDropdown?: boolean;
|
|
24
26
|
dataDesktopLinks: DesktopLinks[] | string;
|
|
25
27
|
private _dataDesktopLinks;
|
|
26
28
|
firstLevelLinksList: Array<object>;
|
|
@@ -30,7 +32,6 @@ export declare class HyDesktopMenuLinks {
|
|
|
30
32
|
currenOpenMenuId: number;
|
|
31
33
|
isNewMenuIdOnHover: boolean;
|
|
32
34
|
menuDesktopToggled: EventEmitter;
|
|
33
|
-
private _submenuLeftMargin;
|
|
34
35
|
private _headerBorderOffset;
|
|
35
36
|
private _hoverTimer;
|
|
36
37
|
private _fadeOutTimer;
|