PageSourceSearch

https://circle21.events/_next/static/chunks/pages/404-b210d4bccfca5d39.js

js circle21.events collected 2026-09-24 12:16:25 UTC 2,048 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2197],{89474:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/404",function(){return n(89484)}])},89484:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Custom404}});var r=n(11527),i=n(96600),o=n(50959),u=n(62585),c=n(50455),l=n(86507),s=n(88901),a=n(50951),f=n(59342);function Custom404(){let{query:e,asPath:t,replace:n}=(0,i.useRouter)(),{loginStatus:g}=(0,f.HP)(e=>e),[h,p]=(0,o.useState)(null),[d,x]=(0,o.useState)(null),[m,v]=(0,o.useState)(!0),_=(0,o.useRef)(!1);return((0,o.useEffect)(()=>{let checkIfEventOrGroupSlug=async()=>{if("first-time-checking"===g||_.current)return;let r=t.split("?")[0],i=r.split("/").filter(Boolean);if(3===i.length&&"events"===i[0]&&"group"===i[1]){let e=i[2];_.current=!0;try{let t=await a.x1.get("/api/competition-groups/slug/".concat(e));if(200===t.status){n("/events/group/".concat(e));return}}catch(e){v(!1);return}}let o=i[0];if(!o||s.RESERVED_ROUTES.includes(o)){v(!1),"unpublished-event"===e.reason&&(x("Looks like this event isn't live yet."),p("Feel free to get in touch with the organiser for more info."));return}_.current=!0;try{let e=await a.x1.get("/api/competition/slug/".concat(o));200===e.status?n("/".concat(o)):v(!1)}catch(e){v(!1)}};checkIfEventOrGroupSlug()},[t,e.reason,n,g]),m)?(0,r.jsx)(l.B,{isLoading:!0}):(0,r.jsx)(u.Z,{display:"flex",alignItems:"center",justifyContent:"center",height:"60vh",textAlign:"left",padding:"1rem",children:(0,r.jsxs)(u.Z,{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem",fontSize:"1.1rem",margin:"0 24px",children:[(0,r.jsx)(c.Z,{variant:"body1",fontSize:"16px",margin:"0",color:"var(--color-neutral300)",children:"404"}),d&&(0,r.jsx)(c.Z,{variant:"h1",fontSize:"2rem",fontWeight:"400",textAlign:"center",children:d}),(0,r.jsx)(c.Z,{variant:"body1",fontSize:"16px",margin:"0",textAlign:"center",color:"var(--color-neutral300)",children:h||"Page Not Found"})]})})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=89474)}),_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.