decord/source/stores/native/MessagePreviewStore.tsx

98 lines
2.6 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 8331
// Function ID: 66036
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 4351, 22, 566, 686, 2]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 8331 (_isNativeReflectConstruct)
import apply from "apply";
import initialize from "initialize";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let c8 = null;
let c9 = null;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class MessagePreviewStore {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_3(this, MessagePreviewStore);
obj = outer1_6(MessagePreviewStore);
tmp2 = outer1_5;
if (outer1_10()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_6;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_6(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(MessagePreviewStore, Store);
let obj = {
key: "messages",
get() {
2026-07-23 10:11:24 +00:00
return outer1_8;
2026-07-20 16:05:17 +00:00
}
};
const items = [obj, , ];
obj = {
key: "jumpTargetId",
get() {
2026-07-23 10:11:24 +00:00
return outer1_9;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
obj = {
key: "getMessage",
value(arg0) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
return outer1_1(outer1_2[6]).find(outer1_8, (id) => {
let tmp2 = id.id === closure_0;
2026-07-20 16:05:17 +00:00
if (!tmp2) {
2026-07-23 10:11:24 +00:00
tmp2 = tmp === closure_0;
2026-07-20 16:05:17 +00:00
}
return tmp2;
});
}
};
items[2] = obj;
return callback(MessagePreviewStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "MessagePreviewStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
LOAD_MESSAGES_AROUND_SUCCESS: function handleLoadMessagesAroundSuccess(messages) {
messages = messages.messages;
let closure_8 = [];
const item = messages.forEach((message) => {
if (null != arr) {
2026-07-23 10:11:24 +00:00
arr = arr.unshift(outer1_0(outer1_2[5]).createMessageRecord(message));
const obj = outer1_0(outer1_2[5]);
2026-07-20 16:05:17 +00:00
}
});
const around = messages.around;
},
CLEAR_MESSAGES_AROUND_SUCCESS: function handleClearMessagesAround() {
2026-07-23 10:11:24 +00:00
let c8 = null;
let c9 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/native/MessagePreviewStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;