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