"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "MobileTradingPage", {
    enumerable: true,
    get: function() {
        return MobileTradingPage;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _navbar = require("./sections/navbar");
const _dataList = require("./sections/dataList");
const _chartView = require("./sections/chartView");
const _orderbook = require("./sections/orderbook");
const _orderEntry = require("./sections/orderEntry");
const _leverage = require("./sections/leverage");
const _bottombar = require("./sections/bottombar");
const _assetsProvider = require("../../../provider/assetsProvider");
const MobileTradingPage = (props)=>{
    return /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
        className: "orderly-pb-[70px]",
        children: [
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_navbar.NavBar, {
                symbol: props.symbol
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_chartView.ChartView, {
                symbol: props.symbol,
                tradingViewConfig: props.tradingViewConfig
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_leverage.MemoizedCompnent, {
                symbol: props.symbol
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
                className: "orderly-grid orderly-grid-cols-[3fr_4fr] orderly-box-border orderly-p-2 orderly-items-start",
                children: [
                    /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
                        className: "orderly-w-full",
                        children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_orderbook.MyOrderBook, {
                            symbol: props.symbol
                        })
                    }),
                    /*#__PURE__*/ (0, _jsxruntime.jsx)(_assetsProvider.AssetsProvider, {
                        children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_orderEntry.MyOrderEntry, {
                            symbol: props.symbol
                        })
                    })
                ]
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_dataList.DataListView, {}),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_assetsProvider.AssetsProvider, {
                children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_bottombar.BottomNavBar, {})
            })
        ]
    });
};

//# sourceMappingURL=trading.js.map