PageSourceSearch

https://circle21.events/_next/static/chunks/pages/events/groups-516584e64deecd11.js

js circle21.events collected 2026-09-24 12:17:33 UTC 2,812 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2744],{42789:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/groups",function(){return i(38273)}])},38273:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return GroupEventsPage}});var s=i(11527),r=i(50959),l=i(3533),t=i.n(l),a=i(90664),d=i.n(a),o=i(13992),u=i.n(o),c=i(96600),h=i(3958),p=i(39164),g=i(62862),x=i(60305),v=i(27395),f=i(82187),m=i.n(f),j=i(2827),_=i.n(j),b=i(2197),N=i(62585),E=i(50455),y=i(57802),w=i(71754),C=i(59342);function GroupEventsPage(){let e=(0,c.useRouter)(),{data:n}=(0,C.HP)(),i=r.useMemo(()=>{if(e.isReady)return e.query.groupId},[e.isReady,e.query.groupId]),{data:l,isLoading:a,isError:o}=(0,y.a)({groupId:i,published:null==n||!n.is_admin||void 0,is_public:null==n||!n.is_admin||void 0,enabled:!!i}),{data:f,isLoading:j,isError:k}=(0,w.e)({groupId:i,enabled:!!i}),P=r.useMemo(()=>f?f.filter(e=>e):null,[f]),G=((null==P?void 0:P.length)||0)>0?((null==P?void 0:P.length)||0)-1:0,I=r.useRef(),R=r.useCallback(()=>{I.current&&0!==G&&(0,x.v)(I.current)},[G]);r.useEffect(()=>{R()},[R]),(0,v.X)(R);let T="G-PDXN68L8RG",L=a||j,Z=r.useMemo(()=>P?(null==n?void 0:n.is_admin)?P:P.filter(e=>e.published_at):[],[P,n]);return(0,s.jsxs)(s.Fragment,{children:[!!T&&(0,s.jsx)(b.GoogleAnalytics,{gaId:T}),(0,s.jsxs)("div",{className:t().wrapper,children:[(0,s.jsx)(_(),{children:(0,s.jsxs)("title",{children:[(null==l?void 0:l.name)||"Group"," - Events - circle21"]})}),(0,s.jsx)("div",{className:d().maxWidthWrapperEvents,children:(0,s.jsxs)("section",{className:t().section,children:[(0,s.jsx)("header",{className:t().header,children:(0,s.jsx)("div",{className:"".concat(t().headerTopPart),children:(0,s.jsxs)(N.Z,{display:"flex",flexDirection:"column",gap:1,children:[(0,s.jsx)(p.x,{className:m()(u().headingH1Bold),children:(null==l?void 0:l.name)||"Loading..."}),(null==l?void 0:l.description)&&(0,s.jsx)(E.Z,{fontSize:14,color:"var(--color-neutral400)",children:l.description})]})})}),Z&&Z.length>0?(0,s.jsx)("div",{className:"".concat(t().cardsContainer),children:Z.map((e,n)=>(0,s.jsx)(h.K,{ref:G===n?I:null,item:e,buttonTitle:"Register Now",size:"big",bgColor:"eventCardDetailsTransparent"},e.id))}):null,L||(null==P?void 0:P.length)!==0?null:(0,s.jsxs)(N.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"30vh",textAlign:"center",padding:2},children:[(0,s.jsx)(E.Z,{variant:"h5",sx:{fontWeight:600,mb:2},children:"No events found in this group"}),(0,s.jsx)(E.Z,{maxWidth:"430px",variant:"body1",sx:{mb:2},children:"There are currently no events in this group. Check back later for updates!"})]}),(0,s.jsx)(g.a,{isLoading:L})]})})]})]})}}},function(e){e.O(0,[6750,2805,5372,8060,7450,4785,9774,2888,179],function(){return e(e.s=42789)}),_N_E=e.O()}]);

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.