// Module ID: 851 // Function ID: 852 // Name: instrumentUnhandledRejection // Dependencies: [850, 821] // Module 851 (instrumentUnhandledRejection) const require = arg1; const dependencyMap = arg6; function instrumentUnhandledRejection() { const onunhandledrejection = require(821).GLOBAL_OBJ.onunhandledrejection; require(821).GLOBAL_OBJ.onunhandledrejection = function(arg0) { callback(table[0]).triggerHandlers("unhandledrejection", arg0); if (!onunhandledrejection) { return !onunhandledrejection; } else { const self = this; const apply = onunhandledrejection.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } const tmp2 = onunhandledrejection; } }; require(821).GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true; } Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" }); let c2 = null; arg5.addGlobalUnhandledRejectionInstrumentationHandler = function addGlobalUnhandledRejectionInstrumentationHandler(arg0) { require(850) /* addHandler */.addHandler("unhandledrejection", arg0); const obj = require(850) /* addHandler */; require(850) /* addHandler */.maybeInstrument("unhandledrejection", instrumentUnhandledRejection); };