PageSourceSearch

https://eventpulse-devs.web.app/assets/ShortUrlRedirect-DFTKoQQh.js

js eventpulse-devs.web.app collected 2026-10-03 12:22:46 UTC 1,122 bytes, 1 lines download raw bytes

1import{j as s,F as i,C as n}from"./index-B4Fbz1N8.js";import{b as o,u as l,r as c}from"./vendor-react-DPmWmpvI.js";import{L as u}from"./vendor-ui-DBK2XfYL.js";import"./vendor-canvas-B-q-NmKy.js";import"./vendor-pdf-xZJ_zfOo.js";const h=()=>{const{code:t}=o(),e=l();return c.useEffect(()=>{if(!t){e("/",{replace:!0});return}(async()=>{try{const{data:a}=await i.getAll(n.EVENT_SHORT_URLS,[{field:"code",operator:"==",value:t}]);if(a&&a.length>0)return e(`/events/${a[0].eventSlug}`,{replace:!0});const{data:r}=await i.getAll(n.EVENTS,[{field:"shortCode",operator:"==",value:t}]);if(r&&r.length>0&&r[0].slug)return e(`/events/${r[0].slug}`,{replace:!0});e("/",{replace:!0})}catch{e("/",{replace:!0})}})()},[t,e]),s.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100vh",gap:"1rem",color:"hsl(var(--text-muted))"},children:[s.jsx(u,{size:32,style:{animation:"spin 0.8s linear infinite"}}),s.jsx("span",{style:{fontSize:"0.9rem"},children:"Redirecting…"}),s.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"})]})};export{h as default};

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.