ó
    I†Öi¯  ã                  ó   • S r SSKJr  SS jrg)z'Shared helpers for poker seat ordering.é    )Úannotationsc                ó„   • U (       d  / $ U(       a/  X;   a*  U R                  U5      S-   [        U 5      -  nXS U SU -   $ U $ )zëReturn seat order starting left of the button.

Args:
    active_ids: Active player ids in seat order.
    button_id: Current dealer/button player id.

Returns:
    Ordered list starting left of the button, or active_ids if no button.
é   N)ÚindexÚlen)Ú
active_idsÚ	button_idÚstart_indexs      Ú<c:\Users\dbart\PlayPalace11\server\game_utils\poker_state.pyÚorder_after_buttonr      sO   € ö Øˆ	ÞYÓ,Ø!×'Ñ'¨	Ó2°QÑ6¼#¸j»/ÑIˆØ˜,Ð'¨*°\°kÐ*BÑBÐBØÐó    N)r   ú	list[str]r	   z
str | NoneÚreturnr   )Ú__doc__Ú
__future__r   r   © r   r   Ú<module>r      s   ðÙ -å "õr   