decord/source/modules/notifications/native/NativeNotificationsManager.tsx
2026-07-25 08:10:48 +00:00

130 lines
4 KiB
TypeScript

// Module ID: 16558
// Function ID: 129133
// Name: _createForOfIteratorHelperLoose
// Dependencies: [7, 6, 15, 17, 18, 5, 27, 5868, 4143, 653, 3, 16559, 10631, 21, 477, 8024, 675, 5078, 2]
// Module 16558 (_createForOfIteratorHelperLoose)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import getActivityIndicator from "get ActivityIndicator";
import _readFile from "_readFile";
import AutomaticLifecycleManager from "AutomaticLifecycleManager";
import set from "set";
import asyncGeneratorStep from "asyncGeneratorStep";
import { NativeModules } from "get ActivityIndicator";
import closure_10 from "_isNativeReflectConstruct";
import closure_11 from "_isNativeReflectConstruct";
import { AnalyticEvents } from "ME";
import importDefaultResult from "_getPrototypeOf";
import tmp4 from "AutomaticLifecycleManager";
const require = arg1;
function _createForOfIteratorHelperLoose(iterable) {
let closure_0 = iterable;
iterable = "undefined" !== typeof Symbol;
if (iterable) {
const _Symbol = Symbol;
iterable = iterable[Symbol.iterator];
}
if (!iterable) {
iterable = iterable[Symbol.iterator];
}
if (iterable) {
const iter = iterable.call(iterable);
const next = iter.next;
return next.bind(iter);
} else {
const _Array = Array;
let tmp = iterable;
if (!Array.isArray(iterable)) {
let tmp2;
if (iterable) {
if ("string" === typeof iterable) {
tmp2 = _arrayLikeToArray(iterable, undefined);
} else {
const toString = {}.toString;
const substr = toString.call(iterable).slice(8, -1);
let name = substr;
if (tmp3) {
name = iterable.constructor.name;
}
if ("Map" !== name) {
if ("Set" !== name) {
if ("Arguments" === name) {
let arr = _arrayLikeToArray(iterable, undefined);
} else {
let obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/;
}
}
tmp2 = arr;
}
const _Array2 = Array;
arr = Array.from(iterable);
const callResult = toString.call(iterable);
tmp3 = "Object" === substr && iterable.constructor;
}
}
tmp = tmp2;
if (!tmp2) {
const _TypeError = TypeError;
const typeError = new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
throw typeError;
}
}
if (tmp) {
closure_0 = tmp;
}
let c1 = 0;
return () => {
if (closure_1 >= length.length) {
let obj = { done: true };
} else {
obj = { done: false };
closure_1 = tmp3 + 1;
obj.value = length[+closure_1];
}
return obj;
};
}
}
function _arrayLikeToArray(arg0, arg1) {
let length;
if (tmp) {
length = arg0.length;
}
const ArrayResult = Array(length);
for (let num = 0; num < length; num = num + 1) {
ArrayResult[num] = arg0[num];
}
return ArrayResult;
}
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
function getDeliveredNotifications() {
return _getDeliveredNotifications(...arguments);
}
function _getDeliveredNotifications() {
// CreateGeneratorClosureLongIndex (0x67)
const obj = callback3(tmp);
return obj(...arguments);
}
function updateAndClearStaleNotifications() {
return _updateAndClearStaleNotifications(...arguments);
}
function _updateAndClearStaleNotifications() {
// CreateGeneratorClosureLongIndex (0x67)
const obj = callback3(tmp);
return obj(...arguments);
}
importDefaultResult = new importDefaultResult("NativeNotificationsManager");
let closure_14 = [];
tmp4 = new tmp4();
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/notifications/native/NativeNotificationsManager.tsx");
export default tmp4;