PageSourceSearch

https://www.uswitch.com/shared-scripts/perf.js?version=20

js uswitch.com collected 2026-09-24 08:49:21 UTC 25,640 bytes, 3 lines download raw bytes

vendor: 2,016 bytes, line 1
1!function(){"use strict";function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function n(t,n,e,r,i,o,a){try{var u=t[o](a),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,i)}function e(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var a=t.apply(e,r);function u(t){n(a,i,o,u,c,"next",t)}function c(t){n(a,i,o,u,c,"throw",t)}u(void 0)})}}function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function i(t,n,e){return n&&function(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,d(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=v(t))||n){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw o}}}}function a(t,n,e){return(n=d(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function u(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function c(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?u(Object(e),!0).forEach(function(n){a(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEac
1h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function l(){
2/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",i=e.toStringTag||"@@toStringTag";function o(e,r,i,o){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return s(l,"_invoke",function(e,r,i){var o,u,c,l=0,s=i||[],f=!1,d={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,e){return o=n,u=0,c=t,d.n=e,a}};function v(e,r){for(u=e,c=r,n=0;!f&&l&&!i&&n<s.length;n++){var i,o=s[n],v=d.p,p=o[2];e>3?(i=p===r)&&(c=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=v&&((i=e<2&&v<o[1])?(u=0,d.v=r,d.n=o[1]):v<p&&(i=e<3||o[0]>r||r>p)&&(o[4]=e,o[5]=r,d.n=p,u=0))}if(i||e>1)return a;throw f=!0,r}return function(i,s,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,p),u=s,c=p;(n=u<2?t:c)||!f;){o||(u?u<3?(u>1&&(d.n=-1),v(u,c)):d.n=c:d.v=c);try{if(l=2,o){if(u||(i="next"),n=o[i]){if(!(n=n.call(o,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,u<2&&(u=0)}else 1===u&&(n=o.return)&&n.call(o),u<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((n=(f=d.n<0)?c:e.call(r,d))!==a)break}catch(n){o=t,u=1,c=n}finally{l=1}}return{value:n,done:f}}}(e,i,o),!0),l}var a={};function u(){}function c(){}function f(){}n=Object.getPrototypeOf;var d=[][r]?n(n([][r]())):(s(n={},r,function(){return this}),n),v=f.prototype=u.prototype=Object.create(d);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t}return c.prototype=f,s(v,"constructor",f),s(f,"constructor",c),c.displayName="GeneratorFunction",s(f,i,"GeneratorFunction"),s(v),s(v,i,"Generator"),s(v,r,function(){return this}),s(v,"toString",function(){return"[object Generator]"}),(l=function(){return{w:o,m:p}})()}function s(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}s=function(t,n,e,r){function o(n,e){s(t,n,function(t){return this._invoke(n,e,t)})}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},s(t,n,e,r)}function f(n){return function(n){if(Array.isArray(n))return t(n)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||v(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t){var n=function(t,n){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==typeof n?n:n+""}function v(n,e){if(n){if("string"==typeof n)return t(n,e);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(n,e):void 0}}const p="undefined"==typeof location?null:location,m="undefined"==typeof document?null:document,h="undefined"==typeof navigator?null:navigator;var y=function(){return i(function t(){r(this,t),a(this,"t",void 0),a(this,"o",0),a(this,"i",[])},[{key:"u",value:function(t){var n;if(!t.hadRecentInput){var e=this.i[0],r=this.i.at(-1);this.o&&e&&r&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(this.o+=t.value,this.i.push(t)):(this.o=t.value,this.i=[t]),null===(n=this.t)||void 0===n||n.call(this,t)}}}])}(),g=function(){var t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},b=function(t){if("loading"===document.readyState)return"loading";var n=g();if(n){if(t<n.domInteractive)return"loading";if(0===n.domContentLoadedEventStart||t<n.domContentLoadedEventStart)return"dom-interactive";if(0===n.domComplete||t<n.domComplete)return"dom-content-loaded"}return"complete"},_=function(t){var n=t.nodeName;return 1===t.nodeType?n.toLowerCase():n.toUpperCase().replace(/^#/,"")},T=function(t){var n="";try{for(;9!==(null===(e=t)||void 0===e?void 0:e.nodeType);){var e,r=t,i=r.id?"#"+r.id:[_(r)].concat(f(Array.from(r.classList).sort())).join(".");if(n.length+i.length>99)return n||i;if(n=n?i+">"+n:i,r.id)break;t=r.parentNode}}catch(t){}return n},w=new WeakMap;
3function S(t,n){return w.get(t)||w.set(t,new n),w.get(t)}var E,D,P=-1,A=function(){return P},O=function(t){addEventListener("pageshow",function(n){n.persisted&&(P=n.timeStamp,t(n))},!0)},C=function(t,n,e,r){var i,o;return function(a){n.value>=0&&(a||r)&&(((o=n.value-(null!=i?i:0))||void 0===i)&&(i=n.value,n.delta=o,n.rating=function(t,n){return t>n[1]?"poor":t>n[0]?"needs-improvement":"good"}(n.value,e),t(n)))}},j=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},k=function(){var t,n=g();return null!==(t=null==n?void 0:n.activationStart)&&void 0!==t?t:0},M=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,e=g(),r="navigate";return A()>=0?r="back-forward-cache":e&&(document.prerendering||k()>0?r="prerender":document.wasDiscarded?r="restore":e.type&&(r=e.type.replace(/_/g,"-"))),{name:t,value:n,rating:"good",delta:0,entries:[],id:"v5-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},L=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var r=new PerformanceObserver(function(t){Promise.resolve().then(function(){n(t.getEntries())})});return r.observe(c({type:t,buffered:!0},e)),r}}catch(t){}},I=function(t){var n=!1;return function(){n||(t(),n=!0)}},x=-1,F=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},B=function(t){"hidden"===document.visibilityState&&x>-1&&(x="visibilitychange"===t.type?t.timeStamp:0,R())},q=function(){addEventListener("visibilitychange",B,!0),addEventListener("prerenderingchange",B,!0)},R=function(){removeEventListener("visibilitychange",B,!0),removeEventListener("prerenderingchange",B,!0)},W=function(){if(x<0){var t,n=k(),e=document.prerendering||null===(t=globalThis.performance.getEntriesByType("visibility-state").filter(function(t){return"hidden"===t.name&&t.startTime>n})[0])||void 0===t?void 0:t.startTime;x=null!=e?e:F(),q(),O(function(){setTimeout(function(){x=F(),q()})})}return{get firstHiddenTime(){return x}}},N=function(t){document.prerendering?addEventListener("prerenderingchange",function(){return t()},!0):t()},G=[1800,3e3],H=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(function(){var e,r=W(),i=M("FCP"),a=L("paint",function(t){var n,u=o(t);try{for(u.s();!(n=u.n()).done;){var c=n.value;"first-contentful-paint"===c.name&&(a.disconnect(),c.startTime<r.firstHiddenTime&&(i.value=Math.max(c.startTime-k(),0),i.entries.push(c),e(!0)))}}catch(t){u.e(t)}finally{u.f()}});a&&(e=C(t,i,G,n.reportAllChanges),O(function(r){i=M("FCP"),e=C(t,i,G,n.reportAllChanges),j(function(){i.value=performance.now()-r.timeStamp,e(!0)})}))})},U=[.1,.25],V=function(t){return t.find(function(t){var n;return 1===(null===(n=t.node)||void 0===n?void 0:n.nodeType)})||t[0]},z=0,$=1/0,J=0,K=function(t){var n,e=o(t);try{for(e.s();!(n=e.n()).done;){var r=n.value;r.interactionId&&($=Math.min($,r.interactionId),J=Math.max(J,r.interactionId),z=J?(J-$)/7+1:0)}}catch(t){e.e(t)}finally{e.f()}},Q=function(){var t;return E?z:null!==(t=performance.interactionCount)&&void 0!==t?t:0},X=0,Y=function(){return i(function t(){r(this,t),a(this,"l",[]),a(this,"h",new Map),a(this,"m",void 0),a(this,"p",void 0)},[{key:"v",value:function(){X=Q(),this.l.length=0,this.h.clear()}},{key:"M",value:function(){var t=Math.min(this.l.length-1,Math.floor((Q()-X)/50));return this.l[t]}},{key:"u",value:function(t){var n;if(null!==(n=this.m)&&void 0!==n&&n.call(this,t),t.interactionId||"first-input"===t.entryType){var e=this.l.at(-1),r=this.h.get(t.interactionId);if(r||this.l.length<10||t.duration>e.T){var i;if(r?t.duration>r.T?(r.entries=[t],r.T=t.duration):t.duration===r.T&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],T:t.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort(function(t,n){return n.T-t.T}),this.l.length>10){var a,u=o(this.l.splice(10));try{for(u.s();!(a=u.n()).done;){var c=a.value;this.h.delete(c.id)}}catch(t){u.e(t)}finally{u.f()}}null===(i=this.p)||void 0===i||i.call(this,r)}}}}])}(),Z=function(t){var n=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=I(t),document.addEventListener("visibilitychange",t,{once:!0}),n(function(){t(),document.removeEventListener("visibilitychange",t)}))},tt=[200,500],nt=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=S(n=Object.assign({},n),Y),r=[],i=[],a=0,u=new WeakMap,c=new WeakMap,l=!1,s=function(){l||(Z(f),l=!0)},f=function(){var t=e.l.map(function(t){return u.get(t.entries[0])}),n=i.length-50;i=i.filter(function(e,r){return r>=n||t.includes(e)});var c,s=new Set,f=o(i);try{for(f.s();!(c=f.n()).done;){var v,p=c.value,m=o(d(p.startTime,p.processingEnd));try{for(m.s();!(v=m.n()).done;){var h=v.value;s.add(h)}}catch(t){m.e(t)}finally{m.f()}}}catch(t){f.e(t)}finally{f.f()}var y=r.length-1-50;r=r.filter(function(t,n){return t.startTime>a&&n>y||s.has(t)}),l=!1};e.m=function(t){var n,e=t.startTime+t.duration;a=Math.max(a,t.processingEnd);for(var r=i.length-1;r>=0;r--){var o=i[r];if(Math.abs(e-o.renderTime)<=8){(n=o).startTime=Math.min(t.startTime,n.startTime),n.processingStart=Math.min(t.processingStart,n.processingStart),n.processingEnd=Math.max(t.processingEnd,n.processingEnd),n.entries.push(t);break}}n||(n={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:e,entries:[t]},i.push(n)),(t.interactionId||"first-input"===t.entryType)&&u.set(t,n),s()},e.p=function(t){if(!c.get(t)){var e,r=(null!==(e=n.generateTarget)&&void 0!==e?e:T)(t.entries[0].target);c.set(t,r)}};var d=function(t,n){var e,i=[],a=o(r);try{for(a.s();!(e=a.n()).done;){var u=e.value;if(!(u.startTime+u.duration<t)){if(u.startTime>n)break;i.push(u)}}}catch(t){a.e(t)}finally{a.f()}return i},v=function(t){var n=t.entries[0],r=u.get(n),i=n.processingStart,a=Math.max(n.startTime+n.duration,i),l=Math.min(r.processingEnd,a),s=r.entries.sort(function(t,n){return t.processingStart-n.processingStart}),f=d(n.startTime,l),v=e.h.get(n.interactionId),p={interactionTarget:c.get(v),interactionType:n.name.startsWith("key")?"keyboard":"pointer",interactionTime:n.startTime,nextPaintTime:a,processedEventEntries:s,longAnimationFrameEntries:f,inputDelay:i-n.startTime,processingDuration:l-i,presentationDelay:a-l,loadState:b(n.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return function(t,n){if(null!==(n=t.longAnimationFrameEntries)&&void 0!==n&&n.length){var e,r,i,a=t.interactionTime,u=t.inputDelay,c=t.processingDuration,l=0,s=0,f=0,d=0,v=o(t.longAnimationFrameEntries);try{for(v.s();!(i=v.n()).done;){var p=i.value;s=s+p.startTime+p.duration-p.styleAndLayoutStart;var m,h=o(p.scripts);try{for(h.s();!(m=h.n()).done;){var y=m.value,g=y.startTime+y.duration;if(!(g<a)){var b=g-Math.max(a,y.startTime),_=y.duration?b/y.duration*y.forcedStyleAndLayoutDuration:0;l+=b-_,s+=_,b>d&&(r=y.startTime<a+u?"input-delay":y.startTime>=a+u+c?"presentation-delay":"processing-duration",e=y,d=b)}}}catch(t){h.e(t)}finally{h.f()}}}catch(t){v.e(t)}finally{v.f()}var T=t.longAnimationFrameEntries.at(-1),w=T?T.startTime+T.duration:0;w>=a+u+c&&(f=t.nextPaintTime-w),e&&r&&(t.longestScript={entry:e,subpart:r,intersectingDuration:d}),t.totalScriptDuration=l,t.totalStyleAndLayoutDuration=s,t.totalPaintDuration=f,t.totalUnattributedDuration=t.nextPaintTime-a-l-s-f}}(p),Object.assign(t,{attribution:p})};L("long-animation-frame",function(t){r=r.concat(t),s()}),function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&N(function(){var e;"interactionCount"in performance||E||(E=L("event",K,{type:"event",buffered:!0,durationThreshold:0}));var r,i=M("INP"),a=S(n,Y),u=function(t){Z(function(){var n,e=o(t);try{for(e.s();!(n=e.n()).done;){var u=n.value;a.u(u)}}catch(t){e.e(t)}finally{e.f()}var c=a.M();
3c&&c.T!==i.value&&(i.value=c.T,i.entries=c.entries,r())})},c=L("event",u,{durationThreshold:null!==(e=n.durationThreshold)&&void 0!==e?e:40});r=C(t,i,tt,n.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&(u(c.takeRecords()),r(!0))}),O(function(){a.v(),i=M("INP"),r=C(t,i,tt,n.reportAllChanges)}))})}(function(n){var e=v(n);t(e)},n)},et=function(){return i(function t(){r(this,t),a(this,"m",void 0)},[{key:"u",value:function(t){var n;null===(n=this.m)||void 0===n||n.call(this,t)}}])}(),rt=[2500,4e3],it=[800,1800],ot=function(t){document.prerendering?N(function(){return ot(t)}):"complete"!==document.readyState?addEventListener("load",function(){return ot(t)},!0):setTimeout(t)},at=function(){var t=e(l().m(function t(n){var e,r,i,o,a,u,c,s,f,d;return l().w(function(t){for(;;)switch(t.n){case 0:return r=n.memory,i=n.cpus,o=n.connection,a=n.onIdle,t.n=1,a();case 1:u=document,c=u.documentElement,s=u.body,f=window.innerHeight||c.clientHeight||s.clientHeight,d=window.innerWidth||c.clientWidth||s.clientWidth,null===(e=window.nerdalytics)||void 0===e||e.track("Device Metric Captured",{device_memory:r,device_processors:i,effective_connection_type:o.effectiveType,screen_height:f,screen_width:d});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),ut=function(){var t=e(l().m(function t(){return l().w(function(t){for(;;)if(0===t.n)return t.a(2,new Promise(function(t){"requestIdleCallback"in window?requestIdleCallback(t):setTimeout(t,2)}))},t)}));return function(){return t.apply(this,arguments)}}(),ct=function(){var t=e(l().m(function t(){return l().w(function(t){for(;;)if(0===t.n)return t.a(2,new Promise(function(t){"complete"===document.readyState?t():window.addEventListener("load",function(){return t()},{once:!0})}))},t)}));return function(){return t.apply(this,arguments)}}(),lt="10000000-1000-4000-8000-100000000000".replace(/[018]/g,function(t){return(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}),st=function(){const t=h&&h.connection?h.connection:null;return{url:p?p.href:void 0,referrer:m?m.referrer:void 0,userAgent:h?h.userAgent:void 0,memory:h?h.deviceMemory:void 0,cpus:h?h.hardwareConcurrency:void 0,connection:t?{effectiveType:t.effectiveType,rtt:t.rtt,downlink:t.downlink}:{}}}(),ft=st.connection,dt=st.cpus,vt=st.memory,pt=st.userAgent,mt=null===(D=document.cookie.split("; ").find(function(t){return t.startsWith("x-rid")}))||void 0===D?void 0:D.split("=")[1],ht=window.__APP_VERSION__||"",yt=function(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],c=!0,l=!1;try{if(o=(e=e.call(t)).next,0===n);else for(;!(c=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,n)||v(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(ht.split(":"),1),gt={app_name:ht,app_version:yt[0],connection_downlink:ft.downlink,connection_effective_type:ft.effectiveType,connection_rtt:ft.rtt,device_cpus:dt,device_memory:vt,perf_metric_grouping_id:lt,rid:mt,user_agent:pt};at({memory:vt,cpus:dt,connection:ft,onIdle:ct}),function(t){var n=t.nerdContext,r=t.onIdle,i=function(t,e){var r,i=c(c({},n),{},a({metric_type:t},t,e));null===(r=window.nerdalytics)||void 0===r||r.track("Page Performance Metric Captured",i,{context:{protocols:{event_version:2}}})};!function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=S(n=Object.assign({},n),y),r=new WeakMap;e.t=function(t){var e;if(null!=t&&null!==(e=t.sources)&&void 0!==e&&e.length){var i=V(t.sources);if(i){var o,a=(null!==(o=n.generateTarget)&&void 0!==o?o:T)(i.node);r.set(i,a)}}},function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};H(I(function(){var e,r=M("CLS",0),i=S(n,y),a=function(t){var n,a=o(t);try{for(a.s();!(n=a.n()).done;){var u=n.value;i.u(u)}}catch(t){a.e(t)}finally{a.f()}i.o>r.value&&(r.value=i.o,r.entries=i.i,e())},u=L("layout-shift",a);u&&(e=C(t,r,U,n.reportAllChanges),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&(a(u.takeRecords()),e(!0))}),O(function(){i.o=0,r=M("CLS",0),e=C(t,r,U,n.reportAllChanges),j(function(){return e()})}),setTimeout(e))}))}(function(n){var e=function(t){var n={};if(t.entries.length){var e,i=t.entries.reduce(function(t,n){return t.value>n.value?t:n});if(null!=i&&null!==(e=i.sources)&&void 0!==e&&e.length){var o=V(i.sources);o&&(n={largestShiftTarget:r.get(o),largestShiftTime:i.startTime,largestShiftValue:i.value,largestShiftSource:o,largestShiftEntry:i,loadState:b(i.startTime)})}}return Object.assign(t,{attribution:n})}(n);t(e)},n)}(function(){var t=e(l().m(function t(n){var e,o,a,u,c,s,f,d;return l().w(function(t){for(;;)switch(t.n){case 0:return e=n.value,o=n.rating,a=n.entries,u=n.attribution,t.n=1,r();case 1:c=u.largestShiftTarget,s=u.largestShiftTime,f=u.largestShiftValue,d=u.loadState,i("cls",{cls:e,cls_rating:o,cls_total_entries:a.length,cls_largest_shift_target:c,cls_largest_shift_time:s,cls_largest_shift_value:f,cls_load_state:d});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),{reportAllChanges:!0}),nt(function(){var t=e(l().m(function t(n){var e,o,a,u,c,s,f,d,v,p,m,h,y,g,b;return l().w(function(t){for(;;)switch(t.n){case 0:return e=n.value,o=n.rating,a=n.attribution,t.n=1,r();case 1:u=a.interactionTarget,c=a.interactionTime,s=a.interactionType,f=a.inputDelay,d=a.processingDuration,v=a.presentationDelay,p=a.loadState,m=a.longAnimationFrameEntries,h=a.longestScript,y=a.totalScriptDuration,g=a.totalStyleAndLayoutDuration,b=a.totalPaintDuration,i("inp",{inp:e,inp_rating:o,inp_target:u,inp_event_type:s,inp_event_time:c,inp_load_state:p,inp_total_time:f+d+v,inp_input_delay:f,inp_processing_duration:d,inp_presentation_delay:v,inp_long_animation_frame_entries:m,inp_longest_script:h,inp_total_script_duration:y,inp_total_style_and_layout_duration:g,inp_total_paint_duration:b}),e>200&&"FS"in window&&window.FS.event("INP",{inp_value_int:e,inp_target_str:u,inp_event_type_str:s});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),{reportAllChanges:!0}),function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=S(n=Object.assign({},n),et),r=new WeakMap;e.m=function(t){if(t.element){var e,i=(null!==(e=n.generateTarget)&&void 0!==e?e:T)(t.element);r.set(t,i)}},function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(function(){var e,r=W(),i=M("LCP"),a=S(n,et),u=function(t){n.reportAllChanges||(t=t.slice(-1));var u,c=o(t);try{for(c.s();!(u=c.n()).done;){var l=u.value;a.u(l),l.startTime<r.firstHiddenTime&&(i.value=Math.max(l.startTime-k(),0),i.entries=[l],e())}}catch(t){c.e(t)}
3finally{c.f()}},c=L("largest-contentful-paint",u);if(c){e=C(t,i,rt,n.reportAllChanges);for(var l=I(function(){u(c.takeRecords()),c.disconnect(),e(!0)}),s=0,f=["keydown","click","visibilitychange"];s<f.length;s++)addEventListener(f[s],function(){return Z(l)},{capture:!0,once:!0});O(function(r){i=M("LCP"),e=C(t,i,rt,n.reportAllChanges),j(function(){i.value=performance.now()-r.timeStamp,e(!0)})})}})}(function(n){var e=function(t){var n={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){var e=g();if(e){var i=e.activationStart||0,o=t.entries.at(-1),a=o.url&&performance.getEntriesByType("resource").filter(function(t){return t.name===o.url})[0],u=Math.max(0,e.responseStart-i),c=Math.max(u,a?(a.requestStart||a.startTime)-i:0),l=Math.min(t.value,Math.max(c,a?a.responseEnd-i:0));n={target:r.get(o),timeToFirstByte:u,resourceLoadDelay:c-u,resourceLoadDuration:l-c,elementRenderDelay:t.value-l,navigationEntry:e,lcpEntry:o},o.url&&(n.url=o.url),a&&(n.lcpResourceEntry=a)}}return Object.assign(t,{attribution:n})}(n);t(e)},n)}(function(){var t=e(l().m(function t(n){var e,o,a,u,c,s,f,d,v,p;return l().w(function(t){for(;;)switch(t.n){case 0:return o=n.value,a=n.rating,u=n.attribution,t.n=1,r();case 1:c=u.target,s=u.url,f=u.resourceLoadDelay,d=u.resourceLoadDuration,v=u.elementRenderDelay,p=u.lcpEntry,i("lcp",{lcp:o,lcp_rating:a,lcp_size:null!==(e=null==p?void 0:p.size)&&void 0!==e?e:0,lcp_element:c,lcp_element_url:s,lcp_element_render_delay:v,lcp_resource_load_delay:f,lcp_resource_load_time:d});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),{reportAllChanges:!0}),function(t){H(function(n){var e=function(t){var n={timeToFirstByte:0,firstByteToFCP:t.value,loadState:b(A())};if(t.entries.length){var e=g(),r=t.entries.at(-1);if(e){var i=e.activationStart||0,o=Math.max(0,e.responseStart-i);n={timeToFirstByte:o,firstByteToFCP:t.value-o,loadState:b(t.entries[0].startTime),navigationEntry:e,fcpEntry:r}}}return Object.assign(t,{attribution:n})}(n);t(e)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}(function(){var t=e(l().m(function t(n){var e,o,a,u,c;return l().w(function(t){for(;;)switch(t.n){case 0:return e=n.value,o=n.rating,a=n.attribution,t.n=1,r();case 1:u=a.loadState,c=a.firstByteToFCP,i("fcp",{fcp:e,fcp_rating:o,fcp_load_state:u,fcp_first_byte_to_fcp:c});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),{reportAllChanges:!0}),function(t){!function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=M("TTFB"),r=C(t,e,it,n.reportAllChanges);ot(function(){var i=g();i&&(e.value=Math.max(i.responseStart-k(),0),e.entries=[i],r(!0),O(function(){e=M("TTFB",0),(r=C(t,e,it,n.reportAllChanges))(!0)}))})}(function(n){var e=function(t){var n={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){var e=t.entries[0],r=e.activationStart||0,i=Math.max((e.workerStart||e.fetchStart)-r,0),o=Math.max(e.domainLookupStart-r,0),a=Math.max(e.connectStart-r,0),u=Math.max(e.connectEnd-r,0);n={waitingDuration:i,cacheDuration:o-i,dnsDuration:a-o,connectionDuration:u-a,requestDuration:t.value-u,navigationEntry:e}}return Object.assign(t,{attribution:n})}(n);t(e)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}(function(){var t=e(l().m(function t(n){var e,o,a,u,c,s,f,d;return l().w(function(t){for(;;)switch(t.n){case 0:return e=n.value,o=n.rating,a=n.attribution,t.n=1,r();case 1:u=a.waitingDuration,c=a.cacheDuration,s=a.dnsDuration,f=a.connectionDuration,d=a.requestDuration,i("ttfb",{ttfb:e,ttfb_rating:o,ttfb_waiting_duration:u,ttfb_cache_duration:c,ttfb_dns_duration:s,ttfb_connection_duration:f,ttfb_request_duration:d});case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}())}({nerdContext:gt,onIdle:ut})}();

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.