43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
// Module ID: 1056
|
|
// Function ID: 1057
|
|
// Name: updateEstimate
|
|
// Dependencies: [1046]
|
|
|
|
// Module 1056 (updateEstimate)
|
|
import observe from "observe" /* 1046 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
let c3 = 0;
|
|
const Infinity = Infinity;
|
|
let c5 = 0;
|
|
function updateEstimate(arr) {
|
|
const item = arr.forEach((interactionId) => {
|
|
if (interactionId.interactionId) {
|
|
const _Math = Math;
|
|
closure_4 = Math.min(closure_4, interactionId.interactionId);
|
|
const _Math2 = Math;
|
|
bound = Math.max(bound, interactionId.interactionId);
|
|
let num = 0;
|
|
if (bound) {
|
|
num = (bound - closure_4) / 7 + 1;
|
|
}
|
|
}
|
|
});
|
|
}
|
|
arg5.getInteractionCount = () => {
|
|
if (closure_2) {
|
|
let tmp2 = c3;
|
|
} else {
|
|
const _performance = performance;
|
|
tmp2 = performance.interactionCount || 0;
|
|
}
|
|
return tmp2;
|
|
};
|
|
arg5.initInteractionCountPolyfill = () => {
|
|
if (!tmp) {
|
|
closure_2 = observe.observe("event", updateEstimate, { type: "event", buffered: true, durationThreshold: 0 });
|
|
const obj = observe;
|
|
}
|
|
};
|