PageSourceSearch

https://www.granngarden.se/dist/Component.ProductContent.7c6061b9.js

js granngarden.se collected 2026-09-24 18:17:32 UTC 46,856 bytes, 1 lines download raw bytes

1"use strict";(self.fkaWebpackJsonp=self.fkaWebpackJsonp||[]).push([[945,1381,1434,3061,3227],{9240:(e,t,r)=>{r.r(t),r.d(t,{default:()=>N});var n=r(641),a=r(33),o=r(3751);const i={key:0,class:"product-campaign-display__loading"},s=["alt"],l={class:"product-campaign-display__wrapper"},u={class:"product-campaign-display__heading"},c={key:0},d={key:1},p={key:2},m={class:"product-campaign-display__list"},v={class:"product-campaign-display__product"},g=["href"],h=["src","alt"],y={key:0,class:"product-campaign-display__delimiter"},b=["aria-label","onClick","disabled"];var C=r(8221),k=r.n(C),_=r(8011),f=r(4324),w=r(7985),L=r(5052),P=r(6998),x=r(5862),E=r(5094),F=r(9590),I=r(3165);const S=(0,n.pM)({name:"ProductCampaignDisplay",mixins:[(0,f.m)(),_.l],components:{Icon:L.A},props:{apiUrl:String,product:Object,salesPhoneNumber:String},data:()=>({response:null,fetching:!1,buying:!1}),computed:{filteredCampaigns(){if(!this.campaigns)return[];const e=this.campaigns.filter((e=>"PerfectPartner"===e.campaignType||"Bundle"===e.campaignType));if(0===e.length)return[];const[t]=e;return[t]},productNumbers(){return this.filteredCampaigns.map((e=>e.productsInTheSameOffer??new Array)).reduce(((e,t)=>e.concat(t)),[]).filter(((e,t,r)=>r.indexOf(e)===t)).join(",")},campaignInventories(){return this.productNumber&&this.productNumbers&&this.$store?(0,F.xy)(this.$store):null},contactSales(){if(!this.campaignInventories||0===Object.keys(this.campaignInventories).length)return!1;return Object.entries(this.campaignInventories).filter((e=>e[1].availabilityInfo.availabilityStatus===I.U.ContactSales&&(this.productNumbers.includes(e[0])||e[0]===this.productNumber))).length>0}},watch:{filteredCampaigns(){this.debouncedFetchProducts()},productNumbers(){if(this.productNumber&&this.productNumbers&&this.$store){const e=`${this.productNumber},${this.productNumbers}`;(0,F.DQ)(this.$store,e.split(","))}}},methods:{async buy(e){const t=this.filteredCampaigns[e];if(!t)return;const r=[{lineId:"",productNumber:t.productNumber,quantity:1}];t.productsInTheSameOffer&&t.productsInTheSameOffer.forEach((e=>{r.push({lineId:"",productNumber:e,quantity:1})})),this.buying=!0,await(0,P.kM)(this.$store,{items:r,addingToCart:!0,recommendations:x.l.None,listName:t?.label,listIndex:e}),this.buying=!1},products(e){if(!this.product)return[];const t=this?.filteredCampaigns?.[e].productsInTheSameOffer;if(!t)return[];const r=[this.product];return t.forEach((e=>{const t=this.response?.products?.find((t=>t.productNumber===e));t&&r.push(t)})),r},storeOnly(e){return this.products(e).filter((e=>!1===e.isBuyableOnline)).length>0},async fetchProducts(){const{apiUrl:e,productNumbers:t}=this;if(e&&t)try{this.fetching=!0;const r=await w.A.get(e,{query:{productNumbers:t}}),n=await r.json();this.response=n}catch(e){E.z(e)}finally{this.fetching=!1}},debouncedFetchProducts(){}},created(){this.debouncedFetchProducts=k()(this.fetchProducts,500)}});const N=(0,r(6262).A)(S,[["render",function(e,t,r,C,k,_){const f=(0,n.g2)("Icon");return(0,n.uX)(),(0,n.CE)("div",null,[e.fetching?((0,n.uX)(),(0,n.CE)("p",i,[(0,n.Lk)("img",{src:"/UI/Icons/loading.svg",alt:e.translate("fetchingCampaignProducts")},null,8,s)])):(0,n.Q3)("",!0),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.filteredCampaigns,((t,r)=>(0,n.bo)(((0,n.uX)(),(0,n.CE)("section",{key:t.label+r,class:(0,a.C4)(["product-campaign-display",{"product-campaign-display--portrait":t.productsInTheSameOffer&&t.productsInTheSameOffer.length>1}])},[(0,n.Lk)("div",l,[(0,n.Lk)("h2",u,[(0,n.eW)((0,a.v_)(t.label)+" ",1),e.storeOnly(r)&&!e.contactSales?((0,n.uX)(),(0,n.CE)("span",c,(0,a.v_)(e.translate("storeOnly")),1)):(0,n.Q3)("",!0),e.contactSales?((0,n.uX)(),(0,n.CE)("span",d,(0,a.v_)(e.salesPhoneNumber),1)):(0,n.Q3)("",!0),t.formattedEndDate?((0,n.uX)(),(0,n.CE)("span",p,(0,a.v_)(e.translateFormat([t.formattedEndDate],"endDate")),1)):(0,n.Q3)("",!0)]),(0,n.Lk)("ul",m,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.products(r),((e,t)=>((0,n.uX)(),(0,n.CE)("li",{key:e.productNumber,class:"product-campaign-display__item"},[(0,n.Lk)("article",v,[(0,n.Lk)("a",{href:e.link,class:"product-campaign-display__link"}
1,[(0,n.Lk)("img",{src:e.image||"/UI/placeholder-product.svg",alt:e.name,width:"80",height:"80",loading:"lazy",class:"product-campaign-display__image"},null,8,h)],8,g)]),0===t?((0,n.uX)(),(0,n.CE)("div",y)):(0,n.Q3)("",!0)])))),128))]),e.storeOnly(r)||e.contactSales?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("button",{key:0,type:"button",class:(0,a.C4)(["product-campaign-display__buy button button--small",{"button--loading":e.buying}]),"aria-label":t.formattedOfferPrice?e.translateFormat([t.formattedOfferPrice],"buyPackageFor"):void 0,onClick:(0,o.D$)((t=>e.buy(r)),["prevent"]),disabled:e.buying},[(0,n.eW)((0,a.v_)(t.formattedOfferPrice||e.translate("buy"))+" ",1),(0,n.bF)(f,{width:"24",height:"22",icon:"cart-arrow-down"})],10,b))])],2)),[[o.aG,!e.fetching&&e.filteredCampaigns.length>=1]]))),128))])}]])},3955:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Je});var n=r(641),a=r(33),o=r(3751);const i={class:"product-content__grid"},s={class:"product-content__content"},l={class:"product-content__header"},u={key:0,class:"product-content__title"},c={key:1,class:"product-content__latin-name"},d={key:2,class:"product-content__customer-rating"},p={class:"sr-only"},m={key:3,class:"product-content__brand"},v={key:4,class:"product-content__price"},g=["data-product"],h={key:0,method:"post",id:"product-form",class:"product-content__form"},y={key:0},b={class:"product-content__review-summary product-content__review-summary--mobile"},C={key:3,class:"product-content__usps"},k={key:4,class:"product-content__art-number"},_=["aria-label"],f={key:0,class:"product-content__art-number-feedback",role:"status","aria-live":"polite"},w={key:5,class:"product-content__intro"},L={key:6,class:"product-content__publication-date"},P=["datetime"],x=["datetime"],E={key:7,class:"product-content__product-usps"},F={key:8,class:"product-content__parent-categories"},I={class:"product-content__parent-category-items"},S=["href"],N={key:9,class:"product-shipping-info"},A={key:11,class:"product-content__eco-wrapper"},X={key:0,class:"product-content__eco-items"},T=["alt","src"],Q=["href"],O={key:0,class:"product-content__images"},M={key:0},R={key:1,class:"product-content__brand"},z={class:"product-content__review-summary product-content__review-summary--desktop"},B={class:"product-content__accordions-wrapper"},U={key:3,class:"product-content__accordions"},j=["innerHTML"],W={key:1,class:"product-content__documents-wrapper"},$={class:"product-content__documents"},K=["href"],q={key:2,id:"testfreaks-qa"},D={class:"product-content__review-wrapper"},H={key:0,class:"product-content__review-intro-text"},V={key:1,class:"product-content__review-link-intro"},Z=["href"],G={key:4,class:"product-content__videoly-block"},Y={id:"videoly-product-title",style:{display:"none"}},J={id:"videoly-product-id",style:{display:"none"}},ee={id:"videoly-product-sku",style:{display:"none"}};var te=r(4324),re=r(953),ne=r(617),ae=r(4400),oe=r(8646);const ie={class:"accordion"},se=["id","aria-controls","aria-expanded"],le={class:"accordion__title"},ue={key:0,class:"accordion__count"},ce=["id","aria-hidden","data-truncated","aria-labelledby"],de={key:0,class:"accordion__show-more-wrapper"},pe=["aria-expanded","aria-controls"];var me=r(5052);const ve=(0,n.pM)({components:{Icon:me.A},name:"ProductAccordion",emits:["toggle"],props:{title:{type:String,required:!0},isOpen:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},showMoreText:{type:String,required:!1,default:""},enableShowMore:{type:Boolean,required:!1,default:!1},count:{type:Number,required:!1,default:void 0}},setup(e,{emit:t}){const r=(0,re.KR)(null),a=(0,re.KR)(0),o=(0,re.KR)(!1),i=(0,re.KR)(null),s=(0,re.KR)(void 0),l=(0,n.EW)((()=>e.enableShowMore&&a.value>500&&!o.value)),u=(0,n.EW)((()=>e.enableShowMore&&a.value>500&&!o.value)),c=()=>{o.value=!0};(0,n.sV)((()=>{e.enableShowMore&&r.value&&(i.value=new ResizeObserver((e=>{void 0!==s.value&&window.cancelAnimationFrame(s.value),s.value=window.requestAnimationFrame((()=>{e[0]&&(a.value=e[0].target.scrollHeight),s.value=void 0}))})),i.value.observe(r.value),a.value=r.value.scrollHeight)})),(0,n.hi)((()=>{void 0!==s.value&&window.cancelAnimationFrame(s.value),i.value&&i.value.disconnect()}));return{toggleAccordion:()=>{t("toggle")},isHijacked:(0,n.EW)((()=>e.isOpen)),contentRef:r,shouldShowMoreButton:l,isContentTruncated:u,isContentExpanded:o,handleShowMore:c,handleShowMoreKeydown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c())}}}});var ge=r(6262);const he=(0,ge.A)(ve,[["render",function(e,t,r,i,s,l){const u=(0,n.g2)("Icon");return(0,n.uX)(),(0,n.CE)("div",ie,[(0,n.Lk)("button",{id:e.id+"-button","aria-controls":e.id,"data-aria-ignore":"","aria-expanded":e.isOpen,onClick:t[0]||(t[0]=(0,o.D$)(((...t)=>e.toggleAccordion&&e.toggleAccordion(...t)),["prevent"])),type:"button",class:"accordion__button"},[(0,n.Lk)("span",le,[(0,n.eW)((0,a.v_)(e.title)+" ",1),void 0!==e.count&&e.count>0?((0,n.uX)(),(0,n.CE)("span",ue,"("+(0,a.v_)(e.count)+")",1)):(0,n.Q3)("",!0)]),e.$slots.reviews?(0,n.RG)(e.$slots,"reviews",{key:0}):(0,n.Q3)("",!0),(0,n.bF)(u,{icon:"chevron-down",height:"20",width:"20",class:"accordion__icon"})],8,se),(0,n.Lk)("div",{class:(0,a.C4)(["accordion__wrapper",{"is-open":e.isOpen}])},[(0,n.Lk)("div",{id:e.id,"aria-hidden":!e.isOpen,"data-epi-edit":"content",class:(0,a.C4)(["accordion__content",{"accordion__content--truncated":e.isContentTruncated}]),"data-truncated":e.isContentTruncated?"true":"false",ref:"contentRef",role:"region","aria-labelledby":e.id+"-button"},[(0,n.RG)(e.$slots,"default")],10,ce),e.shouldShowMoreButton?((0,n.uX)(),(0,n.CE)("div",de,[(0,n.Lk)("button",{type:"button",class:"button button--secondary button--small accordion__show-more-button","aria-expanded":e.isContentExpanded,"aria-controls":e.id,onClick:t[1]||(t[1]=(...t)=>e.handleShowMore&&e.handleShowMore(...t)),onKeydown:t[2]||(t[2]=(...t)=>e.handleShowMoreKeydown&&e.handleShowMoreKeydown(...t))},(0,a.v_)(e.showMoreText),41,pe)])):(0,n.Q3)("",!0)],2)])}]]),ye=["href"],be=["src"],Ce={key:0,class:"brand__title"},ke=["href"],_e={key:1,class:"brand__content editorial"},fe={key:2,class:"brand__link"},we=["href"];const Le=(0,n.pM)({name:"Brand",props:{item:Object,linkText:String,showAsIcon:{type:Boolean,default:!1}}}),Pe=(0,ge.A)(Le,[["render",function(e,t,r,o,i,s){return e.item?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,a.C4)(["brand",{"brand--icon":e.showAsIcon}])},[e.item.link?((0,n.uX)(),(0,n.CE)("a",{key:0,class:"brand__link-image","aria-hidden":"true",href:e.item.link,tabindex:"-1"},[(0,n.Lk)("img",{class:"brand__image",src:e.item.imageUrl||"/UI/placeholder-product.
1svg",loading:"lazy",alt:"",width:"100",height:"50"},null,8,be)],8,ye)):(0,n.Q3)("",!0),e.showAsIcon?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[e.item.title?((0,n.uX)(),(0,n.CE)("h2",Ce,[(0,n.Lk)("a",{href:e.item.link,tabindex:"-1"},(0,a.v_)(e.item.title),9,ke)])):(0,n.Q3)("",!0),e.item.mainIntro?((0,n.uX)(),(0,n.CE)("p",_e,(0,a.v_)(e.item.mainIntro),1)):(0,n.Q3)("",!0),e.item.link&&e.item.title?((0,n.uX)(),(0,n.CE)("p",fe,[(0,n.Lk)("a",{class:"link button--arrow-right",href:e.item.link},[(0,n.Lk)("strong",null,(0,a.v_)(e.linkText)+" "+(0,a.v_)(e.item.title),1)],8,we)])):(0,n.Q3)("",!0)],64))],2)):(0,n.Q3)("",!0)}]]);var xe=r(6583);const Ee={key:0,class:"product-shipping-info__items","aria-label":"Shipping information"},Fe=["src"],Ie={class:"product-shipping-info__description"};const Se=(0,n.pM)({name:"ProductShippingInfo",props:{items:Array}}),Ne=(0,ge.A)(Se,[["render",function(e,t,r,o,i,s){return e.items?.length?((0,n.uX)(),(0,n.CE)("ul",Ee,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.items,(e=>((0,n.uX)(),(0,n.CE)("li",{key:`${e.imageUrl}-${e.description}`,class:"product-shipping-info__item"},[(0,n.Lk)("img",{class:"product-shipping-info__logo",src:e.imageUrl,alt:"",loading:"lazy"},null,8,Fe),(0,n.Lk)("p",Ie,(0,a.v_)(e.description),1)])))),128))])):(0,n.Q3)("",!0)}]]);var Ae=r(6455),Xe=r(9557),Te=r(4890),Qe=r(4120),Oe=r(1901),Me=r(2086),Re=r(4969),ze=r(7258),Be=r(9240),Ue=r(9901),je=r(7483),We=r(9635),$e=r(9590),Ke=r(8857),qe=r(3233),De=r(2124),He=r(9521),Ve=r(1304),Ze=r(5607),Ge=r(3165);const Ye=(0,n.pM)({name:"ProductContent",components:{ProductCampaignList:He.default,ProductCampaignDisplay:Be.default,ProductPrice:ne.default,ProductActions:ae.default,ProductQuantity:oe.default,ProductExtraFreightCosts:Ae.default,CustomerRating:Xe.default,ProductReviewSummary:Te.default,ProductVariants:Qe.default,ProductImages:Oe.default,ProductHeaderLabels:Me.default,DisplayCountry:Re.default,Icon:me.A,ProductAccordion:he,Brand:Pe,ProductHazard:xe.default,ProductShippingInfo:Ne,Alert:ze.default},mixins:[(0,te.m)()],props:{heading:String,buyAction:String,inventory:Object,conditions:Object,uniqueSellingPoints:Array,callToActions:Array,variants:Object,quantityTypes:Array,images:Array,mainImage:Object,productVariantsComponent:Object,productActionsComponent:Object,extraFreightCost:Object,extraFreightCostZones:Object,productHeaderPriceComponent:Object,productHeaderLabelsComponent:Object,productQuantityComponent:Object,relatedServices:Array,productImagesComponent:Object,culture:Object,ticket:String,productExtraFreightCostsComponent:Object,alertComponent:Object,requiresConsent:Boolean,isFinished:Boolean,customerRating:Object,bannerMessageText:String,sellKfp:Boolean,sellPall:Boolean,palletEditorialText:String,lang:Object,displayCountryComponent:Object,hasVariants:Boolean,oneSize:Boolean,productNumber:String,stopped:Boolean,storeOnly:Boolean,usPs:Array,ecolabels:Array,mainIntro:String,datePublished:String,dateModified:String,brandComponent:Object,productAccordions:Array,productHazards:Object,shippingInfo:Object,productCampaignList:Object,freeFreightLimit:Number,voyadoCategoryPath:String,parentCategories:Array,palletConversionFactor:Number,aiReviewSummary:String,plantAlerts:Object,productDetails:Object},setup(e){const t=(0,De.Pj)(),r=(0,re.KR)(!0),a=(0,re.KR)(e.productVariantsComponent?.initialVariantNumber||""),o=(0,re.KR)("productdetails"),i=(0,re.KR)(!1),s=(0,re.KR)(null),l=(0,re.KR)(0),u=(0,re.KR)(!1),c=(0,re.KR)(null),d=(0,re.KR)(!!e.productDetails&&(e.productDetails["Botaniskt namn"]||e.productDetails["Latinskt namn"])),p=(0,n.EW)((()=>t?(0,je.jA)(t)?.user?.activeRelation?.trim():void 0)),m=(0,n.EW)((()=>{const r=a.value?.trim();if(r)return r;const n=t?(0,Ue.Uo)(t)?.trim():void 0;if(n)return n;const o=e.productQuantityComponent?.initialVariantNumber?.trim();return o||void 0})),v=(0,n.EW)((()=>{if(t){if(m.value){const e=(0,$e.hj)(t)[m.value];if(e)return e}if(e.productNumber){const r=(0,$e.xy)(t)[e.productNumber];if(r)return r}return e.productQuantityComponent?.initialInventory??e.productActionsComponent?.initialInventory??e.inventory}})),g=(0,n.EW)((()=>!!e.productQuantityComponent?.isService&&!v.value?.availabilityInfo?.showPurchaseButton)),h=(0,n.EW)((()=>
1{if(!e.productNumber||!t)return null;const r=(0,We.RP)(t).filter((t=>t.productNumber===e.productNumber));return r.length?m.value?r.find((e=>e.variantNumber===m.value))??r[0]:r[0]:null})),y=(0,n.EW)((()=>{if(e.productExtraFreightCostsComponent||!e.freeFreightLimit)return!1;const t=h.value;if(!t)return!1;if((t.priceWithDiscount??t.price)<e.freeFreightLimit)return!1;const r=v.value?.availabilityInfo;return!!r?.showPurchaseButton&&[Ge.U.InventoryInStock,Ge.U.ForcedPurchaseButton].includes(r.availabilityStatus)})),b=(0,n.EW)((()=>{if(!e.palletEditorialText)return null;const t=v.value;return t&&t.availabilityInfo?.showPurchaseButton?e.palletConversionFactor&&e.palletConversionFactor>0&&t.maxOrderableQuantity<e.palletConversionFactor?null:e.palletEditorialText:null})),C=e=>{const t=document.querySelector(`button[aria-controls="${e}"]`);if(!t)return;s.value&&(s.value.disconnect(),s.value=null);const r=window.matchMedia("(min-width: 1280px)").matches?120:96;s.value=new IntersectionObserver((e=>{const t=e[0];if(!t)return;const n=t.boundingClientRect;if(n.top<r||!t.isIntersecting){const e=window.scrollY+n.top-r;window.scrollTo({top:e,behavior:"smooth"})}s.value&&(s.value.disconnect(),s.value=null)}),{rootMargin:`-${r}px 0px 0px 0px`,threshold:[0,1]}),s.value.observe(t)},k=()=>{null!==c.value&&(window.clearTimeout(c.value),c.value=null)};return(0,n.sV)((()=>{if((()=>{if(!e.productNumber)return;const t=window.testFreaks||[];t.push(["setProductId",[e.productNumber,...Object.values(e.variants??{}).flatMap((e=>e.map((e=>e.code||""))))]]),t.push(["setAggregateRatingSchema","json-ld",e.productNumber]),t.push(["load",["badge","reviews","qa"]]),t.push(["setAnalytics","dataLayer"]),window.testFreaks=t})(),(0,n.dY)((()=>{if(!e.productNumber)return;const r=document.createElement("script");r.src="//cdn.pji.nu/b2b/widgets/cheapest/index.js",r.defer=!0,document.body.appendChild(r),e.productNumber&&t&&(0,Ue.gT)(t,{productNumber:e.productNumber??"",variantNumber:""})})),(()=>{if(!e.productNumber)return;const t=document.createElement("script");t.src="//api.videoly.co/1/quchbox/0/620/quch.js",t.defer=!0,document.body.appendChild(t)})(),(async()=>{if(e.productNumber)try{const t=await fetch(`https://js.testfreaks.com/onpage/granngarden.se/reviews.json?key=${e.productNumber}`),r=await t.json();l.value=r.your_question_count||0}catch(e){console.warn("Failed to fetch TestFreaks question count:",e)}})(),i.value=!0,e.productNumber){const t={eventType:"detail-page-view",productDetails:[{product:{id:"p_"+e.productNumber}}]},r=qe.F.getAttributionFromUrl();r&&(t.attributionToken=r);try{qe.F.trackRetailEvent(t)}catch(e){console.error("Failed to track detail-page-view:",e)}const n=e.voyadoCategoryPath?.trim();if(!n)return void console.error("[Voyado] Missing voyadoCategoryPath - skipping productview",{itemId:e.productNumber});(0,Ve.Uw)({itemId:e.productNumber,locale:"sv-SE",categoryName:n,contactId:p.value||void 0})}})),(0,n.hi)((()=>{k(),s.value&&(s.value.disconnect(),s.value=null)})),{AlertComponentType:Ze.M,isNonBuyableService:g,handleExpandUsps:()=>r.value=!r.value,showOverlay:r,activeVariantNumber:a,hasFreeShippingAlert:y,handleOpenReviews:e=>{e.preventDefault(),o.value="reviews",C("reviews")},handleCopyProductNumber:()=>{e.productNumber&&(0,Ke.eM)(e.productNumber,(()=>{u.value=!0,k(),c.value=window.setTimeout((()=>{u.value=!1,c.value=null}),2e3)}))},showCopyFeedback:u,openAccordionId:o,handleToggle:e=>{const t=null!==o.value;o.value===e?o.value=null:(o.value=e,t&&C(e))},isMounted:i,questionCount:l,palletAlertMessage:b,plantAlerts:e.plantAlerts,latinName:d}}}),Je=(0,ge.A)(Ye,[["render",function(e,t,r,te,re,ne){const ae=(0,n.g2)("customer-rating"),oe=(0,n.g2)("brand"),ie=(0,n.g2)("product-price"),se=(0,n.g2)("product-variants"),le=(0,n.g2)("product-quantity"),ue=(0,n.g2)("Alert"),ce=(0,n.g2)("product-actions"),de=(0,n.g2)("product-review-summary"),pe=(0,n.g2)("product-shipping-info"),me=(0,n.g2)("ProductCampaignList"),ve=(0,n.g2)("display-country"),ge=(0,n.g2)("product-extra-freight-costs"),he=(0,n.g2)("product-images"),ye=(0,n.g2)("product-header-labels"),be=(0,n.g2)("icon"),Ce=(0,n.g2)("product-hazard"),ke=(0,n.g2)("product-accordion");return(0,n.uX)(),(0,n.CE)("div",i,[(0,n.Lk)("div",s,[(0,n.Lk)("div",l,[e.heading?((0,n.uX)(),(0,n.CE)("h1",u,(0,a.v_)(e.heading),
11)):(0,n.Q3)("",!0),e.latinName?((0,n.uX)(),(0,n.CE)("div",c,(0,a.v_)(e.latinName),1)):(0,n.Q3)("",!0),e.customerRating&&e.customerRating.avgCustomerScore&&e.customerRating.avgCustomerScore>0?((0,n.uX)(),(0,n.CE)("div",d,[(0,n.bF)(ae,{lang:e.lang,"review-count":e.customerRating.reviewCount,"show-x-of-y":"visible","avg-customer-score":e.customerRating.avgCustomerScore,"product-number":e.productNumber},null,8,["lang","review-count","avg-customer-score","product-number"]),(0,n.Lk)("a",{onClick:t[0]||(t[0]=(...t)=>e.handleOpenReviews&&e.handleOpenReviews(...t)),class:"product-content__review-scroll-link",href:"#reviews-button"},[(0,n.Lk)("span",p,(0,a.v_)(e.translate("scrollToReviews")),1)])])):(0,n.Q3)("",!0),e.isMounted&&e.brandComponent&&e.brandComponent.link&&e.brandComponent.imageUrl?((0,n.uX)(),(0,n.CE)("div",m,[(0,n.bF)(oe,{linkText:e.translate("seeMoreProductsFrom"),item:e.brandComponent,showAsIcon:!0},null,8,["linkText","item"])])):(0,n.Q3)("",!0),!e.isFinished&&e.productHeaderPriceComponent?((0,n.uX)(),(0,n.CE)("div",v,[(0,n.bF)(ie,(0,a._B)((0,n.Ng)(e.productHeaderPriceComponent)),null,16)])):(0,n.Q3)("",!0),e.productNumber?((0,n.uX)(),(0,n.CE)("div",{key:5,class:"prisjakt_cheapest","data-shop":"7562","data-product":e.productNumber,"data-market":"SE","data-format":"small4"},null,8,g)):(0,n.Q3)("",!0)]),e.buyAction&&!e.isNonBuyableService?((0,n.uX)(),(0,n.CE)("form",h,[!e.hasVariants||e.stopped&&!e.storeOnly?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",y,[(0,n.bF)(se,(0,n.v6)({"onUpdate:activeVariantNumber":t[1]||(t[1]=t=>e.activeVariantNumber=t)},e.productVariantsComponent),null,16)])),e.stopped&&e.storeOnly||!e.productQuantityComponent?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(le,(0,n.v6)({key:1,"active-variant-number":e.activeVariantNumber},e.productQuantityComponent),null,16,["active-variant-number"]))])):(0,n.Q3)("",!0),(0,n.Lk)("div",null,[e.palletAlertMessage?((0,n.uX)(),(0,n.Wv)(ue,{key:0,lang:e.lang?e.lang.alert:void 0,showIcon:!0,message:e.palletAlertMessage,isClosable:!1,outline:!1,type:e.AlertComponentType.Pall},null,8,["lang","message","type"])):(0,n.Q3)("",!0)]),e.productActionsComponent?((0,n.uX)(),(0,n.Wv)(ce,(0,a._B)((0,n.v6)({key:1},e.productActionsComponent)),null,16)):(0,n.Q3)("",!0),e.hasFreeShippingAlert?((0,n.uX)(),(0,n.Wv)(ue,{key:2,lang:e.lang?e.lang.alert:void 0,type:e.AlertComponentType.Freight,message:e.translate("productFreeShippingMessage"),isClosable:!0,outline:!1},null,8,["lang","type","message"])):(0,n.Q3)("",!0),(0,n.Lk)("div",b,[e.productNumber&&e.aiReviewSummary?((0,n.uX)(),(0,n.Wv)(de,{key:0,"product-number":e.productNumber,"customer-rating":e.customerRating,"summary-text":e.aiReviewSummary,lang:e.lang},null,8,["product-number","customer-rating","summary-text","lang"])):(0,n.Q3)("",!0)]),e.uniqueSellingPoints&&e.uniqueSellingPoints.length>0?((0,n.uX)(),(0,n.CE)("ul",C,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.uniqueSellingPoints,(e=>((0,n.uX)(),(0,n.CE)("li",{class:"product-content__usp",key:e},[(0,n.Lk)("span",null,(0,a.v_)(e),1)])))),128))])):(0,n.Q3)("",!0),e.productNumber?((0,n.uX)(),(0,n.CE)("div",k,[(0,n.Lk)("button",{type:"button",class:"product-content__art-number-button","aria-label":e.translate("copyToClipboard"),onClick:t[2]||(t[2]=(0,o.D$)(((...t)=>e.handleCopyProductNumber&&e.handleCopyProductNumber(...t)),["prevent"]))},[(0,n.Lk)("strong",null,(0,a.v_)(e.translate("number")),1),(0,n.Lk)("span",null,(0,a.v_)(e.productNumber),1)],8,_),e.showCopyFeedback?((0,n.uX)(),(0,n.CE)("span",f,(0,a.v_)(e.translate("copiedToClipboard")),1)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),e.mainIntro?((0,n.uX)(),(0,n.CE)("article",w,[(0,n.Lk)("p",null,(0,a.v_)(e.mainIntro),1)])):(0,n.Q3)("",!0),e.datePublished&&e.dateModified?((0,n.uX)(),(0,n.CE)("p",L,[(0,n.Lk)("span",null,[(0,n.eW)((0,a.v_)(`${e.translate("dateModified")} `),1),(0,n.Lk)("time",{datetime:e.dateModified},(0,a.v_)(e.dateModified),9,P)]),(0,n.Lk)("span",null,[(0,n.eW)((0,a.v_)(` | ${e.translate("datePublished")} `),1),(0,n.Lk)("time",{datetime:e.datePublished},(0,a.v_)(e.datePublished),9,x)]),(0,n.Lk)("span",null,(0,a.v_)(` | ${e.translate("publishedBy")}`),1)])):(0,n.Q3)("",!0),e.usPs&&e.usPs.length?((0,n.uX)(),(0,n.CE)("ul",E,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.usPs,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e},(0,a.v_)(e),1)))),128))])):(0,n.Q3)("",!0),e.parentCategories?.length?((0,n.uX)(),(0,n.CE)("div",F,[(0,n.Lk)("strong",null,(0,a.v_)(e.translate("parentCategory")),1),(0,n.Lk)("ul",I,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.parentCategories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.name},[(0,n.Lk)("a",{class:"link link--no-underline product-content__parent-category-link",href:e.url},(0,a.v_)(e.name),9,S)])))),128))])])):(0,n.Q3)("",!0),e.shippingInfo?.enableShippingInfoItems&&e.shippingInfo?.items?.length?((0,n.uX)(),(0,n.CE)("div",N,[(0,n.bF)(pe,{items:e.shippingInfo.items},null,8,["items"])])):(0,n.Q3)("",!0),e.productCampaignList&&e.productCampaignList.initialCampaigns&&e.productCampaignList.initialCampaigns.length>0?((0,n.uX)(),(0,n.Wv)(me,{key:10,"api-url":e.productCampaignList.apiUrl,product:e.productCampaignList.product,"sales-phone-number":e.productCampaignList.salesPhoneNumber,"initial-campaigns":e.productCampaignList.initialCampaigns,lang:e.productCampaignList.lang,"product-number":e.productCampaignList.productNumber},null,8,["api-url","product","sales-phone-number","initial-campaigns","lang","product-number"])):(0,n.Q3)("",!0),e.ecolabels&&e.ecolabels.length>0||e.displayCountryComponent?((0,n.uX)(),(0,n.CE)("div",A,[e.ecolabels?((0,n.uX)(),(0,n.CE)("ul",X,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.ecolabels,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e},[(0,n.Lk)("img",{alt:e,class:"product-content__eco-image",src:`/UI/Icons/EcoLabels/${e}`,loading:"lazy",height:"52",width:"52"},null,8,T)])))),128))])):(0,n.Q3)("",!0),e.displayCountryComponent?((0,n.uX)(),(0,n.Wv)(ve,(0,a._B)((0,n.v6)({key:1},e.displayCountryComponent)),null,16)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),e.alertComponent?((0,n.uX)(),(0,n.Wv)(ue,{key:12,showIcon:e.alertComponent.showIcon,lang:e.lang,message:e.alertComponent.message,isClosable:e.alertComponent.isClosable,outline:e.alertComponent.outline,type:e.alertComponent.type},null,8,["showIcon","lang","message","isClosable","outline","type"])):(0,n.Q3)("",!0),e.productExtraFreightCostsComponent?((0,n.uX)(),(0,n.Wv)(ge,(0,a._B)((0,n.v6)({key:13},e.productExtraFreightCostsComponent)),null,16)):(0,n.Q3)("",!0),e.isMounted&&e.brandComponent&&e.brandComponent.link?((0,n.uX)(),(0,n.CE)("a",{key:14,href:e.brandComponent?.link,class:"link product-content__brand-link button--arrow-right"},(0,a.v_)(e.translate("seeMoreProductsFrom"))+" "+(0,a.v_)(e.brandComponent.title),9,Q)):(0,n.Q3)("",!0)]),e.productImagesComponent?((0,n.uX)(),(0,n.CE)("div",O,[(0,n.bF)(he,(0,a._B)((0,n.Ng)(e.productImagesComponent)),null,16),e.productHeaderLabelsComponent?((0,n.uX)(),(0,n.CE)("div",M,[(0,n.bF)(ye,(0,a._B)((0,n.Ng)(e.productHeaderLabelsComponent)),null,16)])):(0,n.Q3)("",!0),e.isMounted&&e.brandComponent&&e.brandComponent.link&&e.brandComponent.imageUrl?((0,n.uX)(),(0,n.CE)("div",R,[(0,n.bF)(oe,{linkText:e.translate("seeMoreProductsFrom"),item:e.brandComponent,showAsIcon:!0},null,8,["linkText","item"])])):(0,n.Q3)("",!0),(0,n.Lk)("div",z,[e.productNumber&&e.aiReviewSummary?((0,n.uX)(),(0,n.Wv)(de,{key:0,"product-number":e.productNumber,"customer-rating":e.customerRating,"summary-text":e.aiReviewSummary,lang:e.lang},null,8,["product-number","customer-rating","summary-text","lang"])):(0,n.Q3)("",!0)])])):(0,n.Q3)("",!0),(0,n.Lk)("div",B,[e.plantAlerts?.hasImageInfo&&e.plantAlerts?.hasCutInfo&&!e.plantAlerts?.hasRootInfo?((0,n.uX)(),(0,n.Wv)(ue,{key:0,lang:e.lang?e.lang.alert:void 0,type:e.AlertComponentType.Info,message:e.translate("plantCutInfoMessage"),isClosable:!1,outline:!1,showIcon:!0},null,8,["lang","type","message"])):(0,n.Q3)("",!0),e.plantAlerts?.hasImageInfo&&e.plantAlerts?.hasRootInfo&&!e.plantAlerts?.hasCutInfo?((0,n.uX)(),(0,n.Wv)(ue,{key:1,lang:e.lang?e.lang.alert:void 0,type:e.AlertComponentType.Info,message:e.translate("plantRootInfoMessage"),isClosable:!1,outline:!1,showIcon:!0},null,8,["lang","type","message"])):(0,n.Q3)("",!0),e.plantAlerts?.hasImageInfo?((0,n.uX)(),(0,n.Wv)(ue,{key:2,lang:e.lang?e.lang.alert:void 0,type:e.AlertComponentType.Info,message:e.translate("plantImageInfoMessage"),isClosable:!1,outline:!1,showIcon:!0},null,8,["lang","type","message"])):(0,n.Q3)("",!0),e.productAccordions?((0,n.uX)(),(0,n.CE)("div",U,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.productAccordions,(r=>((0,n.uX)(),(0,n.Wv)(ke,{key:r.identifier,id:r.identifier,"is-open":e.openAccordionId===r.identifier,onToggle:t=>e.handleToggle(r.identifier),title:r.title,showMoreText:e.translate("seeMore"),enableShowMore:"productdetails"===r.identifier,count:"qa"===r.identifier?e.questionCount:void 0},(0,n.eX)({default:(0,n.k6)((()=>[r.content?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,a.C4)({editorial:"productdetails"===r.identifier}),innerHTML:r.content},null,10,j)):(0,n.Q3)("",!0),"documents"===r.identifier&&(r.additionalContent.length>0||e.productHazards)?((0,n.uX)(),(0,n.CE)("div",W,[(0,n.Lk)("ul",$,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.additionalContent,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.fileTitle,class:"product-content__document-item"},[(0,n.bF)(be,{height:"24",width:"20",icon:"document"}),(0,n.Lk)("a",{class:"document filedownload pdf",target:"_blank",href:e.fileUrl}
1,(0,a.v_)(e.fileTitle)+" "+(0,a.v_)(e.fileSize),9,K)])))),128))]),e.productHazards&&e.productHazards.productNumber?((0,n.uX)(),(0,n.Wv)(Ce,{key:0,heading:e.productHazards.title,"product-code":e.productHazards.productNumber},null,8,["heading","product-code"])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),"qa"===r.identifier?((0,n.uX)(),(0,n.CE)("div",q)):(0,n.Q3)("",!0),"reviews"===r.identifier?((0,n.uX)(),(0,n.CE)(n.FK,{key:3},[(0,n.Lk)("p",D,[(e.translate("reviewPolicyIntroText")||"").trim()?((0,n.uX)(),(0,n.CE)("span",H,(0,a.v_)(e.translate("reviewPolicyIntroText")),1)):(0,n.Q3)("",!0),(e.translate("reviewPolicyLinkIntro")||"").trim()?((0,n.uX)(),(0,n.CE)("span",V,(0,a.v_)(e.translate("reviewPolicyLinkIntro")),1)):(0,n.Q3)("",!0),(e.translate("reviewPolicyLinkText")||"").trim()&&(e.translate("reviewPolicyUrl")||"").trim()?((0,n.uX)(),(0,n.CE)("a",{key:2,class:"link product-content__review-link",href:(e.translate("reviewPolicyUrl")||"").trim()},(0,a.v_)(e.translate("reviewPolicyLinkText")),9,Z)):(0,n.Q3)("",!0)]),t[3]||(t[3]=(0,n.Lk)("div",{id:"testfreaks-reviews"},null,-1))],64)):(0,n.Q3)("",!0),"brand"===r.identifier&&r.additionalContent?((0,n.uX)(),(0,n.Wv)(oe,{key:4,linkText:e.translate("seeMoreProductsFrom"),item:r.additionalContent},null,8,["linkText","item"])):(0,n.Q3)("",!0)])),_:2},[e.customerRating&&"reviews"===r.identifier?{name:"reviews",fn:(0,n.k6)((()=>[(0,n.bF)(ae,{id:"reviews-in-accordion",lang:e.lang,"review-count":e.customerRating.reviewCount,avgCustomerScore:e.customerRating.avgCustomerScore,productNumber:e.productNumber,"show-x-of-y":"hidden"},null,8,["lang","review-count","avgCustomerScore","productNumber"])])),key:"0"}:void 0]),1032,["id","is-open","onToggle","title","showMoreText","enableShowMore","count"])))),128))])):(0,n.Q3)("",!0),e.productNumber&&e.isMounted?((0,n.uX)(),(0,n.CE)("div",G,[(0,n.Lk)("div",Y,(0,a.v_)(e.heading),1),(0,n.Lk)("div",J,(0,a.v_)(e.productNumber),1),(0,n.Lk)("div",ee,(0,a.v_)(e.productNumber),1),t[4]||(t[4]=(0,n.Lk)("div",{id:"videoly-videobox-placeholder"},null,-1))])):(0,n.Q3)("",!0)])])}]])},6455:(e,t,r)=>{r.r(t),r.d(t,{default:()=>C});var n=r(641),a=r(33);const o={key:0},i={class:"product-content__alert alert alert--warning"},s={class:"alert__icon"},l={class:"product-content__alert-message alert__message"};var u=r(3363),c=r(4324),d=r(7985),p=r(5052),m=r(5094),v=r(9590),g=r(3165),h=r(953),y=r(2124);const b=(0,n.pM)({name:"ProductExtraFreightCosts",mixins:[(0,c.m)()],components:{Icon:p.A,ProductExtraFreightCostsModal:u.A},props:{apiUrl:String,productNumber:String,initialExtraFreightCost:Object,extraFreightCostZones:Object,orderItem:Boolean},setup(e){const t=(0,y.Pj)(),r=(0,h.KR)(null),a=(0,h.KR)(!1),o=(0,h.KR)(null),i=(0,n.EW)((()=>o.value??e.initialExtraFreightCost)),s=(0,n.EW)((()=>e.productNumber&&t&&(0,v.xy)(t)[e.productNumber]||null)),l=(0,n.EW)((()=>!!s.value&&s.value?.availabilityInfo?.availabilityStatus===g.U.StoreOnly));return(0,n.sV)((()=>{e.apiUrl&&!e.initialExtraFreightCost&&(async()=>{if(e.apiUrl&&e.productNumber){r.value?.abort();try{r.value=new AbortController;const t=await d.A.get(e.apiUrl,{query:{productNumbers:e.productNumber},signal:r.value?.signal}),n=await t.json();r.value=null,o.value=n.extraFreightCost?.[e.productNumber]}catch(e){m.z(e)}finally{r.value=null}}})()})),{inventory:s,extraFreightCost:i,storeOnly:l,isOpen:a,response:o}}});const C=(0,r(6262).A)(b,[["render",function(e,t,r,u,c,d){const p=(0,n.g2)("Icon"),m=(0,n.g2)("ProductExtraFreightCostsModal");return e.storeOnly?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",o,[(0,n.Lk)("div",i,[(0,n.Lk)("div",s,[(0,n.bF)(p,{icon:"warning"})]),(0,n.Lk)("div",l,[(0,n.Lk)("button",{class:"link link--underline",type:"button",onClick:t[0]||(t[0]=t=>e.isOpen=!0)},(0,a.v_)(e.translate(e.orderItem?"orderItemProductHasExtraFreightCosts":"productHasExtraFreightCosts")),1)])]),e.isOpen?((0,n.uX)(),(0,n.Wv)(m,{key:0,onClose:t[1]||(t[1]=t=>e.isOpen=!1),"extra-freight-cost":e.extraFreightCost,"extra-freight-cost-zones":e.extraFreightCostZones,lang:e.translate("modal")},null,8,["extra-freight-cost","extra-freight-cost-zones","lang"])):(0,n.Q3)("",!0)]))}]])},3363:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(641),a=r(33),o=r(3751);const i={class:"product-header__extra-freight-costs"},s={class:"table"},l={key:0},u={key:0},c={key:1,class:"vat-text"};var d=r(6978),p=r(4324);
1const m=(0,n.pM)({name:"ProductExtraFreightCostsModal",mixins:[(0,p.m)()],components:{Modal:d.A},props:{extraFreightCost:Object,extraFreightCostZones:Object},computed:{vatText(){const{translate:e,extraFreightCost:t}=this;if(t)return[e("pricesAreShown"),e(t.includeTax?"inclVAT":"exclVAT")].join(" ")}}});const v=(0,r(6262).A)(m,[["render",function(e,t,r,d,p,m){const v=(0,n.g2)("Modal");return(0,n.uX)(),(0,n.Wv)(v,{popup:"",title:e.translate("extraFreightCosts"),lang:e.translate("modal"),onClose:t[1]||(t[1]=t=>e.$emit("close"))},{default:(0,n.k6)((()=>[(0,n.Lk)("div",i,[(0,n.Lk)("p",null,(0,a.v_)(e.translate("extraFreightCostZoneDescription")),1),(0,n.Lk)("table",s,[(0,n.Lk)("thead",null,[(0,n.Lk)("tr",null,[(0,n.Lk)("th",null,(0,a.v_)(e.translate("zone")),1),(0,n.Lk)("th",null,(0,a.v_)(e.translate("zipCode")),1),(0,n.Lk)("th",null,(0,a.v_)(e.translate("price")),1)])]),e.extraFreightCost&&e.extraFreightCostZones?((0,n.uX)(),(0,n.CE)("tbody",l,[(0,n.Lk)("tr",null,[t[2]||(t[2]=(0,n.Lk)("td",null,"1",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneOne),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneOne),1)]),(0,n.Lk)("tr",null,[t[3]||(t[3]=(0,n.Lk)("td",null,"2",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneTwo),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneTwo),1)]),(0,n.Lk)("tr",null,[t[4]||(t[4]=(0,n.Lk)("td",null,"3",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneThree),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneThree),1)]),(0,n.Lk)("tr",null,[t[5]||(t[5]=(0,n.Lk)("td",null,"4",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneFour),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneFour),1)]),(0,n.Lk)("tr",null,[t[6]||(t[6]=(0,n.Lk)("td",null,"5",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneFive),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneFive),1)]),(0,n.Lk)("tr",null,[t[7]||(t[7]=(0,n.Lk)("td",null,"6",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneSix),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneSix),1)]),(0,n.Lk)("tr",null,[t[8]||(t[8]=(0,n.Lk)("td",null,"7",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneSeven),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneSeven),1)]),(0,n.Lk)("tr",null,[t[9]||(t[9]=(0,n.Lk)("td",null,"8",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneEight),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneEight),1)]),(0,n.Lk)("tr",null,[t[10]||(t[10]=(0,n.Lk)("td",null,"9",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneNine),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneNine),1)]),(0,n.Lk)("tr",null,[t[11]||(t[11]=(0,n.Lk)("td",null,"10",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneTen),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneTen),1)]),(0,n.Lk)("tr",null,[t[12]||(t[12]=(0,n.Lk)("td",null,"11",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneEleven),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneEleven),1)]),(0,n.Lk)("tr",null,[t[13]||(t[13]=(0,n.Lk)("td",null,"12",-1)),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCostZones.zoneTwelve),1),(0,n.Lk)("td",null,(0,a.v_)(e.extraFreightCost.zoneTwelve),1)])])):(0,n.Q3)("",!0)]),e.extraFreightCost?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("p",u,t[14]||(t[14]=[(0,n.Lk)("img",{class:"loading",src:"/UI/Icons/loading.svg",alt:""},null,-1)]))),e.vatText?((0,n.uX)(),(0,n.CE)("p",c,(0,a.v_)(e.vatText),1)):(0,n.Q3)("",!0),(0,n.Lk)("p",null,[(0,n.eW)((0,a.v_)(e.translate("onlyOneAddedFreightCostPerOrder")),1),t[15]||(t[15]=(0,n.Lk)("br",null,null,-1)),(0,n.eW)(" "+(0,a.v_)(e.translate("addedFreightCostsAlsoAppliesToFreeFreights")),1)])]),(0,n.Lk)("button",{onClick:t[0]||(t[0]=(0,o.D$)((t=>e.$emit("close")),["prevent"])),class:"button button--primary",type:"button"},(0,a.v_)(e.translate("modal","ok")),1)])),_:1},8,["title","lang"])}],["__scopeId","data-v-7e80c197"]])},6583:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(641),a=r(33);const o={key:0,class:"product-hazard"},i={class:"product-hazard__heading"},s={key:0,class:"product-hazard__images"},l=["src"];var u=r(7985);
1const c=(0,n.pM)({name:"ProductHazard",props:{productCode:String,heading:String},data:()=>({hazard:{},fetching:!0}),computed:{fetched(){return!this.fetching&&null!==this.hazard}},methods:{async loadHazard(){const e=`/api/ecoOnline/${this.productCode}`,t=await u.A.get(e);if(204===t.status)return;const r=await t.json();r&&(this.hazard=r,this.fetching=!1)}},mounted(){this.loadHazard()}});const d=(0,r(6262).A)(c,[["render",function(e,t,r,u,c,d){return e.fetched&&e.hazard.pictogramUrls?((0,n.uX)(),(0,n.CE)("div",o,[(0,n.Lk)("strong",i,(0,a.v_)(e.heading)+":",1),(0,n.Lk)("p",null,(0,a.v_)(e.hazard.hazardStatement),1),e.hazard.pictogramUrls?((0,n.uX)(),(0,n.CE)("ul",s,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.hazard.pictogramUrls,((e,t)=>((0,n.uX)(),(0,n.CE)("li",{key:`i-${t}`},[(0,n.Lk)("img",{src:e,alt:"",height:"60",width:"60"},null,8,l)])))),128))])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)}],["__scopeId","data-v-60311736"]])},2086:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var n=r(641);const a={class:"product-content-campaigns"};var o=r(63),i=r(4324),s=r(7541),l=r(113),u=r(3165),c=r(2908),d=r(9901),p=r(5849);const m=(0,n.pM)({name:"ProductHeaderLabels",mixins:[s.B,(0,i.m)(),l.H],components:{ProductLabel:o.default},props:{initialCampaigns:{type:Array,default:()=>[]},productNumber:String,variants:Array,isNew:Boolean,bannerMessageText:String,isOnlyBuyableInStores:{type:Boolean,default:!1},isBuyableOnline:{type:Boolean,default:!1},isLagerstyrt:{type:Boolean,default:!1},isExpiring:{type:Boolean,default:!1}},computed:{isOnlyAvailableOnline(){return(0,p.M)(this.productInventory.value?.webInventoryStatus,this.productInventory.value?.storeInventoryStatus,this.isBuyableOnline,this.isLagerstyrt)},showWebInventoryStatus(){return this.productInventory.value?.availabilityInfo.showWebInventoryStatus??!1},code(){const{$store:e,variants:t,productNumber:r}=this;return e?t?.length?(0,d.Uo)(e):r:null},campaigns(){return this.variantCampaigns??this.initialCampaigns??[]},productStatus(){const{productInventory:e}=this;if(!e.value)return"loading";switch(e.value.availabilityInfo.availabilityStatus){case u.U.ContactSales:return"none";case u.U.StoreOnly:return"store-only";case u.U.InventoryNotInStock:return"not-in-stock";case u.U.ForcedPurchaseButton:return"in-stock"}const{showStoreInventoryStatus:t,showWebInventoryStatus:r}=e.value.availabilityInfo;if(!r&&!t)return"none";let n=null;return n=r?e.value.webInventoryStatus:e.value.storeInventoryStatus,n===c.R.NotInStock?"not-in-stock":n===c.R.FewInStock?"few-in-stock":"in-stock"}}});const v=(0,r(6262).A)(m,[["render",function(e,t,r,o,i,s){const l=(0,n.g2)("product-label");return(0,n.uX)(),(0,n.CE)("div",a,[(0,n.bF)(l,{"initial-campaigns":e.campaigns,"is-only-available-online":e.isOnlyAvailableOnline,"is-only-buyable-in-stores":e.isOnlyBuyableInStores,"product-number":e.code??"",lang:e.translate("productLabel"),"is-new":e.isNew,"banner-message-text":e.bannerMessageText,"is-expiring":e.isExpiring},null,8,["initial-campaigns","is-only-available-online","is-only-buyable-in-stores","product-number","lang","is-new","banner-message-text","is-expiring"])])}]])},617:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var n=r(641),a=r(33);const o={class:"product-price__price"},i={key:0,class:"product-price__current-price product-price__current-price--is-fetching"},s={class:"text--placeholder"},l={class:"text--placeholder"},u={key:1,class:"product-price__price-failed"},c={key:0,class:"product-price__trade-agreement"},d={key:0,class:"product-price__price-info product-price__price-info--excl-vat text--small"},p={key:2,class:"price-valid-until"},m={key:3,class:"product-price__best-price-last-30-text"},v={class:"product-price__best-price-last-30-formatted"},g={key:4,class:"product-price__price-info product-price__price-info--pallet-wrapper text--small"};var h,y=r(4324),b=r(5052),C=r(1229),k=r(9635),_=r(9901),f=r(9590),w=r(7483);!function(e){e[e.B2C=0]="B2C",e[e.B2B=1]="B2B"}(h||(h={}));const L=(0,n.pM)({name:"ProductPrice",mixins:[C.m,(0,y.m)()],components:{Icon:b.A},props:{conversionUnit:String,factorPrice:Number,locale:String,servicePriceUnitText:String,variantFactorPrice
1s:{type:Object,default:null}},computed:{variant(){return this.$store&&(0,_.Uo)(this.$store)},effectiveFactorPrice(){const{factorPrice:e}=this;if(!e)return null;if(this.variant&&this.variantFactorPrices){const e=this.variantFactorPrices[this.variant];if(e>0)return e}return e},isPricePerUnitSameAsPricePerPiece(){const{conversionUnit:e,effectiveFactorPrice:t}=this;return e&&t?"st"===e.toLowerCase()&&1===t:null},pricePrUnit(){const{conversionUnit:e,effectiveFactorPrice:t,productPrice:r,translateFormat:n}=this;if(!e||!t||!r.value)return null;return n([new Intl.NumberFormat(this.locale??"no").format(Math.round(r.value.priceWithDiscount/t*100)/100),e],"pricePrUnit")},inventory(){if(this.$store&&!this.productNumber)return(0,f.wj)(this.$store)(this.productNumber)},userState(){if(this.$store)return(0,w.jA)(this.$store)},isB2BUser(){const e=this.userState?.user?.activeRelation,t=this.userState?.user?.relations;return!(!t||!e)&&t.some((t=>t.customerId===e&&t.customerType===h.B2B))},formattedValidUntil(){if(!this.productPrice.value?.validTo)return null;try{const e=new Date(this.productPrice.value.validTo);if(isNaN(e.getTime()))return null;const t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0");return`${t}-${r}-${String(e.getDate()).padStart(2,"0")}`}catch{return null}}},watch:{variant(){this.productVariantNumber=this.variant||this.productNumber||""}},mounted(){this.$store&&this.productNumber&&(0,k.Ro)(this.$store,[this.productNumber]),this.variant&&(this.productVariantNumber=this.variant)}});const P=(0,r(6262).A)(L,[["render",function(e,t,r,h,y,b){const C=(0,n.g2)("icon");return(0,n.uX)(),(0,n.CE)("div",o,[e.productPrice.isFetching?((0,n.uX)(),(0,n.CE)("p",i,[(0,n.Lk)("strong",s,(0,a.v_)(e.translate("fetching")),1),(0,n.Lk)("span",l,(0,a.v_)(e.translate("price")),1)])):(0,n.Q3)("",!0),e.productPrice.hasFailed?((0,n.uX)(),(0,n.CE)("p",u,[(0,n.Lk)("span",null,(0,a.v_)(e.translate("failedMessage")),1),(0,n.bF)(C,{icon:"alert"})])):(0,n.Q3)("",!0),e.productPrice.value?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[e.productPrice.value.isTradeAgreementPrice?((0,n.uX)(),(0,n.CE)("p",c,[(0,n.Lk)("strong",null,(0,a.v_)(e.translate("tradeAgreementPrice")),1)])):(0,n.Q3)("",!0),e.productPrice.value.isTradeAgreementPrice?((0,n.uX)(),(0,n.CE)("p",{key:1,class:"product-price__original-price",ref:"regularPriceLabel"},(0,a.v_)(e.translate("regularPrice"))+" "+(0,a.v_)(e.productPrice.value.formattedPrice),513)):(0,n.Q3)("",!0),(0,n.Lk)("p",{class:(0,a.C4)(["product-price__current-price",{"product-price__current-price--trade-agreement":e.productPrice.value.isTradeAgreementPrice,"product-price__current-price--original":!e.productPrice.value.isTradeAgreementPrice&&!e.productPrice.value.discountAmount,"product-price__current-price--discounted":!e.productPrice.value.isTradeAgreementPrice&&e.productPrice.value.discountAmount}])},[(0,n.Lk)("strong",null,[(0,n.eW)((0,a.v_)(e.productPrice.value.formattedPriceWithDiscount)+" ",1),e.servicePriceUnitText?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.eW)(" /"+(0,a.v_)(e.servicePriceUnitText),1)],64)):(0,n.Q3)("",!0)]),e.productPrice.value.priceIncludesTax&&e.productPrice.value.formattedPriceExTax?((0,n.uX)(),(0,n.CE)("small",d,(0,a.v_)(e.productPrice.value.formattedPriceExTax)+" "+(0,a.v_)(e.translate("exclVAT")),1)):(0,n.Q3)("",!0)],2),e.formattedValidUntil&&e.productPrice.value.discountAmount>0?((0,n.uX)(),(0,n.CE)("span",p,(0,a.v_)(e.translateFormat([e.formattedValidUntil],"validUntil")),1)):(0,n.Q3)("",!0),e.productPrice.value.formattedBestPriceLast30Days&&e.productPrice.value.bestPriceLast30Days>0&&e.productPrice.value.discountAmount>0&&!e.isB2BUser?((0,n.uX)(),(0,n.CE)("p",m,[(0,n.eW)((0,a.v_)(e.translate("bestPriceLast30Days"))+" ",1),(0,n.Lk)("span",v,(0,a.v_)(e.productPrice.value.formattedBestPriceLast30Days),1)])):(0,n.Q3)("",!0),e.pricePrUnit&&!e.isPricePerUnitSameAsPricePerPiece?((0,n.uX)(),(0,n.CE)("small",g,(0,a.v_)(e.pricePrUnit),1)):(0,n.Q3)("",!0)],64)):(0,n.Q3)("",!0)])}]])},4890:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var n=r(641),a=r(33);const o={key:0,class:"product-review-summary"},i={class:"h3 product-review-summary__heading"},s={class:"product-review-summary__customer-rating"},l={key:0,class:"product-review-summary__text"},u={class:"product-review-summary__footer"},c=["href"];var d=r(4324),p=r(9557);const m=(0,n.pM)({name:"ProductReviewSummary",components:{CustomerRating:p.default},mixins:[(0,d.m)()],props:{productNumber:{type:String,required:!0},customerRating:{type:Object,default:void 0},summaryText:{type:String,default:""}}});const v=(0,r(6262).A)(m,[["render",function(e,t,r,d,p,m){const v=(0,n.g2)("customer-rating");return e.summaryText?((0,n.uX)(),(0,n.CE)("div",o,[(0,n.Lk)("h2",i,(0,a.v_)(e.translate("reviewSummaryHeading")),1),(0,n.Lk)("div",s,[e.customerRating?((0,n.uX)(),(0,n.Wv)(v,{key:0,lang:e.lang,"review-count":e.customerRating.reviewCount,"show-x-of-y":"sr-only","show-review-count":!1,"avg-customer-score":e.customerRating.avgCustomerScore,"product-number":e.productNumber},null,8,["lang","review-count","avg-customer-score","product-number"])):(0,n.Q3)("",!0)]),e.summaryText?((0,n.uX)(),(0,n.CE)("p",l,(0,a.v_)(e.summaryText),1)):(0,n.Q3)("",!0),(0,n.Lk)("p",u,[(0,n.Lk)("span",null,(0,a.v_)(e.translate("aiGeneratedSummary")),1),e.translate("trustvoiceUrl")?((0,n.uX)(),(0,n.CE)("a",{key:0,href:e.translate("trustvoiceUrl"),rel:"nofollow noopener",target:"_blank",class:"link product-review-summary__trustvoice-link"}
1,(0,a.v_)(e.translate("verifiedByTrustvoice")),9,c)):(0,n.Q3)("",!0)])])):(0,n.Q3)("",!0)}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.