+
    ‰4iÿf  ã                   ó\   € R t ^ RIt^ RIt^ RIHtHtHtH	t	H
t
Ht R tR t ! R R]4      tR# )z2Set based operations for IP addresses and subnets.N)Ú	IPNetworkÚ	IPAddressÚIPRangeÚ
cidr_mergeÚcidr_excludeÚiprange_to_cidrsc                ób  € V P                   P                  pW,          pVP                  V P                  8”  d/   VP                  W@P                  VP                  ^,
          34       V^,          pTpV\	        V4      8  du   W,          pWp9  d   MeVP
                  ^,           VP                  8X  d   M5VP                  WFP
                  ^,           VP                  ^,
          34       V^,          pTpK„  VP
                  ^,           pV P
                  p	W‰8:  d   VP                  WHV	34       V# )a’  Calculate IPSet([supernet]) - IPSet(subnets).

Assumptions: subnets is sorted, subnet_idx points to the first
element in subnets that is a subnet of supernet.

Results are appended to the ranges parameter as tuples of in format
(version, first, last). Return value is the first subnet_idx that
does not point to a subnet of supernet (or len(subnets) if all
subsequents items are a subnet of supernet).
)Ú_moduleÚversionÚfirstÚappendÚlenÚlast)
ÚsupernetÚsubnetsÚ
subnet_idxÚrangesr
   ÚsubnetÚprev_subnetÚ
cur_subnetr   r   s
   &&&&      Ú1/usr/lib/python3/dist-packages/netaddr/ip/sets.pyÚ	_subtractr      sü   € ð ×Ñ×&Ñ&€GØÕ €FØ‡|�|�h—n‘nÔ$Ø�‰�w§¡°·±¸qÕ0@ÐAÔBà�!…O€JØ€KØ
”s˜7“|Ô
#ØÕ(ˆ
àÔ%ØØ×Ñ˜aÕ :×#3Ñ#3Ô3àà�M‰M˜7×$4Ñ$4°qÕ$8¸*×:JÑ:JÈQÕ:NÐOÔPà�a�ˆ
Ø Šà×Ñ˜qÕ €EØ�=‰=€DØ„}Ø�‰�w tÐ,Ô-àÐó    c              #  óú   "  € V '       g   R# V ^ ,          w  rpV R,           F;  w  rEpWS^,           8X  d   WA8X  d   TpK  \        W!4      \        W14      3x € TpTpTpK=  	  \        W!4      \        W14      3x € R# 5i)aY  Iterate over sorted_ranges, merging where possible

Sorted ranges must be a sorted iterable of (version, first, last) tuples.
Merging occurs for pairs like [(4, 10, 42), (4, 43, 100)] which is merged
into (4, 10, 100), and leads to return value
( IPAddress(10, 4), IPAddress(100, 4) ), which is suitable input for the
iprange_to_cidrs function.
N:é   NN)r   )Úsorted_rangesÚcurrent_versionÚcurrent_startÚcurrent_stopÚnext_versionÚ
next_startÚ	next_stops   &      r   Ú_iter_merged_rangesr"   6   s‡   é € ÷ Ùà3@ÀÕ3CÑ0€O Là/<¸R×/@Ð/@Ñ+ˆ )Ø¨Õ)Ô)¨lÔ.Mà$ˆLÙä˜Ó8¼)ÀLÓ:bÐcÒcØ"ˆØ ˆØ&Šñ 0Aô �]Ó4´iÀÓ6^Ð
_Ô_ùs   ‚A9A;c                   ó$  a € ] tR t^Qt o RtR%tR&R ltR tR tR t	R t
R tR	 tR
 tR tR tR'R ltR'R ltR tR tR tR'R ltR tR tR tR tR t]tR tR t]tR t]t R t!]!t"R t#]#t$R t%]%t&R t'](R 4       t)R  t*]*t+R! t,R" t-R# t.R$t/V t0R# )(ÚIPSetzO
Represents an unordered collection (set) of unique IP addresses and
subnets.

