1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2189],{61410:(e,t,s)=>{s.d(t,{t:()=>i});function i(e,t,s){let i="unknown";if(e&&e instanceof XMLHttpRequest){let t=s.context(e).params;if(!t||!t.status||!t.method||!t.host||!t.pathname)return"xhrOriginMissing";i=t.status+" "+t.method+": "+t.host+t.pathname}else if(e&&"string"==typeof e.tagName&&(i=e.tagName.toLowerCase(),e.id&&(i+="#"+e.id),e.className))for(let t=0;t<e.classList.length;t++)i+="."+e.classList[t];return"unknown"===i&&("string"==typeof t?i=t:t===document?i="document":t===window?i="window":t instanceof FileReader&&(i="FileReader")),i}},85341:(e,t,s)=>{s.d(t,{G:()=>function e(t,s,i="string",r=[]){return t&&"object"==typeof t&&Object.keys(t).forEach(n=>{"object"==typeof t[n]?e(t[n],s,i,r):typeof t[n]!==i||r.includes(n)||(t[n]=s(t[n]))}),t}})},90106:(e,t,s)=>{s.r(t),s.d(t,{Aggregate:()=>R});var i=s(80326),r=s(51368),n=s(83307),o=s(26196),a=s(40775),h=s(78367),c=s(61410);class u{constructor(e,t,s,i,r){this.n=e,this.s=t,this.e=s,this.o=i,this.t=r}}let m={global:{mouseup:!0,mousedown:!0},window:{load:!0,pagehide:!0},xhrOriginMissing:{ignoreAll:!0}},g={typing:"typing",scrolling:"scrolling",mousing:"mousing",touching:"touching"},d={[g.typing]:1e3,[g.scrolling]:100,[g.mousing]:1e3,[g.touching]:1e3},l={[g.typing]:2e3,[g.scrolling]:1e3,[g.mousing]:2e3,[g.touching]:2e3};class p{prevStoredEvents=new Set;constructor(e){this.parent=e}#e(e){return e.n in g}#t(e){let t={e:e.e};return this.parent.events.merge(t=>!(t.o!==e.o||t.n!==e.n||e.s-t.s<l[e.o]||t.e>e.s-d[e.o]),t)}#s(e){if(e.n in m.global)return!0;let t=e.o;return!!(m[t]?.ignoreAll||m[t]?.[e.n])||"xhrOriginMissing"===t&&"Ajax"===e.n}#i(){if(this.parent.blocked)return!1;if(this.parent.events.length>=r.jx){if(this.parent.mode!==o.g.ERROR)return!1;this.trimSTNsByTime(),this.parent.events.length>=r.jx&&this.trimSTNsByIndex(1)}return!0}#r(e){return!this.#s(e)&&!!this.#i()&&(this.#e(e)&&this.#t(e)||this.parent.events.add(e),!0)}storeNode(e){return this.#r(e)}processPVT(e,t,s){return this.storeTiming({[e]:t})}storeTiming(e,t=!1){if(!e)return!1;let s=!0;for(let i in e){let r=e[i],n=i.toLowerCase();!(n.indexOf("size")>=0||n.indexOf("status")>=0)&&"number"==typeof r&&r>=0&&(r=Math.round(r),t&&this.parent.timeKeeper?.ready&&(r=this.parent.timeKeeper.convertAbsoluteTimestamp(Math.floor(this.parent.timeKeeper.correctAbsoluteTimestamp(r)))),this.#r(new u(i,r,r,"document","timing"))||(s=!1))}return s}storeEvent(e,t,s,i){if(this.prevStoredEvents.has(e)||!this.#i())return!1;this.prevStoredEvents.add(e);let r=new u(function(e){switch(e){case"keydown":case"keyup":case"keypress":return"typing";case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":return"mousing";case"touchstart":case"touchmove":case"touchend":case"touchcancel":case"touchenter":case"touchleave":return"touching";case"scroll":case"scrollend":return"scrolling";default:return e}}(e.type),s,i,void 0,"event");try{r.o=(0,c.t)(e.target,t,this.parent.ee)}catch(e){r.o=(0,c.t)(null,t,this.parent.ee)}return this.#r(r)}storeHist(e,t,s){return this.#r(new u("history.pushState",s,s,e,t))}storeResources(e){if(!e||0===e.length)return!1;let t=!0;for(let s=0;s<e.length;s++){let i=e[s];if(!this.#i())break;let{initiatorType:r,fetchStart:n,responseEnd:o,entryType:a}=i,{protocol:c,hostname:m,port:g,pathname:d}=(0,h.D)(i.name),l=new u(r,0|n,0|o,"".concat(c,"://").concat(m,":").concat(g).concat(d),a);this.#r(l)||(t=!1)}return t}storeErrorAgg(e,t,s,i){return"err"===e&&this.#r(new u("error",i.time,i.time,s.message,s.stackHash))}storeXhrAgg(e,t,s,i){return"xhr"===e&&this.#r(new u("Ajax",i.time,i.time+i.duration,"".concat(s.status," ").concat(s.method,": ").concat(s.host).concat(s.pathname),"ajax"))}trimSTNsByTime(e=r.sl){this.parent.events.clear({clearBeforeTime:Math.max(a.t-e,0),timestampKey:"e"})}trimSTNsByIndex(e=0){this.parent.events.clear({clearBeforeIndex:e})}clear(){this.prevStoredEvents.clear()}}var f=s(42806),v=s(8068),T=s(85341),S=s(56797),b=s(87516);class R extends n.r{static featureName=r.TZ;constructor(e){super(e,r.TZ),this.harvestOpts.raw=!0,this.entitled=void 0,this.everHarvested=!1,this.harvesting=!1,this.traceStorage=new p(this),this.waitForFlags(["sts","st"]).then(([e,t])=>this.initialize(e,t))}
1initialize(e,t,s){return(this.entitled??=t,this.entitled||(this.blocked=!0),this.blocked||(this.timeKeeper??=this.agentRef.runtime.timeKeeper,this.initialized||(this.initialized=!0,this.ptid=this.agentRef.runtime.ptid,this.sessionId=this.agentRef.runtime.session?.state.value,this.ee.on(o.tS.RESET,()=>{this.blocked||this.abort(1)}),this.ee.on(o.tS.UPDATE,(e,t)=>{this.blocked||(this.mode!==o.g.FULL&&(t.sessionReplayMode===o.g.FULL||t.sessionTraceMode===o.g.FULL)&&this.switchToFull(),(this.sessionId!==t.value||"cross-tab"===e&&t.sessionTraceMode===o.g.OFF)&&this.abort(2))}),"undefined"!=typeof PerformanceNavigationTiming&&v.gm.performance?.getEntriesByType("navigation")?.length>0?this.traceStorage.storeTiming(v.gm.performance.getEntriesByType("navigation")[0]):this.traceStorage.storeTiming(v.gm.performance?.timing,!0)),this.agentRef.runtime.session.isNew||s?this.mode=e:this.mode=this.agentRef.runtime.session.state.sessionTraceMode,this.mode===o.g.OFF))?this.deregisterDrain():void((0,i.i)("bst",(...e)=>this.traceStorage.storeEvent(...e),this.featureName,this.ee),(0,i.i)("bstResource",(...e)=>this.traceStorage.storeResources(...e),this.featureName,this.ee),(0,i.i)("bstHist",(...e)=>this.traceStorage.storeHist(...e),this.featureName,this.ee),(0,i.i)("bstXhrAgg",(...e)=>this.traceStorage.storeXhrAgg(...e),this.featureName,this.ee),(0,i.i)("bstApi",(...e)=>this.traceStorage.storeNode(...e),this.featureName,this.ee),(0,i.i)("trace-jserror",(...e)=>this.traceStorage.storeErrorAgg(...e),this.featureName,this.ee),(0,i.i)("pvtAdded",(...e)=>this.traceStorage.processPVT(...e),this.featureName,this.ee),this.mode!==o.g.FULL&&(0,i.i)("trace-jserror",()=>{this.mode===o.g.ERROR&&this.switchToFull()},this.featureName,this.ee),this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),this.drain())}preHarvestChecks(){if(!this.blocked&&this.mode===o.g.FULL&&this.timeKeeper?.ready&&this.agentRef.runtime.session)return this.sessionId===this.agentRef.runtime.session.state.value&&this.ptid===this.agentRef.runtime.ptid||void this.abort(3)}serializer(e){if(e.length)return this.everHarvested=!0,(0,T.G)(e,this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(e){let t=!this.agentRef.runtime.session.state.traceHarvestStarted;t&&this.agentRef.runtime.session.write({traceHarvestStarted:!0});let s=1===this.agentRef.runtime.session.state.sessionReplayMode,i=this.agentRef.info.jsAttributes["enduser.id"],r=this.agentRef.runtime.appMetadata.agents?.[0]?.entityGuid,n=e.reduce((e,t)=>Math.min(e,t.s),1/0),o=e.reduce((e,t)=>Math.max(e,t.s),-1/0);return{browser_monitoring_key:this.agentRef.info.licenseKey,type:"BrowserSessionChunk",app_id:this.agentRef.info.applicationID,protocol_version:"0",timestamp:Math.floor(this.timeKeeper.correctRelativeTimestamp(n)),attributes:(0,f.WL)({...r&&{entityGuid:r},harvestId:"".concat(this.agentRef.runtime.session.state.value,"_").concat(this.agentRef.runtime.ptid,"_").concat(this.agentRef.runtime.harvestCount),"trace.firstTimestamp":Math.floor(this.timeKeeper.correctRelativeTimestamp(n)),"trace.lastTimestamp":Math.floor(this.timeKeeper.correctRelativeTimestamp(o)),"trace.nodes":e.length,"trace.originTimestamp":this.timeKeeper.correctedOriginTime,agentVersion:this.agentRef.runtime.version,...t&&{firstSessionHarvest:t},...s&&{hasReplay:s},ptid:"".concat(this.ptid),session:"".concat(this.sessionId),...i&&{"enduser.id":this.obfuscator.obfuscateString(i)},currentUrl:this.obfuscator.obfuscateString((0,S.L)(""+location))},5e3).substring(1)}}switchToFull(){if(this.mode===o.g.FULL||!this.entitled||this.blocked)return;let e=this.mode;if(this.mode=o.g.FULL,this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),e===o.g.OFF||!this.initialized)return this.initialize(this.mode,this.entitled);this.initialized&&(this.traceStorage.trimSTNsByTime(),this.agentRef.runtime.harvester.triggerHarvestFor(this))}abort(e){(0,b.R)(60,e),this.blocked=!0,this.mode=o.g.OFF,this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),this.events.clear()}postHarvestCleanup(e){this.traceStorage.clear(),super.postHarvestCleanup(e)}}}}]);
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.