import Highcharts from 'highcharts';
import 'highcharts/esm/highcharts-more.js';
import 'highcharts/esm/modules/no-data-to-display.js';
import 'highcharts/esm/modules/drilldown.js';
import 'highcharts/esm/modules/exporting.js';
import 'highcharts/esm/modules/solid-gauge.js';
import 'highcharts/esm/modules/offline-exporting.js';
import 'highcharts/esm/modules/accessibility.js';

if (isDarkModeEnabled()) {
    import('highcharts/esm/themes/dark-unica.js');
}

window.Highcharts = Highcharts;
