77 lines
4.7 KiB
TypeScript
77 lines
4.7 KiB
TypeScript
/* Metro module 11069; source: modules/stickers/native/premium/openStickersPremiumUpsellAlert.tsx; dependencies: [5, 31, 661, 33, 683, 6847, 4223, 4496, 11070, 1962, 2] */
|
|
import Module00005 from '../../../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun84752(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:6, offset: 0x01f56264, size: 197 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/stickers/native/premium/openStickersPremiumUpsellAlert.tsx');
|
|
exports.default = function() {
|
|
return _openStickersPremiumUpsellAlert.apply(this, arguments);
|
|
};
|
|
function _openStickersPremiumUpsellAlert() { // fn#84753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:181, offset: 0x01f56329, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun84755).apply(this, arguments);
|
|
function* _fun84755(a0) { // fn#84755, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:266, offset: 0x01f56366, size: 228 bytes, params: 2, frame: 20
|
|
var environment;
|
|
if (true) {
|
|
var env0_0 = a0;
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_1;
|
|
var binding2 = env2_2;
|
|
var value3 = binding(binding2[4]);
|
|
var track = value3.track;
|
|
var OPEN_MODAL = env2_4.OPEN_MODAL;
|
|
var STICKER_PREMIUM_TIER_2_UPSELL_MODAL = env2_5.STICKER_PREMIUM_TIER_2_UPSELL_MODAL;
|
|
Reflect.apply(track, value3, [OPEN_MODAL, {type: STICKER_PREMIUM_TIER_2_UPSELL_MODAL, location: a0}]);
|
|
var Promise = global.Promise;
|
|
var all = Promise.all;
|
|
binding = env2_0;
|
|
items2 = [binding(binding2[5]).fetchPremiumSubscriptionPlans()];
|
|
var value5 = binding(binding2[6]);
|
|
items2[1] = value5.fetchPaymentSources();
|
|
yield Reflect.apply(all, Promise, [items2]);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = env2_1(env2_2[7]);
|
|
value.openLazy({importer: importer_84756});
|
|
}
|
|
function importer_84756() { // fn#84756, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:481, offset: 0x01f5644a, size: 64 bytes, params: 1, frame: 13
|
|
var environment;
|
|
let value = environment.__proto__.__proto__.__proto__;
|
|
const binding = env3_0;
|
|
const binding2 = env3_2;
|
|
value = binding(binding2[9]);
|
|
value = value(binding2[8], binding2.paths);
|
|
return value.then(function({default: env0_0}) {
|
|
return _fun84758;
|
|
});
|
|
function _fun84757({default: env0_0}) { // fn#84757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:513, offset: 0x01f5648a, size: 23 bytes, params: 2, frame: 2
|
|
return _fun84758;
|
|
function _fun84758(a0) { // fn#84758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11255:528, offset: 0x01f564a1, size: 52 bytes, params: 2, frame: 14
|
|
const binding = env5_6;
|
|
const binding2 = env0_0;
|
|
const object = {};
|
|
copyDataProperties(object, a0, undefined);
|
|
object['analyticsLocation'] = env2_0;
|
|
return binding(binding2, object);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun84752, 11069, [5, 31, 661, 33, 683, 6847, 4223, 4496, 11070, 1962,
|
|
2]) /* metro module 11069, dependencies: [5, 31, 661, 33, 683, 6847, 4223, 4496, 11070, 1962, 2] */;
|