(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4547],{32023:function(r,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/poc/error",function(){return t(32596)}])},32596:function(r,e,t){"use strict";t.r(e),t.d(e,{default:function(){return d}});var n=t(24246),s=t(86677),a=t(52253),c=t(10034),i=t(88340);let o="/images/errors";var l=r=>{let{status:e}=r;return 404===e?(0,n.jsx)(c.Eep,{src:"".concat(o,"/404.svg"),alt:"Error 404",preview:!1}):500===e?(0,n.jsx)(c.Eep,{src:"".concat(o,"/500.svg"),alt:"Error 500",preview:!1}):(0,n.jsx)(c.Eep,{src:"".concat(o,"/unknown.svg"),alt:"Error Unknown",preview:!1})},u=t(812),p=r=>{let{error:e,actions:t}=r,s=(0,u.e$)(e),a="data"in e?JSON.stringify(e.data):JSON.stringify(e),o="status"in e?e.status:void 0;return(0,n.jsx)(c.kCb,{vertical:!0,align:"center",justify:"center",className:"h-screen",children:(0,n.jsx)(c.x4B,{status:"error",icon:(0,n.jsx)(l,{status:o}),title:"Error ".concat(o),subTitle:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Typography.Paragraph,{type:"secondary",children:s}),(0,n.jsx)(c.Typography.Text,{type:"secondary",children:a}),(0,n.jsx)(i.Z,{copyText:a})]}),extra:t.length>0?(0,n.jsx)(c.kCb,{gap:"small",justify:"center",children:t.map((r,e)=>(0,n.jsx)(c.zxk,{...r,children:r.label},e))}):void 0})})},d=()=>{let r=(0,s.useRouter)();return(0,n.jsx)(p,{error:{status:404,data:{detail:"We couldn't find your stuff.  Our bad!"}},actions:[{label:"Return home",onClick:()=>{r.push(a.gp)}},{label:"Reload this page",type:"primary",onClick:()=>{r.reload()}}]})}}},function(r){r.O(0,[2888,9774,179],function(){return r(r.s=32023)}),_N_E=r.O()}]);