PageSourceSearch

https://dailies.games/_next/static/chunks/0r2zana_e2gc..js

js dailies.games collected 2026-10-02 01:54:28 UTC 56,387 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46428,e=>{"use strict";let t=[{id:"xqc",name:"xQc",twitchLogin:"xqc",avatarUrl:"https://static-cdn.jtvnw.net/jtv_user_pictures/xqc-profile_image-9298dca608632101-300x300.jpeg"},{id:"kai-cenat",name:"Kai Cenat",twitchLogin:"kaicenat",avatarUrl:"https://static-cdn.jtvnw.net/jtv_user_pictures/bf6a04cf-3f44-4986-8eed-5c36bfad542b-profile_image-300x300.png"},{id:"ludwig",name:"Ludwig",twitchLogin:"ludwig",avatarUrl:"https://static-cdn.jtvnw.net/jtv_user_pictures/bde8aaf5-35d4-4503-9797-842401da900f-profile_image-300x300.png"},{id:"hasan",name:"Hasan",twitchLogin:"hasanabi",avatarUrl:"https://static-cdn.jtvnw.net/jtv_user_pictures/0347a9aa-e396-49a5-b0f1-31261704bab8-profile_image-300x300.jpeg"},{id:"caseoh",name:"CaseOh",twitchLogin:"caseoh_",avatarUrl:"https://static-cdn.jtvnw.net/jtv_user_pictures/ef28ba12-c8ed-46d4-838b-a4c95ef5b469-profile_image-300x300.png"}];t.map(e=>[e.id,e]);var a=e.i(84494);let r="dailies_community_votes",s="dailies_community_vote_limits",i="dailies_community_vote_device_id",n="dailies_user",l=null,o=0,d=null,c=["asshole","bastard","bitch","bullshit","cunt","damn","dick","fuck","motherfucker","piss","prick","pussy","shit","slut","whore"],m=t.map(e=>({id:e.id,name:e.name,label:`${e.name}'s community`,avatarUrl:e.avatarUrl,twitchLogin:e.twitchLogin})),u=[...m];function x(){return!!window.localStorage}function h(e){return e.toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}function g(e){return h(e).replace(/^custom-/,"").replace(/^creator-/,"")}function p(e){return e&&"object"==typeof e?"string"!=typeof e.id||"string"!=typeof e.streamerId||"string"!=typeof e.streamerName||"string"!=typeof e.gameKey||"string"!=typeof e.gameName||"string"!=typeof e.userKey||"string"!=typeof e.dateKey||"string"!=typeof e.createdAt?null:{id:e.id,streamerId:e.streamerId,streamerName:e.streamerName,gameKey:e.gameKey,gameName:e.gameName,userKey:e.userKey,dateKey:e.dateKey,createdAt:e.createdAt}:null}function f(e){return e.toLowerCase().replace(/[^a-z0-9]/g,"")}function w(e,t){if(!x())return t;let a=window.localStorage.getItem(e);if(!a)return t;try{return JSON.parse(a)}catch{return t}}function b(e,t){x()&&window.localStorage.setItem(e,JSON.stringify(t))}function y(e){return l=e,o=Date.now(),e}async function v(){let e=Date.now();return l&&e-o<3e4?l:d||(d=(async()=>{try{let e=await fetch("/api/community-votes",{cache:"default"});if(!e.ok)throw Error("Unable to fetch votes.");let t=await e.json(),a=Array.isArray(t.options)?t.options.map(e=>e&&"object"==typeof e?"string"!=typeof e.id||"string"!=typeof e.name||"string"!=typeof e.label||"string"!=typeof e.avatarUrl?null:{id:e.id,name:e.name,label:e.label,avatarUrl:e.avatarUrl,twitchLogin:"string"==typeof e.twitchLogin?e.twitchLogin:void 0}:null).filter(e=>!!e):m,s=Array.isArray(t.votes)?t.votes.map(e=>p(e)).filter(e=>!!e):[];return u.splice(0,u.length,...a),b(r,s),y(s)}catch{return y(_())}finally{d=null}})())}function j(e=new Date){return e.toISOString().slice(0,10)}function N(e=new Date){let t=new Date(e),a=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-(0===a?6:a-1)),j(t)}function k(e){return e.slug||h(e.name)||h(e.href)}function S(){if(!x())return"anonymous";let e=window.localStorage.getItem(n);if(e)try{let t=JSON.parse(e);if(t.twitchId)return`twitch:${t.twitchId}`;if(t.discordId)return`discord:${t.discordId}`;if(t.email)return`email:${t.email.trim().toLowerCase()}`;if(t.twitchLogin)return`twitch-login:${t.twitchLogin.trim().toLowerCase()}`;if(t.discordUsername)return`discord-username:${t.discordUsername.trim().toLowerCase()}`;if(t.name)return`name:${t.name.trim().toLowerCase()}`}catch{}let t=window.localStorage.getItem(i);if(t)return`device:${t}`;let a="u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return window.localStorage.setItem(i,a),`device:${a}`}function _(){return y(w(r,[]).filter(e=>!!e&&"string"==typeof e.id&&"string"==typeof e.streamerId&&"string"==typeof e.gameKey&&"string"==typeof e.userKey&&"string"==typeof e.dateKey))}function z(e){let t=e.dateKey||j();return _().find(a=>a.gameKey===e.gameKey&&a.userKey===e.userKey&&a.dateKey===t)}function C(e,a="allTime",r=new Date,s=u){let i=j(r),l=N(r),o=new Map,d=new Map;for(let e of s)d.set(e.id,{name:e.name,label:e.label,avatarUrl:e.avatarUrl});for(let r of e)("allTime"===a||"today"===a&&r.dateKey===i||"week"===a&&function(e,t){let a=new Date(`${e}T00:00:00.000Z`),r=new Date(`${t}T00:00:00.000Z`),s=new Date(r);return s.setUTCDate(s.getUTCDate()+7),a>=r&&a<s}(r.dateKey,l))&&(d.has(r.streamerId)||d.set(r.streamerId,function(e,a,r=u){let s=r.find(t=>
1t.id===e)||function(e,t,a=u){let r=g(e),s=g(t);return a.find(e=>{let t=g(e.id),a=g(e.name),i=g(e.twitchLogin||"");return!!r&&(t===r||a===r||i===r)||!!s&&(t===s||a===s||i===s)})}(e,a,r);if(s)return{name:s.name,label:s.label,avatarUrl:s.avatarUrl};let i=a||e.replace(/^custom-/,""),l=function(e,t){let a=function(){if(!x())return null;let e=window.localStorage.getItem(n);if(!e)return null;try{let t=JSON.parse(e);return t&&"object"==typeof t?t:null}catch{return null}}();if(!a?.avatarUrl)return null;let r=g(e),s=g(t),i=g(a.name||""),l=g(a.twitchLogin||"");if(!(r&&(r===i||r===l)||s&&(s===i||s===l)))return null;let o=t||a.name||a.twitchLogin||e;return{name:o,label:`${o}'s community`,avatarUrl:a.avatarUrl}}(e,i);return l||{name:i,label:`${i}'s community`,avatarUrl:r[0]?.avatarUrl||t[0].avatarUrl}}(r.streamerId,r.streamerName,s)),o.set(r.streamerId,(o.get(r.streamerId)||0)+1));return Array.from(d.entries()).map(([e,t])=>({streamerId:e,name:t.name,label:t.label,avatarUrl:t.avatarUrl,totalVotes:o.get(e)||0,rank:0})).sort((e,t)=>t.totalVotes-e.totalVotes||e.name.localeCompare(t.name)).map((e,t)=>({...e,rank:t+1}))}async function I(e){if(!x())return{ok:!1,reason:"storage_unavailable"};let t=e.userKey||S(),i=e.dateKey||(0,a.getTodayKey)(),n=k(e.game),l=z({gameKey:n,userKey:t,dateKey:i});if(l)return{ok:!1,reason:"already_voted",existingVote:l};try{let a=await fetch("/api/community-votes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({streamerId:e.streamerId,customStreamerName:e.customStreamerName,game:e.game,userKey:t,dateKey:i,allowCustomCreator:e.allowCustomCreator})}),l=await a.json();if(!a.ok||!l.success){let e=p(l.existingVote);if("already_voted"===l.reason)return{ok:!1,reason:"already_voted",existingVote:e||void 0,message:l.error||"You already used today's vote for this game."};return{ok:!1,reason:"storage_unavailable",message:l.error||"Voting is unavailable right now."}}let o=p(l.vote);if(!o)return{ok:!1,reason:"storage_unavailable",message:"Voting is unavailable right now."};let d=Array.isArray(l.votes)?l.votes.map(e=>p(e)).filter(e=>!!e):[o,..._()];return b(r,d),b(s,[{userKey:t,gameKey:n,dateKey:i,voteId:o.id},...w(s,[]).filter(e=>!!e&&"string"==typeof e.userKey&&"string"==typeof e.gameKey&&"string"==typeof e.dateKey&&"string"==typeof e.voteId).filter(e=>e.userKey!==t||e.gameKey!==n||e.dateKey!==i)]),window.dispatchEvent(new Event("dailies-community-votes-updated")),{ok:!0,vote:o,selected:l.selected||C(d,"today").find(e=>e.streamerId===o.streamerId),leader:l.leader||C(d,"today")[0]||null,aggregates:l.aggregates||C(d,"today")}}catch{return{ok:!1,reason:"storage_unavailable",message:"Voting is unavailable right now."}}}e.s(["aggregateCommunityVotes",0,C,"canVoteForGameToday",0,function(e){return!z(e)},"clearCommunityVotesCache",0,function(){l=null,o=0,d=null},"fetchCommunityVotes",0,v,"getActiveVoteForGame",0,function(e){let t=j(e.now||new Date);return z({gameKey:e.gameKey,userKey:e.userKey,dateKey:t})},"getDailyCompletionStatus",0,function(e){let t=Array.from(new Set(e.filter(Boolean).map(e=>(0,a.normalizeGameId)(e)))),r=(0,a.getDailyRunProgress)(),s=t.filter(e=>r[e]).length;return{completedCount:s,totalCount:t.length,isComplete:t.length>0&&s>=t.length}},"getGameVoteKey",0,k,"getTodayDateKey",0,j,"getVoteCooldownEndsAt",0,function(e){let t=new Date(`${e.dateKey}T00:00:00.000Z`);return t.setUTCDate(t.getUTCDate()+1),t},"getVoteForGameToday",0,z,"getVotingAccess",0,function(){if(!x())return{isLoggedIn:!1,isPro:!1,label:"Log in to vote for a creator."};let e=window.localStorage.getItem(n);if(!e)return{isLoggedIn:!1,isPro:!1,label:"Log in to vote for a creator."};try{let t=JSON.parse(e),a="pro"===t.membership||"admin"===t.role;return{isLoggedIn:!0,isPro:a,label:a?"Finish today's run to vote for a creator.":"Finish today's run to vote. Pro unlocks creator submissions."}}catch{return{isLoggedIn:!1,isPro:!1,label:"Log in to vote for a creator."}}},"getVotingUserKey",0,S,"getWeekStartDateKey",0,N,"streamerCommunityOptions",0,u,"submitCommunityVote",0,I,"validateCreatorName",0,function(e){let t=e.trim().replace(/\s+/g," ");
1if(t.length<2)return{ok:!1,reason:"Enter at least 2 characters."};if(t.length>32)return{ok:!1,reason:"Keep creator names under 32 characters."};if(!/^[a-zA-Z0-9_.\-\s]+$/.test(t))return{ok:!1,reason:"Use letters, numbers, spaces, dots, hyphens, or underscores."};let a=f(t);return c.some(e=>a.includes(f(e)))?{ok:!1,reason:"That creator name is blocked by the word filter."}:{ok:!0,value:t}}],46428)},56691,e=>{"use strict";var t=e.i(43476),a=e.i(22016);e.s(["default",0,function(){return(0,t.jsx)("footer",{className:"mt-10 border-t border-white/10 bg-zinc-950",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-semibold tracking-tight",children:"Dailies.games"}),(0,t.jsx)("p",{className:"mt-1 text-xs text-zinc-500",children:"Four classic daily games, creator voting, and repeatable play."})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-4 text-xs text-zinc-500",children:[(0,t.jsx)(a.default,{href:"/#games",className:"transition hover:text-white",children:"Games"}),(0,t.jsx)(a.default,{href:"/trending",className:"transition hover:text-white",children:"Activity"}),(0,t.jsx)(a.default,{href:"/rankings",className:"transition hover:text-white",children:"Rankings"}),(0,t.jsx)(a.default,{href:"/submit",className:"transition hover:text-white",children:"Submit"}),(0,t.jsx)(a.default,{href:"/login",className:"transition hover:text-white",children:"Login"}),(0,t.jsx)(a.default,{href:"/pro",className:"transition hover:text-white",children:"Pro"}),(0,t.jsx)(a.default,{href:"/contact",className:"transition hover:text-white",children:"Contact"}),(0,t.jsx)(a.default,{href:"/lead-community",className:"transition hover:text-white",children:"Creators"})]})]}),(0,t.jsxs)("div",{className:"mt-6 grid gap-4 md:grid-cols-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-white/10 bg-zinc-900 px-4 py-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-zinc-300",children:"Know a great daily game?"}),(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:"Send the name and link"})]}),(0,t.jsx)(a.default,{href:"/submit",className:"text-xs font-medium text-white hover:underline",children:"Submit"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-white/10 bg-zinc-900 px-4 py-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-zinc-300",children:"Creator voting"}),(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:"Complete all dailies first"})]}),(0,t.jsx)(a.default,{href:"/rankings",className:"text-xs font-medium text-white hover:underline",children:"Rankings"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-white/10 bg-zinc-900 px-4 py-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-zinc-300",children:"Want homepage traffic?"}),(0,t.jsx)("p",{className:"text-xs text-zinc-500",children:"Request featured placement"})]}),(0,t.jsx)(a.default,{href:"/contact",className:"text-xs font-medium text-white hover:underline",children:"Contact"})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-2 text-[11px] text-zinc-600 md:flex-row md:items-center md:justify-between",children:[(0,t.jsxs)("p",{children:["©"," ",new Date().getFullYear()," Dailies.games"]}),(0,t.jsx)("p",{children:"Independent platform. Not affiliated with listed games."})]})]})})}])},84494,e=>{"use strict";let t="dailies_daily_run_progress",a=["connections","wordle","songless","geoguessr"];function r(){return!!window.localStorage}function s(){if(!r())return{};let e=window.localStorage.getItem(t);if(!e)return n();try{let t=JSON.parse(e);return t&&"object"==typeof t?t:{}}catch{return n()}}function i(e){r()&&window.localStorage.setItem(t,JSON.stringify(e))}function n(){if(!r())return{};let e=window.localStorage.getItem("dailies_played_today");if(!e)return{};try{let t=JSON.parse(e),r={};for(let[e,s]of Object.entries(t||{})){let t={};for(let e of Array.isArray(s)?s:[]){let r=o(e);a.includes(r)&&(t[r]=!0)}Object.keys(t).length>0&&(r[e]=t)}return i(r),r}catch{return{}}}function l(){return new Date().toISOString().slice(0,10)}function o(e){let t=e.trim().toLowerCase().replace(/[^a-z0-9]/g,"");switch(t){case"connections":return"connections";
1case"wordle":return"wordle";case"songless":return"songless";case"geoguessr":case"geoguessor":return"geoguessr";default:return t}}function d(e=l()){return s()[e]||{}}e.s(["getDailyRunCompletedCount",0,function(e=l()){let t=d(e);return a.filter(e=>t[e]).length},"getDailyRunProgress",0,d,"getTodayKey",0,l,"isDailyRunComplete",0,function(e=l()){let t=d(e);return a.every(e=>t[e])},"isGameCompleted",0,function(e,t=l()){return!!d(t)[o(e)]},"markGameCompleted",0,function(e,t=l()){if(!r())return d(t);let a=o(e),n=s(),c={...n,[t]:{...n[t]||{},[a]:!0}};return i(c),window.dispatchEvent(new Event("dailies-progress-updated")),c[t]},"normalizeGameId",0,o])},24979,e=>{"use strict";var t=e.i(84494);let a="dailies_stars",r="dailies_streak",s="dailies_longest_streak",i="dailies_last_active",n="dailies_played_today",l="dailies_submit_rewards",o="dailies_progress_reward_log",d="dailies_run_completion_log",c=[{id:"rookie",label:"Rookie",description:"You just started building your daily ritual.",minStars:0,minRuns:0},{id:"regular",label:"Regular",description:"Your stack is becoming a habit instead of a one-off visit.",minStars:10,minRuns:1},{id:"climber",label:"Climber",description:"You are finishing runs and starting to stack real momentum.",minStars:30,minRuns:3},{id:"contender",label:"Contender",description:"Your stars and streaks make you look dangerous.",minStars:60,minRuns:7},{id:"captain",label:"Captain",description:"You are carrying a serious daily rhythm now.",minStars:120,minRuns:14},{id:"legend",label:"Daily Legend",description:"This account is fully locked into the ritual.",minStars:240,minRuns:30}];function m(){return!!window.localStorage}function u(e,t){if(!m())return t;let a=window.localStorage.getItem(e);if(!a)return t;try{return JSON.parse(a)}catch{return t}}function x(e,t){m()&&window.localStorage.setItem(e,JSON.stringify(t))}function h(e,t){return e[t]||{opened:[],completed:[],fullRunBonusAwarded:!1,voteBonusAwarded:!1,starsEarned:0}}function g(){return u(o,{})}function p(){return u(d,[])}function f(){m()&&(null===window.localStorage.getItem(a)&&window.localStorage.setItem(a,"0"),null===window.localStorage.getItem(r)&&window.localStorage.setItem(r,"0"),null===window.localStorage.getItem(s)&&window.localStorage.setItem(s,"0"),null===window.localStorage.getItem(i)&&window.localStorage.setItem(i,""),null===window.localStorage.getItem(n)&&window.localStorage.setItem(n,"{}"),null===window.localStorage.getItem(l)&&window.localStorage.setItem(l,"[]"),null===window.localStorage.getItem(o)&&window.localStorage.setItem(o,"{}"),null===window.localStorage.getItem(d)&&window.localStorage.setItem(d,"[]"))}function w(e=(0,t.getTodayKey)()){let i,n,l,o=Number(m()&&window.localStorage.getItem(a)||"0"),d=Number(m()&&window.localStorage.getItem(r)||"0"),u=Number(m()&&window.localStorage.getItem(s)||"0"),x=p(),f=h(g(),e),b=x.length;return{stars:o,currentStreak:d,longestStreak:Math.max(u,d),completedRuns:b,completedToday:x.includes(e),starsEarnedToday:f.starsEarned,standing:(i=c.reduce((e,t,a)=>o>=t.minStars&&b>=t.minRuns?a:e,0),n=c[i],l=c[i+1]||null,{...n,index:i+1,total:c.length,next:l})}}e.s(["STANDING_TIERS",0,c,"getPlayerMilestones",0,function(e){let t=[];return e.completedToday&&t.push({id:"today-run",label:"Run closed",description:"You completed today’s full run."}),e.currentStreak>=3&&t.push({id:"streak-3",label:`${e.currentStreak}-day streak`,description:"You are keeping the daily rhythm alive."}),e.longestStreak>=7&&t.push({id:"longest-7",label:"Weeklong streak",description:"You have held a seven-day streak or better."}),e.completedRuns>=5&&t.push({id:"runs-5",label:`${e.completedRuns} runs`,description:"You are stacking completed daily runs now."}),e.stars>=25&&t.push({id:"stars-25",label:`${e.stars} stars`,description:"Your profile is starting to look established."}),e.stars>=100&&t.push({id:"stars-100",label:"Triple digits",description:"You crossed 100 total stars."}),0===t.length&&t.push({id:"first-steps",label:"First steps",description:"Finish a full run to start unlocking milestones."}),t.slice(0,4)},"getPlayerProgressSummary",0,w,"getProgressRewardTier",0,function(){if(!m())return"guest";let e=window.localStorage.getItem("dailies_user");if(!e)return"guest";try{let t=JSON.parse(e);if("member"===t.role||"admin"===t.role||t.name||t.email||t.twitchI
1d||t.discordId)return"member"}catch{}return"guest"},"getRecentProgressHistory",0,function(e=7,t=new Date){let a=g(),r=new Set(p()),s=[];for(let i=e-1;i>=0;i-=1){let e=new Date(t);e.setDate(t.getDate()-i);let n=e.toISOString().slice(0,10),l=h(a,n);s.push({dateKey:n,starsEarned:l.starsEarned,completedRun:r.has(n),voteUsed:l.voteBonusAwarded,openedGames:l.opened.length})}return s},"initializePlayerProgress",0,f,"recordGameProgress",0,function({gameId:e,isDailyRunGame:n,wasAlreadyCompleted:l,runCompleteAfter:c,rewardTier:u="guest",dateKey:b=(0,t.getTodayKey)()}){if(f(),!m())return{starsAwarded:0,starsAwardedToday:0,summary:w(b),unlockedVote:c,completedRunToday:!1};let y=0,v=g(),j=h(v,b),N=String(e).trim().toLowerCase();!function(e){if(!m())return;let t=window.localStorage.getItem(i)||"",a=Number(window.localStorage.getItem(r)||"0"),n=Number(window.localStorage.getItem(s)||"0"),l=e=>{window.localStorage.setItem(r,String(e)),e>n&&window.localStorage.setItem(s,String(e))};if(!t){l(1),window.localStorage.setItem(i,e);return}if(t===e)return;let o=new Date(t);l(1===Math.floor((new Date(e).getTime()-o.getTime())/864e5)?a+1:1),window.localStorage.setItem(i,e)}(b),n&&!j.opened.includes(N)&&j.opened.push(N),!n||l||j.completed.includes(N)||(j.completed.push(N),y+="member"===u?2:1);let k=p(),S=k.includes(b);return c&&!S&&(j.fullRunBonusAwarded=!0,x(d,Array.from(new Set([...k,b])))),y>0?(j.starsEarned+=y,v[b]=j,x(o,v),function(e){if(!m()||e<=0)return;let t=Number(window.localStorage.getItem(a)||"0");window.localStorage.setItem(a,String(t+e))}(y)):(v[b]=j,x(o,v)),m()&&window.dispatchEvent(new Event("dailies-progress-updated")),{starsAwarded:y,starsAwardedToday:j.starsEarned,summary:w(b),unlockedVote:c,completedRunToday:c&&(j.fullRunBonusAwarded||S)}}])},58586,e=>{"use strict";var t=e.i(43476),a=e.i(70703),r=e.i(57688),s=e.i(71645),i=e.i(56691),n=e.i(22016);function l({accentBorder:e,accentLabel:a,title:r,body:s,installHref:i,installLabel:o,secondaryHref:d,secondaryLabel:c,visual:m}){return(0,t.jsx)("section",{className:"border-t border-white/10",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl px-6 py-8",children:(0,t.jsx)("div",{className:`rounded-[1.4rem] border bg-zinc-900 p-6 ${e}`,children:(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1fr)_330px] lg:items-start",children:[(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"max-w-3xl",children:[(0,t.jsx)("p",{className:`text-xs font-semibold uppercase tracking-[0.28em] ${a}`,children:"Featured"}),(0,t.jsx)("h2",{className:"mt-3 text-2xl font-black tracking-tight",children:r}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-7 text-zinc-300",children:s})]}),m]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 lg:sticky lg:top-6",children:[(0,t.jsx)("a",{href:i,target:"_blank",rel:"noreferrer",className:"w-full max-w-[220px] rounded-xl bg-sky-400 px-5 py-3 text-center text-sm font-semibold text-black transition hover:opacity-90",children:o}),(0,t.jsx)(n.default,{href:d,className:"w-full max-w-[220px] rounded-xl border border-white/10 bg-zinc-950 px-5 py-3 text-center text-sm font-semibold text-white transition hover:bg-zinc-800",children:c})]})]})})})})}function o({includeHeader:e=!0}){return(0,t.jsxs)(t.Fragment,{children:[e?(0,t.jsx)("section",{className:"border-t border-white/10",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl px-6 pb-8 pt-20",children:(0,t.jsx)("div",{className:"overflow-hidden rounded-[2rem] border border-amber-300/15 bg-[radial-gradient(circle_at_top_left,_rgba(251,191,36,0.18),_transparent_30%),radial-gradient(circle_at_85%_18%,_rgba(56,189,248,0.14),_transparent_30%),linear-gradient(180deg,_rgba(24,24,27,0.98),_rgba(17,24,39,0.98))] p-8 shadow-[0_24px_80px_rgba(8,12,24,0.42)] sm:p-9",children:(0,t.jsxs)("div",{className:"max-w-4xl",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.34em] text-amber-300",children:"Featured extras"}),(0,t.jsx)("h2",{className:"mt-3 bg-gradient-to-r from-amber-200 via-white to-sky-200 bg-clip-text text-3xl font-black tracking-tight text-transparent sm:text-4xl",children:"More projects from Dailies.games"}),(0,t.jsx)("p",{className:"mt-4 max-w-3xl text-sm leading-7 text-zinc-300 sm:text-base",children:"Extension projects, side tools, and experiments built alongside the daily games hub, all in one place."})]})})})}):null,(0,t.jsx)(l,{accentBorder:"border-sky-400/15",accentLabel:"text-sky-300",title:"NextTune is live on the Chrome Web Store",body:"A featured side product from dailies.games for YouTube and YouTube Music. It turns what is already playing into faster next-song picks with simple Like and Pass feedback.",installHref:"https://chromewebstore.google.com/detail/nexttune/decegedikgjcmdklncoobibibhbaleol",installLabel:"Try out NextTune",secondaryHref:"/nexttune/privacy",secondaryLabel:"View privacy page",visual:(0,t.jsx)("div",{className:"w-full max-w-4xl overflow-hidden rounded-[1.6rem] border border-sky-400/20 bg-[#07142d] shadow-[0_24px_80px_rgba(25,88,255,0.24)]",children:(0,t.jsx)(r.default,{src:"/nexttune-promo-large.png",alt:"NextTune sponsor promo with the extension interface and music recommendation flow",width:1400,height:560,sizes:"(min-width: 1280px) 896px, (min-width: 1024px) calc(100vw - 474px), (min-width: 768px) calc(100vw - 48px), calc(100vw - 48px)",className:"h-auto w-full"})})}),(0,t.jsx)(l,{accentBorder:"border-fuchsia-400/15",accentLabel:"text-fuchsia-200",title:"NextShow is live on the Chrome Web Store",body:"A featured side product from dailies.games for anime discovery. It helps you rate familiar shows, surface better matches, and jump into sharper next-watch picks without leaving the browser.",installHref:"https://chromewebstore.google.com/detail/nextshow/pieomeoekolconiaajkdgohobkbcidhc",installLabel:"Try out NextShow",
1secondaryHref:"/nextshow/privacy",secondaryLabel:"View privacy page",visual:(0,t.jsx)("div",{className:"w-full max-w-4xl overflow-hidden rounded-[1.6rem] border border-fuchsia-400/20 bg-[radial-gradient(circle_at_top_left,_rgba(244,114,182,0.22),_transparent_26%),radial-gradient(circle_at_88%_20%,_rgba(129,140,248,0.16),_transparent_24%),linear-gradient(140deg,_#170d1f_0%,_#271137_48%,_#120a19_100%)] shadow-[0_24px_80px_rgba(192,38,211,0.18)]",children:(0,t.jsxs)("div",{className:"grid min-h-[320px] gap-8 px-8 py-8 lg:grid-cols-[0.95fr_0.9fr] lg:items-center",children:[(0,t.jsxs)("div",{className:"max-w-xl",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.34em] text-fuchsia-200/80",children:"NextShow"}),(0,t.jsx)("h3",{className:"mt-5 text-4xl font-black tracking-tight text-white",children:"Find your next anime faster."}),(0,t.jsx)("p",{className:"mt-4 max-w-lg text-base leading-8 text-white/78",children:"Swipe through familiar shows, lock in your taste, and get quick anime picks shaped by vibe instead of endless tabs."}),(0,t.jsx)("div",{className:"mt-6 flex flex-wrap gap-3",children:["Approved","Anime picks","Taste-first"].map(e=>(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-white/[0.06] px-3 py-1.5 text-[11px] font-semibold uppercase tracking-[0.22em] text-fuchsia-100",children:e},e))})]}),(0,t.jsxs)("div",{className:"relative min-h-[290px]",children:[(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 w-[84%] overflow-hidden rounded-[1.7rem] border border-white/10 bg-[#1a1024] p-3 shadow-[0_18px_55px_rgba(0,0,0,0.34)]",children:(0,t.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-[1.25rem]",children:(0,t.jsx)(r.default,{src:"/nextshow-screen-1.png",alt:"NextShow extension screen showing anime rating flow",fill:!0,sizes:"(min-width: 1280px) 360px, (min-width: 1024px) 32vw, 100vw",className:"object-cover object-top"})})}),(0,t.jsx)("div",{className:"absolute bottom-3 left-0 w-[50%] overflow-hidden rounded-[1.35rem] border border-white/10 bg-[#130c1b] p-2 shadow-[0_18px_45px_rgba(0,0,0,0.26)]",children:(0,t.jsx)("div",{className:"relative aspect-[5/6] overflow-hidden rounded-[1rem]",children:(0,t.jsx)(r.default,{src:"/nextshow-screen-2.png",alt:"NextShow extension screen showing anime recommendation result",fill:!0,sizes:"(min-width: 1280px) 210px, (min-width: 1024px) 18vw, 42vw",className:"object-cover object-top"})})})]})]})})}),(0,t.jsx)(l,{accentBorder:"border-amber-300/15",accentLabel:"text-amber-200",title:"NextGame is live on the Chrome Web Store",body:"A featured side product from dailies.games for fast game discovery. It helps you sort picks by taste, scan real match context, and jump from quick browsing to Steam-ready links in one popup.",installHref:"https://chromewebstore.google.com/detail/nextgame/dlhihnegclbhldjhhblooanijnogjmbn",installLabel:"Try out NextGame",secondaryHref:"/nextgame/privacy",secondaryLabel:"View privacy page",visual:(0,t.jsx)("div",{className:"w-full max-w-4xl overflow-hidden rounded-[1.6rem] border border-amber-300/20 bg-[radial-gradient(circle_at_top_left,_rgba(251,191,36,0.18),_transparent_25%),radial-gradient(circle_at_80%_12%,_rgba(251,113,133,0.15),_transparent_24%),linear-gradient(140deg,_#17100d_0%,_#2a1716_46%,_#16162b_100%)] shadow-[0_24px_80px_rgba(245,158,11,0.14)]",children:(0,t.jsxs)("div",{className:"grid min-h-[320px] gap-8 px-8 py-8 lg:grid-cols-[0.92fr_0.95fr] lg:items-center",children:[(0,t.jsxs)("div",{className:"max-w-xl",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.34em] text-amber-100/70",children:"NextGame"}),(0,t.jsx)("p",{className:"mt-2 text-base font-semibold text-white/75",children:"Fast game discovery"})]}),(0,t.jsx)("h3",{className:"mt-6 text-4xl font-black tracking-tight text-white",children:"Find your next game faster."}),(0,t.jsx)("p",{className:"mt-4 text-base leading-8 text-white/80",children:"Compare matches, rate what hits, and keep your best picks, tags, and Steam-ready jump points inside one fast discovery flow."}),(0,t.jsx)("div",{className:"mt-6 flex flex-wrap gap-3",children:["Approved","Steam-linked","Fast picks"].map(e=>(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-white/[0.06] px-3 py-1.5 text-[11px] font-semibold uppercase tracking-[0.22em] text-amber-100",children:e},e))})]}),(0,t.jsxs)("div",{className:"relative min-h-[310px]",children:[(0,t.jsx)("div",{className:"absolute right-0 top-0 w-[55%] overflow-hidden rounded-[1.45rem] border border-white/10 bg-[#241315] p-2.5 shadow-[0_18px_48px_rgba(0,0,0,0.34)]",children:(0,t.jsx)("div",{className:"relative aspect-[10/16] overflow-hidden rounded-[1rem]",children:(0,t.jsx)(r.default,{src:"/nextgame-screen-1.png",alt:"NextGame extension overview screen",fill:!0,sizes:"(min-width: 1280px) 240px, (min-width: 1024px) 22vw, 52vw",className:"object-cover object-top"})})}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-[72%] overflow-hidden rounded-[1.55rem] border border-white/10 bg-[#130f1d] p-2.5 shadow-[0_18px_48px_rgba(0,0,0,0.28)]",children:(0,t.jsx)("div",{className:"relative aspect-[7/6] overflow-hidden rounded-[1rem]",children:(0,t.jsx)(r.default,{src:"/nextgame-screen-2.png",alt:"NextGame recommended game match card",fill:!0,sizes:"(min-width: 1280px) 330px, (min-width: 1024px) 28vw, 70vw",className:"object-cover object-top"})})}),(0,t.jsx)("div",{className:"absolute bottom-6 right-4 w-[34%] overflow-hidden rounded-[1.1rem] border border-white/10 bg-[#1f1220] p-2 shadow-[0_14px_36px_rgba(0,0,0,0.24)]",children:(0,t.jsx)("div",{className:"relative aspect-[4/5] overflow-hidden rounded-[0.85rem]",children:(0,t.jsx)(r.default,{src:"/nextgame-screen-3.png",alt:"NextGame detail screen with action buttons",fill:!0,sizes:"(min-width: 1280px) 150px, (min-width: 1024px) 12vw, 28vw",className:"object-cover object-top"})})})]})]})})})]})}var d=e.i(82819),c=e.i(62319),m=e.i(46428),u=e.i(84494),x=e.i(22320),h=e.i(24979),g=e.i(17772);let p=(0,a.default)(()=>e.A(47445),{loadableGenerated:{modules:[82142]},ssr:!1}),f="dailies_user",w=g.classicGames.map(e=>e.name);function b(e){return e.toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}function y(e){let t=b(e.name),a="slug"in e&&"string"==typeof e.slug&&e.slug.trim()?e.slug:"";return t?`name:${t}`:a?`slug:${b(a)}`:e.href?`href:${e.href.trim().toLowerCase()}`:`name:${t}`}function v(e){let t=new Map;for(let a of e)t.set(y(a),a);return Array.from(t.values())}function j(e){return(0,u.normalizeGameId)("slug"in e&&e.slug||e.name)}let N=["Newly added","Corflex","Party","Guess","Find","Solve","Connect","Match","Build","Spot","Remember","More"];
1e.s(["default",0,function(){let[e,a]=(0,s.useState)(null),[l,k]=(0,s.useState)(!1),[S,_]=(0,s.useState)(0),[z,C]=(0,s.useState)([]),[I,T]=(0,s.useState)(!1),[L,K]=(0,s.useState)([]),[D,U]=(0,s.useState)((0,h.getPlayerProgressSummary)()),[A,V]=(0,s.useState)("Locked"),[$,R]=(0,s.useState)(null),[G,P]=(0,s.useState)((0,h.getRecentProgressHistory)()),[E,M]=(0,s.useState)(!1),[F,O]=(0,s.useState)([]),[Y,B]=(0,s.useState)(""),[W,J]=(0,s.useState)(""),[H,q]=(0,s.useState)(!1),Z=(0,s.useDeferredValue)(Y);(0,s.useEffect)(()=>{let e=!0,t=async()=>{localStorage.removeItem("dailies_admin_games"),(()=>{if(!e)return;let t=(0,u.getDailyRunCompletedCount)(),a=(0,u.isDailyRunComplete)();_(t),T(a),K((0,x.getFavoriteGamesForUser)((0,x.getFavoriteUserId)())),C(g.classicGames.map(e=>(0,u.normalizeGameId)(e.name)).filter(e=>(0,u.isGameCompleted)(e))),U((0,h.getPlayerProgressSummary)()),P((0,h.getRecentProgressHistory)());let r=(0,m.getActiveVoteForGame)({gameKey:"daily-creator-star",userKey:(0,m.getVotingUserKey)()}),s=r?(0,m.getVoteCooldownEndsAt)(r):null,i=!!s&&s.getTime()>Date.now();V(a?i?"Used today":"Unlocked":"Locked");let n=m.streamerCommunityOptions.find(e=>e.id===r?.streamerId);R(n?.name||null)})(),e&&O(await (0,m.fetchCommunityVotes)());let t=localStorage.getItem(f);if(!t){if(!e)return;a(null),k(!0);return}try{let r=JSON.parse(t),s=r,i=!1;if("admin"===r.role)try{let e=await fetch("/api/auth/admin-status",{cache:"no-store"}),t=await e.json();i=!!(e.ok&&t.isAdmin)}catch{i=!1}if(i||"admin"!==r.role||(s={...r,role:"member",membership:r.membership??"free"},localStorage.setItem(f,JSON.stringify(s))),!e)return;a(s)}catch{if(!e)return;a(null)}finally{e&&k(!0)}};return t(),window.addEventListener("dailies-progress-updated",t),window.addEventListener("dailies-favorites-updated",t),window.addEventListener("focus",t),window.addEventListener("storage",t),()=>{e=!1,window.removeEventListener("dailies-progress-updated",t),window.removeEventListener("dailies-favorites-updated",t),window.removeEventListener("focus",t),window.removeEventListener("storage",t)}},[]);let Q=(0,s.useMemo)(()=>g.games.filter(e=>w.includes(e.name)),[]),X=(0,s.useMemo)(()=>Q.map(e=>e.name),[Q]),ee=(0,s.useMemo)(()=>[],[]),et=(0,s.useMemo)(()=>g.games.filter(e=>!w.includes(e.name)&&(!("experimental"in e)||!e.experimental)),[]),ea=(0,s.useMemo)(()=>v([...et,...ee]),[ee,et]),er=(0,s.useMemo)(()=>v([...Q,...ea]),[ea,Q]),es=(0,s.useMemo)(()=>{if(!e)return[];let t=new Set(L);return er.filter(e=>{let a="slug"in e&&"string"==typeof e.slug?e.slug:e.name;return t.has(b(a))})},[er,L,e]),ei=(0,s.useMemo)(()=>(0,h.getPlayerMilestones)(D),[D]),en=(0,s.useMemo)(()=>new Set(L),[L]),el=(0,s.useMemo)(()=>new Set(z),[z]),eo=()=>{window.dispatchEvent(new Event("dailies-progress-updated"))},ed=I?$?`You backed ${$}. Check the board or keep your side stack moving.`:"Your vote is open. Back a creator to finish the loop.":`Finish ${4-S} more ${4-S==1?"game":"games"} to unlock your vote.`,ec=(0,s.useMemo)(()=>(function(e){let t=(0,m.aggregateCommunityVotes)(e,"today"),a=t.find(e=>e.totalVotes>0)||null,r=t.find(e=>e.streamerId!==a?.streamerId&&e.totalVotes>0);if(a){let e=r?a.totalVotes-r.totalVotes:a.totalVotes;return e>0?`${a.name}'s community is leading today by ${e} vote${1===e?"":"s"}.`:`${a.name}'s community is tied for first today.`}let s=(0,m.aggregateCommunityVotes)(e,"allTime").find(e=>e.totalVotes>0)||null;return s?`${s.name} holds the all-time community lead with ${s.totalVotes} vote${1===s.totalVotes?"":"s"}.`:"The community race is open. Finish the run and help decide who takes first today."})(F),[F]),em=(0,s.useMemo)(()=>{let e=(0,m.aggregateCommunityVotes)(F,"today").find(e=>e.totalVotes>0)||null;return e?`${e.name} leads today's community race.`:"The community race is open today."},[F]),eu=Z.trim().toLowerCase(),ex=(0,s.useCallback)(e=>!eu||[e.name,e.category,e.description,"whatIsIt"in e?e.whatIsIt:"","howToPlay"in e?e.howToPlay:""].filter(Boolean).some(e=>e.toLowerCase().includes(eu)),[eu]),eh=(0,s.useMemo)(()=>Q.filter(ex),[Q,ex]),eg=(0,s.useMemo)(()=>es.filter(ex),[es,ex]),ep=(0,s.useMemo)(()=>ea.filter(ex),[ea,ex]),ef=eh.length+eg.length+ep.length,ew=(0,s.useMemo)(()=>{let e=new Map;return ep.forEach(t=>{let a=function(e){if(function(e){if(!e.addedAt)return!1;let t=new Date(`${e.addedAt}T00:00:00`);if(Number.isNaN(t.getTime()))return!1;let a=(new Date().getTime()-t.getTime())/864e5;return a>=0&&a<7}(e))return"Newly added";
1if(e.name.startsWith("Corflex "))return"Corflex";if(e.category.toLowerCase().includes("party")||"badge"in e&&"string"==typeof e.badge&&"Party"===e.badge)return"Party";let t=(0,g.inferGameActionFilters)(e);return t.includes("guess")?"Guess":t.includes("find")?"Find":t.includes("solve")?"Solve":t.includes("connect")?"Connect":t.includes("match")?"Match":t.includes("build")?"Build":t.includes("spot")?"Spot":t.includes("remember")?"Remember":"More"}(t),r=e.get(a)||[];r.push(t),e.set(a,r)}),Array.from(e.entries()).sort(([e],[t])=>{let a=N.indexOf(e),r=N.indexOf(t);return -1===a&&-1===r?e.localeCompare(t):-1===a?1:-1===r?-1:a-r})},[ep]),eb=(0,s.useMemo)(()=>ew.map(([e])=>e),[ew]),ey=(0,s.useMemo)(()=>{if(0===ew.length)return[];let e=ew.find(([e])=>e===W)||ew[0];return e?.[1]||[]},[ew,W]);return(0,s.useEffect)(()=>{if(0===ew.length){W&&J("");return}ew.some(([e])=>e===W)||J(ew[0][0])},[ew,W]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.default,{}),(0,t.jsxs)("main",{className:"theme-page-shell min-h-screen bg-zinc-950 text-white",children:[(0,t.jsx)("section",{id:"games",className:"scroll-mt-24 border-b border-white/10",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:[(0,t.jsx)("div",{className:"theme-hero-card mb-8 rounded-[2rem] border border-white/10 px-6 py-7 sm:px-8 sm:py-9",children:(0,t.jsxs)("div",{className:"flex flex-col gap-7 lg:flex-row lg:items-end lg:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"theme-kicker text-xs uppercase tracking-[0.28em] text-zinc-500",children:"Daily browser games hub"}),(0,t.jsx)("h1",{className:"theme-title mt-3 max-w-4xl text-4xl font-black tracking-tight sm:text-5xl md:text-6xl",children:"A home for daily games like Wordle, Connections, Songless, and GeoGuessr."}),(0,t.jsx)("p",{className:"mt-5 max-w-2xl text-[1.05rem] leading-8 text-zinc-300",children:"Play today's run in one place, save your side favorites, and keep a wider stack of daily browser games close. If you want more than a hub, a finished run can also turn into one creator vote on the live board."}),(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap gap-2 text-[11px] font-semibold uppercase tracking-[0.22em] text-zinc-400",children:[(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-zinc-900/70 px-3 py-1.5",children:"No install"}),(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-zinc-900/70 px-3 py-1.5",children:"Free to try"}),(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-zinc-900/70 px-3 py-1.5",children:"Daily reset"})]}),(0,t.jsxs)(n.default,{href:"/lead-community",className:"mt-5 inline-flex max-w-2xl items-center gap-2 rounded-full border border-emerald-500/20 bg-emerald-500/10 px-4 py-2 text-sm text-emerald-200 transition hover:border-emerald-400/30 hover:bg-emerald-500/15 hover:text-emerald-100",children:[(0,t.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-[0.22em] text-emerald-300/90",children:"Live community race"}),(0,t.jsx)("span",{className:"h-1 w-1 rounded-full bg-emerald-300"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:ec}),(0,t.jsx)("span",{className:"sm:hidden",children:em})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3 lg:max-w-[18rem] lg:flex-col",children:[(0,t.jsx)("a",{href:"#daily-run",className:"theme-hero-primary-cta rounded-xl border border-white/10 px-5 py-3 text-sm font-semibold transition hover:-translate-y-0.5 hover:opacity-90",children:"Start today's run"}),(0,t.jsx)("a",{href:"#more-daily-games",className:"theme-hero-secondary-cta rounded-xl border border-white/10 px-5 py-3 text-sm font-semibold transition hover:-translate-y-0.5",children:"Browse more games"})]})]})}),(0,t.jsxs)("div",{className:"mb-6 grid gap-3 sm:grid-cols-2 md:grid-cols-3",children:[(0,t.jsxs)("div",{className:"theme-panel rounded-2xl border border-white/10 bg-zinc-900 px-5 py-5",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.24em] text-zinc-500",children:"Top games this week"}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-7 text-zinc-300",children:"Jump into Connections, Wordle, Songless, and GeoGuessr without hopping across tabs first."})]}
1),(0,t.jsxs)("div",{className:"theme-panel rounded-2xl border border-white/10 bg-zinc-900 px-5 py-5",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.24em] text-zinc-500",children:"Save your stack"}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-7 text-zinc-300",children:"Keep your own favorite dailies close so the hub feels personal instead of generic."})]}),(0,t.jsxs)("div",{className:"theme-panel rounded-2xl border border-white/10 bg-zinc-900 px-5 py-5",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.24em] text-zinc-500",children:"Optional creator race"}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-7 text-zinc-300",children:"Finish the run, cast one vote, and help a streamer community climb today's board."})]})]}),(0,t.jsxs)("div",{id:"search-games",className:"theme-search-shell mb-6 scroll-mt-24 rounded-[1.4rem] border border-white/10 p-4 sm:p-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.24em] text-zinc-500",children:"Find a game fast"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-400",children:"Search across the daily run and the wider browser game stack."})]}),eu?(0,t.jsxs)("p",{className:"text-sm text-zinc-400",children:[ef," match",1===ef?"":"es"]}):(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:"Search by title, type, or vibe."})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-3 sm:flex-row",children:[(0,t.jsx)("input",{type:"search",value:Y,onChange:e=>B(e.target.value),placeholder:"Search Wordle, geography, music, movies...",className:"theme-search-input w-full rounded-xl border px-4 py-3 text-sm outline-none transition"}),eu?(0,t.jsx)("button",{type:"button",onClick:()=>B(""),className:"rounded-xl border border-white/10 bg-zinc-950 px-4 py-3 text-sm font-semibold text-zinc-300 transition hover:border-white/20 hover:text-white",children:"Clear"}):null]})]}),(0,t.jsx)("div",{id:"daily-run",className:"theme-panel rounded-[1.75rem] border border-white/10 bg-zinc-900 p-6 scroll-mt-24",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-[0.28em] text-zinc-500",children:"Today's Run"}),(0,t.jsxs)("h2",{className:"mt-2 text-3xl font-black",children:[S,"/4 completed"]}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-400",children:I?"Vote unlocked. Add your community or back a creator once you're ready.":"Finish all four daily games to unlock your vote."})]}),(0,t.jsxs)("div",{className:"w-full max-w-xl",children:[(0,t.jsx)("div",{className:"theme-progress-track h-3 overflow-hidden rounded-full bg-zinc-800",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-emerald-400 transition-all",style:{width:`${S/4*100}%`}})}),(0,t.jsx)("div",{className:"theme-progress-callout mt-4 rounded-xl border border-white/10 bg-zinc-950 px-5 py-4 text-sm",children:I&&"Unlocked"===A?(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)("span",{className:"text-emerald-300",children:"Vote unlocked. Add your community or back a creator."}),(0,t.jsx)("button",{type:"button",onClick:()=>M(!0),className:"rounded-lg bg-emerald-400 px-4 py-2 text-sm font-semibold text-black transition hover:bg-emerald-300",children:"Open creator vote"})]}):"Used today"===A?(0,t.jsxs)("span",{className:"text-zinc-300",children:["Vote cast for today",$?` - backed ${$}`:""]}):(0,t.jsx)("span",{className:"text-zinc-400",children:"Complete all games to unlock your vote"})})]})]})}),(0,t.jsx)("div",{className:"mt-6 grid gap-5 md:grid-cols-2 2xl:grid-cols-4",children:eh.map(e=>(0,t.jsx)(d.default,{game:e,dailyGameNames:X,favoriteState:en.has(j(e)),completedState:el.has(j(e)),syncWithWindow:!1,onStateChange:eo},y(e)))}),eu&&0===eh.length&&(0,t.jsx)("div",{className:"mt-6 rounded-2xl border border-white/10 bg-zinc-900/80 px-5 py-4 text-sm text-zinc-400",children:"No core daily games matched that search."})]})}),l&&e&&eg.length>0&&(0,t.jsx)("section",{className:"border-b border-white/10",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold sm:text-3xl",children:"Your Favorites"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-400",children:"Your saved games stay separate from the official daily run."})]}),(0,t.jsx)("div",{className:"grid gap-5 md:grid-cols-2 xl:grid-cols-3",children:eg.map(e=>(0,t.jsx)(d.default,{game:e,dailyGameNames:X,favoriteState:en.has(j(e)),completedState:el.has(j(e)),syncWithWindow:!1,onStateChange:eo},y(e)))})]})}),l&&e&&(0,t.jsx)("section",{className:"border-b border-white/10",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:[(0,t.jsxs)("div",{className:"mb-6 flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold sm:text-3xl",children:"Your Status"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-400",children:"Your stars, streak, and standing for this account on this browser."})]}),(0,t.jsx)("a",{href:"/rankings",className:"text-sm text-zinc-400 transition hover:text-white",children:"Open rankings"})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-5",children:[(0,t.jsx)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5 xl:col-span-2",children:(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[e.avatarUrl?(0,t.jsx)(r.default,{src:e.avatarUrl,alt:`${e.name}
1 avatar`,width:56,height:56,className:"h-14 w-14 rounded-full border border-white/10 object-cover"}):(0,t.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-full border border-white/10 bg-zinc-950 text-lg font-bold text-zinc-300",children:e.name.slice(0,1)}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:"Player"}),(0,t.jsx)("h3",{className:"truncate text-2xl font-black",children:e.name}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-zinc-400",children:[D.standing.label,$?` - Backed ${$}`:""]}),(0,t.jsx)("div",{className:"mt-3 inline-flex items-center gap-2 rounded-full border border-blue-500/20 bg-blue-500/10 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide text-blue-200",children:"Self-reported"})]})]})}),(0,t.jsxs)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:"Stars"}),(0,t.jsx)("h3",{className:"mt-2 text-3xl font-black",children:D.stars}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-zinc-500",children:["+",D.starsEarnedToday," today"]})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:"Current streak"}),(0,t.jsx)("h3",{className:"mt-2 text-3xl font-black",children:D.currentStreak}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-zinc-500",children:["Longest ",D.longestStreak]})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsx)("p",{className:"text-sm text-zinc-500",children:"Vote status"}),(0,t.jsx)("h3",{className:"mt-2 text-2xl font-black",children:A}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-zinc-500",children:[D.completedRuns," completed run",1===D.completedRuns?"":"s"]})]})]}),(0,t.jsxs)("div",{className:"mt-4 grid gap-4 xl:grid-cols-[1.2fr_0.8fr]",children:[(0,t.jsxs)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-bold",children:"Recent days"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-zinc-400",children:"A quick read on your last seven days of progress."})]}),(0,t.jsx)("span",{className:"rounded-full border border-white/10 bg-zinc-950 px-2.5 py-1 text-[10px] uppercase tracking-wide text-zinc-400",children:"Verification-ready"})]}),(0,t.jsx)("div",{className:"mt-5 grid gap-3 sm:grid-cols-7",children:G.map(e=>{let a=new Date(`${e.dateKey}T00:00:00`).toLocaleDateString("en-US",{weekday:"short"}),r=e.completedRun?"border-emerald-500/25 bg-emerald-500/10 text-emerald-200":e.openedGames>0?"border-white/10 bg-zinc-950 text-zinc-300":"border-white/10 bg-zinc-950/70 text-zinc-500";return(0,t.jsxs)("div",{className:`rounded-lg border p-3 text-center ${r}`,children:[(0,t.jsx)("p",{className:"text-[11px] uppercase tracking-wide",children:a}),(0,t.jsx)("p",{className:"mt-3 text-lg font-black",children:e.completedRun?"4/4":`${e.openedGames}`}),(0,t.jsx)("p",{className:"mt-1 text-[11px] text-current/80",children:e.completedRun?"Run done":e.openedGames>0?`${e.starsEarned} stars`:"Quiet"})]},e.dateKey)})})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsx)("h3",{className:"text-lg font-bold",children:"Next step"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-zinc-300",children:ed}),(0,t.jsx)("p",{className:"mt-4 text-xs text-zinc-500",children:"Browser progress is self-reported today. E
1xtension verification can upgrade this later without changing your loop."})]})]}),(0,t.jsxs)("div",{className:"mt-4 rounded-lg border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-bold",children:"Milestones"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-zinc-400",children:"Small badges that make progress visible between runs."})]})}),(0,t.jsx)("div",{className:"mt-5 grid gap-3 md:grid-cols-2 xl:grid-cols-4",children:ei.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border border-yellow-500/20 bg-yellow-500/10 p-4",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-yellow-200",children:e.label}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-yellow-100/85",children:e.description})]},e.id))})]})]})}),(0,t.jsx)("section",{className:"border-b border-white/10",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl px-6 py-8",children:(0,t.jsx)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-6",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-xl font-bold",children:"How creator voting works"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-zinc-300",children:"Finish the run, unlock one vote for today, and back the creator community you want to see at the top of the board."})]}),(0,t.jsx)("a",{href:"/rankings",className:"rounded-lg bg-white px-5 py-3 text-sm font-semibold text-black transition hover:opacity-90",children:"View rankings"})]})})})}),(0,t.jsx)("section",{className:"border-b border-white/10",children:(0,t.jsxs)("div",{id:"more-daily-games",className:"mx-auto max-w-6xl px-6 py-10 scroll-mt-24",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold sm:text-3xl",children:"Browse more daily games"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-400",children:"Start with the weekly headliners, then narrow the rest by play style instead of scanning a wall of cards."})]}),ep.length>0&&ey.length>0&&(0,t.jsxs)("div",{className:"rounded-[1.5rem] border border-white/10 bg-zinc-900 p-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.24em] text-zinc-500",children:"Rest of the catalog"}),(0,t.jsx)("h3",{className:"mt-2 text-xl font-bold text-white",children:"Choose a game group"}),(0,t.jsx)("p",{className:"mt-2 max-w-2xl text-sm leading-6 text-zinc-400",children:"Pick one group like Newly added, Corflex, or Guess, then browse every game inside that group here."})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:eb.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>J(e),className:`rounded-full border px-3 py-1.5 text-xs font-semibold uppercase tracking-wide transition ${W===e?"border-white/30 bg-white text-black":"border-white/10 bg-zinc-950 text-zinc-300 hover:border-white/20 hover:text-white"}`,children:e},e))}),(0,t.jsxs)("label",{className:"block w-full max-w-md lg:self-end",children:[(0,t.jsx)("span",{className:"sr-only",children:"Choose a game group"}),(0,t.jsx)("select",{value:W,onChange:e=>J(e.target.value),className:"w-full rounded-xl border border-white/10 bg-zinc-950 px-4 py-3 text-sm text-white outline-none transition hover:border-white/20 focus:border-white/30",children:ew.map(([e,a])=>(0,t.jsxs)("option",{value:e,children:[e," (",a.length,")"]},e))})]})]}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsxs)("p",{className:"text-sm text-zinc-400",children:["Showing ",ey.length," game",1===ey.length?"":"s"," from"," ",(0,t.jsx)("span",{className:"font-medium text-zinc-900 dark:text-zinc-200",children:W}),"."]})}),(0,t.jsx)("div",{className:"mt-5 grid gap-5 md:grid-cols-2 2xl:grid-cols-3",children:ey.map(e=>(0,t.jsx)(d.default,{game:e,dailyGameNames:X,favoriteState:en.has(j(e)),completedState:el.has(j(e)),syncWithWindow:!1,onStateChange:eo},y(e)))}),(0,t.jsxs)("details",{className:"mt-5 rounded-2xl border border-white/10 bg-zinc-950/70",onToggle:e=>q(e.currentTarget.open),children:[(0,t.jsxs)("summary",{className:"cursor-pointer list-none px-5 py-4 text-sm font-semibold text-zinc-200 marker:hidden",children:["Show the full catalog (",ep.length,")"]}),H?(0,t.jsx)("div",{className:"border-t border-white/10 px-5 py-5",children:(0,t.jsx)("div",{className:"grid gap-5 md:grid-cols-2 2xl:grid-cols-3",children:ep.map(e=>(0,t.jsx)(d.default,{game:e,dailyGameNames:X,favoriteState:en.has(j(e)),completedState:el.has(j(e)),syncWithWindow:!1,onStateChange:eo},y(e)))})}):null]})]}),eu&&0===ep.length&&(0,t.jsx)("div",{className:"mt-6 rounded-2xl border border-white/10 bg-zinc-900/80 px-5 py-4 text-sm text-zinc-400",children:"No extra daily games matched that filter yet."})]})}),(0,t.jsx)("section",{children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:(0,t.jsx)("div",{className:"rounded-lg border border-white/10 bg-zinc-900 p-6",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-xl font-bold",children:"Know a daily game that belongs here?"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-zinc-300",children:"Send the title and link for review."})]}),(0,t.jsx)("a",{href:"/submit",className:"rounded-lg bg-white px-5 py-3 text-sm font-semibold text-black transition hover:opacity-90",children:"Submit a game"})]})})})}),(0,t.jsx)(o,{includeHeader:!0}),(0,t.jsx)("section",{className:"border-t border-white/10",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6 py-10",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-end justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-[0.28em] text-zinc-500",children:"Community hub"}),(0,t.jsx)("h2",{className:"mt-2 text-2xl font-black tracking-tight sm:text-3xl",children:"Rally your audience around the daily race"})]}),(0,t.jsx)(n.default,{href:"/lead-community",className:"text-sm font-medium text-zinc-300 transition hover:text-white",children:"View lead community"})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-3",children:[(0,t.jsxs)(n.default,{href:"/lead-community",className:"rounded-2xl border border-white/10 bg-zinc-900 p-5 transition hover:border-white/20",children:[(0,t.jsx)("p",{className:"text-lg font-semibold",children:"Lead Community"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-7 text-zinc-300",children:"Show which streamer community is leading today, this week, and across the full race."})]}),(0,t.jsxs)(n.default,{href:"/rankings",className:"rounded-2xl border border-white/10 bg-zinc-900 p-5 transition hover:border-white/20",children:[(0,t.jsx)("p",{className:"text-lg font-semibold",children:"Creator rankings"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-7 text-zinc-300",children:"Track the full board, your run stats, and where today's momentum is moving."})]}),(0,t.jsxs)(n.default,{href:"/pro",className:"rounded-2xl border border-white/10 bg-zinc-900 p-5 transition hover:border-white/20",children:[(0,t.jsx)("p",{className:"text-lg font-semibold",children:"Pitch it to creators"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-7 text-zinc-300",children:"Position Dailies.games as a simple daily habit plus community competition loop."})]})]})]})}),(0,t.jsx)(i.default,{})]}),(0,t.jsx)(p,{dailyGameNames:X,open:E,onClose:()=>M(!1)})]})}],58586)},82701,e=>{e.v(t=>Promise.all(["static/chunks/17n36b_7wei22.js"].map(t=>e.l(t))).then(()=>t(40212)))},79946,e=>{e.v(t=>Promise.all(["static/chunks/0v5uh8hxl_p2k.js"].map(t=>e.l(t))).then(()=>t(75746)))},47445,e=>{e.v(t=>Promise.all(["static/chunks/08jkiko8ce6id.js"].map(t=>e.l(t))).then(()=>t(82142)))}]);

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.