1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2911],{2911:(e,t,a)=>{a.r(t),a.d(t,{default:()=>el});var s=a(95155),r=a(98969),l=a(93366),i=a(26467),n=a(16429),o=a(86835),c=a(12115);let d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pageSize:t=12,pastPageSize:a=e.pageSize||12,latitude:s,longitude:d}=e,[u,m]=(0,c.useState)(""),[h,f]=(0,c.useState)(""),[p,x]=(0,c.useState)([]),[g,b]=(0,c.useState)("recommended"),[v,j]=(0,c.useState)(1),[w,y]=(0,c.useState)(1);(0,c.useEffect)(()=>{if(!u.trim())return void f("");let e=setTimeout(()=>{f(u)},1e3);return()=>clearTimeout(e)},[u]);let N=(0,c.useMemo)(()=>(e=>{let{searchQuery:t,filters:a,sortOption:s,latitude:r,longitude:c}=e,d=[];return t.trim().length>2&&d.push("q=".concat(encodeURIComponent(t.trim()))),a.forEach(e=>{switch(e.type){case"price":d.push("min_ticket_price=".concat(e.value[0],"&max_ticket_price=").concat(e.value[1]));break;case"type":e.value.length>0&&d.push("category_id=".concat(e.value.join("|")));break;case"city":e.value&&d.push("city_id=".concat(e.value));break;case"date":{let t=e.value[0]&&e.value[1]?((e,t)=>{let a=(0,l.o)((0,i.H)(e)),s=(0,n.D)((0,i.H)(t));return(0,o.f)(a)&&(0,o.f)(s)&&!(a>s)?{start:a.toISOString(),end:s.toISOString()}:null})(e.value[0],e.value[1]):null;t&&d.push("time_frame_start=".concat(encodeURIComponent(t.start),"&time_frame_end=").concat(encodeURIComponent(t.end)))}}}),("priceAsc"===s||"priceDsc"===s)&&d.push("sortBy=".concat(s)),void 0!==r&&void 0!==c&&(d.push("latitude=".concat(r)),d.push("longitude=".concat(c))),d.join("&")})({searchQuery:h,filters:p,sortOption:g,latitude:s,longitude:d}),[h,p,g,s,d]),k=(0,c.useMemo)(()=>{let e="list_type=ongoing_and_upcoming";return N?"".concat(N,"&").concat(e):e},[N]),A=(0,c.useMemo)(()=>{let e="list_type=past";return N?"".concat(N,"&").concat(e):e},[N]),{data:C,isLoading:_,isError:z,refetch:E}=(0,r.z4)({page:v,limit:t,filter:k}),{data:S,isLoading:P,isError:M,refetch:L}=(0,r.z4)({page:w,limit:a,filter:A}),q=(0,c.useCallback)(()=>{m(""),f("")},[]),D=(0,c.useCallback)(()=>{x([]),b("recommended"),j(1),y(1)},[]);return(0,c.useEffect)(()=>{j(1),y(1)},[N]),{searchQuery:u,setSearchQuery:m,resetSearch:q,filters:p,setFilters:x,resetFilters:D,sortOption:g,setSortOption:b,upcomingEvents:z?[]:(null==C?void 0:C.data)||[],upcomingTotalItems:z?0:(null==C?void 0:C.total)||0,upcomingCurrentPage:v,setUpcomingCurrentPage:j,isLoadingUpcoming:_,isErrorUpcoming:z,retryUpcoming:E,pastEvents:M?[]:(null==S?void 0:S.data)||[],pastTotalItems:M?0:(null==S?void 0:S.total)||0,pastCurrentPage:w,setPastCurrentPage:y,isLoadingPast:P,isErrorPast:M,retryPast:L,filterQueryParam:N}};var u=a(2318),m=a(64269),h=a(21873),f=a(16485),p=a(54485),x=a(94492),g=a(43172),b=a(3998),v=a(20243);let j=(0,a(71847).A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var w=a(52554),y=a(50491);let N=[];function k(){return(0,s.jsxs)("div",{className:"flex flex-col space-y-3",children:[(0,s.jsx)(v.E,{className:"h-48 rounded-xl"}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(v.E,{className:"h-4 w-[250px]"}),(0,s.jsx)(v.E,{className:"h-4 w-[200px]"})]})]})}let A=e=>{let{events:t,isLoading:a,totalItems:r,currentPage:l,itemsPerPage:i,onPageChange:n,emptyMessage:o="No events available right now.",defaultImage:c,defaultOrgIcon:d,title:u,showPagination:m=!0,isPastEvent:h=!1,isError:f=!1,errorMessage:p="We couldn't load these events.",onRetry:x}=e,g=!a&&!f;return(0,s.jsxs)("div",{className:"w-full",children:[u&&(0,s.jsx)("h2",{className:"text-foreground mb-6 text-2xl font-bold",children:u}),(0,s.jsxs)("div",{className:"@container grid w-full grid-cols-12 gap-6 items-stretch",children:[a&&(0,s.jsx)(s.Fragment,{children:[...Array(i)].map((e,t)=>(0,s.jsx)("div",{className:"col-span-full @2xl:col-span-6 @4xl:col-span-4 @6xl:col-span-3",children:(0,s.jsx)(k,{})},"skeleton-".concat(t)))}),!a&&f&&(0,s.jsxs)("div",{role:"alert",className:"col-span-full flex flex-col items-center gap-3 py-12 text-center",children:[(0,s.jsx)("p",{className:"text-muted-foreground",children:p}),x&&(0,s.jsxs)(b.$,{type:"button",variant:"outline",onClick:()=>x(),children:[(0,s.jsx)(j,{"aria-hidden":"true"}),"Try again"]})]}),g&&t.length>0&&t.map((e,t)=>(0,s.jsx)("div",{className:"col-span-full @2xl:col-span-6 @4xl:col-span-4 @6xl:col-span-3 h-full",children:(0,s.jsx)(w.default,{id:e._id,slug:e.slug,imageSrc:(e=>e.event_image_url?"https://link.storjshare.io/raw/jw2ydrl6k3ff65py2xpvvgm3qseq/".concat(e.event_image_url):c)(e),organizerName:(e=>"".concat(e.created_by.first_name," ").concat(e.created_by.last_name))(e),organizerIcon:d,heading:e.title,fromDate:e.event_start_date_time,toDate:e.event_end_date_time,location:e.venue_name,isPasswordProtected:e.is_password_protected,eventTimeStatus:e.event_time_status,isPastEvent:h,friendCount:e.friend_count||0,sampleFriends:e.sample_friends||N,goingCount:e._rsvp_going_count||e.rsvp_count||0,priority:t<4})},e._id)),g&&0===t.length&&(0,s.jsx)("div",{className:"text-muted-foreground col-span-full py-12 text-center",children:o}),m&&g&&r>0&&(0,s.jsx)("div",{className:"col-span-full",children:(0,s.jsx)(y.A,{totalItems:r,itemsPerPage:i,currentPage:l,handlePageChange:n})})]})]})};
1var C=a(47360),_=a(66955),z=a(55599),E=a(45345),S=a(24033),P=a(91761),M=a(86651),L=a(65229),q=a(80155),D=a(11186),I=a(26333),R=a(88451),T=a(63817),U=a(5917);let V=e=>{var t;let{cities:a,onChange:r,value:l}=e,[i,n]=(0,c.useState)(!1);return(0,s.jsxs)(I.AM,{open:i,onOpenChange:n,children:[(0,s.jsx)(I.Wv,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",role:"combobox","aria-expanded":i,className:(0,m.cn)("h-11 rounded-xl px-4","bg-white/[0.06] border border-white/10","text-white hover:bg-white/[0.10] hover:border-[#ffbf00]/30","transition-all backdrop-blur-xl","inline-flex items-center gap-2 font-medium",l&&"border-[#ffbf00]/30 bg-[#ffbf00]/10"),onClick:()=>n(!i),children:[(0,s.jsx)(h.A,{size:16,className:"text-[#ffbf00] shrink-0"}),(0,s.jsx)("span",{className:"text-sm truncate",children:l?null==(t=a.find(e=>e.value===l))?void 0:t.label:"Select city"}),(0,s.jsx)(S.A,{size:16,className:"text-white/60 shrink-0","aria-hidden":"true"})]})}),(0,s.jsx)(I.hl,{className:(0,m.cn)("w-[min(280px,calc(100vw-2rem))] p-0","bg-[#111318]/90 backdrop-blur-2xl","border border-white/10 shadow-2xl text-white rounded-2xl","max-h-[min(480px,80vh)] overflow-hidden"),align:"start",sideOffset:8,collisionPadding:12,children:(0,s.jsxs)(T.uB,{className:"bg-transparent text-white",children:[(0,s.jsx)(T.G7,{placeholder:"Search city...",className:"border-white/10"}),(0,s.jsxs)(T.oI,{children:[(0,s.jsx)(T.xL,{children:"No city found."}),(0,s.jsx)(T.L$,{children:a.map(e=>(0,s.jsxs)(T.h_,{value:e.value,onSelect:e=>{r(e===l?"":e),n(!1)},className:"focus:bg-white/10 focus:text-[#ffbf00]",children:[e.label,l===e.value&&(0,s.jsx)(U.A,{size:16,className:"ml-auto text-[#ffbf00]"})]},e.value))})]})]})})]})};var F=a(50276),G=a(79956),O=a(78674),W=a(99228),B=a(88901),H=a(53317),Q=a(93292),$=a(99152),K=a(72473);let J=e=>{let{className:t,startDayValue:a,endDayValue:r,setStartDayValue:l,setEndDayValue:n}=e,o=new Date,d={from:(0,G.e)(o,1),to:(0,G.e)(o,1)},u={from:(0,G.e)(o,6),to:o},h={from:(0,G.e)(o,29),to:o},p={from:(0,O.w)(o),to:o},x={from:(0,O.w)((0,W.a)(o,1)),to:(0,B.p)((0,W.a)(o,1))},g={from:(0,H.D)(o),to:o},v={from:(0,H.D)((0,Q.e)(o,-1,void 0)),to:(0,$.Q)((0,Q.e)(o,-1,void 0))},[j,w]=(0,c.useState)(o),y={from:a?(0,i.H)(a):void 0,to:r?(0,i.H)(r):void 0},N=e=>{e.from?l((0,K.GP)(e.from,"yyyy-MM-dd")):l(null),e.to?n((0,K.GP)(e.to,"yyyy-MM-dd")):n(null)},k=(null==y?void 0:y.from)||(null==y?void 0:y.to);return(0,s.jsx)("div",{className:t,children:(0,s.jsxs)(I.AM,{children:[(0,s.jsx)(I.Wv,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:(0,m.cn)("h-11 rounded-xl px-4","bg-white/[0.06] border border-white/10","text-white hover:bg-white/[0.10] hover:border-[#ffbf00]/30","transition-all backdrop-blur-xl","inline-flex items-center gap-2 font-medium",k&&"border-[#ffbf00]/30 bg-[#ffbf00]/10"),children:[(0,s.jsx)(f.A,{size:16,className:"text-[#ffbf00] shrink-0"}),(0,s.jsx)("span",{className:"text-sm truncate",children:(null==y?void 0:y.from)?y.to?(0,s.jsxs)(s.Fragment,{children:[(0,K.GP)(y.from,"LLL dd")," - ",(0,K.GP)(y.to,"LLL dd")]}):(0,K.GP)(y.from,"LLL dd, y"):"Pick a date range"}),(0,s.jsx)(S.A,{size:16,className:"text-white/60 shrink-0","aria-hidden":"true"})]})}),(0,s.jsx)(I.hl,{className:(0,m.cn)("w-[min(auto,calc(100vw-2rem))] p-2","bg-[#111318]/90 backdrop-blur-2xl","border border-white/10 shadow-2xl text-white rounded-2xl","max-h-[min(600px,85vh)] overflow-y-auto no-scrollbar"),align:"start",sideOffset:8,collisionPadding:12,children:(0,s.jsxs)("div",{className:"flex max-sm:flex-col",children:[(0,s.jsx)("div",{className:"relative py-4 max-sm:order-1 max-sm:border-t sm:w-32",children:(0,s.jsx)("div",{className:"h-full sm:border-e",children:(0,s.jsxs)("div",{className:"flex flex-col px-2",children:[(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N({from:o,to:o}),w(o)},children:"Today"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(d),w(d.to)},children:"Yesterday"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(u),w(u.to)},children:"Last 7 days"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(h),w(h.to)},children:"Last 30 days"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(p),w(p.to)},children:"Month to date"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(x),w(x.to)},children:"Last month"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(g),w(g.to)},children:"Year to date"}),(0,s.jsx)(b.$,{variant:"ghost",size:"sm",className:"w-full justify-start",onClick:()=>{N(v),w(v.to)},children:"Last year"})]})})}),(0,s.jsx)(F.V,{mode:"range",selected:y,onSelect:e=>{e&&N(e)},month:j,onMonthChange:w,className:"p-2",disabled:[{after:o}]})]})})]})})};var Y=a(73457),Z=a(76444);let X=e=>{var t;let{eventCategories:a,value:r,onChange:l}=e;return(0,s.jsx)("div",{className:"grid gap-6",children:null==a||null==(t=a.data)?void 0:t.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(Y.S,{id:e._id,checked:r.includes(e._id),onCheckedChange:()=>l(e._id)}),(0,s.jsx)(Z.J,{htmlFor:e._id,className:"text-foreground cursor-pointer text-base",children:e.title})]},e._id))})};
1var ee=a(65142),et=a(64581);let ea=e=>{let{className:t,value:a,onChange:r}=e,{sliderValue:l,inputValues:i,validateAndUpdateValue:n,handleInputChange:o,handleSliderChange:d}=function(e){let{minValue:t=0,maxValue:a=100,initialValue:s=[t],defaultValue:r=[t]}=e,[l,i]=(0,c.useState)(s),[n,o]=(0,c.useState)(s.map(e=>e.toString())),d=l.length===r.length&&!l.every((e,t)=>e===r[t]),u=(0,c.useCallback)((e,s)=>{if(""===e||"-"===e){let e=[...n];e[s]="0",o(e);let t=[...l];t[s]=0,i(t);return}let r=parseFloat(e);if(isNaN(r)){let e=[...n];e[s]=l[s].toString(),o(e);return}let c=Math.min(a,Math.max(t,r));l.length>1&&(c=0===s?Math.min(c,l[1]):Math.max(c,l[0]));let d=[...l];d[s]=c,i(d);let u=[...n];u[s]=c.toString(),o(u)},[l,n,t,a]),m=(0,c.useCallback)((e,t)=>{let a=e.target.value;if(""===a||/^-?\d*\.?\d*$/.test(a)){let e=[...n];e[t]=a,o(e)}},[n]);return{sliderValue:l,inputValues:n,validateAndUpdateValue:u,handleInputChange:m,handleSliderChange:(0,c.useCallback)(e=>{i(e),o(e.map(e=>e.toString()))},[]),resetToDefault:(0,c.useCallback)(()=>{i(r),o(r.map(e=>e.toString()))},[r]),showReset:d}}({minValue:0,maxValue:2e4,initialValue:a||[50,150]});return(0,c.useEffect)(()=>{r(l)},[l]),(0,s.jsxs)("div",{className:(0,m.cn)("*:not-first:mt-3",t),children:[(0,s.jsx)(Z.J,{className:"mb-3 text-lg",children:"Price Range"}),(0,s.jsxs)("div",{className:"@container grid grid-cols-12 gap-4",children:[(0,s.jsx)(ee.p,{className:"order-2 col-span-6 h-12 px-2 py-1 @sm:order-1 @sm:col-span-3",type:"text",inputMode:"decimal",value:i[0],onChange:e=>o(e,0),onBlur:()=>n(i[0],0),onKeyDown:e=>{"Enter"===e.key&&n(i[0],0)},"aria-label":"Enter minimum value"}),(0,s.jsx)(et.A,{className:"order-1 col-span-full @sm:order-2 @sm:col-span-6",value:l,onValueChange:d,min:0,max:2e4,"aria-label":"Dual range slider with input"}),(0,s.jsx)(ee.p,{className:"order-3 col-span-6 h-12 px-2 py-1 @sm:order-3 @sm:col-span-3",type:"text",inputMode:"decimal",value:i[1],onChange:e=>o(e,1),onBlur:()=>n(i[1],1),onKeyDown:e=>{"Enter"===e.key&&n(i[1],1)},"aria-label":"Enter maximum value"})]})]})},es=[{value:"recommended",label:"Recommended"},{value:"priceAsc",label:"Price: Low to high"},{value:"priceDsc",label:"Price: High to low"}],er=e=>{let{className:t,searchQuery:a,onSearchChange:l,onSearchSubmit:i,sortOption:n,onSortChange:o,handleFilterResults:d,handleReset:u}=e,{country:h}=(0,R.G0)(),{data:f}=(0,r.mS)("GLOBAL"!==h?{country:h}:void 0),{data:p}=(0,r.OM)(void 0),x=null==f?void 0:f.data.map(e=>({value:e._id,label:e.title})),[g,b]=(0,c.useState)([20,2e4]),[v,j]=(0,c.useState)([]),[w,y]=(0,c.useState)(),[N,k]=(0,c.useState)(""),[A,C]=(0,c.useState)(""),T=(0,c.useCallback)(e=>{b(e)},[]),U=(0,c.useMemo)(()=>({price:g,selectedTypes:v,selectedCity:w,startDayValue:N,endDayValue:A}),[g,v,w,N,A]),F=(0,q.d)(U,600),G=(0,c.useCallback)(()=>{let e=[],{price:t,selectedTypes:a,selectedCity:s,startDayValue:r,endDayValue:l}=F;(20!==t[0]||2e4!==t[1])&&e.push({type:"price",value:t}),a.length>0&&e.push({type:"type",value:a}),s&&e.push({type:"city",value:s}),r&&l&&e.push({type:"date",value:[r,l]}),d(e)},[F,d]);(0,c.useEffect)(()=>{G()},[G]);let O=20!==g[0]||2e4!==g[1]||v.length>0||!!w||!!N||!!A;return(0,s.jsx)("div",{className:(0,m.cn)("container mx-auto px-4 sm:px-6 py-8",t),children:(0,s.jsxs)("div",{className:(0,m.cn)("relative overflow-hidden rounded-2xl","border border-white/10 bg-gradient-to-r from-black/20 via-black/40 to-black/70 shadow-lg backdrop-blur-xl"),children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute -top-24 -right-24 h-64 w-64 rounded-full bg-[#ffbf00]/12 blur-3xl"}),(0,s.jsx)("div",{className:"absolute -bottom-28 -left-28 h-72 w-72 rounded-full bg-white/8 blur-3xl"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/10 via-trans
1parent to-transparent opacity-60"}),(0,s.jsx)("div",{className:"absolute inset-0 [mask-image:radial-gradient(60%_50%_at_30%_20%,black,transparent)] bg-white/10"})]}),(0,s.jsx)("div",{className:"relative p-4 md:p-6",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-slate-300 shrink-0",children:[(0,s.jsx)(_.A,{size:18,className:"text-[#ffbf00]"}),(0,s.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-slate-200/90",children:"Filters"})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-3 flex-1 items-center",children:[(0,s.jsxs)(D.l6,{value:n,onValueChange:o,children:[(0,s.jsx)(D.bq,{className:"w-[190px] bg-white/[0.06] border-white/10 text-white hover:bg-white/[0.10] hover:border-[#ffbf00]/30 transition-all focus:ring-[#ffbf00]/40 h-11 rounded-xl px-4 font-medium backdrop-blur-xl",children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(z.A,{size:16,className:"text-[#ffbf00]"}),(0,s.jsx)(D.yv,{placeholder:"Sort by"})]})}),(0,s.jsx)(D.gC,{className:"bg-[#111318]/70 backdrop-blur-2xl border-white/10 text-white shadow-2xl",children:es.map(e=>(0,s.jsx)(D.eb,{value:e.value,className:"focus:bg-white/10 focus:text-[#ffbf00]",children:e.label},e.value))})]}),(0,s.jsxs)(I.AM,{children:[(0,s.jsx)(I.Wv,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:(0,m.cn)("h-11 rounded-xl px-4","bg-white/[0.06] border border-white/10","text-white hover:bg-white/[0.10] hover:border-[#ffbf00]/30","transition-all backdrop-blur-xl","inline-flex items-center gap-2 font-medium",v.length>0&&"border-[#ffbf00]/30 bg-[#ffbf00]/10"),children:[(0,s.jsx)(E.A,{size:16,className:"text-[#ffbf00]"}),(0,s.jsx)("span",{className:"text-sm",children:"Event Type"}),v.length>0&&(0,s.jsx)("span",{className:"ml-1 rounded-full bg-[#ffbf00]/15 border border-[#ffbf00]/25 px-2 py-0.5 text-xs text-[#ffbf00]",children:v.length}),(0,s.jsx)(S.A,{size:16,className:"text-white/60"})]})}),(0,s.jsxs)(I.hl,{side:"bottom",align:"start",sideOffset:8,collisionPadding:12,className:(0,m.cn)("w-[min(320px,calc(100vw-2rem))] p-3","bg-[#111318]/90 backdrop-blur-2xl","border border-white/10 shadow-2xl text-white rounded-2xl","max-h-[min(480px,80vh)] overflow-y-auto no-scrollbar"),children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-white mb-3 px-1",children:"Event Type"}),(0,s.jsx)(X,{eventCategories:p,value:v,onChange:e=>{j(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}})]})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(V,{cities:x||[],value:w,onChange:y})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(J,{startDayValue:N,endDayValue:A,setStartDayValue:k,setEndDayValue:C})}),(0,s.jsxs)(I.AM,{children:[(0,s.jsx)(I.Wv,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:(0,m.cn)("h-11 rounded-xl px-4","bg-white/[0.06] border border-white/10","text-white hover:bg-white/[0.10] hover:border-[#ffbf00]/30","transition-all backdrop-blur-xl","inline-flex items-center gap-2 font-medium",(20!==g[0]||2e4!==g[1])&&"border-[#ffbf00]/30 bg-[#ffbf00]/10"),children:[(0,s.jsx)(P.A,{size:16,className:"text-[#ffbf00]"}),(0,s.jsx)("span",{className:"text-sm",children:"Price"}),(20!==g[0]||2e4!==g[1])&&(0,s.jsx)("span",{className:"ml-1 rounded-full bg-[#ffbf00]/15 border border-[#ffbf00]/25 px-2 py-0.5 text-xs text-[#ffbf00]",children:"â¢"}),(0,s.jsx)(S.A,{size:16,className:"text-white/60"})]})}),(0,s.jsx)(I.hl,{side:"bottom",align:"start",sideOffset:8,collisionPadding:12,className:(0,m.cn)("w-[min(400px,calc(100vw-2rem))] p-4","bg-[#111318]/90 backdrop-blur-2xl","border border-white/10 shadow-2xl text-white rounded-2xl","max-h-[min(480px,80vh)] overflow-y-auto no-scrollbar"),children:(0,s.jsx)(ea,{value:g,onChange:T})})]}),(0,s.jsxs)("div",{className:"flex-1 min-w-[220px] relative group",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 left-3 flex items-center pointer-events-none",children:(0,s.jsx)(M.A,{className:"h-4 w-4 text-slate-500 group-focus-within:text-[#ffbf00] transition-colors"})}),(0,s.jsx)("input",{type:"text",value:a,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&i()},placeholder:"Search by event...",className:(0,m.cn)("w-full h-11 rounded-xl pl-10 pr-4","bg-white/[0.06] border border-white/10","text-white text-sm placeholder-slate-500","hover:bg-white/[0.10] focus:outline-none focus:border-[#ffbf00]/45","transition-all backdrop-blur-xl","focus:ring-1 focus:ring-[#ffbf00]/20")})]})]}),O&&(0,s.jsxs)("button",{onClick:()=>{b([20,2e4]),j([]),y(void 0),k(""),C(""),u()}
1,className:(0,m.cn)("shrink-0 h-11 px-4 rounded-xl","inline-flex items-center gap-2","bg-red-500/10 border border-red-500/20","text-red-300 text-sm font-medium","hover:bg-red-500/20 transition-all backdrop-blur-xl"),children:[(0,s.jsx)(L.A,{size:16}),"Clear"]})]})})]})})},el=()=>{let{coords:e,permission:t,requestLocation:a,loading:r}=(0,u.m)(),{searchQuery:l,setSearchQuery:i,resetSearch:n,setFilters:o,resetFilters:b,sortOption:v,setSortOption:j,upcomingEvents:w,upcomingTotalItems:y,upcomingCurrentPage:N,setUpcomingCurrentPage:k,isLoadingUpcoming:_,isErrorUpcoming:z,retryUpcoming:E,pastEvents:S,pastTotalItems:P,pastCurrentPage:M,setPastCurrentPage:L,isLoadingPast:q,isErrorPast:D,retryPast:I}=d({pageSize:12,pastPageSize:6,latitude:null==e?void 0:e.latitude,longitude:null==e?void 0:e.longitude});(0,c.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("q");e&&i(e)},[]);let R=(0,c.useCallback)(e=>{try{let t=e.filter(e=>void 0!==e.value).map(e=>{switch(e.type){case"price":return{type:"price",value:e.value};case"type":return{type:"type",value:e.value};case"city":return{type:"city",value:e.value};case"date":return{type:"date",value:e.value};default:return null}}).filter(e=>null!==e);o(t)}catch(e){o([])}},[o]),T=(0,c.useCallback)(()=>{},[]),U=(0,c.useCallback)(e=>{j(e)},[j]),V=(0,c.useCallback)(()=>{n(),b()},[n,b]),F=(0,c.useCallback)(e=>{i(e),""===e&&n()},[i,n]);return(0,s.jsxs)("div",{className:(0,m.cn)("container mx-auto flex flex-col gap-6 p-3"),children:[(0,s.jsx)(er,{searchQuery:l,onSearchChange:F,onSearchSubmit:T,sortOption:v,onSortChange:U,handleFilterResults:R,handleReset:V}),(0,s.jsxs)("div",{className:(0,m.cn)("flex w-full flex-col items-center gap-2"),children:["prompt"===t&&!e&&(0,s.jsxs)("button",{onClick:()=>a(),disabled:r,className:"bg-primary/10 hover:bg-primary/20 text-primary mt-4 flex w-full items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm font-medium transition-colors",children:[(0,s.jsx)(h.A,{size:16}),(0,s.jsx)("span",{children:r?"Getting location...":"Enable location for better recommendations near you"})]}),e&&(0,s.jsxs)("div",{className:"text-muted-foreground mt-4 flex items-center gap-2 text-sm",children:[(0,s.jsx)(h.A,{size:14,className:"text-green-500"}),(0,s.jsx)("span",{children:"Location enabled - showing events near you"})]}),(0,s.jsxs)("div",{className:"mt-8 w-full",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)(f.A,{size:24,className:"text-primary"}),(0,s.jsx)("h2",{className:"text-foreground text-2xl font-bold",children:"Upcoming & Ongoing Events"}),y>0&&(0,s.jsx)("span",{className:"bg-primary/20 rounded-full px-3 py-1 text-sm font-medium",children:y})]}),(0,s.jsx)(A,{events:w,isLoading:_,totalItems:y,currentPage:N,itemsPerPage:12,onPageChange:k,emptyMessage:"No upcoming or ongoing events found. Check back later or adjust your filters.",isError:z,errorMessage:"We couldn't load upcoming events.",onRetry:E,defaultImage:x.default,defaultOrgIcon:g.default})]}),(0,s.jsx)("div",{className:"w-full mt-4 -mx-4 md:mx-0",children:(0,s.jsx)(C.A,{})}),(0,s.jsxs)("div",{className:"mt-4 w-full",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)(p.A,{size:24,className:"text-muted-foreground"}),(0,s.jsx)("h2",{className:"text-foreground text-2xl font-bold",children:"Past Events"}),P>0&&(0,s.jsx)("span",{className:"bg-muted rounded-full px-3 py-1 text-sm font-medium",children:P})]}),(0,s.jsx)(A,{events:S,isLoading:q,totalItems:P,currentPage:M,itemsPerPage:6,onPageChange:L,emptyMessage:"No past events found.",isError:D,errorMessage:"We couldn't load past events.",onRetry:I,defaultImage:x.default,defaultOrgIcon:g.default,isPastEvent:!0})]})]})]})}},11186:(e,t,a)=>{a.d(t,{TR:()=>f,bq:()=>m,eb:()=>p,gC:()=>h,l6:()=>c,mi:()=>x,s3:()=>d,yv:()=>u});var s=a(95155);a(12115);var r=a(4729),l=a(24033),i=a(5917),n=a(12108),o=a(64269);function c(e){let{...t}=e;return(0,s.jsx)(r.bL,{"data-slot":"select",...t})}function d(e){let{...t}=e;return(0,s.jsx)(r.YJ,{"data-slot":"select-group",...t})}function u(e){let{...t}=e;return(0,s.jsx)(r.WT,{"data-slot":"select-value",...t})}function m(e){let{className:t,size:a="default",children:i,...n}=e;return(0,s.jsxs)(r.l9,{"data-slot":"select-trigger","data-size":a,className:(0,o.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...n,children:[i,(0,s.jsx)(r.In,{asChild:!0,children:(0,s.jsx)(l.A,{className:"size-4 opacity-50"})})]})}function h(e){let{className:t,children:a,position:l="popper",...i}=e;return(0,s.jsx)(r.ZL,{children:(0,s.jsxs)(r.UC,{"data-slot":"select-content",className:(0,o.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[1100] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:l,...i,children:[(0,s.jsx)(g,{}),(0,s.jsx)(r.LM,{className:(0,o.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(b,{})]})})}function f(e){let{className:t,...a}=e;return(0,s.jsx)(r.JU,{"data-slot":"select-label",className:(0,o.cn)("text-muted-foreground px-2 py-1.5 text-xs",t),...a})}function p(e){let{className:t,children:a,...l}=e;return(0,s.jsxs)(r.q7,{"data-slot":"select-item",className:(0,o.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(r.VF,{children:(0,s.jsx)(i.A,{className:"size-4"})})}),(0,s.jsx)(r.p4,{children:a})]})}function x(e){let{className:t,...a}=e;return(0,s.jsx)(r.wv,{"data-slot":"select-separator",className:(0,o.cn)("bg-border pointer-events-none -mx-1 my-1 h-px",t),...a})}function g(e){let{className:t,...a}=e;return(0,s.jsx)(r.PP,{"data-slot":"select-scroll-up-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(n.A,{className:"size-4"})})}function b(e){let{className:t,...a}=e;return(0,s.jsx)(r.wn,{"data-slot":"select-scroll-down-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(l.A,{className:"size-4"})})}},38162:(e,t,a)=>{a.d(t,{C1:()=>N,bL:()=>w});var s=a(12115),r=a(94446),l=a(3468),i=a(92556),n=a(23558),o=a(78108),c=a(84288),d=a(76842),u=a(88142),m=a(95155),h="Checkbox",[f,p]=(0,l.A)(h),[x,g]=f(h);function b(e){let{__scopeCheckbox:t,checked:a,children:r,defaultChecked:l,disabled:i,form:o,name:c,onCheckedChange:d,required:u,value:f="on",internal_do_not_use_render:p}=e,[g,b]=(0,n.i)({prop:a,defaultProp:null!=l&&l,onChange:d,caller:h}),[v,j]=s.useState(null),[w,y]=s.useState(null),N=s.useRef(!1),k=!v||!!o||!!v.closest("form"),A={checked:g,disabled:i,setChecked:b,control:v,setControl:j,name:c,form:o,value:f,hasConsumerStoppedPropagationRef:N,required:u,defaultChecked:!C(l)&&l,isFormControl:k,bubbleInput:w,setBubbleInput:y};return(0,m.jsx)(x,{scope:t,...A,children:"function"==typeof p?p(A):r})}var v="CheckboxTrigger",j=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,onKeyDown:l,onClick:n,...o}=e,{control:c,value:d,disabled:h,checked:f,required:p,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:j,isFormControl:w,bubbleInput:y}=g(v,a),N=(0,r.s)(t,x),k=s.useRef(f);return s.useEffect(()=>{let e=null==c?void 0:c.form;if(e){let t=()=>b(k.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[c,b]),(0,m.jsx)(u.sG.button,{type:"button",role:"checkbox","aria-checked":C(f)?"mixed":f,"aria-required":p,"data-state":_(f),"data-disabled":h?"":void 0,disabled:h,value:d,...o,ref:N,onKeyDown:(0,i.mK)(l,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.mK)(n,e=>{b(e=>!!C(e)||!e),y&&w&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})})});j.displayName=v;var w=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,name:s,checked:r,defaultChecked:l,required:i,disabled:n,value:o,onCheckedChange:c,form:d,...u}=e;return(0,m.jsx)(b,{__scopeCheckbox:a,checked:r,defaultChecked:l,disabled:n,required:i,onCheckedChange:c,name:s,form:d,value:o,internal_do_not_use_render:e=>{let{isFormControl:s}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(j,{...u,ref:t,__scopeCheckbox:a}),s&&(0,m.jsx)(A,{__scopeCheckbox:a})]})}})});w.displayName=h;var y="CheckboxIndicator",N=s.forwardRef((e,t)=>
1{let{__scopeCheckbox:a,forceMount:s,...r}=e,l=g(y,a);return(0,m.jsx)(d.C,{present:s||C(l.checked)||!0===l.checked,children:(0,m.jsx)(u.sG.span,{"data-state":_(l.checked),"data-disabled":l.disabled?"":void 0,...r,ref:t,style:{pointerEvents:"none",...e.style}})})});N.displayName=y;var k="CheckboxBubbleInput",A=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,...l}=e,{control:i,hasConsumerStoppedPropagationRef:n,checked:d,defaultChecked:h,required:f,disabled:p,name:x,value:b,form:v,bubbleInput:j,setBubbleInput:w}=g(k,a),y=(0,r.s)(t,w),N=(0,o.Z)(d),A=(0,c.X)(i);s.useEffect(()=>{if(!j)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!n.current;if(N!==d&&e){let a=new Event("click",{bubbles:t});j.indeterminate=C(d),e.call(j,!C(d)&&d),j.dispatchEvent(a)}},[j,N,d,n]);let _=s.useRef(!C(d)&&d);return(0,m.jsx)(u.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=h?h:_.current,required:f,disabled:p,name:x,value:b,form:v,...l,tabIndex:-1,ref:y,style:{...l.style,...A,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function C(e){return"indeterminate"===e}function _(e){return C(e)?"indeterminate":e?"checked":"unchecked"}A.displayName=k},43402:(e,t,a)=>{a.d(t,{Eb:()=>f,Iu:()=>u,M_:()=>x,WA:()=>p,cU:()=>m,dK:()=>d,n$:()=>h});var s=a(95155),r=a(12115),l=a(90368),i=a(27937),n=a(37772),o=a(64269),c=a(3998);let d=e=>{let{className:t,...a}=e;return(0,s.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,o.cn)("mx-auto flex w-full justify-center",t),...a})};d.displayName="Pagination";let u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("ul",{ref:t,className:(0,o.cn)("flex flex-row items-center gap-1",a),...r})});u.displayName="PaginationContent";let m=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("li",{ref:t,className:(0,o.cn)("",a),...r})});m.displayName="PaginationItem";let h=e=>{let{className:t,isActive:a,size:r="icon",...l}=e;return(0,s.jsx)("a",{"aria-current":a?"page":void 0,className:(0,o.cn)((0,c.r)({variant:a?"outline":"ghost",size:r}),t),...l})};h.displayName="PaginationLink";let f=e=>{let{className:t,...a}=e;return(0,s.jsxs)(h,{"aria-label":"Go to previous page",size:"default",className:(0,o.cn)("gap-1 pl-2.5",t),...a,children:[(0,s.jsx)(l.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:"Previous"})]})};f.displayName="PaginationPrevious";let p=e=>{let{className:t,...a}=e;return(0,s.jsxs)(h,{"aria-label":"Go to next page",size:"default",className:(0,o.cn)("gap-1 pr-2.5",t),...a,children:[(0,s.jsx)("span",{children:"Next"}),(0,s.jsx)(i.A,{className:"h-4 w-4"})]})};p.displayName="PaginationNext";let x=e=>{let{className:t,...a}=e;return(0,s.jsxs)("span",{"aria-hidden":!0,className:(0,o.cn)("flex h-9 w-9 items-center justify-center",t),...a,children:[(0,s.jsx)(n.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"More pages"})]})};x.displayName="PaginationEllipsis"},47360:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(95155),r=a(12115),l=a(52619),i=a.n(l),n=a(52987),o=a(97242);let c=e=>{var t;let{filters:a,onFiltersChange:l}=e,c=!!(a&&l),d=null!=(t=null==a?void 0:a.search.trim().toLowerCase())?t:"",u=(0,r.useCallback)(e=>{if(!a||!l)return;let t=d===e.toLowerCase()?"":e;l({...a,search:t})},[d,a,l]),m=(0,r.useRef)(null),h=(0,r.useCallback)(()=>{var e,t;a&&l&&d&&l({...a,search:""}),null==(t=m.current)||null==(e=t.nextElementSibling)||e.scrollIntoView({behavior:"smooth",block:"start"})},[d,a,l]),f=e=>["flex h-full min-h-[104px] cursor-pointer flex-col items-center justify-center gap-2 rounded-2xl border p-4 text-center transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#ffbf00]/60",e?"border-[#ffbf00]/60 bg-[#ffbf00]/10":"border-border-faint bg-surface-glass hover:border-[#ffbf00]/40 hover:bg-[#ffbf00]/5"].join(" "),p=(e,t,a)=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-3xl transition-transform duration-300 group-hover:scale-110 motion-reduce:transform-none motion-reduce:transition-none","aria-hidden":"true",children:e}),(0,s.jsx)("span",{className:["text-xs leading-tight font-bold tracking-wide uppercase transition-colors",a?"text-text-strong":"text-text-secondary group-hover:text-text-strong"].join(" "),children:t})]});return(0,s.jsx)("section",{ref:m,className:"relative z-10 w-full py-14 md:py-16",children:(0,s.jsx)("div",{className:"container mx-auto px-6",children:(0,s.jsxs)("div",{className:"flex flex-col gap-10 lg:flex-row lg:items-start lg:gap-16",children:[(0,s.jsxs)("div",{className:"lg:sticky lg:top-28 lg:w-[36%] lg:shrink-0",children:[(0,s.jsx)("h2",{className:"text-3xl font-black tracking-tight text-text-strong md:text-4xl",children:"Explore by Category"}),(0,s.jsx)("div",{className:"mt-4 h-1 w-20 rounded-full bg-[#ffbf00]"}),(0,s.jsx)("p",{className:"mt-6 max-w-[460px] text-lg leading-relaxed font-light text-text-tertiary",children:"Find your tribe. Join clubs built around what you love â pick a category to filter what's trending below."}),c?(0,s.jsxs)("button",{type:"button",onClick:h,className:"mt-8 inl
1ine-flex min-h-[44px] items-center gap-2 rounded-xl bg-[#ffbf00] px-6 py-3 text-base font-bold text-black transition-colors hover:bg-[#ffcd33] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#ffbf00]",children:[d?"Browse all communities":"See what's trending",(0,s.jsx)(n.A,{className:"h-4 w-4","aria-hidden":"true"})]}):(0,s.jsxs)(i(),{href:"/community/discover",className:"mt-8 inline-flex min-h-[44px] items-center gap-2 rounded-xl bg-[#ffbf00] px-6 py-3 text-base font-bold text-black transition-colors hover:bg-[#ffcd33] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#ffbf00]",children:["Discover Communities",(0,s.jsx)(n.A,{className:"h-4 w-4","aria-hidden":"true"})]})]}),(0,s.jsx)("div",{className:"w-full lg:flex-1",children:(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:gap-4 lg:grid-cols-5",children:o.R.map(e=>{let t=c&&d===e.slug.toLowerCase();return(0,s.jsx)("div",{className:"group",children:c?(0,s.jsx)("button",{type:"button",onClick:()=>u(e.slug),"aria-pressed":t,"aria-label":"Filter communities by ".concat(e.name),className:"w-full ".concat(f(t)),children:p(e.icon,e.name,t)}):(0,s.jsx)(i(),{href:"/community/discover?search=".concat(encodeURIComponent(e.slug)),"aria-label":"Browse ".concat(e.name," communities"),className:f(!1),children:p(e.icon,e.name,!1)})},e.id)})})})]})})})}},50491:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(95155),r=a(43402);function l(e){let{totalItems:t,itemsPerPage:a,currentPage:l,handlePageChange:i}=e,n=Math.ceil(t/a),o=(()=>{let e=[];
1if(n<=5)for(let t=1;t<=n;t++)e.push(t);else{e.push(1),l>3&&e.push("ellipsis-start");let t=Math.max(2,l-1),a=Math.min(n-1,l+1);for(let s=t;s<=a;s++)e.push(s);l<n-2&&e.push("ellipsis-end"),e.push(n)}return e})();return(0,s.jsx)(r.dK,{children:(0,s.jsxs)(r.Iu,{children:[(0,s.jsx)(r.cU,{children:(0,s.jsx)(r.Eb,{href:"#",onClick:e=>{e.preventDefault(),l>1&&i(l-1)},className:1===l?"pointer-events-none opacity-50":""})}),o.map((e,t)=>"ellipsis-start"===e||"ellipsis-end"===e?(0,s.jsx)(r.cU,{children:(0,s.jsx)(r.M_,{})},"ellipsis-".concat(t)):(0,s.jsx)(r.cU,{children:(0,s.jsx)(r.n$,{href:"#",isActive:l===e,onClick:t=>{t.preventDefault(),i(e)},children:e})},e)),(0,s.jsx)(r.cU,{children:(0,s.jsx)(r.WA,{href:"#",onClick:e=>{e.preventDefault(),l<n&&i(l+1)},className:l===n?"pointer-events-none opacity-50":""})})]})})}},55599:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("arrow-down-wide-narrow",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]])},64581:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(95155),r=a(12115),l=a(83026),i=a(64269);function n(e){let{className:t,defaultValue:a,value:n,min:o=0,max:c=100,...d}=e,u=r.useMemo(()=>Array.isArray(n)?n:Array.isArray(a)?a:[o,c],[n,a,o,c]);return(0,s.jsxs)(l.bL,{"data-slot":"slider",defaultValue:a,value:n,min:o,max:c,className:(0,i.cn)("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",t),...d,children:[(0,s.jsx)(l.CC,{"data-slot":"slider-track",className:(0,i.cn)("bg-[#FFBF0033] dark:bg-[#2E2E2E] relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:(0,s.jsx)(l.Q6,{"data-slot":"slider-range",className:(0,i.cn)("bg-primary-color absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:u.length},(e,t)=>(0,s.jsx)(l.zi,{"data-slot":"slider-thumb",className:"border-primary-color bg-surface-base ring-ring/50 block size-4 shrink-0 rounded-full border-2 shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},t))]})}},66955:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(71847).A)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]])},73457:(e,t,a)=>{a.d(t,{S:()=>n});var s=a(95155);a(12115);var r=a(38162),l=a(5917),i=a(64269);function n(e){let{className:t,...a}=e;return(0,s.jsx)(r.bL,{"data-slot":"checkbox",className:(0,i.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...a,children:(0,s.jsx)(r.C1,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:(0,s.jsx)(l.A,{className:"size-3.5"})})})}},94492:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});let s={src:"/_next/static/media/item4.326c3805.webp",height:194,width:350,blurDataURL:"data:image/webp;base64,UklGRngAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSA0AAAABD3D//4iIMIER/Y8EAFZQOCBEAAAA0AEAnQEqCAAEAAJAOCWMAnQBFOTu6gAA/b7D+hyGixqPhHxS+1YqPg4ob5hmrs7ahlFDVIhHDcMOsM3YAkQ3QEvAAAA=",blurWidth:8,blurHeight:4}},97242:(e,t,a)=>{a.d(t,{R:()=>s,Z:()=>r});let s=[{id:"1",name:"Tech & Startup",icon:"\uD83D\uDCBB",slug:"tech"},{id:"2",name:"Business",icon:"\uD83D\uDCBC",slug:"business"},{id:"3",name:"Education",icon:"\uD83C\uDF93",slug:"education"},{id:"4",name:"Wellness & Health",icon:"\uD83C\uDF3F",slug:"wellness"},{id:"5",name:"Food & Drink",icon:"\uD83C\uDF77",slug:"food"},{id:"6",name:"Gaming & Sports",icon:"\uD83C\uDFAE",slug:"gaming-sports"},{id:"7",name:"Music & Nightlife",icon:"\uD83C\uDFB5",slug:"music"},{id:"8",name:"Travel",icon:"\uD83D\uDDFAï¸",slug:"travel"},{id:"9",name:"Arts & Culture",icon:"\uD83C\uDFA8",slug:"arts"},{id:"10",name:"Cars",icon:"\uD83C\uDFCEï¸",slug:"cars"}],r=[{id:"1",name:"The Founders Club",description:"Exclusive community for early-stage startup foun
1ders to connect, share resources, and grow together.",memberCount:1250,category:"Tech & Startup",imageUrl:"https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80",tags:["Startups","Networking","VC"],isVerified:!0,isTrending:!0,isFeatured:!0,memberAvatars:["https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100&auto=format&fit=crop&q=60"]},{id:"2",name:"Creative Collective",description:"A space for designers, artists, and creators to collaborate on projects and share feedback.",memberCount:8500,category:"Arts & Culture",imageUrl:"https://images.unsplash.com/photo-1600607686527-6fb886090705?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80",tags:["Design","Art","Collaboration"],isVerified:!0,isTrending:!0,memberAvatars:["https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1517841905240-472988babdf9?w=100&auto=format&fit=crop&q=60"]},{id:"3",name:"Techno bunker",description:"Underground electronic music enthusiasts. We organize secret warehouse parties and share tracks.",memberCount:420,category:"Music & Nightlife",imageUrl:"https://images.unsplash.com/photo-1598387993441-a364f854c3e1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1776&q=80",tags:["Techno","Rave","Music"],isVerified:!1,isTrending:!0,memberAvatars:["https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&auto=format&fit=crop&q=60"]},{id:"4",name:"Mindful Mornings",description:"Daily meditation and yoga sessions for busy professionals looking to find balance.",memberCount:3100,category:"Wellness & Health",imageUrl:"https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80",tags:["Yoga","Meditation","Health"],isVerified:!0,isFeatured:!0,memberAvatars:["https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?w=100&auto=format&fit=crop&q=60"]},{id:"5",name:"Global Nomads",description:"Connect with digital nomads traveling the world. Share tips, meetups, and co-living spaces.",memberCount:15600,category:"Travel",imageUrl:"https://images.unsplash.com/photo-1504609773096-104ff2c73ba4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80",tags:["Travel","Digital Nomad","Remote Work"],isVerified:!0,isTrending:!0,memberAvatars:["https://images.unsplash.com/photo-1520813792240-56fc4a37b1a9?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1595152772835-219674b2a8a6?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1501196354995-cbb51c65aaea?w=100&auto=format&fit=crop&q=60"]},{id:"6",name:"Pixel Perfect Gaming",description:"Competitive e-sports community hosting weekly tournaments and chill branding sessions.",memberCount:5400,category:"Gaming & Sports",imageUrl:"https://images.unsplash.com/photo-1538481199705-c710c4e965fc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80",tags:["Esports","Gaming","Tournaments"],isVerified:!0,memberAvatars:["https://images.unsplash.com/photo-1566492031773-4fbc7e7323d4?w=100&auto=format&fit=crop&q=60","https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?w=100&auto=format&fit=crop&q=60"]}]},99228:(e,t,a)=>{a.d(t,{a:()=>r});var s=a(75513);function r(e,t,a){return(0,s.P)(e,-t,a)}}}]);
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.