1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-uP3ubV_w.js","assets/vendor-react-0S0oTWKW.js","assets/vendor-misc-BO7yUK-G.js","assets/vendor-ui-BY6gfc_e.js","assets/vendor-data-w62QEuSR.js","assets/ModelControlRoom-BlVMpt2O.js","assets/DashboardLayout-Bm8YW6-0.js","assets/button-CBmQzPGp.js","assets/Monitoring-BtgreZ3S.js","assets/ExecutionLedger-DhCvsOQf.js","assets/OperatorControl-USOwrHMw.js","assets/RevenueControl-jI8F30iX.js","assets/PortfolioHarness-BNtBoN_W.js","assets/ProofSurface-8QoD_Vuf.js","assets/Standard-wvaMv_fv.js","assets/NotFound-Dv9FjkBN.js"])))=>i.map(i=>d[i]); 2import{j as t,r as i,S as b,i as l,k as S}from"./vendor-react-0S0oTWKW.js";import{c as R,Q as C,h as N,a as L,T as O,S as w}from"./vendor-data-w62QEuSR.js";import{z as I,T as z,k}from"./vendor-misc-BO7yUK-G.js";import{t as U,P as B,R as D,T as M,a as V,C as $,A as q,b as H,c as Q}from"./vendor-ui-BY6gfc_e.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const y=R(),F="app_session_id",K="Please login (10001)",J="__Host-oauth_state",W=e=>btoa(JSON.stringify(e)),G="modulepreload",X=function(e){return"/"+e},g={},p=function(r,n,a){let o=Promise.resolve();if(n&&n.length>0){let v=function(d){return Promise.all(d.map(x=>Promise.resolve(x).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),u=c?.nonce||c?.getAttribute("nonce");o=v(n.map(d=>{if(d=X(d),d in g)return;g[d]=!0;const x=d.endsWith(".css"),f=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${f}`))return;const m=document.createElement("link");if(m.rel=x?"stylesheet":G,x||(m.as="script"),m.crossOrigin="",m.href=d,u&&m.setAttribute("nonce",u),document.head.appendChild(m),x)return new Promise((P,T)=>{m.addEventListener("load",P),m.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return o.then(c=>{for(const u of c||[])u.status==="rejected"&&s(u.reason);return r().catch(s)})},Y=({...e})=>{const{theme:r="system"}=I();return t.jsx(z,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:r,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function E(...e){return U(k(e))}function A({delayDuration:e=0,...r}){return t.jsx(B,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...r})}function Et({...e}){return t.jsx(A,{"data-loc":"client/src/components/ui/tooltip.tsx:23",children:t.jsx(D,{"data-loc":"client/src/components/ui/tooltip.tsx:24","data-slot":"tooltip",...e})})}function At({...e}){return t.jsx(M,{"data-loc":"client/src/components/ui/tooltip.tsx:32","data-slot":"tooltip-trigger",...e})}function jt({className:e,sideOffset:r=0,children:n,...a}){return t.jsx(V,{"data-loc":"client/src/components/ui/tooltip.tsx:42",children:t.jsxs($,{"data-loc":"client/src/components/ui/tooltip.tsx:43","data-slot":"tooltip-content",sideOffset:r,className:E("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
2de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...a,children:[n,t.jsx(q,{"data-loc":"client/src/components/ui/tooltip.tsx:53",className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}class Z extends i.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){return this.state.hasError?t.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:t.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[t.jsx(H,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),t.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),t.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:t.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),t.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:E("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[t.jsx(Q,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const tt=i.createContext(void 0);function et({children:e,defaultTheme:r="light",switchable:n=!1}){const[a,o]=i.useState(()=>n&&localStorage.getItem("theme")||r);i.useEffect(()=>{const c=document.documentElement;a==="dark"?c.classList.add("dark"):c.classList.remove("dark"),n&&localStorage.setItem("theme",a)},[a,n]);const s=n?()=>{o(c=>c==="light"?"dark":"light")}:void 0;return t.jsx(tt.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:a,toggleTheme:s,switchable:n},children:e})}const rt=i.lazy(()=>p(()=>import("./Home-uP3ubV_w.js"),__vite__mapDeps([0,1,2,3,4]))),ot=i.lazy(()=>p(()=>import("./ModelControlRoom-BlVMpt2O.js"),__vite__mapDeps([5,1,2,6,4,3,7]))),st=i.lazy(()=>p(()=>import("./Monitoring-BtgreZ3S.js"),__vite__mapDeps([8,1,2,6,4,3,7]))),nt=i.lazy(()=>p(()=>import("./ExecutionLedger-DhCvsOQf.js"),__vite__mapDeps([9,1,2,6,4,3,7]))),ct=i.lazy(()=>p(()=>import("./OperatorControl-USOwrHMw.js"),__vite__mapDeps([10,1,2,6,4,3,7]))),at=i.lazy(()=>p(()=>import("./RevenueControl-jI8F30iX.js"),__vite__mapDeps([11,1,2,6,4,3,7]))),it=i.lazy(()=>p(()=>import("./PortfolioHarness-BNtBoN_W.js"),__vite__mapDeps([12,1,2,3]))),lt=i.lazy(()=>p(()=>import("./ProofSurface-8QoD_Vuf.js"),__vite__mapDeps([13,1,2,3]))),dt=i.lazy(()=>p(()=>import("./Standard-wvaMv_fv.js"),__vite__mapDeps([14,1,2,3]))),_=i.lazy(()=>p(()=>import("./NotFound-Dv9FjkBN.js"),__vite__mapDeps([15,1,2,7,3,4])));function pt(){return t.jsx("main",{"data-loc":"client/src/App.tsx:20",className:"grid min-h-screen place-items-center bg-[#0c1322] px-6 text-[#f3efe6]",children:t.jsxs("div",{"data-loc":"client/src/App.tsx:20",className:"border border-[#28405a] bg-[#101d29] px-7 py-6",children:[t.jsx("p",{"data-loc":"client/src/App.tsx:20",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-[#9aa5ff]",children:"AURE / loading route"}),t.jsx("p",{"data-loc":"client/src/App.tsx:20",className:"mt-3 text-sm text-[#aebfd0]",children:"Preparing the evidence surface."})]})})}function ut(){return t.jsx(i.Suspense,{"data-loc":"client/src/App.tsx:26",fallback:t.jsx(pt,{"data-loc":"client/src/App.tsx:26"}),children:t.jsxs(b,{"data-loc":"client/src/App.tsx:27",children:[t.jsx(l,{"data-loc":"client/src/App.tsx:28",path:"/",component:rt}),t.jsx(l,{"data-loc":"client/src/App.tsx:29",path:"/standard",component:dt}),t.jsx(l,{"data-loc":"client/src/App.tsx:30",path:"/portfolio",component:it}),t.jsx(l,{"data-loc":"client/src/App.tsx:31",path:"/proof",component:lt}),t.jsx(l,{"data-loc":"client/src/App.tsx:32",path:"/model-control",component:ot}),t.jsx(l,{"data-loc":"client/src/App.tsx:33",path:"/monitoring",component:st}),t.jsx(l,{"data-loc":"client/src/App.tsx:34",path:"/execution-ledger",component:nt}),t.jsx(l,{"data-loc":"client/src/App.tsx:35",path:"/operator",component:ct}),t.jsx(l,{"data-loc":"client/src/App.tsx:36",path:"/revenue",component:at}),t.jsx(l,{"data-loc":"client/src/App.tsx:37",path:"/404",component:_}),t.jsx(l,{"data-loc":"client/src/App.tsx:39",component:_})]})})}function mt(){return t.jsx(Z,{"data-loc":"client/src/App.tsx:52",children:t.jsx(et,{"data-loc":"client/src/App.tsx:53",defaultTheme:"dark",children:t.jsxs(A,{"data-loc":"client/src/App.tsx:57",children:[t.jsx(Y,{"data-loc":"client/src/App.tsx:58"}),t.jsx(ut,{"data-loc":"client/src/App.tsx:59"})]})})})}const xt=()=>{const e="https://manus.im",r="76SfTccop2FXSwUzno5Naj",n=`${window.location.origin}/api/oauth/callback`,a=crypto.randomUUID();document.cookie=`${J}=${a}; Path=/; Max-Age=600; SameSite=None; Secure`;const o=W({redirectUri:n,nonce:a}),s=new URL(`${e}/app-auth`);s.searchParams.set("appId",r),s.searchParams.set("redirectUri",n),s.searchParams.set("state",o),s.searchParams.set("type","signIn"),window.location.href=s.toString()},h=new C,j=e=>
2{!(e instanceof O)||typeof window>"u"||!(e.message===K)||xt()};h.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const r=e.query.state.error;j(r),console.error("[API Query Error]",r)}});h.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const r=e.mutation.state.error;j(r),console.error("[API Mutation Error]",r)}});const ft=y.createClient({links:[N({url:"/api/trpc",transformer:w,headers(){try{const e=sessionStorage.getItem("manus-cookie");if(e){const r=`${F}=`,a=e.split(";").find(o=>o.trim().startsWith(r))?.trim().slice(r.length);if(a)return{Authorization:`Bearer ${a}`}}}catch{}return{}},fetch(e,r){return globalThis.fetch(e,{...r??{},credentials:"include"})}})]});S.createRoot(document.getElementById("root")).render(t.jsx(y.Provider,{"data-loc":"client/src/main.tsx:76",client:ft,queryClient:h,children:t.jsx(L,{"data-loc":"client/src/main.tsx:77",client:h,children:t.jsx(mt,{"data-loc":"client/src/main.tsx:78"})})}));export{A as T,Et as a,At as b,E as c,jt as d,xt as s,y as t};
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.