Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
// Module ID: 13401
|
|
// Function ID: 13402
|
|
// Name: restartVibegrationsAppFrames
|
|
// Dependencies: [9653, 9711, 9650, 2]
|
|
// Exports: default
|
|
|
|
// Module 13401 (restartVibegrationsAppFrames)
|
|
import FramesActionCreatorsDefault from "FramesActionCreators" /* 9650 */;
|
|
import FramesNativeManagerDefault from "FramesNativeManager" /* 9711 */;
|
|
import FramesStore from "FramesStore" /* 9653 */;
|
|
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/vibegrations/native/restartVibegrationsAppFrames.tsx");
|
|
|
|
export default function restartVibegrationsAppFrames(applicationId) {
|
|
closure_0 = applicationId;
|
|
if (null != applicationId) {
|
|
const items = [];
|
|
HermesBuiltin.arraySpread(FramesStore.getAllFrames(), 0);
|
|
const found = items.filter((applicationId) => applicationId.applicationId === closure_0);
|
|
for (const item10003 of found) {
|
|
let obj = FramesNativeManagerDefault;
|
|
let leaveFrameResult = obj.leaveFrame(item10003.id);
|
|
let obj2 = FramesActionCreatorsDefault;
|
|
let obj3 = { applicationId: arg0, surface: item10003.surface };
|
|
let launchFrameResult = obj2.launchFrame(obj3);
|
|
let catchPromise = launchFrameResult.catch(() => {
|
|
|
|
});
|
|
continue;
|
|
}
|
|
}
|
|
};
|