1import{j as e,f as n,P as r,ai as s,d as a}from"./index-BivhYt2x.js";import{L as t,k as l,b as o}from"./vendor-uAoOi1mV.js";import{I as i}from"./InstallExtensionButton-Ce0G6p4k.js";function d(){return e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("div",{className:"text-xl font-semibold",children:"what TubeNXT can do for you?"}),e.jsxs("div",{className:"flex flex-row gap-9 text-lg text-center",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-cyan-500",children:"+630%"})," ",e.jsx("br",{})," increase in audience"]}),e.jsxs("div",{children:[e.jsx("span",{className:"text-cyan-500",children:"+350%"})," ",e.jsx("br",{})," growth in youtube"]}),e.jsxs("div",{children:[e.jsx("span",{className:"text-cyan-500",children:"+220%"})," ",e.jsx("br",{})," increase in revenue"]})]})]})}function c({channel:r}){const s=`/channel/${r.channelId}`;return e.jsxs(t,{to:s,className:"flex h-[170px] w-[140px] cursor-pointer flex-col items-center justify-center gap-1.5 rounded-md border-[1.5px] border-slate-300 bg-white p-3 text-inherit no-underline hover:bg-gray-100",children:[e.jsx("img",{referrerPolicy:"no-referrer",loading:"lazy",className:"size-19 rounded-full",src:r.thumbnailUrl,alt:`${r.channelName} thumbnail`}),e.jsx("div",{className:"w-32 overflow-hidden text-ellipsis whitespace-nowrap text-center",children:r.channelName}),e.jsxs("div",{children:[n(r.subscriberCount)," Subs"]})]})}function u({popularChannel:n}){return e.jsx("div",{className:"flex flex-row flex-wrap md:justify-start justify-center gap-4 ",children:null==n?void 0:n.map(n=>e.jsx("div",{children:e.jsx(c,{channel:n})},n.channelId))})}function x(){return e.jsxs("div",{className:"flex flex-row md:flex-nowrap flex-wrap gap-6 items-center justify-evenly border-[1.5px] border-slate-300 rounded-md p-6 bg-sky-100",children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"text-2xl font-semibold",children:"Get the Chrome Extension"}),e.jsx("div",{className:"break-words max-w-[590px] text-base",children:"Install the TubeNxt Chrome extension to access AI-powered title and description generation, keyword analyzer, tag management and more"})]}),e.jsx(i,{})]})}const m=()=>{const{srcid:n}=l(),[t,i]=o.useState({}),[c,m]=o.useState(null),[p,h]=o.useState(""),[f,b]=o.useState(!0),w={"@context":"https://schema.org","@type":"WebPage",name:"Home",description:"TubeNXT provides tools and knowledge to accelerate audience growth on YouTube and beyond",url:"undefined"!=typeof window?window.location.href:"",publisher:{"@type":"Organization",name:"TubeNXT",url:"https://www.tubenxt.com"}};return o.useEffect(()=>{const e=new AbortController;return(async()=>{var n,r;try{b(!0),h("");const[s,t]=await Promise.all([a.get("api/YoutubeChannel/GetYoutubePopularChannel",{signal:e.signal}),a.get("api/YoutubeChannel/GetYoutubePopularChannelWorldWide",{signal:e.signal})]);if(e.signal.aborted)return;i((null==(n=s.data)?void 0:n.data)??{}),m((null==(r=t.data)?void 0:r.data)??null)}catch(s){if("CanceledError"===(null==s?void 0:s.name)||"ERR_CANCELED"===(null==s?void 0:s.code))return;h(s instanceof Error?s.message:"Unable to load homepage data.")}finally{e.signal.aborted||b(!1)}})(),()=>{e.abort()}},[]),o.useEffect(()=>{if(!n)return;const e=new AbortController;return(async()=>{try{await a.post("api/AdTrack/TrackAd",{srcid:n},{signal:e.signal})}catch(r){if("CanceledError"===(null==r?void 0:r.name)||"ERR_CANCELED"===(null==r?void 0:r.code))return}})(),()=>{e.abort()}},[n]),e.jsxs("main",{className:"\r\n relative\r\n mx-auto\r\n flex\r\n w-full\r\n min-w-0\r\n max-w-[1380px]\r\n flex-col\r\n items-center\r\n justify-center\r\n gap-6\r\n overflow-x-hidden\r\n px-3\r\n py-6\r\n\r\n sm:px-4\r\n sm:py-8\r\n\r\n lg:px-6\r\n lg:py-9\r\n ","aria-busy":f,children:[e.jsx(r,{title:"TubeNXT â AI Tools & Analytics for YouTube Creators",description:"TubeNXT helps YouTube creators grow with AI-powered keyword research, video SEO tools, deep analytics, and real-time optimization. Create smarter, rank higher, grow faster.",keywords:"YouTube SEO tools, AI for YouTube, keyword research, YouTube analytics, grow YouTube channel",json_ld:w}),f&&e.jsxs("div",{className:"\r\n absolute\r\n inset-0\r\n z-40\r\n flex\r\n items-center\r\n justify-center\r\n bg-white/60\r\n backdrop-blur-[1px]\r\n ",role:"status","aria-label":"Loading homepage",children:[e.jsx("div",{className:"\r\n size-9\r\n animate-spin\r\n rounded-full\r\n border-4\r\n border-blue-500\r\n border-t-transparent\r\n\r\n sm:size-10\r\n "}),e.jsx("span",{className:"sr-only",children:"Loading homepage"})]}),e.jsxs("section",{className:"\r\n flex\r\n w-full\r\n min-w-0\r\n max-w-2xl\r\n flex-col\r\n items-center\r\n ",children:[e.jsx("h1",{className:"\r\n text-center\r\n text-3xl\r\n font-bold\r\n leading-tight\r\n\r\n sm:text-4xl\r\n md:text-5xl\r\n ",children:"Discover YouTube Statistics"}),e.jsx("div",{className:"w-full min-w-0",children:e.jsx(s,{searchIconCssClass:"!size-9 bg-blue-500",cssClass:"\r\n mt-5\r\n w-full\r\n min-w-0\r\n border-2\r\n border-blue-500\r\n p-2.5\r\n\r\n sm:mt-6\r\n sm:p-3\r\n ",channelsWorldWide:c})})]}),e.jsx("p",{className:"\r\n w-full\r\n max-w-[920px]\r\n px-1\r\n text-center\r\n text-sm\r\n leading-relaxed\r\n text-slate-700\r\n\r\n sm:px-3\r\n sm:text-base\r\n\r\n md:text-[17px]\r\n ",children:"Get the latest insights and metrics on YouTube channels and videos. Our powerful platform offers advanced tools for optimizing video performance, enhancing SEO, and managing video descriptions and tags."}),p&&!f&&e.jsx("div",{className:"\r\n w-full\r\n max-w-[930px]\r\n rounded-lg\r\n border\r\n border-red-200\r\n bg-red-50\r\n px-3\r\n py-2\r\n text-center\r\n text-sm\r\n text-red-700\r\n\r\n sm:px-4\r\n sm:py-3\r\n ",role:"alert",children:p}),e.jsxs("section",{className:"\r\n flex\r\n w-full\r\n min-w-0\r\n max-w-[930px]\r\n flex-col\r\n items-center\r\n gap-6\r\n ",children:[e.jsx("div",{className:"w-full min-w-0",children:e.jsx(x,{})}),e.jsx("h2",{className:"\r\n w-full\r\n text-left\r\n text-xl\r\n font-semibold\r\n leading-tight\r\n\r\n md:text-2xl\r\n ",children:"Popular Channels"}),e.jsx("div",{className:"w-full min-w-0",children:e.jsx(u,{popularChannel:(null==t?void 0:t.popularYoutubeChannels)??[]})})]}),e.jsx("div",{className:"\r\n w-full\r\n min-w-0\r\n max-w-[1000px]\r\n overflow-hidden\r\n ",children:e.jsxs("video",{className:"\r\n block\r\n h-auto\r\n w-full\r\n max-w-full\r\n object-contain\r\n ",width:1e3,loop:!0,muted:!0,autoPlay:!0,playsInl
1ine:!0,preload:"metadata",poster:"https://raw.githubusercontent.com/tubenxt2024/asset/main/ka_poster.webp",children:[e.jsx("source",{src:"https://raw.githubusercontent.com/tubenxt2024/asset/main/ka2.webm",type:"video/webm"}),e.jsx("source",{src:"https://raw.githubusercontent.com/tubenxt2024/asset/main/ka2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]})}),e.jsx("div",{className:"w-full min-w-0",children:e.jsx(d,{})})]})};export{m 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.