Nc                óL  € \        V\        4      '       d   VP                  R/V n        R# \        V\        4      '       d6   \
        P                  \        V^ ,          VR,          4      R4      V n        R# \        V\        4      '       d,   \
        P                  VP                  4       R4      V n        R# / V n        Veb   . pV F6  p\        V\        4      '       d   \        WBR7      pVP                  V4       K8  	  \        V4       F  pRV P                  V&   K  	  R# R# )a  
Constructor.

:param iterable: (optional) an iterable containing IP addresses,
    subnets or ranges.

:param flags: decides which rules are applied to the interpretation
    of the addr value. See the :class:`IPAddress` documentation
    for supported constant values.

TN©Úflagséÿÿÿÿ)Ú
isinstancer   ÚcidrÚ_cidrsr   ÚdictÚfromkeysr   r$   Ú
iter_cidrsÚintr   r   r   ©ÚselfÚiterabler'   Ú	mergeableÚaddrr*   s   &&&   r   Ú__init__ÚIPSet.__init__Z   sÞ   € ô �h¤	×*Ò*Ø#Ÿ=™=¨$Ð/ˆDŽKÜ˜¤'×*Ò*ÜŸ-™-Ô(8¸À!½ÀhÈrÅlÓ(SÐUYÓZˆDŽKÜ˜¤%×(Ò(ÜŸ-™-¨×(;Ñ(;Ó(=¸tÓDˆDŽKàˆDŒKØÒ#Ø�	Û$�DÜ! $¬×,Ò,Ü(¨Ô;˜Ø×$Ñ$ TÖ*ñ %ô
 ' yÖ1�DØ(,�D—K‘K Ó%ó 2ñ $r   c                óp   € \        V P                   Uu. uF  qP                  4       NK  	  up4      # u upi )z.:return: Pickled state of an ``IPSet`` object.)Útupler+   Ú__getstate__©r1   r*   s   & r   r9   ÚIPSet.__getstate__x   s*   € ä°d·k²kÓB±k¨d×'Ñ'Ö)±kÑBÓCÐCùÒBs   ”3c                óJ   € \         P                  R V 4       R4      V n        R# )zB
:param state: data used to unpickle a pickled ``IPSet`` object.

c              3   óD   "  € T F  w  rp\        W3VR 7      x € K  	  R# 5i))r
   N)r   )Ú.0ÚvalueÚ	prefixlenr
   s   &   r   Ú	<genexpr>Ú%IPSet.__setstate__.<locals>.<genexpr>‚   s%   é € ÐcÑ]bÑ@YÀÐRYŒY˜Ð)°7×;Ñ;Ó]bùs   ‚ TN)r,   r-   r+   )r1   Ústates   &&r   Ú__setstate__ÚIPSet.__setstate__|   s    € ô
 —m‘mÙcÑ]bÓcØó
ˆŽr   c                óT  € VP                   pVP                  pVP                  pVP                  VP                  P
                  8X  d9   VP                  4        F#  pWPP                  9   g   K  V P                  V  R# 	  M­. pV P                   F…  pVP                  P                  V8w  g   Wq8X  d   K&  VP                   pVP                  p	W‚8¼  d   W“8:  d   VP                  V4       K]  W‚8:  g   Ke  W“8¼  g   Km  V P                  V V'       d   Q h R# 	  V F  p
V P                  V
 K  	  VP                  P
                  VP                  ,
          pVP                  ^ 8w  dÂ   VP                  V,	          ^,          pV'       d   VP                  4       pMVP                  4       pWÐP                  9  d   R# V P                  V V P                  V V;P                  ^,          un	        V^,          pVP                  V,	          V,          Vn
        RV P                  V&   KÒ  R# )zõ
Same as compact(), but assume that added_network is the only change and
that this IPSet was properly compacted before added_network was added.
This allows to perform compaction much faster. added_network must
already be present in self._cidrs.
NT)r   r   r
   Ú
