PageSourceSearch

http://gocnhinbongda.com/assets/error-page-BC_g7o7M.js

js gocnhinbongda.com collected 2026-10-06 15:12:56 UTC 2,940 bytes, 2 lines download raw bytes

1import{a as d}from"./chunk-UIGDSWPH-Cvdthj3w.js";import{j as o}from"./jsx-runtime-DI7wNVj9.js";import{B as h}from"./Button-C52GdXfD.js";import{c as m}from"./createReactComponent-ClF_ax1B.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="5b059608-bbc2-4c76-9b59-e365afadc2da",s._sentryDebugIdIdentifier="sentry-dbid-5b059608-bbc2-4c76-9b59-e365afadc2da")}catch{}})();const p=d.createContext(null),c={didCatch:!1,error:null};class j extends d.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=c}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var r,t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];(r=(t=this.props).onReset)===null||r===void 0||r.call(t,{args:i,reason:"imperative-api"}),this.setState(c)}}componentDidCatch(e,r){var t,n;(t=(n=this.props).onError)===null||t===void 0||t.call(n,e,r)}componentDidUpdate(e,r){const{didCatch:t}=this.state,{resetKeys:n}=this.props;if(t&&r.error!==null&&f(e.resetKeys,n)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(c)}}render(){const{children:e,fallbackRender:r,FallbackComponent:t,fallback:n}=this.props,{didCatch:i,error:a}=this.state;let l=e;if(i){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")l=r(u);else if(t)l=d.createElement(t,u);else if(n!==void 0)l=n;else throw a}return d.createElement(p.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}}function f(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return s.length!==e.length||s.some((r,t)=>!Object.is(r,e[t]))}const y=[["path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747",key:"svg-0"}],["path",{d:"M20 4v5h-5",key:"svg-1"}]],g=m("outline","reload","Reload",y),C=({error:s,onReset:e})=>o.jsx("div",{className:"page page-center",children:o.jsx("div",{className:"container-tight py-4",children:o.jsxs("div",{className:"empty",children:[o.jsx("p",{className:"empty-title",children:"Oops... An error occurred!"}),o.jsx("p",{className:"empty-subtitle text-secondary",children:"Try refreshing the page or click the button below to try again. If the problem persists, open an issue on GitHub with the error message below."}),o.jsx("div",{className:"empty-action",children:o.jsxs(h,{intent:"primary",onClick:e,children:[o.jsx(g,{className:"me-2"}),"Retry"]})}),o.jsxs("pre",{className:"mt-5",style:{whiteSpace:"normal"},children:[s.message,o.jsx("br",{}),"Location: ",location.pathname]})]})})});export{j as E,C as a};
2//# sourceMappingURL=error-page-BC_g7o7M.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.