'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    polarChartClassNames: function() {
        return polarChartClassNames;
    },
    usePolarChartStyles: function() {
        return usePolarChartStyles;
    }
});
const _react = require("@griffel/react");
const _reacttheme = require("@fluentui/react-theme");
const polarChartClassNames = {
    root: 'fui-polar__root',
    chartWrapper: 'fui-polar__chartWrapper',
    chart: 'fui-polar__chart',
    gridLineInner: 'fui-polar__gridLineInner',
    gridLineOuter: 'fui-polar__gridLineOuter',
    tickLabel: 'fui-polar__tickLabel',
    legendContainer: 'fui-polar__legendContainer'
};
const useStyles = (0, _react.makeStyles)({
    root: {
        ..._reacttheme.typographyStyles.body1,
        display: 'flex',
        flexDirection: 'column',
        alignItems: 'center',
        width: '100%',
        height: '100%',
        textAlign: 'left'
    },
    chart: {
        display: 'block'
    },
    gridLine: {
        fill: 'none',
        stroke: _reacttheme.tokens.colorNeutralForeground1,
        strokeWidth: '1px'
    },
    gridLineInner: {
        opacity: 0.2
    },
    gridLineOuter: {
        opacity: 1
    },
    tickLabel: {
        ..._reacttheme.typographyStyles.caption2Strong,
        fill: _reacttheme.tokens.colorNeutralForeground1
    },
    legendContainer: {
        width: '100%'
    }
});
const usePolarChartStyles = (props)=>{
    var _props_styles, _props_styles1, _props_styles2, _props_styles3, _props_styles4, _props_styles5, _props_styles6;
    const baseStyles = useStyles();
    return {
        root: (0, _react.mergeClasses)(polarChartClassNames.root, baseStyles.root, (_props_styles = props.styles) === null || _props_styles === void 0 ? void 0 : _props_styles.root),
        chartWrapper: (0, _react.mergeClasses)(polarChartClassNames.chartWrapper, (_props_styles1 = props.styles) === null || _props_styles1 === void 0 ? void 0 : _props_styles1.chartWrapper),
        chart: (0, _react.mergeClasses)(polarChartClassNames.chart, baseStyles.chart, (_props_styles2 = props.styles) === null || _props_styles2 === void 0 ? void 0 : _props_styles2.chart),
        gridLineInner: (0, _react.mergeClasses)(polarChartClassNames.gridLineInner, baseStyles.gridLine, baseStyles.gridLineInner, (_props_styles3 = props.styles) === null || _props_styles3 === void 0 ? void 0 : _props_styles3.gridLineInner),
        gridLineOuter: (0, _react.mergeClasses)(polarChartClassNames.gridLineOuter, baseStyles.gridLine, baseStyles.gridLineOuter, (_props_styles4 = props.styles) === null || _props_styles4 === void 0 ? void 0 : _props_styles4.gridLineOuter),
        tickLabel: (0, _react.mergeClasses)(polarChartClassNames.tickLabel, baseStyles.tickLabel, (_props_styles5 = props.styles) === null || _props_styles5 === void 0 ? void 0 : _props_styles5.tickLabel),
        legendContainer: (0, _react.mergeClasses)(polarChartClassNames.legendContainer, baseStyles.legendContainer, (_props_styles6 = props.styles) === null || _props_styles6 === void 0 ? void 0 : _props_styles6.legendContainer)
    };
};
