/opt/imunify360/venv/lib/python3.11/site-packages/babel/__pycache__
NameSizeModeActions
core.cpython-311.pyc520750644editdlrm
dates.cpython-311.pyc856990644editdlrm
languages.cpython-311.pyc43360644editdlrm
lists.cpython-311.pyc39290644editdlrm
localedata.cpython-311.pyc136440644editdlrm
numbers.cpython-311.pyc548870644editdlrm
plural.cpython-311.pyc356090644editdlrm
support.cpython-311.pyc368000644editdlrm
units.cpython-311.pyc120540644editdlrm
util.cpython-311.pyc118270644editdlrm
__init__.cpython-311.pyc10950644editdlrm
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/babel/__pycache__/localedata.cpython-311.pyc (13644B)
§ „ï§DÛ§‘¢ãóØ—UdZddlmZddlZddlZddlZddlZddlZddlm Z ddl m Z m Z m Z ddlmZddlmZddlmZiZd ed <ej¦«Zej ej e¦«d ¦«Zejd ej¦«Zd&d„Z d'd„Z!d(d„Z"ed¬¦«d)d„¦«Z#d*d+d„Z$d,d!„Z%Gd"„d#¦«Z&Gd$„d%e j ¦«Z'dS)-aG babel.localedata ~~~~~~~~~~~~~~~~ Low-level locale data access. :note: The `Locale` class, which uses this module under the hood, provides a more convenient interface for accessing the locale data. :copyright: (c) 2013-2023 by the Babel Team. :license: BSD, see LICENSE for more details. é)Ú annotationsN)Úabc)ÚIteratorÚMappingÚMutableMapping)Ú lru_cache)Úchain)ÚAnyúdict[str, Any]Ú_cachez locale-dataz%^(con|prn|aux|nul|com[0-9]|lpt[0-9])$ÚnameÚstrÚreturnú str | Nonecó—|rt|t¦«sdS| ¦« ¦«}t jt t¦«g¦«D]}|| ¦«kr|cSŒdS)zŸNormalize a locale ID by stripping spaces and apply proper casing. Returns the normalized locale ID string or `None` if the ID is not recognized. N)Ú isinstancerÚstripÚlowerr Ú from_iterabler Úlocale_identifiers)r Ú locale_ids úp/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/babel/localedata.pyÚnormalize_localer!s‘€ð ð•z $­Ñ,Ô,ð؈tØ �:Š:‰<Œ<× Ò Ñ Ô €DÝÔ(­&Õ2DÑ2FÔ2FÐ)GÑHÔHððˆ Ø �9—?’?Ñ$Ô$Ò $Ð $ØÐ Ð Ð ð %ððóúos.PathLike[str] | strcóP—tj |¦«}tjdkrPt  tj |¦«d¦«rtd|›d�¦«‚tj  t|›d�¦«S)z? Resolve a locale identifier to a `.dat` path on disk. Úwin32rzName z is invalid on Windowsú.dat) ÚosÚpathÚbasenameÚsysÚplatformÚ_windows_reserved_name_reÚmatchÚsplitextÚ ValueErrorÚjoinÚ_dirname)r s rÚresolve_locale_filenamer*/s‹€õ Œ7× Ò ˜DÑ !Ô !€Dõ „|�wÒÐÕ#<×#BÒ#BÅ2Ä7×CSÒCSÐTXÑCYÔCYÐZ[ÔC\Ñ#]Ô#]ÐÝÐ= Ð=Ð=Ð=Ñ>Ô>Ð>õ Œ7�<Š<� T - - -Ñ 0Ô 0Ð0rÚboolcóâ—|rt|t¦«sdS|tvrdStj t |¦«¦«}|rdntt|¦«¦«S)z¥Check whether locale data is available for the given locale. Returns `True` if it exists, `False` otherwise. :param name: the locale identifier string FT) rrr rr Úexistsr*r+r)r Ú file_founds rr-r-?sl€ð ð•z $­Ñ,Ô,ð؈uØ �v€~€~؈tÝ”—’Õ 7¸Ñ =Ô =Ñ>Ô>€JØÐ ?ˆ4ˆ4¥4Õ(8¸Ñ(>Ô(>Ñ#?Ô#?Ð?r)Úmaxsizeú list[str]có\—d„d„tjt¦«D¦«D¦«S)a&Return a list of all locale identifiers for which locale data is available. This data is cached after the first invocation. You can clear the cache by calling `locale_identifiers.cache_clear()`. .. versionadded:: 0.8.1 :return: a list of locale identifiers (strings) có0—g|]\}}|dk¯ |dk¯|‘ŒS)rÚroot©)Ú.0ÚstemÚ extensions rú z&locale_identifiers..Zs9€ð ð ð á ˆD�)à ˜Ò Ð  4¨6¢> >ð ð$2 > >rc3óTK—|]#}tj |¦«V—Œ$dS©N)rr r&)r5Úfilenames rú z%locale_identifiers..]s2èè€ÐIÐI¨�Œ× Ò ˜(Ñ #Ô #ÐIÐIÐIÐIÐIÐIr)rÚlistdirr)r4rrrrNs>€ð ð ð JÐIµB´J½xÑ4HÔ4HÐIÑIÔIð ñ ô ðrTÚmerge_inheritedcóR—tj |¦«}t ¦« t  |¦«}|�s|dks|si}nŽddlm}|d¦« |¦«}|sG|  d¦«}t|¦«dkrdnd  |dd…¦«}t|¦«  ¦«}t|¦«}t|d ¦«5}|dkr%|r#t!|t#j |¦«¦«nt#j |¦«}ddd¦«n #1swxYwY|t |<|t ¦«S#t ¦«wxYw) afLoad the locale data for the given locale. The locale data is a dictionary that contains much of the data defined by the Common Locale Data Repository (CLDR). This data is stored as a collection of pickle files inside the ``babel`` package. >>> d = load('en_US') >>> d['languages']['sv'] u'Swedish' Note that the results are cached, and subsequent requests for the same locale return the same dictionary: >>> d1 = load('en_US') >>> d2 = load('en_US') >>> d1 is d2 True :param name: the locale identifier string (or "root") :param merge_inherited: whether the inherited data should be merged into the data of the requested locale :raise `IOError`: if no locale data file is found for the given locale identifier, or one of the locales it inherits from r3r)Ú get_globalÚparent_exceptionsÚ_éNéÿÿÿÿÚrb)rr r!Ú _cache_lockÚacquirer ÚgetÚ babel.corer@ÚsplitÚlenr(ÚloadÚcopyr*ÚopenÚmergeÚpickleÚrelease)r r>Údatar@ÚparentÚpartsr;Úfileobjs rrLrLbsÊ€õ2 Œ7× Ò ˜DÑ !Ô !€DÝ×ÒÑÔÐðÝ�zŠz˜$ÑÔˆØñ à�vŠ~ˆ~ _ˆ~Ø��à1Ð1Ð1Ð1Ð1Ð1Ø#˜Ð$7Ñ8Ô8×<Ò<¸TÑBÔB�ØðQØ ŸJšJ s™OœO�EÝ'*¨5¡z¤z°Q¢ ˜V˜V¸C¿HºHÀUÈ3ÈBÈ3ÄZÑ�> o�>ݘ$¥¤ ¨GÑ 4Ô 4Ñ5Ô5Ð5Ð5å!œ; wÑ/Ô/�Dð  0ð 0ð 0ñ 0ô 0ð 0ð 0ð 0ð 0ð 0ð 0øøøð 0ð 0ð 0ð 0ð  �F�4‰LØå×ÒÑÔÐÐø� ×ÒÑÔÐÐøøøs1ºCF ÄAEÅ F ÅEÅF Å"EÅ#F Æ F&Údict1úMutableMapping[Any, Any]Údict2úMapping[Any, Any]ÚNonecó¬—| ¦«D]¾\}}|�·| |¦«}t|t¦«r†|€i}t|t¦«r||f}njt|t ¦«r.|\}}| ¦«}t||¦«||f}n'| ¦«}t||¦«n|}|||<Œ¿dS)anMerge the data from `dict2` into the `dict1` dictionary, making copies of nested dictionaries. >>> d = {1: 'foo', 3: 'baz'} >>> merge(d, {1: 'Foo', 2: 'Bar'}) >>> sorted(d.items()) [(1, 'Foo'), (2, 'Bar'), (3, 'baz')] :param dict1: the dictionary to merge into :param dict2: the dictionary containing the data that should be merged N)ÚitemsrHrÚdictÚAliasÚtuplerMrO)rVrXÚkeyÚval2Úval1ÚaliasÚotherss rrOrO–sé€ð—[’[‘]”]ðð‰ ˆˆTØ Ð Ø—9’9˜S‘>”>ˆDݘ$¥Ñ%Ô%ð Ø�<Ø�Dݘd¥EÑ*Ô*ð &Ø  $˜<�D�DÝ ¥eÑ,Ô,ð&Ø$(‘M�E˜6Ø#Ÿ[š[™]œ]�Fݘ& $Ñ'Ô'Ð'Ø! 6˜?�D�DàŸ9š9™;œ;�Dݘ$ Ñ%Ô%Ð%Ð%à�؈E�#‰Jøð%ðrcó*—eZdZdZd d„Zdd„Zdd „Zd S)r^zŸRepresentation of an alias in the locale data. An alias is a value that refers to some other part of the locale data, as specified by the `keys`. Úkeysútuple[str, ...]rrZcó.—t|¦«|_dSr:)r_rf)Úselfrfs rÚ__init__zAlias.__init__¾s€Ý˜$‘K”KˆŒ ˆ ˆ rrcóB—dt|¦«j›d|j›d�S)Nú<ú ú>)ÚtypeÚ__name__rf©ris rÚ__repr__zAlias.__repr__Ás&€Ø7•4˜‘:”:Ô&Ð7Ð7¨¬Ð7Ð7Ð7Ð7rrRúMapping[str | int | None, Any]cóâ—|}|jD] }||}Œ t|t¦«r| |¦«}n/t|t¦«r|\}}| |¦«}|S)zôResolve the alias based on the given data. This is done recursively, so if one alias resolves to a second alias, that second alias will also be resolved. :param data: the locale data :type data: `dict` )rfrr^Úresolver_)rirRÚbaser`rcrds rruz Alias.resolveÄs{€ðˆØ”9ð ð ˆCؘ”9ˆDˆDÝ �d�EÑ "Ô "ð 'Ø—<’< Ñ%Ô%ˆDˆDÝ ˜�eÑ $Ô $ð 'Ø ‰MˆE�6Ø—=’= Ñ&Ô&ˆD؈ rN)rfrgrrZ)rr)rRrsrrs)rpÚ __module__Ú __qualname__Ú__doc__rjrrrur4rrr^r^·sZ€€€€€ððð  ð ð ð ð8ð8ð8ð8ððððððrr^cóL—eZdZdZddd„Zdd „Zdd „Zdd„Zdd„Zdd„Z dd„Z dS)ÚLocaleDataDictzUDictionary wrapper that automatically resolves aliases to the actual values. NrRú%MutableMapping[str | int | None, Any]rvú%Mapping[str | int | None, Any] | Nonecó*—||_|€|}||_dSr:)Ú_datarv)rirRrvs rrjzLocaleDataDict.__init__Ýs€ØˆŒ Ø ˆ<؈D؈Œ ˆ ˆ rrÚintcó*—t|j¦«Sr:)rKrrqs rÚ__len__zLocaleDataDict.__len__ãs€Ý�4”:‰ŒÐrúIterator[str | int | None]có*—t|j¦«Sr:)Úiterrrqs rÚ__iter__zLocaleDataDict.__iter__æs€Ý�D”JÑÔÐrr`ústr | int | Noner có —|j|x}}t|t¦«r| |j¦«}t|t ¦«rA|\}}| |j¦« ¦«}t||¦«t|t¦«rt||j¬¦«}||ur ||j|<|S©N)rv) rrr^rurvr_rMrOr]r{)rir`ÚorigÚvalrcrds rÚ __getitem__zLocaleDataDict.__getitem__ésÀ€Ø”Z ”_Ð$ˆˆsÝ �c�5Ñ !Ô !ð )Ø—+’+˜dœiÑ(Ô(ˆCÝ �c�5Ñ !Ô !ð Ø‰MˆE�6Ø—-’- ¤ Ñ*Ô*×/Ò/Ñ1Ô1ˆCÝ �#�vÑ Ô Ð Ý �c�4Ñ Ô ð 6Ý  ¨4¬9Ð5Ñ5Ô5ˆCØ �dˆ?ˆ?Ø!ˆDŒJ�s‰O؈ rÚvaluerZcó—||j|<dSr:©r)rir`r�s rÚ __setitem__zLocaleDataDict.__setitem__÷s€ØˆŒ �3‰ˆˆrcó—|j|=dSr:r�)rir`s rÚ __delitem__zLocaleDataDict.__delitem__ús€Ø ŒJ�sˆOˆOˆOrcó\—t|j ¦«|j¬¦«Sr‰)r{rrMrvrqs rrMzLocaleDataDict.copyýs#€Ý˜dœjŸošoÑ/Ô/°d´iÐ@Ñ@Ô@Ð@rr:)rRr|rvr})rr€)rrƒ)r`r‡rr )r`r‡r�r rrZ)r`r‡rrZ)rr{) rprwrxryrjr‚r†rŒr�r’rMr4rrr{r{Øsµ€€€€€ðððððððð ðððð ð ð ð ð ð ð ð ð ð ð ð ðððððAðAðAðAðAðArr{)r rrr)r rrr)r rrr+)rr0)T)r rr>r+rr )rVrWrXrYrrZ)(ryÚ __future__rrrPÚrer"Ú threadingÚ collectionsrÚcollections.abcrrrÚ functoolsrÚ itertoolsr Útypingr r Ú__annotations__ÚRLockrFr r(ÚdirnameÚ__file__r)ÚcompileÚIr$rr*r-rrLrOr^r{r4rrúr¢s!ðð ð ð ð#Ð"Ð"Ð"Ð"Ð"à € € € Ø € € € Ø € € € Ø € € € ØÐÐÐØÐÐÐÐÐØ=Ð=Ð=Ð=Ð=Ð=Ð=Ð=Ð=Ð=ØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐà€ÐÐÐÑØˆiŒoÑÔ€ Ø Œ7�<Š<˜œŸš¨Ñ1Ô1°=Ñ AÔ A€Ø&˜BœJÐ'NÐPRÔPTÑUÔUÐð ð ð ð ð 1ð 1ð 1ð 1ð @ð @ð @ð @ð €�4ÐÑÔðððñÔðð&1ð1ð1ð1ð1ðhððððBððððñôððB&Að&Að&Að&Að&A�SÔ'ñ&Aô&Að&Að&Að&Ar