@burdenoff/fe-libs 2026.1114.2 → 2026.1114.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,210 +1,299 @@
|
|
|
1
1
|
// node_modules/web-vitals/dist/web-vitals.js
|
|
2
|
-
var e, t =
|
|
3
|
-
addEventListener("pageshow", (
|
|
4
|
-
n.persisted && (
|
|
5
|
-
}
|
|
6
|
-
}, r =
|
|
7
|
-
|
|
2
|
+
var e = -1, t = () => e, n = (t) => {
|
|
3
|
+
addEventListener("pageshow", (n) => {
|
|
4
|
+
n.persisted && (e = n.timeStamp, t(n));
|
|
5
|
+
}, !0);
|
|
6
|
+
}, r = (e, t, n, r) => {
|
|
7
|
+
let i, a;
|
|
8
|
+
return (o) => {
|
|
9
|
+
t.value >= 0 && (o || r) && (a = t.value - (i ?? 0), (a || i === void 0) && (i = t.value, t.delta = a, t.rating = ((e, t) => e > t[1] ? "poor" : e > t[0] ? "needs-improvement" : "good")(t.value, n), e(t)));
|
|
10
|
+
};
|
|
11
|
+
}, i = (e) => {
|
|
12
|
+
requestAnimationFrame(() => requestAnimationFrame(() => e()));
|
|
13
|
+
}, a = () => {
|
|
14
|
+
let e = performance.getEntriesByType("navigation")[0];
|
|
8
15
|
if (e && e.responseStart > 0 && e.responseStart < performance.now()) return e;
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
}, o = () => a()?.activationStart ?? 0, s = -1, c = /* @__PURE__ */ new Set(), l = () => document.visibilityState !== "hidden" || document.prerendering ? 1 / 0 : 0, u = (e) => {
|
|
17
|
+
if (document.visibilityState === "hidden") {
|
|
18
|
+
if (e.type === "visibilitychange") for (let e of c) e();
|
|
19
|
+
isFinite(s) || (s = e.type === "visibilitychange" ? e.timeStamp : 0, removeEventListener("prerenderingchange", u, !0));
|
|
20
|
+
}
|
|
21
|
+
}, d = (e = !1) => {
|
|
22
|
+
if (e && (s = 1 / 0), s < 0) {
|
|
23
|
+
let e = o();
|
|
24
|
+
s = (document.prerendering ? void 0 : globalThis.performance.getEntriesByType("visibility-state").find((t) => t.name === "hidden" && t.startTime >= e)?.startTime) ?? l(), addEventListener("visibilitychange", u, !0), addEventListener("prerenderingchange", u, !0), n(() => {
|
|
25
|
+
setTimeout(() => {
|
|
26
|
+
s = l();
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
get firstHiddenTime() {
|
|
32
|
+
return s;
|
|
33
|
+
},
|
|
34
|
+
onHidden(e) {
|
|
35
|
+
c.add(e);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}, f = (e, n = -1, r, i = 0, s, c, l) => {
|
|
39
|
+
let u = a(), d = u?.navigationId || 0, f = "navigate";
|
|
40
|
+
return r ? f = r : t() >= 0 ? f = "back-forward-cache" : u && (document.prerendering || o() > 0 ? f = "prerender" : document.wasDiscarded ? f = "restore" : u.type && (f = u.type.replace(/_/g, "-"))), {
|
|
15
41
|
name: e,
|
|
16
|
-
value: n
|
|
42
|
+
value: n,
|
|
17
43
|
rating: "good",
|
|
18
44
|
delta: 0,
|
|
19
45
|
entries: [],
|
|
20
|
-
id: `
|
|
21
|
-
navigationType:
|
|
46
|
+
id: `v6-${Date.now()}-${Math.floor(8999999999999 * Math.random()) + 0xe8d4a51000}`,
|
|
47
|
+
navigationType: f,
|
|
48
|
+
navigationId: i || d,
|
|
49
|
+
navigationInteractionId: s,
|
|
50
|
+
navigationURL: c || u?.name,
|
|
51
|
+
navigationStartTime: l || 0
|
|
22
52
|
};
|
|
23
|
-
},
|
|
53
|
+
}, p = /* @__PURE__ */ new WeakMap();
|
|
54
|
+
function m(e, t) {
|
|
55
|
+
let n = p.get(t);
|
|
56
|
+
return n || (n = /* @__PURE__ */ new WeakMap(), p.set(t, n)), n.get(e) || n.set(e, new t()), n.get(e);
|
|
57
|
+
}
|
|
58
|
+
var h = class {
|
|
59
|
+
t;
|
|
60
|
+
i = 0;
|
|
61
|
+
o = [];
|
|
62
|
+
h(e) {
|
|
63
|
+
if (e.hadRecentInput) return;
|
|
64
|
+
let t = this.o[0], n = this.o.at(-1);
|
|
65
|
+
this.i && t && n && e.startTime - n.startTime < 1e3 && e.startTime - t.startTime < 5e3 ? (this.i += e.value, this.o.push(e)) : (this.i = e.value, this.o = [e]), this.t?.(e);
|
|
66
|
+
}
|
|
67
|
+
}, g = (e, t, n = {}) => {
|
|
24
68
|
try {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
69
|
+
let r = e.filter((e) => PerformanceObserver.supportedEntryTypes.includes(e));
|
|
70
|
+
if (r.length > 0) {
|
|
71
|
+
let e = new PerformanceObserver((e) => {
|
|
72
|
+
queueMicrotask(() => {
|
|
73
|
+
let n = e.getEntries();
|
|
74
|
+
r.length > 1 && n.sort((e, t) => e.startTime + e.duration - (t.startTime + t.duration)), t(n);
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
for (let t of r) e.observe({
|
|
78
|
+
type: t,
|
|
79
|
+
buffered: !0,
|
|
80
|
+
...n
|
|
81
|
+
});
|
|
82
|
+
return e;
|
|
35
83
|
}
|
|
36
84
|
} catch {}
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
t
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
requestAnimationFrame((function() {
|
|
46
|
-
return requestAnimationFrame((function() {
|
|
47
|
-
return e();
|
|
48
|
-
}));
|
|
49
|
-
}));
|
|
50
|
-
}, l = function(e) {
|
|
51
|
-
document.addEventListener("visibilitychange", (function() {
|
|
52
|
-
document.visibilityState === "hidden" && e();
|
|
53
|
-
}));
|
|
54
|
-
}, u = function(e) {
|
|
55
|
-
var t = !1;
|
|
56
|
-
return function() {
|
|
85
|
+
}, _ = (e) => globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation") && typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint == "function" && e && e.reportSoftNavs, v = (e, t) => {
|
|
86
|
+
if (e.set(t.navigationId, t), e.size > 2) {
|
|
87
|
+
let t = e.keys().next().value;
|
|
88
|
+
t !== void 0 && e.delete(t);
|
|
89
|
+
}
|
|
90
|
+
}, y = (e) => {
|
|
91
|
+
let t = !1;
|
|
92
|
+
return () => {
|
|
57
93
|
t ||= (e(), !0);
|
|
58
94
|
};
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
document.
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
})
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
u
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
})), u > i.value && (i.value = u, i.entries = d, r());
|
|
101
|
-
}, p = o("layout-shift", f);
|
|
102
|
-
p && (r = s(e, i, b, t.reportAllChanges), l((function() {
|
|
103
|
-
f(p.takeRecords()), r(!0);
|
|
104
|
-
})), n((function() {
|
|
105
|
-
u = 0, i = a("CLS", 0), r = s(e, i, b, t.reportAllChanges), c((function() {
|
|
106
|
-
return r();
|
|
107
|
-
}));
|
|
108
|
-
})), setTimeout(r, 0));
|
|
109
|
-
})));
|
|
110
|
-
}, S = 0, C = 1 / 0, w = 0, T = function(e) {
|
|
111
|
-
e.forEach((function(e) {
|
|
112
|
-
e.interactionId && (C = Math.min(C, e.interactionId), w = Math.max(w, e.interactionId), S = w ? (w - C) / 7 + 1 : 0);
|
|
95
|
+
}, b = class {
|
|
96
|
+
l;
|
|
97
|
+
}, x = (e) => {
|
|
98
|
+
document.prerendering ? addEventListener("prerenderingchange", e, !0) : e();
|
|
99
|
+
}, S = [1800, 3e3], C = (e, a = {}) => {
|
|
100
|
+
let s = _(a);
|
|
101
|
+
x(() => {
|
|
102
|
+
let c = m(a, b), l = d(), u, p = f("FCP"), h = g(["paint"], (e) => {
|
|
103
|
+
for (let t of e) t.name === "first-contentful-paint" && (h.disconnect(), t.startTime < l.firstHiddenTime && (p.value = Math.max(t.startTime - o(), 0), p.entries.push(t), p.navigationId = t.navigationId || p.navigationId, u(!0)));
|
|
104
|
+
});
|
|
105
|
+
h && (u = r(e, p, S, a.reportAllChanges), n((n) => {
|
|
106
|
+
p = f("FCP", -1, "back-forward-cache", p.navigationId, p.navigationInteractionId, p.navigationURL, t()), u = r(e, p, S, a.reportAllChanges), i(() => {
|
|
107
|
+
p.value = performance.now() - n.timeStamp, u(!0);
|
|
108
|
+
});
|
|
109
|
+
})), s && g(["soft-navigation"], (t) => {
|
|
110
|
+
t.forEach((t) => {
|
|
111
|
+
c.l && t.navigationId && v(c.l, t), p = f("FCP", Math.max((t.presentationTime || t.paintTime || 0) - t.startTime, 0), "soft-navigation", t.navigationId, t.interactionId, t.name, t.startTime), u = r(e, p, S, a.reportAllChanges), u(!0);
|
|
112
|
+
});
|
|
113
|
+
}, a);
|
|
114
|
+
});
|
|
115
|
+
}, w = [.1, .25], T = (e, a = {}) => {
|
|
116
|
+
let o = d();
|
|
117
|
+
C(y(() => {
|
|
118
|
+
let s, c = f("CLS", 0), l = m(a, h), u = (t, n, i, o, u) => {
|
|
119
|
+
c = f("CLS", 0, t, n, i, o, u), l.i = 0, s = r(e, c, w, a.reportAllChanges);
|
|
120
|
+
}, d = (e = !1) => {
|
|
121
|
+
l.i > c.value && (c.value = l.i, c.entries = l.o), s(e);
|
|
122
|
+
}, p = (e) => {
|
|
123
|
+
d(!0), u("soft-navigation", e.navigationId, e.interactionId, e.name, e.startTime);
|
|
124
|
+
}, v = (e) => {
|
|
125
|
+
for (let t of e) t.entryType === "soft-navigation" ? p(t) : l.h(t);
|
|
126
|
+
d();
|
|
127
|
+
}, y = ["layout-shift"];
|
|
128
|
+
_(a) && y.push("soft-navigation");
|
|
129
|
+
let b = g(y, v);
|
|
130
|
+
b && (s = r(e, c, w, a.reportAllChanges), o.onHidden(() => {
|
|
131
|
+
v(b.takeRecords()), s(!0);
|
|
132
|
+
}), n(() => {
|
|
133
|
+
u("back-forward-cache", c.navigationId, c.navigationInteractionId, c.navigationURL, t()), i(s);
|
|
134
|
+
}), setTimeout(s));
|
|
113
135
|
}));
|
|
114
|
-
}, E =
|
|
115
|
-
|
|
116
|
-
},
|
|
117
|
-
"interactionCount" in performance ||
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
}, E = 0, D = 1 / 0, O = 0, k = (e) => {
|
|
137
|
+
for (let t of e) t.interactionId && (D = Math.min(D, t.interactionId), O = Math.max(O, t.interactionId), E = O ? (O - D) / 7 + 1 : 0);
|
|
138
|
+
}, A, j = () => A ? E : performance.interactionCount ?? 0, M = () => {
|
|
139
|
+
"interactionCount" in performance || A || (A = g(["event"], k, { durationThreshold: 0 }));
|
|
140
|
+
}, N = class {
|
|
141
|
+
u = 0;
|
|
142
|
+
v = [];
|
|
143
|
+
m = /* @__PURE__ */ new Map();
|
|
144
|
+
p;
|
|
145
|
+
T;
|
|
146
|
+
_() {
|
|
147
|
+
return j() - this.u;
|
|
148
|
+
}
|
|
149
|
+
M() {
|
|
150
|
+
this.u = j(), this.v.length = 0, this.m.clear();
|
|
151
|
+
}
|
|
152
|
+
L(e) {
|
|
153
|
+
let t = this._(), n = Math.min(this.v.length - 1, Math.floor(t / 50));
|
|
154
|
+
return !t || n !== -1 || e !== "soft-navigation" && e !== "back-forward-cache" ? this.v[n] : {
|
|
155
|
+
P: 8,
|
|
156
|
+
id: -1,
|
|
157
|
+
entries: []
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
h(e) {
|
|
161
|
+
if (this.p?.(e), !e.interactionId) return;
|
|
162
|
+
let t = this.v.at(-1), n = this.m.get(e.interactionId);
|
|
163
|
+
if (n || this.v.length < 10 || e.duration > t.P) {
|
|
164
|
+
if (n ? e.duration > n.P ? (n.entries = [e], n.P = e.duration) : e.duration === n.P && e.startTime === n.entries[0].startTime && n.entries.push(e) : (n = {
|
|
165
|
+
id: e.interactionId,
|
|
166
|
+
entries: [e],
|
|
167
|
+
P: e.duration
|
|
168
|
+
}, this.m.set(n.id, n), this.v.push(n)), this.v.sort((e, t) => t.P - e.P), this.v.length > 10) {
|
|
169
|
+
let e = this.v.splice(10);
|
|
170
|
+
for (let t of e) this.m.delete(t.id);
|
|
138
171
|
}
|
|
139
|
-
|
|
140
|
-
return t.latency - e.latency;
|
|
141
|
-
})), O.length > 10 && O.splice(10).forEach((function(e) {
|
|
142
|
-
return k.delete(e.id);
|
|
143
|
-
}));
|
|
172
|
+
this.T?.(n);
|
|
144
173
|
}
|
|
145
174
|
}
|
|
146
|
-
}, P =
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}));
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
175
|
+
}, P = (e) => {
|
|
176
|
+
let t = "requestIdleCallback" in globalThis ? 1e3 : 0, n = globalThis.requestIdleCallback || setTimeout, r = globalThis.cancelIdleCallback || clearTimeout;
|
|
177
|
+
if (document.visibilityState === "hidden") e();
|
|
178
|
+
else {
|
|
179
|
+
let i = y(e), a = -1, o = () => {
|
|
180
|
+
r(a), i();
|
|
181
|
+
};
|
|
182
|
+
addEventListener("visibilitychange", o, {
|
|
183
|
+
once: !0,
|
|
184
|
+
capture: !0
|
|
185
|
+
}), a = n(() => {
|
|
186
|
+
removeEventListener("visibilitychange", o, { capture: !0 }), i();
|
|
187
|
+
}, { timeout: t });
|
|
188
|
+
}
|
|
189
|
+
}, F = [200, 500], I = (e, i = {}) => {
|
|
190
|
+
if (!globalThis.PerformanceEventTiming || !("interactionId" in PerformanceEventTiming.prototype)) return;
|
|
191
|
+
let a = d();
|
|
192
|
+
x(() => {
|
|
193
|
+
M();
|
|
194
|
+
let o, s = f("INP"), c = m(i, N), l = (t, n, a, l, u) => {
|
|
195
|
+
c.M(), s = f("INP", -1, t, n, a, l, u), o = r(e, s, F, i.reportAllChanges);
|
|
196
|
+
}, u = () => {
|
|
197
|
+
let e = c.L(s.navigationType);
|
|
198
|
+
e && e.P !== s.value && (s.value = e.P, s.entries = e.entries, o());
|
|
199
|
+
}, d = (e) => {
|
|
200
|
+
u(), o(!0), l("soft-navigation", e.navigationId, e.interactionId, e.name, e.startTime);
|
|
201
|
+
}, p = (e, t = !1) => {
|
|
202
|
+
P(() => {
|
|
203
|
+
for (let t of e) t.entryType === "soft-navigation" ? d(t) : c.h(t);
|
|
204
|
+
u(), t && o(!0);
|
|
205
|
+
});
|
|
206
|
+
}, h = ["event", "first-input"];
|
|
207
|
+
_(i) && h.push("soft-navigation");
|
|
208
|
+
let v = g(h, p, {
|
|
209
|
+
...i,
|
|
210
|
+
durationThreshold: i.durationThreshold ?? 40
|
|
211
|
+
});
|
|
212
|
+
o = r(e, s, F, i.reportAllChanges), v && (a.onHidden(() => {
|
|
213
|
+
p(v.takeRecords(), !0);
|
|
214
|
+
}), n(() => {
|
|
215
|
+
l("back-forward-cache", s.navigationId, s.navigationInteractionId, s.navigationURL, t());
|
|
216
|
+
}));
|
|
217
|
+
});
|
|
218
|
+
}, L = class {
|
|
219
|
+
p;
|
|
220
|
+
l;
|
|
221
|
+
h(e) {
|
|
222
|
+
this.p?.(e);
|
|
223
|
+
}
|
|
224
|
+
}, R = [2500, 4e3], z = (e, a = {}) => {
|
|
225
|
+
let s = !1, c = _(a);
|
|
226
|
+
x(() => {
|
|
227
|
+
let l, u = d(), p = f("LCP"), h = m(a, L), _ = (t, n, i, o, c) => {
|
|
228
|
+
p = f("LCP", -1, t, n, i, o, c), l = r(e, p, R, a.reportAllChanges), s = !1, t === "soft-navigation" && (u = d(!0));
|
|
229
|
+
}, y = (e) => {
|
|
230
|
+
h.l && e.navigationId && v(h.l, e), s || l(!0), _("soft-navigation", e.navigationId, e.interactionId, e.name, e.startTime);
|
|
231
|
+
let t = e.getLargestInteractionContentfulPaint?.();
|
|
232
|
+
t && b([t]);
|
|
233
|
+
}, b = (e) => {
|
|
234
|
+
a.reportAllChanges || c || (e = e.slice(-1));
|
|
235
|
+
for (let t of e) {
|
|
236
|
+
if (!t) continue;
|
|
237
|
+
if (t.entryType === "soft-navigation") {
|
|
238
|
+
y(t);
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
let e = 0, n = [], r = t.startTime;
|
|
242
|
+
if (t.entryType === "largest-contentful-paint") e = Math.max(t.startTime - o(), 0), h.h(t), n = [t];
|
|
243
|
+
else if (t.entryType === "interaction-contentful-paint") {
|
|
244
|
+
let i = t;
|
|
245
|
+
if (!p.navigationId || "interactionId" in i && i.interactionId != p.navigationInteractionId) continue;
|
|
246
|
+
r = i.largestContentfulPaint?.renderTime || 0, e = Math.max(r - t.startTime, 0), i.largestContentfulPaint && (h.h(i.largestContentfulPaint), n = [i.largestContentfulPaint]);
|
|
247
|
+
}
|
|
248
|
+
r < u.firstHiddenTime && (p.value = e, p.entries = n, l());
|
|
249
|
+
}
|
|
250
|
+
}, x = ["largest-contentful-paint"];
|
|
251
|
+
c && x.push("interaction-contentful-paint", "soft-navigation");
|
|
252
|
+
let S = g(x, b);
|
|
253
|
+
if (S) {
|
|
254
|
+
l = r(e, p, R, a.reportAllChanges);
|
|
255
|
+
let o = [
|
|
256
|
+
"keydown",
|
|
257
|
+
"click",
|
|
258
|
+
"visibilitychange"
|
|
259
|
+
], u = (e) => {
|
|
260
|
+
if (e.isTrusted && !s) {
|
|
261
|
+
let e = p.id;
|
|
262
|
+
P(() => {
|
|
263
|
+
if (!s) {
|
|
264
|
+
if (!c) {
|
|
265
|
+
S.disconnect();
|
|
266
|
+
for (let e of o) removeEventListener(e, u, { capture: !0 });
|
|
267
|
+
}
|
|
268
|
+
e === p.id && (s = !0, l(!0));
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
for (let e of o) addEventListener(e, u, { capture: !0 });
|
|
274
|
+
n((n) => {
|
|
275
|
+
_("back-forward-cache", p.navigationId, p.navigationInteractionId, p.navigationURL, t()), l = r(e, p, R, a.reportAllChanges), i(() => {
|
|
276
|
+
p.value = performance.now() - n.timeStamp, s = !0, l(!0);
|
|
186
277
|
});
|
|
187
|
-
})
|
|
188
|
-
f = a("LCP"), r = s(e, f, L, t.reportAllChanges), c((function() {
|
|
189
|
-
f.value = performance.now() - n.timeStamp, R[f.id] = !0, r(!0);
|
|
190
|
-
}));
|
|
191
|
-
}));
|
|
278
|
+
});
|
|
192
279
|
}
|
|
193
|
-
})
|
|
194
|
-
}, B = [800, 1800], V =
|
|
195
|
-
document.prerendering ?
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
280
|
+
});
|
|
281
|
+
}, B = [800, 1800], V = (e) => {
|
|
282
|
+
document.prerendering ? x(() => V(e)) : document.readyState === "complete" ? setTimeout(e) : addEventListener("load", () => V(e), !0);
|
|
283
|
+
}, H = (e, i = {}) => {
|
|
284
|
+
let s = _(i), c = f("TTFB"), l = r(e, c, B, i.reportAllChanges);
|
|
285
|
+
V(() => {
|
|
286
|
+
let u = a();
|
|
287
|
+
if (u) {
|
|
288
|
+
let a = u.responseStart;
|
|
289
|
+
c.value = Math.max(a - o(), 0), c.entries = [u], l(!0), n(() => {
|
|
290
|
+
c = f("TTFB", 0, "back-forward-cache", c.navigationId, c.navigationInteractionId, c.navigationURL, t()), l = r(e, c, B, i.reportAllChanges), l(!0);
|
|
291
|
+
}), s && g(["soft-navigation"], (t) => {
|
|
292
|
+
t.forEach((t) => {
|
|
293
|
+
t.navigationId && (c = f("TTFB", 0, "soft-navigation", t.navigationId, t.interactionId, t.name, t.startTime), c.entries = [t], l = r(e, c, B, i.reportAllChanges), l(!0));
|
|
294
|
+
});
|
|
295
|
+
}, i);
|
|
296
|
+
}
|
|
297
|
+
});
|
|
209
298
|
};
|
|
210
|
-
export {
|
|
299
|
+
export { w as CLSThresholds, S as FCPThresholds, F as INPThresholds, R as LCPThresholds, B as TTFBThresholds, T as onCLS, C as onFCP, I as onINP, z as onLCP, H as onTTFB };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/fe-libs",
|
|
3
|
-
"version": "2026.1114.
|
|
3
|
+
"version": "2026.1114.3",
|
|
4
4
|
"description": "Burdenoff frontend primitives and domain libraries",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
},
|
|
387
387
|
"dependencies": {
|
|
388
388
|
"@burdenoff/toolchain": "2026.1107.14",
|
|
389
|
-
"@hookform/resolvers": "^
|
|
389
|
+
"@hookform/resolvers": "^6.0.1",
|
|
390
390
|
"@openuidev/react-lang": "1.0.1",
|
|
391
391
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
392
392
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
"sonner": "^2.0.7",
|
|
421
421
|
"tailwind-merge": "^3.4.0",
|
|
422
422
|
"unified": "^11.0.0",
|
|
423
|
-
"web-vitals": "^
|
|
423
|
+
"web-vitals": "^6.2.3",
|
|
424
424
|
"zod": "4.6.7"
|
|
425
425
|
},
|
|
426
426
|
"devDependencies": {
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
"autoprefixer": "^10.6.2",
|
|
457
457
|
"eslint": "^9.39.5",
|
|
458
458
|
"fflate": "^0.8.3",
|
|
459
|
-
"framer-motion": "^
|
|
459
|
+
"framer-motion": "^14.7.1",
|
|
460
460
|
"happy-dom": "21.0.4",
|
|
461
461
|
"lefthook": "^2.2.2",
|
|
462
462
|
"livekit-client": "2.23.0",
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"react-dom": "^19.0.0",
|
|
482
482
|
"react-router": "^8.3.0",
|
|
483
483
|
"zustand": "^5.0.5",
|
|
484
|
-
"framer-motion": "^
|
|
484
|
+
"framer-motion": "^14.7.1",
|
|
485
485
|
"@capacitor/app": "^8.1.0",
|
|
486
486
|
"@capacitor/action-sheet": "^8.1.1",
|
|
487
487
|
"@capacitor/browser": "^8.0.3",
|