_prefixlenr	   Úwidthr   r+   r   r@   Ú_valueÚpreviousÚnext)r1   Úadded_networkÚadded_firstÚ
added_lastÚadded_versionÚpotential_supernetÚ	to_remover*   r   r   ÚitemÚshift_widthÚthe_bitÚ	candidates   &&            r   Ú_compact_single_networkÚIPSet._compact_single_network†   sÓ  € ð $×)Ñ)ˆØ"×'Ñ'ˆ
Ø%×-Ñ-ˆð ×#Ñ# }×'<Ñ'<×'BÑ'BÔBð '4×&<Ñ&<Ö&>Ð"Ø%¯©Ö4ØŸ™ MÐ2Úò '?ð ˆIØŸœ�Ø—<‘<×'Ñ'¨=Ô8¸DÔ<QáØŸ
™
�Ø—y‘y�ØÔ'¨DÔ,>à×$Ñ$ TÖ*ØÖ)¨dÖ.@àŸ™ MÐ2÷  )Ð(˜=Úñ $ó  "�Ø—K‘K Ò%ñ "ð $×+Ñ+×1Ñ1°M×4KÑ4KÕKˆØ×%Ñ%¨Ô*à$×+Ñ+¨{Õ:¸aÕ?ˆGßØ)×2Ñ2Ó4‘	à)×.Ñ.Ó0�	à§¡Ô+áà—‘˜IÐ&Ø—‘˜MÐ*Ø×#Ò# qÕ(Õ#ð ˜1ÕˆKØ$1×$8Ñ$8¸KÕ$GÈKÕ#WˆMÔ Ø)-ˆD�K‰K˜Ó&ñ) +r   c                óf   € \        V P                  4      p\        P                  VR4      V n        R# )zB
Compact internal list of `IPNetwork` objects using a CIDR merge.
TN)r   r+   r,   r-   ©r1   Úcidrss   & r   ÚcompactÚIPSet.compactÐ   s$   € ô ˜4Ÿ;™;Ó'ˆÜ—m‘m E¨4Ó0ˆŽr   c                ó   € \        R4      h)z±
Raises ``TypeError`` if this method is called.

.. note:: IPSet objects are not hashable and cannot be used as             dictionary keys or as members of other sets.         zIP sets are unhashable!)Ú	TypeError©r1   s   &r   Ú__hash__ÚIPSet.__hash__×   s   € ô Ð1Ó2Ð2r   c                ó¾   € \        V4      pW P                  9   d   R# VP                  '       d.   V;P                  ^,          un        W P                  9   g   K=  R# R# )zl
:param ip: An IP address or subnet.

:return: ``True`` if IP address or subnet is a member of this IP set.
TF)r   r+   rG   )r1   Úipr   s   && r   Ú__contains__ÚIPSet.__contains__à   sG   € ô ˜R“=ˆØ—{‘{Ô"ÙØ×!×!Ð!Ø×Ò 1Õ$ÕØŸ;™;Ö&ÙÙr   c                ó,   € \        V P                  4      # )z9Return True if IPSet contains at least one IP, else False)Úboolr+   r_   s   &r   Ú__bool__ÚIPSet.__bool__ó   s   € ä�D—K‘KÓ Ð r   c                óP   € \         P                  ! \        V P                  4      !  # )z@
:return: an iterator over the IP addresses within this IP set.
)Ú
_itertoolsÚchainÚsortedr+   r_   s   &r   Ú__iter__ÚIPSet.__iter__÷   s   € ô ×Ò¤¨¯©Ó!4Ñ5Ð5r   c                ó,   € \        V P                  4      # )zE
:return: an iterator over individual IP subnets within this IP set.
)rm   r+   r_   s   &r   r.   ÚIPSet.iter_cidrsý   s   € ô �d—k‘kÓ"Ð"r   c                óÜ  € \        V\        4      '       d\   \        P                  \	        V^ ,          VR,          4      R4      pV P
                  P                  V4       V P                  4        R# \        V\        4      '       d   VP                  pM7\        V\        4      '       d   \        \        WR7      4      pM\        V4      pRV P
                  V&   V P                  V4       R# )aè  
