@postnord/pn-marketweb-components 4.0.4-test2 → 4.0.4

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 (1153) hide show
  1. package/cjs/FetchHelper-2d4c697c.js +85 -0
  2. package/cjs/FetchHelper-2d4c697c.js.map +1 -0
  3. package/cjs/HeadingTag-19376e1f.js +12 -0
  4. package/cjs/HeadingTag-19376e1f.js.map +1 -0
  5. package/cjs/LocalStorageService-e1ee3fac.js +66 -0
  6. package/cjs/LocalStorageService-e1ee3fac.js.map +1 -0
  7. package/cjs/{FetchHelper-e951824f.js → MarketWebContextService-0fdc43c8.js} +1 -82
  8. package/cjs/MarketWebContextService-0fdc43c8.js.map +1 -0
  9. package/cjs/alert_exclamation_circle-24f29a5b.js +8 -0
  10. package/cjs/alert_exclamation_circle-24f29a5b.js.map +1 -0
  11. package/cjs/angle_up-049ec1d8.js +12 -0
  12. package/cjs/angle_up-049ec1d8.js.map +1 -0
  13. package/cjs/close-9e014a80.js +8 -0
  14. package/cjs/close-9e014a80.js.map +1 -0
  15. package/cjs/{index-1d8c9211.js → index-4067c6a5.js} +2 -2
  16. package/cjs/{index-1d8c9211.js.map → index-4067c6a5.js.map} +1 -1
  17. package/cjs/{index-34e1c673.js → index-b02670c2.js} +53 -4
  18. package/cjs/index-b02670c2.js.map +1 -0
  19. package/cjs/index.cjs.js +1 -1
  20. package/cjs/loader.cjs.js +2 -2
  21. package/cjs/pn-address-autofill.cjs.entry.js +51 -75
  22. package/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  23. package/cjs/pn-animated-tile.cjs.entry.js +2 -2
  24. package/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  25. package/cjs/pn-app-banner.cjs.entry.js +3 -3
  26. package/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  27. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  28. package/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  29. package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  30. package/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  31. package/cjs/pn-breakpoints.cjs.entry.js +3 -3
  32. package/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  33. package/cjs/pn-chart.cjs.entry.js +2 -2
  34. package/cjs/pn-chart.cjs.entry.js.map +1 -1
  35. package/cjs/pn-charts-card.cjs.entry.js +2 -2
  36. package/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  37. package/cjs/pn-chat-message_2.cjs.entry.js +347 -0
  38. package/cjs/pn-chat-message_2.cjs.entry.js.map +1 -0
  39. package/cjs/pn-chat.cjs.entry.js +474 -0
  40. package/cjs/pn-chat.cjs.entry.js.map +1 -0
  41. package/cjs/pn-chat.service-5a8d89b9.js +155 -0
  42. package/cjs/pn-chat.service-5a8d89b9.js.map +1 -0
  43. package/cjs/pn-choice-button.cjs.entry.js +2 -2
  44. package/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  45. package/cjs/pn-cta-block.cjs.entry.js +2 -2
  46. package/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  47. package/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  48. package/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  49. package/cjs/pn-customernumber-selector.cjs.entry.js +4 -9
  50. package/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  51. package/cjs/pn-date-and-time.cjs.entry.js +2 -2
  52. package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  53. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +20 -8
  54. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  55. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  56. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  57. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  58. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  59. package/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  60. package/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  61. package/cjs/pn-find-price-result.cjs.entry.js +5 -5
  62. package/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  63. package/cjs/{pn-find-price-store-051e931b.js → pn-find-price-store-0c8256c7.js} +2 -2
  64. package/cjs/{pn-find-price-store-051e931b.js.map → pn-find-price-store-0c8256c7.js.map} +1 -1
  65. package/cjs/pn-find-price.cjs.entry.js +6 -6
  66. package/cjs/pn-find-price.cjs.entry.js.map +1 -1
  67. package/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  68. package/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  69. package/cjs/{pn-find-service-and-price-store-3cec3d31.js → pn-find-service-and-price-store-13f060e0.js} +2 -2
  70. package/cjs/{pn-find-service-and-price-store-3cec3d31.js.map → pn-find-service-and-price-store-13f060e0.js.map} +1 -1
  71. package/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  72. package/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  73. package/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  74. package/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  75. package/cjs/pn-language-selector_9.cjs.entry.js +25 -27
  76. package/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  77. package/cjs/pn-level-up-modal.cjs.entry.js +77 -0
  78. package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -0
  79. package/cjs/pn-level-up.cjs.entry.js +139 -0
  80. package/cjs/pn-level-up.cjs.entry.js.map +1 -0
  81. package/cjs/pn-level-up.service-0e8e67c2.js +71 -0
  82. package/cjs/pn-level-up.service-0e8e67c2.js.map +1 -0
  83. package/cjs/pn-line-shape.cjs.entry.js +2 -2
  84. package/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  85. package/cjs/pn-link-list.cjs.entry.js +3 -3
  86. package/cjs/pn-link-list.cjs.entry.js.map +1 -1
  87. package/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  88. package/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  89. package/cjs/{pn-mainnav-store-1a8153fd.js → pn-mainnav-store-5732f3ca.js} +2 -2
  90. package/cjs/{pn-mainnav-store-1a8153fd.js.map → pn-mainnav-store-5732f3ca.js.map} +1 -1
  91. package/cjs/pn-market-web-components.cjs.js +2 -2
  92. package/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  93. package/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  94. package/cjs/pn-marketweb-input.cjs.entry.js +4 -6
  95. package/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  96. package/cjs/pn-marketweb-search.cjs.entry.js +6 -5
  97. package/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  98. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -10
  99. package/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  100. package/cjs/{pn-marketweb-siteheader-login-button_5.cjs.entry.js → pn-marketweb-siteheader-login-button_4.cjs.entry.js} +8 -26
  101. package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +1 -0
  102. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  103. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  104. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +25 -0
  105. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +1 -0
  106. package/cjs/{pn-marketweb-siteheader-store-75853609.js → pn-marketweb-siteheader-store-ce9d9ac7.js} +2 -2
  107. package/cjs/{pn-marketweb-siteheader-store-75853609.js.map → pn-marketweb-siteheader-store-ce9d9ac7.js.map} +1 -1
  108. package/cjs/pn-marketweb-siteheader.cjs.entry.js +11 -10
  109. package/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  110. package/cjs/pn-marketweb-table.cjs.entry.js +467 -0
  111. package/cjs/pn-marketweb-table.cjs.entry.js.map +1 -0
  112. package/cjs/pn-media-block.cjs.entry.js +6 -6
  113. package/cjs/pn-media-block.cjs.entry.js.map +1 -1
  114. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  115. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  116. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  117. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  118. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  119. package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  120. package/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  121. package/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  122. package/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  123. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  124. package/cjs/pn-product-card_3.cjs.entry.js +5 -5
  125. package/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  126. package/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  127. package/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  128. package/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  129. package/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  130. package/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  131. package/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  132. package/cjs/pn-product-tile.cjs.entry.js +3 -3
  133. package/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  134. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  135. package/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  136. package/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  137. package/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  138. package/cjs/{pn-profile-modal-store-3b6fea24.js → pn-profile-modal-store-16f8092a.js} +2 -2
  139. package/cjs/{pn-profile-modal-store-3b6fea24.js.map → pn-profile-modal-store-16f8092a.js.map} +1 -1
  140. package/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  141. package/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  142. package/cjs/pn-profile-modal.cjs.entry.js +5 -5
  143. package/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  144. package/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  145. package/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  146. package/cjs/pn-profile-selector.cjs.entry.js +3 -3
  147. package/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  148. package/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  149. package/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  150. package/cjs/pn-proxio-findprice.cjs.entry.js +9 -8
  151. package/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  152. package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -5
  153. package/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  154. package/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  155. package/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  156. package/cjs/pn-qr-code-generator.cjs.entry.js +2945 -0
  157. package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -0
  158. package/cjs/pn-quick-cta.cjs.entry.js +2 -2
  159. package/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  160. package/cjs/pn-quote-card.cjs.entry.js +2 -2
  161. package/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  162. package/cjs/pn-scroll_2.cjs.entry.js +2 -2
  163. package/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  164. package/cjs/pn-share-item.cjs.entry.js +2 -2
  165. package/cjs/pn-share-item.cjs.entry.js.map +1 -1
  166. package/cjs/pn-share.cjs.entry.js +2 -2
  167. package/cjs/pn-share.cjs.entry.js.map +1 -1
  168. package/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  169. package/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  170. package/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  171. package/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  172. package/cjs/{pn-sidenav-store-cf9c4996.js → pn-sidenav-store-236c8806.js} +2 -2
  173. package/cjs/{pn-sidenav-store-cf9c4996.js.map → pn-sidenav-store-236c8806.js.map} +1 -1
  174. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  175. package/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  176. package/cjs/pn-sidenav.cjs.entry.js +5 -5
  177. package/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  178. package/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  179. package/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  180. package/cjs/pn-spotlight.cjs.entry.js +2 -2
  181. package/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  182. package/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  183. package/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  184. package/cjs/pn-stats-info.cjs.entry.js +2 -2
  185. package/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  186. package/cjs/pn-teaser-card.cjs.entry.js +5 -9
  187. package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  188. package/cjs/pn-titletag.cjs.entry.js +3 -3
  189. package/cjs/pn-titletag.cjs.entry.js.map +1 -1
  190. package/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  191. package/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  192. package/collection/collection-manifest.json +7 -0
  193. package/collection/components/animation/pn-animated-tile/pn-animated-tile.css +25 -0
  194. package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +25 -0
  195. package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +25 -0
  196. package/collection/components/cards/pn-quote-card/pn-quote-card.css +25 -0
  197. package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +25 -0
  198. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +8 -11
  199. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  200. package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  201. package/collection/components/charts/pn-chart/pn-chart.css +25 -0
  202. package/collection/components/charts/pn-charts-card/pn-charts-card.css +25 -0
  203. package/collection/components/cta/pn-cta-block/pn-cta-block.css +25 -0
  204. package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +25 -0
  205. package/collection/components/cta/pn-quick-cta/pn-quick-cta.css +25 -0
  206. package/collection/components/cta/pn-share/pn-share-item.css +25 -0
  207. package/collection/components/cta/pn-share/pn-share.css +25 -0
  208. package/collection/components/cta/pn-spotlight/pn-spotlight.css +25 -0
  209. package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +25 -0
  210. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +25 -0
  211. package/collection/components/input/pn-address-autofill/pn-address-autofill.css +31 -1
  212. package/collection/components/input/pn-address-autofill/pn-address-autofill.js +58 -68
  213. package/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
  214. package/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +2 -1
  215. package/collection/components/input/pn-address-autofill/translations.js +6 -3
  216. package/collection/components/input/pn-address-autofill/translations.js.map +1 -1
  217. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +25 -0
  218. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +25 -0
  219. package/collection/components/input/pn-choice-button/pn-choice-button.css +25 -0
  220. package/collection/components/input/pn-date-and-time/pn-date-and-time.css +25 -0
  221. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +25 -0
  222. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +18 -6
  223. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
  224. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +25 -0
  225. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +25 -0
  226. package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +25 -0
  227. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +25 -0
  228. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +25 -0
  229. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +4 -3
  230. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  231. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +25 -0
  232. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +25 -0
  233. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +50 -0
  234. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  235. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  236. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +25 -0
  237. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +25 -0
  238. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +25 -0
  239. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +1 -0
  240. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  241. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +25 -0
  242. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  243. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  244. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +25 -0
  245. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -37
  246. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  247. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +45 -6
  248. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  249. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +32 -5
  250. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
  251. package/collection/components/media/pn-media-block/pn-media-block.css +25 -0
  252. package/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  253. package/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  254. package/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  255. package/collection/components/minor/pn-app-banner/pn-app-banner.css +25 -0
  256. package/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  257. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +25 -0
  258. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  259. package/collection/components/minor/pn-swan/pn-swan.css +25 -0
  260. package/collection/components/minor/pn-swan/pn-swan.js +1 -1
  261. package/collection/components/minor/pn-titletag/pn-titletag.css +25 -0
  262. package/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  263. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +50 -0
  264. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  265. package/collection/components/navigation/pn-language-selector/pn-language-selector.css +50 -0
  266. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  267. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +25 -0
  268. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  269. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +25 -0
  270. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  271. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +25 -0
  272. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  273. package/collection/components/navigation/pn-mainnav/pn-mainnav.css +25 -0
  274. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  275. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +25 -0
  276. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  277. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +25 -0
  278. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  279. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +25 -0
  280. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  281. package/collection/components/navigation/pn-sidenav/pn-sidenav.css +25 -0
  282. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  283. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +50 -0
  284. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  285. package/collection/components/navigation/pn-site-footer/pn-site-footer.css +50 -0
  286. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  287. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +25 -0
  288. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  289. package/collection/components/navigation/pn-site-selector/pn-site-selector.css +25 -0
  290. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  291. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +25 -0
  292. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  293. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +25 -0
  294. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  295. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +25 -0
  296. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  297. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +25 -0
  298. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  299. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +25 -0
  300. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  301. package/collection/components/profile/pn-profile-modal/pn-profile-modal.css +25 -0
  302. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  303. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +25 -0
  304. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  305. package/collection/components/profile/pn-profile-selector/pn-profile-selector.css +25 -0
  306. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  307. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +25 -0
  308. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  309. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +146 -0
  310. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +119 -0
  311. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +1 -0
  312. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +219 -0
  313. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +1 -0
  314. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +103 -0
  315. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +1 -0
  316. package/collection/components/widgets/pn-chat/pn-chat.css +238 -0
  317. package/collection/components/widgets/pn-chat/pn-chat.js +840 -0
  318. package/collection/components/widgets/pn-chat/pn-chat.js.map +1 -0
  319. package/collection/components/widgets/pn-chat/pn-chat.models.js +2 -0
  320. package/collection/components/widgets/pn-chat/pn-chat.models.js.map +1 -0
  321. package/collection/components/widgets/pn-chat/pn-chat.service.js +149 -0
  322. package/collection/components/widgets/pn-chat/pn-chat.service.js.map +1 -0
  323. package/collection/components/widgets/pn-chat/pn-chat.stories.js +116 -0
  324. package/collection/components/widgets/pn-chat/pn-chat.stories.js.map +1 -0
  325. package/collection/components/widgets/pn-chat/translations.js +78 -0
  326. package/collection/components/widgets/pn-chat/translations.js.map +1 -0
  327. package/collection/components/widgets/pn-chat/types.js +2 -0
  328. package/collection/components/widgets/pn-chat/types.js.map +1 -0
  329. package/collection/components/widgets/pn-find-price/pn-find-price-result.css +25 -0
  330. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  331. package/collection/components/widgets/pn-find-price/pn-find-price.css +25 -0
  332. package/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  333. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +25 -0
  334. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  335. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +25 -0
  336. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  337. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +25 -0
  338. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  339. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +94 -0
  340. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +262 -0
  341. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -0
  342. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +31 -0
  343. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -0
  344. package/collection/components/widgets/pn-level-up/pn-level-up.css +114 -0
  345. package/collection/components/widgets/pn-level-up/pn-level-up.js +476 -0
  346. package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -0
  347. package/collection/components/widgets/pn-level-up/pn-level-up.models.js +2 -0
  348. package/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +1 -0
  349. package/collection/components/widgets/pn-level-up/pn-level-up.service.js +65 -0
  350. package/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +1 -0
  351. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js +88 -0
  352. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +1 -0
  353. package/collection/components/widgets/pn-level-up/types.js +2 -0
  354. package/collection/components/widgets/pn-level-up/types.js.map +1 -0
  355. package/collection/components/widgets/pn-link-list/pn-link-list.css +25 -0
  356. package/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  357. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +96 -0
  358. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +494 -0
  359. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +1 -0
  360. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +82 -0
  361. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +1 -0
  362. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +264 -0
  363. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +701 -0
  364. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +1 -0
  365. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +38 -0
  366. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +1 -0
  367. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +158 -0
  368. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +1 -0
  369. package/collection/components/widgets/pn-marketweb-table/translations.js +81 -0
  370. package/collection/components/widgets/pn-marketweb-table/translations.js.map +1 -0
  371. package/collection/components/widgets/pn-marketweb-table/types.js +2 -0
  372. package/collection/components/widgets/pn-marketweb-table/types.js.map +1 -0
  373. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +25 -0
  374. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  375. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +25 -0
  376. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +25 -0
  377. package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -0
  378. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  379. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +25 -0
  380. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  381. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +25 -0
  382. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  383. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +25 -0
  384. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  385. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +25 -0
  386. package/collection/components/widgets/pn-product-tile/pn-product-tile.css +25 -0
  387. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  388. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +25 -0
  389. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  390. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +25 -0
  391. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  392. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +25 -0
  393. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  394. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +25 -0
  395. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  396. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +25 -0
  397. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  398. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +25 -0
  399. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +25 -0
  400. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  401. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +61 -0
  402. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +198 -0
  403. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -0
  404. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +29 -0
  405. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +1 -0
  406. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +25 -0
  407. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  408. package/collection/globals/HeadingTag.js +2 -2
  409. package/collection/globals/HeadingTag.js.map +1 -1
  410. package/collection/globals/LocalStorageService.js +50 -0
  411. package/collection/globals/LocalStorageService.js.map +1 -0
  412. package/collection/globals/ScreensizeDetect.js +80 -0
  413. package/collection/globals/ScreensizeDetect.js.map +1 -0
  414. package/collection/globals/types.js +2 -0
  415. package/collection/globals/types.js.map +1 -0
  416. package/collection/utils/utils.js +11 -0
  417. package/collection/utils/utils.js.map +1 -1
  418. package/components/FetchHelper.js +1 -243
  419. package/components/FetchHelper.js.map +1 -1
  420. package/components/HeadingTag.js +10 -0
  421. package/components/HeadingTag.js.map +1 -0
  422. package/components/LocalStorageService.js +64 -0
  423. package/components/LocalStorageService.js.map +1 -0
  424. package/{esm/FetchHelper-746f2bb6.js → components/MarketWebContextService.js} +2 -82
  425. package/components/MarketWebContextService.js.map +1 -0
  426. package/components/alert_exclamation_circle.js +6 -0
  427. package/components/alert_exclamation_circle.js.map +1 -0
  428. package/components/angle_up.js +9 -0
  429. package/components/angle_up.js.map +1 -0
  430. package/components/close.js +6 -0
  431. package/components/close.js.map +1 -0
  432. package/components/pn-address-autofill.js +50 -73
  433. package/components/pn-address-autofill.js.map +1 -1
  434. package/components/pn-animated-tile.js +1 -1
  435. package/components/pn-animated-tile.js.map +1 -1
  436. package/components/pn-app-banner.js +2 -2
  437. package/components/pn-app-banner.js.map +1 -1
  438. package/components/pn-bonus-progressbar-level.js +1 -1
  439. package/components/pn-bonus-progressbar-level.js.map +1 -1
  440. package/components/pn-bonus-progressbar.js +1 -1
  441. package/components/pn-bonus-progressbar.js.map +1 -1
  442. package/components/pn-breakpoints.js +2 -2
  443. package/components/pn-breakpoints.js.map +1 -1
  444. package/components/pn-chart.js +1 -1
  445. package/components/pn-chart.js.map +1 -1
  446. package/components/pn-charts-card.js +1 -1
  447. package/components/pn-charts-card.js.map +1 -1
  448. package/components/pn-chat-message.d.ts +11 -0
  449. package/components/pn-chat-message.js +8 -0
  450. package/components/pn-chat-message.js.map +1 -0
  451. package/components/pn-chat-message2.js +70 -0
  452. package/components/pn-chat-message2.js.map +1 -0
  453. package/components/pn-chat.d.ts +11 -0
  454. package/components/pn-chat.js +534 -0
  455. package/components/pn-chat.js.map +1 -0
  456. package/components/pn-chat.service.js +153 -0
  457. package/components/pn-chat.service.js.map +1 -0
  458. package/components/pn-choice-button2.js +1 -1
  459. package/components/pn-choice-button2.js.map +1 -1
  460. package/components/pn-cta-block.js +1 -1
  461. package/components/pn-cta-block.js.map +1 -1
  462. package/components/pn-customernumber-selector-option.js +2 -2
  463. package/components/pn-customernumber-selector-option.js.map +1 -1
  464. package/components/pn-customernumber-selector.js +3 -8
  465. package/components/pn-customernumber-selector.js.map +1 -1
  466. package/components/pn-date-and-time.js +1 -1
  467. package/components/pn-date-and-time.js.map +1 -1
  468. package/components/pn-dropdown-choice-adds-row.js +19 -7
  469. package/components/pn-dropdown-choice-adds-row.js.map +1 -1
  470. package/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  471. package/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  472. package/components/pn-dropdown-with-multi-input-rows.js +1 -1
  473. package/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  474. package/components/pn-filter-checkbox2.js +1 -1
  475. package/components/pn-filter-checkbox2.js.map +1 -1
  476. package/components/pn-find-price-result2.js +2 -2
  477. package/components/pn-find-price-result2.js.map +1 -1
  478. package/components/pn-find-price.js +3 -3
  479. package/components/pn-find-price.js.map +1 -1
  480. package/components/pn-find-service-and-price-result2.js +2 -2
  481. package/components/pn-find-service-and-price-result2.js.map +1 -1
  482. package/components/pn-find-service-and-price.js +2 -2
  483. package/components/pn-find-service-and-price.js.map +1 -1
  484. package/components/pn-hero-block-international.js +2 -2
  485. package/components/pn-hero-block-international.js.map +1 -1
  486. package/components/pn-language-selector-option2.js +2 -2
  487. package/components/pn-language-selector-option2.js.map +1 -1
  488. package/components/pn-language-selector2.js +2 -2
  489. package/components/pn-language-selector2.js.map +1 -1
  490. package/components/pn-level-up-modal.d.ts +11 -0
  491. package/components/pn-level-up-modal.js +8 -0
  492. package/components/pn-level-up-modal.js.map +1 -0
  493. package/components/pn-level-up-modal2.js +170 -0
  494. package/components/pn-level-up-modal2.js.map +1 -0
  495. package/components/pn-level-up.d.ts +11 -0
  496. package/components/pn-level-up.js +185 -0
  497. package/components/pn-level-up.js.map +1 -0
  498. package/components/pn-line-shape.js +1 -1
  499. package/components/pn-line-shape.js.map +1 -1
  500. package/components/pn-link-list.js +2 -2
  501. package/components/pn-link-list.js.map +1 -1
  502. package/components/pn-mainnav-level2.js +3 -3
  503. package/components/pn-mainnav-level2.js.map +1 -1
  504. package/components/pn-mainnav-link2.js +2 -2
  505. package/components/pn-mainnav-link2.js.map +1 -1
  506. package/components/pn-mainnav-list2.js +2 -2
  507. package/components/pn-mainnav-list2.js.map +1 -1
  508. package/components/pn-mainnav2.js +3 -5
  509. package/components/pn-mainnav2.js.map +1 -1
  510. package/components/pn-marketweb-carousel.d.ts +11 -0
  511. package/components/pn-marketweb-carousel.js +8 -0
  512. package/components/pn-marketweb-carousel.js.map +1 -0
  513. package/components/pn-marketweb-carousel2.js +326 -0
  514. package/components/pn-marketweb-carousel2.js.map +1 -0
  515. package/components/pn-marketweb-icon.js +2 -2
  516. package/components/pn-marketweb-icon.js.map +1 -1
  517. package/components/pn-marketweb-input2.js +2 -4
  518. package/components/pn-marketweb-input2.js.map +1 -1
  519. package/components/pn-marketweb-search.js +5 -4
  520. package/components/pn-marketweb-search.js.map +1 -1
  521. package/components/pn-marketweb-sitefooter.js +6 -9
  522. package/components/pn-marketweb-sitefooter.js.map +1 -1
  523. package/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  524. package/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  525. package/components/pn-marketweb-siteheader-login-links2.js +1 -1
  526. package/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  527. package/components/pn-marketweb-siteheader-login-mypage-button.js +34 -1
  528. package/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  529. package/components/pn-marketweb-siteheader-login-profileselection2.js +2 -1
  530. package/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  531. package/components/pn-marketweb-siteheader-login2.js +8 -14
  532. package/components/pn-marketweb-siteheader-login2.js.map +1 -1
  533. package/components/pn-marketweb-siteheader-search2.js +1 -1
  534. package/components/pn-marketweb-siteheader-search2.js.map +1 -1
  535. package/components/pn-marketweb-siteheader-unified-login2.js +3 -13
  536. package/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  537. package/components/pn-marketweb-siteheader.js +27 -32
  538. package/components/pn-marketweb-siteheader.js.map +1 -1
  539. package/components/pn-marketweb-table.d.ts +11 -0
  540. package/components/pn-marketweb-table.js +510 -0
  541. package/components/pn-marketweb-table.js.map +1 -0
  542. package/components/pn-media-block.js +6 -6
  543. package/components/pn-media-block.js.map +1 -1
  544. package/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  545. package/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  546. package/components/pn-multi-row-connected-dropdown.js +1 -1
  547. package/components/pn-multi-row-connected-dropdown.js.map +1 -1
  548. package/components/pn-parcel-tracker.js +1 -1
  549. package/components/pn-parcel-tracker.js.map +1 -1
  550. package/components/pn-pex-pricefinder.js +2 -2
  551. package/components/pn-pex-pricefinder.js.map +1 -1
  552. package/components/pn-product-card-info2.js +1 -1
  553. package/components/pn-product-card-info2.js.map +1 -1
  554. package/components/pn-product-card-price2.js +1 -1
  555. package/components/pn-product-card-price2.js.map +1 -1
  556. package/components/pn-product-card2.js +2 -2
  557. package/components/pn-product-card2.js.map +1 -1
  558. package/components/pn-product-pricelist-result.js +2 -2
  559. package/components/pn-product-pricelist-result.js.map +1 -1
  560. package/components/pn-product-pricelist.js +3 -3
  561. package/components/pn-product-pricelist.js.map +1 -1
  562. package/components/pn-product-tile-info2.js +2 -2
  563. package/components/pn-product-tile-info2.js.map +1 -1
  564. package/components/pn-product-tile-price2.js +1 -1
  565. package/components/pn-product-tile-price2.js.map +1 -1
  566. package/components/pn-product-tile.js +2 -2
  567. package/components/pn-product-tile.js.map +1 -1
  568. package/components/pn-profile-modal-customernumber.js +2 -2
  569. package/components/pn-profile-modal-customernumber.js.map +1 -1
  570. package/components/pn-profile-modal-profile.js +3 -3
  571. package/components/pn-profile-modal-profile.js.map +1 -1
  572. package/components/pn-profile-modal-type.js +2 -2
  573. package/components/pn-profile-modal-type.js.map +1 -1
  574. package/components/pn-profile-modal.js +2 -2
  575. package/components/pn-profile-modal.js.map +1 -1
  576. package/components/pn-profile-selector-option.js +2 -2
  577. package/components/pn-profile-selector-option.js.map +1 -1
  578. package/components/pn-profile-selector.js +2 -2
  579. package/components/pn-profile-selector.js.map +1 -1
  580. package/components/pn-proxio-findprice-result2.js +2 -2
  581. package/components/pn-proxio-findprice-result2.js.map +1 -1
  582. package/components/pn-proxio-findprice.js +6 -5
  583. package/components/pn-proxio-findprice.js.map +1 -1
  584. package/components/pn-proxio-pricegroup.js +4 -3
  585. package/components/pn-proxio-pricegroup.js.map +1 -1
  586. package/components/pn-proxio-productcard-description2.js +2 -2
  587. package/components/pn-proxio-productcard-description2.js.map +1 -1
  588. package/components/pn-proxio-productcard-information2.js +2 -2
  589. package/components/pn-proxio-productcard-information2.js.map +1 -1
  590. package/components/pn-proxio-productcard-pricelink2.js +1 -1
  591. package/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  592. package/components/pn-proxio-productcard2.js +2 -2
  593. package/components/pn-proxio-productcard2.js.map +1 -1
  594. package/components/pn-qr-code-generator.d.ts +11 -0
  595. package/components/pn-qr-code-generator.js +8 -0
  596. package/components/pn-qr-code-generator.js.map +1 -0
  597. package/components/pn-qr-code-generator2.js +2967 -0
  598. package/components/pn-qr-code-generator2.js.map +1 -0
  599. package/components/pn-quick-cta.js +1 -1
  600. package/components/pn-quick-cta.js.map +1 -1
  601. package/components/pn-quote-card.js +1 -1
  602. package/components/pn-quote-card.js.map +1 -1
  603. package/components/pn-share-item2.js +1 -1
  604. package/components/pn-share-item2.js.map +1 -1
  605. package/components/pn-share.js +1 -1
  606. package/components/pn-share.js.map +1 -1
  607. package/components/pn-sidenav-level.js +2 -2
  608. package/components/pn-sidenav-level.js.map +1 -1
  609. package/components/pn-sidenav-link.js +2 -2
  610. package/components/pn-sidenav-link.js.map +1 -1
  611. package/components/pn-sidenav-togglebutton.js +2 -2
  612. package/components/pn-sidenav-togglebutton.js.map +1 -1
  613. package/components/pn-sidenav.js +2 -2
  614. package/components/pn-sidenav.js.map +1 -1
  615. package/components/pn-site-footer-col2.js +2 -2
  616. package/components/pn-site-footer-col2.js.map +1 -1
  617. package/components/pn-site-footer2.js +2 -2
  618. package/components/pn-site-footer2.js.map +1 -1
  619. package/components/pn-site-selector-item2.js +2 -2
  620. package/components/pn-site-selector-item2.js.map +1 -1
  621. package/components/pn-site-selector2.js +2 -2
  622. package/components/pn-site-selector2.js.map +1 -1
  623. package/components/pn-spotlight.js +1 -1
  624. package/components/pn-spotlight.js.map +1 -1
  625. package/components/pn-stats-info-data2.js +1 -1
  626. package/components/pn-stats-info-data2.js.map +1 -1
  627. package/components/pn-stats-info.js +1 -1
  628. package/components/pn-stats-info.js.map +1 -1
  629. package/components/pn-swan2.js +2 -2
  630. package/components/pn-swan2.js.map +1 -1
  631. package/components/pn-teaser-card.js +5 -9
  632. package/components/pn-teaser-card.js.map +1 -1
  633. package/components/pn-titletag2.js +2 -2
  634. package/components/pn-titletag2.js.map +1 -1
  635. package/components/pn-usp-promoter.js +2 -2
  636. package/components/pn-usp-promoter.js.map +1 -1
  637. package/components/pn-video-overlay2.js +1 -1
  638. package/components/pn-video-overlay2.js.map +1 -1
  639. package/esm/FetchHelper-4789695a.js +83 -0
  640. package/esm/FetchHelper-4789695a.js.map +1 -0
  641. package/esm/HeadingTag-e20016ab.js +10 -0
  642. package/esm/HeadingTag-e20016ab.js.map +1 -0
  643. package/esm/LocalStorageService-78b1794d.js +64 -0
  644. package/esm/LocalStorageService-78b1794d.js.map +1 -0
  645. package/esm/MarketWebContextService-16c15670.js +245 -0
  646. package/esm/MarketWebContextService-16c15670.js.map +1 -0
  647. package/esm/alert_exclamation_circle-f0fe7c7b.js +6 -0
  648. package/esm/alert_exclamation_circle-f0fe7c7b.js.map +1 -0
  649. package/esm/angle_up-b5f955ea.js +9 -0
  650. package/esm/angle_up-b5f955ea.js.map +1 -0
  651. package/esm/close-9e7bd787.js +6 -0
  652. package/esm/close-9e7bd787.js.map +1 -0
  653. package/esm/{index-89124075.js → index-ae60ebec.js} +2 -2
  654. package/esm/{index-89124075.js.map → index-ae60ebec.js.map} +1 -1
  655. package/esm/{index-51d67461.js → index-c311acd6.js} +53 -5
  656. package/esm/index-c311acd6.js.map +1 -0
  657. package/esm/index.js +1 -1
  658. package/esm/loader.js +3 -3
  659. package/esm/pn-address-autofill.entry.js +50 -74
  660. package/esm/pn-address-autofill.entry.js.map +1 -1
  661. package/esm/pn-animated-tile.entry.js +2 -2
  662. package/esm/pn-animated-tile.entry.js.map +1 -1
  663. package/esm/pn-app-banner.entry.js +3 -3
  664. package/esm/pn-app-banner.entry.js.map +1 -1
  665. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  666. package/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  667. package/esm/pn-bonus-progressbar.entry.js +2 -2
  668. package/esm/pn-bonus-progressbar.entry.js.map +1 -1
  669. package/esm/pn-breakpoints.entry.js +3 -3
  670. package/esm/pn-breakpoints.entry.js.map +1 -1
  671. package/esm/pn-chart.entry.js +2 -2
  672. package/esm/pn-chart.entry.js.map +1 -1
  673. package/esm/pn-charts-card.entry.js +2 -2
  674. package/esm/pn-charts-card.entry.js.map +1 -1
  675. package/esm/pn-chat-message_2.entry.js +342 -0
  676. package/esm/pn-chat-message_2.entry.js.map +1 -0
  677. package/esm/pn-chat.entry.js +470 -0
  678. package/esm/pn-chat.entry.js.map +1 -0
  679. package/esm/pn-chat.service-0def5c4e.js +153 -0
  680. package/esm/pn-chat.service-0def5c4e.js.map +1 -0
  681. package/esm/pn-choice-button.entry.js +2 -2
  682. package/esm/pn-choice-button.entry.js.map +1 -1
  683. package/esm/pn-cta-block.entry.js +2 -2
  684. package/esm/pn-cta-block.entry.js.map +1 -1
  685. package/esm/pn-customernumber-selector-option.entry.js +3 -3
  686. package/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  687. package/esm/pn-customernumber-selector.entry.js +4 -9
  688. package/esm/pn-customernumber-selector.entry.js.map +1 -1
  689. package/esm/pn-date-and-time.entry.js +2 -2
  690. package/esm/pn-date-and-time.entry.js.map +1 -1
  691. package/esm/pn-dropdown-choice-adds-row.entry.js +20 -8
  692. package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  693. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  694. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  695. package/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  696. package/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  697. package/esm/pn-filter-checkbox.entry.js +2 -2
  698. package/esm/pn-filter-checkbox.entry.js.map +1 -1
  699. package/esm/pn-find-price-result.entry.js +5 -5
  700. package/esm/pn-find-price-result.entry.js.map +1 -1
  701. package/esm/{pn-find-price-store-c9a9d3d4.js → pn-find-price-store-f97f2325.js} +2 -2
  702. package/esm/{pn-find-price-store-c9a9d3d4.js.map → pn-find-price-store-f97f2325.js.map} +1 -1
  703. package/esm/pn-find-price.entry.js +6 -6
  704. package/esm/pn-find-price.entry.js.map +1 -1
  705. package/esm/pn-find-service-and-price-result.entry.js +5 -5
  706. package/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  707. package/esm/{pn-find-service-and-price-store-60aa5801.js → pn-find-service-and-price-store-6553566d.js} +2 -2
  708. package/esm/{pn-find-service-and-price-store-60aa5801.js.map → pn-find-service-and-price-store-6553566d.js.map} +1 -1
  709. package/esm/pn-find-service-and-price.entry.js +5 -5
  710. package/esm/pn-find-service-and-price.entry.js.map +1 -1
  711. package/esm/pn-hero-block-international.entry.js +3 -3
  712. package/esm/pn-hero-block-international.entry.js.map +1 -1
  713. package/esm/pn-language-selector_9.entry.js +25 -27
  714. package/esm/pn-language-selector_9.entry.js.map +1 -1
  715. package/esm/pn-level-up-modal.entry.js +73 -0
  716. package/esm/pn-level-up-modal.entry.js.map +1 -0
  717. package/esm/pn-level-up.entry.js +135 -0
  718. package/esm/pn-level-up.entry.js.map +1 -0
  719. package/esm/pn-level-up.service-5c602f23.js +69 -0
  720. package/esm/pn-level-up.service-5c602f23.js.map +1 -0
  721. package/esm/pn-line-shape.entry.js +2 -2
  722. package/esm/pn-line-shape.entry.js.map +1 -1
  723. package/esm/pn-link-list.entry.js +3 -3
  724. package/esm/pn-link-list.entry.js.map +1 -1
  725. package/esm/pn-mainnav-link.entry.js +5 -5
  726. package/esm/pn-mainnav-link.entry.js.map +1 -1
  727. package/esm/{pn-mainnav-store-9c42bc66.js → pn-mainnav-store-23387019.js} +2 -2
  728. package/esm/{pn-mainnav-store-9c42bc66.js.map → pn-mainnav-store-23387019.js.map} +1 -1
  729. package/esm/pn-market-web-components.js +3 -3
  730. package/esm/pn-marketweb-icon.entry.js +3 -3
  731. package/esm/pn-marketweb-icon.entry.js.map +1 -1
  732. package/esm/pn-marketweb-input.entry.js +3 -5
  733. package/esm/pn-marketweb-input.entry.js.map +1 -1
  734. package/esm/pn-marketweb-search.entry.js +6 -5
  735. package/esm/pn-marketweb-search.entry.js.map +1 -1
  736. package/esm/pn-marketweb-sitefooter.entry.js +6 -9
  737. package/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  738. package/esm/{pn-marketweb-siteheader-login-button_5.entry.js → pn-marketweb-siteheader-login-button_4.entry.js} +9 -26
  739. package/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +1 -0
  740. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  741. package/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  742. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +21 -0
  743. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +1 -0
  744. package/esm/{pn-marketweb-siteheader-store-91f74255.js → pn-marketweb-siteheader-store-f60eb1e4.js} +2 -2
  745. package/esm/{pn-marketweb-siteheader-store-91f74255.js.map → pn-marketweb-siteheader-store-f60eb1e4.js.map} +1 -1
  746. package/esm/pn-marketweb-siteheader.entry.js +10 -9
  747. package/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  748. package/esm/pn-marketweb-table.entry.js +463 -0
  749. package/esm/pn-marketweb-table.entry.js.map +1 -0
  750. package/esm/pn-media-block.entry.js +6 -6
  751. package/esm/pn-media-block.entry.js.map +1 -1
  752. package/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  753. package/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  754. package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  755. package/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  756. package/esm/pn-multiple-input.entry.js +1 -1
  757. package/esm/pn-parcel-tracker.entry.js +2 -2
  758. package/esm/pn-parcel-tracker.entry.js.map +1 -1
  759. package/esm/pn-pex-pricefinder.entry.js +3 -3
  760. package/esm/pn-pex-pricefinder.entry.js.map +1 -1
  761. package/esm/pn-play-on-scroll.entry.js +1 -1
  762. package/esm/pn-product-card_3.entry.js +5 -5
  763. package/esm/pn-product-card_3.entry.js.map +1 -1
  764. package/esm/pn-product-pricelist-result.entry.js +4 -4
  765. package/esm/pn-product-pricelist-result.entry.js.map +1 -1
  766. package/esm/pn-product-pricelist.entry.js +6 -6
  767. package/esm/pn-product-pricelist.entry.js.map +1 -1
  768. package/esm/pn-product-tile-info_2.entry.js +4 -4
  769. package/esm/pn-product-tile-info_2.entry.js.map +1 -1
  770. package/esm/pn-product-tile.entry.js +3 -3
  771. package/esm/pn-product-tile.entry.js.map +1 -1
  772. package/esm/pn-profile-modal-customernumber.entry.js +3 -3
  773. package/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  774. package/esm/pn-profile-modal-profile.entry.js +6 -6
  775. package/esm/pn-profile-modal-profile.entry.js.map +1 -1
  776. package/esm/{pn-profile-modal-store-4655b124.js → pn-profile-modal-store-5d651bd5.js} +2 -2
  777. package/esm/{pn-profile-modal-store-4655b124.js.map → pn-profile-modal-store-5d651bd5.js.map} +1 -1
  778. package/esm/pn-profile-modal-type.entry.js +5 -5
  779. package/esm/pn-profile-modal-type.entry.js.map +1 -1
  780. package/esm/pn-profile-modal.entry.js +5 -5
  781. package/esm/pn-profile-modal.entry.js.map +1 -1
  782. package/esm/pn-profile-selector-option.entry.js +3 -3
  783. package/esm/pn-profile-selector-option.entry.js.map +1 -1
  784. package/esm/pn-profile-selector.entry.js +3 -3
  785. package/esm/pn-profile-selector.entry.js.map +1 -1
  786. package/esm/pn-proxio-findprice-result.entry.js +3 -3
  787. package/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  788. package/esm/pn-proxio-findprice.entry.js +8 -7
  789. package/esm/pn-proxio-findprice.entry.js.map +1 -1
  790. package/esm/pn-proxio-pricegroup.entry.js +5 -4
  791. package/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  792. package/esm/pn-proxio-productcard_4.entry.js +8 -8
  793. package/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  794. package/esm/pn-qr-code-generator.entry.js +2941 -0
  795. package/esm/pn-qr-code-generator.entry.js.map +1 -0
  796. package/esm/pn-quick-cta.entry.js +2 -2
  797. package/esm/pn-quick-cta.entry.js.map +1 -1
  798. package/esm/pn-quote-card.entry.js +2 -2
  799. package/esm/pn-quote-card.entry.js.map +1 -1
  800. package/esm/pn-scroll_2.entry.js +2 -2
  801. package/esm/pn-scroll_2.entry.js.map +1 -1
  802. package/esm/pn-share-item.entry.js +2 -2
  803. package/esm/pn-share-item.entry.js.map +1 -1
  804. package/esm/pn-share.entry.js +2 -2
  805. package/esm/pn-share.entry.js.map +1 -1
  806. package/esm/pn-sidenav-level.entry.js +5 -5
  807. package/esm/pn-sidenav-level.entry.js.map +1 -1
  808. package/esm/pn-sidenav-link.entry.js +5 -5
  809. package/esm/pn-sidenav-link.entry.js.map +1 -1
  810. package/esm/{pn-sidenav-store-85bdb1e6.js → pn-sidenav-store-e2038d79.js} +2 -2
  811. package/esm/{pn-sidenav-store-85bdb1e6.js.map → pn-sidenav-store-e2038d79.js.map} +1 -1
  812. package/esm/pn-sidenav-togglebutton.entry.js +5 -5
  813. package/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  814. package/esm/pn-sidenav.entry.js +5 -5
  815. package/esm/pn-sidenav.entry.js.map +1 -1
  816. package/esm/pn-site-footer_3.entry.js +7 -7
  817. package/esm/pn-site-footer_3.entry.js.map +1 -1
  818. package/esm/pn-spotlight.entry.js +2 -2
  819. package/esm/pn-spotlight.entry.js.map +1 -1
  820. package/esm/pn-stats-info-data.entry.js +2 -2
  821. package/esm/pn-stats-info-data.entry.js.map +1 -1
  822. package/esm/pn-stats-info.entry.js +2 -2
  823. package/esm/pn-stats-info.entry.js.map +1 -1
  824. package/esm/pn-teaser-card.entry.js +5 -9
  825. package/esm/pn-teaser-card.entry.js.map +1 -1
  826. package/esm/pn-titletag.entry.js +3 -3
  827. package/esm/pn-titletag.entry.js.map +1 -1
  828. package/esm/pn-usp-promoter.entry.js +3 -3
  829. package/esm/pn-usp-promoter.entry.js.map +1 -1
  830. package/package.json +5 -3
  831. package/pn-market-web-components/index.esm.js +1 -1
  832. package/pn-market-web-components/index.esm.js.map +1 -1
  833. package/pn-market-web-components/p-015127bf.entry.js +2 -0
  834. package/pn-market-web-components/{p-c5772021.entry.js.map → p-015127bf.entry.js.map} +1 -1
  835. package/pn-market-web-components/p-08b473e0.entry.js +2 -0
  836. package/pn-market-web-components/{p-a38118be.entry.js.map → p-08b473e0.entry.js.map} +1 -1
  837. package/pn-market-web-components/p-0b5a125d.entry.js +2 -0
  838. package/pn-market-web-components/p-0b5a125d.entry.js.map +1 -0
  839. package/pn-market-web-components/p-0b920554.js +2 -0
  840. package/pn-market-web-components/p-0b920554.js.map +1 -0
  841. package/pn-market-web-components/p-0fc01d3f.entry.js +2 -0
  842. package/pn-market-web-components/{p-4fa5bc85.entry.js.map → p-0fc01d3f.entry.js.map} +1 -1
  843. package/pn-market-web-components/p-17c43a96.entry.js +2 -0
  844. package/pn-market-web-components/p-17c43a96.entry.js.map +1 -0
  845. package/pn-market-web-components/p-19bbac6d.entry.js +2 -0
  846. package/pn-market-web-components/{p-ea3d6f7e.entry.js.map → p-19bbac6d.entry.js.map} +1 -1
  847. package/pn-market-web-components/p-230ef9aa.entry.js +2 -0
  848. package/pn-market-web-components/{p-a419cd91.entry.js.map → p-230ef9aa.entry.js.map} +1 -1
  849. package/pn-market-web-components/p-268dc1fa.entry.js +2 -0
  850. package/pn-market-web-components/p-268dc1fa.entry.js.map +1 -0
  851. package/pn-market-web-components/p-28d2f7fa.entry.js +2 -0
  852. package/pn-market-web-components/p-28d2f7fa.entry.js.map +1 -0
  853. package/pn-market-web-components/p-292db484.entry.js +2 -0
  854. package/pn-market-web-components/{p-76e6708b.entry.js.map → p-292db484.entry.js.map} +1 -1
  855. package/pn-market-web-components/p-2a58d83b.entry.js +2 -0
  856. package/pn-market-web-components/{p-55643d76.entry.js.map → p-2a58d83b.entry.js.map} +1 -1
  857. package/pn-market-web-components/p-2c19edca.entry.js +2 -0
  858. package/pn-market-web-components/{p-72dbca40.entry.js.map → p-2c19edca.entry.js.map} +1 -1
  859. package/pn-market-web-components/p-3478f368.js +2 -0
  860. package/pn-market-web-components/p-3478f368.js.map +1 -0
  861. package/pn-market-web-components/p-34a98554.entry.js +2 -0
  862. package/pn-market-web-components/{p-cf39491b.entry.js.map → p-34a98554.entry.js.map} +1 -1
  863. package/pn-market-web-components/p-35847eda.entry.js +2 -0
  864. package/pn-market-web-components/{p-e6e012fb.entry.js.map → p-35847eda.entry.js.map} +1 -1
  865. package/pn-market-web-components/p-366fd15a.js +2 -0
  866. package/pn-market-web-components/p-366fd15a.js.map +1 -0
  867. package/pn-market-web-components/p-389a94e7.entry.js +2 -0
  868. package/pn-market-web-components/{p-190c6938.entry.js.map → p-389a94e7.entry.js.map} +1 -1
  869. package/pn-market-web-components/p-39b75c62.entry.js +2 -0
  870. package/pn-market-web-components/{p-530274ae.entry.js.map → p-39b75c62.entry.js.map} +1 -1
  871. package/pn-market-web-components/p-3a936c5d.entry.js +2 -0
  872. package/pn-market-web-components/p-3a936c5d.entry.js.map +1 -0
  873. package/pn-market-web-components/p-3d10bc37.entry.js +2 -0
  874. package/pn-market-web-components/{p-45d1e1be.entry.js.map → p-3d10bc37.entry.js.map} +1 -1
  875. package/pn-market-web-components/p-3e197670.entry.js +2 -0
  876. package/pn-market-web-components/{p-6a5f7dee.entry.js.map → p-3e197670.entry.js.map} +1 -1
  877. package/pn-market-web-components/p-40bce1b1.entry.js +2 -0
  878. package/pn-market-web-components/p-40bce1b1.entry.js.map +1 -0
  879. package/pn-market-web-components/p-41cdac85.entry.js +2 -0
  880. package/pn-market-web-components/{p-65ab3003.entry.js.map → p-41cdac85.entry.js.map} +1 -1
  881. package/pn-market-web-components/p-4aedb76c.entry.js +2 -0
  882. package/pn-market-web-components/{p-ea7b0d21.entry.js.map → p-4aedb76c.entry.js.map} +1 -1
  883. package/pn-market-web-components/p-4e924d13.entry.js +2 -0
  884. package/pn-market-web-components/p-4e924d13.entry.js.map +1 -0
  885. package/pn-market-web-components/p-4f639380.entry.js +2 -0
  886. package/pn-market-web-components/{p-aeeabb32.entry.js.map → p-4f639380.entry.js.map} +1 -1
  887. package/pn-market-web-components/p-51f136f3.entry.js +2 -0
  888. package/pn-market-web-components/p-51f136f3.entry.js.map +1 -0
  889. package/pn-market-web-components/p-542f949d.entry.js +2 -0
  890. package/pn-market-web-components/{p-77a35f5e.entry.js.map → p-542f949d.entry.js.map} +1 -1
  891. package/pn-market-web-components/p-5a981927.entry.js +2 -0
  892. package/pn-market-web-components/{p-b35cdbac.entry.js.map → p-5a981927.entry.js.map} +1 -1
  893. package/pn-market-web-components/p-5f4ccd8a.js +2 -0
  894. package/pn-market-web-components/p-5f4ccd8a.js.map +1 -0
  895. package/pn-market-web-components/p-60b77eed.entry.js +2 -0
  896. package/pn-market-web-components/{p-e916e99d.entry.js.map → p-60b77eed.entry.js.map} +1 -1
  897. package/pn-market-web-components/p-619f2143.entry.js +2 -0
  898. package/pn-market-web-components/{p-a6866467.entry.js.map → p-619f2143.entry.js.map} +1 -1
  899. package/pn-market-web-components/p-61bd81d7.entry.js +2 -0
  900. package/pn-market-web-components/{p-8c26b98d.entry.js.map → p-61bd81d7.entry.js.map} +1 -1
  901. package/pn-market-web-components/p-64851da0.entry.js +2 -0
  902. package/pn-market-web-components/{p-776f3d51.entry.js.map → p-64851da0.entry.js.map} +1 -1
  903. package/pn-market-web-components/p-659a4db5.entry.js +2 -0
  904. package/pn-market-web-components/{p-231b97e1.entry.js.map → p-659a4db5.entry.js.map} +1 -1
  905. package/pn-market-web-components/p-65a046be.entry.js +2 -0
  906. package/pn-market-web-components/{p-0ec8d040.entry.js.map → p-65a046be.entry.js.map} +1 -1
  907. package/pn-market-web-components/p-66da6e15.entry.js +2 -0
  908. package/pn-market-web-components/{p-62cabd1e.entry.js.map → p-66da6e15.entry.js.map} +1 -1
  909. package/pn-market-web-components/{p-65f243c1.js → p-6b1d045c.js} +2 -2
  910. package/pn-market-web-components/p-6b1d045c.js.map +1 -0
  911. package/pn-market-web-components/p-6bec8d72.js +2 -0
  912. package/pn-market-web-components/p-6bec8d72.js.map +1 -0
  913. package/pn-market-web-components/p-71db6836.entry.js +2 -0
  914. package/pn-market-web-components/{p-3fb8e665.entry.js.map → p-71db6836.entry.js.map} +1 -1
  915. package/pn-market-web-components/p-72828265.js +2 -0
  916. package/pn-market-web-components/p-72f57a04.entry.js +2 -0
  917. package/pn-market-web-components/{p-25d53df2.entry.js.map → p-72f57a04.entry.js.map} +1 -1
  918. package/pn-market-web-components/p-763a4e13.entry.js +2 -0
  919. package/pn-market-web-components/{p-fc157a1e.entry.js.map → p-763a4e13.entry.js.map} +1 -1
  920. package/pn-market-web-components/p-76c2c01f.js +2 -0
  921. package/pn-market-web-components/p-76c2c01f.js.map +1 -0
  922. package/pn-market-web-components/{p-e09a907b.js → p-793e1339.js} +2 -2
  923. package/pn-market-web-components/p-79e4715c.entry.js +2 -0
  924. package/pn-market-web-components/{p-6647d2c4.entry.js.map → p-79e4715c.entry.js.map} +1 -1
  925. package/pn-market-web-components/p-7b4f9fdf.entry.js +2 -0
  926. package/pn-market-web-components/{p-066e9db9.entry.js.map → p-7b4f9fdf.entry.js.map} +1 -1
  927. package/pn-market-web-components/p-7b7629c5.entry.js +2 -0
  928. package/pn-market-web-components/{p-24086c59.entry.js.map → p-7b7629c5.entry.js.map} +1 -1
  929. package/pn-market-web-components/p-7db6ef34.entry.js +2 -0
  930. package/pn-market-web-components/{p-4e3059dd.entry.js.map → p-7db6ef34.entry.js.map} +1 -1
  931. package/pn-market-web-components/p-809ed802.entry.js +2 -0
  932. package/pn-market-web-components/p-809ed802.entry.js.map +1 -0
  933. package/pn-market-web-components/p-82546a44.js +3 -0
  934. package/pn-market-web-components/p-82546a44.js.map +1 -0
  935. package/pn-market-web-components/p-84fc8e05.entry.js +2 -0
  936. package/pn-market-web-components/{p-25dfc349.entry.js.map → p-84fc8e05.entry.js.map} +1 -1
  937. package/pn-market-web-components/p-85b42b44.entry.js +2 -0
  938. package/pn-market-web-components/{p-e8278e9e.entry.js.map → p-85b42b44.entry.js.map} +1 -1
  939. package/pn-market-web-components/{p-2509d18d.js → p-8836de82.js} +2 -2
  940. package/pn-market-web-components/{p-560e5291.entry.js → p-8a651698.entry.js} +2 -2
  941. package/pn-market-web-components/p-8d78b631.js +2 -0
  942. package/pn-market-web-components/p-8d78b631.js.map +1 -0
  943. package/pn-market-web-components/p-8d874454.entry.js +2 -0
  944. package/pn-market-web-components/{p-b5a0275d.entry.js.map → p-8d874454.entry.js.map} +1 -1
  945. package/pn-market-web-components/p-8d98f709.entry.js +2 -0
  946. package/pn-market-web-components/{p-74fd7435.entry.js.map → p-8d98f709.entry.js.map} +1 -1
  947. package/pn-market-web-components/p-9088d3f5.entry.js +2 -0
  948. package/pn-market-web-components/{p-a72c2729.entry.js.map → p-9088d3f5.entry.js.map} +1 -1
  949. package/pn-market-web-components/p-920ce5f2.entry.js +2 -0
  950. package/pn-market-web-components/p-920ce5f2.entry.js.map +1 -0
  951. package/pn-market-web-components/p-923aa6d2.entry.js +2 -0
  952. package/pn-market-web-components/p-923aa6d2.entry.js.map +1 -0
  953. package/pn-market-web-components/{p-959a37d9.js → p-930e2943.js} +2 -2
  954. package/pn-market-web-components/p-9454075f.entry.js +2 -0
  955. package/pn-market-web-components/{p-45b8cadb.entry.js.map → p-9454075f.entry.js.map} +1 -1
  956. package/pn-market-web-components/p-95d32ab4.entry.js +2 -0
  957. package/pn-market-web-components/{p-758f1b53.entry.js.map → p-95d32ab4.entry.js.map} +1 -1
  958. package/pn-market-web-components/p-a298a263.entry.js +2 -0
  959. package/pn-market-web-components/p-a298a263.entry.js.map +1 -0
  960. package/pn-market-web-components/{p-eaee1dd6.entry.js → p-a73e4811.entry.js} +2 -2
  961. package/pn-market-web-components/{p-eaee1dd6.entry.js.map → p-a73e4811.entry.js.map} +1 -1
  962. package/pn-market-web-components/p-ad282b7c.entry.js +2 -0
  963. package/pn-market-web-components/{p-4d2ca281.entry.js.map → p-ad282b7c.entry.js.map} +1 -1
  964. package/pn-market-web-components/{p-155c2049.entry.js → p-ad9a7633.entry.js} +2 -2
  965. package/pn-market-web-components/p-b9590d81.entry.js +2 -0
  966. package/pn-market-web-components/{p-59549c74.entry.js.map → p-b9590d81.entry.js.map} +1 -1
  967. package/pn-market-web-components/p-c4e353b3.entry.js +2 -0
  968. package/pn-market-web-components/{p-5a1b6e6d.entry.js.map → p-c4e353b3.entry.js.map} +1 -1
  969. package/pn-market-web-components/p-c89cb749.entry.js +2 -0
  970. package/pn-market-web-components/{p-95519556.entry.js.map → p-c89cb749.entry.js.map} +1 -1
  971. package/pn-market-web-components/p-c9038b03.entry.js +2 -0
  972. package/pn-market-web-components/{p-64d0dbba.entry.js.map → p-c9038b03.entry.js.map} +1 -1
  973. package/pn-market-web-components/p-cbb1d57d.entry.js +2 -0
  974. package/pn-market-web-components/{p-6fdd5b5a.entry.js.map → p-cbb1d57d.entry.js.map} +1 -1
  975. package/pn-market-web-components/p-cda742ba.entry.js +2 -0
  976. package/pn-market-web-components/p-cda742ba.entry.js.map +1 -0
  977. package/pn-market-web-components/p-ce87ff8a.entry.js +2 -0
  978. package/pn-market-web-components/{p-e2e3ac2f.entry.js.map → p-ce87ff8a.entry.js.map} +1 -1
  979. package/pn-market-web-components/p-cf8a1fb9.js +2 -0
  980. package/pn-market-web-components/p-cf8a1fb9.js.map +1 -0
  981. package/pn-market-web-components/p-d17af75d.entry.js +2 -0
  982. package/pn-market-web-components/{p-b693f78a.entry.js.map → p-d17af75d.entry.js.map} +1 -1
  983. package/pn-market-web-components/p-d5c45da2.entry.js +2 -0
  984. package/pn-market-web-components/{p-e5ae757f.entry.js.map → p-d5c45da2.entry.js.map} +1 -1
  985. package/pn-market-web-components/p-d7170c0e.entry.js +2 -0
  986. package/pn-market-web-components/{p-d0a085cc.entry.js.map → p-d7170c0e.entry.js.map} +1 -1
  987. package/pn-market-web-components/p-d75a2f7c.entry.js +2 -0
  988. package/pn-market-web-components/p-d75a2f7c.entry.js.map +1 -0
  989. package/pn-market-web-components/p-da56370b.entry.js +2 -0
  990. package/pn-market-web-components/{p-545c24c0.entry.js.map → p-da56370b.entry.js.map} +1 -1
  991. package/pn-market-web-components/p-daa74e60.entry.js +2 -0
  992. package/pn-market-web-components/{p-7076038b.entry.js.map → p-daa74e60.entry.js.map} +1 -1
  993. package/pn-market-web-components/p-dc2ee6f8.entry.js +2 -0
  994. package/pn-market-web-components/p-dc2ee6f8.entry.js.map +1 -0
  995. package/pn-market-web-components/p-e8622338.entry.js +2 -0
  996. package/pn-market-web-components/{p-b9505c69.entry.js.map → p-e8622338.entry.js.map} +1 -1
  997. package/pn-market-web-components/p-eb21f772.entry.js +2 -0
  998. package/pn-market-web-components/p-eb21f772.entry.js.map +1 -0
  999. package/pn-market-web-components/p-efab81a9.entry.js +2 -0
  1000. package/pn-market-web-components/p-efab81a9.entry.js.map +1 -0
  1001. package/pn-market-web-components/{p-278cda98.entry.js → p-f0df7694.entry.js} +4 -4
  1002. package/pn-market-web-components/{p-278cda98.entry.js.map → p-f0df7694.entry.js.map} +1 -1
  1003. package/pn-market-web-components/p-f28059f4.entry.js +2 -0
  1004. package/pn-market-web-components/{p-856c235c.entry.js.map → p-f28059f4.entry.js.map} +1 -1
  1005. package/pn-market-web-components/p-f28d0971.entry.js +2 -0
  1006. package/pn-market-web-components/p-f28d0971.entry.js.map +1 -0
  1007. package/pn-market-web-components/p-f4b14be8.entry.js +2 -0
  1008. package/pn-market-web-components/{p-1ec21bd6.entry.js.map → p-f4b14be8.entry.js.map} +1 -1
  1009. package/pn-market-web-components/p-f5d03222.entry.js +2 -0
  1010. package/pn-market-web-components/{p-90242f18.entry.js.map → p-f5d03222.entry.js.map} +1 -1
  1011. package/pn-market-web-components/{p-8af1b914.js → p-f9083b7a.js} +2 -2
  1012. package/pn-market-web-components/{p-cafe11a9.js → p-fb4cdf98.js} +2 -2
  1013. package/pn-market-web-components/p-fe466661.js +2 -0
  1014. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  1015. package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  1016. package/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  1017. package/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +2 -3
  1018. package/types/components/input/pn-address-autofill/translations.d.ts +3 -0
  1019. package/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  1020. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +0 -2
  1021. package/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  1022. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +11 -0
  1023. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +7 -0
  1024. package/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +43 -0
  1025. package/types/components/widgets/pn-chat/pn-chat.d.ts +72 -0
  1026. package/types/components/widgets/pn-chat/pn-chat.models.d.ts +22 -0
  1027. package/types/components/widgets/pn-chat/pn-chat.service.d.ts +26 -0
  1028. package/types/components/widgets/pn-chat/pn-chat.stories.d.ts +8 -0
  1029. package/types/components/widgets/pn-chat/translations.d.ts +77 -0
  1030. package/types/components/widgets/pn-chat/types.d.ts +68 -0
  1031. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +23 -0
  1032. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +5 -0
  1033. package/types/components/widgets/pn-level-up/pn-level-up.d.ts +43 -0
  1034. package/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +22 -0
  1035. package/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +16 -0
  1036. package/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +7 -0
  1037. package/types/components/widgets/pn-level-up/types.d.ts +1 -0
  1038. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +48 -0
  1039. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +7 -0
  1040. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +55 -0
  1041. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +11 -0
  1042. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +26 -0
  1043. package/types/components/widgets/pn-marketweb-table/translations.d.ts +80 -0
  1044. package/types/components/widgets/pn-marketweb-table/types.d.ts +38 -0
  1045. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +23 -0
  1046. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +5 -0
  1047. package/types/components.d.ts +293 -8
  1048. package/types/globals/HeadingTag.d.ts +1 -1
  1049. package/types/globals/LocalStorageService.d.ts +14 -0
  1050. package/types/globals/ScreensizeDetect.d.ts +29 -0
  1051. package/types/globals/types.d.ts +20 -0
  1052. package/types/utils/utils.d.ts +1 -0
  1053. package/vscode-data.json +535 -3
  1054. package/cjs/FetchHelper-e951824f.js.map +0 -1
  1055. package/cjs/index-34e1c673.js.map +0 -1
  1056. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +0 -1
  1057. package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -38
  1058. package/components/pn-marketweb-siteheader-login-mypage-button2.js.map +0 -1
  1059. package/esm/FetchHelper-746f2bb6.js.map +0 -1
  1060. package/esm/index-51d67461.js.map +0 -1
  1061. package/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +0 -1
  1062. package/pn-market-web-components/p-066e9db9.entry.js +0 -2
  1063. package/pn-market-web-components/p-0ec8d040.entry.js +0 -2
  1064. package/pn-market-web-components/p-13190b30.js +0 -2
  1065. package/pn-market-web-components/p-190c6938.entry.js +0 -2
  1066. package/pn-market-web-components/p-1ec21bd6.entry.js +0 -2
  1067. package/pn-market-web-components/p-231b97e1.entry.js +0 -2
  1068. package/pn-market-web-components/p-23d69d70.entry.js +0 -2
  1069. package/pn-market-web-components/p-23d69d70.entry.js.map +0 -1
  1070. package/pn-market-web-components/p-24086c59.entry.js +0 -2
  1071. package/pn-market-web-components/p-25d53df2.entry.js +0 -2
  1072. package/pn-market-web-components/p-25dfc349.entry.js +0 -2
  1073. package/pn-market-web-components/p-27d138b4.entry.js +0 -2
  1074. package/pn-market-web-components/p-27d138b4.entry.js.map +0 -1
  1075. package/pn-market-web-components/p-2b03a4e1.entry.js +0 -2
  1076. package/pn-market-web-components/p-2b03a4e1.entry.js.map +0 -1
  1077. package/pn-market-web-components/p-3fb8e665.entry.js +0 -2
  1078. package/pn-market-web-components/p-45b8cadb.entry.js +0 -2
  1079. package/pn-market-web-components/p-45d1e1be.entry.js +0 -2
  1080. package/pn-market-web-components/p-4d2ca281.entry.js +0 -2
  1081. package/pn-market-web-components/p-4e3059dd.entry.js +0 -2
  1082. package/pn-market-web-components/p-4fa5bc85.entry.js +0 -2
  1083. package/pn-market-web-components/p-530274ae.entry.js +0 -2
  1084. package/pn-market-web-components/p-545c24c0.entry.js +0 -2
  1085. package/pn-market-web-components/p-55643d76.entry.js +0 -2
  1086. package/pn-market-web-components/p-572c4d81.entry.js +0 -2
  1087. package/pn-market-web-components/p-572c4d81.entry.js.map +0 -1
  1088. package/pn-market-web-components/p-59549c74.entry.js +0 -2
  1089. package/pn-market-web-components/p-59cb7166.entry.js +0 -2
  1090. package/pn-market-web-components/p-59cb7166.entry.js.map +0 -1
  1091. package/pn-market-web-components/p-5a1b6e6d.entry.js +0 -2
  1092. package/pn-market-web-components/p-5d06e48f.entry.js +0 -2
  1093. package/pn-market-web-components/p-5d06e48f.entry.js.map +0 -1
  1094. package/pn-market-web-components/p-62cabd1e.entry.js +0 -2
  1095. package/pn-market-web-components/p-64d0dbba.entry.js +0 -2
  1096. package/pn-market-web-components/p-652f97b9.js +0 -2
  1097. package/pn-market-web-components/p-65ab3003.entry.js +0 -2
  1098. package/pn-market-web-components/p-65f243c1.js.map +0 -1
  1099. package/pn-market-web-components/p-6647d2c4.entry.js +0 -2
  1100. package/pn-market-web-components/p-6a5f7dee.entry.js +0 -2
  1101. package/pn-market-web-components/p-6fdd5b5a.entry.js +0 -2
  1102. package/pn-market-web-components/p-7076038b.entry.js +0 -2
  1103. package/pn-market-web-components/p-725aba56.entry.js +0 -2
  1104. package/pn-market-web-components/p-725aba56.entry.js.map +0 -1
  1105. package/pn-market-web-components/p-72dbca40.entry.js +0 -2
  1106. package/pn-market-web-components/p-74fd7435.entry.js +0 -2
  1107. package/pn-market-web-components/p-758f1b53.entry.js +0 -2
  1108. package/pn-market-web-components/p-76e6708b.entry.js +0 -2
  1109. package/pn-market-web-components/p-776f3d51.entry.js +0 -2
  1110. package/pn-market-web-components/p-77a35f5e.entry.js +0 -2
  1111. package/pn-market-web-components/p-7c3091eb.entry.js +0 -2
  1112. package/pn-market-web-components/p-7c3091eb.entry.js.map +0 -1
  1113. package/pn-market-web-components/p-856c235c.entry.js +0 -2
  1114. package/pn-market-web-components/p-8c26b98d.entry.js +0 -2
  1115. package/pn-market-web-components/p-90242f18.entry.js +0 -2
  1116. package/pn-market-web-components/p-94a69959.entry.js +0 -2
  1117. package/pn-market-web-components/p-94a69959.entry.js.map +0 -1
  1118. package/pn-market-web-components/p-95519556.entry.js +0 -2
  1119. package/pn-market-web-components/p-a38118be.entry.js +0 -2
  1120. package/pn-market-web-components/p-a419cd91.entry.js +0 -2
  1121. package/pn-market-web-components/p-a54a298b.entry.js +0 -2
  1122. package/pn-market-web-components/p-a54a298b.entry.js.map +0 -1
  1123. package/pn-market-web-components/p-a6866467.entry.js +0 -2
  1124. package/pn-market-web-components/p-a72c2729.entry.js +0 -2
  1125. package/pn-market-web-components/p-aeeabb32.entry.js +0 -2
  1126. package/pn-market-web-components/p-b35cdbac.entry.js +0 -2
  1127. package/pn-market-web-components/p-b5a0275d.entry.js +0 -2
  1128. package/pn-market-web-components/p-b693f78a.entry.js +0 -2
  1129. package/pn-market-web-components/p-b9340e9c.entry.js +0 -2
  1130. package/pn-market-web-components/p-b9340e9c.entry.js.map +0 -1
  1131. package/pn-market-web-components/p-b9505c69.entry.js +0 -2
  1132. package/pn-market-web-components/p-bb1c965e.js +0 -3
  1133. package/pn-market-web-components/p-bb1c965e.js.map +0 -1
  1134. package/pn-market-web-components/p-c5772021.entry.js +0 -2
  1135. package/pn-market-web-components/p-cf39491b.entry.js +0 -2
  1136. package/pn-market-web-components/p-d0a085cc.entry.js +0 -2
  1137. package/pn-market-web-components/p-e2e3ac2f.entry.js +0 -2
  1138. package/pn-market-web-components/p-e5ae757f.entry.js +0 -2
  1139. package/pn-market-web-components/p-e6e012fb.entry.js +0 -2
  1140. package/pn-market-web-components/p-e8278e9e.entry.js +0 -2
  1141. package/pn-market-web-components/p-e916e99d.entry.js +0 -2
  1142. package/pn-market-web-components/p-ea3d6f7e.entry.js +0 -2
  1143. package/pn-market-web-components/p-ea7b0d21.entry.js +0 -2
  1144. package/pn-market-web-components/p-fc157a1e.entry.js +0 -2
  1145. /package/pn-market-web-components/{p-652f97b9.js.map → p-72828265.js.map} +0 -0
  1146. /package/pn-market-web-components/{p-e09a907b.js.map → p-793e1339.js.map} +0 -0
  1147. /package/pn-market-web-components/{p-2509d18d.js.map → p-8836de82.js.map} +0 -0
  1148. /package/pn-market-web-components/{p-560e5291.entry.js.map → p-8a651698.entry.js.map} +0 -0
  1149. /package/pn-market-web-components/{p-959a37d9.js.map → p-930e2943.js.map} +0 -0
  1150. /package/pn-market-web-components/{p-155c2049.entry.js.map → p-ad9a7633.entry.js.map} +0 -0
  1151. /package/pn-market-web-components/{p-8af1b914.js.map → p-f9083b7a.js.map} +0 -0
  1152. /package/pn-market-web-components/{p-cafe11a9.js.map → p-fb4cdf98.js.map} +0 -0
  1153. /package/pn-market-web-components/{p-13190b30.js.map → p-fe466661.js.map} +0 -0
