PageSourceSearch

https://catalogo-easyb2b.easyb2b.io/page_view_event-aggregate_bundle.js

js easyb2b.io collected 2026-10-01 15:41:34 UTC 5,532 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkeasyb2b_client=self.webpackChunkeasyb2b_client||[]).push([[677],{4647:(e,t,i)=>{function r(e,t,i="string",s=[]){return e&&"object"==typeof e?(Object.keys(e).forEach((n=>{"object"==typeof e[n]?r(e[n],t,i,s):typeof e[n]!==i||s.includes(n)||(e[n]=t(e[n]))})),e):e}i.d(t,{G:()=>r})},9955:(e,t,i)=>{i.d(t,{j:()=>o});var r=i(4690),s=i(1955),n=i(8685),a=i(7872);const o=new n.x(s.w.TIME_TO_FIRST_BYTE);if(r.RI&&"undefined"!=typeof PerformanceNavigationTiming&&!r.OF&&window===window.parent)(0,a.Ck)((({value:e,attribution:t})=>{o.isValid||o.update({value:e,attrs:{navigationEntry:t.navigationEntry}})}));else if(!o.isValid){const e={};for(let t in r.gm?.performance?.timing||{})e[t]=Math.max(r.gm?.performance?.timing[t]-r.WN,0);o.update({value:e.responseStart,attrs:{navigationEntry:e}})}},4653:(e,t,i)=>{i.r(t),i.d(t,{Aggregate:()=>E});var r=i(4690),s=i(8421),n=i(5232),a=i(2019),o=i(4702),c=i(852),m=i(9896);function f(e){const t=[],i=(0,m.Zm)();try{Object.keys(i.initializedAgents[e].features).forEach((e=>{switch(e){case c.K7.ajax:t.push("xhr");break;case c.K7.jserrors:t.push("err");break;case c.K7.genericEvents:t.push("ins");break;case c.K7.sessionTrace:t.push("stn");break;case c.K7.softNav:case c.K7.spa:t.push("spa")}}))}catch(e){}return t}var h=i(6333),u=i(6088),p=i(7864),d=i(3944),g=i(6757),T=i(9955),l=i(7647),y=i(5982);class v{#e;#t;#i;#r=!1;constructor(e){this.#e=e,this.processStoredDiff(),(0,y.i)(performance.now,Date.now)}get ready(){return this.#r}get correctedOriginTime(){return this.#t}get localTimeDiff(){return this.#i}processRumRequest(e,t,i,s){if(this.processStoredDiff(),this.#r)return;if(!s)throw new Error("nrServerTime not found");const n=t+(i-t)/2;if(this.#t=Math.floor(s-n),this.#i=r.WN-this.#t,isNaN(this.#t))throw new Error("Failed to correct browser time to server time");this.#e?.write({serverTimeDiff:this.#i}),this.#r=!0}convertRelativeTimestamp(e){return r.WN+e}convertAbsoluteTimestamp(e){return e-r.WN}correctAbsoluteTimestamp(e){return e-this.#i}correctRelativeTimestamp(e){return this.correctAbsoluteTimestamp(this.convertRelativeTimestamp(e))}processStoredDiff(){if(this.#r)return;const e=this.#e?.read()?.serverTimeDiff;"number"!=typeof e||isNaN(e)||(this.#i=e,this.#t=r.WN-this.#i,this.#r=!0)}}var R=i(4647),b=i(5694),w=i(7840);class E extends p.r{static featureName=o.T;constructor(e){if(super(e,o.T),this.timeToFirstByte=0,this.firstByteToWindowLoad=0,this.firstByteToDomContent=0,(0,b.i)("send-rum",((e,t)=>{this.sendRum(e,t)}),this.featureName,this.ee),!(0,a.f)(e.info))return this.ee.abort(),(0,u.R)(43);e.runtime.timeKeeper=new v(e.runtime.session),r.RI?T.j.subscribe((({value:e,attrs:t})=>{const i=t.navigationEntry;this.timeToFirstByte=Math.max(e,this.timeToFirstByte),this.firstByteToWindowLoad=Math.max(Math.round(i.loadEventEnd-this.timeToFirstByte),this.firstByteToWindowLoad),this.firstByteToDomContent=Math.max(Math.round(i.domContentLoadedEventEnd-this.timeToFirstByte),this.firstByteToDomContent),this.sendRum()})):this.sendRum()}sendRum(e=this.agentRef.info.jsAttributes,t={licenseKey:this.agentRef.info.licenseKey,applicationID:this.agentRef.info.applicationID}){const i=this.agentRef.info,a={};i.queueTime&&(a.qt=i.queueTime),i.applicationTime&&(a.ap=i.applicationTime),a.be=this.timeToFirstByte,a.fe=this.firstByteToWindowLoad,a.dc=this.firstByteToDomContent;const o={tt:i.ttGuid,us:i.user,ac:i.account,pr:i.product,af:f(this.agentIdentifier).join(","),...a,xx:i.extra,ua:i.userAttributes,at:i.atts};let c;if(this.agentRef.runtime.session&&(o.fsh=Number(this.agentRef.runtime.session.isNew)),"object"==typeof e&&Object.keys(e).length>0&&(c=(0,R.G)({ja:e},this.obfuscator.obfuscateString.bind(this.obfuscator),"string")),r.gm.performance)if("undefined"!=typeof PerformanceNavigationTiming){const e=r.gm?.performance?.getEntriesByType("navigation")?.[0],t={timing:(0,s.eM)(r.WN,e,{}),navigation:(0,s.si)(e,{})};o.perf=(0,n.A)(t)}else if("undefined"!=typeof PerformanceTiming){const e={timing:(0,s.eM)(r.WN,r.gm.performance.timing,{},!0),navigation:(0,s.si)(r.gm.performance.navigation,{})};o.perf=(0,n.A)(e)}o.fp=g.J.current.value,o.fcp=d.j.current.value;const m=this.agentRef.runtime.timeKeeper;m?.ready&&(o.timestamp=Math.floor(m.correctRelativeTimestamp((0,l.t)()))),this.rumStartTime=(0,l.t)(),this.agentRef.runtime.harvester.triggerHarvestFor(this,{directSend:{targetApp:t,payload:{qs:o,body:c}},needResponse:!0,sendEmptyBody:!0})}postHarvestCleanup({status:e,responseText:t,xhr:i,targetApp:r}){const s=(0,l.t)();let n,a;try{({app:n,...a}=JSON.parse(t)),this.processEntities(n.agents,r)}catch(e){(0,u.R)(53,e)}if((0,w.A)(r,this.agentRef)){if(e>=400||0===e)return(0,u.R)(18,e),void this.ee.abort();try{const e=this.agentRef.runtime.timeKeeper.ready;if(this.agentRef.runtime.timeKeeper.processRumRequest(i,this.rumStartTime,s,n.nrServerTime),!this.agentRef.runtime.timeKeeper.ready)throw new Error("TimeKeeper not ready");const t=this.agentRef.runtime.timeKeeper.correctedOriginTime-n.nrServerTime;e&&t>0&&this.reportSupportabilityMetric("Generic/TimeKeeper/InvalidTimestamp/Seen",t)}catch(e){return this.ee.abort(),void(0,u.R)(17,e)}Object.keys(this.agentRef.runtime.appMetadata).length||(this.agentRef.runtime.appMetadata=n),this.drain(),this.agentRef.runtime.harvester.startTimer(),(0,h.t)(a,this.agentRef)}}processEntities(e,t){e&&t&&e.forEach((e=>{const i=this.agentRef.runtime.entityManager,r=e.entityGuid;i.get(r)||((0,w.A)(t,this.agentRef)&&i.setDefaultEntity({...t,entityGuid:r}),i.set(e.entityGuid,{...t,entityGuid:r}))}))}}}}]);

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.