@postnord/pn-marketweb-components 2.1.0 → 2.1.2

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 (158) hide show
  1. package/cjs/{data-b5ef4f7c.js → data-4fa6b08d.js} +2 -2
  2. package/cjs/loader.cjs.js +1 -1
  3. package/cjs/pn-find-price-result.cjs.entry.js +4 -4
  4. package/cjs/{pn-find-price-store-0b8c195c.js → pn-find-price-store-a91ce3f6.js} +2 -2
  5. package/cjs/pn-find-price.cjs.entry.js +7 -7
  6. package/cjs/pn-language-selector_9.cjs.entry.js +32 -19
  7. package/cjs/pn-market-web-components.cjs.js +1 -1
  8. package/cjs/{pn-marketweb-siteheader-login-links_2.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +109 -18
  9. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +27 -15
  10. package/cjs/pn-marketweb-siteheader.cjs.entry.js +74 -58
  11. package/cjs/{pn-product-card_4.cjs.entry.js → pn-product-card_3.cjs.entry.js} +0 -18
  12. package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
  13. package/cjs/pn-proxio-findprice-result.cjs.entry.js +63 -0
  14. package/cjs/pn-proxio-findprice.cjs.entry.js +311 -0
  15. package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -22
  16. package/cjs/pn-titletag.cjs.entry.js +24 -0
  17. package/cjs/translations-585711ff.js +21 -0
  18. package/collection/collection-manifest.json +5 -0
  19. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.css +0 -0
  20. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +47 -0
  21. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +27 -13
  22. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +51 -16
  23. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +32 -23
  24. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.css +0 -0
  25. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +55 -0
  26. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +112 -25
  27. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.css +0 -0
  28. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +88 -0
  29. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +33 -0
  30. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +26 -4
  31. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -4
  32. package/collection/components/layout-components/pn-marketweb-siteheader/translations.js +67 -55
  33. package/collection/components/layout-components/pn-marketweb-siteheader/unifiedLoginHelper.js +46 -0
  34. package/collection/components/widgets/pn-find-price/data.js +2 -2
  35. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +7 -7
  36. package/collection/components/widgets/pn-find-price/pn-find-price-store.js +2 -2
  37. package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +5 -5
  38. package/collection/components/widgets/pn-proxio-findprice/data.js +52 -0
  39. package/collection/components/widgets/pn-proxio-findprice/find-price.stories.js +27 -0
  40. package/collection/components/widgets/pn-proxio-findprice/img/clouds.svg +5 -0
  41. package/collection/components/widgets/pn-proxio-findprice/img/large-package.svg +9 -0
  42. package/collection/components/widgets/pn-proxio-findprice/img/medium-package.svg +9 -0
  43. package/collection/components/widgets/pn-proxio-findprice/img/postnord-person1.svg +52 -0
  44. package/collection/components/widgets/pn-proxio-findprice/img/postnord-person2.svg +56 -0
  45. package/collection/components/widgets/pn-proxio-findprice/img/small-package.svg +23 -0
  46. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +9 -0
  47. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +234 -0
  48. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.js +29 -0
  49. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.js +106 -0
  50. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.js +1 -0
  51. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +119 -0
  52. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +250 -0
  53. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +3 -0
  54. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -0
  55. package/collection/globals/MarketWebLoginManager.js +1 -1
  56. package/custom-elements/index.d.ts +30 -0
  57. package/custom-elements/index.js +775 -273
  58. package/esm/{data-9c9c5f41.js → data-059c2a58.js} +2 -2
  59. package/esm/loader.js +1 -1
  60. package/esm/pn-find-price-result.entry.js +4 -4
  61. package/esm/{pn-find-price-store-b4556c9b.js → pn-find-price-store-bde5071d.js} +2 -2
  62. package/esm/pn-find-price.entry.js +7 -7
  63. package/esm/pn-language-selector_9.entry.js +32 -19
  64. package/esm/pn-market-web-components.js +1 -1
  65. package/esm/{pn-marketweb-siteheader-login-links_2.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +107 -19
  66. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +27 -15
  67. package/esm/pn-marketweb-siteheader.entry.js +74 -58
  68. package/esm/{pn-product-card_4.entry.js → pn-product-card_3.entry.js} +2 -19
  69. package/esm/pn-product-pricelist.entry.js +1 -1
  70. package/esm/pn-proxio-findprice-result.entry.js +59 -0
  71. package/esm/pn-proxio-findprice.entry.js +307 -0
  72. package/esm/pn-proxio-pricegroup.entry.js +3 -19
  73. package/esm/pn-titletag.entry.js +20 -0
  74. package/esm/translations-022fefa0.js +19 -0
  75. package/esm-es5/{data-9c9c5f41.js → data-059c2a58.js} +1 -1
  76. package/esm-es5/loader.js +1 -1
  77. package/esm-es5/pn-find-price-result.entry.js +1 -1
  78. package/esm-es5/{pn-find-price-store-b4556c9b.js → pn-find-price-store-bde5071d.js} +1 -1
  79. package/esm-es5/pn-find-price.entry.js +1 -1
  80. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  81. package/esm-es5/pn-market-web-components.js +1 -1
  82. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -0
  83. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  84. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  85. package/esm-es5/pn-product-card_3.entry.js +1 -0
  86. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  87. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -0
  88. package/esm-es5/pn-proxio-findprice.entry.js +1 -0
  89. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  90. package/esm-es5/pn-titletag.entry.js +1 -0
  91. package/esm-es5/translations-022fefa0.js +1 -0
  92. package/package.json +2 -2
  93. package/pn-market-web-components/p-10eafcd7.entry.js +1 -0
  94. package/pn-market-web-components/p-2b4c41aa.system.entry.js +1 -0
  95. package/pn-market-web-components/p-3120cc66.system.entry.js +1 -0
  96. package/pn-market-web-components/{p-37017f68.system.js → p-3738a2df.system.js} +1 -1
  97. package/pn-market-web-components/p-3969ec4d.entry.js +1 -0
  98. package/pn-market-web-components/{p-0b0727dc.entry.js → p-39b54d40.entry.js} +1 -1
  99. package/pn-market-web-components/p-499bb3ac.entry.js +1 -0
  100. package/pn-market-web-components/p-4a03854b.system.entry.js +1 -0
  101. package/pn-market-web-components/p-4b0020a0.system.entry.js +1 -0
  102. package/pn-market-web-components/p-557328e3.system.entry.js +1 -0
  103. package/pn-market-web-components/{p-ac0e3c22.system.entry.js → p-59be826b.system.entry.js} +1 -1
  104. package/pn-market-web-components/p-67887512.system.js +1 -1
  105. package/pn-market-web-components/p-6995075c.entry.js +1 -0
  106. package/pn-market-web-components/p-8afa354b.system.entry.js +1 -0
  107. package/pn-market-web-components/{p-aab2e28f.entry.js → p-8b684578.entry.js} +1 -1
  108. package/pn-market-web-components/p-951861fa.entry.js +1 -0
  109. package/pn-market-web-components/{p-736e5b84.system.entry.js → p-98a7ddd1.system.entry.js} +1 -1
  110. package/pn-market-web-components/p-a120063f.js +1 -0
  111. package/pn-market-web-components/p-b501b216.system.js +1 -0
  112. package/pn-market-web-components/p-b7adbd6d.system.entry.js +1 -0
  113. package/pn-market-web-components/{p-3ae38e63.entry.js → p-b9a84e67.entry.js} +1 -1
  114. package/pn-market-web-components/p-c8ceda2e.entry.js +1 -0
  115. package/pn-market-web-components/p-e397e11b.entry.js +1 -0
  116. package/pn-market-web-components/p-e7a1cda9.entry.js +1 -0
  117. package/pn-market-web-components/{p-d0653c80.system.entry.js → p-e881d111.system.entry.js} +1 -1
  118. package/pn-market-web-components/{p-e4a4e68f.system.entry.js → p-ecdf2b69.system.entry.js} +1 -1
  119. package/pn-market-web-components/p-f58bde56.js +1 -0
  120. package/pn-market-web-components/p-f782ce94.system.entry.js +1 -0
  121. package/pn-market-web-components/p-fefc9629.entry.js +1 -0
  122. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  123. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.d.ts +8 -0
  124. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.d.ts +4 -1
  125. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.d.ts +2 -1
  126. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.d.ts +6 -0
  127. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.d.ts +7 -2
  128. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +10 -8
  129. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +8 -0
  130. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
  131. package/types/components/layout-components/pn-marketweb-siteheader/translations.d.ts +12 -0
  132. package/types/components/layout-components/pn-marketweb-siteheader/unifiedLoginHelper.d.ts +1 -0
  133. package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +4 -4
  134. package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +5 -5
  135. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +2 -2
  136. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.d.ts +22 -0
  137. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.d.ts +51 -0
  138. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.d.ts +106 -0
  139. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.d.ts +39 -0
  140. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice.d.ts +24 -0
  141. package/types/components/widgets/pn-proxio-pricegroup/types.d.ts +1 -1
  142. package/types/components.d.ts +130 -1
  143. package/esm-es5/pn-marketweb-siteheader-login-links_2.entry.js +0 -1
  144. package/esm-es5/pn-product-card_4.entry.js +0 -1
  145. package/pn-market-web-components/p-022d9a78.entry.js +0 -1
  146. package/pn-market-web-components/p-198d9c77.system.entry.js +0 -1
  147. package/pn-market-web-components/p-332e9005.entry.js +0 -1
  148. package/pn-market-web-components/p-3c0d63fb.system.entry.js +0 -1
  149. package/pn-market-web-components/p-63c30175.entry.js +0 -1
  150. package/pn-market-web-components/p-6b33db5b.system.entry.js +0 -1
  151. package/pn-market-web-components/p-77557da8.entry.js +0 -1
  152. package/pn-market-web-components/p-92fd28e6.entry.js +0 -1
  153. package/pn-market-web-components/p-a119cb8e.entry.js +0 -1
  154. package/pn-market-web-components/p-c4254e9e.js +0 -1
  155. package/pn-market-web-components/p-d542a52b.system.entry.js +0 -1
  156. package/pn-market-web-components/p-eb662559.system.entry.js +0 -1
  157. /package/pn-market-web-components/{p-bfa7c83f.system.js → p-1534926e.system.js} +0 -0
  158. /package/pn-market-web-components/{p-86b52823.js → p-a07906d5.js} +0 -0
@@ -8,7 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { ProductPriceItem } from "./components/widgets/pn-find-price/pn-find-price-types";
9
9
  import { ProductPriceItem as ProductPriceItem1 } from "./globals/shared/productprice/product-price-types";
10
10
  import { LoginDialog, LoginDialogLink, ProfileSelectorCustomerItem, ProfileSelectorOrganization, SiteHeaderI18N, SiteHeaderSearch } from "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types";
11
- import { ProductGenericItem } from "./components/widgets/pn-proxio-pricegroup/types";
11
+ import { ProductGenericItem, ProxioPriceListGroupResponse } from "./components/widgets/pn-proxio-pricegroup/types";
12
12
  export namespace Components {
13
13
  interface PnBonusProgressbar {
14
14
  "bonuspercentage": string;
@@ -329,6 +329,10 @@ export namespace Components {
329
329
  * If this is selected we will show the new profile selection dropdown instead of the login version
330
330
  */
331
331
  "showProfileSelection": boolean;
332
+ /**
333
+ * if this is selected we will show the unified-login button aswell as a new look for dropdown menu
334
+ */
335
+ "showUnifiedLogin": boolean;
332
336
  /**
333
337
  * Adjusts the menus URLs
334
338
  */
@@ -364,34 +368,50 @@ export namespace Components {
364
368
  * Specifies which endpoint domain we should load from
365
369
  */
366
370
  "endpoint": string;
371
+ "environment"?: string;
367
372
  /**
368
373
  * User Fullname
369
374
  */
370
375
  "fullname": string;
371
376
  "i18n": SiteHeaderI18N;
372
377
  "loggedin": boolean;
378
+ "loginButtonText": string;
373
379
  "loginDialog": LoginDialog;
380
+ "loginInformationRichText": string;
374
381
  /**
375
382
  * If this is selected we will show the new profile selection dropdown instead of the login version
376
383
  */
377
384
  "showProfileSelection": boolean;
385
+ /**
386
+ * if this is selected we will show the unifiedlogin button along with new look for dropdown
387
+ */
388
+ "showUnifiedLogin": boolean;
378
389
  "siteUrl": string;
379
390
  /**
380
391
  * Access token passed from backend
381
392
  */
382
393
  "token": string;
383
394
  }
395
+ interface PnMarketwebSiteheaderLoginButton {
396
+ "label": string;
397
+ }
384
398
  interface PnMarketwebSiteheaderLoginLinklist {
385
399
  "heading": string;
386
400
  "idNamespace": string;
387
401
  "links": LoginDialogLink[];
402
+ "showUnifiedLogin": boolean;
388
403
  }
389
404
  interface PnMarketwebSiteheaderLoginLinks {
390
405
  "idNamespace": string;
391
406
  "loggedin": boolean;
392
407
  "loginDialog": LoginDialog;
408
+ "showUnifiedLogin": boolean;
393
409
  "username": string;
394
410
  }
411
+ interface PnMarketwebSiteheaderLoginMypageButton {
412
+ "label": string;
413
+ "myPageUrl": string;
414
+ }
395
415
  interface PnMarketwebSiteheaderLoginProfileselection {
396
416
  "currentProfile": ProfileSelectorCustomerItem;
397
417
  "endpoint": string;
@@ -418,6 +438,12 @@ export namespace Components {
418
438
  */
419
439
  "siteid": string;
420
440
  }
441
+ interface PnMarketwebSiteheaderUnifiedLogin {
442
+ "logInLabel": string;
443
+ "loggedIn": boolean;
444
+ "myPageLabel": string;
445
+ "myPageUrl": string;
446
+ }
421
447
  interface PnParcelTracker {
422
448
  "buttonLabel": string;
423
449
  "formActionUrl": string;
@@ -519,6 +545,22 @@ export namespace Components {
519
545
  "heading": string;
520
546
  "url": string;
521
547
  }
548
+ interface PnProxioFindprice {
549
+ "cache": boolean;
550
+ "endpoint": string;
551
+ "language": string;
552
+ "market": string;
553
+ }
554
+ interface PnProxioFindpriceResult {
555
+ "Usp1"?: string;
556
+ "Usp2"?: string;
557
+ "Usp3"?: string;
558
+ "activeweight": number;
559
+ "description"?: string[];
560
+ "item": ProxioPriceListGroupResponse;
561
+ "showMeasurement"?: boolean;
562
+ "shownitems": ProxioPriceListGroupResponse[];
563
+ }
522
564
  interface PnProxioPricegroup {
523
565
  "cache": boolean;
524
566
  /**
@@ -809,6 +851,12 @@ declare global {
809
851
  prototype: HTMLPnMarketwebSiteheaderLoginElement;
810
852
  new (): HTMLPnMarketwebSiteheaderLoginElement;
811
853
  };
854
+ interface HTMLPnMarketwebSiteheaderLoginButtonElement extends Components.PnMarketwebSiteheaderLoginButton, HTMLStencilElement {
855
+ }
856
+ var HTMLPnMarketwebSiteheaderLoginButtonElement: {
857
+ prototype: HTMLPnMarketwebSiteheaderLoginButtonElement;
858
+ new (): HTMLPnMarketwebSiteheaderLoginButtonElement;
859
+ };
812
860
  interface HTMLPnMarketwebSiteheaderLoginLinklistElement extends Components.PnMarketwebSiteheaderLoginLinklist, HTMLStencilElement {
813
861
  }
814
862
  var HTMLPnMarketwebSiteheaderLoginLinklistElement: {
@@ -821,6 +869,12 @@ declare global {
821
869
  prototype: HTMLPnMarketwebSiteheaderLoginLinksElement;
822
870
  new (): HTMLPnMarketwebSiteheaderLoginLinksElement;
823
871
  };
872
+ interface HTMLPnMarketwebSiteheaderLoginMypageButtonElement extends Components.PnMarketwebSiteheaderLoginMypageButton, HTMLStencilElement {
873
+ }
874
+ var HTMLPnMarketwebSiteheaderLoginMypageButtonElement: {
875
+ prototype: HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
876
+ new (): HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
877
+ };
824
878
  interface HTMLPnMarketwebSiteheaderLoginProfileselectionElement extends Components.PnMarketwebSiteheaderLoginProfileselection, HTMLStencilElement {
825
879
  }
826
880
  var HTMLPnMarketwebSiteheaderLoginProfileselectionElement: {
@@ -833,6 +887,12 @@ declare global {
833
887
  prototype: HTMLPnMarketwebSiteheaderSearchElement;
834
888
  new (): HTMLPnMarketwebSiteheaderSearchElement;
835
889
  };
890
+ interface HTMLPnMarketwebSiteheaderUnifiedLoginElement extends Components.PnMarketwebSiteheaderUnifiedLogin, HTMLStencilElement {
891
+ }
892
+ var HTMLPnMarketwebSiteheaderUnifiedLoginElement: {
893
+ prototype: HTMLPnMarketwebSiteheaderUnifiedLoginElement;
894
+ new (): HTMLPnMarketwebSiteheaderUnifiedLoginElement;
895
+ };
836
896
  interface HTMLPnParcelTrackerElement extends Components.PnParcelTracker, HTMLStencilElement {
837
897
  }
838
898
  var HTMLPnParcelTrackerElement: {
@@ -929,6 +989,18 @@ declare global {
929
989
  prototype: HTMLPnProfileSelectorOptionElement;
930
990
  new (): HTMLPnProfileSelectorOptionElement;
931
991
  };
992
+ interface HTMLPnProxioFindpriceElement extends Components.PnProxioFindprice, HTMLStencilElement {
993
+ }
994
+ var HTMLPnProxioFindpriceElement: {
995
+ prototype: HTMLPnProxioFindpriceElement;
996
+ new (): HTMLPnProxioFindpriceElement;
997
+ };
998
+ interface HTMLPnProxioFindpriceResultElement extends Components.PnProxioFindpriceResult, HTMLStencilElement {
999
+ }
1000
+ var HTMLPnProxioFindpriceResultElement: {
1001
+ prototype: HTMLPnProxioFindpriceResultElement;
1002
+ new (): HTMLPnProxioFindpriceResultElement;
1003
+ };
932
1004
  interface HTMLPnProxioPricegroupElement extends Components.PnProxioPricegroup, HTMLStencilElement {
933
1005
  }
934
1006
  var HTMLPnProxioPricegroupElement: {
@@ -1075,10 +1147,13 @@ declare global {
1075
1147
  "pn-marketweb-sitefooter": HTMLPnMarketwebSitefooterElement;
1076
1148
  "pn-marketweb-siteheader": HTMLPnMarketwebSiteheaderElement;
1077
1149
  "pn-marketweb-siteheader-login": HTMLPnMarketwebSiteheaderLoginElement;
1150
+ "pn-marketweb-siteheader-login-button": HTMLPnMarketwebSiteheaderLoginButtonElement;
1078
1151
  "pn-marketweb-siteheader-login-linklist": HTMLPnMarketwebSiteheaderLoginLinklistElement;
1079
1152
  "pn-marketweb-siteheader-login-links": HTMLPnMarketwebSiteheaderLoginLinksElement;
1153
+ "pn-marketweb-siteheader-login-mypage-button": HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
1080
1154
  "pn-marketweb-siteheader-login-profileselection": HTMLPnMarketwebSiteheaderLoginProfileselectionElement;
1081
1155
  "pn-marketweb-siteheader-search": HTMLPnMarketwebSiteheaderSearchElement;
1156
+ "pn-marketweb-siteheader-unified-login": HTMLPnMarketwebSiteheaderUnifiedLoginElement;
1082
1157
  "pn-parcel-tracker": HTMLPnParcelTrackerElement;
1083
1158
  "pn-pex-pricefinder": HTMLPnPexPricefinderElement;
1084
1159
  "pn-product-card": HTMLPnProductCardElement;
@@ -1095,6 +1170,8 @@ declare global {
1095
1170
  "pn-profile-modal-type": HTMLPnProfileModalTypeElement;
1096
1171
  "pn-profile-selector": HTMLPnProfileSelectorElement;
1097
1172
  "pn-profile-selector-option": HTMLPnProfileSelectorOptionElement;
1173
+ "pn-proxio-findprice": HTMLPnProxioFindpriceElement;
1174
+ "pn-proxio-findprice-result": HTMLPnProxioFindpriceResultElement;
1098
1175
  "pn-proxio-pricegroup": HTMLPnProxioPricegroupElement;
1099
1176
  "pn-proxio-productcard": HTMLPnProxioProductcardElement;
1100
1177
  "pn-proxio-productcard-description": HTMLPnProxioProductcardDescriptionElement;
@@ -1452,6 +1529,10 @@ declare namespace LocalJSX {
1452
1529
  * If this is selected we will show the new profile selection dropdown instead of the login version
1453
1530
  */
1454
1531
  "showProfileSelection"?: boolean;
1532
+ /**
1533
+ * if this is selected we will show the unified-login button aswell as a new look for dropdown menu
1534
+ */
1535
+ "showUnifiedLogin"?: boolean;
1455
1536
  /**
1456
1537
  * Adjusts the menus URLs
1457
1538
  */
@@ -1487,35 +1568,51 @@ declare namespace LocalJSX {
1487
1568
  * Specifies which endpoint domain we should load from
1488
1569
  */
1489
1570
  "endpoint"?: string;
1571
+ "environment"?: string;
1490
1572
  /**
1491
1573
  * User Fullname
1492
1574
  */
1493
1575
  "fullname"?: string;
1494
1576
  "i18n"?: SiteHeaderI18N;
1495
1577
  "loggedin"?: boolean;
1578
+ "loginButtonText"?: string;
1496
1579
  "loginDialog"?: LoginDialog;
1580
+ "loginInformationRichText"?: string;
1497
1581
  "onLoginStateChange"?: (event: CustomEvent<any>) => void;
1498
1582
  /**
1499
1583
  * If this is selected we will show the new profile selection dropdown instead of the login version
1500
1584
  */
1501
1585
  "showProfileSelection"?: boolean;
1586
+ /**
1587
+ * if this is selected we will show the unifiedlogin button along with new look for dropdown
1588
+ */
1589
+ "showUnifiedLogin"?: boolean;
1502
1590
  "siteUrl"?: string;
1503
1591
  /**
1504
1592
  * Access token passed from backend
1505
1593
  */
1506
1594
  "token"?: string;
1507
1595
  }
1596
+ interface PnMarketwebSiteheaderLoginButton {
1597
+ "label"?: string;
1598
+ }
1508
1599
  interface PnMarketwebSiteheaderLoginLinklist {
1509
1600
  "heading"?: string;
1510
1601
  "idNamespace"?: string;
1511
1602
  "links"?: LoginDialogLink[];
1603
+ "showUnifiedLogin"?: boolean;
1512
1604
  }
1513
1605
  interface PnMarketwebSiteheaderLoginLinks {
1514
1606
  "idNamespace"?: string;
1515
1607
  "loggedin"?: boolean;
1516
1608
  "loginDialog"?: LoginDialog;
1609
+ "showUnifiedLogin"?: boolean;
1517
1610
  "username"?: string;
1518
1611
  }
1612
+ interface PnMarketwebSiteheaderLoginMypageButton {
1613
+ "label"?: string;
1614
+ "myPageUrl"?: string;
1615
+ }
1519
1616
  interface PnMarketwebSiteheaderLoginProfileselection {
1520
1617
  "currentProfile"?: ProfileSelectorCustomerItem;
1521
1618
  "endpoint"?: string;
@@ -1542,6 +1639,12 @@ declare namespace LocalJSX {
1542
1639
  */
1543
1640
  "siteid"?: string;
1544
1641
  }
1642
+ interface PnMarketwebSiteheaderUnifiedLogin {
1643
+ "logInLabel"?: string;
1644
+ "loggedIn"?: boolean;
1645
+ "myPageLabel"?: string;
1646
+ "myPageUrl"?: string;
1647
+ }
1545
1648
  interface PnParcelTracker {
1546
1649
  "buttonLabel"?: string;
1547
1650
  "formActionUrl"?: string;
@@ -1646,6 +1749,22 @@ declare namespace LocalJSX {
1646
1749
  "heading"?: string;
1647
1750
  "url"?: string;
1648
1751
  }
1752
+ interface PnProxioFindprice {
1753
+ "cache"?: boolean;
1754
+ "endpoint"?: string;
1755
+ "language"?: string;
1756
+ "market"?: string;
1757
+ }
1758
+ interface PnProxioFindpriceResult {
1759
+ "Usp1"?: string;
1760
+ "Usp2"?: string;
1761
+ "Usp3"?: string;
1762
+ "activeweight"?: number;
1763
+ "description"?: string[];
1764
+ "item"?: ProxioPriceListGroupResponse;
1765
+ "showMeasurement"?: boolean;
1766
+ "shownitems"?: ProxioPriceListGroupResponse[];
1767
+ }
1649
1768
  interface PnProxioPricegroup {
1650
1769
  "cache"?: boolean;
1651
1770
  /**
@@ -1810,10 +1929,13 @@ declare namespace LocalJSX {
1810
1929
  "pn-marketweb-sitefooter": PnMarketwebSitefooter;
1811
1930
  "pn-marketweb-siteheader": PnMarketwebSiteheader;
1812
1931
  "pn-marketweb-siteheader-login": PnMarketwebSiteheaderLogin;
1932
+ "pn-marketweb-siteheader-login-button": PnMarketwebSiteheaderLoginButton;
1813
1933
  "pn-marketweb-siteheader-login-linklist": PnMarketwebSiteheaderLoginLinklist;
1814
1934
  "pn-marketweb-siteheader-login-links": PnMarketwebSiteheaderLoginLinks;
1935
+ "pn-marketweb-siteheader-login-mypage-button": PnMarketwebSiteheaderLoginMypageButton;
1815
1936
  "pn-marketweb-siteheader-login-profileselection": PnMarketwebSiteheaderLoginProfileselection;
1816
1937
  "pn-marketweb-siteheader-search": PnMarketwebSiteheaderSearch;
1938
+ "pn-marketweb-siteheader-unified-login": PnMarketwebSiteheaderUnifiedLogin;
1817
1939
  "pn-parcel-tracker": PnParcelTracker;
1818
1940
  "pn-pex-pricefinder": PnPexPricefinder;
1819
1941
  "pn-product-card": PnProductCard;
@@ -1830,6 +1952,8 @@ declare namespace LocalJSX {
1830
1952
  "pn-profile-modal-type": PnProfileModalType;
1831
1953
  "pn-profile-selector": PnProfileSelector;
1832
1954
  "pn-profile-selector-option": PnProfileSelectorOption;
1955
+ "pn-proxio-findprice": PnProxioFindprice;
1956
+ "pn-proxio-findprice-result": PnProxioFindpriceResult;
1833
1957
  "pn-proxio-pricegroup": PnProxioPricegroup;
1834
1958
  "pn-proxio-productcard": PnProxioProductcard;
1835
1959
  "pn-proxio-productcard-description": PnProxioProductcardDescription;
@@ -1881,10 +2005,13 @@ declare module "@stencil/core" {
1881
2005
  "pn-marketweb-sitefooter": LocalJSX.PnMarketwebSitefooter & JSXBase.HTMLAttributes<HTMLPnMarketwebSitefooterElement>;
1882
2006
  "pn-marketweb-siteheader": LocalJSX.PnMarketwebSiteheader & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderElement>;
1883
2007
  "pn-marketweb-siteheader-login": LocalJSX.PnMarketwebSiteheaderLogin & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginElement>;
2008
+ "pn-marketweb-siteheader-login-button": LocalJSX.PnMarketwebSiteheaderLoginButton & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginButtonElement>;
1884
2009
  "pn-marketweb-siteheader-login-linklist": LocalJSX.PnMarketwebSiteheaderLoginLinklist & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginLinklistElement>;
1885
2010
  "pn-marketweb-siteheader-login-links": LocalJSX.PnMarketwebSiteheaderLoginLinks & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginLinksElement>;
2011
+ "pn-marketweb-siteheader-login-mypage-button": LocalJSX.PnMarketwebSiteheaderLoginMypageButton & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginMypageButtonElement>;
1886
2012
  "pn-marketweb-siteheader-login-profileselection": LocalJSX.PnMarketwebSiteheaderLoginProfileselection & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginProfileselectionElement>;
1887
2013
  "pn-marketweb-siteheader-search": LocalJSX.PnMarketwebSiteheaderSearch & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderSearchElement>;
2014
+ "pn-marketweb-siteheader-unified-login": LocalJSX.PnMarketwebSiteheaderUnifiedLogin & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderUnifiedLoginElement>;
1888
2015
  "pn-parcel-tracker": LocalJSX.PnParcelTracker & JSXBase.HTMLAttributes<HTMLPnParcelTrackerElement>;
1889
2016
  "pn-pex-pricefinder": LocalJSX.PnPexPricefinder & JSXBase.HTMLAttributes<HTMLPnPexPricefinderElement>;
1890
2017
  "pn-product-card": LocalJSX.PnProductCard & JSXBase.HTMLAttributes<HTMLPnProductCardElement>;
@@ -1901,6 +2028,8 @@ declare module "@stencil/core" {
1901
2028
  "pn-profile-modal-type": LocalJSX.PnProfileModalType & JSXBase.HTMLAttributes<HTMLPnProfileModalTypeElement>;
1902
2029
  "pn-profile-selector": LocalJSX.PnProfileSelector & JSXBase.HTMLAttributes<HTMLPnProfileSelectorElement>;
1903
2030
  "pn-profile-selector-option": LocalJSX.PnProfileSelectorOption & JSXBase.HTMLAttributes<HTMLPnProfileSelectorOptionElement>;
2031
+ "pn-proxio-findprice": LocalJSX.PnProxioFindprice & JSXBase.HTMLAttributes<HTMLPnProxioFindpriceElement>;
2032
+ "pn-proxio-findprice-result": LocalJSX.PnProxioFindpriceResult & JSXBase.HTMLAttributes<HTMLPnProxioFindpriceResultElement>;
1904
2033
  "pn-proxio-pricegroup": LocalJSX.PnProxioPricegroup & JSXBase.HTMLAttributes<HTMLPnProxioPricegroupElement>;
1905
2034
  "pn-proxio-productcard": LocalJSX.PnProxioProductcard & JSXBase.HTMLAttributes<HTMLPnProxioProductcardElement>;
1906
2035
  "pn-proxio-productcard-description": LocalJSX.PnProxioProductcardDescription & JSXBase.HTMLAttributes<HTMLPnProxioProductcardDescriptionElement>;
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,i,n,t){function o(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,r){function l(e){try{s(t.next(e))}catch(i){r(i)}}function a(e){try{s(t["throw"](e))}catch(i){r(i)}}function s(e){e.done?n(e.value):o(e.value).then(l,a)}s((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},t,o,r,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(i){return s([e,i])}}function s(l){if(t)throw new TypeError("Generator is already executing.");while(n)try{if(t=1,o&&(r=l[0]&2?o["return"]:l[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;if(o=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;o=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1];r=l;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(l);break}if(r[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(a){l=[6,a];o=0}finally{t=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-marketweb-siteheader-store-cd0a1dab.js";import"./index-7b21ecff.js";var pnMarketwebSiteheaderLoginLinksCss="";var PnMarketwebSiteheaderLoginLinks=function(){function e(e){registerInstance(this,e);this.loginDialog=null;this.idNamespace="";this.loggedin=false;this.username=""}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.adjustLoginLinks();return[2]}))}))};e.prototype.adjustLoginLinks=function(){var e,i,n,t;if(!this.loginDialog){return}var o=function(e,i){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state.loginManager.getLogoutUrl(e.href)}e.href=e.href.replace("window.location.href",window.location.href);if(i===0&&!e.href){e.href=state.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if((e=this.loginDialog)===null||e===void 0?void 0:e.loginMenuLinks){(i=this.loginDialog)===null||i===void 0?void 0:i.loginMenuLinks.forEach(o)}if((n=this.loginDialog)===null||n===void 0?void 0:n.loggedInLinks){(t=this.loginDialog)===null||t===void 0?void 0:t.loggedInLinks.forEach(o)}this.loginDialog.legacyLoginLinks=[{href:state.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:state.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]};e.prototype.render=function(){var e;if(!this.loginDialog){return}var i={username:null,loggedin:false};if(this.username){i.username=this.username;i.loggedin=this.loggedin}return h(Host,Object.assign({},i),!this.loginDialog.overrideLoginMenu?h("div",{"data-loggedin":this.loggedin+""},this.loggedin?h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):h("div",null,((e=this.loginDialog.loginMenuLinks)===null||e===void 0?void 0:e.length)>0?h("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))):null,this.loginDialog.overrideLoginMenu?h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{loginDialog:["init"]}},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLoginLinks.style=pnMarketwebSiteheaderLoginLinksCss;var pnMarketwebSiteheaderLoginProfileselectionCss='.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';var PnMarketwebSiteheaderLoginProfileselection=function(){function e(e){registerInstance(this,e);this.loginDialog=null;this.endpoint="";this.loggedin=false;this.idNamespace="";this.heading=null;this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""};this.user=null;this.logoutLink=null;this.userName=null;this.userEmail="";this.currentProfile=null;this.profileoptions=[]}e.prototype.componentWillLoad=function(){var e;if(this.heading===null&&((e=this.i18n)===null||e===void 0?void 0:e.profileSelectionFlyoutHeading)){this.heading=this.i18n.profileSelectionFlyoutHeading}this.init()};e.prototype.init=function(){this.updateUserInfo();this.adjustLoginLinks();this.fetchProfiles()};e.prototype.fetchProfiles=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,t,o,r,l;var a=this;return __generator(this,(function(s){switch(s.label){case 0:if(!this.loggedin||this.profileoptions.length>0){return[2]}e="".concat(this.endpoint).concat(this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/","api/user/parentorganizations");return[4,fetch(e)];case 1:i=s.sent();return[4,i.json()];case 2:n=s.sent();t={loggedin:true,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:true,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:false,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:true,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:false,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:false,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:false,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:false,customerGroup:"Agent"}]}]};o=window.location.href.indexOf("localhost:6008")!==-1?t:n;if(!o||!o.organizations||!o.organizations.length){return[2]}o.organizations.forEach((function(e){if(e.selected===true&&e.profiles){var i=e.profiles.filter((function(e){return e.selected===true}));if(i&&i[0]&&i[0].customerGroup.toLocaleLowerCase()==="agent"&&i[0].ssid){e.customerNumber=i[0].ssid}}else{if(e.customerNumber.length===10&&e.customerNumber.substring(0,2)==="55"){e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)}a.profileoptions.push(e)}}));r=o.organizations.filter((function(e){return e.selected===true}))[0];l={name:this.userName,customerNumber:"",id:"",selected:!r,profiles:[]};if(!r){r=l}if(r&&r.name){this.currentProfile=r}this.profileoptions.push(l);return[2]}}))}))};e.prototype.adjustLoginLinks=function(){var e,i,n,t;var o=function(e,i){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state.loginManager.getLogoutUrl(e.href)}if(i===0&&!e.href){e.href=state.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if((e=this.loginDialog)===null||e===void 0?void 0:e.loggedInLinks){(i=this.loginDialog)===null||i===void 0?void 0:i.loggedInLinks.forEach(o)}this.logoutLink=(t=(n=this.loginDialog)===null||n===void 0?void 0:n.loggedInLinks.filter((function(e){return e.isLogoutLink}))[0])!==null&&t!==void 0?t:null};e.prototype.updateUserInfo=function(){var e=state.loginManager.getUserInfo();this.user=e;if(!e){return}if(e&&e.email){this.userEmail=e.email}if(e&&e.given_name){this.userName=e.given_name+((e===null||e===void 0?void 0:e.family_name)?" ".concat(e===null||e===void 0?void 0:e.family_name):"")}if(e&&e.given_name){this.userName=e.given_name;return}if(e&&e.family_name){this.userName=e.family_name;return}if(e&&e.username){this.userName=e.username;return}};e.prototype.render=function(){var e=this;if(!this.loginDialog){return}var i={};return h(Host,Object.assign({},i),this.heading?h("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,this.currentProfile!==null&&this.currentProfile.name?h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}),h("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((function(e){return e.selected!==true})).map((function(i){var n=i.profiles.length>0?i.profiles[0].customerNumber:i.customerNumber;return h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},h("a",{href:"".concat(e.endpoint,"/api/user/setprofile?customernumber=").concat(n,"&returnUrl=").concat(window.location.href),class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},i.name),h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},i.customerNumber?i.customerNumber:e.userEmail)),h("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"})))})),this.logoutLink?h("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},h("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:function(){return state.loginManager.clearUserData()},class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLoginProfileselection.style=pnMarketwebSiteheaderLoginProfileselectionCss;export{PnMarketwebSiteheaderLoginLinks as pn_marketweb_siteheader_login_links,PnMarketwebSiteheaderLoginProfileselection as pn_marketweb_siteheader_login_profileselection};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var pnProductCardCss='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);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:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var PnProductCard=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",{name:"illustration"}),h("div",{class:"cardcontent"},h("div",{class:"details"},h("slot",{name:"title"}),h("slot",{name:"content"}),h("div",{class:"info"},h("slot",null)),h("slot",{name:"note"}),h("slot",{name:"additionalUSP"})),h("div",{class:"cardprice"},h("slot",{name:"cardprice"}),h("slot",{name:"mobiledownload"}),h("slot",{name:"servicepoint"}))))};return e}();PnProductCard.style=pnProductCardCss;var pnProductCardInfoCss='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var PnProductCardInfo=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return this.label?h(Host,null,h("div",{class:"cardinfocontent"},this.text?h("pre",{slot:"formatPre"},this.text):null)):h(Host,null,h("div",{class:"cardinfocontent"},this.paket?h("div",{class:"cardinfocontent-item"},h("strong",null,"Maxmått"),this.paket.split("/").map((function(e){return e.split(":").length>1?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null,this.rulle?h("div",{class:"cardinfocontent-item"},h("strong",null,"Rulle"),this.rulle.split("/").map((function(e){return e.split(":").length>0?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null))};return e}();h("pn-icon",{symbol:"align-center",small:"false",color:"black"});PnProductCardInfo.style=pnProductCardInfoCss;var pnProductCardPriceCss="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var PnProductCardPrice=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?h(Host,{id:this.linkid},h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null," "+this.currency):null),this.note?h("p",null,this.note):null,this.label?h("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):h(Host,null,h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null))};return e}();PnProductCardPrice.style=pnProductCardPriceCss;var pnTitletagCss="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";var PnTiletag=function(){function e(e){registerInstance(this,e);this.icon=null;this.color="green700"}e.prototype.render=function(){return h(Host,null,h("slot",null),this.icon?h("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnTiletag.style=pnTitletagCss;export{PnProductCard as pn_product_card,PnProductCardInfo as pn_product_card_info,PnProductCardPrice as pn_product_card_price,PnTiletag as pn_titletag};
@@ -1 +0,0 @@
1
- import{r as e,h as t,a as n,g as i}from"./p-58e8d7d5.js";let r=class{constructor(t){e(this,t)}render(){return t(n,null,t("slot",{name:"illustration"}),t("div",{class:"cardcontent"},t("div",{class:"details"},t("slot",{name:"title"}),t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"}),t("slot",{name:"additionalUSP"})),t("div",{class:"cardprice"},t("slot",{name:"cardprice"}),t("slot",{name:"mobiledownload"}),t("slot",{name:"servicepoint"}))))}};r.style='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);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:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';let o=class{constructor(t){e(this,t)}render(){return t(n,null,this.label?t("div",{class:"cardinfocontent"},this.text?t("pre",{slot:"formatPre"},this.text):null):t("div",{class:"cardinfocontent"},this.paket?t("div",{class:"cardinfocontent-item"},t("strong",null,"Maxmått"),this.paket.split("/").map((e=>e.split(":").length>1?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null,this.rulle?t("div",{class:"cardinfocontent-item"},t("strong",null,"Rulle"),this.rulle.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null))}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),o.style='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';let l=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(n,{id:this.linkid},t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null," "+this.currency):null),this.note?t("p",null,this.note):null,this.label?t("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):t(n,null,t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};l.style="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";let a=class{constructor(t){e(this,t),this.icon=null,this.color="green700"}render(){return t(n,null,t("slot",null),this.icon?t("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)}get hostElement(){return i(this)}};a.style="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";export{r as pn_product_card,o as pn_product_card_info,l as pn_product_card_price,a as pn_titletag}
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,i,r;return{setters:[function(e){t=e.r;n=e.h;i=e.a;r=e.g}],execute:function(){var o='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);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:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var l=e("pn_product_card",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(i,null,n("slot",{name:"illustration"}),n("div",{class:"cardcontent"},n("div",{class:"details"},n("slot",{name:"title"}),n("slot",{name:"content"}),n("div",{class:"info"},n("slot",null)),n("slot",{name:"note"}),n("slot",{name:"additionalUSP"})),n("div",{class:"cardprice"},n("slot",{name:"cardprice"}),n("slot",{name:"mobiledownload"}),n("slot",{name:"servicepoint"}))))};return e}());l.style=o;var a='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var c=e("pn_product_card_info",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.label?n(i,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(i,null,n("div",{class:"cardinfocontent"},this.paket?n("div",{class:"cardinfocontent-item"},n("strong",null,"Maxmått"),this.paket.split("/").map((function(e){return e.split(":").length>1?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null,this.rulle?n("div",{class:"cardinfocontent-item"},n("strong",null,"Rulle"),this.rulle.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null))};return e}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});c.style=a;var d="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var s=e("pn_product_card_price",function(){function e(e){t(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?n(i,{id:this.linkid},n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null," "+this.currency):null),this.note?n("p",null,this.note):null,this.label?n("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):n(i,null,n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return e}());s.style=d;var p="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";var m=e("pn_titletag",function(){function e(e){t(this,e);this.icon=null;this.color="green700"}e.prototype.render=function(){return n(i,null,n("slot",null),this.icon?n("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());m.style=p}}}));
@@ -1 +0,0 @@
1
- import{r as i,h as t,a as e}from"./p-58e8d7d5.js";import{F as o,M as r}from"./p-74120b9b.js";const n={sv:{from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått"},da:{from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks måle"},en:{from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions"}};let a=class{constructor(t){i(this,t),this.endpoint=null,this.language="sv",this.market="se",this.tariffid="",this.cache=!0,this.activeWeightIndex=0,this.data=null,this.i18n=n.sv,this.fetchHelper=new o("proxiopricegroup")}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(i=window.location.href){const t=new r(i),e=await t.getEnvironmentName();if(!this.endpoint&&-1===(null==e?void 0:e.indexOf("local"))){const i=await t.getMarket();this.endpoint=await t.getEndpoint(e,i)}this.endpoint||(this.endpoint="")}init(){this.setLanguage(),this.fetchData()}async fetchData(){if(!this.market||!this.language||!this.tariffid)return;const i=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`,t=await this.fetchHelper.fetchJson(i,{mode:"cors"},this.cache,this.onFetchData.bind(this));(null==t?void 0:t.proxioProduct)&&(this.data=t)}onFetchData(i){this.data=i}setActiveWeightIndex(i){var t,e,o;let r=null!==(o=(null===(e=null===(t=this.data.proxioProduct)||void 0===t?void 0:t.weightAndPriceList)||void 0===e?void 0:e.length)-1)&&void 0!==o?o:0;this.activeWeightIndex=i=(i=i>r?r:i)<0?0:i}setLanguage(){n[this.language]&&(this.i18n=n[this.language])}getPriceString(i){var t;let e=i.weightAndPriceList?null===(t=null==i?void 0:i.weightAndPriceList[this.activeWeightIndex])||void 0===t?void 0:t.item2:"";return e?this.i18n.from+e:""}getProductLink(i,t){var e;let o=null===(e=t[this.activeWeightIndex])||void 0===e?void 0:e.item2,r=i.productLink?null==i?void 0:i.productLink:"";return r?r+(o?"?productId="+o:""):""}isActive(i){return i===this.activeWeightIndex}getCarouselPosition(i){switch(i){case this.activeWeightIndex-2:return-2;case this.activeWeightIndex-1:return-1;case this.activeWeightIndex:return 0;case this.activeWeightIndex+1:return 1;case this.activeWeightIndex+2:return 2;default:return"outside"}}getContainerPosition(){let i=this.data.proxioProduct.weightAndPriceList.length-1;switch(this.activeWeightIndex){case 0:return"end50";case 1:return"end75";case i-1:return"start75";case i:return"start50";default:return"default"}}render(){var i,o,r;return t(e,null,(null===(i=this.data)||void 0===i?void 0:i.proxioProduct)?t("div",{class:"proxio-pricegroup-container"},t("div",{class:"weightcontainer"},this.data.proxioProduct.weightAndPriceList?t("div",{class:"weightvaluecontainer"},t("pn-button",{disabled:0===this.activeWeightIndex?"disabled":null,"icon-only":"true",icon:"arrow-left",appearance:"light",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex-1)}),t("div",{class:"weightradios ","data-carousel-container-position":this.getContainerPosition()},t("div",{class:"weightline"}),this.data.proxioProduct.weightAndPriceList.map(((i,e)=>null!==this.getCarouselPosition(e)?t("div",{class:"weightdata","data-carousel-position":this.getCarouselPosition(e),onClick:()=>this.setActiveWeightIndex(e)},t("input",{type:"radio",id:"weightradio"+e,name:"weightradio",value:e,checked:this.isActive(e)}),t("label",{htmlFor:"weightradio"+e},i.item1)):null))),t("pn-button",{disabled:this.activeWeightIndex===(null===(r=null===(o=this.data.proxioProduct)||void 0===o?void 0:o.weightAndPriceList)||void 0===r?void 0:r.length)-1?"disabled":null,icon:"arrow-right",appearance:"light","icon-only":"true",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex+1)})):null),t("pn-proxio-productcard",null,t("pn-illustration",{slot:"illustrationmobile",illustration:this.data.proxioProduct.productIcon}),t("h2",{slot:"title"},this.data.proxioProduct.productTitle),t("pn-proxio-productcard-description",{slot:"description",heading:this.data.proxioProduct.productPreamble,highlight:this.data.proxioProduct.deliveryDateInformation,list:this.data.proxioProduct.productDescriptionBulletListItems}),t("div",{slot:"information"},t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.data.proxioProduct.productPackageDimensionsList}),t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.data.proxioProduct.productRollDimensionsList})),t("div",{slot:"bottomtags"},this.data.proxioProduct.usp1?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp1):null,this.data.proxioProduct.usp2?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp2):null,this.data.proxioProduct.usp3?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp3):null),t("pn-illustration",{slot:"illustration",illustration:this.data.proxioProduct.productIcon}),t("div",{slot:"pricelink"},t("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.data.proxioProduct),link:this.getProductLink(this.data.proxioProduct,this.data.proxioProduct.productWeightGroupList),linktext:this.data.proxioProduct.productLinkText}),this.data.relatedProxioProducts?this.data.relatedProxioProducts.map((i=>t("pn-proxio-productcard-pricelink",{price:this.getPriceString(i),link:i.productLink,linktext:i.productLinkText}))):null))):null)}};a.style='pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position="0"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position="2"],pn-proxio-pricegroup div.weightdata[data-carousel-position="-2"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}';export{a as pn_proxio_pricegroup}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,j){function g(M){try{z(N.next(M))}catch(i){j(i)}}function e(M){try{z(N["throw"](M))}catch(i){j(i)}}function z(M){M.done?I(M.value):D(M.value).then(g,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},N,D,j,g;return g={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function e(M){return function(i){return z([M,i])}}function z(g){if(N)throw new TypeError("Generator is already executing.");while(I)try{if(N=1,D&&(j=g[0]&2?D["return"]:g[0]?D["throw"]||((j=D["return"])&&j.call(D),0):D.next)&&!(j=j.call(D,g[1])).done)return j;if(D=0,j)g=[g[0]&2,j.value];switch(g[0]){case 0:case 1:j=g;break;case 4:I.label++;return{value:g[1],done:false};case 5:I.label++;D=g[1];g=[0];continue;case 7:g=I.ops.pop();I.trys.pop();continue;default:if(!(j=I.trys,j=j.length>0&&j[j.length-1])&&(g[0]===6||g[0]===2)){I=0;continue}if(g[0]===3&&(!j||g[1]>j[0]&&g[1]<j[3])){I.label=g[1];break}if(g[0]===6&&I.label<j[1]){I.label=j[1];j=g;break}if(j&&I.label<j[2]){I.label=j[2];I.ops.push(g);break}if(j[2])I.ops.pop();I.trys.pop();continue}g=i.call(M,I)}catch(e){g=[6,e];D=0}finally{N=j=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,j;N<D;N++){if(j||!(N in i)){if(!j)j=Array.prototype.slice.call(i,0,N);j[N]=i[N]}}return M.concat(j||Array.prototype.slice.call(i))};System.register(["./p-36654f2a.system.js","./p-bfa7c83f.system.js","./p-8766fa86.system.js","./p-37017f68.system.js","./p-fe1f76a3.system.js","./p-825b8fb8.system.js"],(function(M){"use strict";var i,I,N,D,j,g,e;return{setters:[function(M){i=M.r;I=M.h},function(M){N=M.f;D=M.s;j=M.w},function(M){g=M.c},function(M){e=M.s},function(){},function(){}],execute:function(){var 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",riktigaVykort:"Köp Riktiga Vykort",riktigaVykortMobile:"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",riktigaVykort:"Buy Postcards",riktigaVykortMobile:"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",riktigaVykort:"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"}};var 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:""}};var u="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMT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AxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var n='@charset "UTF-8";pn-find-price .sizeTable{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 [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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack: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{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack: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}';var A=M("pn_find_price",function(){function M(M){i(this,M);this.source=N;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:""}}M.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,I,N,j;return __generator(this,(function(e){switch(e.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=e.sent();return[4,i.blob()];case 2:I=e.sent();e.label=3;case 3:e.trys.push([3,5,,6]);return[4,g(I)];case 4:N=e.sent();this.sourceData=N;this.sizecategory=D.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:j=e.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){e.market=T[this.market]}if(this.language&&z[this.language]){e.i18n=z[this.language]}};M.prototype.filterItems=function(){var M=this;var i;if(!((i=this.sourceData)===null||i===void 0?void 0:i.data)){console.log("Data has not yet been loaded");return}var I=this.sourceData.data.filter((function(M){return M.deliveryscope.toLocaleLowerCase()===e.market.country.toLocaleLowerCase()}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(this.weightvalue!==0){var g=N.filter((function(M){return M.maxweight.toString().includes("upto")})).filter((function(M){return Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-D>=0}));j=j.concat(g)}if(j.length===0&&this.weightvalue!==0){j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(j.length>0){j.sort((function(M,i){return M.maxweight-i.maxweight}));var z=__spreadArray([],new Map(j.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(z.length>0){j=z}}}j.sort((function(M,i){var I=M.rank?M.rank:1e4;var N=i.rank?i.rank:1e4;var D=M.highestrankusp?M.highestrankusp:"z";var j=i.highestrankusp?i.highestrankusp:"z";var g=D.localeCompare(j);var e=I-N;return g||e}));this.filteredItems=j};M.prototype.render=function(){var M=this;return I("div",{class:"findprice-form"},I("div",null,I("h4",{class:"heading"},e.i18n.sizeheading),I("div",{class:"sizecategory"},I("table",{class:"sizeTable"},I("img",{id:"clouds",src:c}),I("tr",null,I("td",null,I("img",{class:"firstCell",src:a})),I("td",null,I("img",{src:u})),I("td",null,I("img",{src:t})),I("td",null,I("img",{src:y}))),I("tr",null,I("td",null),D.map((function(i){return I("td",null,I("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=D.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),I("h4",{class:"heading"},e.i18n.weightheading),this.sizecategory.value&&j[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},j[this.sizecategory.unit].map((function(i){return I("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:j[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=j[M.sizecategory.unit].filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},e.i18n.resultlistheading?I("div",{class:"resultHeading"},e.i18n.resultlistheading):null,this.filteredItems.map((function(M){return I("div",null,I("pn-find-price-result",{item:M}))}))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}());A.style=n}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as i,a as t,g as n}from"./p-58e8d7d5.js";import{s as o}from"./p-f61342c3.js";import"./p-86f06e26.js";let s=class{constructor(i){e(this,i),this.loginDialog=null,this.idNamespace="",this.loggedin=!1,this.username=""}componentWillLoad(){this.init()}async init(){this.adjustLoginLinks()}adjustLoginLinks(){var e,i,t,n;if(!this.loginDialog)return;const s=(e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),e.href=e.href.replace("window.location.href",window.location.href),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")};(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loginMenuLinks.forEach(s)),(null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks)&&(null===(n=this.loginDialog)||void 0===n||n.loggedInLinks.forEach(s)),this.loginDialog.legacyLoginLinks=[{href:o.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:o.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}render(){var e;if(!this.loginDialog)return;let n={username:null,loggedin:!1};return this.username&&(n.username=this.username,n.loggedin=this.loggedin),i(t,Object.assign({},n),this.loginDialog.overrideLoginMenu?null:i("div",{"data-loggedin":this.loggedin+""},this.loggedin?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):i("div",null,(null===(e=this.loginDialog.loginMenuLinks)||void 0===e?void 0:e.length)>0?i("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))),this.loginDialog.overrideLoginMenu?i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)}get hostElement(){return n(this)}static get watchers(){return{loginDialog:["init"]}}};s.style="";let r=class{constructor(i){e(this,i),this.loginDialog=null,this.endpoint="",this.loggedin=!1,this.idNamespace="",this.heading=null,this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""},this.user=null,this.logoutLink=null,this.userName=null,this.userEmail="",this.currentProfile=null,this.profileoptions=[]}componentWillLoad(){var e;null===this.heading&&(null===(e=this.i18n)||void 0===e?void 0:e.profileSelectionFlyoutHeading)&&(this.heading=this.i18n.profileSelectionFlyoutHeading),this.init()}init(){this.updateUserInfo(),this.adjustLoginLinks(),this.fetchProfiles()}async fetchProfiles(){if(!this.loggedin||this.profileoptions.length>0)return;let e=`${this.endpoint}${this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/"}api/user/parentorganizations`;const i=await fetch(e),t=await i.json(),n=-1!==window.location.href.indexOf("localhost:6008")?{loggedin:!0,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:!0,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:!1,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:!0,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:!1,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:!1,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:!1,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:!1,customerGroup:"Agent"}]}]}:t;if(!n||!n.organizations||!n.organizations.length)return;n.organizations.forEach((e=>{if(!0===e.selected&&e.profiles){const i=e.profiles.filter((e=>!0===e.selected));i&&i[0]&&"agent"===i[0].customerGroup.toLocaleLowerCase()&&i[0].ssid&&(e.customerNumber=i[0].ssid)}else 10===e.customerNumber.length&&"55"===e.customerNumber.substring(0,2)&&(e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)),this.profileoptions.push(e)}));let o=n.organizations.filter((e=>!0===e.selected))[0];const s={name:this.userName,customerNumber:"",id:"",selected:!o,profiles:[]};o||(o=s),o&&o.name&&(this.currentProfile=o),this.profileoptions.push(s)}adjustLoginLinks(){var e,i,t,n;(null===(e=this.loginDialog)||void 0===e?void 0:e.loggedInLinks)&&(null===(i=this.loginDialog)||void 0===i||i.loggedInLinks.forEach(((e,i)=>{e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=o.loginManager.getLogoutUrl(e.href)),0!==i||e.href||(e.href=o.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary")}))),this.logoutLink=null!==(n=null===(t=this.loginDialog)||void 0===t?void 0:t.loggedInLinks.filter((e=>e.isLogoutLink))[0])&&void 0!==n?n:null}updateUserInfo(){const e=o.loginManager.getUserInfo();this.user=e,e&&(e&&e.email&&(this.userEmail=e.email),e&&e.given_name&&(this.userName=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),e&&e.given_name?this.userName=e.given_name:e&&e.family_name?this.userName=e.family_name:e&&e.username&&(this.userName=e.username))}render(){if(this.loginDialog)return i(t,Object.assign({},{}),this.heading?i("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,null!==this.currentProfile&&this.currentProfile.name?i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,i("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}),i("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((e=>!0!==e.selected)).map((e=>i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},i("a",{href:`${this.endpoint}/api/user/setprofile?customernumber=${e.profiles.length>0?e.profiles[0].customerNumber:e.customerNumber}&returnUrl=${window.location.href}`,class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},e.name),i("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},e.customerNumber?e.customerNumber:this.userEmail)),i("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"}))))),this.logoutLink?i("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},i("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:()=>o.loginManager.clearUserData(),class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)}get hostElement(){return n(this)}};r.style='.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';export{s as pn_marketweb_siteheader_login_links,r as pn_marketweb_siteheader_login_profileselection}