PageSourceSearch

https://www.carellurvink.nl/dist/react.1826d3a26f35d48c401a.js

js carellurvink.nl collected 2026-10-07 17:32:19 UTC 98,295 bytes, 2 lines download raw bytes

1"use strict";(this.webpackChunksitecore_platform=this.webpackChunksitecore_platform||[]).push([[644],{7405:(e,t,a)=>{a(8372);var s=a(9471),n=a(1459),l=a.n(n),o=a(8441),r=a(9061),i=a(9989),c=a(9072),d=a(7671);const u=e=>{const t=(e.className?e.className:"")+" component"+(e.renderingCssClass?" "+e.renderingCssClass:"")+(e.styles?" "+e.styles:"");return(0,d.jsx)("div",{className:t,children:(0,d.jsx)("div",{className:"component-content",children:e.children})})};var m=a(9082);function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return{t:function(t){var a;return void 0!==e&&null!==(a=e[t])&&void 0!==a?a:"[T:".concat(t,"]")},i18n:e=>e,ready:!0}}var p=a(4679),x=a(1437),v=a(279),_=a(184);const f="AddToOrderListModal-module__modalHeader--VLCO",g="AddToOrderListModal-module__selectButton--t7bS",j="AddToOrderListModal-module__thumbnail--Vlwe",b="AddToOrderListModal-module__priceLabel--Fv7P",C=e=>{const{dismissModal:t,phrases:a}=e,{t:s}=h(a),n=[{type:"primary",label:"OK",onClick:t}];return(0,d.jsx)(x.a,{title:s("AddToOrderList_Error_Title"),buttons:n,onModalClose:t,hasFooterSeparator:!0,children:(0,d.jsx)("h3",{children:s("AddToOrderList_Error_Message")})})},N=e=>{const{dismissModal:t,thumbnail:a,code:s,title:n,price:l,unitDescription:o,displayTax:r,phrases:i}=e,{t:c}=h(i),u=[{type:"primary",label:c("AddToOrderList_Finish"),onClick:t}];return(0,d.jsx)(x.a,{HeaderComponent:()=>(0,d.jsxs)("div",{className:"".concat(f),children:[(0,d.jsx)("h1",{className:"h1 mb-3",children:c("AddToOrderList_Success_Message")}),(0,d.jsxs)("div",{className:"d-flex",children:[a&&(0,d.jsx)("div",{className:"mr-3",children:(0,d.jsx)("img",{src:a,className:j})}),(0,d.jsxs)("div",{className:"flex-column",children:[(0,d.jsx)("h2",{className:"h3",children:n}),(0,d.jsxs)("div",{className:"text-sans-serif text-gray-500",children:[c("AddToOrderList_ProductCode")," ",s]}),(0,d.jsxs)("div",{className:"d-flex flex-row align-items-center",children:[(0,d.jsx)("span",{className:"h3",children:l})," ",(0,d.jsx)("span",{className:b,children:o})]}),(0,d.jsx)("p",{className:"text-sans-serif text-xs text-muted",children:c(r?"AddToOrderList_IncTax":"AddToOrderList_ExTax")})]})]})]}),title:c("AddToOrderList_Success_Title"),buttons:u,onModalClose:t,hasFooterSeparator:!0})},y=e=>{let{phrases:t,toggleSelectedLists:a}=e;const{t:n}
1=h(t),[l,o]=(0,s.useState)(!1),r=e=>{a(e),o(e)};return(0,d.jsxs)(d.Fragment,{children:[!1===l&&(0,d.jsx)("button",{type:"button",className:"".concat(g," btn btn-link"),onClick:()=>r(!0),children:(0,d.jsx)("span",{children:n("AddToOrderList_SelectAll")})}),!0===l&&(0,d.jsx)("button",{type:"button",className:"".concat(g," btn btn-link"),onClick:()=>r(!1),children:(0,d.jsx)("span",{children:n("AddToOrderList_SelectNone")})})]})},S=e=>{const{phrases:t}=(null==e?void 0:e.data)||{},{t:a}=h(t),n=(0,s.useRef)(null),l=(0,r.wA)(),o=(0,r.d4)(e=>(0,v.eG)(e)),i=(0,r.d4)(e=>e.lastAction),c=(0,r.d4)(e=>(0,p.et)(e)),{orderLists:g}=o,S=o.displayModal,T=(0,m.sf)(_.T)(i),w=(0,m.TK)(_.T)(i),[L,P]=(0,s.useState)(!1),O=(0,s.useRef)(!1);(0,s.useEffect)(()=>{S&&((0,v.MW)(l)(),P(!0))},[S]);const{title:A="",code:k="",media:M=[],unitOfMeasureCode:E,variant:I}=o.product,{thumbnail:B=null}=(null==M?void 0:M.find(e=>!!e.thumbnail))||{},F=e=>{if(null!=e&&e.description){if(e.itemsPerUnit>1){const t=((c?e.prices.current.incTax.numeric:e.prices.current.exTax.numeric)/e.itemsPerUnit).toLocaleString("nl-NL",{minimumFractionDigits:2,maximumFractionDigits:2});return e.description.replace("#PRICE#","€ ".concat(t))}return e.description}},R=()=>{P(!1),(0,v.BU)(l)(!1)},q=e=>{e.preventDefault();const t=new FormData(e.target),a=Object.fromEntries(t),s=Object.keys(a).map(e=>JSON.parse(e));(0,v.x3)(l)({variantCode:I.code,unitOfMeasureCode:E,selectedLists:s})},U=e=>{O.current=e;const t=null==n?void 0:n.current.querySelectorAll("[type=checkbox]");null==t||t.forEach(t=>{t.checked=e})};if(T){const e=I.unitsOfMeasure.find(e=>e.code===E),a=F(e),s=c?e.prices.current.incTax.formatted:e.prices.current.exTax.formatted,n={dismissModal:R,thumbnail:B,code:k,title:A,price:s,unitDescription:a,displayTax:c,phrases:t};return(0,d.jsx)(N,{...n})}if(w){const e={dismissModal:R,thumbnail:B,code:k,title:A,phrases:t};return(0,d.jsx)(C,{...e})}if(L){const s=[{type:"outline-primary",label:a("AddToOrderList_Cancel"),onClick:R},{type:"primary",label:a("AddToOrderList_Add"),onClick:()=>{n.current.requestSubmit()}}],l=()=>{const t=I.unitsOfMeasure.find(e=>e.code===E),s=F(t),n=c?t.prices.current.incTax.formatted:t.prices.current.exTax.formatted;return(0,d.jsx)(u,{...e,children:(0,d.jsxs)("div",{className:"".concat(f," border-bottom border-gray-200"),children:[(0,d.jsx)("h1",{className:"h1 mb-3",children:a("AddToOrderList_ModalTitle")}),(0,d.jsxs)("div",{className:"d-flex",children:[B&&(0,d.jsx)("div",{className:"mr-3",children:(0,d.jsx)("img",{src:B,className:j})}),(0,d.jsxs)("div",{className:"flex-direction-column",children:[(0,d.jsx)("h2",{className:"h3",children:A}),(0,d.jsxs)("div",{className:"text-sans-serif text-gray-500",children:[a("AddToOrderList_ProductCode")," ",k]}),(0,d.jsxs)("div",{className:"d-flex flex-row align-items-center",children:[(0,d.jsx)("span",{className:"h3",children:n})," ",(0,d.jsx)("span",{className:b,children:s})]}),(0,d.jsx)("p",{className:"text-sans-serif text-xs text-muted",children:a(c?"AddToOrderList_IncTax":"AddToOrderList_ExTax")})]})]})]})})};return(0,d.jsx)(x.a,{HeaderComponent:l,title:a("AddToOrderList_ModalTitle"),buttons:s,onModalClose:R,hasFooterSeparator:!0,children:(0,d.jsx)("div",{children:(0,d.jsxs)("form",{onSubmit:q,ref:n,children:[(0,d.jsxs)("div",{className:"".concat("AddToOrderListModal-module__formHeader--pnGr"),children:[(0,d.jsx)("h2",{className:"h3",children:a("AddToOrderList_OrderLists")}),(0,d.jsxs)("div",{children:[(0,d.jsx)("button",{className:"d-none",type:"button",children:a("AddToOrderList_New_OrderList")}),(0,d.jsx)(y,{phrases:t,toggleSelectedLists:U})]})]}),(0,d.jsx)("ul",{className:"AddToOrderListModal-module__list--vIbn",children:g.map(e=>(0,d.jsx)("li",{className:"AddToOrderListModal-module__listItem--LZhO",children:(0,d.jsxs)("label",{className:"d-flex",role:"button",children:[(0,d.jsx)("input",{type:"checkbox",className:"mr-3",name:JSON.stringify(e)}),(0,d.jsx)("span",{children:e.displayValue})]})},e.cartName))})]})})})}return null},T=e=>{const{iconClass:t,caption:a}=e.data,s=(0,r.wA)(),n=(0,r.d4)(e=>(0,i.C4)(e));return(0,d.jsx)(u,{...e,children:(0,d.jsxs)("a",{role:"button",onClick:()=>{var e;(0,v.BU)(s)({title:n.title,code:n.code,media:null===(e=n.variant)||void 0===e?void 0:e.media,unitOfMeasureCode:null==n?void 0:n.unitOfMeasureCode,variant:null==n?void 0:n.variant})},children:[(0,d.jsx)("span",{className:"fa fa-fw ".concat(t," text-theme-2")}),a]})})},w={Breadcrumb:"Breadcrumb-module__Breadcrumb--vGux",breadcrumbItem:"Breadcrumb-module__breadcrumbItem--KDF5",breadcrumbLastItem:"Breadcrumb-module__breadcrumbLastItem--FAJ2",breadcrumbItemLink:"Breadcrumb-module__breadcrumbItemLink--NDUk"};var L=a(2887),P=a(4211);function O(e,t){const a=[];for(let s=1;s<=t;s++){let t="swiper-pagination-bullet mr-1";e.index>=s&&(t+=" swiper-pagination-bullet-active",e.index===s&&(t+=" last")),a.push((0,d.jsx)("span",{className:t},s))}return a}const A=e=>{let{image:t}=e;return null!=t&&t.items&&0!==t.items.length?(0,d.jsxs)("picture",{children:[t.items.map((e,t)=>(0,d.jsx)("source",{media:e.media,srcSet:e.src},t)),(0,d.jsx)("img",{src:t.defaultSrc,alt:t.imageCaption,className:"img-fluid"})]}):null};var k=a(8713),M=a.n(k);const E=e=>e?e.full?(0,d.jsx)(I,{...e}):(0,d.jsx)(B,{...e}):null,I=e=>(0,d.jsxs)("div",{className:"ErrorFeedback-module__ReactComponentFullError--jsmU",children:[(0,d.jsx)("h3",{children:e.message}),(0,d.jsx)("pre",{children:JSON.stringify(e.model,null,2)})]}),B=e=>{var t,a;return(0,d.jsx)("div",{className:"ErrorFeedback-module__ReactComponentError--Covp",title:"Error rendering component: ".concat(null!==(t=null===(a=e.model)||void 0===a?void 0:a.name)&&void 0!==t?t:"unknown"),children:(0,d.jsx)("span",{className:"fa fa-times-circle"})})};E.propTypes={model:M().object,full:M().bool,message:M().string};var F=a(9571),R=a(4691);function q(e){const t=document.cookie.match(new RegExp("(^| )".concat(e,"=([^;]+)")));return t?t[2]:null}function U(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t));void 0!==a.maxAge&&(s+="; max-age=".concat(a.maxAge)),a.expires&&(s+="; expires=".concat(a.expires.toUTCString())),a.path?s+="; path=".concat(a.path):s+="; path=/",a.domain&&(s+="; domain=".concat(a.domain)),a.secure&&(s+="; secure"),a.sameSite&&(s+="; samesite=".concat(a.sameSite)),document.cookie=s}var V=a(7505),D=a(7438),K=a(2550),H=a(2178);const Q="cl_quotesKey",z=H.qK.enhanceEndpoints({addTagTypes:["QUOTES"]}).injectEndpoints({endpoints:e=>({getQuote:e.query({query:e=>
1{let{cartKey:t}=e;return{url:K.Ay.getUrl("/quotes/".concat(t)),method:"GET"}}}),upsertItem:e.mutation({query:e=>{let{cartKey:t,variantCode:a,unitOfMeasureCode:s,quantity:n=1,reference:l}=e;return{url:K.Ay.getUrl("/quotes/additem"),method:"POST",body:{cartKey:t,lines:[{variantCode:a,unitOfMeasureCode:s,quantity:n,reference:l}]}}},async onQueryStarted(e,t){let{cartKey:a,variantCode:s,unitOfMeasureCode:n,quantity:l=1,reference:o}=e,{dispatch:r,queryFulfilled:i}=t;const c=!!a,d=c?r(z.util.updateQueryData("getQuote",{cartKey:a},e=>{const t=e.lines.find(e=>e.variantCode===s&&e.unitOfMeasureCode===n);t&&(t.quantity+=l,t.reference=o)})):null;try{const{data:e}=await i;e.cartKey&&(U(Q,e.cartKey),c||r(z.util.upsertQueryData("getQuote",{cartKey:e.cartKey},e)))}catch{null==d||d.undo()}}}),updateQuote:e.mutation({query:e=>({url:K.Ay.getUrl("/quotes/update"),method:"POST",body:e}),async onQueryStarted(e,t){let{dispatch:a,queryFulfilled:s}=t;const n=e.cartKey?a(z.util.updateQueryData("getQuote",{cartKey:e.cartKey},t=>{Object.assign(t,e)})):null;try{await s}catch{null==n||n.undo()}}}),removeFromQuote:e.mutation({query:e=>{let{cartKey:t,variantCode:a}=e;return{url:K.Ay.getUrl("/quotes/deleteitem"),method:"POST",body:{cartKey:t,variantCode:a}}},async onQueryStarted(e,t){let{cartKey:a,variantCode:s}=e,{dispatch:n,queryFulfilled:l}=t;const o=n(z.util.updateQueryData("getQuote",{cartKey:a},e=>{e.lines=e.lines.filter(e=>e.variantCode!==s)}));try{const{data:e}=await l;e.cartKey&&U(Q,e.cartKey)}catch{o.undo()}}}),confirmQuote:e.mutation({query:e=>{let{cartKey:t,orderReference:a}=e;return{url:K.Ay.getUrl("/quotes/confirm"),method:"POST",body:{cartKey:t,orderReference:a}}},async onQueryStarted(e,t){let{cartKey:a}=e,{dispatch:s,queryFulfilled:n}=t;const l=s(z.util.updateQueryData("getQuote",{cartKey:a},e=>{e.status="status_confirmed_by_client"}));try{await n,function(e){U(e,"",{...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},maxAge:-1})}(Q)}catch{l.undo()}}})}),overrideExisting:!0}),{useGetQuoteQuery:W,useLazyGetQuoteQuery:G,useUpsertItemMutation:J,useRemoveFromQuoteMutation:Y,useUpdateQuoteMutation:Z,useConfirmQuoteMutation:X}=z,$=e=>{let{onClick:t,...a}=e;return(0,d.jsx)("div",{className:"row mb-3",children:(0,d.jsxs)("button",{className:"request-a-quote-btn btn-block m-0",type:"button","aria-label":"Request a quote",onClick:t,...a,children:[(0,d.jsx)("span",{className:"fa fa-file-text fa-lg mr-2 rounded-sm","aria-hidden":"true"}),(0,d.jsx)("span",{className:"btn-label",children:"Grotere afname? Offerte aanvragen"})]})})},ee=()=>{const[e]=J(),t=(0,r.d4)(e=>(0,i.C4)(e)),a=(0,r.d4)(e=>(0,V.i7)("request_a_quote")(e)),s=(0,r.d4)(e=>(0,D.mB)(e));return!a||null!=s&&s.isLoggedIn?null:(0,d.jsx)($,{onClick:async()=>{var a;await e({variantCode:(null==t||null===(a=t.variant)||void 0===a?void 0:a.code)||"",unitOfMeasureCode:(null==t?void 0:t.unitOfMeasureCode)||"",quantity:1,cartKey:q(Q)})}})},te=e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(ee,{...e})});var ae=a(2719),se=a(1557);const ne=()=>{var e,t,n,l,o,c;const u=(0,r.wA)(),m=(0,r.d4)(e=>(0,i.p1)(e)),[{data:h,error:x,isLoading:v},_]=se.g.get((null==m?void 0:m.length)>0?"/products/".concat(m[0]):null,{},{lazy:!0}),f=(0,r.d4)(e=>(0,p.et)(e)),g=f?"incTax":"exTax",j=null==h||null===(e=h.variants)||void 0===e?void 0:e.find(e=>e.code===h.defaultVariantCode),b=null!==(t=null==j||null===(n=j.media.find(e=>"Image"===e.type&&""!==e.thumbnail))||void 0===n?void 0:n.thumbnail)&&void 0!==t?t:null==j||null===(l=j.media.find(e=>"Image"===e.type))||void 0===l?void 0:l.src,C=ae.A.getUrl(b,80,80,!0),N=null==j||null===(o=j.unitsOfMeasure[0])||void 0===o?void 0:o.prices.current[g],y=(0,s.useCallback)(function(e){var t,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=null==e||null===(t=e.incTax)||void 0===t?void 0:t.numeric,l=null==e||null===(a=e.exTax)||void 0===a?void 0:a.numeric;if(!n||!l)return{itemPrice:"--",exTax:"--",incTax:"--"};const o=f?n/s:l/s;return{itemPrice:new Intl.NumberFormat("nl-NL",{style:"currency",currency:"EUR"}
1).format(o),exTax:e.exTax.formatted,incTax:e.incTax.formatted}},[f]),S=(0,s.useMemo)(()=>{var e,t;const a=null==j?void 0:j.unitsOfMeasure[0];if(null==a||!a.description||null==j||null===(e=j.unitsOfMeasure[0])||void 0===e||null===(t=e.prices)||void 0===t||!t.current)return(null==a?void 0:a.description)||"";if(a.itemsPerUnit>1){const{itemPrice:e}=y(j.unitsOfMeasure[0].prices.current,a.itemsPerUnit);return a.description.replace("#PRICE#",e)}return a.description},[j,y]);return(0,s.useEffect)(()=>{a.g.window&&null!=m&&m.length&&_()},[m,_]),!h||x||v?null:(0,d.jsxs)("div",{className:"".concat("AlternativeProduct-module__alternativeProduct--c5n_"," row mb-3"),children:[(0,d.jsx)("div",{className:"row mb-3",children:(0,d.jsx)("div",{className:"col",children:(0,d.jsx)("h2",{className:"h3 text-theme",children:"Besparen? Kies voor Premium A+"})})}),(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-auto",children:(0,d.jsx)("div",{className:"AlternativeProduct-module__image--iLOw",children:(0,d.jsx)("img",{src:C,width:80,height:80,alt:"Thumbnail image of ".concat(null!==(c=j.title)&&void 0!==c?c:h.title)})})}),(0,d.jsxs)("div",{className:"col",children:[(0,d.jsx)("h3",{className:"h3",children:j.title}),(0,d.jsxs)("span",{className:"text-muted",children:["Art.: ",j.code]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"AlternativeProduct-module__price--PEbW",children:null==N?void 0:N.formatted}),(0,d.jsx)("span",{className:"AlternativeProduct-module__priceDescription--uFEP",children:S})]}),(0,d.jsx)("div",{children:(0,d.jsx)("span",{className:"text-muted text-xs text-nowrap",children:f?"Incl. BTW":"Excl. BTW"})})]})]})]}),(0,d.jsx)("div",{className:"row w-100 justify-content-end",children:(0,d.jsx)("div",{className:"",children:(0,d.jsxs)("button",{className:"btn btn-cart btn-block p-2 px-3",onClick:()=>{const e=j.unitsOfMeasure[0],t=[{variantCode:j.code,orderAmount:1,unitOfMeasureCode:e.code,currentVariant:j}];(0,R.bE)(u)(t)},children:[(0,d.jsx)("i",{className:"fa cl-cart fa-lg"})," In winkelwagen"]})})})]})},le=e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(ne,{...e})});var oe=a(5522);const re={Labels:"Labels-module__Labels--JpOQ",Label:"Labels-module__Label--Xs4G",_1PLUS1:"Labels-module___1PLUS1--pR1Q",_1plus1:"Labels-module___1plus1--ez8n",_25KOR:"Labels-module___25KOR--Ub2C",_25kor:"Labels-module___25kor--omts",_2PLUS1:"Labels-module___2PLUS1--wQwS",_2plus1:"Labels-module___2plus1--B6Fx",_2PLUS2:"Labels-module___2PLUS2--VtFL",_2plus2:"Labels-module___2plus2--Rnmu",_3PLUS1:"Labels-module___3PLUS1--rn9Z",_3plus1:"Labels-module___3plus1--rxyO",_50KOR:"Labels-module___50KOR--brFb",_50kor:"Labels-module___50kor--O7i4",_AANB:"Labels-module___AANB--psHq",_aanb:"Labels-module___aanb--dLQn",_BEKEU:"Labels-module___BEKEU--K77A",_bekeu:"Labels-module___bekeu--acDp",_BEKO:"Labels-module___BEKO--avrG",_beko:"Labels-module___beko--nOyl",_CE3:"Labels-module___CE3--v3uZ",_ce3:"Labels-module___ce3--G0VO",_CLK:"Labels-module___CLK--ag2k",_clk:"Labels-module___clk--QSx_",_DUURZAAM:"Labels-module___DUURZAAM--rULl",_duurzaam:"Labels-module___duurzaam--qvM1",_GRAVER:"Labels-module___GRAVER--HDDR",_graver:"Labels-module___graver--WOVr",_INDBES:"Labels-module___INDBES--yzaO",_indbes:"Labels-module___indbes--q7XM",_MEEVERK:"Labels-module___MEEVERK--IJPK",_meeverk:"Labels-module___meeverk--qSdG",_MVO:"Labels-module___MVO--dNh3",_mvo:"Labels-module___mvo--xA7Y",_NIEUW:"Labels-module___NIEUW--FgfD",_nieuw:"Labels-module___nieuw--WtJz",_SALE:"Labels-module___SALE--FoT8",_sale:"Labels-module___sale--vrIv",_BLACKF:"Labels-module___BLACKF--Ba5t",_blackf:"Labels-module___blackf--s40l",_CAT1:"Labels-module___CAT1--rffR",_cat1:"Labels-module___cat1--nrIT",_CAT2:"Labels-module___CAT2--fj2q",_cat2:"Labels-module___cat2--J8Zc",_CAT3:"Labels-module___CAT3--yeic",_cat3:"Labels-module___cat3--dzaQ",_DIRECTLEV:"Labels-module___DIRECTLEV--Dexe",_directlev:"Labels-module___directlev--h43u",_ECOLO:"Labels-module___ECOLO--JUkl",_ecolo:"Labels-module___ecolo--y6oc",_BIOLO:"Labels-module___BIOLO--YenZ",_biolo:"Labels-module___biolo--PTEZ",_PROBIO:"Labels-module___PROBIO--lhTA",_probio:"Labels-module___probio--uJAI",_INPRIJS:"Labels-module___INPRIJS--xGcD",_inprijs:"Labels-module___inprijs--_AsP",_CHEMIEVRIJ:"Labels-module___CHEMIEVRIJ--aEuF",_chemievrij:"Labels-module___chemievrij--SKTK"},ie=e=>{let{labels:t=[]}=e;return(0,d.jsx)("div",{className:re.Labels,children:t.map(e=>(0,d.jsx)("span",{className:"".concat(re.Label," ").concat(re["_".concat(e.code)]," mb-2"),children:e.value},e.code))})},ce="Media-module__image--aKdr",de=e=>{let{media:t=[],alt:a=""}=e;const n=(0,s.useRef)();return(0,s.useEffect)(()=>{var e,t,a;n.current&&(null===(e=n.current)||void 0===e||e.slideTo(0),null===(t=n.current)||void 0===t||t.update(
1),null===(a=n.current)||void 0===a||a.lazy.load())},[t,n]),0===t.length?null:(0,d.jsx)("div",{className:"Media-module__mediaSwiper--AP0z",children:(0,d.jsx)(L.RC,{onSwiper:e=>{n.current=e},nested:!0,modules:[P.dK,P.dF],pagination:{type:"bullets",clickable:!0},lazy:!0,preloadImages:!1,centeredSlides:!0,spaceBetween:32,children:t.filter(Boolean).map((e,t)=>{const s=ae.A.getUrl(e.src,400,400,!0),n=0===t;return(0,d.jsxs)(L.qr,{children:[n&&(0,d.jsx)("img",{src:s,alt:a,loading:"eager",width:400,height:400,className:ce}),!n&&(0,d.jsx)("img",{"data-src":s,alt:a,className:"swiper-lazy ".concat(ce)})]},t)})})})},ue="1400",me="VariantOptions-module__LabelOptionDisabled--uCUV",he=e=>{let{item:t,optionCode:a,onOptionCodeSelect:s,selected:n=!1,allowDisable:l=!0}=e;const o="VariantOptions-module__ColorOption--SDCP"+(null!=t&&t.selected||n?" VariantOptions-module__ColorOptionSelected--ioqs":"")+(l&&t.disabled?" "+me:"")+" transition";return(0,d.jsx)("span",{className:o,role:"button",onClick:()=>s(a,t),children:(0,d.jsx)("img",{src:t.image,alt:t.value.value,title:t.value.value,className:"VariantOptions-module__ColorOptionImage--i3YJ"})})},pe=e=>{let{item:t,optionCode:a,onOptionCodeSelect:s,selected:n=!1,allowDisable:l=!0}=e;const o="VariantOptions-module__LabelOption--MitT"+(null!=t&&t.selected||n?" VariantOptions-module__LabelOptionSelected--tflR":"")+(l&&t.disabled?" "+me:"")+" transition";return(0,d.jsx)("span",{className:o,onClick:()=>s(a,t),role:"button",children:t.value.value})},xe=e=>{let{items:t=[],type:a,variant:n,optionCode:l,onOptionCodeSelect:o,allowDisable:r=!0}=e;const i=a===ue,c=(0,s.useRef)(null);return n?(0,d.jsx)("div",{className:"".concat("VariantOptions-module__VariantOptions--lNay"," option-").concat(a,"-").concat(l),children:(0,d.jsx)("div",{className:"VariantOptions-module__SwiperWrapper--c8Q6",children:(0,d.jsxs)(L.RC,{onSwiper:e=>{c.current=e},nested:!0,modules:[P.Vx],navigation:{lockClass:"d-none",disabledClass:"disabled",nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},slidesPerView:"auto",slidesOffsetBefore:36,slidesOffsetAfter:36,spaceBetween:16,observer:!0,children:[(0,d.jsx)("button",{className:"swiper-button-prev",onClick:()=>c.current.slidePrev()}),(0,d.jsx)("button",{className:"swiper-button-next",onClick:()=>c.current.slideNext()}),t.map((e,t)=>{const a=n&&e.value.code===n.value.code;return(0,d.jsxs)(L.qr,{children:[i&&(0,d.jsx)(he,{item:e,optionCode:l,onOptionCodeSelect:o,selected:a,allowDisable:r}),!i&&(0,d.jsx)(pe,{item:e,optionCode:l,onOptionCodeSelect:o,selected:a,allowDisable:r})]},t)})]})})}):(0,d.jsx)(d.Fragment,{})},ve={ProductTile:"ProductTile-module__ProductTile--yADH",VariantOptionsContainer:"ProductTile-module__VariantOptionsContainer--ddTg",ImageComponent:"ProductTile-module__ImageComponent--Uz_u",componentContent:"ProductTile-module__componentContent--ppsp",Meta:"ProductTile-module__Meta--i_s2",h3:"ProductTile-module__h3--Enks",pricing:"ProductTile-module__pricing--wWzU",Prices:"ProductTile-module__Prices--R3as",PriceLabel:"ProductTile-module__PriceLabel--E1ET",PriceLabelOld:"ProductTile-module__PriceLabelOld--v1vH",AddToCart:"ProductTile-module__AddToCart--iyOf",AddToCartAmount:"ProductTile-module__AddToCartAmount--FF94",AddToCartAmountUOM:"ProductTile-module__AddToCartAmountUOM--kkDS"},_e=e=>{var t,a,n,l,o,i;let{product:c,prices:u,phrases:m={},fallbackImage:h,showAddToCartButton:x=!0}=e;const v=(0,r.wA)(),_=(0,r.d4)(e=>(0,p.et)(e)),f=(0,oe.d)(),g=["xs","sm","md"].includes(f),j=c.variants,[b,C]=(0,s.useState)(j.find(e=>e.code===c.defaultVariantCode)),[N,y]=(0,s.useState)(null==b?void 0:b.unitsOfMeasure[0]),[S,T]=(0,s.useState)(c.optionCode1||""),[w,L]=(0,s.useState)(c.optionCode2||""),[P,O]=(0,s.useState)(c.availableOptionCodes1||[]),[A,k]=(0,s.useState)(c.availableOptionCodes2||[]),[M,E]=(0,s.useState)(1),I=(null==b?void 0:b.unitsOfMeasure)||[],B=P.find(e=>e.value.code===S),q=A.find(e=>e.value.code===w),U=P.length>0||A.length>0,V=(null==I?void 0:I.length)>1||!1;(0,s.useEffect)(()=>{T(c.optionCode1||""),L(c.optionCode2||""),O(c.availableOptionCodes1||[]),k(c.availableOptionCodes2||[])},[c.optionCode1,c.optionCode2]),(0,s.useEffect)(()=>
1{if(null!=q&&q.disabled){const e=A.filter(e=>!e.disabled);e.length>0&&L(e[0].value.code)}},[q,A]),(0,s.useEffect)(()=>{const e=j.find(e=>e.optionCode1===S&&e.optionCode2===w);e&&C(e)},[S,w]),(0,s.useEffect)(()=>{if(!b)return;let e=b.unitsOfMeasure[0];if(N){const t=b.unitsOfMeasure.find(e=>e.itemsPerUnit===N.itemsPerUnit);t&&(e=t)}y(e)},[b]);const D=(e,t)=>{if("optionCode1"===e){const e=j.filter(e=>e.optionCode1===t.value.code),a=[...new Set(e.map(e=>e.optionCode2))],s=A.map(e=>({...e,disabled:!a.includes(e.value.code)}));k(s),T(t.value.code)}else{const e=j.filter(e=>e.optionCode2===t.value.code),a=[...new Set(e.map(e=>e.optionCode1))],s=P.map(e=>({...e,disabled:!a.includes(e.value.code)}));O(s),L(t.value.code)}};function K(e){var t,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=null==e||null===(t=e.incTax)||void 0===t?void 0:t.numeric,l=null==e||null===(a=e.exTax)||void 0===a?void 0:a.numeric;if(!n||!l)return{itemPrice:"--",exTax:"--",incTax:"--"};const o=_?n/s:l/s;return{itemPrice:new Intl.NumberFormat("nl-NL",{style:"currency",currency:"EUR"}
1).format(o),exTax:e.exTax.formatted,incTax:e.incTax.formatted}}const H="".concat(null==b?void 0:b.code,":").concat(null==N?void 0:N.code),Q=u&&u[H]?u[H]:null==N?void 0:N.prices,z=(0,s.useMemo)(()=>{if(null==N||!N.description||null==Q||!Q.current)return"";if(N.itemsPerUnit>1){const{itemPrice:e}=K(Q.current,N.itemsPerUnit);return N.description.replace("#PRICE#",e)}return N.description},[N,null==Q?void 0:Q.current,_]),W=(0,s.useMemo)(()=>{if(null==N||!N.description||null==Q||!Q.old)return"";if(N.itemsPerUnit>1){const{itemPrice:e}=K(Q.old,N.itemsPerUnit);return N.description.replace("#PRICE#",e)}return N.description},[N,null==Q?void 0:Q.old,_]),G=b?[...b.media]:[];return 0===G.length&&G.push(h),(0,d.jsx)("div",{className:"".concat(ve.ProductTile),children:(0,d.jsxs)("div",{className:"".concat(ve.componentContent," px-3"),children:[c.labels.length>0&&(0,d.jsx)(ie,{labels:c.labels}),(0,d.jsx)("div",{className:"".concat(ve.ImageComponent),children:(0,d.jsx)("a",{href:null!==(t=null==b?void 0:b.url)&&void 0!==t?t:c.url,children:(0,d.jsx)(de,{media:G,alt:b.title})})}),(0,d.jsxs)("div",{className:"".concat(ve.Meta),children:[(0,d.jsx)("a",{href:null!==(a=null==b?void 0:b.url)&&void 0!==a?a:c.url,children:(0,d.jsx)("h3",{className:"".concat(ve.h3," h3 mb-0"),children:null!==(n=null==b?void 0:b.title)&&void 0!==n?n:c.title})}),(0,d.jsx)("p",{className:"text-sans-serif text-muted mb-3",children:(0,d.jsxs)("a",{href:null!==(l=null==b?void 0:b.url)&&void 0!==l?l:c.url,children:[m.productCode," ",(0,d.jsx)("span",{children:null!==(o=null==b?void 0:b.code)&&void 0!==o?o:c.code})]})})]}),Q&&(0,d.jsx)("div",{className:"".concat(ve.Prices),children:(0,d.jsxs)("a",{href:null!==(i=null==b?void 0:b.url)&&void 0!==i?i:c.url,children:[Q.old&&(0,d.jsxs)("span",{className:"".concat(ve.PriceLabelOld," text-decoration-line-through"),title:W,children:[(0,d.jsx)("span",{className:"h3",children:_?Q.old.incTax.formatted:Q.old.exTax.formatted}),(0,d.jsx)("span",{className:"ml-2",children:W})]}),(0,d.jsxs)("span",{className:"".concat(ve.PriceLabel," ").concat(Q.old?"text-primary":""),title:z,children:[(0,d.jsx)("span",{className:"h3",children:_?Q.current.incTax.formatted:Q.current.exTax.formatted}),(0,d.jsx)("span",{className:"ml-2",children:z})]}),(0,d.jsx)("p",{className:"text-sans-serif text-xs text-muted",children:_?m.incTax:m.exTax})]})}),!g&&(0,d.jsxs)(d.Fragment,{children:[U&&(0,d.jsxs)("div",{className:ve.VariantOptionsContainer,children:[P.length>0&&(0,d.jsx)(xe,{items:P,onOptionCodeSelect:D,optionCode:"optionCode1",type:P[0].typeCode,variant:B,allowDisable:!1}),A.length>0&&(0,d.jsx)(xe,{items:A,onOptionCodeSelect:D,optionCode:"optionCode2",type:A[0].typeCode,variant:q,allowDisable:!0})]}),x&&(0,d.jsxs)("div",{className:"".concat(ve.AddToCart," row pb-3 mx-0"),children:[(0,d.jsxs)("div",{className:"col pl-0 pr-1",children:[V&&(0,d.jsx)("select",{className:"".concat(ve.AddToCartAmountUOM," form-control custom-select"),value:N.code,onChange:e=>(e=>{const t=e.target.value,a=b.unitsOfMeasure.find(e=>e.code===t);y(a)})(e),children:(null==I?void 0:I.length)>0&&I.map(e=>(0,d.jsx)("option",{value:e.code,children:e.name},e.code))}),!V&&N&&(0,d.jsx)("input",{className:"".concat(ve.AddToCartAmount," form-control custom-control"),value:N.name,readOnly:!0})]}),(0,d.jsx)("div",{className:"col pr-0 pl-1",children:(0,d.jsxs)("div",{className:"input-group",children:[(0,d.jsx)("input",{onChange:e=>(e=>{E(parseInt(e.target.value,10))})(e),value:M,type:"number",min:"1",className:"form-control ".concat(ve.AddToCartAmount," pr-0"),name:"amount",autoComplete:"off",placeholder:"Aantal","aria-label":"aantal"}),(0,d.jsx)("div",{className:"input-group-append",children:(0,d.jsxs)("button",{className:"".concat(ve.AddToCartButton," btn btn-cart"),type:"button",onClick:()=>{if(0===M||isNaN(M)){const e=function(){var e;let t={Phrases:{}};try{t=JSON.parse(document.querySelector("[data-component=add-to-cart]").textContent)}catch(e){}return null===(e=t)||void 0===e?void 0:e.Phrases}();(0,F.oR)(e.AddToCart_NoProductMessage)}if(b&&N&&M){const e=[{orderAmount:M,variantCode:b.code,unitOfMeasureCode:N.code,currentVariant:b}];(0,R.bE)(v)(e)}},children:[(0,d.jsx)("i",{className:"fa cl-cart fa-lg"}),(0,d.jsx)("span",{className:"sr-only",children:m.addToCart})]})})]})})]})]})]})})};var fe=a(1160);const ge=a.p+"images/no-attribute-image5bff557a5af89a7898d3.svg";function je(e){const t=e.type.code;return e.items.map(e=>{var a;return{typeCode:t,codeValue:(null==e?void 0:e.code)||{code:"",value:""},value:(null==e?void 0:e.value)||{code:"",value:""},disabled:!1,image:(null===(a=e.images)||void 0===a?void 0:a.length)>0?e.images[0].src:ge}})}function be(e,t){var a,s,n;if(!e)return null;const{variants:l,variantOptions:o}=e;let r=t;const i=null!==(a=o[0])&&void 0!==a&&a.items?je(o[0]):[],c=null!==(s=o[1])&&void 0!==s&&s.items?je(o[1]):[];let d="",u="";if(t?(d=t.optionCode1,u=t.optionCode2):(r=l.find(t=>t.code===e.defaultVariantCode),r&&(d=r.optionCode1,u=r.optionCode2)),""!==d)for(let e=0;e<c.length;e++){const t=c[e].value.code,a=l.find(e=>e.optionCode1===d&&e.optionCode2===t);a||(c[e].disabled=!0)}return{...e,availableOptionCodes1:i,availableOptionCodes2:c,variant:r,optionCode1:d,optionCode2:u,unitOfMeasureCode:null===(n=r)||void 0===n?void 0:n.unitsOfMeasure[0].code}}const Ce={kleur:"1400",maat:"1300",materiaal:"1500",merk:"1100",toepassing:"1000"};
1function Ne(e){const t=e.split("/").filter(Boolean),a={};for(let e=0;e<t.length-1;e++){const s=Ce[t[e]];s&&(a[s]||(a[s]=[]),a[s].push(t[e+1]),e++)}return a}function ye(e,t){var a,s,n,l,o,r;const{variants:i,variantOptions:c}=e;if(null==i||!i.length||null==c||!c.length||!Object.keys(t).length)return;const d=null===(a=c[0])||void 0===a||null===(s=a.type)||void 0===s?void 0:s.code,u=null===(n=c[1])||void 0===n||null===(l=n.type)||void 0===l?void 0:l.code,m=d&&null!==(o=t[d])&&void 0!==o?o:[],h=u&&null!==(r=t[u])&&void 0!==r?r:[];if(m.length>0&&h.length>0)for(const e of m)for(const t of h){const a=i.find(a=>a.optionCode1===e&&a.optionCode2===t);if(a)return a}if(m.length>0)for(const e of m){const t=i.find(t=>t.optionCode1===e);if(t)return t}if(h.length>0)for(const e of h){const t=i.find(t=>t.optionCode2===e);if(t)return t}}const Se=e=>{var t,a,n,l,o;const c=(0,r.d4)(e=>(0,i.C4)(e)),[u,m]=(0,s.useState)(null);if((0,fe.b)(()=>{var e,t;const a=null==c||null===(e=c.variants)||void 0===e||null===(t=e.find(e=>null==e?void 0:e.substitutionProduct))||void 0===t?void 0:t.substitutionProduct;m(a||null),setTimeout(()=>{const e=document.querySelector('[class*="component product-media-carousel"]');e.style.filter="blur(7px) grayscale(80%)",e.style.pointerEvents="none"},0)},[c]),!u)return null;const h=be(u);return(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{"data-trans":!0,className:"h2 text-primary mb-2",children:"Bekijk onze vervangende product"}),(0,d.jsx)(_e,{product:h,phrases:(()=>{try{var e,t;const a=document.querySelector("[data-component=add-to-cart]");return a&&null!==(e=null===(t=JSON.parse(a.textContent||"{}"))||void 0===t?void 0:t.Phrases)&&void 0!==e?e:{}}catch{return{}}})(),prices:void 0,fallbackImage:null==h||null===(t=h.variants)||void 0===t||null===(a=t[0])||void 0===a||null===(n=a.media)||void 0===n?void 0:n[0],showAddToCartButton:null===(l=null===(o=e.data)||void 0===o?void 0:o.showAddToCartButton)||void 0===l||l},"".concat(h.defaultVariantCode,"-").concat(h.code))]})},Te=e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(Se,{...e})}),we=e=>{const t=(0,r.wA)(),{data:a}=e,[n,l]=(0,s.useState)(1),o=(0,r.d4)(e=>e.productDetail),i=a.enabled;return(0,d.jsx)(u,{...e,children:(0,d.jsx)("div",{className:"add-to-cart row","data-component":"product-add-to-cart",children:(0,d.jsxs)("div",{className:"d-flex w-100",children:[(0,d.jsx)("input",{"data-bind-value":"orderAmount",type:"number",min:"1",className:"form-control amount mr-3",name:"amount",autoComplete:"off",value:n,onChange:e=>l(parseInt(e.target.value,10)),placeholder:a.amount,disabled:!i}),(0,d.jsxs)("button",{className:"btn btn-cart btn-block",type:"button",onClick:i?()=>{if(0===n||isNaN(n)){const e=function(){var e;let t={Phrases:{}};try{t=JSON.parse(document.querySelector("[data-component=add-to-cart]").textContent)}catch(e){}return null===(e=t)||void 0===e?void 0:e.Phrases}();(0,F.oR)(e.AddToCart_NoProductMessage)}if(o.variant&&o.unitOfMeasureCode&&n){const e=[{orderAmount:n,variantCode:o.variant.code,unitOfMeasureCode:o.unitOfMeasureCode,currentVariant:o.variant}];(0,R.bE)(t)(e)}}:void 0,disabled:!i,children:[(0,d.jsx)("span",{className:"fa cl-cart fa-lg mr-2"}),(0,d.jsx)("span",{className:"btn-label",dangerouslySetInnerHTML:{__html:a.addToCart}})]})]})})})},Le="ProductSpecialistWide-module__iconLink--HE68",Pe="ProductSpecialistWide-module__icon--Oc5I",Oe="ProductSpecialistWide-module__link--ogXl";let Ae=function(e){return e.PUBLISHED="40-GEPUB",e.NOT_PUBLISHED="45-NI-GE",e.END_OF_LIFE_PRODUCT="50-EOL",e.END_OF_LIFE_LINE="99-EOL",e.FREE="10-VRIJ",e}({});const ke=e=>{const t=be(e.data.product,e.data.variant),[{data:a,error:s,isLoading:n},l]=se.g.get(e.data.product?"/products/".concat(e.data.product.code):null,{},{lazy:!0});return(0,fe.b)(()=>{0===t.variants.length&&l()},[]),(0,fe.b)(()=>{n||s||!a||c.Ay.dispatch((0,i.yz)(a))},[a,s,n]),(0,fe.b)(()=>{var e;try{if(t.status===Ae.END_OF_LIFE_LINE||t.status===Ae.END_OF_LIFE_PRODUCT){document.querySelector('[data-component="alternative-product"]').closest(".component").remove();const e=document.querySelector(".component.title").querySelector("h1");return void e.insertBefore(document.createTextNode("Niet meer leverbaar: "),e.firstChild)}}catch{}if(null!==(e=window)&&void 0!==e&&e.dataLayer&&t){const e={itemCategory:"",itemCategory2:"",itemCategory3:""};try{var a,s,n,l,o,r,i,c,d;const t=JSON.parse(document.querySelector(".structured-breadcrumb").querySelector('script[type="application/ld+json"]').textContent);e.itemCategory=null!==(a=null===(s=t.itemListElement[1])||void 0===s||null===(n=s.item)||void 0===n?void 0:n.name)&&void 0!==a?a:"",e.itemCategory2=null!==(l=null===(o=t.itemListElement[2])||void 0===o||null===(r=o.item)||void 0===r?void 0:r.name)&&void 0!==l?l:"",e.itemCategory3=null!==(i=null===(c=t.itemListElement[3])||void 0===c||null===(d=c.item)||void 0===d?void 0:d.name)&&void 0!==i?i:""}catch{}window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"view_item",ecommerce:{currency:"EUR",value:0,items:[{item_id:t.code,item_name:t.title,item_brand:"",item_category:e.itemCategory,item_category2:e.itemCategory2,item_category3:e.itemCategory3,price:0,quantity:1}]}})}},[]),null},Me=e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(ke,{...e})}),Ee=(0,r.Ng)((e,t)=>{var a,s;return{product:null!==(a=(0,i.C4)(e))&&void 0!==a?a:t.product,variant:null!==(s=(0,i.g2)(e))&&void 0!==s?s:t.variant}}
1)(e=>{var t,a,s,n;let{product:l,variant:o}=e;const r=null!==(t=null!==(a=null==o?void 0:o.title)&&void 0!==a?a:null==l?void 0:l.title)&&void 0!==t?t:"[Product Title]",i=null!==(s=null!==(n=null==o?void 0:o.code)&&void 0!==n?n:null==l?void 0:l.code)&&void 0!==s?s:"[Product Code]";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"component title",children:(0,d.jsx)("div",{className:"component-content",children:(0,d.jsx)("h1",{className:"h1",children:r})})}),(0,d.jsxs)("div",{"data-art-code":!0,className:"text-gray-500",children:[(0,d.jsx)("span",{children:"Art: "}),i]})]})}),Ie=()=>{const e=(0,r.wA)(),[t,a]=(0,s.useState)(!1),[n,l]=(0,s.useState)({title:"",code:"",media:[]}),o=(0,r.d4)(e=>e.lastAction),i=o.type===R.F1.actions.addToCart.type,c=function(){var e;let t={Phrases:{}};try{t=JSON.parse(document.querySelector("[data-component=add-to-cart]").textContent)}catch(e){}return null===(e=t)||void 0===e?void 0:e.Phrases}();!t&&i&&(l(o.payload.items[0].currentVariant),a(!0));const{title:u="",code:m="",media:h=[]}=n,{thumbnail:p=null}=(null==h?void 0:h.find(e=>!!e.thumbnail))||{},v=()=>{e({type:"modal/dismissModal"}),a(!1),l({title:"",code:"",media:[]})},_=[{type:"outline-primary",label:c.AddToCart_ContinueShopping,onClick:v},{type:"primary",label:c.AddToCart_GotoBasketPage,onClick:()=>{window.location.href="/winkelwagen?return=c",a(!1),l({title:"",code:"",media:[]})}}];return t?(0,d.jsx)(x.a,{title:c.AddToCart_Title,buttons:_,onModalClose:v,hasFooterSeparator:!0,children:(0,d.jsxs)("div",{className:"d-flex",children:[p&&(0,d.jsx)("div",{className:"mr-3",children:(0,d.jsx)("img",{src:p,className:"AddToCart-module__thumbnail--D6tf"})}),(0,d.jsxs)("div",{className:"flex-direction-row",children:[(0,d.jsx)("h2",{className:"h3",children:u}),(0,d.jsx)("span",{className:"text-sans-serif text-gray-500",children:"".concat(c.AddToCart_ItemNo).concat(m)})]})]})}):null},Be=()=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(Ie,{})});var Fe=a(3962),Re=a(4242);const qe=e=>{var t;return null==e||null===(t=e.productsListing)||void 0===t?void 0:t.entities},Ue=(0,Re.createSelector)(e=>e,e=>{var t;return null==e||null===(t=e.productsListing)||void 0===t?void 0:t.facetsOpen}),Ve=(0,Re.createSelector)(qe,e=>e&&e.sort),De=((0,Re.createSelector)(qe,e=>null==e?void 0:e.pagination),(0,Re.createSelector)(qe,e=>{var t;return null==e||null===(t=e.pagination)||void 0===t?void 0:t.items})),Ke=(0,Re.createSelector)(qe,e=>{var t;return null==e||null===(t=e.pagination)||void 0===t?void 0:t.relative}),He=(0,Re.createSelector)(qe,e=>null==e?void 0:e.active),Qe=((0,Re.createSelector)(qe,e=>null==e?void 0:e.results),(0,Re.createSelector)(qe,e=>null==e?void 0:e.total)),ze=(0,Re.createSelector)(qe,e=>null==e?void 0:e.facets),We=(0,Re.createSelector)(ze,e=>e.filter(e=>-1!==e.items.findIndex(e=>!0===e.selected))||[]);(0,Re.createSelector)(We,e=>e.map(e=>{const t=e.items.filter(e=>!0===e.selected);return{...e,items:t}}));var Ge=a(8009),Je=a(1213);const Ye="undefined"==typeof window,Ze=(()=>{if(Ye)return!1;try{const e=navigator.userAgent||"";return e.includes("Googlebot")||e.includes("Google Web Preview")}catch(e){return!1}})(),Xe=e=>{let{facet:t,initialExpanded:a=!1,onFacetChange:n,idPrefix:l}=e;const[o,r]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{r(a)},[]),(0,d.jsxs)("div",{className:"".concat("CategoryFacets-module__CategoryFacetsFilter--Cl03"," px-3 px-lg-0"),"data-testid":"CategoryFacets:Facet",children:[(0,d.jsx)("a",{className:"CategoryFacets-module__CategoryFacetsFilterToggle--QTAO","data-toggle":"collapse",role:"button","aria-expanded":o,"aria-controls":"facet-".concat(t.type.code),onClick:()=>r(!o),children:(0,d.jsx)("span",{className:"CategoryFacets-module__FacetToggleValue--gV2P",children:t.type.value})}),(0,d.jsx)(Ge.A,{in:o,children:(0,d.jsx)("div",{id:"".concat(l,"-").concat(t.type.code),children:(0,d.jsx)("ul",{className:"mb-3",children:t.items.map(e=>{var a,s;const l=null!==(a=(e.urlSet.web.match(/\//g)||[]).length)&&void 0!==a?a:0,o=Ze&&l>12&&!e.selected;return(0,d.jsx)("li",{className:"w-100",children:(0,d.jsxs)("label",{className:"C
1ategoryFacets-module__FacetLabel--_kQ9",role:"button",children:[(0,d.jsx)("input",{className:"custom-checkbox custom-checkbox--themed mr-1",type:"checkbox",value:null===(s=e.urlSet)||void 0===s?void 0:s.api,onChange:()=>n(e),rel:e.rel,checked:e.selected,disabled:o,"data-testid":"FacetItem:".concat(t.type.code,":").concat(e.value.code)}),(0,d.jsxs)("span",{className:"CategoryFacets-module__FacetLabelValue--D6YG",children:[" ",e.value.value]}),(0,d.jsxs)("span",{children:["(",e.hits,")"]})]})},e.value.code)})})})})]},t.type.code)},$e=e=>{let{facets:t,isOpen:a,onFacetChange:s,productCount:n,toggleFacetsOpen:l,phrases:o,idPrefix:r="facet"}=e;const i=async e=>{s(e)},c=1===n?o.product:o.products,u=o.open_facets_show.replace("#COUNT#",String(n)).replace("#PRODUCTS#",c);return(0,Je.y)(a),(0,d.jsxs)("div",{className:"".concat("CategoryFacets-module__CategoryFacets--ffPm"," ").concat(a?"isOpen":""),children:[(0,d.jsxs)("div",{className:"".concat("CategoryFacets-module__FacetsModalHeader--P9_y"," d-lg-none p-3"),"data-testid":"CategoryFacets:ModalHeader",children:[(0,d.jsx)("span",{className:"h1",children:o.open_facets_title}),(0,d.jsxs)("button",{type:"button",className:"btn btn-link p-0",onClick:l,children:[(0,d.jsx)("span",{className:"fa fa-times text-theme text-lg mr-1"}),(0,d.jsx)("span",{className:"text-sans-serif text-gray-900 text-nowrap","data-testid":"CategoryFacets:CloseButton",children:o.open_facets_close})]})]}),(0,d.jsx)("div",{className:"CategoryFacets-module__FacetsModalContent--Zm5H","data-testid":"CategoryFacets:ModalContent",children:t.map(e=>{const t=e.items.findIndex(e=>!0===e.selected)>-1;return(0,d.jsx)(Xe,{facet:e,initialExpanded:t,onFacetChange:i,idPrefix:r},e.type.code)})}),(0,d.jsx)("div",{className:"".concat("CategoryFacets-module__FacetsModalFooter--Qn1a"," d-lg-none p-3"),children:(0,d.jsx)("button",{type:"button",className:"btn btn-primary btn-xl btn-block",onClick:l,children:u})})]})},et=(0,r.Ng)((e,t)=>{var a;const s=ze(e),n=Ue(e),l=Qe(e);return{...t,facets:(null==s?void 0:s.length)>0?s:null!==(a=t.facets)&&void 0!==a?a:[],isOpen:null!=n&&n,productCount:null!=l?l:t.productCount}},e=>({onFacetChange:t=>(0,Fe.d$)(e)({apiUrl:"".concat(t.urlSet.api,"?content=1"),webUrl:t.urlSet.web}),toggleFacetsOpen:()=>{e((0,Fe.br)())}}))($e);function tt(e){const t=t=>{const{data:a,...s}=t,n={...s,...a?{...a}:{}},l=(t.className?t.className:"")+(t.renderingCssClass?" "+t.renderingCssClass:"")+(t.styles?" "+t.styles:"")+" component",o=e.displayName||e.name||"UnknownComponent";return(0,d.jsx)("div",{className:l,"data-testid":"WithScProps(Component(".concat(o,"))"),children:(0,d.jsx)("div",{className:"component-content",children:(0,d.jsx)(e,{...n})})})},a=e.displayName||e.name||"Component";return t.displayName="WithScProps(".concat(a,")"),t}const at=e=>{let{items:t,phrases:a,onFilterBadgeClick:s}=e;return t&&0!==t.length?(0,d.jsxs)("div",{className:"FilterBadges-module__FilterBadgeList--t_DO",children:[(0,d.jsx)("span",{className:"text-color-basic text-nowrap mb-1 mr-2",children:a.active_filters}),t.map(e=>(0,d.jsx)("div",{className:"FilterBadges-module__FilterBadge--x2Fk",children:(0,d.jsxs)("button",{className:"badge btn bg-theme-2 text-white mr-2",role:"button",rel:e.rel,onClick:t=>(async(e,t)=>{e.preventDefault(),s(t)})(t,e),"data-testid":"Badge:".concat(e.code.code,":").concat(e.value.code),children:[(0,d.jsxs)("span",{className:"FilterBadges-module__code--_ftr",children:[e.code.value,": "]}),(0,d.jsx)("span",{className:"FilterBadges-module__value--lOT3",children:e.value.value}),(0,d.jsx)("span",{className:"fa fa-times ml-2"})]})},"".concat(e.code.code,":").concat(e.value.code)))]}):null},st=(tt(at),(0,r.Ng)((e,t)=>{var a;const s=He(e),n=null!=s?s:null==t?void 0:t.items;return{...t,items:n,phrases:null!==(a=null==t?void 0:t.phrases)&&void 0!==a?a:{}}},e=>({onFilterBadgeClick:t=>(0,Fe.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web})}))(at)),nt=e=>{var t,a;const s=(0,r.wA)();return(0,d.jsx)("button",{className:"btn btn-outline-primary btn-lg d-lg-none",onClick:()=>s((0,Fe.br)()),type:"button","data-testid":"OpenFacetsButton",children:null!==(t=null===(a=e.phrases)||void 0===a?void 0:a.open_facets_button)&&void 0!==t?t:""})},lt="Pagination-module__PageLink--Yulv",ot=e=>{var t,a,s,n,l,o;let{items:r,relative:i,onPaginationChange:c}=e;const u=!(null==i||null===(t=i.prev)||void 0===t||null===(a=t.urlSet)||void 0===a||!a.web),m=!(null==i||null===(s=i.next)||void 0===s||null===(n=s.urlSet)||void 0===n||!n.web),h=async(e,t)=>{e.preventDefault(),c(t),window.scrollTo({top:0,behavior:"smooth"})};return(0,d.jsx)("div",{className:"Pagination-module__PaginationContainer--BPcs",children:(0,d.jsxs)("ul",{className:"Pagination-module__Pagination--H_R6",children:[u&&(0,d.jsx)("li",{className:"d-none d-sm-block",children:(0,d.jsx)("a",{href:null===(l=i.prev.urlSet)||void 0===l?void 0:l.web,className:"".concat(lt," ").concat("Pagination-module__PageLinkPrev--c90d"," btn btn-square"),rel:"prev",onClick:e=>h(e,i.prev),children:i.prev.label})}),(null==r?void 0:r.length)>0&&r.map((e,t)=>{var a;return(0,d.jsx)("li",{children:(0,d.jsx)("a",{href:null===(a=e.urlSet)||void 0===a?void 0:a.web,className:"".concat(lt," ").concat(null!=e&&e.selected?"Pagination-module__PageLinkSelected--rSuZ":""),onClick:t=>h(t,e),children:e.label})},t)}),m&&(0,d.jsx)("li",{className:"d-none d-sm-block",children:(0,d.jsx)("a",{href:null===(o=i.next.urlSet)||void 0===o?void 0:o.web,className:"".concat(lt," ").concat("Pagination-module__PageLinkNext--qV4Z"," btn btn-square"),rel:"next",onClick:e=>h(e,i.next),children:i.next.label})})]})})},rt=(0,r.Ng)((e,t)=>{const a=(e=>{var t;return null==e||null===(t=e.productsListing)||void 0===t?void 0:t.loading})(e);if("fulfilled"===a){const t=De(e),a=Ke(e);return{items:t,relative:{next:null==a?void 0:a.next,prev:null==a?void 0:a.prev}}}return{...t}},e=>({onPaginationChange:t=>(0,Fe.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web})}))(ot),it=(0,r.Ng)((e,t)=>{var a;const s=Qe(e),n=null!=s?s:null==t?void 0:t.total;return{...t,total:n,phrases:null!==(a=null==t?void 0:t.phrases)&&void 0!==a?a:{}}})(e=>{const{total:t,phrases:a}=e;if(!t)return null;const s=1===t?a.product:a.products;return(0,d.jsxs)("h3",{className:"h2 mb-0",children:[" ",t," ",s]})}),ct=e=>{var t,a,s;let{items:n,updateSortOrder:l}=e;const o=null!==(t=null===(a=n.filter(e=>e.selected)[0])||void 0===a?void 0:a.code)&&void 0!==t?t:null===(s=n[0])||void 0===s?void 0:s.code;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("select",{className:"custom-select custom-select-lg",defaultValue:o,onChange:async e=>{e.preventDefault();const t=e.target.options[e.target.selectedIndex];if(!t)return;const a={urlSet:{api:t.getAttribute("data-apiurl"),web:t.getAttribute("data-weburl")}};l(a)},children:n.map(e=>{var t,a;return(0,d.jsx)("option",{value:e.code,"data-weburl":null===(t=e.urlSet)||void 0===t?void 0:t.web,"data-apiurl":null===(a=e.urlSet)||void 0===a?void 0:a.api,rel:e.rel,children:e.value},e.code)})})})},dt=(0,r.Ng)((e,t)=>{var a;const s=Ve(e);return{...t,items:(null==s?void 0:s.length)>0?s:null!==(a=t.items)&&void 0!==a?a:[]}},e=>({updateSortOrder:t=>(0,Fe.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web})}))(ct);var ut=a(3375);function mt(){const[{data:e,error:t,isUpdating:a},s]=se.g.post("products/prices");return{userPrices:e,fetchUserPricesError:t,isUserPricesLoading:a,fetchUserPrices:s}}const ht="SwipeableProductTileList-module__btnListSlide--YleJ",pt=e=>{const t=(0,s.useRef)(null),a="undefined"!=typeof window?Ne(window.location.pathname):{},{fallbackImage:n,hideGliderNavigation:l=!1,phrases:o,prices:r,products:i,slidesPerView:c,title:u,showAddToCartButton:m=!0}=e;return(0,d.jsxs)("div",{className:"product-listing-wrapper",children:[u&&(0,d.jsx)("h2",{className:"h2",dangerouslySetInnerHTML:{__html:u}}),(0,d.jsx)("div",{className:"component-content SwipeableProductTileList-module__SwipeableProductTileList--UDdc",children:(0,d.jsxs)(L.RC,{breakpoints:{0:{slidesPerView:1},768:{slidesPerView:c}},modules:[P.Vx],height:460,spaceBetween:16,navigation:{lockClass:"d-none",disabledClass:"disabled",nextEl:".swiper-button-next.".concat(ht),prevEl:".swiper-button-prev.".concat(ht)},onSwiper:e=>{t.current=e},children:[i.map((e,t)=>{const s=be(e,ye(e,a));return null!=s&&s.variant?(0,d.jsx)(L.qr,{children:(0,d.jsx)(_e,{product:s,prices:r[e.code],phrases:o,fallbackImage:n,showAddToCartButton:m},e.code)},"".concat(e.code,"-").concat(t)):null}),!l&&(0,d.jsxs)("div",{className:"SwipeableProductTileList-module__buttons--fPzl",children:[(0,d.jsx)("button",{className:"swiper-button-prev btn btn-square ".concat(ht),onClick:()=>t.current.slidePrev(),children:(0,d.jsx)("span",{className:"sr-only",children:"prev"})}),(0,d.jsx)("button",{className:"swiper-button-next btn btn-square btn-list-slide ".concat(ht),onClick:()=>t.current.slideNext(),children:(0,d.jsx)("span",{className:"sr-only",children:"next"})})]})]})})]})},xt="ProductTileList-module__ProductTileList--spEi",vt=e=>{var t,a;const{fetchUserPrices:n}=mt(),l=(0,r.d4)(e=>
1e.productsListing),[o,i]=(0,s.useState)({}),c="undefined"!=typeof window?Ne(window.location.pathname):{},{title:u,hasGlider:m,hideGliderNavigation:h,slidesPerView:p,phrases:x,fallbackImage:v}=e,_=null!==(t=null===(a=l.entities)||void 0===a?void 0:a.results)&&void 0!==t?t:e.products;return(0,s.useEffect)(()=>{if(ut._.user.isLoggedIn){const e=new Map,t=_.filter(e=>!Object.prototype.hasOwnProperty.call(o,e.code)).reduce((t,a)=>{const s=a.variants.map(t=>t.unitsOfMeasure.map(s=>(e.set(t.code,a.code),{VariantCode:t.code,UnitOfMeasureCode:s.code})));return t.concat(s)},[]).flat();t.length>0&&n(t).then(t=>{const a={...o};t.data.map(t=>{if(!e.get(t.variantCode))return void console.log("VariantCode not found in variantProductMapping: ".concat(t.variantCode));const s=e.get(t.variantCode);a[s]||(a[s]={});const n="".concat(t.variantCode,":").concat(t.unitOfMeasureCode);a[s][n]=t}),i(a)})}},[_]),_?m?(0,d.jsx)(pt,{fallbackImage:v,hideGliderNavigation:h,phrases:x,prices:o,products:_,slidesPerView:p,title:u,showAddToCartButton:e.showAddToCartButton}):(0,d.jsx)("div",{className:"".concat(xt),children:_.map((t,a)=>{const s=be(t,ye(t,c));return null!=s&&s.variant?(0,d.jsx)(_e,{product:s,phrases:x,prices:o[s.code],fallbackImage:v,showAddToCartButton:e.showAddToCartButton},"".concat(s.code,"-").concat(a)):null})}):m&&e.isEdit?(0,d.jsx)("h2",{className:"h2",dangerouslySetInnerHTML:{__html:u}}):null},_t="ProductVariantSelector-module__pricelabelPrice--mlLt",ft="ProductVariantSelector-module__pricelabelUnitOfMeasure--EAx7",gt="ProductVariantSelector-module__option--CAWO",jt="ProductVariantSelector-module__optionLabel--Koht",bt="ProductVariantSelector-module__unitOfMeasureActive--w3g5",Ct=e=>{var t,a,n,l;const o=(0,r.wA)(),{data:c}=e,u=c.phrases,[m,h]=(0,s.useState)(()=>{var e;const t=be(c.product,c.variant);return t.unitOfMeasureCode=null===(e=t.variant)||void 0===e?void 0:e.unitsOfMeasure[0].code,t});(0,s.useEffect)(()=>{o((0,i.yz)(m))},[]);const[p,x]=(0,s.useState)({variantCode:m.variant.code,unitCode:m.variant.unitsOfMeasure[0].code}),v=m.variant,_=v.unitsOfMeasure,f=_.find(e=>e.code===p.unitCode),g=(0,oe.d)(),j=(0,r.d4)(e=>null==e?void 0:e.preferences),b=f.prices,{locale:C="nl-NL",displayTax:N=!1}=j,y=(null==v?void 0:v.url)||"";(0,s.useEffect)(()=>{if(y)try{const e=new URL(window.location.href),t=new URLSearchParams(e.search),a=new URL(window.location.href);a.pathname=y,a.search=t.toString(),window.history.replaceState(null,"","".concat(a.toString()))}catch(e){}},[y]);const S=(0,s.useCallback)(e=>{var t,a,s;const n=null!==(t=e.optionCode1)&&void 0!==t?t:v.optionCode1,l=null!==(a=e.optionCode2)&&void 0!==a?a:v.optionCode2;let r=m.variants.find(e=>e.optionCode1===n&&e.optionCode2===l);if(!r&&(r=m.variants.find(e=>e.optionCode1===n),!r))return;const d=be(c.product,r),u=r.unitsOfMeasure.filter(e=>e.itemsPerUnit===f.itemsPerUnit)[0],p=null!==(s=null==u?void 0:u.code)&&void 0!==s?s:r.unitsOfMeasure[0].code;d.unitOfMeasureCode=p,h(d),o((0,i.yz)(d)),x({variantCode:r.code,unitCode:p})},[v,m.variants,c.product,f.itemsPerUnit,o]),T=(0,s.useCallback)(e=>{x({...p,unitCode:e}),o((0,i.Qd)(e))},[p,o]);function w(e){var t,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=null==e||null===(t=e.incTax)||void 0===t?void 0:t.numeric,l=null==e||null===(a=e.exTax)||void 0===a?void 0:a.numeric;if(!n||!l)return{itemPrice:"--",exTax:"--",incTax:"--"};const o=N?n/s:l/s;return{itemPrice:new Intl.NumberFormat(C,{style:"currency",currency:"EUR"}
1).format(o),exTax:b.current.exTax.formatted,incTax:b.current.incTax.formatted}}const L=["xs","sm"].includes(g),P=j.displayTax?(null==b?void 0:b.current.incTax.formatted)||"":(null==b?void 0:b.current.exTax.formatted)||"",O=j.displayTax?(null==b||null===(t=b.old)||void 0===t||null===(a=t.incTax)||void 0===a?void 0:a.formatted)||"":(null==b||null===(n=b.old)||void 0===n||null===(l=n.exTax)||void 0===l?void 0:l.formatted)||"",A=(0,s.useRef)(),k=(e=>{const[t,a]=(0,s.useState)(0);return(0,s.useEffect)(()=>{if(e.current&&0===t){const{current:t}=e,s=t.getBoundingClientRect(),{height:n}=s;a(Math.round(n))}},[e]),t})(A),M=e=>{let{options:t,optionCodes:a,index:s}=e;const n="optionCode".concat(s+1),l=0===s?v.optionCode1:v.optionCode2;return(0,d.jsxs)("div",{className:"w-100 component",children:[(0,d.jsx)("strong",{className:"d-block mb-2",children:t.type.value}),L&&(0,d.jsx)("select",{className:"custom-select custom-select-lg",onChange:e=>S({[n]:e.target.value}),value:l,children:t.items.map(e=>{var t;const{code:s,value:n}=(null==e?void 0:e.value)||{},l=!0===(null===(t=a.find(e=>e.value.code===s))||void 0===t?void 0:t.disabled);return(0,d.jsx)("option",{value:s,disabled:l,children:n},"".concat(s,"-").concat(n))})}),!L&&(0,d.jsxs)("div",{className:"".concat("ProductVariantSelector-module__variantOptionsSize--Uo77"),children:[(0,d.jsx)("div",{ref:A,className:"".concat("ProductVariantSelector-module__variantCollapseContainer--_tQX"," ").concat(k>130?"collapsable":"show"),children:t.items.map(e=>{var t;const{code:s,value:o}=(null==e?void 0:e.value)||{},r=null===(t=a.find(e=>e.value.code===s))||void 0===t?void 0:t.disabled,i=gt+" "+jt+(s===l?" ProductVariantSelector-module__optionLabelActive--nISp":"")+(r?" ProductVariantSelector-module__optionLabelDisabled--B2Li":"")+" transition";return(0,d.jsx)("span",{className:i,onClick:()=>!r&&S({[n]:s}),children:o},"".concat(s,"-").concat(o))})}),(0,d.jsx)("div",{className:"".concat("ProductVariantSelector-module__variantCollapseButtonContainer--awxc"," text-center w-100"),children:(0,d.jsxs)("button",{type:"button",className:"btn btn-outline-primary btn-lg",onClick:()=>A.current.classList.toggle("show"),children:[(0,d.jsx)("span",{className:"showMore",children:u.showMore}),(0,d.jsx)("span",{className:"showLess",children:u.showLess})]})})]})]})};let E=f.description;if(f.itemsPerUnit>1){const{itemPrice:e}=w(b.current,f.itemsPerUnit);E=E.replace("#PRICE#",e)}const I=_t+(O?" text-primary":"");let B=f.description;if(f.itemsPerUnit>1&&b.old){const{itemPrice:e}=w(b.old,f.itemsPerUnit);B=B.replace("#PRICE#",e)}const F=_t+(O?" text-decoration-line-through":"");return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"w-100 component",children:[O&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:F,children:O}),(0,d.jsx)("span",{className:ft,children:B})]}),(0,d.jsx)("div",{className:"ProductVariantSelector-module__pricelabel--d0dK",children:P&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:I,children:P}),(0,d.jsx)("span",{className:ft,children:E})]})}),(0,d.jsx)("span",{className:"text-muted text-sm",children:N?"Incl. BTW":"Excl. BTW"})]}),m.variantOptions.map((e,t)=>{let a;return a=0===t?m.availableOptionCodes1:m.availableOptionCodes2,e.type.code===ue?(0,d.jsx)(Nt,{phrases:u,currentVariant:v,handleVariantChange:S,index:t,options:e.items},t):(0,d.jsx)(M,{index:t,options:e,optionCodes:a},t)}),(0,d.jsxs)("div",{className:"w-100 component",children:[(0,d.jsx)("strong",{className:"d-block mb-2",children:u.unitLabel}),L&&(0,d.jsx)("select",{className:"custom-select custom-select-lg",onChange:e=>T(e.target.value),value:f.code,children:_.map(e=>{const{code:t,name:a,prices:s}=e,{itemPrice:n}=w(s.current,1),l=e.code===f.code?[bt]:"";return(0,d.jsxs)("option",{className:l,value:t,children:[a," ",n]},t)})}),!L&&(0,d.jsx)("div",{className:"ProductVariantSelector-module__allUnitsOfMeasure--zHfk",children:(null==_?void 0:_.length)&&_.map((e,t)=>{const{code:a,name:s,prices:n}=e,{itemPrice:l}=w(n.current,1),o=e.code===f.code,r=gt+" "+jt+" ProductVariantSelector-module__unitOfMeasure--HClS"+(o&&1!==_.length?" "+bt:"")+(1===_.length?" ProductVariantSelector-module__unitOfMeasureSingle--tfWi":"")+" transition";return(0,d.jsxs)("span",{className:r,onClick:()=>T(a),children:[(0,d.jsx)("strong",{children:s}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{className:"text-muted text-sm",children:l})]},"".concat(t,"-").concat(a))})})]})]})},Nt=e=>{let{handleVariantChange:t,currentVariant:a,phrases:s,options:n,index:l}=e;const o="optionCode".concat(l+1),r=0===l?a.optionCode1:a.optionCode2;return(0,d.jsxs)("div",{className:"mb-3",children:[(0,d.jsx)("strong",{className:"d-block mb-2",children:s.colorLabel}),(0,d.jsx)("div",{className:"ProductVariantSelector-module__variantOptions--ybUz",children:n.map((e,a)=>{var s;const{code:n,value:l}=(null==e?void 0:e.value)||{},i=gt+" ProductVariantSelector-module__optionColor--qqNz"+(n===r?" ProductVariantSelector-module__optionColorActive--AVEr":"")+" transition tooltip",c=null===(s=e.images[0])||void 0===s?void 0:s.src;return c?(0,d.jsxs)("span",{className:i,onClick:()=>t({[o]:n}),children:[(0,d.jsx)("img",{src:c,alt:l,className:"ProductVariantSelector-module__colorImage--S8_l"}),(0,d.jsx)("span",{className:"tooltip_text",children:l})]},"".concat(a,"-").concat(n)):null})})]})};
1var yt=a(3997),St=a(9437),Tt=a(8432);const wt=e=>{let{PageHeader:t,PageFooter:a,children:n,isOpen:l}=e;const[o,r]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{r(!0)},[]),(0,Je.y)(l),(0,fe.b)(()=>(l&&document.body.classList.toggle("isFullPageScrollpaneOpen"),()=>document.body.classList.remove("isFullPageScrollpaneOpen")),[l]),o?(0,d.jsxs)("div",{className:"".concat("FullPageScrollPane-module__fullPage--t3xE"," ").concat(l?"FullPageScrollPane-module__isOpen--gA2x":""),children:[t&&(0,d.jsx)("div",{className:"FullPageScrollPane-module__fullPageHeader--FVYH",children:t}),(0,d.jsx)("div",{className:"FullPageScrollPane-module__fullPageScrollPane--PZwR",children:(0,d.jsx)("div",{className:"FullPageScrollPane-module__fullPageScrollPaneContent--hwJr",children:n})}),a&&(0,d.jsx)("div",{className:"FullPageScrollPane-module__fullPageFooter--aczj",children:a})]}):null},Lt=e=>{let{children:t,selector:a="#portal"}=e;const l=(0,s.useRef)(null),[o,r]=(0,s.useState)(!1);return(0,fe.b)(()=>(l.current=document.querySelector(a),l.current&&r(!0),()=>r(!1)),[a]),o?(0,n.createPortal)(t,l.current):null},Pt=(e,t)=>{let a;return function(s){a&&clearTimeout(a),a=setTimeout(()=>{a=null,e.call(s)},t)}};var Ot=a(490);const At=e=>e instanceof Date,kt=e=>null===e,Mt=e=>"object"==typeof e,Et=e=>!kt(e)&&!Array.isArray(e)&&Mt(e)&&!At(e),It=e=>kt(e)||!Mt(e);function Bt(e,t){if(It(e)||It(t))return e===t;if(At(e)&&At(t))return e.getTime()===t.getTime();const a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(const n of a){const a=e[n];if(!s.includes(n))return!1;if("ref"!==n){const e=t[n];if(At(a)&&At(e)||Et(a)&&Et(e)||Array.isArray(a)&&Array.isArray(e)?!Bt(a,e):a!==e)return!1}}return!0}const Ft=e=>{const{onResult:t,onError:a,scanDelay:n,hints:l,deviceId:o,stopDecoding:r}=e,i=(0,s.useRef)(!1),c=(0,s.useRef)(t),d=(0,s.useRef)(a),u=(0,s.useRef)(null),[m,h]=(0,s.useState)(e.constraints),p=(0,s.useMemo)(()=>new Ot.BrowserMultiFormatReader(l,n),[]),x=(0,s.useCallback)((e,t)=>{if(e&&c.current(e),t){if(t instanceof Ot.NotFoundException)return;if(t instanceof DOMException&&"IndexSizeError"===t.name)return;d.current(t)}},[]),v=(0,s.useCallback)(()=>{p.reset()},[p]),_=(0,s.useCallback)(()=>{p.stopAsyncDecode()},[p]),f=(0,s.useCallback)(async()=>{if(u.current)try{if(o)await p.decodeFromVideoDevice(o,u.current,x);else{const e={audio:!1,video:m};await p.decodeFromConstraints(e,u.current,x)}}catch(e){d.current(e)}},[p,o,m,x]);return(0,s.useEffect)(()=>{if(i.current=!0,!r)return(async()=>{await f(),i.current||v()})(),()=>{i.current=!1,v()};_()},[f,v,r]),(0,s.useEffect)(()=>{Bt(e.constraints,m)||h(e.constraints)},[e.constraints]),(0,s.useEffect)(()=>{c.current=t},[t]),(0,s.useEffect)(()=>{d.current=a},[a]),{ref:u,start:f,stop:r}},Rt={facingMode:"environment",width:{min:640,ideal:720,max:1920},height:{min:640,ideal:720,max:1080}},qt=e=>{var t,a;const{result:n,video:l,constraints:o,deviceId:r,scanDelay:i}=e,c=(0,s.useRef)(null),u=(e=>
1{const[t,a]=(0,s.useState)([]);return(0,fe.b)(()=>{var t,s;let n;const l={audio:!1,video:null!=e?e:Rt},o=()=>{try{navigator.mediaDevices.getUserMedia(l).then(e=>{const t=[];n=e,e.getVideoTracks().forEach(e=>{t.push(e.getSettings())}),a(t)})}catch(e){console.error(e)}};return null===(t=navigator)||void 0===t||null===(s=t.mediaDevices)||void 0===s||s.addEventListener("devicechange",o),o(),()=>{var e,t;null===(e=navigator)||void 0===e||null===(t=e.mediaDevices)||void 0===t||t.removeEventListener("devicechange",o),void 0!==n&&n.getVideoTracks().forEach(e=>{e.stop()})}},[]),t})(o);return(0,s.useEffect)(()=>{if(void 0===n||null===c.current||null===l||11!==n.getBarcodeFormat())return;let e=u[0];if(void 0!==r&&u.length>1){const t=u.find(e=>e.deviceId===r);void 0!==t&&(e=t)}if(void 0===e||void 0===e.width)return;const t=e.width/l.clientWidth,a=c.current,s=a.getContext("2d");if(null===s)return;const o=setTimeout(()=>{s.clearRect(0,0,a.width,a.height)},i);s.strokeStyle="rgba(0, 255, 0, 0.5)",s.lineWidth=4;const d=n.getResultPoints()[0];s.beginPath(),s.arc(d.getX()/t,d.getY()/t,d.estimatedModuleSize,0,2*Math.PI),s.stroke(),s.closePath();const m=n.getResultPoints()[1];s.beginPath(),s.arc(m.getX()/t,m.getY()/t,m.estimatedModuleSize,0,2*Math.PI),s.stroke(),s.closePath();const h=n.getResultPoints()[2];if(s.beginPath(),s.arc(h.getX()/t,h.getY()/t,h.estimatedModuleSize,0,2*Math.PI),s.stroke(),s.closePath(),n.getResultPoints().length>=4){const e=n.getResultPoints()[3];s.beginPath(),s.arc(e.getX()/t,e.getY()/t,e.estimatedModuleSize,0,2*Math.PI),s.stroke(),s.closePath()}return()=>clearTimeout(o)}),(0,d.jsx)("canvas",{ref:c,width:null!==(t=null==l?void 0:l.clientWidth)&&void 0!==t?t:0,height:null!==(a=null==l?void 0:l.clientHeight)&&void 0!==a?a:0,style:{position:"absolute",top:0,zIndex:2}})},Ut={count:{bottom:0,right:5,fontSize:30,color:"#fff",position:"absolute",zIndex:1}},Vt=e=>{const{scanCount:t}=e;return(0,d.jsx)("div",{style:Ut.count,children:t})},Dt=e=>{const{scanCount:t,hideCount:a,tracker:n,border:l=80,result:o,video:r,constraints:i,deviceId:c,scanDelay:u}=e,[m,h]=(0,s.useState)("rgba(255, 0, 0, 0.5)");return(0,s.useEffect)(()=>{if(11===(null==o?void 0:o.getBarcodeFormat())&&n)return void h("rgba(255, 0, 0, 0.5)");h("rgba(0, 255, 0, 0.5)");const e=setTimeout(()=>{h("rgba(255, 0, 0, 0.5)")},u);return()=>{clearTimeout(e)}},[o,u,n,t]),(0,d.jsxs)(s.Fragment,{children:[!a&&(0,d.jsx)(Vt,{scanCount:t}),n&&(0,d.jsx)(qt,{video:r,result:o,constraints:i,deviceId:c,scanDelay:u}
1),(0,d.jsxs)("svg",{viewBox:"0 0 100 100",style:{top:0,left:0,zIndex:1,boxSizing:"border-box",border:"".concat(l,"px solid rgba(0, 0, 0, 0.1)"),position:"absolute",width:"100%",height:"100%"},children:[(0,d.jsx)("path",{fill:"none",d:"M23,0 L0,0 L0,23",stroke:m,strokeWidth:"5"}),(0,d.jsx)("path",{fill:"none",d:"M0,77 L0,100 L23,100",stroke:m,strokeWidth:"5"}),(0,d.jsx)("path",{fill:"none",d:"M77,100 L100,100 L100,77",stroke:m,strokeWidth:"5"}),(0,d.jsx)("path",{fill:"none",d:"M100,23 L100,0 77,0",stroke:m,strokeWidth:"5"})]})]})},Kt={width:"100%",paddingTop:"100%",overflow:"hidden",position:"relative"},Ht={top:0,left:0,width:"100%",height:"100%",display:"block",overflow:"hidden",position:"absolute"},Qt=e=>{const{containerStyle:t,videoStyle:a,constraints:n=Rt,onResult:l,onDecode:o,onError:r,viewFinder:i,hideCount:c=!0,tracker:u=!1,viewFinderBorder:m,deviceId:h,scanDelay:p=100,audio:x=!0,...v}=e,[_,f]=(0,s.useState)(0),[g,j]=(0,s.useState)(),{ref:b}=Ft({onResult:async function(e){j(e),null==l||l(e),null==o||o(e.getText()),f(e=>e+1)},onError:function(e){null==r||r(e)},constraints:n,deviceId:h,scanDelay:p,audio:x,...v});return(0,d.jsxs)("div",{style:{...Kt,...t},children:[i?(0,d.jsx)(i,{}):(0,d.jsx)(Dt,{video:b.current,result:g,scanCount:_,hideCount:c,tracker:u,border:m,constraints:n,deviceId:h,scanDelay:p}),(0,d.jsx)("video",{ref:b,muted:!0,playsInline:!0,style:{...Ht,...a}})]})},zt=e=>{let{onScanResult:t}=e;const[a,n]=(0,s.useState)();return(0,d.jsxs)("div",{className:"BarcodeScanner-module__barcodeScanner--U4jB","data-testid":"barcodeScanner",children:[a&&(0,d.jsx)("span",{children:a}),(0,d.jsx)(Qt,{onResult:t,onError:e=>n(e.message),tracker:!0,hideCount:!1})]})},Wt=(0,r.Ng)((e,t)=>{var a,s,n;return{...t,products:null!==(a=null==e||null===(s=e.productSearch)||void 0===s||null===(n=s.entities)||void 0===n?void 0:n.results)&&void 0!==a?a:[]}})(e=>{let{products:t,fallbackImage:a,phrases:n,showAddToCartButton:l=!0}=e;const{fetchUserPrices:o}=mt(),[r,i]=(0,s.useState)({});return(0,s.useEffect)(()=>{if(ut._.user.isLoggedIn){const e=new Map,a=t.filter(e=>!Object.prototype.hasOwnProperty.call(r,e.code)).reduce((t,a)=>{const s=a.variants.map(t=>t.unitsOfMeasure.map(s=>(e.set(t.code,a.code),{VariantCode:t.code,UnitOfMeasureCode:s.code})));return t.concat(s)},[]).flat();a.length>0&&o(a).then(t=>{const a={...r};t.data.map(t=>{if(!e.get(t.variantCode))return void console.log("VariantCode not found in variantProductMapping: ".concat(t.variantCode));const s=e.get(t.variantCode);a[s]||(a[s]={});const n="".concat(t.variantCode,":").concat(t.unitOfMeasureCode);a[s][n]=t}),i(a)})}},[t]),t?(0,d.jsx)("div",{className:"".concat(xt),children:t.map(e=>{const t=be(e);return null!=t&&t.variant?(0,d.jsx)(_e,{product:t,phrases:n,prices:r[t.code],fallbackImage:a,showAddToCartButton:l},t.variant.code):null})}):null}),Gt=(0,r.Ng)((e,t)=>{var a;const s=(0,Tt.Jl)(e)||[];return{...t,items:s,phrases:null!==(a=null==t?void 0:t.phrases)&&void 0!==a?a:{}}},e=>({onFilterBadgeClick:t=>(0,St.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web})}))(at),Jt=(0,r.Ng)((e,t)=>{const a=(0,Tt.LI)(e);return{...t,items:(null==a?void 0:a.length)>0?a:[]}},e=>({updateSortOrder:t=>(0,St.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web})}))(ct),Yt=(0,r.Ng)((e,t)=>{const a=(0,Tt.lH)(e),{prev:s,next:n}=(0,Tt.l0)(e);return{...t,...{...a&&{items:a},relative:{...s&&{prev:s},...n&&{next:n}}}}},e=>({onPaginationChange:t=>{const a="".concat(document.location.origin).concat(t.urlSet.web);window.history.pushState(null,null,a),(0,St.d$)(e)({apiUrl:t.urlSet.api})}}))(ot),Zt=(0,r.Ng)((e,t)=>{var a;const s=(0,Tt.jd)(e),n=(0,Tt.fp)(e),l=(0,Tt.H6)(e);return{...t,facets:(null==s?void 0:s.length)>0?s:null!==(a=t.facets)&&void 0!==a?a:[],isOpen:null!=n&&n,productCount:null!=l?l:t.productCount,idPrefix:"searchFacet"}},e=>({onFacetChange:t=>(0,St.d$)(e)({apiUrl:t.urlSet.api,webUrl:t.urlSet.web}),toggleFacetsOpen:()=>{e((0,St.br)())}}))($e),Xt=e=>{const{total:t,phrases:a}=e;if(!t)return null;const s=1===t?a["searchmodal:count.product"]:a["searchmodal:count.products"];return(0,d.jsxs)("span",{className:"h2 mb-0",children:[" ",t," ",s]})},$t=e=>{var t,a;let{showAddToCartButton:s=!0,title:n,onCloseSearch:l,phrasesFromSitecore:o}=e;const i=(0,r.wA)(),c=(0,r.d4)(e=>(0,Tt.fp)(e)),u=null!==(t=(0,r.d4)(e=>(0,Tt.H6)(e)))&&void 0!==t?t:0,m=u>0,{searchTerm:h=""}=(0,r.d4)(e=>(0,Tt.ls)(e));return(0,d.jsx)("div",{className:"SearchModal-module__ModalWrapper--wGH8","data-testid":"SearchModal",children:(0,d.jsx)("div",{className:"SearchModal-module__SearchModal--jG4h",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"".concat("SearchModal-module__Facets--tuQi"," ").concat(m?"":"SearchModal-module__FacetsNoResults--PRyW"," col-auto"),children:(0,d.jsx)(Zt,{phrases:o.categoryFacets,isOpen:c})}),(0,d.jsxs)("div",{className:"".concat("SearchModal-module__Results--Ro1q"," col pt-3 pl-3"),children:[(0,d.jsxs)("div",{className:"row",children:[(0,d.jsxs)("div",{className:"col-8 col-md-auto mr-auto",children:[(0,d.jsx)("span",{className:"h1 d-inline-block",children:n}),(0,d.jsx)(Xt,{total:u,phrases:o})]}),(0,d.jsx)("div",{className:"col-auto ml-auto",children:(0,d.jsxs)("button",{type:"button",className:"btn btn-link close",onClick:l,"data-testid":"SearchModal:closeSearchButton",children:[(0,d.jsx)("span",{className:"fa fa-times text-lg text-gray-900"}),(0,d.jsx)("span",{className:"sr-only",children:o["searchmodal:facets.close"]})]})})]}),(0,d.jsx)("div",{className:"row mt-3",children:(0,d.jsx)("div",{className:"col-12",children:(0,d.jsx)(Gt,{phrases:o.filterBadges})})}),(0,d.jsxs)("div",{className:"row align-items-center mt-3",children:[(0,d.jsx)("div",{className:"col-auto col-md-4",children:m&&(0,d.jsx)(Jt,{})}),(0,d.jsx)("div",{className:"col-auto ml-auto d-lg-none",children:(0,d.jsxs)("button",{className:"btn btn-outline-primary btn-lg",onClick:()=>i((0,St.br)()),type:"button","data-testid":"openFacetsButton",children:[(0,d.jsx)("span",{className:"fa fa-regular fa-filter d-xsplus-none"}),(0,d.jsx)("span",{className:"d-none d-xsplus-inline",children:o["searchmodal:facets.open"]})]})})]}),(0,d.jsxs)("div",{className:"row",children:[(0,d.jsxs)("div",{className:"col-12",children:[m&&(0,d.jsx)(Wt,{showAddToCartButton:s,phrases:o.productTileList,fallbackImage:{src:"/-/jssmedia/Project/Tenants/CarelLurvink/shared/Logo/no-image.png",alt:""}}),!m&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("h2",{className:"h2 mb-2",children:o["searchmodal:title.no-results"]}),(0,d.jsx)("p",{className:"text-muted",dangerouslySetInnerHTML:{__html:null===(a=o["searchmodal:message.no-results"])||void 0===a?void 0:a.replace("{{searchterm}}",h)}}),(0,d.jsx)("a",{href:"/webshop",className:"btn btn-theme btn-xl",children:o["searchmodal:button.all-products"]})]})]}),(0,d.jsx)("div",{className:"col-12 pb-3",children:(0,d.jsx)(Yt,{})})]})]})]})})})})},ea=(0,r.Ng)((e,t)=>{var a,s,n,l;const o=null!==(a=Object.keys((0,Tt.j4)(e)).length>0)&&void 0!==a&&a,r=(0,Tt.GI)(e),i=null!==(s="fulfilled"===r)&&void 0!==s&&s,c=null!==(n="pending"===r)&&void 0!==n&&n,d=(0,Tt.H6)(e);return{...{...t,showAddToCartButton:null===(l=null==t?void 0:t.showAddToCartButton)||void 0===l||l,initialShouldDisplayResults:o,isSearchPending:c,isSearchFullfilled:i,searchResultCount:d},...e}},e=>({logGtmSearchBoxEvent:t=>{let{searchTerm:a,searchResultCount:s}=t;const n=(0,yt.onsiteSearch)({searchTerm:a,searchResultCount:s});e(n)},onSearchQueryChange:(t,a)=>{const s="".concat(document.location.pathname).concat(document.location.search),n=q("cl_sector"),l=new URLSearchParams;l.set("s",t),l.set("ct","3"),l.set("wp",s),l.set("sector",n),a&&l.set("page",a.toString());const o="products/search?".concat(l.toString());(0,St.d$)(e)({apiUrl:o})}}))(e=>{var t,a,l,o;let{inputPlaceholder:r="",onSearchQueryChange:i,initialShouldDisplayResults:c=!1,title:u,isSearchPending:m,isSearchFullfilled:h,logGtmSearchBoxEvent:p,searchResultCount:x,showAddToCartButton:v=!0,..._}=e;const f="undefined"!=typeof window,g={categoryFacets:null==_||null===(t=_.dataFacets)||void 0===t?void 0:t.phrases,filterBadges:null==_||null===(a=_.dataFilters)||void 0===a?void 0:a.phrases,productC
1ount:null==_||null===(l=_.dataProductCount)||void 0===l?void 0:l.phrases,productTileList:null==_||null===(o=_.dataProducts)||void 0===o?void 0:o.phrases,..._.phrases&&_.phrases},[j,b]=(0,s.useState)(""),[C,N]=(0,s.useState)(c),[y,S]=(0,s.useState)(!1);(0,Je.y)(y),(0,s.useEffect)(()=>{var e;const t=null!==(e=decodeURIComponent(window.location.hash).match(/sqr:\(q\[(.+?)\](?:p\[(.+?)\])?\)/))&&void 0!==e?e:[],[,a,s=1]=t;a&&(b(a),i(a,s))},[]),(0,s.useEffect)(()=>(N(c||h),()=>N(!1)),[c,h]),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;const n=(0,s.useRef)(),l=(0,s.useRef)();l.current=(0,s.useCallback)(e,t);const o=(0,s.useCallback)(Pt(()=>{var e;n.current instanceof Function&&n.current(),n.current=null===(e=l.current)||void 0===e?void 0:e.call(l)},a),[]);(0,s.useEffect)(o,t),(0,s.useEffect)(()=>()=>n.current instanceof Function?n.current():void 0,[])}(()=>{j&&h&&p({searchTerm:j,searchResultCount:x})},[j,h],1500);const T=(e=>{const t=(0,s.useRef)(e);return(0,s.useEffect)(()=>{t.current=e},[e]),(0,s.useMemo)(()=>Pt(()=>{t.current()},400),[400])})(()=>{i(j)});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"".concat("SearchBox-module__SearchOverlay--Yqle"," ").concat(C?"SearchBox-module__SearchOverlayOpen--hB4k":"")}),(0,d.jsxs)("label",{className:"row ".concat("SearchBox-module__SearchBoxLabel--eQHK"),children:[(0,d.jsxs)("div",{className:"col mr-auto",children:[(0,d.jsx)("input",{value:j,onChange:async function(e){const t=e.target.value;b(t),(e=>{const t="#sqr:(q[".concat(e,"]").concat("",")");document.location.hash=t})(t),T(t)},type:"search",className:"".concat("SearchBox-module__SearchBoxInput--YR9Q"),placeholder:r,"data-testid":"SearchBox"}),(0,d.jsxs)("button",{type:"button",className:"".concat("SearchBox-module__SearchButton--QpK2"),onClick:async function(){j&&i(j)},children:[(0,d.jsx)("span",{className:"sr-only",children:"Search"}),!m&&(0,d.jsx)("span",{className:"SearchBox-module__SearchIcon--e74O",children:(0,d.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",version:"1.1",id:"svg4",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"m 21.576923,13.769229 q 0,-3.224158 -2.291762,-5.5159297 -2.291771,-2.2917627 -5.515933,-2.2917627 -3.224158,0 -5.515926,2.2917627 -2.2917686,2.2917717 -2.2917686,5.5159297 0,3.224159 2.2917686,5.515932 2.291768,2.291765 5.515926,2.291765 3.224162,0 5.515933,-2.291765 2.291762,-2.291773 2.291762,-5.515932 z m 8.923084,14.500006 q 0,0.90625 -0.662259,1.568512 -0.662261,0.662259 -1.568511,0.662259 -0.941105,0 -1.56851,-0.662259 L 20.72296,23.877409 q -3.119596,2.161056 -6.953732,2.161056 -2.492189,0 -4.7665269,-0.967252 Q 6.7283606,24.103972 5.0814256,22.457034 3.4344893,20.810098 2.4672409,18.535762 1.4999925,16.261421 1.4999925,13.769229 q 0,-2.49219 0.9672484,-4.7665241 Q 3.4344893,6.7283606 5.0814256,5.0814228 6.7283606,3.4344847 9.0027011,2.4672439 11.277039,1.4999935 13.769228,1.4999935 q 2.492193,0 4.766529,0.9672504 2.274342,0.9672408 3.921276,2.6141789 1.646936,1.6469378 2.614186,3.9212821 0.967248,2.2743341 0.967248,4.7665241 0,3.834134 -2.16106,6.953733 l 5.977767,5.977763 q 0.644833,0.644834 0.644833,1.56851 z",fill:"currentColor",stroke:"currentColor"})})}),m&&(0,d.jsx)("span",{className:"fa fa-refresh fa-spin"})]})]}),(0,d.jsxs)("button",{type:"button",className:"col-auto ml-auto ".concat("SearchBox-module__BarcodeButton--JlUr"," d-md-none"),onClick:()=>S(!0),children:[(0,d.jsxs)("svg",{width:"32",height:"28",viewBox:"0 0 32 28",version:"1.1",id:"svg3",xmlns:"http://www.w3.org/2000/svg",children:[(0,d.jsx)("defs",{id:"defs7"}),(0,d.jsx)("path",{d:"m 15.999999,11.403845 q 1.921354,0 3.285677,1.371093 1.364323,1.371095 1.364323,3.301984 0,1.93089 -1.364323,3.301983 Q 17.921353,20.75 15.999999,20.75 q -1.921354,0 -3.285677,-1.371095 -1.364323,-1.371093 -1.364323,-3.301983 0,-1.930889 1.364323,-3.301984 1.364323,-1.371093 3.285677,-1.371093 z M 27.366666,4.6538452 q 1.711458,0 2.922395,1.2169473 Q 31.5,7.0877395 31.5,8.8076915 V 23.346153 q 0,1.719952 -1.210939,2.936899 -1.210937,1.216947 -2.922395,1.216947 H 4.633333 q -1.7114578,0 -2.9223955,-1.216946 Q 0.49999978,25.066106 0.49999978,23.346154 V 8.8076915 q 0,-1.719952 1.21093772,-2.936899 Q 2.9218752,4.6538452 4.633333,4.6538452 H 8.2500001 L 9.0734373,2.4471144 Q 9.3802081,1.6520422 10.195573,1.0760206 11.010938,0.49999895 11.866665,0.49999895 h 8.266668 q 0.855729,0 1.671093,0.57602165 0.815365,0.5760216 1.122136,1.3710938 L 23.75,4.6538452 Z M 15.999999,23.346153 q 2.98698,0 5.110157,-2.133714 2.123177,-2.133714 2.123177,-5.135517 0,-3.001803 -2.123177,-5.135517 -2.123177,-2.1337135 -5.110157,-2.1337135 -2.986979,0 -5.110155,2.1337125 -2.1231769,2.133714 -2.1231769,5.135518 0,3.001803 2.1231769,5.135518 2.123176,2.133714 5.110155,2.133713 z",id:"path793",fill:"
1currentColor",stroke:"currentColor"})]}),(0,d.jsx)("span",{className:"sr-only",children:"Scan code"})]})]}),f&&(0,n.createPortal)((0,d.jsx)(Lt,{children:(0,d.jsx)(wt,{PageHeader:(0,d.jsx)("div",{className:"container-fluid",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col",children:(0,d.jsx)("h1",{className:"h1",children:"Scan QR- of barcode"})}),(0,d.jsx)("div",{className:"col-auto ml-auto",children:(0,d.jsxs)("button",{type:"button",className:"btn btn-link pr-0",onClick:()=>S(!1),children:[(0,d.jsx)("span",{className:"fa fa-times text-lg text-theme mr-1"}),(0,d.jsx)("span",{className:"text-sans-serif text-gray-900 text-nowrap",children:g["common:button.close"]})]})})]})}),isOpen:y,children:y&&(0,d.jsx)(zt,{onScanResult:e=>{S(!1),b(e),i(e)}})})}),document.body),f&&(0,n.createPortal)(C&&(0,d.jsx)($t,{title:u,onCloseSearch:()=>{N(!1),history.replaceState(null,null," ")},phrasesFromSitecore:g,showAddToCartButton:v}),document.body)]})});var ta=a(5026),aa=a(5044);const sa={disabled:"ShoppingCartButton-module__disabled--wbGN",shoppingCart:"ShoppingCartButton-module__shoppingCart--bo81",btnShoppingcart:"ShoppingCartButton-module__btnShoppingcart--nqls",badge:"ShoppingCartButton-module__badge--N82n","btn-sm":"ShoppingCartButton-module__btn-sm--fVQt","btn-md":"ShoppingCartButton-module__btn-md--aLEf","btn-lg":"ShoppingCartButton-module__btn-lg--ns5T","btn-primary":"ShoppingCartButton-module__btn-primary--ARBN","btn-outline-primary":"ShoppingCartButton-module__btn-outline-primary--xlYU",basketCount:"ShoppingCartButton-module__basketCount--PD6K","btn-theme":"ShoppingCartButton-module__btn-theme--Obqx"},na=(0,r.Ng)((e,t)=>{const a=(0,R.VH)(e),s=(0,D.Rr)(e);return{...t,...a,disabled:(0,D.o)(s,ta.I.CARTS_CREATE)}},e=>({getCart:()=>(0,R.Xl)(e)()}))(e=>{let{totalPieces:t=0,variant:a="theme",size:n="lg",disabled:l=!1,getCart:o}=e;const r=(0,aa.A)({[sa.disabled]:!!l,[sa.shoppingCart]:!0,[sa["btn-".concat(a)]]:!0,[sa["btn-".concat(n)]]:!0});(0,s.useEffect)(()=>{o()},[o]);const i={...l?{}:{href:"/winkelwagen?return=c"},className:"".concat(sa.btnShoppingcart," ").concat(l?"disabled":""," btn btn-primary shadow-sm transition")};return(0,d.jsx)("div",{className:r,children:(0,d.jsxs)("a",{...i,children:[(0,d.jsx)("svg",{viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M 0.50899614,0.5 V 3.6 H 4.0437821 l 4.061902,12.121 -2.325516,3.1 h -0.03101 c -0.713156,0.992 -0.744163,2.325 -0.248053,3.286 0.496111,0.961 1.550345,1.643 2.759614,1.643 H 28.415197 v -3.1 H 8.2607191 c 0,0 -0.03101,-0.031 0,-0.062 L 10.586235,17.55 h 14.573239 c 0.620137,0 1.271282,-0.31 1.426316,-0.93 L 31.360852,5.77 C 31.825955,4.685 31.050783,3.6 29.965541,3.6 H 7.2995051 L 6.6173541,1.554 6.2762781,0.5 Z M 8.2607191,25.3 c -1.705379,0 -3.100689,1.395 -3.100689,3.1 0,1.705 1.39531,3.1 3.100689,3.1 1.705379,0 3.1006879,-1.395 3.1006879,-3.1 0,-1.705 -1.3953089,-3.1 -3.1006879,-3.1 z m 17.0537889,0 c -1.705379,0 -3.100689,1.395 -3.100689,3.1 0,1.705 1.39531,3.1 3.100689,3.1 1.705379,0 3.100689,-1.395 3.100689,-3.1 0,-1.705 -1.39531,-3.1 -3.100689,-3.1 z",fill:"currentColor",stroke:"currentColor"})}),(0,d.jsx)("span",{className:"".concat(sa.badge," position-absolute badge rounded-pill"),"data-basket-count":t,children:t})]})})});a(1757);const la=()=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(F.N9,{position:"top-center"})}),oa=e=>{const{data:t}=e;(0,s.useEffect)(()=>{const e=document.createElement("script");e.src="/dist/scripts/ProductDetailsQuotationRequest.js",e.async=!0,document.body.appendChild(e)},[]);const a=(0,r.d4)(e=>(0,i.C4)(e));if(!a)return null;let n=null==a?void 0:a.variant.unitsOfMeasure[0].name;if(null!=a&&a.unitOfMeasureCode){const e=null==a?void 0:a.variant.unitsOfMeasure.find(e=>e.code===a.unitOfMeasureCode);e&&(n=e.name)}return(0,d.jsxs)(u,{...e,children:[(0,d.jsxs)("a",{href:"#","data-toggle":"modal","data-target":"#mdlRequestQuote",children:[(0,d.jsx)("span",{className:"fa fa-fw ".concat(t.iconClass," text-theme-2")}),t.caption]}),(0,d.jsx)("div",{id:"mdlRequestQuote",className:"modal fade",role:"dialog","aria-hidden":"true",children:(0,d.jsx)("div",{className:"modal-dialog",role:"document",children:(0,d.jsxs)("div",{className:"modal-content",children:[(0,d.jsxs)("div",{className:"modal-header",children:[(0,d.jsx)("h5",{className:"modal-title",children:t.caption}),(0,d.jsx)("a",{href:"",className:"close","data-dismiss":"modal","aria-label":"Close",children:(0,d.jsx)("span",{"aria-hidden":"true",children:"×"})})]}),(0,d.jsxs)("div",{id:"_form_137_",className:"modal-body",children:[(0,d.jsx)("input",{type:"hidden",name:"u",defaultValue:"137"}),(0,d.jsx)("input",{type:"hidden",name:"f",defaultValue:"137"}),(0,d.jsx)("input",{type:"hidden",name:"s"}),(0,d.jsx)("input",{type:"hidden",name:"c",defaultValue:"0"}),(0,d.jsx)("input",{type:"hidden",name:"m",defaultValue:"0"}),(0,d.jsx)("input",{type:"hidden",name:"act",defaultValue:"sub"}),(0,d.jsx)("input",{type:"hidden",name:"v",defaultValue:"2"}),(0,d.jsx)("input",{type:"hidden",name:"field[30]"}),(0,d.jsxs)("div",{className:"_form-content",children:[(0,d.jsx)("div",{className:"form-row",children:(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Product"}),(0,d.jsx)("input",{className:"form-control",name:"field[31]",placeholder:"Product",type:"text",required:!0,readOnly:!0,value:null==a?void 0:a.variant.title})]})}),(0,d.jsxs)("div",{className:"form-row",children:[(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Inhoud"}),(0,d.jsx)("input",{className:"form-control",name:"field[32]",placeholder:"Inhoud",type:"text",required:!0,readOnly:!0,value:n})]}),(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Aantal"}),(0,d.jsx)("input",{className:"form-control",name:"field[33]",placeholder:"Aantal",type:"text",required:!0,defaultValue:"1"})]})]}),(0,d.jsxs)("div",{className:"form-row",children:[(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Voornaam"}),(0,d.jsx)("input",{className:"form-control",name:"firstname",placeholder:"Voornaam",type:"text","data-name":"firstname",required:!0})]}),(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Achternaam"}),(0,d.jsx)("input",{className:"form-control",name:"lastname",placeholder:"Achternaam",type:"text","data-name":"lastname",required:!0})]})]}),(0,d.jsxs)("div",{className:"form-row",children:[(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Telefoonnummer"}),(0,d.jsx)("input",{className:"form-control",name:"phone",placeholder:"Telefoonnummer",type:"text","data-name":"phone",required:!0})]}),(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Emailadres"}),(0,d.jsx)("input",{className:"form-control",name:"email",placeholder:"Emailadres",type:"text","data-name":"email",required:!0})]})]}),(0,d.jsxs)("div",{className:"form-row",children:[(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:"Organisatie"}),(0,d.jsx)("input",{className:"form-control",name:"field[41]",placeholder:"Organisatie",type:"text","data-name":"organization",required:!0})]}),(0,d.jsxs)("div",{className:"form-group col",children:[(0,d.jsx)("label",{className:"sr-only",children:" "}
1),(0,d.jsx)("button",{className:"btn btn-primary btn-block",id:"_form_137_submit",type:"button",children:"Aanvragen"})]})]})]}),(0,d.jsx)("div",{className:"_form-thank-you alert alert-success",style:{display:"none"},children:" "})]})]})})})]})},ra=e=>{let{variant:t,dismissModal:a}=e;return(0,d.jsx)(x.a,{title:"Toegevoegd aan offerte aanvraag",onModalClose:a,buttons:[{type:"outline-primary",label:"Verder winkelen",onClick:a},{type:"primary",label:"Offerte aanvragen",onClick:()=>{window.location.href="/offerte-aanvragen"}}],children:(0,d.jsxs)("div",{className:"request-a-quote-modal",role:"dialog","aria-modal":"true","aria-labelledby":"requestAQuoteModalTitle",children:[(0,d.jsx)("h2",{className:"h3",children:t.title}),(0,d.jsxs)("span",{className:"text-muted",children:["Art.: ",t.code]})]})})},ia=e=>{const{dispatch:t}=c.Ay,[a,n]=(0,s.useState)(!1),l=(0,r.d4)(e=>e.lastAction),[o,{data:i}]=G(),u="modal/dismissModal"===(null==l?void 0:l.type),m=z.endpoints.upsertItem.matchFulfilled(l);if((0,s.useEffect)(()=>{if(m&&!a){var e;const t=null==l||null===(e=l.payload)||void 0===e?void 0:e.cartKey;t&&(U(Q,t),o({cartKey:t}),n(!0))}},[m,a,o]),a&&u&&n(!1),!a)return null;const h=null!=i&&i.lines?i.lines[i.lines.length-1].variant:null;return h?(0,d.jsx)(ra,{variant:h,dismissModal:()=>{t({type:"modal/dismissModal"})},...e}):null},ca=e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(ia,{...e})}),da="USP-module__uspContainer--qYXb",ua="USP-module__uspList--HB4n",ma="USP-module__uspItem--DW6U",ha="USP-module__checkCircle--x1BZ";"undefined"!=typeof document&&document.addEventListener("DOMContentLoaded",()=>{(0,V.i)(c.Ay.dispatch)();try{ut._.user.isLoggedIn&&(0,D.HW)(c.Ay.dispatch)()}catch{}const e=document.querySelector("#portal")||null;e&&(l().render(l().createPortal((0,d.jsx)(la,{}),e),document.createElement("div")),l().render(l().createPortal((0,d.jsx)(Be,{}),e),document.createElement("div")),l().render(l().createPortal((0,d.jsx)(ca,{}),e),document.createElement("div")))}),a.g.React=s,a.g.ReactDOM=l(),a.g.ReactDOMServer=o,a.g.Components={AddToOrderLists:e=>(0,d.jsxs)(r.Kq,{store:c.Ay,children:[(0,d.jsx)(T,{...e}),(0,d.jsx)(S,{...e})]}),BackToOverview:e=>{const{url:t,title:a}=e.data;return(0,d.jsxs)(u,{...e,children:[(0,d.jsx)("span",{className:"fa fa-md fa-long-arrow-left text-theme text-lg mr-2"}),(0,d.jsx)("a",{href:t,className:"text-sans-serif text-gray-900",children:a})]})},BrandsList:e=>{const{data:{title:t,link:a,brands:s},isEdit:n}=e,l=n||a.text;return(0,d.jsxs)(u,{...e,className:"BrandsList-module__BrandsList--j1ai",children:[(0,d.jsxs)("div",{className:"mb-3",children:[(0,d.jsx)("h2",{className:"h2 mb-3",dangerouslySetInnerHTML:{__html:t}}),l&&(0,d.jsx)("span",{className:"BrandsList-module__titleLink--CbaP",children:(0,d.jsxs)("a",{href:a.href,children:[a.text," ",(0,d.jsx)("span",{className:"".concat("BrandsList-module__arrow--hpE5"," fa fa-long-arrow-right text-theme")})]})})]}),(0,d.jsx)("div",{className:"BrandsList-module__brandsList--yAmR",children:s.map(e=>(0,d.jsx)("div",{className:"BrandsList-module__brand--yBeR",children:(0,d.jsx)("a",{href:e.link,children:(0,d.jsx)("img",{src:e.image,className:"BrandsList-module__brandImage--MT5b"})})},e.link))})]})},Breadcrumb:e=>{const{items:t,schema:a}=e.data;return(0,d.jsxs)(u,{...e,className:w.Breadcrumb,children:[(0,d.jsx)("ol",{className:"d-flex",children:t.map((e,a)=>(0,d.jsx)("li",{className:"".concat(w.breadcrumbItem," ").concat(a===t.length-1?w.breadcrumbLastItem:""),children:(0,d.jsx)("a",{className:w.breadcrumbItemLink,href:e.url,children:(0,d.jsx)("span",{className:w.breadcrumbName,children:e.name})})},"breadcrumb-".concat(a)))}),(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:a}})]})},CTACarousel:e=>{const{slidesCount:t,slides:a}=e.data;return(0,d.jsx)(u,{...e,children:(0,d.jsx)("div",{className:"".concat("CTACarousel-module__CtaCarousel--cJEA"," swiper"),children:(0,d.jsx)(L.RC,{autoplay:{delay:e.data.interval},lazy:!0,modules:[P.Ij,P.dF],preloadImages:!0,watchSlidesProgress:!0,speed:e.data.animationDuration,children:a&&a.map((e,a)=>(0,d.jsx)(L.qr,{children:(0,d.jsxs)("div",{className:"row m-0 flex-column flex-lg-row",children:[(0,d.jsxs)("div",{className:"col-12 col-lg-6 d-flex flex-column mb-3 mb-lg-0 
1justify-content-center align-items-start",children:[(0,d.jsxs)("div",{className:"d-flex flex-row align-items-center",children:[(0,d.jsx)("div",{className:"".concat("CTACarousel-module__slideCount--Sz2n"," mr-3 font-weight-bold text-theme"),dangerouslySetInnerHTML:{__html:"".concat(e.index,"/").concat(t)}}),(0,d.jsx)("div",{className:"d-flex align-items-center",children:O(e,t)})]}),(0,d.jsx)("div",{className:"".concat("CTACarousel-module__title--_9Jo"," mb-3"),dangerouslySetInnerHTML:{__html:e.title}}),(0,d.jsx)("div",{className:"".concat("CTACarousel-module__text--KZV1"," mb-3"),dangerouslySetInnerHTML:{__html:e.text}}),(0,d.jsx)("a",{className:"btn btn-primary btn-xl",href:e.link.href,target:e.link.target,children:e.link.text})]}),(0,d.jsxs)("div",{className:"".concat("CTACarousel-module__imageContainer--rqQX"," col-12 col-lg-6"),children:[(0,d.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"swiper-lazy"}),(0,d.jsx)("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-black"})]})]})},a))})})})},CallToAction:e=>{const{data:{title:t,subtitle:a,image:s,imageOrientation:n,link:l,content:o},isEdit:r}=e,i="left"===n?"order-first":"order-last",c=r||a;return(0,d.jsx)(u,{...e,className:"CallToAction-module__CallToAction--h3QJ",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-12 col-md-6 d-grid place-items-center mt-3 mt-xl-0 ".concat(i),children:(0,d.jsx)(A,{image:s})}),(0,d.jsxs)("div",{className:"col-12 col-md-6 align-self-center",children:[(0,d.jsx)("h2",{className:"".concat("CallToAction-module__title--wzuH"," h1"),dangerouslySetInnerHTML:{__html:t}}),c&&(0,d.jsx)("h3",{className:"CallToAction-module__subtitle--DUKB",dangerouslySetInnerHTML:{__html:a}}),(0,d.jsx)("p",{className:"CallToAction-module__content--r0H5",dangerouslySetInnerHTML:{__html:o}}),(0,d.jsx)("a",{href:l.href,type:"button",className:"CallToAction-module__button--y5QS",children:l.text})]})]})})},CallToActionLargeVariants:e=>{const{data:t}=e;return(0,d.jsxs)(u,{...e,className:"CallToActionLargeVariants-module__CallToActionLargeVariants--bi6P",children:[(0,d.jsxs)("div",{className:"CallToActionLargeVariants-module__header--rLxh",children:[(0,d.jsx)("h2",{className:"".concat("CallToActionLargeVariants-module__title--b0hP"," h1"),dangerouslySetInnerHTML:{__html:t.title}}),(0,d.jsx)("h3",{className:"".concat("CallToActionLargeVariants-module__subtitle--EyTA"," h2"),dangerouslySetInnerHTML:{__html:t.subtitle}}
1)]}),(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-12 col-md-6 d-grid place-items-center ".concat(t.imageOrientation),children:(0,d.jsx)(A,{image:t.image})}),(0,d.jsx)("div",{className:"col-12 col-md-6 align-self-center ".concat(t.buttonOrientation),children:t.buttons.map((e,t)=>(0,d.jsx)("a",{href:e.link.href,type:"button",className:"CallToActionLargeVariants-module__button--HHPG",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-2 px-0 text-center",children:(0,d.jsx)("img",{className:"CallToActionLargeVariants-module__buttonImage--nG77",src:e.image.src})}),(0,d.jsxs)("div",{className:"col d-grid",children:[(0,d.jsx)("div",{className:"CallToActionLargeVariants-module__buttonTitle--YtUv",dangerouslySetInnerHTML:{__html:e.title}}),(0,d.jsx)("div",{className:"CallToActionLargeVariants-module__buttonText--cAjO",dangerouslySetInnerHTML:{__html:e.text}})]})]})},t))})]})]})},CallToActionSmall:e=>{const{data:{title:t,subtitle:a,image:s,link:n},isEdit:l}=e,o=l||a;return(0,d.jsx)(u,{...e,className:"CallToActionSmall-module__CallToActionSmall--cqEf",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsxs)("div",{className:"col-12 col-md-6",children:[(0,d.jsx)("h2",{className:"".concat("CallToActionSmall-module__title--MSJZ"," h1"),dangerouslySetInnerHTML:{__html:t}}),o&&(0,d.jsx)("p",{className:"CallToActionSmall-module__subtitle--ileY",dangerouslySetInnerHTML:{__html:a}}),(0,d.jsx)("a",{href:n.href,className:"btn btn-outline-primary btn-xl",children:n.text})]}),(0,d.jsx)("div",{className:"col-12 col-md-6",children:(0,d.jsx)(A,{image:s})})]})})},CustomerRating:e=>{const{link:t,icon:a,text:s,score:n,reviewCount:l=0,sectorLogo:o,phone:r}=e.data,i={"@context":"http://schema.org/","@type":"AggregateRating",itemReviewed:{"@type":"Organization",image:o,name:"Carel Lurvink",url:"https://www.carellurvink.nl",telephone:r,address:{"@type":"PostalAddress",streetAddress:"Marssteden 40",addressLocality:"Enschede",addressRegion:"Overijssel",postalCode:"7547 TC",addressCountry:"NL"}},ratingValue:n,bestRating:10,ratingCount:l};return(0,d.jsx)(u,{...e,className:"CustomerRating-module__CustomerRatings--NM7F",children:(0,d.jsxs)("div",{className:"CustomerRating-module__customerRatings--KxZ3",children:[(0,d.jsx)("a",{href:t.href,target:"_new",dangerouslySetInnerHTML:{__html:a.render}}),(0,d.jsx)("a",{href:t.href,target:"_new",children:s}),(0,d.jsxs)("span",{className:"score",children:[n,"/10.0"]}),(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}})]})})},CustomerRatingsCarousel:e=>{const{list:t}=e.data;return(0,d.jsx)(u,{...e,className:"CustomerRatings-module__CustomerRatingsCarousel--B4B6",children:(0,d.jsx)(L.RC,{autoplay:!0,modules:[P.Ij],children:t.map(e=>(0,d.jsxs)(L.qr,{className:"CustomerRatings-module__CustomerRatingCarouselItem--nmM3",children:[(0,d.jsx)("div",{className:"h2 text-gray-900 font-italic text-center mb-2",children:e.oneLiner}),(0,d.jsxs)("div",{className:"CustomerRatings-module__review--Sk9v",children:[(0,d.jsxs)("div",{className:"text-gray-500 ".concat("CustomerRatings-module__reviewAuthor--uSd_"),children:[e.formattedDate," ",e.author]}),(0,d.jsxs)("div",{className:"CustomerRatings-module__ratingContainer--LJJv",children:[(0,d.jsxs)("span",{className:"CustomerRatings-module__ratingBackgroun
1d--m2M1",children:[(0,d.jsx)("span",{className:"fa fa-star-o"}),(0,d.jsx)("span",{className:"fa fa-star-o"}),(0,d.jsx)("span",{className:"fa fa-star-o"}),(0,d.jsx)("span",{className:"fa fa-star-o"}),(0,d.jsx)("span",{className:"fa fa-star-o"})]}),(0,d.jsxs)("span",{className:"CustomerRatings-module__ratingOverlay--ltY6",style:{width:"".concat(10*e.rating,"%")},children:[(0,d.jsx)("span",{className:"fa fa-star"}),(0,d.jsx)("span",{className:"fa fa-star"}),(0,d.jsx)("span",{className:"fa fa-star"}),(0,d.jsx)("span",{className:"fa fa-star"}),(0,d.jsx)("span",{className:"fa fa-star"})]})]})]})]},e.oneLiner))})})},ErrorFeedback:E,ErrorTest:()=>{throw"This is the error"},ExampleTypeScript:e=>{const{data:t}=e;return(0,d.jsxs)(u,{...e,className:"ExampleTypeScript-module__ExampleTypeScript--hHax",children:[(0,d.jsx)("h1",{className:"ExampleTypeScript-module__title--KeDK",children:t.title}),(0,d.jsx)("p",{className:"ExampleTypeScript-module__text--Keqc",children:t.text})]})},HeroBanner:e=>{var t,a;const{data:s}=e;if(!s.image)return null;const n=void 0!==s.link.href&&s.link.href;return(0,d.jsxs)(u,{...e,className:"HeroBanner-module__HeroBanner--HMaN",children:[n&&(0,d.jsx)("a",{href:null===(t=s.link)||void 0===t?void 0:t.href,title:null===(a=s.link)||void 0===a?void 0:a.text,children:(0,d.jsx)(A,{image:s.image})}),!n&&(0,d.jsx)(A,{image:s.image})]})},HorizontalLine:e=>(0,d.jsx)(u,{...e,className:"HorizontalLine-module__HorizontalLine--jc3p",children:(0,d.jsx)("div",{className:"component-content",children:(0,d.jsx)("hr",{})})}),ProductDetailAddToCart:e=>{var t;const a=!1===(null===(t=e.data)||void 0===t?void 0:t.enabled);return(0,d.jsxs)(d.Fragment,{children:[!a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(we,{...e})}),(0,d.jsx)(te,{})]}),a&&(0,d.jsx)(Te,{...e}),(0,d.jsx)(le,{})]})},ProductSpecialist:e=>{const{data:t}=e;return(0,d.jsx)(u,{...e,children:(0,d.jsxs)("div",{className:"product-specialist my-2 col","data-component":"product-specialist",children:[(0,d.jsx)("div",{className:"row",children:(0,d.jsx)("div",{className:"col justify-content-center mb-3",children:(0,d.jsx)("div",{className:"heading",children:(0,d.jsx)("span",{className:"headingText py-1 px-3",children:t.title})})})}),(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-3 justify-content-start",children:(0,d.jsx)("img",{className:"image",src:t.image})}),(0,d.jsxs)("div",{className:"col-9",children:[(0,d.jsx)("div",{className:"row mb-2",children:(0,d.jsx)("div",{className:"col",children:(0,d.jsx)("span",{className:"text",children:t.subText})})}),(0,d.jsxs)("div",{className:"row",children:[(0,d.jsxs)("div",{className:"col-12 col-xl-auto",children:[(0,d.jsx)("span",{className:"fa fa-fw fa-envelope-o mr-2"}),(0,d.jsx)("a",{className:"link",href:"mailto:".concat(t.email),children:(0,d.jsx)("span",{children:t.emailText})})]}),(0,d.jsxs)("div",{className:"col",children:[(0,d.jsx)("span",{className:"fa fa-fw fa-phone mr-2"}),(0,d.jsx)("a",{className:"link",href:"tel:".concat(t.phone),children:(0,d.jsx)("span",{children:t.phone})})]})]})]})]})]})})},ProductSpecialistWide:e=>{const{data:t}=e;return(0,d.jsx)(u,{...e,className:"ProductSpecialistWide-module__ProductSpecialistWide--arh2",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-12 col-md-6 text-md-right",children:(0,d.jsx)("img",{src:"".concat(t.image),className:"ProductSpecialistWide-module__image--hsWi"})}),(0,d.jsx)("span",{className:"".concat("ProductSpecialistWide-module__shield--gkoY"," fa cl-shield align-self-center")}),(0,d.jsxs)("div",{className:"".concat("ProductSpecialistWide-module__content--WW0B"," col-12 col-md-6 align-self-center"),children:[(0,d.jsx)("h2",{className:"".concat("ProductSpecialistWide-module__title--FOl6"," h1"),dangerouslySetInnerHTML:{__html:t.title}}),(0,d.jsx)("h2",{className:"".concat("ProductSpecialistWide-module__subText--Y9m2"," h2"),dangerouslySetInnerHTML:{__html:t.subText}}),(0,d.jsx)("div",{className:Le,children:(0,d.jsxs)("a",{className:Oe,href:"tel:".concat(t.phone),children:[(0,d.jsx)("span",{className:"".concat(Pe," fa fa-phone mr-2")}),(0,d.jsx)("span",{className:Oe,dangerouslySetInnerHTML:{__html:t.phone}})]})}),(0,d.jsx)("div",{className:Le,children:(0,d.jsxs)("a",{href:"mailto:".concat(t.email),children:[(0,d.jsx)("span",{className:"".concat(Pe," fa fa-envelope mr-2")}),(0,d.jsx)("span",{className:Oe,dangerouslySetInnerHTML:{__html:t.emailText}}
1)]})})]})]})})})},ProductTitle:e=>{var t,a;const s=null===(t=e.data)||void 0===t?void 0:t.product,n=null===(a=e.data)||void 0===a?void 0:a.variant;return(0,d.jsxs)(u,{...e,children:[(0,d.jsx)(Me,{...e}),(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(Ee,{product:s,variant:n})})]})},ProvideAddToCartLayer:Be,ProvideCategoryFacets:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(et,{...e})})),ProvideFilterBadges:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(st,{...e})})),ProvideOpenFacetsButton:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(nt,{...e})})),ProvidePagination:tt(e=>{const{pagination:t,...a}=e,s={...a,...t?{...t}:{}};return(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(rt,{...s})})}),ProvideProductCount:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(it,{...e})})),ProvideProductTileList:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(vt,{...e})})),ProvideProductVariantSelector:e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(Ct,{...e})}),ProvideSearchBox:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(ea,{...e})})),ProvideShoppingCartButton:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(na,{...e})})),ProvideSortOrder:tt(e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(dt,{...e})})),QuotationRequest:e=>(0,d.jsx)(r.Kq,{store:c.Ay,children:(0,d.jsx)(oa,{...e})}),USP:e=>(0,d.jsxs)(u,{...e,children:[(0,d.jsx)("div",{className:"".concat(da," d-none d-md-flex"),children:(0,d.jsx)("ul",{className:"".concat(ua),children:e.data.map((e,t)=>(0,d.jsx)("li",{className:"".concat(ma," ").concat(ha),dangerouslySetInnerHTML:{__html:e}},t))})}),(0,d.jsx)("div",{className:"".concat(da," d-md-none"),children:(0,d.jsx)("ul",{className:"".concat(ua),children:(0,d.jsx)("li",{className:"".concat(ma," ").concat(ha),dangerouslySetInnerHTML:{__html:e.data[0]}})})})]})}}},e=>{e.O(0,[617,441,513,763,284,394],()=>e(e.s=7405)),e.O()}]);
2//# sourceMappingURL=react.1826d3a26f35d48c401a.js.map

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.