import { A as ZRImage, An as isArray, C as ZRText, E as Rect, Gn as merge, Kt as vector_exports, Ln as isObject, Nn as isFunction, On as indexOf, Qt as BoundingRect, S as Group, Sn as each, Tn as filter, Wn as map, Xn as reduce, bn as defaults, ct as color_exports, d as zrender_exports, gn as clone, hn as bind, kn as inherits, lr as __exportAll, n as brushSingle, on as matrix_exports, pn as env, qn as mixin, qt as truncateText, rr as util_exports$1, sr as setPlatformAPI, v as encodeHTML, wn as extend, x as CompoundPath, yn as curry, zn as isString } from "./graphic-CPJ2K90a.js";
import { $ as registerTransform, $i as parsePercent, $t as capitalFirst, A as PRIORITY, B as getMap, Bi as asc, Br as LinearGradient, Cr as resizePath, Et as SeriesModel, F as disconnect, G as registerLayout, Gi as getPrecisionSafe, Gr as Polygon, H as registerAction, Hi as getPercentWithPrecision, Hr as BezierCurve, I as dispose, Ir as updateProps, J as registerPostInit, Ji as linearMap, Jr as Ellipse, Jt as getLayoutRect, K as registerLoading, Ki as isNumeric, Kn as Model, Kr as Ring, L as getCoordinateSystemDimensions, Lr as IncrementalDisplayable, M as dataTool, Mr as initProps, N as dependencies, O as AxisModelCommonMixin, P as disConnect, Q as registerTheme, Qi as parseDate, Qt as addCommas, R as getInstanceByDom, Sr as registerShape, St as createSymbol, Tn as SeriesData, U as registerCoordinateSystem, Ui as getPixelPrecision, Ur as Line, V as init, Vr as Arc, W as registerCustomSeries, Wi as getPrecision, Wr as Polyline, X as registerPreprocessor, Xi as nice, Xn as createTextStyle$1, Y as registerPostUpdate, Yr as Circle, Z as registerProcessor, Zi as numericToNumber, _n as getStackedDimension, a as Axis, aa as remRadian, an as normalizeCssArray, ar as clipPointsByRect, br as makePath, c as createScaleByModel, cn as getTextRect, dr as extendPath, ei as enableHoverEmphasis, et as registerUpdateLifecycle, fi as getECData, fr as extendShape, gn as enableDataStack, ht as throttle, ia as reformIntervals, in as getTooltipMarker, j as connect, k as use, ln as format, m as niceScaleExtent, mr as getTransform, na as quantity, nn as formatTpl, nt as setCanvasCreator, oa as round, on as toCamelCase, or as clipRectByRect, pn as registerLocale, pr as getShapeClass, q as registerMap, qi as isRadianAroundZero, qr as Sector, ra as quantityExponent, rt as version, sr as createIcon, t as parseGeoJSON, ta as quantile, tn as formatTime, tt as registerVisual, un as roundTime, ut as ComponentView, vn as isDimensionStacked, xr as mergePath, yr as makeImage, yt as ChartView, z as getInstanceById, zi as MAX_SAFE_INTEGER, zr as RadialGradient, zt as ComponentModel } from "./parseGeoJson-BlBe5Vig.js";
import { n as createDimensions, t as createSeriesData } from "./createSeriesData-DOHScdgk.js";

