@postnord/pn-marketweb-components 4.3.1 → 4.3.3

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 (350) hide show
  1. package/cjs/pn-app-banner.cjs.entry.js +1 -1
  2. package/cjs/pn-breakpoints.cjs.entry.js +1 -1
  3. package/cjs/pn-chat-message_2.cjs.entry.js +2 -2
  4. package/cjs/pn-chat.cjs.entry.js +2 -2
  5. package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
  6. package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
  7. package/cjs/pn-find-price-result.cjs.entry.js +1 -1
  8. package/cjs/pn-find-price.cjs.entry.js +2 -2
  9. package/cjs/pn-find-service-and-price-result.cjs.entry.js +1 -1
  10. package/cjs/pn-find-service-and-price.cjs.entry.js +1 -1
  11. package/cjs/pn-hero-block-international.cjs.entry.js +1 -1
  12. package/cjs/pn-language-selector_13.cjs.entry.js +11 -11
  13. package/cjs/pn-language-selector_13.cjs.entry.js.map +1 -1
  14. package/cjs/pn-level-up-modal.cjs.entry.js +1 -1
  15. package/cjs/pn-level-up.cjs.entry.js +2 -2
  16. package/cjs/pn-link-list.cjs.entry.js +1 -1
  17. package/cjs/pn-marketweb-header-main-row_2.cjs.entry.js +8 -8
  18. package/cjs/pn-marketweb-header-main-row_2.cjs.entry.js.map +1 -1
  19. package/cjs/pn-marketweb-header-skeleton-loader.cjs.entry.js +1 -1
  20. package/cjs/pn-marketweb-header.cjs.entry.js +1 -1
  21. package/cjs/pn-marketweb-header.cjs.entry.js.map +1 -1
  22. package/cjs/pn-marketweb-icon.cjs.entry.js +1 -1
  23. package/cjs/pn-marketweb-siteheader-login-button_2.cjs.entry.js +1 -1
  24. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +1 -1
  25. package/cjs/pn-marketweb-siteheader.cjs.entry.js +4 -4
  26. package/cjs/pn-marketweb-table.cjs.entry.js +1 -1
  27. package/cjs/pn-media-block.cjs.entry.js +1 -1
  28. package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
  29. package/cjs/pn-product-card_3.cjs.entry.js +1 -1
  30. package/cjs/pn-product-pricelist-result.cjs.entry.js +1 -1
  31. package/cjs/pn-product-pricelist.cjs.entry.js +2 -2
  32. package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
  33. package/cjs/pn-product-tile.cjs.entry.js +1 -1
  34. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
  35. package/cjs/pn-profile-modal-profile.cjs.entry.js +2 -2
  36. package/cjs/pn-profile-modal-type.cjs.entry.js +1 -1
  37. package/cjs/pn-profile-modal.cjs.entry.js +1 -1
  38. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  39. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  40. package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
  41. package/cjs/pn-proxio-findprice.cjs.entry.js +3 -3
  42. package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
  43. package/cjs/pn-proxio-productcard_4.cjs.entry.js +3 -3
  44. package/cjs/pn-qr-code-generator.cjs.entry.js +1 -1
  45. package/cjs/pn-sidenav-level.cjs.entry.js +1 -1
  46. package/cjs/pn-sidenav-link.cjs.entry.js +1 -1
  47. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +1 -1
  48. package/cjs/pn-sidenav.cjs.entry.js +1 -1
  49. package/cjs/pn-site-footer_3.cjs.entry.js +3 -3
  50. package/cjs/pn-titletag.cjs.entry.js +1 -1
  51. package/cjs/pn-usp-promoter.cjs.entry.js +1 -1
  52. package/cjs/pn-versa-card.cjs.entry.js +1 -1
  53. package/cjs/pn-versa-card.cjs.entry.js.map +1 -1
  54. package/collection/components/cards/pn-versa-card/pn-versa-card.css +17 -4
  55. package/collection/components/cards/pn-versa-card/pn-versa-card.stories.js +5 -4
  56. package/collection/components/cards/pn-versa-card/pn-versa-card.stories.js.map +1 -1
  57. package/collection/components/layout-components/pn-marketweb-header/components/pn-marketweb-header-main-row.css +18 -0
  58. package/collection/components/layout-components/pn-marketweb-header/components/pn-marketweb-header-main-row.js +4 -4
  59. package/collection/components/layout-components/pn-marketweb-header/components/pn-marketweb-header-main-row.js.map +1 -1
  60. package/collection/components/layout-components/pn-marketweb-header/components/pn-marketweb-header-skeleton-loader.js +1 -1
  61. package/collection/components/layout-components/pn-marketweb-header/components/pn-marketweb-header-top-row.js +3 -3
  62. package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header.js +1 -1
  63. package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header.js.map +1 -1
  64. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +1 -1
  65. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +1 -1
  66. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -1
  67. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -1
  68. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  69. package/collection/components/media/pn-media-block/pn-media-block.js +1 -1
  70. package/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  71. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  72. package/collection/components/minor/pn-swan/pn-swan.js +1 -1
  73. package/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  74. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  75. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  76. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  77. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  78. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  79. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  80. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  81. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  82. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  83. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  84. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  85. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  86. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  87. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  88. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  89. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  90. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  91. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  92. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  93. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  94. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  95. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  96. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  97. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +1 -1
  98. package/collection/components/widgets/pn-chat/pn-chat.js +2 -2
  99. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  100. package/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  101. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  102. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  103. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  104. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +1 -1
  105. package/collection/components/widgets/pn-level-up/pn-level-up.js +2 -2
  106. package/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  107. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +1 -1
  108. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +1 -1
  109. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  110. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  111. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  112. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  113. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  114. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  115. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  116. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  117. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  118. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  119. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  120. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  121. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +1 -1
  122. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  123. package/components/pn-app-banner.js +1 -1
  124. package/components/pn-breakpoints.js +1 -1
  125. package/components/pn-chat-message2.js +1 -1
  126. package/components/pn-chat.js +2 -2
  127. package/components/pn-customernumber-selector-option.js +1 -1
  128. package/components/pn-customernumber-selector.js +1 -1
  129. package/components/pn-find-price-result2.js +1 -1
  130. package/components/pn-find-price.js +2 -2
  131. package/components/pn-find-service-and-price-result2.js +1 -1
  132. package/components/pn-find-service-and-price.js +1 -1
  133. package/components/pn-hero-block-international.js +1 -1
  134. package/components/pn-language-selector-option2.js +1 -1
  135. package/components/pn-language-selector2.js +1 -1
  136. package/components/pn-level-up-modal2.js +1 -1
  137. package/components/pn-level-up.js +2 -2
  138. package/components/pn-link-list.js +1 -1
  139. package/components/pn-mainnav-level2.js +2 -2
  140. package/components/pn-mainnav-link2.js +1 -1
  141. package/components/pn-mainnav-list2.js +1 -1
  142. package/components/pn-mainnav2.js +1 -1
  143. package/components/pn-marketweb-carousel2.js +1 -1
  144. package/components/pn-marketweb-header-main-row2.js +5 -5
  145. package/components/pn-marketweb-header-main-row2.js.map +1 -1
  146. package/components/pn-marketweb-header-skeleton-loader.js +1 -1
  147. package/components/pn-marketweb-header-top-row2.js +3 -3
  148. package/components/pn-marketweb-header.js +1 -1
  149. package/components/pn-marketweb-header.js.map +1 -1
  150. package/components/pn-marketweb-icon.js +1 -1
  151. package/components/pn-marketweb-siteheader-login-button2.js +1 -1
  152. package/components/pn-marketweb-siteheader-login-mypage-button.js +1 -1
  153. package/components/pn-marketweb-siteheader-login2.js +1 -1
  154. package/components/pn-marketweb-siteheader-login2.js.map +1 -1
  155. package/components/pn-marketweb-siteheader-unified-login2.js +1 -1
  156. package/components/pn-marketweb-siteheader.js +4 -4
  157. package/components/pn-marketweb-table.js +1 -1
  158. package/components/pn-media-block.js +1 -1
  159. package/components/pn-pex-pricefinder.js +1 -1
  160. package/components/pn-product-card2.js +1 -1
  161. package/components/pn-product-pricelist-result.js +1 -1
  162. package/components/pn-product-pricelist.js +2 -2
  163. package/components/pn-product-tile-info2.js +1 -1
  164. package/components/pn-product-tile.js +1 -1
  165. package/components/pn-profile-modal-customernumber.js +1 -1
  166. package/components/pn-profile-modal-profile.js +2 -2
  167. package/components/pn-profile-modal-type.js +1 -1
  168. package/components/pn-profile-modal.js +1 -1
  169. package/components/pn-profile-selector-option.js +1 -1
  170. package/components/pn-profile-selector.js +1 -1
  171. package/components/pn-proxio-findprice-result2.js +1 -1
  172. package/components/pn-proxio-findprice.js +3 -3
  173. package/components/pn-proxio-pricegroup.js +1 -1
  174. package/components/pn-proxio-productcard-description2.js +1 -1
  175. package/components/pn-proxio-productcard-information2.js +1 -1
  176. package/components/pn-proxio-productcard2.js +1 -1
  177. package/components/pn-qr-code-generator2.js +1 -1
  178. package/components/pn-sidenav-level.js +1 -1
  179. package/components/pn-sidenav-link.js +1 -1
  180. package/components/pn-sidenav-togglebutton.js +1 -1
  181. package/components/pn-sidenav.js +1 -1
  182. package/components/pn-site-footer-col2.js +1 -1
  183. package/components/pn-site-footer2.js +1 -1
  184. package/components/pn-site-selector-item2.js +1 -1
  185. package/components/pn-site-selector2.js +1 -1
  186. package/components/pn-swan2.js +1 -1
  187. package/components/pn-titletag2.js +1 -1
  188. package/components/pn-usp-promoter.js +1 -1
  189. package/components/pn-versa-card.js +1 -1
  190. package/components/pn-versa-card.js.map +1 -1
  191. package/esm/pn-app-banner.entry.js +1 -1
  192. package/esm/pn-breakpoints.entry.js +1 -1
  193. package/esm/pn-chat-message_2.entry.js +2 -2
  194. package/esm/pn-chat.entry.js +2 -2
  195. package/esm/pn-customernumber-selector-option.entry.js +1 -1
  196. package/esm/pn-customernumber-selector.entry.js +1 -1
  197. package/esm/pn-find-price-result.entry.js +1 -1
  198. package/esm/pn-find-price.entry.js +2 -2
  199. package/esm/pn-find-service-and-price-result.entry.js +1 -1
  200. package/esm/pn-find-service-and-price.entry.js +1 -1
  201. package/esm/pn-hero-block-international.entry.js +1 -1
  202. package/esm/pn-language-selector_13.entry.js +11 -11
  203. package/esm/pn-language-selector_13.entry.js.map +1 -1
  204. package/esm/pn-level-up-modal.entry.js +1 -1
  205. package/esm/pn-level-up.entry.js +2 -2
  206. package/esm/pn-link-list.entry.js +1 -1
  207. package/esm/pn-marketweb-header-main-row_2.entry.js +8 -8
  208. package/esm/pn-marketweb-header-main-row_2.entry.js.map +1 -1
  209. package/esm/pn-marketweb-header-skeleton-loader.entry.js +1 -1
  210. package/esm/pn-marketweb-header.entry.js +1 -1
  211. package/esm/pn-marketweb-header.entry.js.map +1 -1
  212. package/esm/pn-marketweb-icon.entry.js +1 -1
  213. package/esm/pn-marketweb-siteheader-login-button_2.entry.js +1 -1
  214. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +1 -1
  215. package/esm/pn-marketweb-siteheader.entry.js +4 -4
  216. package/esm/pn-marketweb-table.entry.js +1 -1
  217. package/esm/pn-media-block.entry.js +1 -1
  218. package/esm/pn-pex-pricefinder.entry.js +1 -1
  219. package/esm/pn-product-card_3.entry.js +1 -1
  220. package/esm/pn-product-pricelist-result.entry.js +1 -1
  221. package/esm/pn-product-pricelist.entry.js +2 -2
  222. package/esm/pn-product-tile-info_2.entry.js +1 -1
  223. package/esm/pn-product-tile.entry.js +1 -1
  224. package/esm/pn-profile-modal-customernumber.entry.js +1 -1
  225. package/esm/pn-profile-modal-profile.entry.js +2 -2
  226. package/esm/pn-profile-modal-type.entry.js +1 -1
  227. package/esm/pn-profile-modal.entry.js +1 -1
  228. package/esm/pn-profile-selector-option.entry.js +1 -1
  229. package/esm/pn-profile-selector.entry.js +1 -1
  230. package/esm/pn-proxio-findprice-result.entry.js +1 -1
  231. package/esm/pn-proxio-findprice.entry.js +3 -3
  232. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  233. package/esm/pn-proxio-productcard_4.entry.js +3 -3
  234. package/esm/pn-qr-code-generator.entry.js +1 -1
  235. package/esm/pn-sidenav-level.entry.js +1 -1
  236. package/esm/pn-sidenav-link.entry.js +1 -1
  237. package/esm/pn-sidenav-togglebutton.entry.js +1 -1
  238. package/esm/pn-sidenav.entry.js +1 -1
  239. package/esm/pn-site-footer_3.entry.js +3 -3
  240. package/esm/pn-titletag.entry.js +1 -1
  241. package/esm/pn-usp-promoter.entry.js +1 -1
  242. package/esm/pn-versa-card.entry.js +1 -1
  243. package/esm/pn-versa-card.entry.js.map +1 -1
  244. package/package.json +1 -1
  245. package/pn-market-web-components/{p-92b6477c.entry.js → p-00c968ba.entry.js} +2 -2
  246. package/pn-market-web-components/{p-1a91c313.entry.js → p-0491f6bb.entry.js} +2 -2
  247. package/pn-market-web-components/p-07158b3d.entry.js +2 -0
  248. package/pn-market-web-components/{p-b318ff19.entry.js.map → p-07158b3d.entry.js.map} +1 -1
  249. package/pn-market-web-components/{p-a6935dc2.entry.js → p-0b0232d5.entry.js} +2 -2
  250. package/pn-market-web-components/{p-5a51d0b0.entry.js → p-0b0743cb.entry.js} +2 -2
  251. package/pn-market-web-components/p-0cd2c894.entry.js +2 -0
  252. package/pn-market-web-components/{p-1f8304be.entry.js → p-1adedb55.entry.js} +2 -2
  253. package/pn-market-web-components/p-1d89782c.entry.js +2 -0
  254. package/pn-market-web-components/p-1d89782c.entry.js.map +1 -0
  255. package/pn-market-web-components/{p-4fcce83d.entry.js → p-3ae30aed.entry.js} +2 -2
  256. package/pn-market-web-components/{p-a3beee11.entry.js → p-3eac7820.entry.js} +2 -2
  257. package/pn-market-web-components/{p-ba680948.entry.js → p-413afe7c.entry.js} +2 -2
  258. package/pn-market-web-components/{p-81210644.entry.js → p-46581fa4.entry.js} +2 -2
  259. package/pn-market-web-components/{p-756d8d95.entry.js → p-48e4ce2a.entry.js} +2 -2
  260. package/pn-market-web-components/{p-756d8d95.entry.js.map → p-48e4ce2a.entry.js.map} +1 -1
  261. package/pn-market-web-components/{p-4dac1980.entry.js → p-5353fd9e.entry.js} +2 -2
  262. package/pn-market-web-components/{p-3d27faee.entry.js → p-5b3a9382.entry.js} +2 -2
  263. package/pn-market-web-components/{p-fcefe4a4.entry.js → p-5e6709ff.entry.js} +2 -2
  264. package/pn-market-web-components/{p-70a71854.entry.js → p-6eadf171.entry.js} +2 -2
  265. package/pn-market-web-components/{p-3e25f431.entry.js → p-79c8e9ff.entry.js} +2 -2
  266. package/pn-market-web-components/{p-c38707f9.entry.js → p-7ccca19f.entry.js} +2 -2
  267. package/pn-market-web-components/{p-61346425.entry.js → p-82514477.entry.js} +2 -2
  268. package/pn-market-web-components/{p-c89cdd5a.entry.js → p-86b3c2df.entry.js} +2 -2
  269. package/pn-market-web-components/{p-466958a8.entry.js → p-8aa1c63e.entry.js} +2 -2
  270. package/pn-market-web-components/{p-03728b0b.entry.js → p-8c48b8ac.entry.js} +2 -2
  271. package/pn-market-web-components/p-8e129406.entry.js +2 -0
  272. package/pn-market-web-components/{p-e8cd1608.entry.js.map → p-8e129406.entry.js.map} +1 -1
  273. package/pn-market-web-components/{p-8c26c1f2.entry.js → p-919fb7b8.entry.js} +2 -2
  274. package/pn-market-web-components/{p-3aa74418.entry.js → p-96da6528.entry.js} +2 -2
  275. package/pn-market-web-components/{p-a6dd3e4f.entry.js → p-a1bc7932.entry.js} +2 -2
  276. package/pn-market-web-components/{p-ba14b0ef.entry.js → p-a63540af.entry.js} +2 -2
  277. package/pn-market-web-components/{p-ba75bfdb.entry.js → p-acc1acbc.entry.js} +2 -2
  278. package/pn-market-web-components/{p-43748ca2.entry.js → p-b1711fab.entry.js} +2 -2
  279. package/pn-market-web-components/{p-8519e39e.entry.js → p-b5f781c4.entry.js} +2 -2
  280. package/pn-market-web-components/{p-c186ec41.entry.js → p-be57debf.entry.js} +2 -2
  281. package/pn-market-web-components/{p-6b557670.entry.js → p-c4059cc1.entry.js} +2 -2
  282. package/pn-market-web-components/{p-f23ed5d2.entry.js → p-c668f68a.entry.js} +2 -2
  283. package/pn-market-web-components/{p-f23ed5d2.entry.js.map → p-c668f68a.entry.js.map} +1 -1
  284. package/pn-market-web-components/{p-9eab8192.entry.js → p-c933406d.entry.js} +2 -2
  285. package/pn-market-web-components/{p-76fb0c21.entry.js → p-c95b7308.entry.js} +2 -2
  286. package/pn-market-web-components/{p-af89c95a.entry.js → p-d184c299.entry.js} +2 -2
  287. package/pn-market-web-components/{p-191c8cfc.entry.js → p-d29b1d57.entry.js} +2 -2
  288. package/pn-market-web-components/{p-f3b4c13d.entry.js → p-d33e5503.entry.js} +2 -2
  289. package/pn-market-web-components/{p-4ab53d5d.entry.js → p-d4f32cb5.entry.js} +2 -2
  290. package/pn-market-web-components/{p-fded22b7.entry.js → p-da4863ad.entry.js} +2 -2
  291. package/pn-market-web-components/{p-ef090656.entry.js → p-dd4e1d37.entry.js} +2 -2
  292. package/pn-market-web-components/{p-067c1c2f.entry.js → p-df43dcae.entry.js} +2 -2
  293. package/pn-market-web-components/p-e38d2c25.entry.js +2 -0
  294. package/pn-market-web-components/p-e38d2c25.entry.js.map +1 -0
  295. package/pn-market-web-components/{p-8382794b.entry.js → p-eb58c73d.entry.js} +2 -2
  296. package/pn-market-web-components/{p-42da7c5f.entry.js → p-f7baf58a.entry.js} +2 -2
  297. package/pn-market-web-components/{p-f710445f.entry.js → p-f8ccc718.entry.js} +2 -2
  298. package/pn-market-web-components/{p-4d595345.entry.js → p-fa836cbd.entry.js} +2 -2
  299. package/pn-market-web-components/{p-ff6118f8.entry.js → p-ff39c310.entry.js} +2 -2
  300. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  301. package/pn-market-web-components/p-16570ed2.entry.js +0 -2
  302. package/pn-market-web-components/p-16570ed2.entry.js.map +0 -1
  303. package/pn-market-web-components/p-24ffac0a.entry.js +0 -2
  304. package/pn-market-web-components/p-3239c36b.entry.js +0 -2
  305. package/pn-market-web-components/p-3239c36b.entry.js.map +0 -1
  306. package/pn-market-web-components/p-b318ff19.entry.js +0 -2
  307. package/pn-market-web-components/p-e8cd1608.entry.js +0 -2
  308. /package/pn-market-web-components/{p-92b6477c.entry.js.map → p-00c968ba.entry.js.map} +0 -0
  309. /package/pn-market-web-components/{p-1a91c313.entry.js.map → p-0491f6bb.entry.js.map} +0 -0
  310. /package/pn-market-web-components/{p-a6935dc2.entry.js.map → p-0b0232d5.entry.js.map} +0 -0
  311. /package/pn-market-web-components/{p-5a51d0b0.entry.js.map → p-0b0743cb.entry.js.map} +0 -0
  312. /package/pn-market-web-components/{p-24ffac0a.entry.js.map → p-0cd2c894.entry.js.map} +0 -0
  313. /package/pn-market-web-components/{p-1f8304be.entry.js.map → p-1adedb55.entry.js.map} +0 -0
  314. /package/pn-market-web-components/{p-4fcce83d.entry.js.map → p-3ae30aed.entry.js.map} +0 -0
  315. /package/pn-market-web-components/{p-a3beee11.entry.js.map → p-3eac7820.entry.js.map} +0 -0
  316. /package/pn-market-web-components/{p-ba680948.entry.js.map → p-413afe7c.entry.js.map} +0 -0
  317. /package/pn-market-web-components/{p-81210644.entry.js.map → p-46581fa4.entry.js.map} +0 -0
  318. /package/pn-market-web-components/{p-4dac1980.entry.js.map → p-5353fd9e.entry.js.map} +0 -0
  319. /package/pn-market-web-components/{p-3d27faee.entry.js.map → p-5b3a9382.entry.js.map} +0 -0
  320. /package/pn-market-web-components/{p-fcefe4a4.entry.js.map → p-5e6709ff.entry.js.map} +0 -0
  321. /package/pn-market-web-components/{p-70a71854.entry.js.map → p-6eadf171.entry.js.map} +0 -0
  322. /package/pn-market-web-components/{p-3e25f431.entry.js.map → p-79c8e9ff.entry.js.map} +0 -0
  323. /package/pn-market-web-components/{p-c38707f9.entry.js.map → p-7ccca19f.entry.js.map} +0 -0
  324. /package/pn-market-web-components/{p-61346425.entry.js.map → p-82514477.entry.js.map} +0 -0
  325. /package/pn-market-web-components/{p-c89cdd5a.entry.js.map → p-86b3c2df.entry.js.map} +0 -0
  326. /package/pn-market-web-components/{p-466958a8.entry.js.map → p-8aa1c63e.entry.js.map} +0 -0
  327. /package/pn-market-web-components/{p-03728b0b.entry.js.map → p-8c48b8ac.entry.js.map} +0 -0
  328. /package/pn-market-web-components/{p-8c26c1f2.entry.js.map → p-919fb7b8.entry.js.map} +0 -0
  329. /package/pn-market-web-components/{p-3aa74418.entry.js.map → p-96da6528.entry.js.map} +0 -0
  330. /package/pn-market-web-components/{p-a6dd3e4f.entry.js.map → p-a1bc7932.entry.js.map} +0 -0
  331. /package/pn-market-web-components/{p-ba14b0ef.entry.js.map → p-a63540af.entry.js.map} +0 -0
  332. /package/pn-market-web-components/{p-ba75bfdb.entry.js.map → p-acc1acbc.entry.js.map} +0 -0
  333. /package/pn-market-web-components/{p-43748ca2.entry.js.map → p-b1711fab.entry.js.map} +0 -0
  334. /package/pn-market-web-components/{p-8519e39e.entry.js.map → p-b5f781c4.entry.js.map} +0 -0
  335. /package/pn-market-web-components/{p-c186ec41.entry.js.map → p-be57debf.entry.js.map} +0 -0
  336. /package/pn-market-web-components/{p-6b557670.entry.js.map → p-c4059cc1.entry.js.map} +0 -0
  337. /package/pn-market-web-components/{p-9eab8192.entry.js.map → p-c933406d.entry.js.map} +0 -0
  338. /package/pn-market-web-components/{p-76fb0c21.entry.js.map → p-c95b7308.entry.js.map} +0 -0
  339. /package/pn-market-web-components/{p-af89c95a.entry.js.map → p-d184c299.entry.js.map} +0 -0
  340. /package/pn-market-web-components/{p-191c8cfc.entry.js.map → p-d29b1d57.entry.js.map} +0 -0
  341. /package/pn-market-web-components/{p-f3b4c13d.entry.js.map → p-d33e5503.entry.js.map} +0 -0
  342. /package/pn-market-web-components/{p-4ab53d5d.entry.js.map → p-d4f32cb5.entry.js.map} +0 -0
  343. /package/pn-market-web-components/{p-fded22b7.entry.js.map → p-da4863ad.entry.js.map} +0 -0
  344. /package/pn-market-web-components/{p-ef090656.entry.js.map → p-dd4e1d37.entry.js.map} +0 -0
  345. /package/pn-market-web-components/{p-067c1c2f.entry.js.map → p-df43dcae.entry.js.map} +0 -0
  346. /package/pn-market-web-components/{p-8382794b.entry.js.map → p-eb58c73d.entry.js.map} +0 -0
  347. /package/pn-market-web-components/{p-42da7c5f.entry.js.map → p-f7baf58a.entry.js.map} +0 -0
  348. /package/pn-market-web-components/{p-f710445f.entry.js.map → p-f8ccc718.entry.js.map} +0 -0
  349. /package/pn-market-web-components/{p-4d595345.entry.js.map → p-fa836cbd.entry.js.map} +0 -0
  350. /package/pn-market-web-components/{p-ff6118f8.entry.js.map → p-ff39c310.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,g as t,h as n,d as o}from"./p-b3a13b6a.js";import{s as i}from"./p-ae5756dd.js";import{b as a}from"./p-7e3afa8c.js";import{c as d}from"./p-cfaf2eec.js";import"./p-2132ad75.js";const s="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-sidenav-togglebutton{display:block;width:100%;padding:0.8rem 1.6rem;background:#effbff}@media screen and (min-width: 64em){pn-sidenav-togglebutton{display:none}}";const p=s;const r=class{constructor(t){e(this,t);this.label="";this.i18n={open:"",close:"",navLabel:""}}get hostElement(){return t(this)}onClick(){i.openMenu=!i.openMenu;const e=document.querySelector("body");e.setAttribute("data-siteheader-sidemenuopen",i.openMenu+"")}render(){return n(o,{key:"e39123bb8b589294d9190b083236960502422680"},n("pn-button",{key:"38aefe40e4697812e49c31a2d957e5551e074902",appearance:"light",icon:i.openMenu?d:a,"left-icon":true,small:true,onclick:this.onClick.bind(this),label:this.label},n("slot",{key:"d75dfec55fabbf91058c7df754451392abed85fa"})))}};r.style=p;export{r as pn_sidenav_togglebutton};
