+
     hL  c                  s    ^ RI Ht ^ RIHtHt ^ RIHtHt ^ RIH	t	H
t
HtHt ^ RIHtHt ^ RIHtHt ]'       d   ^ RIHt R R	 ltR
 R ltR R ltR R ltR# )i    )annotations)TYPE_CHECKINGcast)FillTypeLineType)concat_codes_or_noneconcat_offsets_or_noneconcat_points_or_noneconcat_points_or_none_with_nan)as_fill_typeas_line_type)check_filledcheck_linesNc               $    V ^8  d   QhRRRRRR/# )   filledzcpy.FillReturn	fill_typeFillType | strreturn Zformat   "8/usr/lib64/python3.14/site-packages/contourpy/dechunk.py__annotate__r      s&     D: D:> D:n D: D:    c                s   \        V4      pV\        P                  \        P                  39   d   V # \	        W4       \        V ^ ,          4      ^8  d   V # \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pV\        P                  8X  dK   \        '       d   \        \        P                  V 4      p Vf	   R.R.3pV# V.\        V ^,          4      .3pV# V\        P                  8X  dK   \        '       d   \        \        P                  V 4      p Vf	   R.R.3pV# V.\!        V ^,          4      .3pV# V\        P"                  8X  da   \        '       d   \        \        P$                  V 4      p Vf   R.R.R.3pV# \!        V ^,          4      pV.\        V ^,          4      .V.3pV# V\        P&                  8X  da   \        '       d   \        \        P(                  V 4      p Vf   R.R.R.3pV# \!        V ^,          4      pV.\!        V ^,          4      .V.3pV# \+        RV 24      h)ax  Return the specified filled contours with chunked data moved into the first chunk.

Filled contours that are not chunked (``FillType.OuterCode`` and ``FillType.OuterOffset``) and
those that are but only contain a single chunk are returned unmodified. Individual polygons are
unchanged, they are not geometrically combined.

Args:
    filled (sequence of arrays): Filled contour data, such as returned by
        :meth:`.ContourGenerator.filled`.
    fill_type (FillType or str): Type of :meth:`~.ContourGenerator.filled` as enum or string
        equivalent.

Return:
    Filled contours in a single chunk.

.. versionadded:: 1.2.0
NzInvalid FillType )r	   r   	OuterCodeOuterOffsetr   lenr   r   cpyZFillReturn_Chunkr   ChunkCombinedCodeZFillReturn_ChunkCombinedCoder   ChunkCombinedOffsetZFillReturn_ChunkCombinedOffsetr   ZChunkCombinedCodeOffsetZ"FillReturn_ChunkCombinedCodeOffsetZChunkCombinedOffsetOffsetZ$FillReturn_ChunkCombinedOffsetOffset
ValueError)r   r   pointsret1ret2ret3Zouter_offsetsZret4s   &&      r   dechunk_filledr$      s)   $ Y'IX'')=)=>>#
6!9~}c**F3"6!9-FH...=#::FCF>7;ftf5ED  H3F1I>?@D	h22	2=#<<fEF>9=7GD  H5fQi@ABD	h66	6=#@@&IF>=AFTFTF;SD  36!9=MH3F1I>?-QD	h88	8=#BBFKF>?Cftftf=UD  36!9=MH5fQi@AM?SD,YK899r   c               r   )r   lineszcpy.LineReturn	line_typeLineType | strr   r   r   r   r   r   r   Z   s!     9: 9: 9:N 9:~ 9:r   c                s   \        V4      pV\        P                  \        P                  39   d   V # \	        W4       \        V ^ ,          4      ^8  d   V # \        '       d   \        \        P                  V 4      p V\        P                  8X  d]   \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pVf	   R.R.3pV# V.\        V ^,          4      .3pV# V\        P                  8X  d]   \        '       d   \        \        P                  V 4      p \        V ^ ,          4      pVf	   R.R.3pV# V.\!        V ^,          4      .3pV# V\        P"                  8X  d?   \        '       d   \        \        P$                  V 4      p \'        V ^ ,          4      pV.3pV# \)        RV 24      h)aj  Return the specified contour lines with chunked data moved into the first chunk.

