1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{39:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(5155),n=r(2115),o=r(5239);function s(e){let{slug:t,question:r,revealAt:s,thumbA:l,thumbB:i,compact:c=!1}=e,d="faceoff_voted:".concat(t),[u,m]=(0,n.useState)(null),[h,f]=(0,n.useState)(!1),[x,g]=(0,n.useState)(null);async function p(e){if(!u&&!h){f(!0),g(null);try{var r;let a=await fetch("/api/faceoff/vote",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:t,choice:e})}),n=await a.json().catch(()=>null);if(!a.ok)throw Error((null==n?void 0:n.error)||"vote failed");let o={choice:e,counts:n.counts};m(o);try{localStorage.setItem(d,JSON.stringify(o))}catch(e){}null==(r=window.mvt)||r.track("faceoff_vote")}catch(e){g("voting closed"===e.message?"Voting has closed for this face-off.":"Vote failed â try again.")}finally{f(!1)}}}(0,n.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem(d)||"null");(null==e?void 0:e.choice)&&m(e)}catch(e){}},[d]);let b=(null==u?void 0:u.counts)||{a:0,b:0},v=b.a+b.b,j=v>0?Math.round(b.a/v*100):50,y=new Date(s).toLocaleDateString("en-US",{weekday:"long",month:"short",day:"numeric"});return(0,a.jsxs)("div",{"data-track-section":"faceoff_vote",children:[(0,a.jsx)("p",{className:c?"mb-3 text-[13px] font-semibold leading-snug tracking-tight":"mb-4 text-[16px] font-semibold tracking-tight sm:text-[17px]",children:r}),(0,a.jsxs)("div",{className:"relative grid grid-cols-2 ".concat(c?"gap-2.5":"gap-3 sm:gap-5"),children:[[{key:"a",thumb:l},{key:"b",thumb:i}].map(e=>{let{key:t,thumb:r}=e,n=(null==u?void 0:u.choice)===t;return(0,a.jsxs)("button",{type:"button",onClick:()=>p(t),disabled:h||!!u,"aria-label":"Vote for thumbnail ".concat(t.toUpperCase()),className:"group relative overflow-hidden rounded-lg border-2 text-left transition-all ".concat(n?"border-brand":u?"border-border opacity-70":"border-border hover:border-brand"," ").concat(u?"cursor-default":"cursor-pointer"),children:[(0,a.jsx)("span",{className:"relative block aspect-video w-full bg-secondary",children:(0,a.jsx)(o.default,{src:r,alt:"Thumbnail ".concat(t.toUpperCase()),fill:!0,sizes:"(max-width: 640px) 50vw, 480px",className:"object-cover",unoptimized:!0})}),(0,a.jsxs)("span",{className:"flex items-center justify-between ".concat(c?"px-2 py-1.5":"px-3 py-2.5"),children:[(0,a.jsx)("span",{className:"font-semibold uppercase text-muted-foreground ".concat(c?"text-[9px] tracking-[0.08em]":"text-[11px] tracking-[0.1em]"),children:c?t.toUpperCase():"Thumbnail ".concat(t.toUpperCase())}),n?(0,a.jsx)("span",{className:"font-semibold uppercase tracking-[0.08em] text-brand ".concat(c?"text-[9px]":"text-[11px]"),children:"Your pick"}):u?null:(0,a.jsx)("span",{className:"font-semibold uppercase tracking-[0.08em] text-muted-foreground group-hover:text-brand ".concat(c?"text-[9px]":"text-[11px]"),children:"Vote"})]})]},t)}),(0,a.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 -translate-x-1/2 -translate-y-1/2 grid place-items-center rounded-full border border-border bg-background font-bold tracking-tight ".concat(c?"top-[42%] h-7 w-7 text-[9.5px]":"top-[38%] h-10 w-10 text-[12px]"),children:"VS"})]}),x&&(0,a.jsx)("p",{className:"mt-3 text-[13px] text-red-600",children:x}),u?(0,a.jsxs)("div",{className:c?"mt-2.5":"mt-4",children:[(0,a.jsxs)("div",{className:"flex overflow-hidden rounded-sm bg-secondary ".concat(c?"h-2":"h-2.5"),"aria-hidden":"true",children:[(0,a.jsx)("i",{className:"bg-brand",style:{width:"".concat(j,"%")}}
1),(0,a.jsx)("i",{className:"bg-foreground/25",style:{width:"".concat(100-j,"%")}})]}),(0,a.jsxs)("div",{className:"mt-1.5 flex justify-between font-medium uppercase tracking-[0.06em] text-muted-foreground ".concat(c?"text-[9.5px]":"text-[11px]"),children:[(0,a.jsxs)("span",{children:["A \xb7 ",j,"%"]}),(0,a.jsxs)("span",{children:[100-j,"% \xb7 B"]})]}),(0,a.jsx)("p",{className:"text-muted-foreground ".concat(c?"mt-2 text-[11.5px] leading-snug":"mt-3 text-[13.5px]"),children:c?(0,a.jsxs)(a.Fragment,{children:["Vote in. The chart decides â reveal ",y,"."]}):(0,a.jsxs)(a.Fragment,{children:["Vote recorded. The chart's verdict â and what each video actually was â drops"," ",(0,a.jsx)("b",{className:"font-semibold text-foreground",children:y}),"."]})})]}):null]})}},456:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,7011,23)),Promise.resolve().then(r.t.bind(r,3673,23)),Promise.resolve().then(r.bind(r,6918)),Promise.resolve().then(r.bind(r,6641)),Promise.resolve().then(r.bind(r,3186)),Promise.resolve().then(r.bind(r,1571)),Promise.resolve().then(r.bind(r,5492))},885:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5155);function n(e){let{className:t="",size:r=16,title:n="mostviewed.today"}=e,o=r/16,s=3.5*o;return(0,a.jsx)("span",{className:"inline-flex items-end ".concat(t),style:{height:r,gap:2*o},role:"img","aria-label":n,children:[7,12,16,10].map((e,t)=>(0,a.jsx)("i",{className:"block rounded-[1px] bg-current",style:{width:s,height:e*o}},t))})}},1571:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(2115);let n=e=>String(e).toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"").slice(0,32),o=e=>{var t;e&&(null==(t=window.mvt)||t.track(e))};function s(){return(0,a.useEffect)(()=>{let e=new Set,t=new IntersectionObserver(r=>{for(let a of r){if(!a.isIntersecting||a.intersectionRatio<.25&&a.intersectionRect.height<350)continue;let r=location.pathname+"#"+a.target.dataset.trackSection;e.has(r)||(e.add(r),o("scroll_"+n(a.target.dataset.trackSection)),t.unobserve(a.target))}},{threshold:[0,.1,.25]}),r=new WeakSet,a=()=>{document.querySelectorAll("[data-track-section]").forEach(e=>{r.has(e)||(r.add(e),t.observe(e))})};a();let s=new MutationObserver(a);s.observe(document.body,{childList:!0,subtree:!0});let l=e=>{var t,r,a,s;let l=null==(t=(r=e.target).closest)?void 0:t.call(r,"[data-goal]");if(l)return void o(n(l.dataset.goal));let i=null==(a=(s=e.target).closest)?void 0:a.call(s,"a");if(!i||!i.href)return;let c=i.closest("header")?"nav":i.closest("footer")?"footer":null;if(c)try{let e=new URL(i.href,location.href),t=e.origin===location.origin?"/"===e.pathname?"home":n(e.pathname):"ext_"+n(e.hostname.replace(/^www\./,""));o("click_"+c+"_"+t)}catch(e){}};return document.addEventListener("click",l,!0),()=>{t.disconnect(),s.disconnect(),document.removeEventListener("click",l,!0)}},[]),null}},3186:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(5155),n=r(2115);let o="mvt_privacy_toast";function s(){let[e,t]=(0,n.useState)(!1);(0,n.useEffect)(()=>{try{if(localStorage.getItem(o))return}catch(e){return}let e=setTimeout(()=>t(!0),1800);return()=>clearTimeout(e)},[]);let r=()=>{t(!1);try{localStorage.setItem(o,"1")}catch(e){}};return e?(0,a.jsxs)("div",{"data-site-chrome":!0,role:"status",className:"fixed bottom-4 left-4 right-4 z-50 mx-auto max-w-sm animate-[toast-in_.35s_ease-out] rounded-xl border border-black/10 bg-white p-4 shadow-[0_12px_40px_rgba(0,0,0,.18)] sm:left-auto sm:right-5 sm:bottom-5 sm:mx-0",children:[(0,a.jsx)("p",{className:"text-[14px] font-bold tracking-tight text-foreground",children:"We count visits, we don't follow you around"}),(0,a.jsx)("p",{className:"mt-1.5 text-[12.5px] leading-relaxed text-foreground/70",children:"To make this site better we keep track of which pages get read, what country visits come from, and whether you've been here before â via one anonymous random ID. No names, no stored IPs, nothing sold or shared. That's the whole list."}),(0,a.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,a.jsx)("button",{onClick:r,className:"rounded-md bg-brand px-3.5 py-1.5 text-[12.5px] font-semibold text-white transition-opacity hover:opacity-90",children:"Nice,
1carry on"}),(0,a.jsx)("a",{href:"/privacy",onClick:r,className:"text-[12.5px] font-medium text-foreground/55 underline underline-offset-2 hover:text-foreground",children:"The full (short) story"})]})]}):null}},3673:()=>{},5492:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var a=r(2115);function n(){return(0,a.useEffect)(()=>{},[]),null}r(6519)},6641:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var a=r(5155),n=r(2619),o=r.n(n),s=r(2115),l=r(9068),i=r(4033),c=r(5229),d=r(9540),u=r(885),m=r(63),h=r(9903);let f=[{href:"/",label:"Global trending"},{href:"/shorts",label:"Global shorts"},{href:"/trending-now",label:"Trending now"},{href:"/top-creators",label:"Top creators"}],x=[{href:"/viral-videos",label:"Viral videos"},{href:"/most-liked",label:"Most liked"},{href:"/breaking-videos",label:"Breaking videos"},{href:"/weekly-charts",label:"Weekly charts"},{href:"/monthly-top",label:"Monthly top"}],g=[{href:"/countdown",label:"Countdown"},{href:"/faceoff",label:"Face-Off"},{href:"/reports/june-2026",label:"Reports"},{href:"/brands",label:"For Brands"},{href:"/creators",label:"For Creators"}];function p(){let e=(0,m.usePathname)(),t=function(e){if(!e||"/"===e)return"Global";let t=e.toLowerCase();if(t.startsWith("/trending/")){let e=t.replace("/trending/","").split("/")[0];return e?e.toUpperCase():"Region"}return t.startsWith("/category/")?"Category":"/shorts"===t?"Shorts":"Global"}(e),[r,n]=(0,s.useState)(!1),[p,w]=(0,s.useState)(!1),N=(0,s.useRef)(null),k=(null==e?void 0:e.startsWith("/brands"))||(null==e?void 0:e.startsWith("/creators"));return(0,s.useEffect)(()=>{n(!1),w(!1)},[e]),(0,s.useEffect)(()=>{if(r)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){N.current&&!N.current.contains(e.target)&&n(!1)}function t(e){"Escape"===e.key&&n(!1)}},[r]),(0,s.useEffect)(()=>{if(p)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){"Escape"===e.key&&w(!1)}},[p]),(0,a.jsxs)("header",{className:"sticky top-0 z-30 border-b border-border bg-background/85 backdrop-blur",children:[!k&&(0,a.jsxs)("a",{href:"https://chromewebstore.google.com/detail/most-viewed-today-%E2%80%94-youtu/omllimajfefnageigjojhcfdaodmealj",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-1.5 bg-black px-4 py-1.5 text-[12px] text-white hover:bg-zinc-900 transition-colors text-center",children:[(0,a.jsx)("span",{className:"hidden sm:inline",children:"Our Chrome Extension is live â see YouTube trending data right in your browser."}),(0,a.jsx)("span",{className:"sm:hidden",children:"Chrome Extension is live."}),(0,a.jsx)("span",{className:"font-semibold underline underline-offset-2 whitespace-nowrap",children:"Install free â"})]}),(0,a.jsxs)("div",{className:"mx-auto flex h-12 max-w-[1400px] items-center px-4 sm:px-6",children:[(0,a.jsxs)(o(),{href:"/",className:"flex items-center gap-1.5 text-[15px] font-semibold tracking-tight",children:[(0,a.jsx)(u.A,{className:"text-[#2456c8]"}),(0,a.jsxs)("span",{children:["mostviewed",(0,a.jsx)("span",{className:"text-gray-400",children:".today"})]})]}),(0,a.jsxs)("div",{className:"ml-auto hidden items-center gap-6 sm:flex",ref:N,children:[(0,a.jsx)(o(),{href:"/faceoff",className:"text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground",children:"Face-Off"}),(0,a.jsx)(o(),{href:"/countdown",className:"text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground",children:"Countdown"}),(0,a.jsx)(o(),{href:"/reports/june-2026",className:"text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground",children:"Reports"}),(0,a.jsx)(o(),{href:"/creators",className:"hidden text-[13px] font-medium text-muted-foreground transition-colors hover:text-foreground md:inline",children:"For Creators"}),(0,a.jsx)(o(),{href:"/brands",className:"rounded-md border border-foreground px-3 py-1.5 text-[12px] font-semibold text-foreground transition-colors hover:bg-foreground hover:text-background",children:"For Brands"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("button",{type:"button","aria-haspopup":"menu","aria-expanded":r,onClick:()=>n(e=>!e),className:"flex items-center gap-1.5 rounded-md border border-border bg-card px-2.5 py-1.5 text-[12px] hover:bg-hover-row",children:[(0,a.jsx)(l.A,{className:"h-3.5 w-3.5"}),t,(0,a.jsx)(i.A,{className:"h-3 w-3 opacity-60 transition-transform ".concat(r?"rotate-180":"")})]}
1),r?(0,a.jsx)("div",{role:"menu",className:"absolute right-0 top-[calc(100%+6px)] z-40 w-[min(560px,calc(100vw-32px))] overflow-hidden rounded-xl border border-border bg-card shadow-lg",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-px bg-border sm:grid-cols-3",children:[(0,a.jsx)(j,{title:"Region",children:h.c.map(e=>(0,a.jsxs)(y,{href:"/trending/".concat(e.slug),children:[(0,a.jsx)("span",{className:"mr-1.5",children:e.flag}),e.name]},e.code))}),(0,a.jsx)(j,{title:"Category",children:h.U.map(e=>(0,a.jsx)(y,{href:"/category/".concat(e.slug),children:e.name},e.id))}),(0,a.jsxs)(j,{title:"Discover",children:[f.map(e=>(0,a.jsx)(y,{href:e.href,children:e.label},e.href)),(0,a.jsx)("div",{className:"my-1 border-t border-border"}),x.map(e=>(0,a.jsx)(y,{href:e.href,children:e.label},e.href))]})]})}):null]})]}),(0,a.jsx)("button",{type:"button","aria-label":p?"Close menu":"Open menu","aria-expanded":p,onClick:()=>w(e=>!e),className:"ml-auto grid h-9 w-9 place-items-center rounded-md text-foreground hover:bg-hover-row sm:hidden",children:p?(0,a.jsx)(c.A,{className:"h-5 w-5"}):(0,a.jsx)(d.A,{className:"h-5 w-5"})})]}),p?(0,a.jsx)("div",{className:"max-h-[calc(100dvh-6.5rem)] overflow-y-auto border-t border-border bg-background sm:hidden",children:(0,a.jsxs)("nav",{className:"px-4 py-3",children:[(0,a.jsx)("ul",{className:"mb-2 border-b border-border pb-2",children:g.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(o(),{href:e.href,className:"block rounded-md px-2 py-2.5 text-[14px] font-semibold text-foreground hover:bg-hover-row",children:e.label})},e.href))}),(0,a.jsx)(b,{title:"Region",children:h.c.map(e=>(0,a.jsxs)(v,{href:"/trending/".concat(e.slug),children:[(0,a.jsx)("span",{className:"mr-1.5",children:e.flag}),e.name]},e.code))}),(0,a.jsx)(b,{title:"Category",children:h.U.map(e=>(0,a.jsx)(v,{href:"/category/".concat(e.slug),children:e.name},e.id))}),(0,a.jsx)(b,{title:"Discover",children:[...f,...x].map(e=>(0,a.jsx)(v,{href:e.href,children:e.label},e.href))})]})}):null]})}function b(e){let{title:t,children:r}=e;return(0,a.jsxs)("div",{className:"mb-2 border-b border-border pb-2 last:mb-0 last:border-b-0 last:pb-0",children:[(0,a.jsx)("div",{className:"px-2 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:t}),(0,a.jsx)("ul",{className:"grid grid-cols-2",children:r})]})}function v(e){let{href:t,children:r}=e;return(0,a.jsx)("li",{children:(0,a.jsx)(o(),{href:t,className:"block rounded-md px-2 py-1.5 text-[13px] text-foreground/80 hover:bg-hover-row",children:r})})}function j(e){let{title:t,children:r}=e;return(0,a.jsxs)("div",{className:"bg-card p-3",children:[(0,a.jsx)("div",{className:"mb-1.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:t}),(0,a.jsx)("ul",{className:"space-y-0.5",children:r})]})}function y(e){let{href:t,children:r}=e;return(0,a.jsx)("li",{children:(0,a.jsx)(o(),{href:t,className:"block rounded-md px-2 py-1 text-[12px] text-foreground/80 transition-colors hover:bg-hover-row hover:text-foreground",children:r})})}},6918:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var a=r(5155),n=r(2115),o=r(63),s=r(2619),l=r.n(s),i=r(39);function c(){let e=(0,o.usePathname)(),[t,r]=(0,n.useState)(null),[s,c]=(0,n.useState)(!1),d=null==e?void 0:e.startsWith("/faceoff");function u(){if(!t)return void c(!1);try{localStorage.setItem("faceoff_modal_seen:".concat(t.slug),"1")}catch(e){}c(!1)}return((0,n.useEffect)(()=>{let e;if(d)return;let t=!1;return(async()=>{try{let a=await fetch("/api/faceoff/current");if(!a.ok)return;let n=await a.json();if(t||!(null==n?void 0:n.open))return;try{if(localStorage.getItem("faceoff_modal_seen:".concat(n.slug))||localStorage.getItem("faceoff_voted:".concat(n.slug)))return}catch(e){}r(n),e=setTimeout(()=>{t||c(!0)},1500)}catch(e){}})(),()=>{t=!0,e&&clearTimeout(e)}},[d]),(0,n.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"===e.key&&u()};window.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",e),document.body.style.overflow=t}},[s]),s&&t)?(0,a.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"faceoff-modal-title",className:"fixed inset-0 z-[100] flex items-center justify-center px-4 py-6",children:[(0,a.jsx)("button",{type:"button","aria-label":"Close face-off",onClick:u,className:"absolute inset-0 bg-black/55 backdrop-blur-[2px]"}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-[520px] rounded-2xl bg-background p-5 shadow-2xl sm:p-6",children:[(0,a.jsxs)("div",{className:"mb-4 flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{id:"faceoff-modal-title",className:"text-[10px] font-bold uppercase tracking-[0.14em]",children:[(0,a.jsx)("span",{className:"text-brand",children:"Face-Off"})," \xb7 call the race"]}),(0,a.jsxs)("p",{className:"mt-1 text-[11.5px] text-muted-foreground",children:["Blind vote â thumbnails only."," ",(0,a.jsx)(l(),{href:"/faceoff",onClick:u,className:"font-semibold text-brand hover:underline",children:"See all â"})]})]}),(0,a.jsx)("button",{type:"button",onClick:u,"aria-label":"Dismiss",className:"-mr-1 -mt-1 flex h-8 w-8 flex-none items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M2 2l10 10M12 2L2 12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})})})]}),(0,a.jsx)(i.default,{slug:t.slug,question:t.question,revealAt:t.reveal_at,thumbA:t.thumb_a,thumbB:t.thumb_b,compact:!0})]})]}):null}},9903:(e,t,r)=>{"use strict";r.d(t,{U:()=>a,c:()=>n});let a=[{id:10,name:"Music",slug:"music"},{id:20,name:"Gaming",slug:"gaming"},{id:17,name:"Sports",slug:"sports"},{id:24,name:"Entertainment",slug:"entertainment"},{id:25,name:"News & Politics",slug:"news-politics"},{id:26,name:"Howto & Style",slug:"howto-style"},{id:23,name:"Comedy",slug:"comedy"},{id:22,name:"People & Blogs",slug:"people-blogs"},{id:28,name:"Science & Technology",slug:"science-technology"},{id:27,name:"Education",slug:"education"},{id:1,name:"Film & Animation",slug:"film-animation"},{id:2,name:"Autos & Vehicles",slug:"autos-vehicles"},{id:15,name:"Pets & Animals",slug:"pets-animals"}],n=[{code:"US",name:"United States",slug:"usa",flag:"\uD83C\uDDFA\uD83C\uDDF8"},{code:"GB",name:"United Kingdom",slug:"uk",flag:"\uD83C\uDDEC\uD83C\uDDE7"},{code:"CA",name:"Canada",slug:"canada",flag:"\uD83C\uDDE8\uD83C\uDDE6"},{code:"AU",name:"Australia",slug:"australia",flag:"\uD83C\uDDE6\uD83C\uDDFA"},{code:"IN",name:"India",slug:"india",flag:"\uD83C\uDDEE\uD83C\uDDF3"},{code:"DE",name:"Germany",slug:"germany",flag:"\uD83C\uDDE9\uD83C\uDDEA"},{code:"BR",name:"Brazil",slug:"brazil",flag:"\uD83C\uDDE7\uD83C\uDDF7"}]}},e=>{e.O(0,[2328,2619,1356,4080,8441,1255,7358],()=>e(e.s=456)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.