@postnord/pn-marketweb-components 2.3.0 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/cjs/{MarketWebContextService-392b4585.js → MarketWebContextService-f77b4a5f.js} +61 -59
  2. package/cjs/pn-language-selector_9.cjs.entry.js +22 -13
  3. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
  4. package/cjs/pn-marketweb-siteheader.cjs.entry.js +1 -1
  5. package/cjs/pn-proxio-findprice.cjs.entry.js +13 -7
  6. package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
  7. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -2
  8. package/collection/components/navigation/pn-language-selector/translations.js +22 -13
  9. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +12 -6
  10. package/collection/globals/MarketWebContextService.js +61 -59
  11. package/custom-elements/index.js +95 -78
  12. package/esm/{MarketWebContextService-872043cc.js → MarketWebContextService-3ed3fe80.js} +61 -59
  13. package/esm/pn-language-selector_9.entry.js +22 -13
  14. package/esm/pn-marketweb-sitefooter.entry.js +1 -1
  15. package/esm/pn-marketweb-siteheader.entry.js +1 -1
  16. package/esm/pn-proxio-findprice.entry.js +13 -7
  17. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  18. package/esm-es5/MarketWebContextService-3ed3fe80.js +1 -0
  19. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  20. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  21. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  22. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  23. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  24. package/package.json +1 -1
  25. package/pn-market-web-components/p-2e2dfb79.entry.js +1 -0
  26. package/pn-market-web-components/p-67887512.system.js +1 -1
  27. package/pn-market-web-components/{p-befd7c8d.entry.js → p-77c907d9.entry.js} +1 -1
  28. package/pn-market-web-components/p-783b4892.js +1 -0
  29. package/pn-market-web-components/{p-dc714241.entry.js → p-803088a3.entry.js} +1 -1
  30. package/pn-market-web-components/p-861def61.entry.js +1 -0
  31. package/pn-market-web-components/p-8f1b7c70.system.entry.js +1 -0
  32. package/pn-market-web-components/{p-fe417bbb.system.entry.js → p-906719be.system.entry.js} +1 -1
  33. package/pn-market-web-components/{p-dd0b02de.entry.js → p-9c2c1aa2.entry.js} +1 -1
  34. package/pn-market-web-components/{p-5b802a17.system.entry.js → p-bb4f0673.system.entry.js} +1 -1
  35. package/pn-market-web-components/p-cb53b67f.system.js +1 -0
  36. package/pn-market-web-components/{p-9c18464d.system.entry.js → p-efe598a8.system.entry.js} +1 -1
  37. package/pn-market-web-components/{p-ed990629.system.entry.js → p-f008015e.system.entry.js} +1 -1
  38. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  39. package/types/components/navigation/pn-language-selector/translations.d.ts +9 -0
  40. package/esm-es5/MarketWebContextService-872043cc.js +0 -1
  41. package/pn-market-web-components/p-31fd7a95.system.js +0 -1
  42. package/pn-market-web-components/p-5176eaf3.entry.js +0 -1
  43. package/pn-market-web-components/p-74120b9b.js +0 -1
  44. package/pn-market-web-components/p-84193b02.system.entry.js +0 -1
  45. package/pn-market-web-components/p-b3bf353f.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as M,h as N}from"./p-58e8d7d5.js";import{F as i,M as D}from"./p-74120b9b.js";import{c as I}from"./p-86f06e26.js";const j={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud",from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått",noResultMessage:"Inga produkter matchar dina kriterier",clearFilterButton:"Rensa alla filter"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent",from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Dine muligheder",sizeheading:"Hvor stor er din forsendelse?",weightheading:"Hvor meget vejer din forsendelse?",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent",from:"Fra ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks. mål og vægt",noResultMessage:"Ingen produkter matcher dine kriterier",clearFilterButton:"Ryd alle filtre"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters"}},z={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}},g=[{name:"S",value:"S",illustration:"eli1n",unit:"S"},{name:"M",value:"M",illustration:"medium-package",unit:"M"},{name:"L",value:"L",illustration:"large-package",unit:"L"}],e={se:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3},{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}],L:[{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}]},dk:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]}},{state:y}=I({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:"",noResultMessage:"",clearFilterButton:""},market:{currency:"",country:"",servicePoint:""}});let u=class{constructor(N){M(this,N),this.endpoint=null,this.language="da",this.market="dk",this.showMedium=!1,this.cache=!1,this.filteredItems=[],this.weight={value:0,name:""},this.weightvalue=0,this.sizecategory={value:"",name:"",icon:"",unit:""},this.data={proxioProducts:[]},this.fetchHelper=new i("proxiopricegroups")}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(M=window.location.href){const N=new D(M),i=await N.getEnvironmentName();if(!this.endpoint&&-1===(null==i?void 0:i.indexOf("local"))){const M=await N.getMarket();this.market=this.market?this.market:M,this.endpoint=await N.getEndpoint(i,M)}this.endpoint||(this.endpoint="")}init(){this.setState(),this.getDataSource(),this.fetchData()}async getDataSource(){try{this.sizecategory=g.filter((M=>"S"===M.value))[0],this.filterItems()}catch(M){console.log("Unable to parse data")}}async fetchData(){if(!this.market||!this.language)return;const M=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}/api/proxio/price-list-groups?market=${this.market}&language=${this.language}&cached=${this.cache}`,N=await this.fetchHelper.fetchJson(M,{mode:"cors"},this.cache,this.onFetchData.bind(this));N&&(this.data.proxioProducts=N),this.filterItems()}onFetchData(M){this.data=M}setState(){this.market=this.market?this.market:"dk",this.market&&(y.market=z[this.market]),this.language&&j[this.language]&&(y.i18n=j[this.language])}filterItems(){if(!this.data)return void console.log("Data has not yet been loaded");const M=this.data.proxioProducts.filter((M=>M.proxioProduct.productWeightGroupList.some((M=>M.item3.includes(this.sizecategory.value)))));if(!this.weight)return;const N=this.weight.value;let i=M.filter((M=>M.proxioProduct.productWeightGroupList.some((M=>M.item1===N))));0===i.length&&0!==this.weightvalue&&(i=M.filter((M=>M.proxioProduct.productWeightGroupList.some((M=>M.item1===N))))),null==i||i.sort(((M,i)=>{var D,I,j,z,g,e,y,u;let T=M.proxioProduct.productWeightGroupList.findIndex((M=>M.item1===N));T<0&&(T=0);let a=null!==(z=null===(j=null===(I=null===(D=null==M?void 0:M.proxioProduct)||void 0===D?void 0:D.weightAndPriceList[T])||void 0===I?void 0:I.item2)||void 0===j?void 0:j.toLowerCase())&&void 0!==z?z:"",t=this.parseFloatFromString(a),c=i.proxioProduct.productWeightGroupList.findIndex((M=>M.item1===N));c<0&&(c=0);let A=null!==(u=null===(y=null===(e=null===(g=null==i?void 0:i.proxioProduct)||void 0===g?void 0:g.weightAndPriceList[c])||void 0===e?void 0:e.item2)||void 0===y?void 0:y.toLowerCase())&&void 0!==u?u:"",L=this.parseFloatFromString(A);return t&&L?t-L:t<L?-1:t>L?1:0})),this.filteredItems=i}parseFloatFromString(M){var N;return parseFloat(null!==(N=null==M?void 0:M.replace(/[^\d\.\,]*/g,""))&&void 0!==N?N:1e5)}resetFilters(){this.weight={value:0,name:""},this.sizecategory=g.filter((M=>"S"===M.value))[0],this.weightvalue=0}getWeights(){var M;return(null!==(M=e[this.market])&&void 0!==M?M:{S:[],M:[],L:[]})[this.sizecategory.unit]}render(){return N("div",{class:"findprice-form"},N("div",{class:"findprice-form-wrapper"},N("h4",{class:"findprice__heading"},y.i18n.sizeheading),N("div",{class:"siz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null),g.map((M=>this.showMedium||"M"!==M.value?N("td",null,N("pn-radio-button",{id:"findpricecategory-"+M.value,radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=g.filter((N=>N.value===M.value))[0],this.weight={value:0,name:""},this.weightvalue=this.weight.value}})):null))))),N("h4",{class:"findprice__heading findprice__subheading"},y.i18n.weightheading),this.sizecategory.value&&this.getWeights()?N("div",{class:"weightoption"},N("div",{class:"weightoption-content"},this.getWeights().map((M=>N("pn-choice-button",{id:"findpriceweight-"+M.value,choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:this.weight.value?this.getWeights().findIndex((M=>M.value===this.weightvalue)):0,checked:M.value===this.weight.value,onChange:()=>{this.weight=this.getWeights().filter((N=>N.value===M.value))[0],this.weightvalue=this.weight.value}},M.name))))):null,N("div",{class:"findprice__clear-all-filters",role:"button"},N("div",{class:"findprice__clear-all-filters__btn",onClick:()=>this.resetFilters()},N("pn-icon",{symbol:"trash-can",color:"blue700"}),N("span",{class:"clear-all-filters__text"},y.i18n.clearFilterButton)))),this.filteredItems&&this.filteredItems.length>0?N("div",{class:"resultlist"},y.i18n.resultlistheading?N("div",{class:"resultHeading"},y.i18n.resultlistheading):null,this.filteredItems.map((M=>N("div",null,N("pn-proxio-findprice-result",{activeweight:this.weight.value,item:M,language:this.language}))))):0!==this.weightvalue?N("h4",{class:"resultHeading"},y.i18n.noResultMessage):null)}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};u.style='@charset "UTF-8";pn-proxio-findprice .findprice-form{margin:0em auto 3em auto}pn-proxio-findprice .findprice-form-wrapper{background-color:#EFFBFF;padding:3.2rem}pn-proxio-findprice .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-proxio-findprice .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em;position:relative;z-index:1}pn-proxio-findprice .sizeTable #clouds{position:absolute;top:3rem;width:100%}pn-proxio-findprice .firstCell{margin-right:0;margin-left:auto}pn-proxio-findprice [slot=title]{margin-bottom:1rem}pn-proxio-findprice h2{text-align:center}pn-proxio-findprice .findprice__heading{text-align:center;line-height:1.1;font-weight:bold;color:#000000;font-size:3.2rem;font-weight:700}pn-proxio-findprice .findprice__subheading{font-size:2.4rem;margin-bottom:2.4rem}pn-proxio-findprice .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-proxio-findprice .findprice__clear-all-filters{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:2.4rem;color:#005D92}pn-proxio-findprice .findprice__clear-all-filters .findprice__clear-all-filters__btn{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer}pn-proxio-findprice .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption{font-size:0.9em;margin:0 auto}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom;background:#FFFFFF;border-radius:1rem}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center;color:#000000;margin-bottom:0}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button ::before{content:"Max  ";font-weight:lighter;color:#5E554A}pn-proxio-findprice .resultlist{max-width:60em;margin:3.2rem auto 3.2rem auto}pn-proxio-findprice .servicePoint{text-align:center}pn-proxio-findprice .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-proxio-findprice .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-proxio-findprice .servicePoint a{color:#005D92;text-decoration:none}pn-proxio-findprice .servicePoint a:hover{color:#0D234B;text-decoration:underline}';export{u as pn_proxio_findprice}
@@ -1 +0,0 @@
1
- class t{constructor(t=""){this.storagePrefix="",this.store={get:(t,o=!1)=>{const i=o?window.localStorage:window.sessionStorage,n=o?window.sessionStorage:window.localStorage;let s=i.getItem(`${this.storagePrefix}-${t}`);if(s||(s=n.getItem(`${this.storagePrefix}-${t}`)),!s)return s;if(0===s.indexOf("{"))try{return JSON.parse(s)}catch(e){}return-1!==s.indexOf(",")?s.split(","):s},set:(t,o,i=!1)=>{(i?window.localStorage:window.sessionStorage).setItem(`${this.storagePrefix}-${t}`,"object"!=typeof o||void 0!==o.length?o:JSON.stringify(o))},remove:t=>{window.sessionStorage.removeItem(`${this.storagePrefix}-${t}`)}},this.storagePrefix=t}async fetchJson(t,o={},i=!1,n=null){return new Promise((async s=>{let e=!0;const r="string"==typeof t?t:t.url;let c=null,d=null;if(i&&(d=this.store.get(r),d&&!d.permanent&&(e=!1),d&&d.data&&(c=d.data,s(c))),e){const e=await window.fetch(t,o);c=await e.json(),s(c),i&&("function"==typeof n&&null!=d&&n(c),this.store.set(r,this.wrapJson(c,!0),!0),this.store.set(r,this.wrapJson(c,!1),!1))}}))}wrapJson(t,o=!1){const i=new Date;return{timestamp:i.getTime(),time:i.toISOString(),data:t,permanent:o}}}class o{constructor(t=window.location.href){this.href="",this.market="",this.language="",this.environment="",this.url=null,this.allowedLanguages=["sv","da","fi","no","en","de"],this.allowedMarkets=["se","dk","fi","no","com","de","tpl"],this.wwwMarkets=["se","dk","fi","no","de","com"],this.developmentDomains=["localhost",".local","local.",".dev","dev."],this.markets={se:{fallbackLanguage:"sv",integration:"se-integration.postnord.com",preproduction:"se-preproduction.postnord.com",production:"se-production.postnord.com",live:"www.postnord.se"},dk:{fallbackLanguage:"da",integration:"dk-integration.postnord.com",preproduction:"dk-preproduction.postnord.com",production:"dk-production.postnord.com",live:"www.postnord.dk"},fi:{fallbackLanguage:"fi",integration:"fi-integration.postnord.com",preproduction:"fi-preproduction.postnord.com",production:"fi-production.postnord.com",live:"www.postnord.fi"},no:{fallbackLanguage:"no",integration:"no-integration.postnord.com",preproduction:"no-preproduction.postnord.com",production:"no-production.postnord.com",live:"www.postnord.no"},com:{fallbackLanguage:"en",integration:"com-integration.postnord.com",preproduction:"com-preproduction.postnord.com",production:"com-production.postnord.com",live:"www.postnord.com"},de:{fallbackLanguage:"en",integration:"de-integration.postnord.com",preproduction:"de-preproduction.postnord.com",production:"de-production.postnord.com",live:"www.postnord.de"},tpl:{fallbackLanguage:"sv",integration:"tpl-integration.postnord.com",preproduction:"tpl-preproduction.postnord.com",production:"tpl-production.postnord.com",live:"tpl.postnord.com"}},this.environmentTypes=["integration","preproduction","production"],this.environments={production:{name:"production",url:"https://www.postnord.xx/"},preproduction:{name:"preproduction",url:"https://com-preproduction.postnord.com/"},integration:{name:"integration",url:"https://com-integration.postnord.com/"}},this.href=t,this.url=new URL(this.href)}async getLanguage(){return this.language||await this.resolveLanguage(),this.language}async getMarket(){return this.market||await this.resolveMarket(),this.market}async getEndpoint(t,o=""){let i=this.environments.production.url;if(this.markets[o]&&this.markets[o][t]){if("production"===t&&0===window.location.hostname.indexOf(this.markets[o].live))return"https://"+this.markets[o].live;if(0===window.location.hostname.indexOf(this.markets[o][t]))return"https://"+this.markets[o][t]}return this.environments[t]&&(i=this.environments[t].url,t===this.environments.production.name&&(-1!==this.wwwMarkets.indexOf(o)?i=i.replace(".xx","."+o):(i=i.replace(".xx",".com"),i=i.replace("www.",o+".")))),i}async getEnvironmentName(){const t=this.environmentTypes.filter((t=>-1!==this.url.hostname.indexOf("-"+t)))[0];return t?(this.environment=t,this.environment):-1!==this.url.hostname.indexOf("www.")?(this.environment=this.environments.production.name,this.environment):(this.environment=this.environments.integration.name,this.environment)}isDevEnvironment(){return this.developmentDomains.filter((t=>-1!==this.url.hostname.indexOf(t)))[0].length>0}async resolveMarket(){if(-1!==this.href.indexOf("//www.")){const t=this.url.hostname.substring(this.url.hostname.lastIndexOf(".")+1,this.url.hostname.length);t&&this.markets[t]?this.market=t:console.warn("Unable to define market from www. domain",this.href)}const t=this.environmentTypes.filter((t=>-1!==this.url.hostname.indexOf("-"+t)));if(!this.market&&t&&t.length>0){const o=this.url.hostname.substring(0,this.url.hostname.indexOf("-"+t[0]));o&&this.markets[o]?this.market=o:console.warn("Unable to define market from preset environment names",this.href)}if(!this.market&&-1===this.url.hostname.indexOf("www")&&this.url.hostname.indexOf(".postnord.")>0){const t=this.url.hostname.indexOf(".")!==this.url.hostname.indexOf(".postnord")?this.url.hostname.indexOf("."):0,o=this.url.hostname.substring(t,this.url.hostname.indexOf(".postnord."));if(-1!==this.allowedMarkets.indexOf(o))return void(this.market=o)}if(!this.market){const t=this.developmentDomains.filter((t=>-1!==this.url.hostname.indexOf(t)))[0];if(!t)return void(this.market=this.allowedMarkets[0]);const o=this.href.replace(t,"");let i=this.allowedMarkets.filter((t=>["."+t,t+".","/"+t+"/"].filter((t=>-1!==o.indexOf(t))).length>0))[0];if(i)this.market=i;else{let t=Object.entries(this.markets).filter((t=>["."+t[1].fallbackLanguage,t[1].fallbackLanguage+".","/"+t[1].fallbackLanguage+"/"].filter((t=>-1!==o.indexOf(t))).length>0))[0];t&&t[0]&&(this.market=t[0])}}this.market||(console.info("Was unable to detect market, used fallback"),this.market=this.allowedMarkets[0])}async resolveLanguage(){var t,o,i,n;this.language||([null===(t=document.querySelector("html[lang]"))||void 0===t?void 0:t.getAttribute("lang"),null===(o=document.querySelector('[http-equiv="content-language"][content]'))||void 0===o?void 0:o.getAttribute("content"),null===(i=document.querySelector('[property="og:locale"][content]'))||void 0===i?void 0:i.getAttribute("content"),null===(n=document.querySelector("[lang]"))||void 0===n?void 0:n.getAttribute("lang")].filter((t=>t)).forEach((t=>{this.allowedLanguages.indexOf(t)&&(this.language=t)})),!this.language&&this.market&&(this.language=this.markets[this.market].fallbackLanguage))}}export{t as F,o as M}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):o(e.value).then(r,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;o=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(s){r=[6,s];o=0}finally{i=a=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-dbe032f7.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,n,i,o,a,r,s,l,c;return{setters:[function(e){t=e.r;n=e.e;i=e.h;o=e.a;a=e.g},function(e){r=e.s;s=e.o},function(e){l=e.s},function(e){c=e.c}],execute:function(){var h={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"}};var u="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 d=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(h[this.value]){this.i18n=h[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(o,{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 a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}());d.style=u;var g="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 p=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(o,{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}());p.style=g;var m={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"}};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(m[e.detail]){r.i18n=m[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(o,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 a(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.label="";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=this;return __generator(this,(function(t){this.setState();s("openLevel",(function(){e.onChangeOpenLevel()}));return[2]}))}))};e.prototype.setState=function(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;var e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";if(!this.label&&this.parentName){this.label=this.parentName}this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";var t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}};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 o=e.hostElement.parentElement.getClientRects()[0];if(o.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(o,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.label?i("pn-mainnav-link",{href:this.parentHref,name:this.label,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 a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{label:["setState"],isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());w.style=b;var k='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 y=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(o,{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 a(this)},enumerable:false,configurable:true});return e}());y.style=k;var x=function(){function e(e){var t=this;if(e===void 0){e=null}var n;this.eventTarget=window!==null&&window!==void 0?window:document===null||document===void 0?void 0:document.body;this.endpoint="";this.storagePrefix="pn-user";this.checkUserLoggedInStateInterval=0;this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"};this.events={loginstatechange:"loginstatechange"};this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"};this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"};this.overridetokenValue="overridetokenValue";this.siteUrl=window.location.origin;this.abortSignalForLoginCheck=null;this.loginCheckInProgress=false;this.loginCheckTimer=null;this.store={get:function(e){var n=window.sessionStorage.getItem("".concat(t.storagePrefix,"-").concat(e));if(!n){return n}if(n.indexOf("{")===0){try{return JSON.parse(n)}catch(i){}}if(n.indexOf(",")!==-1){return n.split(",")}return n},set:function(e,n){if(typeof n==="object"&&typeof n.length==="undefined"){window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),JSON.stringify(n));return}window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),n)},remove:function(e){window.sessionStorage.removeItem("".concat(t.storagePrefix,"-").concat(e))}};if(!e){return}this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget;this.endpoint=e.endpoint?e.endpoint:"".concat(window.location.protocol,"//").concat(window.location.host);(n=this.storagePrefix)!==null&&n!==void 0?n:this.storagePrefix=e.storagePrefix;this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0;if(e.userInfo){this.store.set(this.keys.user,e.userInfo);this.registerToken(this.overridetokenValue,"override")}}e.prototype.init=function(e){if(e===void 0){e=true}if(e){this.checkParameters();this.checkPNTopbar();this.checkExpireTime();if(this.store.get(this.keys.token)&&!this.store.get(this.keys.user)){this.fetchUserInfo()}this.loginStateChange();if(this.checkUserLoggedInStateInterval>0){this.initiateLoggedInCheck()}}};e.prototype.setSiteUrl=function(e){if(e){this.siteUrl=e}};e.prototype.initiateLoggedInCheck=function(){var e=this;if(this.isLoggedIn()){if(window&&window["AbortController"]){this.abortSignalForLoginCheck=new AbortController}this.loginCheckTimer=window.setInterval((function(){e.doExternalLoggedInCheck().then((function(){})).catch((function(){}))}),this.checkUserLoggedInStateInterval)}};e.prototype.doExternalLoggedInCheck=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:if(!window.navigator.onLine){return[2]}if(!this.getToken()){window.clearInterval(this.checkUserLoggedInStateInterval);return[2]}if(this.loginCheckInProgress&&this.abortSignalForLoginCheck){this.abortSignalForLoginCheck.abort();this.abortSignalForLoginCheck=new AbortController}this.loginCheckInProgress=true;e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};if(this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck["signal"]){e["signal"]=this.abortSignalForLoginCheck["signal"]}return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),e)];case 1:t=i.sent();if(t.status===409){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser();return[2]}if(!t.ok){return[2]}return[4,t.json()];case 2:n=i.sent();if(!n||!n["accessToken"]){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser()}this.loginCheckInProgress=false;return[2]}}))}))};e.prototype.LogoutUser=function(){this.clearUserData();if(this.eventTarget){var e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e){e.click();return}}var t=window.location.href;window.location.href=this.getLogoutUrl(t)};e.prototype.isLoggedIn=function(e){if(e===void 0){e=false}if(e){return e}var t=this.store.get(this.keys.token)&&this.store.get(this.keys.user)?true:false;if(!t&&this.store.get(this.keys.token)===this.overridetokenValue){t=true}return t};e.prototype.registerToken=function(e,t){if(e===void 0){e=""}if(t===void 0){t="frontend"}if(!e||e===this.getToken()){return}this.clearUserData();this.store.set(this.keys.tokensource,t);this.store.set(this.keys.token,e);this.fetchUserInfo()};e.prototype.invalidateTokenOfType=function(e){if(e===void 0){e="frontend"}var t=this.store.get(this.keys.token);if(!t){return}var n=this.store.get(this.keys.tokensource);if(n!==e){return}this.clearUserData()};e.prototype.getLoginUrl=function(e){if(e===void 0){e=""}var t=window.location.href;e=e?e:t;return"".concat(this.getBaseUrl()).concat(this.endpoints.authorizationEndpoint,"?redirectionUrl=").concat(e)};e.prototype.getLogoutUrl=function(e){if(e===void 0){e=""}if(e.indexOf("logout?logoutUrl")!==-1){return e}var t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href);var n=this.siteUrl;try{var i=new URL(this.siteUrl+"");n=i.origin}catch(l){}var o=n.lastIndexOf("/")!==n.length-1;var a=n+(o?"/":"")+"logout";var r="".concat(this.getBaseUrl()).concat(this.endpoints.logoutEndpoint,"?authorization=").concat(this.store.get(this.keys.token),"%26redirectionUrl=").concat(t);var s="".concat(a,"?logoutUrl=").concat(r);return s};e.prototype.getUserInfo=function(){if(this.isLoggedIn()){return this.store.get(this.keys.user)}};e.prototype.getEventTarget=function(){return this.eventTarget};e.prototype.checkExpireTime=function(){var e=this.store.get(this.keys.expire);if(!e){return}var t=new Date;var n=new Date(Math.floor(parseInt(e,10)*1e3));if(t>n){console.info("Login time has expired");this.clearUserData();this.loginStateChange()}};e.prototype.checkPNTopbar=function(){if(this.isLoggedIn()||!window["pnTopbar"]||!window["pnTopbar"]["session_id"]){return}this.store.set(this.keys.token,window["pnTopbar"]["session_id"]);this.fetchUserInfo()};e.prototype.checkParameters=function(){if(!(window===null||window===void 0?void 0:window.location)){return}var e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){var t=e.get("oneTimeCode");this.exchangeToken(t).then((function(){var e=window.location.href;var n=e.indexOf("?oneTimeCode")!==-1?"?":"&";var i=e.replace("".concat(n,"oneTimeCode=").concat(t),"");history.replaceState({},document.querySelector("title").innerText,i)}))}};e.prototype.fetchUserInfo=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o,a,r,s;return __generator(this,(function(l){switch(l.label){case 0:e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue){console.info("Did not fetch user data since it was set by an override");return[2]}t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}};return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),t)];case 1:n=l.sent();return[4,n.json()];case 2:i=l.sent();if(i&&i["idToken"]){try{o=i.idToken,a=i.expiryTime,r=i.accessToken;s=this.parseUserInfo(o);if(!s){console.error("Userdata is not valid");this.clearUserData();return[2]}this.store.set(this.keys.user,s);this.store.set(this.keys.accessToken,r);this.store.set(this.keys.expire,a);this.store.set(this.keys.expireDate,new Date(Math.floor(parseInt(a,10)*1e3)));this.loginStateChange()}catch(c){console.error("Unable to get user information",c)}}else{console.error("Unable to get user information. Clearing login state");this.clearUserData()}return[2]}}))}))};e.prototype.clearUserData=function(){this.store.remove(this.keys.user);this.store.remove(this.keys.tokensource);this.store.remove(this.keys.accessToken);this.store.remove(this.keys.token);this.store.remove(this.keys.expire);this.store.remove(this.keys.expireDate)};e.prototype.getToken=function(){return this.store.get(this.keys.token)};e.prototype.getAccessToken=function(){return this.store.get(this.keys.accessToken)};e.prototype.exchangeToken=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:this.clearUserData();return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.tokenExchangeEndpoint,"?oneTimeCode=").concat(e))];case 1:t=i.sent();return[4,t.json()];case 2:n=i.sent().token;if(typeof n==="string"&&n){this.store.set(this.keys.token,n)}this.fetchUserInfo();return[2]}}))}))};e.prototype.loginStateChange=function(){if(!this.eventTarget){return}this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))};e.prototype.getBaseUrl=function(){var e=this;var t=["localhost","integration.","local."];var n=t.filter((function(t){return e.endpoint.indexOf(t)!==-1})).length>0;if(["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)!==-1){n=true}if(n){return this.baseUrls.at}return this.baseUrls.prod};e.prototype.parseUserInfo=function(e){if(!e){return null}var t=e.split(".")[1];var n=t.replace(/-/g,"+").replace(/_/g,"/");var i=decodeURIComponent(atob(n).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(i)};return e}();var L='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';var C=e("pn_marketweb_siteheader_login",function(){function e(e){t(this,e);this.loginStateChange=n(this,"loginStateChange",7);var i;this.endpoint="";this.token="";this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""};this.siteUrl="";this.emitEvents=true;this.loginDialog=null;this.fullname="";this.loggedin=false;this.showProfileSelection=false;this.showUnifiedLogin=false;this.checkUserLoggedInStateInterval=0;this.toggleButtonText=((i=this.loginDialog)===null||i===void 0?void 0:i.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"";this.username=this.fullname}e.prototype.componentWillLoad=function(){var e=this.loggedin&&this.fullname?{given_name:this.fullname}:null;l.loginManager=new x({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:e});l.loginManager.setSiteUrl(this.siteUrl);this.hostElement["loginmanager"]=l.loginManager;if(this.token){l.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){l.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(l.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init();this.setUserName();this.setToggleButtonText()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){l.loginManager.init(this.emitEvents);this.setToggleButtonText();this.adjustLoginLinks();return[2]}))}))};e.prototype.adjustLoginLinks=function(){var e;if(!((e=this.loginDialog)===null||e===void 0?void 0:e.loginMenuLinks)){return}var t=function(e,t){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=l.loginManager.getLogoutUrl(e.href)}if(t===0&&!e.href){e.href=l.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}return e};if(this.loginDialog){this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t);this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)}this.loginDialog.legacyLoginLinks=[{href:l.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:l.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]};e.prototype.setUserName=function(){var e=l.loginManager.getUserInfo();var t="";if(!this.loggedin||!e){this.username=t}if(e&&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&&e.email){t=e.email}if(!t&&this.fullname){t=this.fullname}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:l.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.render=function(){if(!this.loginDialog){return}var e={username:null,loggedin:"false"};if(this.username){e.username=this.username;e.loggedin=this.loggedin+""}return i(o,Object.assign({},e),i("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&i("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?i("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):i("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&i("span",{innerHTML:"".concat(this.loginDialog.loginInfo)})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}());C.style=L;var S=c({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),I=S.state,T=S.onChange;var U=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";var E=e("pn_marketweb_siteheader_search",function(){function e(e){t(this,e);this.showOnlyLink=false;this.hideSearch=false;this.language=null;this.siteid=null;this.search={};this.primary=false;this.icononly=true;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(I.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(I.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(I.autocompleteSuggestions[e]);return[2]}t="".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10");if(this.language||this.siteid){t+="&tags=";if(this.language){t+="language:".concat(this.language)}if(this.language&&this.siteid){t+=","}if(this.siteid){t+="siteid:".concat(this.siteid)}}return[4,fetch(t,{signal:I.requestAbortController.signal}).catch((function(e){console.warn("Unable to fetch autocomplete suggestions",e)}))];case 1:n=a.sent();if(!n){return[2]}return[4,n.json()];case 2:i=a.sent();if(!i||!i.hits||!i.hits.length){return[2]}o=i.hits.filter((function(e){return e.type==="editorial"})).map((function(e){return e.query}));I.autocompleteSuggestions[e]=o;this.setAutocompleteSuggestions(o);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;T("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:this.icononly?"icon":null},t,{onUpdate:function(e){I.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 a(this)},enumerable:false,configurable:true});return e}());E.style=U;var F={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}};var _="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 D=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(F[this.language]){this.i18n=F[this.language]}};e.prototype.render=function(){return i(o,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 a(this)},enumerable:false,configurable:true});return e}());D.style=_;var B="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 O=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(o,{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}());O.style=B}}}));
@@ -1 +0,0 @@
1
- import{r as e,e as t,h as n,a as i,g as s}from"./p-58e8d7d5.js";import{s as o,o as a}from"./p-84699999.js";import{s as r}from"./p-f61342c3.js";import{c as l}from"./p-86f06e26.js";const h={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"}};let d=class{constructor(n){e(this,n),this.setLanguage=t(this,"setLanguage",7),this.value="",this.selectedLanguageName="",this.options=[]}componentWillLoad(){this.setInitialSelectedLanguageName(),this.setTranslations()}componentDidLoad(){this.initialize()}initialize(){this.setSelectedLanguageName(),this.addEventBindingsToOptions()}setInitialSelectedLanguageName(){if(!window.Intl||!this.value)return;const e=new Intl.DisplayNames([this.value],{type:"language"});if(!e)return;const t=e.of(this.value);t&&(this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1))}addEventBindingsToOptions(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.removeEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)})),e.addEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)}))}))}setSelectedLanguageName(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.getAttribute("code")==this.value&&(this.selectedLanguageName=e.getAttribute("name"))}))}onSetCurrentLanguage(e){this.value=e.code,this.selectedLanguageName=e.name,this.setLanguage.emit(this.value)}setTranslations(){h[this.value]&&(this.i18n=h[this.value])}onValueChange(){var e;(null!==(e=this.hostElement.querySelectorAll("pn-language-selector-option"))&&void 0!==e?e:[]).forEach((e=>{const t=(e.getAttribute("code")===this.value)+"";e.getAttribute("selected")+""!==t&&e.setAttribute("selected",t)}))}render(){return n(i,{value:this.value},n("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},n("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},n("strong",{class:"languageselector-title"},this.i18n.heading),n("div",{class:"languageselector-list",role:"list"},n("slot",null)))))}get hostElement(){return s(this)}static get watchers(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}}};d.style="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";let c=class{constructor(n){e(this,n),this.setCurrentLanguage=t(this,"setCurrentLanguage",7),this.name="",this.code="",this.url="",this.selected=!1}onOptionClick(){this.setCurrentLanguage.emit({name:this.name,code:this.code,url:this.url,current:!0})}render(){return n(i,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},this.url?n("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):n("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))}};c.style="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";const m={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"}};let u=class{constructor(n){e(this,n),this.menuLanguageChange=t(this,"menuLanguageChange",7),this.marketChange=t(this,"marketChange",7),this.menuOpenChange=t(this,"menuOpenChange",7),this.market="se",this.language="sv",this.navigationId="mainnav",this.openMenu=!1,this.navLabel=""}componentWillLoad(){this.init(),document.removeEventListener("mousedown",this._onClickOutside.bind(this)),document.addEventListener("mousedown",this._onClickOutside.bind(this))}async init(){this.setLanguage(),this.setMarket()}_onClickOutside(e){!this.hostElement.contains(e.target)&&(o.openLevel="")}setLanguage(){this.menuLanguageChange.emit(this.language)}setMarket(){this.marketChange.emit(this.market)}onLanguageChange(e){m[e.detail]&&(o.i18n=m[e.detail],this.navLabel||(this.navLabel=o.i18n.navLabel))}setMenuOpenState(){o.openMenu=!o.openMenu,this.menuOpenChange.emit(o.openMenu)}onOpenMenuLevelChange(e){o.openLevel=e.detail}render(){return n(i,null,n("div",{class:"mainnav-toggle"},n("button",{"aria-controls":this.navigationId,"aria-expanded":o.openMenu+"",onClick:this.setMenuOpenState.bind(this)},o.i18n.mainMenuButton,n("pn-icon",{symbol:o.openMenu?"close":"bars",color:"white"}))),n("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":o.openMenu+"","data-menu-currentlevel":o.currentLevel,id:this.navigationId},n("slot",null)))}get hostElement(){return s(this)}};u.style="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";let p=class{constructor(t){e(this,t),this.label="",this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.listCount=0,this.alignment="right"}async componentWillLoad(){this.setState(),a("openLevel",(()=>{this.onChangeOpenLevel()}))}setState(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-mainnav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",!this.label&&this.parentName&&(this.label=this.parentName),this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`mainnav-lvl${this.level}-${t}`}}onOpen(){2===this.level&&requestAnimationFrame((()=>{const e=this.hostElement.getClientRects()[0];if(!e)return;const t=this.hostElement.parentElement.parentElement.parentElement.parentElement;if(t&&"nav"===t.tagName.toLowerCase()){if(!t.getClientRects()[0])return;if(e.right>window.innerWidth){const t=this.hostElement.parentElement.getClientRects()[0];this.alignment=t.left-e.width<0?"center":"left"}}}))}onChangeOpenLevel(){this.isOpen=o.openLevel===this.levelId,o.currentLevel=this.level}render(){return n(i,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?n("div",{class:"mainnav-level-header"},n("label",{htmlFor:this.levelId},o.i18n.menuGoBackButton),n("button",{class:"secondlevel-backbtn",onClick:()=>{o.openLevel="",o.currentLevel=1},"aria-expanded":(o.openLevel===this.levelId)+""},n("pn-icon",{symbol:"arrow-left",color:"blue700"}),o.i18n.menuStartButton),this.parentHref&&this.label?n("pn-mainnav-link",{href:this.parentHref,name:this.label,linkid:this.parentLinkId}):null):null,n("slot",{name:"top"}),n("slot",null),n("slot",{name:"additional"}),n("slot",{name:"footer"}))}get hostElement(){return s(this)}static get watchers(){return{label:["setState"],isOpen:["onOpen"]}}};p.style='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';let g=class{constructor(t){e(this,t),this.heading="",this.linkCount=0}componentWillLoad(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length}render(){return n(i,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?n("div",{class:"mainnav-list-heading"},this.heading):null,n("slot",null))}get hostElement(){return s(this)}};g.style='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';class v{constructor(e=null){var t;this.eventTarget=null!==window&&void 0!==window?window:null===document||void 0===document?void 0:document.body,this.endpoint="",this.storagePrefix="pn-user",this.checkUserLoggedInStateInterval=0,this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"},this.events={loginstatechange:"loginstatechange"},this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"},this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"},this.overridetokenValue="overridetokenValue",this.siteUrl=window.location.origin,this.abortSignalForLoginCheck=null,this.loginCheckInProgress=!1,this.loginCheckTimer=null,this.store={get:e=>{const t=window.sessionStorage.getItem(`${this.storagePrefix}-${e}`);if(!t)return t;if(0===t.indexOf("{"))try{return JSON.parse(t)}catch(n){}return-1!==t.indexOf(",")?t.split(","):t},set:(e,t)=>{"object"!=typeof t||void 0!==t.length?window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,t):window.sessionStorage.setItem(`${this.storagePrefix}-${e}`,JSON.stringify(t))},remove:e=>{window.sessionStorage.removeItem(`${this.storagePrefix}-${e}`)}},e&&(this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget,this.endpoint=e.endpoint?e.endpoint:`${window.location.protocol}//${window.location.host}`,null!==(t=this.storagePrefix)&&void 0!==t||(this.storagePrefix=e.storagePrefix),this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0,e.userInfo&&(this.store.set(this.keys.user,e.userInfo),this.registerToken(this.overridetokenValue,"override")))}init(e=!0){e&&(this.checkParameters(),this.checkPNTopbar(),this.checkExpireTime(),this.store.get(this.keys.token)&&!this.store.get(this.keys.user)&&this.fetchUserInfo(),this.loginStateChange(),this.checkUserLoggedInStateInterval>0&&this.initiateLoggedInCheck())}setSiteUrl(e){e&&(this.siteUrl=e)}initiateLoggedInCheck(){this.isLoggedIn()&&(window&&window.AbortController&&(this.abortSignalForLoginCheck=new AbortController),this.loginCheckTimer=window.setInterval((()=>{this.doExternalLoggedInCheck().then((()=>{})).catch((()=>{}))}),this.checkUserLoggedInStateInterval))}async doExternalLoggedInCheck(){if(!window.navigator.onLine)return;if(!this.getToken())return void window.clearInterval(this.checkUserLoggedInStateInterval);this.loginCheckInProgress&&this.abortSignalForLoginCheck&&(this.abortSignalForLoginCheck.abort(),this.abortSignalForLoginCheck=new AbortController),this.loginCheckInProgress=!0;const e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck.signal&&(e.signal=this.abortSignalForLoginCheck.signal);const t=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,e);if(409===t.status)return window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),void this.LogoutUser();if(!t.ok)return;const n=await t.json();n&&n.accessToken||(window.clearInterval(this.checkUserLoggedInStateInterval),console.log("Cleared out user data due to bad response from authentication endpoint"),this.LogoutUser()),this.loginCheckInProgress=!1}LogoutUser(){if(this.clearUserData(),this.eventTarget){const e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e)return void e.click()}const e=window.location.href;window.location.href=this.getLogoutUrl(e)}isLoggedIn(e=!1){if(e)return e;let t=!(!this.store.get(this.keys.token)||!this.store.get(this.keys.user));return t||this.store.get(this.keys.token)!==this.overridetokenValue||(t=!0),t}registerToken(e="",t="frontend"){e&&e!==this.getToken()&&(this.clearUserData(),this.store.set(this.keys.tokensource,t),this.store.set(this.keys.token,e),this.fetchUserInfo())}invalidateTokenOfType(e="frontend"){this.store.get(this.keys.token)&&this.store.get(this.keys.tokensource)===e&&this.clearUserData()}getLoginUrl(e=""){const t=window.location.href;return e=e||t,`${this.getBaseUrl()}${this.endpoints.authorizationEndpoint}?redirectionUrl=${e}`}getLogoutUrl(e=""){if(-1!==e.indexOf("logout?logoutUrl"))return e;let t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href),n=this.siteUrl;try{n=new URL(this.siteUrl+"").origin}catch(s){}const i=n.lastIndexOf("/")!==n.length-1;return`${n+(i?"/":"")+"logout"}?logoutUrl=${this.getBaseUrl()}${this.endpoints.logoutEndpoint}?authorization=${this.store.get(this.keys.token)}%26redirectionUrl=${t}`}getUserInfo(){if(this.isLoggedIn())return this.store.get(this.keys.user)}getEventTarget(){return this.eventTarget}checkExpireTime(){const e=this.store.get(this.keys.expire);e&&new Date>new Date(Math.floor(1e3*parseInt(e,10)))&&(console.info("Login time has expired"),this.clearUserData(),this.loginStateChange())}checkPNTopbar(){!this.isLoggedIn()&&window.pnTopbar&&window.pnTopbar.session_id&&(this.store.set(this.keys.token,window.pnTopbar.session_id),this.fetchUserInfo())}checkParameters(){if(!(null===window||void 0===window?void 0:window.location))return;const e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){const t=e.get("oneTimeCode");this.exchangeToken(t).then((()=>{const e=window.location.href,n=-1!==e.indexOf("?oneTimeCode")?"?":"&",i=e.replace(`${n}oneTimeCode=${t}`,"");history.replaceState({},document.querySelector("title").innerText,i)}))}}async fetchUserInfo(){const e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue)return void console.info("Did not fetch user data since it was set by an override");const t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}},n=await fetch(`${this.getBaseUrl()}${this.endpoints.userInfoEndpoint}`,t),i=await n.json();if(i&&i.idToken)try{const{idToken:e,expiryTime:t,accessToken:n}=i,s=this.parseUserInfo(e);if(!s)return console.error("Userdata is not valid"),void this.clearUserData();this.store.set(this.keys.user,s),this.store.set(this.keys.accessToken,n),this.store.set(this.keys.expire,t),this.store.set(this.keys.expireDate,new Date(Math.floor(1e3*parseInt(t,10)))),this.loginStateChange()}catch(s){console.error("Unable to get user information",s)}else console.error("Unable to get user information. Clearing login state"),this.clearUserData()}clearUserData(){this.store.remove(this.keys.user),this.store.remove(this.keys.tokensource),this.store.remove(this.keys.accessToken),this.store.remove(this.keys.token),this.store.remove(this.keys.expire),this.store.remove(this.keys.expireDate)}getToken(){return this.store.get(this.keys.token)}getAccessToken(){return this.store.get(this.keys.accessToken)}async exchangeToken(e){this.clearUserData();const t=await fetch(`${this.getBaseUrl()}${this.endpoints.tokenExchangeEndpoint}?oneTimeCode=${e}`),{token:n}=await t.json();"string"==typeof n&&n&&this.store.set(this.keys.token,n),this.fetchUserInfo()}loginStateChange(){this.eventTarget&&this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))}getBaseUrl(){let e=["localhost","integration.","local."].filter((e=>-1!==this.endpoint.indexOf(e))).length>0;return-1!==["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)&&(e=!0),e?this.baseUrls.at:this.baseUrls.prod}parseUserInfo(e){if(!e)return null;var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}}let w=class{constructor(n){var i;e(this,n),this.loginStateChange=t(this,"loginStateChange",7),this.endpoint="",this.token="",this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""},this.siteUrl="",this.emitEvents=!0,this.loginDialog=null,this.fullname="",this.loggedin=!1,this.showProfileSelection=!1,this.showUnifiedLogin=!1,this.checkUserLoggedInStateInterval=0,this.toggleButtonText=(null===(i=this.loginDialog)||void 0===i?void 0:i.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"",this.username=this.fullname}componentWillLoad(){r.loginManager=new v({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:this.loggedin&&this.fullname?{given_name:this.fullname}:null}),r.loginManager.setSiteUrl(this.siteUrl),this.hostElement.loginmanager=r.loginManager,this.token?r.loginManager.registerToken(this.token,"backend"):this.emitEvents&&r.loginManager.invalidateTokenOfType("backend"),this.hostElement.addEventListener(r.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this)),this.init(),this.setUserName(),this.setToggleButtonText()}async init(){r.loginManager.init(this.emitEvents),this.setToggleButtonText(),this.adjustLoginLinks()}adjustLoginLinks(){var e;if(!(null===(e=this.loginDialog)||void 0===e?void 0:e.loginMenuLinks))return;const t=(e,t)=>(e.isLogoutLink||(e.isLogoutLink=-1!==e.pageLink.indexOf("location.href")&&-1!==e.pageLink.indexOf("logout")),e.isLogoutLink&&(e.href=r.loginManager.getLogoutUrl(e.href)),0!==t||e.href||(e.href=r.loginManager.getLoginUrl(),e.linkType="primary"),e.primaryLinkApperance&&!e.linkType&&(e.linkType="primary"),e);this.loginDialog&&(this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t),this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)),this.loginDialog.legacyLoginLinks=[{href:r.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,linkType:"primary",primaryLinkApperance:!0},{href:r.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:!1,isLogoutLink:!1,pageLink:null,primaryLinkApperance:!1}]}setUserName(){const e=r.loginManager.getUserInfo();let t="";this.loggedin&&e||(this.username=t),e&&e.given_name&&(t=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),!t&&e&&e.email&&(t=e.email),!t&&this.fullname&&(t=this.fullname),this.username=t}setToggleButtonText(){this.loggedin?(this.toggleButtonText=this.username,this.toggleButtonText||(this.toggleButtonText=this.loginDialog.loggedInButtonText)):this.toggleButtonText=this.loginDialog.loginMenuLinkText}onLoginStateChange(e){this.loggedin!==e.detail&&this.emitEvents&&(this.loggedin=e.detail,this.loginStateChange.emit({loggedIn:this.loggedin,token:r.loginManager.getToken()}),this.setUserName(),this.setToggleButtonText())}render(){if(!this.loginDialog)return;let e={username:null,loggedin:"false"};return this.username&&(e.username=this.username,e.loggedin=this.loggedin+""),n(i,Object.assign({},e),n("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&n("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?n("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):n("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&n("span",{innerHTML:`${this.loginDialog.loginInfo}`})))}get hostElement(){return s(this)}static get watchers(){return{i18n:["init"],loginDialog:["init"]}}};w.style='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';const{state:b,onChange:f}=l({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController});let k=class{constructor(t){e(this,t),this.showOnlyLink=!1,this.hideSearch=!1,this.language=null,this.siteid=null,this.search={},this.primary=!1,this.icononly=!0,this.autoCompleteOptions=[]}onSearchValueUpdate(){this.getAutocomplete(b.searchValue)}async getAutocomplete(e){if(!this.search.AutocompleteEndpoint||e.length<2)return void(this.autoCompleteOptions=[]);if(b.autocompleteSuggestions[e])return void this.setAutocompleteSuggestions(b.autocompleteSuggestions[e]);let t=`${this.search.AutocompleteEndpoint}?prefix=${e}&size=10`;(this.language||this.siteid)&&(t+="&tags=",this.language&&(t+=`language:${this.language}`),this.language&&this.siteid&&(t+=","),this.siteid&&(t+=`siteid:${this.siteid}`));const n=await fetch(t,{signal:b.requestAbortController.signal}).catch((e=>{console.warn("Unable to fetch autocomplete suggestions",e)}));if(!n)return;const i=await n.json();if(!i||!i.hits||!i.hits.length)return;const s=i.hits.filter((e=>"editorial"===e.type)).map((e=>e.query));b.autocompleteSuggestions[e]=s,this.setAutocompleteSuggestions(s)}setAutocompleteSuggestions(e){"object"==typeof e&&"number"==typeof e.length&&0!==e.length&&(this.autoCompleteOptions=e)}componentWillLoad(){f("searchValue",(()=>{this.onSearchValueUpdate()}))}componentDidRender(){const e=this.hostElement.querySelector("pn-search-field input:not([list])");e&&this.search.AutocompleteEndpoint&&e.setAttribute("list","siteheader-search-autocomplete")}render(){if(!this.search.formActionUrl||this.hideSearch)return;const e=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return n("div",{class:"siteheader-search"},this.showOnlyLink?n("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},n("pn-button",{appearance:"light",icon:"search"})):n("form",{method:"get",action:this.search.formActionUrl,role:"search"},n("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:this.icononly?"icon":null},e,{onUpdate:e=>{b.searchValue=e.detail},onSearch:()=>{const e=this.hostElement.querySelector("form");e&&e.submit()},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?n("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((e=>n("option",null,e)))):null))}get hostElement(){return s(this)}};k.style=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";const x={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}};let y=class{constructor(t){e(this,t),this.buttontext="postnord",this.heading="PostNord",this.language="sv",this.i18n={navlabel:"Site selector"}}componentWillLoad(){this.setLanguage()}setLanguage(){x[this.language]&&(this.i18n=x[this.language])}render(){return n(i,null,n("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},n("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?n("strong",{class:"siteselector-heading"},this.heading):null,n("ul",{class:"siteselector-list"},n("slot",null)))))}get hostElement(){return s(this)}};y.style="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";let F=class{constructor(t){e(this,t),this.url="",this.heading="",this.description="",this.newwindow=!1}render(){return n(i,{role:"listitem"},this.url?n("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},n("span",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)),n("pn-icon",{symbol:"angle-small-right",color:"blue700"})):n("div",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)))}};F.style="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";export{d as pn_language_selector,c as pn_language_selector_option,u as pn_mainnav,p as pn_mainnav_level,g as pn_mainnav_list,w as pn_marketweb_siteheader_login,k as pn_marketweb_siteheader_search,y as pn_site_selector,F as pn_site_selector_item}