MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / V

Function V

scripts/new-relic.runtime.js:2396–2433  ·  view source on GitHub ↗
(e, r, n, i, c = (0, o.t)())

Source from the content-addressed store, hash-verified

2394 ;(0, s.p)(a.Pl + a.hG, [c, e, r, i], void 0, t.K7.genericEvents, n.ee)
2395 }
2396 function V(e, r, n, i, c = (0, o.t)()) {
2397 const { start: d, end: u, customAttributes: l } = r || {},
2398 f = { customAttributes: l || {} }
2399 if (
2400 'object' != typeof f.customAttributes ||
2401 'string' != typeof e ||
2402 0 === e.length
2403 )
2404 return void (0, h.R)(57)
2405 const p = (e, t) =>
2406 null == e
2407 ? t
2408 : 'number' == typeof e
2409 ? e
2410 : e instanceof PerformanceMark
2411 ? e.startTime
2412 : Number.NaN
2413 if (
2414 ((f.start = p(d, 0)),
2415 (f.end = p(u, c)),
2416 Number.isNaN(f.start) || Number.isNaN(f.end))
2417 )
2418 (0, h.R)(57)
2419 else {
2420 if (((f.duration = f.end - f.start), !(f.duration < 0)))
2421 return (
2422 (0, s.p)(
2423 a.Pl + a.V1,
2424 [f, e, i],
2425 void 0,
2426 t.K7.genericEvents,
2427 n.ee
2428 ),
2429 f
2430 )
2431 ;(0, h.R)(58)
2432 }
2433 }
2434 function G(e, r = {}, n, i, c = (0, o.t)()) {
2435 ;(0, s.p)(a.Pl + a.fF, [c, e, r, i], void 0, t.K7.genericEvents, n.ee)
2436 }

Callers 1

constructorMethod · 0.85

Calls 1

pFunction · 0.85

Tested by

no test coverage detected