PageSourceSearch

https://yttranscript.ai/_next/static/chunks/c2096f82f7d0a0da.js?dpl=dpl_5EdDgQoku2WviR4dLkqvwVcqv73P

js yttranscript.ai collected 2026-10-05 13:20:14 UTC 35,366 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58234,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(50974);function s(){return(0,t.jsx)("footer",{className:"border-t border-white/5 bg-[var(--page-bg)] py-12",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-6xl px-6",children:(0,t.jsxs)("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(n.default,{size:"sm"}),(0,t.jsx)("p",{className:"mt-3 text-xs leading-relaxed text-white/60",children:"A productivity tool that turns publicly available YouTube captions into searchable, exportable text with AI-powered insights for study, research, and content creation."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Resources"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-2 text-sm text-white/60",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/about",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"About Us"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/blog",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/pricing",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Pricing"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"/#faq",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"FAQ"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/reviews",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Reviews"})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Legal"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-2 text-sm text-white/60",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/privacy",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Privacy Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/terms",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Terms of Service"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/refund-policy",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Refund Policy"})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Get in Touch"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-2 text-sm text-white/60",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/contact",className:"inline-flex items-center gap-1.5 rounded-lg bg-pink-500/10 px-3 py-1.5 text-xs font-medium text-pink-400 transition-colors hover:bg-pink-500/20",children:"Contact Us"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/support",className:"underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:"Support Centre"})}),(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"mailto:[email protected]",className:"flex items-center gap-1.5 underline decoration-white/30 underline-offset-2 transition-colors hover:text-white hover:decoration-white/60",children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),"[email protected]"]})})]})]})]})})})}e.s(["default",()=>s])},50,e=>{"use strict";let t="next";function r(e){if(!e)return null;let t=String(e).trim();if(!t||!t.startsWith("/")||t.startsWith("//")||/^\/\\/.test(t)||/[\x00-\x1f]/.test(t))return null;let r=t.split("?")[0].split("#")[0];
1return/^\/(login|auth-callback|auth-popup|api)(\/|$)/.test(r)||t.length>512?null:t}function n(){return function(){try{return r(new URLSearchParams(window.location.search).get(t))}catch{return null}}()||"/"}function s(e){let n=r(e);return n?`/login?${t}=${encodeURIComponent(n)}`:"/login"}e.s(["loginHref",()=>s,"postAuthDestination",()=>n])},3374,e=>{"use strict";var t=e.i(43476),r=e.i(26732),n=e.i(71645),s=e.i(22016),a=e.i(18566),i=e.i(15290),o=e.i(50974),l=e.i(45322),d=e.i(17298);function c(){let[e,r]=(0,n.useState)(!1),[s,a]=(0,n.useState)(""),[i,o]=(0,n.useState)(l.DEFAULT_SITE_LANGUAGE),[c,u]=(0,n.useState)(!1),[h,x]=(0,n.useState)(0),m=(0,n.useRef)(null),p=(0,n.useRef)(null),f=(0,n.useRef)(null);(0,n.useEffect)(()=>{o((0,l.readSiteLanguage)());let e=()=>u(!1);return window.addEventListener(l.SITE_LANG_DONE_EVENT,e),()=>window.removeEventListener(l.SITE_LANG_DONE_EVENT,e)},[]);let v=(0,n.useMemo)(()=>d.POPULAR_LANGUAGE_CODES.map(e=>l.SITE_LANGUAGES.find(t=>t.code===e)).filter(Boolean),[]),b=(0,n.useMemo)(()=>l.SITE_LANGUAGES.filter(e=>!d.POPULAR_LANGUAGE_CODES.includes(e.code)),[]),g=(0,n.useMemo)(()=>{let e=s.trim().toLowerCase();return e?l.SITE_LANGUAGES.filter(t=>t.name.toLowerCase().includes(e)||t.native.toLowerCase().includes(e)||t.code.toLowerCase().startsWith(e)):null},[s]),w=g||[...v,...b];function k(e){o(e),r(!1),(0,l.storeSiteLanguage)(e.code),"en"!==e.code&&u(!0),(0,l.emitSiteLanguageChange)(e.code)}(0,n.useEffect)(()=>x(0),[s,e]),(0,n.useEffect)(()=>{if(!e)return void a("");let t=setTimeout(()=>{var e;return null==(e=p.current)?void 0:e.focus()},10);return()=>clearTimeout(t)},[e]),(0,n.useEffect)(()=>{if(e)return document.addEventListener("mousedown",t),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("keydown",n)};function t(e){m.current&&!m.current.contains(e.target)&&r(!1)}function n(e){"Escape"===e.key&&r(!1)}},[e]),(0,n.useEffect)(()=>{var t;e&&f.current&&(null==(t=f.current.querySelector(`[data-idx="${h}"]`))||t.scrollIntoView({block:"nearest"}))},[h,e]);let j=-1,y=(e,r)=>(0,t.jsxs)("button",{type:"button","data-idx":r,onMouseEnter:()=>x(r),onClick:()=>k(e),className:`flex w-full items-center gap-2.5 rounded-lg px-2.5 py-2 text-left transition-colors ${h===r?"bg-[var(--bg-hover)]":""}`,children:[(0,t.jsx)("span",{className:"lang-chip shrink-0",children:e.code.split("-")[0]}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block truncate text-[13px] text-[var(--text-primary)]",children:e.native}),(0,t.jsx)("span",{className:"block truncate text-[11px] text-[var(--text-muted)]",children:e.name})]}),i.code===e.code&&(0,t.jsx)("svg",{className:"h-4 w-4 shrink-0 text-pink-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})]},`${e.code}-${r}`);return(0,t.jsxs)("div",{ref:m,className:"notranslate relative",translate:"no",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>r(e=>!e),"aria-haspopup":"listbox","aria-expanded":e,"aria-label":`Site language: ${i.name}`,title:`Site language: ${i.name}`,className:"flex h-8 items-center gap-1.5 rounded-lg border border-[var(--border-subtle)] bg-[var(--bg-subtle)] px-2 text-[var(--text-secondary)] transition-colors hover:border-pink-500/30 hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]",children:[c?(0,t.jsx)("span",{className:"h-3.5 w-3.5 animate-spin rounded-full border-2 border-pink-500 border-t-transparent"}):(0,t.jsxs)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.6 9h16.8M3.6 15h16.8M12 3a15 15 0 010 18 15 15 0 010-18z"})]}),(0,t.jsx)("span",{className:"hidden text-[11px] font-semibold uppercase sm:block",children:i.code.split("-")[0]})]}),e&&(0,t.jsxs)("div",{className:"app-menu animate-menu-in absolute right-0 top-full z-[70] mt-2 w-[17rem] overflow-hidden rounded-xl",onKeyDown:function(e){if("ArrowDown"===e.key)e.preventDefault(),x(e=>Math.min(e+1,w.length-1));else if("ArrowUp"===e.key)e.preventDefault(),x(e=>Math.max(e-1,0));else if("Enter"===e.key){e.preventDefault();let t=w[h];t&&k(t)}},children:[(0,t.jsxs)("div",{className:"border-b border-[var(--border-subtle)] px-3 py-2.5",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-[var(--text-primary)]",children:"Site language"}),(0,t.jsx)("p",{className:"mt-0.5 text-[11px] leading-snug text-[var(--text-muted)]",children:"Translates the site. Transcripts and AI results stay in their original language."})]}),(0,t.jsx)("div",{className:"border-b border-[var(--border-subtle)] p-2",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("svg",{className:"pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-[var(--text-faint)]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,t.jsx)("input",{ref:p,value:s,onChange:e=>a(e.target.value),placeholder:`Search ${l.SITE_LANGUAGES.length} languages`,className:"h-8 w-full rounded-lg border border-[var(--border-subtle)] bg-[var(--bg-subtle)] pl-8 pr-2 text-xs text-[var(--text-primary)] outline-none focus:border-pink-500/40"})]})}),(0,t.jsx)("div",{ref:f,className:"thin-scroll max-h-72 overflow-y-auto p-1.5",children:g?g.length?g.map(e=>y(e,j+=1)):(0,t.jsxs)("p",{className:"px-3 py-6 text-center text-xs text-[var(--text-muted)]",children:["No language matches “",s,"”."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"px-2.5 pb-1 pt-1.5 text-[10px] font-semibold uppercase tracking-wide text-[var(--text-faint)]",children:"Popular"}),v.map(e=>y(e,j+=1)),(0,t.jsx)("p",{className:"mt-1 px-2.5 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-wide text-[var(--text-faint)]",children:"All languages"}),b.map(e=>y(e,j+=1))]})})]})]})}var u=e.i(50);let h=[{href:"/pricing",label:"Pricing"},{href:"/blog",label:"Blog"},{href:"/api-docs",label:"API"},{href:"/reviews",label:"Reviews"}],x=[{href:"/bulk",title:"Transcribe Playlist",desc:"Get transcripts from a public YouTube playlist",icon:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"},{href:"/bulk#csv",title:"Transcribe from CSV",desc:"Create your own list of videos to transcribe",icon:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},{href:"/channels",title:"Find Channel ID",desc:"Get playlist URL from a YouTube channel",icon:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"}];function m(e){var l,d,m;let{variant:p="default"}=e,{data:f,status:v}=(0,r.useSession)(),{resolvedTheme:b,setTheme:g}
1=(0,i.useTheme)(),w=(0,a.usePathname)()||"/",[k,j]=(0,n.useState)(!1),[y,N]=(0,n.useState)(!1),[L,S]=(0,n.useState)(!1),C=(0,n.useRef)(null),E=(0,n.useRef)(null);(0,n.useEffect)(()=>{function e(e){C.current&&!C.current.contains(e.target)&&j(!1),E.current&&!E.current.contains(e.target)&&N(!1)}function t(e){"Escape"===e.key&&(j(!1),N(!1),S(!1))}return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[]),(0,n.useEffect)(()=>{j(!1),N(!1),S(!1)},[w]);let M=e=>"/"===e?"/"===w:w.startsWith(e.split("#")[0]),T=e=>`rounded-lg px-3.5 py-2 text-sm font-medium transition-colors ${e?"bg-pink-500/10 text-pink-600 dark:text-pink-300":"text-[var(--text-secondary)] hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]"}`,A=x.some(e=>M(e.href));return(0,t.jsxs)("header",{className:"sticky top-0 z-50 border-b border-[var(--border-subtle)] bg-[var(--header-bg)] backdrop-blur-xl",children:[(0,t.jsxs)("div",{className:`mx-auto flex w-full items-center justify-between gap-3 px-4 py-3 sm:px-6 ${"video"===p?"max-w-[1440px]":"max-w-6xl"}`,children:[(0,t.jsx)(o.default,{size:"md"}),(0,t.jsxs)("nav",{className:"hidden items-center gap-1 md:flex",children:[h.map(e=>(0,t.jsx)(s.default,{className:T(M(e.href)),href:e.href,children:e.label},e.href)),(0,t.jsxs)("div",{className:"relative",ref:E,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>N(e=>!e),"aria-haspopup":"menu","aria-expanded":y,className:`flex items-center gap-1.5 rounded-lg border px-3 py-2 text-sm font-medium transition-all ${y||A?"border-pink-500/40 bg-pink-500/10 text-pink-600 dark:text-pink-300":"border-[var(--border-subtle)] bg-[var(--bg-subtle)] text-[var(--text-secondary)] hover:border-pink-500/30 hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]"}`,children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h10"})}),"Bulk",(0,t.jsx)("svg",{className:`h-3 w-3 opacity-60 transition-transform duration-200 ${y?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M19 9l-7 7-7-7"})})]}),y&&(0,t.jsx)("div",{role:"menu",className:"app-menu animate-menu-in absolute left-1/2 top-full mt-2 w-72 -translate-x-1/2 overflow-hidden rounded-xl p-1.5",children:x.map(e=>(0,t.jsxs)(s.default,{href:e.href,role:"menuitem",className:"flex items-start gap-3 rounded-lg px-3 py-2.5 transition-colors hover:bg-[var(--bg-hover)]",onClick:()=>N(!1),children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500/20 to-violet-500/20",children:(0,t.jsx)("svg",{className:"h-4 w-4 text-pink-500 dark:text-pink-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:e.icon})})}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"block text-sm font-medium text-[var(--text-primary)]",children:e.title}),(0,t.jsx)("span",{className:"mt-0.5 block text-xs text-[var(--text-muted)]",children:e.desc})]})]},e.href))})]}),(0,t.jsx)(s.default,{className:T(M("/support")),href:"/support",children:"Support"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3",children:[(0,t.jsx)(c,{}),(0,t.jsx)("button",{onClick:()=>g("dark"===b?"light":"dark"),className:"flex h-8 w-8 items-center justify-center rounded-lg text-[var(--text-muted)] transition-colors hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]","aria-label":`Switch to ${"dark"===b?"light":"dark"} mode`,title:`Switch to ${"dark"===b?"light":"dark"} mode`,children:"dark"===b?(0,t.jsx)("svg",{className:"h-[18px] w-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}):(0,t.jsx)("svg",{className:"h-[18px] w-[18px]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}),"loading"===v?(0,t.jsx)("div",{className:"h-8 w-8 animate-pulse rounded-full bg-[var(--bg-hover)]"}):(null==f?void 0:f.user)?(0,t.jsxs)("div",{className:"relative",ref:C,children:[(0,t.jsxs)("button",{onClick:()=>j(e=>!e),"aria-label":"User menu","aria-haspopup":"menu","aria-expanded":k,className:"flex items-center gap-2 rounded-lg px-2 py-1.5 transition-colors hover:bg-[var(--bg-hover)]",children:[f.user.image?(0,t.jsx)("img",{src:f.user.image,alt:"",className:"h-7 w-7 rounded-full border border-[var(--border-default)]"}):(0,t.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-pink-500 to-violet-500 text-xs font-semibold text-white",children:(null==(d=f.user.name)||null==(l=d[0])?void 0:l.toUpperCase())||"U"}),(0,t.jsx)("span",{className:"hidden text-sm text-[var(--text-secondary)] sm:block",children:null==(m=f.user.name)?void 0:m.split(" ")[0]}),(0,t.jsx)("svg",{className:"h-3.5 w-3.5 text-[var(--text-faint)]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}
1),k&&(0,t.jsxs)("div",{role:"menu",className:"app-menu animate-menu-in absolute right-0 top-full mt-2 w-52 overflow-hidden rounded-xl",children:[(0,t.jsxs)("div",{className:"border-b border-[var(--border-subtle)] px-4 py-3",children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium text-[var(--text-primary)]",children:f.user.name}),(0,t.jsx)("p",{className:"mt-0.5 truncate text-xs text-[var(--text-muted)]",children:f.user.email})]}),(0,t.jsxs)("div",{className:"p-1.5",children:[(0,t.jsxs)(s.default,{href:"/profile",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-sm text-[var(--text-secondary)] transition-colors hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]",onClick:()=>j(!1),children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),"My Account"]}),(0,t.jsxs)(s.default,{href:"/history",className:"flex items-center gap-2.5 rounded-lg px-3 py-2 text-sm text-[var(--text-secondary)] transition-colors hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]",onClick:()=>j(!1),children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),"History"]}),(0,t.jsxs)("button",{onClick:()=>(0,r.signOut)(),className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2 text-sm text-[var(--text-secondary)] transition-colors hover:bg-red-500/10 hover:text-red-500",children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),"Sign Out"]})]})]})]}):(0,t.jsx)(s.default,{href:(0,u.loginHref)(w),className:"rounded-lg bg-gradient-to-r from-pink-500 to-violet-500 px-4 py-2 text-sm font-semibold text-white shadow-sm shadow-pink-500/25 transition-all hover:from-pink-600 hover:to-violet-600 hover:shadow-md hover:shadow-pink-500/30",children:"Sign In"}),(0,t.jsx)("button",{type:"button",onClick:()=>S(e=>!e),"aria-label":"Menu","aria-expanded":L,className:"flex h-8 w-8 items-center justify-center rounded-lg text-[var(--text-secondary)] transition-colors hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)] md:hidden",children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:L?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 7h16M4 12h16M4 17h16"})})})]})]}),L&&(0,t.jsx)("div",{className:"animate-menu-in border-t border-[var(--border-subtle)] bg-[var(--surface-bg)] px-4 py-3 md:hidden",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-6xl flex-col gap-1",children:[h.map(e=>(0,t.jsx)(s.default,{href:e.href,onClick:()=>S(!1),className:`rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${M(e.href)?"bg-pink-500/10 text-pink-600 dark:text-pink-300":"text-[var(--text-secondary)] hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]"}`,children:e.label},e.href)),(0,t.jsx)("p",{className:"mt-2 px-3 pb-1 text-[10px] font-semibold uppercase tracking-wide text-[var(--text-faint)]",children:"Bulk tools"}),x.map(e=>(0,t.jsxs)(s.default,{href:e.href,onClick:()=>S(!1),className:"flex items-center gap-3 rounded-lg px-3 py-2.5 transition-colors hover:bg-[var(--bg-hover)]",children:[(0,t.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500/20 to-violet-500/20",children:(0,t.jsx)("svg",{className:"h-4 w-4 text-pink-500 dark:text-pink-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:e.icon})})}),(0,t.jsx)("span",{className:"text-sm font-medium text-[var(--text-primary)]",children:e.title})]},e.href)),(0,t.jsx)(s.default,{href:"/support",onClick:()=>S(!1),className:`mt-2 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${M("/support")?"bg-pink-500/10 text-pink-600 dark:text-pink-300":"text-[var(--text-secondary)] hover:bg-[var(--bg-hover)] hover:text-[var(--text-primary)]"}`,children:"Support"})]})})]})}e.s(["default",()=>m],3374)},13421,e=>{"use strict";function t(e){let t=e.trim();if(/^[a-zA-Z0-9_-]{11}$/.test(t))return t;try{var r,n;let e=new URL(t);if(e.hostname.includes("youtu.be")){let t=e.pathname.split("/").filter(
1Boolean)[0];return t&&/^[a-zA-Z0-9_-]{11}$/.test(t)?t:null}let s=e.searchParams.get("v");if(s&&/^[a-zA-Z0-9_-]{11}$/.test(s))return s;if(e.pathname.includes("/shorts/")){let t=null==(r=e.pathname.split("/shorts/")[1])?void 0:r.split("/")[0];return t&&/^[a-zA-Z0-9_-]{11}$/.test(t)?t:null}if(e.pathname.includes("/embed/")){let t=null==(n=e.pathname.split("/embed/")[1])?void 0:n.split("/")[0];return t&&/^[a-zA-Z0-9_-]{11}$/.test(t)?t:null}return null}catch{return null}}e.s(["extractYouTubeVideoId",()=>t])},3107,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),s=e.i(13421);function a(){let e=(0,n.useRouter)(),a=(0,n.usePathname)(),[i,o]=(0,r.useState)(""),[l,d]=(0,r.useState)(null),[c,u]=(0,r.useState)(!1),h=(0,r.useMemo)(()=>(0,s.extractYouTubeVideoId)(i),[i]);async function x(){d(null);try{var t,r;if(!(null==(r=navigator)||null==(t=r.clipboard)?void 0:t.readText))return void d("Your browser doesn't allow clipboard access. Long-press the input to paste manually.");let n=(await navigator.clipboard.readText()).trim();if(!n)return void d("Your clipboard is empty. Copy a YouTube link and try again.");o(n);let i=(0,s.extractYouTubeVideoId)(n);i&&a!==`/video/${i}`?(u(!0),e.push(`/video/${i}`)):i||d("Clipboard doesn't contain a valid YouTube link.")}catch{d("We couldn't read your clipboard. Tap the input and paste manually.")}}return(0,t.jsxs)("form",{onSubmit:function(t){t.preventDefault(),d(null);let r=(0,s.extractYouTubeVideoId)(i);r?a===`/video/${r}`?d("This video transcript is already loaded above."):(u(!0),e.push(`/video/${r}`)):d("Please paste a valid YouTube video link (or 11-char video ID).")},className:"w-full max-w-2xl",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute left-4 top-1/2 -translate-y-1/2",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white/50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})})}),(0,t.jsx)("input",{value:i,onChange:e=>o(e.target.value),placeholder:"Paste your Youtube video link here",inputMode:"url",autoComplete:"off",spellCheck:!1,className:"h-14 w-full rounded-xl border border-white/10 bg-white/5 pl-12 pr-24 text-base text-white placeholder:text-white/30 outline-none transition-all focus:border-pink-500/50 focus:bg-white/[0.07] focus:ring-1 focus:ring-pink-500/20 sm:h-12 sm:pr-4 sm:text-sm"}),!i&&(0,t.jsxs)("button",{type:"button",onClick:x,"aria-label":"Paste link from clipboard",className:"absolute right-2 top-1/2 -translate-y-1/2 inline-flex items-center gap-1 rounded-lg border border-white/15 bg-white/10 px-2.5 py-1.5 text-xs font-medium text-white/80 transition-colors hover:bg-white/15 hover:text-white sm:hidden",children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"})}),"Paste"]})]}),(0,t.jsx)("button",{type:"submit",disabled:!i.trim()||c,className:"h-14 shrink-0 rounded-xl bg-gradient-to-r from-pink-500 to-pink-600 px-7 text-base font-semibold text-white shadow-lg shadow-pink-500/20 transition-all hover:shadow-pink-500/30 hover:brightness-110 disabled:opacity-50 disabled:shadow-none sm:h-12 sm:text-sm",children:c?(0,t.jsxs)("span",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-white border-t-transparent"}),"Opening..."]}):"Get transcript"})]}),(0,t.jsx)("div",{className:"mt-2.5 min-h-[18px] text-xs",children:l?(0,t.jsx)("p",{className:"text-red-400",children:l}):h?(0,t.jsxs)("p",{className:"text-white/50",children:["Detected Video ID: ",(0,t.jsx)("span",{className:"font-mono text-white/70",children:h})]}):(0,t.jsx)("p",{className:"text-white/50",children:"Supports youtube.com, youtu.be, shorts, and embed links"})})]})}e.s(["default",()=>a])},61059,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=[{rating:5,comment:"The ease of use; it's just click and go. Also, some of the tools are quite good for a free service. Soon will contribute by paying for this service. Definitely deserves it.",name:"Neeresh Seereekissoon",title:"Desktop Administrator"},{rating:5,comment:"Being able to quickly discover if there is any information in a long YouTube lecture that I need to listen to.",name:"Miguel",title:"Linguistics professor and researcher"},{rating:5,comment:"What I like about the workflow (user + youtube-transcript) is that it turns a 'locked box' (a video I can't open) into plain text I can actually work with.",name:"Summer Santori",title:"G2 Holotopian, founder, AI"},{rating:5,comment:"This tool saves an incredible amount of time. The accurate transcriptions are perfect for research, analysis, note synthesis. The interface is clean, and reliable.",name:"H Joseph",title:"Independent Researcher"},{rating:5,comment:"That is free! I had a class to prepare and the other page started to ask me money but it's my first job after a lot of time and I had no money, thank you YTTranscript.AI!!!",name:"Jorge A. Villa",title:"English teacher and programmer"},{rating:5,comment:"I've found it very useful for extracting information which I feed to my LRM E.L.A.E.N.A. together with E.L.A.E.N.A., and I continue to delve into the mysteries of 'What If'.",name:"Jim",title:'Retired - Lifelong explorer of "What If"'},{rating:5,comment:"I really like this tool. Sometimes I want a text version of a quote or a data snippet instead of trying to write it myself while multitasking or away from my desk.",name:"Blottermonkey",t
1itle:"Information Architect"},{rating:5,comment:"Easy to use, insightful results. Which you could take any transcript and run your magic :)",name:"Brian",title:"Executive Director"},{rating:5,comment:"Immediate, accurate transcript that helps a lot no matter what the duration is. Thank you so much.",name:"Nicole",title:"Health Educator"},{rating:5,comment:"It's just useful for taking notes from YouTube videos without needing to listen to the video. 10/10 website.",name:"Kylun Price",title:"Student"},{rating:5,comment:"Everything, I love you guys, man - this tool was epic. Keep up the great work!",name:"Sigmagoon",title:""},{rating:5,comment:"Fast, easy, accurate, and free. What more could you ask for? This is my go-to transcript tool.",name:"Charlie",title:"Founder, Sequentia Labs"}];function s(e){let{count:r}=e;return(0,t.jsx)("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(e=>(0,t.jsx)("svg",{className:`h-4 w-4 ${e<=r?"text-yellow-400":"text-white/20"}`,fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},e))})}function a(){let e=(0,r.useRef)(null),[a,i]=(0,r.useState)(!1),[o,l]=(0,r.useState)(!0);function d(){let t=e.current;t&&(i(t.scrollLeft>10),l(t.scrollLeft<t.scrollWidth-t.clientWidth-10))}function c(t){let r=e.current;if(!r)return;let n=.75*r.clientWidth;r.scrollBy({left:"left"===t?-n:n,behavior:"smooth"})}return(0,r.useEffect)(()=>{let t=e.current;if(t)return t.addEventListener("scroll",d,{passive:!0}),d(),()=>t.removeEventListener("scroll",d)},[]),(0,t.jsxs)("div",{className:"relative mt-10",children:[a&&(0,t.jsx)("button",{onClick:()=>c("left"),"aria-label":"Scroll reviews left",className:"absolute -left-4 top-1/2 z-10 flex h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-white/10 bg-[var(--page-bg)] text-white/60 shadow-xl transition-colors hover:bg-white/10 hover:text-white",children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),o&&(0,t.jsx)("button",{onClick:()=>c("right"),"aria-label":"Scroll reviews right",className:"absolute -right-4 top-1/2 z-10 flex h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-white/10 bg-[var(--page-bg)] text-white/60 shadow-xl transition-colors hover:bg-white/10 hover:text-white",children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),(0,t.jsx)("div",{ref:e,className:"flex gap-5 overflow-x-auto scroll-smooth pb-4 scrollbar-hide",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:n.map((e,r)=>(0,t.jsxs)("div",{className:"w-[300px] shrink-0 rounded-2xl border border-white/[0.06] bg-white/[0.02] p-6 transition-all hover:border-white/10 hover:bg-white/[0.04]",children:[(0,t.jsx)(s,{count:e.rating}),(0,t.jsx)("p",{className:"mt-4 text-sm leading-relaxed text-white/70",children:e.comment}),(0,t.jsxs)("div",{className:"mt-5 border-t border-white/5 pt-4",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-white",children:e.name}),e.title&&(0,t.jsx)("p",{className:"mt-0.5 text-xs text-white/60",children:e.title})]})]},r))})]})}e.s(["default",()=>a])},99097,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=null,s=null;async function a(){return null!==n?n:s||(s=(async()=>{try{var e;let t=await fetch("/api/reviews?page=1",{cache:"no-store"});if(!t.ok)throw Error("Failed to load reviews");let r=await t.json(),s=null==r||null==(e=r.stats)?void 0:e.totalCount;if("number"==typeof s&&s>0)return n=s,s;return 70533}catch{return 70533}finally{s=null}})())}function i(e){let{format:n="comma",prefix:s="",suffix:i="",className:o=""}=e,[l,d]=(0,r.useState)(70533);(0,r.useEffect)(()=>{a().then(d)},[]);
1let c="plus"===n?`${l.toLocaleString()}+`:l.toLocaleString();return(0,t.jsxs)("span",{className:o,children:[s,c,i]})}e.s(["default",()=>i])},52190,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),s=e.i(13421);function a(){let e=(0,n.useRouter)(),a=(0,n.usePathname)(),[i,o]=(0,r.useState)(""),[l,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)(!1),h=(0,r.useRef)(null);async function x(){var t,r,n,i,l,d;try{if(!(null==(r=navigator)||null==(t=r.clipboard)?void 0:t.readText)){null==(n=h.current)||n.focus();return}let d=(await navigator.clipboard.readText()).trim();if(!d){null==(i=h.current)||i.focus();return}o(d);let c=(0,s.extractYouTubeVideoId)(d);c&&a!==`/video/${c}`?(u(!0),e.push(`/video/${c}`)):null==(l=h.current)||l.focus()}catch{null==(d=h.current)||d.focus()}}return(0,r.useEffect)(()=>{function e(){d(window.scrollY>500)}return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)("div",{className:`fixed inset-x-0 bottom-0 z-40 border-t border-white/10 bg-[var(--page-bg)]/95 px-3 pt-3 backdrop-blur-md transition-transform duration-300 md:hidden ${l?"translate-y-0":"translate-y-full"}`,style:{paddingBottom:"calc(env(safe-area-inset-bottom, 0px) + 12px)"},...!l?{inert:!0}:{},children:(0,t.jsxs)("form",{onSubmit:function(t){t.preventDefault();let r=(0,s.extractYouTubeVideoId)(i);if(!r){var n;null==(n=h.current)||n.focus();return}a!==`/video/${r}`&&(u(!0),e.push(`/video/${r}`))},className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)("input",{ref:h,value:i,onChange:e=>o(e.target.value),placeholder:"Paste YouTube link",inputMode:"url",autoComplete:"off",spellCheck:!1,className:"h-12 w-full rounded-xl border border-white/15 bg-white/10 pl-3 pr-20 text-sm text-white placeholder:text-white/40 outline-none focus:border-pink-500/60 focus:bg-white/[0.12] focus:ring-1 focus:ring-pink-500/30"}),!i&&(0,t.jsxs)("button",{type:"button",onClick:x,"aria-label":"Paste link from clipboard",className:"absolute right-1.5 top-1/2 -translate-y-1/2 inline-flex items-center gap-1 rounded-lg bg-white/15 px-2.5 py-1.5 text-xs font-medium text-white/90 hover:bg-white/20",children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"})}),"Paste"]})]}),(0,t.jsx)("button",{type:"submit",disabled:!i.trim()||c,"aria-label":"Get transcript",className:"flex h-12 min-w-[52px] shrink-0 items-center justify-center rounded-xl bg-gradient-to-r from-pink-500 to-pink-600 px-4 text-sm font-semibold text-white shadow-lg shadow-pink-500/20 transition-all hover:brightness-110 disabled:opacity-50 disabled:shadow-none",children:c?(0,t.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-white border-t-transparent"}):(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})})]})})}e.s(["default",()=>a])}]);

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.