import React from "react";
import { useTranslation } from "react-i18next";
import * as styles from "./styles";
import { AttributionDeprecated as Attribution } from "~/components/Attribution";
import { useNeighborhoodMarketTrends } from "~/sdks/NeighborhoodMarketTrends/context";
export const Footer = ({ hideAttribution }) => {
    const { t } = useTranslation("neighborhoodMarketTrends");
    const { locale, geography } = useNeighborhoodMarketTrends();
    return (React.createElement("div", { className: styles.container },
        React.createElement("p", { className: styles.dataDisclaimer }, t("disclaimer.footer", {
            context: ((geography === null || geography === void 0 ? void 0 : geography.level) || 10) >= 30 ? "large" : undefined,
        })),
        !hideAttribution && (React.createElement(Attribution, { sdkName: "neighborhood-market-trends", locale: locale }))));
};
//# sourceMappingURL=index.js.map