Ë
    SÏ!hÿ  ã                   ó8   — d dl Z  G d„ de«      Z G d„ de«      Zy)é    Nc                   ó,   ‡ — e Zd ZdZˆ fd„Zˆ fd„Zˆ xZS )Ú	Singletonz›
    Singleton metaclass
    Based on Python Cookbook 3rd Edition Recipe 9.13
    Only one instance of a class can exist. Does not work with __slots__
    c                 ó2   •— t        ‰| �  |i |¤Ž d | _        y ©N)ÚsuperÚ__init__Ú_Singleton__instance©ÚselfÚargsÚkwÚ	__class__s      €úW/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/openpyxl/compat/singleton.pyr   zSingleton.__init__   s   ø€ Ü‰Ñ˜$Ð% "Ò%Øˆ�ó    c                 ó\   •— | j                   €t        ‰| �  |i |¤Ž| _         | j                   S r   )r	   r   Ú__call__r
   s      €r   r   zSingleton.__call__   s-   ø€ Ø�?‰?Ð"Ü#™gÑ.°Ð;¸Ñ;ˆDŒOØ�‰Ðr   ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__©r   s   @r   r   r      s   ø„ ñô÷ð r   r   c                   ó,   ‡ — e Zd ZdZˆ fd„Zˆ fd„Zˆ xZS )ÚCachedz™
    Caching metaclass
    Child classes will only create new instances of themselves if
    one doesn't already exist. Does not work with __slots__
    c                 óV   •— t        ‰| �  |i |¤Ž t        j                  «       | _        y r   )r   r   ÚweakrefÚWeakValueDictionaryÚ_Cached__cacher
   s      €r   r   zCached.__init__   s%   ø€ Ü‰Ñ˜$Ð% "Ò%Ü×2Ñ2Ó4ˆ�r   c                 óx   •— || j                   v r| j                   |   S t        ‰| �  |Ž }|| j                   |<   |S r   )r   r   r   )r   r   Úobjr   s      €r   r   zCached.__call__"   s@   ø€ Ø�4—<‘<ÑØ—<‘< Ñ%Ð%ä‰gÑ Ð%ˆØ ˆ�‰�TÑØˆ
r   r   r   s   @r   r   r      s   ø„ ñô5÷ð r   r   )r   Útyper   r   © r   r   ú<module>r$      s"   ðó ô�ô ô"ˆTõ r   