"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[57],{54:(e,l,a)=>{a.r(l)},235:(e,l,a)=>{a.r(l),a.d(l,{default:()=>t});const t={wrapper:"p2UyZl8X",title:"sO_Q_mun",subtitle:"ZB0FNDCK",slider:"sqjZA1eV",sliderTrack:"TScheUgF",sliderNav:"wTbda8RI",sliderNavButton:"OfBig2w0",slide:"jThTKZ1Z",slideImage:"ezVAR0lR",slideName:"jWBGJIe9"}},234:(e,l,a)=>{a.r(l),a.d(l,{default:()=>t});const t={container:"glrqKWPG",link:"A2ZWlInk",heading:"KcXZ8v4H",subheading:"_DcHBc03",members:"k5PkXOzu",member:"Yj6wOjPk",image:"cA5NRBMg",username:"NDgvqJot"}},53:(e,l,a)=>{a.r(l),a.d(l,{default:()=>t});const t={wrapper:"VOXO2Pq8",collection:"ujejQhhO",collectionImageWrapper:"dlYCmTsm",collectionImage:"XhPMliW8",collectionImageHidden:"dqyI9SGK",collectionImageVisible:"B8wWJye_",collectionImageAbove:"xffmglLT",collectionContent:"btVi5MCm",collectionSubtitle:"vBnxRENw",collectionTitle:"ADYCfD20",collectionButton:"As52vxKb",collectionButtonTransparent:"E5mAWPiQ"}},52:(e,l,a)=>{a.r(l),a.d(l,{default:()=>t});const t={container:"v8__gXE1",featuredItem:"NV1YNk4z",imageContainer:"qlKqkSr_",image:"EEEfmExF",textOverlay:"RaT34OIC",link:"Ekar94p8",subtitle:"P1ruCLXo",title:"VhgpbgZ2"}},233:(e,l,a)=>{const t=a(107);(0,a(2).createEntrypoint)("community_section",t.CommunitySection)},107:function(e,l,a){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(l,"__esModule",{value:!0}),l.CommunitySection=function(e){if(e.alt_design)return(0,s.jsx)(o,Object.assign({},e));const{display_name:l,subheading:a,featured_members:t,disable_links:n}=e;return(0,s.jsxs)("div",{className:i.default.container,children:[(0,s.jsx)("h2",{className:i.default.heading,children:l}),(0,s.jsx)("p",{className:i.default.subheading,children:a}),(0,s.jsx)("div",{className:i.default.members,children:t.map(((e,l)=>{const a="image"===e.image.type?e.image:void 0;return(null==a?void 0:a.url)?(0,s.jsx)("div",{className:i.default.member,children:n?(0,s.jsxs)("div",{class:i.default.link,children:[(0,s.jsx)(r.LazyImage,{src:a.url,initialWidth:400,cssClass:i.default.image,alt:e.handle,fullSizeWidth:600,width:1600,height:2400}),(0,s.jsx)("p",{className:i.default.username,children:e.username})]}):(0,s.jsxs)("a",{href:e.destination_link,class:i.default.link,"data-orly-type":e.type,"data-orly-handle":e.handle,children:[(0,s.jsx)(r.LazyImage,{src:a.url,initialWidth:400,cssClass:i.default.image,alt:e.handle,fullSizeWidth:600,width:1600,height:2400}),(0,s.jsx)("p",{className:i.default.username,children:e.username})]})},l):null}))})]})};const s=a(0),i=(a(1),t(a(234))),n=t(a(235)),r=a(4),d=a(50);a(54);const c=a(3),u=a(35);function o({display_name:e,subheading:l,featured_members:a,disable_links:t}){const[i,r]=(0,d.useKeenSlider)({slides:{perView:"auto",spacing:9.7}}),[o,m]=(0,c.useState)(0),[h,f]=(0,c.useState)(!1);return(0,c.useEffect)((()=>{if(!r.current)return;const e=()=>{m(r.current.track.details.rel);const e=r.current.track.details.slides.length-1,l=r.current.track.details.slides[e];f(l.distance+l.portion>=1.4)};r.current.on("slideChanged",e),r.current.on("updated",e),e()}),[r]),(0,s.jsxs)("section",{className:n.default.wrapper,children:[(0,s.jsx)("h2",{className:n.default.title,children:e}),(0,s.jsx)("p",{className:n.default.subtitle,children:l}),(0,s.jsx)("div",{ref:i,className:`keen-slider ${n.default.slider}`,children:a.map(((e,l)=>(0,s.jsxs)("div",{className:`keen-slider__slide ${n.default.slide}`,style:l>0?"padding-left: 0px;":"",children:[(0,s.jsx)("img",{src:"image"===e.image.type?e.image.url:"",alt:e.username,loading:"lazy",className:n.default.slideImage}),(0,s.jsx)("p",{className:n.default.slideName,children:e.username})]})))}),(0,s.jsxs)("div",{className:n.default.sliderNav,children:[(0,s.jsx)("button",{className:`${n.default.sliderNavButton} ${n.default.sliderNavButtonRotated}`,"aria-label":"Previous slide",onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.prev()},children:(0,s.jsx)(u.ArrowLeftSVG,{})}),(0,s.jsx)("button",{className:n.default.sliderNavButton,"aria-label":"Next slide",onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.next()},children:(0,s.jsx)(u.ArrowSVG,{})})]})]})}}},e=>{e.O(0,[1,2,3,4,23,20],(()=>e(e.s=233))),e.O()}]);