PageSourceSearch

https://maxroll.gg/assets/seasonal-topics-widget-ADBiGUIX.js

js maxroll.gg collected 2026-10-02 15:20:46 UTC 1,152 bytes, 1 lines download raw bytes

1import{r as u,j as s}from"./jsx-runtime-CDnd_NX6.js";import{B as j,d as g}from"./index-06f2a400-DbUgGlFd.js";import"./index--4zewOuh.js";import{c as N}from"./index-Cad1Gzic.js";import{u as P}from"./context-BAreFtS0.js";import{p as v}from"./util-H9BAXEk6.js";const o=4;function B({title:d,posts:a,accentColor:m,className:f}){var c;const{branchSettings:r,siteInfo:p}=P(),l=a.slice(1),x=Math.floor(l.length/o)+(l.length%o===0?0:1),[e,n]=u.useState(1),t=v(r==null?void 0:r.active_season,p.short);return a.length>0?s.jsxs("div",{className:N("flex flex-col gap-6",f),children:[s.jsx(j,{title:d,accentColor:m,showPager:!0,onPrev:e>1?()=>n(e-1):void 0,onNext:e<x?()=>n(e+1):void 0}),!!a.length&&s.jsxs("div",{className:"flex flex-col gap-4 md:flex-row",children:[s.jsx(g,{className:"basis-[56%]",post:a[0],tag:(c=a[0].tags)!=null&&c.some(i=>i.slug==="blue-post")?{children:"Official",tagStyle:"highlighted2",tagColor:"blue"}:t?{children:t,tagColor:"green"}:void 0}),s.jsx("div",{className:"grid basis-[44%] grid-cols-2 gap-4",children:l.slice((e-1)*o,e*o).map((i,h)=>s.jsx(g,{post:i,tag:t?{children:t,tagColor:"green"}:void 0},h))})]})]}):null}export{B as S};

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.