1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f69a6fb0-ce7d-4b9e-aad8-54df66f5648b",e._sentryDebugIdIdentifier="sentry-dbid-f69a6fb0-ce7d-4b9e-aad8-54df66f5648b")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1289],{13299:e=>{e.exports={root:"route_root__i1b2n",content:"route_content__ni4y0",title:"route_title__AvVmc",subtitle:"route_subtitle__uE3A8",tryAgain:"route_tryAgain__PDB5c",hardRefresh:"route_hardRefresh__vFxN6"}},48747:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var i=n(95155),r=n(26839),a=n(11552),o=n(77567),s=n(83315),l=n(12115);let d={root:{display:"flex",minHeight:"60vh",width:"100%"},content:{display:"flex",flexDirection:"column",gap:"var(--mantine-spacing-md)",width:"min(600px, 94vw)",margin:"auto",padding:"var(--mantine-spacing-xl)"},title:{margin:0,color:"var(--mantine-color-white)",fontSize:"var(--mantine-h2-font-size)",fontWeight:"var(--mantine-h2-font-weight)",lineHeight:"var(--mantine-h2-line-height)"},message:{margin:0,color:"var(--mantine-color-dimmed)",fontSize:"var(--mantine-font-size-sm)"},button:{height:"2.25rem",padding:"0 1.125rem",border:"1px solid var(--mantine-color-default-border)",borderRadius:"var(--mantine-radius-default)",background:"var(--mantine-color-default)",color:"var(--mantine-color-default-color)",fontFamily:"inherit",fontSize:"var(--mantine-font-size-sm)",fontWeight:600,cursor:"pointer"}},u={reloading:{title:"Mage was updated",message:"Refreshing to the latest versionâ¦"},reconnecting:{title:"Mage was updated",message:"Waiting for your connection to come back, then refreshingâ¦"},"waiting-for-generation":{title:"Mage was updated",message:"Your generation is still running. Mage will refresh when it finishes, or you can refresh now."},"queued-work":{title:"Mage was updated",message:"Some of your queued generations have not started yet and will be discarded by the refresh. Generations already running will finish and appear in your creations."},manual:{title:"Refresh Mage",message:"A newer version of Mage is available. Refresh to continue."}};function c(e){let{error:t,canWaitForGeneration:n}=e,[c,f]=(0,l.useState)(()=>navigator.onLine);(0,l.useEffect)(()=>{let e=()=>f(!0),t=()=>f(!1);return window.addEventListener("online",e),window.addEventListener("offline",t),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",t)}},[]);let h=(0,o.xV)(r.ZX),[g,m]=(0,l.useState)(()=>(0,r.Xl)()),v=(0,r.ky)({online:c,queueActivity:h,canWaitForGeneration:n,recentReload:g}),[b,w]=(0,l.useState)(null);(0,l.useEffect)(()=>{if("reloading"===v){if(!(0,r.ZT)()){m(null);return}window.location.reload();return}"manual"===v&&w((0,s.iZ)(t))},[v,t]);let y=u[v];return(0,i.jsx)("div",{style:d.root,role:"status","aria-live":"polite",children:(0,i.jsxs)("div",{style:d.content,children:[(0,i.jsx)("h2",{style:d.title,children:y.title}),(0,i.jsx)("p",{style:d.message,children:y.message}),b&&(0,i.jsx)(a.L,{eventId:b}),"reloading"!==v&&"reconnecting"!==v&&(0,i.jsx)("button",{type:"button",style:d.button,onClick:()=>window.location.reload(),children:"Refresh"})]})})}},54672:(e,t,n)=>{Promise.resolve().then(n.bind(n,83110))},83110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(95155),r=n(94043);function a(e){return(0,i.jsx)(r.M,{...e})}},94043:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var i=n(95155),r=n(26839),a=n(11552),o=n(48747),s=n(83315),l=n(12115),d=n(13299),u=n.n(d);function c(e){let{error:t,reset:n}=e,[d,c]=(0,l.useState)(null),f=(0,r.Bq)((0,r.lq)(t));return((0,l.useEffect)(()=>{console.error("[Mage] Route Error",t),f||c((0,s.iZ)(t))},[t,f]),f)?(0,i.jsx)(o.U,{error:t,canWaitForGeneration:!0}):(0,i.jsx)("div",{className:u().root,children:(0,i.jsxs)("div",{className:u().content,children:[(0,i.jsx)("h2",{className:u().title,children:"Error"}),(0,i.jsx)("p",{className:u().subtitle,children:"Ahh, our engineers are on it!"}),d&&(0,i.jsx)(a.L,{eventId:d}),(0,i.jsx)("button",{type:"button",className:u().tryAgain,onClick:()=>n(),children:"Try Again"}),(0,i.jsx)("button",{type:"button",className:u().hardRefresh,onClick:()=>window.location.reload(),children:"Hard Refresh"})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[7362,2545,9570,7416,512,1794,8229,3063,7840,8871,4672,3686,7567,8441,6969,7358],()=>t(54672)),_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.