PageSourceSearch

https://mechatronicsystems.notion.site/_assets/routeConfig-recoverEdits-1f7b82b2ec73c3f0.js

js mechatronicsystems.notion.site collected 2026-10-09 23:13:27 UTC 1,973 bytes, 1 lines download raw bytes

1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[11247],{889042(e,t,r){r.d(t,{recoverEditsRouteConfig:()=>l});var o=r(635790),n=r(440302);let a=(0,r(208318).t)(),i=(0,r(327219).YK)({heading:{id:"recoverEdits.heading",defaultMessage:"Recover offline edits"},syncing:{id:"recoverEdits.syncing",defaultMessage:"Syncing offline edits…"},done:{id:"recoverEdits.done",defaultMessage:"Sync complete. You can close this tab."},error:{id:"recoverEdits.error",defaultMessage:"Something went wrong. Please try again."}}),s={marginTop:16};function d(){let e,t=(0,r(327219).tz)(),d=(0,r(533992).v3)().currentUser.isLoggedIn(),[l,c]=(0,o.useState)(!d),[g,u]=(0,o.useState)(!1),v=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{if(!d)return void a.log({level:"info",from:"RecoverEditsPage",type:"page_loaded",data:{miscDataToConvertToString:{taskCount:0,loggedIn:!1}}});let e=setInterval(async()=>{let o=await r(79884).KB.getTotalNumberOfTasks();void 0===v.current&&(v.current=o,a.log({level:"info",from:"RecoverEditsPage",type:"page_loaded",data:{miscDataToConvertToString:{taskCount:o,loggedIn:!0}}})),0===o&&(clearInterval(e),clearTimeout(t),a.log({level:"info",from:"RecoverEditsPage",type:"sync_complete",data:{miscDataToConvertToString:{initialCount:v.current}}}),c(!0))},1e3),t=setTimeout(()=>{a.log({level:"warning",from:"RecoverEditsPage",type:"sync_timeout",data:{miscDataToConvertToString:{initialCount:v.current}}}),u(!0)},6e4);return()=>{clearInterval(e),clearTimeout(t)}},[d]),e=l?t.formatMessage(i.done):g?t.formatMessage(i.error):t.formatMessage(i.syncing),(0,n.jsxs)(r(585553).A,{children:[(0,n.jsx)("strong",{children:t.formatMessage(i.heading)}),(0,n.jsx)("div",{children:e}),l||g?void 0:(0,n.jsx)("div",{style:s,children:(0,n.jsx)(r(515487).r,{})})]})}let l={name:"recoverEdits",description:"Flushes stranded transactions from notion.so during the domain migration.",owner:"product-infra",render:()=>(0,n.jsx)(d,{})}}}]);

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.