PageSourceSearch

https://dashboard.upriver.ai/_next/static/chunks/1466-954a8cf50efd5be1.js?dpl=dpl_4Z9SZhXjvGKvv77istPuyJVg5qvr

js upriver.ai collected 2026-10-05 14:15:12 UTC 10,000 bytes, 14 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1466],{16463:function(e,t,r){var n=r(71169);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),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}})},11562:function(e,t,r){r.d(t,{$w:function(){return o},At:function(){return i},Dk:function(){return l},Kl:function(){return u},Zc:function(){return a},b3:function(){return n},cj:function(){return _},kl:function(){return s},p4:function(){return c}});let n="https://test.stytch.com",o="https://api.stytch.com",s="https://js.stytch.com/clientside-services/index.html",i="https://telemetry.stytch.com",a="https://elements.stytch.com",u="https://accounts.google.com/gsi",c=`${u}/client`,_=30,l="It looks like you're creating multiple copies of the Stytch client. This behavior is unsupported, and unintended side effects may occur. Make sure you are creating the Stytch client at the global level, and not inside a component's render function."},95376:function(e,t,r){r.d(t,{EP:function(){return n},KD:function(){return a},W5:function(){return c},av:function(){return S},bj:function(){return s},ep:function(){return i},gR:function(){return o},i:function(){return E},iY:function(){return _},of:function(){return l},v8:function(){return d}});class n extends Error{details;constructor(e,t){super(e+"\n"+t),this.message=e+"\n"+t,this.name="SDKAPIUnreachableError",this.details=t,Object.setPrototypeOf(this,n.prototype)}}class o extends Error{constructor(e,t){super(),this.name="StytchSDKUsageError",this.message=`Invalid call to ${e}
2`+t}}class s extends Error{constructor(e){super(),this.name="StytchSDKSchemaError";let t=e.body?.map(e=>`${e.dataPath}: ${e.message}`).join("\n");this.message=`[400] Request does not match expected schema
3${t}`}}class i extends Error{error_type;error_message;error_url;request_id;status_code;error_details;constructor(e){super(),this.name="StytchSDKAPIError";let{status_code:t,error_type:r,error_message:n,error_url:o,request_id:s,error_details:i}=e;this.error_type=r,this.error_message=n,this.error_url=o,this.request_id=s,this.status_code=t,this.error_details=i,this.message=`[${t}] ${r}
4${n}
5See ${o} for more information.
6`+(s?`request_id: ${s}
7`:"")+(this.error_details?`Details: 
8`+JSON.stringify(this.error_details)+"\n":"")}}let a=["unauthorized_credentials","user_unauthenticated","invalid_secret_authentication","session_not_found"];class u extends Error{constructor(e,t){super(t),this.name=e}}class c extends u{constructor(e){super("StytchAPIUnreachableError",e),Object.setPrototypeOf(this,c.prototype)}}class _ extends u{constructor(e){super("StytchAPISchemaError",`Request does not match expected schema
9${e.body?.map(e=>`${e.dataPath}: ${e.message}`).join("\n")}`)}}class l extends u{error_type;error_message;error_url;request_id;status_code;error_details;constructor(e){let{status_code:t,error_type:r,error_message:n,error_url:o,request_id:s,error_details:i}=e;super("StytchAPIError",`[${t}] ${r}
10${n}
11See ${o} for more information.
12`+(s?`request_id: ${s}
13`:"")+(i?`Details: 
14`+JSON.stringify(i)+"\n":"")),this.error_type=r,this.error_message=n,this.error_url=o,this.request_id=s,this.status_code=t,this.error_details=i}static from(e){return e instanceof l?e:new l(e&&"object"==typeof e&&"number"==typeof e.status_code&&"string"==typeof e.error_type&&"string"==typeof e.error_message&&"string"==typeof e.error_url?{status_code:e.status_code,error_type:e.error_type,error_message:e.error_message,error_url:e.error_url,request_id:"string"==typeof e.request_id?e.request_id:void 0,error_details:"object"==typeof e.error_details?e.error_details:void 0}:{status_code:400,error_type:"unknown_error",error_message:e instanceof Error?e.message:"Unknown error: "+String(e),error_url:"",request_id:void 0,error_details:void 0})}}class d extends u{options;constructor(e,t,r){super(e,t),this.options=r}}class E extends d{constructor(){super("NoCurrentSessionError","There is no session currently available. Make sure the user is authenticated with a valid session.")}}class S extends d{constructor(e){super("IDPOAuthFlowMissingParamError",e)}}},92681:function(e,t,r){r.d(t,{Mk:function(){return n},SO:function(){return s},iv:function(){return i},jW:function(){return o}});let n={Discovery:"Discovery",Organization:"Organization",PasswordReset:"PasswordReset"},o={ResetPassword:"reset_password"},s={Google:"google",Microsoft:"microsoft",HubSpot:"hubspot",Slack:"slack",GitHub:"github"},i={smsOtp:"smsOtp",totp:"totp"}},82568:function(e,t,r){r.d(t,{aQ:function(){return n},z_:function(){return s}});let n={embedded:"embedded",floating:"floating",embeddedOnly:"embeddedOnly",floatingOrEmbedded:"floatingOrEmbedded",forceLegacyEmbedded:"forceLegacyEmbedded"};var o,s=((o={}).MagicLinkLoginOrCreateEvent="MAGIC_LINK_LOGIN_OR_CREATE",o.OTPsLoginOrCreateEvent="OTP_LOGIN_OR_CREATE",o.OTPsAuthenticate="OTP_AUTHENTICATE",o.CryptoWalletAuthenticateStart="CRYPTO_WALLET_AUTHENTICATE_START",o.CryptoWalletAuthenticate="CRYPTO_WALLET_AUTHENTICATE",o.PasswordCreate="PASSWORD_CREATE",o.PasswordAuthenticate="PASSWORD_AUTHENTICATE",o.PasswordResetByEmailStart="PASSWORD_RESET_BY_EMAIL_START",o.PasswordResetByEmail="PASSWORD_RESET_BY_EMAIL",o.PasskeyRegister="PASSKEY_REGISTER",o.PasskeyAuthenticate="PASSKEY_AUTHENTICATE",o.PasskeySkip="PASSKEY_SKIP",o.PasskeyDone="PASSKEY_DONE",o.AuthenticateFlowComplete="AUTHENTICATE_FLOW_COMPLETE",o.OAuthAuthorizeFlowStart="OAUTH_AUTHORIZE_FLOW_START",o.OAuthAuthorizeFlowComplete="OAUTH_AUTHORIZE_FLOW_COMPLETE",o.OAuthAuthorizeFlowConsentDenied="OAUTH_AUTHORIZE_FLOW_CONSENT_DENIED",o.B2BMagicLinkEmailLoginOrSignup="B2B_MAGIC_LINK_EMAIL_LOGIN_OR_SIGNUP",o.B2BMagicLinkAuthenticate="B2B_MAGIC_LINK_AUTHENTICATE",o.B2BMagicLinkEmailDiscoverySend="B2B_MAGIC_LINK_EMAIL_DISCOVERY_SEND",o.B2BMagicLinkDiscoveryAuthenticate="B2B_MAGIC_LINK_DISCOVERY_AUTHENTICATE",o.B2BSSOStart="B2B_SSO_START",o.B2BSSOAuthenticate="B2B_SSO_AUTHENTICATE",o.B2BSSODiscoverConnections="B2B_SSO_DISCOVER_CONNECTIONS",o.B2BOAuthAuthenticate="B2B_OAUTH_AUTHENTICATE",o.B2BOAuthDiscoveryAuthenticate="B2B_OAUTH_DISCOVERY_AUTHENTICATE",o.B2BDiscoveryOrganizationsCreate="B2B_DISCOVERY_ORGANIZATIONS_CREATE",o.B2BDiscoveryIntermediateSessionExchange="B2B_DISCOVERY_INT
14ERMEDIATE_SESSION_EXCHANGE",o.B2BPasswordAuthenticate="B2B_PASSWORD_AUTHENTICATE",o.B2BPasswordDiscoveryAuthenticate="B2B_PASSWORD_DISCOVERY_AUTHENTICATE",o.B2BPasswordResetByEmailStart="B2B_PASSWORD_RESET_BY_EMAIL_START",o.B2BPasswordResetByEmail="B2B_PASSWORD_RESET_BY_EMAIL",o.B2BPasswordResetBySession="B2B_PASSWORD_RESET_BY_SESSION",o.B2BSMSOTPSend="B2B_SMS_OTP_SEND",o.B2BSMSOTPAuthenticate="B2B_SMS_OTP_AUTHENTICATE",o.B2BTOTPCreate="B2B_TOTP_CREATE",o.B2BTOTPAuthenticate="B2B_TOTP_AUTHENTICATE",o.B2BRecoveryCodesRecover="B2B_RECOVERY_CODES_RECOVER",o.B2BPasswordDiscoveryResetStart="B2B_PASSWORD_DISCOVERY_RESET_BY_EMAIL_START",o.B2BDiscoveryPasswordReset="B2B_PASSWORD_DISCOVERY_RESET_BY_EMAIL",o.B2BImpersonationAuthenticate="B2B_IMPERSONATION_AUTHENTICATE",o.B2BOTPsEmailAuthenticate="B2B_OTPS_EMAIL_AUTHENTICATE",o.B2BOTPsEmailDiscoveryAuthenticate="B2B_OTPS_EMAIL_DISCOVERY_AUTHENTICATE",o.B2BOTPsEmailDiscoverySend="B2B_OTPS_EMAIL_DISCOVERY_SEND",o.B2BOTPsEmailLoginOrSignup="B2B_OTPS_EMAIL_LOGIN_OR_SIGNUP",o.B2BOrganizationsGetBySlug="B2B_ORGANIZATIONS_GET_BY_SLUG",o)},69964:function(e,t,r){r.d(t,{k:function(){return o}});let n=["[Stytch]"],o={debug:(...e)=>!1,log:(...e)=>console.log(...n,...e),warn:(...e)=>console.warn(...n,...e),error:(...e)=>console.error(...n,...e)}},34362:function(e,t,r){r.d(t,{MI:function(){return o},Uz:function(){return n}});let n=()=>{let e=function(e){let t=new URL(e),r=t.searchParams;return r.delete("token"),r.delete("stytch_token_type"),t}(window.location.toString());window.history.replaceState(null,document.title,e)},o=e=>{let t=Object.keys(e),r=(e=window.location.href)=>{let r=new URL(e),n=r.searchParams.get("stytch_token_type"),o=r.searchParams.get("token");return o&&n?t.includes(n)?{handled:!0,token:o,tokenType:n}:{handled:!1,token:o,tokenType:n}:null};return{authenticateByUrl:async({clearParams:t,...o},s=window.location.href)=>{let i=t??s===window.location.href,a=r(s);if(null==a)return null;if(!a.handled)return a;let{token:u,tokenType:c}=a,_=e[c];return i&&n(),{handled:!0,tokenType:c,data:await _(u,o)}},parseAuthenticateUrl:r}}},62423:function(e,t,r){r.d(t,{CU:function(){return n},Ds:function(){return o},FW:function(){return i},ZT:function(){return a},a8:function(){return s}});let n=/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,o=(e,t=500)=>{let r;return(...n)=>{clearTimeout(r),r=window.setTimeout(()=>e(...n),t)}},s=()=>!!("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)),i=e=>(document.cookie?document.cookie.split("; "):[]).filter(t=>{let[r]=t.split("=");return e===r}).length>1,a=()=>{}},69939:function(e,t,r){r.d(t,{nw:function(){return s},qd:function(){return o}});let n=Symbol.for("stytch__internal_b2b");Symbol.for("stytch__internal_b2c");let o=(e,t)=>{Object.assign(e,{[n]:t})},s=e=>{if(!e[n])throw Error("Internals not found!");return e[n]}},55375:function(e,t,r){r.d(t,{EN:function(){return s},KK:function(){return i},eD:function(){return n},h_:function(){return a}});let n=(e,t)=>`stytch_sdk_state_${e}${t?`::${t}`:""}`;function o(e){return null==e?{getItem:()=>null,removeItem(){},setItem(){}}:{getItem(t,r){let o=n(t,r);try{return e.getItem(o)}catch{return null}},setItem(t,r,o){let s=n(t,r);try{o&&e.setItem(s,o)}catch{}},removeItem(t,r){let o=n(t,r);try{e.removeItem(o)}catch{}}}}let s=o(globalThis.localStorage),i=o(globalThis.sessionStorage);function a(e,t){return{getItem:r=>e.getItem(t,r),setItem(r,n){e.setItem(t,r,n)},removeItem(r){e.removeItem(t,r)}}}}}]);

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.