import { _ as __assign } from '../tslib.es6-faad35dc.js';
import { jsxs, jsx } from 'react/jsx-runtime';
import MuiBox from '@mui/material/Box';
import Icon from '../components/Icon.js';
import Typography from '../components/Typography.js';
import Accordion from '../components/Accordion.js';
import '@mui/material/styles';
import '../icons/ArrowLeft.js';
import '../icons/ArrowRight.js';
import '../icons/CloseCircle.js';
import '../icons/InfoCircle.js';
import '../icons/ErrorCircle.js';
import '../icons/Attention.js';
import '../icons/HelpCircle.js';
import '../icons/Document.js';
import '../icons/DocumentText.js';
import '../icons/Lock.js';
import '../icons/Delete.js';
import '../icons/Users.js';
import '../icons/Stakefish.js';
import '../icons/Sound.js';
import '../icons/Beacon.js';
import '../icons/TriangleRight.js';
import '../icons/TriangleLeft.js';
import '../icons/TriangleUp.js';
import '../icons/TriangleDown.js';
import '../icons/Sent.js';
import '../icons/Download.js';
import '../icons/Faster.js';
import '../icons/Slower.js';
import '../icons/Usb.js';
import '../icons/Key.js';
import '../icons/Edit.js';
import '../icons/Expand.js';
import '../icons/Collapse.js';
import '../icons/Success.js';
import '../icons/SuccessCircle.js';
import '../icons/Fail.js';
import '../icons/Desktop.js';
import '../icons/Mobile.js';
import '../icons/Loading.js';
import '../icons/Upload.js';
import '../icons/Check.js';
import '../icons/ChevronLeft.js';
import '../icons/ChevronRight.js';
import '../icons/Plus.js';
import '../icons/Minus.js';
import '../icons/Globe.js';
import '../icons/Link.js';
import '../icons/Copy.js';
import '../icons/Medium.js';
import '../icons/Twitter.js';
import '../icons/Telegram.js';
import '../icons/Eth.js';
import '../icons/Sort.js';
import '../icons/Close.js';
import '../icons/DollarSign.js';
import '../icons/Search.js';
import '../icons/Range.js';
import '../icons/Instagram.js';
import '../icons/LinkedIn.js';
import '../icons/Reddit.js';
import '../icons/YouTube.js';
import '../icons/Chrome.js';
import '../icons/CloudConnect.js';
import '../icons/Update.js';
import '../icons/Menu.js';
import '../icons/Settings.js';
import '@mui/material/Typography';
import '../theme/typography.js';
import 'react';
import '../clsx.m-6243b874.js';
import '@mui/material/Accordion';
import '@mui/material/AccordionSummary';
import '@mui/material/AccordionDetails';

var stringContents = [
    {
        id: "panel-1",
        summary: "What is Ethereum 2.0?",
        details: "Ethereum 2.0 is an ambitious multi-year network upgrade of Ethereum. The upgrade is intended to achieve better scalability, security and decentralization of Ethereum 2.0. For more information, please see this explainer we have put together."
    },
    {
        id: "panel-2",
        summary: "What is the difference between Ethereum and Ethereum 2.0?",
        details: "\n      <p>In the current iteration of Ethereum (Eth1), new blocks of transactions are created using Proof of Work, a consensus mechanism in which specialized computers race to be the first to solve a difficult math problem.</p>\n      <p>Ethereum 2.0(Eth2) is a Proof of Stake network, in which holders stake their coins to become validators eligible to propose and verify blocks and receive rewards for it.</p>\n      <p>These validators are disincentivized from attempting to cheat by a system of penalties for engaging in malicious behavior.Because staking does not require any specialized hardware, the barrier to entry to becoming a block producer is dramatically lowered, and anyone holding ETH can participate in securing the network and earning rewards.</p>\n    "
    },
    {
        id: "panel-3",
        summary: "Why do I have a decrease in my balance despite having the right attestations?",
        details: "Attestations can be positive but still return a negative reward. This is an aspect of the protocol that will be addressed in the future to provide more clarity. The issue is currently being discussed here: <a href='https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188'>https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188</a>"
    }
];
var reactNodeContents = [
    {
        id: "panel-1",
        summary: (jsxs(MuiBox, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(MuiBox, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "md" }, void 0) }), void 0), jsx(Typography, __assign({ variant: "subtitle3Bold" }, { children: "What is Ethereum 2.0?" }), void 0)] }), void 0)),
        details: "Ethereum 2.0 is an ambitious multi-year network upgrade of Ethereum. The upgrade is intended to achieve better scalability, security and decentralization of Ethereum 2.0. For more information, please see this explainer we have put together."
    },
    {
        id: "panel-2",
        summary: (jsxs(MuiBox, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(MuiBox, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "md" }, void 0) }), void 0), jsx(Typography, __assign({ variant: "subtitle3Bold" }, { children: "What is the difference between Ethereum and Ethereum 2.0?" }), void 0)] }), void 0)),
        details: "\n      <p>In the current iteration of Ethereum (Eth1), new blocks of transactions are created using Proof of Work, a consensus mechanism in which specialized computers race to be the first to solve a difficult math problem.</p>\n      <p>Ethereum 2.0(Eth2) is a Proof of Stake network, in which holders stake their coins to become validators eligible to propose and verify blocks and receive rewards for it.</p>\n      <p>These validators are disincentivized from attempting to cheat by a system of penalties for engaging in malicious behavior.Because staking does not require any specialized hardware, the barrier to entry to becoming a block producer is dramatically lowered, and anyone holding ETH can participate in securing the network and earning rewards.</p>\n    "
    },
    {
        id: "panel-3",
        summary: (jsxs(MuiBox, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(MuiBox, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "md" }, void 0) }), void 0), jsx(Typography, __assign({ variant: "subtitle3Bold" }, { children: "Why do I have a decrease in my balance despite having the right attestations?" }), void 0)] }), void 0)),
        details: "Attestations can be positive but still return a negative reward. This is an aspect of the protocol that will be addressed in the future to provide more clarity. The issue is currently being discussed here: <a href='https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188'>https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188</a>"
    }
];
var argTypes = {
    entries: { table: { disable: true } }
};
var StringTypeTemplate = function (args) {
    return jsx(Accordion, { entries: stringContents }, void 0);
};
var ReactNodeTypeTemplate = function (args) {
    return jsx(Accordion, { entries: reactNodeContents }, void 0);
};
/**
 * Stories
 */
var StringType = StringTypeTemplate.bind({});
var ReactNodeType = ReactNodeTypeTemplate.bind({});
var Accordion_stories = {
    title: "Components/Accordion",
    component: Accordion,
    argTypes: argTypes
};

export { ReactNodeType, StringType, Accordion_stories as default };
