zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
U
Þ=®d]ã@sôUddlZddlZddlZddlZddlZddlmZddlmZddl    m
Z
ddl    m Z ddl m Z ddlmZddlmZddlZejr”ddlZejd    ejd
ejfd Zed d ddd„iƒƒZejed<eƒZejeed<dj Z!eedœdd„Z"eedœdd„Z#eedœdd„Z$Gdd„dej%ƒZ&eedœdd„Z'eje(dœd d!„Z)ej*ejdd"œd#d$„Z+dd%œd&d'„Z,dSe-e(ejd)œd*d+„Z.dTe-e-ej/ej0d-œd.d/„Z1eje-dœd0d1„Z2eje-dœd2d3„Z3e 4d4ej5ej6B¡Z7e 4d5¡Z8dUe-ej/e9ej/e-ej/e-ej/ej*e-e-d6œd7d8„Z:dVe9e(e9e9e-d=œd>d?„Z;dWeje-e(e-dAœdBdC„Z<ej=j>GdDdE„dEƒƒZ?dXej@e-ej@e-e(e(ejej/e-ge(fdGœdHdI„ZAdYejej/ejd
e-fejejBdJœdKdL„ZCGdMdN„dNƒZDGdOdP„dPƒZEGdQdR„dRƒZFdS)ZéN)Úabc)Údeque)Úchoice)Ú    randrange)ÚLock)ÚCodeType)Úquote_from_bytesÚF.)ÚboundZ MissingType©Ú__repr__cCsdS)NÚmissingr ©Úxr r úCd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\jinja2/utils.pyÚ<lambda>órr Ú internal_codeÚ)ÚfÚreturncCs tj|_|S)a·Pass the :class:`~jinja2.runtime.Context` as the first argument
    to the decorated function when called while rendering a template.
 
    Can be used on functions, filters, and tests.
 
    If only ``Context.eval_context`` is needed, use
    :func:`pass_eval_context`. If only ``Context.environment`` is
    needed, use :func:`pass_environment`.
 
    .. versionadded:: 3.0.0
        Replaces ``contextfunction`` and ``contextfilter``.
    )Ú_PassArgÚcontextÚjinja_pass_arg©rr r rÚ pass_contexts rcCs tj|_|S)a“Pass the :class:`~jinja2.nodes.EvalContext` as the first argument
    to the decorated function when called while rendering a template.
    See :ref:`eval-context`.
 
    Can be used on functions, filters, and tests.
 
    If only ``EvalContext.environment`` is needed, use
    :func:`pass_environment`.
 
    .. versionadded:: 3.0.0
        Replaces ``evalcontextfunction`` and ``evalcontextfilter``.
    )rÚ eval_contextrrr r rÚpass_eval_context.s rcCs tj|_|S)aPass the :class:`~jinja2.Environment` as the first argument to
    the decorated function when called while rendering a template.
 
    Can be used on functions, filters, and tests.
 
    .. versionadded:: 3.0.0
        Replaces ``environmentfunction`` and ``environmentfilter``.
    )rÚ environmentrrr r rÚpass_environment?s    rc@s>eZdZe ¡Ze ¡Ze ¡Zee    e
j ddœdd„ƒZ dS)r©ÚobjrcCst|dƒr|jSdS)Nr)Úhasattrr)Úclsr!r r rÚfrom_objQs
z_PassArg.from_objN) Ú__name__Ú
__module__Ú __qualname__ÚenumÚautorrrÚ classmethodr    ÚtÚOptionalr$r r r rrLs
rcCst |j¡|S)z%Marks the function as internally used)rÚaddÚ__code__rr r rÚ internalcodeYs r/r cCsddlm}t||ƒS)a´Check if the object passed is undefined.  This does nothing more than
    performing an instance check against :class:`Undefined` but looks nicer.
    This can be used for custom filters or tests that want to react to
    undefined variables.  For example a custom default filter can look like
    this::
 
        def default(var, default=''):
            if is_undefined(var):
                return default
            return var
    é)Ú    Undefined)Zruntimer1Ú
