1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{3584:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.r(t),r.d(t,{_:()=>n})},18771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(85027);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});var a=r(18107);function o(e,t){var r=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useCallback)(function(a){if(null===a){var o=r.current;o&&(r.current=null,o());var s=n.current;s&&(n.current=null,s())}else e&&(r.current=c(e,a)),t&&(n.current=c(t,a))},[e,t])}function c(e,t){if("function"!=typeof e)return e.current=t,function(){e.current=null};var r=e(t);return"function"==typeof r?r:function(){return e(null)}}("function"==typeof t.default||"object"===n._(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)},26252:(e,t,r)=>{"use strict";r.d(t,{v:()=>s,z:()=>u});var n=r(23215),a=r(48182);function o(e,t,r){return{level:e,message:t,timestamp:new Date().toISOString(),context:function(e){if(e){var t={},r=!0,o=!1,c=void 0;try{for(var s,u=Object.entries(e)[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var i,l=(0,a._)(s.value,2),f=l[0],d=l[1];"error"===f||(0,n._)(d,Error)?t[f]=(i=d,(0,n._)(i,Error)?{name:i.name,message:i.message,stack:void 0}:{value:String(i)}):t[f]=d}}catch(e){o=!0,c=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw c}}return t}}(r)}}function c(e){var t=e.level,r=e.message,n=e.timestamp,a=e.context;if("debug"!==t&&"info"!==t){var o="[".concat(n,"] [").concat(t.toUpperCase(),"]"),c=a?" ".concat(JSON.stringify(a)):"";switch(t){case"debug":case"info":break;case"warn":console.warn("".concat(o," ").concat(r).concat(c));break;case"error":console.error("".concat(o," ").concat(r).concat(c))}}}var s={debug:function(e,t){c(o("debug",e,t))},info:function(e,t){c(o("info",e,t))},warn:function(e,t){c(o("warn",e,t))},error:function(e,t){c(o("error",e,t))},log:function(e,t,r){c(o(e,t,r))},isServer:function(){return!1},isDev:function(){return!1}};function u(e){return{debug:function(t,r){return s.debug("[".concat(e,"] ").concat(t),r)},info:function(t,r){return s.info("[".concat(e,"] ").concat(t),r)},warn:function(t,r){return s.warn("[".concat(e,"] ").concat(t),r)},error:function(t,r){return s.error("[".concat(e,"] ").concat(t),r)}}}},45583:(e,t,r)=>{Promise.resolve().then(r.bind(r,96952))},47365:()=>{},96952:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(69247),a=r(48182),o=r(29243),c=r(10795),s=r(18107),u=r(79643),i=r.n(u);r(47365);var l=r(26252);function f(e){var t=e.error,r=e.reset,u=(0,a._)((0,s.useState)(0),2),f=u[0],d=u[1],m=(0,a._)((0,s.useState)(!1),2),x=m[0],p=m[1],h=(0,a._)((0,s.useState)(0),2),v=h[0],b=h[1];(0,s.useEffect)(function(){l.v.error("Application error boundary caught",{error:{name:t.name,message:t.message,digest:t.digest},url:window.location.href,userAgent:window.navigator.userAgent})},[t]),(0,s.useEffect)(function(){if(v>0){var e=setTimeout(function(){return b(v-1)},1e3);return function(){return clearTimeout(e)}}},[v]);var g=(0,s.useCallback)(function(){return(0,n._)(function(){var e;return(0,o.YH)(this,function(t){switch(t.label){case 0:if(f>=3)return l.v.warn("Max retries reached",{retryCount:f}),[2];return p(!0),b(Math.ceil((e=1e3*Math.pow(2,f))/1e3)),l.v.info("Attempting retry",{attempt:f+1,maxRetries:3,delay:e}),[4,new Promise(function(t){return setTimeout(t,e)})];case 1:return t.sent(),d(function(e){return e+1}),p(!1),b(0),r(),[2]}})})()},[f,r]),y=f<3;return(0,c.jsx)("div",{className:"min-h-[60vh] flex items-center justify-center px-4",children:(0,c.jsxs)("div",{className:"max-w-md w-full text-center",children:[(0,c.jsx)("div",{className:"mb-6",children:(0,c.jsx)("svg",{className:"mx-auto h-16 w-16 text-fb-red",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,c.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})}),(0,c.jsx)("h1",{className:"font-headline text-2xl md:text-3xl uppercase text-fb-black mb-3",children:"Something went wrong"}),(0,c.jsx)("p",{className:"text-neutral-600 mb-6",children:"We encountered an unexpected error. Please try again."}),!1,f>0&&(0,c.jsxs)("p",{className:"text-sm text-neutral-500 mb-4",children:["Retry attempt ",f," of ",3]}),v>0&&(0,c.jsxs)("p",{className:"text-sm text-neutral-500 mb-4",children:["Retrying in ",v," second",1!==v?"s":"","..."]}
1),(0,c.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[y?(0,c.jsx)("button",{onClick:g,disabled:x,className:"\n px-6 py-3 rounded-md font-medium transition-colors\n ".concat(x?"bg-neutral-300 text-neutral-500 cursor-not-allowed":"bg-fb-red text-white hover:bg-fb-red/90","\n "),children:x?(0,c.jsxs)("span",{className:"flex items-center gap-2",children:[(0,c.jsxs)("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[(0,c.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),(0,c.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Retrying..."]}):"Try Again"}):(0,c.jsx)("p",{className:"text-sm text-neutral-500 mb-2",children:"Multiple retry attempts failed. Please try refreshing the page."}),(0,c.jsx)(i(),{href:"/",className:"px-6 py-3 rounded-md font-medium border border-neutral-300 text-neutral-700 hover:bg-neutral-50 transition-colors",children:"Go Home"})]}),(0,c.jsxs)("p",{className:"mt-8 text-sm text-neutral-500",children:["If the problem persists, please"," ",(0,c.jsx)("a",{href:"mailto:[email protected]",className:"text-fb-blue hover:underline",children:"contact support"}),"."]})]})})}}},e=>{e.O(0,[9298,9643,6617,3026,9651,7358],()=>e(e.s=45583)),_N_E=e.O()}]); 2//# sourceMappingURL=error-fe724d4716a70c8f.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.