PageSourceSearch

https://www.notebookplus.app/_next/static/chunks/app/(auth)/sign-i…?dpl=dpl_68A2F62cGqDoYnUjSqnv9o6GWehy

js notebookplus.app collected 2026-10-02 01:14:54 UTC 14,993 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{8939:function(e,t,n){Promise.resolve().then(n.bind(n,8883))},6060:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(9915),o=n.n(r)},6788:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(9498),o=n.n(r)},8779:function(e,t,n){"use strict";var r=n(1020);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},2555:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(4518)},4518:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],c=!1,u=-1;function d(){c&&r&&(c=!1,r.length?l=r.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(r=l,l=[];++u<t;)r&&r[u].run();u=-1,t=l.length}r=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||c||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},9915:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(6651),o=n(9171),i=n(4663),a=r._(n(3235));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=i.Image},4595:function(e,t){"use strict";t.Z={brand:{name:"NotebookPlus",siteUrl:"https://www.notebookplus.app",email:"[email protected]",logo:"/images/logo.png",tokenStorageKey:"extension_auth_token",emailAccentColor:"#3186FF",metadata:{title:"NotebookPlus | NotebookLM & Gemini Notebook™",description:"One-click webpage import into Google NotebookLM (Gemini Notebook™). A Chrome and Edge extension that adds sources as you browse. Start free."}},extension:{id:"main",name:"NotebookPlus",description:"Chrome and Edge extension that imports any webpage into Google NotebookLM (Gemini Notebook™) in one click.",targetUrl:"https://notebooklm.google.com",targetLabel:"NotebookLM",landingPath:"/",iconImage:"/images/logo.png",heroImage:"/images/hero-screenshot.png",storeSearchName:"NotebookPlus",chromeStoreEnv:"NEXT_PUBLIC_CHROME_WEB_STORE_URL",edgeStoreEnv:"NEXT_PUBLIC_EDGE_ADDONS_STORE_URL",chromeStoreUrl:"https://chromewebstore.google.com/detail/notebookplus-for-gemini-n/mcgllilegmkcpapcfdaelnijacgfiolf?hl=en"},pricing:{plans:[{name:"Free",planId:"free",price:0,priceSuffix:"",billingType:"free",description:"Start importing webpages into NotebookLM / Gemini Notebook™ in seconds. No credit card required.",features:["One-click import from any webpage","Add sources directly inside NotebookLM / Gemini Notebook™","Chrome and Edge extension","No credit card required"],hideButton:!0},{name:"Pro",planId:"pro",price:4.99,priceSuffix:"/mo",billingType:"subscription",description:"Full access, billed monthly. Cancel anytime.",isPopular:!0,guarantee:"3-day money-back guarantee",features:["Everything in Free","Remove branding","Priority support","3-day money-back guarantee"],buttonText:"Go Pro — $4.99/mo",priceIdEnv:"NEXT_PUBLIC_PRO_MONTHLY_PRICE_ID",paymentLinkEnv:"NEXT_PUBLIC_PRO_MONTHLY_PAYMENT_LINK"},{name:"Lifetime",planId:"lifetime",price:29,priceSuffix:" one-time",billingType:"one_time",description:"All Pro benefits, forever. Pay once, never again.",equivalentLabel:"That's $0.08/day",savingsLabel:"Pays for itself in ~6 months vs Pro",guarantee:"One-time payment. No subscription.",features:["Everything in Pro, forever","Remove branding","Priority support","Pay once — no renewals","Lock in today's price"],buttonText:"Buy Lifetime — $29",priceIdEnv:"NEXT_PUBLIC_LIFETIME_PRICE_ID",paymentLinkEnv:"NEXT_PUBLIC_LIFETIME_PAYMENT_LINK"}]}
1,analytics:{allowedEvents:["extension_installed","popup_opened","feature_used","daily_limit_reached","upgrade_prompt_clicked"]}}},8883:function(e,t,n){"use strict";n.d(t,{default:function(){return p}});var r=n(3890),o=n(2092),i=n(5414),a=n(9863),s=n(8167),l=n(6788),c=n(6060),u=n(8496),d=n(5659),f=n(8779);function m(){var e,t;return null===(t=window.google)||void 0===t?void 0:null===(e=t.accounts)||void 0===e?void 0:e.id}function p(){let e=(0,f.useRouter)(),t=(0,u.useRef)(null),n=(0,u.useRef)(async()=>{}),[p,g]=(0,u.useState)(""),[h,b]=(0,u.useState)(""),[x,v]=(0,u.useState)(!1),[y,k]=(0,u.useState)(!1),[N,w]=(0,u.useState)(0),[_,P]=(0,u.useState)(!1),j=async()=>{if(!p||!p.includes("@")){d.Am.error("Please enter a valid email address");return}v(!0);try{await a.Lp.emailOtp.sendVerificationOtp({email:p,type:"sign-in"}),d.Am.success("Verification code sent to your email"),P(!0),w(60);let e=setInterval(()=>{w(t=>t<=1?(clearInterval(e),0):t-1)},1e3)}catch(e){d.Am.error("Failed to send verification code, please try again"),console.error("Send OTP error:",e)}finally{v(!1)}},E=async()=>{if(!h||6!==h.length){d.Am.error("Please enter a 6-digit verification code");return}k(!0);try{let{data:t,error:n}=await a.zB.emailOtp({email:p,otp:h});if(n)throw n;d.Am.success("Sign in successful!"),e.push("/dashboard")}catch(e){d.Am.error("Invalid verification code, please try again"),console.error("Verify OTP error:",e)}finally{k(!1)}};return(0,u.useEffect)(()=>{n.current=async t=>{try{var n;let{error:r}=await a.zB.social({provider:"google",idToken:{token:t.credential},fetchOptions:{onSuccess:()=>{d.Am.success("Sign in successful!"),e.push("/dashboard")}}});r&&d.Am.error(null!==(n=r.message)&&void 0!==n?n:"Google sign-in failed")}catch(e){d.Am.error("Google sign-in failed"),console.error(e)}}},[e]),(0,u.useEffect)(()=>{let e=t.current,r="911632822075-n5h5ij2vga9tvfgs4ho4bj2jbd9gpo31.apps.googleusercontent.com";if(!e||!r)return;let o=!1;return(m()?Promise.resolve():new Promise((e,t)=>{let n=document.querySelector('script[src="https://accounts.google.com/gsi/client"]');if(n){if(m()){e();return}n.addEventListener("load",()=>e(),{once:!0}),n.addEventListener("error",()=>t(Error("Google script failed")),{once:!0});return}let r=document.createElement("script");r.src="https://accounts.google.com/gsi/client",r.async=!0,r.onload=()=>e(),r.onerror=()=>t(Error("Google script failed")),document.head.appendChild(r)})).then(()=>{if(o)return;let t=m();if(!t)return;let i=window;i.__extensionGisInit||(t.initialize({client_id:r,callback:async e=>{await n.current(e)}}),i.__extensionGisInit=!0),e.innerHTML="",t.renderButton(e,{type:"standard",theme:"outline",size:"large",width:Math.max(e.offsetWidth,280),text:"signin_with",locale:"en"}),t.prompt()}).catch(e=>{console.error(e),d.Am.error("Failed to load Google Sign-In")}),()=>{o=!0}},[]),(0,r.jsx)("div",{className:"min-h-screen flex flex-col",children:(0,r.jsx)("section",{className:"flex-1 flex items-center justify-center px-5 pt-28 md:pt-36 pb-16",children:(0,r.jsxs)("div",{className:"w-full max-w-md",children:[(0,r.jsxs)("div",{className:"text-center mb-8",children:[(0,r.jsx)(c.default,{className:"mx-auto mb-6",src:s.B.siteLogo,alt:s.B.siteName,width:56,height:56}),(0,r.jsx)("h1",{className:"text-3xl md:text-5xl text-foreground",children:"Welcome back"})]}),(0,r.jsxs)("div",{className:"rounded-2xl border border-black/[0.08] bg-white p-6 md:p-8",children:[(0,r.jsx)("div",{ref:t,className:"w-full min-h-[48px] flex flex-col items-stretch [&>div]:w-full justify-center"}),(0,r.jsxs)("div",{className:"relative my-6",children:[(0,r.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,r.jsx)("span",{className:"w-full border-t border-black/[0.08]"})}),(0,r.jsx)("div",{className:"relative flex justify-center text-xs uppercase tracking-wide",children:(0,r.jsx)("span",{className:"bg-white px-3 text-foreground-accent",children:"or"})})]}),(0,r.jsxs)("div",{className:"space-y-5",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(i._,{htmlFor:"email",className:"text-[15px] font-medium text-foreground",children:"Email address"}),(0,r.jsx)(o.I,{id:"email",type:"email",placeholder:"[email protected]",value:p,onChange:e=>g(e.target.value),className:"h-12 w-full rounded-xl border-black/[0.08] bg-background px-4 text-base shadow-none md:text-base focus-visible:ring-pro",onKeyDown:e=>{"Enter"===e.key&&j()}})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(i._,{htmlFor:"otp",className:"text-[15px] font-medium text-foreground",children:"Verification code"}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.I,{id:"otp",type:"text",placeholder:"Click “Get code” first",value:h,onChange:e=>{b(e.target.value.replace(/\D/g,"").slice(0,6))},className:"h-12 flex-1 rounded-xl border-black/[0.08] bg-background px-4 text-base shadow-none md:text-base focus-visible:ring-pro",maxLength:6,disabled:!_,onKeyDown:e=>{"Enter"===e.key&&E()}}),(0,r.jsx)("button",{type:"button",onClick:j,disabled:x||!p||N>0,className:"h-12 px-5 rounded-full bg-black/[0.06] text-foreground hover:bg-black/[0.1] text-sm font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed shrink-0",children:x?"Sending...":N>0?"".concat(N,"s"):"Get code"})]})]}),(0,r.jsx)("button",{type:"button",onClick:E,disabled:y||6!==h.length||!_,className:"w-full h-12 rounded-full bg-pro text-pro-foreground hover:bg-pro/90 text-base font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:y?"Signing in...":"Sign in with email"}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2 text-sm text-foreground-accent",children:[(0,r.jsx)("svg",{className:"w-4 h-4 text-pro",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.031 9-11.
1622 0-1.042-.133-2.052-.382-3.016z"})}),(0,r.jsx)("span",{children:"Secure encrypted sign in"})]})]}),(0,r.jsxs)("p",{className:"mt-8 text-center text-sm text-foreground-accent leading-relaxed",children:["By signing in, you agree to our"," ",(0,r.jsx)(l.default,{href:"/privacy-policy",className:"text-foreground underline underline-offset-4 hover:text-foreground/70",target:"_blank",children:"Privacy Policy"})," ","and"," ",(0,r.jsx)(l.default,{href:"/terms-of-service",className:"text-foreground underline underline-offset-4 hover:text-foreground/70",target:"_blank",children:"Terms of Service"}),"."]})]})]})})})}},2092:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var r=n(3890),o=n(8496),i=n(5774);let a=o.forwardRef((e,t)=>{let{className:n,type:o,...a}=e;return(0,r.jsx)("input",{type:o,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:t,...a})});a.displayName="Input"},5414:function(e,t,n){"use strict";n.d(t,{_:function(){return d}});var r=n(3890),o=n(8496),i=n(8095),a=Object.defineProperty,s=o.forwardRef(a(function(e,t){return(0,r.jsx)(i.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},"name",{value:"Label",configurable:!0})),l=n(8898),c=n(5774);let u=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=o.forwardRef((e,t)=>{let{className:n,...o}=e;return(0,r.jsx)(s,{ref:t,className:(0,c.cn)(u(),n),...o})});d.displayName=s.displayName},8167:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(4595);let o={siteName:"NotebookPlus",siteUrl:"https://www.notebookplus.app",siteEmail:"[email protected]",metadata:{title:r.Z.brand.metadata.title,description:r.Z.brand.metadata.description},language:"en-us",locale:"en-US",siteLogo:r.Z.brand.logo,tokenStorageKey:r.Z.brand.tokenStorageKey,emailAccentColor:r.Z.brand.emailAccentColor}},9863:function(e,t,n){"use strict";n.d(t,{Lp:function(){return l},kP:function(){return f},w7:function(){return d},zB:function(){return u}});var r=n(9505),o=n(9984),i=n(5659),a=n(6826),s=n(8167);let l=(0,r.XL)({plugins:[(0,o.sF)({clientId:"911632822075-n5h5ij2vga9tvfgs4ho4bj2jbd9gpo31.apps.googleusercontent.com",promptOptions:{maxAttempts:1}}),(0,o.kx)(),(0,a.G)({subscription:!0})],fetchOptions:{onSuccess:e=>{let t=e.response.headers.get("set-auth-token");t&&localStorage.setItem(s.B.tokenStorageKey,t)},onError(e){429===e.error.status&&i.Am.error("Too many requests. Please try again later.")}}}),{signUp:c,signIn:u,signOut:d,useSession:f}=l;l.$store.listen("$sessionSignal",async()=>{})},5774:function(e,t,n){"use strict";n.d(t,{cn:function(){return i}});var r=n(2675),o=n(3110);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.m6)((0,r.W)(t))}}},function(e){e.O(0,[498,663,108,703,30,649,945,744],function(){return e(e.s=8939)}),_N_E=e.O()}]);

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.