1/*! For license information please see newrelic-a0f6a19b8716b61caa94.js.LICENSE.txt */ 2"use strict";(self.webpackChunk_gp_web_frontend=self.webpackChunk_gp_web_frontend||[]).push([["newrelic"],{
vendor: 710 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/config/configurable.js":(e,t,r)=>{r.d(t,{D:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js");function s(e,t){try{if(!e||"object"!=typeof e)return(0,n.Z)(3);if(!t||"object"!=typeof t)return(0,n.Z)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),i=0===Object.keys(r).length?e:r;for(let o in i)if(void 0!==e[o])try{if(null===e[o]){r[o]=null;continue}Array.isArray(e[o])&&Array.isArray(t[o])?r[o]=Array.from(new Set([...e[o],...t[o]])):"object"==typeof e[o]&&"object"==typeof t[o]?r[o]=s(e[o],t[o]):r[o]=e[o]}catch(e){r[o]||(0,n.Z)(1,e)}return r}catch(e){(0,n.Z)(2,e)}}},
vendor: 712 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/config/info.js":(e,t,r)=>{r.d(t,{F:()=>a,J:()=>o});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/configurable.js");const i={beacon:n.ce.beacon,errorBeacon:n.ce.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function o(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}const a=e=>(0,s.D)(e,i)},
vendor: 163 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/env.npm.js":(e,t,r)=>{r.d(t,{Re:()=>s,gF:()=>i,q4:()=>n});const n="1.292.1",s="NPM",i="NPM"},
vendor: 1,092 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js":(e,t,r)=>{r.d(t,{FN:()=>c,IF:()=>l,Tt:()=>d,_A:()=>o,iS:()=>a,il:()=>s,sK:()=>m,ux:()=>u,v6:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js");const s="undefined"!=typeof window&&!!window.document,i="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),o=s?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),a=Boolean("hidden"===o?.document?.visibilityState),c=""+o?.location,d=/iPad|iPhone|iPod/.test(o.navigator?.userAgent),u=d&&"undefined"==typeof SharedWorker,l=(()=>{const e=o.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),m=Date.now()-(0,n.z)()},
vendor: 874 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/deny-list/deny-list.js":(e,t,r)=>{r.d(t,{R2:()=>o,zR:()=>s,zh:()=>i});var n=[];function s(e){if(!e||i(e))return!1;if(0===n.length)return!0;for(var t=0;t<n.length;t++){var r=n[t];if("*"===r.hostname)return!1;if(s=r.hostname,o=e.hostname,!(s.length>o.length)&&o.indexOf(s)===o.length-s.length&&a(r.pathname,e.pathname))return!1}var s,o;return!0}function i(e){return void 0===e.hostname}function o(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const s=r.indexOf("/");let i,o;s>0?(i=r.substring(0,s),o=r.substring(s)):(i=r,o="");let[a]=i.split(":");n.push({hostname:a,pathname:o})}}function a(e,t){return 0===e.indexOf("/")&&(e=e.substring(1)),0===t.indexOf("/")&&(t=t.substring(1)),""===e||e===t}},
vendor: 307 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js":(e,t,r)=>{r.d(t,{i:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");const s="newrelic";function i(e={}){try{n._A.dispatchEvent(new CustomEvent(s,{detail:e}))}catch(e){}}},
vendor: 143 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/dom/iframe.js":(e,t,r)=>{function n(e){return!!e&&e.self!==e.top}r.d(t,{u:()=>n})},
vendor: 1,707 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/drain/drain.js":(e,t,r)=>{r.d(t,{LP:()=>m,RP:()=>d,o5:()=>u});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/event-context.js");const c={};function d(e,t){const r={staged:!1,priority:o.pQ[t]||0};l(e),c[e].get(t)||c[e].set(t,r)}function u(e,t){e&&c[e]&&(c[e].get(t)&&c[e].delete(t),f(e,t,!1),c[e].size&&h(e))}function l(e){if(!e)throw new Error("agentIdentifier required");c[e]||(c[e]=new Map)}function m(e="",t="feature",r=!1){if(l(e),!e||!c[e].get(t)||r)return f(e,t);c[e].get(t).staged=!0,h(e)}function h(e){const t=Array.from(c[e]);t.every((([e,t])=>t.staged))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((([t])=>{c[e].delete(t),f(e,t)})))}function f(e,t,r=!0){const o=e?s.ee.get(e):s.ee,c=i.X.handlers;if(!o.aborted&&o.backlog&&c){if((0,n.i)({agentIdentifier:e,type:"lifecycle",name:"drain",feature:t}),r){const e=o.backlog[t],r=c[t];if(r){for(let t=0;e&&t<e.length;++t)g(e[t],r);Object.entries(r).forEach((([e,t])=>{Object.values(t||{}).forEach((t=>{t[0]?.on&&t[0]?.context()instanceof a.A&&t[0].on(e,t[1])}))}))}}o.isolatedBacklog||delete c[t],o.backlog[t]=null,o.emit("drain-"+t,[])}}function g(e,t){var r=e[1];Object.values(t[r]||{}).forEach((t=>{var r=e[0];if(t[0]===r){var n=t[1],s=e[3],i=e[2];n.apply(s,i)}}))}},
vendor: 1,708 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js":(e,t,r)=>{r.d(t,{A:()=>a,ee:()=>c});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/get-or-set.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/event-context.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/bundle-id.js");const a="nr@context:".concat(o.a),c=function e(t,r){var n={},o={},u={},l=!1;try{l=16===r.length&&d.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var m={on:f,addEventListener:f,removeEventListener:function(e,t){var r=n[e];if(r)for(var s=0;s<r.length;s++)r[s]===t&&r.splice(s,1)},emit:function(e,r,n,s,i){if(!1!==i&&(i=!0),!c.aborted||s){t&&i&&t.emit(e,r,n);for(var a=h(n),d=g(e),u=d.length,l=0;l<u;l++)d[l].apply(a,r);var f=p()[o[e]];return f&&f.push([m,e,r,a]),a}},get:function(t){return u[t]=u[t]||e(m,t)},listeners:g,context:h,buffer:function(e,t){const r=p();t=t||"feature",m.aborted||Object.entries(e||{}).forEach((([e,n])=>{o[n]=t,t in r||(r[t]=[])}))},abort:function(){m._aborted=!0,Object.keys(m.backlog).forEach((e=>{delete m.backlog[e]}))},isBuffering:function(e){return!!p()[o[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(m,"aborted",{get:()=>{let e=m._aborted||!1;return e||(t&&(e=t.aborted),e)}}),m;function h(e){return e&&e instanceof i.A?e:e?(0,s.X)(e,a,(()=>new i.A(a))):new i.A(a)}function f(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function p(){return m.backlog}}(void 0,"globalEE"),d=(0,n.fP)();d.ee||(d.ee=c)},
vendor: 162 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/event-context.js":(e,t,r)=>{r.d(t,{A:()=>n});class n{constructor(e){this.contextId=e}}},
vendor: 328 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js":(e,t,r)=>{r.d(t,{E:()=>n,p:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js").ee.get("handle");function s(e,t,r,s,i){i?(i.buffer([e],s),i.emit(e,t,r)):(n.buffer([e],s),n.emit(e,t,r))}},
vendor: 381 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js":(e,t,r)=>{r.d(t,{X:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js");i.on=o;var s=i.handlers={};function i(e,t,r,i){o(i||n.E,s,e,t,r)}function o(e,t,r,s,i){i||(i="feature"),e||(e=n.E);var o=t[i]=t[i]||{};(o[r]=o[r]||[]).push([e,s])}},
vendor: 320 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js":(e,t,r)=>{function n(e,t){return{capture:e,passive:!1,signal:t}}function s(e,t,r=!1,s){window.addEventListener(e,t,n(r,s))}function i(e,t,r=!1,s){document.addEventListener(e,t,n(r,s))}r.d(t,{bP:()=>s,iz:()=>i,m$:()=>n})},
vendor: 204 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/bundle-id.js":(e,t,r)=>{r.d(t,{a:()=>n});const n=(0,r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/unique-id.js").Rl)()},
vendor: 804 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/unique-id.js":(e,t,r)=>{r.d(t,{Ht:()=>d,M:()=>c,Rl:()=>o,ky:()=>a});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");const s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function i(e,t){return e?15&e[t]:16*Math.random()|0}function o(){const e=n._A?.crypto||n._A?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),s.split("").map((e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e)).join("")}function a(e){const t=n._A?.crypto||n._A?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const o=[];for(var a=0;a<e;a++)o.push(i(r,s++).toString(16));return o.join("")}function c(){return a(16)}function d(){return a(32)}},
vendor: 1,027 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/serialize/bel-serializer.js":(e,t,r)=>{r.d(t,{AG:()=>o,FX:()=>c,n1:()=>d,uR:()=>a});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),s=Object.prototype.hasOwnProperty,i=64;function o(e,t,r){return e||0===e||""===e?t(e)+(r?",":""):"!"}function a(e,t){return t?Math.floor(e).toString(36):void 0===e||0===e?"":Math.floor(e).toString(36)}function c(e){let t=0;const r=Object.prototype.hasOwnProperty.call(Object,"create")?Object.create(null):{};return function(n){return void 0===n||""===n?"":(n=e.obfuscateString(String(n)),s.call(r,n)?a(r[n],!0):(r[n]=t++,function(e){return"'"+e.replace(u,"\\$1")}(n)))}}function d(e,t){var r=[];return Object.entries(e||{}).forEach((([e,s])=>{if(!(r.length>=i)){var o,a=5;switch(e=t(e),typeof s){case"object":s?o=t((0,n.P)(s)):a=9;break;case"number":a=6,o=s%1?s:s+".";break;case"boolean":a=s?7:8;break;case"undefined":a=9;break;default:o=t(s)}r.push([a,e+(o?","+o:"")])}})),r}var u=/([,\\;])/g},
vendor: 400 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/session/constants.js":(e,t,r)=>{r.d(t,{Bq:()=>n,Hb:()=>o,IK:()=>d,K4:()=>s,oD:()=>i,uT:()=>c,wO:()=>a});const n="NRBA",s="SESSION",i=144e5,o=18e5,a={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},d={OFF:0,FULL:1,ERROR:2}},
vendor: 153 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js":(e,t,r)=>{function n(){return Math.floor(performance.now())}r.d(t,{z:()=>n})},
vendor: 205 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/url/clean-url.js":(e,t,r)=>{r.d(t,{f:()=>i});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,s=/([^?#]*)().*/;function i(e,t){return e.replace(t?n:s,"$1$2")}},
vendor: 261 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/url/protocol.js":(e,t,r)=>{r.d(t,{V:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");function s(){return Boolean("file:"===n._A?.location?.protocol)}},
vendor: 495 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js":(e,t,r)=>{r.d(t,{Z:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js");function s(e,t){"function"==typeof console.debug&&(console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t),(0,n.i)({agentIdentifier:null,drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},
vendor: 467 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/feature-flags.js":(e,t,r)=>{r.d(t,{N:()=>o,T:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js");const s=new Set,i={};function o(e,t){const r=t.agentIdentifier;i[r]??={},e&&"object"==typeof e&&(s.has(r)||(t.ee.emit("rumresp",[e]),i[r]=e,s.add(r),(0,n.i)({agentIdentifier:r,loaded:!0,drained:!0,type:"lifecycle",name:"load",feature:void 0,data:e})))}},
vendor: 342 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/get-or-set.js":(e,t,r)=>{r.d(t,{X:()=>s});var n=Object.prototype.hasOwnProperty;function s(e,t,r){if(n.call(e,t))return e[t];var s=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:s,writable:!0,enumerable:!1}),s}catch(e){}return e[t]=s,s}},
vendor: 383 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/invoke.js":(e,t,r)=>{function n(e,t=500,r={}){const n=r?.leading||!1;let s;return(...r)=>{n&&void 0===s&&(e.apply(this,r),s=setTimeout((()=>{s=clearTimeout(s)}),t)),n||(clearTimeout(s),s=setTimeout((()=>{e.apply(this,r)}),t))}}function s(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{D:()=>n,Z:()=>s})},
vendor: 444 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js":(e,t,r)=>{r.d(t,{P:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js");const s=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function i(e){try{return JSON.stringify(e,s())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},
vendor: 270 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/target.js":(e,t,r)=>{function n(e){return!e||!(!e.licenseKey||!e.applicationID)}function s(e,t){return!e||e.licenseKey===t.info.licenseKey&&e.applicationID===t.info.applicationID}r.d(t,{d:()=>n,y:()=>s})},
vendor: 287 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/traverse.js":(e,t,r)=>{function n(e,t,r="string",s=[]){return e&&"object"==typeof e?(Object.keys(e).forEach((i=>{"object"==typeof e[i]?n(e[i],t,r,s):typeof e[i]!==r||s.includes(i)||(e[i]=t(e[i]))})),e):e}r.d(t,{R:()=>n})},
vendor: 161 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/util/type-check.js":(e,t,r)=>{function n(e){return e?.constructor==={}.constructor}r.d(t,{S:()=>n})},
vendor: 307 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/constants.js":(e,t,r)=>{r.d(t,{S:()=>n});const n={FIRST_PAINT:"fp",FIRST_CONTENTFUL_PAINT:"fcp",FIRST_INTERACTION:"fi",LARGEST_CONTENTFUL_PAINT:"lcp",CUMULATIVE_LAYOUT_SHIFT:"cls",INTERACTION_TO_NEXT_PAINT:"inp",TIME_TO_FIRST_BYTE:"ttfb"}},
vendor: 898 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-contentful-paint.js":(e,t,r)=>{r.d(t,{y:()=>o});var n=r("../../node_modules/@newrelic/browser-agent/node_modules/web-vitals/dist/web-vitals.attribution.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/constants.js");const o=new(r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/vital-metric.js").U)(i.S.FIRST_CONTENTFUL_PAINT);if(s.il)if(s.ux)try{s.iS||performance.getEntriesByType("paint").forEach((e=>{"first-contentful-paint"===e.name&&o.update({value:Math.floor(e.startTime)})}))}catch(e){}else(0,n.a4)((({value:e,attribution:t})=>{if(s.iS||o.isValid)return;const r={timeToFirstByte:t.timeToFirstByte,firstByteToFCP:t.firstByteToFCP,loadState:t.loadState};o.update({value:e,attrs:r})}))},
vendor: 741 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-paint.js":(e,t,r)=>{r.d(t,{U:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/constants.js");const i=new(r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/vital-metric.js").U)(s.S.FIRST_PAINT);if(n.il){const e=e=>{e.forEach((e=>{"first-paint"!==e.name||i.isValid||(t.disconnect(),i.update({value:e.startTime}))}))};let t;try{PerformanceObserver.supportedEntryTypes.includes("paint")&&!n.iS&&(t=new PerformanceObserver((t=>{Promise.resolve().then((()=>{e(t.getEntries())}))})),t.observe({type:"paint",buffered:!0}))}catch(e){}}},
vendor: 917 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/time-to-first-byte.js":(e,t,r)=>{r.d(t,{P:()=>a});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/constants.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/vital-metric.js"),o=r("../../node_modules/@newrelic/browser-agent/node_modules/web-vitals/dist/web-vitals.attribution.js");const a=new i.U(s.S.TIME_TO_FIRST_BYTE);if(n.il&&"undefined"!=typeof PerformanceNavigationTiming&&!n.Tt&&window===window.parent)(0,o.mr)((({value:e,attribution:t})=>{a.isValid||a.update({value:e,attrs:{navigationEntry:t.navigationEntry}})}));else if(!a.isValid){const e={};for(let t in n._A?.performance?.timing||{})e[t]=Math.max(n._A?.performance?.timing[t]-n.sK,0);a.update({value:e.responseStart,attrs:{navigationEntry:e}})}},
vendor: 699 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/vital-metric.js":(e,t,r)=>{r.d(t,{U:()=>n});class n{#e=new Set;history=[];constructor(e,t){this.name=e,this.attrs={},this.roundingMethod="function"==typeof t?t:Math.floor}update({value:e,attrs:t={}}){if(null==e||e<0)return;const r={value:this.roundingMethod(e),name:this.name,attrs:t};this.history.push(r),this.#e.forEach((e=>{try{e(r)}catch(e){}}))}get current(){return this.history[this.history.length-1]||{value:void 0,name:this.name,attrs:{}}}get isValid(){return this.current.value>=0}subscribe(e,t=!0){if("function"==typeof e)return this.#e.add(e),this.isValid&&t&&this.history.forEach((t=>{e(t)})),()=>{this.#e.delete(e)}}}},
vendor: 487 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/window/load.js":(e,t,r)=>{r.d(t,{KB:()=>o,b2:()=>i,no:()=>a});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js");function s(){return"undefined"==typeof document||"complete"===document.readyState}function i(e,t){if(s())return e();(0,n.bP)("load",e,t)}function o(e){if(s())return e();(0,n.iz)("DOMContentLoaded",e)}function a(e){if(s())return e();(0,n.bP)("popstate",e)}},
vendor: 1,140 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js":(e,t,r)=>{r.d(t,{EZ:()=>d,ce:()=>i,fP:()=>o,gG:()=>u,h5:()=>c,mF:()=>a});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js");const i={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function o(){return n._A.NREUM||(n._A.NREUM={}),void 0===n._A.newrelic&&(n._A.newrelic=n._A.NREUM),n._A.NREUM}function a(){let e=o();return e.o||(e.o={ST:n._A.setTimeout,SI:n._A.setImmediate,CT:n._A.clearTimeout,XHR:n._A.XMLHttpRequest,REQ:n._A.Request,EV:n._A.Event,PR:n._A.Promise,MO:n._A.MutationObserver,FETCH:n._A.fetch,WS:n._A.WebSocket}),e}function c(e,t){let r=o();r.initializedAgents??={},t.initializedAt={ms:(0,s.z)(),date:new Date},r.initializedAgents[e]=t}function d(e,t){o()[e]=t}function u(){return function(){let e=o();const t=e.info||{};e.info={beacon:i.beacon,errorBeacon:i.errorBeacon,...t}}(),function(){let e=o();const t=e.init||{};e.init={...t}}(),a(),function(){let e=o();const t=e.loader_config||{};e.loader_config={...t}}(),o()}},
vendor: 365 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/window/page-visibility.js":(e,t,r)=>{r.d(t,{N:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js");function s(e,t=!1,r,s){(0,n.iz)("visibilitychange",(function(){t?"hidden"===document.visibilityState&&e():e(document.visibilityState)}),r,s)}},
vendor: 1,381 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-events.js":(e,t,r)=>{r.d(t,{e:()=>m});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-function.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/get-or-set.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");const a={},c=o._A.XMLHttpRequest,d="addEventListener",u="removeEventListener",l="nr@wrapped:".concat(n.A);function m(e){var t=function(e){return(e||n.ee).get("events")}(e);if(a[t.debugId]++)return t;a[t.debugId]=1;var r=(0,s.xJ)(t,!0);function m(e){r.inPlace(e,[d,u],"-",f)}function f(e,t){return e[1]}return"getPrototypeOf"in Object&&(o.il&&h(document,m),c&&h(c.prototype,m),h(o._A,m)),t.on(d+"-start",(function(e,t){var n=e[1];if(null!==n&&("function"==typeof n||"object"==typeof n)){var s=(0,i.X)(n,l,(function(){var e={object:function(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)},function:n}[typeof n];return e?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=s}})),t.on(u+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,d);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},
vendor: 1,360 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-function.js":(e,t,r)=>{r.d(t,{xJ:()=>c});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/bundle-id.js");const i="nr@original:".concat(s.a);var o=Object.prototype.hasOwnProperty,a=!1;function c(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,s,i){n||(n="");const o="-"===n.charAt(0);for(let a=0;a<t.length;a++){const c=t[a],d=e[c];u(d)||(e[c]=r(d,o?c+n:n,s,c,i))}},r.flag=i,r;function r(t,r,n,a,c){return u(t)?t:(r||(r=""),l[i]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){d([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}(t,l,e),l);function l(){var i,o,u,l;try{o=this,i=[...arguments],u="function"==typeof n?n(i,o):n||{}}catch(t){d([t,"",[i,o,a],u],e)}s(r+"start",[i,o,a],u,c);try{return l=t.apply(o,i)}catch(e){throw s(r+"err",[i,o,e],u,c),e}finally{s(r+"end",[i,o,l],u,c)}}}function s(r,n,s,i){if(!a||t){var o=a;a=!0;try{e.emit(r,n,s,t,i)}catch(t){d([t,r,n,s],e)}a=o}}}function d(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function u(e){return!(e&&"function"==typeof e&&e.apply&&!e[i])}},
vendor: 4,625 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/ajax/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>g});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/deny-list/deny-list.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/ajax/constants.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/type-check.js");function l(e){if("object"!=typeof e||!e.query||"string"!=typeof e.query)return;const t=e.query.trim().match(/^(query|mutation|subscription)\s?(\w*)/),r=t?.[1];return r?{operationName:e.operationName||t?.[2]||"Anonymous",operationType:r,operationFramework:"GraphQL"}:void 0}function m(e){let t;if(!e||"string"!=typeof e&&"object"!=typeof e)return;if(t="string"==typeof e?JSON.parse(e):e,!(0,u.S)(t)&&!Array.isArray(t))return;let r=!1;return r=Array.isArray(t)?t.some((e=>h(e))):h(t),r?t:void 0}function h(e){return!("object"!=typeof e||!e.query||"string"!=typeof e.query)}var f=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/serialize/bel-serializer.js");class g extends d.m{static featureName=a.t;constructor(e){super(e,a.t),(0,o.R2)(e.runtime.denyList),this.underSpaEvents={};const t=this;this.ee.on("interactionDone",((e,t)=>{this.underSpaEvents[e.id]&&(t||this.underSpaEvents[e.id].forEach((e=>this.events.add(e))),delete this.underSpaEvents[e.id])})),(0,n.X)("returnAjax",(e=>this.events.add(e)),this.featureName,this.ee),(0,n.X)("xhr",(function(){t.storeXhr(...arguments,this)}),this.featureName,this.ee),this.waitForFlags([]).then((()=>this.drain()))}storeXhr(e,t,r,n,a,d){let u;t.time=r,u=e.cat?(0,s.P)([e.status,e.cat]):(0,s.P)([e.status,e.host,e.pathname]);const h=(0,o.zR)(e),f=this.agentRef.init.feature_flags?.includes("ajax_metrics_deny_list");if(!Boolean(this.agentRef.features?.[c.DT.jserrors])||!h&&f||this.agentRef.sharedAggregator?.add(["xhr",u,e,t]),!h)return void(e.hostname===this.agentRef.info.errorBeacon||this.agentRef.init.proxy?.beacon&&e.hostname===this.agentRef.init.proxy.beacon?(this.reportSupportabilityMetric("Ajax/Events/Excluded/Agent"),f&&this.reportSupportabilityMetric("Ajax/Metrics/Excluded/Agent")):(this.reportSupportabilityMetric("Ajax/Events/Excluded/App"),f&&this.reportSupportabilityMetric("Ajax/Metrics/Excluded/App")));(0,i.p)("bstXhrAgg",["xhr",u,e,t],void 0,c.DT.sessionTrace,this.ee);const g={method:e.method,status:e.status,domain:e.host,path:e.pathname,requestSize:t.txSize,responseSize:t.rxSize,type:a,startTime:r,endTime:n,callbackDuration:t.cbTime};if(d.dt&&(g.spanId=d.dt.spanId,g.traceId=d.dt.traceId,g.spanTimestamp=Math.floor(this.agentRef.runtime.timeKeeper.correctAbsoluteTimestamp(d.dt.timestamp))),g.gql=e.gql=function({body:e,query:t}={}){if(e||t)try{const r=function(e){if(!e)return;Array.isArray(e)||(e=[e]);const t=[],r=[];for(let n of e){const e=l(n);e&&(t.push(e.operationName),r.push(e.operationType))}return r.length?{operationName:t.join(","),operationType:r.join(","),operationFramework:"GraphQL"}:void 0}(m(e));if(r)return r;const n=l(function(e){if(!e||"string"!=typeof e)return;const t=new URLSearchParams(e);return m(Object.fromEntries(t))}(t));if(n)return n}catch(e){}}({body:d.body,query:d.parsedOrigin?.search}),g.gql&&this.reportSupportabilityMetric("Ajax/Events/GraphQL/Bytes-Added",(0,s.P)(g.gql).length),Boolean(this.agentRef.features?.[c.DT.softNav]))(0,i.p)("ajax",[g],void 0,c.DT.softNav,this.ee);else if(d.spaNode){const e=d.spaNode.interaction.id;this.underSpaEvents[e]??=[],this.underSpaEvents[e].push(g)}else this.events.add(g)}serializer(e){if(!e.length)return;const t=(0,f.FX)(this.agentRef.runtime.obfuscator);let r="bel.7;";for(let n=0;n<e.length;n++){const s=e[n],i=[(0,f.uR)(s.startTime),(0,f.uR)(s.endTime-s.startTime),(0,f.uR)(0),(0,f.uR)(0),t(s.method),(0,f.uR)(s.status),t(s.domain),t(s.path),(0,f.uR)(s.requestSize),(0,f.uR)(s.responseSize),"fetch"===s.type?1:"",t(0),(0,f.AG)(s.spanId,t,!0)+(0,f.AG)(s.traceId,t,!0)+(0,f.AG)(s.spanTimestamp,f.uR,!1)];let o="2,";const a=this.agentRef.info.jsAttributes,c=(0,f.n1)({...a||{},...s.gql||{}},t);i.unshift((0,f.uR)(c.length)),o+=i.join(","),c&&c.length>0&&(o+=";"+c.join(";")),n+1<e.length&&(o+=";"),r+=o}return r}}},
vendor: 211 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/ajax/constants.js":(e,t,r)=>{r.d(t,{t:()=>n});const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.ajax},
vendor: 8,687 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>w});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/clean-url.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/constants.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),l=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js"),m=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/traverse.js");class h{constructor(e,t,r){this.event=e,this.count=1,this.originMs=Math.floor(e.timeStamp),this.relativeMs=[0],this.selectorPath=t,this.rageClick=void 0,this.nearestTargetFields=r,this.currentUrl=(0,s.f)(""+location)}aggregate(e){this.count++,this.relativeMs.push(Math.floor(e.timeStamp-this.originMs)),this.isRageClick()&&(this.rageClick=!0)}isRageClick(){const e=this.relativeMs.length;return"click"===this.event.type&&e>=i.lj&&this.relativeMs[e-1]-this.relativeMs[e-i.lj]<i.LV}}class f{#t=void 0;#r="";get aggregationEvent(){const e=this.#t;return this.#r="",this.#t=void 0,e}process(e,t){if(!e)return;const{selectorPath:r,nearestTargetFields:n}=function(e,t){let r,n={};if(i.jC.includes(e.type)||e.target===window)r="window";else if(e.target===document)r="document";else{const{path:s,nearestFields:i}=((e,t=[])=>{if(!e)return{path:void 0,nearestFields:{}};let r="",n=(e=>{try{let t=1;const{tagName:r}=e;for(;e.previousElementSibling;)e.previousElementSibling.tagName===r&&t++,e=e.previousElementSibling;return t}catch(e){}})(e);const s={};try{for(;e?.tagName;){const{id:n,localName:i}=e;t.forEach((t=>{var r;s[(r=t,"tagName"===r&&(r="tag"),"className"===r&&(r="class"),"nearest".concat(r.charAt(0).toUpperCase()+r.slice(1)))]||=e[t]?.baseVal||e[t]})),r=[i,n?"#".concat(n):"",r?">".concat(r):""].join(""),e=e.parentNode}}catch(e){}return{path:r?n?"".concat(r,":nth-of-type(").concat(n,")"):r:void 0,nearestFields:s}})(e.target,t);r=s,n=i}return{selectorPath:r,nearestTargetFields:n}}(e,t),s=function(e,t){let r=e.type;return"scrollend"!==e.type&&(r+="-"+t),r}(e,r);if(!s||s!==this.#r){const t=this.#t;return this.#r=s,this.#t=new h(e,r,n),t}this.#t.aggregate(e)}}var g=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dom/iframe.js"),p=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/type-check.js");class w extends a.m{static featureName=i.t9;constructor(e){super(e,i.t9),this.eventsPerHarvest=1e3,this.referrerUrl=o.il&&document.referrer?(0,s.f)(document.referrer):void 0,this.waitForFlags(["ins"]).then((([t])=>{if(!t)return this.blocked=!0,void this.deregisterDrain();this.trackSupportabilityMetrics(),(0,u.X)("api-recordCustomEvent",((e,t,r)=>{if(i.J2.includes(t))return(0,c.Z)(46);this.addEvent({eventType:t,timestamp:this.toEpoch(e),...r})}),this.featureName,this.ee),e.init.page_action.enabled&&(0,u.X)("api-addPageAction",((e,t,r,n)=>{if(!this.agentRef.runtime.entityManager.get(n))return(0,c.Z)(56,this.featureName);this.addEvent({...r,eventType:"PageAction",timestamp:this.toEpoch(e),timeSinceLoad:e/1e3,actionName:t,referrerUrl:this.referrerUrl,...o.il&&{browserWidth:window.document.documentElement?.clientWidth,browserHeight:window.document.documentElement?.clientHeight}},n)}),this.featureName,this.ee);let r=()=>{};o.il&&e.init.user_actions.enabled&&(this.userActionAggregator=new f,this.harvestOpts.beforeUnload=()=>r?.(this.userActionAggregator.aggregationEvent),r=e=>{try{if(e?.event){const{target:t,timeStamp:r,type:n}=e.event;this.addEvent({eventType:"UserAction",timestamp:this.toEpoch(r),action:n,actionCount:e.count,actionDuration:e.relativeMs[e.relativeMs.length-1],actionMs:e.relativeMs,rageClick:e.rageClick,target:e.selectorPath,currentUrl:e.currentUrl,...(0,g.u)(window)&&{iframe:!0},...this.agentRef.init.user_actions.elementAttributes.reduce(((r,n)=>{var s,i;return s=n,"window"!==e.selectorPath&&"document"!==e.selectorPath&&t instanceof HTMLElement&&t?.[s]&&(r[(i=n,"tagName"===i&&(i="tag"),"className"===i&&(i="class"),"target".concat(i.charAt(0).toUpperCase()+i.slice(1)))]=String(t[n]).trim().slice(0,128)),r}),{}),...e.nearestTargetFields})}}catch(e){}},(0,u.X)("ua",(e=>{r(this.userActionAggregator.process(e,this.agentRef.init.user_actions.elementAttributes))}),this.featureName,this.ee));const n=[...e.init.performance.capture_marks?["mark"]:[],...e.init.performance.capture_measures?["measure"]:[]];if(n.length)try{n.forEach((t=>{PerformanceObserver.supportedEntryTypes.includes(t)&&new PerformanceObserver((r=>{r.getEntries().forEach((r=>{try{this.reportSupportabilityMetric("Generic/Performance/"+t+"/Seen");const s=e.init.performance.capture_detail?null==(n=r.detail)?{}:(0,p.S)(n)?function e(t,r="entryDetail"){let n={};return null==t||Object.keys(t).forEach((s=>{let i=r+"."+s;(0,p.S)(t[s])?Object.assign(n,e(t[s],i)):null!==t[s]&&void 0!==t[s]&&(n[i]=t[s])})),n}(n):{entryDetail:n}:{};this.addEvent({...s,eventType:"BrowserPerformance",timestamp:this.toEpoch(r.startTime),entryName:r.name,entryDuration:r.duration,entryType:t})}catch(e){}var n}))})).observe({buffered:!0,type:t})}))}catch(e){}o.il&&e.init.performance.resources.enabled&&(0,u.X)("browserPerformance.resource",(t=>{try{const{name:r,duration:n,...i}=t.toJSON();let a=!1;try{const t=new URL(r).hostname,n=t.includes("newrelic.com")||t.includes("nr-data.net")||t.includes("nr-local.net");if(this.agentRef.init.performance.resources.ignore_newrelic&&n)return;if(this.agentRef.init.performance.resources.asset_types.length&&!this.agentRef.init.performance.resources.asset_types.includes(i.initiatorType))return;a=t===o._A?.location.hostname||e.init.performance.resources.first_party_domains.includes(t),a&&this.reportSupportabilityMetric("Generic/Performance/FirstPartyResource/Seen"),n&&this.reportSupportabilityMetric("Generic/Performance/NrResource/Seen")}catch(e){}this.reportSupportabilityMetric("Generic/Performance/Resource/Seen");const c={...i,eventType:"BrowserPerformance",timestamp:Math.floor(e.runtime.timeKeeper.correctRelativeTimestamp(i.startTime)),entryName:(0,s.f)(r),entryDuration:n,firstParty:a};this.addEvent(c)}catch(e){this.ee.emit("internal-error",[e,"GenericEvents-Resource"])}}),this.featureName,this.ee),(0,u.X)("api-measure",((t,r)=>{const{start:n,duration:s,customAttributes:i}=t,o={...i,eventType:"BrowserPerformance",timestamp:Math.floor(e.runtime.timeKeeper.correctRelativeTimestamp(n)),entryName:r,entryDuration:s,entryType:"measure"};this.addEvent(o)}),this.featureName,this.ee),e.runtime.harvester.triggerHarvestFor(this),this.drain()}))}addEvent(e={},t){if(!e||!Object.keys(e).length)return;if(!e.eventType)return void(0,c.Z)(44);for(let t in e){let r=e[t];e[t]=r&&"object"==typeof r?(0,n.P)(r):r}const r={timestamp:Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp((0,d.z)())),pageUrl:(0,s.f)(""+o.FN),currentUrl:(0,s.f)(""+location)},i={...this.agentRef.info.jsAttributes||{},...r,...e};this.events.add(i,t)||this.events.isEmpty(void 0,t)||(this.ee.emit(l.xS,["GenericEvents/Harvest/Max/Seen"]),this.agentRef.runtime.harvester.triggerHarvestFor(this,{targetEntityGuid:t}),this.events.add(i))}serializer(e){return(0,m.R)({ins:e},this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(){return{ua:this.agentRef.info.userAttributes,at:this.agentRef.info.atts}}toEpoch(e){return Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(e))}trackSupportabilityMetrics(){const e="Config/Performance/";this.agentRef.init.performance.capture_marks&&this.reportSupportabilityMetric(e+"CaptureMarks/Enabled"),this.agentRef.init.performance.capture_measures&&this.reportSupportabilityMetric(e+"CaptureMeasures/Enabled"),this.agentRef.init.performance.resources.enabled&&this.reportSupportabilityMetric(e+"Resources/Enabled"),0!==this.agentRef.init.performance.resources.asset_types?.length&&this.reportSupportabilityMetric(e+"Resources/AssetTypes/Changed"),0!==this.agentRef.init.performance.resources.first_party_domains?.length&&this.reportSupportabilityMetric(e+"Resources/FirstPartyDomains/Changed"),!1===this.agentRef.init.performance.resources.ignore_newrelic&&this.reportSupportabilityMetric(e+"Resources/IgnoreNewrelic/Changed")}}},
vendor: 524 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/constants.js":(e,t,r)=>{r.d(t,{J2:()=>c,LV:()=>a,jC:()=>i,lj:()=>o,t9:()=>n,y8:()=>d,z5:()=>s});const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.genericEvents,s=["auxclick","click","copy","keydown","paste","scrollend"],i=["focus","blur"],o=4,a=1e3,c=["PageAction","UserAction","BrowserPerformance"],d={MARKS:"experimental.marks",MEASURES:"experimental.measures",RESOURCES:"experimental.resources"}},
vendor: 8,890 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/jserrors/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>M});const n=/([a-z0-9]+)$/i;function s(e){if(!e)return;const t=e.match(n);return t?t[1]:void 0}var i=/^\n+|\n+$/g;var o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/clean-url.js");function c(e){if("string"!=typeof e)return"";const t=(0,a.f)(e);return t===(0,a.f)(o.FN)?"<inline>":t}var d=/function (.+?)\s*\(/,u=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,l=/^\s*(?:(\S*|global code)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,m=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,h=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i;function f(e,t){let r=function(e){var t=e.match(l);return t||(t=e.match(u)),t?{url:t[2],func:"Anonymous function"!==t[1]&&"global code"!==t[1]&&t[1]||null,line:+t[3],column:t[4]?+t[4]:null}:e.match(m)||e.match(h)||"anonymous"===e?{func:"evaluated code"}:void 0}(t);if(!r)return e.stackLines.push(t),e;var n;if((n=r.func)&&n.indexOf("nrWrapper")>=0&&(e.wrapperSeen=!0),!e.wrapperSeen){let n=c(r.url);n!==r.url&&(t=t.replace(r.url,n),r.url=n),e.stackLines.push(t),e.frames.push(r)}return e}function g(e){var t=d.exec(String(e.constructor));return t&&t.length>1?t[1]:"unknown"}function p(e){var t=0;if(!e||!e.length)return t;for(var r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}var w=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),v=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),b=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/jserrors/constants.js"),_=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),j=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),T=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js"),S=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/traverse.js");const E="Rrweb",A="Security-Policy";var x=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/target.js"),R=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js");class M extends j.m{static featureName=y.t;constructor(e){super(e,y.t),this.stackReported={},this.observedAt={},this.pageviewReported={},this.bufferedErrorsUnderSpa={},this.errorOnPage=!1,this.ee.on("interactionDone",((e,t)=>this.onInteractionDone(e,t))),(0,w.X)("err",((...e)=>this.storeError(...e)),this.featureName,this.ee),(0,w.X)("ierr",((...e)=>this.storeError(...e)),this.featureName,this.ee),(0,w.X)("softNavFlush",((e,t,r)=>this.onSoftNavNotification(e,t,r)),this.featureName,this.ee),this.harvestOpts.aggregatorTypes=["err","ierr","xhr"],this.waitForFlags(["err"]).then((([e])=>{e?this.drain():(this.blocked=!0,this.deregisterDrain())}))}serializer(e){return(0,S.R)(e,this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(e){const t={},r=(0,v.P)(this.agentRef.runtime.releaseIds);return"{}"!==r&&(t.ri=r),e?.err?.length&&(this.errorOnPage||(t.pve="1",this.errorOnPage=!0),this.agentRef.features?.[_.DT.sessionReplay]?.featAggregate?.replayIsActive()||e.err.forEach((e=>delete e.params.hasReplay))),t}buildCanonicalStackString(e){for(var t="",r=0;r<e.frames.length;r++){var n=e.frames[r],i=s(n.func);t&&(t+="\n"),i&&(t+=i+"@"),"string"==typeof n.url&&(t+=n.url),n.line&&(t+=":"+n.line)}return t}storeError(e,t,r,n,s,a,d){if(!e)return;const u=this.agentRef.runtime.entityManager.get(d);if(!u)return(0,R.Z)(56,this.featureName);let l;if(t=t||(0,T.z)(),!r&&this.agentRef.runtime.onerror&&(l=this.agentRef.runtime.onerror(e),l&&("string"!=typeof l.group||!l.group.length)))return;var m=function(e){var t=null;try{if(t=function(e){if(!e.stack)return null;var t,r=e.stack.split("\n").reduce(f,{frames:[],stackLines:[],wrapperSeen:!1});return r.frames.length?{mode:"stack",name:e.name||g(e),message:e.message,stackString:(t=r.stackLines,function(e){var t;if(e.length>100){var r=e.length-100;t=e.slice(0,50).join("\n"),t+="\n< ...truncated "+r+" lines... >\n",t+=e.slice(-50).join("\n")}else t=e.join("\n");return t}(t).replace(i,"")),frames:r.frames}:null}(e),t)return t}catch(e){}try{if(t=function(e){if(!("line"in e))return null;var t=e.name||g(e);if(!e.sourceURL)return{mode:"sourceline",name:t,message:e.message,stackString:t+": "+e.message+"\n in evaluated code",frames:[{func:"evaluated code"}]};var r=c(e.sourceURL),n=t+": "+e.message+"\n at "+r;return e.line&&(n+=":"+e.line,e.column&&(n+=":"+e.column)),{mode:"sourceline",name:t,message:e.message,stackString:n,frames:[{url:r,line:e.line,column:e.column}]}}(e),t)return t}catch(e){}try{if(t=function(e){var t=e.name||g(e);return t?{mode:"nameonly",name:t,message:e.message,stackString:t+": "+e.message,frames:[]}:null}(e),t)return t}catch(e){}return{mode:"failed",stackString:"",frames:[]}}(e);const{shouldSwallow:h,reason:w}=function(e,t,r){const n={shouldSwallow:t||!1,reason:r||"Other"},s=e.frames?.[0];if(!s||"string"!=typeof e?.message)return n;const i=s?.url?.match(/nr-(.*)-recorder.min.js/),o=s?.url?.match(/rrweb/),a=s?.url?.match(/recorder/),c=e.message.toLowerCase().match(/an attempt was made to break through the security policy of the user agent/);return i||o?(n.shouldSwallow=!0,n.reason=E,c&&(n.reason+="-"+A)):a&&c&&(n.shouldSwallow=!0,n.reason=E+"-"+A),n}(m,r,a);if(h)return void this.reportSupportabilityMetric("Internal/Error/"+w);const y={stackHash:p(this.buildCanonicalStackString(m)),exceptionClass:m.name,request_uri:o._A?.location.pathname};m.message&&(y.message=""+m.message),l?.group&&(y.errorGroup=l.group),s&&(0,x.y)(u,this.agentRef)&&(y.hasReplay=s);var j,S=p("".concat(m.name,"_").concat(m.message,"_").concat(m.stackString,"_").concat(y.hasReplay?1:0));this.stackReported[S]?y.browser_stack_hash=p(m.stackString):(this.stackReported[S]=!0,y.stack_trace=(j=m.stackString).length>65530?j.substr(0,65530):j,this.observedAt[S]=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(t))),y.releaseIds=(0,v.P)(this.agentRef.runtime.releaseIds),this.pageviewReported[S]||(y.pageview=1,this.pageviewReported[S]=!0),y.firstOccurrenceTimestamp=this.observedAt[S],y.timestamp=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(t));const M=["err",S,y,{time:t},n];this.shouldAllowMainAgentToCapture(d)&&(0,b.p)("trace-jserror",M,void 0,_.DT.sessionTrace,this.ee),this.blocked||(e?.__newrelic?.[this.agentIdentifier]&&(y._interactionId=e.__newrelic[this.agentIdentifier].interactionId,y._interactionNodeId=e.__newrelic[this.agentIdentifier].interactionNodeId),this.shouldAllowMainAgentToCapture(d)&&(Boolean(this.agentRef.features?.[_.DT.softNav])?(0,b.p)("jserror",[y,t],void 0,_.DT.softNav,this.ee):(0,b.p)("spa-jserror",M,void 0,_.DT.spa,this.ee),y.browserInteractionId&&!y._softNavFinished?(this.bufferedErrorsUnderSpa[y.browserInteractionId]??=[],this.bufferedErrorsUnderSpa[y.browserInteractionId].push(M)):null!=y._interactionId?(this.bufferedErrorsUnderSpa[y._interactionId]=this.bufferedErrorsUnderSpa[y._interactionId]||[],this.bufferedErrorsUnderSpa[y._interactionId].push(M)):this.#n(M,void 0!==y.browserInteractionId,y._softNavAttributes)),d&&this.#n([...M,d],!1,y._softNavAttributes))}#n(e,t,r={}){let[n,s,i,o,a,c]=e;const d={};t?(Object.entries(r).forEach((([e,t])=>l(e,t))),s+=i.browserInteractionId,delete i._softNavAttributes,delete i._softNavFinished):(Object.entries(this.agentRef.info.jsAttributes).forEach((([e,t])=>l(e,t))),delete i.browserInteractionId),a&&Object.entries(a).forEach((([e,t])=>l(e,t)));const u=s+":"+p((0,v.P)(d));function l(e,t){d[e]=t&&"object"==typeof t?(0,v.P)(t):t}this.events.add([n,u,i,o,d],c)}shouldAllowMainAgentToCapture(e){return!e||this.agentRef.init.api.duplicate_registered_data}onInteractionDone(e,t){this.bufferedErrorsUnderSpa[e.id]&&!this.blocked&&(this.bufferedErrorsUnderSpa[e.id].forEach((r=>{var n={};const s=r[4];Object.entries(e.root.attrs.custom||{}).forEach(a),Object.entries(s||{}).forEach(a);var i=r[2];t&&(i.browserInteractionId=e.root.attrs.id,i._interactionNodeId&&(i.parentNodeId=i._interactionNodeId.toString())),delete i._interactionId,delete i._interactionNodeId;var o=(t?r[1]+e.root.attrs.id:r[1])+":"+p((0,v.P)(n));function a([e,t]){n[e]=t&&"object"==typeof t?(0,v.P)(t):t}this.events.add([r[0],o,i,r[3],n],r[5])})),delete this.bufferedErrorsUnderSpa[e.id])}onSoftNavNotification(e,t,r){this.blocked||(this.bufferedErrorsUnderSpa[e]?.forEach((e=>this.#n(e,t,r))),delete this.bufferedErrorsUnderSpa[e])}}},
vendor: 219 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/jserrors/constants.js":(e,t,r)=>{r.d(t,{t:()=>n});const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.jserrors},
vendor: 368 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/logging/constants.js":(e,t,r)=>{r.d(t,{IG:()=>i,ve:()=>o,yK:()=>s});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js");const s={ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"},i={OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},o="log";n.DT.logging},
vendor: 6,350 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>l});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");var o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/protocol.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/load.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dom/iframe.js");class l extends d.m{static featureName=s.t9;constructor(e){super(e,s.t9),this.harvestOpts.aggregatorTypes=["cm","sm"],this.agentNonce=i.il&&document.currentScript?.nonce,this.waitForFlags(["err"]).then((([e])=>{e?(this.singleChecks(),this.eachSessionChecks(),this.drain()):(this.blocked=!0,this.deregisterDrain())})),(0,n.X)(s.xS,this.storeSupportabilityMetrics.bind(this),this.featureName,this.ee),(0,n.X)(s.vz,this.storeEventMetrics.bind(this),this.featureName,this.ee)}preHarvestChecks(e){return this.drained&&e.isFinalHarvest}storeSupportabilityMetrics(e,t){if(this.blocked)return;const r=s.mY,n={name:e};this.events.addMetric(r,e,n,t)}storeEventMetrics(e,t){if(this.blocked)return;const r=s.gF,n={name:e};this.events.add([r,e,n,t])}singleChecks(){const{distMethod:e,loaderType:t}=this.agentRef.runtime,{proxy:r,privacy:n}=this.agentRef.init;if(t&&this.storeSupportabilityMetrics("Generic/LoaderType/".concat(t,"/Detected")),e&&this.storeSupportabilityMetrics("Generic/DistMethod/".concat(e,"/Detected")),i.il?(this.storeSupportabilityMetrics("Generic/Runtime/Browser/Detected"),this.agentNonce&&""!==this.agentNonce&&this.storeSupportabilityMetrics("Generic/Runtime/Nonce/Detected"),(0,a.KB)((()=>{(function(){if(!i.il)return[];const e=[];try{(function(){try{return Object.prototype.hasOwnProperty.call(window,"React")||Object.prototype.hasOwnProperty.call(window,"ReactDOM")||Object.prototype.hasOwnProperty.call(window,"ReactRedux")||document.querySelector("[data-reactroot], [data-reactid]")||(()=>{const e=document.querySelectorAll("body > div");for(let t=0;t<e.length;t++)if(Object.prototype.hasOwnProperty.call(e[t],"_reactRootContainer"))return!0})()}catch(e){return!1}})()&&(e.push("React"),function(){try{return Object.prototype.hasOwnProperty.call(window,"next")&&Object.prototype.hasOwnProperty.call(window.next,"version")}catch(e){return!1}}()&&e.push("NextJS")),function(){try{return Object.prototype.hasOwnProperty.call(window,"Vue")}catch(e){return!1}}()&&(e.push("Vue"),function(){try{return Object.prototype.hasOwnProperty.call(window,"$nuxt")&&Object.prototype.hasOwnProperty.call(window.$nuxt,"nuxt")}catch(e){return!1}}()&&e.push("NuxtJS")),function(){try{return Object.prototype.hasOwnProperty.call(window,"ng")||document.querySelector("[ng-version]")}catch(e){return!1}}()&&(e.push("Angular"),function(){try{return document.querySelector("[ng-server-context]")}catch(e){return!1}}()&&e.push("AngularUniversal")),function(){try{return Object.prototype.hasOwnProperty.call(window,"__svelte")}catch(e){return!1}}()&&(e.push("Svelte"),function(){try{return!!Object.keys(window).find((e=>e.startsWith("__sveltekit")))}catch(e){return!1}}()&&e.push("SvelteKit")),function(){try{return Object.prototype.hasOwnProperty.call(window,"preact")}catch(e){return!1}}()&&(e.push("Preact"),function(){try{return document.querySelector('script[type="__PREACT_CLI_DATA__"]')}catch(e){return!1}}()&&e.push("PreactSSR")),function(){try{return Object.prototype.hasOwnProperty.call(window,"angular")||document.querySelector(".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]')}catch(e){return!1}}()&&e.push("AngularJS"),Object.prototype.hasOwnProperty.call(window,"Backbone")&&e.push("Backbone"),Object.prototype.hasOwnProperty.call(window,"Ember")&&e.push("Ember"),Object.prototype.hasOwnProperty.call(window,"Meteor")&&e.push("Meteor"),Object.prototype.hasOwnProperty.call(window,"Zepto")&&e.push("Zepto"),Object.prototype.hasOwnProperty.call(window,"jQuery")&&e.push("Jquery"),Object.prototype.hasOwnProperty.call(window,"MooTools")&&e.push("MooTools"),Object.prototype.hasOwnProperty.call(window,"qwikevents")&&e.push("Qwik"),function(){try{return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0}catch(e){return!1}}()&&e.push("Electron")}catch(e){}return e})().forEach((e=>{this.storeSupportabilityMetrics("Framework/"+e+"/Detected")}))})),n.cookies_enabled||this.storeSupportabilityMetrics("Config/SessionTracking/Disabled")):i.v6?this.storeSupportabilityMetrics("Generic/Runtime/Worker/Detected"):this.storeSupportabilityMetrics("Generic/Runtime/Unknown/Detected"),(0,o.V)()&&this.storeSupportabilityMetrics("Generic/FileProtocol/Detected"),this.obfuscator.obfuscateConfigRules.length>0&&this.storeSupportabilityMetrics("Generic/Obfuscate/Detected"),r.assets&&this.storeSupportabilityMetrics("Config/AssetsUrl/Changed"),r.beacon&&this.storeSupportabilityMetrics("Config/BeaconUrl/Changed"),i.il&&window.MutationObserver){(0,u.u)(window)&&this.storeSupportabilityMetrics("Generic/Runtime/IFrame/Detected");const e=window.document.querySelectorAll("video").length;e&&this.storeSupportabilityMetrics("Generic/VideoElement/Added",e);const t=window.document.querySelectorAll("iframe").length;t&&this.storeSupportabilityMetrics("Generic/IFrame/Added",t),new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{e instanceof HTMLVideoElement&&this.storeSupportabilityMetrics("Generic/VideoElement/Added",1),e instanceof HTMLIFrameElement&&this.storeSupportabilityMetrics("Generic/IFrame/Added",1)}))}))})).observe(window.document.body,{childList:!0,subtree:!0})}navigator.webdriver&&this.storeSupportabilityMetrics("Generic/WebDriver/Detected")}eachSessionChecks(){i.il&&(0,c.bP)("pageshow",(e=>{e?.persisted&&this.storeSupportabilityMetrics("Generic/BFCache/PageRestored")}))}}},
vendor: 567 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js":(e,t,r)=>{r.d(t,{gF:()=>i,vz:()=>a,t9:()=>n,mY:()=>s,xS:()=>o}),r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/unique-id.js"),r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js");const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.metrics,s="sm",i="cm",o="storeSupportabilityMetrics",a="storeEventMetrics"},
vendor: 6,709 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_event/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>I});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),s="Start",i="End",o="unloadEvent",a="redirect",c="domainLookup",d="onnect",u="response",l="loadEvent",m="domContentLoadedEvent";const h=[];function f(e,t,r={},n=!1){if(t)return r.of=e,p(r.of,r,"n",!0),p(t[o+s],r,"u",n),p(t[a+s],r,"r",n),p(t[o+i],r,"ue",n),p(t[a+i],r,"re",n),p(t["fetch"+s],r,"f",n),p(t[c+s],r,"dn",n),p(t[c+i],r,"dne",n),p(t["c"+d+s],r,"c",n),p(t["secureC"+d+"ion"+s],r,"s",n),p(t["c"+d+i],r,"ce",n),p(t["request"+s],r,"rq",n),p(t[u+s],r,"rp",n),p(t[u+i],r,"rpe",n),p(t.domLoading,r,"dl",n),p(t.domInteractive,r,"di",n),p(t[m+s],r,"ds",n),p(t[m+i],r,"de",n),p(t.domComplete,r,"dc",n),p(t[l+s],r,"l",n),p(t[l+i],r,"le",n),r}function g(e,t){var r;return p("number"==typeof(r=e.type)?r:{navigate:void 0,reload:1,back_forward:2,prerender:3}[r],t,"ty"),p(e.redirectCount,t,"rc"),t}function p(e,t,r,n){if("number"==typeof e&&e>0){if(n){const r=t?.of>0?t.of:0;e=Math.max(e-r,0)}e=Math.round(e),t[r]=e,h.push(e)}else h.push(void 0)}var w=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),v=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/info.js"),b=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_event/constants.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),_=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js");function j(e){const t=[],r=(0,_.fP)();try{Object.keys(r.initializedAgents[e].features).forEach((e=>{switch(e){case y.DT.ajax:t.push("xhr");break;case y.DT.jserrors:t.push("err");break;case y.DT.genericEvents:t.push("ins");break;case y.DT.sessionTrace:t.push("stn");break;case y.DT.softNav:case y.DT.spa:t.push("spa")}}))}catch(e){}return t}var T=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/feature-flags.js"),S=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),E=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),A=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-contentful-paint.js"),x=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-paint.js"),R=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/time-to-first-byte.js"),M=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js");class O{#s;#i;#o;#a=!1;constructor(e){this.#s=e,this.processStoredDiff()}get ready(){return this.#a}get correctedOriginTime(){return this.#i}get localTimeDiff(){return this.#o}processRumRequest(e,t,r,s){if(this.processStoredDiff(),this.#a)return;if(!s)throw new Error("nrServerTime not found");const i=t+(r-t)/2;if(this.#i=Math.floor(s-i),this.#o=n.sK-this.#i,isNaN(this.#i))throw new Error("Failed to correct browser time to server time");this.#s?.write({serverTimeDiff:this.#o}),this.#a=!0}convertRelativeTimestamp(e){return n.sK+e}convertAbsoluteTimestamp(e){return e-n.sK}correctAbsoluteTimestamp(e){return e-this.#o}correctRelativeTimestamp(e){return this.correctAbsoluteTimestamp(this.convertRelativeTimestamp(e))}processStoredDiff(){if(this.#a)return;const e=this.#s?.read()?.serverTimeDiff;"number"!=typeof e||isNaN(e)||(this.#o=e,this.#i=n.sK-this.#o,this.#a=!0)}}var k=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/traverse.js"),N=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),D=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/target.js");class I extends E.m{static featureName=b.t;constructor(e){if(super(e,b.t),this.timeToFirstByte=0,this.firstByteToWindowLoad=0,this.firstByteToDomContent=0,(0,N.X)("send-rum",((e,t)=>{this.sendRum(e,t)}),this.featureName,this.ee),!(0,v.J)(e.info))return this.ee.abort(),(0,S.Z)(43);e.runtime.timeKeeper=new O(e.runtime.session),n.il?R.P.subscribe((({value:e,attrs:t})=>{const r=t.navigationEntry;this.timeToFirstByte=Math.max(e,this.timeToFirstByte),this.firstByteToWindowLoad=Math.max(Math.round(r.loadEventEnd-this.timeToFirstByte),this.firstByteToWindowLoad),this.firstByteToDomContent=Math.max(Math.round(r.domContentLoadedEventEnd-this.timeToFirstByte),this.firstByteToDomContent),this.sendRum()})):this.sendRum()}sendRum(e=this.agentRef.info.jsAttributes,t={licenseKey:this.agentRef.info.licenseKey,applicationID:this.agentRef.info.applicationID}){const r=this.agentRef.info,s={};r.queueTime&&(s.qt=r.queueTime),r.applicationTime&&(s.ap=r.applicationTime),s.be=this.timeToFirstByte,s.fe=this.firstByteToWindowLoad,s.dc=this.firstByteToDomContent;const i={tt:r.ttGuid,us:r.user,ac:r.account,pr:r.product,af:j(this.agentIdentifier).join(","),...s,xx:r.extra,ua:r.userAttributes,at:r.atts};let o;if(this.agentRef.runtime.session&&(i.fsh=Number(this.agentRef.runtime.session.isNew)),"object"==typeof e&&Object.keys(e).length>0&&(o=(0,k.R)({ja:e},this.obfuscator.obfuscateString.bind(this.obfuscator),"string")),n._A.performance)if("undefined"!=typeof PerformanceNavigationTiming){const e=n._A?.performance?.getEntriesByType("navigation")?.[0],t={timing:f(n.sK,e,{}),navigation:g(e,{})};i.perf=(0,w.P)(t)}else if("undefined"!=typeof PerformanceTiming){const e={timing:f(n.sK,n._A.performance.timing,{},!0),navigation:g(n._A.performance.navigation,{})};i.perf=(0,w.P)(e)}i.fp=x.U.current.value,i.fcp=A.y.current.value;const a=this.agentRef.runtime.timeKeeper;a?.ready&&(i.timestamp=Math.floor(a.correctRelativeTimestamp((0,M.z)()))),this.rumStartTime=(0,M.z)(),this.agentRef.runtime.harvester.triggerHarvestFor(this,{directSend:{targetApp:t,payload:{qs:i,body:o}},needResponse:!0,sendEmptyBody:!0})}postHarvestCleanup({status:e,responseText:t,xhr:r,targetApp:n}){const s=(0,M.z)();let i,o;try{({app:i,...o}=JSON.parse(t)),this.processEntities(i.agents,n)}catch(e){(0,S.Z)(53,e)}if((0,D.y)(n,this.agentRef)){if(e>=400||0===e)return(0,S.Z)(18,e),void this.ee.abort();try{if(this.agentRef.runtime.timeKeeper.processRumRequest(r,this.rumStartTime,s,i.nrServerTime),!this.agentRef.runtime.timeKeeper.ready)throw new Error("TimeKeeper not ready")}catch(e){return this.ee.abort(),void(0,S.Z)(17,e)}Object.keys(this.agentRef.runtime.appMetadata).length||(this.agentRef.runtime.appMetadata=i),this.drain(),this.agentRef.runtime.harvester.startTimer(),(0,T.N)(o,this.agentRef)}}processEntities(e,t){e&&t&&e.forEach((e=>{const r=this.agentRef.runtime.entityManager,n=e.entityGuid;r.get(n)||((0,D.y)(t,this.agentRef)&&r.setDefaultEntity({...t,entityGuid:n}),r.set(e.entityGuid,{...t,entityGuid:n}))}))}}},
vendor: 231 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_event/constants.js":(e,t,r)=>{r.d(t,{t:()=>n});const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.pageViewEvent},
vendor: 5,526 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_timing/aggregate/index.js":(e,t,r)=>{r.r(t),r.d(t,{Aggregate:()=>j});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/serialize/bel-serializer.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_timing/constants.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js"),d=r("../../node_modules/@newrelic/browser-agent/node_modules/web-vitals/dist/web-vitals.attribution.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/constants.js"),l=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/vital-metric.js"),m=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js");const h=new l.U(u.S.CUMULATIVE_LAYOUT_SHIFT,(e=>e));m.il&&(0,d.mw)((({value:e,attribution:t,id:r})=>{const n={metricId:r,largestShiftTarget:t.largestShiftTarget,largestShiftTime:t.largestShiftTime,largestShiftValue:t.largestShiftValue,loadState:t.loadState};h.update({value:e,attrs:n})}),{reportAllChanges:!0});var f=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-contentful-paint.js"),g=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/first-paint.js");const p=new l.U(u.S.INTERACTION_TO_NEXT_PAINT);m.il&&(0,d.Yn)((({value:e,attribution:t,id:r})=>{const n={metricId:r,eventTarget:t.interactionTarget,eventTime:t.interactionTime,interactionTarget:t.interactionTarget,interactionTime:t.interactionTime,interactionType:t.interactionType,inputDelay:t.inputDelay,nextPaintTime:t.nextPaintTime,processingDuration:t.processingDuration,presentationDelay:t.presentationDelay,loadState:t.loadState};p.update({value:e,attrs:n})}));var w=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/clean-url.js");const v=new l.U(u.S.LARGEST_CONTENTFUL_PAINT);m.il&&(0,d.NO)((({value:e,attribution:t})=>{if(m.iS||v.isValid)return;let r;const n=t.lcpEntry;n&&(r={size:n.size,eid:n.id,element:t.element,timeToFirstByte:t.timeToFirstByte,resourceLoadDelay:t.resourceLoadDelay,resourceLoadDuration:t.resourceLoadDuration,resourceLoadTime:t.resourceLoadDuration,elementRenderDelay:t.elementRenderDelay},t.url&&(r.elUrl=(0,w.f)(t.url)),n.element?.tagName&&(r.elTag=n.element.tagName)),v.update({value:e,attrs:r})}));var b=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/vitals/time-to-first-byte.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/page-visibility.js");function _(e,t,r){let n="unknown";if(e&&e instanceof XMLHttpRequest){const t=r.context(e).params;if(!(t&&t.status&&t.method&&t.host&&t.pathname))return"xhrOriginMissing";n=t.status+" "+t.method+": "+t.host+t.pathname}else if(e&&"string"==typeof e.tagName&&(n=e.tagName.toLowerCase(),e.id&&(n+="#"+e.id),e.className))for(let t=0;t<e.classList.length;t++)n+="."+e.classList[t];return"unknown"===n&&("string"==typeof t?n=t:t===document?n="document":t===window?n="window":t instanceof FileReader&&(n="FileReader")),n}class j extends c.m{static featureName=o.t;#c=({name:e,value:t,attrs:r})=>{this.addTiming(e,t,r)};constructor(e){super(e,o.t),this.curSessEndRecorded=!1,this.firstIxnRecorded=!1,(0,s.X)("docHidden",(e=>this.endCurrentSession(e)),this.featureName,this.ee),(0,s.X)("winPagehide",(e=>this.addTiming("unload",e,null)),this.featureName,this.ee),this.waitForFlags([]).then((()=>{g.U.subscribe(this.#c),f.y.subscribe(this.#c),v.subscribe(this.#c),p.subscribe(this.#c),b.P.subscribe((({attrs:e})=>{this.addTiming("load",Math.round(e.navigationEntry.loadEventEnd))})),(0,y.N)((()=>{const{name:e,value:t,attrs:r}=h.current;void 0!==t&&this.addTiming(e,1e3*t,r)}),!0,!0),this.drain()}))}endCurrentSession(e){this.curSessEndRecorded||(this.addTiming("pageHide",e,null),this.curSessEndRecorded=!0)}addTiming(e,t,r){var n,s;n=r=r||{},(s=navigator.connection||navigator.mozConnection||navigator.webkitConnection)&&(s.type&&(n["net-type"]=s.type),s.effectiveType&&(n["net-etype"]=s.effectiveType),s.rtt&&(n["net-rtt"]=s.rtt),s.downlink&&(n["net-dlink"]=s.downlink)),e!==u.S.CUMULATIVE_LAYOUT_SHIFT&&h.current.value>=0&&(r.cls=h.current.value);const o={name:e,value:t,attrs:r};return this.events.add(o),(0,i.p)("pvtAdded",[e,t,r],void 0,a.DT.sessionTrace,this.ee),this.checkForFirstInteraction(),o}checkForFirstInteraction(){if(this.firstIxnRecorded||m.iS||!performance)return;const e=performance.getEntriesByType("first-input")[0];e&&(this.firstIxnRecorded=!0,this.addTiming("fi",e.startTime,{type:e.name,eventTarget:_(e.target),loadState:document.readyState}))}appendGlobalCustomAttributes(e){var t=e.attrs||{},r=["size","eid","cls","type","fid","elTag","elUrl","net-type","net-etype","net-rtt","net-dlink"];Object.entries(this.agentRef.info.jsAttributes||{}).forEach((([e,n])=>{r.indexOf(e)<0&&(t[e]=n)}))}preHarvestChecks(){return this.checkForFirstInteraction(),super.preHarvestChecks()}serializer(e){for(var t=(0,n.FX)(this.agentRef.runtime.obfuscator),r="bel.6;",s=0;s<e.length;s++){var i=e[s];r+="e,",r+=t(i.name)+",",r+=(0,n.AG)(i.value,n.uR,!1)+",",this.appendGlobalCustomAttributes(i);var o=(0,n.n1)(i.attrs,t);o&&o.length>0&&(r+=(0,n.uR)(o.length)+";"+o.join(";")),s+1<e.length&&(r+=";")}return r}}},
vendor: 233 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_timing/constants.js":(e,t,r)=>{r.d(t,{t:()=>n});const n=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js").DT.pageViewTiming},
vendor: 8,103 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/agent-session.js":(e,t,r)=>{r.r(t),r.d(t,{setupAgentSession:()=>E});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/drain/drain.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/register-handler.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/unique-id.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js");class d{constructor(e,t){if(!e.onEnd)throw new Error("onEnd handler is required");if(!t)throw new Error("ms duration is required");this.onEnd=e.onEnd,this.initialMs=t,this.startTimestamp=Date.now(),this.timer=this.create(this.onEnd,t)}create(e,t){return this.timer&&this.clear(),setTimeout((()=>e?e():this.onEnd()),t||this.initialMs)}clear(){clearTimeout(this.timer),this.timer=null}end(){this.clear(),this.onEnd()}isValid(){return this.initialMs-(Date.now()-this.startTimestamp)>0}}var u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),l=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/session/constants.js"),m=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/page-visibility.js"),h=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/invoke.js");class f extends d{constructor(e,t){super(e,t),this.onPause="function"==typeof e.onPause?e.onPause:()=>{},this.onRefresh="function"==typeof e.onRefresh?e.onRefresh:()=>{},this.onResume="function"==typeof e.onResume?e.onResume:()=>{},this.readStorage=e.readStorage,this.remainingMs=void 0,e.refreshEvents||(e.refreshEvents=["click","keydown","scroll"]);try{this.abortController=new AbortController}catch(e){}if(u.il&&e.ee){if(e.ee){this.ee=e.ee;const t=(0,h.D)(this.refresh.bind(this),500,{leading:!0});this.refreshHandler=r=>{e.refreshEvents.includes(r?.[0]?.type)&&t()},e.ee.on("fn-end",this.refreshHandler)}(0,m.N)((e=>{"hidden"===e?this.pause():this.resume()}),!1,!1,this.abortController?.signal)}}abort(){this.clear(),this.abortController?.abort(),this.refreshHandler&&(this.ee.removeEventListener("fn-end",this.refreshHandler),this.refreshHandler=this.ee=null)}pause(){this.onPause(),clearTimeout(this.timer),this.remainingMs=this.initialMs-(Date.now()-this.startTimestamp)}resume(){try{const t=this.readStorage(),r="string"==typeof t?JSON.parse(t):t;e(r.expiresAt)||e(r.inactiveAt)?this.end():(this.refresh(),this.onResume())}catch(e){this.end()}function e(e){return Date.now()>e}}refresh(e,t){this.clear(),this.timer=this.create(e,t),this.startTimestamp=Date.now(),this.remainingMs=void 0,this.onRefresh()}}var g=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-events.js"),p=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/configurable.js"),w=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),v=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js"),b=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js"),_=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/logging/constants.js");const j={value:"",inactiveAt:0,expiresAt:0,updatedAt:Date.now(),sessionReplayMode:l.IK.OFF,sessionReplaySentFirstChunk:!1,sessionTraceMode:l.IK.OFF,traceHarvestStarted:!1,loggingMode:_.IG.OFF,serverTimeDiff:null,custom:{},numOfResets:0};class T{constructor(e){const{agentIdentifier:t,key:r,storage:n}=e;if(!t||!r||!n)throw new Error("Missing required field(s):".concat(t?"":" agentID").concat(r?"":" key").concat(n?"":" storage"));this.agentIdentifier=t,this.storage=n,this.state={},this.key=r,this.ee=s.ee.get(t),(0,g.e)(this.ee),this.setup(e),u.il&&(0,y.bP)("storage",(e=>{if(e.key===this.lookupKey){const t="string"==typeof e.newValue?JSON.parse(e.newValue):e.newValue;this.sync(t),this.ee.emit(l.wO.UPDATE,[l.uT.CROSS_TAB,this.state])}}))}setup({value:e=(0,o.ky)(16),expiresMs:t=l.oD,inactiveMs:r=l.Hb,numOfResets:n=0}){const s={serverTimeDiff:this.state.serverTimeDiff||j.serverTimeDiff};this.state={},this.sync({...j,...s}),this.state.value=e,this.expiresMs=t,this.inactiveMs=r;const i=this.read();t?(this.state.expiresAt=i?.expiresAt||this.getFutureTimestamp(t),this.state.numOfResets=i?.numOfResets||n,this.expiresTimer=new d({onEnd:()=>{this.collectSM("expired"),this.collectSM("duration"),this.reset()}},this.state.expiresAt-Date.now())):this.state.expiresAt=1/0,r?(this.state.inactiveAt=i?.inactiveAt||this.getFutureTimestamp(r),this.inactiveTimer=new f({onEnd:()=>{this.collectSM("inactive"),this.collectSM("duration"),this.reset()},onRefresh:this.refresh.bind(this),onResume:()=>{this.ee.emit(l.wO.RESUME)},onPause:()=>{this.initialized&&this.ee.emit(l.wO.PAUSE),this.write((0,p.D)(this.state,j))},ee:this.ee,refreshEvents:["click","keydown","scroll"],readStorage:()=>this.storage.get(this.lookupKey)},this.state.inactiveAt-Date.now())):this.state.inactiveAt=1/0,this.isNew||=!Object.keys(i).length,this.isNew?this.write((0,p.D)(this.state,j),!0):this.sync(i),this.initialized=!0,this.ee.emit(l.wO.STARTED,[this.isNew])}get lookupKey(){return"".concat(l.Bq,"_").concat(this.key)}sync(e){Object.assign(this.state,e)}read(){try{const e=this.storage.get(this.lookupKey);if(!e)return{};const t="string"==typeof e?JSON.parse(e):e;return this.isInvalid(t)?{}:this.isExpired(t.expiresAt)?(this.collectSM("expired"),this.collectSM("duration",t,!0),this.reset()):this.isExpired(t.inactiveAt)?(this.collectSM("inactive"),this.collectSM("duration",t,!0),this.reset()):t}catch(e){return(0,a.Z)(10,e),{}}}write(e){try{if(!e||"object"!=typeof e)return;return e.updatedAt=Date.now(),this.sync(e),this.storage.set(this.lookupKey,(0,c.P)(this.state)),this.ee.emit(l.wO.UPDATE,[l.uT.SAME_TAB,this.state]),e}catch(e){return(0,a.Z)(11,e),null}}reset(){try{return this.initialized&&(this.ee.emit(l.wO.RESET),this.state.numOfResets++),this.storage.remove(this.lookupKey),this.inactiveTimer?.abort?.(),this.expiresTimer?.clear?.(),delete this.isNew,this.setup({agentIdentifier:this.agentIdentifier,key:this.key,storage:this.storage,expiresMs:this.expiresMs,inactiveMs:this.inactiveMs,numOfResets:this.state.numOfResets}),this.read()}catch(e){return{}}}refresh(){const e=this.read();this.write({...e,inactiveAt:this.getFutureTimestamp(this.inactiveMs)})}isExpired(e){return Date.now()>e}isInvalid(e){return!Object.keys(j).every((t=>Object.keys(e).includes(t)))}collectSM(e,t,r){let n,s;"duration"===e&&(n=this.getDuration(t,r),s="Session/Duration/Ms"),"expired"===e&&(s="Session/Expired/Seen"),"inactive"===e&&(s="Session/Inactive/Seen"),s&&(0,w.p)(v.xS,[s,n],void 0,b.DT.metrics,this.ee)}getDuration(e=this.state,t){const r=e.expiresAt-this.expiresMs;return(t?Date.now():e.updatedAt)-r}getFutureTimestamp(e){return Date.now()+e}syncCustomAttribute(e,t){if(u.il)if(null===t){const t=this.read();t.custom&&(delete t.custom[e],this.write({...t}))}else{const r=this.read();this.custom={...r?.custom||{},[e]:t},this.write({...r,custom:this.custom})}}}class S{get(e){try{return localStorage.getItem(e)||void 0}catch(e){return""}}set(e,t){try{return null==t?this.remove(e):localStorage.setItem(e,t)}catch(e){}}remove(e){try{localStorage.removeItem(e)}catch(e){}}}function E(e){if(e.runtime.session)return e.runtime.session;const t=e.init.session;e.runtime.session=new T({agentIdentifier:e.agentIdentifier,key:l.K4,storage:new S,expiresMs:t?.expiresMs,inactiveMs:t?.inactiveMs});const r=e.runtime.session.state.custom;r&&(e.info.jsAttributes={...r,...e.info.jsAttributes});const o=s.ee.get(e.agentIdentifier);return(0,i.X)("api-setCustomAttribute",((t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)}),"session",o),(0,i.X)("api-setUserId",((t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)}),"session",o),(0,n.LP)(e.agentIdentifier,"session"),e.runtime.session}},
vendor: 15,250 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/aggregate-base.js":(e,t,r)=>{r.d(t,{m:()=>q});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/feature-base.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/info.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/configure/configure.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js"),a=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/drain/drain.js"),c=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/feature-flags.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/protocol.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js");class l{constructor(e){this.agentRef=e,this.warnedRegexMissing=!1,this.warnedInvalidRegex=!1,this.warnedInvalidReplacement=!1}get obfuscateConfigRules(){return this.agentRef.init.obfuscate||[]}obfuscateString(e){if("string"!=typeof e||0===e.trim().length)return e;const t=this.obfuscateConfigRules.map((e=>this.validateObfuscationRule(e)));return(0,d.V)()&&t.push({regex:/^file:\/\/(.*)/,replacement:atob("ZmlsZTovL09CRlVTQ0FURUQ=")}),t.filter((e=>e.isValid)).reduce(((e,t)=>{const{rule:r}=t;return e.replace(r.regex,r.replacement||"*")}),e)}validateObfuscationRule(e){const t=Boolean(void 0===e.regex),r=Boolean(void 0!==e.regex&&"string"!=typeof e.regex&&!(e.regex instanceof RegExp)),n=Boolean(e.replacement&&"string"!=typeof e.replacement);return t&&!this.warnedRegexMissing?((0,u.Z)(12,e),this.warnedRegexMissing=!0):r&&!this.warnedInvalidRegex&&((0,u.Z)(13,e),this.warnedInvalidRegex=!0),n&&!this.warnedInvalidReplacement&&((0,u.Z)(14,e),this.warnedInvalidReplacement=!0),{rule:e,isValid:!t&&!r&&!n,errors:{regexMissingDetected:t,invalidRegexDetected:r,invalidReplacementDetected:n}}}}var m=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js");const h="NR_CONTAINER_AGENT";var f=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js"),g=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/target.js");class p{constructor(e,t,r,n){this.agentRef=e,this.entityManager=e.runtime.entityManager,this.StorageClass=t,this.appStorageMap=new Map([[h,new this.StorageClass]]),this.featureName=n,this.setEventStore(r)}#d(e=h){return this.appStorageMap.has(e)||this.setEventStore(e),this.appStorageMap.get(e)}setEventStore(e){if(!e)return;const t=(0,g.y)(this.entityManager.get(e),this.agentRef)?this.appStorageMap.get(h):new this.StorageClass;this.appStorageMap.set(e,t)}isEmpty(e,t){if(t)return this.#d(t).isEmpty(e);for(const t of this.appStorageMap.values())if(!t.isEmpty(e))return!1;return!0}add(e,t){return(0,f.i)({agentIdentifier:this.agentRef.agentIdentifier,drained:!!c.T?.[this.agentRef.agentIdentifier],type:"data",name:"buffer",feature:this.featureName,data:e}),this.#d(t).add(e)}addMetric(e,t,r,n){return this.#d().addMetric(e,t,r,n)}get(e,t){if(t)return[{targetApp:this.entityManager.get(t),data:this.#d(t).get(e)}];const r=[];return this.appStorageMap.forEach(((t,n)=>{if(n===h)return;const s=this.entityManager.get(n);s&&r.push({targetApp:s,data:t.get(e)})})),r}byteSize(e){return this.#d(e).byteSize()}wouldExceedMaxSize(e,t){return this.#d(t).wouldExceedMaxSize(e)}save(e,t){if(t)return this.#d(t).save(e);this.appStorageMap.forEach((t=>t.save(e)))}clear(e,t){if(t)return this.#d(t).clear(e);this.appStorageMap.forEach((t=>t.clear(e)))}reloadSave(e,t){return this.#d(t).reloadSave(e)}clearSave(e,t){return this.#d(t).clearSave(e)}}var w=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js"),v=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/env.npm.js"),b=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),_=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js"),j=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js"),T=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/page-visibility.js");if(b.v6){b._A.cleanupTasks=[];const e=b._A.close;b._A.close=()=>{for(let e of b._A.cleanupTasks)e();e()}}var S=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/url/clean-url.js"),E=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js"),A={"%2C":",","%3A":":","%2F":"/","%40":"@","%24":"$","%3B":";"},x=Object.keys(A),R=new RegExp(x.join("|"),"g");function M(e){return A[e]}function O(e){return null==e?"null":encodeURIComponent(e).replace(R,M)}function k(e,t){var r=0,n="";return Object.entries(e||{}).forEach((([e,s])=>{var i,o,a=[];if("string"==typeof s||!Array.isArray(s)&&null!=s&&s.toString().length)i="&"+e+"="+O(s),r+=i.length,n+=i;else if(Array.isArray(s)&&s.length){for(r+=9,o=0;o<s.length&&(i=O((0,E.P)(s[o])),r+=i.length,!(void 0!==t&&r>=t));o++)a.push(i);n+="&"+e+"=%5B"+a.join(",")+"%5D"}})),n}function N(e,t,r={}){return Object.keys(r).includes(e)?"":t&&"string"==typeof t?"&"+e+"="+O(t):""}function D({url:e,body:t=null,method:r="POST",headers:n=[{key:"content-type",value:"text/plain"}]}){const s={};for(const e of n)s[e.key]=e.value;return fetch(e,{headers:s,method:r,body:t,credentials:"include"})}function I({url:e,body:t=null,sync:r,method:n="POST",headers:s=[{key:"content-type",value:"text/plain"}]}){const i=new XMLHttpRequest;i.open(n,e,!r);try{"withCredentials"in i&&(i.withCredentials=!0)}catch(e){}return s.forEach((e=>{i.setRequestHeader(e.key,e.value)})),i.send(t),i}function P({url:e,body:t}){try{return window.navigator.sendBeacon.bind(window.navigator)(e,t)}catch(e){return!1}}class C{#u=!1;initializedAggregates=[];constructor(e){var t;this.agentRef=e,t=()=>{this.initializedAggregates.forEach((e=>{"function"==typeof e.harvestOpts.beforeUnload&&e.harvestOpts.beforeUnload()})),this.initializedAggregates.forEach((e=>this.triggerHarvestFor(e,{isFinalHarvest:!0})))},b.il?(0,T.N)(t,!0,false):b.v6&&b._A.cleanupTasks.push(t)}startTimer(e=this.agentRef.init.harvest.interval){if(this.#u)return;this.#u=!0;const t=()=>{this.initializedAggregates.forEach((e=>this.triggerHarvestFor(e))),setTimeout(t,1e3*e)};setTimeout(t,1e3*e)}triggerHarvestFor(e,t={}){if(e.blocked)return!1;const r=function({isFinalHarvest:e=!1}={}){return e&&b.il?P:"undefined"!=typeof XMLHttpRequest?I:D}(t);if(!r)return!1;const n=!t.isFinalHarvest&&r===I;let s,i=!1;if(t.directSend)s=[t.directSend];else if(s=e.makeHarvestPayload(n,t),!s)return!1;return s.forEach((({targetApp:n,payload:s})=>{s&&(function(e,{endpoint:t,targetApp:r,payload:n,localOpts:s={},submitMethod:i,cbFinished:o,raw:a,featureName:d}){if(!e.info.errorBeacon)return!1;let{body:l,qs:h}=function(e={}){const t=e=>"undefined"!=typeof Uint8Array&&e instanceof Uint8Array||Array.isArray(e)?e:"string"==typeof e?e.length>0?e:null:Object.entries(e||{}).reduce(((e,[t,r])=>(("number"==typeof r||"string"==typeof r&&r.length>0||"object"==typeof r&&Object.keys(r||{}).length>0)&&(e[t]=r),e)),{});return{body:t(e.body),qs:t(e.qs)}}(n);if(0===Object.keys(l).length&&!s.sendEmptyBody)return o&&o({sent:!1,targetApp:r}),!1;const g=!1===e.init.ssl?"http":"https",p=e.init.proxy.beacon||e.info.errorBeacon,w=a?"".concat(g,"://").concat(p,"/").concat(t):"".concat(g,"://").concat(p).concat(t!==m.tr?"/"+t:"","/1/").concat(r.licenseKey),y=a?"":function(e,t,r,n){const s=e.runtime.obfuscator.obfuscateString((0,S.f)(""+b._A.location)),i=1===e.runtime.session?.state.sessionReplayMode&&r!==m.Mg,o=1===e.runtime.session?.state.sessionTraceMode&&![m.SP,m.NQ].includes(r),a=["a="+n,N("sa",e.info.sa?""+e.info.sa:""),N("v",v.q4),e.info.transactionName?N("to",e.info.transactionName):N("t",e.info.tNamePlain||"Unnamed Transaction"),N("ct",e.runtime.customTransaction),"&rst="+(0,j.z)(),"&ck=0","&s="+(e.runtime.session?.state.value||"0"),N("ref",s),N("ptid",e.runtime.ptid?""+e.runtime.ptid:"")];return i&&a.push(N("hr","1",t)),o&&a.push(N("ht","1",t)),a.join("")}(e,h,t,r.applicationID);let T=k(h,e.runtime.maxBytes);""===y&&T.startsWith("&")&&(T=T.substring(1));const A="".concat(w,"?").concat(y).concat(T);!!h?.attributes?.includes("gzip")||(t!==m.FP&&(l=(0,E.P)(l)),l.length>75e4&&1===(F[t]=(F[t]||0)+1)&&(0,u.Z)(28,t)),l&&0!==l.length&&"{}"!==l&&"[]"!==l||(l="");const x=[{key:"content-type",value:"text/plain"}];let R=i({url:A,body:l,sync:s.isFinalHarvest&&b.v6,headers:x});return!s.isFinalHarvest&&o&&(i===I?R.addEventListener("loadend",(function(){const e={sent:0!==this.status,status:this.status,retry:M(this.status),fullUrl:A,xhr:this,targetApp:r};s.needResponse&&(e.responseText=this.responseText),o(e)}),(0,_.m$)(!1)):i===D&&R.then((async function(e){const t=e.status,n={sent:!0,status:t,retry:M(t),fullUrl:A,fetchResponse:e,targetApp:r};s.needResponse&&(n.responseText=await e.text()),o(n)}))),(0,f.i)({agentIdentifier:e.agentIdentifier,drained:!!c.T?.[e.agentIdentifier],type:"data",name:"harvest",feature:d,data:{endpoint:t,headers:x,targetApp:r,payload:n,submitMethod:i===I?"xhr":i===D?"fetch":"beacon",raw:a,synchronousXhr:!(!s.isFinalHarvest||!b.v6)}}),!0;function M(e){switch(e){case 408:case 429:case 500:return!0}return e>=502&&e<=504||e>=512&&e<=530}}(this.agentRef,{endpoint:m.r3[e.featureName],targetApp:n,payload:s,localOpts:t,submitMethod:r,cbFinished:o,raw:e.harvestOpts.raw,featureName:e.featureName}),i=!0)})),i;function o(r){e.harvestOpts.prevAttemptCode&&((0,y.p)(w.xS,[(r.retry?"Harvester/Retry/Failed/":"Harvester/Retry/Succeeded/")+e.harvestOpts.prevAttemptCode],void 0,m.DT.metrics,e.ee),delete e.harvestOpts.prevAttemptCode),r.retry&&(e.harvestOpts.prevAttemptCode=r.status),t.forceNoRetry&&(r.retry=!1),e.postHarvestCleanup(r)}}}const F={};class B{#l=new Map;#m={};constructor(e){this.agentRef=e,this.#l.set(h,{licenseKey:e.info.licenseKey,applicationID:e.info.applicationID})}get(e=h){return this.#l.get(e)}getEntityGuidFor(e,t){if(this.#m[e]&&this.#m[t])return this.#m[e].filter((e=>this.#m[t].includes(e)))[0]}set(e,t){this.#l.has(e)||(this.#l.set(e,t),this.#m[t.licenseKey]??=[],this.#m[t.licenseKey].push(e),this.#m[t.applicationID]??=[],this.#m[t.applicationID].push(e),this.agentRef.ee.emit("entity-added",[t]))}clear(){this.#l.clear()}setDefaultEntity(e){this.#l.set(h,e)}}class L{#h=[];#f=0;#g;#p;constructor(e=1e6){this.maxPayloadSize=e}isEmpty(){return 0===this.#h.length}get(){return this.#h}byteSize(){return this.#f}wouldExceedMaxSize(e){return this.#f+e>this.maxPayloadSize}add(e){const t=(0,E.P)(e)?.length||0;return!(this.#f+t>this.maxPayloadSize||(this.#h.push(e),this.#f+=t,0))}clear(){this.#h=[],this.#f=0}save(){this.#g=this.#h,this.#p=this.#f}clearSave(){this.#g=void 0,this.#p=void 0}reloadSave(){this.#g&&(this.#p+this.#f>this.maxPayloadSize||(this.#h=[...this.#g,...this.#h],this.#f=this.#p+this.#f))}}class H{constructor(){this.aggregatedData={}}store(e,t,r,n,s){var i=this.#w(e,t,r,s);return i.metrics=function(e,t){return t||(t={count:0}),t.count+=1,Object.entries(e||{}).forEach((([e,r])=>{t[e]=z(r,t[e])})),t}(n,i.metrics),i}merge(e,t,r,n,s,i=!1){var o=this.#w(e,t,n,s);if(i&&(o.params=n),o.metrics){var a=o.metrics;a.count+=r.count,Object.keys(r||{}).forEach((e=>{if("count"!==e){var t=a[e],n=r[e];n&&!n.c?a[e]=z(n.t,t):a[e]=function(e,t){return t?(t.c||(t=U(t.t)),t.min=Math.min(e.min,t.min),t.max=Math.max(e.max,t.max),t.t+=e.t,t.sos+=e.sos,t.c+=e.c,t):e}(n,a[e])}}))}else o.metrics=r}storeMetric(e,t,r,n){var s=this.#w(e,t,r);return s.stats=z(n,s.stats),s}take(e,t=!0){for(var r={},n="",s=!1,i=0;i<e.length;i++)r[n=e[i]]=Object.values(this.aggregatedData[n]||{}),r[n].length&&(s=!0),t&&delete this.aggregatedData[n];return s?r:null}#w(e,t,r,n){this.aggregatedData[e]||(this.aggregatedData[e]={});var s=this.aggregatedData[e][t];return s||(s=this.aggregatedData[e][t]={params:r||{}},n&&(s.custom=n)),s}}function z(e,t){return null==e?function(e){return e?e.c++:e={c:1},e}(t):t?(t.c||(t=U(t.t)),t.c+=1,t.t+=e,t.sos+=e*e,e>t.max&&(t.max=e),e<t.min&&(t.min=e),t):{t:e}}function U(e){return{t:e,min:e,max:e,sos:e*e,c:1}}class G{#v=new H;#b={};isEmpty({aggregatorTypes:e}){return e?e.every((e=>!this.#v.aggregatedData[e])):0===Object.keys(this.#v.aggregatedData).length}add([e,t,r,n,s]){return this.#v.store(e,t,r,n,s),!0}addMetric(e,t,r,n){return this.#v.storeMetric(e,t,r,n),!0}save({aggregatorTypes:e}){const t=e.toString(),r={};e.forEach((e=>r[e]=this.#v.aggregatedData[e])),this.#b[t]=r}get(e){const t=Array.isArray(e)?e:e.aggregatorTypes;return this.#v.take(t,!1)}clear({aggregatorTypes:e}={}){e?e.forEach((e=>delete this.#v.aggregatedData[e])):this.#v.aggregatedData={}}reloadSave({aggregatorTypes:e}){const t=e.toString(),r=this.#b[t];e.forEach((e=>{Object.keys(r[e]||{}).forEach((t=>{const n=r[e][t];this.#v.merge(e,t,n.metrics,n.params,n.custom,!0)}))}))}clearSave({aggregatorTypes:e}){const t=e.toString();delete this.#b[t]}}class q extends n.W{constructor(e,t){super(e.agentIdentifier,t),this.agentRef=e,this.checkConfiguration(e),this.doOnceForAllAggregate(e),this.harvestOpts={};const r=this.agentRef?.runtime?.appMetadata?.agents?.[0]?.entityGuid;this.#y(r),r||this.ee.on("entity-added",(e=>{this.events?.setEventStore?.(e.entityGuid)}))}#y(e){if(!this.events)switch(this.featureName){case m.DT.sessionTrace:case m.DT.sessionReplay:break;case m.DT.jserrors:case m.DT.metrics:this.events=this.agentRef.sharedAggregator??=new p(this.agentRef,G,e,"shared_aggregator");break;default:this.events=new p(this.agentRef,L,e,this.featureName)}}waitForFlags(e=[]){return new Promise(((t,r)=>{function n(t){return e.map((e=>t[e]?t[e]:0))}c.T[this.agentIdentifier]?t(n(c.T[this.agentIdentifier])):this.ee.on("rumresp",((e={})=>{t(n(e))}))})).catch((e=>{this.ee.emit("internal-error",[e]),this.blocked=!0,this.deregisterDrain()}))}drain(){(0,a.LP)(this.agentIdentifier,this.featureName),this.drained=!0}preHarvestChecks(e){return!this.blocked}makeHarvestPayload(e=!1,t={}){if(!this.events||this.events.isEmpty(this.harvestOpts,t.targetEntityGuid))return;if(this.preHarvestChecks&&!this.preHarvestChecks(t))return;e&&this.events.save(this.harvestOpts,t.targetEntityGuid);const r=this.events.get(this.harvestOpts,t.targetEntityGuid);return r.length?(this.events.clear(this.harvestOpts,t.targetEntityGuid),r.map((({targetApp:e,data:t})=>{const r={body:this.serializer?this.serializer(t,e?.entityGuid):t};return this.queryStringsBuilder&&(r.qs=this.queryStringsBuilder(t,e?.entityGuid)),{targetApp:e,payload:r}}))):(0,u.Z)(52)}postHarvestCleanup(e={}){e.sent&&e.retry&&this.events.reloadSave(this.harvestOpts,e.targetApp?.entityGuid),this.events.clearSave(this.harvestOpts,e.targetApp?.entityGuid)}checkConfiguration(e){if(!(0,s.J)(e.info)){const t=(0,o.gG)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}(0,i.j)(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}doOnceForAllAggregate(e){e.runtime.obfuscator||(e.runtime.obfuscator=new l(e)),this.obfuscator=e.runtime.obfuscator,e.runtime.entityManager||(e.runtime.entityManager=new B(this.agentRef)),e.runtime.harvester||(e.runtime.harvester=new C(e))}reportSupportabilityMetric(e,t){(0,y.p)(w.xS,[e,t],void 0,m.DT.metrics,this.ee)}}},
vendor: 466 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/feature-base.js":(e,t,r)=>{r.d(t,{W:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/drain/drain.js");class i{constructor(e,t){this.agentIdentifier=e,this.ee=n.ee.get(e),this.featureName=t,this.blocked=!1}deregisterDrain(){(0,s.o5)(this.agentIdentifier,this.featureName)}}},
vendor: 1,161 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api-base.js":(e,t,r)=>{r.d(t,{q:()=>i});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api/constants.js");class i{#_(e,...t){if(this[e]!==i.prototype[e])return this[e](...t);(0,n.Z)(35,e)}addPageAction(e,t){return this.#_(s.b8,e,t)}register(e){return this.#_(s.Nz,e)}recordCustomEvent(e,t){return this.#_(s.qQ,e,t)}setPageViewName(e,t){return this.#_(s.ny,e,t)}setCustomAttribute(e,t,r){return this.#_(s.bB,e,t,r)}noticeError(e,t){return this.#_(s.mI,e,t)}setUserId(e){return this.#_(s.Qi,e)}setApplicationVersion(e){return this.#_(s._6,e)}setErrorHandler(e){return this.#_(s.nM,e)}addRelease(e,t){return this.#_(s.fl,e,t)}log(e,t){return this.#_(s.sY,e,t)}start(){return this.#_(s.tj)}finished(e){return this.#_(s._H,e)}recordReplay(){return this.#_(s.b0)}pauseReplay(){return this.#_(s.WJ)}addToTrace(e){return this.#_(s.pQ,e)}setCurrentRouteName(e){return this.#_(s.VW,e)}interaction(){return this.#_(s.b1)}wrapLogger(e,t,r){return this.#_(s.o7,e,t,r)}measure(e,t){return this.#_(s.Mu,e,t)}}},
vendor: 636 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api/constants.js":(e,t,r)=>{r.d(t,{Mu:()=>T,Nz:()=>f,O4:()=>n,Qi:()=>y,VW:()=>p,WJ:()=>l,_6:()=>g,_H:()=>a,b0:()=>h,b1:()=>c,b8:()=>s,bB:()=>w,fl:()=>o,mI:()=>u,nM:()=>v,ny:()=>b,o7:()=>j,pQ:()=>i,qQ:()=>m,sY:()=>d,tj:()=>_});const n="api-",s="addPageAction",i="addToTrace",o="addRelease",a="finished",c="interaction",d="log",u="noticeError",l="pauseReplay",m="recordCustomEvent",h="recordReplay",f="register",g="setApplicationVersion",p="setCurrentRouteName",w="setCustomAttribute",v="setErrorHandler",b="setPageViewName",y="setUserId",_="start",j="wrapLogger",T="measure"},
vendor: 5,798 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/loaders/configure/configure.js":(e,t,r)=>{r.d(t,{j:()=>A});var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api-base.js"),i=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/info.js"),o=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/constants.js");const a=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var c=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/session/constants.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/config/configurable.js");const l="[data-nr-mask]",m=e=>(0,u.D)(e,(()=>{const e={feature_flags:[],experimental:{marks:!1,measures:!1,resources:!1},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0},api:{allow_registered_children:!0,duplicate_registered_data:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{get capture_marks(){return e.feature_flags.includes(o.y8.MARKS)||e.experimental.marks},set capture_marks(t){e.experimental.marks=t},get capture_measures(){return e.feature_flags.includes(o.y8.MEASURES)||e.experimental.measures},set capture_measures(t){e.experimental.measures=t},capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.y8.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:c.oD,inactiveMs:c.Hb},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){a(t)?e.mask_selector="".concat(t,",").concat(l):""===t||null===t?e.mask_selector=l:(0,d.Z)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){a(t)?e.block_selector+=",".concat(t):""!==t&&(0,d.Z)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,d.Z)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},spa:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]}}})());var h=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),f=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/env.npm.js");let g=0;const p={buildEnv:f.Re,distMethod:f.gF,version:f.q4,originTime:h.sK},w={appMetadata:{},customTransaction:void 0,denyList:void 0,disabled:!1,entityManager:void 0,harvester:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,get harvestCount(){return++g}},v=e=>{const t=(0,u.D)(e,w),r=Object.keys(p).reduce(((e,t)=>(e[t]={value:p[t],writable:!1,configurable:!0,enumerable:!0},e)),{});return Object.defineProperties(t,r)};var b=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/feature-flags.js");const y=()=>{};var _=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),j=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js");const T={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},S=e=>(0,u.D)(e,T),E=new Set;function A(e,t={},r,o){let{init:a,info:c,loader_config:d,runtime:u={},exposed:l=!0}=t;if(!c){const e=(0,n.gG)();a=e.init,c=e.info,d=e.loader_config}e.init=m(a||{}),e.loader_config=S(d||{}),c.jsAttributes??={},h.v6&&(c.jsAttributes.isWorker=!0),e.info=(0,i.F)(c);const f=e.init,g=[c.beacon,c.errorBeacon];E.has(e.agentIdentifier)||(f.proxy.assets&&(y(f.proxy.assets),g.push(f.proxy.assets)),f.proxy.beacon&&g.push(f.proxy.beacon),function(e){const t=(0,n.gG)();Object.getOwnPropertyNames(s.q.prototype).forEach((r=>{const n=s.q.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})}))}(e),(0,n.EZ)("activatedFeatures",b.T),e.runSoftNavOverSpa&&=!0===f.soft_navigations.enabled&&f.feature_flags.includes("soft_nav")),u.denyList=[...f.ajax.deny_list||[],...f.ajax.block_internal?g:[]],u.ptid=e.agentIdentifier,u.loaderType=r,e.runtime=v(u),E.has(e.agentIdentifier)||(e.ee=_.ee.get(e.agentIdentifier),e.exposed=l,(0,j.i)({agentIdentifier:e.agentIdentifier,drained:!!b.T?.[e.agentIdentifier],type:"lifecycle",name:"initialize",feature:void 0,data:e.config})),E.add(e.agentIdentifier)}},
vendor: 900 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js":(e,t,r)=>{r.d(t,{DT:()=>c,FP:()=>n,Mg:()=>s,NQ:()=>i,SP:()=>a,pQ:()=>d,r3:()=>u,tr:()=>o});const n="events",s="jserrors",i="browser/blobs",o="rum",a="browser/logs",c={ajax:"ajax",genericEvents:"generic_events",jserrors:s,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations",spa:"spa"},d={[c.pageViewEvent]:1,[c.pageViewTiming]:2,[c.metrics]:3,[c.jserrors]:4,[c.spa]:5,[c.ajax]:6,[c.sessionTrace]:7,[c.softNav]:8,[c.sessionReplay]:9,[c.logging]:10,[c.genericEvents]:11},u={[c.pageViewEvent]:o,[c.pageViewTiming]:n,[c.ajax]:n,[c.spa]:n,[c.softNav]:n,[c.metrics]:s,[c.jserrors]:s,[c.sessionTrace]:i,[c.sessionReplay]:i,[c.logging]:a,[c.genericEvents]:"ins"}},
2"./src/ts/services/newRelic.ts":(e,t,r)=>{var n=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/ids/unique-id.js"),s=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api-base.js");class i extends s.q{agentIdentifier=(0,n.ky)(16)}var o=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/features/features.js");const a=Object.values(o.DT);var c=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/configure/configure.js"),d=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/handle.js"),u=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/timing/now.js"),l=r("../../node_modules/@newrelic/browser-agent/dist/esm/loaders/api/constants.js"),m=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/dispatch/global-event.js"),h=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/console.js"),f=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/feature-flags.js"),g=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/constants.js");function p(e,t,r,n){const s=n||r;!s||s[e]&&s[e]!==i.prototype[e]||(s[e]=function(){(0,d.p)(g.xS,["API/"+e+"/called"],void 0,o.DT.metrics,r.ee),(0,m.i)({agentIdentifier:r.agentIdentifier,drained:!!f.T?.[r.agentIdentifier],type:"data",name:"api",feature:l.O4+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,h.Z)(23,e)}})}function w(e,t,r,n,s){const i=e.info;null===r?delete i.jsAttributes[t]:i.jsAttributes[t]=r,(s||null===r)&&(0,d.p)(l.O4+n,[(0,u.z)(),t,r],void 0,"session",e.ee)}var v=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/drain/drain.js"),b=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/feature-base.js"),y=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/load.js"),_=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/constants/runtime.js"),j=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/nreum.js");const T=e=>_.il&&!0===e?.privacy.cookies_enabled;var S=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/invoke.js");class E extends b.W{constructor(e,t){super(e.agentIdentifier,t),this.abortHandler=void 0,this.featAggregate=void 0,this.onAggregateImported=void 0,this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise(((t,r)=>{this.ee.on("manual-start-all",(0,S.Z)((()=>{(0,v.RP)(e.agentIdentifier,this.featureName),t()})))})):(0,v.RP)(e.agentIdentifier,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;let s;this.onAggregateImported=new Promise((e=>{s=e}));const i=async()=>{let i;await this.deferred;try{if(T(e.init)){const{setupAgentSession:t}=await Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/utils/agent-session.js"));i=t(e)}}catch(e){(0,h.Z)(20,e),this.ee.emit("internal-error",[e]),this.featureName===o.DT.sessionReplay&&this.abortHandler?.()}try{if(!this.#j(this.featureName,i,e.init))return(0,v.LP)(this.agentIdentifier,this.featureName),void s(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),s(!0)}catch(e){(0,h.Z)(34,e),this.abortHandler?.(),(0,v.LP)(this.agentIdentifier,this.featureName,!0),s(!1),this.ee&&this.ee.abort()}};_.il?(0,y.b2)((()=>i()),!0):i()}#j(e,t,r){switch(e){case o.DT.sessionReplay:return function(e){return!!(0,j.mF)().o.MO&&T(e)&&!0===e?.session_trace.enabled}(r)&&!!t;case o.DT.sessionTrace:return!!t;default:return!0}}}var A=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_event/constants.js"),x=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/session/constants.js");class R extends E{static featureName=A.t;constructor(e){var t;super(e,A.t),this.setupInspectionEvents(e.agentIdentifier),t=e,p(l.ny,(function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,d.p)(l.O4+l.ny,[(0,u.z)()],void 0,void 0,t.ee))}),t),this.ee.on("api-send-rum",((e,t)=>
2(0,d.p)("send-rum",[e,t],void 0,this.featureName,this.ee))),this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_event/aggregate/index.js"))))}setupInspectionEvents(e){const t=(t,r)=>{t&&(0,m.i)({agentIdentifier:e,timeStamp:t.timeStamp,loaded:"complete"===t.target.readyState,type:"window",name:r,data:t.target.location+""})};(0,y.KB)((e=>{t(e,"DOMContentLoaded")})),(0,y.b2)((e=>{t(e,"load")})),(0,y.no)((e=>{t(e,"navigate")})),this.ee.on(x.wO.UPDATE,((t,r)=>{(0,m.i)({agentIdentifier:e,type:"lifecycle",name:"session",data:r})}))}}const M=R;class O extends i{constructor(e){var t;super(),_._A?(this.features={},(0,j.h5)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(R),this.runSoftNavOverSpa=[...this.desiredFeatures].some((e=>e.featureName===o.DT.softNav)),(0,c.j)(this,e,e.loaderType||"agent"),t=this,p(l.bB,(function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return w(t,e,r,l.bB,n);(0,h.Z)(40,typeof r)}else(0,h.Z)(39,typeof e)}),t),function(e){p(l.Qi,(function(t){if("string"==typeof t||null===t)return w(e,"enduser.id",t,l.Qi,!0);(0,h.Z)(41,typeof t)}),e)}(this),function(e){p(l._6,(function(t){if("string"==typeof t||null===t)return w(e,"application.version",t,l._6,!1);(0,h.Z)(42,typeof t)}),e)}(this),function(e){p(l.tj,(function(){e.ee.emit("manual-start-all")}),e)}(this),this.run()):(0,h.Z)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return a.forEach((r=>{t[r]=!!e[r]?.enabled})),t}(this.init),t=[...this.desiredFeatures];t.sort(((e,t)=>o.pQ[e.featureName]-o.pQ[t.featureName])),t.forEach((t=>{if(!e[t.featureName]&&t.featureName!==o.DT.pageViewEvent)return;if(this.runSoftNavOverSpa&&t.featureName===o.DT.spa)return;if(!this.runSoftNavOverSpa&&t.featureName===o.DT.softNav)return;const r=function(e){switch(e){case o.DT.ajax:return[o.DT.jserrors];case o.DT.sessionTrace:return[o.DT.ajax,o.DT.pageViewEvent];case o.DT.sessionReplay:return[o.DT.sessionTrace];case o.DT.pageViewTiming:return[o.DT.pageViewEvent];default:return[]}}(t.featureName).filter((e=>!(e in this.features)));r.length>0&&(0,h.Z)(36,{targetFeature:t.featureName,missingDependencies:r}),this.features[t.featureName]=new t(this)}))}catch(e){(0,h.Z)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,j.fP)();return delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator,t.ee.get(this.agentIdentifier).abort(),!1}}}var k=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/get-or-set.js");let N=1;function D(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===_._A?0:(0,k.X)(e,"nr@id",(function(){return N++}))}var I=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/stringify.js");function P(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,I.P)(e).length}catch(e){return}}}var C=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-listener/event-listener-opts.js"),F=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-events.js"),B=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/event-emitter/contextual-ee.js"),L=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/wrap/wrap-function.js");const H={},z=["open","send"];var U="fetch-",G=U+"body-",q=["arrayBuffer","blob","json","text","formData"],K=_._A.Request,V=_._A.Response,Z="prototype";const X={};function W(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===_._A?.location?.protocol&&t.host===_._A?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}class J{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,s=(t.agentID||"").toString()||null,i=(t.trustKey||"").toString()||null;if(!r||!s)return null;var o=(0,n.M)(),a=(0,n.Ht)(),c=Date.now(),d={spanId:o,traceId:a,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(d.traceContextParentHeader=this.generateTraceContextParentHeader(o,a),d.traceContextStateHeader=this.generateTraceContextStateHeader(o,c,r,s,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(d.newrelicHeader=this.generateTraceHeader(o,a,c,r,s,i)),d}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,s){return s+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,s,i){if("function"!=typeof _._A?.btoa)return null;var o={v:[0,1],d:{ty:"Browser",ac:n,ap:s,id:e,tr:t,ti:r}};return i&&n!==i&&(o.d.tk=i),btoa((0,I.P)(o))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var s=W(r.allowed_origins[n]);if(e.hostname===s.hostname&&e.protocol===s.protocol&&e.port===s.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var Q=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/ajax/constants.js"),$=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/deny-list/deny-list.js"),Y=["load","error","abort","timeout"],ee=Y.length,te=(0,j.mF)().o.REQ,re=(0,j.mF)().o.XHR;
2const ne="X-NewRelic-App-Data";class se extends E{static featureName=Q.t;constructor(e){super(e,Q.t),this.dt=new J(e),this.handler=(e,t,r,n)=>(0,d.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};_._A?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorType in e&&0!==t.responseStatus){const r={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};ie(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,o.DT.ajax)}}))}catch(e){}(function(e){const t=function(e){return(e||B.ee).get("fetch")}(e);if(!(K&&V&&_._A.fetch))return t;if(X[t.debugId]++)return t;function r(e,r,n){var s=e[r];"function"==typeof s&&(e[r]=function(){var e,r=[...arguments],i={};t.emit(n+"before-start",[r],i),i[B.A]&&i[B.A].dt&&(e=i[B.A].dt);var o=s.apply(this,r);return t.emit(n+"start",[r,e],o),o.then((function(e){return t.emit(n+"end",[null,e],o),e}),(function(e){throw t.emit(n+"end",[e],o),e}))})}X[t.debugId]=1,q.forEach((e=>{r(K[Z],e,G),r(V[Z],e,G)})),r(_._A,"fetch",U),t.on(U+"end",(function(e,r){var n=this;if(r){var s=r.headers.get("content-length");null!==s&&(n.rxSize=s),t.emit(U+"done",[null,r],n)}else t.emit(U+"done",[e],n)}))})(this.ee),function(e){var t=e||B.ee;const r=function(e){return(e||B.ee).get("xhr")}(t);if(void 0===_._A.XMLHttpRequest)return r;if(H[r.debugId]++)return r;H[r.debugId]=1,(0,F.e)(t);var n=(0,L.xJ)(r),s=_._A.XMLHttpRequest,i=_._A.MutationObserver,o=_._A.Promise,a=_._A.setInterval,c="readystatechange",d=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],u=[],l=_._A.XMLHttpRequest=function(e){const t=new s(e),i=r.context(t);try{r.emit("new-xhr",[t],i),t.addEventListener(c,(o=i,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,r.emit("xhr-resolved",[],e)),n.inPlace(e,d,"fn-",v)}),(0,C.m$)(!1))}catch(e){(0,h.Z)(15,e);try{r.emit("internal-error",[e])}catch(e){}}var o;return t};function m(e,t){n.inPlace(t,["onreadystatechange"],"fn-",v)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,l),l.prototype=s.prototype,n.inPlace(l.prototype,z,"-xhr-",v),r.on("send-xhr-start",(function(e,t){m(0,t),function(e){u.push(e),i&&(f?f.then(w):a?a(w):(g=-g,p.data=g))}(t)})),r.on("open-xhr-start",m),i){var f=o&&o.resolve();if(!a&&!o){var g=1,p=document.createTextNode(g);new i(w).observe(p,{characterData:!0})}}else t.on("fn-end",(function(e){e[0]&&e[0].type===c||w()}));function w(){for(var e=0;e<u.length;e++)m(0,u[e]);u.length&&(u=[])}function v(e,t){return t}}(this.ee),function(e,t,r,n){function s(e){const t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(let t=0;t<ee;t++)e.removeEventListener(Y[t],this.listener,!1);t.aborted||(0,$.zh)(t)||(n.duration=(0,u.z)()-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):i(this,e),n.cbTime=this.cbTime,r("xhr",[t,n,this.startTime,this.endTime,"xhr"],this,o.DT.ajax))}}function i(e,r){e.params.status=r.status;var n=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?P(e.response):"text"===r||""===r||void 0===r?P(e.responseText):void 0}(r,e.lastSize);if(n&&(e.metrics.rxSize=n),e.sameOrigin&&r.getAllResponseHeaders().indexOf(ne)>=0){var s=r.getResponseHeader(ne);s&&((0,d.p)(g.mY,["Ajax/CrossApplicationTracing/Header/Seen"],void 0,o.DT.metrics,t),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}t.on("new-xhr",(function(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=s,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){i(t,e)}),(0,C.m$)(!1)),_.IF||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,C.m$)(!1))})),t.on("open-xhr-start",(function(e){this.params={method:e[0]},ie(this,e[1]),this.metrics={}})),t.on("open-xhr-end",(function(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var s=n.generateTracePayload(this.parsedOrigin);if(s){var i=!1;s.newrelicHeader&&(r.setRequestHeader("newrelic",s.newrelicHeader),i=!0),s.traceContextParentHeader&&(r.setRequestHeader("traceparent",s.traceContextParentHeader),s.traceContextStateHeader&&r.setRequestHeader("tracestate",s.traceContextStateHeader),i=!0),i&&(this.dt=s)}})),t.on("send-xhr-start",(function(e,r){var n=this.metrics,s=e[0],i=this;if(n&&s){var o=P(s);o&&(n.txSize=o)}this.startTime=(0,u.z)(),this.body=s,this.listener=function(e){try{"abort"!==e.type||i.loadCaptureCalled||(i.params.aborted=!0),("load"
2!==e.type||i.called===i.totalCbs&&(i.onloadCalled||"function"!=typeof r.onload)&&"function"==typeof i.end)&&i.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(var a=0;a<ee;a++)r.addEventListener(Y[a],this.listener,(0,C.m$)(!1))})),t.on("xhr-cb-time",(function(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)})),t.on("xhr-load-added",(function(e,t){var r=""+D(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)})),t.on("xhr-load-removed",(function(e,t){var r=""+D(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)})),t.on("xhr-resolved",(function(){this.endTime=(0,u.z)()})),t.on("addEventListener-end",(function(e,r){r instanceof re&&"load"===e[0]&&t.emit("xhr-load-added",[e[1],e[2]],r)})),t.on("removeEventListener-end",(function(e,r){r instanceof re&&"load"===e[0]&&t.emit("xhr-load-removed",[e[1],e[2]],r)})),t.on("fn-end",(function(e,r){this.xhrCbStart&&t.emit("xhr-cb-time",[(0,u.z)()-this.xhrCbStart,this.onload,r],r)})),t.on("fetch-before-start",(function(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&_.il&&(t=""+_._A.location.href):e[0]&&e[0].url?t=e[0].url:_._A?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=W(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var s=n.generateTracePayload(this.parsedOrigin);if(s&&(s.newrelicHeader||s.traceContextParentHeader))if(e[0]&&e[0].headers)a(e[0].headers,s)&&(this.dt=s);else{var i={};for(var o in r)i[o]=r[o];i.headers=new Headers(r.headers||{}),a(i.headers,s)&&(this.dt=s),e.length>1?e[1]=i:e.push(i)}}function a(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}})),t.on("fetch-start",(function(e,t){this.params={},this.metrics={},this.startTime=(0,u.z)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r,n=this.opts||{},s=this.target;"string"==typeof s?r=s:"object"==typeof s&&s instanceof te?r=s.url:_._A?.URL&&"object"==typeof s&&s instanceof URL&&(r=s.href),ie(this,r);var i=(""+(s&&s instanceof te&&s.method||n.method||"GET")).toUpperCase();this.params.method=i,this.body=n.body,this.txSize=P(n.body)||0})),t.on("fn-start",(function(e,t,r){t instanceof re&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,u.z)()))})),t.on("fetch-done",(function(e,t){if(this.endTime=(0,u.z)(),this.params||(this.params={}),(0,$.zh)(this.params))return;let n;this.params.status=t?t.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);const s={txSize:this.txSize,rxSize:n,duration:(0,u.z)()-this.startTime};r("xhr",[this.params,s,this.startTime,this.endTime,"fetch"],this,o.DT.ajax)}))}(e,this.ee,this.handler,this.dt),this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/ajax/aggregate/index.js"))))}}function ie(e,t){var r=W(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}const oe=se;var ae=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/jserrors/constants.js");class ce{constructor(e,t,r,n,s){this.name="UncaughtError",this.message="string"==typeof e?e:(0,I.P)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=s}}function de(e){return me(e)?e:new ce(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic)}function ue(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(me(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return de(e.reason)}const r=de(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function le(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new ce(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic);return t.name=SyntaxError.name,t}return me(e.error)?e.error:de(e)}function me(e){return e instanceof Error&&!!e.stack}function he(e,t,r,n,s=(0,u.z)()){"string"==typeof e&&(e=new Error(e)),(0,d.p)("err",[e,s,!1,t,r.runtime.isRecording,void 0,n],void 0,o.DT.jserrors,r.ee)}var fe=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/util/target.js"),ge=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/logging/constants.js");function pe(e,{customAttributes:t={},level:r=ge.yK.INFO}={},n,s,i=(0,u.z)()){!function(e,t,r={},n=ge.yK.INFO,s,i=(0,u.z)()){(0,d.p)(g.xS,["API/logging/".concat(n.toLowerCase(),"/called")],void 0,o.DT.metrics,e),(0,d.p)(ge.ve,[i,t,r,n,s],void 0,o.DT.logging,e)}(n.ee,e,t,r,s,i)}function we(e,t,r,n,s=(0,u.z)()){(0,d.p)(l.O4+l.b8,[s,e,t,n],void 0,o.DT.genericEvents,r.ee)}function ve(e){p(l.Nz,(function(t){return function(e,t){const r={};let n,s;(0,h.Z)(54,"newrelic.register"),e.init.api.allow_registered_children||(n=()=>(0,h.Z)(55)),t&&(0,fe.d)(t)||(n=()=>(0,h.Z)(48,t));const i={addPageAction:(n,s={})=>
2{a(we,[n,{...r,...s},e],t)},log:(n,s={})=>{a(pe,[n,{...s,customAttributes:{...r,...s.customAttributes||{}}},e],t)},noticeError:(n,s={})=>{a(he,[n,{...r,...s},e],t)},setApplicationVersion:e=>{r["application.version"]=e},setCustomAttribute:(e,t)=>{r[e]=t},setUserId:e=>{r["enduser.id"]=e},metadata:{customAttributes:r,target:t,get connected(){return s||Promise.reject(new Error("Failed to connect"))}}};n?n():s=new Promise(((n,s)=>{try{const o=e.runtime?.entityManager;let a=!!o?.get().entityGuid,c=o?.getEntityGuidFor(t.licenseKey,t.applicationID),d=!!c;if(a&&d)t.entityGuid=c,n(i);else{const u=setTimeout((()=>s(new Error("Failed to connect - Timeout"))),15e3);function l(r){(0,fe.y)(r,e)?a||=!0:t.licenseKey===r.licenseKey&&t.applicationID===r.applicationID&&(d=!0,t.entityGuid=r.entityGuid),a&&d&&(clearTimeout(u),e.ee.removeEventListener("entity-added",l),n(i))}e.ee.emit("api-send-rum",[r,t]),e.ee.on("entity-added",l)}}catch(m){s(m)}}));const a=async(t,r,i)=>{if(n)return n();const a=(0,u.z)();(0,d.p)(g.xS,["API/register/".concat(t.name,"/called")],void 0,o.DT.metrics,e.ee);try{await s;const n=e.init.api.duplicate_registered_data;(!0===n||Array.isArray(n)&&n.includes(i.entityGuid))&&t(...r,void 0,a),t(...r,i.entityGuid,a)}catch(e){(0,h.Z)(50,e)}};return i}(e,t)}),e)}class be extends E{static featureName=ae.t;constructor(e){var t;super(e,ae.t),t=e,p(l.mI,((e,r)=>he(e,r,t)),t),function(e){p(l.nM,(function(t){e.runtime.onerror=t}),e)}(e),function(e){let t=0;p(l.fl,(function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))}),e)}(e),ve(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",((t,r)=>{this.abortHandler&&(0,d.p)("ierr",[de(t),(0,u.z)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)})),_._A.addEventListener("unhandledrejection",(t=>{this.abortHandler&&(0,d.p)("err",[ue(t),(0,u.z)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)}),(0,C.m$)(!1,this.removeOnAbort?.signal)),_._A.addEventListener("error",(t=>{this.abortHandler&&(0,d.p)("err",[le(t),(0,u.z)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)}),(0,C.m$)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#T,this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/jserrors/aggregate/index.js"))))}#T(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}const ye=be;class _e extends E{static featureName=g.t9;constructor(e){super(e,g.t9),_.il&&document.addEventListener("securitypolicyviolation",(e=>{(0,d.p)(g.xS,["Generic/CSPViolation/Detected"],void 0,this.featureName,this.ee)})),this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/metrics/aggregate/index.js"))))}}const je=_e;var Te=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/constants.js");class Se extends E{static featureName=Te.t9;constructor(e){super(e,Te.t9);const t=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.user_actions.enabled,e.init.performance.resources.enabled];var n;n=e,p(l.b8,((e,t)=>we(e,t,n)),n),function(e){p(l.qQ,(function(){(0,d.p)(l.O4+l.qQ,[(0,u.z)(),...arguments],void 0,o.DT.genericEvents,e.ee)}),e)}(e),function(e){p(l._H,(function(t=Date.now()){const r=t-_.sK;r<0&&(0,h.Z)(62,t),(0,d.p)(g.vz,[l._H,{time:r}],void 0,o.DT.metrics,e.ee),e.addToTrace({name:l._H,start:t,origin:"nr"}),(0,d.p)(l.O4+l.b8,[r,l._H],void 0,o.DT.genericEvents,e.ee)}),e)}(e),ve(e),function(e){p(l.Mu,(function(t,r){const n=(0,u.z)(),{start:s,end:i,customAttributes:a}=r||{},c={customAttributes:a||{}};if("object"!=typeof c.customAttributes||"string"!=typeof t||0===t.length)return void(0,h.Z)(57);const m=(e,t)=>null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(c.start=m(s,0),c.end=m(i,n),Number.isNaN(c.start)||Number.isNaN(c.end))(0,h.Z)(57);else{if(c.duration=c.end-c.start,!(c.duration<0))return(0,d.p)(l.O4+l.Mu,[c,t],void 0,o.DT.genericEvents,e.ee),c;(0,h.Z)(58)}}),e)}(e),_.il&&(e.init.user_actions.enabled&&(Te.z5.forEach((e=>(0,C.bP)(e,(e=>(0,d.p)("ua",[e],void 0,this.featureName,this.ee)),!0))),Te.jC.forEach((e=>{const t=(0,S.D)((e=>{(0,d.p)("ua",[e],void 0,this.featureName,this.ee)}),500,{leading:!0});(0,C.bP)(e,t)}))),e.init.performance.resources.enabled&&_._A.PerformanceObserver?.supportedEntryTypes.includes("resource"))&&new PerformanceObserver((e=>
2{e.getEntries().forEach((e=>{(0,d.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)}))})).observe({type:"resource",buffered:!0}),t.some((e=>e))?this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/generic_events/aggregate/index.js")))):this.deregisterDrain()}}const Ee=Se;var Ae=r("../../node_modules/@newrelic/browser-agent/dist/esm/common/window/page-visibility.js"),xe=r("../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_timing/constants.js");class Re extends E{static featureName=xe.t;constructor(e){super(e,xe.t),_.il&&((0,Ae.N)((()=>(0,d.p)("docHidden",[(0,u.z)()],void 0,xe.t,this.ee)),!0),(0,C.bP)("pagehide",(()=>(0,d.p)("winPagehide",[(0,u.z)()],void 0,xe.t,this.ee))),this.importAggregator(e,(()=>Promise.all([r.e("latevendors"),r.e("newrelic")]).then(r.bind(r,"../../node_modules/@newrelic/browser-agent/dist/esm/features/page_view_timing/aggregate/index.js")))))}}const Me=Re,Oe=e=>{var t,r,n;return(n=null===(r=null===(t=window.digitalData)||void 0===t?void 0:t.variance)||void 0===r?void 0:r.config,e=>{if(null==n)return null;const t=n[e];return null==t?null:(e=>{const t=e.toLowerCase();return"true"===t||"false"!==t&&(isNaN(Number(e))||""===e.trim()?e:Number(e))})(t)})(e)};var ke=r("../../node_modules/js-cookie/src/js.cookie.js"),Ne=r.n(ke);const De=Oe("newrelic_sample_rate"),Ie=Oe("newrelic_sample_rate_canary")||De,Pe=!!Oe("newrelic_force_sample"),Ce=Oe("newrelic_beacon")||"bam.nr-data.net",Fe=Oe("newrelic_agent_id"),Be=Oe("newrelic_account_id"),Le=Oe("newrelic_license_key"),He={info:{beacon:Ce,errorBeacon:Ce,licenseKey:Le,applicationID:Fe,sa:1},init:{privacy:{cookies_enabled:!0},ajax:{deny_list:[Ce,"*"]}},loader_config:{accountID:Be,trustKey:Be,agentID:Fe,licenseKey:Le,applicationID:Fe}};(async()=>{var e,t,r,n,s;try{if(!Fe||!Be||!Le)throw Error("New Relic not enabled for environment");if("1"===Ne().get("_cpauthhint"))throw Error("New Relic not enabled for contentpass users");const{canaryID:i,contentType:o}=null===(t=null===(e=window.digitalData)||void 0===e?void 0:e.page)||void 0===t?void 0:t.pageInfo,a=!!i||"False"===i,c=Ne().get("_TO_Cached"),d=a?Ie:De;if(Pe||Math.random()<=d){const e=new O({...He,features:[oe,ye,je,Ee,M,Me]});e.setCustomAttribute("toCanaryId",i),e.setCustomAttribute("toPageType",o),e.setCustomAttribute("toPageIsCached",c),e.setCustomAttribute("servingStack",Oe("serving_stack")),Object.entries(null!==(s=null===(n=null===(r=window.digitalData)||void 0===r?void 0:r.variance)||void 0===n?void 0:n.flags)&&void 0!==s?s:{}).forEach((([t,r])=>{e.setCustomAttribute(`feature_${t}`,String(Number(r)))})),e.start()}}catch(e){console.error(e)}})()},
vendor: 10,991 bytes, line 2
2"../../node_modules/@newrelic/browser-agent/node_modules/web-vitals/dist/web-vitals.attribution.js":(e,t,r)=>{r.d(t,{NO:()=>ne,Yn:()=>ee,a4:()=>O,mr:()=>ae,mw:()=>M});var n,s,i=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},o=function(e){if("loading"===document.readyState)return"loading";var t=i();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},a=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},c=function(e,t){var r="";try{for(;e&&9!==e.nodeType;){var n=e,s=n.id?"#"+n.id:a(n)+(n.classList&&n.classList.value&&n.classList.value.trim()&&n.classList.value.trim().length?"."+n.classList.value.trim().replace(/\s+/g,"."):"");if(r.length+s.length>(t||100)-1)return r||s;if(r=r?s+">"+r:s,n.id)break;e=n.parentNode}}catch(e){}return r},d=-1,u=function(){return d},l=function(e){addEventListener("pageshow",(function(t){t.persisted&&(d=t.timeStamp,e(t))}),!0)},m=function(){var e=i();return e&&e.activationStart||0},h=function(e,t){var r=i(),n="navigate";return u()>=0?n="back-forward-cache":r&&(document.prerendering||m()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},f=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},g=function(e,t,r,n){var s,i;return function(o){t.value>=0&&(o||n)&&((i=t.value-(s||0))||void 0===s)&&(s=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,r),e(t))}},p=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},w=function(e){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e()}))},v=function(e){var t=!1;return function(){t||(e(),t=!0)}},b=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_=function(e){"hidden"===document.visibilityState&&b>-1&&(b="visibilitychange"===e.type?e.timeStamp:0,T())},j=function(){addEventListener("visibilitychange",_,!0),addEventListener("prerenderingchange",_,!0)},T=function(){removeEventListener("visibilitychange",_,!0),removeEventListener("prerenderingchange",_,!0)},S=function(){return b<0&&(b=y(),j(),l((function(){setTimeout((function(){b=y(),j()}),0)}))),{get firstHiddenTime(){return b}}},E=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},A=[1800,3e3],x=function(e,t){t=t||{},E((function(){var r,n=S(),s=h("FCP"),i=f("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime<n.firstHiddenTime&&(s.value=Math.max(e.startTime-m(),0),s.entries.push(e),r(!0)))}))}));i&&(r=g(e,s,A,t.reportAllChanges),l((function(n){s=h("FCP"),r=g(e,s,A,t.reportAllChanges),p((function(){s.value=performance.now()-n.timeStamp,r(!0)}))})))}))},R=[.1,.25],M=function(e,t){!function(e,t){t=t||{},x(v((function(){var r,n=h("CLS",0),s=0,i=[],o=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],r=i[i.length-1];s&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,i.push(e)):(s=e.value,i=[e])}})),s>n.value&&(n.value=s,n.entries=i,r())},a=f("layout-shift",o);a&&(r=g(e,n,R,t.reportAllChanges),w((function(){o(a.takeRecords()),r(!0)})),l((function(){s=0,n=h("CLS",0),r=g(e,n,R,t.reportAllChanges),p((function(){return r()}))})),setTimeout(r,0))})))}((function(t){var r=function(e){var t,r={};if(e.entries.length){var n=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(n&&n.sources&&n.sources.length){var s=(t=n.sources).find((function(e){return e.node&&1===e.node.nodeType}))||t[0];s&&(r={largestShiftTarget:c(s.node),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:s,largestShiftEntry:n,loadState:o(n.startTime)})}}return Object.assign(e,{attribution:r})}(t);e(r)}),t)},O=function(e,t){x((function(t){var r=function(e){var t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:o(u())};if(e.entries.length){var r=i(),n=e.entries[e.entries.length-1];if(r){var s=r.activationStart||0,a=Math.max(0,r.responseStart-s);t={timeToFirstByte:a,firstByteToFCP:e.value-a,loadState:o(e.entries[0].startTime),navigationEntry:r,fcpEntry:n}}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)},k=0,N=1/0,D=0,I=function(e){e.forEach((function(e){e.interactionId&&(N=Math.min(N,e.interactionId),D=Math.max(D,e.interactionId),k=D?(D-N)/7+1:0)}))},P=function(){return n?k:performance.interactionCount||0},C=function(){"interactionCount"in performance||n||(n=f("event",I,{type:"event",buffered:!0,durationThreshold:0}))},F=[],B=new Map,L=0,H=[],z=function(e){if(H.forEach((function(t){return t(e)})),e.interactionId||"first-input"===e.entryType){var t=F[F.length-1],r=B.get(e.interactionId);if(r||F.length<10||e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B.set(n.id,n),F.push(n)}F.sort((function(e,t){return t.latency-e.latency})),F.length>10&&F.splice(10).forEach((function(e){return B.delete(e.id)}))}}},U=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=v(e),"hidden"===document.visibilityState?e():(r=t(e),w(e)),r},G=[200,500],q=[],K=[],V=0,Z=new WeakMap,X=new Map,W=-1,J=function(e){q=q.concat(e),Q()},Q=function(){W<0&&(W=U($))},$=function(){X.size>10&&X.forEach((function(e,t){B.has(t)||X.delete(t)}));var e=F.map((function(e){return Z.get(e.entries[0])})),t=K.length-50;K=K.filter((function(r,n){return n>=t||e.includes(r)}));for(var r=new Set,n=0;n<K.length;n++){var s=K[n];Y(s.startTime,s.processingEnd).forEach((function(e){r.add(e)}))}var i=q.length-1-50;q=q.filter((function(e,t){return e.startTime>V&&t>i||r.has(e)})),W=-1};H.push((function(e){e.interactionId&&e.target&&!X.has(e.interactionId)&&X.set(e.interactionId,e.target)}),(function(e){var t,r=e.startTime+e.duration;V=Math.max(V,e.processingEnd);for(var n=K.length-1;n>=0;n--){var s=K[n];if(Math.abs(r-s.renderTime)<=8){(t=s).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:r,entries:[e]},K.push(t)),(e.interactionId||"first-input"===e.entryType)&&Z.set(e,t),Q()}));var Y=function(e,t){for(var r,n=[],s=0;r=q[s];s++)if(!(r.startTime+r.duration<e)){if(r.startTime>t)break;n.push(r)}return n},ee=function(e,t){s||(s=f("long-animation-frame",J)),function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},E((function(){var r;C();var n,s=h("INP"),i=function(e){U((function(){e.forEach(z);var t=function(){var e=Math.min(F.length-1,Math.floor((P()-L)/50));return F[e]}();t&&t.latency!==s.value&&(s.value=t.latency,s.entries=t.entries,n())}))},o=f("event",i,{durationThreshold:null!==(r=t.durationThreshold)&&void 0!==r?r:40});n=g(e,s,G,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),w((function(){i(o.takeRecords()),n(!0)})),l((function(){L=P(),F.length=0,B.clear(),s=h("INP"),n=g(e,s,G,t.reportAllChanges)})))})))}((function(t){var r=function(e){var t=e.entries[0],r=Z.get(t),n=t.processingStart,s=r.processingEnd,i=r.entries.sort((function(e,t){return e.processingStart-t.processingStart})),a=Y(t.startTime,s),d=e.entries.find((function(e){return e.target})),u=d&&d.target||X.get(t.interactionId),l=[t.startTime+t.duration,s].concat(a.map((function(e){return e.startTime+e.duration}))),m=Math.max.apply(Math,l),h={interactionTarget:c(u),interactionTargetElement:u,interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:m,processedEventEntries:i,longAnimationFrameEntries:a,inputDelay:n-t.startTime,processingDuration:s-n,presentationDelay:Math.max(m-s,0),loadState:o(t.startTime)};return Object.assign(e,{attribution:h})}(t);e(r)}),t)},te=[2500,4e3],re={},ne=function(e,t){!function(e,t){t=t||{},E((function(){var r,n=S(),s=h("LCP"),i=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach((function(e){e.startTime<n.firstHiddenTime&&(s.value=Math.max(e.startTime-m(),0),s.entries=[e],r())}))},o=f("largest-contentful-paint",i);if(o){r=g(e,s,te,t.reportAllChanges);var a=v((function(){re[s.id]||(i(o.takeRecords()),o.disconnect(),re[s.id]=!0,r(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return U(a)}),{once:!0,capture:!0})})),w(a),l((function(n){s=h("LCP"),r=g(e,s,te,t.reportAllChanges),p((function(){s.value=performance.now()-n.timeStamp,re[s.id]=!0,r(!0)}))}))}}))}((function(t){var r=function(e){var t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){var r=i();if(r){var n=r.activationStart||0,s=e.entries[e.entries.length-1],o=s.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===s.url}))[0],a=Math.max(0,r.responseStart-n),d=Math.max(a,o?(o.requestStart||o.startTime)-n:0),u=Math.max(d,o?o.responseEnd-n:0),l=Math.max(u,s.startTime-n);t={element:c(s.element),timeToFirstByte:a,resourceLoadDelay:d-a,resourceLoadDuration:u-d,elementRenderDelay:l-u,navigationEntry:r,lcpEntry:s},s.url&&(t.url=s.url),o&&(t.lcpResourceEntry=o)}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)},se=[800,1800],ie=function e(t){document.prerendering?E((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},oe=function(e,t){t=t||{};var r=h("TTFB"),n=g(e,r,se,t.reportAllChanges);ie((function(){var s=i();s&&(r.value=Math.max(s.responseStart-m(),0),r.entries=[s],n(!0),l((function(){r=h("TTFB",0),(n=g(e,r,se,t.reportAllChanges))(!0)})))}))},ae=function(e,t){oe((function(t){var r=function(e){var t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){var r=e.entries[0],n=r.activationStart||0,s=Math.max((r.workerStart||r.fetchStart)-n,0),i=Math.max(r.domainLookupStart-n,0),o=Math.max(r.connectStart-n,0),a=Math.max(r.connectEnd-n,0);t={waitingDuration:s,cacheDuration:i-s,dnsDuration:o-i,connectionDuration:a-o,requestDuration:e.value-a,navigationEntry:r}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)};new Date}
2},e=>{e.O(0,["latevendors"],(()=>e(e.s="./src/ts/services/newRelic.ts"))),e.O()}]);
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.