Adds an IP address or subnet or IPRange to this IP set. Has no effect if
it is already present.

Note that where possible the IP address or subnet is merged with other
members of the set to form more concise CIDR blocks.

:param addr: An IP address or subnet in either string or object form, or
    an IPRange object.

:param flags: decides which rules are applied to the interpretation
    of the addr value. See the :class:`IPAddress` documentation
    for supported constant values.

TNr&   r(   )r)   r   r,   r-   r   r+   Úupdater[   r   r*   r/   r   rV   )r1   r4   r'   Ú	new_cidrss   &&& r   ÚaddÚ	IPSet.add  s¦   € ô  �dœG×$Ò$ÜŸ™Ô&6°t¸AµwÀÀRÅÓ&IÈ4ÓPˆIØ�K‰K×Ñ˜yÔ)Ø�L‰LŒNÙÜ�dœI×&Ò&à—9‘9‰DÜ˜œc×"Ò"ÜœY tÔ9Ó:‰Dä˜T“?ˆDà ˆ�‰�DÑØ×$Ñ$ TÖ*r   c                óÊ  € \        V\        4      '       d7   \        V^ ,          VR,          4      pV F  pV P                  V4       K  	  R# \        V\        4      '       d   \        WR7      pM\        V4      pV P                  V4       RpRpV P                   F  pW9   g   K  \        WA4      pTp M	  Ve(   V P                  V V F  pRV P                  V&   K  	  R# R# )a¡  
Removes an IP address or subnet or IPRange from this IP set. Does
nothing if it is not already a member.

Note that this method behaves more like discard() found in regular
Python sets because it doesn't raise KeyError exceptions if the
IP address or subnet is question does not exist. It doesn't make sense
to fully emulate that behaviour here as IP sets contain groups of
individual IP addresses as individual set members using IPNetwork
objects.

:param addr: An IP address or subnet, or an IPRange.

:param flags: decides which rules are applied to the interpretation
    of the addr value. See the :class:`IPAddress` documentation
    for supported constant values.

Nr&   Tr(   )
r)   r   r   Úremover/   r   r   ru   r+   r   )r1   r4   r'   rZ   r*   Ú	remainderÚmatching_cidrs   &&&    r   rx   ÚIPSet.remove#  sÍ   € ô& �dœG×$Ò$Ü$ T¨!¥W¨d°2­hÓ7ˆEÛ�Ø—‘˜DÖ!ñ áä�dœC× Ò Ü˜TÔ/‰Dä˜T“?ˆDð 	�‰�Œàˆ	Øˆð —K”KˆDØŽ|Ü(¨Ó4�	Ø $�Ùñ	  ð Ò Ø—‘˜MÐ*Û!�Ø$(�—‘˜DÓ!ó "ñ !r   c                óD   € V P                   P                  4       ^ ,          # )zl
Removes and returns an arbitrary IP address or subnet from this IP
set.

:return: An IP address or subnet.
)r+   Úpopitemr_   s   &r   ÚpopÚ	IPSet.pop[  s   € ð �{‰{×"Ñ"Ó$ QÕ'Ð'r   c                ó2   € V P                  V4      pV'       * # )z©
:param other: an IP set.

:return: ``True`` if this IP set has no elements (IP addresses
    or subnets) in common with other. Intersection *must* be an
    empty set.
)Úintersection)r1   ÚotherÚresults   && r   Ú
isdisjointÚIPSet.isdisjointd  s   € ð ×"Ñ" 5Ó)ˆØŒzÐr   c                óp   € V P                  4       pVP                  P                  V P                  4       V# )z':return: a shallow copy of this IP set.)Ú	__class__r+   rs   )r1   Úobj_copys   & r   ÚcopyÚ
IPSet.copyo  s)   € à—>‘>Ó#ˆØ�‰×Ñ˜tŸ{™{Ô+Øˆr   c           
     óæ  € \        V\        4      '       ds   \        P                  R \	        \
        P                  ! V P                  P                  4       VP                  P                  4       4      4       4       R4      V n        R# \        V\        \        34      '       d   V P                  V4       R# \        VR4      '       g   \        R4      h. pV F6  p\        V\        4      '       d   \        WBR7      pVP!                  V4       K8  	  \	        \
        P                  ! V P                  P                  4       V4      4       F  pRV P                  V&   K  	  V P#                  4        R# )aB  