isinstance)r!r1r r rÚ is_undefined_s r3)ÚiterablercCs|D]}qdS)z4Consumes an iterable without doing anything with it.Nr )r4Ú_r r rÚconsumepsr6©rcCs,ddlm}ddlm}| ¡| ¡dS)a Jinja keeps internal caches for environments and lexers.  These are
    used so that Jinja doesn't have to recreate environments and lexers all
    the time.  Normally you don't have to care about that but if you are
    measuring memory consumption you may want to clean the caches.
    r0)Úget_spontaneous_environment)Ú _lexer_cacheN)rr8Úlexerr9Ú cache_clearÚclear)r8r9r r rÚ clear_cachesvs  r=F)Ú import_nameÚsilentrc    CszzVd|kr| dd¡\}}n$d|kr6| d¡\}}}n
t|ƒWStt|dd|gƒ|ƒWSttfk
rt|sp‚YnXdS)a˜Imports an object based on a string.  This is useful if you want to
    use import paths as endpoints or something similar.  An import path can
    be specified either in dotted notation (``xml.sax.saxutils.escape``)
    or with a colon as object delimiter (``xml.sax.saxutils:escape``).
 
    If the `silent` is True the return value will be `None` if the import
    fails.
 
    :return: imported object
    ú:r0Ú.N)ÚsplitÚ
rpartitionÚ
__import__ÚgetattrÚ ImportErrorÚAttributeError)r>r?Úmoduler!r5r r rÚ import_stringƒs 
rIÚrb)ÚfilenameÚmodercCstj |¡sdSt||ƒS)z\Returns a file descriptor for the filename if that file exists,
    otherwise ``None``.
    N)ÚosÚpathÚisfileÚopen)rKrLr r rÚopen_if_exists›s rQcCsJ|dkr dS|tkrdSt|ƒ}|jdkr6|j›dS|j›d|j›dS)z¨Returns the name of the object's type.  For some recognized
    singletons the name of the object is returned instead. (For
    example for `None` and `Ellipsis`).
    NÚNoneÚEllipsisÚbuiltinsz objectrA)rSÚtyper&r%)r!r#r r rÚobject_type_repr¥s
 rVcCsddlm}||ƒS)z.Format an object using :func:`pprint.pformat`.r)Úpformat)ÚpprintrW)r!rWr r rrW·s rWa@
    ^
    (
        (https?://|www\.)  # scheme or www
        (([\w%-]+\.)+)?  # subdomain
        (
            [a-z]{2,63}  # basic tld
        |
            xn--[\w%]{2,59}  # idna tld
        )
    |
        ([\w%-]{2,63}\.)+  # basic domain
        (com|net|int|edu|gov|org|info|mil)  # basic tld
    |
        (https?://)  # scheme
        (
            (([\d]{1,3})(\.[\d]{1,3}){3})  # IPv4
        |
            (\[([\da-f]{0,4}:){2}([\da-f]{0,4}:?){1,6}])  # IPv6
        )
    )
    (?::[\d]{1,5})?  # port
    (?:[/?#]\S*)?  # path, query, and fragment
    $
    z^\S+@\w[\w.-]*\.\w+$)ÚtextÚtrim_url_limitÚrelÚtargetÚ extra_schemesrc
s´ˆdk    rttdœ‡fdd„ }nttdœdd„}t dtt |¡ƒ¡}|rZdt |¡›dnd    }|rtd
t |¡›dnd    }t|ƒD]&\}    }
d    |
d    } } } t d | ¡}|rÂ| ¡} | | ¡d…} |      d ¡rôt 
d | ¡}|rô| ¡} | d|  ¡…} dD]n\}}|   |¡}||   |¡krqøt t||   |¡ƒƒD]4}|  |¡t|ƒ}| | d|…7} | |d…} q0qøt | ¡rÐ|  d¡sŒ|  d¡r®d| ›d|›|›d|| ƒ›d} n d| ›d|›|›d|| ƒ›d} nÄ|  d¡r t | dd…¡r d| ›d| dd…›d} nˆd| krL|  d¡sLd| krLt | ¡rLd| ›d| ›d} nH|dk    r”|D]8}| |krZ|  |¡rZd| ›d|›|›d| ›d} qZ| ›| ›| ›||    <q€d     |¡S)a;Convert URLs in text into clickable links.
 
    This may not recognize links in some situations. Usually, a more
    comprehensive formatter, such as a Markdown library, is a better
    choice.
 
    Works on ``http://``, ``https://``, ``www.``, ``mailto:``, and email
    addresses. Links with trailing punctuation (periods, commas, closing
    parentheses) and leading punctuation (opening parentheses) are
    recognized excluding the punctuation. Email addresses that include
    header fields are not recognized (for example,
    ``mailto:address@example.com?cc=copy@example.com``).
 
    :param text: Original text containing URLs to link.
    :param trim_url_limit: Shorten displayed URL values to this length.
    :param target: Add the ``target`` attribute to links.
    :param rel: Add the ``rel`` attribute to links.
    :param extra_schemes: Recognize URLs that start with these schemes
        in addition to the default behavior.
 
    .. versionchanged:: 3.0
        The ``extra_schemes`` parameter was added.
 
    .. versionchanged:: 3.0
        Generate ``https://`` links for URLs without a scheme.
 
    .. versionchanged:: 3.0
        The parsing rules were updated. Recognize email addresses with
        or without the ``mailto:`` scheme. Validate IP addresses. Ignore
        parentheses and brackets in more cases.
    N)rrcs"t|ƒˆkr|dˆ…›dS|S)Nz...)Úlenr©rZr rÚtrim_urls zurlize.<locals>.trim_urlcSs|S©Nr rr r rr` sz(\s+)z rel="ú"rz     target="z ^([(<]|&lt;)+)ú)ú>rAú,Ú
