PageSourceSearch

https://www.piabgroup.com/assets/5046.chunk.3c2ba5633f84551c10b0.js

js piabgroup.com collected 2026-10-06 01:43:31 UTC 21,824 bytes, 2 lines download raw bytes

1/*! For license information please see 5046.chunk.3c2ba5633f84551c10b0.js.LICENSE.txt */
2"use strict";(self.webpackChunknitro5_app=self.webpackChunknitro5_app||[]).push([[5046],{61190(e,t,n){n.d(t,{A:()=>p});var r=n(63696),a=n(10774),o=n(60945),i=n(19079),l=n(60318),c=n(60182),s=n(50667),u=n(34017),d=n(34702),m=n(48665),g=n(50622);const p=e=>{const{selectedFacets:t}=e,{valueFormatter:n}=(0,u.N)(),{buttonTheme:a}=(0,g.Am)().productListing.facets.selected,o=t.length>0;return r.createElement(f,null,r.createElement(h,null,t.map(t=>{var o;const c=null===(s=t.id,o=e.facets.find(e=>e.facetValues.some(e=>e.id===s)))||void 0===o?void 0:o.displayName;var s,u;return r.createElement(b,{key:t.id,css:(0,m.bA)(a)},r.createElement(y,null,c||t.fieldName,":"),r.createElement(E,null,"price"===(u=t).fieldName?`${n(u.fieldName,u.selectedRange[0])} - ${n(u.fieldName,u.selectedRange[1])}`:u.text),r.createElement(v,{onClick:()=>(0,i.K)(e.facets,t.fieldName,t,!1,e.onFacetValueChange)},r.createElement(l.bm,null)))})),!!o&&r.createElement(I,{onClick:()=>(()=>{const t=e.facets;t.forEach(e=>{e.facetValues.forEach(e=>{e.selected=!1})}),e.onFacetValueChange(t)})()},(0,s.TlY)("/Facets/ClearAll")))},f=a.I4.div(Object.assign(Object.assign({display:"flex",flexDirection:"column",alignItems:"center"},(0,d.$_)(o.Cm,{flexDirection:"row"})),{padding:{y:o.Y},borderTop:{width:1,style:"solid",color:({productCard:e})=>e.border.color},rowGap:o.Y})),h=a.I4.div({display:"flex",flexWrap:"wrap",width:"100%",columnGap:o.EX,rowGap:o.EX}),b=a.I4.div({display:"flex",alignItems:"center",borderRadius:({globalUi:e})=>e.defaultRadius,fontSize:o.Ck,padding:{x:o.Y-o.nU,y:({isCompact:e})=>e?6:12}}),v=(0,a.I4)(c.pH,{width:o.Rr/2,marginLeft:o.Y,height:"100%"}),I=(0,a.I4)(c.z9,{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",textDecoration:({productListing:e})=>e.facets.selected.clearAllIsUnderlined?"underline":"none",color:({productListing:e})=>e.facets.selected.clearAllColor,":hover":{textDecoration:"underline",color:({productListing:e})=>e.facets.selected.clearAllHoverColor},minWidth:"fit-content"}),y=a.I4.span({fontWeight:o.IT.Medium}),E=a.I4.span({marginLeft:o.q$})},19079(e,t,n){n.d(t,{A:()=>c,K:()=>l});var r=n(63696),a=n(46430),o=n(3942),i=n(50622);function l(e,t,n,r,o){const i=(0,a.A)(e,t,n,r);i!==e&&o(i)}const c=r.memo(function(e){const{FacetComponent:t,NumericFacetComponent:n,autoExpand:a}=(0,i.Am)().productListing.facets,c=(0,r.useCallback)((t,n,r)=>{l(e.facets,t,n,r,e.onFacetValueChange)},[e.facets,e.onFacetValueChange]),s=(0,r.useCallback)((t,n)=>{const r=e.facets.map(e=>e.fieldName===t?((e,t)=>Object.assign(Object.assign({},e),{facetValues:e.facetValues.map(e=>e.fieldName===t.fieldName?t:e)}))(e,Object.assign(Object.assign({},n),{selected:!0})):e);e.onFacetValueChange(r)},[e]),u=[],{grouped:d,ungrouped:m}=e.facets.reduce((e,t)=>(t.groupName?(e.grouped[t.groupName]||(e.grouped[t.groupName]=[]),e.grouped[t.groupName].push(t)):e.ungrouped.push(t),e),{grouped:{},ungrouped:[]});u.push(...Object.entries(d).map(([e,t])=>({index:t[0].sortIndex,allowsMultiple:t[0].allowsMultiple,groupName:e,children:t}))),u.push(...m.map(e=>({index:e.sortIndex,allowsMultiple:e.allowsMultiple,groupName:null,children:[e]})));return r.createElement(r.Fragment,null,u.sort((e,t)=>(e.index||0)-(t.index||0)).map((i,l)=>{return r.createElement(r.Fragment,{key:l},i.allowsMultiple?r.createElement(o.A,{key:i.groupName,onFacetValueChange:s,groupName:i.groupName,facets:i.children}):"numericRange"===i.children[0].facetType||"histogram"===i.children[0].facetType?r.createElement(n,Object.assign({key:i.children[0].fieldName},i.children[0],{onFacetValueChange:s,showFiltersOnDefault:!1,scrollContainerWidth:e.scrollContainerWidth,enableRangeInput:"histogram"===i.children[0].facetType})):r.createElement(t,Object.assign({shouldClose:e.shouldClose,key:i.children[0].fieldName},i.children[0],{onFacetValueChange:c,showFiltersOnDefault:!!a&&(d=l,1===u.length||!e.isMobileFilter&&d<3)})));var d}))})},23442(e,t,n){n.d(t,{Ay:()=>y,HW:()=>W,YV:()=>D,iI:()=>A});var r=n(63696),a=n(10774),o=n(89227),i=n(51782),l=n(14640),c=n(48665),s=n(60945),u=n(93538),d=n(50667),m=n(79289),g=n(34702),p=n(60318),f=n(16835),h=n(62377),b=n(52461),v=n(13390),I=n(50622);const y=(0,a.I4)(function(e){var t;const{product:n}=e,[a,o]=(0,r.useState)(!1),{productCard:i}=(0,I.Am)(),{flags:{variation:l}}=i;return r.createElement(C,{onMouseEnter:function(){o(!0)},onMouseLeave:function(){o(!1)},css:!!e.cardShadow&&E},r.createElement(k,Object.assign({to:n.url,linkIdentifier:n.linkIdentifier,target:"_self"},m.GB.ProductLink),r.createElement(w,null,r.createElement(x,{src:n.images[0],alt:n.displayName,itemProp:"image",part:e.perRow})),r.createElement(S,null,!!n.isConfigurable&&r.createElement(M,null,r.createElement(V,null),(0,d.TlY)("/ProductListing/Configurable")),r.createElement(B,{css:!!a&&L},(0,h.o)(n.displayName,"['\"®]",(e,t)=>r.createElement("sup",{key:t},e))),!!i.category.showMainCategory&&r.createElement(P,null,n.mainCategory),r.createElement(R,{column:!0},(null===(t=n.otherInformationList)||void 0===t?void 0:t.length)>0?n.otherInformationList.map((e,t)=>r.createElement(F,{key:t},e)):n.otherInformation?r.createElement(F,null,n.otherInformation):r.createElement(r.Fragment,null,!!n.industries&&r.createElement(F,null,n.industries),!!n.applications&&r.createElement(F,null,n.applications))),r.createElement(N,null,(0,d.TlY)("/ProductListing/ViewProduct"),r.createElement(T,null)))),r.createElement(A,null,n.variationCount>1&&!(n.isConfigurable||n.isQuoteOnly)&&r.createElement(z,{css:(0,c.bA)(l.theme)},(0,d.TlY)("/ProductListing/VariationCount",n.variationCount)),!!n.isNew&&r.createElement(W,null,(0,d.TlY)("/ProductListing/New")),!!n.isNewDesign&&r.createElement(W,null,(0,d.TlY)("/ProductListing/NewDesign")),!!n.isOutphased&&r.createElement(D,null,(0,d.TlY)("/ProductListing/Outphased"))))}),E=(0,a.I4)((0,g.$_)(s._f,{":hover":{boxShadow:"0px 3px 5px 1px rgba(0,0,0,.12)"}})),C=(0,a.I4)(c.In,(0,s.X6)({property:"box-shadow",willChange:!0}),{color:({productCard:e})=>e.textColor,position:"relative",display:"flex",flexDirection:"column",height:"100%",minHeight:366,padding:{x:s.Y,to
2p:s.as,bottom:s.Y},border:{xy:{width:s.yL,style:"solid",color:({productCard:e})=>e.border.color},radius:({globalUi:e})=>e.defaultRadius}}),k=(0,a.I4)(i.Ay,u.pW,{display:"flex",flexDirection:"column",flexGrow:1}),w=a.I4.div({position:"relative",flexShrink:0,marginBottom:s.Lc.large}),x=(0,a.I4)(o.A,{height:124,width:"100%",objectFit:"contain"}),S=a.I4.div({position:"relative",display:"flex",flexDirection:"column",flexGrow:1}),L=(0,a.I4)({textDecoration:"underline",color:({colorThemes:e})=>e.primary.hoverBackground}),B=(0,a.I4)(a.I4.H3,f.W,{margin:{top:0,bottom:s.Lc.tiny},fontWeight:s.IT.Medium,wordBreak:"break-word",fontSize:({productCard:e})=>e.title.fontSize.desktop}),P=a.I4.div(b.y,v.L,{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",marginBottom:s.Lc.small,fontSize:({productCard:e})=>e.category.fontSize.desktop}),R=(0,a.I4)(l.Ul,{flexGrow:1,marginBottom:s.Y}),F=a.I4.li(b.y,v.L,{display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical",overflow:"hidden",marginBottom:s.Lc.small,fontSize:({productCard:e})=>e.informationList.fontSize.desktop,":last-child":{marginBottom:0}}),N=a.I4.div((0,s.qY)(),{color:({colorThemes:e})=>e.primary.background,fontWeight:({productCard:e})=>e.view.fontWeight,fontFamily:({productCard:e})=>e.view.fontFamily,fontSize:({productCard:e})=>e.view.fontSize,textAlign:"center"}),T=(0,a.I4)(p.Qp,{fontSize:"1em",marginLeft:s.nU}),A=a.I4.div({position:"absolute",top:s.Y,left:0,zIndex:s.Py.ProductBadge}),O=(0,a.I4)(Object.assign(Object.assign({marginBottom:s.nU,padding:{x:s.EX,y:s.EX},borderTopRightRadius:({globalUi:e})=>e.defaultHalfRadius,borderBottomRightRadius:({globalUi:e})=>e.defaultHalfRadius,textTransform:"uppercase",lineHeight:1,font:{size:({productCard:e})=>e.flags.variation.fontSize.compact,weight:({productCard:e})=>e.flags.variation.fontWeight}},(0,g.$_)(s.Cm,{fontSize:({productCard:e})=>e.flags.variation.fontSize.desktop})),{width:"fit-content"})),W=a.I4.div(O,{backgroundColor:s.TL,color:s.BN}),D=a.I4.div(O,{backgroundColor:s.V3,color:s.BN}),z=a.I4.div(O),M=a.I4.div({display:"flex",alignItems:"center",position:"absolute",top:-35,left:0,width:"fit-content",marginBottom:s.EX,padding:{x:s.EX,y:s.nU},backgroundColor:s.nv,color:s.V3,borderRadius:11,font:{size:s.GY,weight:s.IT.Medium},lineHeight:1,zIndex:s.Py.ProductBadge}),V=(0,a.I4)(p.wB,{fontSize:s.Ck,marginRight:s.nU})},33139(e,t,n){n.d(t,{H:()=>l});var r=n(50667),a=n(37799),o=n(97935),i=n(31678);function l(){return function(e){const t=e.breakpoint;let n=4;return t<=r.EA.Tiny?n=1:t===r.EA.Small&&(n=3),Math.max(Math.floor(n*e.pageLayoutFraction*e.boxLayoutFraction),1)}({breakpoint:(0,i.d)(e=>e.currentBreakpoint),pageLayoutContext:(0,o.iY)(),pageLayoutFraction:(0,o.b0)(),boxLayoutFraction:(0,a.rR)()})}},18291(e,t,n){n.d(t,{A:()=>b});var r=n(26166),a=n(63696),o=n(10774),i=n(60945),l=n(8981),c=n(59503),s=n(48665),u=n(50622),d=n(86636),m=n(3012);const g=(0,a.forwardRef)((e,t)=>{var n,l;const{children:c,options:g,disabled:f,onChangeOption:b,onChange:v,isMobileFilter:k,label:w,placeholder:x,selectStyles:S,toggleStyles:L,error:B,as:P,noBorder:R}=e,F=(0,r.__rest)(e,["children","options","disabled","onChangeOption","onChange","isMobileFilter","label","placeholder","selectStyles","toggleStyles","error","as","noBorder"]),{defaultGeneralSize:N,defaultTheme:T,borderColor:A}=(0,u.Am)().inputs.select,O=T[(0,d.LY)()],W=null!=P?P:O,D=[x&&{text:
2x,value:""},...g].filter(e=>void 0!==e),[z,M]=(0,a.useState)(!1);function V(e){v&&v(e),b&&b(D[e.currentTarget.selectedIndex].value)}const j=e=>x&&0===e,Y=f?s.Sx.Disabled:W,U=R?{color:"transparent"}:P?null:{color:A},G=(0,o.I4)((0,s.bA)(Y,!1),{backgroundColor:"transparent"}),H=(0,o.I4)((0,s.bA)(Y,!0),{border:Object.assign({radius:({globalUi:e})=>e.defaultRadius},U&&{xy:U})}),_=(0,o.I4)((0,i.qY)(N),{paddingRight:({inputs:e})=>e.generalInputDecorator[N].padding.x+i.RV,padding:{y:0},font:{size:({inputs:{select:e}})=>e.fontSize,weight:({inputs:{select:e}})=>e.fontWeight,family:({inputs:{select:e}})=>e.fontFamily}},H),X=f?C:[(0,s.bA)(Y,!1),L],q=null!==(l=null!=w?w:null===(n=null==D?void 0:D[0])||void 0===n?void 0:n.text)&&void 0!==l?l:"",$=q.replace(/\s+/g,"-").toLocaleLowerCase();return k?a.createElement(o.I4.Div,null,a.createElement(y,Object.assign({ref:t,id:$,"aria-label":q,onBlur:()=>M(!1),onClick:()=>!f&&M(!z),onSelect:()=>M(!1),onChange:V,required:e.required,disabled:f,css:[_,(null==e?void 0:e.selectStyles)&&(null==e?void 0:e.selectStyles)]},F),D.map((e,t)=>a.createElement("option",{key:e.value,value:e.value,disabled:j(t),hidden:j(t)},e.text)))):a.createElement(o.I4.Div,{css:G},!!w&&a.createElement(p,null,w),a.createElement(h,null,a.createElement(I,Object.assign({ref:t,id:$,"aria-label":q,onBlur:()=>M(!1),onClick:()=>!f&&M(!z),onSelect:()=>M(!1),onChange:V},F,{required:e.required,disabled:f,css:[_,(null==e?void 0:e.selectStyles)&&(null==e?void 0:e.selectStyles)]}),D.map((e,t)=>a.createElement(o.I4.Option,{key:e.value,value:e.value,css:[G,e.highlight&&{backgroundColor:i.hj}],disabled:j(t),hidden:j(t)},e.text))),a.createElement(E,{isUp:z,css:X})),!!B&&a.createElement(m.Kw,null,B))}),p=(0,o.I4)(m.DZ,{position:"static"}),f=(0,o.I4)(g,{position:"relative"}),h=o.I4.div({alignItems:"center",display:"inline-flex",position:"relative",width:"100%"}),b=(0,l.lv)(f),v=(0,o.I4)({appearance:"none",padding:{xy:0},font:{family:"inherit",size:"inherit",style:"inherit",variant:"inherit",weight:"inherit"},color:"inherit",border:{xy:{width:0}},backgroundColor:["transparent","initial"],":focus":{outlineWidth:0,outlineStyle:"none"}}),I=(0,o.I4)(o.I4.Select,v,{minWidth:"100%",border:{radius:({globalUi:e})=>e.defaultRadius},lineHeight:1}),y=(0,o.I4)(o.I4.Select,v,{minWidth:"100%"}),E=(0,o.I4)(c.A,(0,i.X6)({property:"transform"}),{position:"absolute",right:12,pointerEvents:"none"}),C=(0,o.I4)({color:i.Kl})},48238(e,t,n){n.d(t,{x:()=>i});var r=n(63696),a=n(10774),o=n(60945);const i=(0,a.I4)(({cardsPerRow:e,children:t})=>{const n=(0,a.I4)({display:"grid",gridTemplateColumns:`repeat(${e}, minmax(0, 1fr))`,gridColumnGap:o.Lc.medium,gridRowGap:o.Lc.medium});return r.createElement(a.I4.Div,{css:n},t)})},19441(e,t,n){n.d(t,{A:()=>M});var r=n(26166),a=n(63696),o=n(71120),i=n(50667),l=n(10774),c=n(14640),s=n(51782),u=n(60945),d=n(93538),m=n(42875);var g=n(60318);const p=e=>{const t=(0,i.AKH)((0,i.bSK)()),n=function(e){const t=(0,a.useRef)(null),n=(0,a.useRef)(!1);return(0,m.N)(()=>{var r;(0,i.BdH)()&&(!n.current&&e&&(null===(r=t.current)||void 0===r||r.scrollIntoView({inline:"center",block:"nearest"})),n.current=e)},[t,e]),t}(e.breadcrumbs.length>0),r=e=>{n.current=e};return a.createElement(f,{row:!0},e.breadcrumbs.map(({url:n,text:o},i)=>{const l=i===e.breadcrumbs.length-1;return a.createElement(h,{key:n,css:[l&&b,e.darkTheme&&v],ref:l?r:null},t===n?a.createElement("span",null,o):a.createElement(a.Fragment,null,n?a.createElement(E,{to:n,css:!!e.darkTheme&&I},o):a.createElement(C,null,o),!l&&a.createElement(k,{css:!!e.darkTheme&&y})))}))},f=(0,l.I4)(c.Ul,u.LG,{margin:{y:u.Y},fontSize:({breadcrumbs:e})=>e.fontSize,flexWrap:({isCompact:e})=>e?"nowrap":"wrap",overflowX:"auto",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",minHeight:({globalUi:{generalSpacingDecorator:e}})=>e[u.Bz.Default].height}),h=l.I4.li({display:"inline-block",padding:{y:u.EX}}),b=(0,l.I4)({color:({breadcrumbs:e})=>e.currentColor,fontWeight:({breadcrumbs:e})=>e.fontWeightCurrent,textDecoration:({breadcrumbs:e})=>e.textDecorationCurrent}),v=(0,l.I4)({color:({breadcrumbs:e})=>e.darkThemeCurrentColor}),I=(0,l.I4)((0,d.IA)({color:({breadcrumbs:e})=>e.darkThemeDefaultColor,textDecoration:"none",padding:{y:u.EX}},{textDecoration:"underline"})),y=(0,l.I4)({color:({breadcrumbs:e})=>e.darkThemeDividerColor}),E=(0,l.I4)(s.Ay,(0,d.IA)({color:({breadcrumbs:e})=>e.defaultColor,textDecoration:"none",padding:{y:u.EX}},{textDecoration:"underline"}),{fontWeight:({breadcrumbs:e})=>e.fontWeight}),C=l.I4.span({fontWeight:({breadcrumbs:e})=>e.fontWeight}),k=(0,l.I4)(g.Qp,{margin:{x:u.nU},color:({breadcrumbs:e})=>e.dividerColor});var w=n(34739);function x(e,t){return e.host===t.host&&e.pathname===t.pathname}const S=(0,l.I4)(function(e){return a.createElement(P,null,a.createElement(B,{row:!0},e.items.map(e=>a.createElement(L,{key:e.url,item:e,activeItem:x(new i.Acj(e.url),(0,i.bSK)())}))))}),L=({item:e,activeItem:t})=>
2{const n=t?F:R,r="productCount"in e&&e.productCount,o=(0,a.useRef)(!1),l=(0,a.useRef)(null);return(0,m.N)(()=>{(0,i.BdH)()&&(!o.current&&t&&l.current.scrollIntoView({inline:"center",block:"nearest"}),o.current=t)},[t]),a.createElement("li",{ref:e=>{t&&(l.current=e)}},a.createElement(n,{to:e.url},e.name,!!r&&a.createElement(N,null,` (${r})`)))},B=(0,l.I4)(c.Ul,{padding:{y:u.Y}}),P=l.I4.div({overflow:"auto",WebkitOverflowScrolling:"touch",margin:{y:u.EX}}),R=(0,l.I4)(s.Ay,(0,d.IA)({color:"inherit",textDecoration:"none",marginRight:u.Y,whiteSpace:"nowrap",fontWeight:u.IT.Medium},{textDecoration:"underline"})),F=(0,l.I4)(R,{color:({globalUi:e})=>e.links.light.color}),N=l.I4.span({fontWeight:u.IT.Normal,color:u.fX});function T(e){return a.createElement(a.Fragment,null,!!e.parent&&a.createElement(W,{to:e.parent.url},e.parent.name),a.createElement(l.I4.Nav,{css:!!e.parent&&{marginLeft:u.Lc.small}},a.createElement(c.Ul,{column:!0},e.items.map(e=>{const t=x(new i.Acj(e.url),(0,i.bSK)())?O:A,n=(0,i.xsN)(new i.Acj(e.url))?{}:{target:e.targetFrameName,rel:"noopener noreferrer"};return a.createElement("li",{key:e.url},a.createElement(t,Object.assign({to:e.url},n),e.name," ","children"in e&&e.children.length>0&&a.createElement(D,null)))}))))}const A=(0,l.I4)(s.Ay,(0,d.IA)({color:"inherit",textDecoration:"none",fontSize:u.Ck},{textDecoration:"underline"})),O=(0,l.I4)(A,{color:({globalUi:e})=>e.siteAccent.light,fontWeight:u.IT.Medium,":hover":{color:({globalUi:e})=>e.links.light.hoverColor}}),W=(0,l.I4)(A,{fontWeight:u.IT.Medium,color:u.eQ}),D=(0,l.I4)(g.Qp,{strokeWidth:"1",fontSize:u.Ck}),z=(0,l.I4)(e=>{let{breadcrumbs:t}=e,n=(0,r.__rest)(e,["breadcrumbs"]);return"breadcrumbs"in e&&(t=t||[]),a.createElement(o.gZ,null,!!t&&a.createElement(o.so,{appearanceWidth:"normal",hasGap:!0},a.createElement(p,{breadcrumbs:t})),a.createElement(o.x,Object.assign({},n)))}),M=(0,l.I4)(e=>{var{children:t,parent:n,subNavigation:i,prioritizedSubContent:l,unprioritizedSubContent:c,forceHorizontalSubNav:s=!1}=e,u=(0,r.__rest)(e,["children","parent","subNavigation","prioritizedSubContent","unprioritizedSubContent","forceHorizontalSubNav"]);const d=(0,w.tO)(),m=l||i&&i.length>0||c;return d||s?a.createElement(z,Object.assign({layout:o.PE.None},u),a.createElement(a.Fragment,{key:"subcontent"},l,!!i&&a.createElement(o.x,null,a.createElement(S,{items:i})),c),a.createElement(a.Fragment,{key:"content"},t)):a.createElement(z,Object.assign({layout:m?o.PE.OneToFour:o.PE.None},u),a.createElement(a.Fragment,{key:"subcontent"},!!m&&a.createElement(o.nC,{css:V},l,!!i&&a.createElement(o.eS,null,a.createElement(T,{items:i,parent:n})),c)),a.createElement(a.Fragment,{key:"content"},t))}),V={marginTop:u.Lc.medium}},62377(e,t,n){function r(e,t,n){const r=t instanceof RegExp?t:new RegExp(`(${t})`,"gi");return e.split(r).map((e,t)=>t%2?n(e,t):e)}n.d(t,{o:()=>r})},88562(e,t,n){n.d(t,{J:()=>s});var r=n(26166),a=n(63696),o=n(50667),i=n(9566),l=n(46430),c=n(31678);const s=e=>{var t,n,s,u,d;const m=(0,a.useRef)(),g=(0,a.useRef)(null!==(t=e.listType)&&void 0!==t?t:"product"),p=(0,a.useRef)(e.facets),[f,h]=(0,a.useState)(e.facets);p.current!==e.facets&&(h(e.facets),p.current=e.facets);const b=(0,a.useCallback)(()=>{const e=[];return f.forEach(t=>{(0,l.B)(t.facetValues,e)}),e},[f])(),[v,I]=(0,a.useState)(!0),y=(0,a.useRef)(null===(n=e.sortOptions)||void 0===n?void 0:n.value),[E,C]=(0,a.useState)(null===(s=e.sortOptions)||void 0===s?void 0:s.value);y.current!==(null===(u=e.sortOptions)||void 0===u?void 0:u.value)&&(C(null===(d=e.sortOptions)||void 0===d?void 0:d.value),y.current=e.sortOptions.value);const k=(0,c.d)(e=>e.currentPage.url),w=(0,a.useCallback)((e,t,n,a,c)=>(0,r.__awaiter)(void 0,void 0,void 0,function*(){const r=new o.Acj(k);"article"===g.current?((r.searchParams.get(i.Vg)||y.current!==n)&&r.searchParams.set(i.Vg,n),r.searchParams.set(i.y8,String(e))):"category"===g.current?((r.searchParams.get(i.PC)||y.current!==n)&&r.searchParams.set(i.PC,n),r.searchParams.set(i.Ct,String(e))):"content"===g.current?((r.searchParams.get(i.IG)||y.current!==n)&&r.searchParams.set(i.IG,n),r.searchParams.set(i.TU,String(e))):("standaloneVariation"===g.current||(r.searchParams.get(i.qs)||y.current!==n)&&(r.searchParams.set(i.qs,n),c&&r.searchParams.set(i.kr,c)),r.searchParams.set(i.F6,String(e)));for(const e of t){r.searchParams.delete(e.fieldName);for(const t of(0,l.B)(e.facetValues))("numericRange"===e.facetType||"histogram"===e.facetType)&&t.selectedRange&&t.selectedRange.length>1?(t.selectedRange[0]>t.min||t.selectedRange[1]<t.max)&&r.searchParams.append(e.fieldName,`${t.selectedRange[0]}|${t.selectedRange[1]}`):r.searchParams.append(e.fieldName,t.id)}r.hiddenParams.set(i.lr,g.current);try{yield(0,o.g5r)(r,Object.assign({skipAppInsightsPageviewEvent:!1},a))}catch(e){}}),[k]),[x,S]=(0,a.useState)(!1),[L,B]=(0,a.useState)(!1);const P=(0,a.useCallback)(()=>
2(0,r.__awaiter)(void 0,void 0,void 0,function*(){f.forEach(e=>{e.facetValues.forEach(e=>{e.selected=!1})}),h(f),yield w(1,f,E),I(!0)}),[f,w,E]),R=(0,a.useCallback)(e=>{(0,o.Tus)("Changed facets"),h(e),requestAnimationFrame(()=>{w(1,e,E)}),m.current&&m.current()},[w,E]),F=(0,a.useCallback)((e,t)=>{(0,o.Tus)("Changed sort order"),C(e),w(1,f,e,null,t)},[f,w]),N=(0,a.useMemo)(()=>({sortBy:E,facets:f,selectedFacets:b,flyoutMounted:L,showFlyout:x,closeAllFacetGroups:v}),[E,f,b,L,x,v]);return(0,a.useEffect)(()=>{x&&B(!0)},[x]),(0,a.useEffect)(()=>{1===N.facets.length&&I(!1)},[N.facets.length]),{state:N,reloadPage:w,onFacetValueChange:R,onSortChange:F,toggleFlyout:function(){S(e=>!e)},clearFacets:P}}},79289(e,t,n){n.d(t,{GB:()=>o,OC:()=>a});const r={CheckoutPage:"checkout-page",MyPagesLink:"mypages-link",ProductLink:"product-link",OpenLoginButton:"open-login-button",ForgotPasswordButton:"forgot-password-button",LoginButton:"login-button",LoginFailedElement:"login-failed-element",LoginEmailInput:"login-email-input",LoginPasswordInput:"login-password-input",RegisterButton:"register-button",RegisterFailedElement:"register-failed-element",RegisterEmailInput:"register-email-input",RegisterPasswordInput:"register-password-input",RegisterAcceptTermsInput:"register-accept-terms-input",MiniCartButton:"minicart-button",IncreaseQuantityButton:"increase-quantity-button",DecreaseQuantityButton:"decrease-quantity-button",QuantityInput:"quantity-input",MiniCartElement:"minicart-element",MiniCartItemElement:"minicart-item-element",RemoveMiniCartItemButton:"remove-minicart-item-button",CompletePurchaseButton:"complete-purchase-button",SelectShippingMethodInput:"select-shipping-method-input",SelectPaymentMethodInput:"select-payment-method-input",VariantSelectorElement:"variant-selector-element",AddToCartButton:"add-to-cart-button",OpenMonitorBackInStockButton:"open-monitor-back-in-stock-button",MonitorBackInStockEmailInput:"monitor-back-in-email-input",MonitorBackInStockButton:"monitor-back-in-stock-button",ToggleWishlistItemButton:"toggle-wishlist-item-button",ProductListSortingDropdown:"productlist-sorting-dropdown",ContentListSortingDropdown:"contentlist-sorting-dropdown",ConfiguratorStepButton:"configurator-step-button",ConfiguratorNextStepButton:"configurator-next-step-button",ConfiguratorPrevStepButton:"configurator-prev-step-button"},a="data-test-id",o={};let i;for(i in r)o[i]=l(i);function l(e){return{[a]:r[e]}}}}]);

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.