tg-map-vue3 3.9.6 → 3.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tg-map.js CHANGED
@@ -2,19 +2,19 @@
2
2
  var Xr = Object.defineProperty;
3
3
  var Jr = (i, t, e) => t in i ? Xr(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
4
4
  var m = (i, t, e) => (Jr(i, typeof t != "symbol" ? t + "" : t, e), e);
5
- import { noop as z, assert as ve, throwError as I, Arrays as yr, lateinit as L, throwUnsupported as Lt, assertNever as yt, typed as Ye, path as Qr } from "tg-commons";
6
- import { createCommentVNode as _t, computed as _r, defineComponent as P, markRaw as ei, watch as De, openBlock as de, createElementBlock as ue, mergeProps as He, createElementVNode as ti, normalizeClass as nt, renderSlot as J, normalizeStyle as ri, getCurrentInstance as ii, inject as si, onMounted as ni, onBeforeUnmount as oi, toRaw as ot, withDirectives as ai, vShow as li } from "vue";
5
+ import { noop as z, assert as ve, throwError as I, Arrays as yr, lateinit as L, throwUnsupported as Lt, assertNever as yt, typed as Ye, path as Qr, deepEqual as ei } from "tg-commons";
6
+ import { createCommentVNode as _t, computed as _r, defineComponent as P, markRaw as ti, watch as De, openBlock as de, createElementBlock as ue, mergeProps as He, createElementVNode as ri, normalizeClass as nt, renderSlot as J, normalizeStyle as ii, getCurrentInstance as si, inject as ni, onMounted as oi, onBeforeUnmount as ai, toRaw as ot, withDirectives as li, vShow as hi } from "vue";
7
7
  function se(i, t, e) {
8
8
  Object.keys(i).forEach((r) => {
9
9
  r.startsWith("update:") || e != null && e.includes(r) || t.addEventListener(r, i[r]);
10
10
  });
11
11
  }
12
- let hi = 1;
13
- function ci() {
14
- return hi++;
12
+ let ci = 1;
13
+ function di() {
14
+ return ci++;
15
15
  }
16
16
  function qe(i, t) {
17
- return t.__id__ || (t.__id__ = ci()), `${i}::${t.__id__}`;
17
+ return t.__id__ || (t.__id__ = di()), `${i}::${t.__id__}`;
18
18
  }
19
19
  var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
20
20
  function at(i) {
@@ -127,12 +127,12 @@ var br = { exports: {} };
127
127
  };
128
128
  });
129
129
  })(br);
