1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44844,18988],{68474:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/produkte/[firstCategoryLevelId]/[secondCategoryLevelId]/[thirdCategoryLevelId]/[fourthCategoryLevelId]/[fifthCategoryLevelId]",function(){return n(16276)}])},54794:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var l=n(44194),o=n(96829),r=n(26497),i=n(14155);let u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1500,u=(0,i.P)(e,t),[a]=(0,o.y)(()=>{(0,r.W6)(u,t)},n);(0,l.useEffect)(()=>{a()},[a])}},75390:function(e,t,n){"use strict";n.d(t,{V:function(){return y}});var l=n(44194),o=n(81532),r=n(42991),i=n(1330);let u=(e,t)=>e.find(e=>{var n;return null==e?void 0:null===(n=e.values)||void 0===n?void 0:n.find(n=>{let l=n.code;if("color"===e.code){let[e,...t]=l.split("_");l=t.join("_")}return(null==n?void 0:n.selected)&&l!==t})});var a=n(21071),c=n(17845),s=n(87985),d=n(42933),v=n(60875),f=n(62855),p=n(72848),h=n(96278),C=n(15113),m=n(82269);let g=[a.d0],y=(e,t,n,a)=>{let{query:y,asPath:j,push:_,locale:S,pathname:k,isReady:b}=(0,o.useRouter)()||{},w=(0,l.useMemo)(()=>Object.keys(b?y:{}).reduce((e,t)=>{if(!k.includes(t)||"cms"!==t){let n=y[t];n.includes(s.Y)?e[t]=n.split(s.Y).map(e=>encodeURIComponent(e)).join(s.Y):e[t]=encodeURIComponent(n)}return e},{}),[b,k,y]),I=b&&(null==j?void 0:j.split("?")[0]),{handleIgnoreQueryParams:x,handleClearAllFilters:E}=(0,m.B)(w,n,I,g),P=(0,l.useCallback)(async(e,t,n)=>{let l=I.split("/"),o=l[l.length-1],i=l.slice(0,l.length-1).join("/");if(e===d.Pu){(0,v.Ds)(f.l9),await _((0,r.IE)(i,S));return}let u=a.find(e=>{var t;return null===(t=e.values)||void 0===t?void 0:t.find(e=>e.selected)}),s=u.values.find(e=>{let{safeValue:t}=e;return t===o});w[null==u?void 0:u.shortName]=s.code||o;let h=C.q[d.B$](w,{[n]:t});(0,p.eO)(h,w,t,a,n);let m=(0,r.IE)((0,c.LD)(i,h),S);await _(m)},[I,a,w,S,_]),L=(0,l.useCallback)(t=>!e&&t===d.Pu,[e]),O=(0,l.useCallback)(e=>{var n;let l=Object.keys(e);return t&&1===l.length&&!Array.isArray(e[l[0]])&&(null===(n=e[l[0]])||void 0===n?void 0:n.split(s.Y).length)===1},[t]),D=(0,l.useCallback)(n=>!e&&t&&n===d.a6&&!Object.keys(w).length,[w,e,t]),N=(0,l.useCallback)(()=>I.includes("/outlet")?(0,i.X5)(700):(0,i.Bc)(),[I]);return(0,l.useCallback)(async t=>{let{value:n,name:l,type:o,safeValue:i}=t;try{if(L(o)){(0,v.Ds)(f.l9),await E(),N();return}let t=(0,p.rP)(a,l);if(x(l),D(o)){(0,v.Ds)(t,n);let e=(0,r.IE)("".concat(I,"/").concat(i),S);await _(e),N();return}if(e){await P(o,n,l),N();return}let s=C.q[o]?C.q[o](w,{[l]:n}):w;if((0,p.DO)(s,w,n,t),O(s)){let e=u(a,n);if(null==e?void 0:e.isIndexed){let[t]=Object.values(s),n=e.values.find(n=>{let l=n.code;if("color"===e.code){let[e,...t]=l.split("_");l=t.join("_")}return l===t});await _((0,r.IE)("".concat(I,"/").concat(n.safeValue||t),S)),N();return}}let d=(0,c.LD)((0,r.IE)(I,S),s);await _(d),N()}catch(e){h.M.error("Error in usePLPFilters",e)}},[L,a,x,D,e,w,O,I,S,_,N,E,P])}},16276:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return r}});var l=n(12224),o=n(46869),r=!0;t.default=(0,l.X)(o.S)},46869:function(e,t,n){"use strict";n.d(t,{S:function(){return p}});var l=n(31549);n(44194);var o=n(81532),r=n(97527),i=n(42933),u=n(62855),a=n(54794),c=n(75390),s=n(79814),d=n(26738),v=n(90535),f=n(37866);let p=e=>{let{products:t,cmsData:n}=e,{query:p,locale:h,isReady:C}=(0,o.useRouter)()||{},{thirdCategoryLevelId:m="",fourthCategoryLevelId:g=""}=C?p:{},{headlineValue:y}=n,{mainContentSlotComponents:j,restContentSlotComponents:_}=(0,f.j8)(n),{facets:S,pagination:k,products:b,sorts:w,subCategories:I}=t||{},x="".concat(u.bk,": ").concat(g||m," ").concat(u.oF);(0,a.O)(b,x);let E=(0,i.hL)(h),P=(0,c.V)(!0,!1,E,S);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.R,{subCategories:I,products:b,pagination:k,productListName:x,sorts:w,setFilter:P,facets:S,isSalePage:!0,cmsData:n,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(d.zY,{children:[(null==n?void 0:n.categoryPath)&&(0,l.jsx)(r.PfiContainer,{children:(0,l.jsx)(d.JD,{children:(0,l.jsx)(v.T,{categoryHierarchy:null==n?void 0:n.categoryPath,fadeUp:!0})})}),(0,l.jsx)(d.AT,{variant:"primary",type:"h1",children:y})]}),j]})}),_]})}},37866:function(e,t,n){"use strict";n.d(t,{j8:function(){return s},w4:function(){return d}});var l=n(31549),o=n(44194),r=n(89031),i=n(42933),u=n(24578),a=n(18747);let c=(e,t)=>null==e?void 0:e.map(e=>{let{position:n,contentSlot:o}=e;if(t&&o.uuid&&o.uid&&o.catalogVersionUuid&&o.typeCode){let{uuid:e,uid:t,catalogVersionUuid:i,typeCode:u}=o;return(0,l.jsx)(a.q,{componentType:u,componentId:t,componentUuid:e,versionUuid:i,children:(0,l.jsx)(r.v,{contentSlot:o},n)},t)}return(0,l.jsx)(r.v,{contentSlot:o},n)}),s=e=>{let t=(0,u.Z)(),{mainContentSlotComponents:n,restContentSlotComponents:l}=(0,o.useMemo)(()=>{var n;if(!(null==e?void 0:e.content))return{mainContentSlotComponents:null,restContentSlotComponents:null};let{headerContentSlot:l,restContentSlot:o}=(null==e?void 0:null===(n=e.content)||void 0===n?void 0:n.reduce((e,t)=>
1((null==t?void 0:t.position)===i.hM?e.headerContentSlot.push(t):e.restContentSlot.push(t),e),{headerContentSlot:[],restContentSlot:[]}))||{};return{mainContentSlotComponents:c(l,t),restContentSlotComponents:c(o,t)}},[null==e?void 0:e.content,t]);return{mainContentSlotComponents:n,restContentSlotComponents:l}},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(null==e?void 0:e.length)>0?e.map((e,t)=>({teaser:{componentValue:{...e}},carouselSize:"ExtraLarge",index:t})):null}}},function(e){e.O(0,[11629,55913,83595,30360,62340,52529,89586,67448,9201,48163,32895,8411,31821,92888,49774,40179],function(){return e(e.s=68474)}),_N_E=e.O()}]); 2//# sourceMappingURL=[fifthCategoryLevelId]-6c002476a615f08e.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.