is the imports section of an importmap.
It must contain URLs for @leanprover/infoview, react, react/jsx-runtime, react-dom,
It may include additional URLs. The listed libraries become importable
from user widgets. Note that dist/ already includes these files, so the following works:
{
'@leanprover/infoview': 'https://unpkg.com/@leanprover/infoview/dist/index.production.min.js',
'react': 'https://unpkg.com/@leanprover/infoview/dist/react.production.min.js',
'react/jsx-runtime': 'https://unpkg.com/@leanprover/infoview/dist/react-jsx-runtime.production.min.js',
'react-dom': 'https://unpkg.com/@leanprover/infoview/dist/react-dom.production.min.js',
}
Dynamically load the infoview module, execute
renderInfoviewwith the providedargs, and pass its return value tonext. SeeREADME.mdfor why this is needed.