@heycar/heycars-map 0.4.2 → 0.4.4

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,4 +1,4 @@
1
- import oi, { defineComponent as zt, h as f, computed as h, inject as Ye, provide as He, watch as T, onMounted as ee, onUnmounted as le, watchPostEffect as Y, shallowRef as z, reactive as b, toRefs as Zt, ref as w, toRef as ri, watchEffect as Oe } from "vue";
1
+ import oi, { defineComponent as zt, h as g, computed as D, inject as Ye, provide as He, watch as T, onMounted as te, onUnmounted as le, watchPostEffect as H, shallowRef as z, reactive as b, toRefs as Zt, ref as w, toRef as ri, watchEffect as Oe } from "vue";
2
2
  oi.util.warn;
3
3
  const Je = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", Qe = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
4
4
  var si = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ci = typeof global == "object" && global && global.Object === Object && global;
@@ -7,16 +7,16 @@ var li = typeof self == "object" && self && self.Object === Object && self, di =
7
7
  const Ot = di;
8
8
  var gi = Ot.Symbol;
9
9
  const K = gi;
10
- var Gt = Object.prototype, fi = Gt.hasOwnProperty, Mi = Gt.toString, oe = K ? K.toStringTag : void 0;
11
- function mi(t) {
12
- var e = fi.call(t, oe), n = t[oe];
10
+ var Gt = Object.prototype, fi = Gt.hasOwnProperty, mi = Gt.toString, re = K ? K.toStringTag : void 0;
11
+ function Mi(t) {
12
+ var e = fi.call(t, re), n = t[re];
13
13
  try {
14
- t[oe] = void 0;
14
+ t[re] = void 0;
15
15
  var i = !0;
16
16
  } catch {
17
17
  }
18
- var a = Mi.call(t);
19
- return i && (e ? t[oe] = n : delete t[oe]), a;
18
+ var a = mi.call(t);
19
+ return i && (e ? t[re] = n : delete t[re]), a;
20
20
  }
21
21
  var Ii = Object.prototype, pi = Ii.toString;
22
22
  function vi(t) {
@@ -24,7 +24,7 @@ function vi(t) {
24
24
  }
25
25
  var yi = "[object Null]", ji = "[object Undefined]", ct = K ? K.toStringTag : void 0;
26
26
  function Ai(t) {
27
- return t == null ? t === void 0 ? ji : yi : ct && ct in Object(t) ? mi(t) : vi(t);
27
+ return t == null ? t === void 0 ? ji : yi : ct && ct in Object(t) ? Mi(t) : vi(t);
28
28
  }
29
29
  function Li(t) {
30
30
  return t != null && typeof t == "object";
@@ -333,9 +333,9 @@ var da = {
333
333
  ſ: "s"
334
334
  }, ga = la(da);
335
335
  const fa = ga;
336
- var Ma = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ma = "\\u0300-\\u036f", Ia = "\\ufe20-\\ufe2f", pa = "\\u20d0-\\u20ff", va = ma + Ia + pa, ya = "[" + va + "]", ja = RegExp(ya, "g");
336
+ var ma = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ma = "\\u0300-\\u036f", Ia = "\\ufe20-\\ufe2f", pa = "\\u20d0-\\u20ff", va = Ma + Ia + pa, ya = "[" + va + "]", ja = RegExp(ya, "g");
337
337
  function Aa(t) {
338
- return t = $e(t), t && t.replace(Ma, fa).replace(ja, "");
338
+ return t = $e(t), t && t.replace(ma, fa).replace(ja, "");
339
339
  }
340
340
  var La = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
341
341
  function Sa(t) {
@@ -345,10 +345,10 @@ var Na = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
345
345
  function ha(t) {
346
346
  return Na.test(t);
347
347
  }
348
- var Ft = "\\ud800-\\udfff", Da = "\\u0300-\\u036f", wa = "\\ufe20-\\ufe2f", Ca = "\\u20d0-\\u20ff", xa = Da + wa + Ca, $t = "\\u2700-\\u27bf", Xt = "a-z\\xdf-\\xf6\\xf8-\\xff", Pa = "\\xac\\xb1\\xd7\\xf7", ba = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ea = "\\u2000-\\u206f", Ta = " \\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", _t = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ra = "\\ufe0e\\ufe0f", Kt = Pa + ba + Ea + Ta, qt = "['’]", Mt = "[" + Kt + "]", za = "[" + xa + "]", en = "\\d+", Za = "[" + $t + "]", tn = "[" + Xt + "]", nn = "[^" + Ft + Kt + en + $t + Xt + _t + "]", Oa = "\\ud83c[\\udffb-\\udfff]", Ga = "(?:" + za + "|" + Oa + ")", ka = "[^" + Ft + "]", an = "(?:\\ud83c[\\udde6-\\uddff]){2}", on = "[\\ud800-\\udbff][\\udc00-\\udfff]", $ = "[" + _t + "]", Wa = "\\u200d", mt = "(?:" + tn + "|" + nn + ")", Ua = "(?:" + $ + "|" + nn + ")", It = "(?:" + qt + "(?:d|ll|m|re|s|t|ve))?", pt = "(?:" + qt + "(?:D|LL|M|RE|S|T|VE))?", rn = Ga + "?", sn = "[" + Ra + "]?", Ba = "(?:" + Wa + "(?:" + [ka, an, on].join("|") + ")" + sn + rn + ")*", Va = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ya = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ha = sn + rn + Ba, Ja = "(?:" + [Za, an, on].join("|") + ")" + Ha, Qa = RegExp([
349
- $ + "?" + tn + "+" + It + "(?=" + [Mt, $, "$"].join("|") + ")",
350
- Ua + "+" + pt + "(?=" + [Mt, $ + mt, "$"].join("|") + ")",
351
- $ + "?" + mt + "+" + It,
348
+ var Ft = "\\ud800-\\udfff", Da = "\\u0300-\\u036f", wa = "\\ufe20-\\ufe2f", Ca = "\\u20d0-\\u20ff", xa = Da + wa + Ca, $t = "\\u2700-\\u27bf", Xt = "a-z\\xdf-\\xf6\\xf8-\\xff", Pa = "\\xac\\xb1\\xd7\\xf7", ba = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ea = "\\u2000-\\u206f", Ta = " \\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", _t = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ra = "\\ufe0e\\ufe0f", Kt = Pa + ba + Ea + Ta, qt = "['’]", mt = "[" + Kt + "]", za = "[" + xa + "]", en = "\\d+", Za = "[" + $t + "]", tn = "[" + Xt + "]", nn = "[^" + Ft + Kt + en + $t + Xt + _t + "]", Oa = "\\ud83c[\\udffb-\\udfff]", Ga = "(?:" + za + "|" + Oa + ")", ka = "[^" + Ft + "]", an = "(?:\\ud83c[\\udde6-\\uddff]){2}", on = "[\\ud800-\\udbff][\\udc00-\\udfff]", $ = "[" + _t + "]", Wa = "\\u200d", Mt = "(?:" + tn + "|" + nn + ")", Ua = "(?:" + $ + "|" + nn + ")", It = "(?:" + qt + "(?:d|ll|m|re|s|t|ve))?", pt = "(?:" + qt + "(?:D|LL|M|RE|S|T|VE))?", rn = Ga + "?", sn = "[" + Ra + "]?", Ba = "(?:" + Wa + "(?:" + [ka, an, on].join("|") + ")" + sn + rn + ")*", Va = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ya = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ha = sn + rn + Ba, Ja = "(?:" + [Za, an, on].join("|") + ")" + Ha, Qa = RegExp([
349
+ $ + "?" + tn + "+" + It + "(?=" + [mt, $, "$"].join("|") + ")",
350
+ Ua + "+" + pt + "(?=" + [mt, $ + Mt, "$"].join("|") + ")",
351
+ $ + "?" + Mt + "+" + It,
352
352
  $ + "+" + pt,
353
353
  Ya,
354
354
  Va,
@@ -373,33 +373,33 @@ var qa = function() {
373
373
  const Re = qa;
374
374
  var eo = "Expected a function", to = Math.max, no = Math.min;
375
375
  function io(t, e, n) {
376
- var i, a, o, r, s, c, d = 0, M = !1, u = !1, l = !0;
376
+ var i, a, o, r, s, c, d = 0, m = !1, u = !1, l = !0;
377
377
  if (typeof t != "function")
378
378
  throw new TypeError(eo);
379
- e = gt(e) || 0, Ge(n) && (M = !!n.leading, u = "maxWait" in n, o = u ? to(gt(n.maxWait) || 0, e) : o, l = "trailing" in n ? !!n.trailing : l);
380
- function g(D) {
379
+ e = gt(e) || 0, Ge(n) && (m = !!n.leading, u = "maxWait" in n, o = u ? to(gt(n.maxWait) || 0, e) : o, l = "trailing" in n ? !!n.trailing : l);
380
+ function f(h) {
381
381
  var P = i, E = a;
382
- return i = a = void 0, d = D, r = t.apply(E, P), r;
382
+ return i = a = void 0, d = h, r = t.apply(E, P), r;
383
383
  }
384
- function m(D) {
385
- return d = D, s = setTimeout(y, e), M ? g(D) : r;
384
+ function M(h) {
385
+ return d = h, s = setTimeout(y, e), m ? f(h) : r;
386
386
  }
387
- function I(D) {
388
- var P = D - c, E = D - d, k = e - P;
387
+ function I(h) {
388
+ var P = h - c, E = h - d, k = e - P;
389
389
  return u ? no(k, o - E) : k;
390
390
  }
391
- function p(D) {
392
- var P = D - c, E = D - d;
391
+ function p(h) {
392
+ var P = h - c, E = h - d;
393
393
  return c === void 0 || P >= e || P < 0 || u && E >= o;
394
394
  }
395
395
  function y() {
396
- var D = Re();
397
- if (p(D))
398
- return v(D);
399
- s = setTimeout(y, I(D));
396
+ var h = Re();
397
+ if (p(h))
398
+ return v(h);
399
+ s = setTimeout(y, I(h));
400
400
  }
401
- function v(D) {
402
- return s = void 0, l && i ? g(D) : (i = a = void 0, r);
401
+ function v(h) {
402
+ return s = void 0, l && i ? f(h) : (i = a = void 0, r);
403
403
  }
404
404
  function L() {
405
405
  s !== void 0 && clearTimeout(s), d = 0, i = c = a = s = void 0;
@@ -408,12 +408,12 @@ function io(t, e, n) {
408
408
  return s === void 0 ? r : v(Re());
409
409
  }
410
410
  function x() {
411
- var D = Re(), P = p(D);
412
- if (i = arguments, a = this, c = D, P) {
411
+ var h = Re(), P = p(h);
412
+ if (i = arguments, a = this, c = h, P) {
413
413
  if (s === void 0)
414
- return m(c);
414
+ return M(c);
415
415
  if (u)
416
- return clearTimeout(s), s = setTimeout(y, e), g(c);
416
+ return clearTimeout(s), s = setTimeout(y, e), f(c);
417
417
  }
418
418
  return s === void 0 && (s = setTimeout(y, e)), r;
419
419
  }
@@ -446,13 +446,13 @@ function j(t) {
446
446
  name: t.name,
447
447
  inheritAttrs: !1,
448
448
  setup(e, n) {
449
- const { attrs: i, slots: a, emit: o } = n, r = i, s = o, c = (M, u) => {
450
- const l = cn(M);
451
- s(M, u), M !== l && s(l, u);
449
+ const { attrs: i, slots: a, emit: o } = n, r = i, s = o, c = (m, u) => {
450
+ const l = cn(m);
451
+ s(m, u), m !== l && s(l, u);
452
452
  }, d = new Proxy(a, {
453
- get(M, u, l) {
454
- var g;
455
- return (g = Reflect.get(M, u, l)) != null ? g : Reflect.get(r, u);
453
+ get(m, u, l) {
454
+ var f;
455
+ return (f = Reflect.get(m, u, l)) != null ? f : Reflect.get(r, u);
456
456
  }
457
457
  });
458
458
  return t(r, { ...n, slots: d, emit: c });
@@ -466,13 +466,13 @@ function de(t) {
466
466
  inheritAttrs: !1,
467
467
  props: e,
468
468
  setup(n, i) {
469
- const a = n, { slots: o, emit: r } = i, s = r, c = (M, u) => {
470
- const l = cn(M);
471
- s(M, u), M !== l && s(l, u);
469
+ const a = n, { slots: o, emit: r } = i, s = r, c = (m, u) => {
470
+ const l = cn(m);
471
+ s(m, u), m !== l && s(l, u);
472
472
  }, d = new Proxy(o, {
473
- get(M, u, l) {
474
- var g;
475
- return (g = Reflect.get(M, u, l)) != null ? g : Reflect.get(a, u);
473
+ get(m, u, l) {
474
+ var f;
475
+ return (f = Reflect.get(m, u, l)) != null ? f : Reflect.get(a, u);
476
476
  }
477
477
  });
478
478
  return t(a, { ...i, slots: d, emit: c });
@@ -480,15 +480,15 @@ function de(t) {
480
480
  })
481
481
  };
482
482
  }
483
- const G = f, se = "zh-CN";
484
- var co = "n8tgem1", vt = "n8tgem0", uo = "n8tgem5", lo = "n8tgem4", go = "n8tgem2", fo = "n8tgem3", Mo = "n8tgem7", mo = "n8tgem6";
483
+ const G = g, ce = "zh-CN";
484
+ var co = "n8tgem1", vt = "n8tgem0", uo = "n8tgem5", lo = "n8tgem4", go = "n8tgem2", fo = "n8tgem3", mo = "n8tgem7", Mo = "n8tgem6";
485
485
  const Io = j(function(e) {
486
- const n = h(() => {
486
+ const n = D(() => {
487
487
  var i;
488
488
  return (i = e.value) == null ? void 0 : i.split(`
489
- `).flatMap((a, o) => o === 0 ? a : [f("br"), a]);
489
+ `).flatMap((a, o) => o === 0 ? a : [g("br"), a]);
490
490
  });
491
- return () => f("div", [n.value]);
491
+ return () => g("div", [n.value]);
492
492
  }), po = j(function(e, {
493
493
  emit: n
494
494
  }) {
@@ -499,39 +499,39 @@ const Io = j(function(e) {
499
499
  title: o,
500
500
  description: r
501
501
  } = e;
502
- return a === "locator" ? f("div", {
502
+ return a === "locator" ? g("div", {
503
503
  class: vt
504
- }, [f("img", {
505
- class: Mo,
504
+ }, [g("img", {
505
+ class: mo,
506
506
  attrs: {
507
507
  src: Je
508
508
  }
509
- })]) : f("div", {
509
+ })]) : g("div", {
510
510
  class: vt
511
- }, [f("div", {
511
+ }, [g("div", {
512
512
  class: co,
513
513
  on: {
514
514
  click: i
515
515
  }
516
- }, [f("div", {
516
+ }, [g("div", {
517
517
  class: go
518
- }, [f(Io, {
518
+ }, [g(Io, {
519
519
  class: fo,
520
520
  attrs: {
521
521
  value: o
522
522
  }
523
- }), !!r && f("div", {
523
+ }), !!r && g("div", {
524
524
  class: lo
525
- }, [r])]), f("img", {
525
+ }, [r])]), g("img", {
526
526
  class: uo,
527
527
  attrs: {
528
528
  src: Qe
529
529
  }
530
- })]), f("i", {
531
- class: mo
530
+ })]), g("i", {
531
+ class: Mo
532
532
  })]);
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YXRvcj0ib3V0IiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiPjwvZmVDb21wb3NpdGU+CiAgICAgICAgICAgIDxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwICAgMCAwIDAgMCAwICAgMCAwIDAgMCAwICAwIDAgMCAwLjIwNDM1NDI0IDAiIHR5cGU9Im1hdHJpeCIgaW49InNoYWRvd0JsdXJPdXRlcjEiPjwvZmVDb2xvck1hdHJpeD4KICAgICAgICA8L2ZpbHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", un = Symbol(), N = () => {
535
535
  const t = Ye(un);
536
536
  if (!t)
537
537
  throw new Error("MyError: useMapSupplier should be under MapProvider");
@@ -550,9 +550,9 @@ const Io = j(function(e) {
550
550
  immediate: !0
551
551
  }
552
552
  );
553
- }, fn = () => new Promise((t) => Ao(t)), Mn = (t) => {
553
+ }, fn = () => new Promise((t) => Ao(t)), mn = (t) => {
554
554
  const { registerOverlay: e, overlayRef: n } = t;
555
- ee(() => {
555
+ te(() => {
556
556
  const i = n.value;
557
557
  i && (e == null || e.add(i));
558
558
  }), le(() => {
@@ -561,7 +561,7 @@ const Io = j(function(e) {
561
561
  });
562
562
  }, yt = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
563
563
  var Lo = typeof WeakMap == "function", jt = Object.keys;
564
- function ve(t, e) {
564
+ function Ae(t, e) {
565
565
  return t === e || t !== t && e !== e;
566
566
  }
567
567
  function At(t) {
@@ -603,19 +603,19 @@ var No = function(t) {
603
603
  return /* @__PURE__ */ new WeakMap();
604
604
  } : So;
605
605
  }(Lo);
606
- function mn(t) {
606
+ function Mn(t) {
607
607
  return function(n) {
608
608
  var i = t || n;
609
- return function(o, r, s, c, d, M, u) {
609
+ return function(o, r, s, c, d, m, u) {
610
610
  u === void 0 && (u = No());
611
- var l = !!o && typeof o == "object", g = !!r && typeof r == "object";
612
- if (l !== g)
611
+ var l = !!o && typeof o == "object", f = !!r && typeof r == "object";
612
+ if (l !== f)
613
613
  return !1;
614
- if (!l && !g)
614
+ if (!l && !f)
615
615
  return i(o, r, u);
616
- var m = u.get(o);
617
- if (m && u.get(r))
618
- return m === r;
616
+ var M = u.get(o);
617
+ if (M && u.get(r))
618
+ return M === r;
619
619
  u.set(o, r), u.set(r, o);
620
620
  var I = i(o, r, u);
621
621
  return u.delete(o), u.delete(r), I;
@@ -637,9 +637,9 @@ function Do(t, e, n, i) {
637
637
  var o = {}, r = 0;
638
638
  t.forEach(function(s, c) {
639
639
  if (a) {
640
- var d = !1, M = 0;
640
+ var d = !1, m = 0;
641
641
  e.forEach(function(u, l) {
642
- !d && !o[M] && (d = n(c, l, r, M, t, e, i) && n(s, u, c, l, t, e, i), d && (o[M] = !0)), M++;
642
+ !d && !o[m] && (d = n(c, l, r, m, t, e, i) && n(s, u, c, l, t, e, i), d && (o[m] = !0)), m++;
643
643
  }), r++, a = d;
644
644
  }
645
645
  });
@@ -677,8 +677,8 @@ function Po(t, e, n, i) {
677
677
  t.forEach(function(r, s) {
678
678
  if (a) {
679
679
  var c = !1, d = 0;
680
- e.forEach(function(M, u) {
681
- !c && !o[d] && (c = n(r, M, s, u, t, e, i), c && (o[d] = !0)), d++;
680
+ e.forEach(function(m, u) {
681
+ !c && !o[d] && (c = n(r, m, s, u, t, e, i), c && (o[d] = !0)), d++;
682
682
  }), a = c;
683
683
  }
684
684
  });
@@ -686,7 +686,7 @@ function Po(t, e, n, i) {
686
686
  return a;
687
687
  }
688
688
  var bo = typeof Map == "function", Eo = typeof Set == "function", ht = Object.prototype.valueOf;
689
- function Me(t) {
689
+ function me(t) {
690
690
  var e = (
691
691
  /* eslint-disable no-use-before-define */
692
692
  typeof t == "function" ? t(n) : function(i, a, o, r, s, c, d) {
@@ -700,22 +700,22 @@ function Me(t) {
700
700
  if (At(i) && At(a))
701
701
  return Nt(i, a, e, o);
702
702
  var r = Array.isArray(i), s = Array.isArray(a);
703
- return r || s ? r === s && ho(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && ve(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && xo(i, a) : Lt(i) || Lt(a) ? i === a : bo && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Do(i, a, e, o) : Eo && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Po(i, a, e, o) : i.valueOf !== ht || a.valueOf !== ht ? ve(i.valueOf(), a.valueOf()) : Nt(i, a, e, o)));
703
+ return r || s ? r === s && ho(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && Ae(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && xo(i, a) : Lt(i) || Lt(a) ? i === a : bo && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Do(i, a, e, o) : Eo && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Po(i, a, e, o) : i.valueOf !== ht || a.valueOf !== ht ? Ae(i.valueOf(), a.valueOf()) : Nt(i, a, e, o)));
704
704
  }
705
705
  return i !== i && a !== a;
706
706
  }
707
707
  return n;
708
708
  }
709
- Me();
710
- Me(function() {
711
- return ve;
709
+ me();
710
+ me(function() {
711
+ return Ae;
712
712
  });
713
- Me(mn());
714
- Me(mn(ve));
713
+ me(Mn());
714
+ me(Mn(Ae));
715
715
  const R = ([t, e]) => ({
716
716
  lng: t,
717
717
  lat: e
718
- }), De = (t) => {
718
+ }), xe = (t) => {
719
719
  const e = [], n = t.split("*");
720
720
  for (const [i, a] of n.entries())
721
721
  a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
@@ -727,7 +727,7 @@ const R = ([t, e]) => ({
727
727
  case "zh":
728
728
  return "style_zh_cn";
729
729
  }
730
- }, C = (t) => [t.lng, t.lat], ye = (t) => (...e) => {
730
+ }, C = (t) => [t.lng, t.lat], Le = (t) => (...e) => {
731
731
  Promise.resolve().then(() => t == null ? void 0 : t(...e));
732
732
  }, ze = (t) => (...e) => {
733
733
  setTimeout(() => t == null ? void 0 : t(...e), 1e3);
@@ -740,14 +740,14 @@ const R = ([t, e]) => ({
740
740
  const i = e.findIndex((a) => a.types[0] === "country");
741
741
  if (i > 0)
742
742
  return e[i - 1].long_name;
743
- }, Ro = (t, e) => t.lng === (e == null ? void 0 : e.lng) && t.lat === (e == null ? void 0 : e.lat), vn = (t, e) => t[0] === (e == null ? void 0 : e[0]) && t[1] === (e == null ? void 0 : e[1]), yn = Me((t) => (e, n) => yt(e) || yt(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
743
+ }, Ro = (t, e) => t.lng === (e == null ? void 0 : e.lng) && t.lat === (e == null ? void 0 : e.lat), vn = (t, e) => t[0] === (e == null ? void 0 : e[0]) && t[1] === (e == null ? void 0 : e[1]), yn = me((t) => (e, n) => yt(e) || yt(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
744
744
  function Xe() {
745
745
  let t;
746
746
  return function(n) {
747
747
  return yn(n, t) || (t = n), t;
748
748
  };
749
749
  }
750
- function me(t, e, n) {
750
+ function Me(t, e, n) {
751
751
  const i = Xe();
752
752
  return T(() => i(t()), e, {
753
753
  immediate: !1,
@@ -755,7 +755,7 @@ function me(t, e, n) {
755
755
  ...n
756
756
  });
757
757
  }
758
- function te(t, e, n) {
758
+ function ne(t, e, n) {
759
759
  const i = Xe();
760
760
  return T(() => i(t()), e, {
761
761
  immediate: !0,
@@ -783,8 +783,8 @@ function Oo(t, e, n, i) {
783
783
  const s = t.value;
784
784
  if (s)
785
785
  for (const [c, d] of o.entries()) {
786
- const { name: M, defaultValue: u } = n[c], l = r[c];
787
- yn(d, l) || s[Zo(M)](d != null ? d : u);
786
+ const { name: m, defaultValue: u } = n[c], l = r[c];
787
+ yn(d, l) || s[Zo(m)](d != null ? d : u);
788
788
  }
789
789
  },
790
790
  {
@@ -801,14 +801,14 @@ function _e(t, e, n, i) {
801
801
  });
802
802
  }
803
803
  function q(t, e, n, i) {
804
- Y((a) => {
804
+ H((a) => {
805
805
  const o = t == null ? void 0 : t.value;
806
806
  if (!o)
807
807
  return;
808
808
  const r = [];
809
809
  for (const s of i) {
810
- const c = In(s), d = pn(s), M = (u) => n(c, u);
811
- o.on(d, M), r.push(() => o == null ? void 0 : o.off(d, M));
810
+ const c = In(s), d = pn(s), m = (u) => n(c, u);
811
+ o.on(d, m), r.push(() => o == null ? void 0 : o.off(d, m));
812
812
  }
813
813
  a(() => {
814
814
  for (const s of r)
@@ -817,13 +817,13 @@ function q(t, e, n, i) {
817
817
  });
818
818
  }
819
819
  function F(t, e, n, i) {
820
- Y((a) => {
820
+ H((a) => {
821
821
  const o = t == null ? void 0 : t.value;
822
822
  if (!o)
823
823
  return;
824
824
  const r = [];
825
825
  for (const s of i) {
826
- const c = In(s), d = pn(s), M = (l) => n(c, l), u = o.addListener(d, M);
826
+ const c = In(s), d = pn(s), m = (l) => n(c, l), u = o.addListener(d, m);
827
827
  r.push(() => google.maps.event.removeListener(u));
828
828
  }
829
829
  a(() => {
@@ -832,14 +832,14 @@ function F(t, e, n, i) {
832
832
  });
833
833
  });
834
834
  }
835
- const B = j(function(e, { emit: n }) {
835
+ const V = j(function(e, { emit: n }) {
836
836
  const { registerOverlay: i } = e, a = z(), o = ge();
837
- return ee(() => {
837
+ return te(() => {
838
838
  a.value = new AMap.Marker({ ...e });
839
839
  }), le(() => {
840
840
  var r;
841
841
  (r = a.value) == null || r.setMap(null);
842
- }), Mn({ registerOverlay: i, overlayRef: a }), Y(() => {
842
+ }), mn({ registerOverlay: i, overlayRef: a }), H(() => {
843
843
  var s;
844
844
  const r = o == null ? void 0 : o.value;
845
845
  r && ((s = a.value) == null || s.setMap(r));
@@ -858,17 +858,17 @@ const B = j(function(e, { emit: n }) {
858
858
  { name: "title", defaultValue: "" },
859
859
  { name: "extData", defaultValue: "" }
860
860
  ]), q(a, e, n, ["onClick"]), () => null;
861
- }), V = j(function(e, { emit: n }) {
861
+ }), Y = j(function(e, { emit: n }) {
862
862
  const { registerOverlay: i } = e, a = z(), o = fe(), r = (s) => n(s, { target: a.value });
863
- return Mn({ registerOverlay: i, overlayRef: a }), ee(() => {
863
+ return mn({ registerOverlay: i, overlayRef: a }), te(() => {
864
864
  const { registerOverlay: s, ...c } = e;
865
865
  a.value = new google.maps.marker.AdvancedMarkerView({ ...c }), a.value.addListener;
866
866
  }), le(() => {
867
867
  a.value && (a.value.map = null);
868
- }), Y(() => {
868
+ }), H(() => {
869
869
  const s = o == null ? void 0 : o.value;
870
870
  !s || !a.value || (a.value.map = s);
871
- }), me(
871
+ }), Me(
872
872
  () => {
873
873
  const { content: s, registerOverlay: c, ...d } = e;
874
874
  return d;
@@ -885,16 +885,16 @@ const B = j(function(e, { emit: n }) {
885
885
  flush: "post"
886
886
  }
887
887
  ), F(a, e, r, ["onClick"]), () => null;
888
- }), Z = (t, e, n) => {
888
+ }), O = (t, e, n) => {
889
889
  const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
890
890
  return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
891
891
  };
892
892
  var jn = "rgf09w0";
893
893
  const An = j(function(e) {
894
- const n = h(() => `
894
+ const n = D(() => `
895
895
  <img src="${Je}" class="${jn}">
896
896
  `);
897
- return () => f(B, {
897
+ return () => g(V, {
898
898
  attrs: {
899
899
  position: e.position,
900
900
  content: n.value,
@@ -902,11 +902,11 @@ const An = j(function(e) {
902
902
  }
903
903
  });
904
904
  }), Ln = j(function(e) {
905
- const n = h(() => Z("img", {
905
+ const n = D(() => O("img", {
906
906
  class: jn,
907
907
  src: Je
908
908
  }));
909
- return () => f(V, {
909
+ return () => g(Y, {
910
910
  attrs: {
911
911
  position: R(e.position),
912
912
  content: n.value
@@ -921,7 +921,7 @@ j(function(e) {
921
921
  });
922
922
  var Sn = "_15rq2xn1", Nn = "_15rq2xn0", hn = "_15rq2xn3", Dn = "_15rq2xn2", wn = "_15rq2xn4", Cn = "_15rq2xn6", xn = "_15rq2xn5";
923
923
  const Go = j(function(e) {
924
- const n = h(() => {
924
+ const n = D(() => {
925
925
  var i;
926
926
  return `
927
927
  <div class="${Nn}">
@@ -933,15 +933,15 @@ const Go = j(function(e) {
933
933
  <img class="${wn}" src="${Qe}" >
934
934
  </div>
935
935
  <div class="${xn}"></div>
936
- <img src="${U}" class="${Cn}">
936
+ <img src="${B}" class="${Cn}">
937
937
  </div>
938
938
  `;
939
939
  });
940
- return () => e.type === "locator" ? f(An, {
940
+ return () => e.type === "locator" ? g(An, {
941
941
  attrs: {
942
942
  position: e.position
943
943
  }
944
- }) : f(B, {
944
+ }) : g(V, {
945
945
  attrs: {
946
946
  position: e.position,
947
947
  content: n.value,
@@ -949,9 +949,9 @@ const Go = j(function(e) {
949
949
  }
950
950
  });
951
951
  }), ko = j(function(e) {
952
- const n = h(() => {
952
+ const n = D(() => {
953
953
  var i;
954
- return Z("div", {
954
+ return O("div", {
955
955
  class: Nn
956
956
  }, `
957
957
  <div class="${Sn}">
@@ -962,20 +962,20 @@ const Go = j(function(e) {
962
962
  <img class="${wn}" src="${Qe}" >
963
963
  </div>
964
964
  <div class="${xn}"></div>
965
- <img src="${U}" class="${Cn}">
965
+ <img src="${B}" class="${Cn}">
966
966
  `);
967
967
  });
968
- return () => e.type === "locator" ? f(Ln, {
968
+ return () => e.type === "locator" ? g(Ln, {
969
969
  attrs: {
970
970
  position: e.position
971
971
  }
972
- }) : f(V, {
972
+ }) : g(Y, {
973
973
  attrs: {
974
974
  position: R(e.position),
975
975
  content: n.value
976
976
  }
977
977
  });
978
- }), Is = j(function(e) {
978
+ }), js = j(function(e) {
979
979
  const n = N();
980
980
  return () => G(n.supplier === "gmap" ? ko : Go, {
981
981
  attrs: e
@@ -998,23 +998,23 @@ var Ue = {}, Wo = {
998
998
  return u.AMapUI && l.push(i(u.AMapUI)), u.Loca && l.push(a(u.Loca)), Promise.all(l);
999
999
  }
1000
1000
  function i(u) {
1001
- return new Promise(function(l, g) {
1002
- var m = [];
1001
+ return new Promise(function(l, f) {
1002
+ var M = [];
1003
1003
  if (u.plugins)
1004
1004
  for (var I = 0; I < u.plugins.length; I += 1)
1005
- r.AMapUI.plugins.indexOf(u.plugins[I]) == -1 && m.push(u.plugins[I]);
1005
+ r.AMapUI.plugins.indexOf(u.plugins[I]) == -1 && M.push(u.plugins[I]);
1006
1006
  if (s.AMapUI === o.failed)
1007
- g("前次请求 AMapUI 失败");
1007
+ f("前次请求 AMapUI 失败");
1008
1008
  else if (s.AMapUI === o.notload) {
1009
1009
  s.AMapUI = o.loading, r.AMapUI.version = u.version || r.AMapUI.version, I = r.AMapUI.version;
1010
1010
  var p = document.body || document.head, y = document.createElement("script");
1011
1011
  y.type = "text/javascript", y.src = "https://webapi.amap.com/ui/" + I + "/main.js", y.onerror = function(v) {
1012
- s.AMapUI = o.failed, g("请求 AMapUI 失败");
1012
+ s.AMapUI = o.failed, f("请求 AMapUI 失败");
1013
1013
  }, y.onload = function() {
1014
- if (s.AMapUI = o.loaded, m.length)
1015
- window.AMapUI.loadUI(m, function() {
1016
- for (var v = 0, L = m.length; v < L; v++) {
1017
- var A = m[v].split("/").slice(-1)[0];
1014
+ if (s.AMapUI = o.loaded, M.length)
1015
+ window.AMapUI.loadUI(M, function() {
1016
+ for (var v = 0, L = M.length; v < L; v++) {
1017
+ var A = M[v].split("/").slice(-1)[0];
1018
1018
  window.AMapUI[A] = arguments[v];
1019
1019
  }
1020
1020
  for (l(); c.AMapUI.length; )
@@ -1025,16 +1025,16 @@ var Ue = {}, Wo = {
1025
1025
  c.AMapUI.splice(0, 1)[0]();
1026
1026
  }, p.appendChild(y);
1027
1027
  } else
1028
- s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? g("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
1029
- for (var v = 0, L = m.length; v < L; v++) {
1030
- var A = m[v].split("/").slice(-1)[0];
1028
+ s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? f("不允许多个版本 AMapUI 混用") : M.length ? window.AMapUI.loadUI(M, function() {
1029
+ for (var v = 0, L = M.length; v < L; v++) {
1030
+ var A = M[v].split("/").slice(-1)[0];
1031
1031
  window.AMapUI[A] = arguments[v];
1032
1032
  }
1033
1033
  l();
1034
- }) : l() : u.version && u.version !== r.AMapUI.version ? g("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(v) {
1035
- v ? g(v) : m.length ? window.AMapUI.loadUI(m, function() {
1036
- for (var L = 0, A = m.length; L < A; L++) {
1037
- var x = m[L].split("/").slice(-1)[0];
1034
+ }) : l() : u.version && u.version !== r.AMapUI.version ? f("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(v) {
1035
+ v ? f(v) : M.length ? window.AMapUI.loadUI(M, function() {
1036
+ for (var L = 0, A = M.length; L < A; L++) {
1037
+ var x = M[L].split("/").slice(-1)[0];
1038
1038
  window.AMapUI[x] = arguments[L];
1039
1039
  }
1040
1040
  l();
@@ -1043,27 +1043,27 @@ var Ue = {}, Wo = {
1043
1043
  });
1044
1044
  }
1045
1045
  function a(u) {
1046
- return new Promise(function(l, g) {
1046
+ return new Promise(function(l, f) {
1047
1047
  if (s.Loca === o.failed)
1048
- g("前次请求 Loca 失败");
1048
+ f("前次请求 Loca 失败");
1049
1049
  else if (s.Loca === o.notload) {
1050
1050
  s.Loca = o.loading, r.Loca.version = u.version || r.Loca.version;
1051
- var m = r.Loca.version, I = r.AMap.version.startsWith("2"), p = m.startsWith("2");
1051
+ var M = r.Loca.version, I = r.AMap.version.startsWith("2"), p = M.startsWith("2");
1052
1052
  if (I && !p || !I && p)
1053
- g("JSAPI 与 Loca 版本不对应!!");
1053
+ f("JSAPI 与 Loca 版本不对应!!");
1054
1054
  else {
1055
1055
  I = r.key, p = document.body || document.head;
1056
1056
  var y = document.createElement("script");
1057
- y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + I, y.onerror = function(v) {
1058
- s.Loca = o.failed, g("请求 AMapUI 失败");
1057
+ y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + M + "&key=" + I, y.onerror = function(v) {
1058
+ s.Loca = o.failed, f("请求 AMapUI 失败");
1059
1059
  }, y.onload = function() {
1060
1060
  for (s.Loca = o.loaded, l(); c.Loca.length; )
1061
1061
  c.Loca.splice(0, 1)[0]();
1062
1062
  }, p.appendChild(y);
1063
1063
  }
1064
1064
  } else
1065
- s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? g("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? g("不允许多个版本 Loca 混用") : c.Loca.push(function(v) {
1066
- v ? g(v) : g();
1065
+ s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? f("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? f("不允许多个版本 Loca 混用") : c.Loca.push(function(v) {
1066
+ v ? f(v) : f();
1067
1067
  });
1068
1068
  });
1069
1069
  }
@@ -1073,60 +1073,60 @@ var Ue = {}, Wo = {
1073
1073
  (function(u) {
1074
1074
  u.notload = "notload", u.loading = "loading", u.loaded = "loaded", u.failed = "failed";
1075
1075
  })(o || (o = {}));
1076
- 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 }, c = { AMap: [], AMapUI: [], Loca: [] }, d = [], M = function(u) {
1076
+ 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 }, c = { AMap: [], AMapUI: [], Loca: [] }, d = [], m = function(u) {
1077
1077
  typeof u == "function" && (s.AMap === o.loaded ? u(window.AMap) : d.push(u));
1078
1078
  };
1079
1079
  return { load: function(u) {
1080
- return new Promise(function(l, g) {
1080
+ return new Promise(function(l, f) {
1081
1081
  if (s.AMap == o.failed)
1082
- g("");
1082
+ f("");
1083
1083
  else if (s.AMap == o.notload) {
1084
- var m = u.key, I = u.version, p = u.plugins;
1085
- m ? (window.AMap && location.host !== "lbs.amap.com" && g("禁止多种API加载方式混用"), r.key = m, r.AMap.version = I || r.AMap.version, r.AMap.plugins = p || r.AMap.plugins, s.AMap = o.loading, I = document.body || document.head, window.___onAPILoaded = function(v) {
1084
+ var M = u.key, I = u.version, p = u.plugins;
1085
+ M ? (window.AMap && location.host !== "lbs.amap.com" && f("禁止多种API加载方式混用"), r.key = M, r.AMap.version = I || r.AMap.version, r.AMap.plugins = p || r.AMap.plugins, s.AMap = o.loading, I = document.body || document.head, window.___onAPILoaded = function(v) {
1086
1086
  if (delete window.___onAPILoaded, v)
1087
- s.AMap = o.failed, g(v);
1087
+ s.AMap = o.failed, f(v);
1088
1088
  else
1089
1089
  for (s.AMap = o.loaded, n(u).then(function() {
1090
1090
  l(window.AMap);
1091
- }).catch(g); d.length; )
1091
+ }).catch(f); d.length; )
1092
1092
  d.splice(0, 1)[0]();
1093
- }, p = document.createElement("script"), p.type = "text/javascript", p.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), p.onerror = function(v) {
1094
- s.AMap = o.failed, g(v);
1095
- }, I.appendChild(p)) : g("请填写key");
1093
+ }, p = document.createElement("script"), p.type = "text/javascript", p.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + M + "&plugin=" + r.AMap.plugins.join(","), p.onerror = function(v) {
1094
+ s.AMap = o.failed, f(v);
1095
+ }, I.appendChild(p)) : f("请填写key");
1096
1096
  } else if (s.AMap == o.loaded)
1097
1097
  if (u.key && u.key !== r.key)
1098
- g("多个不一致的 key");
1098
+ f("多个不一致的 key");
1099
1099
  else if (u.version && u.version !== r.AMap.version)
1100
- g("不允许多个版本 JSAPI 混用");
1100
+ f("不允许多个版本 JSAPI 混用");
1101
1101
  else {
1102
- if (m = [], u.plugins)
1102
+ if (M = [], u.plugins)
1103
1103
  for (I = 0; I < u.plugins.length; I += 1)
1104
- r.AMap.plugins.indexOf(u.plugins[I]) == -1 && m.push(u.plugins[I]);
1105
- m.length ? window.AMap.plugin(m, function() {
1104
+ r.AMap.plugins.indexOf(u.plugins[I]) == -1 && M.push(u.plugins[I]);
1105
+ M.length ? window.AMap.plugin(M, function() {
1106
1106
  n(u).then(function() {
1107
1107
  l(window.AMap);
1108
- }).catch(g);
1108
+ }).catch(f);
1109
1109
  }) : n(u).then(function() {
1110
1110
  l(window.AMap);
1111
- }).catch(g);
1111
+ }).catch(f);
1112
1112
  }
1113
1113
  else if (u.key && u.key !== r.key)
1114
- g("多个不一致的 key");
1114
+ f("多个不一致的 key");
1115
1115
  else if (u.version && u.version !== r.AMap.version)
1116
- g("不允许多个版本 JSAPI 混用");
1116
+ f("不允许多个版本 JSAPI 混用");
1117
1117
  else {
1118
1118
  var y = [];
1119
1119
  if (u.plugins)
1120
1120
  for (I = 0; I < u.plugins.length; I += 1)
1121
1121
  r.AMap.plugins.indexOf(u.plugins[I]) == -1 && y.push(u.plugins[I]);
1122
- M(function() {
1122
+ m(function() {
1123
1123
  y.length ? window.AMap.plugin(y, function() {
1124
1124
  n(u).then(function() {
1125
1125
  l(window.AMap);
1126
- }).catch(g);
1126
+ }).catch(f);
1127
1127
  }) : n(u).then(function() {
1128
1128
  l(window.AMap);
1129
- }).catch(g);
1129
+ }).catch(f);
1130
1130
  });
1131
1131
  }
1132
1132
  });
@@ -1189,8 +1189,8 @@ class Q {
1189
1189
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1190
1190
  * ```
1191
1191
  */
1192
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = wt, language: r, libraries: s = [], mapIds: c, nonce: d, region: M, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: g }) {
1193
- if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || wt, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = d, this.region = M, this.retries = u, this.url = l, this.version = g, Q.instance) {
1192
+ constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = wt, language: r, libraries: s = [], mapIds: c, nonce: d, region: m, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: f }) {
1193
+ if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || wt, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = d, this.region = m, this.retries = u, this.url = l, this.version = f, Q.instance) {
1194
1194
  if (!Uo(this.options, Q.instance.options))
1195
1195
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Q.instance.options)}`);
1196
1196
  return Q.instance;
@@ -1312,7 +1312,7 @@ const Bo = [
1312
1312
  "AMap.Driving",
1313
1313
  "AMap.Walking"
1314
1314
  ], Vo = ["marker", "places", "geometry"];
1315
- var ce = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(ce || {});
1315
+ var ue = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(ue || {});
1316
1316
  const Yo = (t) => {
1317
1317
  const { onChange: e } = t;
1318
1318
  let n, i;
@@ -1321,11 +1321,11 @@ const Yo = (t) => {
1321
1321
  }), o = z(
1322
1322
  "LOADING"
1323
1323
  /* LOADING */
1324
- ), r = h(() => {
1325
- const { onChange: s, loading: c, fallback: d, apiKey: M, apiSecret: u, apiServiceHost: l, version: g, ...m } = t;
1326
- return { ...m, key: M, version: g != null ? g : "2.0.5.16" };
1324
+ ), r = D(() => {
1325
+ const { onChange: s, loading: c, fallback: d, apiKey: m, apiSecret: u, apiServiceHost: l, version: f, ...M } = t;
1326
+ return { ...M, key: m, version: f != null ? f : "2.0.5.16" };
1327
1327
  });
1328
- return te(
1328
+ return ne(
1329
1329
  () => r.value,
1330
1330
  (s) => {
1331
1331
  const c = (d) => {
@@ -1356,15 +1356,15 @@ const Yo = (t) => {
1356
1356
  }), o = z(
1357
1357
  "LOADING"
1358
1358
  /* LOADING */
1359
- ), r = h(() => {
1360
- const { onChange: s, fallback: c, loading: d, ...M } = t;
1361
- return M;
1359
+ ), r = D(() => {
1360
+ const { onChange: s, fallback: c, loading: d, ...m } = t;
1361
+ return m;
1362
1362
  });
1363
- return te(
1363
+ return ne(
1364
1364
  () => r.value,
1365
1365
  (s) => {
1366
- const c = new Q(s), d = (M) => {
1367
- o.value = M, M === "SUCCESS" && n(), M === "FAILURE" && i(), e == null || e(o.value);
1366
+ const c = new Q(s), d = (m) => {
1367
+ o.value = m, m === "SUCCESS" && n(), m === "FAILURE" && i(), e == null || e(o.value);
1368
1368
  };
1369
1369
  d(
1370
1370
  "LOADING"
@@ -1406,7 +1406,7 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1406
1406
  mapRef: s,
1407
1407
  vectorMapForeign: c = "style_zh_cn",
1408
1408
  ...d
1409
- } = e, M = h(() => ({
1409
+ } = e, m = D(() => ({
1410
1410
  dragEnable: !!e.dragEnable,
1411
1411
  zoomEnable: !!e.zoomEnable,
1412
1412
  jogEnable: !!e.jogEnable,
@@ -1415,20 +1415,20 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1415
1415
  animateEnable: !!e.animateEnable,
1416
1416
  keyboardEnable: !!e.keyboardEnable
1417
1417
  })), u = z(), l = z();
1418
- return yo(l), Y(() => {
1418
+ return yo(l), H(() => {
1419
1419
  if (l.value || !u.value)
1420
1420
  return;
1421
- const g = new AMap.Map(u.value, {
1421
+ const f = new AMap.Map(u.value, {
1422
1422
  ...d,
1423
1423
  vectorMapForeign: c,
1424
1424
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1425
1425
  });
1426
- l.value = g, s == null || s(g);
1427
- }), me(
1428
- () => M.value,
1429
- (g) => {
1430
- var m;
1431
- (m = l.value) == null || m.setStatus(g);
1426
+ l.value = f, s == null || s(f);
1427
+ }), Me(
1428
+ () => m.value,
1429
+ (f) => {
1430
+ var M;
1431
+ (M = l.value) == null || M.setStatus(f);
1432
1432
  }
1433
1433
  ), _e(l, e, [
1434
1434
  { name: "center", defaultValue: [0, 0] },
@@ -1444,35 +1444,35 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1444
1444
  { name: "mask", defaultValue: [] },
1445
1445
  { name: "labelRejectMask", defaultValue: !1 }
1446
1446
  ]), q(l, e, i, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1447
- var g;
1448
- return f("div", { ref: u, class: Qo }, (g = n.default) == null ? void 0 : g.call(n));
1447
+ var f;
1448
+ return g("div", { ref: u, class: Qo }, (f = n.default) == null ? void 0 : f.call(n));
1449
1449
  };
1450
1450
  });
1451
- let Ie = "user";
1452
- const $o = () => Ie, Pn = () => ({ executeMapApi: (e) => {
1453
- Ie = "api";
1451
+ let ye = "user";
1452
+ const $o = () => ye, Pn = () => ({ executeMapApi: (e) => {
1453
+ ye = "api";
1454
1454
  try {
1455
1455
  e(), setTimeout(() => {
1456
- Ie = "user";
1456
+ ye = "user";
1457
1457
  }, 100);
1458
1458
  } catch (n) {
1459
- throw Ie = "user", n;
1459
+ throw ye = "user", n;
1460
1460
  }
1461
1461
  } });
1462
1462
  var Xo = "_7anfuo0";
1463
1463
  const _o = j(function(e, { slots: n, emit: i }) {
1464
- const a = e.mapRef, o = h(() => {
1465
- const { mapRef: u, onDragStart: l, onDragEnd: g, onZoom_change: m, ...I } = e;
1464
+ const a = e.mapRef, o = D(() => {
1465
+ const { mapRef: u, onDragStart: l, onDragEnd: f, onZoom_change: M, ...I } = e;
1466
1466
  return I;
1467
- }), r = o.value, s = z(), c = z(), { executeMapApi: d } = Pn(), M = (u) => i(u, { target: c.value });
1468
- return jo(c), Y(() => {
1467
+ }), r = o.value, s = z(), c = z(), { executeMapApi: d } = Pn(), m = (u) => i(u, { target: c.value });
1468
+ return jo(c), H(() => {
1469
1469
  if (c.value || !s.value)
1470
1470
  return;
1471
1471
  let u;
1472
1472
  d(() => {
1473
1473
  u = new google.maps.Map(s.value, { ...r });
1474
1474
  }), c.value = u, a == null || a(u);
1475
- }), me(
1475
+ }), Me(
1476
1476
  () => o.value,
1477
1477
  (u) => {
1478
1478
  d(() => {
@@ -1480,15 +1480,15 @@ const _o = j(function(e, { slots: n, emit: i }) {
1480
1480
  return (l = c.value) == null ? void 0 : l.setOptions({ ...u });
1481
1481
  });
1482
1482
  }
1483
- ), F(c, e, M, [
1483
+ ), F(c, e, m, [
1484
1484
  "onDragStart",
1485
1485
  "onDragEnd",
1486
1486
  "onZoom_change"
1487
1487
  ]), () => {
1488
1488
  var u;
1489
- return f("div", { ref: s, class: Xo }, (u = n.default) == null ? void 0 : u.call(n));
1489
+ return g("div", { ref: s, class: Xo }, (u = n.default) == null ? void 0 : u.call(n));
1490
1490
  };
1491
- }), ps = de(function(e, {
1491
+ }), As = de(function(e, {
1492
1492
  slots: n
1493
1493
  }) {
1494
1494
  const {
@@ -1501,9 +1501,9 @@ const _o = j(function(e, { slots: n, emit: i }) {
1501
1501
  });
1502
1502
  return vo(o), () => {
1503
1503
  var r;
1504
- return f("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1504
+ return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1505
1505
  };
1506
- }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), we = de(function(e, {
1506
+ }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), Pe = de(function(e, {
1507
1507
  slots: n,
1508
1508
  emit: i
1509
1509
  }) {
@@ -1530,54 +1530,54 @@ const _o = j(function(e, { slots: n, emit: i }) {
1530
1530
  supplier: s,
1531
1531
  gmapId: c,
1532
1532
  language: d = "zh",
1533
- status: M
1533
+ status: m
1534
1534
  } = a, {
1535
1535
  mapRef: u,
1536
1536
  center: l,
1537
- zoom: g,
1538
- touchEnable: m = !0
1537
+ zoom: f,
1538
+ touchEnable: M = !0
1539
1539
  } = e;
1540
- if (M === ce.LOADING)
1540
+ if (m === ue.LOADING)
1541
1541
  return (p = n.loading) == null ? void 0 : p.call(n);
1542
- if (M === ce.FAILURE)
1542
+ if (m === ue.FAILURE)
1543
1543
  return (y = n.fallback) == null ? void 0 : y.call(n);
1544
1544
  const I = (v = n.default) == null ? void 0 : v.call(n);
1545
1545
  switch (s) {
1546
1546
  case "gmap":
1547
- return f(_o, {
1547
+ return g(_o, {
1548
1548
  attrs: {
1549
1549
  mapRef: u,
1550
1550
  mapId: c,
1551
1551
  center: l ? R(l) : void 0,
1552
- zoom: g,
1553
- disableDefaultUI: m,
1554
- disableDoubleClickZoom: m,
1555
- gestureHandling: m ? "auto" : "none",
1556
- keyboardShortcuts: m,
1557
- rotateControl: m,
1558
- zoomControl: m,
1559
- scaleControl: m,
1560
- panControl: m
1552
+ zoom: f,
1553
+ disableDefaultUI: M,
1554
+ disableDoubleClickZoom: M,
1555
+ gestureHandling: M ? "auto" : "none",
1556
+ keyboardShortcuts: M,
1557
+ rotateControl: M,
1558
+ zoomControl: M,
1559
+ scaleControl: M,
1560
+ panControl: M
1561
1561
  },
1562
1562
  on: {
1563
1563
  dragEnd: o
1564
1564
  }
1565
1565
  }, [I]);
1566
1566
  default:
1567
- return f(Fo, {
1567
+ return g(Fo, {
1568
1568
  attrs: {
1569
1569
  mapRef: u,
1570
1570
  vectorMapForeign: To(d),
1571
1571
  center: l,
1572
- zoom: g,
1573
- dragEnable: m,
1574
- zoomEnable: m,
1575
- rotateEnable: m,
1576
- doubleClickZoom: m,
1577
- scrollWheel: m,
1578
- touchZoom: m,
1579
- keyboardEnable: m,
1580
- pitchEnable: m
1572
+ zoom: f,
1573
+ dragEnable: M,
1574
+ zoomEnable: M,
1575
+ rotateEnable: M,
1576
+ doubleClickZoom: M,
1577
+ scrollWheel: M,
1578
+ touchZoom: M,
1579
+ keyboardEnable: M,
1580
+ pitchEnable: M
1581
1581
  },
1582
1582
  on: {
1583
1583
  dragEnd: r
@@ -1585,14 +1585,14 @@ const _o = j(function(e, { slots: n, emit: i }) {
1585
1585
  }, [I]);
1586
1586
  }
1587
1587
  };
1588
- }).props(["center", "fallback", "loading", "mapRef", "zoom", "touchEnable"]), re = j(function(e) {
1588
+ }).props(["center", "fallback", "loading", "mapRef", "zoom", "touchEnable"]), se = j(function(e) {
1589
1589
  const n = z(), i = ge();
1590
- return ee(() => {
1590
+ return te(() => {
1591
1591
  n.value = new AMap.Polyline({ ...e });
1592
1592
  }), le(() => {
1593
1593
  var a;
1594
1594
  (a = n.value) == null || a.setMap(null);
1595
- }), Y(() => {
1595
+ }), H(() => {
1596
1596
  var o;
1597
1597
  const a = i == null ? void 0 : i.value;
1598
1598
  a && ((o = n.value) == null || o.setMap(a));
@@ -1600,7 +1600,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1600
1600
  { name: "path", defaultValue: [[0, 0]] },
1601
1601
  { name: "extData", defaultValue: void 0 },
1602
1602
  { name: "draggable", defaultValue: !1 }
1603
- ]), me(
1603
+ ]), Me(
1604
1604
  () => {
1605
1605
  const { path: a, extData: o, draggable: r, ...s } = e;
1606
1606
  return s;
@@ -1610,18 +1610,18 @@ const _o = j(function(e, { slots: n, emit: i }) {
1610
1610
  (o = n.value) == null || o.setOptions({ ...a });
1611
1611
  }
1612
1612
  ), () => null;
1613
- }), pe = j(function(e) {
1613
+ }), je = j(function(e) {
1614
1614
  const n = z(), i = fe();
1615
- return ee(() => {
1615
+ return te(() => {
1616
1616
  n.value = new google.maps.Polyline({ ...e });
1617
1617
  }), le(() => {
1618
1618
  var a;
1619
1619
  (a = n.value) == null || a.setMap(null);
1620
- }), Y(() => {
1620
+ }), H(() => {
1621
1621
  var o;
1622
1622
  const a = i == null ? void 0 : i.value;
1623
1623
  a && ((o = n.value) == null || o.setMap(a));
1624
- }), me(
1624
+ }), Me(
1625
1625
  () => ({ ...e }),
1626
1626
  (a) => {
1627
1627
  var o;
@@ -1630,8 +1630,8 @@ const _o = j(function(e, { slots: n, emit: i }) {
1630
1630
  ), () => null;
1631
1631
  }), Ko = j(function(e) {
1632
1632
  return () => {
1633
- const n = window.innerWidth * 0.01, i = 1 * n, a = 0.13 * n, o = 0.24 * n, r = 0.4 * n, s = 0.3 * n, c = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", M = e.done ? "#7693AF" : "#6C95F5";
1634
- return f("div", [f(re, {
1633
+ const n = window.innerWidth * 0.01, i = 1 * n, a = 0.13 * n, o = 0.24 * n, r = 0.4 * n, s = 0.3 * n, c = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", m = e.done ? "#7693AF" : "#6C95F5";
1634
+ return g("div", [g(se, {
1635
1635
  attrs: {
1636
1636
  path: e.path,
1637
1637
  strokeWeight: i + 2 * a + 2 * r,
@@ -1640,18 +1640,18 @@ const _o = j(function(e, { slots: n, emit: i }) {
1640
1640
  lineJoin: "round",
1641
1641
  lineCap: "round"
1642
1642
  }
1643
- }), f(re, {
1643
+ }), g(se, {
1644
1644
  attrs: {
1645
1645
  path: e.path,
1646
1646
  strokeWeight: i + 2 * a,
1647
1647
  strokeOpacity: 1,
1648
- strokeColor: M,
1648
+ strokeColor: m,
1649
1649
  lineJoin: "round",
1650
1650
  lineCap: "round",
1651
1651
  strokeStyle: "dashed",
1652
1652
  strokeDasharray: [s, s * 0.5]
1653
1653
  }
1654
- }), f(re, {
1654
+ }), g(se, {
1655
1655
  attrs: {
1656
1656
  path: e.path,
1657
1657
  strokeWeight: i,
@@ -1660,7 +1660,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1660
1660
  lineJoin: "round",
1661
1661
  lineCap: "round"
1662
1662
  }
1663
- }), f(re, {
1663
+ }), g(se, {
1664
1664
  attrs: {
1665
1665
  showDir: !0,
1666
1666
  path: e.path,
@@ -1673,17 +1673,17 @@ const _o = j(function(e, { slots: n, emit: i }) {
1673
1673
  })]);
1674
1674
  };
1675
1675
  }), qo = j(function(e) {
1676
- const n = h(() => e.path.map(R));
1676
+ const n = D(() => e.path.map(R));
1677
1677
  return () => {
1678
- const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, c = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", M = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
1679
- return f("div", [f(pe, {
1678
+ const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, c = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", m = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
1679
+ return g("div", [g(je, {
1680
1680
  attrs: {
1681
1681
  path: n.value,
1682
1682
  strokeWeight: o + 2 * r + 2 * c,
1683
1683
  strokeOpacity: 1,
1684
- strokeColor: M
1684
+ strokeColor: m
1685
1685
  }
1686
- }), f(pe, {
1686
+ }), g(je, {
1687
1687
  attrs: {
1688
1688
  path: n.value,
1689
1689
  icons: [{
@@ -1698,7 +1698,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1698
1698
  offset: `${o / 2}px`
1699
1699
  }]
1700
1700
  }
1701
- }), f(pe, {
1701
+ }), g(je, {
1702
1702
  attrs: {
1703
1703
  path: n.value,
1704
1704
  strokeWeight: o,
@@ -1716,14 +1716,14 @@ const _o = j(function(e, { slots: n, emit: i }) {
1716
1716
  }
1717
1717
  })]);
1718
1718
  };
1719
- }), Ce = j(function(e) {
1719
+ }), Ie = j(function(e) {
1720
1720
  const n = N();
1721
1721
  return () => e.path.length ? G(n.supplier === "gmap" ? qo : Ko, {
1722
1722
  attrs: e
1723
1723
  }) : null;
1724
1724
  }), bn = (t) => {
1725
1725
  const e = b({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1726
- return te(
1726
+ return ne(
1727
1727
  () => ({ ...t }),
1728
1728
  ({ from: i, to: a }) => {
1729
1729
  n.search(
@@ -1735,8 +1735,8 @@ const _o = j(function(e, { slots: n, emit: i }) {
1735
1735
  case "complete": {
1736
1736
  let s = [];
1737
1737
  const d = r.routes[0];
1738
- for (const M of d.steps) {
1739
- const l = M.path.map(({ lng: g, lat: m }) => [g, m]);
1738
+ for (const m of d.steps) {
1739
+ const l = m.path.map(({ lng: f, lat: M }) => [f, M]);
1740
1740
  s = s.concat(l);
1741
1741
  }
1742
1742
  e.path = s, e.distance = d.distance, e.duration = d.time;
@@ -1754,7 +1754,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1754
1754
  ), e;
1755
1755
  }, En = (t) => {
1756
1756
  const e = b({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1757
- return te(
1757
+ return ne(
1758
1758
  () => ({ ...t }),
1759
1759
  ({ from: i, to: a }) => {
1760
1760
  n.route(
@@ -1764,18 +1764,18 @@ const _o = j(function(e, { slots: n, emit: i }) {
1764
1764
  travelMode: google.maps.TravelMode.DRIVING
1765
1765
  },
1766
1766
  (o, r) => {
1767
- var s, c, d, M;
1767
+ var s, c, d, m;
1768
1768
  switch (r) {
1769
1769
  case google.maps.DirectionsStatus.OK: {
1770
- let u = [], l = 0, g = 0;
1771
- const m = o.routes[0], I = m.overview_path.map((p) => [
1770
+ let u = [], l = 0, f = 0;
1771
+ const M = o.routes[0], I = M.overview_path.map((p) => [
1772
1772
  p.lng(),
1773
1773
  p.lat()
1774
1774
  ]);
1775
1775
  u = u.concat(I);
1776
- for (const p of m.legs)
1777
- l += (c = (s = p.distance) == null ? void 0 : s.value) != null ? c : 0, g += (M = (d = p.duration) == null ? void 0 : d.value) != null ? M : 0;
1778
- e.path = u, e.distance = l, e.duration = g;
1776
+ for (const p of M.legs)
1777
+ l += (c = (s = p.distance) == null ? void 0 : s.value) != null ? c : 0, f += (m = (d = p.duration) == null ? void 0 : d.value) != null ? m : 0;
1778
+ e.path = u, e.distance = l, e.duration = f;
1779
1779
  return;
1780
1780
  }
1781
1781
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -1789,7 +1789,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1789
1789
  );
1790
1790
  }
1791
1791
  ), e;
1792
- }, vs = (t) => {
1792
+ }, Ls = (t) => {
1793
1793
  const { supplier: e } = N();
1794
1794
  return e === "gmap" ? En(t) : bn(t);
1795
1795
  }, er = (t, e, n) => {
@@ -1797,15 +1797,15 @@ const _o = j(function(e, { slots: n, emit: i }) {
1797
1797
  return 0;
1798
1798
  const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
1799
1799
  return (Math.PI / 2 - s) / Math.PI * 180;
1800
- }, Tn = (t) => h(() => {
1800
+ }, Tn = (t) => D(() => {
1801
1801
  const { map: e, path: n } = t, [i, a] = n;
1802
1802
  if (!(!i || !a || !e))
1803
1803
  return er(i, a, e);
1804
- }), Rn = (t) => h(() => {
1804
+ }), Rn = (t) => D(() => {
1805
1805
  const { path: e } = t, [n, i] = e;
1806
1806
  if (!(!n || !i))
1807
1807
  return google.maps.geometry.spherical.computeHeading(R(n), R(i));
1808
- }), ys = (t) => {
1808
+ }), Ss = (t) => {
1809
1809
  const { supplier: e } = N();
1810
1810
  return e === "gmap" ? Rn(t) : Tn(t);
1811
1811
  }, tr = j(function(e, {
@@ -1821,7 +1821,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1821
1821
  }));
1822
1822
  return () => {
1823
1823
  var c;
1824
- return f("div", [(c = n.render) == null ? void 0 : c.call(n, b({
1824
+ return g("div", [(c = n.render) == null ? void 0 : c.call(n, b({
1825
1825
  path: a,
1826
1826
  angle: s,
1827
1827
  distance: o,
@@ -1841,14 +1841,14 @@ const _o = j(function(e, { slots: n, emit: i }) {
1841
1841
  }));
1842
1842
  return () => {
1843
1843
  var c;
1844
- return f("div", [(c = n.render) == null ? void 0 : c.call(n, b({
1844
+ return g("div", [(c = n.render) == null ? void 0 : c.call(n, b({
1845
1845
  path: a,
1846
1846
  angle: s,
1847
1847
  distance: o,
1848
1848
  duration: r
1849
1849
  }))]);
1850
1850
  };
1851
- }), xe = j(function(e, {
1851
+ }), pe = j(function(e, {
1852
1852
  slots: n
1853
1853
  }) {
1854
1854
  const {
@@ -1866,12 +1866,12 @@ const ar = (t, ...e) => {
1866
1866
  const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
1867
1867
  let a;
1868
1868
  const o = () => {
1869
- var m;
1869
+ var M;
1870
1870
  const c = e.value;
1871
1871
  if (!c)
1872
1872
  return;
1873
- const d = window.innerWidth / 100, [M, u, l, g] = (m = t.padding) != null ? m : [0, 0, 0, 0];
1874
- ar("setFitView", "overlayGroup = ", i), c.setFitView([...i], !1, [M * d, l * d, g * d, u * d]);
1873
+ const d = window.innerWidth / 100, [m, u, l, f] = (M = t.padding) != null ? M : [0, 0, 0, 0];
1874
+ ar("setFitView", "overlayGroup = ", i), c.setFitView([...i], !1, [m * d, l * d, f * d, u * d]);
1875
1875
  }, r = {
1876
1876
  add: (c) => {
1877
1877
  i.add(c);
@@ -1907,29 +1907,29 @@ const cr = (t) => {
1907
1907
  let o;
1908
1908
  const r = () => {
1909
1909
  var p;
1910
- const M = e.value;
1911
- if (!M)
1910
+ const m = e.value;
1911
+ if (!m)
1912
1912
  return;
1913
- const u = window.innerWidth / 100, [l, g, m, I] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1913
+ const u = window.innerWidth / 100, [l, f, M, I] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1914
1914
  i(
1915
- () => M.fitBounds(a.getBound(), {
1915
+ () => m.fitBounds(a.getBound(), {
1916
1916
  top: l * u,
1917
- right: g * u,
1918
- bottom: m * u,
1917
+ right: f * u,
1918
+ bottom: M * u,
1919
1919
  left: I * u
1920
1920
  })
1921
1921
  );
1922
1922
  }, s = {
1923
- add: (M) => {
1924
- a.add(M);
1923
+ add: (m) => {
1924
+ a.add(m);
1925
1925
  },
1926
- remove: (M) => {
1927
- a.delete(M);
1926
+ remove: (m) => {
1927
+ a.delete(m);
1928
1928
  },
1929
1929
  setFitView: r
1930
1930
  }, c = () => {
1931
- const M = $o();
1932
- !n || M !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1931
+ const m = $o();
1932
+ !n || m !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1933
1933
  o = void 0, r();
1934
1934
  }, n));
1935
1935
  }, d = io(c, or);
@@ -1938,23 +1938,23 @@ const cr = (t) => {
1938
1938
  ]), F(e, {}, d, [
1939
1939
  "onZoom_changed"
1940
1940
  ]), { registerFitVeiw: s, setFitView: r };
1941
- }, Pe = (t) => {
1941
+ }, be = (t) => {
1942
1942
  const { supplier: e } = N();
1943
1943
  return e === "gmap" ? cr(t) : rr(t);
1944
1944
  };
1945
1945
  j(function(e, {
1946
1946
  slots: n
1947
1947
  }) {
1948
- const i = gn(), a = Pe({
1948
+ const i = gn(), a = be({
1949
1949
  ...e,
1950
1950
  mapRef: i
1951
1951
  });
1952
1952
  return () => {
1953
1953
  var o;
1954
- return f("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1954
+ return g("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1955
1955
  };
1956
1956
  });
1957
- const H = j(function(e, {
1957
+ const U = j(function(e, {
1958
1958
  slots: n
1959
1959
  }) {
1960
1960
  const i = fn(), {
@@ -1962,11 +1962,11 @@ const H = j(function(e, {
1962
1962
  } = e, {
1963
1963
  setFitView: o
1964
1964
  } = a;
1965
- return ee(async () => {
1965
+ return te(async () => {
1966
1966
  await i, o();
1967
1967
  }), () => {
1968
1968
  var r;
1969
- return f("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1969
+ return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1970
1970
  };
1971
1971
  });
1972
1972
  function ur(t) {
@@ -1985,7 +1985,7 @@ function ur(t) {
1985
1985
  setFitView: i
1986
1986
  };
1987
1987
  }
1988
- const ue = j(function(e, {
1988
+ const ee = j(function(e, {
1989
1989
  slots: n
1990
1990
  }) {
1991
1991
  const i = fn(), {
@@ -1999,7 +1999,7 @@ const ue = j(function(e, {
1999
1999
  immediate: !0
2000
2000
  }), () => {
2001
2001
  var r;
2002
- return f("div", [(r = n.default) == null ? void 0 : r.call(n)]);
2002
+ return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
2003
2003
  };
2004
2004
  }), Zn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi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1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
2005
2005
  function lr(t, e, n) {
@@ -2038,7 +2038,7 @@ var dr = (t, e, n) => {
2038
2038
  return !1;
2039
2039
  }
2040
2040
  return !0;
2041
- }, ne = (t) => (e) => {
2041
+ }, ie = (t) => (e) => {
2042
2042
  var n = t.defaultClassName, i = xt(xt({}, t.defaultVariants), e);
2043
2043
  for (var a in i) {
2044
2044
  var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
@@ -2052,18 +2052,18 @@ var dr = (t, e, n) => {
2052
2052
  c && (n += " " + c);
2053
2053
  }
2054
2054
  }
2055
- for (var [d, M] of t.compoundVariants)
2056
- dr(d, i, t.defaultVariants) && (n += " " + M);
2055
+ for (var [d, m] of t.compoundVariants)
2056
+ dr(d, i, t.defaultVariants) && (n += " " + m);
2057
2057
  return n;
2058
- }, _ = ne({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Gn = "_4a4ovk1", kn = "_4a4ovk4", Wn = "_4a4ovk5", Un = "_4a4ovk3", je = "_4a4ovk0", Bn = "_4a4ovk2";
2058
+ }, _ = ie({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Gn = "_4a4ovk1", kn = "_4a4ovk4", Wn = "_4a4ovk5", Un = "_4a4ovk3", Se = "_4a4ovk0", Bn = "_4a4ovk2";
2059
2059
  const gr = j(function(e) {
2060
- const n = h(() => {
2060
+ const n = D(() => {
2061
2061
  var o;
2062
- const i = e.type === "start" ? On : Zn, a = e.description ? De(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2062
+ const i = e.type === "start" ? On : Zn, a = e.description ? xe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2063
2063
  return !e.description && !e.title ? `<img src="${i}" class="${_({
2064
2064
  type: e.type
2065
2065
  })}">` : e.description ? `
2066
- <div class="${je}">
2066
+ <div class="${Se}">
2067
2067
  <div class="${Gn}">
2068
2068
  <div class="${Un}">${(o = e.title) != null ? o : ""}</div>
2069
2069
  <div class="${kn}">${a}</div>
@@ -2073,7 +2073,7 @@ const gr = j(function(e) {
2073
2073
  })}">
2074
2074
  </div>
2075
2075
  ` : `
2076
- <div class="${je}">
2076
+ <div class="${Se}">
2077
2077
  <div class="${Bn}">${e.title}</div>
2078
2078
  <img src="${i}" class="${_({
2079
2079
  type: e.type
@@ -2081,7 +2081,7 @@ const gr = j(function(e) {
2081
2081
  </div>
2082
2082
  `;
2083
2083
  });
2084
- return () => f(B, {
2084
+ return () => g(V, {
2085
2085
  attrs: {
2086
2086
  registerOverlay: e.registerOverlay,
2087
2087
  position: e.position,
@@ -2090,16 +2090,16 @@ const gr = j(function(e) {
2090
2090
  }
2091
2091
  });
2092
2092
  }), fr = j(function(e) {
2093
- const n = h(() => {
2093
+ const n = D(() => {
2094
2094
  var o;
2095
- const i = e.type === "start" ? On : Zn, a = e.description ? De(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2096
- return !e.description && !e.title ? Z("img", {
2095
+ const i = e.type === "start" ? On : Zn, a = e.description ? xe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2096
+ return !e.description && !e.title ? O("img", {
2097
2097
  class: _({
2098
2098
  type: e.type
2099
2099
  }),
2100
2100
  src: i
2101
- }) : e.description ? Z("div", {
2102
- class: je
2101
+ }) : e.description ? O("div", {
2102
+ class: Se
2103
2103
  }, `
2104
2104
  <div class="${Gn}">
2105
2105
  <div class="${Un}">${(o = e.title) != null ? o : ""}</div>
@@ -2108,8 +2108,8 @@ const gr = j(function(e) {
2108
2108
  <img src="${i}" class="${_({
2109
2109
  type: e.type
2110
2110
  })}">
2111
- `) : Z("div", {
2112
- class: je
2111
+ `) : O("div", {
2112
+ class: Se
2113
2113
  }, `
2114
2114
  <div class="${Bn}">${e.title}</div>
2115
2115
  <img src="${i}" class="${_({
@@ -2117,19 +2117,19 @@ const gr = j(function(e) {
2117
2117
  })}">
2118
2118
  `);
2119
2119
  });
2120
- return () => f(V, {
2120
+ return () => g(Y, {
2121
2121
  attrs: {
2122
2122
  registerOverlay: e.registerOverlay,
2123
2123
  position: R(e.position),
2124
2124
  content: n.value
2125
2125
  }
2126
2126
  });
2127
- }), O = j(function(e) {
2127
+ }), Z = j(function(e) {
2128
2128
  const n = N();
2129
2129
  return () => G(n.supplier === "gmap" ? fr : gr, {
2130
2130
  attrs: e
2131
2131
  });
2132
- }), js = de(function(e) {
2132
+ }), Ns = de(function(e) {
2133
2133
  const {
2134
2134
  registerOverlay: n,
2135
2135
  mapRef: i,
@@ -2140,14 +2140,14 @@ const gr = j(function(e) {
2140
2140
  from: r,
2141
2141
  to: s,
2142
2142
  fromDescription: c
2143
- } = e, d = C(r), M = C(s);
2144
- return f(we, {
2143
+ } = e, d = C(r), m = C(s);
2144
+ return g(Pe, {
2145
2145
  attrs: {
2146
2146
  mapRef: i,
2147
2147
  center: d,
2148
2148
  zoom: 13
2149
2149
  }
2150
- }, [f(O, {
2150
+ }, [g(Z, {
2151
2151
  attrs: {
2152
2152
  type: "start",
2153
2153
  registerOverlay: n,
@@ -2155,77 +2155,98 @@ const gr = j(function(e) {
2155
2155
  title: r.name,
2156
2156
  description: c
2157
2157
  }
2158
- }), f(xe, {
2158
+ }), g(pe, {
2159
2159
  attrs: {
2160
- to: M,
2160
+ to: m,
2161
2161
  from: d,
2162
2162
  render: ({
2163
2163
  path: u,
2164
2164
  distance: l,
2165
- duration: g
2166
- }) => [f(Ce, {
2165
+ duration: f
2166
+ }) => [g(Ie, {
2167
2167
  attrs: {
2168
2168
  path: u
2169
2169
  }
2170
- }), f(O, {
2170
+ }), g(Z, {
2171
2171
  attrs: {
2172
2172
  type: "end",
2173
2173
  registerOverlay: o,
2174
- position: M,
2174
+ position: m,
2175
2175
  title: s.name,
2176
2176
  description: a({
2177
2177
  distance: l,
2178
- duration: g
2178
+ duration: f
2179
2179
  })
2180
2180
  }
2181
2181
  })]
2182
2182
  }
2183
- }), f(H, {
2183
+ }), g(U, {
2184
2184
  attrs: {
2185
2185
  registerOverlay: n
2186
2186
  }
2187
2187
  })]);
2188
2188
  };
2189
- }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), Mr = 5e3, be = (t) => {
2190
- var l, g;
2191
- const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {};
2192
- let r = !1;
2193
- const s = w(!1), c = w(!1), d = w(), M = w({
2189
+ }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), mr = () => {
2190
+ const { readyPromise: t } = N();
2191
+ async function e(n) {
2192
+ return await t, new Promise((i, a) => {
2193
+ AMap.convertFrom(
2194
+ n,
2195
+ "gps",
2196
+ (o, r) => {
2197
+ if (r.info === "ok") {
2198
+ const { lng: s, lat: c } = r.locations[0];
2199
+ i([s, c]);
2200
+ } else
2201
+ a();
2202
+ }
2203
+ );
2204
+ });
2205
+ }
2206
+ return { toGcj02: e };
2207
+ }, Mr = () => ({ toGcj02: async (e) => e }), Ir = () => {
2208
+ const { supplier: t } = N();
2209
+ return t === "gmap" ? Mr() : mr();
2210
+ }, pr = 5e3, Ee = (t) => {
2211
+ var f, M;
2212
+ const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {}, { toGcj02: r } = Ir();
2213
+ let s = !1;
2214
+ const c = w(!1), d = w(!1), m = w(), u = w({
2194
2215
  accuracy: 0,
2195
2216
  altitude: 0,
2196
2217
  altitudeAccuracy: 0,
2197
2218
  heading: 0,
2198
- latitude: (l = o == null ? void 0 : o[1]) != null ? l : 0,
2199
- longitude: (g = o == null ? void 0 : o[0]) != null ? g : 0,
2219
+ latitude: (f = o == null ? void 0 : o[1]) != null ? f : 0,
2220
+ longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
2200
2221
  speed: 0
2201
- }), u = w([M.value.longitude, M.value.latitude]);
2222
+ }), l = w([u.value.longitude, u.value.latitude]);
2202
2223
  return T(
2203
2224
  () => !0,
2204
- (m, I, p) => {
2205
- s.value = !0;
2206
- const y = navigator.geolocation.watchPosition(
2207
- (v) => {
2208
- const L = v.coords, A = [v.coords.longitude, v.coords.latitude];
2209
- M.value = L, u.value = A, s.value && (s.value = !1, c.value = !0, n == null || n({ position: A, coordinate: L })), e == null || e({ position: A, coordinate: L });
2225
+ (I, p, y) => {
2226
+ c.value = !0;
2227
+ const v = navigator.geolocation.watchPosition(
2228
+ async (L) => {
2229
+ const A = L.coords, x = [L.coords.longitude, L.coords.latitude], h = await r(x);
2230
+ console.log("wgsPoint, point = ", x, h), u.value = A, l.value = h, c.value && (c.value = !1, d.value = !0, n == null || n({ position: h, coordinate: A })), e == null || e({ position: h, coordinate: A });
2210
2231
  },
2211
- (v) => {
2212
- s.value = !1, d.value = v;
2213
- const L = t == null ? void 0 : t.geoDefaultPosition;
2214
- L && !r && (r = !0, i == null || i({ position: L })), a == null || a(v);
2232
+ (L) => {
2233
+ c.value = !1, m.value = L;
2234
+ const A = t == null ? void 0 : t.geoDefaultPosition;
2235
+ A && !s && (s = !0, i == null || i({ position: A })), a == null || a(L);
2215
2236
  },
2216
- { timeout: Mr, maximumAge: 0, enableHighAccuracy: !1 }
2237
+ { timeout: pr, maximumAge: 0, enableHighAccuracy: !1 }
2217
2238
  );
2218
- p(() => navigator.geolocation.clearWatch(y));
2239
+ y(() => navigator.geolocation.clearWatch(v));
2219
2240
  },
2220
2241
  { immediate: !0 }
2221
2242
  ), {
2222
- geoError: d,
2223
- geoPosition: u,
2224
- geoCoordinate: M,
2225
- geoLoading: s,
2226
- geoReady: c
2243
+ geoError: m,
2244
+ geoPosition: l,
2245
+ geoCoordinate: u,
2246
+ geoLoading: c,
2247
+ geoReady: d
2227
2248
  };
2228
- }, mr = () => {
2249
+ }, vr = () => {
2229
2250
  const t = z();
2230
2251
  return { mapRef: t, panTo: (i) => {
2231
2252
  var a;
@@ -2233,7 +2254,7 @@ const gr = j(function(e) {
2233
2254
  }, setMap: (i) => {
2234
2255
  t.value = i;
2235
2256
  } };
2236
- }, Ir = () => {
2257
+ }, yr = () => {
2237
2258
  const t = z();
2238
2259
  return { mapRef: t, panTo: (i) => {
2239
2260
  var a;
@@ -2241,45 +2262,45 @@ const gr = j(function(e) {
2241
2262
  }, setMap: (i) => {
2242
2263
  t.value = i;
2243
2264
  } };
2244
- }, Ee = () => {
2265
+ }, Te = () => {
2245
2266
  const { supplier: t } = N();
2246
- return t === "gmap" ? Ir() : mr();
2247
- }, pr = (t) => {
2267
+ return t === "gmap" ? yr() : vr();
2268
+ }, jr = (t) => {
2248
2269
  const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2249
- ye(() => {
2270
+ Le(() => {
2250
2271
  a.value = !0;
2251
2272
  })();
2252
2273
  }, r = (s, { target: c }) => {
2253
2274
  var u;
2254
2275
  a.value = !1;
2255
- const { lng: d, lat: M } = c.getCenter();
2256
- i.value = [d, M], (u = ye(n)) == null || u([d, M]);
2276
+ const { lng: d, lat: m } = c.getCenter();
2277
+ i.value = [d, m], (u = Le(n)) == null || u([d, m]);
2257
2278
  };
2258
2279
  return q(e, {}, o, [
2259
2280
  "onDragStart"
2260
2281
  ]), q(e, {}, r, [
2261
2282
  "onDragEnd"
2262
2283
  ]), { centerRef: i, isDragging: a };
2263
- }, vr = (t) => {
2284
+ }, Ar = (t) => {
2264
2285
  const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2265
- ye(() => {
2286
+ Le(() => {
2266
2287
  a.value = !0;
2267
2288
  })();
2268
2289
  }, r = async () => {
2269
- var M, u;
2290
+ var m, u;
2270
2291
  a.value = !1;
2271
- const s = (M = e.value) == null ? void 0 : M.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2272
- i.value = [c, d], (u = ye(n)) == null || u([c, d]);
2292
+ const s = (m = e.value) == null ? void 0 : m.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2293
+ i.value = [c, d], (u = Le(n)) == null || u([c, d]);
2273
2294
  };
2274
2295
  return F(e, {}, o, [
2275
2296
  "onDragStart"
2276
2297
  ]), F(e, {}, r, [
2277
2298
  "onDragEnd"
2278
2299
  ]), { centerRef: i, isDragging: a };
2279
- }, yr = (t) => {
2300
+ }, Lr = (t) => {
2280
2301
  const { supplier: e } = N();
2281
- return e === "gmap" ? vr(t) : pr(t);
2282
- }, ie = () => {
2302
+ return e === "gmap" ? Ar(t) : jr(t);
2303
+ }, ae = () => {
2283
2304
  const t = w(0);
2284
2305
  return { idx: t, update: () => {
2285
2306
  t.value += 1;
@@ -2289,15 +2310,15 @@ const gr = j(function(e) {
2289
2310
  lng: a.value[0],
2290
2311
  lat: a.value[1],
2291
2312
  name: ""
2292
- }), { idx: s, update: c } = ie(), d = (l) => {
2293
- const g = new AMap.Geocoder({ lang: se }), { lng: m, lat: I } = l;
2294
- g.getAddress(new AMap.LngLat(m, I), (p, y) => {
2313
+ }), { idx: s, update: c } = ae(), d = (l) => {
2314
+ const f = new AMap.Geocoder({ lang: ce }), { lng: M, lat: I } = l;
2315
+ f.getAddress(new AMap.LngLat(M, I), (p, y) => {
2295
2316
  if (p !== "complete")
2296
2317
  return;
2297
2318
  const { addressComponent: v } = y.regeocode, L = v.city ? v.city : v.province, A = v.province;
2298
2319
  n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2299
2320
  });
2300
- }, M = (l) => {
2321
+ }, m = (l) => {
2301
2322
  a.value = l, c();
2302
2323
  }, u = (l) => {
2303
2324
  r.lng = l.lng, r.lat = l.lat, r.name = l.name;
@@ -2306,85 +2327,85 @@ const gr = j(function(e) {
2306
2327
  () => [s.value],
2307
2328
  async () => {
2308
2329
  await o;
2309
- const l = new AMap.Geocoder({ lang: se }), [g, m] = a.value;
2310
- l.getAddress(new AMap.LngLat(g, m), (I, p) => {
2330
+ const l = new AMap.Geocoder({ lang: ce }), [f, M] = a.value;
2331
+ l.getAddress(new AMap.LngLat(f, M), (I, p) => {
2311
2332
  switch (I) {
2312
2333
  case "complete": {
2313
2334
  const { formattedAddress: y, addressComponent: v } = p.regeocode, L = v.city ? v.city : v.province, A = v.province;
2314
- r.name = y, r.lng = g, r.lat = m, e == null || e({ lng: g, lat: m, name: y }), n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2335
+ r.name = y, r.lng = f, r.lat = M, e == null || e({ lng: f, lat: M, name: y }), n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2315
2336
  return;
2316
2337
  }
2317
2338
  case "no_data":
2318
- r.name = "", e == null || e({ lng: g, lat: m, name: "" });
2339
+ r.name = "", r.lng = f, r.lat = M, e == null || e({ lng: f, lat: M, name: "" });
2319
2340
  return;
2320
2341
  case "error":
2321
2342
  throw p;
2322
2343
  }
2323
2344
  });
2324
2345
  }
2325
- ), { place: r, updatePlace: M, setPlace: u, updateCity: d };
2346
+ ), { place: r, updatePlace: m, setPlace: u, updateCity: d };
2326
2347
  }, Yn = (t) => {
2327
- const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = w(i), { readyPromise: o } = N(), { idx: r, update: s } = ie(), c = b({
2348
+ const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = w(i), { readyPromise: o } = N(), { idx: r, update: s } = ae(), c = b({
2328
2349
  lng: a.value[0],
2329
2350
  lat: a.value[1],
2330
2351
  name: ""
2331
2352
  }), d = (l) => {
2332
2353
  a.value = l, s();
2333
- }, M = (l) => {
2354
+ }, m = (l) => {
2334
2355
  c.lng = l.lng, c.lat = l.lat, c.name = l.name;
2335
2356
  }, u = async (l) => {
2336
- const g = new google.maps.Geocoder(), { lng: m, lat: I } = l, { results: p } = await g.geocode({ language: se, location: { lng: m, lat: I } }), y = Dt(p[0]), v = p.slice(-2)[0].address_components[0].long_name, L = p.slice(-1)[0].address_components[0].long_name;
2357
+ const f = new google.maps.Geocoder(), { lng: M, lat: I } = l, { results: p } = await f.geocode({ language: ce, location: { lng: M, lat: I } }), y = Dt(p[0]), v = p.slice(-2)[0].address_components[0].long_name, L = p.slice(-1)[0].address_components[0].long_name;
2337
2358
  n == null || n({ cityName: y, cityParentName: v, countryName: L });
2338
2359
  };
2339
2360
  return T(
2340
2361
  () => r.value,
2341
2362
  async () => {
2342
2363
  await o;
2343
- const l = new google.maps.Geocoder(), [g, m] = a.value, { results: I } = await l.geocode({ language: se, location: { lng: g, lat: m } }), p = I[0].formatted_address, y = Dt(I[0]), v = I.slice(-2)[0].address_components[0].long_name, L = I.slice(-1)[0].address_components[0].long_name;
2344
- c.lng = g, c.lat = m, c.name = p, e == null || e({ lng: g, lat: m, name: p }), n == null || n({ cityName: y, cityParentName: v, countryName: L });
2364
+ const l = new google.maps.Geocoder(), [f, M] = a.value, { results: I } = await l.geocode({ language: ce, location: { lng: f, lat: M } }), p = I[0].formatted_address, y = Dt(I[0]), v = I.slice(-2)[0].address_components[0].long_name, L = I.slice(-1)[0].address_components[0].long_name;
2365
+ c.lng = f, c.lat = M, c.name = p, e == null || e({ lng: f, lat: M, name: p }), n == null || n({ cityName: y, cityParentName: v, countryName: L });
2345
2366
  }
2346
- ), { place: c, updatePlace: d, setPlace: M, updateCity: u };
2347
- }, As = (t) => {
2367
+ ), { place: c, updatePlace: d, setPlace: m, updateCity: u };
2368
+ }, hs = (t) => {
2348
2369
  const { supplier: e } = N();
2349
2370
  return e === "gmap" ? Yn(t) : Vn(t);
2350
- }, jr = (t, e) => {
2371
+ }, Sr = (t, e) => {
2351
2372
  let n = 1 / 0, i = t;
2352
2373
  for (const a of e) {
2353
2374
  const o = AMap.GeometryUtil.distance(C(t), C(a));
2354
2375
  o >= n || (i = a, n = o);
2355
2376
  }
2356
2377
  return { shortestPlace: i, shortestDistance: n };
2357
- }, Ar = (t, e) => {
2378
+ }, Nr = (t, e) => {
2358
2379
  let n = 1 / 0, i = t;
2359
2380
  for (const a of e) {
2360
2381
  const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
2361
2382
  o >= n || (i = a, n = o);
2362
2383
  }
2363
2384
  return { shortestPlace: i, shortestDistance: n };
2364
- }, Lr = (t) => {
2365
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: M, update: u } = ie(), { readyPromise: l } = N(), { place: g, updatePlace: m, setPlace: I, updateCity: p } = Vn({
2385
+ }, hr = (t) => {
2386
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: m, update: u } = ae(), { readyPromise: l } = N(), { place: f, updatePlace: M, setPlace: I, updateCity: p } = Vn({
2366
2387
  pointRef: e,
2367
2388
  onChange: r,
2368
2389
  onChangeCity: s
2369
- }), y = b({ ...g }), v = h(() => {
2390
+ }), y = b({ ...f }), v = D(() => {
2370
2391
  const A = e.value;
2371
2392
  return d.value.some(
2372
2393
  (x) => vn(C(x), A)
2373
2394
  );
2374
2395
  }), L = async () => {
2375
- const A = await n({ ...g }, a);
2396
+ const A = await n({ ...f }, a);
2376
2397
  c.value = A !== void 0, d.value = A != null ? A : [];
2377
2398
  };
2378
2399
  return T(
2379
- () => M.value,
2400
+ () => m.value,
2380
2401
  async () => {
2381
2402
  await l;
2382
- const A = await n({ ...g }, a);
2403
+ const A = await n({ ...f }, a);
2383
2404
  if (A === void 0) {
2384
- c.value = !1, d.value = [], Object.assign(y, { ...g }), o == null || o({ ...g });
2405
+ c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2385
2406
  return;
2386
2407
  }
2387
- const { shortestPlace: x, shortestDistance: D } = jr(g, A), P = i(a), E = D > P ? g : x;
2408
+ const { shortestPlace: x, shortestDistance: h } = Sr(f, A), P = i(a), E = h > P ? f : x;
2388
2409
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2389
2410
  }
2390
2411
  ), {
@@ -2394,34 +2415,34 @@ const gr = j(function(e) {
2394
2415
  isElectedRef: v,
2395
2416
  updateRecomandPlace: u,
2396
2417
  updatePlaceCandidates: L,
2397
- updatePlace: m,
2418
+ updatePlace: M,
2398
2419
  setPlace: I,
2399
2420
  updateCity: p
2400
2421
  };
2401
- }, Sr = (t) => {
2402
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: M, update: u } = ie(), { readyPromise: l } = N(), { place: g, updatePlace: m, setPlace: I, updateCity: p } = Yn({
2422
+ }, Dr = (t) => {
2423
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: m, update: u } = ae(), { readyPromise: l } = N(), { place: f, updatePlace: M, setPlace: I, updateCity: p } = Yn({
2403
2424
  pointRef: e,
2404
2425
  onChange: r,
2405
2426
  onChangeCity: s
2406
- }), y = b({ ...g }), v = h(() => {
2427
+ }), y = b({ ...f }), v = D(() => {
2407
2428
  const A = e.value;
2408
2429
  return d.value.some(
2409
2430
  (x) => vn(C(x), A)
2410
2431
  );
2411
2432
  }), L = async () => {
2412
- const A = await n({ ...g }, a);
2433
+ const A = await n({ ...f }, a);
2413
2434
  c.value = A !== void 0, d.value = A != null ? A : [];
2414
2435
  };
2415
2436
  return T(
2416
- () => M.value,
2437
+ () => m.value,
2417
2438
  async () => {
2418
2439
  await l;
2419
- const A = await n({ ...g }, a);
2440
+ const A = await n({ ...f }, a);
2420
2441
  if (A === void 0) {
2421
- c.value = !1, d.value = [], Object.assign(y, { ...g }), o == null || o({ ...g });
2442
+ c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2422
2443
  return;
2423
2444
  }
2424
- const { shortestPlace: x, shortestDistance: D } = Ar(g, A), P = i(a), E = D > P ? g : x;
2445
+ const { shortestPlace: x, shortestDistance: h } = Nr(f, A), P = i(a), E = h > P ? f : x;
2425
2446
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2426
2447
  }
2427
2448
  ), {
@@ -2431,41 +2452,41 @@ const gr = j(function(e) {
2431
2452
  isElectedRef: v,
2432
2453
  updateRecomandPlace: u,
2433
2454
  updatePlaceCandidates: L,
2434
- updatePlace: m,
2455
+ updatePlace: M,
2435
2456
  setPlace: I,
2436
2457
  updateCity: p
2437
2458
  };
2438
- }, Nr = (t) => {
2459
+ }, wr = (t) => {
2439
2460
  const { supplier: e } = N();
2440
- return e === "gmap" ? Sr(t) : Lr(t);
2441
- }, Hn = 13, hr = (t) => {
2461
+ return e === "gmap" ? Dr(t) : hr(t);
2462
+ }, Hn = 13, Cr = (t) => {
2442
2463
  var s, c, d;
2443
- const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (M) => {
2464
+ const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (m) => {
2444
2465
  var u;
2445
- a.value = M, (u = n.value) == null || u.setZoom(M);
2466
+ a.value = m, (u = n.value) == null || u.setZoom(m);
2446
2467
  };
2447
- return q(n, {}, (M, { target: u }) => {
2468
+ return q(n, {}, (m, { target: u }) => {
2448
2469
  const l = u.getZoom();
2449
2470
  a.value = l, e == null || e(l);
2450
2471
  }, [
2451
2472
  "onZoomEnd"
2452
2473
  ]), { zoomRef: a, setZoom: o };
2453
- }, Dr = (t) => {
2474
+ }, xr = (t) => {
2454
2475
  var s, c, d;
2455
- const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (M) => {
2476
+ const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (m) => {
2456
2477
  var u;
2457
- a.value = M, (u = n.value) == null || u.setZoom(M);
2478
+ a.value = m, (u = n.value) == null || u.setZoom(m);
2458
2479
  };
2459
- return F(n, {}, (M, { target: u }) => {
2480
+ return F(n, {}, (m, { target: u }) => {
2460
2481
  const l = u.getZoom();
2461
2482
  a.value = l, e == null || e(l);
2462
2483
  }, [
2463
2484
  "onZoom_change"
2464
2485
  ]), { zoomRef: a, setZoom: o };
2465
- }, wr = (t) => {
2486
+ }, Pr = (t) => {
2466
2487
  const { supplier: e } = N();
2467
- return e === "gmap" ? Dr(t) : hr(t);
2468
- }, Cr = (t) => {
2488
+ return e === "gmap" ? xr(t) : Cr(t);
2489
+ }, br = (t) => {
2469
2490
  const { interval: e } = t;
2470
2491
  let n;
2471
2492
  const i = {
@@ -2479,19 +2500,19 @@ const gr = j(function(e) {
2479
2500
  });
2480
2501
  }, timerStop: i };
2481
2502
  }, Jn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk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w9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2482
- var Qn = ne({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2483
- const xr = j(function(e) {
2484
- const n = h(() => {
2503
+ var Qn = ie({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2504
+ const Er = j(function(e) {
2505
+ const n = D(() => {
2485
2506
  const {
2486
2507
  size: i = "large"
2487
2508
  } = e;
2488
2509
  return `
2489
- <img src="${i === "large" ? Jn : U}" class="${Qn({
2510
+ <img src="${i === "large" ? Jn : B}" class="${Qn({
2490
2511
  size: i
2491
2512
  })}">
2492
2513
  `;
2493
2514
  });
2494
- return () => f(B, {
2515
+ return () => g(V, {
2495
2516
  attrs: {
2496
2517
  position: e.position,
2497
2518
  content: n.value,
@@ -2499,87 +2520,87 @@ const xr = j(function(e) {
2499
2520
  registerOverlay: e.registerOverlay
2500
2521
  }
2501
2522
  });
2502
- }), Pr = j(function(e) {
2503
- const n = h(() => {
2523
+ }), Tr = j(function(e) {
2524
+ const n = D(() => {
2504
2525
  const {
2505
2526
  size: i = "large"
2506
- } = e, a = i === "large" ? Jn : U;
2507
- return Z("img", {
2527
+ } = e, a = i === "large" ? Jn : B;
2528
+ return O("img", {
2508
2529
  class: Qn({
2509
2530
  size: i
2510
2531
  }),
2511
2532
  src: a
2512
2533
  });
2513
2534
  });
2514
- return () => f(V, {
2535
+ return () => g(Y, {
2515
2536
  attrs: {
2516
2537
  position: R(e.position),
2517
2538
  content: n.value,
2518
2539
  registerOverlay: e.registerOverlay
2519
2540
  }
2520
2541
  });
2521
- }), Te = j(function(e) {
2542
+ }), ve = j(function(e) {
2522
2543
  const n = N();
2523
- return () => G(n.supplier === "gmap" ? Pr : xr, {
2544
+ return () => G(n.supplier === "gmap" ? Tr : Er, {
2524
2545
  attrs: e
2525
2546
  });
2526
- }), br = () => {
2547
+ }), Rr = () => {
2527
2548
  const t = ge();
2528
2549
  return { apiMapLngLatToVw: (n) => {
2529
2550
  var i;
2530
2551
  return (i = t == null ? void 0 : t.value) == null ? void 0 : i.lngLatToContainer(n).toArray();
2531
2552
  } };
2532
- }, Er = () => {
2553
+ }, zr = () => {
2533
2554
  const t = fe();
2534
2555
  return { apiMapLngLatToVw: (n) => {
2535
- var u, l, g, m, I;
2536
- const [i, a] = n, o = (u = t == null ? void 0 : t.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: i, lat: a }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (g = r == null ? void 0 : r.y) != null ? g : 0, M = 2 ** ((I = (m = t == null ? void 0 : t.value) == null ? void 0 : m.getZoom()) != null ? I : 0);
2537
- return [s * M, c * M];
2556
+ var u, l, f, M, I;
2557
+ const [i, a] = n, o = (u = t == null ? void 0 : t.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: i, lat: a }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (f = r == null ? void 0 : r.y) != null ? f : 0, m = 2 ** ((I = (M = t == null ? void 0 : t.value) == null ? void 0 : M.getZoom()) != null ? I : 0);
2558
+ return [s * m, c * m];
2538
2559
  } };
2539
- }, Tr = () => {
2560
+ }, Zr = () => {
2540
2561
  const { supplier: t } = N();
2541
- return t === "gmap" ? Er() : br();
2542
- }, Pt = (t) => t === "left" ? "right" : "left", Rr = (t) => {
2543
- const { widthLimit: e, heightLimit: n } = t, { apiMapLngLatToVw: i } = Tr(), a = (r, s) => {
2544
- const c = 100 / window.innerWidth, [d, M] = i(r), [u, l] = i(s);
2545
- return [(u - d) * c, (l - M) * c];
2562
+ return t === "gmap" ? zr() : Rr();
2563
+ }, Pt = (t) => t === "left" ? "right" : "left", Or = (t) => {
2564
+ const { widthLimit: e, heightLimit: n } = t, { apiMapLngLatToVw: i } = Zr(), a = (r, s) => {
2565
+ const c = 100 / window.innerWidth, [d, m] = i(r), [u, l] = i(s);
2566
+ return [(u - d) * c, (l - m) * c];
2546
2567
  }, o = w(Array(t.places.length).fill("right"));
2547
2568
  return zo(
2548
2569
  () => t.places.map(C),
2549
2570
  (r) => {
2550
- const s = r.map((l, g) => ({ point: l, index: g })).sort(
2551
- ({ point: [, l] }, { point: [, g] }) => l < g ? 1 : l > g ? -1 : 0
2571
+ const s = r.map((l, f) => ({ point: l, index: f })).sort(
2572
+ ({ point: [, l] }, { point: [, f] }) => l < f ? 1 : l > f ? -1 : 0
2552
2573
  ), c = r.length, d = Array(c);
2553
- let M = "right", u = !1;
2574
+ let m = "right", u = !1;
2554
2575
  for (let l = 0; l < c; l++) {
2555
- const { index: g } = s[l];
2576
+ const { index: f } = s[l];
2556
2577
  if (l === c - 1) {
2557
- d[g] = u ? Pt(M) : "right";
2578
+ d[f] = u ? Pt(m) : "right";
2558
2579
  continue;
2559
2580
  }
2560
2581
  if (l === 0) {
2561
2582
  const [y, v] = a(s[l].point, s[l + 1].point);
2562
2583
  u = y > -e && y < e && v > -n && v < n;
2563
2584
  const L = u && y > 0 ? "left" : "right";
2564
- d[g] = L, M = L;
2585
+ d[f] = L, m = L;
2565
2586
  continue;
2566
2587
  }
2567
- const [m, I] = a(s[l].point, s[l + 1].point), p = u ? Pt(M) : "right";
2568
- d[g] = p, M = p, u = m > -e && m < e && I > -n && I < n;
2588
+ const [M, I] = a(s[l].point, s[l + 1].point), p = u ? Pt(m) : "right";
2589
+ d[f] = p, m = p, u = M > -e && M < e && I > -n && I < n;
2569
2590
  }
2570
2591
  o.value = d;
2571
2592
  }
2572
2593
  ), o;
2573
2594
  };
2574
2595
  var Be = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(Be || {});
2575
- var bt = ne({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Et = ne({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Fn = "fhyw8b", $n = ne({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), Ae = ne({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2576
- const zr = j(function(e, {
2596
+ var bt = ie({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Et = ie({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Fn = "fhyw8b", $n = ie({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), Ne = ie({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2597
+ const Gr = j(function(e, {
2577
2598
  emit: n
2578
2599
  }) {
2579
- const i = h(() => {
2600
+ const i = D(() => {
2580
2601
  var s;
2581
2602
  return (s = e.textAlign) != null ? s : "right";
2582
- }), a = h(() => {
2603
+ }), a = D(() => {
2583
2604
  const {
2584
2605
  hideIcon: s = !1
2585
2606
  } = e;
@@ -2587,27 +2608,27 @@ const zr = j(function(e, {
2587
2608
  <div class="${$n({
2588
2609
  textAlign: i.value
2589
2610
  })}">
2590
- <img class="${Ae({
2611
+ <img class="${Ne({
2591
2612
  hideIcon: s
2592
2613
  })} ${bt({
2593
2614
  textAlign: i.value
2594
- })}" src="${U}">
2615
+ })}" src="${B}">
2595
2616
  <div class="${Fn}">${e.label}</div>
2596
2617
  </div>
2597
2618
  `;
2598
- }), o = h(() => {
2619
+ }), o = D(() => {
2599
2620
  const {
2600
2621
  hideIcon: s = !1
2601
2622
  } = e;
2602
- return `<img class="${Ae({
2623
+ return `<img class="${Ne({
2603
2624
  hideIcon: s
2604
2625
  })} ${bt({
2605
2626
  textAlign: i.value
2606
- })}" src="${U}">`;
2627
+ })}" src="${B}">`;
2607
2628
  }), r = () => {
2608
2629
  n("click", e.position);
2609
2630
  };
2610
- return () => f(B, {
2631
+ return () => g(V, {
2611
2632
  attrs: {
2612
2633
  position: e.position,
2613
2634
  content: e.label ? a.value : o.value,
@@ -2617,44 +2638,44 @@ const zr = j(function(e, {
2617
2638
  click: r
2618
2639
  }
2619
2640
  });
2620
- }), Zr = j(function(e, {
2641
+ }), kr = j(function(e, {
2621
2642
  emit: n
2622
2643
  }) {
2623
- const i = h(() => {
2644
+ const i = D(() => {
2624
2645
  var s;
2625
2646
  return (s = e.textAlign) != null ? s : "right";
2626
- }), a = h(() => {
2647
+ }), a = D(() => {
2627
2648
  const {
2628
2649
  hideIcon: s = !1
2629
2650
  } = e;
2630
- return Z("div", {
2651
+ return O("div", {
2631
2652
  class: `${$n({
2632
2653
  textAlign: i.value
2633
2654
  })} ${Et({
2634
2655
  textAlign: i.value
2635
2656
  })}`
2636
2657
  }, `
2637
- <img class="${Ae({
2658
+ <img class="${Ne({
2638
2659
  hideIcon: s
2639
- })}" src="${U}">
2660
+ })}" src="${B}">
2640
2661
  <div class="${Fn}">${e.label}</div>
2641
2662
  `);
2642
- }), o = h(() => {
2663
+ }), o = D(() => {
2643
2664
  const {
2644
2665
  hideIcon: s = !1
2645
2666
  } = e;
2646
- return Z("img", {
2647
- class: `${Ae({
2667
+ return O("img", {
2668
+ class: `${Ne({
2648
2669
  hideIcon: s
2649
2670
  })} ${Et({
2650
2671
  textAlign: i.value
2651
2672
  })}`,
2652
- src: U
2673
+ src: B
2653
2674
  });
2654
2675
  }), r = () => {
2655
2676
  n("click", e.position);
2656
2677
  };
2657
- return () => f(V, {
2678
+ return () => g(Y, {
2658
2679
  attrs: {
2659
2680
  position: R(e.position),
2660
2681
  content: e.label ? a.value : o.value
@@ -2667,25 +2688,25 @@ const zr = j(function(e, {
2667
2688
  emit: n
2668
2689
  }) {
2669
2690
  const i = N();
2670
- return () => G(i.supplier === "gmap" ? Zr : zr, {
2691
+ return () => G(i.supplier === "gmap" ? kr : Gr, {
2671
2692
  attrs: e,
2672
2693
  on: {
2673
2694
  click: (a) => n("click", a)
2674
2695
  }
2675
2696
  });
2676
- }), Or = j(function(e, {
2697
+ }), Wr = j(function(e, {
2677
2698
  emit: n
2678
2699
  }) {
2679
2700
  const {
2680
2701
  renderLabel: i
2681
- } = e, a = Rr(b({
2702
+ } = e, a = Or(b({
2682
2703
  places: ri(e, "places"),
2683
2704
  heightLimit: 9,
2684
2705
  widthLimit: 32
2685
2706
  }));
2686
- return () => f("div", [e.places.map((o, r) => {
2707
+ return () => g("div", [e.places.map((o, r) => {
2687
2708
  const s = a.value[r], c = i ? i(o) : o.name;
2688
- return f(W, {
2709
+ return g(W, {
2689
2710
  attrs: {
2690
2711
  position: C(o),
2691
2712
  label: c,
@@ -2696,7 +2717,7 @@ const zr = j(function(e, {
2696
2717
  }
2697
2718
  });
2698
2719
  })]);
2699
- }), Gr = 10, kr = 100, Wr = 500, Ur = "", Br = 13, Vr = "当前位置", Yr = 8, Ze = 18, Ls = de(function(e, {
2720
+ }), Ur = 10, Br = 100, Vr = 500, Yr = "", Hr = 13, Jr = "当前位置", Qr = 8, Ze = 18, Ds = de(function(e, {
2700
2721
  emit: n
2701
2722
  }) {
2702
2723
  var ot, rt;
@@ -2708,38 +2729,38 @@ const zr = j(function(e, {
2708
2729
  } = e, {
2709
2730
  mapRef: s,
2710
2731
  setMap: c
2711
- } = Ee(), {
2732
+ } = Te(), {
2712
2733
  readyPromise: d
2713
2734
  } = N(), {
2714
- zoomRef: M,
2735
+ zoomRef: m,
2715
2736
  setZoom: u
2716
- } = wr({
2737
+ } = Pr({
2717
2738
  mapRef: s,
2718
- defaultValue: Yr
2739
+ defaultValue: Qr
2719
2740
  }), {
2720
2741
  timerStart: l,
2721
- timerStop: g
2722
- } = Cr({
2723
- interval: Wr
2724
- }), m = b({
2742
+ timerStop: f
2743
+ } = br({
2744
+ interval: Vr
2745
+ }), M = b({
2725
2746
  lng: (ot = i == null ? void 0 : i[0]) != null ? ot : 0,
2726
2747
  lat: (rt = i == null ? void 0 : i[1]) != null ? rt : 0,
2727
2748
  name: ""
2728
- }), I = h(() => [m.lng, m.lat]), p = {
2749
+ }), I = D(() => [M.lng, M.lat]), p = {
2729
2750
  source: "geo"
2730
2751
  }, y = (S) => {
2731
2752
  p.source = "api", k(S);
2732
2753
  }, v = (S) => {
2733
- p.source = "api", m.lng = S.lng, m.lat = S.lat, m.name = S.name, ze(u)(Ze), ni(S), ai();
2754
+ p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name, ze(u)(Ze), ni(S), ai();
2734
2755
  }, L = (S) => {
2735
- p.source = "api", m.lng = S.lng, m.lat = S.lat, m.name = S.name;
2756
+ p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name;
2736
2757
  }, A = new Promise((S) => {
2737
2758
  o().then(S).catch(() => S(void 0));
2738
2759
  }), {
2739
2760
  geoPosition: x,
2740
- geoError: D,
2761
+ geoError: h,
2741
2762
  geoLoading: P
2742
- } = be({
2763
+ } = Ee({
2743
2764
  geoDefaultPosition: i,
2744
2765
  onLoad: async (S) => {
2745
2766
  await d, p.source = "geo", k(S.position), n("loadGeoLocation", S);
@@ -2752,10 +2773,10 @@ const zr = j(function(e, {
2752
2773
  onChange: (S) => n("changeGeoLocation", S),
2753
2774
  onError: (S) => n("geoError", S)
2754
2775
  });
2755
- r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => D.value ? !1 : (y(x.value), !0);
2776
+ r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => h.value ? !1 : (y(x.value), !0);
2756
2777
  const {
2757
2778
  isDragging: E
2758
- } = yr({
2779
+ } = Lr({
2759
2780
  mapRef: s,
2760
2781
  onChange: (S) => {
2761
2782
  p.source = "drag", l(), k(S), n("changeByDrag", S);
@@ -2768,7 +2789,7 @@ const zr = j(function(e, {
2768
2789
  placeCandidates: nt,
2769
2790
  availableRef: it,
2770
2791
  isElectedRef: at
2771
- } = Nr({
2792
+ } = wr({
2772
2793
  pointRef: I,
2773
2794
  context: p,
2774
2795
  getRecomendPlace: a,
@@ -2776,11 +2797,11 @@ const zr = j(function(e, {
2776
2797
  const J = S == null ? void 0 : S.source;
2777
2798
  switch (J) {
2778
2799
  case "drag":
2779
- return Gr;
2800
+ return Ur;
2780
2801
  case "api":
2781
2802
  case "geo":
2782
2803
  case "default":
2783
- return kr;
2804
+ return Br;
2784
2805
  default:
2785
2806
  throw new Error(`MyError: should not call getLimit on source: ${J}`);
2786
2807
  }
@@ -2789,7 +2810,7 @@ const zr = j(function(e, {
2789
2810
  p.source !== "recomend" && ii(), n("changePlace", S);
2790
2811
  },
2791
2812
  onChange: async (S) => {
2792
- await g.promise, p.source = "recomend", Object.assign(m, {
2813
+ await f.promise, p.source = "recomend", Object.assign(M, {
2793
2814
  ...S
2794
2815
  }), ze(u)(Ze), n("changeRecomandPlace", S);
2795
2816
  },
@@ -2799,33 +2820,33 @@ const zr = j(function(e, {
2799
2820
  });
2800
2821
  return Oe(() => {
2801
2822
  r.onChangeCenterPlace({
2802
- ...m
2823
+ ...M
2803
2824
  });
2804
2825
  }), Oe(() => {
2805
2826
  r.onChangeRecomendPlaces([...nt.value]);
2806
2827
  }), () => {
2807
- const S = it.value ? at.value ? m.name : `${m.name} ${Ur}` : e.unavailableTitle, J = it.value ? at.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2808
- return f(we, {
2828
+ const S = it.value ? at.value ? M.name : `${M.name} ${Yr}` : e.unavailableTitle, J = it.value ? at.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2829
+ return g(Pe, {
2809
2830
  attrs: {
2810
2831
  center: I.value,
2811
- zoom: M.value,
2832
+ zoom: m.value,
2812
2833
  mapRef: c
2813
2834
  }
2814
- }, [!P.value && !D.value && f(Te, {
2835
+ }, [!P.value && !h.value && g(ve, {
2815
2836
  attrs: {
2816
2837
  position: x.value
2817
2838
  }
2818
- }), M.value >= Br && f(Or, {
2839
+ }), m.value >= Hr && g(Wr, {
2819
2840
  attrs: {
2820
2841
  places: nt.value,
2821
- renderLabel: (st) => Ro(st, m) ? void 0 : st.name
2842
+ renderLabel: (st) => Ro(st, M) ? void 0 : st.name
2822
2843
  },
2823
2844
  on: {
2824
2845
  click: L
2825
2846
  }
2826
- }), P.value ? null : f(po, {
2847
+ }), P.value ? null : g(po, {
2827
2848
  attrs: {
2828
- title: so(S) || Vr,
2849
+ title: so(S) || Jr,
2829
2850
  description: J,
2830
2851
  type: E.value ? "locator" : "box"
2831
2852
  },
@@ -2834,35 +2855,35 @@ const zr = j(function(e, {
2834
2855
  }
2835
2856
  })]);
2836
2857
  };
2837
- }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "getDefaultCenterPlace", "loading", "mapContext"]), Hr = [116.2317, 39.5427], Tt = (t) => t.lng !== void 0 && t.lat !== void 0, Jr = () => {
2858
+ }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "getDefaultCenterPlace", "loading", "mapContext"]), Fr = [116.2317, 39.5427], Tt = (t) => t.lng !== void 0 && t.lat !== void 0, $r = () => {
2838
2859
  const t = N();
2839
2860
  return { apiMapDistance: (n, i) => {
2840
- if (t.status === ce.SUCCESS)
2861
+ if (t.status === ue.SUCCESS)
2841
2862
  return AMap.GeometryUtil.distance(n, i);
2842
2863
  } };
2843
- }, Qr = () => {
2864
+ }, Xr = () => {
2844
2865
  const t = N();
2845
2866
  return { apiMapDistance: (n, i) => {
2846
- if (t.status === ce.SUCCESS)
2867
+ if (t.status === ue.SUCCESS)
2847
2868
  return google.maps.geometry.spherical.computeDistanceBetween(R(n), R(i));
2848
2869
  } };
2849
- }, ae = () => {
2870
+ }, oe = () => {
2850
2871
  const { supplier: t } = N();
2851
- return t === "gmap" ? Qr() : Jr();
2852
- }, Le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2LjgzM2MuNzc4Ljg2Ljc4MiAxLjM3Ljc4MiAzLjc0djQuOTM0eiIgaWQ9InByZWZpeF9fYiIvPjxwYXRoIGQ9Ik0wIDEuNDkzUzUuNy4xOCA4LjcxOS4wNWMzLjAyLS4xMzEgMy40Ny4wMTcgNS4yODIuMjEuNTA3LjA1MSAzLjI2LjkxIDMuMjYuOTFsLTcuMzAzLjNMMCAxLjQ5NHoiIGlkPSJwcmVmaXhfX2MiLz48cGF0aCBkPS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k0", Kn = "_4a4ovk2";
2875
+ const _r = j(function(e) {
2876
+ const n = D(() => {
2856
2877
  var o;
2857
- const i = e.title ? De(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2878
+ const i = e.title ? xe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2858
2879
  return e.title ? `
2859
2880
  <div class="${_n}">
2860
2881
  <div class="${Kn}">${i}</div>
2861
- <img src="${Le}" class="${Se}" style="${a}">
2882
+ <img src="${he}" class="${De}" style="${a}">
2862
2883
  </div>
2863
- ` : `<img src="${Le}" class="${Se}" style="${a}">`;
2884
+ ` : `<img src="${he}" class="${De}" style="${a}">`;
2864
2885
  });
2865
- return () => f(B, {
2886
+ return () => g(V, {
2866
2887
  attrs: {
2867
2888
  position: e.position,
2868
2889
  content: n.value,
@@ -2870,22 +2891,22 @@ const Fr = j(function(e) {
2870
2891
  registerOverlay: e.registerOverlay
2871
2892
  }
2872
2893
  });
2873
- }), $r = j(function(e) {
2874
- const n = h(() => {
2894
+ }), Kr = j(function(e) {
2895
+ const n = D(() => {
2875
2896
  var o;
2876
- const i = e.title ? De(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2877
- return e.title ? Z("div", {
2897
+ const i = e.title ? xe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2898
+ return e.title ? O("div", {
2878
2899
  class: _n
2879
2900
  }, `
2880
2901
  <div class="${Kn}">${i}</div>
2881
- <img src="${Le}" class="${Se}" style="${a}">
2882
- `) : Z("img", {
2883
- class: Se,
2884
- src: Le,
2902
+ <img src="${he}" class="${De}" style="${a}">
2903
+ `) : O("img", {
2904
+ class: De,
2905
+ src: he,
2885
2906
  style: a
2886
2907
  });
2887
2908
  });
2888
- return () => f(V, {
2909
+ return () => g(Y, {
2889
2910
  attrs: {
2890
2911
  position: R(e.position),
2891
2912
  content: n.value,
@@ -2894,10 +2915,10 @@ const Fr = j(function(e) {
2894
2915
  });
2895
2916
  }), Ke = j(function(e) {
2896
2917
  const n = N();
2897
- return () => G(n.supplier === "gmap" ? $r : Fr, {
2918
+ return () => G(n.supplier === "gmap" ? Kr : _r, {
2898
2919
  attrs: e
2899
2920
  });
2900
- }), Xr = j(function(e) {
2921
+ }), qr = j(function(e) {
2901
2922
  return () => {
2902
2923
  const {
2903
2924
  path: n
@@ -2905,7 +2926,7 @@ const Fr = j(function(e) {
2905
2926
  if (n.length === 0)
2906
2927
  return null;
2907
2928
  const a = 2 * (window.innerWidth * 0.01);
2908
- return f(re, {
2929
+ return g(se, {
2909
2930
  attrs: {
2910
2931
  path: n,
2911
2932
  strokeWeight: a,
@@ -2918,14 +2939,14 @@ const Fr = j(function(e) {
2918
2939
  }
2919
2940
  });
2920
2941
  };
2921
- }), _r = j(function(e) {
2922
- const n = h(() => e.path.map(R));
2942
+ }), es = j(function(e) {
2943
+ const n = D(() => e.path.map(R));
2923
2944
  return () => {
2924
2945
  const i = n.value;
2925
2946
  if (i.length === 0)
2926
2947
  return null;
2927
2948
  const o = 2 * (window.innerWidth * 0.01), r = o / 4;
2928
- return f(pe, {
2949
+ return g(je, {
2929
2950
  attrs: {
2930
2951
  path: i,
2931
2952
  strokeWeight: o,
@@ -2953,12 +2974,12 @@ const Fr = j(function(e) {
2953
2974
  };
2954
2975
  }), qe = j(function(e) {
2955
2976
  const n = N();
2956
- return () => G(n.supplier === "gmap" ? _r : Xr, {
2977
+ return () => G(n.supplier === "gmap" ? es : qr, {
2957
2978
  attrs: e
2958
2979
  });
2959
2980
  }), qn = (t) => {
2960
2981
  const e = z([]), n = new AMap.Walking({});
2961
- return te(
2982
+ return ne(
2962
2983
  () => ({ ...t }),
2963
2984
  ({ from: i, to: a }) => {
2964
2985
  n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
@@ -2969,8 +2990,8 @@ const Fr = j(function(e) {
2969
2990
  if (!c.routes)
2970
2991
  return;
2971
2992
  const d = c.routes[0];
2972
- for (const M of d.steps) {
2973
- const u = M.path.map(({ lng: l, lat: g }) => [l, g]);
2993
+ for (const m of d.steps) {
2994
+ const u = m.path.map(({ lng: l, lat: f }) => [l, f]);
2974
2995
  s = s.concat(u);
2975
2996
  }
2976
2997
  e.value = s;
@@ -2987,7 +3008,7 @@ const Fr = j(function(e) {
2987
3008
  ), e;
2988
3009
  }, ei = (t) => {
2989
3010
  const e = z([]), n = new google.maps.DirectionsService();
2990
- return te(
3011
+ return ne(
2991
3012
  () => ({ ...t }),
2992
3013
  ({ from: i, to: a }) => {
2993
3014
  n.route(
@@ -3000,9 +3021,9 @@ const Fr = j(function(e) {
3000
3021
  switch (r) {
3001
3022
  case google.maps.DirectionsStatus.OK: {
3002
3023
  let s = [];
3003
- const d = o.routes[0].overview_path.map((M) => [
3004
- M.lng(),
3005
- M.lat()
3024
+ const d = o.routes[0].overview_path.map((m) => [
3025
+ m.lng(),
3026
+ m.lat()
3006
3027
  ]);
3007
3028
  s = s.concat(d), e.value = s;
3008
3029
  return;
@@ -3018,26 +3039,26 @@ const Fr = j(function(e) {
3018
3039
  );
3019
3040
  }
3020
3041
  ), e;
3021
- }, Ss = (t) => {
3042
+ }, ws = (t) => {
3022
3043
  const { supplier: e } = N();
3023
3044
  return e === "gmap" ? ei(t) : qn(t);
3024
- }, Kr = j(function(e, {
3045
+ }, ts = j(function(e, {
3025
3046
  slots: n
3026
3047
  }) {
3027
3048
  const i = qn(e);
3028
3049
  return () => {
3029
3050
  var a;
3030
- return f("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3051
+ return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3031
3052
  path: i
3032
3053
  }))]);
3033
3054
  };
3034
- }), qr = j(function(e, {
3055
+ }), ns = j(function(e, {
3035
3056
  slots: n
3036
3057
  }) {
3037
3058
  const i = ei(e);
3038
3059
  return () => {
3039
3060
  var a;
3040
- return f("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3061
+ return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3041
3062
  path: i
3042
3063
  }))]);
3043
3064
  };
@@ -3047,52 +3068,52 @@ const Fr = j(function(e) {
3047
3068
  const {
3048
3069
  supplier: i
3049
3070
  } = N();
3050
- return () => G(i === "gmap" ? qr : Kr, {
3071
+ return () => G(i === "gmap" ? ns : ts, {
3051
3072
  attrs: e,
3052
3073
  scopedSlots: n
3053
3074
  });
3054
- }), Ne = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
3055
- var ti = "rrvp0y3", he = "rrvp0y2";
3056
- const es = j(function(e) {
3057
- const n = h(() => `<img src="${Ne}" class="${he}">`), i = h(() => `<img src="${Ne}" class="${he} ${ti}">`);
3058
- return () => f("div", [f(B, {
3075
+ }), we = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
3076
+ var ti = "rrvp0y3", Ce = "rrvp0y2";
3077
+ const is = j(function(e) {
3078
+ const n = D(() => `<img src="${we}" class="${Ce}">`), i = D(() => `<img src="${we}" class="${Ce} ${ti}">`);
3079
+ return () => g("div", [g(V, {
3059
3080
  attrs: {
3060
3081
  position: e.position,
3061
3082
  anchor: "bottom-center",
3062
3083
  content: n.value
3063
3084
  }
3064
- }), f(B, {
3085
+ }), g(V, {
3065
3086
  attrs: {
3066
3087
  position: e.position,
3067
3088
  anchor: "bottom-center",
3068
3089
  content: i.value
3069
3090
  }
3070
3091
  })]);
3071
- }), ts = j(function(e) {
3072
- const n = h(() => Z("img", {
3073
- class: he,
3074
- src: Ne
3075
- })), i = h(() => Z("img", {
3076
- class: `${he} ${ti}`,
3077
- src: Ne
3092
+ }), as = j(function(e) {
3093
+ const n = D(() => O("img", {
3094
+ class: Ce,
3095
+ src: we
3096
+ })), i = D(() => O("img", {
3097
+ class: `${Ce} ${ti}`,
3098
+ src: we
3078
3099
  }));
3079
3100
  return () => {
3080
3101
  const a = R(e.position);
3081
- return f("div", [f(V, {
3102
+ return g("div", [g(Y, {
3082
3103
  attrs: {
3083
3104
  position: a,
3084
3105
  content: n.value
3085
3106
  }
3086
- }), f(V, {
3107
+ }), g(Y, {
3087
3108
  attrs: {
3088
3109
  position: a,
3089
3110
  content: i.value
3090
3111
  }
3091
3112
  })]);
3092
3113
  };
3093
- }), ns = j(function(e) {
3114
+ }), os = j(function(e) {
3094
3115
  const n = N();
3095
- return () => G(n.supplier === "gmap" ? ts : es, {
3116
+ return () => G(n.supplier === "gmap" ? as : is, {
3096
3117
  attrs: e
3097
3118
  });
3098
3119
  }), tt = 2e3, Rt = j(function(e) {
@@ -3102,33 +3123,81 @@ const es = j(function(e) {
3102
3123
  title: i,
3103
3124
  registerOverlay: a
3104
3125
  } = e, o = C(n);
3105
- return f("div", [f(O, {
3126
+ return g("div", [g(Z, {
3106
3127
  attrs: {
3107
3128
  type: "start",
3108
3129
  position: o,
3109
3130
  title: i,
3110
3131
  registerOverlay: a
3111
3132
  }
3112
- }), f(ns, {
3133
+ }), g(os, {
3113
3134
  attrs: {
3114
3135
  position: o
3115
3136
  }
3116
- }), f(W, {
3137
+ }), g(W, {
3117
3138
  attrs: {
3118
3139
  position: o,
3119
3140
  label: n.name,
3120
3141
  hideIcon: !0
3121
3142
  }
3122
- }), f(H, {
3143
+ }), g(U, {
3123
3144
  attrs: {
3124
3145
  registerOverlay: a
3125
3146
  }
3126
3147
  })]);
3127
3148
  };
3128
- }), is = j(function(e) {
3149
+ }), rs = j(function(e) {
3150
+ return () => {
3151
+ const {
3152
+ from: n,
3153
+ to: i,
3154
+ passengerPosition: a,
3155
+ registerOverlay: o
3156
+ } = e, r = C(n), s = C(i);
3157
+ return g("div", [g(pe, {
3158
+ attrs: {
3159
+ to: s,
3160
+ from: r,
3161
+ render: ({
3162
+ path: c
3163
+ }) => g(Ie, {
3164
+ attrs: {
3165
+ path: c
3166
+ }
3167
+ })
3168
+ }
3169
+ }), g(Z, {
3170
+ attrs: {
3171
+ type: "start",
3172
+ registerOverlay: o,
3173
+ position: r
3174
+ }
3175
+ }), g(Z, {
3176
+ attrs: {
3177
+ type: "end",
3178
+ registerOverlay: o,
3179
+ position: s
3180
+ }
3181
+ }), ",", !!a && [g(ve, {
3182
+ attrs: {
3183
+ position: a,
3184
+ registerOverlay: o
3185
+ }
3186
+ }), g(ee, {
3187
+ attrs: {
3188
+ registerOverlay: o,
3189
+ fitViewKey: JSON.stringify(a)
3190
+ }
3191
+ })], g(U, {
3192
+ attrs: {
3193
+ registerOverlay: o
3194
+ }
3195
+ })]);
3196
+ };
3197
+ }), ss = j(function(e) {
3129
3198
  const {
3130
3199
  apiMapDistance: n
3131
- } = ae();
3200
+ } = oe();
3132
3201
  return () => {
3133
3202
  const {
3134
3203
  from: i,
@@ -3137,41 +3206,41 @@ const es = j(function(e) {
3137
3206
  renderTitle: r,
3138
3207
  registerOverlay: s
3139
3208
  } = e, c = C(i), d = o ? n(o, c) : 0;
3140
- return f("div", [!!o && [f(Te, {
3209
+ return g("div", [!!o && [g(ve, {
3141
3210
  attrs: {
3142
3211
  position: o,
3143
3212
  registerOverlay: s
3144
3213
  }
3145
- }), f(ue, {
3214
+ }), g(ee, {
3146
3215
  attrs: {
3147
3216
  registerOverlay: s,
3148
3217
  fitViewKey: JSON.stringify(o)
3149
3218
  }
3150
- })], f(O, {
3219
+ })], g(Z, {
3151
3220
  attrs: {
3152
3221
  type: "start",
3153
3222
  position: c,
3154
3223
  registerOverlay: s
3155
3224
  }
3156
- }), f(W, {
3225
+ }), g(W, {
3157
3226
  attrs: {
3158
3227
  position: c,
3159
3228
  label: i.name,
3160
3229
  hideIcon: !0
3161
3230
  }
3162
- }), a[0] !== c[0] || a[1] !== c[1] ? f(xe, {
3231
+ }), a[0] !== c[0] || a[1] !== c[1] ? g(pe, {
3163
3232
  attrs: {
3164
3233
  from: a,
3165
3234
  to: c,
3166
3235
  render: ({
3167
- path: M,
3236
+ path: m,
3168
3237
  distance: u,
3169
3238
  duration: l
3170
- }) => [f(Ce, {
3239
+ }) => [g(Ie, {
3171
3240
  attrs: {
3172
- path: M
3241
+ path: m
3173
3242
  }
3174
- }), f(Ke, {
3243
+ }), g(Ke, {
3175
3244
  attrs: {
3176
3245
  position: a,
3177
3246
  title: r({
@@ -3180,35 +3249,35 @@ const es = j(function(e) {
3180
3249
  }),
3181
3250
  registerOverlay: s
3182
3251
  }
3183
- }), f(ue, {
3252
+ }), g(ee, {
3184
3253
  attrs: {
3185
3254
  registerOverlay: s,
3186
3255
  fitViewKey: JSON.stringify(a)
3187
3256
  }
3188
3257
  })]
3189
3258
  }
3190
- }) : null, !!o && d && d <= tt && f(et, {
3259
+ }) : null, !!o && d && d <= tt && g(et, {
3191
3260
  attrs: {
3192
3261
  from: o,
3193
3262
  to: c,
3194
3263
  render: ({
3195
- path: M
3196
- }) => f(qe, {
3264
+ path: m
3265
+ }) => g(qe, {
3197
3266
  attrs: {
3198
- path: M
3267
+ path: m
3199
3268
  }
3200
3269
  })
3201
3270
  }
3202
- }), f(H, {
3271
+ }), g(U, {
3203
3272
  attrs: {
3204
3273
  registerOverlay: s
3205
3274
  }
3206
3275
  })]);
3207
3276
  };
3208
- }), as = j(function(e) {
3277
+ }), cs = j(function(e) {
3209
3278
  const {
3210
3279
  apiMapDistance: n
3211
- } = ae();
3280
+ } = oe();
3212
3281
  return () => {
3213
3282
  const {
3214
3283
  from: i,
@@ -3216,51 +3285,51 @@ const es = j(function(e) {
3216
3285
  title: o,
3217
3286
  registerOverlay: r
3218
3287
  } = e, s = C(i), c = a ? n(a, s) : 0;
3219
- return f("div", [f(O, {
3288
+ return g("div", [g(Z, {
3220
3289
  attrs: {
3221
3290
  type: "start",
3222
3291
  position: s,
3223
3292
  title: o,
3224
3293
  registerOverlay: r
3225
3294
  }
3226
- }), f(W, {
3295
+ }), g(W, {
3227
3296
  attrs: {
3228
3297
  position: s,
3229
3298
  label: i.name,
3230
3299
  hideIcon: !0
3231
3300
  }
3232
- }), !!a && [f(Te, {
3301
+ }), !!a && [g(ve, {
3233
3302
  attrs: {
3234
3303
  position: a,
3235
3304
  registerOverlay: r
3236
3305
  }
3237
- }), f(ue, {
3306
+ }), g(ee, {
3238
3307
  attrs: {
3239
3308
  registerOverlay: r,
3240
3309
  fitViewKey: JSON.stringify(a)
3241
3310
  }
3242
- })], !!a && c && c <= tt && f(et, {
3311
+ })], !!a && c && c <= tt && g(et, {
3243
3312
  attrs: {
3244
3313
  from: a,
3245
3314
  to: s,
3246
3315
  render: ({
3247
3316
  path: d
3248
- }) => f(qe, {
3317
+ }) => g(qe, {
3249
3318
  attrs: {
3250
3319
  path: d
3251
3320
  }
3252
3321
  })
3253
3322
  }
3254
- }), f(H, {
3323
+ }), g(U, {
3255
3324
  attrs: {
3256
3325
  registerOverlay: r
3257
3326
  }
3258
3327
  })]);
3259
3328
  };
3260
- }), os = j(function(e) {
3329
+ }), us = j(function(e) {
3261
3330
  const {
3262
3331
  apiMapDistance: n
3263
- } = ae();
3332
+ } = oe();
3264
3333
  return () => {
3265
3334
  const {
3266
3335
  from: i,
@@ -3269,53 +3338,53 @@ const es = j(function(e) {
3269
3338
  title: r,
3270
3339
  registerOverlay: s
3271
3340
  } = e, c = C(i), d = o ? n(o, c) : 0;
3272
- return f("div", [f(Ke, {
3341
+ return g("div", [g(Ke, {
3273
3342
  attrs: {
3274
3343
  position: a,
3275
3344
  title: r,
3276
3345
  registerOverlay: s
3277
3346
  }
3278
- }), f(O, {
3347
+ }), g(Z, {
3279
3348
  attrs: {
3280
3349
  type: "start",
3281
3350
  position: c,
3282
3351
  registerOverlay: s
3283
3352
  }
3284
- }), f(W, {
3353
+ }), g(W, {
3285
3354
  attrs: {
3286
3355
  position: c,
3287
3356
  label: i.name,
3288
3357
  hideIcon: !0
3289
3358
  }
3290
- }), !!o && d && d <= tt && f(et, {
3359
+ }), !!o && d && d <= tt && g(et, {
3291
3360
  attrs: {
3292
3361
  from: o,
3293
3362
  to: c,
3294
3363
  render: ({
3295
- path: M
3296
- }) => f(qe, {
3364
+ path: m
3365
+ }) => g(qe, {
3297
3366
  attrs: {
3298
- path: M
3367
+ path: m
3299
3368
  }
3300
3369
  })
3301
3370
  }
3302
- }), !!o && [f(Te, {
3371
+ }), !!o && [g(ve, {
3303
3372
  attrs: {
3304
3373
  position: o,
3305
3374
  registerOverlay: s
3306
3375
  }
3307
- }), f(ue, {
3376
+ }), g(ee, {
3308
3377
  attrs: {
3309
3378
  registerOverlay: s,
3310
3379
  fitViewKey: JSON.stringify(o)
3311
3380
  }
3312
- })], f(H, {
3381
+ })], g(U, {
3313
3382
  attrs: {
3314
3383
  registerOverlay: s
3315
3384
  }
3316
3385
  })]);
3317
3386
  };
3318
- }), rs = j(function(e) {
3387
+ }), ls = j(function(e) {
3319
3388
  return () => {
3320
3389
  const {
3321
3390
  to: n,
@@ -3323,19 +3392,19 @@ const es = j(function(e) {
3323
3392
  renderTitle: a,
3324
3393
  registerOverlay: o
3325
3394
  } = e, r = C(n);
3326
- return f("div", [f(O, {
3395
+ return g("div", [g(Z, {
3327
3396
  attrs: {
3328
3397
  type: "end",
3329
3398
  position: r,
3330
3399
  registerOverlay: o
3331
3400
  }
3332
- }), f(W, {
3401
+ }), g(W, {
3333
3402
  attrs: {
3334
3403
  position: r,
3335
3404
  label: n.name,
3336
3405
  hideIcon: !0
3337
3406
  }
3338
- }), f(xe, {
3407
+ }), g(pe, {
3339
3408
  attrs: {
3340
3409
  from: i,
3341
3410
  to: r,
@@ -3343,11 +3412,11 @@ const es = j(function(e) {
3343
3412
  path: s,
3344
3413
  distance: c,
3345
3414
  duration: d
3346
- }) => [f(Ce, {
3415
+ }) => [g(Ie, {
3347
3416
  attrs: {
3348
3417
  path: s
3349
3418
  }
3350
- }), f(Ke, {
3419
+ }), g(Ke, {
3351
3420
  attrs: {
3352
3421
  position: i,
3353
3422
  title: a({
@@ -3356,51 +3425,51 @@ const es = j(function(e) {
3356
3425
  }),
3357
3426
  registerOverlay: o
3358
3427
  }
3359
- }), f(ue, {
3428
+ }), g(ee, {
3360
3429
  attrs: {
3361
3430
  registerOverlay: o,
3362
3431
  fitViewKey: JSON.stringify(i)
3363
3432
  }
3364
3433
  })]
3365
3434
  }
3366
- }), f(H, {
3435
+ }), g(U, {
3367
3436
  attrs: {
3368
3437
  registerOverlay: o
3369
3438
  }
3370
3439
  })]);
3371
3440
  };
3372
- }), ss = j(function(e) {
3441
+ }), ds = j(function(e) {
3373
3442
  return () => {
3374
3443
  const {
3375
3444
  from: n,
3376
3445
  to: i,
3377
3446
  registerOverlay: a
3378
3447
  } = e, o = C(n), r = C(i);
3379
- return f("div", [f(O, {
3448
+ return g("div", [g(Z, {
3380
3449
  attrs: {
3381
3450
  type: "start",
3382
3451
  position: o,
3383
3452
  registerOverlay: a
3384
3453
  }
3385
- }), f(O, {
3454
+ }), g(Z, {
3386
3455
  attrs: {
3387
3456
  type: "end",
3388
3457
  position: r,
3389
3458
  registerOverlay: a
3390
3459
  }
3391
- }), f(W, {
3460
+ }), g(W, {
3392
3461
  attrs: {
3393
3462
  position: o,
3394
3463
  label: n.name,
3395
3464
  hideIcon: !0
3396
3465
  }
3397
- }), f(W, {
3466
+ }), g(W, {
3398
3467
  attrs: {
3399
3468
  position: r,
3400
3469
  label: i.name,
3401
3470
  hideIcon: !0
3402
3471
  }
3403
- }), f(H, {
3472
+ }), g(U, {
3404
3473
  attrs: {
3405
3474
  registerOverlay: a
3406
3475
  }
@@ -3413,56 +3482,56 @@ const es = j(function(e) {
3413
3482
  to: i,
3414
3483
  registerOverlay: a
3415
3484
  } = e, o = C(n), r = C(i);
3416
- return f("div", [f(O, {
3485
+ return g("div", [g(Z, {
3417
3486
  attrs: {
3418
3487
  type: "start",
3419
3488
  position: o,
3420
3489
  registerOverlay: a
3421
3490
  }
3422
- }), f(O, {
3491
+ }), g(Z, {
3423
3492
  attrs: {
3424
3493
  type: "end",
3425
3494
  position: r,
3426
3495
  registerOverlay: a
3427
3496
  }
3428
- }), f(W, {
3497
+ }), g(W, {
3429
3498
  attrs: {
3430
3499
  position: o,
3431
3500
  label: n.name,
3432
3501
  hideIcon: !0
3433
3502
  }
3434
- }), f(W, {
3503
+ }), g(W, {
3435
3504
  attrs: {
3436
3505
  position: r,
3437
3506
  label: i.name,
3438
3507
  hideIcon: !0
3439
3508
  }
3440
- }), f(xe, {
3509
+ }), g(pe, {
3441
3510
  attrs: {
3442
3511
  from: o,
3443
3512
  to: r,
3444
3513
  render: ({
3445
3514
  path: s
3446
- }) => f(Ce, {
3515
+ }) => g(Ie, {
3447
3516
  attrs: {
3448
3517
  path: s,
3449
3518
  done: !0
3450
3519
  }
3451
3520
  })
3452
3521
  }
3453
- }), f(H, {
3522
+ }), g(U, {
3454
3523
  attrs: {
3455
3524
  registerOverlay: a
3456
3525
  }
3457
3526
  })]);
3458
3527
  };
3459
- }), Ns = j(function(e) {
3528
+ }), Cs = j(function(e) {
3460
3529
  const {
3461
3530
  mapRef: n,
3462
3531
  setMap: i
3463
- } = Ee(), {
3532
+ } = Te(), {
3464
3533
  registerFitVeiw: a
3465
- } = Pe({
3534
+ } = be({
3466
3535
  mapRef: n,
3467
3536
  autoFitTimeout: 5e3,
3468
3537
  padding: [25, 20, 15, 15]
@@ -3471,14 +3540,15 @@ const es = j(function(e) {
3471
3540
  const {
3472
3541
  from: o,
3473
3542
  to: r
3474
- } = e, s = Tt(o) && Tt(r), c = s ? C(o) : [...Hr];
3475
- return f(we, {
3543
+ } = e, s = Tt(o) && Tt(r), c = s ? C(o) : [...Fr];
3544
+ return g(Pe, {
3476
3545
  attrs: {
3477
3546
  center: c,
3478
3547
  zoom: 3,
3479
- mapRef: i
3548
+ mapRef: i,
3549
+ touchEnable: !1
3480
3550
  }
3481
- }, [s && f(Ve, {
3551
+ }, [s && g(Ve, {
3482
3552
  attrs: {
3483
3553
  from: o,
3484
3554
  to: r,
@@ -3486,7 +3556,7 @@ const es = j(function(e) {
3486
3556
  }
3487
3557
  })]);
3488
3558
  };
3489
- }), cs = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], hs = de(function(e) {
3559
+ }), gs = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], xs = de(function(e) {
3490
3560
  const {
3491
3561
  from: n,
3492
3562
  interval: i,
@@ -3497,102 +3567,109 @@ const es = j(function(e) {
3497
3567
  renderInServiceTitle: c
3498
3568
  } = e, {
3499
3569
  geoPosition: d,
3500
- geoError: M
3501
- } = be({
3570
+ geoError: m
3571
+ } = Ee({
3502
3572
  geoDefaultPosition: C(n)
3503
3573
  }), u = w(C(e.from));
3504
- return T(() => e.driverStatus, (l, g, m) => {
3505
- if (!cs.includes(l))
3574
+ return T(() => e.driverStatus, (l, f, M) => {
3575
+ if (!gs.includes(l))
3506
3576
  return;
3507
3577
  const I = setInterval(() => {
3508
3578
  r().then((p) => u.value = p);
3509
3579
  }, i);
3510
- m(() => clearInterval(I));
3580
+ M(() => clearInterval(I));
3511
3581
  }, {
3512
3582
  immediate: !0
3513
3583
  }), () => {
3514
3584
  const {
3515
3585
  driverStatus: l,
3516
- from: g,
3517
- to: m,
3586
+ from: f,
3587
+ to: M,
3518
3588
  dispatchingTitle: I,
3519
3589
  bookDispatchingTitle: p,
3520
3590
  bookDispatchedTitle: y,
3521
3591
  driverArrivedTitle: v
3522
- } = e, L = u.value, A = M.value ? void 0 : d.value;
3523
- return f(we, {
3592
+ } = e, L = u.value, A = m.value ? void 0 : d.value;
3593
+ return g(Pe, {
3524
3594
  attrs: {
3525
- center: C(g),
3595
+ center: C(f),
3526
3596
  zoom: 13,
3527
3597
  mapRef: o
3528
3598
  }
3529
- }, [l === "dispatching" ? f(Rt, {
3599
+ }, [l === "dispatching" ? g(Rt, {
3530
3600
  attrs: {
3531
- from: g,
3601
+ from: f,
3532
3602
  title: I,
3533
3603
  registerOverlay: a
3534
3604
  }
3535
- }) : l === "book-dispatching" ? f(Rt, {
3605
+ }) : l === "book-dispatching" ? g(Rt, {
3536
3606
  attrs: {
3537
- from: g,
3607
+ from: f,
3538
3608
  title: p,
3539
3609
  registerOverlay: a
3540
3610
  }
3541
- }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" || l === "assign" || l === "confirmed" ? f(is, {
3611
+ }) : l === "assign" || l === "confirmed" ? g(rs, {
3612
+ attrs: {
3613
+ from: f,
3614
+ to: M,
3615
+ passengerPosition: A,
3616
+ registerOverlay: a
3617
+ }
3618
+ }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? g(ss, {
3542
3619
  attrs: {
3543
- from: g,
3620
+ from: f,
3544
3621
  carPosition: L,
3545
3622
  passengerPosition: A,
3546
3623
  renderTitle: s,
3547
3624
  registerOverlay: a
3548
3625
  }
3549
- }) : l === "book-dispatched" ? f(as, {
3626
+ }) : l === "book-dispatched" ? g(cs, {
3550
3627
  attrs: {
3551
- from: g,
3628
+ from: f,
3552
3629
  passengerPosition: A,
3553
3630
  title: y,
3554
3631
  registerOverlay: a
3555
3632
  }
3556
- }) : l === "inService" ? f(rs, {
3633
+ }) : l === "inService" ? g(ls, {
3557
3634
  attrs: {
3558
- to: m,
3635
+ to: M,
3559
3636
  carPosition: L,
3560
3637
  renderTitle: c,
3561
3638
  registerOverlay: a
3562
3639
  }
3563
- }) : l === "driverArrived" ? f(os, {
3640
+ }) : l === "driverArrived" ? g(us, {
3564
3641
  attrs: {
3565
- from: g,
3642
+ from: f,
3566
3643
  carPosition: L,
3567
3644
  passengerPosition: A,
3568
3645
  title: v,
3569
3646
  registerOverlay: a
3570
3647
  }
3571
- }) : l === "canceled" || l === "canceling" ? f(ss, {
3648
+ }) : l === "canceled" || l === "canceling" ? g(ds, {
3572
3649
  attrs: {
3573
- from: g,
3574
- to: m,
3650
+ from: f,
3651
+ to: M,
3575
3652
  registerOverlay: a
3576
3653
  }
3577
- }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? f(Ve, {
3654
+ }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? g(Ve, {
3578
3655
  attrs: {
3579
- from: g,
3580
- to: m,
3656
+ from: f,
3657
+ to: M,
3581
3658
  registerOverlay: a
3582
3659
  }
3583
3660
  }) : (
3584
3661
  // 匹配不到就显示灰色路线
3585
- f(Ve, {
3662
+ g(Ve, {
3586
3663
  attrs: {
3587
- from: g,
3588
- to: m,
3664
+ from: f,
3665
+ to: M,
3589
3666
  registerOverlay: a
3590
3667
  }
3591
3668
  })
3592
3669
  )]);
3593
3670
  };
3594
- }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), us = (t) => {
3595
- const { city: e } = t, n = w(e), { readyPromise: i } = N(), { apiMapDistance: a } = ae(), { geoPosition: o } = be(), r = w(""), s = w([]), { update: c, idx: d } = ie(), M = (l) => {
3671
+ }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), fs = (t) => {
3672
+ const { city: e } = t, n = w(e), { readyPromise: i } = N(), { apiMapDistance: a } = oe(), { geoPosition: o } = Ee(), r = w(""), s = w([]), { update: c, idx: d } = ae(), m = (l) => {
3596
3673
  n.value = l, c();
3597
3674
  }, u = (l) => {
3598
3675
  r.value = l, c();
@@ -3602,11 +3679,11 @@ const es = j(function(e) {
3602
3679
  async () => {
3603
3680
  if (!r.value)
3604
3681
  return;
3605
- await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (g, m) => {
3682
+ await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (f, M) => {
3606
3683
  const I = o.value;
3607
- switch (g) {
3684
+ switch (f) {
3608
3685
  case "complete": {
3609
- s.value = m.poiList.pois.map(
3686
+ s.value = M.poiList.pois.map(
3610
3687
  (p) => {
3611
3688
  const { lat: y, lng: v } = p.location;
3612
3689
  return {
@@ -3624,19 +3701,19 @@ const es = j(function(e) {
3624
3701
  s.value = [];
3625
3702
  return;
3626
3703
  default:
3627
- throw m;
3704
+ throw M;
3628
3705
  }
3629
3706
  });
3630
3707
  },
3631
3708
  {
3632
3709
  immediate: !0
3633
3710
  }
3634
- ), { setKeyword: u, setCity: M, autoCompletePlaces: s };
3635
- }, ls = (t) => {
3636
- const { city: e } = t, n = w({ ...e }), { readyPromise: i } = N(), { apiMapDistance: a } = ae(), { geoPosition: o } = be(), r = w(""), s = w([]), { update: c, idx: d } = ie(), M = (g) => {
3637
- n.value = g, c();
3638
- }, u = (g) => {
3639
- r.value = g, c();
3711
+ ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3712
+ }, ms = (t) => {
3713
+ const { city: e } = t, n = w({ ...e }), { readyPromise: i } = N(), { apiMapDistance: a } = oe(), { geoPosition: o } = Ee(), r = w(""), s = w([]), { update: c, idx: d } = ae(), m = (f) => {
3714
+ n.value = f, c();
3715
+ }, u = (f) => {
3716
+ r.value = f, c();
3640
3717
  }, l = document.createElement("div");
3641
3718
  return T(
3642
3719
  () => d.value,
@@ -3648,13 +3725,13 @@ const es = j(function(e) {
3648
3725
  query: r.value,
3649
3726
  bounds: n.value.bound
3650
3727
  },
3651
- (m, I) => {
3728
+ (M, I) => {
3652
3729
  const p = o.value;
3653
3730
  switch (I) {
3654
3731
  case google.maps.places.PlacesServiceStatus.OK:
3655
- s.value = m.map(({ geometry: y, name: v, formatted_address: L }) => {
3656
- var D, P, E, k;
3657
- const A = (P = (D = y == null ? void 0 : y.location) == null ? void 0 : D.lng()) != null ? P : 0, x = (k = (E = y == null ? void 0 : y.location) == null ? void 0 : E.lat()) != null ? k : 0;
3732
+ s.value = M.map(({ geometry: y, name: v, formatted_address: L }) => {
3733
+ var h, P, E, k;
3734
+ const A = (P = (h = y == null ? void 0 : y.location) == null ? void 0 : h.lng()) != null ? P : 0, x = (k = (E = y == null ? void 0 : y.location) == null ? void 0 : E.lat()) != null ? k : 0;
3658
3735
  return {
3659
3736
  lng: A,
3660
3737
  lat: x,
@@ -3672,11 +3749,11 @@ const es = j(function(e) {
3672
3749
  }
3673
3750
  );
3674
3751
  }
3675
- ), { setKeyword: u, setCity: M, autoCompletePlaces: s };
3676
- }, ds = (t) => {
3752
+ ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3753
+ }, Ms = (t) => {
3677
3754
  const { supplier: e } = N();
3678
- return e === "gmap" ? ls(t) : us(t);
3679
- }, gs = (t) => {
3755
+ return e === "gmap" ? ms(t) : fs(t);
3756
+ }, Is = (t) => {
3680
3757
  var a;
3681
3758
  const { cityNameRef: e, onChange: n } = t, i = b({ name: (a = e.value) != null ? a : "" });
3682
3759
  return T(
@@ -3686,7 +3763,7 @@ const es = j(function(e) {
3686
3763
  i.name = r, n == null || n({ name: r });
3687
3764
  }
3688
3765
  ), i;
3689
- }, fs = (t) => {
3766
+ }, ps = (t) => {
3690
3767
  var o;
3691
3768
  const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = N(), a = b({
3692
3769
  name: (o = e.value) != null ? o : "",
@@ -3708,37 +3785,37 @@ const es = j(function(e) {
3708
3785
  componentRestrictions: {
3709
3786
  administrativeArea: "administrative_area_level_1"
3710
3787
  },
3711
- language: se
3788
+ language: ce
3712
3789
  });
3713
3790
  if (c.length !== 1)
3714
3791
  throw new Error("MyError: multiple city found");
3715
- const { geometry: d } = c[0], M = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3716
- a.name = r, a.bound = M, n == null || n({ name: r, bound: M });
3792
+ const { geometry: d } = c[0], m = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3793
+ a.name = r, a.bound = m, n == null || n({ name: r, bound: m });
3717
3794
  }), a;
3718
- }, Ms = (t) => {
3795
+ }, vs = (t) => {
3719
3796
  const { supplier: e } = N();
3720
- return e === "gmap" ? fs(t) : gs(t);
3721
- }, Ds = (t) => {
3722
- const { cityNameRef: e } = t, n = Ms({
3797
+ return e === "gmap" ? ps(t) : Is(t);
3798
+ }, Ps = (t) => {
3799
+ const { cityNameRef: e } = t, n = vs({
3723
3800
  cityNameRef: e,
3724
3801
  onChange: (s) => o(s)
3725
- }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = ds({ city: n });
3802
+ }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Ms({ city: n });
3726
3803
  return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
3727
3804
  const c = s.target;
3728
3805
  a(c.value);
3729
3806
  } };
3730
- }, ws = () => {
3731
- const { setMap: t, mapRef: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3807
+ }, bs = () => {
3808
+ const { setMap: t, mapRef: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3732
3809
  mapRef: e,
3733
- padding: [25, 20, 15, 15]
3810
+ padding: [19, 26, 19, 26]
3734
3811
  });
3735
3812
  return { setMap: t, registerFitVeiw: n, setFitView: i };
3736
- }, Cs = () => {
3813
+ }, Es = () => {
3737
3814
  const t = b({
3738
3815
  lng: 0,
3739
3816
  lat: 0,
3740
3817
  name: ""
3741
- }), e = w([]), { apiMapDistance: n } = ae(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3818
+ }), e = w([]), { apiMapDistance: n } = oe(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3742
3819
  panToGeoPositionByRecomend: () => {
3743
3820
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3744
3821
  },
@@ -3760,45 +3837,45 @@ const es = j(function(e) {
3760
3837
  setCenterPlaceByUserSpecified: a,
3761
3838
  apiMapDistance: n
3762
3839
  };
3763
- }, xs = () => {
3764
- const { mapRef: t, setMap: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3840
+ }, Ts = () => {
3841
+ const { mapRef: t, setMap: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3765
3842
  mapRef: t,
3766
3843
  autoFitTimeout: 5e3,
3767
- padding: [25, 20, 15, 15]
3844
+ padding: [19, 26, 19, 26]
3768
3845
  });
3769
3846
  return { setMap: e, registerFitVeiw: n, setFitView: i };
3770
3847
  };
3771
3848
  export {
3772
3849
  po as AbsoluteAddressBox,
3773
- Is as AddressBox,
3774
- js as BusinessQuotingMap,
3775
- Ls as BusinessRecomendPlaceMap,
3776
- Ns as BusinessTaxiEndMap,
3777
- hs as BusinessTaxiServiceMap,
3778
- Ce as DrivingLine,
3779
- xe as DrivingRoute,
3780
- we as HeycarMap,
3781
- ps as MapProvider,
3782
- Te as PassengerCircle,
3783
- Or as PickupPoints,
3850
+ js as AddressBox,
3851
+ Ns as BusinessQuotingMap,
3852
+ Ds as BusinessRecomendPlaceMap,
3853
+ Cs as BusinessTaxiEndMap,
3854
+ xs as BusinessTaxiServiceMap,
3855
+ Ie as DrivingLine,
3856
+ pe as DrivingRoute,
3857
+ Pe as HeycarMap,
3858
+ As as MapProvider,
3859
+ ve as PassengerCircle,
3860
+ Wr as PickupPoints,
3784
3861
  W as PlaceCircle,
3785
- O as StartEndPoint,
3862
+ Z as StartEndPoint,
3786
3863
  Ke as TaxiCar,
3787
3864
  qe as WalkingLine,
3788
3865
  et as WalkingRoute,
3789
- ns as WaveCircle,
3790
- Ds as useBusinessMapAutoComplete,
3791
- ws as useBusinessQuotingMap,
3792
- Cs as useBusinessRecomendPlaceMap,
3793
- xs as useBusinessTaxiServiceMap,
3794
- vs as useDrivingRoute,
3795
- be as useGeoLocation,
3796
- Ee as useHeycarMap,
3797
- ys as useMapAngle,
3798
- yr as useMapDrag,
3799
- Pe as useMapFitView,
3800
- ae as useMapGeometry,
3801
- As as useMapPlace,
3802
- Nr as useMapRecomendPlace,
3803
- Ss as useWalkingRoute
3866
+ os as WaveCircle,
3867
+ Ps as useBusinessMapAutoComplete,
3868
+ bs as useBusinessQuotingMap,
3869
+ Es as useBusinessRecomendPlaceMap,
3870
+ Ts as useBusinessTaxiServiceMap,
3871
+ Ls as useDrivingRoute,
3872
+ Ee as useGeoLocation,
3873
+ Te as useHeycarMap,
3874
+ Ss as useMapAngle,
3875
+ Lr as useMapDrag,
3876
+ be as useMapFitView,
3877
+ oe as useMapGeometry,
3878
+ hs as useMapPlace,
3879
+ wr as useMapRecomendPlace,
3880
+ ws as useWalkingRoute
3804
3881
  };