58 lines
2.6 KiB
TypeScript
58 lines
2.6 KiB
TypeScript
// Module ID: 15582
|
|
// Function ID: 15583
|
|
// Name: ICYMIFeedbackSheet
|
|
// Dependencies: [19, 21, 11107, 1236, 8921, 8913, 2]
|
|
// Exports: default
|
|
|
|
// Module 15582 (ICYMIFeedbackSheet)
|
|
import "noop";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const require = arg1;
|
|
let result = require("closeActionSheet").fileFinishedImporting("modules/icymi/native/ICYMIFeedbackSheet.tsx");
|
|
|
|
export default function ICYMIFeedbackSheet() {
|
|
let obj = { headerLabel: null, showHeaderCloseButton: true, hideDontShowAgainCheckbox: true, ratingsBodyLabel: null, reasonsHeaderLabel: null, reasons: null, otherKey: "other", trackOpen: null, feedbackReasons: null, trackReport: null };
|
|
const intl = require(1236) /* getSystemLocale */.intl;
|
|
obj[0] = intl.string(require(1236) /* getSystemLocale */.t["ppfH9+"]);
|
|
const intl2 = require(1236) /* getSystemLocale */.intl;
|
|
obj[3] = intl2.string(require(1236) /* getSystemLocale */.t["ePk/Cf"]);
|
|
const intl3 = require(1236) /* getSystemLocale */.intl;
|
|
obj[4] = intl3.string(require(1236) /* getSystemLocale */.t.sBOuOf);
|
|
obj = { label: null, value: "irrelevant_content" };
|
|
const intl4 = require(1236) /* getSystemLocale */.intl;
|
|
obj[0] = intl4.string(require(1236) /* getSystemLocale */.t.F6TmZA);
|
|
let items = [obj, , , , ];
|
|
obj = { label: null, value: "not_enough_content" };
|
|
const intl5 = require(1236) /* getSystemLocale */.intl;
|
|
obj[0] = intl5.string(require(1236) /* getSystemLocale */.t.voWAzi);
|
|
items[1] = obj;
|
|
const obj1 = { label: null, value: "too_much_content" };
|
|
const intl6 = require(1236) /* getSystemLocale */.intl;
|
|
obj1[0] = intl6.string(require(1236) /* getSystemLocale */.t.Ay8iwx);
|
|
items[2] = obj1;
|
|
const obj2 = { label: null, value: "laggy" };
|
|
const intl7 = require(1236) /* getSystemLocale */.intl;
|
|
obj2[0] = intl7.string(require(1236) /* getSystemLocale */.t["Yu+52W"]);
|
|
items[3] = obj2;
|
|
items[4] = { label: "Other", value: "other" };
|
|
obj[5] = items;
|
|
obj[7] = require(8921) /* DEFAULT_UX_VARIATION */.ICYMIAnalytics.trackFeedFeedbackPromptViewed;
|
|
obj[8] = ["other"];
|
|
obj[9] = function trackReport(reason) {
|
|
let obj = callback2(8913);
|
|
obj.giveFeedback();
|
|
const ICYMIAnalytics = callback(8921).ICYMIAnalytics;
|
|
let tmp2;
|
|
if (null != reason.reason) {
|
|
const items = [reason.reason.value];
|
|
tmp2 = items;
|
|
}
|
|
obj = { reason_descriptions: tmp2, rating: null, user_feedback: null };
|
|
const rating = reason.rating;
|
|
obj[1] = rating;
|
|
obj[2] = reason.feedback;
|
|
const result = ICYMIAnalytics.trackFeedFeedbackSubmitted(obj);
|
|
};
|
|
return jsx(importDefault(11107), { label: null, value: "not_enough_content" });
|
|
};
|