29 lines
1.5 KiB
TypeScript
29 lines
1.5 KiB
TypeScript
/* Metro module 7077; source: modules/suppress_notifications/parseContentForSuppressNotifications.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun56477(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#56477, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7255:6, offset: 0x013c90e5, size: 154 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const RegExp = global.RegExp;
|
|
const regExp = new RegExp('^' + '@silent' + '(\\s|$)');
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/suppress_notifications/parseContentForSuppressNotifications.tsx');
|
|
exports.default = parseContentForSuppressNotifications;
|
|
exports.SILENT_RE = regExp;
|
|
function parseContentForSuppressNotifications(a0) { // fn#56478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7255:252, offset: 0x013c917f, size: 113 bytes, params: 2, frame: 12
|
|
var items2;
|
|
var value;
|
|
if (a0 == null) {
|
|
items2 = [false, ''];
|
|
} else if (a0.match(env0_0) == null) {
|
|
items2 = [false, a0];
|
|
} else {
|
|
value = a0.substring(7);
|
|
items2 = [true, value.trim()];
|
|
}
|
|
return items2;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun56477, 7077, [2]) /* metro module 7077, dependencies: [2] */;
|