@@ -0,0 +1,85 @@
1
+ 'use strict';
2
+
3
+ class FetchHelper {
4
+ storagePrefix = '';
5
+ constructor(namespace = '') {
6
+ this.storagePrefix = namespace;
7
+ }
8
+ async fetchJson(input, init = {}, useCache = false, onCacheUpdated = null) {
9
+ const url = typeof input === 'string' ? input : input.url;
10
+ const cacheKey = url;
11
+ let jsonData = null;
12
+ let cachedData = null;
13
+ if (useCache) {
14
+ cachedData = this.store.get(cacheKey);
15
+ if (cachedData && !cachedData.permanent) {
16
+ if (cachedData.data) {
17
+ return cachedData.data;
18
+ }
19
+ }
20
+ }
21
+ try {
22
+ const response = await fetch(input, init);
23
+ jsonData = await response.json();
24
+ if (useCache) {
25
+ if (typeof onCacheUpdated === 'function' && cachedData != null) {
26
+ onCacheUpdated(jsonData);
27
+ }
28
+ this.store.set(cacheKey, this.wrapJson(jsonData, true), true);
29
+ this.store.set(cacheKey, this.wrapJson(jsonData, false), false);
30
+ }
31
+ return jsonData;
32
+ }
33
+ catch (error) {
34
+ console.error(error);
35
+ return null;
36
+ }
37
+ }
38
+ wrapJson(data, permanent = false) {
39
+ const now = new Date();
40
+ return {
41
+ timestamp: now.getTime(),
42
+ time: now.toISOString(),
43
+ data: data,
44
+ permanent: permanent,
45
+ };
46
+ }
47
+ store = {
48
+ get: (key, permanentStorageFirst = false) => {
49
+ const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;
50
+ const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;
51
+ let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);
52
+ if (!value) {
53
+ value = secondProvider.getItem(`${this.storagePrefix}-${key}`);
54
+ }
55
+ if (!value) {
56
+ return value;
57
+ }
58
+ if (value.indexOf('{') === 0) {
59
+ try {
60
+ return JSON.parse(value);
61
+ }
62
+ catch (e) { }
63
+ }
64
+ if (value.indexOf(',') !== -1) {
65
+ return value.split(',');
66
+ }
67
+ return value;
68
+ },
69
+ set: (key, value, permanent = false) => {
70
+ const provider = permanent ? window.localStorage : window.sessionStorage;
71
+ if (typeof value === 'object' && typeof value.length === 'undefined') {
72
+ provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));
73
+ return;
74
+ }
75
+ provider.setItem(`${this.storagePrefix}-${key}`, value);
76
+ },
77
+ remove: (key) => {
78
+ window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);
79
+ },
80
+ };
81
+ }
82
+
83
+ exports.FetchHelper = FetchHelper;
84
+
85
+ //# sourceMappingURL=FetchHelper-2d4c697c.js.map
@@ -0,0 +1 @@
1
+ {"file":"FetchHelper-2d4c697c.js","mappings":";;AAAA,MAAM,WAAW;IACf,aAAa,GAAG,EAAE,CAAC;IACnB,YAAY,SAAS,GAAG,EAAE;QACxB,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;KAChC;IAEH,MAAM,SAAS,CAAC,KAAkB,EAAE,OAAoB,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,iBAA2B,IAAI;QAC3G,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAI,KAAiB,CAAC,GAAG,CAAC;QACvE,MAAM,QAAQ,GAAG,GAAG,CAAC;QACrB,IAAI,QAAQ,GAAG,IAAI,CAAC;QACpB,IAAI,UAAU,GAAG,IAAI,CAAC;QAEtB,IAAI,QAAQ,EAAE;YACZ,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtC,IAAI,UAAU,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE;gBACvC,IAAI,UAAU,CAAC,IAAI,EAAE;oBACnB,OAAO,UAAU,CAAC,IAAI,CAAC;iBACxB;aACF;SACF;QAED,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,K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'';\n constructor(namespace = '') {\n this.storagePrefix = namespace;\n }\n\nasync fetchJson(input: RequestInfo, init: RequestInit = {}, useCache = false, onCacheUpdated: Function = null) {\n const url = typeof input === 'string' ? input : (input as Request).url;\n const cacheKey = url;\n let jsonData = null;\n let cachedData = null;\n\n if (useCache) {\n cachedData = this.store.get(cacheKey);\n if (cachedData && !cachedData.permanent) {\n if (cachedData.data) {\n return cachedData.data;\n }\n }\n }\n\n try {\n const response = await fetch(input, init);\n jsonData = await response.json();\n\n if (useCache) {\n if (typeof onCacheUpdated === 'function' && cachedData != null) {\n onCacheUpdated(jsonData);\n }\n this.store.set(cacheKey, this.wrapJson(jsonData, true), true);\n this.store.set(cacheKey, this.wrapJson(jsonData, false), false);\n }\n\n return jsonData;\n } catch (error) {\n console.error(error);\n return null;\n }\n}\n\n wrapJson(data: any, permanent = false) {\n const now = new Date();\n return {\n timestamp: now.getTime(),\n time: now.toISOString(),\n data: data,\n permanent: permanent,\n };\n }\n\n store = {\n get: (key: string, permanentStorageFirst = false) => {\n const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;\n const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;\n let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);\n if (!value) {\n value = secondProvider.getItem(`${this.storagePrefix}-${key}`);\n }\n if (!value) {\n return value;\n }\n if (value.indexOf('{') === 0) {\n try {\n return JSON.parse(value);\n } catch (e) {}\n }\n if (value.indexOf(',') !== -1) {\n return value.split(',');\n }\n return value;\n },\n set: (key: string, value: any, permanent = false) => {\n const provider = permanent ? window.localStorage : window.sessionStorage;\n if (typeof value === 'object' && typeof value.length === 'undefined') {\n provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));\n return;\n }\n provider.setItem(`${this.storagePrefix}-${key}`, value);\n },\n remove: (key: string) => {\n window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);\n },\n };\n}\n\nexport { FetchHelper };\n"],"version":3}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-b02670c2.js');
4
+
5
+ const HeadingTag = ({ level, id, cssClass, additionalProps }, children) => {
6
+ const Tag = level;
7
+ return index.h(Tag, { id: id, className: cssClass, ...additionalProps, innerHTML: children });
8
+ };
9
+
10
+ exports.HeadingTag = HeadingTag;
11
+
12
+ //# sourceMappingURL=HeadingTag-19376e1f.js.map
@@ -0,0 +1 @@
1
+ {"file":"HeadingTag-19376e1f.js","mappings":";;;;MASa,UAAU,GAAyC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,QAAQ;IACjH,MAAM,GAAG,GAAG,KAAK,CAAC;IAElB,OAAOA,QAAC,GAAG,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,KAAM,eAAe,EAAE,SAAS,EAAE,QAAQ,GAAQ,CAAC;AAC5F;;;;","names":["h"],"sources":["src/globals/HeadingTag.tsx"],"sourcesContent":["import { h, FunctionalComponent } from '@stencil/core';\n\ninterface HeadingTagProps {\n level: string;\n id?: string;\n cssClass?: string;\n additionalProps?: { [key: string]: string };\n}\n\nexport const HeadingTag: FunctionalComponent<HeadingTagProps> = ({ level, id, cssClass, additionalProps }, children) => {\n const Tag = level;\n\n return <Tag id={id} className={cssClass} {...additionalProps} innerHTML={children}></Tag>;\n};\n"],"version":3}
@@ -0,0 +1,66 @@
1
+ 'use strict';
2
+
3
+ function isLocalStorageAvailable() {
4
+ try {
5
+ const testKey = '__storage_test__';
6
+ localStorage.setItem(testKey, testKey);
7
+ localStorage.removeItem(testKey);
8
+ return true;
9
+ }
10
+ catch (error) {
11
+ return false;
12
+ }
13
+ }
14
+
15
+ class LocalStorageService {
16
+ available;
17
+ constructor() {
18
+ this.available = isLocalStorageAvailable();
19
+ }
20
+ get(key) {
21
+ if (!this.available)
22
+ return null;
23
+ try {
24
+ const item = localStorage.getItem(key);
25
+ return item ? JSON.parse(item) : null;
26
+ }
27
+ catch (error) {
28
+ console.warn(`Error getting item ${key} from localStorage:`, error);
29
+ return null;
30
+ }
31
+ }
32
+ set(key, value) {
33
+ if (!this.available)
34
+ return;
35
+ try {
36
+ localStorage.setItem(key, JSON.stringify(value));
37
+ }
38
+ catch (error) {
39
+ console.warn(`Error setting item ${key} in localStorage:`, error);
40
+ }
41
+ }
42
+ remove(key) {
43
+ if (!this.available)
44
+ return;
45
+ try {
46
+ localStorage.removeItem(key);
47
+ }
48
+ catch (error) {
49
+ console.warn(`Error removing item ${key} from localStorage:`, error);
50
+ }
51
+ }
52
+ clear() {
53
+ if (!this.available)
54
+ return;
55
+ try {
56
+ localStorage.clear();
57
+ }
58
+ catch (error) {
59
+ console.warn('Error clearing localStorage:', error);
60
+ }
61
+ }
62
+ }
63
+
64
+ exports.LocalStorageService = LocalStorageService;
65
+
66
+ //# sourceMappingURL=LocalStorageService-e1ee3fac.js.map
@@ -0,0 +1 @@
1
+ {"file":"LocalStorageService-e1ee3fac.js","mappings":";;SAIgB,uBAAuB;IACrC,IAAI;QACF,MAAM,OAAO,GAAG,kBAAkB,CAAC;QACnC,YAAY,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACvC,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACjC,OAAO,IAAI,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,KAAK,CAAC;KACd;AACH;;MCJa,mBAAmB;IACtB,SAAS,CAAU;IAE3B;QACE,IAAI,CAAC,SAAS,GAAG,uBAAuB,EAAE,CAAC;KAC5C;IAEM,GAAG,CAAC,GAAW;QACpB,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO,IAAI,CAAC;QAEjC,IAAI;YACF,MAAM,IAAI,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YACvC,OAAO,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;SACvC;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,EAAE,KAAK,CAAC,CAAC;YACpE,OAAO,IAAI,CAAC;SACb;KACF;IAEM,GAAG,CAAC,GAAW,EAAE,KAAU;QAChC,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO;QAE5B,IAAI;YACF,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;SAClD;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,sBAAsB,GAAG,mBAAmB,EAAE,KAAK,CAAC,CAAC;SACnE;KACF;IAEM,MAAM,CAAC,GAAW;QACvB,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO;QAE5B,IAAI;YACF,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;SAC9B;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,uBAAuB,GAAG,qBAAqB,EAAE,KAAK,CAAC,CAAC;SACtE;KACF;IAEM,KAAK;QACV,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO;QAE5B,IAAI;YACF,YAAY,CAAC,KAAK,EAAE,CAAC;SACtB;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAC;SACrD;KACF;;;;;","names":[],"sources":["src/utils/utils.ts","src/globals/LocalStorageService.ts"],"sourcesContent":["export function format(first: string, middle: string, last: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function isLocalStorageAvailable(): boolean {\n try {\n const testKey = '__storage_test__';\n localStorage.setItem(testKey, testKey);\n localStorage.removeItem(testKey);\n return true;\n } catch (error) {\n return false;\n }\n}\n","import { isLocalStorageAvailable } from \"@/utils/utils\";\n\nexport interface StorageService {\n get(key: string): any | null;\n set(key: string, value: any): void;\n remove(key: string): void;\n clear(): void;\n}\n\nexport class LocalStorageService implements StorageService {\n private available: boolean;\n\n constructor() {\n this.available = isLocalStorageAvailable();\n }\n\n public get(key: string): any | null {\n if (!this.available) return null;\n\n try {\n const item = localStorage.getItem(key);\n return item ? JSON.parse(item) : null;\n } catch (error) {\n console.warn(`Error getting item ${key} from localStorage:`, error);\n return null;\n }\n }\n\n public set(key: string, value: any): void {\n if (!this.available) return;\n\n try {\n localStorage.setItem(key, JSON.stringify(value));\n } catch (error) {\n console.warn(`Error setting item ${key} in localStorage:`, error);\n }\n }\n\n public remove(key: string): void {\n if (!this.available) return;\n\n try {\n localStorage.removeItem(key);\n } catch (error) {\n console.warn(`Error removing item ${key} from localStorage:`, error);\n }\n }\n\n public clear(): void {\n if (!this.available) return;\n\n try {\n localStorage.clear();\n } catch (error) {\n console.warn('Error clearing localStorage:', error);\n }\n }\n}\n\n"],"version":3}
@@ -242,87 +242,6 @@ class MarketWebContextService {
242
242
  }
