"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BannerBlock = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock.js"));
const grid_1 = require("../../gravity-blocks/grid/index.js");
const sub_blocks_1 = require("../../sub-blocks/index.js");
const utils_1 = require("../../utils/index.js");
const b = (0, utils_1.block)('banner-block');
const BannerBlock = (props) => {
    const { animated, className, ...bannerProps } = props;
    return ((0, jsx_runtime_1.jsx)(AnimateBlock_1.default, { className: b(null, className), animate: animated, children: (0, jsx_runtime_1.jsx)(grid_1.Grid, { children: (0, jsx_runtime_1.jsx)(grid_1.Row, { children: (0, jsx_runtime_1.jsx)(sub_blocks_1.BannerCard, { ...bannerProps }) }) }) }));
};
exports.BannerBlock = BannerBlock;
exports.default = exports.BannerBlock;
//# sourceMappingURL=Banner.js.map
