import { _ as __rest } from './tslib.es6-708e7260.js';
import React__default from 'react';
import { B as BabyGrowthForm } from './index-9d419b48.js';
import { C as CommonGAssets } from './index-c21070e4.js';
import { H as HealthToolCardWrapper } from './index-859ec744.js';
import '@mantine/core';
import '@mantine/form';
import './index-3d035e54.js';
import '@hhgtech/icons/other';
import '@mantine/hooks';
import './index-5282fcb5.js';
import './index-8daef9a0.js';
import './utils-3346ba5f.js';
import '@emotion/styled';
import '@mantine/carousel';
import './index-cb974729.js';
import './index-fdb7afd2.js';
import 'dayjs';
import './index-b3165fed.js';
import './Locale-3534825c.js';
import '@mantine/notifications';
import './index-7a01bd3b.js';
import 'date-fns/locale';
import './constantsSite.js';
import './constantsDomainLocales.js';
import './constantsRiskScreener.js';
import './constantsIsProduction.js';
import './miscTheme.js';
import './shared-d9474794.js';
import 'classnames';
import 'uuid';
import './useUniqueId-2333b152.js';
import '@emotion/react';
import '@hhgtech/icons/core';
import './index-4ecade52.js';
import './index-ea305c8c.js';
import '@mantine/dates';
import './index.styles-0c85f1b9.js';
import './index-8cd8aef7.js';
import './translationsContext-cc698d60.js';
import './index-d5862078.js';
import './context-7b6e777a.js';
import './constants-632857ee.js';
import './index-57ad0c12.js';
import 'react-keyed-flatten-children';
import './index-105ae47c.js';

const BabyGrowthCardEmbed = (_a) => {
    var _b, _c, _d;
    var { babyGrowthContent, formProps } = _a, props = __rest(_a, ["babyGrowthContent", "formProps"]);
    return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
        React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { className: "embedded-icon", alt: "health-tool-icon", src: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.featuredImage) ||
                    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.createElement(HealthToolCardWrapper.Body, null,
            React__default.createElement(BabyGrowthForm, Object.assign({}, formProps)))));
};

export { BabyGrowthCardEmbed };