243
243
  }
244
244
 
245
- class FetchHelper {
246
- storagePrefix = '';
247
- constructor(namespace = '') {
248
- this.storagePrefix = namespace;
249
- }
250
- async fetchJson(input, init = {}, useCache = false, onCacheUpdated = null) {
251
- const url = typeof input === 'string' ? input : input.url;
252
- const cacheKey = url;
253
- let jsonData = null;
254
- let cachedData = null;
255
- if (useCache) {
256
- cachedData = this.store.get(cacheKey);
257
- if (cachedData && !cachedData.permanent) {
258
- if (cachedData.data) {
259
- return cachedData.data;
260
- }
261
- }
262
- }
263
- try {
264
- const response = await fetch(input, init);
265
- jsonData = await response.json();
266
- if (useCache) {
267
- if (typeof onCacheUpdated === 'function' && cachedData != null) {
268
- onCacheUpdated(jsonData);
269
- }
270
- this.store.set(cacheKey, this.wrapJson(jsonData, true), true);
271
- this.store.set(cacheKey, this.wrapJson(jsonData, false), false);
272
- }
273
- return jsonData;
274
- }
275
- catch (error) {
276
- console.error(error);
277
- return null;
278
- }
279
- }
280
- wrapJson(data, permanent = false) {
281
- const now = new Date();
282
- return {
283
- timestamp: now.getTime(),
284
- time: now.toISOString(),
285
- data: data,
286
- permanent: permanent,
287
- };
288
- }
289
- store = {
290
- get: (key, permanentStorageFirst = false) => {
291
- const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;
292
- const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;
293
- let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);
294
- if (!value) {
295
- value = secondProvider.getItem(`${this.storagePrefix}-${key}`);
296
- }
297
- if (!value) {
298
- return value;
299
- }
300
- if (value.indexOf('{') === 0) {
301
- try {
302
- return JSON.parse(value);
303
- }
304
- catch (e) { }
305
- }
306
- if (value.indexOf(',') !== -1) {
307
- return value.split(',');
308
- }
309
- return value;
310
- },
311
- set: (key, value, permanent = false) => {
312
- const provider = permanent ? window.localStorage : window.sessionStorage;
313
- if (typeof value === 'object' && typeof value.length === 'undefined') {
314
- provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));
315
- return;
316
- }
317
- provider.setItem(`${this.storagePrefix}-${key}`, value);
318
- },
319
- remove: (key) => {
320
- window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);
321
- },
322
- };
323
- }
324
-
325
- exports.FetchHelper = FetchHelper;
326
245
  exports.MarketWebContextService = MarketWebContextService;