130
- var di = br.exports;
131
- const me = /* @__PURE__ */ at(di);
132
- function pn(i, t) {
130
+ var ui = br.exports;
131
+ const me = /* @__PURE__ */ at(ui);
132
+ function gn(i, t) {
133
133
  return i instanceof t;
134
134
  }
135
- function gn(i, t) {
135
+ function mn(i, t) {
136
136
  if (i instanceof t)
137
137
  return i;
138
138
  }
@@ -152,7 +152,7 @@ function Bt(i, t, e) {
152
152
  r = r.$parent;
153
153
  }
154
154
  }
155
- function mn(i) {
155
+ function fn(i) {
156
156
  return i;
157
157
  }
158
158
  var R = /* @__PURE__ */ ((i) => (i.wgs84 = "wgs84", i.gcj02 = "gcj02", i.bd09 = "bd09", i))(R || {});
@@ -393,7 +393,7 @@ var ie;
393
393
  function Tr() {
394
394
  BMap.OverlayV3 || (BMap.OverlayV3 = BMap.Overlay);
395
395
  }
396
- function ui() {
396
+ function pi() {
397
397
  const i = window.$BAIDU$;
398
398
  "kT" in i || Object.defineProperty(i, "kT", {
399
399
  get: () => i._instances,
@@ -462,10 +462,10 @@ var ye;
462
462
  function Or(i, t, e) {
463
463
  return i.addListener(t, e).remove;
464
464
  }
465
- function pi(i, t, e) {
465
+ function gi(i, t, e) {
466
466
  return i.addEventListener(t, e), () => i.removeEventListener(t, e);
467
467
  }
468
- function gi(i, t, e, r) {
468
+ function mi(i, t, e, r) {
469
469
  return i.addEventListener(t, e, r), () => i.removeEventListener(t, e, r);
470
470
  }
471
471
  function hr(i, t, e) {
@@ -622,7 +622,7 @@ class cr {
622
622
  return this.keyToValue.get(t) ?? I();
623
623
  }
624
624
  }
625
- class mi {
625
+ class fi {
626
626
  constructor(t, e = 10) {
627
627
  m(this, "map", /* @__PURE__ */ new Map());
628
628
  this.values = t, this.maxSize4Debug = e, z();
@@ -726,7 +726,7 @@ var D = /* @__PURE__ */ ((i) => (i.TOP_LEFT = "top-left", i.TOP_CENTER = "top-ce
726
726
  }
727
727
  i.getGoogle = n;
728
728
  })(q || (q = {}));
729
- class fi {
729
+ class vi {
730
730
  constructor(t) {
731
731
  /** 实际添加到地图中的control对象 */
732
732
  m(this, "inner");
@@ -735,7 +735,7 @@ class fi {
735
735
  }
736
736
  class It {
737
737
  }
738
- class vi extends It {
738
+ class yi extends It {
739
739
  constructor(t, e) {
740
740
  super(), this.visible = t, this.position = e;
741
741
  }
@@ -841,7 +841,7 @@ class j {
841
841
  Lt("google的内置地图没有对应的实例");
842
842
  }
843
843
  }
844
- class fn {
844
+ class vn {
845
845
  constructor(t, e) {
846
846
  m(this, "baiduLayerCached", new Pe(() => {
847
847
  const t = new BMap.TileLayer({});
@@ -893,7 +893,7 @@ class fn {
893
893
  Lt("这个方法不会被调用");
894
894
  }
895
895
  }
896
- class yi {
896
+ class _i {
897
897
  constructor() {
898
898
  m(this, "baiduCache", new Pe(() => new BMap.TrafficLayer()));
899
899
  m(this, "googleCache", new Pe(() => new google.maps.TrafficLayer()));
@@ -913,7 +913,7 @@ var F;
913
913
  ), () => (
914
914
  /* 地形 */
915
915
  google.maps.MapTypeId.TERRAIN
916
- ), R.wgs84), i.BUILD_IN_MAP_TYPES = new mi([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
916
+ ), R.wgs84), i.BUILD_IN_MAP_TYPES = new fi([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
917
917
  })(F || (F = {}));
918
918
  var Er = /* @__PURE__ */ ((i) => (i.DEFAULT = "default", i.HORIZONTAL = "horizontal", i.DROPDOWN = "dropdown", i))(Er || {});
919
919
  const Lr = [F.NORMAL, F.SATELLITE, F.HYBRID];
@@ -969,7 +969,7 @@ class Dt extends ht {
969
969
  super("scale", t);
970
970
  }
971
971
  }
972
- class Rt extends vi {
972
+ class Rt extends yi {
973
973
  static create(t) {
974
974
  return new Rt(!0, t.position ?? D.RIGHT_BOTTOM);
975
975
  }
@@ -1000,7 +1000,7 @@ class Nt extends ht {
1000
1000
  super("zoom", t);
1001
1001
  }
1002
1002
  }
1003
- function _i(i) {
1003
+ function bi(i) {
1004
1004
  let t, e, r;
1005
1005
  const s = "The Google Maps JavaScript API", n = "google", a = "importLibrary", u = "__ib__", o = document, h = window, c = h[n] || (h[n] = {}), p = c.maps || (c.maps = {}), g = /* @__PURE__ */ new Set(), f = new URLSearchParams(), M = () => t || (t = new Promise(async (_, T) => {
1006
1006
  var l;
@@ -1011,14 +1011,14 @@ function _i(i) {
1011
1011
  }));
1012
1012
  p[a] ? console.warn(s + " only loads once. Ignoring:", i) : p[a] = (_, ...T) => g.add(_) && M().then(() => p[a](_, ...T));
1013
1013
  }
1014
- let bi, Mi;
1014
+ let Mi, Ti;
1015
1015
  const he = {
1016
1016
  /** Google的坐标0点 */
1017
1017
  get LATLNG_ZERO() {
1018
- return bi ?? (bi = new google.maps.LatLng({ lat: 0, lng: 0 }));
1018
+ return Mi ?? (Mi = new google.maps.LatLng({ lat: 0, lng: 0 }));
1019
1019
  },
1020
1020
  get BOUNDS_ZERO() {
1021
- return Mi ?? (Mi = new google.maps.LatLngBounds(this.LATLNG_ZERO, this.LATLNG_ZERO));
1021
+ return Ti ?? (Ti = new google.maps.LatLngBounds(this.LATLNG_ZERO, this.LATLNG_ZERO));
1022
1022
  }
1023
1023
  };
1024
1024
  function Pr(i, t = { country: "", province: "", city: "", district: "", street: "", streetNumber: "" }) {
@@ -1061,7 +1061,7 @@ function Br(i, t) {
1061
1061
  }
1062
1062
  class Ir {
1063
1063
  }
1064
- class Ti extends Ir {
1064
+ class Oi extends Ir {
1065
1065
  constructor(e, r) {
1066
1066
  super();
1067
1067
  m(this, "inner");
@@ -1091,7 +1091,7 @@ class Ti extends Ir {
1091
1091
  });
1092
1092
  }
1093
1093
  }
1094
- class Oi extends Ir {
1094
+ class Ci extends Ir {
1095
1095
  constructor(e, r) {
1096
1096
  super();
1097
1097
  m(this, "inner");
@@ -1113,14 +1113,14 @@ class Oi extends Ir {
1113
1113
  }
1114
1114
  addResultListener(e) {
1115
1115
  let r = 0;
1116
- const s = pi(this.inner, "confirm", (a) => {
1116
+ const s = gi(this.inner, "confirm", (a) => {
1117
1117
  const u = a.item.value;
1118
1118
  r = Date.now(), e(Object.assign({
1119
1119
  title: u.business,
1120
1120
  country: ""
1121
1121
  // Baidu的自动完成只支持中国
1122
1122
  }, u));
1123
- }), n = gi(this.input, "keyup", (a) => {
1123
+ }), n = mi(this.input, "keyup", (a) => {
1124
1124
  a.key === "Enter" && Date.now() - r > 100 && e({
1125
1125
  title: this.input.value,
1126
1126
  country: "",
@@ -1564,8 +1564,8 @@ var Sr = { exports: {} };
1564
1564
  return r;
1565
1565
  });
1566
1566
  })(Sr);
1567
- var Ci = Sr.exports;
1568
- const wi = /* @__PURE__ */ at(Ci), dr = 10, Xe = {
1567
+ var wi = Sr.exports;
1568
+ const xi = /* @__PURE__ */ at(wi), dr = 10, Xe = {
1569
1569
  toGoogle: (i, t) => ({
1570
1570
  opacity: i.opacity,
1571
1571
  radius: i.radius ?? dr,
@@ -1594,7 +1594,7 @@ const wi = /* @__PURE__ */ at(Ci), dr = 10, Xe = {
1594
1594
  };
1595
1595
  class kr {
1596
1596
  }
1597
- class xi extends kr {
1597
+ class Ei extends kr {
1598
1598
  constructor(e, r) {
1599
1599
  super();
1600
1600
  m(this, "inner");
@@ -1610,13 +1610,13 @@ class xi extends kr {
1610
1610
  this.inner.setMap(null);
1611
1611
  }
1612
1612
  }
1613
- class Ei extends kr {
1613
+ class Li extends kr {
1614
1614
  constructor(e, r) {
1615
1615
  super();
1616
1616
  m(this, "inner");
1617
1617
  this.map = e;
1618
1618
  const s = Xe.toBaidu(r, this.map.coordType, r.maxIntensity);
1619
- this.inner = new wi(s), e.innerMap.addOverlay(this.inner), this.inner.setDataSet(s.data);
1619
+ this.inner = new xi(s), e.innerMap.addOverlay(this.inner), this.inner.setDataSet(s.data);
1620
1620
  }
1621
1621
  /**
1622
1622
  * 当前的最大值
@@ -1647,7 +1647,7 @@ class Ar {
1647
1647
  }
1648
1648
  }
1649
1649
  function Be(i, t, e) {
1650
- const r = new URL(t, i), s = new URLSearchParams(Object.entries(e).filter(ds));
1650
+ const r = new URL(t, i), s = new URLSearchParams(Object.entries(e).filter(us));
1651
1651
  return r.search = "?" + s.toString(), r;
1652
1652
  }
1653
1653
  function mt() {
@@ -1740,7 +1740,7 @@ const fe = class fe extends Ar {
1740
1740
  }
1741
1741
  };
1742
1742
  m(fe, "BASE_URL", "https://api.map.baidu.com/");
1743
- let Ct = fe, Li = class Dr {
1743
+ let Ct = fe, Pi = class Dr {
1744
1744
  constructor(t, e, r) {
1745
1745
  this.extend(Dr, google.maps.OverlayView), this.map_ = t, this.MARKER_CLUSTER_IMAGE_PATH_ = "../images/m", this.MARKER_CLUSTER_IMAGE_EXTENSION_ = "png", this.markers_ = [], this.clusters_ = [], this.sizes = [53, 56, 66, 78, 90], this.styles_ = [], this.ready_ = !1;
1746
1746
  var s = r || {};
@@ -2161,7 +2161,7 @@ let Ct = fe, Li = class Dr {
2161
2161
  if (r && r.isMarkerInClusterBounds(t))
2162
2162
  r.addMarker(t);
2163
2163
  else {
2164
- var o = new Pi(this);
2164
+ var o = new Bi(this);
2165
2165
  o.addMarker(t), this.clusters_.push(o);
2166
2166
  }
2167
2167
  }
@@ -2178,7 +2178,7 @@ let Ct = fe, Li = class Dr {
2178
2178
  ), e = this.getExtendedBounds(t), r = 0, s; s = this.markers_[r]; r++)
2179
2179
  !s.isAdded && this.isMarkerInBounds_(s, e) && this.addToClosestCluster_(s);
2180
2180
  }
2181
- }, Pi = class {
2181
+ }, Bi = class {
2182
2182
  constructor(t) {
2183
2183
  this.markerClusterer_ = t, this.map_ = t.getMap(), this.gridSize_ = t.getGridSize(), this.minClusterSize_ = t.getMinClusterSize(), this.averageCenter_ = t.isAverageCenter(), this.center_ = null, this.markers_ = [], this.bounds_ = null, this.clusterIcon_ = new Gt(
2184
2184
  this,
@@ -2641,15 +2641,15 @@ var Rr = { exports: {} };
2641
2641
  }, u;
2642
2642
  });
2643
2643
  })(Rr);
2644
- var Bi = Rr.exports;
2645
- const ur = /* @__PURE__ */ at(Bi);
2644
+ var Ii = Rr.exports;
2645
+ const ur = /* @__PURE__ */ at(Ii);
2646
2646
  var $r = function(i, t, e) {
2647
- t = Ii(t);
2647
+ t = Si(t);
2648
2648
  var r = i.pointToPixel(t.getNorthEast()), s = i.pointToPixel(t.getSouthWest());
2649
2649
  r.x += e, r.y -= e, s.x -= e, s.y += e;
2650
2650
  var n = i.pixelToPoint(r), a = i.pixelToPoint(s);
2651
2651
  return new BMap.Bounds(a, n);
2652
- }, Ii = function(i) {
2652
+ }, Si = function(i) {
2653
2653
  var t = Fe(i.getNorthEast().lng, -180, 180), e = Fe(i.getSouthWest().lng, -180, 180), r = Fe(i.getNorthEast().lat, -74, 74), s = Fe(i.getSouthWest().lat, -74, 74);
2654
2654
  return new BMap.Bounds(new BMap.Point(e, s), new BMap.Point(t, r));
2655
2655
  }, Fe = function(i, t, e) {
@@ -2951,7 +2951,7 @@ class Gr {
2951
2951
  return this.inner.removeMarkers(t.map((e) => e.innerOverlay));
2952
2952
  }
2953
2953
  }
2954
- class Si extends Gr {
2954
+ class ki extends Gr {
2955
2955
  constructor(e, r) {
2956
2956
  var n;
2957
2957
  super(e);
@@ -2973,12 +2973,12 @@ class Si extends Gr {
2973
2973
  this.inner._redraw();
2974
2974
  }
2975
2975
  }
2976
- class ki extends Gr {
2976
+ class Ai extends Gr {
2977
2977
  constructor(e, r) {
2978
2978
  var n, a;
2979
2979
  super(e);
2980
2980
  m(this, "inner");
2981
- this.inner = new Li(
2981
+ this.inner = new Pi(
2982
2982
  e.innerMap,
2983
2983
  // google的构造器中的markers,不会触发重绘, 第一次绘制通过监听地图的'idle'事件触发, 可以直接设置
2984
2984
  (n = r.markers) == null ? void 0 : n.map((u) => u.innerOverlay),
@@ -3007,7 +3007,7 @@ class Zr {
3007
3007
  z();
3008
3008
  }
3009
3009
  }
3010
- class Ai extends Zr {
3010
+ class Di extends Zr {
3011
3011
  constructor(e, r) {
3012
3012
  super();
3013
3013
  m(this, "inner");
@@ -3053,7 +3053,7 @@ class Ai extends Zr {
3053
3053
  });
3054
3054
  }
3055
3055
  }
3056
- class Di extends Zr {
3056
+ class Ri extends Zr {
3057
3057
  constructor(e, r) {
3058
3058
  super();
3059
3059
  m(this, "searchRequestMap", /* @__PURE__ */ new Map());
@@ -3134,7 +3134,7 @@ class Wr {
3134
3134
  return this.onData && I("setSearchListener只能调用一次"), this.onData = t, this.onError = e, z;
3135
3135
  }
3136
3136
  }
3137
- class Ri extends Wr {
3137
+ class $i extends Wr {
3138
3138
  constructor(e, r) {
3139
3139
  super(e, r.input);
3140
3140
  m(this, "searchBox");
@@ -3150,7 +3150,7 @@ class Ri extends Wr {
3150
3150
  this.input.value && (google.maps.event.trigger(this.input, "focus", {}), google.maps.event.trigger(this.input, "keydown", { keyCode: 13 }));
3151
3151
  }
3152
3152
  }
3153
- class $i extends Wr {
3153
+ class zi extends Wr {
3154
3154
  constructor(e, r) {
3155
3155
  super(e, r.input);
3156
3156
  m(this, "autocomplete");
@@ -3169,7 +3169,7 @@ class $i extends Wr {
3169
3169
  this.placesService.search(e).then(this.onData, this.onError);
3170
3170
  }
3171
3171
  }
3172
- var zi = /* @__PURE__ */ ((i) => (i[i.WORLD = 1] = "WORLD", i[i.STATE = 5] = "STATE", i[i.CITY = 10] = "CITY", i[i.STREET = 15] = "STREET", i[i.BUILDING = 20] = "BUILDING", i))(zi || {});
3172
+ var Ni = /* @__PURE__ */ ((i) => (i[i.WORLD = 1] = "WORLD", i[i.STATE = 5] = "STATE", i[i.CITY = 10] = "CITY", i[i.STREET = 15] = "STREET", i[i.BUILDING = 20] = "BUILDING", i))(Ni || {});
3173
3173
  class Zt {
3174
3174
  constructor(t) {
3175
3175
  m(this, "latestInfoWindow");
@@ -3217,44 +3217,44 @@ class Zt {
3217
3217
  this.innerMap.setZoom(t);
3218
3218
  }
3219
3219
  }
3220
- var Ni = function(t) {
3221
- return Gi(t) && !Zi(t);
3220
+ var Gi = function(t) {
3221
+ return Zi(t) && !Wi(t);
3222
3222
  };
3223
- function Gi(i) {
3223
+ function Zi(i) {
3224
3224
  return !!i && typeof i == "object";
3225
3225
  }
3226
- function Zi(i) {
3226
+ function Wi(i) {
3227
3227
  var t = Object.prototype.toString.call(i);
3228
- return t === "[object RegExp]" || t === "[object Date]" || Vi(i);
3229
- }
3230
- var Wi = typeof Symbol == "function" && Symbol.for, Hi = Wi ? Symbol.for("react.element") : 60103;
3231
- function Vi(i) {
3232
- return i.$$typeof === Hi;
3228
+ return t === "[object RegExp]" || t === "[object Date]" || ji(i);
3233
3229
  }
3230
+ var Hi = typeof Symbol == "function" && Symbol.for, Vi = Hi ? Symbol.for("react.element") : 60103;
3234
3231
  function ji(i) {
3232
+ return i.$$typeof === Vi;
3233
+ }
3234
+ function Fi(i) {
3235
3235
  return Array.isArray(i) ? [] : {};
3236
3236
  }
3237
3237
  function $e(i, t) {
3238
- return t.clone !== !1 && t.isMergeableObject(i) ? be(ji(i), i, t) : i;
3238
+ return t.clone !== !1 && t.isMergeableObject(i) ? be(Fi(i), i, t) : i;
3239
3239
  }
3240
- function Fi(i, t, e) {
3240
+ function Ui(i, t, e) {
3241
3241
  return i.concat(t).map(function(r) {
3242
3242
  return $e(r, e);
3243
3243
  });
3244
3244
  }
3245
- function Ui(i, t) {
3245
+ function Yi(i, t) {
3246
3246
  if (!t.customMerge)
3247
3247
  return be;
3248
3248
  var e = t.customMerge(i);
3249
3249
  return typeof e == "function" ? e : be;
3250
3250
  }
3251
- function Yi(i) {
3251
+ function qi(i) {
3252
3252
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(i).filter(function(t) {
3253
3253
  return Object.propertyIsEnumerable.call(i, t);
3254
3254
  }) : [];
3255
3255
  }
3256
3256
  function pr(i) {
3257
- return Object.keys(i).concat(Yi(i));
3257
+ return Object.keys(i).concat(qi(i));
3258
3258
  }
3259
3259
  function Hr(i, t) {
3260
3260
  try {
@@ -3263,21 +3263,21 @@ function Hr(i, t) {
3263
3263
  return !1;
3264
3264
  }
3265
3265
  }
3266
- function qi(i, t) {
3266
+ function Ki(i, t) {
3267
3267
  return Hr(i, t) && !(Object.hasOwnProperty.call(i, t) && Object.propertyIsEnumerable.call(i, t));
3268
3268
  }
3269
- function Ki(i, t, e) {
3269
+ function Xi(i, t, e) {
3270
3270
  var r = {};
3271
3271
  return e.isMergeableObject(i) && pr(i).forEach(function(s) {
3272
3272
  r[s] = $e(i[s], e);
3273
3273
  }), pr(t).forEach(function(s) {
3274
- qi(i, s) || (Hr(i, s) && e.isMergeableObject(t[s]) ? r[s] = Ui(s, e)(i[s], t[s], e) : r[s] = $e(t[s], e));
3274
+ Ki(i, s) || (Hr(i, s) && e.isMergeableObject(t[s]) ? r[s] = Yi(s, e)(i[s], t[s], e) : r[s] = $e(t[s], e));
3275
3275
  }), r;
3276
3276
  }
3277
3277
  function be(i, t, e) {
3278
- e = e || {}, e.arrayMerge = e.arrayMerge || Fi, e.isMergeableObject = e.isMergeableObject || Ni, e.cloneUnlessOtherwiseSpecified = $e;
3278
+ e = e || {}, e.arrayMerge = e.arrayMerge || Ui, e.isMergeableObject = e.isMergeableObject || Gi, e.cloneUnlessOtherwiseSpecified = $e;
3279
3279
  var r = Array.isArray(t), s = Array.isArray(i), n = r === s;
3280
- return n ? r ? e.arrayMerge(i, t, e) : Ki(i, t, e) : $e(t, e);
3280
+ return n ? r ? e.arrayMerge(i, t, e) : Xi(i, t, e) : $e(t, e);
3281
3281
  }
3282
3282
  be.all = function(t, e) {
3283
3283
  if (!Array.isArray(t))
@@ -3286,15 +3286,15 @@ be.all = function(t, e) {
3286
3286
  return be(r, s, e);
3287
3287
  }, {});
3288
3288
  };
3289
- var Xi = be, Ji = Xi;
3290
- const Vr = /* @__PURE__ */ at(Ji);
3289
+ var Ji = be, Qi = Ji;
3290
+ const Vr = /* @__PURE__ */ at(Qi);
3291
3291
  /*!
3292
3292
  * isobject <https://github.com/jonschlinkert/isobject>
3293
3293
  *
3294
3294
  * Copyright (c) 2014-2017, Jon Schlinkert.
3295
3295
  * Released under the MIT License.
3296
3296
  */
3297
- function Qi(i) {
3297
+ function es(i) {
3298
3298
  return i != null && typeof i == "object" && Array.isArray(i) === !1;
3299
3299
  }
3300
3300
  /*!
@@ -3304,7 +3304,7 @@ function Qi(i) {
3304
3304
  * Released under the MIT License.
3305
3305
  */
3306
3306
  function gr(i) {
3307
- return Qi(i) === !0 && Object.prototype.toString.call(i) === "[object Object]";
3307
+ return es(i) === !0 && Object.prototype.toString.call(i) === "[object Object]";
3308
3308
  }
3309
3309
  function jr(i) {
3310
3310
  var t, e;
@@ -3375,7 +3375,7 @@ function mr(i) {
3375
3375
  }
3376
3376
  }
3377
3377
  ce.toJsonSafely;
3378
- const es = ["single", "multi"];
3378
+ const ts = ["single", "multi"];
3379
3379
  var re = /* @__PURE__ */ ((i) => (i.auto = "auto", i.none = "none", i.greedy = "greedy", i.cooperative = "cooperative", i))(re || {}), wt;
3380
3380
  ((i) => {
3381
3381
  function t(e) {
@@ -3594,10 +3594,10 @@ var le;
3594
3594
  i.ZERO = { x: 0, y: 0 };
3595
3595
  })(le || (le = {}));
3596
3596
  let ft;
3597
- function ts(i, t, e, r, s, n) {
3598
- return ft || (ft = rs()), new ft(i, t, e, r, s, n);
3597
+ function rs(i, t, e, r, s, n) {
3598
+ return ft || (ft = is()), new ft(i, t, e, r, s, n);
3599
3599
  }
3600
- function rs() {
3600
+ function is() {
3601
3601
  Tr();
3602
3602
  const i = new BMap.Point(0, 0);
3603
3603
  return class extends BMap.OverlayV3 {
@@ -3770,7 +3770,7 @@ class Yt extends ct {
3770
3770
  }
3771
3771
  static create(t) {
3772
3772
  var s;
3773
- const e = this.coordType, r = ts(
3773
+ const e = this.coordType, r = rs(
3774
3774
  t.content,
3775
3775
  (s = t.position) == null ? void 0 : s.toBaidu(e),
3776
3776
  t.offset,
@@ -3899,7 +3899,7 @@ var ze = /* @__PURE__ */ ((i) => (i.map = "map", i.overlay = "overlay", i.overla
3899
3899
  }
3900
3900
  i.toBaidu = e;
3901
3901
  })(Ne || (Ne = {}));
3902
- class is {
3902
+ class ss {
3903
3903
  constructor(t, e) {
3904
3904
  m(this, "baidu");
3905
3905
  m(this, "google");
@@ -3973,10 +3973,10 @@ class is {
3973
3973
  }
3974
3974
  }
3975
3975
  let vt;
3976
- function ss(i, t, e, r, s) {
3977
- return vt || (vt = ns()), new vt(i, t, e, r, s);
3976
+ function ns(i, t, e, r, s) {
3977
+ return vt || (vt = os()), new vt(i, t, e, r, s);
3978
3978
  }
3979
- function ns() {
3979
+ function os() {
3980
3980
  return class extends google.maps.OverlayView {
3981
3981
  constructor(e, r, s, n = ze.overlayMouseTarget, a) {
3982
3982
  super();
@@ -4148,7 +4148,7 @@ class Kt extends ct {
4148
4148
  class Xt extends Wt {
4149
4149
  static create(t) {
4150
4150
  var s;
4151
- const e = this.coordType, r = ss(
4151
+ const e = this.coordType, r = ns(
4152
4152
  Te.toElement(t.content),
4153
4153
  (s = t.position) == null ? void 0 : s.toGoogle(e),
4154
4154
  t.offset,
@@ -4240,7 +4240,7 @@ var Oe;
4240
4240
  }
4241
4241
  i.toBaidu = e;
4242
4242
  })(Oe || (Oe = {}));
4243
- const bn = {
4243
+ const Mn = {
4244
4244
  CIRCLE: { baidu: () => BMap_Symbol_SHAPE_CIRCLE, google: () => google.maps.SymbolPath.CIRCLE },
4245
4245
  BACKWARD_CLOSED_ARROW: { baidu: () => BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW, google: () => google.maps.SymbolPath.BACKWARD_CLOSED_ARROW },
4246
4246
  BACKWARD_OPEN_ARROW: { baidu: () => BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW, google: () => google.maps.SymbolPath.BACKWARD_OPEN_ARROW },
@@ -4740,7 +4740,7 @@ class nr extends dt {
4740
4740
  }
4741
4741
  }
4742
4742
  const pe = 1;
4743
- class os extends Zt {
4743
+ class as extends Zt {
4744
4744
  constructor(e, r) {
4745
4745
  var s;
4746
4746
  super(e);
@@ -4759,7 +4759,7 @@ class os extends Zt {
4759
4759
  m(this, "createZoomControl", zt.create);
4760
4760
  m(this, "createStreetViewControl", Rt.create);
4761
4761
  m(this, "createScaleControl", At.create);
4762
- this.buildInMapTypeId2BIMT = F.BUILD_IN_MAP_TYPES.getValueMap(j.prototype.getId), this.baiduMapType2BIMT = F.BUILD_IN_MAP_TYPES.getValueMap(j.prototype.asBaiduMapType), ui(), this.map = new BMap.Map(e, {
4762
+ this.buildInMapTypeId2BIMT = F.BUILD_IN_MAP_TYPES.getValueMap(j.prototype.getId), this.baiduMapType2BIMT = F.BUILD_IN_MAP_TYPES.getValueMap(j.prototype.asBaiduMapType), pi(), this.map = new BMap.Map(e, {
4763
4763
  minZoom: r.minZoom && r.minZoom + pe,
4764
4764
  maxZoom: r.maxZoom && r.maxZoom + pe,
4765
4765
  mapType: r.buildInMapTypeId && ((s = this.buildInMapTypeId2BIMT.get(r.buildInMapTypeId)) == null ? void 0 : s.asBaiduMapType()),
@@ -4907,25 +4907,25 @@ class os extends Zt {
4907
4907
  e.inner && (ve(e.inner instanceof BMap.Control, `control.inner(${e.inner})需要是BMap.Control`), this.map.removeControl(e.inner));
4908
4908
  }
4909
4909
  createMarkerClusterer(e) {
4910
- return new Si(this, e);
4910
+ return new ki(this, e);
4911
4911
  }
4912
4912
  createHeatmap(e) {
4913
- return new Ei(this, e);
4913
+ return new Li(this, e);
4914
4914
  }
4915
4915
  createAutocomplete(e) {
4916
- return new Oi(this, e);
4916
+ return new Ci(this, e);
4917
4917
  }
4918
4918
  createSearchBox(e) {
4919
- return new $i(this, e);
4919
+ return new zi(this, e);
4920
4920
  }
4921
4921
  createPlacesService(e) {
4922
- return new Di(this, e);
4922
+ return new Ri(this, e);
4923
4923
  }
4924
4924
  createMapUrls(e) {
4925
4925
  return new Ct(e);
4926
4926
  }
4927
4927
  }
4928
- class as extends Zt {
4928
+ class ls extends Zt {
4929
4929
  constructor(e, r) {
4930
4930
  var n, a;
4931
4931
  super(e);
@@ -5075,25 +5075,25 @@ class as extends Zt {
5075
5075
  }
5076
5076
  }
5077
5077
  createMarkerClusterer(e) {
5078
- return new ki(this, e);
5078
+ return new Ai(this, e);
5079
5079
  }
5080
5080
  createHeatmap(e) {
5081
- return new xi(this, e);
5081
+ return new Ei(this, e);
5082
5082
  }
5083
5083
  createAutocomplete(e) {
5084
- return new Ti(this, e);
5084
+ return new Oi(this, e);
5085
5085
  }
5086
5086
  createSearchBox(e) {
5087
- return new Ri(this, e);
5087
+ return new $i(this, e);
5088
5088
  }
5089
5089
  createPlacesService(e) {
5090
- return new Ai(this, e);
5090
+ return new Di(this, e);
5091
5091
  }
5092
5092
  createMapUrls(e) {
5093
5093
  return new Ot(e);
5094
5094
  }
5095
5095
  }
5096
- const it = ["3.0"], ls = {
5096
+ const it = ["3.0"], hs = {
5097
5097
  baidu: {
5098
5098
  version: "3.0",
5099
5099
  // 在build时会被静态替换, 导致使用者不能无法设置它
@@ -5116,10 +5116,10 @@ let Ur;
5116
5116
  function Yr() {
5117
5117
  return Ur || I("请先安装: Vue<PartialTgMapConfig>.use(TgMap, {})");
5118
5118
  }
5119
- function hs(i) {
5120
- i != null && (Ur = Vr(ls, i));
5119
+ function cs(i) {
5120
+ i != null && (Ur = Vr(hs, i));
5121
5121
  }
5122
- class cs extends Zt {
5122
+ class ds extends Zt {
5123
5123
  constructor(e, r) {
5124
5124
  var a;
5125
5125
  super(e);
@@ -5283,40 +5283,40 @@ var X = /* @__PURE__ */ ((i) => (i.google = "google", i.baidu = "baidu", i.here
5283
5283
  const n = wt.create(s);
5284
5284
  switch (e) {
5285
5285
  case "google":
5286
- return new as(r, n);
5286
+ return new ls(r, n);
5287
5287
  case "baidu":
5288
- return new os(r, n);
5288
+ return new as(r, n);
5289
5289
  case "here":
5290
- return new cs(r, n);
5290
+ return new ds(r, n);
5291
5291
  }
5292
5292
  }
5293
5293
  i.createMap = t;
5294
5294
  })(Et || (Et = {}));
5295
- function Mn(i) {
5295
+ function Tn(i) {
5296
5296
  throw new Error(`todo: ${i}`);
5297
5297
  }
5298
- function Tn(i) {
5298
+ function On(i) {
5299
5299
  return i;
5300
5300
  }
5301
- function ds(i) {
5301
+ function us(i) {
5302
5302
  return i[1] != null;
5303
5303
  }
5304
- function us(i) {
5304
+ function ps(i) {
5305
5305
  let t = null;
5306
5306
  return () => t ?? (t = i().catch((e) => (t = null, Promise.reject(e))));
5307
5307
  }
5308
- var ps = { VITE_APP_DEV_KEY_BAIDU: "", VITE_APP_DEV_KEY_GOOGLE: "", VITE_APP_DEV_KEY_HERE: "", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
5309
- const gs = {};
5310
- function ms(i) {
5311
- return ce.putIfAbsent(gs, i, () => us(() => fs({ type: i, config: Yr()[i] })))();
5308
+ var gs = { VITE_APP_DEV_KEY_BAIDU: "", VITE_APP_DEV_KEY_GOOGLE: "", VITE_APP_DEV_KEY_HERE: "", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
5309
+ const ms = {};
5310
+ function fs(i) {
5311
+ return ce.putIfAbsent(ms, i, () => ps(() => vs({ type: i, config: Yr()[i] })))();
5312
5312
  }
5313
- function fs({ type: i, config: t }) {
5314
- const e = window, r = vs(i);
5313
+ function vs({ type: i, config: t }) {
5314
+ const e = window, r = ys(i);
5315
5315
  if (ce.get(e, r))
5316
5316
  return Promise.resolve();
5317
5317
  switch (i !== X.here && !t.key && I(`请先配置${i}地图的key`), i) {
5318
5318
  case X.google:
5319
- return ps.VITE_FALSE ? (_i({
5319
+ return gs.VITE_FALSE ? (bi({
5320
5320
  key: t.key,
5321
5321
  v: "3.52"
5322
5322
  // v: config.version,
@@ -5338,7 +5338,7 @@ function fs({ type: i, config: t }) {
5338
5338
  function xe(i, t = it[0]) {
5339
5339
  return `https://js.api.here.com/v3/${t}/mapsjs-${i}.js`;
5340
5340
  }
5341
- function vs(i) {
5341
+ function ys(i) {
5342
5342
  switch (i) {
5343
5343
  case X.google:
5344
5344
  return "google.maps";
@@ -5348,10 +5348,10 @@ function vs(i) {
5348
5348
  return "H";
5349
5349
  }
5350
5350
  }
5351
- let ys = 0;
5351
+ let _s = 0;
5352
5352
  function fr(i, t = "callback") {
5353
5353
  return new Promise((e, r) => {
5354
- const s = `__callback${ys++}`;
5354
+ const s = `__callback${_s++}`;
5355
5355
  window[s] = e;
5356
5356
  const n = document.createElement("script");
5357
5357
  n.src = `${i}&${t}=${s}`, n.onerror = r, document.body.appendChild(n);
@@ -5370,7 +5370,7 @@ function Y(i, t) {
5370
5370
  validator: (e) => Object.values(i).includes(e)
5371
5371
  };
5372
5372
  }
5373
- function _s(i, t) {
5373
+ function bs(i, t) {
5374
5374
  return {
5375
5375
  type: String,
5376
5376
  default: t,
@@ -5389,7 +5389,7 @@ function b(i, t) {
5389
5389
  default: t
5390
5390
  };
5391
5391
  }
5392
- function On(i) {
5392
+ function Cn(i) {
5393
5393
  const t = {};
5394
5394
  return Object.entries(i).forEach(([e, r]) => {
5395
5395
  const s = `__${e}`;
@@ -5412,15 +5412,15 @@ const Le = {
5412
5412
  get: z,
5413
5413
  set: z
5414
5414
  };
5415
- function bs(i) {
5415
+ function Ms(i) {
5416
5416
  return Object.keys(i).forEach((t) => {
5417
5417
  const e = i[t];
5418
5418
  let r = !1;
5419
5419
  typeof e == "function" ? (Le.get = e, Le.set = z, r = !0) : typeof e == "object" && typeof e.get == "function" && (Le.get = e.get, Le.set = e.set, r = !0), r && (i[t] = Object.defineProperty(i, t, Le));
5420
5420
  }), i;
5421
5421
  }
5422
- function Cn(i) {
5423
- return bs(i);
5422
+ function wn(i) {
5423
+ return Ms(i);
5424
5424
  }
5425
5425
  function ut() {
5426
5426
  return _t();
@@ -5431,12 +5431,12 @@ function Ue(i, t) {
5431
5431
  for (const r of e)
5432
5432
  r.call(i);
5433
5433
  }
5434
- function wn(i, t) {
5434
+ function xn(i, t) {
5435
5435
  for (const e of i)
5436
5436
  if (e.$options.name === t.name)
5437
5437
  return e;
5438
5438
  }
5439
- function xn(i, t) {
5439
+ function En(i, t) {
5440
5440
  if (!i.default)
5441
5441
  return;
5442
5442
  const e = i.default();
@@ -5444,7 +5444,7 @@ function xn(i, t) {
5444
5444
  if ((r == null ? void 0 : r.type).name === t.name)
5445
5445
  return r;
5446
5446
  }
5447
- function Ms(i, t) {
5447
+ function Ts(i, t) {
5448
5448
  const e = {}, r = {}, s = {};
5449
5449
  return Object.keys(i).forEach((n) => {
5450
5450
  n.startsWith("on") ? e[Me.pascal2kebab(n.substring(2))] = i[n] : r[n] = i[n];
@@ -5460,12 +5460,12 @@ function Ms(i, t) {
5460
5460
  };
5461
5461
  }
5462
5462
  function ne(i, t) {
5463
- return _r(() => Ms(i, t));
5463
+ return _r(() => Ts(i, t));
5464
5464
  }
5465
5465
  function A() {
5466
5466
  return Function;
5467
5467
  }
5468
- const En = () => {
5468
+ const Ln = () => {
5469
5469
  let i, t;
5470
5470
  function e(s) {
5471
5471
  console.log(s), i = s && s.type, t = Date.now();
@@ -5490,7 +5490,7 @@ const En = () => {
5490
5490
  render() {
5491
5491
  return ut();
5492
5492
  }
5493
- }), Ts = P({
5493
+ }), Os = P({
5494
5494
  name: "tg-map",
5495
5495
  provide() {
5496
5496
  return {
@@ -5531,7 +5531,7 @@ const En = () => {
5531
5531
  * 该属性不会响应式更新, 要让它立即生效, 请参考{@link file://./../views/map/InfoDemo.vue#L3}
5532
5532
  * @see MapOptions.infoWindowMode
5533
5533
  */
5534
- infoWindowMode: _s(es),
5534
+ infoWindowMode: bs(ts),
5535
5535
  gestureHandling: Y(re),
5536
5536
  minZoom: b(Number),
5537
5537
  maxZoom: b(Number),
@@ -5597,7 +5597,7 @@ const En = () => {
5597
5597
  async mounted() {
5598
5598
  const i = this.type;
5599
5599
  try {
5600
- await ms(i);
5600
+ await fs(i);
5601
5601
  } catch (s) {
5602
5602
  this.$emit("error", s);
5603
5603
  return;
@@ -5621,7 +5621,7 @@ const En = () => {
5621
5621
  buildInMapTypeId: this.mapTypeId
5622
5622
  }
5623
5623
  );
5624
- if (this.map = ei(t), this.mapType && t.setMapType(this.mapType), "ready" in this.attrs.listeners && console.error("地图载入完成的事件已经从ready改为了load, 请手动修改"), se(
5624
+ if (this.map = ti(t), this.mapType && t.setMapType(this.mapType), "ready" in this.attrs.listeners && console.error("地图载入完成的事件已经从ready改为了load, 请手动修改"), se(
5625
5625
  this.attrs.listeners,
5626
5626
  t,
5627
5627
  /* excludes: */
@@ -5659,9 +5659,9 @@ const En = () => {
5659
5659
  e[r] = s;
5660
5660
  return e;
5661
5661
  };
5662
- function Os(i, t, e, r, s, n) {
5662
+ function Cs(i, t, e, r, s, n) {
5663
5663
  return de(), ue("div", He({ class: "tg-map" }, i.attrs.binds), [
5664
- ti("div", {
5664
+ ri("div", {
5665
5665
  ref: "map",
5666
5666
  class: nt({
5667
5667
  "tg-map__map": !0,
@@ -5673,8 +5673,8 @@ function Os(i, t, e, r, s, n) {
5673
5673
  J(i.$slots, "overlay")
5674
5674
  ], 16);
5675
5675
  }
5676
- const Ve = /* @__PURE__ */ oe(Ts, [["render", Os]]);
5677
- function Cs(i) {
5676
+ const Ve = /* @__PURE__ */ oe(Os, [["render", Cs]]);
5677
+ function ws(i) {
5678
5678
  if (i == null)
5679
5679
  return;
5680
5680
  let t;
@@ -5685,7 +5685,7 @@ function Cs(i) {
5685
5685
  t = i;
5686
5686
  return `${t}px`;
5687
5687
  }
5688
- const ws = P({
5688
+ const xs = P({
5689
5689
  name: "tg-map-widget",
5690
5690
  props: {
5691
5691
  left: {
@@ -5711,18 +5711,18 @@ const ws = P({
5711
5711
  }
5712
5712
  },
5713
5713
  methods: {
5714
- dimen: Cs
5714
+ dimen: ws
5715
5715
  }
5716
5716
  });
5717
- function xs(i, t, e, r, s, n) {
5717
+ function Es(i, t, e, r, s, n) {
5718
5718
  return de(), ue("div", {
5719
5719
  class: nt(i.$options.name),
5720
- style: ri({ left: i.dimen(i.left), top: i.dimen(i.topValue), right: i.dimen(i.right), bottom: i.dimen(i.bottom) })
5720
+ style: ii({ left: i.dimen(i.left), top: i.dimen(i.topValue), right: i.dimen(i.right), bottom: i.dimen(i.bottom) })
5721
5721
  }, [
5722
5722
  J(i.$slots, "default")
5723
5723
  ], 6);
5724
5724
  }
5725
- const Es = /* @__PURE__ */ oe(ws, [["render", xs]]), Ls = P({
5725
+ const Ls = /* @__PURE__ */ oe(xs, [["render", Es]]), Ps = P({
5726
5726
  name: "tg-custom-control",
5727
5727
  mixins: [N],
5728
5728
  props: {
@@ -5740,7 +5740,7 @@ const Es = /* @__PURE__ */ oe(ws, [["render", xs]]), Ls = P({
5740
5740
  },
5741
5741
  onCreate() {
5742
5742
  Mr(this.$parent, Ve) || console.warn("请将tg-custom-control放到tg-map中");
5743
- const { $el: i } = this, t = class extends fi {
5743
+ const { $el: i } = this, t = class extends vi {
5744
5744
  onCreateElement() {
5745
5745
  return i;
5746
5746
  }
@@ -5751,14 +5751,14 @@ const Es = /* @__PURE__ */ oe(ws, [["render", xs]]), Ls = P({
5751
5751
  this.$map.removeCustomControl(this.control);
5752
5752
  }
5753
5753
  });
5754
- function Ps(i, t, e, r, s, n) {
5754
+ function Bs(i, t, e, r, s, n) {
5755
5755
  return de(), ue("div", {
5756
5756
  class: nt(i.$options.name)
5757
5757
  }, [
5758
5758
  J(i.$slots, "default")
5759
5759
  ], 2);
5760
5760
  }
5761
- const Bs = /* @__PURE__ */ oe(Ls, [["render", Ps]]), Is = P({
5761
+ const Is = /* @__PURE__ */ oe(Ps, [["render", Bs]]), Ss = P({
5762
5762
  name: "tg-map-type-control",
5763
5763
  mixins: [N],
5764
5764
  props: {
@@ -5791,7 +5791,7 @@ const Bs = /* @__PURE__ */ oe(Ls, [["render", Ps]]), Is = P({
5791
5791
  onDestroy() {
5792
5792
  this.$map.removeControl(this.control);
5793
5793
  }
5794
- }), Ss = P({
5794
+ }), ks = P({
5795
5795
  name: "tg-scale-control",
5796
5796
  mixins: [N],
5797
5797
  props: {
@@ -5816,7 +5816,7 @@ const Bs = /* @__PURE__ */ oe(Ls, [["render", Ps]]), Is = P({
5816
5816
  });
5817
5817
  function qr() {
5818
5818
  var e;
5819
- const i = (e = ii()) == null ? void 0 : e.type;
5819
+ const i = (e = si()) == null ? void 0 : e.type;
5820
5820
  let t = (i == null ? void 0 : i.name) ?? (i == null ? void 0 : i.__name);
5821
5821
  if (!t) {
5822
5822
  const r = i == null ? void 0 : i.__file;
@@ -5825,7 +5825,7 @@ function qr() {
5825
5825
  return t;
5826
5826
  }
5827
5827
  function ar() {
5828
- const i = si(or);
5828
+ const i = ni(or);
5829
5829
  let t, e;
5830
5830
  return i == null && I(`<${qr() || "unknown"}>必须作为<tg-map>的子代组件`), {
5831
5831
  mapRef: i,
@@ -5835,11 +5835,11 @@ function ar() {
5835
5835
  },
5836
5836
  /** 地图元素创建回调 */
5837
5837
  [Ze](r) {
5838
- ni(r), t && I(`${Ze}只能调用一次`), t = r;
5838
+ oi(r), t && I(`${Ze}只能调用一次`), t = r;
5839
5839
  },
5840
5840
  /** 地图元素销毁回调 */
5841
5841
  [We](r) {
5842
- oi(r), e && I(`${We}只能调用一次`), e = r;
5842
+ ai(r), e && I(`${We}只能调用一次`), e = r;
5843
5843
  },
5844
5844
  /** 重新创建地图元素 */
5845
5845
  recreate() {
@@ -5847,7 +5847,7 @@ function ar() {
5847
5847
  }
5848
5848
  };
5849
5849
  }
5850
- const ks = P({
5850
+ const As = P({
5851
5851
  name: "tg-street-view-control",
5852
5852
  props: {
5853
5853
  position: Y(D, D.RIGHT_BOTTOM)
@@ -5863,7 +5863,7 @@ const ks = P({
5863
5863
  t.setPosition(n);
5864
5864
  }), ut;
5865
5865
  }
5866
- }), As = P({
5866
+ }), Ds = P({
5867
5867
  name: "tg-zoom-control",
5868
5868
  props: {
5869
5869
  position: Y(D, D.RIGHT_BOTTOM)
@@ -5879,7 +5879,7 @@ const ks = P({
5879
5879
  t.setPosition(n);
5880
5880
  }), ut;
5881
5881
  }
5882
- }), Ds = P({
5882
+ }), Rs = P({
5883
5883
  name: "tg-heatmap",
5884
5884
  props: {
5885
5885
  maxIntensity: b(Number),
@@ -5900,7 +5900,7 @@ const ks = P({
5900
5900
  () => s.setOptions(i)
5901
5901
  ), ut;
5902
5902
  }
5903
- }), Rs = P({
5903
+ }), $s = P({
5904
5904
  name: "tg-marker-clusterer",
5905
5905
  mixins: [N],
5906
5906
  // markers从this.$children中读取, 故需要省略(Omit)
@@ -5964,14 +5964,14 @@ const ks = P({
5964
5964
  }
5965
5965
  }
5966
5966
  });
5967
- function $s(i, t, e, r, s, n) {
5967
+ function zs(i, t, e, r, s, n) {
5968
5968
  return de(), ue("div", {
5969
5969
  class: nt(i.$options.name)
5970
5970
  }, [
5971
5971
  J(i.$slots, "default")
5972
5972
  ], 2);
5973
5973
  }
5974
- const Kr = /* @__PURE__ */ oe(Rs, [["render", $s]]), zs = P({
5974
+ const Kr = /* @__PURE__ */ oe($s, [["render", zs]]), Ns = P({
5975
5975
  name: "tg-traffic-layer",
5976
5976
  mixins: [N],
5977
5977
  // 请直接使用v-if来控制它的显隐
@@ -5984,12 +5984,12 @@ const Kr = /* @__PURE__ */ oe(Rs, [["render", $s]]), zs = P({
5984
5984
  },
5985
5985
  watch: {},
5986
5986
  onCreate() {
5987
- this.layer = new yi(), this.$map.addLayer(this.layer);
5987
+ this.layer = new _i(), this.$map.addLayer(this.layer);
5988
5988
  },
5989
5989
  onDestroy() {
5990
5990
  this.$map.removeLayer(this.layer);
5991
5991
  }
5992
- }), Ns = P({
5992
+ }), Gs = P({
5993
5993
  name: "tg-circle",
5994
5994
  mixins: [N],
5995
5995
  inheritAttrs: !1,
@@ -6069,7 +6069,7 @@ const Kr = /* @__PURE__ */ oe(Rs, [["render", $s]]), zs = P({
6069
6069
  this.$map.removeOverlay(this.overlay);
6070
6070
  }
6071
6071
  });
6072
- class Gs extends is {
6072
+ class Zs extends ss {
6073
6073
  constructor(t, e, r, s) {
6074
6074
  super(t, e), this.content = r, this.position = s;
6075
6075
  }
@@ -6084,7 +6084,7 @@ class Gs extends is {
6084
6084
  this.position = t, this.draw();
6085
6085
  }
6086
6086
  }
6087
- const Zs = P({
6087
+ const Ws = P({
6088
6088
  name: "tg-element-overlay",
6089
6089
  mixins: [N],
6090
6090
  props: {
@@ -6110,20 +6110,20 @@ const Zs = P({
6110
6110
  }
6111
6111
  },
6112
6112
  onCreate() {
6113
- this.overlay = new Gs(this.$map, this, this.content(), this.position), this.$map.addElementOverlay(this.overlay);
6113
+ this.overlay = new Zs(this.$map, this, this.content(), this.position), this.$map.addElementOverlay(this.overlay);
6114
6114
  },
6115
6115
  onDestroy() {
6116
6116
  this.$map.removeElementOverlay(this.overlay);
6117
6117
  }
6118
6118
  });
6119
- function Ws(i, t, e, r, s, n) {
6119
+ function Hs(i, t, e, r, s, n) {
6120
6120
  return de(), ue("div", He({
6121
6121
  class: i.$options.name
6122
6122
  }, i.$attrs), [
6123
6123
  J(i.$slots, "default")
6124
6124
  ], 16);
6125
6125
  }
6126
- const Hs = /* @__PURE__ */ oe(Zs, [["render", Ws]]), Vs = P({
6126
+ const Vs = /* @__PURE__ */ oe(Ws, [["render", Hs]]), js = P({
6127
6127
  name: "tg-marker",
6128
6128
  mixins: [N],
6129
6129
  inheritAttrs: !1,
@@ -6169,8 +6169,8 @@ const Hs = /* @__PURE__ */ oe(Zs, [["render", Ws]]), Vs = P({
6169
6169
  title(i) {
6170
6170
  this.marker.setTitle(i);
6171
6171
  },
6172
- label(i) {
6173
- i ? this.marker.setLabel(i) : this.recreate();
6172
+ label(i, t) {
6173
+ ei(i, t) || (i ? this.marker.setLabel(i) : this.recreate());
6174
6174
  },
6175
6175
  icon(i) {
6176
6176
  i ? this.marker.setIcon(i) : this.recreate();
@@ -6229,10 +6229,10 @@ const Hs = /* @__PURE__ */ oe(Zs, [["render", Ws]]), Vs = P({
6229
6229
  }
6230
6230
  }
6231
6231
  });
6232
- function js(i, t, e, r, s, n) {
6232
+ function Fs(i, t, e, r, s, n) {
6233
6233
  return J(i.$slots, "default");
6234
6234
  }
6235
- const pt = /* @__PURE__ */ oe(Vs, [["render", js]]), Fs = P({
6235
+ const pt = /* @__PURE__ */ oe(js, [["render", Fs]]), Us = P({
6236
6236
  name: "tg-info-box",
6237
6237
  mixins: [N],
6238
6238
  inheritAttrs: !1,
@@ -6305,14 +6305,14 @@ const pt = /* @__PURE__ */ oe(Vs, [["render", js]]), Fs = P({
6305
6305
  }
6306
6306
  }
6307
6307
  });
6308
- function Us(i, t, e, r, s, n) {
6308
+ function Ys(i, t, e, r, s, n) {
6309
6309
  return de(), ue("div", He({
6310
6310
  class: i.$options.name
6311
6311
  }, i.attrs.binds), [
6312
6312
  J(i.$slots, "default")
6313
6313
  ], 16);
6314
6314
  }
6315
- const Ys = /* @__PURE__ */ oe(Fs, [["render", Us]]), qs = P({
6315
+ const qs = /* @__PURE__ */ oe(Us, [["render", Ys]]), Ks = P({
6316
6316
  name: "tg-info-window",
6317
6317
  mixins: [N],
6318
6318
  inheritAttrs: !1,
@@ -6376,16 +6376,16 @@ const Ys = /* @__PURE__ */ oe(Fs, [["render", Us]]), qs = P({
6376
6376
  this.$marker() ? this.$marker().onRemoveInfo(this) : this.overlay.close();
6377
6377
  }
6378
6378
  });
6379
- function Ks(i, t, e, r, s, n) {
6380
- return ai((de(), ue("div", He({
6379
+ function Xs(i, t, e, r, s, n) {
6380
+ return li((de(), ue("div", He({
6381
6381
  class: i.$options.name
6382
6382
  }, i.attrs.binds), [
6383
6383
  J(i.$slots, "default")
6384
6384
  ], 16)), [
6385
- [li, i.show]
6385
+ [hi, i.show]
6386
6386
  ]);
6387
6387
  }
6388
- const Xs = /* @__PURE__ */ oe(qs, [["render", Ks]]), Js = P({
6388
+ const Js = /* @__PURE__ */ oe(Ks, [["render", Xs]]), Qs = P({
6389
6389
  name: "tg-label",
6390
6390
  mixins: [N],
6391
6391
  inheritAttrs: !1,
@@ -6447,14 +6447,14 @@ const Xs = /* @__PURE__ */ oe(qs, [["render", Ks]]), Js = P({
6447
6447
  this.$marker() ? this.$marker().onRemoveLabel(this) : this.$map.removeOverlay(this.overlay);
6448
6448
  }
6449
6449
  });
6450
- function Qs(i, t, e, r, s, n) {
6450
+ function en(i, t, e, r, s, n) {
6451
6451
  return de(), ue("div", He({
6452
6452
  class: i.$options.name
6453
6453
  }, i.attrs.binds), [
6454
6454
  J(i.$slots, "default")
6455
6455
  ], 16);
6456
6456
  }
6457
- const en = /* @__PURE__ */ oe(Js, [["render", Qs]]), tn = P({
6457
+ const tn = /* @__PURE__ */ oe(Qs, [["render", en]]), rn = P({
6458
6458
  name: "tg-polygon",
6459
6459
  mixins: [N],
6460
6460
  inheritAttrs: !1,
@@ -6523,7 +6523,7 @@ const en = /* @__PURE__ */ oe(Js, [["render", Qs]]), tn = P({
6523
6523
  onDestroy() {
6524
6524
  this.$map.removeOverlay(this.overlay);
6525
6525
  }
6526
- }), rn = P({
6526
+ }), sn = P({
6527
6527
  name: "tg-polyline",
6528
6528
  mixins: [N],
6529
6529
  inheritAttrs: !1,
@@ -6591,7 +6591,7 @@ const en = /* @__PURE__ */ oe(Js, [["render", Qs]]), tn = P({
6591
6591
  onDestroy() {
6592
6592
  this.overlay.remove();
6593
6593
  }
6594
- }), sn = P({
6594
+ }), nn = P({
6595
6595
  name: "tg-rectangle",
6596
6596
  mixins: [N],
6597
6597
  inheritAttrs: !1,
@@ -6657,13 +6657,13 @@ const en = /* @__PURE__ */ oe(Js, [["render", Qs]]), tn = P({
6657
6657
  onDestroy() {
6658
6658
  this.$map.removeOverlay(this.overlay);
6659
6659
  }
6660
- }), nn = ["beforeUpdate", "updated"], Ln = {
6660
+ }), on = ["beforeUpdate", "updated"], Pn = {
6661
6661
  install(i, t = {}) {
6662
6662
  if (t.enable !== !1) {
6663
6663
  const e = P({
6664
6664
  beforeCreate() {
6665
6665
  const r = qr() ?? "", n = (t.nameRegex || /^[A-Z]/).test(r) ? (a) => {
6666
- t.hookNames ? t.hookNames.includes(a) && console.debug("[lifecycle]", r, a) : nn.includes(a) || console.debug("[lifecycle]", r, a);
6666
+ t.hookNames ? t.hookNames.includes(a) && console.debug("[lifecycle]", r, a) : on.includes(a) || console.debug("[lifecycle]", r, a);
6667
6667
  } : z;
6668
6668
  n("beforeCreate"), this.__life_impl = n;
6669
6669
  },
@@ -6703,24 +6703,24 @@ const en = /* @__PURE__ */ oe(Js, [["render", Qs]]), tn = P({
6703
6703
  i.mixin(e);
6704
6704
  }
6705
6705
  }
6706
- }, on = 6378137;
6706
+ }, an = 6378137;
6707
6707
  function Ie(i) {
6708
6708
  return i * Math.PI / 180;
6709
6709
  }
6710
6710
  function vr(i) {
6711
6711
  return i * 180 / Math.PI;
6712
6712
  }
6713
- function an(i, t) {
6713
+ function ln(i, t) {
6714
6714
  if (i.lat === t.lat && i.lng === t.lng)
6715
6715
  return 0;
6716
6716
  const e = Ie((i.lat + t.lat) / 2), r = Ie((i.lat - t.lat) / 2), s = Ie((i.lng - t.lng) / 2);
6717
6717
  let n = Math.sin(r), a = Math.sin(s), u = Math.sin(e);
6718
- const o = on, h = 1 / 298.257;
6718
+ const o = an, h = 1 / 298.257;
6719
6719
  n = n * n, a = a * a, u = u * u;
6720
6720
  const c = n * (1 - a) + (1 - u) * a, p = (1 - n) * (1 - a) + u * a, g = Math.atan(Math.sqrt(c / p)), f = Math.sqrt(c * p) / g, M = 2 * g * o, _ = (3 * f - 1) / 2 / p, T = (3 * f + 1) / 2 / c;
6721
6721
  return M * (1 + h * (_ * u * (1 - n) - T * (1 - u) * n));
6722
6722
  }
6723
- function ln(i, t, e) {
6723
+ function hn(i, t, e) {
6724
6724
  const s = 63567523142e-4, n = 1 / 298.257223563, a = Ie(t), u = Math.sin(a), o = Math.cos(a), h = (1 - n) * Math.tan(Ie(i.lat)), c = 1 / Math.sqrt(1 + h * h), p = h * c, g = Math.atan2(h, o), f = c * u, M = 1 - f * f, _ = M * (6378137 * 6378137 - s * s) / (s * s), T = 1 + _ / 16384 * (4096 + _ * (-768 + _ * (320 - 175 * _))), l = _ / 1024 * (256 + _ * (-128 + _ * (74 - 47 * _)));
6725
6725
  let d = 0, v = 0, y = 0, C = e / (s * T), w = 2 * Math.PI;
6726
6726
  for (; Math.abs(C - w) > 1e-12; ) {
@@ -6734,15 +6734,15 @@ function ln(i, t, e) {
6734
6734
  ), G = Math.atan2(v * u, c * y - p * v * o), B = n / 16 * M * (4 + n * (4 - 3 * M)), ee = G - (1 - B) * n * f * (C + B * v * (d + B * y * (-1 + 2 * d * d)));
6735
6735
  return { lng: i.lng + vr(ee), lat: vr(k) };
6736
6736
  }
6737
- const Pn = {
6738
- getDistance: an,
6739
- getDestination: ln
6740
- };
6741
- var hn = { VITE_APP_DEV_KEY_BAIDU: "", VITE_APP_DEV_KEY_GOOGLE: "", VITE_APP_DEV_KEY_HERE: "", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
6742
6737
  const Bn = {
6738
+ getDistance: ln,
6739
+ getDestination: hn
6740
+ };
6741
+ var cn = { VITE_APP_DEV_KEY_BAIDU: "", VITE_APP_DEV_KEY_GOOGLE: "", VITE_APP_DEV_KEY_HERE: "", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
6742
+ const In = {
6743
6743
  install(i, t) {
6744
- if (hs(t), hn.VITE_FALSE) {
6745
- const r = /* @__PURE__ */ Object.assign({ "./TgMap.vue": Ve, "./TgMapWidget.vue": Es, "./controls/TgCustomControl.vue": Bs, "./controls/TgMapTypeControl.vue": Is, "./controls/TgScaleControl.vue": Ss, "./controls/TgStreetViewControl.vue": ks, "./controls/TgZoomControl.vue": As, "./extra/TgHeatmap.vue": Ds, "./extra/TgMarkerClusterer.vue": Kr, "./layers/TgTrafficLayer.vue": zs, "./overlays/TgCircle.vue": Ns, "./overlays/TgElementOverlay.vue": Hs, "./overlays/TgInfoBox.vue": Ys, "./overlays/TgInfoWindow.vue": Xs, "./overlays/TgLabel.vue": en, "./overlays/TgMarker.vue": pt, "./overlays/TgPolygon.vue": tn, "./overlays/TgPolyline.vue": rn, "./overlays/TgRectangle.vue": sn });
6744
+ if (cs(t), cn.VITE_FALSE) {
6745
+ const r = /* @__PURE__ */ Object.assign({ "./TgMap.vue": Ve, "./TgMapWidget.vue": Ls, "./controls/TgCustomControl.vue": Is, "./controls/TgMapTypeControl.vue": Ss, "./controls/TgScaleControl.vue": ks, "./controls/TgStreetViewControl.vue": As, "./controls/TgZoomControl.vue": Ds, "./extra/TgHeatmap.vue": Rs, "./extra/TgMarkerClusterer.vue": Kr, "./layers/TgTrafficLayer.vue": Ns, "./overlays/TgCircle.vue": Gs, "./overlays/TgElementOverlay.vue": Vs, "./overlays/TgInfoBox.vue": qs, "./overlays/TgInfoWindow.vue": Js, "./overlays/TgLabel.vue": tn, "./overlays/TgMarker.vue": pt, "./overlays/TgPolygon.vue": rn, "./overlays/TgPolyline.vue": sn, "./overlays/TgRectangle.vue": nn });
6746
6746
  Object.keys(r).forEach((s) => {
6747
6747
  const n = r[s];
6748
6748
  i.component(n.name ?? I(`Tg开头的组件必须设置name: ${s}`), n);
@@ -6757,24 +6757,24 @@ export {
6757
6757
  Zt as AbstractMap,
6758
6758
  Ke as Arrays,
6759
6759
  Ir as Autocomplete,
6760
- Oi as BaiduAutocomplete,
6760
+ Ci as BaiduAutocomplete,
6761
6761
  Ht as BaiduCircle,
6762
6762
  St as BaiduControl,
6763
- Ei as BaiduHeatmap,
6763
+ Li as BaiduHeatmap,
6764
6764
  Yt as BaiduInfoBoxOverlay,
6765
6765
  Ft as BaiduInfoWindow,
6766
6766
  kt as BaiduMapTypeControl,
6767
6767
  Ct as BaiduMapUrls,
6768
6768
  Ge as BaiduMarker,
6769
- Si as BaiduMarkerClusterer,
6769
+ ki as BaiduMarkerClusterer,
6770
6770
  ct as BaiduOverlay,
6771
- Di as BaiduPlacesService,
6771
+ Ri as BaiduPlacesService,
6772
6772
  Qt as BaiduPolyShape,
6773
6773
  rr as BaiduPolygon,
6774
6774
  er as BaiduPolyline,
6775
6775
  sr as BaiduRectangle,
6776
6776
  At as BaiduScaleControl,
6777
- $i as BaiduSearchBox,
6777
+ zi as BaiduSearchBox,
6778
6778
  Rt as BaiduStreetViewControl,
6779
6779
  zt as BaiduZoomControl,
6780
6780
  j as BuildInMapType,
@@ -6783,40 +6783,40 @@ export {
6783
6783
  D as ControlPosition,
6784
6784
  q as ControlPositionConverter,
6785
6785
  R as CoordType,
6786
- fi as CustomControl,
6787
- is as ElementOverlay,
6788
- vi as EmptyControl,
6789
- mi as FastFindValues,
6786
+ vi as CustomControl,
6787
+ ss as ElementOverlay,
6788
+ yi as EmptyControl,
6789
+ fi as FastFindValues,
6790
6790
  re as GestureHandlingOptions,
6791
- Ti as GoogleAutocomplete,
6791
+ Oi as GoogleAutocomplete,
6792
6792
  Vt as GoogleCircle,
6793
6793
  ht as GoogleControl,
6794
- xi as GoogleHeatmap,
6794
+ Ei as GoogleHeatmap,
6795
6795
  qt as GoogleInfoBoxOverlay,
6796
6796
  Ut as GoogleInfoWindow,
6797
6797
  Tt as GoogleMapTypeControl,
6798
6798
  Ot as GoogleMapUrls,
6799
6799
  Jt as GoogleMarker,
6800
- ki as GoogleMarkerClusterer,
6800
+ Ai as GoogleMarkerClusterer,
6801
6801
  Wt as GoogleOverlay,
6802
- Ai as GooglePlacesService,
6802
+ Di as GooglePlacesService,
6803
6803
  ir as GooglePolygon,
6804
6804
  tr as GooglePolyline,
6805
6805
  nr as GoogleRectangle,
6806
6806
  Dt as GoogleScaleControl,
6807
- Ri as GoogleSearchBox,
6807
+ $i as GoogleSearchBox,
6808
6808
  $t as GoogleStreetViewControl,
6809
6809
  Nt as GoogleZoomControl,
6810
6810
  kr as Heatmap,
6811
6811
  tt as Icon,
6812
6812
  rt as IconSequence,
6813
- fn as ImageMapType,
6813
+ vn as ImageMapType,
6814
6814
  jt as InfoWindow,
6815
- es as InfoWindowModeValues,
6815
+ ts as InfoWindowModeValues,
6816
6816
  cr as KeyValue,
6817
6817
  O as LatLng,
6818
6818
  Q as LatLngBounds,
6819
- Ln as LifecycleLogPlugin,
6819
+ Pn as LifecycleLogPlugin,
6820
6820
  ie as Location,
6821
6821
  Ze as MIXIN_HOOK_CREATE,
6822
6822
  We as MIXIN_HOOK_DESTROY,
@@ -6829,69 +6829,69 @@ export {
6829
6829
  F as MapType,
6830
6830
  Er as MapTypeControlType,
6831
6831
  Ar as MapUrls,
6832
- zi as MapZoom,
6832
+ Ni as MapZoom,
6833
6833
  Gr as MarkerClusterer,
6834
6834
  ce as Objects,
6835
6835
  Fr as Overlay,
6836
6836
  Zr as PlacesService,
6837
6837
  le as Point,
6838
6838
  Wr as SearchBox,
6839
- Pn as SphericalUtils,
6839
+ Bn as SphericalUtils,
6840
6840
  Me as Strings,
6841
6841
  Oe as SymbolIcon,
6842
- bn as SymbolPath,
6843
- Ns as TgCircle,
6844
- Bs as TgCustomControl,
6845
- Hs as TgElementOverlay,
6846
- Ds as TgHeatmap,
6847
- Ys as TgInfoBox,
6848
- Xs as TgInfoWindow,
6849
- en as TgLabel,
6842
+ Mn as SymbolPath,
6843
+ Gs as TgCircle,
6844
+ Is as TgCustomControl,
6845
+ Vs as TgElementOverlay,
6846
+ Rs as TgHeatmap,
6847
+ qs as TgInfoBox,
6848
+ Js as TgInfoWindow,
6849
+ tn as TgLabel,
6850
6850
  Ve as TgMap,
6851
6851
  Et as TgMapFactory,
6852
6852
  X as TgMapType,
6853
- Is as TgMapTypeControl,
6854
- Es as TgMapWidget,
6853
+ Ss as TgMapTypeControl,
6854
+ Ls as TgMapWidget,
6855
6855
  pt as TgMarker,
6856
6856
  Kr as TgMarkerClusterer,
6857
- tn as TgPolygon,
6858
- rn as TgPolyline,
6859
- sn as TgRectangle,
6860
- Ss as TgScaleControl,
6861
- ks as TgStreetViewControl,
6862
- zs as TgTrafficLayer,
6863
- As as TgZoomControl,
6864
- yi as TrafficLayer,
6857
+ rn as TgPolygon,
6858
+ sn as TgPolyline,
6859
+ nn as TgRectangle,
6860
+ ks as TgScaleControl,
6861
+ As as TgStreetViewControl,
6862
+ Ns as TgTrafficLayer,
6863
+ Ds as TgZoomControl,
6864
+ _i as TrafficLayer,
6865
6865
  et as UnionIcon,
6866
6866
  Ue as callHook,
6867
- On as computedSaveOnThis,
6868
- us as createAsyncSingleton,
6867
+ Cn as computedSaveOnThis,
6868
+ ps as createAsyncSingleton,
6869
6869
  ut as createEmptyVNode,
6870
- bs as createPropertyObject,
6871
- Cn as createPropertyObjectTyped,
6872
- Tn as debug,
6873
- Bn as default,
6870
+ Ms as createPropertyObject,
6871
+ wn as createPropertyObjectTyped,
6872
+ On as debug,
6873
+ In as default,
6874
6874
  A as eventProp,
6875
- xn as extractVNodeFromSlotsByComponent,
6875
+ En as extractVNodeFromSlotsByComponent,
6876
6876
  Bt as findAncestorComponentByType,
6877
- wn as findByComponentType,
6878
- ln as getDestination,
6877
+ xn as findByComponentType,
6878
+ hn as getDestination,
6879
6879
  Yr as getTgMapConfig,
6880
6880
  bt as isComponentByType,
6881
- ds as isEntryValueDef,
6882
- pn as isInstanceOf,
6883
- ms as loadCachedMap,
6881
+ us as isEntryValueDef,
6882
+ gn as isInstanceOf,
6883
+ fs as loadCachedMap,
6884
6884
  b as optionalProp,
6885
6885
  Z as requiredProp,
6886
- gn as safeAs,
6886
+ mn as safeAs,
6887
6887
  Mr as safeAsComponent,
6888
- hs as setTgMapConfig,
6889
- Ms as splitAttrs,
6888
+ cs as setTgMapConfig,
6889
+ Ts as splitAttrs,
6890
6890
  Y as stringEnumProp,
6891
- _s as stringUnionPropFromValues,
6892
- Mn as todo,
6893
- mn as unwrapStringEnumValue,
6894
- En as useEventLogMethods,
6891
+ bs as stringUnionPropFromValues,
6892
+ Tn as todo,
6893
+ fn as unwrapStringEnumValue,
6894
+ Ln as useEventLogMethods,
6895
6895
  ne as useSplittedAttrs,
6896
6896
  ar as useTgMapInner
6897
6897
  };