decord/source/modules/icymi/native/ICYMIFeedbackSheet.tsx

61 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 15800
// Function ID: 15801
2026-07-20 16:05:17 +00:00
// Name: ICYMIFeedbackSheet
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 21, 10871, 1236, 9102, 9094, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 15800 (ICYMIFeedbackSheet)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import DEFAULT_UX_VARIATION from "DEFAULT_UX_VARIATION" /* 9102 */;
import closeActionSheetDefault from "closeActionSheet" /* 10871 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
let result = require("set").fileFinishedImporting("modules/icymi/native/ICYMIFeedbackSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function ICYMIFeedbackSheet() {
2026-07-29 08:29:29 +00:00
let obj = { headerLabel: null, showHeaderCloseButton: true, hideDontShowAgainCheckbox: true, ratingsBodyLabel: null, reasonsHeaderLabel: null, reasons: null, otherKey: "other", trackOpen: null, feedbackReasons: null, trackReport: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t["ppfH9+"]);
const intl2 = getSystemLocale.intl;
obj[3] = intl2.string(getSystemLocale.t["ePk/Cf"]);
const intl3 = getSystemLocale.intl;
obj[4] = intl3.string(getSystemLocale.t.sBOuOf);
2026-07-29 08:29:29 +00:00
obj = { label: null, value: "irrelevant_content" };
2026-08-24 06:08:38 +00:00
const intl4 = getSystemLocale.intl;
obj[0] = intl4.string(getSystemLocale.t.F6TmZA);
2026-07-23 10:11:24 +00:00
let items = [obj, , , , ];
2026-07-29 08:29:29 +00:00
obj = { label: null, value: "not_enough_content" };
2026-08-24 06:08:38 +00:00
const intl5 = getSystemLocale.intl;
obj[0] = intl5.string(getSystemLocale.t.voWAzi);
2026-07-20 16:05:17 +00:00
items[1] = obj;
2026-08-24 06:08:38 +00:00
obj1 = { label: null, value: "too_much_content" };
const intl6 = getSystemLocale.intl;
obj1[0] = intl6.string(getSystemLocale.t.Ay8iwx);
2026-07-20 16:05:17 +00:00
items[2] = obj1;
2026-07-29 08:29:29 +00:00
const obj2 = { label: null, value: "laggy" };
2026-08-24 06:08:38 +00:00
const intl7 = getSystemLocale.intl;
obj2[0] = intl7.string(getSystemLocale.t["Yu+52W"]);
2026-07-20 16:05:17 +00:00
items[3] = obj2;
2026-07-23 10:11:24 +00:00
items[4] = { label: "Other", value: "other" };
2026-07-29 08:29:29 +00:00
obj[5] = items;
2026-08-24 06:08:38 +00:00
obj[7] = DEFAULT_UX_VARIATION.ICYMIAnalytics.trackFeedFeedbackPromptViewed;
2026-07-29 08:29:29 +00:00
obj[8] = ["other"];
obj[9] = function trackReport(reason) {
2026-08-24 06:08:38 +00:00
let obj = callback2(9094);
2026-07-20 16:05:17 +00:00
obj.giveFeedback();
2026-08-24 06:08:38 +00:00
const ICYMIAnalytics = callback(9102).ICYMIAnalytics;
2026-07-20 16:05:17 +00:00
let tmp2;
if (null != reason.reason) {
const items = [reason.reason.value];
tmp2 = items;
}
2026-08-24 06:08:38 +00:00
obj = { reason_descriptions: tmp2, rating, user_feedback: reason.feedback };
rating = reason.rating;
2026-07-20 16:05:17 +00:00
const result = ICYMIAnalytics.trackFeedFeedbackSubmitted(obj);
};
2026-08-24 06:08:38 +00:00
return jsx(closeActionSheetDefault, { label: null, value: "not_enough_content" });
2026-07-20 16:05:17 +00:00
};