1import{j as e}from"./vendor-motion-hRg_q8lq.js";import{L as P,u as N,v as _,N as A,b7 as $,o as Y,d as j,Q as te,ao as ae,b as se,ce as re,cf as ne,H as le}from"./index-BKzE8EQ8.js";import{r as g}from"./vendor-react-E98sgxjj.js";import{q as I,u as C,k as B,b as z}from"./vendor-query-bOUN_gKe.js";import{a as x,b as oe,c as ie,i as D,M as ce,j as de,k as me,C as H}from"./MarketplaceSkeletons-DX_hq4ax.js";import{M as ue}from"./MediaImage-DKgx-nW4.js";import{S as pe,h as fe}from"./GameRow-BewUztqS.js";import{du as T}from"./vendor-fa-Bn2dnpnC.js";import{G as xe}from"./GamePreviewPane-AtglE-1J.js";import{u as ge}from"./useIsStaff-DZf24Ivp.js";import"./FeaturedCard-CyVcJ61O.js";import{G as he}from"./GameGrid-DDIfZYbN.js";import{P as ye,p as be}from"./playingNowApi-CB_pr25U.js";import{P as Q}from"./usePlayingNow-D0BSBy1C.js";import{u as je,b as ke}from"./marketplaceMe-C31_JRd_.js";import"./DashboardLayout-CkgbJsW1.js";import"./useLocaleNavigate-BNriJdRU.js";import"./SidebarContext-BL6EZ3Xi.js";import"./Avatar-B60wpoS5.js";import"./Tooltip-C8AvPGtA.js";import"./SiteBanner-DKwegxEe.js";import"./index-BxtVm1Yj.js";import"./exploreHandoff-RQymaHkp.js";import"./AuthShell-DPeun0C_.js";import"./AuthPanel-B4zt6SJ5.js";import"./pendingReferral-B4JPXhl_.js";import"./LaunchPromoClips-eRoWsyBt.js";import"./index-i1nPji9k.js";import"./paywall-CG7xVZtx.js";import"./plans-CbMJY2XS.js";import"./pricingExperiments-zMZby8z7.js";import"./organization-BuGhuc22.js";import"./useDevModelsVisible-BHgONHQI.js";import"./LandingFooter-DjCjfhwD.js";import"./UserAvatarMenu-BoKKInby.js";import"./tabBarStore-624ukDKJ.js";import"./socialLinks-DmmZmq5v.js";
1import"./useMarketplaceTaxonomy-NDNAXXOe.js";import"./BadgeRow-Dfwgl-tB.js";import"./PlayingNowBadge-CH2HUoBo.js";import"./MediaVideo-CBR0-TKg.js";import"./index-DtA29OOy.js";function Ne({imageDesktop:s,imageMobile:t,alt:a,eyebrow:r,headline:o,subtitle:l,ctaLabel:d,onClick:n,to:b,href:i,className:y=""}){const p=!!(o||l||d),m=e.jsxs(e.Fragment,{children:[e.jsx(ue,{sources:[t],art:[{media:"(min-width: 768px)",source:s}],alt:a,layout:"inline",width:1300,sizes:"(min-width: 1364px) 1300px, 100vw",priority:!0,className:"w-full h-auto block transition-opacity duration-200 group-hover:opacity-95"}),p&&e.jsxs("div",{className:"absolute inset-0 flex flex-col justify-center gap-2 p-6 md:p-10 bg-gradient-to-r from-black/55 via-black/20 to-transparent",children:[r&&e.jsx("span",{className:"text-tag-sm uppercase text-white/70",children:r}),o&&e.jsx("span",{className:"text-h3-sm md:text-h3 text-white max-w-[60%]",children:o}),l&&e.jsx("span",{className:"text-base text-white/80 max-w-[55%] hidden sm:block",children:l}),d&&e.jsx("span",{className:"mt-2 inline-flex w-fit items-center h-9 px-4 rounded-md bg-foreground text-background text-sm group-hover:opacity-90 transition-opacity",children:d})]})]}),u="relative block w-full overflow-hidden rounded-md border border-border hover:border-border-hover transition-colors cursor-pointer group text-left";return e.jsx("section",{className:y,children:b?e.jsx(P,{to:b,className:u,"aria-label":a,children:m}):i?e.jsx("a",{href:i,className:u,"aria-label":a,target:"_blank",rel:"noreferrer",children:m}):e.jsx("button",{type:"button",onClick:n,className:`${u} w-full`,"aria-label":a,children:m})})}const ve=[{i18nKey:"shortcuts.newGames",fallback:"New Games",href:"/play/section/new",trackKey:"new_games"},{i18nKey:"shortcuts.topBuilders",fallback:"Top Builders",href:"/play/section/top",trackKey:"top_builders"},{i18nKey:"shortcuts.freeGames",fallback:"Free Games",href:"/play/section/free",trackKey:"free_games"},{i18nKey:"shortcuts.popularity",fallback:"Popularity",href:"/play/section/popular",trackKey:"popularity"}],_e=g.memo(function(){const{t}=N("marketplace");return e.jsxs("section",{"aria-label":t("shortcuts.label",{defaultValue:"Browse Tesana"}),children:[e.jsx(pe,{title:t("shortcuts.heading",{defaultValue:"Browse Tesana"})}),e.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3",children:ve.map(a=>e.jsx(P,{to:a.href,onClick:()=>_("rail_card_click",{rail_key:"browse_shortcuts",shortcut:a.trackKey}),className:"flex items-center justify-center h-[72px] rounded-md border border-white/20 bg-gradient-to-br from-white to-neutral-400 text-neutral-900 hover:opacity-90 transition-opacity",children:e.jsx("span",{className:"text-lg font-semibold tracking-tight uppercase",children:t(a.i18nKey,{defaultValue:a.fallback})})},a.trackKey))})]})}),we=s=>I({queryKey:["marketplace-home",s?"auth":"anon","slim"],queryFn:()=>A.getHome({per_rail:12,slim:1}),staleTime:5*60*1e3}),X=(s,t=10)=>I({queryKey:["marketplace-detailed",s],queryFn:()=>A.getCharts({metric:s,limit:t}),staleTime:5*60*1e3});function Se(s){return(t,a)=>$(a)?!1:typeof s=="number"?t<s:typeof s=="boolean"?s:typeof s=="function"?!!s(t,a):t<3}const Z=s=>I({queryKey:["marketplace-open-lobbies"],queryFn:()=>A.listOpenLobbies(),staleTime:60*1e3,retry:Se(s),retryOnMount:!1}),J=()=>I({queryKey:["marketplace-total-count"],queryFn:()=>A.search({page_size:1}),staleTime:30*60*1e3});function Ce({current:s,max:t}){return e.jsx("div",{className:"flex items-center gap-1","aria-hidden":!0,children:Array.from({length:t},(a,r)=>e.jsx("span",{className:j("h-2 w-2 rounded-full border",r<s?"bg-emerald-400 border-emerald-400":"border-border bg-transparent")},r))})}const Pe=g.memo(function({lobby:t,selected:a=!1,onSelect:r}){const{t:o}=N("marketplace"),l=Y({engine_game_name:t.engine_game_name}),d=`/play/${t.game_public_id}?online=1`;return e.jsx("li",{children:e.jsxs(P,{to:d,onMouseEnter:r,onFocus:r,className:j("grid grid-cols-[72px_1fr_auto] md:grid-cols-[88px_1fr_auto] gap-3 md:gap-4 items-center px-3 md:px-4 py-3 border-b border-border transition-colors",a?"bg-foreground
1/6":"hover:bg-foreground/4"),children:[e.jsx("div",{className:"aspect-[4/5] rounded-md overflow-hidden bg-secondary shrink-0",children:l?e.jsx("img",{src:l,alt:"",className:"h-full w-full object-cover",loading:"lazy"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center text-muted-foreground",children:e.jsx(T,{icon:["far","gamepad"]})})}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("p",{className:"text-base text-foreground truncate",children:t.game_name}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-emerald-500/15 px-2 py-0.5 text-[11px] font-medium uppercase tracking-wide text-emerald-300",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-400 animate-pulse"}),o("lobbies.live",{defaultValue:"Live"})]})]}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground truncate",children:o("lobbies.openSession",{defaultValue:"{{current}}/{{max}} players on dedicated server",current:t.players,max:t.max_players})}),e.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[e.jsx(Ce,{current:t.players,max:t.max_players}),e.jsx("span",{className:"text-xs text-muted-foreground",children:o("lobbies.players",{defaultValue:"{{current}}/{{max}} players",current:t.players,max:t.max_players})})]})]}),e.jsx("div",{className:"flex flex-col items-end gap-2 shrink-0",children:e.jsxs("span",{className:"inline-flex h-9 items-center justify-center gap-2 rounded-md bg-foreground px-4 text-sm text-background",children:[e.jsx(T,{icon:["fas","play"],className:"text-xs"}),o("lobbies.play",{defaultValue:"Play"})]})})]})})}),Le=g.memo(function({lobby:t}){const{t:a}=N("marketplace"),r=Y({engine_game_name:t.engine_game_name}),o=`/play/${t.game_public_id}?online=1`,l=te({id:0,slug:t.game_slug,public_id:t.game_public_id});return e.jsxs("div",{className:"rounded-md bg-card border border-border overflow-hidden flex flex-col",children:[e.jsxs("a",{href:l.href,onClick:l.onClick,tabIndex:-1,"aria-hidden":!0,className:"block aspect-video bg-secondary relative overflow-hidden",children:[r?e.jsx("img",{src:r,alt:"",className:"w-full h-full object-cover",loading:"lazy"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center text-muted-foreground",children:e.jsx(T,{icon:["far","gamepad"],className:"text-2xl"})}),e.jsxs("div",{className:"absolute top-2 left-2 z-10 inline-flex items-center gap-1 rounded-full bg-black/55 px-2.5 py-1 text-[11px] font-medium uppercase tracking-wide text-emerald-300",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-400 animate-pulse"}),a("lobbies.live",{defaultValue:"Live"})]})]}),e.jsxs("div",{className:"p-4 flex flex-col gap-3",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-lg-sm md:text-lg text-foreground truncate",children:t.game_name}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:a("lobbies.previewSubtitle",{defaultValue:"{{current}} of {{max}} players â pick a lobby in-game",current:t.players,max:t.max_players})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(P,{to:o,className:"inline-flex items-center justify-center gap-2 h-9 px-4 rounded-md bg-foreground text-background text-sm hover:opacity-90 transition-opacity",children:[e.jsx(T,{icon:["fas","play"],className:"text-xs"}),a("lobbies.play",{defaultValue:"Play"})]}),e.jsx("a",{href:l.href,onClick:l.onClick,className:"inline-flex items-center justify-center h-9 px-4 rounded-md border border-border text-sm text-muted-foreground hover:text-foreground transition-colors",children:a("lobbies.viewGame",{defaultValue:"View game"})})]}),t.creator_username&&e.jsx("p",{className:"text-xs text-muted-foreground",children:a("lobbies.gameBy",{defaultValue:"Game by @{{username}}",username:t.creator_username})})]})]})}),F=[{value:"trending",metric:"trending",key:"detailed.tabs.trending",fallback:"New & Trending"},{value:"played",metric:"played",key:"detailed.tabs.played",fallback:"Top Games"},{value:"rated",metric:"rated",key:"detailed.tabs.rated",fallback:"Top Rated"},{value:"new",metric:"new",key:"detailed.tabs.new",fallback:"New Releases"}],O={value:"lobbies",key:"detailed.tabs.lobbies",fallback:"Lobbies"},U=10,Te=g.memo(function(){const{t}=N("marketplace"),a=ge(),[r,o]=g.useState("trending"),[l,d]=g.useState(null),[n,b]=g.useState(null),i=r==="lobbies",y=F.find(c=>c.value===r)??F[0],p=C({...X(y.metric,U),placeholderData:B,enabled:!i}),m=z(),u=C({...Z(m.getDefaultOptions().queries?.retry),staleTime:i?0:60*1e3,refetchInterval:i?3e3:!1}),v=$(u.error),f=v?[]:u.data??[],V=a||f.length>0||i,{data:R}=C({...J(),enabled:!i}),h=(p.data?.results??[]).map(c=>c.game),G=l&&h.find(c=>c.slug===l)||h[0]||null,E=n&&f.find(c=>c.session_id===n)||f[0]||null,k=i?u.isLoading:p.isLoading,q=i?u.isFetching:p.isFetching,w=i?u.isError&&!v:p.isError,M=i?!!u.data||v:!!p.data;return e.jsxs("section",{children:[e.jsx("div",{className:`${x}`,children:e.jsxs("div",{className:"flex items-end gap-1 overflow-x-auto overflow-y-hidden scrollbar-hide",children:[F.map(c=>{const ee=c.value===r;return e.jsx("button",{type:"button",onClick:()=>{o(c.value),d(null),b(null)},className:j("h-11 px-4 text-base whitespace-nowrap rounded-t-md transition-colors",ee?"bg-white/[0.04] text-foreground":"text-muted-foreground hover:text-foreground"),children:t(c.key,{defaultValue:c.fallback})},c.value)}),V&&e.jsxs("button",{type:"button",onClick:()=>{o(O.value),d(null),b(null)},className:j("h-11 px-4 text-base whitespace-nowrap rounded-t-md transition-colors inline-flex items-center gap-2",i?"bg-white/[0.04] text-foreground":"text-muted-foreground hover:text-foreground"),children:[t(O.key,{defaultValue:O.fallback}),!u.isLoading&&f.length>0&&e.jsx("span",{className:"inline-flex min-w-[1.25rem] items-center justify-center rounded-full bg-emerald-500/20 px-1.5 py-0.5 text-[11px] font-medium text-emerald-300",children:f.length})]})]})}),e.jsx("div",{className:"bg-white/[0.04]",children:e.jsx("div",{className:`${x} py-6 md:py-8`,children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_360px] gap-4 lg:gap-6",children:[e.jsxs("div",{className:"min-w-0",children:[k&&!M&&e.jsx(oe,{count:U}),w&&e.jsx("p",{className:"text-base text-muted-foreground py-8 text-center",children:i?t("lobbies.error",{defaultValue:"Could not load open lobbies right now."}):t("detailed.error",{defaultValue:"Could not load this list right now."})}),!i&&!k&&!w&&h.length===0&&e.jsx("p",{className:"text-base text-muted-foreground py-8 text-center",children:t("detailed.empty",{defaultValue:"Nothing to show on this tab yet."})}),i&&!k&&!w&&f.length===0&&e.jsx("p",{className:"text-base text-muted-foreground py-8 text-center",children:t("lobbies.emptyBody",{defaultValue:"No rooms are open right now. Start one from a game page."})}),!i&&e.jsx("ul",{className:j("flex flex-col transition-opacity",q&&"opacity-60"),children:h.map(c=>e.jsx(ie,{game:c,selected:G?.id===c.id,onSelect:()=>d(c.slug??null)},c.id))}),i&&f.length>0&&e.jsx("ul",{className:j("flex flex-col transition-opacity",q&&"opacity-60"),children:f.map(c=>e.jsx(Pe,{lobby:c,selected:E?.session_id===c.session_id,onSelect:()=>b(c.session_id)},`${c.game_slug}-${c.session_id}`))}),!i&&!k&&!w&&h.length>0&&e.jsxs("div",{className:"mt-4 border-y border-border py-3 flex flex-col md:flex-row items-start md:items-center justify-between gap-3",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:t("detailed.showing",{defaultValue:"Showing {{count}} of {{total}}
1 results",count:h.length,total:(R?.count??h.length).toLocaleString()})}),e.jsx(P,{to:`/play/charts?metric=${y.metric}`,className:"inline-flex items-center h-9 px-3 rounded-md bg-foreground/6 hover:bg-foreground/10 text-sm text-muted-foreground hover:text-foreground transition-colors",onClick:()=>_("rail_see_all_clicked",{rail_key:"detailed_list"}),children:t("detailed.seeAllNamed",{defaultValue:"See all {{name}}",name:t(y.key,{defaultValue:y.fallback})})})]}),i&&!k&&!w&&f.length>0&&e.jsx("div",{className:"mt-4 border-y border-border py-3",children:e.jsx("span",{className:"text-sm text-muted-foreground",children:t("lobbies.showing",{defaultValue:"{{count}} open sessions",count:f.length})})})]}),e.jsxs("aside",{className:"hidden lg:block self-start lg:sticky lg:top-6",children:[!i&&(G?e.jsx(xe,{game:G}):k&&!M&&e.jsx(D,{})),i&&(E?e.jsx(Le,{lobby:E}):k&&!M&&e.jsx(D,{}))]})]})})})]})}),Ae=g.memo(function({onSignIn:t,onSignUp:a}){const{t:r}=N("marketplace"),o=()=>{_("marketplace_signup_funnel",{step:"callout_sign_up"}),(a||t)()},l=()=>{_("marketplace_signup_funnel",{step:"callout_sign_in"}),t()};return e.jsxs("section",{className:"rounded-md border border-border bg-card px-6 py-10 flex flex-col items-center text-center",children:[e.jsx("h2",{className:"text-lg-sm md:text-lg text-foreground",children:r("signInCallout.headline",{defaultValue:"Sign up to create your own games"})}),e.jsxs("div",{className:"mt-4 flex items-center gap-2",children:[e.jsx("button",{type:"button",onClick:o,className:"inline-flex items-center justify-center h-9 px-4 rounded-md bg-foreground text-background text-sm hover:opacity-90 transition-opacity cursor-pointer",children:r("signInCallout.create",{defaultValue:"Create account for free"})}),e.jsx("button",{type:"button",onClick:l,className:"inline-flex items-center justify-center h-9 px-4 rounded-md bg-foreground
1/6 text-foreground text-sm hover:bg-foreground/10 transition-colors cursor-pointer",children:r("signInCallout.logIn",{defaultValue:"Log in"})})]}),e.jsx("p",{className:"mt-4 text-base text-muted-foreground max-w-[340px]",children:r("signInCallout.subtitle",{defaultValue:"Build your games by chatting with AI and earn money on people playing your games."})})]})}),Ie=Object.freeze({});function Ve(s,t=ye){const a=[];for(let r=0;r<s.length;r+=t)a.push(s.slice(r,r+t));return a}function Re(s,{enabled:t=!0}={}){const a=s.filter(Boolean).join(","),r=g.useMemo(()=>[...new Set(a?a.split(","):[])].sort(),[a]),{data:o}=C({queryKey:["playing-now-map",r.join(",")],queryFn:async()=>{const l=await Promise.all(Ve(r).map(n=>be.get(n))),d={};for(const n of r)d[n]=0;for(const n of l)Object.assign(d,n);return d},enabled:t&&r.length>0,refetchInterval:Q,staleTime:Q-5e3,placeholderData:B,retry:!1});return o??Ie}const Ge=3,Ee=12,Me=10,Fe=["continue_playing","from_creators_you_follow","for_you"];function S(s,t){const a=s.find(r=>r.key===t);return a&&a.games.length>0?a:null}function W(s,t){const a=new Set,r=[];for(const o of s)if(!(!o||a.has(o.id))&&(a.add(o.id),r.push(o),r.length===t))break;return r}function Oe(s,t){const a=s?.rails??[],r=S(a,"editor_choice"),o=s?.featured?.length?s.featured:[...(s?.hero??[]).flatMap(n=>n.game?[{...n.game,headline:n.headline,body:n.body,source:"editorial"}]:[]),...(r?.games??[]).map(n=>({...n,source:"editor_choice"}))],l=s?.staff_picks?.length?s.staff_picks:S(a,"staff_pick")?.games??S(a,"staff_picks")?.games??[],d=Fe.map(n=>S(a,n)).filter(n=>!!n);return{featured:W(o,Ge),staffPicks:W(l,Ee),continueRail:t?d[0]??null:null,topWeekRail:S(a,"trending"),editorsRail:r,categoryRails:a.filter(n=>n.key.startsWith("category_")&&n.games.length>0)}}function Ke(s){const t=[...s.featured,...s.staffPicks,...s.continueRail?.games??[],...s.topWeekRail?.games??[],...s.editorsRail?.games??[],...s.categoryRails.flatMap(a=>a.games)];return[...new Set(t.map(a=>a.public_id).filter(a=>!!a))]}const Be="gap-12 md:gap-16";function K(s){return(t,a)=>_("rail_card_click",{rail_key:s,game_id:t.id,game_slug:t.slug,position:a})}function L({rail:s,title:t,playingNow:a}){return e.jsx(fe,{title:t,seeAllHref:s.see_all_url||null,games:s.games,playingNow:a,onGameClick:K(s.key)})}function Tt(){const s=ae(),{t}=N("marketplace"),{t:a}=N("revamp"),{isAuthenticated:r}=se(),{open:o}=re(),{promo:l}=ne("marketplace"),d=z(),{data:n,isLoading:b,isError:i}=C({...we(r),placeholderData:B}),y=je(),p=g.useMemo(()=>n&&ke(n,y),[n,y]);g.useEffect(()=>{_("marketplace_view",{surface:"home"})},[]),g.useEffect(()=>{d.prefetchQuery(X("trending")),d.prefetchQuery(J()),d.prefetchQuery(Z(d.getDefaultOptions().queries?.retry))},[d]);const m=g.useMemo(()=>Oe(p,r),[p,r]),u=Re(Ke(m)),v=t("home.title",{defaultValue:"Play free games | Tesana"}),f=t("home.metaDescription",{defaultValue:"Discover, play, and support indie games made with AI on Tesana. Editor's picks, trending games, hidden gems, and more."});return e.jsx(ce,{children:({onAuthRequired:V,topPad:R})=>e.jsxs("div",{className:R,children:[e.jsxs(le,{children:[e.jsx("title",{children:v}),e.jsx("meta",{name:"description",content:f}),typeof window>"u"?"":e.jsx("link",{rel:"canonical",href:s}),e.jsx("meta",{property:"og:title",content:v}),e.jsx("meta",{property:"og:description",content:f}),e.jsx("meta",{property:"og:url",content:s})]}),b&&!p&&e.jsx(de,{}),i&&!p&&e.jsx("div",{"data-prerender-error":"1",className:"flex flex-col items-center justify-center min-h-[40vh] text-center",children:e.jsx("p",{className:"text-base text-muted-foreground",children:t("home.error",{defaultValue:"Could not load games right now."})})}),p&&e.jsxs("div",{className:j("flex flex-col",Be),"data-play-home":!0,children:[!r&&l?.banner.desktop&&e.jsx("div",{className:x,"data-play-section":"promo",children:e.jsx(Ne,{imageDesktop:l.banner.desktop,imageMobile:l.banner.mobile??l.banner.desktop,alt:l.copy.bannerAlt??l.banner.alt,onClick:()=>o("banner",l.key)})}),m.featured.length>0&&e.jsx("div",{className:x,"data-play-section":"featured",children:e.jsx(me,{className:"max-md:-mb-2",title:a("play.featured"),games:m.featured,playingNow:u,onGameClick:K("play_featured")})}),p.categories.length>0&&e.jsx("div",{className:x,"data-play-section":"categories",children:e.jsx(H,{categories:p.categories,heading:a("play.browseByCategory"),variant:"section"})}),m.staffPicks.length>0&&e.jsx("div",{className:x,"data-play-section":"staff-picks",children:e.jsx(he,{title:a("play.staffPicks"),games:m.staffPicks,variant:"small",ph
1oneLimit:Me,playingNow:u,onGameClick:K("play_staff_picks")})}),r?m.continueRail&&e.jsx("div",{className:x,"data-play-section":"continue",children:e.jsx(L,{rail:m.continueRail,title:m.continueRail.key==="continue_playing"?a("play.continuePlaying"):m.continueRail.title,playingNow:u})}):e.jsx("div",{className:x,"data-play-section":"sign-in",children:e.jsx(Ae,{onSignIn:V})}),e.jsx("div",{className:x,"data-play-section":"browse",children:e.jsx(_e,{})}),m.topWeekRail&&e.jsx("div",{className:x,"data-play-section":"top-week",children:e.jsx(L,{rail:m.topWeekRail,title:a("play.topThisWeek"),playingNow:u})}),m.editorsRail&&e.jsx("div",{className:x,"data-play-section":"editors-choice",children:e.jsx(L,{rail:m.editorsRail,title:a("play.editorsChoice"),playingNow:u})}),e.jsx("div",{className:"md:my-4","data-play-section":"detailed",children:e.jsx(Te,{})}),m.categoryRails.map(h=>e.jsx("div",{className:x,"data-play-section":"category-rail",children:e.jsx(L,{rail:h,title:a("play.categoryRail",{name:h.title}),playingNow:u})},h.key)),p.categories.length>0&&e.jsx("div",{className:j(x,"max-md:hidden"),"data-play-section":"categories-again",children:e.jsx(H,{categories:p.categories,heading:a("play.browseByCategory"),variant:"section"})})]})]})})}export{Tt 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.