327
246
 
328
- //# sourceMappingURL=FetchHelper-e951824f.js.map
247
+ //# sourceMappingURL=MarketWebContextService-0fdc43c8.js.map
@@ -0,0 +1 @@
1
+ {"file":"MarketWebContextService-0fdc43c8.js","mappings":";;AAAA,MAAM,uBAAuB;IAC3B,IAAI,GAAG,EAAE,CAAC;IACV,MAAM,GAAG,EAAE,CAAC;IACZ,QAAQ,GAAG,EAAE,CAAC;IACd,WAAW,GAAG,EAAE,CAAC;IACjB,GAAG,GAAG,IAAI,CAAC;IACX,gBAAgB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,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AI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;SACtC;KACF;IAED,MAAM,eAAe;QACnB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO;SACR;QAED,MAAM,kBAAkB,GAAG;YACzB,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;YAC1D,QAAQ,CAAC,aAAa,CAAC,0CAA0C,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;YAC3F,QAAQ,CAAC,aAAa,CAAC,iCAAiC,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;YAClF,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;SACvD,CAAC;QACF,kBAAkB;aACf,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;aACd,OAAO,CAAC,QAAQ;YACf,IAAI,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;gBACzB,OAAO;aACR;SACF,CAAC,CAAC;QACL,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,EAAE;YACjC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC;SAC5D;KACF;;;;;","names":[],"sources":["src/globals/MarketWebContextService.ts"],"sourcesContent":["class MarketWebContextService {\n href = '';\n market = '';\n language = '';\n environment = '';\n url = null;\n allowedLanguages = ['sv', 'da', 'fi', 'no', 'en', 'de', 'zh', 'fr', 'es', 'it', 'nl'];\n allowedMarkets = ['se', 'dk', 'fi', 'no', 'com', 'de', 'tpl', 'group'];\n wwwMarkets = ['se', 'dk', 'fi', 'no', 'de', 'com'];\n developmentDomains = ['localhost', '.local', 'local.', '.dev', 'dev.'];\n\n markets = {\n se: {\n fallbackLanguage: 'sv',\n integration: 'se-inte.postnord.com',\n preproduction: 'se-prep.postnord.com',\n production: 'se-prod.postnord.com',\n live: 'www.postnord.se',\n },\n dk: {\n fallbackLanguage: 'da',\n integration: 'dk-inte.postnord.com',\n preproduction: 'dk-prep.postnord.com',\n production: 'dk-prod.postnord.com',\n live: 'www.postnord.dk',\n },\n fi: {\n fallbackLanguage: 'fi',\n integration: 'fi-inte.postnord.com',\n preproduction: 'fi-prep.postnord.com',\n production: 'fi-prod.postnord.com',\n live: 'www.postnord.fi',\n },\n no: {\n fallbackLanguage: 'no',\n integration: 'no-inte.postnord.com',\n preproduction: 'no-prep.postnord.com',\n production: 'no-prod.postnord.com',\n live: 'www.postnord.no',\n },\n com: {\n fallbackLanguage: 'en',\n integration: 'com-inte.postnord.com',\n preproduction: 'com-prep.postnord.com',\n production: 'com-prod.postnord.com',\n live: 'www.postnord.com',\n },\n de: {\n fallbackLanguage: 'en',\n integration: 'de-inte.postnord.com',\n preproduction: 'de-prep.postnord.com',\n production: 'de-prod.postnord.com',\n live: 'www.postnord.de',\n },\n tpl: {\n fallbackLanguage: 'sv',\n integration: 'tpl-inte.postnord.com',\n preproduction: 'tpl-prep.postnord.com',\n production: 'tpl-prod.postnord.com',\n live: 'www.tpl.postnord.com',\n },\n group: {\n fallbackLanguage: 'en',\n integration: 'group-inte.postnord.com',\n preproduction: 'group-prep.postnord.com',\n production: 'group-prod.postnord.com',\n live: 'group.postnord.com',\n },\n };\n environmentTypes = ['integration', 'preproduction', 'production', 'inte', 'prep', 'prod'];\n environments = {\n production: {\n name: 'production',\n url: 'https://www.postnord.xx/',\n },\n preproduction: {\n name: 'preproduction',\n url: 'https://com-prep.postnord.com/',\n },\n integration: {\n name: 'integration',\n url: 'https://com-inte.postnord.com/',\n },\n };\n\n constructor(href = window.location.href) {\n this.href = href;\n this.url = new URL(this.href);\n }\n\n async getLanguage() {\n if (this.language) {\n return this.language;\n }\n await this.resolveLanguage();\n return this.language;\n }\n\n async getMarket() {\n if (this.market) {\n return this.market;\n }\n await this.resolveMarket();\n return this.market;\n }\n\n async getEndpoint(environmentName, marketName = '') {\n let url = this.environments.production.url;\n if (this.markets[marketName] && this.markets[marketName][environmentName]) {\n if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {\n // If the environment is production and we're on the www domain we'll use that\n return `https://` + this.markets[marketName]['live'];\n }\n if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {\n return `https://` + this.markets[marketName][environmentName];\n }\n }\n\n // Old solution to match URLs. Not bulletproof\n if (this.environments[environmentName]) {\n url = this.environments[environmentName].url;\n if (environmentName === this.environments.production.name) {\n if (this.wwwMarkets.indexOf(marketName) !== -1) {\n // Handles www.postnord.xx domains\n url = url.replace('.xx', '.' + marketName);\n } else {\n url = url.replace('.xx', '.com'); // Expect URL to end in postnord.com\n url = url.replace('www.', marketName + '.');\n\n if (marketName === 'tpl') {\n url = url.replace('tpl.', 'www.tpl.');\n }\n }\n }\n }\n return url;\n }\n\n async getEnvironmentName() {\n const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1)[0];\n\n if (likelyEnvironment) {\n this.environment = likelyEnvironment;\n return this.environment;\n }\n if (this.url.hostname.indexOf('www.') !== -1) {\n this.environment = this.environments.production.name;\n return this.environment;\n }\n\n this.environment = this.environments.integration.name;\n return this.environment;\n }\n\n isDevEnvironment() {\n const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];\n return matchedDevEnvironment.length > 0;\n }\n\n async resolveMarket() {\n // Resolve market from www domains\n if (this.href.indexOf('//www.') !== -1) {\n const domainRoot = this.url.hostname.substring(this.url.hostname.lastIndexOf('.') + 1, this.url.hostname.length);\n if (domainRoot && this.markets[domainRoot]) {\n this.market = domainRoot;\n } else {\n console.warn('Unable to define market from www. domain', this.href);\n }\n }\n\n // Check if domains are on one of the integration/preproduction/production environments urls\n const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1);\n if (!this.market && likelyEnvironment && likelyEnvironment.length > 0) {\n const matchedEnvironment = likelyEnvironment[0];\n const marketPrefix = this.url.hostname.substring(0, this.url.hostname.indexOf('-' + matchedEnvironment));\n if (marketPrefix && this.markets[marketPrefix]) {\n this.market = marketPrefix;\n } else {\n console.warn('Unable to define market from preset environment names', this.href);\n }\n }\n\n if (!this.market) {\n if (this.url.hostname.indexOf('www') === -1 && this.url.hostname.indexOf('.postnord.') > 0) {\n const start = this.url.hostname.indexOf('.') !== this.url.hostname.indexOf('.postnord') ? this.url.hostname.indexOf('.') : 0;\n const potentialMarket = this.url.hostname.substring(start, this.url.hostname.indexOf('.postnord.'));\n // Break down the subdomain to the word closest to .postnord. and take that word.\n // Supports sub-sub domain down to 1 level.\n\n if (this.allowedMarkets.indexOf(potentialMarket) !== -1) {\n this.market = potentialMarket;\n return;\n }\n }\n }\n\n // Check if we're on a development environment\n if (!this.market) {\n const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];\n if (!matchedDevEnvironment) {\n // Fallback to first allowed market\n this.market = this.allowedMarkets[0];\n return;\n }\n\n const urlWithoutDomain = this.href.replace(matchedDevEnvironment, '');\n\n // We see if the dev environment contains something like /dk\n let matchedMarket = this.allowedMarkets.filter(x => {\n const typesOfFallback = ['.' + x, x + '.', '/' + x + '/']; // Ex /dk, dk.html, /dk/\n const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);\n return matchedTypeOfFallback.length > 0;\n })[0];\n\n if (matchedMarket) {\n this.market = matchedMarket;\n } else {\n // We do a similar filter for subpaths but for language this time\n let filteredMarket = Object.entries(this.markets).filter(item => {\n const typesOfFallback = ['.' + item[1].fallbackLanguage, item[1].fallbackLanguage + '.', '/' + item[1].fallbackLanguage + '/']; // Ex /dk, dk.html, /dk/\n const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);\n return matchedTypeOfFallback.length > 0;\n })[0];\n if (filteredMarket && filteredMarket[0]) {\n this.market = filteredMarket[0];\n }\n }\n }\n\n if (!this.market) {\n console.info('Was unable to detect market, used fallback');\n this.market = this.allowedMarkets[0];\n }\n }\n\n async resolveLanguage() {\n if (this.language) {\n return;\n }\n\n const potentialLanguages = [\n document.querySelector('html[lang]')?.getAttribute('lang'), // Get HTML tag language\n document.querySelector('[http-equiv=\"content-language\"][content]')?.getAttribute('content'), // Obsolute tag but might still be used\n document.querySelector('[property=\"og:locale\"][content]')?.getAttribute('content'), // Get open graph share language\n document.querySelector('[lang]')?.getAttribute('lang'), // Find any tag with a lang attribute\n ];\n potentialLanguages\n .filter(x => x)\n .forEach(language => {\n if (this.allowedLanguages.indexOf(language)) {\n this.language = language;\n return;\n }\n });\n if (!this.language && this.market) {\n this.language = this.markets[this.market].fallbackLanguage;\n }\n }\n}\n\nexport { MarketWebContextService };\n"],"version":3}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m1.4 5.497-.334 5.005a1.069 1.069 0 0 1-2.133 0L10.6 7.497a1.403 1.403 0 1 1 2.8 0M12 18a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3" clip-rule="evenodd"/></svg>';
4
+ const alert_exclamation_circle = icon;
5
+
6
+ exports.alert_exclamation_circle = alert_exclamation_circle;
7
+
8
+ //# sourceMappingURL=alert_exclamation_circle-24f29a5b.js.map
@@ -0,0 +1 @@
1
+ {"file":"alert_exclamation_circle-24f29a5b.js","mappings":";;AAAA,MAAM,IAAI,GAAG,yYAAyY,CAAC;AAC3Y,MAAC,wBAAwB,GAAG;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/alert_exclamation_circle.js"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m1.4 5.497-.334 5.005a1.069 1.069 0 0 1-2.133 0L10.6 7.497a1.403 1.403 0 1 1 2.8 0M12 18a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3\" clip-rule=\"evenodd\"/></svg>';\nexport const alert_exclamation_circle = icon;\nexport const alertExclamationCircle = icon;\n"],"version":3}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ const icon$1 = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M12.707 16.707a1 1 0 0 1-1.414 0l-8-8a1 1 0 0 1 1.414-1.414L12 14.586l7.293-7.293a1 1 0 1 1 1.414 1.414z" clip-rule="evenodd"/></svg>';
4
+ const angle_down = icon$1;
5
+
6
+ const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M11.293 7.293a1 1 0 0 1 1.414 0l8 8a1 1 0 0 1-1.414 1.414L12 9.414l-7.293 7.293a1 1 0 0 1-1.414-1.414z" clip-rule="evenodd"/></svg>';
7
+ const angle_up = icon;
8
+
9
+ exports.angle_down = angle_down;
10
+ exports.angle_up = angle_up;
11
+
12
+ //# sourceMappingURL=angle_up-049ec1d8.js.map
@@ -0,0 +1 @@
1
+ {"file":"angle_up-049ec1d8.js","mappings":";;AAAA,MAAMA,MAAI,GAAG,4QAA4Q,CAAC;AAC9Q,MAAC,UAAU,GAAGA;;ACD1B,MAAM,IAAI,GAAG,0QAA0Q,CAAC;AAC5Q,MAAC,QAAQ,GAAG;;;;;","names":["icon"],"sources":["node_modules/pn-design-assets/pn-assets/icons/angle_down.js","node_modules/pn-design-assets/pn-assets/icons/angle_up.js"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12.707 16.707a1 1 0 0 1-1.414 0l-8-8a1 1 0 0 1 1.414-1.414L12 14.586l7.293-7.293a1 1 0 1 1 1.414 1.414z\" clip-rule=\"evenodd\"/></svg>';\nexport const angle_down = icon;\nexport const angleDown = icon;\n","const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M11.293 7.293a1 1 0 0 1 1.414 0l8 8a1 1 0 0 1-1.414 1.414L12 9.414l-7.293 7.293a1 1 0 0 1-1.414-1.414z\" clip-rule=\"evenodd\"/></svg>';\nexport const angle_up = icon;\nexport const angleUp = icon;\n"],"version":3}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M4.293 4.293a1 1 0 0 1 1.414 0L12 10.586l6.293-6.293a1 1 0 1 1 1.414 1.414L13.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414L12 13.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L10.586 12 4.293 5.707a1 1 0 0 1 0-1.414" clip-rule="evenodd"/></svg>';
4
+ const close = icon;
5
+
6
+ exports.close = close;
7
+
8
+ //# sourceMappingURL=close-9e014a80.js.map
@@ -0,0 +1 @@
1
+ {"file":"close-9e014a80.js","mappings":";;AAAA,MAAM,IAAI,GAAG,+WAA+W,CAAC;AACjX,MAAC,KAAK,GAAG;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/close.js"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 0 1 1.414 0L12 10.586l6.293-6.293a1 1 0 1 1 1.414 1.414L13.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414L12 13.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L10.586 12 4.293 5.707a1 1 0 0 1 0-1.414\" clip-rule=\"evenodd\"/></svg>';\nexport const close = icon;\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-34e1c673.js');
3
+ const index = require('./index-b02670c2.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -195,4 +195,4 @@ const createStore = (defaultState, shouldUpdate) => {
195
195
 
196
196
  exports.createStore = createStore;
197
197
 
198
- //# sourceMappingURL=index-1d8c9211.js.map
198
+ //# sourceMappingURL=index-4067c6a5.js.map
@@ -1 +1 @@
1
- {"file":"index-1d8c9211.js","mappings":";;;;AAEA,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,KAAK;AAC9C,IAAI,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACpC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACnC,KAAK;AACL,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACrC,QAAQ,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC1B,KAAK;AACL,CAAC,CAAC;AACF,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;AAC7B,IAAI,IAAI,SAAS,CAAC;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K,KAAK,KAAK,EAAE,CAAC,CAAC;AACxD,KAAK,CAAC;AACN,IAAI,MAAM,WAAW,GAAG,CAAC,GAAG,KAAK;AACjC,QAAQ,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzC,QAAQ,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AAClE,KAAK,CAAC;AACN,IAAI,OAAO;AACX,QAAQ,KAAK;AACb,QAAQ,GAAG;AACX,QAAQ,GAAG;AACX,QAAQ,EAAE;AACV,QAAQ,QAAQ;AAChB,QAAQ,GAAG;AACX,QAAQ,OAAO;AACf,QAAQ,KAAK;AACb,QAAQ,WAAW;AACnB,KAAK,CAAC;AACN,CAAC,CAAC;AACF,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AACzC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACtC,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC/C,QAAQ,KAAK,CAAC,MAAM,EAAE,CAAC;AACvB,KAAK;AACL,CAAC,CAAC;AACF;AACK,MAAC,WAAW,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK;AACpD,IAAI,MAAM,GAAG,GAAG,mBAAmB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAChE,IAAI,GAAG,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC,CAAC;AACnC,IAAI,OAAO,GAAG,CAAC;AACf;;;;","names":["getRenderingRef","forceUpdate"],"sources":["node_modules/@stencil/store/dist/index.mjs"],"sourcesContent":["import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n const reset = () => {\n var _a;\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const unSet = on('set', (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n });\n // We need to unwrap the defaultState because it might be a function.\n // Otherwise we might not be sending the right reset value.\n const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));\n return () => {\n unSet();\n unReset();\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n"],"version":3}
1
+ {"file":"index-4067c6a5.js","mappings":";;;;AAEA,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,KAAK;AAC9C,IAAI,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACpC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACnC,KAAK;AACL,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AACrC,QAAQ,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC1B,KAAK;AACL,CAAC,CAAC;AACF,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;AAC7B,IAAI,IAAI,SAAS,CAAC;AAClB,IAAI,OAAO,CAAC,GAAG,IAAI,KAAK;AACxB,QAAQ,IAAI,SAAS,EAAE;AACvB,YAAY,YAAY,CAAC,SAAS,CAAC,CAAC;AACpC,SAAS;AACT,QAAQ,SAAS,GAAG,UAAU,CAAC,MAAM;AACrC,YAAY,SAAS,GAAG,CAAC,CAAC;AAC1B,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;AACxB,SAAS,EAAE,EAAE,CAAC,CAAC;AACf,KAAK,CAAC;AACN,CAAC,CAAC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,GAAG,CAAC,YAAY,KAAK,EAAE,aAAa,IAAI,YAAY,CAAC,IAAI,YAAY,CAAC,WAAW,CAAC;AACnG,MAAM,eAAe,GAAG,QAAQ,CAAC,CAAC,GAAG,KAAK;A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,CAAC;AACF,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AACzC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACtC,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC/C,QAAQ,KAAK,CAAC,MAAM,EAAE,CAAC;AACvB,KAAK;AACL,CAAC,CAAC;AACF;AACK,MAAC,WAAW,GAAG,CAAC,YAAY,EAAE,YAAY,KAAK;AACpD,IAAI,MAAM,GAAG,GAAG,mBAAmB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAChE,IAAI,GAAG,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC,CAAC;AACnC,IAAI,OAAO,GAAG,CAAC;AACf;;;;","names":["getRenderingRef","forceUpdate"],"sources":["node_modules/@stencil/store/dist/index.mjs"],"sourcesContent":["import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n const reset = () => {\n var _a;\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const unSet = on('set', (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n });\n // We need to unwrap the defaultState because it might be a function.\n // Otherwise we might not be sending the right reset value.\n const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));\n return () => {\n unSet();\n unReset();\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n"],"version":3}
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'pn-market-web-components';
24
- const BUILD = /* pn-market-web-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
24
+ const BUILD = /* pn-market-web-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
@@ -41,6 +41,9 @@ var registerHost = (hostElement, cmpMeta) => {
41
41
  $cmpMeta$: cmpMeta,
42
42
  $instanceValues$: /* @__PURE__ */ new Map()
43
43
  };
44
+ {
45
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
46
+ }
44
47
  {
45
48
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
46
49
  hostElement["s-p"] = [];
@@ -103,6 +106,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
103
106
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
104
107
  /* webpackMode: "lazy" */
105
108
  './pn-charts-card.cjs.entry.js')); }).then(processMod, consoleError);
