decord/source/modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx

28 lines
972 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 14886
// Function ID: 14887
2026-07-20 16:05:17 +00:00
// Name: prefetchFamilyCenterAgeGroupWhen
2026-08-25 06:04:03 +00:00
// Dependencies: [7143, 7145, 2]
2026-07-20 16:05:17 +00:00
// Exports: prefetchFamilyCenterAgeGroupWhen
2026-08-25 06:04:03 +00:00
// Module 14886 (prefetchFamilyCenterAgeGroupWhen)
import maybeFetchCollectiblesForInvoicesDefault from "maybeFetchCollectiblesForInvoices" /* 7145 */;
import closure_2 from "freshTeenActivityWithMap" /* 7143 */;
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx");
2026-07-20 16:05:17 +00:00
export const prefetchFamilyCenterAgeGroupWhen = function prefetchFamilyCenterAgeGroupWhen(isFamilyCenterV3Enabled) {
let tmp = isFamilyCenterV3Enabled;
if (isFamilyCenterV3Enabled) {
2026-08-24 06:08:38 +00:00
tmp = null == closure_2.getAgeGroup();
2026-07-20 16:05:17 +00:00
}
if (tmp) {
2026-08-24 06:08:38 +00:00
if (!closure_2.isLoading()) {
2026-07-29 08:29:29 +00:00
if (obj.canRefetch()) {
2026-08-24 06:08:38 +00:00
maybeFetchCollectiblesForInvoicesDefault.initialPageLoad();
const obj2 = maybeFetchCollectiblesForInvoicesDefault;
2026-07-20 16:05:17 +00:00
}
}
2026-08-24 06:08:38 +00:00
obj = closure_2;
2026-07-20 16:05:17 +00:00
}
};