tg-map-vue3 3.1.1 → 3.1.2

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
@@ -1,21 +1,21 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('.baidu-info-box-container{transform:translateY(-11px);font-size:13px;font-weight:300;width:100vw}.baidu-info-box-container__border{position:absolute;padding:12px;background-color:#fff;box-shadow:0 2px 7px 1px #0000004d;border-radius:8px;transform:translate(-50%,-100%)}.baidu-info-box-container__inner{overflow:auto}.baidu-info-box-container__close{position:absolute;right:-6px;top:-6px;width:14px;height:14px;margin:8px;opacity:.6;cursor:pointer}.baidu-info-box-container__close:hover{opacity:1}.baidu-info-box-container:after{position:absolute;background-color:#fff;content:"";width:15px;height:15px;left:0px;top:0px;box-shadow:-2px 2px 2px #b2b2b266;transform:translate(-50%,-50%) rotate(-45deg)}.tg-map{height:100vh;position:relative}.tg-map__map{width:100%;height:100%}.tg-map-widget{position:absolute}.tg-map>.tg-custom-control{display:none}.element-overlay{position:absolute}.tg-map .tg-element-overlay{display:none}.tg-map__map .tg-element-overlay{display:block}.tg-map .tg-info-box{display:none}.tg-map__map .tg-info-box{display:block}.tg-map .tg-label{display:none}.tg-map__map .tg-label{display:block}')),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- var jt = Object.defineProperty;
3
- var Vt = (i, e, t) => e in i ? jt(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
4
- var h = (i, e, t) => (Vt(i, typeof e != "symbol" ? e + "" : e, t), t);
5
- import { createCommentVNode as Ie, computed as bt, defineComponent as C, markRaw as Wt, openBlock as Z, createElementBlock as G, mergeProps as ie, createElementVNode as Ht, renderSlot as A, normalizeClass as De, normalizeStyle as Ft, withDirectives as Ut, vShow as Yt } from "vue";
2
+ var Vt = Object.defineProperty;
3
+ var Wt = (i, e, t) => e in i ? Vt(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
4
+ var h = (i, e, t) => (Wt(i, typeof e != "symbol" ? e + "" : e, t), t);
5
+ import { createCommentVNode as Ie, computed as Tt, defineComponent as C, markRaw as Ht, openBlock as Z, createElementBlock as G, mergeProps as ie, createElementVNode as Ft, renderSlot as A, normalizeClass as De, normalizeStyle as Ut, withDirectives as Yt, vShow as Kt, getCurrentInstance as gt } from "vue";
6
6
  function F(i, e, t) {
7
7
  Object.keys(i).forEach((r) => {
8
8
  r.startsWith("update:") || t != null && t.includes(r) || e.addEventListener(r, i[r]);
9
9
  });
10
10
  }
11
- let Kt = 1;
12
- function qt() {
13
- return Kt++;
11
+ let qt = 1;
12
+ function Xt() {
13
+ return qt++;
14
14
  }
15
15
  function ye(i, e) {
16
- return e.__id__ || (e.__id__ = qt()), `${i}::${e.__id__}`;
16
+ return e.__id__ || (e.__id__ = Xt()), `${i}::${e.__id__}`;
17
17
  }
18
- var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, V = {}, Xt = {
18
+ var Ot = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, V = {}, Jt = {
19
19
  get exports() {
20
20
  return V;
21
21
  },
@@ -26,7 +26,7 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
26
26
  (function(i) {
27
27
  (function(e, t) {
28
28
  i.exports ? i.exports = t() : e.coordtransform = t();
29
- })(Tt, function() {
29
+ })(Ot, function() {
30
30
  var e = 52.35987755982988, t = 3.141592653589793, r = 6378245, s = 0.006693421622965943;
31
31
  function n(u, f, v, O) {
32
32
  this.west = Math.min(u, v), this.north = Math.max(f, O), this.east = Math.max(u, v), this.south = Math.min(f, O);
@@ -41,7 +41,7 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
41
41
  new n(82.9684, 29.5297, 97.0352, 26.7186),
42
42
  new n(97.0253, 29.5297, 124.367395, 20.414096),
43
43
  new n(107.975793, 20.414096, 111.744104, 17.871542)
44
- ], p = [
44
+ ], d = [
45
45
  new n(119.921265, 25.398623, 122.497559, 21.785006),
46
46
  new n(101.8652, 22.284, 106.665, 20.0988),
47
47
  new n(106.4525, 21.5422, 108.051, 20.4878),
@@ -53,8 +53,8 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
53
53
  function o(u, f) {
54
54
  for (var v = 0; v < a.length; v++)
55
55
  if (a[v].contain(u, f)) {
56
- for (var O = 0; O < p.length; O++)
57
- if (p[O].contain(u, f))
56
+ for (var O = 0; O < d.length; O++)
57
+ if (d[O].contain(u, f))
58
58
  return !1;
59
59
  return !0;
60
60
  }
@@ -71,7 +71,7 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
71
71
  function g(u, f) {
72
72
  return o(u, f) ? b(u, f) : [u, f];
73
73
  }
74
- function d(u, f) {
74
+ function p(u, f) {
75
75
  if (!o(u, f))
76
76
  return [u, f];
77
77
  var v = b(u, f);
@@ -82,8 +82,8 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
82
82
  B = 1 - s * B * B;
83
83
  var ue = Math.sqrt(B);
84
84
  v = v * 180 / (r * (1 - s) / (B * ue) * t), O = O * 180 / (r / ue * Math.cos(Y) * t);
85
- var xe = f + v, Gt = u + O;
86
- return [Gt, xe];
85
+ var xe = f + v, jt = u + O;
86
+ return [jt, xe];
87
87
  }
88
88
  function M(u, f) {
89
89
  var v = -100 + 2 * u + 3 * f + 0.2 * f * f + 0.1 * u * f + 0.2 * Math.sqrt(Math.abs(u));
@@ -98,17 +98,17 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
98
98
  bd09togcj02: l,
99
99
  gcj02tobd09: c,
100
100
  wgs84togcj02: g,
101
- gcj02towgs84: d,
101
+ gcj02towgs84: p,
102
102
  // 小驼峰命名风格
103
103
  bd09ToGcj02: l,
104
104
  gcj02ToBd09: c,
105
105
  wgs84ToGcj02: g,
106
- gcj02ToWgs84: d,
106
+ gcj02ToWgs84: p,
107
107
  bd09ToWgs84: function(u, f) {
108
108
  if (!o(u, f))
109
109
  return [u, f];
110
110
  var v = l(u, f);
111
- return d(v[0], v[1]);
111
+ return p(v[0], v[1]);
112
112
  },
113
113
  wgs84ToBd09: function(u, f) {
114
114
  if (!o(u, f))
@@ -118,29 +118,29 @@ var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
118
118
  }
119
119
  };
120
120
  });
121
- })(Xt);
121
+ })(Jt);
122
122
  function P(i) {
123
123
  throw new Error(i);
124
124
  }
125
- function Jt(i) {
125
+ function Qt(i) {
126
126
  throw new Error(`Unsupported: ${i}`);
127
127
  }
128
- function ui(i) {
128
+ function mi(i) {
129
129
  throw new Error(`todo: ${i}`);
130
130
  }
131
- function gi(i) {
131
+ function fi(i) {
132
132
  return i;
133
133
  }
134
134
  function ve(...i) {
135
135
  }
136
- function mi(i) {
136
+ function yi(i) {
137
137
  return i != null;
138
138
  }
139
139
  function ae(i, e) {
140
140
  if (!i)
141
141
  throw new Error(`AssertionError: ${e}`);
142
142
  }
143
- function gt(i) {
143
+ function mt(i) {
144
144
  throw new Error(`Unexpected object: ${i}`);
145
145
  }
146
146
  var q = /* @__PURE__ */ ((i) => (i.wgs84 = "wgs84", i.gcj02 = "gcj02", i.bd09 = "bd09", i))(q || {});
@@ -310,67 +310,67 @@ h(W, "EMPTY", new K(y.ZERO, y.ZERO));
310
310
  }
311
311
  i.Builder = e;
312
312
  })(W || (W = {}));
313
- var Qt = function(e) {
314
- return er(e) && !tr(e);
313
+ var er = function(e) {
314
+ return tr(e) && !rr(e);
315
315
  };
316
- function er(i) {
316
+ function tr(i) {
317
317
  return !!i && typeof i == "object";
318
318
  }
319
- function tr(i) {
319
+ function rr(i) {
320
320
  var e = Object.prototype.toString.call(i);
321
- return e === "[object RegExp]" || e === "[object Date]" || sr(i);
322
- }
323
- var rr = typeof Symbol == "function" && Symbol.for, ir = rr ? Symbol.for("react.element") : 60103;
324
- function sr(i) {
325
- return i.$$typeof === ir;
321
+ return e === "[object RegExp]" || e === "[object Date]" || nr(i);
326
322
  }
323
+ var ir = typeof Symbol == "function" && Symbol.for, sr = ir ? Symbol.for("react.element") : 60103;
327
324
  function nr(i) {
325
+ return i.$$typeof === sr;
326
+ }
327
+ function or(i) {
328
328
  return Array.isArray(i) ? [] : {};
329
329
  }
330
330
  function le(i, e) {
331
- return e.clone !== !1 && e.isMergeableObject(i) ? ee(nr(i), i, e) : i;
331
+ return e.clone !== !1 && e.isMergeableObject(i) ? ee(or(i), i, e) : i;
332
332
  }
333
- function or(i, e, t) {
333
+ function ar(i, e, t) {
334
334
  return i.concat(e).map(function(r) {
335
335
  return le(r, t);
336
336
  });
337
337
  }
338
- function ar(i, e) {
338
+ function lr(i, e) {
339
339
  if (!e.customMerge)
340
340
  return ee;
341
341
  var t = e.customMerge(i);
342
342
  return typeof t == "function" ? t : ee;
343
343
  }
344
- function lr(i) {
344
+ function hr(i) {
345
345
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(i).filter(function(e) {
346
346
  return Object.propertyIsEnumerable.call(i, e);
347
347
  }) : [];
348
348
  }
349
- function mt(i) {
350
- return Object.keys(i).concat(lr(i));
349
+ function ft(i) {
350
+ return Object.keys(i).concat(hr(i));
351
351
  }
352
- function Ot(i, e) {
352
+ function Ct(i, e) {
353
353
  try {
354
354
  return e in i;
355
355
  } catch {
356
356
  return !1;
357
357
  }
358
358
  }
359
- function hr(i, e) {
360
- return Ot(i, e) && !(Object.hasOwnProperty.call(i, e) && Object.propertyIsEnumerable.call(i, e));
359
+ function cr(i, e) {
360
+ return Ct(i, e) && !(Object.hasOwnProperty.call(i, e) && Object.propertyIsEnumerable.call(i, e));
361
361
  }
362
- function cr(i, e, t) {
362
+ function dr(i, e, t) {
363
363
  var r = {};
364
- return t.isMergeableObject(i) && mt(i).forEach(function(s) {
364
+ return t.isMergeableObject(i) && ft(i).forEach(function(s) {
365
365
  r[s] = le(i[s], t);
366
- }), mt(e).forEach(function(s) {
367
- hr(i, s) || (Ot(i, s) && t.isMergeableObject(e[s]) ? r[s] = ar(s, t)(i[s], e[s], t) : r[s] = le(e[s], t));
366
+ }), ft(e).forEach(function(s) {
367
+ cr(i, s) || (Ct(i, s) && t.isMergeableObject(e[s]) ? r[s] = lr(s, t)(i[s], e[s], t) : r[s] = le(e[s], t));
368
368
  }), r;
369
369
  }
370
370
  function ee(i, e, t) {
371
- t = t || {}, t.arrayMerge = t.arrayMerge || or, t.isMergeableObject = t.isMergeableObject || Qt, t.cloneUnlessOtherwiseSpecified = le;
371
+ t = t || {}, t.arrayMerge = t.arrayMerge || ar, t.isMergeableObject = t.isMergeableObject || er, t.cloneUnlessOtherwiseSpecified = le;
372
372
  var r = Array.isArray(e), s = Array.isArray(i), n = r === s;
373
- return n ? r ? t.arrayMerge(i, e, t) : cr(i, e, t) : le(e, t);
373
+ return n ? r ? t.arrayMerge(i, e, t) : dr(i, e, t) : le(e, t);
374
374
  }
375
375
  ee.all = function(e, t) {
376
376
  if (!Array.isArray(e))
@@ -379,8 +379,8 @@ ee.all = function(e, t) {
379
379
  return ee(r, s, t);
380
380
  }, {});
381
381
  };
382
- var dr = ee, Ct = dr;
383
- const _e = ["3.0"], pr = {
382
+ var pr = ee, wt = pr;
383
+ const _e = ["3.0"], ur = {
384
384
  baidu: {
385
385
  version: "3.0",
386
386
  // 在build时会被静态替换, 导致使用者不能无法设置它
@@ -400,22 +400,22 @@ const _e = ["3.0"], pr = {
400
400
  language: ""
401
401
  }
402
402
  };
403
- let wt;
404
- function xt() {
405
- return wt || P("请先安装: Vue<PartialTgMapConfig>.use(TgMap, {})");
403
+ let xt;
404
+ function Et() {
405
+ return xt || P("请先安装: Vue<PartialTgMapConfig>.use(TgMap, {})");
406
406
  }
407
- function ur(i) {
408
- i != null && (wt = Ct(pr, i));
407
+ function gr(i) {
408
+ i != null && (xt = wt(ur, i));
409
409
  }
410
- function fi() {
410
+ function vi() {
411
411
  }
412
412
  function Le(i) {
413
413
  return i;
414
414
  }
415
- function yi(i, e) {
415
+ function _i(i, e) {
416
416
  return i instanceof e;
417
417
  }
418
- function vi(i, e) {
418
+ function Mi(i, e) {
419
419
  if (i instanceof e)
420
420
  return i;
421
421
  }
@@ -423,7 +423,7 @@ function pe(i, e) {
423
423
  if ((i == null ? void 0 : i.$options.name) === e.name)
424
424
  return i;
425
425
  }
426
- function _i(i) {
426
+ function bi(i) {
427
427
  return i;
428
428
  }
429
429
  class Ze {
@@ -478,7 +478,7 @@ class Ze {
478
478
  * Copyright (c) 2014-2017, Jon Schlinkert.
479
479
  * Released under the MIT License.
480
480
  */
481
- function gr(i) {
481
+ function mr(i) {
482
482
  return i != null && typeof i == "object" && Array.isArray(i) === !1;
483
483
  }
484
484
  /*!
@@ -487,48 +487,48 @@ function gr(i) {
487
487
  * Copyright (c) 2014-2017, Jon Schlinkert.
488
488
  * Released under the MIT License.
489
489
  */
490
- function ft(i) {
491
- return gr(i) === !0 && Object.prototype.toString.call(i) === "[object Object]";
490
+ function yt(i) {
491
+ return mr(i) === !0 && Object.prototype.toString.call(i) === "[object Object]";
492
492
  }
493
- function Et(i) {
493
+ function kt(i) {
494
494
  var e, t;
495
- return !(ft(i) === !1 || (e = i.constructor, typeof e != "function") || (t = e.prototype, ft(t) === !1) || t.hasOwnProperty("isPrototypeOf") === !1);
495
+ return !(yt(i) === !1 || (e = i.constructor, typeof e != "function") || (t = e.prototype, yt(t) === !1) || t.hasOwnProperty("isPrototypeOf") === !1);
496
496
  }
497
497
  var he;
498
498
  ((i) => {
499
499
  function e(n, a) {
500
- return n.reduce((p, o) => (p[a(o)] = o, p), {});
500
+ return n.reduce((d, o) => (d[a(o)] = o, d), {});
501
501
  }
502
502
  i.fromArray = e;
503
503
  function t(n) {
504
- return n.reduce((a, p) => (a[p[0]] = p[1], a), {});
504
+ return n.reduce((a, d) => (a[d[0]] = d[1], a), {});
505
505
  }
506
506
  i.fromEntries = t;
507
507
  function r(n) {
508
- return JSON.stringify(n, (a, p) => typeof p == "object" && Object.getPrototypeOf(p) !== Object.prototype ? p.toString !== Object.prototype.toString ? p.toString() : `[object ${Object.getPrototypeOf(p).constructor.name}]` : p);
508
+ return JSON.stringify(n, (a, d) => typeof d == "object" && Object.getPrototypeOf(d) !== Object.prototype ? d.toString !== Object.prototype.toString ? d.toString() : `[object ${Object.getPrototypeOf(d).constructor.name}]` : d);
509
509
  }
510
510
  i.toJsonSafely = r;
511
511
  function s(n) {
512
- Et(n) && Object.keys(n).forEach((a) => {
512
+ kt(n) && Object.keys(n).forEach((a) => {
513
513
  n[a] === void 0 ? delete n[a] : s(n[a]);
514
514
  });
515
515
  }
516
516
  i.deleteUndefinedPropertyOnPlainObjectDeeply = s;
517
517
  })(he || (he = {}));
518
518
  he.toJsonSafely;
519
- const mr = ["single", "multi"];
519
+ const fr = ["single", "multi"];
520
520
  var R = /* @__PURE__ */ ((i) => (i.auto = "auto", i.none = "none", i.greedy = "greedy", i.cooperative = "cooperative", i))(R || {}), Be;
521
521
  ((i) => {
522
522
  function e(t) {
523
523
  he.deleteUndefinedPropertyOnPlainObjectDeeply(t);
524
524
  const r = { center: y.ZERO, zoom: 5 };
525
- return Ct(r, t || {}, {
526
- isMergeableObject: Et
525
+ return wt(r, t || {}, {
526
+ isMergeableObject: kt
527
527
  });
528
528
  }
529
529
  i.create = e;
530
530
  })(Be || (Be = {}));
531
- var Se = {}, fr = {
531
+ var Se = {}, yr = {
532
532
  get exports() {
533
533
  return Se;
534
534
  },
@@ -539,7 +539,7 @@ var Se = {}, fr = {
539
539
  (function(i, e) {
540
540
  (function(t, r) {
541
541
  i.exports = r();
542
- })(Tt, function() {
542
+ })(Ot, function() {
543
543
  var t, r = t = r || { version: "1.3.8" }, s = {};
544
544
  r.guid = "$BAIDU$", s[r.guid] = s[r.guid] || {}, r.dom = r.dom || {}, r.dom.g = function(o) {
545
545
  return typeof o == "string" || o instanceof String ? document.getElementById(o) : o && o.nodeName && (o.nodeType == 1 || o.nodeType == 9) ? o : null;
@@ -554,7 +554,7 @@ var Se = {}, fr = {
554
554
  var c = r.dom.getDocument(o), g;
555
555
  return c.defaultView && c.defaultView.getComputedStyle && (g = c.defaultView.getComputedStyle(o, null), g) ? g[l] || g.getPropertyValue(l) : "";
556
556
  }, r.dom._styleFixer = r.dom._styleFixer || {}, r.dom._styleFilter = r.dom._styleFilter || [], r.dom._styleFilter.filter = function(o, l, c) {
557
- for (var g = 0, d = r.dom._styleFilter, b; b = d[g]; g++)
557
+ for (var g = 0, p = r.dom._styleFilter, b; b = p[g]; g++)
558
558
  (b = b[c]) && (l = b(o, l));
559
559
  return l;
560
560
  }, r.string = r.string || {}, r.string.toCamelCase = function(o) {
@@ -566,40 +566,40 @@ var Se = {}, fr = {
566
566
  o = c.g(o), l = r.string.toCamelCase(l);
567
567
  var g = o.style[l] || (o.currentStyle ? o.currentStyle[l] : "") || c.getComputedStyle(o, l);
568
568
  if (!g) {
569
- var d = c._styleFixer[l];
570
- d && (g = d.get ? d.get(o) : r.dom.getStyle(o, d));
569
+ var p = c._styleFixer[l];
570
+ p && (g = p.get ? p.get(o) : r.dom.getStyle(o, p));
571
571
  }
572
- return (d = c._styleFilter) && (g = d.filter(l, g, "get")), g;
572
+ return (p = c._styleFilter) && (g = p.filter(l, g, "get")), g;
573
573
  }, r.getStyle = r.dom.getStyle, /opera\/(\d+\.\d)/i.test(navigator.userAgent) && (r.browser.opera = +RegExp.$1), r.browser.isWebkit = /webkit/i.test(navigator.userAgent), r.browser.isGecko = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent), r.browser.isStrict = document.compatMode == "CSS1Compat", r.dom.getPosition = function(o) {
574
574
  o = r.dom.g(o);
575
575
  var l = r.dom.getDocument(o), c = r.browser, g = r.dom.getStyle;
576
576
  c.isGecko > 0 && l.getBoxObjectFor && g(o, "position") == "absolute" && (o.style.top === "" || o.style.left);
577
- var d = { left: 0, top: 0 }, b = c.ie && !c.isStrict ? l.body : l.documentElement, M, T;
577
+ var p = { left: 0, top: 0 }, b = c.ie && !c.isStrict ? l.body : l.documentElement, M, T;
578
578
  if (o == b)
579
- return d;
579
+ return p;
580
580
  if (o.getBoundingClientRect) {
581
- T = o.getBoundingClientRect(), d.left = Math.floor(T.left) + Math.max(l.documentElement.scrollLeft, l.body.scrollLeft), d.top = Math.floor(T.top) + Math.max(l.documentElement.scrollTop, l.body.scrollTop), d.left -= l.documentElement.clientLeft, d.top -= l.documentElement.clientTop;
581
+ T = o.getBoundingClientRect(), p.left = Math.floor(T.left) + Math.max(l.documentElement.scrollLeft, l.body.scrollLeft), p.top = Math.floor(T.top) + Math.max(l.documentElement.scrollTop, l.body.scrollTop), p.left -= l.documentElement.clientLeft, p.top -= l.documentElement.clientTop;
582
582
  var u = l.body, f = parseInt(g(u, "borderLeftWidth")), v = parseInt(g(u, "borderTopWidth"));
583
- c.ie && !c.isStrict && (d.left -= isNaN(f) ? 2 : f, d.top -= isNaN(v) ? 2 : v);
583
+ c.ie && !c.isStrict && (p.left -= isNaN(f) ? 2 : f, p.top -= isNaN(v) ? 2 : v);
584
584
  } else {
585
585
  M = o;
586
586
  do {
587
- if (d.left += M.offsetLeft, d.top += M.offsetTop, c.isWebkit > 0 && g(M, "position") == "fixed") {
588
- d.left += l.body.scrollLeft, d.top += l.body.scrollTop;
587
+ if (p.left += M.offsetLeft, p.top += M.offsetTop, c.isWebkit > 0 && g(M, "position") == "fixed") {
588
+ p.left += l.body.scrollLeft, p.top += l.body.scrollTop;
589
589
  break;
590
590
  }
591
591
  M = M.offsetParent;
592
592
  } while (M && M != o);
593
- for ((c.opera > 0 || c.isWebkit > 0 && g(o, "position") == "absolute") && (d.top -= l.body.offsetTop), M = o.offsetParent; M && M != l.body; )
594
- d.left -= M.scrollLeft, (!c.opera || M.tagName != "TR") && (d.top -= M.scrollTop), M = M.offsetParent;
593
+ for ((c.opera > 0 || c.isWebkit > 0 && g(o, "position") == "absolute") && (p.top -= l.body.offsetTop), M = o.offsetParent; M && M != l.body; )
594
+ p.left -= M.scrollLeft, (!c.opera || M.tagName != "TR") && (p.top -= M.scrollTop), M = M.offsetParent;
595
595
  }
596
- return d;
596
+ return p;
597
597
  }, r.event = r.event || {}, r.event._listeners = r.event._listeners || [], r.event.on = function(o, l, c) {
598
598
  l = l.replace(/^on/i, ""), o = r.dom._g(o);
599
599
  var g = function(u) {
600
600
  c.call(o, u);
601
- }, d = r.event._listeners, b = r.event._eventFilter, M, T = l;
602
- return l = l.toLowerCase(), b && b[l] && (M = b[l](o, l, g), T = M.type, g = M.listener), o.addEventListener ? o.addEventListener(T, g, !1) : o.attachEvent && o.attachEvent("on" + T, g), d[d.length] = [o, l, c, g, T], o;
601
+ }, p = r.event._listeners, b = r.event._eventFilter, M, T = l;
602
+ return l = l.toLowerCase(), b && b[l] && (M = b[l](o, l, g), T = M.type, g = M.listener), o.addEventListener ? o.addEventListener(T, g, !1) : o.attachEvent && o.attachEvent("on" + T, g), p[p.length] = [o, l, c, g, T], o;
603
603
  }, r.on = r.event.on, function() {
604
604
  var o = s[r.guid];
605
605
  r.lang.guid = function() {
@@ -621,13 +621,13 @@ var Se = {}, fr = {
621
621
  }, r.lang.Class.prototype.addEventListener = function(o, l, c) {
622
622
  if (r.lang.isFunction(l)) {
623
623
  !this.__listeners && (this.__listeners = {});
624
- var g = this.__listeners, d;
624
+ var g = this.__listeners, p;
625
625
  if (typeof c == "string" && c) {
626
626
  if (/[^\w\-]/.test(c))
627
627
  throw "nonstandard key:" + c;
628
- l.hashCode = c, d = c;
628
+ l.hashCode = c, p = c;
629
629
  }
630
- o.indexOf("on") != 0 && (o = "on" + o), typeof g[o] != "object" && (g[o] = {}), d = d || r.lang.guid(), l.hashCode = d, g[o][d] = l;
630
+ o.indexOf("on") != 0 && (o = "on" + o), typeof g[o] != "object" && (g[o] = {}), p = p || r.lang.guid(), l.hashCode = p, g[o][p] = l;
631
631
  }
632
632
  }, r.lang.Class.prototype.removeEventListener = function(o, l) {
633
633
  if (!(typeof l < "u" && (r.lang.isFunction(l) && !(l = l.hashCode) || !r.lang.isString(l)))) {
@@ -644,108 +644,108 @@ var Se = {}, fr = {
644
644
  r.lang.isString(o) && (o = new r.lang.Event(o)), !this.__listeners && (this.__listeners = {}), l = l || {};
645
645
  for (var c in l)
646
646
  o[c] = l[c];
647
- var c, g = this.__listeners, d = o.type;
648
- if (o.target = o.target || this, o.currentTarget = this, d.indexOf("on") != 0 && (d = "on" + d), r.lang.isFunction(this[d]) && this[d].apply(this, arguments), typeof g[d] == "object")
649
- for (c in g[d])
650
- g[d][c].apply(this, arguments);
647
+ var c, g = this.__listeners, p = o.type;
648
+ if (o.target = o.target || this, o.currentTarget = this, p.indexOf("on") != 0 && (p = "on" + p), r.lang.isFunction(this[p]) && this[p].apply(this, arguments), typeof g[p] == "object")
649
+ for (c in g[p])
650
+ g[p][c].apply(this, arguments);
651
651
  return o.returnValue;
652
652
  }, r.lang.inherits = function(o, l, c) {
653
- var g, d, b = o.prototype, M = new Function();
654
- M.prototype = l.prototype, d = o.prototype = new M();
653
+ var g, p, b = o.prototype, M = new Function();
654
+ M.prototype = l.prototype, p = o.prototype = new M();
655
655
  for (g in b)
656
- d[g] = b[g];
657
- o.prototype.constructor = o, o.superClass = l.prototype, typeof c == "string" && (d._className = c);
656
+ p[g] = b[g];
657
+ o.prototype.constructor = o, o.superClass = l.prototype, typeof c == "string" && (p._className = c);
658
658
  }, r.inherits = r.lang.inherits;
659
- var n = "http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m", a = "png", p = function(o, l, c) {
659
+ var n = "http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m", a = "png", d = function(o, l, c) {
660
660
  try {
661
661
  BMap;
662
662
  } catch {
663
663
  throw Error("Baidu Map JS API is not ready yet!");
664
664
  }
665
- t.lang.inherits(p, BMap.Overlay, "TextIconOverlay"), this._position = o, this._text = l, this._options = c || {}, this._styles = this._options.styles || [], this._zIndex = this._options.zIndex, !this._styles.length && this._setupDefaultStyles();
665
+ t.lang.inherits(d, BMap.Overlay, "TextIconOverlay"), this._position = o, this._text = l, this._options = c || {}, this._styles = this._options.styles || [], this._zIndex = this._options.zIndex, !this._styles.length && this._setupDefaultStyles();
666
666
  };
667
- return p.prototype._setupDefaultStyles = function() {
667
+ return d.prototype._setupDefaultStyles = function() {
668
668
  for (var o = [53, 56, 66, 78, 90], l = 0, c; c = o[l]; l++)
669
669
  this._styles.push({
670
670
  url: n + l + "." + a,
671
671
  size: new BMap.Size(c, c)
672
672
  });
673
- }, p.prototype.initialize = function(o) {
673
+ }, d.prototype.initialize = function(o) {
674
674
  return this._map = o, this._domElement = document.createElement("div"), this._updateCss(), this._updateText(), this._updatePosition(), this._bind(), this._map.getPanes().markerMouseTarget.appendChild(this._domElement), this._domElement;
675
- }, p.prototype.draw = function() {
675
+ }, d.prototype.draw = function() {
676
676
  this._map && this._updatePosition();
677
- }, p.prototype.getText = function() {
677
+ }, d.prototype.getText = function() {
678
678
  return this._text;
679
- }, p.prototype.setText = function(o) {
679
+ }, d.prototype.setText = function(o) {
680
680
  o && (!this._text || this._text.toString() != o.toString()) && (this._text = o, this._updateText(), this._updateCss(), this._updatePosition());
681
- }, p.prototype.getPosition = function() {
681
+ }, d.prototype.getPosition = function() {
682
682
  return this._position;
683
- }, p.prototype.setPosition = function(o) {
683
+ }, d.prototype.setPosition = function(o) {
684
684
  o && (!this._position || !this._position.equals(o)) && (this._position = o, this._updatePosition());
685
- }, p.prototype.getStyleByText = function(o, l) {
685
+ }, d.prototype.getStyleByText = function(o, l) {
686
686
  var c = parseInt(o), g = parseInt(c / 10);
687
687
  return g = Math.max(0, g), g = Math.min(g, l.length - 1), l[g];
688
- }, p.prototype._updateCss = function() {
688
+ }, d.prototype._updateCss = function() {
689
689
  if (this._domElement) {
690
690
  var o = this.getStyleByText(this._text, this._styles);
691
691
  this._domElement.style.cssText = this._buildCssText(o);
692
692
  }
693
- }, p.prototype._updateText = function() {
693
+ }, d.prototype._updateText = function() {
694
694
  this._domElement && (this._domElement.innerHTML = this._text);
695
- }, p.prototype._updatePosition = function() {
695
+ }, d.prototype._updatePosition = function() {
696
696
  if (this._domElement && this._position) {
697
697
  var o = this._domElement.style, l = this._map.pointToOverlayPixel(this._position);
698
698
  l.x -= Math.ceil(parseInt(o.width) / 2), l.y -= Math.ceil(parseInt(o.height) / 2), o.left = l.x + "px", o.top = l.y + "px";
699
699
  }
700
- }, p.prototype._buildCssText = function(o) {
701
- var l = o.url, c = o.size, g = o.anchor, d = o.offset, b = o.textColor || "black", M = o.textSize || 10, T = [];
700
+ }, d.prototype._buildCssText = function(o) {
701
+ var l = o.url, c = o.size, g = o.anchor, p = o.offset, b = o.textColor || "black", M = o.textSize || 10, T = [];
702
702
  if (this._zIndex && T.push("z-index:" + this._zIndex + ";"), t.browser.ie < 7)
703
703
  T.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="' + l + '");');
704
704
  else {
705
705
  T.push("background-image:url(" + l + ");");
706
706
  var u = "0 0";
707
- d instanceof BMap.Size && (u = d.width + "px " + d.height + "px"), T.push("background-position:" + u + ";");
707
+ p instanceof BMap.Size && (u = p.width + "px " + p.height + "px"), T.push("background-position:" + u + ";");
708
708
  }
709
709
  return c instanceof BMap.Size && (g instanceof BMap.Size ? (g.height > 0 && g.height < c.height && T.push("height:" + (c.height - g.height) + "px; padding-top:" + g.height + "px;"), g.width > 0 && g.width < c.width && T.push("width:" + (c.width - g.width) + "px; padding-left:" + g.width + "px;")) : (T.push("height:" + c.height + "px; line-height:" + c.height + "px;"), T.push("width:" + c.width + "px; text-align:center;"))), T.push("cursor:pointer; color:" + b + "; position:absolute; font-size:" + M + "px; font-family:Arial,sans-serif; font-weight:bold"), T.join("");
710
- }, p.prototype._bind = function() {
710
+ }, d.prototype._bind = function() {
711
711
  if (!this._domElement)
712
712
  return;
713
713
  var o = this, l = this._map, c = t.lang.Event;
714
- function g(d, b) {
715
- var M = d.srcElement || d.target, T = d.clientX || d.pageX, u = d.clientY || d.pageY;
716
- if (d && b && T && u && M) {
714
+ function g(p, b) {
715
+ var M = p.srcElement || p.target, T = p.clientX || p.pageX, u = p.clientY || p.pageY;
716
+ if (p && b && T && u && M) {
717
717
  var f = t.dom.getPosition(l.getContainer());
718
718
  b.pixel = new BMap.Pixel(T - f.left, u - f.top), b.point = l.pixelToPoint(b.pixel);
719
719
  }
720
720
  return b;
721
721
  }
722
- t.event.on(this._domElement, "mouseover", function(d) {
723
- o.dispatchEvent(g(d, new c("onmouseover")));
724
- }), t.event.on(this._domElement, "mouseout", function(d) {
725
- o.dispatchEvent(g(d, new c("onmouseout")));
726
- }), t.event.on(this._domElement, "click", function(d) {
727
- o.dispatchEvent(g(d, new c("onclick")));
722
+ t.event.on(this._domElement, "mouseover", function(p) {
723
+ o.dispatchEvent(g(p, new c("onmouseover")));
724
+ }), t.event.on(this._domElement, "mouseout", function(p) {
725
+ o.dispatchEvent(g(p, new c("onmouseout")));
726
+ }), t.event.on(this._domElement, "click", function(p) {
727
+ o.dispatchEvent(g(p, new c("onclick")));
728
728
  });
729
- }, p;
729
+ }, d;
730
730
  });
731
- })(fr);
732
- const yt = Se;
733
- var kt = function(i, e, t) {
734
- e = yr(e);
731
+ })(yr);
732
+ const vt = Se;
733
+ var Pt = function(i, e, t) {
734
+ e = vr(e);
735
735
  var r = i.pointToPixel(e.getNorthEast()), s = i.pointToPixel(e.getSouthWest());
736
736
  r.x += t, r.y -= t, s.x -= t, s.y += t;
737
737
  var n = i.pixelToPoint(r), a = i.pixelToPoint(s);
738
738
  return new BMap.Bounds(a, n);
739
- }, yr = function(i) {
739
+ }, vr = function(i) {
740
740
  var e = ge(i.getNorthEast().lng, -180, 180), t = ge(i.getSouthWest().lng, -180, 180), r = ge(i.getNorthEast().lat, -74, 74), s = ge(i.getSouthWest().lat, -74, 74);
741
741
  return new BMap.Bounds(new BMap.Point(t, s), new BMap.Point(e, r));
742
742
  }, ge = function(i, e, t) {
743
743
  return e && (i = Math.max(i, e)), t && (i = Math.min(i, t)), i;
744
- }, Pt = function(i) {
744
+ }, It = function(i) {
745
745
  return Object.prototype.toString.call(i) === "[object Array]";
746
- }, It = function(i, e) {
746
+ }, Lt = function(i, e) {
747
747
  var t = -1;
748
- if (Pt(e)) {
748
+ if (It(e)) {
749
749
  if (e.indexOf)
750
750
  t = e.indexOf(i);
751
751
  else
@@ -773,7 +773,7 @@ var kt = function(i, e, t) {
773
773
  r._redraw();
774
774
  });
775
775
  var s = t.markers;
776
- Pt(s) && this.addMarkers(s);
776
+ It(s) && this.addMarkers(s);
777
777
  }
778
778
  };
779
779
  _.prototype.addMarkers = function(i) {
@@ -784,7 +784,7 @@ _.prototype.addMarkers = function(i) {
784
784
  }
785
785
  };
786
786
  _.prototype._pushMarkerTo = function(i) {
787
- var e = It(i, this._markers);
787
+ var e = Lt(i, this._markers);
788
788
  e === -1 && (i.isInCluster = !1, this._markers.push(i));
789
789
  };
790
790
  _.prototype.addMarker = function(i) {
@@ -793,7 +793,7 @@ _.prototype.addMarker = function(i) {
793
793
  _.prototype._createClusters = function() {
794
794
  var i = this._map.getBounds();
795
795
  if (i.getCenter()) {
796
- for (var e = kt(this._map, i, this._gridSize), t = 0, r; r = this._markers[t]; t++)
796
+ for (var e = Pt(this._map, i, this._gridSize), t = 0, r; r = this._markers[t]; t++)
797
797
  !r.isInCluster && e.containsPoint(r.getPosition()) && this._addToClosestCluster(r);
798
798
  for (var s = this._markers.length, t = 0; t < s; t++)
799
799
  this._clusters[t] && this._clusters[t].render();
@@ -833,7 +833,7 @@ _.prototype._removeMarkersFromMap = function() {
833
833
  }
834
834
  };
835
835
  _.prototype._removeMarker = function(i) {
836
- var e = It(i, this._markers);
836
+ var e = Lt(i, this._markers);
837
837
  return e === -1 ? !1 : (this._map.removeOverlay(i), this._markers.splice(e, 1), !0);
838
838
  };
839
839
  _.prototype.removeMarker = function(i) {
@@ -909,7 +909,7 @@ _.prototype.setStylesIndexCalculator = function(i) {
909
909
  };
910
910
  function L(i) {
911
911
  var e = this;
912
- this._markerClusterer = i, this._map = i.getMap(), this._minClusterSize = i.getMinClusterSize(), this._isAverageCenter = i.isAverageCenter(), this._center = null, this._markers = [], this._gridBounds = null, this._isReal = !1, this._clusterMarker = new yt(this._center, this._markers.length, {
912
+ this._markerClusterer = i, this._map = i.getMap(), this._minClusterSize = i.getMinClusterSize(), this._isAverageCenter = i.isAverageCenter(), this._center = null, this._markers = [], this._gridBounds = null, this._isReal = !1, this._clusterMarker = new vt(this._center, this._markers.length, {
913
913
  styles: this._markerClusterer.getStyles(),
914
914
  zIndex: i._zIndex
915
915
  }), this._clusterMarker.getStyleByText = function(t, r) {
@@ -917,7 +917,7 @@ function L(i) {
917
917
  var s = e._markerClusterer._stylesIndexCalculator(e._markers, r.length);
918
918
  return r[s];
919
919
  }
920
- return yt.prototype.getStyleByText.call(this, t, r);
920
+ return vt.prototype.getStyleByText.call(this, t, r);
921
921
  }, this._clusterMarker.addEventListener && this._clusterMarker.addEventListener("click", function(t) {
922
922
  e._map.setViewport(e.getBounds());
923
923
  });
@@ -957,7 +957,7 @@ L.prototype.isReal = function(i) {
957
957
  };
958
958
  L.prototype.updateGridBounds = function() {
959
959
  var i = new BMap.Bounds(this._center, this._center);
960
- this._gridBounds = kt(this._map, i, this._markerClusterer.getGridSize());
960
+ this._gridBounds = Pt(this._map, i, this._markerClusterer.getGridSize());
961
961
  };
962
962
  L.prototype.updateClusterMarker = function() {
963
963
  if (this._map.getZoom() > this._markerClusterer.getMaxZoom()) {
@@ -987,18 +987,18 @@ L.prototype.getBounds = function() {
987
987
  L.prototype.getCenter = function() {
988
988
  return this._center;
989
989
  };
990
- let vr = class Lt {
990
+ let _r = class Bt {
991
991
  constructor(e, t, r) {
992
- this.extend(Lt, google.maps.OverlayView), this.map_ = e, 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;
992
+ this.extend(Bt, google.maps.OverlayView), this.map_ = e, 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;
993
993
  var s = r || {};
994
994
  this.zIndex_ = s.zIndex || google.maps.Marker.MAX_ZINDEX + 1, this.gridSize_ = s.gridSize || 60, this.minClusterSize_ = s.minimumClusterSize || 2, this.maxZoom_ = s.maxZoom || null, this.styles_ = s.styles || [], this.imagePath_ = s.imagePath || this.MARKER_CLUSTER_IMAGE_PATH_, this.imageExtension_ = s.imageExtension || this.MARKER_CLUSTER_IMAGE_EXTENSION_, this.zoomOnClick_ = !0, s.zoomOnClick != null && (this.zoomOnClick_ = s.zoomOnClick), this.averageCenter_ = !1, s.averageCenter != null && (this.averageCenter_ = s.averageCenter), this.setupStyles_(), this.setMap(e), this.prevZoom_ = this.map_.getZoom();
995
995
  var n = this;
996
996
  google.maps.event.addListener(this.map_, "zoom_changed", function() {
997
- var a = n.map_.getZoom(), p = n.map_.minZoom || 0, o = Math.min(
997
+ var a = n.map_.getZoom(), d = n.map_.minZoom || 0, o = Math.min(
998
998
  n.map_.maxZoom || 100,
999
999
  n.map_.mapTypes[n.map_.getMapTypeId()].maxZoom
1000
1000
  );
1001
- a = Math.min(Math.max(a, p), o), n.prevZoom_ != a && (n.prevZoom_ = a, n.resetViewport());
1001
+ a = Math.min(Math.max(a, d), o), n.prevZoom_ != a && (n.prevZoom_ = a, n.resetViewport());
1002
1002
  }), google.maps.event.addListener(this.map_, "idle", function() {
1003
1003
  n.redraw();
1004
1004
  }), t && (t.length || Object.keys(t).length) && this.addMarkers(t, !1);
@@ -1241,8 +1241,8 @@ let vr = class Lt {
1241
1241
  */
1242
1242
  removeMarkers(e, t) {
1243
1243
  for (var r = e === this.getMarkers() ? e.slice() : e, s = !1, n = 0, a; a = r[n]; n++) {
1244
- var p = this.removeMarker_(a);
1245
- s = s || p;
1244
+ var d = this.removeMarker_(a);
1245
+ s = s || d;
1246
1246
  }
1247
1247
  if (!t && s)
1248
1248
  return this.resetViewport(), this.redraw(), !0;
@@ -1329,8 +1329,8 @@ let vr = class Lt {
1329
1329
  n.x += this.gridSize_, n.y -= this.gridSize_;
1330
1330
  var a = t.fromLatLngToDivPixel(s);
1331
1331
  a.x -= this.gridSize_, a.y += this.gridSize_;
1332
- var p = t.fromDivPixelToLatLng(n), o = t.fromDivPixelToLatLng(a);
1333
- return e.extend(p), e.extend(o), e;
1332
+ var d = t.fromDivPixelToLatLng(n), o = t.fromDivPixelToLatLng(a);
1333
+ return e.extend(d), e.extend(o), e;
1334
1334
  }
1335
1335
  /**
1336
1336
  * Determins if a marker is contained in a bounds.
@@ -1388,7 +1388,7 @@ let vr = class Lt {
1388
1388
  distanceBetweenPoints_(e, t) {
1389
1389
  if (!e || !t)
1390
1390
  return 0;
1391
- var r = 6371, s = (t.lat() - e.lat()) * Math.PI / 180, n = (t.lng() - e.lng()) * Math.PI / 180, a = Math.sin(s / 2) * Math.sin(s / 2) + Math.cos(e.lat() * Math.PI / 180) * Math.cos(t.lat() * Math.PI / 180) * Math.sin(n / 2) * Math.sin(n / 2), p = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)), o = r * p;
1391
+ var r = 6371, s = (t.lat() - e.lat()) * Math.PI / 180, n = (t.lng() - e.lng()) * Math.PI / 180, a = Math.sin(s / 2) * Math.sin(s / 2) + Math.cos(e.lat() * Math.PI / 180) * Math.cos(t.lat() * Math.PI / 180) * Math.sin(n / 2) * Math.sin(n / 2), d = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)), o = r * d;
1392
1392
  return o;
1393
1393
  }
1394
1394
  /**
@@ -1401,14 +1401,14 @@ let vr = class Lt {
1401
1401
  for (var t = 4e4, r = null, s = 0, n; n = this.clusters_[s]; s++) {
1402
1402
  var a = n.getCenter();
1403
1403
  if (a) {
1404
- var p = this.distanceBetweenPoints_(a, e.getPosition());
1405
- p < t && (t = p, r = n);
1404
+ var d = this.distanceBetweenPoints_(a, e.getPosition());
1405
+ d < t && (t = d, r = n);
1406
1406
  }
1407
1407
  }
1408
1408
  if (r && r.isMarkerInClusterBounds(e))
1409
1409
  r.addMarker(e);
1410
1410
  else {
1411
- var o = new _r(this);
1411
+ var o = new Mr(this);
1412
1412
  o.addMarker(e), this.clusters_.push(o);
1413
1413
  }
1414
1414
  }
@@ -1426,7 +1426,7 @@ let vr = class Lt {
1426
1426
  !s.isAdded && this.isMarkerInBounds_(s, t) && this.addToClosestCluster_(s);
1427
1427
  }
1428
1428
  };
1429
- class _r {
1429
+ class Mr {
1430
1430
  constructor(e) {
1431
1431
  this.markerClusterer_ = e, this.map_ = e.getMap(), this.gridSize_ = e.getGridSize(), this.minClusterSize_ = e.getMinClusterSize(), this.averageCenter_ = e.isAverageCenter(), this.center_ = null, this.markers_ = [], this.bounds_ = null, this.clusterIcon_ = new Ge(
1432
1432
  this,
@@ -1721,7 +1721,7 @@ var Me;
1721
1721
  }
1722
1722
  i.toGoogle = t;
1723
1723
  })(Me || (Me = {}));
1724
- class Bt {
1724
+ class St {
1725
1725
  constructor(e) {
1726
1726
  h(this, "inner");
1727
1727
  this.map = e;
@@ -1747,7 +1747,7 @@ class Bt {
1747
1747
  return this.inner.removeMarkers(e.map((t) => t.innerOverlay));
1748
1748
  }
1749
1749
  }
1750
- class Mr extends Bt {
1750
+ class br extends St {
1751
1751
  constructor(e, t) {
1752
1752
  var s;
1753
1753
  super(e), this.inner = new _(e.innerMap, {
@@ -1767,10 +1767,10 @@ class Mr extends Bt {
1767
1767
  this.inner._redraw();
1768
1768
  }
1769
1769
  }
1770
- class br extends Bt {
1770
+ class Tr extends St {
1771
1771
  constructor(e, t) {
1772
1772
  var s, n;
1773
- super(e), this.inner = new vr(
1773
+ super(e), this.inner = new _r(
1774
1774
  e.innerMap,
1775
1775
  // google的构造器中的markers,不会触发重绘, 第一次绘制通过监听地图的'idle'事件触发, 可以直接设置
1776
1776
  (s = t.markers) == null ? void 0 : s.map((a) => a.innerOverlay),
@@ -1784,10 +1784,10 @@ class br extends Bt {
1784
1784
  }
1785
1785
  );
1786
1786
  const r = t.stylesIndexCalculator;
1787
- r && this.inner.setCalculator((a, p) => ({
1787
+ r && this.inner.setCalculator((a, d) => ({
1788
1788
  text: a.length,
1789
1789
  // google内部, 取index时, 会`-1`...故我们这里`+1`, 抵消掉它
1790
- index: r(a.length, p) + 1
1790
+ index: r(a.length, d) + 1
1791
1791
  }));
1792
1792
  }
1793
1793
  recreate() {
@@ -1826,7 +1826,7 @@ var Te;
1826
1826
  }
1827
1827
  i.remove = t;
1828
1828
  })(Te || (Te = {}));
1829
- class St {
1829
+ class $t {
1830
1830
  constructor(e, t) {
1831
1831
  h(this, "eventMap", /* @__PURE__ */ new Map());
1832
1832
  h(this, "target", void 0);
@@ -1836,7 +1836,7 @@ class St {
1836
1836
  return this.target = e, this;
1837
1837
  }
1838
1838
  }
1839
- const ut = class extends St {
1839
+ const ut = class extends $t {
1840
1840
  addEventListener(e, t) {
1841
1841
  const r = ye(e, t);
1842
1842
  if (this.eventMap.get(r)) {
@@ -1871,7 +1871,7 @@ h(X, "EVENT_TYPE_MAP", {
1871
1871
  "map-mouseup": "mouseup",
1872
1872
  "map-dblclick": "dblclick"
1873
1873
  });
1874
- const Ce = class extends St {
1874
+ const Ce = class extends $t {
1875
1875
  addEventListener(e, t) {
1876
1876
  const r = ye(e, t);
1877
1877
  if (this.eventMap.get(r)) {
@@ -1902,7 +1902,7 @@ h(Q, "EVENT_TYPE_MAP", {
1902
1902
  "zoom-changed": "zoomend",
1903
1903
  "map-type-changed": "maptypechange"
1904
1904
  });
1905
- class Tr {
1905
+ class Or {
1906
1906
  constructor() {
1907
1907
  h(this, "typeMap", /* @__PURE__ */ new Map());
1908
1908
  }
@@ -1923,7 +1923,7 @@ class Tr {
1923
1923
  t && t.forEach((r) => r.call(e.target, e));
1924
1924
  }
1925
1925
  }
1926
- class $t {
1926
+ class At {
1927
1927
  constructor(e, t, r, s) {
1928
1928
  h(this, "addEventListener");
1929
1929
  h(this, "removeEventListener");
@@ -1933,7 +1933,7 @@ class $t {
1933
1933
  this.map.removeOverlay(this);
1934
1934
  }
1935
1935
  }
1936
- class je extends $t {
1936
+ class je extends At {
1937
1937
  constructor(e, t, r) {
1938
1938
  super(e, t, r, new X(e, r));
1939
1939
  }
@@ -1944,7 +1944,7 @@ class je extends $t {
1944
1944
  this.innerOverlay.setVisible(e);
1945
1945
  }
1946
1946
  }
1947
- class we extends $t {
1947
+ class we extends At {
1948
1948
  constructor(e, t, r) {
1949
1949
  super(e, t, r, new Q(e, r));
1950
1950
  }
@@ -2158,7 +2158,7 @@ class qe extends We {
2158
2158
  return this.innerOverlay.getRadius();
2159
2159
  }
2160
2160
  }
2161
- class vt {
2161
+ class _t {
2162
2162
  /**
2163
2163
  * `keys`和`values`数组中可以有相同的值, 若存在相同值, 则index越小的优先级越高
2164
2164
  */
@@ -2176,7 +2176,7 @@ class vt {
2176
2176
  return this.keyToValue.get(e) ?? P();
2177
2177
  }
2178
2178
  }
2179
- class Or {
2179
+ class Cr {
2180
2180
  constructor(e, t = 10) {
2181
2181
  h(this, "map", /* @__PURE__ */ new Map());
2182
2182
  this.values = e, this.maxSize4Debug = t;
@@ -2205,7 +2205,7 @@ class Or {
2205
2205
  return this.getOrNull(e, t) ?? P(`key(${t})不存在与valueMap(${this.getValueMap(e)})中`);
2206
2206
  }
2207
2207
  }
2208
- class _t {
2208
+ class Mt {
2209
2209
  constructor(e) {
2210
2210
  h(this, "value");
2211
2211
  this.creator = e;
@@ -2233,7 +2233,7 @@ var x = /* @__PURE__ */ ((i) => (i.TOP_LEFT = "top-left", i.TOP_CENTER = "top-ce
2233
2233
  /* RIGHT_BOTTOM */
2234
2234
  ];
2235
2235
  function s() {
2236
- return e || (e = new vt(r, [
2236
+ return e || (e = new _t(r, [
2237
2237
  /* | @tg/map |名字相同| baidu | */
2238
2238
  /* TOP_LEFT = */
2239
2239
  BMAP_ANCHOR_TOP_LEFT,
@@ -2263,7 +2263,7 @@ var x = /* @__PURE__ */ ((i) => (i.TOP_LEFT = "top-left", i.TOP_CENTER = "top-ce
2263
2263
  }
2264
2264
  i.getBaidu = s;
2265
2265
  function n() {
2266
- return t || (t = new vt(r, [
2266
+ return t || (t = new _t(r, [
2267
2267
  google.maps.ControlPosition.TOP_LEFT,
2268
2268
  google.maps.ControlPosition.TOP_CENTER,
2269
2269
  google.maps.ControlPosition.TOP_RIGHT,
@@ -2280,16 +2280,16 @@ var x = /* @__PURE__ */ ((i) => (i.TOP_LEFT = "top-left", i.TOP_CENTER = "top-ce
2280
2280
  }
2281
2281
  i.getGoogle = n;
2282
2282
  })(I || (I = {}));
2283
- class Cr {
2283
+ class wr {
2284
2284
  constructor(e) {
2285
2285
  /** 实际添加到地图中的control对象 */
2286
2286
  h(this, "inner");
2287
2287
  this.position = e;
2288
2288
  }
2289
2289
  }
2290
- class At {
2290
+ class zt {
2291
2291
  }
2292
- class Xe extends At {
2292
+ class Xe extends zt {
2293
2293
  constructor(e, t) {
2294
2294
  super(), this.inner = e, this.position = t;
2295
2295
  }
@@ -2312,7 +2312,7 @@ class Xe extends At {
2312
2312
  e.innerMap.removeControl(this.inner);
2313
2313
  }
2314
2314
  }
2315
- class Je extends At {
2315
+ class Je extends zt {
2316
2316
  constructor(t, r) {
2317
2317
  super();
2318
2318
  h(this, "visible", !1);
@@ -2349,7 +2349,7 @@ class Je extends At {
2349
2349
  });
2350
2350
  }
2351
2351
  }
2352
- var zt = /* @__PURE__ */ ((i) => (i.normal = "normal", i.satellite = "satellite", i.hybrid = "hybrid", i))(zt || {});
2352
+ var Nt = /* @__PURE__ */ ((i) => (i.normal = "normal", i.satellite = "satellite", i.hybrid = "hybrid", i))(Nt || {});
2353
2353
  class E {
2354
2354
  constructor(e, t, r, s) {
2355
2355
  this.id = e, this.baidu = t, this.google = r, this.googleCoordType = s;
@@ -2371,13 +2371,13 @@ class E {
2371
2371
  return this.google();
2372
2372
  }
2373
2373
  asGoogleMapType() {
2374
- Jt("google的内置地图没有对应的实例");
2374
+ Qt("google的内置地图没有对应的实例");
2375
2375
  }
2376
2376
  }
2377
- class wr {
2377
+ class xr {
2378
2378
  constructor() {
2379
- h(this, "baiduCache", new _t(() => new BMap.TrafficLayer()));
2380
- h(this, "googleCache", new _t(() => new google.maps.TrafficLayer()));
2379
+ h(this, "baiduCache", new Mt(() => new BMap.TrafficLayer()));
2380
+ h(this, "googleCache", new Mt(() => new google.maps.TrafficLayer()));
2381
2381
  }
2382
2382
  asBaiduLayer() {
2383
2383
  return this.baiduCache.get();
@@ -2394,13 +2394,13 @@ var k;
2394
2394
  ), () => (
2395
2395
  /* 地形 */
2396
2396
  google.maps.MapTypeId.TERRAIN
2397
- ), q.wgs84), i.BUILD_IN_MAP_TYPES = new Or([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
2397
+ ), q.wgs84), i.BUILD_IN_MAP_TYPES = new Cr([i.NORMAL, i.SATELLITE, i.HYBRID, i.TERRAIN]);
2398
2398
  })(k || (k = {}));
2399
- var Nt = /* @__PURE__ */ ((i) => (i.DEFAULT = "default", i.HORIZONTAL = "horizontal", i.DROPDOWN = "dropdown", i))(Nt || {});
2400
- const Rt = [k.NORMAL, k.SATELLITE, k.HYBRID];
2399
+ var Rt = /* @__PURE__ */ ((i) => (i.DEFAULT = "default", i.HORIZONTAL = "horizontal", i.DROPDOWN = "dropdown", i))(Rt || {});
2400
+ const Dt = [k.NORMAL, k.SATELLITE, k.HYBRID];
2401
2401
  class Qe extends Xe {
2402
2402
  static create(e) {
2403
- const t = e.mapTypes ?? Rt, r = {
2403
+ const t = e.mapTypes ?? Dt, r = {
2404
2404
  default: BMAP_MAPTYPE_CONTROL_HORIZONTAL,
2405
2405
  horizontal: BMAP_MAPTYPE_CONTROL_HORIZONTAL,
2406
2406
  dropdown: BMAP_MAPTYPE_CONTROL_DROPDOWN
@@ -2412,7 +2412,7 @@ class Qe extends Xe {
2412
2412
  }
2413
2413
  }
2414
2414
  const J = class extends Je {
2415
- constructor(e = "default", t = x.TOP_LEFT, r = Rt) {
2415
+ constructor(e = "default", t = x.TOP_LEFT, r = Dt) {
2416
2416
  super("mapType", t), this.type = e, this.mapTypes = r, J.type2google || (J.type2google = {
2417
2417
  default: google.maps.MapTypeControlStyle.DEFAULT,
2418
2418
  horizontal: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
@@ -2513,8 +2513,8 @@ class ce extends we {
2513
2513
  draggingCursor: e.cursor
2514
2514
  }, n = new BMap.Marker(e.position.toBaidu(t), s);
2515
2515
  e.zIndex !== void 0 && n.setZIndex(e.zIndex);
2516
- const a = e.clickable === void 0 ? !0 : e.clickable, p = !!e.draggable;
2517
- return new ce(n, t, this, { clickable: a, draggable: p, zIndex: e.zIndex }).visibleOptionInternal(e.visible);
2516
+ const a = e.clickable === void 0 ? !0 : e.clickable, d = !!e.draggable;
2517
+ return new ce(n, t, this, { clickable: a, draggable: d, zIndex: e.zIndex }).visibleOptionInternal(e.visible);
2518
2518
  }
2519
2519
  getPosition() {
2520
2520
  return y.fromBaidu(this.innerOverlay.getPosition(), this.coordType);
@@ -2684,7 +2684,7 @@ class ot extends nt {
2684
2684
  class at extends nt {
2685
2685
  constructor(t, r) {
2686
2686
  super(new X(t, r));
2687
- h(this, "eventHub", new Tr());
2687
+ h(this, "eventHub", new Or());
2688
2688
  h(this, "isOpened", !1);
2689
2689
  this.inner = t, this.map = r, t.addListener("closeclick", () => {
2690
2690
  this.isOpened = !1, this.eventHub.hasListener("close") && this.eventHub.notify({ type: "close", target: this });
@@ -2744,10 +2744,10 @@ var de;
2744
2744
  i.ZERO = { x: 0, y: 0 };
2745
2745
  })(de || (de = {}));
2746
2746
  let ke;
2747
- function xr(i, e, t, r) {
2748
- return ke || (ke = Er()), new ke(i, e, t, r);
2747
+ function Er(i, e, t, r) {
2748
+ return ke || (ke = kr()), new ke(i, e, t, r);
2749
2749
  }
2750
- function Er() {
2750
+ function kr() {
2751
2751
  return class extends google.maps.OverlayView {
2752
2752
  constructor(t, r, s, n) {
2753
2753
  super();
@@ -2884,7 +2884,7 @@ class lt extends we {
2884
2884
  class ht extends je {
2885
2885
  static create(e) {
2886
2886
  var s;
2887
- const t = this.coordType, r = xr(
2887
+ const t = this.coordType, r = Er(
2888
2888
  re.toElement(e.content),
2889
2889
  (s = e.position) == null ? void 0 : s.toGoogle(t),
2890
2890
  e.offset,
@@ -2912,18 +2912,18 @@ class ht extends je {
2912
2912
  this.innerOverlay.setOffset(e);
2913
2913
  }
2914
2914
  }
2915
- function Dt() {
2915
+ function Zt() {
2916
2916
  BMap.OverlayV3 || (BMap.OverlayV3 = BMap.Overlay);
2917
2917
  }
2918
2918
  let Pe;
2919
- function kr(i, e, t, r, s, n) {
2920
- return Pe || (Pe = Pr()), new Pe(i, e, t, r, s, n);
2919
+ function Pr(i, e, t, r, s, n) {
2920
+ return Pe || (Pe = Ir()), new Pe(i, e, t, r, s, n);
2921
2921
  }
2922
- function Pr() {
2923
- Dt();
2922
+ function Ir() {
2923
+ Zt();
2924
2924
  const i = new BMap.Point(0, 0);
2925
2925
  return class extends BMap.OverlayV3 {
2926
- constructor(r, s = i, n = de.ZERO, a, p = 654, o = "") {
2926
+ constructor(r, s = i, n = de.ZERO, a, d = 654, o = "") {
2927
2927
  super();
2928
2928
  // 类表达式不能有私有成员, 故改成public
2929
2929
  h(this, "container");
@@ -2937,7 +2937,7 @@ function Pr() {
2937
2937
  const c = document.createElement("img");
2938
2938
  c.className = l + "__close", c.src = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000000%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E%0A", c.addEventListener("click", () => {
2939
2939
  this.close(), this.dispatchEvent({ type: "onclickclose" });
2940
- }), this.inner.appendChild(r), this.border.appendChild(this.inner), this.border.appendChild(c), this.container.appendChild(this.border), a && this.setZIndex(a), this.setMaxWidth(p), this.onMarkerPositionChanged = this.onMarkerPositionChanged.bind(this);
2940
+ }), this.inner.appendChild(r), this.border.appendChild(this.inner), this.border.appendChild(c), this.container.appendChild(this.border), a && this.setZIndex(a), this.setMaxWidth(d), this.onMarkerPositionChanged = this.onMarkerPositionChanged.bind(this);
2941
2941
  }
2942
2942
  /** @override */
2943
2943
  initialize(r) {
@@ -2994,7 +2994,7 @@ class ct extends we {
2994
2994
  }
2995
2995
  static create(e) {
2996
2996
  var s;
2997
- const t = this.coordType, r = kr(
2997
+ const t = this.coordType, r = Pr(
2998
2998
  e.content,
2999
2999
  (s = e.position) == null ? void 0 : s.toBaidu(t),
3000
3000
  e.offset,
@@ -3037,8 +3037,8 @@ class dt extends nt {
3037
3037
  maxWidth: e.maxWidth
3038
3038
  }), s = e.borderClass;
3039
3039
  return s && r.addListener("domready", () => {
3040
- var p;
3041
- const a = (p = e.content.parentElement) == null ? void 0 : p.parentElement;
3040
+ var d;
3041
+ const a = (d = e.content.parentElement) == null ? void 0 : d.parentElement;
3042
3042
  a && a.className.includes("gm-style-iw-c") && !a.className.includes(s) && (a.className += ` ${s}`);
3043
3043
  }), new dt(r, t, this);
3044
3044
  }
@@ -3068,7 +3068,7 @@ class dt extends nt {
3068
3068
  this.inner.setZIndex(e);
3069
3069
  }
3070
3070
  }
3071
- class Ir extends Ze {
3071
+ class Lr extends Ze {
3072
3072
  constructor(t, r) {
3073
3073
  var s;
3074
3074
  super(t);
@@ -3227,10 +3227,10 @@ class Ir extends Ze {
3227
3227
  t.inner && (ae(t.inner instanceof BMap.Control, `control.inner(${t.inner})需要是BMap.Control`), this.map.removeControl(t.inner));
3228
3228
  }
3229
3229
  createMarkerClusterer(t) {
3230
- return new Mr(this, t);
3230
+ return new br(this, t);
3231
3231
  }
3232
3232
  }
3233
- class Lr extends Ze {
3233
+ class Br extends Ze {
3234
3234
  constructor(t, r) {
3235
3235
  var n;
3236
3236
  super(t);
@@ -3279,15 +3279,15 @@ class Lr extends Ze {
3279
3279
  const r = this.innerMap.getProjection(), s = this.innerMap.getBounds();
3280
3280
  if (r == null || s == null)
3281
3281
  return y.ZERO;
3282
- const n = r.fromLatLngToPoint(s.getSouthWest()), a = r.fromLatLngToPoint(s.getNorthEast()), p = Math.pow(2, this.innerMap.getZoom()), o = new google.maps.Point(t.x / p + n.x, t.y / p + a.y);
3282
+ const n = r.fromLatLngToPoint(s.getSouthWest()), a = r.fromLatLngToPoint(s.getNorthEast()), d = Math.pow(2, this.innerMap.getZoom()), o = new google.maps.Point(t.x / d + n.x, t.y / d + a.y);
3283
3283
  return y.fromGoogle(r.fromPointToLatLng(o), this.coordType);
3284
3284
  }
3285
3285
  fromLatLngToContainerPoint(t) {
3286
3286
  const r = this.innerMap.getProjection(), s = this.innerMap.getBounds();
3287
3287
  if (r == null || s == null)
3288
3288
  return de.ZERO;
3289
- const n = r.fromLatLngToPoint(s.getSouthWest()), a = r.fromLatLngToPoint(s.getNorthEast()), p = Math.pow(2, this.innerMap.getZoom()), o = r.fromLatLngToPoint(t.toGoogle(this.coordType));
3290
- return { x: (o.x - n.x) * p, y: (o.y - a.y) * p };
3289
+ const n = r.fromLatLngToPoint(s.getSouthWest()), a = r.fromLatLngToPoint(s.getNorthEast()), d = Math.pow(2, this.innerMap.getZoom()), o = r.fromLatLngToPoint(t.toGoogle(this.coordType));
3290
+ return { x: (o.x - n.x) * d, y: (o.y - a.y) * d };
3291
3291
  }
3292
3292
  setDraggable(t) {
3293
3293
  this.innerMap.setOptions({ draggable: t });
@@ -3369,17 +3369,17 @@ class Lr extends Ze {
3369
3369
  }
3370
3370
  }
3371
3371
  createMarkerClusterer(t) {
3372
- return new br(this, t);
3372
+ return new Tr(this, t);
3373
3373
  }
3374
3374
  }
3375
- class Br extends Ze {
3375
+ class Sr extends Ze {
3376
3376
  constructor(t, r) {
3377
3377
  var a;
3378
3378
  super(t);
3379
3379
  h(this, "map");
3380
3380
  h(this, "defaultLayers");
3381
3381
  this.mapOptions = r;
3382
- const s = xt().here;
3382
+ const s = Et().here;
3383
3383
  _e.includes(s.version) || P(`不支持${s.version}, HereMap当前只支持如下版本: ${_e}`);
3384
3384
  const n = new H.service.Platform({
3385
3385
  app_id: s.key.split(",")[0],
@@ -3515,24 +3515,24 @@ var $ = /* @__PURE__ */ ((i) => (i.google = "google", i.baidu = "baidu", i.here
3515
3515
  const n = Be.create(s);
3516
3516
  switch (t) {
3517
3517
  case "google":
3518
- return new Lr(r, n);
3518
+ return new Br(r, n);
3519
3519
  case "baidu":
3520
- return new Ir(r, n);
3520
+ return new Lr(r, n);
3521
3521
  case "here":
3522
- return new Br(r, n);
3522
+ return new Sr(r, n);
3523
3523
  }
3524
3524
  }
3525
3525
  i.createMap = e;
3526
3526
  })(Ae || (Ae = {}));
3527
- function Sr(i, e) {
3528
- const t = window, r = $r(i);
3527
+ function $r(i, e) {
3528
+ const t = window, r = Ar(i);
3529
3529
  if (t[r])
3530
3530
  return Promise.resolve();
3531
3531
  switch (i !== $.here && !e.key && P(`请先配置${i}地图的key`), i) {
3532
3532
  case $.google:
3533
- return Mt(`https://maps.googleapis.com/maps/api/js?key=${e.key}&language=${e.language}`);
3533
+ return bt(`https://maps.googleapis.com/maps/api/js?key=${e.key}&language=${e.language}`);
3534
3534
  case $.baidu:
3535
- return Mt(`https://api.map.baidu.com/api?v=${e.version}&ak=${e.key}`);
3535
+ return bt(`https://api.map.baidu.com/api?v=${e.version}&ak=${e.key}`);
3536
3536
  case $.here:
3537
3537
  return ne(se("core", e.version)).then(() => Promise.all([
3538
3538
  // 其他大多数模块都可以同时载入
@@ -3546,7 +3546,7 @@ function Sr(i, e) {
3546
3546
  function se(i, e = _e[0]) {
3547
3547
  return `https://js.api.here.com/v3/${e}/mapsjs-${i}.js`;
3548
3548
  }
3549
- function $r(i) {
3549
+ function Ar(i) {
3550
3550
  switch (i) {
3551
3551
  case $.google:
3552
3552
  return "google";
@@ -3556,10 +3556,10 @@ function $r(i) {
3556
3556
  return "H";
3557
3557
  }
3558
3558
  }
3559
- let Ar = 0;
3560
- function Mt(i, e = "callback") {
3559
+ let zr = 0;
3560
+ function bt(i, e = "callback") {
3561
3561
  return new Promise((t, r) => {
3562
- const s = `__callback${Ar++}`;
3562
+ const s = `__callback${zr++}`;
3563
3563
  window[s] = t;
3564
3564
  const n = document.createElement("script");
3565
3565
  n.src = `${i}&${e}=${s}`, n.onerror = r, document.body.appendChild(n);
@@ -3585,10 +3585,17 @@ var Oe;
3585
3585
  }
3586
3586
  i.trimIndent = t;
3587
3587
  function r(s) {
3588
- return s.replace(/([^A-Z]?)([A-Z])/g, (n, a, p) => a ? `${a}-${p.toLowerCase()}` : p.toLowerCase());
3588
+ return s.replace(/([^A-Z]?)([A-Z])/g, (n, a, d) => a ? `${a}-${d.toLowerCase()}` : d.toLowerCase());
3589
3589
  }
3590
3590
  i.pascal2kebab = r;
3591
3591
  })(Oe || (Oe = {}));
3592
+ const Nr = {
3593
+ /** @see https://nodejs.org/docs/v10.3.0/api/path.html#path_path_basename_path_ext */
3594
+ basename(i, e) {
3595
+ const t = i.endsWith("/") ? i.slice(0, -1) : i, r = t.lastIndexOf("/"), s = r >= 0 ? t.substring(r + 1) : t;
3596
+ return e && s.endsWith(e) ? s.slice(0, -e.length) : s;
3597
+ }
3598
+ };
3592
3599
  function D(i, e) {
3593
3600
  return {
3594
3601
  type: String,
@@ -3596,7 +3603,7 @@ function D(i, e) {
3596
3603
  validator: (t) => Object.values(i).includes(t)
3597
3604
  };
3598
3605
  }
3599
- function zr(i, e) {
3606
+ function Rr(i, e) {
3600
3607
  return {
3601
3608
  type: String,
3602
3609
  default: e,
@@ -3615,7 +3622,7 @@ function m(i, e) {
3615
3622
  default: e
3616
3623
  };
3617
3624
  }
3618
- function Ti(i) {
3625
+ function Ci(i) {
3619
3626
  const e = {};
3620
3627
  return Object.entries(i).forEach(([t, r]) => {
3621
3628
  const s = `__${t}`;
@@ -3638,17 +3645,17 @@ const oe = {
3638
3645
  get: ve,
3639
3646
  set: ve
3640
3647
  };
3641
- function Nr(i) {
3648
+ function Dr(i) {
3642
3649
  return Object.keys(i).forEach((e) => {
3643
3650
  const t = i[e];
3644
3651
  let r = !1;
3645
3652
  typeof t == "function" ? (oe.get = t, oe.set = ve, r = !0) : typeof t == "object" && typeof t.get == "function" && (oe.get = t.get, oe.set = t.set, r = !0), r && (i[e] = Object.defineProperty(i, e, oe));
3646
3653
  }), i;
3647
3654
  }
3648
- function Oi(i) {
3649
- return Nr(i);
3655
+ function wi(i) {
3656
+ return Dr(i);
3650
3657
  }
3651
- function Rr() {
3658
+ function Zr() {
3652
3659
  return Ie();
3653
3660
  }
3654
3661
  function me(i, e) {
@@ -3657,12 +3664,12 @@ function me(i, e) {
3657
3664
  for (const r of t)
3658
3665
  r.call(i);
3659
3666
  }
3660
- function Ci(i, e) {
3667
+ function xi(i, e) {
3661
3668
  for (const t of i)
3662
3669
  if (t.$options.name === e.name)
3663
3670
  return t;
3664
3671
  }
3665
- function wi(i, e) {
3672
+ function Ei(i, e) {
3666
3673
  if (!i.default)
3667
3674
  return;
3668
3675
  const t = i.default();
@@ -3670,7 +3677,7 @@ function wi(i, e) {
3670
3677
  if ((r == null ? void 0 : r.type).name === e.name)
3671
3678
  return r;
3672
3679
  }
3673
- function Dr(i, e) {
3680
+ function Gr(i, e) {
3674
3681
  const t = {}, r = {}, s = {};
3675
3682
  return Object.keys(i).forEach((n) => {
3676
3683
  n.startsWith("on") ? t[Oe.pascal2kebab(n.substring(2))] = i[n] : r[n] = i[n];
@@ -3686,12 +3693,12 @@ function Dr(i, e) {
3686
3693
  };
3687
3694
  }
3688
3695
  function U(i, e) {
3689
- return bt(() => Dr(i, e));
3696
+ return Tt(() => Gr(i, e));
3690
3697
  }
3691
3698
  function N() {
3692
3699
  return Function;
3693
3700
  }
3694
- const xi = {
3701
+ const ki = {
3695
3702
  /**
3696
3703
  * @event 一般来说传{@link Tg.Event}对象, 但传其他对象也不会报错
3697
3704
  */
@@ -3702,8 +3709,8 @@ const xi = {
3702
3709
  eventLogLess(i) {
3703
3710
  ((i && i.type) !== this.$_prev_type || Date.now() - (this.$_prev_time ?? 0) > 1e3) && this.eventLog(i);
3704
3711
  }
3705
- }, Zt = "$map", ze = "onCreate", Ne = "onDestroy", w = C({
3706
- inject: [Zt],
3712
+ }, Gt = "$map", ze = "onCreate", Ne = "onDestroy", w = C({
3713
+ inject: [Gt],
3707
3714
  mounted() {
3708
3715
  me(this, ze);
3709
3716
  },
@@ -3716,13 +3723,13 @@ const xi = {
3716
3723
  }
3717
3724
  },
3718
3725
  render() {
3719
- return Rr();
3726
+ return Zr();
3720
3727
  }
3721
- }), Zr = C({
3728
+ }), jr = C({
3722
3729
  name: "tg-map",
3723
3730
  provide() {
3724
3731
  return {
3725
- [Zt]: bt(() => this.map)
3732
+ [Gt]: Tt(() => this.map)
3726
3733
  };
3727
3734
  },
3728
3735
  inheritAttrs: !1,
@@ -3755,12 +3762,12 @@ const xi = {
3755
3762
  */
3756
3763
  lastCenter: m(y),
3757
3764
  zoom: z(Number),
3758
- infoWindowMode: zr(mr),
3765
+ infoWindowMode: Rr(fr),
3759
3766
  gestureHandling: D(R),
3760
3767
  minZoom: m(Number),
3761
3768
  maxZoom: m(Number),
3762
3769
  mapStyle: m(Object),
3763
- mapTypeId: D(zt),
3770
+ mapTypeId: D(Nt),
3764
3771
  /** 地图类型对象, 优先级比mapTypeId高 */
3765
3772
  mapType: m(Object),
3766
3773
  onLoad: N(),
@@ -3824,10 +3831,10 @@ const xi = {
3824
3831
  (e = this.map) == null || e.setMapType(i ?? k.NORMAL);
3825
3832
  }
3826
3833
  },
3827
- async created() {
3834
+ async mounted() {
3828
3835
  const i = this.type;
3829
3836
  try {
3830
- await Sr(i, xt()[i]);
3837
+ await $r(i, Et()[i]);
3831
3838
  } catch (s) {
3832
3839
  this.$emit("error", s);
3833
3840
  return;
@@ -3851,7 +3858,7 @@ const xi = {
3851
3858
  buildInMapTypeId: this.mapTypeId
3852
3859
  }
3853
3860
  );
3854
- if (this.map = Wt(e), this.mapType && e.setMapType(this.mapType), "ready" in this.attrs.listeners && console.error("地图载入完成的事件已经从ready改为了load, 请手动修改"), F(
3861
+ if (this.map = Ht(e), this.mapType && e.setMapType(this.mapType), "ready" in this.attrs.listeners && console.error("地图载入完成的事件已经从ready改为了load, 请手动修改"), F(
3855
3862
  this.attrs.listeners,
3856
3863
  e,
3857
3864
  /* excludes: */
@@ -3883,20 +3890,20 @@ const j = (i, e) => {
3883
3890
  for (const [r, s] of e)
3884
3891
  t[r] = s;
3885
3892
  return t;
3886
- }, Gr = {
3893
+ }, Vr = {
3887
3894
  ref: "map",
3888
3895
  class: "tg-map__map"
3889
3896
  };
3890
- function jr(i, e, t, r, s, n) {
3897
+ function Wr(i, e, t, r, s, n) {
3891
3898
  return Z(), G("div", ie({ class: "tg-map" }, i.attrs.binds), [
3892
- Ht("div", Gr, null, 512),
3899
+ Ft("div", Vr, null, 512),
3893
3900
  Ie("", !0),
3894
3901
  i.map ? A(i.$slots, "default", { key: 1 }) : Ie("", !0),
3895
3902
  A(i.$slots, "overlay")
3896
3903
  ], 16);
3897
3904
  }
3898
- const Vr = /* @__PURE__ */ j(Zr, [["render", jr]]);
3899
- function Wr(i) {
3905
+ const Hr = /* @__PURE__ */ j(jr, [["render", Wr]]);
3906
+ function Fr(i) {
3900
3907
  if (i == null)
3901
3908
  return;
3902
3909
  let e;
@@ -3907,7 +3914,7 @@ function Wr(i) {
3907
3914
  e = i;
3908
3915
  return `${e}px`;
3909
3916
  }
3910
- const Hr = C({
3917
+ const Ur = C({
3911
3918
  name: "tg-map-widget",
3912
3919
  props: {
3913
3920
  left: {
@@ -3933,18 +3940,18 @@ const Hr = C({
3933
3940
  }
3934
3941
  },
3935
3942
  methods: {
3936
- dimen: Wr
3943
+ dimen: Fr
3937
3944
  }
3938
3945
  });
3939
- function Fr(i, e, t, r, s, n) {
3946
+ function Yr(i, e, t, r, s, n) {
3940
3947
  return Z(), G("div", {
3941
3948
  class: De(i.$options.name),
3942
- style: Ft({ left: i.dimen(i.left), top: i.dimen(i.topValue), right: i.dimen(i.right), bottom: i.dimen(i.bottom) })
3949
+ style: Ut({ left: i.dimen(i.left), top: i.dimen(i.topValue), right: i.dimen(i.right), bottom: i.dimen(i.bottom) })
3943
3950
  }, [
3944
3951
  A(i.$slots, "default")
3945
3952
  ], 6);
3946
3953
  }
3947
- const Ei = /* @__PURE__ */ j(Hr, [["render", Fr]]), Ur = C({
3954
+ const Pi = /* @__PURE__ */ j(Ur, [["render", Yr]]), Kr = C({
3948
3955
  name: "tg-custom-control",
3949
3956
  mixins: [w],
3950
3957
  props: {
@@ -3961,8 +3968,8 @@ const Ei = /* @__PURE__ */ j(Hr, [["render", Fr]]), Ur = C({
3961
3968
  }
3962
3969
  },
3963
3970
  onCreate() {
3964
- pe(this.$parent, Vr) || console.warn("请将tg-custom-control放到tg-map中");
3965
- const { $el: i } = this, e = class extends Cr {
3971
+ pe(this.$parent, Hr) || console.warn("请将tg-custom-control放到tg-map中");
3972
+ const { $el: i } = this, e = class extends wr {
3966
3973
  onCreateElement() {
3967
3974
  return i;
3968
3975
  }
@@ -3973,19 +3980,19 @@ const Ei = /* @__PURE__ */ j(Hr, [["render", Fr]]), Ur = C({
3973
3980
  this.$map.removeCustomControl(this.control);
3974
3981
  }
3975
3982
  });
3976
- function Yr(i, e, t, r, s, n) {
3983
+ function qr(i, e, t, r, s, n) {
3977
3984
  return Z(), G("div", {
3978
3985
  class: De(i.$options.name)
3979
3986
  }, [
3980
3987
  A(i.$slots, "default")
3981
3988
  ], 2);
3982
3989
  }
3983
- const ki = /* @__PURE__ */ j(Ur, [["render", Yr]]), Pi = C({
3990
+ const Ii = /* @__PURE__ */ j(Kr, [["render", qr]]), Li = C({
3984
3991
  name: "tg-map-type-control",
3985
3992
  mixins: [w],
3986
3993
  props: {
3987
3994
  position: D(x, x.TOP_LEFT),
3988
- type: D(Nt),
3995
+ type: D(Rt),
3989
3996
  mapTypes: m(Array)
3990
3997
  },
3991
3998
  setup() {
@@ -4013,7 +4020,7 @@ const ki = /* @__PURE__ */ j(Ur, [["render", Yr]]), Pi = C({
4013
4020
  onDestroy() {
4014
4021
  this.$map.removeControl(this.control);
4015
4022
  }
4016
- }), Ii = C({
4023
+ }), Bi = C({
4017
4024
  name: "tg-scale-control",
4018
4025
  mixins: [w],
4019
4026
  props: {
@@ -4035,7 +4042,7 @@ const ki = /* @__PURE__ */ j(Ur, [["render", Yr]]), Pi = C({
4035
4042
  onDestroy() {
4036
4043
  this.$map.removeControl(this.control);
4037
4044
  }
4038
- }), Li = C({
4045
+ }), Si = C({
4039
4046
  name: "tg-zoom-control",
4040
4047
  mixins: [w],
4041
4048
  props: {
@@ -4057,7 +4064,7 @@ const ki = /* @__PURE__ */ j(Ur, [["render", Yr]]), Pi = C({
4057
4064
  onDestroy() {
4058
4065
  this.$map.removeControl(this.control);
4059
4066
  }
4060
- }), Kr = C({
4067
+ }), Xr = C({
4061
4068
  name: "tg-marker-clusterer",
4062
4069
  mixins: [w],
4063
4070
  // markers从this.$children中读取, 故需要省略(Omit)
@@ -4121,14 +4128,14 @@ const ki = /* @__PURE__ */ j(Ur, [["render", Yr]]), Pi = C({
4121
4128
  }
4122
4129
  }
4123
4130
  });
4124
- function qr(i, e, t, r, s, n) {
4131
+ function Jr(i, e, t, r, s, n) {
4125
4132
  return Z(), G("div", {
4126
4133
  class: De(i.$options.name)
4127
4134
  }, [
4128
4135
  A(i.$slots, "default")
4129
4136
  ], 2);
4130
4137
  }
4131
- const Xr = /* @__PURE__ */ j(Kr, [["render", qr]]), Bi = C({
4138
+ const Qr = /* @__PURE__ */ j(Xr, [["render", Jr]]), $i = C({
4132
4139
  name: "tg-traffic-layer",
4133
4140
  mixins: [w],
4134
4141
  // 请直接使用v-if来控制它的显隐
@@ -4141,12 +4148,12 @@ const Xr = /* @__PURE__ */ j(Kr, [["render", qr]]), Bi = C({
4141
4148
  },
4142
4149
  watch: {},
4143
4150
  onCreate() {
4144
- this.layer = new wr(), this.$map.addLayer(this.layer);
4151
+ this.layer = new xr(), this.$map.addLayer(this.layer);
4145
4152
  },
4146
4153
  onDestroy() {
4147
4154
  this.$map.removeLayer(this.layer);
4148
4155
  }
4149
- }), Si = C({
4156
+ }), Ai = C({
4150
4157
  name: "tg-circle",
4151
4158
  mixins: [w],
4152
4159
  inheritAttrs: !1,
@@ -4208,7 +4215,7 @@ const Xr = /* @__PURE__ */ j(Kr, [["render", qr]]), Bi = C({
4208
4215
  }
4209
4216
  });
4210
4217
  var Re = /* @__PURE__ */ ((i) => (i.map = "map", i.overlay = "overlay", i.overlayMouseTarget = "overlayMouseTarget", i.float = "float", i))(Re || {});
4211
- class Jr {
4218
+ class ei {
4212
4219
  constructor(e, t) {
4213
4220
  h(this, "baidu");
4214
4221
  h(this, "google");
@@ -4229,26 +4236,26 @@ class Jr {
4229
4236
  asBaidu() {
4230
4237
  if (!this.baidu) {
4231
4238
  const e = this;
4232
- Dt();
4239
+ Zt();
4233
4240
  class t extends BMap.OverlayV3 {
4234
4241
  initialize(n) {
4235
- const a = e.create(), p = n.getPanes();
4242
+ const a = e.create(), d = n.getPanes();
4236
4243
  let o;
4237
4244
  switch (e.mapPane) {
4238
4245
  case "float":
4239
- o = p.floatPane;
4246
+ o = d.floatPane;
4240
4247
  break;
4241
4248
  case "overlayMouseTarget":
4242
- o = p.markerMouseTarget;
4249
+ o = d.markerMouseTarget;
4243
4250
  break;
4244
4251
  case "overlay":
4245
- o = p.markerPane;
4252
+ o = d.markerPane;
4246
4253
  break;
4247
4254
  case "map":
4248
- o = p.mapPane;
4255
+ o = d.mapPane;
4249
4256
  break;
4250
4257
  default:
4251
- gt(e.mapPane);
4258
+ mt(e.mapPane);
4252
4259
  break;
4253
4260
  }
4254
4261
  return o == null || o.appendChild(a), a;
@@ -4291,7 +4298,7 @@ class Jr {
4291
4298
  a = n.mapPane;
4292
4299
  break;
4293
4300
  default:
4294
- gt(e.mapPane);
4301
+ mt(e.mapPane);
4295
4302
  break;
4296
4303
  }
4297
4304
  a.appendChild(s);
@@ -4316,7 +4323,7 @@ class Jr {
4316
4323
  return this.google;
4317
4324
  }
4318
4325
  }
4319
- class Qr extends Jr {
4326
+ class ti extends ei {
4320
4327
  constructor(e, t, r, s) {
4321
4328
  super(e, t), this.content = r, this.position = s;
4322
4329
  }
@@ -4331,7 +4338,7 @@ class Qr extends Jr {
4331
4338
  this.position = e, this.draw();
4332
4339
  }
4333
4340
  }
4334
- const ei = C({
4341
+ const ri = C({
4335
4342
  name: "tg-element-overlay",
4336
4343
  mixins: [w],
4337
4344
  props: {
@@ -4357,20 +4364,20 @@ const ei = C({
4357
4364
  }
4358
4365
  },
4359
4366
  onCreate() {
4360
- this.overlay = new Qr(this.$map, this, this.content(), this.position), this.$map.addElementOverlay(this.overlay);
4367
+ this.overlay = new ti(this.$map, this, this.content(), this.position), this.$map.addElementOverlay(this.overlay);
4361
4368
  },
4362
4369
  onDestroy() {
4363
4370
  this.$map.removeElementOverlay(this.overlay);
4364
4371
  }
4365
4372
  });
4366
- function ti(i, e, t, r, s, n) {
4373
+ function ii(i, e, t, r, s, n) {
4367
4374
  return Z(), G("div", ie({
4368
4375
  class: i.$options.name
4369
4376
  }, i.$attrs), [
4370
4377
  A(i.$slots, "default")
4371
4378
  ], 16);
4372
4379
  }
4373
- const $i = /* @__PURE__ */ j(ei, [["render", ti]]), ri = C({
4380
+ const zi = /* @__PURE__ */ j(ri, [["render", ii]]), si = C({
4374
4381
  name: "tg-marker",
4375
4382
  mixins: [w],
4376
4383
  inheritAttrs: !1,
@@ -4430,7 +4437,7 @@ const $i = /* @__PURE__ */ j(ei, [["render", ti]]), ri = C({
4430
4437
  },
4431
4438
  methods: {
4432
4439
  $clusterer() {
4433
- return pe(this.$parent, Xr);
4440
+ return pe(this.$parent, Qr);
4434
4441
  },
4435
4442
  onAddLabel(i) {
4436
4443
  this.label = i, this.marker && this.marker.setLabel(i.overlay);
@@ -4449,14 +4456,14 @@ const $i = /* @__PURE__ */ j(ei, [["render", ti]]), ri = C({
4449
4456
  }
4450
4457
  }
4451
4458
  });
4452
- function ii(i, e, t, r, s, n) {
4459
+ function ni(i, e, t, r, s, n) {
4453
4460
  return Z(), G("div", ie({
4454
4461
  class: i.$options.name
4455
4462
  }, i.attrs.binds), [
4456
4463
  A(i.$slots, "default")
4457
4464
  ], 16);
4458
4465
  }
4459
- const pt = /* @__PURE__ */ j(ri, [["render", ii]]), si = C({
4466
+ const pt = /* @__PURE__ */ j(si, [["render", ni]]), oi = C({
4460
4467
  name: "tg-info-box",
4461
4468
  mixins: [w],
4462
4469
  inheritAttrs: !1,
@@ -4529,14 +4536,14 @@ const pt = /* @__PURE__ */ j(ri, [["render", ii]]), si = C({
4529
4536
  }
4530
4537
  }
4531
4538
  });
4532
- function ni(i, e, t, r, s, n) {
4539
+ function ai(i, e, t, r, s, n) {
4533
4540
  return Z(), G("div", ie({
4534
4541
  class: i.$options.name
4535
4542
  }, i.attrs.binds), [
4536
4543
  A(i.$slots, "default")
4537
4544
  ], 16);
4538
4545
  }
4539
- const Ai = /* @__PURE__ */ j(si, [["render", ni]]), oi = C({
4546
+ const Ni = /* @__PURE__ */ j(oi, [["render", ai]]), li = C({
4540
4547
  name: "tg-info-window",
4541
4548
  mixins: [w],
4542
4549
  inheritAttrs: !1,
@@ -4598,16 +4605,16 @@ const Ai = /* @__PURE__ */ j(si, [["render", ni]]), oi = C({
4598
4605
  this.$marker() ? this.$marker().onRemoveInfo(this) : this.overlay.close();
4599
4606
  }
4600
4607
  });
4601
- function ai(i, e, t, r, s, n) {
4602
- return Ut((Z(), G("div", ie({
4608
+ function hi(i, e, t, r, s, n) {
4609
+ return Yt((Z(), G("div", ie({
4603
4610
  class: i.$options.name
4604
4611
  }, i.attrs.binds), [
4605
4612
  A(i.$slots, "default")
4606
4613
  ], 16)), [
4607
- [Yt, i.show]
4614
+ [Kt, i.show]
4608
4615
  ]);
4609
4616
  }
4610
- const zi = /* @__PURE__ */ j(oi, [["render", ai]]), li = C({
4617
+ const Ri = /* @__PURE__ */ j(li, [["render", hi]]), ci = C({
4611
4618
  name: "tg-label",
4612
4619
  mixins: [w],
4613
4620
  inheritAttrs: !1,
@@ -4663,14 +4670,14 @@ const zi = /* @__PURE__ */ j(oi, [["render", ai]]), li = C({
4663
4670
  this.$marker() ? this.$marker().onRemoveLabel(this) : this.$map.removeOverlay(this.overlay);
4664
4671
  }
4665
4672
  });
4666
- function hi(i, e, t, r, s, n) {
4673
+ function di(i, e, t, r, s, n) {
4667
4674
  return Z(), G("div", ie({
4668
4675
  class: i.$options.name
4669
4676
  }, i.attrs.binds), [
4670
4677
  A(i.$slots, "default")
4671
4678
  ], 16);
4672
4679
  }
4673
- const Ni = /* @__PURE__ */ j(li, [["render", hi]]), Ri = C({
4680
+ const Di = /* @__PURE__ */ j(ci, [["render", di]]), Zi = C({
4674
4681
  name: "tg-polygon",
4675
4682
  mixins: [w],
4676
4683
  inheritAttrs: !1,
@@ -4729,7 +4736,7 @@ const Ni = /* @__PURE__ */ j(li, [["render", hi]]), Ri = C({
4729
4736
  onDestroy() {
4730
4737
  this.$map.removeOverlay(this.polygon);
4731
4738
  }
4732
- }), Di = C({
4739
+ }), Gi = C({
4733
4740
  name: "tg-polyline",
4734
4741
  mixins: [w],
4735
4742
  inheritAttrs: !1,
@@ -4780,13 +4787,19 @@ const Ni = /* @__PURE__ */ j(li, [["render", hi]]), Ri = C({
4780
4787
  onDestroy() {
4781
4788
  this.$map.removeOverlay(this.polyline);
4782
4789
  }
4783
- }), ci = ["beforeUpdate", "updated"], Zi = {
4790
+ }), pi = ["beforeUpdate", "updated"], ji = {
4784
4791
  install(i, e = {}) {
4785
4792
  if (e.enable !== !1) {
4786
4793
  const t = C({
4787
4794
  beforeCreate() {
4788
- const r = this.$options.name || this.$options._componentTag || "", n = (e.nameRegex || /^[A-Z]/).test(r) ? (a) => {
4789
- e.hookNames ? e.hookNames.includes(a) && console.debug("[lifecycle]", r, a) : ci.includes(a) || console.debug("[lifecycle]", r, a);
4795
+ var a, d;
4796
+ let r = this.$options.name || ((a = gt()) == null ? void 0 : a.type.__name) || "";
4797
+ if (!r) {
4798
+ const o = (d = gt()) == null ? void 0 : d.type.__file;
4799
+ o && (r = Nr.basename(o, ".vue"));
4800
+ }
4801
+ const n = (e.nameRegex || /^[A-Z]/).test(r) ? (o) => {
4802
+ e.hookNames ? e.hookNames.includes(o) && console.debug("[lifecycle]", r, o) : pi.includes(o) || console.debug("[lifecycle]", r, o);
4790
4803
  } : ve;
4791
4804
  n("beforeCreate"), this.__life_impl = n;
4792
4805
  },
@@ -4826,15 +4839,15 @@ const Ni = /* @__PURE__ */ j(li, [["render", hi]]), Ri = C({
4826
4839
  i.mixin(t);
4827
4840
  }
4828
4841
  }
4829
- }, Gi = {
4842
+ }, Vi = {
4830
4843
  install(i, e) {
4831
- ur(e);
4844
+ gr(e);
4832
4845
  const t = i.config.optionMergeStrategies;
4833
4846
  t[ze] = t[Ne] = (r, s) => r ? [...new Set([].concat(r, s))] : s;
4834
4847
  }
4835
4848
  };
4836
4849
  export {
4837
- At as AbstractControl,
4850
+ zt as AbstractControl,
4838
4851
  Ze as AbstractMap,
4839
4852
  be as Arrays,
4840
4853
  Ke as BaiduCircle,
@@ -4843,25 +4856,25 @@ export {
4843
4856
  ot as BaiduInfoWindow,
4844
4857
  Qe as BaiduMapTypeControl,
4845
4858
  ce as BaiduMarker,
4846
- Mr as BaiduMarkerClusterer,
4859
+ br as BaiduMarkerClusterer,
4847
4860
  we as BaiduOverlay,
4848
4861
  Ue as BaiduPolygon,
4849
4862
  He as BaiduPolyline,
4850
4863
  rt as BaiduScaleControl,
4851
4864
  et as BaiduZoomControl,
4852
- _t as CachedValue,
4865
+ Mt as CachedValue,
4853
4866
  x as ControlPosition,
4854
4867
  I as ControlPositionConverter,
4855
4868
  q as CoordType,
4856
- Cr as CustomControl,
4857
- Or as FastFindValues,
4869
+ wr as CustomControl,
4870
+ Cr as FastFindValues,
4858
4871
  qe as GoogleCircle,
4859
4872
  Je as GoogleControl,
4860
4873
  dt as GoogleInfoBoxOverlay,
4861
4874
  at as GoogleInfoWindow,
4862
4875
  fe as GoogleMapTypeControl,
4863
4876
  st as GoogleMarker,
4864
- br as GoogleMarkerClusterer,
4877
+ Tr as GoogleMarkerClusterer,
4865
4878
  je as GoogleOverlay,
4866
4879
  Ye as GooglePolygon,
4867
4880
  Fe as GooglePolyline,
@@ -4869,68 +4882,69 @@ export {
4869
4882
  tt as GoogleZoomControl,
4870
4883
  te as Icon,
4871
4884
  nt as InfoWindow,
4872
- vt as KeyValue,
4885
+ _t as KeyValue,
4873
4886
  y as LatLng,
4874
4887
  W as LatLngBounds,
4875
- Zi as LifecycleLogPlugin,
4888
+ ji as LifecycleLogPlugin,
4876
4889
  ze as MIXIN_HOOK_CREATE,
4877
4890
  Ne as MIXIN_HOOK_DESTROY,
4878
- Zt as MIXIN_MAP_NAME,
4891
+ Gt as MIXIN_MAP_NAME,
4879
4892
  Te as MVCArrays,
4880
4893
  w as MapMixin,
4881
- Nt as MapTypeControlType,
4882
- Bt as MarkerClusterer,
4894
+ Rt as MapTypeControlType,
4895
+ St as MarkerClusterer,
4883
4896
  he as Objects,
4884
- $t as Overlay,
4897
+ At as Overlay,
4885
4898
  de as Point,
4886
4899
  Oe as Strings,
4887
- Si as TgCircle,
4888
- ki as TgCustomControl,
4889
- $i as TgElementOverlay,
4890
- Ai as TgInfoBox,
4891
- zi as TgInfoWindow,
4892
- Ni as TgLabel,
4893
- Vr as TgMap,
4900
+ Ai as TgCircle,
4901
+ Ii as TgCustomControl,
4902
+ zi as TgElementOverlay,
4903
+ Ni as TgInfoBox,
4904
+ Ri as TgInfoWindow,
4905
+ Di as TgLabel,
4906
+ Hr as TgMap,
4894
4907
  Ae as TgMapFactory,
4895
4908
  $ as TgMapType,
4896
- Pi as TgMapTypeControl,
4897
- Ei as TgMapWidget,
4909
+ Li as TgMapTypeControl,
4910
+ Pi as TgMapWidget,
4898
4911
  pt as TgMarker,
4899
- Xr as TgMarkerClusterer,
4900
- Ri as TgPolygon,
4901
- Di as TgPolyline,
4902
- Ii as TgScaleControl,
4903
- Bi as TgTrafficLayer,
4904
- Li as TgZoomControl,
4912
+ Qr as TgMarkerClusterer,
4913
+ Zi as TgPolygon,
4914
+ Gi as TgPolyline,
4915
+ Bi as TgScaleControl,
4916
+ $i as TgTrafficLayer,
4917
+ Si as TgZoomControl,
4905
4918
  me as callHook,
4906
- Ti as computedSaveOnThis,
4907
- Rr as createEmptyVNode,
4908
- Nr as createPropertyObject,
4909
- Oi as createPropertyObjectTyped,
4910
- gi as debug,
4911
- Gi as default,
4912
- xi as eventLogMethods,
4919
+ Ci as computedSaveOnThis,
4920
+ Zr as createEmptyVNode,
4921
+ Dr as createPropertyObject,
4922
+ wi as createPropertyObjectTyped,
4923
+ fi as debug,
4924
+ Vi as default,
4925
+ ki as eventLogMethods,
4913
4926
  N as eventProp,
4914
- wi as extractVNodeFromSlotsByComponent,
4915
- Ci as findByComponentType,
4916
- xt as getTgMapConfig,
4917
- mi as isDef,
4918
- yi as isInstanceOf,
4919
- fi as lateinit,
4927
+ Ei as extractVNodeFromSlotsByComponent,
4928
+ xi as findByComponentType,
4929
+ Et as getTgMapConfig,
4930
+ yi as isDef,
4931
+ _i as isInstanceOf,
4932
+ vi as lateinit,
4920
4933
  ve as noop,
4921
4934
  m as optionalProp,
4935
+ Nr as path,
4922
4936
  z as requiredProp,
4923
- vi as safeAs,
4937
+ Mi as safeAs,
4924
4938
  pe as safeAsComponent,
4925
- ur as setTgMapConfig,
4926
- Dr as splitAttrs,
4939
+ gr as setTgMapConfig,
4940
+ Gr as splitAttrs,
4927
4941
  D as stringEnumProp,
4928
- zr as stringUnionPropFromValues,
4942
+ Rr as stringUnionPropFromValues,
4929
4943
  P as throwError,
4930
- Jt as throwUnsupported,
4931
- ui as todo,
4944
+ Qt as throwUnsupported,
4945
+ mi as todo,
4932
4946
  Le as typed,
4933
- _i as unwrapStringEnumValue,
4947
+ bi as unwrapStringEnumValue,
4934
4948
  U as useSplittedAttrs
4935
4949
  };
4936
4950
  //# sourceMappingURL=tg-map.js.map