39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
// Module ID: 1170
|
|
// Function ID: 1171
|
|
// Name: breadcrumbsIntegration
|
|
// Dependencies: [1002, 1024]
|
|
|
|
// Module 1170 (breadcrumbsIntegration)
|
|
const require = arg1;
|
|
const dependencyMap = arg6;
|
|
arg5.breadcrumbsIntegration = () => {
|
|
let obj = arg0;
|
|
if (arg0 === undefined) {
|
|
obj = {};
|
|
}
|
|
let _fetch = obj.fetch;
|
|
const merged = Object.assign({ xhr: true, console: true, sentry: true }, obj);
|
|
if (null === _fetch) {
|
|
_fetch = require(1002) /* isHermesEnabled */.isWeb();
|
|
const obj2 = require(1002) /* isHermesEnabled */;
|
|
}
|
|
obj = { fetch: _fetch, dom: null, history: null };
|
|
let isWebResult = require(1002) /* isHermesEnabled */.isWeb();
|
|
if (isWebResult) {
|
|
const dom = obj.dom;
|
|
isWebResult = null === dom || undefined === dom || dom;
|
|
const tmp7 = null === dom || undefined === dom || dom;
|
|
}
|
|
obj[1] = isWebResult;
|
|
let tmp4Result = tmp4(1002);
|
|
let isWebResult1 = tmp4Result.isWeb();
|
|
if (isWebResult1) {
|
|
const history = obj.history;
|
|
isWebResult1 = null === history || undefined === history || history;
|
|
const tmp9 = null === history || undefined === history || history;
|
|
}
|
|
obj[2] = isWebResult1;
|
|
const merged1 = Object.assign(merged, obj);
|
|
tmp4Result = tmp4(1024);
|
|
return tmp4Result.breadcrumbsIntegration(merged1);
|
|
};
|