109
+ case 'pn-chat.cjs':
110
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
111
+ /* webpackMode: "lazy" */
112
+ './pn-chat.cjs.entry.js')); }).then(processMod, consoleError);
106
113
  case 'pn-cta-block.cjs':
107
114
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
108
115
  /* webpackMode: "lazy" */
@@ -139,6 +146,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
139
146
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
140
147
  /* webpackMode: "lazy" */
141
148
  './pn-hero-block-international.cjs.entry.js')); }).then(processMod, consoleError);
149
+ case 'pn-level-up.cjs':
150
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
151
+ /* webpackMode: "lazy" */
152
+ './pn-level-up.cjs.entry.js')); }).then(processMod, consoleError);
142
153
  case 'pn-line-shape.cjs':
143
154
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
144
155
  /* webpackMode: "lazy" */
@@ -163,6 +174,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
163
174
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
164
175
  /* webpackMode: "lazy" */
165
176
  './pn-marketweb-siteheader.cjs.entry.js')); }).then(processMod, consoleError);
177
+ case 'pn-marketweb-siteheader-login-mypage-button.cjs':
178
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
179
+ /* webpackMode: "lazy" */
180
+ './pn-marketweb-siteheader-login-mypage-button.cjs.entry.js')); }).then(processMod, consoleError);
181
+ case 'pn-marketweb-table.cjs':
182
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
183
+ /* webpackMode: "lazy" */
184
+ './pn-marketweb-table.cjs.entry.js')); }).then(processMod, consoleError);
166
185
  case 'pn-media-block.cjs':
