'use strict';

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

var tslib_es6 = require('./tslib.es6-2c2ed574.js');
var React = require('react');
var index$1 = require('./index-518cadb5.js');
var index = require('./index-b0ce6f8f.js');
var healthToolsCardWrapper = require('./index-95e46080.js');
require('@mantine/core');
require('@mantine/form');
require('./index-1e5e2223.js');
require('@hhgtech/icons/other');
require('@mantine/hooks');
require('./index-59a9827e.js');
require('./index-af9c3c64.js');
require('./utils-b92a8b1c.js');
require('@emotion/styled');
require('@mantine/carousel');
require('./index-a31ed3e1.js');
require('./index-024542ed.js');
require('dayjs');
require('./index-da3b86cd.js');
require('./Locale-fbe01177.js');
require('@mantine/notifications');
require('./index-6ce6e395.js');
require('date-fns/locale');
require('./constantsSite.js');
require('./constantsDomainLocales.js');
require('./constantsRiskScreener.js');
require('./constantsIsProduction.js');
require('./miscTheme.js');
require('./shared-60ad3e5a.js');
require('classnames');
require('uuid');
require('./useUniqueId-18ea5b53.js');
require('@emotion/react');
require('@hhgtech/icons/core');
require('./index-3d563586.js');
require('./index-a11c6c43.js');
require('@mantine/dates');
require('./index.styles-691de58f.js');
require('./index-3643ff1b.js');
require('./translationsContext-78113889.js');
require('./index-eba09ec0.js');
require('./context-f7fe7a26.js');
require('./constants-6d0b5b59.js');
require('./index-8df498d5.js');
require('react-keyed-flatten-children');
require('./index-d11d2b22.js');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const BabyGrowthCardEmbed = (_a) => {
    var _b, _c, _d;
    var { babyGrowthContent, formProps } = _a, props = tslib_es6.__rest(_a, ["babyGrowthContent", "formProps"]);
    return (React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper, Object.assign({}, props),
        React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper.Banner, { icon: React__default["default"].createElement("img", { className: "embedded-icon", alt: "health-tool-icon", src: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.featuredImage) ||
                    index.CommonGAssets.getAssetPath('health-tools/toolsIconBabyGrowth.svg'), loading: "lazy" }), heading: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.title) || '', medicalReview: {
                link: (_b = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
                reviewer: (_c = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer.trim(),
                date: (_d = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
            } }),
        React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper.Body, null,
            React__default["default"].createElement(index$1.BabyGrowthForm, Object.assign({}, formProps)))));
};

exports.BabyGrowthCardEmbed = BabyGrowthCardEmbed;
