+
    ˜h©j{  ã                  óê   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RIH
t
 ^ R	IHt ^ R
IHt ^RIHt ^RIHt ]! R]R7      t. ROtR R ltRR R lltR R ltR R ltR# )zTopological sorting algorithms.)Úannotations)ÚAny)Ú
Collection)ÚDefaultDict)ÚIterable)ÚIterator)ÚSequence)ÚSet)ÚTuple)ÚTypeVar)Úutil)ÚCircularDependencyErrorÚ_T)Úboundc               ó$   € V ^8„  d   QhRRRRRR/# )é   ÚtuplesúCollection[Tuple[_T, _T]]ÚallitemsúCollection[_T]ÚreturnzIterator[Sequence[_T]]© )Úformats   "ÚV/var/www/html/bestweb/venv/lib/python3.14/site-packages/sqlalchemy/util/topological.pyÚ__annotate__r      s$   € ÷ ñ Ø%ðØ1?ðàñó    c              #  óð  "  € \         P                  ! \        4      pV  F  w  r4W$,          P                  V4       K  	  \	        V4      p\        V4      pV'       d“   . pV F3  pVP                  W(,          4      '       g   K"  VP                  V4       K5  	  V'       g    \        R \        W4      \        V4      4      hVP                  V4       V U	u. uF  q™V9   g   K  V	NK  	  pp	Vx € Kš  R# u up	i 5i)zCircular dependency detected.N)r   ÚdefaultdictÚsetÚaddÚlistÚ
isdisjointÚappendr   Úfind_cyclesÚ
_gen_edgesÚdifference_update)
r   r   ÚedgesÚparentÚchildÚtodoÚtodo_setÚoutputÚnodeÚts
   &&        r   Úsort_as_subsetsr.      sÖ   é € ô '+×&6Ò&6´sÓ&;€EÛ‰ˆØ�×Ñ˜Ö ñ  ô �‹>€DÜ�8‹}€Hç
ØˆÛˆDØ×"Ñ" 5¥;×/Ô/Ø—‘˜dÖ#ñ ÷ Ü)Ø/Ü˜FÓ-Ü˜5Ó!óð ð 	×"Ñ" 6Ô*ÙÓ1™4�a¨¡=—�™4ˆÐ1ØŒñ ùò 2ùs*   ‚AC6Á!C6ÂC6Â 4C6ÃC1Ã!C1Ã'C6c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   r   r   r   r   Údeterministic_orderÚboolr   zIterator[_T]r   )r   s   "r   r   r   :   s0   € ÷ ñ Ø%ðàðð ðð ñ	r   c              #  óJ   "  € \        W4       F  pT Rj  x€L
  K  	  R#  L
5i)a  sort the given list of items by dependency.

'tuples' is a list of tuples representing a partial ordering.

deterministic_order is no longer used, the order is now always
deterministic given the order of "allitems".    the flag is there
for backwards compatibility with Alembic.

N)r.   )r   r   r0   Úset_s   &&& r   Úsortr4   :   s    é € ô   Ö1ˆØ�Šó 2Ùùs   ‚#–!—#c               ó$   € V ^8„  d   QhRRRRRR/# )r   r   zIterable[Tuple[_T, _T]]r   zIterable[_T]r   zSet[_T]r   )r   s   "r   r   r   M   s$   € ÷ 'ñ 'Ø#ð'Ø/;ð'àñ'r   c                ó  € \         P                  ! \        4      pV  F  w  r4W#,          P                  V4       K  	  \        V4      p\        4       pV F¯  pV.pVP	                  V4      p	V'       g   K!  VR,          p
W*,           Fi  pWx9   d6   WˆP                  V4      R pV	P                  V4       VP                  V4       Wy9   g   KF  VP                  V4       V	P                  V4        K†  	  VP                  4        Kš  	  V# )é   Néÿÿÿÿ)r   r   r   r   Ú
differenceÚindexr%   Úupdater"   ÚremoveÚpop)r   r   r&   r'   r(   Únodes_to_testr+   r,   Ústackr)   ÚtopÚcycs   &&          r   r#   r#   M   sä   € ô '+×&6Ò&6´sÓ&;€EÛ‰ˆØ�×Ñ˜%Ö ñ  ä˜“J€Mä‹U€Fó ˆØ�ˆØ×'Ñ'¨Ó.ˆß‰eØ˜•)ˆCØŸ
˜
�Ø”=Ø§¡¨DÓ 1Ð 3Ð4�CØ×*Ñ*¨3Ô/Ø—M‘M #Ô&à–<Ø—L‘L Ô&Ø—K‘K Ô%Úñ #ð —	‘	–ñ! ð" €Mr   c               ó    € V ^8„  d   QhRRRR/# )r   r&   zDefaultDict[_T, Set[_T]]r   zSet[Tuple[_T, _T]]r   )r   s   "r   r   r   w   s    € ÷ Fñ FÐ.ð FÐ3Eñ Fr   c                óV   € V  UUu0 uF  qV,           F  q"V3kK  	  K  	  upp# u uppi )Nr   )r&   ÚleftÚrights   &  r   r$   r$   w   s(   € Ù&+ÔE¡e˜d¸t¿¸°�D‹M¹‰M¡eÒEÐEùÓEs   †%N)r4   r.   r#   )T)Ú__doc__Ú
__future__r   Útypingr   r   r   r   r   r   r	   r
   r   Ú r   Úexcr   r   Ú__all__r.   r4   r#   r$   r   r   r   Ú<module>rL      sU   ðñ &å "å Ý Ý Ý Ý Ý Ý Ý Ý å Ý )áˆT˜Ô€â
4€õ÷8õ&'÷TFr   