@@ -229,7 +229,7 @@ const X = (e) => {
229
229
document . visibilityState === "hidden" ? e ( ) : ( e = et ( e ) , document . addEventListener ( "visibilitychange" , e , { once : ! 0 } ) , t ( ( ) => {
230
230
e ( ) , document . removeEventListener ( "visibilitychange" , e ) ;
231
231
} ) ) ;
232
- } , pt = [ 200 , 500 ] , Bt = ( e , t = { } ) => {
232
+ } , pt = [ 200 , 500 ] , qt = ( e , t = { } ) => {
233
233
const r = w ( t = Object . assign ( { } , t ) , mt ) ;
234
234
let i = [ ] , n = [ ] , o = 0 ;
235
235
const a = /* @__PURE__ */ new WeakMap ( ) , s = /* @__PURE__ */ new WeakMap ( ) ;
@@ -278,13 +278,13 @@ const X = (e) => {
278
278
if ( ! v . longAnimationFrameEntries ?. length ) return ;
279
279
const D = v . interactionTime , _ = v . inputDelay , nt = v . processingDuration ;
280
280
let W , H , $ = 0 , A = 0 , V = 0 , z = 0 ;
281
- for ( const B of v . longAnimationFrameEntries ) {
282
- A = A + B . startTime + B . duration - B . styleAndLayoutStart ;
283
- for ( const E of B . scripts ) {
281
+ for ( const q of v . longAnimationFrameEntries ) {
282
+ A = A + q . startTime + q . duration - q . styleAndLayoutStart ;
283
+ for ( const E of q . scripts ) {
284
284
const rt = E . startTime + E . duration ;
285
285
if ( rt < D ) continue ;
286
- const q = rt - Math . max ( D , E . startTime ) , at = E . duration ? q / E . duration * E . forcedStyleAndLayoutDuration : 0 ;
287
- $ += q - at , A += at , q > z && ( H = E . startTime < D + _ ? "input-delay" : E . startTime >= D + _ + nt ? "presentation-delay" : "processing-duration" , W = E , z = q ) ;
286
+ const B = rt - Math . max ( D , E . startTime ) , at = E . duration ? B / E . duration * E . forcedStyleAndLayoutDuration : 0 ;
287
+ $ += B - at , A += at , B > z && ( H = E . startTime < D + _ ? "input-delay" : E . startTime >= D + _ + nt ? "presentation-delay" : "processing-duration" , W = E , z = B ) ;
288
288
}
289
289
}
290
290
const J = v . longAnimationFrameEntries . at ( - 1 ) , it = J ? J . startTime + J . duration : 0 ;
@@ -321,7 +321,7 @@ class ht {
321
321
this . m ?. ( t ) ;
322
322
}
323
323
}
324
- const vt = [ 2500 , 4e3 ] , qt = ( e , t = { } ) => {
324
+ const vt = [ 2500 , 4e3 ] , Bt = ( e , t = { } ) => {
325
325
const r = w ( t = Object . assign ( { } , t ) , ht ) , i = /* @__PURE__ */ new WeakMap ( ) ;
326
326
r . m = ( n ) => {
327
327
if ( n . element ) {
@@ -404,7 +404,7 @@ function Nt(e) {
404
404
let s = ! 0 ;
405
405
n > 0 ? ( s = n , i = Math . max ( i , n ) ) : n <= 0 && Rt . test ( o ) ? s = parseInt ( o ) : a === jt ? ( s = o === Ut , r . isCached = s ) : o && ( s = o ) , r . serverTiming [ a ] = s ;
406
406
}
407
- r . isCached === ! 1 && r . waiting > 0 && r . waiting < i && ( r . isCached = ! 0 ) ;
407
+ r . isCached === ! 1 && r . request > 0 && r . request < i && ( r . isCached = ! 0 ) ;
408
408
}
409
409
e . ttfb = r , e . pageInfo . isCached = r . isCached ;
410
410
} , {
@@ -422,7 +422,7 @@ function _t(e) {
422
422
} ) ;
423
423
}
424
424
function Wt ( e ) {
425
- qt ( ( t ) => {
425
+ Bt ( ( t ) => {
426
426
e . lcp = {
427
427
value : t . value ,
428
428
navigationType : t . navigationType ,
@@ -446,7 +446,7 @@ function Ht(e) {
446
446
} ) ;
447
447
}
448
448
function $t ( e ) {
449
- Bt ( ( t ) => {
449
+ qt ( ( t ) => {
450
450
const r = t . attribution . longestScript , i = {
451
451
value : t . value ,
452
452
navigationType : t . navigationType ,
0 commit comments