PageSourceSearch

https://neil-land.notion.site/_assets/routeConfig-legacy-redirects-788066cc27eb00c7.js

js neil-land.notion.site collected 2026-10-09 22:34:01 UTC 2,601 bytes, 1 lines download raw bytes

1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[13453],{166967(e,t,r){r.d(t,{},{creatorProfileConnectionsLegacyRedirectRouteConfig:{name:"creatorProfileConnectionsLegacyRedirect",description:"Redirects legacy /profile/connections paths to their rewritten /profile/integrations/listing target, preserving the query string",owner:"adoption",onLoad:({environment:e,tabId:t,routerState:{route:o}},{href:i})=>{let n=i.indexOf("?"),a=n>=0?i.slice(n):"";return r(800198).Router.navigate({environment:e,tabId:t,url:`${o.targetPathname}${a}`,redirect:!0}),Promise.resolve()}}})},841244(e,t,r){r.d(t,{},{gtmDashRedirectRouteConfig:{name:"gtmDashRedirect",description:"Redirects legacy /gtm-dash paths to their rewritten /pit-crew target, preserving the query string",owner:"gtm-2-0-eng-team",onLoad:({environment:e,tabId:t,routerState:{route:o}},{href:i})=>{let n=i.indexOf("?"),a=n>=0?i.slice(n):"";return r(800198).Router.navigate({environment:e,tabId:t,url:`${o.targetPathname}${a}`,redirect:!0}),Promise.resolve()}}})},52107(e,t,r){r.d(t,{},{nboProtoRedirectRouteConfig:{name:"nboProtoRedirect",description:"Redirects legacy /nbo-proto paths to their rewritten /pit-crew target, preserving the query string",owner:"gtm-2-0-eng-team",onLoad:({environment:e,tabId:t,routerState:{route:o}},{href:i})=>{let n=i.indexOf("?"),a=n>=0?i.slice(n):"";return r(800198).Router.navigate({environment:e,tabId:t,url:`${o.targetPathname}${a}`,redirect:!0}),Promise.resolve()}}})},141633(e,t,r){async function o(e,t,o){let{currentUser:i}=e,{userId:n,spaceId:a}=o,s=(0,r(392096).qn)(window.location.href,"pvs"),c=s?Number(s):r(254656).y8.PersonProfileLink;if(!i.isLoggedIn())return void(0,r(876040).$)({environment:e,tabId:t,redirectRoute:{url:(0,r(805697).ym)({userId:n,spaceId:a,pageVisitSource:c})}});try{let o=await e.idCreator.getSpaceIdCreator(a),i=(0,r(805697).o4)({userId:n,spaceIdCreator:o,pageVisitSource:c});if(!i)return void r(800198).Router.navigate({environment:e,tabId:t,url:r(168962).JZ.root});r(800198).Router.navigate({url:i,environment:e,tabId:t,redirect:!0})}catch(o){r(773352).log({level:"error",from:"routerActions",type:"handlePersonProfileRedirect",data:{message:(0,r(324497).A)(o).message}}),r(800198).Router.navigate({environment:e,tabId:t,url:r(168962).JZ.root})}}r.d(t,{personProfileRedirectRouteConfig:()=>i});let i={name:"personProfileRedirect",description:"Resolves and redirects a person profile link to the appropriate destination",owner:"workspace-architecture",onLoad:async({environment:e,tabId:t,routerState:{route:r}})=>{await o(e,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.