decord/source/modules/frames/utils/canLaunchFrame.tsx
2026-08-07 06:50:47 +00:00

26 lines
919 B
TypeScript

// Module ID: 10528
// Function ID: 10529
// Name: canLaunchFrame
// Dependencies: [676, 8278, 7529, 2]
// Exports: canLaunchFrame
// Module 10528 (canLaunchFrame)
import { ApplicationFlags } from "ME";
const result = require("getApplicationFlags").fileFinishedImporting("modules/frames/utils/canLaunchFrame.tsx");
export const canLaunchFrame = function canLaunchFrame(application) {
if (null != application) {
if (obj.isRealApplication(application)) {
let tmpResult = tmp(7529);
let hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.EMBEDDED);
tmpResult = tmp(7529);
if (hasApplicationFlagResult) {
hasApplicationFlagResult = tmpResult.hasApplicationFlag(application, ApplicationFlags.CONTEXTLESS_ACTIVITY);
}
return hasApplicationFlagResult;
}
obj = require(8278) /* getShelfBadgeTypeIfActive */;
}
return false;
};