PageSourceSearch

https://buildin.london/_next/static/chunks/0n45snvrl_9w8.js?dpl=dpl_DTi1Y3MvV1K4UJwZhvRz4P57pvc7

js buildin.london collected 2026-10-10 01:20:25 UTC 37,509 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return l.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let l=e.r(132120),s=e.r(92245),i=e.r(235326)},340807,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),a=e.i(846932),l=e.i(522016),s=e.i(387652),i=e.i(664659),o=e.i(975157);function d({isFlagship:e,className:n}){let r=[];return(e&&r.push({label:"Flagship",className:(0,o.cn)("rounded-[2px] border px-2 py-0.5 font-transport-new text-[11px] font-medium","border-royal-red/20 bg-royal-red/10 text-royal-red")}),0===r.length)?null:(0,t.jsx)("div",{className:(0,o.cn)("flex flex-wrap gap-1.5",n),children:r.map(e=>(0,t.jsx)("span",{className:e.className,children:e.label},e.label))})}var c=e.i(657688),u=e.i(535355),m=e.i(419403),x=e.i(869162),p=e.i(318509),h=e.i(401851),f=e.i(874194);let g="font-transport-new text-[10px] font-medium tracking-[0.07em] text-neutral-400 uppercase",v="font-transport-new mt-0.5 text-[12.5px] leading-snug font-medium text-neutral-800",b="h-11 @2xl:h-8.5";function w({event:e}){var n;let r=(0,p.rsvpUrl)(e.sourceUrl,e.slug),a=(n=e.endsAt)?(0,h.format)(n,"h:mm a"):null,l=function(e,t){if(!t)return null;let n=Math.round((t.getTime()-e.getTime())/6e4);if(n<=0)return null;let r=Math.floor(n/60),a=n%60;return 0===r?`${a}m`:0===a?`${r}h`:`${r}h ${a}m`}(e.startsAt,e.endsAt),s=e.description.split("\n\n").filter(e=>e.trim()),i=e.isOnline?"":e.address.trim();return(0,t.jsx)("div",{className:"@container border-t border-neutral-200 bg-neutral-50",children:(0,t.jsx)("div",{className:"px-4 py-3.5 @2xl:py-4 @2xl:pr-4 @2xl:pl-22",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 @2xl:flex-row @2xl:items-start @2xl:gap-5",children:[e.coverImageUrl&&(0,t.jsx)("div",{className:"relative hidden h-25 w-37 shrink-0 overflow-hidden rounded-md border border-neutral-200 @2xl:block",children:(0,t.jsx)(c.default,{src:e.coverImageUrl,alt:"",fill:!0,sizes:"148px",className:"object-cover"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[s.length>0&&(0,t.jsx)("div",{className:"@2xl:max-w-130",children:s.map((e,n)=>(0,t.jsx)("p",{className:"font-transport-new mt-2.5 text-[13px] leading-relaxed font-light text-neutral-900 first:mt-0",children:e},n))}),e.tags.length>0&&(0,t.jsx)("div",{className:"mt-3 flex flex-wrap gap-1",children:e.tags.slice(0,4).map(e=>(0,t.jsx)("span",{className:"font-transport-new rounded-sm border border-neutral-200 bg-neutral-100 px-2 py-0.5 text-[11px] font-medium text-neutral-600",children:e},e))})]}),(0,t.jsxs)("div",{className:"@2xl:w-67 @2xl:shrink-0",children:[(a||e.eventType)&&(0,t.jsxs)("div",{className:"flex gap-7",children:[a&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:g,children:"Ends"}),(0,t.jsxs)("div",{className:v,children:[a,l&&(0,t.jsxs)("span",{className:"font-light text-neutral-600",children:[" ","· ",l]})]})]}),e.eventType&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:g,children:"Type"}),(0,t.jsx)("div",{className:v,children:e.eventType})]})]}),i&&(0,t.jsxs)("div",{className:"mt-3.5",children:[(0,t.jsx)("div",{className:g,children:"Address"}),(0,t.jsxs)("div",{className:v,children:[i,e.neighbourhood&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"font-light text-neutral-600",children:e.neighbourhood})]})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[r&&(0,t.jsx)(x.EventPlatformLink,{href:r,source:e.sourceKey,logoSize:14,className:b,onClick:()=>(0,f.trackEvent)("RSVP",{event:e.title})}),(0,t.jsx)(u.AddToCalendar,{title:e.title,description:e.description,startsAt:e.startsAt,endsAt:e.endsAt,venue:e.venue,address:e.address,lat:e.lat,lng:e.lng,label:"Add to calendar",className:b}),null!=e.lat&&null!=e.lng&&!e.isOnline&&(0,t.jsx)(m.GetDirections,{lat:e.lat,lng:e.lng,venueName:e.venue,variant:"outline",className:b})]})]})]})})})}var j=e.i(682565);let y=["SUN","MON","TUE","WED","THU","FRI","SAT"],N=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"];function C(e){let[t,n,r]=e.split("-").map(Number);return{y:t??1970,m:n??1,d:r??1}}var k=e.i(27050);function S(e){let t=e.split(" ");return{hour:t[0],period:t[1]??""}}let T={initial:{},animate:{transition:{staggerChildren:.04}}};function M({heading:e,dayKey:r,events:l,isFirst:c,onEventClick:u,highlightedEventId:m,expandedEventId:x}){let p=(0,n.useRef)(null),h=(0,s.useInView)(p,{once:!0,margin:"-10%"});return(0,t.jsxs)(a.motion.div,{ref:p,initial:"initial",animate:h?"animate":"initial",variants:T,className:c?"":"mt-6","data-day-key":r,children:[(0,t.jsx)(a.motion.div,{variants:j.staggerChild,className:"mb-2",children:(0,t.jsx)("span",{className:"font-transport-new text-[11px] font-medium tracking-wider text-neutral-500 uppercase",children:e})}),0===l.length?(0,t.jsx)(a.motion.p,{variants:j.staggerChild,className:"font-transport-new text-left text-[11px] font-normal text-neutral-400 italic",children:"No events"}):(0,t.jsx)(a.motion.div,{variants:j.staggerChild,className:"overflow-hidden rounded-lg border border-neutral-200 bg-white transition-shadow duration-200 hover:shadow-sm",children:l.map((e,n)=>{let{hour:r,period:s}=S(e.time),c=n===l.length-1,p=m===e.id,h=x===e.id;return(0,t.jsxs)(a.motion.div,{variants:j.staggerChild,"data-event-id":e.id,children:[(0,t.jsxs)("button",{type:"button","aria-expanded":h,onClick:()=>u?.(e),className:(0,o.cn)("flex w-full items-stretch text-left transition-all duration-150 hover:bg-neutral-100",!c&&!h&&"border-b border-neutral-200",p&&"animate-pulse bg-[#012169]/5",h&&"bg-neutral-100"),children:[(0,t.jsxs)("div",{className:"flex w-18 shrink-0 flex-col items-center justify-center border-r border-neutral-200 px-2 py-3",children:[(0,t.jsx)("span",{className:"font-transport-new text-[14px] leading-none font-extrabold text-[#012169]",children:r}),(0,t.jsx)("span",{className:"font-transport-new mt-0.5 text-[11px] leading-none font-medium text-neutral-500",children:s})]}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 px-4 py-3",children:[(0,t.jsx)("span",{className:"font-transport-new block truncate text-[14px] leading-tight font-extrabold text-[#012169]",children:e.title}),(0,t.jsxs)("span",{className:"font-transport-new mt-0.5 block truncate text-[13px] font-medium text-neutral-500",children:[e.org,e.venue&&"TBC"!==e.venue&&(0,t.jsxs)(t.Fragment,{children:[" · ",e.isOnline?"Online":e.venue]})]})]}),(0,t.jsxs)("div",{className:"hidden shrink-0 items-center gap-1.5 py-3 pr-3 md:flex",children:[(0,t.jsx)(d,{isFlagship:e.isFlagship}),(0,t.jsx)(i.ChevronDown,{className:(0,o.cn)("h-3.5 w-3.5 text-neutral-400 transition-transform duration-150",h&&"rotate-180")}
1)]})]}),h&&(0,t.jsx)("div",{className:(0,o.cn)(!c&&"border-b border-neutral-200"),children:(0,t.jsx)(w,{event:e})})]},e.slug)})})]})}function E({events:e,dayKeys:r,todayKey:a,onEventClick:s,highlightedEventId:i,pinnedEventId:o,expandedEventId:d}){let c=(0,n.useMemo)(()=>(function(e){let t=new Map;for(let n of e){let e=(0,k.londonDateKey)(n.startsAt),r=t.get(e);r?r.push(n):t.set(e,[n])}return t})(e),[e]),u=o?e.find(e=>e.id===o)??null:null;return(0,t.jsxs)("div",{children:[u&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("span",{className:"font-transport-new text-[11px] font-medium tracking-wider text-[#012169]/60 uppercase",children:"Viewing on map"}),(0,t.jsx)("div",{className:"mt-2 overflow-hidden rounded-lg border border-[#012169]/20 bg-[#012169]/3",children:(0,t.jsxs)(l.default,{href:`/events/${u.slug}`,onClick:s?e=>{e.preventDefault(),s(u)}:void 0,className:"flex items-stretch border-l-[3px] border-l-[#012169] transition-all duration-150 hover:bg-[#012169]/6","data-event-id":u.id,children:[(0,t.jsxs)("div",{className:"flex w-18 shrink-0 flex-col items-center justify-center border-r border-[#012169]/10 px-2 py-3",children:[(0,t.jsx)("span",{className:"font-transport-new text-[14px] leading-none font-extrabold text-[#012169]",children:S(u.time).hour}),(0,t.jsx)("span",{className:"font-transport-new mt-0.5 text-[11px] leading-none font-medium text-neutral-500",children:S(u.time).period})]}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 px-4 py-3",children:[(0,t.jsx)("span",{className:"font-transport-new block truncate text-[14px] leading-tight font-extrabold text-[#012169]",children:u.title}),(0,t.jsxs)("span",{className:"font-transport-new mt-0.5 block truncate text-[13px] font-medium text-neutral-500",children:[u.org,u.venue&&"TBC"!==u.venue&&(0,t.jsxs)(t.Fragment,{children:[" ","·"," ",u.isOnline?"Online":u.venue]})]})]})]})})]}),r.map((e,n)=>{let r=c.get(e)??[];return(0,t.jsx)(M,{dayKey:e,heading:function(e,t,n){let r=`${t} event${1===t?"":"s"}`;if(e===n)return`TODAY \xb7 ${r}`;let{y:a,m:l,d:s}=C(e),i=y[new Date(Date.UTC(a,l-1,s)).getUTCDay()];return`${i} ${s} ${N[l-1]} \xb7 ${r}`}(e,r.length,a),events:r,isFirst:0===n&&!u,onEventClick:s,highlightedEventId:i,expandedEventId:d},e)})]})}var D=e.i(131512),O=e.i(37727);let R=(0,e.i(475254).default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);var P=e.i(88653),U=e.i(368977),A=e.i(826514),F=e.i(561993);let $=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}),L=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});var I=e.i(281092);function z(e,t){let n=(0,I.toDate)(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}var H=e.i(39978),B=e.i(614522),W=e.i(455024),K=e.i(585890),V=e.i(845110),_=e.i(677241);function Y(e,t,n){let[r,a]=(0,V.normalizeDates)(n?.in,e,t);return+(0,K.startOfDay)(r)==+(0,K.startOfDay)(a)}var q=e.i(24708);function J(e,t){return Y((0,_.constructFrom)(t?.in||e,e),(0,q.constructNow)(t?.in||e))}function G(e,t,n){let r=(0,I.toDate)(e,n?.in);if(isNaN(t))return(0,_.constructFrom)(n?.in||e,NaN);if(!t)return r;let a=r.getDate(),l=(0,_.constructFrom)(n?.in||e,r.getTime());return(l.setMonth(r.getMonth()+t+1,0),a>=l.getDate())?l:(r.setFullYear(l.getFullYear(),l.getMonth(),a),r)}let X=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];
1function Z({month:e,eventCounts:r,selectedDate:a,onDayClick:l,compact:s=!1,hideTitle:i=!1,className:d}){let c=(0,K.startOfDay)(new Date),u=(0,n.useMemo)(()=>{var t;let n,l,s,i,o=z(e),d=(0,H.endOfMonth)(e);return(function(e){let{start:t,end:n}=function(e,t){let[n,r]=(0,V.normalizeDates)(e,t.start,t.end);return{start:n,end:r}}(void 0,e),r=+t>+n,a=r?+t:+n,l=r?n:t;l.setHours(0,0,0,0);let s=(void 0)??1;if(!s)return[];s<0&&(s=-s,r=!r);let i=[];for(;+l<=a;)i.push((0,_.constructFrom)(t,l)),l.setDate(l.getDate()+s),l.setHours(0,0,0,0);return r?i.reverse():i})({start:(0,B.startOfWeek)(o,{weekStartsOn:1}),end:(t={weekStartsOn:1},n=(0,W.getDefaultOptions)(),l=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(s=(0,I.toDate)(d,t?.in)).getDay(),s.setDate(s.getDate()+((i<l?-7:0)+6-(i-l))),s.setHours(23,59,59,999),s)}).map(t=>{let n=(0,h.format)(t,"yyyy-MM-dd");return{date:t,dateStr:n,day:t.getDate(),isCurrentMonth:function(e,t){let[n,r]=(0,V.normalizeDates)(void 0,e,t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(t,e),isToday:J(t),isSelected:!!a&&Y(t,a),isPast:+(0,I.toDate)(t)<+(0,I.toDate)(c),eventCount:r[n]??0}})},[e,a,r,c]);return(0,t.jsxs)("div",{className:d,children:[!i&&(0,t.jsx)("div",{className:(0,o.cn)("font-transport-new text-navy text-center font-semibold",s?"text-[13px]":"text-sm"),children:(0,h.format)(e,"MMMM yyyy")}),(0,t.jsx)("div",{className:(0,o.cn)("font-transport-new grid text-center font-medium tracking-[0.08em] text-neutral-400 uppercase",s?"grid-cols-[repeat(7,auto)] text-[9px]":"mt-4 grid-cols-7 text-[10px]",s&&!i&&"mt-2.5",s&&i&&"mt-3"),children:X.map(e=>(0,t.jsx)("div",{className:(0,o.cn)(s&&"w-8.5"),children:s?e.slice(0,2):e},e))}),(0,t.jsx)("div",{className:(0,o.cn)("grid",s?"mt-1 grid-cols-[repeat(7,auto)] gap-y-0.5":"mt-1.5 grid-cols-7 gap-y-1"),children:u.map(e=>{if(!e.isCurrentMonth)return(0,t.jsx)("div",{"aria-hidden":"true"},e.dateStr);let n=e.isPast&&!e.isToday,r=e.isSelected||e.isToday&&null===a,i=Math.min(e.eventCount,3);return(0,t.jsx)("div",{className:(0,o.cn)("flex justify-center",s&&"w-8.5"),children:(0,t.jsxs)("button",{type:"button",disabled:n,onClick:()=>l(e),"aria-pressed":e.isSelected,"aria-label":`${(0,h.format)(e.date,"EEEE d MMMM")}${e.eventCount>0?`, ${e.eventCount} event${1!==e.eventCount?"s":""}`:""}`,className:(0,o.cn)("font-transport-new relative flex items-center justify-center rounded-full transition-colors",s?"size-7 text-[12px]":"size-9 text-[13px]",n&&"text-neutral-300",!n&&!r&&"hover:bg-navy/5 cursor-pointer",!n&&!r&&!e.isToday&&(e.eventCount>0?"text-navy font-medium":"text-neutral-500"),e.isToday&&!r&&"text-navy font-semibold",r&&"bg-navy rounded-md font-semibold text-white shadow-sm"),children:[(0,t.jsx)("time",{dateTime:e.dateStr,className:"-translate-y-px",children:e.day}),i>0&&!n&&!r&&(0,t.jsx)("span",{"aria-hidden":"true",className:(0,o.cn)("absolute left-1/2 flex -translate-x-1/2 gap-0.75",s?"bottom-0.5":"bottom-0.75"),children:Array.from({length:i},(e,n)=>(0,t.jsx)("span",{className:"bg-royal-red size-[3.5px] rounded-full"},n))})]})},e.dateStr)})})]})}function Q({eventCounts:e,months:a=2,onDaySelected:l,className:s}){let i=(0,r.useRouter)(),d=(0,r.useSearchParams)(),[c,u]=(0,n.use
1State)(0),m=3-(a-1),x=z(G(new Date,c)),p=(0,n.useMemo)(()=>{let e=d.get("date");if(!e)return null;let t=(0,A.parseISO)(e);return(0,U.isValid)(t)?t:null},[d]),f=e=>{let t=new URLSearchParams(d.toString());e.isSelected?t.delete("date"):(t.set("date",e.dateStr),t.delete("range"));let n=t.toString();i.push(n?`/events?${n}`:"/events",{scroll:!1}),l?.()},g=e=>(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>Math.max(e-1,0)),disabled:0===c,className:(0,o.cn)("flex size-7 items-center justify-center rounded-full transition-colors",e&&"absolute top-0 left-0 z-10",0===c?"text-neutral-200":"hover:text-navy cursor-pointer text-neutral-400 hover:bg-neutral-100"),children:[(0,t.jsx)("span",{className:"sr-only",children:"Previous month"}),(0,t.jsx)($,{"aria-hidden":"true",className:"size-5"})]}),v=e=>(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>Math.min(e+1,m)),disabled:c===m,className:(0,o.cn)("flex size-7 items-center justify-center rounded-full transition-colors",e&&"absolute top-0 right-0 z-10",c===m?"text-neutral-200":"hover:text-navy cursor-pointer text-neutral-400 hover:bg-neutral-100"),children:[(0,t.jsx)("span",{className:"sr-only",children:"Next month"}),(0,t.jsx)(L,{"aria-hidden":"true",className:"size-5"})]});return(0,t.jsxs)("div",{className:(0,o.cn)("relative",2===a?"mx-auto w-full max-w-3xl":"w-fit",s),children:[1===a?(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[g(!1),(0,t.jsx)("div",{className:"font-transport-new text-navy text-[13px] font-semibold",children:(0,h.format)(x,"MMMM yyyy")}),v(!1)]}):(0,t.jsxs)(t.Fragment,{children:[g(!0),v(!0)]}),(0,t.jsxs)("div",{className:(0,o.cn)("grid gap-x-10 gap-y-6",2===a&&"md:grid-cols-2"),children:[(0,t.jsx)(Z,{month:x,eventCounts:e,selectedDate:p,onDayClick:f,compact:1===a,hideTitle:1===a}),2===a&&(0,t.jsx)(Z,{month:G(x,1),eventCounts:e,selectedDate:p,onDayClick:f,className:"hidden md:block"})]}),c>0&&(0,t.jsx)("div",{className:"mt-4 flex justify-center",children:(0,t.jsx)("button",{type:"button",onClick:()=>u(0),className:"font-transport-new hover:text-navy cursor-pointer text-[12px] font-medium text-neutral-400 transition-colors",children:"Back to today"})})]})}var ee=e.i(649582),et=e.i(231628),en=e.i(337822),er=e.i(257428),ea=e.i(561348);let el=[{value:"all",label:"All types"},{value:"MEETUP",label:"Meetup"},{value:"WORKSHOP",label:"Workshop"},{value:"CONFERENCE",label:"Conference"},{value:"INVESTOR_EVENT",label:"Investor"},{value:"SOCIAL",label:"Social"}];function es(){let e=(0,r.useRouter)(),t=(0,r.useSearchParams)(),a=(0,n.useCallback)(t=>{let n=t.toString();e.replace(n?`/events?${n}`:"/events",{scroll:!1})},[e]),l=(0,n.useCallback)((e,n)=>{let r=new URLSearchParams(t.toString());"all"===n||""===n||"false"===n?r.delete(e):(r.set(e,n),(0,f.trackEvent)("Filter",{type:e,value:n})),a(r)},[a,t]),s=(0,n.useCallback)(e=>{let n=new URLSearchParams(t.toString());"true"===n.get(e)?n.delete(e):n.set(e,"true"),a(n)},[a,t]),i=(0,n.useMemo)(()=>(t.get("tags")??"").split(",").map(e=>e.trim()).filter(Boolean).filter((e,t,n)=>n.indexOf(e)===t),[t]),o=(0,n.useCallback)(e=>{let n=new URLSearchParams(t.toString()),r=i.includes(e)?i.filter(t=>t!==e):[...i,e];0===r.length?n.delete("tags"):n.set("tags",r.join(",")),a(n)},[a,t,i]),d=(0,n.useCallback)(()=>{let e=new URLSearchParams(t.toString());for(let t of["eventType","neighbourhood","tags","date","q"])e.delete(t);a(e)},[a,t]),c=(0,n.useMemo)(()=>(0,D.parseAreaParam)(t.get("neighbourhood")),[t]);return{currentType:t.get("eventType")??"all",currentTags:i,currentAreas:c,updateParam:l,toggleParam:s,toggleTag:o,clearAll:d,clearAllFilters:d}}function ei(){let{currentType:e,updateParam:n}=es();return(0,t.jsx)(et.SelectField,{ariaLabel:"Filter by event type",value:e,onChange:e=>n("eventType",e),options:el,triggerClassName:"font-transport-new h-8 w-auto min-w-30 rounded-md border-neutral-200 bg-white text-[13px] font-medium",itemClassName:"font-transport-new text-[13px]"})}function eo({counts:e,variant:n="inline"}){let{currentAreas:r,updateParam:a}=es();return(0,t.jsx)(ea.AreaFilter,{variant:n,label:"",selected:r,onChange:e=>a("neighbourhood",(0,D.serialiseAreaParam)(e)??""),counts:e,hideEmpty:!0})}function ed({tagsWithCounts:e}){let{currentTags:n,toggleTag:r,updateParam:a}=es();return 0===e.length?null:(0,t.jsxs)(en.Popover,{children:[(0,t.jsx)(en.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"font-transport-new flex h-8 items-center gap-1.5 rounded-md border border-neutral-200 bg-white px-3 text-[13px] font-medium text-neutral-900 transition-colors hover:border-neutral-300",children:["Tags",n.length>0&&(0,t.jsx)("span",{className:"flex h-4 min-w-4 items-center justify-center rounded-full bg-[#012169] px-1 text-[10px] text-white",children:n.length}),(0,t.jsx)(i.ChevronDown,{className:"h-3 w-3 text-neutral-400"})]})}),(0,t.jsxs)(en.PopoverContent,{align:"start",className:"w-56 p-2",children:[n.length>0&&(0,t.jsxs)("button",{type:"button",onClick:()=>a("tags",""),className:"font-transport-new mb-2 flex w-full items-center gap-1.5 text-[12px] font-medium text-neutral-500 hover:text-neutral-700",children:[(0,t.jsx)(O.X,{className:"h-3 w-3"}),"Clear all"]}),(0,t.jsx)("div",{className:"max-h-48 space-y-1 overflow-y-auto",children:e.map(({tag:e,count:a})=>(0,t.jsxs)("label",{className:"flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 hover:bg-neutral-50",children:[(0,t.jsx)(er.Checkbox,{checked:n.includes(e),onCheckedChange:()=>r(e)}),(0,t.jsx)("span",{className:"font-transport-new flex-1 text-[13px] font-medium text-neutral-700",children:e}),(0,t.jsx)("span",{className:"font-transport-new text-[11px] font-medium text-neutral-400",children:a})]},e))})]})]})}function ec({neighbourhoodCounts:e,tagsWithCounts:r}){let{currentType:a,currentTags:l,currentAreas:s,clearAll:i}=es(),o=(0,n.useMemo)(()=>{let e=0;return"all"!==a&&e++,e+=s.length,e+=l.length},[a,s,l]);return(0,t.jsxs)(F.Drawer,{children:[(0,t.jsx)(F.DrawerTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"font-transport-new flex h-8 items-center gap-1.5 rounded-md border border-neutral-200 bg-white px-3 text-[13px] font-medium text-neutral-900 transition-colors hover:border-neutral-300",children:[(0,t.jsx)(ee.SlidersHorizontal,{className:"h-3.5 w-3.5"}),"Filters",o>0&&(0,t.jsx)("span",{className:"flex h-4 min-w-4 items-center justify-center rounded-full bg-[#012169] px-1 text-[10px] text-white",children:o})]})}),(0,t.jsxs)(F.DrawerContent,{children:[(0,t.jsx)(F.DrawerHeader,{children:(0,t.jsx)(F.DrawerTitle,{className:"font-transport-new text-lg font-extrabold text-neutral-900",children:"Filters"})}),(0,t.jsxs)("div",{className:"max-h-[60vh] space-y-6 overflow-y-auto px-4 pb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-transport-new mb-2 text-[11px] font-medium tracking-wider text-neutral-500 uppercase",children:"Type"}),(0,t.jsx)(ei,{})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-transport-new mb-2 text-[11px] font-medium tracking-wider text-neutral-500 uppercase",children:"Area"}),(0,t.jsx)(eo,{counts:e,variant:"inline"})]}),r.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-transport-new mb-2 text-[11px] font-medium tracking-wider text-neutral-500 uppercase",children:"Tags"}),(0,t.jsx)(ed,{tagsWithCounts:r})]}),(0,t.jsx)("div",{children:(0,t.jsx)("h3",{className:"font-transport-new mb-2 text-[11px] font-medium tracking-wider text-neutral-500 uppercase",children:"More"})})]}),(0,t.jsxs)(F.DrawerFooter,{className:"flex-row gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:i,className:"font-transport-new flex-1 rounded-sm border border-neutral-200 px-4 py-2.5 text-[13px] font-medium text-neutral-700 transition-colors hover:bg-neutral-50",children:"Clear all"}),(0,t.jsx)(F.DrawerClose,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"font-transport-new flex-1 rounded-sm bg-[#012169] px-4 py-2.5 text-[13px] font-extrabold text-white transition-colors hover:bg-[#012169]/90",children:"Done"})})]})]})]})}let eu=[{value:"all",label:"All types"},{value:"MEETUP",label:"Meetup"},{value:"WORKSHOP",label:"Workshop"},{value:"CONFERENCE",label:"Conference"},{value:"INVESTOR_EVENT",label:"Investor"},{value:"SOCIAL",label:"Social"}];function em({tagsWithCounts:e=[],neighbourhoodCounts:l=new Map,eventCounts:s={}}){let i=(0,r.useRouter)(),d=(0,r.useSearchParams)(),[c,u]=(0,n.use
1State)(!1),m=d.get("eventType")??"all",x=d.get("q")??"",p=d.get("date")??"",g=d.get("neighbourhood")??"",v=d.get("tags")??"",b=(0,n.useMemo)(()=>{let e=new Set;return v.split(",").map(e=>e.trim()).filter(Boolean).filter(t=>!e.has(t)&&(e.add(t),!0))},[v]),w=(0,n.useMemo)(()=>(0,D.parseAreaParam)(g),[g]),y=(0,n.useMemo)(()=>{if(!p)return"";let e=(0,A.parseISO)(p);return(0,U.isValid)(e)?(0,h.format)(e,"EEE d MMM"):p},[p]),N=(0,n.useCallback)((e,t)=>{let n=new URLSearchParams(d.toString());"all"===t||""===t||"false"===t?n.delete(e):(n.set(e,t),(0,f.trackEvent)("Filter",{type:e,value:t}));let r=n.toString();i.replace(r?`/events?${r}`:"/events",{scroll:!1})},[i,d]),C=(0,n.useCallback)(e=>{let t=new URLSearchParams(d.toString()),n=(t.get("tags")?.split(",")??[]).map(e=>e.trim()).filter(Boolean).filter((e,t,n)=>n.indexOf(e)===t),r=n.includes(e)?n.filter(t=>t!==e):[...n,e];0===r.length?t.delete("tags"):t.set("tags",r.join(","));let a=t.toString();i.replace(a?`/events?${a}`:"/events",{scroll:!1})},[i,d]),k=(0,n.useMemo)(()=>{let e=[];
1if("all"!==m){let t=eu.find(e=>e.value===m)?.label??m;e.push({key:`type-${m}`,label:t,onDismiss:()=>N("eventType","all")})}for(let t of w)e.push({key:`neighbourhood-${t}`,label:(0,D.areaLabelFor)(t),onDismiss:()=>N("neighbourhood",(0,D.serialiseAreaParam)(w.filter(e=>e!==t))??"")});for(let t of(p&&e.push({key:`date-${p}`,label:y||p,onDismiss:()=>N("date","")}),b))e.push({key:`tag-${t}`,label:t,onDismiss:()=>C(t)});return x&&e.push({key:"search",label:`"${x}"`,onDismiss:()=>N("q","")}),e},[m,w,p,y,b,x,N,C]),S=(0,n.useCallback)(()=>{i.replace("/events",{scroll:!1})},[i]);return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"scrollbar-hide -mx-4 flex items-center gap-2 overflow-x-auto mask-[linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)] px-4 md:mx-0 md:mask-none md:px-0",children:[(0,t.jsx)("div",{className:"shrink-0 md:hidden",children:(0,t.jsx)(ec,{neighbourhoodCounts:l,tagsWithCounts:e})}),(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),className:(0,o.cn)("font-transport-new flex shrink-0 items-center gap-1.5 rounded-full border px-3 py-1.5 text-[13px] font-medium tracking-[0.01em] transition-colors lg:hidden",c?"border-navy bg-navy text-white":"border-neutral-200 text-neutral-900 hover:border-neutral-300"),children:[(0,t.jsx)(R,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Calendar"})]})]}),(0,t.jsx)(F.Drawer,{open:c,onOpenChange:u,children:(0,t.jsxs)(F.DrawerContent,{className:"lg:hidden",children:[(0,t.jsx)(F.DrawerHeader,{children:(0,t.jsx)(F.DrawerTitle,{className:"font-transport-new text-lg font-extrabold text-neutral-900",children:"Calendar"})}),(0,t.jsx)("div",{className:"px-4 pt-1 pb-8",children:(0,t.jsx)(Q,{eventCounts:s,onDaySelected:()=>u(!1)})})]})}),(0,t.jsxs)("div",{className:"hidden items-center gap-2 md:flex md:flex-wrap",children:[(0,t.jsx)(eo,{counts:l}),(0,t.jsx)(ei,{}),(0,t.jsx)(ed,{tagsWithCounts:e})]}),(0,t.jsx)(P.AnimatePresence,{initial:!1,children:k.length>0&&(0,t.jsx)(a.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:j.spring.snappy,className:"overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[k.map(e=>(0,t.jsxs)("button",{type:"button",onClick:e.onDismiss,className:"font-transport-new inline-flex items-center gap-1 rounded-full border border-neutral-200 bg-neutral-50 px-2.5 py-1 text-[12px] font-medium text-neutral-700 transition-colors hover:border-neutral-300 hover:bg-neutral-100",children:[e.label,(0,t.jsx)(O.X,{className:"h-3 w-3 text-neutral-400"})]},e.key)),k.length>1&&(0,t.jsx)("button",{type:"button",onClick:S,className:"font-transport-new text-[12px] font-medium text-neutral-500 transition-colors hover:text-neutral-700",children:"Clear all"})]})})})]})}var ex=e.i(655900),ep=e.i(699875);function eh({event:e,onClick:r}){let l=e.startsAt?function(e){var t;let n;return J(e)?null:Y(e,(t=(0,q.constructNow)(e),n=(0,I.toDate)(t,void 0),isNaN(1)?(0,_.constructFrom)(t,NaN):(n.setDate(n.getDate()+1),n)),void 0)?"TOMORROW":!function(e,t,n){let[r,a]=(0,V.normalizeDates)(n?.in,e,t);return+(0,B.startOfWeek)(r,n)==+(0,B.startOfWeek)(a,n)}(e,new Date,{weekStartsOn:1})?(0,h.format)(e,"EEE d MMM").toUpperCase():"THIS "+(0,h.format)(e,"EEEE").toUpperCase()}(e.startsAt):null,[s,o]=(0,n.useState)(!1),[d,c]=(0,n.useState)(!1),u=()=>{d?c(!1):r?.()};return(0,t.jsx)(a.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},transition:j.spring.snappy,onAnimationComplete:()=>o(!0),className:s?"w-full":"w-full overflow-hidden",style:s?{height:"auto"}:void 0,children:(0,t.jsx)(a.motion.div,{initial:{y:"-100%"},animate:{y:0},transition:j.spring.snappy,style:s?{transform:"none"}:void 0,children:(0,t.jsxs)("div",{role:"button",tabIndex:0,onClick:u,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),u())},className:"group from-navy via-navy to-navy-light relative block w-full cursor-pointer rounded-lg bg-linear-to-br px-6 py-4 text-left transition-all duration-200 hover:scale-[1.005] hover:shadow-lg md:px-8 md:py-5",children:[(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),c(e=>!e)},"aria-expanded":!d,"aria-label":d?"Expand":"Collapse",className:"absolute top-3 right-3 cursor-pointer rounded-full p-1 text-white/30 transition-colors hover:text-white/60",children:d?(0,t.jsx)(i.ChevronDown,{className:"h-4 w-4"}):(0,t.jsx)(ex.ChevronUp,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 pr-8",children:[(0,t.jsx)(ep.Pulse,{className:"shrink-0"}),(0,t.jsx)("span",{className:"font-transport-new text-[11px] leading-none font-medium tracking-wider text-white uppercase",children:"Featured"}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"leading-none text-white/30",children:"·"}),(0,t.jsx)("span",{className:"font-transport-new text-[11px] leading-none font-medium tracking-wider text-white/40 uppercase",children:l})]}),d&&(0,t.jsx)(a.motion.span,{initial:{opacity:0}
1,animate:{opacity:1},transition:j.spring.snappy,className:"font-transport-new min-w-0 truncate text-[12px] leading-none font-medium text-white/80",children:e.title})]}),(0,t.jsxs)(a.motion.div,{initial:!1,animate:{height:d?0:"auto",opacity:+!d},transition:j.spring.snappy,className:"overflow-hidden",children:[(0,t.jsx)("h3",{className:"font-transport-new mt-2 text-[clamp(1.25rem,2.5vw,1.75rem)] leading-tight font-extrabold text-white",children:e.title}),(0,t.jsx)("div",{className:"font-transport-new mt-0.5 text-[13px] font-medium text-white/60",children:"TBC"!==e.venue?e.venue:e.org}),e.description&&(0,t.jsx)("p",{className:"font-body mt-2 max-w-2xl truncate text-[13px] font-normal text-white/50",children:e.description})]})]})})})}var ef=e.i(547196),eg=e.i(177991);function ev({events:e,selectedNeighbourhood:t}){let{setEventsTabPins:r,setEventsTabNeighbourhood:a}=(0,ef.useHomeMapPanel)();return(0,n.useEffect)(()=>(r((0,eg.filteredEventsToMapPins)(e)),a(t),()=>{r([]),a(null)}),[e,t,r,a]),null}var eb=e.i(95187);let ew=(0,eb.createServerReference)("40f9a3195eac635616dc154c69a9cd6f80c2742144",eb.callServer,void 0,eb.findSourceMapURL,"loadMoreEvents");function ej(e){let t=document.querySelector(`[data-event-id="${e}"]`);return t?.querySelector("button")??t}function ey(e){let t=function(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t).overflowY;if(("auto"===e||"scroll"===e)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null}(e),n=t?t.scrollTop:window.scrollY,r=e.getBoundingClientRect();return{parent:t,scrollTop:n,rect:r,documentTop:r.top+n}}e.s(["EventsPageClient",0,function({initialPage:e,todayKey:l,targetDateKey:s,rollingFilters:i,hasActiveFilters:o,eventCounts:d,flagshipEvent:c,tagsWithCounts:u,selectedNeighbourhood:m}){let x=(0,r.useSearchParams)(),p=(0,r.useRouter)(),[h,g]=(0,n.useState)(e.events),[v,b]=(0,n.useState)(e.nextCursor),[w,y]=(0,n.useState)(e.lastKey),[N,k]=(0,n.useState)(!1),[S,T]=(0,n.use
1State)(()=>e.events.find(e=>e.slug===x.get("event"))?.id??null),[M,D]=(0,n.useState)(null),[O,R]=(0,n.useState)(null),P=(0,n.useRef)(void 0),U=(0,n.useRef)(null),A=(0,n.useRef)(!1),F=c&&!h.some(e=>e.id===c.id),{setEventsTabSelectedPinId:$,setOnEventsTabPinClick:L}=(0,ef.useHomeMapPanel)(),I=(0,n.useMemo)(()=>{let e=new Map;for(let t of h)for(let n of t.areaValues)e.set(n,(e.get(n)??0)+1);return e},[h]),z=(0,n.useMemo)(()=>null!==v?w??l:[function(e){let{y:t,m:n,d:r}=C(e),a=new Date(Date.UTC(t,n-1,r+13)),l=String(a.getUTCMonth()+1).padStart(2,"0"),s=String(a.getUTCDate()).padStart(2,"0");return`${a.getUTCFullYear()}-${l}-${s}`}(l),w,s].filter(e=>null!==e&&e>=l).reduce((e,t)=>e>t?e:t,l),[v,l,w,s]),H=(0,n.useMemo)(()=>(function(e,t){let n=C(e),r=C(t),a=Date.UTC(r.y,r.m-1,r.d),l=[];for(let e=Date.UTC(n.y,n.m-1,n.d);e<=a;e+=864e5){let t=new Date(e),n=String(t.getUTCMonth()+1).padStart(2,"0"),r=String(t.getUTCDate()).padStart(2,"0");l.push(`${t.getUTCFullYear()}-${n}-${r}`)}return l})(l,z),[l,z]),B=(0,n.useRef)(()=>{}),W=(0,n.useCallback)(async()=>{if(v&&!N){k(!0);try{let e=await ew({cursor:v,...i});g(t=>{let n=new Set(t.map(e=>e.id));return[...t,...e.events.filter(e=>!n.has(e.id))]}),b(e.nextCursor),e.lastKey&&y(e.lastKey)}finally{k(!1)}}},[v,N,i]);(0,n.useEffect)(()=>{B.current=()=>void W()},[W]);let K=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=K.current;if(!e||!v)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&B.current()},{rootMargin:"600px"});return t.observe(e),()=>t.disconnect()},[v]);let V=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!s){V.current=null;return}if(z<s&&v&&!N)return void B.current();if(V.current===s)return;let e=document.querySelector(`[data-day-key="${s}"]`);e&&(V.current=s,e.scrollIntoView({behavior:"smooth",block:"start"}))},[s,z,v,N]),(0,n.useEffect)(()=>{let e,t=()=>{A.current=!0,clearTimeout(e),e=setTimeout(()=>{A.current=!1},250)};return window.addEventListener("wheel",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),()=>{clearTimeout(e),window.removeEventListener("wheel",t),window.removeEventListener("touchmove",t)}},[]),(0,n.useLayoutEffect)(()=>{if(!S){U.current=null;return}let e=ej(S);if(!e)return;let t=U.current?.id===S?U.current:null,n=ey(e),r=function({previousDocumentTop:e,previousScrollTop:t,currentDocumentTop:n,currentScrollTop:r,currentTop:a,currentBottom:l,viewportHeight:s,userScrolling:i}){if(i)return{kind:"hold"};if(null===e||null===t)return a>=0&&l<=s?{kind:"hold"}:{kind:"reveal"};if(r!==t)return{kind:"hold"};let o=n-e;return 4>Math.abs(o)?{kind:"hold"}:{kind:"shift",by:o}}({previousDocumentTop:t?.documentTop??null,previousScrollTop:t?.scrollTop??null,currentDocumentTop:n.documentTop,currentScrollTop:n.scrollTop,currentTop:n.rect.top,currentBottom:n.rect.bottom,viewportHeight:window.innerHeight,userScrolling:A.current});"reveal"===r.kind?e.scrollIntoView({block:"center"}):"shift"===r.kind&&(n.parent?n.parent.scrollTop+=r.by:window.scrollBy(0,r.by));let a=ey(e);U.current={id:S,documentTop:a.documentTop,scrollTop:a.scrollTop}},[S,h,H,F,N]);let _=(0,n.useCallback)(e=>{let t=S===e.id?null:e.id,n=ej(e.id);if(null===t||null===n)U.current=null;else{let e=ey(n);U.current={id:t,documentTop:e.documentTop,scrollTop:e.scrollTop}}T(t);{let n=new URLSearchParams(window.location.search);null===t?n.delete("event"):n.set("event",e.slug);let r=n.toString();window.history.replaceState(null,"",r?`/events?${r}`:"/events")}$(e.id)},[S,$]),Y=(0,n.useCallback)(e=>{(0,f.trackEvent)("Map Pin Click",{type:"event"}),$(e),R(e),window.scrollTo({top:0,behavior:"smooth"}),D(e),clearTimeout(P.current),P.current=setTimeout(()=>{D(null)},2e3)},[$]);(0,n.useEffect)(()=>(L(Y),()=>L(null)),[Y,L]),(0,n.useEffect)(()=>{S||($(null),R(null))},[S,$]);let q=0===h.length&&o;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ev,{events:h,selectedNeighbourhood:m}),(0,t.jsx)("div",{className:"relative z-1 pb-20 lg:pb-0",children:(0,t.jsx)("div",{className:"mx-auto max-w-341.5 px-4 md:px-6",children:(0,t.jsx)(a.motion.div,{variants:{animate:{transition:{staggerChildren:.04}}},initial:"initial",animate:"animate",children:(0,t.jsxs)("div",{className:"mt-4 lg:grid lg:grid-cols-[minmax(0,1fr)_auto] lg:items-start lg:gap-4",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[F&&(0,t.jsx)(a.motion.div,{variants:j.staggerChild,className:"lg:flex lg:flex-1 lg:items-stretch",children:(0,t.jsx)(eh,{event:c,onClick:()=>p.push(`/events/${c.slug}`)})}),(0,t.jsx)(a.motion.div,{variants:j.staggerChild,children:(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(em,{tagsWithCounts:u,neighbourhoodCounts:I,eventCounts:d})})}),q?(0,t.jsx)("div",{className:"rounded-lg border border-neutral-200 p-6 text-center",children:(0,t.jsx)("p",{className:"font-transport-new text-[14px] font-medium text-neutral-500",children:"No events match those filters right now. Try widening your search."})}):(0,t.jsx)(E,{events:h,dayKeys:H,todayKey:l,onEventClick:_,highlightedEventId:M,pinnedEventId:O,expandedEventId:S}),(0,t.jsx)("div",{ref:K,"aria-hidden":"true",className:"h-px"}),N&&(0,t.jsx)("p",{className:"font-transport-new text-center text-[12px] font-medium text-neutral-400",children:"Loading more days…"})]}),(0,t.jsx)(a.motion.div,{variants:j.staggerChild,className:"hidden lg:block",children:(0,t.jsx)("div",{className:"w-fit roun
1ded-xl border border-neutral-200 bg-white p-4 pt-2.5 shadow-[0_12px_32px_-16px_rgba(1,33,105,0.18)]",children:(0,t.jsx)(Q,{eventCounts:d,months:1})})})]})})})})]})}],340807)},354698,e=>{"use strict";var t=e.i(843476),n=e.i(846932),r=e.i(682565);e.s(["EventsPageHeader",0,function(){return(0,t.jsxs)("div",{className:"mx-auto max-w-341.5 px-4 pt-4 md:px-6 md:pt-6",children:[(0,t.jsxs)(n.motion.div,{variants:{animate:{transition:{staggerChildren:.04}}},initial:"initial",animate:"animate",children:[(0,t.jsx)(n.motion.h1,{variants:r.staggerChild,className:"font-transport-new text-[clamp(1.75rem,3vw,2.5rem)] font-black tracking-[-0.02em] text-[#012169]",children:"Events"}),(0,t.jsx)(n.motion.p,{variants:r.staggerChild,className:"font-transport-new mt-1 text-[15px] font-light tracking-[0.01em] text-neutral-500",children:"What's happening in London's tech scene"})]}),(0,t.jsx)("div",{className:"mt-4 border-b border-neutral-200"})]})}])}]);

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.