// Metro module 851 (f852). import { triggerHandlers, addHandler, maybeInstrument } from "./Module850"; import { GLOBAL_OBJ } from "./Module821"; let onunhandledrejection; const instrumentUnhandledRejection = function instrumentUnhandledRejection() { onunhandledrejection = GLOBAL_OBJ.onunhandledrejection; GLOBAL_OBJ.onunhandledrejection = function(a0) { triggerHandlers("unhandledrejection", a0); return onunhandledrejection ? onunhandledrejection.apply(this, arguments) : !onunhandledrejection; }; GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true; }; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); onunhandledrejection = null; export function addGlobalUnhandledRejectionInstrumentationHandler(a0) { addHandler("unhandledrejection", a0); maybeInstrument("unhandledrejection", instrumentUnhandledRejection); }