1"use strict";(globalThis.webpackChunkpod001_frontend=globalThis.webpackChunkpod001_frontend||[]).push([[4022],{79427:(r,e,t)=>{t.d(e,{SV:()=>a});var s=t(67294);const o=(0,s.createContext)(null),n={didCatch:!1,error:null};class a extends s.Component{constructor(r){super(r),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=n}static getDerivedStateFromError(r){return{didCatch:!0,error:r}}resetErrorBoundary(...r){const{error:e}=this.state;null!==e&&(this.props.onReset?.({args:r,reason:"imperative-api"}),this.setState(n))}componentDidCatch(r,e){this.props.onError?.(r,e)}componentDidUpdate(r,e){const{didCatch:t}=this.state,{resetKeys:s}=this.props;t&&null!==e.error&&function(r=[],e=[]){return r.length!==e.length||r.some((r,t)=>!Object.is(r,e[t]))}(r.resetKeys,s)&&(this.props.onReset?.({next:s,prev:r.resetKeys,reason:"keys"}),this.setState(n))}render(){const{children:r,fallbackRender:e,FallbackComponent:t,fallback:n}=this.props,{didCatch:a,error:i}=this.state;let d=r;if(a){const r={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof e)d=e(r);else if(t)d=(0,s.createElement)(t,r);else{if(void 0===n)throw i;d=n}}return(0,s.createElement)(o.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},d)}}}}]); 2//# sourceMappingURL=npm.react-error-boundary.f7a8099a00a461f02240.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.