"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5902],{8176:function(e,l,n){var r=n(10972),i=n(82336);l.Z=function(e){var l=e.loadingText,n=e.hideSpinner;return(0,r.jsxs)("div",{className:"absolute inset-0 w-full flex-center",children:[!n&&(0,r.jsx)(i.T,{}),(0,r.jsx)("h4",{className:"mt-4 text-h4",children:l||"Loading..."})]})}},5540:function(e,l,n){n.d(l,{OV:function(){return x},gr:function(){return v}});var r=n(828),i=n(36305),t=n(10972),o=n(52379),s=n.n(o),a=n(97176),d=n(56067),c=n(56990),u=n(57851),m=n(33085),f=n(54799),x=function(e){var l=e.collage,n=e.className,r=e.emptyTileClicked,o=e.allowReordering,s=e.handleReorder,d=e.isFeatured,c=e.allowRemoving,m=e.handleRemove,x=(0,a.useState)([]),v=x[0],g=x[1],w=(0,a.useState)(-1),p=w[0],j=w[1],b=(0,a.useCallback)((function(e){return f.p.GetTileStyle(l.layout,e)}),[l.layout]),N=(0,a.useMemo)((function(){return"grid-rows-3"}),[]),y=function(e){g((function(l){return(0,i.Z)(l).concat([e])}))};(0,a.useEffect)((function(){g((function(e){return e.filter((function(e){return l.products.map((function(e){return e.id})).includes(e)}))}))}),[l]);var k=(0,a.useMemo)((function(){return v.length===l.products.length}),[v,l]),S=(0,a.useMemo)((function(){for(var e=f.p.LayoutItemCount[l.layout],n=[],r=0;r<e;r++)n.push(r);return n}),[l]);return(0,t.jsx)("div",{className:(0,u.m)("grid h-full max-h-full max-w-full select-none grid-flow-col-dense grid-cols-2 grid-rows-3 gap-1.5 lg:gap-2",d?"gap-1 sm:gap-1.5":"",N,n),children:S.map((function(e){for(var n=void 0,i=0;i<l.products.length;i++)if(l.products[i].sortIndex===e){n=l.products[i];break}return(0,t.jsx)(h,{position:e,collageProduct:n,className:(0,u.m)(b(e)),onImageLoaded:y,fullyLoaded:k,onClick:function(){n||null===r||void 0===r||r(e)},allowReordering:o,handleReorder:s,hoverPosition:p,setHoverPosition:j,isFeatured:d,allowRemoving:c,handleRemove:m,animated:0===l.products.length&&0===e},(null===n||void 0===n?void 0:n.id)||"empty-".concat(e))}))})},h=function(e){var l=e.collageProduct,n=e.className,i=e.onImageLoaded,o=e.fullyLoaded,f=e.onClick,x=e.position,h=e.allowReordering,v=e.handleReorder,g=e.hoverPosition,w=e.setHoverPosition,p=e.isFeatured,j=e.handleRemove,b=e.allowRemoving,N=e.animated,y=(0,a.useState)(0),k=y[0],S=y[1],F=(0,a.useState)(0),O=F[0],_=F[1],Z=(0,r.Z)((0,d.c)({type:"collage_product",item:{collageProduct:l},collect:function(e){return h?{isDragging:e.isDragging(),draggedItem:e.getItem()}:{isDragging:!1,draggedItem:void 0}},isDragging:function(e){var l=e.getClientOffset();return S((null===l||void 0===l?void 0:l.x)||0),_((null===l||void 0===l?void 0:l.y)||0),!0}}),2),C=Z[0].draggedItem,I=Z[1],L=(0,r.Z)((0,c.L)({accept:"collage_product",hover:function(e,l){if(h){var n=l.isOver({shallow:!0});null===w||void 0===w||w(n?x:-1)}},drop:function(e){h&&(null===v||void 0===v||v(e.collageProduct,x),null===w||void 0===w||w(-1))}}),2)[1],B=(0,a.useMemo)((function(){var e;return C&&(null===(e=C.collageProduct)||void 0===e?void 0:e.id)===(null===l||void 0===l?void 0:l.id)}),[C,l]),G=(0,a.useMemo)((function(){return g===x}),[g,x]);return(0,t.jsxs)(t.Fragment,{children:[B&&(0,t.jsx)("div",{className:"pointer-events-none fixed top-0 z-max h-22 w-22 -translate-x-11 -translate-y-11 overflow-hidden rounded-xs",style:{boxShadow:"0.25rem 0.75rem 2.25rem -0.6rem rgba(0,0,0,0.4)",left:k,top:O},children:(0,t.jsx)(s(),{layout:"fill",unoptimized:!0,src:l.media.url,className:"object-cover"})}),(0,t.jsxs)("div",{className:(0,u.m)("relative h-full w-full",n),children:[(0,t.jsx)("div",{className:(0,u.m)("relative h-full w-full select-none overflow-hidden rounded-xs lg:rounded-sm",o?"opacity-100":"animate-pulse bg-black opacity-20",G&&!B?"border-2 border-dashed border-black/60":"",B?"opacity-50":"",n),ref:L,children:l?(0,t.jsx)("div",{className:(0,u.m)("relative h-full w-full overflow-hidden",h?"cursor-move":""),ref:I,children:(0,t.jsx)(s(),{layout:"fill",unoptimized:!0,src:l.media.url,className:(0,u.m)("pointer-events-none object-cover",G&&!B?"opacity-80":""),onLoadingComplete:function(){null===i||void 0===i||i(l.id)}})}):(0,t.jsx)("button",{className:(0,u.m)("h-full w-full rounded-xs border border-black/10 bg-white bg-opacity-40 flex-center",n),onClick:f,children:(0,t.jsxs)("div",{className:(0,u.m)("relative h-6 w-6","md:h-8 md:w-8",p?"opacity-0":void 0),children:[N?(0,t.jsx)("div",{className:"pointer-events-none absolute -inset-6 z-20 rounded-md border-2 border-white",style:{animation:"locker_ping 2s cubic-bezier(0, 0, 0.2, 1) infinite",boxShadow:"0 0 2rem 0 rgba(255, 255, 255, 1)"}}):null,(0,t.jsx)(s(),{src:m.pO,layout:"fill",objectFit:"contain"})]})})}),l&&b?(0,t.jsx)("button",{className:"absolute -right-2 -top-2 h-7 w-7 rounded-full border border-black/10 bg-redorange p-2 shadow-md shadow-black/20 md:h-8 md:w-8 lg:shadow-lg lg:shadow-black/30",onClick:function(){var e;e=l,null===j||void 0===j||j(e)},children:(0,t.jsx)("div",{className:"relative h-full w-full",children:(0,t.jsx)(s(),{src:m.b0,layout:"fill",objectFit:"contain",className:"invert"})})}):null]})]})},v=function(e){var l=e.background,n=e.className,r=e.solidClassName,i=e.gradientClassName,o=e.socialExport;return(0,a.useMemo)((function(){var e=f.p.Backgrounds[l];return"string"===typeof e&&e.startsWith("#")?(0,t.jsx)("div",{className:(0,u.m)("absolute inset-0",n,r),style:{backgroundColor:e}}):o?(0,t.jsx)("div",{className:(0,u.m)("h-full w-full !bg-cover !bg-center",n,i),style:{background:"url(".concat(e,")")}}):(0,t.jsx)(s(),{src:e,className:(0,u.m)("scale-[101%] bg-center object-cover",n,i),layout:"fill",alt:"Gradient",objectFit:"cover",objectPosition:"center"})}),[l,n,r,i,o])}},54799:function(e,l,n){n.d(l,{p:function(){return f}});var r,i,t,o,s=n(51438),a=n(14924),d=n(26042),c=n(69396),u=n(57851),m=n(99826),f=function(){function e(){(0,s.Z)(this,e)}return e.GetTileSpan=function(e,l){return this.Layouts[e].tallIndex===l?"row-span-2":"row-span-1"},e.GetTileRounding=function(e,l){var n=this.Layouts[e].roundingIndeces.indexOf(l);if(n>-1)return this.CornerClassName[n]},e.GetTileStyle=function(e,l){return(0,u.m)(this.GetTileSpan(e,l),this.GetTileRounding(e,l))},e}();f.Backgrounds=(r={},(0,a.Z)(r,m.lSr.Gradient_1,"/images/Locker_Gradients-01.webp"),(0,a.Z)(r,m.lSr.Gradient_2,"/images/Locker_Gradients-02.webp"),(0,a.Z)(r,m.lSr.Gradient_3,"/images/Locker_Gradients-03.webp"),(0,a.Z)(r,m.lSr.Gradient_4,"/images/Locker_Gradients-04.webp"),(0,a.Z)(r,m.lSr.Gradient_5,"/images/Locker_Gradients-05.webp"),(0,a.Z)(r,m.lSr.SolidBlack,"#000000"),(0,a.Z)(r,m.lSr.SolidWhite,"#FFFFFF"),(0,a.Z)(r,m.lSr.SolidCream,"#F7F5F1"),(0,a.Z)(r,m.lSr.SolidBeige,"#EAE2D7"),(0,a.Z)(r,m.lSr.SolidGold,"#E1B87F"),(0,a.Z)(r,m.lSr.SolidBlue,"#D2DFF1"),(0,a.Z)(r,m.lSr.SolidRedorange,"#FE804F"),r),f.ExportBackgrounds=(0,c.Z)((0,d.Z)({},f.Backgrounds),(i={},(0,a.Z)(i,m.lSr.Gradient_1,"/images/collage/export/Locker_Gradients-01.webp"),(0,a.Z)(i,m.lSr.Gradient_2,"/images/collage/export/Locker_Gradients-02.webp"),(0,a.Z)(i,m.lSr.Gradient_3,"/images/collage/export/Locker_Gradients-03.webp"),(0,a.Z)(i,m.lSr.Gradient_4,"/images/collage/export/Locker_Gradients-04.webp"),(0,a.Z)(i,m.lSr.Gradient_5,"/images/collage/export/Locker_Gradients-05.webp"),i)),f.Layouts=(t={},(0,a.Z)(t,m.OVj.Five_1,{tallIndex:0,roundingIndeces:[0,1,2,4],thumbnail:"/images/collage/Collage_Layout_5-1.svg"}),(0,a.Z)(t,m.OVj.Five_2,{tallIndex:1,roundingIndeces:[0,1,2,4],thumbnail:"/images/collage/Collage_Layout_5-2.svg"}),(0,a.Z)(t,m.OVj.Five_3,{tallIndex:3,roundingIndeces:[0,2,3,4],thumbnail:"/images/collage/Collage_Layout_5-3.svg"}),(0,a.Z)(t,m.OVj.Five_4,{tallIndex:4,roundingIndeces:[0,2,3,4],thumbnail:"/images/collage/Collage_Layout_5-4.svg"}),t),f.LayoutItemCount=(o={},(0,a.Z)(o,m.OVj.Five_1,5),(0,a.Z)(o,m.OVj.Five_2,5),(0,a.Z)(o,m.OVj.Five_3,5),(0,a.Z)(o,m.OVj.Five_4,5),o),f.CornerClassName={0:"rounded-tl-md lg:rounded-tl-lg",1:"rounded-bl-md lg:rounded-bl-lg",2:"rounded-tr-md lg:rounded-tr-lg",3:"rounded-br-md lg:rounded-br-lg"},f.MAX_TITLE_LENGTH=25},60125:function(e,l,n){n.d(l,{o:function(){return m}});var r=n(10972),i=n(52379),t=n.n(i),o=n(97176),s=n(57851),a=n(83267),d=n(49676),c=n(99826),u=n(37492),m=function(e){(0,u.T)(e);var l=e.sectionInfo,n=e.overrideSection,i=(0,a.f)().breakpoint,m=(0,c.muo)({skip:!!n,variables:{id:(null===l||void 0===l?void 0:l.id)||""},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"}),f=m.data,x=m.loading,h=n||(null===f||void 0===f?void 0:f.contentSectionV2),v=(0,o.useMemo)((function(){return((null===h||void 0===h?void 0:h.contentBrands)||[]).filter((function(e){return e.enabled})).sort((function(e,l){return e.sortOrder-l.sortOrder}))}),[null===h||void 0===h?void 0:h.contentBrands]),g=(0,o.useMemo)((function(){switch(v.length){case 2:return["col-span-6 lg:col-span-5","col-span-6 lg:col-span-7"];case 3:return["col-span-4 lg:col-span-4","col-span-4 lg:col-span-4","col-span-4 lg:col-span-12"];default:return["col-span-12"]}}),[v]);return(0,r.jsx)(u.Z,{title:null===h||void 0===h?void 0:h.title,children:x?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:(0,s.m)("grid w-full grid-cols-1 gap-8 overflow-auto","sm:grid-cols-12"),children:new Array(2).fill(null).map((function(e,l){return(0,r.jsxs)("div",{className:(0,s.m)("flex w-full flex-col gap-4",g[l]),children:[(0,r.jsx)(d.O.Box,{className:"relative max-h-fit min-h-96 w-full overflow-hidden !rounded-sm"}),(0,r.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,r.jsx)(d.O.Box,{className:(0,s.m)("relative h-12 w-12 overflow-hidden !rounded-full","md:h-18 md:w-18")}),(0,r.jsxs)("div",{className:(0,s.m)("flex w-full flex-col justify-center","md:gap-2"),children:[(0,r.jsx)(d.O.Box,{className:"h-8 w-4/6 !rounded-xs"}),(0,r.jsx)(d.O.Box,{className:"h-6 w-2/6 !rounded-xs"})]})]})]},l)}))})}):(0,r.jsx)("div",{className:(0,s.m)("grid w-full grid-cols-1 gap-8 overflow-auto","sm:grid-cols-12"),children:v.map((function(e,l){var n,o=e.brand,a=e.media,d=e.mediaWide,c=e.mediaMobile,u=e.mediaBrandIcon,m=d||a,f="none"===i?c||m:m;return(0,r.jsxs)("a",{href:(null===(n=e.urlOverride)||void 0===n?void 0:n.length)?e.urlOverride:e.brand.internalClickUrl,target:"_blank",rel:"noreferrer",className:(0,s.m)("flex w-full flex-col gap-4",g[l]),children:[(0,r.jsx)("div",{className:(0,s.m)("relative max-h-fit min-h-96 w-full overflow-hidden rounded-sm"),children:(null===f||void 0===f?void 0:f.url)?(0,r.jsx)(t(),{src:f.url,unoptimized:!0,layout:"fill",objectFit:"cover",className:(0,s.m)("hidden","sm:block")}):null}),(0,r.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,r.jsx)("div",{className:(0,s.m)("relative h-12 w-12 overflow-hidden rounded-full","md:h-18 md:w-18"),children:(null===u||void 0===u?void 0:u.url)?(0,r.jsx)(t(),{src:u.url,unoptimized:!0,layout:"fill",objectFit:"cover"}):null}),(0,r.jsxs)("div",{className:(0,s.m)("flex flex-col justify-center","md:gap-2"),children:[(0,r.jsx)("p",{className:"flex w-full max-w-full flex-row overflow-hidden truncate whitespace-nowrap text-h4 font-medium",children:e.brandNameOverride||o.name}),(0,r.jsx)("p",{className:"flex w-full max-w-full flex-row overflow-hidden truncate whitespace-nowrap text-body-lg",children:e.brandText})]})]})]},e.id)}))})})}},68967:function(e,l,n){n.d(l,{k:function(){return p}});var r=n(26042),i=n(69396),t=n(10972),o=n(52379),s=n.n(o),a=n(74058),d=n.n(a),c=n(97176),u=n(57851),m=n(56849),f=n(1100),x=n(49676),h=n(31146),v=n(99826),g=n(5540),w=n(37492),p=function(e){(0,w.T)(e);var l=e.sectionInfo,n=e.overrideSection,o=e.handleFollowClick,a=(0,v.muo)({skip:!!n,variables:{id:(null===l||void 0===l?void 0:l.id)||""},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"}),p=a.data,j=a.loading,b=n||(null===p||void 0===p?void 0:p.contentSectionV2),N=(0,c.useMemo)((function(){return((null===b||void 0===b?void 0:b.contentCollages)||[]).filter((function(e){return e.enabled})).sort((function(e,l){return e.sortOrder-l.sortOrder}))}),[null===b||void 0===b?void 0:b.contentCollages]);return(0,t.jsx)(w.Z,{className:(0,u.m)("py-10","md:py-14"),title:null===b||void 0===b?void 0:b.title,children:(0,t.jsx)("div",{className:"-mb-4 w-full overflow-x-auto",children:j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mb-6 w-full flex-center sm:mb-12",children:(0,t.jsx)(x.O.Box,{className:"h-10 w-72 !rounded-xs"})}),(0,t.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-center gap-5",children:new Array(6).fill(null).map((function(e,l){return(0,t.jsx)(x.O.Box,{className:"relative h-96 w-64 overflow-hidden !rounded-sm"},l)}))})]}):(0,t.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-center gap-5",children:N.map((function(e){var l,n=e.collage;return(0,t.jsx)(d(),{href:n.path,shallow:!0,children:(0,t.jsxs)("a",{className:"relative w-64 overflow-hidden rounded-sm",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(g.gr,{background:n.background})}),(0,t.jsxs)("div",{className:(0,u.m)("flex h-full flex-col items-center gap-4 p-4 text-center","sm:p-6"),children:[(0,t.jsx)("div",{className:"relative aspect-collage h-full w-full flex-1 shrink-0 overflow-hidden rounded-lg p-0.5 flex-center",style:{filter:"drop-shadow(2px 4px 10px rgba(0,0,0,0.1)"},children:(null===(l=n.thumbnailMedia)||void 0===l?void 0:l.url)?(0,t.jsx)(s(),{src:n.thumbnailMedia.url,unoptimized:!0,layout:"fill",objectFit:"contain"}):null}),(0,t.jsxs)("div",{className:"mt-2 flex w-full flex-col gap-3",children:[(0,t.jsx)("h5",{className:(0,u.m)("line-clamp-2 w-full shrink text-center text-body-sm !font-bold drop-shadow-md","md:text-body-lg",n.background!==v.lSr.SolidBlack?"text-black":"text-white"),children:n.title}),(0,t.jsxs)("div",{className:"relative z-10 flex w-full flex-row items-center gap-1.5",children:[(0,t.jsx)(f.Z,(0,i.Z)((0,r.Z)({},n.user),{outerClassName:"shadow-md"})),(0,t.jsx)("div",{className:"flex flex-1 flex-col items-start overflow-hidden",children:(0,t.jsx)("p",{className:(0,u.m)("max-h-10 w-full shrink overflow-hidden truncate whitespace-nowrap text-left text-eyebrows drop-shadow-sm","md:text-body-sm",n.background!==v.lSr.SolidBlack?"text-black":"text-white"),children:(0,t.jsx)(h.Z,{user:n.user,variant:n.background!==v.lSr.SolidBlack?"black":"white"})})}),(0,t.jsx)(m.Z,{solid:!0,className:"w-auto border-light-grey/10 shadow-md",onClick:function(e){null===o||void 0===o||o(e,n.user.id)},disabled:n.user.currentUserIsFollowing||n.user.isCurrentUser,children:n.user.isCurrentUser?"You":n.user.currentUserIsFollowing?"Following":"Follow"})]})]})]})]})},e.id)}))})})})}},78533:function(e,l,n){n.d(l,{i:function(){return x}});var r=n(10972),i=n(52379),t=n.n(i),o=n(74058),s=n.n(o),a=n(97176),d=n(57851),c=n(49676),u=n(29381),m=n(99826),f=n(37492),x=function(e){(0,f.T)(e);var l=e.sectionInfo,n=e.overrideSection,i=(0,m.muo)({skip:!!n,variables:{id:(null===l||void 0===l?void 0:l.id)||""},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"}),o=i.data,x=i.loading,h=n||(null===o||void 0===o?void 0:o.contentSectionV2),v=(0,a.useMemo)((function(){return((null===h||void 0===h?void 0:h.contentCollections)||[]).filter((function(e){return e.enabled})).sort((function(e,l){return e.sortOrder-l.sortOrder}))}),[null===h||void 0===h?void 0:h.contentCollections]);return(0,r.jsx)(f.Z,{title:null===h||void 0===h?void 0:h.title,children:(0,r.jsx)("div",{className:"-mb-4 w-full overflow-x-auto",children:x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mb-6 w-full flex-center sm:mb-12",children:(0,r.jsx)(c.O.Box,{className:"h-10 w-72 !rounded-xs"})}),(0,r.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-start gap-5",children:new Array(6).fill(null).map((function(e,l){return(0,r.jsxs)("div",{className:"mb-8 flex flex-col gap-2",children:[(0,r.jsx)(c.O.Box,{className:"h-52 w-52 !rounded-xs"}),(0,r.jsx)(c.O.Box,{className:"h-4 w-4/6 !rounded-xs"}),(0,r.jsx)(c.O.Box,{className:"h-4 w-2/6 !rounded-xs"})]},l)}))})]}):(0,r.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-start gap-5",children:v.map((function(e){var l,n=e.collection;return(0,r.jsx)(s(),{href:n.path,shallow:!0,children:(0,r.jsxs)("div",{className:"flex flex-col gap-2 pb-4",children:[(0,r.jsx)("div",{className:"relative h-52 w-52 shrink-0 overflow-hidden rounded-sm flex-center",children:(0,r.jsx)(t(),{src:(null===(l=e.mediaOverride)||void 0===l?void 0:l.url)||(0,u.Kc)(n.previewProducts[0]),unoptimized:!0,layout:"fill",objectFit:"cover"})}),(0,r.jsxs)("div",{className:(0,d.m)("flex w-full flex-col gap-0 pb-4","sm:gap-1"),children:[(0,r.jsx)("p",{className:"flex max-h-10 w-full max-w-full flex-row truncate whitespace-normal text-body-sm font-medium",children:e.titleOverride?e.titleOverride:n.name}),(0,r.jsxs)("p",{className:"text-body-sm text-grey",children:["by"," ",e.byLineOverride?e.byLineOverride:(0,r.jsx)(s(),{href:n.user.path,passHref:!0,shallow:!0,children:(0,r.jsx)("a",{className:"underline",children:n.user.name.split(" ")[0]})})]})]})]})},e.id)}))})})})}},37492:function(e,l,n){n.d(l,{T:function(){return t}});var r=n(10972),i=n(57851),t=function(e){if(!e.sectionInfo&&!e.overrideSection)throw new Error("sectionInfo or overrideSection must be provided")};l.Z=function(e){var l=e.children,n=e.className,t=e.contentClassName,o=e.titleClassName,s=e.fullWidth,a=e.title;return(0,r.jsx)("div",{className:(0,i.m)("w-full px-4 py-8 font-everett first:pt-4 last:pb-4 even:bg-white","sm:px-10","md:px-14 md:py-8 md:first:pt-8 md:last:pb-16",n),children:(0,r.jsxs)("div",{className:(0,i.m)("relative mx-auto flex w-full max-w-7xl flex-col gap-6","sm:gap-12",s?"max-w-full":"",t),children:[(null===a||void 0===a?void 0:a.length)?(0,r.jsx)("h4",{className:(0,i.m)("text-center text-h4",o),children:a}):null,l]})})}},10185:function(e,l,n){n.d(l,{D:function(){return m}});var r=n(10972),i=n(52379),t=n.n(i),o=n(97176),s=n(57851),a=n(56849),d=n(49676),c=n(99826),u=n(37492),m=function(e){(0,u.T)(e);var l=e.sectionInfo,n=e.overrideSection,i=(0,c.muo)({skip:!!n||!l,variables:{id:(null===l||void 0===l?void 0:l.id)||""},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"}),m=i.data,f=i.loading,x=n||(null===m||void 0===m?void 0:m.contentSectionV2),h=(0,o.useMemo)((function(){return((null===x||void 0===x?void 0:x.contentHeros)||[]).filter((function(e){return e.enabled})).sort((function(e,l){return e.sortOrder-l.sortOrder}))}),[null===x||void 0===x?void 0:x.contentHeros]);return f?(0,r.jsx)(u.Z,{children:(0,r.jsx)("div",{className:(0,s.m)("flex w-full flex-col gap-10","sm:flex-row sm:gap-6 sm:px-12","md:gap-8","lg:gap-10"),children:new Array(2).fill(null).map((function(e,l){return(0,r.jsxs)("a",{className:"flex w-full flex-col gap-2",children:[(0,r.jsx)("div",{className:"relative flex h-full flex-1 flex-col items-end justify-center",children:(0,r.jsx)(d.O.Box,{className:"relative flex aspect-square h-full w-full flex-1 overflow-hidden !rounded-sm"})}),(0,r.jsxs)("div",{className:"flex w-full flex-1 flex-col items-start justify-center gap-2",children:[(0,r.jsx)(d.O.Box,{className:"h-4 w-2/6 !rounded-xs"}),(0,r.jsx)(d.O.Box,{className:"h-10 w-4/6 !rounded-xs"})]})]},l)}))})}):1===h.length?(0,r.jsx)(u.Z,{children:(0,r.jsxs)("div",{className:(0,s.m)("flex w-full flex-col gap-6","sm:flex-row sm:gap-16","md:gap-20","lg:gap-28"),children:[(0,r.jsx)("div",{className:"relative flex h-full flex-1 flex-col items-end justify-center",children:(0,r.jsx)("div",{className:(0,s.m)("relative flex aspect-square h-full w-full flex-1 overflow-hidden rounded-sm","sm:max-h-120 sm:max-w-120"),children:(0,r.jsx)(t(),{src:h[0].media.url,unoptimized:!0,layout:"fill",objectFit:"cover"})})}),(0,r.jsxs)("div",{className:(0,s.m)("flex w-full flex-1 flex-col items-start justify-center gap-2 px-2","sm:gap-4 sm:px-0"),children:[(0,r.jsx)("h2",{className:(0,s.m)("text-h3","sm:text-h3","md:text-[2.5rem]","lg:text-h2"),children:h[0].title}),(0,r.jsx)("p",{className:"max-w-96 text-h5",children:h[0].subtitle}),(0,r.jsx)(a.g,{solid:!0,className:"mt-4 w-auto px-6 py-3",size:"lg",href:h[0].url,target:"_blank",children:h[0].cta})]})]})}):(0,r.jsx)(u.Z,{children:(0,r.jsx)("div",{className:(0,s.m)("flex w-full flex-col gap-10","sm:flex-row sm:gap-6 sm:px-12","md:gap-8","lg:gap-10"),children:h.map((function(e){return(0,r.jsxs)("a",{className:"flex w-full flex-col gap-2",href:e.url,target:"_blank",rel:"noreferrer",children:[(0,r.jsx)("div",{className:"relative flex h-full flex-1 flex-col items-end justify-center",children:(0,r.jsx)("div",{className:"relative flex aspect-square h-full w-full flex-1 overflow-hidden rounded-sm",children:(0,r.jsx)(t(),{src:e.media.url,unoptimized:!0,layout:"fill",objectFit:"cover"})})}),(0,r.jsxs)("div",{className:"flex w-full flex-1 flex-col items-start justify-center gap-2",children:[(0,r.jsx)("p",{className:"max-w-96 text-buttons-lg font-light",children:e.subtitle}),(0,r.jsx)("h2",{className:"text-h4 font-medium",children:e.title})]})]},e.id)}))})})}},29167:function(e,l,n){n.d(l,{h:function(){return h}});var r=n(10972),i=n(52379),t=n.n(i),o=n(74058),s=n.n(o),a=n(97176),d=n(57851),c=n(56849),u=n(49676),m=n(31146),f=n(99826),x=n(37492),h=function(e){(0,x.T)(e);var l=e.sectionInfo,n=e.overrideSection,i=e.handleFollowClick,o=(0,f.muo)({skip:!!n,variables:{id:(null===l||void 0===l?void 0:l.id)||""},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"}),h=o.data,v=o.loading,g=n||(null===h||void 0===h?void 0:h.contentSectionV2),w=(0,a.useMemo)((function(){return((null===g||void 0===g?void 0:g.contentUsers)||[]).filter((function(e){return e.enabled})).sort((function(e,l){return e.sortOrder-l.sortOrder}))}),[null===g||void 0===g?void 0:g.contentUsers]);return(0,r.jsx)(x.Z,{className:(0,d.m)("py-10","md:py-14"),title:null===g||void 0===g?void 0:g.title,children:(0,r.jsx)("div",{className:"-mb-4 w-full overflow-x-auto",children:v?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mb-6 w-full flex-center sm:mb-12",children:(0,r.jsx)(u.O.Box,{className:"h-10 w-72 !rounded-xs"})}),(0,r.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-center gap-5",children:new Array(6).fill(null).map((function(e,l){return(0,r.jsx)(u.O.Box,{className:"relative h-96 w-64 overflow-hidden !rounded-sm"},l)}))})]}):(0,r.jsx)("div",{className:"mb-4 flex w-full min-w-fit flex-row justify-center gap-5",children:w.map((function(e){var l,n=e.user,o=n.followersCount||0,a=o>=1e6?"".concat((o/1e6).toFixed(1),"M"):o>=1e5?"".concat((o/1e5).toFixed(0),"k"):o>=1e3?"".concat((o/1e3).toFixed(1),"k"):o.toString();return(0,r.jsx)(s(),{href:n.path,shallow:!0,children:(0,r.jsx)("a",{className:"w-64 rounded-sm bg-beige",children:(0,r.jsxs)("div",{className:"flex h-full flex-col items-center gap-2 p-8 text-center",children:[(0,r.jsx)("div",{className:"relative h-28 w-28 shrink-0 overflow-hidden rounded-full bg-gradient-1 bg-cover p-1 flex-center",children:(0,r.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-full bg-cream",children:(null===(l=n.media)||void 0===l?void 0:l.url)?(0,r.jsx)(t(),{src:n.media.url,unoptimized:!0,layout:"fill",objectFit:"cover"}):null})}),(0,r.jsx)("h5",{className:"mt-3 max-h-10 w-full overflow-hidden truncate whitespace-nowrap text-center text-h4 font-medium",children:n.name}),(0,r.jsx)("p",{className:"mx-auto max-h-10 w-full overflow-hidden truncate whitespace-nowrap text-center text-body-sm flex-center",children:(0,r.jsx)(m.Z,{user:n})}),(0,r.jsx)("p",{className:"line-clamp-3 w-full text-center text-body-sm font-light",children:n.bio}),(0,r.jsx)("div",{className:"min-h-[1rem] flex-1 justify-self-stretch"}),(0,r.jsxs)("p",{className:"max-h-10 w-full truncate whitespace-normal text-center text-body-sm font-normal",children:[a," followers"]}),(0,r.jsx)(c.Z,{solid:!0,className:"mt-2 w-auto",onClick:function(e){null===i||void 0===i||i(e,n.id)},disabled:n.currentUserIsFollowing||n.isCurrentUser,children:n.isCurrentUser?"You":n.currentUserIsFollowing?"Following":"Follow"})]})})},e.id)}))})})})}}}]);