PageSourceSearch

https://app.labra.io/assets/PageNotFound-CT_H47Bi.js

js labra.io collected 2026-09-25 18:21:41 UTC 2,267 bytes, 2 lines download raw bytes

1import{b1 as m,eS as e,$ as y,as as f,r,aJ as h,eV as S,T as c}from"./vendor-N5Qncfdp.js";import{p as x,ar as N,y as w}from"./index-DQMOrwB1.js";const P=m()(t=>({root:{backgroundColor:t.palette.opaque.light,height:"100vh",overflow:"auto"},container:{justifyContent:"center",alignItems:"center",height:"100%",margin:t.spacing(0)},heading:{fontSize:"80px",fontWeight:500,color:t.palette.black.main,lineHeight:1},content:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"320px"},subtitle:{color:t.palette.black.main,fontSize:"18px",fontWeight:500},button:{width:"240px",height:"48px"}})),k=m()(t=>({primaryButton:{backgroundColor:t.palette.opaque.main,color:t.palette.secondary.main,textTransform:"none","&:hover":{backgroundColor:t.palette.opaque.main}}})),v=({className:t,...i})=>{const{classes:a}=k();return e(y,{className:[a.primaryButton,t].join(" "),variant:"contained",...i})},C={oppsync:"oppsync",cloudfaas:"cloudfaas",flyout:"flyout",sales:"labra-ai",funding:"funding"},O={oppsync:"OS",cloudfaas:"CF",flyout:"FO",sales:"AI",funding:"FN"},j=()=>{var p,g;const{classes:t}=P(),a=f().pathname,[l,u]=r.useState(null),b=x(o=>o),{search:d}=f(),n=(p=new URLSearchParams(d).get("error_description"))==null?void 0:p.toLowerCase(),s=(g=new URLSearchParams(d).get("tracking"))==null?void 0:g.toLowerCase();return r.useEffect(()=>{const o=N(a);Object.values(C).includes(o)?u(o):u(null)},[a]),r.useEffect(()=>{if(n&&s){const o={cause:n};w({globalState:b})(o,s)}},[n,s]),e("div",{className:t.root,children:e(h,{container:!0,className:t.container,spacing:5,children:e(h,{children:S("div",{className:t.content,children:[e(c,{className:t.heading,"data-testid":"title",children:"404"}),e(c,{className:t.subtitle,"data-testid":"subtitle",children:"Page Not Found"}),e("br",{}),e(c,{className:t.subtitle,children:"We are Sorry, but the page you have requested is not found"}),e("br",{}),e(v,{className:t.button,onClick:()=>l!==null?window.location.href=`/${l}`:window.location.href="/","data-testid":"button",children:"Go Home"})]})})})})},R=Object.freeze(Object.defineProperty({__proto__:null,PageNotFound:j},Symbol.toStringTag,{value:"Module"}));export{j as P,O as a,C as b,v as c,R as d};
2//# sourceMappingURL=PageNotFound-CT_H47Bi.js.map

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.