<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&amp;&amp;(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8485e214-aa2f-5b59-b47e-c780d8fa0326")}catch(e){}}();
import{j as d}from"./jsx-runtime-BjG_zV1W.js";import{r as i}from"./index-D6da9p6-.js";import{T as m}from"./index-BdpAPpdN.js";import{c as h}from"./components-Oj2xMfGE.js";const f=i.createContext(null),c={didCatch:!1,error:null};class p extends i.Component{constructor(r){super(r),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=c}static getDerivedStateFromError(r){return{didCatch:!0,error:r}}resetErrorBoundary(){const{error:r}=this.state;if(r!==null){for(var n,t,o=arguments.length,a=new Array(o),s=0;s&lt;o;s++)a[s]=arguments[s];(n=(t=this.props).onReset)===null||n===void 0||n.call(t,{args:a,reason:"imperative-api"}),this.setState(c)}}componentDidCatch(r,n){var t,o;(t=(o=this.props).onError)===null||t===void 0||t.call(o,r,n)}componentDidUpdate(r,n){const{didCatch:t}=this.state,{resetKeys:o}=this.props;if(t&amp;&amp;n.error!==null&amp;&amp;E(r.resetKeys,o)){var a,s;(a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:o,prev:r.resetKeys,reason:"keys"}),this.setState(c)}}render(){const{children:r,fallbackRender:n,FallbackComponent:t,fallback:o}=this.props,{didCatch:a,error:s}=this.state;let l=r;if(a){const u={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")l=n(u);else if(t)l=i.createElement(t,u);else if(o===null||i.isValidElement(o))l=o;else throw s}return i.createElement(f.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}}function E(){let e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:[];return e.length!==r.length||e.some((n,t)=&gt;!Object.is(n,r[t]))}function y({error:e}){return d.jsx("div",{className:"flex max-w-2xl flex-col space-y-2 py-8",children:d.jsx(m,{as:"p",type:"body",size:"md",className:"text-center leading-tight tracking-normal",children:e.message.split("Error: ")[1]})})}function B({children:e,fallbackRender:r}){function n({error:t}){return d.jsx(y,{error:t})}return d.jsx(p,{fallbackRender:r??n,children:e})}function j(){const e=h();return g(e.data),e}function g(e){if(e&amp;&amp;typeof e=="object"&amp;&amp;"$$error"in e)throw e?.$$error}export{B as C,y as D,j as u};
//# sourceMappingURL=index-DTtuIjz-.js.map

//# debugId=8485e214-aa2f-5b59-b47e-c780d8fa0326
</pre></body></html>