Ë
    :vžjÀ  ã                   óx   — d Z ddlmZmZmZmZ ddlZddlZddlm	Z	m
Z
 ddlmZ ddl­ d„ Zdd	„Zd
„ Z e«        y)aâ  Interactive widgets for the Jupyter notebook.

Provide simple interactive controls in the notebook.
Each Widget corresponds to an object in Python and Javascript,
with controls on the page.

To put a Widget on the page, you can display it with Jupyter's display machinery::

    from ipywidgets import IntSlider
    slider = IntSlider(min=1, max=10)
    display(slider)

Moving the slider will change the value. Most Widgets have a current value,
accessible as a `value` attribute.
é   )Ú__version__Ú__protocol_version__Ú$__jupyter_widgets_controls_version__Ú __jupyter_widgets_base_version__é    N)ÚlinkÚdlink)Úget_ipython)Ú*c                 ó2   — t        | d«      syt        «        y)z#Set up Jupyter to work with widgetsÚkernelN)ÚhasattrÚregister_comm_target©Úips    úd/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/ipywidgets/__init__.pyÚload_ipython_extensionr       s   € ä�2�xÔ ØÜÕó    c                 ó¶   — ddl m} |j                  «       }|€y|j                  dt        j
                  «       |j                  dt        j                  «       y)z'Register the jupyter.widget comm targetr   )ÚcommNzjupyter.widgetzjupyter.widget.control)Ú r   Úget_comm_managerÚregister_targetÚWidgetÚhandle_comm_openedÚhandle_control_comm_opened)r   r   Úcomm_managers      r   r   r   &   sJ   € åØ×(Ñ(Ó*€LØÐØØ× Ñ Ð!1´6×3LÑ3LÔMØ× Ñ Ð!9¼6×;\Ñ;\Õ]r   c                  ó2   — t        «       } | €yt        «        y)z=Register with the comm target at import if running in JupyterN)r
   r   r   s    r   Ú_handle_ipythonr   /   s   € ä	‹€BØ	€zØÜÕr   )N)Ú__doc__Ú_versionr   r   r   r   ÚosÚsysÚ	traitletsr   r	   ÚIPythonr
   Úwidgetsr   r   r   © r   r   Ú<module>r(      s:   ðñ÷" @Ó ã 	Û 
ç !Ý ä òó^òñ Õ r   