PageSourceSearch

https://tomato.gg/assets/patreon-BNuxa6Kb.js

js tomato.gg collected 2026-10-04 05:21:06 UTC 12,249 bytes, 1 lines download raw bytes

1import{f as _,aR as P,j as e,d as r,t as a,r as h,b as k,an as c,c as d,g as C,R as S,ae as T,ag as I,a_ as g,ad as N,ab as z,ai as A}from"./index-D6h6POgK.js";import{c as B}from"./LazyClient-0EXbxws4.js";import{P as u}from"./PatreonButton-CdHl4Um5.js";function R(){return P("api/patrons?cache=true")}function q(){return _({queryKey:["patreons"],queryFn:()=>R(),refetchOnWindowFocus:!1,refetchOnReconnect:!1,staleTime:1/0})}const F=[{title:"Personal statistics",features:["Personal tank statistics charts and custom recent-stat ranges.","Rolling averages: WN8 trends and detailed historical charts.","Personal credit earnings statistics.","Personal map statistics and map-specific battle lists.","Complete recorded map ban history for your own linked account. Current bans remain free to view.","Overall player and tank rankings."]},{title:"Battle analysis & Mod Insights",features:["Advanced battle analysis: shot maps, damage and survival charts, and players’ 60-day recent stats in battle results.","Advanced Mod Insights: matchmaking, performance after winning or losing streaks, session depth, consistency, team damage ranking, battle result distribution, hourly performance, survival time, and platoon vs. solo performance."]},{title:"Contacts",features:["Advanced contact insights: stat distributions, friends grouped by clan, activity analysis, and inactivity risk."]},{title:"Loadouts & the meta",features:["Unicum loadouts: equipment setups, crew skills, and field modification distributions.","Expanded Pro Loadouts: up to 10 loadouts instead of 1.","Expanded Meta Insights: up to 50 trend lines instead of 5."]},{title:"Filters & time ranges",features:["Tank Stats filters: custom rules based on stat values.","Top Battles filters and sorting: time, battle mode, map, server, platoon, spawn, result, sort metric, and direction.","Additional time ranges for Economics, Tank Performance, and Server Stats.","Server Stats filters: individual servers and tank selection for Weekly Battles Distribution.","Onslaught map filtering."]},{title:"Your Tomato.gg",features:["Ad-free browsing.","Custom site colors and profile backgrounds.","Supporter recognition: Patreon badge and supporter listing."]}],E=r.div.withConfig({displayName:"Features__Container",componentId:"sc-q23qq9-0"})(["width:100%;max-width:920px;display:flex;flex-direction:column;gap:24px;color:",";text-align:left;h3{margin:0;font-size:16px;font-weight:500;color:white;}ul{margin:0;padding-left:18px;}li + li{margin-top:8px;}p{margin:0;}"],a.gray1),L=r.div.withConfig({displayName:"Features__Tiers",componentId:"sc-q23qq9-1"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;article{padding:20px;border:1px solid ",";border-radius:10px;background:",";}article:first-child{border-top:2px solid ",";}.tier{color:",";font-size:12px;}h3{margin:6px 0 12px;}ul{margin-top:16px;}@media (max-width:760px){grid-template-columns:1fr;}"],a.darkgray1,a.darkgray4,a.primary1,a.gray4),W=r.div.withConfig({displayName:"Features__FeatureList",componentId:"sc-q23qq9-2"})(["border-top:1px solid ",";article{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid ",";}@media (max-width:600px){article{grid-template-columns:1fr;gap:12px;}}"],a.darkgray1,a.darkgray1),M=r.div.withConfig({displayName:"Features__ModBenefits",componentId:"sc-q23qq9-3"})(["padding:20px;border:1px solid ",";border-left:2px solid ",";border-radius:4px;background:",";ul{margin:16px 0;}strong{color:",";font-weight:500;}"],a.darkgray1,a.primary1,a.darkgray4,a.gray1);function G(){return e.jsxs(E,{children:[e.jsxs(L,{children:[e.jsxs("article",{children:[e.jsx("span",{className:"tier",children:"Tier 1"}),e.jsx("h3",{children:"Supporter"}),e.jsx("p",{children:"Ad-free browsing, deeper statistics, and more ways to analyze your game."}),e.jsxs("ul",{children:[e.jsx("li",{children:"All features listed below"}),e.jsx("li",{children:"Recent WN8, win rate, and additional stats in the in-game mod"}),e.jsx("li",{children:"Patreon badge and supporter listing"})]})]}),e.jsxs("article",{children:[e.jsx("span",{className:"tier",children:"Tier 2"}),e.jsx("h3",{children:"Big Supporter"}),e.jsx("p",{children:"Everything in Tier 1, including all in-game mod benefits, plus:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"Player heatmaps for all maps. Free users and Tier 1 get the first three maps in the list."}),e.jsx("li",{children:"API key management: generate and revoke keys for programmatic access to Tomato.gg data."}),e.jsx("li",{children:"Big Supporter recognition"})]})]}),e.jsxs("article",{children:[e.jsx("span",{className:"tier",children:"Tier 3"}),e.jsx("h3",{children:"Massive Supporter"}),e.jsx("p",{children:"Everything in Tier 2, including all in-game mod benefits, plus:"}),e.jsx("ul",{children:e.jsx("li",{children:"Massive Supporter recognition"})}),e.jsx("p",{style:{marginTop:16},children:"Give extra support to the continued development of Tomato.gg."})]})]}),e.jsx(W,{children:F.map(l=>e.jsxs("article",{children:[e.jsx("h3",{children:l.title}),e.jsx("ul",{children:l.features.map(s=>e.jsx("li",{children:s},s))})]}
1,l.title))}),e.jsxs(M,{children:[e.jsx("h3",{children:"Tomato.gg In-Game Mod"}),e.jsx("p",{style:{marginTop:8},children:"Included with every supporter tier."}),e.jsxs("ul",{children:[e.jsxs("li",{children:["Unlock ",e.jsx("strong",{children:"recent WN8 and win rate"})," in Basic and Advanced display modes."]}),e.jsx("li",{children:"Access additional recent stats in Advanced mode: battle count, average tier, damage per game, frags per battle, damage ratio, and kill/death ratio."})]}),e.jsx("p",{children:e.jsx("strong",{children:"Recent WNX is free for everyone."})})]})]})}const O=r.div.withConfig({displayName:"PatreonPage__ModGuideContainer",componentId:"sc-wkydz-0"})(["display:flex;justify-content:center;color:",";.inner{width:800px;margin-top:20px;}.supporters{width:1200px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;flex-direction:row;a{color:",";}a&:hover{color:white;}.section{display:flex;flex-direction:column;gap:8px;flex:1;.header{font-size:20px;padding:4px 8px;font-weight:500;}}}"],a.gray1,a.gray1),D=r.div.withConfig({displayName:"PatreonPage__PatreonContainer",componentId:"sc-wkydz-1"})(["display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:5vh;position:relative;.inner{z-index:10;display:flex;flex-direction:column;align-items:center;gap:20px;}"]),U=r.div.withConfig({displayName:"PatreonPage__CardContainer",componentId:"sc-wkydz-2"})(["display:flex;gap:15px;margin-bottom:20px;"]),m=r.h2.withConfig({displayName:"PatreonPage__SectionHeader",componentId:"sc-wkydz-3"})(["font-size:24px;font-weight:500;"]),H=r.h1.withConfig({displayName:"PatreonPage__Title",componentId:"sc-wkydz-4"})(["letter-spacing:-1px;font-size:40px;font-weight:700;color:white;line-height:0.8;"]),Y=r.h2.withConfig({displayName:"PatreonPage__Description",componentId:"sc-wkydz-5"})(["letter-spacing:-0.5px;font-size:16px;font-weight:500;color:",";"],a.gray3),K=r.div.withConfig({displayName:"PatreonPage__BenefitCard",componentId:"sc-wkydz-6"})(["width:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px;text-align:center;gap:10px;color:white;> :first-child{margin-bottom:10px;}.title{font-size:20px;font-weight:500;}.desc{color:",";}"],a.gray2),Q=r.span.withConfig({displayName:"PatreonPage__Activate",componentId:"sc-wkydz-7"})(["font-size:16px;font-weight:600;color:",";"],a.gray2),X=r.div.withConfig({displayName:"PatreonPage__Actions",componentId:"sc-wkydz-8"})(["display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:20px;"]),J=()=>{const l=N(),{data:s}=z.useSession();return s?e.jsxs("div",{children:["2."," ",e.jsx("a",{"aria-label":"Link your Patreon account",href:l,children:"Link your Patreon Account"})]}):e.jsx(A,{children:e.jsx("div",{style:{cursor:"not-allowed"},children:" 2. Link your Patreon Account"}),message:"You must be logged into your Tomato.gg Account!"})},V=B(()=>Promise.resolve(J)),Z=({region:l,supporters:s})=>e.jsxs("div",{className:"section",children:[e.jsx("h2",{style:{textAlign:"center"},children:l}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e.jsx("h3",{style:{fontWeight:500},children:"Massive Supporter"}),e.jsx("div",{style:{display:"flex",gap:8,alignItems:"center",justifyContent:"center",flexWrap:"wrap"},children:s.massive.map(i=>e.jsx(d,{style:{fontSize:14,padding:"4px 8px",color:a.gray3,borderRadius:10},"aria-label":i.wg_account_name,to:g(i.wg_account_id,i.wg_account_name),children:i.wg_account_name},i.wg_account_id))}),e.jsx("h3",{style:{fontWeight:500},children:"Big Supporter"}),e.jsx("div",{style:{display:"flex",gap:8,alignItems:"center",justifyContent:"center",flexWrap:"wrap"},children:s.big.map(i=>e.jsx(d,{style:{fontSize:14,padding:"4px 8px",color:a.gray3,borderRadius:10},"aria-label":i.wg_account_name,to:g(i.wg_account_id,i.wg_account_name),children:i.wg_account_name},i.wg_account_id))}),e.jsx("h3",{style:{fontWeight:500},children:"Supporter"}),e.jsx("div",{style:{display:"flex",gap:6,alignItems:"center",justifyContent:"center",flexWrap:"wrap"},children:s.normal.map(i=>e.jsx(d,{style:{fontSize:12,padding:"4px 8px",color:a.gray3,borderRadius:10},"aria-label":i.wg_account_name,to:g(i.wg_account_id,i.wg_account_name),children:i.wg_account_name},i.wg_account_id))})]})]}),x=({imgSrc:l,altText:s,title:i,desc:o})=>e.jsx(I,{children:e.jsxs(K,{children:[e.jsx("img",{loading:"lazy",decoding:"async",src:l,alt:s,height:60,width:60}),e.jsx("div",{className:"title",children:i}),e.jsx("div",{className:"desc",children:o})]})});function $(){const[l,s]=h.useState(!1),{data:i}=q(),o=i??[];h.useEffect(()=>{k("page-visit",{page:"patreon"})},[]);const f={Europe:{normal:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="eu"&&n==1),big:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="eu"&&n==2),massive:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="eu"&&n==3)},"North America":{normal:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="com"&&n==1),big:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="com"&&n==2),massive:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="com"&&n==3)},Asia:{normal:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="asia"&&n==1),big:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="asia"&&n==2),massive:o.filter(({wg_account_id:t,patreon_tier:n})=>c(t)==="asia"&&n==3)}},p=(t,n,y,j,w,v,b)=>e.jsx("img",{src:"/patreon/ellipse.svg",alt:"ellipse",height:t,width:n,style:{position:"absolute",top:y,left:j,right:w,zIndex:v,opacity:b}});return e.jsxs(O,{children:[e.jsxs(D,{children:[p(1300,1300,-800,-400,void 0,void 0,void 0),p(1500,1500,-200,void 0,-700,0,void 0),p(1600,1600,400,-800,void 0,0,.6),e.jsxs("div",{className:"inner",children:[e.jsx(H,{children:"Tomato.gg Premium "}),e.jsx(Y,{children:"Get access to member-only features and help keep the project going."}),e.jsxs(X,{children:[e.jsx(u,{}),e.jsx(Q,{children:"Activate your membership:"}),e.jsxs("div",{children:["1. ",e.jsx(d,{to:C({route:S.LOGIN}),children:"Create a Tomato.gg Account"})]}),e.jsx(V,{})]}),e.jsx(m,{children:"Why Support Tomato.gg?"}),e.jsxs(U,{children:[e.jsx(x,{imgSrc:"/worries/worryexcited.webp",altText:"worrycool",title:"Unlock Exclusive Features",desc:"Dive deeper into your statistics and recieve special badges."}),e.jsx(x,{imgSrc:"/worries/worrycool.webp",altText:"worrycool",title:"Go Ad Free",desc:"Get rid of the pesky advertisements."}),e.jsx(x,{imgSrc:"/worries/worryhug.webp",altText:"worrycool",title:"Support the Creator",desc:"I am incredibly thankful to everyone who is supporting me, and it motivates me to add more features."})]}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginBottom:20},children:[e.jsx(m,{children:"Patron-Exclusive Features"}),e.jsx(G,{})]}),e.jsxs(m,{children:["Thank you to ",e.jsxs("span",{style:{color:a.premcolor},children:[o.length," Patreon"]})," ","supporters!"]}),e.jsx(u,{}),e.jsx("div",{className:"supporters",children:Object.entries(f).map(([t,n])=>e.jsx(Z,{region:t,supporters:n},t))})]})]}),l?e.jsx(T,{close:()=>s(!1)}):null]})}const ne=$;export{ne as component};

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.