@heycar/heycars-map 0.2.11 → 0.2.12

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/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import Dn, { inject as ze, provide as Ee, watch as P, defineComponent as ct, h as I, watchPostEffect as B, shallowRef as b, onMounted as ve, onUnmounted as pe, watchEffect as ue, computed as N, reactive as w, toRefs as ut, ref as D } from "vue";
1
+ import Dn, { inject as ze, provide as Re, watch as b, defineComponent as ct, h as I, watchPostEffect as Y, shallowRef as T, onMounted as ve, onUnmounted as pe, watchEffect as ue, computed as N, reactive as x, toRefs as ut, ref as C } from "vue";
2
2
  Dn.util.warn;
3
- const lt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", G = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii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0IDAiIHR5cGU9Im1hdHJpeCIgaW49InNoYWRvd0JsdXJPdXRlcjEiPjwvZmVDb2xvck1hdHJpeD4KICAgICAgICA8L2ZpbHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", dt = Symbol(), L = () => {
4
4
  const e = ze(dt);
5
5
  if (!e)
6
6
  throw new Error("MyError: useMapSupplier should be under MapProvider");
7
7
  return e;
8
- }, Cn = (e) => Ee(dt, e), gt = Symbol("amap"), ye = () => ze(gt), wn = (e) => Ee(gt, e), It = Symbol("gmap"), je = () => ze(It), xn = (e) => Ee(It, e), Mt = () => {
8
+ }, Cn = (e) => Re(dt, e), gt = Symbol("amap"), ye = () => ze(gt), wn = (e) => Re(gt, e), It = Symbol("gmap"), je = () => ze(It), xn = (e) => Re(It, e), Mt = () => {
9
9
  const { supplier: e } = L();
10
10
  return e === "gmap" ? je() : ye();
11
- }, Y = (e) => {
11
+ }, V = (e) => {
12
12
  const t = Mt();
13
- P(
13
+ b(
14
14
  () => t.value,
15
15
  (n) => {
16
16
  n && Promise.resolve().then(e);
@@ -18,7 +18,7 @@ const lt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbn
18
18
  );
19
19
  }, mt = (e) => {
20
20
  const { registerOverlay: t, overlayRef: n } = e;
21
- P(
21
+ b(
22
22
  () => n.value,
23
23
  (i, a) => {
24
24
  t && (a && t.remove(a), i && t.add(i));
@@ -27,12 +27,12 @@ const lt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbn
27
27
  };
28
28
  var Pn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, bn = typeof global == "object" && global && global.Object === Object && global;
29
29
  const Tn = bn;
30
- var zn = typeof self == "object" && self && self.Object === Object && self, En = Tn || zn || Function("return this")();
31
- const ft = En;
32
- var Rn = ft.Symbol;
33
- const F = Rn;
34
- var vt = Object.prototype, Zn = vt.hasOwnProperty, On = vt.toString, ee = F ? F.toStringTag : void 0;
35
- function kn(e) {
30
+ var zn = typeof self == "object" && self && self.Object === Object && self, Rn = Tn || zn || Function("return this")();
31
+ const ft = Rn;
32
+ var En = ft.Symbol;
33
+ const X = En;
34
+ var vt = Object.prototype, Zn = vt.hasOwnProperty, On = vt.toString, ee = X ? X.toStringTag : void 0;
35
+ function Gn(e) {
36
36
  var t = Zn.call(e, ee), n = e[ee];
37
37
  try {
38
38
  e[ee] = void 0;
@@ -42,13 +42,13 @@ function kn(e) {
42
42
  var a = On.call(e);
43
43
  return i && (t ? e[ee] = n : delete e[ee]), a;
44
44
  }
45
- var Gn = Object.prototype, Wn = Gn.toString;
45
+ var kn = Object.prototype, Wn = kn.toString;
46
46
  function Un(e) {
47
47
  return Wn.call(e);
48
48
  }
49
- var Bn = "[object Null]", Yn = "[object Undefined]", Ge = F ? F.toStringTag : void 0;
49
+ var Bn = "[object Null]", Yn = "[object Undefined]", ke = X ? X.toStringTag : void 0;
50
50
  function Vn(e) {
51
- return e == null ? e === void 0 ? Yn : Bn : Ge && Ge in Object(e) ? kn(e) : Un(e);
51
+ return e == null ? e === void 0 ? Yn : Bn : ke && ke in Object(e) ? Gn(e) : Un(e);
52
52
  }
53
53
  function Hn(e) {
54
54
  return e != null && typeof e == "object";
@@ -64,7 +64,7 @@ function Jn(e, t) {
64
64
  }
65
65
  var Fn = Array.isArray;
66
66
  const Xn = Fn;
67
- var $n = 1 / 0, We = F ? F.prototype : void 0, Ue = We ? We.toString : void 0;
67
+ var $n = 1 / 0, We = X ? X.prototype : void 0, Ue = We ? We.toString : void 0;
68
68
  function yt(e) {
69
69
  if (typeof e == "string")
70
70
  return e;
@@ -326,13 +326,13 @@ var ji = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
326
326
  function Ai(e) {
327
327
  return ji.test(e);
328
328
  }
329
- var At = "\\ud800-\\udfff", Li = "\\u0300-\\u036f", Si = "\\ufe20-\\ufe2f", Ni = "\\u20d0-\\u20ff", hi = Li + Si + Ni, Lt = "\\u2700-\\u27bf", St = "a-z\\xdf-\\xf6\\xf8-\\xff", Di = "\\xac\\xb1\\xd7\\xf7", Ci = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wi = "\\u2000-\\u206f", xi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pi = "\\ufe0e\\ufe0f", ht = Di + Ci + wi + xi, Dt = "['’]", Ve = "[" + ht + "]", bi = "[" + hi + "]", Ct = "\\d+", Ti = "[" + Lt + "]", wt = "[" + St + "]", xt = "[^" + At + ht + Ct + Lt + St + Nt + "]", zi = "\\ud83c[\\udffb-\\udfff]", Ei = "(?:" + bi + "|" + zi + ")", Ri = "[^" + At + "]", Pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", H = "[" + Nt + "]", Zi = "\\u200d", He = "(?:" + wt + "|" + xt + ")", Oi = "(?:" + H + "|" + xt + ")", Qe = "(?:" + Dt + "(?:d|ll|m|re|s|t|ve))?", Je = "(?:" + Dt + "(?:D|LL|M|RE|S|T|VE))?", Tt = Ei + "?", zt = "[" + Pi + "]?", ki = "(?:" + Zi + "(?:" + [Ri, Pt, bt].join("|") + ")" + zt + Tt + ")*", Gi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ui = zt + Tt + ki, Bi = "(?:" + [Ti, Pt, bt].join("|") + ")" + Ui, Yi = RegExp([
330
- H + "?" + wt + "+" + Qe + "(?=" + [Ve, H, "$"].join("|") + ")",
331
- Oi + "+" + Je + "(?=" + [Ve, H + He, "$"].join("|") + ")",
332
- H + "?" + He + "+" + Qe,
333
- H + "+" + Je,
329
+ var At = "\\ud800-\\udfff", Li = "\\u0300-\\u036f", Si = "\\ufe20-\\ufe2f", Ni = "\\u20d0-\\u20ff", hi = Li + Si + Ni, Lt = "\\u2700-\\u27bf", St = "a-z\\xdf-\\xf6\\xf8-\\xff", Di = "\\xac\\xb1\\xd7\\xf7", Ci = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wi = "\\u2000-\\u206f", xi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pi = "\\ufe0e\\ufe0f", ht = Di + Ci + wi + xi, Dt = "['’]", Ve = "[" + ht + "]", bi = "[" + hi + "]", Ct = "\\d+", Ti = "[" + Lt + "]", wt = "[" + St + "]", xt = "[^" + At + ht + Ct + Lt + St + Nt + "]", zi = "\\ud83c[\\udffb-\\udfff]", Ri = "(?:" + bi + "|" + zi + ")", Ei = "[^" + At + "]", Pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", Q = "[" + Nt + "]", Zi = "\\u200d", He = "(?:" + wt + "|" + xt + ")", Oi = "(?:" + Q + "|" + xt + ")", Qe = "(?:" + Dt + "(?:d|ll|m|re|s|t|ve))?", Je = "(?:" + Dt + "(?:D|LL|M|RE|S|T|VE))?", Tt = Ri + "?", zt = "[" + Pi + "]?", Gi = "(?:" + Zi + "(?:" + [Ei, Pt, bt].join("|") + ")" + zt + Tt + ")*", ki = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ui = zt + Tt + Gi, Bi = "(?:" + [Ti, Pt, bt].join("|") + ")" + Ui, Yi = RegExp([
330
+ Q + "?" + wt + "+" + Qe + "(?=" + [Ve, Q, "$"].join("|") + ")",
331
+ Oi + "+" + Je + "(?=" + [Ve, Q + He, "$"].join("|") + ")",
332
+ Q + "?" + He + "+" + Qe,
333
+ Q + "+" + Je,
334
334
  Wi,
335
- Gi,
335
+ ki,
336
336
  Ct,
337
337
  Bi
338
338
  ].join("|"), "g");
@@ -354,68 +354,68 @@ var Xi = function() {
354
354
  const we = Xi;
355
355
  var $i = "Expected a function", _i = Math.max, Ki = Math.min;
356
356
  function qi(e, t, n) {
357
- var i, a, o, r, s, u, l = 0, d = !1, c = !1, g = !0;
357
+ var i, a, o, r, s, u, l = 0, g = !1, c = !1, d = !0;
358
358
  if (typeof e != "function")
359
359
  throw new TypeError($i);
360
- t = Ye(t) || 0, xe(n) && (d = !!n.leading, c = "maxWait" in n, o = c ? _i(Ye(n.maxWait) || 0, t) : o, g = "trailing" in n ? !!n.trailing : g);
361
- function M(v) {
362
- var E = i, q = a;
363
- return i = a = void 0, l = v, r = e.apply(q, E), r;
360
+ t = Ye(t) || 0, xe(n) && (g = !!n.leading, c = "maxWait" in n, o = c ? _i(Ye(n.maxWait) || 0, t) : o, d = "trailing" in n ? !!n.trailing : d);
361
+ function M(D) {
362
+ var j = i, k = a;
363
+ return i = a = void 0, l = D, r = e.apply(k, j), r;
364
364
  }
365
- function m(v) {
366
- return l = v, s = setTimeout(A, t), d ? M(v) : r;
365
+ function m(D) {
366
+ return l = D, s = setTimeout(p, t), g ? M(D) : r;
367
367
  }
368
- function f(v) {
369
- var E = v - u, q = v - l, ke = t - E;
370
- return c ? Ki(ke, o - q) : ke;
368
+ function f(D) {
369
+ var j = D - u, k = D - l, Ge = t - j;
370
+ return c ? Ki(Ge, o - k) : Ge;
371
371
  }
372
- function j(v) {
373
- var E = v - u, q = v - l;
374
- return u === void 0 || E >= t || E < 0 || c && q >= o;
372
+ function A(D) {
373
+ var j = D - u, k = D - l;
374
+ return u === void 0 || j >= t || j < 0 || c && k >= o;
375
375
  }
376
- function A() {
377
- var v = we();
378
- if (j(v))
379
- return y(v);
380
- s = setTimeout(A, f(v));
376
+ function p() {
377
+ var D = we();
378
+ if (A(D))
379
+ return y(D);
380
+ s = setTimeout(p, f(D));
381
381
  }
382
- function y(v) {
383
- return s = void 0, g && i ? M(v) : (i = a = void 0, r);
382
+ function y(D) {
383
+ return s = void 0, d && i ? M(D) : (i = a = void 0, r);
384
384
  }
385
385
  function h() {
386
386
  s !== void 0 && clearTimeout(s), l = 0, i = u = a = s = void 0;
387
387
  }
388
- function T() {
388
+ function z() {
389
389
  return s === void 0 ? r : y(we());
390
390
  }
391
- function k() {
392
- var v = we(), E = j(v);
393
- if (i = arguments, a = this, u = v, E) {
391
+ function G() {
392
+ var D = we(), j = A(D);
393
+ if (i = arguments, a = this, u = D, j) {
394
394
  if (s === void 0)
395
395
  return m(u);
396
396
  if (c)
397
- return clearTimeout(s), s = setTimeout(A, t), M(u);
397
+ return clearTimeout(s), s = setTimeout(p, t), M(u);
398
398
  }
399
- return s === void 0 && (s = setTimeout(A, t)), r;
399
+ return s === void 0 && (s = setTimeout(p, t)), r;
400
400
  }
401
- return k.cancel = h, k.flush = T, k;
401
+ return G.cancel = h, G.flush = z, G;
402
402
  }
403
403
  var ea = Fi(function(e, t, n) {
404
404
  return e + (n ? "-" : "") + t.toLowerCase();
405
405
  });
406
- const Et = ea;
407
- function p(e) {
406
+ const Rt = ea;
407
+ function v(e) {
408
408
  return ct({
409
409
  name: e.name,
410
410
  inheritAttrs: !1,
411
411
  setup(t, n) {
412
- const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (d, c) => {
413
- const g = Et(d);
414
- s(d, c), d !== g && s(g, c);
412
+ const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (g, c) => {
413
+ const d = Rt(g);
414
+ s(g, c), g !== d && s(d, c);
415
415
  }, l = new Proxy(a, {
416
- get(d, c, g) {
416
+ get(g, c, d) {
417
417
  var M;
418
- return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(r, c);
418
+ return (M = Reflect.get(g, c, d)) != null ? M : Reflect.get(r, c);
419
419
  }
420
420
  });
421
421
  return e(r, { ...n, slots: l, emit: u });
@@ -429,13 +429,13 @@ function ae(e) {
429
429
  inheritAttrs: !1,
430
430
  props: t,
431
431
  setup(n, i) {
432
- const a = n, { slots: o, emit: r } = i, s = r, u = (d, c) => {
433
- const g = Et(d);
434
- s(d, c), d !== g && s(g, c);
432
+ const a = n, { slots: o, emit: r } = i, s = r, u = (g, c) => {
433
+ const d = Rt(g);
434
+ s(g, c), g !== d && s(d, c);
435
435
  }, l = new Proxy(o, {
436
- get(d, c, g) {
436
+ get(g, c, d) {
437
437
  var M;
438
- return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(a, c);
438
+ return (M = Reflect.get(g, c, d)) != null ? M : Reflect.get(a, c);
439
439
  }
440
440
  });
441
441
  return e(a, { ...i, slots: l, emit: u });
@@ -443,7 +443,7 @@ function ae(e) {
443
443
  })
444
444
  };
445
445
  }
446
- const Z = I, Re = "zh-CN", Fe = (e) => e != null && typeof e == "object" && Number.isFinite(e.lat) && Number.isFinite(e.lng);
446
+ const Z = I, Ee = "zh-CN", Fe = (e) => e != null && typeof e == "object" && Number.isFinite(e.lat) && Number.isFinite(e.lng);
447
447
  var ta = typeof WeakMap == "function", Xe = Object.keys;
448
448
  function le(e, t) {
449
449
  return e === t || e !== e && t !== t;
@@ -487,15 +487,15 @@ var ia = function(e) {
487
487
  return /* @__PURE__ */ new WeakMap();
488
488
  } : na;
489
489
  }(ta);
490
- function Rt(e) {
490
+ function Et(e) {
491
491
  return function(n) {
492
492
  var i = e || n;
493
- return function(o, r, s, u, l, d, c) {
493
+ return function(o, r, s, u, l, g, c) {
494
494
  c === void 0 && (c = ia());
495
- var g = !!o && typeof o == "object", M = !!r && typeof r == "object";
496
- if (g !== M)
495
+ var d = !!o && typeof o == "object", M = !!r && typeof r == "object";
496
+ if (d !== M)
497
497
  return !1;
498
- if (!g && !M)
498
+ if (!d && !M)
499
499
  return i(o, r, c);
500
500
  var m = c.get(o);
501
501
  if (m && c.get(r))
@@ -521,9 +521,9 @@ function oa(e, t, n, i) {
521
521
  var o = {}, r = 0;
522
522
  e.forEach(function(s, u) {
523
523
  if (a) {
524
- var l = !1, d = 0;
525
- t.forEach(function(c, g) {
526
- !l && !o[d] && (l = n(u, g, r, d, e, t, i) && n(s, c, u, g, e, t, i), l && (o[d] = !0)), d++;
524
+ var l = !1, g = 0;
525
+ t.forEach(function(c, d) {
526
+ !l && !o[g] && (l = n(u, d, r, g, e, t, i) && n(s, c, u, d, e, t, i), l && (o[g] = !0)), g++;
527
527
  }), r++, a = l;
528
528
  }
529
529
  });
@@ -561,8 +561,8 @@ function ua(e, t, n, i) {
561
561
  e.forEach(function(r, s) {
562
562
  if (a) {
563
563
  var u = !1, l = 0;
564
- t.forEach(function(d, c) {
565
- !u && !o[l] && (u = n(r, d, s, c, e, t, i), u && (o[l] = !0)), l++;
564
+ t.forEach(function(g, c) {
565
+ !u && !o[l] && (u = n(r, g, s, c, e, t, i), u && (o[l] = !0)), l++;
566
566
  }), a = u;
567
567
  }
568
568
  });
@@ -594,9 +594,9 @@ oe();
594
594
  oe(function() {
595
595
  return le;
596
596
  });
597
- oe(Rt());
598
- oe(Rt(le));
599
- const x = ([e, t]) => ({
597
+ oe(Et());
598
+ oe(Et(le));
599
+ const P = ([e, t]) => ({
600
600
  lng: e,
601
601
  lat: t
602
602
  }), Ae = (e) => {
@@ -611,7 +611,7 @@ const x = ([e, t]) => ({
611
611
  case "zh":
612
612
  return "style_zh_cn";
613
613
  }
614
- }, C = (e) => [e.lng, e.lat], kt = (e) => (...t) => {
614
+ }, w = (e) => [e.lng, e.lat], Gt = (e) => (...t) => {
615
615
  setTimeout(() => e == null ? void 0 : e(...t));
616
616
  }, Ia = (e) => {
617
617
  const { address_components: t } = e, n = t.find(
@@ -622,24 +622,24 @@ const x = ([e, t]) => ({
622
622
  const i = t.findIndex((a) => a.types[0] === "country");
623
623
  if (i > 0)
624
624
  return t[i - 1].long_name;
625
- }, Gt = oe((e) => (t, n) => Fe(t) || Fe(n) ? new google.maps.LatLng(t).equals(new google.maps.LatLng(n)) : e(t, n));
625
+ }, kt = oe((e) => (t, n) => Fe(t) || Fe(n) ? new google.maps.LatLng(t).equals(new google.maps.LatLng(n)) : e(t, n));
626
626
  function Wt() {
627
627
  let e;
628
628
  return function(n) {
629
- return Gt(n, e) || (e = n), e;
629
+ return kt(n, e) || (e = n), e;
630
630
  };
631
631
  }
632
632
  function re(e, t, n) {
633
633
  const i = Wt();
634
- return P(() => i(e()), t, {
634
+ return b(() => i(e()), t, {
635
635
  immediate: !1,
636
636
  flush: "post",
637
637
  ...n
638
638
  });
639
639
  }
640
- function $(e, t, n) {
640
+ function _(e, t, n) {
641
641
  const i = Wt();
642
- return P(() => i(e()), t, {
642
+ return b(() => i(e()), t, {
643
643
  immediate: !0,
644
644
  flush: "post",
645
645
  ...n
@@ -652,14 +652,14 @@ function ma(e, t, n, i) {
652
652
  const a = n.map(
653
653
  ({ name: o }) => () => t[o]
654
654
  );
655
- P(
655
+ b(
656
656
  a,
657
657
  (o, r) => {
658
658
  const s = e.value;
659
659
  if (s)
660
660
  for (const [u, l] of o.entries()) {
661
- const { name: d, defaultValue: c } = n[u], g = r[u];
662
- Gt(l, g) || s[Ma(d)](l != null ? l : c);
661
+ const { name: g, defaultValue: c } = n[u], d = r[u];
662
+ kt(l, d) || s[Ma(g)](l != null ? l : c);
663
663
  }
664
664
  },
665
665
  {
@@ -676,14 +676,14 @@ function Ze(e, t, n, i) {
676
676
  });
677
677
  }
678
678
  function ne(e, t, n, i) {
679
- B((a) => {
679
+ Y((a) => {
680
680
  const o = e == null ? void 0 : e.value;
681
681
  if (!o)
682
682
  return;
683
683
  const r = [];
684
684
  for (const s of i) {
685
- const u = Zt(s), l = Ot(s), d = (c) => n(u, c);
686
- o.on(l, d), r.push(() => o == null ? void 0 : o.off(l, d));
685
+ const u = Zt(s), l = Ot(s), g = (c) => n(u, c);
686
+ o.on(l, g), r.push(() => o == null ? void 0 : o.off(l, g));
687
687
  }
688
688
  a(() => {
689
689
  for (const s of r)
@@ -691,14 +691,14 @@ function ne(e, t, n, i) {
691
691
  });
692
692
  });
693
693
  }
694
- function X(e, t, n, i) {
695
- B((a) => {
694
+ function $(e, t, n, i) {
695
+ Y((a) => {
696
696
  const o = e == null ? void 0 : e.value;
697
697
  if (!o)
698
698
  return;
699
699
  const r = [];
700
700
  for (const s of i) {
701
- const u = Zt(s), l = Ot(s), d = (g) => n(u, g), c = o.addListener(l, d);
701
+ const u = Zt(s), l = Ot(s), g = (d) => n(u, d), c = o.addListener(l, g);
702
702
  r.push(() => google.maps.event.removeListener(c));
703
703
  }
704
704
  a(() => {
@@ -707,14 +707,14 @@ function X(e, t, n, i) {
707
707
  });
708
708
  });
709
709
  }
710
- const W = p(function(t, { emit: n }) {
711
- const { registerOverlay: i } = t, a = b(), o = ye();
710
+ const U = v(function(t, { emit: n }) {
711
+ const { registerOverlay: i } = t, a = T(), o = ye();
712
712
  return ve(() => {
713
713
  a.value = new AMap.Marker({ ...t });
714
714
  }), pe(() => {
715
715
  var r;
716
716
  (r = a.value) == null || r.setMap(null);
717
- }), mt({ registerOverlay: i, overlayRef: a }), B(() => {
717
+ }), mt({ registerOverlay: i, overlayRef: a }), Y(() => {
718
718
  var s;
719
719
  const r = o == null ? void 0 : o.value;
720
720
  r && ((s = a.value) == null || s.setMap(r));
@@ -733,14 +733,14 @@ const W = p(function(t, { emit: n }) {
733
733
  { name: "title", defaultValue: "" },
734
734
  { name: "extData", defaultValue: "" }
735
735
  ]), ne(a, t, n, ["onClick"]), () => null;
736
- }), U = p(function(t, { emit: n }) {
737
- const { registerOverlay: i } = t, a = b(), o = je(), r = (s) => n(s, { target: a.value });
736
+ }), B = v(function(t, { emit: n }) {
737
+ const { registerOverlay: i } = t, a = T(), o = je(), r = (s) => n(s, { target: a.value });
738
738
  return mt({ registerOverlay: i, overlayRef: a }), ve(() => {
739
739
  const { registerOverlay: s, ...u } = t;
740
740
  a.value = new google.maps.marker.AdvancedMarkerView({ ...u }), a.value.addListener;
741
741
  }), pe(() => {
742
742
  a.value && (a.value.map = null);
743
- }), B(() => {
743
+ }), Y(() => {
744
744
  const s = o == null ? void 0 : o.value;
745
745
  !s || !a.value || (a.value.map = s);
746
746
  }), re(
@@ -751,7 +751,7 @@ const W = p(function(t, { emit: n }) {
751
751
  (s) => {
752
752
  a.value && Object.assign(a.value, s);
753
753
  }
754
- ), P(
754
+ ), b(
755
755
  () => t.content,
756
756
  (s) => {
757
757
  a.value && (a.value.content = s);
@@ -759,47 +759,47 @@ const W = p(function(t, { emit: n }) {
759
759
  {
760
760
  flush: "post"
761
761
  }
762
- ), X(a, t, r, ["onClick"]), () => null;
762
+ ), $(a, t, r, ["onClick"]), () => null;
763
763
  }), S = (e, t) => {
764
764
  ue(() => {
765
765
  e.log && console.log(`log ${t} props = `, { ...e });
766
766
  });
767
- }, z = (e, t, n) => {
767
+ }, R = (e, t, n) => {
768
768
  const { class: i, ...a } = t != null ? t : {}, o = document.createElement(e);
769
769
  return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
770
770
  }, Ut = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
771
771
  var Bt = "rgf09w0";
772
- const Yt = p(function(t) {
772
+ const Yt = v(function(t) {
773
773
  const n = N(() => `
774
774
  <img src="${Ut}" class="${Bt}">
775
775
  `);
776
- return () => I(W, {
776
+ return () => I(U, {
777
777
  attrs: {
778
778
  position: t.position,
779
779
  content: n.value,
780
780
  anchor: "bottom-center"
781
781
  }
782
782
  });
783
- }), Vt = p(function(t) {
784
- const n = N(() => z("img", {
783
+ }), Vt = v(function(t) {
784
+ const n = N(() => R("img", {
785
785
  class: Bt,
786
786
  src: Ut
787
787
  }));
788
- return () => I(U, {
788
+ return () => I(B, {
789
789
  attrs: {
790
- position: x(t.position),
790
+ position: P(t.position),
791
791
  content: n.value
792
792
  }
793
793
  });
794
794
  });
795
- p(function(t) {
795
+ v(function(t) {
796
796
  const n = L();
797
797
  return () => Z(n.supplier === "gmap" ? Vt : Yt, {
798
798
  attrs: t
799
799
  });
800
800
  });
801
801
  var Ht = "_15rq2xn1", Qt = "_15rq2xn0", Jt = "_15rq2xn3", Ft = "_15rq2xn2", Xt = "_15rq2xn4", $t = "_15rq2xn6", _t = "_15rq2xn5";
802
- const fa = p(function(t) {
802
+ const fa = v(function(t) {
803
803
  S(t, "AAddressBox");
804
804
  const n = N(() => {
805
805
  var i;
@@ -813,7 +813,7 @@ const fa = p(function(t) {
813
813
  <img class="${Xt}" src="${lt}" >
814
814
  </div>
815
815
  <div class="${_t}"></div>
816
- <img src="${G}" class="${$t}">
816
+ <img src="${W}" class="${$t}">
817
817
  </div>
818
818
  `;
819
819
  });
@@ -821,18 +821,18 @@ const fa = p(function(t) {
821
821
  attrs: {
822
822
  position: t.position
823
823
  }
824
- }) : I(W, {
824
+ }) : I(U, {
825
825
  attrs: {
826
826
  position: t.position,
827
827
  content: n.value,
828
828
  anchor: "bottom-center"
829
829
  }
830
830
  });
831
- }), va = p(function(t) {
831
+ }), va = v(function(t) {
832
832
  S(t, "GAddressBox");
833
833
  const n = N(() => {
834
834
  var i;
835
- return z("div", {
835
+ return R("div", {
836
836
  class: Qt
837
837
  }, `
838
838
  <div class="${Ht}">
@@ -843,20 +843,20 @@ const fa = p(function(t) {
843
843
  <img class="${Xt}" src="${lt}" >
844
844
  </div>
845
845
  <div class="${_t}"></div>
846
- <img src="${G}" class="${$t}">
846
+ <img src="${W}" class="${$t}">
847
847
  `);
848
848
  });
849
849
  return () => t.type === "locator" ? I(Vt, {
850
850
  attrs: {
851
851
  position: t.position
852
852
  }
853
- }) : I(U, {
853
+ }) : I(B, {
854
854
  attrs: {
855
- position: x(t.position),
855
+ position: P(t.position),
856
856
  content: n.value
857
857
  }
858
858
  });
859
- }), pa = p(function(t) {
859
+ }), pa = v(function(t) {
860
860
  const n = L();
861
861
  return () => Z(n.supplier === "gmap" ? va : fa, {
862
862
  attrs: t
@@ -875,11 +875,11 @@ var Pe = {}, ya = {
875
875
  e.exports = i();
876
876
  })(Pn, function() {
877
877
  function n(c) {
878
- var g = [];
879
- return c.AMapUI && g.push(i(c.AMapUI)), c.Loca && g.push(a(c.Loca)), Promise.all(g);
878
+ var d = [];
879
+ return c.AMapUI && d.push(i(c.AMapUI)), c.Loca && d.push(a(c.Loca)), Promise.all(d);
880
880
  }
881
881
  function i(c) {
882
- return new Promise(function(g, M) {
882
+ return new Promise(function(d, M) {
883
883
  var m = [];
884
884
  if (c.plugins)
885
885
  for (var f = 0; f < c.plugins.length; f += 1)
@@ -888,62 +888,62 @@ var Pe = {}, ya = {
888
888
  M("前次请求 AMapUI 失败");
889
889
  else if (s.AMapUI === o.notload) {
890
890
  s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, f = r.AMapUI.version;
891
- var j = document.body || document.head, A = document.createElement("script");
892
- A.type = "text/javascript", A.src = "https://webapi.amap.com/ui/" + f + "/main.js", A.onerror = function(y) {
891
+ var A = document.body || document.head, p = document.createElement("script");
892
+ p.type = "text/javascript", p.src = "https://webapi.amap.com/ui/" + f + "/main.js", p.onerror = function(y) {
893
893
  s.AMapUI = o.failed, M("请求 AMapUI 失败");
894
- }, A.onload = function() {
894
+ }, p.onload = function() {
895
895
  if (s.AMapUI = o.loaded, m.length)
896
896
  window.AMapUI.loadUI(m, function() {
897
897
  for (var y = 0, h = m.length; y < h; y++) {
898
- var T = m[y].split("/").slice(-1)[0];
899
- window.AMapUI[T] = arguments[y];
898
+ var z = m[y].split("/").slice(-1)[0];
899
+ window.AMapUI[z] = arguments[y];
900
900
  }
901
- for (g(); u.AMapUI.length; )
901
+ for (d(); u.AMapUI.length; )
902
902
  u.AMapUI.splice(0, 1)[0]();
903
903
  });
904
904
  else
905
- for (g(); u.AMapUI.length; )
905
+ for (d(); u.AMapUI.length; )
906
906
  u.AMapUI.splice(0, 1)[0]();
907
- }, j.appendChild(A);
907
+ }, A.appendChild(p);
908
908
  } else
909
909
  s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
910
910
  for (var y = 0, h = m.length; y < h; y++) {
911
- var T = m[y].split("/").slice(-1)[0];
912
- window.AMapUI[T] = arguments[y];
911
+ var z = m[y].split("/").slice(-1)[0];
912
+ window.AMapUI[z] = arguments[y];
913
913
  }
914
- g();
915
- }) : g() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : u.AMapUI.push(function(y) {
914
+ d();
915
+ }) : d() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : u.AMapUI.push(function(y) {
916
916
  y ? M(y) : m.length ? window.AMapUI.loadUI(m, function() {
917
- for (var h = 0, T = m.length; h < T; h++) {
918
- var k = m[h].split("/").slice(-1)[0];
919
- window.AMapUI[k] = arguments[h];
917
+ for (var h = 0, z = m.length; h < z; h++) {
918
+ var G = m[h].split("/").slice(-1)[0];
919
+ window.AMapUI[G] = arguments[h];
920
920
  }
921
- g();
922
- }) : g();
921
+ d();
922
+ }) : d();
923
923
  });
924
924
  });
925
925
  }
926
926
  function a(c) {
927
- return new Promise(function(g, M) {
927
+ return new Promise(function(d, M) {
928
928
  if (s.Loca === o.failed)
929
929
  M("前次请求 Loca 失败");
930
930
  else if (s.Loca === o.notload) {
931
931
  s.Loca = o.loading, r.Loca.version = c.version || r.Loca.version;
932
- var m = r.Loca.version, f = r.AMap.version.startsWith("2"), j = m.startsWith("2");
933
- if (f && !j || !f && j)
932
+ var m = r.Loca.version, f = r.AMap.version.startsWith("2"), A = m.startsWith("2");
933
+ if (f && !A || !f && A)
934
934
  M("JSAPI 与 Loca 版本不对应!!");
935
935
  else {
936
- f = r.key, j = document.body || document.head;
937
- var A = document.createElement("script");
938
- A.type = "text/javascript", A.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + f, A.onerror = function(y) {
936
+ f = r.key, A = document.body || document.head;
937
+ var p = document.createElement("script");
938
+ p.type = "text/javascript", p.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + f, p.onerror = function(y) {
939
939
  s.Loca = o.failed, M("请求 AMapUI 失败");
940
- }, A.onload = function() {
941
- for (s.Loca = o.loaded, g(); u.Loca.length; )
940
+ }, p.onload = function() {
941
+ for (s.Loca = o.loaded, d(); u.Loca.length; )
942
942
  u.Loca.splice(0, 1)[0]();
943
- }, j.appendChild(A);
943
+ }, A.appendChild(p);
944
944
  }
945
945
  } else
946
- s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : g() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : u.Loca.push(function(y) {
946
+ s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : d() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : u.Loca.push(function(y) {
947
947
  y ? M(y) : M();
948
948
  });
949
949
  });
@@ -954,26 +954,26 @@ var Pe = {}, ya = {
954
954
  (function(c) {
955
955
  c.notload = "notload", c.loading = "loading", c.loaded = "loaded", c.failed = "failed";
956
956
  })(o || (o = {}));
957
- var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [], d = function(c) {
957
+ var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [], g = function(c) {
958
958
  typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : l.push(c));
959
959
  };
960
960
  return { load: function(c) {
961
- return new Promise(function(g, M) {
961
+ return new Promise(function(d, M) {
962
962
  if (s.AMap == o.failed)
963
963
  M("");
964
964
  else if (s.AMap == o.notload) {
965
- var m = c.key, f = c.version, j = c.plugins;
966
- m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version = f || r.AMap.version, r.AMap.plugins = j || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(y) {
965
+ var m = c.key, f = c.version, A = c.plugins;
966
+ m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version = f || r.AMap.version, r.AMap.plugins = A || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(y) {
967
967
  if (delete window.___onAPILoaded, y)
968
968
  s.AMap = o.failed, M(y);
969
969
  else
970
970
  for (s.AMap = o.loaded, n(c).then(function() {
971
- g(window.AMap);
971
+ d(window.AMap);
972
972
  }).catch(M); l.length; )
973
973
  l.splice(0, 1)[0]();
974
- }, j = document.createElement("script"), j.type = "text/javascript", j.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), j.onerror = function(y) {
974
+ }, A = document.createElement("script"), A.type = "text/javascript", A.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), A.onerror = function(y) {
975
975
  s.AMap = o.failed, M(y);
976
- }, f.appendChild(j)) : M("请填写key");
976
+ }, f.appendChild(A)) : M("请填写key");
977
977
  } else if (s.AMap == o.loaded)
978
978
  if (c.key && c.key !== r.key)
979
979
  M("多个不一致的 key");
@@ -985,10 +985,10 @@ var Pe = {}, ya = {
985
985
  r.AMap.plugins.indexOf(c.plugins[f]) == -1 && m.push(c.plugins[f]);
986
986
  m.length ? window.AMap.plugin(m, function() {
987
987
  n(c).then(function() {
988
- g(window.AMap);
988
+ d(window.AMap);
989
989
  }).catch(M);
990
990
  }) : n(c).then(function() {
991
- g(window.AMap);
991
+ d(window.AMap);
992
992
  }).catch(M);
993
993
  }
994
994
  else if (c.key && c.key !== r.key)
@@ -996,17 +996,17 @@ var Pe = {}, ya = {
996
996
  else if (c.version && c.version !== r.AMap.version)
997
997
  M("不允许多个版本 JSAPI 混用");
998
998
  else {
999
- var A = [];
999
+ var p = [];
1000
1000
  if (c.plugins)
1001
1001
  for (f = 0; f < c.plugins.length; f += 1)
1002
- r.AMap.plugins.indexOf(c.plugins[f]) == -1 && A.push(c.plugins[f]);
1003
- d(function() {
1004
- A.length ? window.AMap.plugin(A, function() {
1002
+ r.AMap.plugins.indexOf(c.plugins[f]) == -1 && p.push(c.plugins[f]);
1003
+ g(function() {
1004
+ p.length ? window.AMap.plugin(p, function() {
1005
1005
  n(c).then(function() {
1006
- g(window.AMap);
1006
+ d(window.AMap);
1007
1007
  }).catch(M);
1008
1008
  }) : n(c).then(function() {
1009
- g(window.AMap);
1009
+ d(window.AMap);
1010
1010
  }).catch(M);
1011
1011
  });
1012
1012
  }
@@ -1056,11 +1056,11 @@ var ja = function e(t, n) {
1056
1056
  return t !== t && n !== n;
1057
1057
  };
1058
1058
  const tt = "__googleMapsScriptId";
1059
- var Q;
1059
+ var J;
1060
1060
  (function(e) {
1061
1061
  e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
1062
- })(Q || (Q = {}));
1063
- class V {
1062
+ })(J || (J = {}));
1063
+ class H {
1064
1064
  /**
1065
1065
  * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
1066
1066
  * using this library, instead the defaults are set by the Google Maps
@@ -1070,13 +1070,13 @@ class V {
1070
1070
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1071
1071
  * ```
1072
1072
  */
1073
- constructor({ apiKey: t, authReferrerPolicy: n, channel: i, client: a, id: o = tt, language: r, libraries: s = [], mapIds: u, nonce: l, region: d, retries: c = 3, url: g = "https://maps.googleapis.com/maps/api/js", version: M }) {
1074
- if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || tt, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = d, this.retries = c, this.url = g, this.version = M, V.instance) {
1075
- if (!ja(this.options, V.instance.options))
1076
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(V.instance.options)}`);
1077
- return V.instance;
1073
+ constructor({ apiKey: t, authReferrerPolicy: n, channel: i, client: a, id: o = tt, language: r, libraries: s = [], mapIds: u, nonce: l, region: g, retries: c = 3, url: d = "https://maps.googleapis.com/maps/api/js", version: M }) {
1074
+ if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || tt, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = g, this.retries = c, this.url = d, this.version = M, H.instance) {
1075
+ if (!ja(this.options, H.instance.options))
1076
+ throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(H.instance.options)}`);
1077
+ return H.instance;
1078
1078
  }
1079
- V.instance = this;
1079
+ H.instance = this;
1080
1080
  }
1081
1081
  get options() {
1082
1082
  return {
@@ -1095,7 +1095,7 @@ class V {
1095
1095
  };
1096
1096
  }
1097
1097
  get status() {
1098
- return this.errors.length ? Q.FAILURE : this.done ? Q.SUCCESS : this.loading ? Q.LOADING : Q.INITIALIZED;
1098
+ return this.errors.length ? J.FAILURE : this.done ? J.SUCCESS : this.loading ? J.LOADING : J.INITIALIZED;
1099
1099
  }
1100
1100
  get failed() {
1101
1101
  return this.done && !this.loading && this.errors.length >= this.retries + 1;
@@ -1199,14 +1199,14 @@ const Sa = (e) => {
1199
1199
  let n, i;
1200
1200
  const a = new Promise((s, u) => {
1201
1201
  n = s, i = u;
1202
- }), o = b(
1202
+ }), o = T(
1203
1203
  "LOADING"
1204
1204
  /* LOADING */
1205
1205
  ), r = N(() => {
1206
- const { onChange: s, loading: u, fallback: l, apiKey: d, apiSecret: c, apiServiceHost: g, version: M, ...m } = e;
1207
- return { ...m, key: d, version: M != null ? M : "2.0.5.16" };
1206
+ const { onChange: s, loading: u, fallback: l, apiKey: g, apiSecret: c, apiServiceHost: d, version: M, ...m } = e;
1207
+ return { ...m, key: g, version: M != null ? M : "2.0.5.16" };
1208
1208
  });
1209
- return $(
1209
+ return _(
1210
1210
  () => r.value,
1211
1211
  (s) => {
1212
1212
  const u = (l) => {
@@ -1234,18 +1234,18 @@ const Sa = (e) => {
1234
1234
  let n, i;
1235
1235
  const a = new Promise((s, u) => {
1236
1236
  n = s, i = u;
1237
- }), o = b(
1237
+ }), o = T(
1238
1238
  "LOADING"
1239
1239
  /* LOADING */
1240
1240
  ), r = N(() => {
1241
- const { onChange: s, fallback: u, loading: l, ...d } = e;
1242
- return d;
1241
+ const { onChange: s, fallback: u, loading: l, ...g } = e;
1242
+ return g;
1243
1243
  });
1244
- return $(
1244
+ return _(
1245
1245
  () => r.value,
1246
1246
  (s) => {
1247
- const u = new V(s), l = (d) => {
1248
- o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), t == null || t(o.value);
1247
+ const u = new H(s), l = (g) => {
1248
+ o.value = g, g === "SUCCESS" && n(), g === "FAILURE" && i(), t == null || t(o.value);
1249
1249
  };
1250
1250
  l(
1251
1251
  "LOADING"
@@ -1279,7 +1279,7 @@ const Sa = (e) => {
1279
1279
  });
1280
1280
  };
1281
1281
  var Da = "_1d8ur7t0";
1282
- const Ca = p(function(t, { slots: n, emit: i }) {
1282
+ const Ca = v(function(t, { slots: n, emit: i }) {
1283
1283
  const {
1284
1284
  onDragStart: a,
1285
1285
  onDragEnd: o,
@@ -1294,21 +1294,21 @@ const Ca = p(function(t, { slots: n, emit: i }) {
1294
1294
  rotateEnable: !!t.rotateEnable,
1295
1295
  animateEnable: !!t.animateEnable,
1296
1296
  keyboardEnable: !!t.keyboardEnable
1297
- })), d = b(), c = b();
1298
- return wn(c), B(() => {
1299
- if (c.value || !d.value)
1297
+ })), g = T(), c = T();
1298
+ return wn(c), Y(() => {
1299
+ if (c.value || !g.value)
1300
1300
  return;
1301
- const g = new AMap.Map(d.value, {
1301
+ const d = new AMap.Map(g.value, {
1302
1302
  ...u,
1303
1303
  vectorMapForeign: s,
1304
1304
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1305
1305
  });
1306
- c.value = g, r == null || r(g);
1306
+ c.value = d, r == null || r(d);
1307
1307
  }), re(
1308
1308
  () => l.value,
1309
- (g) => {
1309
+ (d) => {
1310
1310
  var M;
1311
- (M = c.value) == null || M.setStatus(g);
1311
+ (M = c.value) == null || M.setStatus(d);
1312
1312
  }
1313
1313
  ), Ze(c, t, [
1314
1314
  { name: "center", defaultValue: [0, 0] },
@@ -1324,8 +1324,8 @@ const Ca = p(function(t, { slots: n, emit: i }) {
1324
1324
  { name: "mask", defaultValue: [] },
1325
1325
  { name: "labelRejectMask", defaultValue: !1 }
1326
1326
  ]), ne(c, t, i, ["onDragStart", "onDragEnd"]), () => {
1327
- var g;
1328
- return I("div", { ref: d, class: Da }, (g = n.default) == null ? void 0 : g.call(n));
1327
+ var d;
1328
+ return I("div", { ref: g, class: Da }, (d = n.default) == null ? void 0 : d.call(n));
1329
1329
  };
1330
1330
  });
1331
1331
  let se = "user";
@@ -1338,12 +1338,12 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1338
1338
  } catch (n) {
1339
1339
  throw se = "user", n;
1340
1340
  }
1341
- } }), xa = p(function(t, { slots: n, emit: i }) {
1341
+ } }), xa = v(function(t, { slots: n, emit: i }) {
1342
1342
  const a = t.mapRef, o = N(() => {
1343
- const { mapRef: c, onDragStart: g, onDragEnd: M, ...m } = t;
1343
+ const { mapRef: c, onDragStart: d, onDragEnd: M, ...m } = t;
1344
1344
  return m;
1345
- }), r = o.value, s = b(), u = b(), { executeMapApi: l } = Kt(), d = (c) => i(c, { target: u.value });
1346
- return xn(u), B(() => {
1345
+ }), r = o.value, s = T(), u = T(), { executeMapApi: l } = Kt(), g = (c) => i(c, { target: u.value });
1346
+ return xn(u), Y(() => {
1347
1347
  if (u.value || !s.value)
1348
1348
  return;
1349
1349
  let c;
@@ -1354,11 +1354,11 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1354
1354
  () => o.value,
1355
1355
  (c) => {
1356
1356
  l(() => {
1357
- var g;
1358
- return (g = u.value) == null ? void 0 : g.setOptions({ ...c });
1357
+ var d;
1358
+ return (d = u.value) == null ? void 0 : d.setOptions({ ...c });
1359
1359
  });
1360
1360
  }
1361
- ), X(u, t, d, ["onDragStart", "onDragEnd"]), () => {
1361
+ ), $(u, t, g, ["onDragStart", "onDragEnd"]), () => {
1362
1362
  var c;
1363
1363
  return I("div", { ref: s }, (c = n.default) == null ? void 0 : c.call(n));
1364
1364
  };
@@ -1400,29 +1400,29 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1400
1400
  i("dragEnd", [u, l]);
1401
1401
  };
1402
1402
  return () => {
1403
- var f, j, A;
1403
+ var f, A, p;
1404
1404
  const {
1405
1405
  supplier: s,
1406
1406
  gmapId: u,
1407
1407
  language: l = "zh",
1408
- status: d
1408
+ status: g
1409
1409
  } = a, {
1410
1410
  mapRef: c,
1411
- center: g,
1411
+ center: d,
1412
1412
  zoom: M
1413
1413
  } = t;
1414
- if (d === ie.LOADING)
1414
+ if (g === ie.LOADING)
1415
1415
  return (f = n.loading) == null ? void 0 : f.call(n);
1416
- if (d === ie.FAILURE)
1417
- return (j = n.fallback) == null ? void 0 : j.call(n);
1418
- const m = (A = n.default) == null ? void 0 : A.call(n);
1416
+ if (g === ie.FAILURE)
1417
+ return (A = n.fallback) == null ? void 0 : A.call(n);
1418
+ const m = (p = n.default) == null ? void 0 : p.call(n);
1419
1419
  switch (s) {
1420
1420
  case "gmap":
1421
1421
  return I(xa, {
1422
1422
  attrs: {
1423
1423
  mapRef: c,
1424
1424
  mapId: u,
1425
- center: g ? x(g) : void 0,
1425
+ center: d ? P(d) : void 0,
1426
1426
  zoom: M
1427
1427
  },
1428
1428
  on: {
@@ -1434,7 +1434,7 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1434
1434
  attrs: {
1435
1435
  mapRef: c,
1436
1436
  vectorMapForeign: ga(l),
1437
- center: g,
1437
+ center: d,
1438
1438
  zoom: M
1439
1439
  },
1440
1440
  on: {
@@ -1443,14 +1443,14 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1443
1443
  }, [m]);
1444
1444
  }
1445
1445
  };
1446
- }).props(["center", "fallback", "loading", "mapRef", "zoom"]), te = p(function(t) {
1447
- const n = b(), i = ye();
1446
+ }).props(["center", "fallback", "loading", "mapRef", "zoom"]), te = v(function(t) {
1447
+ const n = T(), i = ye();
1448
1448
  return ve(() => {
1449
1449
  n.value = new AMap.Polyline({ ...t });
1450
1450
  }), pe(() => {
1451
1451
  var a;
1452
1452
  (a = n.value) == null || a.setMap(null);
1453
- }), B(() => {
1453
+ }), Y(() => {
1454
1454
  var o;
1455
1455
  const a = i == null ? void 0 : i.value;
1456
1456
  a && ((o = n.value) == null || o.setMap(a));
@@ -1468,14 +1468,14 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1468
1468
  (o = n.value) == null || o.setOptions({ ...a });
1469
1469
  }
1470
1470
  ), () => null;
1471
- }), ce = p(function(t) {
1472
- const n = b(), i = je();
1471
+ }), ce = v(function(t) {
1472
+ const n = T(), i = je();
1473
1473
  return ve(() => {
1474
1474
  n.value = new google.maps.Polyline({ ...t });
1475
1475
  }), pe(() => {
1476
1476
  var a;
1477
1477
  (a = n.value) == null || a.setMap(null);
1478
- }), B(() => {
1478
+ }), Y(() => {
1479
1479
  var o;
1480
1480
  const a = i == null ? void 0 : i.value;
1481
1481
  a && ((o = n.value) == null || o.setMap(a));
@@ -1486,9 +1486,9 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1486
1486
  (o = n.value) == null || o.setOptions({ ...a });
1487
1487
  }
1488
1488
  ), () => null;
1489
- }), Pa = p(function(t) {
1489
+ }), Pa = v(function(t) {
1490
1490
  return S(t, "ADrivingLine"), () => {
1491
- const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, u = t.done ? "#96B2CA" : "#487BF4", l = t.done ? "#7693AF" : "#4175F1", d = t.done ? "#7693AF" : "#6C95F5";
1491
+ const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, u = t.done ? "#96B2CA" : "#487BF4", l = t.done ? "#7693AF" : "#4175F1", g = t.done ? "#7693AF" : "#6C95F5";
1492
1492
  return I("div", [I(te, {
1493
1493
  attrs: {
1494
1494
  path: t.path,
@@ -1503,7 +1503,7 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1503
1503
  path: t.path,
1504
1504
  strokeWeight: i + 2 * a,
1505
1505
  strokeOpacity: 1,
1506
- strokeColor: d,
1506
+ strokeColor: g,
1507
1507
  lineJoin: "round",
1508
1508
  lineCap: "round",
1509
1509
  strokeStyle: "dashed",
@@ -1530,17 +1530,17 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1530
1530
  }
1531
1531
  })]);
1532
1532
  };
1533
- }), ba = p(function(t) {
1533
+ }), ba = v(function(t) {
1534
1534
  S(t, "ADrivingLine");
1535
- const n = N(() => t.path.map(x));
1535
+ const n = N(() => t.path.map(P));
1536
1536
  return () => {
1537
- const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, u = 1 * i, l = t.done ? "#96B2CA" : "#487BF4", d = t.done ? "#7693AF" : "#4175F1", c = t.done ? "#7693AF" : "#6C95F5";
1537
+ const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, u = 1 * i, l = t.done ? "#96B2CA" : "#487BF4", g = t.done ? "#7693AF" : "#4175F1", c = t.done ? "#7693AF" : "#6C95F5";
1538
1538
  return I("div", [I(ce, {
1539
1539
  attrs: {
1540
1540
  path: n.value,
1541
1541
  strokeWeight: o + 2 * r + 2 * u,
1542
1542
  strokeOpacity: 1,
1543
- strokeColor: d
1543
+ strokeColor: g
1544
1544
  }
1545
1545
  }), I(ce, {
1546
1546
  attrs: {
@@ -1576,14 +1576,14 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1576
1576
  }
1577
1577
  })]);
1578
1578
  };
1579
- }), Se = p(function(t) {
1579
+ }), Se = v(function(t) {
1580
1580
  const n = L();
1581
1581
  return () => t.path.length ? Z(n.supplier === "gmap" ? ba : Pa, {
1582
1582
  attrs: t
1583
1583
  }) : null;
1584
1584
  }), qt = (e) => {
1585
- const t = w({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1586
- return $(
1585
+ const t = x({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1586
+ return _(
1587
1587
  () => ({ ...e }),
1588
1588
  ({ from: i, to: a }) => {
1589
1589
  n.search(
@@ -1595,9 +1595,9 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1595
1595
  case "complete": {
1596
1596
  let s = [];
1597
1597
  const l = r.routes[0];
1598
- for (const d of l.steps) {
1599
- const g = d.path.map(({ lng: M, lat: m }) => [M, m]);
1600
- s = s.concat(g);
1598
+ for (const g of l.steps) {
1599
+ const d = g.path.map(({ lng: M, lat: m }) => [M, m]);
1600
+ s = s.concat(d);
1601
1601
  }
1602
1602
  t.path = s, t.distance = l.distance, t.duration = l.time;
1603
1603
  return;
@@ -1613,8 +1613,8 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1613
1613
  }
1614
1614
  ), t;
1615
1615
  }, en = (e) => {
1616
- const t = w({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1617
- return $(
1616
+ const t = x({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1617
+ return _(
1618
1618
  () => ({ ...e }),
1619
1619
  ({ from: i, to: a }) => {
1620
1620
  n.route(
@@ -1624,18 +1624,18 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1624
1624
  travelMode: google.maps.TravelMode.DRIVING
1625
1625
  },
1626
1626
  (o, r) => {
1627
- var s, u, l, d;
1627
+ var s, u, l, g;
1628
1628
  switch (r) {
1629
1629
  case google.maps.DirectionsStatus.OK: {
1630
- let c = [], g = 0, M = 0;
1631
- const m = o.routes[0], f = m.overview_path.map((j) => [
1632
- j.lng(),
1633
- j.lat()
1630
+ let c = [], d = 0, M = 0;
1631
+ const m = o.routes[0], f = m.overview_path.map((A) => [
1632
+ A.lng(),
1633
+ A.lat()
1634
1634
  ]);
1635
1635
  c = c.concat(f);
1636
- for (const j of m.legs)
1637
- g += (u = (s = j.distance) == null ? void 0 : s.value) != null ? u : 0, M += (d = (l = j.duration) == null ? void 0 : l.value) != null ? d : 0;
1638
- t.path = c, t.distance = g, t.duration = M;
1636
+ for (const A of m.legs)
1637
+ d += (u = (s = A.distance) == null ? void 0 : s.value) != null ? u : 0, M += (g = (l = A.duration) == null ? void 0 : l.value) != null ? g : 0;
1638
+ t.path = c, t.distance = d, t.duration = M;
1639
1639
  return;
1640
1640
  }
1641
1641
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -1649,7 +1649,7 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1649
1649
  );
1650
1650
  }
1651
1651
  ), t;
1652
- }, Eo = (e) => {
1652
+ }, Ro = (e) => {
1653
1653
  const { supplier: t } = L();
1654
1654
  return t === "gmap" ? en(e) : qt(e);
1655
1655
  }, Ta = (e, t, n) => {
@@ -1664,11 +1664,11 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1664
1664
  }), nn = (e) => N(() => {
1665
1665
  const { path: t } = e, [n, i] = t;
1666
1666
  if (!(!n || !i))
1667
- return google.maps.geometry.spherical.computeHeading(x(n), x(i));
1668
- }), Ro = (e) => {
1667
+ return google.maps.geometry.spherical.computeHeading(P(n), P(i));
1668
+ }), Eo = (e) => {
1669
1669
  const { supplier: t } = L();
1670
1670
  return t === "gmap" ? nn(e) : tn(e);
1671
- }, za = p(function(t, {
1671
+ }, za = v(function(t, {
1672
1672
  slots: n
1673
1673
  }) {
1674
1674
  S(t, "ADrivingRoute");
@@ -1676,20 +1676,20 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1676
1676
  path: a,
1677
1677
  distance: o,
1678
1678
  duration: r
1679
- } = ut(qt(t)), s = tn(w({
1679
+ } = ut(qt(t)), s = tn(x({
1680
1680
  path: a,
1681
1681
  map: i
1682
1682
  }));
1683
1683
  return () => {
1684
1684
  var u;
1685
- return I("div", [(u = n.render) == null ? void 0 : u.call(n, w({
1685
+ return I("div", [(u = n.render) == null ? void 0 : u.call(n, x({
1686
1686
  path: a,
1687
1687
  angle: s,
1688
1688
  distance: o,
1689
1689
  duration: r
1690
1690
  }))]);
1691
1691
  };
1692
- }), Ea = p(function(t, {
1692
+ }), Ra = v(function(t, {
1693
1693
  slots: n
1694
1694
  }) {
1695
1695
  S(t, "GDrivingRoute");
@@ -1697,30 +1697,30 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1697
1697
  path: a,
1698
1698
  distance: o,
1699
1699
  duration: r
1700
- } = ut(en(t)), s = nn(w({
1700
+ } = ut(en(t)), s = nn(x({
1701
1701
  path: a,
1702
1702
  map: i
1703
1703
  }));
1704
1704
  return () => {
1705
1705
  var u;
1706
- return I("div", [(u = n.render) == null ? void 0 : u.call(n, w({
1706
+ return I("div", [(u = n.render) == null ? void 0 : u.call(n, x({
1707
1707
  path: a,
1708
1708
  angle: s,
1709
1709
  distance: o,
1710
1710
  duration: r
1711
1711
  }))]);
1712
1712
  };
1713
- }), Ne = p(function(t, {
1713
+ }), Ne = v(function(t, {
1714
1714
  slots: n
1715
1715
  }) {
1716
1716
  const {
1717
1717
  supplier: i
1718
1718
  } = L();
1719
- return () => Z(i === "gmap" ? Ea : za, {
1719
+ return () => Z(i === "gmap" ? Ra : za, {
1720
1720
  attrs: t,
1721
1721
  scopedSlots: n
1722
1722
  });
1723
- }), Ra = 20, Za = (e) => {
1723
+ }), Ea = 20, Za = (e) => {
1724
1724
  const { mapRef: t, autoFitTimeout: n } = e, i = /* @__PURE__ */ new Set();
1725
1725
  let a;
1726
1726
  const o = () => {
@@ -1728,8 +1728,8 @@ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1728
1728
  const u = t.value;
1729
1729
  if (!u)
1730
1730
  return;
1731
- const l = window.innerWidth / 100, [d, c, g, M] = (m = e.padding) != null ? m : [0, 0, 0, 0];
1732
- console.log([...i]), u.setFitView([...i], !1, [d * l, g * l, M * l, c * l]);
1731
+ const l = window.innerWidth / 100, [g, c, d, M] = (m = e.padding) != null ? m : [0, 0, 0, 0];
1732
+ console.log([...i]), u.setFitView([...i], !1, [g * l, d * l, M * l, c * l]);
1733
1733
  }, r = {
1734
1734
  add: (u) => {
1735
1735
  i.add(u);
@@ -1760,47 +1760,47 @@ class Oa extends Set {
1760
1760
  return t;
1761
1761
  }
1762
1762
  }
1763
- const ka = (e) => {
1763
+ const Ga = (e) => {
1764
1764
  const { mapRef: t, autoFitTimeout: n } = e, { executeMapApi: i } = Kt(), a = new Oa();
1765
1765
  let o;
1766
1766
  const r = () => {
1767
- var j;
1768
- const d = t.value;
1769
- if (!d)
1767
+ var A;
1768
+ const g = t.value;
1769
+ if (!g)
1770
1770
  return;
1771
- const c = window.innerWidth / 100, [g, M, m, f] = (j = e.padding) != null ? j : [0, 0, 0, 0];
1771
+ const c = window.innerWidth / 100, [d, M, m, f] = (A = e.padding) != null ? A : [0, 0, 0, 0];
1772
1772
  i(
1773
- () => d.fitBounds(a.getBound(), {
1774
- top: g * c,
1773
+ () => g.fitBounds(a.getBound(), {
1774
+ top: d * c,
1775
1775
  right: M * c,
1776
1776
  bottom: m * c,
1777
1777
  left: f * c
1778
1778
  })
1779
1779
  );
1780
1780
  }, s = {
1781
- add: (d) => {
1782
- a.add(d);
1781
+ add: (g) => {
1782
+ a.add(g);
1783
1783
  },
1784
- remove: (d) => {
1785
- a.delete(d);
1784
+ remove: (g) => {
1785
+ a.delete(g);
1786
1786
  },
1787
1787
  setFitView: r
1788
- }, u = (d) => {
1788
+ }, u = (g) => {
1789
1789
  const c = wa();
1790
- console.log("handleMoveEndOrZomEnd name, eventSource = ", d, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
1790
+ console.log("handleMoveEndOrZomEnd name, eventSource = ", g, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
1791
1791
  o = void 0, r();
1792
1792
  }, n));
1793
- }, l = qi(u, Ra);
1794
- return X(t, {}, u, [
1793
+ }, l = qi(u, Ea);
1794
+ return $(t, {}, u, [
1795
1795
  "onDragEnd"
1796
- ]), X(t, {}, l, [
1796
+ ]), $(t, {}, l, [
1797
1797
  "onZoom_changed"
1798
1798
  ]), { registerFitVeiw: s, setFitView: r };
1799
1799
  }, he = (e) => {
1800
1800
  const { supplier: t } = L();
1801
- return t === "gmap" ? ka(e) : Za(e);
1801
+ return t === "gmap" ? Ga(e) : Za(e);
1802
1802
  };
1803
- p(function(t, {
1803
+ v(function(t, {
1804
1804
  slots: n
1805
1805
  }) {
1806
1806
  const i = Mt(), a = he({
@@ -1812,7 +1812,7 @@ p(function(t, {
1812
1812
  return I("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1813
1813
  };
1814
1814
  });
1815
- const Ga = p(function(t, {
1815
+ const ka = v(function(t, {
1816
1816
  slots: n
1817
1817
  }) {
1818
1818
  const {
@@ -1820,7 +1820,7 @@ const Ga = p(function(t, {
1820
1820
  } = t, {
1821
1821
  setFitView: a
1822
1822
  } = i;
1823
- return Y(a), () => {
1823
+ return V(a), () => {
1824
1824
  var o;
1825
1825
  return I("div", [(o = n.default) == null ? void 0 : o.call(n)]);
1826
1826
  };
@@ -1861,7 +1861,7 @@ var Ua = (e, t, n) => {
1861
1861
  return !1;
1862
1862
  }
1863
1863
  return !0;
1864
- }, _ = (e) => (t) => {
1864
+ }, K = (e) => (t) => {
1865
1865
  var n = e.defaultClassName, i = it(it({}, e.defaultVariants), t);
1866
1866
  for (var a in i) {
1867
1867
  var o, r = (o = i[a]) !== null && o !== void 0 ? o : e.defaultVariants[a];
@@ -1875,16 +1875,16 @@ var Ua = (e, t, n) => {
1875
1875
  u && (n += " " + u);
1876
1876
  }
1877
1877
  }
1878
- for (var [l, d] of e.compoundVariants)
1879
- Ua(l, i, e.defaultVariants) && (n += " " + d);
1878
+ for (var [l, g] of e.compoundVariants)
1879
+ Ua(l, i, e.defaultVariants) && (n += " " + g);
1880
1880
  return n;
1881
- }, J = _({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), rn = "_4a4ovk1", sn = "_4a4ovk4", cn = "_4a4ovk5", un = "_4a4ovk3", de = "_4a4ovk0", ln = "_4a4ovk2";
1882
- const Ba = p(function(t) {
1881
+ }, F = K({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), rn = "_4a4ovk1", sn = "_4a4ovk4", cn = "_4a4ovk5", un = "_4a4ovk3", de = "_4a4ovk0", ln = "_4a4ovk2";
1882
+ const Ba = v(function(t) {
1883
1883
  S(t, "AStartEndPoint");
1884
1884
  const n = N(() => {
1885
1885
  var o;
1886
1886
  const i = t.type === "start" ? on : an, a = t.description ? Ae(t.description).map((r) => r.type === "normal" ? r.value : `<span class="${cn}">${r.value}</span>`).join("") : "";
1887
- return !t.description && !t.title ? `<img src="${i}" class="${J({
1887
+ return !t.description && !t.title ? `<img src="${i}" class="${F({
1888
1888
  type: t.type
1889
1889
  })}">` : t.description ? `
1890
1890
  <div class="${de}">
@@ -1892,20 +1892,20 @@ const Ba = p(function(t) {
1892
1892
  <div class="${un}">${(o = t.title) != null ? o : ""}</div>
1893
1893
  <div class="${sn}">${a}</div>
1894
1894
  </div>
1895
- <img src="${i}" class="${J({
1895
+ <img src="${i}" class="${F({
1896
1896
  type: t.type
1897
1897
  })}">
1898
1898
  </div>
1899
1899
  ` : `
1900
1900
  <div class="${de}">
1901
1901
  <div class="${ln}">${t.title}</div>
1902
- <img src="${i}" class="${J({
1902
+ <img src="${i}" class="${F({
1903
1903
  type: t.type
1904
1904
  })}">
1905
1905
  </div>
1906
1906
  `;
1907
1907
  });
1908
- return () => I(W, {
1908
+ return () => I(U, {
1909
1909
  attrs: {
1910
1910
  registerOverlay: t.registerOverlay,
1911
1911
  position: t.position,
@@ -1913,43 +1913,43 @@ const Ba = p(function(t) {
1913
1913
  anchor: "bottom-center"
1914
1914
  }
1915
1915
  });
1916
- }), Ya = p(function(t) {
1916
+ }), Ya = v(function(t) {
1917
1917
  S(t, "GStartEndPoint");
1918
1918
  const n = N(() => {
1919
1919
  var o;
1920
1920
  const i = t.type === "start" ? on : an, a = t.description ? Ae(t.description).map((r) => r.type === "normal" ? r.value : `<span class="${cn}">${r.value}</span>`).join("") : "";
1921
- return !t.description && !t.title ? z("img", {
1922
- class: J({
1921
+ return !t.description && !t.title ? R("img", {
1922
+ class: F({
1923
1923
  type: t.type
1924
1924
  }),
1925
1925
  src: i
1926
- }) : t.description ? z("div", {
1926
+ }) : t.description ? R("div", {
1927
1927
  class: de
1928
1928
  }, `
1929
1929
  <div class="${rn}">
1930
1930
  <div class="${un}">${(o = t.title) != null ? o : ""}</div>
1931
1931
  <div class="${sn}">${a}</div>
1932
1932
  </div>
1933
- <img src="${i}" class="${J({
1933
+ <img src="${i}" class="${F({
1934
1934
  type: t.type
1935
1935
  })}">
1936
- `) : z("div", {
1936
+ `) : R("div", {
1937
1937
  class: de
1938
1938
  }, `
1939
1939
  <div class="${ln}">${t.title}</div>
1940
- <img src="${i}" class="${J({
1940
+ <img src="${i}" class="${F({
1941
1941
  type: t.type
1942
1942
  })}">
1943
1943
  `);
1944
1944
  });
1945
- return () => I(U, {
1945
+ return () => I(B, {
1946
1946
  attrs: {
1947
1947
  registerOverlay: t.registerOverlay,
1948
- position: x(t.position),
1948
+ position: P(t.position),
1949
1949
  content: n.value
1950
1950
  }
1951
1951
  });
1952
- }), R = p(function(t) {
1952
+ }), E = v(function(t) {
1953
1953
  const n = L();
1954
1954
  return () => Z(n.supplier === "gmap" ? Ya : Ba, {
1955
1955
  attrs: t
@@ -1964,14 +1964,14 @@ const Ba = p(function(t) {
1964
1964
  const {
1965
1965
  from: a,
1966
1966
  to: o
1967
- } = e, r = C(a), s = C(o);
1967
+ } = e, r = w(a), s = w(o);
1968
1968
  return I(Le, {
1969
1969
  attrs: {
1970
1970
  mapRef: n,
1971
1971
  center: r,
1972
1972
  zoom: 13
1973
1973
  }
1974
- }, [I(R, {
1974
+ }, [I(E, {
1975
1975
  attrs: {
1976
1976
  type: "start",
1977
1977
  registerOverlay: t,
@@ -1985,12 +1985,12 @@ const Ba = p(function(t) {
1985
1985
  render: ({
1986
1986
  path: u,
1987
1987
  distance: l,
1988
- duration: d
1988
+ duration: g
1989
1989
  }) => [I(Se, {
1990
1990
  attrs: {
1991
1991
  path: u
1992
1992
  }
1993
- }), I(R, {
1993
+ }), I(E, {
1994
1994
  attrs: {
1995
1995
  type: "end",
1996
1996
  registerOverlay: t,
@@ -1998,57 +1998,57 @@ const Ba = p(function(t) {
1998
1998
  title: o.name,
1999
1999
  description: i({
2000
2000
  distance: l,
2001
- duration: d
2001
+ duration: g
2002
2002
  })
2003
2003
  }
2004
2004
  })]
2005
2005
  }
2006
- }), I(Ga, {
2006
+ }), I(ka, {
2007
2007
  attrs: {
2008
2008
  registerOverlay: t
2009
2009
  }
2010
2010
  })]);
2011
2011
  };
2012
2012
  }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), dn = (e) => {
2013
- var c, g;
2014
- const { onChange: t, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = e != null ? e : {}, r = D(!1), s = D(!1), u = D(), l = D({
2013
+ var c, d;
2014
+ const { onChange: t, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = e != null ? e : {}, r = C(!1), s = C(!1), u = C(), l = C({
2015
2015
  accuracy: 0,
2016
2016
  altitude: 0,
2017
2017
  altitudeAccuracy: 0,
2018
2018
  heading: 0,
2019
2019
  latitude: (c = o == null ? void 0 : o[1]) != null ? c : 0,
2020
- longitude: (g = o == null ? void 0 : o[0]) != null ? g : 0,
2020
+ longitude: (d = o == null ? void 0 : o[0]) != null ? d : 0,
2021
2021
  speed: 0
2022
- }), d = D([l.value.longitude, l.value.latitude]);
2023
- return P(
2022
+ }), g = C([l.value.longitude, l.value.latitude]);
2023
+ return b(
2024
2024
  () => !0,
2025
2025
  (M, m, f) => {
2026
2026
  r.value = !0;
2027
- const j = navigator.geolocation.watchPosition(
2028
- (A) => {
2029
- const y = A.coords, h = [A.coords.longitude, A.coords.latitude];
2030
- l.value = y, d.value = h, r.value && (r.value = !1, s.value = !0, n == null || n({ position: h, coordinate: y })), t == null || t({ position: h, coordinate: y });
2027
+ const A = navigator.geolocation.watchPosition(
2028
+ (p) => {
2029
+ const y = p.coords, h = [p.coords.longitude, p.coords.latitude];
2030
+ l.value = y, g.value = h, r.value && (r.value = !1, s.value = !0, n == null || n({ position: h, coordinate: y })), t == null || t({ position: h, coordinate: y });
2031
2031
  },
2032
- (A) => {
2033
- r.value = !1, u.value = A;
2032
+ (p) => {
2033
+ r.value = !1, u.value = p;
2034
2034
  const y = e == null ? void 0 : e.geoDefaultPosition;
2035
- y && (i == null || i({ position: y })), a == null || a(A), console.log("errorRef = ", u);
2035
+ y && (i == null || i({ position: y })), a == null || a(p), console.log("errorRef = ", u);
2036
2036
  },
2037
2037
  // todo 要不要 timeout
2038
2038
  { timeout: 5e3, maximumAge: 0, enableHighAccuracy: !0 }
2039
2039
  );
2040
- f(() => navigator.geolocation.clearWatch(j));
2040
+ f(() => navigator.geolocation.clearWatch(A));
2041
2041
  },
2042
2042
  { immediate: !0 }
2043
2043
  ), {
2044
2044
  geoError: u,
2045
- geoPosition: d,
2045
+ geoPosition: g,
2046
2046
  geoCoordinate: l,
2047
2047
  geoLoading: r,
2048
2048
  geoReady: s
2049
2049
  };
2050
2050
  }, Va = () => {
2051
- const e = b();
2051
+ const e = T();
2052
2052
  return { mapRef: e, panTo: (i) => {
2053
2053
  var a;
2054
2054
  return (a = e == null ? void 0 : e.value) == null ? void 0 : a.panTo(i);
@@ -2056,10 +2056,10 @@ const Ba = p(function(t) {
2056
2056
  e.value = i;
2057
2057
  } };
2058
2058
  }, Ha = () => {
2059
- const e = b();
2059
+ const e = T();
2060
2060
  return { mapRef: e, panTo: (i) => {
2061
2061
  var a;
2062
- return (a = e == null ? void 0 : e.value) == null ? void 0 : a.panTo(x(i));
2062
+ return (a = e == null ? void 0 : e.value) == null ? void 0 : a.panTo(P(i));
2063
2063
  }, setMap: (i) => {
2064
2064
  e.value = i;
2065
2065
  } };
@@ -2067,13 +2067,13 @@ const Ba = p(function(t) {
2067
2067
  const { supplier: e } = L();
2068
2068
  return e === "gmap" ? Ha() : Va();
2069
2069
  }, Qa = (e) => {
2070
- const { mapRef: t, onChange: n } = e, i = D([0, 0]), a = D(!1), o = () => {
2070
+ const { mapRef: t, onChange: n } = e, i = C([0, 0]), a = C(!1), o = () => {
2071
2071
  Promise.resolve().then(() => a.value = !0);
2072
2072
  }, r = (s, { target: u }) => {
2073
2073
  var c;
2074
2074
  a.value = !1;
2075
- const { lng: l, lat: d } = u.getCenter();
2076
- i.value = [l, d], (c = kt(n)) == null || c([l, d]);
2075
+ const { lng: l, lat: g } = u.getCenter();
2076
+ i.value = [l, g], (c = Gt(n)) == null || c([l, g]);
2077
2077
  };
2078
2078
  return ne(t, {}, o, [
2079
2079
  "onDragStart"
@@ -2081,44 +2081,44 @@ const Ba = p(function(t) {
2081
2081
  "onDragEnd"
2082
2082
  ]), { centerRef: i, isDragging: a };
2083
2083
  }, Ja = (e) => {
2084
- const { mapRef: t, onChange: n } = e, i = D([0, 0]), a = D(!1), o = () => {
2084
+ const { mapRef: t, onChange: n } = e, i = C([0, 0]), a = C(!1), o = () => {
2085
2085
  Promise.resolve().then(() => a.value = !0);
2086
2086
  }, r = async () => {
2087
- var d, c;
2087
+ var g, c;
2088
2088
  a.value = !1;
2089
- const s = (d = t.value) == null ? void 0 : d.getCenter(), u = s == null ? void 0 : s.lng(), l = s == null ? void 0 : s.lat();
2090
- i.value = [u, l], (c = kt(n)) == null || c([u, l]);
2089
+ const s = (g = t.value) == null ? void 0 : g.getCenter(), u = s == null ? void 0 : s.lng(), l = s == null ? void 0 : s.lat();
2090
+ i.value = [u, l], (c = Gt(n)) == null || c([u, l]);
2091
2091
  };
2092
- return X(t, {}, o, [
2092
+ return $(t, {}, o, [
2093
2093
  "onDragStart"
2094
- ]), X(t, {}, r, [
2094
+ ]), $(t, {}, r, [
2095
2095
  "onDragEnd"
2096
2096
  ]), { centerRef: i, isDragging: a };
2097
2097
  }, Fa = (e) => {
2098
2098
  const { supplier: t } = L();
2099
2099
  return t === "gmap" ? Ja(e) : Qa(e);
2100
- }, K = () => {
2101
- const e = D(0);
2100
+ }, q = () => {
2101
+ const e = C(0);
2102
2102
  return { idx: e, update: () => {
2103
2103
  e.value += 1;
2104
2104
  } };
2105
2105
  }, gn = (e) => {
2106
- const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = K(), r = w({
2106
+ const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = q(), r = x({
2107
2107
  lng: t.value[0],
2108
2108
  lat: t.value[1],
2109
2109
  name: "",
2110
2110
  cityName: void 0
2111
2111
  });
2112
- return P(
2112
+ return b(
2113
2113
  () => a.value,
2114
2114
  async () => {
2115
2115
  await i;
2116
- const s = new AMap.Geocoder({ lang: Re }), [u, l] = t.value;
2117
- s.getAddress(new AMap.LngLat(u, l), (d, c) => {
2118
- switch (d) {
2116
+ const s = new AMap.Geocoder({ lang: Ee }), [u, l] = t.value;
2117
+ s.getAddress(new AMap.LngLat(u, l), (g, c) => {
2118
+ switch (g) {
2119
2119
  case "complete": {
2120
- const { formattedAddress: g, addressComponent: M } = c.regeocode, m = M.city ? M.city : M.province, f = M.country;
2121
- r.name = g, r.lng = u, r.lat = l, r.cityName = m, r.countryName = f, n == null || n({ lng: u, lat: l, name: g, cityName: m, countryName: f });
2120
+ const { formattedAddress: d, addressComponent: M } = c.regeocode, m = M.city ? M.city : M.province, f = M.country;
2121
+ r.name = d, r.lng = u, r.lat = l, r.cityName = m, r.countryName = f, n == null || n({ lng: u, lat: l, name: d, cityName: m, countryName: f });
2122
2122
  return;
2123
2123
  }
2124
2124
  case "no_data":
@@ -2131,13 +2131,13 @@ const Ba = p(function(t) {
2131
2131
  }
2132
2132
  ), { place: r, updatePlace: o };
2133
2133
  }, In = (e) => {
2134
- const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = K(), r = w({ lng: t.value[0], lat: t.value[1], name: "" });
2135
- return P(
2134
+ const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = q(), r = x({ lng: t.value[0], lat: t.value[1], name: "" });
2135
+ return b(
2136
2136
  () => a.value,
2137
2137
  async () => {
2138
2138
  await i;
2139
- const s = new google.maps.Geocoder(), [u, l] = t.value, { results: d } = await s.geocode({ language: Re, location: { lng: u, lat: l } }), c = d[0].formatted_address, g = Ia(d[0]), M = d.slice(-1)[0].address_components[0].long_name;
2140
- r.lng = u, r.lat = l, r.name = c, r.cityName = g, r.countryName = M, n == null || n({ lng: u, lat: l, name: c, cityName: g, countryName: M });
2139
+ const s = new google.maps.Geocoder(), [u, l] = t.value, { results: g } = await s.geocode({ language: Ee, location: { lng: u, lat: l } }), c = g[0].formatted_address, d = Ia(g[0]), M = g.slice(-1)[0].address_components[0].long_name;
2140
+ r.lng = u, r.lat = l, r.name = c, r.cityName = d, r.countryName = M, n == null || n({ lng: u, lat: l, name: c, cityName: d, countryName: M });
2141
2141
  }
2142
2142
  ), { place: r, updatePlace: o };
2143
2143
  }, Oo = (e) => {
@@ -2146,7 +2146,7 @@ const Ba = p(function(t) {
2146
2146
  }, Xa = (e, t) => {
2147
2147
  let n = 1 / 0, i = e;
2148
2148
  for (const a of t) {
2149
- const o = AMap.GeometryUtil.distance(C(e), C(a));
2149
+ const o = AMap.GeometryUtil.distance(w(e), w(a));
2150
2150
  o >= n || (i = a, n = o);
2151
2151
  }
2152
2152
  return { shortestPlace: i, shortestDistance: n };
@@ -2158,65 +2158,65 @@ const Ba = p(function(t) {
2158
2158
  }
2159
2159
  return { shortestPlace: i, shortestDistance: n };
2160
2160
  }, _a = (e) => {
2161
- const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = D(!0), u = D([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = gn({ pointRef: t, onChange: r }), m = w({ ...g });
2162
- return P(
2161
+ const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = C(!0), u = C([]), { idx: l, update: g } = q(), { readyPromise: c } = L(), { place: d, updatePlace: M } = gn({ pointRef: t, onChange: r }), m = x({ ...d });
2162
+ return b(
2163
2163
  () => l.value,
2164
2164
  async () => {
2165
2165
  await c;
2166
- const f = await n({ ...g }, a);
2166
+ const f = await n({ ...d }, a);
2167
2167
  if (f === void 0) {
2168
- s.value = !1, u.value = [], Object.assign(m, { ...g }), o == null || o({ ...g });
2168
+ s.value = !1, u.value = [], Object.assign(m, { ...d }), o == null || o({ ...d });
2169
2169
  return;
2170
2170
  }
2171
- const { shortestPlace: j, shortestDistance: A } = Xa(g, f), y = i(a), h = A > y ? g : j;
2171
+ const { shortestPlace: A, shortestDistance: p } = Xa(d, f), y = i(a), h = p > y ? d : A;
2172
2172
  s.value = !0, u.value = f, Object.assign(m, { ...h }), o == null || o({ ...h });
2173
2173
  }
2174
2174
  ), {
2175
2175
  recomendPlace: m,
2176
2176
  placeCandidates: u,
2177
2177
  availableRef: s,
2178
- updateRecomandPlace: d,
2178
+ updateRecomandPlace: g,
2179
2179
  updatePlace: M
2180
2180
  };
2181
2181
  }, Ka = (e) => {
2182
- const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = D(!0), u = D([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = In({ pointRef: t, onChange: r }), m = w({ ...g });
2183
- return P(
2182
+ const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = C(!0), u = C([]), { idx: l, update: g } = q(), { readyPromise: c } = L(), { place: d, updatePlace: M } = In({ pointRef: t, onChange: r }), m = x({ ...d });
2183
+ return b(
2184
2184
  () => l.value,
2185
2185
  async () => {
2186
2186
  await c;
2187
- const f = await n({ ...g }, a);
2187
+ const f = await n({ ...d }, a);
2188
2188
  if (f === void 0) {
2189
- s.value = !1, u.value = [], Object.assign(m, { ...g }), o == null || o({ ...g });
2189
+ s.value = !1, u.value = [], Object.assign(m, { ...d }), o == null || o({ ...d });
2190
2190
  return;
2191
2191
  }
2192
- const { shortestPlace: j, shortestDistance: A } = $a(g, f), y = i(a), h = A > y ? g : j;
2192
+ const { shortestPlace: A, shortestDistance: p } = $a(d, f), y = i(a), h = p > y ? d : A;
2193
2193
  s.value = !0, u.value = f, Object.assign(m, { ...h }), o == null || o({ ...h });
2194
2194
  }
2195
2195
  ), {
2196
2196
  recomendPlace: m,
2197
2197
  placeCandidates: u,
2198
2198
  availableRef: s,
2199
- updateRecomandPlace: d,
2199
+ updateRecomandPlace: g,
2200
2200
  updatePlace: M
2201
2201
  };
2202
2202
  }, qa = (e) => {
2203
2203
  const { supplier: t } = L();
2204
2204
  return t === "gmap" ? Ka(e) : _a(e);
2205
2205
  }, Mn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2206
- var mn = _({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2207
- const eo = p(function(t) {
2206
+ var mn = K({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2207
+ const eo = v(function(t) {
2208
2208
  S(t, "APassengerCircle");
2209
2209
  const n = N(() => {
2210
2210
  const {
2211
2211
  size: i = "large"
2212
2212
  } = t;
2213
2213
  return `
2214
- <img src="${i === "large" ? Mn : G}" class="${mn({
2214
+ <img src="${i === "large" ? Mn : W}" class="${mn({
2215
2215
  size: i
2216
2216
  })}">
2217
2217
  `;
2218
2218
  });
2219
- return () => I(W, {
2219
+ return () => I(U, {
2220
2220
  attrs: {
2221
2221
  position: t.position,
2222
2222
  content: n.value,
@@ -2224,35 +2224,35 @@ const eo = p(function(t) {
2224
2224
  registerOverlay: t.registerOverlay
2225
2225
  }
2226
2226
  });
2227
- }), to = p(function(t) {
2227
+ }), to = v(function(t) {
2228
2228
  S(t, "GPassengerCircle");
2229
2229
  const n = N(() => {
2230
2230
  const {
2231
2231
  size: i = "large"
2232
- } = t, a = i === "large" ? Mn : G;
2233
- return z("img", {
2232
+ } = t, a = i === "large" ? Mn : W;
2233
+ return R("img", {
2234
2234
  class: mn({
2235
2235
  size: i
2236
2236
  }),
2237
2237
  src: a
2238
2238
  });
2239
2239
  });
2240
- return () => I(U, {
2240
+ return () => I(B, {
2241
2241
  attrs: {
2242
- position: x(t.position),
2242
+ position: P(t.position),
2243
2243
  content: n.value,
2244
2244
  registerOverlay: t.registerOverlay
2245
2245
  }
2246
2246
  });
2247
- }), Ce = p(function(t) {
2247
+ }), Ce = v(function(t) {
2248
2248
  const n = L();
2249
2249
  return () => Z(n.supplier === "gmap" ? to : eo, {
2250
2250
  attrs: t
2251
2251
  });
2252
2252
  });
2253
2253
  var be = /* @__PURE__ */ ((e) => (e.topLeft = "top-left", e.topCenter = "top-center", e.topRight = "top-right", e.middleLeft = "middle-left", e.center = "center", e.middleRight = "middle-right", e.bottomLeft = "bottom-left", e.bottomCenter = "bottom-center", e.bottomRight = "bottom-right", e))(be || {});
2254
- var at = _({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), ot = _({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), fn = "fhyw8b", vn = _({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ge = _({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2255
- const no = p(function(t, {
2254
+ var at = K({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), ot = K({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), fn = "fhyw8b", vn = K({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ge = K({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2255
+ const no = v(function(t, {
2256
2256
  emit: n
2257
2257
  }) {
2258
2258
  S(t, "APlaceCircle");
@@ -2271,7 +2271,7 @@ const no = p(function(t, {
2271
2271
  hideIcon: s
2272
2272
  })} ${at({
2273
2273
  textAlign: i.value
2274
- })}" src="${G}">
2274
+ })}" src="${W}">
2275
2275
  <div class="${fn}">${t.label}</div>
2276
2276
  </div>
2277
2277
  `;
@@ -2283,11 +2283,11 @@ const no = p(function(t, {
2283
2283
  hideIcon: s
2284
2284
  })} ${at({
2285
2285
  textAlign: i.value
2286
- })}" src="${G}">`;
2286
+ })}" src="${W}">`;
2287
2287
  }), r = (s) => {
2288
2288
  console.log("on amap marker e = ", s), n("click", t.position);
2289
2289
  };
2290
- return () => I(W, {
2290
+ return () => I(U, {
2291
2291
  attrs: {
2292
2292
  position: t.position,
2293
2293
  content: t.label ? a.value : o.value,
@@ -2297,7 +2297,7 @@ const no = p(function(t, {
2297
2297
  click: r
2298
2298
  }
2299
2299
  });
2300
- }), io = p(function(t, {
2300
+ }), io = v(function(t, {
2301
2301
  emit: n
2302
2302
  }) {
2303
2303
  S(t, "GPlaceCircle");
@@ -2308,7 +2308,7 @@ const no = p(function(t, {
2308
2308
  const {
2309
2309
  hideIcon: s = !1
2310
2310
  } = t;
2311
- return z("div", {
2311
+ return R("div", {
2312
2312
  class: `${vn({
2313
2313
  textAlign: i.value
2314
2314
  })} ${ot({
@@ -2317,34 +2317,34 @@ const no = p(function(t, {
2317
2317
  }, `
2318
2318
  <img class="${ge({
2319
2319
  hideIcon: s
2320
- })}" src="${G}">
2320
+ })}" src="${W}">
2321
2321
  <div class="${fn}">${t.label}</div>
2322
2322
  `);
2323
2323
  }), o = N(() => {
2324
2324
  const {
2325
2325
  hideIcon: s = !1
2326
2326
  } = t;
2327
- return z("img", {
2327
+ return R("img", {
2328
2328
  class: `${ge({
2329
2329
  hideIcon: s
2330
2330
  })} ${ot({
2331
2331
  textAlign: i.value
2332
2332
  })}`,
2333
- src: G
2333
+ src: W
2334
2334
  });
2335
2335
  }), r = (s) => {
2336
2336
  console.log("on gmap advanced marker view e = ", s), n("click", t.position);
2337
2337
  };
2338
- return () => I(U, {
2338
+ return () => I(B, {
2339
2339
  attrs: {
2340
- position: x(t.position),
2340
+ position: P(t.position),
2341
2341
  content: t.label ? a.value : o.value
2342
2342
  },
2343
2343
  on: {
2344
2344
  click: r
2345
2345
  }
2346
2346
  });
2347
- }), O = p(function(t, {
2347
+ }), O = v(function(t, {
2348
2348
  emit: n
2349
2349
  }) {
2350
2350
  const i = L();
@@ -2354,12 +2354,12 @@ const no = p(function(t, {
2354
2354
  click: (a) => n("click", a)
2355
2355
  }
2356
2356
  });
2357
- }), ao = p(function(t, {
2357
+ }), ao = v(function(t, {
2358
2358
  emit: n
2359
2359
  }) {
2360
2360
  return S(t, "PickupPoints"), () => I("div", [t.places.map((i) => I(O, {
2361
2361
  attrs: {
2362
- position: C(i),
2362
+ position: w(i),
2363
2363
  label: i.name,
2364
2364
  textAlign: "left"
2365
2365
  },
@@ -2367,10 +2367,10 @@ const no = p(function(t, {
2367
2367
  click: () => n("click", i)
2368
2368
  }
2369
2369
  }))]);
2370
- }), oo = 30, ko = ae((e, {
2370
+ }), oo = 30, Go = ae((e, {
2371
2371
  emit: t
2372
2372
  }) => {
2373
- var T, k;
2373
+ var G, D;
2374
2374
  S(e, "BusinessRecomendPlaceMap");
2375
2375
  const {
2376
2376
  geoDefaultPosition: n,
@@ -2382,50 +2382,51 @@ const no = p(function(t, {
2382
2382
  panTo: s
2383
2383
  } = De(), {
2384
2384
  readyPromise: u
2385
- } = L(), l = w({
2386
- lng: (T = n == null ? void 0 : n[0]) != null ? T : 0,
2387
- lat: (k = n == null ? void 0 : n[1]) != null ? k : 0,
2385
+ } = L(), l = x({
2386
+ lng: (G = n == null ? void 0 : n[0]) != null ? G : 0,
2387
+ lat: (D = n == null ? void 0 : n[1]) != null ? D : 0,
2388
2388
  name: "",
2389
2389
  cityName: void 0
2390
- }), d = N(() => [l.lng, l.lat]), c = {
2390
+ }), g = N(() => [l.lng, l.lat]), c = {
2391
2391
  source: "geo"
2392
- }, g = (v) => {
2393
- c.source = "api", l.lng = v[0], l.lat = v[1], j();
2394
- };
2395
- a.setCenterPlaceByRecomand = g, a.panTo = s;
2396
- const M = (v) => {
2397
- c.source = "api", l.lng = v.lng, l.lat = v.lat, l.name = v.name;
2392
+ }, d = (j) => {
2393
+ c.source = "api", l.lng = j[0], l.lat = j[1], p();
2394
+ }, M = (j) => {
2395
+ c.source = "api", l.lng = j.lng, l.lat = j.lat, l.name = j.name;
2398
2396
  }, {
2399
- geoPosition: m
2397
+ geoPosition: m,
2398
+ geoError: f
2400
2399
  } = dn({
2401
2400
  geoDefaultPosition: n,
2402
- onLoad: async (v) => {
2403
- await u, c.source = "geo", l.lng = v.position[0], l.lat = v.position[1], j(), t("loadGeoLocation", v);
2401
+ onLoad: async (j) => {
2402
+ await u, c.source = "geo", l.lng = j.position[0], l.lat = j.position[1], p(), t("loadGeoLocation", j);
2404
2403
  },
2405
- onLoadDefault: async (v) => {
2406
- await u, c.source = "geo", l.lng = v.position[0], l.lat = v.position[1], j(), t("loadDefaultGeoLocation", v);
2404
+ onLoadDefault: async (j) => {
2405
+ await u, c.source = "geo", l.lng = j.position[0], l.lat = j.position[1], p(), t("loadDefaultGeoLocation", j);
2407
2406
  },
2408
- onChange: (v) => t("changeGeoLocation", v),
2409
- onError: (v) => t("geoError", v)
2410
- }), {
2411
- isDragging: f
2407
+ onChange: (j) => t("changeGeoLocation", j),
2408
+ onError: (j) => t("geoError", j)
2409
+ });
2410
+ a.setCenterPlaceByRecomand = d, a.panToGeoPositionByRecomend = () => f.value ? !1 : (d(m.value), !0);
2411
+ const {
2412
+ isDragging: A
2412
2413
  } = Fa({
2413
2414
  mapRef: o,
2414
- onChange: (v) => {
2415
- c.source = "drag", l.lng = v[0], l.lat = v[1], j(), t("changeByDrag", v);
2415
+ onChange: (j) => {
2416
+ c.source = "drag", l.lng = j[0], l.lat = j[1], p(), t("changeByDrag", j);
2416
2417
  }
2417
2418
  }), {
2418
- updatePlace: j,
2419
- updateRecomandPlace: A,
2420
- placeCandidates: y,
2421
- availableRef: h
2419
+ updatePlace: p,
2420
+ updateRecomandPlace: y,
2421
+ placeCandidates: h,
2422
+ availableRef: z
2422
2423
  } = qa({
2423
- pointRef: d,
2424
+ pointRef: g,
2424
2425
  context: c,
2425
2426
  getRecomendPlace: i,
2426
- getLimit: (v) => {
2427
- const E = v == null ? void 0 : v.source;
2428
- switch (E) {
2427
+ getLimit: (j) => {
2428
+ const k = j == null ? void 0 : j.source;
2429
+ switch (k) {
2429
2430
  case "drag":
2430
2431
  case "api":
2431
2432
  return oo;
@@ -2433,18 +2434,18 @@ const no = p(function(t, {
2433
2434
  case "default":
2434
2435
  return 1 / 0;
2435
2436
  default:
2436
- throw new Error(`MyError: should not call getLimit on source: ${E}`);
2437
+ throw new Error(`MyError: should not call getLimit on source: ${k}`);
2437
2438
  }
2438
2439
  },
2439
- onChangePlace: (v) => {
2440
+ onChangePlace: (j) => {
2440
2441
  Object.assign(l, {
2441
- ...v
2442
- }), c.source !== "recomend" && A(), t("changePlace", v);
2442
+ ...j
2443
+ }), c.source !== "recomend" && y(), t("changePlace", j);
2443
2444
  },
2444
- onChange: (v) => {
2445
+ onChange: (j) => {
2445
2446
  c.source = "recomend", Object.assign(l, {
2446
- ...v
2447
- }), j(), t("changeRecomandPlace", v);
2447
+ ...j
2448
+ }), p(), t("changeRecomandPlace", j);
2448
2449
  }
2449
2450
  });
2450
2451
  return ue(() => {
@@ -2452,12 +2453,12 @@ const no = p(function(t, {
2452
2453
  ...l
2453
2454
  });
2454
2455
  }), ue(() => {
2455
- a.onChangeRecomendPlaces([...y.value]);
2456
+ a.onChangeRecomendPlaces([...h.value]);
2456
2457
  }), () => {
2457
- const v = h.value ? y.value.length > 0 ? e.recomendDescription : e.noRecomendDescription : void 0;
2458
+ const j = z.value ? h.value.length > 0 ? e.recomendDescription : e.noRecomendDescription : void 0;
2458
2459
  return I(Le, {
2459
2460
  attrs: {
2460
- center: d.value,
2461
+ center: g.value,
2461
2462
  zoom: 18,
2462
2463
  mapRef: r,
2463
2464
  log: e.log
@@ -2468,7 +2469,7 @@ const no = p(function(t, {
2468
2469
  }
2469
2470
  }), I(ao, {
2470
2471
  attrs: {
2471
- places: y.value,
2472
+ places: h.value,
2472
2473
  log: e.log
2473
2474
  },
2474
2475
  on: {
@@ -2476,17 +2477,17 @@ const no = p(function(t, {
2476
2477
  }
2477
2478
  }), I(pa, {
2478
2479
  attrs: {
2479
- position: d.value,
2480
- title: h.value ? l.name : e.unavailableTitle,
2481
- description: v,
2482
- type: f.value ? "locator" : "box",
2480
+ position: g.value,
2481
+ title: z.value ? l.name : e.unavailableTitle,
2482
+ description: j,
2483
+ type: A.value ? "locator" : "box",
2483
2484
  log: e.log
2484
2485
  }
2485
2486
  })]);
2486
2487
  };
2487
2488
  }).props(["log", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), ro = [116.2317, 39.5427], rt = (e) => e.lng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tMy4yMDctLjE5Ni00LjE1OS0uNjYzLS40NC0uODMtLjY2My0yLjY0My0uNjYzLTIuNjQzbC0uMDA5LS4xODRjLjc3My43MDggMi42NDUgMS4yMDMgNC44MyAxLjIwMyAyLjI0MyAwIDQuMTU5LS41MjQgNC44OTItMS4yNmwtLjAxMy4yNDFjMC0uMDA0LS4yMTggMS43NjQtLjY0NiAyLjYwNnpNNy40NDcgMjMuOTNhMjAuMTIgMjAuMTIgMCAwMC0uMjk0LTIuNDQydi0uMDY1YzEuNTM4LS4zMiAzLjE2Ny0uNjQ5IDQuODYyLS42NDkgMS42NzUgMCAzLjI5NC4zMjYgNC44MTYuNjM3YTIyLjY3MyAyMi42NzMgMCAwMC0uMzAzIDIuNTJjLS4xNDcgMi44ODQuMDIgMy4zMTQuMjMyIDUuMDQ4LjAwNi4wNTcuMDI2LjE1Mi4wNTYuMjc0LTEuNTEzLjI3OC0zIC41NC00LjkxMi41NC0xLjg0NyAwLTMuMjg5LS4yNS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2488
2489
  var Me = "_65j3sr1", pn = "_4a4ovk5", yn = "_4a4ovk0", jn = "_4a4ovk2";
2489
- const so = p(function(t) {
2490
+ const so = v(function(t) {
2490
2491
  S(t, "ATaxiCar");
2491
2492
  const n = N(() => {
2492
2493
  var o;
@@ -2498,7 +2499,7 @@ const so = p(function(t) {
2498
2499
  </div>
2499
2500
  ` : `<img src="${Ie}" class="${Me}" style="${a}">`;
2500
2501
  });
2501
- return () => I(W, {
2502
+ return () => I(U, {
2502
2503
  attrs: {
2503
2504
  position: t.position,
2504
2505
  content: n.value,
@@ -2506,35 +2507,35 @@ const so = p(function(t) {
2506
2507
  registerOverlay: t.registerOverlay
2507
2508
  }
2508
2509
  });
2509
- }), co = p(function(t) {
2510
+ }), co = v(function(t) {
2510
2511
  S(t, "GTaxiCar");
2511
2512
  const n = N(() => {
2512
2513
  var o;
2513
2514
  const i = t.title ? Ae(t.title).map((r) => r.type === "normal" ? r.value : `<span class="${pn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = t.angle) != null ? o : 0}deg)`;
2514
- return t.title ? z("div", {
2515
+ return t.title ? R("div", {
2515
2516
  class: yn
2516
2517
  }, `
2517
2518
  <div class="${jn}">${i}</div>
2518
2519
  <img src="${Ie}" class="${Me}" style="${a}">
2519
- `) : z("img", {
2520
+ `) : R("img", {
2520
2521
  class: Me,
2521
2522
  src: Ie,
2522
2523
  style: a
2523
2524
  });
2524
2525
  });
2525
- return () => I(U, {
2526
+ return () => I(B, {
2526
2527
  attrs: {
2527
- position: x(t.position),
2528
+ position: P(t.position),
2528
2529
  content: n.value,
2529
2530
  registerOverlay: t.registerOverlay
2530
2531
  }
2531
2532
  });
2532
- }), Oe = p(function(t) {
2533
+ }), Oe = v(function(t) {
2533
2534
  const n = L();
2534
2535
  return () => Z(n.supplier === "gmap" ? co : so, {
2535
2536
  attrs: t
2536
2537
  });
2537
- }), uo = p(function(t) {
2538
+ }), uo = v(function(t) {
2538
2539
  return S(t, "AWalkingLine"), () => {
2539
2540
  const {
2540
2541
  path: n
@@ -2555,9 +2556,9 @@ const so = p(function(t) {
2555
2556
  }
2556
2557
  });
2557
2558
  };
2558
- }), lo = p(function(t) {
2559
+ }), lo = v(function(t) {
2559
2560
  S(t, "GWalkingLine");
2560
- const n = N(() => t.path.map(x));
2561
+ const n = N(() => t.path.map(P));
2561
2562
  return () => {
2562
2563
  const i = n.value;
2563
2564
  if (i.length === 0)
@@ -2589,14 +2590,14 @@ const so = p(function(t) {
2589
2590
  }
2590
2591
  });
2591
2592
  };
2592
- }), An = p(function(t) {
2593
+ }), An = v(function(t) {
2593
2594
  const n = L();
2594
2595
  return () => Z(n.supplier === "gmap" ? lo : uo, {
2595
2596
  attrs: t
2596
2597
  });
2597
2598
  }), Ln = (e) => {
2598
- const t = b([]), n = new AMap.Walking({});
2599
- return $(
2599
+ const t = T([]), n = new AMap.Walking({});
2600
+ return _(
2600
2601
  () => ({ ...e }),
2601
2602
  ({ from: i, to: a }) => {
2602
2603
  n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
@@ -2608,8 +2609,8 @@ const so = p(function(t) {
2608
2609
  return;
2609
2610
  const l = u.routes[0];
2610
2611
  console.log("firstRoute = ", l);
2611
- for (const d of l.steps) {
2612
- const c = d.path.map(({ lng: g, lat: M }) => [g, M]);
2612
+ for (const g of l.steps) {
2613
+ const c = g.path.map(({ lng: d, lat: M }) => [d, M]);
2613
2614
  s = s.concat(c);
2614
2615
  }
2615
2616
  t.value = s;
@@ -2625,8 +2626,8 @@ const so = p(function(t) {
2625
2626
  }
2626
2627
  ), t;
2627
2628
  }, Sn = (e) => {
2628
- const t = b([]), n = new google.maps.DirectionsService();
2629
- return $(
2629
+ const t = T([]), n = new google.maps.DirectionsService();
2630
+ return _(
2630
2631
  () => ({ ...e }),
2631
2632
  ({ from: i, to: a }) => {
2632
2633
  n.route(
@@ -2639,9 +2640,9 @@ const so = p(function(t) {
2639
2640
  switch (r) {
2640
2641
  case google.maps.DirectionsStatus.OK: {
2641
2642
  let s = [];
2642
- const l = o.routes[0].overview_path.map((d) => [
2643
- d.lng(),
2644
- d.lat()
2643
+ const l = o.routes[0].overview_path.map((g) => [
2644
+ g.lng(),
2645
+ g.lat()
2645
2646
  ]);
2646
2647
  s = s.concat(l), t.value = s;
2647
2648
  return;
@@ -2657,32 +2658,32 @@ const so = p(function(t) {
2657
2658
  );
2658
2659
  }
2659
2660
  ), t;
2660
- }, Go = (e) => {
2661
+ }, ko = (e) => {
2661
2662
  const { supplier: t } = L();
2662
2663
  return t === "gmap" ? Sn(e) : Ln(e);
2663
- }, go = p(function(t, {
2664
+ }, go = v(function(t, {
2664
2665
  slots: n
2665
2666
  }) {
2666
2667
  S(t, "AWalkingRoute");
2667
2668
  const i = Ln(t);
2668
2669
  return () => {
2669
2670
  var a;
2670
- return I("div", [(a = n.render) == null ? void 0 : a.call(n, w({
2671
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, x({
2671
2672
  path: i
2672
2673
  }))]);
2673
2674
  };
2674
- }), Io = p(function(t, {
2675
+ }), Io = v(function(t, {
2675
2676
  slots: n
2676
2677
  }) {
2677
2678
  S(t, "GWalkingRoute");
2678
2679
  const i = Sn(t);
2679
2680
  return () => {
2680
2681
  var a;
2681
- return I("div", [(a = n.render) == null ? void 0 : a.call(n, w({
2682
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, x({
2682
2683
  path: i
2683
2684
  }))]);
2684
2685
  };
2685
- }), Nn = p(function(t, {
2686
+ }), Nn = v(function(t, {
2686
2687
  slots: n
2687
2688
  }) {
2688
2689
  const {
@@ -2694,59 +2695,59 @@ const so = p(function(t) {
2694
2695
  });
2695
2696
  }), me = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2696
2697
  var hn = "rrvp0y3", fe = "rrvp0y2";
2697
- const Mo = p(function(t) {
2698
+ const Mo = v(function(t) {
2698
2699
  S(t, "AWaveCircle");
2699
2700
  const n = N(() => `<img src="${me}" class="${fe}">`), i = N(() => `<img src="${me}" class="${fe} ${hn}">`);
2700
- return () => I("div", [I(W, {
2701
+ return () => I("div", [I(U, {
2701
2702
  attrs: {
2702
2703
  position: t.position,
2703
2704
  anchor: "bottom-center",
2704
2705
  content: n.value
2705
2706
  }
2706
- }), I(W, {
2707
+ }), I(U, {
2707
2708
  attrs: {
2708
2709
  position: t.position,
2709
2710
  anchor: "bottom-center",
2710
2711
  content: i.value
2711
2712
  }
2712
2713
  })]);
2713
- }), mo = p(function(t) {
2714
+ }), mo = v(function(t) {
2714
2715
  S(t, "GWaveCircle");
2715
- const n = N(() => z("img", {
2716
+ const n = N(() => R("img", {
2716
2717
  class: fe,
2717
2718
  src: me
2718
- })), i = N(() => z("img", {
2719
+ })), i = N(() => R("img", {
2719
2720
  class: `${fe} ${hn}`,
2720
2721
  src: me
2721
2722
  }));
2722
2723
  return () => {
2723
- const a = x(t.position);
2724
- return I("div", [I(U, {
2724
+ const a = P(t.position);
2725
+ return I("div", [I(B, {
2725
2726
  attrs: {
2726
2727
  position: a,
2727
2728
  content: n.value
2728
2729
  }
2729
- }), I(U, {
2730
+ }), I(B, {
2730
2731
  attrs: {
2731
2732
  position: a,
2732
2733
  content: i.value
2733
2734
  }
2734
2735
  })]);
2735
2736
  };
2736
- }), fo = p(function(t) {
2737
+ }), fo = v(function(t) {
2737
2738
  const n = L();
2738
2739
  return () => Z(n.supplier === "gmap" ? mo : Mo, {
2739
2740
  attrs: t
2740
2741
  });
2741
- }), vo = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], st = p((e, {
2742
+ }), vo = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], st = v((e, {
2742
2743
  emit: t
2743
- }) => (S(e, "SectionDispatching"), Y(() => t("mapMounted")), () => {
2744
+ }) => (S(e, "SectionDispatching"), V(() => t("mapMounted")), () => {
2744
2745
  const {
2745
2746
  from: n,
2746
2747
  title: i,
2747
2748
  registerOverlay: a
2748
- } = e, o = C(n);
2749
- return I("div", [I(R, {
2749
+ } = e, o = w(n);
2750
+ return I("div", [I(E, {
2750
2751
  attrs: {
2751
2752
  type: "start",
2752
2753
  position: o,
@@ -2767,17 +2768,17 @@ const Mo = p(function(t) {
2767
2768
  log: e.log
2768
2769
  }
2769
2770
  })]);
2770
- })), po = p((e, {
2771
+ })), po = v((e, {
2771
2772
  emit: t
2772
- }) => (S(e, "SectionDriverStartService"), Y(() => t("mapMounted")), () => {
2773
+ }) => (S(e, "SectionDriverStartService"), V(() => t("mapMounted")), () => {
2773
2774
  const {
2774
2775
  from: n,
2775
2776
  carPosition: i,
2776
2777
  passengerPosition: a,
2777
2778
  renderTitle: o,
2778
2779
  registerOverlay: r
2779
- } = e, s = C(n);
2780
- return I("div", [I(R, {
2780
+ } = e, s = w(n);
2781
+ return I("div", [I(E, {
2781
2782
  attrs: {
2782
2783
  type: "start",
2783
2784
  position: s,
@@ -2799,7 +2800,7 @@ const Mo = p(function(t) {
2799
2800
  render: ({
2800
2801
  path: u,
2801
2802
  distance: l,
2802
- duration: d
2803
+ duration: g
2803
2804
  }) => [I(Se, {
2804
2805
  attrs: {
2805
2806
  path: u,
@@ -2810,7 +2811,7 @@ const Mo = p(function(t) {
2810
2811
  position: i,
2811
2812
  title: o({
2812
2813
  distance: l,
2813
- duration: d
2814
+ duration: g
2814
2815
  }),
2815
2816
  log: e.log
2816
2817
  }
@@ -2837,16 +2838,16 @@ const Mo = p(function(t) {
2837
2838
  log: e.log
2838
2839
  }
2839
2840
  })]);
2840
- })), yo = p((e, {
2841
+ })), yo = v((e, {
2841
2842
  emit: t
2842
- }) => (S(e, "SectionBookDispatched"), Y(() => t("mapMounted")), () => {
2843
+ }) => (S(e, "SectionBookDispatched"), V(() => t("mapMounted")), () => {
2843
2844
  const {
2844
2845
  from: n,
2845
2846
  passengerPosition: i,
2846
2847
  title: a,
2847
2848
  registerOverlay: o
2848
- } = e, r = C(n);
2849
- return I("div", [I(R, {
2849
+ } = e, r = w(n);
2850
+ return I("div", [I(E, {
2850
2851
  attrs: {
2851
2852
  type: "start",
2852
2853
  position: r,
@@ -2868,16 +2869,16 @@ const Mo = p(function(t) {
2868
2869
  log: e.log
2869
2870
  }
2870
2871
  })]);
2871
- })), jo = p((e, {
2872
+ })), jo = v((e, {
2872
2873
  emit: t
2873
- }) => (S(e, "SectionDriverArrived"), Y(() => t("mapMounted")), () => {
2874
+ }) => (S(e, "SectionDriverArrived"), V(() => t("mapMounted")), () => {
2874
2875
  const {
2875
2876
  from: n,
2876
2877
  carPosition: i,
2877
2878
  passengerPosition: a,
2878
2879
  title: o,
2879
2880
  registerOverlay: r
2880
- } = e, s = C(n);
2881
+ } = e, s = w(n);
2881
2882
  return I("div", [I(Oe, {
2882
2883
  attrs: {
2883
2884
  position: i,
@@ -2885,7 +2886,7 @@ const Mo = p(function(t) {
2885
2886
  registerOverlay: r,
2886
2887
  log: e.log
2887
2888
  }
2888
- }), I(R, {
2889
+ }), I(E, {
2889
2890
  attrs: {
2890
2891
  type: "start",
2891
2892
  position: s,
@@ -2920,16 +2921,16 @@ const Mo = p(function(t) {
2920
2921
  log: e.log
2921
2922
  }
2922
2923
  })]);
2923
- })), Ao = p((e, {
2924
+ })), Ao = v((e, {
2924
2925
  emit: t
2925
- }) => (S(e, "SectionInService"), Y(() => t("mapMounted")), () => {
2926
+ }) => (S(e, "SectionInService"), V(() => t("mapMounted")), () => {
2926
2927
  const {
2927
2928
  to: n,
2928
2929
  carPosition: i,
2929
2930
  renderTitle: a,
2930
2931
  registerOverlay: o
2931
- } = e, r = C(n);
2932
- return I("div", [I(R, {
2932
+ } = e, r = w(n);
2933
+ return I("div", [I(E, {
2933
2934
  attrs: {
2934
2935
  type: "end",
2935
2936
  position: r,
@@ -2970,22 +2971,22 @@ const Mo = p(function(t) {
2970
2971
  })]
2971
2972
  }
2972
2973
  })]);
2973
- })), Lo = p((e, {
2974
+ })), Lo = v((e, {
2974
2975
  emit: t
2975
- }) => (S(e, "SectionCanceled"), Y(() => t("mapMounted")), () => {
2976
+ }) => (S(e, "SectionCanceled"), V(() => t("mapMounted")), () => {
2976
2977
  const {
2977
2978
  from: n,
2978
2979
  to: i,
2979
2980
  registerOverlay: a
2980
- } = e, o = C(n), r = C(i);
2981
- return I("div", [I(R, {
2981
+ } = e, o = w(n), r = w(i);
2982
+ return I("div", [I(E, {
2982
2983
  attrs: {
2983
2984
  type: "start",
2984
2985
  position: o,
2985
2986
  registerOverlay: a,
2986
2987
  log: e.log
2987
2988
  }
2988
- }), I(R, {
2989
+ }), I(E, {
2989
2990
  attrs: {
2990
2991
  type: "end",
2991
2992
  position: r,
@@ -3007,22 +3008,22 @@ const Mo = p(function(t) {
3007
3008
  log: e.log
3008
3009
  }
3009
3010
  })]);
3010
- })), Te = p((e, {
3011
+ })), Te = v((e, {
3011
3012
  emit: t
3012
- }) => (S(e, "SectionEndService"), Y(() => t("mapMounted")), () => {
3013
+ }) => (S(e, "SectionEndService"), V(() => t("mapMounted")), () => {
3013
3014
  const {
3014
3015
  from: n,
3015
3016
  to: i,
3016
3017
  registerOverlay: a
3017
- } = e, o = C(n), r = C(i);
3018
- return I("div", [I(R, {
3018
+ } = e, o = w(n), r = w(i);
3019
+ return I("div", [I(E, {
3019
3020
  attrs: {
3020
3021
  type: "start",
3021
3022
  position: o,
3022
3023
  registerOverlay: a,
3023
3024
  log: e.log
3024
3025
  }
3025
- }), I(R, {
3026
+ }), I(E, {
3026
3027
  attrs: {
3027
3028
  type: "end",
3028
3029
  position: r,
@@ -3074,13 +3075,13 @@ const Mo = p(function(t) {
3074
3075
  } = i, {
3075
3076
  geoPosition: l
3076
3077
  } = dn({
3077
- geoDefaultPosition: C(t)
3078
- }), d = D(C(e.from));
3079
- return P(() => e.driverStatus, (c, g, M) => {
3078
+ geoDefaultPosition: w(t)
3079
+ }), g = C(w(e.from));
3080
+ return b(() => e.driverStatus, (c, d, M) => {
3080
3081
  if (!vo.includes(c))
3081
3082
  return;
3082
3083
  const m = setInterval(() => {
3083
- o().then((f) => d.value = f);
3084
+ o().then((f) => g.value = f);
3084
3085
  }, n);
3085
3086
  M(() => clearInterval(m));
3086
3087
  }, {
@@ -3088,23 +3089,23 @@ const Mo = p(function(t) {
3088
3089
  }), () => {
3089
3090
  const {
3090
3091
  driverStatus: c,
3091
- from: g,
3092
+ from: d,
3092
3093
  to: M,
3093
3094
  dispatchingTitle: m,
3094
3095
  bookDispatchingTitle: f,
3095
- bookDispatchedTitle: j,
3096
- driverArrivedTitle: A
3097
- } = e, y = d.value;
3096
+ bookDispatchedTitle: A,
3097
+ driverArrivedTitle: p
3098
+ } = e, y = g.value;
3098
3099
  return I(Le, {
3099
3100
  attrs: {
3100
- center: C(g),
3101
+ center: w(d),
3101
3102
  zoom: 13,
3102
3103
  mapRef: a,
3103
3104
  log: e.log
3104
3105
  }
3105
3106
  }, [c === "dispatching" ? I(st, {
3106
3107
  attrs: {
3107
- from: g,
3108
+ from: d,
3108
3109
  title: m,
3109
3110
  registerOverlay: i,
3110
3111
  log: e.log
@@ -3114,7 +3115,7 @@ const Mo = p(function(t) {
3114
3115
  }
3115
3116
  }) : c === "book-dispatching" ? I(st, {
3116
3117
  attrs: {
3117
- from: g,
3118
+ from: d,
3118
3119
  title: f,
3119
3120
  registerOverlay: i,
3120
3121
  log: e.log
@@ -3124,7 +3125,7 @@ const Mo = p(function(t) {
3124
3125
  }
3125
3126
  }) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? I(po, {
3126
3127
  attrs: {
3127
- from: g,
3128
+ from: d,
3128
3129
  carPosition: y,
3129
3130
  passengerPosition: l.value,
3130
3131
  renderTitle: r,
@@ -3136,9 +3137,9 @@ const Mo = p(function(t) {
3136
3137
  }
3137
3138
  }) : c === "book-dispatched" ? I(yo, {
3138
3139
  attrs: {
3139
- from: g,
3140
+ from: d,
3140
3141
  passengerPosition: l.value,
3141
- title: j,
3142
+ title: A,
3142
3143
  registerOverlay: i,
3143
3144
  log: e.log
3144
3145
  },
@@ -3158,10 +3159,10 @@ const Mo = p(function(t) {
3158
3159
  }
3159
3160
  }) : c === "driverArrived" ? I(jo, {
3160
3161
  attrs: {
3161
- from: g,
3162
+ from: d,
3162
3163
  carPosition: y,
3163
3164
  passengerPosition: l.value,
3164
- title: A,
3165
+ title: p,
3165
3166
  registerOverlay: i,
3166
3167
  log: e.log
3167
3168
  },
@@ -3170,14 +3171,14 @@ const Mo = p(function(t) {
3170
3171
  }
3171
3172
  }) : c === "canceled" || c === "canceling" ? I(Lo, {
3172
3173
  attrs: {
3173
- from: g,
3174
+ from: d,
3174
3175
  to: M,
3175
3176
  registerOverlay: i,
3176
3177
  log: e.log
3177
3178
  }
3178
3179
  }) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? I(Te, {
3179
3180
  attrs: {
3180
- from: g,
3181
+ from: d,
3181
3182
  to: M,
3182
3183
  registerOverlay: i,
3183
3184
  log: e.log
@@ -3189,7 +3190,7 @@ const Mo = p(function(t) {
3189
3190
  // 匹配不到就显示灰色路线
3190
3191
  I(Te, {
3191
3192
  attrs: {
3192
- from: g,
3193
+ from: d,
3193
3194
  to: M,
3194
3195
  registerOverlay: i,
3195
3196
  log: e.log
@@ -3200,7 +3201,7 @@ const Mo = p(function(t) {
3200
3201
  })
3201
3202
  )]);
3202
3203
  };
3203
- }).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), Uo = p((e) => {
3204
+ }).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), Uo = v((e) => {
3204
3205
  S(e, "BusinessTaxiEndMap");
3205
3206
  const {
3206
3207
  mapRef: t,
@@ -3217,7 +3218,7 @@ const Mo = p(function(t) {
3217
3218
  const {
3218
3219
  from: o,
3219
3220
  to: r
3220
- } = e, s = rt(o) && rt(r), u = s ? C(o) : [...ro];
3221
+ } = e, s = rt(o) && rt(r), u = s ? w(o) : [...ro];
3221
3222
  return I(Le, {
3222
3223
  attrs: {
3223
3224
  center: u,
@@ -3238,20 +3239,20 @@ const Mo = p(function(t) {
3238
3239
  })]);
3239
3240
  };
3240
3241
  }), So = (e) => {
3241
- const { city: t } = e, n = D(t), { readyPromise: i } = L(), a = D(""), o = D([]), { update: r, idx: s } = K(), u = (d) => {
3242
- n.value = d, r();
3243
- }, l = (d) => {
3244
- a.value = d, r();
3242
+ const { city: t } = e, n = C(t), { readyPromise: i } = L(), a = C(""), o = C([]), { update: r, idx: s } = q(), u = (g) => {
3243
+ n.value = g, r();
3244
+ }, l = (g) => {
3245
+ a.value = g, r();
3245
3246
  };
3246
- return P(
3247
+ return b(
3247
3248
  () => s.value,
3248
3249
  async () => {
3249
3250
  if (!a.value)
3250
3251
  return;
3251
- await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c, g) => {
3252
+ await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c, d) => {
3252
3253
  switch (c) {
3253
3254
  case "complete": {
3254
- o.value = g.poiList.pois.map(
3255
+ o.value = d.poiList.pois.map(
3255
3256
  (M) => ({
3256
3257
  lat: M.location.lat,
3257
3258
  lng: M.location.lng,
@@ -3265,7 +3266,7 @@ const Mo = p(function(t) {
3265
3266
  o.value = [];
3266
3267
  return;
3267
3268
  default:
3268
- throw g;
3269
+ throw d;
3269
3270
  }
3270
3271
  });
3271
3272
  },
@@ -3274,32 +3275,32 @@ const Mo = p(function(t) {
3274
3275
  }
3275
3276
  ), { setKeyword: l, setCity: u, autoCompletePlaces: o };
3276
3277
  }, No = (e) => {
3277
- const { city: t } = e, n = D({ ...t }), { readyPromise: i } = L(), a = D(""), o = D([]), { update: r, idx: s } = K(), u = (c) => {
3278
+ const { city: t } = e, n = C({ ...t }), { readyPromise: i } = L(), a = C(""), o = C([]), { update: r, idx: s } = q(), u = (c) => {
3278
3279
  n.value = c, r();
3279
3280
  }, l = (c) => {
3280
3281
  a.value = c, r();
3281
- }, d = document.createElement("div");
3282
- return P(
3282
+ }, g = document.createElement("div");
3283
+ return b(
3283
3284
  () => s.value,
3284
3285
  async () => {
3285
3286
  if (!a.value)
3286
3287
  return;
3287
- await i, new google.maps.places.PlacesService(d).textSearch(
3288
+ await i, new google.maps.places.PlacesService(g).textSearch(
3288
3289
  {
3289
3290
  query: a.value,
3290
3291
  bounds: n.value.bound
3291
3292
  },
3292
- (g, M) => {
3293
+ (d, M) => {
3293
3294
  switch (M) {
3294
3295
  case google.maps.places.PlacesServiceStatus.OK:
3295
- o.value = g.map(
3296
- ({ geometry: m, name: f, formatted_address: j }) => {
3297
- var A, y, h, T;
3296
+ o.value = d.map(
3297
+ ({ geometry: m, name: f, formatted_address: A }) => {
3298
+ var p, y, h, z;
3298
3299
  return {
3299
- lng: (y = (A = m == null ? void 0 : m.location) == null ? void 0 : A.lng()) != null ? y : 0,
3300
- lat: (T = (h = m == null ? void 0 : m.location) == null ? void 0 : h.lat()) != null ? T : 0,
3300
+ lng: (y = (p = m == null ? void 0 : m.location) == null ? void 0 : p.lng()) != null ? y : 0,
3301
+ lat: (z = (h = m == null ? void 0 : m.location) == null ? void 0 : h.lat()) != null ? z : 0,
3301
3302
  name: f != null ? f : "",
3302
- description: j != null ? j : ""
3303
+ description: A != null ? A : ""
3303
3304
  };
3304
3305
  }
3305
3306
  );
@@ -3318,8 +3319,8 @@ const Mo = p(function(t) {
3318
3319
  return t === "gmap" ? No(e) : So(e);
3319
3320
  }, Do = (e) => {
3320
3321
  var a;
3321
- const { cityNameRef: t, onChange: n } = e, i = w({ name: (a = t.value) != null ? a : "" });
3322
- return P(
3322
+ const { cityNameRef: t, onChange: n } = e, i = x({ name: (a = t.value) != null ? a : "" });
3323
+ return b(
3323
3324
  () => t.value,
3324
3325
  (o) => {
3325
3326
  const r = o != null ? o : "";
@@ -3328,7 +3329,7 @@ const Mo = p(function(t) {
3328
3329
  ), i;
3329
3330
  }, Co = (e) => {
3330
3331
  var o;
3331
- const { cityNameRef: t, onChange: n } = e, { readyPromise: i } = L(), a = w({
3332
+ const { cityNameRef: t, onChange: n } = e, { readyPromise: i } = L(), a = x({
3332
3333
  name: (o = t.value) != null ? o : "",
3333
3334
  bound: {
3334
3335
  east: 0,
@@ -3338,7 +3339,7 @@ const Mo = p(function(t) {
3338
3339
  }
3339
3340
  });
3340
3341
  return ue(async () => {
3341
- var c, g;
3342
+ var c, d;
3342
3343
  const r = t.value;
3343
3344
  if (!r)
3344
3345
  return;
@@ -3348,12 +3349,12 @@ const Mo = p(function(t) {
3348
3349
  componentRestrictions: {
3349
3350
  administrativeArea: "administrative_area_level_1"
3350
3351
  },
3351
- language: Re
3352
+ language: Ee
3352
3353
  });
3353
3354
  if (u.length !== 1)
3354
3355
  throw new Error("MyError: multiple city found");
3355
- const { geometry: l } = u[0], d = (g = (c = l.bounds) == null ? void 0 : c.toJSON()) != null ? g : l.viewport.toJSON();
3356
- a.name = r, a.bound = d, n == null || n({ name: r, bound: d });
3356
+ const { geometry: l } = u[0], g = (d = (c = l.bounds) == null ? void 0 : c.toJSON()) != null ? d : l.viewport.toJSON();
3357
+ a.name = r, a.bound = g, n == null || n({ name: r, bound: g });
3357
3358
  }), a;
3358
3359
  }, wo = (e) => {
3359
3360
  const { supplier: t } = L();
@@ -3383,20 +3384,20 @@ const Mo = p(function(t) {
3383
3384
  const e = L();
3384
3385
  return { apiMapDistance: (n, i) => {
3385
3386
  if (e.status === ie.SUCCESS)
3386
- return google.maps.geometry.spherical.computeDistanceBetween(x(n), x(i));
3387
+ return google.maps.geometry.spherical.computeDistanceBetween(P(n), P(i));
3387
3388
  } };
3388
3389
  }, bo = () => {
3389
3390
  const { supplier: e } = L();
3390
3391
  return e === "gmap" ? Po() : xo();
3391
3392
  }, Vo = () => {
3392
- const e = w({
3393
+ const e = x({
3393
3394
  lng: 0,
3394
3395
  lat: 0,
3395
3396
  name: "",
3396
3397
  cityName: void 0
3397
- }), t = D([]), { apiMapDistance: n } = bo(), i = (r) => o.panTo(r), a = (r) => o.setCenterPlaceByRecomand(r), o = {
3398
- panTo: () => {
3399
- throw new Error("MyError: panTo used before assigned");
3398
+ }), t = C([]), { apiMapDistance: n } = bo(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByRecomand(r), o = {
3399
+ panToGeoPositionByRecomend: () => {
3400
+ throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3400
3401
  },
3401
3402
  setCenterPlaceByRecomand: () => {
3402
3403
  throw new Error("MyError: setCenterPlaceByRecomand used before assigned");
@@ -3412,7 +3413,7 @@ const Mo = p(function(t) {
3412
3413
  mapContext: o,
3413
3414
  centerPlace: e,
3414
3415
  placeCandidates: t,
3415
- panTo: i,
3416
+ panToGeoPositionByRecomend: i,
3416
3417
  setCenterPlaceByRecomand: a,
3417
3418
  apiMapDistance: n
3418
3419
  };
@@ -3427,7 +3428,7 @@ const Mo = p(function(t) {
3427
3428
  export {
3428
3429
  pa as AddressBox,
3429
3430
  Zo as BusinessQuotingMap,
3430
- ko as BusinessRecomendPlaceMap,
3431
+ Go as BusinessRecomendPlaceMap,
3431
3432
  Uo as BusinessTaxiEndMap,
3432
3433
  Wo as BusinessTaxiServiceMap,
3433
3434
  Se as DrivingLine,
@@ -3437,7 +3438,7 @@ export {
3437
3438
  Ce as PassengerCircle,
3438
3439
  ao as PickupPoints,
3439
3440
  O as PlaceCircle,
3440
- R as StartEndPoint,
3441
+ E as StartEndPoint,
3441
3442
  Oe as TaxiCar,
3442
3443
  An as WalkingLine,
3443
3444
  Nn as WalkingRoute,
@@ -3446,14 +3447,14 @@ export {
3446
3447
  Yo as useBusinessQuotingMap,
3447
3448
  Vo as useBusinessRecomendPlaceMap,
3448
3449
  Ho as useBusinessTaxiServiceMap,
3449
- Eo as useDrivingRoute,
3450
+ Ro as useDrivingRoute,
3450
3451
  dn as useGeoLocation,
3451
3452
  De as useHeycarMap,
3452
- Ro as useMapAngle,
3453
+ Eo as useMapAngle,
3453
3454
  Fa as useMapDrag,
3454
3455
  he as useMapFitView,
3455
3456
  bo as useMapGeometry,
3456
3457
  Oo as useMapPlace,
3457
3458
  qa as useMapRecomendPlace,
3458
- Go as useWalkingRoute
3459
+ ko as useWalkingRoute
3459
3460
  };