167
186
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
168
187
  /* webpackMode: "lazy" */
@@ -271,6 +290,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
271
290
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
272
291
  /* webpackMode: "lazy" */
273
292
  './pn-usp-promoter.cjs.entry.js')); }).then(processMod, consoleError);
293
+ case 'pn-chat-message_2.cjs':
294
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
295
+ /* webpackMode: "lazy" */
296
+ './pn-chat-message_2.cjs.entry.js')); }).then(processMod, consoleError);
274
297
  case 'pn-dropdown-with-multi-input-rows-row.cjs':
275
298
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
276
299
  /* webpackMode: "lazy" */
@@ -283,6 +306,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
283
306
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
284
307
  /* webpackMode: "lazy" */
285
308
  './pn-language-selector_9.cjs.entry.js')); }).then(processMod, consoleError);
309
+ case 'pn-level-up-modal.cjs':
310
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
311
+ /* webpackMode: "lazy" */
312
+ './pn-level-up-modal.cjs.entry.js')); }).then(processMod, consoleError);
286
313
  case 'pn-multi-row-connected-dropdown-row.cjs':
287
314
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
288
315
  /* webpackMode: "lazy" */
@@ -319,14 +346,18 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
319
346
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
320
347
  /* webpackMode: "lazy" */
321
348
  './pn-mainnav-link.cjs.entry.js')); }).then(processMod, consoleError);
