@heycar/heycars-map 0.2.9 → 0.2.11

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.
Files changed (55) hide show
  1. package/dist/Demo/DemoBusinessTaxiEnd.d.ts +4 -1
  2. package/dist/Demo/DemoBusinessTaxiService.d.ts +2054 -1
  3. package/dist/api/contants.d.ts +2 -0
  4. package/dist/business-components/AddressBox/AddressBox.d.ts +2 -1
  5. package/dist/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +2 -1
  6. package/dist/business-components/BusinessTaxiEndMap/BusinessTaxiEndMap.d.ts +4 -3
  7. package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +3 -2
  8. package/dist/business-components/DrivingLine/DrivingLine.d.ts +2 -1
  9. package/dist/business-components/DrivingRoute/DrivingRoute.d.ts +2 -1
  10. package/dist/business-components/PassengerCircle/PassengerCircle.d.ts +2 -1
  11. package/dist/business-components/PickupPoints/PickupPoints.d.ts +2 -1
  12. package/dist/business-components/PlaceCircle/PlaceCircle.d.ts +2 -1
  13. package/dist/business-components/StartEndPoint/StartEndPoint.d.ts +2 -1
  14. package/dist/business-components/TaxiCar/TaxiCar.d.ts +2 -1
  15. package/dist/business-components/WalkingLine/WalkingLine.d.ts +2 -1
  16. package/dist/business-components/WalkingRoute/WalkingRoute.d.ts +2 -1
  17. package/dist/business-components/WaveCircle/WaveCircle.d.ts +2 -1
  18. package/dist/components/MapProvider/MapProvider.d.ts +2 -1
  19. package/dist/hooks/useMapAutoComplete.d.ts +3 -3
  20. package/dist/hooks/useMapLog.d.ts +4 -0
  21. package/dist/hooks/useMapPlace.d.ts +3 -3
  22. package/dist/hooks/useMapRecomendPlace.d.ts +6 -6
  23. package/dist/hooks-business/useBusinessMapAutoComplete.d.ts +1 -1
  24. package/dist/hooks-business/useBusinessRecomendPlaceMap.d.ts +2 -2
  25. package/dist/hooks-business/useLagecyMapRecomendPlace.d.ts +2 -2
  26. package/dist/index.cjs +56 -56
  27. package/dist/index.js +1431 -1356
  28. package/dist/types/interface.d.ts +1 -1
  29. package/dist/utils/helper.d.ts +2 -0
  30. package/package.json +2 -2
  31. package/src/App.tsx +3 -3
  32. package/src/Demo/DemoBusinessRecomendPlace.tsx +42 -12
  33. package/src/Demo/DemoBusinessTaxiEnd.tsx +34 -9
  34. package/src/Demo/DemoBusinessTaxiService.tsx +53 -27
  35. package/src/api/contants.ts +3 -0
  36. package/src/business-components/AddressBox/AddressBox.tsx +4 -1
  37. package/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.tsx +8 -3
  38. package/src/business-components/BusinessTaxiEndMap/BusinessTaxiEndMap.tsx +21 -11
  39. package/src/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.tsx +109 -28
  40. package/src/business-components/DrivingLine/DrivingLine.tsx +4 -1
  41. package/src/business-components/DrivingRoute/DrivingRoute.tsx +4 -1
  42. package/src/business-components/PassengerCircle/PassengerCircle.tsx +4 -1
  43. package/src/business-components/PickupPoints/PickupPoints.tsx +3 -1
  44. package/src/business-components/PlaceCircle/PlaceCircle.tsx +4 -1
  45. package/src/business-components/StartEndPoint/StartEndPoint.tsx +9 -6
  46. package/src/business-components/TaxiCar/TaxiCar.tsx +4 -1
  47. package/src/business-components/WalkingLine/WalkingLine.tsx +4 -1
  48. package/src/business-components/WalkingRoute/WalkingRoute.tsx +4 -1
  49. package/src/business-components/WaveCircle/WaveCircle.tsx +4 -1
  50. package/src/components/MapProvider/MapProvider.tsx +4 -1
  51. package/src/hooks/useMapLog.ts +12 -0
  52. package/src/hooks/useMapPlace.ts +8 -3
  53. package/src/types/amap/geocoder.d.ts +2 -0
  54. package/src/types/interface.ts +1 -1
  55. package/src/utils/helper.ts +5 -0
