"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var utils_1 = require("@joincivil/utils");
var textComponents_1 = require("../ListingDetailPhaseCard/textComponents");
// Review Vote modal
exports.ReviewVoteHeaderTitleText = function (props) {
    return React.createElement(React.Fragment, null, "Review and Save Your Voting Information");
};
exports.ReviewVoteCopyText = function (props) {
    return (React.createElement(React.Fragment, null,
        React.createElement("p", null,
            "Civil does not store your voting information; it is stored in a",
            " ",
            React.createElement("a", { href: utils_1.urlConstants.FAQ_WHAT_IS_PLCR_CONTRACT, target: "_blank" }, "voting smart contract"),
            "."),
        React.createElement("p", null,
            "You need to carefully ",
            React.createElement("b", null, "save your unique 4-word voting code"),
            " for the next voting stage. If you forget this voting code when you confirm your vote in the next voting stage, your vote will not be counted."),
        React.createElement("p", null,
            "We recommend writing your voting code down and emailing it to yourself, taking a screenshot of this page, or",
            " ",
            React.createElement("span", { onClick: props.handlePrintClick }, "print this out"),
            ". Or, ",
            React.createElement("b", null, "add a reminder to your calendar"),
            " so you don\u2019t forget to confirm your vote.")));
};
exports.ReviewVoteDepositedCVLLabelText = function (props) {
    return React.createElement(React.Fragment, null, "Amount of Voting Tokens Submitted");
};
exports.ReviewVoteMyAddressLabelText = function (props) {
    return React.createElement(React.Fragment, null, "My Public Address");
};
exports.SaltLabelText = function (props) {
    return React.createElement(React.Fragment, null,
        "Unique 4-word Voting Code for Challenge #",
        props.challengeID);
};
exports.ReviewVoteDecisionText = function (props) {
    if (!props.voteOption) {
        return React.createElement(React.Fragment, null);
    }
    var voteText = props.voteOption === "0" ? React.createElement(textComponents_1.RemoveActionText, null) : React.createElement(textComponents_1.WhitelistActionText, null);
    return (React.createElement(React.Fragment, null,
        "I voted to ",
        React.createElement("b", null, voteText),
        " ",
        props.newsroomName || "this newsroom",
        " ",
        props.voteOption === "0" ? "from" : "in",
        " ",
        "the Civil Registry"));
};
exports.AppealChallengeReviewVoteDecisionText = function (props) {
    if (!props.voteOption) {
        return React.createElement(React.Fragment, null);
    }
    var voteText = props.voteOption === "1" ? React.createElement(textComponents_1.OverturnActionText, null) : React.createElement(textComponents_1.UpholdActionText, null);
    return (React.createElement(React.Fragment, null,
        "I voted for the Granted Appeal for ",
        props.newsroomName || "this newsroom",
        " to be ",
        React.createElement("b", null, voteText)));
};
exports.ConfirmVotesLabelText = function (props) {
    return React.createElement(React.Fragment, null, "Confirm Vote Dates");
};
exports.TransactionButtonText = function (props) {
    return React.createElement(React.Fragment, null, "Open MetaMask to Approve");
};
exports.SaltPhraseToolTipText = function (props) {
    return (React.createElement(React.Fragment, null,
        React.createElement("p", null, "Your vote will be hidden, using this secret phrase. You will need to enter this secret phrase when you confirm your vote during the reveal phase of this challenge."),
        React.createElement("p", null, "Be sure to record your secret phrase for safekeeping. If you lose your secret phrase, your vote is lost. Unfortunately, we can not recover it for you.")));
};
exports.TransactionFinePrintText = function (props) {
    return (React.createElement(React.Fragment, null,
        "This will open a new window asking to confirm and process your transaction. A small transaction fee will be added for all votes. This fee does not go to the Civil Media Company.",
        " ",
        React.createElement("a", { href: utils_1.urlConstants.FAQ_GAS, target: "_blank" }, "Learn more"),
        "."));
};
exports.SaveSaltCheckboxLabelText = function (props) {
    return (React.createElement(React.Fragment, null,
        "I have saved my voting information by one of the following ways: ",
        React.createElement("b", null, "Added to My Calendar"),
        ", wrote down the voting code, took a screenshot or printed this page.",
        " "));
};
//# sourceMappingURL=textComponents.js.map