PageSourceSearch

https://app.blackbox.ai/_next/static/chunks/1871.c3d4896033c65796.js

js blackbox.ai collected 2026-09-24 08:41:26 UTC 1,210 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1871],{11871:function(e,t,r){r.r(t),r.d(t,{default:function(){return RootLoginDialogOpener}});var n=r(80833),o=r(20457),a=r(3531),i=r(90925);function RootLoginDialogOpener(){let{status:e}=(0,o.kP)(),t=(0,a.usePathname)(),r=(0,a.useSearchParams)(),{setIsOpen:u,setDefaultPageMode:l}=(0,i.O)(),c=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(c.current||"loading"===e||"/"!==t||"unauthenticated"!==e||!r)return;let n=r.get("signin"),o=r.get("signup"),a=r.get("redirect");if("true"===n){if(c.current=!0,a)try{localStorage.setItem("login_redirect_path",a)}catch(e){console.error("Failed to store redirect path:",e)}l("login"),u(!0)}else if("true"===o){if(c.current=!0,a)try{localStorage.setItem("login_redirect_path",a)}catch(e){console.error("Failed to store redirect path:",e)}l("signup"),u(!0)}},[e,t,r,u,l]),null}},90925:function(e,t,r){r.d(t,{O:function(){return o}});var n=r(16152);let o=(0,n.Ue)(e=>({isOpen:!1,defaultPageMode:"signup",setIsOpen:t=>e({isOpen:t}),setDefaultPageMode:t=>e({defaultPageMode:t}),openLoginDialog:(t,r)=>{r&&localStorage.setItem("login_redirect_path",r);let n={isOpen:!0};t&&(n.defaultPageMode=t),e(n)}}))}}]);

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.