'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var Row = require('react-bootstrap/Row');
var Col = require('react-bootstrap/Col');
var SideFooter = require('./SideFooter.js');
var ConferenceBanner = require('./ConferenceBanner-213003ce.js');
require('./react-social-icons-2c5c389a.js');
require('./_commonjsHelpers-06173234.js');
require('prop-types');
require('./get-5839e5b5.js');
require('./isSymbol-03abbdf0.js');
require('./eq-5fc26c07.js');
require('./Segment.js');
require('./asyncToGenerator-65df6bf8.js');
require('./core.get-iterator-method-5643aa10.js');
require('./web.dom.iterable-d98303e0.js');
require('./_library-dd23b178.js');
require('./_set-species-0c7864a2.js');
require('./_iter-detect-b1df62f0.js');
require('./checkSisterSite-c3a4ac98.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);

var Column2 = function Column2(props) {
  var rightItems = props.rightItems,
      title = props.title,
      website = props.website;


  return React__default["default"].createElement(
    'section',
    null,
    React__default["default"].createElement(
      Row__default["default"],
      { className: 'justify-content-md-center' },
      React__default["default"].createElement(
        Col__default["default"],
        { md: true, className: 'middleCol', style: { marginTop: !title && '10px' } },
        title && React__default["default"].createElement(
          'h1',
          null,
          title
        ),
        props.children
      ),
      React__default["default"].createElement(
        Col__default["default"],
        { xs: 12, className: 'rightCol' },
        website && website.conferenceBannerContent && React__default["default"].createElement(ConferenceBanner.ConferenceBanner, { website: website }),
        React__default["default"].createElement(
          'div',
          { className: 'sticky-top', style: { top: '60px' } },
          rightItems && rightItems.map(function (row, index) {
            return React__default["default"].createElement(
              'div',
              { key: index },
              row.component
            );
          }),
          website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default["default"].createElement(SideFooter, { website: website })
        )
      )
    )
  );
};

exports.Column2 = Column2;
exports["default"] = Column2;
