§
   •šîzOÆ9¦ã                   ó@   — d Z dZdZdez   ez   Zd„ Zd„ Zd„ Zd„ Zd„ Zd	S )
u  Which steps the guide goes through, and where DalÅ¡Ã­ and ZpÄ›t lead (docs/plan/onboarding/000-plan.md D29-D31, D33).

Pure logic, no Kodi: the window (wizard.py) asks it with what it knows. The path is what the user really walks:
VÃ­tej, the account step when they chose the account, the key steps not already satisfied, and the questionnaire; a
guide finished before (only the TMDb key is missing, D33) is VÃ­tej and the key alone. ZpÄ›t never returns to the account
step: the account is chosen on VÃ­tej only (D29, D31).)ÚtmdbÚwebshareÚai)ÚgenresÚmoviesÚseries)ÚwelcomeÚaccountc                 ó´   ‡— dg}| r|                      d¦  «         |r|ˆfd„dD ¦   «         z   S |ˆfd„t          D ¦   «         z   t          t          ¦  «        z   S )zhaccount: the account step is part of this run; skipped: satisfied key steps; finished: no questionnaire.r   r	   c                 ó   •— g | ]}|‰v¯|‘Œ	S © r   ©Ú.0ÚstepÚskippeds     €úa/Users/chudy/Library/Application Support/Kodi/addons/plugin.video.milionar/wcs/onboarding/plan.pyú
<listcomp>zpath.<locals>.<listcomp>   s#   ø€ ÐJÐJÐJ °dÀ'Ð6IÐ6I˜Ð6IÐ6IÐ6Ió    )r   c                 ó   •— g | ]}|‰v¯|‘Œ	S r   r   r   s     €r   r   zpath.<locals>.<listcomp>   s#   ø€ ÐAÐAÐA˜T¨T¸Ð-@Ð-@�DÐ-@Ð-@Ð-@r   )ÚappendÚKEYSÚlistÚTASTE)r	   r   ÚfinishedÚstepss    `  r   Úpathr      sx   ø€ àˆK€EØð  Ø�Š�YÑÔÐØð KØÐJÐJÐJÐJ¨ÐJÑJÔJÑJÐJØÐAÐAÐAÐA¥TÐAÑAÔAÑAÅDÍÁKÄKÑOÐOr   c                 óÀ   ‡— || v r|                       |¦  «        dfS t                                |¦  «        Šˆfd„t          | ¦  «        D ¦   «         }|r|d         nddfS )zfIndex of `current` in `steps`, or where it would stand (a step that has just dropped out of the path).Tc                 óV   •— g | ]%\  }}t                                |¦  «        ‰k     ¯#|‘Œ&S r   )ÚORDERÚindex)r   Úir   Úranks      €r   r   z_position.<locals>.<listcomp>   s3   ø€ ÐLÐLÐL‘G�A�tµ5·;²;¸tÑ3DÔ3DÀtÒ3KÐ3KˆaÐ3KÐ3KÐ3Kr   éÿÿÿÿF)r   r   Ú	enumerate)r   ÚcurrentÚbeforer!   s      @r   Ú	_positionr&      so   ø€ à�%ÐÐØ�{Š{˜7Ñ#Ô# TÐ)Ð)Ý�;Š;�wÑÔ€DØLÐLÐLÐL�y¨Ñ/Ô/ÐLÑLÔL€FØ Ð(ˆF�2ŒJˆJ b¨5Ð0Ð0r   c                 ón   — t          | |¦  «        \  }}|dz   t          | ¦  «        k     r| |dz            ndS )z9The step after `current`, or None at the end of the path.é   N©r&   Úlen)r   r$   r   Ú_founds       r   Ú	followingr,   !   s=   € å˜e WÑ-Ô-�M€Eˆ6Ø$ q™y­3¨u©:¬:Ò5Ð5ˆ5�˜‘ÔÐ¸4Ð?r   c                 ó–   — t          | |¦  «        \  }}|r
| d|…         n| d|dz   …         }t          |¦  «        D ]}|dk    r|c S ŒdS )uF   The step before `current` (never the account step), or None on VÃ­tej.Nr(   r	   )r&   Úreversed)r   r$   r   ÚfoundÚ
candidatesr   s         r   Úpreviousr1   '   sm   € å˜U GÑ,Ô,�L€Eˆ5Ø"'Ð>��v˜�v”�¨U°:°E¸A±I°:Ô->€JÝ˜Ñ$Ô$ð ð ˆØ�9ÒÐØˆKˆKˆKð àˆ4r   c                 ó^   — t          | |¦  «        \  }}|r|dz   n|dz   t          | ¦  «        fS )u   (N, M) for â€žKrok N z Mâ€œ.r(   é   r)   )r   r$   r   r/   s       r   Úprogressr4   1   s7   € å˜U GÑ,Ô,�L€Eˆ5ØÐ-ˆE�A‰IˆI E¨A¡Iµ°E±
´
Ð:Ð:r   N)	Ú__doc__r   r   r   r   r&   r,   r1   r4   r   r   r   ú<module>r6      s…   ðð:ð :ð "€Ø&€Ø Ñ%¨Ñ-€ðPð Pð Pð1ð 1ð 1ð@ð @ð @ðð ð ð;ð ;ð ;ð ;ð ;r   