PageSourceSearch

https://www.kayak.es/news/wp-content/plugins/r9-performance-metric…/r9-performance-metrics.js?ver=36699431923

js kayak.es collected 2026-10-02 05:25:29 UTC 20,471 bytes, 1 lines download raw bytes

1(()=>{"use strict";var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};function e(e,n){function __(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}var n,i,r,a,o,s=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},c=function(t){if("loading"===document.readyState)return"loading";var e=s();if(e){if(t<e.domInteractive)return"loading";if(0===e.domContentLoadedEventStart||t<e.domContentLoadedEventStart)return"dom-interactive";if(0===e.domComplete||t<e.domComplete)return"dom-content-loaded"}return"complete"},u=function(t){var e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},l=function(t,e){var n="";try{for(;t&&9!==t.nodeType;){var i=t,r=i.id?"#"+i.id:u(i)+(i.classList&&i.classList.value&&i.classList.value.trim()&&i.classList.value.trim().length?"."+i.classList.value.trim().replace(/\s+/g,"."):"");if(n.length+r.length>(e||100)-1)return n||r;if(n=n?r+">"+n:r,i.id)break;t=i.parentNode}}catch(t){}return n},d=-1,f=function(t){addEventListener("pageshow",function(e){e.persisted&&(d=e.timeStamp,t(e))},!0)},p=function(){var t=s();return t&&t.activationStart||0},v=function(t,e){var n=s(),i="navigate";return d>=0?i="back-forward-cache":n&&(document.prerendering||p()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},m=function(t,e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var i=new PerformanceObserver(function(t){Promise.resolve().then(function(){e(t.getEntries())})});return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},h=function(t,e,n,i){var r,a;return function(o){e.value>=0&&(o||i)&&((a=e.value-(r||0))||void 0===r)&&(r=e.value,e.delta=a,e.rating=function(t,e){return t>e[1]?"poor":t>e[0]?"needs-improvement":"good"}(e.value,n),t(e))}},g=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},_=function(t){var e=function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||t(e)};addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0)},T=function(t){var e=!1;return function(n){e||(t(n),e=!0)}},y=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},w=function(t){"hidden"===document.visibilityState&&y>-1&&(y="visibilitychange"===t.type?t.timeStamp:0,S())},E=function(){addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0)},S=function(){removeEventListener("visibilitychange",w,!0),removeEventListener("prerenderingchange",w,!0)},L=function(){return y<0&&(y=b(),E(),f(function(){setTimeout(function(){y=b(),E()},0)})),{get firstHiddenTime(){return y}}},I=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},P=[1800,3e3],C=[.1,.25],k=function(t,e){!function(t,e){e=e||{},function(t,e){e=e||{},I(function(){var n,i=L(),r=v("FCP"),a=m("paint",function(t){t.forEach(function(t){"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<i.firstHiddenTime&&(r.value=Math.max(t.startTime-p(),0),r.entries.push(t),n(!0)))})});a&&(n=h(t,r,P,e.reportAllChanges),f(function(i){r=v("FCP"),n=h(t,r,P,e.reportAllChanges),g(function(){r.value=performance.now()-i.timeStamp,n(!0)})}))})}(T(function(){var n,i=v("CLS",0),r=0,a=[],o=function(t){t.forEach(function(t){if(!t.hadRecentInput){var e=a[0],n=a[a.length-1];r&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(r+=t.value,a.push(t)):(r=t.value,a=[t])}}),r>i.value&&(i.value=r,i.entries=a,n())},s=m("layout-shift",o);s&&(n=h(t,i,C,e.reportAllChanges),_(function(){o(s.takeRecords()),n(!0)}),f(function(){r=0,i=v("CLS",0),n=h(t,i,C,e.reportAllChanges),g(function(){return n()})}),setTimeout(n,0))}))}(function(e){!function(t){if(t.entries.length){var e=t.entries.reduce(function(t,e){return t&&t.value>e.value?t:e});if(e&&e.sources&&e.sources.length){var n=(i=e.sources).find(function(t){return t.node&&1===t.node.nodeType})||i[0];if(n)return void(t.attribution={largestShiftTarget:l(n.node),largestShiftTime:e.startTime,largestShiftValue:e.value,largestShiftSource:n,largestShiftEntry:e,loadState:c(e.startTime)})}}var i;t.attribution={}}(e),t(e)},e)},M={passive:!0,capture:!0},D=new Date,V=function(t,e){n||(n=e,i=t,r=new Date,x(removeEventListener),N())},N=function(){if(i>
vendor: 4,786 bytes, line 1
1=0&&i<r-D){var t={entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+i};a.forEach(function(e){e(t)}),a=[]}},R=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?function(t,e){var n=function(){V(t,e),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,M),removeEventListener("pointercancel",i,M)};addEventListener("pointerup",n,M),addEventListener("pointercancel",i,M)}(e,t):V(e,t)}},x=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return t(e,R,M)})},A=[100,300],q=function(t,e){e=e||{},I(function(){var r,o=L(),s=v("FID"),c=function(t){t.startTime<o.firstHiddenTime&&(s.value=t.processingStart-t.startTime,s.entries.push(t),r(!0))},u=function(t){t.forEach(c)},l=m("first-input",u);r=h(t,s,A,e.reportAllChanges),l&&_(T(function(){u(l.takeRecords()),l.disconnect()})),l&&f(function(){var o;s=v("FID"),r=h(t,s,A,e.reportAllChanges),a=[],i=-1,n=null,x(addEventListener),o=c,a.push(o),N()})})},F=function(t,e){q(function(e){!function(t){var e=t.entries[0];t.attribution={eventTarget:l(e.target),eventType:e.name,eventTime:e.startTime,eventEntry:e,loadState:c(e.startTime)}}(e),t(e)},e)},W=0,O=1/0,U=0,j=function(t){t.forEach(function(t){t.interactionId&&(O=Math.min(O,t.interactionId),U=Math.max(U,t.interactionId),W=U?(U-O)/7+1:0)})},H=function(){return o?W:performance.interactionCount||0},B=function(){"interactionCount"in performance||o||(o=m("event",j,{type:"event",buffered:!0,durationThreshold:0}))},$=[200,500],X=0,z=function(){return H()-X},J=[],G={},K=function(t){var e=J[J.length-1],n=G[t.interactionId];if(n||J.length<10||t.duration>e.latency){if(n)n.entries.push(t),n.latency=Math.max(n.latency,t.duration);else{var i={id:t.interactionId,latency:t.duration,entries:[t]};G[i.id]=i,J.push(i)}J.sort(function(t,e){return e.latency-t.latency}),J.splice(10).forEach(function(t){delete G[t.id]})}},Q=function(t,e){!function(t,e){e=e||{},I(function(){var n;B();var i,r=v("INP"),a=function(t){t.forEach(function(t){t.interactionId&&K(t),"first-input"===t.entryType&&!J.some(function(e){return e.entries.some(function(e){return t.duration===e.duration&&t.startTime===e.startTime})})&&K(t)});var e,n=(e=Math.min(J.length-1,Math.floor(z()/50)),J[e]);n&&n.latency!==r.value&&(r.value=n.latency,r.entries=n.entries,i())},o=m("event",a,{durationThreshold:null!==(n=e.durationThreshold)&&void 0!==n?n:40});i=h(t,r,$,e.reportAllChanges),o&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),_(function(){a(o.takeRecords()),r.value<0&&z()>0&&(r.value=0,r.entries=[]),i(!0)}),f(function(){J=[],X=H(),r=v("INP"),i=h(t,r,$,e.reportAllChanges)}))})}(function(e){!function(t){if(t.entries.length){var e=t.entries.sort(function(t,e){return e.duration-t.duration||e.processingEnd-e.processingStart-(t.processingEnd-t.processingStart)})[0],n=t.entries.find(function(t){return t.target});t.attribution={eventTarget:l(n&&n.target),eventType:e.name,eventTime:e.startTime,eventEntry:e,loadState:c(e.startTime)}}else t.attribution={}}(e),t(e)},e)},Y=[2500,4e3],Z={},tt=function(t,e){!function(t,e){e=e||{},I(function(){var n,i=L(),r=v("LCP"),a=function(t){var e=t[t.length-1];e&&e.startTime<i.firstHiddenTime&&(r.value=Math.max(e.startTime-p(),0),r.entries=[e],n())},o=m("largest-contentful-paint",a);if(o){n=h(t,r,Y,e.reportAllChanges);var s=T(function(){Z[r.id]||(a(o.takeRecords()),o.disconnect(),Z[r.id]=!0,n(!0))});["keydown","click"].forEach(function(t){addEventListener(t,function(){return setTimeout(s,0)},!0)}),_(s),f(function(i){r=v("LCP"),n=h(t,r,Y,e.reportAllChanges),g(function(){r.value=performance.now()-i.timeStamp,Z[r.id]=!0,n(!0)})})}})}(function(e){!function(t){if(t.entries.length){var e=s();if(e){var n=e.activationStart||0,i=t.entries[t.entries.length-1],r=i.url&&performance.getEntriesByType("resource").filter(function(t){return t.name===i.url})[0],a=Math.max(0,e.responseStart-n),o=Math.max(a,r?(r.requestStart||r.startTime)-n:0),c=Math.max(o,r?r.responseEnd-n:0),u=Math.max(c,i?i.startTime-n:0),d={element:l(i.element),timeToFirstByte:a,resourceLoadDelay:o-a,resourceLoadTime:c-o,elementRenderDelay:u-c,navigationEntry:e,lcpEntry:i};return i.url&&(d.url=i.url),r&&(d.lcpResourceEntry=r),void(t.attribution=d)}}t.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:t.value}}(e),t(e)},e)},et=function(){function t(t){void 0===t&&(t=!1),this.enabled=t}return t.getDocumentURL=function(){return document&&document.location&&document.location.href||""},Object.defineProperty(t.prototype,"url",{get:function(){return this._url||t.getDocumentURL()},set:function(t){this._url=t}
1,enumerable:!1,configurable:!0}),t.prototype.format=function(){var t={u:this.url},e=this,n=e.vertical,i=e.pageId,r=e.subPageId,a=e.pageTag;return n&&(t.vertical=n),i&&(t.pageId=i),r&&(t.subPageId=r),a&&(t.pageTag=a),t},t}(),nt=function(t){function n(e,n,i,r){void 0===r&&(r=!0);var a=t.call(this,r)||this;return a._perf=e,a._getWebVitals=n,a._getPreHydrationClicks=i,a}return e(n,t),n.prototype.format=function(){var e=t.prototype.format.call(this),n=this._perf.timing,i=this._perf.navigation;if(e.nt_red_cnt=i.redirectCount,e.nt_nav_type=i.type,e.nt_nav_st=n.navigationStart,e.nt_red_st=n.redirectStart,e.nt_red_end=n.redirectEnd,e.nt_fet_st=n.fetchStart,e.nt_dns_st=n.domainLookupStart,e.nt_dns_end=n.domainLookupEnd,e.nt_con_st=n.connectStart,e.nt_con_end=n.connectEnd,e.nt_req_st=n.requestStart,e.nt_res_st=n.responseStart,e.nt_res_end=n.responseEnd,e.nt_domloading=n.domLoading,e.nt_domint=n.domInteractive,e.nt_domcontloaded_st=n.domContentLoadedEventStart,e.nt_domcontloaded_end=n.domContentLoadedEventEnd,e.nt_domcomp=n.domComplete,e.nt_load_st=n.loadEventStart,e.nt_load_end=n.loadEventEnd,e.nt_unload_st=n.unloadEventStart,e.nt_unload_end=n.unloadEventEnd,e.nt_ssl_st=n.secureConnectionStart,e.nt_first_paint=n.msFirstPaint,this._getWebVitals){var r=this._getWebVitals();e.wv_fid=r.wv_fid,e.wv_lcp=r.wv_lcp,e.wv_cls=r.wv_cls,e.wv_inp=r.wv_inp,e.wv_inp_interactions=r.wv_inp_interactions,e.wv_cls_details=r.wv_cls_details}if(this._getPreHydrationClicks){var a=this._getPreHydrationClicks();e.phc_interactions=a.phc_interactions}return e},n}(et),it=function(t){function n(e,n){void 0===n&&(n=!0);var i=t.call(this,n)||this;return i._perf=e,i}return e(n,t),n.prototype.reset=function(){var t=this._perf;"function"==typeof t.clearMarks&&this._getEnabledMarks().forEach(function(e){return t.clearMarks(e)})},n.prototype._getEnabledMarks=function(){return[]},n.prototype._mark=function(t){var e=this._perf;"function"==typeof e.mark&&e.mark(t)},n.prototype._getMarkTime=function(t){var e=this._perf;if("function"==typeof e.getEntriesByName){var n=e.getEntriesByName(t);return n.length?n[0].startTime:0}return 0},n}(et),rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.locationId="",e}return e(n,t),n.prototype.format=function(){var e=t.prototype.format.call(this),n=this._getMarkTime("search_first_poll_start"),i=this._getMarkTime("search_first_phase_complete");return e.ut_locid=this.locationId,e.ut_search_first_poll_start=n,e.ut_search_first_result=this._getMarkTime("search_first_result")-n,e.ut_search_first_result_rendered=this._getMarkTime("search_first_result_rendered")-n,e.ut_search_first_phase_complete=i?i-n:e.ut_search_first_result,e.ut_search_polling_complete=this._getMarkTime("search_polling_complete")-n,e},n.prototype.markSearchFirstPollStart=function(){this.url=et.getDocumentURL(),this._mark("search_first_poll_start")},n.prototype.markSearchFirstResult=function(){this._mark("search_first_result")},n.prototype.markSearchFirstResultRendered=function(){this._mark("search_first_result_rendered")},n.prototype.markSearchFirstPhaseComplete=function(){this._mark("search_first_phase_complete")},n.prototype.markSearchPollingComplete=function(){this._mark("search_polling_complete")},n.prototype.reset=function(){this.locationId="",t.prototype.reset.call(this)},n.prototype._getEnabledMarks=function(){return["search_polling_complete","search_first_phase_complete","search_first_result_rendered","search_first_result","search_first_poll_start"]},n}(it),at=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.markAppInteractive=function(){this.url=it.getDocumentURL(),this._mark("app_is_interactive")},n.prototype.format=function(){var e=t.prototype.format.call(this);return e.ut_app_is_interactive=this._getMarkTime("app_is_interactive"),e},n.prototype._getEnabledMarks=function(){return["app_is_interactive"]},n}(it),ot=function(){function t(){this._timings={}}return t.prototype.getTimings=function(){return void 0===this._timings.phc_interactions&&this.captureClicks(),this._timings},t.prototype.captureClicks=function(){if("undefined"!=typeof window){var t=window.__preHydrationClicks;if(t){var e=Object.entries(t);e.length>0&&(this._timings={phc_interactions:e.map(function(t){return{selector:t[0],count:t[1]}})})}}},t}(),st=function(){function t(t,e,n,i,r,a,o,s){void 0===t&&(t=!1),void 0===e&&(e=!1),void 0===n&&(n=0),void 0===i&&(i=0),void 0===r&&(r=k),void 0===a&&(a=F),void 0===o&&(o=Q),void 0===s&&(s=tt),this.detailedLoggingEnabled=t,this.inpInteractionsEnabled=e,this.inpDurationThreshold=n,this.clsThreshold=i,this.onCLS=r,this.onFID=a,this.onINP=o,this.onLCP=s,this._webVitalsTimings={wv_inp_interactions:[],wv_cls_details:[]},this._inpMetrics=[],this._clsMetrics=[]}return t.prototype.init=function(){var t=this;this.onCLS(function(e){t.detailedLoggingEnabled?t.setWebVitalsCLSMetric(e):t.setWebVitalsMetric("CLS",e)}),this.onLCP(function(e){return t.setWebVitalsMetric("LCP",e)}),this.onFID(function(e){return t.setWebVitalsMetric("FID",e)}),this.onINP(function(e){t.inpInteractionsEnabled?t.setWebVitalsINPMetric(e):t.setWebVitalsMetric("INP",e)})},t.prototype.getWebVitalsTiming=function(){return this.inpInteractionsEnabled&&this.setINPInteractions(),this.detailedLoggingEnabled&&this.setCLSDetails(),this._webVitalsTimings},t.prototype.setWebVitalsMetric=function(t,e){switch(t){case"CLS":this._webVitalsTimings.wv_cls=e.value;break;case"LCP":this._webVitalsTimings.wv_lcp=e.value;break;case"FID":this._webVitalsTimings.wv_fid=e.value;break;case"INP":this._webVitalsTimings.wv_inp=e.value}},t.prototype.setCLSDetails=function(){var t;this._webVitalsTimings.wv_cls_details=(null===(t=this._webVitalsTimings.wv_cls_details)||void 0===t?void 0:t.concat(Object.values(this.getUniqueCLSDetails(this._clsMetrics))))||[]},t.prototype.setINPInteractions=function(){var t;this._webVitalsTimings.wv_inp_interactions=(null===(t=this._webVitalsTimings.wv_inp_interactions)||void 0===t?void 0:t.concat(Object.values(this.getUniqueInteractions(this._inpMetrics))))||[]},t.prototype.setWebVitalsCLSMetric=function(t){(!this._webVitalsTimings.wv_cls||this._webVitalsTimings.wv_cls<t.value)&&(this._webVitalsTimings.wv_cls=t.value),this._clsMetrics.push(t)},t.prototype.setWebVitalsINPMetric=function(t){(!this._webVitalsTimings.wv_inp||this._webVitalsTimings.wv_inp<t.value)&&(this._webVitalsTimings.wv_inp=t.value),this._inpMetrics.push(t)},t.prototype.getUniqueInteractions=function(t){var e=this;return this.getUniqueDetails(t,function(t){if(!(null==t?void 0:t.attribution))return null;var n=t.value||0;return n>e.inpDurationThreshold?{eventType:t.attribution.eventType||"",duration:n,selector:t.attribution.eventTarget||"",loadState:t.attribution.loadState||""}:null})},t.prototype.getUniqueCLSDetails=function(t){var e=this;return this.getUniqueDetails(t,function(t){if(!(null==t?void 0:t.attribution))return null;var n=t.value||0;return n>e.clsThreshold?{duration:n,selector:t.attribution.largestShiftTarget||"",loadState:t.attribution.loadState||""}:null})},t.prototype.getUniqueDetails=function(t,e){var n={};return t.map(e).forEach(function(t){t&&t.selector&&(!n[t.selector]||t.duration>n[t.selector].duration)&&(n[t.selector]=t)}),n},t}(),ct=function(){function t(t){this.$models=[];var e=function(){var t=window,e=t.performance||t.msPerformance||t.webkitPerformance||t.mozPerformance;
1if(e&&e.timing&&e.navigation)return e}(),n=new st(t.enabled[4],t.enabled[3],t.inpDurationThreshold,t.clsThreshold);n.init();var i=new ot;if(e){if(t.enabled[0]){var r=function(t,e,r,a,o,s){if(s){var c=new nt(s,function(){return n.getWebVitalsTiming()},function(){return i.getTimings()});return c.url=et.getDocumentURL(),c.vertical=t,c.pageId=e,c.subPageId=r,c.pageTag=a,c.apiPrefix=o,c}}(t.vertical,t.pageId,t.subPageId,t.pageTag,t.apiPrefix,e);r&&(this.$models[0]=r,t.manualRun||function(t){if(t){var e=function(){"hidden"===document.visibilityState&&(ut(t),window.removeEventListener("visibilitychange",e))};window.addEventListener("visibilitychange",e)}}(r))}if(t.enabled[1]){var a=function(t){if(t&&lt(t))return new rt(t)}(e);a&&(this.$models[1]=a)}if(t.enabled[2]){var o=function(t){if(t&&lt(t))return new at(t)}(e);o&&(this.$models[2]=o)}}}return t.init=function(e){var n={vertical:e.vertical,pageId:e.pageId,subPageId:e.subPageId,enabled:[0,1,2,3,4].map(function(t){return 0===t&&e.doNavigationTimings||1===t&&e.doSearchTimings||2===t&&e.doAppTimings||3===t&&e.doInteractionTimings||4===t&&e.doClsDetailedTimings}),pageTag:e.pageTag,manualRun:e.manualRun,apiPrefix:e.apiPrefix,inpDurationThreshold:e.inpDurationThreshold,clsThreshold:e.clsThreshold};this._sngltn=new t(n)},t.getNavigationTimings=function(){return this._sngltn.$models[0]||!1},t.getSearchTimings=function(){return this._sngltn.$models[1]||!1},t.getAppTimings=function(){return this._sngltn.$models[2]||!1},t.sendPerfData=ut,t}();function ut(t){if(t&&t.enabled){var e=function(t){return Object.keys(t).map(function(e){return t[e]&&"object"==typeof t[e]?[e,JSON.stringify(t[e])].join("="):[e,t[e]||0].join("=")}).join("&")}(t.format()),n="/s/run/perf";if(t.apiPrefix&&(n=t.apiPrefix+n),null===navigator||void 0===navigator?void 0:navigator.sendBeacon){var i=new Blob([e],{type:"application/x-www-form-urlencoded"});navigator.sendBeacon(n,i)}else{var r=new XMLHttpRequest;r.open("POST",n,!0),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.send(e)}}}function lt(t){return t&&t.mark&&t.getEntriesByName&&t.clearMarks}const dt="unknown";function ft(t){return!0===t||1===t||"1"===t}!function(){const t=window.R9PerformanceMetrics;if(!t||!ft(t.enabled))return;const e=ft(t.debug);ct.init({doNavigationTimings:void 0===t.doNavigationTimings||ft(t.doNavigationTimings),doSearchTimings:void 0!==t.doSearchTimings&&ft(t.doSearchTimings),doAppTimings:void 0!==t.doAppTimings&&ft(t.doAppTimings),doInteractionTimings:void 0!==t.doInteractionTimings&&ft(t.doInteractionTimings),doClsDetailedTimings:void 0!==t.doClsDetailedTimings&&ft(t.doClsDetailedTimings),vertical:t.vertical||dt,pageId:t.pageId||dt,subPageId:t.subPageId||dt,pageTag:t.pageTag||"",apiPrefix:t.apiPrefix||"",inpDurationThreshold:void 0!==t.inpDurationThreshold?Number(t.inpDurationThreshold):200,clsThreshold:void 0!==t.clsThreshold?Number(t.clsThreshold):.1,manualRun:!0}),e&&console.log("[r9-perf] init",t,ct.getNavigationTimings()),function(t){const e=ct.getNavigationTimings();if(!e)return void console.warn("[r9-perf] Navigation timings unavailable (performance.timing/navigation); perf beacon disabled.");let n=!1;const i=(i,r)=>{if(n&&!r)return;n=!0;const a=(e.apiPrefix||"")+"/s/run/perf";t&&console.log("[r9-perf] sendPerfData",i,a,e.vertical,e.pageId),ct.sendPerfData(e)};window.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&i("visibilitychange")}),window.addEventListener("pagehide",()=>{i("pagehide")}),t&&window.setTimeout(()=>{i("debug-delay",!0)},3e3)}(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.