//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/helper.js
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*/
/**
* This module exposes helper functions for developing extensions.
*/
var helper_exports = /* @__PURE__ */ __exportAll({
	createDimensions: () => createDimensions,
	createList: () => createList,
	createScale: () => createScale,
	createSymbol: () => createSymbol,
	createTextStyle: () => createTextStyle,
	dataStack: () => dataStack,
	enableHoverEmphasis: () => enableHoverEmphasis,
	getECData: () => getECData,
	getLayoutRect: () => getLayoutRect,
	mixinAxisModelCommonMethods: () => mixinAxisModelCommonMethods
});
/**
* Create a multi dimension List structure from seriesModel.
*/
function createList(seriesModel) {
	return createSeriesData(null, seriesModel);
}
var dataStack = {
	isDimensionStacked,
	enableDataStack,
	getStackedDimension
};
/**
* Create scale
* @param {Array.<number>} dataExtent
* @param {Object|module:echarts/Model} option If `optoin.type`
*        is secified, it can only be `'value'` currently.
*/
function createScale(dataExtent, option) {
	var axisModel = option;
	if (!(option instanceof Model)) axisModel = new Model(option);
	var scale = createScaleByModel(axisModel);
	scale.setExtent(dataExtent[0], dataExtent[1]);
	niceScaleExtent(scale, axisModel);
	return scale;
}
/**
* Mixin common methods to axis model,
*
* Include methods
* `getFormattedLabels() => Array.<string>`
* `getCategories() => Array.<string>`
* `getMin(origin: boolean) => number`
* `getMax(origin: boolean) => number`
* `getNeedCrossZero() => boolean`
*/
function mixinAxisModelCommonMethods(Model) {
	mixin(Model, AxisModelCommonMixin);
}
function createTextStyle(textStyleModel, opts) {
	opts = opts || {};
	return createTextStyle$1(textStyleModel, null, null, opts.state !== "normal");
}

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/number.js
var number_exports = /* @__PURE__ */ __exportAll({
	MAX_SAFE_INTEGER: () => MAX_SAFE_INTEGER,
	asc: () => asc,
	getPercentWithPrecision: () => getPercentWithPrecision,
	getPixelPrecision: () => getPixelPrecision,
	getPrecision: () => getPrecision,
	getPrecisionSafe: () => getPrecisionSafe,
	isNumeric: () => isNumeric,
	isRadianAroundZero: () => isRadianAroundZero,
	linearMap: () => linearMap,
	nice: () => nice,
	numericToNumber: () => numericToNumber,
	parseDate: () => parseDate,
	parsePercent: () => parsePercent,
	quantile: () => quantile,
	quantity: () => quantity,
	quantityExponent: () => quantityExponent,
	reformIntervals: () => reformIntervals,
	remRadian: () => remRadian,
	round: () => round
});

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/time.js
var time_exports = /* @__PURE__ */ __exportAll({
	format: () => format,
	parse: () => parseDate,
	roundTime: () => roundTime
});

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/graphic.js
var graphic_exports = /* @__PURE__ */ __exportAll({
	Arc: () => Arc,
	BezierCurve: () => BezierCurve,
	BoundingRect: () => BoundingRect,
	Circle: () => Circle,
	CompoundPath: () => CompoundPath,
	Ellipse: () => Ellipse,
	Group: () => Group,
	Image: () => ZRImage,
	IncrementalDisplayable: () => IncrementalDisplayable,
	Line: () => Line,
	LinearGradient: () => LinearGradient,
	Polygon: () => Polygon,
	Polyline: () => Polyline,
	RadialGradient: () => RadialGradient,
	Rect: () => Rect,
	Ring: () => Ring,
	Sector: () => Sector,
	Text: () => ZRText,
	clipPointsByRect: () => clipPointsByRect,
	clipRectByRect: () => clipRectByRect,
	createIcon: () => createIcon,
	extendPath: () => extendPath,
	extendShape: () => extendShape,
	getShapeClass: () => getShapeClass,
	getTransform: () => getTransform,
	initProps: () => initProps,
	makeImage: () => makeImage,
	makePath: () => makePath,
	mergePath: () => mergePath,
	registerShape: () => registerShape,
	resizePath: () => resizePath,
	updateProps: () => updateProps
});

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/format.js
var format_exports = /* @__PURE__ */ __exportAll({
	addCommas: () => addCommas,
	capitalFirst: () => capitalFirst,
	encodeHTML: () => encodeHTML,
	formatTime: () => formatTime,
	formatTpl: () => formatTpl,
	getTextRect: () => getTextRect,
	getTooltipMarker: () => getTooltipMarker,
	normalizeCssArray: () => normalizeCssArray,
	toCamelCase: () => toCamelCase,
	truncateText: () => truncateText
});

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api/util.js
var util_exports = /* @__PURE__ */ __exportAll({
	bind: () => bind,
	clone: () => clone,
	curry: () => curry,
	defaults: () => defaults,
	each: () => each,
	extend: () => extend,
	filter: () => filter,
	indexOf: () => indexOf,
	inherits: () => inherits,
	isArray: () => isArray,
	isFunction: () => isFunction,
	isObject: () => isObject,
	isString: () => isString,
	map: () => map,
	merge: () => merge,
	reduce: () => reduce
});

//#endregion
//#region ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/lib/export/api.js
/**
* AUTO-GENERATED FILE. DO NOT MODIFY.
*/
function extendComponentModel(proto) {
	var Model = ComponentModel.extend(proto);
	ComponentModel.registerClass(Model);
	return Model;
}
function extendComponentView(proto) {
	var View = ComponentView.extend(proto);
	ComponentView.registerClass(View);
	return View;
}
function extendSeriesModel(proto) {
	var Model = SeriesModel.extend(proto);
	SeriesModel.registerClass(Model);
	return Model;
}
function extendChartView(proto) {
	var View = ChartView.extend(proto);
	ChartView.registerClass(View);
	return View;
}

//#endregion
export { Axis, ChartView, ComponentModel, ComponentView, SeriesData as List, Model, PRIORITY, SeriesModel, color_exports as color, connect, dataTool, dependencies, disConnect, disconnect, dispose, env, extendChartView, extendComponentModel, extendComponentView, extendSeriesModel, format_exports as format, getCoordinateSystemDimensions, getInstanceByDom, getInstanceById, getMap, graphic_exports as graphic, helper_exports as helper, init, brushSingle as innerDrawElementOnCanvas, matrix_exports as matrix, number_exports as number, parseGeoJSON, parseGeoJSON as parseGeoJson, registerAction, registerCoordinateSystem, registerCustomSeries, registerLayout, registerLoading, registerLocale, registerMap, registerPostInit, registerPostUpdate, registerPreprocessor, registerProcessor, registerTheme, registerTransform, registerUpdateLifecycle, registerVisual, setCanvasCreator, setPlatformAPI, throttle, time_exports as time, use, util_exports as util, vector_exports as vector, version, util_exports$1 as zrUtil, zrender_exports as zrender };
//# sourceMappingURL=core-9w0g6EOI.js.map