package/dist/index.js CHANGED
@@ -1,125 +1,125 @@
1
- import Sn, { inject as ze, provide as Te, watch as x, defineComponent as ot, h as I, watchPostEffect as U, shallowRef as P, onMounted as me, onUnmounted as fe, computed as N, reactive as C, toRefs as st, ref as h, watchEffect as Ce } from "vue";
2
- Sn.util.warn;
3
- const ct = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", k = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii02MS4xJSIgeT0iLTYxLjElIiB3aWR0aD0iMjIyLjIlIiBoZWlnaHQ9IjIyMi4yJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0iZmlsdGVyLTIiPgogICAgICAgICAgICA8ZmVNb3JwaG9sb2d5IHJhZGl1cz0iMSIgb3BlcmF0b3I9ImRpbGF0ZSIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSI+PC9mZU1vcnBob2xvZ3k+CiAgICAgICAgICAgIDxmZU9mZnNldCBkeD0iMCIgZHk9IjAiIGluPS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xpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", ut = Symbol(), L = () => {
4
- const t = ze(ut);
5
- if (!t)
1
+ import Dn, { inject as ze, provide as Ee, watch as P, defineComponent as ct, h as I, watchPostEffect as B, shallowRef as b, onMounted as ve, onUnmounted as pe, watchEffect as ue, computed as N, reactive as w, toRefs as ut, ref as D } from "vue";
2
+ Dn.util.warn;
3
+ const lt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", G = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iN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IxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", dt = Symbol(), L = () => {
4
+ const e = ze(dt);
5
+ if (!e)
6
6
  throw new Error("MyError: useMapSupplier should be under MapProvider");
7
- return t;
8
- }, hn = (t) => Te(ut, t), lt = Symbol("amap"), pe = () => ze(lt), Dn = (t) => Te(lt, t), dt = Symbol("gmap"), ve = () => ze(dt), Cn = (t) => Te(dt, t), gt = () => {
9
- const { supplier: t } = L();
10
- return t === "gmap" ? ve() : pe();
11
- }, B = (t) => {
12
- const e = gt();
13
- x(
14
- () => e.value,
7
+ return e;
8
+ }, Cn = (e) => Ee(dt, e), gt = Symbol("amap"), ye = () => ze(gt), wn = (e) => Ee(gt, e), It = Symbol("gmap"), je = () => ze(It), xn = (e) => Ee(It, e), Mt = () => {
9
+ const { supplier: e } = L();
10
+ return e === "gmap" ? je() : ye();
11
+ }, Y = (e) => {
12
+ const t = Mt();
13
+ P(
14
+ () => t.value,
15
15
  (n) => {
16
- n && Promise.resolve().then(t);
16
+ n && Promise.resolve().then(e);
17
17
  }
18
18
  );
19
- }, It = (t) => {
20
- const { registerOverlay: e, overlayRef: n } = t;
21
- x(
19
+ }, mt = (e) => {
20
+ const { registerOverlay: t, overlayRef: n } = e;
21
+ P(
22
22
  () => n.value,
23
23
  (i, a) => {
24
- e && (a && e.remove(a), i && e.add(i));
24
+ t && (a && t.remove(a), i && t.add(i));
25
25
  }
26
26
  );
27
27
  };
28
- var wn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, xn = typeof global == "object" && global && global.Object === Object && global;
29
- const Pn = xn;
30
- var bn = typeof self == "object" && self && self.Object === Object && self, zn = Pn || bn || Function("return this")();
31
- const Mt = zn;
32
- var Tn = Mt.Symbol;
33
- const F = Tn;
34
- var mt = Object.prototype, En = mt.hasOwnProperty, Rn = mt.toString, ee = F ? F.toStringTag : void 0;
35
- function Zn(t) {
36
- var e = En.call(t, ee), n = t[ee];
28
+ var Pn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, bn = typeof global == "object" && global && global.Object === Object && global;
29
+ const Tn = bn;
30
+ var zn = typeof self == "object" && self && self.Object === Object && self, En = Tn || zn || Function("return this")();
31
+ const ft = En;
32
+ var Rn = ft.Symbol;
33
+ const F = Rn;
34
+ var vt = Object.prototype, Zn = vt.hasOwnProperty, On = vt.toString, ee = F ? F.toStringTag : void 0;
35
+ function kn(e) {
36
+ var t = Zn.call(e, ee), n = e[ee];
37
37
  try {
38
- t[ee] = void 0;
38
+ e[ee] = void 0;
39
39
  var i = !0;
40
40
  } catch {
41
41
  }
42
- var a = Rn.call(t);
43
- return i && (e ? t[ee] = n : delete t[ee]), a;
42
+ var a = On.call(e);
43
+ return i && (t ? e[ee] = n : delete e[ee]), a;
44
44
  }
45
- var On = Object.prototype, kn = On.toString;
46
- function Gn(t) {
47
- return kn.call(t);
45
+ var Gn = Object.prototype, Wn = Gn.toString;
46
+ function Un(e) {
47
+ return Wn.call(e);
48
48
  }
49
- var Wn = "[object Null]", Un = "[object Undefined]", ke = F ? F.toStringTag : void 0;
50
- function Bn(t) {
51
- return t == null ? t === void 0 ? Un : Wn : ke && ke in Object(t) ? Zn(t) : Gn(t);
49
+ var Bn = "[object Null]", Yn = "[object Undefined]", Ge = F ? F.toStringTag : void 0;
50
+ function Vn(e) {
51
+ return e == null ? e === void 0 ? Yn : Bn : Ge && Ge in Object(e) ? kn(e) : Un(e);
52
52
  }
53
- function Yn(t) {
54
- return t != null && typeof t == "object";
53
+ function Hn(e) {
54
+ return e != null && typeof e == "object";
55
55
  }
56
- var Vn = "[object Symbol]";
57
- function ft(t) {
58
- return typeof t == "symbol" || Yn(t) && Bn(t) == Vn;
56
+ var Qn = "[object Symbol]";
57
+ function pt(e) {
58
+ return typeof e == "symbol" || Hn(e) && Vn(e) == Qn;
59
59
  }
60
- function Hn(t, e) {
61
- for (var n = -1, i = t == null ? 0 : t.length, a = Array(i); ++n < i; )
62
- a[n] = e(t[n], n, t);
60
+ function Jn(e, t) {
61
+ for (var n = -1, i = e == null ? 0 : e.length, a = Array(i); ++n < i; )
62
+ a[n] = t(e[n], n, e);
63
63
  return a;
64
64
  }
65
- var Qn = Array.isArray;
66
- const Jn = Qn;
67
- var Fn = 1 / 0, Ge = F ? F.prototype : void 0, We = Ge ? Ge.toString : void 0;
68
- function pt(t) {
69
- if (typeof t == "string")
70
- return t;
71
- if (Jn(t))
72
- return Hn(t, pt) + "";
73
- if (ft(t))
74
- return We ? We.call(t) : "";
75
- var e = t + "";
76
- return e == "0" && 1 / t == -Fn ? "-0" : e;
65
+ var Fn = Array.isArray;
66
+ const Xn = Fn;
67
+ var $n = 1 / 0, We = F ? F.prototype : void 0, Ue = We ? We.toString : void 0;
68
+ function yt(e) {
69
+ if (typeof e == "string")
70
+ return e;
71
+ if (Xn(e))
72
+ return Jn(e, yt) + "";
73
+ if (pt(e))
74
+ return Ue ? Ue.call(e) : "";
75
+ var t = e + "";
76
+ return t == "0" && 1 / e == -$n ? "-0" : t;
77
77
  }
78
- var Xn = /\s/;
79
- function $n(t) {
80
- for (var e = t.length; e-- && Xn.test(t.charAt(e)); )
78
+ var _n = /\s/;
79
+ function Kn(e) {
80
+ for (var t = e.length; t-- && _n.test(e.charAt(t)); )
81
81
  ;
82
- return e;
82
+ return t;
83
83
  }
84
- var _n = /^\s+/;
85
- function Kn(t) {
86
- return t && t.slice(0, $n(t) + 1).replace(_n, "");
84
+ var qn = /^\s+/;
85
+ function ei(e) {
86
+ return e && e.slice(0, Kn(e) + 1).replace(qn, "");
87
87
  }
88
- function we(t) {
89
- var e = typeof t;
90
- return t != null && (e == "object" || e == "function");
88
+ function xe(e) {
89
+ var t = typeof e;
90
+ return e != null && (t == "object" || t == "function");
91
91
  }
92
- var Ue = 0 / 0, qn = /^[-+]0x[0-9a-f]+$/i, ei = /^0b[01]+$/i, ti = /^0o[0-7]+$/i, ni = parseInt;
93
- function Be(t) {
94
- if (typeof t == "number")
95
- return t;
96
- if (ft(t))
97
- return Ue;
98
- if (we(t)) {
99
- var e = typeof t.valueOf == "function" ? t.valueOf() : t;
100
- t = we(e) ? e + "" : e;
92
+ var Be = 0 / 0, ti = /^[-+]0x[0-9a-f]+$/i, ni = /^0b[01]+$/i, ii = /^0o[0-7]+$/i, ai = parseInt;
93
+ function Ye(e) {
94
+ if (typeof e == "number")
95
+ return e;
96
+ if (pt(e))
97
+ return Be;
98
+ if (xe(e)) {
99
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
100
+ e = xe(t) ? t + "" : t;
101
101
  }
102
- if (typeof t != "string")
103
- return t === 0 ? t : +t;
104
- t = Kn(t);
105
- var n = ei.test(t);
106
- return n || ti.test(t) ? ni(t.slice(2), n ? 2 : 8) : qn.test(t) ? Ue : +t;
102
+ if (typeof e != "string")
103
+ return e === 0 ? e : +e;
104
+ e = ei(e);
105
+ var n = ni.test(e);
106
+ return n || ii.test(e) ? ai(e.slice(2), n ? 2 : 8) : ti.test(e) ? Be : +e;
107
107
  }
108
- function vt(t) {
109
- return t == null ? "" : pt(t);
108
+ function jt(e) {
109
+ return e == null ? "" : yt(e);
110
110
  }
111
- function ii(t, e, n, i) {
112
- var a = -1, r = t == null ? 0 : t.length;
113
- for (i && r && (n = t[++a]); ++a < r; )
114
- n = e(n, t[a], a, t);
111
+ function oi(e, t, n, i) {
112
+ var a = -1, o = e == null ? 0 : e.length;
113
+ for (i && o && (n = e[++a]); ++a < o; )
114
+ n = t(n, e[a], a, e);
115
115
  return n;
116
116
  }
117
- function ai(t) {
118
- return function(e) {
119
- return t == null ? void 0 : t[e];
117
+ function ri(e) {
118
+ return function(t) {
119
+ return e == null ? void 0 : e[t];
120
120
  };
121
121
  }
122
- var ri = {
122
+ var si = {
123
123
  // Latin-1 Supplement block.
124
124
  À: "A",
125
125
  Á: "A",
@@ -312,354 +312,354 @@ var ri = {
312
312
  œ: "oe",
313
313
  ʼn: "'n",
314
314
  ſ: "s"
315
- }, oi = ai(ri);
316
- const si = oi;
317
- var ci = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ui = "\\u0300-\\u036f", li = "\\ufe20-\\ufe2f", di = "\\u20d0-\\u20ff", gi = ui + li + di, Ii = "[" + gi + "]", Mi = RegExp(Ii, "g");
318
- function mi(t) {
319
- return t = vt(t), t && t.replace(ci, si).replace(Mi, "");
315
+ }, ci = ri(si);
316
+ const ui = ci;
317
+ var li = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, di = "\\u0300-\\u036f", gi = "\\ufe20-\\ufe2f", Ii = "\\u20d0-\\u20ff", Mi = di + gi + Ii, mi = "[" + Mi + "]", fi = RegExp(mi, "g");
318
+ function vi(e) {
319
+ return e = jt(e), e && e.replace(li, ui).replace(fi, "");
320
320
  }
321
- var fi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
322
- function pi(t) {
323
- return t.match(fi) || [];
321
+ var pi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
322
+ function yi(e) {
323
+ return e.match(pi) || [];
324
324
  }
325
- var vi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
326
- function yi(t) {
327
- return vi.test(t);
325
+ var ji = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
326
+ function Ai(e) {
327
+ return ji.test(e);
328
328
  }
329
- var yt = "\\ud800-\\udfff", ji = "\\u0300-\\u036f", Ai = "\\ufe20-\\ufe2f", Li = "\\u20d0-\\u20ff", Ni = ji + Ai + Li, jt = "\\u2700-\\u27bf", At = "a-z\\xdf-\\xf6\\xf8-\\xff", Si = "\\xac\\xb1\\xd7\\xf7", hi = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Di = "\\u2000-\\u206f", Ci = " \\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", Lt = "A-Z\\xc0-\\xd6\\xd8-\\xde", wi = "\\ufe0e\\ufe0f", Nt = Si + hi + Di + Ci, St = "['’]", Ye = "[" + Nt + "]", xi = "[" + Ni + "]", ht = "\\d+", Pi = "[" + jt + "]", Dt = "[" + At + "]", Ct = "[^" + yt + Nt + ht + jt + At + Lt + "]", bi = "\\ud83c[\\udffb-\\udfff]", zi = "(?:" + xi + "|" + bi + ")", Ti = "[^" + yt + "]", wt = "(?:\\ud83c[\\udde6-\\uddff]){2}", xt = "[\\ud800-\\udbff][\\udc00-\\udfff]", H = "[" + Lt + "]", Ei = "\\u200d", Ve = "(?:" + Dt + "|" + Ct + ")", Ri = "(?:" + H + "|" + Ct + ")", He = "(?:" + St + "(?:d|ll|m|re|s|t|ve))?", Qe = "(?:" + St + "(?:D|LL|M|RE|S|T|VE))?", Pt = zi + "?", bt = "[" + wi + "]?", Zi = "(?:" + Ei + "(?:" + [Ti, wt, xt].join("|") + ")" + bt + Pt + ")*", Oi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ki = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Gi = bt + Pt + Zi, Wi = "(?:" + [Pi, wt, xt].join("|") + ")" + Gi, Ui = RegExp([
330
- H + "?" + Dt + "+" + He + "(?=" + [Ye, H, "$"].join("|") + ")",
331
- Ri + "+" + Qe + "(?=" + [Ye, H + Ve, "$"].join("|") + ")",
332
- H + "?" + Ve + "+" + He,
333
- H + "+" + Qe,
334
- ki,
335
- Oi,
336
- ht,
337
- Wi
329
+ var At = "\\ud800-\\udfff", Li = "\\u0300-\\u036f", Si = "\\ufe20-\\ufe2f", Ni = "\\u20d0-\\u20ff", hi = Li + Si + Ni, Lt = "\\u2700-\\u27bf", St = "a-z\\xdf-\\xf6\\xf8-\\xff", Di = "\\xac\\xb1\\xd7\\xf7", Ci = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wi = "\\u2000-\\u206f", xi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pi = "\\ufe0e\\ufe0f", ht = Di + Ci + wi + xi, Dt = "['’]", Ve = "[" + ht + "]", bi = "[" + hi + "]", Ct = "\\d+", Ti = "[" + Lt + "]", wt = "[" + St + "]", xt = "[^" + At + ht + Ct + Lt + St + Nt + "]", zi = "\\ud83c[\\udffb-\\udfff]", Ei = "(?:" + bi + "|" + zi + ")", Ri = "[^" + At + "]", Pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", H = "[" + Nt + "]", Zi = "\\u200d", He = "(?:" + wt + "|" + xt + ")", Oi = "(?:" + H + "|" + xt + ")", Qe = "(?:" + Dt + "(?:d|ll|m|re|s|t|ve))?", Je = "(?:" + Dt + "(?:D|LL|M|RE|S|T|VE))?", Tt = Ei + "?", zt = "[" + Pi + "]?", ki = "(?:" + Zi + "(?:" + [Ri, Pt, bt].join("|") + ")" + zt + Tt + ")*", Gi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ui = zt + Tt + ki, Bi = "(?:" + [Ti, Pt, bt].join("|") + ")" + Ui, Yi = RegExp([
330
+ H + "?" + wt + "+" + Qe + "(?=" + [Ve, H, "$"].join("|") + ")",
331
+ Oi + "+" + Je + "(?=" + [Ve, H + He, "$"].join("|") + ")",
332
+ H + "?" + He + "+" + Qe,
333
+ H + "+" + Je,
334
+ Wi,
335
+ Gi,
336
+ Ct,
337
+ Bi
338
338
  ].join("|"), "g");
339
- function Bi(t) {
340
- return t.match(Ui) || [];
339
+ function Vi(e) {
340
+ return e.match(Yi) || [];
341
341
  }
342
- function Yi(t, e, n) {
343
- return t = vt(t), e = n ? void 0 : e, e === void 0 ? yi(t) ? Bi(t) : pi(t) : t.match(e) || [];
342
+ function Hi(e, t, n) {
343
+ return e = jt(e), t = n ? void 0 : t, t === void 0 ? Ai(e) ? Vi(e) : yi(e) : e.match(t) || [];
344
344
  }
345
- var Vi = "['’]", Hi = RegExp(Vi, "g");
346
- function Qi(t) {
347
- return function(e) {
348
- return ii(Yi(mi(e).replace(Hi, "")), t, "");
345
+ var Qi = "['’]", Ji = RegExp(Qi, "g");
346
+ function Fi(e) {
347
+ return function(t) {
348
+ return oi(Hi(vi(t).replace(Ji, "")), e, "");
349
349
  };
350
350
  }
351
- var Ji = function() {
352
- return Mt.Date.now();
351
+ var Xi = function() {
352
+ return ft.Date.now();
353
353
  };
354
- const De = Ji;
355
- var Fi = "Expected a function", Xi = Math.max, $i = Math.min;
356
- function _i(t, e, n) {
357
- var i, a, r, o, s, u, l = 0, d = !1, c = !1, g = !0;
358
- if (typeof t != "function")
359
- throw new TypeError(Fi);
360
- e = Be(e) || 0, we(n) && (d = !!n.leading, c = "maxWait" in n, r = c ? Xi(Be(n.maxWait) || 0, e) : r, g = "trailing" in n ? !!n.trailing : g);
361
- function M(p) {
362
- var T = i, q = a;
363
- return i = a = void 0, l = p, o = t.apply(q, T), o;
354
+ const we = Xi;
355
+ var $i = "Expected a function", _i = Math.max, Ki = Math.min;
356
+ function qi(e, t, n) {
357
+ var i, a, o, r, s, u, l = 0, d = !1, c = !1, g = !0;
358
+ if (typeof e != "function")
359
+ throw new TypeError($i);
360
+ t = Ye(t) || 0, xe(n) && (d = !!n.leading, c = "maxWait" in n, o = c ? _i(Ye(n.maxWait) || 0, t) : o, g = "trailing" in n ? !!n.trailing : g);
361
+ function M(v) {
362
+ var E = i, q = a;
363
+ return i = a = void 0, l = v, r = e.apply(q, E), r;
364
364
  }
365
- function m(p) {
366
- return l = p, s = setTimeout(A, e), d ? M(p) : o;
365
+ function m(v) {
366
+ return l = v, s = setTimeout(A, t), d ? M(v) : r;
367
367
  }
368
- function f(p) {
369
- var T = p - u, q = p - l, Oe = e - T;
370
- return c ? $i(Oe, r - q) : Oe;
368
+ function f(v) {
369
+ var E = v - u, q = v - l, ke = t - E;
370
+ return c ? Ki(ke, o - q) : ke;
371
371
  }
372
- function j(p) {
373
- var T = p - u, q = p - l;
374
- return u === void 0 || T >= e || T < 0 || c && q >= r;
372
+ function j(v) {
373
+ var E = v - u, q = v - l;
374
+ return u === void 0 || E >= t || E < 0 || c && q >= o;
375
375
  }
376
376
  function A() {
377
- var p = De();
378
- if (j(p))
379
- return y(p);
380
- s = setTimeout(A, f(p));
377
+ var v = we();
378
+ if (j(v))
379
+ return y(v);
380
+ s = setTimeout(A, f(v));
381
381
  }
382
- function y(p) {
383
- return s = void 0, g && i ? M(p) : (i = a = void 0, o);
382
+ function y(v) {
383
+ return s = void 0, g && i ? M(v) : (i = a = void 0, r);
384
384
  }
385
- function S() {
385
+ function h() {
386
386
  s !== void 0 && clearTimeout(s), l = 0, i = u = a = s = void 0;
387
387
  }
388
- function b() {
389
- return s === void 0 ? o : y(De());
388
+ function T() {
389
+ return s === void 0 ? r : y(we());
390
390
  }
391
- function O() {
392
- var p = De(), T = j(p);
393
- if (i = arguments, a = this, u = p, T) {
391
+ function k() {
392
+ var v = we(), E = j(v);
393
+ if (i = arguments, a = this, u = v, E) {
394
394
  if (s === void 0)
395
395
  return m(u);
396
396
  if (c)
397
- return clearTimeout(s), s = setTimeout(A, e), M(u);
397
+ return clearTimeout(s), s = setTimeout(A, t), M(u);
398
398
  }
399
- return s === void 0 && (s = setTimeout(A, e)), o;
399
+ return s === void 0 && (s = setTimeout(A, t)), r;
400
400
  }
401
- return O.cancel = S, O.flush = b, O;
401
+ return k.cancel = h, k.flush = T, k;
402
402
  }
403
- var Ki = Qi(function(t, e, n) {
404
- return t + (n ? "-" : "") + e.toLowerCase();
403
+ var ea = Fi(function(e, t, n) {
404
+ return e + (n ? "-" : "") + t.toLowerCase();
405
405
  });
406
- const zt = Ki;
407
- function v(t) {
408
- return ot({
409
- name: t.name,
406
+ const Et = ea;
407
+ function p(e) {
408
+ return ct({
409
+ name: e.name,
410
410
  inheritAttrs: !1,
411
- setup(e, n) {
412
- const { attrs: i, slots: a, emit: r } = n, o = i, s = r, u = (d, c) => {
413
- const g = zt(d);
411
+ setup(t, n) {
412
+ const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (d, c) => {
413
+ const g = Et(d);
414
414
  s(d, c), d !== g && s(g, c);
415
415
  }, l = new Proxy(a, {
416
416
  get(d, c, g) {
417
417
  var M;
418
- return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(o, c);
418
+ return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(r, c);
419
419
  }
420
420
  });
421
- return t(o, { ...n, slots: l, emit: u });
421
+ return e(r, { ...n, slots: l, emit: u });
422
422
  }
423
423
  });
424
424
  }
425
- function V(t) {
425
+ function ae(e) {
426
426
  return {
427
- props: (e) => ot({
428
- name: t.name,
427
+ props: (t) => ct({
428
+ name: e.name,
429
429
  inheritAttrs: !1,
430
- props: e,
430
+ props: t,
431
431
  setup(n, i) {
432
- const a = n, { slots: r, emit: o } = i, s = o, u = (d, c) => {
433
- const g = zt(d);
432
+ const a = n, { slots: o, emit: r } = i, s = r, u = (d, c) => {
433
+ const g = Et(d);
434
434
  s(d, c), d !== g && s(g, c);
435
- }, l = new Proxy(r, {
435
+ }, l = new Proxy(o, {
436
436
  get(d, c, g) {
437
437
  var M;
438
438
  return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(a, c);
439
439
  }
440
440
  });
441
- return t(a, { ...i, slots: l, emit: u });
441
+ return e(a, { ...i, slots: l, emit: u });
442
442
  }
443
443
  })
444
444
  };
445
445
  }
446
- const R = I, Ee = "zh-CN", Je = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
447
- var qi = typeof WeakMap == "function", Fe = Object.keys;
448
- function ce(t, e) {
449
- return t === e || t !== t && e !== e;
446
+ const Z = I, Re = "zh-CN", Fe = (e) => e != null && typeof e == "object" && Number.isFinite(e.lat) && Number.isFinite(e.lng);
447
+ var ta = typeof WeakMap == "function", Xe = Object.keys;
448
+ function le(e, t) {
449
+ return e === t || e !== e && t !== t;
450
450
  }
451
- function Xe(t) {
452
- return t.constructor === Object || t.constructor == null;
451
+ function $e(e) {
452
+ return e.constructor === Object || e.constructor == null;
453
453
  }
454
- function $e(t) {
455
- return !!t && typeof t.then == "function";
454
+ function _e(e) {
455
+ return !!e && typeof e.then == "function";
456
456
  }
457
- function _e(t) {
458
- return !!(t && t.$$typeof);
457
+ function Ke(e) {
458
+ return !!(e && e.$$typeof);
459
459
  }
460
- function ea() {
461
- var t = [];
460
+ function na() {
461
+ var e = [];
462
462
  return {
463
- delete: function(e) {
464
- for (var n = 0; n < t.length; ++n)
465
- if (t[n][0] === e) {
466
- t.splice(n, 1);
463
+ delete: function(t) {
464
+ for (var n = 0; n < e.length; ++n)
465
+ if (e[n][0] === t) {
466
+ e.splice(n, 1);
467
467
  return;
468
468
  }
469
469
  },
470
- get: function(e) {
471
- for (var n = 0; n < t.length; ++n)
472
- if (t[n][0] === e)
473
- return t[n][1];
470
+ get: function(t) {
471
+ for (var n = 0; n < e.length; ++n)
472
+ if (e[n][0] === t)
473
+ return e[n][1];
474
474
  },
475
- set: function(e, n) {
476
- for (var i = 0; i < t.length; ++i)
477
- if (t[i][0] === e) {
478
- t[i][1] = n;
475
+ set: function(t, n) {
476
+ for (var i = 0; i < e.length; ++i)
477
+ if (e[i][0] === t) {
478
+ e[i][1] = n;
479
479
  return;
480
480
  }
481
- t.push([e, n]);
481
+ e.push([t, n]);
482
482
  }
483
483
  };
484
484
  }
485
- var ta = function(t) {
486
- return t ? function() {
485
+ var ia = function(e) {
486
+ return e ? function() {
487
487
  return /* @__PURE__ */ new WeakMap();
488
- } : ea;
489
- }(qi);
490
- function Tt(t) {
488
+ } : na;
489
+ }(ta);
490
+ function Rt(e) {
491
491
  return function(n) {
492
- var i = t || n;
493
- return function(r, o, s, u, l, d, c) {
494
- c === void 0 && (c = ta());
495
- var g = !!r && typeof r == "object", M = !!o && typeof o == "object";
492
+ var i = e || n;
493
+ return function(o, r, s, u, l, d, c) {
494
+ c === void 0 && (c = ia());
495
+ var g = !!o && typeof o == "object", M = !!r && typeof r == "object";
496
496
  if (g !== M)
497
497
  return !1;
498
498
  if (!g && !M)
499
- return i(r, o, c);
500
- var m = c.get(r);
501
- if (m && c.get(o))
502
- return m === o;
503
- c.set(r, o), c.set(o, r);
504
- var f = i(r, o, c);
505
- return c.delete(r), c.delete(o), f;
499
+ return i(o, r, c);
500
+ var m = c.get(o);
501
+ if (m && c.get(r))
502
+ return m === r;
503
+ c.set(o, r), c.set(r, o);
504
+ var f = i(o, r, c);
505
+ return c.delete(o), c.delete(r), f;
506
506
  };
507
507
  };
508
508
  }
509
- function na(t, e, n, i) {
510
- var a = t.length;
511
- if (e.length !== a)
509
+ function aa(e, t, n, i) {
510
+ var a = e.length;
511
+ if (t.length !== a)
512
512
  return !1;
513
513
  for (; a-- > 0; )
514
- if (!n(t[a], e[a], a, a, t, e, i))
514
+ if (!n(e[a], t[a], a, a, e, t, i))
515
515
  return !1;
516
516
  return !0;
517
517
  }
518
- function ia(t, e, n, i) {
519
- var a = t.size === e.size;
520
- if (a && t.size) {
521
- var r = {}, o = 0;
522
- t.forEach(function(s, u) {
518
+ function oa(e, t, n, i) {
519
+ var a = e.size === t.size;
520
+ if (a && e.size) {
521
+ var o = {}, r = 0;
522
+ e.forEach(function(s, u) {
523
523
  if (a) {
524
524
  var l = !1, d = 0;
525
- e.forEach(function(c, g) {
526
- !l && !r[d] && (l = n(u, g, o, d, t, e, i) && n(s, c, u, g, t, e, i), l && (r[d] = !0)), d++;
527
- }), o++, a = l;
525
+ t.forEach(function(c, g) {
526
+ !l && !o[d] && (l = n(u, g, r, d, e, t, i) && n(s, c, u, g, e, t, i), l && (o[d] = !0)), d++;
527
+ }), r++, a = l;
528
528
  }
529
529
  });
530
530
  }
531
531
  return a;
532
532
  }
533
- var aa = "_owner", ra = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
534
- function Ke(t, e, n, i) {
535
- var a = Fe(t), r = a.length;
536
- if (Fe(e).length !== r)
533
+ var ra = "_owner", sa = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
534
+ function qe(e, t, n, i) {
535
+ var a = Xe(e), o = a.length;
536
+ if (Xe(t).length !== o)
537
537
  return !1;
538
- if (r)
539
- for (var o = void 0; r-- > 0; ) {
540
- if (o = a[r], o === aa) {
541
- var s = _e(t), u = _e(e);
538
+ if (o)
539
+ for (var r = void 0; o-- > 0; ) {
540
+ if (r = a[o], r === ra) {
541
+ var s = Ke(e), u = Ke(t);
542
542
  if ((s || u) && s !== u)
543
543
  return !1;
544
544
  }
545
- if (!ra(e, o) || !n(t[o], e[o], o, o, t, e, i))
545
+ if (!sa(t, r) || !n(e[r], t[r], r, r, e, t, i))
546
546
  return !1;
547
547
  }
548
548
  return !0;
549
549
  }
550
- var oa = function() {
551
- return /foo/g.flags === "g" ? function(e, n) {
552
- return e.source === n.source && e.flags === n.flags;
553
- } : function(e, n) {
554
- return e.source === n.source && e.global === n.global && e.ignoreCase === n.ignoreCase && e.multiline === n.multiline && e.unicode === n.unicode && e.sticky === n.sticky && e.lastIndex === n.lastIndex;
550
+ var ca = function() {
551
+ return /foo/g.flags === "g" ? function(t, n) {
552
+ return t.source === n.source && t.flags === n.flags;
553
+ } : function(t, n) {
554
+ return t.source === n.source && t.global === n.global && t.ignoreCase === n.ignoreCase && t.multiline === n.multiline && t.unicode === n.unicode && t.sticky === n.sticky && t.lastIndex === n.lastIndex;
555
555
  };
556
556
  }();
557
- function sa(t, e, n, i) {
558
- var a = t.size === e.size;
559
- if (a && t.size) {
560
- var r = {};
561
- t.forEach(function(o, s) {
557
+ function ua(e, t, n, i) {
558
+ var a = e.size === t.size;
559
+ if (a && e.size) {
560
+ var o = {};
561
+ e.forEach(function(r, s) {
562
562
  if (a) {
563
563
  var u = !1, l = 0;
564
- e.forEach(function(d, c) {
565
- !u && !r[l] && (u = n(o, d, s, c, t, e, i), u && (r[l] = !0)), l++;
564
+ t.forEach(function(d, c) {
565
+ !u && !o[l] && (u = n(r, d, s, c, e, t, i), u && (o[l] = !0)), l++;
566
566
  }), a = u;
567
567
  }
568
568
  });
569
569
  }
570
570
  return a;
571
571
  }
572
- var ca = typeof Map == "function", ua = typeof Set == "function", qe = Object.prototype.valueOf;
573
- function ae(t) {
574
- var e = (
572
+ var la = typeof Map == "function", da = typeof Set == "function", et = Object.prototype.valueOf;
573
+ function oe(e) {
574
+ var t = (
575
575
  /* eslint-disable no-use-before-define */
576
- typeof t == "function" ? t(n) : function(i, a, r, o, s, u, l) {
576
+ typeof e == "function" ? e(n) : function(i, a, o, r, s, u, l) {
577
577
  return n(i, a, l);
578
578
  }
579
579
  );
580
- function n(i, a, r) {
580
+ function n(i, a, o) {
581
581
  if (i === a)
582
582
  return !0;
583
583
  if (i && a && typeof i == "object" && typeof a == "object") {
584
- if (Xe(i) && Xe(a))
585
- return Ke(i, a, e, r);
586
- var o = Array.isArray(i), s = Array.isArray(a);
587
- return o || s ? o === s && na(i, a, e, r) : (o = i instanceof Date, s = a instanceof Date, o || s ? o === s && ce(i.getTime(), a.getTime()) : (o = i instanceof RegExp, s = a instanceof RegExp, o || s ? o === s && oa(i, a) : $e(i) || $e(a) ? i === a : ca && (o = i instanceof Map, s = a instanceof Map, o || s) ? o === s && ia(i, a, e, r) : ua && (o = i instanceof Set, s = a instanceof Set, o || s) ? o === s && sa(i, a, e, r) : i.valueOf !== qe || a.valueOf !== qe ? ce(i.valueOf(), a.valueOf()) : Ke(i, a, e, r)));
584
+ if ($e(i) && $e(a))
585
+ return qe(i, a, t, o);
586
+ var r = Array.isArray(i), s = Array.isArray(a);
587
+ return r || s ? r === s && aa(i, a, t, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && le(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && ca(i, a) : _e(i) || _e(a) ? i === a : la && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && oa(i, a, t, o) : da && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && ua(i, a, t, o) : i.valueOf !== et || a.valueOf !== et ? le(i.valueOf(), a.valueOf()) : qe(i, a, t, o)));
588
588
  }
589
589
  return i !== i && a !== a;
590
590
  }
591
591
  return n;
592
592
  }
593
- ae();
594
- ae(function() {
595
- return ce;
593
+ oe();
594
+ oe(function() {
595
+ return le;
596
596
  });
597
- ae(Tt());
598
- ae(Tt(ce));
599
- const w = ([t, e]) => ({
600
- lng: t,
601
- lat: e
602
- }), ye = (t) => {
603
- const e = [], n = t.split("*");
597
+ oe(Rt());
598
+ oe(Rt(le));
599
+ const x = ([e, t]) => ({
600
+ lng: e,
601
+ lat: t
602
+ }), Ae = (e) => {
603
+ const t = [], n = e.split("*");
604
604
  for (const [i, a] of n.entries())
605
- a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
606
- return e;
607
- }, Et = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, Rt = (t) => t.slice(2).toLowerCase(), la = (t) => {
608
- switch (t) {
605
+ a && t.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
606
+ return t;
607
+ }, Zt = (e) => `${e.charAt(2).toLocaleLowerCase()}${e.slice(3)}`, Ot = (e) => e.slice(2).toLowerCase(), ga = (e) => {
608
+ switch (e) {
609
609
  case "en":
610
610
  return "style_en";
611
611
  case "zh":
612
612
  return "style_zh_cn";
613
613
  }
614
- }, D = (t) => [t.lng, t.lat], Zt = (t) => (...e) => {
615
- setTimeout(() => t == null ? void 0 : t(...e));
616
- }, da = (t) => {
617
- const { address_components: e } = t, n = e.find(
614
+ }, C = (e) => [e.lng, e.lat], kt = (e) => (...t) => {
615
+ setTimeout(() => e == null ? void 0 : e(...t));
616
+ }, Ia = (e) => {
617
+ const { address_components: t } = e, n = t.find(
618
618
  (a) => a.types[0] === "administrative_area_level_1" || a.types[0] === "administrative_area_level_2"
619
619
  );
620
620
  if (n)
621
621
  return n.long_name;
622
- const i = e.findIndex((a) => a.types[0] === "country");
622
+ const i = t.findIndex((a) => a.types[0] === "country");
623
623
  if (i > 0)
624
- return e[i - 1].long_name;
625
- }, Ot = ae((t) => (e, n) => Je(e) || Je(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
626
- function kt() {
627
- let t;
624
+ return t[i - 1].long_name;
625
+ }, Gt = oe((e) => (t, n) => Fe(t) || Fe(n) ? new google.maps.LatLng(t).equals(new google.maps.LatLng(n)) : e(t, n));
626
+ function Wt() {
627
+ let e;
628
628
  return function(n) {
629
- return Ot(n, t) || (t = n), t;
629
+ return Gt(n, e) || (e = n), e;
630
630
  };
631
631
  }
632
- function re(t, e, n) {
633
- const i = kt();
634
- return x(() => i(t()), e, {
632
+ function re(e, t, n) {
633
+ const i = Wt();
634
+ return P(() => i(e()), t, {
635
635
  immediate: !1,
636
636
  flush: "post",
637
637
  ...n
638
638
  });
639
639
  }
640
- function $(t, e, n) {
641
- const i = kt();
642
- return x(() => i(t()), e, {
640
+ function $(e, t, n) {
641
+ const i = Wt();
642
+ return P(() => i(e()), t, {
643
643
  immediate: !0,
644
644
  flush: "post",
645
645
  ...n
646
646
  });
647
647
  }
648
- function ga(t) {
649
- return `set${t.charAt(0).toUpperCase()}${t.slice(1)}`;
648
+ function Ma(e) {
649
+ return `set${e.charAt(0).toUpperCase()}${e.slice(1)}`;
650
650
  }
651
- function Ia(t, e, n, i) {
651
+ function ma(e, t, n, i) {
652
652
  const a = n.map(
653
- ({ name: r }) => () => e[r]
653
+ ({ name: o }) => () => t[o]
654
654
  );
655
- x(
655
+ P(
656
656
  a,
657
- (r, o) => {
658
- const s = t.value;
657
+ (o, r) => {
658
+ const s = e.value;
659
659
  if (s)
660
- for (const [u, l] of r.entries()) {
661
- const { name: d, defaultValue: c } = n[u], g = o[u];
662
- Ot(l, g) || s[ga(d)](l != null ? l : c);
660
+ for (const [u, l] of o.entries()) {
661
+ const { name: d, defaultValue: c } = n[u], g = r[u];
662
+ Gt(l, g) || s[Ma(d)](l != null ? l : c);
663
663
  }
664
664
  },
665
665
  {
@@ -669,56 +669,56 @@ function Ia(t, e, n, i) {
669
669
  }
670
670
  );
671
671
  }
672
- function Re(t, e, n, i) {
673
- return Ia(t, e, n, {
672
+ function Ze(e, t, n, i) {
673
+ return ma(e, t, n, {
674
674
  immediate: !1,
675
675
  ...i
676
676
  });
677
677
  }
678
- function ne(t, e, n, i) {
679
- U((a) => {
680
- const r = t == null ? void 0 : t.value;
681
- if (!r)
678
+ function ne(e, t, n, i) {
679
+ B((a) => {
680
+ const o = e == null ? void 0 : e.value;
681
+ if (!o)
682
682
  return;
683
- const o = [];
683
+ const r = [];
684
684
  for (const s of i) {
685
- const u = Et(s), l = Rt(s), d = (c) => n(u, c);
686
- r.on(l, d), o.push(() => r == null ? void 0 : r.off(l, d));
685
+ const u = Zt(s), l = Ot(s), d = (c) => n(u, c);
686
+ o.on(l, d), r.push(() => o == null ? void 0 : o.off(l, d));
687
687
  }
688
688
  a(() => {
689
- for (const s of o)
689
+ for (const s of r)
690
690
  s();
691
691
  });
692
692
  });
693
693
  }
694
- function X(t, e, n, i) {
695
- U((a) => {
696
- const r = t == null ? void 0 : t.value;
697
- if (!r)
694
+ function X(e, t, n, i) {
695
+ B((a) => {
696
+ const o = e == null ? void 0 : e.value;
697
+ if (!o)
698
698
  return;
699
- const o = [];
699
+ const r = [];
700
700
  for (const s of i) {
701
- const u = Et(s), l = Rt(s), d = (g) => n(u, g), c = r.addListener(l, d);
702
- o.push(() => google.maps.event.removeListener(c));
701
+ const u = Zt(s), l = Ot(s), d = (g) => n(u, g), c = o.addListener(l, d);
702
+ r.push(() => google.maps.event.removeListener(c));
703
703
  }
704
704
  a(() => {
705
- for (const s of o)
705
+ for (const s of r)
706
706
  s();
707
707
  });
708
708
  });
709
709
  }
710
- const G = v(function(e, { emit: n }) {
711
- const { registerOverlay: i } = e, a = P(), r = pe();
712
- return me(() => {
713
- a.value = new AMap.Marker({ ...e });
714
- }), fe(() => {
715
- var o;
716
- (o = a.value) == null || o.setMap(null);
717
- }), It({ registerOverlay: i, overlayRef: a }), U(() => {
710
+ const W = p(function(t, { emit: n }) {
711
+ const { registerOverlay: i } = t, a = b(), o = ye();
712
+ return ve(() => {
713
+ a.value = new AMap.Marker({ ...t });
714
+ }), pe(() => {
715
+ var r;
716
+ (r = a.value) == null || r.setMap(null);
717
+ }), mt({ registerOverlay: i, overlayRef: a }), B(() => {
718
718
  var s;
719
- const o = r == null ? void 0 : r.value;
720
- o && ((s = a.value) == null || s.setMap(o));
721
- }), Re(a, e, [
719
+ const r = o == null ? void 0 : o.value;
720
+ r && ((s = a.value) == null || s.setMap(r));
721
+ }), Ze(a, t, [
722
722
  { name: "anchor", defaultValue: "" },
723
723
  { name: "offset", defaultValue: [0, 0] },
724
724
  { name: "clickable", defaultValue: !1 },
@@ -732,142 +732,148 @@ const G = v(function(e, { emit: n }) {
732
732
  { name: "content", defaultValue: "" },
733
733
  { name: "title", defaultValue: "" },
734
734
  { name: "extData", defaultValue: "" }
735
- ]), ne(a, e, n, ["onClick"]), () => null;
736
- }), W = v(function(e, { emit: n }) {
737
- const { registerOverlay: i } = e, a = P(), r = ve(), o = (s) => n(s, { target: a.value });
738
- return It({ registerOverlay: i, overlayRef: a }), me(() => {
739
- const { registerOverlay: s, ...u } = e;
735
+ ]), ne(a, t, n, ["onClick"]), () => null;
736
+ }), U = p(function(t, { emit: n }) {
737
+ const { registerOverlay: i } = t, a = b(), o = je(), r = (s) => n(s, { target: a.value });
738
+ return mt({ registerOverlay: i, overlayRef: a }), ve(() => {
739
+ const { registerOverlay: s, ...u } = t;
740
740
  a.value = new google.maps.marker.AdvancedMarkerView({ ...u }), a.value.addListener;
741
- }), fe(() => {
741
+ }), pe(() => {
742
742
  a.value && (a.value.map = null);
743
- }), U(() => {
744
- const s = r == null ? void 0 : r.value;
743
+ }), B(() => {
744
+ const s = o == null ? void 0 : o.value;
745
745
  !s || !a.value || (a.value.map = s);
746
746
  }), re(
747
747
  () => {
748
- const { content: s, registerOverlay: u, ...l } = e;
748
+ const { content: s, registerOverlay: u, ...l } = t;
749
749
  return l;
750
750
  },
751
751
  (s) => {
752
752
  a.value && Object.assign(a.value, s);
753
753
  }
754
- ), x(
755
- () => e.content,
754
+ ), P(
755
+ () => t.content,
756
756
  (s) => {
757
757
  a.value && (a.value.content = s);
758
758
  },
759
759
  {
760
760
  flush: "post"
761
761
  }
762
- ), X(a, e, o, ["onClick"]), () => null;
763
- }), z = (t, e, n) => {
764
- const { class: i, ...a } = e != null ? e : {}, r = document.createElement(t);
765
- return i && (r.className = i), Object.assign(r, a), n && (r.innerHTML = n), r;
766
- }, Gt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
767
- var Wt = "rgf09w0";
768
- const Ut = v(function(e) {
762
+ ), X(a, t, r, ["onClick"]), () => null;
763
+ }), S = (e, t) => {
764
+ ue(() => {
765
+ e.log && console.log(`log ${t} props = `, { ...e });
766
+ });
767
+ }, z = (e, t, n) => {
768
+ const { class: i, ...a } = t != null ? t : {}, o = document.createElement(e);
769
+ return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
770
+ }, Ut = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
771
+ var Bt = "rgf09w0";
772
+ const Yt = p(function(t) {
769
773
  const n = N(() => `
770
- <img src="${Gt}" class="${Wt}">
774
+ <img src="${Ut}" class="${Bt}">
771
775
  `);
772
- return () => I(G, {
776
+ return () => I(W, {
773
777
  attrs: {
774
- position: e.position,
778
+ position: t.position,
775
779
  content: n.value,
776
780
  anchor: "bottom-center"
777
781
  }
778
782
  });
779
- }), Bt = v(function(e) {
783
+ }), Vt = p(function(t) {
780
784
  const n = N(() => z("img", {
781
- class: Wt,
782
- src: Gt
785
+ class: Bt,
786
+ src: Ut
783
787
  }));
784
- return () => I(W, {
788
+ return () => I(U, {
785
789
  attrs: {
786
- position: w(e.position),
790
+ position: x(t.position),
787
791
  content: n.value
788
792
  }
789
793
  });
790
794
  });
791
- v(function(e) {
795
+ p(function(t) {
792
796
  const n = L();
793
- return () => R(n.supplier === "gmap" ? Bt : Ut, {
794
- attrs: e
797
+ return () => Z(n.supplier === "gmap" ? Vt : Yt, {
798
+ attrs: t
795
799
  });
796
800
  });
797
- var Yt = "_15rq2xn1", Vt = "_15rq2xn0", Ht = "_15rq2xn3", Qt = "_15rq2xn2", Jt = "_15rq2xn4", Ft = "_15rq2xn6", Xt = "_15rq2xn5";
798
- const Ma = v(function(e) {
801
+ var Ht = "_15rq2xn1", Qt = "_15rq2xn0", Jt = "_15rq2xn3", Ft = "_15rq2xn2", Xt = "_15rq2xn4", $t = "_15rq2xn6", _t = "_15rq2xn5";
802
+ const fa = p(function(t) {
803
+ S(t, "AAddressBox");
799
804
  const n = N(() => {
800
805
  var i;
801
806
  return `
802
- <div class="${Vt}">
803
- <div class="${Yt}">
807
+ <div class="${Qt}">
808
+ <div class="${Ht}">
804
809
  <div>
805
- <div class="${Qt}">${e.title}</div>
806
- <div class="${Ht}">${(i = e.description) != null ? i : ""}</div>
810
+ <div class="${Ft}">${t.title}</div>
811
+ <div class="${Jt}">${(i = t.description) != null ? i : ""}</div>
807
812
  </div>
808
- <img class="${Jt}" src="${ct}" >
813
+ <img class="${Xt}" src="${lt}" >
809
814
  </div>
810
- <div class="${Xt}"></div>
811
- <img src="${k}" class="${Ft}">
815
+ <div class="${_t}"></div>
816
+ <img src="${G}" class="${$t}">
812
817
  </div>
813
818
  `;
814
819
  });
815
- return () => e.type === "locator" ? I(Ut, {
820
+ return () => t.type === "locator" ? I(Yt, {
816
821
  attrs: {
817
- position: e.position
822
+ position: t.position
818
823
  }
819
- }) : I(G, {
824
+ }) : I(W, {
820
825
  attrs: {
821
- position: e.position,
826
+ position: t.position,
822
827
  content: n.value,
823
828
  anchor: "bottom-center"
824
829
  }
825
830
  });
826
- }), ma = v(function(e) {
831
+ }), va = p(function(t) {
832
+ S(t, "GAddressBox");
827
833
  const n = N(() => {
828
834
  var i;
829
835
  return z("div", {
830
- class: Vt
836
+ class: Qt
831
837
  }, `
832
- <div class="${Yt}">
838
+ <div class="${Ht}">
833
839
  <div>
834
- <div class="${Qt}">${e.title}</div>
835
- <div class="${Ht}">${(i = e.description) != null ? i : ""}</div>
840
+ <div class="${Ft}">${t.title}</div>
841
+ <div class="${Jt}">${(i = t.description) != null ? i : ""}</div>
836
842
  </div>
837
- <img class="${Jt}" src="${ct}" >
843
+ <img class="${Xt}" src="${lt}" >
838
844
  </div>
839
- <div class="${Xt}"></div>
840
- <img src="${k}" class="${Ft}">
845
+ <div class="${_t}"></div>
846
+ <img src="${G}" class="${$t}">
841
847
  `);
842
848
  });
843
- return () => e.type === "locator" ? I(Bt, {
849
+ return () => t.type === "locator" ? I(Vt, {
844
850
  attrs: {
845
- position: e.position
851
+ position: t.position
846
852
  }
847
- }) : I(W, {
853
+ }) : I(U, {
848
854
  attrs: {
849
- position: w(e.position),
855
+ position: x(t.position),
850
856
  content: n.value
851
857
  }
852
858
  });
853
- }), fa = v(function(e) {
859
+ }), pa = p(function(t) {
854
860
  const n = L();
855
- return () => R(n.supplier === "gmap" ? ma : Ma, {
856
- attrs: e
861
+ return () => Z(n.supplier === "gmap" ? va : fa, {
862
+ attrs: t
857
863
  });
858
864
  });
859
- var xe = {}, pa = {
865
+ var Pe = {}, ya = {
860
866
  get exports() {
861
- return xe;
867
+ return Pe;
862
868
  },
863
- set exports(t) {
864
- xe = t;
869
+ set exports(e) {
870
+ Pe = e;
865
871
  }
866
872
  };
867
- (function(t, e) {
873
+ (function(e, t) {
868
874
  (function(n, i) {
869
- t.exports = i();
870
- })(wn, function() {
875
+ e.exports = i();
876
+ })(Pn, function() {
871
877
  function n(c) {
872
878
  var g = [];
873
879
  return c.AMapUI && g.push(i(c.AMapUI)), c.Loca && g.push(a(c.Loca)), Promise.all(g);
@@ -877,20 +883,20 @@ var xe = {}, pa = {
877
883
  var m = [];
878
884
  if (c.plugins)
879
885
  for (var f = 0; f < c.plugins.length; f += 1)
880
- o.AMapUI.plugins.indexOf(c.plugins[f]) == -1 && m.push(c.plugins[f]);
881
- if (s.AMapUI === r.failed)
886
+ r.AMapUI.plugins.indexOf(c.plugins[f]) == -1 && m.push(c.plugins[f]);
887
+ if (s.AMapUI === o.failed)
882
888
  M("前次请求 AMapUI 失败");
883
- else if (s.AMapUI === r.notload) {
884
- s.AMapUI = r.loading, o.AMapUI.version = c.version || o.AMapUI.version, f = o.AMapUI.version;
889
+ else if (s.AMapUI === o.notload) {
890
+ s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, f = r.AMapUI.version;
885
891
  var j = document.body || document.head, A = document.createElement("script");
886
892
  A.type = "text/javascript", A.src = "https://webapi.amap.com/ui/" + f + "/main.js", A.onerror = function(y) {
887
- s.AMapUI = r.failed, M("请求 AMapUI 失败");
893
+ s.AMapUI = o.failed, M("请求 AMapUI 失败");
888
894
  }, A.onload = function() {
889
- if (s.AMapUI = r.loaded, m.length)
895
+ if (s.AMapUI = o.loaded, m.length)
890
896
  window.AMapUI.loadUI(m, function() {
891
- for (var y = 0, S = m.length; y < S; y++) {
892
- var b = m[y].split("/").slice(-1)[0];
893
- window.AMapUI[b] = arguments[y];
897
+ for (var y = 0, h = m.length; y < h; y++) {
898
+ var T = m[y].split("/").slice(-1)[0];
899
+ window.AMapUI[T] = arguments[y];
894
900
  }
895
901
  for (g(); u.AMapUI.length; )
896
902
  u.AMapUI.splice(0, 1)[0]();
@@ -900,17 +906,17 @@ var xe = {}, pa = {
900
906
  u.AMapUI.splice(0, 1)[0]();
901
907
  }, j.appendChild(A);
902
908
  } else
903
- s.AMapUI === r.loaded ? c.version && c.version !== o.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
904
- for (var y = 0, S = m.length; y < S; y++) {
905
- var b = m[y].split("/").slice(-1)[0];
906
- window.AMapUI[b] = arguments[y];
909
+ s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
910
+ for (var y = 0, h = m.length; y < h; y++) {
911
+ var T = m[y].split("/").slice(-1)[0];
912
+ window.AMapUI[T] = arguments[y];
907
913
  }
908
914
  g();
909
- }) : g() : c.version && c.version !== o.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : u.AMapUI.push(function(y) {
915
+ }) : g() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : u.AMapUI.push(function(y) {
910
916
  y ? M(y) : m.length ? window.AMapUI.loadUI(m, function() {
911
- for (var S = 0, b = m.length; S < b; S++) {
912
- var O = m[S].split("/").slice(-1)[0];
913
- window.AMapUI[O] = arguments[S];
917
+ for (var h = 0, T = m.length; h < T; h++) {
918
+ var k = m[h].split("/").slice(-1)[0];
919
+ window.AMapUI[k] = arguments[h];
914
920
  }
915
921
  g();
916
922
  }) : g();
@@ -919,64 +925,64 @@ var xe = {}, pa = {
919
925
  }
920
926
  function a(c) {
921
927
  return new Promise(function(g, M) {
922
- if (s.Loca === r.failed)
928
+ if (s.Loca === o.failed)
923
929
  M("前次请求 Loca 失败");
924
- else if (s.Loca === r.notload) {
925
- s.Loca = r.loading, o.Loca.version = c.version || o.Loca.version;
926
- var m = o.Loca.version, f = o.AMap.version.startsWith("2"), j = m.startsWith("2");
930
+ else if (s.Loca === o.notload) {
931
+ s.Loca = o.loading, r.Loca.version = c.version || r.Loca.version;
932
+ var m = r.Loca.version, f = r.AMap.version.startsWith("2"), j = m.startsWith("2");
927
933
  if (f && !j || !f && j)
928
934
  M("JSAPI 与 Loca 版本不对应!!");
929
935
  else {
930
- f = o.key, j = document.body || document.head;
936
+ f = r.key, j = document.body || document.head;
931
937
  var A = document.createElement("script");
932
938
  A.type = "text/javascript", A.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + f, A.onerror = function(y) {
933
- s.Loca = r.failed, M("请求 AMapUI 失败");
939
+ s.Loca = o.failed, M("请求 AMapUI 失败");
934
940
  }, A.onload = function() {
935
- for (s.Loca = r.loaded, g(); u.Loca.length; )
941
+ for (s.Loca = o.loaded, g(); u.Loca.length; )
936
942
  u.Loca.splice(0, 1)[0]();
937
943
  }, j.appendChild(A);
938
944
  }
939
945
  } else
940
- s.Loca === r.loaded ? c.version && c.version !== o.Loca.version ? M("不允许多个版本 Loca 混用") : g() : c.version && c.version !== o.Loca.version ? M("不允许多个版本 Loca 混用") : u.Loca.push(function(y) {
946
+ s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : g() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : u.Loca.push(function(y) {
941
947
  y ? M(y) : M();
942
948
  });
943
949
  });
944
950
  }
945
951
  if (!window)
946
952
  throw Error("AMap JSAPI can only be used in Browser.");
947
- var r;
953
+ var o;
948
954
  (function(c) {
949
955
  c.notload = "notload", c.loading = "loading", c.loaded = "loaded", c.failed = "failed";
950
- })(r || (r = {}));
951
- var o = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: r.notload, AMapUI: r.notload, Loca: r.notload }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [], d = function(c) {
952
- typeof c == "function" && (s.AMap === r.loaded ? c(window.AMap) : l.push(c));
956
+ })(o || (o = {}));
957
+ var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [], d = function(c) {
958
+ typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : l.push(c));
953
959
  };
954
960
  return { load: function(c) {
955
961
  return new Promise(function(g, M) {
956
- if (s.AMap == r.failed)
962
+ if (s.AMap == o.failed)
957
963
  M("");
958
- else if (s.AMap == r.notload) {
964
+ else if (s.AMap == o.notload) {
959
965
  var m = c.key, f = c.version, j = c.plugins;
960
- m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), o.key = m, o.AMap.version = f || o.AMap.version, o.AMap.plugins = j || o.AMap.plugins, s.AMap = r.loading, f = document.body || document.head, window.___onAPILoaded = function(y) {
966
+ m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version = f || r.AMap.version, r.AMap.plugins = j || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(y) {
961
967
  if (delete window.___onAPILoaded, y)
962
- s.AMap = r.failed, M(y);
968
+ s.AMap = o.failed, M(y);
963
969
  else
964
- for (s.AMap = r.loaded, n(c).then(function() {
970
+ for (s.AMap = o.loaded, n(c).then(function() {
965
971
  g(window.AMap);
966
972
  }).catch(M); l.length; )
967
973
  l.splice(0, 1)[0]();
968
- }, j = document.createElement("script"), j.type = "text/javascript", j.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + o.AMap.version + "&key=" + m + "&plugin=" + o.AMap.plugins.join(","), j.onerror = function(y) {
969
- s.AMap = r.failed, M(y);
974
+ }, j = document.createElement("script"), j.type = "text/javascript", j.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), j.onerror = function(y) {
975
+ s.AMap = o.failed, M(y);
970
976
  }, f.appendChild(j)) : M("请填写key");
971
- } else if (s.AMap == r.loaded)
972
- if (c.key && c.key !== o.key)
977
+ } else if (s.AMap == o.loaded)
978
+ if (c.key && c.key !== r.key)
973
979
  M("多个不一致的 key");
974
- else if (c.version && c.version !== o.AMap.version)
980
+ else if (c.version && c.version !== r.AMap.version)
975
981
  M("不允许多个版本 JSAPI 混用");
976
982
  else {
977
983
  if (m = [], c.plugins)
978
984
  for (f = 0; f < c.plugins.length; f += 1)
979
- o.AMap.plugins.indexOf(c.plugins[f]) == -1 && m.push(c.plugins[f]);
985
+ r.AMap.plugins.indexOf(c.plugins[f]) == -1 && m.push(c.plugins[f]);
980
986
  m.length ? window.AMap.plugin(m, function() {
981
987
  n(c).then(function() {
982
988
  g(window.AMap);
@@ -985,15 +991,15 @@ var xe = {}, pa = {
985
991
  g(window.AMap);
986
992
  }).catch(M);
987
993
  }
988
- else if (c.key && c.key !== o.key)
994
+ else if (c.key && c.key !== r.key)
989
995
  M("多个不一致的 key");
990
- else if (c.version && c.version !== o.AMap.version)
996
+ else if (c.version && c.version !== r.AMap.version)
991
997
  M("不允许多个版本 JSAPI 混用");
992
998
  else {
993
999
  var A = [];
994
1000
  if (c.plugins)
995
1001
  for (f = 0; f < c.plugins.length; f += 1)
996
- o.AMap.plugins.indexOf(c.plugins[f]) == -1 && A.push(c.plugins[f]);
1002
+ r.AMap.plugins.indexOf(c.plugins[f]) == -1 && A.push(c.plugins[f]);
997
1003
  d(function() {
998
1004
  A.length ? window.AMap.plugin(A, function() {
999
1005
  n(c).then(function() {
@@ -1006,55 +1012,55 @@ var xe = {}, pa = {
1006
1012
  }
1007
1013
  });
1008
1014
  }, reset: function() {
1009
- delete window.AMap, delete window.AMapUI, delete window.Loca, o = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = {
1010
- AMap: r.notload,
1011
- AMapUI: r.notload,
1012
- Loca: r.notload
1015
+ delete window.AMap, delete window.AMapUI, delete window.Loca, r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = {
1016
+ AMap: o.notload,
1017
+ AMapUI: o.notload,
1018
+ Loca: o.notload
1013
1019
  }, u = { AMap: [], AMapUI: [], Loca: [] };
1014
1020
  } };
1015
1021
  });
1016
- })(pa);
1017
- var va = function t(e, n) {
1018
- if (e === n)
1022
+ })(ya);
1023
+ var ja = function e(t, n) {
1024
+ if (t === n)
1019
1025
  return !0;
1020
- if (e && n && typeof e == "object" && typeof n == "object") {
1021
- if (e.constructor !== n.constructor)
1026
+ if (t && n && typeof t == "object" && typeof n == "object") {
1027
+ if (t.constructor !== n.constructor)
1022
1028
  return !1;
1023
- var i, a, r;
1024
- if (Array.isArray(e)) {
1025
- if (i = e.length, i != n.length)
1029
+ var i, a, o;
1030
+ if (Array.isArray(t)) {
1031
+ if (i = t.length, i != n.length)
1026
1032
  return !1;
1027
1033
  for (a = i; a-- !== 0; )
1028
- if (!t(e[a], n[a]))
1034
+ if (!e(t[a], n[a]))
1029
1035
  return !1;
1030
1036
  return !0;
1031
1037
  }
1032
- if (e.constructor === RegExp)
1033
- return e.source === n.source && e.flags === n.flags;
1034
- if (e.valueOf !== Object.prototype.valueOf)
1035
- return e.valueOf() === n.valueOf();
1036
- if (e.toString !== Object.prototype.toString)
1037
- return e.toString() === n.toString();
1038
- if (r = Object.keys(e), i = r.length, i !== Object.keys(n).length)
1038
+ if (t.constructor === RegExp)
1039
+ return t.source === n.source && t.flags === n.flags;
1040
+ if (t.valueOf !== Object.prototype.valueOf)
1041
+ return t.valueOf() === n.valueOf();
1042
+ if (t.toString !== Object.prototype.toString)
1043
+ return t.toString() === n.toString();
1044
+ if (o = Object.keys(t), i = o.length, i !== Object.keys(n).length)
1039
1045
  return !1;
1040
1046
  for (a = i; a-- !== 0; )
1041
- if (!Object.prototype.hasOwnProperty.call(n, r[a]))
1047
+ if (!Object.prototype.hasOwnProperty.call(n, o[a]))
1042
1048
  return !1;
1043
1049
  for (a = i; a-- !== 0; ) {
1044
- var o = r[a];
1045
- if (!t(e[o], n[o]))
1050
+ var r = o[a];
1051
+ if (!e(t[r], n[r]))
1046
1052
  return !1;
1047
1053
  }
1048
1054
  return !0;
1049
1055
  }
1050
- return e !== e && n !== n;
1056
+ return t !== t && n !== n;
1051
1057
  };
1052
- const et = "__googleMapsScriptId";
1058
+ const tt = "__googleMapsScriptId";
1053
1059
  var Q;
1054
- (function(t) {
1055
- t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
1060
+ (function(e) {
1061
+ e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
1056
1062
  })(Q || (Q = {}));
1057
- class Y {
1063
+ class V {
1058
1064
  /**
1059
1065
  * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
1060
1066
  * using this library, instead the defaults are set by the Google Maps
@@ -1064,13 +1070,13 @@ class Y {
1064
1070
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1065
1071
  * ```
1066
1072
  */
1067
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: r = et, language: o, libraries: s = [], mapIds: u, nonce: l, region: d, retries: c = 3, url: g = "https://maps.googleapis.com/maps/api/js", version: M }) {
1068
- 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 = r || et, this.language = o, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = d, this.retries = c, this.url = g, this.version = M, Y.instance) {
1069
- if (!va(this.options, Y.instance.options))
1070
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Y.instance.options)}`);
1071
- return Y.instance;
1073
+ constructor({ apiKey: t, authReferrerPolicy: n, channel: i, client: a, id: o = tt, language: r, libraries: s = [], mapIds: u, nonce: l, region: d, retries: c = 3, url: g = "https://maps.googleapis.com/maps/api/js", version: M }) {
1074
+ if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || tt, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = d, this.retries = c, this.url = g, this.version = M, V.instance) {
1075
+ if (!ja(this.options, V.instance.options))
1076
+ throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(V.instance.options)}`);
1077
+ return V.instance;
1072
1078
  }
1073
- Y.instance = this;
1079
+ V.instance = this;
1074
1080
  }
1075
1081
  get options() {
1076
1082
  return {
@@ -1100,12 +1106,12 @@ class Y {
1100
1106
  * @ignore
1101
1107
  */
1102
1108
  createUrl() {
1103
- let e = this.url;
1104
- return e += `?callback=${this.CALLBACK}`, this.apiKey && (e += `&key=${this.apiKey}`), this.channel && (e += `&channel=${this.channel}`), this.client && (e += `&client=${this.client}`), this.libraries.length > 0 && (e += `&libraries=${this.libraries.join(",")}`), this.language && (e += `&language=${this.language}`), this.region && (e += `&region=${this.region}`), this.version && (e += `&v=${this.version}`), this.mapIds && (e += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (e += `&auth_referrer_policy=${this.authReferrerPolicy}`), e;
1109
+ let t = this.url;
1110
+ return t += `?callback=${this.CALLBACK}`, this.apiKey && (t += `&key=${this.apiKey}`), this.channel && (t += `&channel=${this.channel}`), this.client && (t += `&client=${this.client}`), this.libraries.length > 0 && (t += `&libraries=${this.libraries.join(",")}`), this.language && (t += `&language=${this.language}`), this.region && (t += `&region=${this.region}`), this.version && (t += `&v=${this.version}`), this.mapIds && (t += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (t += `&auth_referrer_policy=${this.authReferrerPolicy}`), t;
1105
1111
  }
1106
1112
  deleteScript() {
1107
- const e = document.getElementById(this.id);
1108
- e && e.remove();
1113
+ const t = document.getElementById(this.id);
1114
+ t && t.remove();
1109
1115
  }
1110
1116
  /**
1111
1117
  * Load the Google Maps JavaScript API script and return a Promise.
@@ -1119,17 +1125,17 @@ class Y {
1119
1125
  * @ignore
1120
1126
  */
1121
1127
  loadPromise() {
1122
- return new Promise((e, n) => {
1128
+ return new Promise((t, n) => {
1123
1129
  this.loadCallback((i) => {
1124
- i ? n(i.error) : e(window.google);
1130
+ i ? n(i.error) : t(window.google);
1125
1131
  });
1126
1132
  });
1127
1133
  }
1128
1134
  /**
1129
1135
  * Load the Google Maps JavaScript API script with a callback.
1130
1136
  */
1131
- loadCallback(e) {
1132
- this.callbacks.push(e), this.execute();
1137
+ loadCallback(t) {
1138
+ this.callbacks.push(t), this.execute();
1133
1139
  }
1134
1140
  /**
1135
1141
  * Set the script on document.
@@ -1139,8 +1145,8 @@ class Y {
1139
1145
  this.callback();
1140
1146
  return;
1141
1147
  }
1142
- const e = this.createUrl(), n = document.createElement("script");
1143
- n.id = this.id, n.type = "text/javascript", n.src = e, n.onerror = this.loadErrorCallback.bind(this), n.defer = !0, n.async = !0, this.nonce && (n.nonce = this.nonce), document.head.appendChild(n);
1148
+ const t = this.createUrl(), n = document.createElement("script");
1149
+ n.id = this.id, n.type = "text/javascript", n.src = t, n.onerror = this.loadErrorCallback.bind(this), n.defer = !0, n.async = !0, this.nonce && (n.nonce = this.nonce), document.head.appendChild(n);
1144
1150
  }
1145
1151
  /**
1146
1152
  * Reset the loader state.
@@ -1151,21 +1157,21 @@ class Y {
1151
1157
  resetIfRetryingFailed() {
1152
1158
  this.failed && this.reset();
1153
1159
  }
1154
- loadErrorCallback(e) {
1155
- if (this.errors.push(e), this.errors.length <= this.retries) {
1160
+ loadErrorCallback(t) {
1161
+ if (this.errors.push(t), this.errors.length <= this.retries) {
1156
1162
  const n = this.errors.length * Math.pow(2, this.errors.length);
1157
1163
  console.log(`Failed to load Google Maps script, retrying in ${n} ms.`), setTimeout(() => {
1158
1164
  this.deleteScript(), this.setScript();
1159
1165
  }, n);
1160
1166
  } else
1161
- this.onerrorEvent = e, this.callback();
1167
+ this.onerrorEvent = t, this.callback();
1162
1168
  }
1163
1169
  setCallback() {
1164
1170
  window.__googleMapsCallback = this.callback.bind(this);
1165
1171
  }
1166
1172
  callback() {
1167
- this.done = !0, this.loading = !1, this.callbacks.forEach((e) => {
1168
- e(this.onerrorEvent);
1173
+ this.done = !0, this.loading = !1, this.callbacks.forEach((t) => {
1174
+ t(this.onerrorEvent);
1169
1175
  }), this.callbacks = [];
1170
1176
  }
1171
1177
  execute() {
@@ -1180,38 +1186,38 @@ class Y {
1180
1186
  }
1181
1187
  }
1182
1188
  }
1183
- const ya = [
1189
+ const Aa = [
1184
1190
  "AMap.Geolocation",
1185
1191
  "AMap.Geocoder",
1186
1192
  "AMap.PlaceSearch",
1187
1193
  "AMap.Driving",
1188
1194
  "AMap.Walking"
1189
- ], ja = ["marker", "places", "geometry"];
1190
- var ie = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(ie || {});
1191
- const Aa = (t) => {
1192
- const { onChange: e } = t;
1195
+ ], La = ["marker", "places", "geometry"];
1196
+ var ie = /* @__PURE__ */ ((e) => (e.LOADING = "LOADING", e.FAILURE = "FAILURE", e.SUCCESS = "SUCCESS", e))(ie || {});
1197
+ const Sa = (e) => {
1198
+ const { onChange: t } = e;
1193
1199
  let n, i;
1194
1200
  const a = new Promise((s, u) => {
1195
1201
  n = s, i = u;
1196
- }), r = P(
1202
+ }), o = b(
1197
1203
  "LOADING"
1198
1204
  /* LOADING */
1199
- ), o = N(() => {
1200
- const { onChange: s, loading: u, fallback: l, apiKey: d, apiSecret: c, apiServiceHost: g, version: M, ...m } = t;
1205
+ ), r = N(() => {
1206
+ const { onChange: s, loading: u, fallback: l, apiKey: d, apiSecret: c, apiServiceHost: g, version: M, ...m } = e;
1201
1207
  return { ...m, key: d, version: M != null ? M : "2.0.5.16" };
1202
1208
  });
1203
1209
  return $(
1204
- () => o.value,
1210
+ () => r.value,
1205
1211
  (s) => {
1206
1212
  const u = (l) => {
1207
- r.value = l, l === "SUCCESS" && n(), l === "FAILURE" && i(), e == null || e(r.value);
1213
+ o.value = l, l === "SUCCESS" && n(), l === "FAILURE" && i(), t == null || t(o.value);
1208
1214
  };
1209
1215
  u(
1210
1216
  "LOADING"
1211
1217
  /* LOADING */
1212
- ), window._AMapSecurityConfig = t.apiServiceHost ? {
1213
- serviceHost: t.apiServiceHost
1214
- } : { securityJsCode: t.apiSecret }, xe.load(s).then(
1218
+ ), window._AMapSecurityConfig = e.apiServiceHost ? {
1219
+ serviceHost: e.apiServiceHost
1220
+ } : { securityJsCode: e.apiSecret }, Pe.load(s).then(
1215
1221
  () => u(
1216
1222
  "SUCCESS"
1217
1223
  /* SUCCESS */
@@ -1222,24 +1228,24 @@ const Aa = (t) => {
1222
1228
  )
1223
1229
  );
1224
1230
  }
1225
- ), { statusRef: r, readyPromise: a };
1226
- }, La = (t) => {
1227
- const { onChange: e } = t;
1231
+ ), { statusRef: o, readyPromise: a };
1232
+ }, Na = (e) => {
1233
+ const { onChange: t } = e;
1228
1234
  let n, i;
1229
1235
  const a = new Promise((s, u) => {
1230
1236
  n = s, i = u;
1231
- }), r = P(
1237
+ }), o = b(
1232
1238
  "LOADING"
1233
1239
  /* LOADING */
1234
- ), o = N(() => {
1235
- const { onChange: s, fallback: u, loading: l, ...d } = t;
1240
+ ), r = N(() => {
1241
+ const { onChange: s, fallback: u, loading: l, ...d } = e;
1236
1242
  return d;
1237
1243
  });
1238
1244
  return $(
1239
- () => o.value,
1245
+ () => r.value,
1240
1246
  (s) => {
1241
- const u = new Y(s), l = (d) => {
1242
- r.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), e == null || e(r.value);
1247
+ const u = new V(s), l = (d) => {
1248
+ o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), t == null || t(o.value);
1243
1249
  };
1244
1250
  l(
1245
1251
  "LOADING"
@@ -1255,41 +1261,41 @@ const Aa = (t) => {
1255
1261
  )
1256
1262
  );
1257
1263
  }
1258
- ), { statusRef: r, readyPromise: a };
1259
- }, Na = (t) => {
1260
- const { gmapKey: e, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: r, language: o, onChange: s } = t;
1261
- return r === "gmap" ? La({
1262
- apiKey: e,
1263
- language: o,
1264
+ ), { statusRef: o, readyPromise: a };
1265
+ }, ha = (e) => {
1266
+ const { gmapKey: t, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: o, language: r, onChange: s } = e;
1267
+ return o === "gmap" ? Na({
1268
+ apiKey: t,
1269
+ language: r,
1264
1270
  version: "beta",
1265
- libraries: ja,
1271
+ libraries: La,
1266
1272
  onChange: s
1267
- }) : Aa({
1273
+ }) : Sa({
1268
1274
  apiKey: n,
1269
1275
  apiSecret: i,
1270
1276
  apiServiceHost: a,
1271
- plugins: ya,
1277
+ plugins: Aa,
1272
1278
  onChange: s
1273
1279
  });
1274
1280
  };
1275
- var Sa = "_1d8ur7t0";
1276
- const ha = v(function(e, { slots: n, emit: i }) {
1281
+ var Da = "_1d8ur7t0";
1282
+ const Ca = p(function(t, { slots: n, emit: i }) {
1277
1283
  const {
1278
1284
  onDragStart: a,
1279
- onDragEnd: r,
1280
- mapRef: o,
1285
+ onDragEnd: o,
1286
+ mapRef: r,
1281
1287
  vectorMapForeign: s = "style_zh_cn",
1282
1288
  ...u
1283
- } = e, l = N(() => ({
1284
- dragEnable: !!e.dragEnable,
1285
- zoomEnable: !!e.zoomEnable,
1286
- jogEnable: !!e.jogEnable,
1287
- pitchEnable: !!e.pitchEnable,
1288
- rotateEnable: !!e.rotateEnable,
1289
- animateEnable: !!e.animateEnable,
1290
- keyboardEnable: !!e.keyboardEnable
1291
- })), d = P(), c = P();
1292
- return Dn(c), U(() => {
1289
+ } = t, l = N(() => ({
1290
+ dragEnable: !!t.dragEnable,
1291
+ zoomEnable: !!t.zoomEnable,
1292
+ jogEnable: !!t.jogEnable,
1293
+ pitchEnable: !!t.pitchEnable,
1294
+ rotateEnable: !!t.rotateEnable,
1295
+ animateEnable: !!t.animateEnable,
1296
+ keyboardEnable: !!t.keyboardEnable
1297
+ })), d = b(), c = b();
1298
+ return wn(c), B(() => {
1293
1299
  if (c.value || !d.value)
1294
1300
  return;
1295
1301
  const g = new AMap.Map(d.value, {
@@ -1297,14 +1303,14 @@ const ha = v(function(e, { slots: n, emit: i }) {
1297
1303
  vectorMapForeign: s,
1298
1304
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1299
1305
  });
1300
- c.value = g, o == null || o(g);
1306
+ c.value = g, r == null || r(g);
1301
1307
  }), re(
1302
1308
  () => l.value,
1303
1309
  (g) => {
1304
1310
  var M;
1305
1311
  (M = c.value) == null || M.setStatus(g);
1306
1312
  }
1307
- ), Re(c, e, [
1313
+ ), Ze(c, t, [
1308
1314
  { name: "center", defaultValue: [0, 0] },
1309
1315
  { name: "zooms", defaultValue: [0, 0] },
1310
1316
  { name: "zoom", defaultValue: 0 },
@@ -1317,65 +1323,66 @@ const ha = v(function(e, { slots: n, emit: i }) {
1317
1323
  { name: "pitch", defaultValue: 0 },
1318
1324
  { name: "mask", defaultValue: [] },
1319
1325
  { name: "labelRejectMask", defaultValue: !1 }
1320
- ]), ne(c, e, i, ["onDragStart", "onDragEnd"]), () => {
1326
+ ]), ne(c, t, i, ["onDragStart", "onDragEnd"]), () => {
1321
1327
  var g;
1322
- return I("div", { ref: d, class: Sa }, (g = n.default) == null ? void 0 : g.call(n));
1328
+ return I("div", { ref: d, class: Da }, (g = n.default) == null ? void 0 : g.call(n));
1323
1329
  };
1324
1330
  });
1325
- let oe = "user";
1326
- const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1327
- oe = "api";
1331
+ let se = "user";
1332
+ const wa = () => se, Kt = () => ({ executeMapApi: (t) => {
1333
+ se = "api";
1328
1334
  try {
1329
- e(), setTimeout(() => {
1330
- oe = "user";
1335
+ t(), setTimeout(() => {
1336
+ se = "user";
1331
1337
  }, 100);
1332
1338
  } catch (n) {
1333
- throw oe = "user", n;
1339
+ throw se = "user", n;
1334
1340
  }
1335
- } }), Ca = v(function(e, { slots: n, emit: i }) {
1336
- const a = e.mapRef, r = N(() => {
1337
- const { mapRef: c, onDragStart: g, onDragEnd: M, ...m } = e;
1341
+ } }), xa = p(function(t, { slots: n, emit: i }) {
1342
+ const a = t.mapRef, o = N(() => {
1343
+ const { mapRef: c, onDragStart: g, onDragEnd: M, ...m } = t;
1338
1344
  return m;
1339
- }), o = r.value, s = P(), u = P(), { executeMapApi: l } = $t(), d = (c) => i(c, { target: u.value });
1340
- return Cn(u), U(() => {
1345
+ }), r = o.value, s = b(), u = b(), { executeMapApi: l } = Kt(), d = (c) => i(c, { target: u.value });
1346
+ return xn(u), B(() => {
1341
1347
  if (u.value || !s.value)
1342
1348
  return;
1343
1349
  let c;
1344
1350
  l(() => {
1345
- c = new google.maps.Map(s.value, { ...o });
1351
+ c = new google.maps.Map(s.value, { ...r });
1346
1352
  }), u.value = c, a == null || a(c);
1347
1353
  }), re(
1348
- () => r.value,
1354
+ () => o.value,
1349
1355
  (c) => {
1350
1356
  l(() => {
1351
1357
  var g;
1352
1358
  return (g = u.value) == null ? void 0 : g.setOptions({ ...c });
1353
1359
  });
1354
1360
  }
1355
- ), X(u, e, d, ["onDragStart", "onDragEnd"]), () => {
1361
+ ), X(u, t, d, ["onDragStart", "onDragEnd"]), () => {
1356
1362
  var c;
1357
1363
  return I("div", { ref: s }, (c = n.default) == null ? void 0 : c.call(n));
1358
1364
  };
1359
- }), xr = V(function(e, {
1365
+ }), zo = ae(function(t, {
1360
1366
  slots: n
1361
1367
  }) {
1362
1368
  const {
1363
1369
  statusRef: i,
1364
1370
  readyPromise: a
1365
- } = Na(e), r = new Proxy(e, {
1366
- get(o, s, u) {
1367
- return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(o, s, u);
1371
+ } = ha(t), o = new Proxy(t, {
1372
+ get(r, s, u) {
1373
+ return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(r, s, u);
1368
1374
  }
1369
1375
  });
1370
- return hn(r), () => {
1371
- var o;
1372
- return I("div", [(o = n.default) == null ? void 0 : o.call(n)]);
1376
+ return Cn(o), () => {
1377
+ var r;
1378
+ return I("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1373
1379
  };
1374
- }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), je = V(function(e, {
1380
+ }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), Le = ae(function(t, {
1375
1381
  slots: n,
1376
1382
  emit: i
1377
1383
  }) {
1378
- const a = L(), r = ({
1384
+ S(t, "HeycarMap");
1385
+ const a = L(), o = ({
1379
1386
  target: s
1380
1387
  }) => {
1381
1388
  const {
@@ -1383,7 +1390,7 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1383
1390
  lat: l
1384
1391
  } = s.getCenter();
1385
1392
  i("dragEnd", [u(), l()]);
1386
- }, o = ({
1393
+ }, r = ({
1387
1394
  target: s
1388
1395
  }) => {
1389
1396
  const {
@@ -1403,7 +1410,7 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1403
1410
  mapRef: c,
1404
1411
  center: g,
1405
1412
  zoom: M
1406
- } = e;
1413
+ } = t;
1407
1414
  if (d === ie.LOADING)
1408
1415
  return (f = n.loading) == null ? void 0 : f.call(n);
1409
1416
  if (d === ie.FAILURE)
@@ -1411,81 +1418,81 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1411
1418
  const m = (A = n.default) == null ? void 0 : A.call(n);
1412
1419
  switch (s) {
1413
1420
  case "gmap":
1414
- return I(Ca, {
1421
+ return I(xa, {
1415
1422
  attrs: {
1416
1423
  mapRef: c,
1417
1424
  mapId: u,
1418
- center: g ? w(g) : void 0,
1425
+ center: g ? x(g) : void 0,
1419
1426
  zoom: M
1420
1427
  },
1421
1428
  on: {
1422
- dragEnd: r
1429
+ dragEnd: o
1423
1430
  }
1424
1431
  }, [m]);
1425
1432
  default:
1426
- return I(ha, {
1433
+ return I(Ca, {
1427
1434
  attrs: {
1428
1435
  mapRef: c,
1429
- vectorMapForeign: la(l),
1436
+ vectorMapForeign: ga(l),
1430
1437
  center: g,
1431
1438
  zoom: M
1432
1439
  },
1433
1440
  on: {
1434
- dragEnd: o
1441
+ dragEnd: r
1435
1442
  }
1436
1443
  }, [m]);
1437
1444
  }
1438
1445
  };
1439
- }).props(["center", "fallback", "loading", "mapRef", "zoom"]), te = v(function(e) {
1440
- const n = P(), i = pe();
1441
- return me(() => {
1442
- n.value = new AMap.Polyline({ ...e });
1443
- }), fe(() => {
1446
+ }).props(["center", "fallback", "loading", "mapRef", "zoom"]), te = p(function(t) {
1447
+ const n = b(), i = ye();
1448
+ return ve(() => {
1449
+ n.value = new AMap.Polyline({ ...t });
1450
+ }), pe(() => {
1444
1451
  var a;
1445
1452
  (a = n.value) == null || a.setMap(null);
1446
- }), U(() => {
1447
- var r;
1453
+ }), B(() => {
1454
+ var o;
1448
1455
  const a = i == null ? void 0 : i.value;
1449
- a && ((r = n.value) == null || r.setMap(a));
1450
- }), Re(n, e, [
1456
+ a && ((o = n.value) == null || o.setMap(a));
1457
+ }), Ze(n, t, [
1451
1458
  { name: "path", defaultValue: [[0, 0]] },
1452
1459
  { name: "extData", defaultValue: void 0 },
1453
1460
  { name: "draggable", defaultValue: !1 }
1454
1461
  ]), re(
1455
1462
  () => {
1456
- const { path: a, extData: r, draggable: o, ...s } = e;
1463
+ const { path: a, extData: o, draggable: r, ...s } = t;
1457
1464
  return s;
1458
1465
  },
1459
1466
  (a) => {
1460
- var r;
1461
- (r = n.value) == null || r.setOptions({ ...a });
1467
+ var o;
1468
+ (o = n.value) == null || o.setOptions({ ...a });
1462
1469
  }
1463
1470
  ), () => null;
1464
- }), se = v(function(e) {
1465
- const n = P(), i = ve();
1466
- return me(() => {
1467
- n.value = new google.maps.Polyline({ ...e });
1468
- }), fe(() => {
1471
+ }), ce = p(function(t) {
1472
+ const n = b(), i = je();
1473
+ return ve(() => {
1474
+ n.value = new google.maps.Polyline({ ...t });
1475
+ }), pe(() => {
1469
1476
  var a;
1470
1477
  (a = n.value) == null || a.setMap(null);
1471
- }), U(() => {
1472
- var r;
1478
+ }), B(() => {
1479
+ var o;
1473
1480
  const a = i == null ? void 0 : i.value;
1474
- a && ((r = n.value) == null || r.setMap(a));
1481
+ a && ((o = n.value) == null || o.setMap(a));
1475
1482
  }), re(
1476
- () => ({ ...e }),
1483
+ () => ({ ...t }),
1477
1484
  (a) => {
1478
- var r;
1479
- (r = n.value) == null || r.setOptions({ ...a });
1485
+ var o;
1486
+ (o = n.value) == null || o.setOptions({ ...a });
1480
1487
  }
1481
1488
  ), () => null;
1482
- }), wa = v(function(e) {
1483
- return () => {
1484
- const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, r = 0.6 * n, o = 1 * n, s = 0.75 * n, u = e.done ? "#96B2CA" : "#487BF4", l = e.done ? "#7693AF" : "#4175F1", d = e.done ? "#7693AF" : "#6C95F5";
1489
+ }), Pa = p(function(t) {
1490
+ return S(t, "ADrivingLine"), () => {
1491
+ const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, u = t.done ? "#96B2CA" : "#487BF4", l = t.done ? "#7693AF" : "#4175F1", d = t.done ? "#7693AF" : "#6C95F5";
1485
1492
  return I("div", [I(te, {
1486
1493
  attrs: {
1487
- path: e.path,
1488
- strokeWeight: i + 2 * a + 2 * o,
1494
+ path: t.path,
1495
+ strokeWeight: i + 2 * a + 2 * r,
1489
1496
  strokeOpacity: 1,
1490
1497
  strokeColor: l,
1491
1498
  lineJoin: "round",
@@ -1493,7 +1500,7 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1493
1500
  }
1494
1501
  }), I(te, {
1495
1502
  attrs: {
1496
- path: e.path,
1503
+ path: t.path,
1497
1504
  strokeWeight: i + 2 * a,
1498
1505
  strokeOpacity: 1,
1499
1506
  strokeColor: d,
@@ -1504,7 +1511,7 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1504
1511
  }
1505
1512
  }), I(te, {
1506
1513
  attrs: {
1507
- path: e.path,
1514
+ path: t.path,
1508
1515
  strokeWeight: i,
1509
1516
  strokeOpacity: 1,
1510
1517
  strokeColor: u,
@@ -1514,8 +1521,8 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1514
1521
  }), I(te, {
1515
1522
  attrs: {
1516
1523
  showDir: !0,
1517
- path: e.path,
1518
- strokeWeight: i + 2 * r,
1524
+ path: t.path,
1525
+ strokeWeight: i + 2 * o,
1519
1526
  strokeOpacity: 1,
1520
1527
  strokeColor: "transparent",
1521
1528
  lineJoin: "round",
@@ -1523,36 +1530,37 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1523
1530
  }
1524
1531
  })]);
1525
1532
  };
1526
- }), xa = v(function(e) {
1527
- const n = N(() => e.path.map(w));
1533
+ }), ba = p(function(t) {
1534
+ S(t, "ADrivingLine");
1535
+ const n = N(() => t.path.map(x));
1528
1536
  return () => {
1529
- const i = window.innerWidth * 0.01, a = 10 * i, r = 2.5 * i, o = 0.35 * i, s = 0.75 * i, u = 1 * i, l = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", c = e.done ? "#7693AF" : "#6C95F5";
1530
- return I("div", [I(se, {
1537
+ const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, u = 1 * i, l = t.done ? "#96B2CA" : "#487BF4", d = t.done ? "#7693AF" : "#4175F1", c = t.done ? "#7693AF" : "#6C95F5";
1538
+ return I("div", [I(ce, {
1531
1539
  attrs: {
1532
1540
  path: n.value,
1533
- strokeWeight: r + 2 * o + 2 * u,
1541
+ strokeWeight: o + 2 * r + 2 * u,
1534
1542
  strokeOpacity: 1,
1535
1543
  strokeColor: d
1536
1544
  }
1537
- }), I(se, {
1545
+ }), I(ce, {
1538
1546
  attrs: {
1539
1547
  path: n.value,
1540
1548
  icons: [{
1541
1549
  icon: {
1542
1550
  path: "M 0,-0.5 0,0.5",
1543
- strokeWeight: r + 2 * o,
1551
+ strokeWeight: o + 2 * r,
1544
1552
  strokeColor: c,
1545
1553
  fillColor: c,
1546
1554
  scale: 1
1547
1555
  },
1548
- repeat: `${r}px`,
1549
- offset: `${r / 2}px`
1556
+ repeat: `${o}px`,
1557
+ offset: `${o / 2}px`
1550
1558
  }]
1551
1559
  }
1552
- }), I(se, {
1560
+ }), I(ce, {
1553
1561
  attrs: {
1554
1562
  path: n.value,
1555
- strokeWeight: r,
1563
+ strokeWeight: o,
1556
1564
  strokeOpacity: 1,
1557
1565
  strokeColor: l,
1558
1566
  icons: [{
@@ -1568,46 +1576,46 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1568
1576
  }
1569
1577
  })]);
1570
1578
  };
1571
- }), Ae = v(function(e) {
1579
+ }), Se = p(function(t) {
1572
1580
  const n = L();
1573
- return () => e.path.length ? R(n.supplier === "gmap" ? xa : wa, {
1574
- attrs: e
1581
+ return () => t.path.length ? Z(n.supplier === "gmap" ? ba : Pa, {
1582
+ attrs: t
1575
1583
  }) : null;
1576
- }), _t = (t) => {
1577
- const e = C({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1584
+ }), qt = (e) => {
1585
+ const t = w({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1578
1586
  return $(
1579
- () => ({ ...t }),
1587
+ () => ({ ...e }),
1580
1588
  ({ from: i, to: a }) => {
1581
1589
  n.search(
1582
1590
  AMap.LngLat.from(i),
1583
1591
  AMap.LngLat.from(a),
1584
1592
  { waypoints: [] },
1585
- (r, o) => {
1586
- switch (r) {
1593
+ (o, r) => {
1594
+ switch (o) {
1587
1595
  case "complete": {
1588
1596
  let s = [];
1589
- const l = o.routes[0];
1597
+ const l = r.routes[0];
1590
1598
  for (const d of l.steps) {
1591
1599
  const g = d.path.map(({ lng: M, lat: m }) => [M, m]);
1592
1600
  s = s.concat(g);
1593
1601
  }
1594
- e.path = s, e.distance = l.distance, e.duration = l.time;
1602
+ t.path = s, t.distance = l.distance, t.duration = l.time;
1595
1603
  return;
1596
1604
  }
1597
1605
  case "no_data":
1598
- e.path = [], e.distance = 0, e.duration = 0;
1606
+ t.path = [], t.distance = 0, t.duration = 0;
1599
1607
  return;
1600
1608
  default:
1601
- throw o;
1609
+ throw r;
1602
1610
  }
1603
1611
  }
1604
1612
  );
1605
1613
  }
1606
- ), e;
1607
- }, Kt = (t) => {
1608
- const e = C({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1614
+ ), t;
1615
+ }, en = (e) => {
1616
+ const t = w({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1609
1617
  return $(
1610
- () => ({ ...t }),
1618
+ () => ({ ...e }),
1611
1619
  ({ from: i, to: a }) => {
1612
1620
  n.route(
1613
1621
  {
@@ -1615,150 +1623,152 @@ const Da = () => oe, $t = () => ({ executeMapApi: (e) => {
1615
1623
  destination: { lng: a[0], lat: a[1] },
1616
1624
  travelMode: google.maps.TravelMode.DRIVING
1617
1625
  },
1618
- (r, o) => {
1626
+ (o, r) => {
1619
1627
  var s, u, l, d;
1620
- switch (o) {
1628
+ switch (r) {
1621
1629
  case google.maps.DirectionsStatus.OK: {
1622
1630
  let c = [], g = 0, M = 0;
1623
- const m = r.routes[0], f = m.overview_path.map((j) => [
1631
+ const m = o.routes[0], f = m.overview_path.map((j) => [
1624
1632
  j.lng(),
1625
1633
  j.lat()
1626
1634
  ]);
1627
1635
  c = c.concat(f);
1628
1636
  for (const j of m.legs)
1629
1637
  g += (u = (s = j.distance) == null ? void 0 : s.value) != null ? u : 0, M += (d = (l = j.duration) == null ? void 0 : l.value) != null ? d : 0;
1630
- e.path = c, e.distance = g, e.duration = M;
1638
+ t.path = c, t.distance = g, t.duration = M;
1631
1639
  return;
1632
1640
  }
1633
1641
  case google.maps.DirectionsStatus.ZERO_RESULTS:
1634
1642
  case google.maps.DirectionsStatus.NOT_FOUND:
1635
- e.path = [], e.distance = 0, e.duration = 0;
1643
+ t.path = [], t.distance = 0, t.duration = 0;
1636
1644
  return;
1637
1645
  default:
1638
- throw new Error(o);
1646
+ throw new Error(r);
1639
1647
  }
1640
1648
  }
1641
1649
  );
1642
1650
  }
1643
- ), e;
1644
- }, Pr = (t) => {
1645
- const { supplier: e } = L();
1646
- return e === "gmap" ? Kt(t) : _t(t);
1647
- }, Pa = (t, e, n) => {
1651
+ ), t;
1652
+ }, Eo = (e) => {
1653
+ const { supplier: t } = L();
1654
+ return t === "gmap" ? en(e) : qt(e);
1655
+ }, Ta = (e, t, n) => {
1648
1656
  if (!n)
1649
1657
  return 0;
1650
- const { x: i, y: a } = n.lngLatToContainer(t), { x: r, y: o } = n.lngLatToContainer(e), s = Math.atan2(a - o, r - i);
1658
+ const { x: i, y: a } = n.lngLatToContainer(e), { x: o, y: r } = n.lngLatToContainer(t), s = Math.atan2(a - r, o - i);
1651
1659
  return (Math.PI / 2 - s) / Math.PI * 180;
1652
- }, qt = (t) => N(() => {
1653
- const { map: e, path: n } = t, [i, a] = n;
1654
- if (!(!i || !a || !e))
1655
- return Pa(i, a, e);
1656
- }), en = (t) => N(() => {
1657
- const { path: e } = t, [n, i] = e;
1660
+ }, tn = (e) => N(() => {
1661
+ const { map: t, path: n } = e, [i, a] = n;
1662
+ if (!(!i || !a || !t))
1663
+ return Ta(i, a, t);
1664
+ }), nn = (e) => N(() => {
1665
+ const { path: t } = e, [n, i] = t;
1658
1666
  if (!(!n || !i))
1659
- return google.maps.geometry.spherical.computeHeading(w(n), w(i));
1660
- }), br = (t) => {
1661
- const { supplier: e } = L();
1662
- return e === "gmap" ? en(t) : qt(t);
1663
- }, ba = v(function(e, {
1667
+ return google.maps.geometry.spherical.computeHeading(x(n), x(i));
1668
+ }), Ro = (e) => {
1669
+ const { supplier: t } = L();
1670
+ return t === "gmap" ? nn(e) : tn(e);
1671
+ }, za = p(function(t, {
1664
1672
  slots: n
1665
1673
  }) {
1666
- const i = pe(), {
1674
+ S(t, "ADrivingRoute");
1675
+ const i = ye(), {
1667
1676
  path: a,
1668
- distance: r,
1669
- duration: o
1670
- } = st(_t(e)), s = qt(C({
1677
+ distance: o,
1678
+ duration: r
1679
+ } = ut(qt(t)), s = tn(w({
1671
1680
  path: a,
1672
1681
  map: i
1673
1682
  }));
1674
1683
  return () => {
1675
1684
  var u;
1676
- return I("div", [(u = n.render) == null ? void 0 : u.call(n, C({
1685
+ return I("div", [(u = n.render) == null ? void 0 : u.call(n, w({
1677
1686
  path: a,
1678
1687
  angle: s,
1679
- distance: r,
1680
- duration: o
1688
+ distance: o,
1689
+ duration: r
1681
1690
  }))]);
1682
1691
  };
1683
- }), za = v(function(e, {
1692
+ }), Ea = p(function(t, {
1684
1693
  slots: n
1685
1694
  }) {
1686
- const i = ve(), {
1695
+ S(t, "GDrivingRoute");
1696
+ const i = je(), {
1687
1697
  path: a,
1688
- distance: r,
1689
- duration: o
1690
- } = st(Kt(e)), s = en(C({
1698
+ distance: o,
1699
+ duration: r
1700
+ } = ut(en(t)), s = nn(w({
1691
1701
  path: a,
1692
1702
  map: i
1693
1703
  }));
1694
1704
  return () => {
1695
1705
  var u;
1696
- return I("div", [(u = n.render) == null ? void 0 : u.call(n, C({
1706
+ return I("div", [(u = n.render) == null ? void 0 : u.call(n, w({
1697
1707
  path: a,
1698
1708
  angle: s,
1699
- distance: r,
1700
- duration: o
1709
+ distance: o,
1710
+ duration: r
1701
1711
  }))]);
1702
1712
  };
1703
- }), Le = v(function(e, {
1713
+ }), Ne = p(function(t, {
1704
1714
  slots: n
1705
1715
  }) {
1706
1716
  const {
1707
1717
  supplier: i
1708
1718
  } = L();
1709
- return () => R(i === "gmap" ? za : ba, {
1710
- attrs: e,
1719
+ return () => Z(i === "gmap" ? Ea : za, {
1720
+ attrs: t,
1711
1721
  scopedSlots: n
1712
1722
  });
1713
- }), Ta = 20, Ea = (t) => {
1714
- const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
1723
+ }), Ra = 20, Za = (e) => {
1724
+ const { mapRef: t, autoFitTimeout: n } = e, i = /* @__PURE__ */ new Set();
1715
1725
  let a;
1716
- const r = () => {
1726
+ const o = () => {
1717
1727
  var m;
1718
- const u = e.value;
1728
+ const u = t.value;
1719
1729
  if (!u)
1720
1730
  return;
1721
- const l = window.innerWidth / 100, [d, c, g, M] = (m = t.padding) != null ? m : [0, 0, 0, 0];
1731
+ const l = window.innerWidth / 100, [d, c, g, M] = (m = e.padding) != null ? m : [0, 0, 0, 0];
1722
1732
  console.log([...i]), u.setFitView([...i], !1, [d * l, g * l, M * l, c * l]);
1723
- }, o = {
1733
+ }, r = {
1724
1734
  add: (u) => {
1725
1735
  i.add(u);
1726
1736
  },
1727
1737
  remove: (u) => {
1728
1738
  i.delete(u);
1729
1739
  },
1730
- setFitView: r
1740
+ setFitView: o
1731
1741
  };
1732
1742
  return ne(
1733
- e,
1743
+ t,
1734
1744
  {},
1735
1745
  () => {
1736
1746
  n && (a && clearTimeout(a), a = setTimeout(() => {
1737
- a = void 0, r();
1747
+ a = void 0, o();
1738
1748
  }, n));
1739
1749
  },
1740
1750
  ["onDragEnd"]
1741
- ), { registerFitVeiw: o, setFitView: r };
1751
+ ), { registerFitVeiw: r, setFitView: o };
1742
1752
  };
1743
- class Ra extends Set {
1753
+ class Oa extends Set {
1744
1754
  getBound() {
1745
- const e = new google.maps.LatLngBounds();
1755
+ const t = new google.maps.LatLngBounds();
1746
1756
  for (const n of this.values()) {
1747
1757
  const i = n instanceof google.maps.Marker ? n.getPosition() : n.position;
1748
- i && e.extend(i);
1758
+ i && t.extend(i);
1749
1759
  }
1750
- return e;
1760
+ return t;
1751
1761
  }
1752
1762
  }
1753
- const Za = (t) => {
1754
- const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = $t(), a = new Ra();
1755
- let r;
1756
- const o = () => {
1763
+ const ka = (e) => {
1764
+ const { mapRef: t, autoFitTimeout: n } = e, { executeMapApi: i } = Kt(), a = new Oa();
1765
+ let o;
1766
+ const r = () => {
1757
1767
  var j;
1758
- const d = e.value;
1768
+ const d = t.value;
1759
1769
  if (!d)
1760
1770
  return;
1761
- const c = window.innerWidth / 100, [g, M, m, f] = (j = t.padding) != null ? j : [0, 0, 0, 0];
1771
+ const c = window.innerWidth / 100, [g, M, m, f] = (j = e.padding) != null ? j : [0, 0, 0, 0];
1762
1772
  i(
1763
1773
  () => d.fitBounds(a.getBound(), {
1764
1774
  top: g * c,
@@ -1774,216 +1784,218 @@ const Za = (t) => {
1774
1784
  remove: (d) => {
1775
1785
  a.delete(d);
1776
1786
  },
1777
- setFitView: o
1787
+ setFitView: r
1778
1788
  }, u = (d) => {
1779
- const c = Da();
1780
- console.log("handleMoveEndOrZomEnd name, eventSource = ", d, c), !(!n || c !== "user") && (r && clearTimeout(r), r = setTimeout(() => {
1781
- r = void 0, o();
1789
+ const c = wa();
1790
+ console.log("handleMoveEndOrZomEnd name, eventSource = ", d, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
1791
+ o = void 0, r();
1782
1792
  }, n));
1783
- }, l = _i(u, Ta);
1784
- return X(e, {}, u, [
1793
+ }, l = qi(u, Ra);
1794
+ return X(t, {}, u, [
1785
1795
  "onDragEnd"
1786
- ]), X(e, {}, l, [
1796
+ ]), X(t, {}, l, [
1787
1797
  "onZoom_changed"
1788
- ]), { registerFitVeiw: s, setFitView: o };
1789
- }, Ne = (t) => {
1790
- const { supplier: e } = L();
1791
- return e === "gmap" ? Za(t) : Ea(t);
1798
+ ]), { registerFitVeiw: s, setFitView: r };
1799
+ }, he = (e) => {
1800
+ const { supplier: t } = L();
1801
+ return t === "gmap" ? ka(e) : Za(e);
1792
1802
  };
1793
- v(function(e, {
1803
+ p(function(t, {
1794
1804
  slots: n
1795
1805
  }) {
1796
- const i = gt(), a = Ne({
1797
- ...e,
1806
+ const i = Mt(), a = he({
1807
+ ...t,
1798
1808
  mapRef: i
1799
1809
  });
1800
1810
  return () => {
1801
- var r;
1802
- return I("div", [(r = n.render) == null ? void 0 : r.call(n, a)]);
1811
+ var o;
1812
+ return I("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1803
1813
  };
1804
1814
  });
1805
- const Oa = v(function(e, {
1815
+ const Ga = p(function(t, {
1806
1816
  slots: n
1807
1817
  }) {
1808
1818
  const {
1809
1819
  registerOverlay: i
1810
- } = e, {
1820
+ } = t, {
1811
1821
  setFitView: a
1812
1822
  } = i;
1813
- return B(a), () => {
1814
- var r;
1815
- return I("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1823
+ return Y(a), () => {
1824
+ var o;
1825
+ return I("div", [(o = n.default) == null ? void 0 : o.call(n)]);
1816
1826
  };
1817
- }), tn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNzMtMS45OTQtMy44NjMtMS45OTQtMi4xMzQgMC0zLjg2My44OTMtMy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YW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
1828
+ function Wa(e, t, n) {
1829
+ return t in e ? Object.defineProperty(e, t, {
1820
1830
  value: n,
1821
1831
  enumerable: !0,
1822
1832
  configurable: !0,
1823
1833
  writable: !0
1824
- }) : t[e] = n, t;
1834
+ }) : e[t] = n, e;
1825
1835
  }
1826
- function tt(t, e) {
1827
- var n = Object.keys(t);
1836
+ function nt(e, t) {
1837
+ var n = Object.keys(e);
1828
1838
  if (Object.getOwnPropertySymbols) {
1829
- var i = Object.getOwnPropertySymbols(t);
1830
- e && (i = i.filter(function(a) {
1831
- return Object.getOwnPropertyDescriptor(t, a).enumerable;
1839
+ var i = Object.getOwnPropertySymbols(e);
1840
+ t && (i = i.filter(function(a) {
1841
+ return Object.getOwnPropertyDescriptor(e, a).enumerable;
1832
1842
  })), n.push.apply(n, i);
1833
1843
  }
1834
1844
  return n;
1835
1845
  }
1836
- function nt(t) {
1837
- for (var e = 1; e < arguments.length; e++) {
1838
- var n = arguments[e] != null ? arguments[e] : {};
1839
- e % 2 ? tt(Object(n), !0).forEach(function(i) {
1840
- ka(t, i, n[i]);
1841
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : tt(Object(n)).forEach(function(i) {
1842
- Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
1846
+ function it(e) {
1847
+ for (var t = 1; t < arguments.length; t++) {
1848
+ var n = arguments[t] != null ? arguments[t] : {};
1849
+ t % 2 ? nt(Object(n), !0).forEach(function(i) {
1850
+ Wa(e, i, n[i]);
1851
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nt(Object(n)).forEach(function(i) {
1852
+ Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
1843
1853
  });
1844
1854
  }
1845
- return t;
1855
+ return e;
1846
1856
  }
1847
- var Ga = (t, e, n) => {
1848
- for (var i of Object.keys(t)) {
1857
+ var Ua = (e, t, n) => {
1858
+ for (var i of Object.keys(e)) {
1849
1859
  var a;
1850
- if (t[i] !== ((a = e[i]) !== null && a !== void 0 ? a : n[i]))
1860
+ if (e[i] !== ((a = t[i]) !== null && a !== void 0 ? a : n[i]))
1851
1861
  return !1;
1852
1862
  }
1853
1863
  return !0;
1854
- }, _ = (t) => (e) => {
1855
- var n = t.defaultClassName, i = nt(nt({}, t.defaultVariants), e);
1864
+ }, _ = (e) => (t) => {
1865
+ var n = e.defaultClassName, i = it(it({}, e.defaultVariants), t);
1856
1866
  for (var a in i) {
1857
- var r, o = (r = i[a]) !== null && r !== void 0 ? r : t.defaultVariants[a];
1858
- if (o != null) {
1859
- var s = o;
1867
+ var o, r = (o = i[a]) !== null && o !== void 0 ? o : e.defaultVariants[a];
1868
+ if (r != null) {
1869
+ var s = r;
1860
1870
  typeof s == "boolean" && (s = s === !0 ? "true" : "false");
1861
1871
  var u = (
1862
1872
  // @ts-expect-error
1863
- t.variantClassNames[a][s]
1873
+ e.variantClassNames[a][s]
1864
1874
  );
1865
1875
  u && (n += " " + u);
1866
1876
  }
1867
1877
  }
1868
- for (var [l, d] of t.compoundVariants)
1869
- Ga(l, i, t.defaultVariants) && (n += " " + d);
1878
+ for (var [l, d] of e.compoundVariants)
1879
+ Ua(l, i, e.defaultVariants) && (n += " " + d);
1870
1880
  return n;
1871
- }, J = _({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), an = "_4a4ovk1", rn = "_4a4ovk4", on = "_4a4ovk5", sn = "_4a4ovk3", ue = "_4a4ovk0", cn = "_4a4ovk2";
1872
- const Wa = V(function(e) {
1881
+ }, J = _({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), rn = "_4a4ovk1", sn = "_4a4ovk4", cn = "_4a4ovk5", un = "_4a4ovk3", de = "_4a4ovk0", ln = "_4a4ovk2";
1882
+ const Ba = p(function(t) {
1883
+ S(t, "AStartEndPoint");
1873
1884
  const n = N(() => {
1874
- var r;
1875
- const i = e.type === "start" ? nn : tn, a = e.description ? ye(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${on}">${o.value}</span>`).join("") : "";
1876
- return !e.description && !e.title ? `<img src="${i}" class="${J({
1877
- type: e.type
1878
- })}">` : e.description ? `
1879
- <div class="${ue}">
1880
- <div class="${an}">
1881
- <div class="${sn}">${(r = e.title) != null ? r : ""}</div>
1882
- <div class="${rn}">${a}</div>
1885
+ var o;
1886
+ const i = t.type === "start" ? on : an, a = t.description ? Ae(t.description).map((r) => r.type === "normal" ? r.value : `<span class="${cn}">${r.value}</span>`).join("") : "";
1887
+ return !t.description && !t.title ? `<img src="${i}" class="${J({
1888
+ type: t.type
1889
+ })}">` : t.description ? `
1890
+ <div class="${de}">
1891
+ <div class="${rn}">
1892
+ <div class="${un}">${(o = t.title) != null ? o : ""}</div>
1893
+ <div class="${sn}">${a}</div>
1883
1894
  </div>
1884
1895
  <img src="${i}" class="${J({
1885
- type: e.type
1896
+ type: t.type
1886
1897
  })}">
1887
1898
  </div>
1888
1899
  ` : `
1889
- <div class="${ue}">
1890
- <div class="${cn}">${e.title}</div>
1900
+ <div class="${de}">
1901
+ <div class="${ln}">${t.title}</div>
1891
1902
  <img src="${i}" class="${J({
1892
- type: e.type
1903
+ type: t.type
1893
1904
  })}">
1894
1905
  </div>
1895
1906
  `;
1896
1907
  });
1897
- return () => I(G, {
1908
+ return () => I(W, {
1898
1909
  attrs: {
1899
- registerOverlay: e.registerOverlay,
1900
- position: e.position,
1910
+ registerOverlay: t.registerOverlay,
1911
+ position: t.position,
1901
1912
  content: n.value,
1902
1913
  anchor: "bottom-center"
1903
1914
  }
1904
1915
  });
1905
- }).props(["type", "title", "registerOverlay", "position", "description"]), Ua = V(function(e) {
1916
+ }), Ya = p(function(t) {
1917
+ S(t, "GStartEndPoint");
1906
1918
  const n = N(() => {
1907
- var r;
1908
- const i = e.type === "start" ? nn : tn, a = e.description ? ye(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${on}">${o.value}</span>`).join("") : "";
1909
- return !e.description && !e.title ? z("img", {
1919
+ var o;
1920
+ const i = t.type === "start" ? on : an, a = t.description ? Ae(t.description).map((r) => r.type === "normal" ? r.value : `<span class="${cn}">${r.value}</span>`).join("") : "";
1921
+ return !t.description && !t.title ? z("img", {
1910
1922
  class: J({
1911
- type: e.type
1923
+ type: t.type
1912
1924
  }),
1913
1925
  src: i
1914
- }) : e.description ? z("div", {
1915
- class: ue
1926
+ }) : t.description ? z("div", {
1927
+ class: de
1916
1928
  }, `
1917
- <div class="${an}">
1918
- <div class="${sn}">${(r = e.title) != null ? r : ""}</div>
1919
- <div class="${rn}">${a}</div>
1929
+ <div class="${rn}">
1930
+ <div class="${un}">${(o = t.title) != null ? o : ""}</div>
1931
+ <div class="${sn}">${a}</div>
1920
1932
  </div>
1921
1933
  <img src="${i}" class="${J({
1922
- type: e.type
1934
+ type: t.type
1923
1935
  })}">
1924
1936
  `) : z("div", {
1925
- class: ue
1937
+ class: de
1926
1938
  }, `
1927
- <div class="${cn}">${e.title}</div>
1939
+ <div class="${ln}">${t.title}</div>
1928
1940
  <img src="${i}" class="${J({
1929
- type: e.type
1941
+ type: t.type
1930
1942
  })}">
1931
1943
  `);
1932
1944
  });
1933
- return () => I(W, {
1945
+ return () => I(U, {
1934
1946
  attrs: {
1935
- registerOverlay: e.registerOverlay,
1936
- position: w(e.position),
1947
+ registerOverlay: t.registerOverlay,
1948
+ position: x(t.position),
1937
1949
  content: n.value
1938
1950
  }
1939
1951
  });
1940
- }).props(["type", "title", "registerOverlay", "position", "description"]), E = v(function(e) {
1952
+ }), R = p(function(t) {
1941
1953
  const n = L();
1942
- return () => R(n.supplier === "gmap" ? Ua : Wa, {
1943
- attrs: e
1954
+ return () => Z(n.supplier === "gmap" ? Ya : Ba, {
1955
+ attrs: t
1944
1956
  });
1945
- }), zr = V((t) => {
1957
+ }), Zo = ae((e) => {
1946
1958
  const {
1947
- registerOverlay: e,
1959
+ registerOverlay: t,
1948
1960
  mapRef: n,
1949
1961
  renderDescription: i
1950
- } = t;
1962
+ } = e;
1951
1963
  return () => {
1952
1964
  const {
1953
1965
  from: a,
1954
- to: r
1955
- } = t, o = D(a), s = D(r);
1956
- return I(je, {
1966
+ to: o
1967
+ } = e, r = C(a), s = C(o);
1968
+ return I(Le, {
1957
1969
  attrs: {
1958
1970
  mapRef: n,
1959
- center: o,
1971
+ center: r,
1960
1972
  zoom: 13
1961
1973
  }
1962
- }, [I(E, {
1974
+ }, [I(R, {
1963
1975
  attrs: {
1964
1976
  type: "start",
1965
- registerOverlay: e,
1966
- position: o,
1977
+ registerOverlay: t,
1978
+ position: r,
1967
1979
  title: a.name
1968
1980
  }
1969
- }), I(Le, {
1981
+ }), I(Ne, {
1970
1982
  attrs: {
1971
1983
  to: s,
1972
- from: o,
1984
+ from: r,
1973
1985
  render: ({
1974
1986
  path: u,
1975
1987
  distance: l,
1976
1988
  duration: d
1977
- }) => [I(Ae, {
1989
+ }) => [I(Se, {
1978
1990
  attrs: {
1979
1991
  path: u
1980
1992
  }
1981
- }), I(E, {
1993
+ }), I(R, {
1982
1994
  attrs: {
1983
1995
  type: "end",
1984
- registerOverlay: e,
1996
+ registerOverlay: t,
1985
1997
  position: s,
1986
- title: r.name,
1998
+ title: o.name,
1987
1999
  description: i({
1988
2000
  distance: l,
1989
2001
  duration: d
@@ -1991,35 +2003,35 @@ const Wa = V(function(e) {
1991
2003
  }
1992
2004
  })]
1993
2005
  }
1994
- }), I(Oa, {
2006
+ }), I(Ga, {
1995
2007
  attrs: {
1996
- registerOverlay: e
2008
+ registerOverlay: t
1997
2009
  }
1998
2010
  })]);
1999
2011
  };
2000
- }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), un = (t) => {
2012
+ }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), dn = (e) => {
2001
2013
  var c, g;
2002
- const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: r } = t != null ? t : {}, o = h(!1), s = h(!1), u = h(), l = h({
2014
+ const { onChange: t, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = e != null ? e : {}, r = D(!1), s = D(!1), u = D(), l = D({
2003
2015
  accuracy: 0,
2004
2016
  altitude: 0,
2005
2017
  altitudeAccuracy: 0,
2006
2018
  heading: 0,
2007
- latitude: (c = r == null ? void 0 : r[1]) != null ? c : 0,
2008
- longitude: (g = r == null ? void 0 : r[0]) != null ? g : 0,
2019
+ latitude: (c = o == null ? void 0 : o[1]) != null ? c : 0,
2020
+ longitude: (g = o == null ? void 0 : o[0]) != null ? g : 0,
2009
2021
  speed: 0
2010
- }), d = h([l.value.longitude, l.value.latitude]);
2011
- return x(
2022
+ }), d = D([l.value.longitude, l.value.latitude]);
2023
+ return P(
2012
2024
  () => !0,
2013
2025
  (M, m, f) => {
2014
- o.value = !0;
2026
+ r.value = !0;
2015
2027
  const j = navigator.geolocation.watchPosition(
2016
2028
  (A) => {
2017
- const y = A.coords, S = [A.coords.longitude, A.coords.latitude];
2018
- l.value = y, d.value = S, o.value && (o.value = !1, s.value = !0, n == null || n({ position: S, coordinate: y })), e == null || e({ position: S, coordinate: y });
2029
+ const y = A.coords, h = [A.coords.longitude, A.coords.latitude];
2030
+ l.value = y, d.value = h, r.value && (r.value = !1, s.value = !0, n == null || n({ position: h, coordinate: y })), t == null || t({ position: h, coordinate: y });
2019
2031
  },
2020
2032
  (A) => {
2021
- o.value = !1, u.value = A;
2022
- const y = t == null ? void 0 : t.geoDefaultPosition;
2033
+ r.value = !1, u.value = A;
2034
+ const y = e == null ? void 0 : e.geoDefaultPosition;
2023
2035
  y && (i == null || i({ position: y })), a == null || a(A), console.log("errorRef = ", u);
2024
2036
  },
2025
2037
  // todo 要不要 timeout
@@ -2032,132 +2044,132 @@ const Wa = V(function(e) {
2032
2044
  geoError: u,
2033
2045
  geoPosition: d,
2034
2046
  geoCoordinate: l,
2035
- geoLoading: o,
2047
+ geoLoading: r,
2036
2048
  geoReady: s
2037
2049
  };
2038
- }, Ba = () => {
2039
- const t = P();
2040
- return { mapRef: t, panTo: (i) => {
2050
+ }, Va = () => {
2051
+ const e = b();
2052
+ return { mapRef: e, panTo: (i) => {
2041
2053
  var a;
2042
- return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(i);
2054
+ return (a = e == null ? void 0 : e.value) == null ? void 0 : a.panTo(i);
2043
2055
  }, setMap: (i) => {
2044
- t.value = i;
2056
+ e.value = i;
2045
2057
  } };
2046
- }, Ya = () => {
2047
- const t = P();
2048
- return { mapRef: t, panTo: (i) => {
2058
+ }, Ha = () => {
2059
+ const e = b();
2060
+ return { mapRef: e, panTo: (i) => {
2049
2061
  var a;
2050
- return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(w(i));
2062
+ return (a = e == null ? void 0 : e.value) == null ? void 0 : a.panTo(x(i));
2051
2063
  }, setMap: (i) => {
2052
- t.value = i;
2064
+ e.value = i;
2053
2065
  } };
2054
- }, Se = () => {
2055
- const { supplier: t } = L();
2056
- return t === "gmap" ? Ya() : Ba();
2057
- }, Va = (t) => {
2058
- const { mapRef: e, onChange: n } = t, i = h([0, 0]), a = h(!1), r = () => {
2066
+ }, De = () => {
2067
+ const { supplier: e } = L();
2068
+ return e === "gmap" ? Ha() : Va();
2069
+ }, Qa = (e) => {
2070
+ const { mapRef: t, onChange: n } = e, i = D([0, 0]), a = D(!1), o = () => {
2059
2071
  Promise.resolve().then(() => a.value = !0);
2060
- }, o = (s, { target: u }) => {
2072
+ }, r = (s, { target: u }) => {
2061
2073
  var c;
2062
2074
  a.value = !1;
2063
2075
  const { lng: l, lat: d } = u.getCenter();
2064
- i.value = [l, d], (c = Zt(n)) == null || c([l, d]);
2076
+ i.value = [l, d], (c = kt(n)) == null || c([l, d]);
2065
2077
  };
2066
- return ne(e, {}, r, [
2078
+ return ne(t, {}, o, [
2067
2079
  "onDragStart"
2068
- ]), ne(e, {}, o, [
2080
+ ]), ne(t, {}, r, [
2069
2081
  "onDragEnd"
2070
2082
  ]), { centerRef: i, isDragging: a };
2071
- }, Ha = (t) => {
2072
- const { mapRef: e, onChange: n } = t, i = h([0, 0]), a = h(!1), r = () => {
2083
+ }, Ja = (e) => {
2084
+ const { mapRef: t, onChange: n } = e, i = D([0, 0]), a = D(!1), o = () => {
2073
2085
  Promise.resolve().then(() => a.value = !0);
2074
- }, o = async () => {
2086
+ }, r = async () => {
2075
2087
  var d, c;
2076
2088
  a.value = !1;
2077
- const s = (d = e.value) == null ? void 0 : d.getCenter(), u = s == null ? void 0 : s.lng(), l = s == null ? void 0 : s.lat();
2078
- i.value = [u, l], (c = Zt(n)) == null || c([u, l]);
2089
+ const s = (d = t.value) == null ? void 0 : d.getCenter(), u = s == null ? void 0 : s.lng(), l = s == null ? void 0 : s.lat();
2090
+ i.value = [u, l], (c = kt(n)) == null || c([u, l]);
2079
2091
  };
2080
- return X(e, {}, r, [
2092
+ return X(t, {}, o, [
2081
2093
  "onDragStart"
2082
- ]), X(e, {}, o, [
2094
+ ]), X(t, {}, r, [
2083
2095
  "onDragEnd"
2084
2096
  ]), { centerRef: i, isDragging: a };
2085
- }, Qa = (t) => {
2086
- const { supplier: e } = L();
2087
- return e === "gmap" ? Ha(t) : Va(t);
2097
+ }, Fa = (e) => {
2098
+ const { supplier: t } = L();
2099
+ return t === "gmap" ? Ja(e) : Qa(e);
2088
2100
  }, K = () => {
2089
- const t = h(0);
2090
- return { idx: t, update: () => {
2091
- t.value += 1;
2101
+ const e = D(0);
2102
+ return { idx: e, update: () => {
2103
+ e.value += 1;
2092
2104
  } };
2093
- }, ln = (t) => {
2094
- const { pointRef: e, onChange: n } = t, { readyPromise: i } = L(), { idx: a, update: r } = K(), o = C({
2095
- lng: e.value[0],
2096
- lat: e.value[1],
2105
+ }, gn = (e) => {
2106
+ const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = K(), r = w({
2107
+ lng: t.value[0],
2108
+ lat: t.value[1],
2097
2109
  name: "",
2098
2110
  cityName: void 0
2099
2111
  });
2100
- return x(
2112
+ return P(
2101
2113
  () => a.value,
2102
2114
  async () => {
2103
2115
  await i;
2104
- const s = new AMap.Geocoder({ lang: Ee }), [u, l] = e.value;
2116
+ const s = new AMap.Geocoder({ lang: Re }), [u, l] = t.value;
2105
2117
  s.getAddress(new AMap.LngLat(u, l), (d, c) => {
2106
2118
  switch (d) {
2107
2119
  case "complete": {
2108
- const { formattedAddress: g, addressComponent: M } = c.regeocode, m = M.city ? M.city : M.province;
2109
- o.name = g, o.lng = u, o.lat = l, o.cityName = m, n == null || n({ lng: u, lat: l, name: g, cityName: m });
2120
+ const { formattedAddress: g, addressComponent: M } = c.regeocode, m = M.city ? M.city : M.province, f = M.country;
2121
+ r.name = g, r.lng = u, r.lat = l, r.cityName = m, r.countryName = f, n == null || n({ lng: u, lat: l, name: g, cityName: m, countryName: f });
2110
2122
  return;
2111
2123
  }
2112
2124
  case "no_data":
2113
- o.name = "", n == null || n({ lng: u, lat: l, name: "" });
2125
+ r.name = "", n == null || n({ lng: u, lat: l, name: "" });
2114
2126
  return;
2115
2127
  case "error":
2116
2128
  throw c;
2117
2129
  }
2118
2130
  });
2119
2131
  }
2120
- ), { place: o, updatePlace: r };
2121
- }, dn = (t) => {
2122
- const { pointRef: e, onChange: n } = t, { readyPromise: i } = L(), { idx: a, update: r } = K(), o = C({ lng: e.value[0], lat: e.value[1], name: "" });
2123
- return x(
2132
+ ), { place: r, updatePlace: o };
2133
+ }, In = (e) => {
2134
+ const { pointRef: t, onChange: n } = e, { readyPromise: i } = L(), { idx: a, update: o } = K(), r = w({ lng: t.value[0], lat: t.value[1], name: "" });
2135
+ return P(
2124
2136
  () => a.value,
2125
2137
  async () => {
2126
2138
  await i;
2127
- const s = new google.maps.Geocoder(), [u, l] = e.value, { results: d } = await s.geocode({ language: Ee, location: { lng: u, lat: l } }), c = d[0].formatted_address, g = da(d[0]);
2128
- o.name = c, o.lng = u, o.lat = l, n == null || n({ lng: u, lat: l, name: c, cityName: g });
2139
+ const s = new google.maps.Geocoder(), [u, l] = t.value, { results: d } = await s.geocode({ language: Re, location: { lng: u, lat: l } }), c = d[0].formatted_address, g = Ia(d[0]), M = d.slice(-1)[0].address_components[0].long_name;
2140
+ r.lng = u, r.lat = l, r.name = c, r.cityName = g, r.countryName = M, n == null || n({ lng: u, lat: l, name: c, cityName: g, countryName: M });
2129
2141
  }
2130
- ), { place: o, updatePlace: r };
2131
- }, Tr = (t) => {
2132
- const { supplier: e } = L();
2133
- return e === "gmap" ? dn(t) : ln(t);
2134
- }, Ja = (t, e) => {
2135
- let n = 1 / 0, i = t;
2136
- for (const a of e) {
2137
- const r = AMap.GeometryUtil.distance(D(t), D(a));
2138
- r >= n || (i = a, n = r);
2142
+ ), { place: r, updatePlace: o };
2143
+ }, Oo = (e) => {
2144
+ const { supplier: t } = L();
2145
+ return t === "gmap" ? In(e) : gn(e);
2146
+ }, Xa = (e, t) => {
2147
+ let n = 1 / 0, i = e;
2148
+ for (const a of t) {
2149
+ const o = AMap.GeometryUtil.distance(C(e), C(a));
2150
+ o >= n || (i = a, n = o);
2139
2151
  }
2140
2152
  return { shortestPlace: i, shortestDistance: n };
2141
- }, Fa = (t, e) => {
2142
- let n = 1 / 0, i = t;
2143
- for (const a of e) {
2144
- const r = google.maps.geometry.spherical.computeDistanceBetween(t, a);
2145
- r >= n || (i = a, n = r);
2153
+ }, $a = (e, t) => {
2154
+ let n = 1 / 0, i = e;
2155
+ for (const a of t) {
2156
+ const o = google.maps.geometry.spherical.computeDistanceBetween(e, a);
2157
+ o >= n || (i = a, n = o);
2146
2158
  }
2147
2159
  return { shortestPlace: i, shortestDistance: n };
2148
- }, Xa = (t) => {
2149
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: r, onChangePlace: o } = t, s = h(!0), u = h([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = ln({ pointRef: e, onChange: o }), m = C({ ...g });
2150
- return x(
2160
+ }, _a = (e) => {
2161
+ const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = D(!0), u = D([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = gn({ pointRef: t, onChange: r }), m = w({ ...g });
2162
+ return P(
2151
2163
  () => l.value,
2152
2164
  async () => {
2153
2165
  await c;
2154
2166
  const f = await n({ ...g }, a);
2155
2167
  if (f === void 0) {
2156
- s.value = !1, u.value = [], Object.assign(m, { ...g }), r == null || r({ ...g });
2168
+ s.value = !1, u.value = [], Object.assign(m, { ...g }), o == null || o({ ...g });
2157
2169
  return;
2158
2170
  }
2159
- const { shortestPlace: j, shortestDistance: A } = Ja(g, f), y = i(a), S = A > y ? g : j;
2160
- s.value = !0, u.value = f, Object.assign(m, { ...S }), r == null || r({ ...S });
2171
+ const { shortestPlace: j, shortestDistance: A } = Xa(g, f), y = i(a), h = A > y ? g : j;
2172
+ s.value = !0, u.value = f, Object.assign(m, { ...h }), o == null || o({ ...h });
2161
2173
  }
2162
2174
  ), {
2163
2175
  recomendPlace: m,
@@ -2166,19 +2178,19 @@ const Wa = V(function(e) {
2166
2178
  updateRecomandPlace: d,
2167
2179
  updatePlace: M
2168
2180
  };
2169
- }, $a = (t) => {
2170
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: r, onChangePlace: o } = t, s = h(!0), u = h([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = dn({ pointRef: e, onChange: o }), m = C({ ...g });
2171
- return x(
2181
+ }, Ka = (e) => {
2182
+ const { pointRef: t, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = e, s = D(!0), u = D([]), { idx: l, update: d } = K(), { readyPromise: c } = L(), { place: g, updatePlace: M } = In({ pointRef: t, onChange: r }), m = w({ ...g });
2183
+ return P(
2172
2184
  () => l.value,
2173
2185
  async () => {
2174
2186
  await c;
2175
2187
  const f = await n({ ...g }, a);
2176
2188
  if (f === void 0) {
2177
- s.value = !1, u.value = [], Object.assign(m, { ...g }), r == null || r({ ...g });
2189
+ s.value = !1, u.value = [], Object.assign(m, { ...g }), o == null || o({ ...g });
2178
2190
  return;
2179
2191
  }
2180
- const { shortestPlace: j, shortestDistance: A } = Fa(g, f), y = i(a), S = A > y ? g : j;
2181
- s.value = !0, u.value = f, Object.assign(m, { ...S }), r == null || r({ ...S });
2192
+ const { shortestPlace: j, shortestDistance: A } = $a(g, f), y = i(a), h = A > y ? g : j;
2193
+ s.value = !0, u.value = f, Object.assign(m, { ...h }), o == null || o({ ...h });
2182
2194
  }
2183
2195
  ), {
2184
2196
  recomendPlace: m,
@@ -2187,163 +2199,167 @@ const Wa = V(function(e) {
2187
2199
  updateRecomandPlace: d,
2188
2200
  updatePlace: M
2189
2201
  };
2190
- }, _a = (t) => {
2191
- const { supplier: e } = L();
2192
- return e === "gmap" ? $a(t) : Xa(t);
2193
- }, gn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZ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_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2195
- const Ka = v(function(e) {
2202
+ }, qa = (e) => {
2203
+ const { supplier: t } = L();
2204
+ return t === "gmap" ? Ka(e) : _a(e);
2205
+ }, Mn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2206
+ var mn = _({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2207
+ const eo = p(function(t) {
2208
+ S(t, "APassengerCircle");
2196
2209
  const n = N(() => {
2197
2210
  const {
2198
2211
  size: i = "large"
2199
- } = e;
2212
+ } = t;
2200
2213
  return `
2201
- <img src="${i === "large" ? gn : k}" class="${In({
2214
+ <img src="${i === "large" ? Mn : G}" class="${mn({
2202
2215
  size: i
2203
2216
  })}">
2204
2217
  `;
2205
2218
  });
2206
- return () => I(G, {
2219
+ return () => I(W, {
2207
2220
  attrs: {
2208
- position: e.position,
2221
+ position: t.position,
2209
2222
  content: n.value,
2210
2223
  anchor: "bottom-center",
2211
- registerOverlay: e.registerOverlay
2224
+ registerOverlay: t.registerOverlay
2212
2225
  }
2213
2226
  });
2214
- }), qa = v(function(e) {
2227
+ }), to = p(function(t) {
2228
+ S(t, "GPassengerCircle");
2215
2229
  const n = N(() => {
2216
2230
  const {
2217
2231
  size: i = "large"
2218
- } = e, a = i === "large" ? gn : k;
2232
+ } = t, a = i === "large" ? Mn : G;
2219
2233
  return z("img", {
2220
- class: In({
2234
+ class: mn({
2221
2235
  size: i
2222
2236
  }),
2223
2237
  src: a
2224
2238
  });
2225
2239
  });
2226
- return () => I(W, {
2240
+ return () => I(U, {
2227
2241
  attrs: {
2228
- position: w(e.position),
2242
+ position: x(t.position),
2229
2243
  content: n.value,
2230
- registerOverlay: e.registerOverlay
2244
+ registerOverlay: t.registerOverlay
2231
2245
  }
2232
2246
  });
2233
- }), he = v(function(e) {
2247
+ }), Ce = p(function(t) {
2234
2248
  const n = L();
2235
- return () => R(n.supplier === "gmap" ? qa : Ka, {
2236
- attrs: e
2249
+ return () => Z(n.supplier === "gmap" ? to : eo, {
2250
+ attrs: t
2237
2251
  });
2238
2252
  });
2239
- var Pe = /* @__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))(Pe || {});
2240
- var it = _({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), at = _({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Mn = "fhyw8b", mn = _({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), le = _({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2241
- const er = v(function(e, {
2253
+ var be = /* @__PURE__ */ ((e) => (e.topLeft = "top-left", e.topCenter = "top-center", e.topRight = "top-right", e.middleLeft = "middle-left", e.center = "center", e.middleRight = "middle-right", e.bottomLeft = "bottom-left", e.bottomCenter = "bottom-center", e.bottomRight = "bottom-right", e))(be || {});
2254
+ var at = _({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), ot = _({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), fn = "fhyw8b", vn = _({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ge = _({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2255
+ const no = p(function(t, {
2242
2256
  emit: n
2243
2257
  }) {
2258
+ S(t, "APlaceCircle");
2244
2259
  const i = N(() => {
2245
2260
  var s;
2246
- return (s = e.textAlign) != null ? s : "right";
2261
+ return (s = t.textAlign) != null ? s : "right";
2247
2262
  }), a = N(() => {
2248
2263
  const {
2249
2264
  hideIcon: s = !1
2250
- } = e;
2265
+ } = t;
2251
2266
  return `
2252
- <div class="${mn({
2267
+ <div class="${vn({
2253
2268
  textAlign: i.value
2254
2269
  })}">
2255
- <img class="${le({
2270
+ <img class="${ge({
2256
2271
  hideIcon: s
2257
- })} ${it({
2272
+ })} ${at({
2258
2273
  textAlign: i.value
2259
- })}" src="${k}">
2260
- <div class="${Mn}">${e.label}</div>
2274
+ })}" src="${G}">
2275
+ <div class="${fn}">${t.label}</div>
2261
2276
  </div>
2262
2277
  `;
2263
- }), r = N(() => {
2278
+ }), o = N(() => {
2264
2279
  const {
2265
2280
  hideIcon: s = !1
2266
- } = e;
2267
- return `<img class="${le({
2281
+ } = t;
2282
+ return `<img class="${ge({
2268
2283
  hideIcon: s
2269
- })} ${it({
2284
+ })} ${at({
2270
2285
  textAlign: i.value
2271
- })}" src="${k}">`;
2272
- }), o = (s) => {
2273
- console.log("on amap marker e = ", s), n("click", e.position);
2286
+ })}" src="${G}">`;
2287
+ }), r = (s) => {
2288
+ console.log("on amap marker e = ", s), n("click", t.position);
2274
2289
  };
2275
- return () => I(G, {
2290
+ return () => I(W, {
2276
2291
  attrs: {
2277
- position: e.position,
2278
- content: e.label ? a.value : r.value,
2279
- anchor: i.value === "left" ? Pe.middleRight : Pe.middleLeft
2292
+ position: t.position,
2293
+ content: t.label ? a.value : o.value,
2294
+ anchor: i.value === "left" ? be.middleRight : be.middleLeft
2280
2295
  },
2281
2296
  on: {
2282
- click: o
2297
+ click: r
2283
2298
  }
2284
2299
  });
2285
- }), tr = v(function(e, {
2300
+ }), io = p(function(t, {
2286
2301
  emit: n
2287
2302
  }) {
2303
+ S(t, "GPlaceCircle");
2288
2304
  const i = N(() => {
2289
2305
  var s;
2290
- return (s = e.textAlign) != null ? s : "right";
2306
+ return (s = t.textAlign) != null ? s : "right";
2291
2307
  }), a = N(() => {
2292
2308
  const {
2293
2309
  hideIcon: s = !1
2294
- } = e;
2310
+ } = t;
2295
2311
  return z("div", {
2296
- class: `${mn({
2312
+ class: `${vn({
2297
2313
  textAlign: i.value
2298
- })} ${at({
2314
+ })} ${ot({
2299
2315
  textAlign: i.value
2300
2316
  })}`
2301
2317
  }, `
2302
- <img class="${le({
2318
+ <img class="${ge({
2303
2319
  hideIcon: s
2304
- })}" src="${k}">
2305
- <div class="${Mn}">${e.label}</div>
2320
+ })}" src="${G}">
2321
+ <div class="${fn}">${t.label}</div>
2306
2322
  `);
2307
- }), r = N(() => {
2323
+ }), o = N(() => {
2308
2324
  const {
2309
2325
  hideIcon: s = !1
2310
- } = e;
2326
+ } = t;
2311
2327
  return z("img", {
2312
- class: `${le({
2328
+ class: `${ge({
2313
2329
  hideIcon: s
2314
- })} ${at({
2330
+ })} ${ot({
2315
2331
  textAlign: i.value
2316
2332
  })}`,
2317
- src: k
2333
+ src: G
2318
2334
  });
2319
- }), o = (s) => {
2320
- console.log("on gmap advanced marker view e = ", s), n("click", e.position);
2335
+ }), r = (s) => {
2336
+ console.log("on gmap advanced marker view e = ", s), n("click", t.position);
2321
2337
  };
2322
- return () => I(W, {
2338
+ return () => I(U, {
2323
2339
  attrs: {
2324
- position: w(e.position),
2325
- content: e.label ? a.value : r.value
2340
+ position: x(t.position),
2341
+ content: t.label ? a.value : o.value
2326
2342
  },
2327
2343
  on: {
2328
- click: o
2344
+ click: r
2329
2345
  }
2330
2346
  });
2331
- }), Z = v(function(e, {
2347
+ }), O = p(function(t, {
2332
2348
  emit: n
2333
2349
  }) {
2334
2350
  const i = L();
2335
- return () => R(i.supplier === "gmap" ? tr : er, {
2336
- attrs: e,
2351
+ return () => Z(i.supplier === "gmap" ? io : no, {
2352
+ attrs: t,
2337
2353
  on: {
2338
2354
  click: (a) => n("click", a)
2339
2355
  }
2340
2356
  });
2341
- }), nr = v(function(e, {
2357
+ }), ao = p(function(t, {
2342
2358
  emit: n
2343
2359
  }) {
2344
- return () => I("div", [e.places.map((i) => I(Z, {
2360
+ return S(t, "PickupPoints"), () => I("div", [t.places.map((i) => I(O, {
2345
2361
  attrs: {
2346
- position: D(i),
2362
+ position: C(i),
2347
2363
  label: i.name,
2348
2364
  textAlign: "left"
2349
2365
  },
@@ -2351,172 +2367,178 @@ const er = v(function(e, {
2351
2367
  click: () => n("click", i)
2352
2368
  }
2353
2369
  }))]);
2354
- }), ir = 30, Er = V((t, {
2355
- emit: e
2370
+ }), oo = 30, ko = ae((e, {
2371
+ emit: t
2356
2372
  }) => {
2357
- var b, O;
2373
+ var T, k;
2374
+ S(e, "BusinessRecomendPlaceMap");
2358
2375
  const {
2359
2376
  geoDefaultPosition: n,
2360
2377
  getRecomendPlace: i,
2361
2378
  mapContext: a
2362
- } = t, {
2363
- mapRef: r,
2364
- setMap: o,
2379
+ } = e, {
2380
+ mapRef: o,
2381
+ setMap: r,
2365
2382
  panTo: s
2366
- } = Se(), {
2383
+ } = De(), {
2367
2384
  readyPromise: u
2368
- } = L(), l = C({
2369
- lng: (b = n == null ? void 0 : n[0]) != null ? b : 0,
2370
- lat: (O = n == null ? void 0 : n[1]) != null ? O : 0,
2385
+ } = L(), l = w({
2386
+ lng: (T = n == null ? void 0 : n[0]) != null ? T : 0,
2387
+ lat: (k = n == null ? void 0 : n[1]) != null ? k : 0,
2371
2388
  name: "",
2372
2389
  cityName: void 0
2373
2390
  }), d = N(() => [l.lng, l.lat]), c = {
2374
2391
  source: "geo"
2375
- }, g = (p) => {
2376
- c.source = "api", l.lng = p[0], l.lat = p[1], j();
2392
+ }, g = (v) => {
2393
+ c.source = "api", l.lng = v[0], l.lat = v[1], j();
2377
2394
  };
2378
2395
  a.setCenterPlaceByRecomand = g, a.panTo = s;
2379
- const M = (p) => {
2380
- c.source = "api", l.lng = p.lng, l.lat = p.lat, l.name = p.name;
2396
+ const M = (v) => {
2397
+ c.source = "api", l.lng = v.lng, l.lat = v.lat, l.name = v.name;
2381
2398
  }, {
2382
2399
  geoPosition: m
2383
- } = un({
2400
+ } = dn({
2384
2401
  geoDefaultPosition: n,
2385
- onLoad: async (p) => {
2386
- await u, c.source = "geo", l.lng = p.position[0], l.lat = p.position[1], j(), e("loadGeoLocation", p);
2402
+ onLoad: async (v) => {
2403
+ await u, c.source = "geo", l.lng = v.position[0], l.lat = v.position[1], j(), t("loadGeoLocation", v);
2387
2404
  },
2388
- onLoadDefault: async (p) => {
2389
- await u, c.source = "geo", l.lng = p.position[0], l.lat = p.position[1], j(), e("loadDefaultGeoLocation", p);
2405
+ onLoadDefault: async (v) => {
2406
+ await u, c.source = "geo", l.lng = v.position[0], l.lat = v.position[1], j(), t("loadDefaultGeoLocation", v);
2390
2407
  },
2391
- onChange: (p) => e("changeGeoLocation", p),
2392
- onError: (p) => e("geoError", p)
2408
+ onChange: (v) => t("changeGeoLocation", v),
2409
+ onError: (v) => t("geoError", v)
2393
2410
  }), {
2394
2411
  isDragging: f
2395
- } = Qa({
2396
- mapRef: r,
2397
- onChange: (p) => {
2398
- c.source = "drag", l.lng = p[0], l.lat = p[1], j(), e("changeByDrag", p);
2412
+ } = Fa({
2413
+ mapRef: o,
2414
+ onChange: (v) => {
2415
+ c.source = "drag", l.lng = v[0], l.lat = v[1], j(), t("changeByDrag", v);
2399
2416
  }
2400
2417
  }), {
2401
2418
  updatePlace: j,
2402
2419
  updateRecomandPlace: A,
2403
2420
  placeCandidates: y,
2404
- availableRef: S
2405
- } = _a({
2421
+ availableRef: h
2422
+ } = qa({
2406
2423
  pointRef: d,
2407
2424
  context: c,
2408
2425
  getRecomendPlace: i,
2409
- getLimit: (p) => {
2410
- const T = p == null ? void 0 : p.source;
2411
- switch (T) {
2426
+ getLimit: (v) => {
2427
+ const E = v == null ? void 0 : v.source;
2428
+ switch (E) {
2412
2429
  case "drag":
2413
2430
  case "api":
2414
- return ir;
2431
+ return oo;
2415
2432
  case "geo":
2416
2433
  case "default":
2417
2434
  return 1 / 0;
2418
2435
  default:
2419
- throw new Error(`MyError: should not call getLimit on source: ${T}`);
2436
+ throw new Error(`MyError: should not call getLimit on source: ${E}`);
2420
2437
  }
2421
2438
  },
2422
- onChangePlace: (p) => {
2439
+ onChangePlace: (v) => {
2423
2440
  Object.assign(l, {
2424
- ...p
2425
- }), c.source !== "recomend" && A(), e("changePlace", p);
2441
+ ...v
2442
+ }), c.source !== "recomend" && A(), t("changePlace", v);
2426
2443
  },
2427
- onChange: (p) => {
2444
+ onChange: (v) => {
2428
2445
  c.source = "recomend", Object.assign(l, {
2429
- ...p
2430
- }), j(), e("changeRecomandPlace", p);
2446
+ ...v
2447
+ }), j(), t("changeRecomandPlace", v);
2431
2448
  }
2432
2449
  });
2433
- return Ce(() => {
2450
+ return ue(() => {
2434
2451
  a.onChangeCenterPlace({
2435
2452
  ...l
2436
2453
  });
2437
- }), Ce(() => {
2454
+ }), ue(() => {
2438
2455
  a.onChangeRecomendPlaces([...y.value]);
2439
2456
  }), () => {
2440
- const p = S.value ? y.value.length > 0 ? t.recomendDescription : t.noRecomendDescription : void 0;
2441
- return I(je, {
2457
+ const v = h.value ? y.value.length > 0 ? e.recomendDescription : e.noRecomendDescription : void 0;
2458
+ return I(Le, {
2442
2459
  attrs: {
2443
2460
  center: d.value,
2444
2461
  zoom: 18,
2445
- mapRef: o
2462
+ mapRef: r,
2463
+ log: e.log
2446
2464
  }
2447
- }, [I(he, {
2465
+ }, [I(Ce, {
2448
2466
  attrs: {
2449
2467
  position: m.value
2450
2468
  }
2451
- }), I(nr, {
2469
+ }), I(ao, {
2452
2470
  attrs: {
2453
- places: y.value
2471
+ places: y.value,
2472
+ log: e.log
2454
2473
  },
2455
2474
  on: {
2456
2475
  click: M
2457
2476
  }
2458
- }), I(fa, {
2477
+ }), I(pa, {
2459
2478
  attrs: {
2460
2479
  position: d.value,
2461
- title: S.value ? l.name : t.unavailableTitle,
2462
- description: p,
2463
- type: f.value ? "locator" : "box"
2480
+ title: h.value ? l.name : e.unavailableTitle,
2481
+ description: v,
2482
+ type: f.value ? "locator" : "box",
2483
+ log: e.log
2464
2484
  }
2465
2485
  })]);
2466
2486
  };
2467
- }).props(["unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), de = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2Lj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C0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2468
- var ge = "_65j3sr1", fn = "_4a4ovk5", pn = "_4a4ovk0", vn = "_4a4ovk2";
2469
- const ar = v(function(e) {
2487
+ }).props(["log", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), ro = [116.2317, 39.5427], rt = (e) => e.lng !== void 0 && e.lat !== void 0, Ie = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuM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NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2488
+ var Me = "_65j3sr1", pn = "_4a4ovk5", yn = "_4a4ovk0", jn = "_4a4ovk2";
2489
+ const so = p(function(t) {
2490
+ S(t, "ATaxiCar");
2470
2491
  const n = N(() => {
2471
- var r;
2472
- const i = e.title ? ye(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${fn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(r = e.angle) != null ? r : 0}deg)`;
2473
- return e.title ? `
2474
- <div class="${pn}">
2475
- <div class="${vn}">${i}</div>
2476
- <img src="${de}" class="${ge}" style="${a}">
2492
+ var o;
2493
+ const i = t.title ? Ae(t.title).map((r) => r.type === "normal" ? r.value : `<span class="${pn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = t.angle) != null ? o : 0}deg)`;
2494
+ return t.title ? `
2495
+ <div class="${yn}">
2496
+ <div class="${jn}">${i}</div>
2497
+ <img src="${Ie}" class="${Me}" style="${a}">
2477
2498
  </div>
2478
- ` : `<img src="${de}" class="${ge}" style="${a}">`;
2499
+ ` : `<img src="${Ie}" class="${Me}" style="${a}">`;
2479
2500
  });
2480
- return () => I(G, {
2501
+ return () => I(W, {
2481
2502
  attrs: {
2482
- position: e.position,
2503
+ position: t.position,
2483
2504
  content: n.value,
2484
2505
  anchor: "bottom-center",
2485
- registerOverlay: e.registerOverlay
2506
+ registerOverlay: t.registerOverlay
2486
2507
  }
2487
2508
  });
2488
- }), rr = v(function(e) {
2509
+ }), co = p(function(t) {
2510
+ S(t, "GTaxiCar");
2489
2511
  const n = N(() => {
2490
- var r;
2491
- const i = e.title ? ye(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${fn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(r = e.angle) != null ? r : 0}deg)`;
2492
- return e.title ? z("div", {
2493
- class: pn
2512
+ var o;
2513
+ const i = t.title ? Ae(t.title).map((r) => r.type === "normal" ? r.value : `<span class="${pn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = t.angle) != null ? o : 0}deg)`;
2514
+ return t.title ? z("div", {
2515
+ class: yn
2494
2516
  }, `
2495
- <div class="${vn}">${i}</div>
2496
- <img src="${de}" class="${ge}" style="${a}">
2517
+ <div class="${jn}">${i}</div>
2518
+ <img src="${Ie}" class="${Me}" style="${a}">
2497
2519
  `) : z("img", {
2498
- class: ge,
2499
- src: de,
2520
+ class: Me,
2521
+ src: Ie,
2500
2522
  style: a
2501
2523
  });
2502
2524
  });
2503
- return () => I(W, {
2525
+ return () => I(U, {
2504
2526
  attrs: {
2505
- position: w(e.position),
2527
+ position: x(t.position),
2506
2528
  content: n.value,
2507
- registerOverlay: e.registerOverlay
2529
+ registerOverlay: t.registerOverlay
2508
2530
  }
2509
2531
  });
2510
- }), Ze = v(function(e) {
2532
+ }), Oe = p(function(t) {
2511
2533
  const n = L();
2512
- return () => R(n.supplier === "gmap" ? rr : ar, {
2513
- attrs: e
2534
+ return () => Z(n.supplier === "gmap" ? co : so, {
2535
+ attrs: t
2514
2536
  });
2515
- }), or = v(function(e) {
2516
- return () => {
2537
+ }), uo = p(function(t) {
2538
+ return S(t, "AWalkingLine"), () => {
2517
2539
  const {
2518
2540
  path: n
2519
- } = e;
2541
+ } = t;
2520
2542
  if (n.length === 0)
2521
2543
  return null;
2522
2544
  const a = 2 * (window.innerWidth * 0.01);
@@ -2533,54 +2555,55 @@ const ar = v(function(e) {
2533
2555
  }
2534
2556
  });
2535
2557
  };
2536
- }), sr = v(function(e) {
2537
- const n = N(() => e.path.map(w));
2558
+ }), lo = p(function(t) {
2559
+ S(t, "GWalkingLine");
2560
+ const n = N(() => t.path.map(x));
2538
2561
  return () => {
2539
2562
  const i = n.value;
2540
2563
  if (i.length === 0)
2541
2564
  return null;
2542
- const r = 2 * (window.innerWidth * 0.01), o = r / 4;
2543
- return I(se, {
2565
+ const o = 2 * (window.innerWidth * 0.01), r = o / 4;
2566
+ return I(ce, {
2544
2567
  attrs: {
2545
2568
  path: i,
2546
- strokeWeight: r,
2569
+ strokeWeight: o,
2547
2570
  strokeOpacity: 1,
2548
2571
  strokeColor: "transparent",
2549
2572
  icons: [{
2550
2573
  icon: {
2551
2574
  path: `
2552
- M ${o}, ${o}
2553
- m -${o}, 0
2554
- a ${o},${o} 0 1,0 ${2 * o},0
2555
- a ${o},${o} 0 1,0 -${2 * o},0
2575
+ M ${r}, ${r}
2576
+ m -${r}, 0
2577
+ a ${r},${r} 0 1,0 ${2 * r},0
2578
+ a ${r},${r} 0 1,0 -${2 * r},0
2556
2579
  `,
2557
2580
  strokeColor: "#38A3FE",
2558
2581
  fillColor: "#38A3FE",
2559
2582
  fillOpacity: 1,
2560
2583
  strokeOpacity: 1,
2561
- strokeWeight: r / 2,
2584
+ strokeWeight: o / 2,
2562
2585
  scale: 1
2563
2586
  },
2564
- repeat: `${r * 2}px`
2587
+ repeat: `${o * 2}px`
2565
2588
  }]
2566
2589
  }
2567
2590
  });
2568
2591
  };
2569
- }), yn = v(function(e) {
2592
+ }), An = p(function(t) {
2570
2593
  const n = L();
2571
- return () => R(n.supplier === "gmap" ? sr : or, {
2572
- attrs: e
2594
+ return () => Z(n.supplier === "gmap" ? lo : uo, {
2595
+ attrs: t
2573
2596
  });
2574
- }), jn = (t) => {
2575
- const e = P([]), n = new AMap.Walking({});
2597
+ }), Ln = (e) => {
2598
+ const t = b([]), n = new AMap.Walking({});
2576
2599
  return $(
2577
- () => ({ ...t }),
2600
+ () => ({ ...e }),
2578
2601
  ({ from: i, to: a }) => {
2579
- n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (r, o) => {
2580
- switch (r) {
2602
+ n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
2603
+ switch (o) {
2581
2604
  case "complete": {
2582
2605
  let s = [];
2583
- const u = o;
2606
+ const u = r;
2584
2607
  if (!u.routes)
2585
2608
  return;
2586
2609
  const l = u.routes[0];
@@ -2589,22 +2612,22 @@ const ar = v(function(e) {
2589
2612
  const c = d.path.map(({ lng: g, lat: M }) => [g, M]);
2590
2613
  s = s.concat(c);
2591
2614
  }
2592
- e.value = s;
2615
+ t.value = s;
2593
2616
  return;
2594
2617
  }
2595
2618
  case "no_data":
2596
- e.value = [];
2619
+ t.value = [];
2597
2620
  return;
2598
2621
  default:
2599
- throw o;
2622
+ throw r;
2600
2623
  }
2601
2624
  });
2602
2625
  }
2603
- ), e;
2604
- }, An = (t) => {
2605
- const e = P([]), n = new google.maps.DirectionsService();
2626
+ ), t;
2627
+ }, Sn = (e) => {
2628
+ const t = b([]), n = new google.maps.DirectionsService();
2606
2629
  return $(
2607
- () => ({ ...t }),
2630
+ () => ({ ...e }),
2608
2631
  ({ from: i, to: a }) => {
2609
2632
  n.route(
2610
2633
  {
@@ -2612,413 +2635,452 @@ const ar = v(function(e) {
2612
2635
  destination: { lng: a[0], lat: a[1] },
2613
2636
  travelMode: google.maps.TravelMode.WALKING
2614
2637
  },
2615
- (r, o) => {
2616
- switch (o) {
2638
+ (o, r) => {
2639
+ switch (r) {
2617
2640
  case google.maps.DirectionsStatus.OK: {
2618
2641
  let s = [];
2619
- const l = r.routes[0].overview_path.map((d) => [
2642
+ const l = o.routes[0].overview_path.map((d) => [
2620
2643
  d.lng(),
2621
2644
  d.lat()
2622
2645
  ]);
2623
- s = s.concat(l), e.value = s;
2646
+ s = s.concat(l), t.value = s;
2624
2647
  return;
2625
2648
  }
2626
2649
  case google.maps.DirectionsStatus.ZERO_RESULTS:
2627
2650
  case google.maps.DirectionsStatus.NOT_FOUND:
2628
- e.value = [];
2651
+ t.value = [];
2629
2652
  return;
2630
2653
  default:
2631
- throw new Error(o);
2654
+ throw new Error(r);
2632
2655
  }
2633
2656
  }
2634
2657
  );
2635
2658
  }
2636
- ), e;
2637
- }, Rr = (t) => {
2638
- const { supplier: e } = L();
2639
- return e === "gmap" ? An(t) : jn(t);
2640
- }, cr = v(function(e, {
2659
+ ), t;
2660
+ }, Go = (e) => {
2661
+ const { supplier: t } = L();
2662
+ return t === "gmap" ? Sn(e) : Ln(e);
2663
+ }, go = p(function(t, {
2641
2664
  slots: n
2642
2665
  }) {
2643
- const i = jn(e);
2666
+ S(t, "AWalkingRoute");
2667
+ const i = Ln(t);
2644
2668
  return () => {
2645
2669
  var a;
2646
- return I("div", [(a = n.render) == null ? void 0 : a.call(n, C({
2670
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, w({
2647
2671
  path: i
2648
2672
  }))]);
2649
2673
  };
2650
- }), ur = v(function(e, {
2674
+ }), Io = p(function(t, {
2651
2675
  slots: n
2652
2676
  }) {
2653
- const i = An(e);
2677
+ S(t, "GWalkingRoute");
2678
+ const i = Sn(t);
2654
2679
  return () => {
2655
2680
  var a;
2656
- return I("div", [(a = n.render) == null ? void 0 : a.call(n, C({
2681
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, w({
2657
2682
  path: i
2658
2683
  }))]);
2659
2684
  };
2660
- }), Ln = v(function(e, {
2685
+ }), Nn = p(function(t, {
2661
2686
  slots: n
2662
2687
  }) {
2663
2688
  const {
2664
2689
  supplier: i
2665
2690
  } = L();
2666
- return () => R(i === "gmap" ? ur : cr, {
2667
- attrs: e,
2691
+ return () => Z(i === "gmap" ? Io : go, {
2692
+ attrs: t,
2668
2693
  scopedSlots: n
2669
2694
  });
2670
- }), Ie = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2671
- var Nn = "rrvp0y3", Me = "rrvp0y2";
2672
- const lr = v(function(e) {
2673
- const n = N(() => `<img src="${Ie}" class="${Me}">`), i = N(() => `<img src="${Ie}" class="${Me} ${Nn}">`);
2674
- return () => I("div", [I(G, {
2695
+ }), me = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2696
+ var hn = "rrvp0y3", fe = "rrvp0y2";
2697
+ const Mo = p(function(t) {
2698
+ S(t, "AWaveCircle");
2699
+ const n = N(() => `<img src="${me}" class="${fe}">`), i = N(() => `<img src="${me}" class="${fe} ${hn}">`);
2700
+ return () => I("div", [I(W, {
2675
2701
  attrs: {
2676
- position: e.position,
2702
+ position: t.position,
2677
2703
  anchor: "bottom-center",
2678
2704
  content: n.value
2679
2705
  }
2680
- }), I(G, {
2706
+ }), I(W, {
2681
2707
  attrs: {
2682
- position: e.position,
2708
+ position: t.position,
2683
2709
  anchor: "bottom-center",
2684
2710
  content: i.value
2685
2711
  }
2686
2712
  })]);
2687
- }), dr = v(function(e) {
2713
+ }), mo = p(function(t) {
2714
+ S(t, "GWaveCircle");
2688
2715
  const n = N(() => z("img", {
2689
- class: Me,
2690
- src: Ie
2716
+ class: fe,
2717
+ src: me
2691
2718
  })), i = N(() => z("img", {
2692
- class: `${Me} ${Nn}`,
2693
- src: Ie
2719
+ class: `${fe} ${hn}`,
2720
+ src: me
2694
2721
  }));
2695
2722
  return () => {
2696
- const a = w(e.position);
2697
- return I("div", [I(W, {
2723
+ const a = x(t.position);
2724
+ return I("div", [I(U, {
2698
2725
  attrs: {
2699
2726
  position: a,
2700
2727
  content: n.value
2701
2728
  }
2702
- }), I(W, {
2729
+ }), I(U, {
2703
2730
  attrs: {
2704
2731
  position: a,
2705
2732
  content: i.value
2706
2733
  }
2707
2734
  })]);
2708
2735
  };
2709
- }), gr = v(function(e) {
2736
+ }), fo = p(function(t) {
2710
2737
  const n = L();
2711
- return () => R(n.supplier === "gmap" ? dr : lr, {
2712
- attrs: e
2738
+ return () => Z(n.supplier === "gmap" ? mo : Mo, {
2739
+ attrs: t
2713
2740
  });
2714
- }), Ir = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], rt = v((t, {
2715
- emit: e
2716
- }) => (B(() => e("mapMounted")), () => {
2741
+ }), vo = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], st = p((e, {
2742
+ emit: t
2743
+ }) => (S(e, "SectionDispatching"), Y(() => t("mapMounted")), () => {
2717
2744
  const {
2718
2745
  from: n,
2719
2746
  title: i,
2720
2747
  registerOverlay: a
2721
- } = t, r = D(n);
2722
- return I("div", [I(E, {
2748
+ } = e, o = C(n);
2749
+ return I("div", [I(R, {
2723
2750
  attrs: {
2724
2751
  type: "start",
2725
- position: r,
2752
+ position: o,
2726
2753
  title: i,
2727
- registerOverlay: a
2754
+ registerOverlay: a,
2755
+ log: e.log
2728
2756
  }
2729
- }), I(gr, {
2757
+ }), I(fo, {
2730
2758
  attrs: {
2731
- position: r
2759
+ position: o,
2760
+ log: e.log
2732
2761
  }
2733
- }), I(Z, {
2762
+ }), I(O, {
2734
2763
  attrs: {
2735
- position: r,
2764
+ position: o,
2736
2765
  label: n.name,
2737
- hideIcon: !0
2766
+ hideIcon: !0,
2767
+ log: e.log
2738
2768
  }
2739
2769
  })]);
2740
- })), Mr = v((t, {
2741
- emit: e
2742
- }) => (B(() => e("mapMounted")), () => {
2770
+ })), po = p((e, {
2771
+ emit: t
2772
+ }) => (S(e, "SectionDriverStartService"), Y(() => t("mapMounted")), () => {
2743
2773
  const {
2744
2774
  from: n,
2745
2775
  carPosition: i,
2746
2776
  passengerPosition: a,
2747
- renderTitle: r,
2748
- registerOverlay: o
2749
- } = t, s = D(n);
2750
- return I("div", [I(E, {
2777
+ renderTitle: o,
2778
+ registerOverlay: r
2779
+ } = e, s = C(n);
2780
+ return I("div", [I(R, {
2751
2781
  attrs: {
2752
2782
  type: "start",
2753
2783
  position: s,
2754
- registerOverlay: o
2784
+ registerOverlay: r,
2785
+ log: e.log
2755
2786
  }
2756
- }), I(Z, {
2787
+ }), I(O, {
2757
2788
  attrs: {
2758
2789
  position: s,
2759
2790
  label: n.name,
2760
- hideIcon: !0
2791
+ hideIcon: !0,
2792
+ log: e.log
2761
2793
  }
2762
- }), I(Le, {
2794
+ }), I(Ne, {
2763
2795
  attrs: {
2764
2796
  from: i,
2765
2797
  to: s,
2798
+ log: e.log,
2766
2799
  render: ({
2767
2800
  path: u,
2768
2801
  distance: l,
2769
2802
  duration: d
2770
- }) => [I(Ae, {
2803
+ }) => [I(Se, {
2771
2804
  attrs: {
2772
- path: u
2805
+ path: u,
2806
+ log: e.log
2773
2807
  }
2774
- }), I(Ze, {
2808
+ }), I(Oe, {
2775
2809
  attrs: {
2776
2810
  position: i,
2777
- title: r({
2811
+ title: o({
2778
2812
  distance: l,
2779
2813
  duration: d
2780
- })
2814
+ }),
2815
+ log: e.log
2781
2816
  }
2782
2817
  })]
2783
2818
  }
2784
- }), I(Ln, {
2819
+ }), I(Nn, {
2785
2820
  attrs: {
2786
2821
  from: a,
2787
2822
  to: s,
2823
+ log: e.log,
2788
2824
  render: ({
2789
2825
  path: u
2790
- }) => I(yn, {
2826
+ }) => I(An, {
2791
2827
  attrs: {
2792
- path: u
2828
+ path: u,
2829
+ log: e.log
2793
2830
  }
2794
2831
  })
2795
2832
  }
2796
- }), I(he, {
2833
+ }), I(Ce, {
2797
2834
  attrs: {
2798
2835
  position: a,
2799
- registerOverlay: o
2836
+ registerOverlay: r,
2837
+ log: e.log
2800
2838
  }
2801
2839
  })]);
2802
- })), mr = v((t, {
2803
- emit: e
2804
- }) => (B(() => e("mapMounted")), () => {
2840
+ })), yo = p((e, {
2841
+ emit: t
2842
+ }) => (S(e, "SectionBookDispatched"), Y(() => t("mapMounted")), () => {
2805
2843
  const {
2806
2844
  from: n,
2807
2845
  passengerPosition: i,
2808
2846
  title: a,
2809
- registerOverlay: r
2810
- } = t, o = D(n);
2811
- return I("div", [I(E, {
2847
+ registerOverlay: o
2848
+ } = e, r = C(n);
2849
+ return I("div", [I(R, {
2812
2850
  attrs: {
2813
2851
  type: "start",
2814
- position: o,
2852
+ position: r,
2815
2853
  title: a,
2816
- registerOverlay: r
2854
+ registerOverlay: o,
2855
+ log: e.log
2817
2856
  }
2818
- }), I(Z, {
2857
+ }), I(O, {
2819
2858
  attrs: {
2820
- position: o,
2859
+ position: r,
2821
2860
  label: n.name,
2822
- hideIcon: !0
2861
+ hideIcon: !0,
2862
+ log: e.log
2823
2863
  }
2824
- }), I(he, {
2864
+ }), I(Ce, {
2825
2865
  attrs: {
2826
2866
  position: i,
2827
- registerOverlay: r
2867
+ registerOverlay: o,
2868
+ log: e.log
2828
2869
  }
2829
2870
  })]);
2830
- })), fr = v((t, {
2831
- emit: e
2832
- }) => (B(() => e("mapMounted")), () => {
2871
+ })), jo = p((e, {
2872
+ emit: t
2873
+ }) => (S(e, "SectionDriverArrived"), Y(() => t("mapMounted")), () => {
2833
2874
  const {
2834
2875
  from: n,
2835
2876
  carPosition: i,
2836
2877
  passengerPosition: a,
2837
- title: r,
2838
- registerOverlay: o
2839
- } = t, s = D(n);
2840
- return I("div", [I(Ze, {
2878
+ title: o,
2879
+ registerOverlay: r
2880
+ } = e, s = C(n);
2881
+ return I("div", [I(Oe, {
2841
2882
  attrs: {
2842
2883
  position: i,
2843
- title: r,
2844
- registerOverlay: o
2884
+ title: o,
2885
+ registerOverlay: r,
2886
+ log: e.log
2845
2887
  }
2846
- }), I(E, {
2888
+ }), I(R, {
2847
2889
  attrs: {
2848
2890
  type: "start",
2849
2891
  position: s,
2850
- registerOverlay: o
2892
+ registerOverlay: r,
2893
+ log: e.log
2851
2894
  }
2852
- }), I(Z, {
2895
+ }), I(O, {
2853
2896
  attrs: {
2854
2897
  position: s,
2855
2898
  label: n.name,
2856
- hideIcon: !0
2899
+ hideIcon: !0,
2900
+ log: e.log
2857
2901
  }
2858
- }), I(Ln, {
2902
+ }), I(Nn, {
2859
2903
  attrs: {
2860
2904
  from: a,
2861
2905
  to: s,
2906
+ log: e.log,
2862
2907
  render: ({
2863
2908
  path: u
2864
- }) => I(yn, {
2909
+ }) => I(An, {
2865
2910
  attrs: {
2866
2911
  path: u
2867
2912
  }
2868
2913
  })
2869
2914
  }
2870
- }), I(he, {
2915
+ }), I(Ce, {
2871
2916
  attrs: {
2872
2917
  position: a,
2873
2918
  size: "small",
2874
- registerOverlay: o
2919
+ registerOverlay: r,
2920
+ log: e.log
2875
2921
  }
2876
2922
  })]);
2877
- })), pr = v((t, {
2878
- emit: e
2879
- }) => (B(() => e("mapMounted")), () => {
2923
+ })), Ao = p((e, {
2924
+ emit: t
2925
+ }) => (S(e, "SectionInService"), Y(() => t("mapMounted")), () => {
2880
2926
  const {
2881
2927
  to: n,
2882
2928
  carPosition: i,
2883
2929
  renderTitle: a,
2884
- registerOverlay: r
2885
- } = t, o = D(n);
2886
- return I("div", [I(E, {
2930
+ registerOverlay: o
2931
+ } = e, r = C(n);
2932
+ return I("div", [I(R, {
2887
2933
  attrs: {
2888
2934
  type: "end",
2889
- position: o,
2890
- registerOverlay: r
2935
+ position: r,
2936
+ registerOverlay: o,
2937
+ log: e.log
2891
2938
  }
2892
- }), I(Z, {
2939
+ }), I(O, {
2893
2940
  attrs: {
2894
2941
  position: i,
2895
2942
  label: "'WebSter Dental Plaza'",
2896
- hideIcon: !0
2943
+ hideIcon: !0,
2944
+ log: e.log
2897
2945
  }
2898
- }), I(Le, {
2946
+ }), I(Ne, {
2899
2947
  attrs: {
2900
2948
  from: i,
2901
- to: o,
2949
+ to: r,
2950
+ log: e.log,
2902
2951
  render: ({
2903
2952
  path: s,
2904
2953
  distance: u,
2905
2954
  duration: l
2906
- }) => [I(Ae, {
2955
+ }) => [I(Se, {
2907
2956
  attrs: {
2908
- path: s
2957
+ path: s,
2958
+ log: e.log
2909
2959
  }
2910
- }), I(Ze, {
2960
+ }), I(Oe, {
2911
2961
  attrs: {
2912
2962
  position: i,
2913
2963
  title: a({
2914
2964
  distance: u,
2915
2965
  duration: l
2916
2966
  }),
2917
- registerOverlay: r
2967
+ registerOverlay: o,
2968
+ log: e.log
2918
2969
  }
2919
2970
  })]
2920
2971
  }
2921
2972
  })]);
2922
- })), vr = v((t, {
2923
- emit: e
2924
- }) => (B(() => e("mapMounted")), () => {
2973
+ })), Lo = p((e, {
2974
+ emit: t
2975
+ }) => (S(e, "SectionCanceled"), Y(() => t("mapMounted")), () => {
2925
2976
  const {
2926
2977
  from: n,
2927
2978
  to: i,
2928
2979
  registerOverlay: a
2929
- } = t, r = D(n), o = D(i);
2930
- return I("div", [I(E, {
2980
+ } = e, o = C(n), r = C(i);
2981
+ return I("div", [I(R, {
2931
2982
  attrs: {
2932
2983
  type: "start",
2933
- position: r,
2934
- registerOverlay: a
2984
+ position: o,
2985
+ registerOverlay: a,
2986
+ log: e.log
2935
2987
  }
2936
- }), I(E, {
2988
+ }), I(R, {
2937
2989
  attrs: {
2938
2990
  type: "end",
2939
- position: o,
2940
- registerOverlay: a
2991
+ position: r,
2992
+ registerOverlay: a,
2993
+ log: e.log
2941
2994
  }
2942
- }), I(Z, {
2995
+ }), I(O, {
2943
2996
  attrs: {
2944
- position: r,
2997
+ position: o,
2945
2998
  label: n.name,
2946
- hideIcon: !0
2999
+ hideIcon: !0,
3000
+ log: e.log
2947
3001
  }
2948
- }), I(Z, {
3002
+ }), I(O, {
2949
3003
  attrs: {
2950
- position: o,
3004
+ position: r,
2951
3005
  label: i.name,
2952
- hideIcon: !0
3006
+ hideIcon: !0,
3007
+ log: e.log
2953
3008
  }
2954
3009
  })]);
2955
- })), be = v((t, {
2956
- emit: e
2957
- }) => (B(() => e("mapMounted")), () => {
3010
+ })), Te = p((e, {
3011
+ emit: t
3012
+ }) => (S(e, "SectionEndService"), Y(() => t("mapMounted")), () => {
2958
3013
  const {
2959
3014
  from: n,
2960
3015
  to: i,
2961
3016
  registerOverlay: a
2962
- } = t, r = D(n), o = D(i);
2963
- return I("div", [I(E, {
3017
+ } = e, o = C(n), r = C(i);
3018
+ return I("div", [I(R, {
2964
3019
  attrs: {
2965
3020
  type: "start",
2966
- position: r,
2967
- registerOverlay: a
3021
+ position: o,
3022
+ registerOverlay: a,
3023
+ log: e.log
2968
3024
  }
2969
- }), I(E, {
3025
+ }), I(R, {
2970
3026
  attrs: {
2971
3027
  type: "end",
2972
- position: o,
2973
- registerOverlay: a
3028
+ position: r,
3029
+ registerOverlay: a,
3030
+ log: e.log
2974
3031
  }
2975
- }), I(Z, {
3032
+ }), I(O, {
2976
3033
  attrs: {
2977
- position: r,
3034
+ position: o,
2978
3035
  label: n.name,
2979
- hideIcon: !0
3036
+ hideIcon: !0,
3037
+ log: e.log
2980
3038
  }
2981
- }), I(Z, {
3039
+ }), I(O, {
2982
3040
  attrs: {
2983
- position: o,
3041
+ position: r,
2984
3042
  label: i.name,
2985
- hideIcon: !0
3043
+ hideIcon: !0,
3044
+ log: e.log
2986
3045
  }
2987
- }), I(Le, {
3046
+ }), I(Ne, {
2988
3047
  attrs: {
2989
- from: r,
2990
- to: o,
3048
+ from: o,
3049
+ to: r,
2991
3050
  render: ({
2992
3051
  path: s
2993
- }) => I(Ae, {
3052
+ }) => I(Se, {
2994
3053
  attrs: {
2995
3054
  path: s,
2996
- done: !0
3055
+ done: !0,
3056
+ log: e.log
2997
3057
  }
2998
- })
3058
+ }),
3059
+ log: e.log
2999
3060
  }
3000
3061
  })]);
3001
- })), Zr = V((t) => {
3062
+ })), Wo = ae((e) => {
3063
+ S(e, "BusinessTaxiServiceMap");
3002
3064
  const {
3003
- from: e,
3065
+ from: t,
3004
3066
  interval: n,
3005
3067
  registerOverlay: i,
3006
3068
  mapRef: a,
3007
- getDriverPosition: r,
3008
- renderStartSerivceTitle: o,
3069
+ getDriverPosition: o,
3070
+ renderStartSerivceTitle: r,
3009
3071
  renderInServiceTitle: s
3010
- } = t, {
3072
+ } = e, {
3011
3073
  setFitView: u
3012
3074
  } = i, {
3013
3075
  geoPosition: l
3014
- } = un({
3015
- geoDefaultPosition: D(e)
3016
- }), d = h(D(t.from));
3017
- return x(() => t.driverStatus, (c, g, M) => {
3018
- if (!Ir.includes(c))
3076
+ } = dn({
3077
+ geoDefaultPosition: C(t)
3078
+ }), d = D(C(e.from));
3079
+ return P(() => e.driverStatus, (c, g, M) => {
3080
+ if (!vo.includes(c))
3019
3081
  return;
3020
3082
  const m = setInterval(() => {
3021
- r().then((f) => d.value = f);
3083
+ o().then((f) => d.value = f);
3022
3084
  }, n);
3023
3085
  M(() => clearInterval(m));
3024
3086
  }, {
@@ -3032,95 +3094,105 @@ const lr = v(function(e) {
3032
3094
  bookDispatchingTitle: f,
3033
3095
  bookDispatchedTitle: j,
3034
3096
  driverArrivedTitle: A
3035
- } = t, y = d.value;
3036
- return I(je, {
3097
+ } = e, y = d.value;
3098
+ return I(Le, {
3037
3099
  attrs: {
3038
- center: D(g),
3100
+ center: C(g),
3039
3101
  zoom: 13,
3040
- mapRef: a
3102
+ mapRef: a,
3103
+ log: e.log
3041
3104
  }
3042
- }, [c === "dispatching" ? I(rt, {
3105
+ }, [c === "dispatching" ? I(st, {
3043
3106
  attrs: {
3044
3107
  from: g,
3045
3108
  title: m,
3046
- registerOverlay: i
3109
+ registerOverlay: i,
3110
+ log: e.log
3047
3111
  },
3048
3112
  on: {
3049
3113
  mapMounted: u
3050
3114
  }
3051
- }) : c === "book-dispatching" ? I(rt, {
3115
+ }) : c === "book-dispatching" ? I(st, {
3052
3116
  attrs: {
3053
3117
  from: g,
3054
3118
  title: f,
3055
- registerOverlay: i
3119
+ registerOverlay: i,
3120
+ log: e.log
3056
3121
  },
3057
3122
  on: {
3058
3123
  mapMounted: u
3059
3124
  }
3060
- }) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? I(Mr, {
3125
+ }) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? I(po, {
3061
3126
  attrs: {
3062
3127
  from: g,
3063
3128
  carPosition: y,
3064
3129
  passengerPosition: l.value,
3065
- renderTitle: o,
3066
- registerOverlay: i
3130
+ renderTitle: r,
3131
+ registerOverlay: i,
3132
+ log: e.log
3067
3133
  },
3068
3134
  on: {
3069
3135
  mapMounted: u
3070
3136
  }
3071
- }) : c === "book-dispatched" ? I(mr, {
3137
+ }) : c === "book-dispatched" ? I(yo, {
3072
3138
  attrs: {
3073
3139
  from: g,
3074
3140
  passengerPosition: l.value,
3075
3141
  title: j,
3076
- registerOverlay: i
3142
+ registerOverlay: i,
3143
+ log: e.log
3077
3144
  },
3078
3145
  on: {
3079
3146
  mapMounted: u
3080
3147
  }
3081
- }) : c === "inService" ? I(pr, {
3148
+ }) : c === "inService" ? I(Ao, {
3082
3149
  attrs: {
3083
3150
  to: M,
3084
3151
  carPosition: y,
3085
3152
  renderTitle: s,
3086
- registerOverlay: i
3153
+ registerOverlay: i,
3154
+ log: e.log
3087
3155
  },
3088
3156
  on: {
3089
3157
  mapMounted: u
3090
3158
  }
3091
- }) : c === "driverArrived" ? I(fr, {
3159
+ }) : c === "driverArrived" ? I(jo, {
3092
3160
  attrs: {
3093
3161
  from: g,
3094
3162
  carPosition: y,
3095
3163
  passengerPosition: l.value,
3096
3164
  title: A,
3097
- registerOverlay: i
3165
+ registerOverlay: i,
3166
+ log: e.log
3098
3167
  },
3099
3168
  on: {
3100
3169
  mapMounted: u
3101
3170
  }
3102
- }) : c === "canceled" || c === "canceling" ? I(vr, {
3171
+ }) : c === "canceled" || c === "canceling" ? I(Lo, {
3103
3172
  attrs: {
3104
3173
  from: g,
3105
3174
  to: M,
3106
- registerOverlay: i
3175
+ registerOverlay: i,
3176
+ log: e.log
3107
3177
  }
3108
- }) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? I(be, {
3178
+ }) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? I(Te, {
3109
3179
  attrs: {
3110
3180
  from: g,
3111
3181
  to: M,
3112
- registerOverlay: i
3182
+ registerOverlay: i,
3183
+ log: e.log
3113
3184
  },
3114
3185
  on: {
3115
3186
  mapMounted: u
3116
3187
  }
3117
3188
  }) : (
3118
3189
  // 匹配不到就显示灰色路线
3119
- I(be, {
3190
+ I(Te, {
3120
3191
  attrs: {
3121
3192
  from: g,
3122
3193
  to: M,
3123
- registerOverlay: i
3194
+ registerOverlay: i,
3195
+ log: e.log
3124
3196
  },
3125
3197
  on: {
3126
3198
  mapMounted: u
@@ -3128,47 +3200,50 @@ const lr = v(function(e) {
3128
3200
  })
3129
3201
  )]);
3130
3202
  };
3131
- }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), Or = v((t) => {
3203
+ }).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), Uo = p((e) => {
3204
+ S(e, "BusinessTaxiEndMap");
3132
3205
  const {
3133
- mapRef: e,
3206
+ mapRef: t,
3134
3207
  setMap: n
3135
- } = Se(), {
3208
+ } = De(), {
3136
3209
  registerFitVeiw: i,
3137
3210
  setFitView: a
3138
- } = Ne({
3139
- mapRef: e,
3211
+ } = he({
3212
+ mapRef: t,
3140
3213
  autoFitTimeout: 5e3,
3141
3214
  padding: [25, 20, 15, 15]
3142
3215
  });
3143
3216
  return () => {
3144
3217
  const {
3145
- from: r,
3146
- to: o
3147
- } = t;
3148
- return I(je, {
3218
+ from: o,
3219
+ to: r
3220
+ } = e, s = rt(o) && rt(r), u = s ? C(o) : [...ro];
3221
+ return I(Le, {
3149
3222
  attrs: {
3150
- center: D(r),
3151
- zoom: 13,
3152
- mapRef: n
3223
+ center: u,
3224
+ zoom: s ? 13 : 3,
3225
+ mapRef: n,
3226
+ log: e.log
3153
3227
  }
3154
- }, [I(be, {
3228
+ }, [s && I(Te, {
3155
3229
  attrs: {
3156
- from: r,
3157
- to: o,
3158
- registerOverlay: i
3230
+ from: o,
3231
+ to: r,
3232
+ registerOverlay: i,
3233
+ log: e.log
3159
3234
  },
3160
3235
  on: {
3161
3236
  mapMounted: a
3162
3237
  }
3163
3238
  })]);
3164
3239
  };
3165
- }), yr = (t) => {
3166
- const { city: e } = t, n = h(e), { readyPromise: i } = L(), a = h(""), r = h([]), { update: o, idx: s } = K(), u = (d) => {
3167
- n.value = d, o();
3240
+ }), So = (e) => {
3241
+ const { city: t } = e, n = D(t), { readyPromise: i } = L(), a = D(""), o = D([]), { update: r, idx: s } = K(), u = (d) => {
3242
+ n.value = d, r();
3168
3243
  }, l = (d) => {
3169
- a.value = d, o();
3244
+ a.value = d, r();
3170
3245
  };
3171
- return x(
3246
+ return P(
3172
3247
  () => s.value,
3173
3248
  async () => {
3174
3249
  if (!a.value)
@@ -3176,7 +3251,7 @@ const lr = v(function(e) {
3176
3251
  await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c, g) => {
3177
3252
  switch (c) {
3178
3253
  case "complete": {
3179
- r.value = g.poiList.pois.map(
3254
+ o.value = g.poiList.pois.map(
3180
3255
  (M) => ({
3181
3256
  lat: M.location.lat,
3182
3257
  lng: M.location.lng,
@@ -3187,7 +3262,7 @@ const lr = v(function(e) {
3187
3262
  return;
3188
3263
  }
3189
3264
  case "no_data":
3190
- r.value = [];
3265
+ o.value = [];
3191
3266
  return;
3192
3267
  default:
3193
3268
  throw g;
@@ -3197,14 +3272,14 @@ const lr = v(function(e) {
3197
3272
  {
3198
3273
  immediate: !0
3199
3274
  }
3200
- ), { setKeyword: l, setCity: u, autoCompletePlaces: r };
3201
- }, jr = (t) => {
3202
- const { city: e } = t, n = h({ ...e }), { readyPromise: i } = L(), a = h(""), r = h([]), { update: o, idx: s } = K(), u = (c) => {
3203
- n.value = c, o();
3275
+ ), { setKeyword: l, setCity: u, autoCompletePlaces: o };
3276
+ }, No = (e) => {
3277
+ const { city: t } = e, n = D({ ...t }), { readyPromise: i } = L(), a = D(""), o = D([]), { update: r, idx: s } = K(), u = (c) => {
3278
+ n.value = c, r();
3204
3279
  }, l = (c) => {
3205
- a.value = c, o();
3280
+ a.value = c, r();
3206
3281
  }, d = document.createElement("div");
3207
- return x(
3282
+ return P(
3208
3283
  () => s.value,
3209
3284
  async () => {
3210
3285
  if (!a.value)
@@ -3217,12 +3292,12 @@ const lr = v(function(e) {
3217
3292
  (g, M) => {
3218
3293
  switch (M) {
3219
3294
  case google.maps.places.PlacesServiceStatus.OK:
3220
- r.value = g.map(
3295
+ o.value = g.map(
3221
3296
  ({ geometry: m, name: f, formatted_address: j }) => {
3222
- var A, y, S, b;
3297
+ var A, y, h, T;
3223
3298
  return {
3224
3299
  lng: (y = (A = m == null ? void 0 : m.location) == null ? void 0 : A.lng()) != null ? y : 0,
3225
- lat: (b = (S = m == null ? void 0 : m.location) == null ? void 0 : S.lat()) != null ? b : 0,
3300
+ lat: (T = (h = m == null ? void 0 : m.location) == null ? void 0 : h.lat()) != null ? T : 0,
3226
3301
  name: f != null ? f : "",
3227
3302
  description: j != null ? j : ""
3228
3303
  };
@@ -3231,30 +3306,30 @@ const lr = v(function(e) {
3231
3306
  return;
3232
3307
  case google.maps.places.PlacesServiceStatus.ZERO_RESULTS:
3233
3308
  case google.maps.places.PlacesServiceStatus.NOT_FOUND:
3234
- r.value = [];
3309
+ o.value = [];
3235
3310
  return;
3236
3311
  }
3237
3312
  }
3238
3313
  );
3239
3314
  }
3240
- ), { setKeyword: l, setCity: u, autoCompletePlaces: r };
3241
- }, Ar = (t) => {
3242
- const { supplier: e } = L();
3243
- return e === "gmap" ? jr(t) : yr(t);
3244
- }, Lr = (t) => {
3315
+ ), { setKeyword: l, setCity: u, autoCompletePlaces: o };
3316
+ }, ho = (e) => {
3317
+ const { supplier: t } = L();
3318
+ return t === "gmap" ? No(e) : So(e);
3319
+ }, Do = (e) => {
3245
3320
  var a;
3246
- const { cityNameRef: e, onChange: n } = t, i = C({ name: (a = e.value) != null ? a : "" });
3247
- return x(
3248
- () => e.value,
3249
- (r) => {
3250
- const o = r != null ? r : "";
3251
- i.name = o, n == null || n({ name: o });
3321
+ const { cityNameRef: t, onChange: n } = e, i = w({ name: (a = t.value) != null ? a : "" });
3322
+ return P(
3323
+ () => t.value,
3324
+ (o) => {
3325
+ const r = o != null ? o : "";
3326
+ i.name = r, n == null || n({ name: r });
3252
3327
  }
3253
3328
  ), i;
3254
- }, Nr = (t) => {
3255
- var r;
3256
- const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = L(), a = C({
3257
- name: (r = e.value) != null ? r : "",
3329
+ }, Co = (e) => {
3330
+ var o;
3331
+ const { cityNameRef: t, onChange: n } = e, { readyPromise: i } = L(), a = w({
3332
+ name: (o = t.value) != null ? o : "",
3258
3333
  bound: {
3259
3334
  east: 0,
3260
3335
  north: 0,
@@ -3262,123 +3337,123 @@ const lr = v(function(e) {
3262
3337
  west: 0
3263
3338
  }
3264
3339
  });
3265
- return Ce(async () => {
3340
+ return ue(async () => {
3266
3341
  var c, g;
3267
- const o = e.value;
3268
- if (!o)
3342
+ const r = t.value;
3343
+ if (!r)
3269
3344
  return;
3270
3345
  await i;
3271
3346
  const s = new google.maps.Geocoder(), { results: u } = await s.geocode({
3272
- address: o,
3347
+ address: r,
3273
3348
  componentRestrictions: {
3274
3349
  administrativeArea: "administrative_area_level_1"
3275
3350
  },
3276
- language: Ee
3351
+ language: Re
3277
3352
  });
3278
3353
  if (u.length !== 1)
3279
3354
  throw new Error("MyError: multiple city found");
3280
3355
  const { geometry: l } = u[0], d = (g = (c = l.bounds) == null ? void 0 : c.toJSON()) != null ? g : l.viewport.toJSON();
3281
- a.name = o, a.bound = d, n == null || n({ name: o, bound: d });
3356
+ a.name = r, a.bound = d, n == null || n({ name: r, bound: d });
3282
3357
  }), a;
3283
- }, Sr = (t) => {
3284
- const { supplier: e } = L();
3285
- return e === "gmap" ? Nr(t) : Lr(t);
3286
- }, kr = (t) => {
3287
- const { cityNameRef: e } = t, n = Sr({
3288
- cityNameRef: e,
3289
- onChange: (s) => r(s)
3290
- }), { autoCompletePlaces: i, setKeyword: a, setCity: r } = Ar({ city: n });
3291
- return { autoCompletePlaces: i, setKeyword: a, setCity: r, handleKeywordInput: (s) => {
3358
+ }, wo = (e) => {
3359
+ const { supplier: t } = L();
3360
+ return t === "gmap" ? Co(e) : Do(e);
3361
+ }, Bo = (e) => {
3362
+ const { cityNameRef: t } = e, n = wo({
3363
+ cityNameRef: t,
3364
+ onChange: (s) => o(s)
3365
+ }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = ho({ city: n });
3366
+ return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
3292
3367
  const u = s.target;
3293
3368
  a(u.value);
3294
3369
  } };
3295
- }, Gr = () => {
3296
- const { setMap: t, mapRef: e } = Se(), { registerFitVeiw: n, setFitView: i } = Ne({
3297
- mapRef: e,
3370
+ }, Yo = () => {
3371
+ const { setMap: e, mapRef: t } = De(), { registerFitVeiw: n, setFitView: i } = he({
3372
+ mapRef: t,
3298
3373
  padding: [25, 20, 15, 15]
3299
3374
  });
3300
- return { setMap: t, registerFitVeiw: n, setFitView: i };
3301
- }, hr = () => {
3302
- const t = L();
3375
+ return { setMap: e, registerFitVeiw: n, setFitView: i };
3376
+ }, xo = () => {
3377
+ const e = L();
3303
3378
  return { apiMapDistance: (n, i) => {
3304
- if (t.status === ie.SUCCESS)
3379
+ if (e.status === ie.SUCCESS)
3305
3380
  return AMap.GeometryUtil.distance(n, i);
3306
3381
  } };
3307
- }, Dr = () => {
3308
- const t = L();
3382
+ }, Po = () => {
3383
+ const e = L();
3309
3384
  return { apiMapDistance: (n, i) => {
3310
- if (t.status === ie.SUCCESS)
3311
- return google.maps.geometry.spherical.computeDistanceBetween(w(n), w(i));
3385
+ if (e.status === ie.SUCCESS)
3386
+ return google.maps.geometry.spherical.computeDistanceBetween(x(n), x(i));
3312
3387
  } };
3313
- }, Cr = () => {
3314
- const { supplier: t } = L();
3315
- return t === "gmap" ? Dr() : hr();
3316
- }, Wr = () => {
3317
- const t = C({
3388
+ }, bo = () => {
3389
+ const { supplier: e } = L();
3390
+ return e === "gmap" ? Po() : xo();
3391
+ }, Vo = () => {
3392
+ const e = w({
3318
3393
  lng: 0,
3319
3394
  lat: 0,
3320
3395
  name: "",
3321
3396
  cityName: void 0
3322
- }), e = h([]), { apiMapDistance: n } = Cr(), i = (o) => r.panTo(o), a = (o) => r.setCenterPlaceByRecomand(o), r = {
3397
+ }), t = D([]), { apiMapDistance: n } = bo(), i = (r) => o.panTo(r), a = (r) => o.setCenterPlaceByRecomand(r), o = {
3323
3398
  panTo: () => {
3324
3399
  throw new Error("MyError: panTo used before assigned");
3325
3400
  },
3326
3401
  setCenterPlaceByRecomand: () => {
3327
3402
  throw new Error("MyError: setCenterPlaceByRecomand used before assigned");
3328
3403
  },
3329
- onChangeCenterPlace: (o) => {
3330
- Object.assign(t, { ...o });
3404
+ onChangeCenterPlace: (r) => {
3405
+ Object.assign(e, { ...r });
3331
3406
  },
3332
- onChangeRecomendPlaces: (o) => {
3333
- e.value = [...o];
3407
+ onChangeRecomendPlaces: (r) => {
3408
+ t.value = [...r];
3334
3409
  }
3335
3410
  };
3336
3411
  return {
3337
- mapContext: r,
3338
- centerPlace: t,
3339
- placeCandidates: e,
3412
+ mapContext: o,
3413
+ centerPlace: e,
3414
+ placeCandidates: t,
3340
3415
  panTo: i,
3341
3416
  setCenterPlaceByRecomand: a,
3342
3417
  apiMapDistance: n
3343
3418
  };
3344
- }, Ur = () => {
3345
- const { mapRef: t, setMap: e } = Se(), { registerFitVeiw: n, setFitView: i } = Ne({
3346
- mapRef: t,
3419
+ }, Ho = () => {
3420
+ const { mapRef: e, setMap: t } = De(), { registerFitVeiw: n, setFitView: i } = he({
3421
+ mapRef: e,
3347
3422
  autoFitTimeout: 5e3,
3348
3423
  padding: [25, 20, 15, 15]
3349
3424
  });
3350
- return { setMap: e, registerFitVeiw: n, setFitView: i };
3425
+ return { setMap: t, registerFitVeiw: n, setFitView: i };
3351
3426
  };
3352
3427
  export {
3353
- fa as AddressBox,
3354
- zr as BusinessQuotingMap,
3355
- Er as BusinessRecomendPlaceMap,
3356
- Or as BusinessTaxiEndMap,
3357
- Zr as BusinessTaxiServiceMap,
3358
- Ae as DrivingLine,
3359
- Le as DrivingRoute,
3360
- je as HeycarMap,
3361
- xr as MapProvider,
3362
- he as PassengerCircle,
3363
- nr as PickupPoints,
3364
- Z as PlaceCircle,
3365
- E as StartEndPoint,
3366
- Ze as TaxiCar,
3367
- yn as WalkingLine,
3368
- Ln as WalkingRoute,
3369
- gr as WaveCircle,
3370
- kr as useBusinessMapAutoComplete,
3371
- Gr as useBusinessQuotingMap,
3372
- Wr as useBusinessRecomendPlaceMap,
3373
- Ur as useBusinessTaxiServiceMap,
3374
- Pr as useDrivingRoute,
3375
- un as useGeoLocation,
3376
- Se as useHeycarMap,
3377
- br as useMapAngle,
3378
- Qa as useMapDrag,
3379
- Ne as useMapFitView,
3380
- Cr as useMapGeometry,
3381
- Tr as useMapPlace,
3382
- _a as useMapRecomendPlace,
3383
- Rr as useWalkingRoute
3428
+ pa as AddressBox,
3429
+ Zo as BusinessQuotingMap,
3430
+ ko as BusinessRecomendPlaceMap,
3431
+ Uo as BusinessTaxiEndMap,
3432
+ Wo as BusinessTaxiServiceMap,
3433
+ Se as DrivingLine,
3434
+ Ne as DrivingRoute,
3435
+ Le as HeycarMap,
3436
+ zo as MapProvider,
3437
+ Ce as PassengerCircle,
3438
+ ao as PickupPoints,
3439
+ O as PlaceCircle,
3440
+ R as StartEndPoint,
3441
+ Oe as TaxiCar,
3442
+ An as WalkingLine,
3443
+ Nn as WalkingRoute,
3444
+ fo as WaveCircle,
3445
+ Bo as useBusinessMapAutoComplete,
3446
+ Yo as useBusinessQuotingMap,
3447
+ Vo as useBusinessRecomendPlaceMap,
3448
+ Ho as useBusinessTaxiServiceMap,
3449
+ Eo as useDrivingRoute,
3450
+ dn as useGeoLocation,
3451
+ De as useHeycarMap,
3452
+ Ro as useMapAngle,
3453
+ Fa as useMapDrag,
3454
+ he as useMapFitView,
3455
+ bo as useMapGeometry,
3456
+ Oo as useMapPlace,
3457
+ qa as useMapRecomendPlace,
3458
+ Go as useWalkingRoute
3384
3459
  };