PageSourceSearch

https://www.bildeler.no/_next/static/chunks/6221-6c222f078a6487b3.js

js bildeler.no collected 2026-10-07 17:42:09 UTC 35,337 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6221],{33219:function(e,t,r){"use strict";r.d(t,{Z:function(){return ProductDetails_ProductDetails}});var n=r(72253),i=r(14932),a=r(4586),o=r(85893),s=r(60895),l=r(26798),c=r(67294),d=r(15384),u=r(35691),m=r(84267),p=r(49e3),g=r(16980),_=r.n(g),v=r(75766),h=r(91309),x=r(40756),f=r.n(x),j=r(34719),y=r(63514),b=r(50315),N=r(43714),w=r(66982),P=r.n(w),I=r(30802),D=r(24747),R=r(79823),C=r(4795),S=r(14542),k=r(94184),L=r.n(k),T=c.memo(function(e){var t=e.images,r=e.name,n=(0,c.useRef)(null),i=(0,c.useRef)(null),a=(0,h._)((0,c.useState)(0),2),s=a[0],l=a[1],d=(0,h._)((0,c.useState)(!1),2),u=d[0],m=d[1],g=(0,h._)((0,C.Z)(),2),_=g[0],x=g[1],w=(0,N.$G)("common").t,k=(0,S.Z)();(0,c.useEffect)(function(){u?_():x()},[u]),(0,c.useEffect)(function(){m(!1),l(0)},[t]);var showPreviousImage=function(e){var r=s<=0?t.length-1:s-1;l(r),e&&n.current.slideToIndex(r)},showNextImage=function(e){var r=s>=t.length-1?0:s+1;l(r),e&&n.current.slideToIndex(r)},T=t.map(function(e,t){return{original:e,originalAlt:r,loading:0===t?"eager":"lazy",thumbnail:e}}),G=L()(f().galleryContainer,(0,v._)({},f().noImageGalleryMargin,t.length<=0));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:f().root,children:[(0,o.jsx)("div",{className:G,children:t.length?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:f().gallery,ref:i,children:(0,o.jsx)(P(),{onErrorImageURL:"/images/blocked.svg",additionalClass:f().imageGallery,ref:n,items:T,showPlayButton:!1,showNav:!1,showFullscreenButton:!1,onClick:function(){return m(!0)},onSlide:function(e){l(e)},slideDuration:225,swipingTransitionDuration:50,swipeThreshold:15,flickThreshold:.2,renderCustomControls:function(){return(0,o.jsx)("button",{className:f().btnGalleryOverlay,onClick:function(){return m(!0)},children:(0,o.jsx)("span",{className:"visuallyHidden",children:w("products.openGalleryA11y")})})},autoPlay:!1,renderThumbInner:function(e){return(0,o.jsx)(p.t,{className:f().galleryImageWrapper,sizes:["(max-width: 550px) 25vw","(max-width: 1024px) 20vw","15vw"],src:e.original,alt:e.originalAlt,aspectRatio:{w:16,h:9},width:320,height:180})},renderItem:function(e){return(0,o.jsx)(p.t,{className:f().galleryImageWrapper,priority:"lazy"!==e.loading,sizes:["(max-width: 1024px) 100vw","30vw"],src:e.original,alt:e.originalAlt,aspectRatio:{w:16,h:9},width:640,height:360})}})}),t.length>1&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:f().previousSlideIconBtn,children:(0,o.jsxs)(I.Z,{type:"slider",active:!0,onClick:function(){return showPreviousImage(!0)},children:[(0,o.jsx)("span",{className:"visuallyHidden",children:w("buttons.previous")}),(0,o.jsx)(D.Z,{})]})}),(0,o.jsx)("div",{className:f().nextSlideIconBtn,children:(0,o.jsxs)(I.Z,{type:"slider",active:!0,onClick:function(){return showNextImage(!0)},children:[(0,o.jsx)("span",{className:"visuallyHidden",children:w("buttons.next")}),(0,o.jsx)(R.Z,{})]})})]})]}):(0,o.jsx)("div",{className:f().placeholder,children:(0,o.jsx)(b.Z,{})})}),u&&(0,o.jsx)(j.Z,{mainSrc:t[s],nextSrc:t[(s+1)%t.length],prevSrc:t[(s-1)%t.length],onCloseRequest:function(){m(!1),n.current.slideToIndex(s)},onMoveNextRequest:function(){return showNextImage(!1)},onMovePrevRequest:function(){return showPreviousImage(!1)},imagePadding:"mobile"===k||"mobileMedium"===k?10:60,enableZoom:!1})]}),(0,o.jsxs)("div",{className:f().imgNumberContainer,children:[t.length>1&&(0,o.jsxs)("button",{onClick:function(){return showPreviousImage(!0)},className:f().btn,children:[(0,o.jsx)("span",{className:"visuallyHidden",children:w("buttons.previous")}),(0,o.jsx)(y.Z,{className:"".concat(f().icon," ").concat(f().previousBtnArrow)})]}),t.length>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:"".concat(f().imgNumberText," ").concat(f().imgNumberTextLeft),children:s+1}),(0,o.jsx)("span",{className:f().imgNumberText,children:"/"}),(0,o.jsx)("span",{className:"".concat(f().imgNumberText," ").concat(f().imgNumberTextRight),children:t.length})]}),t.length>1&&(0,o.jsxs)("button",{onClick:function(){return showNextImage(!0)},className:f().btn,children:[(0,o.jsx)("span",{className:"visuallyHidden",children:w("buttons.next")}),(0,o.jsx)(y.Z,{className:f().icon})]})]})]})}),G=r(24887),H=r(6879),Z=r.n(H),B=r(50129),Description=function(e){var t=e.part,r=e.size,n=(0,N.$G)("common").t,i=L()((0,v._)({},Z().b,"small"===r));switch(t){case B.Kr.Whole:return(0,o.jsx)("li",{children:n("product.whole")});case B.Kr.FrontLeftBackRight:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.frontAndBack")}),(0,o.jsx)("li",{children:"".concat(n("product.left")," ").concat(n("product.front")," / ").concat(n("product.right")," ").concat(n("product.back"))})]});case B.Kr.FrontRightBackLeft:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.frontAndBack")}),(0,o.jsx)("li",{children:"".concat(n("product.right")," ").concat(n("product.front")," / ").concat(n("product.left")," ").concat(n("product.back"))})]});case B.Kr.Rear:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.back")}),(0,o.jsx)("li",{children:"".concat(n("product.right")," / ").concat(n("product.left"))})]});case B.Kr.LeftRear:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.back")}),(0,o.jsx)("li",{children:n("product.left")})]});case B.Kr.RightRear:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.back")}),(0,o.jsx)("li",{children:n("product.right")})]});case B.Kr.Front:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.front")}),(0,o.jsx)("li",{children:"".concat(n("product.right")," / ").concat(n("product.left"))})]});case B.Kr.LeftFront:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.front")}),(0,o.jsx)("li",{children:n("product.left")})]});case B.Kr.RightFront:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.front")}),(0,o.jsx)("li",{children:n("product.right")})]});case B.Kr.Left:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.left")}),(0,o.jsx)("li",{children:"".concat(n("product.front")," / ").concat(n("product.back"))})]});case B.Kr.Right:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:i,children:n("product.right")}),(0,o.jsx)("li",{children:"".concat(n("product.front")," / ").concat(n("product.back"))})]});default:return null}},VehicleFragmentDescription_VehicleFragmentDescription=function(e){var t=e.part,r=e.size,n=void 0===r?"small":r,i=e.withBullets,a=L()("small"===n?Z().root:Z().largeRoot),s=L()(Z().dsc,(0,v._)({},Z().dscWithBullets,i));return(0,o.jsxs)("div",{className:a,children:[(0,o.jsx)(G.Z,{part:t,size:n}),(0,o.jsx)("ul",{className:s,children:(0,o.jsx)(Description,{part:t,size:n})})]})},F=r(39441),A=r(88135),M=r.n(A),U=r(22923),O=r(32162),V=r(82351),E=r(45364),W=r.n(E),ProductHead_InfoMessage=function(e){var t=L()(W().detailRoot,W().warningMessage);return(0,o.jsx)("div",{className:t,children:(0,o.jsx)("p",{className:W().text,children:e.message})})},PriceSection_PriceSection=function(e){var t,r,n=e.product,i=e.isFixedLowPrice,a=(0,V.a)("(max-width: 767px)"),s=(0,N.$G)("common").t;return(0,o.jsxs)("div",{className:M().root,children:[a&&!n.purchasable&&(0,o.jsx)(ProductHead_InfoMessage,{message:s("products.disabledMessage")}),(0,o.jsx)("div",{className:M().price,children:(0,o.jsx)(U.Z,{grossPrice:{actual:n.price.current,regular:n.price.full},netPrice:{actual:n.price.current_net,regular:n.price.full_net},unit:n.unit_of_measure,size:"large",isFixedLowPrice:void 0!==i&&i})}),(0,o.jsx)("div",{className:M().buttons,children:(0,o.jsx)(O.Z,{product:n,unit:null==n?void 0:n.unit_of_measure,size:"large",showDisabledInfoOnHover:!a,itemReview:null!==(r=null==n?void 0:null===(t=n.opinionsSummary)||void 0===t?void 0:t.averageRating)&&void 0!==r?r:void 0})})]})},q=r(55627),z=r(87964),Q=r(25175),K=r(17731),$=r(72630),ProductHead_CarCompatibilityMessage=function(e){var t,r=e.message,n=e.fitsSelectedCar,i=e.categories,a=e.severity,s=e.carPart,l=(0,c.useContext)($.o),d=(0,c.useContext)(z.pI),u=null===(t=l.activeVehicle)||void 0===t?void 0:t.number_plate,m=n&&"info"===a,p=!n,g=(0,N.$G)("common").t,getMessage=function(){return p&&u?"".concat(r,". ").concat(g("errors.pressButtonForHelp",{carPart:s})):r},_=L()([W().detailRoot],(0,v._)({},W().informationMessage,m),(0,v._)({},W().warningMessage,"info"!==a),(0,v._)({},W().isButton,p||!u)),showPlateNumberPopup=function(){d.setVehiclesPopupMode(K.B.AddCarByPlateNumber),d.setIsVehiclesPopupOpened(!0)};if(!u)return(0,o.jsxs)("button",{className:_,onClick:function(){return showPlateNumberPopup()},children:[(0,o.jsx)("p",{className:W().text,children:getMessage()}),(0,o.jsx)(y.Z,{className:W().arrowIcon})]});if(p){var h=2==i.length?Q.$.subcategory:Q.$.category,x=i[i.length-1],f="/".concat(x.slug,"/").concat(h,"/").concat(x.id);return(0,o.jsxs)("a",{className:_,href:f,children:[(0,o.jsx)("p",{className:W().text,children:getMessage()}),(0,o.jsx)(y.Z,{className:W().arrowIcon})]})}return(0,o.jsx)("div",{className:_,children:(0,o.jsx)("p",{className:W().text,children:getMessage()})})},J=r(55613),Y=r.n(J),X=r(30103),ee=r(11699),et=r(20466),er=r(24257),en=r(67107),DeliveryCountdown_DeliveryCountdown=function(){var e=(0,h._)((0,c.useState)(!1),2),t=e[0],r=e[1],n=(0,h._)((0,c.useState)(),2),i=n[0],a=n[1],s=(0,c.useRef)(null),l=(0,N.$G)("common").t,resetState=function(){a(void 0),r(!1)}
1,calculateCountdown=function(){var e=new Date().toLocaleString("en-US",{timeZone:"Europe/Oslo"}),t=new Date(e),n=(0,et.Z)(t);if(0===n||1===n||6===n){resetState();return}var i=(0,en.Z)(t,{hours:0,minutes:0,seconds:0}),s=(0,en.Z)(t,{hours:14,minutes:0,seconds:0});if(!(0,er.Z)(t,{start:i,end:s})){resetState();return}var c=(0,en.Z)(t,{hours:10,minutes:0,seconds:0}),d=(0,en.Z)(t,{hours:13,minutes:0,seconds:0});if((0,er.Z)(t,{start:c,end:d})){var u=(0,X.Z)(s,t),m=Math.floor(u/60),p=u%60,g=1===m?l("productDetailsHead.hour"):l("productDetailsHead.hours",{hours:m}),_=1===p?l("productDetailsHead.minute"):l("productDetailsHead.minutes",{minutes:p});a((0,o.jsxs)(o.Fragment,{children:[l("productDetailsHead.placeOrderIn")," ",(0,o.jsx)("span",{className:"bold",children:g}),0!==p&&(0,o.jsxs)(o.Fragment,{children:[" ",l("productDetailsHead.and")," ",(0,o.jsx)("span",{className:"bold",children:_})]})," ",l("productDetailsHead.toSendThisDay")]}))}else if((0,er.Z)(t,{start:d,end:s})){var v=(0,ee.Z)(s,t)/60,h=v>59?Math.floor(v):Math.ceil(v);if(0===v){resetState();return}var x=1===h?l("productDetailsHead.minute"):l("productDetailsHead.minutes",{minutes:h});a((0,o.jsxs)(o.Fragment,{children:[l("productDetailsHead.placeOrderIn")," ",(0,o.jsx)("span",{className:"bold",children:x})," ",l("productDetailsHead.toSendThisDay")]}))}else a((0,o.jsxs)(o.Fragment,{children:[l("productDetailsHead.placeOrderIn")," ",(0,o.jsx)("span",{className:"bold",children:l("productDetailsHead.specificHour",{hour:14})})," ",l("productDetailsHead.toSendThisDay")]}));r(!0)};return(0,c.useEffect)(function(){return calculateCountdown(),s.current=setInterval(function(){calculateCountdown()},6e4),function(){s.current&&clearInterval(s.current)}},[]),t&&i?(0,o.jsxs)("div",{className:Y().root,children:[(0,o.jsx)("span",{className:Y().icon}),(0,o.jsx)("p",{className:Y().text,children:i})]}):null},ei=r(88863),ea=r.n(ei),eo=r(74458),es=r(28498),el=r.n(es),ProductUspStrip_ProductUspStrip=function(e){var t,r=e.data,n=(null!==(t=null==r?void 0:r.items)&&void 0!==t?t:[]).filter(function(e){var t;return!!(null==e?void 0:null===(t=e.text)||void 0===t?void 0:t.length)});return n.length?(0,o.jsx)("ul",{className:el().root,children:n.map(function(e){return(0,o.jsx)("li",{className:el().item,children:(0,o.jsx)(ea(),{blocks:e.text,serializers:eo.b})},e._key)})}):null},ec=r(39973),ed=r(53190),eu=r(92177),ProductHead_ProductHead=function(e){var t,r,n,i,a,s=e.product,l=e.vehicleMessage,d=e.productBaseUrl,g=e.isFixedLowPrice,v=void 0!==g&&g,h=e.productPageUsp,x=(0,c.useContext)(ec.S),f=(0,ed.Z)(),j=f.isLoaded,y=f.reInitWidgets,b=(0,eu.m)(v);(0,c.useEffect)(function(){j&&y()},[j,y]);var N=0;s.price.discount_percent?N=Math.round(s.price.discount_percent):s.price.current<s.price.full&&(N=100-Math.round(100*(s.price.current/s.price.full)));var w=L()(_().galleryImage,_().galleryImageVisible),P=s.side?B.Zo[s.side.id]:void 0,I=null===(t=s.breadcrumbs.find(function(e){return"product-group"===e.type}))||void 0===t?void 0:t.name;return(0,o.jsx)("section",{className:"p-relative",children:(0,o.jsxs)(u.Z,{colGap:0,children:[(0,o.jsx)(m.Z,{col_lg:6,className:_().gallery,children:(0,o.jsxs)("div",{className:w,children:[b?(0,o.jsx)("div",{className:_().fixedLowPriceBadge,children:"FAST LAVPRIS!"}):N>0&&N<100&&(0,o.jsx)("div",{className:_().discount,children:"-".concat(N,"%")}),(0,o.jsx)("div",{className:_().producer,children:(0,o.jsx)(p.t,{className:_().producerImg,aspectRatio:{w:18,h:6},priority:!0,src:s.manufacturer.logo.url||null,sizes:["(max-width: 1024px) 155px","180px"],alt:s.manufacturer.name,width:300,height:100})}),(0,o.jsx)(T,{images:null!==(a=null===(r=s.images)||void 0===r?void 0:r["1024"])&&void 0!==a?a:[],name:s.name})]})}),(0,o.jsxs)(m.Z,{col_lg:6,className:_().productDataWrapper,children:[l&&(0,o.jsx)(ProductHead_CarCompatibilityMessage,{message:l.text,fitsSelectedCar:s.fits_selected_car,categories:s.breadcrumbs.slice(0,-1),severity:l.severity,carPart:s.name}),(0,o.jsxs)("div",{className:_().container,children:[(0,o.jsx)("small",{className:_().number,children:"Art.nr. ".concat(s.id)}),(0,o.jsx)("h1",{className:_().productName,children:s.name}),P&&(0,o.jsx)("div",{className:_().vehicleFragmentDesc,children:(0,o.jsx)(VehicleFragmentDescription_VehicleFragmentDescription,{part:P})}),(0,o.jsxs)("div",{className:_().bottomSection,children:[(0,o.jsxs)("div",{className:_().info,children:[(0,o.jsx)("div",{className:_().sellPoint,children:s.stock&&s.stock.departments.map(function(e){var t,r;return(0,o.jsx)(F.Z,{text:null!==(r=e.description)&&void 0!==r?r:e.name,quantity:e.quantity,unavailabilityDescription:null===(t=s.stock)||void 0===t?void 0:t.status_empty,size:"big"},e.id)})}),!!(s.opinionsSummary&&(null===(n=s.opinionsSummary)||void 0===n?void 0:n.averageRating))&&(0,o.jsx)(q.Z,{rate:s.opinionsSummary}),(0,o.jsx)("div",{className:_().hiddenLipscoreWidget,children:(0,o.jsx)("div",{id:"lipscore-rating","data-ls-product-id":s.id,"data-ls-product-name":s.name_original,"data-ls-brand":s.manufacturer.name,"data-ls-product-url":d,"data-ls-category":null!=I?I:null})})]}),s.stock&&s.stock.departments.some(function(e){return(null==e?void 0:e.quantity)>0})&&!(null==x?void 0:null===(i=x.userData)||void 0===i?void 0:i.company)&&(0,o.jsx)("div",{className:_().compatibility,children:(0,o.jsx)(DeliveryCountdown_DeliveryCountdown,{})}),(0,o.jsx)(PriceSection_PriceSection,{product:s,isFixedLowPrice:v}),(0,o.jsx)(ProductUspStrip_ProductUspStrip,{data:h})]})]})]})]})})},em=r(18610),ep=r.n(em),Details_Description=function(e){var t,r=e.content,n=e.side,i=e.placement,a=e.dimensions,s=e.fileLink,l=e.tradeNumbers,c=(0,N.$G)("common").t,d=n?B.Zo[n.id]:void 0,m=a&&a.length>0||l&&l.length>0||!!i,p=m&&d?6:m||d?8:12,g=m&&d?3:m||d?4:0,_=L()(ep().descriptionGrid,(0,v._)({},ep().smallDescriptionColGap,m&&d)),h=!!r&&(null==r?void 0:r.length)>0,x=L()("btn-link",(0,v._)({},"mt-s",h)),f=h||s?g:8;return(0,o.jsxs)(u.Z,{columns:12,rowGap:60,className:_,children:[(h||!!s)&&(0,o.jsxs)(u.Z.Item,{col_lg:p,className:ep().descriptionChunks,children:[h&&r.map(function(e,t){return(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e}},t)}),!!s&&(0,o.jsxs)("a",{href:s.url,className:x,rel:"noopener noreferrer",target:"_blank",children:[c("products.download")," ",null===(t=s.name)||void 0===t?void 0:t.toLowerCase()]})]}),m&&(0,o.jsx)(u.Z.Item,{col_lg:f,children:(0,o.jsxs)("ul",{className:ep().dimensionsList,children:[null==l?void 0:l.map(function(e,t){return(0,o.jsxs)("li",{children:[e.name,": ",(0,o.jsx)("b",{children:e.value}),(0,o.jsx)("br",{})]},"tn-".concat(t))}),null==a?void 0:a.map(function(e){return(0,o.jsxs)("li",{children:[e.field,": ",(0,o.jsx)("b",{children:e.value}),(0,o.jsx)("br",{})]},e.field)}),i&&(0,o.jsxs)("li",{children:[i,(0,o.jsx)("br",{})]})]})}),d&&(0,o.jsx)(u.Z.Item,{col_lg:g,children:(0,o.jsx)(VehicleFragmentDescription_VehicleFragmentDescription,{part:d,size:"large",withBullets:!0})})]})},eg=r(99719),e_=r(45578),ev=r.n(e_),Details_FitWithCars=function(e){var t=e.cars,r=e.productCategories,n=(0,c.useContext)($.o),i=(0,s.Z)().URL_STRUCTURE,a=r[r.length-1],l=t.flatMap(function(e){return ev()(e.models,"slug").map(function(t){return{brandId:e.id,brandName:e.n
1ame,brandSlug:e.slug,modelId:t.id,modelName:t.name,modelSlug:t.slug}})});return(0,o.jsx)("div",{className:ep().panelNarrow,children:l.length>0&&(0,o.jsx)("ul",{className:ep().carList,children:l.map(function(e,t){var r,s,l=n.activeVehicle,c=L()("link-plain",(0,v._)({},ep().b,e.brandId===(null==l?void 0:null===(r=l.brand)||void 0===r?void 0:r.id)&&e.modelId===(null==l?void 0:null===(s=l.model)||void 0===s?void 0:s.id))),d=i.CATALOG.SUB_CATEGORY_WITH_CAR(a.slug,a.id,{brand:e.brandSlug,model:e.modelSlug});return(0,o.jsxs)("li",{children:[(0,o.jsx)(eg.a,{href:d,body:"".concat(e.brandName," ").concat(e.modelName),className:c}),","]},"".concat(e.brandSlug,"_").concat(e.modelSlug,"_").concat(t,"_").concat(e.modelId))})})})},eh=r(85533),ex=r.n(eh);function LipscoreProductReviewsWidget(e){var t=e.productId,r=e.productName,n=e.productBrand,i=e.productUrl,a=e.productCategoryName,s=(0,ed.Z)(),l=s.isLoaded,d=s.reInitWidgets;return(0,c.useEffect)(function(){l&&d()},[l,d]),(0,o.jsx)("div",{className:ex().productReviewsContainer,children:(0,o.jsx)("div",{id:"lipscore-review-list","data-ls-product-id":t,"data-ls-product-name":r,"data-ls-brand":n,"data-ls-product-url":i,"data-ls-category":a})})}var Details_Comments=function(e){var t,r=e.productDetails,n=e.productBaseUrl,i=null===(t=r.breadcrumbs.find(function(e){return"product-group"===e.type}))||void 0===t?void 0:t.name;return(0,o.jsx)("div",{children:!!r&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(LipscoreProductReviewsWidget,{productId:r.id,productBrand:r.manufacturer.name,productName:r.name_original,productCategoryName:null!=i?i:null,productUrl:n})})})},ef=r(80983),ej=r(15971),ey=r(51717),eb=r(3913),eN=r(84489),ew=r.n(eN),Details_ProductQA=function(e){var t,r,n,i=e.productDetails,a=e.productBaseUrl,s=(0,ed.Z)(),l=s.isLoaded,d=s.reInitWidgets,u=null!==(n=null===(t=i.images["1024"])||void 0===t?void 0:t[0])&&void 0!==n?n:null,m=null===(r=i.breadcrumbs.find(function(e){return"product-group"===e.type}))||void 0===r?void 0:r.name;return(0,c.useEffect)(function(){l&&d()},[l,d]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{id:"lipscore-question-post","data-ls-product-name":i.name_original,"data-ls-brand":i.manufacturer.name,"data-ls-product-id":i.id,"data-ls-product-url":a,"data-ls-image-url":u,"data-ls-price-currency":i.price.currency,"data-ls-category":null!=m?m:null}),(0,o.jsx)("div",{id:"lipscore-question-list",className:ew().wrapper,"data-ls-product-name":i.name_original,"data-ls-brand":i.manufacturer.name,"data-ls-product-id":i.id,"data-ls-product-url":a,"data-ls-image-url":u,"data-ls-price-currency":i.price.currency,"data-ls-category":null!=m?m:null})]})},detailSections=function(e,t,r,s){var l,c=(0,a._)(t.descriptions.map(function(e){return e.value})).concat((0,a._)(t.car.descriptions.map(function(e){return e.value})),[t.car.fits]).filter(function(e){return e}),d=[{id:eb.j.description,title:e("productDetailsTitle.description"),component:function(){var e;return(0,o.jsx)(Details_Description,{dimensions:t.dimensions,tradeNumbers:t.trade_numbers,content:c,side:t.side,placement:null===(e=t.placement)||void 0===e?void 0:e.name,fileLink:t.external_url.length>0?{name:t.external_title,url:t.external_url}:void 0})}},{id:eb.j.comments,title:e("productDetailsTitle.comments"),component:function(){return(0,o.jsx)(Details_Comments,{productDetails:t,productBaseUrl:s})}},{id:eb.j.productQA,title:e("productDetailsTitle.productQA"),component:function(){return(0,o.jsx)(Details_ProductQA,{productDetails:t,productBaseUrl:s})}}];return r&&t.cars.flatMap(function(e){return e.models}).length>0&&d.splice(1,0,{id:eb.j.carModels,title:e("productDetailsTitle.carModels"),component:function(){return(0,o.jsx)(Details_FitWithCars,{cars:t.cars,productCategories:t.breadcrumbs.slice(0,-1)})}}),(null===(l=t.videos)||void 0===l?void 0:l.length)>0&&d.push({id:eb.j.videos,title:"".concat(e("video.title")," (").concat(t.videos.length,")"),component:function(){return(0,o.jsx)(ey.nP,{videos:t.videos.map(function(e){return(0,i._)((0,n._)({},e),{title:e.name,difficultyLevel:e.difficulty.name})})})}}),d},Details_Details=function(e){var t=e.product,r=e.isAnonymousUser,n=e.productBaseUrl,i=(0,N.$G)("common").t;return(0,o.jsx)("div",{id:"productDetails",children:(0,o.jsx)(ef.X,{sections:detailSections(i,t,r,n),componentType:ej.g.accordion,useContextData:!0,itemsHeadingTag:"h2"})})}
1,eP=r(25506),eI=r(79429),eD=r(700),eR=r(65787),getDimensionsData=function(e){var t=[];return e.forEach(function(e){return t.push("".concat(e.field,": ").concat(e.value))}),t.join(" ")},productPageStructuredData=function(e,t,r,a){if(!e)return{};var o,s,l,c,d,u,m,p,g={};return((null==e?void 0:null===(o=e.opinionsSummary)||void 0===o?void 0:o.averageRating)||(null==e?void 0:null===(s=e.opinionsSummary)||void 0===s?void 0:s.totalReviews))&&(g={aggregateRating:{"@type":"AggregateRating",ratingValue:null!==(m=null==e?void 0:null===(d=e.opinionsSummary)||void 0===d?void 0:d.averageRating)&&void 0!==m?m:null,ratingCount:null!==(p=null==e?void 0:null===(u=e.opinionsSummary)||void 0===u?void 0:u.totalReviews)&&void 0!==p?p:null}}),(0,n._)((0,i._)((0,n._)({},eD.NX),{"@type":"Product",name:e.name,image:(null===(l=e.images)||void 0===l?void 0:l["1024"])?e.images["1024"]:[],description:"".concat(getDimensionsData(e.dimensions)," ").concat(eR.g.formatHtmlForMetaSeo(t.join(" "))),sku:e.id,brand:{"@type":"Thing",name:e.manufacturer.name},offers:{"@type":"Offer",url:(0,eD.Gr)(r),priceCurrency:e.price.currency,price:e.price.current,priceValidUntil:(0,eI.Z)(new Date,1).toISOString(),availability:e.stock&&e.stock.departments.map(function(e){return e.quantity}).reduce(function(e,t){return e+t},0)>0?"https://schema.org/InStock":"https://schema.org/OutOfStock",seller:{"@type":"Organization",name:"Norsk Bildelsenter as"}},itemCondition:"New",review:(null==a?void 0:null===(c=a.items)||void 0===c?void 0:c.length)?a.items.map(function(e){return{"@type":"Review",author:{"@type":"Person",name:e.creatorName},datePublished:e.creationDate,reviewBody:e.text,reviewRating:{"@type":"Rating",bestRating:5,worstRating:1,ratingValue:e.rating}}}):[]}),g)},eC=r(64953),eS=r(60202),ek=r(95056),eL=r(70561),eT=r(84006),eG=r(42600),eH=r(22416),eZ=r(5152),eB=r.n(eZ),eF=eB()(function(){return Promise.resolve().then(r.bind(r,34593))},{loadableGenerated:{webpack:function(){return[34593]}},ssr:!1}),eA=eB()(function(){return Promise.resolve().then(r.bind(r,76138))},{loadableGenerated:{webpack:function(){return[76138]}},ssr:!1}),ProductDetails_ProductDetails=function(e){var t,r,u,m,p,g,_,v,h,x,f,j,y,b,w=e.pageProps,P=e.vehicleMessage,I=e.pageProps.page,D=I.product,R=I.productBaseUrl,C=I.reviews,S=I.sanitySuggestedProducts,k=I.isFixedLowPrice,L=(0,N.$G)("common").t,T=(0,s.Z)(),G=(0,c.useContext)(z.A9),H=(0,c.useContext)(z.St),Z=(0,c.useContext)($.o),B=(0,c.useContext)(eL.O),F=(0,c.useRef)(!1),sendViewItemGtmEvent=function(){var e,t,r,n=eH.D.getProductListEventProps();eS.ZP.onViewProduct(D,null==H?void 0:null===(e=H.userData)||void 0===e?void 0:e.company,null!==(r=null===(t=D.opinionsSummary)||void 0===t?void 0:t.averageRating)&&void 0!==r?r:void 0,n),eH.D.clearProductListEventProps()};(0,l.I)(function(){return D?T.URL_STRUCTURE.CATALOG.PRODUCT(D.slug,D.id):null}),(0,c.useEffect)(function(){H.isReady&&Z.isReady&&G.isReady&&!F.current&&(F.current=!0,sendViewItemGtmEvent())},[H.isReady,Z.isReady,Z.activeVehicle,G.isReady,G.campaign,D]);var A=(0,a._)(D.descriptions.map(function(e){return e.value})).concat((0,a._)(D.car.descriptions.map(function(e){return e.value})),[D.car.fits]).filter(function(e){return e}),M={metaTitle:ek.b.formatMetaTitle(null,null==D?void 0:D.name,null!==(b=null==e?void 0:null===(r=e.pageProps)||void 0===r?void 0:null===(t=r.page)||void 0===t?void 0:t.vehicle)&&void 0!==b?b:void 0),metaDescription:(null==A?void 0:A[0])?(0,eG.Z)(eR.g.formatHtmlForMetaSeo(A[0]),180):null==D?void 0:D.name,_type:"",schema:[productPageStructuredData(D,A,T.URL_STRUCTURE.CATALOG.PRODUCT(D.slug,D.id),null==C?void 0:C.reviews),(0,eC.Z)([{name:L("breadcrumbs.mainPage"),url:T.URL_STRUCTURE.HOME()}].concat((0,a._)(null==e?void 0:null===(u=e.pageProps)||void 0===u?void 0:u.breadcrumbItems)))],canonicalUrl:null==e?void 0:e.canonicalUrl,metaNoindexNofollow:null==e?void 0:null===(p=e.pageProps)||void 0===p?void 0:null===(m=p.page)||void 0===m?void 0:m.overrideMetaNoindexNofollow,addOgTags:!0,ogImageUrl:null===(_=D.images)||void 0===_?void 0:null===(g=_["1024"])||void 0===g?void 0:g[0],ogSanityImage:null==e?void 0:null===(h=e.pageProps)||void 0===h?void 0:null===(v=h.settingPage)||void 0===v?void 0:v.defaultImage,ogType:"product"},U={common:(0,i._)((0,n._)({},e),{metaTags:M}),showBreadcrumbs:null==e?void 0:null===(x=e.pageProps)||void 0===x?void 0:x.showBreadcrumbs,breadcrumbCustomItems:null==e?void 0:null===(f=e.pageProps)||void 0===f?void 0:f.breadcrumbItems};return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(d.Z,{config:U,children:(0,o.jsxs)("div",{className:"p-relative",children:[B.showCustomRouteLoader&&(0,o.jsx)(eT.Jf,{}),(0,o.jsx)(ProductHead_ProductHead,{product:D,vehicleMessage:P,productBaseUrl:R,isFixedLowPrice:k,productPageUsp:null===(j=w.settingPage)||void 0===j?void 0:j.productPageUsp}),(0,o.jsx)("section",{children:(0,o.jsx)(Details_Details,{product:D,isAnonymousUser:!H.isLogged,productBaseUrl:R})}),D.related_products.length>0&&(0,o.jsx)("div",{className:"border-bottom",children:(0,o.jsx)(eF,{products:D.related_products,title:L("products.relatedProducts")})}),S.length>0&&0===D.related_products.length&&(0,o.jsx)("div",{className:"border-bottom",children:(0,o.jsx)(eA,{globalSuggestedProducts:S,title:L("products.promotedProducts")})}),(0,o.jsx)(eP.Z,{content:null==w?void 0:null===(y=w.page)||void 0===y?void 0:y.content})]})})})}},75951:function(e,t,r){"use strict";var n=r(72253),i=r(14932),a=r(85893);r(67294);var o=r(88863),s=r.n(o),l=r(74458),c=r(94184),d=r.n(c);t.Z=function(e){var t=e.content,r=e.className,o=e.id,c=e.style,u=d()("RichText",r);if(!t)return null;var m=null==t?void 0:t.map(function(e){return(0,i._)((0,n._)({},e),{children:e.children.map(function(e){return(0,i._)((0,n._)({},e),{text:e.text||"\n"})})})});return(0,a.jsx)("div",{className:u,style:null!=c?c:{},id:o,children:(0,a.jsx)(s(),{blocks:m,serializers:l.b})})}},74523:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.Z}});var n=r(75951)},95056:function(e,t,r){"use strict";r.d(t,{b:function(){return a}});var n={nonTextBehavior:"remove"},helpers_portableTextToPlainText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";var r=Object.assign({},n,t);return e.map(function(e){return"block"===e._type&&e.children?e.children.map(function(e){return e.text}).join(""):"remove"===r.nonTextBehavior?"":"[".concat(e._type," block]")}).join("\n\n")},i=r(42600),a={formatMetaTitle:function(e,t,r){var n;if(e)return e;if(t&&(null==r?void 0:null===(n=r.brand)||void 0===n?void 0:n.name)){var i,a=(null===(i=r.model)||void 0===i?void 0:i.name)?" ".concat(r.model.name):"";return"".concat(t," til ").concat(r.brand.name).concat(a," | Bildeler.no")}return t?"".concat(t," | Bildeler.no"):"Bildeler.no"},formatMetaDescription:function(e,t,r){var n;if(e&&(null==e?void 0:e.length)>0)return e;if(t&&(null==t?void 0:t.length)>0){var a=helpers_portableTextToPlainText(t);return(0,i.Z)(a,180)}if(r&&(null==r?void 0:null===(n=r.content)||void 0===n?void 0:n.length)>0){var o=helpers_portableTextToPlainText(r.content);return(0,i.Z)(o,180)}return""}}},700:function(e,t,r){"use strict";r.d(t,{Gr:function(){return getUrl},NX:function(){return n},fL:function(){return getTextFromRichEditor}});var n={"@context":"https://schema.org"},getUrl=function(e){return"".concat("https://www.bildeler.no").concat(e)},getTextFromRichEditor=function(e){var t="";
1return null==e||e.forEach(function(e){return e.children.forEach(function(e){return t="".concat(t).concat(e.text," ")})}),t}},64953:function(e,t,r){"use strict";var n=r(72253),i=r(14932),a=r(700);t.Z=function(e){return e?(0,i._)((0,n._)({},a.NX),{"@type":"BreadcrumbList",itemListElement:e.map(function(e,t){return{"@type":"ListItem",position:(t+1).toString(),name:e.name,item:(0,a.Gr)(e.url)}})}):{}}},42600:function(e,t){"use strict";t.Z=function(e,t){if(!e.length)return"";if(e.length<t)return e;var r=e.slice(0,t),n=Math.max(r.lastIndexOf("."),r.lastIndexOf("?"),r.lastIndexOf("!"),r.lastIndexOf(","),r.lastIndexOf(";"));return r.substring(0,Math.min(r.length,n>0?n+1:t))}},26798:function(e,t,r){"use strict";r.d(t,{I:function(){return useVehicleDataUrlRedirection}});var n=r(11163),i=r(67294),helpers_getPathWithQueryParams=function(e){var t=null==e?void 0:e.split("?");return{path:t?t[0]:"",queryParams:t&&t[1]?t[1]:void 0}},a=r(61392),o=r(72630),useVehicleDataUrlRedirection=function(e){var t=(0,i.useContext)(o.o),r=(0,a.i)().blockClosingHeaderPopup,s=(0,n.useRouter)();(0,i.useEffect)(function(){var n=e();if(t.isReady&&n){var i=helpers_getPathWithQueryParams(s.asPath),a=helpers_getPathWithQueryParams(n);if(i.path!==a.path){if(r(),i.queryParams){s.push("".concat(a.path,"?").concat(i.queryParams));return}s.push(n)}}},[s.asPath,t.isReady,t.activeVehicle])}},74458:function(e,t,r){"use strict";r.d(t,{b:function(){return l}});var n=r(85893),i=r(67294),a=r(99719),o=r(60895),InternalLink_InternalLink=function(e){var t,r=e.slug,i=e.pageType,s=e.className,l=e.categoryId,c=e.subcategoryId,d=e.children,u=(0,o.Z)().urlResolver,m=null!==(t=null!=l?l:c)&&void 0!==t?t:"";return(0,n.jsx)(a.a,{href:u({_type:i,page:null==r?void 0:r.current},Number(m)),className:s,body:d})},s=(0,i.createContext)(!1),LinkBoundary=function(e){var t=e.children;return(0,n.jsx)(s.Provider,{value:!0,children:t})},l={marks:{internalLink:function(e){var t=e.mark,r=e.children,a=(0,i.useContext)(s),o=t.slug,l=t.pageType,c=t.subcategoryId,d=t.categoryId;return a?(0,n.jsx)(n.Fragment,{children:r}):(0,n.jsx)(LinkBoundary,{children:(0,n.jsx)(InternalLink_InternalLink,{slug:o,pageType:l,categoryId:d,subcategoryId:c,className:"link-plain",children:r})})},link:function(e){var t=e.mark,r=e.children,a=(0,i.useContext)(s),o=t.blank,l=t.href;return a?(0,n.jsx)(n.Fragment,{children:r}):(0,n.jsx)(LinkBoundary,{children:o?(0,n.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"link-plain",children:r}):(0,n.jsx)("a",{href:l,rel:"noopener noreferrer",className:"link-plain",children:r})})},emailLink:function(e){var t=e.mark,r=e.children,a=(0,i.useContext)(s),o=t.email;return a?(0,n.jsx)(n.Fragment,{children:r}):(0,n.jsx)(LinkBoundary,{children:(0,n.jsx)("a",{href:"mailto:".concat(o),className:"link-plain",children:r})})},strong:function(e){var t=e.children;return(0,n.jsx)("span",{className:"bold",children:t})}},renderContainerOnSingleChild:!0}},18610:function(e){e.exports={panelNarrow:"details_panelNarrow___it5j",carList:"details_carList__1Yoog",b:"details_b__4w30I",descriptionGrid:"details_descriptionGrid__HHUGV",smallDescriptionColGap:"details_smallDescriptionColGap__9CQz8",dimensionsList:"details_dimensionsList__qU6mV",descriptionChunks:"details_descriptionChunks__8vb8J"}},84489:function(e){e.exports={wrapper:"productQAWidget_wrapper___Z1HU"}},55613:function(e){e.exports={root:"deliveryCountdown_root__9fX8x",icon:"deliveryCountdown_icon__geZcm",text:"deliveryCountdown_text__HZnUk"}},40756:function(e){e.exports={root:"imageGallery_root__HjkDo",galleryContainer:"imageGallery_galleryContainer__fLJ_m",previousSlideIconBtn:"imageGallery_previousSlideIconBtn__99fCN",nextSlideIconBtn:"imageGallery_nextSlideIconBtn__X_BsF",noImageGalleryMargin:"imageGallery_noImageGalleryMargin__na8Ez",gallery:"imageGallery_gallery___8y_I",imageGallery:"imageGallery_imageGallery__IQlYp",btnGalleryOverlay:"imageGallery_btnGalleryOverlay__1OP95",placeholder:"imageGallery_placeholder__3rtS1",image:"imageGallery_image__z0jg5",imgNumberContainer:"imageGallery_imgNumberContainer__VOTTw",imgNumberText:"imageGallery_imgNumberText__M_kGs",imgNumberTextLeft:"imageGallery_imgNumberTextLeft__Nn9D3",imgNumberTextRight:"imageGallery_imgNumberTextRight__0wgQl",btn:"imageGallery_btn__Edd_0",previousBtnArrow:"imageGallery_previousBtnArrow__ROJ9F",icon:"imageGallery_icon__GTsBo",galleryImageWrapper:"imageGallery_galleryImageWrapper__Qjdda",plainImg:"imageGallery_plainImg__1LkYG",squareAspectRatioImg:"imageGallery_squareAspectRatioImg__V5SVp"}},88135:function(e){e.exports={root:"priceSection_root__AyLBf",price:"priceSection_price__WpwsQ",buttons:"priceSection_buttons__5AcfL",quantity:"priceSection_quantity__yjgvK",soldOut:"priceSection_soldOut__493AT"}},28498:function(e){e.exports={root:"productUspStrip_root__AYQJ3",item:"productUspStrip_item__q7b8H"}},6879:function(e){e.exports={root:"vehicleFragmentDescription_root__xb6fs",largeRoot:"vehicleFragmentDescription_largeRoot__UWQMy",dsc:"vehicleFragmentDescription_dsc__3_5sL",dscWithBullets:"vehicleFragmentDescription_dscWithBullets__alDGq",b:"vehicleFragmentDescription_b__W_jIU"}},16980:function(e){e.exports={number:"productHead_number__8IqJ6",productDataWrapper:"productHead_productDataWrapper__BKHAx",container:"productHead_container__S4m76",gallery:"productHead_gallery__v1BbI",galleryImage:"productHead_galleryImage__IS8n7",galleryImageVisible:"productHead_galleryImageVisible__uV0YL",roundViewerBtn:"productHead_roundViewerBtn__N2xdR",producer:"productHead_producer__vwCkR",producerImg:"productHead_producerImg__ArNbO",discount:"productHead_discount__crQ0o",fixedLowPriceBadge:"productHead_fixedLowPriceBadge__OwbIN",productName:"productHead_productName__iosJn",vehicleFragmentDesc:"productHead_vehicleFragmentDesc__a_2Aq",info:"productHead_info__NWJp8",sellPoint:"productHead_sellPoint__8j_fZ",bottomSection:"productHead_bottomSection__TYQgX",compatibility:"productHead_compatibility__3GZG_",smallLoader:"productHead_smallLoader__Da2pG",hiddenLipscoreWidget:"productHead_hiddenLipscoreWidget__YAmly"}},45364:function(e){e.exports={detailRoot:"messagesArea_detailRoot__w6DAG",compatible:"messagesArea_compatible__256vV",partial:"messagesArea_partial__VyMEp",no:"messagesArea_no__gY8zJ",loading:"messagesArea_loading__HhMQO",listingRoot:"messagesArea_listingRoot__DMiC5",placeholder:"messagesArea_placeholder__Lmxf_",cartRoot:"messagesArea_cartRoot__7vtgP",text:"messagesArea_text__ehtyf",cartRootSmall:"messagesArea_cartRootSmall__kX0Kt",informationMessage:"messagesArea_informationMessage__1MqrG",warningMessage:"messagesArea_warningMessage__Clita",errorMessage:"messagesArea_errorMessage__u8qI8",isButton:"messagesArea_isButton___wZP0",arrowIcon:"messagesArea_arrowIcon__8vlwO"}},85533:function(e){e.exports={productReviewsContainer:"productReviewsWidget_productReviewsContainer__x_7RR"}}}]);

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.