PageSourceSearch

https://www.45d.ai/_next/static/immutable/chunks/194osscgg3qqn.js

js 45d.ai collected 2026-10-05 13:56:21 UTC 7,675 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,99446,e=>{"use strict";var t=e.i(18050),n=e.i(71645),r=e.i(46932);let i=["º/º","º/-","-/º","-/-"],a=["º/-","-/º"];function s({href:e,className:r="inline-flex items-center select-none",textClassName:l="tracking-tight text-text-primary cursor-pointer whitespace-nowrap transition-all duration-200 text-[28px]"}){let[o,c]=(0,n.useState)(i[0]),u=(0,n.useRef)(i[0]);(0,n.useEffect)(()=>{let e=[],t=t=>{e.push(t)};t(window.setTimeout(()=>{c(a[Math.floor(Math.random()*a.length)]),t(window.setTimeout(()=>{c(u.current)},400))},5e3+5e3*Math.random()));let n=window.setInterval(()=>{let e=i[Math.floor(Math.random()*i.length)];u.current=e,c(e),t(window.setTimeout(()=>{c(a[Math.floor(Math.random()*a.length)]),t(window.setTimeout(()=>{c(u.current)},1e3))},5e3+2e4*Math.random()))},3e4);return()=>{e.forEach(clearTimeout),clearInterval(n)}},[]);let m=(0,t.jsx)("span",{className:`logo ${l} font-black`,style:{fontFamily:"var(--font-logo)"},children:o});return e?(0,t.jsx)("a",{href:e,className:r,children:m}):(0,t.jsx)("span",{className:r,children:m})}let l=[.25,.1,.25,1];function o({text:e,delay:n,children:i}){return(0,t.jsx)(r.motion.span,{initial:{opacity:0,y:24,filter:"blur(8px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{delay:n,duration:.8,ease:l},className:"block",children:i||e})}function c(){let e=(0,n.useRef)([]);return(0,n.useEffect)(()=>{let t=0;return t=requestAnimationFrame(function n(){let r=.001*performance.now();e.current.forEach((e,t)=>{if(!e)return;let n=2*Math.sin((r-.07*t)%2/2*Math.PI*2);e.style.transform=`translateY(${n}px)`}),t=requestAnimationFrame(n)}),()=>cancelAnimationFrame(t)},[]),(0,t.jsx)("span",{className:"inline-block",children:"Animated.".split("").map((n,r)=>(0,t.jsx)("span",{ref:t=>{e.current[r]=t},className:"inline-block origin-bottom",style:{willChange:"transform"},children:n},r))})}function u(){let e="Interactive.".split(""),r=(0,n.useRef)([]),i=(0,n.useRef)({x:-9999,y:-9999});return(0,n.useEffect)(()=>{let t=0,n=e.map(()=>({py:0,vy:0,scale:1})),a=e=>{i.current={x:e.clientX,y:e.clientY}};return addEventListener("pointermove",a,{passive:!0}),t=requestAnimationFrame(function e(){let a=i.current.x,s=i.current.y,l=a>-9e3;r.current.forEach((e,t)=>{if(!e)return;let r=n[t],i=0,o=1;if(l){let t=e.getBoundingClientRect(),n=t.left+t.width/2,r=t.top+t.height/2,l=a-n,c=s-r,u=Math.sqrt(l*l+c*c);if(u<150){let e=1-u/150,t=e*e*(3-2*e);i=-(8*t),o=1+.08*t}}r.vy+=(i-r.py)*.12,r.vy*=.78,r.py+=r.vy,r.scale+=(o-r.scale)*.15,e.style.transform=`translateY(${r.py}px) scale(${r.scale})`}),t=requestAnimationFrame(e)}),()=>{cancelAnimationFrame(t),removeEventListener("pointermove",a)}},[]),(0,t.jsx)("span",{className:"inline-block",children:e.map((e,n)=>(0,t.jsx)("span",{ref:e=>{r.current[n]=e},className:"inline-block origin-bottom",style:{willChange:"transform"},children:e},n))})}function m({leaving:e=!1,onGetStarted:i,onExitComplete:a}){let d=(0,n.useRef)(!1);return(0,t.jsx)("section",{className:"relative h-screen select-none overflow-hidden",children:(0,t.jsxs)(r.motion.div,{initial:{opacity:1,y:0,filter:"blur(0px)"},animate:e?{opacity:0,y:30,filter:"blur(8px)"}:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,ease:l},onAnimationComplete:()=>{e&&!d.current&&(d.current=!0,a?.())},className:"relative z-10 flex h-full flex-col items-center justify-center px-6 text-center",children:[(0,t.jsx)(r.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.05,duration:.6,ease:"easeOut"},className:"mb-14",children:(0,t.jsx)(s,{className:"inline-flex items-center select-none",textClassName:"text-3xl font-normal tracking-tight text-text-primary transition-all duration-150"})}),(0,t.jsxs)("h1",{className:"font-serif text-5xl leading-[1.18] tracking-tight text-text-primary sm:text-6xl lg:text-7xl",children:[(0,t.jsx)(o,{text:"Asks what you know.",delay:.25}),(0,t.jsx)(o,{text:"Teaches what you don’t.",delay:.43}),(0,t.jsx)(o,{delay:.61,children:(0,t.jsxs)("span",{className:"text-accent",children:[(0,t.jsx)(c,{}),(0,t.jsx)("span",{children:" "}),(0,t.jsx)(u,{}),(0,t.jsx)("span",{children:" Yours."})]})})]}),(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},transition:{delay:1.2,duration:.5},children:(0,t.jsxs)("a",{href:"#",onClick:e=>{e.preventDefault(),i?.()},className:"mt-10 inline-flex cursor-pointer items-center gap-2.5 rounded-full bg-accent px-9 py-4 text-base font-medium text-bg shadow-sm transition-all duration-200 hover:shadow-md hover:scale-[1.03] hover:brightness-110 active:scale-[0.98]",children:["Get started",(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})})]})})}function d(e,t){return`rgba(${e.r},${e.g},${e.b},${t})`}let h={r:43,g:126,b:255};function x(){let e=(0,n.useRef)(null),r=(0,n.useRef)(null),i=(0,n.useRef)({x:-200,y:-200}),a=(0,n.useRef)({x:-200,y:-200}),s=(0,n.useRef)(!1),l=(0,n.useRef)(0);return(0,n.useEffect)(()=>{if("ontouchstart"in window||navigator.maxTouchPoints>0){e.current&&(e.current.style.display="none");return}let t=e=>{i.current={x:e.clientX,y:e.clientY},s.current||(s.current=!0)},n=()=>{s.current=!1},o=()=>{s.current=!0};return addEventListener("pointermove",t,{passive:!0}),document.addEventListener("pointerleave",n),document.addEventListener("pointerenter",o),l.current=requestAnimationFrame(function t(){let n=a.current;n.x+=(i.current.x-n.x)*.15,n.y+=(i.current.y-n.y)*.15;let o=e.current,c=r.current;o&&(o.style.transform=`translate3d(${n.x-30}px, ${n.y-30}px, 0)`,o.style.opacity=s.current?"1":"0"),c&&(c.style.transform=`translate3d(${n.x-8}px, ${n.y-5}px, 0)`,c.style.opacity=s.current?"1":"0"),l.current=requestAnimationFrame(t)}),()=>{cancelAnimationFrame(l.current),removeEventListener("pointermove",t),document.removeEventListener("pointerleave",n),document.removeEventListener("pointerenter",o)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:e,className:"pointer-events-none fixed left-0 top-0 z-40 rounded-full",style:{width:60,height:60,background:`radial-gradient(circle, ${d(h,.13)} 0%, ${d(h,.04)} 40%, transparent 70%)`,willChange:"transform",opacity:0},"aria-hidden":"true"}),(0,t.jsx)("div",{ref:r,className:"pointer-events-none fixed left-0 top-0 z-40 rounded-full",style:{width:10,height:10,backgroundColor:`rgb(${h.r},${h.g},${h.b})`,willChange:"transform",opacity:0},"aria-hidden":"true"})]})}var f=e.i(99286),p=e.i(48883);e.s(["default",0,function(){let[e,r]=(0,n.useState)(!1),[i,a]=(0,n.useState)("checking"),s=(0,n.useCallback)(()=>a("exiting"),[]),l=(0,n.useCallback)(()=>{(0,p.enableGuestRootHomeMode)(),r(!0),a("home")},[]);return((0,n.useEffect)(()=>{let e=()=>{let e=(0,p.isRootHomeModeEnabled)();r(e),a(e?"home":"landing")};e();let t=t=>{"authToken"===t.key&&e()};return window.addEventListener("storage",t),window.addEventListener(p.ROOT_HOME_MODE_EVENT,e),window.addEventListener("auth-logout",e),()=>{window.removeEventListener("storage",t),window.removeEventListener(p.ROOT_HOME_MODE_EVENT,e),window.removeEventListener("auth-logout",e)}},[]),e||"home"===i)?(0,t.jsx)(f.default,{}):"checking"===i?(0,t.jsx)("main",{className:"h-screen bg-white"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x,{}),(0,t.jsx)("main",{className:"h-screen overflow-hidden",children:(0,t.jsx)(m,{leaving:"exiting"===i,onGetStarted:s,onExitComplete:l})})]})}],99446)},76445,e=>{e.v(t=>Promise.all(["static/immutable/chunks/03x-n6_gm7wv0.js"].map(t=>e.l(t))).then(()=>t(95425)))}]);

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.