@hyperbridge/simplex 0.18.2 → 0.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/simplex.js +87 -41
- package/dist/bin/simplex.js.map +1 -1
- package/dist/index.cjs +87 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -3
- package/dist/index.d.ts +26 -3
- package/dist/index.js +87 -41
- package/dist/index.js.map +1 -1
- package/dist/ui/assets/{index-DoVF9R8x.js → index-BqOM_gBm.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`simplex-ui@0.18.2`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7f2be6cb-ea7a-44f8-ba6c-61f5f212bbf0`,e._sentryDebugIdIdentifier=`sentry-dbid-7f2be6cb-ea7a-44f8-ba6c-61f5f212bbf0`)}catch{}})();var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.7`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Symbol.for(`react.client.reference`);function P(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===N?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?P(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var F=Array.isArray,I=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},te=[],ne=-1;function re(e){return{current:e}}function ie(e){0>ne||(e.current=te[ne],te[ne]=null,ne--)}function R(e,t){ne++,te[ne]=e.current,e.current=t}var ae=re(null),oe=re(null),se=re(null),ce=re(null);function le(e,t){switch(R(se,t),R(oe,e),R(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ie(ae),R(ae,e)}function ue(){ie(ae),ie(oe),ie(se)}function de(e){e.memoizedState!==null&&R(ce,e);var t=ae.current,n=Jd(t,e.type);t!==n&&(R(oe,e),R(ae,n))}function fe(e){oe.current===e&&(ie(ae),ie(oe)),ce.current===e&&(ie(ce),ip._currentValue=ee)}var pe,me;function he(e){if(pe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);pe=t&&t[1]||``,me=-1<e.stack.indexOf(`
|
|
1
|
+
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`simplex-ui@0.18.3`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c263af7f-da5b-4136-ae44-f07b714b9c75`,e._sentryDebugIdIdentifier=`sentry-dbid-c263af7f-da5b-4136-ae44-f07b714b9c75`)}catch{}})();var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.7`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Symbol.for(`react.client.reference`);function P(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===N?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?P(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var F=Array.isArray,I=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},te=[],ne=-1;function re(e){return{current:e}}function ie(e){0>ne||(e.current=te[ne],te[ne]=null,ne--)}function R(e,t){ne++,te[ne]=e.current,e.current=t}var ae=re(null),oe=re(null),se=re(null),ce=re(null);function le(e,t){switch(R(se,t),R(oe,e),R(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ie(ae),R(ae,e)}function ue(){ie(ae),ie(oe),ie(se)}function de(e){e.memoizedState!==null&&R(ce,e);var t=ae.current,n=Jd(t,e.type);t!==n&&(R(oe,e),R(ae,n))}function fe(e){oe.current===e&&(ie(ae),ie(oe)),ce.current===e&&(ie(ce),ip._currentValue=ee)}var pe,me;function he(e){if(pe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);pe=t&&t[1]||``,me=-1<e.stack.indexOf(`
|
|
2
2
|
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
3
3
|
`+pe+e+me}var z=!1;function ge(e,t){if(!e||z)return``;z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
4
4
|
`),l=s.split(`
|
|
@@ -2165,4 +2165,4 @@ Event: ${r5(e)}.
|
|
|
2165
2165
|
Url: ${J7(e)}`),!0;if(!Wxe(e,t.allowUrls))return q6&&i8.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
2166
2166
|
Event: ${r5(e)}.
|
|
2167
2167
|
Url: ${J7(e)}`),!0}else if(e.type===`transaction`&&Hxe(e,t.ignoreTransactions))return q6&&i8.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
2168
|
-
Event: ${r5(e)}`),!0;return!1}function Vxe(e,t){return t?.length?D7(e).some(e=>$8(e,t)):!1}function Hxe(e,t){if(!t?.length)return!1;let n=e.transaction;return n?$8(n,t):!1}function Uxe(e,t){if(!t?.length)return!1;let n=J7(e);return n?$8(n,t):!1}function Wxe(e,t){if(!t?.length)return!0;let n=J7(e);return n?$8(n,t):!0}function Gxe(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function J7(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Gxe(t):null}catch{return q6&&i8.error(`Cannot extract url for event ${r5(e)}`),null}}function Kxe(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function qxe(e,t,n,r,i,a){if(!i.exception?.values||!a||!x8(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Y7(e,t,r,a.originalException,n,i.exception.values,o,0))}function Y7(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(x8(r[i])){Z7(o,s,r);let a=e(t,r[i]),l=c.length;Q7(a,i,l,s),c=Y7(e,t,n,r[i],i,[a,...c],a,l)}return X7(r)&&r.errors.forEach((a,l)=>{if(x8(a)){Z7(o,s,r);let u=e(t,a),d=c.length;Q7(u,`errors[${l}]`,d,s),c=Y7(e,t,n,a,i,[u,...c],u,d)}}),c}function X7(e){return Array.isArray(e.errors)}function Z7(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...X7(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Q7(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Jxe(e){return x8(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function $7(e){return Jxe(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var e9=new Set([]);function Yxe(e){let t=`console`,n=h8(t,e);return g8(t,Xxe),n}var t9=new Set;function Xxe(){`console`in J6&&Pve.forEach(function(e){t9.has(e)||!(e in J6.console)||(t9.add(e),P8(J6.console,e,function(t){return $6[e]=t,function(...t){let n=t[0],r=$6[e],i=e9.size&&typeof n==`string`&&$8(n,e9);i||_8(`console`,{args:t,level:e}),(!i||q6&&i8.isEnabled())&&r?.apply(J6.console,t)}}))})}function Zxe(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var Qxe=`Dedupe`,$xe=x7((()=>{let e;return{name:Qxe,processEvent(t){if(t.type)return t;try{if(eSe(t,e))return q6&&i8.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function eSe(e,t){return t?!!(tSe(e,t)||nSe(e,t)):!1}function tSe(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!r9(e,t)||!n9(e,t))}function nSe(e,t){let n=i9(t),r=i9(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!r9(e,t)||!n9(e,t))}function n9(e,t){let n=f8(e),r=f8(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function r9(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function i9(e){return e.exception?.values?.[0]}var rSe=`ConversationId`,iSe=x7((()=>({name:rSe,setup(e){e.on(`spanStart`,e=>{let t=T5().getScopeData(),n=E5().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=F5(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(Nye,r)}})}})));function a9(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var o9=J6;function aSe(){return`history`in o9&&!!o9.history}function oSe(){if(!(`fetch`in o9))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function s9(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function sSe(){if(typeof EdgeRuntime==`string`)return!0;if(!oSe())return!1;if(s9(o9.fetch))return!0;let e=!1,t=o9.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=s9(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){q6&&i8.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function cSe(e,t){let n=`fetch`,r=h8(n,e);return g8(n,()=>lSe(void 0,t)),r}function lSe(e,t=!1){t&&!sSe()||P8(J6,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=uSe(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:l5()*1e3,virtualError:r,headers:dSe(n)};return e||_8(`fetch`,{...o}),t.apply(J6,n).then(async t=>(e?e(t):_8(`fetch`,{...o,endTimestamp:l5()*1e3,response:t}),t),e=>{_8(`fetch`,{...o,endTimestamp:l5()*1e3,error:e}),x8(e)&&e.stack===void 0&&(e.stack=r.stack,F8(e,`framesToPop`,1));let t=D5()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&x8(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:F8(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function c9(e,t){return k8(e)&&!!e[t]}function l9(e){return typeof e==`string`?e:e?c9(e,`url`)?e.url:e.toString?e.toString():``:``}function uSe(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:l9(t),method:c9(n,`method`)?String(n.method).toUpperCase():N8(t)&&c9(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:l9(t),method:c9(t,`method`)?String(t.method).toUpperCase():`GET`}}function dSe(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(N8(t))return new Headers(t.headers)}catch{}}var u9=J6;function d9(){try{return u9.document.location.href}catch{return``}}function fSe(e,t=5){if(!u9.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var f9=J6,p9=0;function m9(){return p9>0}function pSe(){p9++,setTimeout(()=>{p9--})}function h9(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(L8(e))return e}catch{return e}let r=function(...n){J6._sentryWrappedDepth=(J6._sentryWrappedDepth||0)+1;try{let r=n.map(e=>h9(e,t));return e.apply(this,r)}catch(e){throw pSe(),Oye(r=>{r.addEventProcessor(e=>(t.mechanism&&(i5(e,void 0,void 0),a5(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),d7(e)}),e}finally{J6._sentryWrappedDepth=(J6._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}I8(r,e),F8(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function g9(){let e=d9(),{referrer:t}=f9.document||{},{userAgent:n}=f9.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function _9(e,t){let n=y9(e,t),r={type:vSe(t),value:ySe(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function mSe(e,t,n,r){let i=D5()?.getOptions().normalizeDepth,a=wSe(t),o={__serialized__:q8(t,i)};if(a)return{exception:{values:[_9(e,a)]},extra:o};let s={exception:{values:[{type:A8(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:SSe(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=y9(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function v9(e,t){return{exception:{values:[_9(e,t)]}}}function y9(e,t){let n=t.stacktrace||t.stack||``,r=gSe(t),i=_Se(t);try{return e(n,r,i)}catch{}return[]}var hSe=/Minified React error #\d+;/i;function gSe(e){return e&&hSe.test(e.message)?1:0}function _Se(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function b9(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:!1}function vSe(e){let t=e?.name;return!t&&b9(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function ySe(e){let t=e?.message;return b9(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?$7(t.error):$7(e):`No error message`}function bSe(e,t,n,r){let i=x9(e,t,n?.syntheticException||void 0,r);return a5(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),r7(i)}function xSe(e,t,n=`info`,r,i){let a=S9(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),r7(a)}function x9(e,t,n,r,i){let a;if(C8(t)&&t.error)return v9(e,t.error);if(w8(t)||qve(t)){let i=t;if(`stack`in t){a=v9(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=y9(e,n);t.length&&(i.stacktrace={frames:t},a5(a,{synthetic:!0}))}}else{let t=i.name||(w8(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=S9(e,o,n,r),i5(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return x8(t)?v9(e,t):O8(t)||A8(t)?(a=mSe(e,t,n,i),a5(a,{synthetic:!0}),a):(a=S9(e,t,n,r),i5(a,`${t}`,void 0),a5(a,{synthetic:!0}),a)}function S9(e,t,n,r){let i={};if(r&&n){let r=y9(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),a5(i,{synthetic:!0})}if(E8(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function SSe(e,{isUnhandledRejection:t}){let n=Yve(e),r=t?`promise rejection`:`exception`;return C8(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:A8(e)?`Event \`${CSe(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function CSe(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function wSe(e){return Object.values(e).find(x8)}var TSe=class extends wxe{constructor(e){let t=ESe(e);W7(t,`browser`,[`browser`],f9.SENTRY_SDK_SOURCE||Qbe()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;f9.document&&f9.document.addEventListener(`visibilitychange`,()=>{f9.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,Mxe)}eventFromException(e,t){return bSe(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return xSe(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function ESe(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:f9.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var DSe=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,C9=J6;function w9(e,t,n){C9.document&&C9.addEventListener(e,t,n)}function T9(e,t,n){C9.document&&C9.removeEventListener(e,t,n)}var OSe=e=>{let t=!1;return()=>{t||=(e(),!0)}},kSe=e=>{let t=C9.requestIdleCallback||C9.setTimeout;C9.document?.visibilityState===`hidden`?e():(e=OSe(e),w9(`visibilitychange`,e,{once:!0,capture:!0}),w9(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),T9(`visibilitychange`,e,{capture:!0}),T9(`pagehide`,e,{capture:!0})}))},ASe=80,E9={};try{typeof Node<`u`&&(E9.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(E9.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,E9.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,E9.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,E9.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(E9.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function D9(e,t,n){let r=E9[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function O9(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||ASe;for(;n&&i++<5&&(o=jSe(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=D9(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function jSe(e,t){let n=[],r=D9(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=D9(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>D9(e,`getAttribute`,t)).map(t=>[t,D9(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=D9(e,`id`);t&&n.push(`#${t}`);let r=D9(e,`className`);if(r&&T8(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=D9(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var MSe=1e3,k9,A9,j9;function NSe(e){h8(`dom`,e),g8(`dom`,PSe)}function PSe(){if(!C9.document)return;let e=_8.bind(null,`dom`),t=M9(e,!0);C9.document.addEventListener(`click`,t,!1),C9.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=C9[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(P8(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=M9(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),P8(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function FSe(e){if(e.type!==A9)return!1;try{if(!e.target||e.target._sentryId!==j9)return!1}catch{}return!0}function ISe(e,t){return e===`keypress`?t?.tagName?!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!0:!1}function M9(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=LSe(n);if(ISe(n.type,r))return;F8(n,`_sentryCaptured`,!0),r&&!r._sentryId&&F8(r,`_sentryId`,t5());let i=n.type===`keypress`?`input`:n.type;FSe(n)||(e({event:n,name:i,global:t}),A9=n.type,j9=r?r._sentryId:void 0),clearTimeout(k9),k9=C9.setTimeout(()=>{j9=void 0,A9=void 0},MSe)}}function LSe(e){try{return e.target}catch{return null}}var N9;function P9(e){let t=`history`;h8(t,e),g8(t,RSe)}function RSe(){if(C9.addEventListener(`popstate`,()=>{let e=C9.location.href,t=N9;N9=e,t!==e&&_8(`history`,{from:t,to:e})}),!aSe())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=N9,i=zSe(String(n));if(N9=i,r===i)return e.apply(this,t);_8(`history`,{from:r,to:i})}return e.apply(this,t)}}P8(C9.history,`pushState`,e),P8(C9.history,`replaceState`,e)}function zSe(e){try{return new URL(e,C9.location.origin).toString()}catch{return e}}var F9={};function BSe(e){let t=F9[e];if(t)return t;let n=C9[e];if(s9(n))return F9[e]=n.bind(C9);let r=C9.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){DSe&&i8.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(F9[e]=n.bind(C9))}function VSe(e){F9[e]=void 0}var I9=`__sentry_xhr_v3__`;function HSe(e){h8(`xhr`,e),g8(`xhr`,USe)}function USe(){if(!C9.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=l5()*1e3,a=T8(n[0])?n[0].toUpperCase():void 0,o=WSe(n[1]);if(!a||!o)return e.apply(t,n);t[I9]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[I9];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}_8(`xhr`,{endTimestamp:l5()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[I9];return a&&T8(r)&&T8(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[I9];return r?(n[0]!==void 0&&(r.body=n[0]),_8(`xhr`,{startTimestamp:l5()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function WSe(e){if(T8(e))return e;try{return e.toString()}catch{}}function GSe(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var KSe=40;function qSe(e,t=BSe(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw VSe(`fetch`),e}finally{n-=a,r--}}return gxe(e,i,E7(e.bufferSize||KSe))}var L9=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,JSe=30,YSe=50;function R9(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var XSe=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ZSe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,QSe=/\((\S*)(?::(\d+))(?::(\d+))\)/,$Se=/at (.+?) ?\(data:(.+?),/,eCe=[JSe,e=>{let t=e.match($Se);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=XSe.exec(e);if(n){let[,e,t,r]=n;return R9(e,`?`,+t,+r)}let r=ZSe.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=QSe.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=z9(r[1]||`?`,r[2]);return R9(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],tCe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nCe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,rCe=c8(eCe,[YSe,e=>{let t=tCe.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=nCe.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=z9(n,e),R9(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),z9=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},B9=1024,iCe=`Breadcrumbs`,aCe=x7(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:iCe,setup(e){t.console&&Yxe(cCe(e)),t.dom&&NSe(sCe(e,t.dom)),t.xhr&&HSe(lCe(e)),t.fetch&&cSe(uCe(e)),t.history&&P9(dCe(e)),t.sentry&&e.on(`beforeSendEvent`,oCe(e))}}}));function oCe(e){return function(t){D5()===e&&G7({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:r5(t)},{event:t})}}function sCe(e,t){return function(n){if(D5()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>B9&&(L9&&i8.warn(`\`dom.maxStringLength\` cannot exceed ${B9}, but a value of ${o} was configured. Sentry will use ${B9} instead.`),o=B9),typeof a==`string`&&(a=[a]);try{let e=n.event,t=fCe(e)?e.target:e;r=O9(t,{keyAttrs:a,maxStringLength:o}),i=fSe(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),G7(s,{event:n.event,name:n.name,global:n.global})}}function cCe(e){return function(t){if(D5()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Zxe(t.level),message:Z8(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Z8(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;G7(n,{input:t.args,level:t.level})}}function lCe(e){return function(t){if(D5()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[I9];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:a9(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),G7(d,u)}}function uCe(e){return function(t){if(D5()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),G7(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:a9(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),G7(s,o)}}}function dCe(e){return function(t){if(D5()!==e)return;let n=t.from,r=t.to,i=U7(f9.location.href),a=n?U7(n):void 0,o=U7(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),G7({category:`navigation`,data:{from:n,to:r}})}}function fCe(e){return!!e&&!!e.target}var pCe=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),mCe=`BrowserApiErrors`,hCe=x7(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:mCe,setupOnce(){t.setTimeout&&P8(f9,`setTimeout`,V9),t.setInterval&&P8(f9,`setInterval`,V9),t.requestAnimationFrame&&P8(f9,`requestAnimationFrame`,gCe),t.XMLHttpRequest&&`XMLHttpRequest`in f9&&P8(XMLHttpRequest.prototype,`send`,_Ce);let e=t.eventTarget;e&&(Array.isArray(e)?e:pCe).forEach(e=>vCe(e,t))}}}));function V9(e){return function(...t){let n=t[0];return t[0]=h9(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${d8(e)}`}}),e.apply(this,t)}}function gCe(e){return function(t){return e.apply(this,[h9(t,{mechanism:{data:{handler:d8(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function _Ce(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&P8(n,e,function(t){let n={mechanism:{data:{handler:d8(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=L8(t);return r&&(n.mechanism.data.handler=d8(r)),h9(t,n)})}),e.apply(this,t)}}function vCe(e,t){let n=f9[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(P8(n,`addEventListener`,function(n){return function(r,i,a){try{yCe(i)&&(i.handleEvent=h9(i.handleEvent,{mechanism:{data:{handler:d8(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&bCe(this,r,i),n.apply(this,[r,h9(i,{mechanism:{data:{handler:d8(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),P8(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function yCe(e){return typeof e.handleEvent==`function`}function bCe(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var xCe=x7((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(f9.document===void 0){L9&&i8.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}p7({ignoreDuration:!0});let e=!1;kSe(()=>{e||=(g7(),!0)});let n=E5(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&g7())}),t===`route`&&P9(({from:t,to:n})=>{t!==n&&(p7({ignoreDuration:!0}),g7(),e=!0)})}}}),SCe=`CultureContext`,CCe=x7((()=>({name:SCe,preprocessEvent(e){let t=H9();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=H9();t&&$5(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function H9(){try{let e=f9.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var wCe=`GlobalHandlers`,TCe=x7(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:wCe,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(ECe(e),U9(`onerror`)),t.onunhandledrejection&&(DCe(e),U9(`onunhandledrejection`))}}}));function ECe(e){Uve(t=>{let{stackParser:n,attachStacktrace:r}=W9();if(D5()!==e||m9())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=ACe(x9(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,f7(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function DCe(e){Gve(t=>{let{stackParser:n,attachStacktrace:r}=W9();if(D5()!==e||m9())return;let i=OCe(t),a=D8(i)?kCe(i):x9(n,i,void 0,r,!0);a.level=`error`,f7(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function OCe(e){if(D8(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function kCe(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function ACe(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:jCe(t)??d9(),function:`?`,in_app:!0}),e}function U9(e){L9&&i8.log(`Global Handler attached: ${e}`)}function W9(){return D5()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function jCe(e){if(!(!T8(e)||e.length===0))return e.startsWith(`data:`)?`<${jxe(e,!1)}>`:e}var MCe=x7(()=>({name:`HttpContext`,preprocessEvent(e){if(!f9.navigator&&!f9.location&&!f9.document)return;let t=g9(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[O5];if(!f9.navigator&&!f9.location&&!f9.document)return;let n=g9();$5(e,{[kbe]:t===`http.client`?void 0:n.url,"http.request.header.user_agent":n.headers[`User-Agent`],"http.request.header.referer":n.headers.Referer})}})),NCe=`cause`,PCe=5,FCe=`LinkedErrors`,ICe=x7(((e={})=>{let t=e.limit||PCe,n=e.key||NCe;return{name:FCe,preprocessEvent(e,r,i){qxe(_9,i.getOptions().stackParser,n,t,e,r)}}})),G9=/^HTML(\w*)Element$/;function K9(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(GSe(e)){let t=LCe(e);if(G9.test(t))return`[HTMLElement: ${O9(e)}]`}}function LCe(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function RCe(){return zCe()?(L9&&e8(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function zCe(){if(f9.window===void 0)return!1;let e=f9;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=d9();return!(f9===f9.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function BCe(e){return[zxe(),Fxe(),iSe(),hCe(),aCe(),TCe(),ICe(),$xe(),MCe(),CCe(),xCe()]}function VCe(e={}){let t=!e.skipBrowserExtensionCheck&&RCe(),n=e.defaultIntegrations==null?BCe():e.defaultIntegrations,r={...e,enabled:t?!1:e.enabled,stackParser:Vve(e.stackParser||rCe),integrations:Ybe({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||qSe};return G8(K9),kxe(TSe,r)}function HCe(e){return O8(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}function UCe(e){let t={...e};W7(t,`react`),Ube(`react`,{version:b.version});let n=VCe(t);return G8(WCe),n}function WCe(e){return HCe(e)?`[SyntheticEvent]`:K9(e)}function GCe(e){let t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function KCe(e,t){let n=new WeakSet;function r(e,t){if(!n.has(e)){if(e.cause)return n.add(e),r(e.cause,t);e.cause=t}}r(e,t)}function qCe(e,{componentStack:t},n){if(GCe(b.version)&&x8(e)&&t){let n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,KCe(e,n)}return d7(e,n)}function JCe(e){return(t,n)=>{let r=!!e,i=qCe(t,n,{mechanism:{handled:r,type:`auto.function.react.error_handler`}});r&&e(t,n,i)}}var YCe=new Set(n_e),XCe=12,q9=`[redacted]`,ZCe=new Set([`localhost`,`127.0.0.1`,`[::1]`,`local`]),J9=/\b(?:https?|wss?|simplex|file):\/\/[^\s"'<>`]+/i,QCe=RegExp(`${J9.source}|${/(?<=["'])(?:[a-z]:[\\/]|\\\\|\/)[^"'<>`\r\n]+|(?:[a-z]:[\\/]|\\\\|(?<![\w/])\/)[^\s"'<>`]+/.source}`,`gi`),$Ce=/\b[a-z]+(?:[\s"',\[\]]+[a-z]+){11,}\b/gi,ewe=/[A-Za-z0-9+/_=-]{32,}/g,twe=/^0x[0-9a-fA-F]{40}$/;function nwe(e){try{let t=new URL(e);if(t.protocol===`file:`)return q9;let n=ZCe.has(t.hostname)?t.pathname:t.pathname===`/`?``:`/${q9}`;return`${t.protocol}//${t.host}${n}${t.search||t.hash?`?${q9}`:``}`}catch{return q9}}function Y9(e){let t=0;for(let n of e.toLowerCase().split(/[\s"',\[\]]+/))if(t=YCe.has(n)?t+1:0,t>=XCe)return!0;return!1}function X9(e){return e.replace(QCe,e=>J9.test(e)?nwe(e):q9).replace($Ce,e=>Y9(e)?q9:e).replace(ewe,e=>twe.test(e)?e:q9)}function Z9(e){return e.message&&=X9(e.message),e.data&&=Q9(e.data),e}function rwe(e){e.message&&=X9(e.message),e.logentry&&=Q9(e.logentry);for(let t of e.exception?.values??[])t.value&&=X9(t.value);for(let t of e.breadcrumbs??[])Z9(t);if(e.extra&&=Q9(e.extra),e.request){e.request.url&&(e.request.url=X9(e.request.url)),delete e.request.query_string,delete e.request.data,delete e.request.cookies;let t=e.request.headers?.[`User-Agent`];e.request.headers=t?{"User-Agent":t}:void 0}return e}function Q9(e,t=new WeakSet){return typeof e==`string`?X9(e):!e||typeof e!=`object`?e:t.has(e)?q9:(t.add(e),Array.isArray(e)?Y9(e.map(e=>typeof e==`string`?e:``).join(` `))?q9:e.map(e=>Q9(e,t)):Object.fromEntries(Object.entries(e).map(([e,n])=>[e,Q9(n,t)])))}var iwe=`https://6712813282c59f101a62b0631b9d6d66@o4506309858361344.ingest.us.sentry.io/4512254678466560`,awe=`simplex-ui@0.18.2`;async function owe(){try{let e=await fetch(`/health`,{cache:`no-store`});return e.status===423?!0:e.ok?(await e.json()).errorReporting!==!1:!1}catch{return!1}}async function swe(){await owe()&&UCe({dsn:iwe,release:awe,environment:nm(window.location.protocol)?`desktop`:`web`,sendDefaultPii:!1,beforeBreadcrumb:e=>Z9(e),beforeSend:e=>rwe(e)})}var $9=JCe;swe(),`serviceWorker`in navigator&&navigator.serviceWorker.register(`./sw.js`,{scope:`./`}).catch(()=>{}),(0,y.createRoot)(document.getElementById(`root`),{onUncaughtError:$9(),onCaughtError:$9(),onRecoverableError:$9()}).render((0,B.jsx)(b.StrictMode,{children:(0,B.jsx)(jve,{})}));
|
|
2168
|
+
Event: ${r5(e)}`),!0;return!1}function Vxe(e,t){return t?.length?D7(e).some(e=>$8(e,t)):!1}function Hxe(e,t){if(!t?.length)return!1;let n=e.transaction;return n?$8(n,t):!1}function Uxe(e,t){if(!t?.length)return!1;let n=J7(e);return n?$8(n,t):!1}function Wxe(e,t){if(!t?.length)return!0;let n=J7(e);return n?$8(n,t):!0}function Gxe(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function J7(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Gxe(t):null}catch{return q6&&i8.error(`Cannot extract url for event ${r5(e)}`),null}}function Kxe(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function qxe(e,t,n,r,i,a){if(!i.exception?.values||!a||!x8(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Y7(e,t,r,a.originalException,n,i.exception.values,o,0))}function Y7(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(x8(r[i])){Z7(o,s,r);let a=e(t,r[i]),l=c.length;Q7(a,i,l,s),c=Y7(e,t,n,r[i],i,[a,...c],a,l)}return X7(r)&&r.errors.forEach((a,l)=>{if(x8(a)){Z7(o,s,r);let u=e(t,a),d=c.length;Q7(u,`errors[${l}]`,d,s),c=Y7(e,t,n,a,i,[u,...c],u,d)}}),c}function X7(e){return Array.isArray(e.errors)}function Z7(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...X7(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Q7(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Jxe(e){return x8(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function $7(e){return Jxe(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var e9=new Set([]);function Yxe(e){let t=`console`,n=h8(t,e);return g8(t,Xxe),n}var t9=new Set;function Xxe(){`console`in J6&&Pve.forEach(function(e){t9.has(e)||!(e in J6.console)||(t9.add(e),P8(J6.console,e,function(t){return $6[e]=t,function(...t){let n=t[0],r=$6[e],i=e9.size&&typeof n==`string`&&$8(n,e9);i||_8(`console`,{args:t,level:e}),(!i||q6&&i8.isEnabled())&&r?.apply(J6.console,t)}}))})}function Zxe(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var Qxe=`Dedupe`,$xe=x7((()=>{let e;return{name:Qxe,processEvent(t){if(t.type)return t;try{if(eSe(t,e))return q6&&i8.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function eSe(e,t){return t?!!(tSe(e,t)||nSe(e,t)):!1}function tSe(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!r9(e,t)||!n9(e,t))}function nSe(e,t){let n=i9(t),r=i9(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!r9(e,t)||!n9(e,t))}function n9(e,t){let n=f8(e),r=f8(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function r9(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function i9(e){return e.exception?.values?.[0]}var rSe=`ConversationId`,iSe=x7((()=>({name:rSe,setup(e){e.on(`spanStart`,e=>{let t=T5().getScopeData(),n=E5().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=F5(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(Nye,r)}})}})));function a9(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var o9=J6;function aSe(){return`history`in o9&&!!o9.history}function oSe(){if(!(`fetch`in o9))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function s9(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function sSe(){if(typeof EdgeRuntime==`string`)return!0;if(!oSe())return!1;if(s9(o9.fetch))return!0;let e=!1,t=o9.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=s9(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){q6&&i8.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function cSe(e,t){let n=`fetch`,r=h8(n,e);return g8(n,()=>lSe(void 0,t)),r}function lSe(e,t=!1){t&&!sSe()||P8(J6,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=uSe(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:l5()*1e3,virtualError:r,headers:dSe(n)};return e||_8(`fetch`,{...o}),t.apply(J6,n).then(async t=>(e?e(t):_8(`fetch`,{...o,endTimestamp:l5()*1e3,response:t}),t),e=>{_8(`fetch`,{...o,endTimestamp:l5()*1e3,error:e}),x8(e)&&e.stack===void 0&&(e.stack=r.stack,F8(e,`framesToPop`,1));let t=D5()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&x8(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:F8(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function c9(e,t){return k8(e)&&!!e[t]}function l9(e){return typeof e==`string`?e:e?c9(e,`url`)?e.url:e.toString?e.toString():``:``}function uSe(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:l9(t),method:c9(n,`method`)?String(n.method).toUpperCase():N8(t)&&c9(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:l9(t),method:c9(t,`method`)?String(t.method).toUpperCase():`GET`}}function dSe(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(N8(t))return new Headers(t.headers)}catch{}}var u9=J6;function d9(){try{return u9.document.location.href}catch{return``}}function fSe(e,t=5){if(!u9.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var f9=J6,p9=0;function m9(){return p9>0}function pSe(){p9++,setTimeout(()=>{p9--})}function h9(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(L8(e))return e}catch{return e}let r=function(...n){J6._sentryWrappedDepth=(J6._sentryWrappedDepth||0)+1;try{let r=n.map(e=>h9(e,t));return e.apply(this,r)}catch(e){throw pSe(),Oye(r=>{r.addEventProcessor(e=>(t.mechanism&&(i5(e,void 0,void 0),a5(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),d7(e)}),e}finally{J6._sentryWrappedDepth=(J6._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}I8(r,e),F8(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function g9(){let e=d9(),{referrer:t}=f9.document||{},{userAgent:n}=f9.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function _9(e,t){let n=y9(e,t),r={type:vSe(t),value:ySe(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function mSe(e,t,n,r){let i=D5()?.getOptions().normalizeDepth,a=wSe(t),o={__serialized__:q8(t,i)};if(a)return{exception:{values:[_9(e,a)]},extra:o};let s={exception:{values:[{type:A8(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:SSe(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=y9(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function v9(e,t){return{exception:{values:[_9(e,t)]}}}function y9(e,t){let n=t.stacktrace||t.stack||``,r=gSe(t),i=_Se(t);try{return e(n,r,i)}catch{}return[]}var hSe=/Minified React error #\d+;/i;function gSe(e){return e&&hSe.test(e.message)?1:0}function _Se(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function b9(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:!1}function vSe(e){let t=e?.name;return!t&&b9(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function ySe(e){let t=e?.message;return b9(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?$7(t.error):$7(e):`No error message`}function bSe(e,t,n,r){let i=x9(e,t,n?.syntheticException||void 0,r);return a5(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),r7(i)}function xSe(e,t,n=`info`,r,i){let a=S9(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),r7(a)}function x9(e,t,n,r,i){let a;if(C8(t)&&t.error)return v9(e,t.error);if(w8(t)||qve(t)){let i=t;if(`stack`in t){a=v9(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=y9(e,n);t.length&&(i.stacktrace={frames:t},a5(a,{synthetic:!0}))}}else{let t=i.name||(w8(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=S9(e,o,n,r),i5(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return x8(t)?v9(e,t):O8(t)||A8(t)?(a=mSe(e,t,n,i),a5(a,{synthetic:!0}),a):(a=S9(e,t,n,r),i5(a,`${t}`,void 0),a5(a,{synthetic:!0}),a)}function S9(e,t,n,r){let i={};if(r&&n){let r=y9(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),a5(i,{synthetic:!0})}if(E8(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function SSe(e,{isUnhandledRejection:t}){let n=Yve(e),r=t?`promise rejection`:`exception`;return C8(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:A8(e)?`Event \`${CSe(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function CSe(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function wSe(e){return Object.values(e).find(x8)}var TSe=class extends wxe{constructor(e){let t=ESe(e);W7(t,`browser`,[`browser`],f9.SENTRY_SDK_SOURCE||Qbe()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;f9.document&&f9.document.addEventListener(`visibilitychange`,()=>{f9.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,Mxe)}eventFromException(e,t){return bSe(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return xSe(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function ESe(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:f9.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var DSe=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,C9=J6;function w9(e,t,n){C9.document&&C9.addEventListener(e,t,n)}function T9(e,t,n){C9.document&&C9.removeEventListener(e,t,n)}var OSe=e=>{let t=!1;return()=>{t||=(e(),!0)}},kSe=e=>{let t=C9.requestIdleCallback||C9.setTimeout;C9.document?.visibilityState===`hidden`?e():(e=OSe(e),w9(`visibilitychange`,e,{once:!0,capture:!0}),w9(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),T9(`visibilitychange`,e,{capture:!0}),T9(`pagehide`,e,{capture:!0})}))},ASe=80,E9={};try{typeof Node<`u`&&(E9.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(E9.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,E9.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,E9.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,E9.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(E9.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function D9(e,t,n){let r=E9[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function O9(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||ASe;for(;n&&i++<5&&(o=jSe(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=D9(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function jSe(e,t){let n=[],r=D9(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=D9(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>D9(e,`getAttribute`,t)).map(t=>[t,D9(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=D9(e,`id`);t&&n.push(`#${t}`);let r=D9(e,`className`);if(r&&T8(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=D9(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var MSe=1e3,k9,A9,j9;function NSe(e){h8(`dom`,e),g8(`dom`,PSe)}function PSe(){if(!C9.document)return;let e=_8.bind(null,`dom`),t=M9(e,!0);C9.document.addEventListener(`click`,t,!1),C9.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=C9[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(P8(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=M9(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),P8(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function FSe(e){if(e.type!==A9)return!1;try{if(!e.target||e.target._sentryId!==j9)return!1}catch{}return!0}function ISe(e,t){return e===`keypress`?t?.tagName?!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!0:!1}function M9(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=LSe(n);if(ISe(n.type,r))return;F8(n,`_sentryCaptured`,!0),r&&!r._sentryId&&F8(r,`_sentryId`,t5());let i=n.type===`keypress`?`input`:n.type;FSe(n)||(e({event:n,name:i,global:t}),A9=n.type,j9=r?r._sentryId:void 0),clearTimeout(k9),k9=C9.setTimeout(()=>{j9=void 0,A9=void 0},MSe)}}function LSe(e){try{return e.target}catch{return null}}var N9;function P9(e){let t=`history`;h8(t,e),g8(t,RSe)}function RSe(){if(C9.addEventListener(`popstate`,()=>{let e=C9.location.href,t=N9;N9=e,t!==e&&_8(`history`,{from:t,to:e})}),!aSe())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=N9,i=zSe(String(n));if(N9=i,r===i)return e.apply(this,t);_8(`history`,{from:r,to:i})}return e.apply(this,t)}}P8(C9.history,`pushState`,e),P8(C9.history,`replaceState`,e)}function zSe(e){try{return new URL(e,C9.location.origin).toString()}catch{return e}}var F9={};function BSe(e){let t=F9[e];if(t)return t;let n=C9[e];if(s9(n))return F9[e]=n.bind(C9);let r=C9.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){DSe&&i8.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(F9[e]=n.bind(C9))}function VSe(e){F9[e]=void 0}var I9=`__sentry_xhr_v3__`;function HSe(e){h8(`xhr`,e),g8(`xhr`,USe)}function USe(){if(!C9.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=l5()*1e3,a=T8(n[0])?n[0].toUpperCase():void 0,o=WSe(n[1]);if(!a||!o)return e.apply(t,n);t[I9]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[I9];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}_8(`xhr`,{endTimestamp:l5()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[I9];return a&&T8(r)&&T8(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[I9];return r?(n[0]!==void 0&&(r.body=n[0]),_8(`xhr`,{startTimestamp:l5()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function WSe(e){if(T8(e))return e;try{return e.toString()}catch{}}function GSe(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var KSe=40;function qSe(e,t=BSe(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw VSe(`fetch`),e}finally{n-=a,r--}}return gxe(e,i,E7(e.bufferSize||KSe))}var L9=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,JSe=30,YSe=50;function R9(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var XSe=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ZSe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,QSe=/\((\S*)(?::(\d+))(?::(\d+))\)/,$Se=/at (.+?) ?\(data:(.+?),/,eCe=[JSe,e=>{let t=e.match($Se);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=XSe.exec(e);if(n){let[,e,t,r]=n;return R9(e,`?`,+t,+r)}let r=ZSe.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=QSe.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=z9(r[1]||`?`,r[2]);return R9(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],tCe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nCe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,rCe=c8(eCe,[YSe,e=>{let t=tCe.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=nCe.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=z9(n,e),R9(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),z9=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},B9=1024,iCe=`Breadcrumbs`,aCe=x7(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:iCe,setup(e){t.console&&Yxe(cCe(e)),t.dom&&NSe(sCe(e,t.dom)),t.xhr&&HSe(lCe(e)),t.fetch&&cSe(uCe(e)),t.history&&P9(dCe(e)),t.sentry&&e.on(`beforeSendEvent`,oCe(e))}}}));function oCe(e){return function(t){D5()===e&&G7({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:r5(t)},{event:t})}}function sCe(e,t){return function(n){if(D5()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>B9&&(L9&&i8.warn(`\`dom.maxStringLength\` cannot exceed ${B9}, but a value of ${o} was configured. Sentry will use ${B9} instead.`),o=B9),typeof a==`string`&&(a=[a]);try{let e=n.event,t=fCe(e)?e.target:e;r=O9(t,{keyAttrs:a,maxStringLength:o}),i=fSe(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),G7(s,{event:n.event,name:n.name,global:n.global})}}function cCe(e){return function(t){if(D5()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Zxe(t.level),message:Z8(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Z8(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;G7(n,{input:t.args,level:t.level})}}function lCe(e){return function(t){if(D5()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[I9];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:a9(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),G7(d,u)}}function uCe(e){return function(t){if(D5()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),G7(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:a9(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),G7(s,o)}}}function dCe(e){return function(t){if(D5()!==e)return;let n=t.from,r=t.to,i=U7(f9.location.href),a=n?U7(n):void 0,o=U7(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),G7({category:`navigation`,data:{from:n,to:r}})}}function fCe(e){return!!e&&!!e.target}var pCe=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),mCe=`BrowserApiErrors`,hCe=x7(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:mCe,setupOnce(){t.setTimeout&&P8(f9,`setTimeout`,V9),t.setInterval&&P8(f9,`setInterval`,V9),t.requestAnimationFrame&&P8(f9,`requestAnimationFrame`,gCe),t.XMLHttpRequest&&`XMLHttpRequest`in f9&&P8(XMLHttpRequest.prototype,`send`,_Ce);let e=t.eventTarget;e&&(Array.isArray(e)?e:pCe).forEach(e=>vCe(e,t))}}}));function V9(e){return function(...t){let n=t[0];return t[0]=h9(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${d8(e)}`}}),e.apply(this,t)}}function gCe(e){return function(t){return e.apply(this,[h9(t,{mechanism:{data:{handler:d8(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function _Ce(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&P8(n,e,function(t){let n={mechanism:{data:{handler:d8(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=L8(t);return r&&(n.mechanism.data.handler=d8(r)),h9(t,n)})}),e.apply(this,t)}}function vCe(e,t){let n=f9[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(P8(n,`addEventListener`,function(n){return function(r,i,a){try{yCe(i)&&(i.handleEvent=h9(i.handleEvent,{mechanism:{data:{handler:d8(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&bCe(this,r,i),n.apply(this,[r,h9(i,{mechanism:{data:{handler:d8(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),P8(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function yCe(e){return typeof e.handleEvent==`function`}function bCe(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var xCe=x7((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(f9.document===void 0){L9&&i8.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}p7({ignoreDuration:!0});let e=!1;kSe(()=>{e||=(g7(),!0)});let n=E5(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&g7())}),t===`route`&&P9(({from:t,to:n})=>{t!==n&&(p7({ignoreDuration:!0}),g7(),e=!0)})}}}),SCe=`CultureContext`,CCe=x7((()=>({name:SCe,preprocessEvent(e){let t=H9();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=H9();t&&$5(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function H9(){try{let e=f9.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var wCe=`GlobalHandlers`,TCe=x7(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:wCe,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(ECe(e),U9(`onerror`)),t.onunhandledrejection&&(DCe(e),U9(`onunhandledrejection`))}}}));function ECe(e){Uve(t=>{let{stackParser:n,attachStacktrace:r}=W9();if(D5()!==e||m9())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=ACe(x9(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,f7(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function DCe(e){Gve(t=>{let{stackParser:n,attachStacktrace:r}=W9();if(D5()!==e||m9())return;let i=OCe(t),a=D8(i)?kCe(i):x9(n,i,void 0,r,!0);a.level=`error`,f7(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function OCe(e){if(D8(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function kCe(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function ACe(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:jCe(t)??d9(),function:`?`,in_app:!0}),e}function U9(e){L9&&i8.log(`Global Handler attached: ${e}`)}function W9(){return D5()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function jCe(e){if(!(!T8(e)||e.length===0))return e.startsWith(`data:`)?`<${jxe(e,!1)}>`:e}var MCe=x7(()=>({name:`HttpContext`,preprocessEvent(e){if(!f9.navigator&&!f9.location&&!f9.document)return;let t=g9(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[O5];if(!f9.navigator&&!f9.location&&!f9.document)return;let n=g9();$5(e,{[kbe]:t===`http.client`?void 0:n.url,"http.request.header.user_agent":n.headers[`User-Agent`],"http.request.header.referer":n.headers.Referer})}})),NCe=`cause`,PCe=5,FCe=`LinkedErrors`,ICe=x7(((e={})=>{let t=e.limit||PCe,n=e.key||NCe;return{name:FCe,preprocessEvent(e,r,i){qxe(_9,i.getOptions().stackParser,n,t,e,r)}}})),G9=/^HTML(\w*)Element$/;function K9(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(GSe(e)){let t=LCe(e);if(G9.test(t))return`[HTMLElement: ${O9(e)}]`}}function LCe(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function RCe(){return zCe()?(L9&&e8(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function zCe(){if(f9.window===void 0)return!1;let e=f9;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=d9();return!(f9===f9.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function BCe(e){return[zxe(),Fxe(),iSe(),hCe(),aCe(),TCe(),ICe(),$xe(),MCe(),CCe(),xCe()]}function VCe(e={}){let t=!e.skipBrowserExtensionCheck&&RCe(),n=e.defaultIntegrations==null?BCe():e.defaultIntegrations,r={...e,enabled:t?!1:e.enabled,stackParser:Vve(e.stackParser||rCe),integrations:Ybe({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||qSe};return G8(K9),kxe(TSe,r)}function HCe(e){return O8(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}function UCe(e){let t={...e};W7(t,`react`),Ube(`react`,{version:b.version});let n=VCe(t);return G8(WCe),n}function WCe(e){return HCe(e)?`[SyntheticEvent]`:K9(e)}function GCe(e){let t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function KCe(e,t){let n=new WeakSet;function r(e,t){if(!n.has(e)){if(e.cause)return n.add(e),r(e.cause,t);e.cause=t}}r(e,t)}function qCe(e,{componentStack:t},n){if(GCe(b.version)&&x8(e)&&t){let n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,KCe(e,n)}return d7(e,n)}function JCe(e){return(t,n)=>{let r=!!e,i=qCe(t,n,{mechanism:{handled:r,type:`auto.function.react.error_handler`}});r&&e(t,n,i)}}var YCe=new Set(n_e),XCe=12,q9=`[redacted]`,ZCe=new Set([`localhost`,`127.0.0.1`,`[::1]`,`local`]),J9=/\b(?:https?|wss?|simplex|file):\/\/[^\s"'<>`]+/i,QCe=RegExp(`${J9.source}|${/(?<=["'])(?:[a-z]:[\\/]|\\\\|\/)[^"'<>`\r\n]+|(?:[a-z]:[\\/]|\\\\|(?<![\w/])\/)[^\s"'<>`]+/.source}`,`gi`),$Ce=/\b[a-z]+(?:[\s"',\[\]]+[a-z]+){11,}\b/gi,ewe=/[A-Za-z0-9+/_=-]{32,}/g,twe=/^0x[0-9a-fA-F]{40}$/;function nwe(e){try{let t=new URL(e);if(t.protocol===`file:`)return q9;let n=ZCe.has(t.hostname)?t.pathname:t.pathname===`/`?``:`/${q9}`;return`${t.protocol}//${t.host}${n}${t.search||t.hash?`?${q9}`:``}`}catch{return q9}}function Y9(e){let t=0;for(let n of e.toLowerCase().split(/[\s"',\[\]]+/))if(t=YCe.has(n)?t+1:0,t>=XCe)return!0;return!1}function X9(e){return e.replace(QCe,e=>J9.test(e)?nwe(e):q9).replace($Ce,e=>Y9(e)?q9:e).replace(ewe,e=>twe.test(e)?e:q9)}function Z9(e){return e.message&&=X9(e.message),e.data&&=Q9(e.data),e}function rwe(e){e.message&&=X9(e.message),e.logentry&&=Q9(e.logentry);for(let t of e.exception?.values??[])t.value&&=X9(t.value);for(let t of e.breadcrumbs??[])Z9(t);if(e.extra&&=Q9(e.extra),e.request){e.request.url&&(e.request.url=X9(e.request.url)),delete e.request.query_string,delete e.request.data,delete e.request.cookies;let t=e.request.headers?.[`User-Agent`];e.request.headers=t?{"User-Agent":t}:void 0}return e}function Q9(e,t=new WeakSet){return typeof e==`string`?X9(e):!e||typeof e!=`object`?e:t.has(e)?q9:(t.add(e),Array.isArray(e)?Y9(e.map(e=>typeof e==`string`?e:``).join(` `))?q9:e.map(e=>Q9(e,t)):Object.fromEntries(Object.entries(e).map(([e,n])=>[e,Q9(n,t)])))}var iwe=`https://6712813282c59f101a62b0631b9d6d66@o4506309858361344.ingest.us.sentry.io/4512254678466560`,awe=`simplex-ui@0.18.3`;async function owe(){try{let e=await fetch(`/health`,{cache:`no-store`});return e.status===423?!0:e.ok?(await e.json()).errorReporting!==!1:!1}catch{return!1}}async function swe(){await owe()&&UCe({dsn:iwe,release:awe,environment:nm(window.location.protocol)?`desktop`:`web`,sendDefaultPii:!1,beforeBreadcrumb:e=>Z9(e),beforeSend:e=>rwe(e)})}var $9=JCe;swe(),`serviceWorker`in navigator&&navigator.serviceWorker.register(`./sw.js`,{scope:`./`}).catch(()=>{}),(0,y.createRoot)(document.getElementById(`root`),{onUncaughtError:$9(),onCaughtError:$9(),onRecoverableError:$9()}).render((0,B.jsx)(b.StrictMode,{children:(0,B.jsx)(jve,{})}));
|
package/dist/ui/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<link rel="apple-touch-icon" href="./icons/mobile-logo.svg" />
|
|
12
12
|
<link rel="icon" href="./icons/mobile-logo.svg" type="image/svg+xml" />
|
|
13
13
|
<title>Simplex</title>
|
|
14
|
-
<script type="module" crossorigin src="./assets/index-
|
|
14
|
+
<script type="module" crossorigin src="./assets/index-BqOM_gBm.js"></script>
|
|
15
15
|
<link rel="stylesheet" crossorigin href="./assets/index-DypSLK4f.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
package/package.json
CHANGED