1(() => { 2 var e, 3 t, 4 r = { 5 234: (e, t, r) => { 6 "use strict"; 7 r.d(t, { 8 P_: () => m, 9 Mt: () => b, 10 C5: () => s, 11 DL: () => w, 12 OP: () => D, 13 lF: () => O, 14 Yu: () => E, 15 Dg: () => v, 16 CX: () => c, 17 GE: () => x, 18 sU: () => N, 19 }); 20 var n = r(8632), 21 i = r(9567); 22 const o = { 23 beacon: n.ce.beacon, 24 errorBeacon: n.ce.errorBeacon, 25 licenseKey: void 0, 26 applicationID: void 0, 27 sa: void 0, 28 queueTime: void 0, 29 applicationTime: void 0, 30 ttGuid: void 0, 31 user: void 0, 32 account: void 0, 33 product: void 0, 34 extra: void 0, 35 jsAttributes: {}, 36 userAttributes: void 0, 37 atts: void 0, 38 transactionName: void 0, 39 tNamePlain: void 0, 40 }, 41 a = {}; 42 function s(e) { 43 if (!e) 44 throw new Error("All info objects require an agent identifier!"); 45 if (!a[e]) throw new Error("Info for ".concat(e, " was never set")); 46 return a[e]; 47 } 48 function c(e, t) { 49 if (!e) 50 throw new Error("All info objects require an agent identifier!"); 51 a[e] = (0, i.D)(t, o); 52 const r = (0, n.ek)(e); 53 r && (r.info = a[e]); 54 } 55 const u = (e) => { 56 if (!e || "string" != typeof e) return !1; 57 try { 58 document.createDocumentFragment().querySelector(e); 59 } catch { 60 return !1; 61 } 62 return !0; 63 }; 64 var d = r(7056), 65 l = r(50); 66 const f = "[data-nr-mask]", 67 h = () => { 68 const e = { 69 mask_selector: "*", 70 block_selector: "[data-nr-block]", 71 mask_input_options: { 72 color: !1, 73 date: !1, 74 "datetime-local": !1, 75 email: !1, 76 month: !1, 77 number: !1, 78 range: !1, 79 search: !1, 80 tel: !1, 81 text: !1, 82 time: !1, 83 url: !1, 84 week: !1, 85 textarea: !1, 86 select: !1, 87 password: !0, 88 }, 89 }; 90 return { 91 feature_flags: [], 92 proxy: { assets: void 0, beacon: void 0 }, 93 privacy: { cookies_enabled: !0 }, 94 ajax: { 95 deny_list: void 0, 96 block_internal: !0, 97 enabled: !0, 98 harvestTimeSeconds: 10, 99 autoStart: !0, 100 }, 101 distributed_tracing: { 102 enabled: void 0, 103 exclude_newrelic_header: void 0, 104 cors_use_newrelic_header: void 0, 105 cors_use_tracecontext_headers: void 0, 106 allowed_origins: void 0, 107 }, 108 session: { domain: void 0, expiresMs: d.oD, inactiveMs: d.Hb }, 109 ssl: void 0, 110 obfuscate: void 0, 111 jserrors: { enabled: !0, harvestTimeSeconds: 10, autoStart: !0 }, 112 metrics: { enabled: !0, autoStart: !0 }, 113 page_action: { 114 enabled: !0, 115 harvestTimeSeconds: 30, 116 autoStart: !0, 117 }, 118 page_view_event: { enabled: !0, autoStart: !0 }, 119 page_view_timing: { 120 enabled: !0, 121 harvestTimeSeconds: 30, 122 long_task: !1, 123 autoStart: !0, 124 }, 125 session_trace: { 126 enabled: !0, 127 harvestTimeSeconds: 10, 128 autoStart: !0, 129 }, 130 harvest: { tooManyRequestsDelay: 60 }, 131 session_replay: { 132 autoStart: !0, 133 enabled: !1, 134 harvestTimeSeconds: 60, 135 sampling_rate: 10, 136 error_sampling_rate: 100, 137 collect_fonts: !1, 138 inline_images: !1, 139 inline_stylesheet: !0, 140 mask_all_inputs: !0, 141 get mask_text_selector() { 142 return e.mask_selector; 143 }, 144 set mask_text_selector(t) { 145 u(t) 146 ? (e.mask_selector = "".concat(t, ",").concat(f)) 147 : "" === t || null === t 148 ? (e.mask_selector = f) 149 : (0, l.Z)( 150 "An invalid session_replay.mask_selector was provided. '*' will be used.", 151 t, 152 ); 153 }, 154 get block_class() { 155 return "nr-block"; 156 }, 157 get ignore_class() { 158 return "nr-ignore"; 159 }, 160 get mask_text_class() { 161 return "nr-mask"; 162 }, 163 get block_selector() { 164 return e.block_selector; 165 }, 166 set block_selector(t) { 167 u(t) 168 ? (e.block_selector += ",".concat(t)) 169 : "" !== t && 170 (0, l.Z)( 171 "An invalid session_replay.block_selector was provided and will not be used", 172 t, 173 ); 174 }, 175 get mask_input_options() { 176 return e.mask_input_options; 177 }, 178 set mask_input_options(t) { 179 t && "object" == typeof t 180 ? (e.mask_input_options = { ...t, password: !0 }) 181 : (0, l.Z)( 182 "An invalid session_replay.mask_input_option was provided and will not be used", 183 t, 184 ); 185 }, 186 }, 187 spa: { enabled: !0, harvestTimeSeconds: 10, autoStart: !0 }, 188 }; 189 }, 190 p = {}, 191 g = "All configuration objects require an agent identifier!"; 192 function m(e) { 193 if (!e) throw new Error(g); 194 if (!p[e]) 195 throw new Error("Configuration for ".concat(e, " was never set")); 196 return p[e]; 197 } 198 function v(e, t) { 199 if (!e) throw new Error(g); 200 p[e] = (0, i.D)(t, h()); 201 const r = (0, n.ek)(e); 202 r && (r.init = p[e]); 203 } 204 function b(e, t) { 205 if (!e) throw new Error(g); 206 var r = m(e); 207 if (r) { 208 for (var n = t.split("."), i = 0; i < n.length - 1; i++) 209 if ("object" != typeof (r = r[n[i]])) return; 210 r = r[n[n.length - 1]]; 211 } 212 return r; 213 } 214 const y = { 215 accountID: void 0, 216 trustKey: void 0, 217 agentID: void 0, 218 licenseKey: void 0, 219 applicationID: void 0, 220 xpid: void 0, 221 }, 222 A = {}; 223 function w(e) { 224 if (!e) 225 throw new Error( 226 "All loader-config objects require an agent identifier!", 227 ); 228 if (!A[e]) 229 throw new Error("LoaderConfig for ".concat(e, " was never set")); 230 return A[e]; 231 } 232 function x(e, t) { 233 if (!e) 234 throw new Error( 235 "All loader-config objects require an agent identifier!", 236 ); 237 A[e] = (0, i.D)(t, y); 238 const r = (0, n.ek)(e); 239 r && (r.loader_config = A[e]); 240 } 241 const E = (0, n.mF)().o; 242 var _ = r(385), 243 T = r(6818); 244 const S = { 245 buildEnv: T.Re, 246 customTransaction: void 0, 247 disabled: !1, 248 distMethod: T.gF, 249 isolatedBacklog: !1, 250 loaderType: void 0, 251 maxBytes: 3e4, 252 offset: Math.floor( 253 _._A?.performance?.timeOrigin || 254 _._A?.performance?.timing?.navigationStart || 255 Date.now(), 256 ), 257 onerror: void 0, 258 origin: "" + _._A.location, 259 ptid: void 0, 260 releaseIds: {}, 261 session: void 0, 262 xhrWrappable: 263 "function" == 264 typeof _._A.XMLHttpRequest?.prototype?.addEventListener, 265 version: T.q4, 266 denyList: void 0, 267 }, 268 R = {}; 269 function D(e) { 270 if (!e) 271 throw new Error("All runtime objects require an agent identifier!"); 272 if (!R[e]) 273 throw new Error("Runtime for ".concat(e, " was never set")); 274 return R[e]; 275 } 276 function N(e, t) { 277 if (!e) 278 throw new Error("All runtime objects require an agent identifier!"); 279 R[e] = (0, i.D)(t, S); 280 const r = (0, n.ek)(e); 281 r && (r.runtime = R[e]); 282 } 283 function O(e) { 284 return (function (e) { 285 try { 286 const t = s(e); 287 return !!t.licenseKey && !!t.errorBeacon && !!t.applicationID; 288 } catch (e) { 289 return !1; 290 } 291 })(e); 292 } 293 }, 294 9567: (e, t, r) => { 295 "use strict"; 296 r.d(t, { D: () => i }); 297 var n = r(50); 298 function i(e, t) { 299 try { 300 if (!e || "object" != typeof e) 301 return (0, n.Z)( 302 "Setting a Configurable requires an object as input", 303 ); 304 if (!t || "object" != typeof t) 305 return (0, n.Z)( 306 "Setting a Configurable requires a model to set its initial properties", 307 ); 308 const r = Object.create( 309 Object.getPrototypeOf(t), 310 Object.getOwnPropertyDescriptors(t),
311 ), 312 o = 0 === Object.keys(r).length ? e : r; 313 for (let a in o) 314 if (void 0 !== e[a]) 315 try { 316 Array.isArray(e[a]) && Array.isArray(t[a]) 317 ? (r[a] = Array.from(new Set([...e[a], ...t[a]]))) 318 : "object" == typeof e[a] && "object" == typeof t[a] 319 ? (r[a] = i(e[a], t[a])) 320 : (r[a] = e[a]); 321 } catch (e) { 322 (0, n.Z)( 323 "An error occurred while setting a property of a Configurable", 324 e, 325 ); 326 } 327 return r; 328 } catch (e) { 329 (0, n.Z)("An error occured while setting a Configurable", e); 330 } 331 } 332 }, 333 6818: (e, t, r) => { 334 "use strict"; 335 r.d(t, { Re: () => i, gF: () => o, lF: () => a, q4: () => n }); 336 const n = "1.252.0", 337 i = "PROD", 338 o = "CDN", 339 a = "2.0.0-alpha.11"; 340 }, 341 385: (e, t, r) => { 342 "use strict"; 343 r.d(t, { 344 FN: () => c, 345 IF: () => l, 346 LW: () => a, 347 Nk: () => h, 348 Tt: () => u, 349 _A: () => o, 350 cv: () => p, 351 iS: () => s, 352 il: () => n, 353 ux: () => d, 354 v6: () => i, 355 w1: () => f, 356 }); 357 const n = "undefined" != typeof window && !!window.document, 358 i = 359 "undefined" != typeof WorkerGlobalScope && 360 (("undefined" != typeof self && 361 self instanceof WorkerGlobalScope && 362 self.navigator instanceof WorkerNavigator) || 363 ("undefined" != typeof globalThis && 364 globalThis instanceof WorkerGlobalScope && 365 globalThis.navigator instanceof WorkerNavigator)), 366 o = n 367 ? window 368 : "undefined" != typeof WorkerGlobalScope && 369 (("undefined" != typeof self && 370 self instanceof WorkerGlobalScope && 371 self) || 372 ("undefined" != typeof globalThis && 373 globalThis instanceof WorkerGlobalScope && 374 globalThis)), 375 a = "complete" === o?.document?.readyState, 376 s = Boolean("hidden" === o?.document?.visibilityState), 377 c = "" + o?.location, 378 u = /iPad|iPhone|iPod/.test(o.navigator?.userAgent), 379 d = u && "undefined" == typeof SharedWorker, 380 l = (() => { 381 const e = o.navigator?.userAgent?.match( 382 /Firefox[/\\s](\\d+\\.\\d+)/, 383 ); 384 return Array.isArray(e) && e.length >= 2 ? +e[1] : 0; 385 })(), 386 f = Boolean(n && window.document.documentMode), 387 h = !!o.navigator?.sendBeacon, 388 p = Math.floor( 389 o?.performance?.timeOrigin || 390 o?.performance?.timing?.navigationStart || 391 Date.now(), 392 ); 393 }, 394 1117: (e, t, r) => { 395 "use strict"; 396 r.d(t, { w: () => o }); 397 var n = r(50); 398 const i = { agentIdentifier: "", ee: void 0 }; 399 class o { 400 constructor(e) { 401 try { 402 if ("object" != typeof e) 403 return (0, n.Z)("shared context requires an object as input"); 404 ((this.sharedContext = {}), 405 Object.assign(this.sharedContext, i), 406 Object.entries(e).forEach((e) => { 407 let [t, r] = e; 408 Object.keys(i).includes(t) && (this.sharedContext[t] = r); 409 })); 410 } catch (e) { 411 (0, n.Z)("An error occured while setting SharedContext", e); 412 } 413 } 414 } 415 }, 416 8e3: (e, t, r) => { 417 "use strict"; 418 r.d(t, { L: () => d, R: () => c }); 419 var n = r(8325), 420 i = r(1284), 421 o = r(4322), 422 a = r(3325); 423 const s = {}; 424 function c(e, t) { 425 const r = { staged: !1, priority: a.p[t] || 0 }; 426 (u(e), s[e].get(t) || s[e].set(t, r)); 427 } 428 function u(e) { 429 e && (s[e] || (s[e] = new Map())); 430 } 431 function d() { 432 let e = 433 arguments.length > 0 && void 0 !== arguments[0] 434 ? arguments[0] 435 : "", 436 t = 437 arguments.length > 1 && void 0 !== arguments[1] 438 ? arguments[1] 439 : "feature", 440 r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2]; 441 if ((u(e), !e || !s[e].get(t) || r)) return c(t); 442 s[e].get(t).staged = !0; 443 const a = [...s[e]]; 444 function c(t) { 445 const r = e ? n.ee.get(e) : n.ee, 446 a = o.X.handlers; 447 if (r.backlog && a) { 448 var s = r.backlog[t], 449 c = a[t]; 450 if (c) { 451 for (var u = 0; s && u < s.length; ++u) l(s[u], c); 452 (0, i.D)(c, function (e, t) { 453 (0, i.D)(t, function (t, r) { 454 r[0].on(e, r[1]); 455 }); 456 }); 457 } 458 (delete a[t], (r.backlog[t] = null), r.emit("drain-" + t, [])); 459 } 460 } 461 a.every((e) => { 462 let [t, r] = e; 463 return r.staged; 464 }) && 465 (a.sort((e, t) => e[1].priority - t[1].priority), 466 a.forEach((t) => { 467 let [r] = t; 468 (s[e].delete(r), c(r)); 469 })); 470 } 471 function l(e, t) { 472 var r = e[1]; 473 (0, i.D)(t[r], function (t, r) { 474 var n = e[0]; 475 if (r[0] === n) { 476 var i = r[1], 477 o = e[3], 478 a = e[2]; 479 i.apply(o, a); 480 } 481 }); 482 } 483 }, 484 8325: (e, t, r) => { 485 "use strict"; 486 r.d(t, { A: () => c, ee: () => u }); 487 var n = r(8632), 488 i = r(2210), 489 o = r(234); 490 class a { 491 constructor(e) { 492 this.contextId = e; 493 } 494 } 495 var s = r(3117); 496 const c = "nr@context:".concat(s.a), 497 u = (function e(t, r) { 498 var n = {}, 499 s = {}, 500 d = {}, 501 f = !1; 502 try { 503 f = 16 === r.length && (0, o.OP)(r).isolatedBacklog; 504 } catch (e) {} 505 var h = { 506 on: g, 507 addEventListener: g, 508 removeEventListener: function (e, t) { 509 var r = n[e]; 510 if (!r) return; 511 for (var i = 0; i < r.length; i++) r[i] === t && r.splice(i, 1); 512 }, 513 emit: function (e, r, n, i, o) { 514 !1 !== o && (o = !0); 515 if (u.aborted && !i) return; 516 t && o && t.emit(e, r, n); 517 for (var a = p(n), c = m(e), d = c.length, l = 0; l < d; l++) 518 c[l].apply(a, r); 519 var f = b()[s[e]]; 520 f && f.push([h, e, r, a]); 521 return a; 522 }, 523 get: v, 524 listeners: m, 525 context: p, 526 buffer: function (e, t) { 527 const r = b(); 528 if (((t = t || "feature"), h.aborted)) return; 529 Object.entries(e || {}
529).forEach((e) => { 530 let [n, i] = e; 531 ((s[i] = t), t in r || (r[t] = [])); 532 }); 533 }, 534 abort: l, 535 aborted: !1, 536 isBuffering: function (e) { 537 return !!b()[s[e]]; 538 }, 539 debugId: r, 540 backlog: f 541 ? {} 542 : t && "object" == typeof t.backlog 543 ? t.backlog 544 : {}, 545 }; 546 return h; 547 function p(e) { 548 return e && e instanceof a 549 ? e 550 : e 551 ? (0, i.X)(e, c, () => new a(c)) 552 : new a(c); 553 } 554 function g(e, t) { 555 n[e] = m(e).concat(t); 556 } 557 function m(e) { 558 return n[e] || []; 559 } 560 function v(t) { 561 return (d[t] = d[t] || e(h, t)); 562 } 563 function b() { 564 return h.backlog; 565 } 566 })(void 0, "globalEE"), 567 d = (0, n.fP)(); 568 function l() { 569 ((u.aborted = !0), 570 Object.keys(u.backlog).forEach((e) => { 571 delete u.backlog[e]; 572 })); 573 } 574 d.ee || (d.ee = u); 575 }, 576 5546: (e, t, r) => { 577 "use strict"; 578 r.d(t, { E: () => n, p: () => i }); 579 var n = r(8325).ee.get("handle"); 580 function i(e, t, r, i, o) { 581 o 582 ? (o.buffer([e], i), o.emit(e, t, r)) 583 : (n.buffer([e], i), n.emit(e, t, r)); 584 } 585 }, 586 4322: (e, t, r) => { 587 "use strict"; 588 r.d(t, { X: () => o }); 589 var n = r(5546); 590 o.on = a; 591 var i = (o.handlers = {}); 592 function o(e, t, r, o) { 593 a(o || n.E, i, e, t, r); 594 } 595 function a(e, t, r, i, o) { 596 (o || (o = "feature"), e || (e = n.E)); 597 var a = (t[o] = t[o] || {}); 598 (a[r] = a[r] || []).push([e, i]); 599 } 600 }, 601 3239: (e, t, r) => { 602 "use strict"; 603 r.d(t, { bP: () => s, iz: () => c, m$: () => a }); 604 var n = r(385); 605 let i = !1, 606 o = !1; 607 try { 608 const e = { 609 get passive() { 610 return ((i = !0), !1); 611 }, 612 get signal() { 613 return ((o = !0), !1); 614 }, 615 }; 616 (n._A.addEventListener("test", null, e), 617 n._A.removeEventListener("test", null, e)); 618 } catch (e) {} 619 function a(e, t) { 620 return i || o ? { capture: !!e, passive: i, signal: t } : !!e; 621 } 622 function s(e, t) { 623 let r = 624 arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 625 n = arguments.length > 3 ? arguments[3] : void 0; 626 window.addEventListener(e, t, a(r, n)); 627 } 628 function c(e, t) { 629 let r = 630 arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 631 n = arguments.length > 3 ? arguments[3] : void 0; 632 document.addEventListener(e, t, a(r, n)); 633 } 634 }, 635 3117: (e, t, r) => { 636 "use strict"; 637 r.d(t, { a: () => n }); 638 const n = (0, r(4402).Rl)(); 639 }, 640 4402: (e, t, r) => { 641 "use strict"; 642 r.d(t, { Ht: () => u, M: () => c, Rl: () => a, ky: () => s }); 643 var n = r(385); 644 const i = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"; 645 function o(e, t) { 646 return e ? 15 & e[t] : (16 * Math.random()) | 0; 647 } 648 function a() { 649 const e = n._A?.crypto || n._A?.msCrypto; 650 let t, 651 r = 0; 652 return ( 653 e && 654 e.getRandomValues && 655 (t = e.getRandomValues(new Uint8Array(30))), 656 i 657 .split("") 658 .map((e) => 659 "x" === e 660 ? o(t, r++).toString(16) 661 : "y" === e 662 ? ((3 & o()) | 8).toString(16) 663 : e, 664 ) 665 .join("") 666 ); 667 } 668 function s(e) { 669 const t = n._A?.crypto || n._A?.msCrypto; 670 let r, 671 i = 0; 672 t && t.getRandomValues && (r = t.getRandomValues(new Uint8Array(e))); 673 const a = []; 674 for (var s = 0; s < e; s++) a.push(o(r, i++).toString(16)); 675 return a.join(""); 676 } 677 function c() { 678 return s(16); 679 } 680 function u() { 681 return s(32); 682 } 683 }, 684 7056: (e, t, r) => { 685 "use strict"; 686 r.d(t, { 687 Bq: () => n, 688 Hb: () => o, 689 IK: () => c, 690 oD: () => i, 691 uT: () => s, 692 wO: () => a, 693 }); 694 const n = "NRBA", 695 i = 144e5, 696 o = 18e5, 697 a = { 698 PAUSE: "session-pause", 699 RESET: "session-reset", 700 RESUME: "session-resume", 701 UPDATE: "session-update", 702 }, 703 s = { SAME_TAB: "same-tab", CROSS_TAB: "cross-tab" }, 704 c = { OFF: 0, FULL: 1, ERROR: 2 }; 705 }, 706 7894: (e, t, r) => { 707 "use strict"; 708 function n() { 709 return Math.round(performance.now()); 710 } 711 r.d(t, { z: () => n }); 712 }, 713 7243: (e, t, r) => { 714 "use strict"; 715 r.d(t, { e: () => i }); 716 var n = r(385); 717 function i(e) { 718 if (0 === (e || "").indexOf("data:")) return { protocol: "data" }; 719 try { 720 const t = new URL(e, location.href), 721 r = { 722 port: t.port, 723 hostname: t.hostname, 724 pathname: t.pathname, 725 search: t.search, 726 protocol: t.protocol.slice(0, t.protocol.indexOf(":")), 727 sameOrigin: 728 t.protocol === n._A?.location?.protocol && 729 t.host === n._A?.location?.host, 730 }; 731 return ( 732 (r.port && "" !== r.port) || 733 ("http:" === t.protocol && (r.port = "80"), 734 "https:" === t.protocol && (r.port = "443")), 735 r.pathname && "" !== r.pathname 736 ? r.pathname.startsWith("/") || 737 (r.pathname = "/".concat(r.pathname)) 738 : (r.pathname = "/"), 739 r 740 ); 741 } catch (e) { 742 return {}; 743 } 744 } 745 }, 746 50: (e, t, r) => { 747 "use strict"; 748 function n(e, t) { 749 "function" == typeof console.warn && 750 (console.warn("New Relic: ".concat(e)), t && console.warn(t)); 751 } 752 r.d(t, { Z: () => n }); 753 }, 754 2825: (e, t, r) => { 755 "use strict"; 756 r.d(t, { N: () => d, T: () => l }); 757 var n = r(8325), 758 i = r(5546), 759 o = r(3325), 760 a = r(385); 761 const s = "newrelic"; 762 const c = { 763 stn: [o.D.sessionTrace], 764 err: [o.D.jserrors, o.D.metrics], 765 ins: [o.D.pageAction], 766 spa: [o.D.spa], 767 sr: [o.D.sessionReplay, o.D.sessionTrace], 768 }, 769 u = new Set(); 770 function d(e, t) { 771 const r = n.ee.get(t); 772 e && 773 "object" == typeof e && 774 (u.has(t) || 775 (Object.entries(e).forEach((e) => { 776 let [t, n] = e; 777 (c[t] 778 ? c[t].forEach((e) => { 779 (n 780 ? (0, i.p)("feat-" + t, [], void 0, e, r) 781 : (0, i.p)("block-" + t, [], void 0, e, r), 782 (0, i.p)("rumresp-" + t, [Boolean(n)], void 0, e, r)); 783 }) 784 : n && (0, i.p)("feat-" + t, [], void 0, void 0, r),
785 (l[t] = Boolean(n))); 786 }), 787 Object.keys(c).forEach((e) => { 788 void 0 === l[e] && 789 (c[e]?.forEach((t) => 790 (0, i.p)("rumresp-" + e, [!1], void 0, t, r), 791 ), 792 (l[e] = !1)); 793 }), 794 u.add(t), 795 (function () { 796 let e = 797 arguments.length > 0 && void 0 !== arguments[0] 798 ? arguments[0] 799 : {}; 800 try { 801 a._A.dispatchEvent(new CustomEvent(s, { detail: e })); 802 } catch (e) {} 803 })({ loaded: !0 }))); 804 } 805 const l = {}; 806 }, 807 2210: (e, t, r) => { 808 "use strict"; 809 r.d(t, { X: () => i }); 810 var n = Object.prototype.hasOwnProperty; 811 function i(e, t, r) { 812 if (n.call(e, t)) return e[t]; 813 var i = r(); 814 if (Object.defineProperty && Object.keys) 815 try { 816 return ( 817 Object.defineProperty(e, t, { 818 value: i, 819 writable: !0, 820 enumerable: !1, 821 }), 822 i 823 ); 824 } catch (e) {} 825 return ((e[t] = i), i); 826 } 827 }, 828 1284: (e, t, r) => { 829 "use strict"; 830 r.d(t, { D: () => n }); 831 const n = (e, t) => 832 Object.entries(e || {}).map((e) => { 833 let [r, n] = e; 834 return t(r, n); 835 }); 836 }, 837 4351: (e, t, r) => { 838 "use strict"; 839 r.d(t, { P: () => o }); 840 var n = r(8325); 841 const i = () => { 842 const e = new WeakSet(); 843 return (t, r) => { 844 if ("object" == typeof r && null !== r) { 845 if (e.has(r)) return; 846 e.add(r); 847 } 848 return r; 849 }; 850 }; 851 function o(e) { 852 try { 853 return JSON.stringify(e, i()); 854 } catch (e) { 855 try { 856 n.ee.emit("internal-error", [e]); 857 } catch (e) {} 858 } 859 } 860 }, 861 3960: (e, t, r) => { 862 "use strict"; 863 r.d(t, { KB: () => a, b2: () => o }); 864 var n = r(3239); 865 function i() { 866 return ( 867 "undefined" == typeof document || "complete" === document.readyState 868 ); 869 } 870 function o(e, t) { 871 if (i()) return e(); 872 (0, n.bP)("load", e, t); 873 } 874 function a(e) { 875 if (i()) return e(); 876 (0, n.iz)("DOMContentLoaded", e); 877 } 878 }, 879 8632: (e, t, r) => { 880 "use strict"; 881 r.d(t, { 882 EZ: () => d, 883 ce: () => o, 884 ek: () => u, 885 fP: () => a, 886 gG: () => l, 887 h5: () => c, 888 mF: () => s, 889 }); 890 var n = r(7894), 891 i = r(385); 892 const o = { beacon: "bam.nr-data.net", errorBeacon: "bam.nr-data.net" }; 893 function a() { 894 return ( 895 i._A.NREUM || (i._A.NREUM = {}), 896 void 0 === i._A.newrelic && (i._A.newrelic = i._A.NREUM), 897 i._A.NREUM 898 ); 899 } 900 function s() { 901 let e = a(); 902 return ( 903 e.o || 904 (e.o = { 905 ST: i._A.setTimeout, 906 SI: i._A.setImmediate, 907 CT: i._A.clearTimeout, 908 XHR: i._A.XMLHttpRequest, 909 REQ: i._A.Request, 910 EV: i._A.Event, 911 PR: i._A.Promise, 912 MO: i._A.MutationObserver, 913 FETCH: i._A.fetch, 914 }), 915 e 916 ); 917 } 918 function c(e, t) { 919 let r = a(); 920 ((r.initializedAgents ??= {}), 921 (t.initializedAt = { ms: (0, n.z)(), date: new Date() }), 922 (r.initializedAgents[e] = t)); 923 } 924 function u(e) { 925 let t = a(); 926 return t.initializedAgents?.[e]; 927 } 928 function d(e, t) { 929 a()[e] = t; 930 } 931 function l() { 932 return ( 933 (function () { 934 let e = a(); 935 const t = e.info || {}; 936 e.info = { beacon: o.beacon, errorBeacon: o.errorBeacon, ...t }; 937 })(), 938 (function () { 939 let e = a(); 940 const t = e.init || {}; 941 e.init = { ...t }; 942 })(), 943 s(), 944 (function () { 945 let e = a(); 946 const t = e.loader_config || {}; 947 e.loader_config = { ...t }; 948 })(), 949 a() 950 ); 951 } 952 }, 953 7956: (e, t, r) => { 954 "use strict"; 955 r.d(t, { N: () => i }); 956 var n = r(3239); 957 function i(e) { 958 let t = 959 arguments.length > 1 && void 0 !== arguments[1] && arguments[1], 960 r = arguments.length > 2 ? arguments[2] : void 0, 961 i = arguments.length > 3 ? arguments[3] : void 0; 962 (0, n.iz)( 963 "visibilitychange", 964 function () { 965 if (t) return void ("hidden" === document.visibilityState && e()); 966 e(document.visibilityState); 967 }, 968 r, 969 i, 970 ); 971 } 972 }, 973 1214: (e, t, r) => { 974 "use strict"; 975 r.d(t, { 976 em: () => b, 977 u5: () => R, 978 QU: () => O, 979 _L: () => P, 980 Gm: () => M, 981 Lg: () => L, 982 BV: () => Z,
983 Kf: () => Y, 984 }); 985 var n = r(8325), 986 i = r(3117); 987 const o = "nr@original:".concat(i.a); 988 var a = Object.prototype.hasOwnProperty, 989 s = !1; 990 function c(e, t) { 991 return ( 992 e || (e = n.ee), 993 (r.inPlace = function (e, t, n, i, o) { 994 n || (n = ""); 995 const a = "-" === n.charAt(0); 996 for (let s = 0; s < t.length; s++) { 997 const c = t[s], 998 u = e[c]; 999 d(u) || (e[c] = r(u, a ? c + n : n, i, c, o)); 1000 } 1001 }), 1002 (r.flag = o), 1003 r 1004 ); 1005 function r(t, r, n, s, c) { 1006 return d(t) 1007 ? t 1008 : (r || (r = ""), 1009 (nrWrapper[o] = t), 1010 (function (e, t, r) { 1011 if (Object.defineProperty && Object.keys) 1012 try { 1013 return ( 1014 Object.keys(e).forEach(function (r) { 1015 Object.defineProperty(t, r, { 1016 get: function () { 1017 return e[r]; 1018 }, 1019 set: function (t) { 1020 return ((e[r] = t), t); 1021 }, 1022 }); 1023 }), 1024 t 1025 ); 1026 } catch (e) { 1027 u([e], r); 1028 } 1029 for (var n in e) a.call(e, n) && (t[n] = e[n]); 1030 })(t, nrWrapper, e), 1031 nrWrapper); 1032 function nrWrapper() { 1033 var o, a, d, l; 1034 try { 1035 ((a = this), 1036 (o = [...arguments]), 1037 (d = "function" == typeof n ? n(o, a) : n || {})); 1038 } catch (t) { 1039 u([t, "", [o, a, s], d], e); 1040 } 1041 i(r + "start", [o, a, s], d, c); 1042 try { 1043 return (l = t.apply(a, o)); 1044 } catch (e) { 1045 throw (i(r + "err", [o, a, e], d, c), e); 1046 } finally { 1047 i(r + "end", [o, a, l], d, c); 1048 } 1049 } 1050 } 1051 function i(r, n, i, o) { 1052 if (!s || t) { 1053 var a = s; 1054 s = !0; 1055 try { 1056 e.emit(r, n, i, t, o); 1057 } catch (t) { 1058 u([t, r, n, i], e); 1059 } 1060 s = a; 1061 } 1062 } 1063 } 1064 function u(e, t) { 1065 t || (t = n.ee); 1066 try { 1067 t.emit("internal-error", e); 1068 } catch (e) {} 1069 } 1070 function d(e) { 1071 return !(e && "function" == typeof e && e.apply && !e[o]); 1072 } 1073 var l = r(2210), 1074 f = r(385); 1075 const h = {}, 1076 p = f._A.XMLHttpRequest, 1077 g = "addEventListener", 1078 m = "removeEventListener", 1079 v = "nr@wrapped:".concat(n.A); 1080 function b(e) { 1081 var t = (function (e) { 1082 return (e || n.ee).get("events"); 1083 })(e); 1084 if (h[t.debugId]++) return t; 1085 h[t.debugId] = 1; 1086 var r = c(t, !0); 1087 function i(e) { 1088 r.inPlace(e, [g, m], "-", o); 1089 } 1090 function o(e, t) { 1091 return e[1]; 1092 } 1093 return ( 1094 "getPrototypeOf" in Object && 1095 (f.il && y(document, i), y(f._A, i), y(p.prototype, i)), 1096 t.on(g + "-start", function (e, t) { 1097 var n = e[1]; 1098 if ( 1099 null !== n && 1100 ("function" == typeof n || "object" == typeof n) 1101 ) { 1102 var i = (0, l.X)(n, v, function () { 1103 var e = { 1104 object: function () { 1105 if ("function" != typeof n.handleEvent) return; 1106 return n.handleEvent.apply(n, arguments); 1107 }, 1108 function: n, 1109 }[typeof n]; 1110 return e ? r(e, "fn-", null, e.name || "anonymous") : n; 1111 }); 1112 this.wrapped = e[1] = i; 1113 } 1114 }), 1115 t.on(m + "-start", function (e) { 1116 e[1] = this.wrapped || e[1]; 1117 }), 1118 t 1119 ); 1120 } 1121 function y(e, t) { 1122 let r = e; 1123 for ( 1124 ; 1125 "object" == typeof r && !Object.prototype.hasOwnProperty.call(r, g); 1126 ) 1127 r = Object.getPrototypeOf(r); 1128 for ( 1129 var n = arguments.length, i = new Array(n > 2 ? n - 2 : 0), o = 2; 1130 o < n; 1131 o++ 1132 ) 1133 i[o - 2] = arguments[o]; 1134 r && t(r, ...i); 1135 } 1136 var A = "fetch-", 1137 w = A + "body-", 1138 x = ["arrayBuffer", "blob", "json", "text", "formData"], 1139 E = f._A.Request, 1140 _ = f._A.Response, 1141 T = "prototype"; 1142 const S = {}; 1143 function R(e) { 1144 const t = (function (e) { 1145 return (e || n.ee).get("fetch"); 1146 })(e); 1147 if (!(E && _ && f._A.fetch)) return t; 1148 if (S[t.debugId]++) return t; 1149 function r(e, r, i) { 1150 var o = e[r]; 1151 "function" == typeof o && 1152 (e[r] = function () { 1153 var e, 1154 r = [...arguments], 1155 a = {}; 1156 (t.emit(i + "before-start", [r], a), 1157 a[n.A] && a[n.A].dt && (e = a[n.A].dt)); 1158 var s = o.apply(this, r); 1159 return ( 1160 t.emit(i + "start", [r, e], s), 1161 s.then( 1162 function (e) { 1163 return (t.emit(i + "end", [null, e], s), e); 1164 }, 1165 function (e) { 1166 throw (t.emit(i + "end", [e], s), e); 1167 }, 1168 ) 1169 ); 1170 }); 1171 } 1172 return ( 1173 (S[t.debugId] = 1), 1174 x.forEach((e) => { 1175 (r(E[T], e, w), r(_[T], e, w)); 1176 }), 1177 r(f._A, "fetch", A), 1178 t.on(A + "end", function (e, r) { 1179 var n = this; 1180 if (r) { 1181 var i = r.headers.get("content-length"); 1182 (null !== i && (n.rxSize = i), 1183 t.emit(A + "done", [null, r], n)); 1184 } else t.emit(A + "done", [e], n); 1185 }), 1186 t 1187 ); 1188 } 1189 const D = {}, 1190 N = ["pushState", "replaceState"]; 1191 function O(e) { 1192 const t = (function (e) { 1193 return (e || n.ee).get("history"); 1194 })(e); 1195 return ( 1196 !f.il || 1197 D[t.debugId]++ || 1198 ((D[t.debugId] = 1), c(t).inPlace(window.history, N, "-")), 1199 t 1200 ); 1201 } 1202 var I = r(3239); 1203 const j = {}, 1204 C = ["appendChild", "insertBefore", "replaceChild"]; 1205 function P(e) { 1206 const t = (function (e) { 1207 return (e || n.ee).get("jsonp"); 1208 })(e); 1209 if (!f.il || j[t.debugId]) return t; 1210 j[t.debugId] = !0; 1211 var r = c(t), 1212 i = /[?&](?:callback|cb)=([^&#]+)/, 1213 o = /(.*)\\.([^.]+)/, 1214 a = /^(\\w+)(\\.|$)(.*)$/; 1215 function s(e, t) { 1216 if (!e) return t; 1217 const r = e.match(a), 1218 n = r[1]; 1219 return s(r[3], t[n]); 1220 } 1221 return (
1222 r.inPlace(Node.prototype, C, "dom-"), 1223 t.on("dom-start", function (e) { 1224 !(function (e) { 1225 if ( 1226 !e || 1227 "string" != typeof e.nodeName || 1228 "script" !== e.nodeName.toLowerCase() 1229 ) 1230 return; 1231 if ("function" != typeof e.addEventListener) return; 1232 var n = ((a = e.src), (c = a.match(i)), c ? c[1] : null); 1233 var a, c; 1234 if (!n) return; 1235 var u = (function (e) { 1236 var t = e.match(o); 1237 if (t && t.length >= 3) 1238 return { key: t[2], parent: s(t[1], window) }; 1239 return { key: e, parent: window }; 1240 })(n); 1241 if ("function" != typeof u.parent[u.key]) return; 1242 var d = {}; 1243 function l() { 1244 (t.emit("jsonp-end", [], d), 1245 e.removeEventListener("load", l, (0, I.m$)(!1)), 1246 e.removeEventListener("error", f, (0, I.m$)(!1))); 1247 } 1248 function f() { 1249 (t.emit("jsonp-error", [], d), 1250 t.emit("jsonp-end", [], d), 1251 e.removeEventListener("load", l, (0, I.m$)(!1)), 1252 e.removeEventListener("error", f, (0, I.m$)(!1))); 1253 } 1254 (r.inPlace(u.parent, [u.key], "cb-", d), 1255 e.addEventListener("load", l, (0, I.m$)(!1)), 1256 e.addEventListener("error", f, (0, I.m$)(!1)), 1257 t.emit("new-jsonp", [e.src], d)); 1258 })(e[0]); 1259 }), 1260 t 1261 ); 1262 } 1263 const k = {}; 1264 function M(e) { 1265 const t = (function (e) { 1266 return (e || n.ee).get("mutation"); 1267 })(e); 1268 if (!f.il || k[t.debugId]) return t; 1269 k[t.debugId] = !0; 1270 var r = c(t), 1271 i = f._A.MutationObserver; 1272 return ( 1273 i && 1274 ((window.MutationObserver = function (e) { 1275 return this instanceof i 1276 ? new i(r(e, "fn-")) 1277 : i.apply(this, arguments); 1278 }), 1279 (MutationObserver.prototype = i.prototype)), 1280 t 1281 ); 1282 } 1283 const H = {}; 1284 function L(e) { 1285 const t = (function (e) { 1286 return (e || n.ee).get("promise"); 1287 })(e); 1288 if (H[t.debugId]) return t; 1289 H[t.debugId] = !0; 1290 var r = t.context, 1291 i = c(t), 1292 a = f._A.Promise; 1293 return ( 1294 a && 1295 (function () { 1296 function e(r) { 1297 var n = t.context(), 1298 o = i(r, "executor-", n, null, !1); 1299 const s = Reflect.construct(a, [o], e); 1300 return ( 1301 (t.context(s).getCtx = function () { 1302 return n; 1303 }), 1304 s 1305 ); 1306 } 1307 ((f._A.Promise = e), 1308 Object.defineProperty(e, "name", { value: "Promise" }), 1309 (e.toString = function () { 1310 return a.toString(); 1311 }), 1312 Object.setPrototypeOf(e, a), 1313 ["all", "race"].forEach(function (r) { 1314 const n = a[r]; 1315 e[r] = function (e) { 1316 let i = !1;
1317 [...(e || [])].forEach((e) => { 1318 this.resolve(e).then(a("all" === r), a(!1)); 1319 }); 1320 const o = n.apply(this, arguments); 1321 return o; 1322 function a(e) { 1323 return function () { 1324 (t.emit("propagate", [null, !i], o, !1, !1), 1325 (i = i || !e)); 1326 }; 1327 } 1328 }; 1329 }), 1330 ["resolve", "reject"].forEach(function (r) { 1331 const n = a[r]; 1332 e[r] = function (e) { 1333 const r = n.apply(this, arguments); 1334 return ( 1335 e !== r && t.emit("propagate", [e, !0], r, !1, !1), 1336 r 1337 ); 1338 }; 1339 }), 1340 (e.prototype = a.prototype)); 1341 const n = a.prototype.then; 1342 ((a.prototype.then = function () { 1343 var e = this, 1344 o = r(e); 1345 o.promise = e; 1346 for ( 1347 var a = arguments.length, s = new Array(a), c = 0; 1348 c < a; 1349 c++ 1350 ) 1351 s[c] = arguments[c]; 1352 ((s[0] = i(s[0], "cb-", o, null, !1)), 1353 (s[1] = i(s[1], "cb-", o, null, !1))); 1354 const u = n.apply(this, s); 1355 return ( 1356 (o.nextPromise = u), 1357 t.emit("propagate", [e, !0], u, !1, !1), 1358 u 1359 ); 1360 }), 1361 (a.prototype.then[o] = n), 1362 t.on("executor-start", function (e) { 1363 ((e[0] = i(e[0], "resolve-", this, null, !1)), 1364 (e[1] = i(e[1], "resolve-", this, null, !1))); 1365 }), 1366 t.on("executor-err", function (e, t, r) { 1367 e[1](r); 1368 }), 1369 t.on("cb-end", function (e, r, n) { 1370 t.emit("propagate", [n, !0], this.nextPromise, !1, !1); 1371 }), 1372 t.on("propagate", function (e, r, n) { 1373 (this.getCtx && !r) || 1374 (this.getCtx = function () { 1375 if (e instanceof Promise) var r = t.context(e); 1376 return r && r.getCtx ? r.getCtx() : this; 1377 }); 1378 })); 1379 })(), 1380 t 1381 ); 1382 } 1383 const z = {}, 1384 F = "setTimeout", 1385 B = "setInterval", 1386 U = "clearTimeout", 1387 V = "-start", 1388 q = "-", 1389 G = [F, "setImmediate", B, U, "clearImmediate"]; 1390 function Z(e) { 1391 const t = (function (e) { 1392 return (e || n.ee).get("timer"); 1393 })(e); 1394 if (z[t.debugId]++) return t; 1395 z[t.debugId] = 1; 1396 var r = c(t); 1397 return ( 1398 r.inPlace(f._A, G.slice(0, 2), F + q), 1399 r.inPlace(f._A, G.slice(2, 3), B + q), 1400 r.inPlace(f._A, G.slice(3), U + q), 1401 t.on(B + V, function (e, t, n) { 1402 e[0] = r(e[0], "fn-", null, n); 1403 }), 1404 t.on(F + V, function (e, t, n) { 1405 ((this.method = n), 1406 (this.timerDuration = isNaN(e[1]) ? 0 : +e[1]), 1407 (e[0] = r(e[0], "fn-", this, n))); 1408 }), 1409 t 1410 ); 1411 } 1412 var W = r(50); 1413 const X = {}, 1414 K = ["open", "send"]; 1415 function Y(e) { 1416 var t = e || n.ee; 1417 const r = (function (e) { 1418 return (e || n.ee).get("xhr"); 1419 })(t); 1420 if (X[r.debugId]++) return r; 1421 ((X[r.debugId] = 1), b(t)); 1422 var i = c(r), 1423 o = f._A.XMLHttpRequest, 1424 a = f._A.MutationObserver, 1425 s = f._A.Promise, 1426 u = f._A.setInterval, 1427 d = "readystatechange", 1428 l = [ 1429 "onload", 1430 "onerror", 1431 "onabort", 1432 "onloadstart", 1433 "onloadend", 1434 "onprogress", 1435 "ontimeout", 1436 ], 1437 h = [], 1438 p = (f._A.XMLHttpRequest = function (e) { 1439 const t = new o(e), 1440 n = r.context(t); 1441 try { 1442 (r.emit("new-xhr", [t], n), 1443 t.addEventListener( 1444 d, 1445 ((a = n), 1446 function () { 1447 var e = this; 1448 (e.readyState > 3 && 1449 !a.resolved && 1450 ((a.resolved = !0), r.emit("xhr-resolved", [], e)), 1451 i.inPlace(e, l, "fn-", w)); 1452 }), 1453 (0, I.m$)(!1), 1454 )); 1455 } catch (e) { 1456 (0, W.Z)("An error occurred while intercepting XHR", e); 1457 try { 1458 r.emit("internal-error", [e]); 1459 } catch (e) {} 1460 } 1461 var a; 1462 return t; 1463 }); 1464 function g(e, t) { 1465 i.inPlace(t, ["onreadystatechange"], "fn-", w); 1466 } 1467 if ( 1468 ((function (e, t) { 1469 for (var r in e) t[r] = e[r]; 1470 })(o, p), 1471 (p.prototype = o.prototype), 1472 i.inPlace(p.prototype, K, "-xhr-", w), 1473 r.on("send-xhr-start", function (e, t) { 1474 (g(e, t), 1475 (function (e) { 1476 (h.push(e), 1477 a && (m ? m.then(A) : u ? u(A) : ((v = -v), (y.data = v)))); 1478 })(t)); 1479 }), 1480 r.on("open-xhr-start", g), 1481 a) 1482 ) { 1483 var m = s && s.resolve(); 1484 if (!u && !s) { 1485 var v = 1, 1486 y = document.createTextNode(v); 1487 new a(A).observe(y, { characterData: !0 }); 1488 } 1489 } else 1490 t.on("fn-end", function (e) { 1491 (e[0] && e[0].type === d) || A(); 1492 }); 1493 function A() { 1494 for (var e = 0; e < h.length; e++) g(0, h[e]); 1495 h.length && (h = []); 1496 } 1497 function w(e, t) { 1498 return t; 1499 } 1500 return r; 1501 } 1502 }, 1503 7825: (e, t, r) => { 1504 "use strict"; 1505 r.d(t, { t: () => n }); 1506 const n = r(3325).D.ajax; 1507 }, 1508 6660: (e, t, r) => { 1509 "use strict"; 1510 r.d(t, { t: () => n }); 1511 const n = r(3325).D.jserrors; 1512 }, 1513 3081: (e, t, r) => { 1514 "use strict"; 1515 r.d(t, { 1516 gF: () => o, 1517 mY: () => i, 1518 t9: () => n, 1519 vz: () => s, 1520 xS: () => a, 1521 }); 1522 const n = r(3325).D.metrics, 1523 i = "sm", 1524 o = "cm", 1525 a = "storeSupportabilityMetrics", 1526 s = "storeEventMetrics"; 1527 }, 1528 4649: (e, t, r) => { 1529 "use strict"; 1530 r.d(t, { t: () => n }); 1531 const n = r(3325).D.pageAction; 1532 }, 1533 7633: (e, t, r) => { 1534 "use strict"; 1535 r.d(t, { t: () => n }); 1536 const n = r(3325).D.pageViewEvent; 1537 }, 1538 9251: (e, t, r) => { 1539 "use strict"; 1540 r.d(t, { t: () => n }); 1541 const n = r(3325).D.pageViewTiming; 1542 }, 1543 7144: (e, t, r) => { 1544 "use strict"; 1545 r.d(t, { 1546 J0: () => l, 1547 Mi: () => d, 1548 Vb: () => o, 1549 Ye: () => s, 1550 fm: () => c, 1551 i9: () => a, 1552 t9: () => i, 1553 u0: () => u, 1554 }); 1555 var n = r(7056); 1556 const i = r(3325).D.sessionReplay, 1557 o = 0.12, 1558 a = { 1559 DomContentLoaded: 0, 1560 Load: 1, 1561 FullSnapshot: 2, 1562 IncrementalSnapshot: 3, 1563 Meta: 4, 1564 Custom: 5, 1565 }, 1566 s = 1e6, 1567 c = 64e3, 1568 u = { [n.IK.ERROR]: 15e3, [n.IK.FULL]: 3e5, [n.IK.OFF]: 0 }, 1569 d = { 1570 RESET: { message: "Session was reset", sm: "Reset" }, 1571 IMPORT: { message: "Recorder failed to import", sm: "Import" }, 1572 TOO_MANY: { message: "429: Too Many Requests", sm: "Too-Many" }, 1573 TOO_BIG: { message: "Payload was too large", sm: "Too-Big" }, 1574 CROSS_TAB: { 1575 message: "Session Entity was set to OFF on another tab", 1576 sm: "Cross-Tab", 1577 }, 1578 ENTITLEMENTS: { 1579 message: "Session Replay is not allowed and will not be started", 1580 sm: "Entitlement", 1581 }, 1582 }, 1583 l = 5e3; 1584 }, 1585 3614: (e, t, r) => { 1586 "use strict"; 1587 r.d(t, { 1588 BST_RESOURCE: () => i, 1589 END: () => s, 1590 FEATURE_NAME: () => n, 1591 FN_END: () => u, 1592 FN_START: () => c, 1593 PUSH_STATE: () => d, 1594 RESOURCE: () => o, 1595 START: () => a, 1596 }); 1597 const n = r(3325).D.sessionTrace, 1598 i = "bstResource", 1599 o = "resource", 1600 a = "-start", 1601 s = "-end", 1602 c = "fn" + a, 1603 u = "fn" + s, 1604 d = "pushState"; 1605 }, 1606 7836: (e, t, r) => { 1607 "use strict"; 1608 r.d(t, { 1609 BODY: () => x, 1610 CB_END: () => E, 1611 CB_START: () => u, 1612 END: () => w, 1613 FEATURE_NAME: () => i, 1614 FETCH: () => T, 1615 FETCH_BODY: () => v, 1616 FETCH_DONE: () => m, 1617 FETCH_START: () => g, 1618 FN_END: () => c, 1619 FN_START: () => s, 1620 INTERACTION: () => f, 1621 INTERACTION_API: () => d, 1622 INTERACTION_EVENTS: () => o, 1623 JSONP_END: () => b, 1624 JSONP_NODE: () => p, 1625 JS_TIME: () => _, 1626 MAX_TIMER_BUDGET: () => a, 1627 REMAINING: () => l, 1628 SPA_NODE: () => h,
1629 START: () => A, 1630 originalSetTimeout: () => y, 1631 }); 1632 var n = r(234); 1633 const i = r(3325).D.spa, 1634 o = ["click", "submit", "keypress", "keydown", "keyup", "change"], 1635 a = 999, 1636 s = "fn-start", 1637 c = "fn-end", 1638 u = "cb-start", 1639 d = "api-ixn-", 1640 l = "remaining", 1641 f = "interaction", 1642 h = "spaNode", 1643 p = "jsonpNode", 1644 g = "fetch-start", 1645 m = "fetch-done", 1646 v = "fetch-body-", 1647 b = "jsonp-end", 1648 y = n.Yu.ST, 1649 A = "-start", 1650 w = "-end", 1651 x = "-body", 1652 E = "cb" + w, 1653 _ = "jsTime", 1654 T = "fetch"; 1655 }, 1656 5938: (e, t, r) => { 1657 "use strict"; 1658 r.d(t, { W: () => i }); 1659 var n = r(8325); 1660 class i { 1661 constructor(e, t, r) { 1662 ((this.agentIdentifier = e), 1663 (this.aggregator = t), 1664 (this.ee = n.ee.get(e)), 1665 (this.featureName = r), 1666 (this.blocked = !1)); 1667 } 1668 } 1669 }, 1670 7530: (e, t, r) => { 1671 "use strict"; 1672 r.d(t, { j: () => b }); 1673 var n = r(3325), 1674 i = r(234), 1675 o = r(5546), 1676 a = r(8325), 1677 s = r(7894), 1678 c = r(8e3), 1679 u = r(3960), 1680 d = r(385), 1681 l = r(50), 1682 f = r(3081), 1683 h = r(8632); 1684 function p() { 1685 const e = (0, h.gG)(); 1686 [ 1687 "setErrorHandler", 1688 "finished", 1689 "addToTrace", 1690 "addRelease", 1691 "addPageAction", 1692 "setCurrentRouteName", 1693 "setPageViewName", 1694 "setCustomAttribute", 1695 "interaction", 1696 "noticeError", 1697 "setUserId", 1698 "setApplicationVersion", 1699 "start", 1700 "recordReplay", 1701 "pauseReplay", 1702 ].forEach((t) => { 1703 e[t] = function () { 1704 for ( 1705 var r = arguments.length, n = new Array(r), i = 0; 1706 i < r; 1707 i++ 1708 ) 1709 n[i] = arguments[i]; 1710 return (function (t) { 1711 for ( 1712 var r = arguments.length, 1713 n = new Array(r > 1 ? r - 1 : 0), 1714 i = 1; 1715 i < r; 1716 i++ 1717 ) 1718 n[i - 1] = arguments[i]; 1719 let o = []; 1720 return ( 1721 Object.values(e.initializedAgents).forEach((e) => { 1722 e.exposed && e.api[t] && o.push(e.api[t](...n)); 1723 }), 1724 o.length > 1 ? o : o[0] 1725 ); 1726 })(t, ...n); 1727 }; 1728 }); 1729 } 1730 var g = r(2825); 1731 const m = (e) => { 1732 const t = e.startsWith("http"); 1733 ((e += "/"), (r.p = t ? e : "https://" + e)); 1734 }; 1735 let v = !1; 1736 function b(e) { 1737 let t = 1738 arguments.length > 1 && void 0 !== arguments[1] 1739 ? arguments[1] 1740 : {}, 1741 b = arguments.length > 2 ? arguments[2] : void 0, 1742 y = arguments.length > 3 ? arguments[3] : void 0, 1743 { 1744 init: A, 1745 info: w, 1746 loader_config: x, 1747 runtime: E = { loaderType: b }, 1748 exposed: _ = !0, 1749 } = t; 1750 const T = (0, h.gG)(); 1751 (w || ((A = T.init), (w = T.info), (x = T.loader_config)), 1752 (0, i.Dg)(e.agentIdentifier, A || {}), 1753 (0, i.GE)(e.agentIdentifier, x || {}), 1754 (w.jsAttributes ??= {}), 1755 d.v6 && (w.jsAttributes.isWorker = !0), 1756 (0, i.CX)(e.agentIdentifier, w)); 1757 const S = (0, i.P_)(e.agentIdentifier), 1758 R = [w.beacon, w.errorBeacon]; 1759 (v || 1760 (S.proxy.assets && (m(S.proxy.assets), R.push(S.proxy.assets)), 1761 S.proxy.beacon && R.push(S.proxy.beacon), 1762 p(), 1763 (0, h.EZ)("activatedFeatures", g.T)), 1764 (E.denyList = [ 1765 ...(S.ajax.deny_list || []), 1766 ...(S.ajax.block_internal ? R : []), 1767 ]), 1768 (0, i.sU)(e.agentIdentifier, E), 1769 void 0 === e.api && 1770 (e.api = (function (e, t) { 1771 t || (0, c.R)(e, "api"); 1772 const h = {}; 1773 var p = a.ee.get(e), 1774 g = p.get("tracer"), 1775 m = "api-", 1776 v = m + "ixn-"; 1777 function b(t, r, n, o) { 1778 const a = (0, i.C5)(e); 1779 return ( 1780 null === r 1781 ? delete a.jsAttributes[t] 1782 : (0, i.CX)(e, { 1783 ...a, 1784 jsAttributes: { ...a.jsAttributes, [t]: r }, 1785 }), 1786 w(m, n, !0, o || null === r ? "session" : void 0)(t, r) 1787 ); 1788 } 1789 function y() {} 1790 ([ 1791 "setErrorHandler", 1792 "finished", 1793 "addToTrace", 1794 "addRelease", 1795 ].forEach((e) => { 1796 h[e] = w(m, e, !0, "api"); 1797 }), 1798 (h.addPageAction = w(m, "addPageAction", !0, n.D.pageAction)), 1799 (h.setCurrentRouteName = w(m, "routeName", !0, n.D.spa)), 1800 (h.setPageViewName = function (t, r) { 1801 if ("string" == typeof t) 1802 return ( 1803 "/" !== t.charAt(0) && (t = "/" + t), 1804 ((0, i.OP)(e).customTransaction = 1805 (r || "http://custom.transaction") + t), 1806 w(m, "setPageViewName", !0)() 1807 ); 1808 }), 1809 (h.setCustomAttribute = function (e, t) { 1810 let r = 1811 arguments.length > 2 && 1812 void 0 !== arguments[2] && 1813 arguments[2]; 1814 if ("string" == typeof e) { 1815 if ( 1816 ["string", "number", "boolean"].includes(typeof t) || 1817 null === t 1818 ) 1819 return b(e, t, "setCustomAttribute", r); 1820 (0, l.Z)( 1821 "Failed to execute setCustomAttribute.\\nNon-null value must be a string, number or boolean type, but a type of <".concat( 1822 typeof t, 1823 "> was provided.", 1824 ), 1825 ); 1826 } else 1827 (0, l.Z)( 1828 "Failed to execute setCustomAttribute.\\nName must be a string type, but a type of <".concat( 1829 typeof e, 1830 "> was provided.", 1831 ), 1832 ); 1833 }), 1834 (h.setUserId = function (e) { 1835 if ("string" == typeof e || null === e) 1836 return b("enduser.id", e, "setUserId", !0); 1837 (0, l.Z)( 1838 "Failed to execute setUserId.\\nNon-null value must be a string type, but a type of <".concat( 1839 typeof e, 1840 "> was provided.", 1841 ), 1842 ); 1843 }), 1844 (h.setApplicationVersion = function (e) { 1845 if ("string" == typeof e || null === e) 1846 return b( 1847 "application.version", 1848 e, 1849 "setApplicationVersion", 1850 !1, 1851 ); 1852 (0, l.Z)( 1853 "Failed to execute setApplicationVersion. Expected <String | null>, but got <".concat( 1854 typeof e, 1855 ">.", 1856 ), 1857 ); 1858 }), 1859 (h.start = (e) => { 1860 try { 1861 const t = e ? "defined" : "undefined"; 1862 (0, o.p)( 1863 f.xS, 1864 ["API/start/".concat(t, "/called")], 1865 void 0, 1866 n.D.metrics, 1867 p, 1868 ); 1869 const r = Object.values(n.D); 1870 if (void 0 === e) e = r; 1871 else { 1872 if ( 1873 (e = Array.isArray(e) && e.length ? e : [e]).some( 1874 (e) => !r.includes(e), 1875 ) 1876 ) 1877 return (0, l.Z)( 1878 "Invalid feature name supplied. Acceptable feature names are: ".concat( 1879 r, 1880 ), 1881 ); 1882 e.includes(n.D.pageViewEvent) || 1883 e.push(n.D.pageViewEvent); 1884 } 1885 e.forEach((e) => {
1886 p.emit("".concat(e, "-opt-in")); 1887 }); 1888 } catch (e) { 1889 (0, l.Z)("An unexpected issue occurred", e); 1890 } 1891 }), 1892 (h.recordReplay = function () { 1893 ((0, o.p)( 1894 f.xS, 1895 ["API/recordReplay/called"], 1896 void 0, 1897 n.D.metrics, 1898 p, 1899 ), 1900 (0, o.p)( 1901 "recordReplay", 1902 [], 1903 void 0, 1904 n.D.sessionReplay, 1905 p, 1906 )); 1907 }), 1908 (h.pauseReplay = function () { 1909 ((0, o.p)( 1910 f.xS, 1911 ["API/pauseReplay/called"], 1912 void 0, 1913 n.D.metrics, 1914 p, 1915 ), 1916 (0, o.p)( 1917 "pauseReplay", 1918 [], 1919 void 0, 1920 n.D.sessionReplay, 1921 p, 1922 )); 1923 }), 1924 (h.interaction = function () { 1925 return new y().get(); 1926 })); 1927 var A = (y.prototype = { 1928 createTracer: function (e, t) { 1929 var r = {}, 1930 i = this, 1931 a = "function" == typeof t; 1932 return ( 1933 (0, o.p)( 1934 f.xS, 1935 ["API/createTracer/called"], 1936 void 0, 1937 n.D.metrics, 1938 p, 1939 ), 1940 (0, o.p)(v + "tracer", [(0, s.z)(), e, r], i, n.D.spa, p), 1941 function () { 1942 if ( 1943 (g.emit( 1944 (a ? "" : "no-") + "fn-start", 1945 [(0, s.z)(), i, a], 1946 r, 1947 ), 1948 a) 1949 ) 1950 try { 1951 return t.apply(this, arguments); 1952 } catch (e) { 1953 throw ( 1954 g.emit("fn-err", [arguments, this, e], r), 1955 e 1956 ); 1957 } finally { 1958 g.emit("fn-end", [(0, s.z)()], r); 1959 } 1960 } 1961 ); 1962 }, 1963 }); 1964 function w(e, t, r, i) { 1965 return function () { 1966 return ( 1967 (0, o.p)( 1968 f.xS, 1969 ["API/" + t + "/called"], 1970 void 0, 1971 n.D.metrics, 1972 p, 1973 ), 1974 i && 1975 (0, o.p)( 1976 e + t, 1977 [(0, s.z)(), ...arguments], 1978 r ? null : this, 1979 i, 1980 p, 1981 ), 1982 r ? void 0 : this 1983 ); 1984 }; 1985 } 1986 function x() { 1987 r.e(111) 1988 .then(r.bind(r, 7438)) 1989 .then((t) => { 1990 let { setAPI: r } = t; 1991 (r(e), (0, c.L)(e, "api")); 1992 }) 1993 .catch(() => { 1994 ((0, l.Z)("Downloading runtime APIs failed..."), 1995 (0, c.L)(e, "api", !0)); 1996 }); 1997 } 1998 return ( 1999 [ 2000 "actionText", 2001 "setName", 2002 "setAttribute", 2003 "save", 2004 "ignore", 2005 "onEnd", 2006 "getContext", 2007 "end", 2008 "get", 2009 ].forEach((e) => { 2010 A[e] = w(v, e, void 0, n.D.spa); 2011 }), 2012 (h.noticeError = function (e, t) { 2013 ("string" == typeof e && (e = new Error(e)), 2014 (0, o.p)( 2015 f.xS, 2016 ["API/noticeError/called"], 2017 void 0, 2018 n.D.metrics, 2019 p, 2020 ), 2021 (0, o.p)( 2022 "err", 2023 [e, (0, s.z)(), !1, t], 2024 void 0, 2025 n.D.jserrors, 2026 p, 2027 )); 2028 }), 2029 d.il ? (0, u.b2)(() => x(), !0) : x(), 2030 h 2031 ); 2032 })(e.agentIdentifier, y)), 2033 void 0 === e.exposed && (e.exposed = _), 2034 (v = !0)); 2035 } 2036 }, 2037 1926: (e, t, r) => { 2038 r.nc = (() => { 2039 try { 2040 return document?.currentScript?.nonce; 2041 } catch (e) {} 2042 return ""; 2043 })(); 2044 }, 2045 3325: (e, t, r) => { 2046 "use strict"; 2047 r.d(t, { D: () => n, p: () => i }); 2048 const n = { 2049 ajax: "ajax", 2050 jserrors: "jserrors", 2051 metrics: "metrics", 2052 pageAction: "page_action", 2053 pageViewEvent: "page_view_event", 2054 pageViewTiming: "page_view_timing", 2055 sessionReplay: "session_replay", 2056 sessionTrace: "session_trace", 2057 spa: "spa", 2058 }, 2059 i = { 2060 [n.pageViewEvent]: 1, 2061 [n.pageViewTiming]: 2, 2062 [n.metrics]: 3, 2063 [n.jserrors]: 4, 2064 [n.ajax]: 5, 2065 [n.sessionTrace]: 6, 2066 [n.pageAction]: 7, 2067 [n.spa]: 8, 2068 [n.sessionReplay]: 9, 2069 }; 2070 }, 2071 }, 2072 n = {}; 2073 function i(e) { 2074 var t = n[e]; 2075 if (void 0 !== t) return t.exports; 2076 var o = (n[e] = { exports: {} });
2077 return (r[e](o, o.exports, i), o.exports); 2078 } 2079 ((i.m = r), 2080 (i.d = (e, t) => { 2081 for (var r in t) 2082 i.o(t, r) && 2083 !i.o(e, r) && 2084 Object.defineProperty(e, r, { enumerable: !0, get: t[r] }); 2085 }), 2086 (i.f = {}), 2087 (i.e = (e) => 2088 Promise.all(Object.keys(i.f).reduce((t, r) => (i.f[r](e, t), t), []))), 2089 (i.u = (e) => 2090 ({ 111: "nr-spa", 164: "nr-spa-compressor", 433: "nr-spa-recorder" })[e] + 2091 "-1.252.0.min.js"), 2092 (i.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)), 2093 (e = {}), 2094 (t = "NRBA-1.252.0.PROD:"), 2095 (i.l = (r, n, o, a) => { 2096 if (e[r]) e[r].push(n); 2097 else { 2098 var s, c; 2099 if (void 0 !== o) 2100 for ( 2101 var u = document.getElementsByTagName("script"), d = 0; 2102 d < u.length; 2103 d++ 2104 ) { 2105 var l = u[d]; 2106 if ( 2107 l.getAttribute("src") == r || 2108 l.getAttribute("data-webpack") == t + o 2109 ) { 2110 s = l; 2111 break; 2112 } 2113 } 2114 if (!s) { 2115 c = !0; 2116 var f = { 2117 111: "sha512-EIHTFh/PyMHLspjr+lbpdxFHzJXOF7HH8nedLZZTJSO0SyJ4rECM57ibYM67sib1O2FH0nhyrm4QKgl30mtD8w==", 2118 433: "sha512-wCJ0jwoj4FyJOrl6z7VLilNolSSxqqm/5L08FBzY2sXjVPFpnyu6p3obblBOv9lj2u9awQrvcEGqvjyYflheow==", 2119 164: "sha512-we5lwLCaVV8XgmWsFLhIuQ0Ja0mW9HH9YHLBzjhalvM84n3Rpvmg1iFz7BOZeYnHrjU5dcWOHrtqxvdjDNy2ag==", 2120 }; 2121 (((s = document.createElement("script")).charset = "utf-8"), 2122 (s.timeout = 120), 2123 i.nc && s.setAttribute("nonce", i.nc), 2124 s.setAttribute("data-webpack", t + o), 2125 (s.src = r), 2126 0 !== s.src.indexOf(window.location.origin + "/") && 2127 (s.crossOrigin = "anonymous"), 2128 f[a] && (s.integrity = f[a])); 2129 } 2130 e[r] = [n]; 2131 var h = (t, n) => { 2132 ((s.onerror = s.onload = null), clearTimeout(p)); 2133 var i = e[r]; 2134 if ( 2135 (delete e[r], 2136 s.parentNode && s.parentNode.removeChild(s), 2137 i && i.forEach((e) => e(n)), 2138 t) 2139 ) 2140 return t(n); 2141 }, 2142 p = setTimeout( 2143 h.bind(null, void 0, { type: "timeout", target: s }), 2144 12e4, 2145 ); 2146 ((s.onerror = h.bind(null, s.onerror)), 2147 (s.onload = h.bind(null, s.onload)), 2148 c && document.head.appendChild(s)); 2149 } 2150 }), 2151 (i.r = (e) => { 2152 ("undefined" != typeof Symbol && 2153 Symbol.toStringTag && 2154 Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), 2155 Object.defineProperty(e, "__esModule", { value: !0 })); 2156 }), 2157 (i.p = "https://js-agent.newrelic.com/"), 2158 (() => { 2159 var e = { 801: 0, 92: 0 }; 2160 i.f.j = (t, r) => { 2161 var n = i.o(e, t) ? e[t] : void 0; 2162 if (0 !== n) 2163 if (n) r.push(n[2]); 2164 else { 2165 var o = new Promise((r, i) => (n = e[t] = [r, i])); 2166 r.push((n[2] = o)); 2167 var a = i.p + i.u(t), 2168 s = new Error(); 2169 i.l( 2170 a, 2171 (r) => { 2172 if (i.o(e, t) && (0 !== (n = e[t]) && (e[t] = void 0), n)) { 2173 var o = r && ("load" === r.type ? "missing" : r.type), 2174 a = r && r.target && r.target.src; 2175 ((s.message = 2176 "Loading chunk " + t + " failed.\\n(" + o + ": " + a + ")"), 2177 (s.name = "ChunkLoadError"), 2178 (s.type = o), 2179 (s.request = a), 2180 n[1](s)); 2181 } 2182 }, 2183 "chunk-" + t, 2184 t, 2185 ); 2186 } 2187 }; 2188 var t = (t, r) => { 2189 var n, 2190 o, 2191 [a, s, c] = r, 2192 u = 0; 2193 if (a.some((t) => 0 !== e[t])) { 2194 for (n in s) i.o(s, n) && (i.m[n] = s[n]); 2195 if (c) c(i); 2196 } 2197 for (t && t(r); u < a.length; u++) 2198 ((o = a[u]), i.o(e, o) && e[o] && e[o][0](), (e[o] = 0)); 2199 }, 2200 r = (self["webpackChunk:NRBA-1.252.0.PROD"] = 2201 self["webpackChunk:NRBA-1.252.0.PROD"] || []); 2202 (r.forEach(t.bind(null, 0)), (r.push = t.bind(null, r.push.bind(r)))); 2203 })(), 2204 (() => { 2205 "use strict"; 2206 i(1926); 2207 var e = i(50); 2208 class t { 2209 #e(t) { 2210 for ( 2211 var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; 2212 i < r; 2213 i++ 2214 ) 2215 n[i - 1] = arguments[i]; 2216 if ("function" == typeof this.api?.[t]) return this.api[t](...n); 2217 (0, e.Z)( 2218 "Call to agent api ".concat( 2219 t, 2220 " failed. The API is not currently initialized.", 2221 ), 2222 ); 2223 } 2224 addPageAction(e, t) { 2225 return this.#e("addPageAction", e, t); 2226 } 2227 setPageViewName(e, t) { 2228 return this.#e("setPageViewName", e, t); 2229 } 2230 setCustomAttribute(e, t, r) { 2231 return this.#e("setCustomAttribute", e, t, r); 2232 } 2233 noticeError(e, t) { 2234 return this.#e("noticeError", e, t); 2235 } 2236 setUserId(e) { 2237 return this.#e("setUserId", e); 2238 } 2239 setApplicationVersion(e) { 2240 return this.#e("setApplicationVersion", e); 2241 } 2242 setErrorHandler(e) { 2243 return this.#e("setErrorHandler", e); 2244 } 2245 finished(e) { 2246 return this.#e("finished", e); 2247 } 2248 addRelease(e, t) { 2249 return this.#e("addRelease", e, t); 2250 } 2251 start(e) { 2252 return this.#e("start", e); 2253 } 2254 recordReplay() { 2255 return this.#e("recordReplay"); 2256 } 2257 pauseReplay() { 2258 return this.#e("pauseReplay"); 2259 } 2260 addToTrace(e) { 2261 return this.#e("addToTrace", e); 2262 } 2263 setCurrentRouteName(e) { 2264 return this.#e("setCurrentRouteName", e); 2265 } 2266 interaction() { 2267 return this.#e("interaction"); 2268 } 2269 } 2270 var r = i(3325), 2271 n = i(234); 2272 const o = Object.values(r.D); 2273 function a(e) { 2274 const t = {}; 2275 return ( 2276 o.forEach((r) => { 2277 t[r] = (function (e, t) { 2278 return !1 !== (0, n.Mt)(t, "".concat(e, ".enabled")); 2279 })(r, e); 2280 }), 2281 t 2282 ); 2283 } 2284 var s = i(7530); 2285 var c = i(8e3), 2286 u = i(5938), 2287 d = i(3960), 2288 l = i(385); 2289 class f extends u.W { 2290 constructor(e, t, r) { 2291 let i = 2292 !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]; 2293 (super(e, t, r), 2294 (this.auto = i), 2295 (this.abortHandler = void 0), 2296 (this.featAggregate = void 0), 2297 (this.onAggregateImported = void 0), 2298 !1 === 2299 (0, n.Mt)( 2300 this.agentIdentifier, 2301 "".concat(this.featureName, ".autoStart"), 2302 ) && (this.auto = !1), 2303 this.auto && (0, c.R)(e, r)); 2304 } 2305 importAggregator() { 2306 let t = 2307 arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; 2308 if (this.featAggregate) return; 2309 if (!this.auto) 2310 return void this.ee.on( 2311 "".concat(this.featureName, "-opt-in"), 2312 () => { 2313 ((0, c.R)(this.agentIdentifier, this.featureName), 2314 (this.auto = !0), 2315 this.importAggregator()); 2316 }, 2317 ); 2318 const r = 2319 l.il && 2320 !0 === (0, n.Mt)(this.agentIdentifier, "privacy.cookies_enabled"); 2321 let o; 2322 this.onAggregateImported = new Promise((e) => { 2323 o = e; 2324 }); 2325 const a = async () => { 2326 let n; 2327 try { 2328 if (r) { 2329 const { setupAgentSession: e } = await i 2330 .e(111) 2331 .then(i.bind(i, 1656)); 2332 n = e(this.agentIdentifier); 2333 } 2334 } catch (t) { 2335 (0, e.Z)( 2336 "A problem occurred when starting up session manager. This page will not start or extend any session.", 2337 t, 2338 ); 2339 } 2340 try { 2341 if (!this.shouldImportAgg(this.featureName, n)) 2342 return ( 2343 (0, c.L)(this.agentIdentifier, this.featureName), 2344 void o(!1) 2345 ); 2346 const { lazyFeatureLoader: e } = await i 2347 .e(111) 2348 .then(i.bind(i, 8582)), 2349 { Aggregate: r } = await e(this.featureName, "aggregate"); 2350 ((this.featAggregate = new r( 2351 this.agentIdentifier, 2352 this.aggregator, 2353 t, 2354 )), 2355 o(!0)); 2356 } catch (t) { 2357 ((0, e.Z)( 2358 "Downloading and initializing ".concat( 2359 this.featureName, 2360 " failed...", 2361 ), 2362 t, 2363 ), 2364 this.abortHandler?.(), 2365 (0, c.L)(this.agentIdentifier, this.featureName, !0), 2366 o(!1)); 2367 } 2368 }; 2369 l.il ? (0, d.b2)(() => a(), !0) : a(); 2370 } 2371 shouldImportAgg(e, t) { 2372 return ( 2373 e !== r.D.sessionReplay || 2374 (!!n.Yu.MO && 2375 !1 !== (0, n.Mt)(this.agentIdentifier, "session_trace.enabled") && 2376 (!!t?.isNew || !!t?.state.sessionReplayMode)) 2377 ); 2378 } 2379 } 2380 var h = i(7633); 2381 class p extends f { 2382 static featureName = h.t; 2383 constructor(e, t) { 2384 let r = 2385 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 2386 (super(e, t, h.t, r), this.importAggregator()); 2387 } 2388 } 2389 var g = i(1117), 2390 m = i(1284); 2391 class v extends g.w { 2392 constructor(e) { 2393 (super(e), (this.aggregatedData = {})); 2394 } 2395 store(e, t, r, n, i) { 2396 var o = this.getBucket(e, t, r, i); 2397 return ( 2398 (o.metrics = (function (e, t) { 2399 t || (t = { count: 0 }); 2400 return ( 2401 (t.count += 1), 2402 (0, m.D)(e, function (e, r) { 2403 t[e] = b(r, t[e]); 2404 }), 2405 t 2406 ); 2407 })(n, o.metrics)), 2408 o 2409 ); 2410 } 2411 merge(e, t, r, n, i) { 2412 var o = this.getBucket(e, t, n, i); 2413 if (o.metrics) { 2414 var a = o.metrics; 2415 ((a.count += r.count), 2416 (0, m.D)(r, function (e, t) { 2417 if ("count" !== e) { 2418 var n = a[e], 2419 i = r[e]; 2420 i && !i.c 2421 ? (a[e] = b(i.t, n)) 2422 : (a[e] = (function (e, t) { 2423 if (!t) return e; 2424 t.c || (t = y(t.t)); 2425 return ( 2426 (t.min = Math.min(e.min, t.min)), 2427 (t.max = Math.max(e.max, t.max)), 2428 (t.t += e.t), 2429 (t.sos += e.sos), 2430 (t.c += e.c), 2431 t 2432 ); 2433 })(i, a[e])); 2434 } 2435 })); 2436 } else o.metrics = r; 2437 } 2438 storeMetric(e, t, r, n) { 2439 var i = this.getBucket(e, t, r);
2440 return ((i.stats = b(n, i.stats)), i); 2441 } 2442 getBucket(e, t, r, n) { 2443 this.aggregatedData[e] || (this.aggregatedData[e] = {}); 2444 var i = this.aggregatedData[e][t]; 2445 return ( 2446 i || 2447 ((i = this.aggregatedData[e][t] = { params: r || {} }), 2448 n && (i.custom = n)), 2449 i 2450 ); 2451 } 2452 get(e, t) { 2453 return t 2454 ? this.aggregatedData[e] && this.aggregatedData[e][t] 2455 : this.aggregatedData[e]; 2456 } 2457 take(e) { 2458 for (var t = {}, r = "", n = !1, i = 0; i < e.length; i++) 2459 ((t[(r = e[i])] = A(this.aggregatedData[r])), 2460 t[r].length && (n = !0), 2461 delete this.aggregatedData[r]); 2462 return n ? t : null; 2463 } 2464 } 2465 function b(e, t) { 2466 return null == e 2467 ? (function (e) { 2468 e ? e.c++ : (e = { c: 1 }); 2469 return e; 2470 })(t) 2471 : t 2472 ? (t.c || (t = y(t.t)), 2473 (t.c += 1), 2474 (t.t += e), 2475 (t.sos += e * e), 2476 e > t.max && (t.max = e), 2477 e < t.min && (t.min = e), 2478 t) 2479 : { t: e }; 2480 } 2481 function y(e) { 2482 return { t: e, min: e, max: e, sos: e * e, c: 1 }; 2483 } 2484 function A(e) { 2485 return "object" != typeof e ? [] : (0, m.D)(e, w); 2486 } 2487 function w(e, t) { 2488 return t; 2489 } 2490 var x = i(8632), 2491 E = i(4402), 2492 _ = i(4351); 2493 var T = i(5546), 2494 S = i(7956), 2495 R = i(3239), 2496 D = i(7894), 2497 N = i(9251); 2498 class O extends f { 2499 static featureName = N.t; 2500 constructor(e, t) { 2501 let r = 2502 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 2503 (super(e, t, N.t, r), 2504 l.il && 2505 ((0, S.N)( 2506 () => (0, T.p)("docHidden", [(0, D.z)()], void 0, N.t, this.ee), 2507 !0, 2508 ), 2509 (0, R.bP)("pagehide", () => 2510 (0, T.p)("winPagehide", [(0, D.z)()], void 0, N.t, this.ee), 2511 ), 2512 this.importAggregator())); 2513 } 2514 } 2515 var I = i(3081); 2516 class j extends f { 2517 static featureName = I.t9; 2518 constructor(e, t) { 2519 let r = 2520 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 2521 (super(e, t, I.t9, r), this.importAggregator()); 2522 } 2523 } 2524 var C = i(6660); 2525 class P { 2526 constructor(e, t, r, n) { 2527 ((this.name = "UncaughtError"), 2528 (this.message = e), 2529 (this.sourceURL = t), 2530 (this.line = r), 2531 (this.column = n)); 2532 } 2533 } 2534 class k extends f { 2535 static featureName = C.t; 2536 #t = new Set(); 2537 constructor(e, t) { 2538 let n = 2539 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 2540 super(e, t, C.t, n); 2541 try { 2542 this.removeOnAbort = new AbortController(); 2543 } catch (e) {} 2544 (this.ee.on("fn-err", (e, t, n) => { 2545 this.abortHandler && 2546 !this.#t.has(n) && 2547 (this.#t.add(n), 2548 (0, T.p)( 2549 "err", 2550 [this.#r(n), (0, D.z)()], 2551 void 0, 2552 r.D.jserrors, 2553 this.ee, 2554 )); 2555 }), 2556 this.ee.on("internal-error", (e) => { 2557 this.abortHandler && 2558 (0, T.p)( 2559 "ierr", 2560 [this.#r(e), (0, D.z)(), !0], 2561 void 0, 2562 r.D.jserrors, 2563 this.ee, 2564 ); 2565 }), 2566 l._A.addEventListener( 2567 "unhandledrejection", 2568 (e) => { 2569 this.abortHandler && 2570 (0, T.p)( 2571 "err", 2572 [ 2573 this.#n(e), 2574 (0, D.z)(), 2575 !1, 2576 { unhandledPromiseRejection: 1 }, 2577 ], 2578 void 0, 2579 r.D.jserrors, 2580 this.ee, 2581 ); 2582 }, 2583 (0, R.m$)(!1, this.removeOnAbort?.signal), 2584 ), 2585 l._A.addEventListener( 2586 "error", 2587 (e) => { 2588 this.abortHandler && 2589 (this.#t.has(e.error) 2590 ? this.#t.delete(e.error) 2591 : (0, T.p)( 2592 "err", 2593 [this.#i(e), (0, D.z)()], 2594 void 0, 2595 r.D.jserrors, 2596 this.ee, 2597 )); 2598 }, 2599 (0, R.m$)(!1, this.removeOnAbort?.signal), 2600 ), 2601 (this.abortHandler = this.#o), 2602 this.importAggregator()); 2603 } 2604 #o() { 2605 (this.removeOnAbort?.abort(), 2606 this.#t.clear(), 2607 (this.abortHandler = void 0)); 2608 } 2609 #r(e) { 2610 return e instanceof Error 2611 ? e 2612 : void 0 !== e?.message 2613 ? new P( 2614 e.message, 2615 e.filename || e.sourceURL, 2616 e.lineno || e.line, 2617 e.colno || e.col, 2618 ) 2619 : new P("string" == typeof e ? e : (0, _.P)(e)); 2620 } 2621 #n(e) { 2622 let t = "Unhandled Promise Rejection: "; 2623 if (e?.reason instanceof Error) 2624 try { 2625 return ((e.reason.message = t + e.reason.message), e.reason); 2626 } catch (t) { 2627 return e.reason; 2628 } 2629 if (void 0 === e.reason) return new P(t); 2630 const r = this.#r(e.reason); 2631 return ((r.message = t + r.message), r); 2632 } 2633 #i(e) { 2634 if ( 2635 e.error instanceof SyntaxError && 2636 !/:\\d+$/.test(e.error.stack?.trim()) 2637 ) { 2638 const t = new P(e.message, e.filename, e.lineno, e.colno); 2639 return ((t.name = SyntaxError.name), t); 2640 } 2641 return e.error instanceof Error 2642 ? e.error 2643 : new P(e.message, e.filename, e.lineno, e.colno); 2644 } 2645 } 2646 var M = i(2210); 2647 let H = 1; 2648 const L = "nr@id"; 2649 function z(e) { 2650 const t = typeof e; 2651 return !e || ("object" !== t && "function" !== t) 2652 ? -1 2653 : e === l._A 2654 ? 0 2655 : (0, M.X)(e, L, function () { 2656 return H++; 2657 }); 2658 } 2659 function F(e) { 2660 if ("string" == typeof e && e.length) return e.length; 2661 if ("object" == typeof e) { 2662 if ( 2663 "undefined" != typeof ArrayBuffer && 2664 e instanceof ArrayBuffer && 2665 e.byteLength 2666 ) 2667 return e.byteLength; 2668 if ("undefined" != typeof Blob && e instanceof Blob && e.size) 2669 return e.size; 2670 if (!("undefined" != typeof FormData && e instanceof FormData)) 2671 try { 2672 return (0, _.P)(e).length; 2673 } catch (e) { 2674 return; 2675 } 2676 } 2677 } 2678 var B = i(1214), 2679 U = i(7243); 2680 class V { 2681 constructor(e) { 2682 this.agentIdentifier = e; 2683 } 2684 generateTracePayload(e) { 2685 if (!this.shouldGenerateTrace(e)) return null; 2686 var t = (0, n.DL)(this.agentIdentifier); 2687 if (!t) return null; 2688 var r = (t.accountID || "").toString() || null, 2689 i = (t.agentID || "").toString() || null, 2690 o = (t.trustKey || "").toString() || null; 2691 if (!r || !i) return null; 2692 var a = (0, E.M)(), 2693 s = (0, E.Ht)(), 2694 c = Date.now(), 2695 u = { spanId: a, traceId: s, timestamp: c }; 2696 return ( 2697 (e.sameOrigin || 2698 (this.isAllowedOrigin(e) &&
2699 this.useTraceContextHeadersForCors())) && 2700 ((u.traceContextParentHeader = 2701 this.generateTraceContextParentHeader(a, s)), 2702 (u.traceContextStateHeader = this.generateTraceContextStateHeader( 2703 a, 2704 c, 2705 r, 2706 i, 2707 o, 2708 ))), 2709 ((e.sameOrigin && !this.excludeNewrelicHeader()) || 2710 (!e.sameOrigin && 2711 this.isAllowedOrigin(e) && 2712 this.useNewrelicHeaderForCors())) && 2713 (u.newrelicHeader = this.generateTraceHeader(a, s, c, r, i, o)), 2714 u 2715 ); 2716 } 2717 generateTraceContextParentHeader(e, t) { 2718 return "00-" + t + "-" + e + "-01"; 2719 } 2720 generateTraceContextStateHeader(e, t, r, n, i) { 2721 return i + "@nr=0-1-" + r + "-" + n + "-" + e + "----" + t; 2722 } 2723 generateTraceHeader(e, t, r, n, i, o) { 2724 if (!("function" == typeof l._A?.btoa)) return null; 2725 var a = { 2726 v: [0, 1], 2727 d: { ty: "Browser", ac: n, ap: i, id: e, tr: t, ti: r }, 2728 }; 2729 return (o && n !== o && (a.d.tk = o), btoa((0, _.P)(a))); 2730 } 2731 shouldGenerateTrace(e) { 2732 return this.isDtEnabled() && this.isAllowedOrigin(e); 2733 } 2734 isAllowedOrigin(e) { 2735 var t = !1, 2736 r = {}; 2737 if ( 2738 ((0, n.Mt)(this.agentIdentifier, "distributed_tracing") && 2739 (r = (0, n.P_)(this.agentIdentifier).distributed_tracing), 2740 e.sameOrigin) 2741 ) 2742 t = !0; 2743 else if (r.allowed_origins instanceof Array) 2744 for (var i = 0; i < r.allowed_origins.length; i++) { 2745 var o = (0, U.e)(r.allowed_origins[i]); 2746 if ( 2747 e.hostname === o.hostname && 2748 e.protocol === o.protocol && 2749 e.port === o.port 2750 ) { 2751 t = !0; 2752 break; 2753 } 2754 } 2755 return t; 2756 } 2757 isDtEnabled() { 2758 var e = (0, n.Mt)(this.agentIdentifier, "distributed_tracing"); 2759 return !!e && !!e.enabled; 2760 } 2761 excludeNewrelicHeader() { 2762 var e = (0, n.Mt)(this.agentIdentifier, "distributed_tracing"); 2763 return !!e && !!e.exclude_newrelic_header; 2764 } 2765 useNewrelicHeaderForCors() { 2766 var e = (0, n.Mt)(this.agentIdentifier, "distributed_tracing"); 2767 return !!e && !1 !== e.cors_use_newrelic_header; 2768 } 2769 useTraceContextHeadersForCors() { 2770 var e = (0, n.Mt)(this.agentIdentifier, "distributed_tracing"); 2771 return !!e && !!e.cors_use_tracecontext_headers; 2772 } 2773 } 2774 var q = i(7825), 2775 G = ["load", "error", "abort", "timeout"], 2776 Z = G.length, 2777 W = n.Yu.REQ, 2778 X = n.Yu.XHR; 2779 class K extends f { 2780 static featureName = q.t; 2781 constructor(e, t) { 2782 let i = 2783 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 2784 if ((super(e, t, q.t, i), (0, n.OP)(e).xhrWrappable)) { 2785 ((this.dt = new V(e)), 2786 (this.handler = (e, t, r, n) => (0, T.p)(e, t, r, n, this.ee))); 2787 try { 2788 const e = { 2789 xmlhttprequest: "xhr", 2790 fetch: "fetch", 2791 beacon: "beacon", 2792 }; 2793 l._A?.performance?.getEntriesByType("resource").forEach((t) => { 2794 if (t.initiatorType in e && 0 !== t.responseStatus) { 2795 const n = { status: t.responseStatus }, 2796 i = { 2797 rxSize: t.transferSize, 2798 duration: Math.floor(t.duration), 2799 cbTime: 0, 2800 }; 2801 (Y(n, t.name), 2802 this.handler( 2803 "xhr", 2804 [n, i, t.startTime, t.responseEnd, e[t.initiatorType]], 2805 void 0, 2806 r.D.ajax, 2807 )); 2808 } 2809 }); 2810 } catch (e) {} 2811 ((0, B.u5)(this.ee), 2812 (0, B.Kf)(this.ee), 2813 (function (e, t, i, o) { 2814 function a(e) { 2815 var t = this; 2816 ((t.totalCbs = 0), 2817 (t.called = 0), 2818 (t.cbTime = 0), 2819 (t.end = x), 2820 (t.ended = !1), 2821 (t.xhrGuids = {}), 2822 (t.lastSize = null),
2823 (t.loadCaptureCalled = !1), 2824 (t.params = this.params || {}), 2825 (t.metrics = this.metrics || {}), 2826 e.addEventListener( 2827 "load", 2828 function (r) { 2829 E(t, e); 2830 }, 2831 (0, R.m$)(!1), 2832 ), 2833 l.IF || 2834 e.addEventListener( 2835 "progress", 2836 function (e) { 2837 t.lastSize = e.loaded; 2838 }, 2839 (0, R.m$)(!1), 2840 )); 2841 } 2842 function s(e) { 2843 ((this.params = { method: e[0] }), 2844 Y(this, e[1]), 2845 (this.metrics = {})); 2846 } 2847 function c(t, r) { 2848 var i = (0, n.DL)(e); 2849 i.xpid && 2850 this.sameOrigin && 2851 r.setRequestHeader("X-NewRelic-ID", i.xpid); 2852 var a = o.generateTracePayload(this.parsedOrigin); 2853 if (a) { 2854 var s = !1; 2855 (a.newrelicHeader && 2856 (r.setRequestHeader("newrelic", a.newrelicHeader), 2857 (s = !0)), 2858 a.traceContextParentHeader && 2859 (r.setRequestHeader( 2860 "traceparent", 2861 a.traceContextParentHeader, 2862 ), 2863 a.traceContextStateHeader && 2864 r.setRequestHeader( 2865 "tracestate", 2866 a.traceContextStateHeader, 2867 ), 2868 (s = !0)), 2869 s && (this.dt = a)); 2870 } 2871 } 2872 function u(e, r) { 2873 var n = this.metrics, 2874 i = e[0], 2875 o = this; 2876 if (n && i) { 2877 var a = F(i); 2878 a && (n.txSize = a); 2879 } 2880 ((this.startTime = (0, D.z)()), 2881 (this.body = i), 2882 (this.listener = function (e) { 2883 try { 2884 ("abort" !== e.type || 2885 o.loadCaptureCalled || 2886 (o.params.aborted = !0), 2887 ("load" !== e.type || 2888 (o.called === o.totalCbs && 2889 (o.onloadCalled || 2890 "function" != typeof r.onload) && 2891 "function" == typeof o.end)) && 2892 o.end(r)); 2893 } catch (e) { 2894 try { 2895 t.emit("internal-error", [e]); 2896 } catch (e) {} 2897 } 2898 })); 2899 for (var s = 0; s < Z; s++) 2900 r.addEventListener(G[s], this.listener, (0, R.m$)(!1)); 2901 } 2902 function d(e, t, r) { 2903 ((this.cbTime += e), 2904 t ? (this.onloadCalled = !0) : (this.called += 1), 2905 this.called !== this.totalCbs || 2906 (!this.onloadCalled && "function" == typeof r.onload) || 2907 "function" != typeof this.end || 2908 this.end(r)); 2909 } 2910 function f(e, t) { 2911 var r = "" + z(e) + !!t; 2912 this.xhrGuids && 2913 !this.xhrGuids[r] && 2914 ((this.xhrGuids[r] = !0), (this.totalCbs += 1)); 2915 } 2916 function h(e, t) { 2917 var r = "" + z(e) + !!t; 2918 this.xhrGuids && 2919 this.xhrGuids[r] && 2920 (delete this.xhrGuids[r], (this.totalCbs -= 1)); 2921 } 2922 function p() { 2923 this.endTime = (0, D.z)(); 2924 } 2925 function g(e, r) { 2926 r instanceof X && 2927 "load" === e[0] && 2928 t.emit("xhr-load-added", [e[1], e[2]], r); 2929 } 2930 function m(e, r) { 2931 r instanceof X && 2932 "load" === e[0] && 2933 t.emit("xhr-load-removed", [e[1], e[2]], r); 2934 } 2935 function v(e, t, r) { 2936 t instanceof X && 2937 ("onload" === r && (this.onload = !0), 2938 ("load" === (e[0] && e[0].type) || this.onload) && 2939 (this.xhrCbStart = (0, D.z)())); 2940 } 2941 function b(e, r) { 2942 this.xhrCbStart && 2943 t.emit( 2944 "xhr-cb-time", 2945 [(0, D.z)() - this.xhrCbStart, this.onload, r], 2946 r, 2947 ); 2948 } 2949 function y(e) { 2950 var t, 2951 r = e[1] || {}; 2952 if ( 2953 ("string" == typeof e[0] 2954 ? 0 === (t = e[0]).length && 2955 l.il && 2956 (t = "" + l._A.location.href) 2957 : e[0] && e[0].url 2958 ? (t = e[0].url) 2959 : l._A?.URL && e[0] && e[0] instanceof URL 2960 ? (t = e[0].href) 2961 : "function" == typeof e[0].toString && 2962 (t = e[0].toString()), 2963 "string" == typeof t && 0 !== t.length) 2964 ) { 2965 t && 2966 ((this.parsedOrigin = (0, U.e)(t)), 2967 (this.sameOrigin = this.parsedOrigin.sameOrigin)); 2968 var n = o.generateTracePayload(this.parsedOrigin); 2969 if (n && (n.newrelicHeader || n.traceContextParentHeader)) 2970 if (e[0] && e[0].headers) 2971 s(e[0].headers, n) && (this.dt = n); 2972 else { 2973 var i = {}; 2974 for (var a in r) i[a] = r[a]; 2975 ((i.headers = new Headers(r.headers || {})), 2976 s(i.headers, n) && (this.dt = n), 2977 e.length > 1 ? (e[1] = i) : e.push(i)); 2978 } 2979 } 2980 function s(e, t) { 2981 var r = !1; 2982 return ( 2983 t.newrelicHeader && 2984 (e.set("newrelic", t.newrelicHeader), (r = !0)), 2985 t.traceContextParentHeader && 2986 (e.set("traceparent", t.traceContextParentHeader), 2987 t.traceContextStateHeader && 2988 e.set("tracestate", t.traceContextStateHeader), 2989 (r = !0)), 2990 r 2991 ); 2992 } 2993 } 2994 function A(e, t) { 2995 ((this.params = {}), 2996 (this.metrics = {}), 2997 (this.startTime = (0, D.z)()), 2998 (this.dt = t), 2999 e.length >= 1 && (this.target = e[0]), 3000 e.length >= 2 && (this.opts = e[1])); 3001 var r, 3002 n = this.opts || {}, 3003 i = this.target; 3004 ("string" == typeof i 3005 ? (r = i) 3006 : "object" == typeof i && i instanceof W 3007 ? (r = i.url) 3008 : l._A?.URL && 3009 "object" == typeof i && 3010 i instanceof URL && 3011 (r = i.href), 3012 Y(this, r)); 3013 var o = ( 3014 "" + 3015 ((i && i instanceof W && i.method) || n.method || "GET") 3016 ).toUpperCase(); 3017 ((this.params.method = o), 3018 (this.body = n.body), 3019 (this.txSize = F(n.body) || 0)); 3020 } 3021 function w(e, t) { 3022 var n; 3023 ((this.endTime = (0, D.z)()), 3024 this.params || (this.params = {}), 3025 (this.params.status = t ? t.status : 0), 3026 "string" == typeof this.rxSize && 3027 this.rxSize.length > 0 && 3028 (n = +this.rxSize)); 3029 var o = { 3030 txSize: this.txSize, 3031 rxSize: n, 3032 duration: (0, D.z)() - this.startTime, 3033 }; 3034 i( 3035 "xhr", 3036 [this.params, o, this.startTime, this.endTime, "fetch"], 3037 this, 3038 r.D.ajax, 3039 ); 3040 } 3041 function x(e) { 3042 var t = this.params, 3043 n = this.metrics; 3044 if (!this.ended) { 3045 this.ended = !0; 3046 for (var o = 0; o < Z; o++) 3047 e.removeEventListener(G[o], this.listener, !1); 3048 t.aborted || 3049 ((n.duration = (0, D.z)() - this.startTime), 3050 this.loadCaptureCalled || 4 !== e.readyState 3051 ? null == t.status && (t.status = 0) 3052 : E(this, e), 3053 (n.cbTime = this.cbTime), 3054 i( 3055 "xhr", 3056 [t, n, this.startTime, this.endTime, "xhr"], 3057 this, 3058 r.D.ajax, 3059 )); 3060 } 3061 } 3062 function E(e, n) { 3063 e.params.status = n.status; 3064 var i = (function (e, t) { 3065 var r = e.responseType; 3066 return "json" === r && null !== t 3067 ? t 3068 : "arraybuffer" === r || "blob" === r || "json" === r 3069 ? F(e.response) 3070 : "text" === r || "" === r || void 0 === r 3071 ? F(e.responseText) 3072 : void 0; 3073 })(n, e.lastSize); 3074 if ((i && (e.metrics.rxSize = i), e.sameOrigin)) { 3075 var o = n.getResponseHeader("X-NewRelic-App-Data"); 3076 o && 3077 ((0, T.p)( 3078 I.mY, 3079 ["Ajax/CrossApplicationTracing/Header/Seen"], 3080 void 0, 3081 r.D.metrics, 3082 t, 3083 ), 3084 (e.params.cat = o.split(", ").pop())); 3085 } 3086 e.loadCaptureCalled = !0; 3087 } 3088 (t.on("new-xhr", a), 3089 t.on("open-xhr-start", s), 3090 t.on("open-xhr-end", c), 3091 t.on("send-xhr-start", u), 3092 t.on("xhr-cb-time", d), 3093 t.on("xhr-load-added", f), 3094 t.on("xhr-load-removed", h), 3095 t.on("xhr-resolved", p), 3096 t.on("addEventListener-end", g), 3097 t.on("removeEventListener-end", m), 3098 t.on("fn-end", b), 3099 t.on("fetch-before-start", y), 3100 t.on("fetch-start", A), 3101 t.on("fn-start", v), 3102 t.on("fetch-done", w)); 3103 })(e, this.ee, this.handler, this.dt), 3104 this.importAggregator()); 3105 } 3106 } 3107 } 3108 function Y(e, t) { 3109 var r = (0, U.e)(t), 3110 n = e.params || e; 3111 ((n.hostname = r.hostname), 3112 (n.port = r.port), 3113 (n.protocol = r.protocol), 3114 (n.host = r.hostname + ":" + r.port), 3115 (n.pathname = r.pathname), 3116 (e.parsedOrigin = r),
3117 (e.sameOrigin = r.sameOrigin)); 3118 } 3119 var J = i(3614); 3120 const { 3121 BST_RESOURCE: Q, 3122 RESOURCE: ee, 3123 START: te, 3124 END: re, 3125 FEATURE_NAME: ne, 3126 FN_END: ie, 3127 FN_START: oe, 3128 PUSH_STATE: ae, 3129 } = J; 3130 var se = i(7056), 3131 ce = i(7144); 3132 class ue extends f { 3133 static featureName = ce.t9; 3134 constructor(e, t) { 3135 let r = 3136 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 3137 super(e, t, ce.t9, r); 3138 try { 3139 const e = JSON.parse(localStorage.getItem("NRBA_SESSION")); 3140 e.sessionReplayMode !== se.IK.OFF 3141 ? this.#a(e.sessionReplayMode) 3142 : this.importAggregator({}); 3143 } catch (e) { 3144 this.importAggregator({}); 3145 } 3146 } 3147 async #a(e) { 3148 const { Recorder: t } = await Promise.all([i.e(111), i.e(433)]).then( 3149 i.bind(i, 4136), 3150 ); 3151 ((this.recorder = new t({ 3152 mode: e, 3153 agentIdentifier: this.agentIdentifier, 3154 })), 3155 this.recorder.startRecording(), 3156 this.importAggregator({ recorder: this.recorder })); 3157 } 3158 } 3159 var de = i(7836); 3160 const { 3161 FEATURE_NAME: le, 3162 START: fe, 3163 END: he, 3164 BODY: pe, 3165 CB_END: ge, 3166 JS_TIME: me, 3167 FETCH: ve, 3168 FN_START: be, 3169 CB_START: ye, 3170 FN_END: Ae, 3171 } = de; 3172 var we = i(4649); 3173 class xe extends f { 3174 static featureName = we.t; 3175 constructor(e, t) { 3176 let r = 3177 !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]; 3178 (super(e, t, we.t, r), this.importAggregator()); 3179 } 3180 } 3181 new (class extends t { 3182 constructor(t) { 3183 let r = 3184 arguments.length > 1 && void 0 !== arguments[1] 3185 ? arguments[1] 3186 : (0, E.ky)(16); 3187 (super(), 3188 l._A 3189 ? ((this.agentIdentifier = r), 3190 (this.sharedAggregator = new v({ 3191 agentIdentifier: this.agentIdentifier, 3192 })), 3193 (this.features = {}), 3194 (0, x.h5)(r, this), 3195 (this.desiredFeatures = new Set(t.features || [])), 3196 this.desiredFeatures.add(p), 3197 (0, s.j)(this, t, t.loaderType || "agent"), 3198 this.run()) 3199 : (0, e.Z)( 3200 "Failed to initial the agent. Could not determine the runtime environment.", 3201 )); 3202 } 3203 get config() { 3204 return { 3205 info: (0, n.C5)(this.agentIdentifier), 3206 init: (0, n.P_)(this.agentIdentifier), 3207 loader_config: (0, n.DL)(this.agentIdentifier), 3208 runtime: (0, n.OP)(this.agentIdentifier), 3209 }; 3210 } 3211 run() { 3212 try { 3213 const t = a(this.agentIdentifier), 3214 n = [...this.desiredFeatures]; 3215 (n.sort((e, t) => r.p[e.featureName] - r.p[t.featureName]), 3216 n.forEach((n) => { 3217 if (t[n.featureName] || n.featureName === r.D.pageViewEvent) { 3218 const i = (function (e) { 3219 switch (e) { 3220 case r.D.ajax: 3221 return [r.D.jserrors]; 3222 case r.D.sessionTrace: 3223 return [r.D.ajax, r.D.pageViewEvent]; 3224 case r.D.sessionReplay: 3225 return [r.D.sessionTrace]; 3226 case r.D.pageViewTiming: 3227 return [r.D.pageViewEvent]; 3228 default: 3229 return []; 3230 } 3231 })(n.featureName); 3232 (i.every((e) => t[e]) || 3233 (0, e.Z)( 3234 "" 3235 .concat( 3236 n.featureName, 3237 " is enabled but one or more dependent features has been disabled (", 3238 ) 3239 .concat( 3240 (0, _.P)(i), 3241 "). This may cause unintended consequences or missing data...", 3242 ), 3243 ), 3244 (this.features[n.featureName] = new n( 3245 this.agentIdentifier, 3246 this.sharedAggregator, 3247 ))); 3248 } 3249 })); 3250 } catch (t) { 3251 (0, e.Z)( 3252 "Failed to initialize all enabled instrument classes (agent aborted) -", 3253 t, 3254 ); 3255 for (const e in this.features) this.features[e].abortHandler?.(); 3256 const r = (0, x.fP)(); 3257 return ( 3258 delete r.initializedAgents[this.agentIdentifier]?.api, 3259 delete r.initializedAgents[this.agentIdentifier]?.features, 3260 delete this.sharedAggregator, 3261 r.ee?.abort(), 3262 delete r.ee?.get(this.agentIdentifier), 3263 !1 3264 ); 3265 } 3266 } 3267 })({ 3268 features: [ 3269 K, 3270 p, 3271 O, 3272 class extends f { 3273 static featureName = ne; 3274 constructor(e, t) { 3275 if ( 3276 (super( 3277 e, 3278 t, 3279 ne, 3280 !(arguments.length > 2 && void 0 !== arguments[2]) || 3281 arguments[2], 3282 ), 3283 !l.il) 3284 ) 3285 return; 3286 const n = this.ee; 3287 let i; 3288 ((0, B.QU)(n), 3289 (this.eventsEE = (0, B.em)(n)), 3290 this.eventsEE.on(oe, function (e, t) { 3291 this.bstStart = (0, D.z)(); 3292 }), 3293 this.eventsEE.on(ie, function (e, t) { 3294 (0, T.p)( 3295 "bst", 3296 [e[0], t, this.bstStart, (0, D.z)()], 3297 void 0, 3298 r.D.sessionTrace, 3299 n, 3300 ); 3301 }), 3302 n.on(ae + te, function (e) { 3303 ((this.time = (0, D.z)()), 3304 (this.startPath = location.pathname + location.hash)); 3305 }), 3306 n.on(ae + re, function (e) { 3307 (0, T.p)( 3308 "bstHist", 3309 [ 3310 location.pathname + location.hash, 3311 this.startPath, 3312 this.time, 3313 ], 3314 void 0, 3315 r.D.sessionTrace, 3316 n, 3317 ); 3318 })); 3319 try { 3320 ((i = new PerformanceObserver((e) => { 3321 const t = e.getEntries(); 3322 (0, T.p)(Q, [t], void 0, r.D.sessionTrace, n); 3323 })), 3324 i.observe({ type: ee, buffered: !0 })); 3325 } catch (e) {} 3326 this.importAggregator({ resourceObserver: i }); 3327 } 3328 }, 3329 ue, 3330 j, 3331 xe, 3332 k, 3333 class extends f { 3334 static featureName = le; 3335 constructor(e, t) { 3336 if ( 3337 (super( 3338 e, 3339 t, 3340 le, 3341 !(arguments.length > 2 && void 0 !== arguments[2]) || 3342 arguments[2], 3343 ), 3344 !l.il) 3345 ) 3346 return; 3347 if (!(0, n.OP)(e).xhrWrappable) return; 3348 try { 3349 this.removeOnAbort = new AbortController(); 3350 } catch (e) {} 3351 let r, 3352 i = 0; 3353 const o = this.ee.get("tracer"), 3354 a = (0, B._L)(this.ee), 3355 s = (0, B.Lg)(this.ee), 3356 c = (0, B.BV)(this.ee), 3357 u = (0, B.Kf)(this.ee), 3358 d = this.ee.get("events"), 3359 f = (0, B.u5)(this.ee), 3360 h = (0, B.QU)(this.ee), 3361 p = (0, B.Gm)(this.ee); 3362 function g(e, t) {
3363 h.emit("newURL", ["" + window.location, t]); 3364 } 3365 function m() { 3366 (i++, (r = window.location.hash), (this[be] = (0, D.z)())); 3367 } 3368 function v() { 3369 (i--, window.location.hash !== r && g(0, !0)); 3370 var e = (0, D.z)(); 3371 ((this[me] = ~~this[me] + e - this[be]), (this[Ae] = e)); 3372 } 3373 function b(e, t) { 3374 e.on(t, function () { 3375 this[t] = (0, D.z)(); 3376 }); 3377 } 3378 (this.ee.on(be, m), 3379 s.on(ye, m), 3380 a.on(ye, m), 3381 this.ee.on(Ae, v), 3382 s.on(ge, v), 3383 a.on(ge, v), 3384 this.ee.buffer([be, Ae, "xhr-resolved"], this.featureName), 3385 d.buffer([be], this.featureName), 3386 c.buffer( 3387 ["setTimeout" + he, "clearTimeout" + fe, be], 3388 this.featureName, 3389 ), 3390 u.buffer([be, "new-xhr", "send-xhr" + fe], this.featureName), 3391 f.buffer( 3392 [ve + fe, ve + "-done", ve + pe + fe, ve + pe + he], 3393 this.featureName, 3394 ), 3395 h.buffer(["newURL"], this.featureName), 3396 p.buffer([be], this.featureName), 3397 s.buffer( 3398 ["propagate", ye, ge, "executor-err", "resolve" + fe], 3399 this.featureName, 3400 ), 3401 o.buffer([be, "no-" + be], this.featureName), 3402 a.buffer( 3403 ["new-jsonp", "cb-start", "jsonp-error", "jsonp-end"], 3404 this.featureName, 3405 ), 3406 b(f, ve + fe), 3407 b(f, ve + "-done"), 3408 b(a, "new-jsonp"), 3409 b(a, "jsonp-end"), 3410 b(a, "cb-start"), 3411 h.on("pushState-end", g), 3412 h.on("replaceState-end", g), 3413 window.addEventListener( 3414 "hashchange", 3415 g, 3416 (0, R.m$)(!0, this.removeOnAbort?.signal), 3417 ), 3418 window.addEventListener( 3419 "load", 3420 g, 3421 (0, R.m$)(!0, this.removeOnAbort?.signal), 3422 ), 3423 window.addEventListener( 3424 "popstate", 3425 function () { 3426 g(0, i > 1); 3427 }, 3428 (0, R.m$)(!0, this.removeOnAbort?.signal), 3429 ), 3430 (this.abortHandler = this.#o), 3431 this.importAggregator()); 3432 } 3433 #o() { 3434 (this.removeOnAbort?.abort(), (this.abortHandler = void 0)); 3435 } 3436 }, 3437 ], 3438 loaderType: "spa", 3439 }); 3440 })()); 3441})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.