/* Metro module 14838; source: modules/icymi/native/ICYMIFeedbackSheet.tsx; dependencies: [31, 33, 9927, 1244, 9589, 9580, 2] */ import ICYMIActionCreators from '../ICYMIActionCreators.tsx'; /* Metro dependency 9580 */ import FeedbackActionSheet from '../../feedback/native/FeedbackActionSheet.tsx'; /* Metro dependency 9927 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as ICYMIAnalyticsModule from '../ICYMIAnalytics.tsx'; /* Metro dependency 9589 */ function _fun111980(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15035:6, offset: 0x023b998d, size: 138 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); ReactModule; (FileImportTrackerModule).fileFinishedImporting('modules/icymi/native/ICYMIFeedbackSheet.tsx'); exports.default = ICYMIFeedbackSheet; function ICYMIFeedbackSheet() { // fn#111981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15035:205, offset: 0x023b9a17, size: 570 bytes, params: 1, frame: 21 const object = {'headerLabel': null, 'showHeaderCloseButton': true, 'hideDontShowAgainCheckbox': true}; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; object.headerLabel = Reflect.apply(string, intl, [(require(1244) /* metro dependency 1244: indexNative */).t['ppfH9+']]); object.ratingsBodyLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ePk/Cf']); object.reasonsHeaderLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.sBOuOf); string = intl.string; const F6TmZA = (require(1244) /* metro dependency 1244: indexNative */).t.F6TmZA; const items2 = [{label: Reflect.apply(string, intl, [F6TmZA]), value: 'irrelevant_content'}]; const object3 = {}; object3.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.voWAzi); object3.value = 'not_enough_content'; items2[1] = object3; string = intl.string; const Ay8iwx = (require(1244) /* metro dependency 1244: indexNative */).t.Ay8iwx; items2[2] = {label: Reflect.apply(string, intl, [Ay8iwx]), value: 'too_much_content'}; const object5 = {}; object5.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['Yu+52W']); object5.value = 'laggy'; items2[3] = object5; items2[4] = {'label': 'Other', 'value': 'other'}; object.reasons = items2; object.otherKey = 'other'; const ICYMIAnalytics = (ICYMIAnalyticsModule).ICYMIAnalytics; object.trackOpen = ICYMIAnalytics.trackFeedFeedbackPromptViewed; object.feedbackReasons = ['other']; object.trackReport = trackReport_111982; return ; function ICYMIFeedbackSheetTrackReport(a0) { // fn#111982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15035:913, owner: ICYMIFeedbackSheet.trackReport, offset: 0x023b9c51, size: 157 bytes, params: 2, frame: 17 const value = environment.__proto__; const value2 = undefined; (ICYMIActionCreators).giveFeedback(); const ICYMIAnalytics = (ICYMIAnalyticsModule).ICYMIAnalytics; ICYMIAnalytics.trackFeedFeedbackSubmitted({reason_descriptions: a0.reason != null ? [a0.reason.value] : value2, rating: a0.rating ?? value2, user_feedback: a0.feedback}); return value2; } } } global.__d(_fun111980, 14838, [31, 33, 9927, 1244, 9589, 9580, 2]) /* metro module 14838, dependencies: [31, 33, 9927, 1244, 9589, 9580, 2] */;