Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,45 @@
/* Metro module 11491; source: modules/safety_hub/hooks/useEmitAppealIngestionEvent.tsx; dependencies: [31, 11473, 5267, 661, 566, 11479, 11481, 683, 2] */
function _fun88054(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11677:6, offset: 0x01fd2fb1, size: 191 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const safetyHubStore = importDefault(11473) /* metro dependency 11473: SafetyHubStore */;
const env0_5 = (require(5267) /* metro dependency 5267: SafetyHubConstants */).SafetyHubAnalyticsActionSource;
const constantsModule = require(661) /* metro dependency 661: Constants */;
const env0_6 = constantsModule.EMPTY_STRING_SNOWFLAKE_ID;
const env0_7 = constantsModule.AnalyticEvents;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_hub/hooks/useEmitAppealIngestionEvent.tsx');
exports.useEmitAppealIngestionEvent = useEmitAppealIngestionEvent;
}
function useEmitAppealIngestionEvent() { // fn#88055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11677:336, offset: 0x01fd3070, size: 227 bytes, params: 1, frame: 19
const appealClassificationId = (require(566) /* metro dependency 566: flux */).useStateFromStores([SafetyHubStore],
function() {
return SafetyHubStore.getAppealClassificationId();
});
const value2 = (require(11479) /* metro dependency 11479: useSafetyHubClassifications */).useSafetyHubClassification(appealClassificationId ?? EMPTY_STRING_SNOWFLAKE_ID);
const value3 = (require(11481) /* metro dependency 11481: useSafetyHubAccountStanding */).useSafetyHubAccountStanding();
const isDsaEligible = (require(566) /* metro dependency 566: flux */).useStateFromStores([SafetyHubStore],
function() {
return SafetyHubStore.getIsDsaEligible();
});
return isDsaEligible.useCallback(_fun88058, [value3.state, appealClassificationId, value2, isDsaEligible]);
}
function _fun88058(a0) { // fn#88058, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11677:588, offset: 0x01fd3166, size: 158 bytes, params: 2, frame: 19
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const SAFETY_HUB_ACTION = AnalyticEvents.SAFETY_HUB_ACTION;
const object2 = {action: a0};
object2.account_standing = env0_2.state;
const appealClassificationIdBinding = appealClassificationId;
const value3 = null;
object2.classification_ids = value3 != appealClassificationIdBinding ? [global.Number(appealClassificationId)] : value3;
const AppealIngestion = SafetyHubAnalyticsActionSource.AppealIngestion;
object2.source = AppealIngestion;
object2.is_dsa_eligible = isDsaEligible;
object2.violation_type = env0_1.violationType;
Reflect.apply(track, defaultImport, [SAFETY_HUB_ACTION, object2]);
}