VctcsddlmZddlmZmZmZmZmZmZm Z edZ edZ d dee deee ge fdee fd Z dS) i) filterfalse)CallableIterableIteratorOptionalSetTypeVarUnion_T_UNiterablekeyZreturnc#sKt}|j}|)t|j|D]}|||VdS|D] }||}||vr|||V!dS)zHList unique elements, preserving order. Remember all elements ever seen.N)ZsetZaddrZ __contains__)r r ZseenZseen_addZelementZks 7/usr/lib64/python3.11/importlib/resources/_itertools.pyunique_everseenr s #uuDxH "4#4h??  G HW   MMMM     GG A}     )N) Z itertoolsrZtypingrrrrrrrrr r )rr rs!!!!!! WT]] WT]]AErl!)(B48*