(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{1901:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(5155),s=r(2115),l=r(6628);function o(e){let{error:t,reset:r}=e;return(0,s.useEffect)(()=>{console.error("Application error:",t)},[t]),(0,n.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:(0,n.jsx)("div",{className:"max-w-md w-full",children:(0,n.jsx)(l.A,{title:"Something went wrong",description:"An unexpected error occurred. Please try again or contact support if the problem persists.",errorCode:t.digest,onRetry:r})})})}},4273:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=r(2115);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=l(e,n)),t&&(s.current=l(t,n))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6628:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(5155),s=r(6766);function l(e){let{title:t,description:r,errorCode:l,image:o="/assets/image/error-state.svg",onRetry:a,className:c=""}=e;return(0,n.jsxs)("div",{className:"error-state text-center py-8 ".concat(c),children:[(0,n.jsx)("div",{className:"error-state-image mb-4",children:(0,n.jsx)(s.default,{src:o,alt:"Error state",width:120,height:120,className:"mx-auto opacity-60"})}),l&&(0,n.jsxs)("div",{className:"error-code text-sm font-mono text-gray-400 mb-2",children:["Error: ",l]}),(0,n.jsx)("h3",{className:"error-state-title text-lg font-semibold text-red-600 mb-2",children:t}),r&&(0,n.jsx)("p",{className:"error-state-description text-gray-600 mb-4 max-w-sm mx-auto",children:r}),a&&(0,n.jsx)("div",{className:"error-state-action",children:(0,n.jsx)("button",{onClick:a,className:"btn btn-outline px-6 py-2 rounded-lg border border-gray-300 text-gray-700 hover:bg-gray-50 transition-colors",children:"Try Again"})})]})}},8328:(e,t,r)=>{Promise.resolve().then(r.bind(r,1901))}},e=>{e.O(0,[6766,8441,5964,7358],()=>e(e.s=8328)),_N_E=e.O()}]);