322
- case 'pn-marketweb-siteheader-login-button_5.cjs':
349
+ case 'pn-marketweb-siteheader-login-button_4.cjs':
323
350
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
324
351
  /* webpackMode: "lazy" */
325
- './pn-marketweb-siteheader-login-button_5.cjs.entry.js')); }).then(processMod, consoleError);
352
+ './pn-marketweb-siteheader-login-button_4.cjs.entry.js')); }).then(processMod, consoleError);
326
353
  case 'pn-product-tile-info_2.cjs':
327
354
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
328
355
  /* webpackMode: "lazy" */
329
356
  './pn-product-tile-info_2.cjs.entry.js')); }).then(processMod, consoleError);
357
+ case 'pn-qr-code-generator.cjs':
358
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
359
+ /* webpackMode: "lazy" */
360
+ './pn-qr-code-generator.cjs.entry.js')); }).then(processMod, consoleError);
330
361
  case 'pn-scroll_2.cjs':
331
362
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
332
363
  /* webpackMode: "lazy" */
@@ -1540,6 +1571,9 @@ var postUpdateComponent = (hostRef) => {
1540
1571
  }
1541
1572
  endPostUpdate();
1542
1573
  }
1574
+ {
1575
+ hostRef.$onInstanceResolve$(elm);
1576
+ }
1543
1577
  {
1544
1578
  if (hostRef.$onRenderResolve$) {
1545
1579
  hostRef.$onRenderResolve$();
@@ -1641,6 +1675,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1641
1675
  configurable: true,
1642
1676
  enumerable: true
1643
1677
  });
