(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{6129:function(e,n,r){"use strict";var t=r(94685);r.o(t,"usePathname")&&r.d(n,{usePathname:function(){return t.usePathname}}),r.o(t,"useRouter")&&r.d(n,{useRouter:function(){return t.useRouter}}),r.o(t,"useSearchParams")&&r.d(n,{useSearchParams:function(){return t.useSearchParams}})},51447:function(e,n,r){Promise.resolve().then(r.bind(r,96843))},96843:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return i}});var t=r(95155),a=r(12115),s=r(99179),u=r(6129);function i(e){let{error:n}=e;(0,a.useEffect)(()=>{console.error(n)},[n]);let r=(0,u.useRouter)();return(0,t.jsxs)("div",{className:"max-w-[1536px] min-h-[428px] mx-auto flex justify-center items-center flex-col p-4 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(s.Text,{variant:"h4",weight:600,className:"text-center",color:"primary-500",children:"Lo sentimos, algo sali\xf3 mal"}),(0,t.jsx)(s.Text,{className:"text-center",weight:400,variant:"body2",children:"Ocurri\xf3 un error inesperado mientras intent\xe1bamos cargar la p\xe1gina."})]}),(0,t.jsx)(s.Button,{onClick:()=>r.push("/"),children:"Volver a la tienda"})]})}},99179:function(e,n,r){"use strict";r.r(n);var t=r(3430),a={};for(var s in t)"default"!==s&&(a[s]=(function(e){return t[e]}).bind(0,s));r.d(n,a)}},function(e){e.O(0,[1962,4916,4753,7358],function(){return e(e.s=51447)}),_N_E=e.O()}]);