1/*! For license information please see ResourceList-57f6857d112a9b86cb7f.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkbeasley_design=globalThis.webpackChunkbeasley_design||[]).push([[3987],{6149(e,t,r){r.r(t),r.d(t,{default:()=>i});var a=r(4848),l=r(6540),s=r(4164);const i=({filterType:e="documentType",resources:t,title:r,dropShadow:i})=>{const[o,n]=(0,l.useState)([]),c=t.filter(t=>0===o.length||o.includes(t[e])),d=Array.from(new Set(t.map(t=>t[e]||""))).filter(e=>""!==e.trim());return(0,a.jsx)("section",{className:(0,s.A)("relative",i?"main-shadow":"container-section-spacing"),"data-testid":"resourceList",children:(0,a.jsxs)("div",{className:"container-fluid",children:[(0,a.jsxs)("div",{className:"mb-6 flex flex-col justify-between md:flex-row lg:mb-6 lg:flex-row",children:[(0,a.jsx)("h2",{className:"mr-4 mb-4 font-serif text-s-h2 text-title md:max-w-[50%] lg:flex-[50%]","data-testid":"resourceListTitle",children:r}),(0,a.jsx)("div",{className:"max-md:opacity-1 overflow-gradient flex overflow-auto max-md:pointer-events-auto max-md:!translate-y-0 md:max-w-[50%] md:flex-wrap md:justify-end lg:flex-[50%]",children:d.map((e,t)=>(0,a.jsx)("button",{onClick:()=>(e=>{o.includes(e)?n(o.filter(t=>t!==e)):n([...o,e])})(e),"aria-label":`Filter by ${e}`,"data-ga-event":"clickFilter","data-ga-param-click-text":e,"data-ga-param-location":r,className:"m-2 h-fit whitespace-nowrap rounded-[50px] py-[10px] px-[15px] text-s-subcopy outline-none transition-colors focus-visible:outline-primary "+(o.includes(e)?"bg-platinum-base text-neutral-70 focus-visible:bg-amethyst-base focus-visible:text-neutral-white":"bg-amethyst-base text-neutral-white focus-visible:bg-neutral-white focus-visible:text-amethyst-base md:hover:bg-platinum-base md:hover:text-neutral-70"),"data-testid":`resourceListFilterButton-${t}`,children:e},e))})]}),(0,a.jsx)("div",{className:"-mt-[1px] flex flex-col items-center border-t border-t-silver-base",children:c.map((e,t)=>(0,a.jsxs)("a",{"aria-label":e.title,"aria-current":"page",href:e.url,className:"link-block group relative flex h-full w-full grow items-center border-b border-b-silver-base py-4 pr-12 text-s-subcopy text-amethyst-base transition-colors hover:text-amethyst-60","data-testid":`resourceListLink-${t}`,children:[(0,a.jsx)("span",{children:e.title}),(0,a.jsx)("span",{className:"arrow-icon absolute right-4 top-1/2 w-4 -translate-y-1/2 transition-transform group-hover:translate-x-3 lg:w-4 [&>svg]:w-full",children:(0,a.jsx)("svg",{xmlns:"http:www.w3.org/2000/svg",fill:"none",viewBox:"1.43 1.26 36.5 36.62","aria-hidden":"true",children:(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M29.328 21.864h-27.9v-4.585h27.9L16.923 4.451l3.296-3.187 15.487 16.015h.008v.009l2.209 2.283-2.209 2.284v.009h-.008L20.219 37.879l-3.296-3.187 12.405-12.828Z",clipRule:"evenodd"})})})]},e.componentID))})]})})}},1020(e,t,r){var a=r(6540),l=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var a,s={},c=null,d=null;for(a in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,a)&&!n.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:l,type:e,key:c,ref:d,props:s,_owner:o.current}}t.Fragment=s,t.jsx=c,t.jsxs=c},4848(e,t,r){e.exports=r(1020)},4164(e,t,r){function a(e){var t,r,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=a(e[t]))&&(l&&(l+=" "),l+=r)}else for(r in e)e[r]&&(l&&(l+=" "),l+=r);return l}r.d(t,{A:()=>l});const l=function(){for(var e,t,r=0,l="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=a(e))&&(l&&(l+=" "),l+=t);return l}}}]);
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.