Update the contents of this IP set with the union of itself and
other IP set.

:param iterable: an iterable containing IP addresses, subnets or ranges.

:param flags: decides which rules are applied to the interpretation
    of the addr value. See the :class:`IPAddress` documentation
    for supported constant values.

c              3   ó&   "  € T F  pVx € K	  	  R # 5i)N© )r>   rc   s   & r   rA   ÚIPSet.update.<locals>.<genexpr>ƒ  s   é € ð ñ˜õ óùs   ‚TNrn   zan iterable was expected!r&   )r)   r$   r,   r-   r   rk   rl   r+   Úkeysr   r   ru   Úhasattrr^   r/   r   r   r[   r0   s   &&&   r   rs   ÚIPSet.updateu  s  € ô �h¤×&Ò&ÜŸ-™-ñä(Ü"×(Ò(¨¯©×)9Ñ)9Ó);¸X¿_¹_×=QÑ=QÓ=SÓTôóð óˆDŒKñ Ü˜¤9¬gÐ"6×7Ò7Ø�H‰H�XÔÙä�x ×,Ò,ÜÐ7Ó8Ð8àˆ	ÛˆDÜ˜$¤×$Ò$Ü  Ô3�Ø×Ñ˜TÖ"ñ ô
 œz×/Ò/°·±×0@Ñ0@Ó0BÀIÓNÖOˆDØ $ˆD�K‰K˜Óñ Pð 	�‰Žr   c                ó   € / V n         R# )z5Remove all IP addresses and subnets from this IP set.N©r+   r_   s   &r   ÚclearÚIPSet.clearž  s	   € àˆŽr   c                ód   €  V P                   VP                   8H  #   \         d
    \        u # i ; i)z{
:param other: an IP set

:return: ``True`` if this IP set is equivalent to the ``other`` IP set,
    ``False`` otherwise.
©r+   ÚAttributeErrorÚNotImplemented©r1   r‚   s   &&r   Ú__eq__ÚIPSet.__eq__¢  ó/   € ð	"Ø—;‘; %§,¡,Ñ.Ð.øÜô 	"Ü!Ò!ð	"úó   ‚ ›/®/c                ód   €  V P                   VP                   8g  #   \         d
    \        u # i ; i)z{
:param other: an IP set

:return: ``False`` if this IP set is equivalent to the ``other`` IP set,
    ``True`` otherwise.
r—   rš   s   &&r   Ú__ne__ÚIPSet.__ne__®  r�   rž   c                ó–   € \        VR4      '       g   \        # V P                  VP                  8  ;'       d    V P                  V4      # )zw
:param other: an IP set

:return: ``True`` if this IP set is less than the ``other`` IP set,
    ``False`` otherwise.
r+   )r�   r™   ÚsizeÚissubsetrš   s   &&r   Ú__lt__ÚIPSet.__lt__º  s;   € ô �u˜h×'Ò'Ü!Ð!à�y‰y˜5Ÿ:™:Ñ%×>Ð>¨$¯-©-¸Ó*>Ð>r   c                ó>   € V P                    F  pW!9  g   K   R# 	  R# )zz
:param other: an IP set.

:return: ``True`` if every IP address and subnet in this IP set
    is found within ``other``.
FTr“   ©r1   r‚   r*   s   && r   r¤   ÚIPSet.issubsetÆ  s    € ð —K”KˆDØÖ Úñ  ñ r   c                ó–   € \        VR4      '       g   \        # V P                  VP                  8„  ;'       d    V P                  V4      # )z{
:param other: an IP set.

:return: ``True`` if this IP set is greater than the ``other`` IP set,
    ``False`` otherwise.
