@postnord/pn-marketweb-components 2.0.10 → 2.0.11

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 (43) hide show
  1. package/cjs/loader.cjs.js +1 -1
  2. package/cjs/pn-find-price-result.cjs.entry.js +2 -2
  3. package/cjs/pn-market-web-components.cjs.js +1 -1
  4. package/cjs/{pn-product-card_3.cjs.entry.js → pn-product-card_4.cjs.entry.js} +19 -1
  5. package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
  6. package/collection/collection-manifest.json +1 -0
  7. package/collection/components/minor/pn-titletag/pn-titletag.css +19 -0
  8. package/collection/components/minor/pn-titletag/pn-titletag.js +60 -0
  9. package/collection/components/minor/pn-titletag/title-tag.stories.js +24 -0
  10. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +3 -7
  11. package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -46
  12. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +2 -6
  13. package/custom-elements/index.d.ts +6 -0
  14. package/custom-elements/index.js +27 -7
  15. package/esm/loader.js +1 -1
  16. package/esm/pn-find-price-result.entry.js +2 -2
  17. package/esm/pn-market-web-components.js +1 -1
  18. package/esm/{pn-product-card_3.entry.js → pn-product-card_4.entry.js} +20 -3
  19. package/esm/pn-product-pricelist-result.entry.js +2 -2
  20. package/esm-es5/loader.js +1 -1
  21. package/esm-es5/pn-find-price-result.entry.js +1 -1
  22. package/esm-es5/pn-market-web-components.js +1 -1
  23. package/esm-es5/pn-product-card_4.entry.js +1 -0
  24. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  25. package/package.json +1 -1
  26. package/pn-market-web-components/p-0780aaab.system.entry.js +1 -0
  27. package/pn-market-web-components/p-17c4004f.entry.js +1 -0
  28. package/pn-market-web-components/p-67887512.system.js +1 -1
  29. package/pn-market-web-components/p-723b9901.system.entry.js +1 -0
  30. package/pn-market-web-components/p-96491220.entry.js +1 -0
  31. package/pn-market-web-components/p-99c929aa.system.entry.js +1 -0
  32. package/pn-market-web-components/p-adfb38e0.entry.js +1 -0
  33. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  34. package/types/components/minor/pn-titletag/pn-titletag.d.ts +8 -0
  35. package/types/components.d.ts +29 -0
  36. package/umd/pn-marketweb-salesforce.js +1 -1
  37. package/esm-es5/pn-product-card_3.entry.js +0 -1
  38. package/pn-market-web-components/p-1ecf47ed.entry.js +0 -1
  39. package/pn-market-web-components/p-6f556e76.system.entry.js +0 -1
  40. package/pn-market-web-components/p-ae775ba5.system.entry.js +0 -1
  41. package/pn-market-web-components/p-b2840380.entry.js +0 -1
  42. package/pn-market-web-components/p-c2fada23.entry.js +0 -1
  43. package/pn-market-web-components/p-e7f8da0b.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ System.register(["./p-36654f2a.system.js","./p-e9781689.system.js","./p-9e0c9f32.system.js","./p-825b8fb8.system.js"],(function(t){"use strict";var i,e,s,n,l,r,o;return{setters:[function(t){i=t.r;e=t.h;s=t.a},function(t){n=t.s},function(t){l=t.a;r=t.b;o=t.R},function(){}],execute:function(){var a="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";var c=t("pn_find_price_result",function(){function t(t){i(this,t);this.item=null;this.shownitems=[];this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.usp={Billigast:e("pn-titletag",{slot:"Billigast",icon:"box-label"},this.item.highestrankusp),Snabbast:e("pn-titletag",{slot:"Snabbast",icon:"box-label",color:"blue700"},this.item.highestrankusp)}}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId="".concat(this.item.id,"-").concat(this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,""))};t.prototype.render=function(){return e(s,null,e("pn-product-card",{"data-productid":this.item.id},e("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),e("div",{slot:"title"},this.item.infopagelink?e("h2",null,e("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):e("h2",null,this.item.name),this.usp[this.item.highestrankusp]),e("div",{slot:"content"},e("div",{class:"content"},this.item.description?e("div",{class:"description"},this.description.map((function(t){return e("li",null,t)}))):null,this.item.info?e("div",{class:"description"},this.item.info):null)),this.item.note?e("small",{slot:"note"},e("p",null,this.item.note)):null,this.item.additionalusp?e("div",{slot:"additionalUSP"},this.Usp1?e("span",null,this.Usp1):null,this.Usp2?e("span",null,this.Usp2):null,this.Usp3?e("span",null,this.Usp3):null):null,this.showMeasurement?e("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,e("div",{slot:"cardprice"},this.item.pricesenddirect?e("pn-product-card-price",{slot:"sendDirectPrice",label:n.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:n.market.currency,url:l,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?e("pn-product-card-price",{slot:"stampPrice",label:n.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:n.market.currency,url:r,linkid:this.linkId+"-stampshop"}):e("pn-product-card-price",{slot:"riktiga",label:n.i18n.riktigaVykort,amount:this.item.pricestamps+"",currency:n.market.currency,url:o["WebUrl"],linkid:this.linkId+"-riktiga"}):null),e("div",{slot:"servicepoint"},this.item.showservicepointlink?e("a",{href:n.market.servicePoint,target:"_blank"},e("pn-icon",{symbol:"map-marker",color:"blue700"}),n.i18n.servicePointLink):null),e("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?e("div",{id:"riktiga"},e("h4",null,n.i18n.riktigaVykortMobile),e("div",null,e("a",{href:o["AndroidAppUrl"],target:"_blank"},e("img",{class:"riktigaAndroidImg",src:o["AndroidImg"]})),e("a",{href:o["IosAppUrl"],target:"_blank"},e("img",{class:"riktigaAppleImg",src:o["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
@@ -0,0 +1 @@
1
+ import{r as t,h as i,a as l}from"./p-58e8d7d5.js";import{s}from"./p-e3ae421f.js";import{a as n,b as r,R as a}from"./p-f04541a1.js";import"./p-86f06e26.js";let e=class{constructor(l){t(this,l),this.item=null,this.shownitems=[],this.description=[],this.showMeasurement=!1,this.weightText="",this.linkId="",this.usp={Billigast:i("pn-titletag",{slot:"Billigast",icon:"box-label"},this.item.highestrankusp),Snabbast:i("pn-titletag",{slot:"Snabbast",icon:"box-label",color:"blue700"},this.item.highestrankusp)}}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null,this.Usp2=t.length>1?t[1]:null,this.Usp3=t.length>2?t[2]:null}this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t))),this.showMeasurement=null!==this.item.maxmått||null!==this.item.rulle,this.linkId=`${this.item.id}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,"")}`}render(){return i(l,null,i("pn-product-card",{"data-productid":this.item.id},i("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),i("div",{slot:"title"},i("h2",null,this.item.infopagelink?i("a",{href:this.item.infopagelink,target:"_blank"},this.item.name):this.item.name),this.usp[this.item.highestrankusp]),i("div",{slot:"content"},i("div",{class:"content"},this.item.description?i("div",{class:"description"},this.description.map((t=>i("li",null,t)))):null,this.item.info?i("div",{class:"description"},this.item.info):null)),this.item.note?i("small",{slot:"note"},i("p",null,this.item.note)):null,this.item.additionalusp?i("div",{slot:"additionalUSP"},this.Usp1?i("span",null,this.Usp1):null,this.Usp2?i("span",null,this.Usp2):null,this.Usp3?i("span",null,this.Usp3):null):null,this.showMeasurement?i("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,i("div",{slot:"cardprice"},this.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:s.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:s.market.currency,url:n,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?"riktiga vykort"!==this.item.name.toLocaleLowerCase()?i("pn-product-card-price",{slot:"stampPrice",label:s.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:s.market.currency,url:r,linkid:this.linkId+"-stampshop"}):i("pn-product-card-price",{slot:"riktiga",label:s.i18n.riktigaVykort,amount:this.item.pricestamps+"",currency:s.market.currency,url:a.WebUrl,linkid:this.linkId+"-riktiga"}):null),i("div",{slot:"servicepoint"},this.item.showservicepointlink?i("a",{href:s.market.servicePoint,target:"_blank"},i("pn-icon",{symbol:"map-marker",color:"blue700"}),s.i18n.servicePointLink):null),i("div",{slot:"mobiledownload"},"riktiga vykort"===this.item.name.toLocaleLowerCase()?i("div",{id:"riktiga"},i("h4",null,s.i18n.riktigaVykortMobile),i("div",null,i("a",{href:a.AndroidAppUrl,target:"_blank"},i("img",{class:"riktigaAndroidImg",src:a.AndroidImg})),i("a",{href:a.IosAppUrl,target:"_blank"},i("img",{class:"riktigaAppleImg",src:a.IosImg})))):null)))}static get watchers(){return{item:["composeItems"]}}};e.style="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";export{e as pn_find_price_result}
@@ -1 +1 @@
1
- import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-2a624d21",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-82daf429",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-c1c3777d",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-1ecf47ed",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-45735570",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-51df9292",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-381b3ec0",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-d0155ddf",[[4,"pn-product-tile"]]],["p-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-b2840380",[[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1],linkid:[1]}],[4,"pn-product-card"]]],["p-61dbe832",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-c2fada23",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],showMeasurement:[4,"show-measurement"],usp:[16],weightText:[32],linkId:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-8e146205",[[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]],["p-6c75474c",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],loginManager:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],language:[1537],search:[1040],primary:[4],autoCompleteOptions:[32]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]]],e)));
1
+ import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-2a624d21",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-82daf429",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-c1c3777d",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-17c4004f",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-45735570",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-51df9292",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-381b3ec0",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-d0155ddf",[[4,"pn-product-tile"]]],["p-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-96491220",[[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1],linkid:[1]}],[4,"pn-titletag",{icon:[1],color:[1537]}],[4,"pn-product-card"]]],["p-61dbe832",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-adfb38e0",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],showMeasurement:[4,"show-measurement"],usp:[16],weightText:[32],linkId:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-8e146205",[[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]],["p-6c75474c",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],loginManager:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],language:[1537],search:[1040],primary:[4],autoCompleteOptions:[32]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]]],e)));
@@ -0,0 +1,8 @@
1
+ export declare class PnTiletag {
2
+ /** Icon of the tag */
3
+ icon: string;
4
+ /** Icon of the tag */
5
+ color: string;
6
+ hostElement: HTMLElement;
7
+ render(): any;
8
+ }
@@ -441,6 +441,16 @@ export namespace Components {
441
441
  "newwindow": boolean;
442
442
  "url": string;
443
443
  }
