(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4547],{32023:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/poc/error",function(){return t(52130)}])},59849:function(e,r,t){"use strict";t.d(r,{Z:function(){return u}});var s=t(24246),a=t(36010),n=t(86677),i=t(88340);let c="/images/errors";var l=e=>{let{status:r}=e;return 404===r?(0,s.jsx)(a.Eep,{src:"".concat(c,"/404.svg"),alt:"Error 404",preview:!1}):500===r?(0,s.jsx)(a.Eep,{src:"".concat(c,"/500.svg"),alt:"Error 500",preview:!1}):(0,s.jsx)(a.Eep,{src:"".concat(c,"/unknown.svg"),alt:"Error Unknown",preview:!1})},o=t(812),u=e=>{let{error:r,defaultMessage:t="An unexpected error occurred.  Please try again",actions:c,showReload:u=!0}=e,d=(0,o.e$)(r,t),p="data"in r&&r.data?JSON.stringify(r.data):JSON.stringify(r),x="status"in r&&r.status?r.status:void 0,h=(0,n.useRouter)(),j=c&&c.length>0||u;return(0,s.jsx)(a.kCb,{vertical:!0,align:"center",justify:"center",className:"h-screen","data-testid":"error-page-result",children:(0,s.jsx)(a.x4B,{status:"error",icon:(0,s.jsx)(l,{status:x}),title:"Error ".concat(x),subTitle:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Typography.Paragraph,{type:"secondary",children:d}),(0,s.jsx)(a.kCb,{justify:"start",className:"max-w-96",children:(0,s.jsx)(a.UO1,{ghost:!0,size:"small",items:[{key:"1",label:"Show details",classNames:{header:"w-fit"},children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Typography.Text,{type:"secondary",children:p}),(0,s.jsx)(i.Z,{copyText:p})]})}]})})]}),extra:j&&(0,s.jsxs)(a.kCb,{gap:"small",justify:"center",children:[null==c?void 0:c.map((e,r)=>(0,s.jsx)(a.zxk,{...e,children:e.label},r)),u&&(0,s.jsx)(a.zxk,{onClick:()=>h.reload(),type:"primary",children:"Reload"})]})})})}},52130:function(e,r,t){"use strict";t.r(r);var s=t(24246),a=t(86677),n=t(52253),i=t(59849);r.default=()=>{let e=(0,a.useRouter)();return(0,s.jsx)(i.Z,{error:{status:404,data:{detail:"We couldn't find your stuff.  Our bad!"}},actions:[{label:"Return home",onClick:()=>{e.push(n.gp)}}]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=32023)}),_N_E=e.O()}]);