PageSourceSearch

https://audioboom.com/assets/packs/js/newrelic-common-a84425d2956c0f17fcad.chunk.js

js audioboom.com collected 2026-10-01 07:40:12 UTC 104,992 bytes, 2 lines download raw bytes

1/*! For license information please see newrelic-common-a84425d2956c0f17fcad.chunk.js.LICENSE.txt */
2!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2791a765-a3f8-4734-9dde-36b71ceaecff",e._sentryDebugIdIdentifier="sentry-dbid-2791a765-a3f8-4734-9dde-36b71ceaecff")}catch(e){}}(),(self.webpackChunkaudioboom_web=self.webpackChunkaudioboom_web||[]).push([[8170],{19644:function(e,t,r){"use strict";r.d(t,{a:function(){return function e(t,r){try{if(!t||"object"!=typeof t)return(0,n.R)(3);if(!r||"object"!=typeof r)return(0,n.R)(4);let i=Object.create(Object.getPrototypeOf(r),Object.getOwnPropertyDescriptors(r)),a=0===Object.keys(i).length?t:i;for(let s in a)if(void 0!==t[s])try{if(null===t[s]){i[s]=null;continue}Array.isArray(t[s])&&Array.isArray(r[s])?i[s]=Array.from(new Set([...t[s],...r[s]])):t[s]instanceof Map||t[s]instanceof Set||t[s]instanceof Date||t[s]instanceof RegExp?i[s]=t[s]:"object"==typeof t[s]&&null!==r[s]&&"object"==typeof r[s]?i[s]=e(t[s],r[s]):i[s]=t[s]}catch(e){i[s]||(0,n.R)(1,e)}return i}catch(e){(0,n.R)(2,e)}}}});var n=r(49674)},29077:function(e,t,r){"use strict";r.d(t,{f:function(){return s}});var n=r(21966),i=r(19644);let a={beacon:n.NT.beacon,errorBeacon:n.NT.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 s(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}r.d(t,["D",0,e=>(0,i.a)(e,a)])},97517:function(e,t,r){"use strict";var n=r(19470);let i={[n.K7.logging]:!0,[n.K7.genericEvents]:!0,[n.K7.jserrors]:!0,[n.K7.ajax]:!0};r.d(t,["It",0,1e6,"KC",0,i,"qh",0,"SESSION_ERROR"])},5928:function(e,t,r){"use strict";r.d(t,["xv",0,"1.322.0"])},4463:function(e,t,r){"use strict";r.d(t,["R",0,{AJAX:"AjaxRequest",PA:"PageAction",UA:"UserAction",BP:"BrowserPerformance",WS:"WebSocket",SPV:"SecurityPolicyViolation",JSE:"JavaScriptError",LOG:"Log",PVE:"PageView",PVT:"PageViewTiming",SR:"SessionReplay",ST:"SessionTrace",BI:"BrowserInteraction"}])},58740:function(e,t,r){"use strict";let n;var i=r(31609);let a="u">typeof window&&!!window.document,s="u">typeof WorkerGlobalScope&&("u">typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"u">typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),o=a?window:"u">typeof WorkerGlobalScope&&("u">typeof self&&self instanceof WorkerGlobalScope&&self||"u">typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis);o?.document?.readyState;let c=o?.document?.visibilityState==="hidden",u=""+o?.location,l=/iPad|iPhone|iPod/.test(o.navigator?.userAgent),d=l&&"u"<typeof SharedWorker;Array.isArray(n=o.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/))&&n.length>=2&&n[1];let f=Date.now()-(0,i.t)();r.d(t,["OF",0,l,"RI",0,a,"WN",0,f,"bv",0,s,"gm",0,o,"m",0,u,"mw",0,c,"sb",0,d,"zk",0,()=>{let e=o?.performance?.getEntriesByType?.("navigation")?.[0];if(e&&e.responseStart>0&&e.responseStart<o.performance.now())return e}])},71999:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(58740);function i(e={}){try{n.gm.dispatchEvent(new CustomEvent("newrelic",{detail:e}))}catch(e){}}},72293:function(e,t,r){"use strict";function n(e){return!!e&&e.self!==e.top}r.d(t,{v:function(){return n}})},73902:function(e,t,r){"use strict";var n=r(2822);r.d(t,["l",0,(e,t=[],r)=>{let i=[],a={path:void 0,nearestFields:{},get targets(){return i.length?i:[r.runtime.v2Target]},hasButton:!1,hasLink:!1};if(!e)return a;
2if(e===window)return a.path="window",a;if(e===document)return a.path="document",a;let s="",o=function(e){try{let t=1,{tagName:r}=e;for(;e.previousElementSibling;)e.previousElementSibling.tagName===r&&t++,e=e.previousElementSibling;return t}catch(e){}}(e);try{for(;e?.tagName;){let o=e.tagName.toLowerCase();a.hasLink||="a"===o,a.hasButton||="button"===o||"input"===o&&"button"===e.type.toLowerCase(),t.forEach(t=>{var r;a.nearestFields[r=t,"tagName"===r&&(r="tag"),"className"===r&&(r="class"),"nearest".concat(r.charAt(0).toUpperCase()+r.slice(1))]||=e[t]?.baseVal||e[t]});let c=e?.dataset;c.nrMfeId&&i.push(...(0,n.Ms)(c.nrMfeId,r)),s=function(e,t){let{id:r,localName:n}=e;return[n,r?"#".concat(r):"",t?">".concat(t):""].join("")}(e,s),e=e.parentNode}}catch(e){}return a.path=s?o?"".concat(s,":nth-of-type(").concat(o,")"):s:void 0,a}])},96657:function(e,t,r){"use strict";r.d(t,{Ak:function(){return o},Ze:function(){return u},x3:function(){return c}});var n=r(71999),i=r(72024),a=r(19470),s=r(81752);function o(e,t){if(!e)return;let r={staged:!1,priority:a.P3[t]||0};e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,r)}function c(e,t){if(!e)return;let r=e.runtime.drainRegistry;r&&(r.get(t)&&r.delete(t),d(e,t,!1),r.size&&l(e))}function u(e,t="feature",r=!1){if(e){if(!e.runtime.drainRegistry.get(t)||r)return d(e,t);e.runtime.drainRegistry.get(t).staged=!0,l(e)}}function l(e){if(!e)return;let t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),d(e,t)}))}function d(e,t,r=!0){if(!e)return;let a=e.ee,o=i.i.handlers;if(a&&!a.aborted&&a.backlog&&o){if((0,n.W)({type:"lifecycle",name:"drain",feature:t}),r){let e=a.backlog[t],r=o[t];if(r){for(let t=0;e&&t<e.length;++t)!function(e,t){Object.values(t[e[1]]||{}).forEach(t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],a=e[2];n.apply(i,a)}})}(e[t],r);Object.entries(r).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof s.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}a.isolatedBacklog||delete o[t],a.backlog[t]=null,a.emit("drain-"+t,[])}}},68126:function(e,t,r){"use strict";var n=r(21966),i=r(29176),a=r(81752),s=r(46549);let o="nr@context:".concat(s.W),c=function e(t,r){var n={},s={},l={},d=!1;try{d=16===r.length&&u.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(r)for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,a){if(!1!==a&&(a=!0),!c.aborted||i){t&&a&&t.emit(e,r,n);var o=h(n);g(e).forEach(e=>{e.apply(o,r)});var u=m()[s[e]];return u&&u.push([f,e,r,o]),o}},get:function(t){return l[t]=l[t]||e(f,t)},listeners:g,context:h,buffer:function(e,t){let r=m();t=t||"feature",f.aborted||Object.entries(e||{}).forEach(([e,n])=>{s[n]=t,t in r||(r[t]=[])})},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach(e=>{delete f.backlog[e]})},isBuffering:function(e){return!!m()[s[e]]},debugId:r,backlog:d?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:d};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||t&&(e=t.aborted),e}}),f;function h(e){return e&&e instanceof a.y?e:e?(0,i.I)(e,o,()=>new a.y(o)):new a.y(o)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(){return f.backlog}}(void 0,"globalEE"),u=(0,n.Zm)();u.ee||(u.ee=c),r.d(t,["P",0,o,"ee",0,c])},81752:function(e,t,r){"use strict";r.d(t,{y:function(){return n}});class n{constructor(e){this.contextId=e}}},34842:function(e,t,r){"use strict";r.d(t,{d:function(){return n},p:function(){return i}});var n=r(68126).ee.get("handle");function i(e,t,r,i,a){a?(a.buffer([e],i),a.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},72024:function(e,t,r){"use strict";r.d(t,{i:function(){return a}});var n=r(34842);a.on=s;var i=a.handlers={};function a(e,t,r,a){s(a||n.d,i,e,t,r)}function s(e,t,r,i,a){a||(a="feature"),e||(e=n.d);var s=t[a]=t[a]||{};(s[r]=s[r]||[]).push([e,i])}},17508:function(e,t,r){"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,a){window.addEventListener(e,t,n(r,a))}function a(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:function(){return a},jT:function(){return n},sp:function(){return i}})},50663:function(e,t,r){"use strict";r.r(t),r.d(t,{Connector:function(){return h}});var n=r(58740),i=r(58288),a=r(46735),s=r(38903),o=r(31609),c=r(49674),u=r(5928),l=r(19470),d=r(34842),f=r(7187);class h{#e;#t;#r=0;constructor(e){if(!e.init.feature_flags.includes("rum_v2"))return;if(this.#e=e,e.runtime.timeKeeper=new a.o(e.runtime.session),n.RI){let t=e.runtime.session&&e.runtime.session.state.cachedRumResponse;if(t){let{app:e,...r}=t;this.#n({app:e,config:r});return}}this.makeConnectRequest()}makeConnectRequest(e){return this.#t=(0,o.t)(),(0,i.t)(this.#e,{endpoint:"browser/connect/2/".concat(this.#e.info.licenseKey),payload:{body:{},qs:{a:this.#e.info.applicationID,v:u.xv,s:this.#e.runtime.session?.state.value||"0"}},localOpts:{sendEmptyBody:!0,headers:e},raw:!0,featureName:l.hg,cbFinished:this.#i.bind(this)})}#n({app:e,config:t}){Object.keys(this.#e.runtime.appMetadata).length||(this.#e.runtime.appMetadata=e),(0,s.t)(t,this.#e)}#i({sent:e,status:t,retry:r,xhr:n,responseText:a}){let s,u=(0,o.t)(),h=this.#e.runtime.session;if(h){let e=h.state.cachedRumResponse;if(e){(0,d.p)(f.xV,["Session/RaceCondition/Seen"],void 0,l.K7.metrics,this.#e.ee);let{app:t,...r}=e;this.#n({app:t,config:r});return}}if(e&&r&&++this.#r<3){let e=Math.floor(3e3*Math.random()*2**(this.#r-1)),r=[{key:"X-Retry-Count",value:this.#r},{key:"X-Previous-Status",value:t}];setTimeout(()=>this.makeConnectRequest(r),e);return}if(t>=400||0===t){(0,c.R)(18,t);let e=new TextEncoder,r=Object.values(newrelic.ee.backlog).reduce((t,r)=>r?t+e.encode(r).byteLength:t,0),n="BCS/Error/",a=[{params:{name:n+t},stats:{c:1}},{params:{name:n+"Duration/Ms"},stats:{c:1,t:u-this.#t}},{params:{name:n+"Dropped/Bytes"},stats:{c:1,t:r}}];(0,i.t)(this.#e,{endpoint:l.$J[l.K7.metrics],payload:{body:{sm:a}},featureName:l.K7.metrics}),this.#e.ee.abort();return}try{s=JSON.parse(a)}catch(e){(0,c.R)(53,e),this.#e.ee.abort();return}h&&h.write({cachedRumResponse:{app:s.app,...s.config}});try{let e=this.#e.runtime.timeKeeper.ready;if(this.#e.runtime.timeKeeper.processRumRequest(n,this.#t,u,s.app.nrServerTime),!this.#e.runtime.timeKeeper.ready)throw Error("TimeKeeper not ready");let t=this.#e.runtime.timeKeeper.correctedOriginTime-s.app.nrServerTime;e&&t>0&&(0,d.p)(f.xV,["Generic/TimeKeeper/InvalidTimestamp/Seen",t],void 0,l.K7.metrics,this.#e.ee)}catch(e){(0,c.R)(17,e),this.#e.ee.abort();return}this.#n(s)}}},29017:function(e,t,r){"use strict";r.r(t),r.d(t,{Harvester:function(){return g}});var n=r(7187),i=r(19470),a=r(34842),s=r(58740),o=r(62449);if(s.bv){s.gm.cleanupTasks=[];let e=s.gm.close;s.gm.close=()=>{for(let e of s.gm.cleanupTasks)e();e()}}var c=r(85668),u=r(58288),l=r(15377);let d="Harvester/Retry/",f=d+"Attempted/",h=d+"Failed/",p=d+"Succeeded/";class g{#a=!1;initializedAggregates=[];constructor(e){this.agentRef=e,this.obfuscator=new l.F(e)}startTimer(e=this.agentRef.init.harvest.interval){var t;if(this.#a)return;this.#a=!0,t=()=>
2{this.initializedAggregates.forEach(e=>{"function"==typeof e.harvestOpts.beforeUnload&&e.harvestOpts.beforeUnload()}),this.initializedAggregates.forEach(e=>this.triggerHarvestFor(e,{isFinalHarvest:!0}))},s.RI?(0,o.u)(t,!0):s.bv&&s.gm.cleanupTasks.push(t);let r=()=>{this.initializedAggregates.forEach(e=>this.triggerHarvestFor(e)),setTimeout(r,1e3*e)};setTimeout(r,1e3*e)}triggerHarvestFor(e,t={}){let r={ranSend:!1,payload:void 0,endpointVersion:e.harvestEndpointVersion||1};if(e.blocked||this.agentRef.init?.browser_consent_mode?.enabled&&!this.agentRef.runtime.consented)return r;let s=(0,c.mj)(t);if(!s)return r;let o=!t.isFinalHarvest&&s===c.nF;return r.payload=e.makeHarvestPayload(o,t),r.payload&&((0,u.t)(this.agentRef,{endpoint:i.$J[e.featureName],payload:r.payload,localOpts:t,submitMethod:s,harvesterObfuscator:this.obfuscator,cbFinished:function(r){if(e.harvestOpts.prevAttemptCode){let t=t=>(0,a.p)(n.xV,[t],void 0,i.K7.metrics,e.ee);t(f+e.featureName),t((r.retry?h:p)+e.harvestOpts.prevAttemptCode),delete e.harvestOpts.prevAttemptCode}r.retry&&(e.harvestOpts.prevAttemptCode=r.status),t.forceNoRetry&&(r.retry=!1),e.postHarvestCleanup(r)},raw:e.harvestOpts.raw,featureName:e.featureName,endpointVersion:r.endpointVersion}),r.ranSend=!0),r}}},58288:function(e,t,r){"use strict";r.d(t,{t:function(){return T}});var n=r(19470),i=r(5928),a=r(58740),s=r(34842),o=r(17508),c=r(31609),u=r(18897),l=r(21690),d={"%2C":",","%3A":":","%2F":"/","%40":"@","%24":"$","%3B":";"},f=RegExp(Object.keys(d).join("|"),"g");function h(e){return d[e]}function p(e){return null==e?"null":encodeURIComponent(e).replace(f,h)}function g(e,t,r={}){return Object.keys(r).includes(e)?"":t&&"string"==typeof t?"&"+e+"="+p(t):""}var m=r(49674),v=r(85668),y=r(71999);let b={};function T(e,{endpoint:t,payload:r,localOpts:d={},submitMethod:f=(0,v.mj)(),cbFinished:h,raw:w,featureName:E,endpointVersion:S=1,harvesterObfuscator:R}){var A,k,M,x,I,D,_;let O,j,B,P,N,L;if(!e.info.errorBeacon)return!1;let{body:C,qs:F}=function(e={}){let t=e=>"u">typeof Uint8Array&&e instanceof Uint8Array||Array.isArray(e)||"string"==typeof e?e: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)}}(r);if(0===Object.keys(C).length&&!d.sendEmptyBody)return h&&h({sent:!1}),!1;let W=!1===e.init.ssl?"http":"https",V=e.init.proxy.beacon||e.info.errorBeacon,K="rum"!==t||1!==S,U=w?"".concat(W,"://").concat(V,"/").concat(t):"".concat(W,"://").concat(V).concat(K?"/"+t:"","/").concat(S,"/").concat(e.info.licenseKey),H=w?"":(x=e,I=F,D=t,_=R,O=(0,u.L)(""+a.gm.location),j=_?.obfuscateString(O)??O,B=x.runtime.session,P=!!B?.state.sessionReplaySentFirstChunk&&B?.state.sessionReplayMode===1&&D!==n.XX,N=!!B?.state.traceHarvestStarted&&B?.state.sessionTraceMode===1&&![n.Yy,n.df].includes(D),L=["a="+x.info.applicationID,g("sa",x.info.sa?""+x.info.sa:""),g("v",i.xv),x.info.transactionName?g("to",x.info.transactionName):g("t",x.info.tNamePlain||"Unnamed Transaction"),g("ct",x.runtime.customTransaction),"&rst="+(0,c.t)(),"&s="+(B?.state.value||"0"),g("ref",j),g("ptid",x.runtime.ptid?""+x.runtime.ptid:"")],P&&L.push(g("hr","1",I)),N&&L.push(g("ht","1",I)),L.join("")),z=(A=e.runtime.maxBytes,k=0,M="",Object.entries(F||{}).forEach(([e,t])=>{var r,n,i=[];if("string"==typeof t||!Array.isArray(t)&&null!=t&&t.toString().length)r="&"+e+"="+p(t),k+=r.length,M+=r;else if(Array.isArray(t)&&t.length){for(k+=9,n=0;n<t.length&&(r=p((0,l.A)(t[n])),k+=r.length,void 0===A||!(k>=A));n++)i.push(r);M+="&"+e+"=%5B"+i.join(",")+"%5D"}}),M);""===H&&z.startsWith("&")&&(z=z.substring(1));let q="".concat(H).concat(z),G=q?"".concat(U,"?").concat(q):U,Y=F?.attributes?.includes("gzip")||"events"===t?C:(0,l.A)(C);Y&&0!==Y.length&&"{}"!==Y&&"[]"!==Y||(Y=""),t!==n.df&&Y.length>75e4&&1===(b[t]=(b[t]||0)+1)&&(0,m.R)(28,t);let J=[{key:"content-type",value:"text/plain"},...d.headers||[]],$=f({url:G,body:Y,sync:d.isFinalHarvest&&a.bv,headers:J});if(!d.isFinalHarvest&&h){f===v.nF?$.addEventListener("loadend",function(){h({sent:0!==this.status,status:this.status,retry:Q(this.status),fullUrl:G,xhr:this,responseText:this.responseText}),Q(this.status)||X()},(0,o.jT)(!1)):f===v.Jf&&$.then(async function(e){let t=e.status;h({sent:!0,status:t,retry:Q(t),fullUrl:G,fetchResponse:e,responseText:await e.text()}),Q(t)||X()});function X(){try{if(E===n.hg||E===n.K7.jserrors&&!C?.err)return;let t=H.includes("hr=1"),r=H.includes("ht=1"),i=F?.attributes?.includes("hasError=true");(0,s.p)("harvest-metadata",[{[E]:{...t&&{hasReplay:t},...r&&{hasTrace:r},...i&&{hasError:i}}}],void 0,n.K7.metrics,e.ee)}catch(e){}}}return(0,y.W)({drained:!!e.runtime?.activatedFeatures,type:"data",name:"harvest",feature:E,data:{endpoint:t,headers:J,payload:r,submitMethod:f===v.nF?"xhr":f===v.Jf?"fetch":"beacon",raw:w,synchronousXhr:!!(d.isFinalHarvest&&a.bv)}}),!0;function Q(e){switch(e){case 408:case 429:case 500:return!0}return e>=502&&e<=504||e>=512&&e<=530}}},46549:function(e,t,r){"use strict";let n=(0,r(98800).bz)();r.d(t,["W",0,n])},98800:function(e,t,r){"use strict";r.d(t,{LA:function(){return s},bz:function(){return a}});var n=r(58740);function i(e,t){return e?15&e[t]:16*Math.random()|0}function a(){let e,t=n.gm?.crypto||n.gm?.msCrypto,r=0;return t&&t.getRandomValues&&(e=t.getRandomValues(new Uint8Array(30))),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(t=>"x"===t?i(e,r++).toString(16):"y"===t?(3&i()|8).toString(16):t).join("")}function s(e){let t,r=n.gm?.crypto||n.gm?.msCrypto,a=0;r&&r.getRandomValues&&(t=r.getRandomValues(new Uint8Array(e)));let s=[];for(var o=0;o<e;o++)s.push(i(t,a++).toString(16));return s.join("")}},93221:function(e,t,r){"use strict";r.d(t,{dm:function(){return i}});var n=r(21690);function i(e,t){let r=e(),i=(e,i)=>{if(void 0===e||""===e)return r(e);"string"!=typeof e&&(e=(0,n.A)(e));let a=t?.obfuscateString(e)??e;return r(i?function(e){if(!e)return e;try{"string"!=typeof e&&(e=(0,n.A)(e));let t=0,r=0,i=!1;for(;r<e.length;){let n=e.charCodeAt(r),a=n<128?1:n<2048?2:n<55296||n>=57344?3:4;if(t+a>4092){i=!0;break}t+=a,r+=4===a?2:1}return e.slice(0,r)+(i?" ...":"")}catch(t){return e}}(a):a)};return{addString:e=>i(e,!1),addStringRaw:e=>r(e),addStringWithTruncation:e=>i(e,!0)}}r(51914)},48861:function(e,t,r){"use strict";r.d(t,{AQ:function(){return c},me:function(){return a},sH:function(){return s},uJ:function(){return o}});var n=r(21690),i=Object.prototype.hasOwnProperty;function a(e,t,r){return e||0===e||""===e?t(e)+(r?",":""):"!"}function s(e,t){return t?Math.floor(e).toString(36):void 0===e||0===e?"":Math.floor(e).toString(36)}function o(e,t){let r=0,n=Object.prototype.hasOwnProperty.call(Object,"create")?Object.create(null):{};return function(a,o=!0){return void 0===a||""===a?"":(a=o?e?.obfuscateString(String(a))??String(a):String(a),a=t?.(a)??a,i.call(n,a))?s(n[a],!0):(n[a]=r++,"'"+a.replace(u,"\\$1"))}}function c(e,t){let{addKey:r,addVal:i}=t;var a=[];return Object.entries(e||{}
2).forEach(([e,t])=>{if(!(a.length>=64)){var s,o=5;switch(e=r(e),typeof t){case"object":t?s=i((0,n.A)(t)):o=9;break;case"number":o=6,s=t%1?t:t+".";break;case"boolean":o=t?7:8;break;case"undefined":o=9;break;default:s=i(t)}a.push([o,e+(s?","+s:"")])}}),a}var u=/([,\\;])/g},79324:function(e,t,r){"use strict";r.d(t,["BB",0,18e5,"Wt",0,"NRBA_SESSION::","iL",0,{SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},"tS",0,{STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},"wk",0,144e5])},52925:function(e,t,r){"use strict";r.d(t,{M:function(){return n}});class n{constructor(e,t){if(!e.onEnd)throw Error("onEnd handler is required");if(!t)throw 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}}},91823:function(e,t,r){"use strict";r.d(t,{eM:function(){return f},si:function(){return h}});var n="Start",i="unloadEvent",a="redirect",s="domainLookup",o="onnect",c="response",u="loadEvent",l="domContentLoadedEvent";let d=[];function f(e,t,r={},d=!1){if(t)return r.of=e,p(r.of,r,"n",!0),p(t[i+n],r,"u",d),p(t[a+n],r,"r",d),p(t[i+"End"],r,"ue",d),p(t[a+"End"],r,"re",d),p(t["fetch"+n],r,"f",d),p(t[s+n],r,"dn",d),p(t[s+"End"],r,"dne",d),p(t["c"+o+n],r,"c",d),p(t["secureC"+o+"ion"+n],r,"s",d),p(t["c"+o+"End"],r,"ce",d),p(t["request"+n],r,"rq",d),p(t[c+n],r,"rp",d),p(t[c+"End"],r,"rpe",d),p(t.domLoading,r,"dl",d),p(t.domInteractive,r,"di",d),p(t[l+n],r,"ds",d),p(t[l+"End"],r,"de",d),p(t.domComplete,r,"dc",d),p(t[u+n],r,"l",d),p(t[u+"End"],r,"le",d),r}function h(e,t){try{var r;p((r=e.type,"number"==typeof r?r:({navigate:void 0,reload:1,back_forward:2,prerender:3})[r]),t,"ty"),p(e.redirectCount,t,"rc")}catch(e){t.ty=0,t.rc=0}return t}function p(e,t,r,n){"number"==typeof e&&e>0?(n&&(e=Math.max(e-(t?.of>0?t.of:0),0)),e=Math.round(e),t[r]=e,d.push(e)):d.push(void 0)}r.d(t,["ss",0,d])},31609:function(e,t,r){"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:function(){return n}})},46735:function(e,t,r){"use strict";r.d(t,{o:function(){return c}});var n=r(7187),i=r(58740),a=r(53720),s=r(34842),o=r(19470);class c{#s;#o;#c;#u=!1;#l=0;constructor(e){this.#s=e,this.processStoredDiff(),(0,a.i)(performance.now,Date.now)}#d(){try{let e=Date.now()-i.WN-performance.now();e>1e3&&e-this.#l>1e3&&(this.#l=e,this.#s&&(0,s.p)(n.xV,["Generic/TimeKeeper/ClockDrift/Detected",e],void 0,o.K7.metrics,this.#s.agentRef.ee))}catch(e){}}get ready(){return this.#u}get correctedOriginTime(){return this.#o}get localTimeDiff(){return this.#c}processRumRequest(e,t,r,n){if(this.processStoredDiff(),!this.#u){if(!n)throw Error("nrServerTime not found");if(this.#o=Math.floor(n-(t+(r-t)/2)),this.#c=i.WN-this.#o,isNaN(this.#o))throw Error("Failed to correct browser time to server time");this.#s?.write({serverTimeDiff:this.#c}),this.#u=!0}}convertRelativeTimestamp(e){return this.#d(),i.WN+e+this.#l}convertAbsoluteTimestamp(e){return this.#d(),e-i.WN-this.#l}correctAbsoluteTimestamp(e){return this.#d(),e-this.#c}correctRelativeTimestamp(e){return this.#d(),this.correctAbsoluteTimestamp(this.convertRelativeTimestamp(e))}processStoredDiff(){if(this.#u)return;let e=this.#s?.read()?.serverTimeDiff;"number"!=typeof e||isNaN(e)||(this.#c=e,this.#o=i.WN-this.#c,this.#u=!0)}}},18897:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;function a(e,t){return e?e.replace(t?n:i,"$1$2"):e}},993:function(e,t,r){"use strict";r.d(t,{b:function(){return a}});var n=r(58740),i=r(21966);function a(e){return"string"==typeof e?e:e instanceof(0,i.dV)().o.REQ?e.url:n.gm?.URL&&e instanceof URL?e.href:void 0}},21375:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(58740);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{let 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===n.gm?.location?.protocol&&t.host===n.gm?.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{}}}},89274:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});var n=r(58740);function i(){return n.gm?.location?.protocol==="file:"}},49674:function(e,t,r){"use strict";r.d(t,{R:function(){return i}});var n=r(71999);function i(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.W)({drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},94970:function(e,t,r){"use strict";function n(e,t,r){let n="unknown";if(e&&e instanceof XMLHttpRequest){let 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}r.d(t,{t:function(){return n}})},38903:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(71999);function i(e,t){e&&"object"==typeof e&&!t.runtime.activatedFeatures&&(t.ee.emit("rumresp",[e]),t.runtime.activatedFeatures=e,(0,n.W)({loaded:!0,drained:!t.init.feature_flags.includes("rum_v2"),type:"lifecycle",name:"load",feature:void 0,data:e}))}},29176:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},55239:function(e,t,r){"use strict";function n(e,t=500,r={}){let i,a=r?.leading||!1;return(...r)=>{a&&void 0===i&&(e.apply(this,r),i=setTimeout(()=>{i=clearTimeout(i)},t)),a||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:function(){return i},s:function(){return n}})},53720:function(e,t,r){"use strict";r.d(t,{i:function(){return a}});var n=r(49674);let i=new Map;function a(...e){return e.every(e=>{if(i.has(e))return i.get(e);let t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),a=t.includes("nrWrapper");return r||a||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},15377:function(e,t,r){"use strict";r.d(t,{F:function(){return a}});var n=r(89274),i=r(49674);class a{constructor(e,t){this.agentRef=e,this.eventType=t,this.warnedRegexMissing=!1,this.warnedInvalidRegex=!1,this.warnedInvalidReplacement=!1}get obfuscateConfigRules(){let e=this.agentRef.init.obfuscate||[];return this.eventType?e.filter(e=>!this.#f(e)||e.eventFilter.includes(this.eventType)):e}obfuscateString(e){if("string"!=typeof e||0===e.trim().length)return e;let t=this.obfuscateConfigRules.map(e=>this.validateObfuscationRule(e));return(0,n.p)()&&t.push({regex:/^file:\/\/(.*)/,replacement:atob("ZmlsZTovL09CRlVTQ0FURUQ=")}),t.filter(e=>e.isValid).reduce((e,t)=>
2{let{rule:r}=t;return e.replace(r.regex,r.replacement||"*")},e)}traverseAndObfuscateEvents(e){if(!e||"object"!=typeof e)return e;if(this.eventType)return this.#h(e,this.obfuscateString.bind(this)),e;let t=new Set,r=[],n=[];return(this.obfuscateConfigRules.forEach(e=>{this.#f(e)?(n.push(e),e.eventFilter.forEach(e=>t.add(e))):r.push(e)}),0===n.length)?this.#h(e,this.obfuscateString.bind(this)):this.#p(e,this.obfuscateString.bind(this),Array.from(t),r,null),e}#h(e,t){e&&"object"==typeof e&&Object.keys(e).forEach(r=>{let n=e[r];"object"==typeof n&&null!==n?this.#h(n,t):"string"==typeof n&&(e[r]=t(n))})}#p(e,t,r,n,i){if(!e||"object"!=typeof e)return;let a=i;"eventType"in e&&"string"==typeof e.eventType&&(a=r.includes(e.eventType)),Object.keys(e).forEach(i=>{let s=e[i];"object"==typeof s&&null!==s?this.#p(s,t,r,n,a):"string"==typeof s&&(!0===a?e[i]=t(s):!1===a&&n.length>0&&(e[i]=this.#g(s,n)))})}#g(e,t){return"string"!=typeof e||0===e.trim().length?e:t.map(e=>this.validateObfuscationRule(e)).filter(e=>e.isValid).reduce((e,t)=>{let{rule:r}=t;return e.replace(r.regex,r.replacement||"*")},e)}#f(e){return Array.isArray(e?.eventFilter)&&e.eventFilter.length>0}validateObfuscationRule(e){let t=void 0===e.regex,r=!(void 0===e.regex||"string"==typeof e.regex||e.regex instanceof RegExp),n=!!(e.replacement&&"string"!=typeof e.replacement);return t&&!this.warnedRegexMissing?((0,i.R)(12,e),this.warnedRegexMissing=!0):r&&!this.warnedInvalidRegex&&((0,i.R)(13,e),this.warnedInvalidRegex=!0),n&&!this.warnedInvalidReplacement&&((0,i.R)(14,e),this.warnedInvalidReplacement=!0),{rule:e,isValid:!t&&!r&&!n,errors:{regexMissingDetected:t,invalidRegexDetected:r,invalidReplacementDetected:n}}}}},21690:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(68126);function i(e){try{let t;return JSON.stringify(e,(t=new WeakSet,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}))??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},85668:function(e,t,r){"use strict";r.d(t,{Jf:function(){return a},mj:function(){return i},nF:function(){return s}});var n=r(58740);function i({isFinalHarvest:e=!1}={}){return e&&n.RI?o:"u">typeof XMLHttpRequest?s:a}function a({url:e,body:t=null,method:r="POST",headers:n=[{key:"content-type",value:"text/plain"}]}){let i={};for(let e of n)i[e.key]=e.value;return fetch(e,{headers:i,method:r,body:t})}function s({url:e,body:t=null,sync:r,method:n="POST",headers:i=[{key:"content-type",value:"text/plain"}]}){let a=new XMLHttpRequest;return a.open(n,e,!r),i.forEach(e=>{a.setRequestHeader(e.key,e.value)}),a.send(t),a}function o({url:e,body:t}){try{return window.navigator.sendBeacon.bind(window.navigator)(e,t)}catch(e){return!1}}},77218:function(e,t,r){"use strict";function n(e){return e?.constructor===({}).constructor}r.d(t,{a:function(){return n}})},98689:function(e,t,r){"use strict";var n=r(58740);let i=(()=>{try{if("u">typeof navigator&&!0===navigator.webdriver||n.RI&&(document.__webdriver_evaluate||document.__selenium_unwrapped||document.__driver_evaluate||document.__webdriver_script_function||window.callPhantom||window._phantom||window.__nightmare))return!0;return!1}catch(e){return!1}})();r.d(t,["R",0,i])},37758:function(e,t,r){"use strict";r.d(t,["f",0,{MFE:"MFE",BA:"BA"}])},17414:function(e,t,r){"use strict";r.d(t,{N:function(){return s},j:function(){return c}});var n=r(18897),i=r(49674);let a=(0,r(55239).J)(e=>(0,i.R)(80,e));function s(e){if(!Array.isArray(e?.assets)||!e.assets.length)return;let t=e.assets.map(o).filter(Boolean);if(t.length)return{assets:t,scripts:t.filter(e=>e.isScript)}}function o(e){var t,r;if(!e||"object"!=typeof e)return;let{matcher:i,type:s}=e,o="string"==typeof i&&i.endsWith(".js");return(void 0!==s&&("script"===(t=s)||"asset"===t?o="script"===s:a(s)),r=i,"[object RegExp]"===Object.prototype.toString.call(r))?{pattern:i,test:e=>(i.lastIndex=0,i.test((0,n.L)(e))),isScript:o}:"string"==typeof i&&i.length>0?{pattern:i,test:e=>(0,n.L)(e).includes(i),isScript:o}:void a(i)}function c(e,t,{scriptsOnly:r=!1}={}){return!!e&&!!t&&(r?e.scripts:e.assets).some(e=>e.test(t))}},99022:function(e,t,r){"use strict";let n;r.d(t,{xo:function(){return A},AZ:function(){return b},cI:function(){return v},Qr:function(){return k},QL:function(){return T}});var i=r(58740),a=r(31609),s=r(18897);let o=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,c=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,u=/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i;class l{dom=new d;performance=new d;constructor(e){this.url=e,this.claimedBy=new Set}get script(){let e=Math.max(this.dom.start,this.performance.end),t=Math.max(this.dom.end,this.performance.end,e);return{start:e,end:t}}}class d{start=0;end=0;value=void 0}function f(e=()=>{},t){return{get:()=>void 0!==t?t:e(),set:e=>{t=e}}}try{n=b(T())[0]}catch(e){n=b(e)[0]}let h=new Map,p=[],g=new WeakMap;function m(e){let t=g.get(e);return t||(t={weighedAssetUrls:new Set,recordManifestScriptWindow:(t,r)=>{t&&(e.scriptStart=e.scriptStart>0?Math.min(e.scriptStart,t):t),r&&(e.scriptEnd=e.scriptEnd>0?Math.max(e.scriptEnd,r):r)}},g.set(e,t)),t}function v(e){return h.get(e)}function y(e){let t=v(e);if(t)return t;let r=new l(e);
2if(h.set(e,r),h.size>1e3){let e=h.keys().next().value;h.delete(e)}return r}function b(e){if(!e||"string"!=typeof e)return[];let t=new Set;for(let r of e.split("\n")){let e=r.match(u)||r.match(c)||r.match(o);if(e&&e[2])t.add((0,s.L)(e[2]));else{let e=r.match(/\(([^)]+\.js):\d+:\d+\)/)||r.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);e&&e[1]&&t.add((0,s.L)(e[1]))}}return[...t]}function T(){let e;try{let t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=Error().stack,Error.stackTraceLimit=t}catch(t){e=Error().stack}return e}function w(e,t){return(0,s.L)(e.name)===t}function E(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType,S(e,t)}function S(e,t){let r=(0,s.L)(t.name),{weighedAssetUrls:n}=m(e);n.has(r)||(n.add(r),e.totalWeight=(e.totalWeight||0)+(t.transferSize||0),"blocking"===t.renderBlockingStatus?e.renderBlocking=!0:"non-blocking"===t.renderBlockingStatus&&!0!==e.renderBlocking&&(e.renderBlocking=!1))}function R(e,t,r,n,i){if(S(e,t),"scripts"===i||"all"===i){if("all"===i||r.isScript){let r=Math.floor(t.startTime),n=Math.floor(t.responseEnd);e.fetchStart=e.fetchStart>0?Math.min(e.fetchStart,r):r,e.fetchEnd=e.fetchEnd>0?Math.max(e.fetchEnd,n):n}if(r.isScript){let r=v((0,s.L)(t.name));if(r){let t=()=>{let{start:t,end:n}=r.script;m(e).recordManifestScriptWindow(t,n)};t(),!r.dom.end&&r.dom.value&&["load","error"].forEach(e=>r.dom.value.addEventListener(e,t,{once:!0}))}n.resolved||(e.asset=t.name,e.type=t.initiatorType,n.resolved=!0)}}}function A(e,t){var r;let n=t?.manifest;if(!n||!n.assets.length)return;let s={resolved:!1},o=new Set(n.assets);(i.gm.performance?.getEntriesByType("resource")||[]).forEach(r=>{let n=[...o].find(e=>e.test(r.name));n&&(R(e,r,n,s,t.timingMethod),o.delete(n))}),o.size&&(r=t.timingMethod,i.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&p.push({addedAt:(0,a.t)(),test:t=>{let n=[...o].find(e=>e.test(t.name));return n&&(R(e,t,n,s,r),o.delete(n)),0===o.size}}))}function k(e){let t=e?.id,r={registeredAt:(0,a.t)(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:"unknown",totalWeight:0,renderBlocking:void 0},o=T();if(!o)return r;let c=i.gm.performance?.getEntriesByType("navigation")?.[0]?.name||"";try{let e=b(o),u=(e.length>1?e.filter(e=>n!==e):e)[0];if(!u)return r;if(c.includes(u))return r.asset=(0,s.L)(c),r.type="inline",r;r.correlation=v(u);let l=r.correlation?.performance.value||i.gm.performance?.getEntriesByType("resource")?.find(e=>w(e,u));if(l)E(r,l);else(function(e){if(!e||!i.gm.document)return!1;try{for(let t of i.gm.document.querySelectorAll('link[rel="preload"][as="script"]'))if((0,s.L)(t.href)===e)return!0}catch(e){}return!1})(u)&&(r.asset=u,r.type="preload"),i.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&p.push({addedAt:(0,a.t)(),test:e=>!!w(e,u)&&(E(r,e),!0)});let d=r.correlation,h=!!t&&!!d?.claimedBy.has(t);d&&t&&d.claimedBy.add(t);let g=()=>{let e=d?.script.start;return!!h&&!!e&&r.registeredAt-e>1e4},y=0,T=0;m(r).recordManifestScriptWindow=(e,t)=>{e&&(y=y>0?Math.min(y,e):e),t&&(T=T>0?Math.max(T,t):t)},Object.defineProperty(r,"scriptStart",f(()=>{let e=g()?r.registeredAt:d?.script.start??r.fetchEnd;return y>0?Math.min(e,y):e})),Object.defineProperty(r,"scriptEnd",f(()=>{let e=g()?r.registeredAt:d?.script.end??r.registeredAt;return T>0?Math.max(e,T):e}))}catch(e){}return r}i.gm.MutationObserver&&i.gm.document&&new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if("SCRIPT"===e.nodeName&&e.src){let t=y((0,s.L)(e.src));t.dom.start=(0,a.t)(),t.dom.value=e;let r=()=>{t.dom.end=(0,a.t)()};["load","error"].forEach(t=>e.addEventListener(t,r,{once:!0}))}})})}).observe(i.gm.document,{childList:!0,subtree:!0}),i.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")&&new PerformanceObserver(e=>{e.getEntries().forEach(e=>{if("script"===e.initiatorType||["link","fetch"].includes(e.initiatorType)&&(0,s.L)(e.name).endsWith(".js")){let t=y((0,s.L)(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e}if(!p.length)return;let t=[];p.forEach(({test:r,addedAt:n},i)=>{(r(e)||(0,a.t)()-n>1e4)&&t.push(i)}),p=p.filter((e,r)=>!t.includes(r))})}).observe({type:"resource",buffered:!0})},2822:function(e,t,r){"use strict";r.d(t,{$5:function(){return p},B5:function(){return h},K6:function(){return u},Ms:function(){return c},Ux:function(){return d},YA:function(){return f}});var n=r(99022),i=r(17414),a=r(18897),s=r(37758);function o(e){return e?.type===s.f.MFE}function c(e,t){if(!m(e,t))return[];let r=t.runtime.registeredEntities;return r?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function u(e,t){if(!m(e,t))return[];let r=t.runtime.registeredEntities,n=(0,a.L)(e);return l(r?.filter(t=>{let r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!1}):!!t.metadata.timings?.asset&&(0,a.L)(t.metadata.timings.asset)===n})).map(e=>e.metadata.target)}function l(e){if(!e?.length)return e||[];let t=new Map,r=[];for(let n of e){let e=n.metadata?.timings?.asset;if(!e){r.push(n);continue}let i="".concat(e,"::").concat(n.metadata?.target?.id),a=t.get(i);if(a){if(a.metadata.target?.blocked&&!n.metadata.target?.blocked){let e=r.indexOf(a);-1!==e&&(r[e]=n),t.set(i,n)}}else t.set(i,n),r.push(n)}return r}function d(e,t){return g(t)?o(e)?e.attributes:t.agentRef.runtime.v2Target.attributes:{}}function f(e,t){return h(e,t)?{"child.id":e.id,"child.type":e.type,...d(void 0,t)}:{}}
2function h(e,t){return o(e)&&!!g(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function p(e){if(!e?.runtime)return[];if(!m(!0,e)||!e.runtime.registeredEntities?.length)return[e.runtime.v2Target];let t=[];try{var r=(0,n.AZ)((0,n.QL)());let a=r.length-1;for(;r[a];)t.push(...function(e,t){if(!m(e,t))return[];let r=t.runtime.registeredEntities;return l(r?.filter(t=>{let r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!0}):!!t.metadata.timings?.asset?.endsWith(e)})).map(e=>e.metadata.target)}(r[a--],e))}catch(e){}let a=function(e){let t=new Set,r=[];for(let n of e){let e=n?.instance;t.has(e)||(t.add(e),r.push(n))}return r}(t);return a.length||a.push(e.runtime.v2Target),a}function g(e){return e?.harvestEndpointVersion===2}function m(e,t){return!!e&&!!t?.init.api.register.enabled}},83209:function(e,t,r){"use strict";r.d(t,["w",0,{FIRST_PAINT:"fp",FIRST_CONTENTFUL_PAINT:"fcp",FIRST_INTERACTION:"fi",LARGEST_CONTENTFUL_PAINT:"lcp",LOAD_TIME:"load",CUMULATIVE_LAYOUT_SHIFT:"cls",INTERACTION_TO_NEXT_PAINT:"inp",TIME_TO_FIRST_BYTE:"ttfb"}])},58837:function(e,t,r){"use strict";var n=r(57226),i=r(83209),a=r(79507),s=r(15292),o=r(58740);let c=new a.x(i.w.CUMULATIVE_LAYOUT_SHIFT,e=>e);if(o.RI){let e=({value:e,attribution:t,id:r})=>{let n={metricId:r,largestShiftTarget:t.largestShiftTarget,largestShiftTime:t.largestShiftTime,largestShiftValue:t.largestShiftValue,loadState:t.loadState};c.update({value:e,attrs:n})};(0,s.o)(()=>(0,n.IN)(e,{reportAllChanges:!0}))}r.d(t,["i",0,c])},702:function(e,t,r){"use strict";var n=r(57226),i=r(58740),a=r(83209),s=r(79507),o=r(15292);let c=new s.x(a.w.FIRST_CONTENTFUL_PAINT);if(i.RI)if(i.sb)try{i.mw||performance.getEntriesByType("paint").forEach(e=>{"first-contentful-paint"===e.name&&c.update({value:Math.floor(e.startTime)})})}catch(e){}else{let e=({value:e,attribution:t})=>{if(i.mw||c.isValid)return;let r={timeToFirstByte:t.timeToFirstByte,firstByteToFCP:t.firstByteToFCP,loadState:t.loadState};c.update({value:e,attrs:r})};(0,o.o)(()=>(0,n.zB)(e))}r.d(t,["j",0,c])},41291:function(e,t,r){"use strict";var n=r(58740),i=r(83209);let a=new(r(79507)).x(i.w.FIRST_PAINT);if(n.RI){let e;try{PerformanceObserver.supportedEntryTypes.includes("paint")&&!n.mw&&(e=new PerformanceObserver(t=>{Promise.resolve().then(()=>{t.getEntries().forEach(t=>{"first-paint"!==t.name||a.isValid||(e.disconnect(),a.update({value:t.startTime}))})})})).observe({type:"paint",buffered:!0})}catch(e){}}r.d(t,["J",0,a])},12453:function(e,t,r){"use strict";var n=r(57226),i=r(79507),a=r(83209),s=r(15292),o=r(58740);let c=new i.x(a.w.INTERACTION_TO_NEXT_PAINT);if(o.RI){let e=({value:e,attribution:t,id:r,entries:n})=>{if(!n?.length)return;let i={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};c.update({value:e,attrs:i})};(0,s.o)(()=>(0,n.rH)(e))}r.d(t,["P",0,c])},54392:function(e,t,r){"use strict";var n=r(57226),i=r(79507),a=r(83209),s=r(15292),o=r(58740),c=r(18897);let u=new i.x(a.w.LARGEST_CONTENTFUL_PAINT);if(o.RI){let e=({value:e,attribution:t})=>{if(o.mw||u.isValid)return;let r={timeToFirstByte:t.timeToFirstByte,resourceLoadDelay:t.resourceLoadDelay,resourceLoadDuration:t.resourceLoadDuration,resourceLoadTime:t.resourceLoadDuration,elementRenderDelay:t.elementRenderDelay},n=t.lcpEntry;n&&(r.size=n.size,r.eid=n.id,n.element?.tagName&&(r.elTag=n.element.tagName)),t.target&&(r.element=t.target),t.url&&(r.elUrl=(0,c.L)(t.url)),u.update({value:e,attrs:r})};(0,s.o)(()=>(0,n.fK)(e))}r.d(t,["b",0,u])},91666:function(e,t,r){"use strict";var n=r(58740),i=r(92919),a=r(83209);let s=new(r(79507)).x(a.w.LOAD_TIME);if(n.RI){let e=n.gm.performance;(0,i.GG)(()=>{setTimeout(()=>{if(s.isValid||!e)return;let t=(0,n.zk)();s.update({value:t?t.loadEventEnd:e.timing?.loadEventEnd-n.WN})},0)},!0)}r.d(t,["Y",0,s])},15292:function(e,t,r){"use strict";function n(e){try{e()}catch(e){}}r.d(t,{o:function(){return n}})},38025:function(e,t,r){"use strict";var n=r(58740),i=r(83209),a=r(79507),s=r(15292),o=r(57226);let c=new a.x(i.w.TIME_TO_FIRST_BYTE);if(n.RI&&(0,n.zk)()&&!n.OF&&window===window.parent){let e=({value:e,attribution:t})=>{c.isValid||c.update({value:e,attrs:{navigationEntry:t.navigationEntry}})};(0,s.o)(()=>(0,o.Ck)(e))}else if(!c.isValid){let e={};for(let t in n.gm?.performance?.timing||{})e[t]=Math.max(n.gm?.performance?.timing[t]-n.WN,0);c.update({value:e.responseStart,attrs:{navigationEntry:e}})}r.d(t,["j",0,c])},79507:function(e,t,r){"use strict";r.d(t,{x:function(){return n}});
2class n{#m=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;let r={value:this.roundingMethod(e),name:this.name,attrs:Object.fromEntries(Object.entries(t).filter(([,e])=>void 0!==e))};this.history.push(r),this.#m.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.#m.add(e),this.isValid&&t&&this.history.forEach(t=>{e(t)}),()=>{this.#m.delete(e)}}}},92919:function(e,t,r){"use strict";r.d(t,{GG:function(){return s},Qr:function(){return c},sB:function(){return o}});var n=r(17508),i=r(55239);function a(){return"u"<typeof document||"complete"===document.readyState}function s(e,t){if(a())return e();let r=(0,i.J)(e),s=setInterval(()=>{a()&&(clearInterval(s),r())},500);(0,n.sp)("load",r,t)}function o(e){if(a())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(a())return e();(0,n.sp)("popstate",e)}},21966:function(e,t,r){"use strict";r.d(t,{Zm:function(){return c},bQ:function(){return l},dV:function(){return u},pV:function(){return d}});var n=r(58740),i=r(31609),a=r(49674),s=r(53720);let o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function u(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,s.i)(...Object.values(e.o))),e}function l(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,a.R)(69)}function d(){let e,t,r,n,i,a;return t=(e=c()).info||{},e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t},n=(r=c()).init||{},r.init={...n},u(),a=(i=c()).loader_config||{},i.loader_config={...a},c()}r.d(t,["NT",0,o])},62449:function(e,t,r){"use strict";r.d(t,{G:function(){return a},u:function(){return i}});var n=r(17508);function i(e,t=!1,r,a){(0,n.DD)("visibilitychange",function(){if(t){"hidden"===document.visibilityState&&e();return}e(document.visibilityState)},r,a)}function a(e,t,r){(0,n.sp)("pagehide",e,t,r)}},23941:function(e,t,r){"use strict";r.d(t,{u:function(){return f}});var n=r(68126),i=r(77340),a=r(29176),s=r(58740);let o={},c=s.gm.XMLHttpRequest,u="addEventListener",l="removeEventListener",d="nr@wrapped:".concat(n.P);function f(e,t){var r=(e||n.ee).get("events");if(o[r.debugId]++)return r;o[r.debugId]=1;var f=(0,i.YM)(r,!0,t);function p(e){f.inPlace(e,[u,l],"-",g)}function g(e,t){return e[1]}return"getPrototypeOf"in Object&&(s.RI&&h(document,p),c&&h(c.prototype,p),h(s.gm,p)),r.on(u+"-start",function(e,t){var r=e[1];if(null!==r&&("function"==typeof r||"object"==typeof r)&&"newrelic"!==e[0]){var n=(0,a.I)(r,d,function(){var e={object:function(){if("function"==typeof r.handleEvent)return r.handleEvent.apply(r,arguments)},function:r}[typeof r];return e?f(e,"fn-",null,e.name||"anonymous"):r});this.wrapped=e[1]=n}}),r.on(l+"-start",function(e){e[1]=this.wrapped||e[1]}),r}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,u);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},99986:function(e,t,r){"use strict";r.d(t,{N:function(){return h}});var n=r(68126),i=r(58740),a=r(2822),s="fetch-",o=s+"body-",c=["arrayBuffer","blob","json","text","formData"],u=i.gm.Request,l=i.gm.Response,d="prototype";let f={};function h(e,t){let r=(e||n.ee).get("fetch");if(!(u&&l&&i.gm.fetch)||f[r.debugId]++)return r;function h(e,i,s){var o=e[i];"function"==typeof o&&(e[i]=function(){var e,i=[...arguments];let c={},u=(0,a.$5)(t);r.emit(s+"before-start",[i],c),c[n.P]&&c[n.P].dt&&(e=c[n.P].dt);var l=o.apply(this,i);return r.emit(s+"start",[i,e],l),l.then(function(e){return r.emit(s+"end",[null,e,u],l),e},function(e){throw r.emit(s+"end",[e,void 0,u],l),e})})}
2return f[r.debugId]=1,c.forEach(e=>{h(u[d],e,o),h(l[d],e,o)}),h(i.gm,"fetch",s),r.on(s+"end",function(e,n,i){if(this.targets=i||[t.runtime.v2Target],n){var a=n.headers.get("content-length");null!==a&&(this.rxSize=a),r.emit(s+"done",[null,n],this)}else r.emit(s+"done",[e],this)}),r}},77340:function(e,t,r){"use strict";r.d(t,{YM:function(){return u}});var n=r(68126),i=r(46549),a=r(2822);let s="nr@original:".concat(i.W);var o=Object.prototype.hasOwnProperty,c=!1;function u(e,t,r){return e||(e=n.ee),i.inPlace=function(e,t,r,n,a,s){r||(r="");let o="-"===r.charAt(0);for(let c=0;c<t.length;c++){let u=t[c],l=e[u];d(l)||(e[u]=i(l,o?u+r:r,n,u,a,s))}},i.flag=s,i;function i(t,n,i,c,f,h){if(d(t))return t;return n||(n=""),p[s]=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){l([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}(t,p,e),p;function p(){var s,o,d,p;let g,m,v;try{o=this,s=[...arguments],m=h?(0,a.$5)(r):[r?.runtime?.v2Target],d="function"==typeof i?i(s,o):i||{}}catch(t){l([t,"",[s,o,c],d],e)}u(n+"start",[s,o,c,m],d,f);let y=performance.now();try{return p=t.apply(o,s),v=performance.now(),p}catch(e){throw v=performance.now(),u(n+"err",[s,o,e,m],d,f),g=e}finally{let e=v-y,t={start:y,end:v,duration:e,isLongTask:e>=50,methodName:c,thrownError:g};t.isLongTask&&u("long-task",[t,o,m],d,f),u(n+"end",[s,o,p,m],d,f)}}}function u(r,n,i,a){if(!c||t){var s=c;c=!0;try{e.emit(r,n,i,t,a)}catch(t){l([t,r,n,i],e)}c=s}}}function l(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function d(e){return!(e&&"function"==typeof e&&e.apply&&!e[s])}},69234:function(e,t,r){"use strict";r.d(t,{v:function(){return c}});var n=r(68126),i=r(77340),a=r(58740);let s={},o=["pushState","replaceState"];function c(e,t){let r=(e||n.ee).get("history");return!a.RI||s[r.debugId]++||(s[r.debugId]=1,(0,i.YM)(r,void 0,t).inPlace(window.history,o,"-")),r}},63377:function(e,t,r){"use strict";r.d(t,{A:function(){return h}});var n=r(58740),i=r(98800),a=r(31609),s=r(18897),o=r(2822),c=r(21966),u=r(62449),l=r(4463);let d={},f=new Set;function h(e,t){if(!(0,c.dV)().o.WS)return e;let r=e.get("websockets");if(d[r.debugId]++)return r;d[r.debugId]=1,(0,u.G)(()=>{let e=(0,a.t)();f.forEach(t=>{t.nrData.closedAt=e,t.nrData.closeCode=1001,t.nrData.closeReason="Page navigating away",t.nrData.closeWasClean=!1,t.nrData.openedAt&&(t.nrData.connectedDuration=e-t.nrData.openedAt),r.emit("ws",[t.nrData,t.targets],t)})});class i extends WebSocket{static name=l.R.WS;static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return i.name}#v(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new g(e[0],e[1]),this.targets=(0,o.$5)(t),this.addEventListener("open",()=>{this.nrData.openedAt=(0,a.t)(),["protocol","extensions","binaryType"].forEach(e=>{this.nrData[e]=this[e]}),f.add(this)}),this.addEventListener("message",e=>{let{type:t,size:r}=p(e.data);this.nrData.messageOrigin??=(0,s.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)}),this.addEventListener("close",e=>{this.nrData.closedAt=(0,a.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,f.delete(this),r.emit("ws",[this.nrData,this.targets],this)})}addEventListener(e,t,...r){let n=this,i="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#v(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#v(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyState===WebSocket.OPEN){let{type:t,size:r}=p(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#v(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#v(e),e}}}return n.gm.WebSocket=i,r}function p(e){return"string"==typeof e?{type:"string",size:new TextEncoder().encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class g{constructor(e,t){this.timestamp=(0,a.t)(),this.currentUrl=(0,s.L)(window.location.href),this.socketId=(0,i.LA)(8),this.requestedUrl=(0,s.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}},7172:function(e,t,r){"use strict";r.d(t,{b:function(){return f}});var n=r(23941),i=r(68126),a=r(17508),s=r(77340),o=r(58740),c=r(49674),u=r(2822);let l={},d=["open","send","setRequestHeader"];function f(e,t){var r=e||i.ee;let f=(r||i.ee).get("xhr");if(void 0===o.gm.XMLHttpRequest||l[f.debugId]++)return f;l[f.debugId]=1,(0,n.u)(r,t);var h=(0,s.YM)(f,void 0,t),p=o.gm.XMLHttpRequest,g=o.gm.MutationObserver,m=o.gm.Promise,v=o.gm.setInterval,y="readystatechange",b=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],T=[],w=o.gm.XMLHttpRequest=function(e){let r=new p(e),n=f.context(r);n.targets=(0,u.$5)(t);try{var i;f.emit("new-xhr",[r],n),r.addEventListener(y,(i=n,function(){this.readyState>3&&!i.resolved&&(i.resolved=!0,f.emit("xhr-resolved",[],this)),h.inPlace(this,b,"fn-",M)}),(0,a.jT)(!1))}catch(e){(0,c.R)(15,e);try{f.emit("internal-error",[e])}catch(e){}}return r};function E(e,t){h.inPlace(t,["onreadystatechange"],"fn-",M)}if(function(e,t){for(var r in e)t[r]=e[r]}(p,w),w.prototype=p.prototype,h.inPlace(w.prototype,d,"-xhr-",M),f.on("send-xhr-start",function(e,t){var r;E(e,t),r=t,T.push(r),g&&(S?S.then(k):v?v(k):(R=-R,A.data=R))}),f.on("open-xhr-start",E),g){var S=m&&m.resolve();if(!v&&!m){var R=1,A=document.createTextNode(R);new g(k).observe(A,{characterData:!0}
2)}}else r.on("fn-end",function(e){e[0]&&e[0].type===y||k()});function k(){for(var e=0;e<T.length;e++)E([],T[e]);T.length&&(T=[])}function M(e,t){return t}return f}},35695:function(e,t,r){"use strict";r.d(t,{setupAgentSession:function(){return k}});var n=r(96657),i=r(72024),a=r(98800),s=r(49674),o=r(21690),c=r(52925),u=r(58740),l=r(79324),d=r(62449),f=r(55239);class h extends c.M{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.RI&&e.ee){if(e.ee){this.ee=e.ee;let t=(0,f.s)(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,d.u)(e=>{"hidden"===e?this.pause():this.resume()},!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{let 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 p=r(23941),g=r(19644),m=r(34842),v=r(7187),y=r(19470),b=r(17508);let T={value:"",inactiveAt:0,expiresAt:0,updatedAt:Date.now(),sessionReplayMode:null,sessionReplaySentFirstChunk:!1,sessionTraceMode:null,traceHarvestStarted:!1,loggingMode:null,logApiMode:null,serverTimeDiff:null,custom:{},numOfResets:0,consent:!1,cachedRumResponse:null};class w{constructor(e){let{agentRef:t,key:r,storage:n}=e;if(!t||!r||!n)throw Error("Missing required field(s):".concat(!t?" agentRef":"").concat(!r?" key":"").concat(n?"":" storage"));this.agentRef=t,this.storage=n,this.state={},this.key=r,this.ee=t.ee,(0,p.u)(this.ee,t),this.setup(e),u.RI&&(0,b.sp)("storage",e=>{if(e.key===this.lookupKey){let t="string"==typeof e.newValue?JSON.parse(e.newValue):e.newValue;this.sync(t),this.ee.emit(l.tS.UPDATE,[l.iL.CROSS_TAB,this.state])}})}setup({value:e=(0,a.LA)(16),expiresMs:t=l.wk,inactiveMs:r=l.BB,numOfResets:n=0}){let i={serverTimeDiff:this.state.serverTimeDiff||T.serverTimeDiff,consent:this.state.consent||T.consent};this.state={},this.sync({...T,...i}),this.state.value=e,this.expiresMs=t,this.inactiveMs=r;let s=this.read();t?(this.state.expiresAt=s?.expiresAt||this.getFutureTimestamp(t),this.state.numOfResets=s?.numOfResets||n,this.expiresTimer=new c.M({onEnd:()=>{this.collectSM("expired"),this.collectSM("duration"),this.reset()}},this.state.expiresAt-Date.now())):this.state.expiresAt=1/0,r?(this.state.inactiveAt=s?.inactiveAt||this.getFutureTimestamp(r),this.inactiveTimer=new h({onEnd:()=>{this.collectSM("inactive"),this.collectSM("duration"),this.reset()},onRefresh:this.refresh.bind(this),onResume:()=>{this.ee.emit(l.tS.RESUME)},onPause:()=>{this.initialized&&this.ee.emit(l.tS.PAUSE),this.write((0,g.a)(this.state,T))},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(s).length,this.isNew?this.write((0,g.a)(this.state,T),!0):this.sync(s),this.initialized=!0,this.ee.emit(l.tS.STARTED,[this.isNew])}get lookupKey(){return"".concat(l.Wt).concat(this.key)}sync(e){Object.assign(this.state,e)}read(){try{let e=this.storage.get(this.lookupKey);if(!e)return{};let t="string"==typeof e?JSON.parse(e):e;if(this.isInvalid(t))return{};if(this.isExpired(t.expiresAt))return this.collectSM("expired"),this.collectSM("duration",t,!0),this.reset();if(this.isExpired(t.inactiveAt))return this.collectSM("inactive"),this.collectSM("duration",t,!0),this.reset();return t}catch(e){return(0,s.R)(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,o.A)(this.state)),this.ee.emit(l.tS.UPDATE,[l.iL.SAME_TAB,this.state]),e}catch(e){return(0,s.R)(11,e),null}}reset(){try{return(0,s.R)(66),this.initialized&&(this.ee.emit(l.tS.RESET),this.state.numOfResets++),this.storage.remove(this.lookupKey),this.inactiveTimer?.abort?.(),this.expiresTimer?.clear?.(),delete this.isNew,this.setup({key:this.key,storage:this.storage,expiresMs:this.expiresMs,inactiveMs:this.inactiveMs,numOfResets:this.state.numOfResets}),this.read()}catch(e){return{}}}refresh(){let e=this.read();this.write({...e,inactiveAt:this.getFutureTimestamp(this.inactiveMs)})}isExpired(e){return Date.now()>e}isInvalid(e){return!Object.keys(T).every(t=>Object.keys(e).includes(t))}collectSM(e,t,r){let n,i;"duration"===e&&(n=this.getDuration(t,r),i="Session/Duration/Ms"),"expired"===e&&(i="Session/Expired/Seen"),"inactive"===e&&(i="Session/Inactive/Seen"),i&&(0,m.p)(v.xV,[i,n],void 0,y.K7.metrics,this.ee)}getDuration(e=this.state,t){let r=e.expiresAt-this.expiresMs;return(t?Date.now():e.updatedAt)-r}getFutureTimestamp(e){return Date.now()+e}
2syncCustomAttribute(e,t){if(u.RI)if(null===t){let t=this.read();t.custom&&(delete t.custom[e],this.write({...t}))}else{let r=this.read();this.custom={...r?.custom||{},[e]:t},this.write({...r,custom:this.custom})}}}class E{get(e){try{return localStorage.getItem(e)||void 0}catch(e){return""}}set(e,t){try{if(null==t)return this.remove(e);return localStorage.setItem(e,t)}catch(e){}}remove(e){try{localStorage.removeItem(e)}catch(e){}}}var S=r(29077),R=r(38839),A=r(52428);function k(e){var t,r;let a,s;if(e.runtime.session)return e.runtime.session;let c=e.init.session,u=function(e,t){var r="".concat(String(e),":").concat(String(t));let n=0x811c9dc5;for(let e=0;e<r.length;e++)n^=r.charCodeAt(e),n=Math.imul(n,0x1000193);return(n>>>0).toString(16).padStart(8,"0")}(e.info.licenseKey,e.info.applicationID);e.runtime.session=new w({agentRef:e,key:u,storage:new E,expiresMs:c?.expiresMs,inactiveMs:c?.inactiveMs});let l=e.runtime.session.state.custom;l&&Object.keys(l).length&&(e.info=(0,S.D)({...e.info,jsAttributes:{...l,...e.info.jsAttributes}})),e.runtime.jsAttributesMetadata=(t=e.info,r="jsAttributes",s={bytes:Object.keys(a=t[r]??={}).reduce((e,t)=>e+t.length+(0,o.A)(a[t]).length,0)},t[r]=new Proxy(a,{set(e,t,r){return s.bytes+=t.length+(0,o.A)(r).length,e[t]=r,!0},deleteProperty(e,t){return s.bytes-=t.length+(0,o.A)(e[t]).length,delete e[t]}}),s);let d=e.ee;return(0,i.i)("api-setCustomAttribute",(t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)},"session",d),(0,i.i)("api-setUserId",(t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)},"session",d),(0,i.i)("api-setUserIdAndResetSession",t=>{e.runtime.session.reset(),(0,m.p)(v.xV,["API/"+R.Dl+"/resetSession/called"],void 0,y.K7.metrics,d),(0,A.U)(e,"enduser.id",t,R.Dl,!0)},"session",d),(0,i.i)("api-consent",t=>{e.runtime.session.write({consent:void 0===t||t})},"session",d),(0,n.Ze)(e,"session"),e.runtime.session}},58826:function(e,t,r){"use strict";r.d(t,{r:function(){return m}});var n=r(87688),i=r(96657),a=r(19470),s=r(21690),o=r(97517);class c{#y=[];#b=0;#T;#w;constructor(e=o.It,t){this.maxPayloadSize=e,this.featureAgg=t}get length(){return this.#y.length}isEmpty(){return 0===this.#y.length}get(){return this.#y}byteSize(){return this.#b}wouldExceedMaxSize(e){return this.#b+e>this.maxPayloadSize}add(e,t){let r=t||(0,s.A)(e)?.length||0;if(this.#b+r>this.maxPayloadSize){let e;return this.featureAgg?.reportSupportabilityMetric((e=this.featureAgg.featureName,"EventBuffer/".concat(e,"/Dropped/Bytes")),r),this.featureAgg?.reportSupportabilityMetric("EventBuffer/".concat("Combined","/Dropped/Bytes"),r),!1}return this.#y.push(e),this.#b+=r,this.featureAgg?.decideEarlyHarvest(),!0}merge(e,t){if(this.isEmpty()||!e)return!1;let r=this.#y.findIndex(e);return!(r<0)&&(this.#y[r]={...this.#y[r],...t},!0)}clear(e={}){void 0!==e.clearBeforeTime&&e.timestampKey?this.#y=this.#y.filter(t=>t[e.timestampKey]>=e.clearBeforeTime):void 0!==e.clearBeforeIndex?this.#y=this.#y.slice(e.clearBeforeIndex):this.#y=[],this.#b=this.#y.length&&(0,s.A)(this.#y)?.length||0}save(){this.#T=this.#y,this.#w=this.#b}clearSave(){this.#T=void 0,this.#w=void 0}reloadSave(){!this.#T||this.#w+this.#b>this.maxPayloadSize||(this.#y=[...this.#T,...this.#y],this.#b=this.#w+this.#b)}}var u=r(34842),l=r(7187);class d{constructor(){this.aggregatedData={}}store(e,t,r,n,i){var a,s,o=this.#E(e,t,r,i);return a=n,(s=o.metrics)||(s={count:0}),s.count+=1,Object.entries(a||{}).forEach(([e,t])=>{s[e]=f(t,s[e])}),o.metrics=s,o}merge(e,t,r,n,i,a=!1){var s=this.#E(e,t,n,i);if(a&&(s.params=n),!s.metrics){s.metrics=r;return}var o=s.metrics;o.count+=r.count,Object.keys(r||{}).forEach(e=>{if("count"!==e){var t,n,i=o[e],a=r[e];a&&!a.c?o[e]=f(a.t,i):o[e]=(t=a,(n=o[e])?(n.c||(n=h(n.t)),n.min=Math.min(t.min,n.min),n.max=Math.max(t.max,n.max),n.t+=t.t,n.sos+=t.sos,n.c+=t.c,n):t)}})}storeMetric(e,t,r,n){var i=this.#E(e,t,r);return i.stats=f(n,i.stats),i}take(e,t=!0){for(var r={},n="",i=!1,a=0;a<e.length;a++)r[n=e[a]]=Object.values(this.aggregatedData[n]||{}),r[n].length&&(i=!0),t&&delete this.aggregatedData[n];return i?r:null}#E(e,t,r,n){this.aggregatedData[e]||(this.aggregatedData[e]={});var i=this.aggregatedData[e][t];return!i&&(i=this.aggregatedData[e][t]={params:r||{}},n&&(i.custom=n)),i}}function f(e,t){var r;return null==e?((r=t)?r.c++:r={c:1},r):t?(t.c||(t=h(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 h(e){return{t:e,min:e,max:e,sos:e*e,c:1}}
2class p{#S=new d;#R={};byteSize(){return 0}isEmpty({aggregatorTypes:e}){return e?e.every(e=>!this.#S.aggregatedData[e]):0===Object.keys(this.#S.aggregatedData).length}add([e,t,r,n,i]){return this.#S.store(e,t,r,n,i),!0}addMetric(e,t,r,n){return this.#S.storeMetric(e,t,r,n),!0}save({aggregatorTypes:e}){let t=e.toString(),r={};e.forEach(e=>r[e]=this.#S.aggregatedData[e]),this.#R[t]=r}get(e){let t=Array.isArray(e)?e:e.aggregatorTypes;return this.#S.take(t,!1)}clear({aggregatorTypes:e}={}){if(!e){this.#S.aggregatedData={};return}e.forEach(e=>delete this.#S.aggregatedData[e])}reloadSave({aggregatorTypes:e}){let t=e.toString(),r=this.#R[t];e.forEach(e=>{Object.keys(r[e]||{}).forEach(t=>{let n=r[e][t];this.#S.merge(e,t,n.metrics,n.params,n.custom,!0)})})}clearSave({aggregatorTypes:e}){let t=e.toString();delete this.#R[t]}}var g=r(49674);class m extends n.W{constructor(e,t){super(e,t),this.customAttributesAreSeparate=!1,this.canHarvestEarly=!0,this.isRetrying=!1,this.harvestOpts={},this.#A(),this.waitForDrain()}#A(){if(!this.events)switch(this.featureName){case a.K7.sessionReplay:break;case a.K7.jserrors:case a.K7.metrics:this.events=this.agentRef.sharedAggregator??=new p;break;default:this.events=new c(o.It,this)}}get supportsRegisteredEntities(){return this.featureName in o.KC&&(o.KC[this.featureName]||this.agentRef.init.feature_flags.includes("register."+this.featureName))}get harvestEndpointVersion(){return this.supportsRegisteredEntities&&this.agentRef.runtime.registeredEntities.length?2:1}waitForDrain(){this.ee.on("drain-"+this.featureName,()=>{this.drained||setTimeout(()=>this.agentRef.runtime.harvester.triggerHarvestFor(this),1),this.drained=!0})}decideEarlyHarvest(){if(!this.canHarvestEarly||this.blocked||this.isRetrying)return;let e=this.events.byteSize()+(this.customAttributesAreSeparate?this.agentRef.runtime.jsAttributesMetadata.bytes:0);e>16e3&&(this.agentRef.runtime.harvester.triggerHarvestFor(this),this.reportSupportabilityMetric("".concat(this.featureName,"/Harvest/Early/Seen"),e))}waitForFlags(e=[]){return new Promise((t,r)=>{this.agentRef.runtime?.activatedFeatures?t(n(this.agentRef.runtime.activatedFeatures)):this.ee.on("rumresp",(e={})=>{t(n(e))});function n(t){return e.map(e=>((void 0===t[e]||null===t[e])&&(0,g.R)(71,e),t[e])?t[e]:0)}}).catch(e=>{this.ee.emit("internal-error",[e]),this.blocked=!0,this.deregisterDrain()})}drain(){(0,i.Ze)(this.agentRef,this.featureName)}preHarvestChecks(e){return!this.blocked&&!this.ee.aborted}makeHarvestPayload(e=!1,t={}){if(!this.events||this.events.isEmpty(this.harvestOpts)||this.preHarvestChecks&&!this.preHarvestChecks(t))return;e&&this.events.save(this.harvestOpts);let r=this.events.get(this.harvestOpts);if(!r)return;this.events.clear(this.harvestOpts);let n={body:this.serializer?this.serializer(r):r};return this.queryStringsBuilder&&(n.qs=this.queryStringsBuilder(r)),n}postHarvestCleanup(e={}){this.isRetrying=e.sent&&e.retry,this.isRetrying&&this.events.reloadSave(this.harvestOpts),this.events.clearSave(this.harvestOpts)}reportSupportabilityMetric(e,t){(0,u.p)(l.xV,[e,t],void 0,a.K7.metrics,this.ee)}}},87688:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(96657);class i{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){(0,n.x3)(this.agentRef,this.featureName)}}},17305:function(e,t,r){"use strict";var n=r(58740);r.d(t,["V",0,e=>n.RI&&e?.privacy.cookies_enabled===!0])},96211:function(e,t,r){"use strict";r.d(t,{x:function(){return b}});var n=r(96657),i=r(87688),a=r(92919),s=r(58740),o=r(49674),c=r(29077),u=r(80166),l=r(21966),d=r(19470),f=r(71736),h=r(17305),p=r(55239),g=r(97517),m=r(34842);let v=new WeakSet,y=new WeakMap;class b extends i.W{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise((t,r)=>{this.ee.on("manual-start-all",(0,p.J)(()=>{(0,n.Ak)(e,this.featureName),t()}))}):(0,n.Ak)(e,t)}importAggregator(e,t,r={}){if(this.featAggregate)return;let i=async()=>
2{if(await this.deferred,this.#k(e),!(0,c.f)(e.info)){(0,o.R)(43),e.ee.abort(),this.loadedSuccessfully(!1);return}try{await T(e,this.ee,this.featureName)}catch(e){(0,o.R)(79,e),this.ee.abort(),this.loadedSuccessfully(!1);return}try{if(!this.#M(this.featureName,e.runtime.session,e.init)){this.abortHandler?.(),(0,n.Ze)(this.agentRef,this.featureName),this.loadedSuccessfully(!1);return}let{Aggregate:i}=await t();this.featAggregate=new i(e,r),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,o.R)(34,e),this.abortHandler?.(),(0,n.Ze)(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1)}};s.RI?(0,a.GG)(()=>i(),!0):i()}#M(e,t,r){if(this.blocked)return!1;switch(e){case d.K7.sessionReplay:return(0,f.SR)(r)&&!!t;case d.K7.sessionTrace:return!!t;default:return!0}}#k(e){if(!v.has(e)&&(v.add(e),!(0,c.f)(e.info))){let t=(0,l.pV)(),r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}(0,u.j)(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}}async function T(e,t,n){if(y.has(e))return y.get(e);let i=(async()=>{if((0,h.V)(e.init))try{let{setupAgentSession:t}=await Promise.all([r.e(8170),r.e(967)]).then(r.bind(r,35695));t(e)}catch(e){(0,o.R)(20,e),t.emit("internal-error",[e]),(0,m.p)(g.qh,[e],void 0,n,t)}if(e.init.api.register.allow_iframe_bridge)try{let{setupIframeMFEMessageListener:t}=await r.e(8170).then(r.t.bind(r,23210,23));t(e)}catch(e){(0,o.R)(23,e)}let[{Connector:i},{Harvester:a}]=await Promise.all([Promise.all([r.e(8170),r.e(3488)]).then(r.bind(r,50663)),Promise.all([r.e(8170),r.e(1631)]).then(r.bind(r,29017))]);e.runtime.connector=new i(e),e.runtime.harvester=new a(e),Promise.all(Object.values(e.features).filter(t=>e.runtime.drainRegistry.has(t.featureName)).map(e=>e.onAggregateImported)).then(()=>e.runtime.harvester.startTimer())})();y.set(e,i),await i}},85972:function(e,t,r){"use strict";r.d(t,{d:function(){return a}});var n=r(98800),i=r(34703);class a extends i.W{agentIdentifier=(0,n.LA)(16)}},97961:function(e,t,r){"use strict";r.r(t),r.d(t,{Agent:function(){return p}});var n=r(85972),i=r(19470);let a=Object.values(i.K7);var s=r(80166),o=r(25943),c=r(21966),u=r(49674),l=r(58740),d=r(38839),f=r(52428),h=r(34842);class p extends n.d{constructor(e){var t,r,n,i,a;if(super(),!l.gm)return void(0,u.R)(21);this.features={},(0,c.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(o.C),(0,s.j)(this,e,e.loaderType||"agent"),t=this,(0,f.Y)(d.cD,function(e,r,n=!1){return"string"!=typeof e?void(0,u.R)(39,typeof e):["string","number","boolean"].includes(typeof r)||null===r?(0,f.U)(t,e,r,d.cD,n):void(0,u.R)(40,typeof r)},t),r=this,(0,f.Y)(d.Dl,function(e,t=!1){if("string"!=typeof e&&null!==e)return void(0,u.R)(41,typeof e);let n=r.info.jsAttributes["enduser.id"];t&&null!=n&&n!==e?(0,h.p)("api-setUserIdAndResetSession",[e],void 0,"session",r.ee):(0,f.U)(r,"enduser.id",e,d.Dl,!0)},r),n=this,(0,f.Y)(d.nb,function(e){return"string"!=typeof e&&null!==e?void(0,u.R)(42,typeof e):(0,f.U)(n,"application.version",e,d.nb,!1)},n),i=this,(0,f.Y)("start",function(){i.ee.emit("manual-start-all")},i),a=this,(0,f.Y)(d.Pv,function(e=!0){if("boolean"!=typeof e)return void(0,u.R)(65,typeof e);if((0,h.p)("api-"+d.Pv,[e],void 0,"session",a.ee),a.runtime.consented=e,e){let e=a.features.page_view_event;e.onAggregateImported.then(t=>{let r=e.featAggregate;t&&!r.sentRum&&r.sendRum?.()})}},a),this.run()}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{var e;let t,r=(e=this.init,t={},a.forEach(r=>{t[r]=!!e[r]?.enabled}),t),n=[...this.desiredFeatures],s=this.init.feature_flags.includes("rum_v2");n.sort((e,t)=>
2i.P3[e.featureName]-i.P3[t.featureName]),n.forEach(e=>{if(!r[e.featureName]&&(s||e.featureName!==i.K7.pageViewEvent))return;let t=(function(e){switch(e){case i.K7.ajax:return[i.K7.jserrors];case i.K7.sessionTrace:return[i.K7.ajax,i.K7.pageViewEvent];case i.K7.sessionReplay:return[i.K7.sessionTrace];case i.K7.pageViewTiming:return[i.K7.pageViewEvent];default:return[]}})(e.featureName).filter(e=>!(e in this.features));t.length>0&&(0,u.R)(36,{targetFeature:e.featureName,missingDependencies:t}),this.features[e.featureName]=new e(this)})}catch(t){for(let e in(0,u.R)(22,t),this.features)this.features[e].abortHandler?.();let e=(0,c.Zm)();return delete e.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator,e.ee.get(this.agentIdentifier).abort(),!1}}}},34703:function(e,t,r){"use strict";r.d(t,{W:function(){return a}});var n=r(49674),i=r(38839);class a{#x(e,...t){if(this[e]!==a.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#x(i.hG,e,t)}register(e){return this.#x(i.eY,e)}recordCustomEvent(e,t){return this.#x(i.fF,e,t)}setPageViewName(e,t){return this.#x(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#x(i.cD,e,t,r)}noticeError(e,t){return this.#x(i.o5,e,t)}setUserId(e,t=!1){return this.#x(i.Dl,e,t)}setApplicationVersion(e){return this.#x(i.nb,e)}setErrorHandler(e){return this.#x(i.bt,e)}addRelease(e,t){return this.#x(i.k6,e,t)}log(e,t){return this.#x("log",e,t)}start(){return this.#x("start")}finished(e){return this.#x(i.BL,e)}recordReplay(){return this.#x(i.CH)}pauseReplay(){return this.#x(i.Tb)}addToTrace(e){return this.#x(i.U2,e)}setCurrentRouteName(e){return this.#x(i.PA,e)}interaction(e){return this.#x(i.dT,e)}wrapLogger(e,t,r){return this.#x(i.Wb,e,t,r)}measure(e,t){return this.#x(i.V1,e,t)}consent(e){return this.#x(i.Pv,e)}}},50824:function(e,t,r){"use strict";r.d(t,{b:function(){return u},u:function(){return c}});var n=r(34842),i=r(31609),a=r(19470),s=r(38839),o=r(52428);function c(e){(0,o.Y)(s.hG,(t,r)=>u(t,r,e),e)}function u(e,t,r,o,c=(0,i.t)()){(0,n.p)("api-"+s.hG,[c,e,t,o],void 0,a.K7.genericEvents,r.ee)}},38839:function(e,t,r){"use strict";r.d(t,["BL",0,"finished","CH",0,"recordReplay","Dl",0,"setUserId","Fw",0,"setPageViewName","PA",0,"setCurrentRouteName","Pv",0,"consent","Tb",0,"pauseReplay","U2",0,"addToTrace","V1",0,"measure","Wb",0,"wrapLogger","bt",0,"setErrorHandler","cD",0,"setCustomAttribute","dT",0,"interaction","eY",0,"register","fF",0,"recordCustomEvent","hG",0,"addPageAction","hw",0,"api-ixn-","k6",0,"addRelease","nb",0,"setApplicationVersion","o5",0,"noticeError"])},42578:function(e,t,r){"use strict";r.d(t,{s:function(){return l}});var n=r(58740),i=r(34842),a=r(49674),s=r(7187),o=r(19470),c=r(38839),u=r(52428);function l(e){(0,u.Y)(c.BL,function(t=Date.now()){let r=t-n.WN;r<0&&(0,a.R)(62,t),(0,i.p)(s.XG,[c.BL,{time:r}],void 0,o.K7.metrics,e.ee),e.addToTrace({name:c.BL,start:t,origin:"nr"}),(0,i.p)("api-"+c.hG,[r,c.BL],void 0,o.K7.genericEvents,e.ee)},e)}},74598:function(e,t,r){"use strict";r.d(t,{_:function(){return u}});var n=r(34842),i=r(31609),a=r(7187),s=r(19470),o=r(38839),c=r(52428);function u(e){let t=e.ee.get("tracer");function r(){}(0,c.Y)(o.dT,function(e){return new r().get("object"==typeof e?e:{})},e);let u=r.prototype={createTracer:function(r,o){var c={},u=this,l="function"==typeof o;return(0,n.p)(a.xV,["API/createTracer/called"],void 0,s.K7.metrics,e.ee),function(){if(t.emit((l?"":"no-")+"fn-start",[(0,i.t)(),u,l],c),l)try{return o.apply(this,arguments)}catch(r){let e="string"==typeof r?Error(r):r;throw t.emit("fn-err",[arguments,this,e],c),e}finally{t.emit("fn-end",[(0,i.t)()],c)}}}};["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach(t=>{c.Y.apply(this,[t,function(){return(0,n.p)(o.hw+t,[performance.now(),...arguments],this,s.K7.softNav,e.ee),this},e,u])}),(0,c.Y)(o.PA,function(){(0,n.p)(o.hw+"routeName",[performance.now(),...arguments],void 0,s.K7.softNav,e.ee)},e)}},36518:function(e,t,r){"use strict";r.d(t,{w:function(){return u},x:function(){return l}});var n=r(34842),i=r(31609),a=r(49674),s=r(19470),o=r(38839),c=r(52428);function u(e){(0,c.Y)(o.V1,(t,r)=>l(t,r,e),e)}function l(e,t,r,c,u=(0,i.t)()){let{start:d,end:f,customAttributes:h}=t||{},p={customAttributes:h||{}};if("object"!=typeof p.customAttributes||"string"!=typeof e||0===e.length)return void(0,a.R)(57);let g=(e,t)=>null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:0/0;return(p.start=g(d,0),p.end=g(f,u),Number.isNaN(p.start)||Number.isNaN(p.end))?void(0,a.R)(57):(p.duration=p.end-p.start,p.duration<0)?void(0,a.R)(58):((0,n.p)("api-"+o.V1,[p,e,c],void 0,s.K7.genericEvents,r.ee),p)}},1644:function(e,t,r){"use strict";r.d(t,{S:function(){return c},b:function(){return u}});var n=r(34842),i=r(31609),a=r(19470),s=r(38839),o=r(52428);function c(e){(0,o.Y)(s.fF,(t,r)=>u(t,r,e),e)}function u(e,t={},r,o,c=(0,i.t)()){(0,n.p)("api-"+s.fF,[c,e,t,o],void 0,a.K7.genericEvents,r.ee)}},71353:function(e,t,r){"use strict";r.d(t,{T:function(){return B}});var n=r(34842),i=r(49674),a=r(37758),s=r(19470),o=r(31609),c=r(7187),u=r(52428),l=r(38839),d=r(61059),f=r(47415);function h(e,{customAttributes:t={},level:r=d.p_.INFO}={},n,i,a=(0,o.t)()){(0,f.R)(n.ee,e,t,r,!1,i,a)}var p=r(50824);function g(e,t,r,i,a=(0,o.t)()){"string"==typeof e&&(e=Error(e)),(0,n.p)("err",[e,a,!1,t,r.runtime.isRecording,void 0,i],void 0,s.K7.jserrors,r.ee),(0,n.p)("uaErr",[],void 0,s.K7.genericEvents,r.ee)}var m=r(55239),v=r(36518),y=r(1644),b=r(62449),T=r(99022),w=r(58740);let E=(e,t)=>e?.nrMfeId===t.id&&(!e?.nrMfeObserved||e?.nrMfeObserved===t.instance),S=e=>{try{return w.gm.CSS.escape(e)}catch(t){return e}},R=(e,t={})=>{let r=t.id,n=t.instance;if(!e||!r||!n)return!1;try{let r=1===e.nodeType?e:e.parentElement;for(;r?.tagName;
2){if(E(r.dataset,t))return r.dataset.nrMfeObserved=n,!0;r=r.parentNode}}catch(e){}return!1},A=(e,t)=>{let r=(Array.from(w.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(S(e.id),'"]')))||[]).find(t=>E(t.dataset,e)),n=!!r;n&&(r.dataset.nrMfeObserved??=e.instance);let i=new w.gm.MutationObserver(r=>{r.forEach(r=>{r.addedNodes.forEach(r=>{let a=1===r.nodeType?r:null;!n&&E(a?.dataset,e)&&(i.disconnect(),i.observe(a,{childList:!0,subtree:!0}),n=!0,a.dataset.nrMfeObserved=e.instance),(e=>{try{return e?.textContent?.trim()||["img","video","canvas","svg"].includes(e?.nodeName?.toLowerCase())}catch(e){return!1}})(r)&&(n||R(r,e))&&t(r,i)})})});return i.observe(r||w.gm.document,{childList:!0,subtree:!0}),i},k=(e,t,r)=>{try{let n=new w.gm.PerformanceObserver(e=>{e.getEntries().forEach(r)});return n.observe(t),e.push(n),n}catch(e){return null}};var M=r(98800),x=r(17414),I=r(18897);let D=["entry","scripts","all"],_=["name","id","type"],O=new Map([[p.b,"addPageAction"],[h,"log"],[v.x,"measure"],[g,"noticeError"],[y.b,"recordCustomEvent"]]),j={experimental:(0,m.J)(()=>(0,i.R)(54,"newrelic.register")),disabled:(0,m.J)(()=>(0,i.R)(55)),invalidTarget:(0,m.J)(e=>(0,i.R)(48,e)),deregistered:(0,m.J)(()=>(0,i.R)(68)),invalidTimingMethod:(0,m.J)(e=>(0,i.R)(80,e)),duplicateName:(0,m.J)(e=>(0,i.R)(81,e)),duplicateId:(0,m.J)(e=>(0,i.R)(82,e))};function B(e){(0,u.Y)(l.eY,function(t){return function e(t,r){j.experimental(),(r||={}).instance=(0,M.LA)(8),r.type=a.f.MFE,r.licenseKey||=t.info.licenseKey,r.blocked=!1,("object"!=typeof r.tags||null===r.tags||Array.isArray(r.tags))&&(r.tags={}),r.parent??={get id(){return t.runtime.appMetadata.agents?.[0].entityGuid},type:a.f.BA},r.manifest=(0,x.N)(r.manifest),void 0===r.timingMethod||D.includes(r.timingMethod)||(j.invalidTimingMethod(r.timingMethod),r.timingMethod=void 0);let u=(0,T.Qr)(r);r.manifest&&(0,T.xo)(u,r);let l=function(e,t){let r,n,i=!1,a=e=>null==e?e:e-(t?.scriptStart||t?.registeredAt||0),s={fcp:{get value(){let e=a(r);return e>1e4?void 0:e},set value(e){i||(r=e)}},lcp:{get value(){if(void 0!==s.fcp.value)return a(n)},set value(e){i||(n=e)}},cls:{value:void 0},inp:{value:void 0},disconnect:()=>{}};if(!e||!w.RI||!w.gm.MutationObserver||!w.gm.PerformanceObserver)return s;let c=[];setTimeout(()=>{r||s.disconnect()},1e4);let u=()=>{if(!i){if(null==r){let e=(0,o.t)();if(a(e)>1e4)return void s.disconnect();r=e}n??=(0,o.t)(),s.cls.value??=0}},l=A(e,(e,t)=>{u(),t.disconnect()});c.push(l);let d=0,f=null,h=new Set;try{f=new w.gm.ResizeObserver(e=>{i||e.forEach(e=>{try{let t=e.contentRect.width*e.contentRect.height;t>d&&(d=t,s.lcp.value=(0,o.t)()),f.unobserve(e.target)}catch(e){}})})}catch(e){}let p=A(e,e=>{if(u(),f)try{let t=1===e.nodeType?e:e.parentElement;t&&!h.has(t)&&(h.add(t),"IMG"===t.tagName?t.complete?f.observe(t):t.addEventListener("load",()=>{f.observe(t)},{once:!0}):"VIDEO"===t.tagName?t.readyState>=2?f.observe(t):t.addEventListener("loadeddata",()=>{f.observe(t)},{once:!0}):f.observe(t))}catch(e){}});f&&c.push(f),c.push(p),k(c,{type:"layout-shift",buffered:!0},t=>{i||t.hadRecentInput||(t.sources||[]).some(r=>!!R(r.node,e)&&(u(),s.cls.value+=t.value,!0))}),k(c,{type:"event",buffered:!0,durationThreshold:40},t=>{!i&&t.interactionId&&R(t.target,e)&&(void 0===s.inp.value||t.duration>s.inp.value)&&(u(),s.inp.value=t.duration)});let g=["pointerdown","keydown"],m=()=>{g.forEach(e=>{w.gm.removeEventListener(e,v,{passive:!0})})};s.disconnect=()=>{i=!0,c.forEach(e=>{try{e?.disconnect()}catch(e){}}),m(),["visibilitychange","pagehide"].forEach(e=>{w.gm.removeEventListener(e,s.disconnect,{once:!0,passive:!0})})};let v=t=>{if(R(t?.target,e)){try{p?.disconnect(),f?.disconnect()}catch(e){}m()}};return g.forEach(e=>{w.gm.addEventListener(e,v,{passive:!0})}),["visibilitychange","pagehide"].forEach(e=>{w.gm.addEventListener(e,s.disconnect,{once:!0,passive:!0})}),Array.from(w.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(S(e.id),'"]'))||[]).some(t=>E(t.dataset,e))&&u(),s}(r,u),d=(0,I.L)(""+location),f={};Object.prototype.hasOwnProperty.call(r,"attributes")||Object.defineProperty(r,"attributes",{get(){return{...f,"source.id":r.id,"source.name":r.name,"source.type":r.type,"parent.type":r.parent?.type||a.f.BA,"parent.id":r.parent?.id}}}
2),Object.entries(r.tags).forEach(([e,t])=>{_.includes(e)||(f["source.".concat(e)]=t)});let m=()=>{},B=t.runtime.registeredEntities,P=e=>{r.blocked=!0,m=e};function N(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501}t.init.api.register.enabled||P(j.disabled),N(r.id)&&N(r.name)||P(()=>j.invalidTarget(r)),B.forEach(e=>{try{let{name:t,id:n}=e.metadata.target;t===r.name&&n!==r.id&&j.duplicateName(r),n===r.id&&t!==r.name&&j.duplicateId(r)}catch(e){}});let L={addPageAction:(e,n={})=>V(p.b,[e,{...f,...n},t],r),deregister:()=>{F(),P(j.deregistered)},log:(e,n={})=>V(h,[e,{...n,customAttributes:{...f,...n.customAttributes||{}}},t],r),measure:(e,n={})=>V(v.x,[e,{...n,customAttributes:{...f,...n.customAttributes||{}}},t],r),noticeError:(e,n={})=>V(g,[e,{...f,...n},t],r),recordCustomEvent:(e,n={})=>V(y.b,[e,{...f,...n},t],r),setApplicationVersion:e=>W("application.version",e),setCustomAttribute:(e,t)=>W(e,t),setUserId:e=>W("enduser.id",e),metadata:{get customAttributes(){return f},target:r,timings:u,vitals:l,events:{latestTimestamp:void 0}}},C=()=>(r.blocked&&m(),r.blocked);function F(){if(u.reportedAt)return;u.reportedAt=(0,o.t)(),l.disconnect(),u.fcp=l.fcp,u.lcp=l.lcp,u.cls=l.cls,u.inp=l.inp;let e=u.fetchEnd-u.fetchStart,t=u.scriptEnd-u.scriptStart,r={assetUrl:u.asset,assetType:u.type,registerUrl:d,deregisterUrl:(0,I.L)(""+location),pageUrl:void 0,currentUrl:void 0,timeAlive:u.reportedAt-u.registeredAt,timeToBeRequested:u.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,t
2imeToRegister:u.registeredAt,totalWeight:u.totalWeight,...void 0!==u.renderBlocking&&{renderBlocking:u.renderBlocking},...l.fcp.value>=0&&{"vitals.fcp.value":l.fcp.value},...l.lcp.value>=0&&{"vitals.lcp.value":l.lcp.value},...l.cls.value>=0&&{"vitals.cls.value":l.cls.value},...l.inp.value>=0&&{"vitals.inp.value":l.inp.value}};L.recordCustomEvent("MicroFrontEndTiming",r)}C()||(B.push(L),(0,b.G)(F));let W=(e,t)=>{C()||(f[e]=t)},V=(r,a,u)=>{if(C()&&r!==e)return;let l=L.metadata.events.latestTimestamp??(0,o.t)();L.metadata.events.latestTimestamp=void 0;let d=O.get(r)||"unknown";(0,n.p)(c.xV,["API/register/".concat(d,"/called")],void 0,s.K7.metrics,t.ee);try{return r(...a,u,l)}catch(e){(0,i.R)(50,e)}};return L}(e,t)},e)}},9715:function(e,t,r){"use strict";r.d(t,{d:function(){return o}});var n=r(34842),i=r(31609),a=r(38839),s=r(52428);function o(e){(0,s.Y)(a.Fw,function(t,r){"string"==typeof t&&("/"!==t.charAt(0)&&(t="/"+t),e.runtime.customTransaction=(r||"http://custom.transaction")+t,(0,n.p)("api-"+a.Fw,[(0,i.t)()],void 0,void 0,e.ee))},e)}},52428:function(e,t,r){"use strict";r.d(t,{U:function(){return d},Y:function(){return l}});var n=r(71999),i=r(34842),a=r(31609),s=r(49674),o=r(7187),c=r(85972),u=r(19470);function l(e,t,r,a){let l=a||r;l&&(!l[e]||l[e]===c.d.prototype[e])&&(l[e]=function(){(0,i.p)(o.xV,["API/"+e+"/called"],void 0,u.K7.metrics,r.ee),(0,n.W)({drained:!!r.runtime?.activatedFeatures,type:"data",name:"api",feature:"api-"+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,s.R)(23,e)}})}function d(e,t,r,n,s){let o=e.info;null===r?delete o.jsAttributes[t]:o.jsAttributes[t]=r,(s||null===r)&&(0,i.p)("api-"+n,[(0,a.t)(),t,r],void 0,"session",e.ee)}},80166:function(e,t,r){"use strict";r.d(t,{j:function(){return R}});var n=r(21966),i=r(34703),a=r(29077),s=r(17023),o=r(51914);let c=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var u=r(79324),l=r(49674),d=r(19644);let f="[data-nr-mask]";var h=r(58740),p=r(5928);let g=0,m={buildEnv:"NPM",distMethod:"NPM",version:p.xv,originTime:h.WN},v={consented:!1},y={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||v.consented},set consented(e){v.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,connector:void 0,harvester:void 0,v2Target: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,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++g},listeningForIframeMessages:!1};var b=r(37758),T=r(68126),w=r(71999);let E={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0};var S=r(34842);function R(e,t={},r,p){var g;let v,A,{init:k,info:M,loader_config:x,runtime:I={},exposed:D=!0}=t;if(!M){let e=(0,n.pV)();k=e.init,M=e.info,x=e.loader_config}g=k||{},e.init=(0,d.a)(g,(v={feature_flags:[],experimental:{register:!1,resources:!1,iframe_bridge:!1,iframe_domains:[]},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}},{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:o.mo.NONE},api:{register:{get enabled(){return v.feature_flags.includes(s.$v.REGISTER)||v.experimental.register},set enabled(e){v.experimental.register=e},duplicate_data_to_container:!1,get allow_iframe_bridge(){return v.feature_flags.includes(s.$v.IFRAME_BRIDGE)||v.experimental.iframe_bridge},set allow_iframe_bridge(e){v.experimental.iframe_bridge=e},get iframe_domains(){return v.experimental.iframe_domains},set iframe_domains(e){Array.isArray(e)?v.experimental.iframe_domains=e:(0,l.R)(1,e)}}},browser_consent_mode:{enabled:!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 v.feature_flags},set feature_flags(e){v.feature_flags=e},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:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return v.feature_flags.includes(s.$v.RESOURCES)||v.experimental.resources},set enabled(e){v.experimental.resources=e},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:u.wk,inactiveMs:u.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inl
2ine_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return v.mask_selector},set mask_text_selector(e){c(e)?v.mask_selector="".concat(e,",").concat(f):""===e||null===e?v.mask_selector=f:(0,l.R)(5,e)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return v.block_selector},set block_selector(e){c(e)?v.block_selector+=",".concat(e):""!==e&&(0,l.R)(6,e)},get mask_input_options(){return v.mask_input_options},set mask_input_options(e){e&&"object"==typeof e?v.mask_input_options={...e,password:!0}:(0,l.R)(7,e)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]},web_sockets:{enabled:!1}})),A=x||{},e.loader_config=(0,d.a)(A,E),M.jsAttributes??={},h.bv&&(M.jsAttributes.isWorker=!0),e.info=(0,a.D)(M);let _=e.init;if(e.runtime??=Object.defineProperties((0,d.a)(I,y),Object.keys(m).reduce((e,t)=>(e[t]={value:m[t],writable:!1,configurable:!0,enumerable:!0},e),{})),e.runtime.v2Target??={type:b.f.BA,instance:e.agentIdentifier,get id(){return e.runtime.appMetadata?.agents?.[0]?.entityGuid},get attributes(){return{"entity.guid":this.id,appId:e.info.applicationID}}},_.proxy.assets&&_.proxy.assets,!e.runtime.configured){let t;Object.defineProperty(e,"beacons",{get(){return[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}}),Object.defineProperty(e.runtime,"denyList",{get(){return[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}}),e.runtime.ptid=e.agentIdentifier,t=(0,n.pV)(),Object.getOwnPropertyNames(i.W.prototype).forEach(r=>{let n=i.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let a=t[r];e[r]&&!1!==e.exposed&&e.runtime?.loaderType!=="micro-agent"&&(t[r]=(...t)=>{let n=e[r](...t);return a?a(...t):n})}),e.runtime.loaderType=r,e.ee=T.ee.get(e.agentIdentifier),e.exposed=D,(0,w.W)({drained:!!e.runtime.activatedFeatures,type:"lifecycle",name:"initialize",feature:void 0,data:e.config}),e.init.api.register.allow_iframe_bridge&&h.gm.addEventListener("message",t=>{"string"==typeof t.data?.type&&t.data.type.startsWith("newrelic-iframe-")&&(0,S.p)("iframe-message",[t],void 0,"IFRAME",e.ee)}),e.runtime.configured=!0}}},19470:function(e,t,r){"use strict";let n="events",i="jserrors",a="browser/blobs",s="browser/logs",o={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations"},c={[o.pageViewEvent]:1,[o.pageViewTiming]:2,[o.metrics]:3,[o.jserrors]:4,[o.softNav]:5,[o.ajax]:6,[o.sessionTrace]:7,[o.sessionReplay]:8,[o.logging]:9,[o.genericEvents]:10},u={[o.pageViewEvent]:"rum",[o.pageViewTiming]:n,[o.ajax]:n,[o.softNav]:n,[o.metrics]:i,[o.jserrors]:i,[o.sessionTrace]:a,[o.sessionReplay]:a,[o.logging]:s,[o.genericEvents]:"ins"};r.d(t,["$J",0,u,"K7",0,o,"P3",0,c,"XX",0,i,"Yy",0,s,"df",0,a,"hg",0,"connect"])},23210:function(){},57226:function(e,t,r){"use strict";let n;class i{t;o=0;i=[];l(e){if(e.hadRecentInput)return;let t=this.i[0],r=this.i.at(-1);this.o&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}}let a=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},s=e=>{if("loading"===document.readyState)return"loading";let t=a();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"},o=e=>{let t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},c=e=>{let t="";try{for(;9!==e?.nodeType;){let r=e,n=r.id?"#"+r.id:[o(r),...Array.from(r.classList??[]).sort()].join(".");if(t.length+n.length>99)return t||n;if(t=t?n+">"+t:n,r.id)break;e=r.parentNode}}catch{}return t},u=new WeakMap;function l(e,t){let r=u.get(t);return r||(r=new WeakMap,u.set(t,r)),r.get(e)||r.set(e,new t),r.get(e)}let d=-1,f=e=>{addEventListener("pageshow",t=>{t.persisted&&(d=t.timeStamp,e(t))},!0)},h=(e,t,r,n)=>{let i,a;return s=>{let o;t.value>=0&&(s||n)&&((a=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=a,o=t.value,t.rating=o>r[1]?"poor":o>r[0]?"needs-improvement":"good",e(t))}},p=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},g=()=>a()?.activationStart??0,m=-1,v=new Set,y=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,b=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(let e of v)e();isFinite(m)||(m="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",b,!0))}},T=(e=!1)=>
2{if(e&&(m=1/0),m<0){let e=g();m=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime)??y(),addEventListener("visibilitychange",b,!0),addEventListener("prerenderingchange",b,!0),f(()=>{setTimeout(()=>{m=y()})})}return{get firstHiddenTime(){return m},onHidden(e){v.add(e)}}},w=(e,t=-1,r,n=0,i,s,o)=>{let c=a(),u=c?.navigationId||0,l="navigate";return r?l=r:d>=0?l="back-forward-cache":c&&(document.prerendering||g()>0?l="prerender":document.wasDiscarded?l="restore":c.type&&(l=c.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(0x82f79cd8fff*Math.random())+1e12}`,navigationType:l,navigationId:n||u,navigationInteractionId:i,navigationURL:s||c?.name,navigationStartTime:o||0}},E=(e,t,r={})=>{try{let n=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(n.length>0){let e=new PerformanceObserver(e=>{queueMicrotask(()=>{let r=e.getEntries();n.length>1&&r.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(r)})});for(let t of n)e.observe({type:t,buffered:!0,...r});return e}}catch{}},S=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation")&&"function"==typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint&&e&&e.reportSoftNavs,R=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){let t=e.keys().next().value;void 0!==t&&e.delete(t)}},A=e=>{let t=!1;return()=>{t||(e(),t=!0)}};class k{u}let M=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},x=[1800,3e3],I=(e,t={})=>{let r=S(t);M(()=>{let n=l(t,k),i=T(),a,s=w("FCP"),o=E(["paint"],e=>{for(let t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<i.firstHiddenTime&&(s.value=Math.max(t.startTime-g(),0),s.entries.push(t),s.navigationId=t.navigationId||s.navigationId,a(!0)))});o&&(a=h(e,s,x,t.reportAllChanges),f(r=>{a=h(e,s=w("FCP",-1,"back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,d),x,t.reportAllChanges),p(()=>{s.value=performance.now()-r.timeStamp,a(!0)})})),r&&E(["soft-navigation"],r=>{r.forEach(r=>{n.u&&r.navigationId&&R(n.u,r),(a=h(e,s=w("FCP",Math.max((r.presentationTime||r.paintTime||0)-r.startTime,0),"soft-navigation",r.navigationId,r.interactionId,r.name,r.startTime),x,t.reportAllChanges))(!0)})},t)})},D=[.1,.25],_=e=>e.find(e=>1===e.node?.nodeType)||e[0],O=0,j=1/0,B=0,P=e=>{for(let t of e)t.interactionId&&(j=Math.min(j,t.interactionId),O=(B=Math.max(B,t.interactionId))?(B-j)/7+1:0)},N=()=>n?O:performance.interactionCount??0;class L{h=0;v=[];p=new Map;m;M;T(){return N()-this.h}D(){this.h=N(),this.v.length=0,this.p.clear()}S(e){let t=this.T(),r=Math.min(this.v.length-1,Math.floor(t/50));return t&&-1===r&&("soft-navigation"===e||"back-forward-cache"===e)?{k:8,id:-1,entries:[]}:this.v[r]}l(e){if(this.m?.(e),!e.interactionId)return;let t=this.v.at(-1),r=this.p.get(e.interactionId);if(r||this.v.length<10||e.duration>t.k){if(r?e.duration>r.k?(r.entries=[e],r.k=e.duration):e.duration===r.k&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],k:e.duration},this.p.set(r.id,r),this.v.push(r)),this.v.sort((e,t)=>t.k-e.k),this.v.length>10)for(let e of this.v.splice(10))this.p.delete(e.id);this.M?.(r)}}}let C=e=>{let t=1e3*("requestIdleCallback"in globalThis),r=globalThis.requestIdleCallback||setTimeout,n=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{let i=A(e),a=-1,s=()=>{n(a),i()};addEventListener("visibilitychange",s,{once:!0,capture:!0}),a=r(()=>{removeEventListener("visibilitychange",s,{capture:!0}),i()},{timeout:t})}},F=[200,500];class W{m;u;l(e){this.m?.(e)}}let V=[2500,4e3],K=50,U=[];E(["resource"],e=>{for(let t of e)U.push(t),U.length>K&&U.shift()});let H=[800,1800],z=e=>{document.prerendering?M(()=>z(e)):"complete"!==document.readyState?addEventListener("load",()=>z(e),!0):setTimeout(e)};r.d(t,["Ck",0,(e,t={})=>{((e,t={})=>{let r=S(t),n=w("TTFB"),i=h(e,n,H,t.reportAllChanges);z(()=>{let s=a();if(s){let a=s.responseStart;n.value=Math.max(a-g(),0),n.entries=[s],i(!0),f(()=>{(i=h(e,n=w("TTFB",0,"back-forward-cache",n.navigationId,n.navigationInteractionId,n.navigationURL,d),H,t.reportAllChanges))(!0)}),r&&E(["soft-navigation"],r=>{r.forEach(r=>{r.navigationId&&((n=w("TTFB",0,"soft-navigation",r.navigationId,r.interactionId,r.name,r.startTime)).entries=[r],(i=h(e,n,H,t.reportAllChanges))(!0))})},t)}})})(t=>{e((e=>
2{let t=e.entries[0],r={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0,navigationEntry:t};if(e.entries.length&&t instanceof PerformanceNavigationTiming){let n=t.activationStart||0,i=Math.max((t.workerStart||t.fetchStart||0)-n,0),a=Math.max(t.domainLookupStart-n,0),s=Math.max(t.connectStart-n,0),o=Math.max(t.connectEnd-n,0);r={waitingDuration:i,cacheDuration:a-i,dnsDuration:s-a,connectionDuration:o-s,requestDuration:e.value-o,navigationEntry:t}}return Object.assign(e,{attribution:r})})(t))},t)},"IN",0,(e,t={})=>{let r=l(t=Object.assign({},t),i),n=new WeakMap;r.t=e=>{if(e?.sources?.length){let r=_(e.sources),i=r?.node;if(i){let e=t.generateTarget?.(i)??c(i);n.set(r,e)}}},((e,t={})=>{let r=T();I(A(()=>{let n,a=w("CLS",0),s=l(t,i),o=(r,i,o,c,u)=>{a=w("CLS",0,r,i,o,c,u),s.o=0,n=h(e,a,D,t.reportAllChanges)},c=(e=!1)=>{s.o>a.value&&(a.value=s.o,a.entries=s.i),n(e)},u=e=>{c(!0),o("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},g=e=>{for(let t of e)"soft-navigation"!==t.entryType?s.l(t):u(t);c()},m=["layout-shift"];S(t)&&m.push("soft-navigation");let v=E(m,g);v&&(n=h(e,a,D,t.reportAllChanges),r.onHidden(()=>{g(v.takeRecords()),n(!0)}),f(()=>{o("back-forward-cache",a.navigationId,a.navigationInteractionId,a.navigationURL,d),p(n)}),setTimeout(n))}))})(t=>{e((e=>{let t={};if(e.entries.length){let r=e.entries.reduce((e,t)=>e.value>t.value?e:t);if(r?.sources?.length){let e=_(r.sources);e&&(t={largestShiftTarget:n.get(e),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:e,largestShiftEntry:r,loadState:s(r.startTime)})}}return Object.assign(e,{attribution:t})})(t))},t)},"fK",0,(e,t={})=>{null!=(t=Object.assign({},t)).resourceBufferSize&&(K=t.resourceBufferSize);let r=l(t,W),n=new WeakMap;S(t)&&(r.u=new Map),r.m=e=>{let r=e.element;if(r){let i=t.generateTarget?.(r)??c(r);n.set(e,i)}else e.id&&n.set(e,`#${e.id}`)},((e,t={})=>{let r=!1,n=S(t);M(()=>{let i,a=T(),s=w("LCP"),o=l(t,W),c=(n,o,c,u,l)=>{i=h(e,s=w("LCP",-1,n,o,c,u,l),V,t.reportAllChanges),r=!1,"soft-navigation"===n&&(a=T(!0))},u=e=>{o.u&&e.navigationId&&R(o.u,e),r||i(!0),c("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime);let t=e.getLargestInteractionContentfulPaint?.();t&&m([t])},m=e=>{for(let r of(t.reportAllChanges||n||(e=e.slice(-1)),e)){if(!r)continue;if("soft-navigation"===r.entryType){u(r);continue}let e=0,t=[],n=r.startTime;if("largest-contentful-paint"===r.entryType)e=Math.max(r.startTime-g(),0),o.l(r),t=[r];else if("interaction-contentful-paint"===r.entryType){if(!s.navigationId||"interactionId"in r&&r.interactionId!=s.navigationInteractionId)continue;e=Math.max((n=r.largestContentfulPaint?.renderTime||0)-r.startTime,0),r.largestContentfulPaint&&(o.l(r.largestContentfulPaint),t=[r.largestContentfulPaint])}n<a.firstHiddenTime&&(s.value=e,s.entries=t,i())}},v=["largest-contentful-paint"];n&&v.push("interaction-contentful-paint","soft-navigation");let y=E(v,m);if(y){i=h(e,s,V,t.reportAllChanges);let a=["keydown","click","visibilitychange"],o=e=>{if(e.isTrusted&&!r){let e=s.id;C(()=>{if(!r){if(!n)for(let e of(y.disconnect(),a))removeEventListener(e,o,{capture:!0});e===s.id&&(r=!0,i(!0))}})}};for(let e of a)addEventListener(e,o,{capture:!0});f(n=>{c("back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,d),i=h(e,s,V,t.reportAllChanges),p(()=>{s.value=performance.now()-n.timeStamp,r=!0,i(!0)})})}})})(t=>{e((e=>{let t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){let i,s=e.entries.at(-1),o=s.url&&(U.findLast(e=>e.name===s.url)||performance.getEntriesByType("resource").findLast(e=>e.name===s.url));t.target=n.get(s),t.lcpEntry=s,s.url&&(t.url=s.url),o&&(t.lcpResourceEntry=o);let c=0,u=0;if("soft-navigation"!==e.navigationType?(i=a(),c=i?.activationStart??0,u=i?.responseStart??0):(c=e.navigationStartTime||0,i=r.u?.get(e.navigationId)),i){let r=Math.max(0,u-c),n=Math.max(r,o?(o.requestStart||o.startTime)-c:0),a=Math.min(e.value,Math.max(n,o?o.responseEnd-c:0));t={...t,timeToFirstByte:r,resourceLoadDelay:n-r,resourceLoadDuration:a-n,elementRenderDelay:e.value-a,navigationEntry:i}}}return Object.assign(e,{attribution:t})})(t))},t)},"rH",0,(e,t={})=>{let r=l(t=Object.assign({},t),L),i=[],a=[],o=0,u=new WeakMap,p=new WeakMap,g=!1,m=()=>{g||(C(v),g=!0)},v=()=>{let e=new Set(r.v.map(e=>u.get(e.entries[0]))),t=a.length-10;a=a.filter((r,n)=>n>=t||e.has(r));let n=new Set;for(let e of a)for(let t of y(e.startTime,e.processingEnd))n.add(t);i=i.filter(e=>e.startTime>o||n.has(e)),g=!1};r.m=e=>{let r,n=e.startTime+e.duration;o=Math.max(o,e.processingEnd);for(let i=a.length-1;i>=0;i--){let s=a[i];if(8>=Math.abs(n-s.renderTime)){(r=s).startTime=Math.min(e.startTime,r.startTime),r.processingStart=Math.min(e.processingStart,r.processingStart),r.processingEnd=Math.max(e.processingEnd,r.processingEnd),t.includeProcessedEventEntries&&r.entries.push(e);break}}r||(r={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:t.includeProcessedEventEntries?[e]:[]},a.push(r)),e.interactionId&&u.set(e,r),m()},r.M=e=>{if(!p.get(e)){let r=e.entries.find(e=>e.target)?.target;if(r){let n=t.generateTarget?.(r)??c(r);p.set(e,n)}else{let t=e.entries.find(e=>e.targetSelector)?.targetSelector;t&&p.set(e,t)}}};let y=(e,t)=>{let r=[];
2for(let n of i)if(!(n.startTime+n.duration<e)){if(n.startTime>t)break;r.push(n)}return r};E(["long-animation-frame"],e=>{i=i.concat(e),m()},t),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;let r=T();M(()=>{"interactionCount"in performance||n||(n=E(["event"],P,{durationThreshold:0}));let i,a=w("INP"),s=l(t,L),o=(r,n,o,c,u)=>{s.D(),i=h(e,a=w("INP",-1,r,n,o,c,u),F,t.reportAllChanges)},c=()=>{let e=s.S(a.navigationType);e&&e.k!==a.value&&(a.value=e.k,a.entries=e.entries,i())},u=e=>{c(),i(!0),o("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},p=(e,t=!1)=>{C(()=>{for(let t of e)"soft-navigation"!==t.entryType?s.l(t):u(t);c(),t&&i(!0)})},g=["event","first-input"];S(t)&&g.push("soft-navigation");let m=E(g,p,{...t,durationThreshold:t.durationThreshold??40});i=h(e,a,F,t.reportAllChanges),m&&(r.onHidden(()=>{p(m.takeRecords(),!0)}),f(()=>{o("back-forward-cache",a.navigationId,a.navigationInteractionId,a.navigationURL,d)}))})})(t=>{e((e=>{if(0===e.entries.length){let t=e.navigationStartTime||0,r={processedEventEntries:[],longAnimationFrameEntries:[],inputDelay:0,processingDuration:0,presentationDelay:e.value,loadState:s(t)};return Object.assign(e,{attribution:r})}let t=e.entries[0],n=u.get(t),i=Math.max(n.processingStart,t.startTime),a=Math.max(t.startTime+t.duration,i),o=Math.min(n.processingEnd,a),c=n.entries.sort((e,t)=>e.processingStart-t.processingStart),l=y(t.startTime,o),d=r.p.get(t.interactionId),f={interactionTarget:p.get(d),interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:a,processedEventEntries:c,longAnimationFrameEntries:l,inputDelay:i-t.startTime,processingDuration:o-i,presentationDelay:a-o,loadState:s(t.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(e=>{let t=e.interactionTime,r=e.nextPaintTime;if(!e.longAnimationFrameEntries?.length||!t||!r)return;let n=e.inputDelay,i=e.processingDuration,a,s,o=0,c=0,u=0,l=0;for(let r of e.longAnimationFrameEntries)for(let e of(c=c+r.startTime+r.duration-r.styleAndLayoutStart,r.scripts)){let r=e.startTime+e.duration;if(r<t)continue;let u=r-Math.max(t,e.startTime),d=e.duration?u/e.duration*e.forcedStyleAndLayoutDuration:0;o+=u-d,c+=d,u>l&&(s=e.startTime<t+n?"input-delay":e.startTime>=t+n+i?"presentation-delay":"processing-duration",a=e,l=u)}let d=e.longAnimationFrameEntries.at(-1),f=d?d.startTime+d.duration:0;f>=t+n+i&&(u=r-f),a&&s&&(e.longestScript={entry:a,subpart:s,intersectingDuration:l}),e.totalScriptDuration=o,e.totalStyleAndLayoutDuration=c,e.totalPaintDuration=u,e.totalUnattributedDuration=r-t-o-c-u})(f),Object.assign(e,{attribution:f})})(t))},t)},"zB",0,(e,t={})=>{let r=l(t=Object.assign({},t),k);S(t)&&(r.u=new Map),I(t=>{e((e=>{let t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:s(d)};if("soft-navigation"!==e.navigationType){if(e.entries.length){let r=a(),n=e.entries.at(-1);if(r){let i=Math.max(0,r.responseStart-(r.activationStart||0));t={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:s(e.entries[0].startTime),navigationEntry:r,fcpEntry:n}}}}else{let n=r.u?.get(e.navigationId);n&&(t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:"complete",navigationEntry:n})}return Object.assign(e,{attribution:t})})(t))},t)}])}}]);

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.