"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const ClickhouseLogoLight_1 = __importDefault(require("./ClickhouseLogoLight"));
const ClickhouseLogoDark_1 = __importDefault(require("./ClickhouseLogoDark"));
const utils_1 = require("../../utils");
const ClickhouseLogoSvg = (0, react_1.forwardRef)(function ClickhouseLogoSvg(props, ref) {
    const { isDarkTheme } = (0, utils_1.useThemeModification)();
    const { isDarkBrand } = (0, utils_1.useBrandModification)();
    return isDarkTheme || isDarkBrand ? ((0, jsx_runtime_1.jsx)(ClickhouseLogoDark_1.default, Object.assign({}, props, { ref: ref }))) : ((0, jsx_runtime_1.jsx)(ClickhouseLogoLight_1.default, Object.assign({}, props, { ref: ref })));
});
exports.default = ClickhouseLogoSvg;
