§
    Æªb‡
  ã                   ó:   — d Z ddlmZmZ  e¦   «         Zdefd„ZdS )aY  
    babel.lists
    ~~~~~~~~~~~

    Locale dependent formatting of lists.

    The default locale for the functions in this module is determined by the
    following environment variables, in that order:

     * ``LC_ALL``, and
     * ``LANG``

    :copyright: (c) 2015-2022 by the Babel Team.
    :license: BSD, see LICENSE for more details.
é    )ÚLocaleÚdefault_localeÚstandardc                 ó4  — t          j        |¦  «        }| sdS t          | ¦  «        dk    r| d         S ||j        vr8t	          d|›d|›dt          t          |j        ¦  «        ¦  «        ›d�¦  «        ‚|j        |         }t          | ¦  «        dk    r |d	         j        | Ž S |d
                              | d         | d         ¦  «        }| dd…         D ]}|d                              ||¦  «        }Œ|d                              || d         ¦  «        }|S )uá  
    Format the items in `lst` as a list.

    >>> format_list(['apples', 'oranges', 'pears'], locale='en')
    u'apples, oranges, and pears'
    >>> format_list(['apples', 'oranges', 'pears'], locale='zh')
    u'applesã€�orangeså’Œpears'
    >>> format_list(['omena', 'peruna', 'aplari'], style='or', locale='fi')
    u'omena, peruna tai aplari'

    These styles are defined, but not all are necessarily available in all locales.
    The following text is verbatim from the Unicode TR35-49 spec [1].

    * standard:
      A typical 'and' list for arbitrary placeholders.
      eg. "January, February, and March"
    * standard-short:
      A short version of a 'and' list, suitable for use with short or abbreviated placeholder values.
      eg. "Jan., Feb., and Mar."
    * or:
      A typical 'or' list for arbitrary placeholders.
      eg. "January, February, or March"
    * or-short:
      A short version of an 'or' list.
      eg. "Jan., Feb., or Mar."
    * unit:
      A list suitable for wide units.
      eg. "3 feet, 7 inches"
    * unit-short:
      A list suitable for short units
      eg. "3 ft, 7 in"
    * unit-narrow:
      A list suitable for narrow units, where space on the screen is very limited.
      eg. "3â€² 7â€³"

    [1]: https://www.unicode.org/reports/tr35/tr35-49/tr35-general.html#ListPatterns

    :param lst: a sequence of items to format in to a list
    :param style: the style to format the list with. See above for description.
    :param locale: the locale
    Ú é   r   zLocale z( does not support list formatting style z (supported are ú)é   Ú2ÚstartéÿÿÿÿÚmiddleÚend)r   ÚparseÚlenÚlist_patternsÚ
ValueErrorÚlistÚsortedÚformat)ÚlstÚstyleÚlocaleÚpatternsÚresultÚelems         ú-/usr/lib/python3/dist-packages/babel/lists.pyÚformat_listr      s3  € õT Œ\˜&Ñ!Ô!€FØð ØˆrÝ
ˆ3�x„x�1‚}€}Ø�1Œvˆà�FÔ(Ð(Ð(ÝˆjØˆFˆFØˆEˆEÝ•˜Ô,Ñ-Ô-Ñ.Ô.Ð.Ð.ð
ñ ô ð 	ð
 Ô# EÔ*€Hå
ˆ3�x„x�1‚}€}Ø#ˆx˜Œ}Ô# SÐ)Ð)à�gÔ×%Ò% c¨!¤f¨c°!¬fÑ5Ô5€FØ�A�b�D”	ð 9ð 9ˆØ˜(Ô#×*Ò*¨6°4Ñ8Ô8ˆˆØ�eŒ_×#Ò# F¨C°¬GÑ4Ô4€Fà€Mó    N)Ú__doc__Ú
babel.corer   r   ÚDEFAULT_LOCALEr   © r   r   ú<module>r$      sa   ððð ð  .Ð -Ð -Ð -Ð -Ð -Ð -Ð -à�Ñ!Ô!€ð &¨nð @ð @ð @ð @ð @ð @r   