import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import React from "react";
import { List } from "../list";
import ScreenView from "../../../screen-view";
import { Wrapper } from "./styled";
import Links from "./links";
import Socials from "./socials";
import { Box } from "../../../grid";
import { BurgerIcon, BurgerIconWrapper } from "./burger-icon";
import { Cross, CrossWrapper } from "./cross";
import { BlockScreen } from "../../../block-screen";
class Burger extends React.Component {
    state = {
        opened: false,
    };
    render() {
        const { props: { mobileLinks, mobileSidebar, eqLab }, state: { opened }, } = this;
        const isGenshiro = process.env.REACT_APP_THEME === "Genshiro";
        return (_jsx(_Fragment, { children: _jsx(ScreenView.Large, { children: !isGenshiro ? (_jsxs(_Fragment, { children: [_jsx(BlockScreen, { className: opened ? "ui-block-screen--opened" : "" }), _jsx(BurgerIconWrapper, { onClick: () => this.setState({ opened: true }), children: _jsx(BurgerIcon, {}) }), _jsxs(Wrapper, { className: `ui-header__burger-wrapper ${opened ? "ui-header__burger-wrapper--opened" : ""}`, children: [_jsxs(List, { className: "ui-header__burger-list", children: [_jsx(CrossWrapper, { onClick: () => this.setState({ opened: false }), children: _jsx(Cross, {}) }), _jsx(Box, { mt: "14.44px", className: "ui-header__burger-links", children: _jsx(Links, {}) })] }), _jsx(Socials, {})] })] })) : null }) }));
    }
}
export default Burger;
//# sourceMappingURL=index.js.map