PageSourceSearch

https://edgemxtiming.com/assets/FeedTab-DFHF1Ywr.js

js edgemxtiming.com collected 2026-10-02 01:30:56 UTC 2,640 bytes, 1 lines download raw bytes

1import{K as x,bo as f,bp as h,j as s,_ as j}from"./index-Ct8eLu1I.js";import{u as y}from"./useOrganizationSlug-Im1jCHRI.js";import{u as g,P as N}from"./PublicPostCard-DpH8PYAh.js";import{u as v,d as b}from"./useRaceFeedComments-DP5lK-7N.js";import{M as k}from"./megaphone-EgNztnZk.js";import{E as R}from"./external-link-Jsfrs_aE.js";import"./PostComments-W5orljD5.js";import"./thumbs-up-CrpZt3t6.js";import"./thumbs-down-ChN-DmeG.js";import"./textarea-ZX0L5GAv.js";import"./avatar-B8AgHX-V.js";import"./index-CJLyLLo7.js";import"./send-BmfKE8XA.js";import"./pen-cK6y1lt9.js";import"./trash-2-LxvlgA12.js";import"./eye-BX6Kc3UM.js";import"./eye-off-D8k5J7Ic.js";import"./formatDistanceToNow-nzxXZqmT.js";import"./en-US-CGO0aXMi.js";import"./differenceInCalendarMonths-D2gXU8RP.js";import"./endOfMonth--R-WtYph.js";import"./differenceInMilliseconds-CVPzdaho.js";import"./pin-HivEzZZx.js";import"./facebook-DyrCiiOy.js";import"./copy-BLDCcnKG.js";import"./share-2-B_pwvqGV.js";import"./chevron-left-m_yK3qef.js";import"./sanitized-html-D_hDi9wu.js";import"./purify.es-C5KSVp3G.js";function ee(){const{orgSlug:o}=x(),{data:e,isLoading:a}=y(o),{branding:i}=f(),{data:m=[],isLoading:c}=g(e==null?void 0:e.id),{data:d={}}=v(e==null?void 0:e.id),{data:l={}}=b(e==null?void 0:e.id),{data:p=[]}=h(),n=p.some(t=>t.id===(e==null?void 0:e.id)&&(t.role==="admin"||t.role==="super_admin")),u=o?`/org/${o}/login`:"/auth";return s.jsxs("div",{className:"space-y-4 py-2",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold",children:[s.jsx(k,{className:"h-4 w-4"}),"Race Feed"]}),o&&s.jsxs("a",{href:`/org/${o}/feed`,className:"inline-flex items-center gap-1 text-xs text-primary hover:underline",children:["View on org page ",s.jsx(R,{className:"h-3 w-3"})]})]}),a||c?s.jsx("div",{className:"flex justify-center py-8",children:s.jsx(j,{className:"h-5 w-5 animate-spin text-primary"})}):m.length===0?s.jsx("div",{className:"rounded-md border bg-card p-8 text-center text-sm text-muted-foreground",children:"No posts yet. Check back soon for live race updates."}):s.jsx("div",{className:"space-y-4",children:m.map(t=>{const r=d[t.id];return s.jsx("div",{id:t.id,children:s.jsx(N,{post:{...t,orgSlug:o},orgName:e==null?void 0:e.name,logoUrl:(i==null?void 0:i.logo_url)||void 0,primaryColor:(i==null?void 0:i.primary_color)||void 0,likeCount:(r==null?void 0:r.like_count)??0,dislikeCount:(r==null?void 0:r.dislike_count)??0,commentCount:(r==null?void 0:r.comment_count)??0,myReaction:l[t.id]??null,loginUrl:u,canModerate:n})},t.id)})})]})}export{ee 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.