r+   )r�   r™   r£   Ú
issupersetrš   s   &&r   Ú__gt__ÚIPSet.__gt__Ô  s;   € ô �u˜h×'Ò'Ü!Ð!à�y‰y˜5Ÿ:™:Ñ%×@Ð@¨$¯/©/¸%Ó*@Ð@r   c                ón   € \        VR4      '       g   \        # VP                   F  pW 9  g   K   R# 	  R# )zz
:param other: an IP set.

:return: ``True`` if every IP address and subnet in other IP set
    is found within this one.
r+   FT)r�   r™   r+   r¨   s   && r   r«   ÚIPSet.issupersetà  s3   € ô �u˜h×'Ò'Ü!Ð!à—L”LˆDØÖÚñ !ñ r   c                óH   € V P                  4       pVP                  V4       V# )z‘
:param other: an IP set.

:return: the union of this IP set and another as a new IP set
    (combines IP addresses and subnets from both sets).
)r‰   rs   )r1   r‚   Úip_sets   && r   ÚunionÚIPSet.unionñ  s    € ð —‘“ˆØ�‰�eÔØˆr   c                ó²  € / p\        V P                  4      p\        VP                  4      p^ p^ p\        V4      p\        V4      pWW8  d{   Wh8  du   W5,          p	WF,          p
Wš8X  d   RW)&   V^,          pV^,          pK:  Wš9   d   RW)&   V^,          pKO  W©9   d   RW*&   V^,          pKd  Wš8  d   V^,          pKu  V^,          pK€  \        4       pW+n        V# )z•
:param other: an IP set.

:return: the intersection of this IP set and another as a new IP set.
    (IP addresses and subnets common to both sets).
T)rm   r+   r   r$   )r1   r‚   Úresult_cidrsÚown_netsÚ
other_netsÚown_idxÚ	other_idxÚown_lenÚ	other_lenÚown_curÚ	other_currƒ   s   &&          r   r�   ÚIPSet.intersectionþ  s×   € ð ˆä˜$Ÿ+™+Ó&ˆÜ˜EŸL™LÓ)ˆ
ØˆØˆ	Ü�h“-ˆÜ˜
“Oˆ	ØÔ IÔ$9ØÕ'ˆGØ"Õ-ˆIàÔ#Ø(,�Ñ%Ø˜1•�Ø˜Q•’	ØÔ%Ø(,�Ñ%Ø˜1•’ØÔ%Ø*.�Ñ'Ø˜Q•’	ð Ô&Ø˜q•L’Gà •N’Iô “ˆØ$ŒØˆr   c                ót  € . p\        V P                  4      p\        VP                  4      p^ p^ p\        V4      p\        V4      pWW8  Ed    Wh8  dú   W5,          p	WF,          p
Wš8X  d   V^,          pV^,          pK7  Wš9   d   \        W£WR4      pV^,          pKT  W©9   d   \        W”Wb4      pV^,          pKq  Wš8  dH   VP	                  V	P
                  P                  V	P                  V	P                  34       V^,          pK¾  VP	                  V
P
                  P                  V
P                  V
P                  34       V^,          pEK  WW8  dP   W5,          p	VP	                  V	P
                  P                  V	P                  V	P                  34       V^,          pKU  Wh8  dP   WF,          p
VP	                  V
P
                  P                  V
P                  V
P                  34       V^,          pKU  \        4       p\        V4       F(  w  rÍ\        WÍ4      pV F  pRVP                  V&   K  	  K*  	  V# )z´
:param other: an IP set.

:return: the symmetric difference of this IP set and another as a new
    IP set (all IP addresses and subnets that are in exactly one
    of the sets).
T)rm   r+   r   r   r   r	   r
   r   r   r$   r"   r   )r1   r‚   Úresult_rangesr¶   r·   r¸   r¹   rº   r»   r¼   r½   rƒ   ÚstartÚstoprZ   r*   s   &&              r   Úsymmetric_differenceÚIPSet.symmetric_difference*  sß  € ð ˆä˜$Ÿ+™+Ó&ˆÜ˜EŸL™LÓ)ˆ
