var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
  return value;
};
import "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.mjs";
import "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.mjs";
import { PublicConfigClass } from "../../../../public/publicConfig.mjs";
import { MapAmapConfig } from "./index.mjs";
import { chartInitConfig } from "../../../../../settings/designSetting.mjs";
import cloneDeep from "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.mjs";
import dataJson from "./data.json.mjs";
var ThemeEnum = /* @__PURE__ */ ((ThemeEnum2) => {
  ThemeEnum2["NORMAL"] = "normal";
  ThemeEnum2["DARK"] = "dark";
  ThemeEnum2["LIGHT"] = "light";
  ThemeEnum2["WHITES_MOKE"] = "whitesmoke";
  ThemeEnum2["FRESH"] = "fresh";
  ThemeEnum2["GREY"] = "grey";
  ThemeEnum2["GRAFFITI"] = "graffiti";
  ThemeEnum2["MACARON"] = "macaron";
  ThemeEnum2["BLUE"] = "blue";
  ThemeEnum2["DARKBLUE"] = "darkblue";
  ThemeEnum2["WINE"] = "wine";
  ThemeEnum2["WEIXIN"] = "tileLayer";
  return ThemeEnum2;
})(ThemeEnum || {});
var LangEnum = /* @__PURE__ */ ((LangEnum2) => {
  LangEnum2["ZH_CN"] = "zh_cn";
  LangEnum2["EN"] = "en";
  LangEnum2["ZH_EN"] = "zh_en";
  return LangEnum2;
})(LangEnum || {});
var ViewModeEnum = /* @__PURE__ */ ((ViewModeEnum2) => {
  ViewModeEnum2["PLANE"] = "2D";
  ViewModeEnum2["STEREOSCOPIC"] = "3D";
  return ViewModeEnum2;
})(ViewModeEnum || {});
var FeaturesEnum = /* @__PURE__ */ ((FeaturesEnum2) => {
  FeaturesEnum2["BG"] = "bg";
  FeaturesEnum2["POINT"] = "point";
  FeaturesEnum2["ROAD"] = "road";
  FeaturesEnum2["BUILDING"] = "building";
  return FeaturesEnum2;
})(FeaturesEnum || {});
var MarkerEnum = /* @__PURE__ */ ((MarkerEnum2) => {
  MarkerEnum2["CIRCLE_MARKER"] = "CircleMarker";
  MarkerEnum2["MARKER"] = "Marker";
  MarkerEnum2["NONE"] = "none";
  return MarkerEnum2;
})(MarkerEnum || {});
const option = {
  dataset: dataJson,
  mapOptions: {
    pitch: 60,
    skyColor: "#53A9DE",
    amapKey: "d5f3e16589dbecae64d05fe90e2ba4f2",
    amapStyleKey: "dark",
    amapStyleKeyCustom: "",
    amapLon: 116.397428,
    amapLat: 39.90923,
    amapZindex: 11,
    marker: {
      fillColor: "#E98984FF",
      fillOpacity: 0.5,
      strokeColor: "white",
      strokeWeight: 2,
      strokeOpacity: 0.5,
      zIndex: 10,
      bubble: true,
      cursor: "pointer",
      clickable: true
    },
    mapMarkerType: "CircleMarker",
    viewMode: "2D",
    lang: "zh_cn",
    features: [
      "bg",
      "point",
      "road",
      "building"
      /* BUILDING */
    ]
  }
};
class Config extends PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", MapAmapConfig.key);
    __publicField(this, "attr", { ...chartInitConfig, w: 1e3, h: 800, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep(MapAmapConfig));
    __publicField(this, "option", cloneDeep(option));
  }
}
export {
  FeaturesEnum,
  LangEnum,
  MarkerEnum,
  ThemeEnum,
  ViewModeEnum,
  Config as default,
  option
};
