import * as base from '@jupyter-widgets/base' ; import * as widgets from '@jupyter-widgets/controls' ; import * as outputWidgets from '@jupyter-widgets/jupyterlab-manager/lib/output' ; import * as embed from './embed' ; import { WidgetManager } from './manager' ; import './widgets.css' ; const define = ( window as any ) . define || function ( ) { } ; define ( '@jupyter-widgets/controls' , ( ) => widgets ) ; define ( '@jupyter-widgets/base' , ( ) => base ) ; define ( '@jupyter-widgets/output' , ( ) => outputWidgets ) ; if ( document . readyState === 'complete' ) { embed . renderWidgets ( ) ; } else { window . addEventListener ( 'load' , ( ) => { embed . renderWidgets ( ) ; } ) ; } ( window as any ) . vscIPyWidgets = { WidgetManager } ;