@heycar/heycars-map 0.2.10 → 0.2.12

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