PageSourceSearch

https://pageveil.net/_next/static/chunks/177698ba130da11c.js

js pageveil.net collected 2026-10-02 02:02:29 UTC 5,233 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13278,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a={callServer:function(){return n.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var r in a)Object.defineProperty(o,r,{enumerable:!0,get:a[r]});let n=e.r(38627),i=e.r(27463),s=e.r(77923)},62647,e=>{"use strict";e.i(18336);var t=e.i(49178),o=e.i(54041),a=e.i(90615);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return t;let o=e.trim();if(!o.startsWith("/")||o.startsWith("//"))return t;try{let e=new URL(o,"https://safe.local");return`${e.pathname}${e.search}${e.hash}`}catch{return t}}var n=e.i(69128),i=e.i(71069),s=e.i(44705),l=e.i(58081);async function c(){let e=btoa(String.fromCharCode(...crypto.getRandomValues(new Uint8Array(32)))),t=new TextEncoder().encode(e);return[e,Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(e=>e.toString(16).padStart(2,"0")).join("")]}let u=s.routing.locales.filter(e=>e!==s.routing.defaultLocale).map(e=>`/${e}`);function d(e,t){var o;let a=new URL(e,"https://safe.local"),r=`${a.pathname}${a.search}${a.hash}`;return t===s.routing.defaultLocale||(o=a.pathname,u.some(e=>o===e||o.startsWith(`${e}/`)))?r:`${(0,i.getLocalizedPath)(a.pathname,t)}${a.search}${a.hash}`}function g(e){let{redirectTo:u="/"}=e,g=(0,a.createClient)(),h=(0,l.useRouter)(),[p,f]=(0,n.useState)(!1),m=(0,n.useCallback)(async()=>{if(!g||!window.google)return;let{data:e,error:t}=await g.auth.getSession();if(t)return void console.error("Google One Tap: Error getting session",t);if(e.session)return;let[o,a]=await c();window.google.accounts.id.initialize({client_id:"558633764678-qhp546gpno3mpdjucu80gjrqehr5jnl7.apps.googleusercontent.com",callback:async e=>{try{let{data:n,error:l}=await g.auth.signInWithIdToken({provider:"google",token:e.credential,nonce:o});if(l)return void console.error("Google One Tap: Sign in error",l);if(n.session){var t,a;let e,o,n,l,c=`${window.location.pathname}${window.location.search}`,g=(t=window.location.pathname,s.routing.locales.find(e=>{if(e===s.routing.defaultLocale)return!1;let o=`/${e}`;return t===o||t.startsWith(`${o}/`)})??s.routing.defaultLocale),p=(0,i.getLocalizedPath)("/",g),f=(a=d(r(u,p),g),e=`${window.location.pathname}${window.location.search}`,o=new URLSearchParams(window.location.search),n=new Set(s.routing.locales.map(e=>(0,i.getLocalizedPath)("/login",e))),l=new Set(s.routing.locales.map(e=>(0,i.getLocalizedPath)("/signup",e))),n.has(window.location.pathname)?d(r(o.get("redirectTo"),a),g):l.has(window.location.pathname)?d(r(a),g):d(r(e,a),g));f!==c&&h.push(f),h.refresh()}}catch(e){console.error("Google One Tap: Unexpected error",e)}},nonce:a,use_fedcm_for_prompt:!0,auto_select:!0,cancel_on_tap_outside:!1,itp_support:!0,context:"signin"}),window.google.accounts.id.prompt()},[u,h,g]);return(0,n.useEffect)(()=>{p&&m()},[m,p]),(0,n.useEffect)(()=>()=>{window.google?.accounts?.id&&window.google.accounts.id.cancel()},[]),(0,t.jsx)(o.default,{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload",onReady:()=>f(!0)})}e.s(["GoogleOneTap",()=>g],62647)},49361,e=>{"use strict";var t=e.i(49178),o=e.i(19455),a=e.i(13278);let r=(0,a.createServerReference)("6084182026057d20b05a4222d7d6e0ba487c32fafe",a.callServer,void 0,a.findSourceMapURL,"signInWithGoogle");var n=e.i(32378),i=e.i(48648);function s(e){let{label:a,redirectTo:s}=e,l=(0,i.useLocale)();return(0,t.jsxs)(o.Button,{onClick:()=>r(s,l),className:"w-full h-11 cursor-pointer rounded-full bg-gradient-to-r from-[#4F72FF] via-[#2FB6FF] to-[#29E3FF] text-[#040e22] font-semibold text-sm shadow-[0_8px_28px_rgba(47,123,255,0.38)] transition-all duration-200 hover:opacity-95 hover:shadow-[0_12px_36px_rgba(47,123,255,0.52)] hover:-translate-y-px active:translate-y-0",children:[(0,t.jsx)(n.default,{height:20,width:20,src:"https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg",unoptimized:!0,alt:"Google logo",className:"mr-2.5"}),a]})}e.s(["GhLoginButton",()=>s],49361)},27634,e=>{"use strict";var t=e.i(49178),o=e.i(32378),a=e.i(76291),r=e.i(20133);function n(e){let{redirectTo:n}=e,i=(0,a.useTranslations)("Auth");return(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)(r.Link,{href:"/",className:"group transition-all duration-200",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-[#2F7BFF]/30 blur-2xl transition-opacity duration-200 group-hover:opacity-70"}
1),(0,t.jsx)(o.default,{src:"/assets/icons/logo/PageVeil-logo-icon.svg",alt:"PageVeil",width:72,height:72,className:"relative drop-shadow-[0_0_18px_rgba(47,123,255,0.55)]",unoptimized:!0})]})}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"landing-heading text-[26px] font-semibold leading-tight tracking-tight text-[#E2E9F8]",children:i("loginTitle")}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-[#5D7A9F]",children:i("productTagline")})]})]})}e.s(["LoginForm",()=>n])},40267,e=>{e.v(e=>Promise.resolve().then(()=>e(37692)))}]);

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.