34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
// Module ID: 13536
|
|
// Function ID: 13537
|
|
// Name: WideBannerDismissibleContentVersion
|
|
// Dependencies: [7009, 1088, 6996, 2]
|
|
// Exports: getWideBannerDismissibleContentVersion
|
|
|
|
// Module 13536 (WideBannerDismissibleContentVersion)
|
|
import CollectiblesShopConstants from "CollectiblesShopConstants" /* 1088 */;
|
|
import ShopBlockType from "ShopBlockType" /* 6996 */;
|
|
import CollectiblesShopHomeStore from "CollectiblesShopHomeStore" /* 7009 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const CollectibleShopTab = CollectiblesShopConstants.CollectibleShopTab;
|
|
const result = size.fileFinishedImporting("modules/collectibles/utils/WideBannerDismissibleContentVersion.tsx");
|
|
|
|
export const getWideBannerDismissibleContentVersion = function getWideBannerDismissibleContentVersion() {
|
|
const items = [, , ];
|
|
({ HOME: arr[0], ORBS: arr[1], CATALOG: arr[2] } = CollectibleShopTab);
|
|
const obj = items[Symbol.iterator]();
|
|
while (obj !== undefined) {
|
|
let shopBlocks = CollectiblesShopHomeStore.getShopBlocks(tmp);
|
|
let found = shopBlocks.find((type) => type.type === ShopBlockType.ShopBlockType.WIDE_BANNER);
|
|
let prop;
|
|
if (found != null) {
|
|
prop = found.dismissibleContentVersion;
|
|
}
|
|
if (null != prop) {
|
|
let dismissibleContentVersion = found.dismissibleContentVersion;
|
|
obj.return();
|
|
return dismissibleContentVersion;
|
|
}
|
|
}
|
|
return 0;
|
|
};
|