1678
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1679
+ Object.defineProperty(prototype, memberName, {
1680
+ value(...args) {
1681
+ var _a2;
1682
+ const ref = getHostRef(this);
1683
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1684
+ var _a3;
1685
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1686
+ });
1687
+ }
1688
+ });
1644
1689
  }
1645
1690
  });
1646
1691
  if ((flags & 1 /* isElementConstructor */)) {
@@ -2043,6 +2088,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2043
2088
  }
2044
2089
  endBootstrap();
2045
2090
  };
2091
+
2092
+ // src/runtime/fragment.ts
2093
+ var Fragment = (_, children) => children;
2046
2094
  var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2047
2095
  if (listeners) {
2048
2096
  listeners.map(([flags, name, method]) => {
@@ -2080,6 +2128,7 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2080
2128
  // src/runtime/nonce.ts
2081
2129
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2082
2130
 
2131
+ exports.Fragment = Fragment;
2083
2132
  exports.H = H;
2084
2133
  exports.Host = Host;
2085
2134
  exports.bootstrapLazy = bootstrapLazy;
@@ -2093,4 +2142,4 @@ exports.registerInstance = registerInstance;
2093
2142
  exports.setAssetPath = setAssetPath;
2094
2143
  exports.setNonce = setNonce;
2095
2144
 
2096
- //# sourceMappingURL=index-34e1c673.js.map
2145
+ //# sourceMappingURL=index-b02670c2.js.map