Ë
    ý�pjT  ã                  ó$   — d dl mZ d dlmZ dd„Zy)é    )Úannotations)ÚAnyc                ó  — | j                  «       D ]N  \  }}t        |t        «      r,||v sŒt        ||   t        «      sŒ/t        | |   ||   «       ŒB||v sŒG||   | |<   ŒP |j                  «       D ]  \  }}|| vsŒ|| |<   Œ | S )aò  Merge two nested dictionaries.

    Effectively a recursive ``dict.update``.

    Examples
    --------
    Merge two flat dictionaries:
    >>> nested_update(
    ...     {'a': 1, 'b': 2},
    ...     {'b': 3, 'c': 4}
    ... )
    {'a': 1, 'b': 3, 'c': 4}

    Merge two nested dictionaries:
    >>> nested_update(
    ...     {'x': {'a': 1, 'b': 2}, 'y': 5, 'z': 6},
    ...     {'x': {'b': 3, 'c': 4}, 'z': 7, '0': 8},
    ... )
    {'x': {'a': 1, 'b': 3, 'c': 4}, 'y': 5, 'z': 7, '0': 8}

    )ÚitemsÚ
isinstanceÚdictÚnested_update)ÚthisÚthatÚkeyÚvalues       ún/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/traitlets/utils/nested_update.pyr	   r	      s‰   € ð, —j‘j–l‰
ˆˆUÜ�eœTÔ"Ø�dŠ{œz¨$¨s©)´TÕ:Ü˜d 3™i¨¨c©Õ3Ø�DŠ[Ø˜S™	ˆD�ŠIð #ð —j‘j–l‰
ˆˆUØ�dŠ?ØˆD�ŠIð #ð €Kó    N)r
   údict[Any, Any]r   r   Úreturnr   )Ú
__future__r   Útypingr   r	   © r   r   Ú<module>r      s   ðõ #å ô!r   