@heycar/heycars-map 0.4.2 → 0.4.3

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,97 @@ 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
+ async function t(e) {
2191
+ return new Promise((n, i) => {
2192
+ AMap.convertFrom(
2193
+ e,
2194
+ "gps",
2195
+ function(a, o) {
2196
+ if (o.info === "ok") {
2197
+ const { lng: r, lat: s } = o.locations[0];
2198
+ n([r, s]);
2199
+ } else
2200
+ i();
2201
+ }
2202
+ );
2203
+ });
2204
+ }
2205
+ return { toGcj02: t };
2206
+ }, Mr = () => ({ toGcj02: async (e) => e }), Ir = () => {
2207
+ const { supplier: t } = N();
2208
+ return t === "gmap" ? Mr() : mr();
2209
+ }, pr = 5e3, Ee = (t) => {
2210
+ var f, M;
2211
+ const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {}, { toGcj02: r } = Ir();
2212
+ let s = !1;
2213
+ const c = w(!1), d = w(!1), m = w(), u = w({
2194
2214
  accuracy: 0,
2195
2215
  altitude: 0,
2196
2216
  altitudeAccuracy: 0,
2197
2217
  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,
2218
+ latitude: (f = o == null ? void 0 : o[1]) != null ? f : 0,
2219
+ longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
2200
2220
  speed: 0
2201
- }), u = w([M.value.longitude, M.value.latitude]);
2221
+ }), l = w([u.value.longitude, u.value.latitude]);
2202
2222
  return T(
2203
2223
  () => !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 });
2224
+ (I, p, y) => {
2225
+ c.value = !0;
2226
+ const v = navigator.geolocation.watchPosition(
2227
+ async (L) => {
2228
+ const A = L.coords, x = [L.coords.longitude, L.coords.latitude], h = await r(x);
2229
+ 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
2230
  },
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);
2231
+ (L) => {
2232
+ c.value = !1, m.value = L;
2233
+ const A = t == null ? void 0 : t.geoDefaultPosition;
2234
+ A && !s && (s = !0, i == null || i({ position: A })), a == null || a(L);
2215
2235
  },
2216
- { timeout: Mr, maximumAge: 0, enableHighAccuracy: !1 }
2236
+ { timeout: pr, maximumAge: 0, enableHighAccuracy: !1 }
2217
2237
  );
2218
- p(() => navigator.geolocation.clearWatch(y));
2238
+ y(() => navigator.geolocation.clearWatch(v));
2219
2239
  },
2220
2240
  { immediate: !0 }
2221
2241
  ), {
2222
- geoError: d,
2223
- geoPosition: u,
2224
- geoCoordinate: M,
2225
- geoLoading: s,
2226
- geoReady: c
2242
+ geoError: m,
2243
+ geoPosition: l,
2244
+ geoCoordinate: u,
2245
+ geoLoading: c,
2246
+ geoReady: d
2227
2247
  };
