60 lines
2.9 KiB
TypeScript
60 lines
2.9 KiB
TypeScript
/* Metro module 6604; source: modules/guild_onboarding/LandingAssetUtils.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun52089(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52089, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6782:6, offset: 0x0131e9b8, size: 85 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_onboarding/LandingAssetUtils.tsx');
|
|
exports.default = function(a0, a1, a2) {
|
|
var env0_0 = a0;
|
|
var env0_1 = a2;
|
|
a0.assets[0].p = a1;
|
|
var index = a0.layers.findIndex(_fun52091);
|
|
var env0_2 = index;
|
|
a0.layers[index].shapes[0].it.forEach(_fun52092);
|
|
return a0;
|
|
};
|
|
function replaceFlagIconAndFlagColor(a0, a1, a2) { // fn#52090, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6782:182, offset: 0x0131ea0d, size: 104 bytes, params: 4, frame: 14
|
|
const env0_0 = a0;
|
|
const env0_1 = a2;
|
|
a0.assets[0].p = a1;
|
|
a0.layers[a0.layers.findIndex(function(a0) {
|
|
return a0.nm === 'flag';
|
|
})].shapes[0].it.forEach(_fun52092);
|
|
return a0;
|
|
function _fun52092(a0, a1) { // fn#52092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6782:328, offset: 0x0131ea87, size: 229 bytes, params: 3, frame: 17
|
|
var c;
|
|
var items2;
|
|
var value;
|
|
let it = env0_0.layers[env0_2].shapes[0].it;
|
|
if (it[a1].ty === 'gr') {
|
|
it = env0_0.layers[env0_2].shapes[0].it;
|
|
it = it[a1].it;
|
|
if (it.findIndex(function(a0) {
|
|
return a0.ty === 'fl';
|
|
}) >= 0) {
|
|
c = env0_0.layers[env0_2].shapes[0].it[a1].it[1].c;
|
|
value = importDefault.map(_fun52094);
|
|
items2 = [];
|
|
value = arraySpread(items2, value, 0, it);
|
|
items2[value] = 1;
|
|
value + 1;
|
|
c.k = items2;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _fun52091({nm}) { // fn#52091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6782:268, offset: 0x0131ea75, size: 18 bytes, params: 2, frame: 2
|
|
return nm === 'flag';
|
|
}
|
|
|
|
function _fun52094(a0) { // fn#52094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6782:489, offset: 0x0131eb80, size: 15 bytes, params: 2, frame: 2
|
|
return a0 / 256;
|
|
}
|
|
|
|
global.__d(_fun52089, 6604, [2]) /* metro module 6604, dependencies: [2] */;
|