}
ScriptClassLoaderProvider classLoaderProvider = this.classLoaderProvider;
ScriptSource withImports = importsReader.withImports(scriptSource);
if (classLoaderProvider == null) {
ScriptHandlerInternal defaultScriptHandler = scriptHandlerFactory.create(withImports, classLoader);
services.add(ScriptHandlerInternal.class, defaultScriptHandler);
classLoaderProvider = defaultScriptHandler;
}
ScriptCompiler compiler = scriptCompilerFactory.createCompiler(withImports);