1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742,7833],{40742:(e,l,a)=>{a.r(l),a.d(l,{default:()=>n});var t=a(46045),r=a(37876),s=a(77833);let n=e=>{var l,a,n,o,u,c,i,d,x;return(0,r.jsx)("div",{className:"category-component bg-transparent pb-8 w-full",children:(0,r.jsx)("div",{className:"mx-auto max-w-1800px px-6 text-center lg:px-8",children:(0,r.jsx)("ul",{role:"list",className:"flex justify-center flex-wrap gap-x-8 gap-y-2 text-center mt-20 mx-auto",children:Array.isArray(null==(o=e.fields)||null==(n=o.data)||null==(a=n.ds)||null==(l=a.categories)?void 0:l.targetItems)&&(null==(x=e.fields)||null==(d=x.data)||null==(i=d.ds)||null==(c=i.categories)||null==(u=c.targetItems)?void 0:u.map((e,l)=>(0,r.jsx)("li",{className:"w-[200px]",children:(0,r.jsx)(s.default,(0,t._)({},e))},l)))})})})}},77833:(e,l,a)=>{a.r(l),a.d(l,{default:()=>i});var t=a(37876),r=a(93639),s=a(40163),n=a(48230),o=a.n(n),u=a(14232),c=a(89099);let i=e=>{var l,a,n;let[i,d]=(0,u.useState)(null==e||null==(l=e.categoryImage)?void 0:l.jsonValue),[x,g]=(0,u.useState)("text-ChartwellPlum"),[m,v]=(0,u.useState)(!1),h=(0,c.useRouter)(),f=(0,u.useCallback)(()=>{try{var l,a;h.asPath.split("?")[0]===(null==(l=e.categoryUrl)?void 0:l.url)&&(d(null==(a=e.categoryHoverImage)?void 0:a.jsonValue),g("text-ChartwellBlue"),v(!0))}catch(e){console.error("Error checking category ID:",e)}},[h.asPath,e.categoryUrl,null==(a=e.categoryHoverImage)?void 0:a.jsonValue]);return(0,u.useEffect)(()=>{f()},[f]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{onMouseEnter:()=>{var l;d(null==(l=e.categoryHoverImage)?void 0:l.jsonValue),g("text-ChartwellBlue")},onMouseLeave:()=>{if(!m){var l;d(null==e||null==(l=e.categoryImage)?void 0:l.jsonValue),g("text-ChartwellPlum")}},children:(0,t.jsxs)(o(),{href:(null==(n=e.categoryUrl)?void 0:n.url)||"",locale:h.locale,scroll:!1,className:"text-center no-underline",children:[(0,t.jsx)(r.Z,{field:i,className:"block xs:w-24 xs:h-24 w-16 h-16 mx-auto"}),(0,t.jsx)(s.E,{field:e.categoryName,tag:"h2",className:"mx-auto py-3 px-3 lg:px-2 font-semibold field-title text-lg normal-case no-underline ".concat(x)})]})})})}}}]);
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.