decord/source/utils/BraintreeUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

75 lines
2.7 KiB
TypeScript

// Module ID: 4234
// Function ID: 4235
// Name: getBraintreeSDK
// Dependencies: [4235, 1074, 4236, 4239, 1896, 4239, 2]
// Exports: collectDeviceData, getBraintreeSDK
// Module 4234 (getBraintreeSDK)
import _mod4236 from "module_4236" /* 4236 */;
import closure_2 from "getClient" /* 4235 */;
import { PaymentSettings } from "ME" /* 1074 */;
require = arg1;
const result = require("set").fileFinishedImporting("utils/BraintreeUtils.tsx");
export const getBraintreeSDK = function getBraintreeSDK() {
let obj = _mod4236;
obj = {
createPromise() {
return callback(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
};
return obj.importWithRetry(obj).then((arg0) => arg0.default);
};
export const collectDeviceData = function collectDeviceData() {
client = client.getClient();
if (null == client) {
let obj = { createPromise: null, webpackId: null };
obj[0] = function createPromise() {
return callback(paths[4])(paths[3], paths.paths);
};
obj[1] = 4239;
const obj3 = client(4236);
let importWithRetryResult = client(4236).importWithRetry(obj);
let nextPromise1 = client(4236).importWithRetry(obj).then((arg0) => arg0.default).then((client) => {
client = client.client;
let obj = { authorization: constants.BRAINTREE.KEY };
obj = client.create(obj);
return obj.then((arg0) => {
const callback = arg0;
let obj = callback(4236);
obj = {
createPromise() {
return callback(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
};
const importWithRetryResult = obj.importWithRetry(obj);
return obj.importWithRetry(obj).then((arg0) => arg0.default).then((dataCollector) => {
dataCollector = dataCollector.dataCollector;
let obj = { client: closure_0 };
obj = dataCollector.create(obj);
return obj.then((deviceData) => deviceData.deviceData).catch(() => null);
});
}).catch(() => null);
});
const nextPromise = client(4236).importWithRetry(obj).then((arg0) => arg0.default);
} else {
obj = client(4236);
obj = { createPromise: null, webpackId: null };
obj[0] = function createPromise() {
return callback(paths[4])(paths[3], paths.paths);
};
obj[1] = 4239;
const importWithRetryResult1 = obj.importWithRetry(obj);
nextPromise1 = obj.importWithRetry(obj).then((arg0) => arg0.default).then((dataCollector) => {
dataCollector = dataCollector.dataCollector;
let obj = { client: closure_0 };
obj = dataCollector.create(obj);
return obj.then((deviceData) => deviceData.deviceData).catch(() => null);
});
const nextPromise2 = obj.importWithRetry(obj).then((arg0) => arg0.default);
}
return nextPromise1;
};