444
+ interface PnTitletag {
445
+ /**
446
+ * Icon of the tag
447
+ */
448
+ "color": string;
449
+ /**
450
+ * Icon of the tag
451
+ */
452
+ "icon": string;
453
+ }
444
454
  }
445
455
  declare global {
446
456
  interface HTMLPnBonusProgressbarElement extends Components.PnBonusProgressbar, HTMLStencilElement {
@@ -671,6 +681,12 @@ declare global {
671
681
  prototype: HTMLPnSiteSelectorItemElement;
672
682
  new (): HTMLPnSiteSelectorItemElement;
673
683
  };
684
+ interface HTMLPnTitletagElement extends Components.PnTitletag, HTMLStencilElement {
685
+ }
686
+ var HTMLPnTitletagElement: {
687
+ prototype: HTMLPnTitletagElement;
688
+ new (): HTMLPnTitletagElement;
689
+ };
674
690
  interface HTMLElementTagNameMap {
675
691
  "pn-bonus-progressbar": HTMLPnBonusProgressbarElement;
676
692
  "pn-bonus-progressbar-level": HTMLPnBonusProgressbarLevelElement;
@@ -710,6 +726,7 @@ declare global {
710
726
  "pn-site-footer-col": HTMLPnSiteFooterColElement;
711
727
  "pn-site-selector": HTMLPnSiteSelectorElement;
712
728
  "pn-site-selector-item": HTMLPnSiteSelectorItemElement;
729
+ "pn-titletag": HTMLPnTitletagElement;
713
730
  }
714
731
  }
715
732
  declare namespace LocalJSX {
@@ -1161,6 +1178,16 @@ declare namespace LocalJSX {
1161
1178
  "newwindow"?: boolean;
1162
1179
  "url"?: string;
1163
1180
  }
1181
+ interface PnTitletag {
1182
+ /**
1183
+ * Icon of the tag
1184
+ */
1185
+ "color"?: string;
1186
+ /**
1187
+ * Icon of the tag
1188
+ */
1189
+ "icon"?: string;
1190
+ }
1164
1191
  interface IntrinsicElements {
1165
1192
  "pn-bonus-progressbar": PnBonusProgressbar;
1166
1193
  "pn-bonus-progressbar-level": PnBonusProgressbarLevel;
@@ -1200,6 +1227,7 @@ declare namespace LocalJSX {
1200
1227
  "pn-site-footer-col": PnSiteFooterCol;
1201
1228
  "pn-site-selector": PnSiteSelector;
1202
1229
  "pn-site-selector-item": PnSiteSelectorItem;
1230
+ "pn-titletag": PnTitletag;
1203
1231
  }
1204
1232
  }
1205
1233
  export { LocalJSX as JSX };
@@ -1244,6 +1272,7 @@ declare module "@stencil/core" {
1244
1272
  "pn-site-footer-col": LocalJSX.PnSiteFooterCol & JSXBase.HTMLAttributes<HTMLPnSiteFooterColElement>;
1245
1273
  "pn-site-selector": LocalJSX.PnSiteSelector & JSXBase.HTMLAttributes<HTMLPnSiteSelectorElement>;
1246
1274
  "pn-site-selector-item": LocalJSX.PnSiteSelectorItem & JSXBase.HTMLAttributes<HTMLPnSiteSelectorItemElement>;
1275
+ "pn-titletag": LocalJSX.PnTitletag & JSXBase.HTMLAttributes<HTMLPnTitletagElement>;
1247
1276
  }
1248
1277
  }
1249
1278
  }
@@ -18,7 +18,7 @@
18
18
 
19
19
  const s = document.createElement('script');
20
20
  s.setAttribute("type", "module");
21
- s.setAttribute("src", "https://unpkg.com/@postnord/pn-marketweb-components@2.0.10/umd/standalone-loader-salesforce.js");
21
+ s.setAttribute("src", "https://unpkg.com/@postnord/pn-marketweb-components@2.0.11/umd/standalone-loader-salesforce.js");
22
22
  document.querySelector("head").appendChild(s);
23
23
 
24
24
 
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,a as Host}from"./index-5397620b.js";var pnProductCardCss='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=title]>[slot]{border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem}pn-product-card [slot=title]>[slot] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Billigast]{color:#005E41;background:#DCF6E7}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var PnProductCard=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",{name:"illustration"}),h("div",{class:"cardcontent"},h("div",{class:"details"},h("slot",{name:"title"}),h("slot",{name:"content"}),h("div",{class:"info"},h("slot",null)),h("slot",{name:"note"}),h("slot",{name:"additionalUSP"})),h("div",{class:"cardprice"},h("slot",{name:"cardprice"}),h("slot",{name:"mobiledownload"}),h("slot",{name:"servicepoint"}))))};return e}();PnProductCard.style=pnProductCardCss;var pnProductCardInfoCss='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var PnProductCardInfo=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return this.label?h(Host,null,h("div",{class:"cardinfocontent"},this.text?h("pre",{slot:"formatPre"},this.text):null)):h(Host,null,h("div",{class:"cardinfocontent"},this.paket?h("div",{class:"cardinfocontent-item"},h("strong",null,"Maxmått:"),this.paket.split("/").map((function(e){return e.split(":").length>0?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null,this.rulle?h("div",{class:"cardinfocontent-item"},h("strong",null,"Rulle:"),this.rulle.split("/").map((function(e){return e.split(":").length>0?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null))};return e}();h("pn-icon",{symbol:"align-center",small:"false",color:"black"});PnProductCardInfo.style=pnProductCardInfoCss;var pnProductCardPriceCss="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var PnProductCardPrice=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?h(Host,{id:this.linkid},h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null," "+this.currency):null),this.note?h("p",null,this.note):null,this.label?h("pn-button",{small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):h(Host,null,h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null))};return e}();PnProductCardPrice.style=pnProductCardPriceCss;export{PnProductCard as pn_product_card,PnProductCardInfo as pn_product_card_info,PnProductCardPrice as pn_product_card_price};
@@ -1 +0,0 @@
1
- import{r as t,h as s,a as l}from"./p-58e8d7d5.js";import{c as i}from"./p-86f06e26.js";import{s as e,a}from"./p-4e9a272d.js";const{state:r}=i({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}});let n=class{constructor(s){t(this,s),this.item=null,this.description=[],this.shownitems=[],this.showMeasurement=!1,this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t))),this.showMeasurement=null!==this.item.maxmått||null!==this.item.rulle,this.shownitems=[this.item]}render(){return s(l,null,this.shownitems.map((t=>s("pn-product-card",{"data-productid":t.id},s("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),s("div",{slot:"title"},s("h2",null,t.name," "),this.item.highestrankusp?"Billigast"===this.item.highestrankusp?s("span",{slot:"Billigast"},this.item.highestrankusp,s("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):s("span",{slot:"Snabbast"},this.item.highestrankusp,s("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),s("div",{slot:"content"},s("div",{class:"content"},this.item.description?s("div",{class:"description"},this.description.map((t=>s("li",null,t)))):null,this.item.info?s("div",{class:"description"},this.item.info):null)),this.item.note?s("small",{slot:"note"},s("p",null,this.item.note)):null,this.item.additionalusp?s("div",{slot:"additionalUSP"}):null,this.showMeasurement?s("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,s("div",{slot:"cardprice"},this.item.pricesenddirect?s("pn-product-card-price",{slot:"sendDirectPrice",label:r.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:r.market.currency,url:e,service:this.item.name+"-portal"}):null,this.item.pricestamps?s("pn-product-card-price",{slot:"stampPrice",label:r.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:r.market.currency,url:a,service:this.item.name+"-eshop"}):null)))))}static get watchers(){return{item:["composeItems"]}}};n.style="";export{n as pn_product_pricelist_result}
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js","./p-825b8fb8.system.js","./p-bf7cc19d.system.js"],(function(t){"use strict";var e,i,s,n,l,r;return{setters:[function(t){e=t.r;i=t.h;s=t.a},function(t){n=t.c},function(t){l=t.s;r=t.a}],execute:function(){var o=n({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),a=o.state,c=o.onChange;var u="";var m=t("pn_product_pricelist_result",function(){function t(t){e(this,t);this.item=null;this.description=[];this.shownitems=[];this.showMeasurement=false;this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.shownitems=[this.item]};t.prototype.render=function(){var t=this;return i(s,null,this.shownitems.map((function(e){return i("pn-product-card",{"data-productid":e.id},i("pn-illustration",{slot:"illustration",illustration:t.item.illustration}),i("div",{slot:"title"},i("h2",null,e.name," "),t.item.highestrankusp?t.item.highestrankusp==="Billigast"?i("span",{slot:"Billigast"},t.item.highestrankusp,i("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):i("span",{slot:"Snabbast"},t.item.highestrankusp,i("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),i("div",{slot:"content"},i("div",{class:"content"},t.item.description?i("div",{class:"description"},t.description.map((function(t){return i("li",null,t)}))):null,t.item.info?i("div",{class:"description"},t.item.info):null)),t.item.note?i("small",{slot:"note"},i("p",null,t.item.note)):null,t.item.additionalusp?i("div",{slot:"additionalUSP"}):null,t.showMeasurement?i("pn-product-card-info",{paket:t.item.maxmått,rulle:t.item.rulle}):null,i("div",{slot:"cardprice"},t.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:a.i18n.senddirectcta,amount:t.item.pricesenddirect+"",currency:a.market.currency,url:l,service:t.item.name+"-portal"}):null,t.item.pricestamps?i("pn-product-card-price",{slot:"stampPrice",label:a.i18n.stampshopcta,amount:t.item.pricestamps+"",currency:a.market.currency,url:r,service:t.item.name+"-eshop"}):null))})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());m.style=u}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js","./p-e9781689.system.js","./p-9e0c9f32.system.js","./p-825b8fb8.system.js"],(function(t){"use strict";var i,e,s,n,l,r,o;return{setters:[function(t){i=t.r;e=t.h;s=t.a},function(t){n=t.s},function(t){l=t.a;r=t.b;o=t.R},function(){}],execute:function(){var a="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";var c=t("pn_find_price_result",function(){function t(t){i(this,t);this.item=null;this.shownitems=[];this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.usp={Billigast:e("span",{slot:"Billigast"},this.item.highestrankusp,e("pn-icon",{symbol:"box-label",small:"false",color:"green700"})),Snabbast:e("span",{slot:"Snabbast"},this.item.highestrankusp,e("pn-icon",{symbol:"bolt",small:"false",color:"blue700"}))}}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId="".concat(this.item.id,"-").concat(this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,""))};t.prototype.render=function(){return e(s,null,e("pn-product-card",{"data-productid":this.item.id},e("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),e("div",{slot:"title"},this.item.infopagelink?e("h2",null,e("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):e("h2",null,this.item.name),this.usp[this.item.highestrankusp]),e("div",{slot:"content"},e("div",{class:"content"},this.item.description?e("div",{class:"description"},this.description.map((function(t){return e("li",null,t)}))):null,this.item.info?e("div",{class:"description"},this.item.info):null)),this.item.note?e("small",{slot:"note"},e("p",null,this.item.note)):null,this.item.additionalusp?e("div",{slot:"additionalUSP"},this.Usp1?e("span",null,this.Usp1):null,this.Usp2?e("span",null,this.Usp2):null,this.Usp3?e("span",null,this.Usp3):null):null,this.showMeasurement?e("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,e("div",{slot:"cardprice"},this.item.pricesenddirect?e("pn-product-card-price",{slot:"sendDirectPrice",label:n.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:n.market.currency,url:l,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?e("pn-product-card-price",{slot:"stampPrice",label:n.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:n.market.currency,url:r,linkid:this.linkId+"-stampshop"}):e("pn-product-card-price",{slot:"riktiga",label:n.i18n.riktigaVykort,amount:this.item.pricestamps+"",currency:n.market.currency,url:o["WebUrl"],linkid:this.linkId+"-riktiga"}):null),e("div",{slot:"servicepoint"},this.item.showservicepointlink?e("a",{href:n.market.servicePoint,target:"_blank"},e("pn-icon",{symbol:"map-marker",color:"blue700"}),n.i18n.servicePointLink):null),e("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?e("div",{id:"riktiga"},e("h4",null,n.i18n.riktigaVykortMobile),e("div",null,e("a",{href:o["AndroidAppUrl"],target:"_blank"},e("img",{class:"riktigaAndroidImg",src:o["AndroidImg"]})),e("a",{href:o["IosAppUrl"],target:"_blank"},e("img",{class:"riktigaAppleImg",src:o["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,a as n}from"./p-58e8d7d5.js";let i=class{constructor(t){e(this,t)}render(){return t(n,null,t("slot",{name:"illustration"}),t("div",{class:"cardcontent"},t("div",{class:"details"},t("slot",{name:"title"}),t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"}),t("slot",{name:"additionalUSP"})),t("div",{class:"cardprice"},t("slot",{name:"cardprice"}),t("slot",{name:"mobiledownload"}),t("slot",{name:"servicepoint"}))))}};i.style='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=title]>[slot]{border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem}pn-product-card [slot=title]>[slot] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Billigast]{color:#005E41;background:#DCF6E7}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';let r=class{constructor(t){e(this,t)}render(){return t(n,null,this.label?t("div",{class:"cardinfocontent"},this.text?t("pre",{slot:"formatPre"},this.text):null):t("div",{class:"cardinfocontent"},this.paket?t("div",{class:"cardinfocontent-item"},t("strong",null,"Maxmått:"),this.paket.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null,this.rulle?t("div",{class:"cardinfocontent-item"},t("strong",null,"Rulle:"),this.rulle.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null))}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),r.style='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';let o=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(n,{id:this.linkid},t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null," "+this.currency):null),this.note?t("p",null,this.note):null,this.label?t("pn-button",{small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):t(n,null,t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};o.style="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";export{i as pn_product_card,r as pn_product_card_info,o as pn_product_card_price}
@@ -1 +0,0 @@
1
- import{r as t,h as i,a as s}from"./p-58e8d7d5.js";import{s as l}from"./p-e3ae421f.js";import{a as n,b as r,R as a}from"./p-f04541a1.js";import"./p-86f06e26.js";let e=class{constructor(s){t(this,s),this.item=null,this.shownitems=[],this.description=[],this.showMeasurement=!1,this.weightText="",this.linkId="",this.usp={Billigast:i("span",{slot:"Billigast"},this.item.highestrankusp,i("pn-icon",{symbol:"box-label",small:"false",color:"green700"})),Snabbast:i("span",{slot:"Snabbast"},this.item.highestrankusp,i("pn-icon",{symbol:"bolt",small:"false",color:"blue700"}))}}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null,this.Usp2=t.length>1?t[1]:null,this.Usp3=t.length>2?t[2]:null}this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t))),this.showMeasurement=null!==this.item.maxmått||null!==this.item.rulle,this.linkId=`${this.item.id}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,"")}`}render(){return i(s,null,i("pn-product-card",{"data-productid":this.item.id},i("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),i("div",{slot:"title"},i("h2",null,this.item.infopagelink?i("a",{href:this.item.infopagelink,target:"_blank"},this.item.name):this.item.name),this.usp[this.item.highestrankusp]),i("div",{slot:"content"},i("div",{class:"content"},this.item.description?i("div",{class:"description"},this.description.map((t=>i("li",null,t)))):null,this.item.info?i("div",{class:"description"},this.item.info):null)),this.item.note?i("small",{slot:"note"},i("p",null,this.item.note)):null,this.item.additionalusp?i("div",{slot:"additionalUSP"},this.Usp1?i("span",null,this.Usp1):null,this.Usp2?i("span",null,this.Usp2):null,this.Usp3?i("span",null,this.Usp3):null):null,this.showMeasurement?i("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,i("div",{slot:"cardprice"},this.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:l.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:l.market.currency,url:n,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?"riktiga vykort"!==this.item.name.toLocaleLowerCase()?i("pn-product-card-price",{slot:"stampPrice",label:l.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:l.market.currency,url:r,linkid:this.linkId+"-stampshop"}):i("pn-product-card-price",{slot:"riktiga",label:l.i18n.riktigaVykort,amount:this.item.pricestamps+"",currency:l.market.currency,url:a.WebUrl,linkid:this.linkId+"-riktiga"}):null),i("div",{slot:"servicepoint"},this.item.showservicepointlink?i("a",{href:l.market.servicePoint,target:"_blank"},i("pn-icon",{symbol:"map-marker",color:"blue700"}),l.i18n.servicePointLink):null),i("div",{slot:"mobiledownload"},"riktiga vykort"===this.item.name.toLocaleLowerCase()?i("div",{id:"riktiga"},i("h4",null,l.i18n.riktigaVykortMobile),i("div",null,i("a",{href:a.AndroidAppUrl,target:"_blank"},i("img",{class:"riktigaAndroidImg",src:a.AndroidImg})),i("a",{href:a.IosAppUrl,target:"_blank"},i("img",{class:"riktigaAppleImg",src:a.IosImg})))):null)))}static get watchers(){return{item:["composeItems"]}}};e.style="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";export{e as pn_find_price_result}
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,i;return{setters:[function(e){t=e.r;n=e.h;i=e.a}],execute:function(){var r='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=title]>[slot]{border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem}pn-product-card [slot=title]>[slot] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Billigast]{color:#005E41;background:#DCF6E7}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var o=e("pn_product_card",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(i,null,n("slot",{name:"illustration"}),n("div",{class:"cardcontent"},n("div",{class:"details"},n("slot",{name:"title"}),n("slot",{name:"content"}),n("div",{class:"info"},n("slot",null)),n("slot",{name:"note"}),n("slot",{name:"additionalUSP"})),n("div",{class:"cardprice"},n("slot",{name:"cardprice"}),n("slot",{name:"mobiledownload"}),n("slot",{name:"servicepoint"}))))};return e}());o.style=r;var l='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var a=e("pn_product_card_info",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.label?n(i,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(i,null,n("div",{class:"cardinfocontent"},this.paket?n("div",{class:"cardinfocontent-item"},n("strong",null,"Maxmått:"),this.paket.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null,this.rulle?n("div",{class:"cardinfocontent-item"},n("strong",null,"Rulle:"),this.rulle.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null))};return e}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});a.style=l;var c="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var d=e("pn_product_card_price",function(){function e(e){t(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?n(i,{id:this.linkid},n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null," "+this.currency):null),this.note?n("p",null,this.note):null,this.label?n("pn-button",{small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):n(i,null,n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return e}());d.style=c}}}));