2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 17687
|
|
|
|
|
// Function ID: 17688
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: SavedMessagesManager
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [5, 7969, 11847, 17688, 7228, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 17687 (SavedMessagesManager)
|
|
|
|
|
import ForLaterExperiment from "ForLaterExperiment" /* 7969 */;
|
|
|
|
|
import SavedMessagesActions from "SavedMessagesActions" /* 11847 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
2026-09-16 07:03:15 +00:00
|
|
|
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7228 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
let closure_3 = async function _refreshSavedMessages(arg0, value) {
|
|
|
|
|
if (c2 === 2) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
throw new TypeError("Generator functions may not be called on executing generators");
|
|
|
|
|
} else if (tmp3 === 3) {
|
|
|
|
|
if (arg0 === 1) {
|
|
|
|
|
throw value;
|
|
|
|
|
} else if (arg0 === 2) {
|
|
|
|
|
const obj2 = { value, done: true };
|
|
|
|
|
return obj2;
|
2026-08-11 06:20:06 +00:00
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
return { value: "HermesInternal", done: null };
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
try {
|
|
|
|
|
c2 = 2;
|
|
|
|
|
if (0 === c1) {
|
|
|
|
|
if (arg0 === 1) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
throw value;
|
|
|
|
|
} else if (arg0 === 2) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
const obj5 = { value, done: true };
|
|
|
|
|
return obj5;
|
|
|
|
|
} else {
|
|
|
|
|
closure_0 = tmp4;
|
|
|
|
|
if (obj3.isForLaterExperimentOn("saved_messages_manager")) {
|
|
|
|
|
c1 = 1;
|
|
|
|
|
c2 = 1;
|
|
|
|
|
const obj6 = { value: SavedMessagesActions.fetchAndUpdateSavedMessages(), done: false };
|
|
|
|
|
return obj6;
|
2026-08-11 06:20:06 +00:00
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
c2 = 3;
|
2026-08-11 06:20:06 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
obj3 = ForLaterExperiment;
|
2026-08-11 06:20:06 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
} else if (arg0 === 1) {
|
2026-08-11 06:20:06 +00:00
|
|
|
c2 = 3;
|
2026-09-10 05:38:07 +00:00
|
|
|
throw value;
|
|
|
|
|
} else if (arg0 !== 2) {
|
|
|
|
|
const result = closure_128_0(closure_128_1[3]).showOverdueRemindersToast();
|
|
|
|
|
const obj = closure_128_0(closure_128_1[3]);
|
2026-08-11 06:20:06 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
c2 = 3;
|
|
|
|
|
const obj7 = { value, done: true };
|
|
|
|
|
return obj7;
|
|
|
|
|
} catch (tmp13) {
|
|
|
|
|
c2 = tmp;
|
|
|
|
|
throw tmp13;
|
2026-08-11 06:20:06 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
};
|
|
|
|
|
const prototype = function SavedMessagesManager() {
|
2026-08-11 06:20:06 +00:00
|
|
|
let applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
2026-08-24 06:08:38 +00:00
|
|
|
require = applyArgumentsResult;
|
2026-07-29 08:29:29 +00:00
|
|
|
applyArgumentsResult.actions = {
|
|
|
|
|
POST_CONNECTION_OPEN() {
|
|
|
|
|
return applyArgumentsResult.handlePostConnectionOpen();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
applyArgumentsResult.handlePostConnectionOpen = function handlePostConnectionOpen() {
|
2026-08-11 06:20:06 +00:00
|
|
|
!(function refreshSavedMessages() {
|
|
|
|
|
const self = this;
|
2026-09-10 05:38:07 +00:00
|
|
|
const apply = closure_1_3.apply;
|
2026-08-11 06:20:06 +00:00
|
|
|
if (typeof apply === "unknown") {
|
2026-08-24 06:08:38 +00:00
|
|
|
applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
2026-08-11 06:20:06 +00:00
|
|
|
} else {
|
|
|
|
|
applyArgumentsResult = apply(self, arguments);
|
|
|
|
|
}
|
|
|
|
|
return applyArgumentsResult;
|
|
|
|
|
})();
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
return applyArgumentsResult;
|
|
|
|
|
}.prototype;
|
|
|
|
|
class prototype extends tmp2 {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const prototype1 = new prototype();
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
let result = size.fileFinishedImporting("modules/saved_messages/SavedMessagesManager.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export default prototype1;
|