ú&gt;z([)>.,\n]|&gt;)+$))ú(rc)ú<rd)z&lt;rgzhttps://zhttp://z    <a href="rdz</a>z<a href="https://zmailto:éz">ú@zwww.r@z<a href="mailto:)ÚstrÚrerBÚ
markupsafeÚescapeÚ    enumerateÚmatchÚgroupÚendÚendswithÚsearchÚstartÚcountÚrangeÚminÚindexr^Ú_http_reÚ
startswithÚ    _email_reÚjoin)rYrZr[r\r]r`ÚwordsZrel_attrZ target_attrÚiÚwordÚheadZmiddleÚtailrqZ
start_charZend_charZ start_countr5Z    end_indexÚschemer r_rÚurlizeÝs`& 
 
 ÿÿ ÿþýü
 r…éTééd)ÚnÚhtmlryÚmaxrcCsFddlm}| ¡}g}t|ƒD]ú}d}d}    }
d} d} g} ttt||ƒƒƒD]†\}}t|ƒ} | | krV| } qnqV|r~|  ¡} d}|tddƒ|    kr¤|}    |
d    7}
| d
7} |td d ƒ|
krÊ|}    }
| d 7} d}|  | ¡qNd     | ¡}| 
d
¡rü|dd…d }n| 
d ¡s|d 7}| |¡q |s,d     |¡St   d     dd„|Dƒ¡¡S)z+Generate some lorem ipsum for the template.r0)ÚLOREM_IPSUM_WORDSTrNFéééreé
r‡rAú éÿÿÿÿz
 
rfcss |]}dt |¡›dVqdS)z<p>z</p>N)rnro©Ú.0rr r rÚ    <genexpr>‰sz'generate_lorem_ipsum.<locals>.<genexpr>) Ú    constantsrŒrBrxrprrÚ
capitalizeÚappendr~rtrnÚMarkup)r‰rŠryr‹rŒrÚresultr5Znext_capitalizedZ
last_commaZ last_fullstoprÚlastÚpÚidxZp_strr r rÚgenerate_lorem_ipsumVsJ   
 
 
ÿržúutf-8)r!ÚcharsetÚfor_qsrcCsPt|tƒs&t|tƒst|ƒ}| |¡}|r.dnd}t||ƒ}|rL| dd¡}|S)a5Quote a string for use in a URL using the given charset.
 
    :param obj: String or bytes to quote. Other types are converted to
        string then encoded to bytes using the given charset.
    :param charset: Encode text to bytes using this charset.
    :param for_qs: Quote "/" and use "+" for spaces.
    ró/z%20ú+)r2ÚbytesrlÚencoderÚreplace)r!r r¡ÚsafeÚrvr r rÚ    url_quotes
 
 
 
 r©c@s¬eZdZdZeddœdd„Zddœdd„Zeje    ej
