@postnord/pn-marketweb-components 2.4.29 → 2.4.32

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.
Files changed (414) hide show
  1. package/cjs/{index-95e5b7f9.js → index-7ebb05d7.js} +1 -1
  2. package/cjs/{index-4199ff85.js → index-d6f2e2f9.js} +6 -0
  3. package/cjs/loader.cjs.js +2 -2
  4. package/cjs/pn-address-autofill.cjs.entry.js +1 -1
  5. package/cjs/pn-animated-tile.cjs.entry.js +1 -1
  6. package/cjs/pn-app-banner.cjs.entry.js +1 -1
  7. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
  8. package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
  9. package/cjs/pn-breakpoints.cjs.entry.js +1 -1
  10. package/cjs/pn-chart.cjs.entry.js +1 -1
  11. package/cjs/pn-charts-card.cjs.entry.js +1 -1
  12. package/cjs/pn-choice-button.cjs.entry.js +1 -1
  13. package/cjs/pn-cta-block.cjs.entry.js +1 -1
  14. package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
  15. package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
  16. package/cjs/pn-date-and-time.cjs.entry.js +1 -1
  17. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +1 -1
  18. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
  19. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
  20. package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
  21. package/cjs/pn-find-price-result.cjs.entry.js +3 -3
  22. package/cjs/{pn-find-price-store-e0d1e412.js → pn-find-price-store-1f005e0d.js} +1 -1
  23. package/cjs/pn-find-price.cjs.entry.js +3 -3
  24. package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
  25. package/cjs/{pn-find-service-and-price-store-6e26630d.js → pn-find-service-and-price-store-0b544d1e.js} +1 -1
  26. package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
  27. package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
  28. package/cjs/pn-line-shape.cjs.entry.js +1 -1
  29. package/cjs/pn-link-list.cjs.entry.js +57 -0
  30. package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
  31. package/cjs/{pn-mainnav-store-8c337865.js → pn-mainnav-store-a31c1d1e.js} +1 -1
  32. package/cjs/pn-market-web-components.cjs.js +2 -2
  33. package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
  34. package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
  35. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
  36. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +3 -3
  37. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
  38. package/cjs/{pn-marketweb-siteheader-store-5ced6902.js → pn-marketweb-siteheader-store-a939014c.js} +1 -1
  39. package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
  40. package/cjs/pn-multi-formfield.cjs.entry.js +1 -1
  41. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
  42. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  43. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  44. package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
  45. package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
  46. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  47. package/cjs/pn-product-card_3.cjs.entry.js +1 -1
  48. package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
  49. package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
  50. package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
  51. package/cjs/pn-product-tile.cjs.entry.js +1 -1
  52. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
  53. package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
  54. package/cjs/{pn-profile-modal-store-947b08ae.js → pn-profile-modal-store-2525eee2.js} +1 -1
  55. package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
  56. package/cjs/pn-profile-modal.cjs.entry.js +3 -3
  57. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  58. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  59. package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
  60. package/cjs/pn-proxio-findprice.cjs.entry.js +25 -3
  61. package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
  62. package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
  63. package/cjs/pn-quick-cta.cjs.entry.js +1 -1
  64. package/cjs/pn-quote-card.cjs.entry.js +1 -1
  65. package/cjs/pn-scroll_2.cjs.entry.js +1 -1
  66. package/cjs/pn-share-item.cjs.entry.js +1 -1
  67. package/cjs/pn-share.cjs.entry.js +1 -1
  68. package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
  69. package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
  70. package/cjs/{pn-sidenav-store-d2389306.js → pn-sidenav-store-18b8c3ff.js} +1 -1
  71. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
  72. package/cjs/pn-sidenav.cjs.entry.js +3 -3
  73. package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
  74. package/cjs/pn-spotlight.cjs.entry.js +1 -1
  75. package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
  76. package/cjs/pn-stats-info.cjs.entry.js +1 -1
  77. package/cjs/pn-teaser-card.cjs.entry.js +1 -1
  78. package/cjs/pn-titletag.cjs.entry.js +1 -1
  79. package/collection/collection-manifest.json +1 -0
  80. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js +1 -1
  81. package/collection/components/widgets/pn-link-list/link-list.stories.js +50 -0
  82. package/collection/components/widgets/pn-link-list/pn-link-list.css +140 -0
  83. package/collection/components/widgets/pn-link-list/pn-link-list.js +185 -0
  84. package/collection/components/widgets/pn-proxio-findprice/data.js +20 -0
  85. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +21 -1
  86. package/components/index.d.ts +1 -0
  87. package/components/index.js +1 -0
  88. package/components/pn-link-list.d.ts +11 -0
  89. package/components/pn-link-list.js +80 -0
  90. package/components/pn-multi-row-connected-dropdown.js +1 -1
  91. package/components/pn-proxio-findprice.js +24 -1
  92. package/esm/{index-ee44c065.js → index-be8c3299.js} +6 -0
  93. package/esm/{index-b71e0f8e.js → index-e6fbe66d.js} +1 -1
  94. package/esm/loader.js +3 -3
  95. package/esm/pn-address-autofill.entry.js +1 -1
  96. package/esm/pn-animated-tile.entry.js +1 -1
  97. package/esm/pn-app-banner.entry.js +1 -1
  98. package/esm/pn-bonus-progressbar-level.entry.js +1 -1
  99. package/esm/pn-bonus-progressbar.entry.js +1 -1
  100. package/esm/pn-breakpoints.entry.js +1 -1
  101. package/esm/pn-chart.entry.js +1 -1
  102. package/esm/pn-charts-card.entry.js +1 -1
  103. package/esm/pn-choice-button.entry.js +1 -1
  104. package/esm/pn-cta-block.entry.js +1 -1
  105. package/esm/pn-customernumber-selector-option.entry.js +1 -1
  106. package/esm/pn-customernumber-selector.entry.js +1 -1
  107. package/esm/pn-date-and-time.entry.js +1 -1
  108. package/esm/pn-dropdown-choice-adds-row.entry.js +1 -1
  109. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
  110. package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
  111. package/esm/pn-filter-checkbox.entry.js +1 -1
  112. package/esm/pn-find-price-result.entry.js +3 -3
  113. package/esm/{pn-find-price-store-5810a2b9.js → pn-find-price-store-9d2df21a.js} +1 -1
  114. package/esm/pn-find-price.entry.js +3 -3
  115. package/esm/pn-find-service-and-price-result.entry.js +3 -3
  116. package/esm/{pn-find-service-and-price-store-0b1b3ab7.js → pn-find-service-and-price-store-60025dfc.js} +1 -1
  117. package/esm/pn-find-service-and-price.entry.js +3 -3
  118. package/esm/pn-language-selector_9.entry.js +4 -4
  119. package/esm/pn-line-shape.entry.js +1 -1
  120. package/esm/pn-link-list.entry.js +53 -0
  121. package/esm/pn-mainnav-link.entry.js +3 -3
  122. package/esm/{pn-mainnav-store-8c221c2f.js → pn-mainnav-store-35a91e97.js} +1 -1
  123. package/esm/pn-market-web-components.js +3 -3
  124. package/esm/pn-marketweb-input.entry.js +1 -1
  125. package/esm/pn-marketweb-search.entry.js +1 -1
  126. package/esm/pn-marketweb-sitefooter.entry.js +1 -1
  127. package/esm/pn-marketweb-siteheader-login-button_5.entry.js +3 -3
  128. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
  129. package/esm/{pn-marketweb-siteheader-store-cea5016e.js → pn-marketweb-siteheader-store-aba9e86a.js} +1 -1
  130. package/esm/pn-marketweb-siteheader.entry.js +3 -3
  131. package/esm/pn-multi-formfield.entry.js +1 -1
  132. package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
  133. package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  134. package/esm/pn-multiple-input.entry.js +1 -1
  135. package/esm/pn-parcel-tracker.entry.js +1 -1
  136. package/esm/pn-pex-pricefinder.entry.js +1 -1
  137. package/esm/pn-play-on-scroll.entry.js +1 -1
  138. package/esm/pn-product-card_3.entry.js +1 -1
  139. package/esm/pn-product-pricelist-result.entry.js +2 -2
  140. package/esm/pn-product-pricelist.entry.js +3 -3
  141. package/esm/pn-product-tile-info_2.entry.js +1 -1
  142. package/esm/pn-product-tile.entry.js +1 -1
  143. package/esm/pn-profile-modal-customernumber.entry.js +1 -1
  144. package/esm/pn-profile-modal-profile.entry.js +3 -3
  145. package/esm/{pn-profile-modal-store-e08316b5.js → pn-profile-modal-store-12c5acf9.js} +1 -1
  146. package/esm/pn-profile-modal-type.entry.js +3 -3
  147. package/esm/pn-profile-modal.entry.js +3 -3
  148. package/esm/pn-profile-selector-option.entry.js +1 -1
  149. package/esm/pn-profile-selector.entry.js +1 -1
  150. package/esm/pn-proxio-findprice-result.entry.js +1 -1
  151. package/esm/pn-proxio-findprice.entry.js +25 -3
  152. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  153. package/esm/pn-proxio-productcard_4.entry.js +1 -1
  154. package/esm/pn-quick-cta.entry.js +1 -1
  155. package/esm/pn-quote-card.entry.js +1 -1
  156. package/esm/pn-scroll_2.entry.js +1 -1
  157. package/esm/pn-share-item.entry.js +1 -1
  158. package/esm/pn-share.entry.js +1 -1
  159. package/esm/pn-sidenav-level.entry.js +3 -3
  160. package/esm/pn-sidenav-link.entry.js +3 -3
  161. package/esm/{pn-sidenav-store-9530b0da.js → pn-sidenav-store-a515dd69.js} +1 -1
  162. package/esm/pn-sidenav-togglebutton.entry.js +3 -3
  163. package/esm/pn-sidenav.entry.js +3 -3
  164. package/esm/pn-site-footer_3.entry.js +1 -1
  165. package/esm/pn-spotlight.entry.js +1 -1
  166. package/esm/pn-stats-info-data.entry.js +1 -1
  167. package/esm/pn-stats-info.entry.js +1 -1
  168. package/esm/pn-teaser-card.entry.js +1 -1
  169. package/esm/pn-titletag.entry.js +1 -1
  170. package/esm-es5/{index-ee44c065.js → index-be8c3299.js} +1 -1
  171. package/esm-es5/{index-b71e0f8e.js → index-e6fbe66d.js} +1 -1
  172. package/esm-es5/loader.js +1 -1
  173. package/esm-es5/pn-address-autofill.entry.js +1 -1
  174. package/esm-es5/pn-animated-tile.entry.js +1 -1
  175. package/esm-es5/pn-app-banner.entry.js +1 -1
  176. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  177. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  178. package/esm-es5/pn-breakpoints.entry.js +1 -1
  179. package/esm-es5/pn-chart.entry.js +1 -1
  180. package/esm-es5/pn-charts-card.entry.js +1 -1
  181. package/esm-es5/pn-choice-button.entry.js +1 -1
  182. package/esm-es5/pn-cta-block.entry.js +1 -1
  183. package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
  184. package/esm-es5/pn-customernumber-selector.entry.js +1 -1
  185. package/esm-es5/pn-date-and-time.entry.js +1 -1
  186. package/esm-es5/pn-dropdown-choice-adds-row.entry.js +1 -1
  187. package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
  188. package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -1
  189. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  190. package/esm-es5/pn-find-price-result.entry.js +1 -1
  191. package/esm-es5/{pn-find-price-store-5810a2b9.js → pn-find-price-store-9d2df21a.js} +1 -1
  192. package/esm-es5/pn-find-price.entry.js +1 -1
  193. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  194. package/esm-es5/{pn-find-service-and-price-store-0b1b3ab7.js → pn-find-service-and-price-store-60025dfc.js} +1 -1
  195. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  196. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  197. package/esm-es5/pn-line-shape.entry.js +1 -1
  198. package/esm-es5/pn-link-list.entry.js +1 -0
  199. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  200. package/esm-es5/{pn-mainnav-store-8c221c2f.js → pn-mainnav-store-35a91e97.js} +1 -1
  201. package/esm-es5/pn-market-web-components.js +1 -1
  202. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  203. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  204. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  205. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
  206. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  207. package/esm-es5/pn-marketweb-siteheader-store-aba9e86a.js +1 -0
  208. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  209. package/esm-es5/pn-multi-formfield.entry.js +1 -1
  210. package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -1
  211. package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -1
  212. package/esm-es5/pn-multiple-input.entry.js +1 -1
  213. package/esm-es5/pn-parcel-tracker.entry.js +1 -1
  214. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  215. package/esm-es5/pn-play-on-scroll.entry.js +1 -1
  216. package/esm-es5/pn-product-card_3.entry.js +1 -1
  217. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  218. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  219. package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
  220. package/esm-es5/pn-product-tile.entry.js +1 -1
  221. package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
  222. package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
  223. package/esm-es5/{pn-profile-modal-store-e08316b5.js → pn-profile-modal-store-12c5acf9.js} +1 -1
  224. package/esm-es5/pn-profile-modal-type.entry.js +1 -1
  225. package/esm-es5/pn-profile-modal.entry.js +1 -1
  226. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  227. package/esm-es5/pn-profile-selector.entry.js +1 -1
  228. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
  229. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  230. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  231. package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
  232. package/esm-es5/pn-quick-cta.entry.js +1 -1
  233. package/esm-es5/pn-quote-card.entry.js +1 -1
  234. package/esm-es5/pn-scroll_2.entry.js +1 -1
  235. package/esm-es5/pn-share-item.entry.js +1 -1
  236. package/esm-es5/pn-share.entry.js +1 -1
  237. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  238. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  239. package/esm-es5/{pn-sidenav-store-9530b0da.js → pn-sidenav-store-a515dd69.js} +1 -1
  240. package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
  241. package/esm-es5/pn-sidenav.entry.js +1 -1
  242. package/esm-es5/pn-site-footer_3.entry.js +1 -1
  243. package/esm-es5/pn-spotlight.entry.js +1 -1
  244. package/esm-es5/pn-stats-info-data.entry.js +1 -1
  245. package/esm-es5/pn-stats-info.entry.js +1 -1
  246. package/esm-es5/pn-teaser-card.entry.js +1 -1
  247. package/esm-es5/pn-titletag.entry.js +1 -1
  248. package/package.json +1 -1
  249. package/pn-market-web-components/{p-cde2fce7.entry.js → p-00d87476.entry.js} +1 -1
  250. package/pn-market-web-components/{p-b28cf3a3.system.entry.js → p-027911c8.system.entry.js} +1 -1
  251. package/pn-market-web-components/{p-e3a65e18.js → p-03d7d79b.js} +1 -1
  252. package/pn-market-web-components/{p-4fbea675.entry.js → p-0412e417.entry.js} +1 -1
  253. package/pn-market-web-components/{p-83c85053.system.entry.js → p-05257edc.system.entry.js} +1 -1
  254. package/pn-market-web-components/{p-fba780f8.system.entry.js → p-087a6e41.system.entry.js} +1 -1
  255. package/pn-market-web-components/{p-3f2bc920.entry.js → p-0a3aa74f.entry.js} +1 -1
  256. package/pn-market-web-components/{p-f9b8baf0.system.entry.js → p-0f6f212a.system.entry.js} +1 -1
  257. package/pn-market-web-components/{p-e47abff1.system.entry.js → p-0f73d268.system.entry.js} +1 -1
  258. package/pn-market-web-components/{p-c2415b38.entry.js → p-103c054e.entry.js} +1 -1
  259. package/pn-market-web-components/{p-e5d994ff.system.js → p-11f6fb30.system.js} +1 -1
  260. package/pn-market-web-components/{p-1b282c2b.entry.js → p-132feb89.entry.js} +1 -1
  261. package/pn-market-web-components/{p-b1527c0c.entry.js → p-13f2cbda.entry.js} +1 -1
  262. package/pn-market-web-components/{p-bbcd8889.system.entry.js → p-14ebd1f5.system.entry.js} +1 -1
  263. package/pn-market-web-components/{p-3a897643.system.entry.js → p-1565d46e.system.entry.js} +1 -1
  264. package/pn-market-web-components/{p-9d517155.entry.js → p-15fd32d4.entry.js} +1 -1
  265. package/pn-market-web-components/{p-16fedd71.entry.js → p-1998b5b1.entry.js} +1 -1
  266. package/pn-market-web-components/{p-267fc52b.entry.js → p-1e0fd641.entry.js} +1 -1
  267. package/pn-market-web-components/{p-57957809.entry.js → p-26869f6d.entry.js} +1 -1
  268. package/pn-market-web-components/{p-af1be0d9.entry.js → p-294cb592.entry.js} +1 -1
  269. package/pn-market-web-components/{p-62bceebe.system.entry.js → p-29a7c74f.system.entry.js} +1 -1
  270. package/pn-market-web-components/{p-0be5cbf5.entry.js → p-2e6d5633.entry.js} +1 -1
  271. package/pn-market-web-components/p-2ef39f23.entry.js +1 -0
  272. package/pn-market-web-components/{p-c954c090.entry.js → p-2f4aa8c6.entry.js} +1 -1
  273. package/pn-market-web-components/{p-70ef1b2d.system.entry.js → p-30571cc1.system.entry.js} +1 -1
  274. package/pn-market-web-components/{p-0ee378ea.system.entry.js → p-332d070d.system.entry.js} +1 -1
  275. package/pn-market-web-components/{p-e00b1afa.entry.js → p-335d95b7.entry.js} +1 -1
  276. package/pn-market-web-components/{p-436857a8.entry.js → p-345648e8.entry.js} +1 -1
  277. package/pn-market-web-components/{p-38c861d5.system.entry.js → p-35b5ea63.system.entry.js} +1 -1
  278. package/pn-market-web-components/{p-ad952e14.system.entry.js → p-390895ec.system.entry.js} +1 -1
  279. package/pn-market-web-components/{p-738c179b.system.entry.js → p-39f2c4d3.system.entry.js} +1 -1
  280. package/pn-market-web-components/{p-a953d346.entry.js → p-3c2b6fb6.entry.js} +1 -1
  281. package/pn-market-web-components/{p-ca04e415.system.entry.js → p-3d0c3caa.system.entry.js} +1 -1
  282. package/pn-market-web-components/{p-7877ce39.system.entry.js → p-3ee0f67f.system.entry.js} +1 -1
  283. package/pn-market-web-components/{p-8e9e0c04.entry.js → p-4069761c.entry.js} +1 -1
  284. package/pn-market-web-components/{p-e5d9f268.entry.js → p-42ea5bd1.entry.js} +1 -1
  285. package/pn-market-web-components/{p-7364721d.system.entry.js → p-43b76595.system.entry.js} +1 -1
  286. package/pn-market-web-components/{p-1bf35bf0.entry.js → p-4572f290.entry.js} +1 -1
  287. package/pn-market-web-components/{p-1b4a75b3.system.entry.js → p-463a5975.system.entry.js} +1 -1
  288. package/pn-market-web-components/{p-e247fdf4.system.entry.js → p-476c4f58.system.entry.js} +1 -1
  289. package/pn-market-web-components/{p-6fe471aa.system.entry.js → p-48a38770.system.entry.js} +1 -1
  290. package/pn-market-web-components/{p-420c307b.system.js → p-48da3826.system.js} +1 -1
  291. package/pn-market-web-components/{p-759a2b20.system.entry.js → p-49896e47.system.entry.js} +1 -1
  292. package/pn-market-web-components/{p-4b510969.entry.js → p-4e73bb67.entry.js} +1 -1
  293. package/pn-market-web-components/{p-96729f36.system.entry.js → p-550b2b29.system.entry.js} +1 -1
  294. package/pn-market-web-components/p-583df48e.system.entry.js +1 -0
  295. package/pn-market-web-components/{p-7bf30d19.entry.js → p-5840be2e.entry.js} +1 -1
  296. package/pn-market-web-components/{p-153b4454.system.entry.js → p-592360ba.system.entry.js} +1 -1
  297. package/pn-market-web-components/{p-196b2316.system.entry.js → p-595e8f54.system.entry.js} +1 -1
  298. package/pn-market-web-components/{p-2744b30a.entry.js → p-5e61eb13.entry.js} +1 -1
  299. package/pn-market-web-components/{p-3e5d59f2.system.entry.js → p-609f1695.system.entry.js} +1 -1
  300. package/pn-market-web-components/{p-c02fc405.entry.js → p-6125c132.entry.js} +1 -1
  301. package/pn-market-web-components/{p-7ffa5533.system.js → p-6259e4f4.system.js} +1 -1
  302. package/pn-market-web-components/{p-59d44719.entry.js → p-63679401.entry.js} +1 -1
  303. package/pn-market-web-components/{p-c0961278.system.entry.js → p-63b48e94.system.entry.js} +1 -1
  304. package/pn-market-web-components/{p-4afba818.entry.js → p-64048a03.entry.js} +1 -1
  305. package/pn-market-web-components/{p-4f2bdae2.entry.js → p-64691d51.entry.js} +1 -1
  306. package/pn-market-web-components/{p-fec3dc66.entry.js → p-666d2bfb.entry.js} +1 -1
  307. package/pn-market-web-components/{p-4d2d81b8.system.entry.js → p-688d183e.system.entry.js} +1 -1
  308. package/pn-market-web-components/{p-ad7a00b6.system.entry.js → p-69342caf.system.entry.js} +1 -1
  309. package/pn-market-web-components/{p-a7d52aee.js → p-6a230cb1.js} +1 -1
  310. package/pn-market-web-components/{p-e6e7e18a.entry.js → p-6a71dc95.entry.js} +1 -1
  311. package/pn-market-web-components/{p-e05b6e0c.entry.js → p-6aab92c0.entry.js} +1 -1
  312. package/pn-market-web-components/{p-3aef506c.entry.js → p-6aaf35c7.entry.js} +1 -1
  313. package/pn-market-web-components/{p-f074da8f.system.js → p-6b02dc02.system.js} +1 -1
  314. package/pn-market-web-components/p-6d945626.system.entry.js +1 -0
  315. package/pn-market-web-components/{p-f02617fc.entry.js → p-6d9f011f.entry.js} +1 -1
  316. package/pn-market-web-components/{p-fdb1905d.js → p-746a2620.js} +1 -1
  317. package/pn-market-web-components/{p-7c1e5042.entry.js → p-7e6853a7.entry.js} +1 -1
  318. package/pn-market-web-components/{p-1024c80b.entry.js → p-80b04869.entry.js} +1 -1
  319. package/pn-market-web-components/{p-2ee328d2.entry.js → p-81876fba.entry.js} +1 -1
  320. package/pn-market-web-components/{p-81902554.system.entry.js → p-825bdb78.system.entry.js} +1 -1
  321. package/pn-market-web-components/{p-d3511e86.entry.js → p-83d7a808.entry.js} +1 -1
  322. package/pn-market-web-components/p-85101fc7.entry.js +1 -0
  323. package/pn-market-web-components/{p-ce1805f0.entry.js → p-865ee8f6.entry.js} +1 -1
  324. package/pn-market-web-components/{p-b3831534.entry.js → p-88fb2035.entry.js} +1 -1
  325. package/pn-market-web-components/p-8bafabe5.js +1 -0
  326. package/pn-market-web-components/{p-7c876907.entry.js → p-8c7787eb.entry.js} +1 -1
  327. package/pn-market-web-components/{p-9482937b.system.entry.js → p-8cb21818.system.entry.js} +1 -1
  328. package/pn-market-web-components/p-8d5a041f.js +1 -0
  329. package/pn-market-web-components/{p-0739fdcf.system.entry.js → p-8eb8e8b2.system.entry.js} +1 -1
  330. package/pn-market-web-components/{p-47576a14.system.entry.js → p-8f28f717.system.entry.js} +1 -1
  331. package/pn-market-web-components/{p-8cc12089.entry.js → p-9294451c.entry.js} +1 -1
  332. package/pn-market-web-components/{p-37abc8d3.system.entry.js → p-944d00e3.system.entry.js} +1 -1
  333. package/pn-market-web-components/{p-c86c624a.entry.js → p-94e96fcf.entry.js} +1 -1
  334. package/pn-market-web-components/{p-eab25822.entry.js → p-9556936e.entry.js} +1 -1
  335. package/pn-market-web-components/{p-62de103d.system.entry.js → p-9685af07.system.entry.js} +1 -1
  336. package/pn-market-web-components/{p-d2ebaf52.system.entry.js → p-98690006.system.entry.js} +1 -1
  337. package/pn-market-web-components/{p-b4416838.entry.js → p-9cfde6aa.entry.js} +1 -1
  338. package/pn-market-web-components/{p-83f39020.entry.js → p-9d0074fb.entry.js} +1 -1
  339. package/pn-market-web-components/{p-4e7d4e69.entry.js → p-9d331ab6.entry.js} +1 -1
  340. package/pn-market-web-components/{p-4529f4b7.system.entry.js → p-9db7d43b.system.entry.js} +1 -1
  341. package/pn-market-web-components/{p-38183dee.system.js → p-a0a92f86.system.js} +1 -1
  342. package/pn-market-web-components/p-a28fce54.system.js +1 -0
  343. package/pn-market-web-components/{p-4f1df02c.entry.js → p-a2ced6e6.entry.js} +1 -1
  344. package/pn-market-web-components/{p-1afc6f8f.entry.js → p-a53b3be1.entry.js} +1 -1
  345. package/pn-market-web-components/{p-1dc6c4ac.system.entry.js → p-a83c758d.system.entry.js} +1 -1
  346. package/pn-market-web-components/{p-3bc31e82.system.entry.js → p-a8c25cad.system.entry.js} +1 -1
  347. package/pn-market-web-components/{p-01a37a82.entry.js → p-aa485f7f.entry.js} +1 -1
  348. package/pn-market-web-components/{p-85ce2d47.system.entry.js → p-aad5018c.system.entry.js} +1 -1
  349. package/pn-market-web-components/{p-9e47435e.entry.js → p-b2fc3594.entry.js} +1 -1
  350. package/pn-market-web-components/{p-220140a0.entry.js → p-b407caff.entry.js} +1 -1
  351. package/pn-market-web-components/{p-28912c0c.system.entry.js → p-b49d0553.system.entry.js} +1 -1
  352. package/pn-market-web-components/{p-169ccf69.entry.js → p-b6301b42.entry.js} +1 -1
  353. package/pn-market-web-components/{p-7787ca3b.entry.js → p-b8266eeb.entry.js} +1 -1
  354. package/pn-market-web-components/{p-47239bce.system.entry.js → p-ba1cce09.system.entry.js} +1 -1
  355. package/pn-market-web-components/{p-52e8d0ec.system.entry.js → p-bb93f102.system.entry.js} +1 -1
  356. package/pn-market-web-components/p-bdcedfe9.system.js +1 -0
  357. package/pn-market-web-components/{p-612adfb3.system.entry.js → p-bf1f69fa.system.entry.js} +1 -1
  358. package/pn-market-web-components/{p-f1962610.js → p-c02ddf82.js} +1 -1
  359. package/pn-market-web-components/{p-a8aff7ab.system.entry.js → p-c1204325.system.entry.js} +1 -1
  360. package/pn-market-web-components/{p-d2ba5b69.entry.js → p-c1ec42a6.entry.js} +1 -1
  361. package/pn-market-web-components/{p-2cc52ba6.entry.js → p-c3015b3f.entry.js} +1 -1
  362. package/pn-market-web-components/{p-c06e3588.system.entry.js → p-c3899747.system.entry.js} +1 -1
  363. package/pn-market-web-components/{p-8aec3e9e.entry.js → p-c633a40e.entry.js} +1 -1
  364. package/pn-market-web-components/{p-5d2a19e3.entry.js → p-c6409b81.entry.js} +1 -1
  365. package/pn-market-web-components/{p-31b84367.system.entry.js → p-c6f91f94.system.entry.js} +1 -1
  366. package/pn-market-web-components/{p-81608e33.system.entry.js → p-cb9d36ab.system.entry.js} +1 -1
  367. package/pn-market-web-components/{p-3fab06aa.system.entry.js → p-cc5c611e.system.entry.js} +1 -1
  368. package/pn-market-web-components/{p-7a33e360.entry.js → p-cd8185a6.entry.js} +1 -1
  369. package/pn-market-web-components/{p-5afd892a.entry.js → p-cd8ae615.entry.js} +1 -1
  370. package/pn-market-web-components/{p-592b66fc.system.entry.js → p-d0c8d951.system.entry.js} +1 -1
  371. package/pn-market-web-components/{p-57d37022.js → p-d0e65d70.js} +1 -1
  372. package/pn-market-web-components/{p-969d310d.system.entry.js → p-d5c43a05.system.entry.js} +1 -1
  373. package/pn-market-web-components/{p-1bd7e641.entry.js → p-d6492b8a.entry.js} +1 -1
  374. package/pn-market-web-components/{p-e2613cc5.system.entry.js → p-d6893c90.system.entry.js} +1 -1
  375. package/pn-market-web-components/{p-4bd36d2c.system.entry.js → p-dc91c260.system.entry.js} +1 -1
  376. package/pn-market-web-components/{p-356a937e.system.entry.js → p-dd4efba9.system.entry.js} +1 -1
  377. package/pn-market-web-components/{p-793bb22f.system.entry.js → p-dda5e084.system.entry.js} +1 -1
  378. package/pn-market-web-components/{p-41f5086b.system.entry.js → p-e07ff731.system.entry.js} +1 -1
  379. package/pn-market-web-components/{p-46a4dbdd.system.entry.js → p-e13a6bab.system.entry.js} +1 -1
  380. package/pn-market-web-components/{p-2156e251.entry.js → p-e2892448.entry.js} +1 -1
  381. package/pn-market-web-components/{p-4b71d79d.system.entry.js → p-e4e67dad.system.entry.js} +1 -1
  382. package/pn-market-web-components/{p-d1150166.system.entry.js → p-e5c7627c.system.entry.js} +1 -1
  383. package/pn-market-web-components/{p-f4adb442.system.js → p-e5f99384.system.js} +1 -1
  384. package/pn-market-web-components/{p-5032302f.entry.js → p-e62c4259.entry.js} +1 -1
  385. package/pn-market-web-components/{p-743b1d06.system.entry.js → p-e64e95a8.system.entry.js} +1 -1
  386. package/pn-market-web-components/{p-0d0e9547.system.js → p-e76bd03c.system.js} +1 -1
  387. package/pn-market-web-components/{p-71740e7e.system.entry.js → p-e7a1e178.system.entry.js} +1 -1
  388. package/pn-market-web-components/{p-0c1a0814.system.entry.js → p-eaad04e5.system.entry.js} +1 -1
  389. package/pn-market-web-components/p-eb110830.js +1 -0
  390. package/pn-market-web-components/{p-56ac01d0.entry.js → p-eb42a545.entry.js} +1 -1
  391. package/pn-market-web-components/{p-1135350f.system.entry.js → p-eb9a3c2d.system.entry.js} +1 -1
  392. package/pn-market-web-components/{p-a400365f.entry.js → p-eba15c54.entry.js} +1 -1
  393. package/pn-market-web-components/{p-313658e7.entry.js → p-ed9dd574.entry.js} +1 -1
  394. package/pn-market-web-components/{p-e8b144ff.system.entry.js → p-eea5ac80.system.entry.js} +1 -1
  395. package/pn-market-web-components/{p-7e81b501.system.entry.js → p-f737524e.system.entry.js} +1 -1
  396. package/pn-market-web-components/{p-70cc4002.system.entry.js → p-f80e46eb.system.entry.js} +1 -1
  397. package/pn-market-web-components/{p-a4fcfc3c.entry.js → p-fab635c7.entry.js} +1 -1
  398. package/pn-market-web-components/{p-00287dc7.entry.js → p-fba12f1d.entry.js} +1 -1
  399. package/pn-market-web-components/{p-bed03b9c.system.entry.js → p-fbafd07a.system.entry.js} +1 -1
  400. package/pn-market-web-components/{p-76ce7256.entry.js → p-fc583d96.entry.js} +1 -1
  401. package/pn-market-web-components/{p-794af3d3.system.entry.js → p-fce10fa7.system.entry.js} +1 -1
  402. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  403. package/pn-market-web-components/pn-market-web-components.js +1 -1
  404. package/types/components/widgets/pn-link-list/pn-link-list.d.ts +17 -0
  405. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice.d.ts +1 -0
  406. package/types/components.d.ts +25 -0
  407. package/esm-es5/pn-marketweb-siteheader-store-cea5016e.js +0 -1
  408. package/pn-market-web-components/p-18aca162.system.entry.js +0 -1
  409. package/pn-market-web-components/p-372b4cad.entry.js +0 -1
  410. package/pn-market-web-components/p-6f2e839c.js +0 -1
  411. package/pn-market-web-components/p-ba06f541.system.js +0 -1
  412. package/pn-market-web-components/p-d8e0d7e7.js +0 -1
  413. package/pn-market-web-components/p-f5eddbe2.js +0 -1
  414. package/pn-market-web-components/p-fcdb7381.system.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as M,h as i}from"./p-d0e65d70.js";import{F as N,M as D}from"./p-9ad0ceb0.js";import{c as I}from"./p-03d7d79b.js";const j={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud",from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått",noResultMessage:"Inga produkter matchar dina kriterier",clearFilterButton:"Rensa alla filter",compensateUpTo:"Ersättning upp till",countryToSendTo:"Vilket land vill du skicka till?"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent",from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Compensated up to",countryToSendTo:"To which country do you want to send?"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Dine muligheder",sizeheading:"Hvor stor er din forsendelse?",weightheading:"Hvor meget vejer din forsendelse?",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent",from:"Fra ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks. mål og vægt",noResultMessage:"Ingen produkter matcher dine kriterier",clearFilterButton:"Ryd alle filtre",compensateUpTo:"Erstatning op til",countryToSendTo:"Hvilket land vil du sende til?"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Kompensert inntil",countryToSendTo:"Hvilket land vil du sende til?"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Korvaus asti",countryToSendTo:"Mihin maahan haluaisit lähettää?"}},g={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}},e=[{name:"S",value:"S",illustration:"eli1n",unit:"S"},{name:"M",value:"M",illustration:"medium-package",unit:"M"},{name:"L",value:"L",illustration:"large-package",unit:"L"}],z={se:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3},{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}],L:[{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}]},dk:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]},dk01012024:{S:[{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]}},{state:t}=I({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:"",noResultMessage:"",clearFilterButton:"",countryToSendTo:""},market:{currency:"",country:"",servicePoint:""}}),a=class{constructor(i){M(this,i),this.fetchHelper=new N("proxiopricegroups"),this.endpoint=null,this.language="da",this.market="dk",this.showMedium=!1,this.showInternational=!1,this.maxAbroadKg=0,this.weightListName="",this.cache=!1,this.filteredItems=[],this.weight={value:0,name:""},this.weightvalue=0,this.countrycodevalue="",this.sizecategory={value:"",name:"",icon:"",unit:""},this.data={proxioProducts:[],shipmentCountries:[]}}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(M=window.location.href){const i=new D(M),N=await i.getEnvironmentName();if(!this.endpoint&&-1===(null==N?void 0:N.indexOf("local"))){const M=await i.getMarket();this.market=this.market?this.market:M,this.endpoint=await i.getEndpoint(N,M)}this.endpoint||(this.endpoint=""),""===this.countrycodevalue&&(this.countrycodevalue=this.market.toLowerCase())}init(){this.setState(),this.fetchData().then((()=>{this.getDataSource()}))}async getDataSource(){try{this.sizecategory=e.filter((M=>"S"===M.value))[0],this.filterItems()}catch(M){console.log("Unable to parse data")}}async fetchData(){if(!this.market||!this.language)return;const M=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}/api/proxio/price-list-groups?market=${this.market}&language=${this.language}&cached=${this.cache}`,i=await this.fetchHelper.fetchJson(M,{mode:"cors"},!1,this.onFetchData.bind(this));i&&(this.data=i,this.data.proxioProducts=i.proxioProducts),this.filterItems()}onFetchData(M){this.data=M}setState(){this.market=this.market?this.market:"dk",this.market&&(t.market=g[this.market]),this.language&&j[this.language]&&(t.i18n=j[this.language])}filterItems(){var M,i;const N=this.data.proxioProducts.filter((M=>M.proxioProduct.productWeightGroupList.some((M=>M.item3.includes(this.sizecategory.value)))));if(!this.weight)return;const D=this.weight.value;let I=null==N?void 0:N.filter((M=>M.proxioProduct.productWeightGroupList.some((M=>M.item1===D)))),j=this.showInternational&&null!==(i=""!==(null===(M=this.countrycodevalue)||void 0===M?void 0:M.trim()))&&void 0!==i&&i;j&&(I=null==I?void 0:I.filter((M=>M.proxioProduct.weightPriceCountryList.some((M=>M.item3.includes(this.countrycodevalue.toUpperCase())))))),I=this.sortWeightItems(I,j),this.filteredItems=I}parseFloatFromString(M){var i;return parseFloat(null!==(i=null==M?void 0:M.replace(/[^\d\.\,]*/g,""))&&void 0!==i?i:1e5)}sortWeightItems(M,i){return null==M||M.sort(((M,N)=>{let D=this.getSortNumber(M,i),I=this.getSortNumber(N,i);return D&&I?D-I:D<I?-1:D>I?1:0})),M}getSortNumber(M,i){var N,D,I,j,g,e,z,t,a,u,y,T;let n=null!==(I=null===(D=null===(N=null==M?void 0:M.proxioProduct)||void 0===N?void 0:N.productWeightGroupList)||void 0===D?void 0:D.findIndex((M=>M.item1===this.weight.value)))&&void 0!==I?I:0;n<0&&(n=0);let c=null!==(z=null===(e=null===(g=null===(j=null==M?void 0:M.proxioProduct)||void 0===j?void 0:j.weightAndPriceList[n])||void 0===g?void 0:g.item2)||void 0===e?void 0:e.toLowerCase())&&void 0!==z?z:"";return i&&(c=null!==(T=null===(y=null===(u=(null===(a=null===(t=null==M?void 0:M.proxioProduct)||void 0===t?void 0:t.weightPriceCountryList)||void 0===a?void 0:a.filter((M=>M.item3.includes(this.countrycodevalue.toUpperCase()))))[n])||void 0===u?void 0:u.item2)||void 0===y?void 0:y.toLowerCase())&&void 0!==T?T:""),this.parseFloatFromString(c)}resetFilters(){var M,i,N;this.weight={value:0,name:""},this.sizecategory=e.filter((M=>"S"===M.value))[0],this.weightvalue=0,this.countrycodevalue=null!==(N=null===(i=null===(M=this.data)||void 0===M?void 0:M.shipmentCountries[0])||void 0===i?void 0:i.countryCode)&&void 0!==N?N:this.market}getWeights(){var M;let i=(null!==(M=z[this.market+this.weightListName])&&void 0!==M?M:{S:[],M:[],L:[]})[this.sizecategory.unit];return i=0!=this.maxAbroadKg&&this.countrycodevalue.toLowerCase()!==this.market.toLowerCase()?i.filter((M=>M.value/1e3<=this.maxAbroadKg)):i,i}handleDropdownChange(M){this.countrycodevalue=M.target.value}render(){var M,N;return i("div",{class:"findprice-form"},i("div",{class:"findprice-form-wrapper"},i("h4",{class:"findprice__heading"},t.i18n.sizeheading),i("div",{class:"sizecategory"},i("table",{class:"sizeTable"},i("img",{id:"clouds",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc4IiBoZWlnaHQ9IjU1IiB2aWV3Qm94PSIwIDAgMjc4IDU1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjQ3LjM1NSA0OS42ODE1QzI0Ny42OTQgNTIuNDc5IDI0OS43MjIgNTQuNjI2MSAyNTIuMTgxIDU0LjYyNjFIMjcyLjkyNkMyNzUuNjIgNTQuNjI2MSAyNzcuNzk4IDUyLjA1MjIgMjc3Ljc5OCA0OC44Njg2VjQ4LjgwMDhDMjc3Ljc5OCA0NS42MTczIDI3NS42MiA0My4wNDMzIDI3Mi45MjYgNDMuMDQzM0gyNzAuNTM3QzI2OS42MDggMzkuMjQzOSAyNjYuODQ2IDM2LjQ3MyAyNjMuNTg1IDM2LjQ3M0gyNTkuNzE3QzI1OS4zNzMgMzEuODQxIDI1Ni4xMDEgMjguMjA5MiAyNTIuMTI0IDI4LjIwOTJDMjQ4LjE0NiAyOC4yMDkyIDI0NC44OCAzMS44NDEgMjQ0LjUzIDM2LjQ3M0gyNDIuMDk1QzIzOC4wODMgMzYuNDczIDIzNC44MTYgNDAuNjcyNiAyMzQuODE2IDQ1LjgyMDVWNDkuNjgxNUgyNDcuMzU1WiIgZmlsbD0iI0UwRjhGRiIvPgo8cGF0aCBkPSJNMTIuMDM5MSA0Ni4xMDIyQzEyLjMxNzYgNDguNTU2OSAxNC4wODY3IDUwLjQzNzMgMTYuMjQyMSA1MC40MzczSDM0LjU4MDdDMzYuOTMwNCA1MC40MzczIDM4LjgyMTYgNDguMjAyIDM4LjgyMTYgNDUuNDI0OFY0NS4zNTcxQzM4LjgyMTYgNDIuNT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NEg1LjgxMDU1VjY3LjIwNDFINzAuNDkxN1Y2NS43MDRaIiBmaWxsPSIjMEQyMzRCIi8+Cjwvc3ZnPgo="}))),i("tr",null,i("td",null),e.map((M=>this.showMedium||"M"!==M.value?i("td",null,i("pn-radio-button",{id:"findpricecategory-"+M.value,radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=e.filter((i=>i.value===M.value))[0],this.weight={value:0,name:""},this.weightvalue=this.weight.value}})):null))))),i("h4",{class:"findprice__heading findprice__subheading"},t.i18n.weightheading),this.sizecategory.value&&this.getWeights()?i("div",{class:"weightoption"},i("div",{class:"weightoption-content"},this.getWeights().map((M=>i("pn-choice-button",{id:"findpriceweight-"+M.value,choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:this.weight.value?this.getWeights().findIndex((M=>M.value===this.weightvalue)):0,checked:M.value===this.weight.value,onChange:()=>{this.weight=this.getWeights().filter((i=>i.value===M.value))[0],this.weightvalue=this.weight.value}},M.name))))):null,this.showInternational&&null!==(N=null===(M=this.data)||void 0===M?void 0:M.shipmentCountries)&&void 0!==N&&N?i("div",{class:"shipmentcountry"},i("h4",{class:"shipmentcountry-header"},t.i18n.countryToSendTo),i("div",{class:"shipmentcountry-select-container"},i("svg",{class:"arrow",width:"18",height:"10",viewBox:"0 0 18 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L0.292892 1.70711C-0.0976315 1.31658 -0.0976315 0.683417 0.292892 0.292893C0.683418 -0.0976315 1.31658 -0.0976315 1.70711 0.292893L9 7.58579L16.2929 0.292893C16.6834 -0.0976315 17.3166 -0.0976315 17.7071 0.292893C18.0976 0.683417 18.0976 1.31658 17.7071 1.70711L9.70711 9.70711Z"})),i("select",{name:"shipmentCountry-select",id:"proxio-shipmentcountry",onChange:this.handleDropdownChange.bind(this)},this.data.shipmentCountries.map((M=>i("option",{selected:M.countryCode.toLowerCase()===this.countrycodevalue.toLowerCase(),value:M.countryCode},M.countryName)))))):null,i("div",{class:"findprice__clear-all-filters",role:"button"},i("div",{class:"findprice__clear-all-filters__btn",onClick:()=>this.resetFilters()},i("pn-icon",{symbol:"trash-can",color:"blue700"}),i("span",{class:"clear-all-filters__text"},t.i18n.clearFilterButton)))),this.filteredItems&&this.filteredItems.length>0?i("div",{class:"resultlist"},t.i18n.resultlistheading?i("div",{class:"resultHeading"},t.i18n.resultlistheading):null,this.filteredItems.map((M=>i("div",null,i("pn-proxio-findprice-result",{activeweight:this.weight.value,item:M,language:this.language,"selected-countrycode":this.countrycodevalue,"show-international":this.showInternational,market:this.market}))))):0!==this.weightvalue?i("h4",{class:"resultHeading"},t.i18n.noResultMessage):null)}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"],countrycodevalue:["filterItems"]}}};a.style='@charset "UTF-8";pn-proxio-findprice .findprice-form{margin:0em auto 3em auto}pn-proxio-findprice .findprice-form-wrapper{background-color:#EFFBFF;padding:3.2rem}pn-proxio-findprice .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-proxio-findprice .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em;position:relative;z-index:1}pn-proxio-findprice .sizeTable #clouds{position:absolute;top:3rem;width:100%}pn-proxio-findprice .firstCell{margin-right:0;margin-left:auto}pn-proxio-findprice [slot=title]{margin-bottom:1rem}pn-proxio-findprice h2{text-align:center}pn-proxio-findprice .findprice__heading{text-align:center;line-height:1.1;font-weight:bold;color:#000000;font-size:3.2rem;font-weight:700}pn-proxio-findprice .findprice__subheading{font-size:2.4rem;margin-bottom:2.4rem}pn-proxio-findprice .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-proxio-findprice .findprice__clear-all-filters{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:2.4rem;color:#005D92}pn-proxio-findprice .findprice__clear-all-filters .findprice__clear-all-filters__btn{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer}pn-proxio-findprice .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption{font-size:0.9em;margin:0 auto}pn-proxio-findprice .shipmentcountry{margin-top:3rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-proxio-findprice .shipmentcountry .shipmentcountry-header{text-align:center;font-size:2rem;font-weight:700;line-height:2.2rem}pn-proxio-findprice .shipmentcountry select{color:#005D92;font-size:1.6rem;font-weight:500;border-radius:0.8rem;cursor:pointer;outline:none;position:relative;display:-ms-flexbox;display:flex;padding:0.6em 1em;z-index:0;-webkit-transition:z-index 0s 0.5s;transition:z-index 0s 0.5s;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry select{min-width:47.3rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{max-width:inherit;position:relative;margin-top:1.2rem;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{margin:0 auto;margin-top:1.2rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg{position:absolute;z-index:1;right:1rem;top:1.5rem;pointer-events:none}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg path{fill:#005D92}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom;background:#FFFFFF;border-radius:1rem}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center;color:#000000;margin-bottom:0}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button ::before{content:"Max  ";font-weight:lighter;color:#5E554A}pn-proxio-findprice .resultlist{max-width:60em;margin:3.2rem auto 3.2rem auto}pn-proxio-findprice .servicePoint{text-align:center}pn-proxio-findprice .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-proxio-findprice .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-proxio-findprice .servicePoint a{color:#005D92;text-decoration:none}pn-proxio-findprice .servicePoint a:hover{color:#0D234B;text-decoration:underline}';export{a as pn_proxio_findprice}
@@ -1 +1 @@
1
- import{r as n,h as e,a as i,g as t}from"./p-57d37022.js";import{s as a}from"./p-d8e0d7e7.js";import"./p-e3a65e18.js";const o={sv:{open:"Öppna",close:"Stäng",navLabel:"Undernavigering"},en:{open:"Open",close:"Close",navLabel:"Sub navigation"},da:{open:"Åbne",close:"Stæng",navLabel:"Undernavigation"},no:{open:"Åpne",close:"Stäng",navLabel:"Undernavigering"},fi:{open:"Avaa",close:"Sulje",navLabel:"Ali navigointi"},de:{open:"Offen",close:"Schließen",navLabel:"Unternavigation"},zh:{open:"Open",close:"Close",navLabel:"Sub navigation"},it:{open:"Open",close:"Close",navLabel:"Sub navigation"},nl:{open:"Open",close:"Close",navLabel:"Sub navigation"}},s=class{constructor(e){n(this,e),this.language="sv",this.navLabel="",this.i18n={open:"",close:"",navLabel:""}}componentWillLoad(){this.init()}async init(){this.setLanguage(),!1===window.matchMedia("screen and (min-width:64em)").matches&&(a.openMenu=!1)}setLanguage(){o[this.language]&&(a.i18n=o[this.language],this.navLabel||(this.navLabel=this.i18n.navLabel))}onOpenSubMenuLevelChange(n){a.openLevel=n.detail}render(){return e(i,{open:(1==a.openMenu)+""},e("slot",{name:"above"}),e("nav",{class:"sidenav","aria-label":this.navLabel},e("slot",null)))}get hostElement(){return t(this)}};s.style="body[data-siteheader-sidemenuopen=true]{max-height:100vh;overflow:hidden}@media screen and (min-width: 60em){body[data-siteheader-sidemenuopen=true]{max-height:initial;overflow:initial}}pn-sidenav{display:block;height:auto;width:100vw;padding:0 1.6rem;background-color:#FFFFFF;z-index:6;-webkit-transform:translateX(-100vw);transform:translateX(-100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:10.2rem;bottom:0;left:0}pn-sidenav[open=true]{visibility:visible;-webkit-transform:none;transform:none}@media screen and (min-width: 48em){pn-sidenav{top:15.3rem}}@media screen and (min-width: 64em){pn-sidenav{position:relative;-webkit-transform:none;transform:none;visibility:visible;top:0;z-index:inherit;width:100%;padding:0;height:auto;bottom:auto;left:auto}}";export{s as pn_sidenav}
1
+ import{r as n,h as e,a as i,g as t}from"./p-d0e65d70.js";import{s as a}from"./p-eb110830.js";import"./p-03d7d79b.js";const o={sv:{open:"Öppna",close:"Stäng",navLabel:"Undernavigering"},en:{open:"Open",close:"Close",navLabel:"Sub navigation"},da:{open:"Åbne",close:"Stæng",navLabel:"Undernavigation"},no:{open:"Åpne",close:"Stäng",navLabel:"Undernavigering"},fi:{open:"Avaa",close:"Sulje",navLabel:"Ali navigointi"},de:{open:"Offen",close:"Schließen",navLabel:"Unternavigation"},zh:{open:"Open",close:"Close",navLabel:"Sub navigation"},it:{open:"Open",close:"Close",navLabel:"Sub navigation"},nl:{open:"Open",close:"Close",navLabel:"Sub navigation"}},s=class{constructor(e){n(this,e),this.language="sv",this.navLabel="",this.i18n={open:"",close:"",navLabel:""}}componentWillLoad(){this.init()}async init(){this.setLanguage(),!1===window.matchMedia("screen and (min-width:64em)").matches&&(a.openMenu=!1)}setLanguage(){o[this.language]&&(a.i18n=o[this.language],this.navLabel||(this.navLabel=this.i18n.navLabel))}onOpenSubMenuLevelChange(n){a.openLevel=n.detail}render(){return e(i,{open:(1==a.openMenu)+""},e("slot",{name:"above"}),e("nav",{class:"sidenav","aria-label":this.navLabel},e("slot",null)))}get hostElement(){return t(this)}};s.style="body[data-siteheader-sidemenuopen=true]{max-height:100vh;overflow:hidden}@media screen and (min-width: 60em){body[data-siteheader-sidemenuopen=true]{max-height:initial;overflow:initial}}pn-sidenav{display:block;height:auto;width:100vw;padding:0 1.6rem;background-color:#FFFFFF;z-index:6;-webkit-transform:translateX(-100vw);transform:translateX(-100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:10.2rem;bottom:0;left:0}pn-sidenav[open=true]{visibility:visible;-webkit-transform:none;transform:none}@media screen and (min-width: 48em){pn-sidenav{top:15.3rem}}@media screen and (min-width: 64em){pn-sidenav{position:relative;-webkit-transform:none;transform:none;visibility:visible;top:0;z-index:inherit;width:100%;padding:0;height:auto;bottom:auto;left:auto}}";export{s as pn_sidenav}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t,g as n}from"./p-57d37022.js";import{s as o}from"./p-6f2e839c.js";import"./p-e3a65e18.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).(?: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
+ import{r as e,h as i,a as t,g as n}from"./p-d0e65d70.js";import{s as o}from"./p-8bafabe5.js";import"./p-03d7d79b.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).(?: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}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-03d7d79b.js";const{state:a}=s({loginManager:null});export{a as s}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i,g as a}from"./p-57d37022.js";const n=class{constructor(t){e(this,t),this.CLOSED_STORAGE_KEY="SmartAppBannerClosed",this.CLOSED_COOKIE_EXPIRY_DAYS=7,this.handleOnClose=()=>{if(this.isClosed=!0,this.isLocalStorageAvailable)localStorage.setItem(this.CLOSED_STORAGE_KEY,"true");else{const e=new Date;e.setDate(e.getDate()+this.CLOSED_COOKIE_EXPIRY_DAYS),document.cookie=`${this.CLOSED_STORAGE_KEY}=true; expires=${e.toUTCString()}`}},this.appName=void 0,this.appDescription=void 0,this.ctaText=void 0,this.appleStoreLink=void 0,this.googleStoreLink=void 0,this.isClosed=!1,this.storeLink=void 0,this.isLocalStorageAvailable=!0}checkLocalStorage(){try{const e="__test__";localStorage.setItem(e,e),localStorage.removeItem(e)}catch(e){this.isLocalStorageAvailable=!1}}detectDeviceAndSetStoreLink(){const e=navigator.userAgent;e.match(/Android/i)?this.storeLink=this.googleStoreLink:e.match(/iPhone|iPad|iPod/i)?this.storeLink=this.appleStoreLink:(this.storeLink=null,this.isClosed=!0)}componentWillLoad(){if(this.checkLocalStorage(),this.isLocalStorageAvailable)this.isClosed="true"===localStorage.getItem(this.CLOSED_STORAGE_KEY);else{const e=document.cookie.split(";");for(const t of e){const[e,i]=t.trim().split("=");if(e===this.CLOSED_STORAGE_KEY&&"true"===i){this.isClosed=!0;break}}}this.isClosed||this.detectDeviceAndSetStoreLink()}render(){return t(i,{"data-is-closed":this.isClosed?"true":"false"},t("div",{class:"pn-app-banner__wrapper pn-app-banner__sticky"},t("div",{class:"icon-close",onClick:this.handleOnClose},t("pn-icon",{symbol:"close-small",small:"false",color:"black"})),t("div",{class:"pn-app-banner__icon"},t("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#clip0_17800_45416)"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#F18D8D"}),t("mask",{id:"mask0_17800_45416",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"32",height:"32"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"})),t("g",{mask:"url(#mask0_17800_45416)"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"}),t("path",{d:"M50.8125 14.1562H18.8125V46.1562H50.8125V14.1562Z",fill:"url(#paint0_linear_17800_45416)"}),t("path",{d:"M2.09375 31.375C2.09375 15.2379 15.1754 2.15625 31.3125 2.15625H31.9844V31.9844H2.09998C2.09583 31.7819 2.09375 31.5788 2.09375 31.375Z",fill:"#00A0D6"}),t("g",{filter:"url(#filter0_d_17800_45416)"},t("path",{d:"M7.40625 11.8062C7.40625 10.2661 7.40625 9.49603 7.70597 8.90778C7.96963 8.39034 8.39034 7.96963 8.90778 7.70597C9.49603 7.40625 10.2661 7.40625 11.8062 7.40625H20.1938C21.7339 7.40625 22.504 7.40625 23.0922 7.70597C23.6097 7.96963 24.0304 8.39034 24.294 8.90778C24.5938 9.49603 24.5938 10.2661 24.5938 11.8062V20.1938C24.5938 21.7339 24.5938 22.504 24.294 23.0922C24.0304 23.6097 23.6097 24.0304 23.0922 24.294C22.504 24.5938 21.7339 24.5938 20.1938 24.5938H11.8062C10.2661 24.5938 9.49603 24.5938 8.90778 24.294C8.39034 24.0304 7.96963 23.6097 7.70597 23.0922C7.40625 22.504 7.40625 21.7339 7.40625 20.1938V11.8062Z",fill:"#F1F7FA"}),t("path",{opacity:"0.6","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5938 10.0625C10.3176 10.0625 10.0938 10.2863 10.0938 10.5625C10.0938 10.8387 10.3176 11.0625 10.5938 11.0625H12.875C13.1512 11.0625 13.375 10.8387 13.375 10.5625C13.375 10.2863 13.1512 10.0625 12.875 10.0625H10.5938ZM10.5938 12.3125C10.3176 12.3125 10.0938 12.5363 10.0938 12.8125C10.0938 13.0887 10.3176 13.3125 10.5938 13.3125H15.3125C15.5887 13.3125 15.8125 13.0887 15.8125 12.8125C15.8125 12.5363 15.5887 12.3125 15.3125 12.3125H10.5938ZM10.0938 14.75C10.0938 14.4738 10.3176 14.25 10.5938 14.25H13.5625C13.8387 14.25 14.0625 14.4738 14.0625 14.75C14.0625 15.0262 13.8387 15.25 13.5625 15.25H10.5938C10.3176 15.25 10.0938 15.0262 10.0938 14.75ZM15.1875 14.25C14.9113 14.25 14.6875 14.4738 14.6875 14.75C14.6875 15.0262 14.9113 15.25 15.1875 15.25C15.4637 15.25 15.6875 15.0262 15.6875 14.75C15.6875 14.4738 15.4637 14.25 15.1875 14.25Z",fill:"#A5C0CA"}),t("path",{d:"M17.9375 10.5938C17.9375 10.3176 18.1613 10.0938 18.4375 10.0938H21.75C22.0262 10.0938 22.25 10.3176 22.25 10.5938C22.25 10.8699 22.0262 11.0938 21.75 11.0938H18.4375C18.1613 11.0938 17.9375 10.8699 17.9375 10.5938Z",fill:"#00A0D6"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.0938 19.3125C10.0938 18.8983 10.4295 18.5625 10.8438 18.5625C11.258 18.5625 11.5938 18.8983 11.5938 19.3125V21.25C11.5938 21.6642 11.258 22 10.8438 22C10.4295 22 10.0938 21.6642 10.0938 21.25V19.3125ZM19.3438 19.3125C19.3438 18.8983 19.6795 18.5625 20.0938 18.5625C20.508 18.5625 20.8438 18.8983 20.8438 19.3125V21.25C20.8438 21.6642 20.508 22 20.0938 22C19.6795 22 19.3438 21.6642 19.3438 21.25V19.3125ZM14.5938 18.5625C14.1795 18.5625 13.8438 18.8983 13.8438 19.3125V21.25C13.8438 21.6642 14.1795 22 14.5938 22C15.008 22 15.3438 21.6642 15.3438 21.25V19.3125C15.3438 18.8983 15.008 18.5625 14.5938 18.5625ZM12.5938 18.9375C12.5938 18.7304 12.7617 18.5625 12.9688 18.5625C13.1758 18.5625 13.3438 18.7304 13.3438 18.9375V21.625C13.3438 21.8321 13.1758 22 12.9688 22C12.7617 22 12.5938 21.8321 12.5938 21.625V18.9375ZM21.5938 18.5625C21.3867 18.5625 21.2188 18.7304 21.2188 18.9375V21.625C21.2188 21.8321 21.3867 22 21.5938 22C21.8008 22 21.9688 21.8321 21.9688 21.625V18.9375C21.9688 18.7304 21.8008 18.5625 21.5938 18.5625ZM17.5938 18.9375C17.5938 18.7304 17.7617 18.5625 17.9688 18.5625C18.1758 18.5625 18.3438 18.7304 18.3438 18.9375V21.625C18.3438 21.8321 18.1758 22 17.9688 22C17.7617 22 17.5938 21.8321 17.5938 21.625V18.9375ZM16.5938 18.5625C16.3176 18.5625 16.0938 18.7863 16.0938 19.0625V21.5C16.0938 21.7762 16.3176 22 16.5938 22C16.8699 22 17.0938 21.7762 17.0938 21.5V19.0625C17.0938 18.7863 16.8699 18.5625 16.5938 18.5625Z",fill:"#0D234B"})))),t("defs",null,t("filter",{id:"filter0_d_17800_45416",x:"-52.5938",y:"-48.5938",width:"137.188",height:"137.188",filterUnits:"userSpaceOnUse","color-interpolation-filters":"s-rGB"},t("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),t("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t("feOffset",{dy:"4"}),t("feGaussianBlur",{stdDeviation:"30"}),t("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),t("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_17800_45416"}),t("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_17800_45416",result:"shape"})),t("linearGradient",{id:"paint0_linear_17800_45416",x1:"29.2305",y1:"44.3441",x2:"51.5694",y2:"15.1782",gradientUnits:"userSpaceOnUse"},t("stop",{offset:"0.0800778","stop-color":"#0D244C"}),t("stop",{offset:"1","stop-color":"#0D234B"})),t("clipPath",{id:"clip0_17800_45416"},t("rect",{width:"32",height:"32",fill:"white"}))))),t("div",{class:"pn-app-banner__text"},t("span",null,this.appName),t("br",null),this.appDescription),t("div",{class:"pn-app-banner__cta"},t("pn-button",{small:!0,href:this.storeLink},this.ctaText))))}get hostElement(){return a(this)}};n.style="pn-app-banner .pn-app-banner__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:1rem;background-color:#F3F2F2;padding:1rem;margin:0 auto}pn-app-banner .pn-app-banner__sticky{position:relative;top:0;width:100%;z-index:999}pn-app-banner .icon-close:hover{cursor:pointer}pn-app-banner .pn-app-banner__icon{height:3.2rem}pn-app-banner .pn-app-banner__text{font-size:1.2rem;line-height:1}pn-app-banner .pn-app-banner__text span{font-weight:600}pn-app-banner .pn-app-banner__cta{margin-left:auto}pn-app-banner[data-is-closed=true]{display:none}";export{n as pn_app_banner}
1
+ import{r as e,h as t,a as i,g as a}from"./p-d0e65d70.js";const n=class{constructor(t){e(this,t),this.CLOSED_STORAGE_KEY="SmartAppBannerClosed",this.CLOSED_COOKIE_EXPIRY_DAYS=7,this.handleOnClose=()=>{if(this.isClosed=!0,this.isLocalStorageAvailable)localStorage.setItem(this.CLOSED_STORAGE_KEY,"true");else{const e=new Date;e.setDate(e.getDate()+this.CLOSED_COOKIE_EXPIRY_DAYS),document.cookie=`${this.CLOSED_STORAGE_KEY}=true; expires=${e.toUTCString()}`}},this.appName=void 0,this.appDescription=void 0,this.ctaText=void 0,this.appleStoreLink=void 0,this.googleStoreLink=void 0,this.isClosed=!1,this.storeLink=void 0,this.isLocalStorageAvailable=!0}checkLocalStorage(){try{const e="__test__";localStorage.setItem(e,e),localStorage.removeItem(e)}catch(e){this.isLocalStorageAvailable=!1}}detectDeviceAndSetStoreLink(){const e=navigator.userAgent;e.match(/Android/i)?this.storeLink=this.googleStoreLink:e.match(/iPhone|iPad|iPod/i)?this.storeLink=this.appleStoreLink:(this.storeLink=null,this.isClosed=!0)}componentWillLoad(){if(this.checkLocalStorage(),this.isLocalStorageAvailable)this.isClosed="true"===localStorage.getItem(this.CLOSED_STORAGE_KEY);else{const e=document.cookie.split(";");for(const t of e){const[e,i]=t.trim().split("=");if(e===this.CLOSED_STORAGE_KEY&&"true"===i){this.isClosed=!0;break}}}this.isClosed||this.detectDeviceAndSetStoreLink()}render(){return t(i,{"data-is-closed":this.isClosed?"true":"false"},t("div",{class:"pn-app-banner__wrapper pn-app-banner__sticky"},t("div",{class:"icon-close",onClick:this.handleOnClose},t("pn-icon",{symbol:"close-small",small:"false",color:"black"})),t("div",{class:"pn-app-banner__icon"},t("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#clip0_17800_45416)"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#F18D8D"}),t("mask",{id:"mask0_17800_45416",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"32",height:"32"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"})),t("g",{mask:"url(#mask0_17800_45416)"},t("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"}),t("path",{d:"M50.8125 14.1562H18.8125V46.1562H50.8125V14.1562Z",fill:"url(#paint0_linear_17800_45416)"}),t("path",{d:"M2.09375 31.375C2.09375 15.2379 15.1754 2.15625 31.3125 2.15625H31.9844V31.9844H2.09998C2.09583 31.7819 2.09375 31.5788 2.09375 31.375Z",fill:"#00A0D6"}),t("g",{filter:"url(#filter0_d_17800_45416)"},t("path",{d:"M7.40625 11.8062C7.40625 10.2661 7.40625 9.49603 7.70597 8.90778C7.96963 8.39034 8.39034 7.96963 8.90778 7.70597C9.49603 7.40625 10.2661 7.40625 11.8062 7.40625H20.1938C21.7339 7.40625 22.504 7.40625 23.0922 7.70597C23.6097 7.96963 24.0304 8.39034 24.294 8.90778C24.5938 9.49603 24.5938 10.2661 24.5938 11.8062V20.1938C24.5938 21.7339 24.5938 22.504 24.294 23.0922C24.0304 23.6097 23.6097 24.0304 23.0922 24.294C22.504 24.5938 21.7339 24.5938 20.1938 24.5938H11.8062C10.2661 24.5938 9.49603 24.5938 8.90778 24.294C8.39034 24.0304 7.96963 23.6097 7.70597 23.0922C7.40625 22.504 7.40625 21.7339 7.40625 20.1938V11.8062Z",fill:"#F1F7FA"}),t("path",{opacity:"0.6","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5938 10.0625C10.3176 10.0625 10.0938 10.2863 10.0938 10.5625C10.0938 10.8387 10.3176 11.0625 10.5938 11.0625H12.875C13.1512 11.0625 13.375 10.8387 13.375 10.5625C13.375 10.2863 13.1512 10.0625 12.875 10.0625H10.5938ZM10.5938 12.3125C10.3176 12.3125 10.0938 12.5363 10.0938 12.8125C10.0938 13.0887 10.3176 13.3125 10.5938 13.3125H15.3125C15.5887 13.3125 15.8125 13.0887 15.8125 12.8125C15.8125 12.5363 15.5887 12.3125 15.3125 12.3125H10.5938ZM10.0938 14.75C10.0938 14.4738 10.3176 14.25 10.5938 14.25H13.5625C13.8387 14.25 14.0625 14.4738 14.0625 14.75C14.0625 15.0262 13.8387 15.25 13.5625 15.25H10.5938C10.3176 15.25 10.0938 15.0262 10.0938 14.75ZM15.1875 14.25C14.9113 14.25 14.6875 14.4738 14.6875 14.75C14.6875 15.0262 14.9113 15.25 15.1875 15.25C15.4637 15.25 15.6875 15.0262 15.6875 14.75C15.6875 14.4738 15.4637 14.25 15.1875 14.25Z",fill:"#A5C0CA"}),t("path",{d:"M17.9375 10.5938C17.9375 10.3176 18.1613 10.0938 18.4375 10.0938H21.75C22.0262 10.0938 22.25 10.3176 22.25 10.5938C22.25 10.8699 22.0262 11.0938 21.75 11.0938H18.4375C18.1613 11.0938 17.9375 10.8699 17.9375 10.5938Z",fill:"#00A0D6"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.0938 19.3125C10.0938 18.8983 10.4295 18.5625 10.8438 18.5625C11.258 18.5625 11.5938 18.8983 11.5938 19.3125V21.25C11.5938 21.6642 11.258 22 10.8438 22C10.4295 22 10.0938 21.6642 10.0938 21.25V19.3125ZM19.3438 19.3125C19.3438 18.8983 19.6795 18.5625 20.0938 18.5625C20.508 18.5625 20.8438 18.8983 20.8438 19.3125V21.25C20.8438 21.6642 20.508 22 20.0938 22C19.6795 22 19.3438 21.6642 19.3438 21.25V19.3125ZM14.5938 18.5625C14.1795 18.5625 13.8438 18.8983 13.8438 19.3125V21.25C13.8438 21.6642 14.1795 22 14.5938 22C15.008 22 15.3438 21.6642 15.3438 21.25V19.3125C15.3438 18.8983 15.008 18.5625 14.5938 18.5625ZM12.5938 18.9375C12.5938 18.7304 12.7617 18.5625 12.9688 18.5625C13.1758 18.5625 13.3438 18.7304 13.3438 18.9375V21.625C13.3438 21.8321 13.1758 22 12.9688 22C12.7617 22 12.5938 21.8321 12.5938 21.625V18.9375ZM21.5938 18.5625C21.3867 18.5625 21.2188 18.7304 21.2188 18.9375V21.625C21.2188 21.8321 21.3867 22 21.5938 22C21.8008 22 21.9688 21.8321 21.9688 21.625V18.9375C21.9688 18.7304 21.8008 18.5625 21.5938 18.5625ZM17.5938 18.9375C17.5938 18.7304 17.7617 18.5625 17.9688 18.5625C18.1758 18.5625 18.3438 18.7304 18.3438 18.9375V21.625C18.3438 21.8321 18.1758 22 17.9688 22C17.7617 22 17.5938 21.8321 17.5938 21.625V18.9375ZM16.5938 18.5625C16.3176 18.5625 16.0938 18.7863 16.0938 19.0625V21.5C16.0938 21.7762 16.3176 22 16.5938 22C16.8699 22 17.0938 21.7762 17.0938 21.5V19.0625C17.0938 18.7863 16.8699 18.5625 16.5938 18.5625Z",fill:"#0D234B"})))),t("defs",null,t("filter",{id:"filter0_d_17800_45416",x:"-52.5938",y:"-48.5938",width:"137.188",height:"137.188",filterUnits:"userSpaceOnUse","color-interpolation-filters":"s-rGB"},t("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),t("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t("feOffset",{dy:"4"}),t("feGaussianBlur",{stdDeviation:"30"}),t("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),t("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_17800_45416"}),t("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_17800_45416",result:"shape"})),t("linearGradient",{id:"paint0_linear_17800_45416",x1:"29.2305",y1:"44.3441",x2:"51.5694",y2:"15.1782",gradientUnits:"userSpaceOnUse"},t("stop",{offset:"0.0800778","stop-color":"#0D244C"}),t("stop",{offset:"1","stop-color":"#0D234B"})),t("clipPath",{id:"clip0_17800_45416"},t("rect",{width:"32",height:"32",fill:"white"}))))),t("div",{class:"pn-app-banner__text"},t("span",null,this.appName),t("br",null),this.appDescription),t("div",{class:"pn-app-banner__cta"},t("pn-button",{small:!0,href:this.storeLink},this.ctaText))))}get hostElement(){return a(this)}};n.style="pn-app-banner .pn-app-banner__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:1rem;background-color:#F3F2F2;padding:1rem;margin:0 auto}pn-app-banner .pn-app-banner__sticky{position:relative;top:0;width:100%;z-index:999}pn-app-banner .icon-close:hover{cursor:pointer}pn-app-banner .pn-app-banner__icon{height:3.2rem}pn-app-banner .pn-app-banner__text{font-size:1.2rem;line-height:1}pn-app-banner .pn-app-banner__text span{font-weight:600}pn-app-banner .pn-app-banner__cta{margin-left:auto}pn-app-banner[data-is-closed=true]{display:none}";export{n as pn_app_banner}
@@ -1,4 +1,4 @@
1
- System.register(["./p-7ffa5533.system.js","./p-fe1f76a3.system.js"],(function(e){"use strict";var t,r,a,n,i,o,s;return{setters:[function(e){t=e.r;r=e.h;a=e.a;n=e.g},function(e){i=e.g;o=e.c;s=e.a}],execute:function(){
1
+ System.register(["./p-6259e4f4.system.js","./p-fe1f76a3.system.js"],(function(e){"use strict";var t,r,a,n,i,o,s;return{setters:[function(e){t=e.r;r=e.h;a=e.a;n=e.g},function(e){i=e.g;o=e.c;s=e.a}],execute:function(){
2
2
  //! moment.js
3
3
  //! version : 2.29.4
4
4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -0,0 +1 @@
1
+ import{c as e}from"./p-03d7d79b.js";const{state:t}=e({selectedUrl:"",selectedType:"",selectedProfile:"",i18n:{choosenCompanyText:"",toText:"",chooseCustomerNumberText:""}});export{t as s}
@@ -1 +1 @@
1
- System.register(["./p-7ffa5533.system.js"],(function(e){"use strict";var r,s,t,a;return{setters:[function(e){r=e.r;s=e.h;t=e.a;a=e.g}],execute:function(){var o="pn-bonus-progressbar{width:100%}.bonusprogressbar-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:1.6rem}.bonusprogressbar-top-icon{border-radius:100%;height:5rem;width:5rem;padding:1rem;display:-ms-inline-flexbox;display:inline-flex;margin-right:1em;margin-left:0.5em;background-color:#E0F8FF}[theme=red] .bonusprogressbar-top-icon{background-color:#FBC2C1}.bonusprogressbar-top-icon pn-icon svg{width:100%;height:100%}.bonusprogressbar-sumtext{margin-top:0.4rem;font-size:1.3rem;color:#5E554A}.bonusprogressbar-top-percentage{margin-left:0.8rem;padding:0}.bonusprogressbar-wrapper{position:relative;display:-ms-flexbox;display:flex;min-height:5em;-ms-flex-align:center;align-items:center}.bonusprogressbar-currentlevel{position:absolute}.bonusprogressbar-progress[value]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:1.7rem;border:0.1rem solid #00A0D6;border-radius:1.7rem;padding:0;margin:0;overflow:hidden}[theme=red] .bonusprogressbar-progress[value]{border-color:#F06365}.bonusprogressbar-progress[value]::-webkit-progress-bar{border:0;border-radius:1.7rem;margin:0;padding:0;background:#E0F8FF}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-bar{background:#FDEFEE}.bonusprogressbar-progress[value]::-webkit-progress-value{margin:0;padding:0;border-radius:1.7rem;background:#00A0D6}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-value{background:#F06365}";var n=e("pn_bonus_progressbar",function(){function e(e){r(this,e);this.icon=null;this.heading="";this.sumtext=null;this.theme="blue";this.bonuspercentage="0%";this.currency="kr";this.value=0;this.min=0;this.max=0;this.valuepercentage=0;this.progresspercentage=0;this.levelValues=[];this.currentLevelAdjustedValue=0}e.prototype.componentWillLoad=function(){this.setInitialValues();this.setValuePercentage()};e.prototype.setInitialValues=function(){var e=Array.from(this.hostElement.querySelectorAll("pn-bonus-progressbar-level:not([current])"));this.currentLevelAdjustedValue=this.value;this.levelValues=e.map((function(e){return parseInt(e.getAttribute("value"),10)}));if(!this.max){if(this.levelValues&&this.levelValues.length>0){var r=this.levelValues.slice(-1)[0];var s=1.05;if(this.value>r){s=1.2}this.max=Math.floor(r*s)}}if(this.value>this.max){this.currentLevelAdjustedValue=100}};e.prototype.setValuePercentage=function(){this.valuepercentage=this.value/this.max*100;this.progresspercentage=(this.value-this.min)/(this.max-this.min)*100;if(this.progresspercentage<0){if(this.levelValues&&this.levelValues.length&&this.levelValues[0]<this.value){this.min=Math.floor(this.levelValues[0]*.95)}else{this.min=Math.floor(this.value*.95)}}if(this.progresspercentage>100){this.progresspercentage=100;var e=this.levelValues.slice(-1)[0];var r=1.05;if(this.value>e){r=1.2}this.max=Math.floor(e*r)}};e.prototype.iconColor=function(){switch(this.theme){case"red":return"coral700";case"blue":default:return"blue700"}};e.prototype.render=function(){return s(t,null,s("div",{class:"bonusprogressbar-top"},this.icon?s("div",{class:"bonusprogressbar-top-icon"},s("pn-icon",{symbol:this.icon,small:"false",color:this.iconColor()})):{},s("div",{class:"bonusprogressbar-top-heading"},s("h4",{class:"bonusprogressbar-top-headline"},this.heading," ",s("strong",{class:"bonusprogressbar-top-percentage"},this.bonuspercentage)),this.sumtext?s("div",{class:"bonusprogressbar-sumtext"},this.sumtext):null)),s("div",{class:"bonusprogressbar-wrapper"},s("progress",{class:"bonusprogressbar-progress",value:this.progresspercentage,max:"100"}),s("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currentLevelAdjustedValue:["setValuePercentage"],value:["setValuePercentage"],min:["setValuePercentage"],max:["setValuePercentage"]}},enumerable:false,configurable:true});return e}());n.style=o}}}));
1
+ System.register(["./p-6259e4f4.system.js"],(function(e){"use strict";var r,s,t,a;return{setters:[function(e){r=e.r;s=e.h;t=e.a;a=e.g}],execute:function(){var o="pn-bonus-progressbar{width:100%}.bonusprogressbar-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:1.6rem}.bonusprogressbar-top-icon{border-radius:100%;height:5rem;width:5rem;padding:1rem;display:-ms-inline-flexbox;display:inline-flex;margin-right:1em;margin-left:0.5em;background-color:#E0F8FF}[theme=red] .bonusprogressbar-top-icon{background-color:#FBC2C1}.bonusprogressbar-top-icon pn-icon svg{width:100%;height:100%}.bonusprogressbar-sumtext{margin-top:0.4rem;font-size:1.3rem;color:#5E554A}.bonusprogressbar-top-percentage{margin-left:0.8rem;padding:0}.bonusprogressbar-wrapper{position:relative;display:-ms-flexbox;display:flex;min-height:5em;-ms-flex-align:center;align-items:center}.bonusprogressbar-currentlevel{position:absolute}.bonusprogressbar-progress[value]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:1.7rem;border:0.1rem solid #00A0D6;border-radius:1.7rem;padding:0;margin:0;overflow:hidden}[theme=red] .bonusprogressbar-progress[value]{border-color:#F06365}.bonusprogressbar-progress[value]::-webkit-progress-bar{border:0;border-radius:1.7rem;margin:0;padding:0;background:#E0F8FF}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-bar{background:#FDEFEE}.bonusprogressbar-progress[value]::-webkit-progress-value{margin:0;padding:0;border-radius:1.7rem;background:#00A0D6}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-value{background:#F06365}";var n=e("pn_bonus_progressbar",function(){function e(e){r(this,e);this.icon=null;this.heading="";this.sumtext=null;this.theme="blue";this.bonuspercentage="0%";this.currency="kr";this.value=0;this.min=0;this.max=0;this.valuepercentage=0;this.progresspercentage=0;this.levelValues=[];this.currentLevelAdjustedValue=0}e.prototype.componentWillLoad=function(){this.setInitialValues();this.setValuePercentage()};e.prototype.setInitialValues=function(){var e=Array.from(this.hostElement.querySelectorAll("pn-bonus-progressbar-level:not([current])"));this.currentLevelAdjustedValue=this.value;this.levelValues=e.map((function(e){return parseInt(e.getAttribute("value"),10)}));if(!this.max){if(this.levelValues&&this.levelValues.length>0){var r=this.levelValues.slice(-1)[0];var s=1.05;if(this.value>r){s=1.2}this.max=Math.floor(r*s)}}if(this.value>this.max){this.currentLevelAdjustedValue=100}};e.prototype.setValuePercentage=function(){this.valuepercentage=this.value/this.max*100;this.progresspercentage=(this.value-this.min)/(this.max-this.min)*100;if(this.progresspercentage<0){if(this.levelValues&&this.levelValues.length&&this.levelValues[0]<this.value){this.min=Math.floor(this.levelValues[0]*.95)}else{this.min=Math.floor(this.value*.95)}}if(this.progresspercentage>100){this.progresspercentage=100;var e=this.levelValues.slice(-1)[0];var r=1.05;if(this.value>e){r=1.2}this.max=Math.floor(e*r)}};e.prototype.iconColor=function(){switch(this.theme){case"red":return"coral700";case"blue":default:return"blue700"}};e.prototype.render=function(){return s(t,null,s("div",{class:"bonusprogressbar-top"},this.icon?s("div",{class:"bonusprogressbar-top-icon"},s("pn-icon",{symbol:this.icon,small:"false",color:this.iconColor()})):{},s("div",{class:"bonusprogressbar-top-heading"},s("h4",{class:"bonusprogressbar-top-headline"},this.heading," ",s("strong",{class:"bonusprogressbar-top-percentage"},this.bonuspercentage)),this.sumtext?s("div",{class:"bonusprogressbar-sumtext"},this.sumtext):null)),s("div",{class:"bonusprogressbar-wrapper"},s("progress",{class:"bonusprogressbar-progress",value:this.progresspercentage,max:"100"}),s("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currentLevelAdjustedValue:["setValuePercentage"],value:["setValuePercentage"],min:["setValuePercentage"],max:["setValuePercentage"]}},enumerable:false,configurable:true});return e}());n.style=o}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{s(i.next(e))}catch(t){a(t)}}function o(e){try{s(i["throw"](e))}catch(t){a(t)}}function s(e){e.done?n(e.value):r(e.value).then(l,o)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(n=0)),n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(s){o=[6,s];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-7ffa5533.system.js","./p-f4adb442.system.js","./p-ba06f541.system.js"],(function(e){"use strict";var t,n,i,r,a,l;return{setters:[function(e){t=e.r;n=e.h;i=e.a;r=e.g},function(e){a=e.s;l=e.o},function(){}],execute:function(){var o='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';var s=e("pn_sidenav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-sidenav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="sidenav-lvl".concat(this.level,"-").concat(t);if(e.getAttribute("current")+""==="true"){a.openLevel=this.levelId;this.onChangeOpenLevel()}}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){};e.prototype.onChangeOpenLevel=function(){this.isOpen=a.openLevel===this.levelId};e.prototype.render=function(){var e;var t={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:(e=this.levelId)!==null&&e!==void 0?e:""};return n(i,Object.assign({},t,{"data-asdfasdf":this.isOpen}),n("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());s.style=o}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{s(i.next(e))}catch(t){a(t)}}function o(e){try{s(i["throw"](e))}catch(t){a(t)}}function s(e){e.done?n(e.value):r(e.value).then(l,o)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(n=0)),n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(s){o=[6,s];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-6259e4f4.system.js","./p-e5f99384.system.js","./p-bdcedfe9.system.js"],(function(e){"use strict";var t,n,i,r,a,l;return{setters:[function(e){t=e.r;n=e.h;i=e.a;r=e.g},function(e){a=e.s;l=e.o},function(){}],execute:function(){var o='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';var s=e("pn_sidenav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-sidenav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="sidenav-lvl".concat(this.level,"-").concat(t);if(e.getAttribute("current")+""==="true"){a.openLevel=this.levelId;this.onChangeOpenLevel()}}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){};e.prototype.onChangeOpenLevel=function(){this.isOpen=a.openLevel===this.levelId};e.prototype.render=function(){var e;var t={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:(e=this.levelId)!==null&&e!==void 0?e:""};return n(i,Object.assign({},t,{"data-asdfasdf":this.isOpen}),n("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());s.style=o}}}));
@@ -1 +1 @@
1
- import{r as e,c as t,h as n,a as i,g as s}from"./p-57d37022.js";import{s as o,o as a}from"./p-f1962610.js";import{s as r}from"./p-6f2e839c.js";import{c as l}from"./p-e3a65e18.js";const h={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"},zh:{heading:"语言"},fr:{heading:"Langue"},es:{heading:"Idioma"},nl:{heading:"Spraak"},it:{heading:"Idioma"}},d=class{constructor(n){e(this,n),this.setLanguage=t(this,"setLanguage",7),this.value="",this.selectedLanguageName="",this.options=[],this.i18n=void 0}componentWillLoad(){this.setInitialSelectedLanguageName(),this.setTranslations()}componentDidLoad(){this.initialize()}initialize(){this.setSelectedLanguageName(),this.addEventBindingsToOptions()}setInitialSelectedLanguageName(){if(!window.Intl||!this.value)return;const e=new Intl.DisplayNames([this.value],{type:"language"});if(!e)return;const t=e.of(this.value);t&&(this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1))}addEventBindingsToOptions(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.removeEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)})),e.addEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)}))}))}setSelectedLanguageName(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.getAttribute("code")==this.value&&(this.selectedLanguageName=e.getAttribute("name"))}))}onSetCurrentLanguage(e){this.value=e.code,this.selectedLanguageName=e.name,this.setLanguage.emit(this.value)}setTranslations(){h[this.value]&&(this.i18n=h[this.value])}onValueChange(){var e;(null!==(e=this.hostElement.querySelectorAll("pn-language-selector-option"))&&void 0!==e?e:[]).forEach((e=>{const t=(e.getAttribute("code")===this.value)+"";e.getAttribute("selected")+""!==t&&e.setAttribute("selected",t)}))}render(){return n(i,{value:this.value},n("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},n("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},n("strong",{class:"languageselector-title"},this.i18n.heading),n("div",{class:"languageselector-list",role:"list"},n("slot",null)))))}get hostElement(){return s(this)}static get watchers(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}}};d.style="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";const c=class{constructor(n){e(this,n),this.setCurrentLanguage=t(this,"setCurrentLanguage",7),this.name="",this.code="",this.url="",this.selected=!1,this.currentLanguage=void 0}onOptionClick(){this.setCurrentLanguage.emit({name:this.name,code:this.code,url:this.url,current:!0})}render(){return n(i,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},this.url?n("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):n("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))}};c.style="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-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}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";const m={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"},zh:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},it:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},nl:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"}},u=class{constructor(n){e(this,n),this.menuLanguageChange=t(this,"menuLanguageChange",7),this.marketChange=t(this,"marketChange",7),this.menuOpenChange=t(this,"menuOpenChange",7),this.market="se",this.language="sv",this.navigationId="mainnav",this.openMenu=!1,this.navLabel=""}componentWillLoad(){this.init(),document.removeEventListener("mousedown",this._onClickOutside.bind(this)),document.addEventListener("mousedown",this._onClickOutside.bind(this))}async init(){this.setLanguage(),this.setMarket()}_onClickOutside(e){!this.hostElement.contains(e.target)&&(o.openLevel="")}setLanguage(){this.menuLanguageChange.emit(this.language)}setMarket(){this.marketChange.emit(this.market)}onLanguageChange(e){m[e.detail]&&(o.i18n=m[e.detail],this.navLabel||(this.navLabel=o.i18n.navLabel))}setMenuOpenState(){o.openMenu=!o.openMenu,this.menuOpenChange.emit(o.openMenu)}onOpenMenuLevelChange(e){o.openLevel=e.detail}render(){return n(i,null,n("div",{class:"mainnav-toggle"},n("button",{"aria-controls":this.navigationId,"aria-expanded":o.openMenu+"",onClick:this.setMenuOpenState.bind(this)},o.i18n.mainMenuButton,n("pn-icon",{symbol:o.openMenu?"close":"bars",color:"white"}))),n("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":o.openMenu+"","data-menu-currentlevel":o.currentLevel,id:this.navigationId},n("slot",null)))}get hostElement(){return s(this)}};u.style="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";const g=class{constructor(t){e(this,t),this.label="",this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.listCount=0,this.alignment="right"}async componentWillLoad(){this.setState(),a("openLevel",(()=>{this.onChangeOpenLevel()}))}setState(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-mainnav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",!this.label&&this.parentName&&(this.label=this.parentName),this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`mainnav-lvl${this.level}-${t}`}}onOpen(){2===this.level&&requestAnimationFrame((()=>{const e=this.hostElement.getClientRects()[0];if(!e)return;const t=this.hostElement.parentElement.parentElement.parentElement.parentElement;if(t&&"nav"===t.tagName.toLowerCase()){if(!t.getClientRects()[0])return;if(e.right>window.innerWidth){const t=this.hostElement.parentElement.getClientRects()[0];this.alignment=t.left-e.width<0?"center":"left"}}}))}onChangeOpenLevel(){this.isOpen=o.openLevel===this.levelId,o.currentLevel=this.level}render(){return n(i,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?n("div",{class:"mainnav-level-header"},n("label",{htmlFor:this.levelId},o.i18n.menuGoBackButton),n("button",{class:"secondlevel-backbtn",onClick:()=>{o.openLevel="",o.currentLevel=1},"aria-expanded":(o.openLevel===this.levelId)+""},n("pn-icon",{symbol:"arrow-left",color:"blue700"}),o.i18n.menuStartButton),this.parentHref&&this.label?n("pn-mainnav-link",{href:this.parentHref,name:this.label,linkid:this.parentLinkId}):null):null,n("slot",{name:"top"}),n("slot",null),n("slot",{name:"additional"}),n("slot",{name:"footer"}))}get hostElement(){return s(this)}static get watchers(){return{label:["setState"],isOpen:["onOpen"]}}};g.style='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';const p=class{constructor(t){e(this,t),this.heading="",this.linkCount=0}componentWillLoad(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length}render(){return n(i,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?n("div",{class:"mainnav-list-heading"},this.heading):null,n("slot",null))}get hostElement(){return s(this)}};p.style='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';class v{constructor(e=null){var t;this.eventTarget=null!==window&&void 0!==window?window:null===document||void 0===document?void 0:document.body,this.endpoint="",this.storagePrefix="pn-user",this.checkUserLoggedInStateInterval=0,this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"},this.events={loginstatechange:"loginstatechange"},this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"},this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"},this.overridetokenValue="overridetokenValue",this.siteUrl=window.location.origin,this.abortSignalForLoginCheck=null,this.loginCheckInProgress=!1,this.loginCheckTimer=null,this.store={get:e=>{const t=window.sessionStorage.getItem(`${this.storagePrefix}-${e}`);if(!t)return t;if(0===t.indexOf("{"))try{return JSON.parse(t)}catch(n){}return-1!==t.indexOf(",")?t.split(","):t},set:(e,t)=>{"object"!=typeof t||void 0!==t.length?window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,t):window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,JSON.stringify(t))},remove:e=>{window.sessionStorage.removeItem(`${this.storagePrefix}-${e}`)}},e&&(this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget,this.endpoint=e.endpoint?e.endpoint:`${window.location.protocol}//${window.location.host}`,null!==(t=this.storagePrefix)&&void 0!==t||(this.storagePrefix=e.storagePrefix),this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0,e.userInfo&&(this.store.set(this.keys.user,e.userInfo),this.registerToken(this.overridetokenValue,"override")))}init(e=!0){e&&(this.checkParameters(),this.checkPNTopbar(),this.checkExpireTime(),this.store.get(this.keys.token)&&!this.store.get(this.keys.user)&&this.fetchUserInfo(),this.loginStateChange(),this.checkUserLoggedInStateInterval>0&&this.initiateLoggedInCheck())}setSiteUrl(e){e&&(this.siteUrl=e)}initiateLoggedInCheck(){this.isLoggedIn()&&(window&&window.AbortController&&(this.abortSignalForLoginCheck=new AbortController),this.loginCheckTimer=window.setInterval((()=>{this.doExternalLoggedInCheck().then((()=>{})).catch((()=>{}))}),this.checkUserLoggedInStateInterval))}async doExternalLoggedInCheck(){if(!window.navigator.onLine)return;if(!this.getToken())return void window.clearInterval(this.checkUserLoggedInStateInterval);this.loginCheckInProgress&&this.abortSignalForLoginCheck&&(this.abortSignalForLoginCheck.abort(),this.abortSignalForLoginCheck=new AbortController),this.loginCheckInProgress=!0;const e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck.signal&&(e.signal=this.abortSignalForLoginCheck.signal);const t=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,e);if(409===t.status)return window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),void this.LogoutUser();if(!t.ok)return;const n=await t.json();n&&n.accessToken||(window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),this.LogoutUser()),this.loginCheckInProgress=!1}LogoutUser(){if(this.clearUserData(),this.eventTarget){const e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e)return void e.click()}const e=window.location.href;window.location.href=this.getLogoutUrl(e)}isLoggedIn(e=!1){if(e)return e;let t=!(!this.store.get(this.keys.token)||!this.store.get(this.keys.user));return t||this.store.get(this.keys.token)!==this.overridetokenValue||(t=!0),t}registerToken(e="",t="frontend"){e&&e!==this.getToken()&&(this.clearUserData(),this.store.set(this.keys.tokensource,t),this.store.set(this.keys.token,e),this.fetchUserInfo())}invalidateTokenOfType(e="frontend"){this.store.get(this.keys.token)&&this.store.get(this.keys.tokensource)===e&&this.clearUserData()}getLoginUrl(e=""){const t=window.location.href;return e=e||t,`${this.getBaseUrl()}${this.endpoints.authorizationEndpoint}?redirectionUrl=${e}`}getLogoutUrl(e=""){if(-1!==e.indexOf("logout?logoutUrl"))return e;let t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href),n=this.siteUrl;try{n=new URL(this.siteUrl+"").origin}catch(s){}const i=n.lastIndexOf("/")!==n.length-1;return`${n+(i?"/":"")+"logout"}?logoutUrl=${this.getBaseUrl()}${this.endpoints.logoutEndpoint}?authorization=${this.store.get(this.keys.token)}%26redirectionUrl=${t}`}getUserInfo(){if(this.isLoggedIn())return this.store.get(this.keys.user)}getEventTarget(){return this.eventTarget}checkExpireTime(){const e=this.store.get(this.keys.expire);e&&new Date>new Date(Math.floor(1e3*parseInt(e,10)))&&(console.info("Login time has expired"),this.clearUserData(),this.loginStateChange())}checkPNTopbar(){!this.isLoggedIn()&&window.pnTopbar&&window.pnTopbar.session_id&&(this.store.set(this.keys.token,window.pnTopbar.session_id),this.fetchUserInfo())}checkParameters(){if(!(null===window||void 0===window?void 0:window.location))return;const e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){const t=e.get("oneTimeCode");this.exchangeToken(t).then((()=>{const e=window.location.href,n=-1!==e.indexOf("?oneTimeCode")?"?":"&",i=e.replace(`${n}oneTimeCode=${t}`,"");history.replaceState({},document.querySelector("title").innerText,i)}))}}async fetchUserInfo(){const e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue)return void console.info("Did not fetch user data since it was set by an override");const t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}},n=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,t),i=await n.json();if(i&&i.idToken)try{const{idToken:e,expiryTime:t,accessToken:n}=i,s=this.parseUserInfo(e);if(!s)return console.error("Userdata is not valid"),void this.clearUserData();this.store.set(this.keys.user,s),this.store.set(this.keys.accessToken,n),this.store.set(this.keys.expire,t),this.store.set(this.keys.expireDate,new Date(Math.floor(1e3*parseInt(t,10)))),this.loginStateChange()}catch(s){console.error("Unable to get user information",s)}else console.error("Unable to get user information. Clearing login state"),this.clearUserData()}clearUserData(){this.store.remove(this.keys.user),this.store.remove(this.keys.tokensource),this.store.remove(this.keys.accessToken),this.store.remove(this.keys.token),this.store.remove(this.keys.expire),this.store.remove(this.keys.expireDate)}getToken(){return this.store.get(this.keys.token)}getAccessToken(){return this.store.get(this.keys.accessToken)}async exchangeToken(e){this.clearUserData();const t=await fetch(`${this.getBaseUrl()}${this.endpoints.tokenExchangeEndpoint}?oneTimeCode=${e}`),{token:n}=await t.json();"string"==typeof n&&n&&this.store.set(this.keys.token,n),this.fetchUserInfo()}loginStateChange(){this.eventTarget&&this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))}getBaseUrl(){let e=["localhost","integration.","local."].filter((e=>-1!==this.endpoint.indexOf(e))).length>0;return-1!==["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)&&(e=!0),e?this.baseUrls.at:this.baseUrls.prod}parseUserInfo(e){if(!e)return null;var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}}const w=class{constructor(n){var i;e(this,n),this.loginStateChange=t(this,"loginStateChange",7),this.endpoint="",this.token="",this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""},this.siteUrl="",this.emitEvents=!0,this.loginDialog=null,this.fullname="",this.loggedin=!1,this.showProfileSelection=!1,this.showUnifiedLogin=!1,this.checkUserLoggedInStateInterval=0,this.environment=void 0,this.loginLinks=void 0,this.toggleButtonText=(null===(i=this.loginDialog)||void 0===i?void 0:i.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"",this.username=this.fullname}componentWillLoad(){r.loginManager=new v({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:this.loggedin&&this.fullname?{given_name:this.fullname}:null}),r.loginManager.setSiteUrl(this.siteUrl),this.hostElement.loginmanager=r.loginManager,this.token?r.loginManager.registerToken(this.token,"backend"):this.emitEvents&&r.loginManager.invalidateTokenOfType("backend"),this.hostElement.addEventListener(r.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this)),this.init(),this.setUserName(),this.setToggleButtonText()}async init(){r.loginManager.init(this.emitEvents),this.setToggleButtonText(),this.adjustLoginLinks()}adjustLoginLinks(){var e;if(!(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks))return;const t=(e,t)=>(e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=r.loginManager.getLogoutUrl(e.href)),0!==t||e.href||(e.href=r.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary"),e);this.loginDialog&&(this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t),this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)),this.loginDialog.legacyLoginLinks=[{href:r.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:r.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}setUserName(){const e=r.loginManager.getUserInfo();let t="";this.loggedin&&e||(this.username=t),e&&e.given_name&&(t=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),!t&&e&&e.email&&(t=e.email),!t&&this.fullname&&(t=this.fullname),this.username=t}setToggleButtonText(){this.loggedin?(this.toggleButtonText=this.username,this.toggleButtonText||(this.toggleButtonText=this.loginDialog.loggedInButtonText)):this.toggleButtonText=this.loginDialog.loginMenuLinkText}onLoginStateChange(e){this.loggedin!==e.detail&&this.emitEvents&&(this.loggedin=e.detail,this.loginStateChange.emit({loggedIn:this.loggedin,token:r.loginManager.getToken()}),this.setUserName(),this.setToggleButtonText())}render(){if(!this.loginDialog)return;let e={username:null,loggedin:"false"};return this.username&&(e.username=this.username,e.loggedin=this.loggedin+""),n(i,Object.assign({},e),n("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&n("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?n("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):n("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&n("span",{innerHTML:`${this.loginDialog.loginInfo}`})))}get hostElement(){return s(this)}static get watchers(){return{i18n:["init"],loginDialog:["init"]}}};w.style='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';const{state:b,onChange:f}=l({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),k=class{constructor(t){e(this,t),this.i18n=void 0,this.showOnlyLink=!1,this.hideSearch=!1,this.language=null,this.siteid=null,this.search={},this.primary=!1,this.icononly=!0,this.autoCompleteOptions=[]}onSearchValueUpdate(){this.getAutocomplete(b.searchValue)}async getAutocomplete(e){if(!this.search.AutocompleteEndpoint||e.length<2)return void(this.autoCompleteOptions=[]);if(b.autocompleteSuggestions[e])return void this.setAutocompleteSuggestions(b.autocompleteSuggestions[e]);let t=`${this.search.AutocompleteEndpoint}?prefix=${e}&size=10`;(this.language||this.siteid)&&(t+="&tags=",this.language&&(t+=`language:${this.language}`),this.language&&this.siteid&&(t+=","),this.siteid&&(t+=`siteid:${this.siteid}`));const n=await fetch(t,{signal:b.requestAbortController.signal}).catch((e=>{console.warn("Unable to fetch autocomplete suggestions",e)}));if(!n)return;const i=await n.json();if(!i||!i.hits||!i.hits.length)return;const s=i.hits.filter((e=>"editorial"===e.type)).map((e=>e.query));b.autocompleteSuggestions[e]=s,this.setAutocompleteSuggestions(s)}setAutocompleteSuggestions(e){"object"==typeof e&&"number"==typeof e.length&&0!==e.length&&(this.autoCompleteOptions=e)}componentWillLoad(){f("searchValue",(()=>{this.onSearchValueUpdate()}))}componentDidRender(){const e=this.hostElement.querySelector("pn-search-field input:not([list])");e&&this.search.AutocompleteEndpoint&&e.setAttribute("list","siteheader-search-autocomplete")}render(){if(!this.search.formActionUrl||this.hideSearch)return;const e=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return n("div",{class:"siteheader-search"},this.showOnlyLink?n("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},n("pn-button",{appearance:"light",icon:"search"})):n("form",{method:"get",action:this.search.formActionUrl,role:"search"},n("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:this.icononly?"icon":null},e,{onUpdate:e=>{b.searchValue=e.detail},onSearch:()=>{const e=this.hostElement.querySelector("form");e&&e.submit()},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?n("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((e=>n("option",null,e)))):null))}get hostElement(){return s(this)}};k.style=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";const x={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}},y=class{constructor(t){e(this,t),this.buttontext="postnord",this.heading="PostNord",this.language="sv",this.i18n={navlabel:"Site selector"}}componentWillLoad(){this.setLanguage()}setLanguage(){x[this.language]&&(this.i18n=x[this.language])}render(){return n(i,null,n("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},n("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?n("strong",{class:"siteselector-heading"},this.heading):null,n("ul",{class:"siteselector-list"},n("slot",null)))))}get hostElement(){return s(this)}};y.style="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";const F=class{constructor(t){e(this,t),this.url="",this.heading="",this.description="",this.newwindow=!1}render(){return n(i,{role:"listitem"},this.url?n("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},n("span",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)),n("pn-icon",{symbol:"angle-small-right",color:"blue700"})):n("div",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)))}};F.style="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";export{d as pn_language_selector,c as pn_language_selector_option,u as pn_mainnav,g as pn_mainnav_level,p as pn_mainnav_list,w as pn_marketweb_siteheader_login,k as pn_marketweb_siteheader_search,y as pn_site_selector,F as pn_site_selector_item}
1
+ import{r as e,c as t,h as n,a as i,g as s}from"./p-d0e65d70.js";import{s as o,o as a}from"./p-c02ddf82.js";import{s as r}from"./p-8bafabe5.js";import{c as l}from"./p-03d7d79b.js";const h={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"},zh:{heading:"语言"},fr:{heading:"Langue"},es:{heading:"Idioma"},nl:{heading:"Spraak"},it:{heading:"Idioma"}},d=class{constructor(n){e(this,n),this.setLanguage=t(this,"setLanguage",7),this.value="",this.selectedLanguageName="",this.options=[],this.i18n=void 0}componentWillLoad(){this.setInitialSelectedLanguageName(),this.setTranslations()}componentDidLoad(){this.initialize()}initialize(){this.setSelectedLanguageName(),this.addEventBindingsToOptions()}setInitialSelectedLanguageName(){if(!window.Intl||!this.value)return;const e=new Intl.DisplayNames([this.value],{type:"language"});if(!e)return;const t=e.of(this.value);t&&(this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1))}addEventBindingsToOptions(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.removeEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)})),e.addEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)}))}))}setSelectedLanguageName(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.getAttribute("code")==this.value&&(this.selectedLanguageName=e.getAttribute("name"))}))}onSetCurrentLanguage(e){this.value=e.code,this.selectedLanguageName=e.name,this.setLanguage.emit(this.value)}setTranslations(){h[this.value]&&(this.i18n=h[this.value])}onValueChange(){var e;(null!==(e=this.hostElement.querySelectorAll("pn-language-selector-option"))&&void 0!==e?e:[]).forEach((e=>{const t=(e.getAttribute("code")===this.value)+"";e.getAttribute("selected")+""!==t&&e.setAttribute("selected",t)}))}render(){return n(i,{value:this.value},n("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},n("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},n("strong",{class:"languageselector-title"},this.i18n.heading),n("div",{class:"languageselector-list",role:"list"},n("slot",null)))))}get hostElement(){return s(this)}static get watchers(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}}};d.style="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";const c=class{constructor(n){e(this,n),this.setCurrentLanguage=t(this,"setCurrentLanguage",7),this.name="",this.code="",this.url="",this.selected=!1,this.currentLanguage=void 0}onOptionClick(){this.setCurrentLanguage.emit({name:this.name,code:this.code,url:this.url,current:!0})}render(){return n(i,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},this.url?n("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):n("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))}};c.style="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-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}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";const m={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"},zh:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},it:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},nl:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"}},u=class{constructor(n){e(this,n),this.menuLanguageChange=t(this,"menuLanguageChange",7),this.marketChange=t(this,"marketChange",7),this.menuOpenChange=t(this,"menuOpenChange",7),this.market="se",this.language="sv",this.navigationId="mainnav",this.openMenu=!1,this.navLabel=""}componentWillLoad(){this.init(),document.removeEventListener("mousedown",this._onClickOutside.bind(this)),document.addEventListener("mousedown",this._onClickOutside.bind(this))}async init(){this.setLanguage(),this.setMarket()}_onClickOutside(e){!this.hostElement.contains(e.target)&&(o.openLevel="")}setLanguage(){this.menuLanguageChange.emit(this.language)}setMarket(){this.marketChange.emit(this.market)}onLanguageChange(e){m[e.detail]&&(o.i18n=m[e.detail],this.navLabel||(this.navLabel=o.i18n.navLabel))}setMenuOpenState(){o.openMenu=!o.openMenu,this.menuOpenChange.emit(o.openMenu)}onOpenMenuLevelChange(e){o.openLevel=e.detail}render(){return n(i,null,n("div",{class:"mainnav-toggle"},n("button",{"aria-controls":this.navigationId,"aria-expanded":o.openMenu+"",onClick:this.setMenuOpenState.bind(this)},o.i18n.mainMenuButton,n("pn-icon",{symbol:o.openMenu?"close":"bars",color:"white"}))),n("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":o.openMenu+"","data-menu-currentlevel":o.currentLevel,id:this.navigationId},n("slot",null)))}get hostElement(){return s(this)}};u.style="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";const g=class{constructor(t){e(this,t),this.label="",this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.listCount=0,this.alignment="right"}async componentWillLoad(){this.setState(),a("openLevel",(()=>{this.onChangeOpenLevel()}))}setState(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-mainnav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",!this.label&&this.parentName&&(this.label=this.parentName),this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`mainnav-lvl${this.level}-${t}`}}onOpen(){2===this.level&&requestAnimationFrame((()=>{const e=this.hostElement.getClientRects()[0];if(!e)return;const t=this.hostElement.parentElement.parentElement.parentElement.parentElement;if(t&&"nav"===t.tagName.toLowerCase()){if(!t.getClientRects()[0])return;if(e.right>window.innerWidth){const t=this.hostElement.parentElement.getClientRects()[0];this.alignment=t.left-e.width<0?"center":"left"}}}))}onChangeOpenLevel(){this.isOpen=o.openLevel===this.levelId,o.currentLevel=this.level}render(){return n(i,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?n("div",{class:"mainnav-level-header"},n("label",{htmlFor:this.levelId},o.i18n.menuGoBackButton),n("button",{class:"secondlevel-backbtn",onClick:()=>{o.openLevel="",o.currentLevel=1},"aria-expanded":(o.openLevel===this.levelId)+""},n("pn-icon",{symbol:"arrow-left",color:"blue700"}),o.i18n.menuStartButton),this.parentHref&&this.label?n("pn-mainnav-link",{href:this.parentHref,name:this.label,linkid:this.parentLinkId}):null):null,n("slot",{name:"top"}),n("slot",null),n("slot",{name:"additional"}),n("slot",{name:"footer"}))}get hostElement(){return s(this)}static get watchers(){return{label:["setState"],isOpen:["onOpen"]}}};g.style='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';const p=class{constructor(t){e(this,t),this.heading="",this.linkCount=0}componentWillLoad(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length}render(){return n(i,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?n("div",{class:"mainnav-list-heading"},this.heading):null,n("slot",null))}get hostElement(){return s(this)}};p.style='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';class v{constructor(e=null){var t;this.eventTarget=null!==window&&void 0!==window?window:null===document||void 0===document?void 0:document.body,this.endpoint="",this.storagePrefix="pn-user",this.checkUserLoggedInStateInterval=0,this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"},this.events={loginstatechange:"loginstatechange"},this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"},this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"},this.overridetokenValue="overridetokenValue",this.siteUrl=window.location.origin,this.abortSignalForLoginCheck=null,this.loginCheckInProgress=!1,this.loginCheckTimer=null,this.store={get:e=>{const t=window.sessionStorage.getItem(`${this.storagePrefix}-${e}`);if(!t)return t;if(0===t.indexOf("{"))try{return JSON.parse(t)}catch(n){}return-1!==t.indexOf(",")?t.split(","):t},set:(e,t)=>{"object"!=typeof t||void 0!==t.length?window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,t):window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,JSON.stringify(t))},remove:e=>{window.sessionStorage.removeItem(`${this.storagePrefix}-${e}`)}},e&&(this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget,this.endpoint=e.endpoint?e.endpoint:`${window.location.protocol}//${window.location.host}`,null!==(t=this.storagePrefix)&&void 0!==t||(this.storagePrefix=e.storagePrefix),this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0,e.userInfo&&(this.store.set(this.keys.user,e.userInfo),this.registerToken(this.overridetokenValue,"override")))}init(e=!0){e&&(this.checkParameters(),this.checkPNTopbar(),this.checkExpireTime(),this.store.get(this.keys.token)&&!this.store.get(this.keys.user)&&this.fetchUserInfo(),this.loginStateChange(),this.checkUserLoggedInStateInterval>0&&this.initiateLoggedInCheck())}setSiteUrl(e){e&&(this.siteUrl=e)}initiateLoggedInCheck(){this.isLoggedIn()&&(window&&window.AbortController&&(this.abortSignalForLoginCheck=new AbortController),this.loginCheckTimer=window.setInterval((()=>{this.doExternalLoggedInCheck().then((()=>{})).catch((()=>{}))}),this.checkUserLoggedInStateInterval))}async doExternalLoggedInCheck(){if(!window.navigator.onLine)return;if(!this.getToken())return void window.clearInterval(this.checkUserLoggedInStateInterval);this.loginCheckInProgress&&this.abortSignalForLoginCheck&&(this.abortSignalForLoginCheck.abort(),this.abortSignalForLoginCheck=new AbortController),this.loginCheckInProgress=!0;const e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck.signal&&(e.signal=this.abortSignalForLoginCheck.signal);const t=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,e);if(409===t.status)return window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),void this.LogoutUser();if(!t.ok)return;const n=await t.json();n&&n.accessToken||(window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),this.LogoutUser()),this.loginCheckInProgress=!1}LogoutUser(){if(this.clearUserData(),this.eventTarget){const e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e)return void e.click()}const e=window.location.href;window.location.href=this.getLogoutUrl(e)}isLoggedIn(e=!1){if(e)return e;let t=!(!this.store.get(this.keys.token)||!this.store.get(this.keys.user));return t||this.store.get(this.keys.token)!==this.overridetokenValue||(t=!0),t}registerToken(e="",t="frontend"){e&&e!==this.getToken()&&(this.clearUserData(),this.store.set(this.keys.tokensource,t),this.store.set(this.keys.token,e),this.fetchUserInfo())}invalidateTokenOfType(e="frontend"){this.store.get(this.keys.token)&&this.store.get(this.keys.tokensource)===e&&this.clearUserData()}getLoginUrl(e=""){const t=window.location.href;return e=e||t,`${this.getBaseUrl()}${this.endpoints.authorizationEndpoint}?redirectionUrl=${e}`}getLogoutUrl(e=""){if(-1!==e.indexOf("logout?logoutUrl"))return e;let t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href),n=this.siteUrl;try{n=new URL(this.siteUrl+"").origin}catch(s){}const i=n.lastIndexOf("/")!==n.length-1;return`${n+(i?"/":"")+"logout"}?logoutUrl=${this.getBaseUrl()}${this.endpoints.logoutEndpoint}?authorization=${this.store.get(this.keys.token)}%26redirectionUrl=${t}`}getUserInfo(){if(this.isLoggedIn())return this.store.get(this.keys.user)}getEventTarget(){return this.eventTarget}checkExpireTime(){const e=this.store.get(this.keys.expire);e&&new Date>new Date(Math.floor(1e3*parseInt(e,10)))&&(console.info("Login time has expired"),this.clearUserData(),this.loginStateChange())}checkPNTopbar(){!this.isLoggedIn()&&window.pnTopbar&&window.pnTopbar.session_id&&(this.store.set(this.keys.token,window.pnTopbar.session_id),this.fetchUserInfo())}checkParameters(){if(!(null===window||void 0===window?void 0:window.location))return;const e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){const t=e.get("oneTimeCode");this.exchangeToken(t).then((()=>{const e=window.location.href,n=-1!==e.indexOf("?oneTimeCode")?"?":"&",i=e.replace(`${n}oneTimeCode=${t}`,"");history.replaceState({},document.querySelector("title").innerText,i)}))}}async fetchUserInfo(){const e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue)return void console.info("Did not fetch user data since it was set by an override");const t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}},n=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,t),i=await n.json();if(i&&i.idToken)try{const{idToken:e,expiryTime:t,accessToken:n}=i,s=this.parseUserInfo(e);if(!s)return console.error("Userdata is not valid"),void this.clearUserData();this.store.set(this.keys.user,s),this.store.set(this.keys.accessToken,n),this.store.set(this.keys.expire,t),this.store.set(this.keys.expireDate,new Date(Math.floor(1e3*parseInt(t,10)))),this.loginStateChange()}catch(s){console.error("Unable to get user information",s)}else console.error("Unable to get user information. Clearing login state"),this.clearUserData()}clearUserData(){this.store.remove(this.keys.user),this.store.remove(this.keys.tokensource),this.store.remove(this.keys.accessToken),this.store.remove(this.keys.token),this.store.remove(this.keys.expire),this.store.remove(this.keys.expireDate)}getToken(){return this.store.get(this.keys.token)}getAccessToken(){return this.store.get(this.keys.accessToken)}async exchangeToken(e){this.clearUserData();const t=await fetch(`${this.getBaseUrl()}${this.endpoints.tokenExchangeEndpoint}?oneTimeCode=${e}`),{token:n}=await t.json();"string"==typeof n&&n&&this.store.set(this.keys.token,n),this.fetchUserInfo()}loginStateChange(){this.eventTarget&&this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))}getBaseUrl(){let e=["localhost","integration.","local."].filter((e=>-1!==this.endpoint.indexOf(e))).length>0;return-1!==["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)&&(e=!0),e?this.baseUrls.at:this.baseUrls.prod}parseUserInfo(e){if(!e)return null;var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}}const b=class{constructor(n){var i;e(this,n),this.loginStateChange=t(this,"loginStateChange",7),this.endpoint="",this.token="",this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""},this.siteUrl="",this.emitEvents=!0,this.loginDialog=null,this.fullname="",this.loggedin=!1,this.showProfileSelection=!1,this.showUnifiedLogin=!1,this.checkUserLoggedInStateInterval=0,this.environment=void 0,this.loginLinks=void 0,this.toggleButtonText=(null===(i=this.loginDialog)||void 0===i?void 0:i.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"",this.username=this.fullname}componentWillLoad(){r.loginManager=new v({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:this.loggedin&&this.fullname?{given_name:this.fullname}:null}),r.loginManager.setSiteUrl(this.siteUrl),this.hostElement.loginmanager=r.loginManager,this.token?r.loginManager.registerToken(this.token,"backend"):this.emitEvents&&r.loginManager.invalidateTokenOfType("backend"),this.hostElement.addEventListener(r.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this)),this.init(),this.setUserName(),this.setToggleButtonText()}async init(){r.loginManager.init(this.emitEvents),this.setToggleButtonText(),this.adjustLoginLinks()}adjustLoginLinks(){var e;if(!(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks))return;const t=(e,t)=>(e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=r.loginManager.getLogoutUrl(e.href)),0!==t||e.href||(e.href=r.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary"),e);this.loginDialog&&(this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t),this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)),this.loginDialog.legacyLoginLinks=[{href:r.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:r.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}setUserName(){const e=r.loginManager.getUserInfo();let t="";this.loggedin&&e||(this.username=t),e&&e.given_name&&(t=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),!t&&e&&e.email&&(t=e.email),!t&&this.fullname&&(t=this.fullname),this.username=t}setToggleButtonText(){this.loggedin?(this.toggleButtonText=this.username,this.toggleButtonText||(this.toggleButtonText=this.loginDialog.loggedInButtonText)):this.toggleButtonText=this.loginDialog.loginMenuLinkText}onLoginStateChange(e){this.loggedin!==e.detail&&this.emitEvents&&(this.loggedin=e.detail,this.loginStateChange.emit({loggedIn:this.loggedin,token:r.loginManager.getToken()}),this.setUserName(),this.setToggleButtonText())}render(){if(!this.loginDialog)return;let e={username:null,loggedin:"false"};return this.username&&(e.username=this.username,e.loggedin=this.loggedin+""),n(i,Object.assign({},e),n("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&n("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?n("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):n("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&n("span",{innerHTML:`${this.loginDialog.loginInfo}`})))}get hostElement(){return s(this)}static get watchers(){return{i18n:["init"],loginDialog:["init"]}}};b.style='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';const{state:w,onChange:f}=l({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),k=class{constructor(t){e(this,t),this.i18n=void 0,this.showOnlyLink=!1,this.hideSearch=!1,this.language=null,this.siteid=null,this.search={},this.primary=!1,this.icononly=!0,this.autoCompleteOptions=[]}onSearchValueUpdate(){this.getAutocomplete(w.searchValue)}async getAutocomplete(e){if(!this.search.AutocompleteEndpoint||e.length<2)return void(this.autoCompleteOptions=[]);if(w.autocompleteSuggestions[e])return void this.setAutocompleteSuggestions(w.autocompleteSuggestions[e]);let t=`${this.search.AutocompleteEndpoint}?prefix=${e}&size=10`;(this.language||this.siteid)&&(t+="&tags=",this.language&&(t+=`language:${this.language}`),this.language&&this.siteid&&(t+=","),this.siteid&&(t+=`siteid:${this.siteid}`));const n=await fetch(t,{signal:w.requestAbortController.signal}).catch((e=>{console.warn("Unable to fetch autocomplete suggestions",e)}));if(!n)return;const i=await n.json();if(!i||!i.hits||!i.hits.length)return;const s=i.hits.filter((e=>"editorial"===e.type)).map((e=>e.query));w.autocompleteSuggestions[e]=s,this.setAutocompleteSuggestions(s)}setAutocompleteSuggestions(e){"object"==typeof e&&"number"==typeof e.length&&0!==e.length&&(this.autoCompleteOptions=e)}componentWillLoad(){f("searchValue",(()=>{this.onSearchValueUpdate()}))}componentDidRender(){const e=this.hostElement.querySelector("pn-search-field input:not([list])");e&&this.search.AutocompleteEndpoint&&e.setAttribute("list","siteheader-search-autocomplete")}render(){if(!this.search.formActionUrl||this.hideSearch)return;const e=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return n("div",{class:"siteheader-search"},this.showOnlyLink?n("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},n("pn-button",{appearance:"light",icon:"search"})):n("form",{method:"get",action:this.search.formActionUrl,role:"search"},n("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:this.icononly?"icon":null},e,{onUpdate:e=>{w.searchValue=e.detail},onSearch:()=>{const e=this.hostElement.querySelector("form");e&&e.submit()},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?n("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((e=>n("option",null,e)))):null))}get hostElement(){return s(this)}};k.style=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";const x={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}},y=class{constructor(t){e(this,t),this.buttontext="postnord",this.heading="PostNord",this.language="sv",this.i18n={navlabel:"Site selector"}}componentWillLoad(){this.setLanguage()}setLanguage(){x[this.language]&&(this.i18n=x[this.language])}render(){return n(i,null,n("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},n("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?n("strong",{class:"siteselector-heading"},this.heading):null,n("ul",{class:"siteselector-list"},n("slot",null)))))}get hostElement(){return s(this)}};y.style="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";const F=class{constructor(t){e(this,t),this.url="",this.heading="",this.description="",this.newwindow=!1}render(){return n(i,{role:"listitem"},this.url?n("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},n("span",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)),n("pn-icon",{symbol:"angle-small-right",color:"blue700"})):n("div",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)))}};F.style="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";export{d as pn_language_selector,c as pn_language_selector_option,u as pn_mainnav,g as pn_mainnav_level,p as pn_mainnav_list,b as pn_marketweb_siteheader_login,k as pn_marketweb_siteheader_search,y as pn_site_selector,F as pn_site_selector_item}
@@ -1 +1 @@
1
- System.register(["./p-7ffa5533.system.js"],(function(e){"use strict";var t,a,o,n;return{setters:[function(e){t=e.r;a=e.h;o=e.a;n=e.g}],execute:function(){var r="pn-quote-card .pn-quote-card__container{margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:262px;padding:0 2.4rem}pn-quote-card .pn-quote-card__quote__container{padding:0 3.2rem}pn-quote-card .pn-quote-card__quote{position:relative;font-weight:400;font-size:2rem;line-height:140%;margin:0}pn-quote-card .pn-quote-card__quote svg{position:absolute;left:-3.2rem;top:0.2rem}pn-quote-card .pn-quote-card__reference__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;gap:1.6rem;-ms-flex-align:center;align-items:center}pn-quote-card .pn-quote-card__reference__name{display:block;font-weight:400;font-size:2.4rem;line-height:2.9rem}pn-quote-card .pn-quote-card__reference__occupation{display:block;font-weight:400;font-size:1.4rem;line-height:1.7rem}pn-quote-card [slot=illustration]{padding:0}pn-quote-card [slot=illustration-big]{padding:0.8rem 0}pn-quote-card [slot=illustration],pn-quote-card [slot=illustration-big]{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture,pn-quote-card [slot=illustration-big] picture{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture img,pn-quote-card [slot=illustration-big] picture img{-webkit-clip-path:circle(50%);clip-path:circle(50%);max-width:unset}pn-quote-card [slot=horizontal-line],pn-quote-card [slot=vertical-line]{display:-ms-flexbox;display:flex}pn-quote-card[data-line-color=white] .pn-quote-card__section{background-color:#005D92;color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-line-shape__line,pn-quote-card[data-line-color=white] .pn-line-shape__dot{border-color:#FFFFFF;background-color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-quote-card__quote svg>path{fill:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-line-shape__line,pn-quote-card[data-line-color=blue] .pn-line-shape__dot{border-color:#00A0D6;background-color:#00A0D6}pn-quote-card[data-line-color=blue] .pn-quote-card__quote svg>path{fill:#00A0D6}pn-quote-card[data-line-color=blue900] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue900] .pn-line-shape__line,pn-quote-card[data-line-color=blue900] .pn-line-shape__dot{border-color:#0D234B;background-color:#0D234B}pn-quote-card[data-line-color=blue900] .pn-quote-card__quote svg>path{fill:#0D234B}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__section{border-radius:2.4rem}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__container{padding:2.4rem}pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:100%;margin:0 auto}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:70%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:60%}}pn-quote-card[data-card-style=standalone] .pn-quote-card__container{min-height:unset;padding:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__container{padding:0 2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;gap:3.2rem;padding:2.4rem 1.6rem 1.6rem 1.6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{padding:2.4rem 3.2rem 1.6rem 3.2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote svg{display:block;margin-bottom:0.8rem;position:relative;top:0;left:0}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:6rem;width:6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:9rem;width:9rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__large-photo{display:none}pn-quote-card[data-card-style=combo] .pn-quote-card__section{width:100%;margin:0 auto;padding-top:4rem;padding-bottom:4rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-bottom:0}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-top:10rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__container{min-height:10rem;padding-bottom:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:90%;width:100%}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:768px;width:100%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1140px;width:100%;padding:0 5.6rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1440px;width:100%;padding:0 12rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-bottom:0;padding-left:0;padding-right:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-left:2.4rem;padding-right:2.4rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2rem;padding-left:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-0.8rem;top:0.2rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0;top:0.4rem;scale:1.3}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:0;font-size:3.2rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-4.8rem;top:1rem;scale:1.4}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:3.8rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-6.4rem;top:1.6rem;scale:1.8}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:6rem;max-height:6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:10rem;max-height:10rem}}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] [slot=illustration]{display:none}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference{text-align:right}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{display:block;font-size:1.4rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:1.6rem}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:2rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:3.2rem;margin-bottom:1rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{display:block;font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.4rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.6rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:none}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:18rem;height:18rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big] picture>img{width:18rem;height:18rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{position:relative;z-index:1;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]>picture>img{width:24rem;height:24rem}}";var d=e("pn_quote_card",function(){function e(e){t(this,e);this.quote=null;this.name=null;this.occupation=null}e.prototype.render=function(){return a(o,null,a("div",{class:"pn-quote-card__section"},a("div",{class:"pn-quote-card__container"},a("slot",{name:"vertical-line"}," "),a("div",{class:"pn-quote-card__quote__container"},a("blockquote",{class:"pn-quote-card__quote"},a("svg",{width:"25",height:"18",viewBox:"0 0 25 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M10.483 0V7.391C10.483 13.095 6.752 16.961 1.5 18L0.505 15.849C2.937 14.932 4.5 12.211 4.5 10H0.5V0H10.483ZM24.5 0V7.391C24.5 13.095 20.752 16.962 15.5 18L14.504 15.849C16.937 14.932 18.5 12.211 18.5 10H14.517V0H24.5Z",fill:"white"})),this.quote),a("slot",{name:"horizontal-line"}),a("div",{class:"pn-quote-card__reference__container"},a("slot",{name:"illustration"}),a("div",{class:"pn-quote-card__reference"},a("span",{class:"pn-quote-card__reference__name"},this.name),a("span",{class:"pn-quote-card__reference__occupation"},this.occupation)))),a("div",{class:"pn-quote-card__large-photo"},a("slot",{name:"illustration-big"})))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));
1
+ System.register(["./p-6259e4f4.system.js"],(function(e){"use strict";var t,a,o,n;return{setters:[function(e){t=e.r;a=e.h;o=e.a;n=e.g}],execute:function(){var r="pn-quote-card .pn-quote-card__container{margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:262px;padding:0 2.4rem}pn-quote-card .pn-quote-card__quote__container{padding:0 3.2rem}pn-quote-card .pn-quote-card__quote{position:relative;font-weight:400;font-size:2rem;line-height:140%;margin:0}pn-quote-card .pn-quote-card__quote svg{position:absolute;left:-3.2rem;top:0.2rem}pn-quote-card .pn-quote-card__reference__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;gap:1.6rem;-ms-flex-align:center;align-items:center}pn-quote-card .pn-quote-card__reference__name{display:block;font-weight:400;font-size:2.4rem;line-height:2.9rem}pn-quote-card .pn-quote-card__reference__occupation{display:block;font-weight:400;font-size:1.4rem;line-height:1.7rem}pn-quote-card [slot=illustration]{padding:0}pn-quote-card [slot=illustration-big]{padding:0.8rem 0}pn-quote-card [slot=illustration],pn-quote-card [slot=illustration-big]{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture,pn-quote-card [slot=illustration-big] picture{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture img,pn-quote-card [slot=illustration-big] picture img{-webkit-clip-path:circle(50%);clip-path:circle(50%);max-width:unset}pn-quote-card [slot=horizontal-line],pn-quote-card [slot=vertical-line]{display:-ms-flexbox;display:flex}pn-quote-card[data-line-color=white] .pn-quote-card__section{background-color:#005D92;color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-line-shape__line,pn-quote-card[data-line-color=white] .pn-line-shape__dot{border-color:#FFFFFF;background-color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-quote-card__quote svg>path{fill:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-line-shape__line,pn-quote-card[data-line-color=blue] .pn-line-shape__dot{border-color:#00A0D6;background-color:#00A0D6}pn-quote-card[data-line-color=blue] .pn-quote-card__quote svg>path{fill:#00A0D6}pn-quote-card[data-line-color=blue900] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue900] .pn-line-shape__line,pn-quote-card[data-line-color=blue900] .pn-line-shape__dot{border-color:#0D234B;background-color:#0D234B}pn-quote-card[data-line-color=blue900] .pn-quote-card__quote svg>path{fill:#0D234B}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__section{border-radius:2.4rem}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__container{padding:2.4rem}pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:100%;margin:0 auto}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:70%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:60%}}pn-quote-card[data-card-style=standalone] .pn-quote-card__container{min-height:unset;padding:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__container{padding:0 2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;gap:3.2rem;padding:2.4rem 1.6rem 1.6rem 1.6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{padding:2.4rem 3.2rem 1.6rem 3.2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote svg{display:block;margin-bottom:0.8rem;position:relative;top:0;left:0}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:6rem;width:6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:9rem;width:9rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__large-photo{display:none}pn-quote-card[data-card-style=combo] .pn-quote-card__section{width:100%;margin:0 auto;padding-top:4rem;padding-bottom:4rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-bottom:0}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-top:10rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__container{min-height:10rem;padding-bottom:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:90%;width:100%}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:768px;width:100%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1140px;width:100%;padding:0 5.6rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1440px;width:100%;padding:0 12rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-bottom:0;padding-left:0;padding-right:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-left:2.4rem;padding-right:2.4rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2rem;padding-left:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-0.8rem;top:0.2rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0;top:0.4rem;scale:1.3}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:0;font-size:3.2rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-4.8rem;top:1rem;scale:1.4}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:3.8rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-6.4rem;top:1.6rem;scale:1.8}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:6rem;max-height:6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:10rem;max-height:10rem}}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] [slot=illustration]{display:none}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference{text-align:right}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{display:block;font-size:1.4rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:1.6rem}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:2rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:3.2rem;margin-bottom:1rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{display:block;font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.4rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.6rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:none}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:18rem;height:18rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big] picture>img{width:18rem;height:18rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{position:relative;z-index:1;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]>picture>img{width:24rem;height:24rem}}";var d=e("pn_quote_card",function(){function e(e){t(this,e);this.quote=null;this.name=null;this.occupation=null}e.prototype.render=function(){return a(o,null,a("div",{class:"pn-quote-card__section"},a("div",{class:"pn-quote-card__container"},a("slot",{name:"vertical-line"}," "),a("div",{class:"pn-quote-card__quote__container"},a("blockquote",{class:"pn-quote-card__quote"},a("svg",{width:"25",height:"18",viewBox:"0 0 25 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M10.483 0V7.391C10.483 13.095 6.752 16.961 1.5 18L0.505 15.849C2.937 14.932 4.5 12.211 4.5 10H0.5V0H10.483ZM24.5 0V7.391C24.5 13.095 20.752 16.962 15.5 18L14.504 15.849C16.937 14.932 18.5 12.211 18.5 10H14.517V0H24.5Z",fill:"white"})),this.quote),a("slot",{name:"horizontal-line"}),a("div",{class:"pn-quote-card__reference__container"},a("slot",{name:"illustration"}),a("div",{class:"pn-quote-card__reference"},a("span",{class:"pn-quote-card__reference__name"},this.name),a("span",{class:"pn-quote-card__reference__occupation"},this.occupation)))),a("div",{class:"pn-quote-card__large-photo"},a("slot",{name:"illustration-big"})))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));
@@ -1,4 +1,4 @@
1
- import{r as t,h as n,a as r,g as e}from"./p-57d37022.js";import{g as i,c as a,a as o}from"./p-814af281.js";
1
+ import{r as t,h as n,a as r,g as e}from"./p-d0e65d70.js";import{g as i,c as a,a as o}from"./p-814af281.js";
2
2
  //! moment.js
3
3
  //! version : 2.29.4
4
4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors