PageSourceSearch

https://regroup.app/_next/static/chunks/pages/events/[id]/preview-2e0c517c3bddbe28.js

js regroup.app collected 2026-10-02 15:59:59 UTC 4,778 bytes, 33 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[187],{87608:function(e,t,i){"use strict";i.d(t,{z:function(){return r}});var n=i(57800),r=n.Ps`
2  fragment EventSettings on EventSettings {
3    paymentAmount
4    hideUntilRSVP
5    isLocked
6    privacy
7  }
8`},26590:function(e,t,i){"use strict";i.d(t,{g:function(){return a}});var n=i(70140);i(2784);var r=i(52322),a=function(e){var t,i;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Q,{}),(null==(t=e.image)?void 0:t.thumbnailFile)&&(null==(i=e.image)?void 0:i.largeFile)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{position:"absolute",width:"100%",height:"100%",overflow:"hidden",background:`url(${e.image.thumbnailFile.url})`,backgroundPosition:"center",backgroundSize:"cover"},children:(0,r.jsx)("div",{className:"hidden md:block",style:{width:"100%",height:"100%",background:`url(${e.image.largeFile.url})`,backgroundPosition:"center",backgroundSize:"cover",filter:"blur(8px)",transform:"translate3d(0, 0, 0)"}})}),(0,r.jsx)("div",{style:{position:"absolute",width:"100%",height:"100%",overflow:"hidden"},children:(0,r.jsx)("div",{className:e.fullWidth?void 0:"mx-auto max-w-4xl",style:{height:"100%",overflow:"hidden",background:`url(${e.image.largeFile.url})`,backgroundPosition:"center",backgroundSize:"cover"}})}),(0,r.jsx)("div",{style:{position:"absolute",width:"100%",height:"100%",overflow:"hidden",background:"linear-gradient(rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.6) 70%)"}})]})]})}},70140:function(e,t,i){"use strict";i.d(t,{Q:function(){return r}}),i(2784);var n=i(52322),r=function(){return(0,n.jsxs)("div",{style:{position:"absolute",width:"100%",height:"100%",overflow:"hidden",background:"linear-gradient(180deg, #4434AB -0.16%, #4232A8 34.13%, #3C2D9F 56.99%, #322590 76.5%, #23197B 94.05%, #1D1472 100.04%)"},children:[(0,n.jsx)("div",{style:{position:"absolute",width:"216px",height:"216px",right:"-64px",to
8p:"-64px",background:"linear-gradient(234.29deg, #FF78AF -92.85%, #4434AB 111.86%)",opacity:.56,borderRadius:"50%"}}),(0,n.jsx)("div",{style:{position:"absolute",width:"144px",height:"144px",left:"-54px",top:"-54px",background:"linear-gradient(299.77deg, #74C5FF -103.14%, #1D1472 111.95%)",opacity:.56,borderRadius:"50%"}}),(0,n.jsx)("div",{style:{position:"absolute",width:"172px",height:"172px",left:"-38px",bottom:"-38px",background:"linear-gradient(40.3deg, #FFC06B -109.16%, #1D1472 120.56%)",opacity:.56,borderRadius:"50%"}})]})}},11299:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return f}});var n,r=i(34795),a=i(57800),s=i(87608),Image=i(59792),o=i(34908),d=i(22601),l=i(2784),u=i(96975),c=i(26590),g=i(52322),h=function(e){var t,i=e.event,n=(0,l.useRef)(null),r=i.name,a=i.locationDescription,s=(0,d.utcToZonedTime)(i.startAt,i.timezone),h=(0,d.format)(s,"h:mmaaa",{timeZone:i.timezone}),m=(0,d.format)(s,"EEE MMM do",{timeZone:i.timezone});0===(0,o.Z)(s)&&(h=(0,d.format)(s,"haaa",{timeZone:i.timezone}));var v=h+" on "+m;if(r)switch(!0){case r.length>35:t="text-[5rem] leading-[6rem]";break;case r.length>30:t="text-[6rem] leading-[7rem]";break;case r.length>15:t="text-[7rem] leading-[8rem]";break;case r.length>10:t="text-[8rem] leading-[9rem]";break;default:t="text-[9rem] leading-[10rem]"}return(0,l.useEffect)(function(){n.current&&u.Z.parse(n.current,{folder:"svg",ext:".svg"})},[n]),(0,g.jsxs)("div",{ref:n,style:{width:1200,height:630,fontFamily:"HKGrotesk800"},className:"relative text-white bg-gray-900",children:[(0,g.jsx)(c.g,{image:i.coverImage,fullWidth:!0}),(0,g.jsxs)("div",{className:"relative flex flex-col p-16 justify-end h-full",children:[(0,g.jsx)("div",{className:`${t}`,children:r}),(0,g.jsxs)("div",{className:"flex-col mt-8",children:[a&&!i.settings.hideUntilRSVP&&(0,g.jsx)("h3",{className:"text-[4rem]",children:(0,g.jsxs)("span",{children:["@ ",a]})}),(0,g.jsx)("h3",{className:"text-[4rem]",children:(0,g.jsx)("span",{children:v})})]})]})]})},m=i(60190),v=a.Ps`
9  query GetEventForPreview($eventId: ID!) {
10    event(id: $eventId) {
11      id
12      name
13      description
14      locationDescription
15      startAt
16      status
17      timezone
18      proposedState {
19        requiredNumAttendees
20        expiresAt
21      }
22      shortUrl
23      coverImage {
24        ...Image
25      }
26      settings {
27        ...EventSettings
28      }
29    }
30  }
31  ${Image.k}
32  ${s.z}
33`,x=function(e){var t=e.event;return t?(0,g.jsx)(h,{event:t}):null};x.getInitialProps=(n=(0,r.Z)(function*(e){var t=(0,m.in)(e);return(yield t.query({query:v,variables:{eventId:e.query.id}})).data}),function(e){return n.apply(this,arguments)});var f=x},19715:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[id]/preview",function(){return i(11299)}])}},function(e){e.O(0,[303,774,888,179],function(){return e(e.s=19715)}),_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.