fdœd    d
„Z eje    ej
fdd œd d „Z ej dœdd„Zddœdd„Zd1ej
ej
ej
dœdd„Zd2ej
ej
ej
dœdd„Zddœdd„Zej
edœdd„Zedœdd„Ze    dœdd„Zej
ej
dœd d!„Zej
ej
dd"œd#d$„Zej
ddœd%d&„Zejej ej
ej
fdœd'd(„Zejej
dœd)d*„Zejej
dœd+d,„Zejej
dœd-d.„Zejej
dœd/d0„Z eZ!dS)3ÚLRUCachez"A simple LRU Cache implementation.N)ÚcapacityrcCs ||_i|_tƒ|_| ¡dSra)r«Ú_mappingrÚ_queueÚ    _postinit)Úselfr«r r rÚ__init__¬szLRUCache.__init__r7cCs4|jj|_|jj|_|jj|_tƒ|_|jj    |_
dSra) r­ÚpopleftÚ_popleftÚpopZ_popÚremoveÚ_removerÚ_wlockr˜Ú_append©r¯r r rr®²s
 
 
 
zLRUCache._postinitcCs|j|j|jdœS)N©r«r¬r­r¹r¸r r rÚ __getstate__ºsýzLRUCache.__getstate__)ÚdrcCs|j |¡| ¡dSra)Ú__dict__Úupdater®)r¯r»r r rÚ __setstate__Ás zLRUCache.__setstate__cCs|jfSra)r«r¸r r rÚ__getnewargs__ÅszLRUCache.__getnewargs__cCs,| |j¡}|j |j¡|j |j¡|S)z&Return a shallow copy of the instance.)Ú    __class__r«r¬r½r­Úextend©r¯r¨r r rÚcopyÈs z LRUCache.copy)ÚkeyÚdefaultrcCs(z
||WStk
r"|YSXdS)z/Return an item from the cache dict or `default`N©ÚKeyError©r¯rÄrÅr r rÚgetÏs
z LRUCache.getcCs0z
||WStk
r*|||<|YSXdS)zvSet `default` if the key is not in the cache otherwise
        leave unchanged. Return the value of this key.
        NrÆrÈr r rÚ
setdefaultÖs
 
zLRUCache.setdefaultc    Cs*|j|j ¡|j ¡W5QRXdS)zClear the cache.N)r¶r¬r<r­r¸r r rr<às
zLRUCache.clear)rÄrcCs
||jkS)z$Check if a key exists in this cache.©r¬©r¯rÄr r rÚ __contains__æszLRUCache.__contains__cCs
t|jƒS)z%Return the current size of the cache.)r^r¬r¸r r rÚ__len__êszLRUCache.__len__cCsdt|ƒj›d|j›dS)Nrir‘rd)rUr%r¬r¸r r rr îszLRUCache.__repr__c
Csh|jX|j|}|jd|krNz| |¡Wntk
rBYnX| |¡|W5QR£SQRXdS)zšGet an item from the cache. Moves the item up so that it has the
        highest priority then.
 
        Raise a `KeyError` if it does not exist.
        r’N)r¶r¬r­rµÚ
ValueErrorr·)r¯rÄr¨r r rÚ __getitem__ñs
 
zLRUCache.__getitem__)rÄÚvaluerc    Cs\|jL||jkr| |¡nt|jƒ|jkr:|j| ¡=| |¡||j|<W5QRXdS)zhSets the value for an item. Moves the item up so that it
        has the highest priority then.
        N)r¶r¬rµr^r«r²r·)r¯rÄrÑr r rÚ __setitem__s
 
zLRUCache.__setitem__c    CsB|j2|j|=z| |¡Wntk
r2YnXW5QRXdS)z]Remove an item from the cache dict.
        Raise a `KeyError` if it does not exist.
        N)r¶r¬rµrÏrÌr r rÚ __delitem__s zLRUCache.__delitem__cs$‡fdd„tˆjƒDƒ}| ¡|S)zReturn a list of items.csg|]}|ˆj|f‘qSr rË)r”rÄr¸r rÚ
