decord/source/modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

27 lines
972 B
TypeScript

// Module ID: 15408
// Function ID: 15409
// Name: prefetchFamilyCenterAgeGroupWhen
// Dependencies: [7470, 7472, 2]
// Exports: prefetchFamilyCenterAgeGroupWhen
// Module 15408 (prefetchFamilyCenterAgeGroupWhen)
import maybeFetchCollectiblesForInvoicesDefault from "maybeFetchCollectiblesForInvoices" /* 7472 */;
import closure_2 from "freshTeenActivityWithMap" /* 7470 */;
const result = require("set").fileFinishedImporting("modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx");
export const prefetchFamilyCenterAgeGroupWhen = function prefetchFamilyCenterAgeGroupWhen(isFamilyCenterV3Enabled) {
let tmp = isFamilyCenterV3Enabled;
if (isFamilyCenterV3Enabled) {
tmp = null == closure_2.getAgeGroup();
}
if (tmp) {
if (!closure_2.isLoading()) {
if (obj.canRefetch()) {
maybeFetchCollectiblesForInvoicesDefault.initialPageLoad();
const obj2 = maybeFetchCollectiblesForInvoicesDefault;
}
}
obj = closure_2;
}
};