PageSourceSearch

https://www.synclyst.app/_next/static/chunks/app/sign-in/%5B%5B...sign-in%5D%5D/page-9ced5211f52a84df.js

js synclyst.app collected 2026-10-02 01:15:35 UTC 10,558 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4330],{63:(e,t,r)=>{"use strict";var n=r(7260);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}}),r.o(n,"useSelectedLayoutSegments")&&r.d(t,{useSelectedLayoutSegments:function(){return n.useSelectedLayoutSegments}})},311:(e,t,r)=>{"use strict";r.d(t,{SignInForm:()=>f});var n=r(5155),o=r(7471),i=r(1526),s=r(2115),a=r(5140),l=r(2889);let c="pk_live_Y2xlcmsuc3luY2x5c3QuYXBwJA".trim(),u=["Connecting to secure sign-in…","Preparing your session…","Loading the sign-in form…"],d="synclyst_auth_hop";function h(){let[e,t]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=window.setInterval(()=>{t(e=>(e+1)%u.length)},2200);return()=>window.clearInterval(e)},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{children:"\n        @keyframes synclyst-spin {\n          to { transform: rotate(360deg); }\n        }\n        .synclyst-signin-load-ring {\n          width: 40px; height: 40px; border-radius: 50%;\n          border: 3px solid #f3e7e1;\n          border-top-color: #141414;\n          animation: synclyst-spin 0.85s linear infinite;\n        }\n      "}),(0,n.jsxs)("div",{style:{display:"flex",minHeight:260,flexDirection:"column",alignItems:"center",justifyContent:"center",gap:20,padding:"32px 16px",textAlign:"center"},children:[(0,n.jsx)("div",{className:"synclyst-signin-load-ring","aria-hidden":!0,role:"status","aria-label":"Loading"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{style:{margin:"0 0 6px",fontSize:"0.9rem",fontWeight:600,color:"#111827"},children:"Please wait"}),(0,n.jsx)("p",{style:{margin:0,minHeight:"1.4em",fontSize:"0.875rem",color:"#6b7280"},children:u[e]},e)]})]})]})}function f(e){var t;let{forceRedirectUrl:r,signUpUrl:u}=e,{isLoaded:f,isSignedIn:m}
1=(0,o.d)(),[g,x]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{(0,a.Sb)(r)},[r]),(0,s.useEffect)(()=>{if(!f)return;if(m){x(!0),window.location.replace(function(e){let t=(0,a.sH)(e);try{if(t.includes("/api/billing/checkout-redirect")){if(sessionStorage.getItem(d)===t)return sessionStorage.removeItem(d),"/mobile";sessionStorage.setItem(d,t)}else sessionStorage.removeItem(d)}catch(e){}return t}(r));return}x(!1);let e=window.setTimeout(()=>x(!0),2800);return()=>window.clearTimeout(e)},[f,m,r]),!c)return(0,n.jsxs)("div",{style:{maxWidth:"28rem",textAlign:"center",padding:"0 1rem"},children:[(0,n.jsx)("h1",{style:{fontSize:"1.25rem",fontWeight:600,color:"#18181b"},children:"Sign in"}),(0,n.jsxs)("p",{style:{marginTop:12,fontSize:"0.875rem",lineHeight:1.6,color:"#52525b"},children:["Clerk isn't configured. Add ",(0,n.jsx)("code",{children:"NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY"})," and",(0,n.jsx)("code",{children:" CLERK_SECRET_KEY"})," to your environment, then restart the dev server."]})]});let p={...l.T,elements:{...null!=(t=l.T.elements)?t:{},rootBox:"w-full",cardBox:"shadow-none border-0 bg-transparent p-0",card:"shadow-none border-0 rounded-none bg-transparent p-0",footer:"shadow-none border-0"}},b=!f||!m&&!g;if(f&&m){let e=r||"/mobile",t=e.includes("extension-return"),o=e.includes("checkout-redirect");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{children:"@keyframes synclyst-spin { to { transform: rotate(360deg); } }"}),(0,n.jsxs)("div",{style:{display:"flex",minHeight:200,flexDirection:"column",alignItems:"center",justifyContent:"center",gap:16,textAlign:"center",padding:"32px 16px"},children:[(0,n.jsx)("div",{style:{width:36,height:36,borderRadius:"50%",border:"3px solid #f3e7e1",borderTopColor:"#141414",animation:"synclyst-spin 0.85s linear infinite"},"aria-hidden":!0}),(0,n.jsx)("p",{style:{margin:0,fontSize:"0.9rem",fontWeight:600,color:"#18181b"},children:o?"Opening checkout…":"Continuing…"}),(0,n.jsx)("p",{style:{margin:0,fontSize:"0.875rem",color:"#6b7280"},children:t?"Open the SyncLyst extension to continue.":o?"Taking you to Stripe.":"Taking you back…"})]})]})}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{className:"mb-3 text-center text-xs text-zinc-500 max-w-sm mx-auto",children:["New to SyncLyst?"," ",(0,n.jsx)("a",{href:u,className:"font-semibold text-zinc-800 underline",children:"Create an account"})," ","first. Sign-in below is for returning users."]}),(0,n.jsxs)("div",{style:{position:"relative",minHeight:300},children:[f&&!m?(0,n.jsx)(i.Ls,{forceRedirectUrl:r,fallbackRedirectUrl:r,afterSignInUrl:r,redirectUrl:r,signUpUrl:u,appearance:p}):null,b?(0,n.jsx)("div",{style:f?{position:"absolute",inset:0,zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255,255,255,0.97)",borderRadius:"inherit"}:{width:"100%"},children:(0,n.jsx)(h,{})}):null]})]})}},633:(e,t,r)=>{"use strict";r.d(t,{T5:()=>o.T5,hP:()=>n.hP,kX:()=>o.kX,nO:()=>o.nO,wV:()=>n.wV,yC:()=>i}),r(3836);var n=r(2900),o=r(12);function i(e,t,r){let o=t.path||(null==r?void 0:r.path);return"path"===(t.routing||(null==r?void 0:r.routing)||"path")?o?{...r,...t,routing:"path"}:n.sb.throw((0,n.kd)(e)):t.path?n.sb.throw((0,n.s7)(e)):{...r,...t,path:void 0}}},1526:(e,t,r)=>{"use strict";r.d(t,{Ls:()=>c,Hx:()=>u});var n=r(4018),o=r(2115),i=r(633),s=r(2787),a=r(9194);function l(e,t,c=!0){let u=(()=>{let e=o.useRef(),{pagesRouter:t}=(0,a.r)();if(t)if(e.current)return e.current;else return e.current=t.pathname.replace(/\/\[\[\.\.\..*/,""),e.current;let n=r(63).usePathname,i=r(63).useParams,s=(n()||"").split("/").filter(Boolean),l=Object.values(i()||{}).filter(e=>Array.isArray(e)).flat(1/0);return e.current||(e.current=`/${s.slice(0,s.length-l.length).join("/")}`),e.current})(),d=(0,i.yC)(e,t,{path:u});return((e,t,r,i=!0)=>{let l=o.useRef(0),{pagesRouter:c}=(0,a.r)(),{session:u,isLoaded:d}=(0,n.wV)();(0,s.Fj)()||o.useEffect(()=>{if(!d||r&&"path"!==r||i&&!u)return;let n=new AbortController,o=()=>{let r=c?`${t}/[[...index]].tsx`:`${t}/[[...rest]]/page.tsx`;throw Error(`
2Clerk: The <${e}/> component is not configured correctly. The most likely reasons for this error are:
3
41. The "${t}" route is not a catch-all route.
5It is recommended to convert this route to a catch-all route, eg: "${r}". Alternatively, you can update the <${e}/> component to use hash-based routing by setting the "routing" prop to "hash".
6
72. The <${e}/>
7 component is mounted in a catch-all route, but all routes under "${t}" are protected by the middleware.
8To resolve this, ensure that the middleware does not protect the catch-all route or any of its children. If you are using the "createRouteMatcher" helper, consider adding "(.*)" to the end of the route pattern, eg: "${t}(.*)". For more information, see: https://clerk.com/docs/reference/nextjs/clerk-middleware#create-route-matcher
9`)};return c?c.pathname.match(/\[\[\.\.\..+]]/)||o():(async()=>{let t;if(l.current++,!(l.current>1)){try{let r=`${window.location.origin}${window.location.pathname}/${e}_clerk_catchall_check_${Date.now()}`;t=await fetch(r,{signal:n.signal})}catch{}(null==t?void 0:t.status)===404&&o()}})(),()=>{l.current>1&&n.abort()}},[d])})(e,u,d.routing,c),d}Object.assign(e=>o.createElement(n.Fv,{...l("UserProfile",e)}),{...n.Fv}),Object.assign(e=>o.createElement(n.nC,{...l("OrganizationProfile",e)}),{...n.nC});let c=e=>o.createElement(n.Ls,{...l("SignIn",e,!1)}),u=e=>o.createElement(n.Hx,{...l("SignUp",e,!1)})},2889:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n={layout:{socialButtonsVariant:"blockButton"},variables:{colorPrimary:"#18181b",colorDanger:"#b91c1c",colorSuccess:"#15803d",colorWarning:"#a16207",colorNeutral:"#e4e4e7",colorBackground:"#ffffff",colorInputBackground:"#ffffff",colorInputText:"#18181b",colorText:"#18181b",colorTextSecondary:"#71717a",borderRadius:"0.75rem",fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',fontSize:"0.875rem"},elements:{rootBox:"w-full max-w-md",cardBox:"shadow-none border-0 bg-transparent",card:"shadow-none border border-[#e5e5e5] rounded-2xl bg-white",headerTitle:"text-xl font-bold tracking-tight text-[#0a0a0a]",headerSubtitle:"text-sm text-[#525252]",socialButtonsBlockButton:"border border-[#0a0a0a] bg-white hover:bg-zinc-50 text-[#0a0a0a] rounded-xl shadow-none font-medium",socialButtonsBlockButtonText:"text-[#0a0a0a] font-medium",formButtonPrimary:"bg-[#0a0a0a] hover:bg-zinc-800 text-white text-sm font-semibold rounded-xl border border-[#0a0a0a] shadow-none",formFieldInput:"border border-[#e5e5e5] rounded-xl text-[#0a0a0a] placeholder:text-zinc-400 shadow-none",formFieldLabel:"text-[#525252] text-sm font-medium",footerActionLink:"text-[#0a0a0a] font-medium",dividerLine:"bg-[#e5e5e5]",dividerText:"text-[#71717a] text-xs",footer:"shadow-none border-t border-[#e5e5e5]"}}},4637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouter",{enumerable:!0,get:function(){return i}});let n=r(2115),o=r(9862);function i(){return(0,n.useContext)(o.RouterContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5050:(e,t,r)=>{Promise.resolve().then(r.bind(r,311))},5140:(e,t,r)=>{"use strict";r.d(t,{Sb:()=>i,sH:()=>s});let n="synclyst_after_auth";function o(e){return"string"==typeof e&&e.startsWith("/")&&!e.startsWith("//")}function i(e){if(o(e))try{let t=sessionStorage.getItem(n);if(t&&o(t)&&("/dashboard/home"===e||"/dashboard"===e))return;sessionStorage.setItem(n,e)}catch(e){}}function s(e){try{let e=sessionStorage.getItem(n);if(e&&o(e))return sessionStorage.removeItem(n),e}catch(e){}return o(e)?e:"/mobile"}},7471:(e,t,r)=>{"use strict";r.d(t,{d:()=>l});var n=r(4018),o=r(633),i=r(9268),s=r(2115);let a=s.createContext(null);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.useRouter)(),r=s.useContext(a),l=r;return(r&&"then"in r&&(l=s.use(r)),"undefined"!=typeof window)?(0,n.As)({...l,...e}):t?(0,n.As)(e):(0,o.hP)({...l,...e})}},9194:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(9268);let o=()=>({pagesRouter:(0,n.useRouter)()})},9268:(e,t,r)=>{e.exports=r(4637)},9862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8140)._(r(2115)).default.createContext(null)}},e=>{e.O(0,[4018,8441,1255,7358],()=>e(e.s=5050)),_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.