<listcomp>"sz"LRUCache.items.<locals>.<listcomp>)Úlistr­Úreverse)r¯ršr r¸rÚitems szLRUCache.itemscCsdd„| ¡DƒS)zReturn a list of all values.cSsg|] }|d‘qS)r0r r“r r rrÔ(sz#LRUCache.values.<locals>.<listcomp>)r×r¸r r rÚvalues&szLRUCache.valuescCst|ƒS)z7Return a list of all keys ordered by most recent usage.)rÕr¸r r rÚkeys*sz LRUCache.keyscCstt|jƒƒSra)ÚreversedÚtupler­r¸r r rÚ__iter__.szLRUCache.__iter__cCstt|jƒƒS)zTIterate over the keys in the cache dict, oldest items
        coming first.
        )ÚiterrÛr­r¸r r rÚ __reversed__1szLRUCache.__reversed__)N)N)"r%r&r'Ú__doc__Úintr°r®r+ÚMappingrlÚAnyrºr¾ÚTupler¿rÃrÉrÊr<ÚboolrÍrÎr rÐrÒrÓÚIterabler×rØrÙÚIteratorrÜrÞÚ__copy__r r r rrª¤s,
  "rª©rŠZhtmÚxml)Úenabled_extensionsÚdisabled_extensionsÚdefault_for_stringrÅrcsHtdd„|Dƒƒ‰tdd„|Dƒƒ‰tjttdœ‡‡‡‡fdd„ }|S)acIntelligently sets the initial value of autoescaping based on the
    filename of the template.  This is the recommended way to configure
    autoescaping if you do not want to write a custom function yourself.
 
    If you want to enable it for all templates created from strings or
    for all templates with `.html` and `.xml` extensions::
 
        from jinja2 import Environment, select_autoescape
        env = Environment(autoescape=select_autoescape(
            enabled_extensions=('html', 'xml'),
            default_for_string=True,
        ))
 
    Example configuration to turn it on at all times except if the template
    ends with `.txt`::
 
        from jinja2 import Environment, select_autoescape
        env = Environment(autoescape=select_autoescape(
            disabled_extensions=('txt',),
            default_for_string=True,
            default=True,
        ))
 
    The `enabled_extensions` is an iterable of all the extensions that
    autoescaping should be enabled for.  Likewise `disabled_extensions` is
    a list of all templates it should be disabled for.  If a template is
    loaded from a string then the default from `default_for_string` is used.
    If nothing matches then the initial value of autoescaping is set to the
    value of `default`.
 
    For security reasons this function operates case insensitive.
 
    .. versionadded:: 2.9
    css"|]}d| d¡ ¡›VqdS©rAN©ÚlstripÚlowerr“r r rr•bsz$select_autoescape.<locals>.<genexpr>css"|]}d| d¡ ¡›VqdSrírîr“r r rr•cs)Ú template_namercs4|dkr ˆS| ¡}| ˆ¡r"dS| ˆ¡r0dSˆS)NTF)rðrt)rñ©rÅrìZdisabled_patternsZenabled_patternsr rÚ
autoescapees
 
z%select_autoescape.<locals>.autoescape)rÛr+r,rlrä)rêrërìrÅrór ròrÚselect_autoescape:s( 
rô)r!ÚdumpsÚkwargsrcKs@|dkrtj}t ||f|Ž dd¡ dd¡ dd¡ dd    ¡¡S)
aÐSerialize an object to a string of JSON with :func:`json.dumps`,
    then replace HTML-unsafe characters with Unicode escapes and mark
    the result safe with :class:`~markupsafe.Markup`.
 
    This is available in templates as the ``|tojson`` filter.
 
    The following characters are escaped: ``<``, ``>``, ``&``, ``'``.
 
    The returned string is safe to render in HTML documents and
    ``<script>`` tags. The exception is in HTML attributes that are
    double quoted; either use single quotes or the ``|forceescape``
    filter.
 
    :param obj: The object to serialize to JSON.
    :param dumps: The ``dumps`` function to use. Defaults to
        ``env.policies["json.dumps_function"]``, which defaults to
        :func:`json.dumps`.
    :param kwargs: Extra arguments to pass to ``dumps``. Merged onto
        ``env.policies["json.dumps_kwargs"]``.
 
    .. versionchanged:: 3.0
        The ``dumper`` parameter is renamed to ``dumps``.
 
    .. versionadded:: 2.9
    Nriz\u003crdz\u003eú&z\u0026ú'z\u0027)Újsonrõrnr™r¦)r!rõrör r rÚhtmlsafe_json_dumpsrs" ÿþýüÿrúc@sXeZdZdZejddœdd„Zddœdd„Zeejdœd    d
