PageSourceSearch

https://vidnext.ai/docs-assets/_next/static/chunks/1kp54vf8lht-1.js

js vidnext.ai collected 2026-10-05 13:16:34 UTC 12,463 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,299428,e=>{"use strict";var t=e.i(843476),s=e.i(522016),r=e.i(618566),n=e.i(271645);let i="vidnext:theme",a=["light","dark","system"];function l(){if("u"<typeof localStorage)return"system";try{let e=localStorage.getItem(i);return a.includes(e)?e:"system"}catch{return"system"}}function o(e){document.documentElement.dataset.theme="system"!==e?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark";try{localStorage.setItem(i,e)}catch{}}let d="https://vidnext.ai";var c=e.i(914527);e.s(["V2SiteNav",0,function(){let e=((0,r.usePathname)()??"/").replace(/\.html$/,"").replace(/\/$/,"")||"/",i=(0,n.useRef)(null),a=(0,n.useRef)(null),[h,m]=(0,n.useState)(!1),[x,u]=(0,n.useState)(!1),[p,g]=(0,n.useState)("system"),f=(0,n.useRef)(null),v=e=>{o(e),g(e),u(!1)};(0,n.useEffect)(()=>{let e=()=>{let e=l();g(e),o(e)};if(e(),!window.matchMedia)return()=>{};let t=window.matchMedia("(prefers-color-scheme: light)"),s=()=>void("system"===l()&&e());return t.addEventListener("change",s),()=>t.removeEventListener("change",s)},[]),(0,n.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,n.useEffect)(()=>{let e=i.current,t=a.current;if(!e||!t)return;let s=document.querySelector("[data-nav-glass-map]"),r=()=>{!function(e,t){if(!e||!t)return;let{width:s,height:r}=t.getBoundingClientRect();if(!s||!r)return;let n=Math.min(r/2,parseFloat(getComputedStyle(t).borderTopLeftRadius)||0),i=`<svg viewBox="0 0 ${s} ${r}" xmlns="http://www.w3.org/2000/svg">
2<defs>
3<linearGradient id="r" x1="100%" y1="0%" x2="0%" y2="0%"><stop offset="0%" stop-color="#000"/><stop offset="100%" stop-color="red"/></linearGradient>
4<linearGradient id="b" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#000"/><stop offset="100%" stop-color="blue"/></linearGradient>
5</defs>
6<rect width="${s}" height="${r}" fill="black"/>
7<rect width="${s}" height="${r}" rx="${n}" fill="url(#r)"/>
8<rect width="${s}" height="${r}" rx="${n}" fill="url(#b)" style="mix-blend-mode:difference"/>
9<rect x="2.03" y="2.03" width="${s-4.06}" height="${r-4.06}" rx="${n}" fill="hsl(0 0% 50% / 0.93)" style="filter:blur(11px)"/>
10</svg>`;e.setAttribute("href",`data:image/svg+xml,${encodeURIComponent(i)}`)}(s,t),t.style.backdropFilter="none",t.offsetWidth,t.style.backdropFilter=""},n=!1,l=null,o=document.querySelector(".hero-glow"),d=o?.closest("section")??null,h=Array.from(document.querySelectorAll(".doc-card, [data-nav-light]"));function m(){if(n=!1,!e||!t)return;let s=window.scrollY>24+(0,c.flowBarHeight)();if(s!==e.classList.contains("is-stuck")&&(e.classList.toggle("is-stuck",s),l&&clearTimeout(l),l=setTimeout(r,440)),d){let s=d.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom;e.classList.toggle("on-artwork",s);return}if(!o)return;let i=t.getBoundingClientRect(),a=h.some(e=>{if(e.classList.contains("article-sheet")&&"light"!==document.documentElement.dataset.theme)return!1;let t=e.getBoundingClientRect();return t.top<i.bottom&&t.bottom>i.top});e.classList.toggle("on-light",a),e.classList.toggle("on-artwork",!a)}let x=()=>{n||(n=!0,requestAnimationFrame(m))},u=()=>r();return window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",u),r(),m(),()=>{window.removeEventListener("scroll",x),window.removeEventListener("resize",u),l&&clearTimeout(l)}},[]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&m(!1)},t=window.matchMedia("(min-width: 1024px)"),s=e=>{e.matches&&m(!1)};return document.addEventListener("keydown",e),t.addEventListener("change",s),()=>{document.removeEventListener("keydown",e),t.removeEventListener("change",s)}},[]);let j=(r,n)=>{let i=`nav-link${!function(e,t){if(/^https?:\/\//.test(e))return!1;let s=e.split("#")[0].split("?")[0].replace(/\.html$/,"").replace(/\/$/,"")||"/";return"/"!==s&&(s===t||t.startsWith(s+"-")||t.startsWith(s+"/"))}(r,e)?"":" nav-link--active"}`;return/^https?:\/\//.test(r)?(0,t.jsx)("a",{href:r,className:i,"data-text":n,children:n}):(0,t.jsx)(s.default,{href:r,className:i,"data-text":n,children:n})},w=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:j(`${d}/#features`,"Features")}),(0,t.jsx)("li",{children:j(`${d}/#how-it-works`,"How it Works")}),(0,t.jsx)("li",{children:j(`${d}/pricing`,"Pricing")}),(0,t.jsx)("li",{children:j("/blog","Blog")}),(0,t.jsx)("li",{children:j(`${d}/#testimonials`,"Testimonials")})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{ref:i,"data-nav":!0,className:"site-nav",children:[(0,t.jsxs)("nav",{ref:a,className:"mx-auto flex w-full max-w-[var(--container-shell)] items-center gap-6 px-[14px] lg:px-6",children:[(0,t.jsx)("div",{className:"flex min-w-0 flex-1 items-center",children:(0,t.jsx)(s.default,{href:"/",className:"reveal shrink-0","aria-label":"VidNext — home",children:(0,t.jsx)("img",{src:"/v2-logo.png","data-nav-mark":!0,alt:"VidNext",className:"site-nav__mark h-[34px] w-[34px] object-contain lg:h-[70px] lg:w-[69px]",width:512,height:512,decoding:"async"})})}),(0,t.jsx)("ul",{className:"reveal hidden shrink-0 items-center gap-[24px] lg:flex",
10style:{"--reveal-delay":"80ms"},children:w}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center justify-end gap-[8px]",children:[(0,t.jsxs)("div",{className:"reveal flex shrink-0 items-center gap-[8px]",style:{"--reveal-delay":"160ms"},children:[(0,t.jsxs)("div",{className:"relative hidden lg:block","data-theme-menu":!0,ref:f,children:[(0,t.jsx)("button",{type:"button","aria-label":"Change theme","aria-haspopup":"listbox","aria-expanded":x,onClick:()=>u(e=>!e),className:"block rounded-[8px] border border-transparent tap-target p-[9px] text-fg-subtle transition-colors hover:bg-surface-1 hover:text-fg lg:p-[8px]",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[18px]","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})})}),(0,t.jsxs)("ul",{role:"listbox","aria-label":"Theme",className:`dropdown glass-panel absolute right-0 top-[calc(100%+40px)] w-[150px] p-[8px]${x?" is-open":""}`,children:[(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"system"===p,onClick:()=>v("system"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}),(0,t.jsx)("line",{x1:"8",x2:"16",y1:"21",y2:"21"}),(0,t.jsx)("line",{x1:"12",x2:"12",y1:"17",y2:"21"})]}),"System"]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"light"===p,onClick:()=>v("light"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 20v2"}),(0,t.jsx)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,t.jsx)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,t.jsx)("path",{d:"M2 12h2"}),(0,t.jsx)("path",{d:"M20 12h2"}),(0,t.jsx)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,t.jsx)("path",{d:"m19.07 4.93-1.41 1.41"})]}),"Light"]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"dark"===p,onClick:()=>v("dark"),className:"theme-option",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})}),"Dark"]})})]})]}),(0,t.jsx)("a",{href:`${d}/sign-in`,className:"hidden shrink-0 whitespace-nowrap rounded-[8px] px-[10px] py-[8px] text-small font-medium text-fg-subtle transition-colors hover:bg-surface-1 hover:text-fg sm:block",children:"Sign In"}),(0,t.jsxs)("a",{href:`${d}/sign-up`,className:"btn btn--flame btn--nav hidden sm:inline-flex",children:["Create a video"," ","→"]})]}),(0,t.jsxs)("button",{type:"button","data-menu-toggle":!0,"aria-expanded":h,"aria-controls":"mobile-menu",onClick:()=>m(e=>!e),className:"bg-glass tap-target flex size-[38px] shrink-0 items-center justify-center rounded-[8px] border border-[var(--color-hairline)] lg:hidden",children:[(0,t.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,t.jsxs)("span",{className:"relative block h-[12px] w-[18px]",children:[(0,t.jsx)("span",{className:"absolute inset-x-0 top-0 h-[2px] rounded bg-fg transition-transform duration-300",style:{transform:h?"translateY(5px) rotate(45deg)":void 0}}),(0,t.jsx)("span",{className:"absolute inset-x-0 bottom-0 h-[2px] rounded bg-fg transition-transform duration-300",style:{transform:h?"translateY(-5px) rotate(-45deg)":void 0}})]})]})]})]}),(0,t.jsx)("div",{id:"mobile-menu","data-menu-panel":!0,hidden:!h,className:"mx-auto mt-4 w-full max-w-[var(--container-shell)] px-6 lg:hidden",children:(0,t.jsxs)("ul",{className:"menu-panel glass-panel flex flex-col gap-5 rounded-[20px] p-6",onClick:e=>{e.target.closest("a")&&m(!1)},children:[w,(0,t.jsx)("li",{className:"border-t border-[rgba(0,0,0,0.1)] pt-5 sm:hidden",children:(0,t.jsx)("a",{href:`${d}/sign-in`,className:"nav-link",children:"Sign In"})}),(0,t.jsxs)("li",{className:"menu-group",role:"group","aria-label":"Theme",children:[(0,t.jsx)("span",{className:"menu-group__label",children:"Theme"}),(0,t.jsxs)("div",{className:"menu-group__row",children:[(0,t.jsxs)("button",{type:"button","aria-selected":"system"===p,onClick:()=>v("system"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16
10px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}),(0,t.jsx)("line",{x1:"8",x2:"16",y1:"21",y2:"21"}),(0,t.jsx)("line",{x1:"12",x2:"12",y1:"17",y2:"21"})]}),"System"]}),(0,t.jsxs)("button",{type:"button","aria-selected":"light"===p,onClick:()=>v("light"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 20v2"}),(0,t.jsx)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,t.jsx)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,t.jsx)("path",{d:"M2 12h2"}),(0,t.jsx)("path",{d:"M20 12h2"}),(0,t.jsx)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,t.jsx)("path",{d:"m19.07 4.93-1.41 1.41"})]}),"Light"]}),(0,t.jsxs)("button",{type:"button","aria-selected":"dark"===p,onClick:()=>v("dark"),className:"theme-option",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})}),"Dark"]})]})]})]})})]}),(0,t.jsx)("div",{"data-backdrop":!0,className:`nav-backdrop fixed inset-0 z-40${h?" is-open":""}`,onClick:()=>m(!1)})]})}],299428)},992964,e=>{"use strict";var t=e.i(843476);e.s(["SubscribeForm",0,function(){return(0,t.jsxs)("form",{className:"subscribe","data-subscribe":!0,onSubmit:e=>{e.preventDefault()},children:[(0,t.jsx)("input",{type:"email",name:"email",required:!0,autoComplete:"email",placeholder:"Enter your email","aria-label":"Your email"}),(0,t.jsx)("button",{type:"submit",className:"subscribe__go","aria-label":"Subscribe",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12.9498 12.0007L8 7.05093L9.41422 5.63672L15.7782 12.0007L9.41422 18.3646L8 16.9504L12.9498 12.0007Z"})})})]})}])}]);

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.