File indexing completed on 2025-01-19 04:00:00
0001 import { Vector } from './vector.js' 0002 0003 export class LottieObject 0004 { 0005 to_lottie() 0006 { 0007 return {}; 0008 } 0009 } 0010 0011 export function value_from_lottie(x) 0012 { 0013 return x; 0014 } 0015 0016 export function value_to_lottie(x) 0017 { 0018 if ( x instanceof LottieObject ) 0019 return x.to_lottie(); 0020 if ( x instanceof Array ) 0021 return x.map(value_to_lottie); 0022 if ( x instanceof Vector ) 0023 return x.components; 0024 return x; 0025 }