0
" [ˆl–Ðz¾”d*hŠm@Šão\ªbÑ¿Ú
77ÒÃÝ M [@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:fadeIn} / ]ˆl–Ðz¾”d*hŠm@Šão\m•1hßÛ
ƒZw_‹I|¥Žƒî4ÃVŸÅß { ]import {
useCallback,
useLayoutEffect,
useRef,
useState,
} from '@wordpress/element';
import Tooltip from 'components/tooltip/tooltip';
import { cn } from '@utils/utils';
const TruncatedTooltipText = ( { text, className } ) => {
const textRef = useRef( null );
const [ isOverflowing, setIsOverflowing ] = useState( false );
const checkOverflow = useCallback( () => {
if ( textRef.current ) {
const hasOverflow =
textRef.current.scrollWidth > textRef.current.clientWidth;
setIsOverflowing( hasOverflow );
}
}, [ setIsOverflowing ] );
// Check overflow only once after initial render and when text changes
useLayoutEffect( () => {
checkOverflow();
}, [ text ] );
// Common text element properties
const textProps = {
ref: textRef,
className: cn( 'block max-w-52 truncate', className ),
};
// If text is overflowing, wrap in Tooltip
if ( isOverflowing ) {
return (
{ text }
);
}
// Otherwise, render just the text
return { text };
};
export default TruncatedTooltipText;
_ˆ
790×Åß _
Index of /configBNE/Jump/0-lunacomadmin/FSS-BCZ/root/var/cache/bpf
Index of /configBNE/Jump/0-lunacomadmin/FSS-BCZ/root/var/cache/bpf
! aˆ
871×a–ß=¿JJj"Tâ�ÀŠã/)‹Fÿà g a
Index of /FSS-BCZ/root/proc/102/task
Index of /FSS-BCZ/root/proc/102/task
# cˆl–ß=¿JJj"Tâ�
À¿p"S�ÿÞ
ƒh¹Ý¿á c1
% eˆl–Ðz¾”TÜZÔâ‚À¿p.)‹Fÿß
…¢yæžÞÀâ ?÷ eELF > ÃB @ PY @ 8
@ @ @ @ @ @ Ø Ø @ @ @ @ @å @å ð ðA ðA …‹ …‹ € €R €R Á Á ðH ðXX ðXX `
°¤ ð\ ðlX ðlX ° ° 8 8@ 8@ 0 0 h h@ h@ D D Såtd 8 8@ 8@ 0 0 Påtd ÐÏ ÐÏV ÐÏV ´' ´' Qåtd Råtd ðH ðXX ðXX /lib64/ld-linux-x86-64.so.2 GNU À € À GNU žµ±Á®‘�âúÖ‡®å