// Module ID: 760 // Function ID: 761 // Dependencies: [688, 689, 713] // Exports: initAndBind, setCurrentClient // Module 760 import _mod688 from "module_688" /* 688 */; import consoleSandbox from "consoleSandbox" /* 689 */; import _mod713 from "module_713" /* 713 */; require = arg1; const dependencyMap = arg6; Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" }); export const initAndBind = function initAndBind(arg0, debug) { if (true === debug.debug) { const obj = consoleSandbox; if (_mod688.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 = _mod713.getCurrentScope(); currentScope.update(debug.initialScope); const obj4 = new arg0(debug); const currentScope1 = _mod713.getCurrentScope(); currentScope1.setClient(obj4); obj4.init(); return obj4; }; export const setCurrentClient = function setCurrentClient(arg0) { const currentScope = _mod713.getCurrentScope(); currentScope.setClient(arg0); };