„ƒZ    ejdœd d „Z
e
Z dS) ÚCycleraDCycle through values by yield them one at a time, then restarting
    once the end is reached. Available as ``cycler`` in templates.
 
    Similar to ``loop.cycle``, but can be used outside loops or across
    multiple loops. For example, render a list of folders and files in a
    list, alternating giving them "odd" and "even" classes.
 
    .. code-block:: html+jinja
 
        {% set row_class = cycler("odd", "even") %}
        <ul class="browser">
        {% for folder in folders %}
          <li class="folder {{ row_class.next() }}">{{ folder }}
        {% endfor %}
        {% for file in files %}
          <li class="file {{ row_class.next() }}">{{ file }}
        {% endfor %}
        </ul>
 
    :param items: Each positional argument will be yielded in the order
        given for each cycle.
 
    .. versionadded:: 2.1
    N)r×rcGs|s tdƒ‚||_d|_dS)Nz$at least one item has to be providedr)Ú RuntimeErrorr×Úpos)r¯r×r r rr°´szCycler.__init__r7cCs
d|_dS)z*Resets the current item to the first item.rN)rýr¸r r rÚresetºsz Cycler.resetcCs |j|jS)zxReturn the current item. Equivalent to the item that will be
        returned next time :meth:`next` is called.
        )r×rýr¸r r rÚcurrent¾szCycler.currentcCs |j}|jdt|jƒ|_|S)zXReturn the current item, then advance :attr:`current` to the
        next item.
        r0)rÿrýr^r×rÂr r rÚnextÅsz Cycler.next) r%r&r'rßr+râr°rþÚpropertyrÿrÚ__next__r r r rrûšsrûc@s0eZdZdZd
eddœdd„Zedœdd    „ZdS) ÚJoinerzA joining helper for templates.ú, N)ÚseprcCs||_d|_dS)NF)rÚused)r¯rr r rr°ÓszJoiner.__init__r7cCs|jsd|_dS|jS)NTr)rrr¸r r rÚ__call__×szJoiner.__call__)r)r%r&r'rßrlr°rr r r rrÐsrc@sZeZdZdZejejddœdd„Zeejdœdd„Zeejdd    œd
d „Z    ed œd d„Z
dS)Ú    Namespacez~A namespace object that can hold arbitrary attributes.  It may be
    initialized from a dictionary or with keyword arguments.N)ÚargsrörcOs&|d|dd…}}t||Ž|_dS)Nrr0)ÚdictÚ_Namespace__attrs)r    rör¯r r rr°âszNamespace.__init__)ÚnamercCsD|dkrt ||¡Sz |j|WStk
r>t|ƒd‚YnXdS)N>rÀr )ÚobjectÚ__getattribute__r rÇrG)r¯r r r rræs   zNamespace.__getattribute__)r rÑrcCs||j|<dSra©r )r¯r rÑr r rrÒïszNamespace.__setitem__r7cCsd|j›dS)Nz <Namespace rdrr¸r r rr òszNamespace.__repr__) r%r&r'rßr+râr°rlrrÒr r r r rrÞs
    r)F)rJ)NNNN)r†Tr‡rˆ)rŸF)rèr TF)N)Gr(rùrMrmÚtypingr+Ú collectionsrrÚrandomrrÚ    threadingrÚtypesrÚ urllib.parserrnÚ TYPE_CHECKINGZtyping_extensionsÚteÚTypeVarÚCallablerâr    rUr Ú__annotations__ÚsetrÚ
MutableSetr~ÚconcatrrrÚEnumrr/rär3rår6r=rlrIr,ÚIOrQrVrWÚcompileÚ
IGNORECASEÚVERBOSEr{r}ràr…ržr©ÚMutableMappingÚregisterrªÚ
Collectionrôr™rúrûrrr r r rÚ<module>s¨           
 
æ
ûú zÿþ 7üû 9ÿþ (6