decord/source/modules/toast/native/ToastStore.tsx

67 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 15706
// Function ID: 121122
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [7, 6, 15, 17, 18, 566, 686, 2]
2026-07-27 11:26:19 +00:00
// Module 15706 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import set from "set";
import dispatcher from "dispatcher";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let set = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return set;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let c5 = null;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class ToastStore {
constructor(arg0) {
self = this;
items = [...arguments];
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, ToastStore);
2026-07-20 16:05:17 +00:00
items1 = [...items];
2026-07-23 10:11:24 +00:00
obj = outer1_3(ToastStore);
tmp2 = outer1_2;
if (outer1_6()) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp5 = outer1_3;
constructResult = Reflect.construct(obj, items1, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
constructResult = obj.apply(self, items1);
}
tmp2Result = tmp2(self, constructResult);
2026-07-23 10:11:24 +00:00
tmp2Result.getContent = () => outer2_5;
2026-07-20 16:05:17 +00:00
return tmp2Result;
}
}
2026-07-23 10:11:24 +00:00
callback(ToastStore, Store);
return ToastStore(ToastStore);
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "ToastStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
TOAST_OPEN: function handleOpen(toastProps) {
toastProps = toastProps.toastProps;
let key;
2026-07-23 10:11:24 +00:00
if (null != toastProps) {
key = toastProps.key;
2026-07-20 16:05:17 +00:00
}
if (key === toastProps.key) {
return false;
}
},
TOAST_CLOSE: function handleClose() {
2026-07-23 10:11:24 +00:00
let c5 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/toast/native/ToastStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;