Contour lines that are not chunked (``LineType.Separate`` and ``LineType.SeparateCode``) and
those that are but only contain a single chunk are returned unmodified. Individual lines are
unchanged, they are not geometrically combined.

Args:
    lines (sequence of arrays): Contour line data, such as returned by
        :meth:`.ContourGenerator.lines`.
    line_type (LineType or str): Type of :meth:`~.ContourGenerator.lines` as enum or string
        equivalent.

Return:
    Contour lines in a single chunk.

.. versionadded:: 1.2.0
NzInvalid LineType )r
   r   SeparateSeparateCoder   r   r   r   r   ZLineReturn_Chunkr   ZLineReturn_ChunkCombinedCoder   r   r   ZLineReturn_ChunkCombinedOffsetr   ZChunkCombinedNanZLineReturn_ChunkCombinedNanr   r   )r%   r&   r    r!   r"   r#   s   &&    r   dechunk_linesr*   Z   s   $ Y'IX&&(=(=>>!
58}q}S))51H...=995AE&uQx0>7;ftf5ED  H3E!H=>?D	h22	2=;;UCE&uQx0>9=7GD  H5eAh?@AD	h//	/=88%@E/a928,YK899r   c               r   )r   multi_filledzlist[cpy.FillReturn]r   r   r   r   r   r   r   r   r      s+     J J&JJ Jr   c                    \        V4      pV\        P                  \        P                  39   d   V # V  Uu. uF  p\	        W!4      NK  	  up# u upi )a  Return multiple sets of filled contours with chunked data moved into the first chunks.

Filled contours that are not chunked (``FillType.OuterCode`` and ``FillType.OuterOffset``) and
those that are but only contain a single chunk are returned unmodified. Individual polygons are
unchanged, they are not geometrically combined.

Args:
    multi_filled (nested sequence of arrays): Filled contour data, such as returned by
        :meth:`.ContourGenerator.multi_filled`.
    fill_type (FillType or str): Type of :meth:`~.ContourGenerator.filled` as enum or string
        equivalent.

Return:
    Multiple sets of filled contours in a single chunk.

.. versionadded:: 1.3.0
)r	   r   r   r   r$   )r+   r   r      && r   dechunk_multi_filledr.      sJ    * Y'IX'')=)=>><HIL&N6-LIII   Ac               r   )r   multi_lineszlist[cpy.LineReturn]r&   r'   r   r   r   r   r   r   r      s+     F F%FF Fr   c                r,   )a  Return multiple sets of contour lines with all chunked data moved into the first chunks.

Contour lines that are not chunked (``LineType.Separate`` and ``LineType.SeparateCode``) and
those that are but only contain a single chunk are returned unmodified. Individual lines are
unchanged, they are not geometrically combined.

Args:
    multi_lines (nested sequence of arrays): Contour line data, such as returned by
        :meth:`.ContourGenerator.multi_lines`.
    line_type (LineType or str): Type of :meth:`~.ContourGenerator.lines` as enum or string
        equivalent.

Return:
    Multiple sets of contour lines in a single chunk.

.. versionadded:: 1.3.0
)r
   r   r(   r)   r*   )r0   r&   r%   r-   r   dechunk_multi_linesr1      sJ    * Y'IX&&(=(=>>9DEM%+EEEr/   )Z
__future__r    Ztypingr   r   Zcontourpy._contourpyr   r   Zcontourpy.arrayr   r   r   r   Zcontourpy.enum_utilr	   r
   Zcontourpy.typecheckr   r   Z
_contourpyr   r$   r*   r.   r1   r   r   r   <module>r2      s?    " & 3  ; 9&D:N9:xJ<Fr   