PageSourceSearch

https://longtermemory.com/assets/plans-pUJ-7hQ-.js

js longtermemory.com collected 2026-09-24 10:34:47 UTC 13,146 bytes, 16 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DemoSection-Dvasq85c.js","assets/index-b1g_5Tpl.js","assets/vendor-react-CO4_mtH0.js","assets/index-BJ-kW0QH.css","assets/vendor-mux-MQivGizc.js"])))=>i.map(i=>d[i]);
2import{c as j,j as e,C as k,b as S,_ as M,d as g}from"./index-b1g_5Tpl.js";import{r as l,u as _}from"./vendor-react-CO4_mtH0.js";/**
3 * @license lucide-react v0.545.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const I=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],A=j("volume-2",I);/**
8 * @license lucide-react v0.545.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const P=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],R=j("volume-x",P);function z(){const n=l.useRef(null);return l.useEffect(()=>{const t=n.current;if(!t)return;const s=t.getContext("2d");if(!s)return;t.width=window.innerWidth,t.height=window.innerHeight;const i=()=>{t.width=window.innerWidth,t.height=window.innerHeight};window.addEventListener("resize",i);class c{x;y;size;speedX;speedY;opacity;pulseSpeed;pulsePhase;constructor(){this.x=Math.random()*t.width,this.y=Math.random()*t.height,this.size=Math.random()*2.5+1,this.speedX=(Math.random()-.5)*.3,this.speedY=(Math.random()-.5)*.3,this.opacity=Math.random()*.4+.3,this.pulseSpeed=Math.random()*.02+.01,this.pulsePhase=Math.random()*Math.PI*2}update(){t&&(this.x+=this.speedX,this.y+=this.speedY,this.x>t.width&&(this.x=0),this.x<0&&(this.x=t.width),this.y>t.height&&(this.y=0),this.y<0&&(this.y=t.height),this.pulsePhase+=this.pulseSpeed)}draw(){if(!s)return;const o=Math.sin(this.pulsePhase)*.3+.7;s.fillStyle=`rgba(200, 150, 255, ${this.opacity*o})`,s.beginPath(),s.arc(this.x,this.y,this.size*o,0,Math.PI*2),s.fill(),s.fillStyle=`rgba(200, 150, 255, ${this.opacity*o*.3})`,s.beginPath(),s.arc(this.x,this.y,this.size*o*2,0,Math.PI*2),s.fill()}}const h=window.innerWidth<768,p=h?15:80,a=[];for(let r=0;r<p;r++)a.push(new c);let d;function x(){if(!(!s||!t)){if(s.clearRect(0,0,t.width,t.height),a.forEach(r=>{r.update(),r.draw()}),!h)for(let r=0;r<a.length;r++)for(let o=r+1;o<a.length;o++){const u=a[r].x-a[o].x,m=a[r].y-a[o].y,f=Math.sqrt(u*u+m*m);if(f<150){const y=Math.sin(a[r].pulsePhase)*.3+.7,v=Math.sin(a[o].pulsePhase)*.3+.7,N=(y+v)/2;s.strokeStyle=`rgba(180, 130, 255, ${.15*(1-f/150)*N})`,s.lineWidth=1,s.beginPath(),s.moveTo(a[r].x,a[r].y),s.lineTo(a[o].x,a[o].y),s.stroke()}}d=requestAnimationFrame(x)}}return x(),()=>{window.removeEventListener("resize",i),cancelAnimationFrame(d)}},[]),e.jsxs(e.Fragment,{children:[e.jsx("canvas",{ref:n,className:"absolute inset-0 z-0"}),e.jsxs("div",{className:"absolute inset-0 pointer-events-none z-0",style:{to
12p:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:[e.jsx("div",{className:"wave-ring"}),e.jsx("div",{className:"wave-ring"}),e.jsx("div",{className:"wave-ring"}),e.jsx("div",{className:"wave-ring"})]}),e.jsxs("div",{className:"absolute inset-0 overflow-hidden z-0",children:[e.jsx("div",{className:"orb orb-1 absolute rounded-full",style:{filter:"blur(60px)",opacity:.4}}),e.jsx("div",{className:"orb orb-2 absolute rounded-full",style:{filter:"blur(60px)",opacity:.4}}),e.jsx("div",{className:"orb orb-3 absolute rounded-full",style:{filter:"blur(60px)",opacity:.4}})]})]})}function C(){const n=[{n:"1",text:"Import Notes, Photos, Slides & Books"},{n:"2",text:"Generate your personal Study Plan"},{n:"3",text:"Pass your Exam and Certification faster"}];return e.jsxs("div",{className:"mb-12 pb-12",children:[e.jsxs("p",{className:"mb-3 text-xl sm:text-4xl font-bold tracking-wide text-white uppercase",children:["Study ",e.jsx("span",{className:"text-purple-400",children:"SMARTER"}),", Not Harder"]}),e.jsxs("h1",{className:"mb-8 text-sm sm:text-md font-bold tracking-wide text-white uppercase",children:["Study ",e.jsx("span",{className:"text-purple-400",children:"Fast"})," with ",e.jsx("span",{className:"text-purple-400",children:"Active Recall"}),". Memorize in ",e.jsx("span",{className:"text-purple-400",children:"minutes"}),", not weeks."]}),e.jsx("div",{className:"mb-8 flex flex-col sm:flex-row items-center justify-center gap-3 sm:gap-2",children:n.map(({n:t,text:s},i)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("div",{className:"flex h-24 w-56 shrink-0 items-center gap-3 rounded-lg bg-purple-500/10 px-4 py-3 backdrop-blur-sm",children:[e.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-purple-500/40 text-sm font-bold text-white",children:t}),e.jsx("span",{className:"text-sm sm:text-base text-white",children:s})]}),i<n.length-1&&e.jsx("svg",{className:"hidden sm:block h-5 w-5 shrink-0 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]},t))}),e.jsxs("p",{className:"text-xs sm:text-sm font-medium tracking-wide text-purple-300/70 mt-3",children:[e.jsx("span",{className:"text-purple-300 font-semibold",children:"Chat directly with your materials"}),": Ask your AI anything about your notes, slides, infographics or books"]}),e.jsxs("p",{className:"text-xs sm:text-sm font-medium tracking-wide text-purple-300/70 mt-2",children:[e.jsx("span",{className:"text-purple-300 font-semibold",children:"Upload photos, infographics & diagrams"}),": snap a textbook page and our AI reads it via OCR"]})]})}function H({showAppBadges:n=!1}){const t=_(),s=()=>{const i=!!localStorage.getItem("auth_token");t(i?"/dashboard":"/login")};return e.jsxs("section",{className:"relative flex min-h-screen items-center justify-center overflow-hidden",style:{background:"#0a0e27",backgroundImage:`
13          radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
14          radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.12) 0%, transparent 50%),
15          radial-gradient(circle at 40% 80%, rgba(148, 0, 211, 0.08) 0%, transparent 50%)
16        `},children:[e.jsx(z,{}),e.jsxs("div",{className:"relative z-10 w-full max-w-4xl px-4 text-center pt-20 sm:pt-24",children:[e.jsx(C,{}),e.jsx("h2",{className:"mb-4 text-2xl sm:text-4xl font-bold text-white tracking-tight",children:"Turn Your Materials into Knowledge"}),e.jsx("p",{className:"mx-auto mb-8 max-w-2xl text-base sm:text-lg text-purple-100/80",children:"Upload documents, paste links or text. Our AI builds a custom spaced-repetition plan to help you score 90%+ on exams and professional certifications."}),e.jsxs("div",{className:"mb-10 flex flex-col items-center",children:[e.jsx("button",{onClick:s,className:"inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-purple-600 to-violet-600 px-10 py-5 text-lg sm:text-xl font-semibold text-white shadow-[0_12px_40px_rgba(138,43,226,0.45)] transition-all duration-300 hover:-translate-y-1 hover:from-purple-500 hover:to-violet-500 hover:shadow-[0_16px_50px_rgba(138,43,226,0.6)] focus:outline-none focus-visible:ring-2 focus-visible:ring-purple-300",children:"Start Your Study Session"}),e.jsxs("p",{className:"mt-3 text-sm text-purple-300/60",children:["Supports PDFs, Docs, URLs, Notes.",e.jsx("br",{}),"Completely free to start."]})]}),n&&e.jsxs("div",{className:"mb-8 flex flex-wrap items-center justify-center gap-3",children:[e.jsx("a",{href:"https://apps.apple.com/us/app/longtermemory-app/id6779253199",target:"_blank",rel:"noopener noreferrer","aria-label":"Download on the App Store",children:e.jsx("img",{src:"https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/en-us?size=250x83",alt:"Download on the App Store",className:"h-11 w-auto sm:h-12"})}),e.jsx("a",{href:"https://play.google.com/store/apps/details?id=com.alessandrofuda.longtermemory",target:"_blank",rel:"noopener noreferrer","aria-label":"Get it on Google Play",children:e.jsx("img",{src:"https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png",alt:"Get it on Google Play",className:"h-[65px] w-auto sm:h-[71px]"})})]}),e.jsx("div",{className:"hidden sm:flex flex-nowrap justify-center gap-2",children:["Generative AI","Deep Learning","Spaced Repetition","AI Auto Test","AI Chat","Image OCR","Mnemonics","Focus"].map(i=>e.jsx("button",{className:"rounded-full border border-purple-500/25 bg-purple-500/10 px-2.5 py-1 text-xs text-purple-300/80 backdrop-blur-lg transition-all duration-200 hover:border-purple-500/50 hover:bg-purple-500/25 hover:-translate-y-0.5 hover:text-purple-200 hover:shadow-[0_4px_12px_rgba(138,43,226,0.4)] whitespace-nowrap",children:i},i))})]})]})}const b="Nbf1czc0nAY";function W(){const n=l.useRef(null),t=l.useRef(null),[s,i]=l.useState(!1),[c,h]=l.useState(!0);l.useEffect(()=>{const a=t.current;if(!a)return;const d=new IntersectionObserver(x=>{const[r]=x;r.isIntersecting&&(i(!0),d.disconnect())},{rootMargin:"200px",threshold:0});return d.observe(a),()=>d.disconnect()},[]);const p=()=>{const a=n.current;if(!a?.contentWindow)return;const d=c?"unMute":"mute";a.contentWindow.postMessage(JSON.stringify({event:"command",func:d,args:[]}),"*"),h(x=>!x)};return e.jsx("section",{className:"bg-slate-50 py-8 sm:py-12 lg:py-16",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold tracking-tight text-slate-900",children:"Watch How It Works"}),e.jsx("p",{className:"mx-auto mt-3 sm:mt-4 max-w-2xl text-base sm:text-lg text-slate-600",children:"A quick overview of how LongTerMemory helps you study smarter and retain more."})]}),e.jsxs("div",{ref:t,className:"mt-8 sm:mt-12 flex flex-col items-center gap-3",children:[e.jsx("div",{className:"aspect-video w-full max-w-6xl overflow-hidden rounded-lg sm:rounded-xl shadow-lg sm:shadow-2xl",children:s?e.jsx("iframe",{ref:n,src:`https://www.youtube-nocookie.com/embed/${b}?rel=0&modestbranding=1&autoplay=1&mute=1&loop=1&playlist=${b}&controls=0&enablejsapi=1`,title:"LongTerMemory — Watch How It Works",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"h-full w-full"}):e.jsx("div",{className:"h-full w-full animate-pulse bg-slate-200"})}),s&&e.jsx("div",{className:"flex w-full max-w-6xl justify-end",children:e.jsx("button",{onClick:p,"aria-label":c?"Enable audio":"Mute audio",className:"flex items-center gap-2 rounded-full bg-slate-800 px-4 py-2 text-sm font-medium text-white hover:bg-slate-700 transition-colors shadow",children:c?e.jsxs(e.Fragment,{children:[e.jsx(R,{className:"h-4 w-4"}),e.jsx("span",{children:"Enable audio"})]}):e.jsxs(e.Fragment,{children:[e.jsx(A,{className:"h-4 w-4"}),e.jsx("span",{children:"Mute"})]})})})]})]})})}function E({children:n}){const[t,s]=l.useState(!1);return e.jsx("section",{id:"demo",className:"bg-white py-6 sm:py-8 border-t border-slate-100",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[e.jsxs("button",{onClick:()=>s(i=>!i),className:"w-full flex items-center justify-between gap-4 text-left group","aria-expanded":t,children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-bold tracking-tight text-slate-900 group-hover:text-slate-700 transition-colors",children:"See It In Action: full Demo"}),!t&&e.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"Click to watch a full walkthrough of the platform"})]}),e.jsx("span",{className:"flex-shrink-0 text-slate-400 group-hover:text-slate-600 transition-colors",children:t?e.jsx(k,{className:"h-6 w-6"}):e.jsx(S,{className:"h-6 w-6"})})]}),t&&e.jsx("div",{className:"mt-8 flex items-center justify-center",children:n})]})})}const L=l.lazy(()=>M(()=>import("./DemoSection-Dvasq85c.js"),__vite__mapDeps([0,1,2,3,4]))),w=()=>e.jsx(E,{children:e.jsx("div",{className:"aspect-video w-full max-w-6xl overflow-hidden rounded-xl bg-slate-200 animate-pulse"})});function F(){const[n,t]=l.useState(!1),s=l.useRef(null);return l.useEffect(()=>{const i=s.current;if(!i)return;const c=new IntersectionObserver(h=>{const[p]=h;p.isIntersecting&&(t(!0),c.disconnect())},{rootMargin:"200px",threshold:0});return c.observe(i),()=>c.disconnect()},[]),e.jsx("div",{ref:s,children:n?e.jsx(l.Suspense,{fallback:e.jsx(w,{}),children:e.jsx(L,{})}):e.jsx(w,{})})}const O={async getCommercialPlans(){return(await g.get("/get-commercial-plans")).data},async subscribeCheckout(n,t){return(await g.post("/subscribe-checkout",{plan:n,pack:t})).data}};export{F as D,H,W as Y,E as a,O as p};

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.