@postnord/pn-marketweb-components 2.0.3-beta6 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/cjs/{pn-find-price-store-345037e9.js → data-42342802.js} +0 -23
  2. package/cjs/data-e77c1ada.js +41 -0
  3. package/cjs/loader.cjs.js +1 -1
  4. package/cjs/pn-find-price-result.cjs.entry.js +7 -3
  5. package/cjs/{pn-product-pricelist-store-86310b5a.js → pn-find-price-store-6aab7fd0.js} +7 -2
  6. package/cjs/pn-find-price.cjs.entry.js +10 -9
  7. package/cjs/pn-find-service-and-price-result.cjs.entry.js +14 -13
  8. package/cjs/pn-language-selector_9.cjs.entry.js +1 -1
  9. package/cjs/pn-market-web-components.cjs.js +1 -1
  10. package/cjs/pn-product-card_3.cjs.entry.js +1 -1
  11. package/cjs/pn-product-pricelist-result.cjs.entry.js +58 -17
  12. package/cjs/pn-product-pricelist.cjs.entry.js +46 -61
  13. package/cjs/{pn-product-tile_3.cjs.entry.js → pn-product-tile-info_2.cjs.entry.js} +0 -13
  14. package/cjs/pn-product-tile.cjs.entry.js +19 -0
  15. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +3 -0
  16. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +14 -10
  17. package/collection/components/widgets/pn-find-price/pn-find-price.css +1 -1
  18. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +14 -15
  19. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +19 -2
  20. package/collection/components/widgets/pn-product-pricelist/data.js +8 -1
  21. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +93 -24
  22. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-translations.js +30 -14
  23. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +4 -3
  24. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +5 -5
  25. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +4 -4
  26. package/custom-elements/index.js +120 -70
  27. package/esm/data-108a2820.js +37 -0
  28. package/esm/{pn-find-price-store-cb8e4714.js → data-2fa1e9cb.js} +1 -23
  29. package/esm/loader.js +1 -1
  30. package/esm/pn-find-price-result.entry.js +7 -3
  31. package/esm/{pn-product-pricelist-store-2c336043.js → pn-find-price-store-3301df0a.js} +7 -2
  32. package/esm/pn-find-price.entry.js +3 -2
  33. package/esm/pn-find-service-and-price-result.entry.js +14 -13
  34. package/esm/pn-language-selector_9.entry.js +1 -1
  35. package/esm/pn-market-web-components.js +1 -1
  36. package/esm/pn-product-card_3.entry.js +1 -1
  37. package/esm/pn-product-pricelist-result.entry.js +56 -15
  38. package/esm/pn-product-pricelist.entry.js +36 -51
  39. package/esm/pn-product-tile-info_2.entry.js +31 -0
  40. package/esm/{pn-product-tile_3.entry.js → pn-product-tile.entry.js} +1 -29
  41. package/esm-es5/data-108a2820.js +1 -0
  42. package/esm-es5/data-2fa1e9cb.js +1 -0
  43. package/esm-es5/loader.js +1 -1
  44. package/esm-es5/pn-find-price-result.entry.js +1 -1
  45. package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
  46. package/esm-es5/pn-find-price.entry.js +1 -1
  47. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  48. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  49. package/esm-es5/pn-market-web-components.js +1 -1
  50. package/esm-es5/pn-product-card_3.entry.js +1 -1
  51. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  52. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  53. package/esm-es5/pn-product-tile-info_2.entry.js +1 -0
  54. package/esm-es5/{pn-product-tile_3.entry.js → pn-product-tile.entry.js} +1 -1
  55. package/package.json +1 -1
  56. package/pn-market-web-components/{p-d55dbea8.system.entry.js → p-01a615ef.system.entry.js} +1 -1
  57. package/pn-market-web-components/p-0a49c688.system.entry.js +1 -0
  58. package/pn-market-web-components/p-1ecf47ed.entry.js +1 -0
  59. package/pn-market-web-components/p-218200c0.system.entry.js +1 -0
  60. package/pn-market-web-components/p-290d5824.system.entry.js +1 -0
  61. package/pn-market-web-components/p-3971ddb9.system.js +1 -0
  62. package/pn-market-web-components/p-4e9a272d.js +1 -0
  63. package/pn-market-web-components/{p-d58e3078.entry.js → p-51fc5bc4.entry.js} +1 -1
  64. package/pn-market-web-components/p-5d587499.js +1 -0
  65. package/pn-market-web-components/p-61dbe832.entry.js +1 -0
  66. package/pn-market-web-components/p-67887512.system.js +1 -1
  67. package/pn-market-web-components/p-6f556e76.system.entry.js +1 -0
  68. package/pn-market-web-components/p-72c39bf1.js +1 -0
  69. package/pn-market-web-components/p-8117b79e.system.entry.js +1 -0
  70. package/pn-market-web-components/p-893a20df.system.entry.js +1 -0
  71. package/pn-market-web-components/p-8e146205.entry.js +1 -0
  72. package/pn-market-web-components/p-a597a036.entry.js +1 -0
  73. package/pn-market-web-components/p-a921d3fd.system.entry.js +1 -0
  74. package/pn-market-web-components/p-bdd0fc97.system.js +1 -0
  75. package/pn-market-web-components/p-bf7cc19d.system.js +1 -0
  76. package/pn-market-web-components/p-d0155ddf.entry.js +1 -0
  77. package/pn-market-web-components/p-d428dc82.entry.js +1 -0
  78. package/pn-market-web-components/{p-3120f5c4.entry.js → p-dc869f2f.entry.js} +1 -1
  79. package/pn-market-web-components/{p-83baf538.system.entry.js → p-e89a9e79.system.entry.js} +1 -1
  80. package/pn-market-web-components/p-eb600482.entry.js +1 -0
  81. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  82. package/types/components/widgets/pn-find-price/pn-find-price-result.d.ts +4 -3
  83. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +2 -2
  84. package/types/components/widgets/pn-find-price/pn-find-price.d.ts +2 -2
  85. package/types/components/widgets/pn-product-card/pn-product-card-price.d.ts +1 -0
  86. package/types/components/widgets/pn-product-pricelist/pn-product-pricelist-result.d.ts +2 -0
  87. package/types/components/widgets/pn-product-pricelist/pn-product-pricelist-translations.d.ts +26 -10
  88. package/types/components.d.ts +12 -6
  89. package/types/globals/shared/productprice/product-price-types.d.ts +5 -2
  90. package/umd/pn-marketweb-inject.js +0 -2
  91. package/esm-es5/pn-find-price-store-cb8e4714.js +0 -1
  92. package/esm-es5/pn-product-pricelist-store-2c336043.js +0 -1
  93. package/pn-market-web-components/p-045a349a.entry.js +0 -1
  94. package/pn-market-web-components/p-10b95894.entry.js +0 -1
  95. package/pn-market-web-components/p-20c72142.entry.js +0 -1
  96. package/pn-market-web-components/p-43dd4b37.system.js +0 -1
  97. package/pn-market-web-components/p-7b93d570.system.entry.js +0 -1
  98. package/pn-market-web-components/p-86b271f4.entry.js +0 -1
  99. package/pn-market-web-components/p-9e8c5793.system.entry.js +0 -1
  100. package/pn-market-web-components/p-a5bc1695.system.js +0 -1
  101. package/pn-market-web-components/p-adc8d9ab.js +0 -1
  102. package/pn-market-web-components/p-ae2bd55f.js +0 -1
  103. package/pn-market-web-components/p-aeb26d10.system.entry.js +0 -1
  104. package/pn-market-web-components/p-af800e0e.system.entry.js +0 -1
  105. package/pn-market-web-components/p-c90b8645.system.entry.js +0 -1
  106. package/pn-market-web-components/p-d46d9b6e.system.entry.js +0 -1
  107. package/pn-market-web-components/p-e056d2c6.entry.js +0 -1
  108. package/pn-market-web-components/p-f1c06bc8.entry.js +0 -1
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):a(e.value).then(r,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(l){r=[6,l];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-36654f2a.system.js","./p-add7d76c.system.js","./p-55513980.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,n,i,a,o,r,l,s,u;return{setters:[function(e){t=e.r;n=e.e;i=e.h;a=e.a;o=e.g},function(e){r=e.s;l=e.o},function(e){s=e.M},function(e){u=e.c}],execute:function(){var c={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"}};var d="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";var g=e("pn_language_selector",function(){function e(e){t(this,e);this.setLanguage=n(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[]}e.prototype.componentWillLoad=function(){this.setInitialSelectedLanguageName();this.setTranslations()};e.prototype.componentDidLoad=function(){this.initialize()};e.prototype.initialize=function(){this.setSelectedLanguageName();this.addEventBindingsToOptions()};e.prototype.setInitialSelectedLanguageName=function(){if(!window.Intl||!this.value){return}var e=new Intl.DisplayNames([this.value],{type:"language"});if(!e){return}var t=e.of(this.value);if(!t){return}this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1)};e.prototype.addEventBindingsToOptions=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){t.removeEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}));t.addEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}))}))};e.prototype.setSelectedLanguageName=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){if(t.getAttribute("code")==e.value){e.selectedLanguageName=t.getAttribute("name")}}))};e.prototype.onSetCurrentLanguage=function(e){this.value=e.code;this.selectedLanguageName=e.name;this.setLanguage.emit(this.value)};e.prototype.setTranslations=function(){if(c[this.value]){this.i18n=c[this.value]}};e.prototype.onValueChange=function(){var e=this;var t;var n=(t=this.hostElement.querySelectorAll("pn-language-selector-option"))!==null&&t!==void 0?t:[];n.forEach((function(t){var n=(t.getAttribute("code")===e.value)+"";if(t.getAttribute("selected")+""!==n){t.setAttribute("selected",n)}}))};e.prototype.render=function(){return i(a,{value:this.value},i("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},i("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},i("strong",{class:"languageselector-title"},this.i18n.heading),i("div",{class:"languageselector-list",role:"list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}());g.style=d;var m="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";var h=e("pn_language_selector_option",function(){function e(e){t(this,e);this.setCurrentLanguage=n(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false}e.prototype.onOptionClick=function(){var e={name:this.name,code:this.code,url:this.url,current:true};this.setCurrentLanguage.emit(e)};e.prototype.render=function(){return i(a,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?i("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):i("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}());h.style=m;var p={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},fi:{menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa",navLabel:"Päänavigointi"}};var f="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";var v=e("pn_mainnav",function(){function e(e){t(this,e);this.menuLanguageChange=n(this,"menuLanguageChange",7);this.marketChange=n(this,"marketChange",7);this.menuOpenChange=n(this,"menuOpenChange",7);this.market="se";this.language="sv";this.navigationId="mainnav";this.openMenu=false;this.navLabel=""}e.prototype.componentWillLoad=function(){this.init();document.removeEventListener("mousedown",this._onClickOutside.bind(this));document.addEventListener("mousedown",this._onClickOutside.bind(this))};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setLanguage();this.setMarket();return[2]}))}))};e.prototype._onClickOutside=function(e){var t=!this.hostElement.contains(e.target);if(t){r.openLevel=""}};e.prototype.setLanguage=function(){this.menuLanguageChange.emit(this.language)};e.prototype.setMarket=function(){this.marketChange.emit(this.market)};e.prototype.onLanguageChange=function(e){if(p[e.detail]){r.i18n=p[e.detail];if(!this.navLabel){this.navLabel=r.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){r.openMenu=!r.openMenu;this.menuOpenChange.emit(r.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){r.openLevel=e.detail};e.prototype.render=function(){return i(a,null,i("div",{class:"mainnav-toggle"},i("button",{"aria-controls":this.navigationId,"aria-expanded":r.openMenu+"",onClick:this.setMenuOpenState.bind(this)},r.i18n.mainMenuButton,i("pn-icon",{symbol:r.openMenu?"close":"bars",color:"white"}))),i("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":r.openMenu+"","data-menu-currentlevel":r.currentLevel,id:this.navigationId},i("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=f;var b='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';var w=e("pn_mainnav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.listCount=0;this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){var e=this;if(this.level===2){requestAnimationFrame((function(){var t=e.hostElement.getClientRects()[0];if(!t){return}var n=e.hostElement.parentElement.parentElement.parentElement.parentElement;if(n&&n.tagName.toLowerCase()==="nav"){var i=n.getClientRects()[0];if(!i){return}if(t.right>window.innerWidth){var a=e.hostElement.parentElement.getClientRects()[0];if(a.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=r.openLevel===this.levelId;r.currentLevel=this.level};e.prototype.render=function(){return i(a,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?i("div",{class:"mainnav-level-header"},i("label",{htmlFor:this.levelId},r.i18n.menuGoBackButton),i("button",{class:"secondlevel-backbtn",onClick:function(){r.openLevel="";r.currentLevel=1},"aria-expanded":(r.openLevel===this.levelId)+""},i("pn-icon",{symbol:"arrow-left",color:"blue700"}),r.i18n.menuStartButton),this.parentHref&&this.parentName?i("pn-mainnav-link",{href:this.parentHref,name:this.parentName,linkid:this.parentLinkId}):null):null,i("slot",{name:"top"}),i("slot",null),i("slot",{name:"additional"}),i("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());w.style=b;var y='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';var k=e("pn_mainnav_list",function(){function e(e){t(this,e);this.heading="";this.linkCount=0}e.prototype.componentWillLoad=function(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length};e.prototype.render=function(){return i(a,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?i("div",{class:"mainnav-list-heading"},this.heading):null,i("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=y;var x="pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login ul,pn-marketweb-siteheader-login li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login li pn-button{display:block;width:100%}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";var L=e("pn_marketweb_siteheader_login",function(){function e(e){t(this,e);this.loginStateChange=n(this,"loginStateChange",7);this.endpoint="";this.token="";this.emitEvents=true;this.loginDialog=null;this.loginManager=null;this.loggedIn=false;this.toggleButtonText="";this.username=""}e.prototype.componentWillLoad=function(){this.loginManager=new s({endpoint:this.endpoint,eventTarget:this.hostElement});this.hostElement["loginmanager"]=this.loginManager;if(this.token){this.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){this.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(this.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleButtonText=this.loginDialog.loginMenuLinkText;this.loginManager.init(this.emitEvents);this.setToggleButtonText();return[2]}))}))};e.prototype.setUserName=function(){var e=this.loginManager.getUserInfo();var t="";if(!this.loggedIn||!e){this.username=t}if(e.given_name){t=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(!t&&e.email){t=e.email}this.username=t};e.prototype.setToggleButtonText=function(){if(this.loggedIn){this.toggleButtonText=this.username;if(!this.toggleButtonText){this.toggleButtonText=this.loginDialog.loggedInButtonText}}else{this.toggleButtonText=this.loginDialog.loginMenuLinkText}};e.prototype.onLoginStateChange=function(e){if(this.loggedIn!==e.detail&&this.emitEvents){this.loggedIn=e.detail;this.loginStateChange.emit({loggedIn:this.loggedIn,token:this.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.uniqueId=function(e){return"loginlink-"+e.replace(/[^A-Za-z0-9.\\\/]/gim,"")+"-"+(this.emitEvents?"1":"2")};e.prototype.linkAppearanceAttributes=function(e){var t={};if(e.linkType){switch(e.linkType){case"primary":t={appearance:"",variant:""};break;case"secondary":t={appearance:"light",variant:"outlined"};break;case"regularlink":default:t={appearance:"light",variant:"borderless",icon:"arrow-right"};break}return t}if(!e.linkType){t={appearance:e.primaryLinkApperance?"dark":"light"}}return t};e.prototype.render=function(){var e=this;var t,n,o;if(!this.loginDialog){return}var r={username:null};if(this.username){r.username=this.username}return i(a,Object.assign({},r),i("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},!this.loginDialog.overrideLoginMenu?i("div",{"data-loggedin":this.loggedIn+""},!this.loggedIn?i("div",null,(t=this.loginDialog.loginTitle)!==null&&t!==void 0?t:i("strong",null,this.loginDialog.loginTitle),((n=this.loginDialog.loginMenuLinks)===null||n===void 0?void 0:n.length)>0?i("ul",null,this.loginDialog.loginMenuLinks.map((function(t,n){var a=n===0&&!t.href?e.loginManager.getLoginUrl():t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},e.linkAppearanceAttributes(t),t.openInNewWindow&&{target:"_blank"}),t.linkText))}))):i("ul",null,i("li",null,i("pn-button",{href:this.loginManager.getLoginUrl(this.loginDialog.loginUrl),target:"_top"},this.loginDialog.loginLinkText)),i("li",null,i("pn-button",{href:this.loginDialog.registerUrl,target:"_top",appearance:"light",variant:"outlined"},this.loginDialog.createLoginLinkText)))):i("div",null,i("ul",null,this.loginDialog.loggedInLinks.map((function(t){var n=t.href.indexOf("logout")!==-1;var a=n?e.loginManager.getLogoutUrl(t.href.replace("logout","").replace("http://window.location.href/?","").replace("https://window.location.href/?","")):t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},t.openInNewWindow&&{target:"_blank"},e.linkAppearanceAttributes(t),{onClick:function(){if(n){e.loginManager.clearUserData()}}}),t.linkText))}))))):i("div",null,i("ul",null,(o=this.loginDialog.loginMenuLinks)===null||o===void 0?void 0:o.map((function(e){return i("li",null,i("a",{href:e.href,target:e.openInNewWindow?"_blank":"_self",class:"btn btn-link"},e.linkText))}))))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}());L.style=x;var C=u({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),_=C.state,S=C.onChange;var E=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";var F=e("pn_marketweb_siteheader_search",function(){function e(e){t(this,e);this.showOnlyLink=false;this.hideSearch=false;this.language=null;this.search={};this.primary=false;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(_.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,a;return __generator(this,(function(o){switch(o.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(_.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(_.autocompleteSuggestions[e]);return[2]}t="".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10");if(this.language){t+="&tags=language:".concat(this.language)}return[4,fetch(t,{signal:_.requestAbortController.signal}).catch((function(e){console.log("Unable to fetch autocomplete suggestions",e)}))];case 1:n=o.sent();if(!n){return[2]}return[4,n.json()];case 2:i=o.sent();if(!i||!i.hits||!i.hits.length){return[2]}a=i.hits.map((function(e){return e.query}));_.autocompleteSuggestions[e]=a;this.setAutocompleteSuggestions(a);return[2]}}))}))};e.prototype.setAutocompleteSuggestions=function(e){if(typeof e!=="object"||typeof e.length!=="number"||e.length===0){return}this.autoCompleteOptions=e};e.prototype.componentWillLoad=function(){var e=this;S("searchValue",(function(){e.onSearchValueUpdate()}))};e.prototype.componentDidRender=function(){var e=this.hostElement.querySelector("pn-search-field input:not([list])");if(e&&this.search.AutocompleteEndpoint){e.setAttribute("list","siteheader-search-autocomplete")}};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}var t=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return i("div",{class:"siteheader-search"},this.showOnlyLink?i("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},i("pn-button",{appearance:"light",icon:"search"})):i("form",{method:"get",action:this.search.formActionUrl,role:"search"},i("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:"icon"},t,{onUpdate:function(e){_.searchValue=e.detail},onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?i("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((function(e){return i("option",null,e)}))):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());F.style=E;var B={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"}};var M="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";var O=e("pn_site_selector",function(){function e(e){t(this,e);this.buttontext="postnord";this.heading="PostNord";this.language="sv";this.i18n={navlabel:"Site selector"}}e.prototype.componentWillLoad=function(){this.setLanguage()};e.prototype.setLanguage=function(){if(B[this.language]){this.i18n=B[this.language]}};e.prototype.render=function(){return i(a,null,i("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},i("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?i("strong",{class:"siteselector-heading"},this.heading):null,i("ul",{class:"siteselector-list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());O.style=M;var A="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";var D=e("pn_site_selector_item",function(){function e(e){t(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return i(a,{role:"listitem"},this.url?i("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},i("span",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)),i("pn-icon",{symbol:"angle-small-right",color:"blue700"})):i("div",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)))};return e}());D.style=A}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):a(e.value).then(r,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(l){r=[6,l];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-36654f2a.system.js","./p-add7d76c.system.js","./p-55513980.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,n,i,a,o,r,l,s,u;return{setters:[function(e){t=e.r;n=e.e;i=e.h;a=e.a;o=e.g},function(e){r=e.s;l=e.o},function(e){s=e.M},function(e){u=e.c}],execute:function(){var c={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"}};var d="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";var g=e("pn_language_selector",function(){function e(e){t(this,e);this.setLanguage=n(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[]}e.prototype.componentWillLoad=function(){this.setInitialSelectedLanguageName();this.setTranslations()};e.prototype.componentDidLoad=function(){this.initialize()};e.prototype.initialize=function(){this.setSelectedLanguageName();this.addEventBindingsToOptions()};e.prototype.setInitialSelectedLanguageName=function(){if(!window.Intl||!this.value){return}var e=new Intl.DisplayNames([this.value],{type:"language"});if(!e){return}var t=e.of(this.value);if(!t){return}this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1)};e.prototype.addEventBindingsToOptions=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){t.removeEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}));t.addEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}))}))};e.prototype.setSelectedLanguageName=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){if(t.getAttribute("code")==e.value){e.selectedLanguageName=t.getAttribute("name")}}))};e.prototype.onSetCurrentLanguage=function(e){this.value=e.code;this.selectedLanguageName=e.name;this.setLanguage.emit(this.value)};e.prototype.setTranslations=function(){if(c[this.value]){this.i18n=c[this.value]}};e.prototype.onValueChange=function(){var e=this;var t;var n=(t=this.hostElement.querySelectorAll("pn-language-selector-option"))!==null&&t!==void 0?t:[];n.forEach((function(t){var n=(t.getAttribute("code")===e.value)+"";if(t.getAttribute("selected")+""!==n){t.setAttribute("selected",n)}}))};e.prototype.render=function(){return i(a,{value:this.value},i("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},i("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},i("strong",{class:"languageselector-title"},this.i18n.heading),i("div",{class:"languageselector-list",role:"list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}());g.style=d;var m="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";var h=e("pn_language_selector_option",function(){function e(e){t(this,e);this.setCurrentLanguage=n(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false}e.prototype.onOptionClick=function(){var e={name:this.name,code:this.code,url:this.url,current:true};this.setCurrentLanguage.emit(e)};e.prototype.render=function(){return i(a,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?i("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):i("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}());h.style=m;var p={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},fi:{menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa",navLabel:"Päänavigointi"}};var f="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";var v=e("pn_mainnav",function(){function e(e){t(this,e);this.menuLanguageChange=n(this,"menuLanguageChange",7);this.marketChange=n(this,"marketChange",7);this.menuOpenChange=n(this,"menuOpenChange",7);this.market="se";this.language="sv";this.navigationId="mainnav";this.openMenu=false;this.navLabel=""}e.prototype.componentWillLoad=function(){this.init();document.removeEventListener("mousedown",this._onClickOutside.bind(this));document.addEventListener("mousedown",this._onClickOutside.bind(this))};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setLanguage();this.setMarket();return[2]}))}))};e.prototype._onClickOutside=function(e){var t=!this.hostElement.contains(e.target);if(t){r.openLevel=""}};e.prototype.setLanguage=function(){this.menuLanguageChange.emit(this.language)};e.prototype.setMarket=function(){this.marketChange.emit(this.market)};e.prototype.onLanguageChange=function(e){if(p[e.detail]){r.i18n=p[e.detail];if(!this.navLabel){this.navLabel=r.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){r.openMenu=!r.openMenu;this.menuOpenChange.emit(r.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){r.openLevel=e.detail};e.prototype.render=function(){return i(a,null,i("div",{class:"mainnav-toggle"},i("button",{"aria-controls":this.navigationId,"aria-expanded":r.openMenu+"",onClick:this.setMenuOpenState.bind(this)},r.i18n.mainMenuButton,i("pn-icon",{symbol:r.openMenu?"close":"bars",color:"white"}))),i("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":r.openMenu+"","data-menu-currentlevel":r.currentLevel,id:this.navigationId},i("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=f;var b='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';var w=e("pn_mainnav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.listCount=0;this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){var e=this;if(this.level===2){requestAnimationFrame((function(){var t=e.hostElement.getClientRects()[0];if(!t){return}var n=e.hostElement.parentElement.parentElement.parentElement.parentElement;if(n&&n.tagName.toLowerCase()==="nav"){var i=n.getClientRects()[0];if(!i){return}if(t.right>window.innerWidth){var a=e.hostElement.parentElement.getClientRects()[0];if(a.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=r.openLevel===this.levelId;r.currentLevel=this.level};e.prototype.render=function(){return i(a,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?i("div",{class:"mainnav-level-header"},i("label",{htmlFor:this.levelId},r.i18n.menuGoBackButton),i("button",{class:"secondlevel-backbtn",onClick:function(){r.openLevel="";r.currentLevel=1},"aria-expanded":(r.openLevel===this.levelId)+""},i("pn-icon",{symbol:"arrow-left",color:"blue700"}),r.i18n.menuStartButton),this.parentHref&&this.parentName?i("pn-mainnav-link",{href:this.parentHref,name:this.parentName,linkid:this.parentLinkId}):null):null,i("slot",{name:"top"}),i("slot",null),i("slot",{name:"additional"}),i("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());w.style=b;var y='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';var k=e("pn_mainnav_list",function(){function e(e){t(this,e);this.heading="";this.linkCount=0}e.prototype.componentWillLoad=function(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length};e.prototype.render=function(){return i(a,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?i("div",{class:"mainnav-list-heading"},this.heading):null,i("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=y;var x="pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login ul,pn-marketweb-siteheader-login li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login li pn-button{display:block;width:100%}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";var L=e("pn_marketweb_siteheader_login",function(){function e(e){t(this,e);this.loginStateChange=n(this,"loginStateChange",7);this.endpoint="";this.token="";this.emitEvents=true;this.loginDialog=null;this.loginManager=null;this.loggedIn=false;this.toggleButtonText="";this.username=""}e.prototype.componentWillLoad=function(){this.loginManager=new s({endpoint:this.endpoint,eventTarget:this.hostElement});this.hostElement["loginmanager"]=this.loginManager;if(this.token){this.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){this.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(this.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleButtonText=this.loginDialog.loginMenuLinkText;this.loginManager.init(this.emitEvents);this.setToggleButtonText();return[2]}))}))};e.prototype.setUserName=function(){var e=this.loginManager.getUserInfo();var t="";if(!this.loggedIn||!e){this.username=t}if(e.given_name){t=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(!t&&e.email){t=e.email}this.username=t};e.prototype.setToggleButtonText=function(){if(this.loggedIn){this.toggleButtonText=this.username;if(!this.toggleButtonText){this.toggleButtonText=this.loginDialog.loggedInButtonText}}else{this.toggleButtonText=this.loginDialog.loginMenuLinkText}};e.prototype.onLoginStateChange=function(e){if(this.loggedIn!==e.detail&&this.emitEvents){this.loggedIn=e.detail;this.loginStateChange.emit({loggedIn:this.loggedIn,token:this.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.uniqueId=function(e){return"loginlink-"+e.replace(/[^A-Za-z0-9.\\\/]/gim,"")+"-"+(this.emitEvents?"1":"2")};e.prototype.linkAppearanceAttributes=function(e){var t={};if(e.linkType){switch(e.linkType){case"primary":t={appearance:"",variant:""};break;case"secondary":t={appearance:"light",variant:"outlined"};break;case"regularlink":default:t={appearance:"light",variant:"borderless",icon:"arrow-right"};break}return t}if(!e.linkType){t={appearance:e.primaryLinkApperance?"dark":"light"}}return t};e.prototype.render=function(){var e=this;var t,n,o;if(!this.loginDialog){return}var r={username:null};if(this.username){r.username=this.username}return i(a,Object.assign({},r),i("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},!this.loginDialog.overrideLoginMenu?i("div",{"data-loggedin":this.loggedIn+""},!this.loggedIn?i("div",null,(t=this.loginDialog.loginTitle)!==null&&t!==void 0?t:i("strong",null,this.loginDialog.loginTitle),((n=this.loginDialog.loginMenuLinks)===null||n===void 0?void 0:n.length)>0?i("ul",null,this.loginDialog.loginMenuLinks.map((function(t,n){var a=n===0&&!t.href?e.loginManager.getLoginUrl():t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},e.linkAppearanceAttributes(t),t.openInNewWindow&&{target:"_blank"}),t.linkText))}))):i("ul",null,i("li",null,i("pn-button",{href:this.loginManager.getLoginUrl(this.loginDialog.loginUrl),target:"_top"},this.loginDialog.loginLinkText)),i("li",null,i("pn-button",{href:this.loginDialog.registerUrl,target:"_top",appearance:"light",variant:"outlined"},this.loginDialog.createLoginLinkText)))):i("div",null,i("ul",null,this.loginDialog.loggedInLinks.map((function(t){var n=t.href.indexOf("logout")!==-1;var a=n?e.loginManager.getLogoutUrl(t.href.replace("logout","").replace("http://window.location.href/?","").replace("https://window.location.href/?","")):t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},t.openInNewWindow&&{target:"_blank"},e.linkAppearanceAttributes(t),{onClick:function(){if(n){e.loginManager.clearUserData()}}}),t.linkText))}))))):i("div",null,i("ul",null,(o=this.loginDialog.loginMenuLinks)===null||o===void 0?void 0:o.map((function(e){return i("li",null,i("a",{href:e.href,target:e.openInNewWindow?"_blank":"_self",class:"btn btn-link"},e.linkText))}))))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}());L.style=x;var C=u({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),_=C.state,F=C.onChange;var S=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";var E=e("pn_marketweb_siteheader_search",function(){function e(e){t(this,e);this.showOnlyLink=false;this.hideSearch=false;this.language=null;this.search={};this.primary=false;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(_.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,a;return __generator(this,(function(o){switch(o.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(_.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(_.autocompleteSuggestions[e]);return[2]}t="".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10");if(this.language){t+="&tags=language:".concat(this.language)}return[4,fetch(t,{signal:_.requestAbortController.signal}).catch((function(e){console.log("Unable to fetch autocomplete suggestions",e)}))];case 1:n=o.sent();if(!n){return[2]}return[4,n.json()];case 2:i=o.sent();if(!i||!i.hits||!i.hits.length){return[2]}a=i.hits.map((function(e){return e.query}));_.autocompleteSuggestions[e]=a;this.setAutocompleteSuggestions(a);return[2]}}))}))};e.prototype.setAutocompleteSuggestions=function(e){if(typeof e!=="object"||typeof e.length!=="number"||e.length===0){return}this.autoCompleteOptions=e};e.prototype.componentWillLoad=function(){var e=this;F("searchValue",(function(){e.onSearchValueUpdate()}))};e.prototype.componentDidRender=function(){var e=this.hostElement.querySelector("pn-search-field input:not([list])");if(e&&this.search.AutocompleteEndpoint){e.setAttribute("list","siteheader-search-autocomplete")}};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}var t=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return i("div",{class:"siteheader-search"},this.showOnlyLink?i("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},i("pn-button",{appearance:"light",icon:"search"})):i("form",{method:"get",action:this.search.formActionUrl,role:"search"},i("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:"icon"},t,{onUpdate:function(e){_.searchValue=e.detail},onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?i("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((function(e){return i("option",null,e)}))):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());E.style=S;var B={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"}};var M="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";var O=e("pn_site_selector",function(){function e(e){t(this,e);this.buttontext="postnord";this.heading="PostNord";this.language="sv";this.i18n={navlabel:"Site selector"}}e.prototype.componentWillLoad=function(){this.setLanguage()};e.prototype.setLanguage=function(){if(B[this.language]){this.i18n=B[this.language]}};e.prototype.render=function(){return i(a,null,i("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},i("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?i("strong",{class:"siteselector-heading"},this.heading):null,i("ul",{class:"siteselector-list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());O.style=M;var A="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";var D=e("pn_site_selector_item",function(){function e(e){t(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return i(a,{role:"listitem"},this.url?i("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},i("span",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)),i("pn-icon",{symbol:"angle-small-right",color:"blue700"})):i("div",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)))};return e}());D.style=A}}}));
@@ -0,0 +1 @@
1
+ import{r as M,h as I}from"./p-58e8d7d5.js";import{f as N,s as D,a as j,w as i}from"./p-72c39bf1.js";import{c as g}from"./p-9adc3940.js";import{s as z}from"./p-5d587499.js";import"./p-86f06e26.js";const T={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",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Köp frimärken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Sök serviceställe eller brevlåda"},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",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"Buy Stamps",message:"When buying from any agent",servicePointHeader:"Or find nearest service point",servicePointLink:"Search letter-box or service point"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},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"}},y={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};let u=class{constructor(I){M(this,I),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:""}}componentWillLoad(){this.setState(),this.getDataSource()}async getDataSource(){const M=`?cache=${Math.floor(9999*Math.random()+1)}`,I=await fetch(this.source+M),N=await I.blob();try{const M=await g(N);this.sourceData=M,this.sizecategory=D.filter((M=>"Small"===M.value))[0],this.filterItems()}catch(j){console.log("Unable to parse data")}}setState(){this.market&&(z.market=y[this.market]),this.language&&T[this.language]&&(z.i18n=T[this.language])}filterItems(){var M;if(!(null===(M=this.sourceData)||void 0===M?void 0:M.data))return void console.log("Data has not yet been loaded");const I=this.sourceData.data.filter((M=>"sweden"===M.deliveryscope.toLocaleLowerCase()));if(!this.sizecategory)return;const N=I.filter((M=>M.sizecategory.toLocaleLowerCase()===this.sizecategory.value.toLocaleLowerCase()));if(!this.weight)return;const D=this.weight.value<=20?1e3*this.weight.value:this.weight.value;let j=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)===D));if(0===j.length&&0!==this.weightvalue&&(j=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)>=D)),j.length>0)){j.sort(((M,I)=>M.maxweight-I.maxweight));const M=[...new Map(j.reverse().map((M=>[M.id,M]))).values()];M.length>0&&(j=M)}j.sort(((M,I)=>{var N=M.highestrankusp?M.highestrankusp.toLowerCase():"z",D=I.highestrankusp?I.highestrankusp.toLowerCase():"z";return N.localeCompare(D)})),this.filteredItems=j}render(){return I("div",{class:"findprice-form"},I("div",null,I("div",{class:"sizecategory"},I("table",{class:"sizeTable"},I("img",{id:"clouds",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc4IiBoZWlnaHQ9IjU1IiB2aWV3Qm94PSIwIDAgMjc4IDU1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjQ3LjM1NSA0OS42ODE1QzI0Ny42OTQgNTIuNDc5IDI0OS43MjIgNTQuNjI2MSAyNTIuMTgxIDU0LjYyNjFIMjcyLjkyNkMyNzUuNjIgNTQuNjI2MSAyNzcuNzk4IDUyLjA1MjIgMjc3Ljc5OCA0OC44Njg2VjQ4LjgwMDhDMjc3Ljc5OCA0NS42MTczIDI3NS42MiA0My4wNDMzIDI3Mi45MjYgNDMuMDQzM0gyNzAuNTM3QzI2OS42MDggMzkuMjQzOSAyNjYuODQ2IDM2LjQ3MyAyNjMuNTg1IDM2LjQ3M0gyNTkuNzE3QzI1OS4zNzMgMzEuODQxIDI1Ni4xMDEgMjguMjA5MiAyNTIuMTI0IDI4LjIwOTJDMjQ4LjE0NiAyOC4yMDkyIDI0NC44OCAzMS44NDEgMjQ0LjUzIDM2LjQ3M0gyNDIuMDk1QzIzOC4wODMg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Mi43MDk0IDMuNjEzODNDMzIuNjM4MSAzLjYwMzgzIDMyLjU2NjggMy41OTM4MiAzMi40OTU1IDMuNTkzODJaIiBmaWxsPSIjMEQyMzRCIi8+CjxwYXRoIGQ9Ik03MC40OTE3IDY1LjcwNEg1LjgxMDU1VjY3LjIwNDFINzAuNDkxN1Y2NS43MDRaIiBmaWxsPSIjMEQyMzRCIi8+Cjwvc3ZnPgo="}))),I("tr",null,I("td",null),D.map((M=>I("td",null,I("pn-radio-button",{radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=D.filter((I=>I.value===M.value))[0],this.weight={value:0,name:""},this.weightvalue=this.weight.value}})))))))),this.sizecategory.value&&i[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},i[this.sizecategory.unit].map((M=>I("pn-choice-button",{choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:this.weight.value?i[this.sizecategory.unit].findIndex((M=>M.value===this.weightvalue)):0,checked:M.value===this.weight.value,onChange:()=>{this.weight=i[this.sizecategory.unit].filter((I=>I.value===M.value))[0],this.weightvalue=this.weight.value}},M.name))))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},z.i18n.resultlistheading?I("div",{class:"resultHeading"},z.i18n.resultlistheading):null,this.filteredItems.map((M=>I("div",null,I("pn-find-price-result",{item:M})))),I("div",{class:"servicePoint"},I("pn-illustration",{illustration:"character-box-letters-house"}),I("h3",null,z.i18n.servicePointHeader),I("a",{href:j,target:"_blank"},I("pn-icon",{symbol:"map-marker",color:"blue700"}),z.i18n.servicePointLink))):null)}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};u.style='@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:0 auto 3em auto}pn-find-price h2,pn-find-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}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:5em;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}';export{u as pn_find_price}
@@ -1 +1 @@
1
- import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-23b4ba5b",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],token:[1],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-20c72142",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-045a349a",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-40264b65",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-51df9292",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-7665f7ee",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-f1c06bc8",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-e056d2c6",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-86b271f4",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-3120f5c4",[[4,"pn-product-card"],[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1]}]]],["p-d58e3078",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],loginManager:[32],loggedIn:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],language:[1537],search:[1040],primary:[4],autoCompleteOptions:[32]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]],["p-10b95894",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]]],e)));
1
+ import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-23b4ba5b",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],token:[1],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-eb600482",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-a597a036",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-1ecf47ed",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-40264b65",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-51df9292",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-7665f7ee",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-d0155ddf",[[4,"pn-product-tile"]]],["p-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-dc869f2f",[[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1],linkid:[1]}],[4,"pn-product-card"]]],["p-61dbe832",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-d428dc82",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],showMeasurement:[4,"show-measurement"],weightText:[32],linkId:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-8e146205",[[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]],["p-51fc5bc4",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],loginManager:[32],loggedIn:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],language:[1537],search:[1040],primary:[4],autoCompleteOptions:[32]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]]],e)));
@@ -1,13 +1,14 @@
1
- import { ProductPriceItm } from "./pn-find-price-types";
1
+ import { ProductPriceItem } from "./pn-find-price-types";
2
2
  export declare class PnfindPriceResult {
3
- item: ProductPriceItm;
4
- shownitems: ProductPriceItm[];
3
+ item: ProductPriceItem;
4
+ shownitems: ProductPriceItem[];
5
5
  Usp1?: string;
6
6
  Usp2?: string;
7
7
  Usp3?: string;
8
8
  description?: string[];
9
9
  showMeasurement?: boolean;
10
10
  weightText: string;
11
+ linkId: string;
11
12
  componentWillLoad(): void;
12
13
  composeItems(): void;
13
14
  render(): any;
@@ -28,9 +28,9 @@ export interface PnfindPriceMarket {
28
28
  }
29
29
  export interface ProductPriceSourceData {
30
30
  types: any[];
31
- data: ProductPriceItm[];
31
+ data: ProductPriceItem[];
32
32
  }
33
- export interface ProductPriceItm {
33
+ export interface ProductPriceItem {
34
34
  sizecategory: string;
35
35
  id: string;
36
36
  what: string;
@@ -1,9 +1,9 @@
1
- import { ProductPriceSourceData, ProductPriceItm, FindPriceWeight, FindPriceSizeCategory } from "./pn-find-price-types";
1
+ import { ProductPriceSourceData, ProductPriceItem, FindPriceWeight, FindPriceSizeCategory } from "./pn-find-price-types";
2
2
  export declare class PnfindPrice {
3
3
  source: string;
4
4
  language: string;
5
5
  market: string;
6
- filteredItems: ProductPriceItm[];
6
+ filteredItems: ProductPriceItem[];
7
7
  weight: FindPriceWeight;
8
8
  weightvalue: number;
9
9
  sourceData: ProductPriceSourceData;
@@ -5,5 +5,6 @@ export declare class PnProductCardPrice {
5
5
  note: string;
6
6
  url: string;
7
7
  service: string;
8
+ linkid: string;
8
9
  render(): any;
9
10
  }
@@ -1,7 +1,9 @@
1
1
  import { ProductPriceItem } from "../../../globals/shared/productprice/product-price-types";
2
2
  export declare class PnFindProductPricelistResult {
3
3
  item: ProductPriceItem;
4
+ description?: string[];
4
5
  shownitems: ProductPriceItem[];
6
+ showMeasurement?: boolean;
5
7
  weightText: string;
6
8
  componentWillLoad(): void;
7
9
  composeItems(): void;
@@ -1,41 +1,57 @@
1
1
  export declare const translations: {
2
2
  sv: {
3
- maxweightlabel: string;
3
+ componentheading: string;
4
+ deliveryscopeheading: string;
5
+ resultlistheading: string;
4
6
  weightlabel: string;
7
+ maxweightlabel: string;
5
8
  maxmeasurementlabel: string;
6
- sizeheading: string;
7
9
  senddirectcta: string;
8
10
  stampshopcta: string;
11
+ message: string;
12
+ servicePointHeader: string;
13
+ servicePointLink: string;
9
14
  };
10
15
  en: {
11
- maxweightlabel: string;
16
+ componentheading: string;
17
+ deliveryscopeheading: string;
18
+ resultlistheading: string;
12
19
  weightlabel: string;
20
+ maxweightlabel: string;
13
21
  maxmeasurementlabel: string;
14
- sizeheading: string;
15
22
  senddirectcta: string;
16
23
  stampshopcta: string;
24
+ message: string;
25
+ servicePointHeader: string;
26
+ servicePointLink: string;
17
27
  };
18
28
  da: {
19
- maxweightlabel: string;
29
+ componentheading: string;
30
+ deliveryscopeheading: string;
31
+ resultlistheading: string;
20
32
  weightlabel: string;
33
+ maxweightlabel: string;
21
34
  maxmeasurementlabel: string;
22
- sizeheading: string;
23
35
  senddirectcta: string;
24
36
  stampshopcta: string;
25
37
  };
26
38
  no: {
27
- maxweightlabel: string;
39
+ componentheading: string;
40
+ deliveryscopeheading: string;
41
+ resultlistheading: string;
28
42
  weightlabel: string;
43
+ maxweightlabel: string;
29
44
  maxmeasurementlabel: string;
30
- sizeheading: string;
31
45
  senddirectcta: string;
32
46
  stampshopcta: string;
33
47
  };
34
48
  fi: {
35
- maxweightlabel: string;
49
+ componentheading: string;
50
+ deliveryscopeheading: string;
51
+ resultlistheading: string;
36
52
  weightlabel: string;
53
+ maxweightlabel: string;
37
54
  maxmeasurementlabel: string;
38
- sizeheading: string;
39
55
  senddirectcta: string;
40
56
  stampshopcta: string;
41
57
  };
@@ -5,8 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ProductPriceItm } from "./components/widgets/pn-find-price/pn-find-price-types";
9
- import { ProductPriceItem } from "./globals/shared/productprice/product-price-types";
8
+ import { ProductPriceItem } from "./components/widgets/pn-find-price/pn-find-price-types";
9
+ import { ProductPriceItem as ProductPriceItem1 } from "./globals/shared/productprice/product-price-types";
10
10
  import { LoginDialog, SiteHeaderSearch } from "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types";
11
11
  export namespace Components {
12
12
  interface PnBonusProgressbar {
@@ -70,9 +70,9 @@ export namespace Components {
70
70
  "Usp2"?: string;
71
71
  "Usp3"?: string;
72
72
  "description"?: string[];
73
- "item": ProductPriceItm;
73
+ "item": ProductPriceItem;
74
74
  "showMeasurement"?: boolean;
75
- "shownitems": ProductPriceItm[];
75
+ "shownitems": ProductPriceItem[];
76
76
  }
77
77
  interface PnFindServiceAndPrice {
78
78
  "language": string;
@@ -327,6 +327,7 @@ export namespace Components {
327
327
  "amount": string;
328
328
  "currency": string;
329
329
  "label": string;
330
+ "linkid": string;
330
331
  "note": string;
331
332
  "service": string;
332
333
  "url": string;
@@ -338,7 +339,9 @@ export namespace Components {
338
339
  "source": string;
339
340
  }
340
341
  interface PnProductPricelistResult {
342
+ "description"?: string[];
341
343
  "item": ProductPriceItem;
344
+ "showMeasurement"?: boolean;
342
345
  "shownitems": ProductPriceItem[];
343
346
  }
344
347
  interface PnProductTile {
@@ -757,9 +760,9 @@ declare namespace LocalJSX {
757
760
  "Usp2"?: string;
758
761
  "Usp3"?: string;
759
762
  "description"?: string[];
760
- "item"?: ProductPriceItm;
763
+ "item"?: ProductPriceItem;
761
764
  "showMeasurement"?: boolean;
762
- "shownitems"?: ProductPriceItm[];
765
+ "shownitems"?: ProductPriceItem[];
763
766
  }
764
767
  interface PnFindServiceAndPrice {
765
768
  "language"?: string;
@@ -1030,6 +1033,7 @@ declare namespace LocalJSX {
1030
1033
  "amount"?: string;
1031
1034
  "currency"?: string;
1032
1035
  "label"?: string;
1036
+ "linkid"?: string;
1033
1037
  "note"?: string;
1034
1038
  "service"?: string;
1035
1039
  "url"?: string;
@@ -1041,7 +1045,9 @@ declare namespace LocalJSX {
1041
1045
  "source"?: string;
1042
1046
  }
1043
1047
  interface PnProductPricelistResult {
1048
+ "description"?: string[];
1044
1049
  "item"?: ProductPriceItem;
1050
+ "showMeasurement"?: boolean;
1045
1051
  "shownitems"?: ProductPriceItem[];
1046
1052
  }
1047
1053
  interface PnProductTile {
@@ -3,15 +3,18 @@ export interface ProductPriceSourceData {
3
3
  data: ProductPriceItem[];
4
4
  }
5
5
  export interface ProductPriceItem {
6
+ sizecategory: string;
6
7
  id: string;
7
8
  what: string;
8
9
  deliveryscope: string;
9
10
  name: string;
11
+ highestrankusp: string;
12
+ additionalusp: string;
10
13
  maxweight: number;
11
14
  pricestamps?: number;
12
15
  pricesenddirect?: number;
13
- priceagent?: number;
14
- maximummeasurements?: string;
16
+ maxmått?: string;
17
+ rulle?: string;
15
18
  info?: string;
16
19
  note?: string;
17
20
  description?: string;
@@ -13,7 +13,6 @@
13
13
  component.setAttribute(paramKey, paramVal);
14
14
  });
15
15
  const placement = params.get('domlocation') ?? 'self';
16
- console.log('componentName, placement', componentName, placement);
17
16
  switch(placement) {
18
17
  case 'top':
19
18
  document.body.insertBefore(component, document.body.firstElementChild);
@@ -23,7 +22,6 @@
23
22
  break;
24
23
  case 'self':
25
24
  default:
26
- console.log('initiatingScriptTag', initiatingScriptTag)
27
25
  initiatingScriptTag.parentElement.insertBefore(component, initiatingScriptTag);
28
26
  break;
29
27
  }
@@ -1 +0,0 @@
1
- import{c as createStore}from"./index-7b21ecff.js";var sizeCategories=[{name:"Small",value:"Small",illustration:"eli1n",unit:"small"},{name:"Medium",value:"Medium",illustration:"medium-package",unit:"medium"},{name:"Large",value:"Large",illustration:"large-package",unit:"large"}];var weights={small:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2}],medium:[{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2},{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}],large:[{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}]};var fileLocation="https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx";var servicePointUrl="https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle";var sendDirectUrl="https://portal.postnord.com/skickadirekt/";var stampShopUrl="https://shop.postnord.se/ebutik/default.aspx";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as a,servicePointUrl as b,sendDirectUrl as c,stampShopUrl as d,fileLocation as f,sizeCategories as s,weights as w};
@@ -1 +0,0 @@
1
- import{c as createStore}from"./index-7b21ecff.js";var _a=createStore({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
@@ -1 +0,0 @@
1
- import{r as t,h as e,a as i}from"./p-58e8d7d5.js";import{a}from"./p-9adc3940.js";import{s as n}from"./p-ae2bd55f.js";import"./p-86f06e26.js";const s={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}},o={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}},r={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};let l=class{constructor(e){t(this,e),this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx",this.language="sv",this.market="se",this.productid="",this.filteredItems=[],this.sourceData={types:[],data:[]},this.gotData=!1,this.loading=!1,this.postagetype={value:""},this.weight={value:0,name:""},this.weightvalue=0}componentWillLoad(){this.setState(),this.getDataSource().then((()=>{}))}setState(){this.market&&(n.market=o[this.market]),this.language&&s[this.language]&&(n.i18n=s[this.language])}async getDataSource(){if(!this.productid)return;this.loading=!0;const t=`?cache=${Math.floor(9999*Math.random()+1)}`,e=await fetch(this.source+t),i=await e.blob();try{const t=await a(i);this.sourceData=t,this.filterItems()}catch(n){this.loading=!1,console.warn("Unable to parse data")}}filterItems(){var t;if(!(null===(t=this.sourceData)||void 0===t?void 0:t.data))return void console.info("Data has not yet been loaded");this.loading=!1;const e=this.sourceData.data.filter((t=>t.id===this.productid));if(0===e.length)return;if(this.postagetype.value=e[0].what,!r[this.postagetype.value]||0===r[this.postagetype.value].length)return;0===this.weightvalue&&(this.weight=r[this.postagetype.value][0],this.weightvalue=this.weight.value);const i="kg"===this.weight.abbreviation.toLocaleLowerCase()&&"letter"===this.postagetype.value?1e3*this.weight.value:this.weight.value;let a=e.filter((t=>t.maxweight===i));if(0===a.length&&(a=e.filter((t=>t.maxweight>=i)),a.length>0)){const t=[...new Map(a.reverse().map((t=>[t.id,t]))).values()];t.length>0&&(a=t)}this.filteredItems=a,this.gotData=this.filteredItems.length>0}render(){return e(i,null,e("div",{class:"content"},e("slot",null)),this.loading?e("pn-spinner",null):null,this.postagetype.value&&r[this.postagetype.value]?e("div",{class:"weightselection"},n.i18n.sizeheading?e("div",{class:"heading"},n.i18n.sizeheading):null,e("div",{class:"weightoption"},e("div",{class:"weightoption-input"},e("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:n.i18n.weightlabel,value:this.weightvalue,onChange:t=>{if(t&&t.target&&t.target.value){const e=parseInt(t.target.value,10);if(!isNaN(e)){let t=r[this.postagetype.value].filter((t=>("kg"===t.abbreviation?1e3*t.value:t.value)>=e));t&&t.length>0&&(this.weight=t[0],this.weightvalue=this.weight.value)}}}}),e("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),e("div",{class:"weightoption-range"},e("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:this.weight.value?r[this.postagetype.value].findIndex((t=>t.value===this.weightvalue)):0,onChange:t=>{this.weight=r[this.postagetype.value][t.target.value],this.weightvalue=this.weight.value},min:"0",max:r[this.postagetype.value].length-1}),e("datalist",{id:"weightlist"},r[this.postagetype.value].map(((t,i)=>{let a=t.name;return r[this.postagetype.value].length>6&&(a=i%5==0||0===i||i===r[this.postagetype.value].length-1?t.name:""),e("option",Object.assign({value:i},a?{label:a}:{}))})))))):null,e("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((t=>e("div",null,e("pn-product-pricelist-result",{item:t}))))))}static get watchers(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}}};l.style='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative;display:none}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';export{l as pn_product_pricelist}
@@ -1 +0,0 @@
1
- import{r as e,h as t,a as l}from"./p-58e8d7d5.js";let i=class{constructor(t){e(this,t)}render(){return t(l,null,t("slot",{name:"illustration"}),t("div",{class:"tilecontent"},t("div",{class:"details"},t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"})),t("slot",{name:"price"})))}};i.style="pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-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;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .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-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";let n=class{constructor(t){e(this,t)}render(){return t(l,null,this.label?t("p",null,t("small",null,this.label)):null,this.text?t("h3",null,this.text):null)}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),n.style="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";let s=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null),this.label?t("a",{href:this.url},t("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};s.style="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";export{i as pn_product_tile,n as pn_product_tile_info,s as pn_product_tile_price}