@swisspost/internet-header 1.13.9 → 1.13.11
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/focus-trap.cjs.entry.js +1553 -0
- package/dist/cjs/index-e67ee869.js +1691 -0
- package/dist/cjs/index.cjs.js +15 -15
- package/dist/cjs/{klp-widget.controller-209f3662.js → klp-widget.controller-14bfba32.js} +1 -2
- package/dist/cjs/{language.service-1ba2d907.js → language.service-5591951f.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{post-internet-breadcrumbs-36dd7ad1.js → post-internet-breadcrumbs-cd00e828.js} +29 -588
- package/dist/cjs/{post-internet-footer-c3711354.js → post-internet-footer-451c6936.js} +10 -10
- package/dist/cjs/{post-internet-header-6fc87361.js → post-internet-header-ecbdbe86.js} +28 -27
- package/dist/cjs/post-klp-login-widget-4784e543.js +62 -0
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +5 -5
- package/dist/cjs/{post-language-switch-9282e5ec.js → post-language-switch-7ee44d13.js} +6 -6
- package/dist/cjs/post-language-switch.cjs.entry.js +6 -6
- package/dist/cjs/{post-logo-124f61b6.js → post-logo-508c8b1e.js} +2 -2
- package/dist/cjs/post-logo.cjs.entry.js +3 -3
- package/dist/cjs/{post-main-navigation-24a6e416.js → post-main-navigation-9ae98522.js} +17 -18
- package/dist/cjs/post-main-navigation.cjs.entry.js +6 -6
- package/dist/cjs/{post-meta-navigation-51fdeb3c.js → post-meta-navigation-72b92c2a.js} +2 -2
- package/dist/cjs/post-meta-navigation.cjs.entry.js +3 -3
- package/dist/cjs/post-search-690c4d32.js +596 -0
- package/dist/cjs/post-search.cjs.entry.js +6 -6
- package/dist/cjs/{post-skiplinks-a31d3236.js → post-skiplinks-608b9533.js} +5 -5
- package/dist/cjs/post-skiplinks.cjs.entry.js +5 -5
- package/dist/cjs/{store-e62cce76.js → store-bb0e8d2e.js} +1 -1
- package/dist/cjs/{svg-icon.component-7e7dd749.js → svg-icon.component-d7f2aceb.js} +1 -1
- package/dist/cjs/{svg-sprite.component-b9a5abc4.js → svg-sprite.component-004c728e.js} +1 -1
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +6 -6
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +5 -5
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +6 -6
- package/dist/cjs/swisspost-internet-header.cjs.js +10 -10
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/post-internet-breadcrumbs/components/overlay.component.js +1 -2
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.css +2 -2
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js +2 -2
- package/dist/collection/components/post-internet-footer/components/post-footer-block-contact.component.js +2 -2
- package/dist/collection/components/post-internet-footer/post-internet-footer.css +1 -1
- package/dist/collection/components/post-internet-footer/post-internet-footer.js +2 -2
- package/dist/collection/components/post-internet-header/post-internet-header.js +2 -2
- package/dist/collection/components/post-klp-login-widget/klp-widget.controller.js +1 -2
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.css +2 -2
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.js +1 -1
- package/dist/collection/components/post-language-switch/components/post-language-switch-list.js +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.js +3 -3
- package/dist/collection/components/post-main-navigation/components/level-one-action.component.js +5 -5
- package/dist/collection/components/post-main-navigation/post-main-navigation.js +9 -10
- package/dist/collection/components/post-meta-navigation/post-meta-navigation.js +2 -2
- package/dist/collection/components/post-search/post-search.css +23 -15
- package/dist/collection/components/post-search/post-search.js +12 -7
- package/dist/collection/components/post-skiplinks/post-skiplinks.js +1 -1
- package/dist/collection/components/shared/focus-trap.js +78 -0
- package/dist/collection/models/geocode.model.js +8 -9
- package/dist/collection/services/search/coveo.service.js +1 -1
- package/dist/collection/services/search/parcel.service.js +2 -2
- package/dist/collection/services/search/places.service.js +2 -2
- package/dist/components/focus-trap.d.ts +11 -0
- package/dist/components/focus-trap.js +6 -0
- package/dist/components/focus-trap2.js +1568 -0
- package/dist/components/index.js +2 -0
- package/dist/components/klp-widget.controller.js +1 -2
- package/dist/components/post-klp-login-widget2.js +2 -2
- package/dist/components/post-language-switch2.js +1 -1
- package/dist/components/post-main-navigation2.js +12 -13
- package/dist/components/post-search2.js +17 -11
- package/dist/components/post-skiplinks2.js +1 -1
- package/dist/components/swisspost-internet-breadcrumbs.js +31 -584
- package/dist/components/swisspost-internet-footer.js +6 -6
- package/dist/components/swisspost-internet-header.js +30 -23
- package/dist/docs.d.ts +34 -0
- package/dist/docs.json +107 -20
- package/dist/esm/focus-trap.entry.js +1549 -0
- package/dist/esm/index-607344a5.js +1660 -0
- package/dist/esm/index.js +15 -15
- package/dist/esm/{klp-widget.controller-099061a3.js → klp-widget.controller-b101390d.js} +1 -2
- package/dist/esm/{language.service-425cd2ca.js → language.service-2df27b6a.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{post-internet-breadcrumbs-45087e15.js → post-internet-breadcrumbs-d7f7f87f.js} +29 -588
- package/dist/esm/{post-internet-footer-e940b2bf.js → post-internet-footer-b4161a6c.js} +10 -10
- package/dist/esm/{post-internet-header-4bee6977.js → post-internet-header-8279d078.js} +28 -27
- package/dist/esm/post-klp-login-widget-58d9e3e2.js +60 -0
- package/dist/esm/post-klp-login-widget.entry.js +5 -5
- package/dist/esm/{post-language-switch-3440a152.js → post-language-switch-85afcb97.js} +6 -6
- package/dist/esm/post-language-switch.entry.js +6 -6
- package/dist/esm/{post-logo-b80d550b.js → post-logo-6ea4c487.js} +2 -2
- package/dist/esm/post-logo.entry.js +3 -3
- package/dist/esm/{post-main-navigation-b254f9b1.js → post-main-navigation-9d539ab7.js} +17 -18
- package/dist/esm/post-main-navigation.entry.js +6 -6
- package/dist/esm/{post-meta-navigation-7fb43f8f.js → post-meta-navigation-895bef11.js} +2 -2
- package/dist/esm/post-meta-navigation.entry.js +3 -3
- package/dist/esm/post-search-6e306c06.js +594 -0
- package/dist/esm/post-search.entry.js +6 -6
- package/dist/esm/{post-skiplinks-a5112fd4.js → post-skiplinks-814427b2.js} +5 -5
- package/dist/esm/post-skiplinks.entry.js +5 -5
- package/dist/esm/{store-0e10b256.js → store-59bf455d.js} +1 -1
- package/dist/esm/{svg-icon.component-2da93f91.js → svg-icon.component-8b45252e.js} +1 -1
- package/dist/esm/{svg-sprite.component-32e5bd09.js → svg-sprite.component-6c834657.js} +1 -1
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js +6 -6
- package/dist/esm/swisspost-internet-footer.entry.js +5 -5
- package/dist/esm/swisspost-internet-header.entry.js +6 -6
- package/dist/esm/swisspost-internet-header.js +11 -11
- package/dist/esm-es5/focus-trap.entry.js +10 -0
- package/dist/esm-es5/index-607344a5.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{klp-widget.controller-099061a3.js → klp-widget.controller-b101390d.js} +1 -1
- package/dist/esm-es5/{language.service-425cd2ca.js → language.service-2df27b6a.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/post-internet-breadcrumbs-d7f7f87f.js +1 -0
- package/dist/esm-es5/post-internet-footer-b4161a6c.js +1 -0
- package/dist/esm-es5/post-internet-header-8279d078.js +1 -0
- package/dist/esm-es5/post-klp-login-widget-58d9e3e2.js +1 -0
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/post-language-switch-85afcb97.js +1 -0
- package/dist/esm-es5/post-language-switch.entry.js +1 -1
- package/dist/esm-es5/{post-logo-b80d550b.js → post-logo-6ea4c487.js} +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -1
- package/dist/esm-es5/post-main-navigation-9d539ab7.js +1 -0
- package/dist/esm-es5/post-main-navigation.entry.js +1 -1
- package/dist/esm-es5/{post-meta-navigation-7fb43f8f.js → post-meta-navigation-895bef11.js} +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
- package/dist/esm-es5/post-search-6e306c06.js +1 -0
- package/dist/esm-es5/post-search.entry.js +1 -1
- package/dist/esm-es5/{post-skiplinks-a5112fd4.js → post-skiplinks-814427b2.js} +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js +1 -1
- package/dist/esm-es5/{store-0e10b256.js → store-59bf455d.js} +1 -1
- package/dist/esm-es5/{svg-icon.component-2da93f91.js → svg-icon.component-8b45252e.js} +1 -1
- package/dist/esm-es5/{svg-sprite.component-32e5bd09.js → svg-sprite.component-6c834657.js} +1 -1
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/p-0643f977.js +1 -0
- package/dist/swisspost-internet-header/p-067578af.entry.js +1 -0
- package/dist/swisspost-internet-header/p-0bb2f252.js +1 -0
- package/dist/swisspost-internet-header/p-0e26e283.system.js +1 -0
- package/dist/swisspost-internet-header/p-13b25740.js +1 -0
- package/dist/swisspost-internet-header/p-27de5cd4.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-3d025bca.system.js → p-28543187.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-9778e91c.js → p-286e501c.js} +1 -1
- package/dist/swisspost-internet-header/{p-e61108a5.system.js → p-29965ca9.system.js} +1 -1
- package/dist/swisspost-internet-header/p-2a7cb38b.system.js +1 -0
- package/dist/swisspost-internet-header/{p-4ee08eaa.system.js → p-2bb736c5.system.js} +1 -1
- package/dist/swisspost-internet-header/p-2d7abdc0.entry.js +1 -0
- package/dist/swisspost-internet-header/p-2f7c5bd5.system.js +1 -0
- package/dist/swisspost-internet-header/{p-abfccb28.js → p-32bd7cb9.js} +1 -1
- package/dist/swisspost-internet-header/p-388a9b3c.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-3a497703.entry.js +11 -0
- package/dist/swisspost-internet-header/p-43f111fb.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-cb1c5219.js → p-49021214.js} +1 -1
- package/dist/swisspost-internet-header/{p-5c7e1fc6.system.js → p-4d4d3ea2.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-647068ef.js → p-4f5e96be.js} +1 -1
- package/dist/swisspost-internet-header/p-507a1aa1.entry.js +1 -0
- package/dist/swisspost-internet-header/p-5f5b27e0.system.js +1 -0
- package/dist/swisspost-internet-header/{p-6546eb29.system.js → p-5f82dead.system.js} +1 -1
- package/dist/swisspost-internet-header/p-61c44b55.entry.js +1 -0
- package/dist/swisspost-internet-header/p-672e2b72.js +1 -0
- package/dist/swisspost-internet-header/p-6786aa21.js +1 -0
- package/dist/swisspost-internet-header/p-6acdc01c.system.entry.js +10 -0
- package/dist/swisspost-internet-header/p-6b24c17a.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-7500c126.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-7512fef9.js +1 -0
- package/dist/swisspost-internet-header/{p-d45f6743.system.js → p-75d40407.system.js} +1 -1
- package/dist/swisspost-internet-header/p-760d604f.js +1 -0
- package/dist/swisspost-internet-header/p-7aaa346f.entry.js +1 -0
- package/dist/swisspost-internet-header/p-83780dd4.system.js +1 -0
- package/dist/swisspost-internet-header/p-91676998.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-99fc974a.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-9bcaad92.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a025bd85.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a1e9c54b.system.js +2 -0
- package/dist/swisspost-internet-header/{p-92c6988b.system.js → p-aeb4cf5c.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-230c1106.js → p-b07d0f11.js} +1 -1
- package/dist/swisspost-internet-header/p-b70cc30e.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-803f2059.system.js → p-b8291f85.system.js} +1 -1
- package/dist/swisspost-internet-header/p-b90e75e8.entry.js +1 -0
- package/dist/swisspost-internet-header/p-bce3a409.entry.js +1 -0
- package/dist/swisspost-internet-header/p-bd1b44bc.js +1 -0
- package/dist/swisspost-internet-header/p-bf49aa72.system.js +1 -0
- package/dist/swisspost-internet-header/p-c1b5f811.js +2 -0
- package/dist/swisspost-internet-header/p-c60a6b5e.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-cfa585dc.js +1 -0
- package/dist/swisspost-internet-header/p-db2b6582.entry.js +1 -0
- package/dist/swisspost-internet-header/p-dec84965.system.js +1 -0
- package/dist/swisspost-internet-header/{p-24716e3e.system.js → p-e97ae5c1.system.js} +1 -1
- package/dist/swisspost-internet-header/p-ed6ab713.entry.js +1 -0
- package/dist/swisspost-internet-header/p-edf88566.system.js +1 -0
- package/dist/swisspost-internet-header/{p-34ced778.js → p-eeae2fed.js} +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.css +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.js +1 -1
- package/dist/types/components/post-internet-breadcrumbs/components/breadcrumb-list.component.d.ts +4 -4
- package/dist/types/components/post-internet-breadcrumbs/components/middle-dropdown.component.d.ts +1 -1
- package/dist/types/components/post-internet-breadcrumbs/components/overlay.component.d.ts +1 -1
- package/dist/types/components/post-internet-breadcrumbs/post-internet-breadcrumbs.d.ts +11 -8
- package/dist/types/components/post-language-switch/post-language-switch.d.ts +13 -3
- package/dist/types/components/post-main-navigation/post-main-navigation.d.ts +19 -13
- package/dist/types/components/post-meta-navigation/post-meta-navigation.d.ts +7 -0
- package/dist/types/components/post-search/post-search.d.ts +11 -4
- package/dist/types/components/shared/focus-trap.d.ts +17 -0
- package/dist/types/components.d.ts +73 -1
- package/dist/types/models/geocode.model.d.ts +9 -8
- package/dist/types/models/header.model.d.ts +4 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +21 -20
- package/dist/cjs/index-ec3e0fb6.js +0 -2112
- package/dist/cjs/post-klp-login-widget-dddaac99.js +0 -62
- package/dist/cjs/post-search-eebfe5dc.js +0 -596
- package/dist/collection/components/post-internet-breadcrumbs/components/focus-trap.component.js +0 -41
- package/dist/esm/index-8f83dd96.js +0 -2081
- package/dist/esm/post-klp-login-widget-5d9d3bd7.js +0 -60
- package/dist/esm/post-search-98e24f9e.js +0 -594
- package/dist/esm-es5/index-8f83dd96.js +0 -1
- package/dist/esm-es5/post-internet-breadcrumbs-45087e15.js +0 -6
- package/dist/esm-es5/post-internet-footer-e940b2bf.js +0 -1
- package/dist/esm-es5/post-internet-header-4bee6977.js +0 -1
- package/dist/esm-es5/post-klp-login-widget-5d9d3bd7.js +0 -1
- package/dist/esm-es5/post-language-switch-3440a152.js +0 -1
- package/dist/esm-es5/post-main-navigation-b254f9b1.js +0 -1
- package/dist/esm-es5/post-search-98e24f9e.js +0 -1
- package/dist/swisspost-internet-header/p-209c4305.js +0 -1
- package/dist/swisspost-internet-header/p-278335ef.js +0 -1
- package/dist/swisspost-internet-header/p-318480a5.system.js +0 -2
- package/dist/swisspost-internet-header/p-3f85bd97.system.js +0 -1
- package/dist/swisspost-internet-header/p-46d1cd6a.system.js +0 -1
- package/dist/swisspost-internet-header/p-5894dffb.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-64c41eb5.entry.js +0 -1
- package/dist/swisspost-internet-header/p-7b84213a.js +0 -2
- package/dist/swisspost-internet-header/p-7c69c95b.js +0 -1
- package/dist/swisspost-internet-header/p-7ceffd9b.entry.js +0 -1
- package/dist/swisspost-internet-header/p-868ddbb4.system.js +0 -1
- package/dist/swisspost-internet-header/p-8acbe0b7.entry.js +0 -1
- package/dist/swisspost-internet-header/p-93e68ed0.entry.js +0 -1
- package/dist/swisspost-internet-header/p-98862456.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-a6e6fce3.system.js +0 -6
- package/dist/swisspost-internet-header/p-ab397a05.js +0 -1
- package/dist/swisspost-internet-header/p-ab574690.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-afb35fa6.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b132b005.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b16677fe.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b430e01a.entry.js +0 -1
- package/dist/swisspost-internet-header/p-c2a1240c.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-c3820920.js +0 -1
- package/dist/swisspost-internet-header/p-c8369622.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-c91906c2.system.js +0 -1
- package/dist/swisspost-internet-header/p-c9494d22.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-cbba2d36.entry.js +0 -1
- package/dist/swisspost-internet-header/p-cd91153b.js +0 -1
- package/dist/swisspost-internet-header/p-dbca5bb7.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-dc6fa698.entry.js +0 -1
- package/dist/swisspost-internet-header/p-df445572.js +0 -1
- package/dist/swisspost-internet-header/p-e1eb613a.js +0 -1
- package/dist/swisspost-internet-header/p-e6d86dca.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e8ba747c.system.js +0 -1
- package/dist/swisspost-internet-header/p-eb3feb7e.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ed8dd33a.system.js +0 -1
- package/dist/swisspost-internet-header/p-f2eabbd4.system.js +0 -1
- package/dist/swisspost-internet-header/p-f54c12d8.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fa570bf7.js +0 -6
- package/dist/types/components/post-internet-breadcrumbs/components/focus-trap.component.d.ts +0 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { P as post_search } from './post-search-
|
|
2
|
-
import './index-
|
|
1
|
+
export { P as post_search } from './post-search-6e306c06.js';
|
|
2
|
+
import './index-607344a5.js';
|
|
3
3
|
import './index-d2256e06.js';
|
|
4
4
|
import './bodyScrollLock.esm-afcc00e3.js';
|
|
5
|
-
import './store-
|
|
5
|
+
import './store-59bf455d.js';
|
|
6
6
|
import './ui.service-22f2c593.js';
|
|
7
|
-
import './svg-sprite.component-
|
|
8
|
-
import './svg-icon.component-
|
|
7
|
+
import './svg-sprite.component-6c834657.js';
|
|
8
|
+
import './svg-icon.component-8b45252e.js';
|
|
9
9
|
import './if.component-d88d9e48.js';
|
|
10
|
-
import './language.service-
|
|
10
|
+
import './language.service-2df27b6a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { s as state } from './store-
|
|
3
|
-
import { t as translate } from './language.service-
|
|
4
|
-
import { S as SvgIcon } from './svg-icon.component-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-607344a5.js';
|
|
2
|
+
import { s as state } from './store-59bf455d.js';
|
|
3
|
+
import { t as translate } from './language.service-2df27b6a.js';
|
|
4
|
+
import { S as SvgIcon } from './svg-icon.component-8b45252e.js';
|
|
5
5
|
|
|
6
6
|
const postSkiplinksCss = ":host{display:block}.skiplinks a{position:absolute;top:.5rem;left:.5rem;clip:rect(0 0 0 0);width:1px;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.25rem;background:#fff}.skiplinks a:focus-visible{position:absolute;clip:unset;width:auto}";
|
|
7
7
|
const PostSkiplinksStyle0 = postSkiplinksCss;
|
|
@@ -40,7 +40,7 @@ const PostSkiplinks = class {
|
|
|
40
40
|
if (config === undefined) {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
|
-
return (h(Host, null, h("div", { class: "skiplinks" }, h("ul", { class: "no-list", "aria-label": translate('Skip Links') }, h("li", null, h("a", { class: "nav-link", href: config.logo.logoLink }, h("span", null, config.logo.logoLinkTitle), h(SvgIcon, { name: "pi-pointy-arrow-right" }))), h("li", null, h("a", { class: "nav-link", href: "#post-internet-header-main-navigation", onClick: () => this.focusMain() }, h("span", null, config.translations.navMainAriaLabel), h(SvgIcon, { name: "pi-pointy-arrow-right" }))), mainId ? (h("li", null, h("a", { class: "nav-link", href: `#${mainId}` }, h("span", null, translate('Go to main content')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null, state.search ? (h("li", null, h("a", { class: "nav-link", href: "#post-internet-header-search-button", onClick: () => this.focusSearch() }, h("span", null, translate('Go to search')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null, state.login ? (h("li", null, h("a", { class: "nav-link", href: "#post-klp-login-widget", onClick: () => this.focusLogin() }, h("span", null, translate('Go to login')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null))));
|
|
43
|
+
return (h(Host, null, h("div", { class: "skiplinks" }, h("ul", { class: "no-list", "aria-label": translate('Skip Links') }, h("li", null, h("a", { class: "nav-link", href: config.logo.logoLink }, h("span", null, config.logo.logoLinkTitle), h(SvgIcon, { name: "pi-pointy-arrow-right" }))), h("li", null, h("a", { class: "nav-link", href: "#post-internet-header-main-navigation", onClick: () => this.focusMain() }, h("span", null, config.translations.navMainAriaLabel), h(SvgIcon, { name: "pi-pointy-arrow-right" }))), mainId !== undefined ? (h("li", null, h("a", { class: "nav-link", href: `#${mainId}` }, h("span", null, translate('Go to main content')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null, state.search ? (h("li", null, h("a", { class: "nav-link", href: "#post-internet-header-search-button", onClick: () => this.focusSearch() }, h("span", null, translate('Go to search')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null, state.login ? (h("li", null, h("a", { class: "nav-link", href: "#post-klp-login-widget", onClick: () => this.focusLogin() }, h("span", null, translate('Go to login')), h(SvgIcon, { name: "pi-pointy-arrow-right" })))) : null))));
|
|
44
44
|
}
|
|
45
45
|
get host() { return getElement(this); }
|
|
46
46
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_skiplinks } from './post-skiplinks-
|
|
2
|
-
import './index-
|
|
3
|
-
import './store-
|
|
4
|
-
import './language.service-
|
|
5
|
-
import './svg-icon.component-
|
|
1
|
+
export { P as post_skiplinks } from './post-skiplinks-814427b2.js';
|
|
2
|
+
import './index-607344a5.js';
|
|
3
|
+
import './store-59bf455d.js';
|
|
4
|
+
import './language.service-2df27b6a.js';
|
|
5
|
+
import './svg-icon.component-8b45252e.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { P as swisspost_internet_breadcrumbs } from './post-internet-breadcrumbs-
|
|
2
|
-
import './index-
|
|
1
|
+
export { P as swisspost_internet_breadcrumbs } from './post-internet-breadcrumbs-d7f7f87f.js';
|
|
2
|
+
import './index-607344a5.js';
|
|
3
3
|
import './index-d2256e06.js';
|
|
4
4
|
import './bodyScrollLock.esm-afcc00e3.js';
|
|
5
|
-
import './svg-icon.component-
|
|
6
|
-
import './store-
|
|
7
|
-
import './svg-sprite.component-
|
|
8
|
-
import './language.service-
|
|
5
|
+
import './svg-icon.component-8b45252e.js';
|
|
6
|
+
import './store-59bf455d.js';
|
|
7
|
+
import './svg-sprite.component-6c834657.js';
|
|
8
|
+
import './language.service-2df27b6a.js';
|
|
9
9
|
import './utils-c8805f81.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as swisspost_internet_footer } from './post-internet-footer-
|
|
2
|
-
import './index-
|
|
3
|
-
import './store-
|
|
4
|
-
import './svg-sprite.component-
|
|
5
|
-
import './language.service-
|
|
1
|
+
export { P as swisspost_internet_footer } from './post-internet-footer-b4161a6c.js';
|
|
2
|
+
import './index-607344a5.js';
|
|
3
|
+
import './store-59bf455d.js';
|
|
4
|
+
import './svg-sprite.component-6c834657.js';
|
|
5
|
+
import './language.service-2df27b6a.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { P as swisspost_internet_header } from './post-internet-header-
|
|
2
|
-
import './index-
|
|
1
|
+
export { P as swisspost_internet_header } from './post-internet-header-8279d078.js';
|
|
2
|
+
import './index-607344a5.js';
|
|
3
3
|
import './index-d2256e06.js';
|
|
4
|
-
import './language.service-
|
|
5
|
-
import './store-
|
|
4
|
+
import './language.service-2df27b6a.js';
|
|
5
|
+
import './store-59bf455d.js';
|
|
6
6
|
import './utils-c8805f81.js';
|
|
7
|
-
import './svg-sprite.component-
|
|
8
|
-
import './svg-icon.component-
|
|
7
|
+
import './svg-sprite.component-6c834657.js';
|
|
8
|
+
import './svg-icon.component-8b45252e.js';
|
|
9
9
|
import './if.component-d88d9e48.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-607344a5.js';
|
|
2
|
+
export { s as setNonce } from './index-607344a5.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["swisspost-internet-header",[[1,"swisspost-internet-header",{"project":[1],"stickyness":[1],"language":[1],"meta":[4],"login":[4],"search":[4],"skiplinks":[4],"configProxy":[1,"config-proxy"],"environment":[1],"languageSwitchOverrides":[1,"language-switch-overrides"],"customConfig":[1,"custom-config"],"languageCookieKey":[1,"language-cookie-key"],"languageLocalStorageKey":[1,"language-local-storage-key"],"logoutUrl":[1,"logout-url"],"activeRoute":[8,"active-route"],"osFlyoutOverrides":[1,"os-flyout-overrides"],"fullWidth":[4,"full-width"],"activeFlyout":[32],"activeDropdownElement":[32],"isMainSlotEmpty":[32],"getCurrentLanguage":[64]},[[0,"languageChanged","handleLanguageChangeEvent"]],{"language":["handleLanguageChange"],"languageSwitchOverrides":["handleAvailableLanguagesChange"],"osFlyoutOverrides":["handleOsFlyoutOverrides"],"activeRoute":["handleActiveRouteChange"],"customConfig":["handleCustomConfigChange"],"search":["handleSearchChange"],"login":["handleLoginChange"],"meta":["handleMetaChange"],"stickyness":["handleStickynessChange"]}]]],["swisspost-internet-breadcrumbs",[[1,"swisspost-internet-breadcrumbs",{"customItems":[1,"custom-items"],"hideButtons":[4,"hide-buttons"],"customBreadcrumbItems":[32],"overlayVisible":[32],"isConcatenated":[32],"dropdownOpen":[32],"refsReady":[32],"toggleOverlayById":[64]},null,{"customItems":["handleCustomConfigChange"]}]]],["swisspost-internet-footer",[[1,"swisspost-internet-footer",{"liveSupportEnabled":[32],"cookieSettingsEnabled":[32]}]]],["post-klp-login-widget",[[1,"post-klp-login-widget",{"logoutUrl":[1,"logout-url"],"setFocus":[64]}]]],["post-language-switch",[[1,"post-language-switch",{"mode":[1],"langSwitchOpen":[32],"toggleDropdown":[64]}]]],["post-logo",[[1,"post-logo"]]],["post-main-navigation",[[1,"post-main-navigation",{"activeFlyout":[32],"mobileMenuOpen":[32],"toggleDropdown":[64],"setFocus":[64],"setActiveFlyout":[64]}]]],["post-meta-navigation",[[1,"post-meta-navigation",{"orientation":[1],"fullWidth":[4,"full-width"]}]]],["post-
|
|
19
|
+
return bootstrapLazy([["swisspost-internet-header",[[1,"swisspost-internet-header",{"project":[1],"stickyness":[1],"language":[1],"meta":[4],"login":[4],"search":[4],"skiplinks":[4],"configProxy":[1,"config-proxy"],"environment":[1],"languageSwitchOverrides":[1,"language-switch-overrides"],"customConfig":[1,"custom-config"],"languageCookieKey":[1,"language-cookie-key"],"languageLocalStorageKey":[1,"language-local-storage-key"],"logoutUrl":[1,"logout-url"],"activeRoute":[8,"active-route"],"osFlyoutOverrides":[1,"os-flyout-overrides"],"fullWidth":[4,"full-width"],"activeFlyout":[32],"activeDropdownElement":[32],"isMainSlotEmpty":[32],"getCurrentLanguage":[64]},[[0,"languageChanged","handleLanguageChangeEvent"]],{"language":["handleLanguageChange"],"languageSwitchOverrides":["handleAvailableLanguagesChange"],"osFlyoutOverrides":["handleOsFlyoutOverrides"],"activeRoute":["handleActiveRouteChange"],"customConfig":["handleCustomConfigChange"],"search":["handleSearchChange"],"login":["handleLoginChange"],"meta":["handleMetaChange"],"stickyness":["handleStickynessChange"]}]]],["swisspost-internet-breadcrumbs",[[1,"swisspost-internet-breadcrumbs",{"customItems":[1,"custom-items"],"hideButtons":[4,"hide-buttons"],"customBreadcrumbItems":[32],"overlayVisible":[32],"isConcatenated":[32],"dropdownOpen":[32],"refsReady":[32],"toggleOverlayById":[64]},null,{"customItems":["handleCustomConfigChange"]}]]],["swisspost-internet-footer",[[1,"swisspost-internet-footer",{"liveSupportEnabled":[32],"cookieSettingsEnabled":[32]}]]],["post-search",[[1,"post-search",{"searchDropdownOpen":[32],"coveoSuggestions":[32],"placeSuggestions":[32],"parcelSuggestion":[32],"toggleDropdown":[64],"setFocus":[64]}]]],["post-klp-login-widget",[[1,"post-klp-login-widget",{"logoutUrl":[1,"logout-url"],"setFocus":[64]}]]],["post-language-switch",[[1,"post-language-switch",{"mode":[1],"langSwitchOpen":[32],"toggleDropdown":[64]}]]],["post-logo",[[1,"post-logo"]]],["post-main-navigation",[[1,"post-main-navigation",{"activeFlyout":[32],"mobileMenuOpen":[32],"toggleDropdown":[64],"setFocus":[64],"setActiveFlyout":[64]}]]],["post-meta-navigation",[[1,"post-meta-navigation",{"orientation":[1],"fullWidth":[4,"full-width"]}]]],["post-skiplinks",[[0,"post-skiplinks"]]],["focus-trap",[[4,"focus-trap",{"active":[4],"trap":[32]},null,{"active":["handleActiveChange"]}]]]], options);
|
|
20
20
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-607344a5.js";
|
|
2
|
+
/*!
|
|
3
|
+
* tabbable 6.2.0
|
|
4
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5
|
+
*/
|
|
6
|
+
var candidateSelectors=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"];var candidateSelector=candidateSelectors.join(",");var NoElement=typeof Element==="undefined";var matches=NoElement?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var getRootNode=!NoElement&&Element.prototype.getRootNode?function(e){var t;return e===null||e===void 0?void 0:(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e===null||e===void 0?void 0:e.ownerDocument};var isInert=function e(t,r){var n;if(r===void 0){r=true}var a=t===null||t===void 0?void 0:(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert");var i=a===""||a==="true";var o=i||r&&t&&e(t.parentNode);return o};var isContentEditable=function e(t){var r;var n=t===null||t===void 0?void 0:(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"};var getCandidates=function e(t,r,n){if(isInert(t)){return[]}var a=Array.prototype.slice.apply(t.querySelectorAll(candidateSelector));if(r&&matches.call(t,candidateSelector)){a.unshift(t)}a=a.filter(n);return a};var getCandidatesIteratively=function e(t,r,n){var a=[];var i=Array.from(t);while(i.length){var o=i.shift();if(isInert(o,false)){continue}if(o.tagName==="SLOT"){var u=o.assignedElements();var f=u.length?u:o.children;var s=e(f,true,n);if(n.flatten){a.push.apply(a,s)}else{a.push({scopeParent:o,candidates:s})}}else{var l=matches.call(o,candidateSelector);if(l&&n.filter(o)&&(r||!t.includes(o))){a.push(o)}var c=o.shadowRoot||typeof n.getShadowRoot==="function"&&n.getShadowRoot(o);var d=!isInert(c,false)&&(!n.shadowRootFilter||n.shadowRootFilter(o));if(c&&d){var v=e(c===true?o.children:c.children,true,n);if(n.flatten){a.push.apply(a,v)}else{a.push({scopeParent:o,candidates:v})}}else{i.unshift.apply(i,o.children)}}}return a};var hasTabIndex=function e(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))};var getTabIndex=function e(t){if(!t){throw new Error("No node provided")}if(t.tabIndex<0){if((/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||isContentEditable(t))&&!hasTabIndex(t)){return 0}}return t.tabIndex};var getSortOrderTabIndex=function e(t,r){var n=getTabIndex(t);if(n<0&&r&&!hasTabIndex(t)){return 0}return n};var sortOrderedTabbables=function e(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex};var isInput=function e(t){return t.tagName==="INPUT"};var isHiddenInput=function e(t){return isInput(t)&&t.type==="hidden"};var isDetailsWithSummary=function e(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some((function(e){return e.tagName==="SUMMARY"}));return r};var getCheckedRadio=function e(t,r){for(var n=0;n<t.length;n++){if(t[n].checked&&t[n].form===r){return t[n]}}};var isTabbableRadio=function e(t){if(!t.name){return true}var r=t.form||getRootNode(t);var n=function e(t){return r.querySelectorAll('input[type="radio"][name="'+t+'"]')};var a;if(typeof window!=="undefined"&&typeof window.CSS!=="undefined"&&typeof window.CSS.escape==="function"){a=n(window.CSS.escape(t.name))}else{try{a=n(t.name)}catch(e){console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message);return false}}var i=getCheckedRadio(a,t.form);return!i||i===t};var isRadio=function e(t){return isInput(t)&&t.type==="radio"};var isNonTabbableRadio=function e(t){return isRadio(t)&&!isTabbableRadio(t)};var isNodeAttached=function e(t){var r;var n=t&&getRootNode(t);var a=(r=n)===null||r===void 0?void 0:r.host;var i=false;if(n&&n!==t){var o,u,f;i=!!((o=a)!==null&&o!==void 0&&(u=o.ownerDocument)!==null&&u!==void 0&&u.contains(a)||t!==null&&t!==void 0&&(f=t.ownerDocument)!==null&&f!==void 0&&f.contains(t));while(!i&&a){var s,l,c;n=getRootNode(a);a=(s=n)===null||s===void 0?void 0:s.host;i=!!((l=a)!==null&&l!==void 0&&(c=l.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return i};var isZeroArea=function e(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0};var isHidden=function e(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden"){return true}var i=matches.call(t,"details>summary:first-of-type");var o=i?t.parentElement:t;if(matches.call(o,"details:not([open]) *")){return true}if(!n||n==="full"||n==="legacy-full"){if(typeof a==="function"){var u=t;while(t){var f=t.parentElement;var s=getRootNode(t);if(f&&!f.shadowRoot&&a(f)===true){return isZeroArea(t)}else if(t.assignedSlot){t=t.assignedSlot}else if(!f&&s!==t.ownerDocument){t=s.host}else{t=f}}t=u}if(isNodeAttached(t)){return!t.getClientRects().length}if(n!=="legacy-full"){return true}}else if(n==="non-zero-area"){return isZeroArea(t)}return false};var isDisabledFromFieldset=function e(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName)){var r=t.parentElement;while(r){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND"){return matches.call(r,"fieldset[disabled] *")?true:!a.contains(t)}}return true}r=r.parentElement}}return false};var isNodeMatchingSelectorFocusable=function e(t,r){if(r.disabled||isInert(r)||isHiddenInput(r)||isHidden(r,t)||isDetailsWithSummary(r)||isDisabledFromFieldset(r)){return false}return true};var isNodeMatchingSelectorTabbable=function e(t,r){if(isNonTabbableRadio(r)||getTabIndex(r)<0||!isNodeMatchingSelectorFocusable(t,r)){return false}return true};var isValidShadowRootTabbable=function e(t){var r=parseInt(t.getAttribute("tabindex"),10);if(isNaN(r)||r>=0){return true}return false};var sortByOrder=function e(t){var r=[];var n=[];t.forEach((function(t,a){var i=!!t.scopeParent;var o=i?t.scopeParent:t;var u=getSortOrderTabIndex(o,i);var f=i?e(t.candidates):o;if(u===0){i?r.push.apply(r,f):r.push(o)}else{n.push({documentOrder:a,tabIndex:u,item:t,isScope:i,content:f})}}));return n.sort(sortOrderedTabbables).reduce((function(e,t){t.isScope?e.push.apply(e,t.content):e.push(t.content);return e}),[]).concat(r)};var tabbable=function e(t,r){r=r||{};var n;if(r.getShadowRoot){n=getCandidatesIteratively([t],r.includeContainer,{filter:isNodeMatchingSelectorTabbable.bind(null,r),flatten:false,getShadowRoot:r.getShadowRoot,shadowRootFilter:isValidShadowRootTabbable})}else{n=getCandidates(t,r.includeContainer,isNodeMatchingSelectorTabbable.bind(null,r))}return sortByOrder(n)};var focusable=function e(t,r){r=r||{};var n;if(r.getShadowRoot){n=getCandidatesIteratively([t],r.includeContainer,{filter:isNodeMatchingSelectorFocusable.bind(null,r),flatten:true,getShadowRoot:r.getShadowRoot})}else{n=getCandidates(t,r.includeContainer,isNodeMatchingSelectorFocusable.bind(null,r))}return n};var isTabbable=function e(t,r){r=r||{};if(!t){throw new Error("No node provided")}if(matches.call(t,candidateSelector)===false){return false}return isNodeMatchingSelectorTabbable(r,t)};var focusableCandidateSelector=candidateSelectors.concat("iframe").join(",");var isFocusable=function e(t,r){r=r||{};if(!t){throw new Error("No node provided")}if(matches.call(t,focusableCandidateSelector)===false){return false}return isNodeMatchingSelectorFocusable(r,t)};
|
|
7
|
+
/*!
|
|
8
|
+
* focus-trap 7.5.4
|
|
9
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
10
|
+
*/function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){t=_toPropertyKey(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function _toPrimitive(e,t){if(typeof e!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if(typeof n!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return typeof t==="symbol"?t:String(t)}var activeFocusTraps={activateTrap:function e(t,r){if(t.length>0){var n=t[t.length-1];if(n!==r){n.pause()}}var a=t.indexOf(r);if(a===-1){t.push(r)}else{t.splice(a,1);t.push(r)}},deactivateTrap:function e(t,r){var n=t.indexOf(r);if(n!==-1){t.splice(n,1)}if(t.length>0){t[t.length-1].unpause()}}};var isSelectableInput=function e(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select==="function"};var isEscapeEvent=function e(t){return(t===null||t===void 0?void 0:t.key)==="Escape"||(t===null||t===void 0?void 0:t.key)==="Esc"||(t===null||t===void 0?void 0:t.keyCode)===27};var isTabEvent=function e(t){return(t===null||t===void 0?void 0:t.key)==="Tab"||(t===null||t===void 0?void 0:t.keyCode)===9};var isKeyForward=function e(t){return isTabEvent(t)&&!t.shiftKey};var isKeyBackward=function e(t){return isTabEvent(t)&&t.shiftKey};var delay=function e(t){return setTimeout(t,0)};var findIndex=function e(t,r){var n=-1;t.every((function(e,t){if(r(e)){n=t;return false}return true}));return n};var valueOrHandler=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++){n[a-1]=arguments[a]}return typeof t==="function"?t.apply(void 0,n):t};var getActualTarget=function e(t){return t.target.shadowRoot&&typeof t.composedPath==="function"?t.composedPath()[0]:t.target};var internalTrapStack=[];var createFocusTrap=function e(t,r){var n=(r===null||r===void 0?void 0:r.document)||document;var a=(r===null||r===void 0?void 0:r.trapStack)||internalTrapStack;var i=_objectSpread2({returnFocusOnDeactivate:true,escapeDeactivates:true,delayInitialFocus:true,isKeyForward:isKeyForward,isKeyBackward:isKeyBackward},r);var o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:false,paused:false,delayInitialFocusTimer:undefined,recentNavEvent:undefined};var u;var f=function e(t,r,n){return t&&t[r]!==undefined?t[r]:i[n||r]};var s=function e(t,r){var n=typeof(r===null||r===void 0?void 0:r.composedPath)==="function"?r.composedPath():undefined;return o.containerGroups.findIndex((function(e){var r=e.container,a=e.tabbableNodes;return r.contains(t)||(n===null||n===void 0?void 0:n.includes(r))||a.find((function(e){return e===t}))}))};var l=function e(t){var r=i[t];if(typeof r==="function"){for(var a=arguments.length,o=new Array(a>1?a-1:0),u=1;u<a;u++){o[u-1]=arguments[u]}r=r.apply(void 0,o)}if(r===true){r=undefined}if(!r){if(r===undefined||r===false){return r}throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var f=r;if(typeof r==="string"){f=n.querySelector(r);if(!f){throw new Error("`".concat(t,"` as selector refers to no known node"))}}return f};var c=function e(){var t=l("initialFocus");if(t===false){return false}if(t===undefined||!isFocusable(t,i.tabbableOptions)){if(s(n.activeElement)>=0){t=n.activeElement}else{var r=o.tabbableGroups[0];var a=r&&r.firstTabbableNode;t=a||l("fallbackFocus")}}if(!t){throw new Error("Your focus-trap needs to have at least one focusable element")}return t};var d=function e(){o.containerGroups=o.containers.map((function(e){var t=tabbable(e,i.tabbableOptions);var r=focusable(e,i.tabbableOptions);var n=t.length>0?t[0]:undefined;var a=t.length>0?t[t.length-1]:undefined;var o=r.find((function(e){return isTabbable(e)}));var u=r.slice().reverse().find((function(e){return isTabbable(e)}));var f=!!t.find((function(e){return getTabIndex(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:f,firstTabbableNode:n,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:u,nextTabbableNode:function e(n){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var i=t.indexOf(n);if(i<0){if(a){return r.slice(r.indexOf(n)+1).find((function(e){return isTabbable(e)}))}return r.slice(0,r.indexOf(n)).reverse().find((function(e){return isTabbable(e)}))}return t[i+(a?1:-1)]}}}));o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0}));if(o.tabbableGroups.length<=0&&!l("fallbackFocus")){throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")}if(o.containerGroups.find((function(e){return e.posTabIndexesFound}))&&o.containerGroups.length>1){throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}};var v=function e(t){var r=t.activeElement;if(!r){return}if(r.shadowRoot&&r.shadowRoot.activeElement!==null){return e(r.shadowRoot)}return r};var b=function e(t){if(t===false){return}if(t===v(document)){return}if(!t||!t.focus){e(c());return}t.focus({preventScroll:!!i.preventScroll});o.mostRecentlyFocusedNode=t;if(isSelectableInput(t)){t.select()}};var p=function e(t){var r=l("setReturnFocus",t);return r?r:r===false?false:t};var h=function e(t){var r=t.target,n=t.event,a=t.isBackward,u=a===void 0?false:a;r=r||getActualTarget(n);d();var f=null;if(o.tabbableGroups.length>0){var c=s(r,n);var v=c>=0?o.containerGroups[c]:undefined;if(c<0){if(u){f=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode}else{f=o.tabbableGroups[0].firstTabbableNode}}else if(u){var b=findIndex(o.tabbableGroups,(function(e){var t=e.firstTabbableNode;return r===t}));if(b<0&&(v.container===r||isFocusable(r,i.tabbableOptions)&&!isTabbable(r,i.tabbableOptions)&&!v.nextTabbableNode(r,false))){b=c}if(b>=0){var p=b===0?o.tabbableGroups.length-1:b-1;var h=o.tabbableGroups[p];f=getTabIndex(r)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else if(!isTabEvent(n)){f=v.nextTabbableNode(r,false)}}else{var T=findIndex(o.tabbableGroups,(function(e){var t=e.lastTabbableNode;return r===t}));if(T<0&&(v.container===r||isFocusable(r,i.tabbableOptions)&&!isTabbable(r,i.tabbableOptions)&&!v.nextTabbableNode(r))){T=c}if(T>=0){var y=T===o.tabbableGroups.length-1?0:T+1;var g=o.tabbableGroups[y];f=getTabIndex(r)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else if(!isTabEvent(n)){f=v.nextTabbableNode(r)}}}else{f=l("fallbackFocus")}return f};var T=function e(t){var r=getActualTarget(t);if(s(r,t)>=0){return}if(valueOrHandler(i.clickOutsideDeactivates,t)){u.deactivate({returnFocus:i.returnFocusOnDeactivate});return}if(valueOrHandler(i.allowOutsideClick,t)){return}t.preventDefault()};var y=function e(t){var r=getActualTarget(t);var n=s(r,t)>=0;if(n||r instanceof Document){if(n){o.mostRecentlyFocusedNode=r}}else{t.stopImmediatePropagation();var a;var u=true;if(o.mostRecentlyFocusedNode){if(getTabIndex(o.mostRecentlyFocusedNode)>0){var f=s(o.mostRecentlyFocusedNode);var l=o.containerGroups[f].tabbableNodes;if(l.length>0){var d=l.findIndex((function(e){return e===o.mostRecentlyFocusedNode}));if(d>=0){if(i.isKeyForward(o.recentNavEvent)){if(d+1<l.length){a=l[d+1];u=false}}else{if(d-1>=0){a=l[d-1];u=false}}}}}else{if(!o.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return getTabIndex(e)>0}))}))){u=false}}}else{u=false}if(u){a=h({target:o.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(o.recentNavEvent)})}if(a){b(a)}else{b(o.mostRecentlyFocusedNode||c())}}o.recentNavEvent=undefined};var g=function e(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;o.recentNavEvent=t;var n=h({event:t,isBackward:r});if(n){if(isTabEvent(t)){t.preventDefault()}b(n)}};var w=function e(t){if(isEscapeEvent(t)&&valueOrHandler(i.escapeDeactivates,t)!==false){t.preventDefault();u.deactivate();return}if(i.isKeyForward(t)||i.isKeyBackward(t)){g(t,i.isKeyBackward(t))}};var m=function e(t){var r=getActualTarget(t);if(s(r,t)>=0){return}if(valueOrHandler(i.clickOutsideDeactivates,t)){return}if(valueOrHandler(i.allowOutsideClick,t)){return}t.preventDefault();t.stopImmediatePropagation()};var S=function e(){if(!o.active){return}activeFocusTraps.activateTrap(a,u);o.delayInitialFocusTimer=i.delayInitialFocus?delay((function(){b(c())})):b(c());n.addEventListener("focusin",y,true);n.addEventListener("mousedown",T,{capture:true,passive:false});n.addEventListener("touchstart",T,{capture:true,passive:false});n.addEventListener("click",m,{capture:true,passive:false});n.addEventListener("keydown",w,{capture:true,passive:false});return u};var E=function e(){if(!o.active){return}n.removeEventListener("focusin",y,true);n.removeEventListener("mousedown",T,true);n.removeEventListener("touchstart",T,true);n.removeEventListener("click",m,true);n.removeEventListener("keydown",w,true);return u};var I=function e(t){var r=t.some((function(e){var t=Array.from(e.removedNodes);return t.some((function(e){return e===o.mostRecentlyFocusedNode}))}));if(r){b(c())}};var F=typeof window!=="undefined"&&"MutationObserver"in window?new MutationObserver(I):undefined;var N=function e(){if(!F){return}F.disconnect();if(o.active&&!o.paused){o.containers.map((function(e){F.observe(e,{subtree:true,childList:true})}))}};u={get active(){return o.active},get paused(){return o.paused},activate:function e(t){if(o.active){return this}var r=f(t,"onActivate");var a=f(t,"onPostActivate");var i=f(t,"checkCanFocusTrap");if(!i){d()}o.active=true;o.paused=false;o.nodeFocusedBeforeActivation=n.activeElement;r===null||r===void 0||r();var u=function e(){if(i){d()}S();N();a===null||a===void 0||a()};if(i){i(o.containers.concat()).then(u,u);return this}u();return this},deactivate:function e(t){if(!o.active){return this}var r=_objectSpread2({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},t);clearTimeout(o.delayInitialFocusTimer);o.delayInitialFocusTimer=undefined;E();o.active=false;o.paused=false;N();activeFocusTraps.deactivateTrap(a,u);var n=f(r,"onDeactivate");var s=f(r,"onPostDeactivate");var l=f(r,"checkCanReturnFocus");var c=f(r,"returnFocus","returnFocusOnDeactivate");n===null||n===void 0||n();var d=function e(){delay((function(){if(c){b(p(o.nodeFocusedBeforeActivation))}s===null||s===void 0||s()}))};if(c&&l){l(p(o.nodeFocusedBeforeActivation)).then(d,d);return this}d();return this},pause:function e(t){if(o.paused||!o.active){return this}var r=f(t,"onPause");var n=f(t,"onPostPause");o.paused=true;r===null||r===void 0||r();E();N();n===null||n===void 0||n();return this},unpause:function e(t){if(!o.paused||!o.active){return this}var r=f(t,"onUnpause");var n=f(t,"onPostUnpause");o.paused=false;r===null||r===void 0||r();d();S();N();n===null||n===void 0||n();return this},updateContainerElements:function e(t){var r=[].concat(t).filter(Boolean);o.containers=r.map((function(e){return typeof e==="string"?n.querySelector(e):e}));if(o.active){d()}N();return this}};u.updateContainerElements(t);return u};var FocusTrap=function(){function e(e){registerInstance(this,e);this.active=false;this.trap=undefined}e.prototype.handleActiveChange=function(e){this.toggleTrap(e)};e.prototype.connectedCallback=function(){var e;if(!this.trap){this.trap=createFocusTrap((e=this.host)===null||e===void 0?void 0:e.firstElementChild,{allowOutsideClick:true})}};e.prototype.componentDidLoad=function(){this.toggleTrap(this.active)};e.prototype.disconnectedCallback=function(){var e;(e=this.trap)===null||e===void 0?void 0:e.deactivate()};e.prototype.toggleTrap=function(e){var t,r;if(e){(t=this.trap)===null||t===void 0?void 0:t.activate()}else{(r=this.trap)===null||r===void 0?void 0:r.deactivate()}};e.prototype.render=function(){return h(Host,{key:"40e6912cae0ae3e92b46cf4d251e1b1a47320d0f"},h("slot",{key:"39fe2c6ad0e0b419090ac8270840a83e49c286cf"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return e}();export{FocusTrap as focus_trap};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))e[a]=r[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?t(e.value):a(e.value).then(i,s)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(r){return l([e,r])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(t=0)),t)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++){if(o||!(n in r)){if(!o)o=Array.prototype.slice.call(r,0,n);o[n]=r[n]}}return e.concat(o||Array.prototype.slice.call(r))};var NAMESPACE="swisspost-internet-header";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:true,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:false,propString:true,reflect:false,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var o=null;var i=null;var s=false;var l=false;var u=[];var f=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(s&&l){u[u.length-1].t+=a}else{u.push(s?newVNode(null,a):a)}l=s}}};f(t);if(r){if(r.key){o=r.key}if(r.name){i=r.name}{var c=r.className||r.class;if(c){r.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,u,vdomFnUtils)}var v=newVNode(e,null);v.o=r;if(u.length>0){v.i=u}{v.l=o}{v.u=i}return v};var newVNode=function(e,r){var t={v:0,p:e,t:r,m:null,i:null};{t.o=null}{t.l=null}{t.u=null}return t};var Host={};var isHost=function(e){return e&&e.p===Host};var vdomFnUtils={forEach:function(e,r){return e.map(convertToPublic).forEach(r)},map:function(e,r){return e.map(convertToPublic).map(r).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.i,vkey:e.l,vname:e.u,vtag:e.p,vtext:e.t}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var r=__assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=newVNode(e.vtag,e.vtext);t.o=e.vattrs;t.i=e.vchildren;t.l=e.vkey;t.u=e.vname;return t};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var a=getScopeId(r);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(a)){{s=doc.createElement("style");s.innerHTML=o;var l=(n=plt.h)!=null?n:queryNonceMetaTagContent(doc);if(l!=null){s.setAttribute("nonce",l)}e.insertBefore(s,e.querySelector("link"))}if(r.v&4){s.innerHTML+=SLOT_FB_CSS}if(i){i.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var r=e.S;var t=e.$hostElement$;var n=r.v;var a=createTime("attachStyles",r.C);var o=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=o;t.classList.add(o+"-h")}a()};var getScopeId=function(e,r){return"sc-"+e.C};var setAccessor=function(e,r,t,n,a,o){if(t!==n){var i=isMemberInElement(e,r);var s=r.toLowerCase();if(r==="class"){var l=e.classList;var u=parseClassList(t);var f=parseClassList(n);l.remove.apply(l,u.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!u.includes(e)})))}else if(r==="style"){{for(var c in t){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!t||n[c]!==t[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!i&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,s)){r=s.slice(2)}else{r=s[2]+r.slice(3)}if(t||n){var v=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,v)}if(n){plt.ael(e,r,n,v)}}}else{var d=isComplexType(n);if((i||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(r==="list"){i=false}else if(t==null||e[r]!=p){e[r]=p}}else{e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!i||o&4||a)&&!d){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t){var n=r.m.nodeType===11&&r.m.host?r.m.host:r.m;var a=e&&e.o||EMPTY_OBJ;var o=r.o||EMPTY_OBJ;{for(var i=0,s=sortedAttrNames(Object.keys(a));i<s.length;i++){var l=s[i];if(!(l in o)){setAccessor(n,l,a[l],void 0,t,r.v)}}}for(var u=0,f=sortedAttrNames(Object.keys(o));u<f.length;u++){var l=f[u];setAccessor(n,l,a[l],o[l],t,r.v)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,r,t,n){var a;var o=r.i[t];var i=0;var s;var l;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(o.p==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}o.v|=o.i?2:1}}if(o.t!==null){s=o.m=doc.createTextNode(o.t)}else if(o.v&1){s=o.m=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=o.p==="svg"}s=o.m=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,o.v&2?"slot-fb":o.p);if(isSvgMode&&o.p==="foreignObject"){isSvgMode=false}{updateElement(null,o,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(o.i){for(i=0;i<o.i.length;++i){l=createElm(e,o,i,s);if(l){s.appendChild(l)}}}{if(o.p==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}s["s-hn"]=hostTagName;{if(o.v&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=o.u||"";s["s-rf"]=(a=o.o)==null?void 0:a.ref;u=e&&e.i&&e.i[t];if(u&&u.p===o.p&&e.m){{putBackInOriginalLocation(e.m,false)}}}}return s};var putBackInOriginalLocation=function(e,r){plt.v|=1;var t=Array.from(e.childNodes);if(e["s-sr"]&&BUILD.experimentalSlotFixes){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){t.push(n)}}}for(var a=t.length-1;a>=0;a--){var o=t[a];if(o["s-hn"]!==hostTagName&&o["s-ol"]){insertBefore(parentReferenceNode(o),o,referenceNode(o));o["s-ol"].remove();o["s-ol"]=void 0;o["s-sh"]=void 0;checkSlotRelocate=true}if(r){putBackInOriginalLocation(o,r)}}plt.v&=~1};var addVnodes=function(e,r,t,n,a,o){var i=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;a<=o;++a){if(n[a]){s=createElm(null,t,a,e);if(s){n[a].m=s;insertBefore(i,s,referenceNode(r))}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var o=a.m;nullifyVNodeRefs(a);if(o){{checkSlotFallbackVisibility=true;if(o["s-ol"]){o["s-ol"].remove()}else{putBackInOriginalLocation(o,true)}}o.remove()}}}};var updateChildren=function(e,r,t,n,a){if(a===void 0){a=false}var o=0;var i=0;var s=0;var l=0;var u=r.length-1;var f=r[0];var c=r[u];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(o<=u&&i<=v){if(f==null){f=r[++o]}else if(c==null){c=r[--u]}else if(d==null){d=n[++i]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=r[++o];d=n[++i]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=r[--u];p=n[--v]}else if(isSameVnode(f,p,a)){if(f.p==="slot"||p.p==="slot"){putBackInOriginalLocation(f.m.parentNode,false)}patch(f,p,a);insertBefore(e,f.m,c.m.nextSibling);f=r[++o];p=n[--v]}else if(isSameVnode(c,d,a)){if(f.p==="slot"||p.p==="slot"){putBackInOriginalLocation(c.m.parentNode,false)}patch(c,d,a);insertBefore(e,c.m,f.m);c=r[--u];d=n[++i]}else{s=-1;{for(l=o;l<=u;++l){if(r[l]&&r[l].l!==null&&r[l].l===d.l){s=l;break}}}if(s>=0){h=r[s];if(h.p!==d.p){m=createElm(r&&r[i],t,s,e)}else{patch(h,d,a);r[s]=void 0;m=h.m}d=n[++i]}else{m=createElm(r&&r[i],t,i,e);d=n[++i]}if(m){{insertBefore(parentReferenceNode(f.m),m,referenceNode(f.m))}}}}if(o>u){addVnodes(e,n[v+1]==null?null:n[v+1].m,t,n,i,v)}else if(i>v){removeVnodes(r,o,u)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.p===r.p){if(e.p==="slot"){return e.u===r.u}if(!t){return e.l===r.l}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.m=e.m;var a=e.i;var o=r.i;var i=r.p;var s=r.t;var l;if(s===null){{isSvgMode=i==="svg"?true:i==="foreignObject"?false:isSvgMode}{if(i==="slot"&&!useNativeShadowDom);else{updateElement(e,r,isSvgMode)}}if(a!==null&&o!==null){updateChildren(n,a,r,o,t)}else if(o!==null){if(e.t!==null){n.textContent=""}addVnodes(n,null,r,o,0,o.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&i==="svg"){isSvgMode=false}}else if(l=n["s-cr"]){l.parentNode.textContent=s}else if(e.t!==s){n.data=s}};var updateFallbackSlotVisibility=function(e){var r=e.childNodes;for(var t=0,n=r;t<n.length;t++){var a=n[t];if(a.nodeType===1){if(a["s-sr"]){var o=a["s-sn"];a.hidden=false;for(var i=0,s=r;i<s.length;i++){var l=s[i];if(l!==a){if(l["s-hn"]!==a["s-hn"]||o!==""){if(l.nodeType===1&&(o===l.getAttribute("slot")||o===l["s-sn"])||l.nodeType===3&&o===l["s-sn"]){a.hidden=true;break}}else{if(l.nodeType===1||l.nodeType===3&&l.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var r;var t;var n;for(var a=0,o=e.childNodes;a<o.length;a++){var i=o[a];if(i["s-sr"]&&(r=i["s-cr"])&&r.parentNode){t=r.parentNode.childNodes;var s=i["s-sn"];var l=function(){r=t[n];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==i["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(r,s)){var e=relocateNodes.find((function(e){return e._===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||s;if(e){e._["s-sh"]=i["s-hn"];e.k=i}else{r["s-sh"]=i["s-hn"];relocateNodes.push({k:i,_:r})}if(r["s-sr"]){relocateNodes.map((function(t){if(isNodeLocatedInSlot(t._,r["s-sn"])){e=relocateNodes.find((function(e){return e._===r}));if(e&&!t.k){t.k=e.k}}}))}}else if(!relocateNodes.some((function(e){return e._===r}))){relocateNodes.push({_:r})}}};for(n=t.length-1;n>=0;n--){l()}}if(i.nodeType===1){markSlotContentForRelocation(i)}}};var isNodeLocatedInSlot=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.i&&e.i.map(nullifyVNodeRefs)}};var insertBefore=function(e,r,t){var n=e==null?void 0:e.insertBefore(r,t);return n};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n,a,o,i;var s=e.$hostElement$;var l=e.S;var u=e.T||newVNode(null,null);var f=isHost(r)?r:h(null,null,r);hostTagName=s.tagName;if(t&&f.o){for(var c=0,v=Object.keys(f.o);c<v.length;c++){var d=v[c];if(s.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){f.o[d]=s[d]}}}f.p=null;f.v|=4;e.T=f;f.m=u.m=s.shadowRoot||s;{scopeId=s["s-sc"]}useNativeShadowDom=(l.v&1)!==0;{contentRef=s["s-cr"];checkSlotFallbackVisibility=false}patch(u,f,t);{plt.v|=1;if(checkSlotRelocate){markSlotContentForRelocation(f.m);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var g=y._;if(!g["s-ol"]){var S=doc.createTextNode("");S["s-nr"]=g;insertBefore(g.parentNode,g["s-ol"]=S,g)}}for(var b=0,w=relocateNodes;b<w.length;b++){var y=w[b];var g=y._;var E=y.k;if(E){var C=E.parentNode;var _=E.nextSibling;{var S=(n=g["s-ol"])==null?void 0:n.previousSibling;while(S){var k=(a=S["s-nr"])!=null?a:null;if(k&&k["s-sn"]===g["s-sn"]&&C===k.parentNode){k=k.nextSibling;while(k===g||(k==null?void 0:k["s-sr"])){k=k==null?void 0:k.nextSibling}if(!k||!k["s-nr"]){_=k;break}}S=S.previousSibling}}if(!_&&C!==g.parentNode||g.nextSibling!==_){if(g!==_){if(!g["s-hn"]&&g["s-ol"]){g["s-hn"]=g["s-ol"].parentNode.nodeName}insertBefore(C,g,_);if(g.nodeType===1){g.hidden=(o=g["s-ih"])!=null?o:false}}}g&&typeof E["s-rf"]==="function"&&E["s-rf"](g)}else{if(g.nodeType===1){if(t){g["s-ih"]=(i=g.hidden)!=null?i:false}g.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(f.m)}plt.v&=~1;relocateNodes.length=0}contentRef=void 0};var attachToAncestor=function(e,r){if(r&&!e.R&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.R=r})))}};var scheduleUpdate=function(e,r){{e.v|=16}if(e.v&4){e.v|=512;return}attachToAncestor(e,e.N);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.S.C);var a=e.L;if(!a){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var o;if(r){{e.v|=256;if(e.M){e.M.map((function(e){var r=e[0],t=e[1];return safeCall(a,r,t)}));e.M=void 0}}{o=safeCall(a,"componentWillLoad")}}else{{o=safeCall(a,"componentWillUpdate")}}n();return enqueue(o,(function(){return updateComponent(e,a,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,i,s,l,u;return __generator(this,(function(f){a=e.$hostElement$;o=createTime("update",e.S.C);i=a["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.S.C);{callRender(e,r,a,t)}if(i){i.map((function(e){return e()}));a["s-rc"]=void 0}s();o();{l=(n=a["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(l.length===0){u()}else{Promise.all(l).then(u);e.v|=4;l.length=0}}return[2]}))}))};var renderingRef=null;var callRender=function(e,r,t,n){try{renderingRef=r;r=r.render();{e.v&=~16}{e.v|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}renderingRef=null;return null};var getRenderingRef=function(){return renderingRef};var postUpdateComponent=function(e){var r=e.S.C;var t=e.$hostElement$;var n=createTime("postUpdate",r);var a=e.L;var o=e.N;if(!(e.v&64)){e.v|=64;{addHydratedFlag(t)}{safeCall(a,"componentDidLoad")}n();{e.A(t);if(!o){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.V(t)}{if(e.R){e.R();e.R=void 0}if(e.v&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.v&=~(4|512)}};var forceUpdate=function(e){{var r=getHostRef(e);var t=r.$hostElement$.isConnected;if(t&&(r.v&(2|16))===2){scheduleUpdate(r,false)}return t}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e)}}return void 0};var addHydratedFlag=function(e){var r;return e.classList.add((r=BUILD.hydratedSelectorName)!=null?r:"hydrated")};var getValue=function(e,r){return getHostRef(e).O.get(r)};var setValue=function(e,r,t,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.C,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var o=a.$hostElement$;var i=a.O.get(r);var s=a.v;var l=a.L;t=parsePropertyValue(t,n.P[r][0]);var u=Number.isNaN(i)&&Number.isNaN(t);var f=t!==i&&!u;if((!(s&8)||i===void 0)&&f){a.O.set(r,t);if(l){if(n.D&&s&128){var c=n.D[r];if(c){c.map((function(e){try{l[e](t,i,r)}catch(e){consoleError(e,o)}}))}}if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,r,t){var n;var a=e.prototype;if(r.P){if(e.watchers){r.D=e.watchers}var o=Object.entries(r.P);o.map((function(e){var n=e[0],o=e[1][0];if(o&31||t&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,r)},configurable:true,enumerable:true})}else if(t&1&&o&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var a=getHostRef(this);return(t=a==null?void 0:a.j)==null?void 0:t.then((function(){var r;return(r=a.L)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var o=this;plt.jmp((function(){var s;var l=i.get(e);if(o.hasOwnProperty(l)){n=o[l];delete o[l]}else if(a.hasOwnProperty(l)&&typeof o[l]==="number"&&o[l]==n){return}else if(l==null){var u=getHostRef(o);var f=u==null?void 0:u.v;if(f&&!(f&8)&&f&128&&n!==t){var c=u.L;var v=(s=r.D)==null?void 0:s[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}o[l]=n===null&&typeof o[l]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=r.D)!=null?n:{}),true),o.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var r=e[0],t=e[1];var n=t[1]||r;i.set(n,r);return n})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,i,s,l,u,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.v&32)===0))return[3,6];r.v|=32;a=t.$;if(!a)return[3,4];o=loadModule(t);if(!(o&&"then"in o))return[3,2];i=uniqueTime();return[4,o];case 1:n=p.sent();i();return[3,3];case 2:n=o;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.C,"#").concat(r.F,'" was not found'))}if(!n.isProxied){{t.D=n.watchers}proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.C);{r.v|=8}try{new n(r)}catch(e){consoleError(e)}{r.v&=~8}{r.v|=128}s();fireConnectedCallback(r.L);return[3,5];case 4:n=e.constructor;l=e.localName;customElements.whenDefined(l).then((function(){return r.v|=128}));p.label=5;case 5:if(n&&n.style){u=n.style;f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.C);registerStyle(f,u,!!(t.v&1));c()}}p.label=6;case 6:v=r.N;d=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.v&1)===0){var r=getHostRef(e);var t=r.S;var n=createTime("connectedCallback",t.C);if(!(r.v&1)){r.v|=1;{if(t.v&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(r,r.N=a);break}}}if(t.P){Object.entries(t.P).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{initializeComponent(e,r,t)}}else{addHostEventListeners(e,r,t.I);if(r==null?void 0:r.L){fireConnectedCallback(r.L)}else if(r==null?void 0:r.U){r.U.then((function(){return fireConnectedCallback(r.L)}))}}n()}};var setContentReference=function(e){var r=e["s-cr"]=doc.createComment("");r["s-cn"]=true;insertBefore(e,r,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.v&1)===0){r=getHostRef(e);{if(r.H){r.H.map((function(e){return e()}));r.H=void 0}}if(r==null?void 0:r.L){disconnectInstance(r.L)}else if(r==null?void 0:r.U){r.U.then((function(){return disconnectInstance(r.L)}))}}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;var n=createTime();var a=[];var o=r.exclude||[];var i=win.customElements;var s=doc.head;var l=s.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt.B=new URL(r.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t;var n={v:r[0],C:r[1],P:r[2],I:r[3]};if(n.v&4){d=true}{n.P=r[2]}{n.I=r[3]}{n.D=(t=r[4])!=null?t:{}}var s=n.C;var l=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;registerHost(r,n);if(n.v&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};r.prototype.componentOnReady=function(){return getHostRef(this).U};return r}(HTMLElement);n.$=e[0];if(!o.includes(s)&&!i.get(s)){a.push(s);i.define(s,proxyComponent(l,n,1))}}))}));if(a.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=a+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var p=(t=plt.h)!=null?t:queryNonceMetaTagContent(doc);if(p!=null){u.setAttribute("nonce",p)}s.insertBefore(u,l?l.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],a=t[1],o=t[2];var i=e;var s=hostListenerProxy(r,o);var l=hostListenerOpts(n);plt.ael(i,a,s,l);(r.H=r.H||[]).push((function(){return plt.rel(i,a,s,l)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.v&256){(n=e.L)==null?void 0:n[r](t)}else{(e.M=e.M||[]).push([r,t])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.h=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,r){return hostRefs.set(r.L=e,r)};var registerHost=function(e,r){var t={v:0,$hostElement$:e,S:r,O:new Map};{t.j=new Promise((function(e){return t.V=e}))}{t.U=new Promise((function(e){return t.A=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,t,r.I);return hostRefs.set(e,t)};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.C.replace(/-/g,"_");var a=e.$;if(!a){return void 0}var o=cmpModules.get(a);if(o){return o[n]}if(!t||!BUILD.hotModuleReplacement){var i=function(e){cmpModules.set(a,e);return e[n]};switch(a){case"swisspost-internet-header":return import("./swisspost-internet-header.entry.js").then(i,consoleError);case"swisspost-internet-breadcrumbs":return import("./swisspost-internet-breadcrumbs.entry.js").then(i,consoleError);case"swisspost-internet-footer":return import("./swisspost-internet-footer.entry.js").then(i,consoleError);case"post-klp-login-widget":return import("./post-klp-login-widget.entry.js").then(i,consoleError);case"post-language-switch":return import("./post-language-switch.entry.js").then(i,consoleError);case"post-logo":return import("./post-logo.entry.js").then(i,consoleError);case"post-main-navigation":return import("./post-main-navigation.entry.js").then(i,consoleError);case"post-meta-navigation":return import("./post-meta-navigation.entry.js").then(i,consoleError);case"post-search":return import("./post-search.entry.js").then(i,consoleError);case"post-skiplinks":return import("./post-skiplinks.entry.js").then(i,consoleError);case"focus-trap":return import("./focus-trap.entry.js").then(i,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={v:0,B:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.v&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,getRenderingRef as a,bootstrapLazy as b,createEvent as c,forceUpdate as f,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as PostInternetHeader}from"./post-internet-header-
|
|
1
|
+
export{P as PostInternetHeader}from"./post-internet-header-8279d078.js";export{P as PostInternetBreadcrumbs}from"./post-internet-breadcrumbs-d7f7f87f.js";export{P as PostInternetFooter}from"./post-internet-footer-b4161a6c.js";export{P as PostSkiplinks}from"./post-skiplinks-814427b2.js";export{P as PostMetaNavigation}from"./post-meta-navigation-895bef11.js";export{P as PostLanguageSwitch}from"./post-language-switch-85afcb97.js";export{P as PostLogo}from"./post-logo-6ea4c487.js";export{P as PostMainNavigation}from"./post-main-navigation-9d539ab7.js";export{P as PostSearch}from"./post-search-6e306c06.js";export{P as PostKlpLoginWidget}from"./post-klp-login-widget-58d9e3e2.js";import"./index-607344a5.js";import"./index-d2256e06.js";import"./language.service-2df27b6a.js";import"./store-59bf455d.js";import"./utils-c8805f81.js";import"./svg-sprite.component-6c834657.js";import"./svg-icon.component-8b45252e.js";import"./if.component-d88d9e48.js";import"./bodyScrollLock.esm-afcc00e3.js";import"./ui.service-22f2c593.js";
|