// Path: app/src/main/java/com/annimon/hotarufx/lib/Context.java
// public final class Context {
// 
//     private final Map<String, Value> variables;
//     private final Map<String, Function> functions;
//     private Composition composition;
// 
//     public Context() {
//         variables = new ConcurrentHashMap<>();
//         functions = new ConcurrentHashMap<>();
//     }
// 
//     public Map<String, Value> variables() {
//         return variables;
//     }
// 
//     public Map<String, Function> functions() {
//         return functions;
//     }
// 
//     public Composition composition() {
//         return composition;
//     }
// 
//     public void composition(Composition composition) {
//         this.composition = composition;
//     }
// }


import com.annimon.hotarufx.lib.Context;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
package com.annimon.hotarufx.bundles;


public final class BundleLoader {

    public static List<Class<? extends Bundle>> runtimeBundles() {
        return Arrays.asList(
                CompositionBundle.class,
                NodesBundle.class,
                NodeUtilsBundle.class,
                InterpolatorsBundle.class,
                FontBundle.class
        );
    }

// Path: app/src/main/java/com/annimon/hotarufx/lib/Context.java
// public final class Context {
// 
//     private final Map<String, Value> variables;
//     private final Map<String, Function> functions;
//     private Composition composition;
// 
//     public Context() {
//         variables = new ConcurrentHashMap<>();
//         functions = new ConcurrentHashMap<>();
//     }
// 
//     public Map<String, Value> variables() {
//         return variables;
//     }
// 
//     public Map<String, Function> functions() {
//         return functions;
//     }
// 
//     public Composition composition() {
//         return composition;
//     }
// 
//     public void composition(Composition composition) {
//         this.composition = composition;
//     }
// }


// Path: app/src/main/java/com/annimon/hotarufx/bundles/BundleLoader.java
import com.annimon.hotarufx.lib.Context;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;

package com.annimon.hotarufx.bundles;


public final class BundleLoader {

    public static List<Class<? extends Bundle>> runtimeBundles() {
        return Arrays.asList(
                CompositionBundle.class,
                NodesBundle.class,
                NodeUtilsBundle.class,
                InterpolatorsBundle.class,
                FontBundle.class
        );
    }

    public static void loadSingle(Context context, Class<? extends Bundle> clazz) {