@golstats/gsc-timeline-reports 1.0.11 → 1.0.13
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as O, onMounted as
|
|
1
|
+
import { ref as O, onMounted as mt, nextTick as ie, onBeforeUnmount as gt, watch as Y, createElementBlock as I, openBlock as C, normalizeStyle as Q, normalizeClass as Be, createCommentVNode as Fe, createElementVNode as S, Fragment as De, renderList as et, createStaticVNode as be, toDisplayString as tt, createBlock as Jt } from "vue";
|
|
2
2
|
function yt(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -16,25 +16,25 @@ function Kt(e) {
|
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && wt(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const Xt = Me("string"), D = Me("function"), bt = Me("number"),
|
|
19
|
+
const Xt = Me("string"), D = Me("function"), bt = Me("number"), pe = (e) => e !== null && typeof e == "object", Gt = (e) => e === !0 || e === !1, xe = (e) => {
|
|
20
20
|
if (Oe(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = Ve(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(vt in e) && !(Te in e);
|
|
24
24
|
}, Qt = (e) => {
|
|
25
|
-
if (!
|
|
25
|
+
if (!pe(e) || he(e))
|
|
26
26
|
return !1;
|
|
27
27
|
try {
|
|
28
28
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
29
29
|
} catch {
|
|
30
30
|
return !1;
|
|
31
31
|
}
|
|
32
|
-
}, Yt = q("Date"), en = q("File"), tn = q("Blob"), nn = q("FileList"), sn = (e) =>
|
|
32
|
+
}, Yt = q("Date"), en = q("File"), tn = q("Blob"), nn = q("FileList"), sn = (e) => pe(e) && D(e.pipe), rn = (e) => {
|
|
33
33
|
let t;
|
|
34
34
|
return e && (typeof FormData == "function" && e instanceof FormData || D(e.append) && ((t = Oe(e)) === "formdata" || // detect form-data instance
|
|
35
35
|
t === "object" && D(e.toString) && e.toString() === "[object FormData]"));
|
|
36
36
|
}, on = q("URLSearchParams"), [an, ln, un, cn] = ["ReadableStream", "Request", "Response", "Headers"].map(q), fn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
37
|
-
function
|
|
37
|
+
function me(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
38
38
|
if (e === null || typeof e > "u")
|
|
39
39
|
return;
|
|
40
40
|
let s, i;
|
|
@@ -68,16 +68,16 @@ function qe() {
|
|
|
68
68
|
xe(t[r]) && xe(s) ? t[r] = qe(t[r], s) : xe(s) ? t[r] = qe({}, s) : re(s) ? t[r] = s.slice() : t[r] = s;
|
|
69
69
|
};
|
|
70
70
|
for (let s = 0, i = arguments.length; s < i; s++)
|
|
71
|
-
arguments[s] &&
|
|
71
|
+
arguments[s] && me(arguments[s], n);
|
|
72
72
|
return t;
|
|
73
73
|
}
|
|
74
|
-
const dn = (e, t, n, { allOwnKeys: s } = {}) => (
|
|
74
|
+
const dn = (e, t, n, { allOwnKeys: s } = {}) => (me(t, (i, r) => {
|
|
75
75
|
n && D(i) ? e[r] = yt(i, n) : e[r] = i;
|
|
76
|
-
}, { allOwnKeys: s }), e), hn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
76
|
+
}, { allOwnKeys: s }), e), hn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), pn = (e, t, n, s) => {
|
|
77
77
|
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
78
78
|
value: t.prototype
|
|
79
79
|
}), n && Object.assign(e.prototype, n);
|
|
80
|
-
},
|
|
80
|
+
}, mn = (e, t, n, s) => {
|
|
81
81
|
let i, r, o;
|
|
82
82
|
const c = {};
|
|
83
83
|
if (t = t || {}, e == null) return t;
|
|
@@ -120,7 +120,7 @@ const dn = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (i, r) => {
|
|
|
120
120
|
}
|
|
121
121
|
), nt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), En = q("RegExp"), Et = (e, t) => {
|
|
122
122
|
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
123
|
-
|
|
123
|
+
me(n, (i, r) => {
|
|
124
124
|
let o;
|
|
125
125
|
(o = t(i, r, e)) !== !1 && (s[r] = o || i);
|
|
126
126
|
}), Object.defineProperties(e, s);
|
|
@@ -153,7 +153,7 @@ function Mn(e) {
|
|
|
153
153
|
}
|
|
154
154
|
const An = (e) => {
|
|
155
155
|
const t = new Array(10), n = (s, i) => {
|
|
156
|
-
if (
|
|
156
|
+
if (pe(s)) {
|
|
157
157
|
if (t.indexOf(s) >= 0)
|
|
158
158
|
return;
|
|
159
159
|
if (he(s))
|
|
@@ -161,7 +161,7 @@ const An = (e) => {
|
|
|
161
161
|
if (!("toJSON" in s)) {
|
|
162
162
|
t[i] = s;
|
|
163
163
|
const r = re(s) ? [] : {};
|
|
164
|
-
return
|
|
164
|
+
return me(s, (o, c) => {
|
|
165
165
|
const v = n(o, i + 1);
|
|
166
166
|
!de(v) && (r[c] = v);
|
|
167
167
|
}), t[i] = void 0, r;
|
|
@@ -170,14 +170,14 @@ const An = (e) => {
|
|
|
170
170
|
return s;
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
|
-
}, Cn = q("AsyncFunction"), In = (e) => e && (
|
|
173
|
+
}, Cn = q("AsyncFunction"), In = (e) => e && (pe(e) || D(e)) && D(e.then) && D(e.catch), St = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: i, data: r }) => {
|
|
174
174
|
i === ee && r === n && s.length && s.shift()();
|
|
175
175
|
}, !1), (i) => {
|
|
176
176
|
s.push(i), ee.postMessage(n, "*");
|
|
177
177
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
178
178
|
typeof setImmediate == "function",
|
|
179
179
|
D(ee.postMessage)
|
|
180
|
-
),
|
|
180
|
+
), Pn = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || St, Nn = (e) => e != null && D(e[Te]), u = {
|
|
181
181
|
isArray: re,
|
|
182
182
|
isArrayBuffer: wt,
|
|
183
183
|
isBuffer: he,
|
|
@@ -186,7 +186,7 @@ const An = (e) => {
|
|
|
186
186
|
isString: Xt,
|
|
187
187
|
isNumber: bt,
|
|
188
188
|
isBoolean: Gt,
|
|
189
|
-
isObject:
|
|
189
|
+
isObject: pe,
|
|
190
190
|
isPlainObject: xe,
|
|
191
191
|
isEmptyObject: Qt,
|
|
192
192
|
isReadableStream: an,
|
|
@@ -203,13 +203,13 @@ const An = (e) => {
|
|
|
203
203
|
isURLSearchParams: on,
|
|
204
204
|
isTypedArray: vn,
|
|
205
205
|
isFileList: nn,
|
|
206
|
-
forEach:
|
|
206
|
+
forEach: me,
|
|
207
207
|
merge: qe,
|
|
208
208
|
extend: dn,
|
|
209
209
|
trim: fn,
|
|
210
210
|
stripBOM: hn,
|
|
211
|
-
inherits:
|
|
212
|
-
toFlatObject:
|
|
211
|
+
inherits: pn,
|
|
212
|
+
toFlatObject: mn,
|
|
213
213
|
kindOf: Oe,
|
|
214
214
|
kindOfTest: q,
|
|
215
215
|
endsWith: gn,
|
|
@@ -234,8 +234,8 @@ const An = (e) => {
|
|
|
234
234
|
isAsyncFn: Cn,
|
|
235
235
|
isThenable: In,
|
|
236
236
|
setImmediate: St,
|
|
237
|
-
asap:
|
|
238
|
-
isIterable:
|
|
237
|
+
asap: Pn,
|
|
238
|
+
isIterable: Nn
|
|
239
239
|
};
|
|
240
240
|
function E(e, t, n, s, i) {
|
|
241
241
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), i && (this.response = i, this.status = i.status ? i.status : null);
|
|
@@ -349,7 +349,7 @@ function Ae(e, t, n) {
|
|
|
349
349
|
convertValue: f,
|
|
350
350
|
isVisitable: We
|
|
351
351
|
});
|
|
352
|
-
function
|
|
352
|
+
function P(p, _) {
|
|
353
353
|
if (!u.isUndefined(p)) {
|
|
354
354
|
if (w.indexOf(p) !== -1)
|
|
355
355
|
throw Error("Circular reference detected in " + _.join("."));
|
|
@@ -360,13 +360,13 @@ function Ae(e, t, n) {
|
|
|
360
360
|
u.isString(M) ? M.trim() : M,
|
|
361
361
|
_,
|
|
362
362
|
h
|
|
363
|
-
)) === !0 &&
|
|
363
|
+
)) === !0 && P(R, _ ? _.concat(M) : [M]);
|
|
364
364
|
}), w.pop();
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
if (!u.isObject(e))
|
|
368
368
|
throw new TypeError("data must be an object");
|
|
369
|
-
return
|
|
369
|
+
return P(e), t;
|
|
370
370
|
}
|
|
371
371
|
function it(e) {
|
|
372
372
|
const t = {
|
|
@@ -815,7 +815,7 @@ function He(e, t) {
|
|
|
815
815
|
r = c.call(n, r, i.normalize(), t ? t.status : void 0);
|
|
816
816
|
}), i.normalize(), r;
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Pt(e) {
|
|
819
819
|
return !!(e && e.__CANCEL__);
|
|
820
820
|
}
|
|
821
821
|
function oe(e, t, n) {
|
|
@@ -824,7 +824,7 @@ function oe(e, t, n) {
|
|
|
824
824
|
u.inherits(oe, E, {
|
|
825
825
|
__CANCEL__: !0
|
|
826
826
|
});
|
|
827
|
-
function
|
|
827
|
+
function Nt(e, t, n) {
|
|
828
828
|
const s = n.config.validateStatus;
|
|
829
829
|
!n.status || !s || s(n.status) ? e(n) : t(new E(
|
|
830
830
|
"Request failed with status code " + n.status,
|
|
@@ -850,8 +850,8 @@ function ss(e, t) {
|
|
|
850
850
|
h += n[w++], w = w % e;
|
|
851
851
|
if (i = (i + 1) % e, i === r && (r = (r + 1) % e), f - o < t)
|
|
852
852
|
return;
|
|
853
|
-
const
|
|
854
|
-
return
|
|
853
|
+
const P = d && f - d;
|
|
854
|
+
return P ? Math.round(h * 1e3 / P) : void 0;
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
function is(e, t) {
|
|
@@ -1023,9 +1023,9 @@ const kt = (e) => {
|
|
|
1023
1023
|
const i = kt(e);
|
|
1024
1024
|
let r = i.data;
|
|
1025
1025
|
const o = U.from(i.headers).normalize();
|
|
1026
|
-
let { responseType: c, onUploadProgress: v, onDownloadProgress: f } = i, d, w, h,
|
|
1026
|
+
let { responseType: c, onUploadProgress: v, onDownloadProgress: f } = i, d, w, h, P, p;
|
|
1027
1027
|
function _() {
|
|
1028
|
-
|
|
1028
|
+
P && P(), p && p(), i.cancelToken && i.cancelToken.unsubscribe(d), i.signal && i.signal.removeEventListener("abort", d);
|
|
1029
1029
|
}
|
|
1030
1030
|
let b = new XMLHttpRequest();
|
|
1031
1031
|
b.open(i.method.toUpperCase(), i.url, !0), b.timeout = i.timeout;
|
|
@@ -1042,7 +1042,7 @@ const kt = (e) => {
|
|
|
1042
1042
|
config: e,
|
|
1043
1043
|
request: b
|
|
1044
1044
|
};
|
|
1045
|
-
|
|
1045
|
+
Nt(function(Z) {
|
|
1046
1046
|
n(Z), _();
|
|
1047
1047
|
}, function(Z) {
|
|
1048
1048
|
s(Z), _();
|
|
@@ -1065,7 +1065,7 @@ const kt = (e) => {
|
|
|
1065
1065
|
)), b = null;
|
|
1066
1066
|
}, r === void 0 && o.setContentType(null), "setRequestHeader" in b && u.forEach(o.toJSON(), function(j, L) {
|
|
1067
1067
|
b.setRequestHeader(L, j);
|
|
1068
|
-
}), u.isUndefined(i.withCredentials) || (b.withCredentials = !!i.withCredentials), c && c !== "json" && (b.responseType = i.responseType), f && ([h, p] = Se(f, !0), b.addEventListener("progress", h)), v && b.upload && ([w,
|
|
1068
|
+
}), u.isUndefined(i.withCredentials) || (b.withCredentials = !!i.withCredentials), c && c !== "json" && (b.responseType = i.responseType), f && ([h, p] = Se(f, !0), b.addEventListener("progress", h)), v && b.upload && ([w, P] = Se(v), b.upload.addEventListener("progress", w), b.upload.addEventListener("loadend", P)), (i.cancelToken || i.signal) && (d = (T) => {
|
|
1069
1069
|
b && (s(!T || T.type ? new oe(null, e, b) : T), b.abort(), b = null);
|
|
1070
1070
|
}, i.cancelToken && i.cancelToken.subscribe(d), i.signal && (i.signal.aborted ? d() : i.signal.addEventListener("abort", d)));
|
|
1071
1071
|
const M = ns(i.url);
|
|
@@ -1108,9 +1108,9 @@ const kt = (e) => {
|
|
|
1108
1108
|
for (; s < n; )
|
|
1109
1109
|
i = s + t, yield e.slice(s, i), s = i;
|
|
1110
1110
|
}, hs = async function* (e, t) {
|
|
1111
|
-
for await (const n of
|
|
1111
|
+
for await (const n of ps(e))
|
|
1112
1112
|
yield* ds(n, t);
|
|
1113
|
-
},
|
|
1113
|
+
}, ps = async function* (e) {
|
|
1114
1114
|
if (e[Symbol.asyncIterator]) {
|
|
1115
1115
|
yield* e;
|
|
1116
1116
|
return;
|
|
@@ -1155,7 +1155,7 @@ const kt = (e) => {
|
|
|
1155
1155
|
}, {
|
|
1156
1156
|
highWaterMark: 2
|
|
1157
1157
|
});
|
|
1158
|
-
}, Ce = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Bt = Ce && typeof ReadableStream == "function",
|
|
1158
|
+
}, Ce = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Bt = Ce && typeof ReadableStream == "function", ms = Ce && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ft = (e, ...t) => {
|
|
1159
1159
|
try {
|
|
1160
1160
|
return !!e(...t);
|
|
1161
1161
|
} catch {
|
|
@@ -1194,7 +1194,7 @@ const ys = async (e) => {
|
|
|
1194
1194
|
if (u.isArrayBufferView(e) || u.isArrayBuffer(e))
|
|
1195
1195
|
return e.byteLength;
|
|
1196
1196
|
if (u.isURLSearchParams(e) && (e = e + ""), u.isString(e))
|
|
1197
|
-
return (await
|
|
1197
|
+
return (await ms(e)).byteLength;
|
|
1198
1198
|
}, vs = async (e, t) => {
|
|
1199
1199
|
const n = u.toFiniteNumber(e.getContentLength());
|
|
1200
1200
|
return n ?? ys(t);
|
|
@@ -1214,9 +1214,9 @@ const ys = async (e) => {
|
|
|
1214
1214
|
fetchOptions: h
|
|
1215
1215
|
} = kt(e);
|
|
1216
1216
|
f = f ? (f + "").toLowerCase() : "text";
|
|
1217
|
-
let
|
|
1218
|
-
const _ =
|
|
1219
|
-
|
|
1217
|
+
let P = fs([i, r && r.toAbortSignal()], o), p;
|
|
1218
|
+
const _ = P && P.unsubscribe && (() => {
|
|
1219
|
+
P.unsubscribe();
|
|
1220
1220
|
});
|
|
1221
1221
|
let b;
|
|
1222
1222
|
try {
|
|
@@ -1238,7 +1238,7 @@ const ys = async (e) => {
|
|
|
1238
1238
|
const R = "credentials" in Request.prototype;
|
|
1239
1239
|
p = new Request(t, {
|
|
1240
1240
|
...h,
|
|
1241
|
-
signal:
|
|
1241
|
+
signal: P,
|
|
1242
1242
|
method: n.toUpperCase(),
|
|
1243
1243
|
headers: d.normalize().toJSON(),
|
|
1244
1244
|
body: s,
|
|
@@ -1266,7 +1266,7 @@ const ys = async (e) => {
|
|
|
1266
1266
|
f = f || "text";
|
|
1267
1267
|
let j = await Re[u.findKey(Re, f) || "text"](M, e);
|
|
1268
1268
|
return !T && _ && _(), await new Promise((L, W) => {
|
|
1269
|
-
|
|
1269
|
+
Nt(L, W, {
|
|
1270
1270
|
data: j,
|
|
1271
1271
|
headers: U.from(M.headers),
|
|
1272
1272
|
status: M.status,
|
|
@@ -1343,7 +1343,7 @@ function ht(e) {
|
|
|
1343
1343
|
s
|
|
1344
1344
|
), s.headers = U.from(s.headers), s;
|
|
1345
1345
|
}, function(s) {
|
|
1346
|
-
return
|
|
1346
|
+
return Pt(s) || (je(e), s && s.response && (s.response.data = He.call(
|
|
1347
1347
|
e,
|
|
1348
1348
|
e.transformResponse,
|
|
1349
1349
|
s.response
|
|
@@ -1356,7 +1356,7 @@ const Ut = "1.11.0", Ie = {};
|
|
|
1356
1356
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1357
1357
|
};
|
|
1358
1358
|
});
|
|
1359
|
-
const
|
|
1359
|
+
const pt = {};
|
|
1360
1360
|
Ie.transitional = function(t, n, s) {
|
|
1361
1361
|
function i(r, o) {
|
|
1362
1362
|
return "[Axios v" + Ut + "] Transitional option '" + r + "'" + o + (s ? ". " + s : "");
|
|
@@ -1367,7 +1367,7 @@ Ie.transitional = function(t, n, s) {
|
|
|
1367
1367
|
i(o, " has been removed" + (n ? " in " + n : "")),
|
|
1368
1368
|
E.ERR_DEPRECATED
|
|
1369
1369
|
);
|
|
1370
|
-
return n && !
|
|
1370
|
+
return n && !pt[o] && (pt[o] = !0, console.warn(
|
|
1371
1371
|
i(
|
|
1372
1372
|
o,
|
|
1373
1373
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
@@ -1474,18 +1474,18 @@ let te = class {
|
|
|
1474
1474
|
return d;
|
|
1475
1475
|
}
|
|
1476
1476
|
h = c.length;
|
|
1477
|
-
let
|
|
1477
|
+
let P = n;
|
|
1478
1478
|
for (w = 0; w < h; ) {
|
|
1479
1479
|
const p = c[w++], _ = c[w++];
|
|
1480
1480
|
try {
|
|
1481
|
-
|
|
1481
|
+
P = p(P);
|
|
1482
1482
|
} catch (b) {
|
|
1483
1483
|
_.call(this, b);
|
|
1484
1484
|
break;
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
try {
|
|
1488
|
-
d = ht.call(this,
|
|
1488
|
+
d = ht.call(this, P);
|
|
1489
1489
|
} catch (p) {
|
|
1490
1490
|
return Promise.reject(p);
|
|
1491
1491
|
}
|
|
@@ -1678,26 +1678,26 @@ function jt(e) {
|
|
|
1678
1678
|
return jt(ne(e, i));
|
|
1679
1679
|
}, n;
|
|
1680
1680
|
}
|
|
1681
|
-
const
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1681
|
+
const N = jt(ge);
|
|
1682
|
+
N.Axios = te;
|
|
1683
|
+
N.CanceledError = oe;
|
|
1684
|
+
N.CancelToken = _s;
|
|
1685
|
+
N.isCancel = Pt;
|
|
1686
|
+
N.VERSION = Ut;
|
|
1687
|
+
N.toFormData = Ae;
|
|
1688
|
+
N.AxiosError = E;
|
|
1689
|
+
N.Cancel = N.CanceledError;
|
|
1690
|
+
N.all = function(t) {
|
|
1691
1691
|
return Promise.all(t);
|
|
1692
1692
|
};
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1693
|
+
N.spread = Es;
|
|
1694
|
+
N.isAxiosError = Ss;
|
|
1695
|
+
N.mergeConfig = ne;
|
|
1696
|
+
N.AxiosHeaders = U;
|
|
1697
|
+
N.formToJSON = (e) => It(u.isHTMLForm(e) ? new FormData(e) : e);
|
|
1698
|
+
N.getAdapter = Dt.getAdapter;
|
|
1699
|
+
N.HttpStatusCode = Je;
|
|
1700
|
+
N.default = N;
|
|
1701
1701
|
const {
|
|
1702
1702
|
Axios: Qs,
|
|
1703
1703
|
AxiosError: Ys,
|
|
@@ -1715,15 +1715,15 @@ const {
|
|
|
1715
1715
|
formToJSON: fi,
|
|
1716
1716
|
getAdapter: di,
|
|
1717
1717
|
mergeConfig: hi
|
|
1718
|
-
} =
|
|
1718
|
+
} = N, Rs = (e, t) => {
|
|
1719
1719
|
const n = e.__vccOpts || e;
|
|
1720
1720
|
for (const [s, i] of t)
|
|
1721
1721
|
n[s] = i;
|
|
1722
1722
|
return n;
|
|
1723
|
-
}, Ts = { class: "timeline-container" }, Os = { class: "team-circle team-circle-top" }, Ms = ["src"], As = { class: "team-circle team-circle-bottom" }, Cs = ["src"], Is = { class: "timeline-line" },
|
|
1723
|
+
}, Ts = { class: "timeline-container" }, Os = { class: "team-circle team-circle-top" }, Ms = ["src"], As = { class: "team-circle team-circle-bottom" }, Cs = ["src"], Is = { class: "timeline-line" }, Ps = {
|
|
1724
1724
|
key: 0,
|
|
1725
1725
|
class: "event-icon event-icon-top"
|
|
1726
|
-
},
|
|
1726
|
+
}, Ns = {
|
|
1727
1727
|
key: 0,
|
|
1728
1728
|
width: "24",
|
|
1729
1729
|
height: "24",
|
|
@@ -1857,7 +1857,7 @@ const {
|
|
|
1857
1857
|
},
|
|
1858
1858
|
emits: ["range-change"],
|
|
1859
1859
|
setup(e, { emit: t }) {
|
|
1860
|
-
const n = O(0), s = O(96), i = O("1"), r = O("2"), o = O(0), c = O(45), v = O(96), f = O(0), d = O(0), w = O("0px"), h = O([]),
|
|
1860
|
+
const n = O(0), s = O(96), i = O("1"), r = O("2"), o = O(0), c = O(45), v = O(96), f = O(0), d = O(0), w = O("0px"), h = O([]), P = t, p = e, _ = N.create({
|
|
1861
1861
|
headers: {
|
|
1862
1862
|
Authorization: `${p.token}`
|
|
1863
1863
|
}
|
|
@@ -1865,7 +1865,7 @@ const {
|
|
|
1865
1865
|
let R = null;
|
|
1866
1866
|
const M = O(null), T = O(!1), j = O(0), L = O(0), W = O(!1), Z = O(!1);
|
|
1867
1867
|
let J = !1, se = 0;
|
|
1868
|
-
const
|
|
1868
|
+
const Pe = O(0), $ = O(!1), ye = O(!1), K = O(96), Ne = O(null), qt = [
|
|
1869
1869
|
// Primer tiempo (0-45)
|
|
1870
1870
|
{
|
|
1871
1871
|
minute: 5,
|
|
@@ -2079,9 +2079,9 @@ const {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
];
|
|
2081
2081
|
function ae() {
|
|
2082
|
-
if (
|
|
2083
|
-
const l =
|
|
2084
|
-
W.value = y &&
|
|
2082
|
+
if (Ne.value) {
|
|
2083
|
+
const l = Ne.value, a = l.scrollWidth - l.clientWidth, m = l.scrollLeft, y = l.scrollWidth > l.clientWidth;
|
|
2084
|
+
W.value = y && m > 0, Z.value = y && Math.ceil(m) < Math.floor(a);
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
2087
|
function Ge() {
|
|
@@ -2102,10 +2102,10 @@ const {
|
|
|
2102
2102
|
if (p.isDefault) {
|
|
2103
2103
|
const l = qt.map((a) => {
|
|
2104
2104
|
if (!a.event) return a;
|
|
2105
|
-
const
|
|
2105
|
+
const m = a.event.filter((y) => !(y.icon === "icon-goal" && !p.goals || y.icon === "icon-yellow-card" && !p.yellowCards || y.icon === "icon-red-card" && !p.redCards || y.icon === "icon-change" && !p.substitutions));
|
|
2106
2106
|
return {
|
|
2107
2107
|
...a,
|
|
2108
|
-
event:
|
|
2108
|
+
event: m.length > 0 ? m : null
|
|
2109
2109
|
};
|
|
2110
2110
|
}).filter((a) => a.event !== null);
|
|
2111
2111
|
h.value = l, b.value = l.map((a) => a.event), l.length > 0 && (n.value = l[0].minute, s.value = l[l.length - 1].minute, i.value = l[0].match_lapse.toString(), r.value = l[l.length - 1].match_lapse.toString(), f.value = 0, d.value = l.length - 1, v.value = l[l.length - 1].minute, K.value = l[l.length - 1].minute, ue());
|
|
@@ -2122,26 +2122,26 @@ const {
|
|
|
2122
2122
|
if (l.data && l.data.plays) {
|
|
2123
2123
|
const a = l.data.plays.find(
|
|
2124
2124
|
(y) => {
|
|
2125
|
-
var
|
|
2126
|
-
return y.event_type_id === 6 && ((
|
|
2125
|
+
var g;
|
|
2126
|
+
return y.event_type_id === 6 && ((g = y.comments) == null ? void 0 : g.includes("El árbitro silba el Final del Primer Tiempo"));
|
|
2127
2127
|
}
|
|
2128
2128
|
);
|
|
2129
2129
|
a && (o.value = a.minute);
|
|
2130
|
-
const
|
|
2131
|
-
v.value =
|
|
2130
|
+
const m = Math.max(...l.data.plays.map((y) => y.minute));
|
|
2131
|
+
v.value = m, K.value = m, s.value = K.value, h.value = [];
|
|
2132
2132
|
for (let y = 0; y <= o.value; y++) {
|
|
2133
|
-
const
|
|
2133
|
+
const g = l.data.plays.filter(
|
|
2134
2134
|
(x) => {
|
|
2135
2135
|
var A;
|
|
2136
2136
|
return x.minute === y && x.match_lapse === 1 && Ye(x) && (x.category_id === 9 || x.category_id === 3 || x.event_type_id === 1 || x.event_type_id === 2 || x.category_id === 10 || x.category_id === 13 || x.event_type_id === 6 && ((A = x.comments) == null ? void 0 : A.includes("El árbitro silba el Final del Primer Tiempo")));
|
|
2137
2137
|
}
|
|
2138
2138
|
), k = [];
|
|
2139
|
-
|
|
2139
|
+
g.forEach((x) => {
|
|
2140
2140
|
k.push({
|
|
2141
2141
|
minute: x.minute,
|
|
2142
2142
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
2143
2143
|
icon: Qe(
|
|
2144
|
-
x.event_type_id === 1 || x.event_type_id ===
|
|
2144
|
+
x.event_type_id === 1 || x.event_type_id === 3 ? x.event_type_id : x.category_id,
|
|
2145
2145
|
x
|
|
2146
2146
|
),
|
|
2147
2147
|
team: x.team_id === p.homeTeam ? x.category_id === 13 ? "visitante" : "local" : x.category_id === 13 ? "local" : "visitante",
|
|
@@ -2154,15 +2154,15 @@ const {
|
|
|
2154
2154
|
});
|
|
2155
2155
|
}
|
|
2156
2156
|
for (let y = c.value; y <= v.value; y++) {
|
|
2157
|
-
const
|
|
2157
|
+
const g = l.data.plays.filter(
|
|
2158
2158
|
(x) => x.minute === y && x.match_lapse === 2 && Ye(x) && (x.category_id === 9 || x.category_id === 3 || x.event_type_id === 1 || x.event_type_id === 2 || x.category_id === 10 || x.category_id === 13)
|
|
2159
2159
|
), k = [];
|
|
2160
|
-
|
|
2160
|
+
g.forEach((x) => {
|
|
2161
2161
|
k.push({
|
|
2162
2162
|
minute: x.minute,
|
|
2163
2163
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
2164
2164
|
icon: Qe(
|
|
2165
|
-
x.event_type_id === 1 || x.event_type_id ===
|
|
2165
|
+
x.event_type_id === 1 || x.event_type_id === 3 ? x.event_type_id : x.category_id,
|
|
2166
2166
|
x
|
|
2167
2167
|
),
|
|
2168
2168
|
team: x.team_id === p.homeTeam ? x.category_id === 13 ? "visitante" : "local" : x.category_id === 13 ? "local" : "visitante",
|
|
@@ -2182,9 +2182,9 @@ const {
|
|
|
2182
2182
|
(F) => F.minute === A.minute && F.match_lapse === 1
|
|
2183
2183
|
);
|
|
2184
2184
|
}
|
|
2185
|
-
const
|
|
2186
|
-
if (
|
|
2187
|
-
const A =
|
|
2185
|
+
const g = h.value.filter((A) => A.match_lapse === 2);
|
|
2186
|
+
if (g.length > 0) {
|
|
2187
|
+
const A = g[g.length - 1];
|
|
2188
2188
|
s.value = A.minute, r.value = "2", d.value = h.value.findIndex(
|
|
2189
2189
|
(F) => F.minute === A.minute && F.match_lapse === 2
|
|
2190
2190
|
);
|
|
@@ -2205,21 +2205,19 @@ const {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
}
|
|
2207
2207
|
function Qe(l, a) {
|
|
2208
|
-
|
|
2209
|
-
3: "icon-goal",
|
|
2208
|
+
return {
|
|
2210
2209
|
1: "icon-goal",
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2210
|
+
8: "icon-yellow-card",
|
|
2211
|
+
9: "icon-red-card",
|
|
2212
|
+
3: "icon-change"
|
|
2214
2213
|
// Agregar más mapeos según sea necesario
|
|
2215
|
-
};
|
|
2216
|
-
return l === 2 ? "icon-yellow-card" : l === 9 ? a && a.comments && a.comments.includes("roja") ? "icon-red-card" : "icon-yellow-card" : g[l] || "";
|
|
2214
|
+
}[l] || "";
|
|
2217
2215
|
}
|
|
2218
2216
|
function Ye(l) {
|
|
2219
|
-
var a,
|
|
2220
|
-
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!p.goals : l.event_type_id === 2 || l.category_id === 9 && !((a = l.comments) != null && a.includes("roja")) ? !!p.yellowCards : l.category_id === 9 && ((
|
|
2217
|
+
var a, m;
|
|
2218
|
+
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!p.goals : l.event_type_id === 2 || l.category_id === 9 && !((a = l.comments) != null && a.includes("roja")) ? !!p.yellowCards : l.category_id === 9 && ((m = l.comments) != null && m.includes("roja")) ? !!p.redCards : l.category_id === 10 ? !!p.substitutions : !0;
|
|
2221
2219
|
}
|
|
2222
|
-
|
|
2220
|
+
mt(() => {
|
|
2223
2221
|
Wt(), Ge(), zt(), ie(() => {
|
|
2224
2222
|
ae();
|
|
2225
2223
|
}), window.addEventListener("resize", () => {
|
|
@@ -2249,20 +2247,20 @@ const {
|
|
|
2249
2247
|
if (i.value === "1") {
|
|
2250
2248
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2251
2249
|
if (l.length > 0) {
|
|
2252
|
-
const a = l[0],
|
|
2253
|
-
(n.value < a.minute || n.value >
|
|
2250
|
+
const a = l[0], m = l[l.length - 1];
|
|
2251
|
+
(n.value < a.minute || n.value > m.minute) && (n.value = a.minute);
|
|
2254
2252
|
const y = h.value.findIndex(
|
|
2255
|
-
(
|
|
2253
|
+
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2256
2254
|
);
|
|
2257
2255
|
y !== -1 && (f.value = y);
|
|
2258
2256
|
}
|
|
2259
2257
|
} else if (i.value === "2") {
|
|
2260
2258
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2261
2259
|
if (l.length > 0) {
|
|
2262
|
-
const a = l[0],
|
|
2263
|
-
(n.value < a.minute || n.value >
|
|
2260
|
+
const a = l[0], m = l[l.length - 1];
|
|
2261
|
+
(n.value < a.minute || n.value > m.minute) && (n.value = a.minute);
|
|
2264
2262
|
const y = h.value.findIndex(
|
|
2265
|
-
(
|
|
2263
|
+
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2266
2264
|
);
|
|
2267
2265
|
y !== -1 && (f.value = y);
|
|
2268
2266
|
}
|
|
@@ -2272,20 +2270,20 @@ const {
|
|
|
2272
2270
|
if (l.length > 0) {
|
|
2273
2271
|
const a = l[0];
|
|
2274
2272
|
n.value = a.minute;
|
|
2275
|
-
const
|
|
2273
|
+
const m = h.value.findIndex(
|
|
2276
2274
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2277
2275
|
);
|
|
2278
|
-
|
|
2276
|
+
m !== -1 && (f.value = m);
|
|
2279
2277
|
}
|
|
2280
2278
|
} else if (i.value === "2") {
|
|
2281
2279
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2282
2280
|
if (l.length > 0) {
|
|
2283
2281
|
const a = l[0];
|
|
2284
2282
|
n.value = a.minute;
|
|
2285
|
-
const
|
|
2283
|
+
const m = h.value.findIndex(
|
|
2286
2284
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2287
2285
|
);
|
|
2288
|
-
|
|
2286
|
+
m !== -1 && (f.value = m);
|
|
2289
2287
|
}
|
|
2290
2288
|
}
|
|
2291
2289
|
$.value = !1, ue();
|
|
@@ -2300,20 +2298,20 @@ const {
|
|
|
2300
2298
|
if (r.value === "1") {
|
|
2301
2299
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2302
2300
|
if (l.length > 0) {
|
|
2303
|
-
const a = l[0],
|
|
2304
|
-
(s.value < a.minute || s.value >
|
|
2301
|
+
const a = l[0], m = l[l.length - 1];
|
|
2302
|
+
(s.value < a.minute || s.value > m.minute) && (s.value = m.minute);
|
|
2305
2303
|
const y = h.value.findIndex(
|
|
2306
|
-
(
|
|
2304
|
+
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2307
2305
|
);
|
|
2308
2306
|
y !== -1 && (d.value = y);
|
|
2309
2307
|
}
|
|
2310
2308
|
} else if (r.value === "2") {
|
|
2311
2309
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2312
2310
|
if (l.length > 0) {
|
|
2313
|
-
const a = l[0],
|
|
2314
|
-
(s.value < a.minute || s.value >
|
|
2311
|
+
const a = l[0], m = l[l.length - 1];
|
|
2312
|
+
(s.value < a.minute || s.value > m.minute) && (s.value = m.minute);
|
|
2315
2313
|
const y = h.value.findIndex(
|
|
2316
|
-
(
|
|
2314
|
+
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2317
2315
|
);
|
|
2318
2316
|
y !== -1 && (d.value = y);
|
|
2319
2317
|
}
|
|
@@ -2323,20 +2321,20 @@ const {
|
|
|
2323
2321
|
if (l.length > 0) {
|
|
2324
2322
|
const a = l[l.length - 1];
|
|
2325
2323
|
s.value = a.minute;
|
|
2326
|
-
const
|
|
2324
|
+
const m = h.value.findIndex(
|
|
2327
2325
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2328
2326
|
);
|
|
2329
|
-
|
|
2327
|
+
m !== -1 && (d.value = m);
|
|
2330
2328
|
}
|
|
2331
2329
|
} else if (r.value === "2") {
|
|
2332
2330
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2333
2331
|
if (l.length > 0) {
|
|
2334
2332
|
const a = l[l.length - 1];
|
|
2335
2333
|
s.value = a.minute;
|
|
2336
|
-
const
|
|
2334
|
+
const m = h.value.findIndex(
|
|
2337
2335
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2338
2336
|
);
|
|
2339
|
-
|
|
2337
|
+
m !== -1 && (d.value = m);
|
|
2340
2338
|
}
|
|
2341
2339
|
}
|
|
2342
2340
|
$.value = !1, ue();
|
|
@@ -2348,20 +2346,20 @@ const {
|
|
|
2348
2346
|
if (i.value === "1") {
|
|
2349
2347
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2350
2348
|
if (l.length > 0) {
|
|
2351
|
-
const a = l[0],
|
|
2352
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2349
|
+
const a = l[0], m = l[l.length - 1];
|
|
2350
|
+
n.value < a.minute ? n.value = a.minute : n.value > m.minute && (n.value = m.minute);
|
|
2353
2351
|
const y = h.value.findIndex(
|
|
2354
|
-
(
|
|
2352
|
+
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2355
2353
|
);
|
|
2356
2354
|
y !== -1 && (f.value = y);
|
|
2357
2355
|
}
|
|
2358
2356
|
} else if (i.value === "2") {
|
|
2359
2357
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2360
2358
|
if (l.length > 0) {
|
|
2361
|
-
const a = l[0],
|
|
2362
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2359
|
+
const a = l[0], m = l[l.length - 1];
|
|
2360
|
+
n.value < a.minute ? n.value = a.minute : n.value > m.minute && (n.value = m.minute);
|
|
2363
2361
|
const y = h.value.findIndex(
|
|
2364
|
-
(
|
|
2362
|
+
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2365
2363
|
);
|
|
2366
2364
|
y !== -1 && (f.value = y);
|
|
2367
2365
|
}
|
|
@@ -2388,20 +2386,20 @@ const {
|
|
|
2388
2386
|
if (r.value === "1") {
|
|
2389
2387
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2390
2388
|
if (l.length > 0) {
|
|
2391
|
-
const a = l[0],
|
|
2392
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2389
|
+
const a = l[0], m = l[l.length - 1];
|
|
2390
|
+
s.value < a.minute ? s.value = a.minute : s.value > m.minute && (s.value = m.minute);
|
|
2393
2391
|
const y = h.value.findIndex(
|
|
2394
|
-
(
|
|
2392
|
+
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2395
2393
|
);
|
|
2396
2394
|
y !== -1 && (d.value = y);
|
|
2397
2395
|
}
|
|
2398
2396
|
} else if (r.value === "2") {
|
|
2399
2397
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2400
2398
|
if (l.length > 0) {
|
|
2401
|
-
const a = l[0],
|
|
2402
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2399
|
+
const a = l[0], m = l[l.length - 1];
|
|
2400
|
+
s.value < a.minute ? s.value = a.minute : s.value > m.minute && (s.value = m.minute);
|
|
2403
2401
|
const y = h.value.findIndex(
|
|
2404
|
-
(
|
|
2402
|
+
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2405
2403
|
);
|
|
2406
2404
|
y !== -1 && (d.value = y);
|
|
2407
2405
|
}
|
|
@@ -2431,16 +2429,11 @@ const {
|
|
|
2431
2429
|
function Zt() {
|
|
2432
2430
|
const l = h.value.length;
|
|
2433
2431
|
if (l === 0 || l === 1) return "0px";
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
if (h.value[m] && h.value[m].event) {
|
|
2437
|
-
a = m;
|
|
2438
|
-
break;
|
|
2439
|
-
}
|
|
2440
|
-
return `${a / (l - 1) * (p.timelineWidth - 40) + 10}px`;
|
|
2432
|
+
const a = (l - 1) / (l - 1) * (p.timelineWidth - 40);
|
|
2433
|
+
return `${parseInt(a) + 10}px`;
|
|
2441
2434
|
}
|
|
2442
2435
|
function V(l, a) {
|
|
2443
|
-
a.preventDefault(), R = l, se = a.type.includes("touch") ? a.touches[0].clientX : a.clientX, J = !1, l === "left" ?
|
|
2436
|
+
a.preventDefault(), R = l, se = a.type.includes("touch") ? a.touches[0].clientX : a.clientX, J = !1, l === "left" ? Pe.value = f.value : l === "right" && (Pe.value = d.value), document.addEventListener("mousemove", ve), document.addEventListener("touchmove", ve, { passive: !1 }), document.addEventListener("mouseup", we), document.addEventListener("touchend", we), T.value = !0;
|
|
2444
2437
|
}
|
|
2445
2438
|
function ve(l) {
|
|
2446
2439
|
if (!R) return;
|
|
@@ -2451,8 +2444,8 @@ const {
|
|
|
2451
2444
|
return;
|
|
2452
2445
|
J = !0;
|
|
2453
2446
|
}
|
|
2454
|
-
const
|
|
2455
|
-
let A =
|
|
2447
|
+
const m = $t(), y = h.value.length, g = a - se, k = m / (y - 1), x = Math.round(g / k);
|
|
2448
|
+
let A = Pe.value + x;
|
|
2456
2449
|
const F = Math.max(0, Math.min(A, y - 1));
|
|
2457
2450
|
if (R === "left") {
|
|
2458
2451
|
const H = h.value.findIndex(
|
|
@@ -2494,7 +2487,7 @@ const {
|
|
|
2494
2487
|
}
|
|
2495
2488
|
function Le() {
|
|
2496
2489
|
const l = n.value * 60, a = s.value * 60;
|
|
2497
|
-
|
|
2490
|
+
P("range-change", {
|
|
2498
2491
|
start: {
|
|
2499
2492
|
minutes: n.value,
|
|
2500
2493
|
seconds: l,
|
|
@@ -2511,13 +2504,13 @@ const {
|
|
|
2511
2504
|
}
|
|
2512
2505
|
function ue() {
|
|
2513
2506
|
const l = h.value.findIndex(
|
|
2514
|
-
(
|
|
2507
|
+
(m) => m.minute === n.value && m.match_lapse === parseInt(i.value)
|
|
2515
2508
|
), a = h.value.findIndex(
|
|
2516
|
-
(
|
|
2509
|
+
(m) => m.minute === s.value && m.match_lapse === parseInt(r.value)
|
|
2517
2510
|
);
|
|
2518
2511
|
if (l !== -1 && a !== -1 && l < a) {
|
|
2519
|
-
const
|
|
2520
|
-
w.value = `${
|
|
2512
|
+
const m = h.value.length, y = l / (m - 1) * (p.timelineWidth - 40), g = a / (m - 1) * (p.timelineWidth - 40);
|
|
2513
|
+
w.value = `${g - y}px`;
|
|
2521
2514
|
}
|
|
2522
2515
|
}
|
|
2523
2516
|
return (l, a) => (C(), I("div", {
|
|
@@ -2531,7 +2524,7 @@ const {
|
|
|
2531
2524
|
S("div", {
|
|
2532
2525
|
class: "timeline-scroll no-scrollbar",
|
|
2533
2526
|
ref_key: "scrollContainer",
|
|
2534
|
-
ref:
|
|
2527
|
+
ref: Ne,
|
|
2535
2528
|
onScroll: ae
|
|
2536
2529
|
}, [
|
|
2537
2530
|
S("div", {
|
|
@@ -2559,16 +2552,16 @@ const {
|
|
|
2559
2552
|
class: "minute-ball minute-ball-initial minute-ball-center",
|
|
2560
2553
|
style: Q({ left: le(0) })
|
|
2561
2554
|
}, "0'", 4),
|
|
2562
|
-
(C(!0), I(De, null, et(h.value, (
|
|
2563
|
-
(C(!0), I(De, null, et(
|
|
2555
|
+
(C(!0), I(De, null, et(h.value, (m, y) => (C(), I(De, null, [
|
|
2556
|
+
(C(!0), I(De, null, et(m.event, (g, k) => (C(), I("div", {
|
|
2564
2557
|
key: "event-" + y + "-" + k,
|
|
2565
2558
|
class: "event",
|
|
2566
2559
|
style: Q({
|
|
2567
2560
|
left: le(k === 0 ? y - 1.5 : y - 1.5 + k * 0.3)
|
|
2568
2561
|
})
|
|
2569
2562
|
}, [
|
|
2570
|
-
(
|
|
2571
|
-
(
|
|
2563
|
+
(g == null ? void 0 : g.team) === "local" ? (C(), I("span", Ps, [
|
|
2564
|
+
(g == null ? void 0 : g.icon) === "icon-yellow-card" ? (C(), I("svg", Ns, a[22] || (a[22] = [
|
|
2572
2565
|
S("rect", {
|
|
2573
2566
|
x: "0.507812",
|
|
2574
2567
|
y: "0.375488",
|
|
@@ -2585,7 +2578,7 @@ const {
|
|
|
2585
2578
|
rx: "2.28119",
|
|
2586
2579
|
fill: "#F7C330"
|
|
2587
2580
|
}, null, -1)
|
|
2588
|
-
]))) : (
|
|
2581
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-red-card" ? (C(), I("svg", Ls, a[23] || (a[23] = [
|
|
2589
2582
|
S("rect", {
|
|
2590
2583
|
width: "22.7873",
|
|
2591
2584
|
height: "22.8364",
|
|
@@ -2600,18 +2593,18 @@ const {
|
|
|
2600
2593
|
rx: "2.28119",
|
|
2601
2594
|
fill: "#E5152D"
|
|
2602
2595
|
}, null, -1)
|
|
2603
|
-
]))) : (
|
|
2604
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2605
|
-
]))) : (
|
|
2606
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2596
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-goal" ? (C(), I("svg", ks, a[24] || (a[24] = [
|
|
2597
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-79fd5517></ellipse><path fill="#fff" d="M24.03,36.05c-6.65,0-12.05-5.41-12.05-12.05s5.41-12.05,12.05-12.05,12.05,5.41,12.05,12.05-5.41,12.05-12.05,12.05Zm0-23.1c-6.1,0-11.05,4.96-11.05,11.05s4.96,11.05,11.05,11.05,11.05-4.96,11.05-11.05-4.96-11.05-11.05-11.05Z" data-v-79fd5517></path><path fill="#fff" d="M27.22,29.38h-6.35c-.22,0-.41-.14-.48-.35l-1.96-6.06c-.07-.21,0-.43,.18-.56l5.14-3.74c.18-.13,.41-.13,.59,0l5.14,3.74c.17,.13,.25,.35,.18,.56l-1.96,6.06c-.07,.21-.26,.35-.48,.35Zm-5.99-1h5.62l1.74-5.37-4.55-3.32-4.55,3.32,1.74,5.37Z" data-v-79fd5517></path><path fill="#fff" d="M24.06,15.71c-.07,0-.13-.01-.2-.04l-4.38-1.87c-.25-.11-.37-.4-.26-.66,.11-.25,.4-.37,.66-.26l4.18,1.78,4.18-1.78c.25-.11,.55,0,.66,.26,.11,.25,0,.55-.26,.66l-4.38,1.87c-.06,.03-.13,.04-.2,.04Z" data-v-79fd5517></path><path fill="#fff" d="M12.62,25.37c-.12,0-.23-.04-.33-.12-.21-.18-.23-.5-.05-.71l2.99-3.44-.4-4.54c-.02-.27,.18-.52,.45-.54,.27-.03,.52,.18,.54,.45l.42,4.75c.01,.14-.03,.27-.12,.37l-3.12,3.6c-.1,.11-.24,.17-.38,.17Z" data-v-79fd5517></path><path fill="#fff" d="M21.37,35.66c-.17,0-.34-.09-.43-.24l-2.34-3.91-4.43-1.02c-.27-.06-.44-.33-.38-.6s.33-.44,.6-.38l4.64,1.07c.13,.03,.25,.11,.32,.23l2.45,4.09c.14,.24,.06,.54-.17,.69-.08,.05-.17,.07-.26,.07Z" data-v-79fd5517></path><path fill="#fff" d="M26.75,35.66c-.09,0-.18-.02-.26-.07-.24-.14-.31-.45-.17-.69l2.44-4.09c.07-.12,.18-.2,.32-.23l4.63-1.07c.27-.06,.54,.11,.6,.38s-.11,.54-.38,.6l-4.43,1.02-2.33,3.91c-.09,.16-.26,.24-.43,.24Z" data-v-79fd5517></path><path fill="#fff" d="M35.5,25.37c-.14,0-.28-.06-.38-.17l-3.13-3.6c-.09-.1-.13-.24-.12-.37l.42-4.75c.02-.27,.27-.48,.54-.45,.28,.02,.48,.27,.45,.54l-.4,4.54,2.99,3.44c.18,.21,.16,.52-.05,.71-.09,.08-.21,.12-.33,.12Z" data-v-79fd5517></path><path fill="#fff" d="M24.05,19.58c-.28,0-.5-.22-.5-.5v-3.87c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v3.87c0,.28-.22,.5-.5,.5Z" data-v-79fd5517></path><path fill="#fff" d="M29.21,23.47c-.18,0-.35-.1-.44-.26-.13-.24-.04-.55,.2-.68l3.17-1.7c.25-.13,.55-.04,.68,.2,.13,.24,.04,.55-.2,.68l-3.17,1.7c-.08,.04-.16,.06-.24,.06Z" data-v-79fd5517></path><path fill="#fff" d="M29.2,31.57c-.14,0-.27-.06-.37-.17l-1.96-2.19c-.18-.21-.17-.52,.04-.71,.21-.18,.52-.17,.71,.04l1.96,2.19c.18,.21,.17,.52-.04,.71-.1,.09-.21,.13-.33,.13Z" data-v-79fd5517></path><path fill="#fff" d="M18.91,31.57c-.12,0-.24-.04-.33-.13-.21-.18-.22-.5-.04-.71l1.96-2.19c.19-.21,.5-.22,.71-.04,.21,.18,.22,.5,.04,.71l-1.96,2.19c-.1,.11-.24,.17-.37,.17Z" data-v-79fd5517></path><path fill="#fff" d="M18.93,23.32c-.07,0-.15-.02-.22-.05l-3.17-1.55c-.25-.12-.35-.42-.23-.67,.12-.25,.42-.35,.67-.23l3.17,1.55c.25,.12,.35,.42,.23,.67-.09,.18-.26,.28-.45,.28Z" data-v-79fd5517></path>', 14)
|
|
2598
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-change" ? (C(), I("svg", Bs, a[25] || (a[25] = [
|
|
2599
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><path fill="#fff" d="M31.62,23.86c-.19,0-.37-.07-.52-.21-.3-.29-.31-.76-.03-1.06l2.89-3.04-2.89-3.04c-.29-.3-.27-.77,.03-1.06,.3-.29,.77-.27,1.06,.03l3.39,3.56c.28,.29,.28,.74,0,1.03l-3.39,3.56c-.15,.15-.34,.23-.54,.23Z" data-v-79fd5517></path><path fill="#fff" d="M34.99,20.31H16.37c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75h18.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-79fd5517></path><path fill="#fff" d="M16.38,32.75c-.2,0-.4-.08-.54-.23l-3.38-3.56c-.28-.29-.28-.74,0-1.03l3.38-3.56c.28-.3,.76-.31,1.06-.03,.3,.29,.31,.76,.03,1.06l-2.89,3.04,2.89,3.04c.29,.3,.27,.78-.03,1.06-.15,.14-.33,.21-.52,.21Z" data-v-79fd5517></path><path fill="#fff" d="M31.62,29.19H13c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75H31.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-79fd5517></path>', 5)
|
|
2607
2600
|
]))) : (C(), I("span", {
|
|
2608
2601
|
key: 4,
|
|
2609
|
-
class: Be(
|
|
2602
|
+
class: Be(g == null ? void 0 : g.icon)
|
|
2610
2603
|
}, null, 2))
|
|
2611
2604
|
])) : Fe("", !0),
|
|
2612
|
-
S("span", Fs, tt((
|
|
2613
|
-
(
|
|
2614
|
-
(
|
|
2605
|
+
S("span", Fs, tt((g == null ? void 0 : g.minuteLabel) || m.minute) + "'", 1),
|
|
2606
|
+
(g == null ? void 0 : g.team) === "visitante" ? (C(), I("span", Ds, [
|
|
2607
|
+
(g == null ? void 0 : g.icon) === "icon-yellow-card" ? (C(), I("svg", Us, a[26] || (a[26] = [
|
|
2615
2608
|
S("rect", {
|
|
2616
2609
|
x: "0.507812",
|
|
2617
2610
|
y: "0.375488",
|
|
@@ -2628,7 +2621,7 @@ const {
|
|
|
2628
2621
|
rx: "2.28119",
|
|
2629
2622
|
fill: "#F7C330"
|
|
2630
2623
|
}, null, -1)
|
|
2631
|
-
]))) : (
|
|
2624
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-red-card" ? (C(), I("svg", Hs, a[27] || (a[27] = [
|
|
2632
2625
|
S("rect", {
|
|
2633
2626
|
width: "22.7873",
|
|
2634
2627
|
height: "22.8364",
|
|
@@ -2643,13 +2636,13 @@ const {
|
|
|
2643
2636
|
rx: "2.28119",
|
|
2644
2637
|
fill: "#E5152D"
|
|
2645
2638
|
}, null, -1)
|
|
2646
|
-
]))) : (
|
|
2647
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2648
|
-
]))) : (
|
|
2649
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2639
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-goal" ? (C(), I("svg", js, a[28] || (a[28] = [
|
|
2640
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-79fd5517></ellipse><path fill="#fff" d="M24.03,36.05c-6.65,0-12.05-5.41-12.05-12.05s5.41-12.05,12.05-12.05,12.05,5.41,12.05,12.05-5.41,12.05-12.05,12.05Zm0-23.1c-6.1,0-11.05,4.96-11.05,11.05s4.96,11.05,11.05,11.05,11.05-4.96,11.05-11.05-4.96-11.05-11.05-11.05Z" data-v-79fd5517></path><path fill="#fff" d="M27.22,29.38h-6.35c-.22,0-.41-.14-.48-.35l-1.96-6.06c-.07-.21,0-.43,.18-.56l5.14-3.74c.18-.13,.41-.13,.59,0l5.14,3.74c.17,.13,.25,.35,.18,.56l-1.96,6.06c-.07,.21-.26,.35-.48,.35Zm-5.99-1h5.62l1.74-5.37-4.55-3.32-4.55,3.32,1.74,5.37Z" data-v-79fd5517></path><path fill="#fff" d="M24.06,15.71c-.07,0-.13-.01-.2-.04l-4.38-1.87c-.25-.11-.37-.4-.26-.66,.11-.25,.4-.37,.66-.26l4.18,1.78,4.18-1.78c.25-.11,.55,0,.66,.26,.11,.25,0,.55-.26,.66l-4.38,1.87c-.06,.03-.13,.04-.2,.04Z" data-v-79fd5517></path><path fill="#fff" d="M12.62,25.37c-.12,0-.23-.04-.33-.12-.21-.18-.23-.5-.05-.71l2.99-3.44-.4-4.54c-.02-.27,.18-.52,.45-.54,.27-.03,.52,.18,.54,.45l.42,4.75c.01,.14-.03,.27-.12,.37l-3.12,3.6c-.1,.11-.24,.17-.38,.17Z" data-v-79fd5517></path><path fill="#fff" d="M21.37,35.66c-.17,0-.34-.09-.43-.24l-2.34-3.91-4.43-1.02c-.27-.06-.44-.33-.38-.6s.33-.44,.6-.38l4.64,1.07c.13,.03,.25,.11,.32,.23l2.45,4.09c.14,.24,.06,.54-.17,.69-.08,.05-.17,.07-.26,.07Z" data-v-79fd5517></path><path fill="#fff" d="M26.75,35.66c-.09,0-.18-.02-.26-.07-.24-.14-.31-.45-.17-.69l2.44-4.09c.07-.12,.18-.2,.32-.23l4.63-1.07c.27-.06,.54,.11,.6,.38s-.11,.54-.38,.6l-4.43,1.02-2.33,3.91c-.09,.16-.26,.24-.43,.24Z" data-v-79fd5517></path><path fill="#fff" d="M35.5,25.37c-.14,0-.28-.06-.38-.17l-3.13-3.6c-.09-.1-.13-.24-.12-.37l.42-4.75c.02-.27,.27-.48,.54-.45,.28,.02,.48,.27,.45,.54l-.4,4.54,2.99,3.44c.18,.21,.16,.52-.05,.71-.09,.08-.21,.12-.33,.12Z" data-v-79fd5517></path><path fill="#fff" d="M24.05,19.58c-.28,0-.5-.22-.5-.5v-3.87c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v3.87c0,.28-.22,.5-.5,.5Z" data-v-79fd5517></path><path fill="#fff" d="M29.21,23.47c-.18,0-.35-.1-.44-.26-.13-.24-.04-.55,.2-.68l3.17-1.7c.25-.13,.55-.04,.68,.2,.13,.24,.04,.55-.2,.68l-3.17,1.7c-.08,.04-.16,.06-.24,.06Z" data-v-79fd5517></path><path fill="#fff" d="M29.2,31.57c-.14,0-.27-.06-.37-.17l-1.96-2.19c-.18-.21-.17-.52,.04-.71,.21-.18,.52-.17,.71,.04l1.96,2.19c.18,.21,.17,.52-.04,.71-.1,.09-.21,.13-.33,.13Z" data-v-79fd5517></path><path fill="#fff" d="M18.91,31.57c-.12,0-.24-.04-.33-.13-.21-.18-.22-.5-.04-.71l1.96-2.19c.19-.21,.5-.22,.71-.04,.21,.18,.22,.5,.04,.71l-1.96,2.19c-.1,.11-.24,.17-.37,.17Z" data-v-79fd5517></path><path fill="#fff" d="M18.93,23.32c-.07,0-.15-.02-.22-.05l-3.17-1.55c-.25-.12-.35-.42-.23-.67,.12-.25,.42-.35,.67-.23l3.17,1.55c.25,.12,.35,.42,.23,.67-.09,.18-.26,.28-.45,.28Z" data-v-79fd5517></path>', 14)
|
|
2641
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-change" ? (C(), I("svg", qs, a[29] || (a[29] = [
|
|
2642
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><path fill="#fff" d="M31.62,23.86c-.19,0-.37-.07-.52-.21-.3-.29-.31-.76-.03-1.06l2.89-3.04-2.89-3.04c-.29-.3-.27-.77,.03-1.06,.3-.29,.77-.27,1.06,.03l3.39,3.56c.28,.29,.28,.74,0,1.03l-3.39,3.56c-.15,.15-.34,.23-.54,.23Z" data-v-79fd5517></path><path fill="#fff" d="M34.99,20.31H16.37c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75h18.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-79fd5517></path><path fill="#fff" d="M16.38,32.75c-.2,0-.4-.08-.54-.23l-3.38-3.56c-.28-.29-.28-.74,0-1.03l3.38-3.56c.28-.3,.76-.31,1.06-.03,.3,.29,.31,.76,.03,1.06l-2.89,3.04,2.89,3.04c.29,.3,.27,.78-.03,1.06-.15,.14-.33,.21-.52,.21Z" data-v-79fd5517></path><path fill="#fff" d="M31.62,29.19H13c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75H31.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-79fd5517></path>', 5)
|
|
2650
2643
|
]))) : (C(), I("span", {
|
|
2651
2644
|
key: 4,
|
|
2652
|
-
class: Be(
|
|
2645
|
+
class: Be(g == null ? void 0 : g.icon)
|
|
2653
2646
|
}, null, 2))
|
|
2654
2647
|
])) : Fe("", !0)
|
|
2655
2648
|
], 4))), 128))
|
|
@@ -2664,8 +2657,8 @@ const {
|
|
|
2664
2657
|
}, [
|
|
2665
2658
|
S("div", {
|
|
2666
2659
|
class: "handle left",
|
|
2667
|
-
onMousedown: a[4] || (a[4] = (
|
|
2668
|
-
onTouchstart: a[5] || (a[5] = (
|
|
2660
|
+
onMousedown: a[4] || (a[4] = (m) => V("left", m)),
|
|
2661
|
+
onTouchstart: a[5] || (a[5] = (m) => V("left", m))
|
|
2669
2662
|
}, [
|
|
2670
2663
|
(C(), I("svg", Ws, a[30] || (a[30] = [
|
|
2671
2664
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2677,19 +2670,19 @@ const {
|
|
|
2677
2670
|
], 32),
|
|
2678
2671
|
S("span", {
|
|
2679
2672
|
class: "range-dot range-dot-left",
|
|
2680
|
-
onMousedown: a[6] || (a[6] = (
|
|
2681
|
-
onTouchstart: a[7] || (a[7] = (
|
|
2673
|
+
onMousedown: a[6] || (a[6] = (m) => V("left", m)),
|
|
2674
|
+
onTouchstart: a[7] || (a[7] = (m) => V("left", m))
|
|
2682
2675
|
}, null, 32),
|
|
2683
2676
|
a[36] || (a[36] = S("div", { class: "range-line" }, null, -1)),
|
|
2684
2677
|
S("span", {
|
|
2685
2678
|
class: "range-dot range-dot-right",
|
|
2686
|
-
onMousedown: a[8] || (a[8] = (
|
|
2687
|
-
onTouchstart: a[9] || (a[9] = (
|
|
2679
|
+
onMousedown: a[8] || (a[8] = (m) => V("right", m)),
|
|
2680
|
+
onTouchstart: a[9] || (a[9] = (m) => V("right", m))
|
|
2688
2681
|
}, null, 32),
|
|
2689
2682
|
S("div", {
|
|
2690
2683
|
class: "handle right",
|
|
2691
|
-
onMousedown: a[10] || (a[10] = (
|
|
2692
|
-
onTouchstart: a[11] || (a[11] = (
|
|
2684
|
+
onMousedown: a[10] || (a[10] = (m) => V("right", m)),
|
|
2685
|
+
onTouchstart: a[11] || (a[11] = (m) => V("right", m))
|
|
2693
2686
|
}, [
|
|
2694
2687
|
(C(), I("svg", Zs, a[33] || (a[33] = [
|
|
2695
2688
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2706,7 +2699,7 @@ const {
|
|
|
2706
2699
|
])
|
|
2707
2700
|
], 6));
|
|
2708
2701
|
}
|
|
2709
|
-
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-
|
|
2702
|
+
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-79fd5517"]]), pi = {
|
|
2710
2703
|
__name: "gsc-timeline-reports",
|
|
2711
2704
|
props: {
|
|
2712
2705
|
gameId: {
|
|
@@ -2759,7 +2752,7 @@ const {
|
|
|
2759
2752
|
c !== v && setTimeout(() => {
|
|
2760
2753
|
i.value++;
|
|
2761
2754
|
}, 100);
|
|
2762
|
-
}),
|
|
2755
|
+
}), mt(() => {
|
|
2763
2756
|
ie(() => {
|
|
2764
2757
|
setTimeout(() => {
|
|
2765
2758
|
o();
|
|
@@ -2791,5 +2784,5 @@ const {
|
|
|
2791
2784
|
}
|
|
2792
2785
|
};
|
|
2793
2786
|
export {
|
|
2794
|
-
|
|
2787
|
+
pi as GSCTimelineReports
|
|
2795
2788
|
};
|