"use strict";
/**
 * 🩵 FAF Feedback Messages - Humble & Grateful
 * We only collect stars we deserve
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.FOOTER_SIGNATURE = void 0;
exports.getThankYouMessage = getThankYouMessage;
exports.getFeedbackPrompt = getFeedbackPrompt;
exports.getSuccessMessage = getSuccessMessage;
exports.getHighScoreMessage = getHighScoreMessage;
exports.getWelcomeMessage = getWelcomeMessage;
exports.getErrorHelpMessage = getErrorHelpMessage;
exports.getMilestoneMessage = getMilestoneMessage;
const colors_1 = require("../fix-once/colors");
// FAF Cyan color
const fafCyan = colors_1.chalk.hex('#0CC0DF');
function getThankYouMessage(score) {
    if (score && score >= 85) {
        return `
${fafCyan('─'.repeat(60))}
Thanks for using FAF! 🩵⚡

${colors_1.chalk.dim('🩵 If you feel FAF deserves a star, it really helps:')}
${colors_1.chalk.dim('   https://github.com/Wolfe-Jam/faf ⭐')}

${colors_1.chalk.dim('We only collect stars we deserve.')}
${fafCyan('─'.repeat(60))}`;
    }
    return `
${colors_1.chalk.dim('─'.repeat(40))}
${colors_1.chalk.dim('Thanks for using FAF 🩵')}
${colors_1.chalk.dim('─'.repeat(40))}`;
}
function getFeedbackPrompt() {
    return `
🩵 Tell us how to improve FAF:
${fafCyan('https://github.com/Wolfe-Jam/faf/discussions')}
${colors_1.chalk.dim('All feedback is read, considered & replied to.')}
`;
}
function getSuccessMessage(command) {
    return `
✅ ${command} successful!

${colors_1.chalk.dim('─'.repeat(50))}
${colors_1.chalk.dim('Thank you for using FAF! 🩵📺')}

${colors_1.chalk.dim('💬 Tell us how to improve:')}
${colors_1.chalk.dim('   https://github.com/Wolfe-Jam/faf/discussions')}
${colors_1.chalk.dim('   All feedback is read, considered & replied to.')}

${colors_1.chalk.dim('⭐ If you feel we deserve it:')}
${colors_1.chalk.dim('   https://github.com/Wolfe-Jam/faf')}
${colors_1.chalk.dim('   Stars really help us continue. 🩵')}
${colors_1.chalk.dim('─'.repeat(50))}
`;
}
function getHighScoreMessage(score) {
    const emojis = score >= 99 ? '🏁⚡' : score >= 90 ? '🏎️⚡' : '✨⚡';
    return `
${fafCyan('═'.repeat(60))}
${fafCyan(`Amazing! You reached ${score}% ${emojis}`)}

🩵 Your success makes FAF better for everyone!

${colors_1.chalk.dim('If you feel we\'ve earned it: https://github.com/Wolfe-Jam/faf ⭐')}
${colors_1.chalk.dim('We only collect stars we deserve.')}
${fafCyan('═'.repeat(60))}
`;
}
function getWelcomeMessage() {
    return `
${fafCyan('Welcome to FAF! 🩵⚡📺')}

${colors_1.chalk.dim('FAF = Fast AI Format')}
${colors_1.chalk.dim('Making AI context simple, fast & trustworthy')}

${colors_1.chalk.dim('All feedback welcome: https://github.com/Wolfe-Jam/faf/discussions')}
${colors_1.chalk.dim('Thank you for trying FAF!')}
`;
}
function getErrorHelpMessage() {
    return `
${colors_1.chalk.dim('─'.repeat(50))}
${colors_1.chalk.yellow('Need help with this error?')}

🩵 We respond to all discussions within 24 hours:
   ${fafCyan('https://github.com/Wolfe-Jam/faf/discussions')}

${colors_1.chalk.dim('Your feedback helps us improve FAF for everyone.')}
${colors_1.chalk.dim('Thank you for your patience! 📺')}
${colors_1.chalk.dim('─'.repeat(50))}
`;
}
// Show gratitude after N successful commands
function getMilestoneMessage(commandCount) {
    if (commandCount === 10) {
        return `
${fafCyan('─'.repeat(60))}
🩵 You've run FAF ${commandCount} times! Thank you for being a regular user!

Your experience matters to us.
How can we make FAF better for you?
${fafCyan('https://github.com/Wolfe-Jam/faf/discussions')}

${colors_1.chalk.dim('We only collect stars we deserve.')}
${colors_1.chalk.dim('If you feel we\'ve earned one: https://github.com/Wolfe-Jam/faf ⭐')}
${fafCyan('─'.repeat(60))}
`;
    }
    return '';
}
exports.FOOTER_SIGNATURE = colors_1.chalk.dim(`
Thanks for using FAF 🩵⚡
Feedback always welcome 📺
`);
//# sourceMappingURL=feedback-messages.js.map