"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
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;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var ListingDetailHeader_1 = require("./ListingDetailHeader");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"], ["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"])));
var Container = function (_a) {
    var children = _a.children;
    return (React.createElement(StyledDiv, null,
        React.createElement("div", null, children)));
};
var charter = {
    tagline: "Civil is the decentralized marketplace for sustainable journalism.",
    newsroomUrl: "https://civil.co",
};
react_1.storiesOf("Registry / Listing / Listing Details Header", module)
    .add("No phase label", function () {
    var props = {
        listingAddress: "0x0",
        newsroomName: "The Civil Times",
        charter: charter,
        owner: "0x0",
        etherscanBaseURL: "https://rinkeby.etherscan.io",
        ethInfoModalLearnMoreURL: "#faq",
        unstakedDeposit: "100 CVL",
        isInApplication: false,
        inChallengeCommitVotePhase: false,
        inChallengeRevealPhase: false,
    };
    return (React.createElement(Container, null,
        React.createElement(ListingDetailHeader_1.ListingDetailHeader, __assign({}, props))));
})
    .add("In Application", function () {
    var props = {
        listingAddress: "0x0",
        newsroomName: "The Civil Times",
        charter: charter,
        owner: "0x0",
        unstakedDeposit: "100 CVL",
        etherscanBaseURL: "https://rinkeby.etherscan.io",
        ethInfoModalLearnMoreURL: "#faq",
        isInApplication: true,
        inChallengeCommitVotePhase: false,
        inChallengeRevealPhase: false,
    };
    return (React.createElement(Container, null,
        React.createElement(ListingDetailHeader_1.ListingDetailHeader, __assign({}, props))));
})
    .add("Accepting Votes", function () {
    var props = {
        listingAddress: "0x0",
        newsroomName: "The Civil Times",
        charter: charter,
        owner: "0x0",
        unstakedDeposit: "100 CVL",
        etherscanBaseURL: "https://rinkeby.etherscan.io",
        ethInfoModalLearnMoreURL: "#faq",
        isInApplication: false,
        inChallengeCommitVotePhase: true,
        inChallengeRevealPhase: false,
    };
    return (React.createElement(Container, null,
        React.createElement(ListingDetailHeader_1.ListingDetailHeader, __assign({}, props))));
})
    .add("Revealing Votes", function () {
    var props = {
        listingAddress: "0x0",
        newsroomName: "The Civil Times",
        charter: charter,
        owner: "0x0",
        etherscanBaseURL: "https://rinkeby.etherscan.io",
        ethInfoModalLearnMoreURL: "#faq",
        unstakedDeposit: "100 CVL",
        isInApplication: false,
        inChallengeCommitVotePhase: false,
        inChallengeRevealPhase: true,
    };
    return (React.createElement(Container, null,
        React.createElement(ListingDetailHeader_1.ListingDetailHeader, __assign({}, props))));
});
var templateObject_1;
//# sourceMappingURL=ListingDetailHeader.stories.js.map