@postnord/pn-marketweb-components 2.8.6 → 2.8.8
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/cjs/{index-820d92a8.js → index-2e97451f.js} +1 -1
- package/cjs/{index-6d18c5e9.js → index-b3b6d3c1.js} +4 -2
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +1 -1
- package/cjs/pn-chart.cjs.entry.js +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +1 -7
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-price-store-e05a9145.js → pn-find-price-store-dca982f0.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +3 -3
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-3ffe0634.js → pn-find-service-and-price-store-9b8e28fe.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
- package/cjs/pn-line-shape.cjs.entry.js +1 -1
- package/cjs/pn-link-list.cjs.entry.js +2 -3
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-96e66f69.js → pn-mainnav-store-03d31f7e.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
- package/cjs/{pn-marketweb-siteheader-store-ccf82b09.js → pn-marketweb-siteheader-store-22b4d42d.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
- package/cjs/pn-media-block.cjs.entry.js +1 -1
- package/cjs/pn-multi-formfield.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
- package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
- package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
- package/cjs/pn-product-tile.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
- package/cjs/{pn-profile-modal-store-14bc937f.js → pn-profile-modal-store-6f83ea6b.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
- package/cjs/pn-profile-modal.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +2 -2
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +1 -1
- package/cjs/pn-share-item.cjs.entry.js +1 -1
- package/cjs/pn-share.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
- package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
- package/cjs/{pn-sidenav-store-d3f7bdfa.js → pn-sidenav-store-846a26c6.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
- package/cjs/pn-stats-info.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +1 -1
- package/cjs/pn-titletag.cjs.entry.js +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +36 -0
- package/collection/collection-manifest.json +2 -1
- package/collection/components/cta/pn-cta-block/pn-cta-block.js +0 -12
- package/collection/components/widgets/pn-link-list/pn-link-list.css +5 -3
- package/collection/components/widgets/pn-link-list/pn-link-list.js +4 -5
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +219 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +166 -0
- package/collection/components/widgets/pn-usp-promoter/usp-promoter.stories.js +183 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/pn-cta-block.js +1 -9
- package/components/pn-link-list.js +2 -3
- package/components/pn-usp-promoter.d.ts +11 -0
- package/components/pn-usp-promoter.js +58 -0
- package/esm/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm/{index-70664d8e.js → index-6e611ed9.js} +4 -2
- package/esm/loader.js +3 -3
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-animated-tile.entry.js +1 -1
- package/esm/pn-app-banner.entry.js +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-breakpoints.entry.js +1 -1
- package/esm/pn-chart.entry.js +1 -1
- package/esm/pn-charts-card.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-cta-block.entry.js +1 -7
- package/esm/pn-customernumber-selector-option.entry.js +1 -1
- package/esm/pn-customernumber-selector.entry.js +1 -1
- package/esm/pn-date-and-time.entry.js +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +3 -3
- package/esm/{pn-find-price-store-0835039f.js → pn-find-price-store-3577991d.js} +1 -1
- package/esm/pn-find-price.entry.js +3 -3
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +4 -4
- package/esm/pn-line-shape.entry.js +1 -1
- package/esm/pn-link-list.entry.js +2 -3
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.js} +1 -1
- package/esm/pn-market-web-components.js +3 -3
- package/esm/pn-marketweb-input.entry.js +1 -1
- package/esm/pn-marketweb-search.entry.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +3 -3
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
- package/esm/{pn-marketweb-siteheader-store-de85e557.js → pn-marketweb-siteheader-store-f31ee409.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +3 -3
- package/esm/pn-media-block.entry.js +1 -1
- package/esm/pn-multi-formfield.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm/pn-multiple-input.entry.js +1 -1
- package/esm/pn-parcel-tracker.entry.js +1 -1
- package/esm/pn-pex-pricefinder.entry.js +1 -1
- package/esm/pn-play-on-scroll.entry.js +1 -1
- package/esm/pn-product-card_3.entry.js +1 -1
- package/esm/pn-product-pricelist-result.entry.js +2 -2
- package/esm/pn-product-pricelist.entry.js +3 -3
- package/esm/pn-product-tile-info_2.entry.js +1 -1
- package/esm/pn-product-tile.entry.js +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm/pn-profile-modal-profile.entry.js +3 -3
- package/esm/{pn-profile-modal-store-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm/pn-profile-modal-type.entry.js +3 -3
- package/esm/pn-profile-modal.entry.js +3 -3
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.entry.js +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +2 -2
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm/pn-proxio-productcard_4.entry.js +1 -1
- package/esm/pn-quick-cta.entry.js +1 -1
- package/esm/pn-quote-card.entry.js +1 -1
- package/esm/pn-scroll_2.entry.js +1 -1
- package/esm/pn-share-item.entry.js +1 -1
- package/esm/pn-share.entry.js +1 -1
- package/esm/pn-sidenav-level.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/{pn-sidenav-store-e667e8ea.js → pn-sidenav-store-c4d92fd2.js} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +3 -3
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm/pn-spotlight.entry.js +1 -1
- package/esm/pn-stats-info-data.entry.js +1 -1
- package/esm/pn-stats-info.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js +1 -1
- package/esm/pn-titletag.entry.js +1 -1
- package/esm/pn-usp-promoter.entry.js +32 -0
- package/esm-es5/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm-es5/{index-70664d8e.js → index-6e611ed9.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-address-autofill.entry.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-app-banner.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +1 -1
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-cta-block.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-date-and-time.entry.js +1 -1
- package/esm-es5/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-0835039f.js → pn-find-price-store-3577991d.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-link-list.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-f31ee409.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-media-block.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm-es5/pn-multiple-input.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-play-on-scroll.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-scroll_2.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-e667e8ea.js → pn-sidenav-store-c4d92fd2.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_3.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/esm-es5/pn-usp-promoter.entry.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/{p-e356a2cf.system.entry.js → p-02dba6d3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3d2ac1f6.system.entry.js → p-03593c2c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e4b979c.entry.js → p-03981c36.entry.js} +1 -1
- package/pn-market-web-components/{p-e2f1add7.system.js → p-03f5acf3.system.js} +1 -1
- package/pn-market-web-components/{p-3cc00541.entry.js → p-07c04e4a.entry.js} +1 -1
- package/pn-market-web-components/{p-94ce23b4.system.js → p-0cb0317e.system.js} +1 -1
- package/pn-market-web-components/{p-96b7535f.entry.js → p-0ddc464c.entry.js} +1 -1
- package/pn-market-web-components/{p-4ef22c01.system.entry.js → p-16bb93bf.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8bdad77d.system.entry.js → p-16f566e4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e142421.entry.js → p-17e04222.entry.js} +1 -1
- package/pn-market-web-components/{p-fec6a09c.entry.js → p-1aa2008f.entry.js} +1 -1
- package/pn-market-web-components/{p-b8d4a319.system.entry.js → p-1c43dc8d.system.entry.js} +1 -1
- package/pn-market-web-components/p-1caef6e7.js +1 -0
- package/pn-market-web-components/p-1cd40ab8.js +1 -0
- package/pn-market-web-components/{p-a21e99fa.system.entry.js → p-1cfc9d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2bc0fbd6.entry.js → p-1d088d9c.entry.js} +1 -1
- package/pn-market-web-components/{p-6fd874c0.entry.js → p-1d84acae.entry.js} +1 -1
- package/pn-market-web-components/{p-eb702bcd.system.js → p-20f09ba2.system.js} +1 -1
- package/pn-market-web-components/{p-92ebab4a.entry.js → p-21c6ed35.entry.js} +1 -1
- package/pn-market-web-components/{p-6f07da13.entry.js → p-24c54547.entry.js} +1 -1
- package/pn-market-web-components/{p-54ae554a.entry.js → p-250b0083.entry.js} +1 -1
- package/pn-market-web-components/{p-d435617c.system.entry.js → p-2b374219.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3dad0ce4.entry.js → p-2c29062d.entry.js} +1 -1
- package/pn-market-web-components/{p-62603a41.system.entry.js → p-2ea64615.system.entry.js} +1 -1
- package/pn-market-web-components/{p-586991f8.system.entry.js → p-2ed45e96.system.entry.js} +1 -1
- package/pn-market-web-components/{p-85d8ccbd.system.entry.js → p-3076020a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a69bd189.system.entry.js → p-326d13ca.system.entry.js} +1 -1
- package/pn-market-web-components/p-326d57d0.entry.js +1 -0
- package/pn-market-web-components/p-346c3772.system.entry.js +1 -0
- package/pn-market-web-components/{p-d1f90b53.system.entry.js → p-3542525e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8986f45e.system.entry.js → p-376b860e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-20a08e7a.entry.js → p-38b16c1a.entry.js} +1 -1
- package/pn-market-web-components/p-3a08bb08.entry.js +1 -0
- package/pn-market-web-components/{p-35a4aa56.entry.js → p-3b5df6ae.entry.js} +1 -1
- package/pn-market-web-components/{p-c4ec9a7f.entry.js → p-3f96b45f.entry.js} +1 -1
- package/pn-market-web-components/{p-52c91186.system.entry.js → p-404703bc.system.entry.js} +1 -1
- package/pn-market-web-components/p-40fc893a.js +1 -0
- package/pn-market-web-components/{p-1165f7d0.system.entry.js → p-412669a4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e3b87bd.entry.js → p-46088d8c.entry.js} +1 -1
- package/pn-market-web-components/{p-b29adc65.system.entry.js → p-4c38b1b5.system.entry.js} +1 -1
- package/pn-market-web-components/p-4c4f7ab0.entry.js +1 -0
- package/pn-market-web-components/{p-abcde0d8.entry.js → p-4e7a470b.entry.js} +1 -1
- package/pn-market-web-components/{p-4a4d1f12.system.entry.js → p-4ee4767f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-bfed70cc.entry.js → p-4f38aeea.entry.js} +1 -1
- package/pn-market-web-components/{p-52df172b.system.entry.js → p-4fe46903.system.entry.js} +1 -1
- package/pn-market-web-components/{p-77db84fd.system.entry.js → p-51fc7a64.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5ee67059.entry.js → p-54dfc74e.entry.js} +1 -1
- package/pn-market-web-components/{p-9dd478d9.js → p-5a55d3ef.js} +1 -1
- package/pn-market-web-components/{p-23357475.system.entry.js → p-5a74b363.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa4c8587.entry.js → p-5b535af5.entry.js} +1 -1
- package/pn-market-web-components/{p-1a4194d3.system.entry.js → p-5cf6111c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d762d2eb.system.entry.js → p-5d253c27.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4b05a2a7.entry.js → p-6131fdb9.entry.js} +1 -1
- package/pn-market-web-components/{p-2647f023.entry.js → p-613c6df4.entry.js} +1 -1
- package/pn-market-web-components/p-626a68dc.system.js +2 -0
- package/pn-market-web-components/{p-98bafa28.system.entry.js → p-6368e239.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0010aad7.entry.js → p-64df1c4d.entry.js} +1 -1
- package/pn-market-web-components/{p-1dafb003.system.entry.js → p-65e9ed4b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4e9b9584.system.entry.js → p-66775d88.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0ad6efd1.entry.js → p-68e68770.entry.js} +1 -1
- package/pn-market-web-components/{p-54548525.system.entry.js → p-6b98aefa.system.entry.js} +1 -1
- package/pn-market-web-components/{p-28f745d6.system.entry.js → p-6bdbfdf2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b14e29f1.entry.js → p-6c8fbcda.entry.js} +1 -1
- package/pn-market-web-components/{p-19be5eed.system.entry.js → p-6ca7eb0a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1fbdecfb.system.entry.js → p-70f338c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3f74ef14.js → p-71a0acac.js} +1 -1
- package/pn-market-web-components/{p-225e581e.entry.js → p-72526890.entry.js} +1 -1
- package/pn-market-web-components/{p-7da9b27b.entry.js → p-726f1ba5.entry.js} +1 -1
- package/pn-market-web-components/{p-3a2f44d6.entry.js → p-732d5bf1.entry.js} +1 -1
- package/pn-market-web-components/{p-aaf31bc1.system.entry.js → p-739f296c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa666ea0.system.entry.js → p-73ac15b9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-caf88cd1.entry.js → p-745eef3e.entry.js} +1 -1
- package/pn-market-web-components/{p-9c22f141.entry.js → p-7480e40c.entry.js} +1 -1
- package/pn-market-web-components/{p-312ca954.entry.js → p-7542a277.entry.js} +1 -1
- package/pn-market-web-components/{p-87f9ac84.system.entry.js → p-7613b490.system.entry.js} +1 -1
- package/pn-market-web-components/{p-38ea83a3.entry.js → p-76563549.entry.js} +1 -1
- package/pn-market-web-components/{p-4e5efb81.system.entry.js → p-78ee80d4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-154e2826.system.entry.js → p-7902d31a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fb84605d.system.js → p-79459743.system.js} +1 -1
- package/pn-market-web-components/{p-984a13ac.system.entry.js → p-7a2d4f1a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-55095fd4.system.entry.js → p-7b7ca449.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e96ed1ba.system.entry.js → p-7cee798b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6bc810e3.entry.js → p-819494d3.entry.js} +1 -1
- package/pn-market-web-components/{p-ba9c3757.system.entry.js → p-81b5430c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9f8c3f1a.system.entry.js → p-894178a2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-05f643e4.system.entry.js → p-8a8fe9b8.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9afa3afc.entry.js → p-8ab74cc4.entry.js} +1 -1
- package/pn-market-web-components/{p-a2b062a1.entry.js → p-8b189558.entry.js} +1 -1
- package/pn-market-web-components/{p-704058ed.entry.js → p-8b471f23.entry.js} +1 -1
- package/pn-market-web-components/{p-f840e5bb.entry.js → p-8c9da166.entry.js} +1 -1
- package/pn-market-web-components/{p-29d60871.entry.js → p-90dafa04.entry.js} +1 -1
- package/pn-market-web-components/{p-bc645d84.entry.js → p-93e3b8cc.entry.js} +1 -1
- package/pn-market-web-components/{p-a0ac3794.entry.js → p-93e4245f.entry.js} +1 -1
- package/pn-market-web-components/{p-f3f44a2c.system.entry.js → p-9508d1b3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-32528f2e.system.entry.js → p-95189aa2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e15b72a3.entry.js → p-962292bf.entry.js} +1 -1
- package/pn-market-web-components/{p-e9884417.entry.js → p-97281fd6.entry.js} +1 -1
- package/pn-market-web-components/{p-7dfd7851.system.entry.js → p-978a7be6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-51e673f9.system.entry.js → p-97a9ce4f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-963f55a9.entry.js → p-991eef67.entry.js} +1 -1
- package/pn-market-web-components/{p-b96dbfea.js → p-9a6ee73f.js} +1 -1
- package/pn-market-web-components/{p-83a8af5a.system.entry.js → p-9b758fa4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-052508de.entry.js → p-9b9b9b56.entry.js} +1 -1
- package/pn-market-web-components/{p-0b071480.entry.js → p-9dc2163c.entry.js} +1 -1
- package/pn-market-web-components/{p-2248b584.system.entry.js → p-9f49664e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-08fa8d4a.system.entry.js → p-a1294675.system.entry.js} +1 -1
- package/pn-market-web-components/{p-14a189d3.system.js → p-a179066e.system.js} +1 -1
- package/pn-market-web-components/{p-a93f2e9d.system.entry.js → p-a19b539f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1d69c613.entry.js → p-a1c5431f.entry.js} +1 -1
- package/pn-market-web-components/{p-d10b8ae0.entry.js → p-a544b937.entry.js} +1 -1
- package/pn-market-web-components/{p-ce2f007f.system.entry.js → p-a57848a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c8ad9cc.system.entry.js → p-a5eaa1b6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ae33ef56.entry.js → p-a69a0544.entry.js} +1 -1
- package/pn-market-web-components/{p-6caaf51b.system.js → p-a990da8b.system.js} +1 -1
- package/pn-market-web-components/{p-4905a61d.entry.js → p-a9e89ca3.entry.js} +1 -1
- package/pn-market-web-components/{p-d287cfdf.system.entry.js → p-aa42b255.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b3871ac2.entry.js → p-abef3453.entry.js} +1 -1
- package/pn-market-web-components/{p-d1eacc9a.entry.js → p-ac275a13.entry.js} +1 -1
- package/pn-market-web-components/{p-04b382ae.system.entry.js → p-ad1f9612.system.entry.js} +1 -1
- package/pn-market-web-components/{p-42cde64b.entry.js → p-b18ce512.entry.js} +1 -1
- package/pn-market-web-components/{p-fe358a44.system.entry.js → p-b1b0f5e9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6ff2c262.system.entry.js → p-b7cdb982.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2dca907e.entry.js → p-bc22cb7b.entry.js} +1 -1
- package/pn-market-web-components/{p-6107c744.js → p-bda66a3c.js} +1 -1
- package/pn-market-web-components/{p-820065a3.entry.js → p-be43040b.entry.js} +1 -1
- package/pn-market-web-components/{p-3a8410c6.entry.js → p-bea9522f.entry.js} +1 -1
- package/pn-market-web-components/{p-85c52e0c.system.entry.js → p-bf85df01.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ef602321.system.entry.js → p-bfee099c.system.entry.js} +1 -1
- package/pn-market-web-components/p-c24770fa.system.entry.js +1 -0
- package/pn-market-web-components/p-c475abe8.system.js +1 -0
- package/pn-market-web-components/{p-a6cc80f6.entry.js → p-c6171d29.entry.js} +1 -1
- package/pn-market-web-components/{p-55a12ded.system.entry.js → p-c94586e5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-68862e73.entry.js → p-cdf31352.entry.js} +1 -1
- package/pn-market-web-components/{p-260016e2.entry.js → p-ceddef4d.entry.js} +1 -1
- package/pn-market-web-components/{p-874d96b9.system.entry.js → p-d15bca21.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8b42b65a.system.entry.js → p-d3d78acd.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1f2d226e.entry.js → p-d8b3f505.entry.js} +1 -1
- package/pn-market-web-components/{p-af1af661.system.entry.js → p-d9292bd0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3410b18e.system.entry.js → p-d9d3078b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-97825032.system.js → p-dc25c859.system.js} +1 -1
- package/pn-market-web-components/{p-e0c27b9f.entry.js → p-e0cb8b29.entry.js} +1 -1
- package/pn-market-web-components/{p-7b879f2c.system.entry.js → p-e11eb99c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c167f65.entry.js → p-e197f20b.entry.js} +1 -1
- package/pn-market-web-components/{p-9a6b3f55.system.entry.js → p-e251b0c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-c5e35374.entry.js → p-e28fcf9c.entry.js} +1 -1
- package/pn-market-web-components/{p-812e4d0b.system.entry.js → p-e372332f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1aa1ccd2.entry.js → p-e56093da.entry.js} +1 -1
- package/pn-market-web-components/{p-3ab1bf8b.system.entry.js → p-ee42154f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e97ac85f.js → p-ef137f0d.js} +1 -1
- package/pn-market-web-components/{p-2ac346c8.system.entry.js → p-ef910604.system.entry.js} +1 -1
- package/pn-market-web-components/{p-191edfa8.entry.js → p-f550b051.entry.js} +1 -1
- package/pn-market-web-components/{p-a8cab386.system.entry.js → p-f91eb6a9.system.entry.js} +1 -1
- package/pn-market-web-components/p-f9e862db.entry.js +1 -0
- package/pn-market-web-components/{p-d28011f2.system.entry.js → p-fa4c3121.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ead762ff.entry.js → p-fc27fb49.entry.js} +1 -1
- package/pn-market-web-components/{p-8bba7ba7.entry.js → p-fe877a0f.entry.js} +1 -1
- package/pn-market-web-components/{p-fe8172f7.entry.js → p-ffb197d9.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -1
- package/types/components/cta/pn-cta-block/pn-cta-block.d.ts +0 -3
- package/types/components/widgets/pn-usp-promoter/pn-usp-promoter.d.ts +12 -0
- package/types/components.d.ts +27 -0
- package/esm-es5/pn-marketweb-siteheader-store-de85e557.js +0 -1
- package/pn-market-web-components/p-05f99c22.system.entry.js +0 -1
- package/pn-market-web-components/p-17e61235.js +0 -1
- package/pn-market-web-components/p-441c6ecf.entry.js +0 -1
- package/pn-market-web-components/p-53d7aeb5.js +0 -1
- package/pn-market-web-components/p-986ed2b6.system.js +0 -1
- package/pn-market-web-components/p-a9930e79.entry.js +0 -1
- package/pn-market-web-components/p-c98ae4d8.js +0 -1
- package/pn-market-web-components/p-d17fb67d.system.js +0 -2
- package/pn-market-web-components/p-f3dbfe72.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(t){"use strict";var c,a,n,o;return{setters:[function(t){c=t.r;a=t.h;n=t.a;o=t.g}],execute:function(){var e="pn-cta-block .cta-block{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;border-radius:2.4rem;padding:3.2rem 2.4rem;width:100%}@media screen and (min-width: 768px){pn-cta-block .cta-block{-ms-flex-direction:row;flex-direction:row;padding:2.4rem}}@media screen and (min-width: 1140px){pn-cta-block .cta-block{margin-right:auto;margin-left:auto;max-width:95%}}@media screen and (min-width: 1440px){pn-cta-block .cta-block{max-width:90%}}pn-cta-block .cta-block[pn-background-color=blue25]{background-color:#EFFBFF}pn-cta-block .cta-block[pn-background-color=coral50]{background-color:#FDEFEE}pn-cta-block .cta-block[pn-background-color=gray25]{background-color:#F9F8F8}pn-cta-block .cta-block[pn-background-color=green25]{background-color:#EDFBF3}pn-cta-block .cta-block--content-top .cta-block__content{-ms-flex-pack:start;justify-content:flex-start}@media screen and (min-width: 768px){pn-cta-block .cta-block--large .cta-block__heading{font-size:3.6rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block--large .cta-block__text{font-size:2rem}}pn-cta-block .cta-block--small{margin-right:auto;margin-left:auto;width:auto}@media screen and (min-width: 992px){pn-cta-block .cta-block--small{max-width:75%}}pn-cta-block .cta-block--center{-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:3.2rem 2.4rem;text-align:center}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__content{max-width:74rem;padding:0}}pn-cta-block .cta-block--center .cta-block__action{margin-top:0.8rem}pn-cta-block .cta-block--center .cta-block__action>[slot=cta-button]{gap:0.8rem}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__action{-ms-flex-direction:row;flex-direction:row;gap:2.4rem;margin-top:1.6rem}pn-cta-block .cta-block--center .cta-block__action.cta-block__button{margin-bottom:0}pn-cta-block .cta-block--center .cta-block__action>[slot=cta-button]{-ms-flex-direction:row;flex-direction:row;gap:2.4rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__image-wrapper{display:block}}pn-cta-block .cta-block--center .cta-block__image-wrapper>[slot=illustration]{padding-right:0}pn-cta-block .cta-block__image-wrapper{margin-bottom:1.6rem}pn-cta-block .cta-block__image-wrapper>[slot=illustration]>picture>img{border-radius:0.8rem;max-width:100%}@media screen and (min-width: 768px){pn-cta-block .cta-block__image-wrapper{display:none;max-width:20%}}@media screen and (min-width: 992px){pn-cta-block .cta-block__image-wrapper{display:block;margin-bottom:0}pn-cta-block .cta-block__image-wrapper>[slot=illustration]{padding-right:3.2rem}}pn-cta-block .cta-block__content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 768px){pn-cta-block .cta-block__content{padding-right:2.4rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block__content .cta-block__heading,pn-cta-block .cta-block__content .cta-block__text{max-width:74rem}}pn-cta-block .cta-block__content .cta-block__text{margin-bottom:2.4rem}@media screen and (min-width: 768px){pn-cta-block .cta-block__content .cta-block__text{margin-bottom:0}}pn-cta-block .cta-block__heading{margin-bottom:0.8rem}pn-cta-block .cta-block__action{display:-ms-flexbox;display:flex}pn-cta-block .cta-block__action>[slot=cta-button]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;row-gap:1.6rem}@media screen and (min-width: 768px){pn-cta-block .cta-block__action>[slot=cta-button]{gap:1.6rem;margin-top:0}}pn-cta-block .cta-block__action>[slot=cta-button]>a{color:#005D92;font-weight:500;font-size:1.6rem;padding:0.1rem;text-decoration:none}pn-cta-block .cta-block__action>[slot=cta-button]>a pn-icon svg{-webkit-transition:-webkit-transform 0.3s ease-in-out;transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out}pn-cta-block .cta-block__action>[slot=cta-button]>a pn-icon svg path{fill:#005D92}pn-cta-block .cta-block__action>[slot=cta-button]>a:hover pn-icon svg{-webkit-transition:-webkit-transform 0.3s ease-in-out;transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;-webkit-transform:translateX(0.3rem);transform:translateX(0.3rem)}pn-cta-block .cta-block__action>[slot=cta-button]>a:hover pn-icon svg path{fill:#005D92}";var i=t("pn_cta_block",function(){function t(t){c(this,t);this.heading=null;this.bodyText=null;this.pnBackgroundColor=null;this.isLarge=false;this.isCentered=false;this.isSmall=false;this.contentTop=false}t.prototype.render=function(){return a(n,null,a("div",{"pn-background-color":this.pnBackgroundColor,class:"cta-block ".concat(this.isLarge?"cta-block--large":""," ").concat(this.isCentered?"cta-block--center":""," ").concat(this.isSmall?"cta-block--small":""," ").concat(this.contentTop?"cta-block--content-top":"")},a("div",{class:"cta-block__image-wrapper"},a("slot",{name:"illustration"})),a("div",{class:"cta-block__content"},a("h2",{class:"cta-block__heading"},this.heading),a("p",{class:"cta-block__text"},this.bodyText)),a("div",{class:"cta-block__action"},a("slot",{name:"cta-button"}))))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());i.style=e}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,a as r}from"./p-
|
|
1
|
+
import{r as t,h as i,a as r}from"./p-5a55d3ef.js";const o=class{constructor(i){t(this,i)}render(){return i(r,null,i("div",{class:"cardcontent"},i("div",{class:"carddetails"},i("slot",{name:"illustrationmobile"}),i("div",{class:"heading"},i("slot",{name:"title"}),i("slot",{name:"uppertags"})),i("slot",{name:"description"}),i("slot",{name:"information"}),i("slot",{name:"bottomtags"})),i("div",{class:"cardcalltoactions"},i("slot",{name:"illustration"}),i("slot",{name:"pricelink"}),i("slot",{name:"insurance"}))))}};o.style="pn-proxio-productcard .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border:solid 0.1rem #F9F8F8;border-radius:0.8rem;overflow:hidden;margin-left:auto;margin-right:auto;margin-bottom:1.6rem}@media screen and (max-width: 48em){pn-proxio-productcard .cardcontent{-ms-flex-direction:column;flex-direction:column}}pn-proxio-productcard .carddetails{min-width:70%;padding:2.4rem;display:-ms-flexbox;display:flex;gap:0.8rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 48em){pn-proxio-productcard .carddetails{gap:1.6rem;margin-bottom:0.8rem}}pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile]{display:none}@media screen and (max-width: 48em){pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile]{margin-top:1.6rem;display:block}pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile] .pn-illustration{max-width:8rem;height:8rem;margin-left:auto;margin-right:auto}}pn-proxio-productcard .cardcalltoactions{min-width:30%;background-color:#EFFBFF;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}@media screen and (max-width: 48em){pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration]{display:none}}pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration] .pn-illustration{max-width:8rem;margin-left:auto;margin-right:auto;margin-top:4rem}pn-proxio-productcard [slot=information]{display:-ms-flexbox;display:flex;gap:1rem}@media screen and (max-width: 48em){pn-proxio-productcard [slot=information]{-ms-flex-direction:column;flex-direction:column;gap:1.6rem}}pn-proxio-productcard [slot=uppertags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem}pn-proxio-productcard [slot=bottomtags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem;margin:0.8rem 0}pn-proxio-productcard .heading{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}pn-proxio-productcard [slot=title]{text-decoration:underline}@media screen and (max-width: 48em){pn-proxio-productcard [slot=title]{text-decoration:none}}";const n=class{constructor(i){t(this,i),this.heading=void 0,this.highlight=void 0,this.description=void 0,this.list=[]}render(){return i(r,null,this.heading?i("h3",null,this.heading):null,this.highlight?i("h3",{class:"highlight"},this.highlight):null,this.description?i("span",null,this.description):null,this.list?i("ul",null,this.list.map((t=>i("li",null,t)))):null)}};n.style="pn-proxio-productcard-description h3{font-size:1.6rem}pn-proxio-productcard-description ul{padding-left:2.5rem}pn-proxio-productcard-description li{font-size:1.6rem;line-height:2.2rem}pn-proxio-productcard-description .highlight{color:#0AA85C}";const e=class{constructor(i){t(this,i),this.label=void 0,this.information=[]}render(){return i(r,null,i("div",{class:"cardinfocontent"},this.information&&this.information.length>0&&this.label?i("div",{class:"cardinfocontent-item"},this.label?i("p",{class:"cardinfocontent-title"},i("strong",null,this.label)):null,this.information.map((t=>t?i("p",null,i("strong",{class:"cardinfocontent-label"},t.item1,":")," ",t.item2):null))):null))}};e.style="pn-proxio-productcard-information p.cardinfocontent-title{margin-bottom:0.4rem}pn-proxio-productcard-information p strong.cardinfocontent-label{font-size:1.4rem;font-weight:500}";const l=class{constructor(i){t(this,i),this.price=void 0,this.vatText="",this.link=void 0,this.linktext=void 0}render(){return this.link&&this.linktext?i(r,null,this.price?i("h3",null,this.price," ",i("span",{class:"pn-pricelink-vat"},this.vatText)):null,i("pn-button",{small:"true",icon:"arrow-right",appearance:"light",href:this.link,target:"_blank",rel:"noopener nofollower noreferrer"},this.linktext)):null}};l.style="pn-proxio-productcard-pricelink{-ms-flex-item-align:center;align-self:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:2rem 1rem;gap:0.8rem;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (max-width: 48em){pn-proxio-productcard-pricelink{margin:2.4rem 1rem}}pn-proxio-productcard-pricelink h3{font-size:2rem}pn-proxio-productcard-pricelink pn-button{min-width:17.3rem}pn-proxio-productcard-pricelink pn-button a .pn-button-content{font-size:1.4rem;font-weight:500}@media screen and (max-width: 48em){pn-proxio-productcard-pricelink pn-button{min-width:30rem}}pn-proxio-productcard-pricelink .pn-pricelink-vat{font-weight:400}";export{o as pn_proxio_productcard,n as pn_proxio_productcard_description,e as pn_proxio_productcard_information,l as pn_proxio_productcard_pricelink}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var t,o,n,i;return{setters:[function(e){t=e.r;o=e.h;n=e.a;i=e.g}],execute:function(){var c=":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";var s=e("pn_filter_checkbox",function(){function e(e){t(this,e);this.value=undefined;this.name=undefined;this.checkboxid=undefined;this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return o(n,{checked:this.checked,id:this.checkboxid},o("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),o("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},o("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),o("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=c}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var n,o,t,r;return{setters:[function(e){n=e.r;o=e.h;t=e.a;r=e.g}],execute:function(){var i='pn-breakpoints{width:100%}pn-breakpoints .breakpoints--dotcom{width:100%;background-color:aliceblue;text-align:center;margin-bottom:2.4rem;background-color:aliceblue}pn-breakpoints .breakpoints--dotcom .reference::before{content:"less than 321"}@media screen and (min-width: 321px){pn-breakpoints .breakpoints--dotcom{background-color:yellow}pn-breakpoints .breakpoints--dotcom .reference::before{content:"321 (xs)"}}@media screen and (min-width: 576px){pn-breakpoints .breakpoints--dotcom{background-color:aqua}pn-breakpoints .breakpoints--dotcom .reference::before{content:"576 (sm)"}}@media screen and (min-width: 768px){pn-breakpoints .breakpoints--dotcom{background-color:red;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"768 (md)"}}@media screen and (min-width: 992px){pn-breakpoints .breakpoints--dotcom{background-color:green;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"992 (lg)"}}@media screen and (min-width: 1200px){pn-breakpoints .breakpoints--dotcom{background-color:blue;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1200 (xl)"}}@media screen and (min-width: 1640px){pn-breakpoints .breakpoints--dotcom{background-color:pink}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1640 (xxl)"}}@media screen and (min-width: 1920px){pn-breakpoints .breakpoints--dotcom{background-color:orange}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1920 (fhd)"}}';var a=e("pn_breakpoints",function(){function e(e){n(this,e);this.currentWidth=window.innerWidth;this.breakPointClass="dotcom"}e.prototype.handleViewportSizeChange=function(e){this.currentWidth=e.target.innerWidth};e.prototype.createBreakpointClass=function(){return"breakpoints--".concat(this.breakPointClass)};e.prototype.render=function(){return o(t,null,o("div",{class:"breakpoints ".concat(this.createBreakpointClass()," ")},"".concat(this.currentWidth," px")," min-width: ",o("span",{class:"reference"}," px")))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());a.style=i}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as l,a as o,g as r}from"./p-
|
|
1
|
+
import{r as t,h as l,a as o,g as r}from"./p-5a55d3ef.js";const e=class{constructor(l){t(this,l),this.icon=null,this.color="green700"}render(){return l(o,null,l("slot",null),this.icon?l("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)}get hostElement(){return r(this)}};e.style="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";export{e as pn_titletag}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./p-
|
|
1
|
+
import{c as e}from"./p-9a6ee73f.js";const{state:a}=e({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}});export{a as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,a as t,g as n}from"./p-9dd478d9.js";import{s as o}from"./p-c98ae4d8.js";import"./p-b96dbfea.js";const r=class{constructor(i){e(this,i),this.label="Log in"}componentWillLoad(){var e;this.loginUrl=(e=window.location.host).match("(?:se|dk|no|fi|com|de|tpl)-(?:integration|preproduction|production|inte|prep|prod).(?:postnord.com)")||e.match("(?:www(?:.tpl)?.postnord.(?:se|dk|no|fi|com|de))")||e.match("(?:local)(?:host|.postnord.)(?:se|dk|no|fi|com|de|)")?"/login?returnUrl=":e.match("(?:dev|at)(?:portal.postnord.com)")?"https://atportal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=":"https://portal.postnord.com/api/unified-login/backend/authorization?redirectionUrl="}nagivateToLoginUrl(){return`${this.loginUrl}${window.location.href}`}render(){return i(t,null,i("pn-button",{href:this.nagivateToLoginUrl()},this.label))}get hostElement(){return n(this)}};r.style="";const s=class{constructor(i){e(this,i),this.loginDialog=null,this.idNamespace="",this.loggedin=!1,this.username="",this.showUnifiedLogin=!1}componentWillLoad(){this.init()}async init(){this.adjustLoginLinks()}adjustLoginLinks(){var e,i,t,n;if(!this.loginDialog)return;const r=(e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),e.href=e.href.replace("window.location.href",window.location.href),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")};(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loginMenuLinks.forEach(r)),(null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks)&&(null===(n=this.loginDialog)||void 0===n||n.loggedInLinks.forEach(r)),this.loginDialog.legacyLoginLinks=[{href:o.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:o.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}render(){var e;if(!this.loginDialog)return;let n={username:null,loggedin:!1};return this.username&&(n.username=this.username,n.loggedin=this.loggedin),i(t,Object.assign({},n),this.loginDialog.overrideLoginMenu?null:i("div",{"data-loggedin":this.loggedin+""},this.loggedin?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):i("div",null,(null===(e=this.loginDialog.loginMenuLinks)||void 0===e?void 0:e.length)>0?i("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace,showUnifiedLogin:this.showUnifiedLogin}):i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))),this.loginDialog.overrideLoginMenu?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)}get hostElement(){return n(this)}static get watchers(){return{loginDialog:["init"]}}};s.style="";const l=class{constructor(i){e(this,i),this.label="Mina sidor!",this.myPageUrl=void 0}render(){return i(t,null,i("pn-button",{href:this.myPageUrl},this.label))}get hostElement(){return n(this)}};l.style="";const a=class{constructor(i){e(this,i),this.loginDialog=null,this.endpoint="",this.loggedin=!1,this.idNamespace="",this.heading=null,this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""},this.user=null,this.logoutLink=null,this.userName=null,this.userEmail="",this.currentProfile=null,this.profileoptions=[]}componentWillLoad(){var e;null===this.heading&&(null===(e=this.i18n)||void 0===e?void 0:e.profileSelectionFlyoutHeading)&&(this.heading=this.i18n.profileSelectionFlyoutHeading),this.init()}init(){this.updateUserInfo(),this.adjustLoginLinks(),this.fetchProfiles()}async fetchProfiles(){if(!this.loggedin||this.profileoptions.length>0)return;let e=`${this.endpoint}${this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/"}api/user/parentorganizations`;const i=await fetch(e),t=await i.json(),n=-1!==window.location.href.indexOf("localhost:6008")?{loggedin:!0,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:!0,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:!1,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:!0,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:!1,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:!1,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:!1,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:!1,customerGroup:"Agent"}]}]}:t;if(!n||!n.organizations||!n.organizations.length)return;n.organizations.forEach((e=>{if(!0===e.selected&&e.profiles){const i=e.profiles.filter((e=>!0===e.selected));i&&i[0]&&"agent"===i[0].customerGroup.toLocaleLowerCase()&&i[0].ssid&&(e.customerNumber=i[0].ssid)}else 10===e.customerNumber.length&&"55"===e.customerNumber.substring(0,2)&&(e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)),this.profileoptions.push(e)}));let o=n.organizations.filter((e=>!0===e.selected))[0];const r={name:this.userName,customerNumber:"",id:"",selected:!o,profiles:[]};o||(o=r),o&&o.name&&(this.currentProfile=o),this.profileoptions.push(r)}adjustLoginLinks(){var e,i,t,n;(null===(e=this.loginDialog)||void 0===e?void 0:e.loggedInLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loggedInLinks.forEach(((e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")}))),this.logoutLink=null!==(n=null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks.filter((e=>e.isLogoutLink))[0])&&void 0!==n?n:null}updateUserInfo(){const e=o.loginManager.getUserInfo();this.user=e,e&&(e&&e.email&&(this.userEmail=e.email),e&&e.given_name&&(this.userName=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),e&&e.given_name?this.userName=e.given_name:e&&e.family_name?this.userName=e.family_name:e&&e.username&&(this.userName=e.username))}filterLogoutLink(e){return e.filter((e=>!e.isLogoutLink))}render(){if(this.loginDialog)return i(t,Object.assign({},{}),this.heading?i("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,null!==this.currentProfile&&this.currentProfile.name?i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,i("pn-marketweb-siteheader-login-linklist",{links:this.filterLogoutLink(this.loginDialog.loggedInLinks),idNamespace:this.idNamespace}),i("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((e=>!0!==e.selected)).map((e=>i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},i("a",{href:`${this.endpoint}/api/user/setprofile?customernumber=${e.profiles.length>0?e.profiles[0].customerNumber:e.customerNumber}&returnUrl=${window.location.href}`,class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},e.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},e.customerNumber?e.customerNumber:this.userEmail)),i("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"}))))),this.logoutLink?i("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},i("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:()=>o.loginManager.clearUserData(),class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)}get hostElement(){return n(this)}};a.style='.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';const d=class{constructor(i){e(this,i),this.loggedIn=!1,this.myPageLabel=void 0,this.myPageUrl=void 0,this.logInLabel=void 0}render(){return i(t,null,this.loggedIn?i("pn-marketweb-siteheader-login-mypage-button",{label:this.myPageLabel,myPageUrl:this.myPageUrl}):i("pn-marketweb-siteheader-login-button",{label:this.logInLabel}))}get hostElement(){return n(this)}};d.style="";export{r as pn_marketweb_siteheader_login_button,s as pn_marketweb_siteheader_login_links,l as pn_marketweb_siteheader_login_mypage_button,a as pn_marketweb_siteheader_login_profileselection,d as pn_marketweb_siteheader_unified_login}
|
|
1
|
+
import{r as e,h as i,a as t,g as n}from"./p-5a55d3ef.js";import{s as o}from"./p-1caef6e7.js";import"./p-9a6ee73f.js";const r=class{constructor(i){e(this,i),this.label="Log in"}componentWillLoad(){var e;this.loginUrl=(e=window.location.host).match("(?:se|dk|no|fi|com|de|tpl)-(?:integration|preproduction|production|inte|prep|prod).(?:postnord.com)")||e.match("(?:www(?:.tpl)?.postnord.(?:se|dk|no|fi|com|de))")||e.match("(?:local)(?:host|.postnord.)(?:se|dk|no|fi|com|de|)")?"/login?returnUrl=":e.match("(?:dev|at)(?:portal.postnord.com)")?"https://atportal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=":"https://portal.postnord.com/api/unified-login/backend/authorization?redirectionUrl="}nagivateToLoginUrl(){return`${this.loginUrl}${window.location.href}`}render(){return i(t,null,i("pn-button",{href:this.nagivateToLoginUrl()},this.label))}get hostElement(){return n(this)}};r.style="";const s=class{constructor(i){e(this,i),this.loginDialog=null,this.idNamespace="",this.loggedin=!1,this.username="",this.showUnifiedLogin=!1}componentWillLoad(){this.init()}async init(){this.adjustLoginLinks()}adjustLoginLinks(){var e,i,t,n;if(!this.loginDialog)return;const r=(e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),e.href=e.href.replace("window.location.href",window.location.href),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")};(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loginMenuLinks.forEach(r)),(null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks)&&(null===(n=this.loginDialog)||void 0===n||n.loggedInLinks.forEach(r)),this.loginDialog.legacyLoginLinks=[{href:o.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:o.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}render(){var e;if(!this.loginDialog)return;let n={username:null,loggedin:!1};return this.username&&(n.username=this.username,n.loggedin=this.loggedin),i(t,Object.assign({},n),this.loginDialog.overrideLoginMenu?null:i("div",{"data-loggedin":this.loggedin+""},this.loggedin?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):i("div",null,(null===(e=this.loginDialog.loginMenuLinks)||void 0===e?void 0:e.length)>0?i("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace,showUnifiedLogin:this.showUnifiedLogin}):i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))),this.loginDialog.overrideLoginMenu?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)}get hostElement(){return n(this)}static get watchers(){return{loginDialog:["init"]}}};s.style="";const l=class{constructor(i){e(this,i),this.label="Mina sidor!",this.myPageUrl=void 0}render(){return i(t,null,i("pn-button",{href:this.myPageUrl},this.label))}get hostElement(){return n(this)}};l.style="";const a=class{constructor(i){e(this,i),this.loginDialog=null,this.endpoint="",this.loggedin=!1,this.idNamespace="",this.heading=null,this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""},this.user=null,this.logoutLink=null,this.userName=null,this.userEmail="",this.currentProfile=null,this.profileoptions=[]}componentWillLoad(){var e;null===this.heading&&(null===(e=this.i18n)||void 0===e?void 0:e.profileSelectionFlyoutHeading)&&(this.heading=this.i18n.profileSelectionFlyoutHeading),this.init()}init(){this.updateUserInfo(),this.adjustLoginLinks(),this.fetchProfiles()}async fetchProfiles(){if(!this.loggedin||this.profileoptions.length>0)return;let e=`${this.endpoint}${this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/"}api/user/parentorganizations`;const i=await fetch(e),t=await i.json(),n=-1!==window.location.href.indexOf("localhost:6008")?{loggedin:!0,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:!0,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:!1,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:!0,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:!1,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:!1,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:!1,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:!1,customerGroup:"Agent"}]}]}:t;if(!n||!n.organizations||!n.organizations.length)return;n.organizations.forEach((e=>{if(!0===e.selected&&e.profiles){const i=e.profiles.filter((e=>!0===e.selected));i&&i[0]&&"agent"===i[0].customerGroup.toLocaleLowerCase()&&i[0].ssid&&(e.customerNumber=i[0].ssid)}else 10===e.customerNumber.length&&"55"===e.customerNumber.substring(0,2)&&(e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)),this.profileoptions.push(e)}));let o=n.organizations.filter((e=>!0===e.selected))[0];const r={name:this.userName,customerNumber:"",id:"",selected:!o,profiles:[]};o||(o=r),o&&o.name&&(this.currentProfile=o),this.profileoptions.push(r)}adjustLoginLinks(){var e,i,t,n;(null===(e=this.loginDialog)||void 0===e?void 0:e.loggedInLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loggedInLinks.forEach(((e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")}))),this.logoutLink=null!==(n=null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks.filter((e=>e.isLogoutLink))[0])&&void 0!==n?n:null}updateUserInfo(){const e=o.loginManager.getUserInfo();this.user=e,e&&(e&&e.email&&(this.userEmail=e.email),e&&e.given_name&&(this.userName=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),e&&e.given_name?this.userName=e.given_name:e&&e.family_name?this.userName=e.family_name:e&&e.username&&(this.userName=e.username))}filterLogoutLink(e){return e.filter((e=>!e.isLogoutLink))}render(){if(this.loginDialog)return i(t,Object.assign({},{}),this.heading?i("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,null!==this.currentProfile&&this.currentProfile.name?i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,i("pn-marketweb-siteheader-login-linklist",{links:this.filterLogoutLink(this.loginDialog.loggedInLinks),idNamespace:this.idNamespace}),i("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((e=>!0!==e.selected)).map((e=>i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},i("a",{href:`${this.endpoint}/api/user/setprofile?customernumber=${e.profiles.length>0?e.profiles[0].customerNumber:e.customerNumber}&returnUrl=${window.location.href}`,class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},e.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},e.customerNumber?e.customerNumber:this.userEmail)),i("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"}))))),this.logoutLink?i("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},i("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:()=>o.loginManager.clearUserData(),class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)}get hostElement(){return n(this)}};a.style='.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';const h=class{constructor(i){e(this,i),this.loggedIn=!1,this.myPageLabel=void 0,this.myPageUrl=void 0,this.logInLabel=void 0}render(){return i(t,null,this.loggedIn?i("pn-marketweb-siteheader-login-mypage-button",{label:this.myPageLabel,myPageUrl:this.myPageUrl}):i("pn-marketweb-siteheader-login-button",{label:this.logInLabel}))}get hostElement(){return n(this)}};h.style="";export{r as pn_marketweb_siteheader_login_button,s as pn_marketweb_siteheader_login_links,l as pn_marketweb_siteheader_login_mypage_button,a as pn_marketweb_siteheader_login_profileselection,h as pn_marketweb_siteheader_unified_login}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as l,a as s}from"./p-
|
|
1
|
+
import{r as t,h as l,a as s}from"./p-5a55d3ef.js";import{s as i}from"./p-bda66a3c.js";import"./p-9a6ee73f.js";const n=class{constructor(l){t(this,l),this.item=null,this.shownitems=[],this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){this.shownitems=[this.item]}render(){return l(s,null,this.shownitems.map((t=>l("pn-product-card",null,l("pn-illustration",{slot:"illustration",illustration:t.illustration}),l("div",{slot:"content"},l("div",{class:"content"},l("h3",null,t.name),t.description?l("div",{class:"description"},t.description):null,t.info?l("div",{class:"description"},t.info):null)),t.maxweight?l("pn-product-tile-info",{label:i.i18n.maxweightlabel,text:this.weightText}):null,t.pricestamps?l("pn-product-tile-price",{slot:"price",label:i.i18n.stampshopcta,amount:t.pricestamps+"",currency:i.market.currency}):null,t.pricesenddirect?l("pn-product-tile-price",{slot:"price",label:i.i18n.senddirectcta,amount:t.pricesenddirect+"",currency:i.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,t.note?l("small",{slot:"note"},l("p",null,t.note)):null))))}static get watchers(){return{item:["composeItems"]}}};n.style="";export{n as pn_find_service_and_price_result}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,e,o){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,n){function a(t){try{d(o.next(t))}catch(i){n(i)}}function s(t){try{d(o["throw"](t))}catch(i){n(i)}}function d(t){t.done?e(t.value):r(t.value).then(a,s)}d((o=o.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return d([t,i])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(o=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=i.call(t,e)}catch(d){s=[6,d];r=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-d17fb67d.system.js","./p-6bdc811d.system.js","./p-2488c326.system.js"],(function(t){"use strict";var i,e,o,r,n,a;return{setters:[function(t){i=t.r;e=t.h;o=t.a},function(t){r=t.F;n=t.M},function(t){a=t.t}],execute:function(){var s='pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position="0"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position="2"],pn-proxio-pricegroup div.weightdata[data-carousel-position="-2"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}';var d=t("pn_proxio_pricegroup",function(){function t(t){i(this,t);this.fetchHelper=new r("proxiopricegroup");this.endpoint=null;this.language="sv";this.market="se";this.tariffid="";this.cache=true;this.activeWeightIndex=0;this.data=null;this.i18n=a["sv"]}t.prototype.componentWillLoad=function(){var t=this;this.setInitialValues().then((function(){t.init()}))};t.prototype.setInitialValues=function(t){if(t===void 0){t=window.location.href}return __awaiter(this,void 0,void 0,(function(){var i,e,o,r;return __generator(this,(function(a){switch(a.label){case 0:i=new n(t);return[4,i.getEnvironmentName()];case 1:e=a.sent();if(!(!this.endpoint&&(e===null||e===void 0?void 0:e.indexOf("local"))===-1))return[3,4];return[4,i.getMarket()];case 2:o=a.sent();r=this;return[4,i.getEndpoint(e,o)];case 3:r.endpoint=a.sent();a.label=4;case 4:if(!this.endpoint){this.endpoint=""}return[2]}}))}))};t.prototype.init=function(){this.setLanguage();this.fetchData()};t.prototype.fetchData=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;return __generator(this,(function(o){switch(o.label){case 0:if(!this.market||!this.language||!this.tariffid){return[2]}t=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;i="".concat(t,"/api/proxio/price-list-group?tariffId=").concat(this.tariffid,"&market=").concat(this.market,"&language=").concat(this.language,"&cached=").concat(this.cache);return[4,this.fetchHelper.fetchJson(i,{mode:"cors"},this.cache,this.onFetchData.bind(this))];case 1:e=o.sent();if(e===null||e===void 0?void 0:e.proxioProduct){this.data=e}return[2]}}))}))};t.prototype.onFetchData=function(t){this.data=t};t.prototype.setActiveWeightIndex=function(t){var i,e,o;var r=0;var n=(o=((e=(i=this.data.proxioProduct)===null||i===void 0?void 0:i.weightAndPriceList)===null||e===void 0?void 0:e.length)-1)!==null&&o!==void 0?o:r;t=t>n?n:t;t=t<r?r:t;this.activeWeightIndex=t};t.prototype.setLanguage=function(){if(a[this.language]){this.i18n=a[this.language]}};t.prototype.getPriceString=function(t){var i;var e=t.weightAndPriceList?(i=t===null||t===void 0?void 0:t.weightAndPriceList[this.activeWeightIndex])===null||i===void 0?void 0:i.item2:"";return e?this.i18n.from+e:""};t.prototype.getProductLink=function(t,i){var e;var o=(e=i[this.activeWeightIndex])===null||e===void 0?void 0:e.item2;var r=t.productLink?t===null||t===void 0?void 0:t.productLink:"";return r?r+(o?"?productId="+o:""):""};t.prototype.isActive=function(t){return t===this.activeWeightIndex};t.prototype.getCarouselPosition=function(t){switch(t){case this.activeWeightIndex-2:{return-2}case this.activeWeightIndex-1:{return-1}case this.activeWeightIndex:{return 0}case this.activeWeightIndex+1:{return 1}case this.activeWeightIndex+2:{return 2}default:return"outside"}};t.prototype.getContainerPosition=function(){var t=this.data.proxioProduct.weightAndPriceList.length-1;switch(this.activeWeightIndex){case 0:{return"end50"}case 1:{return"end75"}case t-1:{return"start75"}case t:{return"start50"}default:{return"default"}}};t.prototype.render=function(){var t=this;var i,r,n;return e(o,null,((i=this.data)===null||i===void 0?void 0:i.proxioProduct)?e("div",{class:"proxio-pricegroup-container"},e("div",{class:"weightcontainer"},this.data.proxioProduct.weightAndPriceList?e("div",{class:"weightvaluecontainer"},e("pn-button",{disabled:this.activeWeightIndex===0?"disabled":null,"icon-only":"true",icon:"arrow-left",appearance:"light",small:"true",onClick:function(){return t.setActiveWeightIndex(t.activeWeightIndex-1)}}),e("div",{class:"weightradios ","data-carousel-container-position":this.getContainerPosition()},e("div",{class:"weightline"}),this.data.proxioProduct.weightAndPriceList.map((function(i,o){return t.getCarouselPosition(o)!==null?e("div",{class:"weightdata","data-carousel-position":t.getCarouselPosition(o),onClick:function(){return t.setActiveWeightIndex(o)}},e("input",{type:"radio",id:"weightradio"+o,name:"weightradio",value:o,checked:t.isActive(o)}),e("label",{htmlFor:"weightradio"+o},i.item1)):null}))),e("pn-button",{disabled:this.activeWeightIndex===((n=(r=this.data.proxioProduct)===null||r===void 0?void 0:r.weightAndPriceList)===null||n===void 0?void 0:n.length)-1?"disabled":null,icon:"arrow-right",appearance:"light","icon-only":"true",small:"true",onClick:function(){return t.setActiveWeightIndex(t.activeWeightIndex+1)}})):null),e("pn-proxio-productcard",null,e("pn-illustration",{slot:"illustrationmobile",illustration:this.data.proxioProduct.productIcon}),e("h2",{slot:"title"},this.data.proxioProduct.productTitle),e("pn-proxio-productcard-description",{slot:"description",heading:this.data.proxioProduct.productPreamble,highlight:this.data.proxioProduct.deliveryDateInformation,list:this.data.proxioProduct.productDescriptionBulletListItems}),e("div",{slot:"information"},e("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.data.proxioProduct.productPackageDimensionsList}),e("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.data.proxioProduct.productRollDimensionsList})),e("div",{slot:"bottomtags"},this.data.proxioProduct.usp1?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp1):null,this.data.proxioProduct.usp2?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp2):null,this.data.proxioProduct.usp3?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp3):null),e("pn-illustration",{slot:"illustration",illustration:this.data.proxioProduct.productIcon}),e("div",{slot:"pricelink"},e("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.data.proxioProduct),link:this.getProductLink(this.data.proxioProduct,this.data.proxioProduct.productWeightGroupList),linktext:this.data.proxioProduct.productLinkText}),this.data.relatedProxioProducts?this.data.relatedProxioProducts.map((function(i){return e("pn-proxio-productcard-pricelink",{price:t.getPriceString(i),link:i.productLink,linktext:i.productLinkText})})):null))):null)};return t}());d.style=s}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,e,o){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,n){function a(t){try{d(o.next(t))}catch(i){n(i)}}function s(t){try{d(o["throw"](t))}catch(i){n(i)}}function d(t){t.done?e(t.value):r(t.value).then(a,s)}d((o=o.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return d([t,i])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(o=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=i.call(t,e)}catch(d){s=[6,d];r=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-626a68dc.system.js","./p-6bdc811d.system.js","./p-2488c326.system.js"],(function(t){"use strict";var i,e,o,r,n,a;return{setters:[function(t){i=t.r;e=t.h;o=t.a},function(t){r=t.F;n=t.M},function(t){a=t.t}],execute:function(){var s='pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position="0"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position="2"],pn-proxio-pricegroup div.weightdata[data-carousel-position="-2"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}';var d=t("pn_proxio_pricegroup",function(){function t(t){i(this,t);this.fetchHelper=new r("proxiopricegroup");this.endpoint=null;this.language="sv";this.market="se";this.tariffid="";this.cache=true;this.activeWeightIndex=0;this.data=null;this.i18n=a["sv"]}t.prototype.componentWillLoad=function(){var t=this;this.setInitialValues().then((function(){t.init()}))};t.prototype.setInitialValues=function(t){if(t===void 0){t=window.location.href}return __awaiter(this,void 0,void 0,(function(){var i,e,o,r;return __generator(this,(function(a){switch(a.label){case 0:i=new n(t);return[4,i.getEnvironmentName()];case 1:e=a.sent();if(!(!this.endpoint&&(e===null||e===void 0?void 0:e.indexOf("local"))===-1))return[3,4];return[4,i.getMarket()];case 2:o=a.sent();r=this;return[4,i.getEndpoint(e,o)];case 3:r.endpoint=a.sent();a.label=4;case 4:if(!this.endpoint){this.endpoint=""}return[2]}}))}))};t.prototype.init=function(){this.setLanguage();this.fetchData()};t.prototype.fetchData=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;return __generator(this,(function(o){switch(o.label){case 0:if(!this.market||!this.language||!this.tariffid){return[2]}t=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;i="".concat(t,"/api/proxio/price-list-group?tariffId=").concat(this.tariffid,"&market=").concat(this.market,"&language=").concat(this.language,"&cached=").concat(this.cache);return[4,this.fetchHelper.fetchJson(i,{mode:"cors"},this.cache,this.onFetchData.bind(this))];case 1:e=o.sent();if(e===null||e===void 0?void 0:e.proxioProduct){this.data=e}return[2]}}))}))};t.prototype.onFetchData=function(t){this.data=t};t.prototype.setActiveWeightIndex=function(t){var i,e,o;var r=0;var n=(o=((e=(i=this.data.proxioProduct)===null||i===void 0?void 0:i.weightAndPriceList)===null||e===void 0?void 0:e.length)-1)!==null&&o!==void 0?o:r;t=t>n?n:t;t=t<r?r:t;this.activeWeightIndex=t};t.prototype.setLanguage=function(){if(a[this.language]){this.i18n=a[this.language]}};t.prototype.getPriceString=function(t){var i;var e=t.weightAndPriceList?(i=t===null||t===void 0?void 0:t.weightAndPriceList[this.activeWeightIndex])===null||i===void 0?void 0:i.item2:"";return e?this.i18n.from+e:""};t.prototype.getProductLink=function(t,i){var e;var o=(e=i[this.activeWeightIndex])===null||e===void 0?void 0:e.item2;var r=t.productLink?t===null||t===void 0?void 0:t.productLink:"";return r?r+(o?"?productId="+o:""):""};t.prototype.isActive=function(t){return t===this.activeWeightIndex};t.prototype.getCarouselPosition=function(t){switch(t){case this.activeWeightIndex-2:{return-2}case this.activeWeightIndex-1:{return-1}case this.activeWeightIndex:{return 0}case this.activeWeightIndex+1:{return 1}case this.activeWeightIndex+2:{return 2}default:return"outside"}};t.prototype.getContainerPosition=function(){var t=this.data.proxioProduct.weightAndPriceList.length-1;switch(this.activeWeightIndex){case 0:{return"end50"}case 1:{return"end75"}case t-1:{return"start75"}case t:{return"start50"}default:{return"default"}}};t.prototype.render=function(){var t=this;var i,r,n;return e(o,null,((i=this.data)===null||i===void 0?void 0:i.proxioProduct)?e("div",{class:"proxio-pricegroup-container"},e("div",{class:"weightcontainer"},this.data.proxioProduct.weightAndPriceList?e("div",{class:"weightvaluecontainer"},e("pn-button",{disabled:this.activeWeightIndex===0?"disabled":null,"icon-only":"true",icon:"arrow-left",appearance:"light",small:"true",onClick:function(){return t.setActiveWeightIndex(t.activeWeightIndex-1)}}),e("div",{class:"weightradios ","data-carousel-container-position":this.getContainerPosition()},e("div",{class:"weightline"}),this.data.proxioProduct.weightAndPriceList.map((function(i,o){return t.getCarouselPosition(o)!==null?e("div",{class:"weightdata","data-carousel-position":t.getCarouselPosition(o),onClick:function(){return t.setActiveWeightIndex(o)}},e("input",{type:"radio",id:"weightradio"+o,name:"weightradio",value:o,checked:t.isActive(o)}),e("label",{htmlFor:"weightradio"+o},i.item1)):null}))),e("pn-button",{disabled:this.activeWeightIndex===((n=(r=this.data.proxioProduct)===null||r===void 0?void 0:r.weightAndPriceList)===null||n===void 0?void 0:n.length)-1?"disabled":null,icon:"arrow-right",appearance:"light","icon-only":"true",small:"true",onClick:function(){return t.setActiveWeightIndex(t.activeWeightIndex+1)}})):null),e("pn-proxio-productcard",null,e("pn-illustration",{slot:"illustrationmobile",illustration:this.data.proxioProduct.productIcon}),e("h2",{slot:"title"},this.data.proxioProduct.productTitle),e("pn-proxio-productcard-description",{slot:"description",heading:this.data.proxioProduct.productPreamble,highlight:this.data.proxioProduct.deliveryDateInformation,list:this.data.proxioProduct.productDescriptionBulletListItems}),e("div",{slot:"information"},e("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.data.proxioProduct.productPackageDimensionsList}),e("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.data.proxioProduct.productRollDimensionsList})),e("div",{slot:"bottomtags"},this.data.proxioProduct.usp1?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp1):null,this.data.proxioProduct.usp2?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp2):null,this.data.proxioProduct.usp3?e("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp3):null),e("pn-illustration",{slot:"illustration",illustration:this.data.proxioProduct.productIcon}),e("div",{slot:"pricelink"},e("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.data.proxioProduct),link:this.getProductLink(this.data.proxioProduct,this.data.proxioProduct.productWeightGroupList),linktext:this.data.proxioProduct.productLinkText}),this.data.relatedProxioProducts?this.data.relatedProxioProducts.map((function(i){return e("pn-proxio-productcard-pricelink",{price:t.getPriceString(i),link:i.productLink,linktext:i.productLinkText})})):null))):null)};return t}());d.style=s}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js","./p-a179066e.system.js","./p-0cb0317e.system.js"],(function(e){"use strict";var n,t,o,i,s;return{setters:[function(e){n=e.r;t=e.h;o=e.a;i=e.g},function(e){s=e.s},function(){}],execute:function(){var r="pn-sidenav-togglebutton{display:block;width:100%;padding:0.8rem 1.6rem;background:#EFFBFF}@media screen and (min-width: 64em){pn-sidenav-togglebutton{display:none}}";var u=e("pn_sidenav_togglebutton",function(){function e(e){n(this,e);this.label="";this.i18n={open:"",close:"",navLabel:""}}e.prototype.onClick=function(){s.openMenu=!s.openMenu;var e=document.querySelector("body");e.setAttribute("data-siteheader-sidemenuopen",s.openMenu+"")};e.prototype.render=function(){return t(o,null,t("pn-button",{appearance:"light",icon:s.openMenu?"close-small":"bars","left-icon":true,small:true,onclick:this.onClick.bind(this),label:this.label},t("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());u.style=r}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(i){"use strict";var l,n,t;return{setters:[function(i){l=i.r;n=i.h;t=i.a}],execute:function(){var e='pn-link-list .link-list__heading{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-bottom:0.8rem}@media screen and (min-width: 992px){pn-link-list .link-list__heading{margin-bottom:1.6rem}}pn-link-list .link-list{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;overflow:hidden;margin:0;margin-bottom:2.4rem;padding:0}pn-link-list .link-list__container{overflow-x:auto;text-align:center;white-space:nowrap}pn-link-list .link-list__container.link-list__active a,pn-link-list .link-list__container.link-list__active li,pn-link-list .link-list__container.link-list__active ul{cursor:grab;cursor:-webkit-grab}pn-link-list .link-list__container::-webkit-scrollbar{height:0.4rem;margin-top:2rem;-webkit-appearance:none}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar{height:0.6rem}}pn-link-list .link-list__container::-webkit-scrollbar-thumb{background:#005D92;border-radius:2rem}pn-link-list .link-list__container::-webkit-scrollbar-track{background:#d3cecb;border-radius:2rem;width:100%;margin:0 5rem}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 10rem}}@media screen and (min-width: 1140px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 15rem}}@media screen and (min-width: 1440px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 20rem}}pn-link-list .link-list__container::-webkit-resizer{display:none}pn-link-list .link-list__container::before,pn-link-list .link-list__container::after{content:"";position:absolute;top:0;bottom:0;height:85%;width:10%}pn-link-list .link-list__container::before{background:-webkit-gradient(linear, right top, left top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);left:0}pn-link-list .link-list__container::after{background:-webkit-gradient(linear, left top, right top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);right:0}pn-link-list .link-list__scrollable{display:inline-block;padding:2rem 0 1rem}@media screen and (min-width: 992px){pn-link-list .link-list__scrollable{padding:0.5rem 2rem 1rem}}pn-link-list [slot=linklist] ul{display:-ms-flexbox;display:flex;list-style:none;margin:0;padding:0 1.6rem}pn-link-list [slot=linklist] li>a{display:block;color:#2D2013;font-size:1.4rem;font-weight:500;line-height:140%;text-decoration:none;cursor:pointer;background-color:#FFFFFF;border:0.1rem solid #D3CECB;border-radius:0.8rem;margin:0 0.8rem;padding:1rem}@media screen and (min-width: 1410px){pn-link-list [slot=linklist] li>a{font-size:1.6rem}}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:active,pn-link-list [slot=linklist] li>a:focus{color:#FFF}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:focus{background-color:#005D92}pn-link-list [slot=linklist] li>a:active{background-color:#0D234B}pn-link-list [slot=linklist] li>a:focus{outline:2px solid #005D92;outline-offset:2px}pn-link-list .link-list__button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@-moz-document url-prefix(){pn-link-list .link-list__container{scrollbar-color:#005D92 #d3cecb}pn-link-list .link-list__scrollable{padding:0 2rem 2rem}}';var s=i("pn_link_list",function(){function i(i){l(this,i);this.slider=null;this.heading=null;this.label=null;this.url=null;this.showMoreLabel=null;this.showMoreUrl=null;this.isDown=false;this.startX=0;this.scrollLeft=0}i.prototype.componentDidLoad=function(){this.slider=document.querySelector(".link-list__container")};i.prototype.handleMouseDown=function(i){var l,n,t;this.isDown=true;(l=this.slider)===null||l===void 0?void 0:l.classList.add("link-list__active");this.startX=i.pageX-((n=this.slider)===null||n===void 0?void 0:n.offsetLeft);this.scrollLeft=(t=this.slider)===null||t===void 0?void 0:t.scrollLeft};i.prototype.handleMouseLeave=function(){var i;this.isDown=false;(i=this.slider)===null||i===void 0?void 0:i.classList.remove("link-list__active")};i.prototype.handleMouseUp=function(){var i;this.isDown=false;(i=this.slider)===null||i===void 0?void 0:i.classList.remove("link-list__active")};i.prototype.handleMouseMove=function(i){var l;if(!this.isDown)return;var n=i.pageX-((l=this.slider)===null||l===void 0?void 0:l.offsetLeft);var t=(n-this.startX)*2;this.slider.scrollLeft=this.scrollLeft-t};i.prototype.render=function(){return n(t,null,n("div",{class:"link-list__heading"},n("h2",null,this.heading)),n("div",{class:"link-list"},n("div",{class:"link-list__container"},n("div",{class:"link-list__scrollable"},n("slot",{name:"linklist"})))),this.showMoreUrl?n("div",{class:"link-list__button"},n("pn-button",{appearance:"light",href:this.showMoreUrl},this.showMoreLabel)," "):"")};return i}());s.style=e}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var t,n,a,o,r,i;return{setters:[function(l){t=l.d;n=l.N;a=l.w;o=l.p;r=l.H;i=l.b;e("setNonce",l.s)}],execute:function(){var e=function(){{l(r.prototype)}var e=Array.from(t.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var i={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{i.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,a.location.href)).href}return o(i)};var l=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var a=this.childNodes;if(e){for(var o=0;o<a.length;o++){if(a[o].nodeType!==2){n.appendChild(a[o].cloneNode(true))}}}return n}};e().then((function(e){return i(JSON.parse('[["p-51fc7a64.system",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"pageId":[1,"page-id"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-ee42154f.system",[[0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"showMedium":[4,"show-medium"],"showInternational":[4,"show-international"],"maxAbroadKg":[2,"max-abroad-kg"],"weightListName":[1,"weight-list-name"],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"countrycodevalue":[32],"sizecategory":[32],"data":[32]}]]],["p-aa42b255.system",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["p-73ac15b9.system",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["p-7cee798b.system",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["p-bf85df01.system",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]]],["p-404703bc.system",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["p-6b98aefa.system",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"showSwan":[4,"show-swan"],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["p-978a7be6.system",[[4,"pn-media-block",{"blockHeight":[1,"block-height"],"imageSrc":[1,"image-src"],"imageSrcSmallScreenFormat":[1,"image-src-small-screen-format"],"imageAltText":[1,"image-alt-text"],"videoSrc":[1,"video-src"],"parallaxScroll":[4,"parallax-scroll"],"showOverlayLayer":[4,"show-overlay-layer"],"customOverlayBackground":[1,"custom-overlay-background"],"animateOverlayBackground":[4,"animate-overlay-background"],"scrollSnapBlock":[4,"scroll-snap-block"],"fixedBackground":[4,"fixed-background"],"blockHeading":[1,"block-heading"],"blockHeadingLevel":[2,"block-heading-level"],"blockPreamble":[1,"block-preamble"],"pnPlayOnScrollObserverOptions":[32],"calculatedBlockHeight":[32],"hasButtonSlot":[32]}]]],["p-5d253c27.system",[[0,"pn-multi-row-connected-dropdown",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleRows":[4,"allow-multiple-rows"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"rowCount":[32],"rowData":[32],"formValues":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["p-d9d3078b.system",[[0,"pn-dropdown-with-multi-input-rows",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"firstDropdownLabel":[1,"first-dropdown-label"],"firstDropdownHelperText":[1,"first-dropdown-helper-text"],"secondDropdownLabel":[1,"second-dropdown-label"],"secondDropdownHelperText":[1,"second-dropdown-helper-text"],"secondDropdownMax":[2,"second-dropdown-max"],"deleteMultipleRowsWarningText":[1,"delete-multiple-rows-warning-text"],"confirmDeleteButtonText":[1,"confirm-delete-button-text"],"abortDeleteButtonText":[1,"abort-delete-button-text"],"fristInputLabel":[1,"frist-input-label"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputLabel":[1,"second-input-label"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"sumFieldLabel":[1,"sum-field-label"],"addRowText":[1,"add-row-text"],"elementHelperText":[1,"element-helper-text"],"dropdownDataRoot":[32],"secondDropdownArr":[32],"rowCount":[32],"rowData":[32],"formValues":[32],"firstValidDateString":[32],"lastValidDateString":[32],"rowSum":[32],"minRowCount":[32],"showDelteConfirm":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"firstInputChange","predefinedValueChange"],[0,"secondInputChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["p-03593c2c.system",[[0,"pn-address-autofill",{"market":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"countryCode":[1,"country-code"],"postalCodeProps":[1,"postal-code-props"],"cityProps":[1,"city-props"],"streetAddressProps":[1,"street-address-props"],"streetNumberProps":[1,"street-number-props"],"streetAdressArr":[32],"streetNumberArr":[32],"city":[32],"postalCode":[32],"streetAddress":[32],"streetNumber":[32],"fullAddress":[32]}]]],["p-326d13ca.system",[[4,"pn-dropdown-choice-adds-row",{"dropdownData":[1,"dropdown-data"],"addRowDropdownName":[1,"add-row-dropdown-name"],"addRowDropdownPlaceholder":[1,"add-row-dropdown-placeholder"],"addRowDropdownLabel":[1,"add-row-dropdown-label"],"rowNameLabel":[1,"row-name-label"],"rowHasDropdown":[4,"row-has-dropdown"],"rowDropdownLabel":[1,"row-dropdown-label"],"rowDropdownPlaceholder":[1,"row-dropdown-placeholder"],"rowInputLabel":[1,"row-input-label"],"rowDeleteButtonText":[1,"row-delete-button-text"],"totalInputLimit":[2,"total-input-limit"],"inputLimitWarning":[1,"input-limit-warning"],"nextRowIndex":[32],"rowSelectDropdownArr":[32],"columnCount":[32],"showWarning":[32],"formValue":[32]}]]],["p-9508d1b3.system",[[0,"pn-multiple-input",{"label":[1],"placeholder":[1],"addRowButtonText":[1,"add-row-button-text"],"rowData":[32]}]]],["p-4c38b1b5.system",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-5a74b363.system",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["p-70f338c2.system",[[0,"pn-share",{"link":[1],"language":[1537],"i18n":[32]}]]],["p-f91eb6a9.system",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["p-66775d88.system",[[4,"pn-animated-tile",{"toggled":[32],"transitionClassName":[32],"animateIcon":[32]}]]],["p-16bb93bf.system",[[0,"pn-app-banner",{"appName":[1,"app-name"],"appDescription":[1,"app-description"],"ctaText":[1,"cta-text"],"appleStoreLink":[1,"apple-store-link"],"googleStoreLink":[1,"google-store-link"],"isClosed":[32],"storeLink":[32],"isLocalStorageAvailable":[32]}]]],["p-a19b539f.system",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["p-d9292bd0.system",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["p-b7cdb982.system",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-fa4c3121.system",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["p-7902d31a.system",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"ctaLinkText":[1,"cta-link-text"],"openInNewWindow":[4,"open-in-new-window"]}]]],["p-ad1f9612.system",[[4,"pn-cta-block",{"heading":[1],"bodyText":[1,"body-text"],"pnBackgroundColor":[1,"pn-background-color"],"isLarge":[4,"is-large"],"isCentered":[4,"is-centered"],"isSmall":[4,"is-small"],"contentTop":[4,"content-top"]}]]],["p-4fe46903.system",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["p-412669a4.system",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-2ed45e96.system",[[0,"pn-date-and-time",{"languageCode":[1,"language-code"],"dateAndTimeLabel":[1,"date-and-time-label"],"dateDaysFromToday":[2,"date-days-from-today"],"validTimeRangeMinutes":[2,"valid-time-range-minutes"],"errorMessage":[1,"error-message"],"dateHelperText":[1,"date-helper-text"],"timeHelperText":[1,"time-helper-text"],"disableWeekends":[4,"disable-weekends"],"datePlacehodler":[1,"date-placehodler"],"language":[32],"hourArr":[32],"minuteArr":[32],"formValue":[32],"invalidTimespan":[32],"selectedDate":[32],"selectedFromHour":[32],"selectedFromMin":[32],"selectedToHour":[32],"selectedToMin":[32],"firstValidDateString":[32],"lastValidDateString":[32]}]]],["p-1cfc9d10.system",[[0,"pn-line-shape"]]],["p-c24770fa.system",[[4,"pn-link-list",{"heading":[1],"label":[1],"url":[1],"showMoreLabel":[1,"show-more-label"],"showMoreUrl":[1,"show-more-url"],"isDown":[32],"startX":[32],"scrollLeft":[32]},[[1,"mousedown","handleMouseDown"],[1,"mouseleave","handleMouseLeave"],[1,"mouseup","handleMouseUp"],[1,"mousemove","handleMouseMove"]]]]],["p-97a9ce4f.system",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["p-739f296c.system",[[4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]]],["p-6368e239.system",[[4,"pn-product-tile"]]],["p-95189aa2.system",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["p-a1294675.system",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["p-9b758fa4.system",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["p-6ca7eb0a.system",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["p-3076020a.system",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["p-4ee4767f.system",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-376b860e.system",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["p-9f49664e.system",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["p-7a2d4f1a.system",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-d3d78acd.system",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["p-7b7ca449.system",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-bfee099c.system",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["p-894178a2.system",[[4,"pn-spotlight",{"heading":[1],"preamble":[1],"isDynamic":[4,"is-dynamic"],"addDynamic":[32]}]]],["p-e372332f.system",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["p-346c3772.system",[[4,"pn-usp-promoter",{"heading":[1],"headingExtension":[1,"heading-extension"],"bodyText":[1,"body-text"],"backgroundGradient":[1,"background-gradient"],"fullWidth":[4,"full-width"],"rightAlign":[4,"right-align"],"hideMobileImage":[4,"hide-mobile-image"]}]]],["p-02dba6d3.system",[[0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"showInternational":[4,"show-international"],"selectedCountrycode":[1,"selected-countrycode"],"market":[1],"language":[1025],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]]],["p-2b374219.system",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["p-a57848a9.system",[[0,"pn-multi-row-connected-dropdown-row",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"index":[2],"predefinedValue":[1,"predefined-value"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"buttonsArray":[32],"firstDropdownArr":[32],"secondDropdownArr":[32],"firstDropdownClass":[32],"secondDropdownClass":[32],"firstValidDateString":[32],"lastValidDateString":[32],"firstDropdownPlaceholder":[32],"secondDropdownPlaceholder":[32],"starDateValue":[32],"endDateValue":[32],"generatedDatesArr":[32],"selectedButtonValue":[32],"inputFieldValue":[32],"dateValue":[32],"daysArr":[32]}]]],["p-3542525e.system",[[0,"pn-play-on-scroll",{"videoSrc":[1,"video-src"],"observerOptions":[16],"showOverlay":[4,"show-overlay"],"videoId":[32],"isManuallyPaused":[32],"isPaused":[32]}]]],["p-1c43dc8d.system",[[0,"pn-dropdown-with-multi-input-rows-row",{"languageCode":[1,"language-code"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"firstValidDate":[1,"first-valid-date"],"lastValidDate":[1,"last-valid-date"],"predefinedValue":[1,"predefined-value"],"rowIndex":[2,"row-index"],"minRowCount":[2,"min-row-count"],"showFirstInputWarning":[32],"showFirstInputLowError":[32],"showFirstInputHighError":[32],"showSecondInputWarning":[32],"showSecondInputLowError":[32],"showSecondInputHighError":[32],"firstInputValue":[32],"secondInputValue":[32],"dateValue":[32]}]]],["p-78ee80d4.system",[[4,"pn-share-item",{"link":[1],"text":[1]}]]],["p-e11eb99c.system",[[0,"pn-stats-info-data",{"format":[1],"formatStyle":[1,"format-style"],"startValue":[2,"start-value"],"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["p-16f566e4.system",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["p-b1b0f5e9.system",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-6bdbfdf2.system",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-e251b0c2.system",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}],[0,"pn-swan",{"licenseNumber":[1,"license-number"],"language":[1537],"linkTo":[1,"link-to"],"i18n":[32]}]]],["p-a5eaa1b6.system",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-2ea64615.system",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["p-c94586e5.system",[[4,"pn-scroll",{"observerOptions":[16],"behaviourClasses":[1,"behaviour-classes"],"transitionDurationSeconds":[2,"transition-duration-seconds"],"shouldLoop":[4,"should-loop"],"intersectFunc":[16],"notIntersectFunc":[16],"compId":[32]}],[0,"pn-video-overlay",{"language":[1],"isPaused":[4,"is-paused"],"showOverlay":[4,"show-overlay"],"i18n":[32]}]]],["p-5cf6111c.system",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"showUnifiedLogin":[4,"show-unified-login"]}]]],["p-d15bca21.system",[[4,"pn-titletag",{"icon":[1],"color":[1537]}]]],["p-7613b490.system",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["p-65e9ed4b.system",[[0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}],[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1],"showUnifiedLogin":[4,"show-unified-login"]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}],[0,"pn-marketweb-siteheader-login-button",{"label":[1]}],[0,"pn-marketweb-siteheader-login-mypage-button",{"label":[1],"myPageUrl":[1,"my-page-url"]}]]],["p-81b5430c.system",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"environment":[1],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["p-8a8fe9b8.system",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"vatText":[1,"vat-text"],"link":[1],"linktext":[1]}]]],["p-ef910604.system",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]]]'),e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,a as l,g as n}from"./p-9dd478d9.js";import{d as e}from"./p-4e3d7a56.js";import{v as h}from"./p-d3d7fec8.js";const o=class{constructor(s){t(this,s),this.allFormValues=i(this,"allFormValues",7),this.pnFirstDropdown=null,this.pnSecondDropdown=null,this.pnSumField=null,this.pnConfirmDeleteButton=null,this.pnAbortDeleteButton=null,this._firstDropdownSelection=null,this._secondDropdownSelection=null,this._defaultRow={id:this.generateUniqueId(),firstInput:"",secondInput:this.secondInputWarning.toString(),date:""},this.dropdownData=null,this.languageCode=null,this.firstDropdownLabel=null,this.firstDropdownHelperText=null,this.secondDropdownLabel=null,this.secondDropdownHelperText=null,this.secondDropdownMax=null,this.deleteMultipleRowsWarningText=null,this.confirmDeleteButtonText=null,this.abortDeleteButtonText=null,this.fristInputLabel=null,this.fristInputPlaceholder=null,this.firstInputMin=null,this.firstInputMax=null,this.firstInputWarning=null,this.firstInputWarningText=null,this.firstInputLowErrorText=null,this.firstInputHighErrorText=null,this.secondInputLabel=null,this.secondInputPlaceholder=null,this.secondInputMin=null,this.secondInputMax=null,this.secondInputWarning=null,this.secondInputWarningText=null,this.secondInputLowErrorText=null,this.secondInputHighErrorText=null,this.dateLabel=null,this.datePlaceholder=null,this.dateDaysFromToday=1,this.yearsToAddToEndDate=null,this.sumFieldLabel=null,this.addRowText=null,this.elementHelperText=null,this.dropdownDataRoot=null,this.secondDropdownArr=[],this.rowCount=null,this.rowData=null,this.formValues=null,this.firstValidDateString="",this.lastValidDateString="",this.rowSum=null,this.minRowCount=null,this.showDelteConfirm=!1}componentWillLoad(){this.formValues=[],this.setDropDownData(),this.updateSecondDropdown(),this.setRowData(),this.setFirstValidDate()}componentDidLoad(){this.updateSum()}setDropDownData(){var t;this.dropdownDataRoot="string"==typeof this.dropdownData?JSON.parse(this.dropdownData):this.dropdownData,(null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.length)&&this.dropdownDataRoot.forEach((t=>{t.value||(t.value=0)})),this.dropdownDataRoot.length>0&&(this.dropdownDataRoot[0].checked=!0,this._firstDropdownSelection=this.dropdownDataRoot[0].caption,this._secondDropdownSelection=this.dropdownDataRoot[0].value,this.minRowCount=this.dropdownDataRoot[0].value)}updateSecondDropdown(){const t=this.dropdownDataRoot.find((t=>!0===t.checked));this.secondDropdownArr=[];for(let i=t.value;i<=this.secondDropdownMax;i++)this.secondDropdownArr.push(i)}updateSelectItemArr(t,i){return t.forEach((t=>{t.checked=t.caption===i&&!t.checked})),t}setRowData(){this.rowData=[];for(let t=0;t<this._secondDropdownSelection;t++){const t=Object.assign({},this._defaultRow);t.id=this.generateUniqueId(),this.rowData=[...this.rowData,t]}this.rowCount=this.rowData.length}generateUniqueId(){return h()}setFirstValidDate(){var t;const i=this.yearsToAddToEndDate?this.yearsToAddToEndDate:2,s=new Date;s.setDate(null!==(t=s.getDate()+this.dateDaysFromToday)&&void 0!==t?t:0);const l=s.getFullYear(),n=(s.getMonth()+1).toString().padStart(2,"0"),e=s.getDate().toString().padStart(2,"0"),h=l+i;this.firstValidDateString=`${l.toString()}-${n}-${e}`,this.lastValidDateString=`${h.toString()}-${n}-${e}`}addRow(t){const i=Object.assign({},this.rowData[0]);i.id=t||this.generateUniqueId(),i.date="",this.rowData=[...this.rowData,i],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.updateSum(),this.emitValuesIfValid()}handleFirstDropdown(){const t=this.pnFirstDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;this.dropdownDataRoot.forEach((t=>{t.checked=!1}));const s=this.dropdownDataRoot.find((t=>t.caption===i));if(s.checked=!0,this._firstDropdownSelection=s.caption,this.minRowCount=s.value,s.value>this._secondDropdownSelection){this.dropdownDataRoot=[...this.dropdownDataRoot];for(let t=this.rowCount;t<s.value;t++)this.addRow(this.generateUniqueId())}this.updateSecondDropdown(),this.updateSum(),this.emitValuesIfValid()}handleSecondDropdown(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=parseInt(i);if(s<this._secondDropdownSelection)this.showDelteConfirm=!0;else for(let l=this.rowCount;l<s;l++)this.addRow(this.generateUniqueId());this.updateSum(),this.emitValuesIfValid()}predefinedValueChange(t){const i=this.rowData.findIndex((i=>i.id===t.detail.id)),s=t.detail;this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:s.firstInput,secondInput:s.secondInput,date:s.date}),"firstInputChange"===t.type&&0===i&&this.updateFirstInputOfRows(s.firstInput),"secondInputChange"===t.type&&0===i&&this.updateSecondInputOfRows(s.secondInput),this.rowData=[...this.rowData],this.emitValuesIfValid(),this.updateSum()}updateFirstInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:t})}updateSecondInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{secondInput:t})}deleteRowEvent(t){const i=this.rowData.findIndex((i=>i.id===t.detail));i<0||(this.rowData.splice(i,1),this.rowData=[...this.rowData],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.emitValuesIfValid(),this.updateSum())}updateSum(){this.rowSum="";let t=0;this.rowData.forEach((i=>{var s;(null===(s=null==i?void 0:i.firstInput)||void 0===s?void 0:s.length)&&(t+=parseInt(i.firstInput))})),this.rowSum=t.toString()}deleteExcessRows(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=this.rowCount-parseInt(i);for(let l=0;l<s;l++)this.rowData.pop();this.rowData=[...this.rowData],this.showDelteConfirm=!1,this.updateSum()}abortDeleteRows(){this.showDelteConfirm=!1}emitValuesIfValid(){if(this.formValues=[],this.rowData.forEach((t=>{var i,s,l,n;const e={row:[]};(null===(i=this._firstDropdownSelection)||void 0===i?void 0:i.length)&&e.row.push({name:this.firstDropdownLabel,value:this._firstDropdownSelection}),(null===(s=t.firstInput)||void 0===s?void 0:s.length)&&e.row.push({name:this.fristInputLabel,value:t.firstInput}),(null===(l=t.secondInput)||void 0===l?void 0:l.length)&&e.row.push({name:this.secondInputLabel,value:t.secondInput}),(null===(n=t.date)||void 0===n?void 0:n.length)&&e.row.push({name:this.dateLabel,value:t.date}),4===e.row.length&&this.formValues.push(e)})),this.formValues.length===this.rowData.length){const t=JSON.stringify(this.formValues);this.allFormValues.emit(t)}else this.allFormValues.emit("")}render(){var t,i,n,h,o,u;return s(l,{class:"dropdown-with-multi-input-elemet"},s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnFirstDropdown=t,class:"pn-row-select-dropdown dropDown1-dropdown",label:this.firstDropdownLabel},null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.map(((t,i)=>s("pn-option",{index:i,value:t.value,selected:t.checked,onClick:e.debounce(this.handleFirstDropdown.bind(this),500)},t.caption)))),(null===(i=this.firstDropdownHelperText)||void 0===i?void 0:i.length)?s("small",null,this.firstDropdownHelperText):null)),s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnSecondDropdown=t,class:"pn-row-select-dropdown dropDown2-dropdown",label:this.secondDropdownLabel},null===(n=this.secondDropdownArr)||void 0===n?void 0:n.map(((t,i)=>s("pn-option",{index:i,value:t,selected:t===this._secondDropdownSelection,onClick:e.debounce(this.handleSecondDropdown.bind(this),500)},t)))),(null===(h=this.secondDropdownHelperText)||void 0===h?void 0:h.length)?s("small",null,this.secondDropdownHelperText):null)),this.showDelteConfirm?s("div",{class:"dropdown-with-multi-input-elemet__delete"},s("p",null,this.deleteMultipleRowsWarningText),s("pn-button",{ref:t=>this.pnConfirmDeleteButton=t,small:"true",appearance:"warning",onClick:this.deleteExcessRows.bind(this)},this.confirmDeleteButtonText),s("pn-button",{ref:t=>this.pnAbortDeleteButton=t,small:"true",appearance:"light",onClick:this.abortDeleteRows.bind(this)},this.abortDeleteButtonText)):null,s("div",{class:"dropdown-with-multi-input-elemet__label-row"},s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.fristInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.secondInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.dateLabel))),null===(o=this.rowData)||void 0===o?void 0:o.map(((t,i)=>s("div",{class:"dropdown-with-multi-input-elemet__row generated-row-"+i,id:"generated-row-"+i},s("pn-dropdown-with-multi-input-rows-row",{"language-code":this.languageCode,"frist-input-placeholder":this.fristInputPlaceholder,"first-input-min":this.firstInputMin,"first-input-max":this.firstInputMax,"first-input-warning":this.firstInputWarning,"first-input-warning-text":this.firstInputWarningText,"first-input-low-error-text":this.firstInputLowErrorText,"first-input-high-error-text":this.firstInputHighErrorText,"second-input-placeholder":this.secondInputPlaceholder,"second-input-min":this.secondInputMin,"second-input-max":this.secondInputMax,"second-input-warning":this.secondInputWarning,"second-input-warning-text":this.secondInputWarningText,"second-input-low-error-text":this.secondInputLowErrorText,"second-input-high-error-text":this.secondInputHighErrorText,datePlaceholder:this.datePlaceholder,firstValidDate:this.firstValidDateString,lastValidDate:this.lastValidDateString,"predefined-value":JSON.stringify(t),"min-row-count":this.minRowCount,"row-index":i})))),s("div",{class:"dropdown-with-multi-input-elemet__row sum-row"},s("pn-marketweb-input",{disabled:!0,ref:t=>this.pnSumField=t,type:"number",value:this.rowSum,label:this.sumFieldLabel}),s("pn-button",{"icon-only":!this.addRowText,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow(this.generateUniqueId())}},this.addRowText)),(null===(u=this.elementHelperText)||void 0===u?void 0:u.length)?s("div",{class:"dropdown-with-multi-input-elemet__row"},this.elementHelperText):null)}get hostElement(){return n(this)}};o.style="pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__row{margin-bottom:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem;padding:1rem;background-color:#F9F8F8}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete pn-button{margin-top:0.9rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label-row{display:-ms-flexbox;display:flex;gap:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label{width:30%;font-size:0.875em;color:#5e554a}pn-dropdown-with-multi-input-rows .sum-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";export{o as pn_dropdown_with_multi_input_rows}
|
|
1
|
+
import{r as t,c as i,h as s,a as l,g as n}from"./p-5a55d3ef.js";import{d as e}from"./p-4e3d7a56.js";import{v as h}from"./p-d3d7fec8.js";const o=class{constructor(s){t(this,s),this.allFormValues=i(this,"allFormValues",7),this.pnFirstDropdown=null,this.pnSecondDropdown=null,this.pnSumField=null,this.pnConfirmDeleteButton=null,this.pnAbortDeleteButton=null,this._firstDropdownSelection=null,this._secondDropdownSelection=null,this._defaultRow={id:this.generateUniqueId(),firstInput:"",secondInput:this.secondInputWarning.toString(),date:""},this.dropdownData=null,this.languageCode=null,this.firstDropdownLabel=null,this.firstDropdownHelperText=null,this.secondDropdownLabel=null,this.secondDropdownHelperText=null,this.secondDropdownMax=null,this.deleteMultipleRowsWarningText=null,this.confirmDeleteButtonText=null,this.abortDeleteButtonText=null,this.fristInputLabel=null,this.fristInputPlaceholder=null,this.firstInputMin=null,this.firstInputMax=null,this.firstInputWarning=null,this.firstInputWarningText=null,this.firstInputLowErrorText=null,this.firstInputHighErrorText=null,this.secondInputLabel=null,this.secondInputPlaceholder=null,this.secondInputMin=null,this.secondInputMax=null,this.secondInputWarning=null,this.secondInputWarningText=null,this.secondInputLowErrorText=null,this.secondInputHighErrorText=null,this.dateLabel=null,this.datePlaceholder=null,this.dateDaysFromToday=1,this.yearsToAddToEndDate=null,this.sumFieldLabel=null,this.addRowText=null,this.elementHelperText=null,this.dropdownDataRoot=null,this.secondDropdownArr=[],this.rowCount=null,this.rowData=null,this.formValues=null,this.firstValidDateString="",this.lastValidDateString="",this.rowSum=null,this.minRowCount=null,this.showDelteConfirm=!1}componentWillLoad(){this.formValues=[],this.setDropDownData(),this.updateSecondDropdown(),this.setRowData(),this.setFirstValidDate()}componentDidLoad(){this.updateSum()}setDropDownData(){var t;this.dropdownDataRoot="string"==typeof this.dropdownData?JSON.parse(this.dropdownData):this.dropdownData,(null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.length)&&this.dropdownDataRoot.forEach((t=>{t.value||(t.value=0)})),this.dropdownDataRoot.length>0&&(this.dropdownDataRoot[0].checked=!0,this._firstDropdownSelection=this.dropdownDataRoot[0].caption,this._secondDropdownSelection=this.dropdownDataRoot[0].value,this.minRowCount=this.dropdownDataRoot[0].value)}updateSecondDropdown(){const t=this.dropdownDataRoot.find((t=>!0===t.checked));this.secondDropdownArr=[];for(let i=t.value;i<=this.secondDropdownMax;i++)this.secondDropdownArr.push(i)}updateSelectItemArr(t,i){return t.forEach((t=>{t.checked=t.caption===i&&!t.checked})),t}setRowData(){this.rowData=[];for(let t=0;t<this._secondDropdownSelection;t++){const t=Object.assign({},this._defaultRow);t.id=this.generateUniqueId(),this.rowData=[...this.rowData,t]}this.rowCount=this.rowData.length}generateUniqueId(){return h()}setFirstValidDate(){var t;const i=this.yearsToAddToEndDate?this.yearsToAddToEndDate:2,s=new Date;s.setDate(null!==(t=s.getDate()+this.dateDaysFromToday)&&void 0!==t?t:0);const l=s.getFullYear(),n=(s.getMonth()+1).toString().padStart(2,"0"),e=s.getDate().toString().padStart(2,"0"),h=l+i;this.firstValidDateString=`${l.toString()}-${n}-${e}`,this.lastValidDateString=`${h.toString()}-${n}-${e}`}addRow(t){const i=Object.assign({},this.rowData[0]);i.id=t||this.generateUniqueId(),i.date="",this.rowData=[...this.rowData,i],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.updateSum(),this.emitValuesIfValid()}handleFirstDropdown(){const t=this.pnFirstDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;this.dropdownDataRoot.forEach((t=>{t.checked=!1}));const s=this.dropdownDataRoot.find((t=>t.caption===i));if(s.checked=!0,this._firstDropdownSelection=s.caption,this.minRowCount=s.value,s.value>this._secondDropdownSelection){this.dropdownDataRoot=[...this.dropdownDataRoot];for(let t=this.rowCount;t<s.value;t++)this.addRow(this.generateUniqueId())}this.updateSecondDropdown(),this.updateSum(),this.emitValuesIfValid()}handleSecondDropdown(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=parseInt(i);if(s<this._secondDropdownSelection)this.showDelteConfirm=!0;else for(let l=this.rowCount;l<s;l++)this.addRow(this.generateUniqueId());this.updateSum(),this.emitValuesIfValid()}predefinedValueChange(t){const i=this.rowData.findIndex((i=>i.id===t.detail.id)),s=t.detail;this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:s.firstInput,secondInput:s.secondInput,date:s.date}),"firstInputChange"===t.type&&0===i&&this.updateFirstInputOfRows(s.firstInput),"secondInputChange"===t.type&&0===i&&this.updateSecondInputOfRows(s.secondInput),this.rowData=[...this.rowData],this.emitValuesIfValid(),this.updateSum()}updateFirstInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:t})}updateSecondInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{secondInput:t})}deleteRowEvent(t){const i=this.rowData.findIndex((i=>i.id===t.detail));i<0||(this.rowData.splice(i,1),this.rowData=[...this.rowData],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.emitValuesIfValid(),this.updateSum())}updateSum(){this.rowSum="";let t=0;this.rowData.forEach((i=>{var s;(null===(s=null==i?void 0:i.firstInput)||void 0===s?void 0:s.length)&&(t+=parseInt(i.firstInput))})),this.rowSum=t.toString()}deleteExcessRows(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=this.rowCount-parseInt(i);for(let l=0;l<s;l++)this.rowData.pop();this.rowData=[...this.rowData],this.showDelteConfirm=!1,this.updateSum()}abortDeleteRows(){this.showDelteConfirm=!1}emitValuesIfValid(){if(this.formValues=[],this.rowData.forEach((t=>{var i,s,l,n;const e={row:[]};(null===(i=this._firstDropdownSelection)||void 0===i?void 0:i.length)&&e.row.push({name:this.firstDropdownLabel,value:this._firstDropdownSelection}),(null===(s=t.firstInput)||void 0===s?void 0:s.length)&&e.row.push({name:this.fristInputLabel,value:t.firstInput}),(null===(l=t.secondInput)||void 0===l?void 0:l.length)&&e.row.push({name:this.secondInputLabel,value:t.secondInput}),(null===(n=t.date)||void 0===n?void 0:n.length)&&e.row.push({name:this.dateLabel,value:t.date}),4===e.row.length&&this.formValues.push(e)})),this.formValues.length===this.rowData.length){const t=JSON.stringify(this.formValues);this.allFormValues.emit(t)}else this.allFormValues.emit("")}render(){var t,i,n,h,o,u;return s(l,{class:"dropdown-with-multi-input-elemet"},s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnFirstDropdown=t,class:"pn-row-select-dropdown dropDown1-dropdown",label:this.firstDropdownLabel},null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.map(((t,i)=>s("pn-option",{index:i,value:t.value,selected:t.checked,onClick:e.debounce(this.handleFirstDropdown.bind(this),500)},t.caption)))),(null===(i=this.firstDropdownHelperText)||void 0===i?void 0:i.length)?s("small",null,this.firstDropdownHelperText):null)),s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnSecondDropdown=t,class:"pn-row-select-dropdown dropDown2-dropdown",label:this.secondDropdownLabel},null===(n=this.secondDropdownArr)||void 0===n?void 0:n.map(((t,i)=>s("pn-option",{index:i,value:t,selected:t===this._secondDropdownSelection,onClick:e.debounce(this.handleSecondDropdown.bind(this),500)},t)))),(null===(h=this.secondDropdownHelperText)||void 0===h?void 0:h.length)?s("small",null,this.secondDropdownHelperText):null)),this.showDelteConfirm?s("div",{class:"dropdown-with-multi-input-elemet__delete"},s("p",null,this.deleteMultipleRowsWarningText),s("pn-button",{ref:t=>this.pnConfirmDeleteButton=t,small:"true",appearance:"warning",onClick:this.deleteExcessRows.bind(this)},this.confirmDeleteButtonText),s("pn-button",{ref:t=>this.pnAbortDeleteButton=t,small:"true",appearance:"light",onClick:this.abortDeleteRows.bind(this)},this.abortDeleteButtonText)):null,s("div",{class:"dropdown-with-multi-input-elemet__label-row"},s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.fristInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.secondInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.dateLabel))),null===(o=this.rowData)||void 0===o?void 0:o.map(((t,i)=>s("div",{class:"dropdown-with-multi-input-elemet__row generated-row-"+i,id:"generated-row-"+i},s("pn-dropdown-with-multi-input-rows-row",{"language-code":this.languageCode,"frist-input-placeholder":this.fristInputPlaceholder,"first-input-min":this.firstInputMin,"first-input-max":this.firstInputMax,"first-input-warning":this.firstInputWarning,"first-input-warning-text":this.firstInputWarningText,"first-input-low-error-text":this.firstInputLowErrorText,"first-input-high-error-text":this.firstInputHighErrorText,"second-input-placeholder":this.secondInputPlaceholder,"second-input-min":this.secondInputMin,"second-input-max":this.secondInputMax,"second-input-warning":this.secondInputWarning,"second-input-warning-text":this.secondInputWarningText,"second-input-low-error-text":this.secondInputLowErrorText,"second-input-high-error-text":this.secondInputHighErrorText,datePlaceholder:this.datePlaceholder,firstValidDate:this.firstValidDateString,lastValidDate:this.lastValidDateString,"predefined-value":JSON.stringify(t),"min-row-count":this.minRowCount,"row-index":i})))),s("div",{class:"dropdown-with-multi-input-elemet__row sum-row"},s("pn-marketweb-input",{disabled:!0,ref:t=>this.pnSumField=t,type:"number",value:this.rowSum,label:this.sumFieldLabel}),s("pn-button",{"icon-only":!this.addRowText,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow(this.generateUniqueId())}},this.addRowText)),(null===(u=this.elementHelperText)||void 0===u?void 0:u.length)?s("div",{class:"dropdown-with-multi-input-elemet__row"},this.elementHelperText):null)}get hostElement(){return n(this)}};o.style="pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__row{margin-bottom:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem;padding:1rem;background-color:#F9F8F8}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete pn-button{margin-top:0.9rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label-row{display:-ms-flexbox;display:flex;gap:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label{width:30%;font-size:0.875em;color:#5e554a}pn-dropdown-with-multi-input-rows .sum-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";export{o as pn_dropdown_with_multi_input_rows}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js","./p-e351523a.system.js"],(function(e){"use strict";var t,n,i,o,a,r;return{setters:[function(e){t=e.r;n=e.h;i=e.a;o=e.g;a=e.c},function(e){r=e.v}],execute:function(){var l="pn-scroll .scroll-wrapper{-webkit-transition:all var(--transition-duration) ease-in-out 250ms;transition:all var(--transition-duration) ease-in-out 250ms}pn-scroll .scroll-wrapper.fade{opacity:0}pn-scroll .scroll-wrapper.fade.in-view{opacity:1}pn-scroll .scroll-wrapper.slide-up{-webkit-transform:translateY(50px);transform:translateY(50px)}pn-scroll .scroll-wrapper.slide-up.in-view{-webkit-transform:translateY(0);transform:translateY(0)}";var s={root:null,threshold:0,rootMargin:"0px 0px -150px 0px"};var d="pn-scroll-wrapper-id-";var c=e("pn_scroll",function(){function e(e){t(this,e);this.observerOptions=s;this.behaviourClasses="fade slide-up";this.transitionDurationSeconds=.5;this.shouldLoop=false;this.intersectFunc=undefined;this.notIntersectFunc=undefined;this.compId=null}e.prototype.generateUniqueId=function(){return r()};e.prototype.handleIntersection=function(e,t,n,i,o){e.forEach((function(e){if(!o){if(!e.isIntersecting){i===null||i===void 0?void 0:i(e,t);return}e.target.classList.add("in-view");n===null||n===void 0?void 0:n(e,t);t.unobserve(e.target)}else{e.target.classList.toggle("in-view",e.isIntersecting);if(e.isIntersecting){n===null||n===void 0?void 0:n(e,t)}else{i===null||i===void 0?void 0:i(e,t)}}}))};e.prototype.componentWillLoad=function(){this.compId=this.generateUniqueId()};e.prototype.componentDidLoad=function(){var e=this;var t=new IntersectionObserver((function(t,n){return e.handleIntersection(t,n,e.intersectFunc,e.notIntersectFunc,e.shouldLoop)}),this.observerOptions);var n=document.getElementById("".concat(d).concat(this.compId));t.observe(n)};e.prototype.render=function(){return n(i,null,n("div",{class:"scroll-wrapper ".concat(this.behaviourClasses),id:"".concat(d).concat(this.compId),style:{"--transition-duration":"".concat(this.transitionDurationSeconds,"s")}},n("slot",{name:"scroll-affected"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=l;var u={sv:{ariaLabel:"Spela eller pausa video"},en:{ariaLabel:"Play or pause video"},da:{ariaLabel:"Afspil eller sæt video på pause"},no:{ariaLabel:"Spill av eller sett video på pause"},fi:{ariaLabel:"Toista tai keskeytä video"},de:{ariaLabel:"Video abspielen oder anhalten"},zh:{sharelabel:"Play or pause video"},it:{sharelabel:"Play or pause video"},nl:{sharelabel:"Play or pause video"}};var p="pn-video-overlay.pn-video-overlay--show-overlay{position:absolute;width:100%;height:100%;background:radial-gradient(circle, rgba(13, 35, 75, 0.68) 7%, rgba(13, 35, 75, 0) 80%)}pn-video-overlay button{position:absolute;bottom:8px;left:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;padding:0;border:none;outline:none;cursor:pointer;background-color:transparent}@media screen and (min-width: 768px){pn-video-overlay button{bottom:16px;left:16px}}pn-video-overlay button:hover svg rect{fill:#003d5f}pn-video-overlay button:active svg rect{fill:#001c2c}pn-video-overlay button:focus,pn-video-overlay button:focus-visible{outline:2px solid #FFFFFF}pn-video-overlay button svg{scale:0.7}@media screen and (min-width: 768px){pn-video-overlay button svg{scale:1}}";var h=e("pn_video_overlay",function(){function e(e){var i=this;t(this,e);this.playPauseClicked=a(this,"playPauseClicked",7);this.handlePlayPauseClicked=function(){i.playPauseClicked.emit()};this.renderPlayIcon=function(){return n("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("rect",{width:"64",height:"64",rx:"32",fill:"#005D92"}),n("path",{d:"M8 32C8 18.7305 18.7305 8 32 8C38.6401 8 44.5751 10.6887 48.9432 15.0568C49.5851 15.6988 49.5851 16.7396 48.9432 17.3815C48.3012 18.0235 47.2604 18.0235 46.6185 17.3815C42.8331 13.5962 37.7215 11.2877 32 11.2877C20.5462 11.2877 11.2877 20.5462 11.2877 32C11.2877 43.4538 20.5462 52.7123 32 52.7123C43.4538 52.7123 52.7123 43.4538 52.7123 32C52.7123 31.0921 53.4483 30.3562 54.3562 30.3562C55.264 30.3562 56 31.0921 56 32C56 45.2695 45.2695 56 32 56C18.7305 56 8 45.2695 8 32Z",fill:"white"}),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.5996 20.0577C25.1064 19.7636 25.7315 19.7615 26.2402 20.0522L44.6512 30.5728C45.1634 30.8654 45.4795 31.4101 45.4795 32C45.4795 32.5899 45.1634 33.1346 44.6512 33.4272L26.2402 43.9478C25.7315 44.2385 25.1064 44.2364 24.5996 43.9423C24.0928 43.6482 23.7808 43.1065 23.7808 42.5205V21.4795C23.7808 20.8935 24.0928 20.3518 24.5996 20.0577ZM27.0685 39.6879L40.5224 32L27.0685 24.3121V39.6879Z",fill:"white"}),n("path",{d:"M51.0685 19.1781C50.1606 19.1781 49.4247 19.9141 49.4247 20.8219C49.4247 21.7298 50.1606 22.4658 51.0685 22.4658H51.0816C51.9895 22.4658 52.7255 21.7298 52.7255 20.8219C52.7255 19.9141 51.9895 19.1781 51.0816 19.1781H51.0685Z",fill:"white"}))};this.renderPauseIcon=function(){return n("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("rect",{width:"64",height:"64",rx:"32",fill:"#005D92"}),n("path",{d:"M32 8C18.7305 8 8 18.7305 8 32C8 45.2695 18.7305 56 32 56C45.2695 56 56 45.2695 56 32C56 31.0921 55.264 30.3562 54.3562 30.3562C53.4483 30.3562 52.7123 31.0921 52.7123 32C52.7123 43.4538 43.4538 52.7123 32 52.7123C20.5462 52.7123 11.2877 43.4538 11.2877 32C11.2877 20.5462 20.5462 11.2877 32 11.2877C37.7215 11.2877 42.8331 13.5962 46.6185 17.3815C47.2604 18.0235 48.3012 18.0235 48.9432 17.3815C49.5851 16.7396 49.5851 15.6988 48.9432 15.0568C44.5751 10.6887 38.6401 8 32 8Z",fill:"white"}),n("path",{d:"M51.0685 19.1781C50.1606 19.1781 49.4247 19.9141 49.4247 20.8219C49.4247 21.7298 50.1606 22.4658 51.0685 22.4658H51.0816C51.9895 22.4658 52.7255 21.7298 52.7255 20.8219C52.7255 19.9141 51.9895 19.1781 51.0816 19.1781H51.0685Z",fill:"white"}),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1729 24.1096C19.1729 21.7491 21.0865 19.8356 23.4469 19.8356H26.0771C28.4375 19.8356 30.351 21.7491 30.351 24.1096V39.8904C30.351 42.2509 28.4375 44.1644 26.0771 44.1644H23.4469C21.0865 44.1644 19.1729 42.2509 19.1729 39.8904V24.1096ZM23.4469 23.1233C22.9022 23.1233 22.4606 23.5649 22.4606 24.1096V39.8904C22.4606 40.4351 22.9022 40.8767 23.4469 40.8767H26.0771C26.6218 40.8767 27.0634 40.4351 27.0634 39.8904V24.1096C27.0634 23.5649 26.6218 23.1233 26.0771 23.1233H23.4469Z",fill:"white"}),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37.7765 19.8356C35.4161 19.8356 33.5026 21.7491 33.5026 24.1096V39.8904C33.5026 42.2509 35.4161 44.1644 37.7765 44.1644H40.4067C42.7671 44.1644 44.6807 42.2509 44.6807 39.8904V24.1096C44.6807 21.7491 42.7671 19.8356 40.4067 19.8356H37.7765ZM36.7902 24.1096C36.7902 23.5649 37.2318 23.1233 37.7765 23.1233H40.4067C40.9514 23.1233 41.393 23.5649 41.393 24.1096V39.8904C41.393 40.4351 40.9514 40.8767 40.4067 40.8767H37.7765C37.2318 40.8767 36.7902 40.4351 36.7902 39.8904V24.1096Z",fill:"white"}))};this.language="en";this.isPaused=false;this.showOverlay=false;this.i18n=undefined}e.prototype.componentWillLoad=function(){this.setTranslations()};e.prototype.setTranslations=function(){if(this.language==="nb"){this.language="no"}if(this.language&&u[this.language]){this.i18n=u[this.language]}};e.prototype.onLanguageChange=function(){this.setTranslations()};e.prototype.render=function(){return n(i,{class:"pn-video-overlay ".concat(this.showOverlay?"pn-video-overlay--show-overlay":"")},n("button",{type:"button",id:"overlayed-button-pause-video","aria-label":"".concat(this.i18n.ariaLabel),onClick:this.handlePlayPauseClicked},this.isPaused?this.renderPlayIcon():this.renderPauseIcon()))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["onLanguageChange"]}},enumerable:false,configurable:true});return e}());h.style=p}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as n,a}from"./p-9dd478d9.js";const o=class{constructor(n){t(this,n),this.heading=void 0,this.dataArray='[ { "preamble": "Million parcels","formatStyle":"None", "format":"En","startValue":0, "data": 2023, "unit": null, "duration": 0 }, { "preamble": "Million parcels", "format": "En", "startValue":40, "data": 226, "unit": null, "duration": 1000 },{"preamble": "carbon dioxide emissions since 2009", "startValue":0, "format":"En", "formatStyle":"None", "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "startValue":100, "data": 226, "unit": null, "duration": 1000 }, {"preamble": "carbon dioxide emissions since 2009", "startValue": 30, "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "startValue": 20, "data": 226, "unit": null, "duration": 1000 }]',this.backgroundUrl=null,this.myParsedArray=JSON.parse(this.dataArray)}parseMyArrayProp(t){t&&(this.myParsedArray=JSON.parse(t))}render(){return n(a,null,n("div",{class:"pn-stats-info__container"},n("div",{class:"pn-stats-info__container__map",style:{backgroundImage:`url(${this.backgroundUrl})`}}),n("div",{class:"pn-stats-info-image-container"},n("slot",{name:"illustration"})),n("div",{class:"pn-stats-info__container__content",style:{backgroundImage:`url(${this.backgroundUrl})`}},n("h3",{class:"pn-stats-info__container__content__heading"},this.heading),n("div",{class:"pn-stats-info__container__content__data"},this.myParsedArray&&this.myParsedArray.map(((t,a)=>n("pn-stats-info-data",{index:a,startValue:t.startValue,data:t.data,unit:t.unit,preamble:t.preamble,duration:t.duration,format:t.format,formatStyle:t.formatStyle})))))))}static get watchers(){return{dataArray:["parseMyArrayProp"]}}};o.style="pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}pn-stats-info .pn-stats-info__container__map{display:none}pn-stats-info .pn-stats-info-image-container{display:none}pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:2.4rem 2.4rem 1.6rem;width:100%;background-color:#0D234B;border-radius:2.4rem}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content{padding:4rem 2.4rem 1.6rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content{padding:5.6rem 2.4rem 3.2rem}}pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n)~pn-stats-info-data{width:50%}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(1){width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2)~pn-stats-info-data{width:50%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n)~pn-stats-info-data{width:33%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8)~pn-stats-info-data{width:25%}}pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:0;padding:2.4rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:none;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{background-size:contain}}pn-stats-info[data-stats-image=background] .pn-stats-info-image-container{display:none}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;border-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{border-top-left-radius:0;border-bottom-left-radius:0;max-width:54rem;background-position:-999px -999px;background-size:0}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{max-width:100%}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content__data{min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:column;flex-direction:column;padding-top:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:row;flex-direction:row}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__map{display:none}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:block;position:relative}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]{border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]>picture>img{width:100%;height:auto;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem;border-bottom-left-radius:0;border-bottom-right-radius:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#0D234B;padding-left:4rem;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration] img{-webkit-clip-path:circle(50%);clip-path:circle(50%);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;aspect-ratio:1;max-width:45rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{width:100%;max-width:100%;border-bottom-right-radius:2.4rem;border-bottom-left-radius:2.4rem;border-top-right-radius:0;border-top-left-radius:0}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{-ms-flex-pack:center;justify-content:center}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{border-top-right-radius:2.4rem;border-bottom-right-radius:2.4rem;border-bottom-left-radius:0;max-width:100%}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__heading{font-size:4.8rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data{width:100%;height:auto;min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:5.6rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5.6rem;padding:2.4rem}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__data{font-size:5.6rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__unit{font-size:5.6rem}}.bleed-container:has(pn-stats-info){padding:0;margin-bottom:3rem;overflow:hidden}.bleed-container:has(pn-stats-info) .container>.mb-5{margin-bottom:0 !important}.bleed-container:has(pn-stats-info) .statsblock{margin-bottom:0 !important}.comboquotestatsblock pn-stats-info{width:100%}.comboquotestatsblock pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;padding-top:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:6rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:none}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{background-size:contain}}.comboquotestatsblock pn-stats-info .pn-stats-info-image-container{display:none}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:1rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;padding-bottom:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:54rem;background-position:-999px -999px;background-size:0;padding-bottom:4rem;padding-right:4rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:100%;padding-bottom:6rem;padding-right:6rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:20rem}@media screen and (min-width: 1640px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{width:65rem}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__map{background-color:#0D234B}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container [slot=illustration]{background-color:#0D234B}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:#0D234B}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content{color:#F06365}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__map{background-color:#005E41}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container [slot=illustration]{background-color:#005E41}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container{background-color:#005E41}}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-data__container__content{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__map{background-color:#EDFBF3}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container [slot=illustration]{background-color:#EDFBF3}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container{background-color:#EDFBF3}}pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=green25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__map{background-color:#e9e6e5}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container [slot=illustration]{background-color:#e9e6e5}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container{background-color:#e9e6e5}}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__map{background-color:#00A0D6}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container [slot=illustration]{background-color:#00A0D6}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container{background-color:#00A0D6}}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-data__container__content{color:#FFFFFF}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__map{background-color:#EFFBFF}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container [slot=illustration]{background-color:#EFFBFF}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container{background-color:#EFFBFF}}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__map{background-color:#fef7f6}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container [slot=illustration]{background-color:#fef7f6}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container{background-color:#fef7f6}}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__map{background-color:#F9F8F8}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container [slot=illustration]{background-color:#F9F8F8}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container{background-color:#F9F8F8}}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-data__container__content__preamble{color:#0D234B}";export{o as pn_stats_info}
|
|
1
|
+
import{r as t,h as n,a}from"./p-5a55d3ef.js";const o=class{constructor(n){t(this,n),this.heading=void 0,this.dataArray='[ { "preamble": "Million parcels","formatStyle":"None", "format":"En","startValue":0, "data": 2023, "unit": null, "duration": 0 }, { "preamble": "Million parcels", "format": "En", "startValue":40, "data": 226, "unit": null, "duration": 1000 },{"preamble": "carbon dioxide emissions since 2009", "startValue":0, "format":"En", "formatStyle":"None", "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "startValue":100, "data": 226, "unit": null, "duration": 1000 }, {"preamble": "carbon dioxide emissions since 2009", "startValue": 30, "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "startValue": 20, "data": 226, "unit": null, "duration": 1000 }]',this.backgroundUrl=null,this.myParsedArray=JSON.parse(this.dataArray)}parseMyArrayProp(t){t&&(this.myParsedArray=JSON.parse(t))}render(){return n(a,null,n("div",{class:"pn-stats-info__container"},n("div",{class:"pn-stats-info__container__map",style:{backgroundImage:`url(${this.backgroundUrl})`}}),n("div",{class:"pn-stats-info-image-container"},n("slot",{name:"illustration"})),n("div",{class:"pn-stats-info__container__content",style:{backgroundImage:`url(${this.backgroundUrl})`}},n("h3",{class:"pn-stats-info__container__content__heading"},this.heading),n("div",{class:"pn-stats-info__container__content__data"},this.myParsedArray&&this.myParsedArray.map(((t,a)=>n("pn-stats-info-data",{index:a,startValue:t.startValue,data:t.data,unit:t.unit,preamble:t.preamble,duration:t.duration,format:t.format,formatStyle:t.formatStyle})))))))}static get watchers(){return{dataArray:["parseMyArrayProp"]}}};o.style="pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}pn-stats-info .pn-stats-info__container__map{display:none}pn-stats-info .pn-stats-info-image-container{display:none}pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:2.4rem 2.4rem 1.6rem;width:100%;background-color:#0D234B;border-radius:2.4rem}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content{padding:4rem 2.4rem 1.6rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content{padding:5.6rem 2.4rem 3.2rem}}pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n)~pn-stats-info-data{width:50%}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(1){width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2)~pn-stats-info-data{width:50%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n)~pn-stats-info-data{width:33%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8)~pn-stats-info-data{width:25%}}pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:0;padding:2.4rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:none;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{background-size:contain}}pn-stats-info[data-stats-image=background] .pn-stats-info-image-container{display:none}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;border-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{border-top-left-radius:0;border-bottom-left-radius:0;max-width:54rem;background-position:-999px -999px;background-size:0}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{max-width:100%}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content__data{min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:column;flex-direction:column;padding-top:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:row;flex-direction:row}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__map{display:none}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:block;position:relative}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]{border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]>picture>img{width:100%;height:auto;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem;border-bottom-left-radius:0;border-bottom-right-radius:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#0D234B;padding-left:4rem;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration] img{-webkit-clip-path:circle(50%);clip-path:circle(50%);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;aspect-ratio:1;max-width:45rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{width:100%;max-width:100%;border-bottom-right-radius:2.4rem;border-bottom-left-radius:2.4rem;border-top-right-radius:0;border-top-left-radius:0}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{-ms-flex-pack:center;justify-content:center}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{border-top-right-radius:2.4rem;border-bottom-right-radius:2.4rem;border-bottom-left-radius:0;max-width:100%}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__heading{font-size:4.8rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data{width:100%;height:auto;min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:5.6rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5.6rem;padding:2.4rem}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__data{font-size:5.6rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__unit{font-size:5.6rem}}.bleed-container:has(pn-stats-info){padding:0;margin-bottom:3rem;overflow:hidden}.bleed-container:has(pn-stats-info) .container>.mb-5{margin-bottom:0 !important}.bleed-container:has(pn-stats-info) .statsblock{margin-bottom:0 !important}.comboquotestatsblock pn-stats-info{width:100%}.comboquotestatsblock pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;padding-top:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:6rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:none}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{background-size:contain}}.comboquotestatsblock pn-stats-info .pn-stats-info-image-container{display:none}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:1rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;padding-bottom:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:54rem;background-position:-999px -999px;background-size:0;padding-bottom:4rem;padding-right:4rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:100%;padding-bottom:6rem;padding-right:6rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:20rem}@media screen and (min-width: 1640px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{width:65rem}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__map{background-color:#0D234B}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container [slot=illustration]{background-color:#0D234B}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:#0D234B}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content{color:#F06365}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__map{background-color:#005E41}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container [slot=illustration]{background-color:#005E41}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-image-container{background-color:#005E41}}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-data__container__content{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendark] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__map{background-color:#EDFBF3}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container [slot=illustration]{background-color:#EDFBF3}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=green25] .pn-stats-info-image-container{background-color:#EDFBF3}}pn-stats-info[data-stats-background-color=green25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=green25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=green25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__map{background-color:#e9e6e5}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container [slot=illustration]{background-color:#e9e6e5}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-image-container{background-color:#e9e6e5}}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=gray100] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__map{background-color:#00A0D6}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container [slot=illustration]{background-color:#00A0D6}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-image-container{background-color:#00A0D6}}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-data__container__content{color:#FFFFFF}pn-stats-info[data-stats-background-color=bluedefault] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__map{background-color:#EFFBFF}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container [slot=illustration]{background-color:#EFFBFF}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-image-container{background-color:#EFFBFF}}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=blue25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__map{background-color:#fef7f6}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container [slot=illustration]{background-color:#fef7f6}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-image-container{background-color:#fef7f6}}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=coral25] .pn-stats-info-data__container__content__preamble{color:#0D234B}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__map{background-color:#F9F8F8}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container [slot=illustration]{background-color:#F9F8F8}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-image-container{background-color:#F9F8F8}}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=gray25] .pn-stats-info-data__container__content__preamble{color:#0D234B}";export{o as pn_stats_info}
|