2
- //# sourceMappingURL=p-466958a8.entry.js.map
1
+ import{r as e,g as t,h as n,d as o}from"./p-b3a13b6a.js";import{s as i}from"./p-ae5756dd.js";import{b as a}from"./p-7e3afa8c.js";import{c as d}from"./p-cfaf2eec.js";import"./p-2132ad75.js";const s="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-sidenav-togglebutton{display:block;width:100%;padding:0.8rem 1.6rem;background:#effbff}@media screen and (min-width: 64em){pn-sidenav-togglebutton{display:none}}";const p=s;const r=class{constructor(t){e(this,t);this.label="";this.i18n={open:"",close:"",navLabel:""}}get hostElement(){return t(this)}onClick(){i.openMenu=!i.openMenu;const e=document.querySelector("body");e.setAttribute("data-siteheader-sidemenuopen",i.openMenu+"")}render(){return n(o,{key:"444f5c04c57aca3e2881615f1c3236c81bd60486"},n("pn-button",{key:"2f19f74d213b2de945a48ce43dc0673e62ced181",appearance:"light",icon:i.openMenu?d:a,"left-icon":true,small:true,onclick:this.onClick.bind(this),label:this.label},n("slot",{key:"3e0c702be8d037fb0fcb23b6eff3dd78689383e6"})))}};r.style=p;export{r as pn_sidenav_togglebutton};
2
+ //# sourceMappingURL=p-8aa1c63e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,F as a,d as i}from"./p-b3a13b6a.js";import{a as n}from"./p-36b39340.js";import{c as s}from"./p-366fd15a.js";import{m as h}from"./p-b2f2fbb6.js";import{L as r}from"./p-8d78b631.js";import{P as o}from"./p-6bec8d72.js";import"./p-3478f368.js";const l='<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="M21 11.998a1 1 0 0 1-.577.908l-15 7a1 1 0 0 1-1.237-1.487l4.585-6.42-1.46-2.043A1 1 0 1 1 8.94 8.794l1.875 2.625a1 1 0 0 1 0 1.162l-2.788 3.903 9.599-4.48L6.58 6.909a1 1 0 1 1 .838-1.816l13 6a1 1 0 0 1 .581.906M5 4a1 1 0 0 1 1 1v.01a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1" clip-rule="evenodd"/></svg>';const c=l;const d='<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.388 2c5.522 0 10 4.477 10 10s-4.478 10-10 10H2l1.355-4.064-.798-3.987a8.8 8.8 0 0 1-.17-1.717V12c0-5.523 4.478-10 10-10m8 10a8 8 0 0 0-16 0v.232q0 .67.13 1.325l.902 4.507L4.775 20h7.612a8 8 0 0 0 8-8m-12.5-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m6 1.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m3-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3" clip-rule="evenodd"/></svg>';const p=d;const m={sv:{relatedContentAriaLabel:"Relaterat innehåll",chatMinimizedAriaLabel:"Chatten är minimerad",chatOpenedAriaLabel:"Chatten är öppen",minimizeChatAriaLabel:"Minimera chatten",closeChatAriaLabel:"Stäng chatten",openChatAriaLabel:"Öppna chatten",chatControlsAriaLabel:"Chattkontroller",chatMessagesAriaLabel:"Chattmeddelanden",sentMessageAriaLabel:"Meddelande skickat",writeChatMessagePlaceholder:"Skriv ett meddelande...",waitingForAnswerLabel:"Väntar på svar",sendButtonText:"Skicka",loadingText:"Laddar..."},en:{relatedContentAriaLabel:"Related content",chatMinimizedAriaLabel:"Chat is minimized",chatOpenedAriaLabel:"Chat is open",minimizeChatAriaLabel:"Minimize chat",closeChatAriaLabel:"Close chat",openChatAriaLabel:"Open chat",chatControlsAriaLabel:"Chat controls",chatMessagesAriaLabel:"Chat messages",sentMessageAriaLabel:"Message sent",writeChatMessagePlaceholder:"Type a message...",waitingForAnswerLabel:"Waiting for answer",sendButtonText:"Send",loadingText:"Loading..."},da:{relatedContentAriaLabel:"Relateret indhold",chatMinimizedAriaLabel:"Chatten er minimeret",chatOpenedAriaLabel:"Chatten er åben",minimizeChatAriaLabel:"Minimer chatten",closeChatAriaLabel:"Luk chatten",openChatAriaLabel:"Åbn chatten",chatControlsAriaLabel:"Chatkontroller",chatMessagesAriaLabel:"Chatbeskeder",sentMessageAriaLabel:"Besked sendt",writeChatMessagePlaceholder:"Skriv en besked...",waitingForAnswerLabel:"Venter på svar",sendButtonText:"Send",loadingText:"Indlæser..."},no:{relatedContentAriaLabel:"Relatert innhold",chatMinimizedAriaLabel:"Chatten er minimert",chatOpenedAriaLabel:"Chatten er åpen",minimizeChatAriaLabel:"Minimer chatten",closeChatAriaLabel:"Lukk chatten",openChatAriaLabel:"Åpne chatten",chatControlsAriaLabel:"Chatkontroller",chatMessagesAriaLabel:"Chatmeldinger",sentMessageAriaLabel:"Melding sendt",writeChatMessagePlaceholder:"Skriv en melding...",waitingForAnswerLabel:"Venter på svar",sendButtonText:"Send",loadingText:"Laster..."},fi:{relatedContentAriaLabel:"Aiheeseen liittyvä sisältö",chatMinimizedAriaLabel:"Keskustelu on pienennetty",chatOpenedAriaLabel:"Keskustelu on auki",minimizeChatAriaLabel:"Pienennä keskustelu",closeChatAriaLabel:"Sulje keskustelu",openChatAriaLabel:"Avaa keskustelu",chatControlsAriaLabel:"Keskustelun hallinta",chatMessagesAriaLabel:"Keskusteluviestit",sentMessageAriaLabel:"Viesti lähetetty",writeChatMessagePlaceholder:"Kirjoita viesti...",waitingForAnswerLabel:"Odotetaan vastausta",sendButtonText:"Lähetä",loadingText:"Ladataan..."}};const b="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pn-chat{display:flex;flex-direction:column;height:600px;width:400px;max-width:400px;box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 -2px 4px 0 rgba(240, 240, 240, 0.55);border-radius:1.6rem}@media (max-width: 768px){.pn-chat:not(.minimized){position:absolute;height:100dvh;width:100dvw;max-width:100%;top:0;left:0}.pn-chat.minimized{height:70px;border-radius:0.8rem 0.8rem 0 0}}@media (min-width: 768px) and (max-width: 1024px){.pn-chat{max-width:350px}}.pn-chat .chat-header{background-color:#ffffff;padding:0.8rem;padding-left:1.6rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f3f2f2}@media (min-width: 768px){.pn-chat .chat-header{border-radius:1.6rem 1.6rem 0 0}}.pn-chat .chat-header .chat-controls{display:flex}.pn-chat .chat-header pn-button.minimize-btn button.pn-button{padding-bottom:0;margin-right:1rem}.pn-chat .chat-header pn-button.minimize-btn button.pn-button .pn-button-content{align-items:flex-end;position:absolute;bottom:0px}.pn-chat .chat-header #chat-title{margin:0;font-size:1.6rem;font-weight:500;line-height:1;height:100%;align-content:center}.pn-chat .chat-main{display:flex;flex-direction:column;flex-grow:1;overflow-y:auto;gap:1.6rem;padding:1.6rem;padding-bottom:3.2rem;background-color:#ffffff}.pn-chat .chat-main.loading-chat-main{display:flex;justify-content:center;align-items:center}.pn-chat .chat-loading-spinner{background-color:#005d92;width:4.8rem;height:4.8rem;border-radius:4.8rem;display:flex;align-items:center;justify-content:center}.pn-chat .chat-loading-content{color:#2d2013;font-size:1.6rem;font-weight:400}.pn-chat .chat-overview{text-align:center}.pn-chat .chat-messages{display:flex;flex-direction:column;gap:1.6rem;text-align:center}.pn-chat .card-container .slider-wrapper{margin:0}.pn-chat .card-container .slides-container{display:flex;gap:1rem}.pn-chat .card-container .slide:nth-child(even) [data-card]{width:calc(100% - 1rem)}@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.95)}}.pn-chat .chat-footer{background:#ffffff;border-top:1px solid #f3f2f2;border-radius:0 0 1.6rem 1.6rem}.pn-chat .chat-footer .form{display:flex;gap:0.7rem;padding:1rem}.pn-chat .chat-input-container{display:flex;flex-grow:1;justify-content:space-between;gap:0.7rem;background:#f9f8f8;border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input{border:none;background:transparent;width:100%;outline:0.2rem solid transparent;outline-offset:0.2rem;padding-left:1.6rem}.pn-chat .chat-input-container .chat-text-input:focus{border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input:focus-visible{outline-color:#005d92}.pn-chat .chat-input-container .chat-text-input::placeholder{top:2px;position:relative;color:#969087}.pn-chat .chat-input-container .chat-disabled-button{display:flex;width:3.5em;min-height:3em;min-width:0;align-items:center;justify-content:center}.pn-chat.minimized{background:transparent;border:initial;box-shadow:initial;max-width:50px;max-height:50px;min-width:initial;min-height:initial;transform:scale(0.95);cursor:pointer}.pn-chat.minimized .minimize-btn,.pn-chat.minimized .close-btn{position:absolute;top:0;right:0;bottom:0;left:0}.pn-chat.minimized .minimize-btn button,.pn-chat.minimized .close-btn button{display:none}.pn-chat.minimized .chat-main,.pn-chat.minimized .chat-footer{display:none}.pn-chat.closed{display:none}.pn-chat .open-chat-btn .pn-button{width:5.6rem;height:5.6rem}.pn-chat .open-chat-btn .pn-icon svg{width:3.2rem;height:3.2rem}.pn-chat .indicator-icon{padding:0.2rem 0.8rem;margin-right:auto;margin-top:1rem;margin-bottom:2rem;visibility:hidden}.pn-chat .minimize-btn .pn-button pn-icon .pn-icon-svg path,.pn-chat .close-btn .pn-button pn-icon .pn-icon-svg path{fill:#005d92}@media (max-width: 768px){body.chat-open{overflow:hidden}}";const u=b;const f=class{constructor(t){e(this,t);this.endpoint=undefined;this.customerSegment=undefined;this.mainHeading="";this.relatedContentAriaLabel=undefined;this.chatMinimizedAriaLabel=undefined;this.chatOpenedAriaLabel=undefined;this.minimizeChatAriaLabel=undefined;this.closeChatAriaLabel=undefined;this.openChatAriaLabel=undefined;this.chatControlsAriaLabel=undefined;this.chatMessagesAriaLabel=undefined;this.sentMessageAriaLabel=undefined;this.writeChatMessagePlaceholder=undefined;this.waitingForAnswerLabel=undefined;this.sendButtonText=undefined;this.loadingText=undefined;this.carouselSlidesToShow=1;this.messages=undefined;this.language="sv";this.market="se";this.itemId="";this.pnChatId="00000000-0000-0000-0000-000000000000";this.forceOpen=false;this.isLoggedIn=false;this.message="";this.messagesData=undefined;this.isMinimized=true;this.isClosed=false;this.lastMessageId="";this.i18n=undefined}chatId;_defaultChatId="00000000-0000-0000-0000-000000000000";_defaultAlternativeChatId="1";chatLocalStorageKey="sf-chat-state";chatMessagesContainer;chatRef;inputRef;storage=new r;_chatService;_chatSegment="#chat";_forceClose=false;componentWillLoad(){this._forceClose=false;this._chatService=new o(this.endpoint,this.market,this.language);this.messagesData={header:{},messages:[]};let e=this.storage.get(this.chatLocalStorageKey);if(e&&e.isLoggedIn===!this.isLoggedIn){this.storage.remove(this.chatLocalStorageKey)}else if(e&&e.chatId){this.chatId=e?.chatId??this.chatId}this.setTranslations();setInterval((()=>{this.updateChat()}),1500)}setTranslations(){if(this.language&&m[this.language]){this.i18n=m[this.language]}}getTranslation(e){const t=this[e];if(t===undefined||t===null||t===""){return m[this.language]?.[e]??m["en"][e]}return t}async updateChat(){if(this.isMinimized||this.isClosed){return}let e=this.lastMessageId;await this._chatService.fetchMessages(this.chatId,this.messagesData).then((t=>{this.lastMessageId=this._chatService.GetLastMessageId(t?.messages,this.lastMessageId);let a=document.getElementsByClassName("pn-chat-before");let i=Array.from(a);t.messages.forEach((e=>{i.forEach((t=>{if(e.content!=null&&(t.textContent.trim()===e.content.trim()||t.textContent.trim().includes(e.content.trim()))){t.remove()}}));this.renderMessage(e)}));if(e!==this.lastMessageId){this._chatService.updateLastMessageId(this.chatId,this.lastMessageId);this.messagesData=t;t.messages.forEach((e=>{this.renderMessage(e)}))}}))}async setStartValues(){if(this._forceClose){this._forceClose=false;return}if((!this.chatId||this.chatId===this._defaultChatId||this.chatId===this._defaultAlternativeChatId)&&!this.isMinimized){this.chatId=await this._chatService.startChat(this.pnChatId,this.itemId);this.storage.set(this.chatLocalStorageKey,{chatId:this.chatId,isLoggedIn:this.isLoggedIn})}if(this.chatId){this.storage.set(this.chatLocalStorageKey,{chatId:this.chatId,isLoggedIn:this.isLoggedIn});await this.fetchMessages();this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId)}}async fetchMessages(){await this._chatService.fetchMessages(this.chatId,this.messagesData).then((e=>{this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.messagesData=e;let t=document.getElementsByClassName("pn-chat-before");let a=Array.from(t);e.messages.forEach((e=>{a.forEach((t=>{if(t.textContent.trim()===e.content.trim()||t.textContent.trim().includes(e.content.trim())){t.remove()}}));this.renderMessage(e)}));return e}))}async handleSend(){if(!this.message?.trim()){return}let e=this.message;this.message="";this.createBeforeElement(e);let t=await this._chatService.sendMessage(e,this.itemId,this.chatId,this.lastMessageId,"Text");this.lastMessageId=t;this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.announceToScreenReader(this.getTranslation("sentMessageAriaLabel"))}groupMessages(){const e=[];let a=[];const i=()=>{if(a.length>0){const i={slides:a.map((e=>{const t=`\n <pn-chat-message customerSegment=${this.customerSegment} data-card role="article" category=${e.category}>\n <h2 class="card-heading">${e.heading}</h2>\n <p>${e.content}</p>\n ${e.buttons?.map((e=>`\n <pn-button\n href="${e.href}"\n class="${e.class}"\n appearance="${e.appearance}"\n variant="${e.variant}"\n small="${e.small}"\n role="button"\n >\n ${e.content}\n </pn-button>\n `)).join("")||""}\n </pn-chat-message>\n `;return t}))};e.push(t("pn-marketweb-carousel",{class:"card-container",nextButtonLabel:"Next",previousButtonLabel:"Previous",ariaNavigationLabel:this.getTranslation("relatedContentAriaLabel"),slidesToShow:this.carouselSlidesToShow,source:JSON.stringify(i)}));a=[]}};this.messagesData.messages.forEach(((t,n)=>{if(t.category==="Card"){a.push(t);if(n===this.messagesData.messages.length-1||this.messagesData.messages[n+1]?.category!=="Card"){i()}}else{i();e.push(this.renderMessage(t))}}));return e}handleKeyPress=e=>{if(e.key==="Enter"&&this.message.trim()){e.preventDefault();this.handleSend()}};handleSendMessage=e=>{if(this.message.trim()){e.preventDefault();this.handleSend()}};handleButtonKeyDown(e){if(e.key==="Enter"||e.key===" "){e.preventDefault();e.target.click()}}handleKeyDown(e){if(e.key==="Escape"&&this.isMinimized&&!this.isClosed){this.toggleChat()}}handleMessagesChange(e){if(e){this.handleSend()}}handleNewChatId(){this.chatId=this.pnChatId===this._defaultAlternativeChatId?this._defaultChatId:this.pnChatId;this.messagesData.messages=[];this.isMinimized=false;this.setStartValues()}handleSameChatId(){this.isMinimized=false}scrollToBottom(){const e=new MutationObserver(((e,t)=>{const a=document.getElementById("chat-main");if(a){setTimeout((()=>{a.scrollTo({top:a.scrollHeight,behavior:"smooth"})}),500);t.disconnect()}}));e.observe(document.body,{childList:true,subtree:true})}closeChat=()=>{this._forceClose=true;this.storage.remove(this.chatLocalStorageKey);this.chatId=null;this.pnChatId=this._defaultChatId;let e=document.getElementsByTagName("pn-chat")[0];e.setAttribute("item-id","");let t=window.location.href.includes(this._chatSegment);if(t){this.isMinimized=!this.isMinimized;this.announceToScreenReader(this.isMinimized?this.getTranslation("chatMinimizedAriaLabel"):this.getTranslation("chatOpenedAriaLabel"));document.body.classList.toggle("chat-open");window.location.href=window.location.href.split(this._chatSegment)[0]}else{this._forceClose=false;this.toggleChat()}};toggleChat=()=>{this.isMinimized=!this.isMinimized;this.announceToScreenReader(this.isMinimized?this.getTranslation("chatMinimizedAriaLabel"):this.getTranslation("chatOpenedAriaLabel"));document.body.classList.toggle("chat-open");if(!this.isMinimized&&!this.chatId){this.setStartValues()}};announceToScreenReader(e){const t=document.createElement("div");t.setAttribute("role","status");t.setAttribute("aria-live","polite");t.classList.add("sr-only");t.textContent=e;document.body.appendChild(t);setTimeout((()=>t.remove()),1e3)}renderMessage(e){switch(e.category){case"Bot":return this.renderBaseMessage(e);case"Button":return this.renderButtonMessage(e);case"ButtonResponse":return this.renderBaseMessage(e);case"Link":return this.renderLinkMessage(e);case"Card":return this.renderCardMessage(e);case"User":return this.renderBaseMessage(e);case"Agent":return this.renderAgentMessage(e);case"System":return this.renderBaseMessage(e)}}renderBaseMessage(e){return t("pn-chat-message",{customerSegment:this.customerSegment,category:e.category,agentName:"",role:"log","aria-live":"polite"},e.content)}renderAgentMessage(e){return t("pn-chat-message",{customerSegment:this.customerSegment,category:e.category,agentName:e.agentName,role:"log","aria-live":"polite"},e.content)}renderButtonMessage(e){let a={};if(e?.props){try{a=JSON.parse(e.props)}catch(e){console.error("Error parsing button props",e instanceof Error?e.message:"Unknown error");return}}const i=t=>{const i=t.target.closest("button");if(i===null||i?.hasAttribute("disabled")){t.preventDefault();t.stopPropagation();return}if(a["data-action"]==="minimize"){this.toggleChat()}if(a["data-action"]==="choice"){(async()=>{await this.handleSendChoice(a["data-option-choice"],e.content)})();const t=document.querySelectorAll('[data-action="choice"]');t.forEach((e=>{const t=e.querySelector("button");t?.setAttribute("disabled","true")}))}};return t("pn-chat-message",{customerSegment:this.customerSegment,category:e.category},t("pn-button",{class:e.class,role:"button",...a,onClick:i,onKeyDown:e=>this.handleButtonKeyDown(e)},e.content))}createBeforeElement(e){const t=this.chatMessagesContainer;const a=document.createElement("pn-chat-message");a.setAttribute("customerSegment",this.customerSegment);a.setAttribute("category","User");a.classList.add("pn-chat-before");a.textContent=e;t.appendChild(a);this.scrollToBottom();a.scrollIntoView()}async handleSendChoice(e,t){this.createBeforeElement(t);let a=await this._chatService.sendMessage(e,this.itemId,this.chatId,this.lastMessageId,"Choice");this.lastMessageId=a;this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.announceToScreenReader(this.getTranslation("sentMessageAriaLabel"))}renderLinkMessage(e){return t("pn-chat-message",{customerSegment:this.customerSegment,category:e.category},t("a",{href:e.href,role:"link",rel:"noopener noreferrer"},t("span",{class:"content"},e.content),t("pn-icon",{icon:n,color:"blue700","aria-hidden":"true",role:"presentation"})))}renderCardMessage(e){return t("pn-chat-message",{customerSegment:this.customerSegment,category:e.category,"data-card":true,role:"article"},t("h2",{class:"card-heading"},e.heading),t("p",null,e.content),e.buttons&&t("div",{class:"cta"},e.buttons?.map((e=>t("pn-button",{href:e.href,class:e.class,appearance:e.appearance,variant:e.variant,small:e.small,role:"button",onKeyDown:e=>this.handleButtonKeyDown(e)},e.content)))))}render(){const e="chat-main";const n="chat-input";const r=this.messagesData?.header.button;return t(i,{key:"83e45973c72da8db520a2772e21c707057f8ea05",class:this.customerSegment},!this.isClosed&&this.messagesData&&t("div",{key:"bd879e2a4dae3f4e8d6ef1ba1eddf87d11eb027c",class:`pn-chat ${this.isMinimized?"minimized":""} ${this.isClosed?"closed":""}`,ref:e=>this.chatRef=e,role:"region","aria-label":this.mainHeading},!this.isMinimized&&t(a,{key:"031dbbb2210546b96ab3e1e2780147b2ef3ccf8f"},t("header",{key:"cf4b00ebafc4d246c325ebaab7ceed86267f2cf4",class:"chat-header",role:"banner"},t("h1",{key:"016ae1d0bd22835856fef753e8ee2ad6acdcdf9b",id:"chat-title"},this.mainHeading),t("div",{key:"f75f5e771c7ad7d8e07a6d858da5eccc6f4ab78f",class:"chat-controls",role:"toolbar","aria-label":this.getTranslation("chatControlsAriaLabel")},t("pn-button",{key:"99c86d30b29adba316f8a33294d2b29f48a05fea",icon:h,"icon-only":"true",class:"minimize-btn",onClick:this.toggleChat,"aria-expanded":!this.isMinimized,"aria-controls":e,"aria-label":this.getTranslation("minimizeChatAriaLabel"),appearance:"light",tooltip:this.getTranslation("minimizeChatAriaLabel"),small:"true"}),t("pn-button",{key:"d599bdc10e557ac09a71e30c9068d5a75477cf5f",icon:s,"icon-only":"true",class:"close-btn",onClick:this.closeChat,"aria-expanded":!this.isMinimized,"aria-label":this.getTranslation("closeChatAriaLabel"),appearance:"light",tooltip:this.getTranslation("closeChatAriaLabel"),small:"true"}))),(this.messagesData?.messages?.length??0)>0?t("main",{id:e,class:"chat-main",role:"main","aria-labelledby":"chat-title"},this.messagesData.header&&t("div",{class:"chat-overview"},t("div",{class:"body"},this.messagesData.header.body),r&&t("pn-button",{href:r.href,class:r.class,appearance:r.appearance,variant:r.variant,small:r.small,role:"button",onKeyDown:e=>this.handleButtonKeyDown(e)},r.content)),t("div",{ref:e=>this.chatMessagesContainer=e,class:"chat-messages",role:"log","aria-live":"polite","aria-label":this.getTranslation("chatMessagesAriaLabel")},this.groupMessages()),t("pn-icon",{class:"indicator-icon","aria-label":this.getTranslation("waitingForAnswerLabel"),role:"presentation"})):t("main",{id:e,class:"chat-main loading-chat-main",role:"main","aria-labelledby":"chat-title"},t("div",{class:"chat-loading-spinner"},t("pn-spinner",{light:"true",size:"1.5"})),t("span",{class:"chat-loading-content"},this.getTranslation("loadingText"))),t("footer",{key:"8a80e22c49ddc5fd2a3e8c0e6bf4ec19a01a9feb",class:"chat-footer",role:"contentinfo"},t("div",{key:"ca74ace2f94575115e14b324741d71be78483ebe",class:"form",role:"form","aria-labelledby":n},t("label",{key:"f8d85aed60f7817834db48bfb6c9cbc71ee45def",htmlFor:n,class:"sr-only"},this.getTranslation("writeChatMessagePlaceholder")),t("div",{key:"36cfef57c4a0c025cb3867fb9027713b51b68492",class:"chat-input-container"},t("input",{key:"6a1cd7179a1e72a7635f4889576912f54012bdf4",id:n,class:"chat-text-input",ref:e=>this.inputRef=e,type:"text",placeholder:this.getTranslation("writeChatMessagePlaceholder"),value:this.message,onInput:e=>this.message=e.target.value,onKeyPress:this.handleKeyPress,maxLength:3990}),!this.message.trim()?t("div",{class:"chat-disabled-button",role:"button","aria-label":this.getTranslation("sendButtonText"),"aria-disabled":"true",tabIndex:-1},t("pn-icon",{color:"gray400",icon:c})):t("pn-button",{"icon-only":"true",variant:"borderless",appearance:"light",icon:c,onClick:this.handleSendMessage,disabled:!this.message.trim(),"aria-label":this.getTranslation("sendButtonText"),tooltip:this.getTranslation("sendButtonText")}))))),this.isMinimized&&t("pn-button",{key:"ae2cbbbc2e4570985655c27933e5db24368c8b8e",icon:p,"icon-only":"true",class:"open-chat-btn",onClick:this.toggleChat,tooltip:this.getTranslation("openChatAriaLabel"),"aria-label":this.getTranslation("openChatAriaLabel"),"aria-expanded":!this.isMinimized})))}static get watchers(){return{messages:["handleMessagesChange"],pnChatId:["handleNewChatId"],forceOpen:["handleSameChatId"],isMinimized:["scrollToBottom"]}}};f.style=u;export{f as pn_chat};
2
- //# sourceMappingURL=p-03728b0b.entry.js.map
1
+ import{r as t,h as e,F as a,d as i}from"./p-b3a13b6a.js";import{a as n}from"./p-36b39340.js";import{c as s}from"./p-366fd15a.js";import{m as h}from"./p-b2f2fbb6.js";import{L as r}from"./p-8d78b631.js";import{P as o}from"./p-6bec8d72.js";import"./p-3478f368.js";const l='<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="M21 11.998a1 1 0 0 1-.577.908l-15 7a1 1 0 0 1-1.237-1.487l4.585-6.42-1.46-2.043A1 1 0 1 1 8.94 8.794l1.875 2.625a1 1 0 0 1 0 1.162l-2.788 3.903 9.599-4.48L6.58 6.909a1 1 0 1 1 .838-1.816l13 6a1 1 0 0 1 .581.906M5 4a1 1 0 0 1 1 1v.01a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1" clip-rule="evenodd"/></svg>';const c=l;const d='<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.388 2c5.522 0 10 4.477 10 10s-4.478 10-10 10H2l1.355-4.064-.798-3.987a8.8 8.8 0 0 1-.17-1.717V12c0-5.523 4.478-10 10-10m8 10a8 8 0 0 0-16 0v.232q0 .67.13 1.325l.902 4.507L4.775 20h7.612a8 8 0 0 0 8-8m-12.5-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m6 1.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m3-1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3" clip-rule="evenodd"/></svg>';const p=d;const m={sv:{relatedContentAriaLabel:"Relaterat innehåll",chatMinimizedAriaLabel:"Chatten är minimerad",chatOpenedAriaLabel:"Chatten är öppen",minimizeChatAriaLabel:"Minimera chatten",closeChatAriaLabel:"Stäng chatten",openChatAriaLabel:"Öppna chatten",chatControlsAriaLabel:"Chattkontroller",chatMessagesAriaLabel:"Chattmeddelanden",sentMessageAriaLabel:"Meddelande skickat",writeChatMessagePlaceholder:"Skriv ett meddelande...",waitingForAnswerLabel:"Väntar på svar",sendButtonText:"Skicka",loadingText:"Laddar..."},en:{relatedContentAriaLabel:"Related content",chatMinimizedAriaLabel:"Chat is minimized",chatOpenedAriaLabel:"Chat is open",minimizeChatAriaLabel:"Minimize chat",closeChatAriaLabel:"Close chat",openChatAriaLabel:"Open chat",chatControlsAriaLabel:"Chat controls",chatMessagesAriaLabel:"Chat messages",sentMessageAriaLabel:"Message sent",writeChatMessagePlaceholder:"Type a message...",waitingForAnswerLabel:"Waiting for answer",sendButtonText:"Send",loadingText:"Loading..."},da:{relatedContentAriaLabel:"Relateret indhold",chatMinimizedAriaLabel:"Chatten er minimeret",chatOpenedAriaLabel:"Chatten er åben",minimizeChatAriaLabel:"Minimer chatten",closeChatAriaLabel:"Luk chatten",openChatAriaLabel:"Åbn chatten",chatControlsAriaLabel:"Chatkontroller",chatMessagesAriaLabel:"Chatbeskeder",sentMessageAriaLabel:"Besked sendt",writeChatMessagePlaceholder:"Skriv en besked...",waitingForAnswerLabel:"Venter på svar",sendButtonText:"Send",loadingText:"Indlæser..."},no:{relatedContentAriaLabel:"Relatert innhold",chatMinimizedAriaLabel:"Chatten er minimert",chatOpenedAriaLabel:"Chatten er åpen",minimizeChatAriaLabel:"Minimer chatten",closeChatAriaLabel:"Lukk chatten",openChatAriaLabel:"Åpne chatten",chatControlsAriaLabel:"Chatkontroller",chatMessagesAriaLabel:"Chatmeldinger",sentMessageAriaLabel:"Melding sendt",writeChatMessagePlaceholder:"Skriv en melding...",waitingForAnswerLabel:"Venter på svar",sendButtonText:"Send",loadingText:"Laster..."},fi:{relatedContentAriaLabel:"Aiheeseen liittyvä sisältö",chatMinimizedAriaLabel:"Keskustelu on pienennetty",chatOpenedAriaLabel:"Keskustelu on auki",minimizeChatAriaLabel:"Pienennä keskustelu",closeChatAriaLabel:"Sulje keskustelu",openChatAriaLabel:"Avaa keskustelu",chatControlsAriaLabel:"Keskustelun hallinta",chatMessagesAriaLabel:"Keskusteluviestit",sentMessageAriaLabel:"Viesti lähetetty",writeChatMessagePlaceholder:"Kirjoita viesti...",waitingForAnswerLabel:"Odotetaan vastausta",sendButtonText:"Lähetä",loadingText:"Ladataan..."}};const b="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pn-chat{display:flex;flex-direction:column;height:600px;width:400px;max-width:400px;box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 -2px 4px 0 rgba(240, 240, 240, 0.55);border-radius:1.6rem}@media (max-width: 768px){.pn-chat:not(.minimized){position:absolute;height:100dvh;width:100dvw;max-width:100%;top:0;left:0}.pn-chat.minimized{height:70px;border-radius:0.8rem 0.8rem 0 0}}@media (min-width: 768px) and (max-width: 1024px){.pn-chat{max-width:350px}}.pn-chat .chat-header{background-color:#ffffff;padding:0.8rem;padding-left:1.6rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f3f2f2}@media (min-width: 768px){.pn-chat .chat-header{border-radius:1.6rem 1.6rem 0 0}}.pn-chat .chat-header .chat-controls{display:flex}.pn-chat .chat-header pn-button.minimize-btn button.pn-button{padding-bottom:0;margin-right:1rem}.pn-chat .chat-header pn-button.minimize-btn button.pn-button .pn-button-content{align-items:flex-end;position:absolute;bottom:0px}.pn-chat .chat-header #chat-title{margin:0;font-size:1.6rem;font-weight:500;line-height:1;height:100%;align-content:center}.pn-chat .chat-main{display:flex;flex-direction:column;flex-grow:1;overflow-y:auto;gap:1.6rem;padding:1.6rem;padding-bottom:3.2rem;background-color:#ffffff}.pn-chat .chat-main.loading-chat-main{display:flex;justify-content:center;align-items:center}.pn-chat .chat-loading-spinner{background-color:#005d92;width:4.8rem;height:4.8rem;border-radius:4.8rem;display:flex;align-items:center;justify-content:center}.pn-chat .chat-loading-content{color:#2d2013;font-size:1.6rem;font-weight:400}.pn-chat .chat-overview{text-align:center}.pn-chat .chat-messages{display:flex;flex-direction:column;gap:1.6rem;text-align:center}.pn-chat .card-container .slider-wrapper{margin:0}.pn-chat .card-container .slides-container{display:flex;gap:1rem}.pn-chat .card-container .slide:nth-child(even) [data-card]{width:calc(100% - 1rem)}@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.95)}}.pn-chat .chat-footer{background:#ffffff;border-top:1px solid #f3f2f2;border-radius:0 0 1.6rem 1.6rem}.pn-chat .chat-footer .form{display:flex;gap:0.7rem;padding:1rem}.pn-chat .chat-input-container{display:flex;flex-grow:1;justify-content:space-between;gap:0.7rem;background:#f9f8f8;border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input{border:none;background:transparent;width:100%;outline:0.2rem solid transparent;outline-offset:0.2rem;padding-left:1.6rem}.pn-chat .chat-input-container .chat-text-input:focus{border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input:focus-visible{outline-color:#005d92}.pn-chat .chat-input-container .chat-text-input::placeholder{top:2px;position:relative;color:#969087}.pn-chat .chat-input-container .chat-disabled-button{display:flex;width:3.5em;min-height:3em;min-width:0;align-items:center;justify-content:center}.pn-chat.minimized{background:transparent;border:initial;box-shadow:initial;max-width:50px;max-height:50px;min-width:initial;min-height:initial;transform:scale(0.95);cursor:pointer}.pn-chat.minimized .minimize-btn,.pn-chat.minimized .close-btn{position:absolute;top:0;right:0;bottom:0;left:0}.pn-chat.minimized .minimize-btn button,.pn-chat.minimized .close-btn button{display:none}.pn-chat.minimized .chat-main,.pn-chat.minimized .chat-footer{display:none}.pn-chat.closed{display:none}.pn-chat .open-chat-btn .pn-button{width:5.6rem;height:5.6rem}.pn-chat .open-chat-btn .pn-icon svg{width:3.2rem;height:3.2rem}.pn-chat .indicator-icon{padding:0.2rem 0.8rem;margin-right:auto;margin-top:1rem;margin-bottom:2rem;visibility:hidden}.pn-chat .minimize-btn .pn-button pn-icon .pn-icon-svg path,.pn-chat .close-btn .pn-button pn-icon .pn-icon-svg path{fill:#005d92}@media (max-width: 768px){body.chat-open{overflow:hidden}}";const u=b;const f=class{constructor(e){t(this,e);this.endpoint=undefined;this.customerSegment=undefined;this.mainHeading="";this.relatedContentAriaLabel=undefined;this.chatMinimizedAriaLabel=undefined;this.chatOpenedAriaLabel=undefined;this.minimizeChatAriaLabel=undefined;this.closeChatAriaLabel=undefined;this.openChatAriaLabel=undefined;this.chatControlsAriaLabel=undefined;this.chatMessagesAriaLabel=undefined;this.sentMessageAriaLabel=undefined;this.writeChatMessagePlaceholder=undefined;this.waitingForAnswerLabel=undefined;this.sendButtonText=undefined;this.loadingText=undefined;this.carouselSlidesToShow=1;this.messages=undefined;this.language="sv";this.market="se";this.itemId="";this.pnChatId="00000000-0000-0000-0000-000000000000";this.forceOpen=false;this.isLoggedIn=false;this.message="";this.messagesData=undefined;this.isMinimized=true;this.isClosed=false;this.lastMessageId="";this.i18n=undefined}chatId;_defaultChatId="00000000-0000-0000-0000-000000000000";_defaultAlternativeChatId="1";chatLocalStorageKey="sf-chat-state";chatMessagesContainer;chatRef;inputRef;storage=new r;_chatService;_chatSegment="#chat";_forceClose=false;componentWillLoad(){this._forceClose=false;this._chatService=new o(this.endpoint,this.market,this.language);this.messagesData={header:{},messages:[]};let t=this.storage.get(this.chatLocalStorageKey);if(t&&t.isLoggedIn===!this.isLoggedIn){this.storage.remove(this.chatLocalStorageKey)}else if(t&&t.chatId){this.chatId=t?.chatId??this.chatId}this.setTranslations();setInterval((()=>{this.updateChat()}),1500)}setTranslations(){if(this.language&&m[this.language]){this.i18n=m[this.language]}}getTranslation(t){const e=this[t];if(e===undefined||e===null||e===""){return m[this.language]?.[t]??m["en"][t]}return e}async updateChat(){if(this.isMinimized||this.isClosed){return}let t=this.lastMessageId;await this._chatService.fetchMessages(this.chatId,this.messagesData).then((e=>{this.lastMessageId=this._chatService.GetLastMessageId(e?.messages,this.lastMessageId);let a=document.getElementsByClassName("pn-chat-before");let i=Array.from(a);e.messages.forEach((t=>{i.forEach((e=>{if(t.content!=null&&(e.textContent.trim()===t.content.trim()||e.textContent.trim().includes(t.content.trim()))){e.remove()}}));this.renderMessage(t)}));if(t!==this.lastMessageId){this._chatService.updateLastMessageId(this.chatId,this.lastMessageId);this.messagesData=e;e.messages.forEach((t=>{this.renderMessage(t)}))}}))}async setStartValues(){if(this._forceClose){this._forceClose=false;return}if((!this.chatId||this.chatId===this._defaultChatId||this.chatId===this._defaultAlternativeChatId)&&!this.isMinimized){this.chatId=await this._chatService.startChat(this.pnChatId,this.itemId);this.storage.set(this.chatLocalStorageKey,{chatId:this.chatId,isLoggedIn:this.isLoggedIn})}if(this.chatId){this.storage.set(this.chatLocalStorageKey,{chatId:this.chatId,isLoggedIn:this.isLoggedIn});await this.fetchMessages();this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId)}}async fetchMessages(){await this._chatService.fetchMessages(this.chatId,this.messagesData).then((t=>{this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.messagesData=t;let e=document.getElementsByClassName("pn-chat-before");let a=Array.from(e);t.messages.forEach((t=>{a.forEach((e=>{if(e.textContent.trim()===t.content.trim()||e.textContent.trim().includes(t.content.trim())){e.remove()}}));this.renderMessage(t)}));return t}))}async handleSend(){if(!this.message?.trim()){return}let t=this.message;this.message="";this.createBeforeElement(t);let e=await this._chatService.sendMessage(t,this.itemId,this.chatId,this.lastMessageId,"Text");this.lastMessageId=e;this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.announceToScreenReader(this.getTranslation("sentMessageAriaLabel"))}groupMessages(){const t=[];let a=[];const i=()=>{if(a.length>0){const i={slides:a.map((t=>{const e=`\n <pn-chat-message customerSegment=${this.customerSegment} data-card role="article" category=${t.category}>\n <h2 class="card-heading">${t.heading}</h2>\n <p>${t.content}</p>\n ${t.buttons?.map((t=>`\n <pn-button\n href="${t.href}"\n class="${t.class}"\n appearance="${t.appearance}"\n variant="${t.variant}"\n small="${t.small}"\n role="button"\n >\n ${t.content}\n </pn-button>\n `)).join("")||""}\n </pn-chat-message>\n `;return e}))};t.push(e("pn-marketweb-carousel",{class:"card-container",nextButtonLabel:"Next",previousButtonLabel:"Previous",ariaNavigationLabel:this.getTranslation("relatedContentAriaLabel"),slidesToShow:this.carouselSlidesToShow,source:JSON.stringify(i)}));a=[]}};this.messagesData.messages.forEach(((e,n)=>{if(e.category==="Card"){a.push(e);if(n===this.messagesData.messages.length-1||this.messagesData.messages[n+1]?.category!=="Card"){i()}}else{i();t.push(this.renderMessage(e))}}));return t}handleKeyPress=t=>{if(t.key==="Enter"&&this.message.trim()){t.preventDefault();this.handleSend()}};handleSendMessage=t=>{if(this.message.trim()){t.preventDefault();this.handleSend()}};handleButtonKeyDown(t){if(t.key==="Enter"||t.key===" "){t.preventDefault();t.target.click()}}handleKeyDown(t){if(t.key==="Escape"&&this.isMinimized&&!this.isClosed){this.toggleChat()}}handleMessagesChange(t){if(t){this.handleSend()}}handleNewChatId(){this.chatId=this.pnChatId===this._defaultAlternativeChatId?this._defaultChatId:this.pnChatId;this.messagesData.messages=[];this.isMinimized=false;this.setStartValues()}handleSameChatId(){this.isMinimized=false}scrollToBottom(){const t=new MutationObserver(((t,e)=>{const a=document.getElementById("chat-main");if(a){setTimeout((()=>{a.scrollTo({top:a.scrollHeight,behavior:"smooth"})}),500);e.disconnect()}}));t.observe(document.body,{childList:true,subtree:true})}closeChat=()=>{this._forceClose=true;this.storage.remove(this.chatLocalStorageKey);this.chatId=null;this.pnChatId=this._defaultChatId;let t=document.getElementsByTagName("pn-chat")[0];t.setAttribute("item-id","");let e=window.location.href.includes(this._chatSegment);if(e){this.isMinimized=!this.isMinimized;this.announceToScreenReader(this.isMinimized?this.getTranslation("chatMinimizedAriaLabel"):this.getTranslation("chatOpenedAriaLabel"));document.body.classList.toggle("chat-open");window.location.href=window.location.href.split(this._chatSegment)[0]}else{this._forceClose=false;this.toggleChat()}};toggleChat=()=>{this.isMinimized=!this.isMinimized;this.announceToScreenReader(this.isMinimized?this.getTranslation("chatMinimizedAriaLabel"):this.getTranslation("chatOpenedAriaLabel"));document.body.classList.toggle("chat-open");if(!this.isMinimized&&!this.chatId){this.setStartValues()}};announceToScreenReader(t){const e=document.createElement("div");e.setAttribute("role","status");e.setAttribute("aria-live","polite");e.classList.add("sr-only");e.textContent=t;document.body.appendChild(e);setTimeout((()=>e.remove()),1e3)}renderMessage(t){switch(t.category){case"Bot":return this.renderBaseMessage(t);case"Button":return this.renderButtonMessage(t);case"ButtonResponse":return this.renderBaseMessage(t);case"Link":return this.renderLinkMessage(t);case"Card":return this.renderCardMessage(t);case"User":return this.renderBaseMessage(t);case"Agent":return this.renderAgentMessage(t);case"System":return this.renderBaseMessage(t)}}renderBaseMessage(t){return e("pn-chat-message",{customerSegment:this.customerSegment,category:t.category,agentName:"",role:"log","aria-live":"polite"},t.content)}renderAgentMessage(t){return e("pn-chat-message",{customerSegment:this.customerSegment,category:t.category,agentName:t.agentName,role:"log","aria-live":"polite"},t.content)}renderButtonMessage(t){let a={};if(t?.props){try{a=JSON.parse(t.props)}catch(t){console.error("Error parsing button props",t instanceof Error?t.message:"Unknown error");return}}const i=e=>{const i=e.target.closest("button");if(i===null||i?.hasAttribute("disabled")){e.preventDefault();e.stopPropagation();return}if(a["data-action"]==="minimize"){this.toggleChat()}if(a["data-action"]==="choice"){(async()=>{await this.handleSendChoice(a["data-option-choice"],t.content)})();const e=document.querySelectorAll('[data-action="choice"]');e.forEach((t=>{const e=t.querySelector("button");e?.setAttribute("disabled","true")}))}};return e("pn-chat-message",{customerSegment:this.customerSegment,category:t.category},e("pn-button",{class:t.class,role:"button",...a,onClick:i,onKeyDown:t=>this.handleButtonKeyDown(t)},t.content))}createBeforeElement(t){const e=this.chatMessagesContainer;const a=document.createElement("pn-chat-message");a.setAttribute("customerSegment",this.customerSegment);a.setAttribute("category","User");a.classList.add("pn-chat-before");a.textContent=t;e.appendChild(a);this.scrollToBottom();a.scrollIntoView()}async handleSendChoice(t,e){this.createBeforeElement(e);let a=await this._chatService.sendMessage(t,this.itemId,this.chatId,this.lastMessageId,"Choice");this.lastMessageId=a;this.lastMessageId=this._chatService.GetLastMessageId(this.messagesData.messages,this.lastMessageId);this.announceToScreenReader(this.getTranslation("sentMessageAriaLabel"))}renderLinkMessage(t){return e("pn-chat-message",{customerSegment:this.customerSegment,category:t.category},e("a",{href:t.href,role:"link",rel:"noopener noreferrer"},e("span",{class:"content"},t.content),e("pn-icon",{icon:n,color:"blue700","aria-hidden":"true",role:"presentation"})))}renderCardMessage(t){return e("pn-chat-message",{customerSegment:this.customerSegment,category:t.category,"data-card":true,role:"article"},e("h2",{class:"card-heading"},t.heading),e("p",null,t.content),t.buttons&&e("div",{class:"cta"},t.buttons?.map((t=>e("pn-button",{href:t.href,class:t.class,appearance:t.appearance,variant:t.variant,small:t.small,role:"button",onKeyDown:t=>this.handleButtonKeyDown(t)},t.content)))))}render(){const t="chat-main";const n="chat-input";const r=this.messagesData?.header.button;return e(i,{key:"ef0d728a1117b155d7de29d80ab52bd0231f2d3d",class:this.customerSegment},!this.isClosed&&this.messagesData&&e("div",{key:"7c0568c9c5eef3d437bd0af6265f79bf97341246",class:`pn-chat ${this.isMinimized?"minimized":""} ${this.isClosed?"closed":""}`,ref:t=>this.chatRef=t,role:"region","aria-label":this.mainHeading},!this.isMinimized&&e(a,{key:"da8dd27a607182e85ddfeb00752c9518ffdc26d3"},e("header",{key:"c6f61749f1d1e4f8070b9a454744f43334bd0daf",class:"chat-header",role:"banner"},e("h1",{key:"5c9b99aaa4c9d711f31fe1e791c1cd2008a6d846",id:"chat-title"},this.mainHeading),e("div",{key:"fadee3584da81fd35f67845af1f354b64e77a1b8",class:"chat-controls",role:"toolbar","aria-label":this.getTranslation("chatControlsAriaLabel")},e("pn-button",{key:"5659c90691ddfa151b9b6c77305d56f4e73737e1",icon:h,"icon-only":"true",class:"minimize-btn",onClick:this.toggleChat,"aria-expanded":!this.isMinimized,"aria-controls":t,"aria-label":this.getTranslation("minimizeChatAriaLabel"),appearance:"light",tooltip:this.getTranslation("minimizeChatAriaLabel"),small:"true"}),e("pn-button",{key:"1eee187987f6482c1cb1710f2f6890d64e6a088b",icon:s,"icon-only":"true",class:"close-btn",onClick:this.closeChat,"aria-expanded":!this.isMinimized,"aria-label":this.getTranslation("closeChatAriaLabel"),appearance:"light",tooltip:this.getTranslation("closeChatAriaLabel"),small:"true"}))),(this.messagesData?.messages?.length??0)>0?e("main",{id:t,class:"chat-main",role:"main","aria-labelledby":"chat-title"},this.messagesData.header&&e("div",{class:"chat-overview"},e("div",{class:"body"},this.messagesData.header.body),r&&e("pn-button",{href:r.href,class:r.class,appearance:r.appearance,variant:r.variant,small:r.small,role:"button",onKeyDown:t=>this.handleButtonKeyDown(t)},r.content)),e("div",{ref:t=>this.chatMessagesContainer=t,class:"chat-messages",role:"log","aria-live":"polite","aria-label":this.getTranslation("chatMessagesAriaLabel")},this.groupMessages()),e("pn-icon",{class:"indicator-icon","aria-label":this.getTranslation("waitingForAnswerLabel"),role:"presentation"})):e("main",{id:t,class:"chat-main loading-chat-main",role:"main","aria-labelledby":"chat-title"},e("div",{class:"chat-loading-spinner"},e("pn-spinner",{light:"true",size:"1.5"})),e("span",{class:"chat-loading-content"},this.getTranslation("loadingText"))),e("footer",{key:"3d80a8f4115c763ddb4ec3f9fda3ff8404c87f0b",class:"chat-footer",role:"contentinfo"},e("div",{key:"3ded4cbdd6ff7c53fbc8864d27d5dad628cf093a",class:"form",role:"form","aria-labelledby":n},e("label",{key:"5d6cb81df2906085ccc1c409c33e94eaaefac16d",htmlFor:n,class:"sr-only"},this.getTranslation("writeChatMessagePlaceholder")),e("div",{key:"6e61161f8aefb0f5816fe579a53732c130c363b0",class:"chat-input-container"},e("input",{key:"7f0ecc89511587e2fbbd1eb94330a2eec5b3b0e4",id:n,class:"chat-text-input",ref:t=>this.inputRef=t,type:"text",placeholder:this.getTranslation("writeChatMessagePlaceholder"),value:this.message,onInput:t=>this.message=t.target.value,onKeyPress:this.handleKeyPress,maxLength:3990}),!this.message.trim()?e("div",{class:"chat-disabled-button",role:"button","aria-label":this.getTranslation("sendButtonText"),"aria-disabled":"true",tabIndex:-1},e("pn-icon",{color:"gray400",icon:c})):e("pn-button",{"icon-only":"true",variant:"borderless",appearance:"light",icon:c,onClick:this.handleSendMessage,disabled:!this.message.trim(),"aria-label":this.getTranslation("sendButtonText"),tooltip:this.getTranslation("sendButtonText")}))))),this.isMinimized&&e("pn-button",{key:"8f3a191fa459261f45a102e8e5d26b55c27c9ac6",icon:p,"icon-only":"true",class:"open-chat-btn",onClick:this.toggleChat,tooltip:this.getTranslation("openChatAriaLabel"),"aria-label":this.getTranslation("openChatAriaLabel"),"aria-expanded":!this.isMinimized})))}static get watchers(){return{messages:["handleMessagesChange"],pnChatId:["handleNewChatId"],forceOpen:["handleSameChatId"],isMinimized:["scrollToBottom"]}}};f.style=u;export{f as pn_chat};
2
+ //# sourceMappingURL=p-8c48b8ac.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,d}from"./p-b3a13b6a.js";const n="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-product-tile{margin-bottom:1em;border:0.1rem solid #d3cecb;outline:none;background:white;box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:flex;width:100%;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;align-self:center}pn-product-tile .tilecontent{display:flex;flex-direction:row;justify-content:center;flex-grow:1}pn-product-tile .details{display:flex;flex-direction:column;justify-content:space-between;width:100%}pn-product-tile .info{display:flex;justify-content:space-between;flex-grow:1;max-width:66.6666666667%;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";const i=n;const o=class{constructor(t){e(this,t)}render(){return t(d,{key:"49cddea3d1d3b3164718d00736966951278c667d"},t("slot",{key:"8de3af569c4ed1decccd626dba2a9ba93bf0c0ef",name:"illustration"}),t("div",{key:"cd04cddb4bc40ca9d252d131071b723d719dde6b",class:"tilecontent"},t("div",{key:"972769f5e229ee6c601980256d22b1e25becff5e",class:"details"},t("slot",{key:"c9350aaaea61f276580336a84d11b44fe67d44be",name:"content"}),t("div",{key:"a0dc63b011e6ad60c7ae69c5a08a0769bc7628e7",class:"info"},t("slot",{key:"f16b4c60b24b6754bb0b55eb387885aa2616e3d4"})),t("slot",{key:"709db008e27159ce04461ca9c037bec69e7643ed",name:"note"})),t("slot",{key:"4ff578460fae9c09c63ed94782cdb0eb6b2c67ae",name:"price"})))}};o.style=i;export{o as pn_product_tile};
2
+ //# sourceMappingURL=p-8e129406.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnProductTileCss","PnProductTileStyle0","PnProductTile","render","h","Host","key","name","class"],"sources":["src/components/widgets/pn-product-tile/pn-product-tile.scss?tag=pn-product-tile","src/components/widgets/pn-product-tile/pn-product-tile.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-product-tile {\n margin-bottom: 1em;\n border: 0.1rem solid $gray200;\n outline: none;\n background: white;\n box-shadow:\n 0px 0.6px 1.8px rgba(0, 0, 0, 0.1),\n 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);\n display: flex;\n\n padding: 1.5em;\n word-break: break-word;\n text-decoration: none;\n border-radius: 0.8rem;\n\n [slot='content'] h3 {\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin-bottom: 0.5em;\n }\n > pn-illustration {\n min-width: 8rem;\n width: 8rem;\n height: 8rem;\n margin-right: 3rem;\n align-self: center;\n }\n .tilecontent {\n display: flex;\n // flex-wrap: wrap;\n flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n }\n\n .details {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n //align-items: center;\n }\n .info {\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n max-width: calc((100% / 3) * 2);\n flex-flow: wrap;\n > * {\n min-width: 6em;\n margin: 0.2em 1em 0.2em 0;\n }\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-product-tile',\n styleUrl: 'pn-product-tile.scss',\n})\nexport class PnProductTile {\n render() {\n return (\n <Host>\n <slot name=\"illustration\" />\n <div class=\"tilecontent\">\n <div class=\"details\">\n <slot name=\"content\" />\n <div class=\"info\">\n <slot />\n </div>\n <slot name=\"note\" />\n </div>\n <slot name=\"price\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,ovCACzB,MAAAC,EAAeD,E,MCKFE,EAAa,M,yBACxB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,iBACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,eACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,WACTJ,EAAA,QAAAE,IAAA,2CAAMC,KAAK,YACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,QACTJ,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,UAEbH,EAAA,QAAAE,IAAA,2CAAMC,KAAK,W","ignoreList":[]}
1
+ {"version":3,"names":["pnProductTileCss","PnProductTileStyle0","PnProductTile","render","h","Host","key","name","class"],"sources":["src/components/widgets/pn-product-tile/pn-product-tile.scss?tag=pn-product-tile","src/components/widgets/pn-product-tile/pn-product-tile.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-product-tile {\n margin-bottom: 1em;\n border: 0.1rem solid $gray200;\n outline: none;\n background: white;\n box-shadow:\n 0px 0.6px 1.8px rgba(0, 0, 0, 0.1),\n 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);\n display: flex;\n\n padding: 1.5em;\n word-break: break-word;\n text-decoration: none;\n border-radius: 0.8rem;\n\n [slot='content'] h3 {\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin-bottom: 0.5em;\n }\n > pn-illustration {\n min-width: 8rem;\n width: 8rem;\n height: 8rem;\n margin-right: 3rem;\n align-self: center;\n }\n .tilecontent {\n display: flex;\n // flex-wrap: wrap;\n flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n }\n\n .details {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n //align-items: center;\n }\n .info {\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n max-width: calc((100% / 3) * 2);\n flex-flow: wrap;\n > * {\n min-width: 6em;\n margin: 0.2em 1em 0.2em 0;\n }\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-product-tile',\n styleUrl: 'pn-product-tile.scss',\n})\nexport class PnProductTile {\n render() {\n return (\n <Host>\n <slot name=\"illustration\" />\n <div class=\"tilecontent\">\n <div class=\"details\">\n <slot name=\"content\" />\n <div class=\"info\">\n <slot />\n </div>\n <slot name=\"note\" />\n </div>\n <slot name=\"price\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6CAAA,MAAMA,EAAmB,ovCACzB,MAAAC,EAAeD,E,MCKFE,EAAa,M,yBACxB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,iBACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,eACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,WACTJ,EAAA,QAAAE,IAAA,2CAAMC,KAAK,YACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,QACTJ,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,UAEbH,EAAA,QAAAE,IAAA,2CAAMC,KAAK,W","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,d as a}from"./p-b3a13b6a.js";const o=':host{display:block;width:100%;--header-skeleton-bg:var(--siteheader-skeleton-bg, #e8edf2);--header-skeleton-shine:var(--siteheader-skeleton-shine,\n rgba(255, 255, 255, 0.65));--header-skeleton-radius:var(--siteheader-skeleton-radius, 0.4rem);--header-skeleton-gap:var(--siteheader-skeleton-gap, 1.2rem);--header-skeleton-padding-x:var(--siteheader-skeleton-padding-x, 1.6rem);--header-skeleton-padding-y:var(--siteheader-skeleton-padding-y, 1.2rem);--header-skeleton-border-color:var(--siteheader-skeleton-border-color,\n #d9e1e8);--header-skeleton-mobile-height:var(--siteheader-skeleton-mobile-height,\n 6.4rem);--header-skeleton-top-row-height:var(--siteheader-skeleton-top-row-height,\n 7.2rem);--header-skeleton-bottom-row-height:var(--siteheader-skeleton-bottom-row-height,\n 6.4rem)}.header-skeleton{width:100%;box-sizing:border-box;border-bottom:0.1rem solid var(--header-skeleton-border-color);background:var(--siteheader-skeleton-background, #fff)}.mobile-layout,.tablet-desktop-layout{width:100%;box-sizing:border-box}.mobile-row,.top-row,.bottom-row{display:flex;align-items:center;width:100%;box-sizing:border-box;padding-left:var(--header-skeleton-padding-x);padding-right:var(--header-skeleton-padding-x)}.skel{position:relative;overflow:hidden;flex:0 0 auto;background:var(--header-skeleton-bg)}.skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg, transparent, var(--header-skeleton-shine), transparent);animation:header-skeleton-shimmer 1.4s infinite}.skel-logo{width:11.2rem;height:2.8rem;border-radius:var(--header-skeleton-radius)}.skel-icon-button{width:4rem;height:4rem;border-radius:50%}.skel-chip{width:10rem;height:3.6rem;border-radius:1.8rem}.skel-pill{width:7.2rem;height:3.6rem;border-radius:1.8rem}.skel-menu-button{width:12rem;height:4rem;border-radius:0.4rem}.skel-search{width:min(100%, 36rem);height:4rem;border-radius:2rem}.mobile-layout{display:block}.mobile-row{justify-content:space-between;min-height:var(--header-skeleton-mobile-height);padding-top:var(--header-skeleton-padding-y);padding-bottom:var(--header-skeleton-padding-y)}.tablet-desktop-layout{display:none}.top-row{min-height:var(--header-skeleton-top-row-height);padding-top:var(--header-skeleton-padding-y);padding-bottom:var(--header-skeleton-padding-y);display:grid;grid-template-columns:1fr auto 1fr;column-gap:var(--header-skeleton-gap);align-items:center}.top-row-left,.top-row-center,.top-row-right,.bottom-row-left,.bottom-row-right{display:flex;align-items:center}.top-row-left{justify-content:flex-start;gap:var(--header-skeleton-gap);min-width:0}.top-row-center{justify-content:center}.top-row-right{justify-content:flex-end;gap:var(--header-skeleton-gap);min-width:0}.bottom-row{min-height:var(--header-skeleton-bottom-row-height);justify-content:space-between;gap:var(--header-skeleton-gap);padding-top:0.8rem;padding-bottom:1.2rem}.bottom-row-left{justify-content:flex-start;flex:0 0 auto}.bottom-row-right{justify-content:flex-end;flex:1 1 auto;min-width:0}.bottom-row-right .skel-search{margin-left:auto}@media screen and (min-width: 768px){.mobile-layout{display:none}.tablet-desktop-layout{display:block}}@media screen and (min-width: 1200px){:host{--header-skeleton-padding-x:var(--siteheader-skeleton-padding-x-desktop, 2.4rem);--header-skeleton-top-row-height:var(--siteheader-skeleton-top-row-height-desktop,\n 8rem);--header-skeleton-bottom-row-height:var(--siteheader-skeleton-bottom-row-height-desktop,\n 6.8rem)}.skel-logo{width:13rem;height:3rem}.skel-search{width:min(100%, 42rem)}}@keyframes header-skeleton-shimmer{100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.skel::after{animation:none}}';const r=o;const d=class{constructor(t){e(this,t)}render(){console.log("Rendering PnMarketwebHeaderSkeletonLoader...");return t(a,{key:"df31cc237329e033c4ace683027a6458a3790ef1"},t("header",{key:"51d25dc2af64660068fcabfa5f95cc0872d29cce",class:"header-skeleton","aria-hidden":"true"},t("div",{key:"1469d90c9ca66cc371257818dbf1aacbdc2c0b8c",class:"mobile-layout"},t("div",{key:"591d0124da5d93e45809cf35f514b590c60d666f",class:"mobile-row"},t("div",{key:"1e8ec053ab87561b5f3a6a5c6e45c4fbcbe66212",class:"skel skel-logo"}),t("div",{key:"83c7c0f633155348cb92e3370f16daf3c5d0e6c2",class:"skel skel-icon-button"}))),t("div",{key:"847b9bbe3de7c3a0aa5954e82167e99a5813fcd2",class:"tablet-desktop-layout"},t("div",{key:"5b4f7867da490285dd1032fdf9b7387b705a51f2",class:"top-row"},t("div",{key:"208485c9f664ef1008bf57eb5a98e6687ba70949",class:"top-row-left"},t("div",{key:"b2fdca97d9b576d20d16ca833e84a80191653e3f",class:"skel skel-chip"}),t("div",{key:"ca6b630a8c38cd87c4e65ffd483e0e65e4774326",class:"skel skel-icon-button"})),t("div",{key:"0923c1a855f32159dd42dc49eb9e84b47a70a549",class:"top-row-center"},t("div",{key:"dda22514ffd4a1ceae80252dafe49597a63ec364",class:"skel skel-logo"})),t("div",{key:"a6ec95a525889c8cc13b35ccc03a90c509a2c35c",class:"top-row-right"},t("div",{key:"41d4a9998a8478423a2b1ce566568fe845c8767a",class:"skel skel-icon-button"}),t("div",{key:"0fb5f413dad85ffab8e8038c7720f3828fb24b72",class:"skel skel-icon-button"}),t("div",{key:"b53f8b517499a89c30ee3c46179ffed6cc7e12b4",class:"skel skel-pill"}))),t("div",{key:"e7c90c573556c1599f25bf99761d437e7ed3e7c8",class:"bottom-row"},t("div",{key:"0c9d2b72369a256efa2daf8eafd8f938369601a0",class:"bottom-row-left"},t("div",{key:"9835aa30019d52084f98c362e0e8a255fc747d46",class:"skel skel-menu-button"})),t("div",{key:"4cc96d47f41114dbe08ce67b62106664b2f8deee",class:"bottom-row-right"},t("div",{key:"5bcab9e4e0f36f838b7467e3dcf130d4b95faa85",class:"skel skel-search"}))))))}};d.style=r;export{d as pn_marketweb_header_skeleton_loader};
2
- //# sourceMappingURL=p-8c26c1f2.entry.js.map
1
+ import{r as e,h as t,d as a}from"./p-b3a13b6a.js";const o=':host{display:block;width:100%;--header-skeleton-bg:var(--siteheader-skeleton-bg, #e8edf2);--header-skeleton-shine:var(--siteheader-skeleton-shine,\n rgba(255, 255, 255, 0.65));--header-skeleton-radius:var(--siteheader-skeleton-radius, 0.4rem);--header-skeleton-gap:var(--siteheader-skeleton-gap, 1.2rem);--header-skeleton-padding-x:var(--siteheader-skeleton-padding-x, 1.6rem);--header-skeleton-padding-y:var(--siteheader-skeleton-padding-y, 1.2rem);--header-skeleton-border-color:var(--siteheader-skeleton-border-color,\n #d9e1e8);--header-skeleton-mobile-height:var(--siteheader-skeleton-mobile-height,\n 6.4rem);--header-skeleton-top-row-height:var(--siteheader-skeleton-top-row-height,\n 7.2rem);--header-skeleton-bottom-row-height:var(--siteheader-skeleton-bottom-row-height,\n 6.4rem)}.header-skeleton{width:100%;box-sizing:border-box;border-bottom:0.1rem solid var(--header-skeleton-border-color);background:var(--siteheader-skeleton-background, #fff)}.mobile-layout,.tablet-desktop-layout{width:100%;box-sizing:border-box}.mobile-row,.top-row,.bottom-row{display:flex;align-items:center;width:100%;box-sizing:border-box;padding-left:var(--header-skeleton-padding-x);padding-right:var(--header-skeleton-padding-x)}.skel{position:relative;overflow:hidden;flex:0 0 auto;background:var(--header-skeleton-bg)}.skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg, transparent, var(--header-skeleton-shine), transparent);animation:header-skeleton-shimmer 1.4s infinite}.skel-logo{width:11.2rem;height:2.8rem;border-radius:var(--header-skeleton-radius)}.skel-icon-button{width:4rem;height:4rem;border-radius:50%}.skel-chip{width:10rem;height:3.6rem;border-radius:1.8rem}.skel-pill{width:7.2rem;height:3.6rem;border-radius:1.8rem}.skel-menu-button{width:12rem;height:4rem;border-radius:0.4rem}.skel-search{width:min(100%, 36rem);height:4rem;border-radius:2rem}.mobile-layout{display:block}.mobile-row{justify-content:space-between;min-height:var(--header-skeleton-mobile-height);padding-top:var(--header-skeleton-padding-y);padding-bottom:var(--header-skeleton-padding-y)}.tablet-desktop-layout{display:none}.top-row{min-height:var(--header-skeleton-top-row-height);padding-top:var(--header-skeleton-padding-y);padding-bottom:var(--header-skeleton-padding-y);display:grid;grid-template-columns:1fr auto 1fr;column-gap:var(--header-skeleton-gap);align-items:center}.top-row-left,.top-row-center,.top-row-right,.bottom-row-left,.bottom-row-right{display:flex;align-items:center}.top-row-left{justify-content:flex-start;gap:var(--header-skeleton-gap);min-width:0}.top-row-center{justify-content:center}.top-row-right{justify-content:flex-end;gap:var(--header-skeleton-gap);min-width:0}.bottom-row{min-height:var(--header-skeleton-bottom-row-height);justify-content:space-between;gap:var(--header-skeleton-gap);padding-top:0.8rem;padding-bottom:1.2rem}.bottom-row-left{justify-content:flex-start;flex:0 0 auto}.bottom-row-right{justify-content:flex-end;flex:1 1 auto;min-width:0}.bottom-row-right .skel-search{margin-left:auto}@media screen and (min-width: 768px){.mobile-layout{display:none}.tablet-desktop-layout{display:block}}@media screen and (min-width: 1200px){:host{--header-skeleton-padding-x:var(--siteheader-skeleton-padding-x-desktop, 2.4rem);--header-skeleton-top-row-height:var(--siteheader-skeleton-top-row-height-desktop,\n 8rem);--header-skeleton-bottom-row-height:var(--siteheader-skeleton-bottom-row-height-desktop,\n 6.8rem)}.skel-logo{width:13rem;height:3rem}.skel-search{width:min(100%, 42rem)}}@keyframes header-skeleton-shimmer{100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.skel::after{animation:none}}';const r=o;const d=class{constructor(t){e(this,t)}render(){console.log("Rendering PnMarketwebHeaderSkeletonLoader...");return t(a,{key:"5c4c13c622367a8feaa0e033874a72ae32d08544"},t("header",{key:"ae00c78d2e9fe06a48f95bf8031afdbc2a789b07",class:"header-skeleton","aria-hidden":"true"},t("div",{key:"37ce3f8e8032610e1c7c961d585f6646af1e278f",class:"mobile-layout"},t("div",{key:"155ca8796a56d85a5e8f50670927230d2efe75d9",class:"mobile-row"},t("div",{key:"36ce4fc8111957ab530c06bcad478468f9a10aa6",class:"skel skel-logo"}),t("div",{key:"74fb1c6b13d6fcbe5f0e5e7fce0662b93260763d",class:"skel skel-icon-button"}))),t("div",{key:"631f88856f05eaf98b8012833647a65fbd1bd504",class:"tablet-desktop-layout"},t("div",{key:"e15650439b2ce20ac981003bc0f348ba1bc8ab79",class:"top-row"},t("div",{key:"41867b971e7a114fc05fae6e7d0cd08d147580eb",class:"top-row-left"},t("div",{key:"2dbabfef4fb9b7eecf402c41c1ef504b8bec4811",class:"skel skel-chip"}),t("div",{key:"69bf07438a8374517117db88a4df0ef788a495ed",class:"skel skel-icon-button"})),t("div",{key:"56910a40f903999ed98213b59938a0c598d998e8",class:"top-row-center"},t("div",{key:"6c8f2aac70e20b586bc8b270cbceec0aa6b769ca",class:"skel skel-logo"})),t("div",{key:"abeb394fda5834e169c9fd6ba596297d58340d7e",class:"top-row-right"},t("div",{key:"fd9f236694831537f5895410b0e60e6d05ff9bee",class:"skel skel-icon-button"}),t("div",{key:"e04ee10525a54e6134ebe1caf7c9de28e487a89a",class:"skel skel-icon-button"}),t("div",{key:"5d0c1f732ee30ab266f5f9c22a45dcfe9cf402be",class:"skel skel-pill"}))),t("div",{key:"bcd942e081c9dc503e5d99b948d0e8ffe7b314a5",class:"bottom-row"},t("div",{key:"fb23008de03b74125c60747ce51a48ca5ac9bf16",class:"bottom-row-left"},t("div",{key:"5e7d0f027d9ba32a9c6f8acfab42444e4f3b56dc",class:"skel skel-menu-button"})),t("div",{key:"183351a3e21b17c01401bd88ef5fe5fc3a96470b",class:"bottom-row-right"},t("div",{key:"4b6cfa35eb8d67ace2ae277a39d34be8f4c1c1a1",class:"skel skel-search"}))))))}};d.style=r;export{d as pn_marketweb_header_skeleton_loader};
2
+ //# sourceMappingURL=p-919fb7b8.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as n,g as i,h as e,d as o}from"./p-b3a13b6a.js";import{s as t}from"./p-ae5756dd.js";import{a as s}from"./p-3fdca5bd.js";import"./p-2132ad75.js";const a='<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 8.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414z" clip-rule="evenodd"/></svg>';const r=a;const l='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-sidenav-link{display:flex;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:flex;align-items:center;background-color:transparent;color:#005d92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;flex-grow:1}.pn-sidenav-link::before{content:"";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;transform:translateX(-0.4rem);background:#005d92;transition:transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#e0f8ff;color:#005d92;outline:0;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{transform:none}.pn-sidenav-link:active{background-color:#f3f2f2;color:#00a0d6;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#e0f8ff;color:#005d92;outline:0;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}';const d=l;const p=class{constructor(i){n(this,i);this.name="";this.href="";this.target=null;this.linkid=null;this.icon="";this.currentSelection=false;this.levelId="";this.open=false;this.hasChildren=false}get hostElement(){return i(this)}componentWillLoad(){this.hasChildren=this.hostElement.querySelectorAll("pn-sidenav-level").length>0;const n=this.name.toLowerCase().replace(/\W/gi,"_");if(this.hasChildren&&this.name){this.levelId=`sidenav-lvl${2}-${n}`}if(!this.linkid&&this.name){this.linkid=`sidenav-link-${n}`}}onExpandClick(){t.openLevel=t.openLevel+""===this.levelId+""?"":this.levelId}getTagName(){return this.href?"a":"button"}render(){const n=this.getTagName();const i={href:this.href,target:this.target,id:this.linkid,class:"pn-sidenav-link"};let a={"aria-controls":this.levelId,"aria-label":(this.open?t.i18n.close:t.i18n.open)+" "+this.name,"aria-expanded":(t.openLevel+""===this.levelId+"")+"",onClick:this.onExpandClick.bind(this)};return e(o,{key:"627721ae04a62c2a16152447d638316a51294458",role:"listitem",name:this.name,href:this.href,linkid:this.linkid,current:this.currentSelection},e(n,{key:"a880e891b1b492de3aab6ddbe545813d7f19bc36",...i,...n==="button"&&{...a}},this.icon?e("pn-icon",{icon:this.icon,color:"blue700"}):null,e("span",{key:"b7af868d3e176625ca8257a776c47a51aecf190f"},this.name),this.hasChildren&&n==="button"?e("div",{class:"pn-sidenav-link-expand"},this.open?e("pn-icon",{class:"first-level_icon",icon:r,color:"blue700"}):e("pn-icon",{class:"first-level_icon",icon:s,color:"blue700"})):null),this.hasChildren&&n==="a"?e("button",{...a,class:"pn-sidenav-link-expand"},this.open?e("pn-icon",{class:"first-level_icon",icon:r,color:"blue700"}):e("pn-icon",{class:"first-level_icon",icon:s,color:"blue700"})):null,e("slot",{key:"f51e68801df4dc3214b1e4d1da801c15a056a9f6"}))}};p.style=d;export{p as pn_sidenav_link};
2
- //# sourceMappingURL=p-3aa74418.entry.js.map
1
+ import{r as n,g as i,h as e,d as o}from"./p-b3a13b6a.js";import{s as t}from"./p-ae5756dd.js";import{a as s}from"./p-3fdca5bd.js";import"./p-2132ad75.js";const r='<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 8.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414z" clip-rule="evenodd"/></svg>';const a=r;const l='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-sidenav-link{display:flex;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:flex;align-items:center;background-color:transparent;color:#005d92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;flex-grow:1}.pn-sidenav-link::before{content:"";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;transform:translateX(-0.4rem);background:#005d92;transition:transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#e0f8ff;color:#005d92;outline:0;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{transform:none}.pn-sidenav-link:active{background-color:#f3f2f2;color:#00a0d6;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#e0f8ff;color:#005d92;outline:0;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}';const d=l;const p=class{constructor(i){n(this,i);this.name="";this.href="";this.target=null;this.linkid=null;this.icon="";this.currentSelection=false;this.levelId="";this.open=false;this.hasChildren=false}get hostElement(){return i(this)}componentWillLoad(){this.hasChildren=this.hostElement.querySelectorAll("pn-sidenav-level").length>0;const n=this.name.toLowerCase().replace(/\W/gi,"_");if(this.hasChildren&&this.name){this.levelId=`sidenav-lvl${2}-${n}`}if(!this.linkid&&this.name){this.linkid=`sidenav-link-${n}`}}onExpandClick(){t.openLevel=t.openLevel+""===this.levelId+""?"":this.levelId}getTagName(){return this.href?"a":"button"}render(){const n=this.getTagName();const i={href:this.href,target:this.target,id:this.linkid,class:"pn-sidenav-link"};let r={"aria-controls":this.levelId,"aria-label":(this.open?t.i18n.close:t.i18n.open)+" "+this.name,"aria-expanded":(t.openLevel+""===this.levelId+"")+"",onClick:this.onExpandClick.bind(this)};return e(o,{key:"27734f09ff2f1333ee2921aaa5175e17bdc8db4f",role:"listitem",name:this.name,href:this.href,linkid:this.linkid,current:this.currentSelection},e(n,{key:"f0f2a3e4e0c74f52b95ce882bf1fbc76cf90d7f3",...i,...n==="button"&&{...r}},this.icon?e("pn-icon",{icon:this.icon,color:"blue700"}):null,e("span",{key:"543f9cfafc3f37ce4f94a4c5e6468222f251f860"},this.name),this.hasChildren&&n==="button"?e("div",{class:"pn-sidenav-link-expand"},this.open?e("pn-icon",{class:"first-level_icon",icon:a,color:"blue700"}):e("pn-icon",{class:"first-level_icon",icon:s,color:"blue700"})):null),this.hasChildren&&n==="a"?e("button",{...r,class:"pn-sidenav-link-expand"},this.open?e("pn-icon",{class:"first-level_icon",icon:a,color:"blue700"}):e("pn-icon",{class:"first-level_icon",icon:s,color:"blue700"})):null,e("slot",{key:"1385cf91c63369f307edbdb45bb639d4674cad80"}))}};p.style=d;export{p as pn_sidenav_link};
2
+ //# sourceMappingURL=p-96da6528.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,g as o,h as n,d as t}from"./p-b3a13b6a.js";const r='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-breakpoints{width:100%}pn-breakpoints .breakpoints--dotcom{width:100%;background-color:aliceblue;text-align:center;margin-bottom:2.4rem;background-color:aliceblue}pn-breakpoints .breakpoints--dotcom .reference::before{content:"less than 321"}@media screen and (min-width: 321px){pn-breakpoints .breakpoints--dotcom{background-color:yellow}pn-breakpoints .breakpoints--dotcom .reference::before{content:"321 (xs)"}}@media screen and (min-width: 576px){pn-breakpoints .breakpoints--dotcom{background-color:aqua}pn-breakpoints .breakpoints--dotcom .reference::before{content:"576 (sm)"}}@media screen and (min-width: 768px){pn-breakpoints .breakpoints--dotcom{background-color:red;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"768 (md)"}}@media screen and (min-width: 992px){pn-breakpoints .breakpoints--dotcom{background-color:green;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"992 (lg)"}}@media screen and (min-width: 1200px){pn-breakpoints .breakpoints--dotcom{background-color:blue;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1200 (xl)"}}@media screen and (min-width: 1640px){pn-breakpoints .breakpoints--dotcom{background-color:pink}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1640 (xxl)"}}@media screen and (min-width: 1920px){pn-breakpoints .breakpoints--dotcom{background-color:orange}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1920 (fhd)"}}';const i=r;const a=class{constructor(o){e(this,o);this.currentWidth=window.innerWidth;this.breakPointClass="dotcom"}get hostElement(){return o(this)}handleViewportSizeChange(e){this.currentWidth=e.target.innerWidth}createBreakpointClass(){return`breakpoints--${this.breakPointClass}`}render(){return n(t,{key:"2e319063d318d91845c901f33d783f5a1a57a7e0"},n("div",{key:"ccc2f74693cdf8bfcb6dd48ff766ea5f49264de7",class:`breakpoints ${this.createBreakpointClass()} `},`${this.currentWidth} px`," min-width: ",n("span",{key:"a1077e0c367ec98d8a9fdb03ed4e5e019b015e4a",class:"reference"}," px")))}};a.style=i;export{a as pn_breakpoints};
2
- //# sourceMappingURL=p-a6dd3e4f.entry.js.map
1
+ import{r as e,g as o,h as n,d as t}from"./p-b3a13b6a.js";const r='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-breakpoints{width:100%}pn-breakpoints .breakpoints--dotcom{width:100%;background-color:aliceblue;text-align:center;margin-bottom:2.4rem;background-color:aliceblue}pn-breakpoints .breakpoints--dotcom .reference::before{content:"less than 321"}@media screen and (min-width: 321px){pn-breakpoints .breakpoints--dotcom{background-color:yellow}pn-breakpoints .breakpoints--dotcom .reference::before{content:"321 (xs)"}}@media screen and (min-width: 576px){pn-breakpoints .breakpoints--dotcom{background-color:aqua}pn-breakpoints .breakpoints--dotcom .reference::before{content:"576 (sm)"}}@media screen and (min-width: 768px){pn-breakpoints .breakpoints--dotcom{background-color:red;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"768 (md)"}}@media screen and (min-width: 992px){pn-breakpoints .breakpoints--dotcom{background-color:green;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"992 (lg)"}}@media screen and (min-width: 1200px){pn-breakpoints .breakpoints--dotcom{background-color:blue;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1200 (xl)"}}@media screen and (min-width: 1640px){pn-breakpoints .breakpoints--dotcom{background-color:pink}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1640 (xxl)"}}@media screen and (min-width: 1920px){pn-breakpoints .breakpoints--dotcom{background-color:orange}pn-breakpoints .breakpoints--dotcom .reference::before{content:"1920 (fhd)"}}';const i=r;const a=class{constructor(o){e(this,o);this.currentWidth=window.innerWidth;this.breakPointClass="dotcom"}get hostElement(){return o(this)}handleViewportSizeChange(e){this.currentWidth=e.target.innerWidth}createBreakpointClass(){return`breakpoints--${this.breakPointClass}`}render(){return n(t,{key:"4b63f6e7b25cc09bc329c7868d33f5bf10eadc92"},n("div",{key:"f88ffae449d2006027394f62bb75042acbc594fd",class:`breakpoints ${this.createBreakpointClass()} `},`${this.currentWidth} px`," min-width: ",n("span",{key:"ab91cc7229b2cb908bfee2dea6c87ee4ba8fca94",class:"reference"}," px")))}};a.style=i;export{a as pn_breakpoints};
2
+ //# sourceMappingURL=p-a1bc7932.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,d as s}from"./p-b3a13b6a.js";import{s as l}from"./p-4bd72b91.js";import{a as n,b as e,R as a}from"./p-f49e0b32.js";import{a as r,b as o}from"./p-4cb85336.js";import"./p-2132ad75.js";const d='<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 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5" clip-rule="evenodd"/></svg>';const h=d;const c="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price-result .test{margin:3em 0}.resultcontent{display:flex;justify-content:center;flex-grow:1}";const p=c;const u=class{constructor(i){t(this,i);this.item=null;this.shownitems=[];this.Usp1=undefined;this.Usp2=undefined;this.Usp3=undefined;this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.shopLabel="";this.shopUrl="";this.shopId=""}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((t=>t!==""))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId=`${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,"")}`;var i=this.item.ombudpurchase==="Yes";this.shopLabel=i?l.i18n.ombudHeader:l.i18n.stampshopcta;this.shopUrl=i?l.market.servicePoint:n;this.shopId=i?"-servicepoint":"-stampshop"}render(){return i(s,{key:"af7b0af45060ca1abcc68a8f9fc19761db996555"},i("pn-product-card",{key:"5094e756231d749513bd7d0da43e5210164d6a0c","data-productid":this.item.id},i("pn-illustration",{key:"7651952ac7e502576425a9c0d2400758d504332f",slot:"illustration",illustration:this.item.illustration}),i("div",{key:"6caf7b394828e112dba6b2791f38f8b688631e0f",slot:"title"},this.item.infopagelink?i("h2",null,i("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):i("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?i("pn-titletag",{slot:"Snabbast",icon:r,color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?i("pn-titletag",{slot:"Billigast",icon:o,color:"green700"},this.item.highestrankusp):null),i("div",{key:"68414684d0df71a845561aeb45f955be1781cc9a",slot:"content"},i("div",{key:"8462265dce3c233b767921519096e9124926f09f",class:"content"},this.item.description?i("div",{class:"description"},this.description.map((t=>i("li",null,t)))):null,this.item.info?i("div",{class:"description"},this.item.info):null)),this.item.note?i("div",{slot:"note"},i("p",null,this.item.note)):null,this.item.additionalusp?i("div",{slot:"additionalUSP"},this.Usp1?i("span",null,this.Usp1):null,this.Usp2?i("span",null,this.Usp2):null,this.Usp3?i("span",null,this.Usp3):null):null,this.showMeasurement?i("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,i("div",{key:"61540d6124451b22b48932fe46b732732c3d203e",slot:"cardprice"},this.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:l.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:l.market.currency,url:e,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?i("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:l.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):i("pn-product-card-price",{slot:"riktiga",label:l.i18n.realPostcard,amount:this.item.pricestamps+"",currency:l.market.currency,url:a["WebUrl"],linkid:this.linkId+"-riktiga"}):null),i("div",{key:"c7eefd3971a634eded0ec1d38eb45d296a777256",slot:"servicepoint"},this.item.showservicepointlink?i("a",{href:l.market.servicePoint,target:"_blank"},i("pn-icon",{icon:h,color:"blue700"}),l.i18n.servicePointLink):null),i("div",{key:"da8821941f5a0d4e1c71f0da64122923eacb21bd",slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?i("div",{id:"riktiga"},i("h4",null,l.i18n.realPostcardMobile),i("div",null,i("a",{href:a["AndroidAppUrl"],target:"_blank"},i("img",{class:"riktigaAndroidImg",src:a["AndroidImg"]})),i("a",{href:a["IosAppUrl"],target:"_blank"},i("img",{class:"riktigaAppleImg",src:a["IosImg"]})))):null)))}static get watchers(){return{item:["composeItems"]}}};u.style=p;export{u as pn_find_price_result};
2
- //# sourceMappingURL=p-ba14b0ef.entry.js.map
1
+ import{r as t,h as i,d as s}from"./p-b3a13b6a.js";import{s as l}from"./p-4bd72b91.js";import{a as e,b as n,R as a}from"./p-f49e0b32.js";import{a as r,b as o}from"./p-4cb85336.js";import"./p-2132ad75.js";const h='<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 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5" clip-rule="evenodd"/></svg>';const d=h;const c="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price-result .test{margin:3em 0}.resultcontent{display:flex;justify-content:center;flex-grow:1}";const p=c;const u=class{constructor(i){t(this,i);this.item=null;this.shownitems=[];this.Usp1=undefined;this.Usp2=undefined;this.Usp3=undefined;this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.shopLabel="";this.shopUrl="";this.shopId=""}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((t=>t!==""))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId=`${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,"")}`;var i=this.item.ombudpurchase==="Yes";this.shopLabel=i?l.i18n.ombudHeader:l.i18n.stampshopcta;this.shopUrl=i?l.market.servicePoint:e;this.shopId=i?"-servicepoint":"-stampshop"}render(){return i(s,{key:"daab6ea6c934d4bfc90a8fcdd607a39d713fe8f3"},i("pn-product-card",{key:"5452dc32d272a9c3f0507eb68efc8012e8799f1c","data-productid":this.item.id},i("pn-illustration",{key:"eb941278b85c4e82b9195474a20033c6e33fbee6",slot:"illustration",illustration:this.item.illustration}),i("div",{key:"cd9b46e6ac33625f9ace95703572e8c46eb94768",slot:"title"},this.item.infopagelink?i("h2",null,i("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):i("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?i("pn-titletag",{slot:"Snabbast",icon:r,color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?i("pn-titletag",{slot:"Billigast",icon:o,color:"green700"},this.item.highestrankusp):null),i("div",{key:"cace640fad734be8b40a08dd2f1e993fb1b0a505",slot:"content"},i("div",{key:"09b7eac2a78ff80446ba97f24395deb18084e8c6",class:"content"},this.item.description?i("div",{class:"description"},this.description.map((t=>i("li",null,t)))):null,this.item.info?i("div",{class:"description"},this.item.info):null)),this.item.note?i("div",{slot:"note"},i("p",null,this.item.note)):null,this.item.additionalusp?i("div",{slot:"additionalUSP"},this.Usp1?i("span",null,this.Usp1):null,this.Usp2?i("span",null,this.Usp2):null,this.Usp3?i("span",null,this.Usp3):null):null,this.showMeasurement?i("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,i("div",{key:"ea20942191ccf5737dbe30f77dd29b1efec2c522",slot:"cardprice"},this.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:l.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:l.market.currency,url:n,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?i("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:l.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):i("pn-product-card-price",{slot:"riktiga",label:l.i18n.realPostcard,amount:this.item.pricestamps+"",currency:l.market.currency,url:a["WebUrl"],linkid:this.linkId+"-riktiga"}):null),i("div",{key:"6ad06720a6744d54e1775e28b8eef3e61f8812e1",slot:"servicepoint"},this.item.showservicepointlink?i("a",{href:l.market.servicePoint,target:"_blank"},i("pn-icon",{icon:d,color:"blue700"}),l.i18n.servicePointLink):null),i("div",{key:"02491eeeb559962192909f1cf5df40f1b688a9ba",slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?i("div",{id:"riktiga"},i("h4",null,l.i18n.realPostcardMobile),i("div",null,i("a",{href:a["AndroidAppUrl"],target:"_blank"},i("img",{class:"riktigaAndroidImg",src:a["AndroidImg"]})),i("a",{href:a["IosAppUrl"],target:"_blank"},i("img",{class:"riktigaAppleImg",src:a["IosImg"]})))):null)))}static get watchers(){return{item:["composeItems"]}}};u.style=p;export{u as pn_find_price_result};
2
+ //# sourceMappingURL=p-a63540af.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,g as i,h as t,d as a}from"./p-b3a13b6a.js";const l={sv:{heading:"Prisindikation med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i kilo)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate price with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in kilo)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};const n='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 120 120"><g clip-path="url(#PEX-truck_svg__a)"><path fill="#8EDDF9" d="M0 60C0 26.863 26.863 0 60 0s60 26.863 60 60-26.863 60-60 60S0 93.137 0 60"/><path fill="#0D234B" fill-rule="evenodd" d="M-8 114.461c0-.311.253-.564.564-.564h278.872a.565.565 0 0 1 0 1.128H-7.436a.564.564 0 0 1-.564-.564" clip-rule="evenodd"/><path fill="#000" d="M95.087 114.912c6.804 0 12.319-5.515 12.319-12.319s-5.515-12.32-12.319-12.32c-6.803 0-12.319 5.516-12.319 12.32s5.516 12.319 12.32 12.319"/><path fill="#D3CECB" d="M174.689 105.436H65.757V22h98.463c5.776 0 10.469 4.693 10.469 10.469z"/><path fill="#F3F2F2" d="M133.67 105.436H25.416V32.469C25.416 26.693 30.108 22 35.885 22h97.83v83.436z"/><path fill="#2D2013" d="M65.983 105.436H25.416V32.469C25.416 26.693 30.108 22 35.885 22h94.672z"/><path fill="#000" d="M233.486 106.429H21.264v-4.242a3.235 3.235 0 0 1 3.249-3.249h205.769a3.235 3.235 0 0 1 3.249 3.249v4.242z"/><path fill="#5E554A" fill-rule="evenodd" d="M30.56 88.763h-5.144v-1.128h5.144c1.906 0 3.316 1.715 3.316 3.632 0 1.968-1.415 3.633-3.316 3.633h-5.144v-1.128h5.144c1.167 0 2.188-1.043 2.188-2.505 0-1.422-1.026-2.504-2.188-2.504" clip-rule="evenodd"/><path fill="#00A0D6" d="M63.995 98.848 123.334 22h9.431L73.381 98.938z"/><path fill="#A7A6A6" d="m62.597 22 9.521.045 21.795 28.203-4.783 6.137zM97.706 67.486l4.647-6.092 28.925 37.454-9.295.09z"/><path fill="#000" d="M70.764 105.436H39.493v-3.43c0-8.618 6.994-15.658 15.658-15.658 8.619 0 15.658 6.995 15.658 15.658v3.43z"/><path fill="#000" d="M55.108 114.912c6.804 0 12.32-5.515 12.32-12.319s-5.516-12.32-12.32-12.32c-6.803 0-12.319 5.516-12.319 12.32s5.515 12.319 12.32 12.319"/><path fill="#5E554A" d="M55.017 107.647a5.054 5.054 0 1 0 0-10.108 5.054 5.054 0 0 0 0 10.108"/><path fill="#fff" d="M58.583 58.595h-6.498v1.354h6.498z"/><path fill="#fff" d="M49.466 52.144v14.71h11.19v-1.353H51V53.497h9.386v-1.353zM36.154 66.854v-14.71h5.912c3.52 0 5.234 1.398 5.234 4.286 0 2.979-1.715 4.468-5.234 4.468h-3.294v-1.354h3.294c2.617 0 3.79-.948 3.79-3.068 0-2.076-1.173-2.979-3.79-2.979h-4.378v13.357z"/><path fill="#1798D5" d="m61.877 66.854 11.551-14.71h1.805l-11.506 14.71z"/><path fill="#fff" d="m61.605 52.099 1.85.045 4.241 5.37-.902 1.173zM68.42 60.808l.902-1.128 5.64 7.175h-1.805zM60.522 70.735c0 .586-.406.993-.948.993-.36 0-.496-.18-.496-.18l-.045-.046v.722h-.677v-2.437h.677v.226l.045-.045s.18-.226.587-.226c.496-.045.857.361.857.993m-.722 0c0-.27-.18-.406-.406-.406a.404.404 0 0 0-.406.406c0 .225.18.406.406.406s.406-.18.406-.406m3.068-.045c0 .722-.541.992-1.128.992-.496 0-1.083-.27-1.083-.992s.542-.993 1.129-.993c.541 0 1.082.316 1.082.993m-.676.045c0-.27-.18-.406-.407-.406a.404.404 0 0 0-.406.406c0 .225.18.406.407.406.225 0 .406-.18.406-.406m1.85-.27h-.09c-.181-.046-.271-.046-.271-.136 0-.136.18-.136.316-.136.27 0 .496.09.586.09l.09-.496c-.09 0-.36-.09-.676-.09-.632 0-.993.226-.993.677 0 .316.225.496.722.586.225.046.36.046.36.136 0 .135-.135.135-.27.135-.316 0-.587-.09-.677-.135l-.135.496c.09.045.36.09.722.09.677 0 1.038-.225 1.038-.676 0-.226-.09-.452-.722-.542m1.58-1.13h-.678v2.302h.677V70.33h.361l.316-.542h-.632v-.451zM74.466 69.2v2.482h-.677v-.226l-.045.046s-.18.225-.542.225c-.541 0-.902-.406-.902-.993 0-.586.406-.992.947-.992.361 0 .497.18.497.18l.045.045v-.631zm-.632 1.49a.404.404 0 0 0-.406-.407.404.404 0 0 0-.406.406c0 .271.18.406.406.406.27.046.406-.135.406-.406M70.72 70.69c0 .722-.54.992-1.127.992-.497 0-1.083-.27-1.083-.993 0-.721.541-.992 1.128-.992.541 0 1.083.316 1.083.992m-.676.045c0-.271-.18-.406-.406-.406a.404.404 0 0 0-.406.406c0 .225.18.406.406.406.225 0 .406-.18.406-.406M72.028 70.33c.09 0 .18 0 .226.044v-.586h-.136c-.36 0-.496.225-.496.225l-.045.09v-.315H70.9v1.895h.677v-.903c0-.316.18-.45.451-.45M67.607 69.697c-.406 0-.541.225-.541.225l-.045.09v-.27h-.677v1.895h.677v-.948c0-.27.09-.36.316-.36.27 0 .27.225.27.45v.903h.677V70.51q0-.812-.677-.812"/></g><defs><clipPath id="PEX-truck_svg__a"><path fill="#fff" d="M0 60C0 26.863 26.863 0 60 0s60 26.863 60 60-26.863 60-60 60S0 93.137 0 60"/></clipPath></defs></svg>';const r=n;const c="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pex-pricefinder-top{display:flex;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:flex;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{flex-grow:1;width:100%}.pex-pricefinder-form pn-button{align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:inline-flex;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5e554a;font-size:0.875em;display:flex;justify-content:space-between;align-items:flex-end;cursor:pointer;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";const d=c;const h=class{constructor(i){e(this,i);this.language="sv";this.currency="Kr";this.apiUrl="/api/pex/order";this.i18n=l.sv;this.fromzip=null;this.tozip=null;this.weight=1;this.when="";this.response=null}get hostElement(){return i(this)}componentWillLoad(){this.init()}async init(){this.setInitialTime();this.checkParameters();this.setLanguage()}setInitialTime(){const e=new Date;e.setHours(e.getHours()+1);e.setMinutes(0);const i=e.toLocaleString("sv",{timeZoneName:"short"}).split(" ");this.when=`${i[0]}T${i[1].substring(0,5)}`}checkParameters(){const e=new URLSearchParams(window.location.href);if(!e){return}const i=["fromzip","tozip","weight","when"];i.forEach((i=>{if(e.get(i)){this[i]=e.get(i)}}))}setLanguage(){if(l[this.language]){this.i18n=l[this.language]}}onSubmit(e){e.preventDefault();const i=new FormData(e.target);const t=this.compileRequestQuery(i);this.fetchResult(t)}compileRequestQuery(e){let i={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(!i.when){i.when=this.hostElement.querySelector("input.date-input").value}if(!e.get("fromzip")||!e.get("tozip")||!e.get("weight")){console.error("Form data is not compliant");return}return i}async fetchResult(e){this.response=null;const i=new URLSearchParams(e);const t=await fetch(`${this.apiUrl}?${i.toString()}`,{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this));let a=await t.json().catch(this.onFetchError.bind(this));if(!a){a=await(await import("./p-4c30e4d5.js")).default}if(a){this.response=a}}onFetchError(e){console.error("onFetchError(error",e)}render(){return t(a,{key:"d8c7590c2881951ff1ad6bd5b3f84bb643105924"},t("div",{key:"a7deb12b15992b23ce25eaecc39a4d2804e9a966",class:"pex-pricefinder-top"},t("pn-illustration",{key:"11956f2789a50cced5a13346303c4b664f64c942",illustration:r}),t("h2",{key:"6e5f8667eb519c032e563bb6fa61c147b534398d"},this.i18n.heading)),t("form",{key:"2b1a5178867623e9f0433aa7fa67a29943f95ea2",method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},t("fieldset",{key:"40316e70e7a975477505d643c011d738f5a963c7"},t("div",{key:"be4890ae2e22aaff62cf6741c720accf9282b601"},t("pn-input",{key:"2b2ed1d550e69cdafe40f00fa607bc1bf5ceba7f",type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.fromzip}),t("pn-input",{key:"40fff595b45f3d812bf2a2f87a1f810e48a0c1ee",type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.tozip}))),t("fieldset",{key:"00eb53eaacad98982fac28bc379f27c7adcf9691"},t("div",{key:"a4feb39fe3f16ef531436807be6d6c7528715a4d"},t("pn-input",{key:"b021c2dde4d8a8becdb214427628db09bc568d2d",type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:true,value:this.weight}),t("div",{key:"75e0ea5cc76b990b52ee9c048cce82edcee3b150",class:"datepicker"},t("label",{key:"5ed947645a4d121c80962edc8f04fc57f734ae01",htmlFor:"when"},this.i18n.labelWhen),t("pn-marketweb-input",{key:"3632819a57bff5d0d4c2877cc07ba5c4ebc58db7",inputid:"when",name:"when",type:"datetime-local",min:(new Date).toISOString().split("T")[0],value:this.when})))),t("fieldset",{key:"07b1a952d37eb797edb7cb9a19f91b84d355c2be"},t("div",{key:"125cb0d75fdab946052d29030335bace4cd789c1"},t("pn-button",{key:"8c011340e75e60215f91fcc4cb31edb856c8fb31",type:"submit"},this.i18n.submitButtonText)))),this.response?t("div",{class:"pex-pricefinder-response"},t("strong",null,this.response.data.value," ",this.currency)):null)}};h.style=d;export{h as pn_pex_pricefinder};
2
- //# sourceMappingURL=p-ba75bfdb.entry.js.map
1
+ import{r as e,g as i,h as t,d as a}from"./p-b3a13b6a.js";const l={sv:{heading:"Prisindikation med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i kilo)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate price with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in kilo)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};const n='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 120 120"><g clip-path="url(#PEX-truck_svg__a)"><path fill="#8EDDF9" d="M0 60C0 26.863 26.863 0 60 0s60 26.863 60 60-26.863 60-60 60S0 93.137 0 60"/><path fill="#0D234B" fill-rule="evenodd" d="M-8 114.461c0-.311.253-.564.564-.564h278.872a.565.565 0 0 1 0 1.128H-7.436a.564.564 0 0 1-.564-.564" clip-rule="evenodd"/><path fill="#000" d="M95.087 114.912c6.804 0 12.319-5.515 12.319-12.319s-5.515-12.32-12.319-12.32c-6.803 0-12.319 5.516-12.319 12.32s5.516 12.319 12.32 12.319"/><path fill="#D3CECB" d="M174.689 105.436H65.757V22h98.463c5.776 0 10.469 4.693 10.469 10.469z"/><path fill="#F3F2F2" d="M133.67 105.436H25.416V32.469C25.416 26.693 30.108 22 35.885 22h97.83v83.436z"/><path fill="#2D2013" d="M65.983 105.436H25.416V32.469C25.416 26.693 30.108 22 35.885 22h94.672z"/><path fill="#000" d="M233.486 106.429H21.264v-4.242a3.235 3.235 0 0 1 3.249-3.249h205.769a3.235 3.235 0 0 1 3.249 3.249v4.242z"/><path fill="#5E554A" fill-rule="evenodd" d="M30.56 88.763h-5.144v-1.128h5.144c1.906 0 3.316 1.715 3.316 3.632 0 1.968-1.415 3.633-3.316 3.633h-5.144v-1.128h5.144c1.167 0 2.188-1.043 2.188-2.505 0-1.422-1.026-2.504-2.188-2.504" clip-rule="evenodd"/><path fill="#00A0D6" d="M63.995 98.848 123.334 22h9.431L73.381 98.938z"/><path fill="#A7A6A6" d="m62.597 22 9.521.045 21.795 28.203-4.783 6.137zM97.706 67.486l4.647-6.092 28.925 37.454-9.295.09z"/><path fill="#000" d="M70.764 105.436H39.493v-3.43c0-8.618 6.994-15.658 15.658-15.658 8.619 0 15.658 6.995 15.658 15.658v3.43z"/><path fill="#000" d="M55.108 114.912c6.804 0 12.32-5.515 12.32-12.319s-5.516-12.32-12.32-12.32c-6.803 0-12.319 5.516-12.319 12.32s5.515 12.319 12.32 12.319"/><path fill="#5E554A" d="M55.017 107.647a5.054 5.054 0 1 0 0-10.108 5.054 5.054 0 0 0 0 10.108"/><path fill="#fff" d="M58.583 58.595h-6.498v1.354h6.498z"/><path fill="#fff" d="M49.466 52.144v14.71h11.19v-1.353H51V53.497h9.386v-1.353zM36.154 66.854v-14.71h5.912c3.52 0 5.234 1.398 5.234 4.286 0 2.979-1.715 4.468-5.234 4.468h-3.294v-1.354h3.294c2.617 0 3.79-.948 3.79-3.068 0-2.076-1.173-2.979-3.79-2.979h-4.378v13.357z"/><path fill="#1798D5" d="m61.877 66.854 11.551-14.71h1.805l-11.506 14.71z"/><path fill="#fff" d="m61.605 52.099 1.85.045 4.241 5.37-.902 1.173zM68.42 60.808l.902-1.128 5.64 7.175h-1.805zM60.522 70.735c0 .586-.406.993-.948.993-.36 0-.496-.18-.496-.18l-.045-.046v.722h-.677v-2.437h.677v.226l.045-.045s.18-.226.587-.226c.496-.045.857.361.857.993m-.722 0c0-.27-.18-.406-.406-.406a.404.404 0 0 0-.406.406c0 .225.18.406.406.406s.406-.18.406-.406m3.068-.045c0 .722-.541.992-1.128.992-.496 0-1.083-.27-1.083-.992s.542-.993 1.129-.993c.541 0 1.082.316 1.082.993m-.676.045c0-.27-.18-.406-.407-.406a.404.404 0 0 0-.406.406c0 .225.18.406.407.406.225 0 .406-.18.406-.406m1.85-.27h-.09c-.181-.046-.271-.046-.271-.136 0-.136.18-.136.316-.136.27 0 .496.09.586.09l.09-.496c-.09 0-.36-.09-.676-.09-.632 0-.993.226-.993.677 0 .316.225.496.722.586.225.046.36.046.36.136 0 .135-.135.135-.27.135-.316 0-.587-.09-.677-.135l-.135.496c.09.045.36.09.722.09.677 0 1.038-.225 1.038-.676 0-.226-.09-.452-.722-.542m1.58-1.13h-.678v2.302h.677V70.33h.361l.316-.542h-.632v-.451zM74.466 69.2v2.482h-.677v-.226l-.045.046s-.18.225-.542.225c-.541 0-.902-.406-.902-.993 0-.586.406-.992.947-.992.361 0 .497.18.497.18l.045.045v-.631zm-.632 1.49a.404.404 0 0 0-.406-.407.404.404 0 0 0-.406.406c0 .271.18.406.406.406.27.046.406-.135.406-.406M70.72 70.69c0 .722-.54.992-1.127.992-.497 0-1.083-.27-1.083-.993 0-.721.541-.992 1.128-.992.541 0 1.083.316 1.083.992m-.676.045c0-.271-.18-.406-.406-.406a.404.404 0 0 0-.406.406c0 .225.18.406.406.406.225 0 .406-.18.406-.406M72.028 70.33c.09 0 .18 0 .226.044v-.586h-.136c-.36 0-.496.225-.496.225l-.045.09v-.315H70.9v1.895h.677v-.903c0-.316.18-.45.451-.45M67.607 69.697c-.406 0-.541.225-.541.225l-.045.09v-.27h-.677v1.895h.677v-.948c0-.27.09-.36.316-.36.27 0 .27.225.27.45v.903h.677V70.51q0-.812-.677-.812"/></g><defs><clipPath id="PEX-truck_svg__a"><path fill="#fff" d="M0 60C0 26.863 26.863 0 60 0s60 26.863 60 60-26.863 60-60 60S0 93.137 0 60"/></clipPath></defs></svg>';const r=n;const d="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pex-pricefinder-top{display:flex;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:flex;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{flex-grow:1;width:100%}.pex-pricefinder-form pn-button{align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:inline-flex;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5e554a;font-size:0.875em;display:flex;justify-content:space-between;align-items:flex-end;cursor:pointer;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";const c=d;const h=class{constructor(i){e(this,i);this.language="sv";this.currency="Kr";this.apiUrl="/api/pex/order";this.i18n=l.sv;this.fromzip=null;this.tozip=null;this.weight=1;this.when="";this.response=null}get hostElement(){return i(this)}componentWillLoad(){this.init()}async init(){this.setInitialTime();this.checkParameters();this.setLanguage()}setInitialTime(){const e=new Date;e.setHours(e.getHours()+1);e.setMinutes(0);const i=e.toLocaleString("sv",{timeZoneName:"short"}).split(" ");this.when=`${i[0]}T${i[1].substring(0,5)}`}checkParameters(){const e=new URLSearchParams(window.location.href);if(!e){return}const i=["fromzip","tozip","weight","when"];i.forEach((i=>{if(e.get(i)){this[i]=e.get(i)}}))}setLanguage(){if(l[this.language]){this.i18n=l[this.language]}}onSubmit(e){e.preventDefault();const i=new FormData(e.target);const t=this.compileRequestQuery(i);this.fetchResult(t)}compileRequestQuery(e){let i={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(!i.when){i.when=this.hostElement.querySelector("input.date-input").value}if(!e.get("fromzip")||!e.get("tozip")||!e.get("weight")){console.error("Form data is not compliant");return}return i}async fetchResult(e){this.response=null;const i=new URLSearchParams(e);const t=await fetch(`${this.apiUrl}?${i.toString()}`,{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this));let a=await t.json().catch(this.onFetchError.bind(this));if(!a){a=await(await import("./p-4c30e4d5.js")).default}if(a){this.response=a}}onFetchError(e){console.error("onFetchError(error",e)}render(){return t(a,{key:"07ebd8d6255c1152a3c391462055d5de2cc732fd"},t("div",{key:"da47c58cdbf755ee85bc5a951f8b9f5811279097",class:"pex-pricefinder-top"},t("pn-illustration",{key:"47edf0059307429874abb8847f1f8e4e705f945f",illustration:r}),t("h2",{key:"62c2de74f8faad097c11349908d9392178a0f4f7"},this.i18n.heading)),t("form",{key:"08678b12dee5299dbdea1567ebd244b3643b26f7",method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},t("fieldset",{key:"9b4ccb866040e402630130d0c2d6c3d0fda95789"},t("div",{key:"1c6a287986bbad27e96307f70a0301bdb104aecb"},t("pn-input",{key:"36a46d8941bc7d0b9b52e76d50208664f8b84336",type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.fromzip}),t("pn-input",{key:"e05764b4de7dbd58148e073097047a4326afa92e",type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.tozip}))),t("fieldset",{key:"f41afe2b0fe4d6aaaf7e77b78c0fd240d6a963c5"},t("div",{key:"2a6a2785b70b4a3d4d78bc9c18ef31d7902442cf"},t("pn-input",{key:"b2e1b8fde55ad622c4b09954a7039cd40d405c3a",type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:true,value:this.weight}),t("div",{key:"68361172baa45049917667b4f5a02d9b1d9155ae",class:"datepicker"},t("label",{key:"390e0c47251f75ea230c3c6ef54b6e081193a7af",htmlFor:"when"},this.i18n.labelWhen),t("pn-marketweb-input",{key:"09da4ba47f8a6b309f790114f4cf123457f55c38",inputid:"when",name:"when",type:"datetime-local",min:(new Date).toISOString().split("T")[0],value:this.when})))),t("fieldset",{key:"def4b4966f36bce8682ae2f1c7c90c315cd8cb17"},t("div",{key:"072a781a61287d51b515449405fd8c6c5e751b8c"},t("pn-button",{key:"e10166d33057271cca7d77efa7e473c6f79d3ec5",type:"submit"},this.i18n.submitButtonText)))),this.response?t("div",{class:"pex-pricefinder-response"},t("strong",null,this.response.data.value," ",this.currency)):null)}};h.style=c;export{h as pn_pex_pricefinder};
2
+ //# sourceMappingURL=p-acc1acbc.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,g as t,h as o,d as i}from"./p-b3a13b6a.js";import{s as p}from"./p-70a9d4eb.js";import"./p-2132ad75.js";const n="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-profile-modal-type{display:flex;width:100%;padding:3.2rem 0 1.2rem;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:flex;opacity:1}";const r=n;const a=class{constructor(t){e(this,t);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}get hostElement(){return t(this)}onSelectedChange(){if(this.selected){p.selectedType=this.name}p.selectedProfile="";[...this.hostElement.querySelectorAll("pn-profile-modal-profile")].map((e=>{e.setAttribute("selected","false")}))}render(){return o(i,{key:"508c07126e8162c837f8e5f4e1f5c18b715ec6af",selected:(p.selectedType===this.name)+"","selected-profile":p.selectedProfile+""},o("slot",{key:"85585a1afb75ca92ab2f1d19b8eec9f1a89d9d93"}))}static get watchers(){return{selected:["onSelectedChange"]}}};a.style=r;export{a as pn_profile_modal_type};
2
- //# sourceMappingURL=p-43748ca2.entry.js.map
1
+ import{r as e,g as t,h as o,d as i}from"./p-b3a13b6a.js";import{s as p}from"./p-70a9d4eb.js";import"./p-2132ad75.js";const d="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-profile-modal-type{display:flex;width:100%;padding:3.2rem 0 1.2rem;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:flex;opacity:1}";const n=d;const r=class{constructor(t){e(this,t);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}get hostElement(){return t(this)}onSelectedChange(){if(this.selected){p.selectedType=this.name}p.selectedProfile="";[...this.hostElement.querySelectorAll("pn-profile-modal-profile")].map((e=>{e.setAttribute("selected","false")}))}render(){return o(i,{key:"d34b3a25b0f60ac52c17bdcb1989ef59f6131c9b",selected:(p.selectedType===this.name)+"","selected-profile":p.selectedProfile+""},o("slot",{key:"d91f5074b557b20bdeab4d2359a054490cee2711"}))}static get watchers(){return{selected:["onSelectedChange"]}}};r.style=n;export{r as pn_profile_modal_type};
2
+ //# sourceMappingURL=p-b1711fab.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,g as e,h as t,d as i}from"./p-b3a13b6a.js";import{a as n}from"./p-36b39340.js";const r="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-profile-selector-option{display:flex;width:100%;border-bottom:1px solid #d3cecb;padding:1.2rem 0}pn-profile-selector-option:first-of-type{margin-top:2.4rem}pn-profile-selector-option:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-selector-option:last-of-type .profileselectoroption{padding-bottom:0}.profileselectoroption{display:flex;width:100%;padding:1.2rem 0;text-decoration:none}.profileselectoroption pn-icon{align-self:center;position:relative;transform:translateX(-1rem);transition:transform 0.25s linear}.profileselectoroption:hover .profileselectoroption-name,.profileselectoroption:focus .profileselectoroption-name,.profileselectoroption:active .profileselectoroption-name{text-decoration:underline}.profileselectoroption:hover pn-icon,.profileselectoroption:focus pn-icon,.profileselectoroption:active pn-icon{transform:none;transition-timing-function:ease}.profileselectoroption-text{flex-grow:1;display:flex;flex-direction:column}.profileselectoroption-title{font-size:1em;color:#005d92;font-weight:700}.profileselectoroption-description{font-size:0.75em;color:#5e554a;font-weight:normal}";const p=r;const l=class{constructor(e){o(this,e);this.heading="";this.description="";this.url=""}get hostElement(){return e(this)}render(){return t(i,{key:"09389e4a80206104707e892a835c693ee9212c60"},t("a",{key:"381145fb3ee193de40c386f2b02159cba7495eaa",class:"profileselectoroption",href:this.url},t("span",{key:"0a542a23fd4698084f0935e8cdaff0e2c6f73dca",class:"profileselectoroption-text"},t("span",{key:"9f31d793892636a071aca05f6468bf3f4ed28d5f",class:"profileselectoroption-title"},this.heading),t("span",{key:"1f0f620da8ccfc10ee8c0bef8a5f5e283804c928",class:"profileselectoroption-description"},this.description)),t("pn-icon",{key:"4d1219b9f3730bd6e822e5e1483784d5f565a9a3",icon:n,small:"false",color:"blue700"})))}};l.style=p;export{l as pn_profile_selector_option};
2
- //# sourceMappingURL=p-8519e39e.entry.js.map
1
+ import{r as o,g as e,h as t,d as i}from"./p-b3a13b6a.js";import{a as n}from"./p-36b39340.js";const r="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-profile-selector-option{display:flex;width:100%;border-bottom:1px solid #d3cecb;padding:1.2rem 0}pn-profile-selector-option:first-of-type{margin-top:2.4rem}pn-profile-selector-option:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-selector-option:last-of-type .profileselectoroption{padding-bottom:0}.profileselectoroption{display:flex;width:100%;padding:1.2rem 0;text-decoration:none}.profileselectoroption pn-icon{align-self:center;position:relative;transform:translateX(-1rem);transition:transform 0.25s linear}.profileselectoroption:hover .profileselectoroption-name,.profileselectoroption:focus .profileselectoroption-name,.profileselectoroption:active .profileselectoroption-name{text-decoration:underline}.profileselectoroption:hover pn-icon,.profileselectoroption:focus pn-icon,.profileselectoroption:active pn-icon{transform:none;transition-timing-function:ease}.profileselectoroption-text{flex-grow:1;display:flex;flex-direction:column}.profileselectoroption-title{font-size:1em;color:#005d92;font-weight:700}.profileselectoroption-description{font-size:0.75em;color:#5e554a;font-weight:normal}";const p=r;const l=class{constructor(e){o(this,e);this.heading="";this.description="";this.url=""}get hostElement(){return e(this)}render(){return t(i,{key:"6a1e95708ba147a93a6ac0e544dbd7f6f61647d1"},t("a",{key:"7430ae995542af9b1927b90e146490d843010a8a",class:"profileselectoroption",href:this.url},t("span",{key:"101b73aa01824a472815e2c8747ec79a702e3103",class:"profileselectoroption-text"},t("span",{key:"3eaf275bea4d52405af0100d9813090a2a981fcc",class:"profileselectoroption-title"},this.heading),t("span",{key:"e81156b324fa11b6fd771bf8cd0791fe02186a37",class:"profileselectoroption-description"},this.description)),t("pn-icon",{key:"d0398d42a16a13eba52b0ed89e05275712042164",icon:n,small:"false",color:"blue700"})))}};l.style=p;export{l as pn_profile_selector_option};
2
+ //# sourceMappingURL=p-b5f781c4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,g as t,h as o,d as r}from"./p-b3a13b6a.js";import{a as i,b as n}from"./p-5f4ccd8a.js";const s={sv:{toggleLinkTitleText:`Välj kundnummer`},en:{toggleLinkTitleText:`Choose customernumber`},da:{toggleLinkTitleText:`Vælg kundenummer`},no:{toggleLinkTitleText:`Velg kundenummer`},fi:{toggleLinkTitleText:`Valitse asiakasnumero`},de:{toggleLinkTitleText:`Kundennummer auswählen`}};const a="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.customernumber-container{position:relative;padding:0;display:flex;flex-direction:column;border-radius:0.8rem;border:0.1rem solid #969087;transition:border 0.15s ease}.customernumber-container:hover,pn-customernumber-selector[open] .customernumber-container{border-color:#005d92}pn-customernumber-selector[open] .customernumber-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.customernumber-toggle{display:flex;z-index:11;position:relative;margin:0;border-radius:0.8rem;padding:1rem;border:0;background:transparent;font-size:1em;text-align:left;outline:0;cursor:pointer}.customernumber-toggle pn-icon{align-self:center}.customernumber-selected{flex-grow:1;max-width:calc(100% - 2.4rem);overflow:hidden}.customernumber-selected-title{color:#005d92}.customernumber-selected-description{font-size:0.875em;width:100%;overflow:hidden;text-overflow:ellipsis}.customernumber-options{position:absolute;z-index:10;left:-0.1rem;right:-0.1rem;top:100%;border:0.1rem solid #005d92;border-bottom-left-radius:0.8rem;border-bottom-right-radius:0.8rem;max-height:0;opacity:0;transform-origin:top left;transition:transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s, opacity 0.1s linear, max-height 0.1s ease;overflow-y:auto}pn-customernumber-selector[open] .customernumber-options{opacity:1;transition-delay:0s;max-height:500rem}";const c=a;const d=class{constructor(t){e(this,t);this.language="sv";this.open=false;this.heading="";this.description="";this.i18n=s["en"]}get hostElement(){return t(this)}componentWillLoad(){this.init()}init(){this.setTranslations()}setTranslations(){if(this.language&&s[this.language]){this.i18n=s[this.language]}}render(){return o(r,{key:"4ed4d098d46f3f43275f4d67b863988c0b213277"},o("div",{key:"b1e7ca84ba39d50e6c22fc8106c0c874ac455259",class:"customernumber-container"},o("button",{key:"3df56551a19812d700f72f9292be9255608050a4",class:"customernumber-toggle","aria-label":this.i18n.toggleLinkTitleText,onClick:()=>this.open=!this.open},o("div",{key:"8bac61ed907a1a997ca05a27f02abec4f8552a31",class:"customernumber-selected"},o("strong",{key:"778d6a52e2abac5451cec5de7e41d45bfc7c5c3d",class:"customernumber-selected-title"},this.heading),o("div",{key:"3861b91b4cba5396c2ac11adf5e0325fe995afd5",class:"customernumber-selected-description"},this.description)),o("pn-icon",{key:"e71afd8c90fcf3fe80a4260898c865180431dc5c",icon:this.open?i:n,small:"false",color:"blue700"})),o("div",{key:"0a1ba423416e5b2a3d28a3b0a1701fd7173c02f5",class:"customernumber-options"},o("slot",{key:"3541a01d558b3df7f757bcaafa10849eabd8edbc"}))))}};d.style=c;export{d as pn_customernumber_selector};
2
- //# sourceMappingURL=p-c186ec41.entry.js.map
1
+ import{r as e,g as t,h as o,d as r}from"./p-b3a13b6a.js";import{a as i,b as n}from"./p-5f4ccd8a.js";const s={sv:{toggleLinkTitleText:`Välj kundnummer`},en:{toggleLinkTitleText:`Choose customernumber`},da:{toggleLinkTitleText:`Vælg kundenummer`},no:{toggleLinkTitleText:`Velg kundenummer`},fi:{toggleLinkTitleText:`Valitse asiakasnumero`},de:{toggleLinkTitleText:`Kundennummer auswählen`}};const d="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.customernumber-container{position:relative;padding:0;display:flex;flex-direction:column;border-radius:0.8rem;border:0.1rem solid #969087;transition:border 0.15s ease}.customernumber-container:hover,pn-customernumber-selector[open] .customernumber-container{border-color:#005d92}pn-customernumber-selector[open] .customernumber-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.customernumber-toggle{display:flex;z-index:11;position:relative;margin:0;border-radius:0.8rem;padding:1rem;border:0;background:transparent;font-size:1em;text-align:left;outline:0;cursor:pointer}.customernumber-toggle pn-icon{align-self:center}.customernumber-selected{flex-grow:1;max-width:calc(100% - 2.4rem);overflow:hidden}.customernumber-selected-title{color:#005d92}.customernumber-selected-description{font-size:0.875em;width:100%;overflow:hidden;text-overflow:ellipsis}.customernumber-options{position:absolute;z-index:10;left:-0.1rem;right:-0.1rem;top:100%;border:0.1rem solid #005d92;border-bottom-left-radius:0.8rem;border-bottom-right-radius:0.8rem;max-height:0;opacity:0;transform-origin:top left;transition:transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s, opacity 0.1s linear, max-height 0.1s ease;overflow-y:auto}pn-customernumber-selector[open] .customernumber-options{opacity:1;transition-delay:0s;max-height:500rem}";const a=d;const c=class{constructor(t){e(this,t);this.language="sv";this.open=false;this.heading="";this.description="";this.i18n=s["en"]}get hostElement(){return t(this)}componentWillLoad(){this.init()}init(){this.setTranslations()}setTranslations(){if(this.language&&s[this.language]){this.i18n=s[this.language]}}render(){return o(r,{key:"bbd904651e0633f63710fb35c55a2111d5d11b6d"},o("div",{key:"1886681049eeb333415707e03fd0be499d6c8a23",class:"customernumber-container"},o("button",{key:"4d19bb8b8db7572bc458789a9f8b29cb7997271f",class:"customernumber-toggle","aria-label":this.i18n.toggleLinkTitleText,onClick:()=>this.open=!this.open},o("div",{key:"f6f279cebff751b9e2dff23d20f549fb45e08e94",class:"customernumber-selected"},o("strong",{key:"8559bcaca559b178eca30bcc369801fdf7de13fc",class:"customernumber-selected-title"},this.heading),o("div",{key:"4da037f182af3504e48dde62ccd34f1f92061589",class:"customernumber-selected-description"},this.description)),o("pn-icon",{key:"e07f3077cc6e42a2f8439952ab892d978bb47da9",icon:this.open?i:n,small:"false",color:"blue700"})),o("div",{key:"51e476f711faea616d1943d47223f3e2a1393bad",class:"customernumber-options"},o("slot",{key:"b8dcd760530fedfe50fb5bc17be55e0d296e8668"}))))}};c.style=a;export{c as pn_customernumber_selector};
2
+ //# sourceMappingURL=p-be57debf.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as M,h as N}from"./p-b3a13b6a.js";import{f as I,s as D,w as i}from"./p-f49e0b32.js";import{c as j}from"./p-63ff7fa2.js";import{s as g}from"./p-4bd72b91.js";import"./p-2132ad75.js";const z={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};const T={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};const y="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQzLjMxNDMgMTAuNzg5NUM0My4zMTQzIDEyLjk2MDkgNDEuOTg4MSAxNC43MjUyIDQwLjM1NTkgMTQuNzI1MkgzNS45NjkyQzM0LjMzNjkgMTQuNzI1MiAzMy4wMTA3IDEyLjk2MDkgMzMuMDEwNyAxMC43ODk1QzMzLjAxMDcgOC42MTgwNCAzNC4zMzY5IDYuODUzNzYgMzUuOTY5MiA2Ljg1Mzc2SDQwLjM1NTlDNDIuMDM5MSA2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:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price .sizeTable{background-color:transparent !important;border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price .findprice-form fieldset{border:none}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005d92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:flex;align-items:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{align-content:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:"Max  ";font-weight:lighter}pn-find-price .resultlist{margin:3.2rem 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005d92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0d234b;text-decoration:underline}';const L=O;const t=class{constructor(N){M(this,N);this.source=I;this.language="sv";this.market="se";this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.sourceData={types:[],data:[]};this.sizecategory={value:"",name:"",icon:"",unit:""}}componentWillLoad(){this.setState();this.getDataSource()}async getDataSource(){const M=`?cache=${Math.floor(Math.random()*(1e4-1)+1)}`;const N=await fetch(this.source+M);const I=await N.blob();try{const M=await j(I);this.sourceData=M;this.sizecategory=D.filter((M=>M.value==="Small"))[0];this.filterItems()}catch(M){console.log("Unable to parse data")}}setState(){if(this.market){g.market=T[this.market]}if(this.language&&z[this.language]){g.i18n=z[this.language]}}filterItems(){if(!this.sourceData?.data){console.log("Data has not yet been loaded");return}const M=this.sourceData.data.filter((M=>M.deliveryscope.toLocaleLowerCase()===g.market.country.toLocaleLowerCase()));if(!this.sizecategory){return}const N=M.filter((M=>M.sizecategory.toLocaleLowerCase()===this.sizecategory.value.toLocaleLowerCase()));if(!this.weight){return}const I=this.weight.value<=20?this.weight.value*1e3:this.weight.value;let D=N.filter((M=>(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===I));if(this.weightvalue!==0){let M=N.filter((M=>M.maxweight.toString().includes("upto"))).filter((M=>Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-I>=0));D=D.concat(M)}if(D.length===0&&this.weightvalue!==0){D=N.filter((M=>(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=I));if(D.length>0){D.sort(((M,N)=>M.maxweight-N.maxweight));const M=[...new Map(D.reverse().map((M=>[M["id"],M]))).values()];if(M.length>0){D=M}}}D.sort(((M,N)=>{var I=M.rank?M.rank:1e4;var D=N.rank?N.rank:1e4;var i=M.highestrankusp?M.highestrankusp:"z";var j=N.highestrankusp?N.highestrankusp:"z";const g=i.localeCompare(j);const z=I-D;return g||z}));this.filteredItems=D}render(){return N("div",{key:"a87272a9316766c7cc8770bba1becf578619c731",class:"findprice-form"},N("fieldset",{key:"20302323f0f34aebc4c7c3642ef0a4f320d936e8"},N("legend",{key:"5333ad2f3d610f1d5e15515f1c73ab34a4f3bab9",class:"heading"},g.i18n.sizeheading),N("div",{key:"f738d920077c9c429d1f86d0a55e2f346585c748",class:"sizecategory"},N("table",{key:"6b99b8ade6780a8764f008c770667f7a19fd166f",class:"sizeTable"},N("img",{key:"5814f6873d2a7b5cf3c7c28cecff36d6448b1462",id:"clouds",src:c}),N("tr",{key:"7ecbe06255270535921cf41d3db05248a39dacb1"},N("td",{key:"69af4b42b2cf107a6cfdcc35ecef0fe7b12e7993"},N("img",{key:"54ab7b49042eb56f3642d843bd205df95b433c9b",class:"firstCell",src:A})),N("td",{key:"3fd6c96b6c8af274da0b772263f050b15213feb9"},N("img",{key:"d329ec0a1023936fa32a5e1f8b7abadc804cadfb",src:y})),N("td",{key:"802dfcc72142e0ae660d33a153dae4550ef88b5d"},N("img",{key:"629121a3fad3ef08e7a70b634bf24bd06d9b25bd",src:e})),N("td",{key:"977429a1b104886f653b779142d35f9205e14c26"},N("img",{key:"9adcdb575095ae89ab6d422b0b2ae7cf882d6bac",src:u}))),N("tr",{key:"43fb37f9188445510f9aad5dd9c8205de49271bc"},N("td",{key:"7c0a22d52384a6030888eb9c26ffa0779f2f6b8d"}),D.map((M=>N("td",null,N("pn-radio-button",{id:"findpricecategory-"+M.value,radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=D.filter((N=>N.value===M.value))[0];this.weight={value:0,name:""};this.weightvalue=this.weight.value}})))))))),N("fieldset",{key:"cf8eeff6d0f5737d2b977b6176886b64b4dd044d"},N("legend",{key:"129f078e7ef8588f74f29ce3600d310542bac761",class:"heading"},g.i18n.weightheading),this.sizecategory.value&&i[this.sizecategory.unit]?N("div",{class:"weightoption"},N("div",{class:"weightoption-content"},i[this.sizecategory.unit].map((M=>N("pn-choice-button",{id:"findpriceweight-"+M.value,choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:!this.weight.value?0:i[this.sizecategory.unit].findIndex((M=>M.value===this.weightvalue)),checked:M.value===this.weight.value,onChange:()=>{this.weight=i[this.sizecategory.unit].filter((N=>N.value===M.value))[0];this.weightvalue=this.weight.value}},M.name))))):null,this.filteredItems&&this.filteredItems.length>0?N("div",{class:"resultlist"},g.i18n.resultlistheading?N("div",{class:"resultHeading"},g.i18n.resultlistheading):null,this.filteredItems.map((M=>N("div",null,N("pn-find-price-result",{item:M}))))):null))}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};t.style=L;export{t as pn_find_price};
2
- //# sourceMappingURL=p-6b557670.entry.js.map
1
+ import{r as M,h as N}from"./p-b3a13b6a.js";import{f as I,s as D,w as i}from"./p-f49e0b32.js";import{c as j}from"./p-63ff7fa2.js";import{s as g}from"./p-4bd72b91.js";import"./p-2132ad75.js";const z={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};const T={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};const y="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0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DI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";const O='@charset "UTF-8";pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price .sizeTable{background-color:transparent !important;border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price .findprice-form fieldset{border:none}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005d92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:flex;align-items:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{align-content:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:"Max  ";font-weight:lighter}pn-find-price .resultlist{margin:3.2rem 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005d92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0d234b;text-decoration:underline}';const L=O;const t=class{constructor(N){M(this,N);this.source=I;this.language="sv";this.market="se";this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.sourceData={types:[],data:[]};this.sizecategory={value:"",name:"",icon:"",unit:""}}componentWillLoad(){this.setState();this.getDataSource()}async getDataSource(){const M=`?cache=${Math.floor(Math.random()*(1e4-1)+1)}`;const N=await fetch(this.source+M);const I=await N.blob();try{const M=await j(I);this.sourceData=M;this.sizecategory=D.filter((M=>M.value==="Small"))[0];this.filterItems()}catch(M){console.log("Unable to parse data")}}setState(){if(this.market){g.market=T[this.market]}if(this.language&&z[this.language]){g.i18n=z[this.language]}}filterItems(){if(!this.sourceData?.data){console.log("Data has not yet been loaded");return}const M=this.sourceData.data.filter((M=>M.deliveryscope.toLocaleLowerCase()===g.market.country.toLocaleLowerCase()));if(!this.sizecategory){return}const N=M.filter((M=>M.sizecategory.toLocaleLowerCase()===this.sizecategory.value.toLocaleLowerCase()));if(!this.weight){return}const I=this.weight.value<=20?this.weight.value*1e3:this.weight.value;let D=N.filter((M=>(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===I));if(this.weightvalue!==0){let M=N.filter((M=>M.maxweight.toString().includes("upto"))).filter((M=>Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-I>=0));D=D.concat(M)}if(D.length===0&&this.weightvalue!==0){D=N.filter((M=>(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=I));if(D.length>0){D.sort(((M,N)=>M.maxweight-N.maxweight));const M=[...new Map(D.reverse().map((M=>[M["id"],M]))).values()];if(M.length>0){D=M}}}D.sort(((M,N)=>{var I=M.rank?M.rank:1e4;var D=N.rank?N.rank:1e4;var i=M.highestrankusp?M.highestrankusp:"z";var j=N.highestrankusp?N.highestrankusp:"z";const g=i.localeCompare(j);const z=I-D;return g||z}));this.filteredItems=D}render(){return N("div",{key:"1d83da6b02b97a358ac624274e23327425021881",class:"findprice-form"},N("fieldset",{key:"5397d6ed6b45b9e62bc77daabd8ef37b79e3fc1b"},N("legend",{key:"e2eccc63568642955ee091206748ea8f0e782d3c",class:"heading"},g.i18n.sizeheading),N("div",{key:"68f1039882f0066e2669994bc03a01790b235b94",class:"sizecategory"},N("table",{key:"7cda02f149431d7023c86a74b9a9e4d6a7b7e970",class:"sizeTable"},N("img",{key:"1347d8df9b11259f7366bcc40a0d43fc9f02c334",id:"clouds",src:c}),N("tr",{key:"92cd6c7463294fa22c28ae1c9a8ff1720d9d36b5"},N("td",{key:"a196790e22196e6883f93281469f845959c278a3"},N("img",{key:"39b4f6d3c5c7753dad3baf44f0b2181c6d3f20be",class:"firstCell",src:A})),N("td",{key:"18df7943ef469dd5c006123cc3c4a854c9aeaec9"},N("img",{key:"f542102147239b98f1e5badac416e98f04a029a2",src:y})),N("td",{key:"6d254cb13fe79792d75260c55571babba8be240f"},N("img",{key:"f4d33734b8463364d881f8ea89a32aba6fb8b225",src:e})),N("td",{key:"10f727f4642740fb36383d46db7f2a1934d36cae"},N("img",{key:"fe644f43c78035a32d5a4244ec1d0bd64df4385f",src:u}))),N("tr",{key:"79486d239522adba8e6331c9fefc4ffcd62758ea"},N("td",{key:"feac9e89feee808253b422d51d231e41ac3d9f5b"}),D.map((M=>N("td",null,N("pn-radio-button",{id:"findpricecategory-"+M.value,radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=D.filter((N=>N.value===M.value))[0];this.weight={value:0,name:""};this.weightvalue=this.weight.value}})))))))),N("fieldset",{key:"7429534bdbadef6704acc7a900d06d1a976825bc"},N("legend",{key:"1e2c491db6bf124f282c89a6e5b2c05512630485",class:"heading"},g.i18n.weightheading),this.sizecategory.value&&i[this.sizecategory.unit]?N("div",{class:"weightoption"},N("div",{class:"weightoption-content"},i[this.sizecategory.unit].map((M=>N("pn-choice-button",{id:"findpriceweight-"+M.value,choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:!this.weight.value?0:i[this.sizecategory.unit].findIndex((M=>M.value===this.weightvalue)),checked:M.value===this.weight.value,onChange:()=>{this.weight=i[this.sizecategory.unit].filter((N=>N.value===M.value))[0];this.weightvalue=this.weight.value}},M.name))))):null,this.filteredItems&&this.filteredItems.length>0?N("div",{class:"resultlist"},g.i18n.resultlistheading?N("div",{class:"resultHeading"},g.i18n.resultlistheading):null,this.filteredItems.map((M=>N("div",null,N("pn-find-price-result",{item:M}))))):null))}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};t.style=L;export{t as pn_find_price};
2
+ //# sourceMappingURL=p-c4059cc1.entry.js.map