Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/* Metro module 8481; source: modules/collectibles/profile_effects/useProfileEffect.tsx; dependencies: [31, 5121, 5145, 5127, 566, 5120, 2] */
|
||||
function _fun67320(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67320, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8666:6, offset: 0x01c1de77, size: 171 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importAll(31) /* metro dependency 31 */;
|
||||
const collectiblesCategoryStore = importDefault(5121) /* metro dependency 5121: CollectiblesCategoryStore */;
|
||||
const collectiblesPurchaseStore = importDefault(5145) /* metro dependency 5145: CollectiblesPurchaseStore */;
|
||||
const env0_5 = (require(5127) /* metro dependency 5127: ProfileEffectRecord */).isProfileEffectRecord;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/collectibles/profile_effects/useProfileEffect.tsx');
|
||||
exports.default = useProfileEffect;
|
||||
}
|
||||
|
||||
function useProfileEffect(a0) { // fn#67321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8666:259, offset: 0x01c1df22, size: 125 bytes, params: 2, frame: 16
|
||||
const env0_0 = a0;
|
||||
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([CollectiblesCategoryStore,
|
||||
CollectiblesPurchaseStore], _fun67322);
|
||||
env0_2.useEffect(_fun67323, [a0 != null && value2 == null, a0]);
|
||||
return value2;
|
||||
}
|
||||
|
||||
function _fun67322() { // fn#67322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8666:328, offset: 0x01c1df9f, size: 156 bytes, params: 1, frame: 17
|
||||
var value2;
|
||||
var product;
|
||||
var isProfileEffectRecordBinding;
|
||||
var value4;
|
||||
var purchase;
|
||||
if (env0_0 != null) {
|
||||
value2 = environment.__proto__;
|
||||
product = CollectiblesCategoryStore.getProduct(env0_0);
|
||||
isProfileEffectRecordBinding = isProfileEffectRecord;
|
||||
value4 = undefined;
|
||||
if (isProfileEffectRecordBinding(product == null ? value4 : product.items[0])) {
|
||||
return product.items[0];
|
||||
}
|
||||
purchase = CollectiblesPurchaseStore.getPurchase(env0_0);
|
||||
return isProfileEffectRecord(purchase == null ? value4 : purchase.items[0]) ? purchase.items[0] : value4;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun67323() { // fn#67323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8666:537, offset: 0x01c1e03b, size: 54 bytes, params: 1, frame: 12
|
||||
var value2;
|
||||
if (env0_1) {
|
||||
value2 = environment.__proto__;
|
||||
(require(5120) /* metro dependency 5120: CollectiblesActionCreators */).maybeFetchCollectiblesProduct(env0_0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user