ØˆØˆ	Ü�h“-ˆÜ˜
“Oˆ	ØÕ IÔ$9ØÕ'ˆGØ"Õ-ˆIàÔ#Ø˜1•�Ø˜Q•’	ØÔ%Ü# I¸ÓP�Ø˜Q•’	ØÔ%Ü% g¸9ÓT�	Ø˜1•’ð Ô&Ø!×(Ñ(¨'¯/©/×*AÑ*AÀ7Ç=Á=ÐRY×R^ÑR^Ð)_Ô`Ø˜q•L’Gà!×(Ñ(Ø"×*Ñ*×2Ñ2°I·O±OÀYÇ^Á^ÐTôð  •N“Ið ÔØÕ'ˆGØ× Ñ  '§/¡/×"9Ñ"9¸7¿=¹=È'Ï,É,Ð!WÔXØ�q�LŠGð Ô#Ø"Õ-ˆIØ× Ñ  )×"3Ñ"3×";Ñ";¸Y¿_¹_ÈiÏnÉnÐ!]Ô^Ø˜�NŠIä“ˆÜ.¨}Ö=‰KˆEÜ$ UÓ1ˆEÛ�Ø&*�—‘˜dÓ#ó ñ >ð ˆr   c                óJ  € . p/ p\        V P                  4      p\        VP                  4      p^ p^ p\        V4      p\        V4      p	Wh8  d   Wy8  dy   WF,          p
WW,          pW«8X  d   V^,          pV^,          pK6  W«9   d   V^,          pKG  Wº9   d   \        W¥Wr4      pV^,          pKd  W«8  d   RW:&   V^,          pKy  V^,          pK„  Wh8  d   RW4V,          &   V^,          pK  \	        V4       F  w  rÍ\        WÍ4       F  pRW>&   K	  	  K  	  \        4       pW?n        V# )z¾
:param other: an IP set.

:return: the difference between this IP set and another as a new IP
    set (all IP addresses and subnets that are in this IP set but
    not found in the other.)
T)rm   r+   r   r   r"   r   r$   )r1   r‚   rÀ   rµ   r¶   r·   r¸   r¹   rº   r»   r¼   r½   rÁ   rÂ   r*   rƒ   s   &&              r   Ú
differenceÚIPSet.differencel  s  € ð ˆØˆä˜$Ÿ+™+Ó&ˆÜ˜EŸL™LÓ)ˆ
ØˆØˆ	Ü�h“-ˆÜ˜
“Oˆ	ØÔ IÔ$9ØÕ'ˆGØ"Õ-ˆIàÔ#Ø˜1•�Ø˜Q•’	ØÔ%Ø˜1•’ØÔ%Ü% g¸9ÓT�	Ø˜1•’ð Ô&Ø,0�LÑ)Ø˜q•L’Gà •N’Ið ÔØ.2ˆL 'Õ*Ñ+Ø�q�LŠGä.¨}Ö=‰KˆEÜ(¨Ö5�Ø%)�Ó"ó 6ñ >ô “ˆØ$ŒØˆr   c                óˆ   € V P                   pV\        P                  8”  d!   \        R\        P                  ,          4      hV# )z×
:return: the cardinality of this IP set (i.e. sum of individual IP             addresses). Raises ``IndexError`` if size > maxsize (a Python             limitation). Use the .size property for subnets of any size.
zVrange contains more than %d (sys.maxsize) IP addresses!Use the .size property instead.)r£   Ú_sysÚmaxsizeÚ
IndexError)r1   r£   s   & r   Ú__len__ÚIPSet.__len__¡  s?   € ð �y‰yˆØ”$—,‘,ÔÜð2Ü48·L±LõAóð ð ˆr   c                óh   € \        V P                   Uu. uF  qP                  NK  	  up4      # u upi )z€
The cardinality of this IP set (based on the number of individual IP
addresses including those implicitly defined in subnets).
)Úsumr+   r£   r:   s   & r   r£   Ú
IPSet.size¯  s'   € ô ¨$¯+ª+Ó6©+ $—I”I©+Ñ6Ó7Ð7ùÒ6s   ”/c                óv   € R\        V P                  4       Uu. uF  p\        V4      NK  	  up,          # u upi )z8:return: Python statement to create an equivalent objectz	IPSet(%r))rm   r+   Ústr)r1   Úcs   & r   Ú__repr__ÚIPSet.__repr__·  s.   € à¬f°T·[±[Ô.AÓBÑ.A¨œc !žfÑ.AÑBÕBÐBùÒBs   ™6c                óº   € V P                  4       p\        V4      ^8”  d;   V^ ,          ^ ,          pV F$  pV^ ,          V8w  d    R# VR,          ^,           pK&  	  R# )z¦
Returns True if the members of the set form a contiguous IP
address range (with no gaps), False otherwise.

:return: ``True`` if the ``IPSet`` object is contiguous.
FTr(   )r.   r   )r1   rZ   rJ   r*   s   &   r   ÚiscontiguousÚIPSet.iscontiguous½  sS   € ð —‘Ó!ˆÜˆu‹:˜Œ>Ø˜Q•x •{ˆHÛ�Ø˜•7˜hÔ&Ú Ø �8 a�<’ñ ñ r   c                óÈ   € V P                  4       '       dC   V P                  4       pV'       g   R# \        V^ ,          ^ ,          VR,          R,          4      # \        R4      h)zÄ
Generates an IPRange for this IPSet, if all its members
form a single contiguous sequence.

Raises ``ValueError`` if the set is not contiguous.

:return: An ``IPRange`` for all IPs in the IPSet.
NzIPSet is not contiguousr(   )r×   r.   r   Ú
ValueErrorrY   s   & r   ÚiprangeÚIPSet.iprangeÍ  sN   € ð ×Ñ×ÒØ—O‘OÓ%ˆEßÙÜ˜5 �8 A�;¨¨b­	°"­Ó6Ð6äÐ6Ó7Ð7r   c              #  óì   "  € V P                  4        Uu. uF/  qP                  P                  VP                  VP                  3NK1  	  pp\        V4       F  w  r4\        W44      x € K  	  R# u upi 5i)zÙGenerate the merged IPRanges for this IPSet.

In contrast to self.iprange(), this will work even when the IPSet is
not contiguous. Adjacent IPRanges will be merged together, so you
get the minimal number of IPRanges.
N)r.   r	   r
   r   r   r"   r   )r1   r*   r   rÁ   rÂ   s   &    r   Úiter_iprangesÚIPSet.iter_iprangesÞ  sg   é € ð GKÇoÁoÔFWó
ÙFW¸d�\‰\×!Ñ! 4§:¡:¨t¯y©yÓ9ÑFWð 	ð 
ô /¨}Ö=‰KˆEÜ˜%Ó&Ô&ó >ùò	
ùs   ‚A4•5A/Á
*A4r“   )r+   Ú__weakref__)Né    )rá   )1Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r5   r9   rD   rV   r[   r`   rd   rh   rn   r.   ru   rx   r~   r„   r‰   rs   r”   r›   r    r¥   r¤   Ú__le__r¬   r«   Ú__ge__r²   Ú__or__r�   Ú__and__rÃ   Ú__xor__rÆ   Ú__sub__rÌ   Úpropertyr£   rÔ   Ú__str__r×   rÛ   rÞ   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r$   r$   Q   s  ø‡ € ñð *€Iô-ò<Dò
òH.òT1ò3òò&!ò6ò#ô+ô@4)òp(ò	òô'òRò
"ò
"ò
?ò
ð €Fò
Aòð €Fò	ð €Fò(ðT €Gò>ð@ #€Gò1ðf €Gòð ñ8ó ð8òCð €Gòò 8÷"'ð 'r   r$   )ræ   Ú	itertoolsrk   ÚsysrÉ   Ú
netaddr.ipr   r   r   r   r   r   r   r"   Úobjectr$   r�   r   r   Ú<module>r÷      s0   ðñ 9ã Û ç `× `ò%òP`ô6Y
'ˆFö Y
'r   