Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
37 lines
1.6 KiB
TypeScript
37 lines
1.6 KiB
TypeScript
// Module ID: 16313
|
|
// Function ID: 16314
|
|
// Name: maybeShowVibegrationsFeedback
|
|
// Dependencies: [11121, 16314, 16315, 16333, 1981, 6459, 4800, 2]
|
|
// Exports: default
|
|
|
|
// Module 16313 (maybeShowVibegrationsFeedback)
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4800 */;
|
|
import Constants from "Constants" /* 11121 */;
|
|
import FeedbackManagerDefault from "FeedbackManager" /* 16315 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const FeedbackType = Constants.FeedbackType;
|
|
let result = size.fileFinishedImporting("modules/vibegrations/native/maybeShowVibegrationsFeedback.tsx");
|
|
|
|
export default function maybeShowVibegrationsFeedback(arg0) {
|
|
_require = arg0;
|
|
const countSettledTurnsResult = require("vibegrationsFeedback").countSettledTurns(arg0);
|
|
importDefault = countSettledTurnsResult;
|
|
let result = countSettledTurnsResult < require("vibegrationsFeedback").MINIMUM_SETTLED_TURNS_FOR_FEEDBACK;
|
|
if (!result) {
|
|
result = require("vibegrationsFeedback").hasShownFeedbackForProject(arg0);
|
|
const tmpResult = require("vibegrationsFeedback");
|
|
}
|
|
if (!result) {
|
|
const result1 = FeedbackManagerDefault.possiblyShowFeedbackModal(FeedbackType.VIBEGRATIONS, () => {
|
|
const result = projectId(paths[1]).markFeedbackShownForProject(projectId);
|
|
projectId = projectId(paths[4])(paths[3], paths.paths);
|
|
const obj = projectId(paths[1]);
|
|
projectId(paths[5]).runAfterInteractions(() => {
|
|
ActionSheetActionCreatorsDefault.openLazy(projectId, "VibegrationsFeedback" + projectId, { projectId, promptCount: countSettledTurnsResult });
|
|
});
|
|
});
|
|
}
|
|
};
|