2228
- }, mr = () => {
2248
+ }, vr = () => {
2229
2249
  const t = z();
2230
2250
  return { mapRef: t, panTo: (i) => {
2231
2251
  var a;
@@ -2233,7 +2253,7 @@ const gr = j(function(e) {
2233
2253
  }, setMap: (i) => {
2234
2254
  t.value = i;
2235
2255
  } };
2236
- }, Ir = () => {
2256
+ }, yr = () => {
2237
2257
  const t = z();
2238
2258
  return { mapRef: t, panTo: (i) => {
2239
2259
  var a;
@@ -2241,45 +2261,45 @@ const gr = j(function(e) {
2241
2261
  }, setMap: (i) => {
2242
2262
  t.value = i;
2243
2263
  } };
2244
- }, Ee = () => {
2264
+ }, Te = () => {
2245
2265
  const { supplier: t } = N();
2246
- return t === "gmap" ? Ir() : mr();
2247
- }, pr = (t) => {
2266
+ return t === "gmap" ? yr() : vr();
2267
+ }, jr = (t) => {
2248
2268
  const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2249
- ye(() => {
2269
+ Le(() => {
2250
2270
  a.value = !0;
2251
2271
  })();
2252
2272
  }, r = (s, { target: c }) => {
2253
2273
  var u;
2254
2274
  a.value = !1;
2255
- const { lng: d, lat: M } = c.getCenter();
2256
- i.value = [d, M], (u = ye(n)) == null || u([d, M]);
2275
+ const { lng: d, lat: m } = c.getCenter();
2276
+ i.value = [d, m], (u = Le(n)) == null || u([d, m]);
2257
2277
  };
2258
2278
  return q(e, {}, o, [
2259
2279
  "onDragStart"
2260
2280
  ]), q(e, {}, r, [
2261
2281
  "onDragEnd"
2262
2282
  ]), { centerRef: i, isDragging: a };
2263
- }, vr = (t) => {
2283
+ }, Ar = (t) => {
2264
2284
  const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2265
- ye(() => {
2285
+ Le(() => {
2266
2286
  a.value = !0;
2267
2287
  })();
2268
2288
  }, r = async () => {
2269
- var M, u;
2289
+ var m, u;
2270
2290
  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]);
2291
+ const s = (m = e.value) == null ? void 0 : m.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2292
+ i.value = [c, d], (u = Le(n)) == null || u([c, d]);
2273
2293
  };
2274
2294
  return F(e, {}, o, [
2275
2295
  "onDragStart"
2276
2296
  ]), F(e, {}, r, [
2277
2297
  "onDragEnd"
2278
2298
  ]), { centerRef: i, isDragging: a };
2279
- }, yr = (t) => {
2299
+ }, Lr = (t) => {
2280
2300
  const { supplier: e } = N();
2281
- return e === "gmap" ? vr(t) : pr(t);
2282
- }, ie = () => {
2301
+ return e === "gmap" ? Ar(t) : jr(t);
2302
+ }, ae = () => {
2283
2303
  const t = w(0);
2284
2304
  return { idx: t, update: () => {
2285
2305
  t.value += 1;
@@ -2289,15 +2309,15 @@ const gr = j(function(e) {
2289
2309
  lng: a.value[0],
2290
2310
  lat: a.value[1],
2291
2311
  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) => {
2312
+ }), { idx: s, update: c } = ae(), d = (l) => {
2313
+ const f = new AMap.Geocoder({ lang: ce }), { lng: M, lat: I } = l;
2314
+ f.getAddress(new AMap.LngLat(M, I), (p, y) => {
2295
2315
  if (p !== "complete")
2296
2316
  return;
2297
2317
  const { addressComponent: v } = y.regeocode, L = v.city ? v.city : v.province, A = v.province;
2298
2318
  n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2299
2319
  });
2300
- }, M = (l) => {
2320
+ }, m = (l) => {
2301
2321
  a.value = l, c();
2302
2322
  }, u = (l) => {
2303
2323
  r.lng = l.lng, r.lat = l.lat, r.name = l.name;
@@ -2306,85 +2326,85 @@ const gr = j(function(e) {
2306
2326
  () => [s.value],
2307
2327
  async () => {
2308
2328
  await o;
2309
- const l = new AMap.Geocoder({ lang: se }), [g, m] = a.value;
2310
- l.getAddress(new AMap.LngLat(g, m), (I, p) => {
2329
+ const l = new AMap.Geocoder({ lang: ce }), [f, M] = a.value;
2330
+ l.getAddress(new AMap.LngLat(f, M), (I, p) => {
2311
2331
  switch (I) {
2312
2332
  case "complete": {
2313
2333
  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: "" });
2334
+ 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
2335
  return;
2316
2336
  }
2317
2337
  case "no_data":
2318
- r.name = "", e == null || e({ lng: g, lat: m, name: "" });
2338
+ r.name = "", r.lng = f, r.lat = M, e == null || e({ lng: f, lat: M, name: "" });
2319
2339
  return;
2320
2340
  case "error":
2321
2341
  throw p;
2322
2342
  }
2323
2343
  });
2324
2344
  }
2325
- ), { place: r, updatePlace: M, setPlace: u, updateCity: d };
2345
+ ), { place: r, updatePlace: m, setPlace: u, updateCity: d };
2326
2346
  }, 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({
2347
+ const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = w(i), { readyPromise: o } = N(), { idx: r, update: s } = ae(), c = b({
2328
2348
  lng: a.value[0],
2329
2349
  lat: a.value[1],
2330
2350
  name: ""
2331
2351
  }), d = (l) => {
2332
2352
  a.value = l, s();
2333
- }, M = (l) => {
2353
+ }, m = (l) => {
2334
2354
  c.lng = l.lng, c.lat = l.lat, c.name = l.name;
2335
2355
  }, 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;
2356
+ 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
2357
  n == null || n({ cityName: y, cityParentName: v, countryName: L });
2338
2358
  };
2339
2359
  return T(
2340
2360
  () => r.value,
2341
2361
  async () => {
2342
2362
  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 });
2363
+ 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;
2364
+ 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
2365
  }
2346
- ), { place: c, updatePlace: d, setPlace: M, updateCity: u };
2347
- }, As = (t) => {
2366
+ ), { place: c, updatePlace: d, setPlace: m, updateCity: u };
2367
+ }, hs = (t) => {
2348
2368
  const { supplier: e } = N();
2349
2369
  return e === "gmap" ? Yn(t) : Vn(t);
2350
- }, jr = (t, e) => {
2370
+ }, Sr = (t, e) => {
2351
2371
  let n = 1 / 0, i = t;
2352
2372
  for (const a of e) {
2353
2373
  const o = AMap.GeometryUtil.distance(C(t), C(a));
2354
2374
  o >= n || (i = a, n = o);
2355
2375
  }
2356
2376
  return { shortestPlace: i, shortestDistance: n };
2357
- }, Ar = (t, e) => {
2377
+ }, Nr = (t, e) => {
2358
2378
  let n = 1 / 0, i = t;
2359
2379
  for (const a of e) {
2360
2380
  const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
2361
2381
  o >= n || (i = a, n = o);
2362
2382
  }
2363
2383
  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({
2384
+ }, hr = (t) => {
2385
+ 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
2386
  pointRef: e,
2367
2387
  onChange: r,
2368
2388
  onChangeCity: s
2369
- }), y = b({ ...g }), v = h(() => {
2389
+ }), y = b({ ...f }), v = D(() => {
2370
2390
  const A = e.value;
2371
2391
  return d.value.some(
2372
2392
  (x) => vn(C(x), A)
2373
2393
  );
2374
2394
  }), L = async () => {
2375
- const A = await n({ ...g }, a);
2395
+ const A = await n({ ...f }, a);
2376
2396
  c.value = A !== void 0, d.value = A != null ? A : [];
2377
2397
  };
2378
2398
  return T(
2379
- () => M.value,
2399
+ () => m.value,
2380
2400
  async () => {
2381
2401
  await l;
2382
- const A = await n({ ...g }, a);
2402
+ const A = await n({ ...f }, a);
2383
2403
  if (A === void 0) {
2384
- c.value = !1, d.value = [], Object.assign(y, { ...g }), o == null || o({ ...g });
2404
+ c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2385
2405
  return;
2386
2406
  }
2387
- const { shortestPlace: x, shortestDistance: D } = jr(g, A), P = i(a), E = D > P ? g : x;
2407
+ const { shortestPlace: x, shortestDistance: h } = Sr(f, A), P = i(a), E = h > P ? f : x;
2388
2408
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2389
2409
  }
2390
2410
  ), {
@@ -2394,34 +2414,34 @@ const gr = j(function(e) {
2394
2414
  isElectedRef: v,
2395
2415
  updateRecomandPlace: u,
2396
2416
  updatePlaceCandidates: L,
2397
- updatePlace: m,
2417
+ updatePlace: M,
2398
2418
  setPlace: I,
2399
2419
  updateCity: p
2400
2420
  };
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({
2421
+ }, Dr = (t) => {
2422
+ 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
2423
  pointRef: e,
2404
2424
  onChange: r,
2405
2425
  onChangeCity: s
2406
- }), y = b({ ...g }), v = h(() => {
2426
+ }), y = b({ ...f }), v = D(() => {
2407
2427
  const A = e.value;
2408
2428
  return d.value.some(
2409
2429
  (x) => vn(C(x), A)
2410
2430
  );
2411
2431
  }), L = async () => {
2412
- const A = await n({ ...g }, a);
2432
+ const A = await n({ ...f }, a);
2413
2433
  c.value = A !== void 0, d.value = A != null ? A : [];
2414
2434
  };
2415
2435
  return T(
2416
- () => M.value,
2436
+ () => m.value,
2417
2437
  async () => {
2418
2438
  await l;
2419
- const A = await n({ ...g }, a);
2439
+ const A = await n({ ...f }, a);
2420
2440
  if (A === void 0) {
2421
- c.value = !1, d.value = [], Object.assign(y, { ...g }), o == null || o({ ...g });
2441
+ c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2422
2442
  return;
2423
2443
  }
2424
- const { shortestPlace: x, shortestDistance: D } = Ar(g, A), P = i(a), E = D > P ? g : x;
2444
+ const { shortestPlace: x, shortestDistance: h } = Nr(f, A), P = i(a), E = h > P ? f : x;
2425
2445
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2426
2446
  }
2427
2447
  ), {
@@ -2431,41 +2451,41 @@ const gr = j(function(e) {
2431
2451
  isElectedRef: v,
2432
2452
  updateRecomandPlace: u,
2433
2453
  updatePlaceCandidates: L,
2434
- updatePlace: m,
2454
+ updatePlace: M,
2435
2455
  setPlace: I,
2436
2456
  updateCity: p
2437
2457
  };
2438
- }, Nr = (t) => {
2458
+ }, wr = (t) => {
2439
2459
  const { supplier: e } = N();
2440
- return e === "gmap" ? Sr(t) : Lr(t);
2441
- }, Hn = 13, hr = (t) => {
2460
+ return e === "gmap" ? Dr(t) : hr(t);
2461
+ }, Hn = 13, Cr = (t) => {
2442
2462
  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) => {
2463
+ 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
2464
  var u;
2445
- a.value = M, (u = n.value) == null || u.setZoom(M);
2465
+ a.value = m, (u = n.value) == null || u.setZoom(m);
2446
2466
  };
2447
- return q(n, {}, (M, { target: u }) => {
2467
+ return q(n, {}, (m, { target: u }) => {
2448
2468
  const l = u.getZoom();
2449
2469
  a.value = l, e == null || e(l);
2450
2470
  }, [
2451
2471
  "onZoomEnd"
2452
2472
  ]), { zoomRef: a, setZoom: o };
2453
- }, Dr = (t) => {
2473
+ }, xr = (t) => {
2454
2474
  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) => {
2475
+ 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
2476
  var u;
2457
- a.value = M, (u = n.value) == null || u.setZoom(M);
2477
+ a.value = m, (u = n.value) == null || u.setZoom(m);
2458
2478
  };
2459
- return F(n, {}, (M, { target: u }) => {
2479
+ return F(n, {}, (m, { target: u }) => {
2460
2480
  const l = u.getZoom();
2461
2481
  a.value = l, e == null || e(l);
2462
2482
  }, [
2463
2483
  "onZoom_change"
2464
2484
  ]), { zoomRef: a, setZoom: o };
2465
- }, wr = (t) => {
2485
+ }, Pr = (t) => {
2466
2486
  const { supplier: e } = N();
2467
- return e === "gmap" ? Dr(t) : hr(t);
2468
- }, Cr = (t) => {
2487
+ return e === "gmap" ? xr(t) : Cr(t);
2488
+ }, br = (t) => {
2469
2489
  const { interval: e } = t;
2470
2490
  let n;
2471
2491
  const i = {
@@ -2479,19 +2499,19 @@ const gr = j(function(e) {
2479
2499
  });
2480
2500
  }, timerStop: i };
2481
2501
  }, Jn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMT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MCIgY3k9IjMwIiByPSI5LjMiLz48L2c+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(() => {
2502
+ var Qn = ie({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2503
+ const Er = j(function(e) {
2504
+ const n = D(() => {
2485
2505
  const {
2486
2506
  size: i = "large"
2487
2507
  } = e;
2488
2508
  return `
2489
- <img src="${i === "large" ? Jn : U}" class="${Qn({
2509
+ <img src="${i === "large" ? Jn : B}" class="${Qn({
2490
2510
  size: i
2491
2511
  })}">
2492
2512
  `;
2493
2513
  });
2494
- return () => f(B, {
2514
+ return () => g(V, {
2495
2515
  attrs: {
2496
2516
  position: e.position,
2497
2517
  content: n.value,
@@ -2499,87 +2519,87 @@ const xr = j(function(e) {
2499
2519
  registerOverlay: e.registerOverlay
2500
2520
  }
2501
2521
  });
2502
- }), Pr = j(function(e) {
2503
- const n = h(() => {
2522
+ }), Tr = j(function(e) {
2523
+ const n = D(() => {
2504
2524
  const {
2505
2525
  size: i = "large"
2506
- } = e, a = i === "large" ? Jn : U;
2507
- return Z("img", {
2526
+ } = e, a = i === "large" ? Jn : B;
2527
+ return O("img", {
2508
2528
  class: Qn({
2509
2529
  size: i
2510
2530
  }),
2511
2531
  src: a
2512
2532
  });
2513
2533
  });
2514
- return () => f(V, {
2534
+ return () => g(Y, {
2515
2535
  attrs: {
2516
2536
  position: R(e.position),
2517
2537
  content: n.value,
2518
2538
  registerOverlay: e.registerOverlay
2519
2539
  }
2520
2540
  });
2521
- }), Te = j(function(e) {
2541
+ }), ve = j(function(e) {
2522
2542
  const n = N();
2523
- return () => G(n.supplier === "gmap" ? Pr : xr, {
2543
+ return () => G(n.supplier === "gmap" ? Tr : Er, {
2524
2544
  attrs: e
2525
2545
  });
2526
- }), br = () => {
2546
+ }), Rr = () => {
2527
2547
  const t = ge();
2528
2548
  return { apiMapLngLatToVw: (n) => {
2529
2549
  var i;
2530
2550
  return (i = t == null ? void 0 : t.value) == null ? void 0 : i.lngLatToContainer(n).toArray();
2531
2551
  } };
2532
- }, Er = () => {
2552
+ }, zr = () => {
2533
2553
  const t = fe();
2534
2554
  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];
2555
+ var u, l, f, M, I;
2556
+ 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);
2557
+ return [s * m, c * m];
2538
2558
  } };
2539
- }, Tr = () => {
2559
+ }, Zr = () => {
2540
2560
  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];
2561
+ return t === "gmap" ? zr() : Rr();
2562
+ }, Pt = (t) => t === "left" ? "right" : "left", Or = (t) => {
2563
+ const { widthLimit: e, heightLimit: n } = t, { apiMapLngLatToVw: i } = Zr(), a = (r, s) => {
2564
+ const c = 100 / window.innerWidth, [d, m] = i(r), [u, l] = i(s);
2565
+ return [(u - d) * c, (l - m) * c];
2546
2566
  }, o = w(Array(t.places.length).fill("right"));
2547
2567
  return zo(
2548
2568
  () => t.places.map(C),
2549
2569
  (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
2570
+ const s = r.map((l, f) => ({ point: l, index: f })).sort(
2571
+ ({ point: [, l] }, { point: [, f] }) => l < f ? 1 : l > f ? -1 : 0
2552
2572
  ), c = r.length, d = Array(c);
2553
- let M = "right", u = !1;
2573
+ let m = "right", u = !1;
2554
2574
  for (let l = 0; l < c; l++) {
2555
- const { index: g } = s[l];
2575
+ const { index: f } = s[l];
2556
2576
  if (l === c - 1) {
2557
- d[g] = u ? Pt(M) : "right";
2577
+ d[f] = u ? Pt(m) : "right";
2558
2578
  continue;
2559
2579
  }
2560
2580
  if (l === 0) {
2561
2581
  const [y, v] = a(s[l].point, s[l + 1].point);
2562
2582
  u = y > -e && y < e && v > -n && v < n;
2563
2583
  const L = u && y > 0 ? "left" : "right";
2564
- d[g] = L, M = L;
2584
+ d[f] = L, m = L;
2565
2585
  continue;
2566
2586
  }
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;
2587
+ const [M, I] = a(s[l].point, s[l + 1].point), p = u ? Pt(m) : "right";
2588
+ d[f] = p, m = p, u = M > -e && M < e && I > -n && I < n;
2569
2589
  }
2570
2590
  o.value = d;
2571
2591
  }
2572
2592
  ), o;
2573
2593
  };
2574
2594
  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, {
2595
+ 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: [] });
2596
+ const Gr = j(function(e, {
2577
2597
  emit: n
2578
2598
  }) {
2579
- const i = h(() => {
2599
+ const i = D(() => {
2580
2600
  var s;
2581
2601
  return (s = e.textAlign) != null ? s : "right";
2582
- }), a = h(() => {
2602
+ }), a = D(() => {
2583
2603
  const {
2584
2604
  hideIcon: s = !1
2585
2605
  } = e;
@@ -2587,27 +2607,27 @@ const zr = j(function(e, {
2587
2607
  <div class="${$n({
2588
2608
  textAlign: i.value
2589
2609
  })}">
2590
- <img class="${Ae({
2610
+ <img class="${Ne({
2591
2611
  hideIcon: s
2592
2612
  })} ${bt({
2593
2613
  textAlign: i.value
2594
- })}" src="${U}">
2614
+ })}" src="${B}">
2595
2615
  <div class="${Fn}">${e.label}</div>
2596
2616
  </div>
2597
2617
  `;
2598
- }), o = h(() => {
2618
+ }), o = D(() => {
2599
2619
  const {
2600
2620
  hideIcon: s = !1
2601
2621
  } = e;
2602
- return `<img class="${Ae({
2622
+ return `<img class="${Ne({
2603
2623
  hideIcon: s
2604
2624
  })} ${bt({
2605
2625
  textAlign: i.value
2606
- })}" src="${U}">`;
2626
+ })}" src="${B}">`;
2607
2627
  }), r = () => {
2608
2628
  n("click", e.position);
2609
2629
  };
2610
- return () => f(B, {
2630
+ return () => g(V, {
2611
2631
  attrs: {
2612
2632
  position: e.position,
2613
2633
  content: e.label ? a.value : o.value,
@@ -2617,44 +2637,44 @@ const zr = j(function(e, {
2617
2637
  click: r
2618
2638
  }
2619
2639
  });
2620
- }), Zr = j(function(e, {
2640
+ }), kr = j(function(e, {
2621
2641
  emit: n
2622
2642
  }) {
2623
- const i = h(() => {
2643
+ const i = D(() => {
2624
2644
  var s;
2625
2645
  return (s = e.textAlign) != null ? s : "right";
2626
- }), a = h(() => {
2646
+ }), a = D(() => {
2627
2647
  const {
2628
2648
  hideIcon: s = !1
2629
2649
  } = e;
2630
- return Z("div", {
2650
+ return O("div", {
2631
2651
  class: `${$n({
2632
2652
  textAlign: i.value
2633
2653
  })} ${Et({
2634
2654
  textAlign: i.value
2635
2655
  })}`
2636
2656
  }, `
2637
- <img class="${Ae({
2657
+ <img class="${Ne({
2638
2658
  hideIcon: s
2639
- })}" src="${U}">
2659
+ })}" src="${B}">
2640
2660
  <div class="${Fn}">${e.label}</div>
2641
2661
  `);
2642
- }), o = h(() => {
2662
+ }), o = D(() => {
2643
2663
  const {
2644
2664
  hideIcon: s = !1
2645
2665
  } = e;
2646
- return Z("img", {
2647
- class: `${Ae({
2666
+ return O("img", {
2667
+ class: `${Ne({
2648
2668
  hideIcon: s
2649
2669
  })} ${Et({
2650
2670
  textAlign: i.value
2651
2671
  })}`,
2652
- src: U
2672
+ src: B
2653
2673
  });
2654
2674
  }), r = () => {
2655
2675
  n("click", e.position);
2656
2676
  };
2657
- return () => f(V, {
2677
+ return () => g(Y, {
2658
2678
  attrs: {
2659
2679
  position: R(e.position),
2660
2680
  content: e.label ? a.value : o.value
@@ -2667,25 +2687,25 @@ const zr = j(function(e, {
2667
2687
  emit: n
2668
2688
  }) {
2669
2689
  const i = N();
2670
- return () => G(i.supplier === "gmap" ? Zr : zr, {
2690
+ return () => G(i.supplier === "gmap" ? kr : Gr, {
2671
2691
  attrs: e,
2672
2692
  on: {
2673
2693
  click: (a) => n("click", a)
2674
2694
  }
2675
2695
  });
2676
- }), Or = j(function(e, {
2696
+ }), Wr = j(function(e, {
2677
2697
  emit: n
2678
2698
  }) {
2679
2699
  const {
2680
2700
  renderLabel: i
2681
- } = e, a = Rr(b({
2701
+ } = e, a = Or(b({
2682
2702
  places: ri(e, "places"),
2683
2703
  heightLimit: 9,
2684
2704
  widthLimit: 32
2685
2705
  }));
2686
- return () => f("div", [e.places.map((o, r) => {
2706
+ return () => g("div", [e.places.map((o, r) => {
2687
2707
  const s = a.value[r], c = i ? i(o) : o.name;
2688
- return f(W, {
2708
+ return g(W, {
2689
2709
  attrs: {
2690
2710
  position: C(o),
2691
2711
  label: c,
@@ -2696,7 +2716,7 @@ const zr = j(function(e, {
2696
2716
  }
2697
2717
  });
2698
2718
  })]);
2699
- }), Gr = 10, kr = 100, Wr = 500, Ur = "", Br = 13, Vr = "当前位置", Yr = 8, Ze = 18, Ls = de(function(e, {
2719
+ }), Ur = 10, Br = 100, Vr = 500, Yr = "", Hr = 13, Jr = "当前位置", Qr = 8, Ze = 18, Ds = de(function(e, {
2700
2720
  emit: n
2701
2721
  }) {
2702
2722
  var ot, rt;
@@ -2708,38 +2728,38 @@ const zr = j(function(e, {
2708
2728
  } = e, {
2709
2729
  mapRef: s,
2710
2730
  setMap: c
2711
- } = Ee(), {
2731
+ } = Te(), {
2712
2732
  readyPromise: d
2713
2733
  } = N(), {
2714
- zoomRef: M,
2734
+ zoomRef: m,
2715
2735
  setZoom: u
2716
- } = wr({
2736
+ } = Pr({
2717
2737
  mapRef: s,
2718
- defaultValue: Yr
2738
+ defaultValue: Qr
2719
2739
  }), {
2720
2740
  timerStart: l,
2721
- timerStop: g
2722
- } = Cr({
2723
- interval: Wr
2724
- }), m = b({
2741
+ timerStop: f
2742
+ } = br({
2743
+ interval: Vr
2744
+ }), M = b({
2725
2745
  lng: (ot = i == null ? void 0 : i[0]) != null ? ot : 0,
2726
2746
  lat: (rt = i == null ? void 0 : i[1]) != null ? rt : 0,
2727
2747
  name: ""
2728
- }), I = h(() => [m.lng, m.lat]), p = {
2748
+ }), I = D(() => [M.lng, M.lat]), p = {
2729
2749
  source: "geo"
2730
2750
  }, y = (S) => {
2731
2751
  p.source = "api", k(S);
2732
2752
  }, v = (S) => {
2733
- p.source = "api", m.lng = S.lng, m.lat = S.lat, m.name = S.name, ze(u)(Ze), ni(S), ai();
2753
+ p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name, ze(u)(Ze), ni(S), ai();
2734
2754
  }, L = (S) => {
2735
- p.source = "api", m.lng = S.lng, m.lat = S.lat, m.name = S.name;
2755
+ p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name;
2736
2756
  }, A = new Promise((S) => {
2737
2757
  o().then(S).catch(() => S(void 0));
2738
2758
  }), {
2739
2759
  geoPosition: x,
2740
- geoError: D,
2760
+ geoError: h,
2741
2761
  geoLoading: P
2742
- } = be({
2762
+ } = Ee({
2743
2763
  geoDefaultPosition: i,
2744
2764
  onLoad: async (S) => {
2745
2765
  await d, p.source = "geo", k(S.position), n("loadGeoLocation", S);
@@ -2752,10 +2772,10 @@ const zr = j(function(e, {
2752
2772
  onChange: (S) => n("changeGeoLocation", S),
2753
2773
  onError: (S) => n("geoError", S)
2754
2774
  });
2755
- r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => D.value ? !1 : (y(x.value), !0);
2775
+ r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => h.value ? !1 : (y(x.value), !0);
2756
2776
  const {
2757
2777
  isDragging: E
2758
- } = yr({
2778
+ } = Lr({
2759
2779
  mapRef: s,
2760
2780
  onChange: (S) => {
2761
2781
  p.source = "drag", l(), k(S), n("changeByDrag", S);
@@ -2768,7 +2788,7 @@ const zr = j(function(e, {
2768
2788
  placeCandidates: nt,
2769
2789
  availableRef: it,
2770
2790
  isElectedRef: at
2771
- } = Nr({
2791
+ } = wr({
2772
2792
  pointRef: I,
2773
2793
  context: p,
2774
2794
  getRecomendPlace: a,
@@ -2776,11 +2796,11 @@ const zr = j(function(e, {
2776
2796
  const J = S == null ? void 0 : S.source;
2777
2797
  switch (J) {
2778
2798
  case "drag":
2779
- return Gr;
2799
+ return Ur;
2780
2800
  case "api":
2781
2801
  case "geo":
2782
2802
  case "default":
2783
- return kr;
2803
+ return Br;
2784
2804
  default:
2785
2805
  throw new Error(`MyError: should not call getLimit on source: ${J}`);
2786
2806
  }
@@ -2789,7 +2809,7 @@ const zr = j(function(e, {
2789
2809
  p.source !== "recomend" && ii(), n("changePlace", S);
2790
2810
  },
2791
2811
  onChange: async (S) => {
2792
- await g.promise, p.source = "recomend", Object.assign(m, {
2812
+ await f.promise, p.source = "recomend", Object.assign(M, {
2793
2813
  ...S
2794
2814
  }), ze(u)(Ze), n("changeRecomandPlace", S);
2795
2815
  },
@@ -2799,33 +2819,33 @@ const zr = j(function(e, {
2799
2819
  });
2800
2820
  return Oe(() => {
2801
2821
  r.onChangeCenterPlace({
2802
- ...m
2822
+ ...M
2803
2823
  });
2804
2824
  }), Oe(() => {
2805
2825
  r.onChangeRecomendPlaces([...nt.value]);
2806
2826
  }), () => {
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, {
2827
+ const S = it.value ? at.value ? M.name : `${M.name} ${Yr}` : e.unavailableTitle, J = it.value ? at.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2828
+ return g(Pe, {
2809
2829
  attrs: {
2810
2830
  center: I.value,
2811
- zoom: M.value,
2831
+ zoom: m.value,
2812
2832
  mapRef: c
2813
2833
  }
2814
- }, [!P.value && !D.value && f(Te, {
2834
+ }, [!P.value && !h.value && g(ve, {
2815
2835
  attrs: {
2816
2836
  position: x.value
2817
2837
  }
2818
- }), M.value >= Br && f(Or, {
2838
+ }), m.value >= Hr && g(Wr, {
2819
2839
  attrs: {
2820
2840
  places: nt.value,
2821
- renderLabel: (st) => Ro(st, m) ? void 0 : st.name
2841
+ renderLabel: (st) => Ro(st, M) ? void 0 : st.name
2822
2842
  },
2823
2843
  on: {
2824
2844
  click: L
2825
2845
  }
2826
- }), P.value ? null : f(po, {
2846
+ }), P.value ? null : g(po, {
2827
2847
  attrs: {
2828
- title: so(S) || Vr,
2848
+ title: so(S) || Jr,
2829
2849
  description: J,
2830
2850
  type: E.value ? "locator" : "box"
2831
2851
  },
@@ -2834,35 +2854,35 @@ const zr = j(function(e, {
2834
2854
  }
2835
2855
  })]);
2836
2856
  };
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 = () => {
2857
+ }).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
2858
  const t = N();
2839
2859
  return { apiMapDistance: (n, i) => {
2840
- if (t.status === ce.SUCCESS)
2860
+ if (t.status === ue.SUCCESS)
2841
2861
  return AMap.GeometryUtil.distance(n, i);
2842
2862
  } };
2843
- }, Qr = () => {
2863
+ }, Xr = () => {
2844
2864
  const t = N();
2845
2865
  return { apiMapDistance: (n, i) => {
2846
- if (t.status === ce.SUCCESS)
2866
+ if (t.status === ue.SUCCESS)
2847
2867
  return google.maps.geometry.spherical.computeDistanceBetween(R(n), R(i));
2848
2868
  } };
2849
- }, ae = () => {
2869
+ }, oe = () => {
2850
2870
  const { supplier: t } = N();
2851
- return t === "gmap" ? Qr() : Jr();
2852
- }, Le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2LjgzM2MuNzc4Ljg2Ljc4MiAxLjM3Ljc4MiAzLjc0djQuOTM0eiIgaWQ9InByZWZpeF9fYiIvPjxwYXRoIGQ9Ik0wIDEuNDkzUzUuNy4xOCA4LjcxOS4wNWMzLjAyLS4xMzEgMy40Ny4wMTcgNS4yODIuMjEuNTA3LjA1MSAzLjI2LjkxIDMuMjYuOTFsLTcuMzAzLjNMMCAxLjQ5NHoiIGlkPSJwcmVmaXhfX2MiLz48cGF0aCBkPSJNMTAuMDggMi44MTVDOS4yOT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 const _r = j(function(e) {
2875
+ const n = D(() => {
2856
2876
  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)`;
2877
+ 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
2878
  return e.title ? `
2859
2879
  <div class="${_n}">
2860
2880
  <div class="${Kn}">${i}</div>
2861
- <img src="${Le}" class="${Se}" style="${a}">
2881
+ <img src="${he}" class="${De}" style="${a}">
2862
2882
  </div>
2863
- ` : `<img src="${Le}" class="${Se}" style="${a}">`;
2883
+ ` : `<img src="${he}" class="${De}" style="${a}">`;
2864
2884
  });
2865
- return () => f(B, {
2885
+ return () => g(V, {
2866
2886
  attrs: {
2867
2887
  position: e.position,
2868
2888
  content: n.value,
@@ -2870,22 +2890,22 @@ const Fr = j(function(e) {
2870
2890
  registerOverlay: e.registerOverlay
2871
2891
  }
2872
2892
  });
2873
- }), $r = j(function(e) {
2874
- const n = h(() => {
2893
+ }), Kr = j(function(e) {
2894
+ const n = D(() => {
2875
2895
  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", {
2896
+ 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)`;
2897
+ return e.title ? O("div", {
2878
2898
  class: _n
2879
2899
  }, `
2880
2900
  <div class="${Kn}">${i}</div>
2881
- <img src="${Le}" class="${Se}" style="${a}">
2882
- `) : Z("img", {
2883
- class: Se,
2884
- src: Le,
2901
+ <img src="${he}" class="${De}" style="${a}">
2902
+ `) : O("img", {
2903
+ class: De,
2904
+ src: he,
2885
2905
  style: a
2886
2906
  });
2887
2907
  });
2888
- return () => f(V, {
2908
+ return () => g(Y, {
2889
2909
  attrs: {
2890
2910
  position: R(e.position),
2891
2911
  content: n.value,
@@ -2894,10 +2914,10 @@ const Fr = j(function(e) {
2894
2914
  });
2895
2915
  }), Ke = j(function(e) {
2896
2916
  const n = N();
2897
- return () => G(n.supplier === "gmap" ? $r : Fr, {
2917
+ return () => G(n.supplier === "gmap" ? Kr : _r, {
2898
2918
  attrs: e
2899
2919
  });
2900
- }), Xr = j(function(e) {
2920
+ }), qr = j(function(e) {
2901
2921
  return () => {
2902
2922
  const {
2903
2923
  path: n
@@ -2905,7 +2925,7 @@ const Fr = j(function(e) {
2905
2925
  if (n.length === 0)
2906
2926
  return null;
2907
2927
  const a = 2 * (window.innerWidth * 0.01);
2908
- return f(re, {
2928
+ return g(se, {
2909
2929
  attrs: {
2910
2930
  path: n,
2911
2931
  strokeWeight: a,
@@ -2918,14 +2938,14 @@ const Fr = j(function(e) {
2918
2938
  }
2919
2939
  });
2920
2940
  };
2921
- }), _r = j(function(e) {
2922
- const n = h(() => e.path.map(R));
2941
+ }), es = j(function(e) {
2942
+ const n = D(() => e.path.map(R));
2923
2943
  return () => {
2924
2944
  const i = n.value;
2925
2945
  if (i.length === 0)
2926
2946
  return null;
2927
2947
  const o = 2 * (window.innerWidth * 0.01), r = o / 4;
2928
- return f(pe, {
2948
+ return g(je, {
2929
2949
  attrs: {
2930
2950
  path: i,
2931
2951
  strokeWeight: o,
@@ -2953,12 +2973,12 @@ const Fr = j(function(e) {
2953
2973
  };
2954
2974
  }), qe = j(function(e) {
2955
2975
  const n = N();
2956
- return () => G(n.supplier === "gmap" ? _r : Xr, {
2976
+ return () => G(n.supplier === "gmap" ? es : qr, {
2957
2977
  attrs: e
2958
2978
  });
2959
2979
  }), qn = (t) => {
2960
2980
  const e = z([]), n = new AMap.Walking({});
2961
- return te(
2981
+ return ne(
2962
2982
  () => ({ ...t }),
2963
2983
  ({ from: i, to: a }) => {
2964
2984
  n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
@@ -2969,8 +2989,8 @@ const Fr = j(function(e) {
2969
2989
  if (!c.routes)
2970
2990
  return;
2971
2991
  const d = c.routes[0];
2972
- for (const M of d.steps) {
2973
- const u = M.path.map(({ lng: l, lat: g }) => [l, g]);
2992
+ for (const m of d.steps) {
2993
+ const u = m.path.map(({ lng: l, lat: f }) => [l, f]);
2974
2994
  s = s.concat(u);
2975
2995
  }
2976
2996
  e.value = s;
@@ -2987,7 +3007,7 @@ const Fr = j(function(e) {
2987
3007
  ), e;
2988
3008
  }, ei = (t) => {
2989
3009
  const e = z([]), n = new google.maps.DirectionsService();
2990
- return te(
3010
+ return ne(
2991
3011
  () => ({ ...t }),
2992
3012
  ({ from: i, to: a }) => {
2993
3013
  n.route(
@@ -3000,9 +3020,9 @@ const Fr = j(function(e) {
3000
3020
  switch (r) {
3001
3021
  case google.maps.DirectionsStatus.OK: {
3002
3022
  let s = [];
3003
- const d = o.routes[0].overview_path.map((M) => [
3004
- M.lng(),
3005
- M.lat()
3023
+ const d = o.routes[0].overview_path.map((m) => [
3024
+ m.lng(),
3025
+ m.lat()
3006
3026
  ]);
3007
3027
  s = s.concat(d), e.value = s;
3008
3028
  return;
@@ -3018,26 +3038,26 @@ const Fr = j(function(e) {
3018
3038
  );
3019
3039
  }
3020
3040
  ), e;
3021
- }, Ss = (t) => {
3041
+ }, ws = (t) => {
3022
3042
  const { supplier: e } = N();
3023
3043
  return e === "gmap" ? ei(t) : qn(t);
3024
- }, Kr = j(function(e, {
3044
+ }, ts = j(function(e, {
3025
3045
  slots: n
3026
3046
  }) {
3027
3047
  const i = qn(e);
3028
3048
  return () => {
3029
3049
  var a;
3030
- return f("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3050
+ return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3031
3051
  path: i
3032
3052
  }))]);
3033
3053
  };
3034
- }), qr = j(function(e, {
3054
+ }), ns = j(function(e, {
3035
3055
  slots: n
3036
3056
  }) {
3037
3057
  const i = ei(e);
3038
3058
  return () => {
3039
3059
  var a;
3040
- return f("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3060
+ return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3041
3061
  path: i
3042
3062
  }))]);
3043
3063
  };
@@ -3047,52 +3067,52 @@ const Fr = j(function(e) {
3047
3067
  const {
3048
3068
  supplier: i
3049
3069
  } = N();
3050
- return () => G(i === "gmap" ? qr : Kr, {
3070
+ return () => G(i === "gmap" ? ns : ts, {
3051
3071
  attrs: e,
3052
3072
  scopedSlots: n
3053
3073
  });
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, {
3074
+ }), we = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
3075
+ var ti = "rrvp0y3", Ce = "rrvp0y2";
3076
+ const is = j(function(e) {
3077
+ const n = D(() => `<img src="${we}" class="${Ce}">`), i = D(() => `<img src="${we}" class="${Ce} ${ti}">`);
3078
+ return () => g("div", [g(V, {
3059
3079
  attrs: {
3060
3080
  position: e.position,
3061
3081
  anchor: "bottom-center",
3062
3082
  content: n.value
3063
3083
  }
3064
- }), f(B, {
3084
+ }), g(V, {
3065
3085
  attrs: {
3066
3086
  position: e.position,
3067
3087
  anchor: "bottom-center",
3068
3088
  content: i.value
3069
3089
  }
3070
3090
  })]);
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
3091
+ }), as = j(function(e) {
3092
+ const n = D(() => O("img", {
3093
+ class: Ce,
3094
+ src: we
3095
+ })), i = D(() => O("img", {
3096
+ class: `${Ce} ${ti}`,
3097
+ src: we
3078
3098
  }));
3079
3099
  return () => {
3080
3100
  const a = R(e.position);
3081
- return f("div", [f(V, {
3101
+ return g("div", [g(Y, {
3082
3102
  attrs: {
3083
3103
  position: a,
3084
3104
  content: n.value
3085
3105
  }
3086
- }), f(V, {
3106
+ }), g(Y, {
3087
3107
  attrs: {
3088
3108
  position: a,
3089
3109
  content: i.value
3090
3110
  }
3091
3111
  })]);
3092
3112
  };
3093
- }), ns = j(function(e) {
3113
+ }), os = j(function(e) {
3094
3114
  const n = N();
3095
- return () => G(n.supplier === "gmap" ? ts : es, {
3115
+ return () => G(n.supplier === "gmap" ? as : is, {
3096
3116
  attrs: e
3097
3117
  });
3098
3118
  }), tt = 2e3, Rt = j(function(e) {
@@ -3102,33 +3122,81 @@ const es = j(function(e) {
3102
3122
  title: i,
3103
3123
  registerOverlay: a
3104
3124
  } = e, o = C(n);
3105
- return f("div", [f(O, {
3125
+ return g("div", [g(Z, {
3106
3126
  attrs: {
3107
3127
  type: "start",
3108
3128
  position: o,
3109
3129
  title: i,
3110
3130
  registerOverlay: a
3111
3131
  }
3112
- }), f(ns, {
3132
+ }), g(os, {
3113
3133
  attrs: {
3114
3134
  position: o
3115
3135
  }
3116
- }), f(W, {
3136
+ }), g(W, {
3117
3137
  attrs: {
3118
3138
  position: o,
3119
3139
  label: n.name,
3120
3140
  hideIcon: !0
3121
3141
  }
3122
- }), f(H, {
3142
+ }), g(U, {
3123
3143
  attrs: {
3124
3144
  registerOverlay: a
3125
3145
  }
3126
3146
  })]);
3127
3147
  };
3128
- }), is = j(function(e) {
3148
+ }), rs = j(function(e) {
3149
+ return () => {
3150
+ const {
3151
+ from: n,
3152
+ to: i,
3153
+ passengerPosition: a,
3154
+ registerOverlay: o
3155
+ } = e, r = C(n), s = C(i);
3156
+ return g("div", [g(pe, {
3157
+ attrs: {
3158
+ to: s,
3159
+ from: r,
3160
+ render: ({
3161
+ path: c
3162
+ }) => g(Ie, {
3163
+ attrs: {
3164
+ path: c
3165
+ }
3166
+ })
3167
+ }
3168
+ }), g(Z, {
3169
+ attrs: {
3170
+ type: "start",
3171
+ registerOverlay: o,
3172
+ position: r
3173
+ }
3174
+ }), g(Z, {
3175
+ attrs: {
3176
+ type: "end",
3177
+ registerOverlay: o,
3178
+ position: s
3179
+ }
3180
+ }), ",", !!a && [g(ve, {
3181
+ attrs: {
3182
+ position: a,
3183
+ registerOverlay: o
3184
+ }
3185
+ }), g(ee, {
3186
+ attrs: {
3187
+ registerOverlay: o,
3188
+ fitViewKey: JSON.stringify(a)
3189
+ }
3190
+ })], g(U, {
3191
+ attrs: {
3192
+ registerOverlay: o
3193
+ }
3194
+ })]);
3195
+ };
3196
+ }), ss = j(function(e) {
3129
3197
  const {
3130
3198
  apiMapDistance: n
3131
- } = ae();
3199
+ } = oe();
3132
3200
  return () => {
3133
3201
  const {
3134
3202
  from: i,
@@ -3137,41 +3205,41 @@ const es = j(function(e) {
3137
3205
  renderTitle: r,
3138
3206
  registerOverlay: s
3139
3207
  } = e, c = C(i), d = o ? n(o, c) : 0;
3140
- return f("div", [!!o && [f(Te, {
3208
+ return g("div", [!!o && [g(ve, {
3141
3209
  attrs: {
3142
3210
  position: o,
3143
3211
  registerOverlay: s
3144
3212
  }
3145
- }), f(ue, {
3213
+ }), g(ee, {
3146
3214
  attrs: {
3147
3215
  registerOverlay: s,
3148
3216
  fitViewKey: JSON.stringify(o)
3149
3217
  }
3150
- })], f(O, {
3218
+ })], g(Z, {
3151
3219
  attrs: {
3152
3220
  type: "start",
3153
3221
  position: c,
3154
3222
  registerOverlay: s
3155
3223
  }
3156
- }), f(W, {
3224
+ }), g(W, {
3157
3225
  attrs: {
3158
3226
  position: c,
3159
3227
  label: i.name,
3160
3228
  hideIcon: !0
3161
3229
  }
3162
- }), a[0] !== c[0] || a[1] !== c[1] ? f(xe, {
3230
+ }), a[0] !== c[0] || a[1] !== c[1] ? g(pe, {
3163
3231
  attrs: {
3164
3232
  from: a,
3165
3233
  to: c,
3166
3234
  render: ({
3167
- path: M,
3235
+ path: m,
3168
3236
  distance: u,
3169
3237
  duration: l
3170
- }) => [f(Ce, {
3238
+ }) => [g(Ie, {
3171
3239
  attrs: {
3172
- path: M
3240
+ path: m
3173
3241
  }
3174
- }), f(Ke, {
3242
+ }), g(Ke, {
3175
3243
  attrs: {
3176
3244
  position: a,
3177
3245
  title: r({
@@ -3180,35 +3248,35 @@ const es = j(function(e) {
3180
3248
  }),
3181
3249
  registerOverlay: s
3182
3250
  }
3183
- }), f(ue, {
3251
+ }), g(ee, {
3184
3252
  attrs: {
3185
3253
  registerOverlay: s,
3186
3254
  fitViewKey: JSON.stringify(a)
3187
3255
  }
3188
3256
  })]
3189
3257
  }
3190
- }) : null, !!o && d && d <= tt && f(et, {
3258
+ }) : null, !!o && d && d <= tt && g(et, {
3191
3259
  attrs: {
3192
3260
  from: o,
3193
3261
  to: c,
3194
3262
  render: ({
3195
- path: M
3196
- }) => f(qe, {
3263
+ path: m
3264
+ }) => g(qe, {
3197
3265
  attrs: {
3198
- path: M
3266
+ path: m
3199
3267
  }
3200
3268
  })
3201
3269
  }
3202
- }), f(H, {
3270
+ }), g(U, {
3203
3271
  attrs: {
3204
3272
  registerOverlay: s
3205
3273
  }
3206
3274
  })]);
3207
3275
  };
3208
- }), as = j(function(e) {
3276
+ }), cs = j(function(e) {
3209
3277
  const {
3210
3278
  apiMapDistance: n
3211
- } = ae();
3279
+ } = oe();
3212
3280
  return () => {
3213
3281
  const {
3214
3282
  from: i,
@@ -3216,51 +3284,51 @@ const es = j(function(e) {
3216
3284
  title: o,
3217
3285
  registerOverlay: r
3218
3286
  } = e, s = C(i), c = a ? n(a, s) : 0;
3219
- return f("div", [f(O, {
3287
+ return g("div", [g(Z, {
3220
3288
  attrs: {
3221
3289
  type: "start",
3222
3290
  position: s,
3223
3291
  title: o,
3224
3292
  registerOverlay: r
3225
3293
  }
3226
- }), f(W, {
3294
+ }), g(W, {
3227
3295
  attrs: {
3228
3296
  position: s,
3229
3297
  label: i.name,
3230
3298
  hideIcon: !0
3231
3299
  }
3232
- }), !!a && [f(Te, {
3300
+ }), !!a && [g(ve, {
3233
3301
  attrs: {
3234
3302
  position: a,
3235
3303
  registerOverlay: r
3236
3304
  }
3237
- }), f(ue, {
3305
+ }), g(ee, {
3238
3306
  attrs: {
3239
3307
  registerOverlay: r,
3240
3308
  fitViewKey: JSON.stringify(a)
3241
3309
  }
3242
- })], !!a && c && c <= tt && f(et, {
3310
+ })], !!a && c && c <= tt && g(et, {
3243
3311
  attrs: {
3244
3312
  from: a,
3245
3313
  to: s,
3246
3314
  render: ({
3247
3315
  path: d
3248
- }) => f(qe, {
3316
+ }) => g(qe, {
3249
3317
  attrs: {
3250
3318
  path: d
3251
3319
  }
3252
3320
  })
3253
3321
  }
3254
- }), f(H, {
3322
+ }), g(U, {
3255
3323
  attrs: {
3256
3324
  registerOverlay: r
3257
3325
  }
3258
3326
  })]);
3259
3327
  };
3260
- }), os = j(function(e) {
3328
+ }), us = j(function(e) {
3261
3329
  const {
3262
3330
  apiMapDistance: n
3263
- } = ae();
3331
+ } = oe();
3264
3332
  return () => {
3265
3333
  const {
3266
3334
  from: i,
@@ -3269,53 +3337,53 @@ const es = j(function(e) {
3269
3337
  title: r,
3270
3338
  registerOverlay: s
3271
3339
  } = e, c = C(i), d = o ? n(o, c) : 0;
3272
- return f("div", [f(Ke, {
3340
+ return g("div", [g(Ke, {
3273
3341
  attrs: {
3274
3342
  position: a,
3275
3343
  title: r,
3276
3344
  registerOverlay: s
3277
3345
  }
3278
- }), f(O, {
3346
+ }), g(Z, {
3279
3347
  attrs: {
3280
3348
  type: "start",
3281
3349
  position: c,
3282
3350
  registerOverlay: s
3283
3351
  }
3284
- }), f(W, {
3352
+ }), g(W, {
3285
3353
  attrs: {
3286
3354
  position: c,
3287
3355
  label: i.name,
3288
3356
  hideIcon: !0
3289
3357
  }
3290
- }), !!o && d && d <= tt && f(et, {
3358
+ }), !!o && d && d <= tt && g(et, {
3291
3359
  attrs: {
3292
3360
  from: o,
3293
3361
  to: c,
3294
3362
  render: ({
3295
- path: M
3296
- }) => f(qe, {
3363
+ path: m
3364
+ }) => g(qe, {
3297
3365
  attrs: {
3298
- path: M
3366
+ path: m
3299
3367
  }
3300
3368
  })
3301
3369
  }
3302
- }), !!o && [f(Te, {
3370
+ }), !!o && [g(ve, {
3303
3371
  attrs: {
3304
3372
  position: o,
3305
3373
  registerOverlay: s
3306
3374
  }
3307
- }), f(ue, {
3375
+ }), g(ee, {
3308
3376
  attrs: {
3309
3377
  registerOverlay: s,
3310
3378
  fitViewKey: JSON.stringify(o)
3311
3379
  }
3312
- })], f(H, {
3380
+ })], g(U, {
3313
3381
  attrs: {
3314
3382
  registerOverlay: s
3315
3383
  }
3316
3384
  })]);
3317
3385
  };
3318
- }), rs = j(function(e) {
3386
+ }), ls = j(function(e) {
3319
3387
  return () => {
3320
3388
  const {
3321
3389
  to: n,
@@ -3323,19 +3391,19 @@ const es = j(function(e) {
3323
3391
  renderTitle: a,
3324
3392
  registerOverlay: o
3325
3393
  } = e, r = C(n);
3326
- return f("div", [f(O, {
3394
+ return g("div", [g(Z, {
3327
3395
  attrs: {
3328
3396
  type: "end",
3329
3397
  position: r,
3330
3398
  registerOverlay: o
3331
3399
  }
3332
- }), f(W, {
3400
+ }), g(W, {
3333
3401
  attrs: {
3334
3402
  position: r,
3335
3403
  label: n.name,
3336
3404
  hideIcon: !0
3337
3405
  }
3338
- }), f(xe, {
3406
+ }), g(pe, {
3339
3407
  attrs: {
3340
3408
  from: i,
3341
3409
  to: r,
@@ -3343,11 +3411,11 @@ const es = j(function(e) {
3343
3411
  path: s,
3344
3412
  distance: c,
3345
3413
  duration: d
3346
- }) => [f(Ce, {
3414
+ }) => [g(Ie, {
3347
3415
  attrs: {
3348
3416
  path: s
3349
3417
  }
3350
- }), f(Ke, {
3418
+ }), g(Ke, {
3351
3419
  attrs: {
3352
3420
  position: i,
3353
3421
  title: a({
@@ -3356,51 +3424,51 @@ const es = j(function(e) {
3356
3424
  }),
3357
3425
  registerOverlay: o
3358
3426
  }
3359
- }), f(ue, {
3427
+ }), g(ee, {
3360
3428
  attrs: {
3361
3429
  registerOverlay: o,
3362
3430
  fitViewKey: JSON.stringify(i)
3363
3431
  }
3364
3432
  })]
3365
3433
  }
3366
- }), f(H, {
3434
+ }), g(U, {
3367
3435
  attrs: {
3368
3436
  registerOverlay: o
3369
3437
  }
3370
3438
  })]);
3371
3439
  };
3372
- }), ss = j(function(e) {
3440
+ }), ds = j(function(e) {
3373
3441
  return () => {
3374
3442
  const {
3375
3443
  from: n,
3376
3444
  to: i,
3377
3445
  registerOverlay: a
3378
3446
  } = e, o = C(n), r = C(i);
3379
- return f("div", [f(O, {
3447
+ return g("div", [g(Z, {
3380
3448
  attrs: {
3381
3449
  type: "start",
3382
3450
  position: o,
3383
3451
  registerOverlay: a
3384
3452
  }
3385
- }), f(O, {
3453
+ }), g(Z, {
3386
3454
  attrs: {
3387
3455
  type: "end",
3388
3456
  position: r,
3389
3457
  registerOverlay: a
3390
3458
  }
3391
- }), f(W, {
3459
+ }), g(W, {
3392
3460
  attrs: {
3393
3461
  position: o,
3394
3462
  label: n.name,
3395
3463
  hideIcon: !0
3396
3464
  }
3397
- }), f(W, {
3465
+ }), g(W, {
3398
3466
  attrs: {
3399
3467
  position: r,
3400
3468
  label: i.name,
3401
3469
  hideIcon: !0
3402
3470
  }
3403
- }), f(H, {
3471
+ }), g(U, {
3404
3472
  attrs: {
3405
3473
  registerOverlay: a
3406
3474
  }
@@ -3413,56 +3481,56 @@ const es = j(function(e) {
3413
3481
  to: i,
3414
3482
  registerOverlay: a
3415
3483
  } = e, o = C(n), r = C(i);
3416
- return f("div", [f(O, {
3484
+ return g("div", [g(Z, {
3417
3485
  attrs: {
3418
3486
  type: "start",
3419
3487
  position: o,
3420
3488
  registerOverlay: a
3421
3489
  }
3422
- }), f(O, {
3490
+ }), g(Z, {
3423
3491
  attrs: {
3424
3492
  type: "end",
3425
3493
  position: r,
3426
3494
  registerOverlay: a
3427
3495
  }
3428
- }), f(W, {
3496
+ }), g(W, {
3429
3497
  attrs: {
3430
3498
  position: o,
3431
3499
  label: n.name,
3432
3500
  hideIcon: !0
3433
3501
  }
3434
- }), f(W, {
3502
+ }), g(W, {
3435
3503
  attrs: {
3436
3504
  position: r,
3437
3505
  label: i.name,
3438
3506
  hideIcon: !0
3439
3507
  }
3440
- }), f(xe, {
3508
+ }), g(pe, {
3441
3509
  attrs: {
3442
3510
  from: o,
3443
3511
  to: r,
3444
3512
  render: ({
3445
3513
  path: s
3446
- }) => f(Ce, {
3514
+ }) => g(Ie, {
3447
3515
  attrs: {
3448
3516
  path: s,
3449
3517
  done: !0
3450
3518
  }
3451
3519
  })
3452
3520
  }
3453
- }), f(H, {
3521
+ }), g(U, {
3454
3522
  attrs: {
3455
3523
  registerOverlay: a
3456
3524
  }
3457
3525
  })]);
3458
3526
  };
3459
- }), Ns = j(function(e) {
3527
+ }), Cs = j(function(e) {
3460
3528
  const {
3461
3529
  mapRef: n,
3462
3530
  setMap: i
3463
- } = Ee(), {
3531
+ } = Te(), {
3464
3532
  registerFitVeiw: a
3465
- } = Pe({
3533
+ } = be({
3466
3534
  mapRef: n,
3467
3535
  autoFitTimeout: 5e3,
3468
3536
  padding: [25, 20, 15, 15]
@@ -3471,14 +3539,14 @@ const es = j(function(e) {
3471
3539
  const {
3472
3540
  from: o,
3473
3541
  to: r
3474
- } = e, s = Tt(o) && Tt(r), c = s ? C(o) : [...Hr];
3475
- return f(we, {
3542
+ } = e, s = Tt(o) && Tt(r), c = s ? C(o) : [...Fr];
3543
+ return g(Pe, {
3476
3544
  attrs: {
3477
3545
  center: c,
3478
3546
  zoom: 3,
3479
3547
  mapRef: i
3480
3548
  }
3481
- }, [s && f(Ve, {
3549
+ }, [s && g(Ve, {
3482
3550
  attrs: {
3483
3551
  from: o,
3484
3552
  to: r,
@@ -3486,7 +3554,7 @@ const es = j(function(e) {
3486
3554
  }
3487
3555
  })]);
3488
3556
  };
3489
- }), cs = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], hs = de(function(e) {
3557
+ }), gs = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], xs = de(function(e) {
3490
3558
  const {
3491
3559
  from: n,
3492
3560
  interval: i,
@@ -3497,102 +3565,109 @@ const es = j(function(e) {
3497
3565
  renderInServiceTitle: c
3498
3566
  } = e, {
3499
3567
  geoPosition: d,
3500
- geoError: M
3501
- } = be({
3568
+ geoError: m
3569
+ } = Ee({
3502
3570
  geoDefaultPosition: C(n)
3503
3571
  }), u = w(C(e.from));
3504
- return T(() => e.driverStatus, (l, g, m) => {
3505
- if (!cs.includes(l))
3572
+ return T(() => e.driverStatus, (l, f, M) => {
3573
+ if (!gs.includes(l))
3506
3574
  return;
3507
3575
  const I = setInterval(() => {
3508
3576
  r().then((p) => u.value = p);
3509
3577
  }, i);
3510
- m(() => clearInterval(I));
3578
+ M(() => clearInterval(I));
3511
3579
  }, {
3512
3580
  immediate: !0
3513
3581
  }), () => {
3514
3582
  const {
3515
3583
  driverStatus: l,
3516
- from: g,
3517
- to: m,
3584
+ from: f,
3585
+ to: M,
3518
3586
  dispatchingTitle: I,
3519
3587
  bookDispatchingTitle: p,
3520
3588
  bookDispatchedTitle: y,
3521
3589
  driverArrivedTitle: v
3522
- } = e, L = u.value, A = M.value ? void 0 : d.value;
3523
- return f(we, {
3590
+ } = e, L = u.value, A = m.value ? void 0 : d.value;
3591
+ return g(Pe, {
3524
3592
  attrs: {
3525
- center: C(g),
3593
+ center: C(f),
3526
3594
  zoom: 13,
3527
3595
  mapRef: o
3528
3596
  }
3529
- }, [l === "dispatching" ? f(Rt, {
3597
+ }, [l === "dispatching" ? g(Rt, {
3530
3598
  attrs: {
3531
- from: g,
3599
+ from: f,
3532
3600
  title: I,
3533
3601
  registerOverlay: a
3534
3602
  }
3535
- }) : l === "book-dispatching" ? f(Rt, {
3603
+ }) : l === "book-dispatching" ? g(Rt, {
3536
3604
  attrs: {
3537
- from: g,
3605
+ from: f,
3538
3606
  title: p,
3539
3607
  registerOverlay: a
3540
3608
  }
3541
- }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" || l === "assign" || l === "confirmed" ? f(is, {
3609
+ }) : l === "assign" || l === "confirmed" ? g(rs, {
3610
+ attrs: {
3611
+ from: f,
3612
+ to: M,
3613
+ passengerPosition: A,
3614
+ registerOverlay: a
3615
+ }
3616
+ }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? g(ss, {
3542
3617
  attrs: {
3543
- from: g,
3618
+ from: f,
3544
3619
  carPosition: L,
3545
3620
  passengerPosition: A,
3546
3621
  renderTitle: s,
3547
3622
  registerOverlay: a
3548
3623
  }
3549
- }) : l === "book-dispatched" ? f(as, {
3624
+ }) : l === "book-dispatched" ? g(cs, {
3550
3625
  attrs: {
3551
- from: g,
3626
+ from: f,
3552
3627
  passengerPosition: A,
3553
3628
  title: y,
3554
3629
  registerOverlay: a
3555
3630
  }
3556
- }) : l === "inService" ? f(rs, {
3631
+ }) : l === "inService" ? g(ls, {
3557
3632
  attrs: {
3558
- to: m,
3633
+ to: M,
3559
3634
  carPosition: L,
3560
3635
  renderTitle: c,
3561
3636
  registerOverlay: a
3562
3637
  }
3563
- }) : l === "driverArrived" ? f(os, {
3638
+ }) : l === "driverArrived" ? g(us, {
3564
3639
  attrs: {
3565
- from: g,
3640
+ from: f,
3566
3641
  carPosition: L,
3567
3642
  passengerPosition: A,
3568
3643
  title: v,
3569
3644
  registerOverlay: a
3570
3645
  }
3571
- }) : l === "canceled" || l === "canceling" ? f(ss, {
3646
+ }) : l === "canceled" || l === "canceling" ? g(ds, {
3572
3647
  attrs: {
3573
- from: g,
3574
- to: m,
3648
+ from: f,
3649
+ to: M,
3575
3650
  registerOverlay: a
3576
3651
  }
3577
- }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? f(Ve, {
3652
+ }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? g(Ve, {
3578
3653
  attrs: {
3579
- from: g,
3580
- to: m,
3654
+ from: f,
3655
+ to: M,
3581
3656
  registerOverlay: a
3582
3657
  }
3583
3658
  }) : (
3584
3659
  // 匹配不到就显示灰色路线
3585
- f(Ve, {
3660
+ g(Ve, {
3586
3661
  attrs: {
3587
- from: g,
3588
- to: m,
3662
+ from: f,
3663
+ to: M,
3589
3664
  registerOverlay: a
3590
3665
  }
3591
3666
  })
3592
3667
  )]);
3593
3668
  };
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) => {
3669
+ }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), fs = (t) => {
3670
+ 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
3671
  n.value = l, c();
3597
3672
  }, u = (l) => {
3598
3673
  r.value = l, c();
@@ -3602,11 +3677,11 @@ const es = j(function(e) {
3602
3677
  async () => {
3603
3678
  if (!r.value)
3604
3679
  return;
3605
- await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (g, m) => {
3680
+ await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (f, M) => {
3606
3681
  const I = o.value;
3607
- switch (g) {
3682
+ switch (f) {
3608
3683
  case "complete": {
3609
- s.value = m.poiList.pois.map(
3684
+ s.value = M.poiList.pois.map(
3610
3685
  (p) => {
3611
3686
  const { lat: y, lng: v } = p.location;
3612
3687
  return {
@@ -3624,19 +3699,19 @@ const es = j(function(e) {
3624
3699
  s.value = [];
3625
3700
  return;
3626
3701
  default:
3627
- throw m;
3702
+ throw M;
3628
3703
  }
3629
3704
  });
3630
3705
  },
3631
3706
  {
3632
3707
  immediate: !0
3633
3708
  }
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();
3709
+ ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3710
+ }, ms = (t) => {
3711
+ 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) => {
3712
+ n.value = f, c();
3713
+ }, u = (f) => {
3714
+ r.value = f, c();
3640
3715
  }, l = document.createElement("div");
3641
3716
  return T(
3642
3717
  () => d.value,
@@ -3648,13 +3723,13 @@ const es = j(function(e) {
3648
3723
  query: r.value,
3649
3724
  bounds: n.value.bound
3650
3725
  },
3651
- (m, I) => {
3726
+ (M, I) => {
3652
3727
  const p = o.value;
3653
3728
  switch (I) {
3654
3729
  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;
3730
+ s.value = M.map(({ geometry: y, name: v, formatted_address: L }) => {
3731
+ var h, P, E, k;
3732
+ 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
3733
  return {
3659
3734
  lng: A,
3660
3735
  lat: x,
@@ -3672,11 +3747,11 @@ const es = j(function(e) {
3672
3747
  }
3673
3748
  );
3674
3749
  }
3675
- ), { setKeyword: u, setCity: M, autoCompletePlaces: s };
3676
- }, ds = (t) => {
3750
+ ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3751
+ }, Ms = (t) => {
3677
3752
  const { supplier: e } = N();
3678
- return e === "gmap" ? ls(t) : us(t);
3679
- }, gs = (t) => {
3753
+ return e === "gmap" ? ms(t) : fs(t);
3754
+ }, Is = (t) => {
3680
3755
  var a;
3681
3756
  const { cityNameRef: e, onChange: n } = t, i = b({ name: (a = e.value) != null ? a : "" });
3682
3757
  return T(
@@ -3686,7 +3761,7 @@ const es = j(function(e) {
3686
3761
  i.name = r, n == null || n({ name: r });
3687
3762
  }
3688
3763
  ), i;
3689
- }, fs = (t) => {
3764
+ }, ps = (t) => {
3690
3765
  var o;
3691
3766
  const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = N(), a = b({
3692
3767
  name: (o = e.value) != null ? o : "",
@@ -3708,37 +3783,37 @@ const es = j(function(e) {
3708
3783
  componentRestrictions: {
3709
3784
  administrativeArea: "administrative_area_level_1"
3710
3785
  },
3711
- language: se
3786
+ language: ce
3712
3787
  });
3713
3788
  if (c.length !== 1)
3714
3789
  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 });
3790
+ const { geometry: d } = c[0], m = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3791
+ a.name = r, a.bound = m, n == null || n({ name: r, bound: m });
3717
3792
  }), a;
3718
- }, Ms = (t) => {
3793
+ }, vs = (t) => {
3719
3794
  const { supplier: e } = N();
3720
- return e === "gmap" ? fs(t) : gs(t);
3721
- }, Ds = (t) => {
3722
- const { cityNameRef: e } = t, n = Ms({
3795
+ return e === "gmap" ? ps(t) : Is(t);
3796
+ }, Ps = (t) => {
3797
+ const { cityNameRef: e } = t, n = vs({
3723
3798
  cityNameRef: e,
3724
3799
  onChange: (s) => o(s)
3725
- }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = ds({ city: n });
3800
+ }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Ms({ city: n });
3726
3801
  return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
3727
3802
  const c = s.target;
3728
3803
  a(c.value);
3729
3804
  } };
3730
- }, ws = () => {
3731
- const { setMap: t, mapRef: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3805
+ }, bs = () => {
3806
+ const { setMap: t, mapRef: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3732
3807
  mapRef: e,
3733
- padding: [25, 20, 15, 15]
3808
+ padding: [19, 26, 19, 26]
3734
3809
  });
3735
3810
  return { setMap: t, registerFitVeiw: n, setFitView: i };
3736
- }, Cs = () => {
3811
+ }, Es = () => {
3737
3812
  const t = b({
3738
3813
  lng: 0,
3739
3814
  lat: 0,
3740
3815
  name: ""
3741
- }), e = w([]), { apiMapDistance: n } = ae(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3816
+ }), e = w([]), { apiMapDistance: n } = oe(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3742
3817
  panToGeoPositionByRecomend: () => {
3743
3818
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3744
3819
  },
@@ -3760,45 +3835,45 @@ const es = j(function(e) {
3760
3835
  setCenterPlaceByUserSpecified: a,
3761
3836
  apiMapDistance: n
3762
3837
  };
3763
- }, xs = () => {
3764
- const { mapRef: t, setMap: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3838
+ }, Ts = () => {
3839
+ const { mapRef: t, setMap: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3765
3840
  mapRef: t,
3766
3841
  autoFitTimeout: 5e3,
3767
- padding: [25, 20, 15, 15]
3842
+ padding: [19, 26, 19, 26]
3768
3843
  });
3769
3844
  return { setMap: e, registerFitVeiw: n, setFitView: i };
3770
3845
  };
3771
3846
  export {
3772
3847
  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,
3848
+ js as AddressBox,
3849
+ Ns as BusinessQuotingMap,
3850
+ Ds as BusinessRecomendPlaceMap,
3851
+ Cs as BusinessTaxiEndMap,
3852
+ xs as BusinessTaxiServiceMap,
3853
+ Ie as DrivingLine,
3854
+ pe as DrivingRoute,
3855
+ Pe as HeycarMap,
3856
+ As as MapProvider,
3857
+ ve as PassengerCircle,
3858
+ Wr as PickupPoints,
3784
3859
  W as PlaceCircle,
3785
- O as StartEndPoint,
3860
+ Z as StartEndPoint,
3786
3861
  Ke as TaxiCar,
3787
3862
  qe as WalkingLine,
3788
3863
  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
3864
+ os as WaveCircle,
3865
+ Ps as useBusinessMapAutoComplete,
3866
+ bs as useBusinessQuotingMap,
3867
+ Es as useBusinessRecomendPlaceMap,
3868
+ Ts as useBusinessTaxiServiceMap,
3869
+ Ls as useDrivingRoute,
3870
+ Ee as useGeoLocation,
3871
+ Te as useHeycarMap,
3872
+ Ss as useMapAngle,
3873
+ Lr as useMapDrag,
3874
+ be as useMapFitView,
3875
+ oe as useMapGeometry,
3876
+ hs as useMapPlace,
3877
+ wr as useMapRecomendPlace,
3878
+ ws as useWalkingRoute
3804
3879
  };