Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

29 lines
843 B
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: fd0220e4d10052af.701bdafa2d.js
* Module id: 459220
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
var t = e.i(768924),
n = e.i(713118);
function i(e) {
return (0, t.useStore)(
(t) => {
let i = t.nodeLookup.get(e);
return i
? {
width: i.measured?.width ?? i.width ?? n.NODE_WIDTH,
height: i.measured?.height ?? i.height ?? n.NODE_HEIGHT_EMPTY,
}
: { width: n.NODE_WIDTH, height: n.NODE_HEIGHT_EMPTY };
},
(e, t) => e.width === t.width && e.height === t.height,
);
}
e.s(["useCachedNodeDimensions", () => i]);
};
export default moduleFactory;