PageSourceSearch

https://www.tabletop-herald.com/_next/static/chunks/pages/league-8bc4126cf805b56a.js

js tabletop-herald.com collected 2026-09-24 13:40:26 UTC 5,461 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3199],{46587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>r,default:()=>s.default});var s=n(97236),r=!0},89236:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var s=n(86058),r=n(78440);let i=e=>{let{gameSystems:t}=(0,r.gf)(),{data:n,isLoading:i}=(0,s.I)({queryKey:["gameSystemVersions",e],queryFn:async()=>(await t.getVersions(e)).data});return{versions:n??[],isLoading:i}}},92327:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/league",function(){return n(46587)}])},97236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>X});var s=n(28019),r=n(69806),i=n(72068),l=n(42521),o=n(62830),a=n(94794),c=n(17521),d=n(42293),x=n(41718),h=n.n(x),m=n(19157),j=n.n(m),u=n(88292),A=n(95166),p=n(47451),y=n(83369),g=n(56522),v=n(17427),f=n(19639),b=n(76442),_=n(17671),S=n(96663),k=n(16524),w=n(68669),M=n(67450),N=n(59115),E=n(93312);function V({markdown:e}){return(0,s.jsx)(N.$,{remarkPlugins:[E.A],components:{a:({href:e,title:t,children:n})=>(0,s.jsx)(l.A,{href:e||"#",underline:"hover",color:"primary",component:j(),title:t,target:"_blank",children:n}),p:({children:e})=>(0,s.jsx)(c.A,{sx:{mt:1},children:e}),del:({children:e})=>(0,s.jsx)(c.A,{sx:{mt:1,textDecoration:"line-through"},children:e}),em:({children:e})=>(0,s.jsx)(c.A,{sx:{mt:1,fontStyle:"italic"},component:"em",children:e}),strong:({children:e})=>(0,s.jsx)(c.A,{sx:{mt:1,fontWeight:"bold"},component:"strong",children:e}),b:({children:e})=>(0,s.jsx)(c.A,{sx:{mt:1,fontWeight:"bold"},component:"b",children:e}),h1:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h4",component:"h2",children:e}),h2:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h5",component:"h2",children:e}),h3:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h6",component:"h3",children:e}),h4:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h6",component:"h4",children:e}),h5:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h6",component:"h5",children:e}),h6:({children:e})=>(0,s.jsx)(c.A,{gutterBottom:!0,sx:{mt:2},variant:"h6",component:"h6",children:e}),table:({children:e})=>(0,s.jsx)(w.A,{component:b.A,sx:{mt:2},children:(0,s.jsx)(_.A,{size:"small",children:e})}),tbody:({children:e})=>(0,s.jsx)(S.A,{children:e}),tr:({children:e})=>(0,s.jsx)(M.A,{children:e}),td:({children:e})=>(0,s.jsx)(k.A,{children:(0,s.jsx)(c.A,{children:e})}),ol:({children:e})=>(0,s.jsx)(g.A,{component:"ol",sx:{listStyleType:"decimal",mt:2,pl:2,"& .MuiListItem-root":{display:"list-item"}},children:e}),ul:({children:e})=>(0,s.jsx)(g.A,{sx:{listStyleType:"disc",mt:2,pl:2,"& .MuiListItem-root":{display:"list-item"}},children:e}),li:({children:e})=>(0,s.jsx)(v.Ay,{sx:{m:0,p:0,ml:2},disableGutters:!0,children:(0,s.jsx)(f.A,{sx:{pl:.25},children:e})}),code:({children:e})=>(0,s.jsx)("code",{children:String(e).replace(/\n$/,"")})},children:e})}var B=n(33417),I=n(70840),P=n(13115),T=n(54100);let W=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.F,{}),(0,s.jsx)(I.s,{}),(0,s.jsx)(T.Z,{})]});var G=n(26244),D=n(31183),F=n(92208),$=n(77188),q=n(75504),C=n(71400),L=n(89236),R=n(98837);let z=(0,a.Ay)(i.A)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(.5)})),O=()=>{let e=(0,d.A)(e=>e.breakpoints.down("md")),{t,lang:n}=(0,A.A)("tournament"),r=(0,u.useRouter)(),[{tournament:a,error:x}]=(0,R.Nv)(),{versions:m}=(0,L.M)(a?.gameSystem??"WARHAMMER_40000"),g=(0,p.useMemo)(()=>{if(!a||!(0,C.v8)(a)||!a.gameSystemVersion)return;let e=m.find(e=>e.id===a.gameSystemVersion);return e?.displayName??a.gameSystemVersion},[m,a]);if((0,p.useEffect)(()=>{x&&(0,q.ew)(r)},[x,r]),!a)return(0,s.jsx)(c.A,{variant:"body1",children:"Loading..."});let{startDate:v,endDate:f,location:b}=a,_=(0,$.I)(b,n),S=(0,C.v8)(a)?a.description?.trim():void 0,k=v&&f&&!h()(v).isSame(h()(f),"day");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(G.V,{tournament:a}),(0,s.jsxs)(i.A,{marginTop:1,display:"flex",justifyContent:"stretch",flexDirection:"column",rowGap:2,children:[(0,s.jsx)(B.a,{children:(0,s.jsx)(W,{})}),(0,s.jsxs)(o.A,{spacing:2,children:[v&&(0,s.jsxs)(z,{children:[(0,s.jsxs)(c.A,{variant:"subtitle1",color:"text.secondary",children:[t("details.date"),":"]}),(0,s.jsxs)(i.A,{display:"flex",flexDirection:e?"column":"row",alignItems:e?"flex-start":"center",columnGap:1,children:[(0,s.jsx)(c.A,{variant:"body1",children:k&&f?`${(0,D.yW)(v,n)} - ${(0,D.yW)(f,n)}`:(0,D.yW)(v,n)}),(0,s.jsx)(y.M,{tournament:a})]})]}),_&&(0,s.jsxs)(z,{children:[(0,s.jsxs)(c.A,{variant:"subtitle1",color:"text.secondary",children:[t("details.location"),":"]}),(0,s.jsx)(i.A,{children:(0,s.jsx)(l.A,{component:j(),variant:"body1",target:"_blank",underline:"hover",href:(0,F.qG)(b),
1children:_})})]}),g&&(0,s.jsxs)(z,{children:[(0,s.jsxs)(c.A,{variant:"subtitle1",color:"text.secondary",children:[t("details.gameSystemVersion"),":"]}),(0,s.jsx)(c.A,{variant:"body1",children:g})]}),(0,C.v8)(a)&&a.ticketPrice&&(0,s.jsxs)(z,{children:[(0,s.jsxs)(c.A,{variant:"subtitle1",color:"text.secondary",children:[t("details.ticketPrice"),":"]}),(0,s.jsx)(c.A,{variant:"body1",children:a.ticketPrice})]}),S&&(0,s.jsxs)(z,{sx:{marginTop:1},children:[(0,s.jsxs)(c.A,{variant:"h3",fontSize:16,color:"text.secondary",children:[t("details.eventInfo"),":"]}),(0,s.jsx)(V,{markdown:S})]})]})]})]})},X=()=>(0,s.jsx)(r.y,{children:(0,s.jsx)(O,{})})}},e=>{e.O(0,[8750,1685,1629,7563,1102,8231,2570,636,6593,8792],()=>e(e.s=92327)),_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.