// Module ID: 895 // Function ID: 896 // Name: initAndBind // Dependencies: [823, 824, 848] // Module 895 (initAndBind) const require = arg1; const dependencyMap = arg6; Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" }); arg5.initAndBind = function initAndBind(arg0, debug) { if (true === debug.debug) { const obj = require(824) /* consoleSandbox */; if (require(823) /* __SENTRY_DEBUG__ */.DEBUG_BUILD) { debug = obj.debug; debug.enable(); } else { obj.consoleSandbox(() => { console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."); }); } } const currentScope = require(848) /* getClient */.getCurrentScope(); currentScope.update(debug.initialScope); const obj4 = new arg0(debug); const obj2 = require(848) /* getClient */; const currentScope1 = require(848) /* getClient */.getCurrentScope(); currentScope1.setClient(obj4); obj4.init(); return obj4; }; arg5.setCurrentClient = function setCurrentClient(arg0) { const currentScope = require(848) /* getClient */.getCurrentScope(); currentScope.setClient(arg0); };