Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
102 lines
4 KiB
TypeScript
102 lines
4 KiB
TypeScript
// Module ID: 17022
|
|
// Function ID: 17023
|
|
// Name: VibegrationsFeedbackSheet
|
|
// Dependencies: [19, 21, 558, 568, 17003, 4457, 1119, 3682, 17009, 2]
|
|
|
|
// Module 17022 (VibegrationsFeedbackSheet)
|
|
import ToastUtils from "ToastUtils" /* 4457 */;
|
|
import vibegrationsFeedback from "vibegrationsFeedback" /* 17003 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const ReactCompilerGating = fn(558);
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsFeedbackSheet.tsx");
|
|
|
|
export default ReactCompilerGating.isReactCompilerEnabled() ? ((projectId) => {
|
|
const cResult = projectId(568).c(9);
|
|
projectId = projectId.projectId;
|
|
const promptCount = projectId.promptCount;
|
|
if (cResult[0] === projectId) {
|
|
if (cResult[1] === promptCount) {
|
|
let tmp4 = cResult[2];
|
|
}
|
|
const _Symbol = Symbol;
|
|
if (cResult[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const items = [tmp(17003).vibegrationsFeedbackSection()];
|
|
cResult[3] = items;
|
|
let tmp6 = items;
|
|
let tmpResult = tmp(17003);
|
|
} else {
|
|
tmp6 = cResult[3];
|
|
}
|
|
const _Symbol2 = Symbol;
|
|
if (cResult[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const intl = tmp(1119).intl;
|
|
const stringResult = intl.string(promptCount(3682).W7Sdp4);
|
|
const intl2 = tmp(1119).intl;
|
|
const stringResult1 = intl2.string(promptCount(3682).dXJed8);
|
|
const intl3 = tmp(1119).intl;
|
|
const stringResult2 = intl3.string(promptCount(3682).kLHFxL);
|
|
cResult[4] = stringResult;
|
|
cResult[5] = stringResult1;
|
|
cResult[6] = stringResult2;
|
|
let tmp9 = stringResult2;
|
|
let tmp8 = stringResult1;
|
|
let tmp7 = stringResult;
|
|
} else {
|
|
tmp7 = cResult[4];
|
|
tmp8 = cResult[5];
|
|
tmp9 = cResult[6];
|
|
}
|
|
if (cResult[7] !== tmp4) {
|
|
const obj2 = { headerLabel: tmp7, ratingBody: tmp8, categoriesHeader: tmp9, optionsTree: tmp6, trackOpen: tmp(17003).trackVibegrationsFeedbackOpened, trackReport: tmp4 };
|
|
const tmp18 = jsx(promptCount(17009), { headerLabel: tmp7, ratingBody: tmp8, categoriesHeader: tmp9, optionsTree: tmp6, trackOpen: tmp(17003).trackVibegrationsFeedbackOpened, trackReport: tmp4 });
|
|
cResult[7] = tmp4;
|
|
cResult[8] = tmp18;
|
|
let tmp14 = tmp18;
|
|
const tmp17 = promptCount(17009);
|
|
} else {
|
|
tmp14 = cResult[8];
|
|
}
|
|
return tmp14;
|
|
}
|
|
const fn = function o(rating) {
|
|
const result = vibegrationsFeedback.submitVibegrationsFeedback(projectId, promptCount, rating, "VibegrationsFeedbackSheet");
|
|
if (null != rating.rating) {
|
|
ToastUtils.presentFeedbackSent();
|
|
const tmpResult = ToastUtils;
|
|
}
|
|
};
|
|
cResult[0] = projectId;
|
|
cResult[1] = promptCount;
|
|
cResult[2] = fn;
|
|
tmp4 = fn;
|
|
}) : ((projectId) => {
|
|
projectId = projectId.projectId;
|
|
const promptCount = projectId.promptCount;
|
|
let items = [projectId, promptCount];
|
|
const callback = noop.useCallback((rating) => {
|
|
const result = vibegrationsFeedback.submitVibegrationsFeedback(projectId, promptCount, rating, "VibegrationsFeedbackSheet");
|
|
if (null != rating.rating) {
|
|
ToastUtils.presentFeedbackSent();
|
|
const tmpResult = ToastUtils;
|
|
}
|
|
}, items);
|
|
const memo = noop.useMemo(() => {
|
|
const items = [projectId(dependencyMap[4]).vibegrationsFeedbackSection()];
|
|
return items;
|
|
}, []);
|
|
const obj = { headerLabel: null, ratingBody: null, categoriesHeader: null, optionsTree: null, trackOpen: null, trackReport: null };
|
|
const intl = projectId(1119).intl;
|
|
obj.headerLabel = intl.string(promptCount(3682).W7Sdp4);
|
|
const intl2 = projectId(1119).intl;
|
|
obj.ratingBody = intl2.string(promptCount(3682).dXJed8);
|
|
const intl3 = projectId(1119).intl;
|
|
obj.categoriesHeader = intl3.string(promptCount(3682).kLHFxL);
|
|
obj.optionsTree = memo;
|
|
obj.trackOpen = projectId(17003).trackVibegrationsFeedbackOpened;
|
|
obj.trackReport = callback;
|
|
return jsx(promptCount(17009), { headerLabel: null, ratingBody: null, categoriesHeader: null, optionsTree: null, trackOpen: null, trackReport: null });
|
|
});
|