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

Class A

scripts/new-relic.runtime.js:2131–2276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2129 }
2130 var T = i(384)
2131 class A extends e.d {
2132 constructor(e) {
2133 var t
2134 ;(super(), f.gm)
2135 ? ((this.features = {}),
2136 (0, T.bQ)(this.agentIdentifier, this),
2137 (this.desiredFeatures = new Set(e.features || [])),
2138 this.desiredFeatures.add(E),
2139 (0, n.j)(this, e, e.loaderType || 'agent'),
2140 (t = this),
2141 (0, c.Y)(
2142 a.cD,
2143 function (e, r, n = !1) {
2144 if ('string' == typeof e) {
2145 if (
2146 ['string', 'number', 'boolean'].includes(typeof r) ||
2147 null === r
2148 )
2149 return (0, c.U)(t, e, r, a.cD, n)
2150 ;(0, h.R)(40, typeof r)
2151 } else (0, h.R)(39, typeof e)
2152 },
2153 t
2154 ),
2155 (function (e) {
2156 ;(0, c.Y)(
2157 a.Dl,
2158 function (t, r = !1) {
2159 if ('string' != typeof t && null !== t)
2160 return void (0, h.R)(41, typeof t)
2161 const n = e.info.jsAttributes['enduser.id']
2162 r && null != n && n !== t
2163 ? (0, s.p)(
2164 a.Pl + 'setUserIdAndResetSession',
2165 [t],
2166 void 0,
2167 'session',
2168 e.ee
2169 )
2170 : (0, c.U)(e, 'enduser.id', t, a.Dl, !0)
2171 },
2172 e
2173 )
2174 })(this),
2175 (function (e) {
2176 ;(0, c.Y)(
2177 a.nb,
2178 function (t) {
2179 if ('string' == typeof t || null === t)
2180 return (0, c.U)(e, 'application.version', t, a.nb, !1)
2181 ;(0, h.R)(42, typeof t)
2182 },
2183 e
2184 )
2185 })(this),
2186 (function (e) {
2187 ;(0, c.Y)(
2188 a.d3,

Callers 2

aMethod · 0.85
TMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected