import { SplitInfo } from "../components/Split" ; export function toCSSPx ( x ) { return ( x | 0 ) + "px" ; } export function assignObject ( to , from ) { for ( const x in from ) { if ( ! ( x in to ) ) { to [ x ] = from [ x ] ; } } return to ; }