29 lines
843 B
JavaScript
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;
|